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
19 lines • 951 B
JavaScript
/**
* 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 { createCardGroupRequestCardsItemsSchema, } from './createCardGroupRequestCardsItems.js';
export const createCardGroupRequestSchema = lazy(() => object({
colCoCode: ['ColCoCode', optional(number())],
colCoId: ['ColCoId', optional(number())],
payerNumber: ['PayerNumber', optional(string())],
payerId: ['PayerId', optional(number())],
accountId: ['AccountId', optional(number())],
accountNumber: ['AccountNumber', optional(string())],
printOnCard: ['PrintOnCard', optional(boolean())],
cardGroupName: ['CardGroupName', optional(nullable(string()))],
cards: ['Cards', optional(array(createCardGroupRequestCardsItemsSchema))],
}));
//# sourceMappingURL=createCardGroupRequest.js.map