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

46 lines 1.96 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.bundleRestrictionSchema = void 0; var schema_js_1 = require("../schema.js"); var dayTimeRestrictions_js_1 = require("./dayTimeRestrictions.js"); var locationRestriction_js_1 = require("./locationRestriction.js"); var productRestrictionCard_js_1 = require("./productRestrictionCard.js"); var usageRestrictionsCard_js_1 = require("./usageRestrictionsCard.js"); exports.bundleRestrictionSchema = (0, schema_js_1.lazy)(function () { return (0, schema_js_1.object)({ dayTimeRestrictionAction: [ 'DayTimeRestrictionAction', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)())), ], locationRestrictionAction: [ 'LocationRestrictionAction', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)())), ], productRestrictionAction: [ 'ProductRestrictionAction', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)())), ], dayTimeRestrictions: [ 'DayTimeRestrictions', (0, schema_js_1.optional)(dayTimeRestrictions_js_1.dayTimeRestrictionsSchema), ], productRestrictions: [ 'ProductRestrictions', (0, schema_js_1.optional)(productRestrictionCard_js_1.productRestrictionCardSchema), ], locationRestrictions: [ 'LocationRestrictions', (0, schema_js_1.optional)(locationRestriction_js_1.locationRestrictionSchema), ], usageRestrictions: [ 'UsageRestrictions', (0, schema_js_1.optional)(usageRestrictionsCard_js_1.usageRestrictionsCardSchema), ], }); }); //# sourceMappingURL=bundleRestriction.js.map