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"` +}