/** * PagarmeApiSDKLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { nullable, number, object, optional, Schema, string } from '../schema'; /** Object used for returning lists of objects with pagination */ export interface PagingResponse { /** Total number of pages */ total?: number | null; /** Previous page */ previous?: string | null; /** Next page */ next?: string | null; } export const pagingResponseSchema: Schema = object({ total: ['total', optional(nullable(number()))], previous: ['previous', optional(nullable(string()))], next: ['next', optional(nullable(string()))], });