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

43 lines 1.52 kB
/** * Shell Card Management APIsLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { lazy, nullable, object, optional, string } from '../schema'; import { bundleCardRestrictionStatusSchema, } from './bundleCardRestrictionStatus'; import { errorStatusSchema } from './errorStatus'; export const createBundleResponseSchema = object({ requestId: ['RequestId', optional(nullable(string()))], bundleCreationStatus: [ 'BundleCreationStatus', optional(lazy(() => errorStatusSchema)), ], bundleId: ['BundleId', optional(string())], dayTimeRestrictionStatus: [ 'DayTimeRestrictionStatus', optional(lazy(() => errorStatusSchema)), ], dayTimeRestrictionProfileId: [ 'DayTimeRestrictionProfileId', optional(string()), ], locationRestrictionStatus: [ 'LocationRestrictionStatus', optional(lazy(() => errorStatusSchema)), ], locationRestrictionProfileId: [ 'LocationRestrictionProfileId', optional(string()), ], usageRestrictionStatus: [ 'UsageRestrictionStatus', optional(lazy(() => errorStatusSchema)), ], productRestrictionStatus: [ 'ProductRestrictionStatus', optional(lazy(() => errorStatusSchema)), ], cards: ['Cards', optional(lazy(() => bundleCardRestrictionStatusSchema))], error: ['Error', optional(lazy(() => errorStatusSchema))], }); //# sourceMappingURL=createBundleResponse.js.map