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

34 lines 1.72 kB
"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.cartTypeAccountSchema = void 0; var schema_js_1 = require("../schema.js"); var cardDayTimeRestrictions_js_1 = require("./cardDayTimeRestrictions.js"); var cardUsageRestrictions_js_1 = require("./cardUsageRestrictions.js"); exports.cartTypeAccountSchema = (0, schema_js_1.lazy)(function () { return (0, schema_js_1.object)({ 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.string)())], isDefault: ['IsDefault', (0, schema_js_1.optional)((0, schema_js_1.boolean)())], customerCardTypeId: ['CustomerCardTypeId', (0, schema_js_1.optional)((0, schema_js_1.number)())], isVisibleToCustomers: ['IsVisibleToCustomers', (0, schema_js_1.optional)((0, schema_js_1.boolean)())], embossAccountName: ['EmbossAccountName', (0, schema_js_1.optional)((0, schema_js_1.string)())], defaultPurchaseCategoryId: [ 'DefaultPurchaseCategoryId', (0, schema_js_1.optional)((0, schema_js_1.number)()), ], usageRestrictions: [ 'UsageRestrictions', (0, schema_js_1.optional)(cardUsageRestrictions_js_1.cardUsageRestrictionsSchema), ], dayTimeRestrictions: [ 'DayTimeRestrictions', (0, schema_js_1.optional)(cardDayTimeRestrictions_js_1.cardDayTimeRestrictionsSchema), ], }); }); //# sourceMappingURL=cartTypeAccount.js.map