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
29 lines • 1.07 kB
JavaScript
/**
* Shell Card Management APIsLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { array, lazy, object, optional } from '../schema.js';
import { countryRestrictionSchema, } from './countryRestriction.js';
import { networkRestrictionSchema, } from './networkRestriction.js';
import { partnerSiteRestrictionSchema, } from './partnerSiteRestriction.js';
import { shellSiteRestrictionSchema, } from './shellSiteRestriction.js';
export const locationRestrictionSchema = lazy(() => object({
countryRestrictions: [
'CountryRestrictions',
optional(countryRestrictionSchema),
],
networkRestrictions: [
'NetworkRestrictions',
optional(array(networkRestrictionSchema)),
],
shellSiteRestrictions: [
'ShellSiteRestrictions',
optional(array(shellSiteRestrictionSchema)),
],
partnerSiteRestrictions: [
'PartnerSiteRestrictions',
optional(array(partnerSiteRestrictionSchema)),
],
}));
//# sourceMappingURL=locationRestriction.js.map