UNPKG

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

63 lines 3.2 kB
/** * Shell Card Management APIsLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { array, boolean, lazy, nullable, number, object, optional, string, } from '../schema'; import { cardContactSchema } from './cardContact'; import { cardDetailAutoRenewEnumSchema, } from './cardDetailAutoRenewEnum'; import { pINContactSchema } from './pINContact'; export const cardDetailSchema = object({ payerId: ['PayerId', optional(nullable(number()))], payerNumber: ['PayerNumber', optional(nullable(string()))], accountId: ['AccountId', optional(nullable(number()))], accountNumber: ['AccountNumber', optional(nullable(string()))], colCoCode: ['ColCoCode', optional(nullable(number()))], colCoId: ['ColCoId', optional(nullable(number()))], cardTypeId: ['CardTypeId', optional(nullable(number()))], tokenTypeId: ['TokenTypeId', optional(nullable(number()))], embossText: ['EmbossText', optional(nullable(string()))], vRN: ['VRN', optional(nullable(string()))], driverName: ['DriverName', optional(nullable(string()))], odometerInputRequired: ['OdometerInputRequired', optional(boolean())], fleetIdInputRequired: ['FleetIdInputRequired', optional(boolean())], purchaseCategoryId: ['PurchaseCategoryId', optional(nullable(number()))], selfSelectedEncryptedPIN: ['SelfSelectedEncryptedPIN', optional(string())], selfSelectedPINKeyID: ['SelfSelectedPINKeyID', optional(nullable(string()))], selfSelectedPINSessionKey: [ 'SelfSelectedPINSessionKey', optional(nullable(string())), ], cardGroupId: ['CardGroupId', optional(nullable(number()))], cardGroupName: ['CardGroupName', optional(nullable(string()))], isNewCardGroup: ['IsNewCardGroup', optional(boolean())], embossCardGroup: ['EmbossCardGroup', optional(boolean())], cardDeliveryType: ['CardDeliveryType', nullable(number())], cardContact: ['CardContact', optional(lazy(() => cardContactSchema))], pINDeliveryAddressType: [ 'PINDeliveryAddressType', optional(nullable(number())), ], pINAdviceType: ['PINAdviceType', nullable(number())], pINContact: ['PINContact', optional(lazy(() => pINContactSchema))], notifyCaller: ['NotifyCaller', optional(boolean())], caller: ['Caller', optional(nullable(string()))], notifyCallerOnSync: ['NotifyCallerOnSync', optional(boolean())], validateFleetId: ['ValidateFleetId', optional(boolean())], fleetOption: ['FleetOption', optional(nullable(string()))], bundleId: ['BundleId', optional(nullable(string()))], usageRestrictionAction: [ 'UsageRestrictionAction', optional(nullable(string())), ], productRestrictionAction: [ 'ProductRestrictionAction', optional(nullable(string())), ], products: ['Products', optional(array(string()))], productGroups: ['ProductGroups', optional(array(string()))], expiryDate: ['ExpiryDate', optional(nullable(string()))], clientReferenceId: ['ClientReferenceId', optional(nullable(string()))], autoRenew: ['AutoRenew', optional(cardDetailAutoRenewEnumSchema)], }); //# sourceMappingURL=cardDetail.js.map