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

41 lines 1.43 kB
/** * Shell Card Management APIsLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { boolean, lazy, nullable, object, optional, string, unknown, } from '../schema'; import { cardDayTimeRestrictionsSchema, } from './cardDayTimeRestrictions'; import { locationRestrictionSchema, } from './locationRestriction'; export const bundleRestrictionUpdateSchema = object({ resetDayTimeRestriction: [ 'ResetDayTimeRestriction', optional(nullable(boolean())), ], resetLocationRestriction: [ 'ResetLocationRestriction', optional(nullable(boolean())), ], resetProductRestriction: [ 'ResetProductRestriction', optional(nullable(boolean())), ], usageRestrictions: ['UsageRestrictions', optional(unknown())], dayTimeRestrictionProfileId: [ 'DayTimeRestrictionProfileId', optional(nullable(string())), ], dayTimeRestrictions: [ 'DayTimeRestrictions', optional(lazy(() => cardDayTimeRestrictionsSchema)), ], productRestrictions: ['ProductRestrictions', optional(unknown())], locationRestrictionProfileId: [ 'LocationRestrictionProfileId', optional(string()), ], locationRestrictions: [ 'LocationRestrictions', optional(lazy(() => locationRestrictionSchema)), ], }); //# sourceMappingURL=bundleRestrictionUpdate.js.map