card-management-sdk
Version:
The Shell Card Management API is REST-based and employs OAUTH 2.0,Basic and ApiKey authentication. The API endpoints accept JSON-encoded request bodies, return JSON-encoded responses and use standard HTTP response codes. All resources are located in the S
25 lines (21 loc) • 740 B
text/typescript
/**
* Shell Card Management APIsLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { lazy, nullable, number, object, optional, Schema } from '../schema.js';
import { PayerRequest, payerRequestSchema } from './payerRequest.js';
export interface PayerReq {
filters?: PayerRequest;
/** Page Number (as shown to the users) */
page?: number | null;
/** Page Size – Number of records to show on a page. */
pageSize?: number | null;
}
export const payerReqSchema: Schema<PayerReq> = lazy(() =>
object({
filters: ['Filters', optional(payerRequestSchema)],
page: ['Page', optional(nullable(number()))],
pageSize: ['PageSize', optional(nullable(number()))],
})
);