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

29 lines 1.06 kB
/** * Shell Card Management APIsLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { lazy, nullable, object, optional, string, unknown, } from '../schema'; import { dayTimeRestrictionsSchema, } from './dayTimeRestrictions'; import { locationRestrictionSchema, } from './locationRestriction'; export const bundleRestrictionSchema = object({ dayTimeRestrictionAction: [ 'DayTimeRestrictionAction', optional(nullable(string())), ], locationRestrictionAction: [ 'LocationRestrictionAction', optional(nullable(string())), ], usageRestrictions: ['UsageRestrictions', optional(unknown())], dayTimeRestrictions: [ 'DayTimeRestrictions', optional(lazy(() => dayTimeRestrictionsSchema)), ], productRestrictions: ['ProductRestrictions', optional(unknown())], locationRestrictions: [ 'LocationRestrictions', optional(lazy(() => locationRestrictionSchema)), ], }); //# sourceMappingURL=bundleRestriction.js.map