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
66 lines • 4.74 kB
JavaScript
"use strict";
/**
* Shell Card Management APIsLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
exports.__esModule = true;
exports.cardDetailSchema = void 0;
var schema_1 = require("../schema");
var cardContact_1 = require("./cardContact");
var cardDetailAutoRenewEnum_1 = require("./cardDetailAutoRenewEnum");
var pINContact_1 = require("./pINContact");
exports.cardDetailSchema = (0, schema_1.object)({
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)()))],
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)()))],
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)()))],
cardTypeId: ['CardTypeId', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.number)()))],
tokenTypeId: ['TokenTypeId', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.number)()))],
embossText: ['EmbossText', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
vRN: ['VRN', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
driverName: ['DriverName', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
odometerInputRequired: ['OdometerInputRequired', (0, schema_1.optional)((0, schema_1.boolean)())],
fleetIdInputRequired: ['FleetIdInputRequired', (0, schema_1.optional)((0, schema_1.boolean)())],
purchaseCategoryId: ['PurchaseCategoryId', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.number)()))],
selfSelectedEncryptedPIN: ['SelfSelectedEncryptedPIN', (0, schema_1.optional)((0, schema_1.string)())],
selfSelectedPINKeyID: ['SelfSelectedPINKeyID', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
selfSelectedPINSessionKey: [
'SelfSelectedPINSessionKey',
(0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)())),
],
cardGroupId: ['CardGroupId', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.number)()))],
cardGroupName: ['CardGroupName', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
isNewCardGroup: ['IsNewCardGroup', (0, schema_1.optional)((0, schema_1.boolean)())],
embossCardGroup: ['EmbossCardGroup', (0, schema_1.optional)((0, schema_1.boolean)())],
cardDeliveryType: ['CardDeliveryType', (0, schema_1.nullable)((0, schema_1.number)())],
cardContact: ['CardContact', (0, schema_1.optional)((0, schema_1.lazy)(function () { return cardContact_1.cardContactSchema; }))],
pINDeliveryAddressType: [
'PINDeliveryAddressType',
(0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.number)())),
],
pINAdviceType: ['PINAdviceType', (0, schema_1.nullable)((0, schema_1.number)())],
pINContact: ['PINContact', (0, schema_1.optional)((0, schema_1.lazy)(function () { return pINContact_1.pINContactSchema; }))],
notifyCaller: ['NotifyCaller', (0, schema_1.optional)((0, schema_1.boolean)())],
caller: ['Caller', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
notifyCallerOnSync: ['NotifyCallerOnSync', (0, schema_1.optional)((0, schema_1.boolean)())],
validateFleetId: ['ValidateFleetId', (0, schema_1.optional)((0, schema_1.boolean)())],
fleetOption: ['FleetOption', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
bundleId: ['BundleId', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
usageRestrictionAction: [
'UsageRestrictionAction',
(0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)())),
],
productRestrictionAction: [
'ProductRestrictionAction',
(0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)())),
],
products: ['Products', (0, schema_1.optional)((0, schema_1.array)((0, schema_1.string)()))],
productGroups: ['ProductGroups', (0, schema_1.optional)((0, schema_1.array)((0, schema_1.string)()))],
expiryDate: ['ExpiryDate', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
clientReferenceId: ['ClientReferenceId', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
autoRenew: ['AutoRenew', (0, schema_1.optional)(cardDetailAutoRenewEnum_1.cardDetailAutoRenewEnumSchema)]
});
//# sourceMappingURL=cardDetail.js.map