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
26 lines • 1.73 kB
JavaScript
;
/**
* Shell Card Management APIsLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.updateBundleRequestSchema = void 0;
var schema_js_1 = require("../schema.js");
var bundleRestrictionUpdate_js_1 = require("./bundleRestrictionUpdate.js");
exports.updateBundleRequestSchema = (0, schema_js_1.lazy)(function () {
return (0, schema_js_1.object)({
colCoId: ['ColCoId', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))],
colCoCode: ['ColCoCode', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))],
payerId: ['PayerId', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))],
payerNumber: ['PayerNumber', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
accountId: ['AccountId', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.number)()))],
accountNumber: ['AccountNumber', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
bundleId: ['BundleId', (0, schema_js_1.nullable)((0, schema_js_1.string)())],
requestAction: ['RequestAction', (0, schema_js_1.nullable)((0, schema_js_1.string)())],
cards: ['Cards', (0, schema_js_1.array)((0, schema_js_1.string)())],
usageRestrictionAction: ['UsageRestrictionAction', (0, schema_js_1.nullable)((0, schema_js_1.string)())],
restrictions: ['Restrictions', (0, schema_js_1.optional)(bundleRestrictionUpdate_js_1.bundleRestrictionUpdateSchema)],
});
});
//# sourceMappingURL=updateBundleRequest.js.map