/** * PagarmeApiSDKLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { array, lazy, object, Schema } from '../schema'; import { GetWithdrawResponse, getWithdrawResponseSchema, } from './getWithdrawResponse'; import { PagingResponse, pagingResponseSchema } from './pagingResponse'; export interface ListWithdrawals { /** The Increments response */ data: GetWithdrawResponse[]; /** Paging object */ paging: PagingResponse; } export const listWithdrawalsSchema: Schema = object({ data: ['data', array(lazy(() => getWithdrawResponseSchema))], paging: ['paging', lazy(() => pagingResponseSchema)], });