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
32 lines • 1.45 kB
JavaScript
;
/**
* Shell Card Management APIsLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
exports.__esModule = true;
exports.locationRestrictionSchema = void 0;
var schema_1 = require("../schema");
var countryRestriction_1 = require("./countryRestriction");
var networkRestriction_1 = require("./networkRestriction");
var partnerSiteRestriction_1 = require("./partnerSiteRestriction");
var shellSiteRestriction_1 = require("./shellSiteRestriction");
exports.locationRestrictionSchema = (0, schema_1.object)({
countryRestrictions: [
'CountryRestrictions',
(0, schema_1.optional)((0, schema_1.lazy)(function () { return countryRestriction_1.countryRestrictionSchema; })),
],
networkRestrictions: [
'NetworkRestrictions',
(0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return networkRestriction_1.networkRestrictionSchema; }))),
],
shellSiteRestrictions: [
'ShellSiteRestrictions',
(0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return shellSiteRestriction_1.shellSiteRestrictionSchema; }))),
],
partnerSiteRestrictions: [
'PartnerSiteRestrictions',
(0, schema_1.optional)((0, schema_1.array)((0, schema_1.lazy)(function () { return partnerSiteRestriction_1.partnerSiteRestrictionSchema; }))),
]
});
//# sourceMappingURL=locationRestriction.js.map