/** * PagarmeApiSDKLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { array, lazy, nullable, object, optional, Schema } from '../schema'; import { GetRecipientResponse, getRecipientResponseSchema, } from './getRecipientResponse'; import { PagingResponse, pagingResponseSchema } from './pagingResponse'; /** Response for the listing recipient method */ export interface ListRecipientResponse { /** Recipients */ data?: GetRecipientResponse[] | null; /** Paging */ paging?: PagingResponse | null; } export const listRecipientResponseSchema: Schema = object( { data: [ 'data', optional(nullable(array(lazy(() => getRecipientResponseSchema)))), ], paging: ['paging', optional(nullable(lazy(() => pagingResponseSchema)))], } );