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