/** * PagarmeApiSDKLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { array, lazy, nullable, object, optional, Schema } from '../schema'; import { GetPayableResponse, getPayableResponseSchema, } from './getPayableResponse'; import { PagingResponse, pagingResponseSchema } from './pagingResponse'; /** Response object for listing payable objects */ export interface ListPayablesResponse { /** The payable object */ data?: GetPayableResponse[] | null; /** Paging object */ paging?: PagingResponse | null; } export const listPayablesResponseSchema: Schema = object({ data: [ 'data', optional(nullable(array(lazy(() => getPayableResponseSchema)))), ], paging: ['paging', optional(nullable(lazy(() => pagingResponseSchema)))], });