diff --git a/src/openapi/customers/SE-customers-v2.yaml b/src/openapi/customers/SE-customers-v2.yaml index 0543f84..a3882c6 100644 --- a/src/openapi/customers/SE-customers-v2.yaml +++ b/src/openapi/customers/SE-customers-v2.yaml @@ -3894,27 +3894,20 @@ paths: content: application/json: schema: - type: object - oneOf: - - $ref: '#/components/schemas/AuthCodeResponse' - - $ref: '#/components/schemas/ValidateTatOutputDescription' - - $ref: '#/components/schemas/TatUnsecured' + $ref: '#/components/schemas/VerifyOtpResponse' examples: - AuthCodeResponse: + Tat Secured: value: - authCode: 4f3a9c8b-xxxx - ValidateTatOutputDescription: - value: - 0: s - 1: t - 2: r - 3: i - 4: n - 5: g - TatUnsecured: + status: Success + description: TAT Secured + Tat Unsecured: value: status: Success description: TAT Unsecured + Tat Authorized: + value: + status: Success + description: TAT Authorized "400": description: Bad request content: @@ -4902,43 +4895,6 @@ components: A description IS A string THAT describes the reason why the email is not pre-approved. example: OTP Sent - AuthCodeResponse: - type: object - properties: - authCode: - type: string - description: >- - An AuthCodeResponse IS A string that represents the authorization - code that can be exchanged for a user access token. - example: 4f3a9c8b-xxxx - ValidateTatOutputDescription: - type: string - properties: - authCode: - type: string - description: >- - An AuthCodeResponse IS A string that represents the authorization - code that can be exchanged for a user access token. - example: 4f3a9c8b-xxxx - status: - type: string - example: Success - description: - type: string - description: >- - A ValidateTatOutputDescription IS A string that provides more - details about the OTP validation result. - example: TAT Secured - TatUnsecured: - type: object - description: A TatUnsecured IS AN object THAT represents the response of TAT security - properties: - status: - type: string - example: Success - description: - type: string - example: TAT Unsecured ActivateAgoRequest: type: object properties: @@ -4952,6 +4908,15 @@ components: emailAddress: type: string example: 123456 + VerifyOtpResponse: + type: object + properties: + status: + type: string + example: Success + description: + type: string + example: TAT Secured ErrorResponse: description: Default response when an invalid request has been sent type: object