UNPKG

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) 756 B
/** * 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 { AccountRequest, accountRequestSchema } from './accountRequest.js'; export interface AccountReq { filters?: AccountRequest; /** 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 accountReqSchema: Schema<AccountReq> = lazy(() => object({ filters: ['Filters', optional(accountRequestSchema)], page: ['Page', optional(nullable(number()))], pageSize: ['PageSize', optional(nullable(number()))], }) );