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

30 lines 1.22 kB
/** * Shell Card Management APIsLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { array, boolean, lazy, nullable, number, object, optional, string, } from '../schema.js'; import { accountsSchema } from './accounts.js'; import { searchCardRestrictionSchema, } from './searchCardRestriction.js'; export const searchCardRestrictionReqSchema = lazy(() => object({ colCoId: ['ColCoId', optional(nullable(number()))], colCoCode: ['ColCoCode', optional(nullable(number()))], payerId: ['PayerId', optional(nullable(number()))], payerNumber: ['PayerNumber', optional(string())], accounts: ['Accounts', optional(accountsSchema)], bundleId: ['BundleId', optional(nullable(string()))], cards: ['Cards', optional(array(searchCardRestrictionSchema))], includeLocationRestrictions: [ 'IncludeLocationRestrictions', optional(nullable(boolean())), ], includeBundleDetails: [ 'IncludeBundleDetails', optional(nullable(boolean())), ], includeInheritedLimits: [ 'IncludeInheritedLimits', optional(nullable(boolean())), ], })); //# sourceMappingURL=searchCardRestrictionReq.js.map