cloudflare
Version:
The official TypeScript library for the Cloudflare API
100 lines • 4.97 kB
JavaScript
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import { APIResource } from "../../../core/resource.mjs";
import * as BookmarksAPI from "./bookmarks.mjs";
import { BaseBookmarks, Bookmarks, } from "./bookmarks.mjs";
import * as CustomPagesAPI from "./custom-pages.mjs";
import { BaseCustomPages, CustomPages, } from "./custom-pages.mjs";
import * as GatewayCAAPI from "./gateway-ca.mjs";
import { BaseGatewayCA, GatewayCA, } from "./gateway-ca.mjs";
import * as GroupsAPI from "./groups.mjs";
import { BaseGroups, Groups, } from "./groups.mjs";
import * as IdPFederationGrantsAPI from "./idp-federation-grants.mjs";
import { BaseIdPFederationGrants, IdPFederationGrants, } from "./idp-federation-grants.mjs";
import * as KeysAPI from "./keys.mjs";
import { BaseKeys, Keys, } from "./keys.mjs";
import * as PoliciesAPI from "./policies.mjs";
import { BasePolicies, Policies, } from "./policies.mjs";
import * as SAMLCertificatesAPI from "./saml-certificates.mjs";
import { BaseSAMLCertificates, SAMLCertificates, } from "./saml-certificates.mjs";
import * as ServiceTokensAPI from "./service-tokens.mjs";
import { BaseServiceTokens, ServiceTokens, } from "./service-tokens.mjs";
import * as TagsAPI from "./tags.mjs";
import { BaseTags, Tags, } from "./tags.mjs";
import * as AIControlsAPI from "./ai-controls/ai-controls.mjs";
import { AIControls, BaseAIControls } from "./ai-controls/ai-controls.mjs";
import * as ApplicationsAPI from "./applications/applications.mjs";
import { Applications, BaseApplications, } from "./applications/applications.mjs";
import * as CertificatesAPI from "./certificates/certificates.mjs";
import { BaseCertificates, Certificates, } from "./certificates/certificates.mjs";
import * as InfrastructureAPI from "./infrastructure/infrastructure.mjs";
import { BaseInfrastructure, Infrastructure } from "./infrastructure/infrastructure.mjs";
import * as LogsAPI from "./logs/logs.mjs";
import { BaseLogs, Logs } from "./logs/logs.mjs";
import * as UsersAPI from "./users/users.mjs";
import { BaseUsers, Users, } from "./users/users.mjs";
export var BaseAccess = /* @__PURE__ */ (() => {
class BaseAccess extends APIResource {
}
BaseAccess._key = Object.freeze([
'zeroTrust',
'access',
]);
return BaseAccess;
})();
export var Access = /* @__PURE__ */ (() => {
class Access extends BaseAccess {
constructor() {
super(...arguments);
this.aiControls = new AIControlsAPI.AIControls(this._client);
this.gatewayCA = new GatewayCAAPI.GatewayCA(this._client);
this.IdPFederationGrants = new IdPFederationGrantsAPI.IdPFederationGrants(this._client);
this.samlCertificates = new SAMLCertificatesAPI.SAMLCertificates(this._client);
this.infrastructure = new InfrastructureAPI.Infrastructure(this._client);
this.applications = new ApplicationsAPI.Applications(this._client);
this.certificates = new CertificatesAPI.Certificates(this._client);
this.groups = new GroupsAPI.Groups(this._client);
this.serviceTokens = new ServiceTokensAPI.ServiceTokens(this._client);
this.bookmarks = new BookmarksAPI.Bookmarks(this._client);
this.keys = new KeysAPI.Keys(this._client);
this.logs = new LogsAPI.Logs(this._client);
this.users = new UsersAPI.Users(this._client);
this.customPages = new CustomPagesAPI.CustomPages(this._client);
this.tags = new TagsAPI.Tags(this._client);
this.policies = new PoliciesAPI.Policies(this._client);
}
}
Access.AIControls = AIControls;
Access.BaseAIControls = BaseAIControls;
Access.GatewayCA = GatewayCA;
Access.BaseGatewayCA = BaseGatewayCA;
Access.IdPFederationGrants = IdPFederationGrants;
Access.BaseIdPFederationGrants = BaseIdPFederationGrants;
Access.SAMLCertificates = SAMLCertificates;
Access.BaseSAMLCertificates = BaseSAMLCertificates;
Access.Infrastructure = Infrastructure;
Access.BaseInfrastructure = BaseInfrastructure;
Access.Applications = Applications;
Access.BaseApplications = BaseApplications;
Access.Certificates = Certificates;
Access.BaseCertificates = BaseCertificates;
Access.Groups = Groups;
Access.BaseGroups = BaseGroups;
Access.ServiceTokens = ServiceTokens;
Access.BaseServiceTokens = BaseServiceTokens;
Access.Bookmarks = Bookmarks;
Access.BaseBookmarks = BaseBookmarks;
Access.Keys = Keys;
Access.BaseKeys = BaseKeys;
Access.Logs = Logs;
Access.BaseLogs = BaseLogs;
Access.Users = Users;
Access.BaseUsers = BaseUsers;
Access.CustomPages = CustomPages;
Access.BaseCustomPages = BaseCustomPages;
Access.Tags = Tags;
Access.BaseTags = BaseTags;
Access.Policies = Policies;
Access.BasePolicies = BasePolicies;
return Access;
})();
//# sourceMappingURL=access.mjs.map