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 • 3.44 kB
JavaScript
/**
* 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.js';
import { searchCardSchema } from './searchCard.js';
export const filtersSchema = lazy(() => object({
accountId: ['AccountId', optional(nullable(number()))],
accountNumber: ['AccountNumber', optional(nullable(string()))],
cardGroupId: ['CardGroupId', optional(nullable(number()))],
cardGroupName: ['CardGroupName', optional(nullable(string()))],
cardSegment: ['CardSegment', optional(nullable(string()))],
cardStatus: ['CardStatus', array(string())],
cardTypeCode: ['CardTypeCode', optional(nullable(string()))],
colCoCode: ['ColCoCode', optional(nullable(number()))],
colCoCountryCode: ['ColCoCountryCode', optional(nullable(string()))],
colCoId: ['ColCoId', optional(nullable(number()))],
coverage: ['Coverage', optional(nullable(string()))],
creationDate: ['CreationDate', optional(nullable(string()))],
driverName: ['DriverName', optional(array(string()))],
effectiveDate: ['EffectiveDate', optional(nullable(string()))],
excludeBundleId: ['ExcludeBundleId', optional(nullable(string()))],
excludeCancelledCards: ['ExcludeCancelledCards', optional(boolean())],
excludeCardGroupId: ['ExcludeCardGroupId', optional(nullable(number()))],
excludeCardGroupName: [
'ExcludeCardGroupName',
optional(nullable(string())),
],
excludeCards: ['ExcludeCards', optional(array(searchCardSchema))],
excludeFraudCards: ['ExcludeFraudCards', optional(boolean())],
excludePendingRenewalCards: [
'ExcludePendingRenewalCards',
optional(boolean()),
],
excludeReplacedCards: ['ExcludeReplacedCards', optional(boolean())],
expiringInDays: ['ExpiringInDays', optional(nullable(number()))],
expiryMonth: ['ExpiryMonth', optional(nullable(string()))],
includeBundleDetails: ['IncludeBundleDetails', optional(boolean())],
includeCards: ['IncludeCards', optional(array(searchCardSchema))],
includeIntermediateStatus: [
'IncludeIntermediateStatus',
optional(boolean()),
],
issuedAfter: ['IssuedAfter', optional(nullable(string()))],
network: ['Network', optional(nullable(string()))],
pANEndsWith: ['PANEndsWith', optional(nullable(string()))],
payerId: ['PayerId', optional(nullable(number()))],
payerNumber: ['PayerNumber', optional(nullable(string()))],
purchaseCategoryCode: [
'PurchaseCategoryCode',
optional(nullable(string())),
],
sortOrder: ['SortOrder', optional(nullable(string()))],
includeScheduledCardBlocks: [
'IncludeScheduledCardBlocks',
optional(boolean()),
],
tokenTypeID: ['TokenTypeID', optional(nullable(number()))],
tokenTypeName: ['TokenTypeName', optional(nullable(string()))],
vehicleRegistrationNumber: [
'VehicleRegistrationNumber',
optional(array(string())),
],
excludeOldCards: ['ExcludeOldCards', optional(boolean())],
excludeExpiringCards: ['ExcludeExpiringCards', optional(boolean())],
clientReferenceId: ['ClientReferenceId', optional(nullable(string()))],
reissueSetting: ['ReissueSetting', optional(nullable(string()))],
requestId: ['RequestId', optional(string())],
}));
//# sourceMappingURL=filters.js.map