UNPKG

@vercel/sdk

Version:

<p align="center"> <a href="https://vercel.com"> <img src="https://assets.vercel.com/image/upload/v1588805858/repositories/vercel/logo.png" height="96"> <h3 align="center">Vercel</h3> </a> <p align="center">Develop. Preview. Ship.</p> </p>

250 lines 9.36 kB
/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { createApiKeys } from "../funcs/createApiKeys.js"; import { createObservabilityQuery } from "../funcs/createObservabilityQuery.js"; import { createSpeedInsightsToggle } from "../funcs/createSpeedInsightsToggle.js"; import { createWebInsightsToggle } from "../funcs/createWebInsightsToggle.js"; import { getDomainsRecordsByRecordId } from "../funcs/getDomainsRecordsByRecordId.js"; import { getObservabilitySchema } from "../funcs/getObservabilitySchema.js"; import { getObservabilitySchemaByMetricId } from "../funcs/getObservabilitySchemaByMetricId.js"; import { replaceDomainsByDomainRecords } from "../funcs/replaceDomainsByDomainRecords.js"; import { ClientSDK } from "../lib/sdks.js"; import { unwrapAsync } from "../types/fp.js"; import { AccessGroups } from "./accessgroups.js"; import { AiGateway } from "./aigateway.js"; import { Aliases } from "./aliases.js"; import { ApiAiGateway } from "./apiaigateway.js"; import { Artifacts } from "./artifacts.js"; import { Authentication } from "./authentication.js"; import { Billing } from "./billing.js"; import { BulkRedirects } from "./bulkredirects.js"; import { Certs } from "./certs.js"; import { Checks } from "./checks.js"; import { ChecksV2 } from "./checksv2.js"; import { Connect } from "./connect.js"; import { Deployments } from "./deployments.js"; import { Dns } from "./dns.js"; import { Domains } from "./domains.js"; import { DomainsRegistrar } from "./domainsregistrar.js"; import { Drains } from "./drains.js"; import { EdgeCache } from "./edgecache.js"; import { Environment } from "./environment.js"; import { FeatureFlags } from "./featureflags.js"; import { GlobalConfig } from "./globalconfig.js"; import { Integrations } from "./integrations.js"; import { Kms } from "./kms.js"; import { LogDrains } from "./logdrains.js"; import { Logs } from "./logs.js"; import { Marketplace } from "./marketplace.js"; import { Microfrontends } from "./microfrontends.js"; import { Networking } from "./networking.js"; import { Observability } from "./observability.js"; import { ProjectMembers } from "./projectmembers.js"; import { ProjectRoutes } from "./projectroutes.js"; import { Projects } from "./projects.js"; import { RollingRelease } from "./rollingrelease.js"; import { Sandboxes } from "./sandboxes.js"; import { Security } from "./security.js"; import { StaticIps } from "./staticips.js"; import { Storage } from "./storage.js"; import { Teams } from "./teams.js"; import { User } from "./user.js"; import { Vcr } from "./vcr.js"; import { WebAnalytics } from "./webanalytics.js"; import { Webhooks } from "./webhooks.js"; export class Vercel extends ClientSDK { _accessGroups; get accessGroups() { return (this._accessGroups ?? (this._accessGroups = new AccessGroups(this._options))); } _apiAiGateway; get apiAiGateway() { return (this._apiAiGateway ?? (this._apiAiGateway = new ApiAiGateway(this._options))); } _aiGateway; get aiGateway() { return (this._aiGateway ?? (this._aiGateway = new AiGateway(this._options))); } _artifacts; get artifacts() { return (this._artifacts ?? (this._artifacts = new Artifacts(this._options))); } _billing; get billing() { return (this._billing ?? (this._billing = new Billing(this._options))); } _bulkRedirects; get bulkRedirects() { return (this._bulkRedirects ?? (this._bulkRedirects = new BulkRedirects(this._options))); } _checksV2; get checksV2() { return (this._checksV2 ?? (this._checksV2 = new ChecksV2(this._options))); } _checks; get checks() { return (this._checks ?? (this._checks = new Checks(this._options))); } _networking; get networking() { return (this._networking ?? (this._networking = new Networking(this._options))); } _connect; get connect() { return (this._connect ?? (this._connect = new Connect(this._options))); } _deployments; get deployments() { return (this._deployments ?? (this._deployments = new Deployments(this._options))); } _integrations; get integrations() { return (this._integrations ?? (this._integrations = new Integrations(this._options))); } _dns; get dns() { return (this._dns ?? (this._dns = new Dns(this._options))); } _domainsRegistrar; get domainsRegistrar() { return (this._domainsRegistrar ?? (this._domainsRegistrar = new DomainsRegistrar(this._options))); } _domains; get domains() { return (this._domains ?? (this._domains = new Domains(this._options))); } _logDrains; get logDrains() { return (this._logDrains ?? (this._logDrains = new LogDrains(this._options))); } _drains; get drains() { return (this._drains ?? (this._drains = new Drains(this._options))); } _edgeCache; get edgeCache() { return (this._edgeCache ?? (this._edgeCache = new EdgeCache(this._options))); } _globalConfig; get globalConfig() { return (this._globalConfig ?? (this._globalConfig = new GlobalConfig(this._options))); } _environment; get environment() { return (this._environment ?? (this._environment = new Environment(this._options))); } _user; get user() { return (this._user ?? (this._user = new User(this._options))); } _featureFlags; get featureFlags() { return (this._featureFlags ?? (this._featureFlags = new FeatureFlags(this._options))); } _marketplace; get marketplace() { return (this._marketplace ?? (this._marketplace = new Marketplace(this._options))); } _authentication; get authentication() { return (this._authentication ?? (this._authentication = new Authentication(this._options))); } _kms; get kms() { return (this._kms ?? (this._kms = new Kms(this._options))); } _logs; get logs() { return (this._logs ?? (this._logs = new Logs(this._options))); } _microfrontends; get microfrontends() { return (this._microfrontends ?? (this._microfrontends = new Microfrontends(this._options))); } _observability; get observability() { return (this._observability ?? (this._observability = new Observability(this._options))); } _projectMembers; get projectMembers() { return (this._projectMembers ?? (this._projectMembers = new ProjectMembers(this._options))); } _projectRoutes; get projectRoutes() { return (this._projectRoutes ?? (this._projectRoutes = new ProjectRoutes(this._options))); } _projects; get projects() { return (this._projects ?? (this._projects = new Projects(this._options))); } _staticIps; get staticIps() { return (this._staticIps ?? (this._staticIps = new StaticIps(this._options))); } _rollingRelease; get rollingRelease() { return (this._rollingRelease ?? (this._rollingRelease = new RollingRelease(this._options))); } _sandboxes; get sandboxes() { return (this._sandboxes ?? (this._sandboxes = new Sandboxes(this._options))); } _security; get security() { return (this._security ?? (this._security = new Security(this._options))); } _storage; get storage() { return (this._storage ?? (this._storage = new Storage(this._options))); } _teams; get teams() { return (this._teams ?? (this._teams = new Teams(this._options))); } _vcr; get vcr() { return (this._vcr ?? (this._vcr = new Vcr(this._options))); } _webAnalytics; get webAnalytics() { return (this._webAnalytics ?? (this._webAnalytics = new WebAnalytics(this._options))); } _webhooks; get webhooks() { return (this._webhooks ?? (this._webhooks = new Webhooks(this._options))); } _aliases; get aliases() { return (this._aliases ?? (this._aliases = new Aliases(this._options))); } _certs; get certs() { return (this._certs ?? (this._certs = new Certs(this._options))); } async replaceDomainsByDomainRecords(request, options) { return unwrapAsync(replaceDomainsByDomainRecords(this, request, options)); } async getDomainsRecordsByRecordId(request, options) { return unwrapAsync(getDomainsRecordsByRecordId(this, request, options)); } async createApiKeys(request, options) { return unwrapAsync(createApiKeys(this, request, options)); } async createObservabilityQuery(request, options) { return unwrapAsync(createObservabilityQuery(this, request, options)); } async getObservabilitySchema(options) { return unwrapAsync(getObservabilitySchema(this, options)); } async getObservabilitySchemaByMetricId(request, options) { return unwrapAsync(getObservabilitySchemaByMetricId(this, request, options)); } async createSpeedInsightsToggle(request, options) { return unwrapAsync(createSpeedInsightsToggle(this, request, options)); } async createWebInsightsToggle(request, options) { return unwrapAsync(createWebInsightsToggle(this, request, options)); } } //# sourceMappingURL=sdk.js.map