UNPKG

cloudflare

Version:

The official TypeScript library for the Cloudflare API

62 lines 3.49 kB
"use strict"; // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { desc = { enumerable: true, get: function() { return m[k]; } }; } Object.defineProperty(o, k2, desc); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; })); var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { Object.defineProperty(o, "default", { enumerable: true, value: v }); }) : function(o, v) { o["default"] = v; }); var __importStar = (this && this.__importStar) || function (mod) { if (mod && mod.__esModule) return mod; var result = {}; if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); __setModuleDefault(result, mod); return result; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.Settings = void 0; const resource_1 = require("../../../resource.js"); const AllowPoliciesAPI = __importStar(require("./allow-policies.js")); const allow_policies_1 = require("./allow-policies.js"); const BlockSendersAPI = __importStar(require("./block-senders.js")); const block_senders_1 = require("./block-senders.js"); const DomainsAPI = __importStar(require("./domains.js")); const domains_1 = require("./domains.js"); const ImpersonationRegistryAPI = __importStar(require("./impersonation-registry.js")); const impersonation_registry_1 = require("./impersonation-registry.js"); const TrustedDomainsAPI = __importStar(require("./trusted-domains.js")); const trusted_domains_1 = require("./trusted-domains.js"); class Settings extends resource_1.APIResource { constructor() { super(...arguments); this.allowPolicies = new AllowPoliciesAPI.AllowPolicies(this._client); this.blockSenders = new BlockSendersAPI.BlockSenders(this._client); this.domains = new DomainsAPI.Domains(this._client); this.impersonationRegistry = new ImpersonationRegistryAPI.ImpersonationRegistry(this._client); this.trustedDomains = new TrustedDomainsAPI.TrustedDomains(this._client); } } exports.Settings = Settings; Settings.AllowPolicies = allow_policies_1.AllowPolicies; Settings.AllowPolicyListResponsesV4PagePaginationArray = allow_policies_1.AllowPolicyListResponsesV4PagePaginationArray; Settings.BlockSenders = block_senders_1.BlockSenders; Settings.BlockSenderListResponsesV4PagePaginationArray = block_senders_1.BlockSenderListResponsesV4PagePaginationArray; Settings.Domains = domains_1.Domains; Settings.DomainListResponsesV4PagePaginationArray = domains_1.DomainListResponsesV4PagePaginationArray; Settings.DomainBulkDeleteResponsesSinglePage = domains_1.DomainBulkDeleteResponsesSinglePage; Settings.ImpersonationRegistry = impersonation_registry_1.ImpersonationRegistry; Settings.ImpersonationRegistryListResponsesV4PagePaginationArray = impersonation_registry_1.ImpersonationRegistryListResponsesV4PagePaginationArray; Settings.TrustedDomains = trusted_domains_1.TrustedDomains; Settings.TrustedDomainListResponsesV4PagePaginationArray = trusted_domains_1.TrustedDomainListResponsesV4PagePaginationArray; //# sourceMappingURL=settings.js.map