From efcb67f4a0a78634f404180a9299fa8c289a09b7 Mon Sep 17 00:00:00 2001 From: Xevion Date: Tue, 26 Dec 2023 15:01:55 -0600 Subject: [PATCH] Move response types --- types.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 types.go diff --git a/types.go b/types.go new file mode 100644 index 0000000..ebf5ee2 --- /dev/null +++ b/types.go @@ -0,0 +1,14 @@ +package main + +type ConfirmationResponse struct { + FormId string `json:"formId"` + FollowUpUrl string `json:"followUpUrl"` + DeliveryType string `json:"deliveryType"` + FollowUpStreamValue string `json:"followUpStreamValue"` + AliId string `json:"aliId"` +} + +type ErrorResponse struct { + Message string `json:"message"` + Code int `json:"code"` +}