cloudflare
Version:
The official TypeScript library for the Cloudflare API
41 lines • 2.28 kB
JavaScript
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import { APIResource } from 'cloudflare/resource';
import * as AccountSettingsAPI from 'cloudflare/resources/workers/account-settings';
import * as AIAPI from 'cloudflare/resources/workers/ai';
import * as DomainsAPI from 'cloudflare/resources/workers/domains';
import * as FiltersAPI from 'cloudflare/resources/workers/filters';
import * as RoutesAPI from 'cloudflare/resources/workers/routes';
import * as SubdomainsAPI from 'cloudflare/resources/workers/subdomains';
import * as DeploymentsAPI from 'cloudflare/resources/workers/deployments/deployments';
import * as ScriptsAPI from 'cloudflare/resources/workers/scripts/scripts';
import * as ServicesAPI from 'cloudflare/resources/workers/services/services';
export class Workers extends APIResource {
constructor() {
super(...arguments);
this.ai = new AIAPI.AI(this._client);
this.scripts = new ScriptsAPI.Scripts(this._client);
this.filters = new FiltersAPI.Filters(this._client);
this.routes = new RoutesAPI.Routes(this._client);
this.accountSettings = new AccountSettingsAPI.AccountSettings(this._client);
this.deployments = new DeploymentsAPI.Deployments(this._client);
this.domains = new DomainsAPI.Domains(this._client);
this.subdomains = new SubdomainsAPI.Subdomains(this._client);
this.services = new ServicesAPI.Services(this._client);
}
}
(function (Workers) {
Workers.AI = AIAPI.AI;
Workers.Scripts = ScriptsAPI.Scripts;
Workers.WorkersScriptsSinglePage = ScriptsAPI.WorkersScriptsSinglePage;
Workers.Filters = FiltersAPI.Filters;
Workers.WorkersFiltersSinglePage = FiltersAPI.WorkersFiltersSinglePage;
Workers.Routes = RoutesAPI.Routes;
Workers.WorkersRoutesSinglePage = RoutesAPI.WorkersRoutesSinglePage;
Workers.AccountSettings = AccountSettingsAPI.AccountSettings;
Workers.Deployments = DeploymentsAPI.Deployments;
Workers.Domains = DomainsAPI.Domains;
Workers.WorkersDomainsSinglePage = DomainsAPI.WorkersDomainsSinglePage;
Workers.Subdomains = SubdomainsAPI.Subdomains;
Workers.Services = ServicesAPI.Services;
})(Workers || (Workers = {}));
//# sourceMappingURL=workers.mjs.map