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 2.13 kB
"use strict"; /** * Shell Card Management APIsLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ exports.__esModule = true; exports.createBundleResponseSchema = void 0; var schema_1 = require("../schema"); var bundleCardRestrictionStatus_1 = require("./bundleCardRestrictionStatus"); var errorStatus_1 = require("./errorStatus"); exports.createBundleResponseSchema = (0, schema_1.object)({ requestId: ['RequestId', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))], bundleCreationStatus: [ 'BundleCreationStatus', (0, schema_1.optional)((0, schema_1.lazy)(function () { return errorStatus_1.errorStatusSchema; })), ], bundleId: ['BundleId', (0, schema_1.optional)((0, schema_1.string)())], dayTimeRestrictionStatus: [ 'DayTimeRestrictionStatus', (0, schema_1.optional)((0, schema_1.lazy)(function () { return errorStatus_1.errorStatusSchema; })), ], dayTimeRestrictionProfileId: [ 'DayTimeRestrictionProfileId', (0, schema_1.optional)((0, schema_1.string)()), ], locationRestrictionStatus: [ 'LocationRestrictionStatus', (0, schema_1.optional)((0, schema_1.lazy)(function () { return errorStatus_1.errorStatusSchema; })), ], locationRestrictionProfileId: [ 'LocationRestrictionProfileId', (0, schema_1.optional)((0, schema_1.string)()), ], usageRestrictionStatus: [ 'UsageRestrictionStatus', (0, schema_1.optional)((0, schema_1.lazy)(function () { return errorStatus_1.errorStatusSchema; })), ], productRestrictionStatus: [ 'ProductRestrictionStatus', (0, schema_1.optional)((0, schema_1.lazy)(function () { return errorStatus_1.errorStatusSchema; })), ], cards: ['Cards', (0, schema_1.optional)((0, schema_1.lazy)(function () { return bundleCardRestrictionStatus_1.bundleCardRestrictionStatusSchema; }))], error: ['Error', (0, schema_1.optional)((0, schema_1.lazy)(function () { return errorStatus_1.errorStatusSchema; }))] }); //# sourceMappingURL=createBundleResponse.js.map