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 • 958 B
JavaScript
/**
* 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 { bundledDetailsProductListSchema, } from './bundledDetailsProductList';
import { dayTimeRestrictionsSchema, } from './dayTimeRestrictions';
import { locationRestrictionSchema, } from './locationRestriction';
export const bundledRestrictionsListSchema = object({
usageRestrictions: ['UsageRestrictions', optional(unknown())],
dayTimeRestrictions: [
'DayTimeRestrictions',
optional(lazy(() => dayTimeRestrictionsSchema)),
],
productRestrictions: [
'ProductRestrictions',
optional(lazy(() => bundledDetailsProductListSchema)),
],
locationRestrictions: [
'LocationRestrictions',
optional(lazy(() => locationRestrictionSchema)),
],
});
//# sourceMappingURL=bundledRestrictionsList.js.map