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
21 lines • 1.07 kB
JavaScript
/**
* Shell Card Management APIsLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { array, lazy, nullable, number, object, optional, string, } from '../schema.js';
import { bundleRestrictionUpdateSchema, } from './bundleRestrictionUpdate.js';
export const updateBundleRequestSchema = lazy(() => object({
colCoId: ['ColCoId', optional(nullable(number()))],
colCoCode: ['ColCoCode', optional(nullable(number()))],
payerId: ['PayerId', optional(nullable(number()))],
payerNumber: ['PayerNumber', optional(nullable(string()))],
accountId: ['AccountId', optional(nullable(number()))],
accountNumber: ['AccountNumber', optional(nullable(string()))],
bundleId: ['BundleId', nullable(string())],
requestAction: ['RequestAction', nullable(string())],
cards: ['Cards', array(string())],
usageRestrictionAction: ['UsageRestrictionAction', nullable(string())],
restrictions: ['Restrictions', optional(bundleRestrictionUpdateSchema)],
}));
//# sourceMappingURL=updateBundleRequest.js.map