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

40 lines 1.93 kB
"use strict"; /** * Shell Card Management APIsLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ exports.__esModule = true; exports.restrictionCardsListSchema = void 0; var schema_1 = require("../schema"); var dayTimeRestrictions_1 = require("./dayTimeRestrictions"); var locationRestriction_1 = require("./locationRestriction"); exports.restrictionCardsListSchema = (0, schema_1.object)({ accountId: ['AccountId', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.number)()))], cardId: ['CardId', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.number)()))], pAN: ['PAN', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))], resetUsageRestrictions: ['ResetUsageRestrictions', (0, schema_1.optional)((0, schema_1.boolean)())], resetDayTimeRestrictions: [ 'ResetDayTimeRestrictions', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.boolean)())), ], resetProductRestrictions: [ 'ResetProductRestrictions', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.boolean)())), ], resetLocationRestrictions: [ 'ResetLocationRestrictions', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.boolean)())), ], usageRestrictions: ['UsageRestrictions', (0, schema_1.optional)((0, schema_1.unknown)())], dayTimeRestrictions: [ 'DayTimeRestrictions', (0, schema_1.optional)((0, schema_1.lazy)(function () { return dayTimeRestrictions_1.dayTimeRestrictionsSchema; })), ], productRestrictions: ['ProductRestrictions', (0, schema_1.optional)((0, schema_1.unknown)())], locationRestrictions: [ 'LocationRestrictions', (0, schema_1.optional)((0, schema_1.lazy)(function () { return locationRestriction_1.locationRestrictionSchema; })), ] }); //# sourceMappingURL=restrictionCardsList.js.map