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
44 lines • 1.85 kB
JavaScript
;
/**
* Shell Card Management APIsLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
exports.__esModule = true;
exports.bundleRestrictionUpdateSchema = void 0;
var schema_1 = require("../schema");
var cardDayTimeRestrictions_1 = require("./cardDayTimeRestrictions");
var locationRestriction_1 = require("./locationRestriction");
exports.bundleRestrictionUpdateSchema = (0, schema_1.object)({
resetDayTimeRestriction: [
'ResetDayTimeRestriction',
(0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.boolean)())),
],
resetLocationRestriction: [
'ResetLocationRestriction',
(0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.boolean)())),
],
resetProductRestriction: [
'ResetProductRestriction',
(0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.boolean)())),
],
usageRestrictions: ['UsageRestrictions', (0, schema_1.optional)((0, schema_1.unknown)())],
dayTimeRestrictionProfileId: [
'DayTimeRestrictionProfileId',
(0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)())),
],
dayTimeRestrictions: [
'DayTimeRestrictions',
(0, schema_1.optional)((0, schema_1.lazy)(function () { return cardDayTimeRestrictions_1.cardDayTimeRestrictionsSchema; })),
],
productRestrictions: ['ProductRestrictions', (0, schema_1.optional)((0, schema_1.unknown)())],
locationRestrictionProfileId: [
'LocationRestrictionProfileId',
(0, schema_1.optional)((0, schema_1.string)()),
],
locationRestrictions: [
'LocationRestrictions',
(0, schema_1.optional)((0, schema_1.lazy)(function () { return locationRestriction_1.locationRestrictionSchema; })),
]
});
//# sourceMappingURL=bundleRestrictionUpdate.js.map