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
69 lines • 5.81 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.cardSchema = void 0;
var schema_1 = require("../schema");
var cardBlockSchedule_1 = require("./cardBlockSchedule");
exports.cardSchema = (0, schema_1.object)({
accountId: ['AccountId', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.number)()))],
accountName: ['AccountName', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
accountNumber: ['AccountNumber', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
accountShortName: ['AccountShortName', (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)()))],
cardBlockSchedules: [
'CardBlockSchedules',
(0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return cardBlockSchedule_1.cardBlockScheduleSchema; }))),
],
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)()))],
cardId: ['CardId', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.number)()))],
cardTypeCode: ['CardTypeCode', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
cardTypeId: ['CardTypeId', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.number)()))],
cardTypeName: ['CardTypeName', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
colCoCountryCode: ['ColCoCountryCode', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
creationDate: ['CreationDate', (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)()))],
effectiveDate: ['EffectiveDate', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
expiryDate: ['ExpiryDate', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
fleetIdInput: ['FleetIdInput', (0, schema_1.optional)((0, schema_1.boolean)())],
isCRT: ['IsCRT', (0, schema_1.optional)((0, schema_1.boolean)())],
isFleet: ['IsFleet', (0, schema_1.optional)((0, schema_1.boolean)())],
isInternational: ['IsInternational', (0, schema_1.optional)((0, schema_1.boolean)())],
isNational: ['IsNational', (0, schema_1.optional)((0, schema_1.boolean)())],
isPartnerSitesIncluded: ['IsPartnerSitesIncluded', (0, schema_1.optional)((0, schema_1.boolean)())],
isShellSitesOnly: ['IsShellSitesOnly', (0, schema_1.optional)((0, schema_1.boolean)())],
issueDate: ['IssueDate', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
isSuperseded: ['IsSuperseded', (0, schema_1.optional)((0, schema_1.boolean)())],
isVirtualCard: ['IsVirtualCard', (0, schema_1.optional)((0, schema_1.boolean)())],
lastModifiedDate: ['LastModifiedDate', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
lastUsedDate: ['LastUsedDate', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
localCurrencyCode: ['LocalCurrencyCode', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
localCurrencySymbol: ['LocalCurrencySymbol', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
odometerInput: ['OdometerInput', (0, schema_1.optional)((0, schema_1.boolean)())],
pAN: ['PAN', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
maskedPAN: ['MaskedPAN', (0, schema_1.optional)((0, schema_1.string)())],
pANID: ['PANID', (0, schema_1.optional)((0, schema_1.number)())],
purchaseCategoryCode: ['PurchaseCategoryCode', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
purchaseCategoryId: ['PurchaseCategoryId', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.number)()))],
purchaseCategoryName: ['PurchaseCategoryName', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
reason: ['Reason', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
reissueSetting: ['ReissueSetting', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
statusDescription: ['StatusDescription', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
statusId: ['StatusId', (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)()))],
tokenTypeName: ['TokenTypeName', (0, schema_1.optional)((0, schema_1.string)())],
vRN: ['VRN', (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)()))],
isEMVContact: ['IsEMVContact', (0, schema_1.optional)((0, schema_1.boolean)())],
isEMVContactless: ['IsEMVContactless', (0, schema_1.optional)((0, schema_1.boolean)())],
isRFID: ['IsRFID', (0, schema_1.optional)((0, schema_1.boolean)())],
rFIDUID: ['RFIDUID', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
eMAID: ['EMAID', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
eVPrintedNumber: ['EVPrintedNumber', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
cardMediaCode: ['CardMediaCode', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))]
});
//# sourceMappingURL=card.js.map