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

29 lines 1.18 kB
/** * Shell Card Management APIsLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { boolean, lazy, nullable, number, object, optional, string, } from '../schema.js'; import { cardDayTimeRestrictionsSchema, } from './cardDayTimeRestrictions.js'; import { cardUsageRestrictionsSchema, } from './cardUsageRestrictions.js'; export const cartTypeAccountSchema = lazy(() => object({ accountId: ['AccountId', optional(nullable(number()))], accountNumber: ['AccountNumber', optional(string())], isDefault: ['IsDefault', optional(boolean())], customerCardTypeId: ['CustomerCardTypeId', optional(number())], isVisibleToCustomers: ['IsVisibleToCustomers', optional(boolean())], embossAccountName: ['EmbossAccountName', optional(string())], defaultPurchaseCategoryId: [ 'DefaultPurchaseCategoryId', optional(number()), ], usageRestrictions: [ 'UsageRestrictions', optional(cardUsageRestrictionsSchema), ], dayTimeRestrictions: [ 'DayTimeRestrictions', optional(cardDayTimeRestrictionsSchema), ], })); //# sourceMappingURL=cartTypeAccount.js.map