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

25 lines 931 B
/** * Shell Card Management APIsLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { lazy, object, optional, unknown } from '../schema'; import { dayTimeRestrictionsSchema, } from './dayTimeRestrictions'; import { locationRestrictionSchema, } from './locationRestriction'; import { searchProductRestrictionSchema, } from './searchProductRestriction'; export const restrictionSchema = object({ usageRestrictions: ['UsageRestrictions', optional(unknown())], dayTimeRestrictions: [ 'DayTimeRestrictions', optional(lazy(() => dayTimeRestrictionsSchema)), ], productRestrictions: [ 'ProductRestrictions', optional(lazy(() => searchProductRestrictionSchema)), ], locationRestrictions: [ 'LocationRestrictions', optional(lazy(() => locationRestrictionSchema)), ], }); //# sourceMappingURL=restriction.js.map