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
29 lines • 2.02 kB
JavaScript
;
/**
* Shell Card Management APIsLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
exports.__esModule = true;
exports.updateCardSchema = void 0;
var schema_1 = require("../schema");
var cardSettings_1 = require("./cardSettings");
exports.updateCardSchema = (0, schema_1.object)({
caller: ['Caller', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
isReplacementChargeable: ['IsReplacementChargeable', (0, schema_1.optional)((0, schema_1.boolean)())],
notifyCaller: ['NotifyCaller', (0, schema_1.optional)((0, schema_1.boolean)())],
notifyCallerOnSync: ['NotifyCallerOnSync', (0, schema_1.optional)((0, schema_1.boolean)())],
orderCardReplacement: ['OrderCardReplacement', (0, schema_1.optional)((0, schema_1.boolean)())],
cardSettings: ['CardSettings', (0, schema_1.optional)((0, schema_1.lazy)(function () { return cardSettings_1.cardSettingsSchema; }))],
accountId: ['AccountId', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.number)()))],
accountNumber: ['AccountNumber', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
cardExpiryDate: ['CardExpiryDate', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
cardId: ['CardId', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.number)()))],
colCoCode: ['ColCoCode', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.number)()))],
colCoId: ['ColCoId', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.number)()))],
pAN: ['PAN', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
pANID: ['PANID', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.number)()))],
payerId: ['PayerId', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.number)()))],
payerNumber: ['PayerNumber', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))]
});
//# sourceMappingURL=updateCard.js.map