/** * PagarmeApiSDKLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { lazy, nullable, object, optional, Schema, string } from '../schema'; import { GetThreeDSecureResponse, getThreeDSecureResponseSchema, } from './getThreeDSecureResponse'; /** Payment Authentication response */ export interface GetPaymentAuthenticationResponse { type?: string | null; /** 3D-S payment authentication response */ threedSecure?: GetThreeDSecureResponse | null; } export const getPaymentAuthenticationResponseSchema: Schema = object( { type: ['type', optional(nullable(string()))], threedSecure: [ 'threed_secure', optional(nullable(lazy(() => getThreeDSecureResponseSchema))), ], } );