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