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.03 kB
/** * Shell Card Management APIsLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { lazy, object, optional } from '../schema.js'; import { dayTimeRestrictionsSchema, } from './dayTimeRestrictions.js'; import { locationRestrictionSchema, } from './locationRestriction.js'; import { searchProductRestrictionSchema, } from './searchProductRestriction.js'; import { usageRestrictionsCardSchema, } from './usageRestrictionsCard.js'; export const restrictionSchema = lazy(() => object({ usageRestrictions: [ 'UsageRestrictions', optional(usageRestrictionsCardSchema), ], dayTimeRestrictions: [ 'DayTimeRestrictions', optional(dayTimeRestrictionsSchema), ], productRestrictions: [ 'ProductRestrictions', optional(searchProductRestrictionSchema), ], locationRestrictions: [ 'LocationRestrictions', optional(locationRestrictionSchema), ], })); //# sourceMappingURL=restriction.js.map