From f7603782b490a446c65b1b07095ba4473821216d Mon Sep 17 00:00:00 2001 From: Alexis Rico Date: Wed, 27 Aug 2025 23:05:23 +0200 Subject: [PATCH 1/3] Fix build Signed-off-by: Alexis Rico --- packages/openapi-utils/src/kubb/client/extra.tsx | 1 + packages/openapi-utils/src/kubb/client/operations.tsx | 1 + packages/openapi-utils/src/kubb/components/client-operation.tsx | 1 + packages/openapi-utils/src/kubb/mcp/server.tsx | 1 + packages/openapi-utils/src/kubb/mcp/tools.tsx | 1 + 5 files changed, 5 insertions(+) diff --git a/packages/openapi-utils/src/kubb/client/extra.tsx b/packages/openapi-utils/src/kubb/client/extra.tsx index ff61f77a0..29786c716 100644 --- a/packages/openapi-utils/src/kubb/client/extra.tsx +++ b/packages/openapi-utils/src/kubb/client/extra.tsx @@ -1,3 +1,4 @@ +import React from 'react'; import type { PluginClient } from '@kubb/plugin-client'; import { createReactGenerator } from '@kubb/plugin-oas'; import { useOas, useOperationManager } from '@kubb/plugin-oas/hooks'; diff --git a/packages/openapi-utils/src/kubb/client/operations.tsx b/packages/openapi-utils/src/kubb/client/operations.tsx index 8e0df2b82..7bb618a79 100644 --- a/packages/openapi-utils/src/kubb/client/operations.tsx +++ b/packages/openapi-utils/src/kubb/client/operations.tsx @@ -1,3 +1,4 @@ +import React from 'react'; import type { PluginClient } from '@kubb/plugin-client'; import { createReactGenerator } from '@kubb/plugin-oas'; import { useOas, useOperationManager } from '@kubb/plugin-oas/hooks'; diff --git a/packages/openapi-utils/src/kubb/components/client-operation.tsx b/packages/openapi-utils/src/kubb/components/client-operation.tsx index 79948448d..a51bb25ed 100644 --- a/packages/openapi-utils/src/kubb/components/client-operation.tsx +++ b/packages/openapi-utils/src/kubb/components/client-operation.tsx @@ -1,3 +1,4 @@ +import React from 'react'; import { URLPath } from '@kubb/core/utils'; import { isOptional, type Operation } from '@kubb/oas'; import type { PluginClient } from '@kubb/plugin-client'; diff --git a/packages/openapi-utils/src/kubb/mcp/server.tsx b/packages/openapi-utils/src/kubb/mcp/server.tsx index 0abb29a34..c6e7d5447 100644 --- a/packages/openapi-utils/src/kubb/mcp/server.tsx +++ b/packages/openapi-utils/src/kubb/mcp/server.tsx @@ -1,3 +1,4 @@ +import React from 'react'; import { camelCase } from '@kubb/core/transformers'; import { isNullable, isReference } from '@kubb/oas'; import type { PluginMcp } from '@kubb/plugin-mcp'; diff --git a/packages/openapi-utils/src/kubb/mcp/tools.tsx b/packages/openapi-utils/src/kubb/mcp/tools.tsx index 646b1e709..24623f4c2 100644 --- a/packages/openapi-utils/src/kubb/mcp/tools.tsx +++ b/packages/openapi-utils/src/kubb/mcp/tools.tsx @@ -1,3 +1,4 @@ +import React from 'react'; import type { PluginMcp } from '@kubb/plugin-mcp'; import { createReactGenerator } from '@kubb/plugin-oas'; import { useOas, useOperationManager } from '@kubb/plugin-oas/hooks'; From 3214e21eba0018deda2cb70b6ec4945101d99838 Mon Sep 17 00:00:00 2001 From: Alexis Rico Date: Wed, 27 Aug 2025 23:24:10 +0200 Subject: [PATCH 2/3] Update vercel Signed-off-by: Alexis Rico --- .changeset/clean-numbers-see.md | 5 + packages/openapi-utils/package.json | 8 +- .../vercel-api-js/src/generated/components.ts | 5778 +++++---- packages/vercel-api-js/src/generated/mcp.ts | 8349 ++++++------- .../vercel-api-js/src/generated/schemas.ts | 5470 ++++----- packages/vercel-api-js/src/generated/types.ts | 10056 ++++++++-------- 6 files changed, 14334 insertions(+), 15332 deletions(-) create mode 100644 .changeset/clean-numbers-see.md diff --git a/.changeset/clean-numbers-see.md b/.changeset/clean-numbers-see.md new file mode 100644 index 000000000..545d943da --- /dev/null +++ b/.changeset/clean-numbers-see.md @@ -0,0 +1,5 @@ +--- +"vercel-api-js": patch +--- + +Update spec diff --git a/packages/openapi-utils/package.json b/packages/openapi-utils/package.json index 33acf0995..8269d12e2 100644 --- a/packages/openapi-utils/package.json +++ b/packages/openapi-utils/package.json @@ -26,13 +26,13 @@ "@kubb/plugin-ts": "^3.18.2", "@kubb/plugin-zod": "^3.18.2", "@kubb/react": "^3.18.2", - "case": "^1.6.3" + "case": "^1.6.3", + "react": "^19.1.1", + "react-dom": "^19.1.1" }, "devDependencies": { "@types/react": "^19.1.12", - "@types/react-dom": "^19.1.8", - "react": "^19.1.1", - "react-dom": "^19.1.1" + "@types/react-dom": "^19.1.8" }, "files": ["dist"], "main": "dist/index.cjs", diff --git a/packages/vercel-api-js/src/generated/components.ts b/packages/vercel-api-js/src/generated/components.ts index 643fbae7c..1c3e244ed 100644 --- a/packages/vercel-api-js/src/generated/components.ts +++ b/packages/vercel-api-js/src/generated/components.ts @@ -3,166 +3,277 @@ * Do not edit manually. */ -import type { ErrorWrapper, FetcherConfig } from '../utils/fetcher'; -import client from '../utils/fetcher'; +import client from '../utils/fetcher' +import type { FetcherConfig, ErrorWrapper } from '../utils/fetcher' import type { - AcceptProjectTransferRequest400, - AcceptProjectTransferRequest401, - AcceptProjectTransferRequest403, - AcceptProjectTransferRequest404, - AcceptProjectTransferRequest422, - AcceptProjectTransferRequestMutationResponse, - AcceptProjectTransferRequestPathParams, - AcceptProjectTransferRequestQueryParams, - AddBypassIp400, - AddBypassIp401, - AddBypassIp403, - AddBypassIp404, - AddBypassIp500, - AddBypassIpMutationResponse, - AddBypassIpQueryParams, - AddProjectDomain400, - AddProjectDomain401, - AddProjectDomain402, - AddProjectDomain403, - AddProjectDomain409, - AddProjectDomainMutationResponse, - AddProjectDomainPathParams, - AddProjectDomainQueryParams, - AddProjectMember400, - AddProjectMember401, - AddProjectMember403, - AddProjectMember500, - AddProjectMemberMutationResponse, - AddProjectMemberPathParams, - AddProjectMemberQueryParams, - ApproveRollingReleaseStage400, - ApproveRollingReleaseStage401, - ApproveRollingReleaseStage403, - ApproveRollingReleaseStage404, - ApproveRollingReleaseStage500, - ApproveRollingReleaseStageMutationResponse, - ApproveRollingReleaseStagePathParams, - ApproveRollingReleaseStageQueryParams, + ReadAccessGroupQueryResponse, + ReadAccessGroupPathParams, + ReadAccessGroupQueryParams, + ReadAccessGroup400, + ReadAccessGroup401, + ReadAccessGroup403, + UpdateAccessGroupMutationResponse, + UpdateAccessGroupPathParams, + UpdateAccessGroupQueryParams, + UpdateAccessGroup400, + UpdateAccessGroup401, + UpdateAccessGroup403, + DeleteAccessGroupMutationResponse, + DeleteAccessGroupPathParams, + DeleteAccessGroupQueryParams, + DeleteAccessGroup400, + DeleteAccessGroup401, + DeleteAccessGroup403, + ListAccessGroupMembersQueryResponse, + ListAccessGroupMembersPathParams, + ListAccessGroupMembersQueryParams, + ListAccessGroupMembers400, + ListAccessGroupMembers401, + ListAccessGroupMembers403, + ListAccessGroupsQueryResponse, + ListAccessGroupsQueryParams, + ListAccessGroups400, + ListAccessGroups401, + ListAccessGroups403, + CreateAccessGroupMutationResponse, + CreateAccessGroupQueryParams, + CreateAccessGroup400, + CreateAccessGroup401, + CreateAccessGroup403, + ListAccessGroupProjectsQueryResponse, + ListAccessGroupProjectsPathParams, + ListAccessGroupProjectsQueryParams, + ListAccessGroupProjects400, + ListAccessGroupProjects401, + ListAccessGroupProjects403, + CreateAccessGroupProjectMutationResponse, + CreateAccessGroupProjectPathParams, + CreateAccessGroupProjectQueryParams, + CreateAccessGroupProject400, + CreateAccessGroupProject401, + CreateAccessGroupProject403, + ReadAccessGroupProjectQueryResponse, + ReadAccessGroupProjectPathParams, + ReadAccessGroupProjectQueryParams, + ReadAccessGroupProject400, + ReadAccessGroupProject401, + ReadAccessGroupProject403, + UpdateAccessGroupProjectMutationResponse, + UpdateAccessGroupProjectPathParams, + UpdateAccessGroupProjectQueryParams, + UpdateAccessGroupProject400, + UpdateAccessGroupProject401, + UpdateAccessGroupProject403, + DeleteAccessGroupProjectMutationResponse, + DeleteAccessGroupProjectPathParams, + DeleteAccessGroupProjectQueryParams, + DeleteAccessGroupProject400, + DeleteAccessGroupProject401, + DeleteAccessGroupProject403, + RecordEventsMutationResponse, + RecordEventsQueryParams, + RecordEventsHeaderParams, + RecordEvents400, + RecordEvents401, + RecordEvents402, + RecordEvents403, + StatusQueryResponse, + StatusQueryParams, + Status400, + Status401, + Status402, + Status403, + UploadArtifactMutationResponse, + UploadArtifactPathParams, + UploadArtifactQueryParams, + UploadArtifactHeaderParams, + UploadArtifact400, + UploadArtifact401, + UploadArtifact402, + UploadArtifact403, + DownloadArtifactQueryResponse, + DownloadArtifactPathParams, + DownloadArtifactQueryParams, + DownloadArtifactHeaderParams, + DownloadArtifact400, + DownloadArtifact401, + DownloadArtifact402, + DownloadArtifact403, + DownloadArtifact404, + ArtifactQueryMutationResponse, + ArtifactQueryQueryParams, ArtifactQuery400, ArtifactQuery401, ArtifactQuery402, ArtifactQuery403, - ArtifactQueryMutationResponse, - ArtifactQueryQueryParams, - AssignAlias400, - AssignAlias401, - AssignAlias402, - AssignAlias403, - AssignAlias404, - AssignAlias409, - AssignAliasMutationResponse, - AssignAliasPathParams, - AssignAliasQueryParams, + CreateCheckMutationResponse, + CreateCheckPathParams, + CreateCheckQueryParams, + CreateCheck400, + CreateCheck401, + CreateCheck403, + CreateCheck404, + GetAllChecksQueryResponse, + GetAllChecksPathParams, + GetAllChecksQueryParams, + GetAllChecks400, + GetAllChecks401, + GetAllChecks403, + GetAllChecks404, + GetCheckQueryResponse, + GetCheckPathParams, + GetCheckQueryParams, + GetCheck400, + GetCheck401, + GetCheck403, + GetCheck404, + UpdateCheckMutationResponse, + UpdateCheckPathParams, + UpdateCheckQueryParams, + UpdateCheck400, + UpdateCheck401, + UpdateCheck403, + UpdateCheck404, + UpdateCheck413, + RerequestCheckMutationResponse, + RerequestCheckPathParams, + RerequestCheckQueryParams, + RerequestCheck400, + RerequestCheck401, + RerequestCheck403, + RerequestCheck404, + PurgeAllDataCacheMutationResponse, + PurgeAllDataCacheQueryParams, + PurgeAllDataCache400, + PurgeAllDataCache401, + PurgeAllDataCache403, + PurgeAllDataCache404, + UpdateDataCacheBillingSettingsMutationResponse, + UpdateDataCacheBillingSettings400, + UpdateDataCacheBillingSettings401, + UpdateDataCacheBillingSettings403, + UpdateDataCacheBillingSettings404, + UpdateProjectDataCacheMutationResponse, + UpdateProjectDataCachePathParams, + UpdateProjectDataCacheQueryParams, + UpdateProjectDataCache400, + UpdateProjectDataCache401, + UpdateProjectDataCache403, + UpdateProjectDataCache404, + GetDeploymentEventsQueryResponse, + GetDeploymentEventsPathParams, + GetDeploymentEventsQueryParams, + GetDeploymentEvents400, + GetDeploymentEvents401, + GetDeploymentEvents403, + GetDeploymentEvents500, + UpdateIntegrationDeploymentActionMutationResponse, + UpdateIntegrationDeploymentActionPathParams, + UpdateIntegrationDeploymentAction400, + UpdateIntegrationDeploymentAction401, + UpdateIntegrationDeploymentAction403, + GetDeploymentQueryResponse, + GetDeploymentPathParams, + GetDeploymentQueryParams, + GetDeployment400, + GetDeployment403, + GetDeployment404, + CreateDeploymentMutationResponse, + CreateDeploymentQueryParams, + CreateDeployment400, + CreateDeployment401, + CreateDeployment402, + CreateDeployment403, + CreateDeployment404, + CreateDeployment409, + CreateDeployment500, + CancelDeploymentMutationResponse, + CancelDeploymentPathParams, + CancelDeploymentQueryParams, + CancelDeployment400, + CancelDeployment401, + CancelDeployment403, + CancelDeployment404, + BuyDomainMutationResponse, + BuyDomainQueryParams, BuyDomain400, BuyDomain401, BuyDomain403, BuyDomain409, BuyDomain429, - BuyDomainMutationResponse, - BuyDomainQueryParams, - CancelDeployment400, - CancelDeployment401, - CancelDeployment403, - CancelDeployment404, - CancelDeploymentMutationResponse, - CancelDeploymentPathParams, - CancelDeploymentQueryParams, + BuyDomain500, + CheckDomainPriceQueryResponse, + CheckDomainPriceQueryParams, CheckDomainPrice400, CheckDomainPrice401, CheckDomainPrice403, - CheckDomainPriceQueryParams, - CheckDomainPriceQueryResponse, + CheckDomainPrice500, + CheckDomainStatusQueryResponse, + CheckDomainStatusQueryParams, CheckDomainStatus400, CheckDomainStatus401, CheckDomainStatus403, CheckDomainStatus408, CheckDomainStatus500, - CheckDomainStatusQueryParams, - CheckDomainStatusQueryResponse, - CompleteRollingRelease400, - CompleteRollingRelease401, - CompleteRollingRelease403, - CompleteRollingRelease404, - CompleteRollingReleaseMutationResponse, - CompleteRollingReleasePathParams, - CompleteRollingReleaseQueryParams, - CreateAccessGroup400, - CreateAccessGroup401, - CreateAccessGroup403, - CreateAccessGroupMutationResponse, - CreateAccessGroupProject400, - CreateAccessGroupProject401, - CreateAccessGroupProject403, - CreateAccessGroupProjectMutationResponse, - CreateAccessGroupProjectPathParams, - CreateAccessGroupProjectQueryParams, - CreateAccessGroupQueryParams, - CreateAuthToken400, - CreateAuthToken401, - CreateAuthToken403, - CreateAuthTokenMutationResponse, - CreateAuthTokenQueryParams, - CreateCheck400, - CreateCheck401, - CreateCheck403, - CreateCheck404, - CreateCheckMutationResponse, - CreateCheckPathParams, - CreateCheckQueryParams, - CreateCustomEnvironment400, - CreateCustomEnvironment401, - CreateCustomEnvironment402, - CreateCustomEnvironment403, - CreateCustomEnvironment500, - CreateCustomEnvironmentMutationResponse, - CreateCustomEnvironmentPathParams, - CreateCustomEnvironmentQueryParams, - CreateDeployment400, - CreateDeployment401, - CreateDeployment402, - CreateDeployment403, - CreateDeployment404, - CreateDeployment409, - CreateDeployment500, - CreateDeploymentMutationResponse, - CreateDeploymentQueryParams, - CreateEdgeConfig400, - CreateEdgeConfig401, - CreateEdgeConfig402, - CreateEdgeConfig403, - CreateEdgeConfigMutationResponse, - CreateEdgeConfigQueryParams, - CreateEdgeConfigToken400, - CreateEdgeConfigToken401, - CreateEdgeConfigToken402, - CreateEdgeConfigToken403, - CreateEdgeConfigToken404, - CreateEdgeConfigTokenMutationResponse, - CreateEdgeConfigTokenPathParams, - CreateEdgeConfigTokenQueryParams, - CreateEvent400, - CreateEvent401, - CreateEvent403, - CreateEvent404, - CreateEventMutationResponse, - CreateEventPathParams, - CreateExperimentationItem400, - CreateExperimentationItem401, - CreateExperimentationItem403, - CreateExperimentationItem404, - CreateExperimentationItemMutationResponse, - CreateExperimentationItemPathParams, - CreateLogDrain400, - CreateLogDrain401, - CreateLogDrain403, - CreateLogDrainMutationResponse, - CreateLogDrainQueryParams, + GetRecordsQueryResponse, + GetRecordsPathParams, + GetRecordsQueryParams, + GetRecords400, + GetRecords401, + GetRecords403, + GetRecords404, + CreateRecordMutationResponse, + CreateRecordPathParams, + CreateRecordQueryParams, + CreateRecord400, + CreateRecord401, + CreateRecord402, + CreateRecord403, + CreateRecord404, + CreateRecord409, + UpdateRecordMutationResponse, + UpdateRecordPathParams, + UpdateRecordQueryParams, + UpdateRecord400, + UpdateRecord401, + UpdateRecord402, + UpdateRecord403, + UpdateRecord404, + UpdateRecord409, + RemoveRecordMutationResponse, + RemoveRecordPathParams, + RemoveRecordQueryParams, + RemoveRecord400, + RemoveRecord401, + RemoveRecord403, + RemoveRecord404, + GetDomainTransferQueryResponse, + GetDomainTransferPathParams, + GetDomainTransferQueryParams, + GetDomainTransfer400, + GetDomainTransfer401, + GetDomainTransfer403, + GetDomainConfigQueryResponse, + GetDomainConfigPathParams, + GetDomainConfigQueryParams, + GetDomainConfig400, + GetDomainConfig401, + GetDomainConfig403, + GetDomainQueryResponse, + GetDomainPathParams, + GetDomainQueryParams, + GetDomain400, + GetDomain401, + GetDomain403, + GetDomain404, + GetDomainsQueryResponse, + GetDomainsQueryParams, + GetDomains400, + GetDomains401, + GetDomains403, + GetDomains409, + CreateOrTransferDomainMutationResponse, + CreateOrTransferDomainQueryParams, CreateOrTransferDomain400, CreateOrTransferDomain401, CreateOrTransferDomain402, @@ -170,1036 +281,954 @@ import type { CreateOrTransferDomain404, CreateOrTransferDomain409, CreateOrTransferDomain500, - CreateOrTransferDomainMutationResponse, - CreateOrTransferDomainQueryParams, - CreateProject400, - CreateProject401, - CreateProject402, - CreateProject403, - CreateProject409, - CreateProjectEnv400, - CreateProjectEnv401, - CreateProjectEnv402, - CreateProjectEnv403, - CreateProjectEnv409, - CreateProjectEnvMutationResponse, - CreateProjectEnvPathParams, - CreateProjectEnvQueryParams, - CreateProjectMutationResponse, - CreateProjectQueryParams, - CreateProjectTransferRequest400, - CreateProjectTransferRequest401, - CreateProjectTransferRequest403, - CreateProjectTransferRequestMutationResponse, - CreateProjectTransferRequestPathParams, - CreateProjectTransferRequestQueryParams, - CreateRecord400, - CreateRecord401, - CreateRecord402, - CreateRecord403, - CreateRecord404, - CreateRecord409, - CreateRecordMutationResponse, - CreateRecordPathParams, - CreateRecordQueryParams, - CreateSecret400, - CreateSecret401, - CreateSecret402, - CreateSecret403, - CreateSecret410, - CreateSecretMutationResponse, - CreateSecretPathParams, - CreateSecretQueryParams, - CreateTeam400, - CreateTeam401, - CreateTeam403, - CreateTeamMutationResponse, - CreateWebhook400, - CreateWebhook401, - CreateWebhook403, - CreateWebhookMutationResponse, - CreateWebhookQueryParams, - DeleteAccessGroup400, - DeleteAccessGroup401, - DeleteAccessGroup403, - DeleteAccessGroupMutationResponse, - DeleteAccessGroupPathParams, - DeleteAccessGroupProject400, - DeleteAccessGroupProject401, - DeleteAccessGroupProject403, - DeleteAccessGroupProjectMutationResponse, - DeleteAccessGroupProjectPathParams, - DeleteAccessGroupProjectQueryParams, - DeleteAccessGroupQueryParams, - DeleteAlias400, - DeleteAlias401, - DeleteAlias403, - DeleteAlias404, - DeleteAliasMutationResponse, - DeleteAliasPathParams, - DeleteAliasQueryParams, - DeleteAuthToken400, - DeleteAuthToken401, - DeleteAuthToken403, - DeleteAuthToken404, - DeleteAuthTokenMutationResponse, - DeleteAuthTokenPathParams, - DeleteConfiguration400, - DeleteConfiguration401, - DeleteConfiguration403, - DeleteConfiguration404, - DeleteConfigurationMutationResponse, - DeleteConfigurationPathParams, - DeleteConfigurationQueryParams, - DeleteDeployment400, - DeleteDeployment401, - DeleteDeployment403, - DeleteDeployment404, - DeleteDeploymentMutationResponse, - DeleteDeploymentPathParams, - DeleteDeploymentQueryParams, + PatchDomainMutationResponse, + PatchDomainPathParams, + PatchDomainQueryParams, + PatchDomain400, + PatchDomain401, + PatchDomain403, + PatchDomain404, + PatchDomain409, + PatchDomain500, + DeleteDomainMutationResponse, + DeleteDomainPathParams, + DeleteDomainQueryParams, DeleteDomain400, DeleteDomain401, DeleteDomain403, DeleteDomain404, DeleteDomain409, - DeleteDomainMutationResponse, - DeleteDomainPathParams, - DeleteDomainQueryParams, - DeleteEdgeConfig400, - DeleteEdgeConfig401, - DeleteEdgeConfig403, - DeleteEdgeConfig404, - DeleteEdgeConfigMutationResponse, - DeleteEdgeConfigPathParams, - DeleteEdgeConfigQueryParams, - DeleteEdgeConfigSchema400, - DeleteEdgeConfigSchema401, - DeleteEdgeConfigSchema402, - DeleteEdgeConfigSchema403, - DeleteEdgeConfigSchema404, - DeleteEdgeConfigSchemaMutationResponse, - DeleteEdgeConfigSchemaPathParams, - DeleteEdgeConfigSchemaQueryParams, - DeleteEdgeConfigTokens400, - DeleteEdgeConfigTokens401, - DeleteEdgeConfigTokens402, - DeleteEdgeConfigTokens403, - DeleteEdgeConfigTokens404, - DeleteEdgeConfigTokensMutationResponse, + GetEdgeConfigsQueryResponse, + GetEdgeConfigsQueryParams, + GetEdgeConfigs400, + GetEdgeConfigs401, + GetEdgeConfigs403, + CreateEdgeConfigMutationResponse, + CreateEdgeConfigQueryParams, + CreateEdgeConfig400, + CreateEdgeConfig401, + CreateEdgeConfig402, + CreateEdgeConfig403, + GetEdgeConfigQueryResponse, + GetEdgeConfigPathParams, + GetEdgeConfigQueryParams, + GetEdgeConfig400, + GetEdgeConfig401, + GetEdgeConfig403, + GetEdgeConfig404, + UpdateEdgeConfigMutationResponse, + UpdateEdgeConfigPathParams, + UpdateEdgeConfigQueryParams, + UpdateEdgeConfig400, + UpdateEdgeConfig401, + UpdateEdgeConfig402, + UpdateEdgeConfig403, + UpdateEdgeConfig404, + DeleteEdgeConfigMutationResponse, + DeleteEdgeConfigPathParams, + DeleteEdgeConfigQueryParams, + DeleteEdgeConfig400, + DeleteEdgeConfig401, + DeleteEdgeConfig403, + DeleteEdgeConfig404, + GetEdgeConfigItemsQueryResponse, + GetEdgeConfigItemsPathParams, + GetEdgeConfigItemsQueryParams, + GetEdgeConfigItems400, + GetEdgeConfigItems401, + GetEdgeConfigItems403, + GetEdgeConfigItems404, + PatchEdgeConfigItemsMutationResponse, + PatchEdgeConfigItemsPathParams, + PatchEdgeConfigItemsQueryParams, + PatchEdgeConfigItems400, + PatchEdgeConfigItems401, + PatchEdgeConfigItems402, + PatchEdgeConfigItems403, + PatchEdgeConfigItems404, + PatchEdgeConfigItems409, + PatchEdgeConfigItems412, + GetEdgeConfigSchemaQueryResponse, + GetEdgeConfigSchemaPathParams, + GetEdgeConfigSchemaQueryParams, + GetEdgeConfigSchema400, + GetEdgeConfigSchema401, + GetEdgeConfigSchema403, + GetEdgeConfigSchema404, + PatchEdgeConfigSchemaMutationResponse, + PatchEdgeConfigSchemaPathParams, + PatchEdgeConfigSchemaQueryParams, + PatchEdgeConfigSchema400, + PatchEdgeConfigSchema401, + PatchEdgeConfigSchema402, + PatchEdgeConfigSchema403, + PatchEdgeConfigSchema404, + DeleteEdgeConfigSchemaMutationResponse, + DeleteEdgeConfigSchemaPathParams, + DeleteEdgeConfigSchemaQueryParams, + DeleteEdgeConfigSchema400, + DeleteEdgeConfigSchema401, + DeleteEdgeConfigSchema402, + DeleteEdgeConfigSchema403, + DeleteEdgeConfigSchema404, + GetEdgeConfigItemQueryResponse, + GetEdgeConfigItemPathParams, + GetEdgeConfigItemQueryParams, + GetEdgeConfigItem400, + GetEdgeConfigItem401, + GetEdgeConfigItem403, + GetEdgeConfigItem404, + GetEdgeConfigTokensQueryResponse, + GetEdgeConfigTokensPathParams, + GetEdgeConfigTokensQueryParams, + GetEdgeConfigTokens400, + GetEdgeConfigTokens401, + GetEdgeConfigTokens403, + GetEdgeConfigTokens404, + DeleteEdgeConfigTokensMutationResponse, DeleteEdgeConfigTokensPathParams, DeleteEdgeConfigTokensQueryParams, - DeleteExperimentationItem400, - DeleteExperimentationItem401, - DeleteExperimentationItem403, - DeleteExperimentationItem404, - DeleteExperimentationItemMutationResponse, - DeleteExperimentationItemPathParams, - DeleteIntegrationLogDrain400, - DeleteIntegrationLogDrain401, - DeleteIntegrationLogDrain403, - DeleteIntegrationLogDrain404, - DeleteIntegrationLogDrainMutationResponse, - DeleteIntegrationLogDrainPathParams, - DeleteIntegrationLogDrainQueryParams, - DeleteIntegrationResource400, - DeleteIntegrationResource401, - DeleteIntegrationResource403, - DeleteIntegrationResource404, - DeleteIntegrationResourceMutationResponse, - DeleteIntegrationResourcePathParams, - DeleteProject400, - DeleteProject401, - DeleteProject403, - DeleteProject409, - DeleteProjectMutationResponse, - DeleteProjectPathParams, - DeleteProjectQueryParams, - DeleteRollingReleaseConfig400, - DeleteRollingReleaseConfig401, - DeleteRollingReleaseConfig403, - DeleteRollingReleaseConfig404, - DeleteRollingReleaseConfigMutationResponse, - DeleteRollingReleaseConfigPathParams, - DeleteRollingReleaseConfigQueryParams, - DeleteSecret400, - DeleteSecret401, - DeleteSecret403, - DeleteSecret410, - DeleteSecretMutationResponse, - DeleteSecretPathParams, - DeleteSecretQueryParams, - DeleteTeam400, - DeleteTeam401, - DeleteTeam402, - DeleteTeam403, - DeleteTeam409, - DeleteTeamInviteCode400, - DeleteTeamInviteCode401, - DeleteTeamInviteCode403, - DeleteTeamInviteCode404, - DeleteTeamInviteCodeMutationResponse, - DeleteTeamInviteCodePathParams, - DeleteTeamMutationResponse, - DeleteTeamPathParams, - DeleteTeamQueryParams, - DeleteWebhook400, - DeleteWebhook401, - DeleteWebhook403, - DeleteWebhookMutationResponse, - DeleteWebhookPathParams, - DeleteWebhookQueryParams, - DownloadArtifact400, - DownloadArtifact401, - DownloadArtifact402, - DownloadArtifact403, - DownloadArtifact404, - DownloadArtifactHeaderParams, - DownloadArtifactPathParams, - DownloadArtifactQueryParams, - DownloadArtifactQueryResponse, - EditProjectEnv400, - EditProjectEnv401, - EditProjectEnv403, - EditProjectEnv409, - EditProjectEnvMutationResponse, - EditProjectEnvPathParams, - EditProjectEnvQueryParams, - ExchangeSsoToken400, - ExchangeSsoToken404, - ExchangeSsoToken500, - ExchangeSsoTokenMutationResponse, - FilterProjectEnvs400, - FilterProjectEnvs401, - FilterProjectEnvs403, - FilterProjectEnvsPathParams, - FilterProjectEnvsQueryParams, - FilterProjectEnvsQueryResponse, + DeleteEdgeConfigTokens400, + DeleteEdgeConfigTokens401, + DeleteEdgeConfigTokens402, + DeleteEdgeConfigTokens403, + DeleteEdgeConfigTokens404, + GetEdgeConfigTokenQueryResponse, + GetEdgeConfigTokenPathParams, + GetEdgeConfigTokenQueryParams, + GetEdgeConfigToken400, + GetEdgeConfigToken401, + GetEdgeConfigToken403, + GetEdgeConfigToken404, + CreateEdgeConfigTokenMutationResponse, + CreateEdgeConfigTokenPathParams, + CreateEdgeConfigTokenQueryParams, + CreateEdgeConfigToken400, + CreateEdgeConfigToken401, + CreateEdgeConfigToken402, + CreateEdgeConfigToken403, + CreateEdgeConfigToken404, + GetEdgeConfigBackupQueryResponse, + GetEdgeConfigBackupPathParams, + GetEdgeConfigBackupQueryParams, + GetEdgeConfigBackup400, + GetEdgeConfigBackup401, + GetEdgeConfigBackup403, + GetEdgeConfigBackup404, + GetEdgeConfigBackupsQueryResponse, + GetEdgeConfigBackupsPathParams, + GetEdgeConfigBackupsQueryParams, + GetEdgeConfigBackups400, + GetEdgeConfigBackups401, + GetEdgeConfigBackups403, + GetEdgeConfigBackups404, + ListUserEventsQueryResponse, + ListUserEventsQueryParams, + ListUserEvents400, + ListUserEvents401, + ListUserEvents403, + GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansQueryResponse, + GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansPathParams, + GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansQueryParams, + GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans400, + GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans401, + GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans403, + GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans404, + GetAccountInfoQueryResponse, + GetAccountInfoPathParams, GetAccountInfo400, GetAccountInfo401, GetAccountInfo403, GetAccountInfo404, - GetAccountInfoPathParams, - GetAccountInfoQueryResponse, - GetActiveAttackStatus400, - GetActiveAttackStatus401, - GetActiveAttackStatus403, - GetActiveAttackStatus404, - GetActiveAttackStatusQueryParams, - GetActiveAttackStatusQueryResponse, - GetAlias400, - GetAlias401, - GetAlias403, - GetAlias404, - GetAliasPathParams, - GetAliasQueryParams, - GetAliasQueryResponse, - GetAllChecks400, - GetAllChecks401, - GetAllChecks403, - GetAllChecks404, - GetAllChecksPathParams, - GetAllChecksQueryParams, - GetAllChecksQueryResponse, - GetAuthToken400, - GetAuthToken401, - GetAuthToken403, - GetAuthToken404, - GetAuthTokenPathParams, - GetAuthTokenQueryResponse, - GetAuthUser400, - GetAuthUser401, - GetAuthUser403, - GetAuthUser409, - GetAuthUserQueryResponse, - GetBypassIp400, - GetBypassIp401, - GetBypassIp403, - GetBypassIp404, - GetBypassIp500, - GetBypassIpQueryParams, - GetBypassIpQueryResponse, - GetCertById400, - GetCertById401, - GetCertById403, - GetCertById404, - GetCertByIdPathParams, - GetCertByIdQueryParams, - GetCertByIdQueryResponse, - GetCheck400, - GetCheck401, - GetCheck403, - GetCheck404, - GetCheckPathParams, - GetCheckQueryParams, - GetCheckQueryResponse, - GetConfiguration400, - GetConfiguration401, - GetConfiguration403, - GetConfiguration404, - GetConfigurationPathParams, - GetConfigurationQueryParams, - GetConfigurationQueryResponse, - GetConfigurations400, - GetConfigurations401, - GetConfigurations403, - GetConfigurationsQueryParams, - GetConfigurationsQueryResponse, - GetCustomEnvironment400, - GetCustomEnvironment401, - GetCustomEnvironment403, - GetCustomEnvironment404, - GetCustomEnvironmentPathParams, - GetCustomEnvironmentQueryParams, - GetCustomEnvironmentQueryResponse, - GetDeployment400, - GetDeployment403, - GetDeployment404, - GetDeploymentEvents400, - GetDeploymentEvents401, - GetDeploymentEvents403, - GetDeploymentEvents500, - GetDeploymentEventsPathParams, - GetDeploymentEventsQueryParams, - GetDeploymentEventsQueryResponse, - GetDeploymentFileContents400, - GetDeploymentFileContents401, - GetDeploymentFileContents403, - GetDeploymentFileContents404, - GetDeploymentFileContents410, - GetDeploymentFileContentsPathParams, - GetDeploymentFileContentsQueryParams, - GetDeploymentFileContentsQueryResponse, - GetDeploymentPathParams, - GetDeploymentQueryParams, - GetDeploymentQueryResponse, - GetDeployments400, - GetDeployments401, - GetDeployments403, - GetDeployments404, - GetDeployments422, - GetDeploymentsQueryParams, - GetDeploymentsQueryResponse, - GetDomain400, - GetDomain401, - GetDomain403, - GetDomain404, - GetDomainConfig400, - GetDomainConfig401, - GetDomainConfig403, - GetDomainConfig500, - GetDomainConfigPathParams, - GetDomainConfigQueryParams, - GetDomainConfigQueryResponse, - GetDomainPathParams, - GetDomainQueryParams, - GetDomainQueryResponse, - GetDomains400, - GetDomains401, - GetDomains403, - GetDomains409, - GetDomainsQueryParams, - GetDomainsQueryResponse, - GetDomainTransfer400, - GetDomainTransfer401, - GetDomainTransfer403, - GetDomainTransferPathParams, - GetDomainTransferQueryParams, - GetDomainTransferQueryResponse, - GetEdgeConfig400, - GetEdgeConfig401, - GetEdgeConfig403, - GetEdgeConfig404, - GetEdgeConfigBackup400, - GetEdgeConfigBackup401, - GetEdgeConfigBackup403, - GetEdgeConfigBackup404, - GetEdgeConfigBackupPathParams, - GetEdgeConfigBackupQueryParams, - GetEdgeConfigBackupQueryResponse, - GetEdgeConfigBackups400, - GetEdgeConfigBackups401, - GetEdgeConfigBackups403, - GetEdgeConfigBackups404, - GetEdgeConfigBackupsPathParams, - GetEdgeConfigBackupsQueryParams, - GetEdgeConfigBackupsQueryResponse, - GetEdgeConfigItem400, - GetEdgeConfigItem401, - GetEdgeConfigItem403, - GetEdgeConfigItem404, - GetEdgeConfigItemPathParams, - GetEdgeConfigItemQueryParams, - GetEdgeConfigItemQueryResponse, - GetEdgeConfigItems400, - GetEdgeConfigItems401, - GetEdgeConfigItems403, - GetEdgeConfigItems404, - GetEdgeConfigItemsPathParams, - GetEdgeConfigItemsQueryParams, - GetEdgeConfigItemsQueryResponse, - GetEdgeConfigPathParams, - GetEdgeConfigQueryParams, - GetEdgeConfigQueryResponse, - GetEdgeConfigSchema400, - GetEdgeConfigSchema401, - GetEdgeConfigSchema403, - GetEdgeConfigSchema404, - GetEdgeConfigSchemaPathParams, - GetEdgeConfigSchemaQueryParams, - GetEdgeConfigSchemaQueryResponse, - GetEdgeConfigs400, - GetEdgeConfigs401, - GetEdgeConfigs403, - GetEdgeConfigsQueryParams, - GetEdgeConfigsQueryResponse, - GetEdgeConfigToken400, - GetEdgeConfigToken401, - GetEdgeConfigToken403, - GetEdgeConfigToken404, - GetEdgeConfigTokenPathParams, - GetEdgeConfigTokenQueryParams, - GetEdgeConfigTokenQueryResponse, - GetEdgeConfigTokens400, - GetEdgeConfigTokens401, - GetEdgeConfigTokens403, - GetEdgeConfigTokens404, - GetEdgeConfigTokensPathParams, - GetEdgeConfigTokensQueryParams, - GetEdgeConfigTokensQueryResponse, - GetFirewallConfig400, - GetFirewallConfig401, - GetFirewallConfig403, - GetFirewallConfig404, - GetFirewallConfigPathParams, - GetFirewallConfigQueryParams, - GetFirewallConfigQueryResponse, - GetIntegrationLogDrains400, - GetIntegrationLogDrains401, - GetIntegrationLogDrains403, - GetIntegrationLogDrainsQueryParams, - GetIntegrationLogDrainsQueryResponse, - GetIntegrationResource400, - GetIntegrationResource401, - GetIntegrationResource403, - GetIntegrationResource404, - GetIntegrationResourcePathParams, - GetIntegrationResourceQueryResponse, + GetMemberQueryResponse, + GetMemberPathParams, + GetMember400, + GetMember401, + GetMember403, + GetMember404, + CreateEventMutationResponse, + CreateEventPathParams, + CreateEvent400, + CreateEvent401, + CreateEvent403, + CreateEvent404, + GetIntegrationResourcesQueryResponse, + GetIntegrationResourcesPathParams, GetIntegrationResources400, GetIntegrationResources401, GetIntegrationResources403, GetIntegrationResources404, - GetIntegrationResourcesPathParams, - GetIntegrationResourcesQueryResponse, + GetIntegrationResourceQueryResponse, + GetIntegrationResourcePathParams, + GetIntegrationResource400, + GetIntegrationResource401, + GetIntegrationResource403, + GetIntegrationResource404, + DeleteIntegrationResourceMutationResponse, + DeleteIntegrationResourcePathParams, + DeleteIntegrationResource400, + DeleteIntegrationResource401, + DeleteIntegrationResource403, + DeleteIntegrationResource404, + ImportResourceMutationResponse, + ImportResourcePathParams, + ImportResource400, + ImportResource401, + ImportResource403, + ImportResource404, + SubmitBillingDataMutationResponse, + SubmitBillingDataPathParams, + SubmitBillingData400, + SubmitBillingData401, + SubmitBillingData403, + SubmitBillingData404, + SubmitInvoiceMutationResponse, + SubmitInvoicePathParams, + SubmitInvoice400, + SubmitInvoice401, + SubmitInvoice403, + SubmitInvoice404, + GetInvoiceQueryResponse, + GetInvoicePathParams, GetInvoice400, GetInvoice401, GetInvoice403, GetInvoice404, - GetInvoicePathParams, - GetInvoiceQueryResponse, - GetMember400, - GetMember401, - GetMember403, - GetMember404, - GetMemberPathParams, - GetMemberQueryResponse, - GetProject400, - GetProject401, - GetProject403, - GetProjectDomain400, - GetProjectDomain401, - GetProjectDomain403, - GetProjectDomainPathParams, - GetProjectDomainQueryParams, - GetProjectDomainQueryResponse, - GetProjectDomains400, - GetProjectDomains401, - GetProjectDomains403, - GetProjectDomainsPathParams, - GetProjectDomainsQueryParams, - GetProjectDomainsQueryResponse, - GetProjectEnv400, - GetProjectEnv401, - GetProjectEnv403, - GetProjectEnvPathParams, - GetProjectEnvQueryParams, - GetProjectEnvQueryResponse, - GetProjectMembers400, - GetProjectMembers401, - GetProjectMembers403, - GetProjectMembersPathParams, - GetProjectMembersQueryParams, - GetProjectMembersQueryResponse, - GetProjectPathParams, - GetProjectQueryParams, - GetProjectQueryResponse, - GetProjects400, - GetProjects401, - GetProjects403, - GetProjectsQueryParams, - GetProjectsQueryResponse, - GetRecords400, - GetRecords401, - GetRecords403, - GetRecords404, - GetRecordsPathParams, - GetRecordsQueryParams, - GetRecordsQueryResponse, - GetRollingRelease400, - GetRollingRelease401, - GetRollingRelease403, - GetRollingRelease404, - GetRollingReleaseBillingStatus400, - GetRollingReleaseBillingStatus401, - GetRollingReleaseBillingStatus403, - GetRollingReleaseBillingStatus404, - GetRollingReleaseBillingStatusPathParams, - GetRollingReleaseBillingStatusQueryParams, - GetRollingReleaseBillingStatusQueryResponse, - GetRollingReleaseConfig400, - GetRollingReleaseConfig401, - GetRollingReleaseConfig403, - GetRollingReleaseConfig404, - GetRollingReleaseConfigPathParams, - GetRollingReleaseConfigQueryParams, - GetRollingReleaseConfigQueryResponse, - GetRollingReleasePathParams, - GetRollingReleaseQueryParams, - GetRollingReleaseQueryResponse, + UpdateInvoiceMutationResponse, + UpdateInvoicePathParams, + UpdateInvoice400, + UpdateInvoice401, + UpdateInvoice403, + UpdateInvoice404, + SubmitPrepaymentBalancesMutationResponse, + SubmitPrepaymentBalancesPathParams, + SubmitPrepaymentBalances400, + SubmitPrepaymentBalances401, + SubmitPrepaymentBalances403, + SubmitPrepaymentBalances404, + UpdateResourceSecretsMutationResponse, + UpdateResourceSecretsPathParams, + UpdateResourceSecrets400, + UpdateResourceSecrets401, + UpdateResourceSecrets403, + UpdateResourceSecrets404, + UpdateResourceSecretsByIdMutationResponse, + UpdateResourceSecretsByIdPathParams, + UpdateResourceSecretsById400, + UpdateResourceSecretsById401, + UpdateResourceSecretsById403, + UpdateResourceSecretsById404, + UpdateResourceSecretsById422, + GetConfigurationsQueryResponse, + GetConfigurationsQueryParams, + GetConfigurations400, + GetConfigurations401, + GetConfigurations403, + GetConfigurationQueryResponse, + GetConfigurationPathParams, + GetConfigurationQueryParams, + GetConfiguration400, + GetConfiguration401, + GetConfiguration403, + GetConfiguration404, + DeleteConfigurationMutationResponse, + DeleteConfigurationPathParams, + DeleteConfigurationQueryParams, + DeleteConfiguration400, + DeleteConfiguration401, + DeleteConfiguration403, + DeleteConfiguration404, + GetConfigurationProductsQueryResponse, + GetConfigurationProductsPathParams, + GetConfigurationProductsQueryParams, + GetConfigurationProducts400, + GetConfigurationProducts401, + GetConfigurationProducts403, + GetConfigurationProducts404, + GetConfigurationProducts500, + ExchangeSsoTokenMutationResponse, + ExchangeSsoToken400, + ExchangeSsoToken404, + ExchangeSsoToken500, + GetIntegrationLogDrainsQueryResponse, + GetIntegrationLogDrainsQueryParams, + GetIntegrationLogDrains400, + GetIntegrationLogDrains401, + GetIntegrationLogDrains403, + CreateLogDrainMutationResponse, + CreateLogDrainQueryParams, + CreateLogDrain400, + CreateLogDrain401, + CreateLogDrain403, + DeleteIntegrationLogDrainMutationResponse, + DeleteIntegrationLogDrainPathParams, + DeleteIntegrationLogDrainQueryParams, + DeleteIntegrationLogDrain400, + DeleteIntegrationLogDrain401, + DeleteIntegrationLogDrain403, + DeleteIntegrationLogDrain404, + GetRuntimeLogsQueryResponse, + GetRuntimeLogsPathParams, + GetRuntimeLogsQueryParams, GetRuntimeLogs400, GetRuntimeLogs401, GetRuntimeLogs403, - GetRuntimeLogsPathParams, - GetRuntimeLogsQueryParams, - GetRuntimeLogsQueryResponse, - GetSecret400, - GetSecret401, - GetSecret403, - GetSecret404, - GetSecret410, - GetSecretPathParams, - GetSecretQueryParams, - GetSecretQueryResponse, - GetSecrets400, - GetSecrets401, - GetSecrets403, - GetSecrets410, - GetSecretsQueryParams, - GetSecretsQueryResponse, - GetTeam400, - GetTeam401, - GetTeam403, - GetTeam404, - GetTeamAccessRequest400, - GetTeamAccessRequest401, - GetTeamAccessRequest403, - GetTeamAccessRequest404, - GetTeamAccessRequestPathParams, - GetTeamAccessRequestQueryResponse, - GetTeamMembers400, - GetTeamMembers401, - GetTeamMembers403, - GetTeamMembers404, - GetTeamMembersPathParams, - GetTeamMembersQueryParams, - GetTeamMembersQueryResponse, - GetTeamPathParams, - GetTeamQueryParams, - GetTeamQueryResponse, - GetTeams400, - GetTeams401, - GetTeams403, - GetTeamsQueryParams, - GetTeamsQueryResponse, - GetWebhook400, - GetWebhook401, - GetWebhook403, - GetWebhookPathParams, - GetWebhookQueryParams, - GetWebhookQueryResponse, - GetWebhooks400, - GetWebhooks401, - GetWebhooks403, - GetWebhooksQueryParams, - GetWebhooksQueryResponse, - ImportResource400, - ImportResource401, - ImportResource403, - ImportResource404, - ImportResourceMutationResponse, - ImportResourcePathParams, - InviteUserToTeam400, - InviteUserToTeam401, - InviteUserToTeam403, - InviteUserToTeam503, - InviteUserToTeamMutationResponse, - InviteUserToTeamPathParams, - IssueCert400, - IssueCert401, - IssueCert402, - IssueCert403, - IssueCert404, - IssueCert449, - IssueCert500, - IssueCertMutationResponse, - IssueCertQueryParams, - JoinTeam400, - JoinTeam401, - JoinTeam402, - JoinTeam403, - JoinTeam404, - JoinTeamMutationResponse, - JoinTeamPathParams, - ListAccessGroupMembers400, - ListAccessGroupMembers401, - ListAccessGroupMembers403, - ListAccessGroupMembersPathParams, - ListAccessGroupMembersQueryParams, - ListAccessGroupMembersQueryResponse, - ListAccessGroupProjects400, - ListAccessGroupProjects401, - ListAccessGroupProjects403, - ListAccessGroupProjectsPathParams, - ListAccessGroupProjectsQueryParams, - ListAccessGroupProjectsQueryResponse, - ListAccessGroups400, - ListAccessGroups401, - ListAccessGroups403, - ListAccessGroupsQueryParams, - ListAccessGroupsQueryResponse, - ListAliases400, - ListAliases401, - ListAliases403, - ListAliases404, - ListAliasesQueryParams, - ListAliasesQueryResponse, - ListAuthTokens400, - ListAuthTokens401, - ListAuthTokens403, - ListAuthTokensQueryResponse, - ListCerts400, - ListCerts401, - ListCerts403, - ListCertsQueryResponse, - ListCustomEnvironments400, - ListCustomEnvironments401, - ListCustomEnvironments403, - ListCustomEnvironmentsPathParams, - ListCustomEnvironmentsQueryParams, - ListCustomEnvironmentsQueryResponse, - ListDeploymentAliases400, - ListDeploymentAliases401, - ListDeploymentAliases403, - ListDeploymentAliases404, - ListDeploymentAliasesPathParams, - ListDeploymentAliasesQueryParams, - ListDeploymentAliasesQueryResponse, - ListDeploymentFiles400, - ListDeploymentFiles401, - ListDeploymentFiles403, - ListDeploymentFiles404, - ListDeploymentFilesPathParams, - ListDeploymentFilesQueryParams, - ListDeploymentFilesQueryResponse, - ListPromoteAliases400, - ListPromoteAliases401, - ListPromoteAliases403, - ListPromoteAliases404, - ListPromoteAliasesPathParams, - ListPromoteAliasesQueryParams, - ListPromoteAliasesQueryResponse, - ListUserEvents400, - ListUserEvents401, - ListUserEvents403, - ListUserEventsQueryParams, - ListUserEventsQueryResponse, - MoveProjectDomain400, - MoveProjectDomain401, - MoveProjectDomain403, - MoveProjectDomain409, - MoveProjectDomainMutationResponse, - MoveProjectDomainPathParams, - MoveProjectDomainQueryParams, - PatchDomain400, - PatchDomain401, - PatchDomain403, - PatchDomain404, - PatchDomain409, - PatchDomainMutationResponse, - PatchDomainPathParams, - PatchDomainQueryParams, - PatchEdgeConfigItems400, - PatchEdgeConfigItems401, - PatchEdgeConfigItems402, - PatchEdgeConfigItems403, - PatchEdgeConfigItems404, - PatchEdgeConfigItems409, - PatchEdgeConfigItemsMutationResponse, - PatchEdgeConfigItemsPathParams, - PatchEdgeConfigItemsQueryParams, - PatchEdgeConfigSchema400, - PatchEdgeConfigSchema401, - PatchEdgeConfigSchema402, - PatchEdgeConfigSchema403, - PatchEdgeConfigSchema404, - PatchEdgeConfigSchemaMutationResponse, - PatchEdgeConfigSchemaPathParams, - PatchEdgeConfigSchemaQueryParams, - PatchTeam400, - PatchTeam401, - PatchTeam402, - PatchTeam403, - PatchTeam428, - PatchTeamMutationResponse, - PatchTeamPathParams, - PatchTeamQueryParams, - PatchUrlProtectionBypass400, - PatchUrlProtectionBypass401, - PatchUrlProtectionBypass403, - PatchUrlProtectionBypass404, - PatchUrlProtectionBypass409, - PatchUrlProtectionBypass428, - PatchUrlProtectionBypass500, - PatchUrlProtectionBypassMutationResponse, - PatchUrlProtectionBypassPathParams, - PatchUrlProtectionBypassQueryParams, - PauseProject400, - PauseProject401, - PauseProject402, - PauseProject403, - PauseProject500, - PauseProjectMutationResponse, - PauseProjectPathParams, - PauseProjectQueryParams, - PurgeAllDataCache400, - PurgeAllDataCache401, - PurgeAllDataCache403, - PurgeAllDataCache404, - PurgeAllDataCacheMutationResponse, - PurgeAllDataCacheQueryParams, - PutFirewallConfig400, - PutFirewallConfig401, - PutFirewallConfig402, - PutFirewallConfig403, - PutFirewallConfig404, - PutFirewallConfig500, - PutFirewallConfigMutationResponse, - PutFirewallConfigQueryParams, - ReadAccessGroup400, - ReadAccessGroup401, - ReadAccessGroup403, - ReadAccessGroupPathParams, - ReadAccessGroupProject400, - ReadAccessGroupProject401, - ReadAccessGroupProject403, - ReadAccessGroupProjectPathParams, - ReadAccessGroupProjectQueryParams, - ReadAccessGroupProjectQueryResponse, - ReadAccessGroupQueryParams, - ReadAccessGroupQueryResponse, - RecordEvents400, - RecordEvents401, - RecordEvents402, - RecordEvents403, - RecordEventsHeaderParams, - RecordEventsMutationResponse, - RecordEventsQueryParams, - RemoveBypassIp400, - RemoveBypassIp401, - RemoveBypassIp403, - RemoveBypassIp404, - RemoveBypassIp500, - RemoveBypassIpMutationResponse, - RemoveBypassIpQueryParams, - RemoveCert400, - RemoveCert401, - RemoveCert403, - RemoveCert404, - RemoveCertMutationResponse, - RemoveCertPathParams, - RemoveCertQueryParams, - RemoveCustomEnvironment400, - RemoveCustomEnvironment401, - RemoveCustomEnvironment403, + CreateExperimentationItemMutationResponse, + CreateExperimentationItemPathParams, + CreateExperimentationItem400, + CreateExperimentationItem401, + CreateExperimentationItem403, + CreateExperimentationItem404, + UpdateExperimentationItemMutationResponse, + UpdateExperimentationItemPathParams, + UpdateExperimentationItem400, + UpdateExperimentationItem401, + UpdateExperimentationItem403, + UpdateExperimentationItem404, + DeleteExperimentationItemMutationResponse, + DeleteExperimentationItemPathParams, + DeleteExperimentationItem400, + DeleteExperimentationItem401, + DeleteExperimentationItem403, + DeleteExperimentationItem404, + UpdateExperimentationEdgeConfigMutationResponse, + UpdateExperimentationEdgeConfigPathParams, + UpdateExperimentationEdgeConfig400, + UpdateExperimentationEdgeConfig401, + UpdateExperimentationEdgeConfig403, + UpdateExperimentationEdgeConfig404, + UpdateExperimentationEdgeConfig409, + UpdateExperimentationEdgeConfig412, + GetProjectMembersQueryResponse, + GetProjectMembersPathParams, + GetProjectMembersQueryParams, + GetProjectMembers400, + GetProjectMembers401, + GetProjectMembers403, + AddProjectMemberMutationResponse, + AddProjectMemberPathParams, + AddProjectMemberQueryParams, + AddProjectMember400, + AddProjectMember401, + AddProjectMember403, + AddProjectMember500, + RemoveProjectMemberMutationResponse, + RemoveProjectMemberPathParams, + RemoveProjectMemberQueryParams, + RemoveProjectMember400, + RemoveProjectMember401, + RemoveProjectMember403, + GetProjectsQueryResponse, + GetProjectsQueryParams, + GetProjects400, + GetProjects401, + GetProjects403, + CreateProjectMutationResponse, + CreateProjectQueryParams, + CreateProject400, + CreateProject401, + CreateProject402, + CreateProject403, + CreateProject404, + CreateProject409, + CreateProject428, + CreateProject429, + CreateProject500, + GetProjectQueryResponse, + GetProjectPathParams, + GetProjectQueryParams, + GetProject400, + GetProject401, + GetProject403, + UpdateProjectMutationResponse, + UpdateProjectPathParams, + UpdateProjectQueryParams, + UpdateProject400, + UpdateProject401, + UpdateProject402, + UpdateProject403, + UpdateProject404, + UpdateProject409, + UpdateProject428, + DeleteProjectMutationResponse, + DeleteProjectPathParams, + DeleteProjectQueryParams, + DeleteProject400, + DeleteProject401, + DeleteProject403, + DeleteProject409, + CreateCustomEnvironmentMutationResponse, + CreateCustomEnvironmentPathParams, + CreateCustomEnvironmentQueryParams, + CreateCustomEnvironment400, + CreateCustomEnvironment401, + CreateCustomEnvironment402, + CreateCustomEnvironment403, + CreateCustomEnvironment500, + ListCustomEnvironmentsQueryResponse, + ListCustomEnvironmentsPathParams, + ListCustomEnvironmentsQueryParams, + ListCustomEnvironments400, + ListCustomEnvironments401, + ListCustomEnvironments403, + GetCustomEnvironmentQueryResponse, + GetCustomEnvironmentPathParams, + GetCustomEnvironmentQueryParams, + GetCustomEnvironment400, + GetCustomEnvironment401, + GetCustomEnvironment403, + GetCustomEnvironment404, + UpdateCustomEnvironmentMutationResponse, + UpdateCustomEnvironmentPathParams, + UpdateCustomEnvironmentQueryParams, + UpdateCustomEnvironment400, + UpdateCustomEnvironment401, + UpdateCustomEnvironment402, + UpdateCustomEnvironment403, + UpdateCustomEnvironment500, RemoveCustomEnvironmentMutationResponse, RemoveCustomEnvironmentPathParams, RemoveCustomEnvironmentQueryParams, + RemoveCustomEnvironment400, + RemoveCustomEnvironment401, + RemoveCustomEnvironment403, + GetProjectDomainsQueryResponse, + GetProjectDomainsPathParams, + GetProjectDomainsQueryParams, + GetProjectDomains400, + GetProjectDomains401, + GetProjectDomains403, + GetProjectDomainQueryResponse, + GetProjectDomainPathParams, + GetProjectDomainQueryParams, + GetProjectDomain400, + GetProjectDomain401, + GetProjectDomain403, + UpdateProjectDomainMutationResponse, + UpdateProjectDomainPathParams, + UpdateProjectDomainQueryParams, + UpdateProjectDomain400, + UpdateProjectDomain401, + UpdateProjectDomain403, + UpdateProjectDomain409, + RemoveProjectDomainMutationResponse, + RemoveProjectDomainPathParams, + RemoveProjectDomainQueryParams, RemoveProjectDomain400, RemoveProjectDomain401, RemoveProjectDomain403, RemoveProjectDomain404, RemoveProjectDomain409, - RemoveProjectDomainMutationResponse, - RemoveProjectDomainPathParams, - RemoveProjectDomainQueryParams, + AddProjectDomainMutationResponse, + AddProjectDomainPathParams, + AddProjectDomainQueryParams, + AddProjectDomain400, + AddProjectDomain401, + AddProjectDomain402, + AddProjectDomain403, + AddProjectDomain409, + MoveProjectDomainMutationResponse, + MoveProjectDomainPathParams, + MoveProjectDomainQueryParams, + MoveProjectDomain400, + MoveProjectDomain401, + MoveProjectDomain403, + MoveProjectDomain409, + VerifyProjectDomainMutationResponse, + VerifyProjectDomainPathParams, + VerifyProjectDomainQueryParams, + VerifyProjectDomain400, + VerifyProjectDomain401, + VerifyProjectDomain403, + FilterProjectEnvsQueryResponse, + FilterProjectEnvsPathParams, + FilterProjectEnvsQueryParams, + FilterProjectEnvs400, + FilterProjectEnvs401, + FilterProjectEnvs403, + CreateProjectEnvMutationResponse, + CreateProjectEnvPathParams, + CreateProjectEnvQueryParams, + CreateProjectEnv400, + CreateProjectEnv401, + CreateProjectEnv402, + CreateProjectEnv403, + CreateProjectEnv404, + CreateProjectEnv409, + CreateProjectEnv429, + CreateProjectEnv500, + GetProjectEnvQueryResponse, + GetProjectEnvPathParams, + GetProjectEnvQueryParams, + GetProjectEnv400, + GetProjectEnv401, + GetProjectEnv403, + RemoveProjectEnvMutationResponse, + RemoveProjectEnvPathParams, + RemoveProjectEnvQueryParams, RemoveProjectEnv400, RemoveProjectEnv401, RemoveProjectEnv403, RemoveProjectEnv404, RemoveProjectEnv409, - RemoveProjectEnvMutationResponse, - RemoveProjectEnvPathParams, - RemoveProjectEnvQueryParams, - RemoveProjectMember400, - RemoveProjectMember401, - RemoveProjectMember403, - RemoveProjectMemberMutationResponse, - RemoveProjectMemberPathParams, - RemoveProjectMemberQueryParams, - RemoveRecord400, - RemoveRecord401, - RemoveRecord403, - RemoveRecord404, - RemoveRecordMutationResponse, - RemoveRecordPathParams, - RemoveRecordQueryParams, - RemoveTeamMember400, - RemoveTeamMember401, - RemoveTeamMember403, - RemoveTeamMember404, - RemoveTeamMember503, - RemoveTeamMemberMutationResponse, - RemoveTeamMemberPathParams, - RemoveTeamMemberQueryParams, - RenameSecret400, - RenameSecret401, - RenameSecret403, - RenameSecret410, - RenameSecretMutationResponse, - RenameSecretPathParams, - RenameSecretQueryParams, - RequestAccessToTeam400, - RequestAccessToTeam401, - RequestAccessToTeam403, - RequestAccessToTeam404, - RequestAccessToTeam503, - RequestAccessToTeamMutationResponse, - RequestAccessToTeamPathParams, - RequestDelete400, - RequestDelete401, - RequestDelete402, - RequestDelete403, - RequestDeleteMutationResponse, - RequestPromote400, - RequestPromote401, - RequestPromote403, - RequestPromote409, - RequestPromoteMutationResponse, - RequestPromotePathParams, - RequestPromoteQueryParams, - RerequestCheck400, - RerequestCheck401, - RerequestCheck403, - RerequestCheck404, - RerequestCheckMutationResponse, - RerequestCheckPathParams, - RerequestCheckQueryParams, - Status400, - Status401, - Status402, - Status403, - StatusQueryParams, - StatusQueryResponse, - SubmitBillingData400, - SubmitBillingData401, - SubmitBillingData403, - SubmitBillingData404, - SubmitBillingDataMutationResponse, - SubmitBillingDataPathParams, - SubmitInvoice400, - SubmitInvoice401, - SubmitInvoice403, - SubmitInvoice404, - SubmitInvoiceMutationResponse, - SubmitInvoicePathParams, - SubmitPrepaymentBalances400, - SubmitPrepaymentBalances401, - SubmitPrepaymentBalances403, - SubmitPrepaymentBalances404, - SubmitPrepaymentBalancesMutationResponse, - SubmitPrepaymentBalancesPathParams, + EditProjectEnvMutationResponse, + EditProjectEnvPathParams, + EditProjectEnvQueryParams, + EditProjectEnv400, + EditProjectEnv401, + EditProjectEnv403, + EditProjectEnv404, + EditProjectEnv409, + EditProjectEnv429, + EditProjectEnv500, + GetRollingReleaseBillingStatusQueryResponse, + GetRollingReleaseBillingStatusPathParams, + GetRollingReleaseBillingStatusQueryParams, + GetRollingReleaseBillingStatus400, + GetRollingReleaseBillingStatus401, + GetRollingReleaseBillingStatus403, + GetRollingReleaseBillingStatus404, + GetRollingReleaseConfigQueryResponse, + GetRollingReleaseConfigPathParams, + GetRollingReleaseConfigQueryParams, + GetRollingReleaseConfig400, + GetRollingReleaseConfig401, + GetRollingReleaseConfig403, + GetRollingReleaseConfig404, + DeleteRollingReleaseConfigMutationResponse, + DeleteRollingReleaseConfigPathParams, + DeleteRollingReleaseConfigQueryParams, + DeleteRollingReleaseConfig400, + DeleteRollingReleaseConfig401, + DeleteRollingReleaseConfig403, + DeleteRollingReleaseConfig404, + UpdateRollingReleaseConfigMutationResponse, + UpdateRollingReleaseConfigPathParams, + UpdateRollingReleaseConfigQueryParams, + UpdateRollingReleaseConfig400, + UpdateRollingReleaseConfig401, + UpdateRollingReleaseConfig403, + UpdateRollingReleaseConfig404, + GetRollingReleaseQueryResponse, + GetRollingReleasePathParams, + GetRollingReleaseQueryParams, + GetRollingRelease400, + GetRollingRelease401, + GetRollingRelease403, + GetRollingRelease404, + ApproveRollingReleaseStageMutationResponse, + ApproveRollingReleaseStagePathParams, + ApproveRollingReleaseStageQueryParams, + ApproveRollingReleaseStage400, + ApproveRollingReleaseStage401, + ApproveRollingReleaseStage403, + ApproveRollingReleaseStage404, + ApproveRollingReleaseStage500, + CompleteRollingReleaseMutationResponse, + CompleteRollingReleasePathParams, + CompleteRollingReleaseQueryParams, + CompleteRollingRelease400, + CompleteRollingRelease401, + CompleteRollingRelease403, + CompleteRollingRelease404, + CreateProjectTransferRequestMutationResponse, + CreateProjectTransferRequestPathParams, + CreateProjectTransferRequestQueryParams, + CreateProjectTransferRequest400, + CreateProjectTransferRequest401, + CreateProjectTransferRequest403, + AcceptProjectTransferRequestMutationResponse, + AcceptProjectTransferRequestPathParams, + AcceptProjectTransferRequestQueryParams, + AcceptProjectTransferRequest400, + AcceptProjectTransferRequest401, + AcceptProjectTransferRequest403, + AcceptProjectTransferRequest404, + AcceptProjectTransferRequest422, + UpdateProjectProtectionBypassMutationResponse, + UpdateProjectProtectionBypassPathParams, + UpdateProjectProtectionBypassQueryParams, + UpdateProjectProtectionBypass400, + UpdateProjectProtectionBypass401, + UpdateProjectProtectionBypass403, + UpdateProjectProtectionBypass404, + UpdateProjectProtectionBypass409, + RequestPromoteMutationResponse, + RequestPromotePathParams, + RequestPromoteQueryParams, + RequestPromote400, + RequestPromote401, + RequestPromote403, + RequestPromote409, + ListPromoteAliasesQueryResponse, + ListPromoteAliasesPathParams, + ListPromoteAliasesQueryParams, + ListPromoteAliases400, + ListPromoteAliases401, + ListPromoteAliases403, + ListPromoteAliases404, + PauseProjectMutationResponse, + PauseProjectPathParams, + PauseProjectQueryParams, + PauseProject400, + PauseProject401, + PauseProject402, + PauseProject403, + PauseProject500, + UnpauseProjectMutationResponse, + UnpauseProjectPathParams, + UnpauseProjectQueryParams, UnpauseProject400, UnpauseProject401, UnpauseProject403, UnpauseProject500, - UnpauseProjectMutationResponse, - UnpauseProjectPathParams, - UnpauseProjectQueryParams, - UpdateAccessGroup400, - UpdateAccessGroup401, - UpdateAccessGroup403, - UpdateAccessGroupMutationResponse, - UpdateAccessGroupPathParams, - UpdateAccessGroupProject400, - UpdateAccessGroupProject401, - UpdateAccessGroupProject403, - UpdateAccessGroupProjectMutationResponse, - UpdateAccessGroupProjectPathParams, - UpdateAccessGroupProjectQueryParams, - UpdateAccessGroupQueryParams, + UpdateAttackChallengeModeMutationResponse, + UpdateAttackChallengeModeQueryParams, UpdateAttackChallengeMode400, UpdateAttackChallengeMode401, UpdateAttackChallengeMode403, UpdateAttackChallengeMode404, - UpdateAttackChallengeModeMutationResponse, - UpdateAttackChallengeModeQueryParams, - UpdateCheck400, - UpdateCheck401, - UpdateCheck403, - UpdateCheck404, - UpdateCheck413, - UpdateCheckMutationResponse, - UpdateCheckPathParams, - UpdateCheckQueryParams, - UpdateCustomEnvironment400, - UpdateCustomEnvironment401, - UpdateCustomEnvironment402, - UpdateCustomEnvironment403, - UpdateCustomEnvironment500, - UpdateCustomEnvironmentMutationResponse, - UpdateCustomEnvironmentPathParams, - UpdateCustomEnvironmentQueryParams, - UpdateDataCacheBillingSettings400, - UpdateDataCacheBillingSettings401, - UpdateDataCacheBillingSettings403, - UpdateDataCacheBillingSettings404, - UpdateDataCacheBillingSettingsMutationResponse, - UpdateEdgeConfig400, - UpdateEdgeConfig401, - UpdateEdgeConfig402, - UpdateEdgeConfig403, - UpdateEdgeConfig404, - UpdateEdgeConfigMutationResponse, - UpdateEdgeConfigPathParams, - UpdateEdgeConfigQueryParams, - UpdateExperimentationEdgeConfig400, - UpdateExperimentationEdgeConfig401, - UpdateExperimentationEdgeConfig403, - UpdateExperimentationEdgeConfig404, - UpdateExperimentationEdgeConfig412, - UpdateExperimentationEdgeConfigMutationResponse, - UpdateExperimentationEdgeConfigPathParams, - UpdateExperimentationItem400, - UpdateExperimentationItem401, - UpdateExperimentationItem403, - UpdateExperimentationItem404, - UpdateExperimentationItemMutationResponse, - UpdateExperimentationItemPathParams, + PutFirewallConfigMutationResponse, + PutFirewallConfigQueryParams, + PutFirewallConfig400, + PutFirewallConfig401, + PutFirewallConfig402, + PutFirewallConfig403, + PutFirewallConfig404, + PutFirewallConfig500, + UpdateFirewallConfigMutationResponse, + UpdateFirewallConfigQueryParams, UpdateFirewallConfig400, UpdateFirewallConfig401, UpdateFirewallConfig402, UpdateFirewallConfig403, UpdateFirewallConfig404, UpdateFirewallConfig500, - UpdateFirewallConfigMutationResponse, - UpdateFirewallConfigQueryParams, - UpdateIntegrationDeploymentAction400, - UpdateIntegrationDeploymentAction401, - UpdateIntegrationDeploymentAction403, - UpdateIntegrationDeploymentActionMutationResponse, - UpdateIntegrationDeploymentActionPathParams, - UpdateInvoice400, - UpdateInvoice401, - UpdateInvoice403, - UpdateInvoice404, - UpdateInvoiceMutationResponse, - UpdateInvoicePathParams, - UpdateProject400, - UpdateProject401, - UpdateProject402, - UpdateProject403, - UpdateProject404, - UpdateProject409, - UpdateProject428, - UpdateProjectDataCache400, - UpdateProjectDataCache401, - UpdateProjectDataCache403, - UpdateProjectDataCache404, - UpdateProjectDataCacheMutationResponse, - UpdateProjectDataCachePathParams, - UpdateProjectDataCacheQueryParams, - UpdateProjectDomain400, - UpdateProjectDomain401, - UpdateProjectDomain403, - UpdateProjectDomain409, - UpdateProjectDomainMutationResponse, - UpdateProjectDomainPathParams, - UpdateProjectDomainQueryParams, - UpdateProjectMutationResponse, - UpdateProjectPathParams, - UpdateProjectProtectionBypass400, - UpdateProjectProtectionBypass401, - UpdateProjectProtectionBypass403, - UpdateProjectProtectionBypass404, - UpdateProjectProtectionBypass409, - UpdateProjectProtectionBypassMutationResponse, - UpdateProjectProtectionBypassPathParams, - UpdateProjectProtectionBypassQueryParams, - UpdateProjectQueryParams, - UpdateRecord400, - UpdateRecord401, - UpdateRecord402, - UpdateRecord403, - UpdateRecord404, - UpdateRecord409, - UpdateRecordMutationResponse, - UpdateRecordPathParams, - UpdateRecordQueryParams, - UpdateResourceSecrets400, - UpdateResourceSecrets401, - UpdateResourceSecrets403, - UpdateResourceSecrets404, - UpdateResourceSecretsById400, - UpdateResourceSecretsById401, - UpdateResourceSecretsById403, - UpdateResourceSecretsById404, - UpdateResourceSecretsById422, - UpdateResourceSecretsByIdMutationResponse, - UpdateResourceSecretsByIdPathParams, - UpdateResourceSecretsMutationResponse, - UpdateResourceSecretsPathParams, - UpdateRollingReleaseConfig400, - UpdateRollingReleaseConfig401, - UpdateRollingReleaseConfig403, - UpdateRollingReleaseConfig404, - UpdateRollingReleaseConfigMutationResponse, - UpdateRollingReleaseConfigPathParams, - UpdateRollingReleaseConfigQueryParams, + GetFirewallConfigQueryResponse, + GetFirewallConfigPathParams, + GetFirewallConfigQueryParams, + GetFirewallConfig400, + GetFirewallConfig401, + GetFirewallConfig403, + GetFirewallConfig404, + GetActiveAttackStatusQueryResponse, + GetActiveAttackStatusQueryParams, + GetActiveAttackStatus400, + GetActiveAttackStatus401, + GetActiveAttackStatus403, + GetActiveAttackStatus404, + GetBypassIpQueryResponse, + GetBypassIpQueryParams, + GetBypassIp400, + GetBypassIp401, + GetBypassIp403, + GetBypassIp404, + GetBypassIp500, + AddBypassIpMutationResponse, + AddBypassIpQueryParams, + AddBypassIp400, + AddBypassIp401, + AddBypassIp403, + AddBypassIp404, + AddBypassIp500, + RemoveBypassIpMutationResponse, + RemoveBypassIpQueryParams, + RemoveBypassIp400, + RemoveBypassIp401, + RemoveBypassIp403, + RemoveBypassIp404, + RemoveBypassIp500, + GetTeamMembersQueryResponse, + GetTeamMembersPathParams, + GetTeamMembersQueryParams, + GetTeamMembers400, + GetTeamMembers401, + GetTeamMembers403, + GetTeamMembers404, + InviteUserToTeamMutationResponse, + InviteUserToTeamPathParams, + InviteUserToTeam400, + InviteUserToTeam401, + InviteUserToTeam403, + InviteUserToTeam503, + RequestAccessToTeamMutationResponse, + RequestAccessToTeamPathParams, + RequestAccessToTeam400, + RequestAccessToTeam401, + RequestAccessToTeam403, + RequestAccessToTeam404, + RequestAccessToTeam503, + GetTeamAccessRequestQueryResponse, + GetTeamAccessRequestPathParams, + GetTeamAccessRequest400, + GetTeamAccessRequest401, + GetTeamAccessRequest403, + GetTeamAccessRequest404, + JoinTeamMutationResponse, + JoinTeamPathParams, + JoinTeam400, + JoinTeam401, + JoinTeam402, + JoinTeam403, + JoinTeam404, + UpdateTeamMemberMutationResponse, + UpdateTeamMemberPathParams, UpdateTeamMember400, UpdateTeamMember401, UpdateTeamMember402, UpdateTeamMember403, UpdateTeamMember404, - UpdateTeamMember500, - UpdateTeamMemberMutationResponse, - UpdateTeamMemberPathParams, - UploadArtifact400, - UploadArtifact401, - UploadArtifact402, - UploadArtifact403, - UploadArtifactHeaderParams, - UploadArtifactMutationResponse, - UploadArtifactPathParams, - UploadArtifactQueryParams, + UpdateTeamMember500, + RemoveTeamMemberMutationResponse, + RemoveTeamMemberPathParams, + RemoveTeamMemberQueryParams, + RemoveTeamMember400, + RemoveTeamMember401, + RemoveTeamMember403, + RemoveTeamMember404, + RemoveTeamMember503, + GetTeamQueryResponse, + GetTeamPathParams, + GetTeamQueryParams, + GetTeam400, + GetTeam401, + GetTeam403, + GetTeam404, + PatchTeamMutationResponse, + PatchTeamPathParams, + PatchTeamQueryParams, + PatchTeam400, + PatchTeam401, + PatchTeam402, + PatchTeam403, + PatchTeam428, + GetTeamsQueryResponse, + GetTeamsQueryParams, + GetTeams400, + GetTeams401, + GetTeams403, + CreateTeamMutationResponse, + CreateTeam400, + CreateTeam401, + CreateTeam403, + DeleteTeamMutationResponse, + DeleteTeamPathParams, + DeleteTeamQueryParams, + DeleteTeam400, + DeleteTeam401, + DeleteTeam402, + DeleteTeam403, + DeleteTeam409, + DeleteTeamInviteCodeMutationResponse, + DeleteTeamInviteCodePathParams, + DeleteTeamInviteCode400, + DeleteTeamInviteCode401, + DeleteTeamInviteCode403, + DeleteTeamInviteCode404, + UploadFileMutationResponse, + UploadFileQueryParams, + UploadFileHeaderParams, + UploadFile400, + UploadFile401, + UploadFile403, + ListAuthTokensQueryResponse, + ListAuthTokens400, + ListAuthTokens401, + ListAuthTokens403, + CreateAuthTokenMutationResponse, + CreateAuthTokenQueryParams, + CreateAuthToken400, + CreateAuthToken401, + CreateAuthToken403, + GetAuthTokenQueryResponse, + GetAuthTokenPathParams, + GetAuthToken400, + GetAuthToken401, + GetAuthToken403, + GetAuthToken404, + DeleteAuthTokenMutationResponse, + DeleteAuthTokenPathParams, + DeleteAuthToken400, + DeleteAuthToken401, + DeleteAuthToken403, + DeleteAuthToken404, + GetAuthUserQueryResponse, + GetAuthUser400, + GetAuthUser401, + GetAuthUser403, + GetAuthUser409, + RequestDeleteMutationResponse, + RequestDelete400, + RequestDelete401, + RequestDelete402, + RequestDelete403, + CreateWebhookMutationResponse, + CreateWebhookQueryParams, + CreateWebhook400, + CreateWebhook401, + CreateWebhook403, + GetWebhooksQueryResponse, + GetWebhooksQueryParams, + GetWebhooks400, + GetWebhooks401, + GetWebhooks403, + GetWebhookQueryResponse, + GetWebhookPathParams, + GetWebhookQueryParams, + GetWebhook400, + GetWebhook401, + GetWebhook403, + DeleteWebhookMutationResponse, + DeleteWebhookPathParams, + DeleteWebhookQueryParams, + DeleteWebhook400, + DeleteWebhook401, + DeleteWebhook403, + ListDeploymentAliasesQueryResponse, + ListDeploymentAliasesPathParams, + ListDeploymentAliasesQueryParams, + ListDeploymentAliases400, + ListDeploymentAliases401, + ListDeploymentAliases403, + ListDeploymentAliases404, + AssignAliasMutationResponse, + AssignAliasPathParams, + AssignAliasQueryParams, + AssignAlias400, + AssignAlias401, + AssignAlias402, + AssignAlias403, + AssignAlias404, + AssignAlias409, + ListAliasesQueryResponse, + ListAliasesQueryParams, + ListAliases400, + ListAliases401, + ListAliases403, + ListAliases404, + GetAliasQueryResponse, + GetAliasPathParams, + GetAliasQueryParams, + GetAlias400, + GetAlias401, + GetAlias403, + GetAlias404, + DeleteAliasMutationResponse, + DeleteAliasPathParams, + DeleteAliasQueryParams, + DeleteAlias400, + DeleteAlias401, + DeleteAlias403, + DeleteAlias404, + PatchUrlProtectionBypassMutationResponse, + PatchUrlProtectionBypassPathParams, + PatchUrlProtectionBypassQueryParams, + PatchUrlProtectionBypass400, + PatchUrlProtectionBypass401, + PatchUrlProtectionBypass403, + PatchUrlProtectionBypass404, + PatchUrlProtectionBypass409, + PatchUrlProtectionBypass428, + PatchUrlProtectionBypass500, + ListCertsQueryResponse, + ListCerts400, + ListCerts401, + ListCerts403, + GetCertByIdQueryResponse, + GetCertByIdPathParams, + GetCertByIdQueryParams, + GetCertById400, + GetCertById401, + GetCertById403, + GetCertById404, + RemoveCertMutationResponse, + RemoveCertPathParams, + RemoveCertQueryParams, + RemoveCert400, + RemoveCert401, + RemoveCert403, + RemoveCert404, + IssueCertMutationResponse, + IssueCertQueryParams, + IssueCert400, + IssueCert401, + IssueCert402, + IssueCert403, + IssueCert404, + IssueCert449, + IssueCert500, + UploadCertMutationResponse, + UploadCertQueryParams, UploadCert400, UploadCert401, UploadCert402, UploadCert403, - UploadCertMutationResponse, - UploadCertQueryParams, - UploadFile400, - UploadFile401, - UploadFile403, - UploadFileHeaderParams, - UploadFileMutationResponse, - UploadFileQueryParams, - VerifyProjectDomain400, - VerifyProjectDomain401, - VerifyProjectDomain403, - VerifyProjectDomainMutationResponse, - VerifyProjectDomainPathParams, - VerifyProjectDomainQueryParams -} from './types.ts'; + ListDeploymentFilesQueryResponse, + ListDeploymentFilesPathParams, + ListDeploymentFilesQueryParams, + ListDeploymentFiles400, + ListDeploymentFiles401, + ListDeploymentFiles403, + ListDeploymentFiles404, + GetDeploymentFileContentsQueryResponse, + GetDeploymentFileContentsPathParams, + GetDeploymentFileContentsQueryParams, + GetDeploymentFileContents400, + GetDeploymentFileContents401, + GetDeploymentFileContents403, + GetDeploymentFileContents404, + GetDeploymentFileContents410, + GetDeploymentsQueryResponse, + GetDeploymentsQueryParams, + GetDeployments400, + GetDeployments401, + GetDeployments403, + GetDeployments404, + GetDeployments422, + DeleteDeploymentMutationResponse, + DeleteDeploymentPathParams, + DeleteDeploymentQueryParams, + DeleteDeployment400, + DeleteDeployment401, + DeleteDeployment403, + DeleteDeployment404, + GetSecretsQueryResponse, + GetSecretsQueryParams, + GetSecrets400, + GetSecrets401, + GetSecrets403, + GetSecrets410, + CreateSecretMutationResponse, + CreateSecretPathParams, + CreateSecretQueryParams, + CreateSecret400, + CreateSecret401, + CreateSecret402, + CreateSecret403, + CreateSecret410, + RenameSecretMutationResponse, + RenameSecretPathParams, + RenameSecretQueryParams, + RenameSecret400, + RenameSecret401, + RenameSecret403, + RenameSecret410, + GetSecretQueryResponse, + GetSecretPathParams, + GetSecretQueryParams, + GetSecret400, + GetSecret401, + GetSecret403, + GetSecret404, + GetSecret410, + DeleteSecretMutationResponse, + DeleteSecretPathParams, + DeleteSecretQueryParams, + DeleteSecret400, + DeleteSecret401, + DeleteSecret403, + DeleteSecret410, +} from './types.ts' /** * @description Allows to read an access group @@ -1209,16 +1238,16 @@ import type { export async function readAccessGroup({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: ReadAccessGroupPathParams; - queryParams?: ReadAccessGroupQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: ReadAccessGroupPathParams + queryParams?: ReadAccessGroupQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< @@ -1228,8 +1257,8 @@ export async function readAccessGroup({ Record, ReadAccessGroupQueryParams, ReadAccessGroupPathParams - >({ method: 'GET', url: `/v1/access-groups/${idOrName}`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v1/access-groups/${idOrName}`, queryParams, ...requestConfig }) + return data } /** @@ -1240,16 +1269,16 @@ export async function readAccessGroup({ export async function updateAccessGroup({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: UpdateAccessGroupPathParams; - queryParams?: UpdateAccessGroupQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: UpdateAccessGroupPathParams + queryParams?: UpdateAccessGroupQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< @@ -1264,9 +1293,9 @@ export async function updateAccessGroup({ url: `/v1/access-groups/${idOrName}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return data } /** @@ -1277,16 +1306,16 @@ export async function updateAccessGroup({ export async function deleteAccessGroup({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: DeleteAccessGroupPathParams; - queryParams?: DeleteAccessGroupQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: DeleteAccessGroupPathParams + queryParams?: DeleteAccessGroupQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< @@ -1296,8 +1325,8 @@ export async function deleteAccessGroup({ Record, DeleteAccessGroupQueryParams, DeleteAccessGroupPathParams - >({ method: 'DELETE', url: `/v1/access-groups/${idOrName}`, queryParams, ...requestConfig }); - return data; + >({ method: 'DELETE', url: `/v1/access-groups/${idOrName}`, queryParams, ...requestConfig }) + return data } /** @@ -1308,16 +1337,16 @@ export async function deleteAccessGroup({ export async function listAccessGroupMembers({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: ListAccessGroupMembersPathParams; - queryParams?: ListAccessGroupMembersQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: ListAccessGroupMembersPathParams + queryParams?: ListAccessGroupMembersQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< @@ -1327,8 +1356,8 @@ export async function listAccessGroupMembers({ Record, ListAccessGroupMembersQueryParams, ListAccessGroupMembersPathParams - >({ method: 'GET', url: `/v1/access-groups/${idOrName}/members`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v1/access-groups/${idOrName}/members`, queryParams, ...requestConfig }) + return data } /** @@ -1338,12 +1367,12 @@ export async function listAccessGroupMembers({ */ export async function listAccessGroups({ queryParams, - config = {} + config = {}, }: { - queryParams?: ListAccessGroupsQueryParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: ListAccessGroupsQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< ListAccessGroupsQueryResponse, @@ -1352,8 +1381,8 @@ export async function listAccessGroups({ Record, ListAccessGroupsQueryParams, Record - >({ method: 'GET', url: `/v1/access-groups`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v1/access-groups`, queryParams, ...requestConfig }) + return data } /** @@ -1363,12 +1392,12 @@ export async function listAccessGroups({ */ export async function createAccessGroup({ queryParams, - config = {} + config = {}, }: { - queryParams?: CreateAccessGroupQueryParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: CreateAccessGroupQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< CreateAccessGroupMutationResponse, @@ -1377,14 +1406,8 @@ export async function createAccessGroup({ Record, CreateAccessGroupQueryParams, Record - >({ - method: 'POST', - url: `/v1/access-groups`, - queryParams, - ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + >({ method: 'POST', url: `/v1/access-groups`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) + return data } /** @@ -1395,16 +1418,16 @@ export async function createAccessGroup({ export async function listAccessGroupProjects({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: ListAccessGroupProjectsPathParams; - queryParams?: ListAccessGroupProjectsQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: ListAccessGroupProjectsPathParams + queryParams?: ListAccessGroupProjectsQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< @@ -1414,8 +1437,8 @@ export async function listAccessGroupProjects({ Record, ListAccessGroupProjectsQueryParams, ListAccessGroupProjectsPathParams - >({ method: 'GET', url: `/v1/access-groups/${idOrName}/projects`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v1/access-groups/${idOrName}/projects`, queryParams, ...requestConfig }) + return data } /** @@ -1426,16 +1449,16 @@ export async function listAccessGroupProjects({ export async function createAccessGroupProject({ pathParams: { accessGroupIdOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: CreateAccessGroupProjectPathParams; - queryParams?: CreateAccessGroupProjectQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: CreateAccessGroupProjectPathParams + queryParams?: CreateAccessGroupProjectQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!accessGroupIdOrName) { - throw new Error(`Missing required path parameter: accessGroupIdOrName`); + throw new Error(`Missing required path parameter: accessGroupIdOrName`) } const data = await request< @@ -1450,9 +1473,9 @@ export async function createAccessGroupProject({ url: `/v1/access-groups/${accessGroupIdOrName}/projects`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return data } /** @@ -1463,20 +1486,20 @@ export async function createAccessGroupProject({ export async function readAccessGroupProject({ pathParams: { accessGroupIdOrName, projectId }, queryParams, - config = {} + config = {}, }: { - pathParams: ReadAccessGroupProjectPathParams; - queryParams?: ReadAccessGroupProjectQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: ReadAccessGroupProjectPathParams + queryParams?: ReadAccessGroupProjectQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!accessGroupIdOrName) { - throw new Error(`Missing required path parameter: accessGroupIdOrName`); + throw new Error(`Missing required path parameter: accessGroupIdOrName`) } if (!projectId) { - throw new Error(`Missing required path parameter: projectId`); + throw new Error(`Missing required path parameter: projectId`) } const data = await request< @@ -1486,13 +1509,8 @@ export async function readAccessGroupProject({ Record, ReadAccessGroupProjectQueryParams, ReadAccessGroupProjectPathParams - >({ - method: 'GET', - url: `/v1/access-groups/${accessGroupIdOrName}/projects/${projectId}`, - queryParams, - ...requestConfig - }); - return data; + >({ method: 'GET', url: `/v1/access-groups/${accessGroupIdOrName}/projects/${projectId}`, queryParams, ...requestConfig }) + return data } /** @@ -1503,20 +1521,20 @@ export async function readAccessGroupProject({ export async function updateAccessGroupProject({ pathParams: { accessGroupIdOrName, projectId }, queryParams, - config = {} + config = {}, }: { - pathParams: UpdateAccessGroupProjectPathParams; - queryParams?: UpdateAccessGroupProjectQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: UpdateAccessGroupProjectPathParams + queryParams?: UpdateAccessGroupProjectQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!accessGroupIdOrName) { - throw new Error(`Missing required path parameter: accessGroupIdOrName`); + throw new Error(`Missing required path parameter: accessGroupIdOrName`) } if (!projectId) { - throw new Error(`Missing required path parameter: projectId`); + throw new Error(`Missing required path parameter: projectId`) } const data = await request< @@ -1531,9 +1549,9 @@ export async function updateAccessGroupProject({ url: `/v1/access-groups/${accessGroupIdOrName}/projects/${projectId}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return data } /** @@ -1544,20 +1562,20 @@ export async function updateAccessGroupProject({ export async function deleteAccessGroupProject({ pathParams: { accessGroupIdOrName, projectId }, queryParams, - config = {} + config = {}, }: { - pathParams: DeleteAccessGroupProjectPathParams; - queryParams?: DeleteAccessGroupProjectQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: DeleteAccessGroupProjectPathParams + queryParams?: DeleteAccessGroupProjectQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!accessGroupIdOrName) { - throw new Error(`Missing required path parameter: accessGroupIdOrName`); + throw new Error(`Missing required path parameter: accessGroupIdOrName`) } if (!projectId) { - throw new Error(`Missing required path parameter: projectId`); + throw new Error(`Missing required path parameter: projectId`) } const data = await request< @@ -1567,13 +1585,8 @@ export async function deleteAccessGroupProject({ Record, DeleteAccessGroupProjectQueryParams, DeleteAccessGroupProjectPathParams - >({ - method: 'DELETE', - url: `/v1/access-groups/${accessGroupIdOrName}/projects/${projectId}`, - queryParams, - ...requestConfig - }); - return data; + >({ method: 'DELETE', url: `/v1/access-groups/${accessGroupIdOrName}/projects/${projectId}`, queryParams, ...requestConfig }) + return data } /** @@ -1584,13 +1597,13 @@ export async function deleteAccessGroupProject({ export async function recordEvents({ queryParams, headers, - config = {} + config = {}, }: { - queryParams?: RecordEventsQueryParams | undefined; - headers?: RecordEventsHeaderParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: RecordEventsQueryParams | undefined + headers?: RecordEventsHeaderParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< RecordEventsMutationResponse, @@ -1604,9 +1617,9 @@ export async function recordEvents({ url: `/v8/artifacts/events`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...headers, ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationJson', ...headers, ...requestConfig.headers }, + }) + return data } /** @@ -1616,12 +1629,12 @@ export async function recordEvents({ */ export async function status({ queryParams, - config = {} + config = {}, }: { - queryParams?: StatusQueryParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: StatusQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< StatusQueryResponse, @@ -1630,8 +1643,8 @@ export async function status({ Record, StatusQueryParams, Record - >({ method: 'GET', url: `/v8/artifacts/status`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v8/artifacts/status`, queryParams, ...requestConfig }) + return data } /** @@ -1643,17 +1656,17 @@ export async function uploadArtifact({ pathParams: { hash }, headers, queryParams, - config = {} + config = {}, }: { - pathParams: UploadArtifactPathParams; - headers: UploadArtifactHeaderParams; - queryParams?: UploadArtifactQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: UploadArtifactPathParams + headers: UploadArtifactHeaderParams + queryParams?: UploadArtifactQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!hash) { - throw new Error(`Missing required path parameter: hash`); + throw new Error(`Missing required path parameter: hash`) } const data = await request< @@ -1668,9 +1681,9 @@ export async function uploadArtifact({ url: `/v8/artifacts/${hash}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationOctetStream', ...headers, ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationOctetStream', ...headers, ...requestConfig.headers }, + }) + return data } /** @@ -1682,36 +1695,28 @@ export async function downloadArtifact({ pathParams: { hash }, queryParams, headers, - config = {} + config = {}, }: { - pathParams: DownloadArtifactPathParams; - queryParams?: DownloadArtifactQueryParams | undefined; - headers?: DownloadArtifactHeaderParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: DownloadArtifactPathParams + queryParams?: DownloadArtifactQueryParams | undefined + headers?: DownloadArtifactHeaderParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!hash) { - throw new Error(`Missing required path parameter: hash`); + throw new Error(`Missing required path parameter: hash`) } const data = await request< DownloadArtifactQueryResponse, - ErrorWrapper< - DownloadArtifact400 | DownloadArtifact401 | DownloadArtifact402 | DownloadArtifact403 | DownloadArtifact404 - >, + ErrorWrapper, null, DownloadArtifactHeaderParams, DownloadArtifactQueryParams, DownloadArtifactPathParams - >({ - method: 'GET', - url: `/v8/artifacts/${hash}`, - queryParams, - ...requestConfig, - headers: { ...headers, ...requestConfig.headers } - }); - return data; + >({ method: 'GET', url: `/v8/artifacts/${hash}`, queryParams, ...requestConfig, headers: { ...headers, ...requestConfig.headers } }) + return data } /** @@ -1721,12 +1726,12 @@ export async function downloadArtifact({ */ export async function artifactQuery({ queryParams, - config = {} + config = {}, }: { - queryParams?: ArtifactQueryQueryParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: ArtifactQueryQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< ArtifactQueryMutationResponse, @@ -1735,14 +1740,8 @@ export async function artifactQuery({ Record, ArtifactQueryQueryParams, Record - >({ - method: 'POST', - url: `/v8/artifacts`, - queryParams, - ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + >({ method: 'POST', url: `/v8/artifacts`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) + return data } /** @@ -1753,16 +1752,16 @@ export async function artifactQuery({ export async function createCheck({ pathParams: { deploymentId }, queryParams, - config = {} + config = {}, }: { - pathParams: CreateCheckPathParams; - queryParams?: CreateCheckQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: CreateCheckPathParams + queryParams?: CreateCheckQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!deploymentId) { - throw new Error(`Missing required path parameter: deploymentId`); + throw new Error(`Missing required path parameter: deploymentId`) } const data = await request< @@ -1777,9 +1776,9 @@ export async function createCheck({ url: `/v1/deployments/${deploymentId}/checks`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return data } /** @@ -1790,16 +1789,16 @@ export async function createCheck({ export async function getAllChecks({ pathParams: { deploymentId }, queryParams, - config = {} + config = {}, }: { - pathParams: GetAllChecksPathParams; - queryParams?: GetAllChecksQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetAllChecksPathParams + queryParams?: GetAllChecksQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!deploymentId) { - throw new Error(`Missing required path parameter: deploymentId`); + throw new Error(`Missing required path parameter: deploymentId`) } const data = await request< @@ -1809,8 +1808,8 @@ export async function getAllChecks({ Record, GetAllChecksQueryParams, GetAllChecksPathParams - >({ method: 'GET', url: `/v1/deployments/${deploymentId}/checks`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v1/deployments/${deploymentId}/checks`, queryParams, ...requestConfig }) + return data } /** @@ -1821,20 +1820,20 @@ export async function getAllChecks({ export async function getCheck({ pathParams: { deploymentId, checkId }, queryParams, - config = {} + config = {}, }: { - pathParams: GetCheckPathParams; - queryParams?: GetCheckQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetCheckPathParams + queryParams?: GetCheckQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!deploymentId) { - throw new Error(`Missing required path parameter: deploymentId`); + throw new Error(`Missing required path parameter: deploymentId`) } if (!checkId) { - throw new Error(`Missing required path parameter: checkId`); + throw new Error(`Missing required path parameter: checkId`) } const data = await request< @@ -1844,8 +1843,8 @@ export async function getCheck({ Record, GetCheckQueryParams, GetCheckPathParams - >({ method: 'GET', url: `/v1/deployments/${deploymentId}/checks/${checkId}`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v1/deployments/${deploymentId}/checks/${checkId}`, queryParams, ...requestConfig }) + return data } /** @@ -1856,20 +1855,20 @@ export async function getCheck({ export async function updateCheck({ pathParams: { deploymentId, checkId }, queryParams, - config = {} + config = {}, }: { - pathParams: UpdateCheckPathParams; - queryParams?: UpdateCheckQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: UpdateCheckPathParams + queryParams?: UpdateCheckQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!deploymentId) { - throw new Error(`Missing required path parameter: deploymentId`); + throw new Error(`Missing required path parameter: deploymentId`) } if (!checkId) { - throw new Error(`Missing required path parameter: checkId`); + throw new Error(`Missing required path parameter: checkId`) } const data = await request< @@ -1884,9 +1883,9 @@ export async function updateCheck({ url: `/v1/deployments/${deploymentId}/checks/${checkId}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return data } /** @@ -1897,20 +1896,20 @@ export async function updateCheck({ export async function rerequestCheck({ pathParams: { deploymentId, checkId }, queryParams, - config = {} + config = {}, }: { - pathParams: RerequestCheckPathParams; - queryParams?: RerequestCheckQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: RerequestCheckPathParams + queryParams?: RerequestCheckQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!deploymentId) { - throw new Error(`Missing required path parameter: deploymentId`); + throw new Error(`Missing required path parameter: deploymentId`) } if (!checkId) { - throw new Error(`Missing required path parameter: checkId`); + throw new Error(`Missing required path parameter: checkId`) } const data = await request< @@ -1920,13 +1919,8 @@ export async function rerequestCheck({ Record, RerequestCheckQueryParams, RerequestCheckPathParams - >({ - method: 'POST', - url: `/v1/deployments/${deploymentId}/checks/${checkId}/rerequest`, - queryParams, - ...requestConfig - }); - return data; + >({ method: 'POST', url: `/v1/deployments/${deploymentId}/checks/${checkId}/rerequest`, queryParams, ...requestConfig }) + return data } /** @@ -1934,12 +1928,12 @@ export async function rerequestCheck({ */ export async function purgeAllDataCache({ queryParams, - config = {} + config = {}, }: { - queryParams: PurgeAllDataCacheQueryParams; - config?: Partial & { client?: typeof client }; + queryParams: PurgeAllDataCacheQueryParams + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< PurgeAllDataCacheMutationResponse, @@ -1948,39 +1942,25 @@ export async function purgeAllDataCache({ Record, PurgeAllDataCacheQueryParams, Record - >({ method: 'DELETE', url: `/data-cache/purge-all`, queryParams, ...requestConfig }); - return data; + >({ method: 'DELETE', url: `/data-cache/purge-all`, queryParams, ...requestConfig }) + return data } /** * {@link /data-cache/billing-settings} */ -export async function updateDataCacheBillingSettings({ - config = {} -}: { - config?: Partial & { client?: typeof client }; -}) { - const { client: request = client, ...requestConfig } = config; +export async function updateDataCacheBillingSettings({ config = {} }: { config?: Partial & { client?: typeof client } }) { + const { client: request = client, ...requestConfig } = config const data = await request< UpdateDataCacheBillingSettingsMutationResponse, - ErrorWrapper< - | UpdateDataCacheBillingSettings400 - | UpdateDataCacheBillingSettings401 - | UpdateDataCacheBillingSettings403 - | UpdateDataCacheBillingSettings404 - >, + ErrorWrapper, null, Record, Record, Record - >({ - method: 'PATCH', - url: `/data-cache/billing-settings`, - ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + >({ method: 'PATCH', url: `/data-cache/billing-settings`, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) + return data } /** @@ -1991,23 +1971,21 @@ export async function updateDataCacheBillingSettings({ export async function updateProjectDataCache({ pathParams: { projectId }, queryParams, - config = {} + config = {}, }: { - pathParams: UpdateProjectDataCachePathParams; - queryParams?: UpdateProjectDataCacheQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: UpdateProjectDataCachePathParams + queryParams?: UpdateProjectDataCacheQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!projectId) { - throw new Error(`Missing required path parameter: projectId`); + throw new Error(`Missing required path parameter: projectId`) } const data = await request< UpdateProjectDataCacheMutationResponse, - ErrorWrapper< - UpdateProjectDataCache400 | UpdateProjectDataCache401 | UpdateProjectDataCache403 | UpdateProjectDataCache404 - >, + ErrorWrapper, null, Record, UpdateProjectDataCacheQueryParams, @@ -2017,9 +1995,9 @@ export async function updateProjectDataCache({ url: `/v1/data-cache/projects/${projectId}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return data } /** @@ -2030,16 +2008,16 @@ export async function updateProjectDataCache({ export async function getDeploymentEvents({ pathParams: { idOrUrl }, queryParams, - config = {} + config = {}, }: { - pathParams: GetDeploymentEventsPathParams; - queryParams?: GetDeploymentEventsQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetDeploymentEventsPathParams + queryParams?: GetDeploymentEventsQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrUrl) { - throw new Error(`Missing required path parameter: idOrUrl`); + throw new Error(`Missing required path parameter: idOrUrl`) } const data = await request< @@ -2049,8 +2027,8 @@ export async function getDeploymentEvents({ Record, GetDeploymentEventsQueryParams, GetDeploymentEventsPathParams - >({ method: 'GET', url: `/v3/deployments/${idOrUrl}/events`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v3/deployments/${idOrUrl}/events`, queryParams, ...requestConfig }) + return data } /** @@ -2060,34 +2038,32 @@ export async function getDeploymentEvents({ */ export async function updateIntegrationDeploymentAction({ pathParams: { deploymentId, integrationConfigurationId, resourceId, action }, - config = {} + config = {}, }: { - pathParams: UpdateIntegrationDeploymentActionPathParams; - config?: Partial & { client?: typeof client }; + pathParams: UpdateIntegrationDeploymentActionPathParams + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!deploymentId) { - throw new Error(`Missing required path parameter: deploymentId`); + throw new Error(`Missing required path parameter: deploymentId`) } if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`); + throw new Error(`Missing required path parameter: integrationConfigurationId`) } if (!resourceId) { - throw new Error(`Missing required path parameter: resourceId`); + throw new Error(`Missing required path parameter: resourceId`) } if (!action) { - throw new Error(`Missing required path parameter: action`); + throw new Error(`Missing required path parameter: action`) } const data = await request< UpdateIntegrationDeploymentActionMutationResponse, - ErrorWrapper< - UpdateIntegrationDeploymentAction400 | UpdateIntegrationDeploymentAction401 | UpdateIntegrationDeploymentAction403 - >, + ErrorWrapper, null, Record, Record, @@ -2096,9 +2072,9 @@ export async function updateIntegrationDeploymentAction({ method: 'PATCH', url: `/v1/deployments/${deploymentId}/integrations/${integrationConfigurationId}/resources/${resourceId}/actions/${action}`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return data } /** @@ -2109,16 +2085,16 @@ export async function updateIntegrationDeploymentAction({ export async function getDeployment({ pathParams: { idOrUrl }, queryParams, - config = {} + config = {}, }: { - pathParams: GetDeploymentPathParams; - queryParams?: GetDeploymentQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetDeploymentPathParams + queryParams?: GetDeploymentQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrUrl) { - throw new Error(`Missing required path parameter: idOrUrl`); + throw new Error(`Missing required path parameter: idOrUrl`) } const data = await request< @@ -2128,8 +2104,8 @@ export async function getDeployment({ Record, GetDeploymentQueryParams, GetDeploymentPathParams - >({ method: 'GET', url: `/v13/deployments/${idOrUrl}`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v13/deployments/${idOrUrl}`, queryParams, ...requestConfig }) + return data } /** @@ -2139,36 +2115,24 @@ export async function getDeployment({ */ export async function createDeployment({ queryParams, - config = {} + config = {}, }: { - queryParams?: CreateDeploymentQueryParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: CreateDeploymentQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< CreateDeploymentMutationResponse, ErrorWrapper< - | CreateDeployment400 - | CreateDeployment401 - | CreateDeployment402 - | CreateDeployment403 - | CreateDeployment404 - | CreateDeployment409 - | CreateDeployment500 + CreateDeployment400 | CreateDeployment401 | CreateDeployment402 | CreateDeployment403 | CreateDeployment404 | CreateDeployment409 | CreateDeployment500 >, null, Record, CreateDeploymentQueryParams, Record - >({ - method: 'POST', - url: `/v13/deployments`, - queryParams, - ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + >({ method: 'POST', url: `/v13/deployments`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) + return data } /** @@ -2179,16 +2143,16 @@ export async function createDeployment({ export async function cancelDeployment({ pathParams: { id }, queryParams, - config = {} + config = {}, }: { - pathParams: CancelDeploymentPathParams; - queryParams?: CancelDeploymentQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: CancelDeploymentPathParams + queryParams?: CancelDeploymentQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!id) { - throw new Error(`Missing required path parameter: id`); + throw new Error(`Missing required path parameter: id`) } const data = await request< @@ -2198,8 +2162,8 @@ export async function cancelDeployment({ Record, CancelDeploymentQueryParams, CancelDeploymentPathParams - >({ method: 'PATCH', url: `/v12/deployments/${id}/cancel`, queryParams, ...requestConfig }); - return data; + >({ method: 'PATCH', url: `/v12/deployments/${id}/cancel`, queryParams, ...requestConfig }) + return data } /** @@ -2209,28 +2173,22 @@ export async function cancelDeployment({ */ export async function buyDomain({ queryParams, - config = {} + config = {}, }: { - queryParams?: BuyDomainQueryParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: BuyDomainQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< BuyDomainMutationResponse, - ErrorWrapper, + ErrorWrapper, null, Record, BuyDomainQueryParams, Record - >({ - method: 'POST', - url: `/v5/domains/buy`, - queryParams, - ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + >({ method: 'POST', url: `/v5/domains/buy`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) + return data } /** @@ -2240,22 +2198,22 @@ export async function buyDomain({ */ export async function checkDomainPrice({ queryParams, - config = {} + config = {}, }: { - queryParams: CheckDomainPriceQueryParams; - config?: Partial & { client?: typeof client }; + queryParams: CheckDomainPriceQueryParams + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< CheckDomainPriceQueryResponse, - ErrorWrapper, + ErrorWrapper, null, Record, CheckDomainPriceQueryParams, Record - >({ method: 'GET', url: `/v4/domains/price`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v4/domains/price`, queryParams, ...requestConfig }) + return data } /** @@ -2265,24 +2223,22 @@ export async function checkDomainPrice({ */ export async function checkDomainStatus({ queryParams, - config = {} + config = {}, }: { - queryParams: CheckDomainStatusQueryParams; - config?: Partial & { client?: typeof client }; + queryParams: CheckDomainStatusQueryParams + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< CheckDomainStatusQueryResponse, - ErrorWrapper< - CheckDomainStatus400 | CheckDomainStatus401 | CheckDomainStatus403 | CheckDomainStatus408 | CheckDomainStatus500 - >, + ErrorWrapper, null, Record, CheckDomainStatusQueryParams, Record - >({ method: 'GET', url: `/v4/domains/status`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v4/domains/status`, queryParams, ...requestConfig }) + return data } /** @@ -2293,16 +2249,16 @@ export async function checkDomainStatus({ export async function getRecords({ pathParams: { domain }, queryParams, - config = {} + config = {}, }: { - pathParams: GetRecordsPathParams; - queryParams?: GetRecordsQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetRecordsPathParams + queryParams?: GetRecordsQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!domain) { - throw new Error(`Missing required path parameter: domain`); + throw new Error(`Missing required path parameter: domain`) } const data = await request< @@ -2312,8 +2268,8 @@ export async function getRecords({ Record, GetRecordsQueryParams, GetRecordsPathParams - >({ method: 'GET', url: `/v4/domains/${domain}/records`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v4/domains/${domain}/records`, queryParams, ...requestConfig }) + return data } /** @@ -2324,23 +2280,21 @@ export async function getRecords({ export async function createRecord({ pathParams: { domain }, queryParams, - config = {} + config = {}, }: { - pathParams: CreateRecordPathParams; - queryParams?: CreateRecordQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: CreateRecordPathParams + queryParams?: CreateRecordQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!domain) { - throw new Error(`Missing required path parameter: domain`); + throw new Error(`Missing required path parameter: domain`) } const data = await request< CreateRecordMutationResponse, - ErrorWrapper< - CreateRecord400 | CreateRecord401 | CreateRecord402 | CreateRecord403 | CreateRecord404 | CreateRecord409 - >, + ErrorWrapper, null, Record, CreateRecordQueryParams, @@ -2350,9 +2304,9 @@ export async function createRecord({ url: `/v2/domains/${domain}/records`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return data } /** @@ -2363,23 +2317,21 @@ export async function createRecord({ export async function updateRecord({ pathParams: { recordId }, queryParams, - config = {} + config = {}, }: { - pathParams: UpdateRecordPathParams; - queryParams?: UpdateRecordQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: UpdateRecordPathParams + queryParams?: UpdateRecordQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!recordId) { - throw new Error(`Missing required path parameter: recordId`); + throw new Error(`Missing required path parameter: recordId`) } const data = await request< UpdateRecordMutationResponse, - ErrorWrapper< - UpdateRecord400 | UpdateRecord401 | UpdateRecord402 | UpdateRecord403 | UpdateRecord404 | UpdateRecord409 - >, + ErrorWrapper, null, Record, UpdateRecordQueryParams, @@ -2389,9 +2341,9 @@ export async function updateRecord({ url: `/v1/domains/records/${recordId}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return data } /** @@ -2402,20 +2354,20 @@ export async function updateRecord({ export async function removeRecord({ pathParams: { domain, recordId }, queryParams, - config = {} + config = {}, }: { - pathParams: RemoveRecordPathParams; - queryParams?: RemoveRecordQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: RemoveRecordPathParams + queryParams?: RemoveRecordQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!domain) { - throw new Error(`Missing required path parameter: domain`); + throw new Error(`Missing required path parameter: domain`) } if (!recordId) { - throw new Error(`Missing required path parameter: recordId`); + throw new Error(`Missing required path parameter: recordId`) } const data = await request< @@ -2425,8 +2377,8 @@ export async function removeRecord({ Record, RemoveRecordQueryParams, RemoveRecordPathParams - >({ method: 'DELETE', url: `/v2/domains/${domain}/records/${recordId}`, queryParams, ...requestConfig }); - return data; + >({ method: 'DELETE', url: `/v2/domains/${domain}/records/${recordId}`, queryParams, ...requestConfig }) + return data } /** @@ -2437,16 +2389,16 @@ export async function removeRecord({ export async function getDomainTransfer({ pathParams: { domain }, queryParams, - config = {} + config = {}, }: { - pathParams: GetDomainTransferPathParams; - queryParams?: GetDomainTransferQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetDomainTransferPathParams + queryParams?: GetDomainTransferQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!domain) { - throw new Error(`Missing required path parameter: domain`); + throw new Error(`Missing required path parameter: domain`) } const data = await request< @@ -2456,8 +2408,8 @@ export async function getDomainTransfer({ Record, GetDomainTransferQueryParams, GetDomainTransferPathParams - >({ method: 'GET', url: `/v1/domains/${domain}/registry`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v1/domains/${domain}/registry`, queryParams, ...requestConfig }) + return data } /** @@ -2468,27 +2420,27 @@ export async function getDomainTransfer({ export async function getDomainConfig({ pathParams: { domain }, queryParams, - config = {} + config = {}, }: { - pathParams: GetDomainConfigPathParams; - queryParams?: GetDomainConfigQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetDomainConfigPathParams + queryParams?: GetDomainConfigQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!domain) { - throw new Error(`Missing required path parameter: domain`); + throw new Error(`Missing required path parameter: domain`) } const data = await request< GetDomainConfigQueryResponse, - ErrorWrapper, + ErrorWrapper, null, Record, GetDomainConfigQueryParams, GetDomainConfigPathParams - >({ method: 'GET', url: `/v6/domains/${domain}/config`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v6/domains/${domain}/config`, queryParams, ...requestConfig }) + return data } /** @@ -2499,16 +2451,16 @@ export async function getDomainConfig({ export async function getDomain({ pathParams: { domain }, queryParams, - config = {} + config = {}, }: { - pathParams: GetDomainPathParams; - queryParams?: GetDomainQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetDomainPathParams + queryParams?: GetDomainQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!domain) { - throw new Error(`Missing required path parameter: domain`); + throw new Error(`Missing required path parameter: domain`) } const data = await request< @@ -2518,8 +2470,8 @@ export async function getDomain({ Record, GetDomainQueryParams, GetDomainPathParams - >({ method: 'GET', url: `/v5/domains/${domain}`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v5/domains/${domain}`, queryParams, ...requestConfig }) + return data } /** @@ -2529,12 +2481,12 @@ export async function getDomain({ */ export async function getDomains({ queryParams, - config = {} + config = {}, }: { - queryParams?: GetDomainsQueryParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: GetDomainsQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< GetDomainsQueryResponse, @@ -2543,8 +2495,8 @@ export async function getDomains({ Record, GetDomainsQueryParams, Record - >({ method: 'GET', url: `/v5/domains`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v5/domains`, queryParams, ...requestConfig }) + return data } /** @@ -2554,12 +2506,12 @@ export async function getDomains({ */ export async function createOrTransferDomain({ queryParams, - config = {} + config = {}, }: { - queryParams?: CreateOrTransferDomainQueryParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: CreateOrTransferDomainQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< CreateOrTransferDomainMutationResponse, @@ -2576,14 +2528,8 @@ export async function createOrTransferDomain({ Record, CreateOrTransferDomainQueryParams, Record - >({ - method: 'POST', - url: `/v7/domains`, - queryParams, - ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + >({ method: 'POST', url: `/v7/domains`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) + return data } /** @@ -2594,33 +2540,27 @@ export async function createOrTransferDomain({ export async function patchDomain({ pathParams: { domain }, queryParams, - config = {} + config = {}, }: { - pathParams: PatchDomainPathParams; - queryParams?: PatchDomainQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: PatchDomainPathParams + queryParams?: PatchDomainQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!domain) { - throw new Error(`Missing required path parameter: domain`); + throw new Error(`Missing required path parameter: domain`) } const data = await request< PatchDomainMutationResponse, - ErrorWrapper, + ErrorWrapper, null, Record, PatchDomainQueryParams, PatchDomainPathParams - >({ - method: 'PATCH', - url: `/v3/domains/${domain}`, - queryParams, - ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + >({ method: 'PATCH', url: `/v3/domains/${domain}`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) + return data } /** @@ -2631,16 +2571,16 @@ export async function patchDomain({ export async function deleteDomain({ pathParams: { domain }, queryParams, - config = {} + config = {}, }: { - pathParams: DeleteDomainPathParams; - queryParams?: DeleteDomainQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: DeleteDomainPathParams + queryParams?: DeleteDomainQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!domain) { - throw new Error(`Missing required path parameter: domain`); + throw new Error(`Missing required path parameter: domain`) } const data = await request< @@ -2650,8 +2590,8 @@ export async function deleteDomain({ Record, DeleteDomainQueryParams, DeleteDomainPathParams - >({ method: 'DELETE', url: `/v6/domains/${domain}`, queryParams, ...requestConfig }); - return data; + >({ method: 'DELETE', url: `/v6/domains/${domain}`, queryParams, ...requestConfig }) + return data } /** @@ -2661,12 +2601,12 @@ export async function deleteDomain({ */ export async function getEdgeConfigs({ queryParams, - config = {} + config = {}, }: { - queryParams?: GetEdgeConfigsQueryParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: GetEdgeConfigsQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< GetEdgeConfigsQueryResponse, @@ -2675,8 +2615,8 @@ export async function getEdgeConfigs({ Record, GetEdgeConfigsQueryParams, Record - >({ method: 'GET', url: `/v1/edge-config`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v1/edge-config`, queryParams, ...requestConfig }) + return data } /** @@ -2686,12 +2626,12 @@ export async function getEdgeConfigs({ */ export async function createEdgeConfig({ queryParams, - config = {} + config = {}, }: { - queryParams?: CreateEdgeConfigQueryParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: CreateEdgeConfigQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< CreateEdgeConfigMutationResponse, @@ -2700,14 +2640,8 @@ export async function createEdgeConfig({ Record, CreateEdgeConfigQueryParams, Record - >({ - method: 'POST', - url: `/v1/edge-config`, - queryParams, - ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + >({ method: 'POST', url: `/v1/edge-config`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) + return data } /** @@ -2718,16 +2652,16 @@ export async function createEdgeConfig({ export async function getEdgeConfig({ pathParams: { edgeConfigId }, queryParams, - config = {} + config = {}, }: { - pathParams: GetEdgeConfigPathParams; - queryParams?: GetEdgeConfigQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetEdgeConfigPathParams + queryParams?: GetEdgeConfigQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`); + throw new Error(`Missing required path parameter: edgeConfigId`) } const data = await request< @@ -2737,8 +2671,8 @@ export async function getEdgeConfig({ Record, GetEdgeConfigQueryParams, GetEdgeConfigPathParams - >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}`, queryParams, ...requestConfig }) + return data } /** @@ -2749,23 +2683,21 @@ export async function getEdgeConfig({ export async function updateEdgeConfig({ pathParams: { edgeConfigId }, queryParams, - config = {} + config = {}, }: { - pathParams: UpdateEdgeConfigPathParams; - queryParams?: UpdateEdgeConfigQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: UpdateEdgeConfigPathParams + queryParams?: UpdateEdgeConfigQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`); + throw new Error(`Missing required path parameter: edgeConfigId`) } const data = await request< UpdateEdgeConfigMutationResponse, - ErrorWrapper< - UpdateEdgeConfig400 | UpdateEdgeConfig401 | UpdateEdgeConfig402 | UpdateEdgeConfig403 | UpdateEdgeConfig404 - >, + ErrorWrapper, null, Record, UpdateEdgeConfigQueryParams, @@ -2775,9 +2707,9 @@ export async function updateEdgeConfig({ url: `/v1/edge-config/${edgeConfigId}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return data } /** @@ -2788,16 +2720,16 @@ export async function updateEdgeConfig({ export async function deleteEdgeConfig({ pathParams: { edgeConfigId }, queryParams, - config = {} + config = {}, }: { - pathParams: DeleteEdgeConfigPathParams; - queryParams?: DeleteEdgeConfigQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: DeleteEdgeConfigPathParams + queryParams?: DeleteEdgeConfigQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`); + throw new Error(`Missing required path parameter: edgeConfigId`) } const data = await request< @@ -2807,8 +2739,8 @@ export async function deleteEdgeConfig({ Record, DeleteEdgeConfigQueryParams, DeleteEdgeConfigPathParams - >({ method: 'DELETE', url: `/v1/edge-config/${edgeConfigId}`, queryParams, ...requestConfig }); - return data; + >({ method: 'DELETE', url: `/v1/edge-config/${edgeConfigId}`, queryParams, ...requestConfig }) + return data } /** @@ -2819,16 +2751,16 @@ export async function deleteEdgeConfig({ export async function getEdgeConfigItems({ pathParams: { edgeConfigId }, queryParams, - config = {} + config = {}, }: { - pathParams: GetEdgeConfigItemsPathParams; - queryParams?: GetEdgeConfigItemsQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetEdgeConfigItemsPathParams + queryParams?: GetEdgeConfigItemsQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`); + throw new Error(`Missing required path parameter: edgeConfigId`) } const data = await request< @@ -2838,8 +2770,8 @@ export async function getEdgeConfigItems({ Record, GetEdgeConfigItemsQueryParams, GetEdgeConfigItemsPathParams - >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/items`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/items`, queryParams, ...requestConfig }) + return data } /** @@ -2850,16 +2782,16 @@ export async function getEdgeConfigItems({ export async function patchEdgeConfigItems({ pathParams: { edgeConfigId }, queryParams, - config = {} + config = {}, }: { - pathParams: PatchEdgeConfigItemsPathParams; - queryParams?: PatchEdgeConfigItemsQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: PatchEdgeConfigItemsPathParams + queryParams?: PatchEdgeConfigItemsQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`); + throw new Error(`Missing required path parameter: edgeConfigId`) } const data = await request< @@ -2871,6 +2803,7 @@ export async function patchEdgeConfigItems({ | PatchEdgeConfigItems403 | PatchEdgeConfigItems404 | PatchEdgeConfigItems409 + | PatchEdgeConfigItems412 >, null, Record, @@ -2881,9 +2814,9 @@ export async function patchEdgeConfigItems({ url: `/v1/edge-config/${edgeConfigId}/items`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return data } /** @@ -2894,16 +2827,16 @@ export async function patchEdgeConfigItems({ export async function getEdgeConfigSchema({ pathParams: { edgeConfigId }, queryParams, - config = {} + config = {}, }: { - pathParams: GetEdgeConfigSchemaPathParams; - queryParams?: GetEdgeConfigSchemaQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetEdgeConfigSchemaPathParams + queryParams?: GetEdgeConfigSchemaQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`); + throw new Error(`Missing required path parameter: edgeConfigId`) } const data = await request< @@ -2913,8 +2846,8 @@ export async function getEdgeConfigSchema({ Record, GetEdgeConfigSchemaQueryParams, GetEdgeConfigSchemaPathParams - >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/schema`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/schema`, queryParams, ...requestConfig }) + return data } /** @@ -2925,27 +2858,21 @@ export async function getEdgeConfigSchema({ export async function patchEdgeConfigSchema({ pathParams: { edgeConfigId }, queryParams, - config = {} + config = {}, }: { - pathParams: PatchEdgeConfigSchemaPathParams; - queryParams?: PatchEdgeConfigSchemaQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: PatchEdgeConfigSchemaPathParams + queryParams?: PatchEdgeConfigSchemaQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`); + throw new Error(`Missing required path parameter: edgeConfigId`) } const data = await request< PatchEdgeConfigSchemaMutationResponse, - ErrorWrapper< - | PatchEdgeConfigSchema400 - | PatchEdgeConfigSchema401 - | PatchEdgeConfigSchema402 - | PatchEdgeConfigSchema403 - | PatchEdgeConfigSchema404 - >, + ErrorWrapper, null, Record, PatchEdgeConfigSchemaQueryParams, @@ -2955,9 +2882,9 @@ export async function patchEdgeConfigSchema({ url: `/v1/edge-config/${edgeConfigId}/schema`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return data } /** @@ -2968,33 +2895,27 @@ export async function patchEdgeConfigSchema({ export async function deleteEdgeConfigSchema({ pathParams: { edgeConfigId }, queryParams, - config = {} + config = {}, }: { - pathParams: DeleteEdgeConfigSchemaPathParams; - queryParams?: DeleteEdgeConfigSchemaQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: DeleteEdgeConfigSchemaPathParams + queryParams?: DeleteEdgeConfigSchemaQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`); + throw new Error(`Missing required path parameter: edgeConfigId`) } const data = await request< DeleteEdgeConfigSchemaMutationResponse, - ErrorWrapper< - | DeleteEdgeConfigSchema400 - | DeleteEdgeConfigSchema401 - | DeleteEdgeConfigSchema402 - | DeleteEdgeConfigSchema403 - | DeleteEdgeConfigSchema404 - >, + ErrorWrapper, null, Record, DeleteEdgeConfigSchemaQueryParams, DeleteEdgeConfigSchemaPathParams - >({ method: 'DELETE', url: `/v1/edge-config/${edgeConfigId}/schema`, queryParams, ...requestConfig }); - return data; + >({ method: 'DELETE', url: `/v1/edge-config/${edgeConfigId}/schema`, queryParams, ...requestConfig }) + return data } /** @@ -3005,20 +2926,20 @@ export async function deleteEdgeConfigSchema({ export async function getEdgeConfigItem({ pathParams: { edgeConfigId, edgeConfigItemKey }, queryParams, - config = {} + config = {}, }: { - pathParams: GetEdgeConfigItemPathParams; - queryParams?: GetEdgeConfigItemQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetEdgeConfigItemPathParams + queryParams?: GetEdgeConfigItemQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`); + throw new Error(`Missing required path parameter: edgeConfigId`) } if (!edgeConfigItemKey) { - throw new Error(`Missing required path parameter: edgeConfigItemKey`); + throw new Error(`Missing required path parameter: edgeConfigItemKey`) } const data = await request< @@ -3028,8 +2949,8 @@ export async function getEdgeConfigItem({ Record, GetEdgeConfigItemQueryParams, GetEdgeConfigItemPathParams - >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/item/${edgeConfigItemKey}`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/item/${edgeConfigItemKey}`, queryParams, ...requestConfig }) + return data } /** @@ -3040,16 +2961,16 @@ export async function getEdgeConfigItem({ export async function getEdgeConfigTokens({ pathParams: { edgeConfigId }, queryParams, - config = {} + config = {}, }: { - pathParams: GetEdgeConfigTokensPathParams; - queryParams?: GetEdgeConfigTokensQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetEdgeConfigTokensPathParams + queryParams?: GetEdgeConfigTokensQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`); + throw new Error(`Missing required path parameter: edgeConfigId`) } const data = await request< @@ -3059,8 +2980,8 @@ export async function getEdgeConfigTokens({ Record, GetEdgeConfigTokensQueryParams, GetEdgeConfigTokensPathParams - >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/tokens`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/tokens`, queryParams, ...requestConfig }) + return data } /** @@ -3071,27 +2992,21 @@ export async function getEdgeConfigTokens({ export async function deleteEdgeConfigTokens({ pathParams: { edgeConfigId }, queryParams, - config = {} + config = {}, }: { - pathParams: DeleteEdgeConfigTokensPathParams; - queryParams?: DeleteEdgeConfigTokensQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: DeleteEdgeConfigTokensPathParams + queryParams?: DeleteEdgeConfigTokensQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`); + throw new Error(`Missing required path parameter: edgeConfigId`) } const data = await request< DeleteEdgeConfigTokensMutationResponse, - ErrorWrapper< - | DeleteEdgeConfigTokens400 - | DeleteEdgeConfigTokens401 - | DeleteEdgeConfigTokens402 - | DeleteEdgeConfigTokens403 - | DeleteEdgeConfigTokens404 - >, + ErrorWrapper, null, Record, DeleteEdgeConfigTokensQueryParams, @@ -3101,9 +3016,9 @@ export async function deleteEdgeConfigTokens({ url: `/v1/edge-config/${edgeConfigId}/tokens`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return data } /** @@ -3114,20 +3029,20 @@ export async function deleteEdgeConfigTokens({ export async function getEdgeConfigToken({ pathParams: { edgeConfigId, token }, queryParams, - config = {} + config = {}, }: { - pathParams: GetEdgeConfigTokenPathParams; - queryParams?: GetEdgeConfigTokenQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetEdgeConfigTokenPathParams + queryParams?: GetEdgeConfigTokenQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`); + throw new Error(`Missing required path parameter: edgeConfigId`) } if (!token) { - throw new Error(`Missing required path parameter: token`); + throw new Error(`Missing required path parameter: token`) } const data = await request< @@ -3137,8 +3052,8 @@ export async function getEdgeConfigToken({ Record, GetEdgeConfigTokenQueryParams, GetEdgeConfigTokenPathParams - >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/token/${token}`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/token/${token}`, queryParams, ...requestConfig }) + return data } /** @@ -3149,27 +3064,21 @@ export async function getEdgeConfigToken({ export async function createEdgeConfigToken({ pathParams: { edgeConfigId }, queryParams, - config = {} + config = {}, }: { - pathParams: CreateEdgeConfigTokenPathParams; - queryParams?: CreateEdgeConfigTokenQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: CreateEdgeConfigTokenPathParams + queryParams?: CreateEdgeConfigTokenQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`); + throw new Error(`Missing required path parameter: edgeConfigId`) } const data = await request< CreateEdgeConfigTokenMutationResponse, - ErrorWrapper< - | CreateEdgeConfigToken400 - | CreateEdgeConfigToken401 - | CreateEdgeConfigToken402 - | CreateEdgeConfigToken403 - | CreateEdgeConfigToken404 - >, + ErrorWrapper, null, Record, CreateEdgeConfigTokenQueryParams, @@ -3179,9 +3088,9 @@ export async function createEdgeConfigToken({ url: `/v1/edge-config/${edgeConfigId}/token`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return data } /** @@ -3192,20 +3101,20 @@ export async function createEdgeConfigToken({ export async function getEdgeConfigBackup({ pathParams: { edgeConfigId, edgeConfigBackupVersionId }, queryParams, - config = {} + config = {}, }: { - pathParams: GetEdgeConfigBackupPathParams; - queryParams?: GetEdgeConfigBackupQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetEdgeConfigBackupPathParams + queryParams?: GetEdgeConfigBackupQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`); + throw new Error(`Missing required path parameter: edgeConfigId`) } if (!edgeConfigBackupVersionId) { - throw new Error(`Missing required path parameter: edgeConfigBackupVersionId`); + throw new Error(`Missing required path parameter: edgeConfigBackupVersionId`) } const data = await request< @@ -3215,13 +3124,8 @@ export async function getEdgeConfigBackup({ Record, GetEdgeConfigBackupQueryParams, GetEdgeConfigBackupPathParams - >({ - method: 'GET', - url: `/v1/edge-config/${edgeConfigId}/backups/${edgeConfigBackupVersionId}`, - queryParams, - ...requestConfig - }); - return data; + >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/backups/${edgeConfigBackupVersionId}`, queryParams, ...requestConfig }) + return data } /** @@ -3232,16 +3136,16 @@ export async function getEdgeConfigBackup({ export async function getEdgeConfigBackups({ pathParams: { edgeConfigId }, queryParams, - config = {} + config = {}, }: { - pathParams: GetEdgeConfigBackupsPathParams; - queryParams?: GetEdgeConfigBackupsQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetEdgeConfigBackupsPathParams + queryParams?: GetEdgeConfigBackupsQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`); + throw new Error(`Missing required path parameter: edgeConfigId`) } const data = await request< @@ -3251,8 +3155,8 @@ export async function getEdgeConfigBackups({ Record, GetEdgeConfigBackupsQueryParams, GetEdgeConfigBackupsPathParams - >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/backups`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/backups`, queryParams, ...requestConfig }) + return data } /** @@ -3262,12 +3166,12 @@ export async function getEdgeConfigBackups({ */ export async function listUserEvents({ queryParams, - config = {} + config = {}, }: { - queryParams?: ListUserEventsQueryParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: ListUserEventsQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< ListUserEventsQueryResponse, @@ -3276,8 +3180,46 @@ export async function listUserEvents({ Record, ListUserEventsQueryParams, Record - >({ method: 'GET', url: `/v3/events`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v3/events`, queryParams, ...requestConfig }) + return data +} + +/** + * {@link /v1/integrations/integration/:integrationIdOrSlug/products/:productIdOrSlug/plans} + */ +export async function gETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans({ + pathParams: { integrationIdOrSlug, productIdOrSlug }, + queryParams, + config = {}, +}: { + pathParams: GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansPathParams + queryParams?: GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansQueryParams | undefined + config?: Partial & { client?: typeof client } +}) { + const { client: request = client, ...requestConfig } = config + + if (!integrationIdOrSlug) { + throw new Error(`Missing required path parameter: integrationIdOrSlug`) + } + + if (!productIdOrSlug) { + throw new Error(`Missing required path parameter: productIdOrSlug`) + } + + const data = await request< + GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansQueryResponse, + ErrorWrapper< + | GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans400 + | GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans401 + | GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans403 + | GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans404 + >, + null, + Record, + GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansQueryParams, + GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansPathParams + >({ method: 'GET', url: `/v1/integrations/integration/${integrationIdOrSlug}/products/${productIdOrSlug}/plans`, queryParams, ...requestConfig }) + return data } /** @@ -3287,15 +3229,15 @@ export async function listUserEvents({ */ export async function getAccountInfo({ pathParams: { integrationConfigurationId }, - config = {} + config = {}, }: { - pathParams: GetAccountInfoPathParams; - config?: Partial & { client?: typeof client }; + pathParams: GetAccountInfoPathParams + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`); + throw new Error(`Missing required path parameter: integrationConfigurationId`) } const data = await request< @@ -3305,8 +3247,8 @@ export async function getAccountInfo({ Record, Record, GetAccountInfoPathParams - >({ method: 'GET', url: `/v1/installations/${integrationConfigurationId}/account`, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v1/installations/${integrationConfigurationId}/account`, ...requestConfig }) + return data } /** @@ -3316,19 +3258,19 @@ export async function getAccountInfo({ */ export async function getMember({ pathParams: { integrationConfigurationId, memberId }, - config = {} + config = {}, }: { - pathParams: GetMemberPathParams; - config?: Partial & { client?: typeof client }; + pathParams: GetMemberPathParams + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`); + throw new Error(`Missing required path parameter: integrationConfigurationId`) } if (!memberId) { - throw new Error(`Missing required path parameter: memberId`); + throw new Error(`Missing required path parameter: memberId`) } const data = await request< @@ -3338,8 +3280,8 @@ export async function getMember({ Record, Record, GetMemberPathParams - >({ method: 'GET', url: `/v1/installations/${integrationConfigurationId}/member/${memberId}`, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v1/installations/${integrationConfigurationId}/member/${memberId}`, ...requestConfig }) + return data } /** @@ -3349,15 +3291,15 @@ export async function getMember({ */ export async function createEvent({ pathParams: { integrationConfigurationId }, - config = {} + config = {}, }: { - pathParams: CreateEventPathParams; - config?: Partial & { client?: typeof client }; + pathParams: CreateEventPathParams + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`); + throw new Error(`Missing required path parameter: integrationConfigurationId`) } const data = await request< @@ -3371,9 +3313,9 @@ export async function createEvent({ method: 'POST', url: `/v1/installations/${integrationConfigurationId}/events`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return data } /** @@ -3383,28 +3325,26 @@ export async function createEvent({ */ export async function getIntegrationResources({ pathParams: { integrationConfigurationId }, - config = {} + config = {}, }: { - pathParams: GetIntegrationResourcesPathParams; - config?: Partial & { client?: typeof client }; + pathParams: GetIntegrationResourcesPathParams + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`); + throw new Error(`Missing required path parameter: integrationConfigurationId`) } const data = await request< GetIntegrationResourcesQueryResponse, - ErrorWrapper< - GetIntegrationResources400 | GetIntegrationResources401 | GetIntegrationResources403 | GetIntegrationResources404 - >, + ErrorWrapper, null, Record, Record, GetIntegrationResourcesPathParams - >({ method: 'GET', url: `/v1/installations/${integrationConfigurationId}/resources`, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v1/installations/${integrationConfigurationId}/resources`, ...requestConfig }) + return data } /** @@ -3414,36 +3354,30 @@ export async function getIntegrationResources({ */ export async function getIntegrationResource({ pathParams: { integrationConfigurationId, resourceId }, - config = {} + config = {}, }: { - pathParams: GetIntegrationResourcePathParams; - config?: Partial & { client?: typeof client }; + pathParams: GetIntegrationResourcePathParams + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`); + throw new Error(`Missing required path parameter: integrationConfigurationId`) } if (!resourceId) { - throw new Error(`Missing required path parameter: resourceId`); + throw new Error(`Missing required path parameter: resourceId`) } const data = await request< GetIntegrationResourceQueryResponse, - ErrorWrapper< - GetIntegrationResource400 | GetIntegrationResource401 | GetIntegrationResource403 | GetIntegrationResource404 - >, + ErrorWrapper, null, Record, Record, GetIntegrationResourcePathParams - >({ - method: 'GET', - url: `/v1/installations/${integrationConfigurationId}/resources/${resourceId}`, - ...requestConfig - }); - return data; + >({ method: 'GET', url: `/v1/installations/${integrationConfigurationId}/resources/${resourceId}`, ...requestConfig }) + return data } /** @@ -3453,39 +3387,30 @@ export async function getIntegrationResource({ */ export async function deleteIntegrationResource({ pathParams: { integrationConfigurationId, resourceId }, - config = {} + config = {}, }: { - pathParams: DeleteIntegrationResourcePathParams; - config?: Partial & { client?: typeof client }; + pathParams: DeleteIntegrationResourcePathParams + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`); + throw new Error(`Missing required path parameter: integrationConfigurationId`) } if (!resourceId) { - throw new Error(`Missing required path parameter: resourceId`); + throw new Error(`Missing required path parameter: resourceId`) } const data = await request< DeleteIntegrationResourceMutationResponse, - ErrorWrapper< - | DeleteIntegrationResource400 - | DeleteIntegrationResource401 - | DeleteIntegrationResource403 - | DeleteIntegrationResource404 - >, + ErrorWrapper, null, Record, Record, DeleteIntegrationResourcePathParams - >({ - method: 'DELETE', - url: `/v1/installations/${integrationConfigurationId}/resources/${resourceId}`, - ...requestConfig - }); - return data; + >({ method: 'DELETE', url: `/v1/installations/${integrationConfigurationId}/resources/${resourceId}`, ...requestConfig }) + return data } /** @@ -3495,19 +3420,19 @@ export async function deleteIntegrationResource({ */ export async function importResource({ pathParams: { integrationConfigurationId, resourceId }, - config = {} + config = {}, }: { - pathParams: ImportResourcePathParams; - config?: Partial & { client?: typeof client }; + pathParams: ImportResourcePathParams + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`); + throw new Error(`Missing required path parameter: integrationConfigurationId`) } if (!resourceId) { - throw new Error(`Missing required path parameter: resourceId`); + throw new Error(`Missing required path parameter: resourceId`) } const data = await request< @@ -3521,9 +3446,9 @@ export async function importResource({ method: 'PUT', url: `/v1/installations/${integrationConfigurationId}/resources/${resourceId}`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return data } /** @@ -3533,15 +3458,15 @@ export async function importResource({ */ export async function submitBillingData({ pathParams: { integrationConfigurationId }, - config = {} + config = {}, }: { - pathParams: SubmitBillingDataPathParams; - config?: Partial & { client?: typeof client }; + pathParams: SubmitBillingDataPathParams + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`); + throw new Error(`Missing required path parameter: integrationConfigurationId`) } const data = await request< @@ -3555,9 +3480,9 @@ export async function submitBillingData({ method: 'POST', url: `/v1/installations/${integrationConfigurationId}/billing`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return data } /** @@ -3567,15 +3492,15 @@ export async function submitBillingData({ */ export async function submitInvoice({ pathParams: { integrationConfigurationId }, - config = {} + config = {}, }: { - pathParams: SubmitInvoicePathParams; - config?: Partial & { client?: typeof client }; + pathParams: SubmitInvoicePathParams + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`); + throw new Error(`Missing required path parameter: integrationConfigurationId`) } const data = await request< @@ -3589,9 +3514,9 @@ export async function submitInvoice({ method: 'POST', url: `/v1/installations/${integrationConfigurationId}/billing/invoices`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return data } /** @@ -3601,19 +3526,19 @@ export async function submitInvoice({ */ export async function getInvoice({ pathParams: { integrationConfigurationId, invoiceId }, - config = {} + config = {}, }: { - pathParams: GetInvoicePathParams; - config?: Partial & { client?: typeof client }; + pathParams: GetInvoicePathParams + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`); + throw new Error(`Missing required path parameter: integrationConfigurationId`) } if (!invoiceId) { - throw new Error(`Missing required path parameter: invoiceId`); + throw new Error(`Missing required path parameter: invoiceId`) } const data = await request< @@ -3623,12 +3548,8 @@ export async function getInvoice({ Record, Record, GetInvoicePathParams - >({ - method: 'GET', - url: `/v1/installations/${integrationConfigurationId}/billing/invoices/${invoiceId}`, - ...requestConfig - }); - return data; + >({ method: 'GET', url: `/v1/installations/${integrationConfigurationId}/billing/invoices/${invoiceId}`, ...requestConfig }) + return data } /** @@ -3638,19 +3559,19 @@ export async function getInvoice({ */ export async function updateInvoice({ pathParams: { integrationConfigurationId, invoiceId }, - config = {} + config = {}, }: { - pathParams: UpdateInvoicePathParams; - config?: Partial & { client?: typeof client }; + pathParams: UpdateInvoicePathParams + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`); + throw new Error(`Missing required path parameter: integrationConfigurationId`) } if (!invoiceId) { - throw new Error(`Missing required path parameter: invoiceId`); + throw new Error(`Missing required path parameter: invoiceId`) } const data = await request< @@ -3664,9 +3585,9 @@ export async function updateInvoice({ method: 'POST', url: `/v1/installations/${integrationConfigurationId}/billing/invoices/${invoiceId}/actions`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return data } /** @@ -3676,25 +3597,20 @@ export async function updateInvoice({ */ export async function submitPrepaymentBalances({ pathParams: { integrationConfigurationId }, - config = {} + config = {}, }: { - pathParams: SubmitPrepaymentBalancesPathParams; - config?: Partial & { client?: typeof client }; + pathParams: SubmitPrepaymentBalancesPathParams + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`); + throw new Error(`Missing required path parameter: integrationConfigurationId`) } const data = await request< SubmitPrepaymentBalancesMutationResponse, - ErrorWrapper< - | SubmitPrepaymentBalances400 - | SubmitPrepaymentBalances401 - | SubmitPrepaymentBalances403 - | SubmitPrepaymentBalances404 - >, + ErrorWrapper, null, Record, Record, @@ -3703,9 +3619,9 @@ export async function submitPrepaymentBalances({ method: 'POST', url: `/v1/installations/${integrationConfigurationId}/billing/balance`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return data } /** @@ -3715,30 +3631,28 @@ export async function submitPrepaymentBalances({ */ export async function updateResourceSecrets({ pathParams: { integrationConfigurationId, integrationProductIdOrSlug, resourceId }, - config = {} + config = {}, }: { - pathParams: UpdateResourceSecretsPathParams; - config?: Partial & { client?: typeof client }; + pathParams: UpdateResourceSecretsPathParams + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`); + throw new Error(`Missing required path parameter: integrationConfigurationId`) } if (!integrationProductIdOrSlug) { - throw new Error(`Missing required path parameter: integrationProductIdOrSlug`); + throw new Error(`Missing required path parameter: integrationProductIdOrSlug`) } if (!resourceId) { - throw new Error(`Missing required path parameter: resourceId`); + throw new Error(`Missing required path parameter: resourceId`) } const data = await request< UpdateResourceSecretsMutationResponse, - ErrorWrapper< - UpdateResourceSecrets400 | UpdateResourceSecrets401 | UpdateResourceSecrets403 | UpdateResourceSecrets404 - >, + ErrorWrapper, null, Record, Record, @@ -3747,9 +3661,9 @@ export async function updateResourceSecrets({ method: 'PUT', url: `/v1/installations/${integrationConfigurationId}/products/${integrationProductIdOrSlug}/resources/${resourceId}/secrets`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return data } /** @@ -3759,29 +3673,25 @@ export async function updateResourceSecrets({ */ export async function updateResourceSecretsById({ pathParams: { integrationConfigurationId, resourceId }, - config = {} + config = {}, }: { - pathParams: UpdateResourceSecretsByIdPathParams; - config?: Partial & { client?: typeof client }; + pathParams: UpdateResourceSecretsByIdPathParams + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`); + throw new Error(`Missing required path parameter: integrationConfigurationId`) } if (!resourceId) { - throw new Error(`Missing required path parameter: resourceId`); + throw new Error(`Missing required path parameter: resourceId`) } const data = await request< UpdateResourceSecretsByIdMutationResponse, ErrorWrapper< - | UpdateResourceSecretsById400 - | UpdateResourceSecretsById401 - | UpdateResourceSecretsById403 - | UpdateResourceSecretsById404 - | UpdateResourceSecretsById422 + UpdateResourceSecretsById400 | UpdateResourceSecretsById401 | UpdateResourceSecretsById403 | UpdateResourceSecretsById404 | UpdateResourceSecretsById422 >, null, Record, @@ -3791,9 +3701,9 @@ export async function updateResourceSecretsById({ method: 'PUT', url: `/v1/installations/${integrationConfigurationId}/resources/${resourceId}/secrets`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return data } /** @@ -3803,12 +3713,12 @@ export async function updateResourceSecretsById({ */ export async function getConfigurations({ queryParams, - config = {} + config = {}, }: { - queryParams: GetConfigurationsQueryParams; - config?: Partial & { client?: typeof client }; + queryParams: GetConfigurationsQueryParams + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< GetConfigurationsQueryResponse, @@ -3817,8 +3727,8 @@ export async function getConfigurations({ Record, GetConfigurationsQueryParams, Record - >({ method: 'GET', url: `/v1/integrations/configurations`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v1/integrations/configurations`, queryParams, ...requestConfig }) + return data } /** @@ -3829,16 +3739,16 @@ export async function getConfigurations({ export async function getConfiguration({ pathParams: { id }, queryParams, - config = {} + config = {}, }: { - pathParams: GetConfigurationPathParams; - queryParams?: GetConfigurationQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetConfigurationPathParams + queryParams?: GetConfigurationQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!id) { - throw new Error(`Missing required path parameter: id`); + throw new Error(`Missing required path parameter: id`) } const data = await request< @@ -3848,8 +3758,8 @@ export async function getConfiguration({ Record, GetConfigurationQueryParams, GetConfigurationPathParams - >({ method: 'GET', url: `/v1/integrations/configuration/${id}`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v1/integrations/configuration/${id}`, queryParams, ...requestConfig }) + return data } /** @@ -3860,16 +3770,16 @@ export async function getConfiguration({ export async function deleteConfiguration({ pathParams: { id }, queryParams, - config = {} + config = {}, }: { - pathParams: DeleteConfigurationPathParams; - queryParams?: DeleteConfigurationQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: DeleteConfigurationPathParams + queryParams?: DeleteConfigurationQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!id) { - throw new Error(`Missing required path parameter: id`); + throw new Error(`Missing required path parameter: id`) } const data = await request< @@ -3879,8 +3789,41 @@ export async function deleteConfiguration({ Record, DeleteConfigurationQueryParams, DeleteConfigurationPathParams - >({ method: 'DELETE', url: `/v1/integrations/configuration/${id}`, queryParams, ...requestConfig }); - return data; + >({ method: 'DELETE', url: `/v1/integrations/configuration/${id}`, queryParams, ...requestConfig }) + return data +} + +/** + * @description Lists all products available for an integration configuration. Use this endpoint to discover what integration products are available for your integration configuration. The returned product IDs or slugs can then be used with storage provisioning endpoints like `POST /v1/storage/stores/integration/direct`. ## Workflow 1. Get your integration configurations: `GET /v1/integrations/configurations` 2. **Use this endpoint**: Get products for a configuration: `GET /v1/integrations/configuration/{id}/products` 3. Create storage resource: `POST /v1/storage/stores/integration/direct` ## Response Returns an array of products with their IDs, slugs, names, supported protocols, and metadata requirements. Each product represents a different type of resource you can provision. The `metadataSchema` field contains a JSON Schema that defines: - **Required metadata**: Fields that must be provided during storage creation - **Optional metadata**: Fields that can be provided but are not mandatory - **Field validation**: Data types, allowed values, and constraints Use this schema to validate metadata before calling the storage creation endpoint. + * @summary List products for integration configuration + * {@link /v1/integrations/configuration/:id/products} + */ +export async function getConfigurationProducts({ + pathParams: { id }, + queryParams, + config = {}, +}: { + pathParams: GetConfigurationProductsPathParams + queryParams?: GetConfigurationProductsQueryParams | undefined + config?: Partial & { client?: typeof client } +}) { + const { client: request = client, ...requestConfig } = config + + if (!id) { + throw new Error(`Missing required path parameter: id`) + } + + const data = await request< + GetConfigurationProductsQueryResponse, + ErrorWrapper< + GetConfigurationProducts400 | GetConfigurationProducts401 | GetConfigurationProducts403 | GetConfigurationProducts404 | GetConfigurationProducts500 + >, + null, + Record, + GetConfigurationProductsQueryParams, + GetConfigurationProductsPathParams + >({ method: 'GET', url: `/v1/integrations/configuration/${id}/products`, queryParams, ...requestConfig }) + return data } /** @@ -3888,12 +3831,8 @@ export async function deleteConfiguration({ * @summary SSO Token Exchange * {@link /v1/integrations/sso/token} */ -export async function exchangeSsoToken({ - config = {} -}: { - config?: Partial & { client?: typeof client }; -}) { - const { client: request = client, ...requestConfig } = config; +export async function exchangeSsoToken({ config = {} }: { config?: Partial & { client?: typeof client } }) { + const { client: request = client, ...requestConfig } = config const data = await request< ExchangeSsoTokenMutationResponse, @@ -3902,13 +3841,8 @@ export async function exchangeSsoToken({ Record, Record, Record - >({ - method: 'POST', - url: `/v1/integrations/sso/token`, - ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + >({ method: 'POST', url: `/v1/integrations/sso/token`, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) + return data } /** @@ -3918,12 +3852,12 @@ export async function exchangeSsoToken({ */ export async function getIntegrationLogDrains({ queryParams, - config = {} + config = {}, }: { - queryParams?: GetIntegrationLogDrainsQueryParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: GetIntegrationLogDrainsQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< GetIntegrationLogDrainsQueryResponse, @@ -3932,8 +3866,8 @@ export async function getIntegrationLogDrains({ Record, GetIntegrationLogDrainsQueryParams, Record - >({ method: 'GET', url: `/v2/integrations/log-drains`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v2/integrations/log-drains`, queryParams, ...requestConfig }) + return data } /** @@ -3943,12 +3877,12 @@ export async function getIntegrationLogDrains({ */ export async function createLogDrain({ queryParams, - config = {} + config = {}, }: { - queryParams?: CreateLogDrainQueryParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: CreateLogDrainQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< CreateLogDrainMutationResponse, @@ -3962,9 +3896,9 @@ export async function createLogDrain({ url: `/v2/integrations/log-drains`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return data } /** @@ -3975,32 +3909,27 @@ export async function createLogDrain({ export async function deleteIntegrationLogDrain({ pathParams: { id }, queryParams, - config = {} + config = {}, }: { - pathParams: DeleteIntegrationLogDrainPathParams; - queryParams?: DeleteIntegrationLogDrainQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: DeleteIntegrationLogDrainPathParams + queryParams?: DeleteIntegrationLogDrainQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!id) { - throw new Error(`Missing required path parameter: id`); + throw new Error(`Missing required path parameter: id`) } const data = await request< DeleteIntegrationLogDrainMutationResponse, - ErrorWrapper< - | DeleteIntegrationLogDrain400 - | DeleteIntegrationLogDrain401 - | DeleteIntegrationLogDrain403 - | DeleteIntegrationLogDrain404 - >, + ErrorWrapper, null, Record, DeleteIntegrationLogDrainQueryParams, DeleteIntegrationLogDrainPathParams - >({ method: 'DELETE', url: `/v1/integrations/log-drains/${id}`, queryParams, ...requestConfig }); - return data; + >({ method: 'DELETE', url: `/v1/integrations/log-drains/${id}`, queryParams, ...requestConfig }) + return data } /** @@ -4011,20 +3940,20 @@ export async function deleteIntegrationLogDrain({ export async function getRuntimeLogs({ pathParams: { projectId, deploymentId }, queryParams, - config = {} + config = {}, }: { - pathParams: GetRuntimeLogsPathParams; - queryParams?: GetRuntimeLogsQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetRuntimeLogsPathParams + queryParams?: GetRuntimeLogsQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!projectId) { - throw new Error(`Missing required path parameter: projectId`); + throw new Error(`Missing required path parameter: projectId`) } if (!deploymentId) { - throw new Error(`Missing required path parameter: deploymentId`); + throw new Error(`Missing required path parameter: deploymentId`) } const data = await request< @@ -4034,13 +3963,8 @@ export async function getRuntimeLogs({ Record, GetRuntimeLogsQueryParams, GetRuntimeLogsPathParams - >({ - method: 'GET', - url: `/v1/projects/${projectId}/deployments/${deploymentId}/runtime-logs`, - queryParams, - ...requestConfig - }); - return data; + >({ method: 'GET', url: `/v1/projects/${projectId}/deployments/${deploymentId}/runtime-logs`, queryParams, ...requestConfig }) + return data } /** @@ -4050,29 +3974,24 @@ export async function getRuntimeLogs({ */ export async function createExperimentationItem({ pathParams: { integrationConfigurationId, resourceId }, - config = {} + config = {}, }: { - pathParams: CreateExperimentationItemPathParams; - config?: Partial & { client?: typeof client }; + pathParams: CreateExperimentationItemPathParams + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`); + throw new Error(`Missing required path parameter: integrationConfigurationId`) } if (!resourceId) { - throw new Error(`Missing required path parameter: resourceId`); + throw new Error(`Missing required path parameter: resourceId`) } const data = await request< CreateExperimentationItemMutationResponse, - ErrorWrapper< - | CreateExperimentationItem400 - | CreateExperimentationItem401 - | CreateExperimentationItem403 - | CreateExperimentationItem404 - >, + ErrorWrapper, null, Record, Record, @@ -4081,9 +4000,9 @@ export async function createExperimentationItem({ method: 'POST', url: `/v1/installations/${integrationConfigurationId}/resources/${resourceId}/experimentation/items`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return data } /** @@ -4093,33 +4012,28 @@ export async function createExperimentationItem({ */ export async function updateExperimentationItem({ pathParams: { integrationConfigurationId, resourceId, itemId }, - config = {} + config = {}, }: { - pathParams: UpdateExperimentationItemPathParams; - config?: Partial & { client?: typeof client }; + pathParams: UpdateExperimentationItemPathParams + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`); + throw new Error(`Missing required path parameter: integrationConfigurationId`) } if (!resourceId) { - throw new Error(`Missing required path parameter: resourceId`); + throw new Error(`Missing required path parameter: resourceId`) } if (!itemId) { - throw new Error(`Missing required path parameter: itemId`); + throw new Error(`Missing required path parameter: itemId`) } const data = await request< UpdateExperimentationItemMutationResponse, - ErrorWrapper< - | UpdateExperimentationItem400 - | UpdateExperimentationItem401 - | UpdateExperimentationItem403 - | UpdateExperimentationItem404 - >, + ErrorWrapper, null, Record, Record, @@ -4128,9 +4042,9 @@ export async function updateExperimentationItem({ method: 'PATCH', url: `/v1/installations/${integrationConfigurationId}/resources/${resourceId}/experimentation/items/${itemId}`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return data } /** @@ -4140,43 +4054,34 @@ export async function updateExperimentationItem({ */ export async function deleteExperimentationItem({ pathParams: { integrationConfigurationId, resourceId, itemId }, - config = {} + config = {}, }: { - pathParams: DeleteExperimentationItemPathParams; - config?: Partial & { client?: typeof client }; + pathParams: DeleteExperimentationItemPathParams + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`); + throw new Error(`Missing required path parameter: integrationConfigurationId`) } if (!resourceId) { - throw new Error(`Missing required path parameter: resourceId`); + throw new Error(`Missing required path parameter: resourceId`) } if (!itemId) { - throw new Error(`Missing required path parameter: itemId`); + throw new Error(`Missing required path parameter: itemId`) } const data = await request< DeleteExperimentationItemMutationResponse, - ErrorWrapper< - | DeleteExperimentationItem400 - | DeleteExperimentationItem401 - | DeleteExperimentationItem403 - | DeleteExperimentationItem404 - >, + ErrorWrapper, null, Record, Record, DeleteExperimentationItemPathParams - >({ - method: 'DELETE', - url: `/v1/installations/${integrationConfigurationId}/resources/${resourceId}/experimentation/items/${itemId}`, - ...requestConfig - }); - return data; + >({ method: 'DELETE', url: `/v1/installations/${integrationConfigurationId}/resources/${resourceId}/experimentation/items/${itemId}`, ...requestConfig }) + return data } /** @@ -4186,19 +4091,19 @@ export async function deleteExperimentationItem({ */ export async function updateExperimentationEdgeConfig({ pathParams: { integrationConfigurationId, resourceId }, - config = {} + config = {}, }: { - pathParams: UpdateExperimentationEdgeConfigPathParams; - config?: Partial & { client?: typeof client }; + pathParams: UpdateExperimentationEdgeConfigPathParams + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`); + throw new Error(`Missing required path parameter: integrationConfigurationId`) } if (!resourceId) { - throw new Error(`Missing required path parameter: resourceId`); + throw new Error(`Missing required path parameter: resourceId`) } const data = await request< @@ -4208,6 +4113,7 @@ export async function updateExperimentationEdgeConfig({ | UpdateExperimentationEdgeConfig401 | UpdateExperimentationEdgeConfig403 | UpdateExperimentationEdgeConfig404 + | UpdateExperimentationEdgeConfig409 | UpdateExperimentationEdgeConfig412 >, null, @@ -4218,9 +4124,9 @@ export async function updateExperimentationEdgeConfig({ method: 'PUT', url: `/v1/installations/${integrationConfigurationId}/resources/${resourceId}/experimentation/edge-config`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return data } /** @@ -4231,16 +4137,16 @@ export async function updateExperimentationEdgeConfig({ export async function getProjectMembers({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: GetProjectMembersPathParams; - queryParams?: GetProjectMembersQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetProjectMembersPathParams + queryParams?: GetProjectMembersQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< @@ -4250,8 +4156,8 @@ export async function getProjectMembers({ Record, GetProjectMembersQueryParams, GetProjectMembersPathParams - >({ method: 'GET', url: `/v1/projects/${idOrName}/members`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v1/projects/${idOrName}/members`, queryParams, ...requestConfig }) + return data } /** @@ -4262,16 +4168,16 @@ export async function getProjectMembers({ export async function addProjectMember({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: AddProjectMemberPathParams; - queryParams?: AddProjectMemberQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: AddProjectMemberPathParams + queryParams?: AddProjectMemberQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< @@ -4286,9 +4192,9 @@ export async function addProjectMember({ url: `/v1/projects/${idOrName}/members`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return data } /** @@ -4299,20 +4205,20 @@ export async function addProjectMember({ export async function removeProjectMember({ pathParams: { idOrName, uid }, queryParams, - config = {} + config = {}, }: { - pathParams: RemoveProjectMemberPathParams; - queryParams?: RemoveProjectMemberQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: RemoveProjectMemberPathParams + queryParams?: RemoveProjectMemberQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } if (!uid) { - throw new Error(`Missing required path parameter: uid`); + throw new Error(`Missing required path parameter: uid`) } const data = await request< @@ -4322,8 +4228,8 @@ export async function removeProjectMember({ Record, RemoveProjectMemberQueryParams, RemoveProjectMemberPathParams - >({ method: 'DELETE', url: `/v1/projects/${idOrName}/members/${uid}`, queryParams, ...requestConfig }); - return data; + >({ method: 'DELETE', url: `/v1/projects/${idOrName}/members/${uid}`, queryParams, ...requestConfig }) + return data } /** @@ -4333,12 +4239,12 @@ export async function removeProjectMember({ */ export async function getProjects({ queryParams, - config = {} + config = {}, }: { - queryParams?: GetProjectsQueryParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: GetProjectsQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< GetProjectsQueryResponse, @@ -4347,8 +4253,8 @@ export async function getProjects({ Record, GetProjectsQueryParams, Record - >({ method: 'GET', url: `/v10/projects`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v10/projects`, queryParams, ...requestConfig }) + return data } /** @@ -4358,28 +4264,32 @@ export async function getProjects({ */ export async function createProject({ queryParams, - config = {} + config = {}, }: { - queryParams?: CreateProjectQueryParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: CreateProjectQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< CreateProjectMutationResponse, - ErrorWrapper, + ErrorWrapper< + | CreateProject400 + | CreateProject401 + | CreateProject402 + | CreateProject403 + | CreateProject404 + | CreateProject409 + | CreateProject428 + | CreateProject429 + | CreateProject500 + >, null, Record, CreateProjectQueryParams, Record - >({ - method: 'POST', - url: `/v11/projects`, - queryParams, - ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + >({ method: 'POST', url: `/v11/projects`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) + return data } /** @@ -4390,16 +4300,16 @@ export async function createProject({ export async function getProject({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: GetProjectPathParams; - queryParams?: GetProjectQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetProjectPathParams + queryParams?: GetProjectQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< @@ -4409,8 +4319,8 @@ export async function getProject({ Record, GetProjectQueryParams, GetProjectPathParams - >({ method: 'GET', url: `/v9/projects/${idOrName}`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v9/projects/${idOrName}`, queryParams, ...requestConfig }) + return data } /** @@ -4421,29 +4331,21 @@ export async function getProject({ export async function updateProject({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: UpdateProjectPathParams; - queryParams?: UpdateProjectQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: UpdateProjectPathParams + queryParams?: UpdateProjectQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< UpdateProjectMutationResponse, - ErrorWrapper< - | UpdateProject400 - | UpdateProject401 - | UpdateProject402 - | UpdateProject403 - | UpdateProject404 - | UpdateProject409 - | UpdateProject428 - >, + ErrorWrapper, null, Record, UpdateProjectQueryParams, @@ -4453,9 +4355,9 @@ export async function updateProject({ url: `/v9/projects/${idOrName}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return data } /** @@ -4466,16 +4368,16 @@ export async function updateProject({ export async function deleteProject({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: DeleteProjectPathParams; - queryParams?: DeleteProjectQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: DeleteProjectPathParams + queryParams?: DeleteProjectQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< @@ -4485,8 +4387,8 @@ export async function deleteProject({ Record, DeleteProjectQueryParams, DeleteProjectPathParams - >({ method: 'DELETE', url: `/v9/projects/${idOrName}`, queryParams, ...requestConfig }); - return data; + >({ method: 'DELETE', url: `/v9/projects/${idOrName}`, queryParams, ...requestConfig }) + return data } /** @@ -4497,26 +4399,22 @@ export async function deleteProject({ export async function createCustomEnvironment({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: CreateCustomEnvironmentPathParams; - queryParams?: CreateCustomEnvironmentQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: CreateCustomEnvironmentPathParams + queryParams?: CreateCustomEnvironmentQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< CreateCustomEnvironmentMutationResponse, ErrorWrapper< - | CreateCustomEnvironment400 - | CreateCustomEnvironment401 - | CreateCustomEnvironment402 - | CreateCustomEnvironment403 - | CreateCustomEnvironment500 + CreateCustomEnvironment400 | CreateCustomEnvironment401 | CreateCustomEnvironment402 | CreateCustomEnvironment403 | CreateCustomEnvironment500 >, null, Record, @@ -4527,9 +4425,9 @@ export async function createCustomEnvironment({ url: `/v9/projects/${idOrName}/custom-environments`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return data } /** @@ -4540,16 +4438,16 @@ export async function createCustomEnvironment({ export async function listCustomEnvironments({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: ListCustomEnvironmentsPathParams; - queryParams?: ListCustomEnvironmentsQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: ListCustomEnvironmentsPathParams + queryParams?: ListCustomEnvironmentsQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< @@ -4559,8 +4457,8 @@ export async function listCustomEnvironments({ Record, ListCustomEnvironmentsQueryParams, ListCustomEnvironmentsPathParams - >({ method: 'GET', url: `/v9/projects/${idOrName}/custom-environments`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v9/projects/${idOrName}/custom-environments`, queryParams, ...requestConfig }) + return data } /** @@ -4571,20 +4469,20 @@ export async function listCustomEnvironments({ export async function getCustomEnvironment({ pathParams: { idOrName, environmentSlugOrId }, queryParams, - config = {} + config = {}, }: { - pathParams: GetCustomEnvironmentPathParams; - queryParams?: GetCustomEnvironmentQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetCustomEnvironmentPathParams + queryParams?: GetCustomEnvironmentQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } if (!environmentSlugOrId) { - throw new Error(`Missing required path parameter: environmentSlugOrId`); + throw new Error(`Missing required path parameter: environmentSlugOrId`) } const data = await request< @@ -4594,13 +4492,8 @@ export async function getCustomEnvironment({ Record, GetCustomEnvironmentQueryParams, GetCustomEnvironmentPathParams - >({ - method: 'GET', - url: `/v9/projects/${idOrName}/custom-environments/${environmentSlugOrId}`, - queryParams, - ...requestConfig - }); - return data; + >({ method: 'GET', url: `/v9/projects/${idOrName}/custom-environments/${environmentSlugOrId}`, queryParams, ...requestConfig }) + return data } /** @@ -4611,30 +4504,26 @@ export async function getCustomEnvironment({ export async function updateCustomEnvironment({ pathParams: { idOrName, environmentSlugOrId }, queryParams, - config = {} + config = {}, }: { - pathParams: UpdateCustomEnvironmentPathParams; - queryParams?: UpdateCustomEnvironmentQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: UpdateCustomEnvironmentPathParams + queryParams?: UpdateCustomEnvironmentQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } if (!environmentSlugOrId) { - throw new Error(`Missing required path parameter: environmentSlugOrId`); + throw new Error(`Missing required path parameter: environmentSlugOrId`) } const data = await request< UpdateCustomEnvironmentMutationResponse, ErrorWrapper< - | UpdateCustomEnvironment400 - | UpdateCustomEnvironment401 - | UpdateCustomEnvironment402 - | UpdateCustomEnvironment403 - | UpdateCustomEnvironment500 + UpdateCustomEnvironment400 | UpdateCustomEnvironment401 | UpdateCustomEnvironment402 | UpdateCustomEnvironment403 | UpdateCustomEnvironment500 >, null, Record, @@ -4645,9 +4534,9 @@ export async function updateCustomEnvironment({ url: `/v9/projects/${idOrName}/custom-environments/${environmentSlugOrId}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return data } /** @@ -4658,20 +4547,20 @@ export async function updateCustomEnvironment({ export async function removeCustomEnvironment({ pathParams: { idOrName, environmentSlugOrId }, queryParams, - config = {} + config = {}, }: { - pathParams: RemoveCustomEnvironmentPathParams; - queryParams?: RemoveCustomEnvironmentQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: RemoveCustomEnvironmentPathParams + queryParams?: RemoveCustomEnvironmentQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } if (!environmentSlugOrId) { - throw new Error(`Missing required path parameter: environmentSlugOrId`); + throw new Error(`Missing required path parameter: environmentSlugOrId`) } const data = await request< @@ -4686,9 +4575,9 @@ export async function removeCustomEnvironment({ url: `/v9/projects/${idOrName}/custom-environments/${environmentSlugOrId}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return data } /** @@ -4699,16 +4588,16 @@ export async function removeCustomEnvironment({ export async function getProjectDomains({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: GetProjectDomainsPathParams; - queryParams?: GetProjectDomainsQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetProjectDomainsPathParams + queryParams?: GetProjectDomainsQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< @@ -4718,8 +4607,8 @@ export async function getProjectDomains({ Record, GetProjectDomainsQueryParams, GetProjectDomainsPathParams - >({ method: 'GET', url: `/v9/projects/${idOrName}/domains`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v9/projects/${idOrName}/domains`, queryParams, ...requestConfig }) + return data } /** @@ -4730,20 +4619,20 @@ export async function getProjectDomains({ export async function getProjectDomain({ pathParams: { idOrName, domain }, queryParams, - config = {} + config = {}, }: { - pathParams: GetProjectDomainPathParams; - queryParams?: GetProjectDomainQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetProjectDomainPathParams + queryParams?: GetProjectDomainQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } if (!domain) { - throw new Error(`Missing required path parameter: domain`); + throw new Error(`Missing required path parameter: domain`) } const data = await request< @@ -4753,8 +4642,8 @@ export async function getProjectDomain({ Record, GetProjectDomainQueryParams, GetProjectDomainPathParams - >({ method: 'GET', url: `/v9/projects/${idOrName}/domains/${domain}`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v9/projects/${idOrName}/domains/${domain}`, queryParams, ...requestConfig }) + return data } /** @@ -4765,20 +4654,20 @@ export async function getProjectDomain({ export async function updateProjectDomain({ pathParams: { idOrName, domain }, queryParams, - config = {} + config = {}, }: { - pathParams: UpdateProjectDomainPathParams; - queryParams?: UpdateProjectDomainQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: UpdateProjectDomainPathParams + queryParams?: UpdateProjectDomainQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } if (!domain) { - throw new Error(`Missing required path parameter: domain`); + throw new Error(`Missing required path parameter: domain`) } const data = await request< @@ -4793,9 +4682,9 @@ export async function updateProjectDomain({ url: `/v9/projects/${idOrName}/domains/${domain}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return data } /** @@ -4806,31 +4695,25 @@ export async function updateProjectDomain({ export async function removeProjectDomain({ pathParams: { idOrName, domain }, queryParams, - config = {} + config = {}, }: { - pathParams: RemoveProjectDomainPathParams; - queryParams?: RemoveProjectDomainQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: RemoveProjectDomainPathParams + queryParams?: RemoveProjectDomainQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } if (!domain) { - throw new Error(`Missing required path parameter: domain`); + throw new Error(`Missing required path parameter: domain`) } const data = await request< RemoveProjectDomainMutationResponse, - ErrorWrapper< - | RemoveProjectDomain400 - | RemoveProjectDomain401 - | RemoveProjectDomain403 - | RemoveProjectDomain404 - | RemoveProjectDomain409 - >, + ErrorWrapper, null, Record, RemoveProjectDomainQueryParams, @@ -4840,9 +4723,9 @@ export async function removeProjectDomain({ url: `/v9/projects/${idOrName}/domains/${domain}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return data } /** @@ -4853,23 +4736,21 @@ export async function removeProjectDomain({ export async function addProjectDomain({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: AddProjectDomainPathParams; - queryParams?: AddProjectDomainQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: AddProjectDomainPathParams + queryParams?: AddProjectDomainQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< AddProjectDomainMutationResponse, - ErrorWrapper< - AddProjectDomain400 | AddProjectDomain401 | AddProjectDomain402 | AddProjectDomain403 | AddProjectDomain409 - >, + ErrorWrapper, null, Record, AddProjectDomainQueryParams, @@ -4879,9 +4760,9 @@ export async function addProjectDomain({ url: `/v10/projects/${idOrName}/domains`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return data } /** @@ -4892,20 +4773,20 @@ export async function addProjectDomain({ export async function moveProjectDomain({ pathParams: { idOrName, domain }, queryParams, - config = {} + config = {}, }: { - pathParams: MoveProjectDomainPathParams; - queryParams?: MoveProjectDomainQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: MoveProjectDomainPathParams + queryParams?: MoveProjectDomainQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } if (!domain) { - throw new Error(`Missing required path parameter: domain`); + throw new Error(`Missing required path parameter: domain`) } const data = await request< @@ -4920,9 +4801,9 @@ export async function moveProjectDomain({ url: `/v1/projects/${idOrName}/domains/${domain}/move`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return data } /** @@ -4933,20 +4814,20 @@ export async function moveProjectDomain({ export async function verifyProjectDomain({ pathParams: { idOrName, domain }, queryParams, - config = {} + config = {}, }: { - pathParams: VerifyProjectDomainPathParams; - queryParams?: VerifyProjectDomainQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: VerifyProjectDomainPathParams + queryParams?: VerifyProjectDomainQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } if (!domain) { - throw new Error(`Missing required path parameter: domain`); + throw new Error(`Missing required path parameter: domain`) } const data = await request< @@ -4956,8 +4837,8 @@ export async function verifyProjectDomain({ Record, VerifyProjectDomainQueryParams, VerifyProjectDomainPathParams - >({ method: 'POST', url: `/v9/projects/${idOrName}/domains/${domain}/verify`, queryParams, ...requestConfig }); - return data; + >({ method: 'POST', url: `/v9/projects/${idOrName}/domains/${domain}/verify`, queryParams, ...requestConfig }) + return data } /** @@ -4968,16 +4849,16 @@ export async function verifyProjectDomain({ export async function filterProjectEnvs({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: FilterProjectEnvsPathParams; - queryParams?: FilterProjectEnvsQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: FilterProjectEnvsPathParams + queryParams?: FilterProjectEnvsQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< @@ -4987,8 +4868,8 @@ export async function filterProjectEnvs({ Record, FilterProjectEnvsQueryParams, FilterProjectEnvsPathParams - >({ method: 'GET', url: `/v10/projects/${idOrName}/env`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v10/projects/${idOrName}/env`, queryParams, ...requestConfig }) + return data } /** @@ -4999,22 +4880,29 @@ export async function filterProjectEnvs({ export async function createProjectEnv({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: CreateProjectEnvPathParams; - queryParams?: CreateProjectEnvQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: CreateProjectEnvPathParams + queryParams?: CreateProjectEnvQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< CreateProjectEnvMutationResponse, ErrorWrapper< - CreateProjectEnv400 | CreateProjectEnv401 | CreateProjectEnv402 | CreateProjectEnv403 | CreateProjectEnv409 + | CreateProjectEnv400 + | CreateProjectEnv401 + | CreateProjectEnv402 + | CreateProjectEnv403 + | CreateProjectEnv404 + | CreateProjectEnv409 + | CreateProjectEnv429 + | CreateProjectEnv500 >, null, Record, @@ -5025,9 +4913,9 @@ export async function createProjectEnv({ url: `/v10/projects/${idOrName}/env`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return data } /** @@ -5038,20 +4926,20 @@ export async function createProjectEnv({ export async function getProjectEnv({ pathParams: { idOrName, id }, queryParams, - config = {} + config = {}, }: { - pathParams: GetProjectEnvPathParams; - queryParams?: GetProjectEnvQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetProjectEnvPathParams + queryParams?: GetProjectEnvQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } if (!id) { - throw new Error(`Missing required path parameter: id`); + throw new Error(`Missing required path parameter: id`) } const data = await request< @@ -5061,8 +4949,8 @@ export async function getProjectEnv({ Record, GetProjectEnvQueryParams, GetProjectEnvPathParams - >({ method: 'GET', url: `/v1/projects/${idOrName}/env/${id}`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v1/projects/${idOrName}/env/${id}`, queryParams, ...requestConfig }) + return data } /** @@ -5073,33 +4961,31 @@ export async function getProjectEnv({ export async function removeProjectEnv({ pathParams: { idOrName, id }, queryParams, - config = {} + config = {}, }: { - pathParams: RemoveProjectEnvPathParams; - queryParams?: RemoveProjectEnvQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: RemoveProjectEnvPathParams + queryParams?: RemoveProjectEnvQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } if (!id) { - throw new Error(`Missing required path parameter: id`); + throw new Error(`Missing required path parameter: id`) } const data = await request< RemoveProjectEnvMutationResponse, - ErrorWrapper< - RemoveProjectEnv400 | RemoveProjectEnv401 | RemoveProjectEnv403 | RemoveProjectEnv404 | RemoveProjectEnv409 - >, + ErrorWrapper, null, Record, RemoveProjectEnvQueryParams, RemoveProjectEnvPathParams - >({ method: 'DELETE', url: `/v9/projects/${idOrName}/env/${id}`, queryParams, ...requestConfig }); - return data; + >({ method: 'DELETE', url: `/v9/projects/${idOrName}/env/${id}`, queryParams, ...requestConfig }) + return data } /** @@ -5110,25 +4996,25 @@ export async function removeProjectEnv({ export async function editProjectEnv({ pathParams: { idOrName, id }, queryParams, - config = {} + config = {}, }: { - pathParams: EditProjectEnvPathParams; - queryParams?: EditProjectEnvQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: EditProjectEnvPathParams + queryParams?: EditProjectEnvQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } if (!id) { - throw new Error(`Missing required path parameter: id`); + throw new Error(`Missing required path parameter: id`) } const data = await request< EditProjectEnvMutationResponse, - ErrorWrapper, + ErrorWrapper, null, Record, EditProjectEnvQueryParams, @@ -5138,9 +5024,9 @@ export async function editProjectEnv({ url: `/v9/projects/${idOrName}/env/${id}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return data } /** @@ -5151,32 +5037,27 @@ export async function editProjectEnv({ export async function getRollingReleaseBillingStatus({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: GetRollingReleaseBillingStatusPathParams; - queryParams?: GetRollingReleaseBillingStatusQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetRollingReleaseBillingStatusPathParams + queryParams?: GetRollingReleaseBillingStatusQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< GetRollingReleaseBillingStatusQueryResponse, - ErrorWrapper< - | GetRollingReleaseBillingStatus400 - | GetRollingReleaseBillingStatus401 - | GetRollingReleaseBillingStatus403 - | GetRollingReleaseBillingStatus404 - >, + ErrorWrapper, null, Record, GetRollingReleaseBillingStatusQueryParams, GetRollingReleaseBillingStatusPathParams - >({ method: 'GET', url: `/v1/projects/${idOrName}/rolling-release/billing`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v1/projects/${idOrName}/rolling-release/billing`, queryParams, ...requestConfig }) + return data } /** @@ -5187,29 +5068,27 @@ export async function getRollingReleaseBillingStatus({ export async function getRollingReleaseConfig({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: GetRollingReleaseConfigPathParams; - queryParams?: GetRollingReleaseConfigQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetRollingReleaseConfigPathParams + queryParams?: GetRollingReleaseConfigQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< GetRollingReleaseConfigQueryResponse, - ErrorWrapper< - GetRollingReleaseConfig400 | GetRollingReleaseConfig401 | GetRollingReleaseConfig403 | GetRollingReleaseConfig404 - >, + ErrorWrapper, null, Record, GetRollingReleaseConfigQueryParams, GetRollingReleaseConfigPathParams - >({ method: 'GET', url: `/v1/projects/${idOrName}/rolling-release/config`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v1/projects/${idOrName}/rolling-release/config`, queryParams, ...requestConfig }) + return data } /** @@ -5220,32 +5099,27 @@ export async function getRollingReleaseConfig({ export async function deleteRollingReleaseConfig({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: DeleteRollingReleaseConfigPathParams; - queryParams?: DeleteRollingReleaseConfigQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: DeleteRollingReleaseConfigPathParams + queryParams?: DeleteRollingReleaseConfigQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< DeleteRollingReleaseConfigMutationResponse, - ErrorWrapper< - | DeleteRollingReleaseConfig400 - | DeleteRollingReleaseConfig401 - | DeleteRollingReleaseConfig403 - | DeleteRollingReleaseConfig404 - >, + ErrorWrapper, null, Record, DeleteRollingReleaseConfigQueryParams, DeleteRollingReleaseConfigPathParams - >({ method: 'DELETE', url: `/v1/projects/${idOrName}/rolling-release/config`, queryParams, ...requestConfig }); - return data; + >({ method: 'DELETE', url: `/v1/projects/${idOrName}/rolling-release/config`, queryParams, ...requestConfig }) + return data } /** @@ -5256,32 +5130,27 @@ export async function deleteRollingReleaseConfig({ export async function updateRollingReleaseConfig({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: UpdateRollingReleaseConfigPathParams; - queryParams?: UpdateRollingReleaseConfigQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: UpdateRollingReleaseConfigPathParams + queryParams?: UpdateRollingReleaseConfigQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< UpdateRollingReleaseConfigMutationResponse, - ErrorWrapper< - | UpdateRollingReleaseConfig400 - | UpdateRollingReleaseConfig401 - | UpdateRollingReleaseConfig403 - | UpdateRollingReleaseConfig404 - >, + ErrorWrapper, null, Record, UpdateRollingReleaseConfigQueryParams, UpdateRollingReleaseConfigPathParams - >({ method: 'PATCH', url: `/v1/projects/${idOrName}/rolling-release/config`, queryParams, ...requestConfig }); - return data; + >({ method: 'PATCH', url: `/v1/projects/${idOrName}/rolling-release/config`, queryParams, ...requestConfig }) + return data } /** @@ -5292,16 +5161,16 @@ export async function updateRollingReleaseConfig({ export async function getRollingRelease({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: GetRollingReleasePathParams; - queryParams?: GetRollingReleaseQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetRollingReleasePathParams + queryParams?: GetRollingReleaseQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< @@ -5311,8 +5180,8 @@ export async function getRollingRelease({ Record, GetRollingReleaseQueryParams, GetRollingReleasePathParams - >({ method: 'GET', url: `/v1/projects/${idOrName}/rolling-release`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v1/projects/${idOrName}/rolling-release`, queryParams, ...requestConfig }) + return data } /** @@ -5323,16 +5192,16 @@ export async function getRollingRelease({ export async function approveRollingReleaseStage({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: ApproveRollingReleaseStagePathParams; - queryParams?: ApproveRollingReleaseStageQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: ApproveRollingReleaseStagePathParams + queryParams?: ApproveRollingReleaseStageQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< @@ -5353,9 +5222,9 @@ export async function approveRollingReleaseStage({ url: `/v1/projects/${idOrName}/rolling-release/approve-stage`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return data } /** @@ -5366,23 +5235,21 @@ export async function approveRollingReleaseStage({ export async function completeRollingRelease({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: CompleteRollingReleasePathParams; - queryParams?: CompleteRollingReleaseQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: CompleteRollingReleasePathParams + queryParams?: CompleteRollingReleaseQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< CompleteRollingReleaseMutationResponse, - ErrorWrapper< - CompleteRollingRelease400 | CompleteRollingRelease401 | CompleteRollingRelease403 | CompleteRollingRelease404 - >, + ErrorWrapper, null, Record, CompleteRollingReleaseQueryParams, @@ -5392,9 +5259,9 @@ export async function completeRollingRelease({ url: `/v1/projects/${idOrName}/rolling-release/complete`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return data } /** @@ -5405,16 +5272,16 @@ export async function completeRollingRelease({ export async function createProjectTransferRequest({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: CreateProjectTransferRequestPathParams; - queryParams?: CreateProjectTransferRequestQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: CreateProjectTransferRequestPathParams + queryParams?: CreateProjectTransferRequestQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< @@ -5429,9 +5296,9 @@ export async function createProjectTransferRequest({ url: `/projects/${idOrName}/transfer-request`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return data } /** @@ -5442,16 +5309,16 @@ export async function createProjectTransferRequest({ export async function acceptProjectTransferRequest({ pathParams: { code }, queryParams, - config = {} + config = {}, }: { - pathParams: AcceptProjectTransferRequestPathParams; - queryParams?: AcceptProjectTransferRequestQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: AcceptProjectTransferRequestPathParams + queryParams?: AcceptProjectTransferRequestQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!code) { - throw new Error(`Missing required path parameter: code`); + throw new Error(`Missing required path parameter: code`) } const data = await request< @@ -5472,9 +5339,9 @@ export async function acceptProjectTransferRequest({ url: `/projects/transfer-request/${code}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return data } /** @@ -5485,16 +5352,16 @@ export async function acceptProjectTransferRequest({ export async function updateProjectProtectionBypass({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: UpdateProjectProtectionBypassPathParams; - queryParams?: UpdateProjectProtectionBypassQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: UpdateProjectProtectionBypassPathParams + queryParams?: UpdateProjectProtectionBypassQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< @@ -5515,9 +5382,9 @@ export async function updateProjectProtectionBypass({ url: `/v1/projects/${idOrName}/protection-bypass`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return data } /** @@ -5528,20 +5395,20 @@ export async function updateProjectProtectionBypass({ export async function requestPromote({ pathParams: { projectId, deploymentId }, queryParams, - config = {} + config = {}, }: { - pathParams: RequestPromotePathParams; - queryParams?: RequestPromoteQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: RequestPromotePathParams + queryParams?: RequestPromoteQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!projectId) { - throw new Error(`Missing required path parameter: projectId`); + throw new Error(`Missing required path parameter: projectId`) } if (!deploymentId) { - throw new Error(`Missing required path parameter: deploymentId`); + throw new Error(`Missing required path parameter: deploymentId`) } const data = await request< @@ -5551,8 +5418,8 @@ export async function requestPromote({ Record, RequestPromoteQueryParams, RequestPromotePathParams - >({ method: 'POST', url: `/v10/projects/${projectId}/promote/${deploymentId}`, queryParams, ...requestConfig }); - return data; + >({ method: 'POST', url: `/v10/projects/${projectId}/promote/${deploymentId}`, queryParams, ...requestConfig }) + return data } /** @@ -5563,16 +5430,16 @@ export async function requestPromote({ export async function listPromoteAliases({ pathParams: { projectId }, queryParams, - config = {} + config = {}, }: { - pathParams: ListPromoteAliasesPathParams; - queryParams?: ListPromoteAliasesQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: ListPromoteAliasesPathParams + queryParams?: ListPromoteAliasesQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!projectId) { - throw new Error(`Missing required path parameter: projectId`); + throw new Error(`Missing required path parameter: projectId`) } const data = await request< @@ -5582,8 +5449,8 @@ export async function listPromoteAliases({ Record, ListPromoteAliasesQueryParams, ListPromoteAliasesPathParams - >({ method: 'GET', url: `/v1/projects/${projectId}/promote/aliases`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v1/projects/${projectId}/promote/aliases`, queryParams, ...requestConfig }) + return data } /** @@ -5594,16 +5461,16 @@ export async function listPromoteAliases({ export async function pauseProject({ pathParams: { projectId }, queryParams, - config = {} + config = {}, }: { - pathParams: PauseProjectPathParams; - queryParams?: PauseProjectQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: PauseProjectPathParams + queryParams?: PauseProjectQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!projectId) { - throw new Error(`Missing required path parameter: projectId`); + throw new Error(`Missing required path parameter: projectId`) } const data = await request< @@ -5613,8 +5480,8 @@ export async function pauseProject({ Record, PauseProjectQueryParams, PauseProjectPathParams - >({ method: 'POST', url: `/v1/projects/${projectId}/pause`, queryParams, ...requestConfig }); - return data; + >({ method: 'POST', url: `/v1/projects/${projectId}/pause`, queryParams, ...requestConfig }) + return data } /** @@ -5625,16 +5492,16 @@ export async function pauseProject({ export async function unpauseProject({ pathParams: { projectId }, queryParams, - config = {} + config = {}, }: { - pathParams: UnpauseProjectPathParams; - queryParams?: UnpauseProjectQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: UnpauseProjectPathParams + queryParams?: UnpauseProjectQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!projectId) { - throw new Error(`Missing required path parameter: projectId`); + throw new Error(`Missing required path parameter: projectId`) } const data = await request< @@ -5644,8 +5511,8 @@ export async function unpauseProject({ Record, UnpauseProjectQueryParams, UnpauseProjectPathParams - >({ method: 'POST', url: `/v1/projects/${projectId}/unpause`, queryParams, ...requestConfig }); - return data; + >({ method: 'POST', url: `/v1/projects/${projectId}/unpause`, queryParams, ...requestConfig }) + return data } /** @@ -5655,21 +5522,16 @@ export async function unpauseProject({ */ export async function updateAttackChallengeMode({ queryParams, - config = {} + config = {}, }: { - queryParams?: UpdateAttackChallengeModeQueryParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: UpdateAttackChallengeModeQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< UpdateAttackChallengeModeMutationResponse, - ErrorWrapper< - | UpdateAttackChallengeMode400 - | UpdateAttackChallengeMode401 - | UpdateAttackChallengeMode403 - | UpdateAttackChallengeMode404 - >, + ErrorWrapper, null, Record, UpdateAttackChallengeModeQueryParams, @@ -5679,9 +5541,9 @@ export async function updateAttackChallengeMode({ url: `/v1/security/attack-mode`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return data } /** @@ -5691,23 +5553,16 @@ export async function updateAttackChallengeMode({ */ export async function putFirewallConfig({ queryParams, - config = {} + config = {}, }: { - queryParams: PutFirewallConfigQueryParams; - config?: Partial & { client?: typeof client }; + queryParams: PutFirewallConfigQueryParams + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< PutFirewallConfigMutationResponse, - ErrorWrapper< - | PutFirewallConfig400 - | PutFirewallConfig401 - | PutFirewallConfig402 - | PutFirewallConfig403 - | PutFirewallConfig404 - | PutFirewallConfig500 - >, + ErrorWrapper, null, Record, PutFirewallConfigQueryParams, @@ -5717,9 +5572,9 @@ export async function putFirewallConfig({ url: `/v1/security/firewall/config`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return data } /** @@ -5729,22 +5584,17 @@ export async function putFirewallConfig({ */ export async function updateFirewallConfig({ queryParams, - config = {} + config = {}, }: { - queryParams: UpdateFirewallConfigQueryParams; - config?: Partial & { client?: typeof client }; + queryParams: UpdateFirewallConfigQueryParams + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< UpdateFirewallConfigMutationResponse, ErrorWrapper< - | UpdateFirewallConfig400 - | UpdateFirewallConfig401 - | UpdateFirewallConfig402 - | UpdateFirewallConfig403 - | UpdateFirewallConfig404 - | UpdateFirewallConfig500 + UpdateFirewallConfig400 | UpdateFirewallConfig401 | UpdateFirewallConfig402 | UpdateFirewallConfig403 | UpdateFirewallConfig404 | UpdateFirewallConfig500 >, null, Record, @@ -5755,9 +5605,9 @@ export async function updateFirewallConfig({ url: `/v1/security/firewall/config`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return data } /** @@ -5768,16 +5618,16 @@ export async function updateFirewallConfig({ export async function getFirewallConfig({ pathParams: { configVersion }, queryParams, - config = {} + config = {}, }: { - pathParams: GetFirewallConfigPathParams; - queryParams: GetFirewallConfigQueryParams; - config?: Partial & { client?: typeof client }; + pathParams: GetFirewallConfigPathParams + queryParams: GetFirewallConfigQueryParams + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!configVersion) { - throw new Error(`Missing required path parameter: configVersion`); + throw new Error(`Missing required path parameter: configVersion`) } const data = await request< @@ -5787,8 +5637,8 @@ export async function getFirewallConfig({ Record, GetFirewallConfigQueryParams, GetFirewallConfigPathParams - >({ method: 'GET', url: `/v1/security/firewall/config/${configVersion}`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v1/security/firewall/config/${configVersion}`, queryParams, ...requestConfig }) + return data } /** @@ -5798,24 +5648,22 @@ export async function getFirewallConfig({ */ export async function getActiveAttackStatus({ queryParams, - config = {} + config = {}, }: { - queryParams: GetActiveAttackStatusQueryParams; - config?: Partial & { client?: typeof client }; + queryParams: GetActiveAttackStatusQueryParams + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< GetActiveAttackStatusQueryResponse, - ErrorWrapper< - GetActiveAttackStatus400 | GetActiveAttackStatus401 | GetActiveAttackStatus403 | GetActiveAttackStatus404 - >, + ErrorWrapper, null, Record, GetActiveAttackStatusQueryParams, Record - >({ method: 'GET', url: `/v1/security/firewall/attack-status`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v1/security/firewall/attack-status`, queryParams, ...requestConfig }) + return data } /** @@ -5825,12 +5673,12 @@ export async function getActiveAttackStatus({ */ export async function getBypassIp({ queryParams, - config = {} + config = {}, }: { - queryParams: GetBypassIpQueryParams; - config?: Partial & { client?: typeof client }; + queryParams: GetBypassIpQueryParams + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< GetBypassIpQueryResponse, @@ -5839,8 +5687,8 @@ export async function getBypassIp({ Record, GetBypassIpQueryParams, Record - >({ method: 'GET', url: `/v1/security/firewall/bypass`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v1/security/firewall/bypass`, queryParams, ...requestConfig }) + return data } /** @@ -5850,12 +5698,12 @@ export async function getBypassIp({ */ export async function addBypassIp({ queryParams, - config = {} + config = {}, }: { - queryParams: AddBypassIpQueryParams; - config?: Partial & { client?: typeof client }; + queryParams: AddBypassIpQueryParams + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< AddBypassIpMutationResponse, @@ -5869,9 +5717,9 @@ export async function addBypassIp({ url: `/v1/security/firewall/bypass`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return data } /** @@ -5881,12 +5729,12 @@ export async function addBypassIp({ */ export async function removeBypassIp({ queryParams, - config = {} + config = {}, }: { - queryParams: RemoveBypassIpQueryParams; - config?: Partial & { client?: typeof client }; + queryParams: RemoveBypassIpQueryParams + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< RemoveBypassIpMutationResponse, @@ -5900,9 +5748,9 @@ export async function removeBypassIp({ url: `/v1/security/firewall/bypass`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return data } /** @@ -5913,16 +5761,16 @@ export async function removeBypassIp({ export async function getTeamMembers({ pathParams: { teamId }, queryParams, - config = {} + config = {}, }: { - pathParams: GetTeamMembersPathParams; - queryParams?: GetTeamMembersQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetTeamMembersPathParams + queryParams?: GetTeamMembersQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!teamId) { - throw new Error(`Missing required path parameter: teamId`); + throw new Error(`Missing required path parameter: teamId`) } const data = await request< @@ -5932,8 +5780,8 @@ export async function getTeamMembers({ Record, GetTeamMembersQueryParams, GetTeamMembersPathParams - >({ method: 'GET', url: `/v3/teams/${teamId}/members`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v3/teams/${teamId}/members`, queryParams, ...requestConfig }) + return data } /** @@ -5943,15 +5791,15 @@ export async function getTeamMembers({ */ export async function inviteUserToTeam({ pathParams: { teamId }, - config = {} + config = {}, }: { - pathParams: InviteUserToTeamPathParams; - config?: Partial & { client?: typeof client }; + pathParams: InviteUserToTeamPathParams + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!teamId) { - throw new Error(`Missing required path parameter: teamId`); + throw new Error(`Missing required path parameter: teamId`) } const data = await request< @@ -5961,13 +5809,8 @@ export async function inviteUserToTeam({ Record, Record, InviteUserToTeamPathParams - >({ - method: 'POST', - url: `/v1/teams/${teamId}/members`, - ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + >({ method: 'POST', url: `/v1/teams/${teamId}/members`, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) + return data } /** @@ -5977,37 +5820,26 @@ export async function inviteUserToTeam({ */ export async function requestAccessToTeam({ pathParams: { teamId }, - config = {} + config = {}, }: { - pathParams: RequestAccessToTeamPathParams; - config?: Partial & { client?: typeof client }; + pathParams: RequestAccessToTeamPathParams + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!teamId) { - throw new Error(`Missing required path parameter: teamId`); + throw new Error(`Missing required path parameter: teamId`) } const data = await request< RequestAccessToTeamMutationResponse, - ErrorWrapper< - | RequestAccessToTeam400 - | RequestAccessToTeam401 - | RequestAccessToTeam403 - | RequestAccessToTeam404 - | RequestAccessToTeam503 - >, + ErrorWrapper, null, Record, Record, RequestAccessToTeamPathParams - >({ - method: 'POST', - url: `/v1/teams/${teamId}/request`, - ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + >({ method: 'POST', url: `/v1/teams/${teamId}/request`, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) + return data } /** @@ -6017,19 +5849,19 @@ export async function requestAccessToTeam({ */ export async function getTeamAccessRequest({ pathParams: { userId, teamId }, - config = {} + config = {}, }: { - pathParams: GetTeamAccessRequestPathParams; - config?: Partial & { client?: typeof client }; + pathParams: GetTeamAccessRequestPathParams + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!userId) { - throw new Error(`Missing required path parameter: userId`); + throw new Error(`Missing required path parameter: userId`) } if (!teamId) { - throw new Error(`Missing required path parameter: teamId`); + throw new Error(`Missing required path parameter: teamId`) } const data = await request< @@ -6039,8 +5871,8 @@ export async function getTeamAccessRequest({ Record, Record, GetTeamAccessRequestPathParams - >({ method: 'GET', url: `/v1/teams/${teamId}/request/${userId}`, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v1/teams/${teamId}/request/${userId}`, ...requestConfig }) + return data } /** @@ -6050,15 +5882,15 @@ export async function getTeamAccessRequest({ */ export async function joinTeam({ pathParams: { teamId }, - config = {} + config = {}, }: { - pathParams: JoinTeamPathParams; - config?: Partial & { client?: typeof client }; + pathParams: JoinTeamPathParams + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!teamId) { - throw new Error(`Missing required path parameter: teamId`); + throw new Error(`Missing required path parameter: teamId`) } const data = await request< @@ -6072,9 +5904,9 @@ export async function joinTeam({ method: 'POST', url: `/v1/teams/${teamId}/members/teams/join`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return data } /** @@ -6084,42 +5916,30 @@ export async function joinTeam({ */ export async function updateTeamMember({ pathParams: { uid, teamId }, - config = {} + config = {}, }: { - pathParams: UpdateTeamMemberPathParams; - config?: Partial & { client?: typeof client }; + pathParams: UpdateTeamMemberPathParams + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!uid) { - throw new Error(`Missing required path parameter: uid`); + throw new Error(`Missing required path parameter: uid`) } if (!teamId) { - throw new Error(`Missing required path parameter: teamId`); + throw new Error(`Missing required path parameter: teamId`) } const data = await request< UpdateTeamMemberMutationResponse, - ErrorWrapper< - | UpdateTeamMember400 - | UpdateTeamMember401 - | UpdateTeamMember402 - | UpdateTeamMember403 - | UpdateTeamMember404 - | UpdateTeamMember500 - >, + ErrorWrapper, null, Record, Record, UpdateTeamMemberPathParams - >({ - method: 'PATCH', - url: `/v1/teams/${teamId}/members/${uid}`, - ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + >({ method: 'PATCH', url: `/v1/teams/${teamId}/members/${uid}`, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) + return data } /** @@ -6130,33 +5950,31 @@ export async function updateTeamMember({ export async function removeTeamMember({ pathParams: { uid, teamId }, queryParams, - config = {} + config = {}, }: { - pathParams: RemoveTeamMemberPathParams; - queryParams?: RemoveTeamMemberQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: RemoveTeamMemberPathParams + queryParams?: RemoveTeamMemberQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!uid) { - throw new Error(`Missing required path parameter: uid`); + throw new Error(`Missing required path parameter: uid`) } if (!teamId) { - throw new Error(`Missing required path parameter: teamId`); + throw new Error(`Missing required path parameter: teamId`) } const data = await request< RemoveTeamMemberMutationResponse, - ErrorWrapper< - RemoveTeamMember400 | RemoveTeamMember401 | RemoveTeamMember403 | RemoveTeamMember404 | RemoveTeamMember503 - >, + ErrorWrapper, null, Record, RemoveTeamMemberQueryParams, RemoveTeamMemberPathParams - >({ method: 'DELETE', url: `/v1/teams/${teamId}/members/${uid}`, queryParams, ...requestConfig }); - return data; + >({ method: 'DELETE', url: `/v1/teams/${teamId}/members/${uid}`, queryParams, ...requestConfig }) + return data } /** @@ -6167,16 +5985,16 @@ export async function removeTeamMember({ export async function getTeam({ pathParams: { teamId }, queryParams, - config = {} + config = {}, }: { - pathParams: GetTeamPathParams; - queryParams?: GetTeamQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetTeamPathParams + queryParams?: GetTeamQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!teamId) { - throw new Error(`Missing required path parameter: teamId`); + throw new Error(`Missing required path parameter: teamId`) } const data = await request< @@ -6186,8 +6004,8 @@ export async function getTeam({ Record, GetTeamQueryParams, GetTeamPathParams - >({ method: 'GET', url: `/v2/teams/${teamId}`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v2/teams/${teamId}`, queryParams, ...requestConfig }) + return data } /** @@ -6198,16 +6016,16 @@ export async function getTeam({ export async function patchTeam({ pathParams: { teamId }, queryParams, - config = {} + config = {}, }: { - pathParams: PatchTeamPathParams; - queryParams?: PatchTeamQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: PatchTeamPathParams + queryParams?: PatchTeamQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!teamId) { - throw new Error(`Missing required path parameter: teamId`); + throw new Error(`Missing required path parameter: teamId`) } const data = await request< @@ -6217,14 +6035,8 @@ export async function patchTeam({ Record, PatchTeamQueryParams, PatchTeamPathParams - >({ - method: 'PATCH', - url: `/v2/teams/${teamId}`, - queryParams, - ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + >({ method: 'PATCH', url: `/v2/teams/${teamId}`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) + return data } /** @@ -6234,12 +6046,12 @@ export async function patchTeam({ */ export async function getTeams({ queryParams, - config = {} + config = {}, }: { - queryParams?: GetTeamsQueryParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: GetTeamsQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< GetTeamsQueryResponse, @@ -6248,8 +6060,8 @@ export async function getTeams({ Record, GetTeamsQueryParams, Record - >({ method: 'GET', url: `/v2/teams`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v2/teams`, queryParams, ...requestConfig }) + return data } /** @@ -6258,7 +6070,7 @@ export async function getTeams({ * {@link /v1/teams} */ export async function createTeam({ config = {} }: { config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< CreateTeamMutationResponse, @@ -6267,13 +6079,8 @@ export async function createTeam({ config = {} }: { config?: Partial, Record, Record - >({ - method: 'POST', - url: `/v1/teams`, - ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + >({ method: 'POST', url: `/v1/teams`, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) + return data } /** @@ -6284,16 +6091,16 @@ export async function createTeam({ config = {} }: { config?: Partial & { client?: typeof client }; + pathParams: DeleteTeamPathParams + queryParams?: DeleteTeamQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!teamId) { - throw new Error(`Missing required path parameter: teamId`); + throw new Error(`Missing required path parameter: teamId`) } const data = await request< @@ -6303,14 +6110,8 @@ export async function deleteTeam({ Record, DeleteTeamQueryParams, DeleteTeamPathParams - >({ - method: 'DELETE', - url: `/v1/teams/${teamId}`, - queryParams, - ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + >({ method: 'DELETE', url: `/v1/teams/${teamId}`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) + return data } /** @@ -6320,19 +6121,19 @@ export async function deleteTeam({ */ export async function deleteTeamInviteCode({ pathParams: { inviteId, teamId }, - config = {} + config = {}, }: { - pathParams: DeleteTeamInviteCodePathParams; - config?: Partial & { client?: typeof client }; + pathParams: DeleteTeamInviteCodePathParams + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!inviteId) { - throw new Error(`Missing required path parameter: inviteId`); + throw new Error(`Missing required path parameter: inviteId`) } if (!teamId) { - throw new Error(`Missing required path parameter: teamId`); + throw new Error(`Missing required path parameter: teamId`) } const data = await request< @@ -6342,8 +6143,8 @@ export async function deleteTeamInviteCode({ Record, Record, DeleteTeamInviteCodePathParams - >({ method: 'DELETE', url: `/v1/teams/${teamId}/invites/${inviteId}`, ...requestConfig }); - return data; + >({ method: 'DELETE', url: `/v1/teams/${teamId}/invites/${inviteId}`, ...requestConfig }) + return data } /** @@ -6354,13 +6155,13 @@ export async function deleteTeamInviteCode({ export async function uploadFile({ queryParams, headers, - config = {} + config = {}, }: { - queryParams?: UploadFileQueryParams | undefined; - headers?: UploadFileHeaderParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: UploadFileQueryParams | undefined + headers?: UploadFileHeaderParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< UploadFileMutationResponse, @@ -6374,9 +6175,9 @@ export async function uploadFile({ url: `/v2/files`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationOctetStream', ...headers, ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationOctetStream', ...headers, ...requestConfig.headers }, + }) + return data } /** @@ -6384,12 +6185,8 @@ export async function uploadFile({ * @summary List Auth Tokens * {@link /v5/user/tokens} */ -export async function listAuthTokens({ - config = {} -}: { - config?: Partial & { client?: typeof client }; -}) { - const { client: request = client, ...requestConfig } = config; +export async function listAuthTokens({ config = {} }: { config?: Partial & { client?: typeof client } }) { + const { client: request = client, ...requestConfig } = config const data = await request< ListAuthTokensQueryResponse, @@ -6398,8 +6195,8 @@ export async function listAuthTokens({ Record, Record, Record - >({ method: 'GET', url: `/v5/user/tokens`, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v5/user/tokens`, ...requestConfig }) + return data } /** @@ -6409,12 +6206,12 @@ export async function listAuthTokens({ */ export async function createAuthToken({ queryParams, - config = {} + config = {}, }: { - queryParams?: CreateAuthTokenQueryParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: CreateAuthTokenQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< CreateAuthTokenMutationResponse, @@ -6423,14 +6220,8 @@ export async function createAuthToken({ Record, CreateAuthTokenQueryParams, Record - >({ - method: 'POST', - url: `/v3/user/tokens`, - queryParams, - ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + >({ method: 'POST', url: `/v3/user/tokens`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) + return data } /** @@ -6440,15 +6231,15 @@ export async function createAuthToken({ */ export async function getAuthToken({ pathParams: { tokenId }, - config = {} + config = {}, }: { - pathParams: GetAuthTokenPathParams; - config?: Partial & { client?: typeof client }; + pathParams: GetAuthTokenPathParams + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!tokenId) { - throw new Error(`Missing required path parameter: tokenId`); + throw new Error(`Missing required path parameter: tokenId`) } const data = await request< @@ -6458,8 +6249,8 @@ export async function getAuthToken({ Record, Record, GetAuthTokenPathParams - >({ method: 'GET', url: `/v5/user/tokens/${tokenId}`, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v5/user/tokens/${tokenId}`, ...requestConfig }) + return data } /** @@ -6469,15 +6260,15 @@ export async function getAuthToken({ */ export async function deleteAuthToken({ pathParams: { tokenId }, - config = {} + config = {}, }: { - pathParams: DeleteAuthTokenPathParams; - config?: Partial & { client?: typeof client }; + pathParams: DeleteAuthTokenPathParams + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!tokenId) { - throw new Error(`Missing required path parameter: tokenId`); + throw new Error(`Missing required path parameter: tokenId`) } const data = await request< @@ -6487,8 +6278,8 @@ export async function deleteAuthToken({ Record, Record, DeleteAuthTokenPathParams - >({ method: 'DELETE', url: `/v3/user/tokens/${tokenId}`, ...requestConfig }); - return data; + >({ method: 'DELETE', url: `/v3/user/tokens/${tokenId}`, ...requestConfig }) + return data } /** @@ -6497,7 +6288,7 @@ export async function deleteAuthToken({ * {@link /v2/user} */ export async function getAuthUser({ config = {} }: { config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< GetAuthUserQueryResponse, @@ -6506,8 +6297,8 @@ export async function getAuthUser({ config = {} }: { config?: Partial, Record, Record - >({ method: 'GET', url: `/v2/user`, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v2/user`, ...requestConfig }) + return data } /** @@ -6516,7 +6307,7 @@ export async function getAuthUser({ config = {} }: { config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< RequestDeleteMutationResponse, @@ -6525,13 +6316,8 @@ export async function requestDelete({ config = {} }: { config?: Partial, Record, Record - >({ - method: 'DELETE', - url: `/v1/user`, - ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + >({ method: 'DELETE', url: `/v1/user`, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) + return data } /** @@ -6541,12 +6327,12 @@ export async function requestDelete({ config = {} }: { config?: Partial & { client?: typeof client }; + queryParams?: CreateWebhookQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< CreateWebhookMutationResponse, @@ -6555,14 +6341,8 @@ export async function createWebhook({ Record, CreateWebhookQueryParams, Record - >({ - method: 'POST', - url: `/v1/webhooks`, - queryParams, - ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + >({ method: 'POST', url: `/v1/webhooks`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) + return data } /** @@ -6572,12 +6352,12 @@ export async function createWebhook({ */ export async function getWebhooks({ queryParams, - config = {} + config = {}, }: { - queryParams?: GetWebhooksQueryParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: GetWebhooksQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< GetWebhooksQueryResponse, @@ -6586,8 +6366,8 @@ export async function getWebhooks({ Record, GetWebhooksQueryParams, Record - >({ method: 'GET', url: `/v1/webhooks`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v1/webhooks`, queryParams, ...requestConfig }) + return data } /** @@ -6598,16 +6378,16 @@ export async function getWebhooks({ export async function getWebhook({ pathParams: { id }, queryParams, - config = {} + config = {}, }: { - pathParams: GetWebhookPathParams; - queryParams?: GetWebhookQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetWebhookPathParams + queryParams?: GetWebhookQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!id) { - throw new Error(`Missing required path parameter: id`); + throw new Error(`Missing required path parameter: id`) } const data = await request< @@ -6617,8 +6397,8 @@ export async function getWebhook({ Record, GetWebhookQueryParams, GetWebhookPathParams - >({ method: 'GET', url: `/v1/webhooks/${id}`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v1/webhooks/${id}`, queryParams, ...requestConfig }) + return data } /** @@ -6629,16 +6409,16 @@ export async function getWebhook({ export async function deleteWebhook({ pathParams: { id }, queryParams, - config = {} + config = {}, }: { - pathParams: DeleteWebhookPathParams; - queryParams?: DeleteWebhookQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: DeleteWebhookPathParams + queryParams?: DeleteWebhookQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!id) { - throw new Error(`Missing required path parameter: id`); + throw new Error(`Missing required path parameter: id`) } const data = await request< @@ -6648,8 +6428,8 @@ export async function deleteWebhook({ Record, DeleteWebhookQueryParams, DeleteWebhookPathParams - >({ method: 'DELETE', url: `/v1/webhooks/${id}`, queryParams, ...requestConfig }); - return data; + >({ method: 'DELETE', url: `/v1/webhooks/${id}`, queryParams, ...requestConfig }) + return data } /** @@ -6660,29 +6440,27 @@ export async function deleteWebhook({ export async function listDeploymentAliases({ pathParams: { id }, queryParams, - config = {} + config = {}, }: { - pathParams: ListDeploymentAliasesPathParams; - queryParams?: ListDeploymentAliasesQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: ListDeploymentAliasesPathParams + queryParams?: ListDeploymentAliasesQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!id) { - throw new Error(`Missing required path parameter: id`); + throw new Error(`Missing required path parameter: id`) } const data = await request< ListDeploymentAliasesQueryResponse, - ErrorWrapper< - ListDeploymentAliases400 | ListDeploymentAliases401 | ListDeploymentAliases403 | ListDeploymentAliases404 - >, + ErrorWrapper, null, Record, ListDeploymentAliasesQueryParams, ListDeploymentAliasesPathParams - >({ method: 'GET', url: `/v2/deployments/${id}/aliases`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v2/deployments/${id}/aliases`, queryParams, ...requestConfig }) + return data } /** @@ -6693,16 +6471,16 @@ export async function listDeploymentAliases({ export async function assignAlias({ pathParams: { id }, queryParams, - config = {} + config = {}, }: { - pathParams: AssignAliasPathParams; - queryParams?: AssignAliasQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: AssignAliasPathParams + queryParams?: AssignAliasQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!id) { - throw new Error(`Missing required path parameter: id`); + throw new Error(`Missing required path parameter: id`) } const data = await request< @@ -6717,9 +6495,9 @@ export async function assignAlias({ url: `/v2/deployments/${id}/aliases`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return data } /** @@ -6729,12 +6507,12 @@ export async function assignAlias({ */ export async function listAliases({ queryParams, - config = {} + config = {}, }: { - queryParams?: ListAliasesQueryParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: ListAliasesQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< ListAliasesQueryResponse, @@ -6743,8 +6521,8 @@ export async function listAliases({ Record, ListAliasesQueryParams, Record - >({ method: 'GET', url: `/v4/aliases`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v4/aliases`, queryParams, ...requestConfig }) + return data } /** @@ -6755,16 +6533,16 @@ export async function listAliases({ export async function getAlias({ pathParams: { idOrAlias }, queryParams, - config = {} + config = {}, }: { - pathParams: GetAliasPathParams; - queryParams?: GetAliasQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetAliasPathParams + queryParams?: GetAliasQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrAlias) { - throw new Error(`Missing required path parameter: idOrAlias`); + throw new Error(`Missing required path parameter: idOrAlias`) } const data = await request< @@ -6774,8 +6552,8 @@ export async function getAlias({ Record, GetAliasQueryParams, GetAliasPathParams - >({ method: 'GET', url: `/v4/aliases/${idOrAlias}`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v4/aliases/${idOrAlias}`, queryParams, ...requestConfig }) + return data } /** @@ -6786,16 +6564,16 @@ export async function getAlias({ export async function deleteAlias({ pathParams: { aliasId }, queryParams, - config = {} + config = {}, }: { - pathParams: DeleteAliasPathParams; - queryParams?: DeleteAliasQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: DeleteAliasPathParams + queryParams?: DeleteAliasQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!aliasId) { - throw new Error(`Missing required path parameter: aliasId`); + throw new Error(`Missing required path parameter: aliasId`) } const data = await request< @@ -6805,8 +6583,8 @@ export async function deleteAlias({ Record, DeleteAliasQueryParams, DeleteAliasPathParams - >({ method: 'DELETE', url: `/v2/aliases/${aliasId}`, queryParams, ...requestConfig }); - return data; + >({ method: 'DELETE', url: `/v2/aliases/${aliasId}`, queryParams, ...requestConfig }) + return data } /** @@ -6817,16 +6595,16 @@ export async function deleteAlias({ export async function patchUrlProtectionBypass({ pathParams: { id }, queryParams, - config = {} + config = {}, }: { - pathParams: PatchUrlProtectionBypassPathParams; - queryParams?: PatchUrlProtectionBypassQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: PatchUrlProtectionBypassPathParams + queryParams?: PatchUrlProtectionBypassQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!id) { - throw new Error(`Missing required path parameter: id`); + throw new Error(`Missing required path parameter: id`) } const data = await request< @@ -6849,16 +6627,16 @@ export async function patchUrlProtectionBypass({ url: `/aliases/${id}/protection-bypass`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return data } /** * {@link /certs} */ export async function listCerts({ config = {} }: { config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< ListCertsQueryResponse, @@ -6867,8 +6645,8 @@ export async function listCerts({ config = {} }: { config?: Partial, Record, Record - >({ method: 'GET', url: `/certs`, ...requestConfig }); - return data; + >({ method: 'GET', url: `/certs`, ...requestConfig }) + return data } /** @@ -6879,16 +6657,16 @@ export async function listCerts({ config = {} }: { config?: Partial & { client?: typeof client }; + pathParams: GetCertByIdPathParams + queryParams?: GetCertByIdQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!id) { - throw new Error(`Missing required path parameter: id`); + throw new Error(`Missing required path parameter: id`) } const data = await request< @@ -6898,8 +6676,8 @@ export async function getCertById({ Record, GetCertByIdQueryParams, GetCertByIdPathParams - >({ method: 'GET', url: `/v8/certs/${id}`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v8/certs/${id}`, queryParams, ...requestConfig }) + return data } /** @@ -6910,16 +6688,16 @@ export async function getCertById({ export async function removeCert({ pathParams: { id }, queryParams, - config = {} + config = {}, }: { - pathParams: RemoveCertPathParams; - queryParams?: RemoveCertQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: RemoveCertPathParams + queryParams?: RemoveCertQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!id) { - throw new Error(`Missing required path parameter: id`); + throw new Error(`Missing required path parameter: id`) } const data = await request< @@ -6929,8 +6707,8 @@ export async function removeCert({ Record, RemoveCertQueryParams, RemoveCertPathParams - >({ method: 'DELETE', url: `/v8/certs/${id}`, queryParams, ...requestConfig }); - return data; + >({ method: 'DELETE', url: `/v8/certs/${id}`, queryParams, ...requestConfig }) + return data } /** @@ -6940,30 +6718,22 @@ export async function removeCert({ */ export async function issueCert({ queryParams, - config = {} + config = {}, }: { - queryParams?: IssueCertQueryParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: IssueCertQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< IssueCertMutationResponse, - ErrorWrapper< - IssueCert400 | IssueCert401 | IssueCert402 | IssueCert403 | IssueCert404 | IssueCert449 | IssueCert500 - >, + ErrorWrapper, null, Record, IssueCertQueryParams, Record - >({ - method: 'POST', - url: `/v8/certs`, - queryParams, - ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + >({ method: 'POST', url: `/v8/certs`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) + return data } /** @@ -6973,12 +6743,12 @@ export async function issueCert({ */ export async function uploadCert({ queryParams, - config = {} + config = {}, }: { - queryParams?: UploadCertQueryParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: UploadCertQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< UploadCertMutationResponse, @@ -6987,14 +6757,8 @@ export async function uploadCert({ Record, UploadCertQueryParams, Record - >({ - method: 'PUT', - url: `/v8/certs`, - queryParams, - ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + >({ method: 'PUT', url: `/v8/certs`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) + return data } /** @@ -7005,16 +6769,16 @@ export async function uploadCert({ export async function listDeploymentFiles({ pathParams: { id }, queryParams, - config = {} + config = {}, }: { - pathParams: ListDeploymentFilesPathParams; - queryParams?: ListDeploymentFilesQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: ListDeploymentFilesPathParams + queryParams?: ListDeploymentFilesQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!id) { - throw new Error(`Missing required path parameter: id`); + throw new Error(`Missing required path parameter: id`) } const data = await request< @@ -7024,8 +6788,8 @@ export async function listDeploymentFiles({ Record, ListDeploymentFilesQueryParams, ListDeploymentFilesPathParams - >({ method: 'GET', url: `/v6/deployments/${id}/files`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v6/deployments/${id}/files`, queryParams, ...requestConfig }) + return data } /** @@ -7036,37 +6800,33 @@ export async function listDeploymentFiles({ export async function getDeploymentFileContents({ pathParams: { id, fileId }, queryParams, - config = {} + config = {}, }: { - pathParams: GetDeploymentFileContentsPathParams; - queryParams?: GetDeploymentFileContentsQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetDeploymentFileContentsPathParams + queryParams?: GetDeploymentFileContentsQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!id) { - throw new Error(`Missing required path parameter: id`); + throw new Error(`Missing required path parameter: id`) } if (!fileId) { - throw new Error(`Missing required path parameter: fileId`); + throw new Error(`Missing required path parameter: fileId`) } const data = await request< GetDeploymentFileContentsQueryResponse, ErrorWrapper< - | GetDeploymentFileContents400 - | GetDeploymentFileContents401 - | GetDeploymentFileContents403 - | GetDeploymentFileContents404 - | GetDeploymentFileContents410 + GetDeploymentFileContents400 | GetDeploymentFileContents401 | GetDeploymentFileContents403 | GetDeploymentFileContents404 | GetDeploymentFileContents410 >, null, Record, GetDeploymentFileContentsQueryParams, GetDeploymentFileContentsPathParams - >({ method: 'GET', url: `/v8/deployments/${id}/files/${fileId}`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v8/deployments/${id}/files/${fileId}`, queryParams, ...requestConfig }) + return data } /** @@ -7076,12 +6836,12 @@ export async function getDeploymentFileContents({ */ export async function getDeployments({ queryParams, - config = {} + config = {}, }: { - queryParams?: GetDeploymentsQueryParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: GetDeploymentsQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< GetDeploymentsQueryResponse, @@ -7090,8 +6850,8 @@ export async function getDeployments({ Record, GetDeploymentsQueryParams, Record - >({ method: 'GET', url: `/v6/deployments`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v6/deployments`, queryParams, ...requestConfig }) + return data } /** @@ -7102,16 +6862,16 @@ export async function getDeployments({ export async function deleteDeployment({ pathParams: { id }, queryParams, - config = {} + config = {}, }: { - pathParams: DeleteDeploymentPathParams; - queryParams?: DeleteDeploymentQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: DeleteDeploymentPathParams + queryParams?: DeleteDeploymentQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!id) { - throw new Error(`Missing required path parameter: id`); + throw new Error(`Missing required path parameter: id`) } const data = await request< @@ -7121,8 +6881,8 @@ export async function deleteDeployment({ Record, DeleteDeploymentQueryParams, DeleteDeploymentPathParams - >({ method: 'DELETE', url: `/v13/deployments/${id}`, queryParams, ...requestConfig }); - return data; + >({ method: 'DELETE', url: `/v13/deployments/${id}`, queryParams, ...requestConfig }) + return data } /** @@ -7132,12 +6892,12 @@ export async function deleteDeployment({ */ export async function getSecrets({ queryParams, - config = {} + config = {}, }: { - queryParams?: GetSecretsQueryParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: GetSecretsQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< GetSecretsQueryResponse, @@ -7146,8 +6906,8 @@ export async function getSecrets({ Record, GetSecretsQueryParams, Record - >({ method: 'GET', url: `/v3/secrets`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v3/secrets`, queryParams, ...requestConfig }) + return data } /** @@ -7158,16 +6918,16 @@ export async function getSecrets({ export async function createSecret({ pathParams: { name }, queryParams, - config = {} + config = {}, }: { - pathParams: CreateSecretPathParams; - queryParams?: CreateSecretQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: CreateSecretPathParams + queryParams?: CreateSecretQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!name) { - throw new Error(`Missing required path parameter: name`); + throw new Error(`Missing required path parameter: name`) } const data = await request< @@ -7177,14 +6937,8 @@ export async function createSecret({ Record, CreateSecretQueryParams, CreateSecretPathParams - >({ - method: 'POST', - url: `/v2/secrets/${name}`, - queryParams, - ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + >({ method: 'POST', url: `/v2/secrets/${name}`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) + return data } /** @@ -7195,16 +6949,16 @@ export async function createSecret({ export async function renameSecret({ pathParams: { name }, queryParams, - config = {} + config = {}, }: { - pathParams: RenameSecretPathParams; - queryParams?: RenameSecretQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: RenameSecretPathParams + queryParams?: RenameSecretQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!name) { - throw new Error(`Missing required path parameter: name`); + throw new Error(`Missing required path parameter: name`) } const data = await request< @@ -7214,14 +6968,8 @@ export async function renameSecret({ Record, RenameSecretQueryParams, RenameSecretPathParams - >({ - method: 'PATCH', - url: `/v2/secrets/${name}`, - queryParams, - ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return data; + >({ method: 'PATCH', url: `/v2/secrets/${name}`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) + return data } /** @@ -7232,16 +6980,16 @@ export async function renameSecret({ export async function getSecret({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: GetSecretPathParams; - queryParams?: GetSecretQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetSecretPathParams + queryParams?: GetSecretQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< @@ -7251,8 +6999,8 @@ export async function getSecret({ Record, GetSecretQueryParams, GetSecretPathParams - >({ method: 'GET', url: `/v3/secrets/${idOrName}`, queryParams, ...requestConfig }); - return data; + >({ method: 'GET', url: `/v3/secrets/${idOrName}`, queryParams, ...requestConfig }) + return data } /** @@ -7263,16 +7011,16 @@ export async function getSecret({ export async function deleteSecret({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: DeleteSecretPathParams; - queryParams?: DeleteSecretQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: DeleteSecretPathParams + queryParams?: DeleteSecretQueryParams | undefined + config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< @@ -7282,8 +7030,8 @@ export async function deleteSecret({ Record, DeleteSecretQueryParams, DeleteSecretPathParams - >({ method: 'DELETE', url: `/v2/secrets/${idOrName}`, queryParams, ...requestConfig }); - return data; + >({ method: 'DELETE', url: `/v2/secrets/${idOrName}`, queryParams, ...requestConfig }) + return data } export const operationsByPath = { @@ -7312,8 +7060,7 @@ export const operationsByPath = { 'PATCH /data-cache/billing-settings': updateDataCacheBillingSettings, 'PATCH /v1/data-cache/projects/{projectId}': updateProjectDataCache, 'GET /v3/deployments/{idOrUrl}/events': getDeploymentEvents, - 'PATCH /v1/deployments/{deploymentId}/integrations/{integrationConfigurationId}/resources/{resourceId}/actions/{action}': - updateIntegrationDeploymentAction, + 'PATCH /v1/deployments/{deploymentId}/integrations/{integrationConfigurationId}/resources/{resourceId}/actions/{action}': updateIntegrationDeploymentAction, 'GET /v13/deployments/{idOrUrl}': getDeployment, 'POST /v13/deployments': createDeployment, 'PATCH /v12/deployments/{id}/cancel': cancelDeployment, @@ -7349,6 +7096,8 @@ export const operationsByPath = { 'GET /v1/edge-config/{edgeConfigId}/backups/{edgeConfigBackupVersionId}': getEdgeConfigBackup, 'GET /v1/edge-config/{edgeConfigId}/backups': getEdgeConfigBackups, 'GET /v3/events': listUserEvents, + 'GET /v1/integrations/integration/{integrationIdOrSlug}/products/{productIdOrSlug}/plans': + gETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans, 'GET /v1/installations/{integrationConfigurationId}/account': getAccountInfo, 'GET /v1/installations/{integrationConfigurationId}/member/{memberId}': getMember, 'POST /v1/installations/{integrationConfigurationId}/events': createEvent, @@ -7361,25 +7110,21 @@ export const operationsByPath = { 'GET /v1/installations/{integrationConfigurationId}/billing/invoices/{invoiceId}': getInvoice, 'POST /v1/installations/{integrationConfigurationId}/billing/invoices/{invoiceId}/actions': updateInvoice, 'POST /v1/installations/{integrationConfigurationId}/billing/balance': submitPrepaymentBalances, - 'PUT /v1/installations/{integrationConfigurationId}/products/{integrationProductIdOrSlug}/resources/{resourceId}/secrets': - updateResourceSecrets, + 'PUT /v1/installations/{integrationConfigurationId}/products/{integrationProductIdOrSlug}/resources/{resourceId}/secrets': updateResourceSecrets, 'PUT /v1/installations/{integrationConfigurationId}/resources/{resourceId}/secrets': updateResourceSecretsById, 'GET /v1/integrations/configurations': getConfigurations, 'GET /v1/integrations/configuration/{id}': getConfiguration, 'DELETE /v1/integrations/configuration/{id}': deleteConfiguration, + 'GET /v1/integrations/configuration/{id}/products': getConfigurationProducts, 'POST /v1/integrations/sso/token': exchangeSsoToken, 'GET /v2/integrations/log-drains': getIntegrationLogDrains, 'POST /v2/integrations/log-drains': createLogDrain, 'DELETE /v1/integrations/log-drains/{id}': deleteIntegrationLogDrain, 'GET /v1/projects/{projectId}/deployments/{deploymentId}/runtime-logs': getRuntimeLogs, - 'POST /v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/items': - createExperimentationItem, - 'PATCH /v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/items/{itemId}': - updateExperimentationItem, - 'DELETE /v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/items/{itemId}': - deleteExperimentationItem, - 'PUT /v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/edge-config': - updateExperimentationEdgeConfig, + 'POST /v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/items': createExperimentationItem, + 'PATCH /v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/items/{itemId}': updateExperimentationItem, + 'DELETE /v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/items/{itemId}': deleteExperimentationItem, + 'PUT /v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/edge-config': updateExperimentationEdgeConfig, 'GET /v1/projects/{idOrName}/members': getProjectMembers, 'POST /v1/projects/{idOrName}/members': addProjectMember, 'DELETE /v1/projects/{idOrName}/members/{uid}': removeProjectMember, @@ -7470,8 +7215,8 @@ export const operationsByPath = { 'POST /v2/secrets/{name}': createSecret, 'PATCH /v2/secrets/{name}': renameSecret, 'GET /v3/secrets/{idOrName}': getSecret, - 'DELETE /v2/secrets/{idOrName}': deleteSecret -}; + 'DELETE /v2/secrets/{idOrName}': deleteSecret, +} export const operationsByTag = { accessGroups: { @@ -7485,21 +7230,21 @@ export const operationsByTag = { createAccessGroupProject, readAccessGroupProject, updateAccessGroupProject, - deleteAccessGroupProject + deleteAccessGroupProject, }, artifacts: { recordEvents, status, uploadArtifact, downloadArtifact, - artifactQuery + artifactQuery, }, checks: { createCheck, getAllChecks, getCheck, updateCheck, - rerequestCheck + rerequestCheck, }, projects: { updateProjectDataCache, @@ -7526,7 +7271,7 @@ export const operationsByTag = { requestPromote, listPromoteAliases, pauseProject, - unpauseProject + unpauseProject, }, deployments: { getDeploymentEvents, @@ -7538,13 +7283,14 @@ export const operationsByTag = { listDeploymentFiles, getDeploymentFileContents, getDeployments, - deleteDeployment + deleteDeployment, }, integrations: { updateIntegrationDeploymentAction, getConfigurations, getConfiguration, - deleteConfiguration + deleteConfiguration, + getConfigurationProducts, }, domains: { buyDomain, @@ -7556,13 +7302,13 @@ export const operationsByTag = { getDomains, createOrTransferDomain, patchDomain, - deleteDomain + deleteDomain, }, dns: { getRecords, createRecord, updateRecord, - removeRecord + removeRecord, }, edgeConfig: { getEdgeConfigs, @@ -7581,12 +7327,12 @@ export const operationsByTag = { getEdgeConfigToken, createEdgeConfigToken, getEdgeConfigBackup, - getEdgeConfigBackups + getEdgeConfigBackups, }, user: { listUserEvents, getAuthUser, - requestDelete + requestDelete, }, marketplace: { getAccountInfo, @@ -7607,34 +7353,34 @@ export const operationsByTag = { createExperimentationItem, updateExperimentationItem, deleteExperimentationItem, - updateExperimentationEdgeConfig + updateExperimentationEdgeConfig, }, authentication: { exchangeSsoToken, listAuthTokens, createAuthToken, getAuthToken, - deleteAuthToken + deleteAuthToken, }, logdrains: { getIntegrationLogDrains, createLogDrain, - deleteIntegrationLogDrain + deleteIntegrationLogDrain, }, logs: { - getRuntimeLogs + getRuntimeLogs, }, projectmembers: { getProjectMembers, addProjectMember, - removeProjectMember + removeProjectMember, }, environment: { createCustomEnvironment, listCustomEnvironments, getCustomEnvironment, updateCustomEnvironment, - removeCustomEnvironment + removeCustomEnvironment, }, rollingRelease: { getRollingReleaseBillingStatus, @@ -7643,7 +7389,7 @@ export const operationsByTag = { updateRollingReleaseConfig, getRollingRelease, approveRollingReleaseStage, - completeRollingRelease + completeRollingRelease, }, security: { updateAttackChallengeMode, @@ -7653,7 +7399,7 @@ export const operationsByTag = { getActiveAttackStatus, getBypassIp, addBypassIp, - removeBypassIp + removeBypassIp, }, teams: { getTeamMembers, @@ -7668,13 +7414,13 @@ export const operationsByTag = { getTeams, createTeam, deleteTeam, - deleteTeamInviteCode + deleteTeamInviteCode, }, webhooks: { createWebhook, getWebhooks, getWebhook, - deleteWebhook + deleteWebhook, }, aliases: { listDeploymentAliases, @@ -7682,63 +7428,43 @@ export const operationsByTag = { listAliases, getAlias, deleteAlias, - patchUrlProtectionBypass + patchUrlProtectionBypass, }, certs: { getCertById, removeCert, issueCert, - uploadCert + uploadCert, }, secrets: { getSecrets, createSecret, renameSecret, getSecret, - deleteSecret - } -}; + deleteSecret, + }, +} export const tagDictionary = { accessGroups: { - GET: [ - 'readAccessGroup', - 'listAccessGroupMembers', - 'listAccessGroups', - 'listAccessGroupProjects', - 'readAccessGroupProject' - ], + GET: ['readAccessGroup', 'listAccessGroupMembers', 'listAccessGroups', 'listAccessGroupProjects', 'readAccessGroupProject'], POST: ['updateAccessGroup', 'createAccessGroup', 'createAccessGroupProject'], DELETE: ['deleteAccessGroup', 'deleteAccessGroupProject'], - PATCH: ['updateAccessGroupProject'] + PATCH: ['updateAccessGroupProject'], }, artifacts: { POST: ['recordEvents', 'artifactQuery'], GET: ['status', 'downloadArtifact'], - PUT: ['uploadArtifact'] + PUT: ['uploadArtifact'], }, checks: { POST: ['createCheck', 'rerequestCheck'], GET: ['getAllChecks', 'getCheck'], - PATCH: ['updateCheck'] + PATCH: ['updateCheck'], }, projects: { - PATCH: [ - 'updateProjectDataCache', - 'updateProject', - 'updateProjectDomain', - 'editProjectEnv', - 'updateProjectProtectionBypass' - ], - GET: [ - 'getProjects', - 'getProject', - 'getProjectDomains', - 'getProjectDomain', - 'filterProjectEnvs', - 'getProjectEnv', - 'listPromoteAliases' - ], + PATCH: ['updateProjectDataCache', 'updateProject', 'updateProjectDomain', 'editProjectEnv', 'updateProjectProtectionBypass'], + GET: ['getProjects', 'getProject', 'getProjectDomains', 'getProjectDomain', 'filterProjectEnvs', 'getProjectEnv', 'listPromoteAliases'], POST: [ 'createProject', 'addProjectDomain', @@ -7748,33 +7474,33 @@ export const tagDictionary = { 'createProjectTransferRequest', 'requestPromote', 'pauseProject', - 'unpauseProject' + 'unpauseProject', ], DELETE: ['deleteProject', 'removeProjectDomain', 'removeProjectEnv'], - PUT: ['acceptProjectTransferRequest'] + PUT: ['acceptProjectTransferRequest'], }, deployments: { GET: ['getDeploymentEvents', 'getDeployment', 'listDeploymentFiles', 'getDeploymentFileContents', 'getDeployments'], PATCH: ['updateIntegrationDeploymentAction', 'cancelDeployment'], POST: ['createDeployment', 'uploadFile'], - DELETE: ['deleteDeployment'] + DELETE: ['deleteDeployment'], }, integrations: { PATCH: ['updateIntegrationDeploymentAction'], - GET: ['getConfigurations', 'getConfiguration'], - DELETE: ['deleteConfiguration'] + GET: ['getConfigurations', 'getConfiguration', 'getConfigurationProducts'], + DELETE: ['deleteConfiguration'], }, domains: { POST: ['buyDomain', 'createOrTransferDomain'], GET: ['checkDomainPrice', 'checkDomainStatus', 'getDomainTransfer', 'getDomainConfig', 'getDomain', 'getDomains'], PATCH: ['patchDomain'], - DELETE: ['deleteDomain'] + DELETE: ['deleteDomain'], }, dns: { GET: ['getRecords'], POST: ['createRecord'], PATCH: ['updateRecord'], - DELETE: ['removeRecord'] + DELETE: ['removeRecord'], }, edgeConfig: { GET: [ @@ -7786,96 +7512,88 @@ export const tagDictionary = { 'getEdgeConfigTokens', 'getEdgeConfigToken', 'getEdgeConfigBackup', - 'getEdgeConfigBackups' + 'getEdgeConfigBackups', ], POST: ['createEdgeConfig', 'patchEdgeConfigSchema', 'createEdgeConfigToken'], PUT: ['updateEdgeConfig'], DELETE: ['deleteEdgeConfig', 'deleteEdgeConfigSchema', 'deleteEdgeConfigTokens'], - PATCH: ['patchEdgeConfigItems'] + PATCH: ['patchEdgeConfigItems'], }, user: { GET: ['listUserEvents', 'getAuthUser'], - DELETE: ['requestDelete'] + DELETE: ['requestDelete'], }, marketplace: { GET: ['getAccountInfo', 'getMember', 'getIntegrationResources', 'getIntegrationResource', 'getInvoice'], - POST: [ - 'createEvent', - 'submitBillingData', - 'submitInvoice', - 'updateInvoice', - 'submitPrepaymentBalances', - 'exchangeSsoToken', - 'createExperimentationItem' - ], + POST: ['createEvent', 'submitBillingData', 'submitInvoice', 'updateInvoice', 'submitPrepaymentBalances', 'exchangeSsoToken', 'createExperimentationItem'], DELETE: ['deleteIntegrationResource', 'deleteExperimentationItem'], PUT: ['importResource', 'updateResourceSecrets', 'updateResourceSecretsById', 'updateExperimentationEdgeConfig'], - PATCH: ['updateExperimentationItem'] + PATCH: ['updateExperimentationItem'], }, authentication: { POST: ['exchangeSsoToken', 'createAuthToken'], GET: ['listAuthTokens', 'getAuthToken'], - DELETE: ['deleteAuthToken'] + DELETE: ['deleteAuthToken'], }, logdrains: { GET: ['getIntegrationLogDrains'], POST: ['createLogDrain'], - DELETE: ['deleteIntegrationLogDrain'] + DELETE: ['deleteIntegrationLogDrain'], }, logs: { - GET: ['getRuntimeLogs'] + GET: ['getRuntimeLogs'], }, projectmembers: { GET: ['getProjectMembers'], POST: ['addProjectMember'], - DELETE: ['removeProjectMember'] + DELETE: ['removeProjectMember'], }, environment: { POST: ['createCustomEnvironment'], GET: ['listCustomEnvironments', 'getCustomEnvironment'], PATCH: ['updateCustomEnvironment'], - DELETE: ['removeCustomEnvironment'] + DELETE: ['removeCustomEnvironment'], }, rollingRelease: { GET: ['getRollingReleaseBillingStatus', 'getRollingReleaseConfig', 'getRollingRelease'], DELETE: ['deleteRollingReleaseConfig'], PATCH: ['updateRollingReleaseConfig'], - POST: ['approveRollingReleaseStage', 'completeRollingRelease'] + POST: ['approveRollingReleaseStage', 'completeRollingRelease'], }, security: { POST: ['updateAttackChallengeMode', 'addBypassIp'], PUT: ['putFirewallConfig'], PATCH: ['updateFirewallConfig'], GET: ['getFirewallConfig', 'getActiveAttackStatus', 'getBypassIp'], - DELETE: ['removeBypassIp'] + DELETE: ['removeBypassIp'], }, teams: { GET: ['getTeamMembers', 'getTeamAccessRequest', 'getTeam', 'getTeams'], POST: ['inviteUserToTeam', 'requestAccessToTeam', 'joinTeam', 'createTeam'], PATCH: ['updateTeamMember', 'patchTeam'], - DELETE: ['removeTeamMember', 'deleteTeam', 'deleteTeamInviteCode'] + DELETE: ['removeTeamMember', 'deleteTeam', 'deleteTeamInviteCode'], }, webhooks: { POST: ['createWebhook'], GET: ['getWebhooks', 'getWebhook'], - DELETE: ['deleteWebhook'] + DELETE: ['deleteWebhook'], }, aliases: { GET: ['listDeploymentAliases', 'listAliases', 'getAlias'], POST: ['assignAlias'], DELETE: ['deleteAlias'], - PATCH: ['patchUrlProtectionBypass'] + PATCH: ['patchUrlProtectionBypass'], }, certs: { GET: ['getCertById'], DELETE: ['removeCert'], POST: ['issueCert'], - PUT: ['uploadCert'] + PUT: ['uploadCert'], }, secrets: { GET: ['getSecrets', 'getSecret'], POST: ['createSecret'], PATCH: ['renameSecret'], - DELETE: ['deleteSecret'] - } -} as const; + DELETE: ['deleteSecret'], + }, +} as const \ No newline at end of file diff --git a/packages/vercel-api-js/src/generated/mcp.ts b/packages/vercel-api-js/src/generated/mcp.ts index 08f6aa69d..a7c4e10e2 100644 --- a/packages/vercel-api-js/src/generated/mcp.ts +++ b/packages/vercel-api-js/src/generated/mcp.ts @@ -1,1485 +1,1518 @@ -import type { ErrorWrapper, FetcherConfig } from '../utils/fetcher'; -import client from '../utils/fetcher'; -import type { CallToolResult } from '../utils/mcp'; -import { - acceptProjectTransferRequestPathParamsSchema, - acceptProjectTransferRequestQueryParamsSchema, - addBypassIpQueryParamsSchema, - addProjectDomainPathParamsSchema, - addProjectDomainQueryParamsSchema, - addProjectMemberPathParamsSchema, - addProjectMemberQueryParamsSchema, - approveRollingReleaseStagePathParamsSchema, - approveRollingReleaseStageQueryParamsSchema, - artifactQueryQueryParamsSchema, - assignAliasPathParamsSchema, - assignAliasQueryParamsSchema, - buyDomainQueryParamsSchema, - cancelDeploymentPathParamsSchema, - cancelDeploymentQueryParamsSchema, - checkDomainPriceQueryParamsSchema, - checkDomainStatusQueryParamsSchema, - completeRollingReleasePathParamsSchema, - completeRollingReleaseQueryParamsSchema, - createAccessGroupProjectPathParamsSchema, - createAccessGroupProjectQueryParamsSchema, - createAccessGroupQueryParamsSchema, - createAuthTokenQueryParamsSchema, - createCheckPathParamsSchema, - createCheckQueryParamsSchema, - createCustomEnvironmentPathParamsSchema, - createCustomEnvironmentQueryParamsSchema, - createDeploymentQueryParamsSchema, - createEdgeConfigQueryParamsSchema, - createEdgeConfigTokenPathParamsSchema, - createEdgeConfigTokenQueryParamsSchema, - createEventPathParamsSchema, - createExperimentationItemPathParamsSchema, - createLogDrainQueryParamsSchema, - createOrTransferDomainQueryParamsSchema, - createProjectEnvPathParamsSchema, - createProjectEnvQueryParamsSchema, - createProjectQueryParamsSchema, - createProjectTransferRequestPathParamsSchema, - createProjectTransferRequestQueryParamsSchema, - createRecordPathParamsSchema, - createRecordQueryParamsSchema, - createSecretPathParamsSchema, - createSecretQueryParamsSchema, - createWebhookQueryParamsSchema, - deleteAccessGroupPathParamsSchema, - deleteAccessGroupProjectPathParamsSchema, - deleteAccessGroupProjectQueryParamsSchema, - deleteAccessGroupQueryParamsSchema, - deleteAliasPathParamsSchema, - deleteAliasQueryParamsSchema, - deleteAuthTokenPathParamsSchema, - deleteConfigurationPathParamsSchema, - deleteConfigurationQueryParamsSchema, - deleteDeploymentPathParamsSchema, - deleteDeploymentQueryParamsSchema, - deleteDomainPathParamsSchema, - deleteDomainQueryParamsSchema, - deleteEdgeConfigPathParamsSchema, - deleteEdgeConfigQueryParamsSchema, - deleteEdgeConfigSchemaPathParamsSchema, - deleteEdgeConfigSchemaQueryParamsSchema, - deleteEdgeConfigTokensPathParamsSchema, - deleteEdgeConfigTokensQueryParamsSchema, - deleteExperimentationItemPathParamsSchema, - deleteIntegrationLogDrainPathParamsSchema, - deleteIntegrationLogDrainQueryParamsSchema, - deleteIntegrationResourcePathParamsSchema, - deleteProjectPathParamsSchema, - deleteProjectQueryParamsSchema, - deleteRollingReleaseConfigPathParamsSchema, - deleteRollingReleaseConfigQueryParamsSchema, - deleteSecretPathParamsSchema, - deleteSecretQueryParamsSchema, - deleteTeamInviteCodePathParamsSchema, - deleteTeamPathParamsSchema, - deleteTeamQueryParamsSchema, - deleteWebhookPathParamsSchema, - deleteWebhookQueryParamsSchema, - downloadArtifactHeaderParamsSchema, - downloadArtifactPathParamsSchema, - downloadArtifactQueryParamsSchema, - editProjectEnvPathParamsSchema, - editProjectEnvQueryParamsSchema, - filterProjectEnvsPathParamsSchema, - filterProjectEnvsQueryParamsSchema, - getAccountInfoPathParamsSchema, - getActiveAttackStatusQueryParamsSchema, - getAliasPathParamsSchema, - getAliasQueryParamsSchema, - getAllChecksPathParamsSchema, - getAllChecksQueryParamsSchema, - getAuthTokenPathParamsSchema, - getBypassIpQueryParamsSchema, - getCertByIdPathParamsSchema, - getCertByIdQueryParamsSchema, - getCheckPathParamsSchema, - getCheckQueryParamsSchema, - getConfigurationPathParamsSchema, - getConfigurationQueryParamsSchema, - getConfigurationsQueryParamsSchema, - getCustomEnvironmentPathParamsSchema, - getCustomEnvironmentQueryParamsSchema, - getDeploymentEventsPathParamsSchema, - getDeploymentEventsQueryParamsSchema, - getDeploymentFileContentsPathParamsSchema, - getDeploymentFileContentsQueryParamsSchema, - getDeploymentPathParamsSchema, - getDeploymentQueryParamsSchema, - getDeploymentsQueryParamsSchema, - getDomainConfigPathParamsSchema, - getDomainConfigQueryParamsSchema, - getDomainPathParamsSchema, - getDomainQueryParamsSchema, - getDomainsQueryParamsSchema, - getDomainTransferPathParamsSchema, - getDomainTransferQueryParamsSchema, - getEdgeConfigBackupPathParamsSchema, - getEdgeConfigBackupQueryParamsSchema, - getEdgeConfigBackupsPathParamsSchema, - getEdgeConfigBackupsQueryParamsSchema, - getEdgeConfigItemPathParamsSchema, - getEdgeConfigItemQueryParamsSchema, - getEdgeConfigItemsPathParamsSchema, - getEdgeConfigItemsQueryParamsSchema, - getEdgeConfigPathParamsSchema, - getEdgeConfigQueryParamsSchema, - getEdgeConfigSchemaPathParamsSchema, - getEdgeConfigSchemaQueryParamsSchema, - getEdgeConfigsQueryParamsSchema, - getEdgeConfigTokenPathParamsSchema, - getEdgeConfigTokenQueryParamsSchema, - getEdgeConfigTokensPathParamsSchema, - getEdgeConfigTokensQueryParamsSchema, - getFirewallConfigPathParamsSchema, - getFirewallConfigQueryParamsSchema, - getIntegrationLogDrainsQueryParamsSchema, - getIntegrationResourcePathParamsSchema, - getIntegrationResourcesPathParamsSchema, - getInvoicePathParamsSchema, - getMemberPathParamsSchema, - getProjectDomainPathParamsSchema, - getProjectDomainQueryParamsSchema, - getProjectDomainsPathParamsSchema, - getProjectDomainsQueryParamsSchema, - getProjectEnvPathParamsSchema, - getProjectEnvQueryParamsSchema, - getProjectMembersPathParamsSchema, - getProjectMembersQueryParamsSchema, - getProjectPathParamsSchema, - getProjectQueryParamsSchema, - getProjectsQueryParamsSchema, - getRecordsPathParamsSchema, - getRecordsQueryParamsSchema, - getRollingReleaseBillingStatusPathParamsSchema, - getRollingReleaseBillingStatusQueryParamsSchema, - getRollingReleaseConfigPathParamsSchema, - getRollingReleaseConfigQueryParamsSchema, - getRollingReleasePathParamsSchema, - getRollingReleaseQueryParamsSchema, - getRuntimeLogsPathParamsSchema, - getRuntimeLogsQueryParamsSchema, - getSecretPathParamsSchema, - getSecretQueryParamsSchema, - getSecretsQueryParamsSchema, - getTeamAccessRequestPathParamsSchema, - getTeamMembersPathParamsSchema, - getTeamMembersQueryParamsSchema, - getTeamPathParamsSchema, - getTeamQueryParamsSchema, - getTeamsQueryParamsSchema, - getWebhookPathParamsSchema, - getWebhookQueryParamsSchema, - getWebhooksQueryParamsSchema, - importResourcePathParamsSchema, - inviteUserToTeamPathParamsSchema, - issueCertQueryParamsSchema, - joinTeamPathParamsSchema, - listAccessGroupMembersPathParamsSchema, - listAccessGroupMembersQueryParamsSchema, - listAccessGroupProjectsPathParamsSchema, - listAccessGroupProjectsQueryParamsSchema, - listAccessGroupsQueryParamsSchema, - listAliasesQueryParamsSchema, - listCustomEnvironmentsPathParamsSchema, - listCustomEnvironmentsQueryParamsSchema, - listDeploymentAliasesPathParamsSchema, - listDeploymentAliasesQueryParamsSchema, - listDeploymentFilesPathParamsSchema, - listDeploymentFilesQueryParamsSchema, - listPromoteAliasesPathParamsSchema, - listPromoteAliasesQueryParamsSchema, - listUserEventsQueryParamsSchema, - moveProjectDomainPathParamsSchema, - moveProjectDomainQueryParamsSchema, - patchDomainPathParamsSchema, - patchDomainQueryParamsSchema, - patchEdgeConfigItemsPathParamsSchema, - patchEdgeConfigItemsQueryParamsSchema, - patchEdgeConfigSchemaPathParamsSchema, - patchEdgeConfigSchemaQueryParamsSchema, - patchTeamPathParamsSchema, - patchTeamQueryParamsSchema, - patchUrlProtectionBypassPathParamsSchema, - patchUrlProtectionBypassQueryParamsSchema, - pauseProjectPathParamsSchema, - pauseProjectQueryParamsSchema, - purgeAllDataCacheQueryParamsSchema, - putFirewallConfigQueryParamsSchema, - readAccessGroupPathParamsSchema, - readAccessGroupProjectPathParamsSchema, - readAccessGroupProjectQueryParamsSchema, - readAccessGroupQueryParamsSchema, - recordEventsHeaderParamsSchema, - recordEventsQueryParamsSchema, - removeBypassIpQueryParamsSchema, - removeCertPathParamsSchema, - removeCertQueryParamsSchema, - removeCustomEnvironmentPathParamsSchema, - removeCustomEnvironmentQueryParamsSchema, - removeProjectDomainPathParamsSchema, - removeProjectDomainQueryParamsSchema, - removeProjectEnvPathParamsSchema, - removeProjectEnvQueryParamsSchema, - removeProjectMemberPathParamsSchema, - removeProjectMemberQueryParamsSchema, - removeRecordPathParamsSchema, - removeRecordQueryParamsSchema, - removeTeamMemberPathParamsSchema, - removeTeamMemberQueryParamsSchema, - renameSecretPathParamsSchema, - renameSecretQueryParamsSchema, - requestAccessToTeamPathParamsSchema, - requestPromotePathParamsSchema, - requestPromoteQueryParamsSchema, - rerequestCheckPathParamsSchema, - rerequestCheckQueryParamsSchema, - statusQueryParamsSchema, - submitBillingDataPathParamsSchema, - submitInvoicePathParamsSchema, - submitPrepaymentBalancesPathParamsSchema, - unpauseProjectPathParamsSchema, - unpauseProjectQueryParamsSchema, - updateAccessGroupPathParamsSchema, - updateAccessGroupProjectPathParamsSchema, - updateAccessGroupProjectQueryParamsSchema, - updateAccessGroupQueryParamsSchema, - updateAttackChallengeModeQueryParamsSchema, - updateCheckPathParamsSchema, - updateCheckQueryParamsSchema, - updateCustomEnvironmentPathParamsSchema, - updateCustomEnvironmentQueryParamsSchema, - updateEdgeConfigPathParamsSchema, - updateEdgeConfigQueryParamsSchema, - updateExperimentationEdgeConfigPathParamsSchema, - updateExperimentationItemPathParamsSchema, - updateFirewallConfigQueryParamsSchema, - updateIntegrationDeploymentActionPathParamsSchema, - updateInvoicePathParamsSchema, - updateProjectDataCachePathParamsSchema, - updateProjectDataCacheQueryParamsSchema, - updateProjectDomainPathParamsSchema, - updateProjectDomainQueryParamsSchema, - updateProjectPathParamsSchema, - updateProjectProtectionBypassPathParamsSchema, - updateProjectProtectionBypassQueryParamsSchema, - updateProjectQueryParamsSchema, - updateRecordPathParamsSchema, - updateRecordQueryParamsSchema, - updateResourceSecretsByIdPathParamsSchema, - updateResourceSecretsPathParamsSchema, - updateRollingReleaseConfigPathParamsSchema, - updateRollingReleaseConfigQueryParamsSchema, - updateTeamMemberPathParamsSchema, - uploadArtifactHeaderParamsSchema, - uploadArtifactPathParamsSchema, - uploadArtifactQueryParamsSchema, - uploadCertQueryParamsSchema, - uploadFileHeaderParamsSchema, - uploadFileQueryParamsSchema, - verifyProjectDomainPathParamsSchema, - verifyProjectDomainQueryParamsSchema -} from './schemas.ts'; -import type { - AcceptProjectTransferRequest400, - AcceptProjectTransferRequest401, - AcceptProjectTransferRequest403, - AcceptProjectTransferRequest404, - AcceptProjectTransferRequest422, - AcceptProjectTransferRequestMutationResponse, - AcceptProjectTransferRequestPathParams, - AcceptProjectTransferRequestQueryParams, - AddBypassIp400, - AddBypassIp401, - AddBypassIp403, - AddBypassIp404, - AddBypassIp500, - AddBypassIpMutationResponse, - AddBypassIpQueryParams, - AddProjectDomain400, - AddProjectDomain401, - AddProjectDomain402, - AddProjectDomain403, - AddProjectDomain409, - AddProjectDomainMutationResponse, - AddProjectDomainPathParams, - AddProjectDomainQueryParams, - AddProjectMember400, - AddProjectMember401, - AddProjectMember403, - AddProjectMember500, - AddProjectMemberMutationResponse, - AddProjectMemberPathParams, - AddProjectMemberQueryParams, - ApproveRollingReleaseStage400, - ApproveRollingReleaseStage401, - ApproveRollingReleaseStage403, - ApproveRollingReleaseStage404, - ApproveRollingReleaseStage500, - ApproveRollingReleaseStageMutationResponse, - ApproveRollingReleaseStagePathParams, - ApproveRollingReleaseStageQueryParams, - ArtifactQuery400, - ArtifactQuery401, - ArtifactQuery402, - ArtifactQuery403, - ArtifactQueryMutationResponse, - ArtifactQueryQueryParams, - AssignAlias400, - AssignAlias401, - AssignAlias402, - AssignAlias403, - AssignAlias404, - AssignAlias409, - AssignAliasMutationResponse, - AssignAliasPathParams, - AssignAliasQueryParams, - BuyDomain400, - BuyDomain401, - BuyDomain403, - BuyDomain409, - BuyDomain429, - BuyDomainMutationResponse, - BuyDomainQueryParams, - CancelDeployment400, - CancelDeployment401, - CancelDeployment403, - CancelDeployment404, - CancelDeploymentMutationResponse, - CancelDeploymentPathParams, - CancelDeploymentQueryParams, - CheckDomainPrice400, - CheckDomainPrice401, - CheckDomainPrice403, - CheckDomainPriceQueryParams, - CheckDomainPriceQueryResponse, - CheckDomainStatus400, - CheckDomainStatus401, - CheckDomainStatus403, - CheckDomainStatus408, - CheckDomainStatus500, - CheckDomainStatusQueryParams, - CheckDomainStatusQueryResponse, - CompleteRollingRelease400, - CompleteRollingRelease401, - CompleteRollingRelease403, - CompleteRollingRelease404, - CompleteRollingReleaseMutationResponse, - CompleteRollingReleasePathParams, - CompleteRollingReleaseQueryParams, - CreateAccessGroup400, - CreateAccessGroup401, - CreateAccessGroup403, - CreateAccessGroupMutationResponse, - CreateAccessGroupProject400, - CreateAccessGroupProject401, - CreateAccessGroupProject403, - CreateAccessGroupProjectMutationResponse, - CreateAccessGroupProjectPathParams, - CreateAccessGroupProjectQueryParams, - CreateAccessGroupQueryParams, - CreateAuthToken400, - CreateAuthToken401, - CreateAuthToken403, - CreateAuthTokenMutationResponse, - CreateAuthTokenQueryParams, - CreateCheck400, - CreateCheck401, - CreateCheck403, - CreateCheck404, - CreateCheckMutationResponse, - CreateCheckPathParams, - CreateCheckQueryParams, - CreateCustomEnvironment400, - CreateCustomEnvironment401, - CreateCustomEnvironment402, - CreateCustomEnvironment403, - CreateCustomEnvironment500, - CreateCustomEnvironmentMutationResponse, - CreateCustomEnvironmentPathParams, - CreateCustomEnvironmentQueryParams, - CreateDeployment400, - CreateDeployment401, - CreateDeployment402, - CreateDeployment403, - CreateDeployment404, - CreateDeployment409, - CreateDeployment500, - CreateDeploymentMutationResponse, - CreateDeploymentQueryParams, - CreateEdgeConfig400, - CreateEdgeConfig401, - CreateEdgeConfig402, - CreateEdgeConfig403, - CreateEdgeConfigMutationResponse, - CreateEdgeConfigQueryParams, - CreateEdgeConfigToken400, - CreateEdgeConfigToken401, - CreateEdgeConfigToken402, - CreateEdgeConfigToken403, - CreateEdgeConfigToken404, - CreateEdgeConfigTokenMutationResponse, - CreateEdgeConfigTokenPathParams, - CreateEdgeConfigTokenQueryParams, - CreateEvent400, - CreateEvent401, - CreateEvent403, - CreateEvent404, - CreateEventMutationResponse, - CreateEventPathParams, - CreateExperimentationItem400, - CreateExperimentationItem401, - CreateExperimentationItem403, - CreateExperimentationItem404, - CreateExperimentationItemMutationResponse, - CreateExperimentationItemPathParams, - CreateLogDrain400, - CreateLogDrain401, - CreateLogDrain403, - CreateLogDrainMutationResponse, - CreateLogDrainQueryParams, - CreateOrTransferDomain400, - CreateOrTransferDomain401, - CreateOrTransferDomain402, - CreateOrTransferDomain403, - CreateOrTransferDomain404, - CreateOrTransferDomain409, - CreateOrTransferDomain500, - CreateOrTransferDomainMutationResponse, - CreateOrTransferDomainQueryParams, - CreateProject400, - CreateProject401, - CreateProject402, - CreateProject403, - CreateProject409, - CreateProjectEnv400, - CreateProjectEnv401, - CreateProjectEnv402, - CreateProjectEnv403, - CreateProjectEnv409, - CreateProjectEnvMutationResponse, - CreateProjectEnvPathParams, - CreateProjectEnvQueryParams, - CreateProjectMutationResponse, - CreateProjectQueryParams, - CreateProjectTransferRequest400, - CreateProjectTransferRequest401, - CreateProjectTransferRequest403, - CreateProjectTransferRequestMutationResponse, - CreateProjectTransferRequestPathParams, - CreateProjectTransferRequestQueryParams, - CreateRecord400, - CreateRecord401, - CreateRecord402, - CreateRecord403, - CreateRecord404, - CreateRecord409, - CreateRecordMutationResponse, - CreateRecordPathParams, - CreateRecordQueryParams, - CreateSecret400, - CreateSecret401, - CreateSecret402, - CreateSecret403, - CreateSecret410, - CreateSecretMutationResponse, - CreateSecretPathParams, - CreateSecretQueryParams, - CreateTeam400, - CreateTeam401, - CreateTeam403, - CreateTeamMutationResponse, - CreateWebhook400, - CreateWebhook401, - CreateWebhook403, - CreateWebhookMutationResponse, - CreateWebhookQueryParams, - DeleteAccessGroup400, - DeleteAccessGroup401, - DeleteAccessGroup403, - DeleteAccessGroupMutationResponse, - DeleteAccessGroupPathParams, - DeleteAccessGroupProject400, - DeleteAccessGroupProject401, - DeleteAccessGroupProject403, - DeleteAccessGroupProjectMutationResponse, - DeleteAccessGroupProjectPathParams, - DeleteAccessGroupProjectQueryParams, - DeleteAccessGroupQueryParams, - DeleteAlias400, - DeleteAlias401, - DeleteAlias403, - DeleteAlias404, - DeleteAliasMutationResponse, - DeleteAliasPathParams, - DeleteAliasQueryParams, - DeleteAuthToken400, - DeleteAuthToken401, - DeleteAuthToken403, - DeleteAuthToken404, - DeleteAuthTokenMutationResponse, - DeleteAuthTokenPathParams, - DeleteConfiguration400, - DeleteConfiguration401, - DeleteConfiguration403, - DeleteConfiguration404, - DeleteConfigurationMutationResponse, - DeleteConfigurationPathParams, - DeleteConfigurationQueryParams, - DeleteDeployment400, - DeleteDeployment401, - DeleteDeployment403, - DeleteDeployment404, - DeleteDeploymentMutationResponse, - DeleteDeploymentPathParams, - DeleteDeploymentQueryParams, - DeleteDomain400, - DeleteDomain401, - DeleteDomain403, - DeleteDomain404, - DeleteDomain409, - DeleteDomainMutationResponse, - DeleteDomainPathParams, - DeleteDomainQueryParams, - DeleteEdgeConfig400, - DeleteEdgeConfig401, - DeleteEdgeConfig403, - DeleteEdgeConfig404, - DeleteEdgeConfigMutationResponse, - DeleteEdgeConfigPathParams, - DeleteEdgeConfigQueryParams, - DeleteEdgeConfigSchema400, - DeleteEdgeConfigSchema401, - DeleteEdgeConfigSchema402, - DeleteEdgeConfigSchema403, - DeleteEdgeConfigSchema404, - DeleteEdgeConfigSchemaMutationResponse, - DeleteEdgeConfigSchemaPathParams, - DeleteEdgeConfigSchemaQueryParams, - DeleteEdgeConfigTokens400, - DeleteEdgeConfigTokens401, - DeleteEdgeConfigTokens402, - DeleteEdgeConfigTokens403, - DeleteEdgeConfigTokens404, - DeleteEdgeConfigTokensMutationResponse, - DeleteEdgeConfigTokensPathParams, - DeleteEdgeConfigTokensQueryParams, - DeleteExperimentationItem400, - DeleteExperimentationItem401, - DeleteExperimentationItem403, - DeleteExperimentationItem404, - DeleteExperimentationItemMutationResponse, - DeleteExperimentationItemPathParams, - DeleteIntegrationLogDrain400, - DeleteIntegrationLogDrain401, - DeleteIntegrationLogDrain403, - DeleteIntegrationLogDrain404, - DeleteIntegrationLogDrainMutationResponse, - DeleteIntegrationLogDrainPathParams, - DeleteIntegrationLogDrainQueryParams, - DeleteIntegrationResource400, - DeleteIntegrationResource401, - DeleteIntegrationResource403, - DeleteIntegrationResource404, - DeleteIntegrationResourceMutationResponse, - DeleteIntegrationResourcePathParams, - DeleteProject400, - DeleteProject401, - DeleteProject403, - DeleteProject409, - DeleteProjectMutationResponse, - DeleteProjectPathParams, - DeleteProjectQueryParams, - DeleteRollingReleaseConfig400, - DeleteRollingReleaseConfig401, - DeleteRollingReleaseConfig403, - DeleteRollingReleaseConfig404, - DeleteRollingReleaseConfigMutationResponse, - DeleteRollingReleaseConfigPathParams, - DeleteRollingReleaseConfigQueryParams, - DeleteSecret400, - DeleteSecret401, - DeleteSecret403, - DeleteSecret410, - DeleteSecretMutationResponse, - DeleteSecretPathParams, - DeleteSecretQueryParams, - DeleteTeam400, - DeleteTeam401, - DeleteTeam402, - DeleteTeam403, - DeleteTeam409, - DeleteTeamInviteCode400, - DeleteTeamInviteCode401, - DeleteTeamInviteCode403, - DeleteTeamInviteCode404, - DeleteTeamInviteCodeMutationResponse, - DeleteTeamInviteCodePathParams, - DeleteTeamMutationResponse, - DeleteTeamPathParams, - DeleteTeamQueryParams, - DeleteWebhook400, - DeleteWebhook401, - DeleteWebhook403, - DeleteWebhookMutationResponse, - DeleteWebhookPathParams, - DeleteWebhookQueryParams, - DownloadArtifact400, - DownloadArtifact401, - DownloadArtifact402, - DownloadArtifact403, - DownloadArtifact404, - DownloadArtifactHeaderParams, - DownloadArtifactPathParams, - DownloadArtifactQueryParams, - DownloadArtifactQueryResponse, - EditProjectEnv400, - EditProjectEnv401, - EditProjectEnv403, - EditProjectEnv409, - EditProjectEnvMutationResponse, - EditProjectEnvPathParams, - EditProjectEnvQueryParams, - ExchangeSsoToken400, - ExchangeSsoToken404, - ExchangeSsoToken500, - ExchangeSsoTokenMutationResponse, - FilterProjectEnvs400, - FilterProjectEnvs401, - FilterProjectEnvs403, - FilterProjectEnvsPathParams, - FilterProjectEnvsQueryParams, - FilterProjectEnvsQueryResponse, - GetAccountInfo400, - GetAccountInfo401, - GetAccountInfo403, - GetAccountInfo404, - GetAccountInfoPathParams, - GetAccountInfoQueryResponse, - GetActiveAttackStatus400, - GetActiveAttackStatus401, - GetActiveAttackStatus403, - GetActiveAttackStatus404, - GetActiveAttackStatusQueryParams, - GetActiveAttackStatusQueryResponse, - GetAlias400, - GetAlias401, - GetAlias403, - GetAlias404, - GetAliasPathParams, - GetAliasQueryParams, - GetAliasQueryResponse, - GetAllChecks400, - GetAllChecks401, - GetAllChecks403, - GetAllChecks404, - GetAllChecksPathParams, - GetAllChecksQueryParams, - GetAllChecksQueryResponse, - GetAuthToken400, - GetAuthToken401, - GetAuthToken403, - GetAuthToken404, - GetAuthTokenPathParams, - GetAuthTokenQueryResponse, - GetAuthUser400, - GetAuthUser401, - GetAuthUser403, - GetAuthUser409, - GetAuthUserQueryResponse, - GetBypassIp400, - GetBypassIp401, - GetBypassIp403, - GetBypassIp404, - GetBypassIp500, - GetBypassIpQueryParams, - GetBypassIpQueryResponse, - GetCertById400, - GetCertById401, - GetCertById403, - GetCertById404, - GetCertByIdPathParams, - GetCertByIdQueryParams, - GetCertByIdQueryResponse, - GetCheck400, - GetCheck401, - GetCheck403, - GetCheck404, - GetCheckPathParams, - GetCheckQueryParams, - GetCheckQueryResponse, - GetConfiguration400, - GetConfiguration401, - GetConfiguration403, - GetConfiguration404, - GetConfigurationPathParams, - GetConfigurationQueryParams, - GetConfigurationQueryResponse, - GetConfigurations400, - GetConfigurations401, - GetConfigurations403, - GetConfigurationsQueryParams, - GetConfigurationsQueryResponse, - GetCustomEnvironment400, - GetCustomEnvironment401, - GetCustomEnvironment403, - GetCustomEnvironment404, - GetCustomEnvironmentPathParams, - GetCustomEnvironmentQueryParams, - GetCustomEnvironmentQueryResponse, - GetDeployment400, - GetDeployment403, - GetDeployment404, - GetDeploymentEvents400, - GetDeploymentEvents401, - GetDeploymentEvents403, - GetDeploymentEvents500, - GetDeploymentEventsPathParams, - GetDeploymentEventsQueryParams, - GetDeploymentEventsQueryResponse, - GetDeploymentFileContents400, - GetDeploymentFileContents401, - GetDeploymentFileContents403, - GetDeploymentFileContents404, - GetDeploymentFileContents410, - GetDeploymentFileContentsPathParams, - GetDeploymentFileContentsQueryParams, - GetDeploymentFileContentsQueryResponse, - GetDeploymentPathParams, - GetDeploymentQueryParams, - GetDeploymentQueryResponse, - GetDeployments400, - GetDeployments401, - GetDeployments403, - GetDeployments404, - GetDeployments422, - GetDeploymentsQueryParams, - GetDeploymentsQueryResponse, - GetDomain400, - GetDomain401, - GetDomain403, - GetDomain404, - GetDomainConfig400, - GetDomainConfig401, - GetDomainConfig403, - GetDomainConfig500, - GetDomainConfigPathParams, - GetDomainConfigQueryParams, - GetDomainConfigQueryResponse, - GetDomainPathParams, - GetDomainQueryParams, - GetDomainQueryResponse, - GetDomains400, - GetDomains401, - GetDomains403, - GetDomains409, - GetDomainsQueryParams, - GetDomainsQueryResponse, - GetDomainTransfer400, - GetDomainTransfer401, - GetDomainTransfer403, - GetDomainTransferPathParams, - GetDomainTransferQueryParams, - GetDomainTransferQueryResponse, - GetEdgeConfig400, - GetEdgeConfig401, - GetEdgeConfig403, - GetEdgeConfig404, - GetEdgeConfigBackup400, - GetEdgeConfigBackup401, - GetEdgeConfigBackup403, - GetEdgeConfigBackup404, - GetEdgeConfigBackupPathParams, - GetEdgeConfigBackupQueryParams, - GetEdgeConfigBackupQueryResponse, - GetEdgeConfigBackups400, - GetEdgeConfigBackups401, - GetEdgeConfigBackups403, - GetEdgeConfigBackups404, - GetEdgeConfigBackupsPathParams, - GetEdgeConfigBackupsQueryParams, - GetEdgeConfigBackupsQueryResponse, - GetEdgeConfigItem400, - GetEdgeConfigItem401, - GetEdgeConfigItem403, - GetEdgeConfigItem404, - GetEdgeConfigItemPathParams, - GetEdgeConfigItemQueryParams, - GetEdgeConfigItemQueryResponse, - GetEdgeConfigItems400, - GetEdgeConfigItems401, - GetEdgeConfigItems403, - GetEdgeConfigItems404, - GetEdgeConfigItemsPathParams, - GetEdgeConfigItemsQueryParams, - GetEdgeConfigItemsQueryResponse, - GetEdgeConfigPathParams, - GetEdgeConfigQueryParams, - GetEdgeConfigQueryResponse, - GetEdgeConfigSchema400, - GetEdgeConfigSchema401, - GetEdgeConfigSchema403, - GetEdgeConfigSchema404, - GetEdgeConfigSchemaPathParams, - GetEdgeConfigSchemaQueryParams, - GetEdgeConfigSchemaQueryResponse, - GetEdgeConfigs400, - GetEdgeConfigs401, - GetEdgeConfigs403, - GetEdgeConfigsQueryParams, - GetEdgeConfigsQueryResponse, - GetEdgeConfigToken400, - GetEdgeConfigToken401, - GetEdgeConfigToken403, - GetEdgeConfigToken404, - GetEdgeConfigTokenPathParams, - GetEdgeConfigTokenQueryParams, - GetEdgeConfigTokenQueryResponse, - GetEdgeConfigTokens400, - GetEdgeConfigTokens401, - GetEdgeConfigTokens403, - GetEdgeConfigTokens404, - GetEdgeConfigTokensPathParams, - GetEdgeConfigTokensQueryParams, - GetEdgeConfigTokensQueryResponse, - GetFirewallConfig400, - GetFirewallConfig401, - GetFirewallConfig403, - GetFirewallConfig404, - GetFirewallConfigPathParams, - GetFirewallConfigQueryParams, - GetFirewallConfigQueryResponse, - GetIntegrationLogDrains400, - GetIntegrationLogDrains401, - GetIntegrationLogDrains403, - GetIntegrationLogDrainsQueryParams, - GetIntegrationLogDrainsQueryResponse, - GetIntegrationResource400, - GetIntegrationResource401, - GetIntegrationResource403, - GetIntegrationResource404, - GetIntegrationResourcePathParams, - GetIntegrationResourceQueryResponse, - GetIntegrationResources400, - GetIntegrationResources401, - GetIntegrationResources403, - GetIntegrationResources404, - GetIntegrationResourcesPathParams, - GetIntegrationResourcesQueryResponse, - GetInvoice400, - GetInvoice401, - GetInvoice403, - GetInvoice404, - GetInvoicePathParams, - GetInvoiceQueryResponse, - GetMember400, - GetMember401, - GetMember403, - GetMember404, - GetMemberPathParams, - GetMemberQueryResponse, - GetProject400, - GetProject401, - GetProject403, - GetProjectDomain400, - GetProjectDomain401, - GetProjectDomain403, - GetProjectDomainPathParams, - GetProjectDomainQueryParams, - GetProjectDomainQueryResponse, - GetProjectDomains400, - GetProjectDomains401, - GetProjectDomains403, - GetProjectDomainsPathParams, - GetProjectDomainsQueryParams, - GetProjectDomainsQueryResponse, - GetProjectEnv400, - GetProjectEnv401, - GetProjectEnv403, - GetProjectEnvPathParams, - GetProjectEnvQueryParams, - GetProjectEnvQueryResponse, - GetProjectMembers400, - GetProjectMembers401, - GetProjectMembers403, - GetProjectMembersPathParams, - GetProjectMembersQueryParams, - GetProjectMembersQueryResponse, - GetProjectPathParams, - GetProjectQueryParams, - GetProjectQueryResponse, - GetProjects400, - GetProjects401, - GetProjects403, - GetProjectsQueryParams, - GetProjectsQueryResponse, - GetRecords400, - GetRecords401, - GetRecords403, - GetRecords404, - GetRecordsPathParams, - GetRecordsQueryParams, - GetRecordsQueryResponse, - GetRollingRelease400, - GetRollingRelease401, - GetRollingRelease403, - GetRollingRelease404, - GetRollingReleaseBillingStatus400, - GetRollingReleaseBillingStatus401, - GetRollingReleaseBillingStatus403, - GetRollingReleaseBillingStatus404, - GetRollingReleaseBillingStatusPathParams, - GetRollingReleaseBillingStatusQueryParams, - GetRollingReleaseBillingStatusQueryResponse, - GetRollingReleaseConfig400, - GetRollingReleaseConfig401, - GetRollingReleaseConfig403, - GetRollingReleaseConfig404, - GetRollingReleaseConfigPathParams, - GetRollingReleaseConfigQueryParams, - GetRollingReleaseConfigQueryResponse, - GetRollingReleasePathParams, - GetRollingReleaseQueryParams, - GetRollingReleaseQueryResponse, - GetRuntimeLogs400, - GetRuntimeLogs401, - GetRuntimeLogs403, - GetRuntimeLogsPathParams, - GetRuntimeLogsQueryParams, - GetRuntimeLogsQueryResponse, - GetSecret400, - GetSecret401, - GetSecret403, - GetSecret404, - GetSecret410, - GetSecretPathParams, - GetSecretQueryParams, - GetSecretQueryResponse, - GetSecrets400, - GetSecrets401, - GetSecrets403, - GetSecrets410, - GetSecretsQueryParams, - GetSecretsQueryResponse, - GetTeam400, - GetTeam401, - GetTeam403, - GetTeam404, - GetTeamAccessRequest400, - GetTeamAccessRequest401, - GetTeamAccessRequest403, - GetTeamAccessRequest404, - GetTeamAccessRequestPathParams, - GetTeamAccessRequestQueryResponse, - GetTeamMembers400, - GetTeamMembers401, - GetTeamMembers403, - GetTeamMembers404, - GetTeamMembersPathParams, - GetTeamMembersQueryParams, - GetTeamMembersQueryResponse, - GetTeamPathParams, - GetTeamQueryParams, - GetTeamQueryResponse, - GetTeams400, - GetTeams401, - GetTeams403, - GetTeamsQueryParams, - GetTeamsQueryResponse, - GetWebhook400, - GetWebhook401, - GetWebhook403, - GetWebhookPathParams, - GetWebhookQueryParams, - GetWebhookQueryResponse, - GetWebhooks400, - GetWebhooks401, - GetWebhooks403, - GetWebhooksQueryParams, - GetWebhooksQueryResponse, - ImportResource400, - ImportResource401, - ImportResource403, - ImportResource404, - ImportResourceMutationResponse, - ImportResourcePathParams, - InviteUserToTeam400, - InviteUserToTeam401, - InviteUserToTeam403, - InviteUserToTeam503, - InviteUserToTeamMutationResponse, - InviteUserToTeamPathParams, - IssueCert400, - IssueCert401, - IssueCert402, - IssueCert403, - IssueCert404, - IssueCert449, - IssueCert500, - IssueCertMutationResponse, - IssueCertQueryParams, - JoinTeam400, - JoinTeam401, - JoinTeam402, - JoinTeam403, - JoinTeam404, - JoinTeamMutationResponse, - JoinTeamPathParams, +import client from '../utils/fetcher' +import type { FetcherConfig, ErrorWrapper } from '../utils/fetcher' +import type { CallToolResult } from '../utils/mcp' +import type { + ReadAccessGroupQueryResponse, + ReadAccessGroupPathParams, + ReadAccessGroupQueryParams, + ReadAccessGroup400, + ReadAccessGroup401, + ReadAccessGroup403, + UpdateAccessGroupMutationResponse, + UpdateAccessGroupPathParams, + UpdateAccessGroupQueryParams, + UpdateAccessGroup400, + UpdateAccessGroup401, + UpdateAccessGroup403, + DeleteAccessGroupMutationResponse, + DeleteAccessGroupPathParams, + DeleteAccessGroupQueryParams, + DeleteAccessGroup400, + DeleteAccessGroup401, + DeleteAccessGroup403, + ListAccessGroupMembersQueryResponse, + ListAccessGroupMembersPathParams, + ListAccessGroupMembersQueryParams, ListAccessGroupMembers400, ListAccessGroupMembers401, ListAccessGroupMembers403, - ListAccessGroupMembersPathParams, - ListAccessGroupMembersQueryParams, - ListAccessGroupMembersQueryResponse, - ListAccessGroupProjects400, - ListAccessGroupProjects401, - ListAccessGroupProjects403, - ListAccessGroupProjectsPathParams, - ListAccessGroupProjectsQueryParams, - ListAccessGroupProjectsQueryResponse, + ListAccessGroupsQueryResponse, + ListAccessGroupsQueryParams, ListAccessGroups400, ListAccessGroups401, ListAccessGroups403, - ListAccessGroupsQueryParams, - ListAccessGroupsQueryResponse, - ListAliases400, - ListAliases401, - ListAliases403, - ListAliases404, - ListAliasesQueryParams, - ListAliasesQueryResponse, - ListAuthTokens400, - ListAuthTokens401, - ListAuthTokens403, - ListAuthTokensQueryResponse, - ListCerts400, - ListCerts401, - ListCerts403, - ListCertsQueryResponse, - ListCustomEnvironments400, - ListCustomEnvironments401, - ListCustomEnvironments403, - ListCustomEnvironmentsPathParams, - ListCustomEnvironmentsQueryParams, - ListCustomEnvironmentsQueryResponse, - ListDeploymentAliases400, - ListDeploymentAliases401, - ListDeploymentAliases403, - ListDeploymentAliases404, - ListDeploymentAliasesPathParams, - ListDeploymentAliasesQueryParams, - ListDeploymentAliasesQueryResponse, - ListDeploymentFiles400, - ListDeploymentFiles401, - ListDeploymentFiles403, - ListDeploymentFiles404, - ListDeploymentFilesPathParams, - ListDeploymentFilesQueryParams, - ListDeploymentFilesQueryResponse, - ListPromoteAliases400, - ListPromoteAliases401, - ListPromoteAliases403, - ListPromoteAliases404, - ListPromoteAliasesPathParams, - ListPromoteAliasesQueryParams, - ListPromoteAliasesQueryResponse, - ListUserEvents400, - ListUserEvents401, - ListUserEvents403, - ListUserEventsQueryParams, - ListUserEventsQueryResponse, - MoveProjectDomain400, - MoveProjectDomain401, - MoveProjectDomain403, - MoveProjectDomain409, - MoveProjectDomainMutationResponse, - MoveProjectDomainPathParams, - MoveProjectDomainQueryParams, + CreateAccessGroupMutationResponse, + CreateAccessGroupQueryParams, + CreateAccessGroup400, + CreateAccessGroup401, + CreateAccessGroup403, + ListAccessGroupProjectsQueryResponse, + ListAccessGroupProjectsPathParams, + ListAccessGroupProjectsQueryParams, + ListAccessGroupProjects400, + ListAccessGroupProjects401, + ListAccessGroupProjects403, + CreateAccessGroupProjectMutationResponse, + CreateAccessGroupProjectPathParams, + CreateAccessGroupProjectQueryParams, + CreateAccessGroupProject400, + CreateAccessGroupProject401, + CreateAccessGroupProject403, + ReadAccessGroupProjectQueryResponse, + ReadAccessGroupProjectPathParams, + ReadAccessGroupProjectQueryParams, + ReadAccessGroupProject400, + ReadAccessGroupProject401, + ReadAccessGroupProject403, + UpdateAccessGroupProjectMutationResponse, + UpdateAccessGroupProjectPathParams, + UpdateAccessGroupProjectQueryParams, + UpdateAccessGroupProject400, + UpdateAccessGroupProject401, + UpdateAccessGroupProject403, + DeleteAccessGroupProjectMutationResponse, + DeleteAccessGroupProjectPathParams, + DeleteAccessGroupProjectQueryParams, + DeleteAccessGroupProject400, + DeleteAccessGroupProject401, + DeleteAccessGroupProject403, + RecordEventsMutationResponse, + RecordEventsQueryParams, + RecordEventsHeaderParams, + RecordEvents400, + RecordEvents401, + RecordEvents402, + RecordEvents403, + StatusQueryResponse, + StatusQueryParams, + Status400, + Status401, + Status402, + Status403, + UploadArtifactMutationResponse, + UploadArtifactPathParams, + UploadArtifactQueryParams, + UploadArtifactHeaderParams, + UploadArtifact400, + UploadArtifact401, + UploadArtifact402, + UploadArtifact403, + DownloadArtifactQueryResponse, + DownloadArtifactPathParams, + DownloadArtifactQueryParams, + DownloadArtifactHeaderParams, + DownloadArtifact400, + DownloadArtifact401, + DownloadArtifact402, + DownloadArtifact403, + DownloadArtifact404, + ArtifactQueryMutationResponse, + ArtifactQueryQueryParams, + ArtifactQuery400, + ArtifactQuery401, + ArtifactQuery402, + ArtifactQuery403, + CreateCheckMutationResponse, + CreateCheckPathParams, + CreateCheckQueryParams, + CreateCheck400, + CreateCheck401, + CreateCheck403, + CreateCheck404, + GetAllChecksQueryResponse, + GetAllChecksPathParams, + GetAllChecksQueryParams, + GetAllChecks400, + GetAllChecks401, + GetAllChecks403, + GetAllChecks404, + GetCheckQueryResponse, + GetCheckPathParams, + GetCheckQueryParams, + GetCheck400, + GetCheck401, + GetCheck403, + GetCheck404, + UpdateCheckMutationResponse, + UpdateCheckPathParams, + UpdateCheckQueryParams, + UpdateCheck400, + UpdateCheck401, + UpdateCheck403, + UpdateCheck404, + UpdateCheck413, + RerequestCheckMutationResponse, + RerequestCheckPathParams, + RerequestCheckQueryParams, + RerequestCheck400, + RerequestCheck401, + RerequestCheck403, + RerequestCheck404, + PurgeAllDataCacheMutationResponse, + PurgeAllDataCacheQueryParams, + PurgeAllDataCache400, + PurgeAllDataCache401, + PurgeAllDataCache403, + PurgeAllDataCache404, + UpdateDataCacheBillingSettingsMutationResponse, + UpdateDataCacheBillingSettings400, + UpdateDataCacheBillingSettings401, + UpdateDataCacheBillingSettings403, + UpdateDataCacheBillingSettings404, + UpdateProjectDataCacheMutationResponse, + UpdateProjectDataCachePathParams, + UpdateProjectDataCacheQueryParams, + UpdateProjectDataCache400, + UpdateProjectDataCache401, + UpdateProjectDataCache403, + UpdateProjectDataCache404, + GetDeploymentEventsQueryResponse, + GetDeploymentEventsPathParams, + GetDeploymentEventsQueryParams, + GetDeploymentEvents400, + GetDeploymentEvents401, + GetDeploymentEvents403, + GetDeploymentEvents500, + UpdateIntegrationDeploymentActionMutationResponse, + UpdateIntegrationDeploymentActionPathParams, + UpdateIntegrationDeploymentAction400, + UpdateIntegrationDeploymentAction401, + UpdateIntegrationDeploymentAction403, + GetDeploymentQueryResponse, + GetDeploymentPathParams, + GetDeploymentQueryParams, + GetDeployment400, + GetDeployment403, + GetDeployment404, + CreateDeploymentMutationResponse, + CreateDeploymentQueryParams, + CreateDeployment400, + CreateDeployment401, + CreateDeployment402, + CreateDeployment403, + CreateDeployment404, + CreateDeployment409, + CreateDeployment500, + CancelDeploymentMutationResponse, + CancelDeploymentPathParams, + CancelDeploymentQueryParams, + CancelDeployment400, + CancelDeployment401, + CancelDeployment403, + CancelDeployment404, + BuyDomainMutationResponse, + BuyDomainQueryParams, + BuyDomain400, + BuyDomain401, + BuyDomain403, + BuyDomain409, + BuyDomain429, + BuyDomain500, + CheckDomainPriceQueryResponse, + CheckDomainPriceQueryParams, + CheckDomainPrice400, + CheckDomainPrice401, + CheckDomainPrice403, + CheckDomainPrice500, + CheckDomainStatusQueryResponse, + CheckDomainStatusQueryParams, + CheckDomainStatus400, + CheckDomainStatus401, + CheckDomainStatus403, + CheckDomainStatus408, + CheckDomainStatus500, + GetRecordsQueryResponse, + GetRecordsPathParams, + GetRecordsQueryParams, + GetRecords400, + GetRecords401, + GetRecords403, + GetRecords404, + CreateRecordMutationResponse, + CreateRecordPathParams, + CreateRecordQueryParams, + CreateRecord400, + CreateRecord401, + CreateRecord402, + CreateRecord403, + CreateRecord404, + CreateRecord409, + UpdateRecordMutationResponse, + UpdateRecordPathParams, + UpdateRecordQueryParams, + UpdateRecord400, + UpdateRecord401, + UpdateRecord402, + UpdateRecord403, + UpdateRecord404, + UpdateRecord409, + RemoveRecordMutationResponse, + RemoveRecordPathParams, + RemoveRecordQueryParams, + RemoveRecord400, + RemoveRecord401, + RemoveRecord403, + RemoveRecord404, + GetDomainTransferQueryResponse, + GetDomainTransferPathParams, + GetDomainTransferQueryParams, + GetDomainTransfer400, + GetDomainTransfer401, + GetDomainTransfer403, + GetDomainConfigQueryResponse, + GetDomainConfigPathParams, + GetDomainConfigQueryParams, + GetDomainConfig400, + GetDomainConfig401, + GetDomainConfig403, + GetDomainQueryResponse, + GetDomainPathParams, + GetDomainQueryParams, + GetDomain400, + GetDomain401, + GetDomain403, + GetDomain404, + GetDomainsQueryResponse, + GetDomainsQueryParams, + GetDomains400, + GetDomains401, + GetDomains403, + GetDomains409, + CreateOrTransferDomainMutationResponse, + CreateOrTransferDomainQueryParams, + CreateOrTransferDomain400, + CreateOrTransferDomain401, + CreateOrTransferDomain402, + CreateOrTransferDomain403, + CreateOrTransferDomain404, + CreateOrTransferDomain409, + CreateOrTransferDomain500, + PatchDomainMutationResponse, + PatchDomainPathParams, + PatchDomainQueryParams, PatchDomain400, PatchDomain401, PatchDomain403, PatchDomain404, PatchDomain409, - PatchDomainMutationResponse, - PatchDomainPathParams, - PatchDomainQueryParams, + PatchDomain500, + DeleteDomainMutationResponse, + DeleteDomainPathParams, + DeleteDomainQueryParams, + DeleteDomain400, + DeleteDomain401, + DeleteDomain403, + DeleteDomain404, + DeleteDomain409, + GetEdgeConfigsQueryResponse, + GetEdgeConfigsQueryParams, + GetEdgeConfigs400, + GetEdgeConfigs401, + GetEdgeConfigs403, + CreateEdgeConfigMutationResponse, + CreateEdgeConfigQueryParams, + CreateEdgeConfig400, + CreateEdgeConfig401, + CreateEdgeConfig402, + CreateEdgeConfig403, + GetEdgeConfigQueryResponse, + GetEdgeConfigPathParams, + GetEdgeConfigQueryParams, + GetEdgeConfig400, + GetEdgeConfig401, + GetEdgeConfig403, + GetEdgeConfig404, + UpdateEdgeConfigMutationResponse, + UpdateEdgeConfigPathParams, + UpdateEdgeConfigQueryParams, + UpdateEdgeConfig400, + UpdateEdgeConfig401, + UpdateEdgeConfig402, + UpdateEdgeConfig403, + UpdateEdgeConfig404, + DeleteEdgeConfigMutationResponse, + DeleteEdgeConfigPathParams, + DeleteEdgeConfigQueryParams, + DeleteEdgeConfig400, + DeleteEdgeConfig401, + DeleteEdgeConfig403, + DeleteEdgeConfig404, + GetEdgeConfigItemsQueryResponse, + GetEdgeConfigItemsPathParams, + GetEdgeConfigItemsQueryParams, + GetEdgeConfigItems400, + GetEdgeConfigItems401, + GetEdgeConfigItems403, + GetEdgeConfigItems404, + PatchEdgeConfigItemsMutationResponse, + PatchEdgeConfigItemsPathParams, + PatchEdgeConfigItemsQueryParams, PatchEdgeConfigItems400, PatchEdgeConfigItems401, PatchEdgeConfigItems402, PatchEdgeConfigItems403, PatchEdgeConfigItems404, PatchEdgeConfigItems409, - PatchEdgeConfigItemsMutationResponse, - PatchEdgeConfigItemsPathParams, - PatchEdgeConfigItemsQueryParams, + PatchEdgeConfigItems412, + GetEdgeConfigSchemaQueryResponse, + GetEdgeConfigSchemaPathParams, + GetEdgeConfigSchemaQueryParams, + GetEdgeConfigSchema400, + GetEdgeConfigSchema401, + GetEdgeConfigSchema403, + GetEdgeConfigSchema404, + PatchEdgeConfigSchemaMutationResponse, + PatchEdgeConfigSchemaPathParams, + PatchEdgeConfigSchemaQueryParams, PatchEdgeConfigSchema400, PatchEdgeConfigSchema401, PatchEdgeConfigSchema402, PatchEdgeConfigSchema403, PatchEdgeConfigSchema404, - PatchEdgeConfigSchemaMutationResponse, - PatchEdgeConfigSchemaPathParams, - PatchEdgeConfigSchemaQueryParams, - PatchTeam400, - PatchTeam401, - PatchTeam402, - PatchTeam403, - PatchTeam428, - PatchTeamMutationResponse, - PatchTeamPathParams, - PatchTeamQueryParams, - PatchUrlProtectionBypass400, - PatchUrlProtectionBypass401, - PatchUrlProtectionBypass403, - PatchUrlProtectionBypass404, - PatchUrlProtectionBypass409, - PatchUrlProtectionBypass428, - PatchUrlProtectionBypass500, - PatchUrlProtectionBypassMutationResponse, - PatchUrlProtectionBypassPathParams, - PatchUrlProtectionBypassQueryParams, - PauseProject400, - PauseProject401, - PauseProject402, - PauseProject403, - PauseProject500, - PauseProjectMutationResponse, - PauseProjectPathParams, - PauseProjectQueryParams, - PurgeAllDataCache400, - PurgeAllDataCache401, - PurgeAllDataCache403, - PurgeAllDataCache404, - PurgeAllDataCacheMutationResponse, - PurgeAllDataCacheQueryParams, - PutFirewallConfig400, - PutFirewallConfig401, - PutFirewallConfig402, - PutFirewallConfig403, - PutFirewallConfig404, - PutFirewallConfig500, - PutFirewallConfigMutationResponse, - PutFirewallConfigQueryParams, - ReadAccessGroup400, - ReadAccessGroup401, - ReadAccessGroup403, - ReadAccessGroupPathParams, - ReadAccessGroupProject400, - ReadAccessGroupProject401, - ReadAccessGroupProject403, - ReadAccessGroupProjectPathParams, - ReadAccessGroupProjectQueryParams, - ReadAccessGroupProjectQueryResponse, - ReadAccessGroupQueryParams, - ReadAccessGroupQueryResponse, - RecordEvents400, - RecordEvents401, - RecordEvents402, - RecordEvents403, - RecordEventsHeaderParams, - RecordEventsMutationResponse, - RecordEventsQueryParams, - RemoveBypassIp400, - RemoveBypassIp401, - RemoveBypassIp403, - RemoveBypassIp404, - RemoveBypassIp500, - RemoveBypassIpMutationResponse, - RemoveBypassIpQueryParams, - RemoveCert400, - RemoveCert401, - RemoveCert403, - RemoveCert404, - RemoveCertMutationResponse, - RemoveCertPathParams, - RemoveCertQueryParams, - RemoveCustomEnvironment400, - RemoveCustomEnvironment401, - RemoveCustomEnvironment403, + DeleteEdgeConfigSchemaMutationResponse, + DeleteEdgeConfigSchemaPathParams, + DeleteEdgeConfigSchemaQueryParams, + DeleteEdgeConfigSchema400, + DeleteEdgeConfigSchema401, + DeleteEdgeConfigSchema402, + DeleteEdgeConfigSchema403, + DeleteEdgeConfigSchema404, + GetEdgeConfigItemQueryResponse, + GetEdgeConfigItemPathParams, + GetEdgeConfigItemQueryParams, + GetEdgeConfigItem400, + GetEdgeConfigItem401, + GetEdgeConfigItem403, + GetEdgeConfigItem404, + GetEdgeConfigTokensQueryResponse, + GetEdgeConfigTokensPathParams, + GetEdgeConfigTokensQueryParams, + GetEdgeConfigTokens400, + GetEdgeConfigTokens401, + GetEdgeConfigTokens403, + GetEdgeConfigTokens404, + DeleteEdgeConfigTokensMutationResponse, + DeleteEdgeConfigTokensPathParams, + DeleteEdgeConfigTokensQueryParams, + DeleteEdgeConfigTokens400, + DeleteEdgeConfigTokens401, + DeleteEdgeConfigTokens402, + DeleteEdgeConfigTokens403, + DeleteEdgeConfigTokens404, + GetEdgeConfigTokenQueryResponse, + GetEdgeConfigTokenPathParams, + GetEdgeConfigTokenQueryParams, + GetEdgeConfigToken400, + GetEdgeConfigToken401, + GetEdgeConfigToken403, + GetEdgeConfigToken404, + CreateEdgeConfigTokenMutationResponse, + CreateEdgeConfigTokenPathParams, + CreateEdgeConfigTokenQueryParams, + CreateEdgeConfigToken400, + CreateEdgeConfigToken401, + CreateEdgeConfigToken402, + CreateEdgeConfigToken403, + CreateEdgeConfigToken404, + GetEdgeConfigBackupQueryResponse, + GetEdgeConfigBackupPathParams, + GetEdgeConfigBackupQueryParams, + GetEdgeConfigBackup400, + GetEdgeConfigBackup401, + GetEdgeConfigBackup403, + GetEdgeConfigBackup404, + GetEdgeConfigBackupsQueryResponse, + GetEdgeConfigBackupsPathParams, + GetEdgeConfigBackupsQueryParams, + GetEdgeConfigBackups400, + GetEdgeConfigBackups401, + GetEdgeConfigBackups403, + GetEdgeConfigBackups404, + ListUserEventsQueryResponse, + ListUserEventsQueryParams, + ListUserEvents400, + ListUserEvents401, + ListUserEvents403, + GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansQueryResponse, + GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansPathParams, + GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansQueryParams, + GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans400, + GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans401, + GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans403, + GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans404, + GetAccountInfoQueryResponse, + GetAccountInfoPathParams, + GetAccountInfo400, + GetAccountInfo401, + GetAccountInfo403, + GetAccountInfo404, + GetMemberQueryResponse, + GetMemberPathParams, + GetMember400, + GetMember401, + GetMember403, + GetMember404, + CreateEventMutationResponse, + CreateEventPathParams, + CreateEvent400, + CreateEvent401, + CreateEvent403, + CreateEvent404, + GetIntegrationResourcesQueryResponse, + GetIntegrationResourcesPathParams, + GetIntegrationResources400, + GetIntegrationResources401, + GetIntegrationResources403, + GetIntegrationResources404, + GetIntegrationResourceQueryResponse, + GetIntegrationResourcePathParams, + GetIntegrationResource400, + GetIntegrationResource401, + GetIntegrationResource403, + GetIntegrationResource404, + DeleteIntegrationResourceMutationResponse, + DeleteIntegrationResourcePathParams, + DeleteIntegrationResource400, + DeleteIntegrationResource401, + DeleteIntegrationResource403, + DeleteIntegrationResource404, + ImportResourceMutationResponse, + ImportResourcePathParams, + ImportResource400, + ImportResource401, + ImportResource403, + ImportResource404, + SubmitBillingDataMutationResponse, + SubmitBillingDataPathParams, + SubmitBillingData400, + SubmitBillingData401, + SubmitBillingData403, + SubmitBillingData404, + SubmitInvoiceMutationResponse, + SubmitInvoicePathParams, + SubmitInvoice400, + SubmitInvoice401, + SubmitInvoice403, + SubmitInvoice404, + GetInvoiceQueryResponse, + GetInvoicePathParams, + GetInvoice400, + GetInvoice401, + GetInvoice403, + GetInvoice404, + UpdateInvoiceMutationResponse, + UpdateInvoicePathParams, + UpdateInvoice400, + UpdateInvoice401, + UpdateInvoice403, + UpdateInvoice404, + SubmitPrepaymentBalancesMutationResponse, + SubmitPrepaymentBalancesPathParams, + SubmitPrepaymentBalances400, + SubmitPrepaymentBalances401, + SubmitPrepaymentBalances403, + SubmitPrepaymentBalances404, + UpdateResourceSecretsMutationResponse, + UpdateResourceSecretsPathParams, + UpdateResourceSecrets400, + UpdateResourceSecrets401, + UpdateResourceSecrets403, + UpdateResourceSecrets404, + UpdateResourceSecretsByIdMutationResponse, + UpdateResourceSecretsByIdPathParams, + UpdateResourceSecretsById400, + UpdateResourceSecretsById401, + UpdateResourceSecretsById403, + UpdateResourceSecretsById404, + UpdateResourceSecretsById422, + GetConfigurationsQueryResponse, + GetConfigurationsQueryParams, + GetConfigurations400, + GetConfigurations401, + GetConfigurations403, + GetConfigurationQueryResponse, + GetConfigurationPathParams, + GetConfigurationQueryParams, + GetConfiguration400, + GetConfiguration401, + GetConfiguration403, + GetConfiguration404, + DeleteConfigurationMutationResponse, + DeleteConfigurationPathParams, + DeleteConfigurationQueryParams, + DeleteConfiguration400, + DeleteConfiguration401, + DeleteConfiguration403, + DeleteConfiguration404, + GetConfigurationProductsQueryResponse, + GetConfigurationProductsPathParams, + GetConfigurationProductsQueryParams, + GetConfigurationProducts400, + GetConfigurationProducts401, + GetConfigurationProducts403, + GetConfigurationProducts404, + GetConfigurationProducts500, + ExchangeSsoTokenMutationResponse, + ExchangeSsoToken400, + ExchangeSsoToken404, + ExchangeSsoToken500, + GetIntegrationLogDrainsQueryResponse, + GetIntegrationLogDrainsQueryParams, + GetIntegrationLogDrains400, + GetIntegrationLogDrains401, + GetIntegrationLogDrains403, + CreateLogDrainMutationResponse, + CreateLogDrainQueryParams, + CreateLogDrain400, + CreateLogDrain401, + CreateLogDrain403, + DeleteIntegrationLogDrainMutationResponse, + DeleteIntegrationLogDrainPathParams, + DeleteIntegrationLogDrainQueryParams, + DeleteIntegrationLogDrain400, + DeleteIntegrationLogDrain401, + DeleteIntegrationLogDrain403, + DeleteIntegrationLogDrain404, + GetRuntimeLogsQueryResponse, + GetRuntimeLogsPathParams, + GetRuntimeLogsQueryParams, + GetRuntimeLogs400, + GetRuntimeLogs401, + GetRuntimeLogs403, + CreateExperimentationItemMutationResponse, + CreateExperimentationItemPathParams, + CreateExperimentationItem400, + CreateExperimentationItem401, + CreateExperimentationItem403, + CreateExperimentationItem404, + UpdateExperimentationItemMutationResponse, + UpdateExperimentationItemPathParams, + UpdateExperimentationItem400, + UpdateExperimentationItem401, + UpdateExperimentationItem403, + UpdateExperimentationItem404, + DeleteExperimentationItemMutationResponse, + DeleteExperimentationItemPathParams, + DeleteExperimentationItem400, + DeleteExperimentationItem401, + DeleteExperimentationItem403, + DeleteExperimentationItem404, + UpdateExperimentationEdgeConfigMutationResponse, + UpdateExperimentationEdgeConfigPathParams, + UpdateExperimentationEdgeConfig400, + UpdateExperimentationEdgeConfig401, + UpdateExperimentationEdgeConfig403, + UpdateExperimentationEdgeConfig404, + UpdateExperimentationEdgeConfig409, + UpdateExperimentationEdgeConfig412, + GetProjectMembersQueryResponse, + GetProjectMembersPathParams, + GetProjectMembersQueryParams, + GetProjectMembers400, + GetProjectMembers401, + GetProjectMembers403, + AddProjectMemberMutationResponse, + AddProjectMemberPathParams, + AddProjectMemberQueryParams, + AddProjectMember400, + AddProjectMember401, + AddProjectMember403, + AddProjectMember500, + RemoveProjectMemberMutationResponse, + RemoveProjectMemberPathParams, + RemoveProjectMemberQueryParams, + RemoveProjectMember400, + RemoveProjectMember401, + RemoveProjectMember403, + GetProjectsQueryResponse, + GetProjectsQueryParams, + GetProjects400, + GetProjects401, + GetProjects403, + CreateProjectMutationResponse, + CreateProjectQueryParams, + CreateProject400, + CreateProject401, + CreateProject402, + CreateProject403, + CreateProject404, + CreateProject409, + CreateProject428, + CreateProject429, + CreateProject500, + GetProjectQueryResponse, + GetProjectPathParams, + GetProjectQueryParams, + GetProject400, + GetProject401, + GetProject403, + UpdateProjectMutationResponse, + UpdateProjectPathParams, + UpdateProjectQueryParams, + UpdateProject400, + UpdateProject401, + UpdateProject402, + UpdateProject403, + UpdateProject404, + UpdateProject409, + UpdateProject428, + DeleteProjectMutationResponse, + DeleteProjectPathParams, + DeleteProjectQueryParams, + DeleteProject400, + DeleteProject401, + DeleteProject403, + DeleteProject409, + CreateCustomEnvironmentMutationResponse, + CreateCustomEnvironmentPathParams, + CreateCustomEnvironmentQueryParams, + CreateCustomEnvironment400, + CreateCustomEnvironment401, + CreateCustomEnvironment402, + CreateCustomEnvironment403, + CreateCustomEnvironment500, + ListCustomEnvironmentsQueryResponse, + ListCustomEnvironmentsPathParams, + ListCustomEnvironmentsQueryParams, + ListCustomEnvironments400, + ListCustomEnvironments401, + ListCustomEnvironments403, + GetCustomEnvironmentQueryResponse, + GetCustomEnvironmentPathParams, + GetCustomEnvironmentQueryParams, + GetCustomEnvironment400, + GetCustomEnvironment401, + GetCustomEnvironment403, + GetCustomEnvironment404, + UpdateCustomEnvironmentMutationResponse, + UpdateCustomEnvironmentPathParams, + UpdateCustomEnvironmentQueryParams, + UpdateCustomEnvironment400, + UpdateCustomEnvironment401, + UpdateCustomEnvironment402, + UpdateCustomEnvironment403, + UpdateCustomEnvironment500, RemoveCustomEnvironmentMutationResponse, RemoveCustomEnvironmentPathParams, RemoveCustomEnvironmentQueryParams, + RemoveCustomEnvironment400, + RemoveCustomEnvironment401, + RemoveCustomEnvironment403, + GetProjectDomainsQueryResponse, + GetProjectDomainsPathParams, + GetProjectDomainsQueryParams, + GetProjectDomains400, + GetProjectDomains401, + GetProjectDomains403, + GetProjectDomainQueryResponse, + GetProjectDomainPathParams, + GetProjectDomainQueryParams, + GetProjectDomain400, + GetProjectDomain401, + GetProjectDomain403, + UpdateProjectDomainMutationResponse, + UpdateProjectDomainPathParams, + UpdateProjectDomainQueryParams, + UpdateProjectDomain400, + UpdateProjectDomain401, + UpdateProjectDomain403, + UpdateProjectDomain409, + RemoveProjectDomainMutationResponse, + RemoveProjectDomainPathParams, + RemoveProjectDomainQueryParams, RemoveProjectDomain400, RemoveProjectDomain401, RemoveProjectDomain403, RemoveProjectDomain404, RemoveProjectDomain409, - RemoveProjectDomainMutationResponse, - RemoveProjectDomainPathParams, - RemoveProjectDomainQueryParams, + AddProjectDomainMutationResponse, + AddProjectDomainPathParams, + AddProjectDomainQueryParams, + AddProjectDomain400, + AddProjectDomain401, + AddProjectDomain402, + AddProjectDomain403, + AddProjectDomain409, + MoveProjectDomainMutationResponse, + MoveProjectDomainPathParams, + MoveProjectDomainQueryParams, + MoveProjectDomain400, + MoveProjectDomain401, + MoveProjectDomain403, + MoveProjectDomain409, + VerifyProjectDomainMutationResponse, + VerifyProjectDomainPathParams, + VerifyProjectDomainQueryParams, + VerifyProjectDomain400, + VerifyProjectDomain401, + VerifyProjectDomain403, + FilterProjectEnvsQueryResponse, + FilterProjectEnvsPathParams, + FilterProjectEnvsQueryParams, + FilterProjectEnvs400, + FilterProjectEnvs401, + FilterProjectEnvs403, + CreateProjectEnvMutationResponse, + CreateProjectEnvPathParams, + CreateProjectEnvQueryParams, + CreateProjectEnv400, + CreateProjectEnv401, + CreateProjectEnv402, + CreateProjectEnv403, + CreateProjectEnv404, + CreateProjectEnv409, + CreateProjectEnv429, + CreateProjectEnv500, + GetProjectEnvQueryResponse, + GetProjectEnvPathParams, + GetProjectEnvQueryParams, + GetProjectEnv400, + GetProjectEnv401, + GetProjectEnv403, + RemoveProjectEnvMutationResponse, + RemoveProjectEnvPathParams, + RemoveProjectEnvQueryParams, RemoveProjectEnv400, RemoveProjectEnv401, RemoveProjectEnv403, RemoveProjectEnv404, RemoveProjectEnv409, - RemoveProjectEnvMutationResponse, - RemoveProjectEnvPathParams, - RemoveProjectEnvQueryParams, - RemoveProjectMember400, - RemoveProjectMember401, - RemoveProjectMember403, - RemoveProjectMemberMutationResponse, - RemoveProjectMemberPathParams, - RemoveProjectMemberQueryParams, - RemoveRecord400, - RemoveRecord401, - RemoveRecord403, - RemoveRecord404, - RemoveRecordMutationResponse, - RemoveRecordPathParams, - RemoveRecordQueryParams, - RemoveTeamMember400, - RemoveTeamMember401, - RemoveTeamMember403, - RemoveTeamMember404, - RemoveTeamMember503, - RemoveTeamMemberMutationResponse, - RemoveTeamMemberPathParams, - RemoveTeamMemberQueryParams, - RenameSecret400, - RenameSecret401, - RenameSecret403, - RenameSecret410, - RenameSecretMutationResponse, - RenameSecretPathParams, - RenameSecretQueryParams, - RequestAccessToTeam400, - RequestAccessToTeam401, - RequestAccessToTeam403, - RequestAccessToTeam404, - RequestAccessToTeam503, - RequestAccessToTeamMutationResponse, - RequestAccessToTeamPathParams, - RequestDelete400, - RequestDelete401, - RequestDelete402, - RequestDelete403, - RequestDeleteMutationResponse, - RequestPromote400, - RequestPromote401, - RequestPromote403, - RequestPromote409, - RequestPromoteMutationResponse, - RequestPromotePathParams, - RequestPromoteQueryParams, - RerequestCheck400, - RerequestCheck401, - RerequestCheck403, - RerequestCheck404, - RerequestCheckMutationResponse, - RerequestCheckPathParams, - RerequestCheckQueryParams, - Status400, - Status401, - Status402, - Status403, - StatusQueryParams, - StatusQueryResponse, - SubmitBillingData400, - SubmitBillingData401, - SubmitBillingData403, - SubmitBillingData404, - SubmitBillingDataMutationResponse, - SubmitBillingDataPathParams, - SubmitInvoice400, - SubmitInvoice401, - SubmitInvoice403, - SubmitInvoice404, - SubmitInvoiceMutationResponse, - SubmitInvoicePathParams, - SubmitPrepaymentBalances400, - SubmitPrepaymentBalances401, - SubmitPrepaymentBalances403, - SubmitPrepaymentBalances404, - SubmitPrepaymentBalancesMutationResponse, - SubmitPrepaymentBalancesPathParams, + EditProjectEnvMutationResponse, + EditProjectEnvPathParams, + EditProjectEnvQueryParams, + EditProjectEnv400, + EditProjectEnv401, + EditProjectEnv403, + EditProjectEnv404, + EditProjectEnv409, + EditProjectEnv429, + EditProjectEnv500, + GetRollingReleaseBillingStatusQueryResponse, + GetRollingReleaseBillingStatusPathParams, + GetRollingReleaseBillingStatusQueryParams, + GetRollingReleaseBillingStatus400, + GetRollingReleaseBillingStatus401, + GetRollingReleaseBillingStatus403, + GetRollingReleaseBillingStatus404, + GetRollingReleaseConfigQueryResponse, + GetRollingReleaseConfigPathParams, + GetRollingReleaseConfigQueryParams, + GetRollingReleaseConfig400, + GetRollingReleaseConfig401, + GetRollingReleaseConfig403, + GetRollingReleaseConfig404, + DeleteRollingReleaseConfigMutationResponse, + DeleteRollingReleaseConfigPathParams, + DeleteRollingReleaseConfigQueryParams, + DeleteRollingReleaseConfig400, + DeleteRollingReleaseConfig401, + DeleteRollingReleaseConfig403, + DeleteRollingReleaseConfig404, + UpdateRollingReleaseConfigMutationResponse, + UpdateRollingReleaseConfigPathParams, + UpdateRollingReleaseConfigQueryParams, + UpdateRollingReleaseConfig400, + UpdateRollingReleaseConfig401, + UpdateRollingReleaseConfig403, + UpdateRollingReleaseConfig404, + GetRollingReleaseQueryResponse, + GetRollingReleasePathParams, + GetRollingReleaseQueryParams, + GetRollingRelease400, + GetRollingRelease401, + GetRollingRelease403, + GetRollingRelease404, + ApproveRollingReleaseStageMutationResponse, + ApproveRollingReleaseStagePathParams, + ApproveRollingReleaseStageQueryParams, + ApproveRollingReleaseStage400, + ApproveRollingReleaseStage401, + ApproveRollingReleaseStage403, + ApproveRollingReleaseStage404, + ApproveRollingReleaseStage500, + CompleteRollingReleaseMutationResponse, + CompleteRollingReleasePathParams, + CompleteRollingReleaseQueryParams, + CompleteRollingRelease400, + CompleteRollingRelease401, + CompleteRollingRelease403, + CompleteRollingRelease404, + CreateProjectTransferRequestMutationResponse, + CreateProjectTransferRequestPathParams, + CreateProjectTransferRequestQueryParams, + CreateProjectTransferRequest400, + CreateProjectTransferRequest401, + CreateProjectTransferRequest403, + AcceptProjectTransferRequestMutationResponse, + AcceptProjectTransferRequestPathParams, + AcceptProjectTransferRequestQueryParams, + AcceptProjectTransferRequest400, + AcceptProjectTransferRequest401, + AcceptProjectTransferRequest403, + AcceptProjectTransferRequest404, + AcceptProjectTransferRequest422, + UpdateProjectProtectionBypassMutationResponse, + UpdateProjectProtectionBypassPathParams, + UpdateProjectProtectionBypassQueryParams, + UpdateProjectProtectionBypass400, + UpdateProjectProtectionBypass401, + UpdateProjectProtectionBypass403, + UpdateProjectProtectionBypass404, + UpdateProjectProtectionBypass409, + RequestPromoteMutationResponse, + RequestPromotePathParams, + RequestPromoteQueryParams, + RequestPromote400, + RequestPromote401, + RequestPromote403, + RequestPromote409, + ListPromoteAliasesQueryResponse, + ListPromoteAliasesPathParams, + ListPromoteAliasesQueryParams, + ListPromoteAliases400, + ListPromoteAliases401, + ListPromoteAliases403, + ListPromoteAliases404, + PauseProjectMutationResponse, + PauseProjectPathParams, + PauseProjectQueryParams, + PauseProject400, + PauseProject401, + PauseProject402, + PauseProject403, + PauseProject500, + UnpauseProjectMutationResponse, + UnpauseProjectPathParams, + UnpauseProjectQueryParams, UnpauseProject400, UnpauseProject401, UnpauseProject403, UnpauseProject500, - UnpauseProjectMutationResponse, - UnpauseProjectPathParams, - UnpauseProjectQueryParams, - UpdateAccessGroup400, - UpdateAccessGroup401, - UpdateAccessGroup403, - UpdateAccessGroupMutationResponse, - UpdateAccessGroupPathParams, - UpdateAccessGroupProject400, - UpdateAccessGroupProject401, - UpdateAccessGroupProject403, - UpdateAccessGroupProjectMutationResponse, - UpdateAccessGroupProjectPathParams, - UpdateAccessGroupProjectQueryParams, - UpdateAccessGroupQueryParams, + UpdateAttackChallengeModeMutationResponse, + UpdateAttackChallengeModeQueryParams, UpdateAttackChallengeMode400, UpdateAttackChallengeMode401, UpdateAttackChallengeMode403, UpdateAttackChallengeMode404, - UpdateAttackChallengeModeMutationResponse, - UpdateAttackChallengeModeQueryParams, - UpdateCheck400, - UpdateCheck401, - UpdateCheck403, - UpdateCheck404, - UpdateCheck413, - UpdateCheckMutationResponse, - UpdateCheckPathParams, - UpdateCheckQueryParams, - UpdateCustomEnvironment400, - UpdateCustomEnvironment401, - UpdateCustomEnvironment402, - UpdateCustomEnvironment403, - UpdateCustomEnvironment500, - UpdateCustomEnvironmentMutationResponse, - UpdateCustomEnvironmentPathParams, - UpdateCustomEnvironmentQueryParams, - UpdateDataCacheBillingSettings400, - UpdateDataCacheBillingSettings401, - UpdateDataCacheBillingSettings403, - UpdateDataCacheBillingSettings404, - UpdateDataCacheBillingSettingsMutationResponse, - UpdateEdgeConfig400, - UpdateEdgeConfig401, - UpdateEdgeConfig402, - UpdateEdgeConfig403, - UpdateEdgeConfig404, - UpdateEdgeConfigMutationResponse, - UpdateEdgeConfigPathParams, - UpdateEdgeConfigQueryParams, - UpdateExperimentationEdgeConfig400, - UpdateExperimentationEdgeConfig401, - UpdateExperimentationEdgeConfig403, - UpdateExperimentationEdgeConfig404, - UpdateExperimentationEdgeConfig412, - UpdateExperimentationEdgeConfigMutationResponse, - UpdateExperimentationEdgeConfigPathParams, - UpdateExperimentationItem400, - UpdateExperimentationItem401, - UpdateExperimentationItem403, - UpdateExperimentationItem404, - UpdateExperimentationItemMutationResponse, - UpdateExperimentationItemPathParams, + PutFirewallConfigMutationResponse, + PutFirewallConfigQueryParams, + PutFirewallConfig400, + PutFirewallConfig401, + PutFirewallConfig402, + PutFirewallConfig403, + PutFirewallConfig404, + PutFirewallConfig500, + UpdateFirewallConfigMutationResponse, + UpdateFirewallConfigQueryParams, UpdateFirewallConfig400, UpdateFirewallConfig401, UpdateFirewallConfig402, UpdateFirewallConfig403, UpdateFirewallConfig404, UpdateFirewallConfig500, - UpdateFirewallConfigMutationResponse, - UpdateFirewallConfigQueryParams, - UpdateIntegrationDeploymentAction400, - UpdateIntegrationDeploymentAction401, - UpdateIntegrationDeploymentAction403, - UpdateIntegrationDeploymentActionMutationResponse, - UpdateIntegrationDeploymentActionPathParams, - UpdateInvoice400, - UpdateInvoice401, - UpdateInvoice403, - UpdateInvoice404, - UpdateInvoiceMutationResponse, - UpdateInvoicePathParams, - UpdateProject400, - UpdateProject401, - UpdateProject402, - UpdateProject403, - UpdateProject404, - UpdateProject409, - UpdateProject428, - UpdateProjectDataCache400, - UpdateProjectDataCache401, - UpdateProjectDataCache403, - UpdateProjectDataCache404, - UpdateProjectDataCacheMutationResponse, - UpdateProjectDataCachePathParams, - UpdateProjectDataCacheQueryParams, - UpdateProjectDomain400, - UpdateProjectDomain401, - UpdateProjectDomain403, - UpdateProjectDomain409, - UpdateProjectDomainMutationResponse, - UpdateProjectDomainPathParams, - UpdateProjectDomainQueryParams, - UpdateProjectMutationResponse, - UpdateProjectPathParams, - UpdateProjectProtectionBypass400, - UpdateProjectProtectionBypass401, - UpdateProjectProtectionBypass403, - UpdateProjectProtectionBypass404, - UpdateProjectProtectionBypass409, - UpdateProjectProtectionBypassMutationResponse, - UpdateProjectProtectionBypassPathParams, - UpdateProjectProtectionBypassQueryParams, - UpdateProjectQueryParams, - UpdateRecord400, - UpdateRecord401, - UpdateRecord402, - UpdateRecord403, - UpdateRecord404, - UpdateRecord409, - UpdateRecordMutationResponse, - UpdateRecordPathParams, - UpdateRecordQueryParams, - UpdateResourceSecrets400, - UpdateResourceSecrets401, - UpdateResourceSecrets403, - UpdateResourceSecrets404, - UpdateResourceSecretsById400, - UpdateResourceSecretsById401, - UpdateResourceSecretsById403, - UpdateResourceSecretsById404, - UpdateResourceSecretsById422, - UpdateResourceSecretsByIdMutationResponse, - UpdateResourceSecretsByIdPathParams, - UpdateResourceSecretsMutationResponse, - UpdateResourceSecretsPathParams, - UpdateRollingReleaseConfig400, - UpdateRollingReleaseConfig401, - UpdateRollingReleaseConfig403, - UpdateRollingReleaseConfig404, - UpdateRollingReleaseConfigMutationResponse, - UpdateRollingReleaseConfigPathParams, - UpdateRollingReleaseConfigQueryParams, + GetFirewallConfigQueryResponse, + GetFirewallConfigPathParams, + GetFirewallConfigQueryParams, + GetFirewallConfig400, + GetFirewallConfig401, + GetFirewallConfig403, + GetFirewallConfig404, + GetActiveAttackStatusQueryResponse, + GetActiveAttackStatusQueryParams, + GetActiveAttackStatus400, + GetActiveAttackStatus401, + GetActiveAttackStatus403, + GetActiveAttackStatus404, + GetBypassIpQueryResponse, + GetBypassIpQueryParams, + GetBypassIp400, + GetBypassIp401, + GetBypassIp403, + GetBypassIp404, + GetBypassIp500, + AddBypassIpMutationResponse, + AddBypassIpQueryParams, + AddBypassIp400, + AddBypassIp401, + AddBypassIp403, + AddBypassIp404, + AddBypassIp500, + RemoveBypassIpMutationResponse, + RemoveBypassIpQueryParams, + RemoveBypassIp400, + RemoveBypassIp401, + RemoveBypassIp403, + RemoveBypassIp404, + RemoveBypassIp500, + GetTeamMembersQueryResponse, + GetTeamMembersPathParams, + GetTeamMembersQueryParams, + GetTeamMembers400, + GetTeamMembers401, + GetTeamMembers403, + GetTeamMembers404, + InviteUserToTeamMutationResponse, + InviteUserToTeamPathParams, + InviteUserToTeam400, + InviteUserToTeam401, + InviteUserToTeam403, + InviteUserToTeam503, + RequestAccessToTeamMutationResponse, + RequestAccessToTeamPathParams, + RequestAccessToTeam400, + RequestAccessToTeam401, + RequestAccessToTeam403, + RequestAccessToTeam404, + RequestAccessToTeam503, + GetTeamAccessRequestQueryResponse, + GetTeamAccessRequestPathParams, + GetTeamAccessRequest400, + GetTeamAccessRequest401, + GetTeamAccessRequest403, + GetTeamAccessRequest404, + JoinTeamMutationResponse, + JoinTeamPathParams, + JoinTeam400, + JoinTeam401, + JoinTeam402, + JoinTeam403, + JoinTeam404, + UpdateTeamMemberMutationResponse, + UpdateTeamMemberPathParams, UpdateTeamMember400, UpdateTeamMember401, UpdateTeamMember402, UpdateTeamMember403, UpdateTeamMember404, UpdateTeamMember500, - UpdateTeamMemberMutationResponse, - UpdateTeamMemberPathParams, - UploadArtifact400, - UploadArtifact401, - UploadArtifact402, - UploadArtifact403, - UploadArtifactHeaderParams, - UploadArtifactMutationResponse, - UploadArtifactPathParams, - UploadArtifactQueryParams, + RemoveTeamMemberMutationResponse, + RemoveTeamMemberPathParams, + RemoveTeamMemberQueryParams, + RemoveTeamMember400, + RemoveTeamMember401, + RemoveTeamMember403, + RemoveTeamMember404, + RemoveTeamMember503, + GetTeamQueryResponse, + GetTeamPathParams, + GetTeamQueryParams, + GetTeam400, + GetTeam401, + GetTeam403, + GetTeam404, + PatchTeamMutationResponse, + PatchTeamPathParams, + PatchTeamQueryParams, + PatchTeam400, + PatchTeam401, + PatchTeam402, + PatchTeam403, + PatchTeam428, + GetTeamsQueryResponse, + GetTeamsQueryParams, + GetTeams400, + GetTeams401, + GetTeams403, + CreateTeamMutationResponse, + CreateTeam400, + CreateTeam401, + CreateTeam403, + DeleteTeamMutationResponse, + DeleteTeamPathParams, + DeleteTeamQueryParams, + DeleteTeam400, + DeleteTeam401, + DeleteTeam402, + DeleteTeam403, + DeleteTeam409, + DeleteTeamInviteCodeMutationResponse, + DeleteTeamInviteCodePathParams, + DeleteTeamInviteCode400, + DeleteTeamInviteCode401, + DeleteTeamInviteCode403, + DeleteTeamInviteCode404, + UploadFileMutationResponse, + UploadFileQueryParams, + UploadFileHeaderParams, + UploadFile400, + UploadFile401, + UploadFile403, + ListAuthTokensQueryResponse, + ListAuthTokens400, + ListAuthTokens401, + ListAuthTokens403, + CreateAuthTokenMutationResponse, + CreateAuthTokenQueryParams, + CreateAuthToken400, + CreateAuthToken401, + CreateAuthToken403, + GetAuthTokenQueryResponse, + GetAuthTokenPathParams, + GetAuthToken400, + GetAuthToken401, + GetAuthToken403, + GetAuthToken404, + DeleteAuthTokenMutationResponse, + DeleteAuthTokenPathParams, + DeleteAuthToken400, + DeleteAuthToken401, + DeleteAuthToken403, + DeleteAuthToken404, + GetAuthUserQueryResponse, + GetAuthUser400, + GetAuthUser401, + GetAuthUser403, + GetAuthUser409, + RequestDeleteMutationResponse, + RequestDelete400, + RequestDelete401, + RequestDelete402, + RequestDelete403, + CreateWebhookMutationResponse, + CreateWebhookQueryParams, + CreateWebhook400, + CreateWebhook401, + CreateWebhook403, + GetWebhooksQueryResponse, + GetWebhooksQueryParams, + GetWebhooks400, + GetWebhooks401, + GetWebhooks403, + GetWebhookQueryResponse, + GetWebhookPathParams, + GetWebhookQueryParams, + GetWebhook400, + GetWebhook401, + GetWebhook403, + DeleteWebhookMutationResponse, + DeleteWebhookPathParams, + DeleteWebhookQueryParams, + DeleteWebhook400, + DeleteWebhook401, + DeleteWebhook403, + ListDeploymentAliasesQueryResponse, + ListDeploymentAliasesPathParams, + ListDeploymentAliasesQueryParams, + ListDeploymentAliases400, + ListDeploymentAliases401, + ListDeploymentAliases403, + ListDeploymentAliases404, + AssignAliasMutationResponse, + AssignAliasPathParams, + AssignAliasQueryParams, + AssignAlias400, + AssignAlias401, + AssignAlias402, + AssignAlias403, + AssignAlias404, + AssignAlias409, + ListAliasesQueryResponse, + ListAliasesQueryParams, + ListAliases400, + ListAliases401, + ListAliases403, + ListAliases404, + GetAliasQueryResponse, + GetAliasPathParams, + GetAliasQueryParams, + GetAlias400, + GetAlias401, + GetAlias403, + GetAlias404, + DeleteAliasMutationResponse, + DeleteAliasPathParams, + DeleteAliasQueryParams, + DeleteAlias400, + DeleteAlias401, + DeleteAlias403, + DeleteAlias404, + PatchUrlProtectionBypassMutationResponse, + PatchUrlProtectionBypassPathParams, + PatchUrlProtectionBypassQueryParams, + PatchUrlProtectionBypass400, + PatchUrlProtectionBypass401, + PatchUrlProtectionBypass403, + PatchUrlProtectionBypass404, + PatchUrlProtectionBypass409, + PatchUrlProtectionBypass428, + PatchUrlProtectionBypass500, + ListCertsQueryResponse, + ListCerts400, + ListCerts401, + ListCerts403, + GetCertByIdQueryResponse, + GetCertByIdPathParams, + GetCertByIdQueryParams, + GetCertById400, + GetCertById401, + GetCertById403, + GetCertById404, + RemoveCertMutationResponse, + RemoveCertPathParams, + RemoveCertQueryParams, + RemoveCert400, + RemoveCert401, + RemoveCert403, + RemoveCert404, + IssueCertMutationResponse, + IssueCertQueryParams, + IssueCert400, + IssueCert401, + IssueCert402, + IssueCert403, + IssueCert404, + IssueCert449, + IssueCert500, + UploadCertMutationResponse, + UploadCertQueryParams, UploadCert400, UploadCert401, UploadCert402, UploadCert403, - UploadCertMutationResponse, - UploadCertQueryParams, - UploadFile400, - UploadFile401, - UploadFile403, - UploadFileHeaderParams, - UploadFileMutationResponse, - UploadFileQueryParams, - VerifyProjectDomain400, - VerifyProjectDomain401, - VerifyProjectDomain403, - VerifyProjectDomainMutationResponse, - VerifyProjectDomainPathParams, - VerifyProjectDomainQueryParams -} from './types.ts'; + ListDeploymentFilesQueryResponse, + ListDeploymentFilesPathParams, + ListDeploymentFilesQueryParams, + ListDeploymentFiles400, + ListDeploymentFiles401, + ListDeploymentFiles403, + ListDeploymentFiles404, + GetDeploymentFileContentsQueryResponse, + GetDeploymentFileContentsPathParams, + GetDeploymentFileContentsQueryParams, + GetDeploymentFileContents400, + GetDeploymentFileContents401, + GetDeploymentFileContents403, + GetDeploymentFileContents404, + GetDeploymentFileContents410, + GetDeploymentsQueryResponse, + GetDeploymentsQueryParams, + GetDeployments400, + GetDeployments401, + GetDeployments403, + GetDeployments404, + GetDeployments422, + DeleteDeploymentMutationResponse, + DeleteDeploymentPathParams, + DeleteDeploymentQueryParams, + DeleteDeployment400, + DeleteDeployment401, + DeleteDeployment403, + DeleteDeployment404, + GetSecretsQueryResponse, + GetSecretsQueryParams, + GetSecrets400, + GetSecrets401, + GetSecrets403, + GetSecrets410, + CreateSecretMutationResponse, + CreateSecretPathParams, + CreateSecretQueryParams, + CreateSecret400, + CreateSecret401, + CreateSecret402, + CreateSecret403, + CreateSecret410, + RenameSecretMutationResponse, + RenameSecretPathParams, + RenameSecretQueryParams, + RenameSecret400, + RenameSecret401, + RenameSecret403, + RenameSecret410, + GetSecretQueryResponse, + GetSecretPathParams, + GetSecretQueryParams, + GetSecret400, + GetSecret401, + GetSecret403, + GetSecret404, + GetSecret410, + DeleteSecretMutationResponse, + DeleteSecretPathParams, + DeleteSecretQueryParams, + DeleteSecret400, + DeleteSecret401, + DeleteSecret403, + DeleteSecret410, +} from './types.ts' +import { + readAccessGroupPathParamsSchema, + readAccessGroupQueryParamsSchema, + updateAccessGroupPathParamsSchema, + updateAccessGroupQueryParamsSchema, + deleteAccessGroupPathParamsSchema, + deleteAccessGroupQueryParamsSchema, + listAccessGroupMembersPathParamsSchema, + listAccessGroupMembersQueryParamsSchema, + listAccessGroupsQueryParamsSchema, + createAccessGroupQueryParamsSchema, + listAccessGroupProjectsPathParamsSchema, + listAccessGroupProjectsQueryParamsSchema, + createAccessGroupProjectPathParamsSchema, + createAccessGroupProjectQueryParamsSchema, + readAccessGroupProjectPathParamsSchema, + readAccessGroupProjectQueryParamsSchema, + updateAccessGroupProjectPathParamsSchema, + updateAccessGroupProjectQueryParamsSchema, + deleteAccessGroupProjectPathParamsSchema, + deleteAccessGroupProjectQueryParamsSchema, + recordEventsQueryParamsSchema, + recordEventsHeaderParamsSchema, + statusQueryParamsSchema, + uploadArtifactPathParamsSchema, + uploadArtifactQueryParamsSchema, + uploadArtifactHeaderParamsSchema, + downloadArtifactPathParamsSchema, + downloadArtifactQueryParamsSchema, + downloadArtifactHeaderParamsSchema, + artifactQueryQueryParamsSchema, + createCheckPathParamsSchema, + createCheckQueryParamsSchema, + getAllChecksPathParamsSchema, + getAllChecksQueryParamsSchema, + getCheckPathParamsSchema, + getCheckQueryParamsSchema, + updateCheckPathParamsSchema, + updateCheckQueryParamsSchema, + rerequestCheckPathParamsSchema, + rerequestCheckQueryParamsSchema, + purgeAllDataCacheQueryParamsSchema, + updateProjectDataCachePathParamsSchema, + updateProjectDataCacheQueryParamsSchema, + getDeploymentEventsPathParamsSchema, + getDeploymentEventsQueryParamsSchema, + updateIntegrationDeploymentActionPathParamsSchema, + getDeploymentPathParamsSchema, + getDeploymentQueryParamsSchema, + createDeploymentQueryParamsSchema, + cancelDeploymentPathParamsSchema, + cancelDeploymentQueryParamsSchema, + buyDomainQueryParamsSchema, + checkDomainPriceQueryParamsSchema, + checkDomainStatusQueryParamsSchema, + getRecordsPathParamsSchema, + getRecordsQueryParamsSchema, + createRecordPathParamsSchema, + createRecordQueryParamsSchema, + updateRecordPathParamsSchema, + updateRecordQueryParamsSchema, + removeRecordPathParamsSchema, + removeRecordQueryParamsSchema, + getDomainTransferPathParamsSchema, + getDomainTransferQueryParamsSchema, + getDomainConfigPathParamsSchema, + getDomainConfigQueryParamsSchema, + getDomainPathParamsSchema, + getDomainQueryParamsSchema, + getDomainsQueryParamsSchema, + createOrTransferDomainQueryParamsSchema, + patchDomainPathParamsSchema, + patchDomainQueryParamsSchema, + deleteDomainPathParamsSchema, + deleteDomainQueryParamsSchema, + getEdgeConfigsQueryParamsSchema, + createEdgeConfigQueryParamsSchema, + getEdgeConfigPathParamsSchema, + getEdgeConfigQueryParamsSchema, + updateEdgeConfigPathParamsSchema, + updateEdgeConfigQueryParamsSchema, + deleteEdgeConfigPathParamsSchema, + deleteEdgeConfigQueryParamsSchema, + getEdgeConfigItemsPathParamsSchema, + getEdgeConfigItemsQueryParamsSchema, + patchEdgeConfigItemsPathParamsSchema, + patchEdgeConfigItemsQueryParamsSchema, + getEdgeConfigSchemaPathParamsSchema, + getEdgeConfigSchemaQueryParamsSchema, + patchEdgeConfigSchemaPathParamsSchema, + patchEdgeConfigSchemaQueryParamsSchema, + deleteEdgeConfigSchemaPathParamsSchema, + deleteEdgeConfigSchemaQueryParamsSchema, + getEdgeConfigItemPathParamsSchema, + getEdgeConfigItemQueryParamsSchema, + getEdgeConfigTokensPathParamsSchema, + getEdgeConfigTokensQueryParamsSchema, + deleteEdgeConfigTokensPathParamsSchema, + deleteEdgeConfigTokensQueryParamsSchema, + getEdgeConfigTokenPathParamsSchema, + getEdgeConfigTokenQueryParamsSchema, + createEdgeConfigTokenPathParamsSchema, + createEdgeConfigTokenQueryParamsSchema, + getEdgeConfigBackupPathParamsSchema, + getEdgeConfigBackupQueryParamsSchema, + getEdgeConfigBackupsPathParamsSchema, + getEdgeConfigBackupsQueryParamsSchema, + listUserEventsQueryParamsSchema, + GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansPathParamsSchema, + GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansQueryParamsSchema, + getAccountInfoPathParamsSchema, + getMemberPathParamsSchema, + createEventPathParamsSchema, + getIntegrationResourcesPathParamsSchema, + getIntegrationResourcePathParamsSchema, + deleteIntegrationResourcePathParamsSchema, + importResourcePathParamsSchema, + submitBillingDataPathParamsSchema, + submitInvoicePathParamsSchema, + getInvoicePathParamsSchema, + updateInvoicePathParamsSchema, + submitPrepaymentBalancesPathParamsSchema, + updateResourceSecretsPathParamsSchema, + updateResourceSecretsByIdPathParamsSchema, + getConfigurationsQueryParamsSchema, + getConfigurationPathParamsSchema, + getConfigurationQueryParamsSchema, + deleteConfigurationPathParamsSchema, + deleteConfigurationQueryParamsSchema, + getConfigurationProductsPathParamsSchema, + getConfigurationProductsQueryParamsSchema, + getIntegrationLogDrainsQueryParamsSchema, + createLogDrainQueryParamsSchema, + deleteIntegrationLogDrainPathParamsSchema, + deleteIntegrationLogDrainQueryParamsSchema, + getRuntimeLogsPathParamsSchema, + getRuntimeLogsQueryParamsSchema, + createExperimentationItemPathParamsSchema, + updateExperimentationItemPathParamsSchema, + deleteExperimentationItemPathParamsSchema, + updateExperimentationEdgeConfigPathParamsSchema, + getProjectMembersPathParamsSchema, + getProjectMembersQueryParamsSchema, + addProjectMemberPathParamsSchema, + addProjectMemberQueryParamsSchema, + removeProjectMemberPathParamsSchema, + removeProjectMemberQueryParamsSchema, + getProjectsQueryParamsSchema, + createProjectQueryParamsSchema, + getProjectPathParamsSchema, + getProjectQueryParamsSchema, + updateProjectPathParamsSchema, + updateProjectQueryParamsSchema, + deleteProjectPathParamsSchema, + deleteProjectQueryParamsSchema, + createCustomEnvironmentPathParamsSchema, + createCustomEnvironmentQueryParamsSchema, + listCustomEnvironmentsPathParamsSchema, + listCustomEnvironmentsQueryParamsSchema, + getCustomEnvironmentPathParamsSchema, + getCustomEnvironmentQueryParamsSchema, + updateCustomEnvironmentPathParamsSchema, + updateCustomEnvironmentQueryParamsSchema, + removeCustomEnvironmentPathParamsSchema, + removeCustomEnvironmentQueryParamsSchema, + getProjectDomainsPathParamsSchema, + getProjectDomainsQueryParamsSchema, + getProjectDomainPathParamsSchema, + getProjectDomainQueryParamsSchema, + updateProjectDomainPathParamsSchema, + updateProjectDomainQueryParamsSchema, + removeProjectDomainPathParamsSchema, + removeProjectDomainQueryParamsSchema, + addProjectDomainPathParamsSchema, + addProjectDomainQueryParamsSchema, + moveProjectDomainPathParamsSchema, + moveProjectDomainQueryParamsSchema, + verifyProjectDomainPathParamsSchema, + verifyProjectDomainQueryParamsSchema, + filterProjectEnvsPathParamsSchema, + filterProjectEnvsQueryParamsSchema, + createProjectEnvPathParamsSchema, + createProjectEnvQueryParamsSchema, + getProjectEnvPathParamsSchema, + getProjectEnvQueryParamsSchema, + removeProjectEnvPathParamsSchema, + removeProjectEnvQueryParamsSchema, + editProjectEnvPathParamsSchema, + editProjectEnvQueryParamsSchema, + getRollingReleaseBillingStatusPathParamsSchema, + getRollingReleaseBillingStatusQueryParamsSchema, + getRollingReleaseConfigPathParamsSchema, + getRollingReleaseConfigQueryParamsSchema, + deleteRollingReleaseConfigPathParamsSchema, + deleteRollingReleaseConfigQueryParamsSchema, + updateRollingReleaseConfigPathParamsSchema, + updateRollingReleaseConfigQueryParamsSchema, + getRollingReleasePathParamsSchema, + getRollingReleaseQueryParamsSchema, + approveRollingReleaseStagePathParamsSchema, + approveRollingReleaseStageQueryParamsSchema, + completeRollingReleasePathParamsSchema, + completeRollingReleaseQueryParamsSchema, + createProjectTransferRequestPathParamsSchema, + createProjectTransferRequestQueryParamsSchema, + acceptProjectTransferRequestPathParamsSchema, + acceptProjectTransferRequestQueryParamsSchema, + updateProjectProtectionBypassPathParamsSchema, + updateProjectProtectionBypassQueryParamsSchema, + requestPromotePathParamsSchema, + requestPromoteQueryParamsSchema, + listPromoteAliasesPathParamsSchema, + listPromoteAliasesQueryParamsSchema, + pauseProjectPathParamsSchema, + pauseProjectQueryParamsSchema, + unpauseProjectPathParamsSchema, + unpauseProjectQueryParamsSchema, + updateAttackChallengeModeQueryParamsSchema, + putFirewallConfigQueryParamsSchema, + updateFirewallConfigQueryParamsSchema, + getFirewallConfigPathParamsSchema, + getFirewallConfigQueryParamsSchema, + getActiveAttackStatusQueryParamsSchema, + getBypassIpQueryParamsSchema, + addBypassIpQueryParamsSchema, + removeBypassIpQueryParamsSchema, + getTeamMembersPathParamsSchema, + getTeamMembersQueryParamsSchema, + inviteUserToTeamPathParamsSchema, + requestAccessToTeamPathParamsSchema, + getTeamAccessRequestPathParamsSchema, + joinTeamPathParamsSchema, + updateTeamMemberPathParamsSchema, + removeTeamMemberPathParamsSchema, + removeTeamMemberQueryParamsSchema, + getTeamPathParamsSchema, + getTeamQueryParamsSchema, + patchTeamPathParamsSchema, + patchTeamQueryParamsSchema, + getTeamsQueryParamsSchema, + deleteTeamPathParamsSchema, + deleteTeamQueryParamsSchema, + deleteTeamInviteCodePathParamsSchema, + uploadFileQueryParamsSchema, + uploadFileHeaderParamsSchema, + createAuthTokenQueryParamsSchema, + getAuthTokenPathParamsSchema, + deleteAuthTokenPathParamsSchema, + createWebhookQueryParamsSchema, + getWebhooksQueryParamsSchema, + getWebhookPathParamsSchema, + getWebhookQueryParamsSchema, + deleteWebhookPathParamsSchema, + deleteWebhookQueryParamsSchema, + listDeploymentAliasesPathParamsSchema, + listDeploymentAliasesQueryParamsSchema, + assignAliasPathParamsSchema, + assignAliasQueryParamsSchema, + listAliasesQueryParamsSchema, + getAliasPathParamsSchema, + getAliasQueryParamsSchema, + deleteAliasPathParamsSchema, + deleteAliasQueryParamsSchema, + patchUrlProtectionBypassPathParamsSchema, + patchUrlProtectionBypassQueryParamsSchema, + getCertByIdPathParamsSchema, + getCertByIdQueryParamsSchema, + removeCertPathParamsSchema, + removeCertQueryParamsSchema, + issueCertQueryParamsSchema, + uploadCertQueryParamsSchema, + listDeploymentFilesPathParamsSchema, + listDeploymentFilesQueryParamsSchema, + getDeploymentFileContentsPathParamsSchema, + getDeploymentFileContentsQueryParamsSchema, + getDeploymentsQueryParamsSchema, + deleteDeploymentPathParamsSchema, + deleteDeploymentQueryParamsSchema, + getSecretsQueryParamsSchema, + createSecretPathParamsSchema, + createSecretQueryParamsSchema, + renameSecretPathParamsSchema, + renameSecretQueryParamsSchema, + getSecretPathParamsSchema, + getSecretQueryParamsSchema, + deleteSecretPathParamsSchema, + deleteSecretQueryParamsSchema, +} from './schemas.ts' /** * @description Allows to read an access group @@ -1489,16 +1522,16 @@ import type { export async function readAccessGroup({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: ReadAccessGroupPathParams; - queryParams?: ReadAccessGroupQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: ReadAccessGroupPathParams + queryParams?: ReadAccessGroupQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< @@ -1508,8 +1541,8 @@ export async function readAccessGroup({ Record, ReadAccessGroupQueryParams, ReadAccessGroupPathParams - >({ method: 'GET', url: `/v1/access-groups/${idOrName}`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v1/access-groups/${idOrName}`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -1520,16 +1553,16 @@ export async function readAccessGroup({ export async function updateAccessGroup({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: UpdateAccessGroupPathParams; - queryParams?: UpdateAccessGroupQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: UpdateAccessGroupPathParams + queryParams?: UpdateAccessGroupQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< @@ -1544,9 +1577,9 @@ export async function updateAccessGroup({ url: `/v1/access-groups/${idOrName}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -1557,16 +1590,16 @@ export async function updateAccessGroup({ export async function deleteAccessGroup({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: DeleteAccessGroupPathParams; - queryParams?: DeleteAccessGroupQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: DeleteAccessGroupPathParams + queryParams?: DeleteAccessGroupQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< @@ -1576,8 +1609,8 @@ export async function deleteAccessGroup({ Record, DeleteAccessGroupQueryParams, DeleteAccessGroupPathParams - >({ method: 'DELETE', url: `/v1/access-groups/${idOrName}`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'DELETE', url: `/v1/access-groups/${idOrName}`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -1588,16 +1621,16 @@ export async function deleteAccessGroup({ export async function listAccessGroupMembers({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: ListAccessGroupMembersPathParams; - queryParams?: ListAccessGroupMembersQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: ListAccessGroupMembersPathParams + queryParams?: ListAccessGroupMembersQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< @@ -1607,8 +1640,8 @@ export async function listAccessGroupMembers({ Record, ListAccessGroupMembersQueryParams, ListAccessGroupMembersPathParams - >({ method: 'GET', url: `/v1/access-groups/${idOrName}/members`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v1/access-groups/${idOrName}/members`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -1618,12 +1651,12 @@ export async function listAccessGroupMembers({ */ export async function listAccessGroups({ queryParams, - config = {} + config = {}, }: { - queryParams?: ListAccessGroupsQueryParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: ListAccessGroupsQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< ListAccessGroupsQueryResponse, @@ -1632,8 +1665,8 @@ export async function listAccessGroups({ Record, ListAccessGroupsQueryParams, Record - >({ method: 'GET', url: `/v1/access-groups`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v1/access-groups`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -1643,12 +1676,12 @@ export async function listAccessGroups({ */ export async function createAccessGroup({ queryParams, - config = {} + config = {}, }: { - queryParams?: CreateAccessGroupQueryParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: CreateAccessGroupQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< CreateAccessGroupMutationResponse, @@ -1657,14 +1690,8 @@ export async function createAccessGroup({ Record, CreateAccessGroupQueryParams, Record - >({ - method: 'POST', - url: `/v1/access-groups`, - queryParams, - ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'POST', url: `/v1/access-groups`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -1675,16 +1702,16 @@ export async function createAccessGroup({ export async function listAccessGroupProjects({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: ListAccessGroupProjectsPathParams; - queryParams?: ListAccessGroupProjectsQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: ListAccessGroupProjectsPathParams + queryParams?: ListAccessGroupProjectsQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< @@ -1694,8 +1721,8 @@ export async function listAccessGroupProjects({ Record, ListAccessGroupProjectsQueryParams, ListAccessGroupProjectsPathParams - >({ method: 'GET', url: `/v1/access-groups/${idOrName}/projects`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v1/access-groups/${idOrName}/projects`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -1706,16 +1733,16 @@ export async function listAccessGroupProjects({ export async function createAccessGroupProject({ pathParams: { accessGroupIdOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: CreateAccessGroupProjectPathParams; - queryParams?: CreateAccessGroupProjectQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: CreateAccessGroupProjectPathParams + queryParams?: CreateAccessGroupProjectQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!accessGroupIdOrName) { - throw new Error(`Missing required path parameter: accessGroupIdOrName`); + throw new Error(`Missing required path parameter: accessGroupIdOrName`) } const data = await request< @@ -1730,9 +1757,9 @@ export async function createAccessGroupProject({ url: `/v1/access-groups/${accessGroupIdOrName}/projects`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -1743,20 +1770,20 @@ export async function createAccessGroupProject({ export async function readAccessGroupProject({ pathParams: { accessGroupIdOrName, projectId }, queryParams, - config = {} + config = {}, }: { - pathParams: ReadAccessGroupProjectPathParams; - queryParams?: ReadAccessGroupProjectQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: ReadAccessGroupProjectPathParams + queryParams?: ReadAccessGroupProjectQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!accessGroupIdOrName) { - throw new Error(`Missing required path parameter: accessGroupIdOrName`); + throw new Error(`Missing required path parameter: accessGroupIdOrName`) } if (!projectId) { - throw new Error(`Missing required path parameter: projectId`); + throw new Error(`Missing required path parameter: projectId`) } const data = await request< @@ -1766,13 +1793,8 @@ export async function readAccessGroupProject({ Record, ReadAccessGroupProjectQueryParams, ReadAccessGroupProjectPathParams - >({ - method: 'GET', - url: `/v1/access-groups/${accessGroupIdOrName}/projects/${projectId}`, - queryParams, - ...requestConfig - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v1/access-groups/${accessGroupIdOrName}/projects/${projectId}`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -1783,20 +1805,20 @@ export async function readAccessGroupProject({ export async function updateAccessGroupProject({ pathParams: { accessGroupIdOrName, projectId }, queryParams, - config = {} + config = {}, }: { - pathParams: UpdateAccessGroupProjectPathParams; - queryParams?: UpdateAccessGroupProjectQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: UpdateAccessGroupProjectPathParams + queryParams?: UpdateAccessGroupProjectQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!accessGroupIdOrName) { - throw new Error(`Missing required path parameter: accessGroupIdOrName`); + throw new Error(`Missing required path parameter: accessGroupIdOrName`) } if (!projectId) { - throw new Error(`Missing required path parameter: projectId`); + throw new Error(`Missing required path parameter: projectId`) } const data = await request< @@ -1811,9 +1833,9 @@ export async function updateAccessGroupProject({ url: `/v1/access-groups/${accessGroupIdOrName}/projects/${projectId}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -1824,20 +1846,20 @@ export async function updateAccessGroupProject({ export async function deleteAccessGroupProject({ pathParams: { accessGroupIdOrName, projectId }, queryParams, - config = {} + config = {}, }: { - pathParams: DeleteAccessGroupProjectPathParams; - queryParams?: DeleteAccessGroupProjectQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: DeleteAccessGroupProjectPathParams + queryParams?: DeleteAccessGroupProjectQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!accessGroupIdOrName) { - throw new Error(`Missing required path parameter: accessGroupIdOrName`); + throw new Error(`Missing required path parameter: accessGroupIdOrName`) } if (!projectId) { - throw new Error(`Missing required path parameter: projectId`); + throw new Error(`Missing required path parameter: projectId`) } const data = await request< @@ -1847,13 +1869,8 @@ export async function deleteAccessGroupProject({ Record, DeleteAccessGroupProjectQueryParams, DeleteAccessGroupProjectPathParams - >({ - method: 'DELETE', - url: `/v1/access-groups/${accessGroupIdOrName}/projects/${projectId}`, - queryParams, - ...requestConfig - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'DELETE', url: `/v1/access-groups/${accessGroupIdOrName}/projects/${projectId}`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -1864,13 +1881,13 @@ export async function deleteAccessGroupProject({ export async function recordEvents({ queryParams, headers, - config = {} + config = {}, }: { - queryParams?: RecordEventsQueryParams | undefined; - headers?: RecordEventsHeaderParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: RecordEventsQueryParams | undefined + headers?: RecordEventsHeaderParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< RecordEventsMutationResponse, @@ -1884,9 +1901,9 @@ export async function recordEvents({ url: `/v8/artifacts/events`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...headers, ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationJson', ...headers, ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -1896,12 +1913,12 @@ export async function recordEvents({ */ export async function status({ queryParams, - config = {} + config = {}, }: { - queryParams?: StatusQueryParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: StatusQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< StatusQueryResponse, @@ -1910,8 +1927,8 @@ export async function status({ Record, StatusQueryParams, Record - >({ method: 'GET', url: `/v8/artifacts/status`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v8/artifacts/status`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -1923,17 +1940,17 @@ export async function uploadArtifact({ pathParams: { hash }, headers, queryParams, - config = {} + config = {}, }: { - pathParams: UploadArtifactPathParams; - headers: UploadArtifactHeaderParams; - queryParams?: UploadArtifactQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: UploadArtifactPathParams + headers: UploadArtifactHeaderParams + queryParams?: UploadArtifactQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!hash) { - throw new Error(`Missing required path parameter: hash`); + throw new Error(`Missing required path parameter: hash`) } const data = await request< @@ -1948,9 +1965,9 @@ export async function uploadArtifact({ url: `/v8/artifacts/${hash}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationOctetStream', ...headers, ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationOctetStream', ...headers, ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -1962,36 +1979,28 @@ export async function downloadArtifact({ pathParams: { hash }, queryParams, headers, - config = {} + config = {}, }: { - pathParams: DownloadArtifactPathParams; - queryParams?: DownloadArtifactQueryParams | undefined; - headers?: DownloadArtifactHeaderParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: DownloadArtifactPathParams + queryParams?: DownloadArtifactQueryParams | undefined + headers?: DownloadArtifactHeaderParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!hash) { - throw new Error(`Missing required path parameter: hash`); + throw new Error(`Missing required path parameter: hash`) } const data = await request< DownloadArtifactQueryResponse, - ErrorWrapper< - DownloadArtifact400 | DownloadArtifact401 | DownloadArtifact402 | DownloadArtifact403 | DownloadArtifact404 - >, + ErrorWrapper, null, DownloadArtifactHeaderParams, DownloadArtifactQueryParams, DownloadArtifactPathParams - >({ - method: 'GET', - url: `/v8/artifacts/${hash}`, - queryParams, - ...requestConfig, - headers: { ...headers, ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v8/artifacts/${hash}`, queryParams, ...requestConfig, headers: { ...headers, ...requestConfig.headers } }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -2001,12 +2010,12 @@ export async function downloadArtifact({ */ export async function artifactQuery({ queryParams, - config = {} + config = {}, }: { - queryParams?: ArtifactQueryQueryParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: ArtifactQueryQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< ArtifactQueryMutationResponse, @@ -2015,14 +2024,8 @@ export async function artifactQuery({ Record, ArtifactQueryQueryParams, Record - >({ - method: 'POST', - url: `/v8/artifacts`, - queryParams, - ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'POST', url: `/v8/artifacts`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -2033,16 +2036,16 @@ export async function artifactQuery({ export async function createCheck({ pathParams: { deploymentId }, queryParams, - config = {} + config = {}, }: { - pathParams: CreateCheckPathParams; - queryParams?: CreateCheckQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: CreateCheckPathParams + queryParams?: CreateCheckQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!deploymentId) { - throw new Error(`Missing required path parameter: deploymentId`); + throw new Error(`Missing required path parameter: deploymentId`) } const data = await request< @@ -2057,9 +2060,9 @@ export async function createCheck({ url: `/v1/deployments/${deploymentId}/checks`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -2070,16 +2073,16 @@ export async function createCheck({ export async function getAllChecks({ pathParams: { deploymentId }, queryParams, - config = {} + config = {}, }: { - pathParams: GetAllChecksPathParams; - queryParams?: GetAllChecksQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetAllChecksPathParams + queryParams?: GetAllChecksQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!deploymentId) { - throw new Error(`Missing required path parameter: deploymentId`); + throw new Error(`Missing required path parameter: deploymentId`) } const data = await request< @@ -2089,8 +2092,8 @@ export async function getAllChecks({ Record, GetAllChecksQueryParams, GetAllChecksPathParams - >({ method: 'GET', url: `/v1/deployments/${deploymentId}/checks`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v1/deployments/${deploymentId}/checks`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -2101,20 +2104,20 @@ export async function getAllChecks({ export async function getCheck({ pathParams: { deploymentId, checkId }, queryParams, - config = {} + config = {}, }: { - pathParams: GetCheckPathParams; - queryParams?: GetCheckQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetCheckPathParams + queryParams?: GetCheckQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!deploymentId) { - throw new Error(`Missing required path parameter: deploymentId`); + throw new Error(`Missing required path parameter: deploymentId`) } if (!checkId) { - throw new Error(`Missing required path parameter: checkId`); + throw new Error(`Missing required path parameter: checkId`) } const data = await request< @@ -2124,8 +2127,8 @@ export async function getCheck({ Record, GetCheckQueryParams, GetCheckPathParams - >({ method: 'GET', url: `/v1/deployments/${deploymentId}/checks/${checkId}`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v1/deployments/${deploymentId}/checks/${checkId}`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -2136,20 +2139,20 @@ export async function getCheck({ export async function updateCheck({ pathParams: { deploymentId, checkId }, queryParams, - config = {} + config = {}, }: { - pathParams: UpdateCheckPathParams; - queryParams?: UpdateCheckQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: UpdateCheckPathParams + queryParams?: UpdateCheckQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!deploymentId) { - throw new Error(`Missing required path parameter: deploymentId`); + throw new Error(`Missing required path parameter: deploymentId`) } if (!checkId) { - throw new Error(`Missing required path parameter: checkId`); + throw new Error(`Missing required path parameter: checkId`) } const data = await request< @@ -2164,9 +2167,9 @@ export async function updateCheck({ url: `/v1/deployments/${deploymentId}/checks/${checkId}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -2177,20 +2180,20 @@ export async function updateCheck({ export async function rerequestCheck({ pathParams: { deploymentId, checkId }, queryParams, - config = {} + config = {}, }: { - pathParams: RerequestCheckPathParams; - queryParams?: RerequestCheckQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: RerequestCheckPathParams + queryParams?: RerequestCheckQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!deploymentId) { - throw new Error(`Missing required path parameter: deploymentId`); + throw new Error(`Missing required path parameter: deploymentId`) } if (!checkId) { - throw new Error(`Missing required path parameter: checkId`); + throw new Error(`Missing required path parameter: checkId`) } const data = await request< @@ -2200,13 +2203,8 @@ export async function rerequestCheck({ Record, RerequestCheckQueryParams, RerequestCheckPathParams - >({ - method: 'POST', - url: `/v1/deployments/${deploymentId}/checks/${checkId}/rerequest`, - queryParams, - ...requestConfig - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'POST', url: `/v1/deployments/${deploymentId}/checks/${checkId}/rerequest`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -2214,12 +2212,12 @@ export async function rerequestCheck({ */ export async function purgeAllDataCache({ queryParams, - config = {} + config = {}, }: { - queryParams: PurgeAllDataCacheQueryParams; - config?: Partial & { client?: typeof client }; + queryParams: PurgeAllDataCacheQueryParams + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< PurgeAllDataCacheMutationResponse, @@ -2228,39 +2226,29 @@ export async function purgeAllDataCache({ Record, PurgeAllDataCacheQueryParams, Record - >({ method: 'DELETE', url: `/data-cache/purge-all`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'DELETE', url: `/data-cache/purge-all`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** * {@link /data-cache/billing-settings} */ export async function updateDataCacheBillingSettings({ - config = {} + config = {}, }: { - config?: Partial & { client?: typeof client }; + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< UpdateDataCacheBillingSettingsMutationResponse, - ErrorWrapper< - | UpdateDataCacheBillingSettings400 - | UpdateDataCacheBillingSettings401 - | UpdateDataCacheBillingSettings403 - | UpdateDataCacheBillingSettings404 - >, + ErrorWrapper, null, Record, Record, Record - >({ - method: 'PATCH', - url: `/data-cache/billing-settings`, - ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'PATCH', url: `/data-cache/billing-settings`, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -2271,23 +2259,21 @@ export async function updateDataCacheBillingSettings({ export async function updateProjectDataCache({ pathParams: { projectId }, queryParams, - config = {} + config = {}, }: { - pathParams: UpdateProjectDataCachePathParams; - queryParams?: UpdateProjectDataCacheQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: UpdateProjectDataCachePathParams + queryParams?: UpdateProjectDataCacheQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!projectId) { - throw new Error(`Missing required path parameter: projectId`); + throw new Error(`Missing required path parameter: projectId`) } const data = await request< UpdateProjectDataCacheMutationResponse, - ErrorWrapper< - UpdateProjectDataCache400 | UpdateProjectDataCache401 | UpdateProjectDataCache403 | UpdateProjectDataCache404 - >, + ErrorWrapper, null, Record, UpdateProjectDataCacheQueryParams, @@ -2297,9 +2283,9 @@ export async function updateProjectDataCache({ url: `/v1/data-cache/projects/${projectId}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -2310,16 +2296,16 @@ export async function updateProjectDataCache({ export async function getDeploymentEvents({ pathParams: { idOrUrl }, queryParams, - config = {} + config = {}, }: { - pathParams: GetDeploymentEventsPathParams; - queryParams?: GetDeploymentEventsQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetDeploymentEventsPathParams + queryParams?: GetDeploymentEventsQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrUrl) { - throw new Error(`Missing required path parameter: idOrUrl`); + throw new Error(`Missing required path parameter: idOrUrl`) } const data = await request< @@ -2329,8 +2315,8 @@ export async function getDeploymentEvents({ Record, GetDeploymentEventsQueryParams, GetDeploymentEventsPathParams - >({ method: 'GET', url: `/v3/deployments/${idOrUrl}/events`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v3/deployments/${idOrUrl}/events`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -2340,34 +2326,32 @@ export async function getDeploymentEvents({ */ export async function updateIntegrationDeploymentAction({ pathParams: { deploymentId, integrationConfigurationId, resourceId, action }, - config = {} + config = {}, }: { - pathParams: UpdateIntegrationDeploymentActionPathParams; - config?: Partial & { client?: typeof client }; + pathParams: UpdateIntegrationDeploymentActionPathParams + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!deploymentId) { - throw new Error(`Missing required path parameter: deploymentId`); + throw new Error(`Missing required path parameter: deploymentId`) } if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`); + throw new Error(`Missing required path parameter: integrationConfigurationId`) } if (!resourceId) { - throw new Error(`Missing required path parameter: resourceId`); + throw new Error(`Missing required path parameter: resourceId`) } if (!action) { - throw new Error(`Missing required path parameter: action`); + throw new Error(`Missing required path parameter: action`) } const data = await request< UpdateIntegrationDeploymentActionMutationResponse, - ErrorWrapper< - UpdateIntegrationDeploymentAction400 | UpdateIntegrationDeploymentAction401 | UpdateIntegrationDeploymentAction403 - >, + ErrorWrapper, null, Record, Record, @@ -2376,9 +2360,9 @@ export async function updateIntegrationDeploymentAction({ method: 'PATCH', url: `/v1/deployments/${deploymentId}/integrations/${integrationConfigurationId}/resources/${resourceId}/actions/${action}`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -2389,16 +2373,16 @@ export async function updateIntegrationDeploymentAction({ export async function getDeployment({ pathParams: { idOrUrl }, queryParams, - config = {} + config = {}, }: { - pathParams: GetDeploymentPathParams; - queryParams?: GetDeploymentQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetDeploymentPathParams + queryParams?: GetDeploymentQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrUrl) { - throw new Error(`Missing required path parameter: idOrUrl`); + throw new Error(`Missing required path parameter: idOrUrl`) } const data = await request< @@ -2408,8 +2392,8 @@ export async function getDeployment({ Record, GetDeploymentQueryParams, GetDeploymentPathParams - >({ method: 'GET', url: `/v13/deployments/${idOrUrl}`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v13/deployments/${idOrUrl}`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -2419,36 +2403,24 @@ export async function getDeployment({ */ export async function createDeployment({ queryParams, - config = {} + config = {}, }: { - queryParams?: CreateDeploymentQueryParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: CreateDeploymentQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< CreateDeploymentMutationResponse, ErrorWrapper< - | CreateDeployment400 - | CreateDeployment401 - | CreateDeployment402 - | CreateDeployment403 - | CreateDeployment404 - | CreateDeployment409 - | CreateDeployment500 + CreateDeployment400 | CreateDeployment401 | CreateDeployment402 | CreateDeployment403 | CreateDeployment404 | CreateDeployment409 | CreateDeployment500 >, null, Record, CreateDeploymentQueryParams, Record - >({ - method: 'POST', - url: `/v13/deployments`, - queryParams, - ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'POST', url: `/v13/deployments`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -2459,16 +2431,16 @@ export async function createDeployment({ export async function cancelDeployment({ pathParams: { id }, queryParams, - config = {} + config = {}, }: { - pathParams: CancelDeploymentPathParams; - queryParams?: CancelDeploymentQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: CancelDeploymentPathParams + queryParams?: CancelDeploymentQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!id) { - throw new Error(`Missing required path parameter: id`); + throw new Error(`Missing required path parameter: id`) } const data = await request< @@ -2478,8 +2450,8 @@ export async function cancelDeployment({ Record, CancelDeploymentQueryParams, CancelDeploymentPathParams - >({ method: 'PATCH', url: `/v12/deployments/${id}/cancel`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'PATCH', url: `/v12/deployments/${id}/cancel`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -2489,28 +2461,22 @@ export async function cancelDeployment({ */ export async function buyDomain({ queryParams, - config = {} + config = {}, }: { - queryParams?: BuyDomainQueryParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: BuyDomainQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< BuyDomainMutationResponse, - ErrorWrapper, + ErrorWrapper, null, Record, BuyDomainQueryParams, Record - >({ - method: 'POST', - url: `/v5/domains/buy`, - queryParams, - ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'POST', url: `/v5/domains/buy`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -2520,22 +2486,22 @@ export async function buyDomain({ */ export async function checkDomainPrice({ queryParams, - config = {} + config = {}, }: { - queryParams: CheckDomainPriceQueryParams; - config?: Partial & { client?: typeof client }; + queryParams: CheckDomainPriceQueryParams + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< CheckDomainPriceQueryResponse, - ErrorWrapper, + ErrorWrapper, null, Record, CheckDomainPriceQueryParams, Record - >({ method: 'GET', url: `/v4/domains/price`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v4/domains/price`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -2545,24 +2511,22 @@ export async function checkDomainPrice({ */ export async function checkDomainStatus({ queryParams, - config = {} + config = {}, }: { - queryParams: CheckDomainStatusQueryParams; - config?: Partial & { client?: typeof client }; + queryParams: CheckDomainStatusQueryParams + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< CheckDomainStatusQueryResponse, - ErrorWrapper< - CheckDomainStatus400 | CheckDomainStatus401 | CheckDomainStatus403 | CheckDomainStatus408 | CheckDomainStatus500 - >, + ErrorWrapper, null, Record, CheckDomainStatusQueryParams, Record - >({ method: 'GET', url: `/v4/domains/status`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v4/domains/status`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -2573,16 +2537,16 @@ export async function checkDomainStatus({ export async function getRecords({ pathParams: { domain }, queryParams, - config = {} + config = {}, }: { - pathParams: GetRecordsPathParams; - queryParams?: GetRecordsQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetRecordsPathParams + queryParams?: GetRecordsQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!domain) { - throw new Error(`Missing required path parameter: domain`); + throw new Error(`Missing required path parameter: domain`) } const data = await request< @@ -2592,8 +2556,8 @@ export async function getRecords({ Record, GetRecordsQueryParams, GetRecordsPathParams - >({ method: 'GET', url: `/v4/domains/${domain}/records`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v4/domains/${domain}/records`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -2604,23 +2568,21 @@ export async function getRecords({ export async function createRecord({ pathParams: { domain }, queryParams, - config = {} + config = {}, }: { - pathParams: CreateRecordPathParams; - queryParams?: CreateRecordQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: CreateRecordPathParams + queryParams?: CreateRecordQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!domain) { - throw new Error(`Missing required path parameter: domain`); + throw new Error(`Missing required path parameter: domain`) } const data = await request< CreateRecordMutationResponse, - ErrorWrapper< - CreateRecord400 | CreateRecord401 | CreateRecord402 | CreateRecord403 | CreateRecord404 | CreateRecord409 - >, + ErrorWrapper, null, Record, CreateRecordQueryParams, @@ -2630,9 +2592,9 @@ export async function createRecord({ url: `/v2/domains/${domain}/records`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -2643,23 +2605,21 @@ export async function createRecord({ export async function updateRecord({ pathParams: { recordId }, queryParams, - config = {} + config = {}, }: { - pathParams: UpdateRecordPathParams; - queryParams?: UpdateRecordQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: UpdateRecordPathParams + queryParams?: UpdateRecordQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!recordId) { - throw new Error(`Missing required path parameter: recordId`); + throw new Error(`Missing required path parameter: recordId`) } const data = await request< UpdateRecordMutationResponse, - ErrorWrapper< - UpdateRecord400 | UpdateRecord401 | UpdateRecord402 | UpdateRecord403 | UpdateRecord404 | UpdateRecord409 - >, + ErrorWrapper, null, Record, UpdateRecordQueryParams, @@ -2669,9 +2629,9 @@ export async function updateRecord({ url: `/v1/domains/records/${recordId}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -2682,20 +2642,20 @@ export async function updateRecord({ export async function removeRecord({ pathParams: { domain, recordId }, queryParams, - config = {} + config = {}, }: { - pathParams: RemoveRecordPathParams; - queryParams?: RemoveRecordQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: RemoveRecordPathParams + queryParams?: RemoveRecordQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!domain) { - throw new Error(`Missing required path parameter: domain`); + throw new Error(`Missing required path parameter: domain`) } if (!recordId) { - throw new Error(`Missing required path parameter: recordId`); + throw new Error(`Missing required path parameter: recordId`) } const data = await request< @@ -2705,8 +2665,8 @@ export async function removeRecord({ Record, RemoveRecordQueryParams, RemoveRecordPathParams - >({ method: 'DELETE', url: `/v2/domains/${domain}/records/${recordId}`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'DELETE', url: `/v2/domains/${domain}/records/${recordId}`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -2717,16 +2677,16 @@ export async function removeRecord({ export async function getDomainTransfer({ pathParams: { domain }, queryParams, - config = {} + config = {}, }: { - pathParams: GetDomainTransferPathParams; - queryParams?: GetDomainTransferQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetDomainTransferPathParams + queryParams?: GetDomainTransferQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!domain) { - throw new Error(`Missing required path parameter: domain`); + throw new Error(`Missing required path parameter: domain`) } const data = await request< @@ -2736,8 +2696,8 @@ export async function getDomainTransfer({ Record, GetDomainTransferQueryParams, GetDomainTransferPathParams - >({ method: 'GET', url: `/v1/domains/${domain}/registry`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v1/domains/${domain}/registry`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -2748,27 +2708,27 @@ export async function getDomainTransfer({ export async function getDomainConfig({ pathParams: { domain }, queryParams, - config = {} + config = {}, }: { - pathParams: GetDomainConfigPathParams; - queryParams?: GetDomainConfigQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetDomainConfigPathParams + queryParams?: GetDomainConfigQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!domain) { - throw new Error(`Missing required path parameter: domain`); + throw new Error(`Missing required path parameter: domain`) } const data = await request< GetDomainConfigQueryResponse, - ErrorWrapper, + ErrorWrapper, null, Record, GetDomainConfigQueryParams, GetDomainConfigPathParams - >({ method: 'GET', url: `/v6/domains/${domain}/config`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v6/domains/${domain}/config`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -2779,16 +2739,16 @@ export async function getDomainConfig({ export async function getDomain({ pathParams: { domain }, queryParams, - config = {} + config = {}, }: { - pathParams: GetDomainPathParams; - queryParams?: GetDomainQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetDomainPathParams + queryParams?: GetDomainQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!domain) { - throw new Error(`Missing required path parameter: domain`); + throw new Error(`Missing required path parameter: domain`) } const data = await request< @@ -2798,8 +2758,8 @@ export async function getDomain({ Record, GetDomainQueryParams, GetDomainPathParams - >({ method: 'GET', url: `/v5/domains/${domain}`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v5/domains/${domain}`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -2809,12 +2769,12 @@ export async function getDomain({ */ export async function getDomains({ queryParams, - config = {} + config = {}, }: { - queryParams?: GetDomainsQueryParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: GetDomainsQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< GetDomainsQueryResponse, @@ -2823,8 +2783,8 @@ export async function getDomains({ Record, GetDomainsQueryParams, Record - >({ method: 'GET', url: `/v5/domains`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v5/domains`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -2834,12 +2794,12 @@ export async function getDomains({ */ export async function createOrTransferDomain({ queryParams, - config = {} + config = {}, }: { - queryParams?: CreateOrTransferDomainQueryParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: CreateOrTransferDomainQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< CreateOrTransferDomainMutationResponse, @@ -2856,14 +2816,8 @@ export async function createOrTransferDomain({ Record, CreateOrTransferDomainQueryParams, Record - >({ - method: 'POST', - url: `/v7/domains`, - queryParams, - ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'POST', url: `/v7/domains`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -2874,33 +2828,27 @@ export async function createOrTransferDomain({ export async function patchDomain({ pathParams: { domain }, queryParams, - config = {} + config = {}, }: { - pathParams: PatchDomainPathParams; - queryParams?: PatchDomainQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: PatchDomainPathParams + queryParams?: PatchDomainQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!domain) { - throw new Error(`Missing required path parameter: domain`); + throw new Error(`Missing required path parameter: domain`) } const data = await request< PatchDomainMutationResponse, - ErrorWrapper, + ErrorWrapper, null, Record, PatchDomainQueryParams, PatchDomainPathParams - >({ - method: 'PATCH', - url: `/v3/domains/${domain}`, - queryParams, - ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'PATCH', url: `/v3/domains/${domain}`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -2911,16 +2859,16 @@ export async function patchDomain({ export async function deleteDomain({ pathParams: { domain }, queryParams, - config = {} + config = {}, }: { - pathParams: DeleteDomainPathParams; - queryParams?: DeleteDomainQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: DeleteDomainPathParams + queryParams?: DeleteDomainQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!domain) { - throw new Error(`Missing required path parameter: domain`); + throw new Error(`Missing required path parameter: domain`) } const data = await request< @@ -2930,8 +2878,8 @@ export async function deleteDomain({ Record, DeleteDomainQueryParams, DeleteDomainPathParams - >({ method: 'DELETE', url: `/v6/domains/${domain}`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'DELETE', url: `/v6/domains/${domain}`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -2941,12 +2889,12 @@ export async function deleteDomain({ */ export async function getEdgeConfigs({ queryParams, - config = {} + config = {}, }: { - queryParams?: GetEdgeConfigsQueryParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: GetEdgeConfigsQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< GetEdgeConfigsQueryResponse, @@ -2955,8 +2903,8 @@ export async function getEdgeConfigs({ Record, GetEdgeConfigsQueryParams, Record - >({ method: 'GET', url: `/v1/edge-config`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v1/edge-config`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -2966,12 +2914,12 @@ export async function getEdgeConfigs({ */ export async function createEdgeConfig({ queryParams, - config = {} + config = {}, }: { - queryParams?: CreateEdgeConfigQueryParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: CreateEdgeConfigQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< CreateEdgeConfigMutationResponse, @@ -2980,14 +2928,8 @@ export async function createEdgeConfig({ Record, CreateEdgeConfigQueryParams, Record - >({ - method: 'POST', - url: `/v1/edge-config`, - queryParams, - ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'POST', url: `/v1/edge-config`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -2998,16 +2940,16 @@ export async function createEdgeConfig({ export async function getEdgeConfig({ pathParams: { edgeConfigId }, queryParams, - config = {} + config = {}, }: { - pathParams: GetEdgeConfigPathParams; - queryParams?: GetEdgeConfigQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetEdgeConfigPathParams + queryParams?: GetEdgeConfigQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`); + throw new Error(`Missing required path parameter: edgeConfigId`) } const data = await request< @@ -3017,8 +2959,8 @@ export async function getEdgeConfig({ Record, GetEdgeConfigQueryParams, GetEdgeConfigPathParams - >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -3029,23 +2971,21 @@ export async function getEdgeConfig({ export async function updateEdgeConfig({ pathParams: { edgeConfigId }, queryParams, - config = {} + config = {}, }: { - pathParams: UpdateEdgeConfigPathParams; - queryParams?: UpdateEdgeConfigQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: UpdateEdgeConfigPathParams + queryParams?: UpdateEdgeConfigQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`); + throw new Error(`Missing required path parameter: edgeConfigId`) } const data = await request< UpdateEdgeConfigMutationResponse, - ErrorWrapper< - UpdateEdgeConfig400 | UpdateEdgeConfig401 | UpdateEdgeConfig402 | UpdateEdgeConfig403 | UpdateEdgeConfig404 - >, + ErrorWrapper, null, Record, UpdateEdgeConfigQueryParams, @@ -3055,9 +2995,9 @@ export async function updateEdgeConfig({ url: `/v1/edge-config/${edgeConfigId}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -3068,16 +3008,16 @@ export async function updateEdgeConfig({ export async function deleteEdgeConfig({ pathParams: { edgeConfigId }, queryParams, - config = {} + config = {}, }: { - pathParams: DeleteEdgeConfigPathParams; - queryParams?: DeleteEdgeConfigQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: DeleteEdgeConfigPathParams + queryParams?: DeleteEdgeConfigQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`); + throw new Error(`Missing required path parameter: edgeConfigId`) } const data = await request< @@ -3087,8 +3027,8 @@ export async function deleteEdgeConfig({ Record, DeleteEdgeConfigQueryParams, DeleteEdgeConfigPathParams - >({ method: 'DELETE', url: `/v1/edge-config/${edgeConfigId}`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'DELETE', url: `/v1/edge-config/${edgeConfigId}`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -3099,16 +3039,16 @@ export async function deleteEdgeConfig({ export async function getEdgeConfigItems({ pathParams: { edgeConfigId }, queryParams, - config = {} + config = {}, }: { - pathParams: GetEdgeConfigItemsPathParams; - queryParams?: GetEdgeConfigItemsQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetEdgeConfigItemsPathParams + queryParams?: GetEdgeConfigItemsQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`); + throw new Error(`Missing required path parameter: edgeConfigId`) } const data = await request< @@ -3118,8 +3058,8 @@ export async function getEdgeConfigItems({ Record, GetEdgeConfigItemsQueryParams, GetEdgeConfigItemsPathParams - >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/items`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/items`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -3130,16 +3070,16 @@ export async function getEdgeConfigItems({ export async function patchEdgeConfigItems({ pathParams: { edgeConfigId }, queryParams, - config = {} + config = {}, }: { - pathParams: PatchEdgeConfigItemsPathParams; - queryParams?: PatchEdgeConfigItemsQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: PatchEdgeConfigItemsPathParams + queryParams?: PatchEdgeConfigItemsQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`); + throw new Error(`Missing required path parameter: edgeConfigId`) } const data = await request< @@ -3151,6 +3091,7 @@ export async function patchEdgeConfigItems({ | PatchEdgeConfigItems403 | PatchEdgeConfigItems404 | PatchEdgeConfigItems409 + | PatchEdgeConfigItems412 >, null, Record, @@ -3161,9 +3102,9 @@ export async function patchEdgeConfigItems({ url: `/v1/edge-config/${edgeConfigId}/items`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -3174,16 +3115,16 @@ export async function patchEdgeConfigItems({ export async function getEdgeConfigSchema({ pathParams: { edgeConfigId }, queryParams, - config = {} + config = {}, }: { - pathParams: GetEdgeConfigSchemaPathParams; - queryParams?: GetEdgeConfigSchemaQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetEdgeConfigSchemaPathParams + queryParams?: GetEdgeConfigSchemaQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`); + throw new Error(`Missing required path parameter: edgeConfigId`) } const data = await request< @@ -3193,8 +3134,8 @@ export async function getEdgeConfigSchema({ Record, GetEdgeConfigSchemaQueryParams, GetEdgeConfigSchemaPathParams - >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/schema`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/schema`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -3205,27 +3146,21 @@ export async function getEdgeConfigSchema({ export async function patchEdgeConfigSchema({ pathParams: { edgeConfigId }, queryParams, - config = {} + config = {}, }: { - pathParams: PatchEdgeConfigSchemaPathParams; - queryParams?: PatchEdgeConfigSchemaQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: PatchEdgeConfigSchemaPathParams + queryParams?: PatchEdgeConfigSchemaQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`); + throw new Error(`Missing required path parameter: edgeConfigId`) } const data = await request< PatchEdgeConfigSchemaMutationResponse, - ErrorWrapper< - | PatchEdgeConfigSchema400 - | PatchEdgeConfigSchema401 - | PatchEdgeConfigSchema402 - | PatchEdgeConfigSchema403 - | PatchEdgeConfigSchema404 - >, + ErrorWrapper, null, Record, PatchEdgeConfigSchemaQueryParams, @@ -3235,9 +3170,9 @@ export async function patchEdgeConfigSchema({ url: `/v1/edge-config/${edgeConfigId}/schema`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -3248,33 +3183,27 @@ export async function patchEdgeConfigSchema({ export async function deleteEdgeConfigSchema({ pathParams: { edgeConfigId }, queryParams, - config = {} + config = {}, }: { - pathParams: DeleteEdgeConfigSchemaPathParams; - queryParams?: DeleteEdgeConfigSchemaQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: DeleteEdgeConfigSchemaPathParams + queryParams?: DeleteEdgeConfigSchemaQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`); + throw new Error(`Missing required path parameter: edgeConfigId`) } const data = await request< DeleteEdgeConfigSchemaMutationResponse, - ErrorWrapper< - | DeleteEdgeConfigSchema400 - | DeleteEdgeConfigSchema401 - | DeleteEdgeConfigSchema402 - | DeleteEdgeConfigSchema403 - | DeleteEdgeConfigSchema404 - >, + ErrorWrapper, null, Record, DeleteEdgeConfigSchemaQueryParams, DeleteEdgeConfigSchemaPathParams - >({ method: 'DELETE', url: `/v1/edge-config/${edgeConfigId}/schema`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'DELETE', url: `/v1/edge-config/${edgeConfigId}/schema`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -3285,20 +3214,20 @@ export async function deleteEdgeConfigSchema({ export async function getEdgeConfigItem({ pathParams: { edgeConfigId, edgeConfigItemKey }, queryParams, - config = {} + config = {}, }: { - pathParams: GetEdgeConfigItemPathParams; - queryParams?: GetEdgeConfigItemQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetEdgeConfigItemPathParams + queryParams?: GetEdgeConfigItemQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`); + throw new Error(`Missing required path parameter: edgeConfigId`) } if (!edgeConfigItemKey) { - throw new Error(`Missing required path parameter: edgeConfigItemKey`); + throw new Error(`Missing required path parameter: edgeConfigItemKey`) } const data = await request< @@ -3308,8 +3237,8 @@ export async function getEdgeConfigItem({ Record, GetEdgeConfigItemQueryParams, GetEdgeConfigItemPathParams - >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/item/${edgeConfigItemKey}`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/item/${edgeConfigItemKey}`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -3320,16 +3249,16 @@ export async function getEdgeConfigItem({ export async function getEdgeConfigTokens({ pathParams: { edgeConfigId }, queryParams, - config = {} + config = {}, }: { - pathParams: GetEdgeConfigTokensPathParams; - queryParams?: GetEdgeConfigTokensQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetEdgeConfigTokensPathParams + queryParams?: GetEdgeConfigTokensQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`); + throw new Error(`Missing required path parameter: edgeConfigId`) } const data = await request< @@ -3339,8 +3268,8 @@ export async function getEdgeConfigTokens({ Record, GetEdgeConfigTokensQueryParams, GetEdgeConfigTokensPathParams - >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/tokens`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/tokens`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -3351,27 +3280,21 @@ export async function getEdgeConfigTokens({ export async function deleteEdgeConfigTokens({ pathParams: { edgeConfigId }, queryParams, - config = {} + config = {}, }: { - pathParams: DeleteEdgeConfigTokensPathParams; - queryParams?: DeleteEdgeConfigTokensQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: DeleteEdgeConfigTokensPathParams + queryParams?: DeleteEdgeConfigTokensQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`); + throw new Error(`Missing required path parameter: edgeConfigId`) } const data = await request< DeleteEdgeConfigTokensMutationResponse, - ErrorWrapper< - | DeleteEdgeConfigTokens400 - | DeleteEdgeConfigTokens401 - | DeleteEdgeConfigTokens402 - | DeleteEdgeConfigTokens403 - | DeleteEdgeConfigTokens404 - >, + ErrorWrapper, null, Record, DeleteEdgeConfigTokensQueryParams, @@ -3381,9 +3304,9 @@ export async function deleteEdgeConfigTokens({ url: `/v1/edge-config/${edgeConfigId}/tokens`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -3394,20 +3317,20 @@ export async function deleteEdgeConfigTokens({ export async function getEdgeConfigToken({ pathParams: { edgeConfigId, token }, queryParams, - config = {} + config = {}, }: { - pathParams: GetEdgeConfigTokenPathParams; - queryParams?: GetEdgeConfigTokenQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetEdgeConfigTokenPathParams + queryParams?: GetEdgeConfigTokenQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`); + throw new Error(`Missing required path parameter: edgeConfigId`) } if (!token) { - throw new Error(`Missing required path parameter: token`); + throw new Error(`Missing required path parameter: token`) } const data = await request< @@ -3417,8 +3340,8 @@ export async function getEdgeConfigToken({ Record, GetEdgeConfigTokenQueryParams, GetEdgeConfigTokenPathParams - >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/token/${token}`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/token/${token}`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -3429,27 +3352,21 @@ export async function getEdgeConfigToken({ export async function createEdgeConfigToken({ pathParams: { edgeConfigId }, queryParams, - config = {} + config = {}, }: { - pathParams: CreateEdgeConfigTokenPathParams; - queryParams?: CreateEdgeConfigTokenQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: CreateEdgeConfigTokenPathParams + queryParams?: CreateEdgeConfigTokenQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`); + throw new Error(`Missing required path parameter: edgeConfigId`) } const data = await request< CreateEdgeConfigTokenMutationResponse, - ErrorWrapper< - | CreateEdgeConfigToken400 - | CreateEdgeConfigToken401 - | CreateEdgeConfigToken402 - | CreateEdgeConfigToken403 - | CreateEdgeConfigToken404 - >, + ErrorWrapper, null, Record, CreateEdgeConfigTokenQueryParams, @@ -3459,9 +3376,9 @@ export async function createEdgeConfigToken({ url: `/v1/edge-config/${edgeConfigId}/token`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -3472,20 +3389,20 @@ export async function createEdgeConfigToken({ export async function getEdgeConfigBackup({ pathParams: { edgeConfigId, edgeConfigBackupVersionId }, queryParams, - config = {} + config = {}, }: { - pathParams: GetEdgeConfigBackupPathParams; - queryParams?: GetEdgeConfigBackupQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetEdgeConfigBackupPathParams + queryParams?: GetEdgeConfigBackupQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`); + throw new Error(`Missing required path parameter: edgeConfigId`) } if (!edgeConfigBackupVersionId) { - throw new Error(`Missing required path parameter: edgeConfigBackupVersionId`); + throw new Error(`Missing required path parameter: edgeConfigBackupVersionId`) } const data = await request< @@ -3495,13 +3412,8 @@ export async function getEdgeConfigBackup({ Record, GetEdgeConfigBackupQueryParams, GetEdgeConfigBackupPathParams - >({ - method: 'GET', - url: `/v1/edge-config/${edgeConfigId}/backups/${edgeConfigBackupVersionId}`, - queryParams, - ...requestConfig - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/backups/${edgeConfigBackupVersionId}`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -3512,16 +3424,16 @@ export async function getEdgeConfigBackup({ export async function getEdgeConfigBackups({ pathParams: { edgeConfigId }, queryParams, - config = {} + config = {}, }: { - pathParams: GetEdgeConfigBackupsPathParams; - queryParams?: GetEdgeConfigBackupsQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetEdgeConfigBackupsPathParams + queryParams?: GetEdgeConfigBackupsQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`); + throw new Error(`Missing required path parameter: edgeConfigId`) } const data = await request< @@ -3531,8 +3443,8 @@ export async function getEdgeConfigBackups({ Record, GetEdgeConfigBackupsQueryParams, GetEdgeConfigBackupsPathParams - >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/backups`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/backups`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -3542,12 +3454,12 @@ export async function getEdgeConfigBackups({ */ export async function listUserEvents({ queryParams, - config = {} + config = {}, }: { - queryParams?: ListUserEventsQueryParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: ListUserEventsQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< ListUserEventsQueryResponse, @@ -3556,8 +3468,46 @@ export async function listUserEvents({ Record, ListUserEventsQueryParams, Record - >({ method: 'GET', url: `/v3/events`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v3/events`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } +} + +/** + * {@link /v1/integrations/integration/:integrationIdOrSlug/products/:productIdOrSlug/plans} + */ +export async function gETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans({ + pathParams: { integrationIdOrSlug, productIdOrSlug }, + queryParams, + config = {}, +}: { + pathParams: GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansPathParams + queryParams?: GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansQueryParams | undefined + config?: Partial & { client?: typeof client } +}): Promise> { + const { client: request = client, ...requestConfig } = config + + if (!integrationIdOrSlug) { + throw new Error(`Missing required path parameter: integrationIdOrSlug`) + } + + if (!productIdOrSlug) { + throw new Error(`Missing required path parameter: productIdOrSlug`) + } + + const data = await request< + GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansQueryResponse, + ErrorWrapper< + | GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans400 + | GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans401 + | GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans403 + | GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans404 + >, + null, + Record, + GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansQueryParams, + GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansPathParams + >({ method: 'GET', url: `/v1/integrations/integration/${integrationIdOrSlug}/products/${productIdOrSlug}/plans`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -3567,15 +3517,15 @@ export async function listUserEvents({ */ export async function getAccountInfo({ pathParams: { integrationConfigurationId }, - config = {} + config = {}, }: { - pathParams: GetAccountInfoPathParams; - config?: Partial & { client?: typeof client }; + pathParams: GetAccountInfoPathParams + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`); + throw new Error(`Missing required path parameter: integrationConfigurationId`) } const data = await request< @@ -3585,8 +3535,8 @@ export async function getAccountInfo({ Record, Record, GetAccountInfoPathParams - >({ method: 'GET', url: `/v1/installations/${integrationConfigurationId}/account`, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v1/installations/${integrationConfigurationId}/account`, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -3596,19 +3546,19 @@ export async function getAccountInfo({ */ export async function getMember({ pathParams: { integrationConfigurationId, memberId }, - config = {} + config = {}, }: { - pathParams: GetMemberPathParams; - config?: Partial & { client?: typeof client }; + pathParams: GetMemberPathParams + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`); + throw new Error(`Missing required path parameter: integrationConfigurationId`) } if (!memberId) { - throw new Error(`Missing required path parameter: memberId`); + throw new Error(`Missing required path parameter: memberId`) } const data = await request< @@ -3618,8 +3568,8 @@ export async function getMember({ Record, Record, GetMemberPathParams - >({ method: 'GET', url: `/v1/installations/${integrationConfigurationId}/member/${memberId}`, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v1/installations/${integrationConfigurationId}/member/${memberId}`, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -3629,15 +3579,15 @@ export async function getMember({ */ export async function createEvent({ pathParams: { integrationConfigurationId }, - config = {} + config = {}, }: { - pathParams: CreateEventPathParams; - config?: Partial & { client?: typeof client }; + pathParams: CreateEventPathParams + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`); + throw new Error(`Missing required path parameter: integrationConfigurationId`) } const data = await request< @@ -3651,9 +3601,9 @@ export async function createEvent({ method: 'POST', url: `/v1/installations/${integrationConfigurationId}/events`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -3663,28 +3613,26 @@ export async function createEvent({ */ export async function getIntegrationResources({ pathParams: { integrationConfigurationId }, - config = {} + config = {}, }: { - pathParams: GetIntegrationResourcesPathParams; - config?: Partial & { client?: typeof client }; + pathParams: GetIntegrationResourcesPathParams + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`); + throw new Error(`Missing required path parameter: integrationConfigurationId`) } const data = await request< GetIntegrationResourcesQueryResponse, - ErrorWrapper< - GetIntegrationResources400 | GetIntegrationResources401 | GetIntegrationResources403 | GetIntegrationResources404 - >, + ErrorWrapper, null, Record, Record, GetIntegrationResourcesPathParams - >({ method: 'GET', url: `/v1/installations/${integrationConfigurationId}/resources`, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v1/installations/${integrationConfigurationId}/resources`, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -3694,36 +3642,30 @@ export async function getIntegrationResources({ */ export async function getIntegrationResource({ pathParams: { integrationConfigurationId, resourceId }, - config = {} + config = {}, }: { - pathParams: GetIntegrationResourcePathParams; - config?: Partial & { client?: typeof client }; + pathParams: GetIntegrationResourcePathParams + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`); + throw new Error(`Missing required path parameter: integrationConfigurationId`) } if (!resourceId) { - throw new Error(`Missing required path parameter: resourceId`); + throw new Error(`Missing required path parameter: resourceId`) } const data = await request< GetIntegrationResourceQueryResponse, - ErrorWrapper< - GetIntegrationResource400 | GetIntegrationResource401 | GetIntegrationResource403 | GetIntegrationResource404 - >, + ErrorWrapper, null, Record, Record, GetIntegrationResourcePathParams - >({ - method: 'GET', - url: `/v1/installations/${integrationConfigurationId}/resources/${resourceId}`, - ...requestConfig - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v1/installations/${integrationConfigurationId}/resources/${resourceId}`, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -3733,39 +3675,30 @@ export async function getIntegrationResource({ */ export async function deleteIntegrationResource({ pathParams: { integrationConfigurationId, resourceId }, - config = {} + config = {}, }: { - pathParams: DeleteIntegrationResourcePathParams; - config?: Partial & { client?: typeof client }; + pathParams: DeleteIntegrationResourcePathParams + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`); + throw new Error(`Missing required path parameter: integrationConfigurationId`) } if (!resourceId) { - throw new Error(`Missing required path parameter: resourceId`); + throw new Error(`Missing required path parameter: resourceId`) } const data = await request< DeleteIntegrationResourceMutationResponse, - ErrorWrapper< - | DeleteIntegrationResource400 - | DeleteIntegrationResource401 - | DeleteIntegrationResource403 - | DeleteIntegrationResource404 - >, + ErrorWrapper, null, Record, Record, DeleteIntegrationResourcePathParams - >({ - method: 'DELETE', - url: `/v1/installations/${integrationConfigurationId}/resources/${resourceId}`, - ...requestConfig - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'DELETE', url: `/v1/installations/${integrationConfigurationId}/resources/${resourceId}`, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -3775,19 +3708,19 @@ export async function deleteIntegrationResource({ */ export async function importResource({ pathParams: { integrationConfigurationId, resourceId }, - config = {} + config = {}, }: { - pathParams: ImportResourcePathParams; - config?: Partial & { client?: typeof client }; + pathParams: ImportResourcePathParams + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`); + throw new Error(`Missing required path parameter: integrationConfigurationId`) } if (!resourceId) { - throw new Error(`Missing required path parameter: resourceId`); + throw new Error(`Missing required path parameter: resourceId`) } const data = await request< @@ -3801,9 +3734,9 @@ export async function importResource({ method: 'PUT', url: `/v1/installations/${integrationConfigurationId}/resources/${resourceId}`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -3813,15 +3746,15 @@ export async function importResource({ */ export async function submitBillingData({ pathParams: { integrationConfigurationId }, - config = {} + config = {}, }: { - pathParams: SubmitBillingDataPathParams; - config?: Partial & { client?: typeof client }; + pathParams: SubmitBillingDataPathParams + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`); + throw new Error(`Missing required path parameter: integrationConfigurationId`) } const data = await request< @@ -3835,9 +3768,9 @@ export async function submitBillingData({ method: 'POST', url: `/v1/installations/${integrationConfigurationId}/billing`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -3847,15 +3780,15 @@ export async function submitBillingData({ */ export async function submitInvoice({ pathParams: { integrationConfigurationId }, - config = {} + config = {}, }: { - pathParams: SubmitInvoicePathParams; - config?: Partial & { client?: typeof client }; + pathParams: SubmitInvoicePathParams + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`); + throw new Error(`Missing required path parameter: integrationConfigurationId`) } const data = await request< @@ -3869,9 +3802,9 @@ export async function submitInvoice({ method: 'POST', url: `/v1/installations/${integrationConfigurationId}/billing/invoices`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -3881,19 +3814,19 @@ export async function submitInvoice({ */ export async function getInvoice({ pathParams: { integrationConfigurationId, invoiceId }, - config = {} + config = {}, }: { - pathParams: GetInvoicePathParams; - config?: Partial & { client?: typeof client }; + pathParams: GetInvoicePathParams + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`); + throw new Error(`Missing required path parameter: integrationConfigurationId`) } if (!invoiceId) { - throw new Error(`Missing required path parameter: invoiceId`); + throw new Error(`Missing required path parameter: invoiceId`) } const data = await request< @@ -3903,12 +3836,8 @@ export async function getInvoice({ Record, Record, GetInvoicePathParams - >({ - method: 'GET', - url: `/v1/installations/${integrationConfigurationId}/billing/invoices/${invoiceId}`, - ...requestConfig - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v1/installations/${integrationConfigurationId}/billing/invoices/${invoiceId}`, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -3918,19 +3847,19 @@ export async function getInvoice({ */ export async function updateInvoice({ pathParams: { integrationConfigurationId, invoiceId }, - config = {} + config = {}, }: { - pathParams: UpdateInvoicePathParams; - config?: Partial & { client?: typeof client }; + pathParams: UpdateInvoicePathParams + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`); + throw new Error(`Missing required path parameter: integrationConfigurationId`) } if (!invoiceId) { - throw new Error(`Missing required path parameter: invoiceId`); + throw new Error(`Missing required path parameter: invoiceId`) } const data = await request< @@ -3944,9 +3873,9 @@ export async function updateInvoice({ method: 'POST', url: `/v1/installations/${integrationConfigurationId}/billing/invoices/${invoiceId}/actions`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -3956,25 +3885,20 @@ export async function updateInvoice({ */ export async function submitPrepaymentBalances({ pathParams: { integrationConfigurationId }, - config = {} + config = {}, }: { - pathParams: SubmitPrepaymentBalancesPathParams; - config?: Partial & { client?: typeof client }; + pathParams: SubmitPrepaymentBalancesPathParams + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`); + throw new Error(`Missing required path parameter: integrationConfigurationId`) } const data = await request< SubmitPrepaymentBalancesMutationResponse, - ErrorWrapper< - | SubmitPrepaymentBalances400 - | SubmitPrepaymentBalances401 - | SubmitPrepaymentBalances403 - | SubmitPrepaymentBalances404 - >, + ErrorWrapper, null, Record, Record, @@ -3983,9 +3907,9 @@ export async function submitPrepaymentBalances({ method: 'POST', url: `/v1/installations/${integrationConfigurationId}/billing/balance`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -3995,30 +3919,28 @@ export async function submitPrepaymentBalances({ */ export async function updateResourceSecrets({ pathParams: { integrationConfigurationId, integrationProductIdOrSlug, resourceId }, - config = {} + config = {}, }: { - pathParams: UpdateResourceSecretsPathParams; - config?: Partial & { client?: typeof client }; + pathParams: UpdateResourceSecretsPathParams + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`); + throw new Error(`Missing required path parameter: integrationConfigurationId`) } if (!integrationProductIdOrSlug) { - throw new Error(`Missing required path parameter: integrationProductIdOrSlug`); + throw new Error(`Missing required path parameter: integrationProductIdOrSlug`) } if (!resourceId) { - throw new Error(`Missing required path parameter: resourceId`); + throw new Error(`Missing required path parameter: resourceId`) } const data = await request< UpdateResourceSecretsMutationResponse, - ErrorWrapper< - UpdateResourceSecrets400 | UpdateResourceSecrets401 | UpdateResourceSecrets403 | UpdateResourceSecrets404 - >, + ErrorWrapper, null, Record, Record, @@ -4027,9 +3949,9 @@ export async function updateResourceSecrets({ method: 'PUT', url: `/v1/installations/${integrationConfigurationId}/products/${integrationProductIdOrSlug}/resources/${resourceId}/secrets`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -4039,29 +3961,25 @@ export async function updateResourceSecrets({ */ export async function updateResourceSecretsById({ pathParams: { integrationConfigurationId, resourceId }, - config = {} + config = {}, }: { - pathParams: UpdateResourceSecretsByIdPathParams; - config?: Partial & { client?: typeof client }; + pathParams: UpdateResourceSecretsByIdPathParams + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`); + throw new Error(`Missing required path parameter: integrationConfigurationId`) } if (!resourceId) { - throw new Error(`Missing required path parameter: resourceId`); + throw new Error(`Missing required path parameter: resourceId`) } const data = await request< UpdateResourceSecretsByIdMutationResponse, ErrorWrapper< - | UpdateResourceSecretsById400 - | UpdateResourceSecretsById401 - | UpdateResourceSecretsById403 - | UpdateResourceSecretsById404 - | UpdateResourceSecretsById422 + UpdateResourceSecretsById400 | UpdateResourceSecretsById401 | UpdateResourceSecretsById403 | UpdateResourceSecretsById404 | UpdateResourceSecretsById422 >, null, Record, @@ -4071,9 +3989,9 @@ export async function updateResourceSecretsById({ method: 'PUT', url: `/v1/installations/${integrationConfigurationId}/resources/${resourceId}/secrets`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -4083,12 +4001,12 @@ export async function updateResourceSecretsById({ */ export async function getConfigurations({ queryParams, - config = {} + config = {}, }: { - queryParams: GetConfigurationsQueryParams; - config?: Partial & { client?: typeof client }; + queryParams: GetConfigurationsQueryParams + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< GetConfigurationsQueryResponse, @@ -4097,8 +4015,8 @@ export async function getConfigurations({ Record, GetConfigurationsQueryParams, Record - >({ method: 'GET', url: `/v1/integrations/configurations`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v1/integrations/configurations`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -4109,16 +4027,16 @@ export async function getConfigurations({ export async function getConfiguration({ pathParams: { id }, queryParams, - config = {} + config = {}, }: { - pathParams: GetConfigurationPathParams; - queryParams?: GetConfigurationQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetConfigurationPathParams + queryParams?: GetConfigurationQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!id) { - throw new Error(`Missing required path parameter: id`); + throw new Error(`Missing required path parameter: id`) } const data = await request< @@ -4128,8 +4046,8 @@ export async function getConfiguration({ Record, GetConfigurationQueryParams, GetConfigurationPathParams - >({ method: 'GET', url: `/v1/integrations/configuration/${id}`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v1/integrations/configuration/${id}`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -4140,16 +4058,16 @@ export async function getConfiguration({ export async function deleteConfiguration({ pathParams: { id }, queryParams, - config = {} + config = {}, }: { - pathParams: DeleteConfigurationPathParams; - queryParams?: DeleteConfigurationQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: DeleteConfigurationPathParams + queryParams?: DeleteConfigurationQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!id) { - throw new Error(`Missing required path parameter: id`); + throw new Error(`Missing required path parameter: id`) } const data = await request< @@ -4159,8 +4077,41 @@ export async function deleteConfiguration({ Record, DeleteConfigurationQueryParams, DeleteConfigurationPathParams - >({ method: 'DELETE', url: `/v1/integrations/configuration/${id}`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'DELETE', url: `/v1/integrations/configuration/${id}`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } +} + +/** + * @description Lists all products available for an integration configuration. Use this endpoint to discover what integration products are available for your integration configuration. The returned product IDs or slugs can then be used with storage provisioning endpoints like `POST /v1/storage/stores/integration/direct`. ## Workflow 1. Get your integration configurations: `GET /v1/integrations/configurations` 2. **Use this endpoint**: Get products for a configuration: `GET /v1/integrations/configuration/{id}/products` 3. Create storage resource: `POST /v1/storage/stores/integration/direct` ## Response Returns an array of products with their IDs, slugs, names, supported protocols, and metadata requirements. Each product represents a different type of resource you can provision. The `metadataSchema` field contains a JSON Schema that defines: - **Required metadata**: Fields that must be provided during storage creation - **Optional metadata**: Fields that can be provided but are not mandatory - **Field validation**: Data types, allowed values, and constraints Use this schema to validate metadata before calling the storage creation endpoint. + * @summary List products for integration configuration + * {@link /v1/integrations/configuration/:id/products} + */ +export async function getConfigurationProducts({ + pathParams: { id }, + queryParams, + config = {}, +}: { + pathParams: GetConfigurationProductsPathParams + queryParams?: GetConfigurationProductsQueryParams | undefined + config?: Partial & { client?: typeof client } +}): Promise> { + const { client: request = client, ...requestConfig } = config + + if (!id) { + throw new Error(`Missing required path parameter: id`) + } + + const data = await request< + GetConfigurationProductsQueryResponse, + ErrorWrapper< + GetConfigurationProducts400 | GetConfigurationProducts401 | GetConfigurationProducts403 | GetConfigurationProducts404 | GetConfigurationProducts500 + >, + null, + Record, + GetConfigurationProductsQueryParams, + GetConfigurationProductsPathParams + >({ method: 'GET', url: `/v1/integrations/configuration/${id}/products`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -4168,12 +4119,8 @@ export async function deleteConfiguration({ * @summary SSO Token Exchange * {@link /v1/integrations/sso/token} */ -export async function exchangeSsoToken({ - config = {} -}: { - config?: Partial & { client?: typeof client }; -}): Promise> { - const { client: request = client, ...requestConfig } = config; +export async function exchangeSsoToken({ config = {} }: { config?: Partial & { client?: typeof client } }): Promise> { + const { client: request = client, ...requestConfig } = config const data = await request< ExchangeSsoTokenMutationResponse, @@ -4182,13 +4129,8 @@ export async function exchangeSsoToken({ Record, Record, Record - >({ - method: 'POST', - url: `/v1/integrations/sso/token`, - ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'POST', url: `/v1/integrations/sso/token`, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -4198,12 +4140,12 @@ export async function exchangeSsoToken({ */ export async function getIntegrationLogDrains({ queryParams, - config = {} + config = {}, }: { - queryParams?: GetIntegrationLogDrainsQueryParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: GetIntegrationLogDrainsQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< GetIntegrationLogDrainsQueryResponse, @@ -4212,8 +4154,8 @@ export async function getIntegrationLogDrains({ Record, GetIntegrationLogDrainsQueryParams, Record - >({ method: 'GET', url: `/v2/integrations/log-drains`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v2/integrations/log-drains`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -4223,12 +4165,12 @@ export async function getIntegrationLogDrains({ */ export async function createLogDrain({ queryParams, - config = {} + config = {}, }: { - queryParams?: CreateLogDrainQueryParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: CreateLogDrainQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< CreateLogDrainMutationResponse, @@ -4242,9 +4184,9 @@ export async function createLogDrain({ url: `/v2/integrations/log-drains`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -4255,32 +4197,27 @@ export async function createLogDrain({ export async function deleteIntegrationLogDrain({ pathParams: { id }, queryParams, - config = {} + config = {}, }: { - pathParams: DeleteIntegrationLogDrainPathParams; - queryParams?: DeleteIntegrationLogDrainQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: DeleteIntegrationLogDrainPathParams + queryParams?: DeleteIntegrationLogDrainQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!id) { - throw new Error(`Missing required path parameter: id`); + throw new Error(`Missing required path parameter: id`) } const data = await request< DeleteIntegrationLogDrainMutationResponse, - ErrorWrapper< - | DeleteIntegrationLogDrain400 - | DeleteIntegrationLogDrain401 - | DeleteIntegrationLogDrain403 - | DeleteIntegrationLogDrain404 - >, + ErrorWrapper, null, Record, DeleteIntegrationLogDrainQueryParams, DeleteIntegrationLogDrainPathParams - >({ method: 'DELETE', url: `/v1/integrations/log-drains/${id}`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'DELETE', url: `/v1/integrations/log-drains/${id}`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -4291,20 +4228,20 @@ export async function deleteIntegrationLogDrain({ export async function getRuntimeLogs({ pathParams: { projectId, deploymentId }, queryParams, - config = {} + config = {}, }: { - pathParams: GetRuntimeLogsPathParams; - queryParams?: GetRuntimeLogsQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetRuntimeLogsPathParams + queryParams?: GetRuntimeLogsQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!projectId) { - throw new Error(`Missing required path parameter: projectId`); + throw new Error(`Missing required path parameter: projectId`) } if (!deploymentId) { - throw new Error(`Missing required path parameter: deploymentId`); + throw new Error(`Missing required path parameter: deploymentId`) } const data = await request< @@ -4314,13 +4251,8 @@ export async function getRuntimeLogs({ Record, GetRuntimeLogsQueryParams, GetRuntimeLogsPathParams - >({ - method: 'GET', - url: `/v1/projects/${projectId}/deployments/${deploymentId}/runtime-logs`, - queryParams, - ...requestConfig - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v1/projects/${projectId}/deployments/${deploymentId}/runtime-logs`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -4330,29 +4262,24 @@ export async function getRuntimeLogs({ */ export async function createExperimentationItem({ pathParams: { integrationConfigurationId, resourceId }, - config = {} + config = {}, }: { - pathParams: CreateExperimentationItemPathParams; - config?: Partial & { client?: typeof client }; + pathParams: CreateExperimentationItemPathParams + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`); + throw new Error(`Missing required path parameter: integrationConfigurationId`) } if (!resourceId) { - throw new Error(`Missing required path parameter: resourceId`); + throw new Error(`Missing required path parameter: resourceId`) } const data = await request< CreateExperimentationItemMutationResponse, - ErrorWrapper< - | CreateExperimentationItem400 - | CreateExperimentationItem401 - | CreateExperimentationItem403 - | CreateExperimentationItem404 - >, + ErrorWrapper, null, Record, Record, @@ -4361,9 +4288,9 @@ export async function createExperimentationItem({ method: 'POST', url: `/v1/installations/${integrationConfigurationId}/resources/${resourceId}/experimentation/items`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -4373,33 +4300,28 @@ export async function createExperimentationItem({ */ export async function updateExperimentationItem({ pathParams: { integrationConfigurationId, resourceId, itemId }, - config = {} + config = {}, }: { - pathParams: UpdateExperimentationItemPathParams; - config?: Partial & { client?: typeof client }; + pathParams: UpdateExperimentationItemPathParams + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`); + throw new Error(`Missing required path parameter: integrationConfigurationId`) } if (!resourceId) { - throw new Error(`Missing required path parameter: resourceId`); + throw new Error(`Missing required path parameter: resourceId`) } if (!itemId) { - throw new Error(`Missing required path parameter: itemId`); + throw new Error(`Missing required path parameter: itemId`) } const data = await request< UpdateExperimentationItemMutationResponse, - ErrorWrapper< - | UpdateExperimentationItem400 - | UpdateExperimentationItem401 - | UpdateExperimentationItem403 - | UpdateExperimentationItem404 - >, + ErrorWrapper, null, Record, Record, @@ -4408,9 +4330,9 @@ export async function updateExperimentationItem({ method: 'PATCH', url: `/v1/installations/${integrationConfigurationId}/resources/${resourceId}/experimentation/items/${itemId}`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -4420,43 +4342,34 @@ export async function updateExperimentationItem({ */ export async function deleteExperimentationItem({ pathParams: { integrationConfigurationId, resourceId, itemId }, - config = {} + config = {}, }: { - pathParams: DeleteExperimentationItemPathParams; - config?: Partial & { client?: typeof client }; + pathParams: DeleteExperimentationItemPathParams + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`); + throw new Error(`Missing required path parameter: integrationConfigurationId`) } if (!resourceId) { - throw new Error(`Missing required path parameter: resourceId`); + throw new Error(`Missing required path parameter: resourceId`) } if (!itemId) { - throw new Error(`Missing required path parameter: itemId`); + throw new Error(`Missing required path parameter: itemId`) } const data = await request< DeleteExperimentationItemMutationResponse, - ErrorWrapper< - | DeleteExperimentationItem400 - | DeleteExperimentationItem401 - | DeleteExperimentationItem403 - | DeleteExperimentationItem404 - >, + ErrorWrapper, null, Record, Record, DeleteExperimentationItemPathParams - >({ - method: 'DELETE', - url: `/v1/installations/${integrationConfigurationId}/resources/${resourceId}/experimentation/items/${itemId}`, - ...requestConfig - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'DELETE', url: `/v1/installations/${integrationConfigurationId}/resources/${resourceId}/experimentation/items/${itemId}`, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -4466,19 +4379,19 @@ export async function deleteExperimentationItem({ */ export async function updateExperimentationEdgeConfig({ pathParams: { integrationConfigurationId, resourceId }, - config = {} + config = {}, }: { - pathParams: UpdateExperimentationEdgeConfigPathParams; - config?: Partial & { client?: typeof client }; + pathParams: UpdateExperimentationEdgeConfigPathParams + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`); + throw new Error(`Missing required path parameter: integrationConfigurationId`) } if (!resourceId) { - throw new Error(`Missing required path parameter: resourceId`); + throw new Error(`Missing required path parameter: resourceId`) } const data = await request< @@ -4488,6 +4401,7 @@ export async function updateExperimentationEdgeConfig({ | UpdateExperimentationEdgeConfig401 | UpdateExperimentationEdgeConfig403 | UpdateExperimentationEdgeConfig404 + | UpdateExperimentationEdgeConfig409 | UpdateExperimentationEdgeConfig412 >, null, @@ -4498,9 +4412,9 @@ export async function updateExperimentationEdgeConfig({ method: 'PUT', url: `/v1/installations/${integrationConfigurationId}/resources/${resourceId}/experimentation/edge-config`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -4511,16 +4425,16 @@ export async function updateExperimentationEdgeConfig({ export async function getProjectMembers({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: GetProjectMembersPathParams; - queryParams?: GetProjectMembersQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetProjectMembersPathParams + queryParams?: GetProjectMembersQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< @@ -4530,8 +4444,8 @@ export async function getProjectMembers({ Record, GetProjectMembersQueryParams, GetProjectMembersPathParams - >({ method: 'GET', url: `/v1/projects/${idOrName}/members`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v1/projects/${idOrName}/members`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -4542,16 +4456,16 @@ export async function getProjectMembers({ export async function addProjectMember({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: AddProjectMemberPathParams; - queryParams?: AddProjectMemberQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: AddProjectMemberPathParams + queryParams?: AddProjectMemberQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< @@ -4566,9 +4480,9 @@ export async function addProjectMember({ url: `/v1/projects/${idOrName}/members`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -4579,20 +4493,20 @@ export async function addProjectMember({ export async function removeProjectMember({ pathParams: { idOrName, uid }, queryParams, - config = {} + config = {}, }: { - pathParams: RemoveProjectMemberPathParams; - queryParams?: RemoveProjectMemberQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: RemoveProjectMemberPathParams + queryParams?: RemoveProjectMemberQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } if (!uid) { - throw new Error(`Missing required path parameter: uid`); + throw new Error(`Missing required path parameter: uid`) } const data = await request< @@ -4602,8 +4516,8 @@ export async function removeProjectMember({ Record, RemoveProjectMemberQueryParams, RemoveProjectMemberPathParams - >({ method: 'DELETE', url: `/v1/projects/${idOrName}/members/${uid}`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'DELETE', url: `/v1/projects/${idOrName}/members/${uid}`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -4613,12 +4527,12 @@ export async function removeProjectMember({ */ export async function getProjects({ queryParams, - config = {} + config = {}, }: { - queryParams?: GetProjectsQueryParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: GetProjectsQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< GetProjectsQueryResponse, @@ -4627,8 +4541,8 @@ export async function getProjects({ Record, GetProjectsQueryParams, Record - >({ method: 'GET', url: `/v10/projects`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v10/projects`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -4638,28 +4552,32 @@ export async function getProjects({ */ export async function createProject({ queryParams, - config = {} + config = {}, }: { - queryParams?: CreateProjectQueryParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: CreateProjectQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< CreateProjectMutationResponse, - ErrorWrapper, + ErrorWrapper< + | CreateProject400 + | CreateProject401 + | CreateProject402 + | CreateProject403 + | CreateProject404 + | CreateProject409 + | CreateProject428 + | CreateProject429 + | CreateProject500 + >, null, Record, CreateProjectQueryParams, Record - >({ - method: 'POST', - url: `/v11/projects`, - queryParams, - ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'POST', url: `/v11/projects`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -4670,16 +4588,16 @@ export async function createProject({ export async function getProject({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: GetProjectPathParams; - queryParams?: GetProjectQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetProjectPathParams + queryParams?: GetProjectQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< @@ -4689,8 +4607,8 @@ export async function getProject({ Record, GetProjectQueryParams, GetProjectPathParams - >({ method: 'GET', url: `/v9/projects/${idOrName}`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v9/projects/${idOrName}`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -4701,29 +4619,21 @@ export async function getProject({ export async function updateProject({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: UpdateProjectPathParams; - queryParams?: UpdateProjectQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: UpdateProjectPathParams + queryParams?: UpdateProjectQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< UpdateProjectMutationResponse, - ErrorWrapper< - | UpdateProject400 - | UpdateProject401 - | UpdateProject402 - | UpdateProject403 - | UpdateProject404 - | UpdateProject409 - | UpdateProject428 - >, + ErrorWrapper, null, Record, UpdateProjectQueryParams, @@ -4733,9 +4643,9 @@ export async function updateProject({ url: `/v9/projects/${idOrName}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -4746,16 +4656,16 @@ export async function updateProject({ export async function deleteProject({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: DeleteProjectPathParams; - queryParams?: DeleteProjectQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: DeleteProjectPathParams + queryParams?: DeleteProjectQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< @@ -4765,8 +4675,8 @@ export async function deleteProject({ Record, DeleteProjectQueryParams, DeleteProjectPathParams - >({ method: 'DELETE', url: `/v9/projects/${idOrName}`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'DELETE', url: `/v9/projects/${idOrName}`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -4777,26 +4687,22 @@ export async function deleteProject({ export async function createCustomEnvironment({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: CreateCustomEnvironmentPathParams; - queryParams?: CreateCustomEnvironmentQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: CreateCustomEnvironmentPathParams + queryParams?: CreateCustomEnvironmentQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< CreateCustomEnvironmentMutationResponse, ErrorWrapper< - | CreateCustomEnvironment400 - | CreateCustomEnvironment401 - | CreateCustomEnvironment402 - | CreateCustomEnvironment403 - | CreateCustomEnvironment500 + CreateCustomEnvironment400 | CreateCustomEnvironment401 | CreateCustomEnvironment402 | CreateCustomEnvironment403 | CreateCustomEnvironment500 >, null, Record, @@ -4807,9 +4713,9 @@ export async function createCustomEnvironment({ url: `/v9/projects/${idOrName}/custom-environments`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -4820,16 +4726,16 @@ export async function createCustomEnvironment({ export async function listCustomEnvironments({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: ListCustomEnvironmentsPathParams; - queryParams?: ListCustomEnvironmentsQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: ListCustomEnvironmentsPathParams + queryParams?: ListCustomEnvironmentsQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< @@ -4839,8 +4745,8 @@ export async function listCustomEnvironments({ Record, ListCustomEnvironmentsQueryParams, ListCustomEnvironmentsPathParams - >({ method: 'GET', url: `/v9/projects/${idOrName}/custom-environments`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v9/projects/${idOrName}/custom-environments`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -4851,20 +4757,20 @@ export async function listCustomEnvironments({ export async function getCustomEnvironment({ pathParams: { idOrName, environmentSlugOrId }, queryParams, - config = {} + config = {}, }: { - pathParams: GetCustomEnvironmentPathParams; - queryParams?: GetCustomEnvironmentQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetCustomEnvironmentPathParams + queryParams?: GetCustomEnvironmentQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } if (!environmentSlugOrId) { - throw new Error(`Missing required path parameter: environmentSlugOrId`); + throw new Error(`Missing required path parameter: environmentSlugOrId`) } const data = await request< @@ -4874,13 +4780,8 @@ export async function getCustomEnvironment({ Record, GetCustomEnvironmentQueryParams, GetCustomEnvironmentPathParams - >({ - method: 'GET', - url: `/v9/projects/${idOrName}/custom-environments/${environmentSlugOrId}`, - queryParams, - ...requestConfig - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v9/projects/${idOrName}/custom-environments/${environmentSlugOrId}`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -4891,30 +4792,26 @@ export async function getCustomEnvironment({ export async function updateCustomEnvironment({ pathParams: { idOrName, environmentSlugOrId }, queryParams, - config = {} + config = {}, }: { - pathParams: UpdateCustomEnvironmentPathParams; - queryParams?: UpdateCustomEnvironmentQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: UpdateCustomEnvironmentPathParams + queryParams?: UpdateCustomEnvironmentQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } if (!environmentSlugOrId) { - throw new Error(`Missing required path parameter: environmentSlugOrId`); + throw new Error(`Missing required path parameter: environmentSlugOrId`) } const data = await request< UpdateCustomEnvironmentMutationResponse, ErrorWrapper< - | UpdateCustomEnvironment400 - | UpdateCustomEnvironment401 - | UpdateCustomEnvironment402 - | UpdateCustomEnvironment403 - | UpdateCustomEnvironment500 + UpdateCustomEnvironment400 | UpdateCustomEnvironment401 | UpdateCustomEnvironment402 | UpdateCustomEnvironment403 | UpdateCustomEnvironment500 >, null, Record, @@ -4925,9 +4822,9 @@ export async function updateCustomEnvironment({ url: `/v9/projects/${idOrName}/custom-environments/${environmentSlugOrId}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -4938,20 +4835,20 @@ export async function updateCustomEnvironment({ export async function removeCustomEnvironment({ pathParams: { idOrName, environmentSlugOrId }, queryParams, - config = {} + config = {}, }: { - pathParams: RemoveCustomEnvironmentPathParams; - queryParams?: RemoveCustomEnvironmentQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: RemoveCustomEnvironmentPathParams + queryParams?: RemoveCustomEnvironmentQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } if (!environmentSlugOrId) { - throw new Error(`Missing required path parameter: environmentSlugOrId`); + throw new Error(`Missing required path parameter: environmentSlugOrId`) } const data = await request< @@ -4966,9 +4863,9 @@ export async function removeCustomEnvironment({ url: `/v9/projects/${idOrName}/custom-environments/${environmentSlugOrId}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -4979,16 +4876,16 @@ export async function removeCustomEnvironment({ export async function getProjectDomains({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: GetProjectDomainsPathParams; - queryParams?: GetProjectDomainsQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetProjectDomainsPathParams + queryParams?: GetProjectDomainsQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< @@ -4998,8 +4895,8 @@ export async function getProjectDomains({ Record, GetProjectDomainsQueryParams, GetProjectDomainsPathParams - >({ method: 'GET', url: `/v9/projects/${idOrName}/domains`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v9/projects/${idOrName}/domains`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -5010,20 +4907,20 @@ export async function getProjectDomains({ export async function getProjectDomain({ pathParams: { idOrName, domain }, queryParams, - config = {} + config = {}, }: { - pathParams: GetProjectDomainPathParams; - queryParams?: GetProjectDomainQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetProjectDomainPathParams + queryParams?: GetProjectDomainQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } if (!domain) { - throw new Error(`Missing required path parameter: domain`); + throw new Error(`Missing required path parameter: domain`) } const data = await request< @@ -5033,8 +4930,8 @@ export async function getProjectDomain({ Record, GetProjectDomainQueryParams, GetProjectDomainPathParams - >({ method: 'GET', url: `/v9/projects/${idOrName}/domains/${domain}`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v9/projects/${idOrName}/domains/${domain}`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -5045,20 +4942,20 @@ export async function getProjectDomain({ export async function updateProjectDomain({ pathParams: { idOrName, domain }, queryParams, - config = {} + config = {}, }: { - pathParams: UpdateProjectDomainPathParams; - queryParams?: UpdateProjectDomainQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: UpdateProjectDomainPathParams + queryParams?: UpdateProjectDomainQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } if (!domain) { - throw new Error(`Missing required path parameter: domain`); + throw new Error(`Missing required path parameter: domain`) } const data = await request< @@ -5073,9 +4970,9 @@ export async function updateProjectDomain({ url: `/v9/projects/${idOrName}/domains/${domain}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -5086,31 +4983,25 @@ export async function updateProjectDomain({ export async function removeProjectDomain({ pathParams: { idOrName, domain }, queryParams, - config = {} + config = {}, }: { - pathParams: RemoveProjectDomainPathParams; - queryParams?: RemoveProjectDomainQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: RemoveProjectDomainPathParams + queryParams?: RemoveProjectDomainQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } if (!domain) { - throw new Error(`Missing required path parameter: domain`); + throw new Error(`Missing required path parameter: domain`) } const data = await request< RemoveProjectDomainMutationResponse, - ErrorWrapper< - | RemoveProjectDomain400 - | RemoveProjectDomain401 - | RemoveProjectDomain403 - | RemoveProjectDomain404 - | RemoveProjectDomain409 - >, + ErrorWrapper, null, Record, RemoveProjectDomainQueryParams, @@ -5120,9 +5011,9 @@ export async function removeProjectDomain({ url: `/v9/projects/${idOrName}/domains/${domain}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -5133,23 +5024,21 @@ export async function removeProjectDomain({ export async function addProjectDomain({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: AddProjectDomainPathParams; - queryParams?: AddProjectDomainQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: AddProjectDomainPathParams + queryParams?: AddProjectDomainQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< AddProjectDomainMutationResponse, - ErrorWrapper< - AddProjectDomain400 | AddProjectDomain401 | AddProjectDomain402 | AddProjectDomain403 | AddProjectDomain409 - >, + ErrorWrapper, null, Record, AddProjectDomainQueryParams, @@ -5159,9 +5048,9 @@ export async function addProjectDomain({ url: `/v10/projects/${idOrName}/domains`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -5172,20 +5061,20 @@ export async function addProjectDomain({ export async function moveProjectDomain({ pathParams: { idOrName, domain }, queryParams, - config = {} + config = {}, }: { - pathParams: MoveProjectDomainPathParams; - queryParams?: MoveProjectDomainQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: MoveProjectDomainPathParams + queryParams?: MoveProjectDomainQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } if (!domain) { - throw new Error(`Missing required path parameter: domain`); + throw new Error(`Missing required path parameter: domain`) } const data = await request< @@ -5200,9 +5089,9 @@ export async function moveProjectDomain({ url: `/v1/projects/${idOrName}/domains/${domain}/move`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -5213,20 +5102,20 @@ export async function moveProjectDomain({ export async function verifyProjectDomain({ pathParams: { idOrName, domain }, queryParams, - config = {} + config = {}, }: { - pathParams: VerifyProjectDomainPathParams; - queryParams?: VerifyProjectDomainQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: VerifyProjectDomainPathParams + queryParams?: VerifyProjectDomainQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } if (!domain) { - throw new Error(`Missing required path parameter: domain`); + throw new Error(`Missing required path parameter: domain`) } const data = await request< @@ -5236,8 +5125,8 @@ export async function verifyProjectDomain({ Record, VerifyProjectDomainQueryParams, VerifyProjectDomainPathParams - >({ method: 'POST', url: `/v9/projects/${idOrName}/domains/${domain}/verify`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'POST', url: `/v9/projects/${idOrName}/domains/${domain}/verify`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -5248,16 +5137,16 @@ export async function verifyProjectDomain({ export async function filterProjectEnvs({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: FilterProjectEnvsPathParams; - queryParams?: FilterProjectEnvsQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: FilterProjectEnvsPathParams + queryParams?: FilterProjectEnvsQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< @@ -5267,8 +5156,8 @@ export async function filterProjectEnvs({ Record, FilterProjectEnvsQueryParams, FilterProjectEnvsPathParams - >({ method: 'GET', url: `/v10/projects/${idOrName}/env`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v10/projects/${idOrName}/env`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -5279,22 +5168,29 @@ export async function filterProjectEnvs({ export async function createProjectEnv({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: CreateProjectEnvPathParams; - queryParams?: CreateProjectEnvQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: CreateProjectEnvPathParams + queryParams?: CreateProjectEnvQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< CreateProjectEnvMutationResponse, ErrorWrapper< - CreateProjectEnv400 | CreateProjectEnv401 | CreateProjectEnv402 | CreateProjectEnv403 | CreateProjectEnv409 + | CreateProjectEnv400 + | CreateProjectEnv401 + | CreateProjectEnv402 + | CreateProjectEnv403 + | CreateProjectEnv404 + | CreateProjectEnv409 + | CreateProjectEnv429 + | CreateProjectEnv500 >, null, Record, @@ -5305,9 +5201,9 @@ export async function createProjectEnv({ url: `/v10/projects/${idOrName}/env`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -5318,20 +5214,20 @@ export async function createProjectEnv({ export async function getProjectEnv({ pathParams: { idOrName, id }, queryParams, - config = {} + config = {}, }: { - pathParams: GetProjectEnvPathParams; - queryParams?: GetProjectEnvQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetProjectEnvPathParams + queryParams?: GetProjectEnvQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } if (!id) { - throw new Error(`Missing required path parameter: id`); + throw new Error(`Missing required path parameter: id`) } const data = await request< @@ -5341,8 +5237,8 @@ export async function getProjectEnv({ Record, GetProjectEnvQueryParams, GetProjectEnvPathParams - >({ method: 'GET', url: `/v1/projects/${idOrName}/env/${id}`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v1/projects/${idOrName}/env/${id}`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -5353,33 +5249,31 @@ export async function getProjectEnv({ export async function removeProjectEnv({ pathParams: { idOrName, id }, queryParams, - config = {} + config = {}, }: { - pathParams: RemoveProjectEnvPathParams; - queryParams?: RemoveProjectEnvQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: RemoveProjectEnvPathParams + queryParams?: RemoveProjectEnvQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } if (!id) { - throw new Error(`Missing required path parameter: id`); + throw new Error(`Missing required path parameter: id`) } const data = await request< RemoveProjectEnvMutationResponse, - ErrorWrapper< - RemoveProjectEnv400 | RemoveProjectEnv401 | RemoveProjectEnv403 | RemoveProjectEnv404 | RemoveProjectEnv409 - >, + ErrorWrapper, null, Record, RemoveProjectEnvQueryParams, RemoveProjectEnvPathParams - >({ method: 'DELETE', url: `/v9/projects/${idOrName}/env/${id}`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'DELETE', url: `/v9/projects/${idOrName}/env/${id}`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -5390,25 +5284,25 @@ export async function removeProjectEnv({ export async function editProjectEnv({ pathParams: { idOrName, id }, queryParams, - config = {} + config = {}, }: { - pathParams: EditProjectEnvPathParams; - queryParams?: EditProjectEnvQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: EditProjectEnvPathParams + queryParams?: EditProjectEnvQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } if (!id) { - throw new Error(`Missing required path parameter: id`); + throw new Error(`Missing required path parameter: id`) } const data = await request< EditProjectEnvMutationResponse, - ErrorWrapper, + ErrorWrapper, null, Record, EditProjectEnvQueryParams, @@ -5418,9 +5312,9 @@ export async function editProjectEnv({ url: `/v9/projects/${idOrName}/env/${id}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -5431,32 +5325,27 @@ export async function editProjectEnv({ export async function getRollingReleaseBillingStatus({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: GetRollingReleaseBillingStatusPathParams; - queryParams?: GetRollingReleaseBillingStatusQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetRollingReleaseBillingStatusPathParams + queryParams?: GetRollingReleaseBillingStatusQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< GetRollingReleaseBillingStatusQueryResponse, - ErrorWrapper< - | GetRollingReleaseBillingStatus400 - | GetRollingReleaseBillingStatus401 - | GetRollingReleaseBillingStatus403 - | GetRollingReleaseBillingStatus404 - >, + ErrorWrapper, null, Record, GetRollingReleaseBillingStatusQueryParams, GetRollingReleaseBillingStatusPathParams - >({ method: 'GET', url: `/v1/projects/${idOrName}/rolling-release/billing`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v1/projects/${idOrName}/rolling-release/billing`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -5467,29 +5356,27 @@ export async function getRollingReleaseBillingStatus({ export async function getRollingReleaseConfig({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: GetRollingReleaseConfigPathParams; - queryParams?: GetRollingReleaseConfigQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetRollingReleaseConfigPathParams + queryParams?: GetRollingReleaseConfigQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< GetRollingReleaseConfigQueryResponse, - ErrorWrapper< - GetRollingReleaseConfig400 | GetRollingReleaseConfig401 | GetRollingReleaseConfig403 | GetRollingReleaseConfig404 - >, + ErrorWrapper, null, Record, GetRollingReleaseConfigQueryParams, GetRollingReleaseConfigPathParams - >({ method: 'GET', url: `/v1/projects/${idOrName}/rolling-release/config`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v1/projects/${idOrName}/rolling-release/config`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -5500,32 +5387,27 @@ export async function getRollingReleaseConfig({ export async function deleteRollingReleaseConfig({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: DeleteRollingReleaseConfigPathParams; - queryParams?: DeleteRollingReleaseConfigQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: DeleteRollingReleaseConfigPathParams + queryParams?: DeleteRollingReleaseConfigQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< DeleteRollingReleaseConfigMutationResponse, - ErrorWrapper< - | DeleteRollingReleaseConfig400 - | DeleteRollingReleaseConfig401 - | DeleteRollingReleaseConfig403 - | DeleteRollingReleaseConfig404 - >, + ErrorWrapper, null, Record, DeleteRollingReleaseConfigQueryParams, DeleteRollingReleaseConfigPathParams - >({ method: 'DELETE', url: `/v1/projects/${idOrName}/rolling-release/config`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'DELETE', url: `/v1/projects/${idOrName}/rolling-release/config`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -5536,32 +5418,27 @@ export async function deleteRollingReleaseConfig({ export async function updateRollingReleaseConfig({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: UpdateRollingReleaseConfigPathParams; - queryParams?: UpdateRollingReleaseConfigQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: UpdateRollingReleaseConfigPathParams + queryParams?: UpdateRollingReleaseConfigQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< UpdateRollingReleaseConfigMutationResponse, - ErrorWrapper< - | UpdateRollingReleaseConfig400 - | UpdateRollingReleaseConfig401 - | UpdateRollingReleaseConfig403 - | UpdateRollingReleaseConfig404 - >, + ErrorWrapper, null, Record, UpdateRollingReleaseConfigQueryParams, UpdateRollingReleaseConfigPathParams - >({ method: 'PATCH', url: `/v1/projects/${idOrName}/rolling-release/config`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'PATCH', url: `/v1/projects/${idOrName}/rolling-release/config`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -5572,16 +5449,16 @@ export async function updateRollingReleaseConfig({ export async function getRollingRelease({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: GetRollingReleasePathParams; - queryParams?: GetRollingReleaseQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetRollingReleasePathParams + queryParams?: GetRollingReleaseQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< @@ -5591,8 +5468,8 @@ export async function getRollingRelease({ Record, GetRollingReleaseQueryParams, GetRollingReleasePathParams - >({ method: 'GET', url: `/v1/projects/${idOrName}/rolling-release`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v1/projects/${idOrName}/rolling-release`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -5603,16 +5480,16 @@ export async function getRollingRelease({ export async function approveRollingReleaseStage({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: ApproveRollingReleaseStagePathParams; - queryParams?: ApproveRollingReleaseStageQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: ApproveRollingReleaseStagePathParams + queryParams?: ApproveRollingReleaseStageQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< @@ -5633,9 +5510,9 @@ export async function approveRollingReleaseStage({ url: `/v1/projects/${idOrName}/rolling-release/approve-stage`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -5646,23 +5523,21 @@ export async function approveRollingReleaseStage({ export async function completeRollingRelease({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: CompleteRollingReleasePathParams; - queryParams?: CompleteRollingReleaseQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: CompleteRollingReleasePathParams + queryParams?: CompleteRollingReleaseQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< CompleteRollingReleaseMutationResponse, - ErrorWrapper< - CompleteRollingRelease400 | CompleteRollingRelease401 | CompleteRollingRelease403 | CompleteRollingRelease404 - >, + ErrorWrapper, null, Record, CompleteRollingReleaseQueryParams, @@ -5672,9 +5547,9 @@ export async function completeRollingRelease({ url: `/v1/projects/${idOrName}/rolling-release/complete`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -5685,16 +5560,16 @@ export async function completeRollingRelease({ export async function createProjectTransferRequest({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: CreateProjectTransferRequestPathParams; - queryParams?: CreateProjectTransferRequestQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: CreateProjectTransferRequestPathParams + queryParams?: CreateProjectTransferRequestQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< @@ -5709,9 +5584,9 @@ export async function createProjectTransferRequest({ url: `/projects/${idOrName}/transfer-request`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -5722,16 +5597,16 @@ export async function createProjectTransferRequest({ export async function acceptProjectTransferRequest({ pathParams: { code }, queryParams, - config = {} + config = {}, }: { - pathParams: AcceptProjectTransferRequestPathParams; - queryParams?: AcceptProjectTransferRequestQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: AcceptProjectTransferRequestPathParams + queryParams?: AcceptProjectTransferRequestQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!code) { - throw new Error(`Missing required path parameter: code`); + throw new Error(`Missing required path parameter: code`) } const data = await request< @@ -5752,9 +5627,9 @@ export async function acceptProjectTransferRequest({ url: `/projects/transfer-request/${code}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -5765,16 +5640,16 @@ export async function acceptProjectTransferRequest({ export async function updateProjectProtectionBypass({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: UpdateProjectProtectionBypassPathParams; - queryParams?: UpdateProjectProtectionBypassQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: UpdateProjectProtectionBypassPathParams + queryParams?: UpdateProjectProtectionBypassQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< @@ -5795,9 +5670,9 @@ export async function updateProjectProtectionBypass({ url: `/v1/projects/${idOrName}/protection-bypass`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -5808,20 +5683,20 @@ export async function updateProjectProtectionBypass({ export async function requestPromote({ pathParams: { projectId, deploymentId }, queryParams, - config = {} + config = {}, }: { - pathParams: RequestPromotePathParams; - queryParams?: RequestPromoteQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: RequestPromotePathParams + queryParams?: RequestPromoteQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!projectId) { - throw new Error(`Missing required path parameter: projectId`); + throw new Error(`Missing required path parameter: projectId`) } if (!deploymentId) { - throw new Error(`Missing required path parameter: deploymentId`); + throw new Error(`Missing required path parameter: deploymentId`) } const data = await request< @@ -5831,8 +5706,8 @@ export async function requestPromote({ Record, RequestPromoteQueryParams, RequestPromotePathParams - >({ method: 'POST', url: `/v10/projects/${projectId}/promote/${deploymentId}`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'POST', url: `/v10/projects/${projectId}/promote/${deploymentId}`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -5843,16 +5718,16 @@ export async function requestPromote({ export async function listPromoteAliases({ pathParams: { projectId }, queryParams, - config = {} + config = {}, }: { - pathParams: ListPromoteAliasesPathParams; - queryParams?: ListPromoteAliasesQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: ListPromoteAliasesPathParams + queryParams?: ListPromoteAliasesQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!projectId) { - throw new Error(`Missing required path parameter: projectId`); + throw new Error(`Missing required path parameter: projectId`) } const data = await request< @@ -5862,8 +5737,8 @@ export async function listPromoteAliases({ Record, ListPromoteAliasesQueryParams, ListPromoteAliasesPathParams - >({ method: 'GET', url: `/v1/projects/${projectId}/promote/aliases`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v1/projects/${projectId}/promote/aliases`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -5874,16 +5749,16 @@ export async function listPromoteAliases({ export async function pauseProject({ pathParams: { projectId }, queryParams, - config = {} + config = {}, }: { - pathParams: PauseProjectPathParams; - queryParams?: PauseProjectQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: PauseProjectPathParams + queryParams?: PauseProjectQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!projectId) { - throw new Error(`Missing required path parameter: projectId`); + throw new Error(`Missing required path parameter: projectId`) } const data = await request< @@ -5893,8 +5768,8 @@ export async function pauseProject({ Record, PauseProjectQueryParams, PauseProjectPathParams - >({ method: 'POST', url: `/v1/projects/${projectId}/pause`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'POST', url: `/v1/projects/${projectId}/pause`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -5905,16 +5780,16 @@ export async function pauseProject({ export async function unpauseProject({ pathParams: { projectId }, queryParams, - config = {} + config = {}, }: { - pathParams: UnpauseProjectPathParams; - queryParams?: UnpauseProjectQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: UnpauseProjectPathParams + queryParams?: UnpauseProjectQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!projectId) { - throw new Error(`Missing required path parameter: projectId`); + throw new Error(`Missing required path parameter: projectId`) } const data = await request< @@ -5924,8 +5799,8 @@ export async function unpauseProject({ Record, UnpauseProjectQueryParams, UnpauseProjectPathParams - >({ method: 'POST', url: `/v1/projects/${projectId}/unpause`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'POST', url: `/v1/projects/${projectId}/unpause`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -5935,21 +5810,16 @@ export async function unpauseProject({ */ export async function updateAttackChallengeMode({ queryParams, - config = {} + config = {}, }: { - queryParams?: UpdateAttackChallengeModeQueryParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: UpdateAttackChallengeModeQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< UpdateAttackChallengeModeMutationResponse, - ErrorWrapper< - | UpdateAttackChallengeMode400 - | UpdateAttackChallengeMode401 - | UpdateAttackChallengeMode403 - | UpdateAttackChallengeMode404 - >, + ErrorWrapper, null, Record, UpdateAttackChallengeModeQueryParams, @@ -5959,9 +5829,9 @@ export async function updateAttackChallengeMode({ url: `/v1/security/attack-mode`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -5971,23 +5841,16 @@ export async function updateAttackChallengeMode({ */ export async function putFirewallConfig({ queryParams, - config = {} + config = {}, }: { - queryParams: PutFirewallConfigQueryParams; - config?: Partial & { client?: typeof client }; + queryParams: PutFirewallConfigQueryParams + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< PutFirewallConfigMutationResponse, - ErrorWrapper< - | PutFirewallConfig400 - | PutFirewallConfig401 - | PutFirewallConfig402 - | PutFirewallConfig403 - | PutFirewallConfig404 - | PutFirewallConfig500 - >, + ErrorWrapper, null, Record, PutFirewallConfigQueryParams, @@ -5997,9 +5860,9 @@ export async function putFirewallConfig({ url: `/v1/security/firewall/config`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -6009,22 +5872,17 @@ export async function putFirewallConfig({ */ export async function updateFirewallConfig({ queryParams, - config = {} + config = {}, }: { - queryParams: UpdateFirewallConfigQueryParams; - config?: Partial & { client?: typeof client }; + queryParams: UpdateFirewallConfigQueryParams + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< UpdateFirewallConfigMutationResponse, ErrorWrapper< - | UpdateFirewallConfig400 - | UpdateFirewallConfig401 - | UpdateFirewallConfig402 - | UpdateFirewallConfig403 - | UpdateFirewallConfig404 - | UpdateFirewallConfig500 + UpdateFirewallConfig400 | UpdateFirewallConfig401 | UpdateFirewallConfig402 | UpdateFirewallConfig403 | UpdateFirewallConfig404 | UpdateFirewallConfig500 >, null, Record, @@ -6035,9 +5893,9 @@ export async function updateFirewallConfig({ url: `/v1/security/firewall/config`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -6048,16 +5906,16 @@ export async function updateFirewallConfig({ export async function getFirewallConfig({ pathParams: { configVersion }, queryParams, - config = {} + config = {}, }: { - pathParams: GetFirewallConfigPathParams; - queryParams: GetFirewallConfigQueryParams; - config?: Partial & { client?: typeof client }; + pathParams: GetFirewallConfigPathParams + queryParams: GetFirewallConfigQueryParams + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!configVersion) { - throw new Error(`Missing required path parameter: configVersion`); + throw new Error(`Missing required path parameter: configVersion`) } const data = await request< @@ -6067,8 +5925,8 @@ export async function getFirewallConfig({ Record, GetFirewallConfigQueryParams, GetFirewallConfigPathParams - >({ method: 'GET', url: `/v1/security/firewall/config/${configVersion}`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v1/security/firewall/config/${configVersion}`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -6078,24 +5936,22 @@ export async function getFirewallConfig({ */ export async function getActiveAttackStatus({ queryParams, - config = {} + config = {}, }: { - queryParams: GetActiveAttackStatusQueryParams; - config?: Partial & { client?: typeof client }; + queryParams: GetActiveAttackStatusQueryParams + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< GetActiveAttackStatusQueryResponse, - ErrorWrapper< - GetActiveAttackStatus400 | GetActiveAttackStatus401 | GetActiveAttackStatus403 | GetActiveAttackStatus404 - >, + ErrorWrapper, null, Record, GetActiveAttackStatusQueryParams, Record - >({ method: 'GET', url: `/v1/security/firewall/attack-status`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v1/security/firewall/attack-status`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -6105,12 +5961,12 @@ export async function getActiveAttackStatus({ */ export async function getBypassIp({ queryParams, - config = {} + config = {}, }: { - queryParams: GetBypassIpQueryParams; - config?: Partial & { client?: typeof client }; + queryParams: GetBypassIpQueryParams + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< GetBypassIpQueryResponse, @@ -6119,8 +5975,8 @@ export async function getBypassIp({ Record, GetBypassIpQueryParams, Record - >({ method: 'GET', url: `/v1/security/firewall/bypass`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v1/security/firewall/bypass`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -6130,12 +5986,12 @@ export async function getBypassIp({ */ export async function addBypassIp({ queryParams, - config = {} + config = {}, }: { - queryParams: AddBypassIpQueryParams; - config?: Partial & { client?: typeof client }; + queryParams: AddBypassIpQueryParams + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< AddBypassIpMutationResponse, @@ -6149,9 +6005,9 @@ export async function addBypassIp({ url: `/v1/security/firewall/bypass`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -6161,12 +6017,12 @@ export async function addBypassIp({ */ export async function removeBypassIp({ queryParams, - config = {} + config = {}, }: { - queryParams: RemoveBypassIpQueryParams; - config?: Partial & { client?: typeof client }; + queryParams: RemoveBypassIpQueryParams + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< RemoveBypassIpMutationResponse, @@ -6180,9 +6036,9 @@ export async function removeBypassIp({ url: `/v1/security/firewall/bypass`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -6193,16 +6049,16 @@ export async function removeBypassIp({ export async function getTeamMembers({ pathParams: { teamId }, queryParams, - config = {} + config = {}, }: { - pathParams: GetTeamMembersPathParams; - queryParams?: GetTeamMembersQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetTeamMembersPathParams + queryParams?: GetTeamMembersQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!teamId) { - throw new Error(`Missing required path parameter: teamId`); + throw new Error(`Missing required path parameter: teamId`) } const data = await request< @@ -6212,8 +6068,8 @@ export async function getTeamMembers({ Record, GetTeamMembersQueryParams, GetTeamMembersPathParams - >({ method: 'GET', url: `/v3/teams/${teamId}/members`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v3/teams/${teamId}/members`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -6223,15 +6079,15 @@ export async function getTeamMembers({ */ export async function inviteUserToTeam({ pathParams: { teamId }, - config = {} + config = {}, }: { - pathParams: InviteUserToTeamPathParams; - config?: Partial & { client?: typeof client }; + pathParams: InviteUserToTeamPathParams + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!teamId) { - throw new Error(`Missing required path parameter: teamId`); + throw new Error(`Missing required path parameter: teamId`) } const data = await request< @@ -6241,13 +6097,8 @@ export async function inviteUserToTeam({ Record, Record, InviteUserToTeamPathParams - >({ - method: 'POST', - url: `/v1/teams/${teamId}/members`, - ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'POST', url: `/v1/teams/${teamId}/members`, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -6257,37 +6108,26 @@ export async function inviteUserToTeam({ */ export async function requestAccessToTeam({ pathParams: { teamId }, - config = {} + config = {}, }: { - pathParams: RequestAccessToTeamPathParams; - config?: Partial & { client?: typeof client }; + pathParams: RequestAccessToTeamPathParams + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!teamId) { - throw new Error(`Missing required path parameter: teamId`); + throw new Error(`Missing required path parameter: teamId`) } const data = await request< RequestAccessToTeamMutationResponse, - ErrorWrapper< - | RequestAccessToTeam400 - | RequestAccessToTeam401 - | RequestAccessToTeam403 - | RequestAccessToTeam404 - | RequestAccessToTeam503 - >, + ErrorWrapper, null, Record, Record, RequestAccessToTeamPathParams - >({ - method: 'POST', - url: `/v1/teams/${teamId}/request`, - ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'POST', url: `/v1/teams/${teamId}/request`, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -6297,19 +6137,19 @@ export async function requestAccessToTeam({ */ export async function getTeamAccessRequest({ pathParams: { userId, teamId }, - config = {} + config = {}, }: { - pathParams: GetTeamAccessRequestPathParams; - config?: Partial & { client?: typeof client }; + pathParams: GetTeamAccessRequestPathParams + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!userId) { - throw new Error(`Missing required path parameter: userId`); + throw new Error(`Missing required path parameter: userId`) } if (!teamId) { - throw new Error(`Missing required path parameter: teamId`); + throw new Error(`Missing required path parameter: teamId`) } const data = await request< @@ -6319,8 +6159,8 @@ export async function getTeamAccessRequest({ Record, Record, GetTeamAccessRequestPathParams - >({ method: 'GET', url: `/v1/teams/${teamId}/request/${userId}`, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v1/teams/${teamId}/request/${userId}`, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -6330,15 +6170,15 @@ export async function getTeamAccessRequest({ */ export async function joinTeam({ pathParams: { teamId }, - config = {} + config = {}, }: { - pathParams: JoinTeamPathParams; - config?: Partial & { client?: typeof client }; + pathParams: JoinTeamPathParams + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!teamId) { - throw new Error(`Missing required path parameter: teamId`); + throw new Error(`Missing required path parameter: teamId`) } const data = await request< @@ -6352,9 +6192,9 @@ export async function joinTeam({ method: 'POST', url: `/v1/teams/${teamId}/members/teams/join`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -6364,42 +6204,30 @@ export async function joinTeam({ */ export async function updateTeamMember({ pathParams: { uid, teamId }, - config = {} + config = {}, }: { - pathParams: UpdateTeamMemberPathParams; - config?: Partial & { client?: typeof client }; + pathParams: UpdateTeamMemberPathParams + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!uid) { - throw new Error(`Missing required path parameter: uid`); + throw new Error(`Missing required path parameter: uid`) } if (!teamId) { - throw new Error(`Missing required path parameter: teamId`); + throw new Error(`Missing required path parameter: teamId`) } const data = await request< UpdateTeamMemberMutationResponse, - ErrorWrapper< - | UpdateTeamMember400 - | UpdateTeamMember401 - | UpdateTeamMember402 - | UpdateTeamMember403 - | UpdateTeamMember404 - | UpdateTeamMember500 - >, + ErrorWrapper, null, Record, Record, UpdateTeamMemberPathParams - >({ - method: 'PATCH', - url: `/v1/teams/${teamId}/members/${uid}`, - ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'PATCH', url: `/v1/teams/${teamId}/members/${uid}`, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -6410,33 +6238,31 @@ export async function updateTeamMember({ export async function removeTeamMember({ pathParams: { uid, teamId }, queryParams, - config = {} + config = {}, }: { - pathParams: RemoveTeamMemberPathParams; - queryParams?: RemoveTeamMemberQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: RemoveTeamMemberPathParams + queryParams?: RemoveTeamMemberQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!uid) { - throw new Error(`Missing required path parameter: uid`); + throw new Error(`Missing required path parameter: uid`) } if (!teamId) { - throw new Error(`Missing required path parameter: teamId`); + throw new Error(`Missing required path parameter: teamId`) } const data = await request< RemoveTeamMemberMutationResponse, - ErrorWrapper< - RemoveTeamMember400 | RemoveTeamMember401 | RemoveTeamMember403 | RemoveTeamMember404 | RemoveTeamMember503 - >, + ErrorWrapper, null, Record, RemoveTeamMemberQueryParams, RemoveTeamMemberPathParams - >({ method: 'DELETE', url: `/v1/teams/${teamId}/members/${uid}`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'DELETE', url: `/v1/teams/${teamId}/members/${uid}`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -6447,16 +6273,16 @@ export async function removeTeamMember({ export async function getTeam({ pathParams: { teamId }, queryParams, - config = {} + config = {}, }: { - pathParams: GetTeamPathParams; - queryParams?: GetTeamQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetTeamPathParams + queryParams?: GetTeamQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!teamId) { - throw new Error(`Missing required path parameter: teamId`); + throw new Error(`Missing required path parameter: teamId`) } const data = await request< @@ -6466,8 +6292,8 @@ export async function getTeam({ Record, GetTeamQueryParams, GetTeamPathParams - >({ method: 'GET', url: `/v2/teams/${teamId}`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v2/teams/${teamId}`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -6478,16 +6304,16 @@ export async function getTeam({ export async function patchTeam({ pathParams: { teamId }, queryParams, - config = {} + config = {}, }: { - pathParams: PatchTeamPathParams; - queryParams?: PatchTeamQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: PatchTeamPathParams + queryParams?: PatchTeamQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!teamId) { - throw new Error(`Missing required path parameter: teamId`); + throw new Error(`Missing required path parameter: teamId`) } const data = await request< @@ -6497,14 +6323,8 @@ export async function patchTeam({ Record, PatchTeamQueryParams, PatchTeamPathParams - >({ - method: 'PATCH', - url: `/v2/teams/${teamId}`, - queryParams, - ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'PATCH', url: `/v2/teams/${teamId}`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -6514,12 +6334,12 @@ export async function patchTeam({ */ export async function getTeams({ queryParams, - config = {} + config = {}, }: { - queryParams?: GetTeamsQueryParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: GetTeamsQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< GetTeamsQueryResponse, @@ -6528,8 +6348,8 @@ export async function getTeams({ Record, GetTeamsQueryParams, Record - >({ method: 'GET', url: `/v2/teams`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v2/teams`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -6537,12 +6357,8 @@ export async function getTeams({ * @summary Create a Team * {@link /v1/teams} */ -export async function createTeam({ - config = {} -}: { - config?: Partial & { client?: typeof client }; -}): Promise> { - const { client: request = client, ...requestConfig } = config; +export async function createTeam({ config = {} }: { config?: Partial & { client?: typeof client } }): Promise> { + const { client: request = client, ...requestConfig } = config const data = await request< CreateTeamMutationResponse, @@ -6551,13 +6367,8 @@ export async function createTeam({ Record, Record, Record - >({ - method: 'POST', - url: `/v1/teams`, - ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'POST', url: `/v1/teams`, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -6568,16 +6379,16 @@ export async function createTeam({ export async function deleteTeam({ pathParams: { teamId }, queryParams, - config = {} + config = {}, }: { - pathParams: DeleteTeamPathParams; - queryParams?: DeleteTeamQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: DeleteTeamPathParams + queryParams?: DeleteTeamQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!teamId) { - throw new Error(`Missing required path parameter: teamId`); + throw new Error(`Missing required path parameter: teamId`) } const data = await request< @@ -6587,14 +6398,8 @@ export async function deleteTeam({ Record, DeleteTeamQueryParams, DeleteTeamPathParams - >({ - method: 'DELETE', - url: `/v1/teams/${teamId}`, - queryParams, - ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'DELETE', url: `/v1/teams/${teamId}`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -6604,19 +6409,19 @@ export async function deleteTeam({ */ export async function deleteTeamInviteCode({ pathParams: { inviteId, teamId }, - config = {} + config = {}, }: { - pathParams: DeleteTeamInviteCodePathParams; - config?: Partial & { client?: typeof client }; + pathParams: DeleteTeamInviteCodePathParams + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!inviteId) { - throw new Error(`Missing required path parameter: inviteId`); + throw new Error(`Missing required path parameter: inviteId`) } if (!teamId) { - throw new Error(`Missing required path parameter: teamId`); + throw new Error(`Missing required path parameter: teamId`) } const data = await request< @@ -6626,8 +6431,8 @@ export async function deleteTeamInviteCode({ Record, Record, DeleteTeamInviteCodePathParams - >({ method: 'DELETE', url: `/v1/teams/${teamId}/invites/${inviteId}`, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'DELETE', url: `/v1/teams/${teamId}/invites/${inviteId}`, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -6638,13 +6443,13 @@ export async function deleteTeamInviteCode({ export async function uploadFile({ queryParams, headers, - config = {} + config = {}, }: { - queryParams?: UploadFileQueryParams | undefined; - headers?: UploadFileHeaderParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: UploadFileQueryParams | undefined + headers?: UploadFileHeaderParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< UploadFileMutationResponse, @@ -6658,9 +6463,9 @@ export async function uploadFile({ url: `/v2/files`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationOctetStream', ...headers, ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationOctetStream', ...headers, ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -6668,12 +6473,8 @@ export async function uploadFile({ * @summary List Auth Tokens * {@link /v5/user/tokens} */ -export async function listAuthTokens({ - config = {} -}: { - config?: Partial & { client?: typeof client }; -}): Promise> { - const { client: request = client, ...requestConfig } = config; +export async function listAuthTokens({ config = {} }: { config?: Partial & { client?: typeof client } }): Promise> { + const { client: request = client, ...requestConfig } = config const data = await request< ListAuthTokensQueryResponse, @@ -6682,8 +6483,8 @@ export async function listAuthTokens({ Record, Record, Record - >({ method: 'GET', url: `/v5/user/tokens`, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v5/user/tokens`, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -6693,12 +6494,12 @@ export async function listAuthTokens({ */ export async function createAuthToken({ queryParams, - config = {} + config = {}, }: { - queryParams?: CreateAuthTokenQueryParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: CreateAuthTokenQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< CreateAuthTokenMutationResponse, @@ -6707,14 +6508,8 @@ export async function createAuthToken({ Record, CreateAuthTokenQueryParams, Record - >({ - method: 'POST', - url: `/v3/user/tokens`, - queryParams, - ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'POST', url: `/v3/user/tokens`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -6724,15 +6519,15 @@ export async function createAuthToken({ */ export async function getAuthToken({ pathParams: { tokenId }, - config = {} + config = {}, }: { - pathParams: GetAuthTokenPathParams; - config?: Partial & { client?: typeof client }; + pathParams: GetAuthTokenPathParams + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!tokenId) { - throw new Error(`Missing required path parameter: tokenId`); + throw new Error(`Missing required path parameter: tokenId`) } const data = await request< @@ -6742,8 +6537,8 @@ export async function getAuthToken({ Record, Record, GetAuthTokenPathParams - >({ method: 'GET', url: `/v5/user/tokens/${tokenId}`, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v5/user/tokens/${tokenId}`, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -6753,15 +6548,15 @@ export async function getAuthToken({ */ export async function deleteAuthToken({ pathParams: { tokenId }, - config = {} + config = {}, }: { - pathParams: DeleteAuthTokenPathParams; - config?: Partial & { client?: typeof client }; + pathParams: DeleteAuthTokenPathParams + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!tokenId) { - throw new Error(`Missing required path parameter: tokenId`); + throw new Error(`Missing required path parameter: tokenId`) } const data = await request< @@ -6771,8 +6566,8 @@ export async function deleteAuthToken({ Record, Record, DeleteAuthTokenPathParams - >({ method: 'DELETE', url: `/v3/user/tokens/${tokenId}`, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'DELETE', url: `/v3/user/tokens/${tokenId}`, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -6780,12 +6575,8 @@ export async function deleteAuthToken({ * @summary Get the User * {@link /v2/user} */ -export async function getAuthUser({ - config = {} -}: { - config?: Partial & { client?: typeof client }; -}): Promise> { - const { client: request = client, ...requestConfig } = config; +export async function getAuthUser({ config = {} }: { config?: Partial & { client?: typeof client } }): Promise> { + const { client: request = client, ...requestConfig } = config const data = await request< GetAuthUserQueryResponse, @@ -6794,8 +6585,8 @@ export async function getAuthUser({ Record, Record, Record - >({ method: 'GET', url: `/v2/user`, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v2/user`, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -6803,12 +6594,8 @@ export async function getAuthUser({ * @summary Delete User Account * {@link /v1/user} */ -export async function requestDelete({ - config = {} -}: { - config?: Partial & { client?: typeof client }; -}): Promise> { - const { client: request = client, ...requestConfig } = config; +export async function requestDelete({ config = {} }: { config?: Partial & { client?: typeof client } }): Promise> { + const { client: request = client, ...requestConfig } = config const data = await request< RequestDeleteMutationResponse, @@ -6817,13 +6604,8 @@ export async function requestDelete({ Record, Record, Record - >({ - method: 'DELETE', - url: `/v1/user`, - ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'DELETE', url: `/v1/user`, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -6833,12 +6615,12 @@ export async function requestDelete({ */ export async function createWebhook({ queryParams, - config = {} + config = {}, }: { - queryParams?: CreateWebhookQueryParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: CreateWebhookQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< CreateWebhookMutationResponse, @@ -6847,14 +6629,8 @@ export async function createWebhook({ Record, CreateWebhookQueryParams, Record - >({ - method: 'POST', - url: `/v1/webhooks`, - queryParams, - ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'POST', url: `/v1/webhooks`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -6864,12 +6640,12 @@ export async function createWebhook({ */ export async function getWebhooks({ queryParams, - config = {} + config = {}, }: { - queryParams?: GetWebhooksQueryParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: GetWebhooksQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< GetWebhooksQueryResponse, @@ -6878,8 +6654,8 @@ export async function getWebhooks({ Record, GetWebhooksQueryParams, Record - >({ method: 'GET', url: `/v1/webhooks`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v1/webhooks`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -6890,16 +6666,16 @@ export async function getWebhooks({ export async function getWebhook({ pathParams: { id }, queryParams, - config = {} + config = {}, }: { - pathParams: GetWebhookPathParams; - queryParams?: GetWebhookQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetWebhookPathParams + queryParams?: GetWebhookQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!id) { - throw new Error(`Missing required path parameter: id`); + throw new Error(`Missing required path parameter: id`) } const data = await request< @@ -6909,8 +6685,8 @@ export async function getWebhook({ Record, GetWebhookQueryParams, GetWebhookPathParams - >({ method: 'GET', url: `/v1/webhooks/${id}`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v1/webhooks/${id}`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -6921,16 +6697,16 @@ export async function getWebhook({ export async function deleteWebhook({ pathParams: { id }, queryParams, - config = {} + config = {}, }: { - pathParams: DeleteWebhookPathParams; - queryParams?: DeleteWebhookQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: DeleteWebhookPathParams + queryParams?: DeleteWebhookQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!id) { - throw new Error(`Missing required path parameter: id`); + throw new Error(`Missing required path parameter: id`) } const data = await request< @@ -6940,8 +6716,8 @@ export async function deleteWebhook({ Record, DeleteWebhookQueryParams, DeleteWebhookPathParams - >({ method: 'DELETE', url: `/v1/webhooks/${id}`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'DELETE', url: `/v1/webhooks/${id}`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -6952,29 +6728,27 @@ export async function deleteWebhook({ export async function listDeploymentAliases({ pathParams: { id }, queryParams, - config = {} + config = {}, }: { - pathParams: ListDeploymentAliasesPathParams; - queryParams?: ListDeploymentAliasesQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: ListDeploymentAliasesPathParams + queryParams?: ListDeploymentAliasesQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!id) { - throw new Error(`Missing required path parameter: id`); + throw new Error(`Missing required path parameter: id`) } const data = await request< ListDeploymentAliasesQueryResponse, - ErrorWrapper< - ListDeploymentAliases400 | ListDeploymentAliases401 | ListDeploymentAliases403 | ListDeploymentAliases404 - >, + ErrorWrapper, null, Record, ListDeploymentAliasesQueryParams, ListDeploymentAliasesPathParams - >({ method: 'GET', url: `/v2/deployments/${id}/aliases`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v2/deployments/${id}/aliases`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -6985,16 +6759,16 @@ export async function listDeploymentAliases({ export async function assignAlias({ pathParams: { id }, queryParams, - config = {} + config = {}, }: { - pathParams: AssignAliasPathParams; - queryParams?: AssignAliasQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: AssignAliasPathParams + queryParams?: AssignAliasQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!id) { - throw new Error(`Missing required path parameter: id`); + throw new Error(`Missing required path parameter: id`) } const data = await request< @@ -7009,9 +6783,9 @@ export async function assignAlias({ url: `/v2/deployments/${id}/aliases`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -7021,12 +6795,12 @@ export async function assignAlias({ */ export async function listAliases({ queryParams, - config = {} + config = {}, }: { - queryParams?: ListAliasesQueryParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: ListAliasesQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< ListAliasesQueryResponse, @@ -7035,8 +6809,8 @@ export async function listAliases({ Record, ListAliasesQueryParams, Record - >({ method: 'GET', url: `/v4/aliases`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v4/aliases`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -7047,16 +6821,16 @@ export async function listAliases({ export async function getAlias({ pathParams: { idOrAlias }, queryParams, - config = {} + config = {}, }: { - pathParams: GetAliasPathParams; - queryParams?: GetAliasQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetAliasPathParams + queryParams?: GetAliasQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrAlias) { - throw new Error(`Missing required path parameter: idOrAlias`); + throw new Error(`Missing required path parameter: idOrAlias`) } const data = await request< @@ -7066,8 +6840,8 @@ export async function getAlias({ Record, GetAliasQueryParams, GetAliasPathParams - >({ method: 'GET', url: `/v4/aliases/${idOrAlias}`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v4/aliases/${idOrAlias}`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -7078,16 +6852,16 @@ export async function getAlias({ export async function deleteAlias({ pathParams: { aliasId }, queryParams, - config = {} + config = {}, }: { - pathParams: DeleteAliasPathParams; - queryParams?: DeleteAliasQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: DeleteAliasPathParams + queryParams?: DeleteAliasQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!aliasId) { - throw new Error(`Missing required path parameter: aliasId`); + throw new Error(`Missing required path parameter: aliasId`) } const data = await request< @@ -7097,8 +6871,8 @@ export async function deleteAlias({ Record, DeleteAliasQueryParams, DeleteAliasPathParams - >({ method: 'DELETE', url: `/v2/aliases/${aliasId}`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'DELETE', url: `/v2/aliases/${aliasId}`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -7109,16 +6883,16 @@ export async function deleteAlias({ export async function patchUrlProtectionBypass({ pathParams: { id }, queryParams, - config = {} + config = {}, }: { - pathParams: PatchUrlProtectionBypassPathParams; - queryParams?: PatchUrlProtectionBypassQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: PatchUrlProtectionBypassPathParams + queryParams?: PatchUrlProtectionBypassQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!id) { - throw new Error(`Missing required path parameter: id`); + throw new Error(`Missing required path parameter: id`) } const data = await request< @@ -7141,20 +6915,16 @@ export async function patchUrlProtectionBypass({ url: `/aliases/${id}/protection-bypass`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, + }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** * {@link /certs} */ -export async function listCerts({ - config = {} -}: { - config?: Partial & { client?: typeof client }; -}): Promise> { - const { client: request = client, ...requestConfig } = config; +export async function listCerts({ config = {} }: { config?: Partial & { client?: typeof client } }): Promise> { + const { client: request = client, ...requestConfig } = config const data = await request< ListCertsQueryResponse, @@ -7163,8 +6933,8 @@ export async function listCerts({ Record, Record, Record - >({ method: 'GET', url: `/certs`, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/certs`, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -7175,16 +6945,16 @@ export async function listCerts({ export async function getCertById({ pathParams: { id }, queryParams, - config = {} + config = {}, }: { - pathParams: GetCertByIdPathParams; - queryParams?: GetCertByIdQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetCertByIdPathParams + queryParams?: GetCertByIdQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!id) { - throw new Error(`Missing required path parameter: id`); + throw new Error(`Missing required path parameter: id`) } const data = await request< @@ -7194,8 +6964,8 @@ export async function getCertById({ Record, GetCertByIdQueryParams, GetCertByIdPathParams - >({ method: 'GET', url: `/v8/certs/${id}`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v8/certs/${id}`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -7206,16 +6976,16 @@ export async function getCertById({ export async function removeCert({ pathParams: { id }, queryParams, - config = {} + config = {}, }: { - pathParams: RemoveCertPathParams; - queryParams?: RemoveCertQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: RemoveCertPathParams + queryParams?: RemoveCertQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!id) { - throw new Error(`Missing required path parameter: id`); + throw new Error(`Missing required path parameter: id`) } const data = await request< @@ -7225,8 +6995,8 @@ export async function removeCert({ Record, RemoveCertQueryParams, RemoveCertPathParams - >({ method: 'DELETE', url: `/v8/certs/${id}`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'DELETE', url: `/v8/certs/${id}`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -7236,30 +7006,22 @@ export async function removeCert({ */ export async function issueCert({ queryParams, - config = {} + config = {}, }: { - queryParams?: IssueCertQueryParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: IssueCertQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< IssueCertMutationResponse, - ErrorWrapper< - IssueCert400 | IssueCert401 | IssueCert402 | IssueCert403 | IssueCert404 | IssueCert449 | IssueCert500 - >, + ErrorWrapper, null, - Record, - IssueCertQueryParams, - Record - >({ - method: 'POST', - url: `/v8/certs`, - queryParams, - ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + Record, + IssueCertQueryParams, + Record + >({ method: 'POST', url: `/v8/certs`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -7269,12 +7031,12 @@ export async function issueCert({ */ export async function uploadCert({ queryParams, - config = {} + config = {}, }: { - queryParams?: UploadCertQueryParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: UploadCertQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< UploadCertMutationResponse, @@ -7283,14 +7045,8 @@ export async function uploadCert({ Record, UploadCertQueryParams, Record - >({ - method: 'PUT', - url: `/v8/certs`, - queryParams, - ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'PUT', url: `/v8/certs`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -7301,16 +7057,16 @@ export async function uploadCert({ export async function listDeploymentFiles({ pathParams: { id }, queryParams, - config = {} + config = {}, }: { - pathParams: ListDeploymentFilesPathParams; - queryParams?: ListDeploymentFilesQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: ListDeploymentFilesPathParams + queryParams?: ListDeploymentFilesQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!id) { - throw new Error(`Missing required path parameter: id`); + throw new Error(`Missing required path parameter: id`) } const data = await request< @@ -7320,8 +7076,8 @@ export async function listDeploymentFiles({ Record, ListDeploymentFilesQueryParams, ListDeploymentFilesPathParams - >({ method: 'GET', url: `/v6/deployments/${id}/files`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v6/deployments/${id}/files`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -7332,37 +7088,33 @@ export async function listDeploymentFiles({ export async function getDeploymentFileContents({ pathParams: { id, fileId }, queryParams, - config = {} + config = {}, }: { - pathParams: GetDeploymentFileContentsPathParams; - queryParams?: GetDeploymentFileContentsQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetDeploymentFileContentsPathParams + queryParams?: GetDeploymentFileContentsQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!id) { - throw new Error(`Missing required path parameter: id`); + throw new Error(`Missing required path parameter: id`) } if (!fileId) { - throw new Error(`Missing required path parameter: fileId`); + throw new Error(`Missing required path parameter: fileId`) } const data = await request< GetDeploymentFileContentsQueryResponse, ErrorWrapper< - | GetDeploymentFileContents400 - | GetDeploymentFileContents401 - | GetDeploymentFileContents403 - | GetDeploymentFileContents404 - | GetDeploymentFileContents410 + GetDeploymentFileContents400 | GetDeploymentFileContents401 | GetDeploymentFileContents403 | GetDeploymentFileContents404 | GetDeploymentFileContents410 >, null, Record, GetDeploymentFileContentsQueryParams, GetDeploymentFileContentsPathParams - >({ method: 'GET', url: `/v8/deployments/${id}/files/${fileId}`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v8/deployments/${id}/files/${fileId}`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -7372,12 +7124,12 @@ export async function getDeploymentFileContents({ */ export async function getDeployments({ queryParams, - config = {} + config = {}, }: { - queryParams?: GetDeploymentsQueryParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: GetDeploymentsQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< GetDeploymentsQueryResponse, @@ -7386,8 +7138,8 @@ export async function getDeployments({ Record, GetDeploymentsQueryParams, Record - >({ method: 'GET', url: `/v6/deployments`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v6/deployments`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -7398,16 +7150,16 @@ export async function getDeployments({ export async function deleteDeployment({ pathParams: { id }, queryParams, - config = {} + config = {}, }: { - pathParams: DeleteDeploymentPathParams; - queryParams?: DeleteDeploymentQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: DeleteDeploymentPathParams + queryParams?: DeleteDeploymentQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!id) { - throw new Error(`Missing required path parameter: id`); + throw new Error(`Missing required path parameter: id`) } const data = await request< @@ -7417,8 +7169,8 @@ export async function deleteDeployment({ Record, DeleteDeploymentQueryParams, DeleteDeploymentPathParams - >({ method: 'DELETE', url: `/v13/deployments/${id}`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'DELETE', url: `/v13/deployments/${id}`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -7428,12 +7180,12 @@ export async function deleteDeployment({ */ export async function getSecrets({ queryParams, - config = {} + config = {}, }: { - queryParams?: GetSecretsQueryParams | undefined; - config?: Partial & { client?: typeof client }; + queryParams?: GetSecretsQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config const data = await request< GetSecretsQueryResponse, @@ -7442,8 +7194,8 @@ export async function getSecrets({ Record, GetSecretsQueryParams, Record - >({ method: 'GET', url: `/v3/secrets`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v3/secrets`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -7454,16 +7206,16 @@ export async function getSecrets({ export async function createSecret({ pathParams: { name }, queryParams, - config = {} + config = {}, }: { - pathParams: CreateSecretPathParams; - queryParams?: CreateSecretQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: CreateSecretPathParams + queryParams?: CreateSecretQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!name) { - throw new Error(`Missing required path parameter: name`); + throw new Error(`Missing required path parameter: name`) } const data = await request< @@ -7473,14 +7225,8 @@ export async function createSecret({ Record, CreateSecretQueryParams, CreateSecretPathParams - >({ - method: 'POST', - url: `/v2/secrets/${name}`, - queryParams, - ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'POST', url: `/v2/secrets/${name}`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -7491,16 +7237,16 @@ export async function createSecret({ export async function renameSecret({ pathParams: { name }, queryParams, - config = {} + config = {}, }: { - pathParams: RenameSecretPathParams; - queryParams?: RenameSecretQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: RenameSecretPathParams + queryParams?: RenameSecretQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!name) { - throw new Error(`Missing required path parameter: name`); + throw new Error(`Missing required path parameter: name`) } const data = await request< @@ -7510,14 +7256,8 @@ export async function renameSecret({ Record, RenameSecretQueryParams, RenameSecretPathParams - >({ - method: 'PATCH', - url: `/v2/secrets/${name}`, - queryParams, - ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } - }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'PATCH', url: `/v2/secrets/${name}`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -7528,16 +7268,16 @@ export async function renameSecret({ export async function getSecret({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: GetSecretPathParams; - queryParams?: GetSecretQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: GetSecretPathParams + queryParams?: GetSecretQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< @@ -7547,8 +7287,8 @@ export async function getSecret({ Record, GetSecretQueryParams, GetSecretPathParams - >({ method: 'GET', url: `/v3/secrets/${idOrName}`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'GET', url: `/v3/secrets/${idOrName}`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } /** @@ -7559,16 +7299,16 @@ export async function getSecret({ export async function deleteSecret({ pathParams: { idOrName }, queryParams, - config = {} + config = {}, }: { - pathParams: DeleteSecretPathParams; - queryParams?: DeleteSecretQueryParams | undefined; - config?: Partial & { client?: typeof client }; + pathParams: DeleteSecretPathParams + queryParams?: DeleteSecretQueryParams | undefined + config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config; + const { client: request = client, ...requestConfig } = config if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`); + throw new Error(`Missing required path parameter: idOrName`) } const data = await request< @@ -7578,178 +7318,159 @@ export async function deleteSecret({ Record, DeleteSecretQueryParams, DeleteSecretPathParams - >({ method: 'DELETE', url: `/v2/secrets/${idOrName}`, queryParams, ...requestConfig }); - return { content: [{ type: 'text', text: JSON.stringify(data) }] }; + >({ method: 'DELETE', url: `/v2/secrets/${idOrName}`, queryParams, ...requestConfig }) + return { content: [{ type: 'text', text: JSON.stringify(data) }] } } -import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; +import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js' export function initMcpTools(serverLike: Server, config: FetcherConfig) { - const server = serverLike as McpServer; + const server = serverLike as McpServer server.tool( 'readAccessGroup', 'Allows to read an access group', - { idOrName: readAccessGroupPathParamsSchema.shape.idOrName, queryParams: readAccessGroupQueryParamsSchema }, + { idOrName: readAccessGroupPathParamsSchema.shape['idOrName'], queryParams: readAccessGroupQueryParamsSchema }, async ({ idOrName, queryParams }) => { try { - return await readAccessGroup({ pathParams: { idOrName }, queryParams, config }); + return await readAccessGroup({ pathParams: { idOrName }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'updateAccessGroup', 'Allows to update an access group metadata', - { idOrName: updateAccessGroupPathParamsSchema.shape.idOrName, queryParams: updateAccessGroupQueryParamsSchema }, + { idOrName: updateAccessGroupPathParamsSchema.shape['idOrName'], queryParams: updateAccessGroupQueryParamsSchema }, async ({ idOrName, queryParams }) => { try { - return await updateAccessGroup({ pathParams: { idOrName }, queryParams, config }); + return await updateAccessGroup({ pathParams: { idOrName }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'deleteAccessGroup', 'Allows to delete an access group', - { idOrName: deleteAccessGroupPathParamsSchema.shape.idOrName, queryParams: deleteAccessGroupQueryParamsSchema }, + { idOrName: deleteAccessGroupPathParamsSchema.shape['idOrName'], queryParams: deleteAccessGroupQueryParamsSchema }, async ({ idOrName, queryParams }) => { try { - return await deleteAccessGroup({ pathParams: { idOrName }, queryParams, config }); + return await deleteAccessGroup({ pathParams: { idOrName }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'listAccessGroupMembers', 'List members of an access group', - { - idOrName: listAccessGroupMembersPathParamsSchema.shape.idOrName, - queryParams: listAccessGroupMembersQueryParamsSchema - }, + { idOrName: listAccessGroupMembersPathParamsSchema.shape['idOrName'], queryParams: listAccessGroupMembersQueryParamsSchema }, async ({ idOrName, queryParams }) => { try { - return await listAccessGroupMembers({ pathParams: { idOrName }, queryParams, config }); + return await listAccessGroupMembers({ pathParams: { idOrName }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) - server.tool( - 'listAccessGroups', - 'List access groups', - { queryParams: listAccessGroupsQueryParamsSchema }, - async ({ queryParams }) => { - try { - return await listAccessGroups({ queryParams, config }); - } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; - } + server.tool('listAccessGroups', 'List access groups', { queryParams: listAccessGroupsQueryParamsSchema }, async ({ queryParams }) => { + try { + return await listAccessGroups({ queryParams, config }) + } catch (error) { + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - ); + }) - server.tool( - 'createAccessGroup', - 'Allows to create an access group', - { queryParams: createAccessGroupQueryParamsSchema }, - async ({ queryParams }) => { - try { - return await createAccessGroup({ queryParams, config }); - } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; - } + server.tool('createAccessGroup', 'Allows to create an access group', { queryParams: createAccessGroupQueryParamsSchema }, async ({ queryParams }) => { + try { + return await createAccessGroup({ queryParams, config }) + } catch (error) { + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - ); + }) server.tool( 'listAccessGroupProjects', 'List projects of an access group', - { - idOrName: listAccessGroupProjectsPathParamsSchema.shape.idOrName, - queryParams: listAccessGroupProjectsQueryParamsSchema - }, + { idOrName: listAccessGroupProjectsPathParamsSchema.shape['idOrName'], queryParams: listAccessGroupProjectsQueryParamsSchema }, async ({ idOrName, queryParams }) => { try { - return await listAccessGroupProjects({ pathParams: { idOrName }, queryParams, config }); + return await listAccessGroupProjects({ pathParams: { idOrName }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'createAccessGroupProject', 'Allows creation of an access group project', - { - accessGroupIdOrName: createAccessGroupProjectPathParamsSchema.shape.accessGroupIdOrName, - queryParams: createAccessGroupProjectQueryParamsSchema - }, + { accessGroupIdOrName: createAccessGroupProjectPathParamsSchema.shape['accessGroupIdOrName'], queryParams: createAccessGroupProjectQueryParamsSchema }, async ({ accessGroupIdOrName, queryParams }) => { try { - return await createAccessGroupProject({ pathParams: { accessGroupIdOrName }, queryParams, config }); + return await createAccessGroupProject({ pathParams: { accessGroupIdOrName }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'readAccessGroupProject', 'Allows reading an access group project', { - accessGroupIdOrName: readAccessGroupProjectPathParamsSchema.shape.accessGroupIdOrName, - projectId: readAccessGroupProjectPathParamsSchema.shape.projectId, - queryParams: readAccessGroupProjectQueryParamsSchema + accessGroupIdOrName: readAccessGroupProjectPathParamsSchema.shape['accessGroupIdOrName'], + projectId: readAccessGroupProjectPathParamsSchema.shape['projectId'], + queryParams: readAccessGroupProjectQueryParamsSchema, }, async ({ accessGroupIdOrName, projectId, queryParams }) => { try { - return await readAccessGroupProject({ pathParams: { accessGroupIdOrName, projectId }, queryParams, config }); + return await readAccessGroupProject({ pathParams: { accessGroupIdOrName, projectId }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'updateAccessGroupProject', 'Allows update of an access group project', { - accessGroupIdOrName: updateAccessGroupProjectPathParamsSchema.shape.accessGroupIdOrName, - projectId: updateAccessGroupProjectPathParamsSchema.shape.projectId, - queryParams: updateAccessGroupProjectQueryParamsSchema + accessGroupIdOrName: updateAccessGroupProjectPathParamsSchema.shape['accessGroupIdOrName'], + projectId: updateAccessGroupProjectPathParamsSchema.shape['projectId'], + queryParams: updateAccessGroupProjectQueryParamsSchema, }, async ({ accessGroupIdOrName, projectId, queryParams }) => { try { - return await updateAccessGroupProject({ pathParams: { accessGroupIdOrName, projectId }, queryParams, config }); + return await updateAccessGroupProject({ pathParams: { accessGroupIdOrName, projectId }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'deleteAccessGroupProject', 'Allows deletion of an access group project', { - accessGroupIdOrName: deleteAccessGroupProjectPathParamsSchema.shape.accessGroupIdOrName, - projectId: deleteAccessGroupProjectPathParamsSchema.shape.projectId, - queryParams: deleteAccessGroupProjectQueryParamsSchema + accessGroupIdOrName: deleteAccessGroupProjectPathParamsSchema.shape['accessGroupIdOrName'], + projectId: deleteAccessGroupProjectPathParamsSchema.shape['projectId'], + queryParams: deleteAccessGroupProjectQueryParamsSchema, }, async ({ accessGroupIdOrName, projectId, queryParams }) => { try { - return await deleteAccessGroupProject({ pathParams: { accessGroupIdOrName, projectId }, queryParams, config }); + return await deleteAccessGroupProject({ pathParams: { accessGroupIdOrName, projectId }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'recordEvents', @@ -7757,12 +7478,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { queryParams: recordEventsQueryParamsSchema, headers: recordEventsHeaderParamsSchema }, async ({ queryParams, headers }) => { try { - return await recordEvents({ queryParams, headers, config }); + return await recordEvents({ queryParams, headers, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'status', @@ -7770,136 +7491,123 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { queryParams: statusQueryParamsSchema }, async ({ queryParams }) => { try { - return await status({ queryParams, config }); + return await status({ queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'uploadArtifact', 'Uploads a cache artifact identified by the `hash` specified on the path. The cache artifact can then be downloaded with the provided `hash`.', - { - hash: uploadArtifactPathParamsSchema.shape.hash, - headers: uploadArtifactHeaderParamsSchema, - queryParams: uploadArtifactQueryParamsSchema - }, + { hash: uploadArtifactPathParamsSchema.shape['hash'], headers: uploadArtifactHeaderParamsSchema, queryParams: uploadArtifactQueryParamsSchema }, async ({ hash, headers, queryParams }) => { try { - return await uploadArtifact({ pathParams: { hash }, headers, queryParams, config }); + return await uploadArtifact({ pathParams: { hash }, headers, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'downloadArtifact', 'Downloads a cache artifact indentified by its `hash` specified on the request path. The artifact is downloaded as an octet-stream. The client should verify the content-length header and response body.', - { - hash: downloadArtifactPathParamsSchema.shape.hash, - queryParams: downloadArtifactQueryParamsSchema, - headers: downloadArtifactHeaderParamsSchema - }, + { hash: downloadArtifactPathParamsSchema.shape['hash'], queryParams: downloadArtifactQueryParamsSchema, headers: downloadArtifactHeaderParamsSchema }, async ({ hash, queryParams, headers }) => { try { - return await downloadArtifact({ pathParams: { hash }, queryParams, headers, config }); + return await downloadArtifact({ pathParams: { hash }, queryParams, headers, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) - server.tool( - 'artifactQuery', - 'Query information about an array of artifacts.', - { queryParams: artifactQueryQueryParamsSchema }, - async ({ queryParams }) => { - try { - return await artifactQuery({ queryParams, config }); - } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; - } + server.tool('artifactQuery', 'Query information about an array of artifacts.', { queryParams: artifactQueryQueryParamsSchema }, async ({ queryParams }) => { + try { + return await artifactQuery({ queryParams, config }) + } catch (error) { + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - ); + }) server.tool( 'createCheck', 'Creates a new check. This endpoint must be called with an OAuth2 or it will produce a 400 error.', - { deploymentId: createCheckPathParamsSchema.shape.deploymentId, queryParams: createCheckQueryParamsSchema }, + { deploymentId: createCheckPathParamsSchema.shape['deploymentId'], queryParams: createCheckQueryParamsSchema }, async ({ deploymentId, queryParams }) => { try { - return await createCheck({ pathParams: { deploymentId }, queryParams, config }); + return await createCheck({ pathParams: { deploymentId }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'getAllChecks', 'List all of the checks created for a deployment.', - { deploymentId: getAllChecksPathParamsSchema.shape.deploymentId, queryParams: getAllChecksQueryParamsSchema }, + { deploymentId: getAllChecksPathParamsSchema.shape['deploymentId'], queryParams: getAllChecksQueryParamsSchema }, async ({ deploymentId, queryParams }) => { try { - return await getAllChecks({ pathParams: { deploymentId }, queryParams, config }); + return await getAllChecks({ pathParams: { deploymentId }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'getCheck', 'Return a detailed response for a single check.', { - deploymentId: getCheckPathParamsSchema.shape.deploymentId, - checkId: getCheckPathParamsSchema.shape.checkId, - queryParams: getCheckQueryParamsSchema + deploymentId: getCheckPathParamsSchema.shape['deploymentId'], + checkId: getCheckPathParamsSchema.shape['checkId'], + queryParams: getCheckQueryParamsSchema, }, async ({ deploymentId, checkId, queryParams }) => { try { - return await getCheck({ pathParams: { deploymentId, checkId }, queryParams, config }); + return await getCheck({ pathParams: { deploymentId, checkId }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'updateCheck', 'Update an existing check. This endpoint must be called with an OAuth2 or it will produce a 400 error.', { - deploymentId: updateCheckPathParamsSchema.shape.deploymentId, - checkId: updateCheckPathParamsSchema.shape.checkId, - queryParams: updateCheckQueryParamsSchema + deploymentId: updateCheckPathParamsSchema.shape['deploymentId'], + checkId: updateCheckPathParamsSchema.shape['checkId'], + queryParams: updateCheckQueryParamsSchema, }, async ({ deploymentId, checkId, queryParams }) => { try { - return await updateCheck({ pathParams: { deploymentId, checkId }, queryParams, config }); + return await updateCheck({ pathParams: { deploymentId, checkId }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'rerequestCheck', 'Rerequest a selected check that has failed.', { - deploymentId: rerequestCheckPathParamsSchema.shape.deploymentId, - checkId: rerequestCheckPathParamsSchema.shape.checkId, - queryParams: rerequestCheckQueryParamsSchema + deploymentId: rerequestCheckPathParamsSchema.shape['deploymentId'], + checkId: rerequestCheckPathParamsSchema.shape['checkId'], + queryParams: rerequestCheckQueryParamsSchema, }, async ({ deploymentId, checkId, queryParams }) => { try { - return await rerequestCheck({ pathParams: { deploymentId, checkId }, queryParams, config }); + return await rerequestCheck({ pathParams: { deploymentId, checkId }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'purgeAllDataCache', @@ -7907,86 +7615,77 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { queryParams: purgeAllDataCacheQueryParamsSchema }, async ({ queryParams }) => { try { - return await purgeAllDataCache({ queryParams, config }); + return await purgeAllDataCache({ queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool('updateDataCacheBillingSettings', 'Make a PATCH request to /data-cache/billing-settings', async () => { try { - return await updateDataCacheBillingSettings({ config }); + return await updateDataCacheBillingSettings({ config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - }); + }) server.tool( 'updateProjectDataCache', 'Update the data cache feature on a project.', - { - projectId: updateProjectDataCachePathParamsSchema.shape.projectId, - queryParams: updateProjectDataCacheQueryParamsSchema - }, + { projectId: updateProjectDataCachePathParamsSchema.shape['projectId'], queryParams: updateProjectDataCacheQueryParamsSchema }, async ({ projectId, queryParams }) => { try { - return await updateProjectDataCache({ pathParams: { projectId }, queryParams, config }); + return await updateProjectDataCache({ pathParams: { projectId }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'getDeploymentEvents', 'Get the build logs of a deployment by deployment ID and build ID. It can work as an infinite stream of logs or as a JSON endpoint depending on the input parameters.', - { - idOrUrl: getDeploymentEventsPathParamsSchema.shape.idOrUrl, - queryParams: getDeploymentEventsQueryParamsSchema - }, + { idOrUrl: getDeploymentEventsPathParamsSchema.shape['idOrUrl'], queryParams: getDeploymentEventsQueryParamsSchema }, async ({ idOrUrl, queryParams }) => { try { - return await getDeploymentEvents({ pathParams: { idOrUrl }, queryParams, config }); + return await getDeploymentEvents({ pathParams: { idOrUrl }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'updateIntegrationDeploymentAction', 'Updates the deployment integration action for the specified integration installation', { - deploymentId: updateIntegrationDeploymentActionPathParamsSchema.shape.deploymentId, - integrationConfigurationId: updateIntegrationDeploymentActionPathParamsSchema.shape.integrationConfigurationId, - resourceId: updateIntegrationDeploymentActionPathParamsSchema.shape.resourceId, - action: updateIntegrationDeploymentActionPathParamsSchema.shape.action + deploymentId: updateIntegrationDeploymentActionPathParamsSchema.shape['deploymentId'], + integrationConfigurationId: updateIntegrationDeploymentActionPathParamsSchema.shape['integrationConfigurationId'], + resourceId: updateIntegrationDeploymentActionPathParamsSchema.shape['resourceId'], + action: updateIntegrationDeploymentActionPathParamsSchema.shape['action'], }, async ({ deploymentId, integrationConfigurationId, resourceId, action }) => { try { - return await updateIntegrationDeploymentAction({ - pathParams: { deploymentId, integrationConfigurationId, resourceId, action }, - config - }); + return await updateIntegrationDeploymentAction({ pathParams: { deploymentId, integrationConfigurationId, resourceId, action }, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'getDeployment', 'Retrieves information for a deployment either by supplying its ID (`id` property) or Hostname (`url` property). Additional details will be included when the authenticated user or team is an owner of the deployment.', - { idOrUrl: getDeploymentPathParamsSchema.shape.idOrUrl, queryParams: getDeploymentQueryParamsSchema }, + { idOrUrl: getDeploymentPathParamsSchema.shape['idOrUrl'], queryParams: getDeploymentQueryParamsSchema }, async ({ idOrUrl, queryParams }) => { try { - return await getDeployment({ pathParams: { idOrUrl }, queryParams, config }); + return await getDeployment({ pathParams: { idOrUrl }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'createDeployment', @@ -7994,38 +7693,33 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { queryParams: createDeploymentQueryParamsSchema }, async ({ queryParams }) => { try { - return await createDeployment({ queryParams, config }); + return await createDeployment({ queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'cancelDeployment', 'This endpoint allows you to cancel a deployment which is currently building, by supplying its `id` in the URL.', - { id: cancelDeploymentPathParamsSchema.shape.id, queryParams: cancelDeploymentQueryParamsSchema }, + { id: cancelDeploymentPathParamsSchema.shape['id'], queryParams: cancelDeploymentQueryParamsSchema }, async ({ id, queryParams }) => { try { - return await cancelDeployment({ pathParams: { id }, queryParams, config }); + return await cancelDeployment({ pathParams: { id }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) - server.tool( - 'buyDomain', - 'Allows to purchase the specified domain.', - { queryParams: buyDomainQueryParamsSchema }, - async ({ queryParams }) => { - try { - return await buyDomain({ queryParams, config }); - } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; - } + server.tool('buyDomain', 'Allows to purchase the specified domain.', { queryParams: buyDomainQueryParamsSchema }, async ({ queryParams }) => { + try { + return await buyDomain({ queryParams, config }) + } catch (error) { + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - ); + }) server.tool( 'checkDomainPrice', @@ -8033,12 +7727,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { queryParams: checkDomainPriceQueryParamsSchema }, async ({ queryParams }) => { try { - return await checkDomainPrice({ queryParams, config }); + return await checkDomainPrice({ queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'checkDomainStatus', @@ -8046,107 +7740,107 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { queryParams: checkDomainStatusQueryParamsSchema }, async ({ queryParams }) => { try { - return await checkDomainStatus({ queryParams, config }); + return await checkDomainStatus({ queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'getRecords', 'Retrieves a list of DNS records created for a domain name. By default it returns 20 records if no limit is provided. The rest can be retrieved using the pagination options.', - { domain: getRecordsPathParamsSchema.shape.domain, queryParams: getRecordsQueryParamsSchema }, + { domain: getRecordsPathParamsSchema.shape['domain'], queryParams: getRecordsQueryParamsSchema }, async ({ domain, queryParams }) => { try { - return await getRecords({ pathParams: { domain }, queryParams, config }); + return await getRecords({ pathParams: { domain }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'createRecord', 'Creates a DNS record for a domain.', - { domain: createRecordPathParamsSchema.shape.domain, queryParams: createRecordQueryParamsSchema }, + { domain: createRecordPathParamsSchema.shape['domain'], queryParams: createRecordQueryParamsSchema }, async ({ domain, queryParams }) => { try { - return await createRecord({ pathParams: { domain }, queryParams, config }); + return await createRecord({ pathParams: { domain }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'updateRecord', 'Updates an existing DNS record for a domain name.', - { recordId: updateRecordPathParamsSchema.shape.recordId, queryParams: updateRecordQueryParamsSchema }, + { recordId: updateRecordPathParamsSchema.shape['recordId'], queryParams: updateRecordQueryParamsSchema }, async ({ recordId, queryParams }) => { try { - return await updateRecord({ pathParams: { recordId }, queryParams, config }); + return await updateRecord({ pathParams: { recordId }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'removeRecord', 'Removes an existing DNS record from a domain name.', { - domain: removeRecordPathParamsSchema.shape.domain, - recordId: removeRecordPathParamsSchema.shape.recordId, - queryParams: removeRecordQueryParamsSchema + domain: removeRecordPathParamsSchema.shape['domain'], + recordId: removeRecordPathParamsSchema.shape['recordId'], + queryParams: removeRecordQueryParamsSchema, }, async ({ domain, recordId, queryParams }) => { try { - return await removeRecord({ pathParams: { domain, recordId }, queryParams, config }); + return await removeRecord({ pathParams: { domain, recordId }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'getDomainTransfer', 'Fetch domain transfer availability or transfer status if a transfer is in progress.', - { domain: getDomainTransferPathParamsSchema.shape.domain, queryParams: getDomainTransferQueryParamsSchema }, + { domain: getDomainTransferPathParamsSchema.shape['domain'], queryParams: getDomainTransferQueryParamsSchema }, async ({ domain, queryParams }) => { try { - return await getDomainTransfer({ pathParams: { domain }, queryParams, config }); + return await getDomainTransfer({ pathParams: { domain }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'getDomainConfig', "Get a Domain's configuration.", - { domain: getDomainConfigPathParamsSchema.shape.domain, queryParams: getDomainConfigQueryParamsSchema }, + { domain: getDomainConfigPathParamsSchema.shape['domain'], queryParams: getDomainConfigQueryParamsSchema }, async ({ domain, queryParams }) => { try { - return await getDomainConfig({ pathParams: { domain }, queryParams, config }); + return await getDomainConfig({ pathParams: { domain }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'getDomain', 'Get information for a single domain in an account or team.', - { domain: getDomainPathParamsSchema.shape.domain, queryParams: getDomainQueryParamsSchema }, + { domain: getDomainPathParamsSchema.shape['domain'], queryParams: getDomainQueryParamsSchema }, async ({ domain, queryParams }) => { try { - return await getDomain({ pathParams: { domain }, queryParams, config }); + return await getDomain({ pathParams: { domain }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'getDomains', @@ -8154,12 +7848,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { queryParams: getDomainsQueryParamsSchema }, async ({ queryParams }) => { try { - return await getDomains({ queryParams, config }); + return await getDomains({ queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'createOrTransferDomain', @@ -8167,308 +7861,261 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { queryParams: createOrTransferDomainQueryParamsSchema }, async ({ queryParams }) => { try { - return await createOrTransferDomain({ queryParams, config }); + return await createOrTransferDomain({ queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'patchDomain', 'Update or move apex domain.', - { domain: patchDomainPathParamsSchema.shape.domain, queryParams: patchDomainQueryParamsSchema }, + { domain: patchDomainPathParamsSchema.shape['domain'], queryParams: patchDomainQueryParamsSchema }, async ({ domain, queryParams }) => { try { - return await patchDomain({ pathParams: { domain }, queryParams, config }); + return await patchDomain({ pathParams: { domain }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'deleteDomain', 'Delete a previously registered domain name from Vercel. Deleting a domain will automatically remove any associated aliases.', - { domain: deleteDomainPathParamsSchema.shape.domain, queryParams: deleteDomainQueryParamsSchema }, + { domain: deleteDomainPathParamsSchema.shape['domain'], queryParams: deleteDomainQueryParamsSchema }, async ({ domain, queryParams }) => { try { - return await deleteDomain({ pathParams: { domain }, queryParams, config }); + return await deleteDomain({ pathParams: { domain }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) - server.tool( - 'getEdgeConfigs', - 'Returns all Edge Configs.', - { queryParams: getEdgeConfigsQueryParamsSchema }, - async ({ queryParams }) => { - try { - return await getEdgeConfigs({ queryParams, config }); - } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; - } + server.tool('getEdgeConfigs', 'Returns all Edge Configs.', { queryParams: getEdgeConfigsQueryParamsSchema }, async ({ queryParams }) => { + try { + return await getEdgeConfigs({ queryParams, config }) + } catch (error) { + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - ); + }) - server.tool( - 'createEdgeConfig', - 'Creates an Edge Config.', - { queryParams: createEdgeConfigQueryParamsSchema }, - async ({ queryParams }) => { - try { - return await createEdgeConfig({ queryParams, config }); - } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; - } + server.tool('createEdgeConfig', 'Creates an Edge Config.', { queryParams: createEdgeConfigQueryParamsSchema }, async ({ queryParams }) => { + try { + return await createEdgeConfig({ queryParams, config }) + } catch (error) { + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - ); + }) server.tool( 'getEdgeConfig', 'Returns an Edge Config.', - { edgeConfigId: getEdgeConfigPathParamsSchema.shape.edgeConfigId, queryParams: getEdgeConfigQueryParamsSchema }, + { edgeConfigId: getEdgeConfigPathParamsSchema.shape['edgeConfigId'], queryParams: getEdgeConfigQueryParamsSchema }, async ({ edgeConfigId, queryParams }) => { try { - return await getEdgeConfig({ pathParams: { edgeConfigId }, queryParams, config }); + return await getEdgeConfig({ pathParams: { edgeConfigId }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'updateEdgeConfig', 'Updates an Edge Config.', - { - edgeConfigId: updateEdgeConfigPathParamsSchema.shape.edgeConfigId, - queryParams: updateEdgeConfigQueryParamsSchema - }, + { edgeConfigId: updateEdgeConfigPathParamsSchema.shape['edgeConfigId'], queryParams: updateEdgeConfigQueryParamsSchema }, async ({ edgeConfigId, queryParams }) => { try { - return await updateEdgeConfig({ pathParams: { edgeConfigId }, queryParams, config }); + return await updateEdgeConfig({ pathParams: { edgeConfigId }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'deleteEdgeConfig', 'Delete an Edge Config by id.', - { - edgeConfigId: deleteEdgeConfigPathParamsSchema.shape.edgeConfigId, - queryParams: deleteEdgeConfigQueryParamsSchema - }, + { edgeConfigId: deleteEdgeConfigPathParamsSchema.shape['edgeConfigId'], queryParams: deleteEdgeConfigQueryParamsSchema }, async ({ edgeConfigId, queryParams }) => { try { - return await deleteEdgeConfig({ pathParams: { edgeConfigId }, queryParams, config }); + return await deleteEdgeConfig({ pathParams: { edgeConfigId }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'getEdgeConfigItems', 'Returns all items of an Edge Config.', - { - edgeConfigId: getEdgeConfigItemsPathParamsSchema.shape.edgeConfigId, - queryParams: getEdgeConfigItemsQueryParamsSchema - }, + { edgeConfigId: getEdgeConfigItemsPathParamsSchema.shape['edgeConfigId'], queryParams: getEdgeConfigItemsQueryParamsSchema }, async ({ edgeConfigId, queryParams }) => { try { - return await getEdgeConfigItems({ pathParams: { edgeConfigId }, queryParams, config }); + return await getEdgeConfigItems({ pathParams: { edgeConfigId }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'patchEdgeConfigItems', 'Update multiple Edge Config Items in batch.', - { - edgeConfigId: patchEdgeConfigItemsPathParamsSchema.shape.edgeConfigId, - queryParams: patchEdgeConfigItemsQueryParamsSchema - }, + { edgeConfigId: patchEdgeConfigItemsPathParamsSchema.shape['edgeConfigId'], queryParams: patchEdgeConfigItemsQueryParamsSchema }, async ({ edgeConfigId, queryParams }) => { try { - return await patchEdgeConfigItems({ pathParams: { edgeConfigId }, queryParams, config }); + return await patchEdgeConfigItems({ pathParams: { edgeConfigId }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'getEdgeConfigSchema', 'Returns the schema of an Edge Config.', - { - edgeConfigId: getEdgeConfigSchemaPathParamsSchema.shape.edgeConfigId, - queryParams: getEdgeConfigSchemaQueryParamsSchema - }, + { edgeConfigId: getEdgeConfigSchemaPathParamsSchema.shape['edgeConfigId'], queryParams: getEdgeConfigSchemaQueryParamsSchema }, async ({ edgeConfigId, queryParams }) => { try { - return await getEdgeConfigSchema({ pathParams: { edgeConfigId }, queryParams, config }); + return await getEdgeConfigSchema({ pathParams: { edgeConfigId }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'patchEdgeConfigSchema', "Update an Edge Config's schema.", - { - edgeConfigId: patchEdgeConfigSchemaPathParamsSchema.shape.edgeConfigId, - queryParams: patchEdgeConfigSchemaQueryParamsSchema - }, + { edgeConfigId: patchEdgeConfigSchemaPathParamsSchema.shape['edgeConfigId'], queryParams: patchEdgeConfigSchemaQueryParamsSchema }, async ({ edgeConfigId, queryParams }) => { try { - return await patchEdgeConfigSchema({ pathParams: { edgeConfigId }, queryParams, config }); + return await patchEdgeConfigSchema({ pathParams: { edgeConfigId }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'deleteEdgeConfigSchema', 'Deletes the schema of existing Edge Config.', - { - edgeConfigId: deleteEdgeConfigSchemaPathParamsSchema.shape.edgeConfigId, - queryParams: deleteEdgeConfigSchemaQueryParamsSchema - }, + { edgeConfigId: deleteEdgeConfigSchemaPathParamsSchema.shape['edgeConfigId'], queryParams: deleteEdgeConfigSchemaQueryParamsSchema }, async ({ edgeConfigId, queryParams }) => { try { - return await deleteEdgeConfigSchema({ pathParams: { edgeConfigId }, queryParams, config }); + return await deleteEdgeConfigSchema({ pathParams: { edgeConfigId }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'getEdgeConfigItem', 'Returns a specific Edge Config Item.', { - edgeConfigId: getEdgeConfigItemPathParamsSchema.shape.edgeConfigId, - edgeConfigItemKey: getEdgeConfigItemPathParamsSchema.shape.edgeConfigItemKey, - queryParams: getEdgeConfigItemQueryParamsSchema + edgeConfigId: getEdgeConfigItemPathParamsSchema.shape['edgeConfigId'], + edgeConfigItemKey: getEdgeConfigItemPathParamsSchema.shape['edgeConfigItemKey'], + queryParams: getEdgeConfigItemQueryParamsSchema, }, async ({ edgeConfigId, edgeConfigItemKey, queryParams }) => { try { - return await getEdgeConfigItem({ pathParams: { edgeConfigId, edgeConfigItemKey }, queryParams, config }); + return await getEdgeConfigItem({ pathParams: { edgeConfigId, edgeConfigItemKey }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'getEdgeConfigTokens', 'Returns all tokens of an Edge Config.', - { - edgeConfigId: getEdgeConfigTokensPathParamsSchema.shape.edgeConfigId, - queryParams: getEdgeConfigTokensQueryParamsSchema - }, + { edgeConfigId: getEdgeConfigTokensPathParamsSchema.shape['edgeConfigId'], queryParams: getEdgeConfigTokensQueryParamsSchema }, async ({ edgeConfigId, queryParams }) => { try { - return await getEdgeConfigTokens({ pathParams: { edgeConfigId }, queryParams, config }); + return await getEdgeConfigTokens({ pathParams: { edgeConfigId }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'deleteEdgeConfigTokens', 'Deletes one or more tokens of an existing Edge Config.', - { - edgeConfigId: deleteEdgeConfigTokensPathParamsSchema.shape.edgeConfigId, - queryParams: deleteEdgeConfigTokensQueryParamsSchema - }, + { edgeConfigId: deleteEdgeConfigTokensPathParamsSchema.shape['edgeConfigId'], queryParams: deleteEdgeConfigTokensQueryParamsSchema }, async ({ edgeConfigId, queryParams }) => { try { - return await deleteEdgeConfigTokens({ pathParams: { edgeConfigId }, queryParams, config }); + return await deleteEdgeConfigTokens({ pathParams: { edgeConfigId }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'getEdgeConfigToken', 'Return meta data about an Edge Config token.', { - edgeConfigId: getEdgeConfigTokenPathParamsSchema.shape.edgeConfigId, - token: getEdgeConfigTokenPathParamsSchema.shape.token, - queryParams: getEdgeConfigTokenQueryParamsSchema + edgeConfigId: getEdgeConfigTokenPathParamsSchema.shape['edgeConfigId'], + token: getEdgeConfigTokenPathParamsSchema.shape['token'], + queryParams: getEdgeConfigTokenQueryParamsSchema, }, async ({ edgeConfigId, token, queryParams }) => { try { - return await getEdgeConfigToken({ pathParams: { edgeConfigId, token }, queryParams, config }); + return await getEdgeConfigToken({ pathParams: { edgeConfigId, token }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'createEdgeConfigToken', 'Adds a token to an existing Edge Config.', - { - edgeConfigId: createEdgeConfigTokenPathParamsSchema.shape.edgeConfigId, - queryParams: createEdgeConfigTokenQueryParamsSchema - }, + { edgeConfigId: createEdgeConfigTokenPathParamsSchema.shape['edgeConfigId'], queryParams: createEdgeConfigTokenQueryParamsSchema }, async ({ edgeConfigId, queryParams }) => { try { - return await createEdgeConfigToken({ pathParams: { edgeConfigId }, queryParams, config }); + return await createEdgeConfigToken({ pathParams: { edgeConfigId }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'getEdgeConfigBackup', 'Retrieves a specific version of an Edge Config from backup storage.', { - edgeConfigId: getEdgeConfigBackupPathParamsSchema.shape.edgeConfigId, - edgeConfigBackupVersionId: getEdgeConfigBackupPathParamsSchema.shape.edgeConfigBackupVersionId, - queryParams: getEdgeConfigBackupQueryParamsSchema + edgeConfigId: getEdgeConfigBackupPathParamsSchema.shape['edgeConfigId'], + edgeConfigBackupVersionId: getEdgeConfigBackupPathParamsSchema.shape['edgeConfigBackupVersionId'], + queryParams: getEdgeConfigBackupQueryParamsSchema, }, async ({ edgeConfigId, edgeConfigBackupVersionId, queryParams }) => { try { - return await getEdgeConfigBackup({ - pathParams: { edgeConfigId, edgeConfigBackupVersionId }, - queryParams, - config - }); + return await getEdgeConfigBackup({ pathParams: { edgeConfigId, edgeConfigBackupVersionId }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'getEdgeConfigBackups', 'Returns backups of an Edge Config.', - { - edgeConfigId: getEdgeConfigBackupsPathParamsSchema.shape.edgeConfigId, - queryParams: getEdgeConfigBackupsQueryParamsSchema - }, + { edgeConfigId: getEdgeConfigBackupsPathParamsSchema.shape['edgeConfigId'], queryParams: getEdgeConfigBackupsQueryParamsSchema }, async ({ edgeConfigId, queryParams }) => { try { - return await getEdgeConfigBackups({ pathParams: { edgeConfigId }, queryParams, config }); + return await getEdgeConfigBackups({ pathParams: { edgeConfigId }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'listUserEvents', @@ -8476,222 +8123,234 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { queryParams: listUserEventsQueryParamsSchema }, async ({ queryParams }) => { try { - return await listUserEvents({ queryParams, config }); + return await listUserEvents({ queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) + + server.tool( + 'gETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans', + 'Make a GET request to /v1/integrations/integration/{integrationIdOrSlug}/products/{productIdOrSlug}/plans', + { + integrationIdOrSlug: GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansPathParamsSchema.shape['integrationIdOrSlug'], + productIdOrSlug: GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansPathParamsSchema.shape['productIdOrSlug'], + queryParams: GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansQueryParamsSchema, + }, + async ({ integrationIdOrSlug, productIdOrSlug, queryParams }) => { + try { + return await gETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans({ + pathParams: { integrationIdOrSlug, productIdOrSlug }, + queryParams, + config, + }) + } catch (error) { + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + } + }, + ) server.tool( 'getAccountInfo', 'Fetches the best account or user’s contact info', - { integrationConfigurationId: getAccountInfoPathParamsSchema.shape.integrationConfigurationId }, + { integrationConfigurationId: getAccountInfoPathParamsSchema.shape['integrationConfigurationId'] }, async ({ integrationConfigurationId }) => { try { - return await getAccountInfo({ pathParams: { integrationConfigurationId }, config }); + return await getAccountInfo({ pathParams: { integrationConfigurationId }, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'getMember', 'Returns the member role and other information for a given member ID ("user_id" claim in the SSO OIDC token).', - { - integrationConfigurationId: getMemberPathParamsSchema.shape.integrationConfigurationId, - memberId: getMemberPathParamsSchema.shape.memberId - }, + { integrationConfigurationId: getMemberPathParamsSchema.shape['integrationConfigurationId'], memberId: getMemberPathParamsSchema.shape['memberId'] }, async ({ integrationConfigurationId, memberId }) => { try { - return await getMember({ pathParams: { integrationConfigurationId, memberId }, config }); + return await getMember({ pathParams: { integrationConfigurationId, memberId }, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'createEvent', "Partner notifies Vercel of any changes made to an Installation or a Resource. Vercel is expected to use `list-resources` and other read APIs to get the new state.

`resource.updated` event should be dispatched when any state of a resource linked to Vercel is modified by the partner.
`installation.updated` event should be dispatched when an installation's billing plan is changed via the provider instead of Vercel.

Resource update use cases:

- The user renames a database in the partner’s application. The partner should dispatch a `resource.updated` event to notify Vercel to update the resource in Vercel’s datastores.
- A resource has been suspended due to a lack of use. The partner should dispatch a `resource.updated` event to notify Vercel to update the resource's status in Vercel's datastores.
", - { integrationConfigurationId: createEventPathParamsSchema.shape.integrationConfigurationId }, + { integrationConfigurationId: createEventPathParamsSchema.shape['integrationConfigurationId'] }, async ({ integrationConfigurationId }) => { try { - return await createEvent({ pathParams: { integrationConfigurationId }, config }); + return await createEvent({ pathParams: { integrationConfigurationId }, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'getIntegrationResources', 'Get all resources for a given installation ID.', - { integrationConfigurationId: getIntegrationResourcesPathParamsSchema.shape.integrationConfigurationId }, + { integrationConfigurationId: getIntegrationResourcesPathParamsSchema.shape['integrationConfigurationId'] }, async ({ integrationConfigurationId }) => { try { - return await getIntegrationResources({ pathParams: { integrationConfigurationId }, config }); + return await getIntegrationResources({ pathParams: { integrationConfigurationId }, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'getIntegrationResource', 'Get a resource by its partner ID.', { - integrationConfigurationId: getIntegrationResourcePathParamsSchema.shape.integrationConfigurationId, - resourceId: getIntegrationResourcePathParamsSchema.shape.resourceId + integrationConfigurationId: getIntegrationResourcePathParamsSchema.shape['integrationConfigurationId'], + resourceId: getIntegrationResourcePathParamsSchema.shape['resourceId'], }, async ({ integrationConfigurationId, resourceId }) => { try { - return await getIntegrationResource({ pathParams: { integrationConfigurationId, resourceId }, config }); + return await getIntegrationResource({ pathParams: { integrationConfigurationId, resourceId }, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'deleteIntegrationResource', 'Delete a resource owned by the selected installation ID.', { - integrationConfigurationId: deleteIntegrationResourcePathParamsSchema.shape.integrationConfigurationId, - resourceId: deleteIntegrationResourcePathParamsSchema.shape.resourceId + integrationConfigurationId: deleteIntegrationResourcePathParamsSchema.shape['integrationConfigurationId'], + resourceId: deleteIntegrationResourcePathParamsSchema.shape['resourceId'], }, async ({ integrationConfigurationId, resourceId }) => { try { - return await deleteIntegrationResource({ pathParams: { integrationConfigurationId, resourceId }, config }); + return await deleteIntegrationResource({ pathParams: { integrationConfigurationId, resourceId }, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'importResource', "This endpoint imports (upserts) a resource to Vercel's installation. This may be needed if resources can be independently created on the partner's side and need to be synchronized to Vercel.", { - integrationConfigurationId: importResourcePathParamsSchema.shape.integrationConfigurationId, - resourceId: importResourcePathParamsSchema.shape.resourceId + integrationConfigurationId: importResourcePathParamsSchema.shape['integrationConfigurationId'], + resourceId: importResourcePathParamsSchema.shape['resourceId'], }, async ({ integrationConfigurationId, resourceId }) => { try { - return await importResource({ pathParams: { integrationConfigurationId, resourceId }, config }); + return await importResource({ pathParams: { integrationConfigurationId, resourceId }, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'submitBillingData', 'Sends the billing and usage data. The partner should do this at least once a day and ideally once per hour.
Use the `credentials.access_token` we provided in the [Upsert Installation](#upsert-installation) body to authorize this request.', - { integrationConfigurationId: submitBillingDataPathParamsSchema.shape.integrationConfigurationId }, + { integrationConfigurationId: submitBillingDataPathParamsSchema.shape['integrationConfigurationId'] }, async ({ integrationConfigurationId }) => { try { - return await submitBillingData({ pathParams: { integrationConfigurationId }, config }); + return await submitBillingData({ pathParams: { integrationConfigurationId }, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'submitInvoice', "This endpoint allows the partner to submit an invoice to Vercel. The invoice is created in Vercel's billing system and sent to the customer. Depending on the type of billing plan, the invoice can be sent at a time of signup, at the start of the billing period, or at the end of the billing period.

Use the `credentials.access_token` we provided in the [Upsert Installation](#upsert-installation) body to authorize this request.
There are several limitations to the invoice submission:

1. A resource can only be billed once per the billing period and the billing plan.
2. The billing plan used to bill the resource must have been active for this resource during the billing period.
3. The billing plan used must be a subscription plan.
4. The interim usage data must be sent hourly for all types of subscriptions. See [Send subscription billing and usage data](#send-subscription-billing-and-usage-data) API on how to send interim billing and usage data.
", - { integrationConfigurationId: submitInvoicePathParamsSchema.shape.integrationConfigurationId }, + { integrationConfigurationId: submitInvoicePathParamsSchema.shape['integrationConfigurationId'] }, async ({ integrationConfigurationId }) => { try { - return await submitInvoice({ pathParams: { integrationConfigurationId }, config }); + return await submitInvoice({ pathParams: { integrationConfigurationId }, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'getInvoice', 'Get Invoice details and status for a given invoice ID.

See Billing Events with Webhooks documentation on how to receive invoice events. This endpoint is used to retrieve the invoice details.', - { - integrationConfigurationId: getInvoicePathParamsSchema.shape.integrationConfigurationId, - invoiceId: getInvoicePathParamsSchema.shape.invoiceId - }, + { integrationConfigurationId: getInvoicePathParamsSchema.shape['integrationConfigurationId'], invoiceId: getInvoicePathParamsSchema.shape['invoiceId'] }, async ({ integrationConfigurationId, invoiceId }) => { try { - return await getInvoice({ pathParams: { integrationConfigurationId, invoiceId }, config }); + return await getInvoice({ pathParams: { integrationConfigurationId, invoiceId }, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'updateInvoice', 'This endpoint allows the partner to request a refund for an invoice to Vercel. The invoice is created using the [Submit Invoice API](#submit-invoice-api).', { - integrationConfigurationId: updateInvoicePathParamsSchema.shape.integrationConfigurationId, - invoiceId: updateInvoicePathParamsSchema.shape.invoiceId + integrationConfigurationId: updateInvoicePathParamsSchema.shape['integrationConfigurationId'], + invoiceId: updateInvoicePathParamsSchema.shape['invoiceId'], }, async ({ integrationConfigurationId, invoiceId }) => { try { - return await updateInvoice({ pathParams: { integrationConfigurationId, invoiceId }, config }); + return await updateInvoice({ pathParams: { integrationConfigurationId, invoiceId }, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'submitPrepaymentBalances', 'Sends the prepayment balances. The partner should do this at least once a day and ideally once per hour.
Use the `credentials.access_token` we provided in the [Upsert Installation](#upsert-installation) body to authorize this request.', - { integrationConfigurationId: submitPrepaymentBalancesPathParamsSchema.shape.integrationConfigurationId }, + { integrationConfigurationId: submitPrepaymentBalancesPathParamsSchema.shape['integrationConfigurationId'] }, async ({ integrationConfigurationId }) => { try { - return await submitPrepaymentBalances({ pathParams: { integrationConfigurationId }, config }); + return await submitPrepaymentBalances({ pathParams: { integrationConfigurationId }, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'updateResourceSecrets', 'This endpoint is deprecated and replaced with the endpoint [Update Resource Secrets](#update-resource-secrets).
This endpoint updates the secrets of a resource. If a resource has projects connected, the connected secrets are updated with the new secrets. The old secrets may still be used by existing connected projects because they are not automatically redeployed. Redeployment is a manual action and must be completed by the user. All new project connections will use the new secrets.

Use cases for this endpoint:

- Resetting the credentials of a database in the partner. If the user requests the credentials to be updated in the partner’s application, the partner post the new set of secrets to Vercel, the user should redeploy their application and the expire the old credentials.
', { - integrationConfigurationId: updateResourceSecretsPathParamsSchema.shape.integrationConfigurationId, - integrationProductIdOrSlug: updateResourceSecretsPathParamsSchema.shape.integrationProductIdOrSlug, - resourceId: updateResourceSecretsPathParamsSchema.shape.resourceId + integrationConfigurationId: updateResourceSecretsPathParamsSchema.shape['integrationConfigurationId'], + integrationProductIdOrSlug: updateResourceSecretsPathParamsSchema.shape['integrationProductIdOrSlug'], + resourceId: updateResourceSecretsPathParamsSchema.shape['resourceId'], }, async ({ integrationConfigurationId, integrationProductIdOrSlug, resourceId }) => { try { - return await updateResourceSecrets({ - pathParams: { integrationConfigurationId, integrationProductIdOrSlug, resourceId }, - config - }); + return await updateResourceSecrets({ pathParams: { integrationConfigurationId, integrationProductIdOrSlug, resourceId }, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'updateResourceSecretsById', 'This endpoint updates the secrets of a resource. If a resource has projects connected, the connected secrets are updated with the new secrets. The old secrets may still be used by existing connected projects because they are not automatically redeployed. Redeployment is a manual action and must be completed by the user. All new project connections will use the new secrets.

Use cases for this endpoint:

- Resetting the credentials of a database in the partner. If the user requests the credentials to be updated in the partner’s application, the partner post the new set of secrets to Vercel, the user should redeploy their application and the expire the old credentials.
', { - integrationConfigurationId: updateResourceSecretsByIdPathParamsSchema.shape.integrationConfigurationId, - resourceId: updateResourceSecretsByIdPathParamsSchema.shape.resourceId + integrationConfigurationId: updateResourceSecretsByIdPathParamsSchema.shape['integrationConfigurationId'], + resourceId: updateResourceSecretsByIdPathParamsSchema.shape['resourceId'], }, async ({ integrationConfigurationId, resourceId }) => { try { - return await updateResourceSecretsById({ pathParams: { integrationConfigurationId, resourceId }, config }); + return await updateResourceSecretsById({ pathParams: { integrationConfigurationId, resourceId }, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'getConfigurations', @@ -8699,50 +8358,63 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { queryParams: getConfigurationsQueryParamsSchema }, async ({ queryParams }) => { try { - return await getConfigurations({ queryParams, config }); + return await getConfigurations({ queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'getConfiguration', 'Allows to retrieve a the configuration with the provided id in case it exists. The authenticated user or team must be the owner of the config in order to access it.', - { id: getConfigurationPathParamsSchema.shape.id, queryParams: getConfigurationQueryParamsSchema }, + { id: getConfigurationPathParamsSchema.shape['id'], queryParams: getConfigurationQueryParamsSchema }, async ({ id, queryParams }) => { try { - return await getConfiguration({ pathParams: { id }, queryParams, config }); + return await getConfiguration({ pathParams: { id }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) + + server.tool( + 'deleteConfiguration', + 'Allows to remove the configuration with the `id` provided in the parameters. The configuration and all of its resources will be removed. This includes Webhooks, LogDrains and Project Env variables.', + { id: deleteConfigurationPathParamsSchema.shape['id'], queryParams: deleteConfigurationQueryParamsSchema }, + async ({ id, queryParams }) => { + try { + return await deleteConfiguration({ pathParams: { id }, queryParams, config }) + } catch (error) { + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + } + }, + ) server.tool( - 'deleteConfiguration', - 'Allows to remove the configuration with the `id` provided in the parameters. The configuration and all of its resources will be removed. This includes Webhooks, LogDrains and Project Env variables.', - { id: deleteConfigurationPathParamsSchema.shape.id, queryParams: deleteConfigurationQueryParamsSchema }, + 'getConfigurationProducts', + 'Lists all products available for an integration configuration. Use this endpoint to discover what integration products are available for your integration configuration. The returned product IDs or slugs can then be used with storage provisioning endpoints like `POST /v1/storage/stores/integration/direct`. ## Workflow 1. Get your integration configurations: `GET /v1/integrations/configurations` 2. **Use this endpoint**: Get products for a configuration: `GET /v1/integrations/configuration/{id}/products` 3. Create storage resource: `POST /v1/storage/stores/integration/direct` ## Response Returns an array of products with their IDs, slugs, names, supported protocols, and metadata requirements. Each product represents a different type of resource you can provision. The `metadataSchema` field contains a JSON Schema that defines: - **Required metadata**: Fields that must be provided during storage creation - **Optional metadata**: Fields that can be provided but are not mandatory - **Field validation**: Data types, allowed values, and constraints Use this schema to validate metadata before calling the storage creation endpoint.', + { id: getConfigurationProductsPathParamsSchema.shape['id'], queryParams: getConfigurationProductsQueryParamsSchema }, async ({ id, queryParams }) => { try { - return await deleteConfiguration({ pathParams: { id }, queryParams, config }); + return await getConfigurationProducts({ pathParams: { id }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'exchangeSsoToken', 'During the autorization process, Vercel sends the user to the provider [redirectLoginUrl](https://vercel.com/docs/integrations/create-integration/submit-integration#redirect-login-url), that includes the OAuth authorization `code` parameter. The provider then calls the SSO Token Exchange endpoint with the sent code and receives the OIDC token. They log the user in based on this token and redirects the user back to the Vercel account using deep-link parameters included the redirectLoginUrl. Providers should not persist the returned `id_token` in a database since the token will expire. See [**Authentication with SSO**](https://vercel.com/docs/integrations/create-integration/marketplace-api#authentication-with-sso) for more details.', async () => { try { - return await exchangeSsoToken({ config }); + return await exchangeSsoToken({ config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'getIntegrationLogDrains', @@ -8750,12 +8422,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { queryParams: getIntegrationLogDrainsQueryParamsSchema }, async ({ queryParams }) => { try { - return await getIntegrationLogDrains({ queryParams, config }); + return await getIntegrationLogDrains({ queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'createLogDrain', @@ -8763,163 +8435,151 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { queryParams: createLogDrainQueryParamsSchema }, async ({ queryParams }) => { try { - return await createLogDrain({ queryParams, config }); + return await createLogDrain({ queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'deleteIntegrationLogDrain', 'Deletes the Integration log drain with the provided `id`. When using an OAuth2 Token, the log drain can be deleted only if the integration owns it.', - { - id: deleteIntegrationLogDrainPathParamsSchema.shape.id, - queryParams: deleteIntegrationLogDrainQueryParamsSchema - }, + { id: deleteIntegrationLogDrainPathParamsSchema.shape['id'], queryParams: deleteIntegrationLogDrainQueryParamsSchema }, async ({ id, queryParams }) => { try { - return await deleteIntegrationLogDrain({ pathParams: { id }, queryParams, config }); + return await deleteIntegrationLogDrain({ pathParams: { id }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'getRuntimeLogs', 'Returns a stream of logs for a given deployment.', { - projectId: getRuntimeLogsPathParamsSchema.shape.projectId, - deploymentId: getRuntimeLogsPathParamsSchema.shape.deploymentId, - queryParams: getRuntimeLogsQueryParamsSchema + projectId: getRuntimeLogsPathParamsSchema.shape['projectId'], + deploymentId: getRuntimeLogsPathParamsSchema.shape['deploymentId'], + queryParams: getRuntimeLogsQueryParamsSchema, }, async ({ projectId, deploymentId, queryParams }) => { try { - return await getRuntimeLogs({ pathParams: { projectId, deploymentId }, queryParams, config }); + return await getRuntimeLogs({ pathParams: { projectId, deploymentId }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'createExperimentationItem', 'Create one or multiple experimentation items', { - integrationConfigurationId: createExperimentationItemPathParamsSchema.shape.integrationConfigurationId, - resourceId: createExperimentationItemPathParamsSchema.shape.resourceId + integrationConfigurationId: createExperimentationItemPathParamsSchema.shape['integrationConfigurationId'], + resourceId: createExperimentationItemPathParamsSchema.shape['resourceId'], }, async ({ integrationConfigurationId, resourceId }) => { try { - return await createExperimentationItem({ pathParams: { integrationConfigurationId, resourceId }, config }); + return await createExperimentationItem({ pathParams: { integrationConfigurationId, resourceId }, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'updateExperimentationItem', 'Patch an existing experimentation item', { - integrationConfigurationId: updateExperimentationItemPathParamsSchema.shape.integrationConfigurationId, - resourceId: updateExperimentationItemPathParamsSchema.shape.resourceId, - itemId: updateExperimentationItemPathParamsSchema.shape.itemId + integrationConfigurationId: updateExperimentationItemPathParamsSchema.shape['integrationConfigurationId'], + resourceId: updateExperimentationItemPathParamsSchema.shape['resourceId'], + itemId: updateExperimentationItemPathParamsSchema.shape['itemId'], }, async ({ integrationConfigurationId, resourceId, itemId }) => { try { - return await updateExperimentationItem({ - pathParams: { integrationConfigurationId, resourceId, itemId }, - config - }); + return await updateExperimentationItem({ pathParams: { integrationConfigurationId, resourceId, itemId }, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'deleteExperimentationItem', 'Delete an existing experimentation item', { - integrationConfigurationId: deleteExperimentationItemPathParamsSchema.shape.integrationConfigurationId, - resourceId: deleteExperimentationItemPathParamsSchema.shape.resourceId, - itemId: deleteExperimentationItemPathParamsSchema.shape.itemId + integrationConfigurationId: deleteExperimentationItemPathParamsSchema.shape['integrationConfigurationId'], + resourceId: deleteExperimentationItemPathParamsSchema.shape['resourceId'], + itemId: deleteExperimentationItemPathParamsSchema.shape['itemId'], }, async ({ integrationConfigurationId, resourceId, itemId }) => { try { - return await deleteExperimentationItem({ - pathParams: { integrationConfigurationId, resourceId, itemId }, - config - }); + return await deleteExperimentationItem({ pathParams: { integrationConfigurationId, resourceId, itemId }, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'updateExperimentationEdgeConfig', 'When the user enabled Edge Config syncing, then this endpoint can be used by the partner to push their configuration data into the relevant Edge Config.', { - integrationConfigurationId: updateExperimentationEdgeConfigPathParamsSchema.shape.integrationConfigurationId, - resourceId: updateExperimentationEdgeConfigPathParamsSchema.shape.resourceId + integrationConfigurationId: updateExperimentationEdgeConfigPathParamsSchema.shape['integrationConfigurationId'], + resourceId: updateExperimentationEdgeConfigPathParamsSchema.shape['resourceId'], }, async ({ integrationConfigurationId, resourceId }) => { try { - return await updateExperimentationEdgeConfig({ - pathParams: { integrationConfigurationId, resourceId }, - config - }); + return await updateExperimentationEdgeConfig({ pathParams: { integrationConfigurationId, resourceId }, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'getProjectMembers', 'Lists all members of a project.', - { idOrName: getProjectMembersPathParamsSchema.shape.idOrName, queryParams: getProjectMembersQueryParamsSchema }, + { idOrName: getProjectMembersPathParamsSchema.shape['idOrName'], queryParams: getProjectMembersQueryParamsSchema }, async ({ idOrName, queryParams }) => { try { - return await getProjectMembers({ pathParams: { idOrName }, queryParams, config }); + return await getProjectMembers({ pathParams: { idOrName }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'addProjectMember', 'Adds a new member to the project.', - { idOrName: addProjectMemberPathParamsSchema.shape.idOrName, queryParams: addProjectMemberQueryParamsSchema }, + { idOrName: addProjectMemberPathParamsSchema.shape['idOrName'], queryParams: addProjectMemberQueryParamsSchema }, async ({ idOrName, queryParams }) => { try { - return await addProjectMember({ pathParams: { idOrName }, queryParams, config }); + return await addProjectMember({ pathParams: { idOrName }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'removeProjectMember', 'Remove a member from a specific project', { - idOrName: removeProjectMemberPathParamsSchema.shape.idOrName, - uid: removeProjectMemberPathParamsSchema.shape.uid, - queryParams: removeProjectMemberQueryParamsSchema + idOrName: removeProjectMemberPathParamsSchema.shape['idOrName'], + uid: removeProjectMemberPathParamsSchema.shape['uid'], + queryParams: removeProjectMemberQueryParamsSchema, }, async ({ idOrName, uid, queryParams }) => { try { - return await removeProjectMember({ pathParams: { idOrName, uid }, queryParams, config }); + return await removeProjectMember({ pathParams: { idOrName, uid }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'getProjects', @@ -8927,12 +8587,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { queryParams: getProjectsQueryParamsSchema }, async ({ queryParams }) => { try { - return await getProjects({ queryParams, config }); + return await getProjects({ queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'createProject', @@ -8940,538 +8600,498 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { queryParams: createProjectQueryParamsSchema }, async ({ queryParams }) => { try { - return await createProject({ queryParams, config }); + return await createProject({ queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'getProject', 'Get the information for a specific project by passing either the project `id` or `name` in the URL.', - { idOrName: getProjectPathParamsSchema.shape.idOrName, queryParams: getProjectQueryParamsSchema }, + { idOrName: getProjectPathParamsSchema.shape['idOrName'], queryParams: getProjectQueryParamsSchema }, async ({ idOrName, queryParams }) => { try { - return await getProject({ pathParams: { idOrName }, queryParams, config }); + return await getProject({ pathParams: { idOrName }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'updateProject', 'Update the fields of a project using either its `name` or `id`.', - { idOrName: updateProjectPathParamsSchema.shape.idOrName, queryParams: updateProjectQueryParamsSchema }, + { idOrName: updateProjectPathParamsSchema.shape['idOrName'], queryParams: updateProjectQueryParamsSchema }, async ({ idOrName, queryParams }) => { try { - return await updateProject({ pathParams: { idOrName }, queryParams, config }); + return await updateProject({ pathParams: { idOrName }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'deleteProject', 'Delete a specific project by passing either the project `id` or `name` in the URL.', - { idOrName: deleteProjectPathParamsSchema.shape.idOrName, queryParams: deleteProjectQueryParamsSchema }, + { idOrName: deleteProjectPathParamsSchema.shape['idOrName'], queryParams: deleteProjectQueryParamsSchema }, async ({ idOrName, queryParams }) => { try { - return await deleteProject({ pathParams: { idOrName }, queryParams, config }); + return await deleteProject({ pathParams: { idOrName }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'createCustomEnvironment', "Creates a custom environment for the current project. Cannot be named 'Production' or 'Preview'.", - { - idOrName: createCustomEnvironmentPathParamsSchema.shape.idOrName, - queryParams: createCustomEnvironmentQueryParamsSchema - }, + { idOrName: createCustomEnvironmentPathParamsSchema.shape['idOrName'], queryParams: createCustomEnvironmentQueryParamsSchema }, async ({ idOrName, queryParams }) => { try { - return await createCustomEnvironment({ pathParams: { idOrName }, queryParams, config }); + return await createCustomEnvironment({ pathParams: { idOrName }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'listCustomEnvironments', "Retrieve custom environments for the project. Must not be named 'Production' or 'Preview'.", - { - idOrName: listCustomEnvironmentsPathParamsSchema.shape.idOrName, - queryParams: listCustomEnvironmentsQueryParamsSchema - }, + { idOrName: listCustomEnvironmentsPathParamsSchema.shape['idOrName'], queryParams: listCustomEnvironmentsQueryParamsSchema }, async ({ idOrName, queryParams }) => { try { - return await listCustomEnvironments({ pathParams: { idOrName }, queryParams, config }); + return await listCustomEnvironments({ pathParams: { idOrName }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'getCustomEnvironment', "Retrieve a custom environment for the project. Must not be named 'Production' or 'Preview'.", { - idOrName: getCustomEnvironmentPathParamsSchema.shape.idOrName, - environmentSlugOrId: getCustomEnvironmentPathParamsSchema.shape.environmentSlugOrId, - queryParams: getCustomEnvironmentQueryParamsSchema + idOrName: getCustomEnvironmentPathParamsSchema.shape['idOrName'], + environmentSlugOrId: getCustomEnvironmentPathParamsSchema.shape['environmentSlugOrId'], + queryParams: getCustomEnvironmentQueryParamsSchema, }, async ({ idOrName, environmentSlugOrId, queryParams }) => { try { - return await getCustomEnvironment({ pathParams: { idOrName, environmentSlugOrId }, queryParams, config }); + return await getCustomEnvironment({ pathParams: { idOrName, environmentSlugOrId }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'updateCustomEnvironment', "Update a custom environment for the project. Must not be named 'Production' or 'Preview'.", { - idOrName: updateCustomEnvironmentPathParamsSchema.shape.idOrName, - environmentSlugOrId: updateCustomEnvironmentPathParamsSchema.shape.environmentSlugOrId, - queryParams: updateCustomEnvironmentQueryParamsSchema + idOrName: updateCustomEnvironmentPathParamsSchema.shape['idOrName'], + environmentSlugOrId: updateCustomEnvironmentPathParamsSchema.shape['environmentSlugOrId'], + queryParams: updateCustomEnvironmentQueryParamsSchema, }, async ({ idOrName, environmentSlugOrId, queryParams }) => { try { - return await updateCustomEnvironment({ pathParams: { idOrName, environmentSlugOrId }, queryParams, config }); + return await updateCustomEnvironment({ pathParams: { idOrName, environmentSlugOrId }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'removeCustomEnvironment', "Remove a custom environment for the project. Must not be named 'Production' or 'Preview'.", { - idOrName: removeCustomEnvironmentPathParamsSchema.shape.idOrName, - environmentSlugOrId: removeCustomEnvironmentPathParamsSchema.shape.environmentSlugOrId, - queryParams: removeCustomEnvironmentQueryParamsSchema + idOrName: removeCustomEnvironmentPathParamsSchema.shape['idOrName'], + environmentSlugOrId: removeCustomEnvironmentPathParamsSchema.shape['environmentSlugOrId'], + queryParams: removeCustomEnvironmentQueryParamsSchema, }, async ({ idOrName, environmentSlugOrId, queryParams }) => { try { - return await removeCustomEnvironment({ pathParams: { idOrName, environmentSlugOrId }, queryParams, config }); + return await removeCustomEnvironment({ pathParams: { idOrName, environmentSlugOrId }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'getProjectDomains', 'Retrieve the domains associated with a given project by passing either the project `id` or `name` in the URL.', - { idOrName: getProjectDomainsPathParamsSchema.shape.idOrName, queryParams: getProjectDomainsQueryParamsSchema }, + { idOrName: getProjectDomainsPathParamsSchema.shape['idOrName'], queryParams: getProjectDomainsQueryParamsSchema }, async ({ idOrName, queryParams }) => { try { - return await getProjectDomains({ pathParams: { idOrName }, queryParams, config }); + return await getProjectDomains({ pathParams: { idOrName }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'getProjectDomain', 'Get project domain by project id/name and domain name.', { - idOrName: getProjectDomainPathParamsSchema.shape.idOrName, - domain: getProjectDomainPathParamsSchema.shape.domain, - queryParams: getProjectDomainQueryParamsSchema + idOrName: getProjectDomainPathParamsSchema.shape['idOrName'], + domain: getProjectDomainPathParamsSchema.shape['domain'], + queryParams: getProjectDomainQueryParamsSchema, }, async ({ idOrName, domain, queryParams }) => { try { - return await getProjectDomain({ pathParams: { idOrName, domain }, queryParams, config }); + return await getProjectDomain({ pathParams: { idOrName, domain }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'updateProjectDomain', "Update a project domain's configuration, including the name, git branch and redirect of the domain.", { - idOrName: updateProjectDomainPathParamsSchema.shape.idOrName, - domain: updateProjectDomainPathParamsSchema.shape.domain, - queryParams: updateProjectDomainQueryParamsSchema + idOrName: updateProjectDomainPathParamsSchema.shape['idOrName'], + domain: updateProjectDomainPathParamsSchema.shape['domain'], + queryParams: updateProjectDomainQueryParamsSchema, }, async ({ idOrName, domain, queryParams }) => { try { - return await updateProjectDomain({ pathParams: { idOrName, domain }, queryParams, config }); + return await updateProjectDomain({ pathParams: { idOrName, domain }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'removeProjectDomain', 'Remove a domain from a project by passing the domain name and by specifying the project by either passing the project `id` or `name` in the URL.', { - idOrName: removeProjectDomainPathParamsSchema.shape.idOrName, - domain: removeProjectDomainPathParamsSchema.shape.domain, - queryParams: removeProjectDomainQueryParamsSchema + idOrName: removeProjectDomainPathParamsSchema.shape['idOrName'], + domain: removeProjectDomainPathParamsSchema.shape['domain'], + queryParams: removeProjectDomainQueryParamsSchema, }, async ({ idOrName, domain, queryParams }) => { try { - return await removeProjectDomain({ pathParams: { idOrName, domain }, queryParams, config }); + return await removeProjectDomain({ pathParams: { idOrName, domain }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'addProjectDomain', 'Add a domain to the project by passing its domain name and by specifying the project by either passing the project `id` or `name` in the URL. If the domain is not yet verified to be used on this project, the request will return `verified = false`, and the domain will need to be verified according to the `verification` challenge via `POST /projects/:idOrName/domains/:domain/verify`. If the domain already exists on the project, the request will fail with a `400` status code.', - { idOrName: addProjectDomainPathParamsSchema.shape.idOrName, queryParams: addProjectDomainQueryParamsSchema }, + { idOrName: addProjectDomainPathParamsSchema.shape['idOrName'], queryParams: addProjectDomainQueryParamsSchema }, async ({ idOrName, queryParams }) => { try { - return await addProjectDomain({ pathParams: { idOrName }, queryParams, config }); + return await addProjectDomain({ pathParams: { idOrName }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'moveProjectDomain', "Move one project's domain to another project. Also allows the move of all redirects pointed to that domain in the same project.", { - idOrName: moveProjectDomainPathParamsSchema.shape.idOrName, - domain: moveProjectDomainPathParamsSchema.shape.domain, - queryParams: moveProjectDomainQueryParamsSchema + idOrName: moveProjectDomainPathParamsSchema.shape['idOrName'], + domain: moveProjectDomainPathParamsSchema.shape['domain'], + queryParams: moveProjectDomainQueryParamsSchema, }, async ({ idOrName, domain, queryParams }) => { try { - return await moveProjectDomain({ pathParams: { idOrName, domain }, queryParams, config }); + return await moveProjectDomain({ pathParams: { idOrName, domain }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'verifyProjectDomain', "Attempts to verify a project domain with `verified = false` by checking the correctness of the project domain's `verification` challenge.", { - idOrName: verifyProjectDomainPathParamsSchema.shape.idOrName, - domain: verifyProjectDomainPathParamsSchema.shape.domain, - queryParams: verifyProjectDomainQueryParamsSchema + idOrName: verifyProjectDomainPathParamsSchema.shape['idOrName'], + domain: verifyProjectDomainPathParamsSchema.shape['domain'], + queryParams: verifyProjectDomainQueryParamsSchema, }, async ({ idOrName, domain, queryParams }) => { try { - return await verifyProjectDomain({ pathParams: { idOrName, domain }, queryParams, config }); + return await verifyProjectDomain({ pathParams: { idOrName, domain }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'filterProjectEnvs', 'Retrieve the environment variables for a given project by passing either the project `id` or `name` in the URL.', - { idOrName: filterProjectEnvsPathParamsSchema.shape.idOrName, queryParams: filterProjectEnvsQueryParamsSchema }, + { idOrName: filterProjectEnvsPathParamsSchema.shape['idOrName'], queryParams: filterProjectEnvsQueryParamsSchema }, async ({ idOrName, queryParams }) => { try { - return await filterProjectEnvs({ pathParams: { idOrName }, queryParams, config }); + return await filterProjectEnvs({ pathParams: { idOrName }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'createProjectEnv', "Create one or more environment variables for a project by passing its `key`, `value`, `type` and `target` and by specifying the project by either passing the project `id` or `name` in the URL. If you include `upsert=true` as a query parameter, a new environment variable will not be created if it already exists but, the existing variable's value will be updated.", - { idOrName: createProjectEnvPathParamsSchema.shape.idOrName, queryParams: createProjectEnvQueryParamsSchema }, + { idOrName: createProjectEnvPathParamsSchema.shape['idOrName'], queryParams: createProjectEnvQueryParamsSchema }, async ({ idOrName, queryParams }) => { try { - return await createProjectEnv({ pathParams: { idOrName }, queryParams, config }); + return await createProjectEnv({ pathParams: { idOrName }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'getProjectEnv', 'Retrieve the environment variable for a given project.', - { - idOrName: getProjectEnvPathParamsSchema.shape.idOrName, - id: getProjectEnvPathParamsSchema.shape.id, - queryParams: getProjectEnvQueryParamsSchema - }, + { idOrName: getProjectEnvPathParamsSchema.shape['idOrName'], id: getProjectEnvPathParamsSchema.shape['id'], queryParams: getProjectEnvQueryParamsSchema }, async ({ idOrName, id, queryParams }) => { try { - return await getProjectEnv({ pathParams: { idOrName, id }, queryParams, config }); + return await getProjectEnv({ pathParams: { idOrName, id }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'removeProjectEnv', 'Delete a specific environment variable for a given project by passing the environment variable identifier and either passing the project `id` or `name` in the URL.', { - idOrName: removeProjectEnvPathParamsSchema.shape.idOrName, - id: removeProjectEnvPathParamsSchema.shape.id, - queryParams: removeProjectEnvQueryParamsSchema + idOrName: removeProjectEnvPathParamsSchema.shape['idOrName'], + id: removeProjectEnvPathParamsSchema.shape['id'], + queryParams: removeProjectEnvQueryParamsSchema, }, async ({ idOrName, id, queryParams }) => { try { - return await removeProjectEnv({ pathParams: { idOrName, id }, queryParams, config }); + return await removeProjectEnv({ pathParams: { idOrName, id }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'editProjectEnv', 'Edit a specific environment variable for a given project by passing the environment variable identifier and either passing the project `id` or `name` in the URL.', { - idOrName: editProjectEnvPathParamsSchema.shape.idOrName, - id: editProjectEnvPathParamsSchema.shape.id, - queryParams: editProjectEnvQueryParamsSchema + idOrName: editProjectEnvPathParamsSchema.shape['idOrName'], + id: editProjectEnvPathParamsSchema.shape['id'], + queryParams: editProjectEnvQueryParamsSchema, }, async ({ idOrName, id, queryParams }) => { try { - return await editProjectEnv({ pathParams: { idOrName, id }, queryParams, config }); + return await editProjectEnv({ pathParams: { idOrName, id }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'getRollingReleaseBillingStatus', 'Get the Rolling Releases billing status for a project. The team level billing status is used to determine if the project can be configured for rolling releases.', - { - idOrName: getRollingReleaseBillingStatusPathParamsSchema.shape.idOrName, - queryParams: getRollingReleaseBillingStatusQueryParamsSchema - }, + { idOrName: getRollingReleaseBillingStatusPathParamsSchema.shape['idOrName'], queryParams: getRollingReleaseBillingStatusQueryParamsSchema }, async ({ idOrName, queryParams }) => { try { - return await getRollingReleaseBillingStatus({ pathParams: { idOrName }, queryParams, config }); + return await getRollingReleaseBillingStatus({ pathParams: { idOrName }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'getRollingReleaseConfig', 'Get the Rolling Releases configuration for a project. The project-level config is simply a template that will be used for any future rolling release, and not the configuration for any active rolling release.', - { - idOrName: getRollingReleaseConfigPathParamsSchema.shape.idOrName, - queryParams: getRollingReleaseConfigQueryParamsSchema - }, + { idOrName: getRollingReleaseConfigPathParamsSchema.shape['idOrName'], queryParams: getRollingReleaseConfigQueryParamsSchema }, async ({ idOrName, queryParams }) => { try { - return await getRollingReleaseConfig({ pathParams: { idOrName }, queryParams, config }); + return await getRollingReleaseConfig({ pathParams: { idOrName }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'deleteRollingReleaseConfig', "Disable Rolling Releases for a project means that future deployments will not undergo a rolling release. Changing the config never alters a rollout that's already in-flight—it only affects the next production deployment. If you want to also stop the current rollout, call this endpoint to disable the feature, and then call either the /complete or /abort endpoint.", - { - idOrName: deleteRollingReleaseConfigPathParamsSchema.shape.idOrName, - queryParams: deleteRollingReleaseConfigQueryParamsSchema - }, + { idOrName: deleteRollingReleaseConfigPathParamsSchema.shape['idOrName'], queryParams: deleteRollingReleaseConfigQueryParamsSchema }, async ({ idOrName, queryParams }) => { try { - return await deleteRollingReleaseConfig({ pathParams: { idOrName }, queryParams, config }); + return await deleteRollingReleaseConfig({ pathParams: { idOrName }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'updateRollingReleaseConfig', "Update (or disable) Rolling Releases for a project. Changing the config never alters a rollout that's already in-flight. It only affects the next production deployment. This also applies to disabling Rolling Releases. If you want to also stop the current rollout, call this endpoint to disable the feature, and then call either the /complete or /abort endpoint. Note: Enabling Rolling Releases automatically enables skew protection on the project with the default value if it wasn't configured already.", - { - idOrName: updateRollingReleaseConfigPathParamsSchema.shape.idOrName, - queryParams: updateRollingReleaseConfigQueryParamsSchema - }, + { idOrName: updateRollingReleaseConfigPathParamsSchema.shape['idOrName'], queryParams: updateRollingReleaseConfigQueryParamsSchema }, async ({ idOrName, queryParams }) => { try { - return await updateRollingReleaseConfig({ pathParams: { idOrName }, queryParams, config }); + return await updateRollingReleaseConfig({ pathParams: { idOrName }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'getRollingRelease', 'Return the Rolling Release for a project, regardless of whether the rollout is active, aborted, or completed. If the feature is enabled but no deployment has occurred yet, null will be returned.', - { idOrName: getRollingReleasePathParamsSchema.shape.idOrName, queryParams: getRollingReleaseQueryParamsSchema }, + { idOrName: getRollingReleasePathParamsSchema.shape['idOrName'], queryParams: getRollingReleaseQueryParamsSchema }, async ({ idOrName, queryParams }) => { try { - return await getRollingRelease({ pathParams: { idOrName }, queryParams, config }); + return await getRollingRelease({ pathParams: { idOrName }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'approveRollingReleaseStage', 'Advance a rollout to the next stage. This is only needed when rolling releases is configured to require manual approval.', - { - idOrName: approveRollingReleaseStagePathParamsSchema.shape.idOrName, - queryParams: approveRollingReleaseStageQueryParamsSchema - }, + { idOrName: approveRollingReleaseStagePathParamsSchema.shape['idOrName'], queryParams: approveRollingReleaseStageQueryParamsSchema }, async ({ idOrName, queryParams }) => { try { - return await approveRollingReleaseStage({ pathParams: { idOrName }, queryParams, config }); + return await approveRollingReleaseStage({ pathParams: { idOrName }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'completeRollingRelease', 'Force-complete a Rolling Release. The canary deployment will begin serving 100% of the traffic.', - { - idOrName: completeRollingReleasePathParamsSchema.shape.idOrName, - queryParams: completeRollingReleaseQueryParamsSchema - }, + { idOrName: completeRollingReleasePathParamsSchema.shape['idOrName'], queryParams: completeRollingReleaseQueryParamsSchema }, async ({ idOrName, queryParams }) => { try { - return await completeRollingRelease({ pathParams: { idOrName }, queryParams, config }); + return await completeRollingRelease({ pathParams: { idOrName }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'createProjectTransferRequest', 'Initiates a project transfer request from one team to another.
Returns a `code` that remains valid for 24 hours and can be used to accept the transfer request by another team using the `PUT /projects/transfer-request/:code` endpoint.
Users can also accept the project transfer request using the claim URL: `https://vercel.com/claim-deployment?code=&returnUrl=`.
The `code` parameter specifies the project transfer request code generated using this endpoint.
The `returnUrl` parameter redirects users to a specific page of the application if the claim URL is invalid or expired.', - { - idOrName: createProjectTransferRequestPathParamsSchema.shape.idOrName, - queryParams: createProjectTransferRequestQueryParamsSchema - }, + { idOrName: createProjectTransferRequestPathParamsSchema.shape['idOrName'], queryParams: createProjectTransferRequestQueryParamsSchema }, async ({ idOrName, queryParams }) => { try { - return await createProjectTransferRequest({ pathParams: { idOrName }, queryParams, config }); + return await createProjectTransferRequest({ pathParams: { idOrName }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'acceptProjectTransferRequest', 'Accept a project transfer request initated by another team.
The `code` is generated using the `POST /projects/:idOrName/transfer-request` endpoint.', - { - code: acceptProjectTransferRequestPathParamsSchema.shape.code, - queryParams: acceptProjectTransferRequestQueryParamsSchema - }, + { code: acceptProjectTransferRequestPathParamsSchema.shape['code'], queryParams: acceptProjectTransferRequestQueryParamsSchema }, async ({ code, queryParams }) => { try { - return await acceptProjectTransferRequest({ pathParams: { code }, queryParams, config }); + return await acceptProjectTransferRequest({ pathParams: { code }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'updateProjectProtectionBypass', 'Update the deployment protection automation bypass for a project', - { - idOrName: updateProjectProtectionBypassPathParamsSchema.shape.idOrName, - queryParams: updateProjectProtectionBypassQueryParamsSchema - }, + { idOrName: updateProjectProtectionBypassPathParamsSchema.shape['idOrName'], queryParams: updateProjectProtectionBypassQueryParamsSchema }, async ({ idOrName, queryParams }) => { try { - return await updateProjectProtectionBypass({ pathParams: { idOrName }, queryParams, config }); + return await updateProjectProtectionBypass({ pathParams: { idOrName }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'requestPromote', 'Allows users to promote a deployment to production. Note: This does NOT rebuild the deployment. If you need that, then call create-deployments endpoint.', { - projectId: requestPromotePathParamsSchema.shape.projectId, - deploymentId: requestPromotePathParamsSchema.shape.deploymentId, - queryParams: requestPromoteQueryParamsSchema + projectId: requestPromotePathParamsSchema.shape['projectId'], + deploymentId: requestPromotePathParamsSchema.shape['deploymentId'], + queryParams: requestPromoteQueryParamsSchema, }, async ({ projectId, deploymentId, queryParams }) => { try { - return await requestPromote({ pathParams: { projectId, deploymentId }, queryParams, config }); + return await requestPromote({ pathParams: { projectId, deploymentId }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'listPromoteAliases', 'Get a list of aliases related to the last promote request with their mapping status', - { - projectId: listPromoteAliasesPathParamsSchema.shape.projectId, - queryParams: listPromoteAliasesQueryParamsSchema - }, + { projectId: listPromoteAliasesPathParamsSchema.shape['projectId'], queryParams: listPromoteAliasesQueryParamsSchema }, async ({ projectId, queryParams }) => { try { - return await listPromoteAliases({ pathParams: { projectId }, queryParams, config }); + return await listPromoteAliases({ pathParams: { projectId }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'pauseProject', 'Pause a project by passing its project `id` in the URL. If the project does not exist given the id then the request will fail with 400 status code. If the project disables auto assigning custom production domains and blocks the active Production Deployment then the request will return with 200 status code.', - { projectId: pauseProjectPathParamsSchema.shape.projectId, queryParams: pauseProjectQueryParamsSchema }, + { projectId: pauseProjectPathParamsSchema.shape['projectId'], queryParams: pauseProjectQueryParamsSchema }, async ({ projectId, queryParams }) => { try { - return await pauseProject({ pathParams: { projectId }, queryParams, config }); + return await pauseProject({ pathParams: { projectId }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'unpauseProject', 'Unpause a project by passing its project `id` in the URL. If the project does not exist given the id then the request will fail with 400 status code. If the project enables auto assigning custom production domains and unblocks the active Production Deployment then the request will return with 200 status code.', - { projectId: unpauseProjectPathParamsSchema.shape.projectId, queryParams: unpauseProjectQueryParamsSchema }, + { projectId: unpauseProjectPathParamsSchema.shape['projectId'], queryParams: unpauseProjectQueryParamsSchema }, async ({ projectId, queryParams }) => { try { - return await unpauseProject({ pathParams: { projectId }, queryParams, config }); + return await unpauseProject({ pathParams: { projectId }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'updateAttackChallengeMode', @@ -9479,12 +9099,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { queryParams: updateAttackChallengeModeQueryParamsSchema }, async ({ queryParams }) => { try { - return await updateAttackChallengeMode({ queryParams, config }); + return await updateAttackChallengeMode({ queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'putFirewallConfig', @@ -9492,12 +9112,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { queryParams: putFirewallConfigQueryParamsSchema }, async ({ queryParams }) => { try { - return await putFirewallConfig({ queryParams, config }); + return await putFirewallConfig({ queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'updateFirewallConfig', @@ -9505,28 +9125,25 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { queryParams: updateFirewallConfigQueryParamsSchema }, async ({ queryParams }) => { try { - return await updateFirewallConfig({ queryParams, config }); + return await updateFirewallConfig({ queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'getFirewallConfig', 'Retrieve the specified firewall configuration for a project. The deployed configVersion will be `active`', - { - configVersion: getFirewallConfigPathParamsSchema.shape.configVersion, - queryParams: getFirewallConfigQueryParamsSchema - }, + { configVersion: getFirewallConfigPathParamsSchema.shape['configVersion'], queryParams: getFirewallConfigQueryParamsSchema }, async ({ configVersion, queryParams }) => { try { - return await getFirewallConfig({ pathParams: { configVersion }, queryParams, config }); + return await getFirewallConfig({ pathParams: { configVersion }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'getActiveAttackStatus', @@ -9534,12 +9151,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { queryParams: getActiveAttackStatusQueryParamsSchema }, async ({ queryParams }) => { try { - return await getActiveAttackStatus({ queryParams, config }); + return await getActiveAttackStatus({ queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'getBypassIp', @@ -9547,162 +9164,144 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { queryParams: getBypassIpQueryParamsSchema }, async ({ queryParams }) => { try { - return await getBypassIp({ queryParams, config }); + return await getBypassIp({ queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) - server.tool( - 'addBypassIp', - 'Create new system bypass rules', - { queryParams: addBypassIpQueryParamsSchema }, - async ({ queryParams }) => { - try { - return await addBypassIp({ queryParams, config }); - } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; - } + server.tool('addBypassIp', 'Create new system bypass rules', { queryParams: addBypassIpQueryParamsSchema }, async ({ queryParams }) => { + try { + return await addBypassIp({ queryParams, config }) + } catch (error) { + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - ); + }) - server.tool( - 'removeBypassIp', - 'Remove system bypass rules', - { queryParams: removeBypassIpQueryParamsSchema }, - async ({ queryParams }) => { - try { - return await removeBypassIp({ queryParams, config }); - } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; - } + server.tool('removeBypassIp', 'Remove system bypass rules', { queryParams: removeBypassIpQueryParamsSchema }, async ({ queryParams }) => { + try { + return await removeBypassIp({ queryParams, config }) + } catch (error) { + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - ); + }) server.tool( 'getTeamMembers', 'Get a paginated list of team members for the provided team.', - { teamId: getTeamMembersPathParamsSchema.shape.teamId, queryParams: getTeamMembersQueryParamsSchema }, + { teamId: getTeamMembersPathParamsSchema.shape['teamId'], queryParams: getTeamMembersQueryParamsSchema }, async ({ teamId, queryParams }) => { try { - return await getTeamMembers({ pathParams: { teamId }, queryParams, config }); + return await getTeamMembers({ pathParams: { teamId }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'inviteUserToTeam', 'Invite a user to join the team specified in the URL. The authenticated user needs to be an `OWNER` in order to successfully invoke this endpoint. The user can be specified with an email or an ID. If both email and ID are provided, ID will take priority.', - { teamId: inviteUserToTeamPathParamsSchema.shape.teamId }, + { teamId: inviteUserToTeamPathParamsSchema.shape['teamId'] }, async ({ teamId }) => { try { - return await inviteUserToTeam({ pathParams: { teamId }, config }); + return await inviteUserToTeam({ pathParams: { teamId }, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'requestAccessToTeam', 'Request access to a team as a member. An owner has to approve the request. Only 10 users can request access to a team at the same time.', - { teamId: requestAccessToTeamPathParamsSchema.shape.teamId }, + { teamId: requestAccessToTeamPathParamsSchema.shape['teamId'] }, async ({ teamId }) => { try { - return await requestAccessToTeam({ pathParams: { teamId }, config }); + return await requestAccessToTeam({ pathParams: { teamId }, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'getTeamAccessRequest', "Check the status of a join request. It'll respond with a 404 if the request has been declined. If no `userId` path segment was provided, this endpoint will instead return the status of the authenticated user.", - { - userId: getTeamAccessRequestPathParamsSchema.shape.userId, - teamId: getTeamAccessRequestPathParamsSchema.shape.teamId - }, + { userId: getTeamAccessRequestPathParamsSchema.shape['userId'], teamId: getTeamAccessRequestPathParamsSchema.shape['teamId'] }, async ({ userId, teamId }) => { try { - return await getTeamAccessRequest({ pathParams: { userId, teamId }, config }); + return await getTeamAccessRequest({ pathParams: { userId, teamId }, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) - server.tool( - 'joinTeam', - 'Join a team with a provided invite code or team ID.', - { teamId: joinTeamPathParamsSchema.shape.teamId }, - async ({ teamId }) => { - try { - return await joinTeam({ pathParams: { teamId }, config }); - } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; - } + server.tool('joinTeam', 'Join a team with a provided invite code or team ID.', { teamId: joinTeamPathParamsSchema.shape['teamId'] }, async ({ teamId }) => { + try { + return await joinTeam({ pathParams: { teamId }, config }) + } catch (error) { + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - ); + }) server.tool( 'updateTeamMember', 'Update the membership of a Team Member on the Team specified by `teamId`, such as changing the _role_ of the member, or confirming a request to join the Team for an unconfirmed member. The authenticated user must be an `OWNER` of the Team.', - { uid: updateTeamMemberPathParamsSchema.shape.uid, teamId: updateTeamMemberPathParamsSchema.shape.teamId }, + { uid: updateTeamMemberPathParamsSchema.shape['uid'], teamId: updateTeamMemberPathParamsSchema.shape['teamId'] }, async ({ uid, teamId }) => { try { - return await updateTeamMember({ pathParams: { uid, teamId }, config }); + return await updateTeamMember({ pathParams: { uid, teamId }, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'removeTeamMember', 'Remove a Team Member from the Team, or dismiss a user that requested access, or leave a team.', { - uid: removeTeamMemberPathParamsSchema.shape.uid, - teamId: removeTeamMemberPathParamsSchema.shape.teamId, - queryParams: removeTeamMemberQueryParamsSchema + uid: removeTeamMemberPathParamsSchema.shape['uid'], + teamId: removeTeamMemberPathParamsSchema.shape['teamId'], + queryParams: removeTeamMemberQueryParamsSchema, }, async ({ uid, teamId, queryParams }) => { try { - return await removeTeamMember({ pathParams: { uid, teamId }, queryParams, config }); + return await removeTeamMember({ pathParams: { uid, teamId }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'getTeam', 'Get information for the Team specified by the `teamId` parameter.', - { teamId: getTeamPathParamsSchema.shape.teamId, queryParams: getTeamQueryParamsSchema }, + { teamId: getTeamPathParamsSchema.shape['teamId'], queryParams: getTeamQueryParamsSchema }, async ({ teamId, queryParams }) => { try { - return await getTeam({ pathParams: { teamId }, queryParams, config }); + return await getTeam({ pathParams: { teamId }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'patchTeam', 'Update the information of a Team specified by the `teamId` parameter. The request body should contain the information that will be updated on the Team.', - { teamId: patchTeamPathParamsSchema.shape.teamId, queryParams: patchTeamQueryParamsSchema }, + { teamId: patchTeamPathParamsSchema.shape['teamId'], queryParams: patchTeamQueryParamsSchema }, async ({ teamId, queryParams }) => { try { - return await patchTeam({ pathParams: { teamId }, queryParams, config }); + return await patchTeam({ pathParams: { teamId }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'getTeams', @@ -9710,53 +9309,50 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { queryParams: getTeamsQueryParamsSchema }, async ({ queryParams }) => { try { - return await getTeams({ queryParams, config }); + return await getTeams({ queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'createTeam', 'Create a new Team under your account. You need to send a POST request with the desired Team slug, and optionally the Team name.', async () => { try { - return await createTeam({ config }); + return await createTeam({ config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'deleteTeam', 'Delete a team under your account. You need to send a `DELETE` request with the desired team `id`. An optional array of reasons for deletion may also be sent.', - { teamId: deleteTeamPathParamsSchema.shape.teamId, queryParams: deleteTeamQueryParamsSchema }, + { teamId: deleteTeamPathParamsSchema.shape['teamId'], queryParams: deleteTeamQueryParamsSchema }, async ({ teamId, queryParams }) => { try { - return await deleteTeam({ pathParams: { teamId }, queryParams, config }); + return await deleteTeam({ pathParams: { teamId }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'deleteTeamInviteCode', 'Delete an active Team invite code.', - { - inviteId: deleteTeamInviteCodePathParamsSchema.shape.inviteId, - teamId: deleteTeamInviteCodePathParamsSchema.shape.teamId - }, + { inviteId: deleteTeamInviteCodePathParamsSchema.shape['inviteId'], teamId: deleteTeamInviteCodePathParamsSchema.shape['teamId'] }, async ({ inviteId, teamId }) => { try { - return await deleteTeamInviteCode({ pathParams: { inviteId, teamId }, config }); + return await deleteTeamInviteCode({ pathParams: { inviteId, teamId }, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'uploadFile', @@ -9764,20 +9360,20 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { queryParams: uploadFileQueryParamsSchema, headers: uploadFileHeaderParamsSchema }, async ({ queryParams, headers }) => { try { - return await uploadFile({ queryParams, headers, config }); + return await uploadFile({ queryParams, headers, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool('listAuthTokens', "Retrieve a list of the current User's authentication tokens.", async () => { try { - return await listAuthTokens({ config }); + return await listAuthTokens({ config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - }); + }) server.tool( 'createAuthToken', @@ -9785,136 +9381,126 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { queryParams: createAuthTokenQueryParamsSchema }, async ({ queryParams }) => { try { - return await createAuthToken({ queryParams, config }); + return await createAuthToken({ queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'getAuthToken', 'Retrieve metadata about an authentication token belonging to the currently authenticated User.', - { tokenId: getAuthTokenPathParamsSchema.shape.tokenId }, + { tokenId: getAuthTokenPathParamsSchema.shape['tokenId'] }, async ({ tokenId }) => { try { - return await getAuthToken({ pathParams: { tokenId }, config }); + return await getAuthToken({ pathParams: { tokenId }, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'deleteAuthToken', 'Invalidate an authentication token, such that it will no longer be valid for future HTTP requests.', - { tokenId: deleteAuthTokenPathParamsSchema.shape.tokenId }, + { tokenId: deleteAuthTokenPathParamsSchema.shape['tokenId'] }, async ({ tokenId }) => { try { - return await deleteAuthToken({ pathParams: { tokenId }, config }); + return await deleteAuthToken({ pathParams: { tokenId }, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool('getAuthUser', 'Retrieves information related to the currently authenticated User.', async () => { try { - return await getAuthUser({ config }); + return await getAuthUser({ config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - }); + }) server.tool( 'requestDelete', 'Initiates the deletion process for the currently authenticated User, by sending a deletion confirmation email. The email contains a link that the user needs to visit in order to proceed with the deletion process.', async () => { try { - return await requestDelete({ config }); + return await requestDelete({ config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) - server.tool( - 'createWebhook', - 'Creates a webhook', - { queryParams: createWebhookQueryParamsSchema }, - async ({ queryParams }) => { - try { - return await createWebhook({ queryParams, config }); - } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; - } + server.tool('createWebhook', 'Creates a webhook', { queryParams: createWebhookQueryParamsSchema }, async ({ queryParams }) => { + try { + return await createWebhook({ queryParams, config }) + } catch (error) { + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - ); + }) - server.tool( - 'getWebhooks', - 'Get a list of webhooks', - { queryParams: getWebhooksQueryParamsSchema }, - async ({ queryParams }) => { - try { - return await getWebhooks({ queryParams, config }); - } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; - } + server.tool('getWebhooks', 'Get a list of webhooks', { queryParams: getWebhooksQueryParamsSchema }, async ({ queryParams }) => { + try { + return await getWebhooks({ queryParams, config }) + } catch (error) { + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - ); + }) server.tool( 'getWebhook', 'Get a webhook', - { id: getWebhookPathParamsSchema.shape.id, queryParams: getWebhookQueryParamsSchema }, + { id: getWebhookPathParamsSchema.shape['id'], queryParams: getWebhookQueryParamsSchema }, async ({ id, queryParams }) => { try { - return await getWebhook({ pathParams: { id }, queryParams, config }); + return await getWebhook({ pathParams: { id }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'deleteWebhook', 'Deletes a webhook', - { id: deleteWebhookPathParamsSchema.shape.id, queryParams: deleteWebhookQueryParamsSchema }, + { id: deleteWebhookPathParamsSchema.shape['id'], queryParams: deleteWebhookQueryParamsSchema }, async ({ id, queryParams }) => { try { - return await deleteWebhook({ pathParams: { id }, queryParams, config }); + return await deleteWebhook({ pathParams: { id }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'listDeploymentAliases', 'Retrieves all Aliases for the Deployment with the given ID. The authenticated user or team must own the deployment.', - { id: listDeploymentAliasesPathParamsSchema.shape.id, queryParams: listDeploymentAliasesQueryParamsSchema }, + { id: listDeploymentAliasesPathParamsSchema.shape['id'], queryParams: listDeploymentAliasesQueryParamsSchema }, async ({ id, queryParams }) => { try { - return await listDeploymentAliases({ pathParams: { id }, queryParams, config }); + return await listDeploymentAliases({ pathParams: { id }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'assignAlias', 'Creates a new alias for the deployment with the given deployment ID. The authenticated user or team must own this deployment. If the desired alias is already assigned to another deployment, then it will be removed from the old deployment and assigned to the new one.', - { id: assignAliasPathParamsSchema.shape.id, queryParams: assignAliasQueryParamsSchema }, + { id: assignAliasPathParamsSchema.shape['id'], queryParams: assignAliasQueryParamsSchema }, async ({ id, queryParams }) => { try { - return await assignAlias({ pathParams: { id }, queryParams, config }); + return await assignAlias({ pathParams: { id }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'listAliases', @@ -9922,134 +9508,131 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { queryParams: listAliasesQueryParamsSchema }, async ({ queryParams }) => { try { - return await listAliases({ queryParams, config }); + return await listAliases({ queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'getAlias', 'Retrieves an Alias for the given host name or alias ID.', - { idOrAlias: getAliasPathParamsSchema.shape.idOrAlias, queryParams: getAliasQueryParamsSchema }, + { idOrAlias: getAliasPathParamsSchema.shape['idOrAlias'], queryParams: getAliasQueryParamsSchema }, async ({ idOrAlias, queryParams }) => { try { - return await getAlias({ pathParams: { idOrAlias }, queryParams, config }); + return await getAlias({ pathParams: { idOrAlias }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'deleteAlias', 'Delete an Alias with the specified ID.', - { aliasId: deleteAliasPathParamsSchema.shape.aliasId, queryParams: deleteAliasQueryParamsSchema }, + { aliasId: deleteAliasPathParamsSchema.shape['aliasId'], queryParams: deleteAliasQueryParamsSchema }, async ({ aliasId, queryParams }) => { try { - return await deleteAlias({ pathParams: { aliasId }, queryParams, config }); + return await deleteAlias({ pathParams: { aliasId }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'patchUrlProtectionBypass', 'Update the protection bypass for the alias or deployment URL (used for user access & comment access for deployments). Used as shareable links and user scoped access for Vercel Authentication and also to allow external (logged in) people to comment on previews for Preview Comments (next-live-mode).', - { - id: patchUrlProtectionBypassPathParamsSchema.shape.id, - queryParams: patchUrlProtectionBypassQueryParamsSchema - }, + { id: patchUrlProtectionBypassPathParamsSchema.shape['id'], queryParams: patchUrlProtectionBypassQueryParamsSchema }, async ({ id, queryParams }) => { try { - return await patchUrlProtectionBypass({ pathParams: { id }, queryParams, config }); + return await patchUrlProtectionBypass({ pathParams: { id }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool('listCerts', 'Make a GET request to /certs', async () => { try { - return await listCerts({ config }); + return await listCerts({ config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - }); + }) server.tool( 'getCertById', 'Get cert by id', - { id: getCertByIdPathParamsSchema.shape.id, queryParams: getCertByIdQueryParamsSchema }, + { id: getCertByIdPathParamsSchema.shape['id'], queryParams: getCertByIdQueryParamsSchema }, async ({ id, queryParams }) => { try { - return await getCertById({ pathParams: { id }, queryParams, config }); + return await getCertById({ pathParams: { id }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'removeCert', 'Remove cert', - { id: removeCertPathParamsSchema.shape.id, queryParams: removeCertQueryParamsSchema }, + { id: removeCertPathParamsSchema.shape['id'], queryParams: removeCertQueryParamsSchema }, async ({ id, queryParams }) => { try { - return await removeCert({ pathParams: { id }, queryParams, config }); + return await removeCert({ pathParams: { id }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool('issueCert', 'Issue a new cert', { queryParams: issueCertQueryParamsSchema }, async ({ queryParams }) => { try { - return await issueCert({ queryParams, config }); + return await issueCert({ queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - }); + }) server.tool('uploadCert', 'Upload a cert', { queryParams: uploadCertQueryParamsSchema }, async ({ queryParams }) => { try { - return await uploadCert({ queryParams, config }); + return await uploadCert({ queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - }); + }) server.tool( 'listDeploymentFiles', 'Allows to retrieve the file structure of the source code of a deployment by supplying the deployment unique identifier. If the deployment was created with the Vercel CLI or the API directly with the `files` key, it will have a file tree that can be retrievable.', - { id: listDeploymentFilesPathParamsSchema.shape.id, queryParams: listDeploymentFilesQueryParamsSchema }, + { id: listDeploymentFilesPathParamsSchema.shape['id'], queryParams: listDeploymentFilesQueryParamsSchema }, async ({ id, queryParams }) => { try { - return await listDeploymentFiles({ pathParams: { id }, queryParams, config }); + return await listDeploymentFiles({ pathParams: { id }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'getDeploymentFileContents', 'Allows to retrieve the content of a file by supplying the file identifier and the deployment unique identifier. The response body will contain a JSON response containing the contents of the file encoded as base64.', { - id: getDeploymentFileContentsPathParamsSchema.shape.id, - fileId: getDeploymentFileContentsPathParamsSchema.shape.fileId, - queryParams: getDeploymentFileContentsQueryParamsSchema + id: getDeploymentFileContentsPathParamsSchema.shape['id'], + fileId: getDeploymentFileContentsPathParamsSchema.shape['fileId'], + queryParams: getDeploymentFileContentsQueryParamsSchema, }, async ({ id, fileId, queryParams }) => { try { - return await getDeploymentFileContents({ pathParams: { id, fileId }, queryParams, config }); + return await getDeploymentFileContents({ pathParams: { id, fileId }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'getDeployments', @@ -10057,25 +9640,25 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { queryParams: getDeploymentsQueryParamsSchema }, async ({ queryParams }) => { try { - return await getDeployments({ queryParams, config }); + return await getDeployments({ queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'deleteDeployment', 'This API allows you to delete a deployment, either by supplying its `id` in the URL or the `url` of the deployment as a query parameter. You can obtain the ID, for example, by listing all deployments.', - { id: deleteDeploymentPathParamsSchema.shape.id, queryParams: deleteDeploymentQueryParamsSchema }, + { id: deleteDeploymentPathParamsSchema.shape['id'], queryParams: deleteDeploymentQueryParamsSchema }, async ({ id, queryParams }) => { try { - return await deleteDeployment({ pathParams: { id }, queryParams, config }); + return await deleteDeployment({ pathParams: { id }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'getSecrets', @@ -10083,62 +9666,62 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { queryParams: getSecretsQueryParamsSchema }, async ({ queryParams }) => { try { - return await getSecrets({ queryParams, config }); + return await getSecrets({ queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'createSecret', 'Allows to create a new secret.', - { name: createSecretPathParamsSchema.shape.name, queryParams: createSecretQueryParamsSchema }, + { name: createSecretPathParamsSchema.shape['name'], queryParams: createSecretQueryParamsSchema }, async ({ name, queryParams }) => { try { - return await createSecret({ pathParams: { name }, queryParams, config }); + return await createSecret({ pathParams: { name }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'renameSecret', 'Enables to edit the name of a secret. The name has to be unique to the user or team’s secrets.', - { name: renameSecretPathParamsSchema.shape.name, queryParams: renameSecretQueryParamsSchema }, + { name: renameSecretPathParamsSchema.shape['name'], queryParams: renameSecretQueryParamsSchema }, async ({ name, queryParams }) => { try { - return await renameSecret({ pathParams: { name }, queryParams, config }); + return await renameSecret({ pathParams: { name }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'getSecret', 'Retrieves the information for a specific secret by passing either the secret id or name in the URL.', - { idOrName: getSecretPathParamsSchema.shape.idOrName, queryParams: getSecretQueryParamsSchema }, + { idOrName: getSecretPathParamsSchema.shape['idOrName'], queryParams: getSecretQueryParamsSchema }, async ({ idOrName, queryParams }) => { try { - return await getSecret({ pathParams: { idOrName }, queryParams, config }); + return await getSecret({ pathParams: { idOrName }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); + }, + ) server.tool( 'deleteSecret', 'This deletes the user or team’s secret defined in the URL.', - { idOrName: deleteSecretPathParamsSchema.shape.idOrName, queryParams: deleteSecretQueryParamsSchema }, + { idOrName: deleteSecretPathParamsSchema.shape['idOrName'], queryParams: deleteSecretQueryParamsSchema }, async ({ idOrName, queryParams }) => { try { - return await deleteSecret({ pathParams: { idOrName }, queryParams, config }); + return await deleteSecret({ pathParams: { idOrName }, queryParams, config }) } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } } - } - ); -} + }, + ) +} \ No newline at end of file diff --git a/packages/vercel-api-js/src/generated/schemas.ts b/packages/vercel-api-js/src/generated/schemas.ts index 6dd08deb3..f9efc12cd 100644 --- a/packages/vercel-api-js/src/generated/schemas.ts +++ b/packages/vercel-api-js/src/generated/schemas.ts @@ -3,18 +3,16 @@ * Do not edit manually. */ -import { z } from 'zod'; +import { z } from 'zod' /** * @description Enum containing the actions that can be performed against a resource. Group operations are included. */ export const aCLActionSchema = z .enum(['create', 'delete', 'list', 'read', 'update']) - .describe('Enum containing the actions that can be performed against a resource. Group operations are included.'); + .describe('Enum containing the actions that can be performed against a resource. Group operations are included.') -export const flagJSONValueSchema = z - .union([z.boolean(), z.array(z.unknown()), z.string(), z.number(), z.object({}).catchall(z.unknown())]) - .nullable(); +export const flagJSONValueSchema = z.union([z.boolean(), z.array(z.unknown()), z.string(), z.number(), z.object({}).catchall(z.unknown())]).nullable() /** * @description This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. @@ -23,15 +21,13 @@ export const paginationSchema = z .object({ count: z.number().describe('Amount of items in the current page.'), next: z.number().describe('Timestamp that must be used to request the next page.').nullable(), - prev: z.number().describe('Timestamp that must be used to request the previous page.').nullable() + prev: z.number().describe('Timestamp that must be used to request the previous page.').nullable(), }) .describe( - 'This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data.' - ); + 'This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data.', + ) -export const edgeConfigItemValueSchema = z - .union([z.boolean(), z.array(z.unknown()), z.string(), z.number(), z.object({}).catchall(z.unknown())]) - .nullable(); +export const edgeConfigItemValueSchema = z.union([z.boolean(), z.array(z.unknown()), z.string(), z.number(), z.object({}).catchall(z.unknown())]).nullable() /** * @description The EdgeConfig. @@ -43,9 +39,9 @@ export const edgeConfigItemSchema = z description: z.string().optional(), edgeConfigId: z.string(), createdAt: z.number(), - updatedAt: z.number() + updatedAt: z.number(), }) - .describe('The EdgeConfig.'); + .describe('The EdgeConfig.') /** * @description The EdgeConfig. @@ -56,9 +52,9 @@ export const edgeConfigTokenSchema = z label: z.string(), id: z.string().describe('This is not the token itself, but rather an id to identify the token by'), edgeConfigId: z.string(), - createdAt: z.number() + createdAt: z.number(), }) - .describe('The EdgeConfig.'); + .describe('The EdgeConfig.') /** * @description Array of events generated by the User. @@ -93,19 +89,15 @@ export const userEventSchema = z 'scaling_rules', 'store', 'system', - 'target' + 'target', ]) .describe('The type of entity.'), start: z.number().describe('The index of where the entity begins within the `text` (inclusive).'), - end: z.number().describe('The index of where the entity ends within the `text` (non-inclusive).') + end: z.number().describe('The index of where the entity ends within the `text` (non-inclusive).'), }) - .describe( - 'A list of "entities" within the event `text`. Useful for enhancing the displayed text with additional styling and links.' - ) + .describe('A list of "entities" within the event `text`. Useful for enhancing the displayed text with additional styling and links.'), ) - .describe( - 'A list of "entities" within the event `text`. Useful for enhancing the displayed text with additional styling and links.' - ), + .describe('A list of "entities" within the event `text`. Useful for enhancing the displayed text with additional styling and links.'), createdAt: z.number().describe('Timestamp (in milliseconds) of when the event was generated.'), user: z .object({ @@ -113,7 +105,7 @@ export const userEventSchema = z avatar: z.string(), email: z.string(), slug: z.string().optional(), - uid: z.string() + uid: z.string(), }) .describe('Metadata for {@link userId}.') .optional(), @@ -125,13 +117,13 @@ export const userEventSchema = z email: z.string(), slug: z.string().optional(), uid: z.string(), - username: z.string() + username: z.string(), }), z.object({ type: z.enum(['app']), clientId: z.string(), - name: z.string() - }) + name: z.string(), + }), ]) .optional(), via: z @@ -143,29 +135,27 @@ export const userEventSchema = z email: z.string(), slug: z.string().optional(), uid: z.string(), - username: z.string() + username: z.string(), }), z.object({ type: z.enum(['app']), clientId: z.string(), - name: z.string() - }) - ]) + name: z.string(), + }), + ]), ) .describe('Metadata for {@link viaIds}.') .optional(), - userId: z - .string() - .describe('When the principal who generated the event is a user, this is their ID; otherwise, it is empty.'), + userId: z.string().describe('When the principal who generated the event is a user, this is their ID; otherwise, it is empty.'), principalId: z .string() .describe( - 'The ID of the principal who generated the event. The principal is typically a user, but it could also be an app, an integration, etc. The principal may have delegated its authority to an acting party, and so {@link viaIds} should be checked as well.' + 'The ID of the principal who generated the event. The principal is typically a user, but it could also be an app, an integration, etc. The principal may have delegated its authority to an acting party, and so {@link viaIds} should be checked as well.', ), viaIds: z .array(z.string()) .describe( - 'If the principal delegated its authority (for example, a user delegating to an app), then this array contains the ID of the current actor. For example, if `principalId` is "user123" and `viaIds` is `["app456"]`, we can say the event was triggered by - "app456 on behalf of user123", or - "user123 via app4556". Both are equivalent. Arbitrarily long chains of delegation can be represented. For example, if `principalId` is "user123" and `viaIds` is `["service1", "service2"]`, we can say the event was triggered by "user123 via service1 via service2".' + 'If the principal delegated its authority (for example, a user delegating to an app), then this array contains the ID of the current actor. For example, if `principalId` is "user123" and `viaIds` is `["app456"]`, we can say the event was triggered by - "app456 on behalf of user123", or - "user123 via app4556". Both are equivalent. Arbitrarily long chains of delegation can be represented. For example, if `principalId` is "user123" and `viaIds` is `["service1", "service2"]`, we can say the event was triggered by "user123 via service1 via service2".', ) .optional(), payload: z @@ -175,43 +165,43 @@ export const userEventSchema = z action: z.enum(['created', 'updated', 'deleted', 'archived', 'unarchived']), id: z.string(), slug: z.string(), - projectId: z.string() + projectId: z.string(), }), z.object({ accessGroup: z.object({ id: z.string(), - name: z.string() - }) + name: z.string(), + }), }), z.object({ author: z.string(), accessGroup: z.object({ id: z.string(), - name: z.string() - }) + name: z.string(), + }), }), z.object({ accessGroup: z.object({ id: z.string(), - name: z.string().optional() + name: z.string().optional(), }), user: z.object({ id: z.string(), - username: z.string().optional() + username: z.string().optional(), }), - directoryType: z.string().optional() + directoryType: z.string().optional(), }), z.object({ accessGroup: z.object({ id: z.string(), - name: z.string() + name: z.string(), }), project: z.object({ id: z.string(), - name: z.string().optional() + name: z.string().optional(), }), nextRole: z.enum(['ADMIN', 'PROJECT_DEVELOPER', 'PROJECT_VIEWER']).nullable().nullish(), - previousRole: z.enum(['ADMIN', 'PROJECT_DEVELOPER', 'PROJECT_VIEWER']).optional() + previousRole: z.enum(['ADMIN', 'PROJECT_DEVELOPER', 'PROJECT_VIEWER']).optional(), }), z.object({ alias: z.string().optional(), @@ -220,7 +210,7 @@ export const userEventSchema = z id: z.string(), name: z.string(), url: z.string(), - meta: z.object({}).catchall(z.string()) + meta: z.object({}).catchall(z.string()), }) .nullable() .nullish(), @@ -233,202 +223,202 @@ export const userEventSchema = z redirectStatusCode: z.number().nullable().nullish(), target: z.string().nullable().nullish(), system: z.boolean().optional(), - aliasUpdatedAt: z.number().optional() + aliasUpdatedAt: z.number().optional(), }), z.object({ aliasId: z.string().optional(), alias: z.string().optional(), - projectName: z.string().optional() + projectName: z.string().optional(), }), z.object({ - alias: z.string().optional() + alias: z.string().optional(), }), z.object({ alias: z.string().optional(), userId: z.string().optional(), - username: z.string().optional() + username: z.string().optional(), }), z.object({ alias: z.string().optional(), aliasId: z.string().optional(), userId: z.string().optional(), - username: z.string().optional() + username: z.string().optional(), }), z.object({ projectName: z.string(), alias: z.string(), - action: z.enum(['created', 'removed']) + action: z.enum(['created', 'removed']), }), z.object({ alias: z.string().optional(), email: z.string().optional(), - username: z.string().optional() + username: z.string().optional(), }), z.object({ alias: z.string().optional(), - email: z.string().optional() + email: z.string().optional(), }), z.object({ name: z.string().optional(), alias: z.string(), oldTeam: z .object({ - name: z.string() + name: z.string(), }) .optional(), newTeam: z .object({ - name: z.string() + name: z.string(), }) - .optional() + .optional(), }), z.object({ name: z.string().optional(), alias: z.string(), aliasId: z.string(), - deploymentId: z.string().nullable() + deploymentId: z.string().nullable(), }), z.object({ alias: z.string(), - deploymentUrl: z.string() + deploymentUrl: z.string(), }), z.object({ projectName: z.string(), - autoExposeSystemEnvs: z.boolean() + autoExposeSystemEnvs: z.boolean(), }), z.object({ - avatar: z.string().optional() + avatar: z.string().optional(), }), z.object({ cn: z.string().optional(), cns: z.array(z.string()).optional(), custom: z.boolean(), - id: z.string().optional() + id: z.string().optional(), }), z.object({ cn: z.string().optional(), cns: z.array(z.string()).optional(), - id: z.string().optional() + id: z.string().optional(), }), z.object({ id: z.string(), oldTeam: z .object({ - name: z.string() + name: z.string(), }) .optional(), newTeam: z .object({ - name: z.string() + name: z.string(), }) - .optional() + .optional(), }), z.object({ src: z.string(), - dst: z.string() + dst: z.string(), }), z.object({ id: z.string(), cn: z.string().optional(), - cns: z.array(z.string()).optional() + cns: z.array(z.string()).optional(), }), z.object({ cn: z.string().optional(), - cns: z.array(z.string()).optional() + cns: z.array(z.string()).optional(), }), z.object({ reason: z.string().optional(), - suffix: z.string() + suffix: z.string(), }), z.object({ status: z.string(), - suffix: z.string() + suffix: z.string(), }), z.object({ - suffix: z.string() + suffix: z.string(), }), z.object({ team: z.object({ id: z.string(), - name: z.string() + name: z.string(), }), configuration: z.object({ id: z.string(), - name: z.string().optional() + name: z.string().optional(), }), project: z.object({ id: z.string(), - name: z.string().optional() + name: z.string().optional(), }), - buildsEnabled: z.boolean().optional() + buildsEnabled: z.boolean().optional(), }), z.object({ team: z.object({ id: z.string(), - name: z.string() + name: z.string(), }), configuration: z.object({ id: z.string(), - name: z.string().optional() + name: z.string().optional(), }), project: z.object({ id: z.string(), - name: z.string().optional() + name: z.string().optional(), }), buildsEnabled: z.boolean().optional(), - passive: z.boolean().optional() + passive: z.boolean().optional(), }), z.object({ team: z.object({ id: z.string(), - name: z.string() + name: z.string(), }), configuration: z.object({ id: z.string(), - name: z.string().optional() + name: z.string().optional(), }), project: z.object({ id: z.string(), - name: z.string().optional() - }) + name: z.string().optional(), + }), }), z.object({ team: z.object({ id: z.string(), - name: z.string() + name: z.string(), }), configuration: z.object({ id: z.string(), - name: z.string().optional() + name: z.string().optional(), }), - newName: z.string() + newName: z.string(), }), z.object({ - githubLogin: z.string() + githubLogin: z.string(), }), z.object({ gitlabLogin: z.string(), gitlabEmail: z.string(), - gitlabName: z.string().optional() + gitlabName: z.string().optional(), }), z.object({ bitbucketEmail: z.string(), bitbucketLogin: z.string(), - bitbucketName: z.string().optional() + bitbucketName: z.string().optional(), }), z.object({ project: z.object({ - name: z.string() + name: z.string(), }), job: z.object({ deployHook: z.object({ createdAt: z.number(), id: z.string(), name: z.string(), - ref: z.string() + ref: z.string(), }), - state: z.string() - }) + state: z.string(), + }), }), z.object({ name: z.string().optional(), @@ -439,7 +429,7 @@ export const userEventSchema = z id: z.string(), name: z.string(), url: z.string(), - meta: z.object({}).catchall(z.string()) + meta: z.object({}).catchall(z.string()), }) .nullable() .nullish(), @@ -450,30 +440,30 @@ export const userEventSchema = z project: z.string().optional(), projectId: z.string().optional(), regions: z.array(z.string()).optional(), - type: z.string().optional() + type: z.string().optional(), }), z.object({ url: z.string(), oldTeam: z .object({ - name: z.string() + name: z.string(), }) .optional(), newTeam: z .object({ - name: z.string() + name: z.string(), }) - .optional() + .optional(), }), z.object({ deployment: z.object({ id: z.string(), name: z.string(), url: z.string(), - meta: z.object({}).catchall(z.string()) + meta: z.object({}).catchall(z.string()), }), deploymentId: z.string(), - url: z.string() + url: z.string(), }), z.object({ id: z.string(), @@ -481,86 +471,82 @@ export const userEventSchema = z name: z.string(), domain: z.string(), type: z.string(), - mxPriority: z.number().optional() - }), - z.object({ - id: z.string(), - domain: z.string() + mxPriority: z.number().optional(), }), z.object({ id: z.string(), value: z.string(), name: z.string(), domain: z.string(), - type: z.string() + type: z.string(), }), z.object({ - name: z.string() + name: z.string(), }), z.object({ name: z.string(), price: z.number(), - currency: z.string().optional() + currency: z.string().optional(), }), z.object({ name: z.string(), - cdnEnabled: z.boolean() + cdnEnabled: z.boolean(), }), z.object({ name: z.string(), userId: z.string(), teamId: z.string(), - ownerName: z.string() + ownerName: z.string(), }), z.object({ name: z.string(), oldTeam: z .object({ - name: z.string() + name: z.string(), }) .optional(), newTeam: z .object({ - name: z.string() + name: z.string(), }) - .optional() + .optional(), }), z.object({ domainId: z.string(), - name: z.string() + name: z.string(), }), z.object({ name: z.string(), fromId: z.string().nullable(), - fromName: z.string().nullable() + fromName: z.string().nullable(), }), z.object({ name: z.string(), destinationId: z.string().nullable(), - destinationName: z.string().nullable() + destinationName: z.string().nullable(), }), z.object({ name: z.string(), destinationId: z.string(), - destinationName: z.string() + destinationName: z.string(), }), z.object({ renew: z.boolean().optional(), - domain: z.string() + domain: z.string(), }), z.object({ name: z.string(), price: z.number().optional(), - currency: z.string().optional() + currency: z.string().optional(), }), z.object({ sha: z.string(), gitUserPlatform: z.string(), - projectName: z.string() + projectName: z.string(), }), z.object({ email: z.string(), - name: z.string() + name: z.string(), }), z.object({ key: z.string().optional(), @@ -571,169 +557,81 @@ export const userEventSchema = z gitBranch: z.string().optional(), edgeConfigId: z.string().nullable().nullish(), edgeConfigTokenId: z.string().nullable().nullish(), - source: z.string().optional() + source: z.string().optional(), }), z.object({ created: z.date().describe('The date when the Shared Env Var was created.').optional(), key: z.string().describe('The name of the Shared Env Var.').optional(), - ownerId: z - .string() - .describe('The unique identifier of the owner (team) the Shared Env Var was created for.') - .nullable() - .nullish(), + ownerId: z.string().describe('The unique identifier of the owner (team) the Shared Env Var was created for.').nullable().nullish(), id: z.string().describe('The unique identifier of the Shared Env Var.').optional(), - createdBy: z - .string() - .describe('The unique identifier of the user who created the Shared Env Var.') - .nullable() - .nullish(), - deletedBy: z - .string() - .describe('The unique identifier of the user who deleted the Shared Env Var.') - .nullable() - .nullish(), - updatedBy: z - .string() - .describe('The unique identifier of the user who last updated the Shared Env Var.') - .nullable() - .nullish(), + createdBy: z.string().describe('The unique identifier of the user who created the Shared Env Var.').nullable().nullish(), + deletedBy: z.string().describe('The unique identifier of the user who deleted the Shared Env Var.').nullable().nullish(), + updatedBy: z.string().describe('The unique identifier of the user who last updated the Shared Env Var.').nullable().nullish(), createdAt: z.number().describe('Timestamp for when the Shared Env Var was created.').optional(), deletedAt: z.number().describe('Timestamp for when the Shared Env Var was (soft) deleted.').optional(), updatedAt: z.number().describe('Timestamp for when the Shared Env Var was last updated.').optional(), value: z.string().describe('The value of the Shared Env Var.').optional(), - projectId: z - .array(z.string()) - .describe('The unique identifiers of the projects which the Shared Env Var is linked to.') - .optional(), - type: z - .enum(['system', 'encrypted', 'plain', 'sensitive']) - .describe('The type of this cosmos doc instance, if blank, assume secret.') - .optional(), + projectId: z.array(z.string()).describe('The unique identifiers of the projects which the Shared Env Var is linked to.').optional(), + type: z.enum(['system', 'encrypted', 'plain', 'sensitive']).describe('The type of this cosmos doc instance, if blank, assume secret.').optional(), target: z .array(z.enum(['production', 'preview', 'development']).describe('environments this env variable targets')) .describe('environments this env variable targets') .optional(), - applyToAllCustomEnvironments: z - .boolean() - .describe('whether or not this env varible applies to custom environments') - .optional(), + applyToAllCustomEnvironments: z.boolean().describe('whether or not this env varible applies to custom environments').optional(), decrypted: z.boolean().describe('whether or not this env variable is decrypted').optional(), - comment: z - .string() - .describe('A user provided comment that describes what this Shared Env Var is for.') - .optional(), + comment: z.string().describe('A user provided comment that describes what this Shared Env Var is for.').optional(), lastEditedByDisplayName: z.string().describe('The last editor full name or username.').optional(), - projectNames: z.array(z.string()).optional() + projectNames: z.array(z.string()).optional(), }), z.object({ oldEnvVar: z .object({ created: z.date().describe('The date when the Shared Env Var was created.').optional(), key: z.string().describe('The name of the Shared Env Var.').optional(), - ownerId: z - .string() - .describe('The unique identifier of the owner (team) the Shared Env Var was created for.') - .nullable() - .nullish(), + ownerId: z.string().describe('The unique identifier of the owner (team) the Shared Env Var was created for.').nullable().nullish(), id: z.string().describe('The unique identifier of the Shared Env Var.').optional(), - createdBy: z - .string() - .describe('The unique identifier of the user who created the Shared Env Var.') - .nullable() - .nullish(), - deletedBy: z - .string() - .describe('The unique identifier of the user who deleted the Shared Env Var.') - .nullable() - .nullish(), - updatedBy: z - .string() - .describe('The unique identifier of the user who last updated the Shared Env Var.') - .nullable() - .nullish(), + createdBy: z.string().describe('The unique identifier of the user who created the Shared Env Var.').nullable().nullish(), + deletedBy: z.string().describe('The unique identifier of the user who deleted the Shared Env Var.').nullable().nullish(), + updatedBy: z.string().describe('The unique identifier of the user who last updated the Shared Env Var.').nullable().nullish(), createdAt: z.number().describe('Timestamp for when the Shared Env Var was created.').optional(), deletedAt: z.number().describe('Timestamp for when the Shared Env Var was (soft) deleted.').optional(), updatedAt: z.number().describe('Timestamp for when the Shared Env Var was last updated.').optional(), value: z.string().describe('The value of the Shared Env Var.').optional(), - projectId: z - .array(z.string()) - .describe('The unique identifiers of the projects which the Shared Env Var is linked to.') - .optional(), - type: z - .enum(['system', 'encrypted', 'plain', 'sensitive']) - .describe('The type of this cosmos doc instance, if blank, assume secret.') - .optional(), + projectId: z.array(z.string()).describe('The unique identifiers of the projects which the Shared Env Var is linked to.').optional(), + type: z.enum(['system', 'encrypted', 'plain', 'sensitive']).describe('The type of this cosmos doc instance, if blank, assume secret.').optional(), target: z - .array( - z.enum(['production', 'preview', 'development']).describe('environments this env variable targets') - ) + .array(z.enum(['production', 'preview', 'development']).describe('environments this env variable targets')) .describe('environments this env variable targets') .optional(), - applyToAllCustomEnvironments: z - .boolean() - .describe('whether or not this env varible applies to custom environments') - .optional(), + applyToAllCustomEnvironments: z.boolean().describe('whether or not this env varible applies to custom environments').optional(), decrypted: z.boolean().describe('whether or not this env variable is decrypted').optional(), - comment: z - .string() - .describe('A user provided comment that describes what this Shared Env Var is for.') - .optional(), - lastEditedByDisplayName: z.string().describe('The last editor full name or username.').optional() + comment: z.string().describe('A user provided comment that describes what this Shared Env Var is for.').optional(), + lastEditedByDisplayName: z.string().describe('The last editor full name or username.').optional(), }) .optional(), newEnvVar: z .object({ created: z.date().describe('The date when the Shared Env Var was created.').optional(), key: z.string().describe('The name of the Shared Env Var.').optional(), - ownerId: z - .string() - .describe('The unique identifier of the owner (team) the Shared Env Var was created for.') - .nullable() - .nullish(), + ownerId: z.string().describe('The unique identifier of the owner (team) the Shared Env Var was created for.').nullable().nullish(), id: z.string().describe('The unique identifier of the Shared Env Var.').optional(), - createdBy: z - .string() - .describe('The unique identifier of the user who created the Shared Env Var.') - .nullable() - .nullish(), - deletedBy: z - .string() - .describe('The unique identifier of the user who deleted the Shared Env Var.') - .nullable() - .nullish(), - updatedBy: z - .string() - .describe('The unique identifier of the user who last updated the Shared Env Var.') - .nullable() - .nullish(), + createdBy: z.string().describe('The unique identifier of the user who created the Shared Env Var.').nullable().nullish(), + deletedBy: z.string().describe('The unique identifier of the user who deleted the Shared Env Var.').nullable().nullish(), + updatedBy: z.string().describe('The unique identifier of the user who last updated the Shared Env Var.').nullable().nullish(), createdAt: z.number().describe('Timestamp for when the Shared Env Var was created.').optional(), deletedAt: z.number().describe('Timestamp for when the Shared Env Var was (soft) deleted.').optional(), updatedAt: z.number().describe('Timestamp for when the Shared Env Var was last updated.').optional(), value: z.string().describe('The value of the Shared Env Var.').optional(), - projectId: z - .array(z.string()) - .describe('The unique identifiers of the projects which the Shared Env Var is linked to.') - .optional(), - type: z - .enum(['system', 'encrypted', 'plain', 'sensitive']) - .describe('The type of this cosmos doc instance, if blank, assume secret.') - .optional(), + projectId: z.array(z.string()).describe('The unique identifiers of the projects which the Shared Env Var is linked to.').optional(), + type: z.enum(['system', 'encrypted', 'plain', 'sensitive']).describe('The type of this cosmos doc instance, if blank, assume secret.').optional(), target: z - .array( - z.enum(['production', 'preview', 'development']).describe('environments this env variable targets') - ) + .array(z.enum(['production', 'preview', 'development']).describe('environments this env variable targets')) .describe('environments this env variable targets') .optional(), - applyToAllCustomEnvironments: z - .boolean() - .describe('whether or not this env varible applies to custom environments') - .optional(), + applyToAllCustomEnvironments: z.boolean().describe('whether or not this env varible applies to custom environments').optional(), decrypted: z.boolean().describe('whether or not this env variable is decrypted').optional(), - comment: z - .string() - .describe('A user provided comment that describes what this Shared Env Var is for.') - .optional(), - lastEditedByDisplayName: z.string().describe('The last editor full name or username.').optional() + comment: z.string().describe('A user provided comment that describes what this Shared Env Var is for.').optional(), + lastEditedByDisplayName: z.string().describe('The last editor full name or username.').optional(), }) .optional(), updateDiff: z @@ -749,39 +647,39 @@ export const userEventSchema = z .array( z.object({ projectName: z.string().optional(), - projectId: z.string() - }) + projectId: z.string(), + }), ) .optional(), newProjects: z .array( z.object({ projectName: z.string().optional(), - projectId: z.string() - }) + projectId: z.string(), + }), ) .optional(), - changedValue: z.boolean() + changedValue: z.boolean(), }) - .optional() + .optional(), }), z.object({ projectId: z.string(), restore: z.boolean(), configVersion: z.number(), configChangeCount: z.number(), - configChanges: z.array(z.object({})) + configChanges: z.array(z.object({})), }), z.object({ projectId: z.string(), scope: z.string(), - source: z.string() + source: z.string(), }), z.object({ projectId: z.string(), rulesetName: z.string(), active: z.boolean(), - action: z.enum(['log', 'challenge', 'deny']).optional() + action: z.enum(['log', 'challenge', 'deny']).optional(), }), z.object({ projectId: z.string(), @@ -789,14 +687,21 @@ export const userEventSchema = z ruleGroups: z.object({}).catchall( z.object({ active: z.boolean(), - action: z.enum(['log', 'challenge', 'deny']).optional() - }) - ) + action: z.enum(['log', 'challenge', 'deny']).optional(), + }), + ), + }), + z.object({ + projectId: z.string(), + prevAttackModeEnabled: z.boolean().optional(), + prevAttackModeActiveUntil: z.number().nullable().nullish(), + attackModeEnabled: z.boolean(), + attackModeActiveUntil: z.number().nullable().nullish(), }), z.object({ integrationId: z.string(), integrationSlug: z.string(), - integrationName: z.string() + integrationName: z.string(), }), z.object({ userId: z.string(), @@ -818,17 +723,15 @@ export const userEventSchema = z reason: z.string(), actor: z.string().optional(), statusCode: z.number().optional(), - comment: z.string().optional() + comment: z.string().optional(), }) - .describe('Since June 2023') + .describe('Since June 2023'), ) .describe('Since June 2023') .optional(), gitAuthHistory: z .array(z.string()) - .describe( - 'Since March 2022. Helps abuse checks by tracking git auths. Format: `::`' - ) + .describe('Since March 2022. Helps abuse checks by tracking git auths. Format: `::`') .optional(), history: z .array( @@ -838,39 +741,32 @@ export const userEventSchema = z reason: z.string(), by: z.string(), byId: z.string(), - at: z.number() + at: z.number(), }) - .describe('(scanner history). Since November 2021. First element is newest.') + .describe('(scanner history). Since November 2021. First element is newest.'), ) .describe('(scanner history). Since November 2021. First element is newest.') .optional(), gitLineageBlocks: z .number() - .describe( - 'Since September 2023. How often did this owner trigger an actual git lineage deploy block?' - ) + .describe('Since September 2023. How often did this owner trigger an actual git lineage deploy block?') .optional(), gitLineageBlocksDry: z .number() - .describe( - 'Since September 2023. How often did this owner trigger a git lineage deploy block dry run?' - ) - .optional(), - scanner: z - .string() - .describe('Since November 2021. Guides the abuse scanner in build container.') + .describe('Since September 2023. How often did this owner trigger a git lineage deploy block dry run?') .optional(), - updatedAt: z.number().describe('Since November 2021').optional(), + scanner: z.string().describe('Since November 2021. Guides the abuse scanner in build container.').optional(), + updatedAt: z.number().describe('Since November 2021'), creationUserAgent: z.string().optional(), creationIp: z.string().optional(), - removedPhoneNumbers: z.string().optional() + removedPhoneNumbers: z.string().optional(), }) .optional(), acceptanceState: z.string().optional(), acceptedAt: z.number().optional(), avatar: z.string().optional(), billing: z.object({ - plan: z.enum(['pro', 'enterprise', 'hobby']) + plan: z.enum(['pro', 'enterprise', 'hobby']), }), blocked: z.number().nullable(), blockReason: z.string().optional(), @@ -881,21 +777,21 @@ export const userEventSchema = z z.union([ z.object({ type: z.enum(['gitlab', 'bitbucket', 'google', 'github-oauth', 'github-oauth-limited']), - id: z.string() + id: z.string(), }), z.object({ type: z.enum(['github-oauth-custom-host']), host: z.string(), - id: z.string() - }) - ]) + id: z.string(), + }), + ]), ) .optional(), customerId: z.string().nullable().nullish(), orbCustomerId: z.string().nullable().nullish(), dataCache: z .object({ - excessBillingEnabled: z.boolean().optional() + excessBillingEnabled: z.boolean().optional(), }) .optional(), deletedAt: z.number().nullable().nullish(), @@ -908,34 +804,31 @@ export const userEventSchema = z dismissals: z.array( z.object({ scopeId: z.string(), - createdAt: z.number() - }) - ) - }) + createdAt: z.number(), + }), + ), + }), ) .optional(), favoriteProjectsAndSpaces: z .array( z.object({ teamId: z.string(), - projectId: z.string() - }) + projectId: z.string(), + }), ) .optional(), email: z.string(), id: z.string(), importFlowGitNamespace: z.union([z.string(), z.number()]).nullable().nullish(), importFlowGitNamespaceId: z.union([z.string(), z.number()]).nullable().nullish(), - importFlowGitProvider: z - .enum(['github', 'gitlab', 'bitbucket', 'github-limited', 'github-custom-host']) - .nullable() - .nullish(), + importFlowGitProvider: z.enum(['github', 'gitlab', 'bitbucket', 'github-limited', 'github-custom-host']).nullable().nullish(), preferredScopesAndGitNamespaces: z .array( z.object({ scopeId: z.string(), - gitNamespaceId: z.union([z.string(), z.number()]).nullable() - }) + gitNamespaceId: z.union([z.string(), z.number()]).nullable(), + }), ) .optional(), isDomainReseller: z.boolean().optional(), @@ -945,13 +838,10 @@ export const userEventSchema = z phoneNumber: z.string().optional(), platformVersion: z.number().nullable(), preventAutoBlocking: z.union([z.boolean(), z.number()]).optional(), - projectDomainsLimit: z - .number() - .describe('Overrides our DEFAULT project domains limit per account or per project.') - .optional(), + projectDomainsLimit: z.number().describe('Overrides our DEFAULT project domains limit per account or per project.').optional(), remoteCaching: z .object({ - enabled: z.boolean().optional() + enabled: z.boolean().optional(), }) .describe('Represents configuration for remote caching') .optional(), @@ -972,7 +862,7 @@ export const userEventSchema = z elasticConcurrencyEnabled: z.boolean().optional(), buildEntitlements: z .object({ - enhancedBuilds: z.boolean().optional() + enhancedBuilds: z.boolean().optional(), }) .optional(), awsAccountType: z.string().optional(), @@ -1000,9 +890,17 @@ export const userEventSchema = z purchaseType: z.enum(['enhanced', 'turbo']).optional(), isDefaultBuildMachine: z.boolean().optional(), cores: z.number().optional(), - memory: z.number().optional() + memory: z.number().optional(), + }) + .optional(), + security: z + .object({ + customRules: z.number().optional(), + ipBlocks: z.number().optional(), + ipBypass: z.number().optional(), + rateLimit: z.number().optional(), }) - .optional() + .optional(), }) .optional(), resourceLimits: z @@ -1010,8 +908,8 @@ export const userEventSchema = z .catchall( z.object({ max: z.number(), - duration: z.number() - }) + duration: z.number(), + }), ) .describe('User | Team resource limits') .optional(), @@ -1021,16 +919,16 @@ export const userEventSchema = z scopeId: z.string(), viewPreference: z.enum(['cards', 'list']).nullable().nullish(), favoritesViewPreference: z.enum(['open', 'closed']).nullable().nullish(), - recentsViewPreference: z.enum(['open', 'closed']).nullable().nullish() - }) + recentsViewPreference: z.enum(['open', 'closed']).nullable().nullish(), + }), ) .optional(), secondaryEmails: z .array( z.object({ email: z.string(), - verified: z.boolean() - }) + verified: z.boolean(), + }), ) .optional(), emailNotifications: z @@ -1039,10 +937,10 @@ export const userEventSchema = z .object({}) .catchall( z.object({ - email: z.string() - }) + email: z.string(), + }), ) - .optional() + .optional(), }) .optional(), siftScore: z.number().optional(), @@ -1054,15 +952,15 @@ export const userEventSchema = z reasons: z.array( z.object({ name: z.string(), - value: z.string() - }) - ) - }) + value: z.string(), + }), + ), + }), ) .optional(), siftRoute: z .object({ - name: z.enum(['string']) + name: z.enum(['string']), }) .optional(), sfdcId: z.string().optional(), @@ -1075,7 +973,7 @@ export const userEventSchema = z 'UNPAID_INVOICE', 'ENTERPRISE_TRIAL_ENDED', 'FAIR_USE_LIMITS_EXCEEDED', - 'BLOCKED_FOR_PLATFORM_ABUSE' + 'BLOCKED_FOR_PLATFORM_ABUSE', ]), blockedDueToOverageType: z .enum([ @@ -1117,9 +1015,9 @@ export const userEventSchema = z 'wafOwaspExcessBytes', 'wafOwaspRequests', 'wafRateLimitRequest', - 'webAnalyticsEvent' + 'webAnalyticsEvent', ]) - .optional() + .optional(), }) .nullable() .nullish(), @@ -1128,18 +1026,14 @@ export const userEventSchema = z teams: z .array( z.object({ - created: z.number().optional(), - createdAt: z.number().optional(), + created: z.number(), + createdAt: z.number(), teamId: z.string(), - role: z - .enum(['OWNER', 'MEMBER', 'DEVELOPER', 'SECURITY', 'BILLING', 'VIEWER', 'CONTRIBUTOR']) - .optional(), - confirmed: z.boolean().optional(), - confirmedAt: z.number().optional(), + role: z.enum(['OWNER', 'MEMBER', 'DEVELOPER', 'SECURITY', 'BILLING', 'VIEWER', 'VIEWER_FOR_PLUS', 'CONTRIBUTOR']), + confirmed: z.boolean(), + confirmedAt: z.number(), accessRequestedAt: z.number().optional(), - teamRoles: z - .array(z.enum(['OWNER', 'MEMBER', 'DEVELOPER', 'SECURITY', 'BILLING', 'VIEWER', 'CONTRIBUTOR'])) - .optional(), + teamRoles: z.array(z.enum(['OWNER', 'MEMBER', 'DEVELOPER', 'SECURITY', 'BILLING', 'VIEWER', 'VIEWER_FOR_PLUS', 'CONTRIBUTOR'])).optional(), teamPermissions: z .array( z.enum([ @@ -1147,25 +1041,16 @@ export const userEventSchema = z 'FullProductionDeployment', 'UsageViewer', 'EnvVariableManager', - 'EnvironmentManager' - ]) + 'EnvironmentManager', + 'V0Builder', + 'V0Chatter', + 'V0Viewer', + ]), ) .optional(), joinedFrom: z .object({ - origin: z.enum([ - 'teams', - 'saml', - 'link', - 'github', - 'gitlab', - 'bitbucket', - 'mail', - 'import', - 'dsync', - 'feedback', - 'organization-teams' - ]), + origin: z.enum(['teams', 'saml', 'link', 'github', 'gitlab', 'bitbucket', 'mail', 'import', 'dsync', 'feedback', 'organization-teams']), commitId: z.string().optional(), repoId: z.string().optional(), repoPath: z.string().optional(), @@ -1175,38 +1060,36 @@ export const userEventSchema = z ssoConnectedAt: z.number().optional(), idpUserId: z.string().optional(), dsyncUserId: z.string().optional(), - dsyncConnectedAt: z.number().optional() + dsyncConnectedAt: z.number().optional(), }) - .optional() - }) + .optional(), + }), ) .describe( - 'A helper that allows to describe a relationship attribute. It receives the shape of a relationship plus the foreignKey name to make it mandatory in the resulting type.' + 'A helper that allows to describe a relationship attribute. It receives the shape of a relationship plus the foreignKey name to make it mandatory in the resulting type.', ) .optional(), trialTeamIds: z .array(z.string()) .describe( - 'Introduced 2022-04-12 An array of teamIds (for trial teams created after 2022-04-01), created by the user in question. Used in determining whether the team has a trial available in utils/api-teams/user-has-trial-available.ts.' + 'Introduced 2022-04-12 An array of teamIds (for trial teams created after 2022-04-01), created by the user in question. Used in determining whether the team has a trial available in utils/api-teams/user-has-trial-available.ts.', ) .optional(), maxTrials: z .number() .describe( - 'Introduced 2022-04-19 Number of maximum trials to allocate to a user. When undefined, defaults to MAX_TRIALS in utils/api-teams/user-has-trial-available.ts. This is set to trialTeamIds + 1 by services/api-backoffice/src/handlers/add-additional-trial.ts.' + 'Introduced 2022-04-19 Number of maximum trials to allocate to a user. When undefined, defaults to MAX_TRIALS in utils/api-teams/user-has-trial-available.ts. This is set to trialTeamIds + 1 by services/api-backoffice/src/handlers/add-additional-trial.ts.', ) .optional(), trialTeamId: z .string() - .describe( - 'Deprecated on 2022-04-12 in favor of trialTeamIds and using utils/api-teams/user-has-trial-available.ts.' - ) + .describe('Deprecated on 2022-04-12 in favor of trialTeamIds and using utils/api-teams/user-has-trial-available.ts.') .optional(), type: z.enum(['user']), usageAlerts: z .object({ warningAt: z.number().nullable().nullish(), - blockingAt: z.number().nullable().nullish() + blockingAt: z.number().nullable().nullish(), }) .describe('Contains the timestamps when a user was notified about their usage') .nullable() @@ -1217,307 +1100,293 @@ export const userEventSchema = z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish() + blockedAt: z.number().nullable().nullish(), }) .optional(), artifacts: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish() + blockedAt: z.number().nullable().nullish(), }) .optional(), bandwidth: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish() + blockedAt: z.number().nullable().nullish(), }) .optional(), blobTotalAdvancedRequests: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish() + blockedAt: z.number().nullable().nullish(), }) .optional(), blobTotalAvgSizeInBytes: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish() + blockedAt: z.number().nullable().nullish(), }) .optional(), blobTotalGetResponseObjectSizeInBytes: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish() + blockedAt: z.number().nullable().nullish(), }) .optional(), blobTotalSimpleRequests: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish() + blockedAt: z.number().nullable().nullish(), }) .optional(), connectDataTransfer: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish() + blockedAt: z.number().nullable().nullish(), }) .optional(), dataCacheRead: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish() + blockedAt: z.number().nullable().nullish(), }) .optional(), dataCacheWrite: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish() + blockedAt: z.number().nullable().nullish(), }) .optional(), edgeConfigRead: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish() + blockedAt: z.number().nullable().nullish(), }) .optional(), edgeConfigWrite: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish() + blockedAt: z.number().nullable().nullish(), }) .optional(), edgeFunctionExecutionUnits: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish() + blockedAt: z.number().nullable().nullish(), }) .optional(), edgeMiddlewareInvocations: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish() + blockedAt: z.number().nullable().nullish(), }) .optional(), edgeRequestAdditionalCpuDuration: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish() + blockedAt: z.number().nullable().nullish(), }) .optional(), edgeRequest: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish() + blockedAt: z.number().nullable().nullish(), }) .optional(), elasticConcurrencyBuildSlots: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish() + blockedAt: z.number().nullable().nullish(), }) .optional(), fastDataTransfer: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish() + blockedAt: z.number().nullable().nullish(), }) .optional(), fastOriginTransfer: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish() + blockedAt: z.number().nullable().nullish(), }) .optional(), fluidCpuDuration: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish() + blockedAt: z.number().nullable().nullish(), }) .optional(), fluidDuration: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish() + blockedAt: z.number().nullable().nullish(), }) .optional(), functionDuration: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish() + blockedAt: z.number().nullable().nullish(), }) .optional(), functionInvocation: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish() + blockedAt: z.number().nullable().nullish(), }) .optional(), imageOptimizationCacheRead: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish() + blockedAt: z.number().nullable().nullish(), }) .optional(), imageOptimizationCacheWrite: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish() + blockedAt: z.number().nullable().nullish(), }) .optional(), imageOptimizationTransformation: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish() + blockedAt: z.number().nullable().nullish(), }) .optional(), logDrainsVolume: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish() + blockedAt: z.number().nullable().nullish(), }) .optional(), monitoringMetric: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish() + blockedAt: z.number().nullable().nullish(), }) .optional(), blobDataTransfer: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish() + blockedAt: z.number().nullable().nullish(), }) .optional(), observabilityEvent: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish() + blockedAt: z.number().nullable().nullish(), }) .optional(), onDemandConcurrencyMinutes: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish() + blockedAt: z.number().nullable().nullish(), }) .optional(), runtimeCacheRead: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish() + blockedAt: z.number().nullable().nullish(), }) .optional(), runtimeCacheWrite: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish() + blockedAt: z.number().nullable().nullish(), }) .optional(), serverlessFunctionExecution: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish() + blockedAt: z.number().nullable().nullish(), }) .optional(), sourceImages: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish() + blockedAt: z.number().nullable().nullish(), }) .optional(), wafOwaspExcessBytes: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish() + blockedAt: z.number().nullable().nullish(), }) .optional(), wafOwaspRequests: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish() + blockedAt: z.number().nullable().nullish(), }) .optional(), wafRateLimitRequest: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish() + blockedAt: z.number().nullable().nullish(), }) .optional(), webAnalyticsEvent: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish() + blockedAt: z.number().nullable().nullish(), }) - .optional() + .optional(), }) .optional(), overageMetadata: z .object({ - firstTimeOnDemandNotificationSentAt: z - .number() - .describe('Tracks if the first time on-demand overage email has been sent.') - .optional(), - dailyOverageSummaryEmailSentAt: z - .number() - .describe('Tracks the last time we sent a daily summary email.') - .optional(), - weeklyOverageSummaryEmailSentAt: z - .number() - .describe('Tracks the last time we sent a weekly summary email.') - .optional(), + firstTimeOnDemandNotificationSentAt: z.number().describe('Tracks if the first time on-demand overage email has been sent.').optional(), + dailyOverageSummaryEmailSentAt: z.number().describe('Tracks the last time we sent a daily summary email.').optional(), + weeklyOverageSummaryEmailSentAt: z.number().describe('Tracks the last time we sent a weekly summary email.').optional(), overageSummaryExpiresAt: z .number() .describe( - 'Tracks when the overage summary email will stop auto-sending. We currently lock the user into email for a month after the last on-demand usage.' + 'Tracks when the overage summary email will stop auto-sending. We currently lock the user into email for a month after the last on-demand usage.', ) .optional(), - increasedOnDemandEmailSentAt: z - .number() - .describe('Tracks the last time we sent a increased on-demand email.') - .optional(), + increasedOnDemandEmailSentAt: z.number().describe('Tracks the last time we sent a increased on-demand email.').optional(), increasedOnDemandEmailAttemptedAt: z .number() - .describe( - 'Tracks the last time we attempted to send an increased on-demand email. This check is to limit the number of attempts per day.' - ) - .optional() + .describe('Tracks the last time we attempted to send an increased on-demand email. This check is to limit the number of attempts per day.') + .optional(), }) .describe('Contains the timestamps for usage summary emails.') .optional(), @@ -1531,32 +1400,32 @@ export const userEventSchema = z .object({ webAnalytics: z .object({ - updatedAt: z.number().optional(), + updatedAt: z.number(), blockedFrom: z.number().optional(), blockedUntil: z.number().optional(), - blockReason: z.enum(['admin_override', 'limits_exceeded']).optional(), - graceEmailSentAt: z.number().optional() + blockReason: z.enum(['admin_override', 'limits_exceeded']), + graceEmailSentAt: z.number().optional(), }) .optional(), monitoring: z .object({ - updatedAt: z.number().optional(), + updatedAt: z.number(), blockedFrom: z.number().optional(), blockedUntil: z.number().optional(), - blockReason: z.enum(['admin_override', 'limits_exceeded']).optional(), - blockType: z.enum(['soft', 'hard']) + blockReason: z.enum(['admin_override', 'limits_exceeded']), + blockType: z.enum(['soft', 'hard']), }) .describe( - 'A soft block indicates a temporary pause in data collection (ex limit exceeded for the current cycle) A hard block indicates a stoppage in data collection that requires manual intervention (ex upgrading a pro trial)' + 'A soft block indicates a temporary pause in data collection (ex limit exceeded for the current cycle) A hard block indicates a stoppage in data collection that requires manual intervention (ex upgrading a pro trial)', ) .optional(), observabilityPlus: z .object({ - updatedAt: z.number().optional(), + updatedAt: z.number(), blockedFrom: z.number().optional(), blockedUntil: z.number().optional(), - blockReason: z.enum(['admin_override', 'limits_exceeded']).optional(), - blockType: z.enum(['soft', 'hard']) + blockReason: z.enum(['admin_override', 'limits_exceeded']), + blockType: z.enum(['soft', 'hard']), }) .optional(), dataCache: z @@ -1564,7 +1433,7 @@ export const userEventSchema = z updatedAt: z.number(), blockedFrom: z.number().optional(), blockedUntil: z.number().optional(), - blockReason: z.enum(['admin_override', 'limits_exceeded']) + blockReason: z.enum(['admin_override', 'limits_exceeded']), }) .optional(), imageOptimizationTransformation: z @@ -1572,7 +1441,7 @@ export const userEventSchema = z updatedAt: z.number(), blockedFrom: z.number().optional(), blockedUntil: z.number().optional(), - blockReason: z.enum(['admin_override', 'limits_exceeded']) + blockReason: z.enum(['admin_override', 'limits_exceeded']), }) .optional(), sourceImages: z @@ -1580,15 +1449,15 @@ export const userEventSchema = z updatedAt: z.number(), blockedFrom: z.number().optional(), blockedUntil: z.number().optional(), - blockReason: z.enum(['admin_override', 'limits_exceeded']) + blockReason: z.enum(['admin_override', 'limits_exceeded']), }) .optional(), blob: z .object({ - updatedAt: z.number().optional(), + updatedAt: z.number(), blockedFrom: z.number().optional(), blockedUntil: z.number().optional(), - blockReason: z.enum(['admin_override', 'limits_exceeded']).optional(), + blockReason: z.enum(['admin_override', 'limits_exceeded']), overageReason: z.enum([ 'analyticsUsage', 'artifacts', @@ -1628,16 +1497,16 @@ export const userEventSchema = z 'wafOwaspExcessBytes', 'wafOwaspRequests', 'wafRateLimitRequest', - 'webAnalyticsEvent' - ]) + 'webAnalyticsEvent', + ]), }) .optional(), postgres: z .object({ - updatedAt: z.number().optional(), + updatedAt: z.number(), blockedFrom: z.number().optional(), blockedUntil: z.number().optional(), - blockReason: z.enum(['admin_override', 'limits_exceeded']).optional(), + blockReason: z.enum(['admin_override', 'limits_exceeded']), overageReason: z.enum([ 'analyticsUsage', 'artifacts', @@ -1677,16 +1546,16 @@ export const userEventSchema = z 'wafOwaspExcessBytes', 'wafOwaspRequests', 'wafRateLimitRequest', - 'webAnalyticsEvent' - ]) + 'webAnalyticsEvent', + ]), }) .optional(), redis: z .object({ - updatedAt: z.number().optional(), + updatedAt: z.number(), blockedFrom: z.number().optional(), blockedUntil: z.number().optional(), - blockReason: z.enum(['admin_override', 'limits_exceeded']).optional(), + blockReason: z.enum(['admin_override', 'limits_exceeded']), overageReason: z.enum([ 'analyticsUsage', 'artifacts', @@ -1726,13 +1595,13 @@ export const userEventSchema = z 'wafOwaspExcessBytes', 'wafOwaspRequests', 'wafRateLimitRequest', - 'webAnalyticsEvent' - ]) + 'webAnalyticsEvent', + ]), }) - .optional() + .optional(), }) .describe( - 'Information about which features are blocked for a user. Blocks can be either soft (the user can still access the feature, but with a warning, e.g. prompting an upgrade) or hard (the user cannot access the feature at all).' + 'Information about which features are blocked for a user. Blocks can be either soft (the user can still access the feature, but with a warning, e.g. prompting an upgrade) or hard (the user cannot access the feature at all).', ) .optional(), defaultTeamId: z.string().optional(), @@ -1742,21 +1611,17 @@ export const userEventSchema = z teamId: z.string().describe('The ID of the team we created for this user.'), projects: z.number().describe('The number of projects migrated for this user.'), stores: z.number().describe('The number of stores migrated for this user.'), - integrationConfigurations: z - .number() - .describe('The number of integration configurations migrated for this user.'), + integrationConfigurations: z.number().describe('The number of integration configurations migrated for this user.'), integrationClients: z.number().describe('The number of integration clients migrated for this user.'), startTime: z.number().describe('The migration start time timestamp for this user.'), - endTime: z.number().describe('The migration end time timestamp for this user.') + endTime: z.number().describe('The migration end time timestamp for this user.'), }) - .describe( - 'An archive of information about the Northstar migration, derived from the old (deprecated) property, `northstarMigrationEvents`.' - ) + .describe('An archive of information about the Northstar migration, derived from the old (deprecated) property, `northstarMigrationEvents`.') .optional(), opportunityId: z .string() .describe( - "The salesforce opportunity ID that this user is linked to. This is used to automatically associate a team of the user's choosing with the opportunity." + "The salesforce opportunity ID that this user is linked to. This is used to automatically associate a team of the user's choosing with the opportunity.", ) .optional(), mfaConfiguration: z @@ -1767,16 +1632,14 @@ export const userEventSchema = z totp: z .object({ secret: z.string(), - createdAt: z.number() + createdAt: z.number(), }) - .optional() + .optional(), }) - .describe( - 'MFA configuration. When enabled, the user will be required to provide a second factor of authentication when logging in.' - ) - .optional() + .describe('MFA configuration. When enabled, the user will be required to provide a second factor of authentication when logging in.') + .optional(), }) - .nullable() + .nullable(), }), z.object({ configurations: z.array( @@ -1784,10 +1647,10 @@ export const userEventSchema = z integrationId: z.string(), configurationId: z.string(), integrationSlug: z.string(), - integrationName: z.string().optional() - }) + integrationName: z.string().optional(), + }), ), - ownerId: z.string() + ownerId: z.string(), }), z.object({ integrationId: z.string(), @@ -1796,7 +1659,7 @@ export const userEventSchema = z integrationName: z.string(), ownerId: z.string(), billingPlanId: z.string(), - billingPlanName: z.string().optional() + billingPlanName: z.string().optional(), }), z.object({ integrationId: z.string(), @@ -1804,14 +1667,14 @@ export const userEventSchema = z integrationSlug: z.string(), integrationName: z.string(), ownerId: z.string(), - projectIds: z.array(z.string()).optional() + projectIds: z.array(z.string()).optional(), }), z.object({ projectId: z.string(), fromDeploymentId: z.string(), toDeploymentId: z.string(), projectName: z.string(), - reason: z.string().optional() + reason: z.string().optional(), }), z.object({ integrationId: z.string(), @@ -1820,33 +1683,19 @@ export const userEventSchema = z integrationName: z.string(), ownerId: z.string(), projectIds: z.array(z.string()).optional(), - confirmedScopes: z.array(z.string()) + confirmedScopes: z.array(z.string()), }), z.object({ userAgent: z .object({ browser: z.object({ - name: z.enum(['iphone', 'ipad', 'ipod', 'chrome', 'firefox', 'mozilla', 'unknown']) + name: z.enum(['iphone', 'ipad', 'ipod', 'chrome', 'firefox', 'mozilla', 'unknown']), }), ua: z.string(), program: z.string(), os: z.object({ - name: z.enum([ - 'unknown', - 'darwin', - 'win32', - 'win', - 'windows', - 'linux', - 'freebsd', - 'sunos', - 'mac', - 'ios', - 'android', - 'Mac OS', - 'OS X' - ]) - }) + name: z.enum(['unknown', 'darwin', 'win32', 'win', 'windows', 'linux', 'freebsd', 'sunos', 'mac', 'ios', 'android', 'Mac OS', 'OS X']), + }), }) .optional(), geolocation: z @@ -1854,23 +1703,23 @@ export const userEventSchema = z city: z .object({ names: z.object({ - en: z.string() - }) + en: z.string(), + }), }) .optional(), country: z.object({ names: z.object({ - en: z.string() - }) + en: z.string(), + }), }), mostSpecificSubdivision: z .object({ names: z.object({ - en: z.string() - }) + en: z.string(), + }), }) .optional(), - regionName: z.string().optional() + regionName: z.string().optional(), }) .nullable() .nullish(), @@ -1883,27 +1732,27 @@ export const userEventSchema = z ssoType: z.string().optional(), env: z.string().optional(), os: z.string().optional(), - username: z.string().optional() + username: z.string().optional(), }), z.object({ logDrainUrl: z.string().nullable(), - integrationName: z.string().optional() + integrationName: z.string().optional(), }), z.object({ logDrainUrl: z.string(), - integrationName: z.string().optional() + integrationName: z.string().optional(), }), z.object({ drainUrl: z.string().nullable(), - integrationName: z.string().optional() + integrationName: z.string().optional(), }), z.object({ projectId: z.string(), toDeploymentId: z.string(), - projectName: z.string() + projectName: z.string(), }), z.object({ - projectName: z.string() + projectName: z.string(), }), z.object({ plan: z.string(), @@ -1911,24 +1760,12 @@ export const userEventSchema = z .object({}) .catchall( z.object({ - role: z.enum(['OWNER', 'MEMBER', 'DEVELOPER', 'SECURITY', 'BILLING', 'VIEWER', 'CONTRIBUTOR']), + role: z.enum(['OWNER', 'MEMBER', 'DEVELOPER', 'SECURITY', 'BILLING', 'VIEWER', 'VIEWER_FOR_PLUS', 'CONTRIBUTOR']), confirmed: z.boolean(), confirmedAt: z.number().optional(), joinedFrom: z .object({ - origin: z.enum([ - 'teams', - 'saml', - 'link', - 'github', - 'gitlab', - 'bitbucket', - 'mail', - 'import', - 'dsync', - 'feedback', - 'organization-teams' - ]), + origin: z.enum(['teams', 'saml', 'link', 'github', 'gitlab', 'bitbucket', 'mail', 'import', 'dsync', 'feedback', 'organization-teams']), commitId: z.string().optional(), repoId: z.string().optional(), repoPath: z.string().optional(), @@ -1938,17 +1775,21 @@ export const userEventSchema = z ssoConnectedAt: z.number().optional(), idpUserId: z.string().optional(), dsyncUserId: z.string().optional(), - dsyncConnectedAt: z.number().optional() + dsyncConnectedAt: z.number().optional(), }) - .optional() - }) + .optional(), + }), ) .optional(), priorPlan: z.string().optional(), isDowngrade: z.boolean().optional(), userAgent: z.string().optional(), isReactivate: z.boolean().optional(), - isTrialUpgrade: z.boolean().optional() + isTrialUpgrade: z.boolean().optional(), + }), + z.object({ + projectName: z.string(), + branch: z.string(), }), z.object({ projectName: z.string().optional(), @@ -1961,7 +1802,7 @@ export const userEventSchema = z enabledAt: z.number(), paidAt: z.number().optional(), sampleRatePercent: z.number().nullable().nullish(), - spendLimitInDollars: z.number().nullable().nullish() + spendLimitInDollars: z.number().nullable().nullish(), }) .nullable(), prevProjectAnalytics: z @@ -1972,102 +1813,64 @@ export const userEventSchema = z enabledAt: z.number(), paidAt: z.number().optional(), sampleRatePercent: z.number().nullable().nullish(), - spendLimitInDollars: z.number().nullable().nullish() + spendLimitInDollars: z.number().nullable().nullish(), }) - .nullable() + .nullable(), }), z.object({ projectName: z.string().optional(), projectId: z.string(), projectAnalytics: z.object({}).catchall(z.unknown()).optional(), - prevProjectAnalytics: z.object({}).catchall(z.unknown()).nullable().nullish() + prevProjectAnalytics: z.object({}).catchall(z.unknown()).nullable().nullish(), }), z.object({ projectName: z.string().optional(), - projectId: z.string() + projectId: z.string(), }), z.object({ projectName: z.string(), ssoProtection: z .union([ z.object({ - deploymentType: z.enum([ - 'all', - 'preview', - 'prod_deployment_urls_and_all_previews', - 'all_except_custom_domains' - ]) + deploymentType: z.enum(['all', 'preview', 'prod_deployment_urls_and_all_previews', 'all_except_custom_domains']), }), - z.enum(['all', 'preview', 'prod_deployment_urls_and_all_previews', 'all_except_custom_domains']) + z.enum(['all', 'preview', 'prod_deployment_urls_and_all_previews', 'all_except_custom_domains']), ]) .nullable(), oldSsoProtection: z .union([ z.object({ - deploymentType: z.enum([ - 'all', - 'preview', - 'prod_deployment_urls_and_all_previews', - 'all_except_custom_domains' - ]) + deploymentType: z.enum(['all', 'preview', 'prod_deployment_urls_and_all_previews', 'all_except_custom_domains']), }), - z.enum(['all', 'preview', 'prod_deployment_urls_and_all_previews', 'all_except_custom_domains']) + z.enum(['all', 'preview', 'prod_deployment_urls_and_all_previews', 'all_except_custom_domains']), ]) - .nullable() + .nullable(), }), z.object({ projectName: z.string(), passwordProtection: z .union([ z.object({ - deploymentType: z.enum([ - 'all', - 'preview', - 'prod_deployment_urls_and_all_previews', - 'all_except_custom_domains' - ]) + deploymentType: z.enum(['all', 'preview', 'prod_deployment_urls_and_all_previews', 'all_except_custom_domains']), }), - z.enum(['all', 'preview', 'prod_deployment_urls_and_all_previews', 'all_except_custom_domains']) + z.enum(['all', 'preview', 'prod_deployment_urls_and_all_previews', 'all_except_custom_domains']), ]) .nullable(), oldPasswordProtection: z .union([ z.object({ - deploymentType: z.enum([ - 'all', - 'preview', - 'prod_deployment_urls_and_all_previews', - 'all_except_custom_domains' - ]) + deploymentType: z.enum(['all', 'preview', 'prod_deployment_urls_and_all_previews', 'all_except_custom_domains']), }), - z.enum(['all', 'preview', 'prod_deployment_urls_and_all_previews', 'all_except_custom_domains']) + z.enum(['all', 'preview', 'prod_deployment_urls_and_all_previews', 'all_except_custom_domains']), ]) - .nullable() + .nullable(), }), z.object({ projectName: z.string(), - trustedIps: z - .enum([ - 'all', - 'preview', - 'prod_deployment_urls_and_all_previews', - 'all_except_custom_domains', - 'production' - ]) - .nullable() - .nullish(), - oldTrustedIps: z - .enum([ - 'all', - 'preview', - 'prod_deployment_urls_and_all_previews', - 'all_except_custom_domains', - 'production' - ]) - .nullable() - .nullish(), + trustedIps: z.enum(['all', 'preview', 'prod_deployment_urls_and_all_previews', 'all_except_custom_domains', 'production']).nullable().nullish(), + oldTrustedIps: z.enum(['all', 'preview', 'prod_deployment_urls_and_all_previews', 'all_except_custom_domains', 'production']).nullable().nullish(), addedAddresses: z.array(z.string()).nullable().nullish(), - removedAddresses: z.array(z.string()).nullable().nullish() + removedAddresses: z.array(z.string()).nullable().nullish(), }), z.object({ projectName: z.string(), @@ -2075,9 +1878,9 @@ export const userEventSchema = z .object({ paths: z.array( z.object({ - value: z.string() - }) - ) + value: z.string(), + }), + ), }) .nullable() .nullish(), @@ -2085,25 +1888,25 @@ export const userEventSchema = z .object({ paths: z.array( z.object({ - value: z.string() - }) - ) + value: z.string(), + }), + ), }) .nullable() - .nullish() + .nullish(), }), z.object({ projectName: z.string(), - action: z.enum(['enabled', 'disabled', 'regenerated']) + action: z.enum(['enabled', 'disabled', 'regenerated']), }), z.object({ name: z.string(), - ownerId: z.string() + ownerId: z.string(), }), z.object({ team: z.object({ id: z.string(), - name: z.string() + name: z.string(), }), project: z.object({ id: z.string(), @@ -2119,12 +1922,12 @@ export const userEventSchema = z aws: z .object({ subnetIds: z.array(z.string()), - securityGroupId: z.string() + securityGroupId: z.string(), }) .optional(), createdAt: z.number(), - updatedAt: z.number() - }) + updatedAt: z.number(), + }), ) .nullable(), newConnectConfigurations: z @@ -2138,99 +1941,103 @@ export const userEventSchema = z aws: z .object({ subnetIds: z.array(z.string()), - securityGroupId: z.string() + securityGroupId: z.string(), }) .optional(), createdAt: z.number(), - updatedAt: z.number() - }) + updatedAt: z.number(), + }), ) - .nullable() - }) + .nullable(), + }), + }), + z.object({ + projectId: z.string(), }), z.object({ - projectId: z.string() + source: z.string(), + projectId: z.string(), }), z.object({ projectId: z.string(), - projectName: z.string() + projectName: z.string(), }), z.object({ - projectId: z.string().optional(), - projectName: z.string().optional(), - newTargetPercentage: z.number().optional() + projectId: z.string(), + projectName: z.string(), + newTargetPercentage: z.number().optional(), }), z.object({ gitProvider: z.string(), gitProviderGroupDescriptor: z.string(), - gitScope: z.string() + gitScope: z.string(), }), z.object({ instances: z.number(), - url: z.string() + url: z.string(), }), z.object({ email: z.string(), - verified: z.boolean() + verified: z.boolean(), }), z.object({ - email: z.string() + email: z.string(), }), z.object({ team: z.object({ id: z.string(), - name: z.string().optional() + name: z.string().optional(), }), previousRule: z .object({ - email: z.string() + email: z.string(), }) .optional(), nextRule: z .object({ - email: z.string() + email: z.string(), }) - .optional() + .optional(), }), z.object({ team: z.object({ id: z.string(), - name: z.string().optional() + name: z.string().optional(), }), previousRule: z.object({ - email: z.string() - }) + email: z.string(), + }), }), z.object({ uid: z.string(), name: z.union([ z.string(), z.object({ - name: z.string() - }) - ]) + name: z.string(), + }), + ]), }), z.object({ oldName: z.string(), newName: z.string(), - uid: z.string().optional() + uid: z.string().optional(), }), z.object({ - bio: z.string() + bio: z.string(), }), z.object({ scalingRules: z.object({}).catchall( z.object({ min: z.number(), - max: z.number() - }) + max: z.number(), + }), ), min: z.number(), max: z.number(), - url: z.string() + url: z.string(), }), z.object({ - webhookUrl: z.string().optional() + webhookUrl: z.string().optional(), }), z.object({ budget: z @@ -2239,26 +2046,17 @@ export const userEventSchema = z fixedBudget: z.number().describe('Budget amount'), previousSpend: z.array(z.number()).describe('Array of the last 3 months of spend data'), notifiedAt: z.array(z.number()).describe('Array of 50, 75, 100 to keep track of notifications sent out'), - webhookId: z - .string() - .describe('Webhook id that corresponds to a webhook in Cosmos webhook collection') - .optional(), - webhookNotified: z - .boolean() - .describe('Keep track if the webhook has been called for the month') - .optional(), + webhookId: z.string().describe('Webhook id that corresponds to a webhook in Cosmos webhook collection').optional(), + webhookNotified: z.boolean().describe('Keep track if the webhook has been called for the month').optional(), createdAt: z.number().describe('Date time when budget is created'), updatedAt: z.number().describe('Date time when budget is updated last').optional(), isActive: z.boolean().describe('Is the budget currently active for a customer'), pauseProjects: z.boolean().describe('Should all projects be paused if budget is exceeded').optional(), - pricingPlan: z - .enum(['legacy', 'unbundled']) - .describe('The acive pricing plan the team is billed with') - .optional(), + pricingPlan: z.enum(['plus', 'legacy', 'unbundled']).describe('The acive pricing plan the team is billed with').optional(), teamId: z.string().describe('Partition key'), - id: z.string().describe('Sort key that needs to be unique per teamId') + id: z.string().describe('Sort key that needs to be unique per teamId'), }) - .describe('Represents a budget for tracking and notifying teams on their spending.') + .describe('Represents a budget for tracking and notifying teams on their spending.'), }), z.object({ budget: z.object({ @@ -2267,30 +2065,19 @@ export const userEventSchema = z type: z.enum(['fixed']).describe('The budget type'), fixedBudget: z.number().describe('Budget amount'), previousSpend: z.array(z.number()).describe('Array of the last 3 months of spend data'), - notifiedAt: z - .array(z.number()) - .describe('Array of 50, 75, 100 to keep track of notifications sent out'), - webhookId: z - .string() - .describe('Webhook id that corresponds to a webhook in Cosmos webhook collection') - .optional(), - webhookNotified: z - .boolean() - .describe('Keep track if the webhook has been called for the month') - .optional(), + notifiedAt: z.array(z.number()).describe('Array of 50, 75, 100 to keep track of notifications sent out'), + webhookId: z.string().describe('Webhook id that corresponds to a webhook in Cosmos webhook collection').optional(), + webhookNotified: z.boolean().describe('Keep track if the webhook has been called for the month').optional(), createdAt: z.number().describe('Date time when budget is created'), updatedAt: z.number().describe('Date time when budget is updated last').optional(), isActive: z.boolean().describe('Is the budget currently active for a customer'), pauseProjects: z.boolean().describe('Should all projects be paused if budget is exceeded').optional(), - pricingPlan: z - .enum(['legacy', 'unbundled']) - .describe('The acive pricing plan the team is billed with') - .optional(), + pricingPlan: z.enum(['plus', 'legacy', 'unbundled']).describe('The acive pricing plan the team is billed with').optional(), teamId: z.string().describe('Partition key'), - id: z.string().describe('Sort key that needs to be unique per teamId') + id: z.string().describe('Sort key that needs to be unique per teamId'), }) - .describe('Represents a budget for tracking and notifying teams on their spending.') - }) + .describe('Represents a budget for tracking and notifying teams on their spending.'), + }), }), z.object({ id: z.string(), @@ -2298,20 +2085,20 @@ export const userEventSchema = z computeUnitsMax: z.number().optional(), computeUnitsMin: z.number().optional(), suspendTimeoutSeconds: z.number().optional(), - type: z.enum(['redis', 'postgres', 'edge-config', 'blob', 'integration']) + type: z.enum(['redis', 'postgres', 'edge-config', 'blob', 'integration']), }), z.object({ - storeType: z.enum(['redis', 'postgres']) + storeType: z.enum(['redis', 'postgres']), }), z.object({ store: z.object({ name: z.string(), - id: z.string() + id: z.string(), }), - ownerId: z.string().optional() + ownerId: z.string().optional(), }), z.object({ - slug: z.string() + slug: z.string(), }), z.object({ slug: z.string(), @@ -2321,10 +2108,10 @@ export const userEventSchema = z .array( z.object({ slug: z.string(), - description: z.string() - }) + description: z.string(), + }), ) - .optional() + .optional(), }), z.object({ directoryType: z.string().optional(), @@ -2332,112 +2119,112 @@ export const userEventSchema = z invitedUser: z .object({ username: z.string(), - email: z.string() + email: z.string(), }) .optional(), invitedEmail: z.string().optional(), invitationRole: z.string().optional(), entitlements: z.array(z.string()).optional(), - invitedUid: z.string().optional() + invitedUid: z.string().optional(), }), z.object({ deletedUser: z .object({ username: z.string(), - email: z.string() + email: z.string(), }) .optional(), deletedUid: z.string().optional(), githubUsername: z.string().nullable().nullish(), gitlabUsername: z.string().nullable().nullish(), bitbucketUsername: z.string().nullable().nullish(), - directoryType: z.string().optional() + directoryType: z.string().optional(), }), z.object({ role: z.string().optional(), uid: z.string(), - origin: z.string().optional() + origin: z.string().optional(), }), z.object({ directoryType: z.string().optional(), updatedUser: z .object({ username: z.string(), - email: z.string() + email: z.string(), }) .optional(), role: z.string().optional(), previousRole: z.string(), - updatedUid: z.string().optional() + updatedUid: z.string().optional(), }), z.object({ entitlement: z.string(), user: z.object({ id: z.string(), - username: z.string() - }) + username: z.string(), + }), }), z.object({ entitlement: z.string(), user: z.object({ id: z.string(), - username: z.string() + username: z.string(), }), - previousCanceledAt: z.string().optional() + previousCanceledAt: z.string().optional(), }), z.object({ - enforced: z.boolean() + enforced: z.boolean(), }), z.object({ - name: z.string().optional() + name: z.string().optional(), }), z.object({ - slug: z.string().optional() + slug: z.string().optional(), }), z.object({ remoteCaching: z .object({ - enabled: z.boolean().optional() + enabled: z.boolean().optional(), }) .describe('Represents configuration for remote caching') - .optional() + .optional(), }), z.object({ previous: z.object({ enabled: z.boolean(), - totpVerified: z.boolean() + totpVerified: z.boolean(), }), next: z.object({ enabled: z.boolean(), - totpVerified: z.boolean() - }) + totpVerified: z.boolean(), + }), }), z.object({ enabled: z.boolean(), - totpVerified: z.boolean() + totpVerified: z.boolean(), }), z.object({ - mfaEnabled: z.boolean() + mfaEnabled: z.boolean(), }), z.object({ email: z.string(), - prevEmail: z.string() + prevEmail: z.string(), }), z.object({ - username: z.string() + username: z.string(), }), z.object({ price: z.number().optional(), currency: z.string().optional(), - enabled: z.boolean().optional() + enabled: z.boolean().optional(), }), z.object({ previewDeploymentSuffix: z.string().nullable().nullish(), - previousPreviewDeploymentSuffix: z.string().nullable().nullish() + previousPreviewDeploymentSuffix: z.string().nullable().nullish(), }), z.object({ price: z.number().optional(), - currency: z.string().optional() + currency: z.string().optional(), }), z.object({ teamName: z.string(), @@ -2447,7 +2234,7 @@ export const userEventSchema = z gitlabUsername: z.string().nullable().nullish(), bitbucketUsername: z.string().nullable().nullish(), updatedUid: z.string().optional(), - teamId: z.string().optional() + teamId: z.string().optional(), }), z.object({ teamName: z.string(), @@ -2455,7 +2242,7 @@ export const userEventSchema = z gitUsername: z.string().nullable().nullish(), githubUsername: z.string().nullable().nullish(), gitlabUsername: z.string().nullable().nullish(), - bitbucketUsername: z.string().nullable().nullish() + bitbucketUsername: z.string().nullable().nullish(), }), z.object({ requestedTeamName: z.string(), @@ -2463,7 +2250,7 @@ export const userEventSchema = z gitUsername: z.string().optional(), githubUsername: z.string().optional(), gitlabUsername: z.string().optional(), - bitbucketUsername: z.string().optional() + bitbucketUsername: z.string().optional(), }), z.object({ projectId: z.string(), @@ -2471,63 +2258,63 @@ export const userEventSchema = z originAccountName: z.string(), destinationAccountName: z.string(), destinationAccountId: z.string(), - transferId: z.string().optional() + transferId: z.string().optional(), }), z.object({ projectName: z.string(), destinationAccountName: z.string().nullable(), - transferId: z.string().optional() + transferId: z.string().optional(), }), z.object({ previousProjectName: z.string(), newProjectName: z.string(), destinationAccountName: z.string(), - transferId: z.string().optional() + transferId: z.string().optional(), }), z.object({ previousProjectName: z.string(), newProjectName: z.string(), originAccountName: z.string(), - transferId: z.string().optional() + transferId: z.string().optional(), }), z.object({ project: z.object({ name: z.string(), - id: z.string().optional() + id: z.string().optional(), }), projectMembership: z .object({ - role: z.enum(['ADMIN', 'PROJECT_DEVELOPER', 'PROJECT_VIEWER']).optional(), - uid: z.string().optional(), - createdAt: z.number().optional(), - username: z.string().optional() + role: z.enum(['ADMIN', 'PROJECT_DEVELOPER', 'PROJECT_VIEWER']), + uid: z.string(), + createdAt: z.number(), + username: z.string().optional(), }) - .nullable() + .nullable(), }), z.object({ project: z.object({ name: z.string(), - id: z.string().optional() + id: z.string().optional(), }), removedMembership: z.object({ - role: z.enum(['ADMIN', 'PROJECT_DEVELOPER', 'PROJECT_VIEWER']).optional(), - uid: z.string().optional(), - createdAt: z.number().optional(), - username: z.string().optional() - }) + role: z.enum(['ADMIN', 'PROJECT_DEVELOPER', 'PROJECT_VIEWER']), + uid: z.string(), + createdAt: z.number(), + username: z.string().optional(), + }), }), z.object({ project: z.object({ id: z.string(), - name: z.string() + name: z.string(), }), projectMembership: z.object({ role: z.enum(['ADMIN', 'PROJECT_DEVELOPER', 'PROJECT_VIEWER']).optional(), uid: z.string().optional(), createdAt: z.number().optional(), username: z.string().optional(), - previousRole: z.enum(['ADMIN', 'PROJECT_DEVELOPER', 'PROJECT_VIEWER']).optional() - }) + previousRole: z.enum(['ADMIN', 'PROJECT_DEVELOPER', 'PROJECT_VIEWER']).optional(), + }), }), z.object({ project: z.object({ @@ -2535,32 +2322,37 @@ export const userEventSchema = z role: z.enum(['ADMIN', 'PROJECT_DEVELOPER', 'PROJECT_VIEWER']), invitedUserName: z.string(), id: z.string().optional(), - invitedUserId: z.string().optional() - }) + invitedUserId: z.string().optional(), + }), + }), + z.object({ + projectName: z.string(), + tags: z.array(z.string()), + target: z.string().optional(), }), z.object({ edgeConfigId: z.string(), edgeConfigSlug: z.string(), - edgeConfigDigest: z.string() + edgeConfigDigest: z.string(), }), z.object({ edgeConfigId: z.string(), edgeConfigSlug: z.string(), edgeConfigTokenId: z.string(), - label: z.string() + label: z.string(), }), z.object({ edgeConfigId: z.string(), edgeConfigSlug: z.string(), - edgeConfigTokenIds: z.array(z.string()).describe('ids of deleted tokens') + edgeConfigTokenIds: z.array(z.string()).describe('ids of deleted tokens'), }), z.object({ - action: z.enum(['enable', 'disable']) + action: z.enum(['enable', 'disable']), }), z.object({ id: z.string(), slug: z.string(), - name: z.string() + name: z.string(), }), z.object({ id: z.string(), @@ -2570,19 +2362,19 @@ export const userEventSchema = z prev: z.object({ name: z.string(), slug: z.string(), - fallbackEnvironment: z.string().optional() - }) + fallbackEnvironment: z.string(), + }), }), z.object({ project: z.object({ id: z.string(), - name: z.string() + name: z.string(), }), group: z.object({ id: z.string(), slug: z.string(), - name: z.string() - }) + name: z.string(), + }), }), z.object({ project: z.object({ @@ -2597,27 +2389,25 @@ export const userEventSchema = z .min(2) .max(2) .describe( - 'The group IDs of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together.' + 'The group IDs of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together.', ), enabled: z.boolean().describe('Whether microfrontends are enabled for this project.'), isDefaultApp: z .boolean() .describe( - 'Whether this project is the default application for the microfrontends group. The default application is the one that is used as the top level shell for the microfrontends group and hosts the other microfrontends.' + 'Whether this project is the default application for the microfrontends group. The default application is the one that is used as the top level shell for the microfrontends group and hosts the other microfrontends.', ) .optional(), defaultRoute: z .string() .describe( - 'A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI. Includes the leading slash, e.g. `/docs`' + 'A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI. Includes the leading slash, e.g. `/docs`', ) .optional(), routeObservabilityToThisProject: z .boolean() - .describe( - 'Whether observability data should be routed to this microfrontend project or a root project.' - ) - .optional() + .describe('Whether observability data should be routed to this microfrontend project or a root project.') + .optional(), }), z.object({ updatedAt: z.number(), @@ -2625,10 +2415,10 @@ export const userEventSchema = z .array(z.union([z.string(), z.string()])) .min(2) .max(2), - enabled: z.boolean() - }) + enabled: z.boolean(), + }), ]) - .optional() + .optional(), }), prev: z.object({ project: z.object({ @@ -2641,27 +2431,25 @@ export const userEventSchema = z .min(2) .max(2) .describe( - 'The group IDs of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together.' + 'The group IDs of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together.', ), enabled: z.boolean().describe('Whether microfrontends are enabled for this project.'), isDefaultApp: z .boolean() .describe( - 'Whether this project is the default application for the microfrontends group. The default application is the one that is used as the top level shell for the microfrontends group and hosts the other microfrontends.' + 'Whether this project is the default application for the microfrontends group. The default application is the one that is used as the top level shell for the microfrontends group and hosts the other microfrontends.', ) .optional(), defaultRoute: z .string() .describe( - 'A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI. Includes the leading slash, e.g. `/docs`' + 'A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI. Includes the leading slash, e.g. `/docs`', ) .optional(), routeObservabilityToThisProject: z .boolean() - .describe( - 'Whether observability data should be routed to this microfrontend project or a root project.' - ) - .optional() + .describe('Whether observability data should be routed to this microfrontend project or a root project.') + .optional(), }), z.object({ updatedAt: z.number(), @@ -2669,17 +2457,17 @@ export const userEventSchema = z .array(z.union([z.string(), z.string()])) .min(2) .max(2), - enabled: z.boolean() - }) + enabled: z.boolean(), + }), ]) - .optional() - }) + .optional(), + }), }), group: z.object({ id: z.string(), slug: z.string(), - name: z.string() - }) + name: z.string(), + }), }), z.object({ projectId: z.string(), @@ -2690,7 +2478,7 @@ export const userEventSchema = z disabledAt: z.number().optional(), canceledAt: z.number().optional(), enabledAt: z.number().optional(), - hasData: z.boolean().optional() + hasData: z.boolean().optional(), }) .optional(), prevProjectWebAnalytics: z @@ -2699,103 +2487,90 @@ export const userEventSchema = z disabledAt: z.number().optional(), canceledAt: z.number().optional(), enabledAt: z.number().optional(), - hasData: z.boolean().optional() + hasData: z.boolean().optional(), }) .nullable() - .nullish() + .nullish(), }), z.object({ - tier: z.enum(['pro', 'plus']) + tier: z.enum(['pro', 'plus']), }), z.object({ oldName: z.string(), - newName: z.string() + newName: z.string(), }), z.object({ appName: z.string(), - scopes: z.array(z.string()) + scopes: z.array(z.string()), }), z.object({ appName: z.string(), - nextScopes: z.array(z.string()) + nextScopes: z.array(z.string()), }), z.object({ - appName: z.string() + appName: z.string(), + }), + z.object({ + appName: z.string(), + appId: z.string(), }), z.object({ team: z.object({ id: z.string(), - name: z.string() + name: z.string(), }), configuration: z.object({ id: z.string(), - name: z.string().optional() + name: z.string().optional(), }), peering: z.object({ id: z.string(), accountId: z.string(), region: z.string(), - vpcId: z.string() - }) + vpcId: z.string(), + }), }), z.object({ team: z.object({ id: z.string(), - name: z.string() + name: z.string(), }), configuration: z.object({ id: z.string(), - name: z.string().optional() + name: z.string().optional(), }), peering: z.object({ id: z.string(), - name: z.string().optional() - }) + name: z.string().optional(), + }), }), z.object({ team: z.object({ id: z.string(), - name: z.string() + name: z.string(), }), configuration: z.object({ id: z.string(), - name: z.string().optional() + name: z.string().optional(), }), peering: z.object({ id: z.string(), - name: z.string().optional() + name: z.string().optional(), }), - newName: z.string().optional() + newName: z.string().optional(), }), z.object({ - grantType: z.enum([ - 'authorization_code', - 'refresh_token', - 'urn:ietf:params:oauth:grant-type:device_code', - 'client_credentials' - ]), + grantType: z.enum(['authorization_code', 'refresh_token', 'urn:ietf:params:oauth:grant-type:device_code', 'client_credentials']), appName: z.string(), atTTL: z.number().describe('access_token TTL'), rtTTL: z.number().describe('refresh_token TTL').optional(), scope: z.string(), - authMethod: z.enum([ - 'email', - 'saml', - 'github', - 'gitlab', - 'bitbucket', - 'manual', - 'passkey', - 'otp', - 'sms', - 'invite', - 'google' - ]) - }) + authMethod: z.enum(['email', 'saml', 'app', 'github', 'gitlab', 'bitbucket', 'manual', 'passkey', 'otp', 'sms', 'invite', 'google']), + }), ]) - .optional() + .optional(), }) - .describe('Array of events generated by the User.'); + .describe('Array of events generated by the User.') /** * @description Data representing a Team. @@ -2804,16 +2579,12 @@ export const teamSchema = z .object({ connect: z .object({ - enabled: z.boolean().optional() + enabled: z.boolean().optional(), }) .optional(), creatorId: z.string().describe('The ID of the user who created the Team.'), updatedAt: z.number().describe('Timestamp (in milliseconds) of when the Team was last updated.'), - emailDomain: z - .string() - .describe("Hostname that'll be matched with emails on sign-up to automatically join the Team.") - .nullable() - .nullish(), + emailDomain: z.string().describe("Hostname that'll be matched with emails on sign-up to automatically join the Team.").nullable().nullish(), saml: z .object({ connection: z @@ -2822,10 +2593,7 @@ export const teamSchema = z status: z.string().describe('Current status of the connection.'), state: z.string().describe('Current state of the connection.'), connectedAt: z.number().describe('Timestamp (in milliseconds) of when the configuration was connected.'), - lastReceivedWebhookEvent: z - .number() - .describe('Timestamp (in milliseconds) of when the last webhook event was received from WorkOS.') - .optional() + lastReceivedWebhookEvent: z.number().describe('Timestamp (in milliseconds) of when the last webhook event was received from WorkOS.').optional(), }) .describe('Information for the SAML Single Sign-On configuration.') .optional(), @@ -2834,36 +2602,35 @@ export const teamSchema = z type: z.string().describe('The Identity Provider "type", for example Okta.'), state: z.string().describe('Current state of the connection.'), connectedAt: z.number().describe('Timestamp (in milliseconds) of when the configuration was connected.'), - lastReceivedWebhookEvent: z - .number() - .describe('Timestamp (in milliseconds) of when the last webhook event was received from WorkOS.') - .optional() + lastReceivedWebhookEvent: z.number().describe('Timestamp (in milliseconds) of when the last webhook event was received from WorkOS.').optional(), }) .describe('Information for the Directory Sync configuration.') .optional(), enforced: z .boolean() .describe( - "When `true`, interactions with the Team **must** be done with an authentication token that has been authenticated with the Team's SAML Single Sign-On provider." + "When `true`, interactions with the Team **must** be done with an authentication token that has been authenticated with the Team's SAML Single Sign-On provider.", ), + defaultRedirectUri: z + .enum(['v0.app', 'v0.dev', 'vercel.com']) + .describe('The default redirect URI to use after successful SAML authentication.') + .optional(), roles: z .object({}) .catchall( z.union([ z.object({ - accessGroupId: z.string() + accessGroupId: z.string(), }), - z.enum(['OWNER', 'MEMBER', 'DEVELOPER', 'SECURITY', 'BILLING', 'VIEWER', 'CONTRIBUTOR']) - ]) + z.enum(['OWNER', 'MEMBER', 'DEVELOPER', 'SECURITY', 'BILLING', 'VIEWER', 'VIEWER_FOR_PLUS', 'CONTRIBUTOR']), + ]), ) .describe( - 'When "Directory Sync" is configured, this object contains a mapping of which Directory Group (by ID) should be assigned to which Vercel Team "role".' + 'When "Directory Sync" is configured, this object contains a mapping of which Directory Group (by ID) should be assigned to which Vercel Team "role".', ) - .optional() + .optional(), }) - .describe( - 'When "Single Sign-On (SAML)" is configured, this object contains information regarding the configuration of the Identity Provider (IdP).' - ) + .describe('When "Single Sign-On (SAML)" is configured, this object contains information regarding the configuration of the Identity Provider (IdP).') .optional(), inviteCode: z.string().describe('Code that can be used to join this Team. Only visible to Team owners.').optional(), description: z.string().describe('A short description of the Team.').nullable(), @@ -2871,36 +2638,24 @@ export const teamSchema = z resourceConfig: z .object({ concurrentBuilds: z.number().describe('The total amount of concurrent builds that can be used.').optional(), - elasticConcurrencyEnabled: z - .boolean() - .describe('Whether every build for this team / user has elastic concurrency enabled automatically.') - .optional(), - edgeConfigSize: z - .number() - .describe('The maximum size in kilobytes of an Edge Config. Only specified if a custom limit is set.') - .optional(), + elasticConcurrencyEnabled: z.boolean().describe('Whether every build for this team / user has elastic concurrency enabled automatically.').optional(), + edgeConfigSize: z.number().describe('The maximum size in kilobytes of an Edge Config. Only specified if a custom limit is set.').optional(), edgeConfigs: z.number().describe('The maximum number of edge configs an account can create.').optional(), kvDatabases: z.number().describe('The maximum number of kv databases an account can create.').optional(), blobStores: z.number().describe('The maximum number of blob stores an account can create.').optional(), - postgresDatabases: z - .number() - .describe('The maximum number of postgres databases an account can create.') - .optional(), + postgresDatabases: z.number().describe('The maximum number of postgres databases an account can create.').optional(), buildEntitlements: z .object({ - enhancedBuilds: z.boolean().optional() + enhancedBuilds: z.boolean().optional(), }) - .optional() + .optional(), }) .optional(), - previewDeploymentSuffix: z - .string() - .describe('The hostname that is current set as preview deployment suffix.') - .nullable() - .nullish(), + previewDeploymentSuffix: z.string().describe('The hostname that is current set as preview deployment suffix.').nullable().nullish(), + disableHardAutoBlocks: z.union([z.boolean(), z.number()]).optional(), remoteCaching: z .object({ - enabled: z.boolean().optional() + enabled: z.boolean().optional(), }) .describe('Is remote caching enabled for this team') .optional(), @@ -2908,14 +2663,14 @@ export const teamSchema = z .object({ passwordProtection: z .object({ - deploymentType: z.string() + deploymentType: z.string(), }) .optional(), ssoProtection: z .object({ - deploymentType: z.string() + deploymentType: z.string(), }) - .optional() + .optional(), }) .describe('Default deployment protection for this team') .optional(), @@ -2929,27 +2684,15 @@ export const teamSchema = z .describe('Whether toolbar is enabled on production deployments') .nullable() .nullish(), - sensitiveEnvironmentVariablePolicy: z - .enum(['default', 'off', 'on']) - .describe('Sensitive environment variable policy for this team') - .nullable() - .nullish(), - hideIpAddresses: z - .boolean() - .describe('Indicates if IP addresses should be accessible in observability (o11y) tooling') - .nullable() - .nullish(), - hideIpAddressesInLogDrains: z - .boolean() - .describe('Indicates if IP addresses should be accessible in log drains') - .nullable() - .nullish(), + sensitiveEnvironmentVariablePolicy: z.enum(['default', 'off', 'on']).describe('Sensitive environment variable policy for this team').nullable().nullish(), + hideIpAddresses: z.boolean().describe('Indicates if IP addresses should be accessible in observability (o11y) tooling').nullable().nullish(), + hideIpAddressesInLogDrains: z.boolean().describe('Indicates if IP addresses should be accessible in log drains').nullable().nullish(), ipBuckets: z .array( z.object({ bucket: z.string(), - supportUntil: z.number().optional() - }) + supportUntil: z.number().optional(), + }), ) .optional(), id: z.string().describe("The Team's unique identifier."), @@ -2962,18 +2705,15 @@ export const teamSchema = z entitlements: z .array( z.object({ - entitlement: z.string() - }) + entitlement: z.string(), + }), ) .optional(), teamId: z.string().optional(), confirmed: z.boolean(), - confirmedAt: z.number(), accessRequestedAt: z.number().optional(), - role: z.enum(['BILLING', 'CONTRIBUTOR', 'DEVELOPER', 'MEMBER', 'OWNER', 'SECURITY', 'VIEWER']), - teamRoles: z - .array(z.enum(['BILLING', 'CONTRIBUTOR', 'DEVELOPER', 'MEMBER', 'OWNER', 'SECURITY', 'VIEWER'])) - .optional(), + role: z.enum(['BILLING', 'CONTRIBUTOR', 'DEVELOPER', 'MEMBER', 'OWNER', 'SECURITY', 'VIEWER', 'VIEWER_FOR_PLUS']), + teamRoles: z.array(z.enum(['BILLING', 'CONTRIBUTOR', 'DEVELOPER', 'MEMBER', 'OWNER', 'SECURITY', 'VIEWER', 'VIEWER_FOR_PLUS'])).optional(), teamPermissions: z .array( z.enum([ @@ -2981,27 +2721,18 @@ export const teamSchema = z 'EnvVariableManager', 'EnvironmentManager', 'FullProductionDeployment', - 'UsageViewer' - ]) + 'UsageViewer', + 'V0Builder', + 'V0Chatter', + 'V0Viewer', + ]), ) .optional(), createdAt: z.number(), created: z.number(), joinedFrom: z .object({ - origin: z.enum([ - 'bitbucket', - 'dsync', - 'feedback', - 'github', - 'gitlab', - 'import', - 'link', - 'mail', - 'organization-teams', - 'saml', - 'teams' - ]), + origin: z.enum(['bitbucket', 'dsync', 'feedback', 'github', 'gitlab', 'import', 'link', 'mail', 'organization-teams', 'saml', 'teams']), commitId: z.string().optional(), repoId: z.string().optional(), repoPath: z.string().optional(), @@ -3011,14 +2742,14 @@ export const teamSchema = z ssoConnectedAt: z.number().optional(), idpUserId: z.string().optional(), dsyncUserId: z.string().optional(), - dsyncConnectedAt: z.number().optional() + dsyncConnectedAt: z.number().optional(), }) - .optional() + .optional(), }) .describe('The membership of the authenticated User in relation to the Team.'), - createdAt: z.number().describe('UNIX timestamp (in milliseconds) when the Team was created.') + createdAt: z.number().describe('UNIX timestamp (in milliseconds) when the Team was created.'), }) - .describe('Data representing a Team.'); + .describe('Data representing a Team.') /** * @description A limited form of data representing a Team, due to the authentication token missing privileges to read the full Team data. @@ -3028,7 +2759,7 @@ export const teamLimitedSchema = z limited: z .boolean() .describe( - "Property indicating that this Team data contains only limited information, due to the authentication token missing privileges to read the full Team data or due to team having MFA enforced and the user not having MFA enabled. Re-login with the Team's configured SAML Single Sign-On provider in order to upgrade the authentication token with the necessary privileges." + "Property indicating that this Team data contains only limited information, due to the authentication token missing privileges to read the full Team data or due to team having MFA enforced and the user not having MFA enabled. Re-login with the Team's configured SAML Single Sign-On provider in order to upgrade the authentication token with the necessary privileges.", ), limitedBy: z.array(z.enum(['mfa', 'scope'])), saml: z @@ -3039,10 +2770,7 @@ export const teamLimitedSchema = z status: z.string().describe('Current status of the connection.'), state: z.string().describe('Current state of the connection.'), connectedAt: z.number().describe('Timestamp (in milliseconds) of when the configuration was connected.'), - lastReceivedWebhookEvent: z - .number() - .describe('Timestamp (in milliseconds) of when the last webhook event was received from WorkOS.') - .optional() + lastReceivedWebhookEvent: z.number().describe('Timestamp (in milliseconds) of when the last webhook event was received from WorkOS.').optional(), }) .describe('Information for the SAML Single Sign-On configuration.') .optional(), @@ -3051,21 +2779,18 @@ export const teamLimitedSchema = z type: z.string().describe('The Identity Provider "type", for example Okta.'), state: z.string().describe('Current state of the connection.'), connectedAt: z.number().describe('Timestamp (in milliseconds) of when the configuration was connected.'), - lastReceivedWebhookEvent: z - .number() - .describe('Timestamp (in milliseconds) of when the last webhook event was received from WorkOS.') - .optional() + lastReceivedWebhookEvent: z.number().describe('Timestamp (in milliseconds) of when the last webhook event was received from WorkOS.').optional(), }) .describe('Information for the Directory Sync configuration.') .optional(), enforced: z .boolean() .describe( - "When `true`, interactions with the Team **must** be done with an authentication token that has been authenticated with the Team's SAML Single Sign-On provider." - ) + "When `true`, interactions with the Team **must** be done with an authentication token that has been authenticated with the Team's SAML Single Sign-On provider.", + ), }) .describe( - 'When "Single Sign-On (SAML)" is configured, this object contains information that allows the client-side to identify whether or not this Team has SAML enforced.' + 'When "Single Sign-On (SAML)" is configured, this object contains information that allows the client-side to identify whether or not this Team has SAML enforced.', ) .optional(), id: z.string().describe("The Team's unique identifier."), @@ -3078,18 +2803,15 @@ export const teamLimitedSchema = z entitlements: z .array( z.object({ - entitlement: z.string() - }) + entitlement: z.string(), + }), ) .optional(), teamId: z.string().optional(), confirmed: z.boolean(), - confirmedAt: z.number(), accessRequestedAt: z.number().optional(), - role: z.enum(['BILLING', 'CONTRIBUTOR', 'DEVELOPER', 'MEMBER', 'OWNER', 'SECURITY', 'VIEWER']), - teamRoles: z - .array(z.enum(['BILLING', 'CONTRIBUTOR', 'DEVELOPER', 'MEMBER', 'OWNER', 'SECURITY', 'VIEWER'])) - .optional(), + role: z.enum(['BILLING', 'CONTRIBUTOR', 'DEVELOPER', 'MEMBER', 'OWNER', 'SECURITY', 'VIEWER', 'VIEWER_FOR_PLUS']), + teamRoles: z.array(z.enum(['BILLING', 'CONTRIBUTOR', 'DEVELOPER', 'MEMBER', 'OWNER', 'SECURITY', 'VIEWER', 'VIEWER_FOR_PLUS'])).optional(), teamPermissions: z .array( z.enum([ @@ -3097,27 +2819,18 @@ export const teamLimitedSchema = z 'EnvVariableManager', 'EnvironmentManager', 'FullProductionDeployment', - 'UsageViewer' - ]) + 'UsageViewer', + 'V0Builder', + 'V0Chatter', + 'V0Viewer', + ]), ) .optional(), createdAt: z.number(), created: z.number(), joinedFrom: z .object({ - origin: z.enum([ - 'bitbucket', - 'dsync', - 'feedback', - 'github', - 'gitlab', - 'import', - 'link', - 'mail', - 'organization-teams', - 'saml', - 'teams' - ]), + origin: z.enum(['bitbucket', 'dsync', 'feedback', 'github', 'gitlab', 'import', 'link', 'mail', 'organization-teams', 'saml', 'teams']), commitId: z.string().optional(), repoId: z.string().optional(), repoPath: z.string().optional(), @@ -3127,16 +2840,14 @@ export const teamLimitedSchema = z ssoConnectedAt: z.number().optional(), idpUserId: z.string().optional(), dsyncUserId: z.string().optional(), - dsyncConnectedAt: z.number().optional() + dsyncConnectedAt: z.number().optional(), }) - .optional() + .optional(), }) .describe('The membership of the authenticated User in relation to the Team.'), - createdAt: z.number().describe('UNIX timestamp (in milliseconds) when the Team was created.') + createdAt: z.number().describe('UNIX timestamp (in milliseconds) when the Team was created.'), }) - .describe( - 'A limited form of data representing a Team, due to the authentication token missing privileges to read the full Team data.' - ); + .describe('A limited form of data representing a Team, due to the authentication token missing privileges to read the full Team data.') /** * @description Authentication token metadata. @@ -3155,53 +2866,29 @@ export const authTokenSchema = z sudo: z .object({ origin: z.enum(['totp', 'webauthn', 'recovery-code']).describe('Possible multi-factor origins'), - expiresAt: z.number() + expiresAt: z.number(), }) .optional(), - origin: z.enum([ - 'saml', - 'github', - 'gitlab', - 'bitbucket', - 'email', - 'manual', - 'passkey', - 'otp', - 'sms', - 'invite', - 'google' - ]), + origin: z.enum(['saml', 'github', 'gitlab', 'bitbucket', 'email', 'manual', 'passkey', 'otp', 'sms', 'invite', 'google', 'app']).optional(), createdAt: z.number(), - expiresAt: z.number().optional() + expiresAt: z.number().optional(), }), z.object({ type: z.enum(['team']), teamId: z.string(), - origin: z.enum([ - 'saml', - 'github', - 'gitlab', - 'bitbucket', - 'email', - 'manual', - 'passkey', - 'otp', - 'sms', - 'invite', - 'google' - ]), + origin: z.enum(['saml', 'github', 'gitlab', 'bitbucket', 'email', 'manual', 'passkey', 'otp', 'sms', 'invite', 'google', 'app']).optional(), createdAt: z.number(), - expiresAt: z.number().optional() - }) - ]) + expiresAt: z.number().optional(), + }), + ]), ) .describe('The access scopes granted to the token.') .optional(), expiresAt: z.number().describe('Timestamp (in milliseconds) of when the token expires.').optional(), activeAt: z.number().describe('Timestamp (in milliseconds) of when the token was most recently used.'), - createdAt: z.number().describe('Timestamp (in milliseconds) of when the token was created.') + createdAt: z.number().describe('Timestamp (in milliseconds) of when the token was created.'), }) - .describe('Authentication token metadata.'); + .describe('Authentication token metadata.') /** * @description Data for the currently authenticated User. @@ -3218,7 +2905,7 @@ export const authUserSchema = z 'FAIR_USE_LIMITS_EXCEEDED', 'SUBSCRIPTION_CANCELED', 'SUBSCRIPTION_EXPIRED', - 'UNPAID_INVOICE' + 'UNPAID_INVOICE', ]), blockedDueToOverageType: z .enum([ @@ -3260,209 +2947,163 @@ export const authUserSchema = z 'wafOwaspExcessBytes', 'wafOwaspRequests', 'wafRateLimitRequest', - 'webAnalyticsEvent' + 'webAnalyticsEvent', ]) - .optional() + .optional(), }) .describe( - 'When the User account has been "soft blocked", this property will contain the date when the restriction was enacted, and the identifier for why.' + 'When the User account has been "soft blocked", this property will contain the date when the restriction was enacted, and the identifier for why.', ) .nullable(), - billing: z - .object({}) - .describe('An object containing billing infomation associated with the User account.') - .nullable(), + billing: z.object({}).describe('An object containing billing infomation associated with the User account.').nullable(), resourceConfig: z .object({ nodeType: z .string() - .describe( - 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' - ) + .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') .optional(), concurrentBuilds: z .number() - .describe( - 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' - ) + .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') .optional(), elasticConcurrencyEnabled: z .boolean() - .describe( - 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' - ) + .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') .optional(), buildEntitlements: z .object({ enhancedBuilds: z .boolean() - .describe( - 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' - ) - .optional() + .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') + .optional(), }) - .describe( - 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' - ) + .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') .optional(), awsAccountType: z .string() - .describe( - 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' - ) + .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') .optional(), awsAccountIds: z .array(z.string()) - .describe( - 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' - ) + .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') .optional(), cfZoneName: z .string() - .describe( - 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' - ) + .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') .optional(), imageOptimizationType: z .string() - .describe( - 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' - ) + .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') .optional(), edgeConfigs: z .number() - .describe( - 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' - ) + .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') .optional(), edgeConfigSize: z .number() - .describe( - 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' - ) + .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') .optional(), edgeFunctionMaxSizeBytes: z .number() - .describe( - 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' - ) + .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') .optional(), edgeFunctionExecutionTimeoutMs: z .number() - .describe( - 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' - ) + .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') .optional(), serverlessFunctionMaxMemorySize: z .number() - .describe( - 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' - ) + .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') .optional(), kvDatabases: z .number() - .describe( - 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' - ) + .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') .optional(), postgresDatabases: z .number() - .describe( - 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' - ) + .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') .optional(), blobStores: z .number() - .describe( - 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' - ) + .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') .optional(), integrationStores: z .number() - .describe( - 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' - ) + .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') .optional(), cronJobs: z .number() - .describe( - 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' - ) + .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') .optional(), cronJobsPerProject: z .number() - .describe( - 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' - ) + .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') .optional(), microfrontendGroupsPerTeam: z .number() - .describe( - 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' - ) + .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') .optional(), microfrontendProjectsPerGroup: z .number() - .describe( - 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' - ) + .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') .optional(), flagsExplorerOverridesThreshold: z .number() - .describe( - 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' - ) + .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') .optional(), flagsExplorerUnlimitedOverrides: z .boolean() - .describe( - 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' - ) + .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') .optional(), customEnvironmentsPerProject: z .number() - .describe( - 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' - ) + .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') .optional(), buildMachine: z .object({ purchaseType: z .enum(['enhanced', 'turbo']) - .describe( - 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' - ) + .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') .optional(), isDefaultBuildMachine: z .boolean() - .describe( - 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' - ) + .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') .optional(), cores: z .number() - .describe( - 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' - ) + .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') .optional(), memory: z .number() - .describe( - 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' - ) - .optional() + .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') + .optional(), }) - .describe( - 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' - ) - .optional() + .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') + .optional(), + security: z + .object({ + customRules: z + .number() + .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') + .optional(), + ipBlocks: z + .number() + .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') + .optional(), + ipBypass: z + .number() + .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') + .optional(), + rateLimit: z + .number() + .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') + .optional(), + }) + .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') + .optional(), }) - .describe( - 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' - ), - stagingPrefix: z - .string() - .describe('Prefix that will be used in the URL of "Preview" deployments created by the User account.'), + .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.'), + stagingPrefix: z.string().describe('Prefix that will be used in the URL of "Preview" deployments created by the User account.'), activeDashboardViews: z .array( z @@ -3470,24 +3111,21 @@ export const authUserSchema = z scopeId: z.string(), viewPreference: z.enum(['cards', 'list']).nullable().nullish(), favoritesViewPreference: z.enum(['closed', 'open']).nullable().nullish(), - recentsViewPreference: z.enum(['closed', 'open']).nullable().nullish() + recentsViewPreference: z.enum(['closed', 'open']).nullable().nullish(), }) - .describe('set of dashboard view preferences (cards or list) per scopeId') + .describe('set of dashboard view preferences (cards or list) per scopeId'), ) .describe('set of dashboard view preferences (cards or list) per scopeId') .optional(), importFlowGitNamespace: z.union([z.string(), z.number()]).nullable().nullish(), importFlowGitNamespaceId: z.union([z.string(), z.number()]).nullable().nullish(), - importFlowGitProvider: z - .enum(['bitbucket', 'github', 'github-custom-host', 'github-limited', 'gitlab']) - .nullable() - .nullish(), + importFlowGitProvider: z.enum(['bitbucket', 'github', 'github-custom-host', 'github-limited', 'gitlab']).nullable().nullish(), preferredScopesAndGitNamespaces: z .array( z.object({ scopeId: z.string(), - gitNamespaceId: z.union([z.string(), z.number()]).nullable() - }) + gitNamespaceId: z.union([z.string(), z.number()]).nullable(), + }), ) .optional(), dismissedToasts: z @@ -3498,11 +3136,11 @@ export const authUserSchema = z dismissals: z.array( z.object({ scopeId: z.string(), - createdAt: z.number() - }) - ) + createdAt: z.number(), + }), + ), }) - .describe('A record of when, under a certain scopeId, a toast was dismissed') + .describe('A record of when, under a certain scopeId, a toast was dismissed'), ) .describe('A record of when, under a certain scopeId, a toast was dismissed') .optional(), @@ -3511,22 +3149,22 @@ export const authUserSchema = z z .object({ teamId: z.string(), - projectId: z.string() + projectId: z.string(), }) - .describe('A list of projects and spaces across teams that a user has marked as a favorite.') + .describe('A list of projects and spaces across teams that a user has marked as a favorite.'), ) .describe('A list of projects and spaces across teams that a user has marked as a favorite.') .optional(), hasTrialAvailable: z.boolean().describe('Whether the user has a trial available for a paid plan subscription.'), remoteCaching: z .object({ - enabled: z.boolean().optional() + enabled: z.boolean().optional(), }) .describe('remote caching settings') .optional(), dataCache: z .object({ - excessBillingEnabled: z.boolean().optional() + excessBillingEnabled: z.boolean().optional(), }) .describe('data cache settings') .optional(), @@ -3536,9 +3174,9 @@ export const authUserSchema = z .object({ blockedFrom: z.number().optional(), blockedUntil: z.number().optional(), - isCurrentlyBlocked: z.boolean() + isCurrentlyBlocked: z.boolean(), }) - .optional() + .optional(), }) .describe('Feature blocks for the user') .optional(), @@ -3548,13 +3186,11 @@ export const authUserSchema = z username: z.string().describe('Unique username associated with the User account.'), avatar: z .string() - .describe( - 'SHA1 hash of the avatar for the User account. Can be used in conjuction with the ... endpoint to retrieve the avatar image.' - ) + .describe('SHA1 hash of the avatar for the User account. Can be used in conjuction with the ... endpoint to retrieve the avatar image.') .nullable(), - defaultTeamId: z.string().describe("The user's default team.").nullable() + defaultTeamId: z.string().describe("The user's default team.").nullable(), }) - .describe('Data for the currently authenticated User.'); + .describe('Data for the currently authenticated User.') /** * @description A limited form of data for the currently authenticated User, due to the authentication token missing privileges to read the full User data. @@ -3564,7 +3200,7 @@ export const authUserLimitedSchema = z limited: z .boolean() .describe( - 'Property indicating that this User data contains only limited information, due to the authentication token missing privileges to read the full User data. Re-login with email, GitHub, GitLab or Bitbucket in order to upgrade the authentication token with the necessary privileges.' + 'Property indicating that this User data contains only limited information, due to the authentication token missing privileges to read the full User data. Re-login with email, GitHub, GitLab or Bitbucket in order to upgrade the authentication token with the necessary privileges.', ), id: z.string().describe("The User's unique identifier."), email: z.string().describe('Email address associated with the User account.'), @@ -3572,15 +3208,11 @@ export const authUserLimitedSchema = z username: z.string().describe('Unique username associated with the User account.'), avatar: z .string() - .describe( - 'SHA1 hash of the avatar for the User account. Can be used in conjuction with the ... endpoint to retrieve the avatar image.' - ) + .describe('SHA1 hash of the avatar for the User account. Can be used in conjuction with the ... endpoint to retrieve the avatar image.') .nullable(), - defaultTeamId: z.string().describe("The user's default team.").nullable() + defaultTeamId: z.string().describe("The user's default team.").nullable(), }) - .describe( - 'A limited form of data for the currently authenticated User, due to the authentication token missing privileges to read the full User data.' - ); + .describe('A limited form of data for the currently authenticated User, due to the authentication token missing privileges to read the full User data.') /** * @description A deployment file tree entry @@ -3588,1089 +3220,1002 @@ export const authUserLimitedSchema = z export const fileTreeSchema = z .object({ name: z.string().describe('The name of the file tree entry'), - type: z - .enum(['directory', 'file', 'invalid', 'lambda', 'middleware', 'symlink']) - .describe('String indicating the type of file tree entry.'), + type: z.enum(['directory', 'file', 'invalid', 'lambda', 'middleware', 'symlink']).describe('String indicating the type of file tree entry.'), uid: z.string().describe('The unique identifier of the file (only valid for the `file` type)').optional(), - children: z - .array(z.unknown()) - .describe('The list of children files of the directory (only valid for the `directory` type)') - .optional(), + children: z.array(z.unknown()).describe('The list of children files of the directory (only valid for the `directory` type)').optional(), contentType: z.string().describe('The content-type of the file (only valid for the `file` type)').optional(), mode: z.number().describe('The file "mode" indicating file type and permissions.'), - symlink: z.string().describe('Not currently used. See `file-list-to-tree.ts`.').optional() + symlink: z.string().describe('Not currently used. See `file-list-to-tree.ts`.').optional(), }) - .describe('A deployment file tree entry'); + .describe('A deployment file tree entry') export const readAccessGroupPathParamsSchema = z.object({ - idOrName: z.string() -}); + idOrName: z.string(), +}) export const readAccessGroupQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const readAccessGroup200Schema = z.unknown(); +export const readAccessGroup200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const readAccessGroup400Schema = z.unknown(); +export const readAccessGroup400Schema = z.unknown() -export const readAccessGroup401Schema = z.unknown(); +export const readAccessGroup401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const readAccessGroup403Schema = z.unknown(); +export const readAccessGroup403Schema = z.unknown() -export const readAccessGroupQueryResponseSchema = z.lazy(() => readAccessGroup200Schema); +export const readAccessGroupQueryResponseSchema = z.lazy(() => readAccessGroup200Schema) export const updateAccessGroupPathParamsSchema = z.object({ - idOrName: z.string() -}); + idOrName: z.string(), +}) export const updateAccessGroupQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const updateAccessGroup200Schema = z.unknown(); +export const updateAccessGroup200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const updateAccessGroup400Schema = z.unknown(); +export const updateAccessGroup400Schema = z.unknown() -export const updateAccessGroup401Schema = z.unknown(); +export const updateAccessGroup401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const updateAccessGroup403Schema = z.unknown(); +export const updateAccessGroup403Schema = z.unknown() -export const updateAccessGroupMutationResponseSchema = z.lazy(() => updateAccessGroup200Schema); +export const updateAccessGroupMutationResponseSchema = z.lazy(() => updateAccessGroup200Schema) export const deleteAccessGroupPathParamsSchema = z.object({ - idOrName: z.string() -}); + idOrName: z.string(), +}) export const deleteAccessGroupQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const deleteAccessGroup200Schema = z.unknown(); +export const deleteAccessGroup200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const deleteAccessGroup400Schema = z.unknown(); +export const deleteAccessGroup400Schema = z.unknown() -export const deleteAccessGroup401Schema = z.unknown(); +export const deleteAccessGroup401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const deleteAccessGroup403Schema = z.unknown(); +export const deleteAccessGroup403Schema = z.unknown() -export const deleteAccessGroupMutationResponseSchema = z.lazy(() => deleteAccessGroup200Schema); +export const deleteAccessGroupMutationResponseSchema = z.lazy(() => deleteAccessGroup200Schema) export const listAccessGroupMembersPathParamsSchema = z.object({ - idOrName: z.string().describe('The ID or name of the Access Group.') -}); + idOrName: z.string().describe('The ID or name of the Access Group.'), +}) export const listAccessGroupMembersQueryParamsSchema = z .object({ - limit: z.coerce - .number() - .int() - .min(1) - .max(100) - .describe('Limit how many access group members should be returned.') - .optional(), + limit: z.coerce.number().int().min(1).max(100).describe('Limit how many access group members should be returned.').optional(), next: z.string().describe('Continuation cursor to retrieve the next page of results.').optional(), search: z.string().describe('Search project members by their name, username, and email.').optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const listAccessGroupMembers200Schema = z.unknown(); +export const listAccessGroupMembers200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const listAccessGroupMembers400Schema = z.unknown(); +export const listAccessGroupMembers400Schema = z.unknown() -export const listAccessGroupMembers401Schema = z.unknown(); +export const listAccessGroupMembers401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const listAccessGroupMembers403Schema = z.unknown(); +export const listAccessGroupMembers403Schema = z.unknown() -export const listAccessGroupMembersQueryResponseSchema = z.lazy(() => listAccessGroupMembers200Schema); +export const listAccessGroupMembersQueryResponseSchema = z.lazy(() => listAccessGroupMembers200Schema) export const listAccessGroupsQueryParamsSchema = z .object({ projectId: z.string().describe('Filter access groups by project.').optional(), search: z.string().describe('Search for access groups by name.').optional(), - membersLimit: z.coerce - .number() - .int() - .min(1) - .max(100) - .describe('Number of members to include in the response.') - .optional(), - projectsLimit: z.coerce - .number() - .int() - .min(1) - .max(100) - .describe('Number of projects to include in the response.') - .optional(), - limit: z.coerce - .number() - .int() - .min(1) - .max(100) - .describe('Limit how many access group should be returned.') - .optional(), + membersLimit: z.coerce.number().int().min(1).max(100).describe('Number of members to include in the response.').optional(), + projectsLimit: z.coerce.number().int().min(1).max(100).describe('Number of projects to include in the response.').optional(), + limit: z.coerce.number().int().min(1).max(100).describe('Limit how many access group should be returned.').optional(), next: z.string().describe('Continuation cursor to retrieve the next page of results.').optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const listAccessGroups200Schema = z.unknown(); +export const listAccessGroups200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const listAccessGroups400Schema = z.unknown(); +export const listAccessGroups400Schema = z.unknown() -export const listAccessGroups401Schema = z.unknown(); +export const listAccessGroups401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const listAccessGroups403Schema = z.unknown(); +export const listAccessGroups403Schema = z.unknown() -export const listAccessGroupsQueryResponseSchema = z.lazy(() => listAccessGroups200Schema); +export const listAccessGroupsQueryResponseSchema = z.lazy(() => listAccessGroups200Schema) export const createAccessGroupQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const createAccessGroup200Schema = z.unknown(); +export const createAccessGroup200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid. */ -export const createAccessGroup400Schema = z.unknown(); +export const createAccessGroup400Schema = z.unknown() -export const createAccessGroup401Schema = z.unknown(); +export const createAccessGroup401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const createAccessGroup403Schema = z.unknown(); +export const createAccessGroup403Schema = z.unknown() -export const createAccessGroupMutationResponseSchema = z.lazy(() => createAccessGroup200Schema); +export const createAccessGroupMutationResponseSchema = z.lazy(() => createAccessGroup200Schema) export const listAccessGroupProjectsPathParamsSchema = z.object({ - idOrName: z.string().describe('The ID or name of the Access Group.') -}); + idOrName: z.string().describe('The ID or name of the Access Group.'), +}) export const listAccessGroupProjectsQueryParamsSchema = z .object({ - limit: z.coerce - .number() - .int() - .min(1) - .max(100) - .describe('Limit how many access group projects should be returned.') - .optional(), + limit: z.coerce.number().int().min(1).max(100).describe('Limit how many access group projects should be returned.').optional(), next: z.string().describe('Continuation cursor to retrieve the next page of results.').optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const listAccessGroupProjects200Schema = z.unknown(); +export const listAccessGroupProjects200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const listAccessGroupProjects400Schema = z.unknown(); +export const listAccessGroupProjects400Schema = z.unknown() -export const listAccessGroupProjects401Schema = z.unknown(); +export const listAccessGroupProjects401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const listAccessGroupProjects403Schema = z.unknown(); +export const listAccessGroupProjects403Schema = z.unknown() -export const listAccessGroupProjectsQueryResponseSchema = z.lazy(() => listAccessGroupProjects200Schema); +export const listAccessGroupProjectsQueryResponseSchema = z.lazy(() => listAccessGroupProjects200Schema) export const createAccessGroupProjectPathParamsSchema = z.object({ - accessGroupIdOrName: z.string() -}); + accessGroupIdOrName: z.string(), +}) export const createAccessGroupProjectQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const createAccessGroupProject200Schema = z.unknown(); +export const createAccessGroupProject200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const createAccessGroupProject400Schema = z.unknown(); +export const createAccessGroupProject400Schema = z.unknown() -export const createAccessGroupProject401Schema = z.unknown(); +export const createAccessGroupProject401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const createAccessGroupProject403Schema = z.unknown(); +export const createAccessGroupProject403Schema = z.unknown() -export const createAccessGroupProjectMutationResponseSchema = z.lazy(() => createAccessGroupProject200Schema); +export const createAccessGroupProjectMutationResponseSchema = z.lazy(() => createAccessGroupProject200Schema) export const readAccessGroupProjectPathParamsSchema = z.object({ accessGroupIdOrName: z.string(), - projectId: z.string() -}); + projectId: z.string(), +}) export const readAccessGroupProjectQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const readAccessGroupProject200Schema = z.unknown(); +export const readAccessGroupProject200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const readAccessGroupProject400Schema = z.unknown(); +export const readAccessGroupProject400Schema = z.unknown() -export const readAccessGroupProject401Schema = z.unknown(); +export const readAccessGroupProject401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const readAccessGroupProject403Schema = z.unknown(); +export const readAccessGroupProject403Schema = z.unknown() -export const readAccessGroupProjectQueryResponseSchema = z.lazy(() => readAccessGroupProject200Schema); +export const readAccessGroupProjectQueryResponseSchema = z.lazy(() => readAccessGroupProject200Schema) export const updateAccessGroupProjectPathParamsSchema = z.object({ accessGroupIdOrName: z.string(), - projectId: z.string() -}); + projectId: z.string(), +}) export const updateAccessGroupProjectQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const updateAccessGroupProject200Schema = z.unknown(); +export const updateAccessGroupProject200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const updateAccessGroupProject400Schema = z.unknown(); +export const updateAccessGroupProject400Schema = z.unknown() -export const updateAccessGroupProject401Schema = z.unknown(); +export const updateAccessGroupProject401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const updateAccessGroupProject403Schema = z.unknown(); +export const updateAccessGroupProject403Schema = z.unknown() -export const updateAccessGroupProjectMutationResponseSchema = z.lazy(() => updateAccessGroupProject200Schema); +export const updateAccessGroupProjectMutationResponseSchema = z.lazy(() => updateAccessGroupProject200Schema) export const deleteAccessGroupProjectPathParamsSchema = z.object({ accessGroupIdOrName: z.string(), - projectId: z.string() -}); + projectId: z.string(), +}) export const deleteAccessGroupProjectQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const deleteAccessGroupProject200Schema = z.unknown(); +export const deleteAccessGroupProject200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const deleteAccessGroupProject400Schema = z.unknown(); +export const deleteAccessGroupProject400Schema = z.unknown() -export const deleteAccessGroupProject401Schema = z.unknown(); +export const deleteAccessGroupProject401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const deleteAccessGroupProject403Schema = z.unknown(); +export const deleteAccessGroupProject403Schema = z.unknown() -export const deleteAccessGroupProjectMutationResponseSchema = z.lazy(() => deleteAccessGroupProject200Schema); +export const deleteAccessGroupProjectMutationResponseSchema = z.lazy(() => deleteAccessGroupProject200Schema) export const recordEventsQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() export const recordEventsHeaderParamsSchema = z .object({ - 'x-artifact-client-ci': z - .string() - .max(50) - .describe('The continuous integration or delivery environment where this artifact is downloaded.') - .optional(), - 'x-artifact-client-interactive': z.coerce - .number() - .int() - .min(0) - .max(1) - .describe('1 if the client is an interactive shell. Otherwise 0') - .optional() + 'x-artifact-client-ci': z.string().max(50).describe('The continuous integration or delivery environment where this artifact is downloaded.').optional(), + 'x-artifact-client-interactive': z.coerce.number().int().min(0).max(1).describe('1 if the client is an interactive shell. Otherwise 0').optional(), }) - .optional(); + .optional() /** * @description Success. Event recorded. */ -export const recordEvents200Schema = z.unknown(); +export const recordEvents200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the headers is invalid */ -export const recordEvents400Schema = z.unknown(); +export const recordEvents400Schema = z.unknown() -export const recordEvents401Schema = z.unknown(); +export const recordEvents401Schema = z.unknown() /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export const recordEvents402Schema = z.unknown(); +export const recordEvents402Schema = z.unknown() /** * @description The customer has reached their spend cap limit and has been paused. An owner can disable the cap or raise the limit in settings.\nThe Remote Caching usage limit has been reached for this account for this billing cycle.\nRemote Caching has been disabled for this team or user. An owner can enable it in the billing settings.\nYou do not have permission to access this resource. */ -export const recordEvents403Schema = z.unknown(); +export const recordEvents403Schema = z.unknown() -export const recordEventsMutationResponseSchema = z.lazy(() => recordEvents200Schema); +export const recordEventsMutationResponseSchema = z.lazy(() => recordEvents200Schema) export const statusQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const status200Schema = z.unknown(); +export const status200Schema = z.unknown() -export const status400Schema = z.unknown(); +export const status400Schema = z.unknown() -export const status401Schema = z.unknown(); +export const status401Schema = z.unknown() /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export const status402Schema = z.unknown(); +export const status402Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const status403Schema = z.unknown(); +export const status403Schema = z.unknown() -export const statusQueryResponseSchema = z.lazy(() => status200Schema); +export const statusQueryResponseSchema = z.lazy(() => status200Schema) export const uploadArtifactPathParamsSchema = z.object({ - hash: z.string().describe('The artifact hash') -}); + hash: z.string().describe('The artifact hash'), +}) export const uploadArtifactQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() export const uploadArtifactHeaderParamsSchema = z.object({ 'Content-Length': z.coerce.number().describe('The artifact size in bytes'), - 'x-artifact-duration': z.coerce - .number() - .describe('The time taken to generate the uploaded artifact in milliseconds.') - .optional(), - 'x-artifact-client-ci': z - .string() - .max(50) - .describe('The continuous integration or delivery environment where this artifact was generated.') - .optional(), - 'x-artifact-client-interactive': z.coerce - .number() - .int() - .min(0) - .max(1) - .describe('1 if the client is an interactive shell. Otherwise 0') - .optional(), + 'x-artifact-duration': z.coerce.number().describe('The time taken to generate the uploaded artifact in milliseconds.').optional(), + 'x-artifact-client-ci': z.string().max(50).describe('The continuous integration or delivery environment where this artifact was generated.').optional(), + 'x-artifact-client-interactive': z.coerce.number().int().min(0).max(1).describe('1 if the client is an interactive shell. Otherwise 0').optional(), 'x-artifact-tag': z .string() .max(600) - .describe( - 'The base64 encoded tag for this artifact. The value is sent back to clients when the artifact is downloaded as the header `x-artifact-tag`' - ) - .optional() -}); + .describe('The base64 encoded tag for this artifact. The value is sent back to clients when the artifact is downloaded as the header `x-artifact-tag`') + .optional(), +}) /** * @description File successfully uploaded */ -export const uploadArtifact202Schema = z.unknown(); +export const uploadArtifact202Schema = z.unknown() /** * @description One of the provided values in the request query is invalid.\nOne of the provided values in the headers is invalid\nFile size is not valid */ -export const uploadArtifact400Schema = z.unknown(); +export const uploadArtifact400Schema = z.unknown() -export const uploadArtifact401Schema = z.unknown(); +export const uploadArtifact401Schema = z.unknown() /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export const uploadArtifact402Schema = z.unknown(); +export const uploadArtifact402Schema = z.unknown() /** * @description The customer has reached their spend cap limit and has been paused. An owner can disable the cap or raise the limit in settings.\nThe Remote Caching usage limit has been reached for this account for this billing cycle.\nRemote Caching has been disabled for this team or user. An owner can enable it in the billing settings.\nYou do not have permission to access this resource. */ -export const uploadArtifact403Schema = z.unknown(); +export const uploadArtifact403Schema = z.unknown() -export const uploadArtifactMutationResponseSchema = z.lazy(() => uploadArtifact202Schema); +export const uploadArtifactMutationResponseSchema = z.lazy(() => uploadArtifact202Schema) export const downloadArtifactPathParamsSchema = z.object({ - hash: z.string().describe('The artifact hash') -}); + hash: z.string().describe('The artifact hash'), +}) export const downloadArtifactQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() export const downloadArtifactHeaderParamsSchema = z .object({ - 'x-artifact-client-ci': z - .string() - .max(50) - .describe('The continuous integration or delivery environment where this artifact is downloaded.') - .optional(), - 'x-artifact-client-interactive': z.coerce - .number() - .int() - .min(0) - .max(1) - .describe('1 if the client is an interactive shell. Otherwise 0') - .optional() + 'x-artifact-client-ci': z.string().max(50).describe('The continuous integration or delivery environment where this artifact is downloaded.').optional(), + 'x-artifact-client-interactive': z.coerce.number().int().min(0).max(1).describe('1 if the client is an interactive shell. Otherwise 0').optional(), }) - .optional(); + .optional() /** * @description The artifact was found and is downloaded as a stream. Content-Length should be verified. */ -export const downloadArtifact200Schema = z.unknown(); +export const downloadArtifact200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid.\nOne of the provided values in the headers is invalid */ -export const downloadArtifact400Schema = z.unknown(); +export const downloadArtifact400Schema = z.unknown() -export const downloadArtifact401Schema = z.unknown(); +export const downloadArtifact401Schema = z.unknown() /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export const downloadArtifact402Schema = z.unknown(); +export const downloadArtifact402Schema = z.unknown() /** * @description The customer has reached their spend cap limit and has been paused. An owner can disable the cap or raise the limit in settings.\nThe Remote Caching usage limit has been reached for this account for this billing cycle.\nRemote Caching has been disabled for this team or user. An owner can enable it in the billing settings.\nYou do not have permission to access this resource. */ -export const downloadArtifact403Schema = z.unknown(); +export const downloadArtifact403Schema = z.unknown() /** * @description The artifact was not found */ -export const downloadArtifact404Schema = z.unknown(); +export const downloadArtifact404Schema = z.unknown() -export const downloadArtifactQueryResponseSchema = z.lazy(() => downloadArtifact200Schema); +export const downloadArtifactQueryResponseSchema = z.lazy(() => downloadArtifact200Schema) export const artifactQueryQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const artifactQuery200Schema = z.unknown(); +export const artifactQuery200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid. */ -export const artifactQuery400Schema = z.unknown(); +export const artifactQuery400Schema = z.unknown() -export const artifactQuery401Schema = z.unknown(); +export const artifactQuery401Schema = z.unknown() /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export const artifactQuery402Schema = z.unknown(); +export const artifactQuery402Schema = z.unknown() /** * @description The customer has reached their spend cap limit and has been paused. An owner can disable the cap or raise the limit in settings.\nThe Remote Caching usage limit has been reached for this account for this billing cycle.\nRemote Caching has been disabled for this team or user. An owner can enable it in the billing settings.\nYou do not have permission to access this resource. */ -export const artifactQuery403Schema = z.unknown(); +export const artifactQuery403Schema = z.unknown() -export const artifactQueryMutationResponseSchema = z.lazy(() => artifactQuery200Schema); +export const artifactQueryMutationResponseSchema = z.lazy(() => artifactQuery200Schema) export const createCheckPathParamsSchema = z.object({ - deploymentId: z.string().describe('The deployment to create the check for.') -}); + deploymentId: z.string().describe('The deployment to create the check for.'), +}) export const createCheckQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const createCheck200Schema = z.unknown(); +export const createCheck200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nCannot create check for finished deployment\nThe provided token is not from an OAuth2 Client */ -export const createCheck400Schema = z.unknown(); +export const createCheck400Schema = z.unknown() -export const createCheck401Schema = z.unknown(); +export const createCheck401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const createCheck403Schema = z.unknown(); +export const createCheck403Schema = z.unknown() /** * @description The deployment was not found */ -export const createCheck404Schema = z.unknown(); +export const createCheck404Schema = z.unknown() -export const createCheckMutationResponseSchema = z.lazy(() => createCheck200Schema); +export const createCheckMutationResponseSchema = z.lazy(() => createCheck200Schema) export const getAllChecksPathParamsSchema = z.object({ - deploymentId: z.string().describe('The deployment to get all checks for') -}); + deploymentId: z.string().describe('The deployment to get all checks for'), +}) export const getAllChecksQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const getAllChecks200Schema = z.unknown(); +export const getAllChecks200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const getAllChecks400Schema = z.unknown(); +export const getAllChecks400Schema = z.unknown() -export const getAllChecks401Schema = z.unknown(); +export const getAllChecks401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getAllChecks403Schema = z.unknown(); +export const getAllChecks403Schema = z.unknown() /** * @description The deployment was not found */ -export const getAllChecks404Schema = z.unknown(); +export const getAllChecks404Schema = z.unknown() -export const getAllChecksQueryResponseSchema = z.lazy(() => getAllChecks200Schema); +export const getAllChecksQueryResponseSchema = z.lazy(() => getAllChecks200Schema) export const getCheckPathParamsSchema = z.object({ deploymentId: z.string().describe('The deployment to get the check for.'), - checkId: z.string().describe('The check to fetch') -}); + checkId: z.string().describe('The check to fetch'), +}) export const getCheckQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const getCheck200Schema = z.unknown(); +export const getCheck200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const getCheck400Schema = z.unknown(); +export const getCheck400Schema = z.unknown() -export const getCheck401Schema = z.unknown(); +export const getCheck401Schema = z.unknown() /** * @description You do not have permission to access this resource.\nThe provided token is not from an OAuth2 Client that created the Check */ -export const getCheck403Schema = z.unknown(); +export const getCheck403Schema = z.unknown() /** * @description Check was not found\nThe deployment was not found */ -export const getCheck404Schema = z.unknown(); +export const getCheck404Schema = z.unknown() -export const getCheckQueryResponseSchema = z.lazy(() => getCheck200Schema); +export const getCheckQueryResponseSchema = z.lazy(() => getCheck200Schema) export const updateCheckPathParamsSchema = z.object({ deploymentId: z.string().describe('The deployment to update the check for.'), - checkId: z.string().describe('The check being updated') -}); + checkId: z.string().describe('The check being updated'), +}) export const updateCheckQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const updateCheck200Schema = z.unknown(); +export const updateCheck200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nThe provided token is not from an OAuth2 Client */ -export const updateCheck400Schema = z.unknown(); +export const updateCheck400Schema = z.unknown() -export const updateCheck401Schema = z.unknown(); +export const updateCheck401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const updateCheck403Schema = z.unknown(); +export const updateCheck403Schema = z.unknown() /** * @description Check was not found\nThe deployment was not found */ -export const updateCheck404Schema = z.unknown(); +export const updateCheck404Schema = z.unknown() /** * @description The output provided is too large */ -export const updateCheck413Schema = z.unknown(); +export const updateCheck413Schema = z.unknown() -export const updateCheckMutationResponseSchema = z.lazy(() => updateCheck200Schema); +export const updateCheckMutationResponseSchema = z.lazy(() => updateCheck200Schema) export const rerequestCheckPathParamsSchema = z.object({ deploymentId: z.string().describe('The deployment to rerun the check for.'), - checkId: z.string().describe('The check to rerun') -}); + checkId: z.string().describe('The check to rerun'), +}) export const rerequestCheckQueryParamsSchema = z .object({ + autoUpdate: z.boolean().describe('Mark the check as running').optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const rerequestCheck200Schema = z.unknown(); +export const rerequestCheck200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const rerequestCheck400Schema = z.unknown(); +export const rerequestCheck400Schema = z.unknown() -export const rerequestCheck401Schema = z.unknown(); +export const rerequestCheck401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const rerequestCheck403Schema = z.unknown(); +export const rerequestCheck403Schema = z.unknown() /** * @description The deployment was not found\nCheck was not found */ -export const rerequestCheck404Schema = z.unknown(); +export const rerequestCheck404Schema = z.unknown() -export const rerequestCheckMutationResponseSchema = z.lazy(() => rerequestCheck200Schema); +export const rerequestCheckMutationResponseSchema = z.lazy(() => rerequestCheck200Schema) export const purgeAllDataCacheQueryParamsSchema = z.object({ - projectIdOrName: z.string() -}); + projectIdOrName: z.string(), +}) -export const purgeAllDataCache200Schema = z.unknown(); +export const purgeAllDataCache200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const purgeAllDataCache400Schema = z.unknown(); +export const purgeAllDataCache400Schema = z.unknown() -export const purgeAllDataCache401Schema = z.unknown(); +export const purgeAllDataCache401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const purgeAllDataCache403Schema = z.unknown(); +export const purgeAllDataCache403Schema = z.unknown() -export const purgeAllDataCache404Schema = z.unknown(); +export const purgeAllDataCache404Schema = z.unknown() -export const purgeAllDataCacheMutationResponseSchema = z.lazy(() => purgeAllDataCache200Schema); +export const purgeAllDataCacheMutationResponseSchema = z.lazy(() => purgeAllDataCache200Schema) -export const updateDataCacheBillingSettings200Schema = z.unknown(); +export const updateDataCacheBillingSettings200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid. */ -export const updateDataCacheBillingSettings400Schema = z.unknown(); +export const updateDataCacheBillingSettings400Schema = z.unknown() -export const updateDataCacheBillingSettings401Schema = z.unknown(); +export const updateDataCacheBillingSettings401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const updateDataCacheBillingSettings403Schema = z.unknown(); +export const updateDataCacheBillingSettings403Schema = z.unknown() -export const updateDataCacheBillingSettings404Schema = z.unknown(); +export const updateDataCacheBillingSettings404Schema = z.unknown() -export const updateDataCacheBillingSettingsMutationResponseSchema = z.lazy( - () => updateDataCacheBillingSettings200Schema -); +export const updateDataCacheBillingSettingsMutationResponseSchema = z.lazy(() => updateDataCacheBillingSettings200Schema) export const updateProjectDataCachePathParamsSchema = z.object({ - projectId: z.string().describe('The unique project identifier') -}); + projectId: z.string().describe('The unique project identifier'), +}) export const updateProjectDataCacheQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const updateProjectDataCache200Schema = z.unknown(); +export const updateProjectDataCache200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const updateProjectDataCache400Schema = z.unknown(); +export const updateProjectDataCache400Schema = z.unknown() -export const updateProjectDataCache401Schema = z.unknown(); +export const updateProjectDataCache401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const updateProjectDataCache403Schema = z.unknown(); +export const updateProjectDataCache403Schema = z.unknown() -export const updateProjectDataCache404Schema = z.unknown(); +export const updateProjectDataCache404Schema = z.unknown() -export const updateProjectDataCacheMutationResponseSchema = z.lazy(() => updateProjectDataCache200Schema); +export const updateProjectDataCacheMutationResponseSchema = z.lazy(() => updateProjectDataCache200Schema) export const getDeploymentEventsPathParamsSchema = z.object({ - idOrUrl: z.string().describe('The unique identifier or hostname of the deployment.') -}); + idOrUrl: z.string().describe('The unique identifier or hostname of the deployment.'), +}) export const getDeploymentEventsQueryParamsSchema = z.object({ - direction: z - .enum(['backward', 'forward']) - .default('forward') - .describe('Order of the returned events based on the timestamp.'), + direction: z.enum(['backward', 'forward']).default('forward').describe('Order of the returned events based on the timestamp.'), follow: z .union([z.literal(0), z.literal(1)]) .describe('When enabled, this endpoint will return live events as they happen.') .optional(), - limit: z.coerce - .number() - .describe('Maximum number of events to return. Provide `-1` to return all available logs.') - .optional(), + limit: z.coerce.number().describe('Maximum number of events to return. Provide `-1` to return all available logs.').optional(), name: z.string().describe('Deployment build ID.').optional(), since: z.coerce.number().describe('Timestamp for when build logs should be pulled from.').optional(), until: z.coerce.number().describe('Timestamp for when the build logs should be pulled up until.').optional(), - statusCode: z - .union([z.string(), z.coerce.number()]) - .describe('HTTP status code range to filter events by.') - .optional(), + statusCode: z.union([z.string(), z.coerce.number()]).describe('HTTP status code range to filter events by.').optional(), delimiter: z.union([z.literal(0), z.literal(1)]).optional(), builds: z.union([z.literal(0), z.literal(1)]).optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() -}); + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), +}) -export const getDeploymentEvents200Schema = z.unknown(); +export const getDeploymentEvents200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const getDeploymentEvents400Schema = z.unknown(); +export const getDeploymentEvents400Schema = z.unknown() -export const getDeploymentEvents401Schema = z.unknown(); +export const getDeploymentEvents401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getDeploymentEvents403Schema = z.unknown(); +export const getDeploymentEvents403Schema = z.unknown() -export const getDeploymentEvents500Schema = z.unknown(); +export const getDeploymentEvents500Schema = z.unknown() -export const getDeploymentEventsQueryResponseSchema = z.lazy(() => getDeploymentEvents200Schema); +export const getDeploymentEventsQueryResponseSchema = z.lazy(() => getDeploymentEvents200Schema) export const updateIntegrationDeploymentActionPathParamsSchema = z.object({ deploymentId: z.string(), integrationConfigurationId: z.string(), resourceId: z.string(), - action: z.string() -}); + action: z.string(), +}) -export const updateIntegrationDeploymentAction202Schema = z.unknown(); +export const updateIntegrationDeploymentAction202Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const updateIntegrationDeploymentAction400Schema = z.unknown(); +export const updateIntegrationDeploymentAction400Schema = z.unknown() -export const updateIntegrationDeploymentAction401Schema = z.unknown(); +export const updateIntegrationDeploymentAction401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const updateIntegrationDeploymentAction403Schema = z.unknown(); +export const updateIntegrationDeploymentAction403Schema = z.unknown() -export const updateIntegrationDeploymentActionMutationResponseSchema = z.lazy( - () => updateIntegrationDeploymentAction202Schema -); +export const updateIntegrationDeploymentActionMutationResponseSchema = z.lazy(() => updateIntegrationDeploymentAction202Schema) export const getDeploymentPathParamsSchema = z.object({ - idOrUrl: z.string().describe('The unique identifier or hostname of the deployment.') -}); + idOrUrl: z.string().describe('The unique identifier or hostname of the deployment.'), +}) export const getDeploymentQueryParamsSchema = z .object({ withGitRepoInfo: z.string().describe('Whether to add in gitRepo information.').optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description The deployment including only public information\nThe deployment including both public and private information */ -export const getDeployment200Schema = z.unknown(); +export const getDeployment200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const getDeployment400Schema = z.unknown(); +export const getDeployment400Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getDeployment403Schema = z.unknown(); +export const getDeployment403Schema = z.unknown() /** * @description The deployment was not found */ -export const getDeployment404Schema = z.unknown(); +export const getDeployment404Schema = z.unknown() -export const getDeploymentQueryResponseSchema = z.lazy(() => getDeployment200Schema); +export const getDeploymentQueryResponseSchema = z.lazy(() => getDeployment200Schema) export const createDeploymentQueryParamsSchema = z .object({ - forceNew: z - .enum(['0', '1']) - .describe('Forces a new deployment even if there is a previous similar deployment') - .optional(), + forceNew: z.enum(['0', '1']).describe('Forces a new deployment even if there is a previous similar deployment').optional(), skipAutoDetectionConfirmation: z .enum(['0', '1']) .describe('Allows to skip framework detection so the API would not fail to ask for confirmation') .optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description The successfully created deployment */ -export const createDeployment200Schema = z.unknown(); +export const createDeployment200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const createDeployment400Schema = z.unknown(); +export const createDeployment400Schema = z.unknown() -export const createDeployment401Schema = z.unknown(); +export const createDeployment401Schema = z.unknown() /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated\nPro customers are allowed to deploy Serverless Functions to up to `proMaxRegions` regions, or if the project was created before the limit was introduced.\nDeploying to Serverless Functions to multiple regions requires a plan update */ -export const createDeployment402Schema = z.unknown(); +export const createDeployment402Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const createDeployment403Schema = z.unknown(); +export const createDeployment403Schema = z.unknown() -export const createDeployment404Schema = z.unknown(); +export const createDeployment404Schema = z.unknown() /** * @description The deployment project is being transferred */ -export const createDeployment409Schema = z.unknown(); +export const createDeployment409Schema = z.unknown() -export const createDeployment500Schema = z.unknown(); +export const createDeployment500Schema = z.unknown() -export const createDeploymentMutationResponseSchema = z.lazy(() => createDeployment200Schema); +export const createDeploymentMutationResponseSchema = z.lazy(() => createDeployment200Schema) export const cancelDeploymentPathParamsSchema = z.object({ - id: z.string().describe('The unique identifier of the deployment.') -}); + id: z.string().describe('The unique identifier of the deployment.'), +}) export const cancelDeploymentQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const cancelDeployment200Schema = z.unknown(); +export const cancelDeployment200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const cancelDeployment400Schema = z.unknown(); +export const cancelDeployment400Schema = z.unknown() -export const cancelDeployment401Schema = z.unknown(); +export const cancelDeployment401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const cancelDeployment403Schema = z.unknown(); +export const cancelDeployment403Schema = z.unknown() -export const cancelDeployment404Schema = z.unknown(); +export const cancelDeployment404Schema = z.unknown() -export const cancelDeploymentMutationResponseSchema = z.lazy(() => cancelDeployment200Schema); +export const cancelDeploymentMutationResponseSchema = z.lazy(() => cancelDeployment200Schema) export const buyDomainQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const buyDomain201Schema = z.unknown(); +export const buyDomain201Schema = z.unknown() -export const buyDomain202Schema = z.unknown(); +export const buyDomain202Schema = z.unknown() /** * @description One of the provided values in the request body is invalid. */ -export const buyDomain400Schema = z.unknown(); +export const buyDomain400Schema = z.unknown() -export const buyDomain401Schema = z.unknown(); +export const buyDomain401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const buyDomain403Schema = z.unknown(); +export const buyDomain403Schema = z.unknown() + +export const buyDomain409Schema = z.unknown() -export const buyDomain409Schema = z.unknown(); +export const buyDomain429Schema = z.unknown() -export const buyDomain429Schema = z.unknown(); +export const buyDomain500Schema = z.unknown() -export const buyDomainMutationResponseSchema = z.union([ - z.lazy(() => buyDomain201Schema), - z.lazy(() => buyDomain202Schema) -]); +export const buyDomainMutationResponseSchema = z.union([z.lazy(() => buyDomain201Schema), z.lazy(() => buyDomain202Schema)]) export const checkDomainPriceQueryParamsSchema = z.object({ name: z.string().describe('The name of the domain for which the price needs to be checked.'), - type: z - .enum(['new', 'renewal', 'transfer', 'redemption']) - .describe('In which status of the domain the price needs to be checked.') - .optional(), + type: z.enum(['new', 'renewal', 'transfer', 'redemption']).describe('In which status of the domain the price needs to be checked.').optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() -}); + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), +}) /** * @description Successful response which returns the price of the domain and the period. */ -export const checkDomainPrice200Schema = z.unknown(); +export const checkDomainPrice200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const checkDomainPrice400Schema = z.unknown(); +export const checkDomainPrice400Schema = z.unknown() -export const checkDomainPrice401Schema = z.unknown(); +export const checkDomainPrice401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const checkDomainPrice403Schema = z.unknown(); +export const checkDomainPrice403Schema = z.unknown() + +export const checkDomainPrice500Schema = z.unknown() -export const checkDomainPriceQueryResponseSchema = z.lazy(() => checkDomainPrice200Schema); +export const checkDomainPriceQueryResponseSchema = z.lazy(() => checkDomainPrice200Schema) export const checkDomainStatusQueryParamsSchema = z.object({ name: z.string().describe('The name of the domain for which we would like to check the status.'), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() -}); + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), +}) /** * @description Successful response checking if a Domain\'s name is available. */ -export const checkDomainStatus200Schema = z.unknown(); +export const checkDomainStatus200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const checkDomainStatus400Schema = z.unknown(); +export const checkDomainStatus400Schema = z.unknown() -export const checkDomainStatus401Schema = z.unknown(); +export const checkDomainStatus401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const checkDomainStatus403Schema = z.unknown(); +export const checkDomainStatus403Schema = z.unknown() -export const checkDomainStatus408Schema = z.unknown(); +export const checkDomainStatus408Schema = z.unknown() -export const checkDomainStatus500Schema = z.unknown(); +export const checkDomainStatus500Schema = z.unknown() -export const checkDomainStatusQueryResponseSchema = z.lazy(() => checkDomainStatus200Schema); +export const checkDomainStatusQueryResponseSchema = z.lazy(() => checkDomainStatus200Schema) export const getRecordsPathParamsSchema = z.object({ - domain: z.string() -}); + domain: z.string(), +}) export const getRecordsQueryParamsSchema = z .object({ @@ -4678,229 +4223,231 @@ export const getRecordsQueryParamsSchema = z since: z.string().describe('Get records created after this JavaScript timestamp.').optional(), until: z.string().describe('Get records created before this JavaScript timestamp.').optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description Successful response retrieving a list of paginated DNS records. */ -export const getRecords200Schema = z.unknown(); +export const getRecords200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const getRecords400Schema = z.unknown(); +export const getRecords400Schema = z.unknown() -export const getRecords401Schema = z.unknown(); +export const getRecords401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getRecords403Schema = z.unknown(); +export const getRecords403Schema = z.unknown() -export const getRecords404Schema = z.unknown(); +export const getRecords404Schema = z.unknown() -export const getRecordsQueryResponseSchema = z.lazy(() => getRecords200Schema); +export const getRecordsQueryResponseSchema = z.lazy(() => getRecords200Schema) export const createRecordPathParamsSchema = z.object({ - domain: z.string().describe('The domain used to create the DNS record.') -}); + domain: z.string().describe('The domain used to create the DNS record.'), +}) export const createRecordQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description Successful response showing the uid of the newly created DNS record. */ -export const createRecord200Schema = z.unknown(); +export const createRecord200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const createRecord400Schema = z.unknown(); +export const createRecord400Schema = z.unknown() -export const createRecord401Schema = z.unknown(); +export const createRecord401Schema = z.unknown() /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export const createRecord402Schema = z.unknown(); +export const createRecord402Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const createRecord403Schema = z.unknown(); +export const createRecord403Schema = z.unknown() -export const createRecord404Schema = z.unknown(); +export const createRecord404Schema = z.unknown() -export const createRecord409Schema = z.unknown(); +export const createRecord409Schema = z.unknown() -export const createRecordMutationResponseSchema = z.lazy(() => createRecord200Schema); +export const createRecordMutationResponseSchema = z.lazy(() => createRecord200Schema) export const updateRecordPathParamsSchema = z.object({ - recordId: z.string().describe('The id of the DNS record') -}); + recordId: z.string().describe('The id of the DNS record'), +}) export const updateRecordQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const updateRecord200Schema = z.unknown(); +export const updateRecord200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const updateRecord400Schema = z.unknown(); +export const updateRecord400Schema = z.unknown() -export const updateRecord401Schema = z.unknown(); +export const updateRecord401Schema = z.unknown() /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export const updateRecord402Schema = z.unknown(); +export const updateRecord402Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const updateRecord403Schema = z.unknown(); +export const updateRecord403Schema = z.unknown() -export const updateRecord404Schema = z.unknown(); +export const updateRecord404Schema = z.unknown() -export const updateRecord409Schema = z.unknown(); +export const updateRecord409Schema = z.unknown() -export const updateRecordMutationResponseSchema = z.lazy(() => updateRecord200Schema); +export const updateRecordMutationResponseSchema = z.lazy(() => updateRecord200Schema) export const removeRecordPathParamsSchema = z.object({ domain: z.string(), - recordId: z.string() -}); + recordId: z.string(), +}) export const removeRecordQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description Successful response by removing the specified DNS record. */ -export const removeRecord200Schema = z.unknown(); +export const removeRecord200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const removeRecord400Schema = z.unknown(); +export const removeRecord400Schema = z.unknown() -export const removeRecord401Schema = z.unknown(); +export const removeRecord401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const removeRecord403Schema = z.unknown(); +export const removeRecord403Schema = z.unknown() -export const removeRecord404Schema = z.unknown(); +export const removeRecord404Schema = z.unknown() -export const removeRecordMutationResponseSchema = z.lazy(() => removeRecord200Schema); +export const removeRecordMutationResponseSchema = z.lazy(() => removeRecord200Schema) export const getDomainTransferPathParamsSchema = z.object({ - domain: z.string() -}); + domain: z.string(), +}) export const getDomainTransferQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const getDomainTransfer200Schema = z.unknown(); +export const getDomainTransfer200Schema = z.unknown() -export const getDomainTransfer400Schema = z.unknown(); +export const getDomainTransfer400Schema = z.unknown() -export const getDomainTransfer401Schema = z.unknown(); +export const getDomainTransfer401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getDomainTransfer403Schema = z.unknown(); +export const getDomainTransfer403Schema = z.unknown() -export const getDomainTransferQueryResponseSchema = z.lazy(() => getDomainTransfer200Schema); +export const getDomainTransferQueryResponseSchema = z.lazy(() => getDomainTransfer200Schema) export const getDomainConfigPathParamsSchema = z.object({ - domain: z.string().describe('The name of the domain.') -}); + domain: z.string().describe('The name of the domain.'), +}) export const getDomainConfigQueryParamsSchema = z .object({ + projectIdOrName: z + .string() + .describe('The project id or name that will be associated with the domain. Use this when the domain is not yet associated with a project.') + .optional(), strict: z .enum(['true', 'false']) .describe( - "When true, the response will only include the nameservers assigned directly to the specified domain. When false and there are no nameservers assigned directly to the specified domain, the response will include the nameservers of the domain's parent zone." + "When true, the response will only include the nameservers assigned directly to the specified domain. When false and there are no nameservers assigned directly to the specified domain, the response will include the nameservers of the domain's parent zone.", ) .optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const getDomainConfig200Schema = z.unknown(); +export const getDomainConfig200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const getDomainConfig400Schema = z.unknown(); +export const getDomainConfig400Schema = z.unknown() -export const getDomainConfig401Schema = z.unknown(); +export const getDomainConfig401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getDomainConfig403Schema = z.unknown(); +export const getDomainConfig403Schema = z.unknown() -export const getDomainConfig500Schema = z.unknown(); - -export const getDomainConfigQueryResponseSchema = z.lazy(() => getDomainConfig200Schema); +export const getDomainConfigQueryResponseSchema = z.lazy(() => getDomainConfig200Schema) export const getDomainPathParamsSchema = z.object({ - domain: z.string().describe('The name of the domain.') -}); + domain: z.string().describe('The name of the domain.'), +}) export const getDomainQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description Successful response retrieving an information for a specific domains. */ -export const getDomain200Schema = z.unknown(); +export const getDomain200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const getDomain400Schema = z.unknown(); +export const getDomain400Schema = z.unknown() -export const getDomain401Schema = z.unknown(); +export const getDomain401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getDomain403Schema = z.unknown(); +export const getDomain403Schema = z.unknown() -export const getDomain404Schema = z.unknown(); +export const getDomain404Schema = z.unknown() -export const getDomainQueryResponseSchema = z.lazy(() => getDomain200Schema); +export const getDomainQueryResponseSchema = z.lazy(() => getDomain200Schema) export const getDomainsQueryParamsSchema = z .object({ @@ -4908,651 +4455,654 @@ export const getDomainsQueryParamsSchema = z since: z.coerce.number().describe('Get domains created after this JavaScript timestamp.').optional(), until: z.coerce.number().describe('Get domains created before this JavaScript timestamp.').optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description Successful response retrieving a list of domains. */ -export const getDomains200Schema = z.unknown(); +export const getDomains200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const getDomains400Schema = z.unknown(); +export const getDomains400Schema = z.unknown() -export const getDomains401Schema = z.unknown(); +export const getDomains401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getDomains403Schema = z.unknown(); +export const getDomains403Schema = z.unknown() -export const getDomains409Schema = z.unknown(); +export const getDomains409Schema = z.unknown() -export const getDomainsQueryResponseSchema = z.lazy(() => getDomains200Schema); +export const getDomainsQueryResponseSchema = z.lazy(() => getDomains200Schema) export const createOrTransferDomainQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const createOrTransferDomain200Schema = z.unknown(); +export const createOrTransferDomain200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid. */ -export const createOrTransferDomain400Schema = z.unknown(); +export const createOrTransferDomain400Schema = z.unknown() -export const createOrTransferDomain401Schema = z.unknown(); +export const createOrTransferDomain401Schema = z.unknown() /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export const createOrTransferDomain402Schema = z.unknown(); +export const createOrTransferDomain402Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const createOrTransferDomain403Schema = z.unknown(); +export const createOrTransferDomain403Schema = z.unknown() -export const createOrTransferDomain404Schema = z.unknown(); +export const createOrTransferDomain404Schema = z.unknown() /** * @description The domain is not allowed to be used */ -export const createOrTransferDomain409Schema = z.unknown(); +export const createOrTransferDomain409Schema = z.unknown() -export const createOrTransferDomain500Schema = z.unknown(); +export const createOrTransferDomain500Schema = z.unknown() -export const createOrTransferDomainMutationResponseSchema = z.lazy(() => createOrTransferDomain200Schema); +export const createOrTransferDomainMutationResponseSchema = z.lazy(() => createOrTransferDomain200Schema) export const patchDomainPathParamsSchema = z.object({ - domain: z.string() -}); + domain: z.string(), +}) export const patchDomainQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const patchDomain200Schema = z.unknown(); +export const patchDomain200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const patchDomain400Schema = z.unknown(); +export const patchDomain400Schema = z.unknown() -export const patchDomain401Schema = z.unknown(); +export const patchDomain401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const patchDomain403Schema = z.unknown(); +export const patchDomain403Schema = z.unknown() -export const patchDomain404Schema = z.unknown(); +export const patchDomain404Schema = z.unknown() -export const patchDomain409Schema = z.unknown(); +export const patchDomain409Schema = z.unknown() -export const patchDomainMutationResponseSchema = z.lazy(() => patchDomain200Schema); +export const patchDomain500Schema = z.unknown() + +export const patchDomainMutationResponseSchema = z.lazy(() => patchDomain200Schema) export const deleteDomainPathParamsSchema = z.object({ - domain: z.string().describe('The name of the domain.') -}); + domain: z.string().describe('The name of the domain.'), +}) export const deleteDomainQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description Successful response removing a domain. */ -export const deleteDomain200Schema = z.unknown(); +export const deleteDomain200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const deleteDomain400Schema = z.unknown(); +export const deleteDomain400Schema = z.unknown() -export const deleteDomain401Schema = z.unknown(); +export const deleteDomain401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const deleteDomain403Schema = z.unknown(); +export const deleteDomain403Schema = z.unknown() -export const deleteDomain404Schema = z.unknown(); +export const deleteDomain404Schema = z.unknown() -export const deleteDomain409Schema = z.unknown(); +export const deleteDomain409Schema = z.unknown() -export const deleteDomainMutationResponseSchema = z.lazy(() => deleteDomain200Schema); +export const deleteDomainMutationResponseSchema = z.lazy(() => deleteDomain200Schema) export const getEdgeConfigsQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description List of all edge configs. */ -export const getEdgeConfigs200Schema = z.unknown(); +export const getEdgeConfigs200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const getEdgeConfigs400Schema = z.unknown(); +export const getEdgeConfigs400Schema = z.unknown() -export const getEdgeConfigs401Schema = z.unknown(); +export const getEdgeConfigs401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getEdgeConfigs403Schema = z.unknown(); +export const getEdgeConfigs403Schema = z.unknown() -export const getEdgeConfigsQueryResponseSchema = z.lazy(() => getEdgeConfigs200Schema); +export const getEdgeConfigsQueryResponseSchema = z.lazy(() => getEdgeConfigs200Schema) export const createEdgeConfigQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const createEdgeConfig201Schema = z.unknown(); +export const createEdgeConfig201Schema = z.unknown() /** * @description One of the provided values in the request body is invalid. */ -export const createEdgeConfig400Schema = z.unknown(); +export const createEdgeConfig400Schema = z.unknown() -export const createEdgeConfig401Schema = z.unknown(); +export const createEdgeConfig401Schema = z.unknown() /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export const createEdgeConfig402Schema = z.unknown(); +export const createEdgeConfig402Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const createEdgeConfig403Schema = z.unknown(); +export const createEdgeConfig403Schema = z.unknown() -export const createEdgeConfigMutationResponseSchema = z.lazy(() => createEdgeConfig201Schema); +export const createEdgeConfigMutationResponseSchema = z.lazy(() => createEdgeConfig201Schema) export const getEdgeConfigPathParamsSchema = z.object({ - edgeConfigId: z.string() -}); + edgeConfigId: z.string(), +}) export const getEdgeConfigQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description The EdgeConfig. */ -export const getEdgeConfig200Schema = z.unknown(); +export const getEdgeConfig200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const getEdgeConfig400Schema = z.unknown(); +export const getEdgeConfig400Schema = z.unknown() -export const getEdgeConfig401Schema = z.unknown(); +export const getEdgeConfig401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getEdgeConfig403Schema = z.unknown(); +export const getEdgeConfig403Schema = z.unknown() -export const getEdgeConfig404Schema = z.unknown(); +export const getEdgeConfig404Schema = z.unknown() -export const getEdgeConfigQueryResponseSchema = z.lazy(() => getEdgeConfig200Schema); +export const getEdgeConfigQueryResponseSchema = z.lazy(() => getEdgeConfig200Schema) export const updateEdgeConfigPathParamsSchema = z.object({ - edgeConfigId: z.string() -}); + edgeConfigId: z.string(), +}) export const updateEdgeConfigQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const updateEdgeConfig200Schema = z.unknown(); +export const updateEdgeConfig200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const updateEdgeConfig400Schema = z.unknown(); +export const updateEdgeConfig400Schema = z.unknown() -export const updateEdgeConfig401Schema = z.unknown(); +export const updateEdgeConfig401Schema = z.unknown() /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export const updateEdgeConfig402Schema = z.unknown(); +export const updateEdgeConfig402Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const updateEdgeConfig403Schema = z.unknown(); +export const updateEdgeConfig403Schema = z.unknown() -export const updateEdgeConfig404Schema = z.unknown(); +export const updateEdgeConfig404Schema = z.unknown() -export const updateEdgeConfigMutationResponseSchema = z.lazy(() => updateEdgeConfig200Schema); +export const updateEdgeConfigMutationResponseSchema = z.lazy(() => updateEdgeConfig200Schema) export const deleteEdgeConfigPathParamsSchema = z.object({ - edgeConfigId: z.string() -}); + edgeConfigId: z.string(), +}) export const deleteEdgeConfigQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const deleteEdgeConfig204Schema = z.unknown(); +export const deleteEdgeConfig204Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const deleteEdgeConfig400Schema = z.unknown(); +export const deleteEdgeConfig400Schema = z.unknown() -export const deleteEdgeConfig401Schema = z.unknown(); +export const deleteEdgeConfig401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const deleteEdgeConfig403Schema = z.unknown(); +export const deleteEdgeConfig403Schema = z.unknown() -export const deleteEdgeConfig404Schema = z.unknown(); +export const deleteEdgeConfig404Schema = z.unknown() -export const deleteEdgeConfigMutationResponseSchema = z.lazy(() => deleteEdgeConfig204Schema); +export const deleteEdgeConfigMutationResponseSchema = z.lazy(() => deleteEdgeConfig204Schema) export const getEdgeConfigItemsPathParamsSchema = z.object({ - edgeConfigId: z.string().regex(/^ecfg_/) -}); + edgeConfigId: z.string().regex(/^ecfg_/), +}) export const getEdgeConfigItemsQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description List of all Edge Config items. */ -export const getEdgeConfigItems200Schema = z.unknown(); +export const getEdgeConfigItems200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const getEdgeConfigItems400Schema = z.unknown(); +export const getEdgeConfigItems400Schema = z.unknown() -export const getEdgeConfigItems401Schema = z.unknown(); +export const getEdgeConfigItems401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getEdgeConfigItems403Schema = z.unknown(); +export const getEdgeConfigItems403Schema = z.unknown() -export const getEdgeConfigItems404Schema = z.unknown(); +export const getEdgeConfigItems404Schema = z.unknown() -export const getEdgeConfigItemsQueryResponseSchema = z.lazy(() => getEdgeConfigItems200Schema); +export const getEdgeConfigItemsQueryResponseSchema = z.lazy(() => getEdgeConfigItems200Schema) export const patchEdgeConfigItemsPathParamsSchema = z.object({ - edgeConfigId: z.string().regex(/^ecfg_/) -}); + edgeConfigId: z.string().regex(/^ecfg_/), +}) export const patchEdgeConfigItemsQueryParamsSchema = z .object({ - dryRun: z.string().optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const patchEdgeConfigItems200Schema = z.unknown(); +export const patchEdgeConfigItems200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const patchEdgeConfigItems400Schema = z.unknown(); +export const patchEdgeConfigItems400Schema = z.unknown() -export const patchEdgeConfigItems401Schema = z.unknown(); +export const patchEdgeConfigItems401Schema = z.unknown() /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export const patchEdgeConfigItems402Schema = z.unknown(); +export const patchEdgeConfigItems402Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const patchEdgeConfigItems403Schema = z.unknown(); +export const patchEdgeConfigItems403Schema = z.unknown() + +export const patchEdgeConfigItems404Schema = z.unknown() -export const patchEdgeConfigItems404Schema = z.unknown(); +export const patchEdgeConfigItems409Schema = z.unknown() -export const patchEdgeConfigItems409Schema = z.unknown(); +export const patchEdgeConfigItems412Schema = z.unknown() -export const patchEdgeConfigItemsMutationResponseSchema = z.lazy(() => patchEdgeConfigItems200Schema); +export const patchEdgeConfigItemsMutationResponseSchema = z.lazy(() => patchEdgeConfigItems200Schema) export const getEdgeConfigSchemaPathParamsSchema = z.object({ - edgeConfigId: z.string() -}); + edgeConfigId: z.string(), +}) export const getEdgeConfigSchemaQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description The EdgeConfig. */ -export const getEdgeConfigSchema200Schema = z.unknown(); +export const getEdgeConfigSchema200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const getEdgeConfigSchema400Schema = z.unknown(); +export const getEdgeConfigSchema400Schema = z.unknown() -export const getEdgeConfigSchema401Schema = z.unknown(); +export const getEdgeConfigSchema401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getEdgeConfigSchema403Schema = z.unknown(); +export const getEdgeConfigSchema403Schema = z.unknown() -export const getEdgeConfigSchema404Schema = z.unknown(); +export const getEdgeConfigSchema404Schema = z.unknown() -export const getEdgeConfigSchemaQueryResponseSchema = z.lazy(() => getEdgeConfigSchema200Schema); +export const getEdgeConfigSchemaQueryResponseSchema = z.lazy(() => getEdgeConfigSchema200Schema) export const patchEdgeConfigSchemaPathParamsSchema = z.object({ - edgeConfigId: z.string() -}); + edgeConfigId: z.string(), +}) export const patchEdgeConfigSchemaQueryParamsSchema = z .object({ dryRun: z.string().optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const patchEdgeConfigSchema200Schema = z.unknown(); +export const patchEdgeConfigSchema200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const patchEdgeConfigSchema400Schema = z.unknown(); +export const patchEdgeConfigSchema400Schema = z.unknown() -export const patchEdgeConfigSchema401Schema = z.unknown(); +export const patchEdgeConfigSchema401Schema = z.unknown() /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export const patchEdgeConfigSchema402Schema = z.unknown(); +export const patchEdgeConfigSchema402Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const patchEdgeConfigSchema403Schema = z.unknown(); +export const patchEdgeConfigSchema403Schema = z.unknown() -export const patchEdgeConfigSchema404Schema = z.unknown(); +export const patchEdgeConfigSchema404Schema = z.unknown() -export const patchEdgeConfigSchemaMutationResponseSchema = z.lazy(() => patchEdgeConfigSchema200Schema); +export const patchEdgeConfigSchemaMutationResponseSchema = z.lazy(() => patchEdgeConfigSchema200Schema) export const deleteEdgeConfigSchemaPathParamsSchema = z.object({ - edgeConfigId: z.string() -}); + edgeConfigId: z.string(), +}) export const deleteEdgeConfigSchemaQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const deleteEdgeConfigSchema204Schema = z.unknown(); +export const deleteEdgeConfigSchema204Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const deleteEdgeConfigSchema400Schema = z.unknown(); +export const deleteEdgeConfigSchema400Schema = z.unknown() -export const deleteEdgeConfigSchema401Schema = z.unknown(); +export const deleteEdgeConfigSchema401Schema = z.unknown() /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export const deleteEdgeConfigSchema402Schema = z.unknown(); +export const deleteEdgeConfigSchema402Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const deleteEdgeConfigSchema403Schema = z.unknown(); +export const deleteEdgeConfigSchema403Schema = z.unknown() -export const deleteEdgeConfigSchema404Schema = z.unknown(); +export const deleteEdgeConfigSchema404Schema = z.unknown() -export const deleteEdgeConfigSchemaMutationResponseSchema = z.lazy(() => deleteEdgeConfigSchema204Schema); +export const deleteEdgeConfigSchemaMutationResponseSchema = z.lazy(() => deleteEdgeConfigSchema204Schema) export const getEdgeConfigItemPathParamsSchema = z.object({ edgeConfigId: z.string().regex(/^ecfg_/), - edgeConfigItemKey: z.string() -}); + edgeConfigItemKey: z.string(), +}) export const getEdgeConfigItemQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description The EdgeConfig. */ -export const getEdgeConfigItem200Schema = z.unknown(); +export const getEdgeConfigItem200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const getEdgeConfigItem400Schema = z.unknown(); +export const getEdgeConfigItem400Schema = z.unknown() -export const getEdgeConfigItem401Schema = z.unknown(); +export const getEdgeConfigItem401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getEdgeConfigItem403Schema = z.unknown(); +export const getEdgeConfigItem403Schema = z.unknown() -export const getEdgeConfigItem404Schema = z.unknown(); +export const getEdgeConfigItem404Schema = z.unknown() -export const getEdgeConfigItemQueryResponseSchema = z.lazy(() => getEdgeConfigItem200Schema); +export const getEdgeConfigItemQueryResponseSchema = z.lazy(() => getEdgeConfigItem200Schema) export const getEdgeConfigTokensPathParamsSchema = z.object({ - edgeConfigId: z.string() -}); + edgeConfigId: z.string(), +}) export const getEdgeConfigTokensQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description The EdgeConfig. */ -export const getEdgeConfigTokens200Schema = z.unknown(); +export const getEdgeConfigTokens200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const getEdgeConfigTokens400Schema = z.unknown(); +export const getEdgeConfigTokens400Schema = z.unknown() -export const getEdgeConfigTokens401Schema = z.unknown(); +export const getEdgeConfigTokens401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getEdgeConfigTokens403Schema = z.unknown(); +export const getEdgeConfigTokens403Schema = z.unknown() -export const getEdgeConfigTokens404Schema = z.unknown(); +export const getEdgeConfigTokens404Schema = z.unknown() -export const getEdgeConfigTokensQueryResponseSchema = z.lazy(() => getEdgeConfigTokens200Schema); +export const getEdgeConfigTokensQueryResponseSchema = z.lazy(() => getEdgeConfigTokens200Schema) export const deleteEdgeConfigTokensPathParamsSchema = z.object({ - edgeConfigId: z.string() -}); + edgeConfigId: z.string(), +}) export const deleteEdgeConfigTokensQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const deleteEdgeConfigTokens204Schema = z.unknown(); +export const deleteEdgeConfigTokens204Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const deleteEdgeConfigTokens400Schema = z.unknown(); +export const deleteEdgeConfigTokens400Schema = z.unknown() -export const deleteEdgeConfigTokens401Schema = z.unknown(); +export const deleteEdgeConfigTokens401Schema = z.unknown() /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export const deleteEdgeConfigTokens402Schema = z.unknown(); +export const deleteEdgeConfigTokens402Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const deleteEdgeConfigTokens403Schema = z.unknown(); +export const deleteEdgeConfigTokens403Schema = z.unknown() -export const deleteEdgeConfigTokens404Schema = z.unknown(); +export const deleteEdgeConfigTokens404Schema = z.unknown() -export const deleteEdgeConfigTokensMutationResponseSchema = z.lazy(() => deleteEdgeConfigTokens204Schema); +export const deleteEdgeConfigTokensMutationResponseSchema = z.lazy(() => deleteEdgeConfigTokens204Schema) export const getEdgeConfigTokenPathParamsSchema = z.object({ edgeConfigId: z.string(), - token: z.string() -}); + token: z.string(), +}) export const getEdgeConfigTokenQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description The EdgeConfig. */ -export const getEdgeConfigToken200Schema = z.unknown(); +export const getEdgeConfigToken200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const getEdgeConfigToken400Schema = z.unknown(); +export const getEdgeConfigToken400Schema = z.unknown() -export const getEdgeConfigToken401Schema = z.unknown(); +export const getEdgeConfigToken401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getEdgeConfigToken403Schema = z.unknown(); +export const getEdgeConfigToken403Schema = z.unknown() -export const getEdgeConfigToken404Schema = z.unknown(); +export const getEdgeConfigToken404Schema = z.unknown() -export const getEdgeConfigTokenQueryResponseSchema = z.lazy(() => getEdgeConfigToken200Schema); +export const getEdgeConfigTokenQueryResponseSchema = z.lazy(() => getEdgeConfigToken200Schema) export const createEdgeConfigTokenPathParamsSchema = z.object({ - edgeConfigId: z.string() -}); + edgeConfigId: z.string(), +}) export const createEdgeConfigTokenQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const createEdgeConfigToken201Schema = z.unknown(); +export const createEdgeConfigToken201Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const createEdgeConfigToken400Schema = z.unknown(); +export const createEdgeConfigToken400Schema = z.unknown() -export const createEdgeConfigToken401Schema = z.unknown(); +export const createEdgeConfigToken401Schema = z.unknown() /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export const createEdgeConfigToken402Schema = z.unknown(); +export const createEdgeConfigToken402Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const createEdgeConfigToken403Schema = z.unknown(); +export const createEdgeConfigToken403Schema = z.unknown() -export const createEdgeConfigToken404Schema = z.unknown(); +export const createEdgeConfigToken404Schema = z.unknown() -export const createEdgeConfigTokenMutationResponseSchema = z.lazy(() => createEdgeConfigToken201Schema); +export const createEdgeConfigTokenMutationResponseSchema = z.lazy(() => createEdgeConfigToken201Schema) export const getEdgeConfigBackupPathParamsSchema = z.object({ edgeConfigId: z.string(), - edgeConfigBackupVersionId: z.string() -}); + edgeConfigBackupVersionId: z.string(), +}) export const getEdgeConfigBackupQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const getEdgeConfigBackup200Schema = z.unknown(); +export const getEdgeConfigBackup200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const getEdgeConfigBackup400Schema = z.unknown(); +export const getEdgeConfigBackup400Schema = z.unknown() -export const getEdgeConfigBackup401Schema = z.unknown(); +export const getEdgeConfigBackup401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getEdgeConfigBackup403Schema = z.unknown(); +export const getEdgeConfigBackup403Schema = z.unknown() -export const getEdgeConfigBackup404Schema = z.unknown(); +export const getEdgeConfigBackup404Schema = z.unknown() -export const getEdgeConfigBackupQueryResponseSchema = z.lazy(() => getEdgeConfigBackup200Schema); +export const getEdgeConfigBackupQueryResponseSchema = z.lazy(() => getEdgeConfigBackup200Schema) export const getEdgeConfigBackupsPathParamsSchema = z.object({ - edgeConfigId: z.string() -}); + edgeConfigId: z.string(), +}) export const getEdgeConfigBackupsQueryParamsSchema = z .object({ @@ -5560,27 +5110,27 @@ export const getEdgeConfigBackupsQueryParamsSchema = z limit: z.coerce.number().min(0).max(50).optional(), metadata: z.string().optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const getEdgeConfigBackups200Schema = z.unknown(); +export const getEdgeConfigBackups200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const getEdgeConfigBackups400Schema = z.unknown(); +export const getEdgeConfigBackups400Schema = z.unknown() -export const getEdgeConfigBackups401Schema = z.unknown(); +export const getEdgeConfigBackups401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getEdgeConfigBackups403Schema = z.unknown(); +export const getEdgeConfigBackups403Schema = z.unknown() -export const getEdgeConfigBackups404Schema = z.unknown(); +export const getEdgeConfigBackups404Schema = z.unknown() -export const getEdgeConfigBackupsQueryResponseSchema = z.lazy(() => getEdgeConfigBackups200Schema); +export const getEdgeConfigBackupsQueryResponseSchema = z.lazy(() => getEdgeConfigBackups200Schema) export const listUserEventsQueryParamsSchema = z .object({ @@ -5588,816 +5138,853 @@ export const listUserEventsQueryParamsSchema = z since: z.string().describe('Timestamp to only include items created since then.').optional(), until: z.string().describe('Timestamp to only include items created until then.').optional(), types: z.string().describe('Comma-delimited list of event \\"types\\" to filter the results by.').optional(), - userId: z - .string() - .describe( - 'Deprecated. Use `principalId` instead. If `principalId` and `userId` both exist, `principalId` will be used.' - ) - .optional(), + userId: z.string().describe('Deprecated. Use `principalId` instead. If `principalId` and `userId` both exist, `principalId` will be used.').optional(), principalId: z .string() - .describe( - 'When retrieving events for a Team, the `principalId` parameter may be specified to filter events generated by a specific principal.' - ) + .describe('When retrieving events for a Team, the `principalId` parameter may be specified to filter events generated by a specific principal.') .optional(), projectIds: z.string().describe('Comma-delimited list of project IDs to filter the results by.').optional(), - withPayload: z - .string() - .describe('When set to `true`, the response will include the `payload` field for each event.') - .optional(), + withPayload: z.string().describe('When set to `true`, the response will include the `payload` field for each event.').optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description Successful response. */ -export const listUserEvents200Schema = z.unknown(); +export const listUserEvents200Schema = z.unknown() + +/** + * @description One of the provided values in the request query is invalid. + */ +export const listUserEvents400Schema = z.unknown() + +export const listUserEvents401Schema = z.unknown() + +/** + * @description You do not have permission to access this resource. + */ +export const listUserEvents403Schema = z.unknown() + +export const listUserEventsQueryResponseSchema = z.lazy(() => listUserEvents200Schema) + +export const GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansPathParamsSchema = z.object({ + integrationIdOrSlug: z.string(), + productIdOrSlug: z.string(), +}) + +export const GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansQueryParamsSchema = z + .object({ + metadata: z.string().optional(), + }) + .optional() + +export const GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const listUserEvents400Schema = z.unknown(); +export const GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans400Schema = z.unknown() -export const listUserEvents401Schema = z.unknown(); +export const GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const listUserEvents403Schema = z.unknown(); +export const GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans403Schema = z.unknown() + +export const GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans404Schema = z.unknown() -export const listUserEventsQueryResponseSchema = z.lazy(() => listUserEvents200Schema); +export const GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansQueryResponseSchema = z.lazy( + () => GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans200Schema, +) export const getAccountInfoPathParamsSchema = z.object({ - integrationConfigurationId: z.string() -}); + integrationConfigurationId: z.string(), +}) -export const getAccountInfo200Schema = z.unknown(); +export const getAccountInfo200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const getAccountInfo400Schema = z.unknown(); +export const getAccountInfo400Schema = z.unknown() -export const getAccountInfo401Schema = z.unknown(); +export const getAccountInfo401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getAccountInfo403Schema = z.unknown(); +export const getAccountInfo403Schema = z.unknown() -export const getAccountInfo404Schema = z.unknown(); +export const getAccountInfo404Schema = z.unknown() -export const getAccountInfoQueryResponseSchema = z.lazy(() => getAccountInfo200Schema); +export const getAccountInfoQueryResponseSchema = z.lazy(() => getAccountInfo200Schema) export const getMemberPathParamsSchema = z.object({ integrationConfigurationId: z.string(), - memberId: z.string() -}); + memberId: z.string(), +}) -export const getMember200Schema = z.unknown(); +export const getMember200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const getMember400Schema = z.unknown(); +export const getMember400Schema = z.unknown() -export const getMember401Schema = z.unknown(); +export const getMember401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getMember403Schema = z.unknown(); +export const getMember403Schema = z.unknown() -export const getMember404Schema = z.unknown(); +export const getMember404Schema = z.unknown() -export const getMemberQueryResponseSchema = z.lazy(() => getMember200Schema); +export const getMemberQueryResponseSchema = z.lazy(() => getMember200Schema) export const createEventPathParamsSchema = z.object({ - integrationConfigurationId: z.string() -}); + integrationConfigurationId: z.string(), +}) -export const createEvent201Schema = z.unknown(); +export const createEvent201Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const createEvent400Schema = z.unknown(); +export const createEvent400Schema = z.unknown() -export const createEvent401Schema = z.unknown(); +export const createEvent401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const createEvent403Schema = z.unknown(); +export const createEvent403Schema = z.unknown() -export const createEvent404Schema = z.unknown(); +export const createEvent404Schema = z.unknown() -export const createEventMutationResponseSchema = z.lazy(() => createEvent201Schema); +export const createEventMutationResponseSchema = z.lazy(() => createEvent201Schema) export const getIntegrationResourcesPathParamsSchema = z.object({ - integrationConfigurationId: z.string() -}); + integrationConfigurationId: z.string(), +}) -export const getIntegrationResources200Schema = z.unknown(); +export const getIntegrationResources200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const getIntegrationResources400Schema = z.unknown(); +export const getIntegrationResources400Schema = z.unknown() -export const getIntegrationResources401Schema = z.unknown(); +export const getIntegrationResources401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getIntegrationResources403Schema = z.unknown(); +export const getIntegrationResources403Schema = z.unknown() -export const getIntegrationResources404Schema = z.unknown(); +export const getIntegrationResources404Schema = z.unknown() -export const getIntegrationResourcesQueryResponseSchema = z.lazy(() => getIntegrationResources200Schema); +export const getIntegrationResourcesQueryResponseSchema = z.lazy(() => getIntegrationResources200Schema) export const getIntegrationResourcePathParamsSchema = z.object({ - integrationConfigurationId: z - .string() - .describe('The ID of the integration configuration (installation) the resource belongs to'), - resourceId: z.string().describe('The ID provided by the 3rd party provider for the given resource') -}); + integrationConfigurationId: z.string().describe('The ID of the integration configuration (installation) the resource belongs to'), + resourceId: z.string().describe('The ID provided by the 3rd party provider for the given resource'), +}) -export const getIntegrationResource200Schema = z.unknown(); +export const getIntegrationResource200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const getIntegrationResource400Schema = z.unknown(); +export const getIntegrationResource400Schema = z.unknown() -export const getIntegrationResource401Schema = z.unknown(); +export const getIntegrationResource401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getIntegrationResource403Schema = z.unknown(); +export const getIntegrationResource403Schema = z.unknown() -export const getIntegrationResource404Schema = z.unknown(); +export const getIntegrationResource404Schema = z.unknown() -export const getIntegrationResourceQueryResponseSchema = z.lazy(() => getIntegrationResource200Schema); +export const getIntegrationResourceQueryResponseSchema = z.lazy(() => getIntegrationResource200Schema) export const deleteIntegrationResourcePathParamsSchema = z.object({ integrationConfigurationId: z.string(), - resourceId: z.string() -}); + resourceId: z.string(), +}) -export const deleteIntegrationResource204Schema = z.unknown(); +export const deleteIntegrationResource204Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const deleteIntegrationResource400Schema = z.unknown(); +export const deleteIntegrationResource400Schema = z.unknown() -export const deleteIntegrationResource401Schema = z.unknown(); +export const deleteIntegrationResource401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const deleteIntegrationResource403Schema = z.unknown(); +export const deleteIntegrationResource403Schema = z.unknown() -export const deleteIntegrationResource404Schema = z.unknown(); +export const deleteIntegrationResource404Schema = z.unknown() -export const deleteIntegrationResourceMutationResponseSchema = z.lazy(() => deleteIntegrationResource204Schema); +export const deleteIntegrationResourceMutationResponseSchema = z.lazy(() => deleteIntegrationResource204Schema) export const importResourcePathParamsSchema = z.object({ integrationConfigurationId: z.string(), - resourceId: z.string() -}); + resourceId: z.string(), +}) -export const importResource200Schema = z.unknown(); +export const importResource200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const importResource400Schema = z.unknown(); +export const importResource400Schema = z.unknown() -export const importResource401Schema = z.unknown(); +export const importResource401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const importResource403Schema = z.unknown(); +export const importResource403Schema = z.unknown() -export const importResource404Schema = z.unknown(); +export const importResource404Schema = z.unknown() -export const importResourceMutationResponseSchema = z.lazy(() => importResource200Schema); +export const importResourceMutationResponseSchema = z.lazy(() => importResource200Schema) export const submitBillingDataPathParamsSchema = z.object({ - integrationConfigurationId: z.string() -}); + integrationConfigurationId: z.string(), +}) -export const submitBillingData201Schema = z.unknown(); +export const submitBillingData201Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const submitBillingData400Schema = z.unknown(); +export const submitBillingData400Schema = z.unknown() -export const submitBillingData401Schema = z.unknown(); +export const submitBillingData401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const submitBillingData403Schema = z.unknown(); +export const submitBillingData403Schema = z.unknown() -export const submitBillingData404Schema = z.unknown(); +export const submitBillingData404Schema = z.unknown() -export const submitBillingDataMutationResponseSchema = z.lazy(() => submitBillingData201Schema); +export const submitBillingDataMutationResponseSchema = z.lazy(() => submitBillingData201Schema) export const submitInvoicePathParamsSchema = z.object({ - integrationConfigurationId: z.string() -}); + integrationConfigurationId: z.string(), +}) -export const submitInvoice200Schema = z.unknown(); +export const submitInvoice200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const submitInvoice400Schema = z.unknown(); +export const submitInvoice400Schema = z.unknown() -export const submitInvoice401Schema = z.unknown(); +export const submitInvoice401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const submitInvoice403Schema = z.unknown(); +export const submitInvoice403Schema = z.unknown() -export const submitInvoice404Schema = z.unknown(); +export const submitInvoice404Schema = z.unknown() -export const submitInvoiceMutationResponseSchema = z.lazy(() => submitInvoice200Schema); +export const submitInvoiceMutationResponseSchema = z.lazy(() => submitInvoice200Schema) export const getInvoicePathParamsSchema = z.object({ integrationConfigurationId: z.string(), - invoiceId: z.string() -}); + invoiceId: z.string(), +}) -export const getInvoice200Schema = z.unknown(); +export const getInvoice200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const getInvoice400Schema = z.unknown(); +export const getInvoice400Schema = z.unknown() -export const getInvoice401Schema = z.unknown(); +export const getInvoice401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getInvoice403Schema = z.unknown(); +export const getInvoice403Schema = z.unknown() -export const getInvoice404Schema = z.unknown(); +export const getInvoice404Schema = z.unknown() -export const getInvoiceQueryResponseSchema = z.lazy(() => getInvoice200Schema); +export const getInvoiceQueryResponseSchema = z.lazy(() => getInvoice200Schema) export const updateInvoicePathParamsSchema = z.object({ integrationConfigurationId: z.string(), - invoiceId: z.string() -}); + invoiceId: z.string(), +}) -export const updateInvoice204Schema = z.unknown(); +export const updateInvoice204Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const updateInvoice400Schema = z.unknown(); +export const updateInvoice400Schema = z.unknown() -export const updateInvoice401Schema = z.unknown(); +export const updateInvoice401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const updateInvoice403Schema = z.unknown(); +export const updateInvoice403Schema = z.unknown() -export const updateInvoice404Schema = z.unknown(); +export const updateInvoice404Schema = z.unknown() -export const updateInvoiceMutationResponseSchema = z.lazy(() => updateInvoice204Schema); +export const updateInvoiceMutationResponseSchema = z.lazy(() => updateInvoice204Schema) export const submitPrepaymentBalancesPathParamsSchema = z.object({ - integrationConfigurationId: z.string() -}); + integrationConfigurationId: z.string(), +}) -export const submitPrepaymentBalances201Schema = z.unknown(); +export const submitPrepaymentBalances201Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const submitPrepaymentBalances400Schema = z.unknown(); +export const submitPrepaymentBalances400Schema = z.unknown() -export const submitPrepaymentBalances401Schema = z.unknown(); +export const submitPrepaymentBalances401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const submitPrepaymentBalances403Schema = z.unknown(); +export const submitPrepaymentBalances403Schema = z.unknown() -export const submitPrepaymentBalances404Schema = z.unknown(); +export const submitPrepaymentBalances404Schema = z.unknown() -export const submitPrepaymentBalancesMutationResponseSchema = z.lazy(() => submitPrepaymentBalances201Schema); +export const submitPrepaymentBalancesMutationResponseSchema = z.lazy(() => submitPrepaymentBalances201Schema) export const updateResourceSecretsPathParamsSchema = z.object({ integrationConfigurationId: z.string(), integrationProductIdOrSlug: z.string(), - resourceId: z.string() -}); + resourceId: z.string(), +}) -export const updateResourceSecrets201Schema = z.unknown(); +export const updateResourceSecrets201Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const updateResourceSecrets400Schema = z.unknown(); +export const updateResourceSecrets400Schema = z.unknown() -export const updateResourceSecrets401Schema = z.unknown(); +export const updateResourceSecrets401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const updateResourceSecrets403Schema = z.unknown(); +export const updateResourceSecrets403Schema = z.unknown() -export const updateResourceSecrets404Schema = z.unknown(); +export const updateResourceSecrets404Schema = z.unknown() -export const updateResourceSecretsMutationResponseSchema = z.lazy(() => updateResourceSecrets201Schema); +export const updateResourceSecretsMutationResponseSchema = z.lazy(() => updateResourceSecrets201Schema) export const updateResourceSecretsByIdPathParamsSchema = z.object({ integrationConfigurationId: z.string(), - resourceId: z.string() -}); + resourceId: z.string(), +}) -export const updateResourceSecretsById201Schema = z.unknown(); +export const updateResourceSecretsById201Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const updateResourceSecretsById400Schema = z.unknown(); +export const updateResourceSecretsById400Schema = z.unknown() -export const updateResourceSecretsById401Schema = z.unknown(); +export const updateResourceSecretsById401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const updateResourceSecretsById403Schema = z.unknown(); +export const updateResourceSecretsById403Schema = z.unknown() -export const updateResourceSecretsById404Schema = z.unknown(); +export const updateResourceSecretsById404Schema = z.unknown() -export const updateResourceSecretsById422Schema = z.unknown(); +export const updateResourceSecretsById422Schema = z.unknown() -export const updateResourceSecretsByIdMutationResponseSchema = z.lazy(() => updateResourceSecretsById201Schema); +export const updateResourceSecretsByIdMutationResponseSchema = z.lazy(() => updateResourceSecretsById201Schema) export const getConfigurationsQueryParamsSchema = z.object({ view: z.enum(['account', 'project']), installationType: z.enum(['marketplace', 'external']).optional(), integrationIdOrSlug: z.string().describe('ID of the integration').optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() -}); + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), +}) /** * @description The list of configurations for the authenticated user */ -export const getConfigurations200Schema = z.unknown(); +export const getConfigurations200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const getConfigurations400Schema = z.unknown(); +export const getConfigurations400Schema = z.unknown() -export const getConfigurations401Schema = z.unknown(); +export const getConfigurations401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getConfigurations403Schema = z.unknown(); +export const getConfigurations403Schema = z.unknown() -export const getConfigurationsQueryResponseSchema = z.lazy(() => getConfigurations200Schema); +export const getConfigurationsQueryResponseSchema = z.lazy(() => getConfigurations200Schema) export const getConfigurationPathParamsSchema = z.object({ - id: z.string().describe('ID of the configuration to check') -}); + id: z.string().describe('ID of the configuration to check'), +}) export const getConfigurationQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description The configuration with the provided id */ -export const getConfiguration200Schema = z.unknown(); +export const getConfiguration200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const getConfiguration400Schema = z.unknown(); +export const getConfiguration400Schema = z.unknown() -export const getConfiguration401Schema = z.unknown(); +export const getConfiguration401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getConfiguration403Schema = z.unknown(); +export const getConfiguration403Schema = z.unknown() /** * @description The configuration was not found */ -export const getConfiguration404Schema = z.unknown(); +export const getConfiguration404Schema = z.unknown() -export const getConfigurationQueryResponseSchema = z.lazy(() => getConfiguration200Schema); +export const getConfigurationQueryResponseSchema = z.lazy(() => getConfiguration200Schema) export const deleteConfigurationPathParamsSchema = z.object({ - id: z.string() -}); + id: z.string(), +}) export const deleteConfigurationQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description The configuration was successfully removed */ -export const deleteConfiguration204Schema = z.unknown(); +export const deleteConfiguration204Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const deleteConfiguration400Schema = z.unknown(); +export const deleteConfiguration400Schema = z.unknown() -export const deleteConfiguration401Schema = z.unknown(); +export const deleteConfiguration401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const deleteConfiguration403Schema = z.unknown(); +export const deleteConfiguration403Schema = z.unknown() /** * @description The configuration was not found */ -export const deleteConfiguration404Schema = z.unknown(); +export const deleteConfiguration404Schema = z.unknown() + +export const deleteConfigurationMutationResponseSchema = z.lazy(() => deleteConfiguration204Schema) + +export const getConfigurationProductsPathParamsSchema = z.object({ + id: z.string().describe('ID of the integration configuration'), +}) + +export const getConfigurationProductsQueryParamsSchema = z + .object({ + teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + }) + .optional() + +/** + * @description List of products available for this integration configuration + */ +export const getConfigurationProducts200Schema = z.unknown() + +/** + * @description One of the provided values in the request query is invalid. + */ +export const getConfigurationProducts400Schema = z.unknown() -export const deleteConfigurationMutationResponseSchema = z.lazy(() => deleteConfiguration204Schema); +export const getConfigurationProducts401Schema = z.unknown() -export const exchangeSsoToken200Schema = z.unknown(); +/** + * @description You do not have permission to access this resource. + */ +export const getConfigurationProducts403Schema = z.unknown() + +export const getConfigurationProducts404Schema = z.unknown() + +export const getConfigurationProducts500Schema = z.unknown() + +export const getConfigurationProductsQueryResponseSchema = z.lazy(() => getConfigurationProducts200Schema) + +export const exchangeSsoToken200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid. */ -export const exchangeSsoToken400Schema = z.unknown(); +export const exchangeSsoToken400Schema = z.unknown() -export const exchangeSsoToken404Schema = z.unknown(); +export const exchangeSsoToken404Schema = z.unknown() -export const exchangeSsoToken500Schema = z.unknown(); +export const exchangeSsoToken500Schema = z.unknown() -export const exchangeSsoTokenMutationResponseSchema = z.lazy(() => exchangeSsoToken200Schema); +export const exchangeSsoTokenMutationResponseSchema = z.lazy(() => exchangeSsoToken200Schema) export const getIntegrationLogDrainsQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description A list of log drains */ -export const getIntegrationLogDrains200Schema = z.unknown(); +export const getIntegrationLogDrains200Schema = z.unknown() -export const getIntegrationLogDrains400Schema = z.unknown(); +export const getIntegrationLogDrains400Schema = z.unknown() -export const getIntegrationLogDrains401Schema = z.unknown(); +export const getIntegrationLogDrains401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getIntegrationLogDrains403Schema = z.unknown(); +export const getIntegrationLogDrains403Schema = z.unknown() -export const getIntegrationLogDrainsQueryResponseSchema = z.lazy(() => getIntegrationLogDrains200Schema); +export const getIntegrationLogDrainsQueryResponseSchema = z.lazy(() => getIntegrationLogDrains200Schema) export const createLogDrainQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description The log drain was successfully created */ -export const createLogDrain200Schema = z.unknown(); +export const createLogDrain200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nThe provided token is not from an OAuth2 Client */ -export const createLogDrain400Schema = z.unknown(); +export const createLogDrain400Schema = z.unknown() -export const createLogDrain401Schema = z.unknown(); +export const createLogDrain401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const createLogDrain403Schema = z.unknown(); +export const createLogDrain403Schema = z.unknown() -export const createLogDrainMutationResponseSchema = z.lazy(() => createLogDrain200Schema); +export const createLogDrainMutationResponseSchema = z.lazy(() => createLogDrain200Schema) export const deleteIntegrationLogDrainPathParamsSchema = z.object({ - id: z.string().describe('ID of the log drain to be deleted') -}); + id: z.string().describe('ID of the log drain to be deleted'), +}) export const deleteIntegrationLogDrainQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description The log drain was successfully deleted */ -export const deleteIntegrationLogDrain204Schema = z.unknown(); +export const deleteIntegrationLogDrain204Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const deleteIntegrationLogDrain400Schema = z.unknown(); +export const deleteIntegrationLogDrain400Schema = z.unknown() -export const deleteIntegrationLogDrain401Schema = z.unknown(); +export const deleteIntegrationLogDrain401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const deleteIntegrationLogDrain403Schema = z.unknown(); +export const deleteIntegrationLogDrain403Schema = z.unknown() /** * @description The log drain was not found */ -export const deleteIntegrationLogDrain404Schema = z.unknown(); +export const deleteIntegrationLogDrain404Schema = z.unknown() -export const deleteIntegrationLogDrainMutationResponseSchema = z.lazy(() => deleteIntegrationLogDrain204Schema); +export const deleteIntegrationLogDrainMutationResponseSchema = z.lazy(() => deleteIntegrationLogDrain204Schema) export const getRuntimeLogsPathParamsSchema = z.object({ projectId: z.string(), - deploymentId: z.string() -}); + deploymentId: z.string(), +}) export const getRuntimeLogsQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const getRuntimeLogs200Schema = z.unknown(); +export const getRuntimeLogs200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const getRuntimeLogs400Schema = z.unknown(); +export const getRuntimeLogs400Schema = z.unknown() -export const getRuntimeLogs401Schema = z.unknown(); +export const getRuntimeLogs401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getRuntimeLogs403Schema = z.unknown(); +export const getRuntimeLogs403Schema = z.unknown() -export const getRuntimeLogsQueryResponseSchema = z.lazy(() => getRuntimeLogs200Schema); +export const getRuntimeLogsQueryResponseSchema = z.lazy(() => getRuntimeLogs200Schema) export const createExperimentationItemPathParamsSchema = z.object({ integrationConfigurationId: z.string(), - resourceId: z.string() -}); + resourceId: z.string(), +}) /** * @description The items were created */ -export const createExperimentationItem204Schema = z.unknown(); +export const createExperimentationItem204Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const createExperimentationItem400Schema = z.unknown(); +export const createExperimentationItem400Schema = z.unknown() -export const createExperimentationItem401Schema = z.unknown(); +export const createExperimentationItem401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const createExperimentationItem403Schema = z.unknown(); +export const createExperimentationItem403Schema = z.unknown() -export const createExperimentationItem404Schema = z.unknown(); +export const createExperimentationItem404Schema = z.unknown() -export const createExperimentationItemMutationResponseSchema = z.lazy(() => createExperimentationItem204Schema); +export const createExperimentationItemMutationResponseSchema = z.lazy(() => createExperimentationItem204Schema) export const updateExperimentationItemPathParamsSchema = z.object({ integrationConfigurationId: z.string(), resourceId: z.string(), - itemId: z.string() -}); + itemId: z.string(), +}) /** * @description The item was updated */ -export const updateExperimentationItem204Schema = z.unknown(); +export const updateExperimentationItem204Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const updateExperimentationItem400Schema = z.unknown(); +export const updateExperimentationItem400Schema = z.unknown() -export const updateExperimentationItem401Schema = z.unknown(); +export const updateExperimentationItem401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const updateExperimentationItem403Schema = z.unknown(); +export const updateExperimentationItem403Schema = z.unknown() -export const updateExperimentationItem404Schema = z.unknown(); +export const updateExperimentationItem404Schema = z.unknown() -export const updateExperimentationItemMutationResponseSchema = z.lazy(() => updateExperimentationItem204Schema); +export const updateExperimentationItemMutationResponseSchema = z.lazy(() => updateExperimentationItem204Schema) export const deleteExperimentationItemPathParamsSchema = z.object({ integrationConfigurationId: z.string(), resourceId: z.string(), - itemId: z.string() -}); + itemId: z.string(), +}) /** * @description The item was deleted */ -export const deleteExperimentationItem204Schema = z.unknown(); +export const deleteExperimentationItem204Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const deleteExperimentationItem400Schema = z.unknown(); +export const deleteExperimentationItem400Schema = z.unknown() -export const deleteExperimentationItem401Schema = z.unknown(); +export const deleteExperimentationItem401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const deleteExperimentationItem403Schema = z.unknown(); +export const deleteExperimentationItem403Schema = z.unknown() -export const deleteExperimentationItem404Schema = z.unknown(); +export const deleteExperimentationItem404Schema = z.unknown() -export const deleteExperimentationItemMutationResponseSchema = z.lazy(() => deleteExperimentationItem204Schema); +export const deleteExperimentationItemMutationResponseSchema = z.lazy(() => deleteExperimentationItem204Schema) export const updateExperimentationEdgeConfigPathParamsSchema = z.object({ integrationConfigurationId: z.string(), - resourceId: z.string() -}); + resourceId: z.string(), +}) /** * @description The Edge Config was updated */ -export const updateExperimentationEdgeConfig200Schema = z.unknown(); +export const updateExperimentationEdgeConfig200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const updateExperimentationEdgeConfig400Schema = z.unknown(); +export const updateExperimentationEdgeConfig400Schema = z.unknown() -export const updateExperimentationEdgeConfig401Schema = z.unknown(); +export const updateExperimentationEdgeConfig401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const updateExperimentationEdgeConfig403Schema = z.unknown(); +export const updateExperimentationEdgeConfig403Schema = z.unknown() -export const updateExperimentationEdgeConfig404Schema = z.unknown(); +export const updateExperimentationEdgeConfig404Schema = z.unknown() -export const updateExperimentationEdgeConfig412Schema = z.unknown(); +export const updateExperimentationEdgeConfig409Schema = z.unknown() -export const updateExperimentationEdgeConfigMutationResponseSchema = z.lazy( - () => updateExperimentationEdgeConfig200Schema -); +export const updateExperimentationEdgeConfig412Schema = z.unknown() + +export const updateExperimentationEdgeConfigMutationResponseSchema = z.lazy(() => updateExperimentationEdgeConfig200Schema) export const getProjectMembersPathParamsSchema = z.object({ - idOrName: z.string().describe('The ID or name of the Project.') -}); + idOrName: z.string().describe('The ID or name of the Project.'), +}) export const getProjectMembersQueryParamsSchema = z .object({ - limit: z.coerce - .number() - .int() - .min(1) - .max(100) - .describe('Limit how many project members should be returned') - .optional(), - since: z.coerce - .number() - .int() - .describe('Timestamp in milliseconds to only include members added since then.') - .optional(), - until: z.coerce - .number() - .int() - .describe('Timestamp in milliseconds to only include members added until then.') - .optional(), + limit: z.coerce.number().int().min(1).max(100).describe('Limit how many project members should be returned').optional(), + since: z.coerce.number().int().describe('Timestamp in milliseconds to only include members added since then.').optional(), + until: z.coerce.number().int().describe('Timestamp in milliseconds to only include members added until then.').optional(), search: z.string().describe('Search project members by their name, username, and email.').optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description Paginated list of members for the project. */ -export const getProjectMembers200Schema = z.unknown(); +export const getProjectMembers200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const getProjectMembers400Schema = z.unknown(); +export const getProjectMembers400Schema = z.unknown() -export const getProjectMembers401Schema = z.unknown(); +export const getProjectMembers401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getProjectMembers403Schema = z.unknown(); +export const getProjectMembers403Schema = z.unknown() -export const getProjectMembersQueryResponseSchema = z.lazy(() => getProjectMembers200Schema); +export const getProjectMembersQueryResponseSchema = z.lazy(() => getProjectMembers200Schema) export const addProjectMemberPathParamsSchema = z.object({ - idOrName: z.string().describe('The ID or name of the Project.') -}); + idOrName: z.string().describe('The ID or name of the Project.'), +}) export const addProjectMemberQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description Responds with the project ID on success. */ -export const addProjectMember200Schema = z.unknown(); +export const addProjectMember200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const addProjectMember400Schema = z.unknown(); +export const addProjectMember400Schema = z.unknown() -export const addProjectMember401Schema = z.unknown(); +export const addProjectMember401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const addProjectMember403Schema = z.unknown(); +export const addProjectMember403Schema = z.unknown() -export const addProjectMember500Schema = z.unknown(); +export const addProjectMember500Schema = z.unknown() -export const addProjectMemberMutationResponseSchema = z.lazy(() => addProjectMember200Schema); +export const addProjectMemberMutationResponseSchema = z.lazy(() => addProjectMember200Schema) export const removeProjectMemberPathParamsSchema = z.object({ idOrName: z.string().describe('The ID or name of the Project.'), - uid: z.string().describe('The user ID of the member.') -}); + uid: z.string().describe('The user ID of the member.'), +}) export const removeProjectMemberQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const removeProjectMember200Schema = z.unknown(); +export const removeProjectMember200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const removeProjectMember400Schema = z.unknown(); +export const removeProjectMember400Schema = z.unknown() -export const removeProjectMember401Schema = z.unknown(); +export const removeProjectMember401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const removeProjectMember403Schema = z.unknown(); +export const removeProjectMember403Schema = z.unknown() -export const removeProjectMemberMutationResponseSchema = z.lazy(() => removeProjectMember200Schema); +export const removeProjectMemberMutationResponseSchema = z.lazy(() => removeProjectMember200Schema) export const getProjectsQueryParamsSchema = z .object({ from: z.string().describe('Query only projects updated after the given timestamp').optional(), gitForkProtection: z .enum(['1', '0']) - .describe( - "Specifies whether PRs from Git forks should require a team member's authorization before it can be deployed" - ) + .describe("Specifies whether PRs from Git forks should require a team member's authorization before it can be deployed") .optional(), limit: z.string().describe('Limit the number of projects returned').optional(), search: z.string().max(100).describe('Search projects by the name field').optional(), @@ -6408,351 +5995,355 @@ export const getProjectsQueryParamsSchema = z edgeConfigId: z.string().describe('Filter results by connected Edge Config ID').optional(), edgeConfigTokenId: z.string().describe('Filter results by connected Edge Config Token ID').optional(), deprecated: z.boolean().optional(), + elasticConcurrencyEnabled: z.enum(['1', '0']).describe('Filter results by projects with elastic concurrency enabled').optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description The paginated list of projects */ -export const getProjects200Schema = z.unknown(); +export const getProjects200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const getProjects400Schema = z.unknown(); +export const getProjects400Schema = z.unknown() -export const getProjects401Schema = z.unknown(); +export const getProjects401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getProjects403Schema = z.unknown(); +export const getProjects403Schema = z.unknown() -export const getProjectsQueryResponseSchema = z.lazy(() => getProjects200Schema); +export const getProjectsQueryResponseSchema = z.lazy(() => getProjects200Schema) export const createProjectQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description The project was successfuly created */ -export const createProject200Schema = z.unknown(); +export const createProject200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nAt least one environment variable failed validation\nThe Bitbucket Webhook for the project link could not be created\nThe Gitlab Webhook for the project link could not be created */ -export const createProject400Schema = z.unknown(); +export const createProject400Schema = z.unknown() -export const createProject401Schema = z.unknown(); +export const createProject401Schema = z.unknown() /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated\nPro customers are allowed to deploy Serverless Functions to up to `proMaxRegions` regions, or if the project was created before the limit was introduced.\nDeploying to Serverless Functions to multiple regions requires a plan update */ -export const createProject402Schema = z.unknown(); +export const createProject402Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const createProject403Schema = z.unknown(); +export const createProject403Schema = z.unknown() + +export const createProject404Schema = z.unknown() /** * @description A project with the provided name already exists. */ -export const createProject409Schema = z.unknown(); +export const createProject409Schema = z.unknown() + +/** + * @description Owner does not have protection add-on + */ +export const createProject428Schema = z.unknown() + +export const createProject429Schema = z.unknown() -export const createProjectMutationResponseSchema = z.lazy(() => createProject200Schema); +export const createProject500Schema = z.unknown() + +export const createProjectMutationResponseSchema = z.lazy(() => createProject200Schema) export const getProjectPathParamsSchema = z.object({ - idOrName: z.union([z.boolean(), z.string()]).describe('The unique project identifier or the project name') -}); + idOrName: z.union([z.boolean(), z.string()]).describe('The unique project identifier or the project name'), +}) export const getProjectQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description The project information */ -export const getProject200Schema = z.unknown(); +export const getProject200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const getProject400Schema = z.unknown(); +export const getProject400Schema = z.unknown() -export const getProject401Schema = z.unknown(); +export const getProject401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getProject403Schema = z.unknown(); +export const getProject403Schema = z.unknown() -export const getProjectQueryResponseSchema = z.lazy(() => getProject200Schema); +export const getProjectQueryResponseSchema = z.lazy(() => getProject200Schema) export const updateProjectPathParamsSchema = z.object({ - idOrName: z.string().describe('The unique project identifier or the project name') -}); + idOrName: z.string().describe('The unique project identifier or the project name'), +}) export const updateProjectQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description The project was successfully updated */ -export const updateProject200Schema = z.unknown(); +export const updateProject200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nTrusted IPs is only accessible for enterprise customers */ -export const updateProject400Schema = z.unknown(); +export const updateProject400Schema = z.unknown() -export const updateProject401Schema = z.unknown(); +export const updateProject401Schema = z.unknown() /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated\nPro customers are allowed to deploy Serverless Functions to up to `proMaxRegions` regions, or if the project was created before the limit was introduced.\nDeploying to Serverless Functions to multiple regions requires a plan update */ -export const updateProject402Schema = z.unknown(); +export const updateProject402Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const updateProject403Schema = z.unknown(); +export const updateProject403Schema = z.unknown() -export const updateProject404Schema = z.unknown(); +export const updateProject404Schema = z.unknown() /** * @description The provided name for the project is already being used\nThe project is currently being transferred. */ -export const updateProject409Schema = z.unknown(); +export const updateProject409Schema = z.unknown() /** * @description Owner does not have protection add-on\nAdvanced Deployment Protection is not available for the user plan */ -export const updateProject428Schema = z.unknown(); +export const updateProject428Schema = z.unknown() -export const updateProjectMutationResponseSchema = z.lazy(() => updateProject200Schema); +export const updateProjectMutationResponseSchema = z.lazy(() => updateProject200Schema) export const deleteProjectPathParamsSchema = z.object({ - idOrName: z.string().describe('The unique project identifier or the project name') -}); + idOrName: z.string().describe('The unique project identifier or the project name'), +}) export const deleteProjectQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description The project was successfuly removed */ -export const deleteProject204Schema = z.unknown(); +export const deleteProject204Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const deleteProject400Schema = z.unknown(); +export const deleteProject400Schema = z.unknown() -export const deleteProject401Schema = z.unknown(); +export const deleteProject401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const deleteProject403Schema = z.unknown(); +export const deleteProject403Schema = z.unknown() -export const deleteProject409Schema = z.unknown(); +export const deleteProject409Schema = z.unknown() -export const deleteProjectMutationResponseSchema = z.lazy(() => deleteProject204Schema); +export const deleteProjectMutationResponseSchema = z.lazy(() => deleteProject204Schema) export const createCustomEnvironmentPathParamsSchema = z.object({ - idOrName: z.string().describe('The unique project identifier or the project name') -}); + idOrName: z.string().describe('The unique project identifier or the project name'), +}) export const createCustomEnvironmentQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const createCustomEnvironment201Schema = z.unknown(); +export const createCustomEnvironment201Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const createCustomEnvironment400Schema = z.unknown(); +export const createCustomEnvironment400Schema = z.unknown() -export const createCustomEnvironment401Schema = z.unknown(); +export const createCustomEnvironment401Schema = z.unknown() /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export const createCustomEnvironment402Schema = z.unknown(); +export const createCustomEnvironment402Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const createCustomEnvironment403Schema = z.unknown(); +export const createCustomEnvironment403Schema = z.unknown() -export const createCustomEnvironment500Schema = z.unknown(); +export const createCustomEnvironment500Schema = z.unknown() -export const createCustomEnvironmentMutationResponseSchema = z.lazy(() => createCustomEnvironment201Schema); +export const createCustomEnvironmentMutationResponseSchema = z.lazy(() => createCustomEnvironment201Schema) export const listCustomEnvironmentsPathParamsSchema = z.object({ - idOrName: z.string().describe('The unique project identifier or the project name') -}); + idOrName: z.string().describe('The unique project identifier or the project name'), +}) export const listCustomEnvironmentsQueryParamsSchema = z .object({ gitBranch: z.string().describe('Fetch custom environments for a specific git branch').optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const listCustomEnvironments200Schema = z.unknown(); +export const listCustomEnvironments200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const listCustomEnvironments400Schema = z.unknown(); +export const listCustomEnvironments400Schema = z.unknown() -export const listCustomEnvironments401Schema = z.unknown(); +export const listCustomEnvironments401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const listCustomEnvironments403Schema = z.unknown(); +export const listCustomEnvironments403Schema = z.unknown() -export const listCustomEnvironmentsQueryResponseSchema = z.lazy(() => listCustomEnvironments200Schema); +export const listCustomEnvironmentsQueryResponseSchema = z.lazy(() => listCustomEnvironments200Schema) export const getCustomEnvironmentPathParamsSchema = z.object({ idOrName: z.string().describe('The unique project identifier or the project name'), - environmentSlugOrId: z.string().describe('The unique custom environment identifier within the project') -}); + environmentSlugOrId: z.string().describe('The unique custom environment identifier within the project'), +}) export const getCustomEnvironmentQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const getCustomEnvironment200Schema = z.unknown(); +export const getCustomEnvironment200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const getCustomEnvironment400Schema = z.unknown(); +export const getCustomEnvironment400Schema = z.unknown() -export const getCustomEnvironment401Schema = z.unknown(); +export const getCustomEnvironment401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getCustomEnvironment403Schema = z.unknown(); +export const getCustomEnvironment403Schema = z.unknown() -export const getCustomEnvironment404Schema = z.unknown(); +export const getCustomEnvironment404Schema = z.unknown() -export const getCustomEnvironmentQueryResponseSchema = z.lazy(() => getCustomEnvironment200Schema); +export const getCustomEnvironmentQueryResponseSchema = z.lazy(() => getCustomEnvironment200Schema) export const updateCustomEnvironmentPathParamsSchema = z.object({ idOrName: z.string().describe('The unique project identifier or the project name'), - environmentSlugOrId: z.string().describe('The unique custom environment identifier within the project') -}); + environmentSlugOrId: z.string().describe('The unique custom environment identifier within the project'), +}) export const updateCustomEnvironmentQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const updateCustomEnvironment200Schema = z.unknown(); +export const updateCustomEnvironment200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const updateCustomEnvironment400Schema = z.unknown(); +export const updateCustomEnvironment400Schema = z.unknown() -export const updateCustomEnvironment401Schema = z.unknown(); +export const updateCustomEnvironment401Schema = z.unknown() /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export const updateCustomEnvironment402Schema = z.unknown(); +export const updateCustomEnvironment402Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const updateCustomEnvironment403Schema = z.unknown(); +export const updateCustomEnvironment403Schema = z.unknown() -export const updateCustomEnvironment500Schema = z.unknown(); +export const updateCustomEnvironment500Schema = z.unknown() -export const updateCustomEnvironmentMutationResponseSchema = z.lazy(() => updateCustomEnvironment200Schema); +export const updateCustomEnvironmentMutationResponseSchema = z.lazy(() => updateCustomEnvironment200Schema) export const removeCustomEnvironmentPathParamsSchema = z.object({ idOrName: z.string().describe('The unique project identifier or the project name'), - environmentSlugOrId: z.string().describe('The unique custom environment identifier within the project') -}); + environmentSlugOrId: z.string().describe('The unique custom environment identifier within the project'), +}) export const removeCustomEnvironmentQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const removeCustomEnvironment200Schema = z.unknown(); +export const removeCustomEnvironment200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const removeCustomEnvironment400Schema = z.unknown(); +export const removeCustomEnvironment400Schema = z.unknown() -export const removeCustomEnvironment401Schema = z.unknown(); +export const removeCustomEnvironment401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const removeCustomEnvironment403Schema = z.unknown(); +export const removeCustomEnvironment403Schema = z.unknown() -export const removeCustomEnvironmentMutationResponseSchema = z.lazy(() => removeCustomEnvironment200Schema); +export const removeCustomEnvironmentMutationResponseSchema = z.lazy(() => removeCustomEnvironment200Schema) export const getProjectDomainsPathParamsSchema = z.object({ - idOrName: z.union([z.coerce.number().int(), z.string()]).describe('The unique project identifier or the project name') -}); + idOrName: z.union([z.coerce.number().int(), z.string()]).describe('The unique project identifier or the project name'), +}) export const getProjectDomainsQueryParamsSchema = z.object({ - production: z - .enum(['true', 'false']) - .default('false') - .describe('Filters only production domains when set to `true`.'), - target: z - .enum(['production', 'preview']) - .describe('Filters on the target of the domain. Can be either \\"production\\", \\"preview\\"') - .optional(), + production: z.enum(['true', 'false']).default('false').describe('Filters only production domains when set to `true`.'), + target: z.enum(['production', 'preview']).describe('Filters on the target of the domain. Can be either \\"production\\", \\"preview\\"').optional(), customEnvironmentId: z.string().describe('The unique custom environment identifier within the project').optional(), gitBranch: z.string().describe('Filters domains based on specific branch.').optional(), redirects: z .enum(['true', 'false']) .default('true') - .describe( - 'Excludes redirect project domains when \\"false\\". Includes redirect project domains when \\"true\\" (default).' - ), + .describe('Excludes redirect project domains when \\"false\\". Includes redirect project domains when \\"true\\" (default).'), redirect: z.string().describe('Filters domains based on their redirect target.').optional(), verified: z.enum(['true', 'false']).describe('Filters domains based on their verification status.').optional(), limit: z.coerce.number().describe('Maximum number of domains to list from a request (max 100).').optional(), @@ -6760,1000 +6351,1000 @@ export const getProjectDomainsQueryParamsSchema = z.object({ until: z.coerce.number().describe('Get domains created before this JavaScript timestamp.').optional(), order: z.enum(['ASC', 'DESC']).default('DESC').describe('Domains sort order by createdAt'), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() -}); + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), +}) /** * @description Successful response retrieving a list of domains */ -export const getProjectDomains200Schema = z.unknown(); +export const getProjectDomains200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const getProjectDomains400Schema = z.unknown(); +export const getProjectDomains400Schema = z.unknown() -export const getProjectDomains401Schema = z.unknown(); +export const getProjectDomains401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getProjectDomains403Schema = z.unknown(); +export const getProjectDomains403Schema = z.unknown() -export const getProjectDomainsQueryResponseSchema = z.lazy(() => getProjectDomains200Schema); +export const getProjectDomainsQueryResponseSchema = z.lazy(() => getProjectDomains200Schema) export const getProjectDomainPathParamsSchema = z.object({ idOrName: z.string().describe('The unique project identifier or the project name'), - domain: z.string().describe('The project domain name') -}); + domain: z.string().describe('The project domain name'), +}) export const getProjectDomainQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const getProjectDomain200Schema = z.unknown(); +export const getProjectDomain200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const getProjectDomain400Schema = z.unknown(); +export const getProjectDomain400Schema = z.unknown() -export const getProjectDomain401Schema = z.unknown(); +export const getProjectDomain401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getProjectDomain403Schema = z.unknown(); +export const getProjectDomain403Schema = z.unknown() -export const getProjectDomainQueryResponseSchema = z.lazy(() => getProjectDomain200Schema); +export const getProjectDomainQueryResponseSchema = z.lazy(() => getProjectDomain200Schema) export const updateProjectDomainPathParamsSchema = z.object({ idOrName: z.string().describe('The unique project identifier or the project name'), - domain: z.string().describe('The project domain name') -}); + domain: z.string().describe('The project domain name'), +}) export const updateProjectDomainQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description The domain was updated successfuly */ -export const updateProjectDomain200Schema = z.unknown(); +export const updateProjectDomain200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nThe domain redirect is not valid */ -export const updateProjectDomain400Schema = z.unknown(); +export const updateProjectDomain400Schema = z.unknown() -export const updateProjectDomain401Schema = z.unknown(); +export const updateProjectDomain401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const updateProjectDomain403Schema = z.unknown(); +export const updateProjectDomain403Schema = z.unknown() /** * @description The project is currently being transferred */ -export const updateProjectDomain409Schema = z.unknown(); +export const updateProjectDomain409Schema = z.unknown() -export const updateProjectDomainMutationResponseSchema = z.lazy(() => updateProjectDomain200Schema); +export const updateProjectDomainMutationResponseSchema = z.lazy(() => updateProjectDomain200Schema) export const removeProjectDomainPathParamsSchema = z.object({ idOrName: z.string().describe('The unique project identifier or the project name'), - domain: z.string().describe('The project domain name') -}); + domain: z.string().describe('The project domain name'), +}) export const removeProjectDomainQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description The domain was succesfully removed from the project */ -export const removeProjectDomain200Schema = z.unknown(); +export const removeProjectDomain200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const removeProjectDomain400Schema = z.unknown(); +export const removeProjectDomain400Schema = z.unknown() -export const removeProjectDomain401Schema = z.unknown(); +export const removeProjectDomain401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const removeProjectDomain403Schema = z.unknown(); +export const removeProjectDomain403Schema = z.unknown() -export const removeProjectDomain404Schema = z.unknown(); +export const removeProjectDomain404Schema = z.unknown() /** * @description The project is currently being transferred */ -export const removeProjectDomain409Schema = z.unknown(); +export const removeProjectDomain409Schema = z.unknown() -export const removeProjectDomainMutationResponseSchema = z.lazy(() => removeProjectDomain200Schema); +export const removeProjectDomainMutationResponseSchema = z.lazy(() => removeProjectDomain200Schema) export const addProjectDomainPathParamsSchema = z.object({ - idOrName: z.string().describe('The unique project identifier or the project name') -}); + idOrName: z.string().describe('The unique project identifier or the project name'), +}) export const addProjectDomainQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description The domain was successfully added to the project */ -export const addProjectDomain200Schema = z.unknown(); +export const addProjectDomain200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nThe domain is not valid\nYou can\'t set both a git branch and a redirect for the domain\nThe domain can not be added because the latest production deployment for the project was not successful\nThe domain redirect is not valid\nA domain cannot redirect to itself\nYou can not set the production branch as a branch for your domain */ -export const addProjectDomain400Schema = z.unknown(); +export const addProjectDomain400Schema = z.unknown() -export const addProjectDomain401Schema = z.unknown(); +export const addProjectDomain401Schema = z.unknown() /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export const addProjectDomain402Schema = z.unknown(); +export const addProjectDomain402Schema = z.unknown() /** * @description You do not have permission to access this resource.\nYou don\'t have access to the domain you are adding */ -export const addProjectDomain403Schema = z.unknown(); +export const addProjectDomain403Schema = z.unknown() /** * @description The domain is already assigned to another Vercel project\nCannot create project domain since owner already has `domain` on their account, but it\'s not verified yet.\nCannot create project domain since owner already has `domain` on their account, and it\'s verified.\nThe domain is not allowed to be used\nThe project is currently being transferred */ -export const addProjectDomain409Schema = z.unknown(); +export const addProjectDomain409Schema = z.unknown() -export const addProjectDomainMutationResponseSchema = z.lazy(() => addProjectDomain200Schema); +export const addProjectDomainMutationResponseSchema = z.lazy(() => addProjectDomain200Schema) export const moveProjectDomainPathParamsSchema = z.object({ idOrName: z.string().describe('The unique project identifier or the project name'), - domain: z.string().describe('The project domain name') -}); + domain: z.string().describe('The project domain name'), +}) export const moveProjectDomainQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description The domain was updated successfuly */ -export const moveProjectDomain200Schema = z.unknown(); +export const moveProjectDomain200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const moveProjectDomain400Schema = z.unknown(); +export const moveProjectDomain400Schema = z.unknown() -export const moveProjectDomain401Schema = z.unknown(); +export const moveProjectDomain401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const moveProjectDomain403Schema = z.unknown(); +export const moveProjectDomain403Schema = z.unknown() /** * @description The project is currently being transferred */ -export const moveProjectDomain409Schema = z.unknown(); +export const moveProjectDomain409Schema = z.unknown() -export const moveProjectDomainMutationResponseSchema = z.lazy(() => moveProjectDomain200Schema); +export const moveProjectDomainMutationResponseSchema = z.lazy(() => moveProjectDomain200Schema) export const verifyProjectDomainPathParamsSchema = z.object({ idOrName: z.string().describe('The unique project identifier or the project name'), - domain: z.string().describe('The domain name you want to verify') -}); + domain: z.string().describe('The domain name you want to verify'), +}) export const verifyProjectDomainQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description The project domain was verified successfully\nDomain is already verified */ -export const verifyProjectDomain200Schema = z.unknown(); +export const verifyProjectDomain200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid.\nThere is an existing TXT record on the domain verifying it for another project\nThe domain does not have a TXT record that attempts to verify the project domain\nThe TXT record on the domain does not match the expected challenge for the project domain\nProject domain is not assigned to project */ -export const verifyProjectDomain400Schema = z.unknown(); +export const verifyProjectDomain400Schema = z.unknown() -export const verifyProjectDomain401Schema = z.unknown(); +export const verifyProjectDomain401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const verifyProjectDomain403Schema = z.unknown(); +export const verifyProjectDomain403Schema = z.unknown() -export const verifyProjectDomainMutationResponseSchema = z.lazy(() => verifyProjectDomain200Schema); +export const verifyProjectDomainMutationResponseSchema = z.lazy(() => verifyProjectDomain200Schema) export const filterProjectEnvsPathParamsSchema = z.object({ - idOrName: z.string().describe('The unique project identifier or the project name') -}); + idOrName: z.string().describe('The unique project identifier or the project name'), +}) export const filterProjectEnvsQueryParamsSchema = z .object({ gitBranch: z .string() .max(250) - .describe( - 'If defined, the git branch of the environment variable to filter the results (must have target=preview)' - ) + .describe('If defined, the git branch of the environment variable to filter the results (must have target=preview)') .optional(), decrypt: z.enum(['true', 'false']).describe('If true, the environment variable value will be decrypted').optional(), source: z.string().describe('The source that is calling the endpoint.').optional(), customEnvironmentId: z.string().describe('The unique custom environment identifier within the project').optional(), customEnvironmentSlug: z.string().describe('The custom environment slug (name) within the project').optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description The list of environment variables for the given project */ -export const filterProjectEnvs200Schema = z.unknown(); +export const filterProjectEnvs200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const filterProjectEnvs400Schema = z.unknown(); +export const filterProjectEnvs400Schema = z.unknown() -export const filterProjectEnvs401Schema = z.unknown(); +export const filterProjectEnvs401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const filterProjectEnvs403Schema = z.unknown(); +export const filterProjectEnvs403Schema = z.unknown() -export const filterProjectEnvsQueryResponseSchema = z.lazy(() => filterProjectEnvs200Schema); +export const filterProjectEnvsQueryResponseSchema = z.lazy(() => filterProjectEnvs200Schema) export const createProjectEnvPathParamsSchema = z.object({ - idOrName: z.string().describe('The unique project identifier or the project name') -}); + idOrName: z.string().describe('The unique project identifier or the project name'), +}) export const createProjectEnvQueryParamsSchema = z .object({ upsert: z.string().describe('Allow override of environment variable if it already exists').optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description The environment variable was created successfully */ -export const createProjectEnv201Schema = z.unknown(); +export const createProjectEnv201Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nThe environment variable coudn\'t be created because an ongoing update env update is already happening\nThe environment variable coudn\'t be created because project document is too large */ -export const createProjectEnv400Schema = z.unknown(); +export const createProjectEnv400Schema = z.unknown() -export const createProjectEnv401Schema = z.unknown(); +export const createProjectEnv401Schema = z.unknown() /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export const createProjectEnv402Schema = z.unknown(); +export const createProjectEnv402Schema = z.unknown() /** * @description You do not have permission to access this resource.\nThe environment variable cannot be created because it already exists\nAdditional permissions are required to create production environment variables */ -export const createProjectEnv403Schema = z.unknown(); +export const createProjectEnv403Schema = z.unknown() + +export const createProjectEnv404Schema = z.unknown() /** * @description The project is being transfered and creating an environment variable is not possible */ -export const createProjectEnv409Schema = z.unknown(); +export const createProjectEnv409Schema = z.unknown() + +export const createProjectEnv429Schema = z.unknown() -export const createProjectEnvMutationResponseSchema = z.lazy(() => createProjectEnv201Schema); +export const createProjectEnv500Schema = z.unknown() + +export const createProjectEnvMutationResponseSchema = z.lazy(() => createProjectEnv201Schema) export const getProjectEnvPathParamsSchema = z.object({ idOrName: z.string().describe('The unique project identifier or the project name'), - id: z.string().describe('The unique ID for the environment variable to get the decrypted value.') -}); + id: z.string().describe('The unique ID for the environment variable to get the decrypted value.'), +}) export const getProjectEnvQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const getProjectEnv200Schema = z.unknown(); +export const getProjectEnv200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const getProjectEnv400Schema = z.unknown(); +export const getProjectEnv400Schema = z.unknown() -export const getProjectEnv401Schema = z.unknown(); +export const getProjectEnv401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getProjectEnv403Schema = z.unknown(); +export const getProjectEnv403Schema = z.unknown() -export const getProjectEnvQueryResponseSchema = z.lazy(() => getProjectEnv200Schema); +export const getProjectEnvQueryResponseSchema = z.lazy(() => getProjectEnv200Schema) export const removeProjectEnvPathParamsSchema = z.object({ idOrName: z.string().describe('The unique project identifier or the project name'), - id: z.string().describe('The unique environment variable identifier') -}); + id: z.string().describe('The unique environment variable identifier'), +}) export const removeProjectEnvQueryParamsSchema = z .object({ customEnvironmentId: z.string().describe('The unique custom environment identifier within the project').optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description The environment variable was successfully removed */ -export const removeProjectEnv200Schema = z.unknown(); +export const removeProjectEnv200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const removeProjectEnv400Schema = z.unknown(); +export const removeProjectEnv400Schema = z.unknown() -export const removeProjectEnv401Schema = z.unknown(); +export const removeProjectEnv401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const removeProjectEnv403Schema = z.unknown(); +export const removeProjectEnv403Schema = z.unknown() -export const removeProjectEnv404Schema = z.unknown(); +export const removeProjectEnv404Schema = z.unknown() /** * @description The project is being transfered and removing an environment variable is not possible */ -export const removeProjectEnv409Schema = z.unknown(); +export const removeProjectEnv409Schema = z.unknown() -export const removeProjectEnvMutationResponseSchema = z.lazy(() => removeProjectEnv200Schema); +export const removeProjectEnvMutationResponseSchema = z.lazy(() => removeProjectEnv200Schema) export const editProjectEnvPathParamsSchema = z.object({ idOrName: z.string().describe('The unique project identifier or the project name'), - id: z.string().describe('The unique environment variable identifier') -}); + id: z.string().describe('The unique environment variable identifier'), +}) export const editProjectEnvQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description The environment variable was successfully edited */ -export const editProjectEnv200Schema = z.unknown(); +export const editProjectEnv200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nAt least one environment variable failed validation */ -export const editProjectEnv400Schema = z.unknown(); +export const editProjectEnv400Schema = z.unknown() -export const editProjectEnv401Schema = z.unknown(); +export const editProjectEnv401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const editProjectEnv403Schema = z.unknown(); +export const editProjectEnv403Schema = z.unknown() + +export const editProjectEnv404Schema = z.unknown() /** * @description The project is being transfered and removing an environment variable is not possible */ -export const editProjectEnv409Schema = z.unknown(); +export const editProjectEnv409Schema = z.unknown() + +export const editProjectEnv429Schema = z.unknown() + +export const editProjectEnv500Schema = z.unknown() -export const editProjectEnvMutationResponseSchema = z.lazy(() => editProjectEnv200Schema); +export const editProjectEnvMutationResponseSchema = z.lazy(() => editProjectEnv200Schema) export const getRollingReleaseBillingStatusPathParamsSchema = z.object({ - idOrName: z.string().describe('Project ID or project name (URL-encoded)') -}); + idOrName: z.string().describe('Project ID or project name (URL-encoded)'), +}) export const getRollingReleaseBillingStatusQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const getRollingReleaseBillingStatus200Schema = z.unknown(); +export const getRollingReleaseBillingStatus200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const getRollingReleaseBillingStatus400Schema = z.unknown(); +export const getRollingReleaseBillingStatus400Schema = z.unknown() -export const getRollingReleaseBillingStatus401Schema = z.unknown(); +export const getRollingReleaseBillingStatus401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getRollingReleaseBillingStatus403Schema = z.unknown(); +export const getRollingReleaseBillingStatus403Schema = z.unknown() -export const getRollingReleaseBillingStatus404Schema = z.unknown(); +export const getRollingReleaseBillingStatus404Schema = z.unknown() -export const getRollingReleaseBillingStatusQueryResponseSchema = z.lazy(() => getRollingReleaseBillingStatus200Schema); +export const getRollingReleaseBillingStatusQueryResponseSchema = z.lazy(() => getRollingReleaseBillingStatus200Schema) export const getRollingReleaseConfigPathParamsSchema = z.object({ - idOrName: z.string().describe('Project ID or project name (URL-encoded)') -}); + idOrName: z.string().describe('Project ID or project name (URL-encoded)'), +}) export const getRollingReleaseConfigQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const getRollingReleaseConfig200Schema = z.unknown(); +export const getRollingReleaseConfig200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const getRollingReleaseConfig400Schema = z.unknown(); +export const getRollingReleaseConfig400Schema = z.unknown() -export const getRollingReleaseConfig401Schema = z.unknown(); +export const getRollingReleaseConfig401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getRollingReleaseConfig403Schema = z.unknown(); +export const getRollingReleaseConfig403Schema = z.unknown() -export const getRollingReleaseConfig404Schema = z.unknown(); +export const getRollingReleaseConfig404Schema = z.unknown() -export const getRollingReleaseConfigQueryResponseSchema = z.lazy(() => getRollingReleaseConfig200Schema); +export const getRollingReleaseConfigQueryResponseSchema = z.lazy(() => getRollingReleaseConfig200Schema) export const deleteRollingReleaseConfigPathParamsSchema = z.object({ - idOrName: z.string().describe('Project ID or project name (URL-encoded)') -}); + idOrName: z.string().describe('Project ID or project name (URL-encoded)'), +}) export const deleteRollingReleaseConfigQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const deleteRollingReleaseConfig200Schema = z.unknown(); +export const deleteRollingReleaseConfig200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const deleteRollingReleaseConfig400Schema = z.unknown(); +export const deleteRollingReleaseConfig400Schema = z.unknown() -export const deleteRollingReleaseConfig401Schema = z.unknown(); +export const deleteRollingReleaseConfig401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const deleteRollingReleaseConfig403Schema = z.unknown(); +export const deleteRollingReleaseConfig403Schema = z.unknown() -export const deleteRollingReleaseConfig404Schema = z.unknown(); +export const deleteRollingReleaseConfig404Schema = z.unknown() -export const deleteRollingReleaseConfigMutationResponseSchema = z.lazy(() => deleteRollingReleaseConfig200Schema); +export const deleteRollingReleaseConfigMutationResponseSchema = z.lazy(() => deleteRollingReleaseConfig200Schema) export const updateRollingReleaseConfigPathParamsSchema = z.object({ - idOrName: z.string().describe('Project ID or project name (URL-encoded)') -}); + idOrName: z.string().describe('Project ID or project name (URL-encoded)'), +}) export const updateRollingReleaseConfigQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const updateRollingReleaseConfig200Schema = z.unknown(); +export const updateRollingReleaseConfig200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const updateRollingReleaseConfig400Schema = z.unknown(); +export const updateRollingReleaseConfig400Schema = z.unknown() -export const updateRollingReleaseConfig401Schema = z.unknown(); +export const updateRollingReleaseConfig401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const updateRollingReleaseConfig403Schema = z.unknown(); +export const updateRollingReleaseConfig403Schema = z.unknown() -export const updateRollingReleaseConfig404Schema = z.unknown(); +export const updateRollingReleaseConfig404Schema = z.unknown() -export const updateRollingReleaseConfigMutationResponseSchema = z.lazy(() => updateRollingReleaseConfig200Schema); +export const updateRollingReleaseConfigMutationResponseSchema = z.lazy(() => updateRollingReleaseConfig200Schema) export const getRollingReleasePathParamsSchema = z.object({ - idOrName: z.string().describe('Project ID or project name (URL-encoded)') -}); + idOrName: z.string().describe('Project ID or project name (URL-encoded)'), +}) export const getRollingReleaseQueryParamsSchema = z .object({ state: z.enum(['ACTIVE', 'COMPLETE', 'ABORTED']).describe('Filter by rolling release state').optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const getRollingRelease200Schema = z.unknown(); +export const getRollingRelease200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const getRollingRelease400Schema = z.unknown(); +export const getRollingRelease400Schema = z.unknown() -export const getRollingRelease401Schema = z.unknown(); +export const getRollingRelease401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getRollingRelease403Schema = z.unknown(); +export const getRollingRelease403Schema = z.unknown() -export const getRollingRelease404Schema = z.unknown(); +export const getRollingRelease404Schema = z.unknown() -export const getRollingReleaseQueryResponseSchema = z.lazy(() => getRollingRelease200Schema); +export const getRollingReleaseQueryResponseSchema = z.lazy(() => getRollingRelease200Schema) export const approveRollingReleaseStagePathParamsSchema = z.object({ - idOrName: z.string().describe('Project ID or project name (URL-encoded)') -}); + idOrName: z.string().describe('Project ID or project name (URL-encoded)'), +}) export const approveRollingReleaseStageQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const approveRollingReleaseStage200Schema = z.unknown(); +export const approveRollingReleaseStage200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const approveRollingReleaseStage400Schema = z.unknown(); +export const approveRollingReleaseStage400Schema = z.unknown() -export const approveRollingReleaseStage401Schema = z.unknown(); +export const approveRollingReleaseStage401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const approveRollingReleaseStage403Schema = z.unknown(); +export const approveRollingReleaseStage403Schema = z.unknown() -export const approveRollingReleaseStage404Schema = z.unknown(); +export const approveRollingReleaseStage404Schema = z.unknown() -export const approveRollingReleaseStage500Schema = z.unknown(); +export const approveRollingReleaseStage500Schema = z.unknown() -export const approveRollingReleaseStageMutationResponseSchema = z.lazy(() => approveRollingReleaseStage200Schema); +export const approveRollingReleaseStageMutationResponseSchema = z.lazy(() => approveRollingReleaseStage200Schema) export const completeRollingReleasePathParamsSchema = z.object({ - idOrName: z.string().describe('Project ID or project name (URL-encoded)') -}); + idOrName: z.string().describe('Project ID or project name (URL-encoded)'), +}) export const completeRollingReleaseQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const completeRollingRelease200Schema = z.unknown(); +export const completeRollingRelease200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const completeRollingRelease400Schema = z.unknown(); +export const completeRollingRelease400Schema = z.unknown() -export const completeRollingRelease401Schema = z.unknown(); +export const completeRollingRelease401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const completeRollingRelease403Schema = z.unknown(); +export const completeRollingRelease403Schema = z.unknown() -export const completeRollingRelease404Schema = z.unknown(); +export const completeRollingRelease404Schema = z.unknown() -export const completeRollingReleaseMutationResponseSchema = z.lazy(() => completeRollingRelease200Schema); +export const completeRollingReleaseMutationResponseSchema = z.lazy(() => completeRollingRelease200Schema) export const createProjectTransferRequestPathParamsSchema = z.object({ - idOrName: z.string().describe('The ID or name of the project to transfer.') -}); + idOrName: z.string().describe('The ID or name of the project to transfer.'), +}) export const createProjectTransferRequestQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description The project transfer request has been initiated successfully. */ -export const createProjectTransferRequest200Schema = z.unknown(); +export const createProjectTransferRequest200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const createProjectTransferRequest400Schema = z.unknown(); +export const createProjectTransferRequest400Schema = z.unknown() -export const createProjectTransferRequest401Schema = z.unknown(); +export const createProjectTransferRequest401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const createProjectTransferRequest403Schema = z.unknown(); +export const createProjectTransferRequest403Schema = z.unknown() -export const createProjectTransferRequestMutationResponseSchema = z.lazy(() => createProjectTransferRequest200Schema); +export const createProjectTransferRequestMutationResponseSchema = z.lazy(() => createProjectTransferRequest200Schema) export const acceptProjectTransferRequestPathParamsSchema = z.object({ - code: z.string().describe('The code of the project transfer request.') -}); + code: z.string().describe('The code of the project transfer request.'), +}) export const acceptProjectTransferRequestQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description The project has been transferred successfully. */ -export const acceptProjectTransferRequest202Schema = z.unknown(); +export const acceptProjectTransferRequest202Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const acceptProjectTransferRequest400Schema = z.unknown(); +export const acceptProjectTransferRequest400Schema = z.unknown() -export const acceptProjectTransferRequest401Schema = z.unknown(); +export const acceptProjectTransferRequest401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const acceptProjectTransferRequest403Schema = z.unknown(); +export const acceptProjectTransferRequest403Schema = z.unknown() -export const acceptProjectTransferRequest404Schema = z.unknown(); +export const acceptProjectTransferRequest404Schema = z.unknown() -export const acceptProjectTransferRequest422Schema = z.unknown(); +export const acceptProjectTransferRequest422Schema = z.unknown() -export const acceptProjectTransferRequestMutationResponseSchema = z.lazy(() => acceptProjectTransferRequest202Schema); +export const acceptProjectTransferRequestMutationResponseSchema = z.lazy(() => acceptProjectTransferRequest202Schema) export const updateProjectProtectionBypassPathParamsSchema = z.object({ - idOrName: z.string().describe('The unique project identifier or the project name') -}); + idOrName: z.string().describe('The unique project identifier or the project name'), +}) export const updateProjectProtectionBypassQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const updateProjectProtectionBypass200Schema = z.unknown(); +export const updateProjectProtectionBypass200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const updateProjectProtectionBypass400Schema = z.unknown(); +export const updateProjectProtectionBypass400Schema = z.unknown() -export const updateProjectProtectionBypass401Schema = z.unknown(); +export const updateProjectProtectionBypass401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const updateProjectProtectionBypass403Schema = z.unknown(); +export const updateProjectProtectionBypass403Schema = z.unknown() -export const updateProjectProtectionBypass404Schema = z.unknown(); +export const updateProjectProtectionBypass404Schema = z.unknown() -export const updateProjectProtectionBypass409Schema = z.unknown(); +export const updateProjectProtectionBypass409Schema = z.unknown() -export const updateProjectProtectionBypassMutationResponseSchema = z.lazy(() => updateProjectProtectionBypass200Schema); +export const updateProjectProtectionBypassMutationResponseSchema = z.lazy(() => updateProjectProtectionBypass200Schema) export const requestPromotePathParamsSchema = z.object({ projectId: z.string(), - deploymentId: z.string() -}); + deploymentId: z.string(), +}) export const requestPromoteQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const requestPromote201Schema = z.unknown(); +export const requestPromote201Schema = z.unknown() -export const requestPromote202Schema = z.unknown(); +export const requestPromote202Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const requestPromote400Schema = z.unknown(); +export const requestPromote400Schema = z.unknown() -export const requestPromote401Schema = z.unknown(); +export const requestPromote401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const requestPromote403Schema = z.unknown(); +export const requestPromote403Schema = z.unknown() -export const requestPromote409Schema = z.unknown(); +export const requestPromote409Schema = z.unknown() -export const requestPromoteMutationResponseSchema = z.union([ - z.lazy(() => requestPromote201Schema), - z.lazy(() => requestPromote202Schema) -]); +export const requestPromoteMutationResponseSchema = z.union([z.lazy(() => requestPromote201Schema), z.lazy(() => requestPromote202Schema)]) export const listPromoteAliasesPathParamsSchema = z.object({ - projectId: z.string() -}); + projectId: z.string(), +}) export const listPromoteAliasesQueryParamsSchema = z .object({ - limit: z.coerce - .number() - .max(100) - .describe('Maximum number of aliases to list from a request (max 100).') - .optional(), + limit: z.coerce.number().max(100).describe('Maximum number of aliases to list from a request (max 100).').optional(), since: z.coerce.number().describe('Get aliases created after this epoch timestamp.').optional(), until: z.coerce.number().describe('Get aliases created before this epoch timestamp.').optional(), - failedOnly: z - .boolean() - .describe('Filter results down to aliases that failed to map to the requested deployment') - .optional(), + failedOnly: z.boolean().describe('Filter results down to aliases that failed to map to the requested deployment').optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const listPromoteAliases200Schema = z.unknown(); +export const listPromoteAliases200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const listPromoteAliases400Schema = z.unknown(); +export const listPromoteAliases400Schema = z.unknown() -export const listPromoteAliases401Schema = z.unknown(); +export const listPromoteAliases401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const listPromoteAliases403Schema = z.unknown(); +export const listPromoteAliases403Schema = z.unknown() -export const listPromoteAliases404Schema = z.unknown(); +export const listPromoteAliases404Schema = z.unknown() -export const listPromoteAliasesQueryResponseSchema = z.lazy(() => listPromoteAliases200Schema); +export const listPromoteAliasesQueryResponseSchema = z.lazy(() => listPromoteAliases200Schema) export const pauseProjectPathParamsSchema = z.object({ - projectId: z.string().describe('The unique project identifier') -}); + projectId: z.string().describe('The unique project identifier'), +}) export const pauseProjectQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const pauseProject200Schema = z.unknown(); +export const pauseProject200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const pauseProject400Schema = z.unknown(); +export const pauseProject400Schema = z.unknown() -export const pauseProject401Schema = z.unknown(); +export const pauseProject401Schema = z.unknown() /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export const pauseProject402Schema = z.unknown(); +export const pauseProject402Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const pauseProject403Schema = z.unknown(); +export const pauseProject403Schema = z.unknown() -export const pauseProject500Schema = z.unknown(); +export const pauseProject500Schema = z.unknown() -export const pauseProjectMutationResponseSchema = z.lazy(() => pauseProject200Schema); +export const pauseProjectMutationResponseSchema = z.lazy(() => pauseProject200Schema) export const unpauseProjectPathParamsSchema = z.object({ - projectId: z.string().describe('The unique project identifier') -}); + projectId: z.string().describe('The unique project identifier'), +}) export const unpauseProjectQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const unpauseProject200Schema = z.unknown(); +export const unpauseProject200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const unpauseProject400Schema = z.unknown(); +export const unpauseProject400Schema = z.unknown() -export const unpauseProject401Schema = z.unknown(); +export const unpauseProject401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const unpauseProject403Schema = z.unknown(); +export const unpauseProject403Schema = z.unknown() -export const unpauseProject500Schema = z.unknown(); +export const unpauseProject500Schema = z.unknown() -export const unpauseProjectMutationResponseSchema = z.lazy(() => unpauseProject200Schema); +export const unpauseProjectMutationResponseSchema = z.lazy(() => unpauseProject200Schema) export const updateAttackChallengeModeQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const updateAttackChallengeMode200Schema = z.unknown(); +export const updateAttackChallengeMode200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid. */ -export const updateAttackChallengeMode400Schema = z.unknown(); +export const updateAttackChallengeMode400Schema = z.unknown() -export const updateAttackChallengeMode401Schema = z.unknown(); +export const updateAttackChallengeMode401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const updateAttackChallengeMode403Schema = z.unknown(); +export const updateAttackChallengeMode403Schema = z.unknown() -export const updateAttackChallengeMode404Schema = z.unknown(); +export const updateAttackChallengeMode404Schema = z.unknown() -export const updateAttackChallengeModeMutationResponseSchema = z.lazy(() => updateAttackChallengeMode200Schema); +export const updateAttackChallengeModeMutationResponseSchema = z.lazy(() => updateAttackChallengeMode200Schema) export const putFirewallConfigQueryParamsSchema = z.object({ projectId: z.string(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() -}); + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), +}) -export const putFirewallConfig200Schema = z.unknown(); +export const putFirewallConfig200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const putFirewallConfig400Schema = z.unknown(); +export const putFirewallConfig400Schema = z.unknown() -export const putFirewallConfig401Schema = z.unknown(); +export const putFirewallConfig401Schema = z.unknown() -export const putFirewallConfig402Schema = z.unknown(); +export const putFirewallConfig402Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const putFirewallConfig403Schema = z.unknown(); +export const putFirewallConfig403Schema = z.unknown() -export const putFirewallConfig404Schema = z.unknown(); +export const putFirewallConfig404Schema = z.unknown() -export const putFirewallConfig500Schema = z.unknown(); +export const putFirewallConfig500Schema = z.unknown() -export const putFirewallConfigMutationResponseSchema = z.lazy(() => putFirewallConfig200Schema); +export const putFirewallConfigMutationResponseSchema = z.lazy(() => putFirewallConfig200Schema) export const updateFirewallConfigQueryParamsSchema = z.object({ projectId: z.string(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() -}); + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), +}) -export const updateFirewallConfig200Schema = z.unknown(); +export const updateFirewallConfig200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const updateFirewallConfig400Schema = z.unknown(); +export const updateFirewallConfig400Schema = z.unknown() -export const updateFirewallConfig401Schema = z.unknown(); +export const updateFirewallConfig401Schema = z.unknown() -export const updateFirewallConfig402Schema = z.unknown(); +export const updateFirewallConfig402Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const updateFirewallConfig403Schema = z.unknown(); +export const updateFirewallConfig403Schema = z.unknown() -export const updateFirewallConfig404Schema = z.unknown(); +export const updateFirewallConfig404Schema = z.unknown() -export const updateFirewallConfig500Schema = z.unknown(); +export const updateFirewallConfig500Schema = z.unknown() -export const updateFirewallConfigMutationResponseSchema = z.lazy(() => updateFirewallConfig200Schema); +export const updateFirewallConfigMutationResponseSchema = z.lazy(() => updateFirewallConfig200Schema) export const getFirewallConfigPathParamsSchema = z.object({ - configVersion: z.string() -}); + configVersion: z.string(), +}) export const getFirewallConfigQueryParamsSchema = z.object({ projectId: z.string(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() -}); + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), +}) /** * @description If the firewall configuration includes a [custom managed ruleset](https://vercel.com/docs/security/vercel-waf/managed-rulesets), it will include a `crs` item that has the following values: sd: Scanner Detection ma: Multipart Attack lfi: Local File Inclusion Attack rfi: Remote File Inclusion Attack rce: Remote Execution Attack php: PHP Attack gen: Generic Attack xss: XSS Attack sqli: SQL Injection Attack sf: Session Fixation Attack java: Java Attack */ -export const getFirewallConfig200Schema = z.unknown(); +export const getFirewallConfig200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const getFirewallConfig400Schema = z.unknown(); +export const getFirewallConfig400Schema = z.unknown() -export const getFirewallConfig401Schema = z.unknown(); +export const getFirewallConfig401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getFirewallConfig403Schema = z.unknown(); +export const getFirewallConfig403Schema = z.unknown() -export const getFirewallConfig404Schema = z.unknown(); +export const getFirewallConfig404Schema = z.unknown() -export const getFirewallConfigQueryResponseSchema = z.lazy(() => getFirewallConfig200Schema); +export const getFirewallConfigQueryResponseSchema = z.lazy(() => getFirewallConfig200Schema) export const getActiveAttackStatusQueryParamsSchema = z.object({ projectId: z.string(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() -}); + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), +}) -export const getActiveAttackStatus200Schema = z.unknown(); +export const getActiveAttackStatus200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const getActiveAttackStatus400Schema = z.unknown(); +export const getActiveAttackStatus400Schema = z.unknown() -export const getActiveAttackStatus401Schema = z.unknown(); +export const getActiveAttackStatus401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getActiveAttackStatus403Schema = z.unknown(); +export const getActiveAttackStatus403Schema = z.unknown() -export const getActiveAttackStatus404Schema = z.unknown(); +export const getActiveAttackStatus404Schema = z.unknown() -export const getActiveAttackStatusQueryResponseSchema = z.lazy(() => getActiveAttackStatus200Schema); +export const getActiveAttackStatusQueryResponseSchema = z.lazy(() => getActiveAttackStatus200Schema) export const getBypassIpQueryParamsSchema = z.object({ projectId: z.string(), - limit: z.coerce.number().max(128).optional(), + limit: z.coerce.number().max(256).optional(), sourceIp: z.string().max(49).describe('Filter by source IP').optional(), domain: z .string() @@ -7764,84 +7355,84 @@ export const getBypassIpQueryParamsSchema = z.object({ projectScope: z.boolean().describe('Filter by project scoped rules').optional(), offset: z.string().max(2560).describe('Used for pagination. Retrieves results after the provided id').optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() -}); + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), +}) -export const getBypassIp200Schema = z.unknown(); +export const getBypassIp200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const getBypassIp400Schema = z.unknown(); +export const getBypassIp400Schema = z.unknown() -export const getBypassIp401Schema = z.unknown(); +export const getBypassIp401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getBypassIp403Schema = z.unknown(); +export const getBypassIp403Schema = z.unknown() -export const getBypassIp404Schema = z.unknown(); +export const getBypassIp404Schema = z.unknown() -export const getBypassIp500Schema = z.unknown(); +export const getBypassIp500Schema = z.unknown() -export const getBypassIpQueryResponseSchema = z.lazy(() => getBypassIp200Schema); +export const getBypassIpQueryResponseSchema = z.lazy(() => getBypassIp200Schema) export const addBypassIpQueryParamsSchema = z.object({ projectId: z.string(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() -}); + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), +}) -export const addBypassIp200Schema = z.unknown(); +export const addBypassIp200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const addBypassIp400Schema = z.unknown(); +export const addBypassIp400Schema = z.unknown() -export const addBypassIp401Schema = z.unknown(); +export const addBypassIp401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const addBypassIp403Schema = z.unknown(); +export const addBypassIp403Schema = z.unknown() -export const addBypassIp404Schema = z.unknown(); +export const addBypassIp404Schema = z.unknown() -export const addBypassIp500Schema = z.unknown(); +export const addBypassIp500Schema = z.unknown() -export const addBypassIpMutationResponseSchema = z.lazy(() => addBypassIp200Schema); +export const addBypassIpMutationResponseSchema = z.lazy(() => addBypassIp200Schema) export const removeBypassIpQueryParamsSchema = z.object({ projectId: z.string(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() -}); + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), +}) -export const removeBypassIp200Schema = z.unknown(); +export const removeBypassIp200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const removeBypassIp400Schema = z.unknown(); +export const removeBypassIp400Schema = z.unknown() -export const removeBypassIp401Schema = z.unknown(); +export const removeBypassIp401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const removeBypassIp403Schema = z.unknown(); +export const removeBypassIp403Schema = z.unknown() -export const removeBypassIp404Schema = z.unknown(); +export const removeBypassIp404Schema = z.unknown() -export const removeBypassIp500Schema = z.unknown(); +export const removeBypassIp500Schema = z.unknown() -export const removeBypassIpMutationResponseSchema = z.lazy(() => removeBypassIp200Schema); +export const removeBypassIpMutationResponseSchema = z.lazy(() => removeBypassIp200Schema) export const getTeamMembersPathParamsSchema = z.object({ - teamId: z.string() -}); + teamId: z.string(), +}) export const getTeamMembersQueryParamsSchema = z .object({ @@ -7849,411 +7440,396 @@ export const getTeamMembersQueryParamsSchema = z since: z.coerce.number().describe('Timestamp in milliseconds to only include members added since then.').optional(), until: z.coerce.number().describe('Timestamp in milliseconds to only include members added until then.').optional(), search: z.string().describe('Search team members by their name, username, and email.').optional(), - role: z - .enum(['OWNER', 'MEMBER', 'DEVELOPER', 'VIEWER', 'BILLING', 'CONTRIBUTOR']) - .describe('Only return members with the specified team role.') - .optional(), + role: z.enum(['OWNER', 'MEMBER', 'DEVELOPER', 'VIEWER', 'BILLING', 'CONTRIBUTOR']).describe('Only return members with the specified team role.').optional(), excludeProject: z.string().describe('Exclude members who belong to the specified project.').optional(), - eligibleMembersForProjectId: z - .string() - .describe('Include team members who are eligible to be members of the specified project.') - .optional() + eligibleMembersForProjectId: z.string().describe('Include team members who are eligible to be members of the specified project.').optional(), }) - .optional(); + .optional() -export const getTeamMembers200Schema = z.unknown(); +export const getTeamMembers200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const getTeamMembers400Schema = z.unknown(); +export const getTeamMembers400Schema = z.unknown() -export const getTeamMembers401Schema = z.unknown(); +export const getTeamMembers401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getTeamMembers403Schema = z.unknown(); +export const getTeamMembers403Schema = z.unknown() -export const getTeamMembers404Schema = z.unknown(); +export const getTeamMembers404Schema = z.unknown() -export const getTeamMembersQueryResponseSchema = z.lazy(() => getTeamMembers200Schema); +export const getTeamMembersQueryResponseSchema = z.lazy(() => getTeamMembers200Schema) export const inviteUserToTeamPathParamsSchema = z.object({ - teamId: z.string() -}); + teamId: z.string(), +}) /** * @description The member was successfully added to the team */ -export const inviteUserToTeam200Schema = z.unknown(); +export const inviteUserToTeam200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nThe user already requested access to the team\nThe team reached the maximum allowed amount of members */ -export const inviteUserToTeam400Schema = z.unknown(); +export const inviteUserToTeam400Schema = z.unknown() -export const inviteUserToTeam401Schema = z.unknown(); +export const inviteUserToTeam401Schema = z.unknown() /** * @description The authenticated user must be a team owner to perform the action\nYou do not have permission to access this resource. */ -export const inviteUserToTeam403Schema = z.unknown(); +export const inviteUserToTeam403Schema = z.unknown() -export const inviteUserToTeam503Schema = z.unknown(); +export const inviteUserToTeam503Schema = z.unknown() -export const inviteUserToTeamMutationResponseSchema = z.lazy(() => inviteUserToTeam200Schema); +export const inviteUserToTeamMutationResponseSchema = z.lazy(() => inviteUserToTeam200Schema) export const requestAccessToTeamPathParamsSchema = z.object({ - teamId: z.string() -}); + teamId: z.string(), +}) /** * @description Successfuly requested access to the team. */ -export const requestAccessToTeam200Schema = z.unknown(); +export const requestAccessToTeam200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const requestAccessToTeam400Schema = z.unknown(); +export const requestAccessToTeam400Schema = z.unknown() -export const requestAccessToTeam401Schema = z.unknown(); +export const requestAccessToTeam401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const requestAccessToTeam403Schema = z.unknown(); +export const requestAccessToTeam403Schema = z.unknown() /** * @description The team was not found. */ -export const requestAccessToTeam404Schema = z.unknown(); +export const requestAccessToTeam404Schema = z.unknown() -export const requestAccessToTeam503Schema = z.unknown(); +export const requestAccessToTeam503Schema = z.unknown() -export const requestAccessToTeamMutationResponseSchema = z.lazy(() => requestAccessToTeam200Schema); +export const requestAccessToTeamMutationResponseSchema = z.lazy(() => requestAccessToTeam200Schema) export const getTeamAccessRequestPathParamsSchema = z.object({ userId: z.string(), - teamId: z.string() -}); + teamId: z.string(), +}) /** * @description Successfully */ -export const getTeamAccessRequest200Schema = z.unknown(); +export const getTeamAccessRequest200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid.\nUser is already a confirmed member of the team and did not request access. Only visible when the authenticated user does have access to the team. */ -export const getTeamAccessRequest400Schema = z.unknown(); +export const getTeamAccessRequest400Schema = z.unknown() -export const getTeamAccessRequest401Schema = z.unknown(); +export const getTeamAccessRequest401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getTeamAccessRequest403Schema = z.unknown(); +export const getTeamAccessRequest403Schema = z.unknown() /** * @description The provided user doesn\'t have a membership.\nTeam was not found. */ -export const getTeamAccessRequest404Schema = z.unknown(); +export const getTeamAccessRequest404Schema = z.unknown() -export const getTeamAccessRequestQueryResponseSchema = z.lazy(() => getTeamAccessRequest200Schema); +export const getTeamAccessRequestQueryResponseSchema = z.lazy(() => getTeamAccessRequest200Schema) export const joinTeamPathParamsSchema = z.object({ - teamId: z.string() -}); + teamId: z.string(), +}) /** * @description Successfully joined a team. */ -export const joinTeam200Schema = z.unknown(); +export const joinTeam200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid. */ -export const joinTeam400Schema = z.unknown(); +export const joinTeam400Schema = z.unknown() -export const joinTeam401Schema = z.unknown(); +export const joinTeam401Schema = z.unknown() -export const joinTeam402Schema = z.unknown(); +export const joinTeam402Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const joinTeam403Schema = z.unknown(); +export const joinTeam403Schema = z.unknown() -export const joinTeam404Schema = z.unknown(); +export const joinTeam404Schema = z.unknown() -export const joinTeamMutationResponseSchema = z.lazy(() => joinTeam200Schema); +export const joinTeamMutationResponseSchema = z.lazy(() => joinTeam200Schema) export const updateTeamMemberPathParamsSchema = z.object({ uid: z.string().describe('The ID of the member.'), - teamId: z.string() -}); + teamId: z.string(), +}) /** * @description Successfully updated the membership. */ -export const updateTeamMember200Schema = z.unknown(); +export const updateTeamMember200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nCannot disconnect SSO from a Team member that does not have a SSO connection.\nCannot confirm a member that is already confirmed.\nCannot confirm a member that did not request access. */ -export const updateTeamMember400Schema = z.unknown(); +export const updateTeamMember400Schema = z.unknown() /** * @description Team members can only be updated by an owner, or by the authenticated user if they are only disconnecting their SAML connection to the Team. */ -export const updateTeamMember401Schema = z.unknown(); +export const updateTeamMember401Schema = z.unknown() -export const updateTeamMember402Schema = z.unknown(); +export const updateTeamMember402Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const updateTeamMember403Schema = z.unknown(); +export const updateTeamMember403Schema = z.unknown() /** * @description The provided user is not part of this team.\nA user with the specified ID does not exist. */ -export const updateTeamMember404Schema = z.unknown(); +export const updateTeamMember404Schema = z.unknown() -export const updateTeamMember500Schema = z.unknown(); +export const updateTeamMember500Schema = z.unknown() -export const updateTeamMemberMutationResponseSchema = z.lazy(() => updateTeamMember200Schema); +export const updateTeamMemberMutationResponseSchema = z.lazy(() => updateTeamMember200Schema) export const removeTeamMemberPathParamsSchema = z.object({ uid: z.string().describe('The user ID of the member.'), - teamId: z.string() -}); + teamId: z.string(), +}) export const removeTeamMemberQueryParamsSchema = z .object({ - newDefaultTeamId: z - .string() - .describe('The ID of the team to set as the new default team for the Northstar user.') - .optional() + newDefaultTeamId: z.string().describe('The ID of the team to set as the new default team for the Northstar user.').optional(), }) - .optional(); + .optional() /** * @description Successfully removed a member of the team. */ -export const removeTeamMember200Schema = z.unknown(); +export const removeTeamMember200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const removeTeamMember400Schema = z.unknown(); +export const removeTeamMember400Schema = z.unknown() -export const removeTeamMember401Schema = z.unknown(); +export const removeTeamMember401Schema = z.unknown() /** * @description You do not have permission to access this resource.\nNot authorized to update the team. */ -export const removeTeamMember403Schema = z.unknown(); +export const removeTeamMember403Schema = z.unknown() -export const removeTeamMember404Schema = z.unknown(); +export const removeTeamMember404Schema = z.unknown() -export const removeTeamMember503Schema = z.unknown(); +export const removeTeamMember503Schema = z.unknown() -export const removeTeamMemberMutationResponseSchema = z.lazy(() => removeTeamMember200Schema); +export const removeTeamMemberMutationResponseSchema = z.lazy(() => removeTeamMember200Schema) export const getTeamPathParamsSchema = z.object({ - teamId: z.string().describe('The Team identifier to perform the request on behalf of.') -}); + teamId: z.string().describe('The Team identifier to perform the request on behalf of.'), +}) export const getTeamQueryParamsSchema = z .object({ - slug: z.string().optional() + slug: z.string().optional(), }) - .optional(); + .optional() /** * @description The requested team */ -export const getTeam200Schema = z.unknown(); +export const getTeam200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const getTeam400Schema = z.unknown(); +export const getTeam400Schema = z.unknown() -export const getTeam401Schema = z.unknown(); +export const getTeam401Schema = z.unknown() /** * @description You do not have permission to access this resource.\nNot authorized to access the team. */ -export const getTeam403Schema = z.unknown(); +export const getTeam403Schema = z.unknown() /** * @description Team was not found. */ -export const getTeam404Schema = z.unknown(); +export const getTeam404Schema = z.unknown() -export const getTeamQueryResponseSchema = z.lazy(() => getTeam200Schema); +export const getTeamQueryResponseSchema = z.lazy(() => getTeam200Schema) export const patchTeamPathParamsSchema = z.object({ - teamId: z.string().describe('The Team identifier to perform the request on behalf of.') -}); + teamId: z.string().describe('The Team identifier to perform the request on behalf of.'), +}) export const patchTeamQueryParamsSchema = z .object({ - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const patchTeam200Schema = z.unknown(); +export const patchTeam200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid. */ -export const patchTeam400Schema = z.unknown(); +export const patchTeam400Schema = z.unknown() -export const patchTeam401Schema = z.unknown(); +export const patchTeam401Schema = z.unknown() /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export const patchTeam402Schema = z.unknown(); +export const patchTeam402Schema = z.unknown() /** * @description You do not have permission to access this resource.\nNot authorized to update the team. Must be an OWNER. */ -export const patchTeam403Schema = z.unknown(); +export const patchTeam403Schema = z.unknown() /** * @description Owner does not have protection add-on\nAdvanced Deployment Protection is not available for the user plan */ -export const patchTeam428Schema = z.unknown(); +export const patchTeam428Schema = z.unknown() -export const patchTeamMutationResponseSchema = z.lazy(() => patchTeam200Schema); +export const patchTeamMutationResponseSchema = z.lazy(() => patchTeam200Schema) export const getTeamsQueryParamsSchema = z .object({ limit: z.coerce.number().describe('Maximum number of Teams which may be returned.').optional(), - since: z.coerce - .number() - .describe('Timestamp (in milliseconds) to only include Teams created since then.') - .optional(), - until: z.coerce - .number() - .describe('Timestamp (in milliseconds) to only include Teams created until then.') - .optional() + since: z.coerce.number().describe('Timestamp (in milliseconds) to only include Teams created since then.').optional(), + until: z.coerce.number().describe('Timestamp (in milliseconds) to only include Teams created until then.').optional(), }) - .optional(); + .optional() /** * @description A paginated list of teams. */ -export const getTeams200Schema = z.unknown(); +export const getTeams200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const getTeams400Schema = z.unknown(); +export const getTeams400Schema = z.unknown() -export const getTeams401Schema = z.unknown(); +export const getTeams401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getTeams403Schema = z.unknown(); +export const getTeams403Schema = z.unknown() -export const getTeamsQueryResponseSchema = z.lazy(() => getTeams200Schema); +export const getTeamsQueryResponseSchema = z.lazy(() => getTeams200Schema) /** * @description The team was created successfully */ -export const createTeam200Schema = z.unknown(); +export const createTeam200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nThe slug is already in use */ -export const createTeam400Schema = z.unknown(); +export const createTeam400Schema = z.unknown() -export const createTeam401Schema = z.unknown(); +export const createTeam401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const createTeam403Schema = z.unknown(); +export const createTeam403Schema = z.unknown() -export const createTeamMutationResponseSchema = z.lazy(() => createTeam200Schema); +export const createTeamMutationResponseSchema = z.lazy(() => createTeam200Schema) export const deleteTeamPathParamsSchema = z.object({ - teamId: z.string().describe('The Team identifier to perform the request on behalf of.') -}); + teamId: z.string().describe('The Team identifier to perform the request on behalf of.'), +}) export const deleteTeamQueryParamsSchema = z .object({ newDefaultTeamId: z.string().describe('Id of the team to be set as the new default team').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description The Team was successfully deleted */ -export const deleteTeam200Schema = z.unknown(); +export const deleteTeam200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const deleteTeam400Schema = z.unknown(); +export const deleteTeam400Schema = z.unknown() -export const deleteTeam401Schema = z.unknown(); +export const deleteTeam401Schema = z.unknown() -export const deleteTeam402Schema = z.unknown(); +export const deleteTeam402Schema = z.unknown() /** * @description You do not have permission to access this resource.\nThe authenticated user can\'t access the team */ -export const deleteTeam403Schema = z.unknown(); +export const deleteTeam403Schema = z.unknown() -export const deleteTeam409Schema = z.unknown(); +export const deleteTeam409Schema = z.unknown() -export const deleteTeamMutationResponseSchema = z.lazy(() => deleteTeam200Schema); +export const deleteTeamMutationResponseSchema = z.lazy(() => deleteTeam200Schema) export const deleteTeamInviteCodePathParamsSchema = z.object({ inviteId: z.string().describe('The Team invite code ID.'), - teamId: z.string() -}); + teamId: z.string(), +}) /** * @description Successfully deleted Team invite code. */ -export const deleteTeamInviteCode200Schema = z.unknown(); +export const deleteTeamInviteCode200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const deleteTeamInviteCode400Schema = z.unknown(); +export const deleteTeamInviteCode400Schema = z.unknown() -export const deleteTeamInviteCode401Schema = z.unknown(); +export const deleteTeamInviteCode401Schema = z.unknown() /** * @description You do not have permission to access this resource.\nInvite managed by directory sync\nNot authorized to access this team. */ -export const deleteTeamInviteCode403Schema = z.unknown(); +export const deleteTeamInviteCode403Schema = z.unknown() /** * @description Team invite code not found. */ -export const deleteTeamInviteCode404Schema = z.unknown(); +export const deleteTeamInviteCode404Schema = z.unknown() -export const deleteTeamInviteCodeMutationResponseSchema = z.lazy(() => deleteTeamInviteCode200Schema); +export const deleteTeamInviteCodeMutationResponseSchema = z.lazy(() => deleteTeamInviteCode200Schema) export const uploadFileQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() export const uploadFileHeaderParamsSchema = z .object({ @@ -8263,196 +7839,194 @@ export const uploadFileHeaderParamsSchema = z 'x-now-size': z.coerce.number().describe('The file size as an alternative to `Content-Length`').optional(), 'x-internal-v0-token': z .string() - .describe( - 'Shared secret token set by v0 deployments. When present and valid, the API applies an extended rate limit.' - ) - .optional() + .describe('Shared secret token set by v0 deployments. When present and valid, the API applies an extended rate limit.') + .optional(), }) - .optional(); + .optional() /** * @description File already uploaded\nFile successfully uploaded */ -export const uploadFile200Schema = z.unknown(); +export const uploadFile200Schema = z.unknown() /** * @description One of the provided values in the headers is invalid\nDigest is not valid\nFile size is not valid */ -export const uploadFile400Schema = z.unknown(); +export const uploadFile400Schema = z.unknown() -export const uploadFile401Schema = z.unknown(); +export const uploadFile401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const uploadFile403Schema = z.unknown(); +export const uploadFile403Schema = z.unknown() -export const uploadFileMutationResponseSchema = z.lazy(() => uploadFile200Schema); +export const uploadFileMutationResponseSchema = z.lazy(() => uploadFile200Schema) -export const listAuthTokens200Schema = z.unknown(); +export const listAuthTokens200Schema = z.unknown() -export const listAuthTokens400Schema = z.unknown(); +export const listAuthTokens400Schema = z.unknown() -export const listAuthTokens401Schema = z.unknown(); +export const listAuthTokens401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const listAuthTokens403Schema = z.unknown(); +export const listAuthTokens403Schema = z.unknown() -export const listAuthTokensQueryResponseSchema = z.lazy(() => listAuthTokens200Schema); +export const listAuthTokensQueryResponseSchema = z.lazy(() => listAuthTokens200Schema) export const createAuthTokenQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description Successful response. */ -export const createAuthToken200Schema = z.unknown(); +export const createAuthToken200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid. */ -export const createAuthToken400Schema = z.unknown(); +export const createAuthToken400Schema = z.unknown() -export const createAuthToken401Schema = z.unknown(); +export const createAuthToken401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const createAuthToken403Schema = z.unknown(); +export const createAuthToken403Schema = z.unknown() -export const createAuthTokenMutationResponseSchema = z.lazy(() => createAuthToken200Schema); +export const createAuthTokenMutationResponseSchema = z.lazy(() => createAuthToken200Schema) export const getAuthTokenPathParamsSchema = z.object({ tokenId: z .string() .describe( - 'The identifier of the token to retrieve. The special value \\"current\\" may be supplied, which returns the metadata for the token that the current HTTP request is authenticated with.' - ) -}); + 'The identifier of the token to retrieve. The special value \\"current\\" may be supplied, which returns the metadata for the token that the current HTTP request is authenticated with.', + ), +}) /** * @description Successful response. */ -export const getAuthToken200Schema = z.unknown(); +export const getAuthToken200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const getAuthToken400Schema = z.unknown(); +export const getAuthToken400Schema = z.unknown() -export const getAuthToken401Schema = z.unknown(); +export const getAuthToken401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getAuthToken403Schema = z.unknown(); +export const getAuthToken403Schema = z.unknown() /** * @description Token not found with the requested `tokenId`. */ -export const getAuthToken404Schema = z.unknown(); +export const getAuthToken404Schema = z.unknown() -export const getAuthTokenQueryResponseSchema = z.lazy(() => getAuthToken200Schema); +export const getAuthTokenQueryResponseSchema = z.lazy(() => getAuthToken200Schema) export const deleteAuthTokenPathParamsSchema = z.object({ tokenId: z .string() .describe( - 'The identifier of the token to invalidate. The special value \\"current\\" may be supplied, which invalidates the token that the HTTP request was authenticated with.' - ) -}); + 'The identifier of the token to invalidate. The special value \\"current\\" may be supplied, which invalidates the token that the HTTP request was authenticated with.', + ), +}) /** * @description Authentication token successfully deleted. */ -export const deleteAuthToken200Schema = z.unknown(); +export const deleteAuthToken200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const deleteAuthToken400Schema = z.unknown(); +export const deleteAuthToken400Schema = z.unknown() -export const deleteAuthToken401Schema = z.unknown(); +export const deleteAuthToken401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const deleteAuthToken403Schema = z.unknown(); +export const deleteAuthToken403Schema = z.unknown() /** * @description Token not found with the requested `tokenId`. */ -export const deleteAuthToken404Schema = z.unknown(); +export const deleteAuthToken404Schema = z.unknown() -export const deleteAuthTokenMutationResponseSchema = z.lazy(() => deleteAuthToken200Schema); +export const deleteAuthTokenMutationResponseSchema = z.lazy(() => deleteAuthToken200Schema) /** * @description Successful response. */ -export const getAuthUser200Schema = z.unknown(); +export const getAuthUser200Schema = z.unknown() -export const getAuthUser400Schema = z.unknown(); +export const getAuthUser400Schema = z.unknown() -export const getAuthUser401Schema = z.unknown(); +export const getAuthUser401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getAuthUser403Schema = z.unknown(); +export const getAuthUser403Schema = z.unknown() -export const getAuthUser409Schema = z.unknown(); +export const getAuthUser409Schema = z.unknown() -export const getAuthUserQueryResponseSchema = z.lazy(() => getAuthUser200Schema); +export const getAuthUserQueryResponseSchema = z.lazy(() => getAuthUser200Schema) /** * @description Response indicating that the User deletion process has been initiated, and a confirmation email has been sent. */ -export const requestDelete202Schema = z.unknown(); +export const requestDelete202Schema = z.unknown() /** * @description One of the provided values in the request body is invalid. */ -export const requestDelete400Schema = z.unknown(); +export const requestDelete400Schema = z.unknown() -export const requestDelete401Schema = z.unknown(); +export const requestDelete401Schema = z.unknown() -export const requestDelete402Schema = z.unknown(); +export const requestDelete402Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const requestDelete403Schema = z.unknown(); +export const requestDelete403Schema = z.unknown() -export const requestDeleteMutationResponseSchema = z.lazy(() => requestDelete202Schema); +export const requestDeleteMutationResponseSchema = z.lazy(() => requestDelete202Schema) export const createWebhookQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const createWebhook200Schema = z.unknown(); +export const createWebhook200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid. */ -export const createWebhook400Schema = z.unknown(); +export const createWebhook400Schema = z.unknown() -export const createWebhook401Schema = z.unknown(); +export const createWebhook401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const createWebhook403Schema = z.unknown(); +export const createWebhook403Schema = z.unknown() -export const createWebhookMutationResponseSchema = z.lazy(() => createWebhook200Schema); +export const createWebhookMutationResponseSchema = z.lazy(() => createWebhook200Schema) export const getWebhooksQueryParamsSchema = z .object({ @@ -8461,159 +8035,159 @@ export const getWebhooksQueryParamsSchema = z .regex(/^[a-zA-z0-9_]+$/) .optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const getWebhooks200Schema = z.unknown(); +export const getWebhooks200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const getWebhooks400Schema = z.unknown(); +export const getWebhooks400Schema = z.unknown() -export const getWebhooks401Schema = z.unknown(); +export const getWebhooks401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getWebhooks403Schema = z.unknown(); +export const getWebhooks403Schema = z.unknown() -export const getWebhooksQueryResponseSchema = z.lazy(() => getWebhooks200Schema); +export const getWebhooksQueryResponseSchema = z.lazy(() => getWebhooks200Schema) export const getWebhookPathParamsSchema = z.object({ - id: z.string() -}); + id: z.string(), +}) export const getWebhookQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const getWebhook200Schema = z.unknown(); +export const getWebhook200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const getWebhook400Schema = z.unknown(); +export const getWebhook400Schema = z.unknown() -export const getWebhook401Schema = z.unknown(); +export const getWebhook401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getWebhook403Schema = z.unknown(); +export const getWebhook403Schema = z.unknown() -export const getWebhookQueryResponseSchema = z.lazy(() => getWebhook200Schema); +export const getWebhookQueryResponseSchema = z.lazy(() => getWebhook200Schema) export const deleteWebhookPathParamsSchema = z.object({ - id: z.string() -}); + id: z.string(), +}) export const deleteWebhookQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const deleteWebhook204Schema = z.unknown(); +export const deleteWebhook204Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const deleteWebhook400Schema = z.unknown(); +export const deleteWebhook400Schema = z.unknown() -export const deleteWebhook401Schema = z.unknown(); +export const deleteWebhook401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const deleteWebhook403Schema = z.unknown(); +export const deleteWebhook403Schema = z.unknown() -export const deleteWebhookMutationResponseSchema = z.lazy(() => deleteWebhook204Schema); +export const deleteWebhookMutationResponseSchema = z.lazy(() => deleteWebhook204Schema) export const listDeploymentAliasesPathParamsSchema = z.object({ - id: z.string().describe('The ID of the deployment the aliases should be listed for') -}); + id: z.string().describe('The ID of the deployment the aliases should be listed for'), +}) export const listDeploymentAliasesQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description The list of aliases assigned to the deployment */ -export const listDeploymentAliases200Schema = z.unknown(); +export const listDeploymentAliases200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const listDeploymentAliases400Schema = z.unknown(); +export const listDeploymentAliases400Schema = z.unknown() -export const listDeploymentAliases401Schema = z.unknown(); +export const listDeploymentAliases401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const listDeploymentAliases403Schema = z.unknown(); +export const listDeploymentAliases403Schema = z.unknown() /** * @description The deployment was not found */ -export const listDeploymentAliases404Schema = z.unknown(); +export const listDeploymentAliases404Schema = z.unknown() -export const listDeploymentAliasesQueryResponseSchema = z.lazy(() => listDeploymentAliases200Schema); +export const listDeploymentAliasesQueryResponseSchema = z.lazy(() => listDeploymentAliases200Schema) export const assignAliasPathParamsSchema = z.object({ - id: z.string().describe('The ID of the deployment the aliases should be listed for') -}); + id: z.string().describe('The ID of the deployment the aliases should be listed for'), +}) export const assignAliasQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description The alias was successfully assigned to the deployment */ -export const assignAlias200Schema = z.unknown(); +export const assignAlias200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nThe cert for the provided alias is not ready\nThe deployment is not READY and can not be aliased\nThe supplied alias is invalid */ -export const assignAlias400Schema = z.unknown(); +export const assignAlias400Schema = z.unknown() -export const assignAlias401Schema = z.unknown(); +export const assignAlias401Schema = z.unknown() /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export const assignAlias402Schema = z.unknown(); +export const assignAlias402Schema = z.unknown() /** * @description You do not have permission to access this resource.\nIf no .vercel.app alias exists then we fail (nothing to mirror) */ -export const assignAlias403Schema = z.unknown(); +export const assignAlias403Schema = z.unknown() /** * @description The domain used for the alias was not found\nThe deployment was not found */ -export const assignAlias404Schema = z.unknown(); +export const assignAlias404Schema = z.unknown() /** * @description The provided alias is already assigned to the given deployment\nThe domain is not allowed to be used */ -export const assignAlias409Schema = z.unknown(); +export const assignAlias409Schema = z.unknown() -export const assignAliasMutationResponseSchema = z.lazy(() => assignAlias200Schema); +export const assignAliasMutationResponseSchema = z.lazy(() => assignAlias200Schema) export const listAliasesQueryParamsSchema = z .object({ @@ -8626,604 +8200,582 @@ export const listAliasesQueryParamsSchema = z projectId: z.string().describe('Filter aliases from the given `projectId`').optional(), since: z.coerce.number().describe('Get aliases created after this JavaScript timestamp').optional(), until: z.coerce.number().describe('Get aliases created before this JavaScript timestamp').optional(), - rollbackDeploymentId: z - .string() - .describe('Get aliases that would be rolled back for the given deployment') - .optional(), + rollbackDeploymentId: z.string().describe('Get aliases that would be rolled back for the given deployment').optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description The paginated list of aliases */ -export const listAliases200Schema = z.unknown(); +export const listAliases200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const listAliases400Schema = z.unknown(); +export const listAliases400Schema = z.unknown() -export const listAliases401Schema = z.unknown(); +export const listAliases401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const listAliases403Schema = z.unknown(); +export const listAliases403Schema = z.unknown() -export const listAliases404Schema = z.unknown(); +export const listAliases404Schema = z.unknown() -export const listAliasesQueryResponseSchema = z.lazy(() => listAliases200Schema); +export const listAliasesQueryResponseSchema = z.lazy(() => listAliases200Schema) export const getAliasPathParamsSchema = z.object({ - idOrAlias: z.string().describe('The alias or alias ID to be retrieved') -}); + idOrAlias: z.string().describe('The alias or alias ID to be retrieved'), +}) export const getAliasQueryParamsSchema = z .object({ from: z.coerce.number().describe('Get the alias only if it was created after the provided timestamp').optional(), projectId: z.string().describe('Get the alias only if it is assigned to the provided project ID').optional(), - since: z.coerce - .number() - .describe('Get the alias only if it was created after this JavaScript timestamp') - .optional(), - until: z.coerce - .number() - .describe('Get the alias only if it was created before this JavaScript timestamp') - .optional(), + since: z.coerce.number().describe('Get the alias only if it was created after this JavaScript timestamp').optional(), + until: z.coerce.number().describe('Get the alias only if it was created before this JavaScript timestamp').optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description The alias information */ -export const getAlias200Schema = z.unknown(); +export const getAlias200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const getAlias400Schema = z.unknown(); +export const getAlias400Schema = z.unknown() -export const getAlias401Schema = z.unknown(); +export const getAlias401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getAlias403Schema = z.unknown(); +export const getAlias403Schema = z.unknown() /** * @description The alias was not found */ -export const getAlias404Schema = z.unknown(); +export const getAlias404Schema = z.unknown() -export const getAliasQueryResponseSchema = z.lazy(() => getAlias200Schema); +export const getAliasQueryResponseSchema = z.lazy(() => getAlias200Schema) export const deleteAliasPathParamsSchema = z.object({ - aliasId: z.string().describe('The ID or alias that will be removed') -}); + aliasId: z.string().describe('The ID or alias that will be removed'), +}) export const deleteAliasQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description The alias was successfully removed */ -export const deleteAlias200Schema = z.unknown(); +export const deleteAlias200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const deleteAlias400Schema = z.unknown(); +export const deleteAlias400Schema = z.unknown() -export const deleteAlias401Schema = z.unknown(); +export const deleteAlias401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const deleteAlias403Schema = z.unknown(); +export const deleteAlias403Schema = z.unknown() /** * @description The alias was not found */ -export const deleteAlias404Schema = z.unknown(); +export const deleteAlias404Schema = z.unknown() -export const deleteAliasMutationResponseSchema = z.lazy(() => deleteAlias200Schema); +export const deleteAliasMutationResponseSchema = z.lazy(() => deleteAlias200Schema) export const patchUrlProtectionBypassPathParamsSchema = z.object({ - id: z.string().describe('The alias or deployment ID') -}); + id: z.string().describe('The alias or deployment ID'), +}) export const patchUrlProtectionBypassQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const patchUrlProtectionBypass200Schema = z.unknown(); +export const patchUrlProtectionBypass200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const patchUrlProtectionBypass400Schema = z.unknown(); +export const patchUrlProtectionBypass400Schema = z.unknown() -export const patchUrlProtectionBypass401Schema = z.unknown(); +export const patchUrlProtectionBypass401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const patchUrlProtectionBypass403Schema = z.unknown(); +export const patchUrlProtectionBypass403Schema = z.unknown() -export const patchUrlProtectionBypass404Schema = z.unknown(); +export const patchUrlProtectionBypass404Schema = z.unknown() -export const patchUrlProtectionBypass409Schema = z.unknown(); +export const patchUrlProtectionBypass409Schema = z.unknown() -export const patchUrlProtectionBypass428Schema = z.unknown(); +export const patchUrlProtectionBypass428Schema = z.unknown() -export const patchUrlProtectionBypass500Schema = z.unknown(); +export const patchUrlProtectionBypass500Schema = z.unknown() -export const patchUrlProtectionBypassMutationResponseSchema = z.lazy(() => patchUrlProtectionBypass200Schema); +export const patchUrlProtectionBypassMutationResponseSchema = z.lazy(() => patchUrlProtectionBypass200Schema) -export const listCerts200Schema = z.unknown(); +export const listCerts200Schema = z.unknown() -export const listCerts400Schema = z.unknown(); +export const listCerts400Schema = z.unknown() -export const listCerts401Schema = z.unknown(); +export const listCerts401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const listCerts403Schema = z.unknown(); +export const listCerts403Schema = z.unknown() -export const listCertsQueryResponseSchema = z.lazy(() => listCerts200Schema); +export const listCertsQueryResponseSchema = z.lazy(() => listCerts200Schema) export const getCertByIdPathParamsSchema = z.object({ - id: z.string().describe('The cert id') -}); + id: z.string().describe('The cert id'), +}) export const getCertByIdQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const getCertById200Schema = z.unknown(); +export const getCertById200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const getCertById400Schema = z.unknown(); +export const getCertById400Schema = z.unknown() -export const getCertById401Schema = z.unknown(); +export const getCertById401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getCertById403Schema = z.unknown(); +export const getCertById403Schema = z.unknown() -export const getCertById404Schema = z.unknown(); +export const getCertById404Schema = z.unknown() -export const getCertByIdQueryResponseSchema = z.lazy(() => getCertById200Schema); +export const getCertByIdQueryResponseSchema = z.lazy(() => getCertById200Schema) export const removeCertPathParamsSchema = z.object({ - id: z.string().describe('The cert id to remove') -}); + id: z.string().describe('The cert id to remove'), +}) export const removeCertQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const removeCert200Schema = z.unknown(); +export const removeCert200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const removeCert400Schema = z.unknown(); +export const removeCert400Schema = z.unknown() -export const removeCert401Schema = z.unknown(); +export const removeCert401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const removeCert403Schema = z.unknown(); +export const removeCert403Schema = z.unknown() -export const removeCert404Schema = z.unknown(); +export const removeCert404Schema = z.unknown() -export const removeCertMutationResponseSchema = z.lazy(() => removeCert200Schema); +export const removeCertMutationResponseSchema = z.lazy(() => removeCert200Schema) export const issueCertQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const issueCert200Schema = z.unknown(); +export const issueCert200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid. */ -export const issueCert400Schema = z.unknown(); +export const issueCert400Schema = z.unknown() -export const issueCert401Schema = z.unknown(); +export const issueCert401Schema = z.unknown() /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export const issueCert402Schema = z.unknown(); +export const issueCert402Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const issueCert403Schema = z.unknown(); +export const issueCert403Schema = z.unknown() -export const issueCert404Schema = z.unknown(); +export const issueCert404Schema = z.unknown() -export const issueCert449Schema = z.unknown(); +export const issueCert449Schema = z.unknown() -export const issueCert500Schema = z.unknown(); +export const issueCert500Schema = z.unknown() -export const issueCertMutationResponseSchema = z.lazy(() => issueCert200Schema); +export const issueCertMutationResponseSchema = z.lazy(() => issueCert200Schema) export const uploadCertQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const uploadCert200Schema = z.unknown(); +export const uploadCert200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid. */ -export const uploadCert400Schema = z.unknown(); +export const uploadCert400Schema = z.unknown() -export const uploadCert401Schema = z.unknown(); +export const uploadCert401Schema = z.unknown() /** * @description This feature is only available for Enterprise customers. */ -export const uploadCert402Schema = z.unknown(); +export const uploadCert402Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const uploadCert403Schema = z.unknown(); +export const uploadCert403Schema = z.unknown() -export const uploadCertMutationResponseSchema = z.lazy(() => uploadCert200Schema); +export const uploadCertMutationResponseSchema = z.lazy(() => uploadCert200Schema) export const listDeploymentFilesPathParamsSchema = z.object({ - id: z.string().describe('The unique deployment identifier') -}); + id: z.string().describe('The unique deployment identifier'), +}) export const listDeploymentFilesQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description Retrieved the file tree successfully */ -export const listDeploymentFiles200Schema = z.unknown(); +export const listDeploymentFiles200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const listDeploymentFiles400Schema = z.unknown(); +export const listDeploymentFiles400Schema = z.unknown() -export const listDeploymentFiles401Schema = z.unknown(); +export const listDeploymentFiles401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const listDeploymentFiles403Schema = z.unknown(); +export const listDeploymentFiles403Schema = z.unknown() /** * @description File tree not found\nDeployment not found */ -export const listDeploymentFiles404Schema = z.unknown(); +export const listDeploymentFiles404Schema = z.unknown() -export const listDeploymentFilesQueryResponseSchema = z.lazy(() => listDeploymentFiles200Schema); +export const listDeploymentFilesQueryResponseSchema = z.lazy(() => listDeploymentFiles200Schema) export const getDeploymentFileContentsPathParamsSchema = z.object({ id: z.string().describe('The unique deployment identifier'), - fileId: z.string().describe('The unique file identifier') -}); + fileId: z.string().describe('The unique file identifier'), +}) export const getDeploymentFileContentsQueryParamsSchema = z .object({ path: z.string().describe('Path to the file to fetch (only for Git deployments)').optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description One of the provided values in the request query is invalid. */ -export const getDeploymentFileContents400Schema = z.unknown(); +export const getDeploymentFileContents400Schema = z.unknown() -export const getDeploymentFileContents401Schema = z.unknown(); +export const getDeploymentFileContents401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getDeploymentFileContents403Schema = z.unknown(); +export const getDeploymentFileContents403Schema = z.unknown() /** * @description File not found\nDeployment not found */ -export const getDeploymentFileContents404Schema = z.unknown(); +export const getDeploymentFileContents404Schema = z.unknown() /** * @description Invalid API version. */ -export const getDeploymentFileContents410Schema = z.unknown(); +export const getDeploymentFileContents410Schema = z.unknown() -export const getDeploymentFileContentsQueryResponseSchema = z.unknown(); +export const getDeploymentFileContentsQueryResponseSchema = z.unknown() export const getDeploymentsQueryParamsSchema = z .object({ app: z.string().describe('Name of the deployment.').optional(), - from: z.coerce - .number() - .describe('Gets the deployment created after this Date timestamp. (default: current time)') - .optional(), + from: z.coerce.number().describe('Gets the deployment created after this Date timestamp. (default: current time)').optional(), limit: z.coerce.number().describe('Maximum number of deployments to list from a request.').optional(), projectId: z.string().describe('Filter deployments from the given ID or name.').optional(), target: z.string().describe('Filter deployments based on the environment.').optional(), - to: z.coerce - .number() - .describe('Gets the deployment created before this Date timestamp. (default: current time)') - .optional(), + to: z.coerce.number().describe('Gets the deployment created before this Date timestamp. (default: current time)').optional(), users: z.string().describe('Filter out deployments based on users who have created the deployment.').optional(), since: z.coerce.number().describe('Get Deployments created after this JavaScript timestamp.').optional(), until: z.coerce.number().describe('Get Deployments created before this JavaScript timestamp.').optional(), - state: z - .string() - .describe( - 'Filter deployments based on their state (`BUILDING`, `ERROR`, `INITIALIZING`, `QUEUED`, `READY`, `CANCELED`)' - ) - .optional(), + state: z.string().describe('Filter deployments based on their state (`BUILDING`, `ERROR`, `INITIALIZING`, `QUEUED`, `READY`, `CANCELED`)').optional(), rollbackCandidate: z.boolean().describe('Filter deployments based on their rollback candidacy').optional(), branch: z.string().describe('Filter deployments based on the branch name').optional(), sha: z.string().describe('Filter deployments based on the SHA').optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const getDeployments200Schema = z.unknown(); +export const getDeployments200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const getDeployments400Schema = z.unknown(); +export const getDeployments400Schema = z.unknown() -export const getDeployments401Schema = z.unknown(); +export const getDeployments401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getDeployments403Schema = z.unknown(); +export const getDeployments403Schema = z.unknown() -export const getDeployments404Schema = z.unknown(); +export const getDeployments404Schema = z.unknown() -export const getDeployments422Schema = z.unknown(); +export const getDeployments422Schema = z.unknown() -export const getDeploymentsQueryResponseSchema = z.lazy(() => getDeployments200Schema); +export const getDeploymentsQueryResponseSchema = z.lazy(() => getDeployments200Schema) export const deleteDeploymentPathParamsSchema = z.object({ - id: z.string().describe('The ID of the deployment to be deleted') -}); + id: z.string().describe('The ID of the deployment to be deleted'), +}) export const deleteDeploymentQueryParamsSchema = z .object({ url: z.string().describe('A Deployment or Alias URL. In case it is passed, the ID will be ignored').optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description The deployment was successfully deleted */ -export const deleteDeployment200Schema = z.unknown(); +export const deleteDeployment200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const deleteDeployment400Schema = z.unknown(); +export const deleteDeployment400Schema = z.unknown() -export const deleteDeployment401Schema = z.unknown(); +export const deleteDeployment401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const deleteDeployment403Schema = z.unknown(); +export const deleteDeployment403Schema = z.unknown() /** * @description The deployment was not found */ -export const deleteDeployment404Schema = z.unknown(); +export const deleteDeployment404Schema = z.unknown() -export const deleteDeploymentMutationResponseSchema = z.lazy(() => deleteDeployment200Schema); +export const deleteDeploymentMutationResponseSchema = z.lazy(() => deleteDeployment200Schema) export const getSecretsQueryParamsSchema = z .object({ id: z.string().describe('Filter out secrets based on comma separated secret ids.').optional(), projectId: z.string().describe('Filter out secrets that belong to a project.').optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description Successful response retrieving a list of secrets. */ -export const getSecrets200Schema = z.unknown(); +export const getSecrets200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const getSecrets400Schema = z.unknown(); +export const getSecrets400Schema = z.unknown() -export const getSecrets401Schema = z.unknown(); +export const getSecrets401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getSecrets403Schema = z.unknown(); +export const getSecrets403Schema = z.unknown() -export const getSecrets410Schema = z.unknown(); +export const getSecrets410Schema = z.unknown() -export const getSecretsQueryResponseSchema = z.lazy(() => getSecrets200Schema); +export const getSecretsQueryResponseSchema = z.lazy(() => getSecrets200Schema) export const createSecretPathParamsSchema = z.object({ - name: z.string() -}); + name: z.string(), +}) export const createSecretQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description Successful response showing the created secret. */ -export const createSecret200Schema = z.unknown(); +export const createSecret200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid. */ -export const createSecret400Schema = z.unknown(); +export const createSecret400Schema = z.unknown() -export const createSecret401Schema = z.unknown(); +export const createSecret401Schema = z.unknown() /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export const createSecret402Schema = z.unknown(); +export const createSecret402Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const createSecret403Schema = z.unknown(); +export const createSecret403Schema = z.unknown() -export const createSecret410Schema = z.unknown(); +export const createSecret410Schema = z.unknown() -export const createSecretMutationResponseSchema = z.lazy(() => createSecret200Schema); +export const createSecretMutationResponseSchema = z.lazy(() => createSecret200Schema) export const renameSecretPathParamsSchema = z.object({ - name: z.string().describe('The name of the secret.') -}); + name: z.string().describe('The name of the secret.'), +}) export const renameSecretQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const renameSecret200Schema = z.unknown(); +export const renameSecret200Schema = z.unknown() /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const renameSecret400Schema = z.unknown(); +export const renameSecret400Schema = z.unknown() -export const renameSecret401Schema = z.unknown(); +export const renameSecret401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const renameSecret403Schema = z.unknown(); +export const renameSecret403Schema = z.unknown() -export const renameSecret410Schema = z.unknown(); +export const renameSecret410Schema = z.unknown() -export const renameSecretMutationResponseSchema = z.lazy(() => renameSecret200Schema); +export const renameSecretMutationResponseSchema = z.lazy(() => renameSecret200Schema) export const getSecretPathParamsSchema = z.object({ - idOrName: z.string().describe('The name or the unique identifier to which the secret belongs to.') -}); + idOrName: z.string().describe('The name or the unique identifier to which the secret belongs to.'), +}) export const getSecretQueryParamsSchema = z .object({ decrypt: z .enum(['true', 'false']) - .describe( - 'Whether to try to decrypt the value of the secret. Only works if `decryptable` has been set to `true` when the secret was created.' - ) + .describe('Whether to try to decrypt the value of the secret. Only works if `decryptable` has been set to `true` when the secret was created.') .optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() /** * @description Successful response retrieving a secret. */ -export const getSecret200Schema = z.unknown(); +export const getSecret200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const getSecret400Schema = z.unknown(); +export const getSecret400Schema = z.unknown() -export const getSecret401Schema = z.unknown(); +export const getSecret401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const getSecret403Schema = z.unknown(); +export const getSecret403Schema = z.unknown() -export const getSecret404Schema = z.unknown(); +export const getSecret404Schema = z.unknown() -export const getSecret410Schema = z.unknown(); +export const getSecret410Schema = z.unknown() -export const getSecretQueryResponseSchema = z.lazy(() => getSecret200Schema); +export const getSecretQueryResponseSchema = z.lazy(() => getSecret200Schema) export const deleteSecretPathParamsSchema = z.object({ - idOrName: z.string().describe('The name or the unique identifier to which the secret belongs to.') -}); + idOrName: z.string().describe('The name or the unique identifier to which the secret belongs to.'), +}) export const deleteSecretQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), }) - .optional(); + .optional() -export const deleteSecret200Schema = z.unknown(); +export const deleteSecret200Schema = z.unknown() /** * @description One of the provided values in the request query is invalid. */ -export const deleteSecret400Schema = z.unknown(); +export const deleteSecret400Schema = z.unknown() -export const deleteSecret401Schema = z.unknown(); +export const deleteSecret401Schema = z.unknown() /** * @description You do not have permission to access this resource. */ -export const deleteSecret403Schema = z.unknown(); +export const deleteSecret403Schema = z.unknown() -export const deleteSecret410Schema = z.unknown(); +export const deleteSecret410Schema = z.unknown() -export const deleteSecretMutationResponseSchema = z.lazy(() => deleteSecret200Schema); +export const deleteSecretMutationResponseSchema = z.lazy(() => deleteSecret200Schema) \ No newline at end of file diff --git a/packages/vercel-api-js/src/generated/types.ts b/packages/vercel-api-js/src/generated/types.ts index 1a0caa03a..268b6d0a5 100644 --- a/packages/vercel-api-js/src/generated/types.ts +++ b/packages/vercel-api-js/src/generated/types.ts @@ -8,15 +8,15 @@ export const ACLActionEnum = { delete: 'delete', list: 'list', read: 'read', - update: 'update' -} as const; + update: 'update', +} as const -export type ACLActionEnum = (typeof ACLActionEnum)[keyof typeof ACLActionEnum]; +export type ACLActionEnum = (typeof ACLActionEnum)[keyof typeof ACLActionEnum] /** * @description Enum containing the actions that can be performed against a resource. Group operations are included. */ -export type ACLAction = ACLActionEnum; +export type ACLAction = ACLActionEnum export type FlagJSONValue = | ( @@ -25,10 +25,10 @@ export type FlagJSONValue = | boolean | unknown[] | { - [key: string]: unknown; + [key: string]: unknown } ) - | null; + | null /** * @description This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. @@ -38,18 +38,18 @@ export type Pagination = { * @description Amount of items in the current page. * @type number */ - count: number; + count: number /** * @description Timestamp that must be used to request the next page. * @type number */ - next: number | null; + next: number | null /** * @description Timestamp that must be used to request the previous page. * @type number */ - prev: number | null; -}; + prev: number | null +} export type EdgeConfigItemValue = | ( @@ -57,11 +57,11 @@ export type EdgeConfigItemValue = | number | boolean | { - [key: string]: unknown; + [key: string]: unknown } | unknown[] ) - | null; + | null /** * @description The EdgeConfig. @@ -70,25 +70,25 @@ export type EdgeConfigItem = { /** * @type string */ - key: string; - value: unknown; + key: string + value: unknown /** * @type string | undefined */ - description?: string | undefined; + description?: string | undefined /** * @type string */ - edgeConfigId: string; + edgeConfigId: string /** * @type number */ - createdAt: number; + createdAt: number /** * @type number */ - updatedAt: number; -}; + updatedAt: number +} /** * @description The EdgeConfig. @@ -97,25 +97,25 @@ export type EdgeConfigToken = { /** * @type string */ - token: string; + token: string /** * @type string */ - label: string; + label: string /** * @description This is not the token itself, but rather an id to identify the token by * @type string */ - id: string; + id: string /** * @type string */ - edgeConfigId: string; + edgeConfigId: string /** * @type number */ - createdAt: number; -}; + createdAt: number +} export const entitiesTypeEnum = { author: 'author', @@ -138,231 +138,228 @@ export const entitiesTypeEnum = { scaling_rules: 'scaling_rules', store: 'store', system: 'system', - target: 'target' -} as const; + target: 'target', +} as const -export type EntitiesTypeEnum = (typeof entitiesTypeEnum)[keyof typeof entitiesTypeEnum]; +export type EntitiesTypeEnum = (typeof entitiesTypeEnum)[keyof typeof entitiesTypeEnum] export const principalTypeEnum = { - user: 'user' -} as const; + user: 'user', +} as const -export type PrincipalTypeEnum = (typeof principalTypeEnum)[keyof typeof principalTypeEnum]; +export type PrincipalTypeEnum = (typeof principalTypeEnum)[keyof typeof principalTypeEnum] export const principalTypeEnum2 = { - app: 'app' -} as const; + app: 'app', +} as const -export type PrincipalTypeEnum2 = (typeof principalTypeEnum2)[keyof typeof principalTypeEnum2]; +export type PrincipalTypeEnum2 = (typeof principalTypeEnum2)[keyof typeof principalTypeEnum2] export const viaTypeEnum = { - user: 'user' -} as const; + user: 'user', +} as const -export type ViaTypeEnum = (typeof viaTypeEnum)[keyof typeof viaTypeEnum]; +export type ViaTypeEnum = (typeof viaTypeEnum)[keyof typeof viaTypeEnum] export const viaTypeEnum2 = { - app: 'app' -} as const; + app: 'app', +} as const -export type ViaTypeEnum2 = (typeof viaTypeEnum2)[keyof typeof viaTypeEnum2]; +export type ViaTypeEnum2 = (typeof viaTypeEnum2)[keyof typeof viaTypeEnum2] export const payloadActionEnum = { created: 'created', updated: 'updated', deleted: 'deleted', archived: 'archived', - unarchived: 'unarchived' -} as const; + unarchived: 'unarchived', +} as const -export type PayloadActionEnum = (typeof payloadActionEnum)[keyof typeof payloadActionEnum]; +export type PayloadActionEnum = (typeof payloadActionEnum)[keyof typeof payloadActionEnum] export const payloadNextRoleEnum = { ADMIN: 'ADMIN', PROJECT_DEVELOPER: 'PROJECT_DEVELOPER', - PROJECT_VIEWER: 'PROJECT_VIEWER' -} as const; + PROJECT_VIEWER: 'PROJECT_VIEWER', +} as const -export type PayloadNextRoleEnum = (typeof payloadNextRoleEnum)[keyof typeof payloadNextRoleEnum]; +export type PayloadNextRoleEnum = (typeof payloadNextRoleEnum)[keyof typeof payloadNextRoleEnum] export const payloadPreviousRoleEnum = { ADMIN: 'ADMIN', PROJECT_DEVELOPER: 'PROJECT_DEVELOPER', - PROJECT_VIEWER: 'PROJECT_VIEWER' -} as const; + PROJECT_VIEWER: 'PROJECT_VIEWER', +} as const -export type PayloadPreviousRoleEnum = (typeof payloadPreviousRoleEnum)[keyof typeof payloadPreviousRoleEnum]; +export type PayloadPreviousRoleEnum = (typeof payloadPreviousRoleEnum)[keyof typeof payloadPreviousRoleEnum] export const payloadActionEnum2 = { created: 'created', - removed: 'removed' -} as const; + removed: 'removed', +} as const -export type PayloadActionEnum2 = (typeof payloadActionEnum2)[keyof typeof payloadActionEnum2]; +export type PayloadActionEnum2 = (typeof payloadActionEnum2)[keyof typeof payloadActionEnum2] export const payloadTypeEnum = { system: 'system', encrypted: 'encrypted', plain: 'plain', - sensitive: 'sensitive' -} as const; + sensitive: 'sensitive', +} as const -export type PayloadTypeEnum = (typeof payloadTypeEnum)[keyof typeof payloadTypeEnum]; +export type PayloadTypeEnum = (typeof payloadTypeEnum)[keyof typeof payloadTypeEnum] export const payloadTargetEnum = { production: 'production', preview: 'preview', - development: 'development' -} as const; + development: 'development', +} as const -export type PayloadTargetEnum = (typeof payloadTargetEnum)[keyof typeof payloadTargetEnum]; +export type PayloadTargetEnum = (typeof payloadTargetEnum)[keyof typeof payloadTargetEnum] export const oldEnvVarTypeEnum = { system: 'system', encrypted: 'encrypted', plain: 'plain', - sensitive: 'sensitive' -} as const; + sensitive: 'sensitive', +} as const -export type OldEnvVarTypeEnum = (typeof oldEnvVarTypeEnum)[keyof typeof oldEnvVarTypeEnum]; +export type OldEnvVarTypeEnum = (typeof oldEnvVarTypeEnum)[keyof typeof oldEnvVarTypeEnum] export const oldEnvVarTargetEnum = { production: 'production', preview: 'preview', - development: 'development' -} as const; + development: 'development', +} as const -export type OldEnvVarTargetEnum = (typeof oldEnvVarTargetEnum)[keyof typeof oldEnvVarTargetEnum]; +export type OldEnvVarTargetEnum = (typeof oldEnvVarTargetEnum)[keyof typeof oldEnvVarTargetEnum] export const newEnvVarTypeEnum = { system: 'system', encrypted: 'encrypted', plain: 'plain', - sensitive: 'sensitive' -} as const; + sensitive: 'sensitive', +} as const -export type NewEnvVarTypeEnum = (typeof newEnvVarTypeEnum)[keyof typeof newEnvVarTypeEnum]; +export type NewEnvVarTypeEnum = (typeof newEnvVarTypeEnum)[keyof typeof newEnvVarTypeEnum] export const newEnvVarTargetEnum = { production: 'production', preview: 'preview', - development: 'development' -} as const; + development: 'development', +} as const -export type NewEnvVarTargetEnum = (typeof newEnvVarTargetEnum)[keyof typeof newEnvVarTargetEnum]; +export type NewEnvVarTargetEnum = (typeof newEnvVarTargetEnum)[keyof typeof newEnvVarTargetEnum] export const updateDiffOldTargetEnum = { production: 'production', preview: 'preview', - development: 'development' -} as const; + development: 'development', +} as const -export type UpdateDiffOldTargetEnum = (typeof updateDiffOldTargetEnum)[keyof typeof updateDiffOldTargetEnum]; +export type UpdateDiffOldTargetEnum = (typeof updateDiffOldTargetEnum)[keyof typeof updateDiffOldTargetEnum] export const updateDiffNewTargetEnum = { production: 'production', preview: 'preview', - development: 'development' -} as const; + development: 'development', +} as const -export type UpdateDiffNewTargetEnum = (typeof updateDiffNewTargetEnum)[keyof typeof updateDiffNewTargetEnum]; +export type UpdateDiffNewTargetEnum = (typeof updateDiffNewTargetEnum)[keyof typeof updateDiffNewTargetEnum] export const payloadActionEnum3 = { log: 'log', challenge: 'challenge', - deny: 'deny' -} as const; + deny: 'deny', +} as const -export type PayloadActionEnum3 = (typeof payloadActionEnum3)[keyof typeof payloadActionEnum3]; +export type PayloadActionEnum3 = (typeof payloadActionEnum3)[keyof typeof payloadActionEnum3] export const actionEnum = { log: 'log', challenge: 'challenge', - deny: 'deny' -} as const; + deny: 'deny', +} as const -export type ActionEnum = (typeof actionEnum)[keyof typeof actionEnum]; +export type ActionEnum = (typeof actionEnum)[keyof typeof actionEnum] export const blockHistoryActionEnum = { 'hard-blocked': 'hard-blocked', 'soft-blocked': 'soft-blocked', - unblocked: 'unblocked' -} as const; + unblocked: 'unblocked', +} as const -export type BlockHistoryActionEnum = (typeof blockHistoryActionEnum)[keyof typeof blockHistoryActionEnum]; +export type BlockHistoryActionEnum = (typeof blockHistoryActionEnum)[keyof typeof blockHistoryActionEnum] export const billingPlanEnum = { pro: 'pro', enterprise: 'enterprise', - hobby: 'hobby' -} as const; + hobby: 'hobby', +} as const -export type BillingPlanEnum = (typeof billingPlanEnum)[keyof typeof billingPlanEnum]; +export type BillingPlanEnum = (typeof billingPlanEnum)[keyof typeof billingPlanEnum] export const credentialsTypeEnum = { gitlab: 'gitlab', bitbucket: 'bitbucket', google: 'google', 'github-oauth': 'github-oauth', - 'github-oauth-limited': 'github-oauth-limited' -} as const; + 'github-oauth-limited': 'github-oauth-limited', +} as const -export type CredentialsTypeEnum = (typeof credentialsTypeEnum)[keyof typeof credentialsTypeEnum]; +export type CredentialsTypeEnum = (typeof credentialsTypeEnum)[keyof typeof credentialsTypeEnum] export const credentialsTypeEnum2 = { - 'github-oauth-custom-host': 'github-oauth-custom-host' -} as const; + 'github-oauth-custom-host': 'github-oauth-custom-host', +} as const -export type CredentialsTypeEnum2 = (typeof credentialsTypeEnum2)[keyof typeof credentialsTypeEnum2]; +export type CredentialsTypeEnum2 = (typeof credentialsTypeEnum2)[keyof typeof credentialsTypeEnum2] export const newOwnerImportFlowGitProviderEnum = { github: 'github', gitlab: 'gitlab', bitbucket: 'bitbucket', 'github-limited': 'github-limited', - 'github-custom-host': 'github-custom-host' -} as const; + 'github-custom-host': 'github-custom-host', +} as const -export type NewOwnerImportFlowGitProviderEnum = - (typeof newOwnerImportFlowGitProviderEnum)[keyof typeof newOwnerImportFlowGitProviderEnum]; +export type NewOwnerImportFlowGitProviderEnum = (typeof newOwnerImportFlowGitProviderEnum)[keyof typeof newOwnerImportFlowGitProviderEnum] export const buildMachinePurchaseTypeEnum = { enhanced: 'enhanced', - turbo: 'turbo' -} as const; + turbo: 'turbo', +} as const -export type BuildMachinePurchaseTypeEnum = - (typeof buildMachinePurchaseTypeEnum)[keyof typeof buildMachinePurchaseTypeEnum]; +export type BuildMachinePurchaseTypeEnum = (typeof buildMachinePurchaseTypeEnum)[keyof typeof buildMachinePurchaseTypeEnum] export const activeDashboardViewsViewPreferenceEnum = { cards: 'cards', - list: 'list' -} as const; + list: 'list', +} as const -export type ActiveDashboardViewsViewPreferenceEnum = - (typeof activeDashboardViewsViewPreferenceEnum)[keyof typeof activeDashboardViewsViewPreferenceEnum]; +export type ActiveDashboardViewsViewPreferenceEnum = (typeof activeDashboardViewsViewPreferenceEnum)[keyof typeof activeDashboardViewsViewPreferenceEnum] export const activeDashboardViewsFavoritesViewPreferenceEnum = { open: 'open', - closed: 'closed' -} as const; + closed: 'closed', +} as const export type ActiveDashboardViewsFavoritesViewPreferenceEnum = - (typeof activeDashboardViewsFavoritesViewPreferenceEnum)[keyof typeof activeDashboardViewsFavoritesViewPreferenceEnum]; + (typeof activeDashboardViewsFavoritesViewPreferenceEnum)[keyof typeof activeDashboardViewsFavoritesViewPreferenceEnum] export const activeDashboardViewsRecentsViewPreferenceEnum = { open: 'open', - closed: 'closed' -} as const; + closed: 'closed', +} as const export type ActiveDashboardViewsRecentsViewPreferenceEnum = - (typeof activeDashboardViewsRecentsViewPreferenceEnum)[keyof typeof activeDashboardViewsRecentsViewPreferenceEnum]; + (typeof activeDashboardViewsRecentsViewPreferenceEnum)[keyof typeof activeDashboardViewsRecentsViewPreferenceEnum] export const siftRouteNameEnum = { - string: 'string' -} as const; + string: 'string', +} as const -export type SiftRouteNameEnum = (typeof siftRouteNameEnum)[keyof typeof siftRouteNameEnum]; +export type SiftRouteNameEnum = (typeof siftRouteNameEnum)[keyof typeof siftRouteNameEnum] export const softBlockReasonEnum = { SUBSCRIPTION_CANCELED: 'SUBSCRIPTION_CANCELED', @@ -370,10 +367,10 @@ export const softBlockReasonEnum = { UNPAID_INVOICE: 'UNPAID_INVOICE', ENTERPRISE_TRIAL_ENDED: 'ENTERPRISE_TRIAL_ENDED', FAIR_USE_LIMITS_EXCEEDED: 'FAIR_USE_LIMITS_EXCEEDED', - BLOCKED_FOR_PLATFORM_ABUSE: 'BLOCKED_FOR_PLATFORM_ABUSE' -} as const; + BLOCKED_FOR_PLATFORM_ABUSE: 'BLOCKED_FOR_PLATFORM_ABUSE', +} as const -export type SoftBlockReasonEnum = (typeof softBlockReasonEnum)[keyof typeof softBlockReasonEnum]; +export type SoftBlockReasonEnum = (typeof softBlockReasonEnum)[keyof typeof softBlockReasonEnum] export const softBlockBlockedDueToOverageTypeEnum = { analyticsUsage: 'analyticsUsage', @@ -414,11 +411,10 @@ export const softBlockBlockedDueToOverageTypeEnum = { wafOwaspExcessBytes: 'wafOwaspExcessBytes', wafOwaspRequests: 'wafOwaspRequests', wafRateLimitRequest: 'wafRateLimitRequest', - webAnalyticsEvent: 'webAnalyticsEvent' -} as const; + webAnalyticsEvent: 'webAnalyticsEvent', +} as const -export type SoftBlockBlockedDueToOverageTypeEnum = - (typeof softBlockBlockedDueToOverageTypeEnum)[keyof typeof softBlockBlockedDueToOverageTypeEnum]; +export type SoftBlockBlockedDueToOverageTypeEnum = (typeof softBlockBlockedDueToOverageTypeEnum)[keyof typeof softBlockBlockedDueToOverageTypeEnum] export const teamsRoleEnum = { OWNER: 'OWNER', @@ -427,10 +423,11 @@ export const teamsRoleEnum = { SECURITY: 'SECURITY', BILLING: 'BILLING', VIEWER: 'VIEWER', - CONTRIBUTOR: 'CONTRIBUTOR' -} as const; + VIEWER_FOR_PLUS: 'VIEWER_FOR_PLUS', + CONTRIBUTOR: 'CONTRIBUTOR', +} as const -export type TeamsRoleEnum = (typeof teamsRoleEnum)[keyof typeof teamsRoleEnum]; +export type TeamsRoleEnum = (typeof teamsRoleEnum)[keyof typeof teamsRoleEnum] export const teamsTeamRolesEnum = { OWNER: 'OWNER', @@ -439,20 +436,24 @@ export const teamsTeamRolesEnum = { SECURITY: 'SECURITY', BILLING: 'BILLING', VIEWER: 'VIEWER', - CONTRIBUTOR: 'CONTRIBUTOR' -} as const; + VIEWER_FOR_PLUS: 'VIEWER_FOR_PLUS', + CONTRIBUTOR: 'CONTRIBUTOR', +} as const -export type TeamsTeamRolesEnum = (typeof teamsTeamRolesEnum)[keyof typeof teamsTeamRolesEnum]; +export type TeamsTeamRolesEnum = (typeof teamsTeamRolesEnum)[keyof typeof teamsTeamRolesEnum] export const teamsTeamPermissionsEnum = { CreateProject: 'CreateProject', FullProductionDeployment: 'FullProductionDeployment', UsageViewer: 'UsageViewer', EnvVariableManager: 'EnvVariableManager', - EnvironmentManager: 'EnvironmentManager' -} as const; + EnvironmentManager: 'EnvironmentManager', + V0Builder: 'V0Builder', + V0Chatter: 'V0Chatter', + V0Viewer: 'V0Viewer', +} as const -export type TeamsTeamPermissionsEnum = (typeof teamsTeamPermissionsEnum)[keyof typeof teamsTeamPermissionsEnum]; +export type TeamsTeamPermissionsEnum = (typeof teamsTeamPermissionsEnum)[keyof typeof teamsTeamPermissionsEnum] export const joinedFromOriginEnum = { teams: 'teams', @@ -465,16 +466,16 @@ export const joinedFromOriginEnum = { import: 'import', dsync: 'dsync', feedback: 'feedback', - 'organization-teams': 'organization-teams' -} as const; + 'organization-teams': 'organization-teams', +} as const -export type JoinedFromOriginEnum = (typeof joinedFromOriginEnum)[keyof typeof joinedFromOriginEnum]; +export type JoinedFromOriginEnum = (typeof joinedFromOriginEnum)[keyof typeof joinedFromOriginEnum] export const newOwnerTypeEnum = { - user: 'user' -} as const; + user: 'user', +} as const -export type NewOwnerTypeEnum = (typeof newOwnerTypeEnum)[keyof typeof newOwnerTypeEnum]; +export type NewOwnerTypeEnum = (typeof newOwnerTypeEnum)[keyof typeof newOwnerTypeEnum] export const newOwnerEnablePreviewFeedbackEnum = { default: 'default', @@ -482,79 +483,74 @@ export const newOwnerEnablePreviewFeedbackEnum = { off: 'off', 'on-force': 'on-force', 'off-force': 'off-force', - 'default-force': 'default-force' -} as const; + 'default-force': 'default-force', +} as const -export type NewOwnerEnablePreviewFeedbackEnum = - (typeof newOwnerEnablePreviewFeedbackEnum)[keyof typeof newOwnerEnablePreviewFeedbackEnum]; +export type NewOwnerEnablePreviewFeedbackEnum = (typeof newOwnerEnablePreviewFeedbackEnum)[keyof typeof newOwnerEnablePreviewFeedbackEnum] export const webAnalyticsBlockReasonEnum = { admin_override: 'admin_override', - limits_exceeded: 'limits_exceeded' -} as const; + limits_exceeded: 'limits_exceeded', +} as const -export type WebAnalyticsBlockReasonEnum = - (typeof webAnalyticsBlockReasonEnum)[keyof typeof webAnalyticsBlockReasonEnum]; +export type WebAnalyticsBlockReasonEnum = (typeof webAnalyticsBlockReasonEnum)[keyof typeof webAnalyticsBlockReasonEnum] export const monitoringBlockReasonEnum = { admin_override: 'admin_override', - limits_exceeded: 'limits_exceeded' -} as const; + limits_exceeded: 'limits_exceeded', +} as const -export type MonitoringBlockReasonEnum = (typeof monitoringBlockReasonEnum)[keyof typeof monitoringBlockReasonEnum]; +export type MonitoringBlockReasonEnum = (typeof monitoringBlockReasonEnum)[keyof typeof monitoringBlockReasonEnum] export const monitoringBlockTypeEnum = { soft: 'soft', - hard: 'hard' -} as const; + hard: 'hard', +} as const -export type MonitoringBlockTypeEnum = (typeof monitoringBlockTypeEnum)[keyof typeof monitoringBlockTypeEnum]; +export type MonitoringBlockTypeEnum = (typeof monitoringBlockTypeEnum)[keyof typeof monitoringBlockTypeEnum] export const observabilityPlusBlockReasonEnum = { admin_override: 'admin_override', - limits_exceeded: 'limits_exceeded' -} as const; + limits_exceeded: 'limits_exceeded', +} as const -export type ObservabilityPlusBlockReasonEnum = - (typeof observabilityPlusBlockReasonEnum)[keyof typeof observabilityPlusBlockReasonEnum]; +export type ObservabilityPlusBlockReasonEnum = (typeof observabilityPlusBlockReasonEnum)[keyof typeof observabilityPlusBlockReasonEnum] export const observabilityPlusBlockTypeEnum = { soft: 'soft', - hard: 'hard' -} as const; + hard: 'hard', +} as const -export type ObservabilityPlusBlockTypeEnum = - (typeof observabilityPlusBlockTypeEnum)[keyof typeof observabilityPlusBlockTypeEnum]; +export type ObservabilityPlusBlockTypeEnum = (typeof observabilityPlusBlockTypeEnum)[keyof typeof observabilityPlusBlockTypeEnum] export const dataCacheBlockReasonEnum = { admin_override: 'admin_override', - limits_exceeded: 'limits_exceeded' -} as const; + limits_exceeded: 'limits_exceeded', +} as const -export type DataCacheBlockReasonEnum = (typeof dataCacheBlockReasonEnum)[keyof typeof dataCacheBlockReasonEnum]; +export type DataCacheBlockReasonEnum = (typeof dataCacheBlockReasonEnum)[keyof typeof dataCacheBlockReasonEnum] export const imageOptimizationTransformationBlockReasonEnum = { admin_override: 'admin_override', - limits_exceeded: 'limits_exceeded' -} as const; + limits_exceeded: 'limits_exceeded', +} as const export type ImageOptimizationTransformationBlockReasonEnum = - (typeof imageOptimizationTransformationBlockReasonEnum)[keyof typeof imageOptimizationTransformationBlockReasonEnum]; + (typeof imageOptimizationTransformationBlockReasonEnum)[keyof typeof imageOptimizationTransformationBlockReasonEnum] export const sourceImagesBlockReasonEnum = { admin_override: 'admin_override', - limits_exceeded: 'limits_exceeded' -} as const; + limits_exceeded: 'limits_exceeded', +} as const -export type SourceImagesBlockReasonEnum = - (typeof sourceImagesBlockReasonEnum)[keyof typeof sourceImagesBlockReasonEnum]; +export type SourceImagesBlockReasonEnum = (typeof sourceImagesBlockReasonEnum)[keyof typeof sourceImagesBlockReasonEnum] export const blobBlockReasonEnum = { admin_override: 'admin_override', - limits_exceeded: 'limits_exceeded' -} as const; + limits_exceeded: 'limits_exceeded', +} as const -export type BlobBlockReasonEnum = (typeof blobBlockReasonEnum)[keyof typeof blobBlockReasonEnum]; +export type BlobBlockReasonEnum = (typeof blobBlockReasonEnum)[keyof typeof blobBlockReasonEnum] export const blobOverageReasonEnum = { analyticsUsage: 'analyticsUsage', @@ -595,17 +591,17 @@ export const blobOverageReasonEnum = { wafOwaspExcessBytes: 'wafOwaspExcessBytes', wafOwaspRequests: 'wafOwaspRequests', wafRateLimitRequest: 'wafRateLimitRequest', - webAnalyticsEvent: 'webAnalyticsEvent' -} as const; + webAnalyticsEvent: 'webAnalyticsEvent', +} as const -export type BlobOverageReasonEnum = (typeof blobOverageReasonEnum)[keyof typeof blobOverageReasonEnum]; +export type BlobOverageReasonEnum = (typeof blobOverageReasonEnum)[keyof typeof blobOverageReasonEnum] export const postgresBlockReasonEnum = { admin_override: 'admin_override', - limits_exceeded: 'limits_exceeded' -} as const; + limits_exceeded: 'limits_exceeded', +} as const -export type PostgresBlockReasonEnum = (typeof postgresBlockReasonEnum)[keyof typeof postgresBlockReasonEnum]; +export type PostgresBlockReasonEnum = (typeof postgresBlockReasonEnum)[keyof typeof postgresBlockReasonEnum] export const postgresOverageReasonEnum = { analyticsUsage: 'analyticsUsage', @@ -646,17 +642,17 @@ export const postgresOverageReasonEnum = { wafOwaspExcessBytes: 'wafOwaspExcessBytes', wafOwaspRequests: 'wafOwaspRequests', wafRateLimitRequest: 'wafRateLimitRequest', - webAnalyticsEvent: 'webAnalyticsEvent' -} as const; + webAnalyticsEvent: 'webAnalyticsEvent', +} as const -export type PostgresOverageReasonEnum = (typeof postgresOverageReasonEnum)[keyof typeof postgresOverageReasonEnum]; +export type PostgresOverageReasonEnum = (typeof postgresOverageReasonEnum)[keyof typeof postgresOverageReasonEnum] export const redisBlockReasonEnum = { admin_override: 'admin_override', - limits_exceeded: 'limits_exceeded' -} as const; + limits_exceeded: 'limits_exceeded', +} as const -export type RedisBlockReasonEnum = (typeof redisBlockReasonEnum)[keyof typeof redisBlockReasonEnum]; +export type RedisBlockReasonEnum = (typeof redisBlockReasonEnum)[keyof typeof redisBlockReasonEnum] export const redisOverageReasonEnum = { analyticsUsage: 'analyticsUsage', @@ -697,16 +693,16 @@ export const redisOverageReasonEnum = { wafOwaspExcessBytes: 'wafOwaspExcessBytes', wafOwaspRequests: 'wafOwaspRequests', wafRateLimitRequest: 'wafRateLimitRequest', - webAnalyticsEvent: 'webAnalyticsEvent' -} as const; + webAnalyticsEvent: 'webAnalyticsEvent', +} as const -export type RedisOverageReasonEnum = (typeof redisOverageReasonEnum)[keyof typeof redisOverageReasonEnum]; +export type RedisOverageReasonEnum = (typeof redisOverageReasonEnum)[keyof typeof redisOverageReasonEnum] export const newOwnerVersionEnum = { - northstar: 'northstar' -} as const; + northstar: 'northstar', +} as const -export type NewOwnerVersionEnum = (typeof newOwnerVersionEnum)[keyof typeof newOwnerVersionEnum]; +export type NewOwnerVersionEnum = (typeof newOwnerVersionEnum)[keyof typeof newOwnerVersionEnum] export const browserNameEnum = { iphone: 'iphone', @@ -715,10 +711,10 @@ export const browserNameEnum = { chrome: 'chrome', firefox: 'firefox', mozilla: 'mozilla', - unknown: 'unknown' -} as const; + unknown: 'unknown', +} as const -export type BrowserNameEnum = (typeof browserNameEnum)[keyof typeof browserNameEnum]; +export type BrowserNameEnum = (typeof browserNameEnum)[keyof typeof browserNameEnum] export const osNameEnum = { unknown: 'unknown', @@ -733,10 +729,10 @@ export const osNameEnum = { ios: 'ios', android: 'android', 'Mac OS': 'Mac OS', - 'OS X': 'OS X' -} as const; + 'OS X': 'OS X', +} as const -export type OsNameEnum = (typeof osNameEnum)[keyof typeof osNameEnum]; +export type OsNameEnum = (typeof osNameEnum)[keyof typeof osNameEnum] export const roleEnum = { OWNER: 'OWNER', @@ -745,10 +741,11 @@ export const roleEnum = { SECURITY: 'SECURITY', BILLING: 'BILLING', VIEWER: 'VIEWER', - CONTRIBUTOR: 'CONTRIBUTOR' -} as const; + VIEWER_FOR_PLUS: 'VIEWER_FOR_PLUS', + CONTRIBUTOR: 'CONTRIBUTOR', +} as const -export type RoleEnum = (typeof roleEnum)[keyof typeof roleEnum]; +export type RoleEnum = (typeof roleEnum)[keyof typeof roleEnum] export const joinedFromOriginEnum2 = { teams: 'teams', @@ -761,244 +758,237 @@ export const joinedFromOriginEnum2 = { import: 'import', dsync: 'dsync', feedback: 'feedback', - 'organization-teams': 'organization-teams' -} as const; + 'organization-teams': 'organization-teams', +} as const -export type JoinedFromOriginEnum2 = (typeof joinedFromOriginEnum2)[keyof typeof joinedFromOriginEnum2]; +export type JoinedFromOriginEnum2 = (typeof joinedFromOriginEnum2)[keyof typeof joinedFromOriginEnum2] export const ssoProtectionDeploymentTypeEnum = { all: 'all', preview: 'preview', prod_deployment_urls_and_all_previews: 'prod_deployment_urls_and_all_previews', - all_except_custom_domains: 'all_except_custom_domains' -} as const; + all_except_custom_domains: 'all_except_custom_domains', +} as const -export type SsoProtectionDeploymentTypeEnum = - (typeof ssoProtectionDeploymentTypeEnum)[keyof typeof ssoProtectionDeploymentTypeEnum]; +export type SsoProtectionDeploymentTypeEnum = (typeof ssoProtectionDeploymentTypeEnum)[keyof typeof ssoProtectionDeploymentTypeEnum] export const payloadSsoProtectionEnum = { all: 'all', preview: 'preview', prod_deployment_urls_and_all_previews: 'prod_deployment_urls_and_all_previews', - all_except_custom_domains: 'all_except_custom_domains' -} as const; + all_except_custom_domains: 'all_except_custom_domains', +} as const -export type PayloadSsoProtectionEnum = (typeof payloadSsoProtectionEnum)[keyof typeof payloadSsoProtectionEnum]; +export type PayloadSsoProtectionEnum = (typeof payloadSsoProtectionEnum)[keyof typeof payloadSsoProtectionEnum] export const oldSsoProtectionDeploymentTypeEnum = { all: 'all', preview: 'preview', prod_deployment_urls_and_all_previews: 'prod_deployment_urls_and_all_previews', - all_except_custom_domains: 'all_except_custom_domains' -} as const; + all_except_custom_domains: 'all_except_custom_domains', +} as const -export type OldSsoProtectionDeploymentTypeEnum = - (typeof oldSsoProtectionDeploymentTypeEnum)[keyof typeof oldSsoProtectionDeploymentTypeEnum]; +export type OldSsoProtectionDeploymentTypeEnum = (typeof oldSsoProtectionDeploymentTypeEnum)[keyof typeof oldSsoProtectionDeploymentTypeEnum] export const payloadOldSsoProtectionEnum = { all: 'all', preview: 'preview', prod_deployment_urls_and_all_previews: 'prod_deployment_urls_and_all_previews', - all_except_custom_domains: 'all_except_custom_domains' -} as const; + all_except_custom_domains: 'all_except_custom_domains', +} as const -export type PayloadOldSsoProtectionEnum = - (typeof payloadOldSsoProtectionEnum)[keyof typeof payloadOldSsoProtectionEnum]; +export type PayloadOldSsoProtectionEnum = (typeof payloadOldSsoProtectionEnum)[keyof typeof payloadOldSsoProtectionEnum] export const passwordProtectionDeploymentTypeEnum = { all: 'all', preview: 'preview', prod_deployment_urls_and_all_previews: 'prod_deployment_urls_and_all_previews', - all_except_custom_domains: 'all_except_custom_domains' -} as const; + all_except_custom_domains: 'all_except_custom_domains', +} as const -export type PasswordProtectionDeploymentTypeEnum = - (typeof passwordProtectionDeploymentTypeEnum)[keyof typeof passwordProtectionDeploymentTypeEnum]; +export type PasswordProtectionDeploymentTypeEnum = (typeof passwordProtectionDeploymentTypeEnum)[keyof typeof passwordProtectionDeploymentTypeEnum] export const payloadPasswordProtectionEnum = { all: 'all', preview: 'preview', prod_deployment_urls_and_all_previews: 'prod_deployment_urls_and_all_previews', - all_except_custom_domains: 'all_except_custom_domains' -} as const; + all_except_custom_domains: 'all_except_custom_domains', +} as const -export type PayloadPasswordProtectionEnum = - (typeof payloadPasswordProtectionEnum)[keyof typeof payloadPasswordProtectionEnum]; +export type PayloadPasswordProtectionEnum = (typeof payloadPasswordProtectionEnum)[keyof typeof payloadPasswordProtectionEnum] export const oldPasswordProtectionDeploymentTypeEnum = { all: 'all', preview: 'preview', prod_deployment_urls_and_all_previews: 'prod_deployment_urls_and_all_previews', - all_except_custom_domains: 'all_except_custom_domains' -} as const; + all_except_custom_domains: 'all_except_custom_domains', +} as const -export type OldPasswordProtectionDeploymentTypeEnum = - (typeof oldPasswordProtectionDeploymentTypeEnum)[keyof typeof oldPasswordProtectionDeploymentTypeEnum]; +export type OldPasswordProtectionDeploymentTypeEnum = (typeof oldPasswordProtectionDeploymentTypeEnum)[keyof typeof oldPasswordProtectionDeploymentTypeEnum] export const payloadOldPasswordProtectionEnum = { all: 'all', preview: 'preview', prod_deployment_urls_and_all_previews: 'prod_deployment_urls_and_all_previews', - all_except_custom_domains: 'all_except_custom_domains' -} as const; + all_except_custom_domains: 'all_except_custom_domains', +} as const -export type PayloadOldPasswordProtectionEnum = - (typeof payloadOldPasswordProtectionEnum)[keyof typeof payloadOldPasswordProtectionEnum]; +export type PayloadOldPasswordProtectionEnum = (typeof payloadOldPasswordProtectionEnum)[keyof typeof payloadOldPasswordProtectionEnum] export const payloadTrustedIpsEnum = { all: 'all', preview: 'preview', prod_deployment_urls_and_all_previews: 'prod_deployment_urls_and_all_previews', all_except_custom_domains: 'all_except_custom_domains', - production: 'production' -} as const; + production: 'production', +} as const -export type PayloadTrustedIpsEnum = (typeof payloadTrustedIpsEnum)[keyof typeof payloadTrustedIpsEnum]; +export type PayloadTrustedIpsEnum = (typeof payloadTrustedIpsEnum)[keyof typeof payloadTrustedIpsEnum] export const payloadOldTrustedIpsEnum = { all: 'all', preview: 'preview', prod_deployment_urls_and_all_previews: 'prod_deployment_urls_and_all_previews', all_except_custom_domains: 'all_except_custom_domains', - production: 'production' -} as const; + production: 'production', +} as const -export type PayloadOldTrustedIpsEnum = (typeof payloadOldTrustedIpsEnum)[keyof typeof payloadOldTrustedIpsEnum]; +export type PayloadOldTrustedIpsEnum = (typeof payloadOldTrustedIpsEnum)[keyof typeof payloadOldTrustedIpsEnum] export const payloadActionEnum4 = { enabled: 'enabled', disabled: 'disabled', - regenerated: 'regenerated' -} as const; + regenerated: 'regenerated', +} as const -export type PayloadActionEnum4 = (typeof payloadActionEnum4)[keyof typeof payloadActionEnum4]; +export type PayloadActionEnum4 = (typeof payloadActionEnum4)[keyof typeof payloadActionEnum4] export const oldConnectConfigurationsEnvIdEnum = { preview: 'preview', - production: 'production' -} as const; + production: 'production', +} as const -export type OldConnectConfigurationsEnvIdEnum = - (typeof oldConnectConfigurationsEnvIdEnum)[keyof typeof oldConnectConfigurationsEnvIdEnum]; +export type OldConnectConfigurationsEnvIdEnum = (typeof oldConnectConfigurationsEnvIdEnum)[keyof typeof oldConnectConfigurationsEnvIdEnum] export const newConnectConfigurationsEnvIdEnum = { preview: 'preview', - production: 'production' -} as const; + production: 'production', +} as const -export type NewConnectConfigurationsEnvIdEnum = - (typeof newConnectConfigurationsEnvIdEnum)[keyof typeof newConnectConfigurationsEnvIdEnum]; +export type NewConnectConfigurationsEnvIdEnum = (typeof newConnectConfigurationsEnvIdEnum)[keyof typeof newConnectConfigurationsEnvIdEnum] export const budgetTypeEnum = { - fixed: 'fixed' -} as const; + fixed: 'fixed', +} as const -export type BudgetTypeEnum = (typeof budgetTypeEnum)[keyof typeof budgetTypeEnum]; +export type BudgetTypeEnum = (typeof budgetTypeEnum)[keyof typeof budgetTypeEnum] export const budgetPricingPlanEnum = { + plus: 'plus', legacy: 'legacy', - unbundled: 'unbundled' -} as const; + unbundled: 'unbundled', +} as const -export type BudgetPricingPlanEnum = (typeof budgetPricingPlanEnum)[keyof typeof budgetPricingPlanEnum]; +export type BudgetPricingPlanEnum = (typeof budgetPricingPlanEnum)[keyof typeof budgetPricingPlanEnum] export const budgetItemTypeEnum = { - fixed: 'fixed' -} as const; + fixed: 'fixed', +} as const -export type BudgetItemTypeEnum = (typeof budgetItemTypeEnum)[keyof typeof budgetItemTypeEnum]; +export type BudgetItemTypeEnum = (typeof budgetItemTypeEnum)[keyof typeof budgetItemTypeEnum] export const budgetItemPricingPlanEnum = { + plus: 'plus', legacy: 'legacy', - unbundled: 'unbundled' -} as const; + unbundled: 'unbundled', +} as const -export type BudgetItemPricingPlanEnum = (typeof budgetItemPricingPlanEnum)[keyof typeof budgetItemPricingPlanEnum]; +export type BudgetItemPricingPlanEnum = (typeof budgetItemPricingPlanEnum)[keyof typeof budgetItemPricingPlanEnum] export const payloadTypeEnum2 = { redis: 'redis', postgres: 'postgres', 'edge-config': 'edge-config', blob: 'blob', - integration: 'integration' -} as const; + integration: 'integration', +} as const -export type PayloadTypeEnum2 = (typeof payloadTypeEnum2)[keyof typeof payloadTypeEnum2]; +export type PayloadTypeEnum2 = (typeof payloadTypeEnum2)[keyof typeof payloadTypeEnum2] export const payloadStoreTypeEnum = { redis: 'redis', - postgres: 'postgres' -} as const; + postgres: 'postgres', +} as const -export type PayloadStoreTypeEnum = (typeof payloadStoreTypeEnum)[keyof typeof payloadStoreTypeEnum]; +export type PayloadStoreTypeEnum = (typeof payloadStoreTypeEnum)[keyof typeof payloadStoreTypeEnum] export const projectMembershipRoleEnum = { ADMIN: 'ADMIN', PROJECT_DEVELOPER: 'PROJECT_DEVELOPER', - PROJECT_VIEWER: 'PROJECT_VIEWER' -} as const; + PROJECT_VIEWER: 'PROJECT_VIEWER', +} as const -export type ProjectMembershipRoleEnum = (typeof projectMembershipRoleEnum)[keyof typeof projectMembershipRoleEnum]; +export type ProjectMembershipRoleEnum = (typeof projectMembershipRoleEnum)[keyof typeof projectMembershipRoleEnum] export const removedMembershipRoleEnum = { ADMIN: 'ADMIN', PROJECT_DEVELOPER: 'PROJECT_DEVELOPER', - PROJECT_VIEWER: 'PROJECT_VIEWER' -} as const; + PROJECT_VIEWER: 'PROJECT_VIEWER', +} as const -export type RemovedMembershipRoleEnum = (typeof removedMembershipRoleEnum)[keyof typeof removedMembershipRoleEnum]; +export type RemovedMembershipRoleEnum = (typeof removedMembershipRoleEnum)[keyof typeof removedMembershipRoleEnum] export const projectMembershipRoleEnum2 = { ADMIN: 'ADMIN', PROJECT_DEVELOPER: 'PROJECT_DEVELOPER', - PROJECT_VIEWER: 'PROJECT_VIEWER' -} as const; + PROJECT_VIEWER: 'PROJECT_VIEWER', +} as const -export type ProjectMembershipRoleEnum2 = (typeof projectMembershipRoleEnum2)[keyof typeof projectMembershipRoleEnum2]; +export type ProjectMembershipRoleEnum2 = (typeof projectMembershipRoleEnum2)[keyof typeof projectMembershipRoleEnum2] export const projectMembershipPreviousRoleEnum = { ADMIN: 'ADMIN', PROJECT_DEVELOPER: 'PROJECT_DEVELOPER', - PROJECT_VIEWER: 'PROJECT_VIEWER' -} as const; + PROJECT_VIEWER: 'PROJECT_VIEWER', +} as const -export type ProjectMembershipPreviousRoleEnum = - (typeof projectMembershipPreviousRoleEnum)[keyof typeof projectMembershipPreviousRoleEnum]; +export type ProjectMembershipPreviousRoleEnum = (typeof projectMembershipPreviousRoleEnum)[keyof typeof projectMembershipPreviousRoleEnum] export const projectRoleEnum = { ADMIN: 'ADMIN', PROJECT_DEVELOPER: 'PROJECT_DEVELOPER', - PROJECT_VIEWER: 'PROJECT_VIEWER' -} as const; + PROJECT_VIEWER: 'PROJECT_VIEWER', +} as const -export type ProjectRoleEnum = (typeof projectRoleEnum)[keyof typeof projectRoleEnum]; +export type ProjectRoleEnum = (typeof projectRoleEnum)[keyof typeof projectRoleEnum] export const payloadActionEnum5 = { enable: 'enable', - disable: 'disable' -} as const; + disable: 'disable', +} as const -export type PayloadActionEnum5 = (typeof payloadActionEnum5)[keyof typeof payloadActionEnum5]; +export type PayloadActionEnum5 = (typeof payloadActionEnum5)[keyof typeof payloadActionEnum5] export const payloadTierEnum = { pro: 'pro', - plus: 'plus' -} as const; + plus: 'plus', +} as const -export type PayloadTierEnum = (typeof payloadTierEnum)[keyof typeof payloadTierEnum]; +export type PayloadTierEnum = (typeof payloadTierEnum)[keyof typeof payloadTierEnum] export const payloadGrantTypeEnum = { authorization_code: 'authorization_code', refresh_token: 'refresh_token', 'urn:ietf:params:oauth:grant-type:device_code': 'urn:ietf:params:oauth:grant-type:device_code', - client_credentials: 'client_credentials' -} as const; + client_credentials: 'client_credentials', +} as const -export type PayloadGrantTypeEnum = (typeof payloadGrantTypeEnum)[keyof typeof payloadGrantTypeEnum]; +export type PayloadGrantTypeEnum = (typeof payloadGrantTypeEnum)[keyof typeof payloadGrantTypeEnum] export const payloadAuthMethodEnum = { email: 'email', saml: 'saml', + app: 'app', github: 'github', gitlab: 'gitlab', bitbucket: 'bitbucket', @@ -1007,10 +997,10 @@ export const payloadAuthMethodEnum = { otp: 'otp', sms: 'sms', invite: 'invite', - google: 'google' -} as const; + google: 'google', +} as const -export type PayloadAuthMethodEnum = (typeof payloadAuthMethodEnum)[keyof typeof payloadAuthMethodEnum]; +export type PayloadAuthMethodEnum = (typeof payloadAuthMethodEnum)[keyof typeof payloadAuthMethodEnum] /** * @description Array of events generated by the User. @@ -1020,12 +1010,12 @@ export type UserEvent = { * @description The unique identifier of the Event. * @type string */ - id: string; + id: string /** * @description The human-readable text of the Event. * @type string */ - text: string; + text: string /** * @description A list of \"entities\" within the event `text`. Useful for enhancing the displayed text with additional styling and links. * @type array @@ -1035,23 +1025,23 @@ export type UserEvent = { * @description The type of entity. * @type string */ - type: EntitiesTypeEnum; + type: EntitiesTypeEnum /** * @description The index of where the entity begins within the `text` (inclusive). * @type number */ - start: number; + start: number /** * @description The index of where the entity ends within the `text` (non-inclusive). * @type number */ - end: number; - }[]; + end: number + }[] /** * @description Timestamp (in milliseconds) of when the event was generated. * @type number */ - createdAt: number; + createdAt: number /** * @description Metadata for {@link userId}. * @type object | undefined @@ -1061,69 +1051,69 @@ export type UserEvent = { /** * @type string */ - username: string; + username: string /** * @type string */ - avatar: string; + avatar: string /** * @type string */ - email: string; + email: string /** * @type string | undefined */ - slug?: string | undefined; + slug?: string | undefined /** * @type string */ - uid: string; + uid: string } - | undefined; + | undefined principal?: | ( | { /** * @type string | undefined */ - type?: PrincipalTypeEnum | undefined; + type?: PrincipalTypeEnum | undefined /** * @type string */ - avatar: string; + avatar: string /** * @type string */ - email: string; + email: string /** * @type string | undefined */ - slug?: string | undefined; + slug?: string | undefined /** * @type string */ - uid: string; + uid: string /** * @type string */ - username: string; + username: string } | { /** * @type string */ - type: PrincipalTypeEnum2; + type: PrincipalTypeEnum2 /** * @type string */ - clientId: string; + clientId: string /** * @type string */ - name: string; + name: string } ) - | undefined; + | undefined /** * @description Metadata for {@link viaIds}. * @type array | undefined @@ -1134,59 +1124,59 @@ export type UserEvent = { /** * @type string | undefined */ - type?: ViaTypeEnum | undefined; + type?: ViaTypeEnum | undefined /** * @type string */ - avatar: string; + avatar: string /** * @type string */ - email: string; + email: string /** * @type string | undefined */ - slug?: string | undefined; + slug?: string | undefined /** * @type string */ - uid: string; + uid: string /** * @type string */ - username: string; + username: string } | { /** * @type string */ - type: ViaTypeEnum2; + type: ViaTypeEnum2 /** * @type string */ - clientId: string; + clientId: string /** * @type string */ - name: string; + name: string } )[] - | undefined; + | undefined /** * @description When the principal who generated the event is a user, this is their ID; otherwise, it is empty. * @type string */ - userId: string; + userId: string /** * @description The ID of the principal who generated the event. The principal is typically a user, but it could also be an app, an integration, etc. The principal may have delegated its authority to an acting party, and so {@link viaIds} should be checked as well. * @type string */ - principalId: string; + principalId: string /** * @description If the principal delegated its authority (for example, a user delegating to an app), then this array contains the ID of the current actor. For example, if `principalId` is \"user123\" and `viaIds` is `[\"app456\"]`, we can say the event was triggered by - \"app456 on behalf of user123\", or - \"user123 via app4556\". Both are equivalent. Arbitrarily long chains of delegation can be represented. For example, if `principalId` is \"user123\" and `viaIds` is `[\"service1\", \"service2\"]`, we can say the event was triggered by \"user123 via service1 via service2\". * @type array | undefined */ - viaIds?: string[] | undefined; + viaIds?: string[] | undefined payload?: | ( | object @@ -1194,19 +1184,19 @@ export type UserEvent = { /** * @type string */ - action: PayloadActionEnum; + action: PayloadActionEnum /** * @type string */ - id: string; + id: string /** * @type string */ - slug: string; + slug: string /** * @type string */ - projectId: string; + projectId: string } | { /** @@ -1216,18 +1206,18 @@ export type UserEvent = { /** * @type string */ - id: string; + id: string /** * @type string */ - name: string; - }; + name: string + } } | { /** * @type string */ - author: string; + author: string /** * @type object */ @@ -1235,12 +1225,12 @@ export type UserEvent = { /** * @type string */ - id: string; + id: string /** * @type string */ - name: string; - }; + name: string + } } | { /** @@ -1250,12 +1240,12 @@ export type UserEvent = { /** * @type string */ - id: string; + id: string /** * @type string | undefined */ - name?: string | undefined; - }; + name?: string | undefined + } /** * @type object */ @@ -1263,16 +1253,16 @@ export type UserEvent = { /** * @type string */ - id: string; + id: string /** * @type string | undefined */ - username?: string | undefined; - }; + username?: string | undefined + } /** * @type string | undefined */ - directoryType?: string | undefined; + directoryType?: string | undefined } | { /** @@ -1282,12 +1272,12 @@ export type UserEvent = { /** * @type string */ - id: string; + id: string /** * @type string */ - name: string; - }; + name: string + } /** * @type object */ @@ -1295,26 +1285,26 @@ export type UserEvent = { /** * @type string */ - id: string; + id: string /** * @type string | undefined */ - name?: string | undefined; - }; + name?: string | undefined + } /** * @type string */ - nextRole?: (PayloadNextRoleEnum | null) | undefined; + nextRole?: (PayloadNextRoleEnum | null) | undefined /** * @type string | undefined */ - previousRole?: PayloadPreviousRoleEnum | undefined; + previousRole?: PayloadPreviousRoleEnum | undefined } | { /** * @type string | undefined */ - alias?: string | undefined; + alias?: string | undefined /** * @type object */ @@ -1323,163 +1313,163 @@ export type UserEvent = { /** * @type string */ - id: string; + id: string /** * @type string */ - name: string; + name: string /** * @type string */ - url: string; + url: string /** * @type object */ meta: { - [key: string]: string; - }; + [key: string]: string + } } | null) - | undefined; + | undefined /** * @type number | undefined */ - ruleCount?: number | undefined; + ruleCount?: number | undefined /** * @type string | undefined */ - deploymentUrl?: string | undefined; + deploymentUrl?: string | undefined /** * @type string | undefined */ - aliasId?: string | undefined; + aliasId?: string | undefined /** * @type string */ - deploymentId?: (string | null) | undefined; + deploymentId?: (string | null) | undefined /** * @type string */ - oldDeploymentId?: (string | null) | undefined; + oldDeploymentId?: (string | null) | undefined /** * @type string | undefined */ - redirect?: string | undefined; + redirect?: string | undefined /** * @type number */ - redirectStatusCode?: (number | null) | undefined; + redirectStatusCode?: (number | null) | undefined /** * @type string */ - target?: (string | null) | undefined; + target?: (string | null) | undefined /** * @type boolean | undefined */ - system?: boolean | undefined; + system?: boolean | undefined /** * @type number | undefined */ - aliasUpdatedAt?: number | undefined; + aliasUpdatedAt?: number | undefined } | { /** * @type string | undefined */ - aliasId?: string | undefined; + aliasId?: string | undefined /** * @type string | undefined */ - alias?: string | undefined; + alias?: string | undefined /** * @type string | undefined */ - projectName?: string | undefined; + projectName?: string | undefined } | { /** * @type string | undefined */ - alias?: string | undefined; + alias?: string | undefined } | { /** * @type string | undefined */ - alias?: string | undefined; + alias?: string | undefined /** * @type string | undefined */ - userId?: string | undefined; + userId?: string | undefined /** * @type string | undefined */ - username?: string | undefined; + username?: string | undefined } | { /** * @type string | undefined */ - alias?: string | undefined; + alias?: string | undefined /** * @type string | undefined */ - aliasId?: string | undefined; + aliasId?: string | undefined /** * @type string | undefined */ - userId?: string | undefined; + userId?: string | undefined /** * @type string | undefined */ - username?: string | undefined; + username?: string | undefined } | { /** * @type string */ - projectName: string; + projectName: string /** * @type string */ - alias: string; + alias: string /** * @type string */ - action: PayloadActionEnum2; + action: PayloadActionEnum2 } | { /** * @type string | undefined */ - alias?: string | undefined; + alias?: string | undefined /** * @type string | undefined */ - email?: string | undefined; + email?: string | undefined /** * @type string | undefined */ - username?: string | undefined; + username?: string | undefined } | { /** * @type string | undefined */ - alias?: string | undefined; + alias?: string | undefined /** * @type string | undefined */ - email?: string | undefined; + email?: string | undefined } | { /** * @type string | undefined */ - name?: string | undefined; + name?: string | undefined /** * @type string */ - alias: string; + alias: string /** * @type object | undefined */ @@ -1488,9 +1478,9 @@ export type UserEvent = { /** * @type string */ - name: string; + name: string } - | undefined; + | undefined /** * @type object | undefined */ @@ -1499,91 +1489,91 @@ export type UserEvent = { /** * @type string */ - name: string; + name: string } - | undefined; + | undefined } | { /** * @type string | undefined */ - name?: string | undefined; + name?: string | undefined /** * @type string */ - alias: string; + alias: string /** * @type string */ - aliasId: string; + aliasId: string /** * @type string */ - deploymentId: string | null; + deploymentId: string | null } | { /** * @type string */ - alias: string; + alias: string /** * @type string */ - deploymentUrl: string; + deploymentUrl: string } | { /** * @type string */ - projectName: string; + projectName: string /** * @type boolean */ - autoExposeSystemEnvs: boolean; + autoExposeSystemEnvs: boolean } | { /** * @type string | undefined */ - avatar?: string | undefined; + avatar?: string | undefined } | { /** * @type string | undefined */ - cn?: string | undefined; + cn?: string | undefined /** * @type array | undefined */ - cns?: string[] | undefined; + cns?: string[] | undefined /** * @type boolean */ - custom: boolean; + custom: boolean /** * @type string | undefined */ - id?: string | undefined; + id?: string | undefined } | { /** * @type string | undefined */ - cn?: string | undefined; + cn?: string | undefined /** * @type array | undefined */ - cns?: string[] | undefined; + cns?: string[] | undefined /** * @type string | undefined */ - id?: string | undefined; + id?: string | undefined } | { /** * @type string */ - id: string; + id: string /** * @type object | undefined */ @@ -1592,9 +1582,9 @@ export type UserEvent = { /** * @type string */ - name: string; + name: string } - | undefined; + | undefined /** * @type object | undefined */ @@ -1603,69 +1593,69 @@ export type UserEvent = { /** * @type string */ - name: string; + name: string } - | undefined; + | undefined } | { /** * @type string */ - src: string; + src: string /** * @type string */ - dst: string; + dst: string } | { /** * @type string */ - id: string; + id: string /** * @type string | undefined */ - cn?: string | undefined; + cn?: string | undefined /** * @type array | undefined */ - cns?: string[] | undefined; + cns?: string[] | undefined } | { /** * @type string | undefined */ - cn?: string | undefined; + cn?: string | undefined /** * @type array | undefined */ - cns?: string[] | undefined; + cns?: string[] | undefined } | { /** * @type string | undefined */ - reason?: string | undefined; + reason?: string | undefined /** * @type string */ - suffix: string; + suffix: string } | { /** * @type string */ - status: string; + status: string /** * @type string */ - suffix: string; + suffix: string } | { /** * @type string */ - suffix: string; + suffix: string } | { /** @@ -1675,12 +1665,12 @@ export type UserEvent = { /** * @type string */ - id: string; + id: string /** * @type string */ - name: string; - }; + name: string + } /** * @type object */ @@ -1688,12 +1678,12 @@ export type UserEvent = { /** * @type string */ - id: string; + id: string /** * @type string | undefined */ - name?: string | undefined; - }; + name?: string | undefined + } /** * @type object */ @@ -1701,16 +1691,16 @@ export type UserEvent = { /** * @type string */ - id: string; + id: string /** * @type string | undefined */ - name?: string | undefined; - }; + name?: string | undefined + } /** * @type boolean | undefined */ - buildsEnabled?: boolean | undefined; + buildsEnabled?: boolean | undefined } | { /** @@ -1720,12 +1710,12 @@ export type UserEvent = { /** * @type string */ - id: string; + id: string /** * @type string */ - name: string; - }; + name: string + } /** * @type object */ @@ -1733,12 +1723,12 @@ export type UserEvent = { /** * @type string */ - id: string; + id: string /** * @type string | undefined */ - name?: string | undefined; - }; + name?: string | undefined + } /** * @type object */ @@ -1746,20 +1736,20 @@ export type UserEvent = { /** * @type string */ - id: string; + id: string /** * @type string | undefined */ - name?: string | undefined; - }; + name?: string | undefined + } /** * @type boolean | undefined */ - buildsEnabled?: boolean | undefined; + buildsEnabled?: boolean | undefined /** * @type boolean | undefined */ - passive?: boolean | undefined; + passive?: boolean | undefined } | { /** @@ -1769,12 +1759,12 @@ export type UserEvent = { /** * @type string */ - id: string; + id: string /** * @type string */ - name: string; - }; + name: string + } /** * @type object */ @@ -1782,12 +1772,12 @@ export type UserEvent = { /** * @type string */ - id: string; + id: string /** * @type string | undefined */ - name?: string | undefined; - }; + name?: string | undefined + } /** * @type object */ @@ -1795,12 +1785,12 @@ export type UserEvent = { /** * @type string */ - id: string; + id: string /** * @type string | undefined */ - name?: string | undefined; - }; + name?: string | undefined + } } | { /** @@ -1810,12 +1800,12 @@ export type UserEvent = { /** * @type string */ - id: string; + id: string /** * @type string */ - name: string; - }; + name: string + } /** * @type object */ @@ -1823,50 +1813,50 @@ export type UserEvent = { /** * @type string */ - id: string; + id: string /** * @type string | undefined */ - name?: string | undefined; - }; + name?: string | undefined + } /** * @type string */ - newName: string; + newName: string } | { /** * @type string */ - githubLogin: string; + githubLogin: string } | { /** * @type string */ - gitlabLogin: string; + gitlabLogin: string /** * @type string */ - gitlabEmail: string; + gitlabEmail: string /** * @type string | undefined */ - gitlabName?: string | undefined; + gitlabName?: string | undefined } | { /** * @type string */ - bitbucketEmail: string; + bitbucketEmail: string /** * @type string */ - bitbucketLogin: string; + bitbucketLogin: string /** * @type string | undefined */ - bitbucketName?: string | undefined; + bitbucketName?: string | undefined } | { /** @@ -1876,8 +1866,8 @@ export type UserEvent = { /** * @type string */ - name: string; - }; + name: string + } /** * @type object */ @@ -1889,39 +1879,39 @@ export type UserEvent = { /** * @type number */ - createdAt: number; + createdAt: number /** * @type string */ - id: string; + id: string /** * @type string */ - name: string; + name: string /** * @type string */ - ref: string; - }; + ref: string + } /** * @type string */ - state: string; - }; + state: string + } } | { /** * @type string | undefined */ - name?: string | undefined; + name?: string | undefined /** * @type array | undefined */ - alias?: string[] | undefined; + alias?: string[] | undefined /** * @type string */ - target?: (string | null) | undefined; + target?: (string | null) | undefined /** * @type object */ @@ -1930,61 +1920,61 @@ export type UserEvent = { /** * @type string */ - id: string; + id: string /** * @type string */ - name: string; + name: string /** * @type string */ - url: string; + url: string /** * @type object */ meta: { - [key: string]: string; - }; + [key: string]: string + } } | null) - | undefined; + | undefined /** * @type string */ - url: string; + url: string /** * @type boolean | undefined */ - forced?: boolean | undefined; + forced?: boolean | undefined /** * @type string | undefined */ - deploymentId?: string | undefined; + deploymentId?: string | undefined /** * @type string | undefined */ - plan?: string | undefined; + plan?: string | undefined /** * @type string | undefined */ - project?: string | undefined; + project?: string | undefined /** * @type string | undefined */ - projectId?: string | undefined; + projectId?: string | undefined /** * @type array | undefined */ - regions?: string[] | undefined; + regions?: string[] | undefined /** * @type string | undefined */ - type?: string | undefined; + type?: string | undefined } | { /** * @type string */ - url: string; + url: string /** * @type object | undefined */ @@ -1993,9 +1983,9 @@ export type UserEvent = { /** * @type string */ - name: string; + name: string } - | undefined; + | undefined /** * @type object | undefined */ @@ -2004,9 +1994,9 @@ export type UserEvent = { /** * @type string */ - name: string; + name: string } - | undefined; + | undefined } | { /** @@ -2016,142 +2006,132 @@ export type UserEvent = { /** * @type string */ - id: string; + id: string /** * @type string */ - name: string; + name: string /** * @type string */ - url: string; + url: string /** * @type object */ meta: { - [key: string]: string; - }; - }; + [key: string]: string + } + } /** * @type string */ - deploymentId: string; + deploymentId: string /** * @type string */ - url: string; + url: string } | { /** * @type string */ - id: string; + id: string /** * @type string */ - value: string; + value: string /** * @type string */ - name: string; + name: string /** * @type string */ - domain: string; + domain: string /** * @type string */ - type: string; + type: string /** * @type number | undefined */ - mxPriority?: number | undefined; - } - | { - /** - * @type string - */ - id: string; - /** - * @type string - */ - domain: string; + mxPriority?: number | undefined } | { /** * @type string */ - id: string; + id: string /** * @type string */ - value: string; + value: string /** * @type string */ - name: string; + name: string /** * @type string */ - domain: string; + domain: string /** * @type string */ - type: string; + type: string } | { /** * @type string */ - name: string; + name: string } | { /** * @type string */ - name: string; + name: string /** * @type number */ - price: number; + price: number /** * @type string | undefined */ - currency?: string | undefined; + currency?: string | undefined } | { /** * @type string */ - name: string; + name: string /** * @type boolean */ - cdnEnabled: boolean; + cdnEnabled: boolean } | { /** * @type string */ - name: string; + name: string /** * @type string */ - userId: string; + userId: string /** * @type string */ - teamId: string; + teamId: string /** * @type string */ - ownerName: string; + ownerName: string } | { /** * @type string */ - name: string; + name: string /** * @type object | undefined */ @@ -2160,9 +2140,9 @@ export type UserEvent = { /** * @type string */ - name: string; + name: string } - | undefined; + | undefined /** * @type object | undefined */ @@ -2171,240 +2151,240 @@ export type UserEvent = { /** * @type string */ - name: string; + name: string } - | undefined; + | undefined } | { /** * @type string */ - domainId: string; + domainId: string /** * @type string */ - name: string; + name: string } | { /** * @type string */ - name: string; + name: string /** * @type string */ - fromId: string | null; + fromId: string | null /** * @type string */ - fromName: string | null; + fromName: string | null } | { /** * @type string */ - name: string; + name: string /** * @type string */ - destinationId: string | null; + destinationId: string | null /** * @type string */ - destinationName: string | null; + destinationName: string | null } | { /** * @type string */ - name: string; + name: string /** * @type string */ - destinationId: string; + destinationId: string /** * @type string */ - destinationName: string; + destinationName: string } | { /** * @type boolean | undefined */ - renew?: boolean | undefined; + renew?: boolean | undefined /** * @type string */ - domain: string; + domain: string } | { /** * @type string */ - name: string; + name: string /** * @type number | undefined */ - price?: number | undefined; + price?: number | undefined /** * @type string | undefined */ - currency?: string | undefined; + currency?: string | undefined } | { /** * @type string */ - sha: string; + sha: string /** * @type string */ - gitUserPlatform: string; + gitUserPlatform: string /** * @type string */ - projectName: string; + projectName: string } | { /** * @type string */ - email: string; + email: string /** * @type string */ - name: string; + name: string } | { /** * @type string | undefined */ - key?: string | undefined; + key?: string | undefined /** * @type string | undefined */ - projectId?: string | undefined; + projectId?: string | undefined /** * @type string | undefined */ - projectName?: string | undefined; - target?: (string | string[]) | undefined; + projectName?: string | undefined + target?: (string | string[]) | undefined /** * @type string | undefined */ - id?: string | undefined; + id?: string | undefined /** * @type string | undefined */ - gitBranch?: string | undefined; + gitBranch?: string | undefined /** * @type string */ - edgeConfigId?: (string | null) | undefined; + edgeConfigId?: (string | null) | undefined /** * @type string */ - edgeConfigTokenId?: (string | null) | undefined; + edgeConfigTokenId?: (string | null) | undefined /** * @type string | undefined */ - source?: string | undefined; + source?: string | undefined } | { /** * @description The date when the Shared Env Var was created. * @type string | undefined, date-time */ - created?: string | undefined; + created?: string | undefined /** * @description The name of the Shared Env Var. * @type string | undefined */ - key?: string | undefined; + key?: string | undefined /** * @description The unique identifier of the owner (team) the Shared Env Var was created for. * @type string */ - ownerId?: (string | null) | undefined; + ownerId?: (string | null) | undefined /** * @description The unique identifier of the Shared Env Var. * @type string | undefined */ - id?: string | undefined; + id?: string | undefined /** * @description The unique identifier of the user who created the Shared Env Var. * @type string */ - createdBy?: (string | null) | undefined; + createdBy?: (string | null) | undefined /** * @description The unique identifier of the user who deleted the Shared Env Var. * @type string */ - deletedBy?: (string | null) | undefined; + deletedBy?: (string | null) | undefined /** * @description The unique identifier of the user who last updated the Shared Env Var. * @type string */ - updatedBy?: (string | null) | undefined; + updatedBy?: (string | null) | undefined /** * @description Timestamp for when the Shared Env Var was created. * @type number | undefined */ - createdAt?: number | undefined; + createdAt?: number | undefined /** * @description Timestamp for when the Shared Env Var was (soft) deleted. * @type number | undefined */ - deletedAt?: number | undefined; + deletedAt?: number | undefined /** * @description Timestamp for when the Shared Env Var was last updated. * @type number | undefined */ - updatedAt?: number | undefined; + updatedAt?: number | undefined /** * @description The value of the Shared Env Var. * @type string | undefined */ - value?: string | undefined; + value?: string | undefined /** * @description The unique identifiers of the projects which the Shared Env Var is linked to. * @type array | undefined */ - projectId?: string[] | undefined; + projectId?: string[] | undefined /** * @description The type of this cosmos doc instance, if blank, assume secret. * @type string | undefined */ - type?: PayloadTypeEnum | undefined; + type?: PayloadTypeEnum | undefined /** * @description environments this env variable targets * @type array | undefined */ - target?: PayloadTargetEnum[] | undefined; + target?: PayloadTargetEnum[] | undefined /** * @description whether or not this env varible applies to custom environments * @type boolean | undefined */ - applyToAllCustomEnvironments?: boolean | undefined; + applyToAllCustomEnvironments?: boolean | undefined /** * @description whether or not this env variable is decrypted * @type boolean | undefined */ - decrypted?: boolean | undefined; + decrypted?: boolean | undefined /** * @description A user provided comment that describes what this Shared Env Var is for. * @type string | undefined */ - comment?: string | undefined; + comment?: string | undefined /** * @description The last editor full name or username. * @type string | undefined */ - lastEditedByDisplayName?: string | undefined; + lastEditedByDisplayName?: string | undefined /** * @type array | undefined */ - projectNames?: string[] | undefined; + projectNames?: string[] | undefined } | { /** @@ -2416,94 +2396,94 @@ export type UserEvent = { * @description The date when the Shared Env Var was created. * @type string | undefined, date-time */ - created?: string | undefined; + created?: string | undefined /** * @description The name of the Shared Env Var. * @type string | undefined */ - key?: string | undefined; + key?: string | undefined /** * @description The unique identifier of the owner (team) the Shared Env Var was created for. * @type string */ - ownerId?: (string | null) | undefined; + ownerId?: (string | null) | undefined /** * @description The unique identifier of the Shared Env Var. * @type string | undefined */ - id?: string | undefined; + id?: string | undefined /** * @description The unique identifier of the user who created the Shared Env Var. * @type string */ - createdBy?: (string | null) | undefined; + createdBy?: (string | null) | undefined /** * @description The unique identifier of the user who deleted the Shared Env Var. * @type string */ - deletedBy?: (string | null) | undefined; + deletedBy?: (string | null) | undefined /** * @description The unique identifier of the user who last updated the Shared Env Var. * @type string */ - updatedBy?: (string | null) | undefined; + updatedBy?: (string | null) | undefined /** * @description Timestamp for when the Shared Env Var was created. * @type number | undefined */ - createdAt?: number | undefined; + createdAt?: number | undefined /** * @description Timestamp for when the Shared Env Var was (soft) deleted. * @type number | undefined */ - deletedAt?: number | undefined; + deletedAt?: number | undefined /** * @description Timestamp for when the Shared Env Var was last updated. * @type number | undefined */ - updatedAt?: number | undefined; + updatedAt?: number | undefined /** * @description The value of the Shared Env Var. * @type string | undefined */ - value?: string | undefined; + value?: string | undefined /** * @description The unique identifiers of the projects which the Shared Env Var is linked to. * @type array | undefined */ - projectId?: string[] | undefined; + projectId?: string[] | undefined /** * @description The type of this cosmos doc instance, if blank, assume secret. * @type string | undefined */ - type?: OldEnvVarTypeEnum | undefined; + type?: OldEnvVarTypeEnum | undefined /** * @description environments this env variable targets * @type array | undefined */ - target?: OldEnvVarTargetEnum[] | undefined; + target?: OldEnvVarTargetEnum[] | undefined /** * @description whether or not this env varible applies to custom environments * @type boolean | undefined */ - applyToAllCustomEnvironments?: boolean | undefined; + applyToAllCustomEnvironments?: boolean | undefined /** * @description whether or not this env variable is decrypted * @type boolean | undefined */ - decrypted?: boolean | undefined; + decrypted?: boolean | undefined /** * @description A user provided comment that describes what this Shared Env Var is for. * @type string | undefined */ - comment?: string | undefined; + comment?: string | undefined /** * @description The last editor full name or username. * @type string | undefined */ - lastEditedByDisplayName?: string | undefined; + lastEditedByDisplayName?: string | undefined } - | undefined; + | undefined /** * @type object | undefined */ @@ -2513,94 +2493,94 @@ export type UserEvent = { * @description The date when the Shared Env Var was created. * @type string | undefined, date-time */ - created?: string | undefined; + created?: string | undefined /** * @description The name of the Shared Env Var. * @type string | undefined */ - key?: string | undefined; + key?: string | undefined /** * @description The unique identifier of the owner (team) the Shared Env Var was created for. * @type string */ - ownerId?: (string | null) | undefined; + ownerId?: (string | null) | undefined /** * @description The unique identifier of the Shared Env Var. * @type string | undefined */ - id?: string | undefined; + id?: string | undefined /** * @description The unique identifier of the user who created the Shared Env Var. * @type string */ - createdBy?: (string | null) | undefined; + createdBy?: (string | null) | undefined /** * @description The unique identifier of the user who deleted the Shared Env Var. * @type string */ - deletedBy?: (string | null) | undefined; + deletedBy?: (string | null) | undefined /** * @description The unique identifier of the user who last updated the Shared Env Var. * @type string */ - updatedBy?: (string | null) | undefined; + updatedBy?: (string | null) | undefined /** * @description Timestamp for when the Shared Env Var was created. * @type number | undefined */ - createdAt?: number | undefined; + createdAt?: number | undefined /** * @description Timestamp for when the Shared Env Var was (soft) deleted. * @type number | undefined */ - deletedAt?: number | undefined; + deletedAt?: number | undefined /** * @description Timestamp for when the Shared Env Var was last updated. * @type number | undefined */ - updatedAt?: number | undefined; + updatedAt?: number | undefined /** * @description The value of the Shared Env Var. * @type string | undefined */ - value?: string | undefined; + value?: string | undefined /** * @description The unique identifiers of the projects which the Shared Env Var is linked to. * @type array | undefined */ - projectId?: string[] | undefined; + projectId?: string[] | undefined /** * @description The type of this cosmos doc instance, if blank, assume secret. * @type string | undefined */ - type?: NewEnvVarTypeEnum | undefined; + type?: NewEnvVarTypeEnum | undefined /** * @description environments this env variable targets * @type array | undefined */ - target?: NewEnvVarTargetEnum[] | undefined; + target?: NewEnvVarTargetEnum[] | undefined /** * @description whether or not this env varible applies to custom environments * @type boolean | undefined */ - applyToAllCustomEnvironments?: boolean | undefined; + applyToAllCustomEnvironments?: boolean | undefined /** * @description whether or not this env variable is decrypted * @type boolean | undefined */ - decrypted?: boolean | undefined; + decrypted?: boolean | undefined /** * @description A user provided comment that describes what this Shared Env Var is for. * @type string | undefined */ - comment?: string | undefined; + comment?: string | undefined /** * @description The last editor full name or username. * @type string | undefined */ - lastEditedByDisplayName?: string | undefined; + lastEditedByDisplayName?: string | undefined } - | undefined; + | undefined /** * @type object | undefined */ @@ -2609,31 +2589,31 @@ export type UserEvent = { /** * @type string */ - id: string; + id: string /** * @type string | undefined */ - key?: string | undefined; + key?: string | undefined /** * @type string | undefined */ - newKey?: string | undefined; + newKey?: string | undefined /** * @type array | undefined */ - oldTarget?: UpdateDiffOldTargetEnum[] | undefined; + oldTarget?: UpdateDiffOldTargetEnum[] | undefined /** * @type array | undefined */ - newTarget?: UpdateDiffNewTargetEnum[] | undefined; + newTarget?: UpdateDiffNewTargetEnum[] | undefined /** * @type string | undefined */ - oldType?: string | undefined; + oldType?: string | undefined /** * @type string | undefined */ - newType?: string | undefined; + newType?: string | undefined /** * @type array | undefined */ @@ -2642,13 +2622,13 @@ export type UserEvent = { /** * @type string | undefined */ - projectName?: string | undefined; + projectName?: string | undefined /** * @type string */ - projectId: string; + projectId: string }[] - | undefined; + | undefined /** * @type array | undefined */ @@ -2657,83 +2637,83 @@ export type UserEvent = { /** * @type string | undefined */ - projectName?: string | undefined; + projectName?: string | undefined /** * @type string */ - projectId: string; + projectId: string }[] - | undefined; + | undefined /** * @type boolean */ - changedValue: boolean; + changedValue: boolean } - | undefined; + | undefined } | { /** * @type string */ - projectId: string; + projectId: string /** * @type boolean */ - restore: boolean; + restore: boolean /** * @type number */ - configVersion: number; + configVersion: number /** * @type number */ - configChangeCount: number; + configChangeCount: number /** * @type array */ - configChanges: object[]; + configChanges: object[] } | { /** * @type string */ - projectId: string; + projectId: string /** * @type string */ - scope: string; + scope: string /** * @type string */ - source: string; + source: string } | { /** * @type string */ - projectId: string; + projectId: string /** * @type string */ - rulesetName: string; + rulesetName: string /** * @type boolean */ - active: boolean; + active: boolean /** * @type string | undefined */ - action?: PayloadActionEnum3 | undefined; + action?: PayloadActionEnum3 | undefined } | { /** * @type string */ - projectId: string; + projectId: string /** * @type string */ - rulesetName: string; + rulesetName: string /** * @type object */ @@ -2742,49 +2722,71 @@ export type UserEvent = { /** * @type boolean */ - active: boolean; + active: boolean /** * @type string | undefined */ - action?: ActionEnum | undefined; - }; - }; + action?: ActionEnum | undefined + } + } + } + | { + /** + * @type string + */ + projectId: string + /** + * @type boolean | undefined + */ + prevAttackModeEnabled?: boolean | undefined + /** + * @type number + */ + prevAttackModeActiveUntil?: (number | null) | undefined + /** + * @type boolean + */ + attackModeEnabled: boolean + /** + * @type number + */ + attackModeActiveUntil?: (number | null) | undefined } | { /** * @type string */ - integrationId: string; + integrationId: string /** * @type string */ - integrationSlug: string; + integrationSlug: string /** * @type string */ - integrationName: string; + integrationName: string } | { /** * @type string */ - userId: string; + userId: string /** * @type string */ - integrationId: string; + integrationId: string /** * @type string */ - configurationId: string; + configurationId: string /** * @type string */ - integrationSlug: string; + integrationSlug: string /** * @type string | undefined */ - integrationName?: string | undefined; + integrationName?: string | undefined /** * @type object */ @@ -2803,38 +2805,38 @@ export type UserEvent = { /** * @type string */ - action: BlockHistoryActionEnum; + action: BlockHistoryActionEnum /** * @type number */ - createdAt: number; + createdAt: number /** * @type string | undefined */ - caseId?: string | undefined; + caseId?: string | undefined /** * @type string */ - reason: string; + reason: string /** * @type string | undefined */ - actor?: string | undefined; + actor?: string | undefined /** * @type number | undefined */ - statusCode?: number | undefined; + statusCode?: number | undefined /** * @type string | undefined */ - comment?: string | undefined; + comment?: string | undefined }[] - | undefined; + | undefined /** * @description Since March 2022. Helps abuse checks by tracking git auths. Format: `::` * @type array | undefined */ - gitAuthHistory?: string[] | undefined; + gitAuthHistory?: string[] | undefined /** * @description (scanner history). Since November 2021. First element is newest. * @type array | undefined @@ -2844,71 +2846,71 @@ export type UserEvent = { /** * @type string */ - scanner: string; + scanner: string /** * @type string */ - reason: string; + reason: string /** * @type string */ - by: string; + by: string /** * @type string */ - byId: string; + byId: string /** * @type number */ - at: number; + at: number }[] - | undefined; + | undefined /** * @description Since September 2023. How often did this owner trigger an actual git lineage deploy block? * @type number | undefined */ - gitLineageBlocks?: number | undefined; + gitLineageBlocks?: number | undefined /** * @description Since September 2023. How often did this owner trigger a git lineage deploy block dry run? * @type number | undefined */ - gitLineageBlocksDry?: number | undefined; + gitLineageBlocksDry?: number | undefined /** * @description Since November 2021. Guides the abuse scanner in build container. * @type string | undefined */ - scanner?: string | undefined; + scanner?: string | undefined /** * @description Since November 2021 - * @type number | undefined + * @type number */ - updatedAt?: number | undefined; + updatedAt: number /** * @type string | undefined */ - creationUserAgent?: string | undefined; + creationUserAgent?: string | undefined /** * @type string | undefined */ - creationIp?: string | undefined; + creationIp?: string | undefined /** * @type string | undefined */ - removedPhoneNumbers?: string | undefined; + removedPhoneNumbers?: string | undefined } - | undefined; + | undefined /** * @type string | undefined */ - acceptanceState?: string | undefined; + acceptanceState?: string | undefined /** * @type number | undefined */ - acceptedAt?: number | undefined; + acceptedAt?: number | undefined /** * @type string | undefined */ - avatar?: string | undefined; + avatar?: string | undefined /** * @type object */ @@ -2916,24 +2918,24 @@ export type UserEvent = { /** * @type string */ - plan: BillingPlanEnum; - }; + plan: BillingPlanEnum + } /** * @type number */ - blocked: number | null; + blocked: number | null /** * @type string | undefined */ - blockReason?: string | undefined; + blockReason?: string | undefined /** * @type number | undefined */ - created?: number | undefined; + created?: number | undefined /** * @type number */ - createdAt: number; + createdAt: number /** * @type array | undefined */ @@ -2943,36 +2945,36 @@ export type UserEvent = { /** * @type string */ - type: CredentialsTypeEnum; + type: CredentialsTypeEnum /** * @type string */ - id: string; + id: string } | { /** * @type string */ - type: CredentialsTypeEnum2; + type: CredentialsTypeEnum2 /** * @type string */ - host: string; + host: string /** * @type string */ - id: string; + id: string } )[] - | undefined; + | undefined /** * @type string */ - customerId?: (string | null) | undefined; + customerId?: (string | null) | undefined /** * @type string */ - orbCustomerId?: (string | null) | undefined; + orbCustomerId?: (string | null) | undefined /** * @type object | undefined */ @@ -2981,21 +2983,21 @@ export type UserEvent = { /** * @type boolean | undefined */ - excessBillingEnabled?: boolean | undefined; + excessBillingEnabled?: boolean | undefined } - | undefined; + | undefined /** * @type number */ - deletedAt?: (number | null) | undefined; + deletedAt?: (number | null) | undefined /** * @type string */ - deploymentSecret: string; + deploymentSecret: string /** * @type array | undefined */ - dismissedTeams?: string[] | undefined; + dismissedTeams?: string[] | undefined /** * @type array | undefined */ @@ -3004,7 +3006,7 @@ export type UserEvent = { /** * @type string */ - name: string; + name: string /** * @type array */ @@ -3012,14 +3014,14 @@ export type UserEvent = { /** * @type string */ - scopeId: string; + scopeId: string /** * @type number */ - createdAt: number; - }[]; + createdAt: number + }[] }[] - | undefined; + | undefined /** * @type array | undefined */ @@ -3028,27 +3030,27 @@ export type UserEvent = { /** * @type string */ - teamId: string; + teamId: string /** * @type string */ - projectId: string; + projectId: string }[] - | undefined; + | undefined /** * @type string */ - email: string; + email: string /** * @type string */ - id: string; - importFlowGitNamespace?: ((string | number) | null) | undefined; - importFlowGitNamespaceId?: ((string | number) | null) | undefined; + id: string + importFlowGitNamespace?: ((string | number) | null) | undefined + importFlowGitNamespaceId?: ((string | number) | null) | undefined /** * @type string */ - importFlowGitProvider?: (NewOwnerImportFlowGitProviderEnum | null) | undefined; + importFlowGitProvider?: (NewOwnerImportFlowGitProviderEnum | null) | undefined /** * @type array | undefined */ @@ -3057,40 +3059,40 @@ export type UserEvent = { /** * @type string */ - scopeId: string; - gitNamespaceId: (string | number) | null; + scopeId: string + gitNamespaceId: (string | number) | null }[] - | undefined; + | undefined /** * @type boolean | undefined */ - isDomainReseller?: boolean | undefined; + isDomainReseller?: boolean | undefined /** * @type boolean | undefined */ - isZeitPub?: boolean | undefined; + isZeitPub?: boolean | undefined /** * @type number | undefined */ - maxActiveSlots?: number | undefined; + maxActiveSlots?: number | undefined /** * @type string | undefined */ - name?: string | undefined; + name?: string | undefined /** * @type string | undefined */ - phoneNumber?: string | undefined; + phoneNumber?: string | undefined /** * @type number */ - platformVersion: number | null; - preventAutoBlocking?: (number | boolean) | undefined; + platformVersion: number | null + preventAutoBlocking?: (number | boolean) | undefined /** * @description Overrides our DEFAULT project domains limit per account or per project. * @type number | undefined */ - projectDomainsLimit?: number | undefined; + projectDomainsLimit?: number | undefined /** * @description Represents configuration for remote caching * @type object | undefined @@ -3100,49 +3102,49 @@ export type UserEvent = { /** * @type boolean | undefined */ - enabled?: boolean | undefined; + enabled?: boolean | undefined } - | undefined; + | undefined /** * @type number | undefined */ - removedAliasesAt?: number | undefined; + removedAliasesAt?: number | undefined /** * @type number | undefined */ - removedBillingSubscriptionAt?: number | undefined; + removedBillingSubscriptionAt?: number | undefined /** * @type number | undefined */ - removedConfigurationsAt?: number | undefined; + removedConfigurationsAt?: number | undefined /** * @type number | undefined */ - removedDeploymentsAt?: number | undefined; + removedDeploymentsAt?: number | undefined /** * @type number | undefined */ - removedDomiansAt?: number | undefined; + removedDomiansAt?: number | undefined /** * @type number | undefined */ - removedEventsAt?: number | undefined; + removedEventsAt?: number | undefined /** * @type number | undefined */ - removedProjectsAt?: number | undefined; + removedProjectsAt?: number | undefined /** * @type number | undefined */ - removedSecretsAt?: number | undefined; + removedSecretsAt?: number | undefined /** * @type number | undefined */ - removedSharedEnvVarsAt?: number | undefined; + removedSharedEnvVarsAt?: number | undefined /** * @type number | undefined */ - removedEdgeConfigsAt?: number | undefined; + removedEdgeConfigsAt?: number | undefined /** * @type object | undefined */ @@ -3151,15 +3153,15 @@ export type UserEvent = { /** * @type string | undefined */ - nodeType?: string | undefined; + nodeType?: string | undefined /** * @type number | undefined */ - concurrentBuilds?: number | undefined; + concurrentBuilds?: number | undefined /** * @type boolean | undefined */ - elasticConcurrencyEnabled?: boolean | undefined; + elasticConcurrencyEnabled?: boolean | undefined /** * @type object | undefined */ @@ -3168,89 +3170,89 @@ export type UserEvent = { /** * @type boolean | undefined */ - enhancedBuilds?: boolean | undefined; + enhancedBuilds?: boolean | undefined } - | undefined; + | undefined /** * @type string | undefined */ - awsAccountType?: string | undefined; + awsAccountType?: string | undefined /** * @type array | undefined */ - awsAccountIds?: string[] | undefined; + awsAccountIds?: string[] | undefined /** * @type string | undefined */ - cfZoneName?: string | undefined; + cfZoneName?: string | undefined /** * @type string | undefined */ - imageOptimizationType?: string | undefined; + imageOptimizationType?: string | undefined /** * @type number | undefined */ - edgeConfigs?: number | undefined; + edgeConfigs?: number | undefined /** * @type number | undefined */ - edgeConfigSize?: number | undefined; + edgeConfigSize?: number | undefined /** * @type number | undefined */ - edgeFunctionMaxSizeBytes?: number | undefined; + edgeFunctionMaxSizeBytes?: number | undefined /** * @type number | undefined */ - edgeFunctionExecutionTimeoutMs?: number | undefined; + edgeFunctionExecutionTimeoutMs?: number | undefined /** * @type number | undefined */ - serverlessFunctionMaxMemorySize?: number | undefined; + serverlessFunctionMaxMemorySize?: number | undefined /** * @type number | undefined */ - kvDatabases?: number | undefined; + kvDatabases?: number | undefined /** * @type number | undefined */ - postgresDatabases?: number | undefined; + postgresDatabases?: number | undefined /** * @type number | undefined */ - blobStores?: number | undefined; + blobStores?: number | undefined /** * @type number | undefined */ - integrationStores?: number | undefined; + integrationStores?: number | undefined /** * @type number | undefined */ - cronJobs?: number | undefined; + cronJobs?: number | undefined /** * @type number | undefined */ - cronJobsPerProject?: number | undefined; + cronJobsPerProject?: number | undefined /** * @type number | undefined */ - microfrontendGroupsPerTeam?: number | undefined; + microfrontendGroupsPerTeam?: number | undefined /** * @type number | undefined */ - microfrontendProjectsPerGroup?: number | undefined; + microfrontendProjectsPerGroup?: number | undefined /** * @type number | undefined */ - flagsExplorerOverridesThreshold?: number | undefined; + flagsExplorerOverridesThreshold?: number | undefined /** * @type boolean | undefined */ - flagsExplorerUnlimitedOverrides?: boolean | undefined; + flagsExplorerUnlimitedOverrides?: boolean | undefined /** * @type number | undefined */ - customEnvironmentsPerProject?: number | undefined; + customEnvironmentsPerProject?: number | undefined /** * @type object | undefined */ @@ -3259,23 +3261,46 @@ export type UserEvent = { /** * @type string | undefined */ - purchaseType?: BuildMachinePurchaseTypeEnum | undefined; + purchaseType?: BuildMachinePurchaseTypeEnum | undefined /** * @type boolean | undefined */ - isDefaultBuildMachine?: boolean | undefined; + isDefaultBuildMachine?: boolean | undefined /** * @type number | undefined */ - cores?: number | undefined; + cores?: number | undefined /** * @type number | undefined */ - memory?: number | undefined; + memory?: number | undefined } - | undefined; + | undefined + /** + * @type object | undefined + */ + security?: + | { + /** + * @type number | undefined + */ + customRules?: number | undefined + /** + * @type number | undefined + */ + ipBlocks?: number | undefined + /** + * @type number | undefined + */ + ipBypass?: number | undefined + /** + * @type number | undefined + */ + rateLimit?: number | undefined + } + | undefined } - | undefined; + | undefined /** * @description User | Team resource limits * @type object | undefined @@ -3286,14 +3311,14 @@ export type UserEvent = { /** * @type number */ - max: number; + max: number /** * @type number */ - duration: number; - }; + duration: number + } } - | undefined; + | undefined /** * @type array | undefined */ @@ -3302,21 +3327,21 @@ export type UserEvent = { /** * @type string */ - scopeId: string; + scopeId: string /** * @type string */ - viewPreference?: (ActiveDashboardViewsViewPreferenceEnum | null) | undefined; + viewPreference?: (ActiveDashboardViewsViewPreferenceEnum | null) | undefined /** * @type string */ - favoritesViewPreference?: (ActiveDashboardViewsFavoritesViewPreferenceEnum | null) | undefined; + favoritesViewPreference?: (ActiveDashboardViewsFavoritesViewPreferenceEnum | null) | undefined /** * @type string */ - recentsViewPreference?: (ActiveDashboardViewsRecentsViewPreferenceEnum | null) | undefined; + recentsViewPreference?: (ActiveDashboardViewsRecentsViewPreferenceEnum | null) | undefined }[] - | undefined; + | undefined /** * @type array | undefined */ @@ -3325,13 +3350,13 @@ export type UserEvent = { /** * @type string */ - email: string; + email: string /** * @type boolean */ - verified: boolean; + verified: boolean }[] - | undefined; + | undefined /** * @type object | undefined */ @@ -3346,16 +3371,16 @@ export type UserEvent = { /** * @type string */ - email: string; - }; + email: string + } } - | undefined; + | undefined } - | undefined; + | undefined /** * @type number | undefined */ - siftScore?: number | undefined; + siftScore?: number | undefined /** * @type object | undefined */ @@ -3365,7 +3390,7 @@ export type UserEvent = { /** * @type number */ - score: number; + score: number /** * @type array */ @@ -3373,15 +3398,15 @@ export type UserEvent = { /** * @type string */ - name: string; + name: string /** * @type string */ - value: string; - }[]; - }; + value: string + }[] + } } - | undefined; + | undefined /** * @type object | undefined */ @@ -3390,13 +3415,13 @@ export type UserEvent = { /** * @type string */ - name: SiftRouteNameEnum; + name: SiftRouteNameEnum } - | undefined; + | undefined /** * @type string | undefined */ - sfdcId?: string | undefined; + sfdcId?: string | undefined /** * @type object */ @@ -3405,25 +3430,25 @@ export type UserEvent = { /** * @type number */ - blockedAt: number; + blockedAt: number /** * @type string */ - reason: SoftBlockReasonEnum; + reason: SoftBlockReasonEnum /** * @type string | undefined */ - blockedDueToOverageType?: SoftBlockBlockedDueToOverageTypeEnum | undefined; + blockedDueToOverageType?: SoftBlockBlockedDueToOverageTypeEnum | undefined } | null) - | undefined; + | undefined /** * @type string */ - stagingPrefix: string; + stagingPrefix: string /** * @type string */ - sysToken: string; + sysToken: string /** * @description A helper that allows to describe a relationship attribute. It receives the shape of a relationship plus the foreignKey name to make it mandatory in the resulting type. * @type array | undefined @@ -3431,41 +3456,41 @@ export type UserEvent = { teams?: | { /** - * @type number | undefined + * @type number */ - created?: number | undefined; + created: number /** - * @type number | undefined + * @type number */ - createdAt?: number | undefined; + createdAt: number /** * @type string */ - teamId: string; + teamId: string /** - * @type string | undefined + * @type string */ - role?: TeamsRoleEnum | undefined; + role: TeamsRoleEnum /** - * @type boolean | undefined + * @type boolean */ - confirmed?: boolean | undefined; + confirmed: boolean /** - * @type number | undefined + * @type number */ - confirmedAt?: number | undefined; + confirmedAt: number /** * @type number | undefined */ - accessRequestedAt?: number | undefined; + accessRequestedAt?: number | undefined /** * @type array | undefined */ - teamRoles?: TeamsTeamRolesEnum[] | undefined; + teamRoles?: TeamsTeamRolesEnum[] | undefined /** * @type array | undefined */ - teamPermissions?: TeamsTeamPermissionsEnum[] | undefined; + teamPermissions?: TeamsTeamPermissionsEnum[] | undefined /** * @type object | undefined */ @@ -3474,67 +3499,67 @@ export type UserEvent = { /** * @type string */ - origin: JoinedFromOriginEnum; + origin: JoinedFromOriginEnum /** * @type string | undefined */ - commitId?: string | undefined; + commitId?: string | undefined /** * @type string | undefined */ - repoId?: string | undefined; + repoId?: string | undefined /** * @type string | undefined */ - repoPath?: string | undefined; - gitUserId?: (string | number) | undefined; + repoPath?: string | undefined + gitUserId?: (string | number) | undefined /** * @type string | undefined */ - gitUserLogin?: string | undefined; + gitUserLogin?: string | undefined /** * @type string | undefined */ - ssoUserId?: string | undefined; + ssoUserId?: string | undefined /** * @type number | undefined */ - ssoConnectedAt?: number | undefined; + ssoConnectedAt?: number | undefined /** * @type string | undefined */ - idpUserId?: string | undefined; + idpUserId?: string | undefined /** * @type string | undefined */ - dsyncUserId?: string | undefined; + dsyncUserId?: string | undefined /** * @type number | undefined */ - dsyncConnectedAt?: number | undefined; + dsyncConnectedAt?: number | undefined } - | undefined; + | undefined }[] - | undefined; + | undefined /** * @description Introduced 2022-04-12 An array of teamIds (for trial teams created after 2022-04-01), created by the user in question. Used in determining whether the team has a trial available in utils/api-teams/user-has-trial-available.ts. * @type array | undefined */ - trialTeamIds?: string[] | undefined; + trialTeamIds?: string[] | undefined /** * @description Introduced 2022-04-19 Number of maximum trials to allocate to a user. When undefined, defaults to MAX_TRIALS in utils/api-teams/user-has-trial-available.ts. This is set to trialTeamIds + 1 by services/api-backoffice/src/handlers/add-additional-trial.ts. * @type number | undefined */ - maxTrials?: number | undefined; + maxTrials?: number | undefined /** * @description Deprecated on 2022-04-12 in favor of trialTeamIds and using utils/api-teams/user-has-trial-available.ts. * @type string | undefined */ - trialTeamId?: string | undefined; + trialTeamId?: string | undefined /** * @type string */ - type: NewOwnerTypeEnum; + type: NewOwnerTypeEnum /** * @description Contains the timestamps when a user was notified about their usage * @type object @@ -3544,13 +3569,13 @@ export type UserEvent = { /** * @type number */ - warningAt?: (number | null) | undefined; + warningAt?: (number | null) | undefined /** * @type number */ - blockingAt?: (number | null) | undefined; + blockingAt?: (number | null) | undefined } | null) - | undefined; + | undefined /** * @type object | undefined */ @@ -3564,17 +3589,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number; + currentThreshold: number /** * @type number */ - warningAt?: (number | null) | undefined; + warningAt?: (number | null) | undefined /** * @type number */ - blockedAt?: (number | null) | undefined; + blockedAt?: (number | null) | undefined } - | undefined; + | undefined /** * @type object | undefined */ @@ -3583,17 +3608,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number; + currentThreshold: number /** * @type number */ - warningAt?: (number | null) | undefined; + warningAt?: (number | null) | undefined /** * @type number */ - blockedAt?: (number | null) | undefined; + blockedAt?: (number | null) | undefined } - | undefined; + | undefined /** * @type object | undefined */ @@ -3602,17 +3627,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number; + currentThreshold: number /** * @type number */ - warningAt?: (number | null) | undefined; + warningAt?: (number | null) | undefined /** * @type number */ - blockedAt?: (number | null) | undefined; + blockedAt?: (number | null) | undefined } - | undefined; + | undefined /** * @type object | undefined */ @@ -3621,17 +3646,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number; + currentThreshold: number /** * @type number */ - warningAt?: (number | null) | undefined; + warningAt?: (number | null) | undefined /** * @type number */ - blockedAt?: (number | null) | undefined; + blockedAt?: (number | null) | undefined } - | undefined; + | undefined /** * @type object | undefined */ @@ -3640,17 +3665,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number; + currentThreshold: number /** * @type number */ - warningAt?: (number | null) | undefined; + warningAt?: (number | null) | undefined /** * @type number */ - blockedAt?: (number | null) | undefined; + blockedAt?: (number | null) | undefined } - | undefined; + | undefined /** * @type object | undefined */ @@ -3659,17 +3684,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number; + currentThreshold: number /** * @type number */ - warningAt?: (number | null) | undefined; + warningAt?: (number | null) | undefined /** * @type number */ - blockedAt?: (number | null) | undefined; + blockedAt?: (number | null) | undefined } - | undefined; + | undefined /** * @type object | undefined */ @@ -3678,17 +3703,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number; + currentThreshold: number /** * @type number */ - warningAt?: (number | null) | undefined; + warningAt?: (number | null) | undefined /** * @type number */ - blockedAt?: (number | null) | undefined; + blockedAt?: (number | null) | undefined } - | undefined; + | undefined /** * @type object | undefined */ @@ -3697,17 +3722,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number; + currentThreshold: number /** * @type number */ - warningAt?: (number | null) | undefined; + warningAt?: (number | null) | undefined /** * @type number */ - blockedAt?: (number | null) | undefined; + blockedAt?: (number | null) | undefined } - | undefined; + | undefined /** * @type object | undefined */ @@ -3716,17 +3741,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number; + currentThreshold: number /** * @type number */ - warningAt?: (number | null) | undefined; + warningAt?: (number | null) | undefined /** * @type number */ - blockedAt?: (number | null) | undefined; + blockedAt?: (number | null) | undefined } - | undefined; + | undefined /** * @type object | undefined */ @@ -3735,17 +3760,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number; + currentThreshold: number /** * @type number */ - warningAt?: (number | null) | undefined; + warningAt?: (number | null) | undefined /** * @type number */ - blockedAt?: (number | null) | undefined; + blockedAt?: (number | null) | undefined } - | undefined; + | undefined /** * @type object | undefined */ @@ -3754,17 +3779,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number; + currentThreshold: number /** * @type number */ - warningAt?: (number | null) | undefined; + warningAt?: (number | null) | undefined /** * @type number */ - blockedAt?: (number | null) | undefined; + blockedAt?: (number | null) | undefined } - | undefined; + | undefined /** * @type object | undefined */ @@ -3773,17 +3798,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number; + currentThreshold: number /** * @type number */ - warningAt?: (number | null) | undefined; + warningAt?: (number | null) | undefined /** * @type number */ - blockedAt?: (number | null) | undefined; + blockedAt?: (number | null) | undefined } - | undefined; + | undefined /** * @type object | undefined */ @@ -3792,17 +3817,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number; + currentThreshold: number /** * @type number */ - warningAt?: (number | null) | undefined; + warningAt?: (number | null) | undefined /** * @type number */ - blockedAt?: (number | null) | undefined; + blockedAt?: (number | null) | undefined } - | undefined; + | undefined /** * @type object | undefined */ @@ -3811,17 +3836,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number; + currentThreshold: number /** * @type number */ - warningAt?: (number | null) | undefined; + warningAt?: (number | null) | undefined /** * @type number */ - blockedAt?: (number | null) | undefined; + blockedAt?: (number | null) | undefined } - | undefined; + | undefined /** * @type object | undefined */ @@ -3830,17 +3855,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number; + currentThreshold: number /** * @type number */ - warningAt?: (number | null) | undefined; + warningAt?: (number | null) | undefined /** * @type number */ - blockedAt?: (number | null) | undefined; + blockedAt?: (number | null) | undefined } - | undefined; + | undefined /** * @type object | undefined */ @@ -3849,17 +3874,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number; + currentThreshold: number /** * @type number */ - warningAt?: (number | null) | undefined; + warningAt?: (number | null) | undefined /** * @type number */ - blockedAt?: (number | null) | undefined; + blockedAt?: (number | null) | undefined } - | undefined; + | undefined /** * @type object | undefined */ @@ -3868,17 +3893,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number; + currentThreshold: number /** * @type number */ - warningAt?: (number | null) | undefined; + warningAt?: (number | null) | undefined /** * @type number */ - blockedAt?: (number | null) | undefined; + blockedAt?: (number | null) | undefined } - | undefined; + | undefined /** * @type object | undefined */ @@ -3887,17 +3912,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number; + currentThreshold: number /** * @type number */ - warningAt?: (number | null) | undefined; + warningAt?: (number | null) | undefined /** * @type number */ - blockedAt?: (number | null) | undefined; + blockedAt?: (number | null) | undefined } - | undefined; + | undefined /** * @type object | undefined */ @@ -3906,17 +3931,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number; + currentThreshold: number /** * @type number */ - warningAt?: (number | null) | undefined; + warningAt?: (number | null) | undefined /** * @type number */ - blockedAt?: (number | null) | undefined; + blockedAt?: (number | null) | undefined } - | undefined; + | undefined /** * @type object | undefined */ @@ -3925,17 +3950,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number; + currentThreshold: number /** * @type number */ - warningAt?: (number | null) | undefined; + warningAt?: (number | null) | undefined /** * @type number */ - blockedAt?: (number | null) | undefined; + blockedAt?: (number | null) | undefined } - | undefined; + | undefined /** * @type object | undefined */ @@ -3944,17 +3969,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number; + currentThreshold: number /** * @type number */ - warningAt?: (number | null) | undefined; + warningAt?: (number | null) | undefined /** * @type number */ - blockedAt?: (number | null) | undefined; + blockedAt?: (number | null) | undefined } - | undefined; + | undefined /** * @type object | undefined */ @@ -3963,17 +3988,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number; + currentThreshold: number /** * @type number */ - warningAt?: (number | null) | undefined; + warningAt?: (number | null) | undefined /** * @type number */ - blockedAt?: (number | null) | undefined; + blockedAt?: (number | null) | undefined } - | undefined; + | undefined /** * @type object | undefined */ @@ -3982,17 +4007,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number; + currentThreshold: number /** * @type number */ - warningAt?: (number | null) | undefined; + warningAt?: (number | null) | undefined /** * @type number */ - blockedAt?: (number | null) | undefined; + blockedAt?: (number | null) | undefined } - | undefined; + | undefined /** * @type object | undefined */ @@ -4001,17 +4026,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number; + currentThreshold: number /** * @type number */ - warningAt?: (number | null) | undefined; + warningAt?: (number | null) | undefined /** * @type number */ - blockedAt?: (number | null) | undefined; + blockedAt?: (number | null) | undefined } - | undefined; + | undefined /** * @type object | undefined */ @@ -4020,17 +4045,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number; + currentThreshold: number /** * @type number */ - warningAt?: (number | null) | undefined; + warningAt?: (number | null) | undefined /** * @type number */ - blockedAt?: (number | null) | undefined; + blockedAt?: (number | null) | undefined } - | undefined; + | undefined /** * @type object | undefined */ @@ -4039,17 +4064,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number; + currentThreshold: number /** * @type number */ - warningAt?: (number | null) | undefined; + warningAt?: (number | null) | undefined /** * @type number */ - blockedAt?: (number | null) | undefined; + blockedAt?: (number | null) | undefined } - | undefined; + | undefined /** * @type object | undefined */ @@ -4058,17 +4083,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number; + currentThreshold: number /** * @type number */ - warningAt?: (number | null) | undefined; + warningAt?: (number | null) | undefined /** * @type number */ - blockedAt?: (number | null) | undefined; + blockedAt?: (number | null) | undefined } - | undefined; + | undefined /** * @type object | undefined */ @@ -4077,17 +4102,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number; + currentThreshold: number /** * @type number */ - warningAt?: (number | null) | undefined; + warningAt?: (number | null) | undefined /** * @type number */ - blockedAt?: (number | null) | undefined; + blockedAt?: (number | null) | undefined } - | undefined; + | undefined /** * @type object | undefined */ @@ -4096,17 +4121,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number; + currentThreshold: number /** * @type number */ - warningAt?: (number | null) | undefined; + warningAt?: (number | null) | undefined /** * @type number */ - blockedAt?: (number | null) | undefined; + blockedAt?: (number | null) | undefined } - | undefined; + | undefined /** * @type object | undefined */ @@ -4115,17 +4140,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number; + currentThreshold: number /** * @type number */ - warningAt?: (number | null) | undefined; + warningAt?: (number | null) | undefined /** * @type number */ - blockedAt?: (number | null) | undefined; + blockedAt?: (number | null) | undefined } - | undefined; + | undefined /** * @type object | undefined */ @@ -4134,17 +4159,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number; + currentThreshold: number /** * @type number */ - warningAt?: (number | null) | undefined; + warningAt?: (number | null) | undefined /** * @type number */ - blockedAt?: (number | null) | undefined; + blockedAt?: (number | null) | undefined } - | undefined; + | undefined /** * @type object | undefined */ @@ -4153,17 +4178,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number; + currentThreshold: number /** * @type number */ - warningAt?: (number | null) | undefined; + warningAt?: (number | null) | undefined /** * @type number */ - blockedAt?: (number | null) | undefined; + blockedAt?: (number | null) | undefined } - | undefined; + | undefined /** * @type object | undefined */ @@ -4172,17 +4197,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number; + currentThreshold: number /** * @type number */ - warningAt?: (number | null) | undefined; + warningAt?: (number | null) | undefined /** * @type number */ - blockedAt?: (number | null) | undefined; + blockedAt?: (number | null) | undefined } - | undefined; + | undefined /** * @type object | undefined */ @@ -4191,17 +4216,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number; + currentThreshold: number /** * @type number */ - warningAt?: (number | null) | undefined; + warningAt?: (number | null) | undefined /** * @type number */ - blockedAt?: (number | null) | undefined; + blockedAt?: (number | null) | undefined } - | undefined; + | undefined /** * @type object | undefined */ @@ -4210,17 +4235,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number; + currentThreshold: number /** * @type number */ - warningAt?: (number | null) | undefined; + warningAt?: (number | null) | undefined /** * @type number */ - blockedAt?: (number | null) | undefined; + blockedAt?: (number | null) | undefined } - | undefined; + | undefined /** * @type object | undefined */ @@ -4229,17 +4254,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number; + currentThreshold: number /** * @type number */ - warningAt?: (number | null) | undefined; + warningAt?: (number | null) | undefined /** * @type number */ - blockedAt?: (number | null) | undefined; + blockedAt?: (number | null) | undefined } - | undefined; + | undefined /** * @type object | undefined */ @@ -4248,17 +4273,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number; + currentThreshold: number /** * @type number */ - warningAt?: (number | null) | undefined; + warningAt?: (number | null) | undefined /** * @type number */ - blockedAt?: (number | null) | undefined; + blockedAt?: (number | null) | undefined } - | undefined; + | undefined /** * @type object | undefined */ @@ -4267,17 +4292,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number; + currentThreshold: number /** * @type number */ - warningAt?: (number | null) | undefined; + warningAt?: (number | null) | undefined /** * @type number */ - blockedAt?: (number | null) | undefined; + blockedAt?: (number | null) | undefined } - | undefined; + | undefined /** * @type object | undefined */ @@ -4286,19 +4311,19 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number; + currentThreshold: number /** * @type number */ - warningAt?: (number | null) | undefined; + warningAt?: (number | null) | undefined /** * @type number */ - blockedAt?: (number | null) | undefined; + blockedAt?: (number | null) | undefined } - | undefined; + | undefined } - | undefined; + | undefined /** * @description Contains the timestamps for usage summary emails. * @type object | undefined @@ -4309,47 +4334,47 @@ export type UserEvent = { * @description Tracks if the first time on-demand overage email has been sent. * @type number | undefined */ - firstTimeOnDemandNotificationSentAt?: number | undefined; + firstTimeOnDemandNotificationSentAt?: number | undefined /** * @description Tracks the last time we sent a daily summary email. * @type number | undefined */ - dailyOverageSummaryEmailSentAt?: number | undefined; + dailyOverageSummaryEmailSentAt?: number | undefined /** * @description Tracks the last time we sent a weekly summary email. * @type number | undefined */ - weeklyOverageSummaryEmailSentAt?: number | undefined; + weeklyOverageSummaryEmailSentAt?: number | undefined /** * @description Tracks when the overage summary email will stop auto-sending. We currently lock the user into email for a month after the last on-demand usage. * @type number | undefined */ - overageSummaryExpiresAt?: number | undefined; + overageSummaryExpiresAt?: number | undefined /** * @description Tracks the last time we sent a increased on-demand email. * @type number | undefined */ - increasedOnDemandEmailSentAt?: number | undefined; + increasedOnDemandEmailSentAt?: number | undefined /** * @description Tracks the last time we attempted to send an increased on-demand email. This check is to limit the number of attempts per day. * @type number | undefined */ - increasedOnDemandEmailAttemptedAt?: number | undefined; + increasedOnDemandEmailAttemptedAt?: number | undefined } - | undefined; + | undefined /** * @type string */ - username: string; + username: string /** * @type number */ - updatedAt: number; + updatedAt: number /** * @description Whether the Vercel Toolbar is enabled for preview deployments. * @type string | undefined */ - enablePreviewFeedback?: NewOwnerEnablePreviewFeedbackEnum | undefined; + enablePreviewFeedback?: NewOwnerEnablePreviewFeedbackEnum | undefined /** * @description Information about which features are blocked for a user. Blocks can be either soft (the user can still access the feature, but with a warning, e.g. prompting an upgrade) or hard (the user cannot access the feature at all). * @type object | undefined @@ -4362,27 +4387,27 @@ export type UserEvent = { webAnalytics?: | { /** - * @type number | undefined + * @type number */ - updatedAt?: number | undefined; + updatedAt: number /** * @type number | undefined */ - blockedFrom?: number | undefined; + blockedFrom?: number | undefined /** * @type number | undefined */ - blockedUntil?: number | undefined; + blockedUntil?: number | undefined /** - * @type string | undefined + * @type string */ - blockReason?: WebAnalyticsBlockReasonEnum | undefined; + blockReason: WebAnalyticsBlockReasonEnum /** * @type number | undefined */ - graceEmailSentAt?: number | undefined; + graceEmailSentAt?: number | undefined } - | undefined; + | undefined /** * @description A soft block indicates a temporary pause in data collection (ex limit exceeded for the current cycle) A hard block indicates a stoppage in data collection that requires manual intervention (ex upgrading a pro trial) * @type object | undefined @@ -4390,54 +4415,54 @@ export type UserEvent = { monitoring?: | { /** - * @type number | undefined + * @type number */ - updatedAt?: number | undefined; + updatedAt: number /** * @type number | undefined */ - blockedFrom?: number | undefined; + blockedFrom?: number | undefined /** * @type number | undefined */ - blockedUntil?: number | undefined; + blockedUntil?: number | undefined /** - * @type string | undefined + * @type string */ - blockReason?: MonitoringBlockReasonEnum | undefined; + blockReason: MonitoringBlockReasonEnum /** * @type string */ - blockType: MonitoringBlockTypeEnum; + blockType: MonitoringBlockTypeEnum } - | undefined; + | undefined /** * @type object | undefined */ observabilityPlus?: | { /** - * @type number | undefined + * @type number */ - updatedAt?: number | undefined; + updatedAt: number /** * @type number | undefined */ - blockedFrom?: number | undefined; + blockedFrom?: number | undefined /** * @type number | undefined */ - blockedUntil?: number | undefined; + blockedUntil?: number | undefined /** - * @type string | undefined + * @type string */ - blockReason?: ObservabilityPlusBlockReasonEnum | undefined; + blockReason: ObservabilityPlusBlockReasonEnum /** * @type string */ - blockType: ObservabilityPlusBlockTypeEnum; + blockType: ObservabilityPlusBlockTypeEnum } - | undefined; + | undefined /** * @type object | undefined */ @@ -4446,21 +4471,21 @@ export type UserEvent = { /** * @type number */ - updatedAt: number; + updatedAt: number /** * @type number | undefined */ - blockedFrom?: number | undefined; + blockedFrom?: number | undefined /** * @type number | undefined */ - blockedUntil?: number | undefined; + blockedUntil?: number | undefined /** * @type string */ - blockReason: DataCacheBlockReasonEnum; + blockReason: DataCacheBlockReasonEnum } - | undefined; + | undefined /** * @type object | undefined */ @@ -4469,21 +4494,21 @@ export type UserEvent = { /** * @type number */ - updatedAt: number; + updatedAt: number /** * @type number | undefined */ - blockedFrom?: number | undefined; + blockedFrom?: number | undefined /** * @type number | undefined */ - blockedUntil?: number | undefined; + blockedUntil?: number | undefined /** * @type string */ - blockReason: ImageOptimizationTransformationBlockReasonEnum; + blockReason: ImageOptimizationTransformationBlockReasonEnum } - | undefined; + | undefined /** * @type object | undefined */ @@ -4492,112 +4517,112 @@ export type UserEvent = { /** * @type number */ - updatedAt: number; + updatedAt: number /** * @type number | undefined */ - blockedFrom?: number | undefined; + blockedFrom?: number | undefined /** * @type number | undefined */ - blockedUntil?: number | undefined; + blockedUntil?: number | undefined /** * @type string */ - blockReason: SourceImagesBlockReasonEnum; + blockReason: SourceImagesBlockReasonEnum } - | undefined; + | undefined /** * @type object | undefined */ blob?: | { /** - * @type number | undefined + * @type number */ - updatedAt?: number | undefined; + updatedAt: number /** * @type number | undefined */ - blockedFrom?: number | undefined; + blockedFrom?: number | undefined /** * @type number | undefined */ - blockedUntil?: number | undefined; + blockedUntil?: number | undefined /** - * @type string | undefined + * @type string */ - blockReason?: BlobBlockReasonEnum | undefined; + blockReason: BlobBlockReasonEnum /** * @type string */ - overageReason: BlobOverageReasonEnum; + overageReason: BlobOverageReasonEnum } - | undefined; + | undefined /** * @type object | undefined */ postgres?: | { /** - * @type number | undefined + * @type number */ - updatedAt?: number | undefined; + updatedAt: number /** * @type number | undefined */ - blockedFrom?: number | undefined; + blockedFrom?: number | undefined /** * @type number | undefined */ - blockedUntil?: number | undefined; + blockedUntil?: number | undefined /** - * @type string | undefined + * @type string */ - blockReason?: PostgresBlockReasonEnum | undefined; + blockReason: PostgresBlockReasonEnum /** * @type string */ - overageReason: PostgresOverageReasonEnum; + overageReason: PostgresOverageReasonEnum } - | undefined; + | undefined /** * @type object | undefined */ redis?: | { /** - * @type number | undefined + * @type number */ - updatedAt?: number | undefined; + updatedAt: number /** * @type number | undefined */ - blockedFrom?: number | undefined; + blockedFrom?: number | undefined /** * @type number | undefined */ - blockedUntil?: number | undefined; + blockedUntil?: number | undefined /** - * @type string | undefined + * @type string */ - blockReason?: RedisBlockReasonEnum | undefined; + blockReason: RedisBlockReasonEnum /** * @type string */ - overageReason: RedisOverageReasonEnum; + overageReason: RedisOverageReasonEnum } - | undefined; + | undefined } - | undefined; + | undefined /** * @type string | undefined */ - defaultTeamId?: string | undefined; + defaultTeamId?: string | undefined /** * @type string */ - version: NewOwnerVersionEnum; + version: NewOwnerVersionEnum /** * @description An archive of information about the Northstar migration, derived from the old (deprecated) property, `northstarMigrationEvents`. * @type object | undefined @@ -4608,44 +4633,44 @@ export type UserEvent = { * @description The ID of the team we created for this user. * @type string */ - teamId: string; + teamId: string /** * @description The number of projects migrated for this user. * @type number */ - projects: number; + projects: number /** * @description The number of stores migrated for this user. * @type number */ - stores: number; + stores: number /** * @description The number of integration configurations migrated for this user. * @type number */ - integrationConfigurations: number; + integrationConfigurations: number /** * @description The number of integration clients migrated for this user. * @type number */ - integrationClients: number; + integrationClients: number /** * @description The migration start time timestamp for this user. * @type number */ - startTime: number; + startTime: number /** * @description The migration end time timestamp for this user. * @type number */ - endTime: number; + endTime: number } - | undefined; + | undefined /** * @description The salesforce opportunity ID that this user is linked to. This is used to automatically associate a team of the user\'s choosing with the opportunity. * @type string | undefined */ - opportunityId?: string | undefined; + opportunityId?: string | undefined /** * @description MFA configuration. When enabled, the user will be required to provide a second factor of authentication when logging in. * @type object | undefined @@ -4655,15 +4680,15 @@ export type UserEvent = { /** * @type boolean */ - enabled: boolean; + enabled: boolean /** * @type number | undefined */ - enabledAt?: number | undefined; + enabledAt?: number | undefined /** * @type array */ - recoveryCodes: string[]; + recoveryCodes: string[] /** * @type object | undefined */ @@ -4672,16 +4697,16 @@ export type UserEvent = { /** * @type string */ - secret: string; + secret: string /** * @type number */ - createdAt: number; + createdAt: number } - | undefined; + | undefined } - | undefined; - } | null; + | undefined + } | null } | { /** @@ -4691,132 +4716,132 @@ export type UserEvent = { /** * @type string */ - integrationId: string; + integrationId: string /** * @type string */ - configurationId: string; + configurationId: string /** * @type string */ - integrationSlug: string; + integrationSlug: string /** * @type string | undefined */ - integrationName?: string | undefined; - }[]; + integrationName?: string | undefined + }[] /** * @type string */ - ownerId: string; + ownerId: string } | { /** * @type string */ - integrationId: string; + integrationId: string /** * @type string */ - configurationId: string; + configurationId: string /** * @type string */ - integrationSlug: string; + integrationSlug: string /** * @type string */ - integrationName: string; + integrationName: string /** * @type string */ - ownerId: string; + ownerId: string /** * @type string */ - billingPlanId: string; + billingPlanId: string /** * @type string | undefined */ - billingPlanName?: string | undefined; + billingPlanName?: string | undefined } | { /** * @type string */ - integrationId: string; + integrationId: string /** * @type string */ - configurationId: string; + configurationId: string /** * @type string */ - integrationSlug: string; + integrationSlug: string /** * @type string */ - integrationName: string; + integrationName: string /** * @type string */ - ownerId: string; + ownerId: string /** * @type array | undefined */ - projectIds?: string[] | undefined; + projectIds?: string[] | undefined } | { /** * @type string */ - projectId: string; + projectId: string /** * @type string */ - fromDeploymentId: string; + fromDeploymentId: string /** * @type string */ - toDeploymentId: string; + toDeploymentId: string /** * @type string */ - projectName: string; + projectName: string /** * @type string | undefined */ - reason?: string | undefined; + reason?: string | undefined } | { /** * @type string */ - integrationId: string; + integrationId: string /** * @type string */ - configurationId: string; + configurationId: string /** * @type string */ - integrationSlug: string; + integrationSlug: string /** * @type string */ - integrationName: string; + integrationName: string /** * @type string */ - ownerId: string; + ownerId: string /** * @type array | undefined */ - projectIds?: string[] | undefined; + projectIds?: string[] | undefined /** * @type array */ - confirmedScopes: string[]; + confirmedScopes: string[] } | { /** @@ -4831,16 +4856,16 @@ export type UserEvent = { /** * @type string */ - name: BrowserNameEnum; - }; + name: BrowserNameEnum + } /** * @type string */ - ua: string; + ua: string /** * @type string */ - program: string; + program: string /** * @type object */ @@ -4848,10 +4873,10 @@ export type UserEvent = { /** * @type string */ - name: OsNameEnum; - }; + name: OsNameEnum + } } - | undefined; + | undefined /** * @type object */ @@ -4869,10 +4894,10 @@ export type UserEvent = { /** * @type string */ - en: string; - }; + en: string + } } - | undefined; + | undefined /** * @type object */ @@ -4884,9 +4909,9 @@ export type UserEvent = { /** * @type string */ - en: string; - }; - }; + en: string + } + } /** * @type object | undefined */ @@ -4899,112 +4924,112 @@ export type UserEvent = { /** * @type string */ - en: string; - }; + en: string + } } - | undefined; + | undefined /** * @type string | undefined */ - regionName?: string | undefined; + regionName?: string | undefined } | null) - | undefined; + | undefined /** * @type boolean */ - viaGithub: boolean; + viaGithub: boolean /** * @type boolean */ - viaGitlab: boolean; + viaGitlab: boolean /** * @type boolean */ - viaBitbucket: boolean; + viaBitbucket: boolean /** * @type boolean */ - viaGoogle: boolean; + viaGoogle: boolean /** * @type boolean */ - viaSamlSso: boolean; + viaSamlSso: boolean /** * @type boolean */ - viaPasskey: boolean; + viaPasskey: boolean /** * @type string | undefined */ - ssoType?: string | undefined; + ssoType?: string | undefined /** * @type string | undefined */ - env?: string | undefined; + env?: string | undefined /** * @type string | undefined */ - os?: string | undefined; + os?: string | undefined /** * @type string | undefined */ - username?: string | undefined; + username?: string | undefined } | { /** * @type string */ - logDrainUrl: string | null; + logDrainUrl: string | null /** * @type string | undefined */ - integrationName?: string | undefined; + integrationName?: string | undefined } | { /** * @type string */ - logDrainUrl: string; + logDrainUrl: string /** * @type string | undefined */ - integrationName?: string | undefined; + integrationName?: string | undefined } | { /** * @type string */ - drainUrl: string | null; + drainUrl: string | null /** * @type string | undefined */ - integrationName?: string | undefined; + integrationName?: string | undefined } | { /** * @type string */ - projectId: string; + projectId: string /** * @type string */ - toDeploymentId: string; + toDeploymentId: string /** * @type string */ - projectName: string; + projectName: string } | { /** * @type string */ - projectName: string; + projectName: string } | { /** * @type string */ - plan: string; + plan: string /** * @type object | undefined */ @@ -5014,15 +5039,15 @@ export type UserEvent = { /** * @type string */ - role: RoleEnum; + role: RoleEnum /** * @type boolean */ - confirmed: boolean; + confirmed: boolean /** * @type number | undefined */ - confirmedAt?: number | undefined; + confirmedAt?: number | undefined /** * @type object | undefined */ @@ -5031,79 +5056,89 @@ export type UserEvent = { /** * @type string */ - origin: JoinedFromOriginEnum2; + origin: JoinedFromOriginEnum2 /** * @type string | undefined */ - commitId?: string | undefined; + commitId?: string | undefined /** * @type string | undefined */ - repoId?: string | undefined; + repoId?: string | undefined /** * @type string | undefined */ - repoPath?: string | undefined; - gitUserId?: (string | number) | undefined; + repoPath?: string | undefined + gitUserId?: (string | number) | undefined /** * @type string | undefined */ - gitUserLogin?: string | undefined; + gitUserLogin?: string | undefined /** * @type string | undefined */ - ssoUserId?: string | undefined; + ssoUserId?: string | undefined /** * @type number | undefined */ - ssoConnectedAt?: number | undefined; + ssoConnectedAt?: number | undefined /** * @type string | undefined */ - idpUserId?: string | undefined; + idpUserId?: string | undefined /** * @type string | undefined */ - dsyncUserId?: string | undefined; + dsyncUserId?: string | undefined /** * @type number | undefined */ - dsyncConnectedAt?: number | undefined; + dsyncConnectedAt?: number | undefined } - | undefined; - }; + | undefined + } } - | undefined; + | undefined /** * @type string | undefined */ - priorPlan?: string | undefined; + priorPlan?: string | undefined /** * @type boolean | undefined */ - isDowngrade?: boolean | undefined; + isDowngrade?: boolean | undefined /** * @type string | undefined */ - userAgent?: string | undefined; + userAgent?: string | undefined /** * @type boolean | undefined */ - isReactivate?: boolean | undefined; + isReactivate?: boolean | undefined /** * @type boolean | undefined */ - isTrialUpgrade?: boolean | undefined; + isTrialUpgrade?: boolean | undefined + } + | { + /** + * @type string + */ + projectName: string + /** + * @type string + */ + branch: string } | { /** * @type string | undefined */ - projectName?: string | undefined; + projectName?: string | undefined /** * @type string */ - projectId: string; + projectId: string /** * @type object */ @@ -5111,32 +5146,32 @@ export type UserEvent = { /** * @type string */ - id: string; + id: string /** * @type number */ - canceledAt?: (number | null) | undefined; + canceledAt?: (number | null) | undefined /** * @type number */ - disabledAt: number; + disabledAt: number /** * @type number */ - enabledAt: number; + enabledAt: number /** * @type number | undefined */ - paidAt?: number | undefined; + paidAt?: number | undefined /** * @type number */ - sampleRatePercent?: (number | null) | undefined; + sampleRatePercent?: (number | null) | undefined /** * @type number */ - spendLimitInDollars?: (number | null) | undefined; - } | null; + spendLimitInDollars?: (number | null) | undefined + } | null /** * @type object */ @@ -5144,152 +5179,152 @@ export type UserEvent = { /** * @type string */ - id: string; + id: string /** * @type number */ - canceledAt?: (number | null) | undefined; + canceledAt?: (number | null) | undefined /** * @type number */ - disabledAt: number; + disabledAt: number /** * @type number */ - enabledAt: number; + enabledAt: number /** * @type number | undefined */ - paidAt?: number | undefined; + paidAt?: number | undefined /** * @type number */ - sampleRatePercent?: (number | null) | undefined; + sampleRatePercent?: (number | null) | undefined /** * @type number */ - spendLimitInDollars?: (number | null) | undefined; - } | null; + spendLimitInDollars?: (number | null) | undefined + } | null } | { /** * @type string | undefined */ - projectName?: string | undefined; + projectName?: string | undefined /** * @type string */ - projectId: string; + projectId: string /** * @type object | undefined */ projectAnalytics?: | { - [key: string]: unknown; + [key: string]: unknown } - | undefined; + | undefined /** * @type object */ prevProjectAnalytics?: | ({ - [key: string]: unknown; + [key: string]: unknown } | null) - | undefined; + | undefined } | { /** * @type string | undefined */ - projectName?: string | undefined; + projectName?: string | undefined /** * @type string */ - projectId: string; + projectId: string } | { /** * @type string */ - projectName: string; + projectName: string ssoProtection: | ( | { /** * @type string */ - deploymentType: SsoProtectionDeploymentTypeEnum; + deploymentType: SsoProtectionDeploymentTypeEnum } | PayloadSsoProtectionEnum ) - | null; + | null oldSsoProtection: | ( | { /** * @type string */ - deploymentType: OldSsoProtectionDeploymentTypeEnum; + deploymentType: OldSsoProtectionDeploymentTypeEnum } | PayloadOldSsoProtectionEnum ) - | null; + | null } | { /** * @type string */ - projectName: string; + projectName: string passwordProtection: | ( | { /** * @type string */ - deploymentType: PasswordProtectionDeploymentTypeEnum; + deploymentType: PasswordProtectionDeploymentTypeEnum } | PayloadPasswordProtectionEnum ) - | null; + | null oldPasswordProtection: | ( | { /** * @type string */ - deploymentType: OldPasswordProtectionDeploymentTypeEnum; + deploymentType: OldPasswordProtectionDeploymentTypeEnum } | PayloadOldPasswordProtectionEnum ) - | null; + | null } | { /** * @type string */ - projectName: string; + projectName: string /** * @type string */ - trustedIps?: (PayloadTrustedIpsEnum | null) | undefined; + trustedIps?: (PayloadTrustedIpsEnum | null) | undefined /** * @type string */ - oldTrustedIps?: (PayloadOldTrustedIpsEnum | null) | undefined; + oldTrustedIps?: (PayloadOldTrustedIpsEnum | null) | undefined /** * @type array */ - addedAddresses?: (string[] | null) | undefined; + addedAddresses?: (string[] | null) | undefined /** * @type array */ - removedAddresses?: (string[] | null) | undefined; + removedAddresses?: (string[] | null) | undefined } | { /** * @type string */ - projectName: string; + projectName: string /** * @type object */ @@ -5302,10 +5337,10 @@ export type UserEvent = { /** * @type string */ - value: string; - }[]; + value: string + }[] } | null) - | undefined; + | undefined /** * @type object */ @@ -5318,30 +5353,30 @@ export type UserEvent = { /** * @type string */ - value: string; - }[]; + value: string + }[] } | null) - | undefined; + | undefined } | { /** * @type string */ - projectName: string; + projectName: string /** * @type string */ - action: PayloadActionEnum4; + action: PayloadActionEnum4 } | { /** * @type string */ - name: string; + name: string /** * @type string */ - ownerId: string; + ownerId: string } | { /** @@ -5351,12 +5386,12 @@ export type UserEvent = { /** * @type string */ - id: string; + id: string /** * @type string */ - name: string; - }; + name: string + } /** * @type object */ @@ -5364,33 +5399,33 @@ export type UserEvent = { /** * @type string */ - id: string; + id: string /** * @type string | undefined */ - name?: string | undefined; + name?: string | undefined /** * @type array */ oldConnectConfigurations: | { - envId: string | OldConnectConfigurationsEnvIdEnum; + envId: string | OldConnectConfigurationsEnvIdEnum /** * @type string */ - connectConfigurationId: string; + connectConfigurationId: string /** * @type string | undefined */ - dc?: string | undefined; + dc?: string | undefined /** * @type boolean */ - passive: boolean; + passive: boolean /** * @type boolean */ - buildsEnabled: boolean; + buildsEnabled: boolean /** * @type object | undefined */ @@ -5399,45 +5434,45 @@ export type UserEvent = { /** * @type array */ - subnetIds: string[]; + subnetIds: string[] /** * @type string */ - securityGroupId: string; + securityGroupId: string } - | undefined; + | undefined /** * @type number */ - createdAt: number; + createdAt: number /** * @type number */ - updatedAt: number; + updatedAt: number }[] - | null; + | null /** * @type array */ newConnectConfigurations: | { - envId: string | NewConnectConfigurationsEnvIdEnum; + envId: string | NewConnectConfigurationsEnvIdEnum /** * @type string */ - connectConfigurationId: string; + connectConfigurationId: string /** * @type string | undefined */ - dc?: string | undefined; + dc?: string | undefined /** * @type boolean */ - passive: boolean; + passive: boolean /** * @type boolean */ - buildsEnabled: boolean; + buildsEnabled: boolean /** * @type object | undefined */ @@ -5446,94 +5481,104 @@ export type UserEvent = { /** * @type array */ - subnetIds: string[]; + subnetIds: string[] /** * @type string */ - securityGroupId: string; + securityGroupId: string } - | undefined; + | undefined /** * @type number */ - createdAt: number; + createdAt: number /** * @type number */ - updatedAt: number; + updatedAt: number }[] - | null; - }; + | null + } } | { /** * @type string */ - projectId: string; + projectId: string } | { /** * @type string */ - projectId: string; + source: string /** * @type string */ - projectName: string; + projectId: string } | { /** - * @type string | undefined + * @type string */ - projectId?: string | undefined; + projectId: string /** - * @type string | undefined + * @type string + */ + projectName: string + } + | { + /** + * @type string */ - projectName?: string | undefined; + projectId: string + /** + * @type string + */ + projectName: string /** * @type number | undefined */ - newTargetPercentage?: number | undefined; + newTargetPercentage?: number | undefined } | { /** * @type string */ - gitProvider: string; + gitProvider: string /** * @type string */ - gitProviderGroupDescriptor: string; + gitProviderGroupDescriptor: string /** * @type string */ - gitScope: string; + gitScope: string } | { /** * @type number */ - instances: number; + instances: number /** * @type string */ - url: string; + url: string } | { /** * @type string */ - email: string; + email: string /** * @type boolean */ - verified: boolean; + verified: boolean } | { /** * @type string */ - email: string; + email: string } | { /** @@ -5543,12 +5588,12 @@ export type UserEvent = { /** * @type string */ - id: string; + id: string /** * @type string | undefined */ - name?: string | undefined; - }; + name?: string | undefined + } /** * @type object | undefined */ @@ -5557,9 +5602,9 @@ export type UserEvent = { /** * @type string */ - email: string; + email: string } - | undefined; + | undefined /** * @type object | undefined */ @@ -5568,9 +5613,9 @@ export type UserEvent = { /** * @type string */ - email: string; + email: string } - | undefined; + | undefined } | { /** @@ -5580,12 +5625,12 @@ export type UserEvent = { /** * @type string */ - id: string; + id: string /** * @type string | undefined */ - name?: string | undefined; - }; + name?: string | undefined + } /** * @type object */ @@ -5593,42 +5638,42 @@ export type UserEvent = { /** * @type string */ - email: string; - }; + email: string + } } | { /** * @type string */ - uid: string; + uid: string name: | string | { /** * @type string */ - name: string; - }; + name: string + } } | { /** * @type string */ - oldName: string; + oldName: string /** * @type string */ - newName: string; + newName: string /** * @type string | undefined */ - uid?: string | undefined; + uid?: string | undefined } | { /** * @type string */ - bio: string; + bio: string } | { /** @@ -5639,31 +5684,31 @@ export type UserEvent = { /** * @type number */ - min: number; + min: number /** * @type number */ - max: number; - }; - }; + max: number + } + } /** * @type number */ - min: number; + min: number /** * @type number */ - max: number; + max: number /** * @type string */ - url: string; + url: string } | { /** * @type string | undefined */ - webhookUrl?: string | undefined; + webhookUrl?: string | undefined } | { /** @@ -5675,68 +5720,68 @@ export type UserEvent = { * @description The budget type * @type string */ - type: BudgetTypeEnum; + type: BudgetTypeEnum /** * @description Budget amount * @type number */ - fixedBudget: number; + fixedBudget: number /** * @description Array of the last 3 months of spend data * @type array */ - previousSpend: number[]; + previousSpend: number[] /** * @description Array of 50, 75, 100 to keep track of notifications sent out * @type array */ - notifiedAt: number[]; + notifiedAt: number[] /** * @description Webhook id that corresponds to a webhook in Cosmos webhook collection * @type string | undefined */ - webhookId?: string | undefined; + webhookId?: string | undefined /** * @description Keep track if the webhook has been called for the month * @type boolean | undefined */ - webhookNotified?: boolean | undefined; + webhookNotified?: boolean | undefined /** * @description Date time when budget is created * @type number */ - createdAt: number; + createdAt: number /** * @description Date time when budget is updated last * @type number | undefined */ - updatedAt?: number | undefined; + updatedAt?: number | undefined /** * @description Is the budget currently active for a customer * @type boolean */ - isActive: boolean; + isActive: boolean /** * @description Should all projects be paused if budget is exceeded * @type boolean | undefined */ - pauseProjects?: boolean | undefined; + pauseProjects?: boolean | undefined /** * @description The acive pricing plan the team is billed with * @type string | undefined */ - pricingPlan?: BudgetPricingPlanEnum | undefined; + pricingPlan?: BudgetPricingPlanEnum | undefined /** * @description Partition key * @type string */ - teamId: string; + teamId: string /** * @description Sort key that needs to be unique per teamId * @type string */ - id: string; - }; + id: string + } } | { /** @@ -5752,101 +5797,101 @@ export type UserEvent = { * @description The budget type * @type string */ - type: BudgetItemTypeEnum; + type: BudgetItemTypeEnum /** * @description Budget amount * @type number */ - fixedBudget: number; + fixedBudget: number /** * @description Array of the last 3 months of spend data * @type array */ - previousSpend: number[]; + previousSpend: number[] /** * @description Array of 50, 75, 100 to keep track of notifications sent out * @type array */ - notifiedAt: number[]; + notifiedAt: number[] /** * @description Webhook id that corresponds to a webhook in Cosmos webhook collection * @type string | undefined */ - webhookId?: string | undefined; + webhookId?: string | undefined /** * @description Keep track if the webhook has been called for the month * @type boolean | undefined */ - webhookNotified?: boolean | undefined; + webhookNotified?: boolean | undefined /** * @description Date time when budget is created * @type number */ - createdAt: number; + createdAt: number /** * @description Date time when budget is updated last * @type number | undefined */ - updatedAt?: number | undefined; + updatedAt?: number | undefined /** * @description Is the budget currently active for a customer * @type boolean */ - isActive: boolean; + isActive: boolean /** * @description Should all projects be paused if budget is exceeded * @type boolean | undefined */ - pauseProjects?: boolean | undefined; + pauseProjects?: boolean | undefined /** * @description The acive pricing plan the team is billed with * @type string | undefined */ - pricingPlan?: BudgetItemPricingPlanEnum | undefined; + pricingPlan?: BudgetItemPricingPlanEnum | undefined /** * @description Partition key * @type string */ - teamId: string; + teamId: string /** * @description Sort key that needs to be unique per teamId * @type string */ - id: string; - }; - }; + id: string + } + } } | { /** * @type string */ - id: string; + id: string /** * @type string | undefined */ - name?: string | undefined; + name?: string | undefined /** * @type number | undefined */ - computeUnitsMax?: number | undefined; + computeUnitsMax?: number | undefined /** * @type number | undefined */ - computeUnitsMin?: number | undefined; + computeUnitsMin?: number | undefined /** * @type number | undefined */ - suspendTimeoutSeconds?: number | undefined; + suspendTimeoutSeconds?: number | undefined /** * @type string */ - type: PayloadTypeEnum2; + type: PayloadTypeEnum2 } | { /** * @type string */ - storeType: PayloadStoreTypeEnum; + storeType: PayloadStoreTypeEnum } | { /** @@ -5856,36 +5901,36 @@ export type UserEvent = { /** * @type string */ - name: string; + name: string /** * @type string */ - id: string; - }; + id: string + } /** * @type string | undefined */ - ownerId?: string | undefined; + ownerId?: string | undefined } | { /** * @type string */ - slug: string; + slug: string } | { /** * @type string */ - slug: string; + slug: string /** * @type string */ - teamId: string; + teamId: string /** * @type string */ - by: string; + by: string /** * @type array | undefined */ @@ -5894,23 +5939,23 @@ export type UserEvent = { /** * @type string */ - slug: string; + slug: string /** * @type string */ - description: string; + description: string }[] - | undefined; + | undefined } | { /** * @type string | undefined */ - directoryType?: string | undefined; + directoryType?: string | undefined /** * @type string | undefined */ - ssoType?: string | undefined; + ssoType?: string | undefined /** * @type object | undefined */ @@ -5919,29 +5964,29 @@ export type UserEvent = { /** * @type string */ - username: string; + username: string /** * @type string */ - email: string; + email: string } - | undefined; + | undefined /** * @type string | undefined */ - invitedEmail?: string | undefined; + invitedEmail?: string | undefined /** * @type string | undefined */ - invitationRole?: string | undefined; + invitationRole?: string | undefined /** * @type array | undefined */ - entitlements?: string[] | undefined; + entitlements?: string[] | undefined /** * @type string | undefined */ - invitedUid?: string | undefined; + invitedUid?: string | undefined } | { /** @@ -5952,53 +5997,53 @@ export type UserEvent = { /** * @type string */ - username: string; + username: string /** * @type string */ - email: string; + email: string } - | undefined; + | undefined /** * @type string | undefined */ - deletedUid?: string | undefined; + deletedUid?: string | undefined /** * @type string */ - githubUsername?: (string | null) | undefined; + githubUsername?: (string | null) | undefined /** * @type string */ - gitlabUsername?: (string | null) | undefined; + gitlabUsername?: (string | null) | undefined /** * @type string */ - bitbucketUsername?: (string | null) | undefined; + bitbucketUsername?: (string | null) | undefined /** * @type string | undefined */ - directoryType?: string | undefined; + directoryType?: string | undefined } | { /** * @type string | undefined */ - role?: string | undefined; + role?: string | undefined /** * @type string */ - uid: string; + uid: string /** * @type string | undefined */ - origin?: string | undefined; + origin?: string | undefined } | { /** * @type string | undefined */ - directoryType?: string | undefined; + directoryType?: string | undefined /** * @type object | undefined */ @@ -6007,31 +6052,31 @@ export type UserEvent = { /** * @type string */ - username: string; + username: string /** * @type string */ - email: string; + email: string } - | undefined; + | undefined /** * @type string | undefined */ - role?: string | undefined; + role?: string | undefined /** * @type string */ - previousRole: string; + previousRole: string /** * @type string | undefined */ - updatedUid?: string | undefined; + updatedUid?: string | undefined } | { /** * @type string */ - entitlement: string; + entitlement: string /** * @type object */ @@ -6039,18 +6084,18 @@ export type UserEvent = { /** * @type string */ - id: string; + id: string /** * @type string */ - username: string; - }; + username: string + } } | { /** * @type string */ - entitlement: string; + entitlement: string /** * @type object */ @@ -6058,34 +6103,34 @@ export type UserEvent = { /** * @type string */ - id: string; + id: string /** * @type string */ - username: string; - }; + username: string + } /** * @type string | undefined */ - previousCanceledAt?: string | undefined; + previousCanceledAt?: string | undefined } | { /** * @type boolean */ - enforced: boolean; + enforced: boolean } | { /** * @type string | undefined */ - name?: string | undefined; + name?: string | undefined } | { /** * @type string | undefined */ - slug?: string | undefined; + slug?: string | undefined } | { /** @@ -6097,9 +6142,9 @@ export type UserEvent = { /** * @type boolean | undefined */ - enabled?: boolean | undefined; + enabled?: boolean | undefined } - | undefined; + | undefined } | { /** @@ -6109,12 +6154,12 @@ export type UserEvent = { /** * @type boolean */ - enabled: boolean; + enabled: boolean /** * @type boolean */ - totpVerified: boolean; - }; + totpVerified: boolean + } /** * @type object */ @@ -6122,240 +6167,240 @@ export type UserEvent = { /** * @type boolean */ - enabled: boolean; + enabled: boolean /** * @type boolean */ - totpVerified: boolean; - }; + totpVerified: boolean + } } | { /** * @type boolean */ - enabled: boolean; + enabled: boolean /** * @type boolean */ - totpVerified: boolean; + totpVerified: boolean } | { /** * @type boolean */ - mfaEnabled: boolean; + mfaEnabled: boolean } | { /** * @type string */ - email: string; + email: string /** * @type string */ - prevEmail: string; + prevEmail: string } | { /** * @type string */ - username: string; + username: string } | { /** * @type number | undefined */ - price?: number | undefined; + price?: number | undefined /** * @type string | undefined */ - currency?: string | undefined; + currency?: string | undefined /** * @type boolean | undefined */ - enabled?: boolean | undefined; + enabled?: boolean | undefined } | { /** * @type string */ - previewDeploymentSuffix?: (string | null) | undefined; + previewDeploymentSuffix?: (string | null) | undefined /** * @type string */ - previousPreviewDeploymentSuffix?: (string | null) | undefined; + previousPreviewDeploymentSuffix?: (string | null) | undefined } | { /** * @type number | undefined */ - price?: number | undefined; + price?: number | undefined /** * @type string | undefined */ - currency?: string | undefined; + currency?: string | undefined } | { /** * @type string */ - teamName: string; + teamName: string /** * @type string | undefined */ - username?: string | undefined; + username?: string | undefined /** * @type string | undefined */ - gitUsername?: string | undefined; + gitUsername?: string | undefined /** * @type string */ - githubUsername?: (string | null) | undefined; + githubUsername?: (string | null) | undefined /** * @type string */ - gitlabUsername?: (string | null) | undefined; + gitlabUsername?: (string | null) | undefined /** * @type string */ - bitbucketUsername?: (string | null) | undefined; + bitbucketUsername?: (string | null) | undefined /** * @type string | undefined */ - updatedUid?: string | undefined; + updatedUid?: string | undefined /** * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined } | { /** * @type string */ - teamName: string; + teamName: string /** * @type string | undefined */ - username?: string | undefined; + username?: string | undefined /** * @type string */ - gitUsername?: (string | null) | undefined; + gitUsername?: (string | null) | undefined /** * @type string */ - githubUsername?: (string | null) | undefined; + githubUsername?: (string | null) | undefined /** * @type string */ - gitlabUsername?: (string | null) | undefined; + gitlabUsername?: (string | null) | undefined /** * @type string */ - bitbucketUsername?: (string | null) | undefined; + bitbucketUsername?: (string | null) | undefined } | { /** * @type string */ - requestedTeamName: string; + requestedTeamName: string /** * @type string | undefined */ - requestedUserName?: string | undefined; + requestedUserName?: string | undefined /** * @type string | undefined */ - gitUsername?: string | undefined; + gitUsername?: string | undefined /** * @type string | undefined */ - githubUsername?: string | undefined; + githubUsername?: string | undefined /** * @type string | undefined */ - gitlabUsername?: string | undefined; + gitlabUsername?: string | undefined /** * @type string | undefined */ - bitbucketUsername?: string | undefined; + bitbucketUsername?: string | undefined } | { /** * @type string */ - projectId: string; + projectId: string /** * @type string */ - projectName: string; + projectName: string /** * @type string */ - originAccountName: string; + originAccountName: string /** * @type string */ - destinationAccountName: string; + destinationAccountName: string /** * @type string */ - destinationAccountId: string; + destinationAccountId: string /** * @type string | undefined */ - transferId?: string | undefined; + transferId?: string | undefined } | { /** * @type string */ - projectName: string; + projectName: string /** * @type string */ - destinationAccountName: string | null; + destinationAccountName: string | null /** * @type string | undefined */ - transferId?: string | undefined; + transferId?: string | undefined } | { /** * @type string */ - previousProjectName: string; + previousProjectName: string /** * @type string */ - newProjectName: string; + newProjectName: string /** * @type string */ - destinationAccountName: string; + destinationAccountName: string /** * @type string | undefined */ - transferId?: string | undefined; + transferId?: string | undefined } | { /** * @type string */ - previousProjectName: string; + previousProjectName: string /** * @type string */ - newProjectName: string; + newProjectName: string /** * @type string */ - originAccountName: string; + originAccountName: string /** * @type string | undefined */ - transferId?: string | undefined; + transferId?: string | undefined } | { /** @@ -6365,33 +6410,33 @@ export type UserEvent = { /** * @type string */ - name: string; + name: string /** * @type string | undefined */ - id?: string | undefined; - }; + id?: string | undefined + } /** * @type object */ projectMembership: { /** - * @type string | undefined + * @type string */ - role?: ProjectMembershipRoleEnum | undefined; + role: ProjectMembershipRoleEnum /** - * @type string | undefined + * @type string */ - uid?: string | undefined; + uid: string /** - * @type number | undefined + * @type number */ - createdAt?: number | undefined; + createdAt: number /** * @type string | undefined */ - username?: string | undefined; - } | null; + username?: string | undefined + } | null } | { /** @@ -6401,33 +6446,33 @@ export type UserEvent = { /** * @type string */ - name: string; + name: string /** * @type string | undefined */ - id?: string | undefined; - }; + id?: string | undefined + } /** * @type object */ removedMembership: { /** - * @type string | undefined + * @type string */ - role?: RemovedMembershipRoleEnum | undefined; + role: RemovedMembershipRoleEnum /** - * @type string | undefined + * @type string */ - uid?: string | undefined; + uid: string /** - * @type number | undefined + * @type number */ - createdAt?: number | undefined; + createdAt: number /** * @type string | undefined */ - username?: string | undefined; - }; + username?: string | undefined + } } | { /** @@ -6437,12 +6482,12 @@ export type UserEvent = { /** * @type string */ - id: string; + id: string /** * @type string */ - name: string; - }; + name: string + } /** * @type object */ @@ -6450,24 +6495,24 @@ export type UserEvent = { /** * @type string | undefined */ - role?: ProjectMembershipRoleEnum2 | undefined; + role?: ProjectMembershipRoleEnum2 | undefined /** * @type string | undefined */ - uid?: string | undefined; + uid?: string | undefined /** * @type number | undefined */ - createdAt?: number | undefined; + createdAt?: number | undefined /** * @type string | undefined */ - username?: string | undefined; + username?: string | undefined /** * @type string | undefined */ - previousRole?: ProjectMembershipPreviousRoleEnum | undefined; - }; + previousRole?: ProjectMembershipPreviousRoleEnum | undefined + } } | { /** @@ -6477,109 +6522,123 @@ export type UserEvent = { /** * @type string */ - name: string; + name: string /** * @type string */ - role: ProjectRoleEnum; + role: ProjectRoleEnum /** * @type string */ - invitedUserName: string; + invitedUserName: string /** * @type string | undefined */ - id?: string | undefined; + id?: string | undefined /** * @type string | undefined */ - invitedUserId?: string | undefined; - }; + invitedUserId?: string | undefined + } + } + | { + /** + * @type string + */ + projectName: string + /** + * @type array + */ + tags: string[] + /** + * @type string | undefined + */ + target?: string | undefined } | { /** * @type string */ - edgeConfigId: string; + edgeConfigId: string /** * @type string */ - edgeConfigSlug: string; + edgeConfigSlug: string /** * @type string */ - edgeConfigDigest: string; + edgeConfigDigest: string } | { /** * @type string */ - edgeConfigId: string; + edgeConfigId: string /** * @type string */ - edgeConfigSlug: string; + edgeConfigSlug: string /** * @type string */ - edgeConfigTokenId: string; + edgeConfigTokenId: string /** * @type string */ - label: string; + label: string } | { /** * @type string */ - edgeConfigId: string; + edgeConfigId: string /** * @type string */ - edgeConfigSlug: string; + edgeConfigSlug: string /** * @description ids of deleted tokens * @type array */ - edgeConfigTokenIds: string[]; + edgeConfigTokenIds: string[] } | { /** * @type string */ - action: PayloadActionEnum5; + action: PayloadActionEnum5 } | { /** * @type string */ - id: string; + id: string /** * @type string */ - slug: string; + slug: string /** * @type string */ - name: string; + name: string } | { /** * @type string */ - id: string; + id: string /** * @type string | undefined */ - slug?: string | undefined; + slug?: string | undefined /** * @type string | undefined */ - name?: string | undefined; + name?: string | undefined /** * @type string | undefined */ - fallbackEnvironment?: string | undefined; + fallbackEnvironment?: string | undefined /** * @type object */ @@ -6587,16 +6646,16 @@ export type UserEvent = { /** * @type string */ - name: string; + name: string /** * @type string */ - slug: string; + slug: string /** - * @type string | undefined + * @type string */ - fallbackEnvironment?: string | undefined; - }; + fallbackEnvironment: string + } } | { /** @@ -6606,12 +6665,12 @@ export type UserEvent = { /** * @type string */ - id: string; + id: string /** * @type string */ - name: string; - }; + name: string + } /** * @type object */ @@ -6619,16 +6678,16 @@ export type UserEvent = { /** * @type string */ - id: string; + id: string /** * @type string */ - slug: string; + slug: string /** * @type string */ - name: string; - }; + name: string + } } | { /** @@ -6638,11 +6697,11 @@ export type UserEvent = { /** * @type string */ - id: string; + id: string /** * @type string */ - name: string; + name: string microfrontends?: | ( | { @@ -6650,50 +6709,50 @@ export type UserEvent = { * @description Timestamp when the microfrontends settings were last updated. * @type number */ - updatedAt: number; + updatedAt: number /** * @description The group IDs of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together. * @type array */ - groupIds: (string | string)[]; + groupIds: (string | string)[] /** * @description Whether microfrontends are enabled for this project. * @type boolean */ - enabled: boolean; + enabled: boolean /** * @description Whether this project is the default application for the microfrontends group. The default application is the one that is used as the top level shell for the microfrontends group and hosts the other microfrontends. * @type boolean | undefined */ - isDefaultApp?: boolean | undefined; + isDefaultApp?: boolean | undefined /** * @description A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI. Includes the leading slash, e.g. `/docs` * @type string | undefined */ - defaultRoute?: string | undefined; + defaultRoute?: string | undefined /** * @description Whether observability data should be routed to this microfrontend project or a root project. * @type boolean | undefined */ - routeObservabilityToThisProject?: boolean | undefined; + routeObservabilityToThisProject?: boolean | undefined } | { /** * @type number */ - updatedAt: number; + updatedAt: number /** * @type array */ - groupIds: (string | string)[]; + groupIds: (string | string)[] /** * @type boolean */ - enabled: boolean; + enabled: boolean } ) - | undefined; - }; + | undefined + } /** * @type object */ @@ -6709,51 +6768,51 @@ export type UserEvent = { * @description Timestamp when the microfrontends settings were last updated. * @type number */ - updatedAt: number; + updatedAt: number /** * @description The group IDs of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together. * @type array */ - groupIds: (string | string)[]; + groupIds: (string | string)[] /** * @description Whether microfrontends are enabled for this project. * @type boolean */ - enabled: boolean; + enabled: boolean /** * @description Whether this project is the default application for the microfrontends group. The default application is the one that is used as the top level shell for the microfrontends group and hosts the other microfrontends. * @type boolean | undefined */ - isDefaultApp?: boolean | undefined; + isDefaultApp?: boolean | undefined /** * @description A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI. Includes the leading slash, e.g. `/docs` * @type string | undefined */ - defaultRoute?: string | undefined; + defaultRoute?: string | undefined /** * @description Whether observability data should be routed to this microfrontend project or a root project. * @type boolean | undefined */ - routeObservabilityToThisProject?: boolean | undefined; + routeObservabilityToThisProject?: boolean | undefined } | { /** * @type number */ - updatedAt: number; + updatedAt: number /** * @type array */ - groupIds: (string | string)[]; + groupIds: (string | string)[] /** * @type boolean */ - enabled: boolean; + enabled: boolean } ) - | undefined; - }; - }; + | undefined + } + } /** * @type object */ @@ -6761,26 +6820,26 @@ export type UserEvent = { /** * @type string */ - id: string; + id: string /** * @type string */ - slug: string; + slug: string /** * @type string */ - name: string; - }; + name: string + } } | { /** * @type string */ - projectId: string; + projectId: string /** * @type string */ - projectName: string; + projectName: string /** * @type object | undefined */ @@ -6789,25 +6848,25 @@ export type UserEvent = { /** * @type string */ - id: string; + id: string /** * @type number | undefined */ - disabledAt?: number | undefined; + disabledAt?: number | undefined /** * @type number | undefined */ - canceledAt?: number | undefined; + canceledAt?: number | undefined /** * @type number | undefined */ - enabledAt?: number | undefined; + enabledAt?: number | undefined /** * @type boolean | undefined */ - hasData?: boolean | undefined; + hasData?: boolean | undefined } - | undefined; + | undefined /** * @type object */ @@ -6816,67 +6875,77 @@ export type UserEvent = { /** * @type string */ - id: string; + id: string /** * @type number | undefined */ - disabledAt?: number | undefined; + disabledAt?: number | undefined /** * @type number | undefined */ - canceledAt?: number | undefined; + canceledAt?: number | undefined /** * @type number | undefined */ - enabledAt?: number | undefined; + enabledAt?: number | undefined /** * @type boolean | undefined */ - hasData?: boolean | undefined; + hasData?: boolean | undefined } | null) - | undefined; + | undefined } | { /** * @type string */ - tier: PayloadTierEnum; + tier: PayloadTierEnum } | { /** * @type string */ - oldName: string; + oldName: string /** * @type string */ - newName: string; + newName: string } | { /** * @type string */ - appName: string; + appName: string /** * @type array */ - scopes: string[]; + scopes: string[] } | { /** * @type string */ - appName: string; + appName: string /** * @type array */ - nextScopes: string[]; + nextScopes: string[] + } + | { + /** + * @type string + */ + appName: string } | { /** * @type string */ - appName: string; + appName: string + /** + * @type string + */ + appId: string } | { /** @@ -6886,12 +6955,12 @@ export type UserEvent = { /** * @type string */ - id: string; + id: string /** * @type string */ - name: string; - }; + name: string + } /** * @type object */ @@ -6899,12 +6968,12 @@ export type UserEvent = { /** * @type string */ - id: string; + id: string /** * @type string | undefined */ - name?: string | undefined; - }; + name?: string | undefined + } /** * @type object */ @@ -6912,20 +6981,20 @@ export type UserEvent = { /** * @type string */ - id: string; + id: string /** * @type string */ - accountId: string; + accountId: string /** * @type string */ - region: string; + region: string /** * @type string */ - vpcId: string; - }; + vpcId: string + } } | { /** @@ -6935,12 +7004,12 @@ export type UserEvent = { /** * @type string */ - id: string; + id: string /** * @type string */ - name: string; - }; + name: string + } /** * @type object */ @@ -6948,12 +7017,12 @@ export type UserEvent = { /** * @type string */ - id: string; + id: string /** * @type string | undefined */ - name?: string | undefined; - }; + name?: string | undefined + } /** * @type object */ @@ -6961,12 +7030,12 @@ export type UserEvent = { /** * @type string */ - id: string; + id: string /** * @type string | undefined */ - name?: string | undefined; - }; + name?: string | undefined + } } | { /** @@ -6976,12 +7045,12 @@ export type UserEvent = { /** * @type string */ - id: string; + id: string /** * @type string */ - name: string; - }; + name: string + } /** * @type object */ @@ -6989,12 +7058,12 @@ export type UserEvent = { /** * @type string */ - id: string; + id: string /** * @type string | undefined */ - name?: string | undefined; - }; + name?: string | undefined + } /** * @type object */ @@ -7002,48 +7071,56 @@ export type UserEvent = { /** * @type string */ - id: string; + id: string /** * @type string | undefined */ - name?: string | undefined; - }; + name?: string | undefined + } /** * @type string | undefined */ - newName?: string | undefined; + newName?: string | undefined } | { /** * @type string */ - grantType: PayloadGrantTypeEnum; + grantType: PayloadGrantTypeEnum /** * @type string */ - appName: string; + appName: string /** * @description access_token TTL * @type number */ - atTTL: number; + atTTL: number /** * @description refresh_token TTL * @type number | undefined */ - rtTTL?: number | undefined; + rtTTL?: number | undefined /** * @type string */ - scope: string; + scope: string /** * @type string */ - authMethod: PayloadAuthMethodEnum; + authMethod: PayloadAuthMethodEnum } ) - | undefined; -}; + | undefined +} + +export const samlDefaultRedirectUriEnum = { + 'v0.app': 'v0.app', + 'v0.dev': 'v0.dev', + 'vercel.com': 'vercel.com', +} as const + +export type SamlDefaultRedirectUriEnum = (typeof samlDefaultRedirectUriEnum)[keyof typeof samlDefaultRedirectUriEnum] export const rolesEnum = { OWNER: 'OWNER', @@ -7052,10 +7129,11 @@ export const rolesEnum = { SECURITY: 'SECURITY', BILLING: 'BILLING', VIEWER: 'VIEWER', - CONTRIBUTOR: 'CONTRIBUTOR' -} as const; + VIEWER_FOR_PLUS: 'VIEWER_FOR_PLUS', + CONTRIBUTOR: 'CONTRIBUTOR', +} as const -export type RolesEnum = (typeof rolesEnum)[keyof typeof rolesEnum]; +export type RolesEnum = (typeof rolesEnum)[keyof typeof rolesEnum] export const teamEnablePreviewFeedbackEnum = { default: 'default', @@ -7063,11 +7141,10 @@ export const teamEnablePreviewFeedbackEnum = { off: 'off', 'off-force': 'off-force', on: 'on', - 'on-force': 'on-force' -} as const; + 'on-force': 'on-force', +} as const -export type TeamEnablePreviewFeedbackEnum = - (typeof teamEnablePreviewFeedbackEnum)[keyof typeof teamEnablePreviewFeedbackEnum]; +export type TeamEnablePreviewFeedbackEnum = (typeof teamEnablePreviewFeedbackEnum)[keyof typeof teamEnablePreviewFeedbackEnum] export const teamEnableProductionFeedbackEnum = { default: 'default', @@ -7075,20 +7152,19 @@ export const teamEnableProductionFeedbackEnum = { off: 'off', 'off-force': 'off-force', on: 'on', - 'on-force': 'on-force' -} as const; + 'on-force': 'on-force', +} as const -export type TeamEnableProductionFeedbackEnum = - (typeof teamEnableProductionFeedbackEnum)[keyof typeof teamEnableProductionFeedbackEnum]; +export type TeamEnableProductionFeedbackEnum = (typeof teamEnableProductionFeedbackEnum)[keyof typeof teamEnableProductionFeedbackEnum] export const teamSensitiveEnvironmentVariablePolicyEnum = { default: 'default', off: 'off', - on: 'on' -} as const; + on: 'on', +} as const export type TeamSensitiveEnvironmentVariablePolicyEnum = - (typeof teamSensitiveEnvironmentVariablePolicyEnum)[keyof typeof teamSensitiveEnvironmentVariablePolicyEnum]; + (typeof teamSensitiveEnvironmentVariablePolicyEnum)[keyof typeof teamSensitiveEnvironmentVariablePolicyEnum] export const membershipRoleEnum = { BILLING: 'BILLING', @@ -7097,10 +7173,11 @@ export const membershipRoleEnum = { MEMBER: 'MEMBER', OWNER: 'OWNER', SECURITY: 'SECURITY', - VIEWER: 'VIEWER' -} as const; + VIEWER: 'VIEWER', + VIEWER_FOR_PLUS: 'VIEWER_FOR_PLUS', +} as const -export type MembershipRoleEnum = (typeof membershipRoleEnum)[keyof typeof membershipRoleEnum]; +export type MembershipRoleEnum = (typeof membershipRoleEnum)[keyof typeof membershipRoleEnum] export const membershipTeamRolesEnum = { BILLING: 'BILLING', @@ -7109,21 +7186,24 @@ export const membershipTeamRolesEnum = { MEMBER: 'MEMBER', OWNER: 'OWNER', SECURITY: 'SECURITY', - VIEWER: 'VIEWER' -} as const; + VIEWER: 'VIEWER', + VIEWER_FOR_PLUS: 'VIEWER_FOR_PLUS', +} as const -export type MembershipTeamRolesEnum = (typeof membershipTeamRolesEnum)[keyof typeof membershipTeamRolesEnum]; +export type MembershipTeamRolesEnum = (typeof membershipTeamRolesEnum)[keyof typeof membershipTeamRolesEnum] export const membershipTeamPermissionsEnum = { CreateProject: 'CreateProject', EnvVariableManager: 'EnvVariableManager', EnvironmentManager: 'EnvironmentManager', FullProductionDeployment: 'FullProductionDeployment', - UsageViewer: 'UsageViewer' -} as const; + UsageViewer: 'UsageViewer', + V0Builder: 'V0Builder', + V0Chatter: 'V0Chatter', + V0Viewer: 'V0Viewer', +} as const -export type MembershipTeamPermissionsEnum = - (typeof membershipTeamPermissionsEnum)[keyof typeof membershipTeamPermissionsEnum]; +export type MembershipTeamPermissionsEnum = (typeof membershipTeamPermissionsEnum)[keyof typeof membershipTeamPermissionsEnum] export const joinedFromOriginEnum3 = { bitbucket: 'bitbucket', @@ -7136,10 +7216,10 @@ export const joinedFromOriginEnum3 = { mail: 'mail', 'organization-teams': 'organization-teams', saml: 'saml', - teams: 'teams' -} as const; + teams: 'teams', +} as const -export type JoinedFromOriginEnum3 = (typeof joinedFromOriginEnum3)[keyof typeof joinedFromOriginEnum3]; +export type JoinedFromOriginEnum3 = (typeof joinedFromOriginEnum3)[keyof typeof joinedFromOriginEnum3] /** * @description Data representing a Team. @@ -7153,24 +7233,24 @@ export type Team = { /** * @type boolean | undefined */ - enabled?: boolean | undefined; + enabled?: boolean | undefined } - | undefined; + | undefined /** * @description The ID of the user who created the Team. * @type string */ - creatorId: string; + creatorId: string /** * @description Timestamp (in milliseconds) of when the Team was last updated. * @type number */ - updatedAt: number; + updatedAt: number /** * @description Hostname that\'ll be matched with emails on sign-up to automatically join the Team. * @type string */ - emailDomain?: (string | null) | undefined; + emailDomain?: (string | null) | undefined /** * @description When \"Single Sign-On (SAML)\" is configured, this object contains information regarding the configuration of the Identity Provider (IdP). * @type object | undefined @@ -7187,29 +7267,29 @@ export type Team = { * @description The Identity Provider \"type\", for example Okta. * @type string */ - type: string; + type: string /** * @description Current status of the connection. * @type string */ - status: string; + status: string /** * @description Current state of the connection. * @type string */ - state: string; + state: string /** * @description Timestamp (in milliseconds) of when the configuration was connected. * @type number */ - connectedAt: number; + connectedAt: number /** * @description Timestamp (in milliseconds) of when the last webhook event was received from WorkOS. * @type number | undefined */ - lastReceivedWebhookEvent?: number | undefined; + lastReceivedWebhookEvent?: number | undefined } - | undefined; + | undefined /** * @description Information for the Directory Sync configuration. * @type object | undefined @@ -7220,29 +7300,34 @@ export type Team = { * @description The Identity Provider \"type\", for example Okta. * @type string */ - type: string; + type: string /** * @description Current state of the connection. * @type string */ - state: string; + state: string /** * @description Timestamp (in milliseconds) of when the configuration was connected. * @type number */ - connectedAt: number; + connectedAt: number /** * @description Timestamp (in milliseconds) of when the last webhook event was received from WorkOS. * @type number | undefined */ - lastReceivedWebhookEvent?: number | undefined; + lastReceivedWebhookEvent?: number | undefined } - | undefined; + | undefined /** * @description When `true`, interactions with the Team **must** be done with an authentication token that has been authenticated with the Team\'s SAML Single Sign-On provider. * @type boolean */ - enforced: boolean; + enforced: boolean + /** + * @description The default redirect URI to use after successful SAML authentication. + * @type string | undefined + */ + defaultRedirectUri?: SamlDefaultRedirectUriEnum | undefined /** * @description When \"Directory Sync\" is configured, this object contains a mapping of which Directory Group (by ID) should be assigned to which Vercel Team \"role\". * @type object | undefined @@ -7254,28 +7339,28 @@ export type Team = { /** * @type string */ - accessGroupId: string; + accessGroupId: string } - | RolesEnum; + | RolesEnum } - | undefined; + | undefined } - | undefined; + | undefined /** * @description Code that can be used to join this Team. Only visible to Team owners. * @type string | undefined */ - inviteCode?: string | undefined; + inviteCode?: string | undefined /** * @description A short description of the Team. * @type string */ - description: string | null; + description: string | null /** * @description The prefix that is prepended to automatic aliases. * @type string */ - stagingPrefix: string; + stagingPrefix: string /** * @type object | undefined */ @@ -7285,37 +7370,37 @@ export type Team = { * @description The total amount of concurrent builds that can be used. * @type number | undefined */ - concurrentBuilds?: number | undefined; + concurrentBuilds?: number | undefined /** * @description Whether every build for this team / user has elastic concurrency enabled automatically. * @type boolean | undefined */ - elasticConcurrencyEnabled?: boolean | undefined; + elasticConcurrencyEnabled?: boolean | undefined /** * @description The maximum size in kilobytes of an Edge Config. Only specified if a custom limit is set. * @type number | undefined */ - edgeConfigSize?: number | undefined; + edgeConfigSize?: number | undefined /** * @description The maximum number of edge configs an account can create. * @type number | undefined */ - edgeConfigs?: number | undefined; + edgeConfigs?: number | undefined /** * @description The maximum number of kv databases an account can create. * @type number | undefined */ - kvDatabases?: number | undefined; + kvDatabases?: number | undefined /** * @description The maximum number of blob stores an account can create. * @type number | undefined */ - blobStores?: number | undefined; + blobStores?: number | undefined /** * @description The maximum number of postgres databases an account can create. * @type number | undefined */ - postgresDatabases?: number | undefined; + postgresDatabases?: number | undefined /** * @type object | undefined */ @@ -7324,16 +7409,17 @@ export type Team = { /** * @type boolean | undefined */ - enhancedBuilds?: boolean | undefined; + enhancedBuilds?: boolean | undefined } - | undefined; + | undefined } - | undefined; + | undefined /** * @description The hostname that is current set as preview deployment suffix. * @type string */ - previewDeploymentSuffix?: (string | null) | undefined; + previewDeploymentSuffix?: (string | null) | undefined + disableHardAutoBlocks?: (number | boolean) | undefined /** * @description Is remote caching enabled for this team * @type object | undefined @@ -7343,9 +7429,9 @@ export type Team = { /** * @type boolean | undefined */ - enabled?: boolean | undefined; + enabled?: boolean | undefined } - | undefined; + | undefined /** * @description Default deployment protection for this team * @type object | undefined @@ -7360,9 +7446,9 @@ export type Team = { /** * @type string */ - deploymentType: string; + deploymentType: string } - | undefined; + | undefined /** * @type object | undefined */ @@ -7371,36 +7457,36 @@ export type Team = { /** * @type string */ - deploymentType: string; + deploymentType: string } - | undefined; + | undefined } - | undefined; + | undefined /** * @description Whether toolbar is enabled on preview deployments * @type string */ - enablePreviewFeedback?: (TeamEnablePreviewFeedbackEnum | null) | undefined; + enablePreviewFeedback?: (TeamEnablePreviewFeedbackEnum | null) | undefined /** * @description Whether toolbar is enabled on production deployments * @type string */ - enableProductionFeedback?: (TeamEnableProductionFeedbackEnum | null) | undefined; + enableProductionFeedback?: (TeamEnableProductionFeedbackEnum | null) | undefined /** * @description Sensitive environment variable policy for this team * @type string */ - sensitiveEnvironmentVariablePolicy?: (TeamSensitiveEnvironmentVariablePolicyEnum | null) | undefined; + sensitiveEnvironmentVariablePolicy?: (TeamSensitiveEnvironmentVariablePolicyEnum | null) | undefined /** * @description Indicates if IP addresses should be accessible in observability (o11y) tooling * @type boolean */ - hideIpAddresses?: (boolean | null) | undefined; + hideIpAddresses?: (boolean | null) | undefined /** * @description Indicates if IP addresses should be accessible in log drains * @type boolean */ - hideIpAddressesInLogDrains?: (boolean | null) | undefined; + hideIpAddressesInLogDrains?: (boolean | null) | undefined /** * @type array | undefined */ @@ -7409,33 +7495,33 @@ export type Team = { /** * @type string */ - bucket: string; + bucket: string /** * @type number | undefined */ - supportUntil?: number | undefined; + supportUntil?: number | undefined }[] - | undefined; + | undefined /** * @description The Team\'s unique identifier. * @type string */ - id: string; + id: string /** * @description The Team\'s slug, which is unique across the Vercel platform. * @type string */ - slug: string; + slug: string /** * @description Name associated with the Team account, or `null` if none has been provided. * @type string */ - name: string | null; + name: string | null /** * @description The ID of the file used as avatar for this Team. * @type string */ - avatar: string | null; + avatar: string | null /** * @description The membership of the authenticated User in relation to the Team. * @type object @@ -7444,7 +7530,7 @@ export type Team = { /** * @type string | undefined */ - uid?: string | undefined; + uid?: string | undefined /** * @type array | undefined */ @@ -7453,45 +7539,41 @@ export type Team = { /** * @type string */ - entitlement: string; + entitlement: string }[] - | undefined; + | undefined /** * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @type boolean */ - confirmed: boolean; - /** - * @type number - */ - confirmedAt: number; + confirmed: boolean /** * @type number | undefined */ - accessRequestedAt?: number | undefined; + accessRequestedAt?: number | undefined /** * @type string */ - role: MembershipRoleEnum; + role: MembershipRoleEnum /** * @type array | undefined */ - teamRoles?: MembershipTeamRolesEnum[] | undefined; + teamRoles?: MembershipTeamRolesEnum[] | undefined /** * @type array | undefined */ - teamPermissions?: MembershipTeamPermissionsEnum[] | undefined; + teamPermissions?: MembershipTeamPermissionsEnum[] | undefined /** * @type number */ - createdAt: number; + createdAt: number /** * @type number */ - created: number; + created: number /** * @type object | undefined */ @@ -7500,60 +7582,60 @@ export type Team = { /** * @type string */ - origin: JoinedFromOriginEnum3; + origin: JoinedFromOriginEnum3 /** * @type string | undefined */ - commitId?: string | undefined; + commitId?: string | undefined /** * @type string | undefined */ - repoId?: string | undefined; + repoId?: string | undefined /** * @type string | undefined */ - repoPath?: string | undefined; - gitUserId?: (string | number) | undefined; + repoPath?: string | undefined + gitUserId?: (string | number) | undefined /** * @type string | undefined */ - gitUserLogin?: string | undefined; + gitUserLogin?: string | undefined /** * @type string | undefined */ - ssoUserId?: string | undefined; + ssoUserId?: string | undefined /** * @type number | undefined */ - ssoConnectedAt?: number | undefined; + ssoConnectedAt?: number | undefined /** * @type string | undefined */ - idpUserId?: string | undefined; + idpUserId?: string | undefined /** * @type string | undefined */ - dsyncUserId?: string | undefined; + dsyncUserId?: string | undefined /** * @type number | undefined */ - dsyncConnectedAt?: number | undefined; + dsyncConnectedAt?: number | undefined } - | undefined; - }; + | undefined + } /** * @description UNIX timestamp (in milliseconds) when the Team was created. * @type number */ - createdAt: number; -}; + createdAt: number +} export const teamLimitedLimitedByEnum = { mfa: 'mfa', - scope: 'scope' -} as const; + scope: 'scope', +} as const -export type TeamLimitedLimitedByEnum = (typeof teamLimitedLimitedByEnum)[keyof typeof teamLimitedLimitedByEnum]; +export type TeamLimitedLimitedByEnum = (typeof teamLimitedLimitedByEnum)[keyof typeof teamLimitedLimitedByEnum] export const membershipRoleEnum2 = { BILLING: 'BILLING', @@ -7562,10 +7644,11 @@ export const membershipRoleEnum2 = { MEMBER: 'MEMBER', OWNER: 'OWNER', SECURITY: 'SECURITY', - VIEWER: 'VIEWER' -} as const; + VIEWER: 'VIEWER', + VIEWER_FOR_PLUS: 'VIEWER_FOR_PLUS', +} as const -export type MembershipRoleEnum2 = (typeof membershipRoleEnum2)[keyof typeof membershipRoleEnum2]; +export type MembershipRoleEnum2 = (typeof membershipRoleEnum2)[keyof typeof membershipRoleEnum2] export const membershipTeamRolesEnum2 = { BILLING: 'BILLING', @@ -7574,21 +7657,24 @@ export const membershipTeamRolesEnum2 = { MEMBER: 'MEMBER', OWNER: 'OWNER', SECURITY: 'SECURITY', - VIEWER: 'VIEWER' -} as const; + VIEWER: 'VIEWER', + VIEWER_FOR_PLUS: 'VIEWER_FOR_PLUS', +} as const -export type MembershipTeamRolesEnum2 = (typeof membershipTeamRolesEnum2)[keyof typeof membershipTeamRolesEnum2]; +export type MembershipTeamRolesEnum2 = (typeof membershipTeamRolesEnum2)[keyof typeof membershipTeamRolesEnum2] export const membershipTeamPermissionsEnum2 = { CreateProject: 'CreateProject', EnvVariableManager: 'EnvVariableManager', EnvironmentManager: 'EnvironmentManager', FullProductionDeployment: 'FullProductionDeployment', - UsageViewer: 'UsageViewer' -} as const; + UsageViewer: 'UsageViewer', + V0Builder: 'V0Builder', + V0Chatter: 'V0Chatter', + V0Viewer: 'V0Viewer', +} as const -export type MembershipTeamPermissionsEnum2 = - (typeof membershipTeamPermissionsEnum2)[keyof typeof membershipTeamPermissionsEnum2]; +export type MembershipTeamPermissionsEnum2 = (typeof membershipTeamPermissionsEnum2)[keyof typeof membershipTeamPermissionsEnum2] export const joinedFromOriginEnum4 = { bitbucket: 'bitbucket', @@ -7601,10 +7687,10 @@ export const joinedFromOriginEnum4 = { mail: 'mail', 'organization-teams': 'organization-teams', saml: 'saml', - teams: 'teams' -} as const; + teams: 'teams', +} as const -export type JoinedFromOriginEnum4 = (typeof joinedFromOriginEnum4)[keyof typeof joinedFromOriginEnum4]; +export type JoinedFromOriginEnum4 = (typeof joinedFromOriginEnum4)[keyof typeof joinedFromOriginEnum4] /** * @description A limited form of data representing a Team, due to the authentication token missing privileges to read the full Team data. @@ -7614,11 +7700,11 @@ export type TeamLimited = { * @description Property indicating that this Team data contains only limited information, due to the authentication token missing privileges to read the full Team data or due to team having MFA enforced and the user not having MFA enabled. Re-login with the Team\'s configured SAML Single Sign-On provider in order to upgrade the authentication token with the necessary privileges. * @type boolean */ - limited: boolean; + limited: boolean /** * @type array */ - limitedBy: TeamLimitedLimitedByEnum[]; + limitedBy: TeamLimitedLimitedByEnum[] /** * @description When \"Single Sign-On (SAML)\" is configured, this object contains information that allows the client-side to identify whether or not this Team has SAML enforced. * @type object | undefined @@ -7635,29 +7721,29 @@ export type TeamLimited = { * @description The Identity Provider \"type\", for example Okta. * @type string */ - type: string; + type: string /** * @description Current status of the connection. * @type string */ - status: string; + status: string /** * @description Current state of the connection. * @type string */ - state: string; + state: string /** * @description Timestamp (in milliseconds) of when the configuration was connected. * @type number */ - connectedAt: number; + connectedAt: number /** * @description Timestamp (in milliseconds) of when the last webhook event was received from WorkOS. * @type number | undefined */ - lastReceivedWebhookEvent?: number | undefined; + lastReceivedWebhookEvent?: number | undefined } - | undefined; + | undefined /** * @description Information for the Directory Sync configuration. * @type object | undefined @@ -7668,51 +7754,51 @@ export type TeamLimited = { * @description The Identity Provider \"type\", for example Okta. * @type string */ - type: string; + type: string /** * @description Current state of the connection. * @type string */ - state: string; + state: string /** * @description Timestamp (in milliseconds) of when the configuration was connected. * @type number */ - connectedAt: number; + connectedAt: number /** * @description Timestamp (in milliseconds) of when the last webhook event was received from WorkOS. * @type number | undefined */ - lastReceivedWebhookEvent?: number | undefined; + lastReceivedWebhookEvent?: number | undefined } - | undefined; + | undefined /** * @description When `true`, interactions with the Team **must** be done with an authentication token that has been authenticated with the Team\'s SAML Single Sign-On provider. * @type boolean */ - enforced: boolean; + enforced: boolean } - | undefined; + | undefined /** * @description The Team\'s unique identifier. * @type string */ - id: string; + id: string /** * @description The Team\'s slug, which is unique across the Vercel platform. * @type string */ - slug: string; + slug: string /** * @description Name associated with the Team account, or `null` if none has been provided. * @type string */ - name: string | null; + name: string | null /** * @description The ID of the file used as avatar for this Team. * @type string */ - avatar: string | null; + avatar: string | null /** * @description The membership of the authenticated User in relation to the Team. * @type object @@ -7721,7 +7807,7 @@ export type TeamLimited = { /** * @type string | undefined */ - uid?: string | undefined; + uid?: string | undefined /** * @type array | undefined */ @@ -7730,45 +7816,41 @@ export type TeamLimited = { /** * @type string */ - entitlement: string; + entitlement: string }[] - | undefined; + | undefined /** * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @type boolean */ - confirmed: boolean; - /** - * @type number - */ - confirmedAt: number; + confirmed: boolean /** * @type number | undefined */ - accessRequestedAt?: number | undefined; + accessRequestedAt?: number | undefined /** * @type string */ - role: MembershipRoleEnum2; + role: MembershipRoleEnum2 /** * @type array | undefined */ - teamRoles?: MembershipTeamRolesEnum2[] | undefined; + teamRoles?: MembershipTeamRolesEnum2[] | undefined /** * @type array | undefined */ - teamPermissions?: MembershipTeamPermissionsEnum2[] | undefined; + teamPermissions?: MembershipTeamPermissionsEnum2[] | undefined /** * @type number */ - createdAt: number; + createdAt: number /** * @type number */ - created: number; + created: number /** * @type object | undefined */ @@ -7777,67 +7859,67 @@ export type TeamLimited = { /** * @type string */ - origin: JoinedFromOriginEnum4; + origin: JoinedFromOriginEnum4 /** * @type string | undefined */ - commitId?: string | undefined; + commitId?: string | undefined /** * @type string | undefined */ - repoId?: string | undefined; + repoId?: string | undefined /** * @type string | undefined */ - repoPath?: string | undefined; - gitUserId?: (string | number) | undefined; + repoPath?: string | undefined + gitUserId?: (string | number) | undefined /** * @type string | undefined */ - gitUserLogin?: string | undefined; + gitUserLogin?: string | undefined /** * @type string | undefined */ - ssoUserId?: string | undefined; + ssoUserId?: string | undefined /** * @type number | undefined */ - ssoConnectedAt?: number | undefined; + ssoConnectedAt?: number | undefined /** * @type string | undefined */ - idpUserId?: string | undefined; + idpUserId?: string | undefined /** * @type string | undefined */ - dsyncUserId?: string | undefined; + dsyncUserId?: string | undefined /** * @type number | undefined */ - dsyncConnectedAt?: number | undefined; + dsyncConnectedAt?: number | undefined } - | undefined; - }; + | undefined + } /** * @description UNIX timestamp (in milliseconds) when the Team was created. * @type number */ - createdAt: number; -}; + createdAt: number +} export const scopesTypeEnum = { - user: 'user' -} as const; + user: 'user', +} as const -export type ScopesTypeEnum = (typeof scopesTypeEnum)[keyof typeof scopesTypeEnum]; +export type ScopesTypeEnum = (typeof scopesTypeEnum)[keyof typeof scopesTypeEnum] export const sudoOriginEnum = { totp: 'totp', webauthn: 'webauthn', - 'recovery-code': 'recovery-code' -} as const; + 'recovery-code': 'recovery-code', +} as const -export type SudoOriginEnum = (typeof sudoOriginEnum)[keyof typeof sudoOriginEnum]; +export type SudoOriginEnum = (typeof sudoOriginEnum)[keyof typeof sudoOriginEnum] export const scopesOriginEnum = { saml: 'saml', @@ -7850,16 +7932,17 @@ export const scopesOriginEnum = { otp: 'otp', sms: 'sms', invite: 'invite', - google: 'google' -} as const; + google: 'google', + app: 'app', +} as const -export type ScopesOriginEnum = (typeof scopesOriginEnum)[keyof typeof scopesOriginEnum]; +export type ScopesOriginEnum = (typeof scopesOriginEnum)[keyof typeof scopesOriginEnum] export const scopesTypeEnum2 = { - team: 'team' -} as const; + team: 'team', +} as const -export type ScopesTypeEnum2 = (typeof scopesTypeEnum2)[keyof typeof scopesTypeEnum2]; +export type ScopesTypeEnum2 = (typeof scopesTypeEnum2)[keyof typeof scopesTypeEnum2] export const scopesOriginEnum2 = { saml: 'saml', @@ -7872,10 +7955,11 @@ export const scopesOriginEnum2 = { otp: 'otp', sms: 'sms', invite: 'invite', - google: 'google' -} as const; + google: 'google', + app: 'app', +} as const -export type ScopesOriginEnum2 = (typeof scopesOriginEnum2)[keyof typeof scopesOriginEnum2]; +export type ScopesOriginEnum2 = (typeof scopesOriginEnum2)[keyof typeof scopesOriginEnum2] /** * @description Authentication token metadata. @@ -7885,22 +7969,22 @@ export type AuthToken = { * @description The unique identifier of the token. * @type string */ - id: string; + id: string /** * @description The human-readable name of the token. * @type string */ - name: string; + name: string /** * @description The type of the token. * @type string */ - type: string; + type: string /** * @description The origin of how the token was created. * @type string | undefined */ - origin?: string | undefined; + origin?: string | undefined /** * @description The access scopes granted to the token. * @type array | undefined @@ -7911,7 +7995,7 @@ export type AuthToken = { /** * @type string */ - type: ScopesTypeEnum; + type: ScopesTypeEnum /** * @type object | undefined */ @@ -7921,66 +8005,66 @@ export type AuthToken = { * @description Possible multi-factor origins * @type string */ - origin: SudoOriginEnum; + origin: SudoOriginEnum /** * @type number */ - expiresAt: number; + expiresAt: number } - | undefined; + | undefined /** - * @type string + * @type string | undefined */ - origin: ScopesOriginEnum; + origin?: ScopesOriginEnum | undefined /** * @type number */ - createdAt: number; + createdAt: number /** * @type number | undefined */ - expiresAt?: number | undefined; + expiresAt?: number | undefined } | { /** * @type string */ - type: ScopesTypeEnum2; + type: ScopesTypeEnum2 /** * @type string */ - teamId: string; + teamId: string /** - * @type string + * @type string | undefined */ - origin: ScopesOriginEnum2; + origin?: ScopesOriginEnum2 | undefined /** * @type number */ - createdAt: number; + createdAt: number /** * @type number | undefined */ - expiresAt?: number | undefined; + expiresAt?: number | undefined } )[] - | undefined; + | undefined /** * @description Timestamp (in milliseconds) of when the token expires. * @type number | undefined */ - expiresAt?: number | undefined; + expiresAt?: number | undefined /** * @description Timestamp (in milliseconds) of when the token was most recently used. * @type number */ - activeAt: number; + activeAt: number /** * @description Timestamp (in milliseconds) of when the token was created. * @type number */ - createdAt: number; -}; + createdAt: number +} export const softBlockReasonEnum2 = { BLOCKED_FOR_PLATFORM_ABUSE: 'BLOCKED_FOR_PLATFORM_ABUSE', @@ -7988,10 +8072,10 @@ export const softBlockReasonEnum2 = { FAIR_USE_LIMITS_EXCEEDED: 'FAIR_USE_LIMITS_EXCEEDED', SUBSCRIPTION_CANCELED: 'SUBSCRIPTION_CANCELED', SUBSCRIPTION_EXPIRED: 'SUBSCRIPTION_EXPIRED', - UNPAID_INVOICE: 'UNPAID_INVOICE' -} as const; + UNPAID_INVOICE: 'UNPAID_INVOICE', +} as const -export type SoftBlockReasonEnum2 = (typeof softBlockReasonEnum2)[keyof typeof softBlockReasonEnum2]; +export type SoftBlockReasonEnum2 = (typeof softBlockReasonEnum2)[keyof typeof softBlockReasonEnum2] export const softBlockBlockedDueToOverageTypeEnum2 = { analyticsUsage: 'analyticsUsage', @@ -8032,54 +8116,50 @@ export const softBlockBlockedDueToOverageTypeEnum2 = { wafOwaspExcessBytes: 'wafOwaspExcessBytes', wafOwaspRequests: 'wafOwaspRequests', wafRateLimitRequest: 'wafRateLimitRequest', - webAnalyticsEvent: 'webAnalyticsEvent' -} as const; + webAnalyticsEvent: 'webAnalyticsEvent', +} as const -export type SoftBlockBlockedDueToOverageTypeEnum2 = - (typeof softBlockBlockedDueToOverageTypeEnum2)[keyof typeof softBlockBlockedDueToOverageTypeEnum2]; +export type SoftBlockBlockedDueToOverageTypeEnum2 = (typeof softBlockBlockedDueToOverageTypeEnum2)[keyof typeof softBlockBlockedDueToOverageTypeEnum2] export const buildMachinePurchaseTypeEnum2 = { enhanced: 'enhanced', - turbo: 'turbo' -} as const; + turbo: 'turbo', +} as const -export type BuildMachinePurchaseTypeEnum2 = - (typeof buildMachinePurchaseTypeEnum2)[keyof typeof buildMachinePurchaseTypeEnum2]; +export type BuildMachinePurchaseTypeEnum2 = (typeof buildMachinePurchaseTypeEnum2)[keyof typeof buildMachinePurchaseTypeEnum2] export const activeDashboardViewsViewPreferenceEnum2 = { cards: 'cards', - list: 'list' -} as const; + list: 'list', +} as const -export type ActiveDashboardViewsViewPreferenceEnum2 = - (typeof activeDashboardViewsViewPreferenceEnum2)[keyof typeof activeDashboardViewsViewPreferenceEnum2]; +export type ActiveDashboardViewsViewPreferenceEnum2 = (typeof activeDashboardViewsViewPreferenceEnum2)[keyof typeof activeDashboardViewsViewPreferenceEnum2] export const activeDashboardViewsFavoritesViewPreferenceEnum2 = { closed: 'closed', - open: 'open' -} as const; + open: 'open', +} as const export type ActiveDashboardViewsFavoritesViewPreferenceEnum2 = - (typeof activeDashboardViewsFavoritesViewPreferenceEnum2)[keyof typeof activeDashboardViewsFavoritesViewPreferenceEnum2]; + (typeof activeDashboardViewsFavoritesViewPreferenceEnum2)[keyof typeof activeDashboardViewsFavoritesViewPreferenceEnum2] export const activeDashboardViewsRecentsViewPreferenceEnum2 = { closed: 'closed', - open: 'open' -} as const; + open: 'open', +} as const export type ActiveDashboardViewsRecentsViewPreferenceEnum2 = - (typeof activeDashboardViewsRecentsViewPreferenceEnum2)[keyof typeof activeDashboardViewsRecentsViewPreferenceEnum2]; + (typeof activeDashboardViewsRecentsViewPreferenceEnum2)[keyof typeof activeDashboardViewsRecentsViewPreferenceEnum2] export const authUserImportFlowGitProviderEnum = { bitbucket: 'bitbucket', github: 'github', 'github-custom-host': 'github-custom-host', 'github-limited': 'github-limited', - gitlab: 'gitlab' -} as const; + gitlab: 'gitlab', +} as const -export type AuthUserImportFlowGitProviderEnum = - (typeof authUserImportFlowGitProviderEnum)[keyof typeof authUserImportFlowGitProviderEnum]; +export type AuthUserImportFlowGitProviderEnum = (typeof authUserImportFlowGitProviderEnum)[keyof typeof authUserImportFlowGitProviderEnum] /** * @description Data for the currently authenticated User. @@ -8089,7 +8169,7 @@ export type AuthUser = { * @description UNIX timestamp (in milliseconds) when the User account was created. * @type number */ - createdAt: number; + createdAt: number /** * @description When the User account has been \"soft blocked\", this property will contain the date when the restriction was enacted, and the identifier for why. * @type object @@ -8098,21 +8178,21 @@ export type AuthUser = { /** * @type number */ - blockedAt: number; + blockedAt: number /** * @type string */ - reason: SoftBlockReasonEnum2; + reason: SoftBlockReasonEnum2 /** * @type string | undefined */ - blockedDueToOverageType?: SoftBlockBlockedDueToOverageTypeEnum2 | undefined; - } | null; + blockedDueToOverageType?: SoftBlockBlockedDueToOverageTypeEnum2 | undefined + } | null /** * @description An object containing billing infomation associated with the User account. * @type object */ - billing: object | null; + billing: object | null /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type object @@ -8122,17 +8202,17 @@ export type AuthUser = { * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type string | undefined */ - nodeType?: string | undefined; + nodeType?: string | undefined /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type number | undefined */ - concurrentBuilds?: number | undefined; + concurrentBuilds?: number | undefined /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type boolean | undefined */ - elasticConcurrencyEnabled?: boolean | undefined; + elasticConcurrencyEnabled?: boolean | undefined /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type object | undefined @@ -8143,109 +8223,109 @@ export type AuthUser = { * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type boolean | undefined */ - enhancedBuilds?: boolean | undefined; + enhancedBuilds?: boolean | undefined } - | undefined; + | undefined /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type string | undefined */ - awsAccountType?: string | undefined; + awsAccountType?: string | undefined /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type array | undefined */ - awsAccountIds?: string[] | undefined; + awsAccountIds?: string[] | undefined /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type string | undefined */ - cfZoneName?: string | undefined; + cfZoneName?: string | undefined /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type string | undefined */ - imageOptimizationType?: string | undefined; + imageOptimizationType?: string | undefined /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type number | undefined */ - edgeConfigs?: number | undefined; + edgeConfigs?: number | undefined /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type number | undefined */ - edgeConfigSize?: number | undefined; + edgeConfigSize?: number | undefined /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type number | undefined */ - edgeFunctionMaxSizeBytes?: number | undefined; + edgeFunctionMaxSizeBytes?: number | undefined /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type number | undefined */ - edgeFunctionExecutionTimeoutMs?: number | undefined; + edgeFunctionExecutionTimeoutMs?: number | undefined /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type number | undefined */ - serverlessFunctionMaxMemorySize?: number | undefined; + serverlessFunctionMaxMemorySize?: number | undefined /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type number | undefined */ - kvDatabases?: number | undefined; + kvDatabases?: number | undefined /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type number | undefined */ - postgresDatabases?: number | undefined; + postgresDatabases?: number | undefined /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type number | undefined */ - blobStores?: number | undefined; + blobStores?: number | undefined /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type number | undefined */ - integrationStores?: number | undefined; + integrationStores?: number | undefined /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type number | undefined */ - cronJobs?: number | undefined; + cronJobs?: number | undefined /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type number | undefined */ - cronJobsPerProject?: number | undefined; + cronJobsPerProject?: number | undefined /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type number | undefined */ - microfrontendGroupsPerTeam?: number | undefined; + microfrontendGroupsPerTeam?: number | undefined /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type number | undefined */ - microfrontendProjectsPerGroup?: number | undefined; + microfrontendProjectsPerGroup?: number | undefined /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type number | undefined */ - flagsExplorerOverridesThreshold?: number | undefined; + flagsExplorerOverridesThreshold?: number | undefined /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type boolean | undefined */ - flagsExplorerUnlimitedOverrides?: boolean | undefined; + flagsExplorerUnlimitedOverrides?: boolean | undefined /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type number | undefined */ - customEnvironmentsPerProject?: number | undefined; + customEnvironmentsPerProject?: number | undefined /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type object | undefined @@ -8256,30 +8336,58 @@ export type AuthUser = { * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type string | undefined */ - purchaseType?: BuildMachinePurchaseTypeEnum2 | undefined; + purchaseType?: BuildMachinePurchaseTypeEnum2 | undefined /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type boolean | undefined */ - isDefaultBuildMachine?: boolean | undefined; + isDefaultBuildMachine?: boolean | undefined /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type number | undefined */ - cores?: number | undefined; + cores?: number | undefined /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type number | undefined */ - memory?: number | undefined; + memory?: number | undefined } - | undefined; - }; + | undefined + /** + * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. + * @type object | undefined + */ + security?: + | { + /** + * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. + * @type number | undefined + */ + customRules?: number | undefined + /** + * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. + * @type number | undefined + */ + ipBlocks?: number | undefined + /** + * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. + * @type number | undefined + */ + ipBypass?: number | undefined + /** + * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. + * @type number | undefined + */ + rateLimit?: number | undefined + } + | undefined + } /** * @description Prefix that will be used in the URL of \"Preview\" deployments created by the User account. * @type string */ - stagingPrefix: string; + stagingPrefix: string /** * @description set of dashboard view preferences (cards or list) per scopeId * @type array | undefined @@ -8289,27 +8397,27 @@ export type AuthUser = { /** * @type string */ - scopeId: string; + scopeId: string /** * @type string */ - viewPreference?: (ActiveDashboardViewsViewPreferenceEnum2 | null) | undefined; + viewPreference?: (ActiveDashboardViewsViewPreferenceEnum2 | null) | undefined /** * @type string */ - favoritesViewPreference?: (ActiveDashboardViewsFavoritesViewPreferenceEnum2 | null) | undefined; + favoritesViewPreference?: (ActiveDashboardViewsFavoritesViewPreferenceEnum2 | null) | undefined /** * @type string */ - recentsViewPreference?: (ActiveDashboardViewsRecentsViewPreferenceEnum2 | null) | undefined; + recentsViewPreference?: (ActiveDashboardViewsRecentsViewPreferenceEnum2 | null) | undefined }[] - | undefined; - importFlowGitNamespace?: ((string | number) | null) | undefined; - importFlowGitNamespaceId?: ((string | number) | null) | undefined; + | undefined + importFlowGitNamespace?: ((string | number) | null) | undefined + importFlowGitNamespaceId?: ((string | number) | null) | undefined /** * @type string */ - importFlowGitProvider?: (AuthUserImportFlowGitProviderEnum | null) | undefined; + importFlowGitProvider?: (AuthUserImportFlowGitProviderEnum | null) | undefined /** * @type array | undefined */ @@ -8318,10 +8426,10 @@ export type AuthUser = { /** * @type string */ - scopeId: string; - gitNamespaceId: (string | number) | null; + scopeId: string + gitNamespaceId: (string | number) | null }[] - | undefined; + | undefined /** * @description A record of when, under a certain scopeId, a toast was dismissed * @type array | undefined @@ -8331,7 +8439,7 @@ export type AuthUser = { /** * @type string */ - name: string; + name: string /** * @type array */ @@ -8339,14 +8447,14 @@ export type AuthUser = { /** * @type string */ - scopeId: string; + scopeId: string /** * @type number */ - createdAt: number; - }[]; + createdAt: number + }[] }[] - | undefined; + | undefined /** * @description A list of projects and spaces across teams that a user has marked as a favorite. * @type array | undefined @@ -8356,18 +8464,18 @@ export type AuthUser = { /** * @type string */ - teamId: string; + teamId: string /** * @type string */ - projectId: string; + projectId: string }[] - | undefined; + | undefined /** * @description Whether the user has a trial available for a paid plan subscription. * @type boolean */ - hasTrialAvailable: boolean; + hasTrialAvailable: boolean /** * @description remote caching settings * @type object | undefined @@ -8377,9 +8485,9 @@ export type AuthUser = { /** * @type boolean | undefined */ - enabled?: boolean | undefined; + enabled?: boolean | undefined } - | undefined; + | undefined /** * @description data cache settings * @type object | undefined @@ -8389,9 +8497,9 @@ export type AuthUser = { /** * @type boolean | undefined */ - excessBillingEnabled?: boolean | undefined; + excessBillingEnabled?: boolean | undefined } - | undefined; + | undefined /** * @description Feature blocks for the user * @type object | undefined @@ -8406,50 +8514,50 @@ export type AuthUser = { /** * @type number | undefined */ - blockedFrom?: number | undefined; + blockedFrom?: number | undefined /** * @type number | undefined */ - blockedUntil?: number | undefined; + blockedUntil?: number | undefined /** * @type boolean */ - isCurrentlyBlocked: boolean; + isCurrentlyBlocked: boolean } - | undefined; + | undefined } - | undefined; + | undefined /** * @description The User\'s unique identifier. * @type string */ - id: string; + id: string /** * @description Email address associated with the User account. * @type string */ - email: string; + email: string /** * @description Name associated with the User account, or `null` if none has been provided. * @type string */ - name: string | null; + name: string | null /** * @description Unique username associated with the User account. * @type string */ - username: string; + username: string /** * @description SHA1 hash of the avatar for the User account. Can be used in conjuction with the ... endpoint to retrieve the avatar image. * @type string */ - avatar: string | null; + avatar: string | null /** * @description The user\'s default team. * @type string */ - defaultTeamId: string | null; -}; + defaultTeamId: string | null +} /** * @description A limited form of data for the currently authenticated User, due to the authentication token missing privileges to read the full User data. @@ -8459,38 +8567,38 @@ export type AuthUserLimited = { * @description Property indicating that this User data contains only limited information, due to the authentication token missing privileges to read the full User data. Re-login with email, GitHub, GitLab or Bitbucket in order to upgrade the authentication token with the necessary privileges. * @type boolean */ - limited: boolean; + limited: boolean /** * @description The User\'s unique identifier. * @type string */ - id: string; + id: string /** * @description Email address associated with the User account. * @type string */ - email: string; + email: string /** * @description Name associated with the User account, or `null` if none has been provided. * @type string */ - name: string | null; + name: string | null /** * @description Unique username associated with the User account. * @type string */ - username: string; + username: string /** * @description SHA1 hash of the avatar for the User account. Can be used in conjuction with the ... endpoint to retrieve the avatar image. * @type string */ - avatar: string | null; + avatar: string | null /** * @description The user\'s default team. * @type string */ - defaultTeamId: string | null; -}; + defaultTeamId: string | null +} export const fileTreeTypeEnum = { directory: 'directory', @@ -8498,10 +8606,10 @@ export const fileTreeTypeEnum = { invalid: 'invalid', lambda: 'lambda', middleware: 'middleware', - symlink: 'symlink' -} as const; + symlink: 'symlink', +} as const -export type FileTreeTypeEnum = (typeof fileTreeTypeEnum)[keyof typeof fileTreeTypeEnum]; +export type FileTreeTypeEnum = (typeof fileTreeTypeEnum)[keyof typeof fileTreeTypeEnum] /** * @description A deployment file tree entry @@ -8511,175 +8619,175 @@ export type FileTree = { * @description The name of the file tree entry * @type string */ - name: string; + name: string /** * @description String indicating the type of file tree entry. * @type string */ - type: FileTreeTypeEnum; + type: FileTreeTypeEnum /** * @description The unique identifier of the file (only valid for the `file` type) * @type string | undefined */ - uid?: string | undefined; + uid?: string | undefined /** * @description The list of children files of the directory (only valid for the `directory` type) * @type array | undefined */ - children?: unknown[] | undefined; + children?: unknown[] | undefined /** * @description The content-type of the file (only valid for the `file` type) * @type string | undefined */ - contentType?: string | undefined; + contentType?: string | undefined /** * @description The file \"mode\" indicating file type and permissions. * @type number */ - mode: number; + mode: number /** * @description Not currently used. See `file-list-to-tree.ts`. * @type string | undefined */ - symlink?: string | undefined; -}; + symlink?: string | undefined +} export type ReadAccessGroupPathParams = { /** * @type string */ - idOrName: string; -}; + idOrName: string +} export type ReadAccessGroupQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type ReadAccessGroup200 = unknown; +export type ReadAccessGroup200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type ReadAccessGroup400 = unknown; +export type ReadAccessGroup400 = unknown -export type ReadAccessGroup401 = unknown; +export type ReadAccessGroup401 = unknown /** * @description You do not have permission to access this resource. */ -export type ReadAccessGroup403 = unknown; +export type ReadAccessGroup403 = unknown -export type ReadAccessGroupQueryResponse = ReadAccessGroup200; +export type ReadAccessGroupQueryResponse = ReadAccessGroup200 export type ReadAccessGroupQuery = { - Response: ReadAccessGroup200; - PathParams: ReadAccessGroupPathParams; - QueryParams: ReadAccessGroupQueryParams; - Errors: ReadAccessGroup400 | ReadAccessGroup401 | ReadAccessGroup403; -}; + Response: ReadAccessGroup200 + PathParams: ReadAccessGroupPathParams + QueryParams: ReadAccessGroupQueryParams + Errors: ReadAccessGroup400 | ReadAccessGroup401 | ReadAccessGroup403 +} export type UpdateAccessGroupPathParams = { /** * @type string */ - idOrName: string; -}; + idOrName: string +} export type UpdateAccessGroupQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type UpdateAccessGroup200 = unknown; +export type UpdateAccessGroup200 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type UpdateAccessGroup400 = unknown; +export type UpdateAccessGroup400 = unknown -export type UpdateAccessGroup401 = unknown; +export type UpdateAccessGroup401 = unknown /** * @description You do not have permission to access this resource. */ -export type UpdateAccessGroup403 = unknown; +export type UpdateAccessGroup403 = unknown -export type UpdateAccessGroupMutationResponse = UpdateAccessGroup200; +export type UpdateAccessGroupMutationResponse = UpdateAccessGroup200 export type UpdateAccessGroupMutation = { - Response: UpdateAccessGroup200; - PathParams: UpdateAccessGroupPathParams; - QueryParams: UpdateAccessGroupQueryParams; - Errors: UpdateAccessGroup400 | UpdateAccessGroup401 | UpdateAccessGroup403; -}; + Response: UpdateAccessGroup200 + PathParams: UpdateAccessGroupPathParams + QueryParams: UpdateAccessGroupQueryParams + Errors: UpdateAccessGroup400 | UpdateAccessGroup401 | UpdateAccessGroup403 +} export type DeleteAccessGroupPathParams = { /** * @type string */ - idOrName: string; -}; + idOrName: string +} export type DeleteAccessGroupQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type DeleteAccessGroup200 = unknown; +export type DeleteAccessGroup200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type DeleteAccessGroup400 = unknown; +export type DeleteAccessGroup400 = unknown -export type DeleteAccessGroup401 = unknown; +export type DeleteAccessGroup401 = unknown /** * @description You do not have permission to access this resource. */ -export type DeleteAccessGroup403 = unknown; +export type DeleteAccessGroup403 = unknown -export type DeleteAccessGroupMutationResponse = DeleteAccessGroup200; +export type DeleteAccessGroupMutationResponse = DeleteAccessGroup200 export type DeleteAccessGroupMutation = { - Response: DeleteAccessGroup200; - PathParams: DeleteAccessGroupPathParams; - QueryParams: DeleteAccessGroupQueryParams; - Errors: DeleteAccessGroup400 | DeleteAccessGroup401 | DeleteAccessGroup403; -}; + Response: DeleteAccessGroup200 + PathParams: DeleteAccessGroupPathParams + QueryParams: DeleteAccessGroupQueryParams + Errors: DeleteAccessGroup400 | DeleteAccessGroup401 | DeleteAccessGroup403 +} export type ListAccessGroupMembersPathParams = { /** * @description The ID or name of the Access Group. * @type string */ - idOrName: string; -}; + idOrName: string +} export type ListAccessGroupMembersQueryParams = { /** @@ -8688,165 +8796,165 @@ export type ListAccessGroupMembersQueryParams = { * @maxLength 100 * @type integer | undefined */ - limit?: number | undefined; + limit?: number | undefined /** * @description Continuation cursor to retrieve the next page of results. * @type string | undefined */ - next?: string | undefined; + next?: string | undefined /** * @description Search project members by their name, username, and email. * @type string | undefined */ - search?: string | undefined; + search?: string | undefined /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type ListAccessGroupMembers200 = unknown; +export type ListAccessGroupMembers200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type ListAccessGroupMembers400 = unknown; +export type ListAccessGroupMembers400 = unknown -export type ListAccessGroupMembers401 = unknown; +export type ListAccessGroupMembers401 = unknown /** * @description You do not have permission to access this resource. */ -export type ListAccessGroupMembers403 = unknown; +export type ListAccessGroupMembers403 = unknown -export type ListAccessGroupMembersQueryResponse = ListAccessGroupMembers200; +export type ListAccessGroupMembersQueryResponse = ListAccessGroupMembers200 export type ListAccessGroupMembersQuery = { - Response: ListAccessGroupMembers200; - PathParams: ListAccessGroupMembersPathParams; - QueryParams: ListAccessGroupMembersQueryParams; - Errors: ListAccessGroupMembers400 | ListAccessGroupMembers401 | ListAccessGroupMembers403; -}; + Response: ListAccessGroupMembers200 + PathParams: ListAccessGroupMembersPathParams + QueryParams: ListAccessGroupMembersQueryParams + Errors: ListAccessGroupMembers400 | ListAccessGroupMembers401 | ListAccessGroupMembers403 +} export type ListAccessGroupsQueryParams = { /** * @description Filter access groups by project. * @type string | undefined */ - projectId?: string | undefined; + projectId?: string | undefined /** * @description Search for access groups by name. * @type string | undefined */ - search?: string | undefined; + search?: string | undefined /** * @description Number of members to include in the response. * @minLength 1 * @maxLength 100 * @type integer | undefined */ - membersLimit?: number | undefined; + membersLimit?: number | undefined /** * @description Number of projects to include in the response. * @minLength 1 * @maxLength 100 * @type integer | undefined */ - projectsLimit?: number | undefined; + projectsLimit?: number | undefined /** * @description Limit how many access group should be returned. * @minLength 1 * @maxLength 100 * @type integer | undefined */ - limit?: number | undefined; + limit?: number | undefined /** * @description Continuation cursor to retrieve the next page of results. * @type string | undefined */ - next?: string | undefined; + next?: string | undefined /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type ListAccessGroups200 = unknown; +export type ListAccessGroups200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type ListAccessGroups400 = unknown; +export type ListAccessGroups400 = unknown -export type ListAccessGroups401 = unknown; +export type ListAccessGroups401 = unknown /** * @description You do not have permission to access this resource. */ -export type ListAccessGroups403 = unknown; +export type ListAccessGroups403 = unknown -export type ListAccessGroupsQueryResponse = ListAccessGroups200; +export type ListAccessGroupsQueryResponse = ListAccessGroups200 export type ListAccessGroupsQuery = { - Response: ListAccessGroups200; - QueryParams: ListAccessGroupsQueryParams; - Errors: ListAccessGroups400 | ListAccessGroups401 | ListAccessGroups403; -}; + Response: ListAccessGroups200 + QueryParams: ListAccessGroupsQueryParams + Errors: ListAccessGroups400 | ListAccessGroups401 | ListAccessGroups403 +} export type CreateAccessGroupQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type CreateAccessGroup200 = unknown; +export type CreateAccessGroup200 = unknown /** * @description One of the provided values in the request body is invalid. */ -export type CreateAccessGroup400 = unknown; +export type CreateAccessGroup400 = unknown -export type CreateAccessGroup401 = unknown; +export type CreateAccessGroup401 = unknown /** * @description You do not have permission to access this resource. */ -export type CreateAccessGroup403 = unknown; +export type CreateAccessGroup403 = unknown -export type CreateAccessGroupMutationResponse = CreateAccessGroup200; +export type CreateAccessGroupMutationResponse = CreateAccessGroup200 export type CreateAccessGroupMutation = { - Response: CreateAccessGroup200; - QueryParams: CreateAccessGroupQueryParams; - Errors: CreateAccessGroup400 | CreateAccessGroup401 | CreateAccessGroup403; -}; + Response: CreateAccessGroup200 + QueryParams: CreateAccessGroupQueryParams + Errors: CreateAccessGroup400 | CreateAccessGroup401 | CreateAccessGroup403 +} export type ListAccessGroupProjectsPathParams = { /** * @description The ID or name of the Access Group. * @type string */ - idOrName: string; -}; + idOrName: string +} export type ListAccessGroupProjectsQueryParams = { /** @@ -8855,243 +8963,243 @@ export type ListAccessGroupProjectsQueryParams = { * @maxLength 100 * @type integer | undefined */ - limit?: number | undefined; + limit?: number | undefined /** * @description Continuation cursor to retrieve the next page of results. * @type string | undefined */ - next?: string | undefined; + next?: string | undefined /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type ListAccessGroupProjects200 = unknown; +export type ListAccessGroupProjects200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type ListAccessGroupProjects400 = unknown; +export type ListAccessGroupProjects400 = unknown -export type ListAccessGroupProjects401 = unknown; +export type ListAccessGroupProjects401 = unknown /** * @description You do not have permission to access this resource. */ -export type ListAccessGroupProjects403 = unknown; +export type ListAccessGroupProjects403 = unknown -export type ListAccessGroupProjectsQueryResponse = ListAccessGroupProjects200; +export type ListAccessGroupProjectsQueryResponse = ListAccessGroupProjects200 export type ListAccessGroupProjectsQuery = { - Response: ListAccessGroupProjects200; - PathParams: ListAccessGroupProjectsPathParams; - QueryParams: ListAccessGroupProjectsQueryParams; - Errors: ListAccessGroupProjects400 | ListAccessGroupProjects401 | ListAccessGroupProjects403; -}; + Response: ListAccessGroupProjects200 + PathParams: ListAccessGroupProjectsPathParams + QueryParams: ListAccessGroupProjectsQueryParams + Errors: ListAccessGroupProjects400 | ListAccessGroupProjects401 | ListAccessGroupProjects403 +} export type CreateAccessGroupProjectPathParams = { /** * @type string */ - accessGroupIdOrName: string; -}; + accessGroupIdOrName: string +} export type CreateAccessGroupProjectQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type CreateAccessGroupProject200 = unknown; +export type CreateAccessGroupProject200 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type CreateAccessGroupProject400 = unknown; +export type CreateAccessGroupProject400 = unknown -export type CreateAccessGroupProject401 = unknown; +export type CreateAccessGroupProject401 = unknown /** * @description You do not have permission to access this resource. */ -export type CreateAccessGroupProject403 = unknown; +export type CreateAccessGroupProject403 = unknown -export type CreateAccessGroupProjectMutationResponse = CreateAccessGroupProject200; +export type CreateAccessGroupProjectMutationResponse = CreateAccessGroupProject200 export type CreateAccessGroupProjectMutation = { - Response: CreateAccessGroupProject200; - PathParams: CreateAccessGroupProjectPathParams; - QueryParams: CreateAccessGroupProjectQueryParams; - Errors: CreateAccessGroupProject400 | CreateAccessGroupProject401 | CreateAccessGroupProject403; -}; + Response: CreateAccessGroupProject200 + PathParams: CreateAccessGroupProjectPathParams + QueryParams: CreateAccessGroupProjectQueryParams + Errors: CreateAccessGroupProject400 | CreateAccessGroupProject401 | CreateAccessGroupProject403 +} export type ReadAccessGroupProjectPathParams = { /** * @type string */ - accessGroupIdOrName: string; + accessGroupIdOrName: string /** * @type string */ - projectId: string; -}; + projectId: string +} export type ReadAccessGroupProjectQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type ReadAccessGroupProject200 = unknown; +export type ReadAccessGroupProject200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type ReadAccessGroupProject400 = unknown; +export type ReadAccessGroupProject400 = unknown -export type ReadAccessGroupProject401 = unknown; +export type ReadAccessGroupProject401 = unknown /** * @description You do not have permission to access this resource. */ -export type ReadAccessGroupProject403 = unknown; +export type ReadAccessGroupProject403 = unknown -export type ReadAccessGroupProjectQueryResponse = ReadAccessGroupProject200; +export type ReadAccessGroupProjectQueryResponse = ReadAccessGroupProject200 export type ReadAccessGroupProjectQuery = { - Response: ReadAccessGroupProject200; - PathParams: ReadAccessGroupProjectPathParams; - QueryParams: ReadAccessGroupProjectQueryParams; - Errors: ReadAccessGroupProject400 | ReadAccessGroupProject401 | ReadAccessGroupProject403; -}; + Response: ReadAccessGroupProject200 + PathParams: ReadAccessGroupProjectPathParams + QueryParams: ReadAccessGroupProjectQueryParams + Errors: ReadAccessGroupProject400 | ReadAccessGroupProject401 | ReadAccessGroupProject403 +} export type UpdateAccessGroupProjectPathParams = { /** * @type string */ - accessGroupIdOrName: string; + accessGroupIdOrName: string /** * @type string */ - projectId: string; -}; + projectId: string +} export type UpdateAccessGroupProjectQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type UpdateAccessGroupProject200 = unknown; +export type UpdateAccessGroupProject200 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type UpdateAccessGroupProject400 = unknown; +export type UpdateAccessGroupProject400 = unknown -export type UpdateAccessGroupProject401 = unknown; +export type UpdateAccessGroupProject401 = unknown /** * @description You do not have permission to access this resource. */ -export type UpdateAccessGroupProject403 = unknown; +export type UpdateAccessGroupProject403 = unknown -export type UpdateAccessGroupProjectMutationResponse = UpdateAccessGroupProject200; +export type UpdateAccessGroupProjectMutationResponse = UpdateAccessGroupProject200 export type UpdateAccessGroupProjectMutation = { - Response: UpdateAccessGroupProject200; - PathParams: UpdateAccessGroupProjectPathParams; - QueryParams: UpdateAccessGroupProjectQueryParams; - Errors: UpdateAccessGroupProject400 | UpdateAccessGroupProject401 | UpdateAccessGroupProject403; -}; + Response: UpdateAccessGroupProject200 + PathParams: UpdateAccessGroupProjectPathParams + QueryParams: UpdateAccessGroupProjectQueryParams + Errors: UpdateAccessGroupProject400 | UpdateAccessGroupProject401 | UpdateAccessGroupProject403 +} export type DeleteAccessGroupProjectPathParams = { /** * @type string */ - accessGroupIdOrName: string; + accessGroupIdOrName: string /** * @type string */ - projectId: string; -}; + projectId: string +} export type DeleteAccessGroupProjectQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type DeleteAccessGroupProject200 = unknown; +export type DeleteAccessGroupProject200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type DeleteAccessGroupProject400 = unknown; +export type DeleteAccessGroupProject400 = unknown -export type DeleteAccessGroupProject401 = unknown; +export type DeleteAccessGroupProject401 = unknown /** * @description You do not have permission to access this resource. */ -export type DeleteAccessGroupProject403 = unknown; +export type DeleteAccessGroupProject403 = unknown -export type DeleteAccessGroupProjectMutationResponse = DeleteAccessGroupProject200; +export type DeleteAccessGroupProjectMutationResponse = DeleteAccessGroupProject200 export type DeleteAccessGroupProjectMutation = { - Response: DeleteAccessGroupProject200; - PathParams: DeleteAccessGroupProjectPathParams; - QueryParams: DeleteAccessGroupProjectQueryParams; - Errors: DeleteAccessGroupProject400 | DeleteAccessGroupProject401 | DeleteAccessGroupProject403; -}; + Response: DeleteAccessGroupProject200 + PathParams: DeleteAccessGroupProjectPathParams + QueryParams: DeleteAccessGroupProjectQueryParams + Errors: DeleteAccessGroupProject400 | DeleteAccessGroupProject401 | DeleteAccessGroupProject403 +} export type RecordEventsQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} export type RecordEventsHeaderParams = { /** @@ -9099,189 +9207,189 @@ export type RecordEventsHeaderParams = { * @maxLength 50 * @type string | undefined */ - 'x-artifact-client-ci'?: string | undefined; + 'x-artifact-client-ci'?: string | undefined /** * @description 1 if the client is an interactive shell. Otherwise 0 * @minLength 0 * @maxLength 1 * @type integer | undefined */ - 'x-artifact-client-interactive'?: number | undefined; -}; + 'x-artifact-client-interactive'?: number | undefined +} /** * @description Success. Event recorded. */ -export type RecordEvents200 = unknown; +export type RecordEvents200 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the headers is invalid */ -export type RecordEvents400 = unknown; +export type RecordEvents400 = unknown -export type RecordEvents401 = unknown; +export type RecordEvents401 = unknown /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export type RecordEvents402 = unknown; +export type RecordEvents402 = unknown /** * @description The customer has reached their spend cap limit and has been paused. An owner can disable the cap or raise the limit in settings.\nThe Remote Caching usage limit has been reached for this account for this billing cycle.\nRemote Caching has been disabled for this team or user. An owner can enable it in the billing settings.\nYou do not have permission to access this resource. */ -export type RecordEvents403 = unknown; +export type RecordEvents403 = unknown -export type RecordEventsMutationResponse = RecordEvents200; +export type RecordEventsMutationResponse = RecordEvents200 export type RecordEventsMutation = { - Response: RecordEvents200; - QueryParams: RecordEventsQueryParams; - HeaderParams: RecordEventsHeaderParams; - Errors: RecordEvents400 | RecordEvents401 | RecordEvents402 | RecordEvents403; -}; + Response: RecordEvents200 + QueryParams: RecordEventsQueryParams + HeaderParams: RecordEventsHeaderParams + Errors: RecordEvents400 | RecordEvents401 | RecordEvents402 | RecordEvents403 +} export type StatusQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type Status200 = unknown; +export type Status200 = unknown -export type Status400 = unknown; +export type Status400 = unknown -export type Status401 = unknown; +export type Status401 = unknown /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export type Status402 = unknown; +export type Status402 = unknown /** * @description You do not have permission to access this resource. */ -export type Status403 = unknown; +export type Status403 = unknown -export type StatusQueryResponse = Status200; +export type StatusQueryResponse = Status200 export type StatusQuery = { - Response: Status200; - QueryParams: StatusQueryParams; - Errors: Status400 | Status401 | Status402 | Status403; -}; + Response: Status200 + QueryParams: StatusQueryParams + Errors: Status400 | Status401 | Status402 | Status403 +} export type UploadArtifactPathParams = { /** * @description The artifact hash * @type string */ - hash: string; -}; + hash: string +} export type UploadArtifactQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} export type UploadArtifactHeaderParams = { /** * @description The artifact size in bytes * @type number */ - 'Content-Length': number; + 'Content-Length': number /** * @description The time taken to generate the uploaded artifact in milliseconds. * @type number | undefined */ - 'x-artifact-duration'?: number | undefined; + 'x-artifact-duration'?: number | undefined /** * @description The continuous integration or delivery environment where this artifact was generated. * @maxLength 50 * @type string | undefined */ - 'x-artifact-client-ci'?: string | undefined; + 'x-artifact-client-ci'?: string | undefined /** * @description 1 if the client is an interactive shell. Otherwise 0 * @minLength 0 * @maxLength 1 * @type integer | undefined */ - 'x-artifact-client-interactive'?: number | undefined; + 'x-artifact-client-interactive'?: number | undefined /** * @description The base64 encoded tag for this artifact. The value is sent back to clients when the artifact is downloaded as the header `x-artifact-tag` * @maxLength 600 * @type string | undefined */ - 'x-artifact-tag'?: string | undefined; -}; + 'x-artifact-tag'?: string | undefined +} /** * @description File successfully uploaded */ -export type UploadArtifact202 = unknown; +export type UploadArtifact202 = unknown /** * @description One of the provided values in the request query is invalid.\nOne of the provided values in the headers is invalid\nFile size is not valid */ -export type UploadArtifact400 = unknown; +export type UploadArtifact400 = unknown -export type UploadArtifact401 = unknown; +export type UploadArtifact401 = unknown /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export type UploadArtifact402 = unknown; +export type UploadArtifact402 = unknown /** * @description The customer has reached their spend cap limit and has been paused. An owner can disable the cap or raise the limit in settings.\nThe Remote Caching usage limit has been reached for this account for this billing cycle.\nRemote Caching has been disabled for this team or user. An owner can enable it in the billing settings.\nYou do not have permission to access this resource. */ -export type UploadArtifact403 = unknown; +export type UploadArtifact403 = unknown -export type UploadArtifactMutationResponse = UploadArtifact202; +export type UploadArtifactMutationResponse = UploadArtifact202 export type UploadArtifactMutation = { - Response: UploadArtifact202; - PathParams: UploadArtifactPathParams; - QueryParams: UploadArtifactQueryParams; - HeaderParams: UploadArtifactHeaderParams; - Errors: UploadArtifact400 | UploadArtifact401 | UploadArtifact402 | UploadArtifact403; -}; + Response: UploadArtifact202 + PathParams: UploadArtifactPathParams + QueryParams: UploadArtifactQueryParams + HeaderParams: UploadArtifactHeaderParams + Errors: UploadArtifact400 | UploadArtifact401 | UploadArtifact402 | UploadArtifact403 +} export type DownloadArtifactPathParams = { /** * @description The artifact hash * @type string */ - hash: string; -}; + hash: string +} export type DownloadArtifactQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} export type DownloadArtifactHeaderParams = { /** @@ -9289,501 +9397,500 @@ export type DownloadArtifactHeaderParams = { * @maxLength 50 * @type string | undefined */ - 'x-artifact-client-ci'?: string | undefined; + 'x-artifact-client-ci'?: string | undefined /** * @description 1 if the client is an interactive shell. Otherwise 0 * @minLength 0 * @maxLength 1 * @type integer | undefined */ - 'x-artifact-client-interactive'?: number | undefined; -}; + 'x-artifact-client-interactive'?: number | undefined +} /** * @description The artifact was found and is downloaded as a stream. Content-Length should be verified. */ -export type DownloadArtifact200 = unknown; +export type DownloadArtifact200 = unknown /** * @description One of the provided values in the request query is invalid.\nOne of the provided values in the headers is invalid */ -export type DownloadArtifact400 = unknown; +export type DownloadArtifact400 = unknown -export type DownloadArtifact401 = unknown; +export type DownloadArtifact401 = unknown /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export type DownloadArtifact402 = unknown; +export type DownloadArtifact402 = unknown /** * @description The customer has reached their spend cap limit and has been paused. An owner can disable the cap or raise the limit in settings.\nThe Remote Caching usage limit has been reached for this account for this billing cycle.\nRemote Caching has been disabled for this team or user. An owner can enable it in the billing settings.\nYou do not have permission to access this resource. */ -export type DownloadArtifact403 = unknown; +export type DownloadArtifact403 = unknown /** * @description The artifact was not found */ -export type DownloadArtifact404 = unknown; +export type DownloadArtifact404 = unknown -export type DownloadArtifactQueryResponse = DownloadArtifact200; +export type DownloadArtifactQueryResponse = DownloadArtifact200 export type DownloadArtifactQuery = { - Response: DownloadArtifact200; - PathParams: DownloadArtifactPathParams; - QueryParams: DownloadArtifactQueryParams; - HeaderParams: DownloadArtifactHeaderParams; - Errors: DownloadArtifact400 | DownloadArtifact401 | DownloadArtifact402 | DownloadArtifact403 | DownloadArtifact404; -}; + Response: DownloadArtifact200 + PathParams: DownloadArtifactPathParams + QueryParams: DownloadArtifactQueryParams + HeaderParams: DownloadArtifactHeaderParams + Errors: DownloadArtifact400 | DownloadArtifact401 | DownloadArtifact402 | DownloadArtifact403 | DownloadArtifact404 +} export type ArtifactQueryQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type ArtifactQuery200 = unknown; +export type ArtifactQuery200 = unknown /** * @description One of the provided values in the request body is invalid. */ -export type ArtifactQuery400 = unknown; +export type ArtifactQuery400 = unknown -export type ArtifactQuery401 = unknown; +export type ArtifactQuery401 = unknown /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export type ArtifactQuery402 = unknown; +export type ArtifactQuery402 = unknown /** * @description The customer has reached their spend cap limit and has been paused. An owner can disable the cap or raise the limit in settings.\nThe Remote Caching usage limit has been reached for this account for this billing cycle.\nRemote Caching has been disabled for this team or user. An owner can enable it in the billing settings.\nYou do not have permission to access this resource. */ -export type ArtifactQuery403 = unknown; +export type ArtifactQuery403 = unknown -export type ArtifactQueryMutationResponse = ArtifactQuery200; +export type ArtifactQueryMutationResponse = ArtifactQuery200 export type ArtifactQueryMutation = { - Response: ArtifactQuery200; - QueryParams: ArtifactQueryQueryParams; - Errors: ArtifactQuery400 | ArtifactQuery401 | ArtifactQuery402 | ArtifactQuery403; -}; + Response: ArtifactQuery200 + QueryParams: ArtifactQueryQueryParams + Errors: ArtifactQuery400 | ArtifactQuery401 | ArtifactQuery402 | ArtifactQuery403 +} export type CreateCheckPathParams = { /** * @description The deployment to create the check for. * @type string */ - deploymentId: string; -}; + deploymentId: string +} export type CreateCheckQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type CreateCheck200 = unknown; +export type CreateCheck200 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nCannot create check for finished deployment\nThe provided token is not from an OAuth2 Client */ -export type CreateCheck400 = unknown; +export type CreateCheck400 = unknown -export type CreateCheck401 = unknown; +export type CreateCheck401 = unknown /** * @description You do not have permission to access this resource. */ -export type CreateCheck403 = unknown; +export type CreateCheck403 = unknown /** * @description The deployment was not found */ -export type CreateCheck404 = unknown; +export type CreateCheck404 = unknown -export type CreateCheckMutationResponse = CreateCheck200; +export type CreateCheckMutationResponse = CreateCheck200 export type CreateCheckMutation = { - Response: CreateCheck200; - PathParams: CreateCheckPathParams; - QueryParams: CreateCheckQueryParams; - Errors: CreateCheck400 | CreateCheck401 | CreateCheck403 | CreateCheck404; -}; + Response: CreateCheck200 + PathParams: CreateCheckPathParams + QueryParams: CreateCheckQueryParams + Errors: CreateCheck400 | CreateCheck401 | CreateCheck403 | CreateCheck404 +} export type GetAllChecksPathParams = { /** * @description The deployment to get all checks for * @type string */ - deploymentId: string; -}; + deploymentId: string +} export type GetAllChecksQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type GetAllChecks200 = unknown; +export type GetAllChecks200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type GetAllChecks400 = unknown; +export type GetAllChecks400 = unknown -export type GetAllChecks401 = unknown; +export type GetAllChecks401 = unknown /** * @description You do not have permission to access this resource. */ -export type GetAllChecks403 = unknown; +export type GetAllChecks403 = unknown /** * @description The deployment was not found */ -export type GetAllChecks404 = unknown; +export type GetAllChecks404 = unknown -export type GetAllChecksQueryResponse = GetAllChecks200; +export type GetAllChecksQueryResponse = GetAllChecks200 export type GetAllChecksQuery = { - Response: GetAllChecks200; - PathParams: GetAllChecksPathParams; - QueryParams: GetAllChecksQueryParams; - Errors: GetAllChecks400 | GetAllChecks401 | GetAllChecks403 | GetAllChecks404; -}; + Response: GetAllChecks200 + PathParams: GetAllChecksPathParams + QueryParams: GetAllChecksQueryParams + Errors: GetAllChecks400 | GetAllChecks401 | GetAllChecks403 | GetAllChecks404 +} export type GetCheckPathParams = { /** * @description The deployment to get the check for. * @type string */ - deploymentId: string; + deploymentId: string /** * @description The check to fetch * @type string */ - checkId: string; -}; + checkId: string +} export type GetCheckQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type GetCheck200 = unknown; +export type GetCheck200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type GetCheck400 = unknown; +export type GetCheck400 = unknown -export type GetCheck401 = unknown; +export type GetCheck401 = unknown /** * @description You do not have permission to access this resource.\nThe provided token is not from an OAuth2 Client that created the Check */ -export type GetCheck403 = unknown; +export type GetCheck403 = unknown /** * @description Check was not found\nThe deployment was not found */ -export type GetCheck404 = unknown; +export type GetCheck404 = unknown -export type GetCheckQueryResponse = GetCheck200; +export type GetCheckQueryResponse = GetCheck200 export type GetCheckQuery = { - Response: GetCheck200; - PathParams: GetCheckPathParams; - QueryParams: GetCheckQueryParams; - Errors: GetCheck400 | GetCheck401 | GetCheck403 | GetCheck404; -}; + Response: GetCheck200 + PathParams: GetCheckPathParams + QueryParams: GetCheckQueryParams + Errors: GetCheck400 | GetCheck401 | GetCheck403 | GetCheck404 +} export type UpdateCheckPathParams = { /** * @description The deployment to update the check for. * @type string */ - deploymentId: string; + deploymentId: string /** * @description The check being updated * @type string */ - checkId: string; -}; + checkId: string +} export type UpdateCheckQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type UpdateCheck200 = unknown; +export type UpdateCheck200 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nThe provided token is not from an OAuth2 Client */ -export type UpdateCheck400 = unknown; +export type UpdateCheck400 = unknown -export type UpdateCheck401 = unknown; +export type UpdateCheck401 = unknown /** * @description You do not have permission to access this resource. */ -export type UpdateCheck403 = unknown; +export type UpdateCheck403 = unknown /** * @description Check was not found\nThe deployment was not found */ -export type UpdateCheck404 = unknown; +export type UpdateCheck404 = unknown /** * @description The output provided is too large */ -export type UpdateCheck413 = unknown; +export type UpdateCheck413 = unknown -export type UpdateCheckMutationResponse = UpdateCheck200; +export type UpdateCheckMutationResponse = UpdateCheck200 export type UpdateCheckMutation = { - Response: UpdateCheck200; - PathParams: UpdateCheckPathParams; - QueryParams: UpdateCheckQueryParams; - Errors: UpdateCheck400 | UpdateCheck401 | UpdateCheck403 | UpdateCheck404 | UpdateCheck413; -}; + Response: UpdateCheck200 + PathParams: UpdateCheckPathParams + QueryParams: UpdateCheckQueryParams + Errors: UpdateCheck400 | UpdateCheck401 | UpdateCheck403 | UpdateCheck404 | UpdateCheck413 +} export type RerequestCheckPathParams = { /** * @description The deployment to rerun the check for. * @type string */ - deploymentId: string; + deploymentId: string /** * @description The check to rerun * @type string */ - checkId: string; -}; + checkId: string +} export type RerequestCheckQueryParams = { + /** + * @description Mark the check as running + * @type boolean | undefined + */ + autoUpdate?: boolean | undefined /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type RerequestCheck200 = unknown; +export type RerequestCheck200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type RerequestCheck400 = unknown; +export type RerequestCheck400 = unknown -export type RerequestCheck401 = unknown; +export type RerequestCheck401 = unknown /** * @description You do not have permission to access this resource. */ -export type RerequestCheck403 = unknown; +export type RerequestCheck403 = unknown /** * @description The deployment was not found\nCheck was not found */ -export type RerequestCheck404 = unknown; +export type RerequestCheck404 = unknown -export type RerequestCheckMutationResponse = RerequestCheck200; +export type RerequestCheckMutationResponse = RerequestCheck200 export type RerequestCheckMutation = { - Response: RerequestCheck200; - PathParams: RerequestCheckPathParams; - QueryParams: RerequestCheckQueryParams; - Errors: RerequestCheck400 | RerequestCheck401 | RerequestCheck403 | RerequestCheck404; -}; + Response: RerequestCheck200 + PathParams: RerequestCheckPathParams + QueryParams: RerequestCheckQueryParams + Errors: RerequestCheck400 | RerequestCheck401 | RerequestCheck403 | RerequestCheck404 +} export type PurgeAllDataCacheQueryParams = { /** * @type string */ - projectIdOrName: string; -}; + projectIdOrName: string +} -export type PurgeAllDataCache200 = unknown; +export type PurgeAllDataCache200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type PurgeAllDataCache400 = unknown; +export type PurgeAllDataCache400 = unknown -export type PurgeAllDataCache401 = unknown; +export type PurgeAllDataCache401 = unknown /** * @description You do not have permission to access this resource. */ -export type PurgeAllDataCache403 = unknown; +export type PurgeAllDataCache403 = unknown -export type PurgeAllDataCache404 = unknown; +export type PurgeAllDataCache404 = unknown -export type PurgeAllDataCacheMutationResponse = PurgeAllDataCache200; +export type PurgeAllDataCacheMutationResponse = PurgeAllDataCache200 export type PurgeAllDataCacheMutation = { - Response: PurgeAllDataCache200; - QueryParams: PurgeAllDataCacheQueryParams; - Errors: PurgeAllDataCache400 | PurgeAllDataCache401 | PurgeAllDataCache403 | PurgeAllDataCache404; -}; + Response: PurgeAllDataCache200 + QueryParams: PurgeAllDataCacheQueryParams + Errors: PurgeAllDataCache400 | PurgeAllDataCache401 | PurgeAllDataCache403 | PurgeAllDataCache404 +} -export type UpdateDataCacheBillingSettings200 = unknown; +export type UpdateDataCacheBillingSettings200 = unknown /** * @description One of the provided values in the request body is invalid. */ -export type UpdateDataCacheBillingSettings400 = unknown; +export type UpdateDataCacheBillingSettings400 = unknown -export type UpdateDataCacheBillingSettings401 = unknown; +export type UpdateDataCacheBillingSettings401 = unknown /** * @description You do not have permission to access this resource. */ -export type UpdateDataCacheBillingSettings403 = unknown; +export type UpdateDataCacheBillingSettings403 = unknown -export type UpdateDataCacheBillingSettings404 = unknown; +export type UpdateDataCacheBillingSettings404 = unknown -export type UpdateDataCacheBillingSettingsMutationResponse = UpdateDataCacheBillingSettings200; +export type UpdateDataCacheBillingSettingsMutationResponse = UpdateDataCacheBillingSettings200 export type UpdateDataCacheBillingSettingsMutation = { - Response: UpdateDataCacheBillingSettings200; - Errors: - | UpdateDataCacheBillingSettings400 - | UpdateDataCacheBillingSettings401 - | UpdateDataCacheBillingSettings403 - | UpdateDataCacheBillingSettings404; -}; + Response: UpdateDataCacheBillingSettings200 + Errors: UpdateDataCacheBillingSettings400 | UpdateDataCacheBillingSettings401 | UpdateDataCacheBillingSettings403 | UpdateDataCacheBillingSettings404 +} export type UpdateProjectDataCachePathParams = { /** * @description The unique project identifier * @type string */ - projectId: string; -}; + projectId: string +} export type UpdateProjectDataCacheQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type UpdateProjectDataCache200 = unknown; +export type UpdateProjectDataCache200 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type UpdateProjectDataCache400 = unknown; +export type UpdateProjectDataCache400 = unknown -export type UpdateProjectDataCache401 = unknown; +export type UpdateProjectDataCache401 = unknown /** * @description You do not have permission to access this resource. */ -export type UpdateProjectDataCache403 = unknown; +export type UpdateProjectDataCache403 = unknown -export type UpdateProjectDataCache404 = unknown; +export type UpdateProjectDataCache404 = unknown -export type UpdateProjectDataCacheMutationResponse = UpdateProjectDataCache200; +export type UpdateProjectDataCacheMutationResponse = UpdateProjectDataCache200 export type UpdateProjectDataCacheMutation = { - Response: UpdateProjectDataCache200; - PathParams: UpdateProjectDataCachePathParams; - QueryParams: UpdateProjectDataCacheQueryParams; - Errors: UpdateProjectDataCache400 | UpdateProjectDataCache401 | UpdateProjectDataCache403 | UpdateProjectDataCache404; -}; + Response: UpdateProjectDataCache200 + PathParams: UpdateProjectDataCachePathParams + QueryParams: UpdateProjectDataCacheQueryParams + Errors: UpdateProjectDataCache400 | UpdateProjectDataCache401 | UpdateProjectDataCache403 | UpdateProjectDataCache404 +} export type GetDeploymentEventsPathParams = { /** * @description The unique identifier or hostname of the deployment. * @type string */ - idOrUrl: string; -}; + idOrUrl: string +} export const getDeploymentEventsQueryParamsDirectionEnum = { backward: 'backward', - forward: 'forward' -} as const; + forward: 'forward', +} as const export type GetDeploymentEventsQueryParamsDirectionEnum = - (typeof getDeploymentEventsQueryParamsDirectionEnum)[keyof typeof getDeploymentEventsQueryParamsDirectionEnum]; + (typeof getDeploymentEventsQueryParamsDirectionEnum)[keyof typeof getDeploymentEventsQueryParamsDirectionEnum] export const getDeploymentEventsQueryParamsFollowEnum = { '0': 0, - '1': 1 -} as const; + '1': 1, +} as const -export type GetDeploymentEventsQueryParamsFollowEnum = - (typeof getDeploymentEventsQueryParamsFollowEnum)[keyof typeof getDeploymentEventsQueryParamsFollowEnum]; +export type GetDeploymentEventsQueryParamsFollowEnum = (typeof getDeploymentEventsQueryParamsFollowEnum)[keyof typeof getDeploymentEventsQueryParamsFollowEnum] export const getDeploymentEventsQueryParamsDelimiterEnum = { '0': 0, - '1': 1 -} as const; + '1': 1, +} as const export type GetDeploymentEventsQueryParamsDelimiterEnum = - (typeof getDeploymentEventsQueryParamsDelimiterEnum)[keyof typeof getDeploymentEventsQueryParamsDelimiterEnum]; + (typeof getDeploymentEventsQueryParamsDelimiterEnum)[keyof typeof getDeploymentEventsQueryParamsDelimiterEnum] export const getDeploymentEventsQueryParamsBuildsEnum = { '0': 0, - '1': 1 -} as const; + '1': 1, +} as const -export type GetDeploymentEventsQueryParamsBuildsEnum = - (typeof getDeploymentEventsQueryParamsBuildsEnum)[keyof typeof getDeploymentEventsQueryParamsBuildsEnum]; +export type GetDeploymentEventsQueryParamsBuildsEnum = (typeof getDeploymentEventsQueryParamsBuildsEnum)[keyof typeof getDeploymentEventsQueryParamsBuildsEnum] export type GetDeploymentEventsQueryParams = { /** @@ -9791,253 +9898,249 @@ export type GetDeploymentEventsQueryParams = { * @default "forward" * @type string | undefined */ - direction?: GetDeploymentEventsQueryParamsDirectionEnum | undefined; + direction?: GetDeploymentEventsQueryParamsDirectionEnum | undefined /** * @description When enabled, this endpoint will return live events as they happen. * @type number | undefined */ - follow?: GetDeploymentEventsQueryParamsFollowEnum | undefined; + follow?: GetDeploymentEventsQueryParamsFollowEnum | undefined /** * @description Maximum number of events to return. Provide `-1` to return all available logs. * @type number | undefined */ - limit?: number | undefined; + limit?: number | undefined /** * @description Deployment build ID. * @type string | undefined */ - name?: string | undefined; + name?: string | undefined /** * @description Timestamp for when build logs should be pulled from. * @type number | undefined */ - since?: number | undefined; + since?: number | undefined /** * @description Timestamp for when the build logs should be pulled up until. * @type number | undefined */ - until?: number | undefined; + until?: number | undefined /** * @description HTTP status code range to filter events by. */ - statusCode?: (number | string) | undefined; + statusCode?: (number | string) | undefined /** * @type number | undefined */ - delimiter?: GetDeploymentEventsQueryParamsDelimiterEnum | undefined; + delimiter?: GetDeploymentEventsQueryParamsDelimiterEnum | undefined /** * @type number | undefined */ - builds?: GetDeploymentEventsQueryParamsBuildsEnum | undefined; + builds?: GetDeploymentEventsQueryParamsBuildsEnum | undefined /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type GetDeploymentEvents200 = unknown; +export type GetDeploymentEvents200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type GetDeploymentEvents400 = unknown; +export type GetDeploymentEvents400 = unknown -export type GetDeploymentEvents401 = unknown; +export type GetDeploymentEvents401 = unknown /** * @description You do not have permission to access this resource. */ -export type GetDeploymentEvents403 = unknown; +export type GetDeploymentEvents403 = unknown -export type GetDeploymentEvents500 = unknown; +export type GetDeploymentEvents500 = unknown -export type GetDeploymentEventsQueryResponse = GetDeploymentEvents200; +export type GetDeploymentEventsQueryResponse = GetDeploymentEvents200 export type GetDeploymentEventsQuery = { - Response: GetDeploymentEvents200; - PathParams: GetDeploymentEventsPathParams; - QueryParams: GetDeploymentEventsQueryParams; - Errors: GetDeploymentEvents400 | GetDeploymentEvents401 | GetDeploymentEvents403 | GetDeploymentEvents500; -}; + Response: GetDeploymentEvents200 + PathParams: GetDeploymentEventsPathParams + QueryParams: GetDeploymentEventsQueryParams + Errors: GetDeploymentEvents400 | GetDeploymentEvents401 | GetDeploymentEvents403 | GetDeploymentEvents500 +} export type UpdateIntegrationDeploymentActionPathParams = { /** * @type string */ - deploymentId: string; + deploymentId: string /** * @type string */ - integrationConfigurationId: string; + integrationConfigurationId: string /** * @type string */ - resourceId: string; + resourceId: string /** * @type string */ - action: string; -}; + action: string +} -export type UpdateIntegrationDeploymentAction202 = unknown; +export type UpdateIntegrationDeploymentAction202 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type UpdateIntegrationDeploymentAction400 = unknown; +export type UpdateIntegrationDeploymentAction400 = unknown -export type UpdateIntegrationDeploymentAction401 = unknown; +export type UpdateIntegrationDeploymentAction401 = unknown /** * @description You do not have permission to access this resource. */ -export type UpdateIntegrationDeploymentAction403 = unknown; +export type UpdateIntegrationDeploymentAction403 = unknown -export type UpdateIntegrationDeploymentActionMutationResponse = UpdateIntegrationDeploymentAction202; +export type UpdateIntegrationDeploymentActionMutationResponse = UpdateIntegrationDeploymentAction202 export type UpdateIntegrationDeploymentActionMutation = { - Response: UpdateIntegrationDeploymentAction202; - PathParams: UpdateIntegrationDeploymentActionPathParams; - Errors: - | UpdateIntegrationDeploymentAction400 - | UpdateIntegrationDeploymentAction401 - | UpdateIntegrationDeploymentAction403; -}; + Response: UpdateIntegrationDeploymentAction202 + PathParams: UpdateIntegrationDeploymentActionPathParams + Errors: UpdateIntegrationDeploymentAction400 | UpdateIntegrationDeploymentAction401 | UpdateIntegrationDeploymentAction403 +} export type GetDeploymentPathParams = { /** * @description The unique identifier or hostname of the deployment. * @type string */ - idOrUrl: string; -}; + idOrUrl: string +} export type GetDeploymentQueryParams = { /** * @description Whether to add in gitRepo information. * @type string | undefined */ - withGitRepoInfo?: string | undefined; + withGitRepoInfo?: string | undefined /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description The deployment including only public information\nThe deployment including both public and private information */ -export type GetDeployment200 = unknown; +export type GetDeployment200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type GetDeployment400 = unknown; +export type GetDeployment400 = unknown /** * @description You do not have permission to access this resource. */ -export type GetDeployment403 = unknown; +export type GetDeployment403 = unknown /** * @description The deployment was not found */ -export type GetDeployment404 = unknown; +export type GetDeployment404 = unknown -export type GetDeploymentQueryResponse = GetDeployment200; +export type GetDeploymentQueryResponse = GetDeployment200 export type GetDeploymentQuery = { - Response: GetDeployment200; - PathParams: GetDeploymentPathParams; - QueryParams: GetDeploymentQueryParams; - Errors: GetDeployment400 | GetDeployment403 | GetDeployment404; -}; + Response: GetDeployment200 + PathParams: GetDeploymentPathParams + QueryParams: GetDeploymentQueryParams + Errors: GetDeployment400 | GetDeployment403 | GetDeployment404 +} export const createDeploymentQueryParamsForceNewEnum = { '0': '0', - '1': '1' -} as const; + '1': '1', +} as const -export type CreateDeploymentQueryParamsForceNewEnum = - (typeof createDeploymentQueryParamsForceNewEnum)[keyof typeof createDeploymentQueryParamsForceNewEnum]; +export type CreateDeploymentQueryParamsForceNewEnum = (typeof createDeploymentQueryParamsForceNewEnum)[keyof typeof createDeploymentQueryParamsForceNewEnum] export const createDeploymentQueryParamsSkipAutoDetectionConfirmationEnum = { '0': '0', - '1': '1' -} as const; + '1': '1', +} as const export type CreateDeploymentQueryParamsSkipAutoDetectionConfirmationEnum = - (typeof createDeploymentQueryParamsSkipAutoDetectionConfirmationEnum)[keyof typeof createDeploymentQueryParamsSkipAutoDetectionConfirmationEnum]; + (typeof createDeploymentQueryParamsSkipAutoDetectionConfirmationEnum)[keyof typeof createDeploymentQueryParamsSkipAutoDetectionConfirmationEnum] export type CreateDeploymentQueryParams = { /** * @description Forces a new deployment even if there is a previous similar deployment */ - forceNew?: CreateDeploymentQueryParamsForceNewEnum | undefined; + forceNew?: CreateDeploymentQueryParamsForceNewEnum | undefined /** * @description Allows to skip framework detection so the API would not fail to ask for confirmation */ - skipAutoDetectionConfirmation?: CreateDeploymentQueryParamsSkipAutoDetectionConfirmationEnum | undefined; + skipAutoDetectionConfirmation?: CreateDeploymentQueryParamsSkipAutoDetectionConfirmationEnum | undefined /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description The successfully created deployment */ -export type CreateDeployment200 = unknown; +export type CreateDeployment200 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type CreateDeployment400 = unknown; +export type CreateDeployment400 = unknown -export type CreateDeployment401 = unknown; +export type CreateDeployment401 = unknown /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated\nPro customers are allowed to deploy Serverless Functions to up to `proMaxRegions` regions, or if the project was created before the limit was introduced.\nDeploying to Serverless Functions to multiple regions requires a plan update */ -export type CreateDeployment402 = unknown; +export type CreateDeployment402 = unknown /** * @description You do not have permission to access this resource. */ -export type CreateDeployment403 = unknown; +export type CreateDeployment403 = unknown -export type CreateDeployment404 = unknown; +export type CreateDeployment404 = unknown /** * @description The deployment project is being transferred */ -export type CreateDeployment409 = unknown; +export type CreateDeployment409 = unknown -export type CreateDeployment500 = unknown; +export type CreateDeployment500 = unknown -export type CreateDeploymentMutationResponse = CreateDeployment200; +export type CreateDeploymentMutationResponse = CreateDeployment200 export type CreateDeploymentMutation = { - Response: CreateDeployment200; - QueryParams: CreateDeploymentQueryParams; + Response: CreateDeployment200 + QueryParams: CreateDeploymentQueryParams Errors: | CreateDeployment400 | CreateDeployment401 @@ -10045,678 +10148,678 @@ export type CreateDeploymentMutation = { | CreateDeployment403 | CreateDeployment404 | CreateDeployment409 - | CreateDeployment500; -}; + | CreateDeployment500 +} export type CancelDeploymentPathParams = { /** * @description The unique identifier of the deployment. * @type string */ - id: string; -}; + id: string +} export type CancelDeploymentQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type CancelDeployment200 = unknown; +export type CancelDeployment200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type CancelDeployment400 = unknown; +export type CancelDeployment400 = unknown -export type CancelDeployment401 = unknown; +export type CancelDeployment401 = unknown /** * @description You do not have permission to access this resource. */ -export type CancelDeployment403 = unknown; +export type CancelDeployment403 = unknown -export type CancelDeployment404 = unknown; +export type CancelDeployment404 = unknown -export type CancelDeploymentMutationResponse = CancelDeployment200; +export type CancelDeploymentMutationResponse = CancelDeployment200 export type CancelDeploymentMutation = { - Response: CancelDeployment200; - PathParams: CancelDeploymentPathParams; - QueryParams: CancelDeploymentQueryParams; - Errors: CancelDeployment400 | CancelDeployment401 | CancelDeployment403 | CancelDeployment404; -}; + Response: CancelDeployment200 + PathParams: CancelDeploymentPathParams + QueryParams: CancelDeploymentQueryParams + Errors: CancelDeployment400 | CancelDeployment401 | CancelDeployment403 | CancelDeployment404 +} export type BuyDomainQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type BuyDomain201 = unknown; +export type BuyDomain201 = unknown -export type BuyDomain202 = unknown; +export type BuyDomain202 = unknown /** * @description One of the provided values in the request body is invalid. */ -export type BuyDomain400 = unknown; +export type BuyDomain400 = unknown -export type BuyDomain401 = unknown; +export type BuyDomain401 = unknown /** * @description You do not have permission to access this resource. */ -export type BuyDomain403 = unknown; +export type BuyDomain403 = unknown + +export type BuyDomain409 = unknown -export type BuyDomain409 = unknown; +export type BuyDomain429 = unknown -export type BuyDomain429 = unknown; +export type BuyDomain500 = unknown -export type BuyDomainMutationResponse = BuyDomain201 | BuyDomain202; +export type BuyDomainMutationResponse = BuyDomain201 | BuyDomain202 export type BuyDomainMutation = { - Response: BuyDomain201 | BuyDomain202; - QueryParams: BuyDomainQueryParams; - Errors: BuyDomain400 | BuyDomain401 | BuyDomain403 | BuyDomain409 | BuyDomain429; -}; + Response: BuyDomain201 | BuyDomain202 + QueryParams: BuyDomainQueryParams + Errors: BuyDomain400 | BuyDomain401 | BuyDomain403 | BuyDomain409 | BuyDomain429 | BuyDomain500 +} export const checkDomainPriceQueryParamsTypeEnum = { new: 'new', renewal: 'renewal', transfer: 'transfer', - redemption: 'redemption' -} as const; + redemption: 'redemption', +} as const -export type CheckDomainPriceQueryParamsTypeEnum = - (typeof checkDomainPriceQueryParamsTypeEnum)[keyof typeof checkDomainPriceQueryParamsTypeEnum]; +export type CheckDomainPriceQueryParamsTypeEnum = (typeof checkDomainPriceQueryParamsTypeEnum)[keyof typeof checkDomainPriceQueryParamsTypeEnum] export type CheckDomainPriceQueryParams = { /** * @description The name of the domain for which the price needs to be checked. * @type string */ - name: string; + name: string /** * @description In which status of the domain the price needs to be checked. * @type string | undefined */ - type?: CheckDomainPriceQueryParamsTypeEnum | undefined; + type?: CheckDomainPriceQueryParamsTypeEnum | undefined /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description Successful response which returns the price of the domain and the period. */ -export type CheckDomainPrice200 = unknown; +export type CheckDomainPrice200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type CheckDomainPrice400 = unknown; +export type CheckDomainPrice400 = unknown -export type CheckDomainPrice401 = unknown; +export type CheckDomainPrice401 = unknown /** * @description You do not have permission to access this resource. */ -export type CheckDomainPrice403 = unknown; +export type CheckDomainPrice403 = unknown -export type CheckDomainPriceQueryResponse = CheckDomainPrice200; +export type CheckDomainPrice500 = unknown + +export type CheckDomainPriceQueryResponse = CheckDomainPrice200 export type CheckDomainPriceQuery = { - Response: CheckDomainPrice200; - QueryParams: CheckDomainPriceQueryParams; - Errors: CheckDomainPrice400 | CheckDomainPrice401 | CheckDomainPrice403; -}; + Response: CheckDomainPrice200 + QueryParams: CheckDomainPriceQueryParams + Errors: CheckDomainPrice400 | CheckDomainPrice401 | CheckDomainPrice403 | CheckDomainPrice500 +} export type CheckDomainStatusQueryParams = { /** * @description The name of the domain for which we would like to check the status. * @type string */ - name: string; + name: string /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description Successful response checking if a Domain\'s name is available. */ -export type CheckDomainStatus200 = unknown; +export type CheckDomainStatus200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type CheckDomainStatus400 = unknown; +export type CheckDomainStatus400 = unknown -export type CheckDomainStatus401 = unknown; +export type CheckDomainStatus401 = unknown /** * @description You do not have permission to access this resource. */ -export type CheckDomainStatus403 = unknown; +export type CheckDomainStatus403 = unknown -export type CheckDomainStatus408 = unknown; +export type CheckDomainStatus408 = unknown -export type CheckDomainStatus500 = unknown; +export type CheckDomainStatus500 = unknown -export type CheckDomainStatusQueryResponse = CheckDomainStatus200; +export type CheckDomainStatusQueryResponse = CheckDomainStatus200 export type CheckDomainStatusQuery = { - Response: CheckDomainStatus200; - QueryParams: CheckDomainStatusQueryParams; - Errors: - | CheckDomainStatus400 - | CheckDomainStatus401 - | CheckDomainStatus403 - | CheckDomainStatus408 - | CheckDomainStatus500; -}; + Response: CheckDomainStatus200 + QueryParams: CheckDomainStatusQueryParams + Errors: CheckDomainStatus400 | CheckDomainStatus401 | CheckDomainStatus403 | CheckDomainStatus408 | CheckDomainStatus500 +} export type GetRecordsPathParams = { /** * @type string */ - domain: string; -}; + domain: string +} export type GetRecordsQueryParams = { /** * @description Maximum number of records to list from a request. * @type string | undefined */ - limit?: string | undefined; + limit?: string | undefined /** * @description Get records created after this JavaScript timestamp. * @type string | undefined */ - since?: string | undefined; + since?: string | undefined /** * @description Get records created before this JavaScript timestamp. * @type string | undefined */ - until?: string | undefined; + until?: string | undefined /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description Successful response retrieving a list of paginated DNS records. */ -export type GetRecords200 = unknown; +export type GetRecords200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type GetRecords400 = unknown; +export type GetRecords400 = unknown -export type GetRecords401 = unknown; +export type GetRecords401 = unknown /** * @description You do not have permission to access this resource. */ -export type GetRecords403 = unknown; +export type GetRecords403 = unknown -export type GetRecords404 = unknown; +export type GetRecords404 = unknown -export type GetRecordsQueryResponse = GetRecords200; +export type GetRecordsQueryResponse = GetRecords200 export type GetRecordsQuery = { - Response: GetRecords200; - PathParams: GetRecordsPathParams; - QueryParams: GetRecordsQueryParams; - Errors: GetRecords400 | GetRecords401 | GetRecords403 | GetRecords404; -}; + Response: GetRecords200 + PathParams: GetRecordsPathParams + QueryParams: GetRecordsQueryParams + Errors: GetRecords400 | GetRecords401 | GetRecords403 | GetRecords404 +} export type CreateRecordPathParams = { /** * @description The domain used to create the DNS record. * @type string */ - domain: string; -}; + domain: string +} export type CreateRecordQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description Successful response showing the uid of the newly created DNS record. */ -export type CreateRecord200 = unknown; +export type CreateRecord200 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type CreateRecord400 = unknown; +export type CreateRecord400 = unknown -export type CreateRecord401 = unknown; +export type CreateRecord401 = unknown /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export type CreateRecord402 = unknown; +export type CreateRecord402 = unknown /** * @description You do not have permission to access this resource. */ -export type CreateRecord403 = unknown; +export type CreateRecord403 = unknown -export type CreateRecord404 = unknown; +export type CreateRecord404 = unknown -export type CreateRecord409 = unknown; +export type CreateRecord409 = unknown -export type CreateRecordMutationResponse = CreateRecord200; +export type CreateRecordMutationResponse = CreateRecord200 export type CreateRecordMutation = { - Response: CreateRecord200; - PathParams: CreateRecordPathParams; - QueryParams: CreateRecordQueryParams; - Errors: CreateRecord400 | CreateRecord401 | CreateRecord402 | CreateRecord403 | CreateRecord404 | CreateRecord409; -}; + Response: CreateRecord200 + PathParams: CreateRecordPathParams + QueryParams: CreateRecordQueryParams + Errors: CreateRecord400 | CreateRecord401 | CreateRecord402 | CreateRecord403 | CreateRecord404 | CreateRecord409 +} export type UpdateRecordPathParams = { /** * @description The id of the DNS record * @type string */ - recordId: string; -}; + recordId: string +} export type UpdateRecordQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type UpdateRecord200 = unknown; +export type UpdateRecord200 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type UpdateRecord400 = unknown; +export type UpdateRecord400 = unknown -export type UpdateRecord401 = unknown; +export type UpdateRecord401 = unknown /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export type UpdateRecord402 = unknown; +export type UpdateRecord402 = unknown /** * @description You do not have permission to access this resource. */ -export type UpdateRecord403 = unknown; +export type UpdateRecord403 = unknown -export type UpdateRecord404 = unknown; +export type UpdateRecord404 = unknown -export type UpdateRecord409 = unknown; +export type UpdateRecord409 = unknown -export type UpdateRecordMutationResponse = UpdateRecord200; +export type UpdateRecordMutationResponse = UpdateRecord200 export type UpdateRecordMutation = { - Response: UpdateRecord200; - PathParams: UpdateRecordPathParams; - QueryParams: UpdateRecordQueryParams; - Errors: UpdateRecord400 | UpdateRecord401 | UpdateRecord402 | UpdateRecord403 | UpdateRecord404 | UpdateRecord409; -}; + Response: UpdateRecord200 + PathParams: UpdateRecordPathParams + QueryParams: UpdateRecordQueryParams + Errors: UpdateRecord400 | UpdateRecord401 | UpdateRecord402 | UpdateRecord403 | UpdateRecord404 | UpdateRecord409 +} export type RemoveRecordPathParams = { /** * @type string */ - domain: string; + domain: string /** * @type string */ - recordId: string; -}; + recordId: string +} export type RemoveRecordQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description Successful response by removing the specified DNS record. */ -export type RemoveRecord200 = unknown; +export type RemoveRecord200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type RemoveRecord400 = unknown; +export type RemoveRecord400 = unknown -export type RemoveRecord401 = unknown; +export type RemoveRecord401 = unknown /** * @description You do not have permission to access this resource. */ -export type RemoveRecord403 = unknown; +export type RemoveRecord403 = unknown -export type RemoveRecord404 = unknown; +export type RemoveRecord404 = unknown -export type RemoveRecordMutationResponse = RemoveRecord200; +export type RemoveRecordMutationResponse = RemoveRecord200 export type RemoveRecordMutation = { - Response: RemoveRecord200; - PathParams: RemoveRecordPathParams; - QueryParams: RemoveRecordQueryParams; - Errors: RemoveRecord400 | RemoveRecord401 | RemoveRecord403 | RemoveRecord404; -}; + Response: RemoveRecord200 + PathParams: RemoveRecordPathParams + QueryParams: RemoveRecordQueryParams + Errors: RemoveRecord400 | RemoveRecord401 | RemoveRecord403 | RemoveRecord404 +} export type GetDomainTransferPathParams = { /** * @type string */ - domain: string; -}; + domain: string +} export type GetDomainTransferQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type GetDomainTransfer200 = unknown; +export type GetDomainTransfer200 = unknown -export type GetDomainTransfer400 = unknown; +export type GetDomainTransfer400 = unknown -export type GetDomainTransfer401 = unknown; +export type GetDomainTransfer401 = unknown /** * @description You do not have permission to access this resource. */ -export type GetDomainTransfer403 = unknown; +export type GetDomainTransfer403 = unknown -export type GetDomainTransferQueryResponse = GetDomainTransfer200; +export type GetDomainTransferQueryResponse = GetDomainTransfer200 export type GetDomainTransferQuery = { - Response: GetDomainTransfer200; - PathParams: GetDomainTransferPathParams; - QueryParams: GetDomainTransferQueryParams; - Errors: GetDomainTransfer400 | GetDomainTransfer401 | GetDomainTransfer403; -}; + Response: GetDomainTransfer200 + PathParams: GetDomainTransferPathParams + QueryParams: GetDomainTransferQueryParams + Errors: GetDomainTransfer400 | GetDomainTransfer401 | GetDomainTransfer403 +} export type GetDomainConfigPathParams = { /** * @description The name of the domain. * @type string */ - domain: string; -}; + domain: string +} export const getDomainConfigQueryParamsStrictEnum = { true: 'true', - false: 'false' -} as const; + false: 'false', +} as const -export type GetDomainConfigQueryParamsStrictEnum = - (typeof getDomainConfigQueryParamsStrictEnum)[keyof typeof getDomainConfigQueryParamsStrictEnum]; +export type GetDomainConfigQueryParamsStrictEnum = (typeof getDomainConfigQueryParamsStrictEnum)[keyof typeof getDomainConfigQueryParamsStrictEnum] export type GetDomainConfigQueryParams = { + /** + * @description The project id or name that will be associated with the domain. Use this when the domain is not yet associated with a project. + * @type string | undefined + */ + projectIdOrName?: string | undefined /** * @description When true, the response will only include the nameservers assigned directly to the specified domain. When false and there are no nameservers assigned directly to the specified domain, the response will include the nameservers of the domain\'s parent zone. */ - strict?: GetDomainConfigQueryParamsStrictEnum | undefined; + strict?: GetDomainConfigQueryParamsStrictEnum | undefined /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type GetDomainConfig200 = unknown; +export type GetDomainConfig200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type GetDomainConfig400 = unknown; +export type GetDomainConfig400 = unknown -export type GetDomainConfig401 = unknown; +export type GetDomainConfig401 = unknown /** * @description You do not have permission to access this resource. */ -export type GetDomainConfig403 = unknown; - -export type GetDomainConfig500 = unknown; +export type GetDomainConfig403 = unknown -export type GetDomainConfigQueryResponse = GetDomainConfig200; +export type GetDomainConfigQueryResponse = GetDomainConfig200 export type GetDomainConfigQuery = { - Response: GetDomainConfig200; - PathParams: GetDomainConfigPathParams; - QueryParams: GetDomainConfigQueryParams; - Errors: GetDomainConfig400 | GetDomainConfig401 | GetDomainConfig403 | GetDomainConfig500; -}; + Response: GetDomainConfig200 + PathParams: GetDomainConfigPathParams + QueryParams: GetDomainConfigQueryParams + Errors: GetDomainConfig400 | GetDomainConfig401 | GetDomainConfig403 +} export type GetDomainPathParams = { /** * @description The name of the domain. * @type string */ - domain: string; -}; + domain: string +} export type GetDomainQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description Successful response retrieving an information for a specific domains. */ -export type GetDomain200 = unknown; +export type GetDomain200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type GetDomain400 = unknown; +export type GetDomain400 = unknown -export type GetDomain401 = unknown; +export type GetDomain401 = unknown /** * @description You do not have permission to access this resource. */ -export type GetDomain403 = unknown; +export type GetDomain403 = unknown -export type GetDomain404 = unknown; +export type GetDomain404 = unknown -export type GetDomainQueryResponse = GetDomain200; +export type GetDomainQueryResponse = GetDomain200 export type GetDomainQuery = { - Response: GetDomain200; - PathParams: GetDomainPathParams; - QueryParams: GetDomainQueryParams; - Errors: GetDomain400 | GetDomain401 | GetDomain403 | GetDomain404; -}; + Response: GetDomain200 + PathParams: GetDomainPathParams + QueryParams: GetDomainQueryParams + Errors: GetDomain400 | GetDomain401 | GetDomain403 | GetDomain404 +} export type GetDomainsQueryParams = { /** * @description Maximum number of domains to list from a request. * @type number | undefined */ - limit?: number | undefined; + limit?: number | undefined /** * @description Get domains created after this JavaScript timestamp. * @type number | undefined */ - since?: number | undefined; + since?: number | undefined /** * @description Get domains created before this JavaScript timestamp. * @type number | undefined */ - until?: number | undefined; + until?: number | undefined /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description Successful response retrieving a list of domains. */ -export type GetDomains200 = unknown; +export type GetDomains200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type GetDomains400 = unknown; +export type GetDomains400 = unknown -export type GetDomains401 = unknown; +export type GetDomains401 = unknown /** * @description You do not have permission to access this resource. */ -export type GetDomains403 = unknown; +export type GetDomains403 = unknown -export type GetDomains409 = unknown; +export type GetDomains409 = unknown -export type GetDomainsQueryResponse = GetDomains200; +export type GetDomainsQueryResponse = GetDomains200 export type GetDomainsQuery = { - Response: GetDomains200; - QueryParams: GetDomainsQueryParams; - Errors: GetDomains400 | GetDomains401 | GetDomains403 | GetDomains409; -}; + Response: GetDomains200 + QueryParams: GetDomainsQueryParams + Errors: GetDomains400 | GetDomains401 | GetDomains403 | GetDomains409 +} export type CreateOrTransferDomainQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type CreateOrTransferDomain200 = unknown; +export type CreateOrTransferDomain200 = unknown /** * @description One of the provided values in the request body is invalid. */ -export type CreateOrTransferDomain400 = unknown; +export type CreateOrTransferDomain400 = unknown -export type CreateOrTransferDomain401 = unknown; +export type CreateOrTransferDomain401 = unknown /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export type CreateOrTransferDomain402 = unknown; +export type CreateOrTransferDomain402 = unknown /** * @description You do not have permission to access this resource. */ -export type CreateOrTransferDomain403 = unknown; +export type CreateOrTransferDomain403 = unknown -export type CreateOrTransferDomain404 = unknown; +export type CreateOrTransferDomain404 = unknown /** * @description The domain is not allowed to be used */ -export type CreateOrTransferDomain409 = unknown; +export type CreateOrTransferDomain409 = unknown -export type CreateOrTransferDomain500 = unknown; +export type CreateOrTransferDomain500 = unknown -export type CreateOrTransferDomainMutationResponse = CreateOrTransferDomain200; +export type CreateOrTransferDomainMutationResponse = CreateOrTransferDomain200 export type CreateOrTransferDomainMutation = { - Response: CreateOrTransferDomain200; - QueryParams: CreateOrTransferDomainQueryParams; + Response: CreateOrTransferDomain200 + QueryParams: CreateOrTransferDomainQueryParams Errors: | CreateOrTransferDomain400 | CreateOrTransferDomain401 @@ -10724,2092 +10827,2146 @@ export type CreateOrTransferDomainMutation = { | CreateOrTransferDomain403 | CreateOrTransferDomain404 | CreateOrTransferDomain409 - | CreateOrTransferDomain500; -}; + | CreateOrTransferDomain500 +} export type PatchDomainPathParams = { /** * @type string */ - domain: string; -}; + domain: string +} export type PatchDomainQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type PatchDomain200 = unknown; +export type PatchDomain200 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type PatchDomain400 = unknown; +export type PatchDomain400 = unknown -export type PatchDomain401 = unknown; +export type PatchDomain401 = unknown /** * @description You do not have permission to access this resource. */ -export type PatchDomain403 = unknown; +export type PatchDomain403 = unknown -export type PatchDomain404 = unknown; +export type PatchDomain404 = unknown -export type PatchDomain409 = unknown; +export type PatchDomain409 = unknown -export type PatchDomainMutationResponse = PatchDomain200; +export type PatchDomain500 = unknown + +export type PatchDomainMutationResponse = PatchDomain200 export type PatchDomainMutation = { - Response: PatchDomain200; - PathParams: PatchDomainPathParams; - QueryParams: PatchDomainQueryParams; - Errors: PatchDomain400 | PatchDomain401 | PatchDomain403 | PatchDomain404 | PatchDomain409; -}; + Response: PatchDomain200 + PathParams: PatchDomainPathParams + QueryParams: PatchDomainQueryParams + Errors: PatchDomain400 | PatchDomain401 | PatchDomain403 | PatchDomain404 | PatchDomain409 | PatchDomain500 +} export type DeleteDomainPathParams = { /** * @description The name of the domain. * @type string */ - domain: string; -}; + domain: string +} export type DeleteDomainQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description Successful response removing a domain. */ -export type DeleteDomain200 = unknown; +export type DeleteDomain200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type DeleteDomain400 = unknown; +export type DeleteDomain400 = unknown -export type DeleteDomain401 = unknown; +export type DeleteDomain401 = unknown /** * @description You do not have permission to access this resource. */ -export type DeleteDomain403 = unknown; +export type DeleteDomain403 = unknown -export type DeleteDomain404 = unknown; +export type DeleteDomain404 = unknown -export type DeleteDomain409 = unknown; +export type DeleteDomain409 = unknown -export type DeleteDomainMutationResponse = DeleteDomain200; +export type DeleteDomainMutationResponse = DeleteDomain200 export type DeleteDomainMutation = { - Response: DeleteDomain200; - PathParams: DeleteDomainPathParams; - QueryParams: DeleteDomainQueryParams; - Errors: DeleteDomain400 | DeleteDomain401 | DeleteDomain403 | DeleteDomain404 | DeleteDomain409; -}; + Response: DeleteDomain200 + PathParams: DeleteDomainPathParams + QueryParams: DeleteDomainQueryParams + Errors: DeleteDomain400 | DeleteDomain401 | DeleteDomain403 | DeleteDomain404 | DeleteDomain409 +} export type GetEdgeConfigsQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description List of all edge configs. */ -export type GetEdgeConfigs200 = unknown; +export type GetEdgeConfigs200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type GetEdgeConfigs400 = unknown; +export type GetEdgeConfigs400 = unknown -export type GetEdgeConfigs401 = unknown; +export type GetEdgeConfigs401 = unknown /** * @description You do not have permission to access this resource. */ -export type GetEdgeConfigs403 = unknown; +export type GetEdgeConfigs403 = unknown -export type GetEdgeConfigsQueryResponse = GetEdgeConfigs200; +export type GetEdgeConfigsQueryResponse = GetEdgeConfigs200 export type GetEdgeConfigsQuery = { - Response: GetEdgeConfigs200; - QueryParams: GetEdgeConfigsQueryParams; - Errors: GetEdgeConfigs400 | GetEdgeConfigs401 | GetEdgeConfigs403; -}; + Response: GetEdgeConfigs200 + QueryParams: GetEdgeConfigsQueryParams + Errors: GetEdgeConfigs400 | GetEdgeConfigs401 | GetEdgeConfigs403 +} export type CreateEdgeConfigQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type CreateEdgeConfig201 = unknown; +export type CreateEdgeConfig201 = unknown /** * @description One of the provided values in the request body is invalid. */ -export type CreateEdgeConfig400 = unknown; +export type CreateEdgeConfig400 = unknown -export type CreateEdgeConfig401 = unknown; +export type CreateEdgeConfig401 = unknown /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export type CreateEdgeConfig402 = unknown; +export type CreateEdgeConfig402 = unknown /** * @description You do not have permission to access this resource. */ -export type CreateEdgeConfig403 = unknown; +export type CreateEdgeConfig403 = unknown -export type CreateEdgeConfigMutationResponse = CreateEdgeConfig201; +export type CreateEdgeConfigMutationResponse = CreateEdgeConfig201 export type CreateEdgeConfigMutation = { - Response: CreateEdgeConfig201; - QueryParams: CreateEdgeConfigQueryParams; - Errors: CreateEdgeConfig400 | CreateEdgeConfig401 | CreateEdgeConfig402 | CreateEdgeConfig403; -}; + Response: CreateEdgeConfig201 + QueryParams: CreateEdgeConfigQueryParams + Errors: CreateEdgeConfig400 | CreateEdgeConfig401 | CreateEdgeConfig402 | CreateEdgeConfig403 +} export type GetEdgeConfigPathParams = { /** * @type string */ - edgeConfigId: string; -}; + edgeConfigId: string +} export type GetEdgeConfigQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description The EdgeConfig. */ -export type GetEdgeConfig200 = unknown; +export type GetEdgeConfig200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type GetEdgeConfig400 = unknown; +export type GetEdgeConfig400 = unknown -export type GetEdgeConfig401 = unknown; +export type GetEdgeConfig401 = unknown /** * @description You do not have permission to access this resource. */ -export type GetEdgeConfig403 = unknown; +export type GetEdgeConfig403 = unknown -export type GetEdgeConfig404 = unknown; +export type GetEdgeConfig404 = unknown -export type GetEdgeConfigQueryResponse = GetEdgeConfig200; +export type GetEdgeConfigQueryResponse = GetEdgeConfig200 export type GetEdgeConfigQuery = { - Response: GetEdgeConfig200; - PathParams: GetEdgeConfigPathParams; - QueryParams: GetEdgeConfigQueryParams; - Errors: GetEdgeConfig400 | GetEdgeConfig401 | GetEdgeConfig403 | GetEdgeConfig404; -}; + Response: GetEdgeConfig200 + PathParams: GetEdgeConfigPathParams + QueryParams: GetEdgeConfigQueryParams + Errors: GetEdgeConfig400 | GetEdgeConfig401 | GetEdgeConfig403 | GetEdgeConfig404 +} export type UpdateEdgeConfigPathParams = { /** * @type string */ - edgeConfigId: string; -}; + edgeConfigId: string +} export type UpdateEdgeConfigQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type UpdateEdgeConfig200 = unknown; +export type UpdateEdgeConfig200 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type UpdateEdgeConfig400 = unknown; +export type UpdateEdgeConfig400 = unknown -export type UpdateEdgeConfig401 = unknown; +export type UpdateEdgeConfig401 = unknown /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export type UpdateEdgeConfig402 = unknown; +export type UpdateEdgeConfig402 = unknown /** * @description You do not have permission to access this resource. */ -export type UpdateEdgeConfig403 = unknown; +export type UpdateEdgeConfig403 = unknown -export type UpdateEdgeConfig404 = unknown; +export type UpdateEdgeConfig404 = unknown -export type UpdateEdgeConfigMutationResponse = UpdateEdgeConfig200; +export type UpdateEdgeConfigMutationResponse = UpdateEdgeConfig200 export type UpdateEdgeConfigMutation = { - Response: UpdateEdgeConfig200; - PathParams: UpdateEdgeConfigPathParams; - QueryParams: UpdateEdgeConfigQueryParams; - Errors: UpdateEdgeConfig400 | UpdateEdgeConfig401 | UpdateEdgeConfig402 | UpdateEdgeConfig403 | UpdateEdgeConfig404; -}; + Response: UpdateEdgeConfig200 + PathParams: UpdateEdgeConfigPathParams + QueryParams: UpdateEdgeConfigQueryParams + Errors: UpdateEdgeConfig400 | UpdateEdgeConfig401 | UpdateEdgeConfig402 | UpdateEdgeConfig403 | UpdateEdgeConfig404 +} export type DeleteEdgeConfigPathParams = { /** * @type string */ - edgeConfigId: string; -}; + edgeConfigId: string +} export type DeleteEdgeConfigQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type DeleteEdgeConfig204 = unknown; +export type DeleteEdgeConfig204 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type DeleteEdgeConfig400 = unknown; +export type DeleteEdgeConfig400 = unknown -export type DeleteEdgeConfig401 = unknown; +export type DeleteEdgeConfig401 = unknown /** * @description You do not have permission to access this resource. */ -export type DeleteEdgeConfig403 = unknown; +export type DeleteEdgeConfig403 = unknown -export type DeleteEdgeConfig404 = unknown; +export type DeleteEdgeConfig404 = unknown -export type DeleteEdgeConfigMutationResponse = DeleteEdgeConfig204; +export type DeleteEdgeConfigMutationResponse = DeleteEdgeConfig204 export type DeleteEdgeConfigMutation = { - Response: DeleteEdgeConfig204; - PathParams: DeleteEdgeConfigPathParams; - QueryParams: DeleteEdgeConfigQueryParams; - Errors: DeleteEdgeConfig400 | DeleteEdgeConfig401 | DeleteEdgeConfig403 | DeleteEdgeConfig404; -}; + Response: DeleteEdgeConfig204 + PathParams: DeleteEdgeConfigPathParams + QueryParams: DeleteEdgeConfigQueryParams + Errors: DeleteEdgeConfig400 | DeleteEdgeConfig401 | DeleteEdgeConfig403 | DeleteEdgeConfig404 +} export type GetEdgeConfigItemsPathParams = { /** * @pattern ^ecfg_ * @type string */ - edgeConfigId: string; -}; + edgeConfigId: string +} export type GetEdgeConfigItemsQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description List of all Edge Config items. */ -export type GetEdgeConfigItems200 = unknown; +export type GetEdgeConfigItems200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type GetEdgeConfigItems400 = unknown; +export type GetEdgeConfigItems400 = unknown -export type GetEdgeConfigItems401 = unknown; +export type GetEdgeConfigItems401 = unknown /** * @description You do not have permission to access this resource. */ -export type GetEdgeConfigItems403 = unknown; +export type GetEdgeConfigItems403 = unknown -export type GetEdgeConfigItems404 = unknown; +export type GetEdgeConfigItems404 = unknown -export type GetEdgeConfigItemsQueryResponse = GetEdgeConfigItems200; +export type GetEdgeConfigItemsQueryResponse = GetEdgeConfigItems200 export type GetEdgeConfigItemsQuery = { - Response: GetEdgeConfigItems200; - PathParams: GetEdgeConfigItemsPathParams; - QueryParams: GetEdgeConfigItemsQueryParams; - Errors: GetEdgeConfigItems400 | GetEdgeConfigItems401 | GetEdgeConfigItems403 | GetEdgeConfigItems404; -}; + Response: GetEdgeConfigItems200 + PathParams: GetEdgeConfigItemsPathParams + QueryParams: GetEdgeConfigItemsQueryParams + Errors: GetEdgeConfigItems400 | GetEdgeConfigItems401 | GetEdgeConfigItems403 | GetEdgeConfigItems404 +} export type PatchEdgeConfigItemsPathParams = { /** * @pattern ^ecfg_ * @type string */ - edgeConfigId: string; -}; + edgeConfigId: string +} export type PatchEdgeConfigItemsQueryParams = { - /** - * @type string | undefined - */ - dryRun?: string | undefined; /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type PatchEdgeConfigItems200 = unknown; +export type PatchEdgeConfigItems200 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type PatchEdgeConfigItems400 = unknown; +export type PatchEdgeConfigItems400 = unknown -export type PatchEdgeConfigItems401 = unknown; +export type PatchEdgeConfigItems401 = unknown /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export type PatchEdgeConfigItems402 = unknown; +export type PatchEdgeConfigItems402 = unknown /** * @description You do not have permission to access this resource. */ -export type PatchEdgeConfigItems403 = unknown; +export type PatchEdgeConfigItems403 = unknown + +export type PatchEdgeConfigItems404 = unknown -export type PatchEdgeConfigItems404 = unknown; +export type PatchEdgeConfigItems409 = unknown -export type PatchEdgeConfigItems409 = unknown; +export type PatchEdgeConfigItems412 = unknown -export type PatchEdgeConfigItemsMutationResponse = PatchEdgeConfigItems200; +export type PatchEdgeConfigItemsMutationResponse = PatchEdgeConfigItems200 export type PatchEdgeConfigItemsMutation = { - Response: PatchEdgeConfigItems200; - PathParams: PatchEdgeConfigItemsPathParams; - QueryParams: PatchEdgeConfigItemsQueryParams; + Response: PatchEdgeConfigItems200 + PathParams: PatchEdgeConfigItemsPathParams + QueryParams: PatchEdgeConfigItemsQueryParams Errors: | PatchEdgeConfigItems400 | PatchEdgeConfigItems401 | PatchEdgeConfigItems402 | PatchEdgeConfigItems403 | PatchEdgeConfigItems404 - | PatchEdgeConfigItems409; -}; + | PatchEdgeConfigItems409 + | PatchEdgeConfigItems412 +} export type GetEdgeConfigSchemaPathParams = { /** * @type string */ - edgeConfigId: string; -}; + edgeConfigId: string +} export type GetEdgeConfigSchemaQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description The EdgeConfig. */ -export type GetEdgeConfigSchema200 = unknown; +export type GetEdgeConfigSchema200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type GetEdgeConfigSchema400 = unknown; +export type GetEdgeConfigSchema400 = unknown -export type GetEdgeConfigSchema401 = unknown; +export type GetEdgeConfigSchema401 = unknown /** * @description You do not have permission to access this resource. */ -export type GetEdgeConfigSchema403 = unknown; +export type GetEdgeConfigSchema403 = unknown -export type GetEdgeConfigSchema404 = unknown; +export type GetEdgeConfigSchema404 = unknown -export type GetEdgeConfigSchemaQueryResponse = GetEdgeConfigSchema200; +export type GetEdgeConfigSchemaQueryResponse = GetEdgeConfigSchema200 export type GetEdgeConfigSchemaQuery = { - Response: GetEdgeConfigSchema200; - PathParams: GetEdgeConfigSchemaPathParams; - QueryParams: GetEdgeConfigSchemaQueryParams; - Errors: GetEdgeConfigSchema400 | GetEdgeConfigSchema401 | GetEdgeConfigSchema403 | GetEdgeConfigSchema404; -}; + Response: GetEdgeConfigSchema200 + PathParams: GetEdgeConfigSchemaPathParams + QueryParams: GetEdgeConfigSchemaQueryParams + Errors: GetEdgeConfigSchema400 | GetEdgeConfigSchema401 | GetEdgeConfigSchema403 | GetEdgeConfigSchema404 +} export type PatchEdgeConfigSchemaPathParams = { /** * @type string */ - edgeConfigId: string; -}; + edgeConfigId: string +} export type PatchEdgeConfigSchemaQueryParams = { /** * @type string | undefined */ - dryRun?: string | undefined; + dryRun?: string | undefined /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type PatchEdgeConfigSchema200 = unknown; +export type PatchEdgeConfigSchema200 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type PatchEdgeConfigSchema400 = unknown; +export type PatchEdgeConfigSchema400 = unknown -export type PatchEdgeConfigSchema401 = unknown; +export type PatchEdgeConfigSchema401 = unknown /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export type PatchEdgeConfigSchema402 = unknown; +export type PatchEdgeConfigSchema402 = unknown /** * @description You do not have permission to access this resource. */ -export type PatchEdgeConfigSchema403 = unknown; +export type PatchEdgeConfigSchema403 = unknown -export type PatchEdgeConfigSchema404 = unknown; +export type PatchEdgeConfigSchema404 = unknown -export type PatchEdgeConfigSchemaMutationResponse = PatchEdgeConfigSchema200; +export type PatchEdgeConfigSchemaMutationResponse = PatchEdgeConfigSchema200 export type PatchEdgeConfigSchemaMutation = { - Response: PatchEdgeConfigSchema200; - PathParams: PatchEdgeConfigSchemaPathParams; - QueryParams: PatchEdgeConfigSchemaQueryParams; - Errors: - | PatchEdgeConfigSchema400 - | PatchEdgeConfigSchema401 - | PatchEdgeConfigSchema402 - | PatchEdgeConfigSchema403 - | PatchEdgeConfigSchema404; -}; + Response: PatchEdgeConfigSchema200 + PathParams: PatchEdgeConfigSchemaPathParams + QueryParams: PatchEdgeConfigSchemaQueryParams + Errors: PatchEdgeConfigSchema400 | PatchEdgeConfigSchema401 | PatchEdgeConfigSchema402 | PatchEdgeConfigSchema403 | PatchEdgeConfigSchema404 +} export type DeleteEdgeConfigSchemaPathParams = { /** * @type string */ - edgeConfigId: string; -}; + edgeConfigId: string +} export type DeleteEdgeConfigSchemaQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type DeleteEdgeConfigSchema204 = unknown; +export type DeleteEdgeConfigSchema204 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type DeleteEdgeConfigSchema400 = unknown; +export type DeleteEdgeConfigSchema400 = unknown -export type DeleteEdgeConfigSchema401 = unknown; +export type DeleteEdgeConfigSchema401 = unknown /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export type DeleteEdgeConfigSchema402 = unknown; +export type DeleteEdgeConfigSchema402 = unknown /** * @description You do not have permission to access this resource. */ -export type DeleteEdgeConfigSchema403 = unknown; +export type DeleteEdgeConfigSchema403 = unknown -export type DeleteEdgeConfigSchema404 = unknown; +export type DeleteEdgeConfigSchema404 = unknown -export type DeleteEdgeConfigSchemaMutationResponse = DeleteEdgeConfigSchema204; +export type DeleteEdgeConfigSchemaMutationResponse = DeleteEdgeConfigSchema204 export type DeleteEdgeConfigSchemaMutation = { - Response: DeleteEdgeConfigSchema204; - PathParams: DeleteEdgeConfigSchemaPathParams; - QueryParams: DeleteEdgeConfigSchemaQueryParams; - Errors: - | DeleteEdgeConfigSchema400 - | DeleteEdgeConfigSchema401 - | DeleteEdgeConfigSchema402 - | DeleteEdgeConfigSchema403 - | DeleteEdgeConfigSchema404; -}; + Response: DeleteEdgeConfigSchema204 + PathParams: DeleteEdgeConfigSchemaPathParams + QueryParams: DeleteEdgeConfigSchemaQueryParams + Errors: DeleteEdgeConfigSchema400 | DeleteEdgeConfigSchema401 | DeleteEdgeConfigSchema402 | DeleteEdgeConfigSchema403 | DeleteEdgeConfigSchema404 +} export type GetEdgeConfigItemPathParams = { /** * @pattern ^ecfg_ * @type string */ - edgeConfigId: string; + edgeConfigId: string /** * @type string */ - edgeConfigItemKey: string; -}; + edgeConfigItemKey: string +} export type GetEdgeConfigItemQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description The EdgeConfig. */ -export type GetEdgeConfigItem200 = unknown; +export type GetEdgeConfigItem200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type GetEdgeConfigItem400 = unknown; +export type GetEdgeConfigItem400 = unknown -export type GetEdgeConfigItem401 = unknown; +export type GetEdgeConfigItem401 = unknown /** * @description You do not have permission to access this resource. */ -export type GetEdgeConfigItem403 = unknown; +export type GetEdgeConfigItem403 = unknown -export type GetEdgeConfigItem404 = unknown; +export type GetEdgeConfigItem404 = unknown -export type GetEdgeConfigItemQueryResponse = GetEdgeConfigItem200; +export type GetEdgeConfigItemQueryResponse = GetEdgeConfigItem200 export type GetEdgeConfigItemQuery = { - Response: GetEdgeConfigItem200; - PathParams: GetEdgeConfigItemPathParams; - QueryParams: GetEdgeConfigItemQueryParams; - Errors: GetEdgeConfigItem400 | GetEdgeConfigItem401 | GetEdgeConfigItem403 | GetEdgeConfigItem404; -}; + Response: GetEdgeConfigItem200 + PathParams: GetEdgeConfigItemPathParams + QueryParams: GetEdgeConfigItemQueryParams + Errors: GetEdgeConfigItem400 | GetEdgeConfigItem401 | GetEdgeConfigItem403 | GetEdgeConfigItem404 +} export type GetEdgeConfigTokensPathParams = { /** * @type string */ - edgeConfigId: string; -}; + edgeConfigId: string +} export type GetEdgeConfigTokensQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description The EdgeConfig. */ -export type GetEdgeConfigTokens200 = unknown; +export type GetEdgeConfigTokens200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type GetEdgeConfigTokens400 = unknown; +export type GetEdgeConfigTokens400 = unknown -export type GetEdgeConfigTokens401 = unknown; +export type GetEdgeConfigTokens401 = unknown /** * @description You do not have permission to access this resource. */ -export type GetEdgeConfigTokens403 = unknown; +export type GetEdgeConfigTokens403 = unknown -export type GetEdgeConfigTokens404 = unknown; +export type GetEdgeConfigTokens404 = unknown -export type GetEdgeConfigTokensQueryResponse = GetEdgeConfigTokens200; +export type GetEdgeConfigTokensQueryResponse = GetEdgeConfigTokens200 export type GetEdgeConfigTokensQuery = { - Response: GetEdgeConfigTokens200; - PathParams: GetEdgeConfigTokensPathParams; - QueryParams: GetEdgeConfigTokensQueryParams; - Errors: GetEdgeConfigTokens400 | GetEdgeConfigTokens401 | GetEdgeConfigTokens403 | GetEdgeConfigTokens404; -}; + Response: GetEdgeConfigTokens200 + PathParams: GetEdgeConfigTokensPathParams + QueryParams: GetEdgeConfigTokensQueryParams + Errors: GetEdgeConfigTokens400 | GetEdgeConfigTokens401 | GetEdgeConfigTokens403 | GetEdgeConfigTokens404 +} export type DeleteEdgeConfigTokensPathParams = { /** * @type string */ - edgeConfigId: string; -}; + edgeConfigId: string +} export type DeleteEdgeConfigTokensQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type DeleteEdgeConfigTokens204 = unknown; +export type DeleteEdgeConfigTokens204 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type DeleteEdgeConfigTokens400 = unknown; +export type DeleteEdgeConfigTokens400 = unknown -export type DeleteEdgeConfigTokens401 = unknown; +export type DeleteEdgeConfigTokens401 = unknown /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export type DeleteEdgeConfigTokens402 = unknown; +export type DeleteEdgeConfigTokens402 = unknown /** * @description You do not have permission to access this resource. */ -export type DeleteEdgeConfigTokens403 = unknown; +export type DeleteEdgeConfigTokens403 = unknown -export type DeleteEdgeConfigTokens404 = unknown; +export type DeleteEdgeConfigTokens404 = unknown -export type DeleteEdgeConfigTokensMutationResponse = DeleteEdgeConfigTokens204; +export type DeleteEdgeConfigTokensMutationResponse = DeleteEdgeConfigTokens204 export type DeleteEdgeConfigTokensMutation = { - Response: DeleteEdgeConfigTokens204; - PathParams: DeleteEdgeConfigTokensPathParams; - QueryParams: DeleteEdgeConfigTokensQueryParams; - Errors: - | DeleteEdgeConfigTokens400 - | DeleteEdgeConfigTokens401 - | DeleteEdgeConfigTokens402 - | DeleteEdgeConfigTokens403 - | DeleteEdgeConfigTokens404; -}; + Response: DeleteEdgeConfigTokens204 + PathParams: DeleteEdgeConfigTokensPathParams + QueryParams: DeleteEdgeConfigTokensQueryParams + Errors: DeleteEdgeConfigTokens400 | DeleteEdgeConfigTokens401 | DeleteEdgeConfigTokens402 | DeleteEdgeConfigTokens403 | DeleteEdgeConfigTokens404 +} export type GetEdgeConfigTokenPathParams = { /** * @type string */ - edgeConfigId: string; + edgeConfigId: string /** * @type string */ - token: string; -}; + token: string +} export type GetEdgeConfigTokenQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description The EdgeConfig. */ -export type GetEdgeConfigToken200 = unknown; +export type GetEdgeConfigToken200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type GetEdgeConfigToken400 = unknown; +export type GetEdgeConfigToken400 = unknown -export type GetEdgeConfigToken401 = unknown; +export type GetEdgeConfigToken401 = unknown /** * @description You do not have permission to access this resource. */ -export type GetEdgeConfigToken403 = unknown; +export type GetEdgeConfigToken403 = unknown -export type GetEdgeConfigToken404 = unknown; +export type GetEdgeConfigToken404 = unknown -export type GetEdgeConfigTokenQueryResponse = GetEdgeConfigToken200; +export type GetEdgeConfigTokenQueryResponse = GetEdgeConfigToken200 export type GetEdgeConfigTokenQuery = { - Response: GetEdgeConfigToken200; - PathParams: GetEdgeConfigTokenPathParams; - QueryParams: GetEdgeConfigTokenQueryParams; - Errors: GetEdgeConfigToken400 | GetEdgeConfigToken401 | GetEdgeConfigToken403 | GetEdgeConfigToken404; -}; + Response: GetEdgeConfigToken200 + PathParams: GetEdgeConfigTokenPathParams + QueryParams: GetEdgeConfigTokenQueryParams + Errors: GetEdgeConfigToken400 | GetEdgeConfigToken401 | GetEdgeConfigToken403 | GetEdgeConfigToken404 +} export type CreateEdgeConfigTokenPathParams = { /** * @type string */ - edgeConfigId: string; -}; + edgeConfigId: string +} export type CreateEdgeConfigTokenQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type CreateEdgeConfigToken201 = unknown; +export type CreateEdgeConfigToken201 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type CreateEdgeConfigToken400 = unknown; +export type CreateEdgeConfigToken400 = unknown -export type CreateEdgeConfigToken401 = unknown; +export type CreateEdgeConfigToken401 = unknown /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export type CreateEdgeConfigToken402 = unknown; +export type CreateEdgeConfigToken402 = unknown /** * @description You do not have permission to access this resource. */ -export type CreateEdgeConfigToken403 = unknown; +export type CreateEdgeConfigToken403 = unknown -export type CreateEdgeConfigToken404 = unknown; +export type CreateEdgeConfigToken404 = unknown -export type CreateEdgeConfigTokenMutationResponse = CreateEdgeConfigToken201; +export type CreateEdgeConfigTokenMutationResponse = CreateEdgeConfigToken201 export type CreateEdgeConfigTokenMutation = { - Response: CreateEdgeConfigToken201; - PathParams: CreateEdgeConfigTokenPathParams; - QueryParams: CreateEdgeConfigTokenQueryParams; - Errors: - | CreateEdgeConfigToken400 - | CreateEdgeConfigToken401 - | CreateEdgeConfigToken402 - | CreateEdgeConfigToken403 - | CreateEdgeConfigToken404; -}; + Response: CreateEdgeConfigToken201 + PathParams: CreateEdgeConfigTokenPathParams + QueryParams: CreateEdgeConfigTokenQueryParams + Errors: CreateEdgeConfigToken400 | CreateEdgeConfigToken401 | CreateEdgeConfigToken402 | CreateEdgeConfigToken403 | CreateEdgeConfigToken404 +} export type GetEdgeConfigBackupPathParams = { /** * @type string */ - edgeConfigId: string; + edgeConfigId: string /** * @type string */ - edgeConfigBackupVersionId: string; -}; + edgeConfigBackupVersionId: string +} export type GetEdgeConfigBackupQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type GetEdgeConfigBackup200 = unknown; +export type GetEdgeConfigBackup200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type GetEdgeConfigBackup400 = unknown; +export type GetEdgeConfigBackup400 = unknown -export type GetEdgeConfigBackup401 = unknown; +export type GetEdgeConfigBackup401 = unknown /** * @description You do not have permission to access this resource. */ -export type GetEdgeConfigBackup403 = unknown; +export type GetEdgeConfigBackup403 = unknown -export type GetEdgeConfigBackup404 = unknown; +export type GetEdgeConfigBackup404 = unknown -export type GetEdgeConfigBackupQueryResponse = GetEdgeConfigBackup200; +export type GetEdgeConfigBackupQueryResponse = GetEdgeConfigBackup200 export type GetEdgeConfigBackupQuery = { - Response: GetEdgeConfigBackup200; - PathParams: GetEdgeConfigBackupPathParams; - QueryParams: GetEdgeConfigBackupQueryParams; - Errors: GetEdgeConfigBackup400 | GetEdgeConfigBackup401 | GetEdgeConfigBackup403 | GetEdgeConfigBackup404; -}; + Response: GetEdgeConfigBackup200 + PathParams: GetEdgeConfigBackupPathParams + QueryParams: GetEdgeConfigBackupQueryParams + Errors: GetEdgeConfigBackup400 | GetEdgeConfigBackup401 | GetEdgeConfigBackup403 | GetEdgeConfigBackup404 +} export type GetEdgeConfigBackupsPathParams = { /** * @type string */ - edgeConfigId: string; -}; + edgeConfigId: string +} export type GetEdgeConfigBackupsQueryParams = { /** * @type string | undefined */ - next?: string | undefined; + next?: string | undefined /** * @minLength 0 * @maxLength 50 * @type number | undefined */ - limit?: number | undefined; + limit?: number | undefined /** * @type string | undefined */ - metadata?: string | undefined; + metadata?: string | undefined /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type GetEdgeConfigBackups200 = unknown; +export type GetEdgeConfigBackups200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type GetEdgeConfigBackups400 = unknown; +export type GetEdgeConfigBackups400 = unknown -export type GetEdgeConfigBackups401 = unknown; +export type GetEdgeConfigBackups401 = unknown /** * @description You do not have permission to access this resource. */ -export type GetEdgeConfigBackups403 = unknown; +export type GetEdgeConfigBackups403 = unknown -export type GetEdgeConfigBackups404 = unknown; +export type GetEdgeConfigBackups404 = unknown -export type GetEdgeConfigBackupsQueryResponse = GetEdgeConfigBackups200; +export type GetEdgeConfigBackupsQueryResponse = GetEdgeConfigBackups200 export type GetEdgeConfigBackupsQuery = { - Response: GetEdgeConfigBackups200; - PathParams: GetEdgeConfigBackupsPathParams; - QueryParams: GetEdgeConfigBackupsQueryParams; - Errors: GetEdgeConfigBackups400 | GetEdgeConfigBackups401 | GetEdgeConfigBackups403 | GetEdgeConfigBackups404; -}; + Response: GetEdgeConfigBackups200 + PathParams: GetEdgeConfigBackupsPathParams + QueryParams: GetEdgeConfigBackupsQueryParams + Errors: GetEdgeConfigBackups400 | GetEdgeConfigBackups401 | GetEdgeConfigBackups403 | GetEdgeConfigBackups404 +} export type ListUserEventsQueryParams = { /** * @description Maximum number of items which may be returned. * @type number | undefined */ - limit?: number | undefined; + limit?: number | undefined /** * @description Timestamp to only include items created since then. * @type string | undefined */ - since?: string | undefined; + since?: string | undefined /** * @description Timestamp to only include items created until then. * @type string | undefined */ - until?: string | undefined; + until?: string | undefined /** * @description Comma-delimited list of event \\\"types\\\" to filter the results by. * @type string | undefined */ - types?: string | undefined; + types?: string | undefined /** * @description Deprecated. Use `principalId` instead. If `principalId` and `userId` both exist, `principalId` will be used. * @type string | undefined */ - userId?: string | undefined; + userId?: string | undefined /** * @description When retrieving events for a Team, the `principalId` parameter may be specified to filter events generated by a specific principal. * @type string | undefined */ - principalId?: string | undefined; + principalId?: string | undefined /** * @description Comma-delimited list of project IDs to filter the results by. * @type string | undefined */ - projectIds?: string | undefined; + projectIds?: string | undefined /** * @description When set to `true`, the response will include the `payload` field for each event. * @type string | undefined */ - withPayload?: string | undefined; + withPayload?: string | undefined /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description Successful response. */ -export type ListUserEvents200 = unknown; +export type ListUserEvents200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type ListUserEvents400 = unknown; +export type ListUserEvents400 = unknown -export type ListUserEvents401 = unknown; +export type ListUserEvents401 = unknown /** * @description You do not have permission to access this resource. */ -export type ListUserEvents403 = unknown; +export type ListUserEvents403 = unknown -export type ListUserEventsQueryResponse = ListUserEvents200; +export type ListUserEventsQueryResponse = ListUserEvents200 export type ListUserEventsQuery = { - Response: ListUserEvents200; - QueryParams: ListUserEventsQueryParams; - Errors: ListUserEvents400 | ListUserEvents401 | ListUserEvents403; -}; + Response: ListUserEvents200 + QueryParams: ListUserEventsQueryParams + Errors: ListUserEvents400 | ListUserEvents401 | ListUserEvents403 +} + +export type GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansPathParams = { + /** + * @type string + */ + integrationIdOrSlug: string + /** + * @type string + */ + productIdOrSlug: string +} + +export type GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansQueryParams = { + /** + * @type string | undefined + */ + metadata?: string | undefined +} + +export type GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans200 = unknown + +/** + * @description One of the provided values in the request query is invalid. + */ +export type GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans400 = unknown + +export type GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans401 = unknown + +/** + * @description You do not have permission to access this resource. + */ +export type GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans403 = unknown + +export type GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans404 = unknown + +export type GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansQueryResponse = + GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans200 + +export type GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansQuery = { + Response: GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans200 + PathParams: GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansPathParams + QueryParams: GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansQueryParams + Errors: + | GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans400 + | GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans401 + | GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans403 + | GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans404 +} export type GetAccountInfoPathParams = { /** * @type string */ - integrationConfigurationId: string; -}; + integrationConfigurationId: string +} -export type GetAccountInfo200 = unknown; +export type GetAccountInfo200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type GetAccountInfo400 = unknown; +export type GetAccountInfo400 = unknown -export type GetAccountInfo401 = unknown; +export type GetAccountInfo401 = unknown /** * @description You do not have permission to access this resource. */ -export type GetAccountInfo403 = unknown; +export type GetAccountInfo403 = unknown -export type GetAccountInfo404 = unknown; +export type GetAccountInfo404 = unknown -export type GetAccountInfoQueryResponse = GetAccountInfo200; +export type GetAccountInfoQueryResponse = GetAccountInfo200 export type GetAccountInfoQuery = { - Response: GetAccountInfo200; - PathParams: GetAccountInfoPathParams; - Errors: GetAccountInfo400 | GetAccountInfo401 | GetAccountInfo403 | GetAccountInfo404; -}; + Response: GetAccountInfo200 + PathParams: GetAccountInfoPathParams + Errors: GetAccountInfo400 | GetAccountInfo401 | GetAccountInfo403 | GetAccountInfo404 +} export type GetMemberPathParams = { /** * @type string */ - integrationConfigurationId: string; + integrationConfigurationId: string /** * @type string */ - memberId: string; -}; + memberId: string +} -export type GetMember200 = unknown; +export type GetMember200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type GetMember400 = unknown; +export type GetMember400 = unknown -export type GetMember401 = unknown; +export type GetMember401 = unknown /** * @description You do not have permission to access this resource. */ -export type GetMember403 = unknown; +export type GetMember403 = unknown -export type GetMember404 = unknown; +export type GetMember404 = unknown -export type GetMemberQueryResponse = GetMember200; +export type GetMemberQueryResponse = GetMember200 export type GetMemberQuery = { - Response: GetMember200; - PathParams: GetMemberPathParams; - Errors: GetMember400 | GetMember401 | GetMember403 | GetMember404; -}; + Response: GetMember200 + PathParams: GetMemberPathParams + Errors: GetMember400 | GetMember401 | GetMember403 | GetMember404 +} export type CreateEventPathParams = { /** * @type string */ - integrationConfigurationId: string; -}; + integrationConfigurationId: string +} -export type CreateEvent201 = unknown; +export type CreateEvent201 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type CreateEvent400 = unknown; +export type CreateEvent400 = unknown -export type CreateEvent401 = unknown; +export type CreateEvent401 = unknown /** * @description You do not have permission to access this resource. */ -export type CreateEvent403 = unknown; +export type CreateEvent403 = unknown -export type CreateEvent404 = unknown; +export type CreateEvent404 = unknown -export type CreateEventMutationResponse = CreateEvent201; +export type CreateEventMutationResponse = CreateEvent201 export type CreateEventMutation = { - Response: CreateEvent201; - PathParams: CreateEventPathParams; - Errors: CreateEvent400 | CreateEvent401 | CreateEvent403 | CreateEvent404; -}; + Response: CreateEvent201 + PathParams: CreateEventPathParams + Errors: CreateEvent400 | CreateEvent401 | CreateEvent403 | CreateEvent404 +} export type GetIntegrationResourcesPathParams = { /** * @type string */ - integrationConfigurationId: string; -}; + integrationConfigurationId: string +} -export type GetIntegrationResources200 = unknown; +export type GetIntegrationResources200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type GetIntegrationResources400 = unknown; +export type GetIntegrationResources400 = unknown -export type GetIntegrationResources401 = unknown; +export type GetIntegrationResources401 = unknown /** * @description You do not have permission to access this resource. */ -export type GetIntegrationResources403 = unknown; +export type GetIntegrationResources403 = unknown -export type GetIntegrationResources404 = unknown; +export type GetIntegrationResources404 = unknown -export type GetIntegrationResourcesQueryResponse = GetIntegrationResources200; +export type GetIntegrationResourcesQueryResponse = GetIntegrationResources200 export type GetIntegrationResourcesQuery = { - Response: GetIntegrationResources200; - PathParams: GetIntegrationResourcesPathParams; - Errors: - | GetIntegrationResources400 - | GetIntegrationResources401 - | GetIntegrationResources403 - | GetIntegrationResources404; -}; + Response: GetIntegrationResources200 + PathParams: GetIntegrationResourcesPathParams + Errors: GetIntegrationResources400 | GetIntegrationResources401 | GetIntegrationResources403 | GetIntegrationResources404 +} export type GetIntegrationResourcePathParams = { /** * @description The ID of the integration configuration (installation) the resource belongs to * @type string */ - integrationConfigurationId: string; + integrationConfigurationId: string /** * @description The ID provided by the 3rd party provider for the given resource * @type string */ - resourceId: string; -}; + resourceId: string +} -export type GetIntegrationResource200 = unknown; +export type GetIntegrationResource200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type GetIntegrationResource400 = unknown; +export type GetIntegrationResource400 = unknown -export type GetIntegrationResource401 = unknown; +export type GetIntegrationResource401 = unknown /** * @description You do not have permission to access this resource. */ -export type GetIntegrationResource403 = unknown; +export type GetIntegrationResource403 = unknown -export type GetIntegrationResource404 = unknown; +export type GetIntegrationResource404 = unknown -export type GetIntegrationResourceQueryResponse = GetIntegrationResource200; +export type GetIntegrationResourceQueryResponse = GetIntegrationResource200 export type GetIntegrationResourceQuery = { - Response: GetIntegrationResource200; - PathParams: GetIntegrationResourcePathParams; - Errors: GetIntegrationResource400 | GetIntegrationResource401 | GetIntegrationResource403 | GetIntegrationResource404; -}; + Response: GetIntegrationResource200 + PathParams: GetIntegrationResourcePathParams + Errors: GetIntegrationResource400 | GetIntegrationResource401 | GetIntegrationResource403 | GetIntegrationResource404 +} export type DeleteIntegrationResourcePathParams = { /** * @type string */ - integrationConfigurationId: string; + integrationConfigurationId: string /** * @type string */ - resourceId: string; -}; + resourceId: string +} -export type DeleteIntegrationResource204 = unknown; +export type DeleteIntegrationResource204 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type DeleteIntegrationResource400 = unknown; +export type DeleteIntegrationResource400 = unknown -export type DeleteIntegrationResource401 = unknown; +export type DeleteIntegrationResource401 = unknown /** * @description You do not have permission to access this resource. */ -export type DeleteIntegrationResource403 = unknown; +export type DeleteIntegrationResource403 = unknown -export type DeleteIntegrationResource404 = unknown; +export type DeleteIntegrationResource404 = unknown -export type DeleteIntegrationResourceMutationResponse = DeleteIntegrationResource204; +export type DeleteIntegrationResourceMutationResponse = DeleteIntegrationResource204 export type DeleteIntegrationResourceMutation = { - Response: DeleteIntegrationResource204; - PathParams: DeleteIntegrationResourcePathParams; - Errors: - | DeleteIntegrationResource400 - | DeleteIntegrationResource401 - | DeleteIntegrationResource403 - | DeleteIntegrationResource404; -}; + Response: DeleteIntegrationResource204 + PathParams: DeleteIntegrationResourcePathParams + Errors: DeleteIntegrationResource400 | DeleteIntegrationResource401 | DeleteIntegrationResource403 | DeleteIntegrationResource404 +} export type ImportResourcePathParams = { /** * @type string */ - integrationConfigurationId: string; + integrationConfigurationId: string /** * @type string */ - resourceId: string; -}; + resourceId: string +} -export type ImportResource200 = unknown; +export type ImportResource200 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type ImportResource400 = unknown; +export type ImportResource400 = unknown -export type ImportResource401 = unknown; +export type ImportResource401 = unknown /** * @description You do not have permission to access this resource. */ -export type ImportResource403 = unknown; +export type ImportResource403 = unknown -export type ImportResource404 = unknown; +export type ImportResource404 = unknown -export type ImportResourceMutationResponse = ImportResource200; +export type ImportResourceMutationResponse = ImportResource200 export type ImportResourceMutation = { - Response: ImportResource200; - PathParams: ImportResourcePathParams; - Errors: ImportResource400 | ImportResource401 | ImportResource403 | ImportResource404; -}; + Response: ImportResource200 + PathParams: ImportResourcePathParams + Errors: ImportResource400 | ImportResource401 | ImportResource403 | ImportResource404 +} export type SubmitBillingDataPathParams = { /** * @type string */ - integrationConfigurationId: string; -}; + integrationConfigurationId: string +} -export type SubmitBillingData201 = unknown; +export type SubmitBillingData201 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type SubmitBillingData400 = unknown; +export type SubmitBillingData400 = unknown -export type SubmitBillingData401 = unknown; +export type SubmitBillingData401 = unknown /** * @description You do not have permission to access this resource. */ -export type SubmitBillingData403 = unknown; +export type SubmitBillingData403 = unknown -export type SubmitBillingData404 = unknown; +export type SubmitBillingData404 = unknown -export type SubmitBillingDataMutationResponse = SubmitBillingData201; +export type SubmitBillingDataMutationResponse = SubmitBillingData201 export type SubmitBillingDataMutation = { - Response: SubmitBillingData201; - PathParams: SubmitBillingDataPathParams; - Errors: SubmitBillingData400 | SubmitBillingData401 | SubmitBillingData403 | SubmitBillingData404; -}; + Response: SubmitBillingData201 + PathParams: SubmitBillingDataPathParams + Errors: SubmitBillingData400 | SubmitBillingData401 | SubmitBillingData403 | SubmitBillingData404 +} export type SubmitInvoicePathParams = { /** * @type string */ - integrationConfigurationId: string; -}; + integrationConfigurationId: string +} -export type SubmitInvoice200 = unknown; +export type SubmitInvoice200 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type SubmitInvoice400 = unknown; +export type SubmitInvoice400 = unknown -export type SubmitInvoice401 = unknown; +export type SubmitInvoice401 = unknown /** * @description You do not have permission to access this resource. */ -export type SubmitInvoice403 = unknown; +export type SubmitInvoice403 = unknown -export type SubmitInvoice404 = unknown; +export type SubmitInvoice404 = unknown -export type SubmitInvoiceMutationResponse = SubmitInvoice200; +export type SubmitInvoiceMutationResponse = SubmitInvoice200 export type SubmitInvoiceMutation = { - Response: SubmitInvoice200; - PathParams: SubmitInvoicePathParams; - Errors: SubmitInvoice400 | SubmitInvoice401 | SubmitInvoice403 | SubmitInvoice404; -}; + Response: SubmitInvoice200 + PathParams: SubmitInvoicePathParams + Errors: SubmitInvoice400 | SubmitInvoice401 | SubmitInvoice403 | SubmitInvoice404 +} export type GetInvoicePathParams = { /** * @type string */ - integrationConfigurationId: string; + integrationConfigurationId: string /** * @type string */ - invoiceId: string; -}; + invoiceId: string +} -export type GetInvoice200 = unknown; +export type GetInvoice200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type GetInvoice400 = unknown; +export type GetInvoice400 = unknown -export type GetInvoice401 = unknown; +export type GetInvoice401 = unknown /** * @description You do not have permission to access this resource. */ -export type GetInvoice403 = unknown; +export type GetInvoice403 = unknown -export type GetInvoice404 = unknown; +export type GetInvoice404 = unknown -export type GetInvoiceQueryResponse = GetInvoice200; +export type GetInvoiceQueryResponse = GetInvoice200 export type GetInvoiceQuery = { - Response: GetInvoice200; - PathParams: GetInvoicePathParams; - Errors: GetInvoice400 | GetInvoice401 | GetInvoice403 | GetInvoice404; -}; + Response: GetInvoice200 + PathParams: GetInvoicePathParams + Errors: GetInvoice400 | GetInvoice401 | GetInvoice403 | GetInvoice404 +} export type UpdateInvoicePathParams = { /** * @type string */ - integrationConfigurationId: string; + integrationConfigurationId: string /** * @type string */ - invoiceId: string; -}; + invoiceId: string +} -export type UpdateInvoice204 = unknown; +export type UpdateInvoice204 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type UpdateInvoice400 = unknown; +export type UpdateInvoice400 = unknown -export type UpdateInvoice401 = unknown; +export type UpdateInvoice401 = unknown /** * @description You do not have permission to access this resource. */ -export type UpdateInvoice403 = unknown; +export type UpdateInvoice403 = unknown -export type UpdateInvoice404 = unknown; +export type UpdateInvoice404 = unknown -export type UpdateInvoiceMutationResponse = UpdateInvoice204; +export type UpdateInvoiceMutationResponse = UpdateInvoice204 export type UpdateInvoiceMutation = { - Response: UpdateInvoice204; - PathParams: UpdateInvoicePathParams; - Errors: UpdateInvoice400 | UpdateInvoice401 | UpdateInvoice403 | UpdateInvoice404; -}; + Response: UpdateInvoice204 + PathParams: UpdateInvoicePathParams + Errors: UpdateInvoice400 | UpdateInvoice401 | UpdateInvoice403 | UpdateInvoice404 +} export type SubmitPrepaymentBalancesPathParams = { /** * @type string */ - integrationConfigurationId: string; -}; + integrationConfigurationId: string +} -export type SubmitPrepaymentBalances201 = unknown; +export type SubmitPrepaymentBalances201 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type SubmitPrepaymentBalances400 = unknown; +export type SubmitPrepaymentBalances400 = unknown -export type SubmitPrepaymentBalances401 = unknown; +export type SubmitPrepaymentBalances401 = unknown /** * @description You do not have permission to access this resource. */ -export type SubmitPrepaymentBalances403 = unknown; +export type SubmitPrepaymentBalances403 = unknown -export type SubmitPrepaymentBalances404 = unknown; +export type SubmitPrepaymentBalances404 = unknown -export type SubmitPrepaymentBalancesMutationResponse = SubmitPrepaymentBalances201; +export type SubmitPrepaymentBalancesMutationResponse = SubmitPrepaymentBalances201 export type SubmitPrepaymentBalancesMutation = { - Response: SubmitPrepaymentBalances201; - PathParams: SubmitPrepaymentBalancesPathParams; - Errors: - | SubmitPrepaymentBalances400 - | SubmitPrepaymentBalances401 - | SubmitPrepaymentBalances403 - | SubmitPrepaymentBalances404; -}; + Response: SubmitPrepaymentBalances201 + PathParams: SubmitPrepaymentBalancesPathParams + Errors: SubmitPrepaymentBalances400 | SubmitPrepaymentBalances401 | SubmitPrepaymentBalances403 | SubmitPrepaymentBalances404 +} export type UpdateResourceSecretsPathParams = { /** * @type string */ - integrationConfigurationId: string; + integrationConfigurationId: string /** * @type string */ - integrationProductIdOrSlug: string; + integrationProductIdOrSlug: string /** * @type string */ - resourceId: string; -}; + resourceId: string +} -export type UpdateResourceSecrets201 = unknown; +export type UpdateResourceSecrets201 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type UpdateResourceSecrets400 = unknown; +export type UpdateResourceSecrets400 = unknown -export type UpdateResourceSecrets401 = unknown; +export type UpdateResourceSecrets401 = unknown /** * @description You do not have permission to access this resource. */ -export type UpdateResourceSecrets403 = unknown; +export type UpdateResourceSecrets403 = unknown -export type UpdateResourceSecrets404 = unknown; +export type UpdateResourceSecrets404 = unknown -export type UpdateResourceSecretsMutationResponse = UpdateResourceSecrets201; +export type UpdateResourceSecretsMutationResponse = UpdateResourceSecrets201 export type UpdateResourceSecretsMutation = { - Response: UpdateResourceSecrets201; - PathParams: UpdateResourceSecretsPathParams; - Errors: UpdateResourceSecrets400 | UpdateResourceSecrets401 | UpdateResourceSecrets403 | UpdateResourceSecrets404; -}; + Response: UpdateResourceSecrets201 + PathParams: UpdateResourceSecretsPathParams + Errors: UpdateResourceSecrets400 | UpdateResourceSecrets401 | UpdateResourceSecrets403 | UpdateResourceSecrets404 +} export type UpdateResourceSecretsByIdPathParams = { /** * @type string */ - integrationConfigurationId: string; + integrationConfigurationId: string /** * @type string */ - resourceId: string; -}; + resourceId: string +} -export type UpdateResourceSecretsById201 = unknown; +export type UpdateResourceSecretsById201 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type UpdateResourceSecretsById400 = unknown; +export type UpdateResourceSecretsById400 = unknown -export type UpdateResourceSecretsById401 = unknown; +export type UpdateResourceSecretsById401 = unknown /** * @description You do not have permission to access this resource. */ -export type UpdateResourceSecretsById403 = unknown; +export type UpdateResourceSecretsById403 = unknown -export type UpdateResourceSecretsById404 = unknown; +export type UpdateResourceSecretsById404 = unknown -export type UpdateResourceSecretsById422 = unknown; +export type UpdateResourceSecretsById422 = unknown -export type UpdateResourceSecretsByIdMutationResponse = UpdateResourceSecretsById201; +export type UpdateResourceSecretsByIdMutationResponse = UpdateResourceSecretsById201 export type UpdateResourceSecretsByIdMutation = { - Response: UpdateResourceSecretsById201; - PathParams: UpdateResourceSecretsByIdPathParams; + Response: UpdateResourceSecretsById201 + PathParams: UpdateResourceSecretsByIdPathParams Errors: | UpdateResourceSecretsById400 | UpdateResourceSecretsById401 | UpdateResourceSecretsById403 | UpdateResourceSecretsById404 - | UpdateResourceSecretsById422; -}; + | UpdateResourceSecretsById422 +} export const getConfigurationsQueryParamsViewEnum = { account: 'account', - project: 'project' -} as const; + project: 'project', +} as const -export type GetConfigurationsQueryParamsViewEnum = - (typeof getConfigurationsQueryParamsViewEnum)[keyof typeof getConfigurationsQueryParamsViewEnum]; +export type GetConfigurationsQueryParamsViewEnum = (typeof getConfigurationsQueryParamsViewEnum)[keyof typeof getConfigurationsQueryParamsViewEnum] export const getConfigurationsQueryParamsInstallationTypeEnum = { marketplace: 'marketplace', - external: 'external' -} as const; + external: 'external', +} as const export type GetConfigurationsQueryParamsInstallationTypeEnum = - (typeof getConfigurationsQueryParamsInstallationTypeEnum)[keyof typeof getConfigurationsQueryParamsInstallationTypeEnum]; + (typeof getConfigurationsQueryParamsInstallationTypeEnum)[keyof typeof getConfigurationsQueryParamsInstallationTypeEnum] export type GetConfigurationsQueryParams = { /** * @type string */ - view: GetConfigurationsQueryParamsViewEnum; + view: GetConfigurationsQueryParamsViewEnum /** * @type string | undefined */ - installationType?: GetConfigurationsQueryParamsInstallationTypeEnum | undefined; + installationType?: GetConfigurationsQueryParamsInstallationTypeEnum | undefined /** * @description ID of the integration * @type string | undefined */ - integrationIdOrSlug?: string | undefined; + integrationIdOrSlug?: string | undefined /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description The list of configurations for the authenticated user */ -export type GetConfigurations200 = unknown; +export type GetConfigurations200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type GetConfigurations400 = unknown; +export type GetConfigurations400 = unknown -export type GetConfigurations401 = unknown; +export type GetConfigurations401 = unknown /** * @description You do not have permission to access this resource. */ -export type GetConfigurations403 = unknown; +export type GetConfigurations403 = unknown -export type GetConfigurationsQueryResponse = GetConfigurations200; +export type GetConfigurationsQueryResponse = GetConfigurations200 export type GetConfigurationsQuery = { - Response: GetConfigurations200; - QueryParams: GetConfigurationsQueryParams; - Errors: GetConfigurations400 | GetConfigurations401 | GetConfigurations403; -}; + Response: GetConfigurations200 + QueryParams: GetConfigurationsQueryParams + Errors: GetConfigurations400 | GetConfigurations401 | GetConfigurations403 +} export type GetConfigurationPathParams = { /** * @description ID of the configuration to check * @type string */ - id: string; -}; + id: string +} export type GetConfigurationQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description The configuration with the provided id */ -export type GetConfiguration200 = unknown; +export type GetConfiguration200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type GetConfiguration400 = unknown; +export type GetConfiguration400 = unknown -export type GetConfiguration401 = unknown; +export type GetConfiguration401 = unknown /** * @description You do not have permission to access this resource. */ -export type GetConfiguration403 = unknown; +export type GetConfiguration403 = unknown /** * @description The configuration was not found */ -export type GetConfiguration404 = unknown; +export type GetConfiguration404 = unknown -export type GetConfigurationQueryResponse = GetConfiguration200; +export type GetConfigurationQueryResponse = GetConfiguration200 export type GetConfigurationQuery = { - Response: GetConfiguration200; - PathParams: GetConfigurationPathParams; - QueryParams: GetConfigurationQueryParams; - Errors: GetConfiguration400 | GetConfiguration401 | GetConfiguration403 | GetConfiguration404; -}; + Response: GetConfiguration200 + PathParams: GetConfigurationPathParams + QueryParams: GetConfigurationQueryParams + Errors: GetConfiguration400 | GetConfiguration401 | GetConfiguration403 | GetConfiguration404 +} export type DeleteConfigurationPathParams = { /** * @type string */ - id: string; -}; + id: string +} export type DeleteConfigurationQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description The configuration was successfully removed */ -export type DeleteConfiguration204 = unknown; +export type DeleteConfiguration204 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type DeleteConfiguration400 = unknown; +export type DeleteConfiguration400 = unknown -export type DeleteConfiguration401 = unknown; +export type DeleteConfiguration401 = unknown /** * @description You do not have permission to access this resource. */ -export type DeleteConfiguration403 = unknown; +export type DeleteConfiguration403 = unknown /** * @description The configuration was not found */ -export type DeleteConfiguration404 = unknown; +export type DeleteConfiguration404 = unknown -export type DeleteConfigurationMutationResponse = DeleteConfiguration204; +export type DeleteConfigurationMutationResponse = DeleteConfiguration204 export type DeleteConfigurationMutation = { - Response: DeleteConfiguration204; - PathParams: DeleteConfigurationPathParams; - QueryParams: DeleteConfigurationQueryParams; - Errors: DeleteConfiguration400 | DeleteConfiguration401 | DeleteConfiguration403 | DeleteConfiguration404; -}; + Response: DeleteConfiguration204 + PathParams: DeleteConfigurationPathParams + QueryParams: DeleteConfigurationQueryParams + Errors: DeleteConfiguration400 | DeleteConfiguration401 | DeleteConfiguration403 | DeleteConfiguration404 +} + +export type GetConfigurationProductsPathParams = { + /** + * @description ID of the integration configuration + * @type string + */ + id: string +} + +export type GetConfigurationProductsQueryParams = { + /** + * @description The Team identifier to perform the request on behalf of. + * @type string | undefined + */ + teamId?: string | undefined + /** + * @description The Team slug to perform the request on behalf of. + * @type string | undefined + */ + slug?: string | undefined +} + +/** + * @description List of products available for this integration configuration + */ +export type GetConfigurationProducts200 = unknown + +/** + * @description One of the provided values in the request query is invalid. + */ +export type GetConfigurationProducts400 = unknown -export type ExchangeSsoToken200 = unknown; +export type GetConfigurationProducts401 = unknown + +/** + * @description You do not have permission to access this resource. + */ +export type GetConfigurationProducts403 = unknown + +export type GetConfigurationProducts404 = unknown + +export type GetConfigurationProducts500 = unknown + +export type GetConfigurationProductsQueryResponse = GetConfigurationProducts200 + +export type GetConfigurationProductsQuery = { + Response: GetConfigurationProducts200 + PathParams: GetConfigurationProductsPathParams + QueryParams: GetConfigurationProductsQueryParams + Errors: GetConfigurationProducts400 | GetConfigurationProducts401 | GetConfigurationProducts403 | GetConfigurationProducts404 | GetConfigurationProducts500 +} + +export type ExchangeSsoToken200 = unknown /** * @description One of the provided values in the request body is invalid. */ -export type ExchangeSsoToken400 = unknown; +export type ExchangeSsoToken400 = unknown -export type ExchangeSsoToken404 = unknown; +export type ExchangeSsoToken404 = unknown -export type ExchangeSsoToken500 = unknown; +export type ExchangeSsoToken500 = unknown -export type ExchangeSsoTokenMutationResponse = ExchangeSsoToken200; +export type ExchangeSsoTokenMutationResponse = ExchangeSsoToken200 export type ExchangeSsoTokenMutation = { - Response: ExchangeSsoToken200; - Errors: ExchangeSsoToken400 | ExchangeSsoToken404 | ExchangeSsoToken500; -}; + Response: ExchangeSsoToken200 + Errors: ExchangeSsoToken400 | ExchangeSsoToken404 | ExchangeSsoToken500 +} export type GetIntegrationLogDrainsQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description A list of log drains */ -export type GetIntegrationLogDrains200 = unknown; +export type GetIntegrationLogDrains200 = unknown -export type GetIntegrationLogDrains400 = unknown; +export type GetIntegrationLogDrains400 = unknown -export type GetIntegrationLogDrains401 = unknown; +export type GetIntegrationLogDrains401 = unknown /** * @description You do not have permission to access this resource. */ -export type GetIntegrationLogDrains403 = unknown; +export type GetIntegrationLogDrains403 = unknown -export type GetIntegrationLogDrainsQueryResponse = GetIntegrationLogDrains200; +export type GetIntegrationLogDrainsQueryResponse = GetIntegrationLogDrains200 export type GetIntegrationLogDrainsQuery = { - Response: GetIntegrationLogDrains200; - QueryParams: GetIntegrationLogDrainsQueryParams; - Errors: GetIntegrationLogDrains400 | GetIntegrationLogDrains401 | GetIntegrationLogDrains403; -}; + Response: GetIntegrationLogDrains200 + QueryParams: GetIntegrationLogDrainsQueryParams + Errors: GetIntegrationLogDrains400 | GetIntegrationLogDrains401 | GetIntegrationLogDrains403 +} export type CreateLogDrainQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description The log drain was successfully created */ -export type CreateLogDrain200 = unknown; +export type CreateLogDrain200 = unknown /** * @description One of the provided values in the request body is invalid.\nThe provided token is not from an OAuth2 Client */ -export type CreateLogDrain400 = unknown; +export type CreateLogDrain400 = unknown -export type CreateLogDrain401 = unknown; +export type CreateLogDrain401 = unknown /** * @description You do not have permission to access this resource. */ -export type CreateLogDrain403 = unknown; +export type CreateLogDrain403 = unknown -export type CreateLogDrainMutationResponse = CreateLogDrain200; +export type CreateLogDrainMutationResponse = CreateLogDrain200 export type CreateLogDrainMutation = { - Response: CreateLogDrain200; - QueryParams: CreateLogDrainQueryParams; - Errors: CreateLogDrain400 | CreateLogDrain401 | CreateLogDrain403; -}; + Response: CreateLogDrain200 + QueryParams: CreateLogDrainQueryParams + Errors: CreateLogDrain400 | CreateLogDrain401 | CreateLogDrain403 +} export type DeleteIntegrationLogDrainPathParams = { /** * @description ID of the log drain to be deleted * @type string */ - id: string; -}; + id: string +} export type DeleteIntegrationLogDrainQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description The log drain was successfully deleted */ -export type DeleteIntegrationLogDrain204 = unknown; +export type DeleteIntegrationLogDrain204 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type DeleteIntegrationLogDrain400 = unknown; +export type DeleteIntegrationLogDrain400 = unknown -export type DeleteIntegrationLogDrain401 = unknown; +export type DeleteIntegrationLogDrain401 = unknown /** * @description You do not have permission to access this resource. */ -export type DeleteIntegrationLogDrain403 = unknown; +export type DeleteIntegrationLogDrain403 = unknown /** * @description The log drain was not found */ -export type DeleteIntegrationLogDrain404 = unknown; +export type DeleteIntegrationLogDrain404 = unknown -export type DeleteIntegrationLogDrainMutationResponse = DeleteIntegrationLogDrain204; +export type DeleteIntegrationLogDrainMutationResponse = DeleteIntegrationLogDrain204 export type DeleteIntegrationLogDrainMutation = { - Response: DeleteIntegrationLogDrain204; - PathParams: DeleteIntegrationLogDrainPathParams; - QueryParams: DeleteIntegrationLogDrainQueryParams; - Errors: - | DeleteIntegrationLogDrain400 - | DeleteIntegrationLogDrain401 - | DeleteIntegrationLogDrain403 - | DeleteIntegrationLogDrain404; -}; + Response: DeleteIntegrationLogDrain204 + PathParams: DeleteIntegrationLogDrainPathParams + QueryParams: DeleteIntegrationLogDrainQueryParams + Errors: DeleteIntegrationLogDrain400 | DeleteIntegrationLogDrain401 | DeleteIntegrationLogDrain403 | DeleteIntegrationLogDrain404 +} export type GetRuntimeLogsPathParams = { /** * @type string */ - projectId: string; + projectId: string /** * @type string */ - deploymentId: string; -}; + deploymentId: string +} export type GetRuntimeLogsQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type GetRuntimeLogs200 = unknown; +export type GetRuntimeLogs200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type GetRuntimeLogs400 = unknown; +export type GetRuntimeLogs400 = unknown -export type GetRuntimeLogs401 = unknown; +export type GetRuntimeLogs401 = unknown /** * @description You do not have permission to access this resource. */ -export type GetRuntimeLogs403 = unknown; +export type GetRuntimeLogs403 = unknown -export type GetRuntimeLogsQueryResponse = GetRuntimeLogs200; +export type GetRuntimeLogsQueryResponse = GetRuntimeLogs200 export type GetRuntimeLogsQuery = { - Response: GetRuntimeLogs200; - PathParams: GetRuntimeLogsPathParams; - QueryParams: GetRuntimeLogsQueryParams; - Errors: GetRuntimeLogs400 | GetRuntimeLogs401 | GetRuntimeLogs403; -}; + Response: GetRuntimeLogs200 + PathParams: GetRuntimeLogsPathParams + QueryParams: GetRuntimeLogsQueryParams + Errors: GetRuntimeLogs400 | GetRuntimeLogs401 | GetRuntimeLogs403 +} export type CreateExperimentationItemPathParams = { /** * @type string */ - integrationConfigurationId: string; + integrationConfigurationId: string /** * @type string */ - resourceId: string; -}; + resourceId: string +} /** * @description The items were created */ -export type CreateExperimentationItem204 = unknown; +export type CreateExperimentationItem204 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type CreateExperimentationItem400 = unknown; +export type CreateExperimentationItem400 = unknown -export type CreateExperimentationItem401 = unknown; +export type CreateExperimentationItem401 = unknown /** * @description You do not have permission to access this resource. */ -export type CreateExperimentationItem403 = unknown; +export type CreateExperimentationItem403 = unknown -export type CreateExperimentationItem404 = unknown; +export type CreateExperimentationItem404 = unknown -export type CreateExperimentationItemMutationResponse = CreateExperimentationItem204; +export type CreateExperimentationItemMutationResponse = CreateExperimentationItem204 export type CreateExperimentationItemMutation = { - Response: CreateExperimentationItem204; - PathParams: CreateExperimentationItemPathParams; - Errors: - | CreateExperimentationItem400 - | CreateExperimentationItem401 - | CreateExperimentationItem403 - | CreateExperimentationItem404; -}; + Response: CreateExperimentationItem204 + PathParams: CreateExperimentationItemPathParams + Errors: CreateExperimentationItem400 | CreateExperimentationItem401 | CreateExperimentationItem403 | CreateExperimentationItem404 +} export type UpdateExperimentationItemPathParams = { /** * @type string */ - integrationConfigurationId: string; + integrationConfigurationId: string /** * @type string */ - resourceId: string; + resourceId: string /** * @type string */ - itemId: string; -}; + itemId: string +} /** * @description The item was updated */ -export type UpdateExperimentationItem204 = unknown; +export type UpdateExperimentationItem204 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type UpdateExperimentationItem400 = unknown; +export type UpdateExperimentationItem400 = unknown -export type UpdateExperimentationItem401 = unknown; +export type UpdateExperimentationItem401 = unknown /** * @description You do not have permission to access this resource. */ -export type UpdateExperimentationItem403 = unknown; +export type UpdateExperimentationItem403 = unknown -export type UpdateExperimentationItem404 = unknown; +export type UpdateExperimentationItem404 = unknown -export type UpdateExperimentationItemMutationResponse = UpdateExperimentationItem204; +export type UpdateExperimentationItemMutationResponse = UpdateExperimentationItem204 export type UpdateExperimentationItemMutation = { - Response: UpdateExperimentationItem204; - PathParams: UpdateExperimentationItemPathParams; - Errors: - | UpdateExperimentationItem400 - | UpdateExperimentationItem401 - | UpdateExperimentationItem403 - | UpdateExperimentationItem404; -}; + Response: UpdateExperimentationItem204 + PathParams: UpdateExperimentationItemPathParams + Errors: UpdateExperimentationItem400 | UpdateExperimentationItem401 | UpdateExperimentationItem403 | UpdateExperimentationItem404 +} export type DeleteExperimentationItemPathParams = { /** * @type string */ - integrationConfigurationId: string; + integrationConfigurationId: string /** * @type string */ - resourceId: string; + resourceId: string /** * @type string */ - itemId: string; -}; + itemId: string +} /** * @description The item was deleted */ -export type DeleteExperimentationItem204 = unknown; +export type DeleteExperimentationItem204 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type DeleteExperimentationItem400 = unknown; +export type DeleteExperimentationItem400 = unknown -export type DeleteExperimentationItem401 = unknown; +export type DeleteExperimentationItem401 = unknown /** * @description You do not have permission to access this resource. */ -export type DeleteExperimentationItem403 = unknown; +export type DeleteExperimentationItem403 = unknown -export type DeleteExperimentationItem404 = unknown; +export type DeleteExperimentationItem404 = unknown -export type DeleteExperimentationItemMutationResponse = DeleteExperimentationItem204; +export type DeleteExperimentationItemMutationResponse = DeleteExperimentationItem204 export type DeleteExperimentationItemMutation = { - Response: DeleteExperimentationItem204; - PathParams: DeleteExperimentationItemPathParams; - Errors: - | DeleteExperimentationItem400 - | DeleteExperimentationItem401 - | DeleteExperimentationItem403 - | DeleteExperimentationItem404; -}; + Response: DeleteExperimentationItem204 + PathParams: DeleteExperimentationItemPathParams + Errors: DeleteExperimentationItem400 | DeleteExperimentationItem401 | DeleteExperimentationItem403 | DeleteExperimentationItem404 +} export type UpdateExperimentationEdgeConfigPathParams = { /** * @type string */ - integrationConfigurationId: string; + integrationConfigurationId: string /** * @type string */ - resourceId: string; -}; + resourceId: string +} /** * @description The Edge Config was updated */ -export type UpdateExperimentationEdgeConfig200 = unknown; +export type UpdateExperimentationEdgeConfig200 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type UpdateExperimentationEdgeConfig400 = unknown; +export type UpdateExperimentationEdgeConfig400 = unknown -export type UpdateExperimentationEdgeConfig401 = unknown; +export type UpdateExperimentationEdgeConfig401 = unknown /** * @description You do not have permission to access this resource. */ -export type UpdateExperimentationEdgeConfig403 = unknown; +export type UpdateExperimentationEdgeConfig403 = unknown -export type UpdateExperimentationEdgeConfig404 = unknown; +export type UpdateExperimentationEdgeConfig404 = unknown -export type UpdateExperimentationEdgeConfig412 = unknown; +export type UpdateExperimentationEdgeConfig409 = unknown -export type UpdateExperimentationEdgeConfigMutationResponse = UpdateExperimentationEdgeConfig200; +export type UpdateExperimentationEdgeConfig412 = unknown + +export type UpdateExperimentationEdgeConfigMutationResponse = UpdateExperimentationEdgeConfig200 export type UpdateExperimentationEdgeConfigMutation = { - Response: UpdateExperimentationEdgeConfig200; - PathParams: UpdateExperimentationEdgeConfigPathParams; + Response: UpdateExperimentationEdgeConfig200 + PathParams: UpdateExperimentationEdgeConfigPathParams Errors: | UpdateExperimentationEdgeConfig400 | UpdateExperimentationEdgeConfig401 | UpdateExperimentationEdgeConfig403 | UpdateExperimentationEdgeConfig404 - | UpdateExperimentationEdgeConfig412; -}; + | UpdateExperimentationEdgeConfig409 + | UpdateExperimentationEdgeConfig412 +} export type GetProjectMembersPathParams = { /** * @description The ID or name of the Project. * @type string */ - idOrName: string; -}; + idOrName: string +} export type GetProjectMembersQueryParams = { /** @@ -12818,1230 +12975,1237 @@ export type GetProjectMembersQueryParams = { * @maxLength 100 * @type integer | undefined */ - limit?: number | undefined; + limit?: number | undefined /** * @description Timestamp in milliseconds to only include members added since then. * @type integer | undefined */ - since?: number | undefined; + since?: number | undefined /** * @description Timestamp in milliseconds to only include members added until then. * @type integer | undefined */ - until?: number | undefined; + until?: number | undefined /** * @description Search project members by their name, username, and email. * @type string | undefined */ - search?: string | undefined; + search?: string | undefined /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description Paginated list of members for the project. */ -export type GetProjectMembers200 = unknown; +export type GetProjectMembers200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type GetProjectMembers400 = unknown; +export type GetProjectMembers400 = unknown -export type GetProjectMembers401 = unknown; +export type GetProjectMembers401 = unknown /** * @description You do not have permission to access this resource. */ -export type GetProjectMembers403 = unknown; +export type GetProjectMembers403 = unknown -export type GetProjectMembersQueryResponse = GetProjectMembers200; +export type GetProjectMembersQueryResponse = GetProjectMembers200 export type GetProjectMembersQuery = { - Response: GetProjectMembers200; - PathParams: GetProjectMembersPathParams; - QueryParams: GetProjectMembersQueryParams; - Errors: GetProjectMembers400 | GetProjectMembers401 | GetProjectMembers403; -}; + Response: GetProjectMembers200 + PathParams: GetProjectMembersPathParams + QueryParams: GetProjectMembersQueryParams + Errors: GetProjectMembers400 | GetProjectMembers401 | GetProjectMembers403 +} export type AddProjectMemberPathParams = { /** * @description The ID or name of the Project. * @type string */ - idOrName: string; -}; + idOrName: string +} export type AddProjectMemberQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description Responds with the project ID on success. */ -export type AddProjectMember200 = unknown; +export type AddProjectMember200 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type AddProjectMember400 = unknown; +export type AddProjectMember400 = unknown -export type AddProjectMember401 = unknown; +export type AddProjectMember401 = unknown /** * @description You do not have permission to access this resource. */ -export type AddProjectMember403 = unknown; +export type AddProjectMember403 = unknown -export type AddProjectMember500 = unknown; +export type AddProjectMember500 = unknown -export type AddProjectMemberMutationResponse = AddProjectMember200; +export type AddProjectMemberMutationResponse = AddProjectMember200 export type AddProjectMemberMutation = { - Response: AddProjectMember200; - PathParams: AddProjectMemberPathParams; - QueryParams: AddProjectMemberQueryParams; - Errors: AddProjectMember400 | AddProjectMember401 | AddProjectMember403 | AddProjectMember500; -}; + Response: AddProjectMember200 + PathParams: AddProjectMemberPathParams + QueryParams: AddProjectMemberQueryParams + Errors: AddProjectMember400 | AddProjectMember401 | AddProjectMember403 | AddProjectMember500 +} export type RemoveProjectMemberPathParams = { /** * @description The ID or name of the Project. * @type string */ - idOrName: string; + idOrName: string /** * @description The user ID of the member. * @type string */ - uid: string; -}; + uid: string +} export type RemoveProjectMemberQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type RemoveProjectMember200 = unknown; +export type RemoveProjectMember200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type RemoveProjectMember400 = unknown; +export type RemoveProjectMember400 = unknown -export type RemoveProjectMember401 = unknown; +export type RemoveProjectMember401 = unknown /** * @description You do not have permission to access this resource. */ -export type RemoveProjectMember403 = unknown; +export type RemoveProjectMember403 = unknown -export type RemoveProjectMemberMutationResponse = RemoveProjectMember200; +export type RemoveProjectMemberMutationResponse = RemoveProjectMember200 export type RemoveProjectMemberMutation = { - Response: RemoveProjectMember200; - PathParams: RemoveProjectMemberPathParams; - QueryParams: RemoveProjectMemberQueryParams; - Errors: RemoveProjectMember400 | RemoveProjectMember401 | RemoveProjectMember403; -}; + Response: RemoveProjectMember200 + PathParams: RemoveProjectMemberPathParams + QueryParams: RemoveProjectMemberQueryParams + Errors: RemoveProjectMember400 | RemoveProjectMember401 | RemoveProjectMember403 +} export const getProjectsQueryParamsGitForkProtectionEnum = { '1': '1', - '0': '0' -} as const; + '0': '0', +} as const export type GetProjectsQueryParamsGitForkProtectionEnum = - (typeof getProjectsQueryParamsGitForkProtectionEnum)[keyof typeof getProjectsQueryParamsGitForkProtectionEnum]; + (typeof getProjectsQueryParamsGitForkProtectionEnum)[keyof typeof getProjectsQueryParamsGitForkProtectionEnum] + +export const getProjectsQueryParamsElasticConcurrencyEnabledEnum = { + '1': '1', + '0': '0', +} as const + +export type GetProjectsQueryParamsElasticConcurrencyEnabledEnum = + (typeof getProjectsQueryParamsElasticConcurrencyEnabledEnum)[keyof typeof getProjectsQueryParamsElasticConcurrencyEnabledEnum] export type GetProjectsQueryParams = { /** * @description Query only projects updated after the given timestamp * @type string | undefined */ - from?: string | undefined; + from?: string | undefined /** * @description Specifies whether PRs from Git forks should require a team member\'s authorization before it can be deployed * @type string | undefined */ - gitForkProtection?: GetProjectsQueryParamsGitForkProtectionEnum | undefined; + gitForkProtection?: GetProjectsQueryParamsGitForkProtectionEnum | undefined /** * @description Limit the number of projects returned * @type string | undefined */ - limit?: string | undefined; + limit?: string | undefined /** * @description Search projects by the name field * @maxLength 100 * @type string | undefined */ - search?: string | undefined; + search?: string | undefined /** * @description Filter results by repo. Also used for project count * @type string | undefined */ - repo?: string | undefined; + repo?: string | undefined /** * @description Filter results by Repository ID. * @type string | undefined */ - repoId?: string | undefined; + repoId?: string | undefined /** * @description Filter results by Repository URL. * @type string | undefined */ - repoUrl?: string | undefined; + repoUrl?: string | undefined /** * @description Filter results by excluding those projects that belong to a repo * @type string | undefined */ - excludeRepos?: string | undefined; + excludeRepos?: string | undefined /** * @description Filter results by connected Edge Config ID * @type string | undefined */ - edgeConfigId?: string | undefined; + edgeConfigId?: string | undefined /** * @description Filter results by connected Edge Config Token ID * @type string | undefined */ - edgeConfigTokenId?: string | undefined; + edgeConfigTokenId?: string | undefined /** * @type boolean | undefined */ - deprecated?: boolean | undefined; + deprecated?: boolean | undefined + /** + * @description Filter results by projects with elastic concurrency enabled + * @type string | undefined + */ + elasticConcurrencyEnabled?: GetProjectsQueryParamsElasticConcurrencyEnabledEnum | undefined /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description The paginated list of projects */ -export type GetProjects200 = unknown; +export type GetProjects200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type GetProjects400 = unknown; +export type GetProjects400 = unknown -export type GetProjects401 = unknown; +export type GetProjects401 = unknown /** * @description You do not have permission to access this resource. */ -export type GetProjects403 = unknown; +export type GetProjects403 = unknown -export type GetProjectsQueryResponse = GetProjects200; +export type GetProjectsQueryResponse = GetProjects200 export type GetProjectsQuery = { - Response: GetProjects200; - QueryParams: GetProjectsQueryParams; - Errors: GetProjects400 | GetProjects401 | GetProjects403; -}; + Response: GetProjects200 + QueryParams: GetProjectsQueryParams + Errors: GetProjects400 | GetProjects401 | GetProjects403 +} export type CreateProjectQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description The project was successfuly created */ -export type CreateProject200 = unknown; +export type CreateProject200 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nAt least one environment variable failed validation\nThe Bitbucket Webhook for the project link could not be created\nThe Gitlab Webhook for the project link could not be created */ -export type CreateProject400 = unknown; +export type CreateProject400 = unknown -export type CreateProject401 = unknown; +export type CreateProject401 = unknown /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated\nPro customers are allowed to deploy Serverless Functions to up to `proMaxRegions` regions, or if the project was created before the limit was introduced.\nDeploying to Serverless Functions to multiple regions requires a plan update */ -export type CreateProject402 = unknown; +export type CreateProject402 = unknown /** * @description You do not have permission to access this resource. */ -export type CreateProject403 = unknown; +export type CreateProject403 = unknown + +export type CreateProject404 = unknown /** * @description A project with the provided name already exists. */ -export type CreateProject409 = unknown; +export type CreateProject409 = unknown + +/** + * @description Owner does not have protection add-on + */ +export type CreateProject428 = unknown + +export type CreateProject429 = unknown -export type CreateProjectMutationResponse = CreateProject200; +export type CreateProject500 = unknown + +export type CreateProjectMutationResponse = CreateProject200 export type CreateProjectMutation = { - Response: CreateProject200; - QueryParams: CreateProjectQueryParams; - Errors: CreateProject400 | CreateProject401 | CreateProject402 | CreateProject403 | CreateProject409; -}; + Response: CreateProject200 + QueryParams: CreateProjectQueryParams + Errors: + | CreateProject400 + | CreateProject401 + | CreateProject402 + | CreateProject403 + | CreateProject404 + | CreateProject409 + | CreateProject428 + | CreateProject429 + | CreateProject500 +} export type GetProjectPathParams = { /** * @description The unique project identifier or the project name */ - idOrName: string | boolean; -}; + idOrName: string | boolean +} export type GetProjectQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description The project information */ -export type GetProject200 = unknown; +export type GetProject200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type GetProject400 = unknown; +export type GetProject400 = unknown -export type GetProject401 = unknown; +export type GetProject401 = unknown /** * @description You do not have permission to access this resource. */ -export type GetProject403 = unknown; +export type GetProject403 = unknown -export type GetProjectQueryResponse = GetProject200; +export type GetProjectQueryResponse = GetProject200 export type GetProjectQuery = { - Response: GetProject200; - PathParams: GetProjectPathParams; - QueryParams: GetProjectQueryParams; - Errors: GetProject400 | GetProject401 | GetProject403; -}; + Response: GetProject200 + PathParams: GetProjectPathParams + QueryParams: GetProjectQueryParams + Errors: GetProject400 | GetProject401 | GetProject403 +} export type UpdateProjectPathParams = { /** * @description The unique project identifier or the project name * @type string */ - idOrName: string; -}; + idOrName: string +} export type UpdateProjectQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description The project was successfully updated */ -export type UpdateProject200 = unknown; +export type UpdateProject200 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nTrusted IPs is only accessible for enterprise customers */ -export type UpdateProject400 = unknown; +export type UpdateProject400 = unknown -export type UpdateProject401 = unknown; +export type UpdateProject401 = unknown /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated\nPro customers are allowed to deploy Serverless Functions to up to `proMaxRegions` regions, or if the project was created before the limit was introduced.\nDeploying to Serverless Functions to multiple regions requires a plan update */ -export type UpdateProject402 = unknown; +export type UpdateProject402 = unknown /** * @description You do not have permission to access this resource. */ -export type UpdateProject403 = unknown; +export type UpdateProject403 = unknown -export type UpdateProject404 = unknown; +export type UpdateProject404 = unknown /** * @description The provided name for the project is already being used\nThe project is currently being transferred. */ -export type UpdateProject409 = unknown; +export type UpdateProject409 = unknown /** * @description Owner does not have protection add-on\nAdvanced Deployment Protection is not available for the user plan */ -export type UpdateProject428 = unknown; +export type UpdateProject428 = unknown -export type UpdateProjectMutationResponse = UpdateProject200; +export type UpdateProjectMutationResponse = UpdateProject200 export type UpdateProjectMutation = { - Response: UpdateProject200; - PathParams: UpdateProjectPathParams; - QueryParams: UpdateProjectQueryParams; - Errors: - | UpdateProject400 - | UpdateProject401 - | UpdateProject402 - | UpdateProject403 - | UpdateProject404 - | UpdateProject409 - | UpdateProject428; -}; + Response: UpdateProject200 + PathParams: UpdateProjectPathParams + QueryParams: UpdateProjectQueryParams + Errors: UpdateProject400 | UpdateProject401 | UpdateProject402 | UpdateProject403 | UpdateProject404 | UpdateProject409 | UpdateProject428 +} export type DeleteProjectPathParams = { /** * @description The unique project identifier or the project name * @type string */ - idOrName: string; -}; + idOrName: string +} export type DeleteProjectQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description The project was successfuly removed */ -export type DeleteProject204 = unknown; +export type DeleteProject204 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type DeleteProject400 = unknown; +export type DeleteProject400 = unknown -export type DeleteProject401 = unknown; +export type DeleteProject401 = unknown /** * @description You do not have permission to access this resource. */ -export type DeleteProject403 = unknown; +export type DeleteProject403 = unknown -export type DeleteProject409 = unknown; +export type DeleteProject409 = unknown -export type DeleteProjectMutationResponse = DeleteProject204; +export type DeleteProjectMutationResponse = DeleteProject204 export type DeleteProjectMutation = { - Response: DeleteProject204; - PathParams: DeleteProjectPathParams; - QueryParams: DeleteProjectQueryParams; - Errors: DeleteProject400 | DeleteProject401 | DeleteProject403 | DeleteProject409; -}; + Response: DeleteProject204 + PathParams: DeleteProjectPathParams + QueryParams: DeleteProjectQueryParams + Errors: DeleteProject400 | DeleteProject401 | DeleteProject403 | DeleteProject409 +} export type CreateCustomEnvironmentPathParams = { /** * @description The unique project identifier or the project name * @type string */ - idOrName: string; -}; + idOrName: string +} export type CreateCustomEnvironmentQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type CreateCustomEnvironment201 = unknown; +export type CreateCustomEnvironment201 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type CreateCustomEnvironment400 = unknown; +export type CreateCustomEnvironment400 = unknown -export type CreateCustomEnvironment401 = unknown; +export type CreateCustomEnvironment401 = unknown /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export type CreateCustomEnvironment402 = unknown; +export type CreateCustomEnvironment402 = unknown /** * @description You do not have permission to access this resource. */ -export type CreateCustomEnvironment403 = unknown; +export type CreateCustomEnvironment403 = unknown -export type CreateCustomEnvironment500 = unknown; +export type CreateCustomEnvironment500 = unknown -export type CreateCustomEnvironmentMutationResponse = CreateCustomEnvironment201; +export type CreateCustomEnvironmentMutationResponse = CreateCustomEnvironment201 export type CreateCustomEnvironmentMutation = { - Response: CreateCustomEnvironment201; - PathParams: CreateCustomEnvironmentPathParams; - QueryParams: CreateCustomEnvironmentQueryParams; - Errors: - | CreateCustomEnvironment400 - | CreateCustomEnvironment401 - | CreateCustomEnvironment402 - | CreateCustomEnvironment403 - | CreateCustomEnvironment500; -}; + Response: CreateCustomEnvironment201 + PathParams: CreateCustomEnvironmentPathParams + QueryParams: CreateCustomEnvironmentQueryParams + Errors: CreateCustomEnvironment400 | CreateCustomEnvironment401 | CreateCustomEnvironment402 | CreateCustomEnvironment403 | CreateCustomEnvironment500 +} export type ListCustomEnvironmentsPathParams = { /** * @description The unique project identifier or the project name * @type string */ - idOrName: string; -}; + idOrName: string +} export type ListCustomEnvironmentsQueryParams = { /** * @description Fetch custom environments for a specific git branch * @type string | undefined */ - gitBranch?: string | undefined; + gitBranch?: string | undefined /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type ListCustomEnvironments200 = unknown; +export type ListCustomEnvironments200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type ListCustomEnvironments400 = unknown; +export type ListCustomEnvironments400 = unknown -export type ListCustomEnvironments401 = unknown; +export type ListCustomEnvironments401 = unknown /** * @description You do not have permission to access this resource. */ -export type ListCustomEnvironments403 = unknown; +export type ListCustomEnvironments403 = unknown -export type ListCustomEnvironmentsQueryResponse = ListCustomEnvironments200; +export type ListCustomEnvironmentsQueryResponse = ListCustomEnvironments200 export type ListCustomEnvironmentsQuery = { - Response: ListCustomEnvironments200; - PathParams: ListCustomEnvironmentsPathParams; - QueryParams: ListCustomEnvironmentsQueryParams; - Errors: ListCustomEnvironments400 | ListCustomEnvironments401 | ListCustomEnvironments403; -}; + Response: ListCustomEnvironments200 + PathParams: ListCustomEnvironmentsPathParams + QueryParams: ListCustomEnvironmentsQueryParams + Errors: ListCustomEnvironments400 | ListCustomEnvironments401 | ListCustomEnvironments403 +} export type GetCustomEnvironmentPathParams = { /** * @description The unique project identifier or the project name * @type string */ - idOrName: string; + idOrName: string /** * @description The unique custom environment identifier within the project * @type string */ - environmentSlugOrId: string; -}; + environmentSlugOrId: string +} export type GetCustomEnvironmentQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type GetCustomEnvironment200 = unknown; +export type GetCustomEnvironment200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type GetCustomEnvironment400 = unknown; +export type GetCustomEnvironment400 = unknown -export type GetCustomEnvironment401 = unknown; +export type GetCustomEnvironment401 = unknown /** * @description You do not have permission to access this resource. */ -export type GetCustomEnvironment403 = unknown; +export type GetCustomEnvironment403 = unknown -export type GetCustomEnvironment404 = unknown; +export type GetCustomEnvironment404 = unknown -export type GetCustomEnvironmentQueryResponse = GetCustomEnvironment200; +export type GetCustomEnvironmentQueryResponse = GetCustomEnvironment200 export type GetCustomEnvironmentQuery = { - Response: GetCustomEnvironment200; - PathParams: GetCustomEnvironmentPathParams; - QueryParams: GetCustomEnvironmentQueryParams; - Errors: GetCustomEnvironment400 | GetCustomEnvironment401 | GetCustomEnvironment403 | GetCustomEnvironment404; -}; + Response: GetCustomEnvironment200 + PathParams: GetCustomEnvironmentPathParams + QueryParams: GetCustomEnvironmentQueryParams + Errors: GetCustomEnvironment400 | GetCustomEnvironment401 | GetCustomEnvironment403 | GetCustomEnvironment404 +} export type UpdateCustomEnvironmentPathParams = { /** * @description The unique project identifier or the project name * @type string */ - idOrName: string; + idOrName: string /** * @description The unique custom environment identifier within the project * @type string */ - environmentSlugOrId: string; -}; + environmentSlugOrId: string +} export type UpdateCustomEnvironmentQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type UpdateCustomEnvironment200 = unknown; +export type UpdateCustomEnvironment200 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type UpdateCustomEnvironment400 = unknown; +export type UpdateCustomEnvironment400 = unknown -export type UpdateCustomEnvironment401 = unknown; +export type UpdateCustomEnvironment401 = unknown /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export type UpdateCustomEnvironment402 = unknown; +export type UpdateCustomEnvironment402 = unknown /** * @description You do not have permission to access this resource. */ -export type UpdateCustomEnvironment403 = unknown; +export type UpdateCustomEnvironment403 = unknown -export type UpdateCustomEnvironment500 = unknown; +export type UpdateCustomEnvironment500 = unknown -export type UpdateCustomEnvironmentMutationResponse = UpdateCustomEnvironment200; +export type UpdateCustomEnvironmentMutationResponse = UpdateCustomEnvironment200 export type UpdateCustomEnvironmentMutation = { - Response: UpdateCustomEnvironment200; - PathParams: UpdateCustomEnvironmentPathParams; - QueryParams: UpdateCustomEnvironmentQueryParams; - Errors: - | UpdateCustomEnvironment400 - | UpdateCustomEnvironment401 - | UpdateCustomEnvironment402 - | UpdateCustomEnvironment403 - | UpdateCustomEnvironment500; -}; + Response: UpdateCustomEnvironment200 + PathParams: UpdateCustomEnvironmentPathParams + QueryParams: UpdateCustomEnvironmentQueryParams + Errors: UpdateCustomEnvironment400 | UpdateCustomEnvironment401 | UpdateCustomEnvironment402 | UpdateCustomEnvironment403 | UpdateCustomEnvironment500 +} export type RemoveCustomEnvironmentPathParams = { /** * @description The unique project identifier or the project name * @type string */ - idOrName: string; + idOrName: string /** * @description The unique custom environment identifier within the project * @type string */ - environmentSlugOrId: string; -}; + environmentSlugOrId: string +} export type RemoveCustomEnvironmentQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type RemoveCustomEnvironment200 = unknown; +export type RemoveCustomEnvironment200 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type RemoveCustomEnvironment400 = unknown; +export type RemoveCustomEnvironment400 = unknown -export type RemoveCustomEnvironment401 = unknown; +export type RemoveCustomEnvironment401 = unknown /** * @description You do not have permission to access this resource. */ -export type RemoveCustomEnvironment403 = unknown; +export type RemoveCustomEnvironment403 = unknown -export type RemoveCustomEnvironmentMutationResponse = RemoveCustomEnvironment200; +export type RemoveCustomEnvironmentMutationResponse = RemoveCustomEnvironment200 export type RemoveCustomEnvironmentMutation = { - Response: RemoveCustomEnvironment200; - PathParams: RemoveCustomEnvironmentPathParams; - QueryParams: RemoveCustomEnvironmentQueryParams; - Errors: RemoveCustomEnvironment400 | RemoveCustomEnvironment401 | RemoveCustomEnvironment403; -}; + Response: RemoveCustomEnvironment200 + PathParams: RemoveCustomEnvironmentPathParams + QueryParams: RemoveCustomEnvironmentQueryParams + Errors: RemoveCustomEnvironment400 | RemoveCustomEnvironment401 | RemoveCustomEnvironment403 +} export type GetProjectDomainsPathParams = { /** * @description The unique project identifier or the project name */ - idOrName: string | number; -}; + idOrName: string | number +} export const getProjectDomainsQueryParamsProductionEnum = { true: 'true', - false: 'false' -} as const; + false: 'false', +} as const export type GetProjectDomainsQueryParamsProductionEnum = - (typeof getProjectDomainsQueryParamsProductionEnum)[keyof typeof getProjectDomainsQueryParamsProductionEnum]; + (typeof getProjectDomainsQueryParamsProductionEnum)[keyof typeof getProjectDomainsQueryParamsProductionEnum] export const getProjectDomainsQueryParamsTargetEnum = { production: 'production', - preview: 'preview' -} as const; + preview: 'preview', +} as const -export type GetProjectDomainsQueryParamsTargetEnum = - (typeof getProjectDomainsQueryParamsTargetEnum)[keyof typeof getProjectDomainsQueryParamsTargetEnum]; +export type GetProjectDomainsQueryParamsTargetEnum = (typeof getProjectDomainsQueryParamsTargetEnum)[keyof typeof getProjectDomainsQueryParamsTargetEnum] export const getProjectDomainsQueryParamsRedirectsEnum = { true: 'true', - false: 'false' -} as const; + false: 'false', +} as const export type GetProjectDomainsQueryParamsRedirectsEnum = - (typeof getProjectDomainsQueryParamsRedirectsEnum)[keyof typeof getProjectDomainsQueryParamsRedirectsEnum]; + (typeof getProjectDomainsQueryParamsRedirectsEnum)[keyof typeof getProjectDomainsQueryParamsRedirectsEnum] export const getProjectDomainsQueryParamsVerifiedEnum = { true: 'true', - false: 'false' -} as const; + false: 'false', +} as const -export type GetProjectDomainsQueryParamsVerifiedEnum = - (typeof getProjectDomainsQueryParamsVerifiedEnum)[keyof typeof getProjectDomainsQueryParamsVerifiedEnum]; +export type GetProjectDomainsQueryParamsVerifiedEnum = (typeof getProjectDomainsQueryParamsVerifiedEnum)[keyof typeof getProjectDomainsQueryParamsVerifiedEnum] export const getProjectDomainsQueryParamsOrderEnum = { ASC: 'ASC', - DESC: 'DESC' -} as const; + DESC: 'DESC', +} as const -export type GetProjectDomainsQueryParamsOrderEnum = - (typeof getProjectDomainsQueryParamsOrderEnum)[keyof typeof getProjectDomainsQueryParamsOrderEnum]; +export type GetProjectDomainsQueryParamsOrderEnum = (typeof getProjectDomainsQueryParamsOrderEnum)[keyof typeof getProjectDomainsQueryParamsOrderEnum] export type GetProjectDomainsQueryParams = { /** * @description Filters only production domains when set to `true`. * @default "false" */ - production?: GetProjectDomainsQueryParamsProductionEnum | undefined; + production?: GetProjectDomainsQueryParamsProductionEnum | undefined /** * @description Filters on the target of the domain. Can be either \\\"production\\\", \\\"preview\\\" * @type string | undefined */ - target?: GetProjectDomainsQueryParamsTargetEnum | undefined; + target?: GetProjectDomainsQueryParamsTargetEnum | undefined /** * @description The unique custom environment identifier within the project * @type string | undefined */ - customEnvironmentId?: string | undefined; + customEnvironmentId?: string | undefined /** * @description Filters domains based on specific branch. * @type string | undefined */ - gitBranch?: string | undefined; + gitBranch?: string | undefined /** * @description Excludes redirect project domains when \\\"false\\\". Includes redirect project domains when \\\"true\\\" (default). * @default "true" */ - redirects?: GetProjectDomainsQueryParamsRedirectsEnum | undefined; + redirects?: GetProjectDomainsQueryParamsRedirectsEnum | undefined /** * @description Filters domains based on their redirect target. * @type string | undefined */ - redirect?: string | undefined; + redirect?: string | undefined /** * @description Filters domains based on their verification status. */ - verified?: GetProjectDomainsQueryParamsVerifiedEnum | undefined; + verified?: GetProjectDomainsQueryParamsVerifiedEnum | undefined /** * @description Maximum number of domains to list from a request (max 100). * @type number | undefined */ - limit?: number | undefined; + limit?: number | undefined /** * @description Get domains created after this JavaScript timestamp. * @type number | undefined */ - since?: number | undefined; + since?: number | undefined /** * @description Get domains created before this JavaScript timestamp. * @type number | undefined */ - until?: number | undefined; + until?: number | undefined /** * @description Domains sort order by createdAt * @default "DESC" */ - order?: GetProjectDomainsQueryParamsOrderEnum | undefined; + order?: GetProjectDomainsQueryParamsOrderEnum | undefined /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description Successful response retrieving a list of domains */ -export type GetProjectDomains200 = unknown; +export type GetProjectDomains200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type GetProjectDomains400 = unknown; +export type GetProjectDomains400 = unknown -export type GetProjectDomains401 = unknown; +export type GetProjectDomains401 = unknown /** * @description You do not have permission to access this resource. */ -export type GetProjectDomains403 = unknown; +export type GetProjectDomains403 = unknown -export type GetProjectDomainsQueryResponse = GetProjectDomains200; +export type GetProjectDomainsQueryResponse = GetProjectDomains200 export type GetProjectDomainsQuery = { - Response: GetProjectDomains200; - PathParams: GetProjectDomainsPathParams; - QueryParams: GetProjectDomainsQueryParams; - Errors: GetProjectDomains400 | GetProjectDomains401 | GetProjectDomains403; -}; + Response: GetProjectDomains200 + PathParams: GetProjectDomainsPathParams + QueryParams: GetProjectDomainsQueryParams + Errors: GetProjectDomains400 | GetProjectDomains401 | GetProjectDomains403 +} export type GetProjectDomainPathParams = { /** * @description The unique project identifier or the project name * @type string */ - idOrName: string; + idOrName: string /** * @description The project domain name * @type string */ - domain: string; -}; + domain: string +} export type GetProjectDomainQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type GetProjectDomain200 = unknown; +export type GetProjectDomain200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type GetProjectDomain400 = unknown; +export type GetProjectDomain400 = unknown -export type GetProjectDomain401 = unknown; +export type GetProjectDomain401 = unknown /** * @description You do not have permission to access this resource. */ -export type GetProjectDomain403 = unknown; +export type GetProjectDomain403 = unknown -export type GetProjectDomainQueryResponse = GetProjectDomain200; +export type GetProjectDomainQueryResponse = GetProjectDomain200 export type GetProjectDomainQuery = { - Response: GetProjectDomain200; - PathParams: GetProjectDomainPathParams; - QueryParams: GetProjectDomainQueryParams; - Errors: GetProjectDomain400 | GetProjectDomain401 | GetProjectDomain403; -}; + Response: GetProjectDomain200 + PathParams: GetProjectDomainPathParams + QueryParams: GetProjectDomainQueryParams + Errors: GetProjectDomain400 | GetProjectDomain401 | GetProjectDomain403 +} export type UpdateProjectDomainPathParams = { /** * @description The unique project identifier or the project name * @type string */ - idOrName: string; + idOrName: string /** * @description The project domain name * @type string */ - domain: string; -}; + domain: string +} export type UpdateProjectDomainQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description The domain was updated successfuly */ -export type UpdateProjectDomain200 = unknown; +export type UpdateProjectDomain200 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nThe domain redirect is not valid */ -export type UpdateProjectDomain400 = unknown; +export type UpdateProjectDomain400 = unknown -export type UpdateProjectDomain401 = unknown; +export type UpdateProjectDomain401 = unknown /** * @description You do not have permission to access this resource. */ -export type UpdateProjectDomain403 = unknown; +export type UpdateProjectDomain403 = unknown /** * @description The project is currently being transferred */ -export type UpdateProjectDomain409 = unknown; +export type UpdateProjectDomain409 = unknown -export type UpdateProjectDomainMutationResponse = UpdateProjectDomain200; +export type UpdateProjectDomainMutationResponse = UpdateProjectDomain200 export type UpdateProjectDomainMutation = { - Response: UpdateProjectDomain200; - PathParams: UpdateProjectDomainPathParams; - QueryParams: UpdateProjectDomainQueryParams; - Errors: UpdateProjectDomain400 | UpdateProjectDomain401 | UpdateProjectDomain403 | UpdateProjectDomain409; -}; + Response: UpdateProjectDomain200 + PathParams: UpdateProjectDomainPathParams + QueryParams: UpdateProjectDomainQueryParams + Errors: UpdateProjectDomain400 | UpdateProjectDomain401 | UpdateProjectDomain403 | UpdateProjectDomain409 +} export type RemoveProjectDomainPathParams = { /** * @description The unique project identifier or the project name * @type string */ - idOrName: string; + idOrName: string /** * @description The project domain name * @type string */ - domain: string; -}; + domain: string +} export type RemoveProjectDomainQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description The domain was succesfully removed from the project */ -export type RemoveProjectDomain200 = unknown; +export type RemoveProjectDomain200 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type RemoveProjectDomain400 = unknown; +export type RemoveProjectDomain400 = unknown -export type RemoveProjectDomain401 = unknown; +export type RemoveProjectDomain401 = unknown /** * @description You do not have permission to access this resource. */ -export type RemoveProjectDomain403 = unknown; +export type RemoveProjectDomain403 = unknown -export type RemoveProjectDomain404 = unknown; +export type RemoveProjectDomain404 = unknown /** * @description The project is currently being transferred */ -export type RemoveProjectDomain409 = unknown; +export type RemoveProjectDomain409 = unknown -export type RemoveProjectDomainMutationResponse = RemoveProjectDomain200; +export type RemoveProjectDomainMutationResponse = RemoveProjectDomain200 export type RemoveProjectDomainMutation = { - Response: RemoveProjectDomain200; - PathParams: RemoveProjectDomainPathParams; - QueryParams: RemoveProjectDomainQueryParams; - Errors: - | RemoveProjectDomain400 - | RemoveProjectDomain401 - | RemoveProjectDomain403 - | RemoveProjectDomain404 - | RemoveProjectDomain409; -}; + Response: RemoveProjectDomain200 + PathParams: RemoveProjectDomainPathParams + QueryParams: RemoveProjectDomainQueryParams + Errors: RemoveProjectDomain400 | RemoveProjectDomain401 | RemoveProjectDomain403 | RemoveProjectDomain404 | RemoveProjectDomain409 +} export type AddProjectDomainPathParams = { /** * @description The unique project identifier or the project name * @type string */ - idOrName: string; -}; + idOrName: string +} export type AddProjectDomainQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description The domain was successfully added to the project */ -export type AddProjectDomain200 = unknown; +export type AddProjectDomain200 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nThe domain is not valid\nYou can\'t set both a git branch and a redirect for the domain\nThe domain can not be added because the latest production deployment for the project was not successful\nThe domain redirect is not valid\nA domain cannot redirect to itself\nYou can not set the production branch as a branch for your domain */ -export type AddProjectDomain400 = unknown; +export type AddProjectDomain400 = unknown -export type AddProjectDomain401 = unknown; +export type AddProjectDomain401 = unknown /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export type AddProjectDomain402 = unknown; +export type AddProjectDomain402 = unknown /** * @description You do not have permission to access this resource.\nYou don\'t have access to the domain you are adding */ -export type AddProjectDomain403 = unknown; +export type AddProjectDomain403 = unknown /** * @description The domain is already assigned to another Vercel project\nCannot create project domain since owner already has `domain` on their account, but it\'s not verified yet.\nCannot create project domain since owner already has `domain` on their account, and it\'s verified.\nThe domain is not allowed to be used\nThe project is currently being transferred */ -export type AddProjectDomain409 = unknown; +export type AddProjectDomain409 = unknown -export type AddProjectDomainMutationResponse = AddProjectDomain200; +export type AddProjectDomainMutationResponse = AddProjectDomain200 export type AddProjectDomainMutation = { - Response: AddProjectDomain200; - PathParams: AddProjectDomainPathParams; - QueryParams: AddProjectDomainQueryParams; - Errors: AddProjectDomain400 | AddProjectDomain401 | AddProjectDomain402 | AddProjectDomain403 | AddProjectDomain409; -}; + Response: AddProjectDomain200 + PathParams: AddProjectDomainPathParams + QueryParams: AddProjectDomainQueryParams + Errors: AddProjectDomain400 | AddProjectDomain401 | AddProjectDomain402 | AddProjectDomain403 | AddProjectDomain409 +} export type MoveProjectDomainPathParams = { /** * @description The unique project identifier or the project name * @type string */ - idOrName: string; + idOrName: string /** * @description The project domain name * @type string */ - domain: string; -}; + domain: string +} export type MoveProjectDomainQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description The domain was updated successfuly */ -export type MoveProjectDomain200 = unknown; +export type MoveProjectDomain200 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type MoveProjectDomain400 = unknown; +export type MoveProjectDomain400 = unknown -export type MoveProjectDomain401 = unknown; +export type MoveProjectDomain401 = unknown /** * @description You do not have permission to access this resource. */ -export type MoveProjectDomain403 = unknown; +export type MoveProjectDomain403 = unknown /** * @description The project is currently being transferred */ -export type MoveProjectDomain409 = unknown; +export type MoveProjectDomain409 = unknown -export type MoveProjectDomainMutationResponse = MoveProjectDomain200; +export type MoveProjectDomainMutationResponse = MoveProjectDomain200 export type MoveProjectDomainMutation = { - Response: MoveProjectDomain200; - PathParams: MoveProjectDomainPathParams; - QueryParams: MoveProjectDomainQueryParams; - Errors: MoveProjectDomain400 | MoveProjectDomain401 | MoveProjectDomain403 | MoveProjectDomain409; -}; + Response: MoveProjectDomain200 + PathParams: MoveProjectDomainPathParams + QueryParams: MoveProjectDomainQueryParams + Errors: MoveProjectDomain400 | MoveProjectDomain401 | MoveProjectDomain403 | MoveProjectDomain409 +} export type VerifyProjectDomainPathParams = { /** * @description The unique project identifier or the project name * @type string */ - idOrName: string; + idOrName: string /** * @description The domain name you want to verify * @type string */ - domain: string; -}; + domain: string +} export type VerifyProjectDomainQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description The project domain was verified successfully\nDomain is already verified */ -export type VerifyProjectDomain200 = unknown; +export type VerifyProjectDomain200 = unknown /** * @description One of the provided values in the request query is invalid.\nThere is an existing TXT record on the domain verifying it for another project\nThe domain does not have a TXT record that attempts to verify the project domain\nThe TXT record on the domain does not match the expected challenge for the project domain\nProject domain is not assigned to project */ -export type VerifyProjectDomain400 = unknown; +export type VerifyProjectDomain400 = unknown -export type VerifyProjectDomain401 = unknown; +export type VerifyProjectDomain401 = unknown /** * @description You do not have permission to access this resource. */ -export type VerifyProjectDomain403 = unknown; +export type VerifyProjectDomain403 = unknown -export type VerifyProjectDomainMutationResponse = VerifyProjectDomain200; +export type VerifyProjectDomainMutationResponse = VerifyProjectDomain200 export type VerifyProjectDomainMutation = { - Response: VerifyProjectDomain200; - PathParams: VerifyProjectDomainPathParams; - QueryParams: VerifyProjectDomainQueryParams; - Errors: VerifyProjectDomain400 | VerifyProjectDomain401 | VerifyProjectDomain403; -}; + Response: VerifyProjectDomain200 + PathParams: VerifyProjectDomainPathParams + QueryParams: VerifyProjectDomainQueryParams + Errors: VerifyProjectDomain400 | VerifyProjectDomain401 | VerifyProjectDomain403 +} export type FilterProjectEnvsPathParams = { /** * @description The unique project identifier or the project name * @type string */ - idOrName: string; -}; + idOrName: string +} export const filterProjectEnvsQueryParamsDecryptEnum = { true: 'true', - false: 'false' -} as const; + false: 'false', +} as const -export type FilterProjectEnvsQueryParamsDecryptEnum = - (typeof filterProjectEnvsQueryParamsDecryptEnum)[keyof typeof filterProjectEnvsQueryParamsDecryptEnum]; +export type FilterProjectEnvsQueryParamsDecryptEnum = (typeof filterProjectEnvsQueryParamsDecryptEnum)[keyof typeof filterProjectEnvsQueryParamsDecryptEnum] export type FilterProjectEnvsQueryParams = { /** @@ -14049,870 +14213,873 @@ export type FilterProjectEnvsQueryParams = { * @maxLength 250 * @type string | undefined */ - gitBranch?: string | undefined; + gitBranch?: string | undefined /** * @description If true, the environment variable value will be decrypted * @deprecated * @type string | undefined */ - decrypt?: FilterProjectEnvsQueryParamsDecryptEnum | undefined; + decrypt?: FilterProjectEnvsQueryParamsDecryptEnum | undefined /** * @description The source that is calling the endpoint. * @type string | undefined */ - source?: string | undefined; + source?: string | undefined /** * @description The unique custom environment identifier within the project * @type string | undefined */ - customEnvironmentId?: string | undefined; + customEnvironmentId?: string | undefined /** * @description The custom environment slug (name) within the project * @type string | undefined */ - customEnvironmentSlug?: string | undefined; + customEnvironmentSlug?: string | undefined /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description The list of environment variables for the given project */ -export type FilterProjectEnvs200 = unknown; +export type FilterProjectEnvs200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type FilterProjectEnvs400 = unknown; +export type FilterProjectEnvs400 = unknown -export type FilterProjectEnvs401 = unknown; +export type FilterProjectEnvs401 = unknown /** * @description You do not have permission to access this resource. */ -export type FilterProjectEnvs403 = unknown; +export type FilterProjectEnvs403 = unknown -export type FilterProjectEnvsQueryResponse = FilterProjectEnvs200; +export type FilterProjectEnvsQueryResponse = FilterProjectEnvs200 export type FilterProjectEnvsQuery = { - Response: FilterProjectEnvs200; - PathParams: FilterProjectEnvsPathParams; - QueryParams: FilterProjectEnvsQueryParams; - Errors: FilterProjectEnvs400 | FilterProjectEnvs401 | FilterProjectEnvs403; -}; + Response: FilterProjectEnvs200 + PathParams: FilterProjectEnvsPathParams + QueryParams: FilterProjectEnvsQueryParams + Errors: FilterProjectEnvs400 | FilterProjectEnvs401 | FilterProjectEnvs403 +} export type CreateProjectEnvPathParams = { /** * @description The unique project identifier or the project name * @type string */ - idOrName: string; -}; + idOrName: string +} export type CreateProjectEnvQueryParams = { /** * @description Allow override of environment variable if it already exists * @type string | undefined */ - upsert?: string | undefined; + upsert?: string | undefined /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description The environment variable was created successfully */ -export type CreateProjectEnv201 = unknown; +export type CreateProjectEnv201 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nThe environment variable coudn\'t be created because an ongoing update env update is already happening\nThe environment variable coudn\'t be created because project document is too large */ -export type CreateProjectEnv400 = unknown; +export type CreateProjectEnv400 = unknown -export type CreateProjectEnv401 = unknown; +export type CreateProjectEnv401 = unknown /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export type CreateProjectEnv402 = unknown; +export type CreateProjectEnv402 = unknown /** * @description You do not have permission to access this resource.\nThe environment variable cannot be created because it already exists\nAdditional permissions are required to create production environment variables */ -export type CreateProjectEnv403 = unknown; +export type CreateProjectEnv403 = unknown + +export type CreateProjectEnv404 = unknown /** * @description The project is being transfered and creating an environment variable is not possible */ -export type CreateProjectEnv409 = unknown; +export type CreateProjectEnv409 = unknown -export type CreateProjectEnvMutationResponse = CreateProjectEnv201; +export type CreateProjectEnv429 = unknown + +export type CreateProjectEnv500 = unknown + +export type CreateProjectEnvMutationResponse = CreateProjectEnv201 export type CreateProjectEnvMutation = { - Response: CreateProjectEnv201; - PathParams: CreateProjectEnvPathParams; - QueryParams: CreateProjectEnvQueryParams; - Errors: CreateProjectEnv400 | CreateProjectEnv401 | CreateProjectEnv402 | CreateProjectEnv403 | CreateProjectEnv409; -}; + Response: CreateProjectEnv201 + PathParams: CreateProjectEnvPathParams + QueryParams: CreateProjectEnvQueryParams + Errors: + | CreateProjectEnv400 + | CreateProjectEnv401 + | CreateProjectEnv402 + | CreateProjectEnv403 + | CreateProjectEnv404 + | CreateProjectEnv409 + | CreateProjectEnv429 + | CreateProjectEnv500 +} export type GetProjectEnvPathParams = { /** * @description The unique project identifier or the project name * @type string */ - idOrName: string; + idOrName: string /** * @description The unique ID for the environment variable to get the decrypted value. * @type string */ - id: string; -}; + id: string +} export type GetProjectEnvQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type GetProjectEnv200 = unknown; +export type GetProjectEnv200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type GetProjectEnv400 = unknown; +export type GetProjectEnv400 = unknown -export type GetProjectEnv401 = unknown; +export type GetProjectEnv401 = unknown /** * @description You do not have permission to access this resource. */ -export type GetProjectEnv403 = unknown; +export type GetProjectEnv403 = unknown -export type GetProjectEnvQueryResponse = GetProjectEnv200; +export type GetProjectEnvQueryResponse = GetProjectEnv200 export type GetProjectEnvQuery = { - Response: GetProjectEnv200; - PathParams: GetProjectEnvPathParams; - QueryParams: GetProjectEnvQueryParams; - Errors: GetProjectEnv400 | GetProjectEnv401 | GetProjectEnv403; -}; + Response: GetProjectEnv200 + PathParams: GetProjectEnvPathParams + QueryParams: GetProjectEnvQueryParams + Errors: GetProjectEnv400 | GetProjectEnv401 | GetProjectEnv403 +} export type RemoveProjectEnvPathParams = { /** * @description The unique project identifier or the project name * @type string */ - idOrName: string; + idOrName: string /** * @description The unique environment variable identifier * @type string */ - id: string; -}; + id: string +} export type RemoveProjectEnvQueryParams = { /** * @description The unique custom environment identifier within the project * @type string | undefined */ - customEnvironmentId?: string | undefined; + customEnvironmentId?: string | undefined /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description The environment variable was successfully removed */ -export type RemoveProjectEnv200 = unknown; +export type RemoveProjectEnv200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type RemoveProjectEnv400 = unknown; +export type RemoveProjectEnv400 = unknown -export type RemoveProjectEnv401 = unknown; +export type RemoveProjectEnv401 = unknown /** * @description You do not have permission to access this resource. */ -export type RemoveProjectEnv403 = unknown; +export type RemoveProjectEnv403 = unknown -export type RemoveProjectEnv404 = unknown; +export type RemoveProjectEnv404 = unknown /** * @description The project is being transfered and removing an environment variable is not possible */ -export type RemoveProjectEnv409 = unknown; +export type RemoveProjectEnv409 = unknown -export type RemoveProjectEnvMutationResponse = RemoveProjectEnv200; +export type RemoveProjectEnvMutationResponse = RemoveProjectEnv200 export type RemoveProjectEnvMutation = { - Response: RemoveProjectEnv200; - PathParams: RemoveProjectEnvPathParams; - QueryParams: RemoveProjectEnvQueryParams; - Errors: RemoveProjectEnv400 | RemoveProjectEnv401 | RemoveProjectEnv403 | RemoveProjectEnv404 | RemoveProjectEnv409; -}; + Response: RemoveProjectEnv200 + PathParams: RemoveProjectEnvPathParams + QueryParams: RemoveProjectEnvQueryParams + Errors: RemoveProjectEnv400 | RemoveProjectEnv401 | RemoveProjectEnv403 | RemoveProjectEnv404 | RemoveProjectEnv409 +} export type EditProjectEnvPathParams = { /** * @description The unique project identifier or the project name * @type string */ - idOrName: string; + idOrName: string /** * @description The unique environment variable identifier * @type string */ - id: string; -}; + id: string +} export type EditProjectEnvQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description The environment variable was successfully edited */ -export type EditProjectEnv200 = unknown; +export type EditProjectEnv200 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nAt least one environment variable failed validation */ -export type EditProjectEnv400 = unknown; +export type EditProjectEnv400 = unknown -export type EditProjectEnv401 = unknown; +export type EditProjectEnv401 = unknown /** * @description You do not have permission to access this resource. */ -export type EditProjectEnv403 = unknown; +export type EditProjectEnv403 = unknown + +export type EditProjectEnv404 = unknown /** * @description The project is being transfered and removing an environment variable is not possible */ -export type EditProjectEnv409 = unknown; +export type EditProjectEnv409 = unknown + +export type EditProjectEnv429 = unknown + +export type EditProjectEnv500 = unknown -export type EditProjectEnvMutationResponse = EditProjectEnv200; +export type EditProjectEnvMutationResponse = EditProjectEnv200 export type EditProjectEnvMutation = { - Response: EditProjectEnv200; - PathParams: EditProjectEnvPathParams; - QueryParams: EditProjectEnvQueryParams; - Errors: EditProjectEnv400 | EditProjectEnv401 | EditProjectEnv403 | EditProjectEnv409; -}; + Response: EditProjectEnv200 + PathParams: EditProjectEnvPathParams + QueryParams: EditProjectEnvQueryParams + Errors: EditProjectEnv400 | EditProjectEnv401 | EditProjectEnv403 | EditProjectEnv404 | EditProjectEnv409 | EditProjectEnv429 | EditProjectEnv500 +} export type GetRollingReleaseBillingStatusPathParams = { /** * @description Project ID or project name (URL-encoded) * @type string */ - idOrName: string; -}; + idOrName: string +} export type GetRollingReleaseBillingStatusQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type GetRollingReleaseBillingStatus200 = unknown; +export type GetRollingReleaseBillingStatus200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type GetRollingReleaseBillingStatus400 = unknown; +export type GetRollingReleaseBillingStatus400 = unknown -export type GetRollingReleaseBillingStatus401 = unknown; +export type GetRollingReleaseBillingStatus401 = unknown /** * @description You do not have permission to access this resource. */ -export type GetRollingReleaseBillingStatus403 = unknown; +export type GetRollingReleaseBillingStatus403 = unknown -export type GetRollingReleaseBillingStatus404 = unknown; +export type GetRollingReleaseBillingStatus404 = unknown -export type GetRollingReleaseBillingStatusQueryResponse = GetRollingReleaseBillingStatus200; +export type GetRollingReleaseBillingStatusQueryResponse = GetRollingReleaseBillingStatus200 export type GetRollingReleaseBillingStatusQuery = { - Response: GetRollingReleaseBillingStatus200; - PathParams: GetRollingReleaseBillingStatusPathParams; - QueryParams: GetRollingReleaseBillingStatusQueryParams; - Errors: - | GetRollingReleaseBillingStatus400 - | GetRollingReleaseBillingStatus401 - | GetRollingReleaseBillingStatus403 - | GetRollingReleaseBillingStatus404; -}; + Response: GetRollingReleaseBillingStatus200 + PathParams: GetRollingReleaseBillingStatusPathParams + QueryParams: GetRollingReleaseBillingStatusQueryParams + Errors: GetRollingReleaseBillingStatus400 | GetRollingReleaseBillingStatus401 | GetRollingReleaseBillingStatus403 | GetRollingReleaseBillingStatus404 +} export type GetRollingReleaseConfigPathParams = { /** * @description Project ID or project name (URL-encoded) * @type string */ - idOrName: string; -}; + idOrName: string +} export type GetRollingReleaseConfigQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type GetRollingReleaseConfig200 = unknown; +export type GetRollingReleaseConfig200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type GetRollingReleaseConfig400 = unknown; +export type GetRollingReleaseConfig400 = unknown -export type GetRollingReleaseConfig401 = unknown; +export type GetRollingReleaseConfig401 = unknown /** * @description You do not have permission to access this resource. */ -export type GetRollingReleaseConfig403 = unknown; +export type GetRollingReleaseConfig403 = unknown -export type GetRollingReleaseConfig404 = unknown; +export type GetRollingReleaseConfig404 = unknown -export type GetRollingReleaseConfigQueryResponse = GetRollingReleaseConfig200; +export type GetRollingReleaseConfigQueryResponse = GetRollingReleaseConfig200 export type GetRollingReleaseConfigQuery = { - Response: GetRollingReleaseConfig200; - PathParams: GetRollingReleaseConfigPathParams; - QueryParams: GetRollingReleaseConfigQueryParams; - Errors: - | GetRollingReleaseConfig400 - | GetRollingReleaseConfig401 - | GetRollingReleaseConfig403 - | GetRollingReleaseConfig404; -}; + Response: GetRollingReleaseConfig200 + PathParams: GetRollingReleaseConfigPathParams + QueryParams: GetRollingReleaseConfigQueryParams + Errors: GetRollingReleaseConfig400 | GetRollingReleaseConfig401 | GetRollingReleaseConfig403 | GetRollingReleaseConfig404 +} export type DeleteRollingReleaseConfigPathParams = { /** * @description Project ID or project name (URL-encoded) * @type string */ - idOrName: string; -}; + idOrName: string +} export type DeleteRollingReleaseConfigQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type DeleteRollingReleaseConfig200 = unknown; +export type DeleteRollingReleaseConfig200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type DeleteRollingReleaseConfig400 = unknown; +export type DeleteRollingReleaseConfig400 = unknown -export type DeleteRollingReleaseConfig401 = unknown; +export type DeleteRollingReleaseConfig401 = unknown /** * @description You do not have permission to access this resource. */ -export type DeleteRollingReleaseConfig403 = unknown; +export type DeleteRollingReleaseConfig403 = unknown -export type DeleteRollingReleaseConfig404 = unknown; +export type DeleteRollingReleaseConfig404 = unknown -export type DeleteRollingReleaseConfigMutationResponse = DeleteRollingReleaseConfig200; +export type DeleteRollingReleaseConfigMutationResponse = DeleteRollingReleaseConfig200 export type DeleteRollingReleaseConfigMutation = { - Response: DeleteRollingReleaseConfig200; - PathParams: DeleteRollingReleaseConfigPathParams; - QueryParams: DeleteRollingReleaseConfigQueryParams; - Errors: - | DeleteRollingReleaseConfig400 - | DeleteRollingReleaseConfig401 - | DeleteRollingReleaseConfig403 - | DeleteRollingReleaseConfig404; -}; + Response: DeleteRollingReleaseConfig200 + PathParams: DeleteRollingReleaseConfigPathParams + QueryParams: DeleteRollingReleaseConfigQueryParams + Errors: DeleteRollingReleaseConfig400 | DeleteRollingReleaseConfig401 | DeleteRollingReleaseConfig403 | DeleteRollingReleaseConfig404 +} export type UpdateRollingReleaseConfigPathParams = { /** * @description Project ID or project name (URL-encoded) * @type string */ - idOrName: string; -}; + idOrName: string +} export type UpdateRollingReleaseConfigQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type UpdateRollingReleaseConfig200 = unknown; +export type UpdateRollingReleaseConfig200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type UpdateRollingReleaseConfig400 = unknown; +export type UpdateRollingReleaseConfig400 = unknown -export type UpdateRollingReleaseConfig401 = unknown; +export type UpdateRollingReleaseConfig401 = unknown /** * @description You do not have permission to access this resource. */ -export type UpdateRollingReleaseConfig403 = unknown; +export type UpdateRollingReleaseConfig403 = unknown -export type UpdateRollingReleaseConfig404 = unknown; +export type UpdateRollingReleaseConfig404 = unknown -export type UpdateRollingReleaseConfigMutationResponse = UpdateRollingReleaseConfig200; +export type UpdateRollingReleaseConfigMutationResponse = UpdateRollingReleaseConfig200 export type UpdateRollingReleaseConfigMutation = { - Response: UpdateRollingReleaseConfig200; - PathParams: UpdateRollingReleaseConfigPathParams; - QueryParams: UpdateRollingReleaseConfigQueryParams; - Errors: - | UpdateRollingReleaseConfig400 - | UpdateRollingReleaseConfig401 - | UpdateRollingReleaseConfig403 - | UpdateRollingReleaseConfig404; -}; + Response: UpdateRollingReleaseConfig200 + PathParams: UpdateRollingReleaseConfigPathParams + QueryParams: UpdateRollingReleaseConfigQueryParams + Errors: UpdateRollingReleaseConfig400 | UpdateRollingReleaseConfig401 | UpdateRollingReleaseConfig403 | UpdateRollingReleaseConfig404 +} export type GetRollingReleasePathParams = { /** * @description Project ID or project name (URL-encoded) * @type string */ - idOrName: string; -}; + idOrName: string +} export const getRollingReleaseQueryParamsStateEnum = { ACTIVE: 'ACTIVE', COMPLETE: 'COMPLETE', - ABORTED: 'ABORTED' -} as const; + ABORTED: 'ABORTED', +} as const -export type GetRollingReleaseQueryParamsStateEnum = - (typeof getRollingReleaseQueryParamsStateEnum)[keyof typeof getRollingReleaseQueryParamsStateEnum]; +export type GetRollingReleaseQueryParamsStateEnum = (typeof getRollingReleaseQueryParamsStateEnum)[keyof typeof getRollingReleaseQueryParamsStateEnum] export type GetRollingReleaseQueryParams = { /** * @description Filter by rolling release state * @type string | undefined */ - state?: GetRollingReleaseQueryParamsStateEnum | undefined; + state?: GetRollingReleaseQueryParamsStateEnum | undefined /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type GetRollingRelease200 = unknown; +export type GetRollingRelease200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type GetRollingRelease400 = unknown; +export type GetRollingRelease400 = unknown -export type GetRollingRelease401 = unknown; +export type GetRollingRelease401 = unknown /** * @description You do not have permission to access this resource. */ -export type GetRollingRelease403 = unknown; +export type GetRollingRelease403 = unknown -export type GetRollingRelease404 = unknown; +export type GetRollingRelease404 = unknown -export type GetRollingReleaseQueryResponse = GetRollingRelease200; +export type GetRollingReleaseQueryResponse = GetRollingRelease200 export type GetRollingReleaseQuery = { - Response: GetRollingRelease200; - PathParams: GetRollingReleasePathParams; - QueryParams: GetRollingReleaseQueryParams; - Errors: GetRollingRelease400 | GetRollingRelease401 | GetRollingRelease403 | GetRollingRelease404; -}; + Response: GetRollingRelease200 + PathParams: GetRollingReleasePathParams + QueryParams: GetRollingReleaseQueryParams + Errors: GetRollingRelease400 | GetRollingRelease401 | GetRollingRelease403 | GetRollingRelease404 +} export type ApproveRollingReleaseStagePathParams = { /** * @description Project ID or project name (URL-encoded) * @type string */ - idOrName: string; -}; + idOrName: string +} export type ApproveRollingReleaseStageQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type ApproveRollingReleaseStage200 = unknown; +export type ApproveRollingReleaseStage200 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type ApproveRollingReleaseStage400 = unknown; +export type ApproveRollingReleaseStage400 = unknown -export type ApproveRollingReleaseStage401 = unknown; +export type ApproveRollingReleaseStage401 = unknown /** * @description You do not have permission to access this resource. */ -export type ApproveRollingReleaseStage403 = unknown; +export type ApproveRollingReleaseStage403 = unknown -export type ApproveRollingReleaseStage404 = unknown; +export type ApproveRollingReleaseStage404 = unknown -export type ApproveRollingReleaseStage500 = unknown; +export type ApproveRollingReleaseStage500 = unknown -export type ApproveRollingReleaseStageMutationResponse = ApproveRollingReleaseStage200; +export type ApproveRollingReleaseStageMutationResponse = ApproveRollingReleaseStage200 export type ApproveRollingReleaseStageMutation = { - Response: ApproveRollingReleaseStage200; - PathParams: ApproveRollingReleaseStagePathParams; - QueryParams: ApproveRollingReleaseStageQueryParams; + Response: ApproveRollingReleaseStage200 + PathParams: ApproveRollingReleaseStagePathParams + QueryParams: ApproveRollingReleaseStageQueryParams Errors: | ApproveRollingReleaseStage400 | ApproveRollingReleaseStage401 | ApproveRollingReleaseStage403 | ApproveRollingReleaseStage404 - | ApproveRollingReleaseStage500; -}; + | ApproveRollingReleaseStage500 +} export type CompleteRollingReleasePathParams = { /** * @description Project ID or project name (URL-encoded) * @type string */ - idOrName: string; -}; + idOrName: string +} export type CompleteRollingReleaseQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type CompleteRollingRelease200 = unknown; +export type CompleteRollingRelease200 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type CompleteRollingRelease400 = unknown; +export type CompleteRollingRelease400 = unknown -export type CompleteRollingRelease401 = unknown; +export type CompleteRollingRelease401 = unknown /** * @description You do not have permission to access this resource. */ -export type CompleteRollingRelease403 = unknown; +export type CompleteRollingRelease403 = unknown -export type CompleteRollingRelease404 = unknown; +export type CompleteRollingRelease404 = unknown -export type CompleteRollingReleaseMutationResponse = CompleteRollingRelease200; +export type CompleteRollingReleaseMutationResponse = CompleteRollingRelease200 export type CompleteRollingReleaseMutation = { - Response: CompleteRollingRelease200; - PathParams: CompleteRollingReleasePathParams; - QueryParams: CompleteRollingReleaseQueryParams; - Errors: CompleteRollingRelease400 | CompleteRollingRelease401 | CompleteRollingRelease403 | CompleteRollingRelease404; -}; + Response: CompleteRollingRelease200 + PathParams: CompleteRollingReleasePathParams + QueryParams: CompleteRollingReleaseQueryParams + Errors: CompleteRollingRelease400 | CompleteRollingRelease401 | CompleteRollingRelease403 | CompleteRollingRelease404 +} export type CreateProjectTransferRequestPathParams = { /** * @description The ID or name of the project to transfer. * @type string */ - idOrName: string; -}; + idOrName: string +} export type CreateProjectTransferRequestQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description The project transfer request has been initiated successfully. */ -export type CreateProjectTransferRequest200 = unknown; +export type CreateProjectTransferRequest200 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type CreateProjectTransferRequest400 = unknown; +export type CreateProjectTransferRequest400 = unknown -export type CreateProjectTransferRequest401 = unknown; +export type CreateProjectTransferRequest401 = unknown /** * @description You do not have permission to access this resource. */ -export type CreateProjectTransferRequest403 = unknown; +export type CreateProjectTransferRequest403 = unknown -export type CreateProjectTransferRequestMutationResponse = CreateProjectTransferRequest200; +export type CreateProjectTransferRequestMutationResponse = CreateProjectTransferRequest200 export type CreateProjectTransferRequestMutation = { - Response: CreateProjectTransferRequest200; - PathParams: CreateProjectTransferRequestPathParams; - QueryParams: CreateProjectTransferRequestQueryParams; - Errors: CreateProjectTransferRequest400 | CreateProjectTransferRequest401 | CreateProjectTransferRequest403; -}; + Response: CreateProjectTransferRequest200 + PathParams: CreateProjectTransferRequestPathParams + QueryParams: CreateProjectTransferRequestQueryParams + Errors: CreateProjectTransferRequest400 | CreateProjectTransferRequest401 | CreateProjectTransferRequest403 +} export type AcceptProjectTransferRequestPathParams = { /** * @description The code of the project transfer request. * @type string */ - code: string; -}; + code: string +} export type AcceptProjectTransferRequestQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description The project has been transferred successfully. */ -export type AcceptProjectTransferRequest202 = unknown; +export type AcceptProjectTransferRequest202 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type AcceptProjectTransferRequest400 = unknown; +export type AcceptProjectTransferRequest400 = unknown -export type AcceptProjectTransferRequest401 = unknown; +export type AcceptProjectTransferRequest401 = unknown /** * @description You do not have permission to access this resource. */ -export type AcceptProjectTransferRequest403 = unknown; +export type AcceptProjectTransferRequest403 = unknown -export type AcceptProjectTransferRequest404 = unknown; +export type AcceptProjectTransferRequest404 = unknown -export type AcceptProjectTransferRequest422 = unknown; +export type AcceptProjectTransferRequest422 = unknown -export type AcceptProjectTransferRequestMutationResponse = AcceptProjectTransferRequest202; +export type AcceptProjectTransferRequestMutationResponse = AcceptProjectTransferRequest202 export type AcceptProjectTransferRequestMutation = { - Response: AcceptProjectTransferRequest202; - PathParams: AcceptProjectTransferRequestPathParams; - QueryParams: AcceptProjectTransferRequestQueryParams; + Response: AcceptProjectTransferRequest202 + PathParams: AcceptProjectTransferRequestPathParams + QueryParams: AcceptProjectTransferRequestQueryParams Errors: | AcceptProjectTransferRequest400 | AcceptProjectTransferRequest401 | AcceptProjectTransferRequest403 | AcceptProjectTransferRequest404 - | AcceptProjectTransferRequest422; -}; + | AcceptProjectTransferRequest422 +} export type UpdateProjectProtectionBypassPathParams = { /** * @description The unique project identifier or the project name * @type string */ - idOrName: string; -}; + idOrName: string +} export type UpdateProjectProtectionBypassQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type UpdateProjectProtectionBypass200 = unknown; +export type UpdateProjectProtectionBypass200 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type UpdateProjectProtectionBypass400 = unknown; +export type UpdateProjectProtectionBypass400 = unknown -export type UpdateProjectProtectionBypass401 = unknown; +export type UpdateProjectProtectionBypass401 = unknown /** * @description You do not have permission to access this resource. */ -export type UpdateProjectProtectionBypass403 = unknown; +export type UpdateProjectProtectionBypass403 = unknown -export type UpdateProjectProtectionBypass404 = unknown; +export type UpdateProjectProtectionBypass404 = unknown -export type UpdateProjectProtectionBypass409 = unknown; +export type UpdateProjectProtectionBypass409 = unknown -export type UpdateProjectProtectionBypassMutationResponse = UpdateProjectProtectionBypass200; +export type UpdateProjectProtectionBypassMutationResponse = UpdateProjectProtectionBypass200 export type UpdateProjectProtectionBypassMutation = { - Response: UpdateProjectProtectionBypass200; - PathParams: UpdateProjectProtectionBypassPathParams; - QueryParams: UpdateProjectProtectionBypassQueryParams; + Response: UpdateProjectProtectionBypass200 + PathParams: UpdateProjectProtectionBypassPathParams + QueryParams: UpdateProjectProtectionBypassQueryParams Errors: | UpdateProjectProtectionBypass400 | UpdateProjectProtectionBypass401 | UpdateProjectProtectionBypass403 | UpdateProjectProtectionBypass404 - | UpdateProjectProtectionBypass409; -}; + | UpdateProjectProtectionBypass409 +} export type RequestPromotePathParams = { /** * @type string */ - projectId: string; + projectId: string /** * @type string */ - deploymentId: string; -}; + deploymentId: string +} export type RequestPromoteQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type RequestPromote201 = unknown; +export type RequestPromote201 = unknown -export type RequestPromote202 = unknown; +export type RequestPromote202 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type RequestPromote400 = unknown; +export type RequestPromote400 = unknown -export type RequestPromote401 = unknown; +export type RequestPromote401 = unknown /** * @description You do not have permission to access this resource. */ -export type RequestPromote403 = unknown; +export type RequestPromote403 = unknown -export type RequestPromote409 = unknown; +export type RequestPromote409 = unknown -export type RequestPromoteMutationResponse = RequestPromote201 | RequestPromote202; +export type RequestPromoteMutationResponse = RequestPromote201 | RequestPromote202 export type RequestPromoteMutation = { - Response: RequestPromote201 | RequestPromote202; - PathParams: RequestPromotePathParams; - QueryParams: RequestPromoteQueryParams; - Errors: RequestPromote400 | RequestPromote401 | RequestPromote403 | RequestPromote409; -}; + Response: RequestPromote201 | RequestPromote202 + PathParams: RequestPromotePathParams + QueryParams: RequestPromoteQueryParams + Errors: RequestPromote400 | RequestPromote401 | RequestPromote403 | RequestPromote409 +} export type ListPromoteAliasesPathParams = { /** * @type string */ - projectId: string; -}; + projectId: string +} export type ListPromoteAliasesQueryParams = { /** @@ -14920,556 +15087,546 @@ export type ListPromoteAliasesQueryParams = { * @maxLength 100 * @type number | undefined */ - limit?: number | undefined; + limit?: number | undefined /** * @description Get aliases created after this epoch timestamp. * @type number | undefined */ - since?: number | undefined; + since?: number | undefined /** * @description Get aliases created before this epoch timestamp. * @type number | undefined */ - until?: number | undefined; + until?: number | undefined /** * @description Filter results down to aliases that failed to map to the requested deployment * @type boolean | undefined */ - failedOnly?: boolean | undefined; + failedOnly?: boolean | undefined /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type ListPromoteAliases200 = unknown; +export type ListPromoteAliases200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type ListPromoteAliases400 = unknown; +export type ListPromoteAliases400 = unknown -export type ListPromoteAliases401 = unknown; +export type ListPromoteAliases401 = unknown /** * @description You do not have permission to access this resource. */ -export type ListPromoteAliases403 = unknown; +export type ListPromoteAliases403 = unknown -export type ListPromoteAliases404 = unknown; +export type ListPromoteAliases404 = unknown -export type ListPromoteAliasesQueryResponse = ListPromoteAliases200; +export type ListPromoteAliasesQueryResponse = ListPromoteAliases200 export type ListPromoteAliasesQuery = { - Response: ListPromoteAliases200; - PathParams: ListPromoteAliasesPathParams; - QueryParams: ListPromoteAliasesQueryParams; - Errors: ListPromoteAliases400 | ListPromoteAliases401 | ListPromoteAliases403 | ListPromoteAliases404; -}; + Response: ListPromoteAliases200 + PathParams: ListPromoteAliasesPathParams + QueryParams: ListPromoteAliasesQueryParams + Errors: ListPromoteAliases400 | ListPromoteAliases401 | ListPromoteAliases403 | ListPromoteAliases404 +} export type PauseProjectPathParams = { /** * @description The unique project identifier * @type string */ - projectId: string; -}; + projectId: string +} export type PauseProjectQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type PauseProject200 = unknown; +export type PauseProject200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type PauseProject400 = unknown; +export type PauseProject400 = unknown -export type PauseProject401 = unknown; +export type PauseProject401 = unknown /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export type PauseProject402 = unknown; +export type PauseProject402 = unknown /** * @description You do not have permission to access this resource. */ -export type PauseProject403 = unknown; +export type PauseProject403 = unknown -export type PauseProject500 = unknown; +export type PauseProject500 = unknown -export type PauseProjectMutationResponse = PauseProject200; +export type PauseProjectMutationResponse = PauseProject200 export type PauseProjectMutation = { - Response: PauseProject200; - PathParams: PauseProjectPathParams; - QueryParams: PauseProjectQueryParams; - Errors: PauseProject400 | PauseProject401 | PauseProject402 | PauseProject403 | PauseProject500; -}; + Response: PauseProject200 + PathParams: PauseProjectPathParams + QueryParams: PauseProjectQueryParams + Errors: PauseProject400 | PauseProject401 | PauseProject402 | PauseProject403 | PauseProject500 +} export type UnpauseProjectPathParams = { /** * @description The unique project identifier * @type string */ - projectId: string; -}; + projectId: string +} export type UnpauseProjectQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type UnpauseProject200 = unknown; +export type UnpauseProject200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type UnpauseProject400 = unknown; +export type UnpauseProject400 = unknown -export type UnpauseProject401 = unknown; +export type UnpauseProject401 = unknown /** * @description You do not have permission to access this resource. */ -export type UnpauseProject403 = unknown; +export type UnpauseProject403 = unknown -export type UnpauseProject500 = unknown; +export type UnpauseProject500 = unknown -export type UnpauseProjectMutationResponse = UnpauseProject200; +export type UnpauseProjectMutationResponse = UnpauseProject200 export type UnpauseProjectMutation = { - Response: UnpauseProject200; - PathParams: UnpauseProjectPathParams; - QueryParams: UnpauseProjectQueryParams; - Errors: UnpauseProject400 | UnpauseProject401 | UnpauseProject403 | UnpauseProject500; -}; + Response: UnpauseProject200 + PathParams: UnpauseProjectPathParams + QueryParams: UnpauseProjectQueryParams + Errors: UnpauseProject400 | UnpauseProject401 | UnpauseProject403 | UnpauseProject500 +} export type UpdateAttackChallengeModeQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type UpdateAttackChallengeMode200 = unknown; +export type UpdateAttackChallengeMode200 = unknown /** * @description One of the provided values in the request body is invalid. */ -export type UpdateAttackChallengeMode400 = unknown; +export type UpdateAttackChallengeMode400 = unknown -export type UpdateAttackChallengeMode401 = unknown; +export type UpdateAttackChallengeMode401 = unknown /** * @description You do not have permission to access this resource. */ -export type UpdateAttackChallengeMode403 = unknown; +export type UpdateAttackChallengeMode403 = unknown -export type UpdateAttackChallengeMode404 = unknown; +export type UpdateAttackChallengeMode404 = unknown -export type UpdateAttackChallengeModeMutationResponse = UpdateAttackChallengeMode200; +export type UpdateAttackChallengeModeMutationResponse = UpdateAttackChallengeMode200 export type UpdateAttackChallengeModeMutation = { - Response: UpdateAttackChallengeMode200; - QueryParams: UpdateAttackChallengeModeQueryParams; - Errors: - | UpdateAttackChallengeMode400 - | UpdateAttackChallengeMode401 - | UpdateAttackChallengeMode403 - | UpdateAttackChallengeMode404; -}; + Response: UpdateAttackChallengeMode200 + QueryParams: UpdateAttackChallengeModeQueryParams + Errors: UpdateAttackChallengeMode400 | UpdateAttackChallengeMode401 | UpdateAttackChallengeMode403 | UpdateAttackChallengeMode404 +} export type PutFirewallConfigQueryParams = { /** * @type string */ - projectId: string; + projectId: string /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type PutFirewallConfig200 = unknown; +export type PutFirewallConfig200 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type PutFirewallConfig400 = unknown; +export type PutFirewallConfig400 = unknown -export type PutFirewallConfig401 = unknown; +export type PutFirewallConfig401 = unknown -export type PutFirewallConfig402 = unknown; +export type PutFirewallConfig402 = unknown /** * @description You do not have permission to access this resource. */ -export type PutFirewallConfig403 = unknown; +export type PutFirewallConfig403 = unknown -export type PutFirewallConfig404 = unknown; +export type PutFirewallConfig404 = unknown -export type PutFirewallConfig500 = unknown; +export type PutFirewallConfig500 = unknown -export type PutFirewallConfigMutationResponse = PutFirewallConfig200; +export type PutFirewallConfigMutationResponse = PutFirewallConfig200 export type PutFirewallConfigMutation = { - Response: PutFirewallConfig200; - QueryParams: PutFirewallConfigQueryParams; - Errors: - | PutFirewallConfig400 - | PutFirewallConfig401 - | PutFirewallConfig402 - | PutFirewallConfig403 - | PutFirewallConfig404 - | PutFirewallConfig500; -}; + Response: PutFirewallConfig200 + QueryParams: PutFirewallConfigQueryParams + Errors: PutFirewallConfig400 | PutFirewallConfig401 | PutFirewallConfig402 | PutFirewallConfig403 | PutFirewallConfig404 | PutFirewallConfig500 +} export type UpdateFirewallConfigQueryParams = { /** * @type string */ - projectId: string; + projectId: string /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type UpdateFirewallConfig200 = unknown; +export type UpdateFirewallConfig200 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type UpdateFirewallConfig400 = unknown; +export type UpdateFirewallConfig400 = unknown -export type UpdateFirewallConfig401 = unknown; +export type UpdateFirewallConfig401 = unknown -export type UpdateFirewallConfig402 = unknown; +export type UpdateFirewallConfig402 = unknown /** * @description You do not have permission to access this resource. */ -export type UpdateFirewallConfig403 = unknown; +export type UpdateFirewallConfig403 = unknown -export type UpdateFirewallConfig404 = unknown; +export type UpdateFirewallConfig404 = unknown -export type UpdateFirewallConfig500 = unknown; +export type UpdateFirewallConfig500 = unknown -export type UpdateFirewallConfigMutationResponse = UpdateFirewallConfig200; +export type UpdateFirewallConfigMutationResponse = UpdateFirewallConfig200 export type UpdateFirewallConfigMutation = { - Response: UpdateFirewallConfig200; - QueryParams: UpdateFirewallConfigQueryParams; + Response: UpdateFirewallConfig200 + QueryParams: UpdateFirewallConfigQueryParams Errors: | UpdateFirewallConfig400 | UpdateFirewallConfig401 | UpdateFirewallConfig402 | UpdateFirewallConfig403 | UpdateFirewallConfig404 - | UpdateFirewallConfig500; -}; + | UpdateFirewallConfig500 +} export type GetFirewallConfigPathParams = { /** * @type string */ - configVersion: string; -}; + configVersion: string +} export type GetFirewallConfigQueryParams = { /** * @type string */ - projectId: string; + projectId: string /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description If the firewall configuration includes a [custom managed ruleset](https://vercel.com/docs/security/vercel-waf/managed-rulesets), it will include a `crs` item that has the following values: sd: Scanner Detection ma: Multipart Attack lfi: Local File Inclusion Attack rfi: Remote File Inclusion Attack rce: Remote Execution Attack php: PHP Attack gen: Generic Attack xss: XSS Attack sqli: SQL Injection Attack sf: Session Fixation Attack java: Java Attack */ -export type GetFirewallConfig200 = unknown; +export type GetFirewallConfig200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type GetFirewallConfig400 = unknown; +export type GetFirewallConfig400 = unknown -export type GetFirewallConfig401 = unknown; +export type GetFirewallConfig401 = unknown /** * @description You do not have permission to access this resource. */ -export type GetFirewallConfig403 = unknown; +export type GetFirewallConfig403 = unknown -export type GetFirewallConfig404 = unknown; +export type GetFirewallConfig404 = unknown -export type GetFirewallConfigQueryResponse = GetFirewallConfig200; +export type GetFirewallConfigQueryResponse = GetFirewallConfig200 export type GetFirewallConfigQuery = { - Response: GetFirewallConfig200; - PathParams: GetFirewallConfigPathParams; - QueryParams: GetFirewallConfigQueryParams; - Errors: GetFirewallConfig400 | GetFirewallConfig401 | GetFirewallConfig403 | GetFirewallConfig404; -}; + Response: GetFirewallConfig200 + PathParams: GetFirewallConfigPathParams + QueryParams: GetFirewallConfigQueryParams + Errors: GetFirewallConfig400 | GetFirewallConfig401 | GetFirewallConfig403 | GetFirewallConfig404 +} export type GetActiveAttackStatusQueryParams = { /** * @type string */ - projectId: string; + projectId: string /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type GetActiveAttackStatus200 = unknown; +export type GetActiveAttackStatus200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type GetActiveAttackStatus400 = unknown; +export type GetActiveAttackStatus400 = unknown -export type GetActiveAttackStatus401 = unknown; +export type GetActiveAttackStatus401 = unknown /** * @description You do not have permission to access this resource. */ -export type GetActiveAttackStatus403 = unknown; +export type GetActiveAttackStatus403 = unknown -export type GetActiveAttackStatus404 = unknown; +export type GetActiveAttackStatus404 = unknown -export type GetActiveAttackStatusQueryResponse = GetActiveAttackStatus200; +export type GetActiveAttackStatusQueryResponse = GetActiveAttackStatus200 export type GetActiveAttackStatusQuery = { - Response: GetActiveAttackStatus200; - QueryParams: GetActiveAttackStatusQueryParams; - Errors: GetActiveAttackStatus400 | GetActiveAttackStatus401 | GetActiveAttackStatus403 | GetActiveAttackStatus404; -}; + Response: GetActiveAttackStatus200 + QueryParams: GetActiveAttackStatusQueryParams + Errors: GetActiveAttackStatus400 | GetActiveAttackStatus401 | GetActiveAttackStatus403 | GetActiveAttackStatus404 +} export type GetBypassIpQueryParams = { /** * @type string */ - projectId: string; + projectId: string /** - * @maxLength 128 + * @maxLength 256 * @type number | undefined */ - limit?: number | undefined; + limit?: number | undefined /** * @description Filter by source IP * @maxLength 49 * @type string | undefined */ - sourceIp?: string | undefined; + sourceIp?: string | undefined /** * @description Filter by domain * @maxLength 2544 * @pattern ([a-z]+[a-z.]+)$ * @type string | undefined */ - domain?: string | undefined; + domain?: string | undefined /** * @description Filter by project scoped rules * @type boolean | undefined */ - projectScope?: boolean | undefined; + projectScope?: boolean | undefined /** * @description Used for pagination. Retrieves results after the provided id * @maxLength 2560 * @type string | undefined */ - offset?: string | undefined; + offset?: string | undefined /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type GetBypassIp200 = unknown; +export type GetBypassIp200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type GetBypassIp400 = unknown; +export type GetBypassIp400 = unknown -export type GetBypassIp401 = unknown; +export type GetBypassIp401 = unknown /** * @description You do not have permission to access this resource. */ -export type GetBypassIp403 = unknown; +export type GetBypassIp403 = unknown -export type GetBypassIp404 = unknown; +export type GetBypassIp404 = unknown -export type GetBypassIp500 = unknown; +export type GetBypassIp500 = unknown -export type GetBypassIpQueryResponse = GetBypassIp200; +export type GetBypassIpQueryResponse = GetBypassIp200 export type GetBypassIpQuery = { - Response: GetBypassIp200; - QueryParams: GetBypassIpQueryParams; - Errors: GetBypassIp400 | GetBypassIp401 | GetBypassIp403 | GetBypassIp404 | GetBypassIp500; -}; + Response: GetBypassIp200 + QueryParams: GetBypassIpQueryParams + Errors: GetBypassIp400 | GetBypassIp401 | GetBypassIp403 | GetBypassIp404 | GetBypassIp500 +} export type AddBypassIpQueryParams = { /** * @type string */ - projectId: string; + projectId: string /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type AddBypassIp200 = unknown; +export type AddBypassIp200 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type AddBypassIp400 = unknown; +export type AddBypassIp400 = unknown -export type AddBypassIp401 = unknown; +export type AddBypassIp401 = unknown /** * @description You do not have permission to access this resource. */ -export type AddBypassIp403 = unknown; +export type AddBypassIp403 = unknown -export type AddBypassIp404 = unknown; +export type AddBypassIp404 = unknown -export type AddBypassIp500 = unknown; +export type AddBypassIp500 = unknown -export type AddBypassIpMutationResponse = AddBypassIp200; +export type AddBypassIpMutationResponse = AddBypassIp200 export type AddBypassIpMutation = { - Response: AddBypassIp200; - QueryParams: AddBypassIpQueryParams; - Errors: AddBypassIp400 | AddBypassIp401 | AddBypassIp403 | AddBypassIp404 | AddBypassIp500; -}; + Response: AddBypassIp200 + QueryParams: AddBypassIpQueryParams + Errors: AddBypassIp400 | AddBypassIp401 | AddBypassIp403 | AddBypassIp404 | AddBypassIp500 +} export type RemoveBypassIpQueryParams = { /** * @type string */ - projectId: string; + projectId: string /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type RemoveBypassIp200 = unknown; +export type RemoveBypassIp200 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type RemoveBypassIp400 = unknown; +export type RemoveBypassIp400 = unknown -export type RemoveBypassIp401 = unknown; +export type RemoveBypassIp401 = unknown /** * @description You do not have permission to access this resource. */ -export type RemoveBypassIp403 = unknown; +export type RemoveBypassIp403 = unknown -export type RemoveBypassIp404 = unknown; +export type RemoveBypassIp404 = unknown -export type RemoveBypassIp500 = unknown; +export type RemoveBypassIp500 = unknown -export type RemoveBypassIpMutationResponse = RemoveBypassIp200; +export type RemoveBypassIpMutationResponse = RemoveBypassIp200 export type RemoveBypassIpMutation = { - Response: RemoveBypassIp200; - QueryParams: RemoveBypassIpQueryParams; - Errors: RemoveBypassIp400 | RemoveBypassIp401 | RemoveBypassIp403 | RemoveBypassIp404 | RemoveBypassIp500; -}; + Response: RemoveBypassIp200 + QueryParams: RemoveBypassIpQueryParams + Errors: RemoveBypassIp400 | RemoveBypassIp401 | RemoveBypassIp403 | RemoveBypassIp404 | RemoveBypassIp500 +} export type GetTeamMembersPathParams = { /** * @type string */ - teamId: string; -}; + teamId: string +} export const getTeamMembersQueryParamsRoleEnum = { OWNER: 'OWNER', @@ -15477,11 +15634,10 @@ export const getTeamMembersQueryParamsRoleEnum = { DEVELOPER: 'DEVELOPER', VIEWER: 'VIEWER', BILLING: 'BILLING', - CONTRIBUTOR: 'CONTRIBUTOR' -} as const; + CONTRIBUTOR: 'CONTRIBUTOR', +} as const -export type GetTeamMembersQueryParamsRoleEnum = - (typeof getTeamMembersQueryParamsRoleEnum)[keyof typeof getTeamMembersQueryParamsRoleEnum]; +export type GetTeamMembersQueryParamsRoleEnum = (typeof getTeamMembersQueryParamsRoleEnum)[keyof typeof getTeamMembersQueryParamsRoleEnum] export type GetTeamMembersQueryParams = { /** @@ -15489,1187 +15645,1176 @@ export type GetTeamMembersQueryParams = { * @minLength 1 * @type number | undefined */ - limit?: number | undefined; + limit?: number | undefined /** * @description Timestamp in milliseconds to only include members added since then. * @type number | undefined */ - since?: number | undefined; + since?: number | undefined /** * @description Timestamp in milliseconds to only include members added until then. * @type number | undefined */ - until?: number | undefined; + until?: number | undefined /** * @description Search team members by their name, username, and email. * @type string | undefined */ - search?: string | undefined; + search?: string | undefined /** * @description Only return members with the specified team role. * @type string | undefined */ - role?: GetTeamMembersQueryParamsRoleEnum | undefined; + role?: GetTeamMembersQueryParamsRoleEnum | undefined /** * @description Exclude members who belong to the specified project. * @type string | undefined */ - excludeProject?: string | undefined; + excludeProject?: string | undefined /** * @description Include team members who are eligible to be members of the specified project. * @type string | undefined */ - eligibleMembersForProjectId?: string | undefined; -}; + eligibleMembersForProjectId?: string | undefined +} -export type GetTeamMembers200 = unknown; +export type GetTeamMembers200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type GetTeamMembers400 = unknown; +export type GetTeamMembers400 = unknown -export type GetTeamMembers401 = unknown; +export type GetTeamMembers401 = unknown /** * @description You do not have permission to access this resource. */ -export type GetTeamMembers403 = unknown; +export type GetTeamMembers403 = unknown -export type GetTeamMembers404 = unknown; +export type GetTeamMembers404 = unknown -export type GetTeamMembersQueryResponse = GetTeamMembers200; +export type GetTeamMembersQueryResponse = GetTeamMembers200 export type GetTeamMembersQuery = { - Response: GetTeamMembers200; - PathParams: GetTeamMembersPathParams; - QueryParams: GetTeamMembersQueryParams; - Errors: GetTeamMembers400 | GetTeamMembers401 | GetTeamMembers403 | GetTeamMembers404; -}; + Response: GetTeamMembers200 + PathParams: GetTeamMembersPathParams + QueryParams: GetTeamMembersQueryParams + Errors: GetTeamMembers400 | GetTeamMembers401 | GetTeamMembers403 | GetTeamMembers404 +} export type InviteUserToTeamPathParams = { /** * @type string */ - teamId: string; -}; + teamId: string +} /** * @description The member was successfully added to the team */ -export type InviteUserToTeam200 = unknown; +export type InviteUserToTeam200 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nThe user already requested access to the team\nThe team reached the maximum allowed amount of members */ -export type InviteUserToTeam400 = unknown; +export type InviteUserToTeam400 = unknown -export type InviteUserToTeam401 = unknown; +export type InviteUserToTeam401 = unknown /** * @description The authenticated user must be a team owner to perform the action\nYou do not have permission to access this resource. */ -export type InviteUserToTeam403 = unknown; +export type InviteUserToTeam403 = unknown -export type InviteUserToTeam503 = unknown; +export type InviteUserToTeam503 = unknown -export type InviteUserToTeamMutationResponse = InviteUserToTeam200; +export type InviteUserToTeamMutationResponse = InviteUserToTeam200 export type InviteUserToTeamMutation = { - Response: InviteUserToTeam200; - PathParams: InviteUserToTeamPathParams; - Errors: InviteUserToTeam400 | InviteUserToTeam401 | InviteUserToTeam403 | InviteUserToTeam503; -}; + Response: InviteUserToTeam200 + PathParams: InviteUserToTeamPathParams + Errors: InviteUserToTeam400 | InviteUserToTeam401 | InviteUserToTeam403 | InviteUserToTeam503 +} export type RequestAccessToTeamPathParams = { /** * @type string */ - teamId: string; -}; + teamId: string +} /** * @description Successfuly requested access to the team. */ -export type RequestAccessToTeam200 = unknown; +export type RequestAccessToTeam200 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type RequestAccessToTeam400 = unknown; +export type RequestAccessToTeam400 = unknown -export type RequestAccessToTeam401 = unknown; +export type RequestAccessToTeam401 = unknown /** * @description You do not have permission to access this resource. */ -export type RequestAccessToTeam403 = unknown; +export type RequestAccessToTeam403 = unknown /** * @description The team was not found. */ -export type RequestAccessToTeam404 = unknown; +export type RequestAccessToTeam404 = unknown -export type RequestAccessToTeam503 = unknown; +export type RequestAccessToTeam503 = unknown -export type RequestAccessToTeamMutationResponse = RequestAccessToTeam200; +export type RequestAccessToTeamMutationResponse = RequestAccessToTeam200 export type RequestAccessToTeamMutation = { - Response: RequestAccessToTeam200; - PathParams: RequestAccessToTeamPathParams; - Errors: - | RequestAccessToTeam400 - | RequestAccessToTeam401 - | RequestAccessToTeam403 - | RequestAccessToTeam404 - | RequestAccessToTeam503; -}; + Response: RequestAccessToTeam200 + PathParams: RequestAccessToTeamPathParams + Errors: RequestAccessToTeam400 | RequestAccessToTeam401 | RequestAccessToTeam403 | RequestAccessToTeam404 | RequestAccessToTeam503 +} export type GetTeamAccessRequestPathParams = { /** * @type string */ - userId: string; + userId: string /** * @type string */ - teamId: string; -}; + teamId: string +} /** * @description Successfully */ -export type GetTeamAccessRequest200 = unknown; +export type GetTeamAccessRequest200 = unknown /** * @description One of the provided values in the request query is invalid.\nUser is already a confirmed member of the team and did not request access. Only visible when the authenticated user does have access to the team. */ -export type GetTeamAccessRequest400 = unknown; +export type GetTeamAccessRequest400 = unknown -export type GetTeamAccessRequest401 = unknown; +export type GetTeamAccessRequest401 = unknown /** * @description You do not have permission to access this resource. */ -export type GetTeamAccessRequest403 = unknown; +export type GetTeamAccessRequest403 = unknown /** * @description The provided user doesn\'t have a membership.\nTeam was not found. */ -export type GetTeamAccessRequest404 = unknown; +export type GetTeamAccessRequest404 = unknown -export type GetTeamAccessRequestQueryResponse = GetTeamAccessRequest200; +export type GetTeamAccessRequestQueryResponse = GetTeamAccessRequest200 export type GetTeamAccessRequestQuery = { - Response: GetTeamAccessRequest200; - PathParams: GetTeamAccessRequestPathParams; - Errors: GetTeamAccessRequest400 | GetTeamAccessRequest401 | GetTeamAccessRequest403 | GetTeamAccessRequest404; -}; + Response: GetTeamAccessRequest200 + PathParams: GetTeamAccessRequestPathParams + Errors: GetTeamAccessRequest400 | GetTeamAccessRequest401 | GetTeamAccessRequest403 | GetTeamAccessRequest404 +} export type JoinTeamPathParams = { /** * @type string */ - teamId: string; -}; + teamId: string +} /** * @description Successfully joined a team. */ -export type JoinTeam200 = unknown; +export type JoinTeam200 = unknown /** * @description One of the provided values in the request body is invalid. */ -export type JoinTeam400 = unknown; +export type JoinTeam400 = unknown -export type JoinTeam401 = unknown; +export type JoinTeam401 = unknown -export type JoinTeam402 = unknown; +export type JoinTeam402 = unknown /** * @description You do not have permission to access this resource. */ -export type JoinTeam403 = unknown; +export type JoinTeam403 = unknown -export type JoinTeam404 = unknown; +export type JoinTeam404 = unknown -export type JoinTeamMutationResponse = JoinTeam200; +export type JoinTeamMutationResponse = JoinTeam200 export type JoinTeamMutation = { - Response: JoinTeam200; - PathParams: JoinTeamPathParams; - Errors: JoinTeam400 | JoinTeam401 | JoinTeam402 | JoinTeam403 | JoinTeam404; -}; + Response: JoinTeam200 + PathParams: JoinTeamPathParams + Errors: JoinTeam400 | JoinTeam401 | JoinTeam402 | JoinTeam403 | JoinTeam404 +} export type UpdateTeamMemberPathParams = { /** * @description The ID of the member. * @type string */ - uid: string; + uid: string /** * @type string */ - teamId: string; -}; + teamId: string +} /** * @description Successfully updated the membership. */ -export type UpdateTeamMember200 = unknown; +export type UpdateTeamMember200 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nCannot disconnect SSO from a Team member that does not have a SSO connection.\nCannot confirm a member that is already confirmed.\nCannot confirm a member that did not request access. */ -export type UpdateTeamMember400 = unknown; +export type UpdateTeamMember400 = unknown /** * @description Team members can only be updated by an owner, or by the authenticated user if they are only disconnecting their SAML connection to the Team. */ -export type UpdateTeamMember401 = unknown; +export type UpdateTeamMember401 = unknown -export type UpdateTeamMember402 = unknown; +export type UpdateTeamMember402 = unknown /** * @description You do not have permission to access this resource. */ -export type UpdateTeamMember403 = unknown; +export type UpdateTeamMember403 = unknown /** * @description The provided user is not part of this team.\nA user with the specified ID does not exist. */ -export type UpdateTeamMember404 = unknown; +export type UpdateTeamMember404 = unknown -export type UpdateTeamMember500 = unknown; +export type UpdateTeamMember500 = unknown -export type UpdateTeamMemberMutationResponse = UpdateTeamMember200; +export type UpdateTeamMemberMutationResponse = UpdateTeamMember200 export type UpdateTeamMemberMutation = { - Response: UpdateTeamMember200; - PathParams: UpdateTeamMemberPathParams; - Errors: - | UpdateTeamMember400 - | UpdateTeamMember401 - | UpdateTeamMember402 - | UpdateTeamMember403 - | UpdateTeamMember404 - | UpdateTeamMember500; -}; + Response: UpdateTeamMember200 + PathParams: UpdateTeamMemberPathParams + Errors: UpdateTeamMember400 | UpdateTeamMember401 | UpdateTeamMember402 | UpdateTeamMember403 | UpdateTeamMember404 | UpdateTeamMember500 +} export type RemoveTeamMemberPathParams = { /** * @description The user ID of the member. * @type string */ - uid: string; + uid: string /** * @type string */ - teamId: string; -}; + teamId: string +} export type RemoveTeamMemberQueryParams = { /** * @description The ID of the team to set as the new default team for the Northstar user. * @type string | undefined */ - newDefaultTeamId?: string | undefined; -}; + newDefaultTeamId?: string | undefined +} /** * @description Successfully removed a member of the team. */ -export type RemoveTeamMember200 = unknown; +export type RemoveTeamMember200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type RemoveTeamMember400 = unknown; +export type RemoveTeamMember400 = unknown -export type RemoveTeamMember401 = unknown; +export type RemoveTeamMember401 = unknown /** * @description You do not have permission to access this resource.\nNot authorized to update the team. */ -export type RemoveTeamMember403 = unknown; +export type RemoveTeamMember403 = unknown -export type RemoveTeamMember404 = unknown; +export type RemoveTeamMember404 = unknown -export type RemoveTeamMember503 = unknown; +export type RemoveTeamMember503 = unknown -export type RemoveTeamMemberMutationResponse = RemoveTeamMember200; +export type RemoveTeamMemberMutationResponse = RemoveTeamMember200 export type RemoveTeamMemberMutation = { - Response: RemoveTeamMember200; - PathParams: RemoveTeamMemberPathParams; - QueryParams: RemoveTeamMemberQueryParams; - Errors: RemoveTeamMember400 | RemoveTeamMember401 | RemoveTeamMember403 | RemoveTeamMember404 | RemoveTeamMember503; -}; + Response: RemoveTeamMember200 + PathParams: RemoveTeamMemberPathParams + QueryParams: RemoveTeamMemberQueryParams + Errors: RemoveTeamMember400 | RemoveTeamMember401 | RemoveTeamMember403 | RemoveTeamMember404 | RemoveTeamMember503 +} export type GetTeamPathParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string */ - teamId: string; -}; + teamId: string +} export type GetTeamQueryParams = { /** * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description The requested team */ -export type GetTeam200 = unknown; +export type GetTeam200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type GetTeam400 = unknown; +export type GetTeam400 = unknown -export type GetTeam401 = unknown; +export type GetTeam401 = unknown /** * @description You do not have permission to access this resource.\nNot authorized to access the team. */ -export type GetTeam403 = unknown; +export type GetTeam403 = unknown /** * @description Team was not found. */ -export type GetTeam404 = unknown; +export type GetTeam404 = unknown -export type GetTeamQueryResponse = GetTeam200; +export type GetTeamQueryResponse = GetTeam200 export type GetTeamQuery = { - Response: GetTeam200; - PathParams: GetTeamPathParams; - QueryParams: GetTeamQueryParams; - Errors: GetTeam400 | GetTeam401 | GetTeam403 | GetTeam404; -}; + Response: GetTeam200 + PathParams: GetTeamPathParams + QueryParams: GetTeamQueryParams + Errors: GetTeam400 | GetTeam401 | GetTeam403 | GetTeam404 +} export type PatchTeamPathParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string */ - teamId: string; -}; + teamId: string +} export type PatchTeamQueryParams = { /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type PatchTeam200 = unknown; +export type PatchTeam200 = unknown /** * @description One of the provided values in the request body is invalid. */ -export type PatchTeam400 = unknown; +export type PatchTeam400 = unknown -export type PatchTeam401 = unknown; +export type PatchTeam401 = unknown /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export type PatchTeam402 = unknown; +export type PatchTeam402 = unknown /** * @description You do not have permission to access this resource.\nNot authorized to update the team. Must be an OWNER. */ -export type PatchTeam403 = unknown; +export type PatchTeam403 = unknown /** * @description Owner does not have protection add-on\nAdvanced Deployment Protection is not available for the user plan */ -export type PatchTeam428 = unknown; +export type PatchTeam428 = unknown -export type PatchTeamMutationResponse = PatchTeam200; +export type PatchTeamMutationResponse = PatchTeam200 export type PatchTeamMutation = { - Response: PatchTeam200; - PathParams: PatchTeamPathParams; - QueryParams: PatchTeamQueryParams; - Errors: PatchTeam400 | PatchTeam401 | PatchTeam402 | PatchTeam403 | PatchTeam428; -}; + Response: PatchTeam200 + PathParams: PatchTeamPathParams + QueryParams: PatchTeamQueryParams + Errors: PatchTeam400 | PatchTeam401 | PatchTeam402 | PatchTeam403 | PatchTeam428 +} export type GetTeamsQueryParams = { /** * @description Maximum number of Teams which may be returned. * @type number | undefined */ - limit?: number | undefined; + limit?: number | undefined /** * @description Timestamp (in milliseconds) to only include Teams created since then. * @type number | undefined */ - since?: number | undefined; + since?: number | undefined /** * @description Timestamp (in milliseconds) to only include Teams created until then. * @type number | undefined */ - until?: number | undefined; -}; + until?: number | undefined +} /** * @description A paginated list of teams. */ -export type GetTeams200 = unknown; +export type GetTeams200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type GetTeams400 = unknown; +export type GetTeams400 = unknown -export type GetTeams401 = unknown; +export type GetTeams401 = unknown /** * @description You do not have permission to access this resource. */ -export type GetTeams403 = unknown; +export type GetTeams403 = unknown -export type GetTeamsQueryResponse = GetTeams200; +export type GetTeamsQueryResponse = GetTeams200 export type GetTeamsQuery = { - Response: GetTeams200; - QueryParams: GetTeamsQueryParams; - Errors: GetTeams400 | GetTeams401 | GetTeams403; -}; + Response: GetTeams200 + QueryParams: GetTeamsQueryParams + Errors: GetTeams400 | GetTeams401 | GetTeams403 +} /** * @description The team was created successfully */ -export type CreateTeam200 = unknown; +export type CreateTeam200 = unknown /** * @description One of the provided values in the request body is invalid.\nThe slug is already in use */ -export type CreateTeam400 = unknown; +export type CreateTeam400 = unknown -export type CreateTeam401 = unknown; +export type CreateTeam401 = unknown /** * @description You do not have permission to access this resource. */ -export type CreateTeam403 = unknown; +export type CreateTeam403 = unknown -export type CreateTeamMutationResponse = CreateTeam200; +export type CreateTeamMutationResponse = CreateTeam200 export type CreateTeamMutation = { - Response: CreateTeam200; - Errors: CreateTeam400 | CreateTeam401 | CreateTeam403; -}; + Response: CreateTeam200 + Errors: CreateTeam400 | CreateTeam401 | CreateTeam403 +} export type DeleteTeamPathParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string */ - teamId: string; -}; + teamId: string +} export type DeleteTeamQueryParams = { /** * @description Id of the team to be set as the new default team * @type string | undefined */ - newDefaultTeamId?: string | undefined; + newDefaultTeamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description The Team was successfully deleted */ -export type DeleteTeam200 = unknown; +export type DeleteTeam200 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type DeleteTeam400 = unknown; +export type DeleteTeam400 = unknown -export type DeleteTeam401 = unknown; +export type DeleteTeam401 = unknown -export type DeleteTeam402 = unknown; +export type DeleteTeam402 = unknown /** * @description You do not have permission to access this resource.\nThe authenticated user can\'t access the team */ -export type DeleteTeam403 = unknown; +export type DeleteTeam403 = unknown -export type DeleteTeam409 = unknown; +export type DeleteTeam409 = unknown -export type DeleteTeamMutationResponse = DeleteTeam200; +export type DeleteTeamMutationResponse = DeleteTeam200 export type DeleteTeamMutation = { - Response: DeleteTeam200; - PathParams: DeleteTeamPathParams; - QueryParams: DeleteTeamQueryParams; - Errors: DeleteTeam400 | DeleteTeam401 | DeleteTeam402 | DeleteTeam403 | DeleteTeam409; -}; + Response: DeleteTeam200 + PathParams: DeleteTeamPathParams + QueryParams: DeleteTeamQueryParams + Errors: DeleteTeam400 | DeleteTeam401 | DeleteTeam402 | DeleteTeam403 | DeleteTeam409 +} export type DeleteTeamInviteCodePathParams = { /** * @description The Team invite code ID. * @type string */ - inviteId: string; + inviteId: string /** * @type string */ - teamId: string; -}; + teamId: string +} /** * @description Successfully deleted Team invite code. */ -export type DeleteTeamInviteCode200 = unknown; +export type DeleteTeamInviteCode200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type DeleteTeamInviteCode400 = unknown; +export type DeleteTeamInviteCode400 = unknown -export type DeleteTeamInviteCode401 = unknown; +export type DeleteTeamInviteCode401 = unknown /** * @description You do not have permission to access this resource.\nInvite managed by directory sync\nNot authorized to access this team. */ -export type DeleteTeamInviteCode403 = unknown; +export type DeleteTeamInviteCode403 = unknown /** * @description Team invite code not found. */ -export type DeleteTeamInviteCode404 = unknown; +export type DeleteTeamInviteCode404 = unknown -export type DeleteTeamInviteCodeMutationResponse = DeleteTeamInviteCode200; +export type DeleteTeamInviteCodeMutationResponse = DeleteTeamInviteCode200 export type DeleteTeamInviteCodeMutation = { - Response: DeleteTeamInviteCode200; - PathParams: DeleteTeamInviteCodePathParams; - Errors: DeleteTeamInviteCode400 | DeleteTeamInviteCode401 | DeleteTeamInviteCode403 | DeleteTeamInviteCode404; -}; + Response: DeleteTeamInviteCode200 + PathParams: DeleteTeamInviteCodePathParams + Errors: DeleteTeamInviteCode400 | DeleteTeamInviteCode401 | DeleteTeamInviteCode403 | DeleteTeamInviteCode404 +} export type UploadFileQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} export type UploadFileHeaderParams = { /** * @description The file size in bytes * @type number | undefined */ - 'Content-Length'?: number | undefined; + 'Content-Length'?: number | undefined /** * @description The file SHA1 used to check the integrity * @maxLength 40 * @type string | undefined */ - 'x-vercel-digest'?: string | undefined; + 'x-vercel-digest'?: string | undefined /** * @description The file SHA1 used to check the integrity * @deprecated * @maxLength 40 * @type string | undefined */ - 'x-now-digest'?: string | undefined; + 'x-now-digest'?: string | undefined /** * @description The file size as an alternative to `Content-Length` * @deprecated * @type number | undefined */ - 'x-now-size'?: number | undefined; + 'x-now-size'?: number | undefined /** * @description Shared secret token set by v0 deployments. When present and valid, the API applies an extended rate limit. * @type string | undefined */ - 'x-internal-v0-token'?: string | undefined; -}; + 'x-internal-v0-token'?: string | undefined +} /** * @description File already uploaded\nFile successfully uploaded */ -export type UploadFile200 = unknown; +export type UploadFile200 = unknown /** * @description One of the provided values in the headers is invalid\nDigest is not valid\nFile size is not valid */ -export type UploadFile400 = unknown; +export type UploadFile400 = unknown -export type UploadFile401 = unknown; +export type UploadFile401 = unknown /** * @description You do not have permission to access this resource. */ -export type UploadFile403 = unknown; +export type UploadFile403 = unknown -export type UploadFileMutationResponse = UploadFile200; +export type UploadFileMutationResponse = UploadFile200 export type UploadFileMutation = { - Response: UploadFile200; - QueryParams: UploadFileQueryParams; - HeaderParams: UploadFileHeaderParams; - Errors: UploadFile400 | UploadFile401 | UploadFile403; -}; + Response: UploadFile200 + QueryParams: UploadFileQueryParams + HeaderParams: UploadFileHeaderParams + Errors: UploadFile400 | UploadFile401 | UploadFile403 +} -export type ListAuthTokens200 = unknown; +export type ListAuthTokens200 = unknown -export type ListAuthTokens400 = unknown; +export type ListAuthTokens400 = unknown -export type ListAuthTokens401 = unknown; +export type ListAuthTokens401 = unknown /** * @description You do not have permission to access this resource. */ -export type ListAuthTokens403 = unknown; +export type ListAuthTokens403 = unknown -export type ListAuthTokensQueryResponse = ListAuthTokens200; +export type ListAuthTokensQueryResponse = ListAuthTokens200 export type ListAuthTokensQuery = { - Response: ListAuthTokens200; - Errors: ListAuthTokens400 | ListAuthTokens401 | ListAuthTokens403; -}; + Response: ListAuthTokens200 + Errors: ListAuthTokens400 | ListAuthTokens401 | ListAuthTokens403 +} export type CreateAuthTokenQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description Successful response. */ -export type CreateAuthToken200 = unknown; +export type CreateAuthToken200 = unknown /** * @description One of the provided values in the request body is invalid. */ -export type CreateAuthToken400 = unknown; +export type CreateAuthToken400 = unknown -export type CreateAuthToken401 = unknown; +export type CreateAuthToken401 = unknown /** * @description You do not have permission to access this resource. */ -export type CreateAuthToken403 = unknown; +export type CreateAuthToken403 = unknown -export type CreateAuthTokenMutationResponse = CreateAuthToken200; +export type CreateAuthTokenMutationResponse = CreateAuthToken200 export type CreateAuthTokenMutation = { - Response: CreateAuthToken200; - QueryParams: CreateAuthTokenQueryParams; - Errors: CreateAuthToken400 | CreateAuthToken401 | CreateAuthToken403; -}; + Response: CreateAuthToken200 + QueryParams: CreateAuthTokenQueryParams + Errors: CreateAuthToken400 | CreateAuthToken401 | CreateAuthToken403 +} export type GetAuthTokenPathParams = { /** * @description The identifier of the token to retrieve. The special value \\\"current\\\" may be supplied, which returns the metadata for the token that the current HTTP request is authenticated with. * @type string */ - tokenId: string; -}; + tokenId: string +} /** * @description Successful response. */ -export type GetAuthToken200 = unknown; +export type GetAuthToken200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type GetAuthToken400 = unknown; +export type GetAuthToken400 = unknown -export type GetAuthToken401 = unknown; +export type GetAuthToken401 = unknown /** * @description You do not have permission to access this resource. */ -export type GetAuthToken403 = unknown; +export type GetAuthToken403 = unknown /** * @description Token not found with the requested `tokenId`. */ -export type GetAuthToken404 = unknown; +export type GetAuthToken404 = unknown -export type GetAuthTokenQueryResponse = GetAuthToken200; +export type GetAuthTokenQueryResponse = GetAuthToken200 export type GetAuthTokenQuery = { - Response: GetAuthToken200; - PathParams: GetAuthTokenPathParams; - Errors: GetAuthToken400 | GetAuthToken401 | GetAuthToken403 | GetAuthToken404; -}; + Response: GetAuthToken200 + PathParams: GetAuthTokenPathParams + Errors: GetAuthToken400 | GetAuthToken401 | GetAuthToken403 | GetAuthToken404 +} export type DeleteAuthTokenPathParams = { /** * @description The identifier of the token to invalidate. The special value \\\"current\\\" may be supplied, which invalidates the token that the HTTP request was authenticated with. * @type string */ - tokenId: string; -}; + tokenId: string +} /** * @description Authentication token successfully deleted. */ -export type DeleteAuthToken200 = unknown; +export type DeleteAuthToken200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type DeleteAuthToken400 = unknown; +export type DeleteAuthToken400 = unknown -export type DeleteAuthToken401 = unknown; +export type DeleteAuthToken401 = unknown /** * @description You do not have permission to access this resource. */ -export type DeleteAuthToken403 = unknown; +export type DeleteAuthToken403 = unknown /** * @description Token not found with the requested `tokenId`. */ -export type DeleteAuthToken404 = unknown; +export type DeleteAuthToken404 = unknown -export type DeleteAuthTokenMutationResponse = DeleteAuthToken200; +export type DeleteAuthTokenMutationResponse = DeleteAuthToken200 export type DeleteAuthTokenMutation = { - Response: DeleteAuthToken200; - PathParams: DeleteAuthTokenPathParams; - Errors: DeleteAuthToken400 | DeleteAuthToken401 | DeleteAuthToken403 | DeleteAuthToken404; -}; + Response: DeleteAuthToken200 + PathParams: DeleteAuthTokenPathParams + Errors: DeleteAuthToken400 | DeleteAuthToken401 | DeleteAuthToken403 | DeleteAuthToken404 +} /** * @description Successful response. */ -export type GetAuthUser200 = unknown; +export type GetAuthUser200 = unknown -export type GetAuthUser400 = unknown; +export type GetAuthUser400 = unknown -export type GetAuthUser401 = unknown; +export type GetAuthUser401 = unknown /** * @description You do not have permission to access this resource. */ -export type GetAuthUser403 = unknown; +export type GetAuthUser403 = unknown -export type GetAuthUser409 = unknown; +export type GetAuthUser409 = unknown -export type GetAuthUserQueryResponse = GetAuthUser200; +export type GetAuthUserQueryResponse = GetAuthUser200 export type GetAuthUserQuery = { - Response: GetAuthUser200; - Errors: GetAuthUser400 | GetAuthUser401 | GetAuthUser403 | GetAuthUser409; -}; + Response: GetAuthUser200 + Errors: GetAuthUser400 | GetAuthUser401 | GetAuthUser403 | GetAuthUser409 +} /** * @description Response indicating that the User deletion process has been initiated, and a confirmation email has been sent. */ -export type RequestDelete202 = unknown; +export type RequestDelete202 = unknown /** * @description One of the provided values in the request body is invalid. */ -export type RequestDelete400 = unknown; +export type RequestDelete400 = unknown -export type RequestDelete401 = unknown; +export type RequestDelete401 = unknown -export type RequestDelete402 = unknown; +export type RequestDelete402 = unknown /** * @description You do not have permission to access this resource. */ -export type RequestDelete403 = unknown; +export type RequestDelete403 = unknown -export type RequestDeleteMutationResponse = RequestDelete202; +export type RequestDeleteMutationResponse = RequestDelete202 export type RequestDeleteMutation = { - Response: RequestDelete202; - Errors: RequestDelete400 | RequestDelete401 | RequestDelete402 | RequestDelete403; -}; + Response: RequestDelete202 + Errors: RequestDelete400 | RequestDelete401 | RequestDelete402 | RequestDelete403 +} export type CreateWebhookQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type CreateWebhook200 = unknown; +export type CreateWebhook200 = unknown /** * @description One of the provided values in the request body is invalid. */ -export type CreateWebhook400 = unknown; +export type CreateWebhook400 = unknown -export type CreateWebhook401 = unknown; +export type CreateWebhook401 = unknown /** * @description You do not have permission to access this resource. */ -export type CreateWebhook403 = unknown; +export type CreateWebhook403 = unknown -export type CreateWebhookMutationResponse = CreateWebhook200; +export type CreateWebhookMutationResponse = CreateWebhook200 export type CreateWebhookMutation = { - Response: CreateWebhook200; - QueryParams: CreateWebhookQueryParams; - Errors: CreateWebhook400 | CreateWebhook401 | CreateWebhook403; -}; + Response: CreateWebhook200 + QueryParams: CreateWebhookQueryParams + Errors: CreateWebhook400 | CreateWebhook401 | CreateWebhook403 +} export type GetWebhooksQueryParams = { /** * @pattern ^[a-zA-z0-9_]+$ * @type string | undefined */ - projectId?: string | undefined; + projectId?: string | undefined /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type GetWebhooks200 = unknown; +export type GetWebhooks200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type GetWebhooks400 = unknown; +export type GetWebhooks400 = unknown -export type GetWebhooks401 = unknown; +export type GetWebhooks401 = unknown /** * @description You do not have permission to access this resource. */ -export type GetWebhooks403 = unknown; +export type GetWebhooks403 = unknown -export type GetWebhooksQueryResponse = GetWebhooks200; +export type GetWebhooksQueryResponse = GetWebhooks200 export type GetWebhooksQuery = { - Response: GetWebhooks200; - QueryParams: GetWebhooksQueryParams; - Errors: GetWebhooks400 | GetWebhooks401 | GetWebhooks403; -}; + Response: GetWebhooks200 + QueryParams: GetWebhooksQueryParams + Errors: GetWebhooks400 | GetWebhooks401 | GetWebhooks403 +} export type GetWebhookPathParams = { /** * @type string */ - id: string; -}; + id: string +} export type GetWebhookQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type GetWebhook200 = unknown; +export type GetWebhook200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type GetWebhook400 = unknown; +export type GetWebhook400 = unknown -export type GetWebhook401 = unknown; +export type GetWebhook401 = unknown /** * @description You do not have permission to access this resource. */ -export type GetWebhook403 = unknown; +export type GetWebhook403 = unknown -export type GetWebhookQueryResponse = GetWebhook200; +export type GetWebhookQueryResponse = GetWebhook200 export type GetWebhookQuery = { - Response: GetWebhook200; - PathParams: GetWebhookPathParams; - QueryParams: GetWebhookQueryParams; - Errors: GetWebhook400 | GetWebhook401 | GetWebhook403; -}; + Response: GetWebhook200 + PathParams: GetWebhookPathParams + QueryParams: GetWebhookQueryParams + Errors: GetWebhook400 | GetWebhook401 | GetWebhook403 +} export type DeleteWebhookPathParams = { /** * @type string */ - id: string; -}; + id: string +} export type DeleteWebhookQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type DeleteWebhook204 = unknown; +export type DeleteWebhook204 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type DeleteWebhook400 = unknown; +export type DeleteWebhook400 = unknown -export type DeleteWebhook401 = unknown; +export type DeleteWebhook401 = unknown /** * @description You do not have permission to access this resource. */ -export type DeleteWebhook403 = unknown; +export type DeleteWebhook403 = unknown -export type DeleteWebhookMutationResponse = DeleteWebhook204; +export type DeleteWebhookMutationResponse = DeleteWebhook204 export type DeleteWebhookMutation = { - Response: DeleteWebhook204; - PathParams: DeleteWebhookPathParams; - QueryParams: DeleteWebhookQueryParams; - Errors: DeleteWebhook400 | DeleteWebhook401 | DeleteWebhook403; -}; + Response: DeleteWebhook204 + PathParams: DeleteWebhookPathParams + QueryParams: DeleteWebhookQueryParams + Errors: DeleteWebhook400 | DeleteWebhook401 | DeleteWebhook403 +} export type ListDeploymentAliasesPathParams = { /** * @description The ID of the deployment the aliases should be listed for * @type string */ - id: string; -}; + id: string +} export type ListDeploymentAliasesQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description The list of aliases assigned to the deployment */ -export type ListDeploymentAliases200 = unknown; +export type ListDeploymentAliases200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type ListDeploymentAliases400 = unknown; +export type ListDeploymentAliases400 = unknown -export type ListDeploymentAliases401 = unknown; +export type ListDeploymentAliases401 = unknown /** * @description You do not have permission to access this resource. */ -export type ListDeploymentAliases403 = unknown; +export type ListDeploymentAliases403 = unknown /** * @description The deployment was not found */ -export type ListDeploymentAliases404 = unknown; +export type ListDeploymentAliases404 = unknown -export type ListDeploymentAliasesQueryResponse = ListDeploymentAliases200; +export type ListDeploymentAliasesQueryResponse = ListDeploymentAliases200 export type ListDeploymentAliasesQuery = { - Response: ListDeploymentAliases200; - PathParams: ListDeploymentAliasesPathParams; - QueryParams: ListDeploymentAliasesQueryParams; - Errors: ListDeploymentAliases400 | ListDeploymentAliases401 | ListDeploymentAliases403 | ListDeploymentAliases404; -}; + Response: ListDeploymentAliases200 + PathParams: ListDeploymentAliasesPathParams + QueryParams: ListDeploymentAliasesQueryParams + Errors: ListDeploymentAliases400 | ListDeploymentAliases401 | ListDeploymentAliases403 | ListDeploymentAliases404 +} export type AssignAliasPathParams = { /** * @description The ID of the deployment the aliases should be listed for */ - id: string; -}; + id: string +} export type AssignAliasQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description The alias was successfully assigned to the deployment */ -export type AssignAlias200 = unknown; +export type AssignAlias200 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nThe cert for the provided alias is not ready\nThe deployment is not READY and can not be aliased\nThe supplied alias is invalid */ -export type AssignAlias400 = unknown; +export type AssignAlias400 = unknown -export type AssignAlias401 = unknown; +export type AssignAlias401 = unknown /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export type AssignAlias402 = unknown; +export type AssignAlias402 = unknown /** * @description You do not have permission to access this resource.\nIf no .vercel.app alias exists then we fail (nothing to mirror) */ -export type AssignAlias403 = unknown; +export type AssignAlias403 = unknown /** * @description The domain used for the alias was not found\nThe deployment was not found */ -export type AssignAlias404 = unknown; +export type AssignAlias404 = unknown /** * @description The provided alias is already assigned to the given deployment\nThe domain is not allowed to be used */ -export type AssignAlias409 = unknown; +export type AssignAlias409 = unknown -export type AssignAliasMutationResponse = AssignAlias200; +export type AssignAliasMutationResponse = AssignAlias200 export type AssignAliasMutation = { - Response: AssignAlias200; - PathParams: AssignAliasPathParams; - QueryParams: AssignAliasQueryParams; - Errors: AssignAlias400 | AssignAlias401 | AssignAlias402 | AssignAlias403 | AssignAlias404 | AssignAlias409; -}; + Response: AssignAlias200 + PathParams: AssignAliasPathParams + QueryParams: AssignAliasQueryParams + Errors: AssignAlias400 | AssignAlias401 | AssignAlias402 | AssignAlias403 | AssignAlias404 | AssignAlias409 +} export type ListAliasesQueryParams = { /** * @description Get only aliases of the given domain name */ - domain?: (string[] | string) | undefined; + domain?: (string[] | string) | undefined /** * @description Get only aliases created after the provided timestamp * @deprecated * @type number | undefined */ - from?: number | undefined; + from?: number | undefined /** * @description Maximum number of aliases to list from a request * @type number | undefined */ - limit?: number | undefined; + limit?: number | undefined /** * @description Filter aliases from the given `projectId` * @type string | undefined */ - projectId?: string | undefined; + projectId?: string | undefined /** * @description Get aliases created after this JavaScript timestamp * @type number | undefined */ - since?: number | undefined; + since?: number | undefined /** * @description Get aliases created before this JavaScript timestamp * @type number | undefined */ - until?: number | undefined; + until?: number | undefined /** * @description Get aliases that would be rolled back for the given deployment * @type string | undefined */ - rollbackDeploymentId?: string | undefined; + rollbackDeploymentId?: string | undefined /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description The paginated list of aliases */ -export type ListAliases200 = unknown; +export type ListAliases200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type ListAliases400 = unknown; +export type ListAliases400 = unknown -export type ListAliases401 = unknown; +export type ListAliases401 = unknown /** * @description You do not have permission to access this resource. */ -export type ListAliases403 = unknown; +export type ListAliases403 = unknown -export type ListAliases404 = unknown; +export type ListAliases404 = unknown -export type ListAliasesQueryResponse = ListAliases200; +export type ListAliasesQueryResponse = ListAliases200 export type ListAliasesQuery = { - Response: ListAliases200; - QueryParams: ListAliasesQueryParams; - Errors: ListAliases400 | ListAliases401 | ListAliases403 | ListAliases404; -}; + Response: ListAliases200 + QueryParams: ListAliasesQueryParams + Errors: ListAliases400 | ListAliases401 | ListAliases403 | ListAliases404 +} export type GetAliasPathParams = { /** * @description The alias or alias ID to be retrieved * @type string */ - idOrAlias: string; -}; + idOrAlias: string +} export type GetAliasQueryParams = { /** @@ -16677,165 +16822,165 @@ export type GetAliasQueryParams = { * @deprecated * @type number | undefined */ - from?: number | undefined; + from?: number | undefined /** * @description Get the alias only if it is assigned to the provided project ID * @type string | undefined */ - projectId?: string | undefined; + projectId?: string | undefined /** * @description Get the alias only if it was created after this JavaScript timestamp * @type number | undefined */ - since?: number | undefined; + since?: number | undefined /** * @description Get the alias only if it was created before this JavaScript timestamp * @type number | undefined */ - until?: number | undefined; + until?: number | undefined /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description The alias information */ -export type GetAlias200 = unknown; +export type GetAlias200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type GetAlias400 = unknown; +export type GetAlias400 = unknown -export type GetAlias401 = unknown; +export type GetAlias401 = unknown /** * @description You do not have permission to access this resource. */ -export type GetAlias403 = unknown; +export type GetAlias403 = unknown /** * @description The alias was not found */ -export type GetAlias404 = unknown; +export type GetAlias404 = unknown -export type GetAliasQueryResponse = GetAlias200; +export type GetAliasQueryResponse = GetAlias200 export type GetAliasQuery = { - Response: GetAlias200; - PathParams: GetAliasPathParams; - QueryParams: GetAliasQueryParams; - Errors: GetAlias400 | GetAlias401 | GetAlias403 | GetAlias404; -}; + Response: GetAlias200 + PathParams: GetAliasPathParams + QueryParams: GetAliasQueryParams + Errors: GetAlias400 | GetAlias401 | GetAlias403 | GetAlias404 +} export type DeleteAliasPathParams = { /** * @description The ID or alias that will be removed */ - aliasId: string; -}; + aliasId: string +} export type DeleteAliasQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description The alias was successfully removed */ -export type DeleteAlias200 = unknown; +export type DeleteAlias200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type DeleteAlias400 = unknown; +export type DeleteAlias400 = unknown -export type DeleteAlias401 = unknown; +export type DeleteAlias401 = unknown /** * @description You do not have permission to access this resource. */ -export type DeleteAlias403 = unknown; +export type DeleteAlias403 = unknown /** * @description The alias was not found */ -export type DeleteAlias404 = unknown; +export type DeleteAlias404 = unknown -export type DeleteAliasMutationResponse = DeleteAlias200; +export type DeleteAliasMutationResponse = DeleteAlias200 export type DeleteAliasMutation = { - Response: DeleteAlias200; - PathParams: DeleteAliasPathParams; - QueryParams: DeleteAliasQueryParams; - Errors: DeleteAlias400 | DeleteAlias401 | DeleteAlias403 | DeleteAlias404; -}; + Response: DeleteAlias200 + PathParams: DeleteAliasPathParams + QueryParams: DeleteAliasQueryParams + Errors: DeleteAlias400 | DeleteAlias401 | DeleteAlias403 | DeleteAlias404 +} export type PatchUrlProtectionBypassPathParams = { /** * @description The alias or deployment ID * @type string */ - id: string; -}; + id: string +} export type PatchUrlProtectionBypassQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type PatchUrlProtectionBypass200 = unknown; +export type PatchUrlProtectionBypass200 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type PatchUrlProtectionBypass400 = unknown; +export type PatchUrlProtectionBypass400 = unknown -export type PatchUrlProtectionBypass401 = unknown; +export type PatchUrlProtectionBypass401 = unknown /** * @description You do not have permission to access this resource. */ -export type PatchUrlProtectionBypass403 = unknown; +export type PatchUrlProtectionBypass403 = unknown -export type PatchUrlProtectionBypass404 = unknown; +export type PatchUrlProtectionBypass404 = unknown -export type PatchUrlProtectionBypass409 = unknown; +export type PatchUrlProtectionBypass409 = unknown -export type PatchUrlProtectionBypass428 = unknown; +export type PatchUrlProtectionBypass428 = unknown -export type PatchUrlProtectionBypass500 = unknown; +export type PatchUrlProtectionBypass500 = unknown -export type PatchUrlProtectionBypassMutationResponse = PatchUrlProtectionBypass200; +export type PatchUrlProtectionBypassMutationResponse = PatchUrlProtectionBypass200 export type PatchUrlProtectionBypassMutation = { - Response: PatchUrlProtectionBypass200; - PathParams: PatchUrlProtectionBypassPathParams; - QueryParams: PatchUrlProtectionBypassQueryParams; + Response: PatchUrlProtectionBypass200 + PathParams: PatchUrlProtectionBypassPathParams + QueryParams: PatchUrlProtectionBypassQueryParams Errors: | PatchUrlProtectionBypass400 | PatchUrlProtectionBypass401 @@ -16843,486 +16988,486 @@ export type PatchUrlProtectionBypassMutation = { | PatchUrlProtectionBypass404 | PatchUrlProtectionBypass409 | PatchUrlProtectionBypass428 - | PatchUrlProtectionBypass500; -}; + | PatchUrlProtectionBypass500 +} -export type ListCerts200 = unknown; +export type ListCerts200 = unknown -export type ListCerts400 = unknown; +export type ListCerts400 = unknown -export type ListCerts401 = unknown; +export type ListCerts401 = unknown /** * @description You do not have permission to access this resource. */ -export type ListCerts403 = unknown; +export type ListCerts403 = unknown -export type ListCertsQueryResponse = ListCerts200; +export type ListCertsQueryResponse = ListCerts200 export type ListCertsQuery = { - Response: ListCerts200; - Errors: ListCerts400 | ListCerts401 | ListCerts403; -}; + Response: ListCerts200 + Errors: ListCerts400 | ListCerts401 | ListCerts403 +} export type GetCertByIdPathParams = { /** * @description The cert id * @type string */ - id: string; -}; + id: string +} export type GetCertByIdQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type GetCertById200 = unknown; +export type GetCertById200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type GetCertById400 = unknown; +export type GetCertById400 = unknown -export type GetCertById401 = unknown; +export type GetCertById401 = unknown /** * @description You do not have permission to access this resource. */ -export type GetCertById403 = unknown; +export type GetCertById403 = unknown -export type GetCertById404 = unknown; +export type GetCertById404 = unknown -export type GetCertByIdQueryResponse = GetCertById200; +export type GetCertByIdQueryResponse = GetCertById200 export type GetCertByIdQuery = { - Response: GetCertById200; - PathParams: GetCertByIdPathParams; - QueryParams: GetCertByIdQueryParams; - Errors: GetCertById400 | GetCertById401 | GetCertById403 | GetCertById404; -}; + Response: GetCertById200 + PathParams: GetCertByIdPathParams + QueryParams: GetCertByIdQueryParams + Errors: GetCertById400 | GetCertById401 | GetCertById403 | GetCertById404 +} export type RemoveCertPathParams = { /** * @description The cert id to remove * @type string */ - id: string; -}; + id: string +} export type RemoveCertQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type RemoveCert200 = unknown; +export type RemoveCert200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type RemoveCert400 = unknown; +export type RemoveCert400 = unknown -export type RemoveCert401 = unknown; +export type RemoveCert401 = unknown /** * @description You do not have permission to access this resource. */ -export type RemoveCert403 = unknown; +export type RemoveCert403 = unknown -export type RemoveCert404 = unknown; +export type RemoveCert404 = unknown -export type RemoveCertMutationResponse = RemoveCert200; +export type RemoveCertMutationResponse = RemoveCert200 export type RemoveCertMutation = { - Response: RemoveCert200; - PathParams: RemoveCertPathParams; - QueryParams: RemoveCertQueryParams; - Errors: RemoveCert400 | RemoveCert401 | RemoveCert403 | RemoveCert404; -}; + Response: RemoveCert200 + PathParams: RemoveCertPathParams + QueryParams: RemoveCertQueryParams + Errors: RemoveCert400 | RemoveCert401 | RemoveCert403 | RemoveCert404 +} export type IssueCertQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type IssueCert200 = unknown; +export type IssueCert200 = unknown /** * @description One of the provided values in the request body is invalid. */ -export type IssueCert400 = unknown; +export type IssueCert400 = unknown -export type IssueCert401 = unknown; +export type IssueCert401 = unknown /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export type IssueCert402 = unknown; +export type IssueCert402 = unknown /** * @description You do not have permission to access this resource. */ -export type IssueCert403 = unknown; +export type IssueCert403 = unknown -export type IssueCert404 = unknown; +export type IssueCert404 = unknown -export type IssueCert449 = unknown; +export type IssueCert449 = unknown -export type IssueCert500 = unknown; +export type IssueCert500 = unknown -export type IssueCertMutationResponse = IssueCert200; +export type IssueCertMutationResponse = IssueCert200 export type IssueCertMutation = { - Response: IssueCert200; - QueryParams: IssueCertQueryParams; - Errors: IssueCert400 | IssueCert401 | IssueCert402 | IssueCert403 | IssueCert404 | IssueCert449 | IssueCert500; -}; + Response: IssueCert200 + QueryParams: IssueCertQueryParams + Errors: IssueCert400 | IssueCert401 | IssueCert402 | IssueCert403 | IssueCert404 | IssueCert449 | IssueCert500 +} export type UploadCertQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type UploadCert200 = unknown; +export type UploadCert200 = unknown /** * @description One of the provided values in the request body is invalid. */ -export type UploadCert400 = unknown; +export type UploadCert400 = unknown -export type UploadCert401 = unknown; +export type UploadCert401 = unknown /** * @description This feature is only available for Enterprise customers. */ -export type UploadCert402 = unknown; +export type UploadCert402 = unknown /** * @description You do not have permission to access this resource. */ -export type UploadCert403 = unknown; +export type UploadCert403 = unknown -export type UploadCertMutationResponse = UploadCert200; +export type UploadCertMutationResponse = UploadCert200 export type UploadCertMutation = { - Response: UploadCert200; - QueryParams: UploadCertQueryParams; - Errors: UploadCert400 | UploadCert401 | UploadCert402 | UploadCert403; -}; + Response: UploadCert200 + QueryParams: UploadCertQueryParams + Errors: UploadCert400 | UploadCert401 | UploadCert402 | UploadCert403 +} export type ListDeploymentFilesPathParams = { /** * @description The unique deployment identifier * @type string */ - id: string; -}; + id: string +} export type ListDeploymentFilesQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description Retrieved the file tree successfully */ -export type ListDeploymentFiles200 = unknown; +export type ListDeploymentFiles200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type ListDeploymentFiles400 = unknown; +export type ListDeploymentFiles400 = unknown -export type ListDeploymentFiles401 = unknown; +export type ListDeploymentFiles401 = unknown /** * @description You do not have permission to access this resource. */ -export type ListDeploymentFiles403 = unknown; +export type ListDeploymentFiles403 = unknown /** * @description File tree not found\nDeployment not found */ -export type ListDeploymentFiles404 = unknown; +export type ListDeploymentFiles404 = unknown -export type ListDeploymentFilesQueryResponse = ListDeploymentFiles200; +export type ListDeploymentFilesQueryResponse = ListDeploymentFiles200 export type ListDeploymentFilesQuery = { - Response: ListDeploymentFiles200; - PathParams: ListDeploymentFilesPathParams; - QueryParams: ListDeploymentFilesQueryParams; - Errors: ListDeploymentFiles400 | ListDeploymentFiles401 | ListDeploymentFiles403 | ListDeploymentFiles404; -}; + Response: ListDeploymentFiles200 + PathParams: ListDeploymentFilesPathParams + QueryParams: ListDeploymentFilesQueryParams + Errors: ListDeploymentFiles400 | ListDeploymentFiles401 | ListDeploymentFiles403 | ListDeploymentFiles404 +} export type GetDeploymentFileContentsPathParams = { /** * @description The unique deployment identifier * @type string */ - id: string; + id: string /** * @description The unique file identifier * @type string */ - fileId: string; -}; + fileId: string +} export type GetDeploymentFileContentsQueryParams = { /** * @description Path to the file to fetch (only for Git deployments) * @type string | undefined */ - path?: string | undefined; + path?: string | undefined /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description One of the provided values in the request query is invalid. */ -export type GetDeploymentFileContents400 = unknown; +export type GetDeploymentFileContents400 = unknown -export type GetDeploymentFileContents401 = unknown; +export type GetDeploymentFileContents401 = unknown /** * @description You do not have permission to access this resource. */ -export type GetDeploymentFileContents403 = unknown; +export type GetDeploymentFileContents403 = unknown /** * @description File not found\nDeployment not found */ -export type GetDeploymentFileContents404 = unknown; +export type GetDeploymentFileContents404 = unknown /** * @description Invalid API version. */ -export type GetDeploymentFileContents410 = unknown; +export type GetDeploymentFileContents410 = unknown -export type GetDeploymentFileContentsQueryResponse = any; +export type GetDeploymentFileContentsQueryResponse = any export type GetDeploymentFileContentsQuery = { - Response: any; - PathParams: GetDeploymentFileContentsPathParams; - QueryParams: GetDeploymentFileContentsQueryParams; + Response: any + PathParams: GetDeploymentFileContentsPathParams + QueryParams: GetDeploymentFileContentsQueryParams Errors: | GetDeploymentFileContents400 | GetDeploymentFileContents401 | GetDeploymentFileContents403 | GetDeploymentFileContents404 - | GetDeploymentFileContents410; -}; + | GetDeploymentFileContents410 +} export type GetDeploymentsQueryParams = { /** * @description Name of the deployment. * @type string | undefined */ - app?: string | undefined; + app?: string | undefined /** * @description Gets the deployment created after this Date timestamp. (default: current time) * @deprecated * @type number | undefined */ - from?: number | undefined; + from?: number | undefined /** * @description Maximum number of deployments to list from a request. * @type number | undefined */ - limit?: number | undefined; + limit?: number | undefined /** * @description Filter deployments from the given ID or name. * @type string | undefined */ - projectId?: string | undefined; + projectId?: string | undefined /** * @description Filter deployments based on the environment. * @type string | undefined */ - target?: string | undefined; + target?: string | undefined /** * @description Gets the deployment created before this Date timestamp. (default: current time) * @deprecated * @type number | undefined */ - to?: number | undefined; + to?: number | undefined /** * @description Filter out deployments based on users who have created the deployment. * @type string | undefined */ - users?: string | undefined; + users?: string | undefined /** * @description Get Deployments created after this JavaScript timestamp. * @type number | undefined */ - since?: number | undefined; + since?: number | undefined /** * @description Get Deployments created before this JavaScript timestamp. * @type number | undefined */ - until?: number | undefined; + until?: number | undefined /** * @description Filter deployments based on their state (`BUILDING`, `ERROR`, `INITIALIZING`, `QUEUED`, `READY`, `CANCELED`) * @type string | undefined */ - state?: string | undefined; + state?: string | undefined /** * @description Filter deployments based on their rollback candidacy * @type boolean | undefined */ - rollbackCandidate?: boolean | undefined; + rollbackCandidate?: boolean | undefined /** * @description Filter deployments based on the branch name * @type string | undefined */ - branch?: string | undefined; + branch?: string | undefined /** * @description Filter deployments based on the SHA * @type string | undefined */ - sha?: string | undefined; + sha?: string | undefined /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type GetDeployments200 = unknown; +export type GetDeployments200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type GetDeployments400 = unknown; +export type GetDeployments400 = unknown -export type GetDeployments401 = unknown; +export type GetDeployments401 = unknown /** * @description You do not have permission to access this resource. */ -export type GetDeployments403 = unknown; +export type GetDeployments403 = unknown -export type GetDeployments404 = unknown; +export type GetDeployments404 = unknown -export type GetDeployments422 = unknown; +export type GetDeployments422 = unknown -export type GetDeploymentsQueryResponse = GetDeployments200; +export type GetDeploymentsQueryResponse = GetDeployments200 export type GetDeploymentsQuery = { - Response: GetDeployments200; - QueryParams: GetDeploymentsQueryParams; - Errors: GetDeployments400 | GetDeployments401 | GetDeployments403 | GetDeployments404 | GetDeployments422; -}; + Response: GetDeployments200 + QueryParams: GetDeploymentsQueryParams + Errors: GetDeployments400 | GetDeployments401 | GetDeployments403 | GetDeployments404 | GetDeployments422 +} export type DeleteDeploymentPathParams = { /** * @description The ID of the deployment to be deleted * @type string */ - id: string; -}; + id: string +} export type DeleteDeploymentQueryParams = { /** * @description A Deployment or Alias URL. In case it is passed, the ID will be ignored * @type string | undefined */ - url?: string | undefined; + url?: string | undefined /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description The deployment was successfully deleted */ -export type DeleteDeployment200 = unknown; +export type DeleteDeployment200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type DeleteDeployment400 = unknown; +export type DeleteDeployment400 = unknown -export type DeleteDeployment401 = unknown; +export type DeleteDeployment401 = unknown /** * @description You do not have permission to access this resource. */ -export type DeleteDeployment403 = unknown; +export type DeleteDeployment403 = unknown /** * @description The deployment was not found */ -export type DeleteDeployment404 = unknown; +export type DeleteDeployment404 = unknown -export type DeleteDeploymentMutationResponse = DeleteDeployment200; +export type DeleteDeploymentMutationResponse = DeleteDeployment200 export type DeleteDeploymentMutation = { - Response: DeleteDeployment200; - PathParams: DeleteDeploymentPathParams; - QueryParams: DeleteDeploymentQueryParams; - Errors: DeleteDeployment400 | DeleteDeployment401 | DeleteDeployment403 | DeleteDeployment404; -}; + Response: DeleteDeployment200 + PathParams: DeleteDeploymentPathParams + QueryParams: DeleteDeploymentQueryParams + Errors: DeleteDeployment400 | DeleteDeployment401 | DeleteDeployment403 | DeleteDeployment404 +} export type GetSecretsQueryParams = { /** @@ -17330,257 +17475,256 @@ export type GetSecretsQueryParams = { * @deprecated * @type string | undefined */ - id?: string | undefined; + id?: string | undefined /** * @description Filter out secrets that belong to a project. * @deprecated * @type string | undefined */ - projectId?: string | undefined; + projectId?: string | undefined /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description Successful response retrieving a list of secrets. */ -export type GetSecrets200 = unknown; +export type GetSecrets200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type GetSecrets400 = unknown; +export type GetSecrets400 = unknown -export type GetSecrets401 = unknown; +export type GetSecrets401 = unknown /** * @description You do not have permission to access this resource. */ -export type GetSecrets403 = unknown; +export type GetSecrets403 = unknown -export type GetSecrets410 = unknown; +export type GetSecrets410 = unknown -export type GetSecretsQueryResponse = GetSecrets200; +export type GetSecretsQueryResponse = GetSecrets200 export type GetSecretsQuery = { - Response: GetSecrets200; - QueryParams: GetSecretsQueryParams; - Errors: GetSecrets400 | GetSecrets401 | GetSecrets403 | GetSecrets410; -}; + Response: GetSecrets200 + QueryParams: GetSecretsQueryParams + Errors: GetSecrets400 | GetSecrets401 | GetSecrets403 | GetSecrets410 +} export type CreateSecretPathParams = { /** * @type string */ - name: string; -}; + name: string +} export type CreateSecretQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description Successful response showing the created secret. */ -export type CreateSecret200 = unknown; +export type CreateSecret200 = unknown /** * @description One of the provided values in the request body is invalid. */ -export type CreateSecret400 = unknown; +export type CreateSecret400 = unknown -export type CreateSecret401 = unknown; +export type CreateSecret401 = unknown /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export type CreateSecret402 = unknown; +export type CreateSecret402 = unknown /** * @description You do not have permission to access this resource. */ -export type CreateSecret403 = unknown; +export type CreateSecret403 = unknown -export type CreateSecret410 = unknown; +export type CreateSecret410 = unknown -export type CreateSecretMutationResponse = CreateSecret200; +export type CreateSecretMutationResponse = CreateSecret200 export type CreateSecretMutation = { - Response: CreateSecret200; - PathParams: CreateSecretPathParams; - QueryParams: CreateSecretQueryParams; - Errors: CreateSecret400 | CreateSecret401 | CreateSecret402 | CreateSecret403 | CreateSecret410; -}; + Response: CreateSecret200 + PathParams: CreateSecretPathParams + QueryParams: CreateSecretQueryParams + Errors: CreateSecret400 | CreateSecret401 | CreateSecret402 | CreateSecret403 | CreateSecret410 +} export type RenameSecretPathParams = { /** * @description The name of the secret. * @type string */ - name: string; -}; + name: string +} export type RenameSecretQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type RenameSecret200 = unknown; +export type RenameSecret200 = unknown /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type RenameSecret400 = unknown; +export type RenameSecret400 = unknown -export type RenameSecret401 = unknown; +export type RenameSecret401 = unknown /** * @description You do not have permission to access this resource. */ -export type RenameSecret403 = unknown; +export type RenameSecret403 = unknown -export type RenameSecret410 = unknown; +export type RenameSecret410 = unknown -export type RenameSecretMutationResponse = RenameSecret200; +export type RenameSecretMutationResponse = RenameSecret200 export type RenameSecretMutation = { - Response: RenameSecret200; - PathParams: RenameSecretPathParams; - QueryParams: RenameSecretQueryParams; - Errors: RenameSecret400 | RenameSecret401 | RenameSecret403 | RenameSecret410; -}; + Response: RenameSecret200 + PathParams: RenameSecretPathParams + QueryParams: RenameSecretQueryParams + Errors: RenameSecret400 | RenameSecret401 | RenameSecret403 | RenameSecret410 +} export type GetSecretPathParams = { /** * @description The name or the unique identifier to which the secret belongs to. * @type string */ - idOrName: string; -}; + idOrName: string +} export const getSecretQueryParamsDecryptEnum = { true: 'true', - false: 'false' -} as const; + false: 'false', +} as const -export type GetSecretQueryParamsDecryptEnum = - (typeof getSecretQueryParamsDecryptEnum)[keyof typeof getSecretQueryParamsDecryptEnum]; +export type GetSecretQueryParamsDecryptEnum = (typeof getSecretQueryParamsDecryptEnum)[keyof typeof getSecretQueryParamsDecryptEnum] export type GetSecretQueryParams = { /** * @description Whether to try to decrypt the value of the secret. Only works if `decryptable` has been set to `true` when the secret was created. * @type string | undefined */ - decrypt?: GetSecretQueryParamsDecryptEnum | undefined; + decrypt?: GetSecretQueryParamsDecryptEnum | undefined /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} /** * @description Successful response retrieving a secret. */ -export type GetSecret200 = unknown; +export type GetSecret200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type GetSecret400 = unknown; +export type GetSecret400 = unknown -export type GetSecret401 = unknown; +export type GetSecret401 = unknown /** * @description You do not have permission to access this resource. */ -export type GetSecret403 = unknown; +export type GetSecret403 = unknown -export type GetSecret404 = unknown; +export type GetSecret404 = unknown -export type GetSecret410 = unknown; +export type GetSecret410 = unknown -export type GetSecretQueryResponse = GetSecret200; +export type GetSecretQueryResponse = GetSecret200 export type GetSecretQuery = { - Response: GetSecret200; - PathParams: GetSecretPathParams; - QueryParams: GetSecretQueryParams; - Errors: GetSecret400 | GetSecret401 | GetSecret403 | GetSecret404 | GetSecret410; -}; + Response: GetSecret200 + PathParams: GetSecretPathParams + QueryParams: GetSecretQueryParams + Errors: GetSecret400 | GetSecret401 | GetSecret403 | GetSecret404 | GetSecret410 +} export type DeleteSecretPathParams = { /** * @description The name or the unique identifier to which the secret belongs to. * @type string */ - idOrName: string; -}; + idOrName: string +} export type DeleteSecretQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined; + teamId?: string | undefined /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined; -}; + slug?: string | undefined +} -export type DeleteSecret200 = unknown; +export type DeleteSecret200 = unknown /** * @description One of the provided values in the request query is invalid. */ -export type DeleteSecret400 = unknown; +export type DeleteSecret400 = unknown -export type DeleteSecret401 = unknown; +export type DeleteSecret401 = unknown /** * @description You do not have permission to access this resource. */ -export type DeleteSecret403 = unknown; +export type DeleteSecret403 = unknown -export type DeleteSecret410 = unknown; +export type DeleteSecret410 = unknown -export type DeleteSecretMutationResponse = DeleteSecret200; +export type DeleteSecretMutationResponse = DeleteSecret200 export type DeleteSecretMutation = { - Response: DeleteSecret200; - PathParams: DeleteSecretPathParams; - QueryParams: DeleteSecretQueryParams; - Errors: DeleteSecret400 | DeleteSecret401 | DeleteSecret403 | DeleteSecret410; -}; + Response: DeleteSecret200 + PathParams: DeleteSecretPathParams + QueryParams: DeleteSecretQueryParams + Errors: DeleteSecret400 | DeleteSecret401 | DeleteSecret403 | DeleteSecret410 +} \ No newline at end of file From f7e624bbf46c0780fdd774f0dc21b4723e024481 Mon Sep 17 00:00:00 2001 From: Alexis Rico Date: Wed, 27 Aug 2025 23:26:41 +0200 Subject: [PATCH 3/3] Apply format Signed-off-by: Alexis Rico --- packages/vercel-api-js/package.json | 4 +- .../vercel-api-js/src/generated/components.ts | 3474 +++--- packages/vercel-api-js/src/generated/mcp.ts | 5176 +++++---- .../vercel-api-js/src/generated/schemas.ts | 5420 +++++---- packages/vercel-api-js/src/generated/types.ts | 9823 +++++++++-------- 5 files changed, 12889 insertions(+), 11008 deletions(-) diff --git a/packages/vercel-api-js/package.json b/packages/vercel-api-js/package.json index 39a0f1381..747644b8b 100644 --- a/packages/vercel-api-js/package.json +++ b/packages/vercel-api-js/package.json @@ -29,9 +29,7 @@ "dependencies": { "zod": "=3.25.76" }, - "files": [ - "dist" - ], + "files": ["dist"], "main": "dist/index.cjs", "module": "dist/index.mjs", "typings": "dist/index.d.ts", diff --git a/packages/vercel-api-js/src/generated/components.ts b/packages/vercel-api-js/src/generated/components.ts index 1c3e244ed..d9b8c476a 100644 --- a/packages/vercel-api-js/src/generated/components.ts +++ b/packages/vercel-api-js/src/generated/components.ts @@ -3,8 +3,8 @@ * Do not edit manually. */ -import client from '../utils/fetcher' -import type { FetcherConfig, ErrorWrapper } from '../utils/fetcher' +import client from '../utils/fetcher'; +import type { FetcherConfig, ErrorWrapper } from '../utils/fetcher'; import type { ReadAccessGroupQueryResponse, ReadAccessGroupPathParams, @@ -1227,8 +1227,8 @@ import type { DeleteSecret400, DeleteSecret401, DeleteSecret403, - DeleteSecret410, -} from './types.ts' + DeleteSecret410 +} from './types.ts'; /** * @description Allows to read an access group @@ -1238,16 +1238,16 @@ import type { export async function readAccessGroup({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: ReadAccessGroupPathParams - queryParams?: ReadAccessGroupQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: ReadAccessGroupPathParams; + queryParams?: ReadAccessGroupQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< @@ -1257,8 +1257,8 @@ export async function readAccessGroup({ Record, ReadAccessGroupQueryParams, ReadAccessGroupPathParams - >({ method: 'GET', url: `/v1/access-groups/${idOrName}`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v1/access-groups/${idOrName}`, queryParams, ...requestConfig }); + return data; } /** @@ -1269,16 +1269,16 @@ export async function readAccessGroup({ export async function updateAccessGroup({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: UpdateAccessGroupPathParams - queryParams?: UpdateAccessGroupQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: UpdateAccessGroupPathParams; + queryParams?: UpdateAccessGroupQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< @@ -1293,9 +1293,9 @@ export async function updateAccessGroup({ url: `/v1/access-groups/${idOrName}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -1306,16 +1306,16 @@ export async function updateAccessGroup({ export async function deleteAccessGroup({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: DeleteAccessGroupPathParams - queryParams?: DeleteAccessGroupQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: DeleteAccessGroupPathParams; + queryParams?: DeleteAccessGroupQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< @@ -1325,8 +1325,8 @@ export async function deleteAccessGroup({ Record, DeleteAccessGroupQueryParams, DeleteAccessGroupPathParams - >({ method: 'DELETE', url: `/v1/access-groups/${idOrName}`, queryParams, ...requestConfig }) - return data + >({ method: 'DELETE', url: `/v1/access-groups/${idOrName}`, queryParams, ...requestConfig }); + return data; } /** @@ -1337,16 +1337,16 @@ export async function deleteAccessGroup({ export async function listAccessGroupMembers({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: ListAccessGroupMembersPathParams - queryParams?: ListAccessGroupMembersQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: ListAccessGroupMembersPathParams; + queryParams?: ListAccessGroupMembersQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< @@ -1356,8 +1356,8 @@ export async function listAccessGroupMembers({ Record, ListAccessGroupMembersQueryParams, ListAccessGroupMembersPathParams - >({ method: 'GET', url: `/v1/access-groups/${idOrName}/members`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v1/access-groups/${idOrName}/members`, queryParams, ...requestConfig }); + return data; } /** @@ -1367,12 +1367,12 @@ export async function listAccessGroupMembers({ */ export async function listAccessGroups({ queryParams, - config = {}, + config = {} }: { - queryParams?: ListAccessGroupsQueryParams | undefined - config?: Partial & { client?: typeof client } + queryParams?: ListAccessGroupsQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< ListAccessGroupsQueryResponse, @@ -1381,8 +1381,8 @@ export async function listAccessGroups({ Record, ListAccessGroupsQueryParams, Record - >({ method: 'GET', url: `/v1/access-groups`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v1/access-groups`, queryParams, ...requestConfig }); + return data; } /** @@ -1392,12 +1392,12 @@ export async function listAccessGroups({ */ export async function createAccessGroup({ queryParams, - config = {}, + config = {} }: { - queryParams?: CreateAccessGroupQueryParams | undefined - config?: Partial & { client?: typeof client } + queryParams?: CreateAccessGroupQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< CreateAccessGroupMutationResponse, @@ -1406,8 +1406,14 @@ export async function createAccessGroup({ Record, CreateAccessGroupQueryParams, Record - >({ method: 'POST', url: `/v1/access-groups`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) - return data + >({ + method: 'POST', + url: `/v1/access-groups`, + queryParams, + ...requestConfig, + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -1418,16 +1424,16 @@ export async function createAccessGroup({ export async function listAccessGroupProjects({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: ListAccessGroupProjectsPathParams - queryParams?: ListAccessGroupProjectsQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: ListAccessGroupProjectsPathParams; + queryParams?: ListAccessGroupProjectsQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< @@ -1437,8 +1443,8 @@ export async function listAccessGroupProjects({ Record, ListAccessGroupProjectsQueryParams, ListAccessGroupProjectsPathParams - >({ method: 'GET', url: `/v1/access-groups/${idOrName}/projects`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v1/access-groups/${idOrName}/projects`, queryParams, ...requestConfig }); + return data; } /** @@ -1449,16 +1455,16 @@ export async function listAccessGroupProjects({ export async function createAccessGroupProject({ pathParams: { accessGroupIdOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: CreateAccessGroupProjectPathParams - queryParams?: CreateAccessGroupProjectQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: CreateAccessGroupProjectPathParams; + queryParams?: CreateAccessGroupProjectQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!accessGroupIdOrName) { - throw new Error(`Missing required path parameter: accessGroupIdOrName`) + throw new Error(`Missing required path parameter: accessGroupIdOrName`); } const data = await request< @@ -1473,9 +1479,9 @@ export async function createAccessGroupProject({ url: `/v1/access-groups/${accessGroupIdOrName}/projects`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -1486,20 +1492,20 @@ export async function createAccessGroupProject({ export async function readAccessGroupProject({ pathParams: { accessGroupIdOrName, projectId }, queryParams, - config = {}, + config = {} }: { - pathParams: ReadAccessGroupProjectPathParams - queryParams?: ReadAccessGroupProjectQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: ReadAccessGroupProjectPathParams; + queryParams?: ReadAccessGroupProjectQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!accessGroupIdOrName) { - throw new Error(`Missing required path parameter: accessGroupIdOrName`) + throw new Error(`Missing required path parameter: accessGroupIdOrName`); } if (!projectId) { - throw new Error(`Missing required path parameter: projectId`) + throw new Error(`Missing required path parameter: projectId`); } const data = await request< @@ -1509,8 +1515,13 @@ export async function readAccessGroupProject({ Record, ReadAccessGroupProjectQueryParams, ReadAccessGroupProjectPathParams - >({ method: 'GET', url: `/v1/access-groups/${accessGroupIdOrName}/projects/${projectId}`, queryParams, ...requestConfig }) - return data + >({ + method: 'GET', + url: `/v1/access-groups/${accessGroupIdOrName}/projects/${projectId}`, + queryParams, + ...requestConfig + }); + return data; } /** @@ -1521,20 +1532,20 @@ export async function readAccessGroupProject({ export async function updateAccessGroupProject({ pathParams: { accessGroupIdOrName, projectId }, queryParams, - config = {}, + config = {} }: { - pathParams: UpdateAccessGroupProjectPathParams - queryParams?: UpdateAccessGroupProjectQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: UpdateAccessGroupProjectPathParams; + queryParams?: UpdateAccessGroupProjectQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!accessGroupIdOrName) { - throw new Error(`Missing required path parameter: accessGroupIdOrName`) + throw new Error(`Missing required path parameter: accessGroupIdOrName`); } if (!projectId) { - throw new Error(`Missing required path parameter: projectId`) + throw new Error(`Missing required path parameter: projectId`); } const data = await request< @@ -1549,9 +1560,9 @@ export async function updateAccessGroupProject({ url: `/v1/access-groups/${accessGroupIdOrName}/projects/${projectId}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -1562,20 +1573,20 @@ export async function updateAccessGroupProject({ export async function deleteAccessGroupProject({ pathParams: { accessGroupIdOrName, projectId }, queryParams, - config = {}, + config = {} }: { - pathParams: DeleteAccessGroupProjectPathParams - queryParams?: DeleteAccessGroupProjectQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: DeleteAccessGroupProjectPathParams; + queryParams?: DeleteAccessGroupProjectQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!accessGroupIdOrName) { - throw new Error(`Missing required path parameter: accessGroupIdOrName`) + throw new Error(`Missing required path parameter: accessGroupIdOrName`); } if (!projectId) { - throw new Error(`Missing required path parameter: projectId`) + throw new Error(`Missing required path parameter: projectId`); } const data = await request< @@ -1585,8 +1596,13 @@ export async function deleteAccessGroupProject({ Record, DeleteAccessGroupProjectQueryParams, DeleteAccessGroupProjectPathParams - >({ method: 'DELETE', url: `/v1/access-groups/${accessGroupIdOrName}/projects/${projectId}`, queryParams, ...requestConfig }) - return data + >({ + method: 'DELETE', + url: `/v1/access-groups/${accessGroupIdOrName}/projects/${projectId}`, + queryParams, + ...requestConfig + }); + return data; } /** @@ -1597,13 +1613,13 @@ export async function deleteAccessGroupProject({ export async function recordEvents({ queryParams, headers, - config = {}, + config = {} }: { - queryParams?: RecordEventsQueryParams | undefined - headers?: RecordEventsHeaderParams | undefined - config?: Partial & { client?: typeof client } + queryParams?: RecordEventsQueryParams | undefined; + headers?: RecordEventsHeaderParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< RecordEventsMutationResponse, @@ -1617,9 +1633,9 @@ export async function recordEvents({ url: `/v8/artifacts/events`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...headers, ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationJson', ...headers, ...requestConfig.headers } + }); + return data; } /** @@ -1629,12 +1645,12 @@ export async function recordEvents({ */ export async function status({ queryParams, - config = {}, + config = {} }: { - queryParams?: StatusQueryParams | undefined - config?: Partial & { client?: typeof client } + queryParams?: StatusQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< StatusQueryResponse, @@ -1643,8 +1659,8 @@ export async function status({ Record, StatusQueryParams, Record - >({ method: 'GET', url: `/v8/artifacts/status`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v8/artifacts/status`, queryParams, ...requestConfig }); + return data; } /** @@ -1656,17 +1672,17 @@ export async function uploadArtifact({ pathParams: { hash }, headers, queryParams, - config = {}, + config = {} }: { - pathParams: UploadArtifactPathParams - headers: UploadArtifactHeaderParams - queryParams?: UploadArtifactQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: UploadArtifactPathParams; + headers: UploadArtifactHeaderParams; + queryParams?: UploadArtifactQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!hash) { - throw new Error(`Missing required path parameter: hash`) + throw new Error(`Missing required path parameter: hash`); } const data = await request< @@ -1681,9 +1697,9 @@ export async function uploadArtifact({ url: `/v8/artifacts/${hash}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationOctetStream', ...headers, ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationOctetStream', ...headers, ...requestConfig.headers } + }); + return data; } /** @@ -1695,28 +1711,36 @@ export async function downloadArtifact({ pathParams: { hash }, queryParams, headers, - config = {}, + config = {} }: { - pathParams: DownloadArtifactPathParams - queryParams?: DownloadArtifactQueryParams | undefined - headers?: DownloadArtifactHeaderParams | undefined - config?: Partial & { client?: typeof client } + pathParams: DownloadArtifactPathParams; + queryParams?: DownloadArtifactQueryParams | undefined; + headers?: DownloadArtifactHeaderParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!hash) { - throw new Error(`Missing required path parameter: hash`) + throw new Error(`Missing required path parameter: hash`); } const data = await request< DownloadArtifactQueryResponse, - ErrorWrapper, + ErrorWrapper< + DownloadArtifact400 | DownloadArtifact401 | DownloadArtifact402 | DownloadArtifact403 | DownloadArtifact404 + >, null, DownloadArtifactHeaderParams, DownloadArtifactQueryParams, DownloadArtifactPathParams - >({ method: 'GET', url: `/v8/artifacts/${hash}`, queryParams, ...requestConfig, headers: { ...headers, ...requestConfig.headers } }) - return data + >({ + method: 'GET', + url: `/v8/artifacts/${hash}`, + queryParams, + ...requestConfig, + headers: { ...headers, ...requestConfig.headers } + }); + return data; } /** @@ -1726,12 +1750,12 @@ export async function downloadArtifact({ */ export async function artifactQuery({ queryParams, - config = {}, + config = {} }: { - queryParams?: ArtifactQueryQueryParams | undefined - config?: Partial & { client?: typeof client } + queryParams?: ArtifactQueryQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< ArtifactQueryMutationResponse, @@ -1740,8 +1764,14 @@ export async function artifactQuery({ Record, ArtifactQueryQueryParams, Record - >({ method: 'POST', url: `/v8/artifacts`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) - return data + >({ + method: 'POST', + url: `/v8/artifacts`, + queryParams, + ...requestConfig, + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -1752,16 +1782,16 @@ export async function artifactQuery({ export async function createCheck({ pathParams: { deploymentId }, queryParams, - config = {}, + config = {} }: { - pathParams: CreateCheckPathParams - queryParams?: CreateCheckQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: CreateCheckPathParams; + queryParams?: CreateCheckQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!deploymentId) { - throw new Error(`Missing required path parameter: deploymentId`) + throw new Error(`Missing required path parameter: deploymentId`); } const data = await request< @@ -1776,9 +1806,9 @@ export async function createCheck({ url: `/v1/deployments/${deploymentId}/checks`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -1789,16 +1819,16 @@ export async function createCheck({ export async function getAllChecks({ pathParams: { deploymentId }, queryParams, - config = {}, + config = {} }: { - pathParams: GetAllChecksPathParams - queryParams?: GetAllChecksQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetAllChecksPathParams; + queryParams?: GetAllChecksQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!deploymentId) { - throw new Error(`Missing required path parameter: deploymentId`) + throw new Error(`Missing required path parameter: deploymentId`); } const data = await request< @@ -1808,8 +1838,8 @@ export async function getAllChecks({ Record, GetAllChecksQueryParams, GetAllChecksPathParams - >({ method: 'GET', url: `/v1/deployments/${deploymentId}/checks`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v1/deployments/${deploymentId}/checks`, queryParams, ...requestConfig }); + return data; } /** @@ -1820,20 +1850,20 @@ export async function getAllChecks({ export async function getCheck({ pathParams: { deploymentId, checkId }, queryParams, - config = {}, + config = {} }: { - pathParams: GetCheckPathParams - queryParams?: GetCheckQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetCheckPathParams; + queryParams?: GetCheckQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!deploymentId) { - throw new Error(`Missing required path parameter: deploymentId`) + throw new Error(`Missing required path parameter: deploymentId`); } if (!checkId) { - throw new Error(`Missing required path parameter: checkId`) + throw new Error(`Missing required path parameter: checkId`); } const data = await request< @@ -1843,8 +1873,8 @@ export async function getCheck({ Record, GetCheckQueryParams, GetCheckPathParams - >({ method: 'GET', url: `/v1/deployments/${deploymentId}/checks/${checkId}`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v1/deployments/${deploymentId}/checks/${checkId}`, queryParams, ...requestConfig }); + return data; } /** @@ -1855,20 +1885,20 @@ export async function getCheck({ export async function updateCheck({ pathParams: { deploymentId, checkId }, queryParams, - config = {}, + config = {} }: { - pathParams: UpdateCheckPathParams - queryParams?: UpdateCheckQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: UpdateCheckPathParams; + queryParams?: UpdateCheckQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!deploymentId) { - throw new Error(`Missing required path parameter: deploymentId`) + throw new Error(`Missing required path parameter: deploymentId`); } if (!checkId) { - throw new Error(`Missing required path parameter: checkId`) + throw new Error(`Missing required path parameter: checkId`); } const data = await request< @@ -1883,9 +1913,9 @@ export async function updateCheck({ url: `/v1/deployments/${deploymentId}/checks/${checkId}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -1896,20 +1926,20 @@ export async function updateCheck({ export async function rerequestCheck({ pathParams: { deploymentId, checkId }, queryParams, - config = {}, + config = {} }: { - pathParams: RerequestCheckPathParams - queryParams?: RerequestCheckQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: RerequestCheckPathParams; + queryParams?: RerequestCheckQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!deploymentId) { - throw new Error(`Missing required path parameter: deploymentId`) + throw new Error(`Missing required path parameter: deploymentId`); } if (!checkId) { - throw new Error(`Missing required path parameter: checkId`) + throw new Error(`Missing required path parameter: checkId`); } const data = await request< @@ -1919,8 +1949,13 @@ export async function rerequestCheck({ Record, RerequestCheckQueryParams, RerequestCheckPathParams - >({ method: 'POST', url: `/v1/deployments/${deploymentId}/checks/${checkId}/rerequest`, queryParams, ...requestConfig }) - return data + >({ + method: 'POST', + url: `/v1/deployments/${deploymentId}/checks/${checkId}/rerequest`, + queryParams, + ...requestConfig + }); + return data; } /** @@ -1928,12 +1963,12 @@ export async function rerequestCheck({ */ export async function purgeAllDataCache({ queryParams, - config = {}, + config = {} }: { - queryParams: PurgeAllDataCacheQueryParams - config?: Partial & { client?: typeof client } + queryParams: PurgeAllDataCacheQueryParams; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< PurgeAllDataCacheMutationResponse, @@ -1942,25 +1977,39 @@ export async function purgeAllDataCache({ Record, PurgeAllDataCacheQueryParams, Record - >({ method: 'DELETE', url: `/data-cache/purge-all`, queryParams, ...requestConfig }) - return data + >({ method: 'DELETE', url: `/data-cache/purge-all`, queryParams, ...requestConfig }); + return data; } /** * {@link /data-cache/billing-settings} */ -export async function updateDataCacheBillingSettings({ config = {} }: { config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config +export async function updateDataCacheBillingSettings({ + config = {} +}: { + config?: Partial & { client?: typeof client }; +}) { + const { client: request = client, ...requestConfig } = config; const data = await request< UpdateDataCacheBillingSettingsMutationResponse, - ErrorWrapper, + ErrorWrapper< + | UpdateDataCacheBillingSettings400 + | UpdateDataCacheBillingSettings401 + | UpdateDataCacheBillingSettings403 + | UpdateDataCacheBillingSettings404 + >, null, Record, Record, Record - >({ method: 'PATCH', url: `/data-cache/billing-settings`, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) - return data + >({ + method: 'PATCH', + url: `/data-cache/billing-settings`, + ...requestConfig, + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -1971,21 +2020,23 @@ export async function updateDataCacheBillingSettings({ config = {} }: { config?: export async function updateProjectDataCache({ pathParams: { projectId }, queryParams, - config = {}, + config = {} }: { - pathParams: UpdateProjectDataCachePathParams - queryParams?: UpdateProjectDataCacheQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: UpdateProjectDataCachePathParams; + queryParams?: UpdateProjectDataCacheQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!projectId) { - throw new Error(`Missing required path parameter: projectId`) + throw new Error(`Missing required path parameter: projectId`); } const data = await request< UpdateProjectDataCacheMutationResponse, - ErrorWrapper, + ErrorWrapper< + UpdateProjectDataCache400 | UpdateProjectDataCache401 | UpdateProjectDataCache403 | UpdateProjectDataCache404 + >, null, Record, UpdateProjectDataCacheQueryParams, @@ -1995,9 +2046,9 @@ export async function updateProjectDataCache({ url: `/v1/data-cache/projects/${projectId}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -2008,16 +2059,16 @@ export async function updateProjectDataCache({ export async function getDeploymentEvents({ pathParams: { idOrUrl }, queryParams, - config = {}, + config = {} }: { - pathParams: GetDeploymentEventsPathParams - queryParams?: GetDeploymentEventsQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetDeploymentEventsPathParams; + queryParams?: GetDeploymentEventsQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrUrl) { - throw new Error(`Missing required path parameter: idOrUrl`) + throw new Error(`Missing required path parameter: idOrUrl`); } const data = await request< @@ -2027,8 +2078,8 @@ export async function getDeploymentEvents({ Record, GetDeploymentEventsQueryParams, GetDeploymentEventsPathParams - >({ method: 'GET', url: `/v3/deployments/${idOrUrl}/events`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v3/deployments/${idOrUrl}/events`, queryParams, ...requestConfig }); + return data; } /** @@ -2038,32 +2089,34 @@ export async function getDeploymentEvents({ */ export async function updateIntegrationDeploymentAction({ pathParams: { deploymentId, integrationConfigurationId, resourceId, action }, - config = {}, + config = {} }: { - pathParams: UpdateIntegrationDeploymentActionPathParams - config?: Partial & { client?: typeof client } + pathParams: UpdateIntegrationDeploymentActionPathParams; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!deploymentId) { - throw new Error(`Missing required path parameter: deploymentId`) + throw new Error(`Missing required path parameter: deploymentId`); } if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`) + throw new Error(`Missing required path parameter: integrationConfigurationId`); } if (!resourceId) { - throw new Error(`Missing required path parameter: resourceId`) + throw new Error(`Missing required path parameter: resourceId`); } if (!action) { - throw new Error(`Missing required path parameter: action`) + throw new Error(`Missing required path parameter: action`); } const data = await request< UpdateIntegrationDeploymentActionMutationResponse, - ErrorWrapper, + ErrorWrapper< + UpdateIntegrationDeploymentAction400 | UpdateIntegrationDeploymentAction401 | UpdateIntegrationDeploymentAction403 + >, null, Record, Record, @@ -2072,9 +2125,9 @@ export async function updateIntegrationDeploymentAction({ method: 'PATCH', url: `/v1/deployments/${deploymentId}/integrations/${integrationConfigurationId}/resources/${resourceId}/actions/${action}`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -2085,16 +2138,16 @@ export async function updateIntegrationDeploymentAction({ export async function getDeployment({ pathParams: { idOrUrl }, queryParams, - config = {}, + config = {} }: { - pathParams: GetDeploymentPathParams - queryParams?: GetDeploymentQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetDeploymentPathParams; + queryParams?: GetDeploymentQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrUrl) { - throw new Error(`Missing required path parameter: idOrUrl`) + throw new Error(`Missing required path parameter: idOrUrl`); } const data = await request< @@ -2104,8 +2157,8 @@ export async function getDeployment({ Record, GetDeploymentQueryParams, GetDeploymentPathParams - >({ method: 'GET', url: `/v13/deployments/${idOrUrl}`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v13/deployments/${idOrUrl}`, queryParams, ...requestConfig }); + return data; } /** @@ -2115,24 +2168,36 @@ export async function getDeployment({ */ export async function createDeployment({ queryParams, - config = {}, + config = {} }: { - queryParams?: CreateDeploymentQueryParams | undefined - config?: Partial & { client?: typeof client } + queryParams?: CreateDeploymentQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< CreateDeploymentMutationResponse, ErrorWrapper< - CreateDeployment400 | CreateDeployment401 | CreateDeployment402 | CreateDeployment403 | CreateDeployment404 | CreateDeployment409 | CreateDeployment500 + | CreateDeployment400 + | CreateDeployment401 + | CreateDeployment402 + | CreateDeployment403 + | CreateDeployment404 + | CreateDeployment409 + | CreateDeployment500 >, null, Record, CreateDeploymentQueryParams, Record - >({ method: 'POST', url: `/v13/deployments`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) - return data + >({ + method: 'POST', + url: `/v13/deployments`, + queryParams, + ...requestConfig, + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -2143,16 +2208,16 @@ export async function createDeployment({ export async function cancelDeployment({ pathParams: { id }, queryParams, - config = {}, + config = {} }: { - pathParams: CancelDeploymentPathParams - queryParams?: CancelDeploymentQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: CancelDeploymentPathParams; + queryParams?: CancelDeploymentQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!id) { - throw new Error(`Missing required path parameter: id`) + throw new Error(`Missing required path parameter: id`); } const data = await request< @@ -2162,8 +2227,8 @@ export async function cancelDeployment({ Record, CancelDeploymentQueryParams, CancelDeploymentPathParams - >({ method: 'PATCH', url: `/v12/deployments/${id}/cancel`, queryParams, ...requestConfig }) - return data + >({ method: 'PATCH', url: `/v12/deployments/${id}/cancel`, queryParams, ...requestConfig }); + return data; } /** @@ -2173,12 +2238,12 @@ export async function cancelDeployment({ */ export async function buyDomain({ queryParams, - config = {}, + config = {} }: { - queryParams?: BuyDomainQueryParams | undefined - config?: Partial & { client?: typeof client } + queryParams?: BuyDomainQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< BuyDomainMutationResponse, @@ -2187,8 +2252,14 @@ export async function buyDomain({ Record, BuyDomainQueryParams, Record - >({ method: 'POST', url: `/v5/domains/buy`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) - return data + >({ + method: 'POST', + url: `/v5/domains/buy`, + queryParams, + ...requestConfig, + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -2198,12 +2269,12 @@ export async function buyDomain({ */ export async function checkDomainPrice({ queryParams, - config = {}, + config = {} }: { - queryParams: CheckDomainPriceQueryParams - config?: Partial & { client?: typeof client } + queryParams: CheckDomainPriceQueryParams; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< CheckDomainPriceQueryResponse, @@ -2212,8 +2283,8 @@ export async function checkDomainPrice({ Record, CheckDomainPriceQueryParams, Record - >({ method: 'GET', url: `/v4/domains/price`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v4/domains/price`, queryParams, ...requestConfig }); + return data; } /** @@ -2223,22 +2294,24 @@ export async function checkDomainPrice({ */ export async function checkDomainStatus({ queryParams, - config = {}, + config = {} }: { - queryParams: CheckDomainStatusQueryParams - config?: Partial & { client?: typeof client } + queryParams: CheckDomainStatusQueryParams; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< CheckDomainStatusQueryResponse, - ErrorWrapper, + ErrorWrapper< + CheckDomainStatus400 | CheckDomainStatus401 | CheckDomainStatus403 | CheckDomainStatus408 | CheckDomainStatus500 + >, null, Record, CheckDomainStatusQueryParams, Record - >({ method: 'GET', url: `/v4/domains/status`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v4/domains/status`, queryParams, ...requestConfig }); + return data; } /** @@ -2249,16 +2322,16 @@ export async function checkDomainStatus({ export async function getRecords({ pathParams: { domain }, queryParams, - config = {}, + config = {} }: { - pathParams: GetRecordsPathParams - queryParams?: GetRecordsQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetRecordsPathParams; + queryParams?: GetRecordsQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!domain) { - throw new Error(`Missing required path parameter: domain`) + throw new Error(`Missing required path parameter: domain`); } const data = await request< @@ -2268,8 +2341,8 @@ export async function getRecords({ Record, GetRecordsQueryParams, GetRecordsPathParams - >({ method: 'GET', url: `/v4/domains/${domain}/records`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v4/domains/${domain}/records`, queryParams, ...requestConfig }); + return data; } /** @@ -2280,21 +2353,23 @@ export async function getRecords({ export async function createRecord({ pathParams: { domain }, queryParams, - config = {}, + config = {} }: { - pathParams: CreateRecordPathParams - queryParams?: CreateRecordQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: CreateRecordPathParams; + queryParams?: CreateRecordQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!domain) { - throw new Error(`Missing required path parameter: domain`) + throw new Error(`Missing required path parameter: domain`); } const data = await request< CreateRecordMutationResponse, - ErrorWrapper, + ErrorWrapper< + CreateRecord400 | CreateRecord401 | CreateRecord402 | CreateRecord403 | CreateRecord404 | CreateRecord409 + >, null, Record, CreateRecordQueryParams, @@ -2304,9 +2379,9 @@ export async function createRecord({ url: `/v2/domains/${domain}/records`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -2317,21 +2392,23 @@ export async function createRecord({ export async function updateRecord({ pathParams: { recordId }, queryParams, - config = {}, + config = {} }: { - pathParams: UpdateRecordPathParams - queryParams?: UpdateRecordQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: UpdateRecordPathParams; + queryParams?: UpdateRecordQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!recordId) { - throw new Error(`Missing required path parameter: recordId`) + throw new Error(`Missing required path parameter: recordId`); } const data = await request< UpdateRecordMutationResponse, - ErrorWrapper, + ErrorWrapper< + UpdateRecord400 | UpdateRecord401 | UpdateRecord402 | UpdateRecord403 | UpdateRecord404 | UpdateRecord409 + >, null, Record, UpdateRecordQueryParams, @@ -2341,9 +2418,9 @@ export async function updateRecord({ url: `/v1/domains/records/${recordId}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -2354,20 +2431,20 @@ export async function updateRecord({ export async function removeRecord({ pathParams: { domain, recordId }, queryParams, - config = {}, + config = {} }: { - pathParams: RemoveRecordPathParams - queryParams?: RemoveRecordQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: RemoveRecordPathParams; + queryParams?: RemoveRecordQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!domain) { - throw new Error(`Missing required path parameter: domain`) + throw new Error(`Missing required path parameter: domain`); } if (!recordId) { - throw new Error(`Missing required path parameter: recordId`) + throw new Error(`Missing required path parameter: recordId`); } const data = await request< @@ -2377,8 +2454,8 @@ export async function removeRecord({ Record, RemoveRecordQueryParams, RemoveRecordPathParams - >({ method: 'DELETE', url: `/v2/domains/${domain}/records/${recordId}`, queryParams, ...requestConfig }) - return data + >({ method: 'DELETE', url: `/v2/domains/${domain}/records/${recordId}`, queryParams, ...requestConfig }); + return data; } /** @@ -2389,16 +2466,16 @@ export async function removeRecord({ export async function getDomainTransfer({ pathParams: { domain }, queryParams, - config = {}, + config = {} }: { - pathParams: GetDomainTransferPathParams - queryParams?: GetDomainTransferQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetDomainTransferPathParams; + queryParams?: GetDomainTransferQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!domain) { - throw new Error(`Missing required path parameter: domain`) + throw new Error(`Missing required path parameter: domain`); } const data = await request< @@ -2408,8 +2485,8 @@ export async function getDomainTransfer({ Record, GetDomainTransferQueryParams, GetDomainTransferPathParams - >({ method: 'GET', url: `/v1/domains/${domain}/registry`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v1/domains/${domain}/registry`, queryParams, ...requestConfig }); + return data; } /** @@ -2420,16 +2497,16 @@ export async function getDomainTransfer({ export async function getDomainConfig({ pathParams: { domain }, queryParams, - config = {}, + config = {} }: { - pathParams: GetDomainConfigPathParams - queryParams?: GetDomainConfigQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetDomainConfigPathParams; + queryParams?: GetDomainConfigQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!domain) { - throw new Error(`Missing required path parameter: domain`) + throw new Error(`Missing required path parameter: domain`); } const data = await request< @@ -2439,8 +2516,8 @@ export async function getDomainConfig({ Record, GetDomainConfigQueryParams, GetDomainConfigPathParams - >({ method: 'GET', url: `/v6/domains/${domain}/config`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v6/domains/${domain}/config`, queryParams, ...requestConfig }); + return data; } /** @@ -2451,16 +2528,16 @@ export async function getDomainConfig({ export async function getDomain({ pathParams: { domain }, queryParams, - config = {}, + config = {} }: { - pathParams: GetDomainPathParams - queryParams?: GetDomainQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetDomainPathParams; + queryParams?: GetDomainQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!domain) { - throw new Error(`Missing required path parameter: domain`) + throw new Error(`Missing required path parameter: domain`); } const data = await request< @@ -2470,8 +2547,8 @@ export async function getDomain({ Record, GetDomainQueryParams, GetDomainPathParams - >({ method: 'GET', url: `/v5/domains/${domain}`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v5/domains/${domain}`, queryParams, ...requestConfig }); + return data; } /** @@ -2481,12 +2558,12 @@ export async function getDomain({ */ export async function getDomains({ queryParams, - config = {}, + config = {} }: { - queryParams?: GetDomainsQueryParams | undefined - config?: Partial & { client?: typeof client } + queryParams?: GetDomainsQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< GetDomainsQueryResponse, @@ -2495,8 +2572,8 @@ export async function getDomains({ Record, GetDomainsQueryParams, Record - >({ method: 'GET', url: `/v5/domains`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v5/domains`, queryParams, ...requestConfig }); + return data; } /** @@ -2506,12 +2583,12 @@ export async function getDomains({ */ export async function createOrTransferDomain({ queryParams, - config = {}, + config = {} }: { - queryParams?: CreateOrTransferDomainQueryParams | undefined - config?: Partial & { client?: typeof client } + queryParams?: CreateOrTransferDomainQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< CreateOrTransferDomainMutationResponse, @@ -2528,8 +2605,14 @@ export async function createOrTransferDomain({ Record, CreateOrTransferDomainQueryParams, Record - >({ method: 'POST', url: `/v7/domains`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) - return data + >({ + method: 'POST', + url: `/v7/domains`, + queryParams, + ...requestConfig, + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -2540,16 +2623,16 @@ export async function createOrTransferDomain({ export async function patchDomain({ pathParams: { domain }, queryParams, - config = {}, + config = {} }: { - pathParams: PatchDomainPathParams - queryParams?: PatchDomainQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: PatchDomainPathParams; + queryParams?: PatchDomainQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!domain) { - throw new Error(`Missing required path parameter: domain`) + throw new Error(`Missing required path parameter: domain`); } const data = await request< @@ -2559,8 +2642,14 @@ export async function patchDomain({ Record, PatchDomainQueryParams, PatchDomainPathParams - >({ method: 'PATCH', url: `/v3/domains/${domain}`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) - return data + >({ + method: 'PATCH', + url: `/v3/domains/${domain}`, + queryParams, + ...requestConfig, + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -2571,16 +2660,16 @@ export async function patchDomain({ export async function deleteDomain({ pathParams: { domain }, queryParams, - config = {}, + config = {} }: { - pathParams: DeleteDomainPathParams - queryParams?: DeleteDomainQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: DeleteDomainPathParams; + queryParams?: DeleteDomainQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!domain) { - throw new Error(`Missing required path parameter: domain`) + throw new Error(`Missing required path parameter: domain`); } const data = await request< @@ -2590,8 +2679,8 @@ export async function deleteDomain({ Record, DeleteDomainQueryParams, DeleteDomainPathParams - >({ method: 'DELETE', url: `/v6/domains/${domain}`, queryParams, ...requestConfig }) - return data + >({ method: 'DELETE', url: `/v6/domains/${domain}`, queryParams, ...requestConfig }); + return data; } /** @@ -2601,12 +2690,12 @@ export async function deleteDomain({ */ export async function getEdgeConfigs({ queryParams, - config = {}, + config = {} }: { - queryParams?: GetEdgeConfigsQueryParams | undefined - config?: Partial & { client?: typeof client } + queryParams?: GetEdgeConfigsQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< GetEdgeConfigsQueryResponse, @@ -2615,8 +2704,8 @@ export async function getEdgeConfigs({ Record, GetEdgeConfigsQueryParams, Record - >({ method: 'GET', url: `/v1/edge-config`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v1/edge-config`, queryParams, ...requestConfig }); + return data; } /** @@ -2626,12 +2715,12 @@ export async function getEdgeConfigs({ */ export async function createEdgeConfig({ queryParams, - config = {}, + config = {} }: { - queryParams?: CreateEdgeConfigQueryParams | undefined - config?: Partial & { client?: typeof client } + queryParams?: CreateEdgeConfigQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< CreateEdgeConfigMutationResponse, @@ -2640,8 +2729,14 @@ export async function createEdgeConfig({ Record, CreateEdgeConfigQueryParams, Record - >({ method: 'POST', url: `/v1/edge-config`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) - return data + >({ + method: 'POST', + url: `/v1/edge-config`, + queryParams, + ...requestConfig, + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -2652,16 +2747,16 @@ export async function createEdgeConfig({ export async function getEdgeConfig({ pathParams: { edgeConfigId }, queryParams, - config = {}, + config = {} }: { - pathParams: GetEdgeConfigPathParams - queryParams?: GetEdgeConfigQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetEdgeConfigPathParams; + queryParams?: GetEdgeConfigQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`) + throw new Error(`Missing required path parameter: edgeConfigId`); } const data = await request< @@ -2671,8 +2766,8 @@ export async function getEdgeConfig({ Record, GetEdgeConfigQueryParams, GetEdgeConfigPathParams - >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}`, queryParams, ...requestConfig }); + return data; } /** @@ -2683,21 +2778,23 @@ export async function getEdgeConfig({ export async function updateEdgeConfig({ pathParams: { edgeConfigId }, queryParams, - config = {}, + config = {} }: { - pathParams: UpdateEdgeConfigPathParams - queryParams?: UpdateEdgeConfigQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: UpdateEdgeConfigPathParams; + queryParams?: UpdateEdgeConfigQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`) + throw new Error(`Missing required path parameter: edgeConfigId`); } const data = await request< UpdateEdgeConfigMutationResponse, - ErrorWrapper, + ErrorWrapper< + UpdateEdgeConfig400 | UpdateEdgeConfig401 | UpdateEdgeConfig402 | UpdateEdgeConfig403 | UpdateEdgeConfig404 + >, null, Record, UpdateEdgeConfigQueryParams, @@ -2707,9 +2804,9 @@ export async function updateEdgeConfig({ url: `/v1/edge-config/${edgeConfigId}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -2720,16 +2817,16 @@ export async function updateEdgeConfig({ export async function deleteEdgeConfig({ pathParams: { edgeConfigId }, queryParams, - config = {}, + config = {} }: { - pathParams: DeleteEdgeConfigPathParams - queryParams?: DeleteEdgeConfigQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: DeleteEdgeConfigPathParams; + queryParams?: DeleteEdgeConfigQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`) + throw new Error(`Missing required path parameter: edgeConfigId`); } const data = await request< @@ -2739,8 +2836,8 @@ export async function deleteEdgeConfig({ Record, DeleteEdgeConfigQueryParams, DeleteEdgeConfigPathParams - >({ method: 'DELETE', url: `/v1/edge-config/${edgeConfigId}`, queryParams, ...requestConfig }) - return data + >({ method: 'DELETE', url: `/v1/edge-config/${edgeConfigId}`, queryParams, ...requestConfig }); + return data; } /** @@ -2751,16 +2848,16 @@ export async function deleteEdgeConfig({ export async function getEdgeConfigItems({ pathParams: { edgeConfigId }, queryParams, - config = {}, + config = {} }: { - pathParams: GetEdgeConfigItemsPathParams - queryParams?: GetEdgeConfigItemsQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetEdgeConfigItemsPathParams; + queryParams?: GetEdgeConfigItemsQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`) + throw new Error(`Missing required path parameter: edgeConfigId`); } const data = await request< @@ -2770,8 +2867,8 @@ export async function getEdgeConfigItems({ Record, GetEdgeConfigItemsQueryParams, GetEdgeConfigItemsPathParams - >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/items`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/items`, queryParams, ...requestConfig }); + return data; } /** @@ -2782,16 +2879,16 @@ export async function getEdgeConfigItems({ export async function patchEdgeConfigItems({ pathParams: { edgeConfigId }, queryParams, - config = {}, + config = {} }: { - pathParams: PatchEdgeConfigItemsPathParams - queryParams?: PatchEdgeConfigItemsQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: PatchEdgeConfigItemsPathParams; + queryParams?: PatchEdgeConfigItemsQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`) + throw new Error(`Missing required path parameter: edgeConfigId`); } const data = await request< @@ -2814,9 +2911,9 @@ export async function patchEdgeConfigItems({ url: `/v1/edge-config/${edgeConfigId}/items`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -2827,16 +2924,16 @@ export async function patchEdgeConfigItems({ export async function getEdgeConfigSchema({ pathParams: { edgeConfigId }, queryParams, - config = {}, + config = {} }: { - pathParams: GetEdgeConfigSchemaPathParams - queryParams?: GetEdgeConfigSchemaQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetEdgeConfigSchemaPathParams; + queryParams?: GetEdgeConfigSchemaQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`) + throw new Error(`Missing required path parameter: edgeConfigId`); } const data = await request< @@ -2846,8 +2943,8 @@ export async function getEdgeConfigSchema({ Record, GetEdgeConfigSchemaQueryParams, GetEdgeConfigSchemaPathParams - >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/schema`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/schema`, queryParams, ...requestConfig }); + return data; } /** @@ -2858,21 +2955,27 @@ export async function getEdgeConfigSchema({ export async function patchEdgeConfigSchema({ pathParams: { edgeConfigId }, queryParams, - config = {}, + config = {} }: { - pathParams: PatchEdgeConfigSchemaPathParams - queryParams?: PatchEdgeConfigSchemaQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: PatchEdgeConfigSchemaPathParams; + queryParams?: PatchEdgeConfigSchemaQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`) + throw new Error(`Missing required path parameter: edgeConfigId`); } const data = await request< PatchEdgeConfigSchemaMutationResponse, - ErrorWrapper, + ErrorWrapper< + | PatchEdgeConfigSchema400 + | PatchEdgeConfigSchema401 + | PatchEdgeConfigSchema402 + | PatchEdgeConfigSchema403 + | PatchEdgeConfigSchema404 + >, null, Record, PatchEdgeConfigSchemaQueryParams, @@ -2882,9 +2985,9 @@ export async function patchEdgeConfigSchema({ url: `/v1/edge-config/${edgeConfigId}/schema`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -2895,27 +2998,33 @@ export async function patchEdgeConfigSchema({ export async function deleteEdgeConfigSchema({ pathParams: { edgeConfigId }, queryParams, - config = {}, + config = {} }: { - pathParams: DeleteEdgeConfigSchemaPathParams - queryParams?: DeleteEdgeConfigSchemaQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: DeleteEdgeConfigSchemaPathParams; + queryParams?: DeleteEdgeConfigSchemaQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`) + throw new Error(`Missing required path parameter: edgeConfigId`); } const data = await request< DeleteEdgeConfigSchemaMutationResponse, - ErrorWrapper, + ErrorWrapper< + | DeleteEdgeConfigSchema400 + | DeleteEdgeConfigSchema401 + | DeleteEdgeConfigSchema402 + | DeleteEdgeConfigSchema403 + | DeleteEdgeConfigSchema404 + >, null, Record, DeleteEdgeConfigSchemaQueryParams, DeleteEdgeConfigSchemaPathParams - >({ method: 'DELETE', url: `/v1/edge-config/${edgeConfigId}/schema`, queryParams, ...requestConfig }) - return data + >({ method: 'DELETE', url: `/v1/edge-config/${edgeConfigId}/schema`, queryParams, ...requestConfig }); + return data; } /** @@ -2926,20 +3035,20 @@ export async function deleteEdgeConfigSchema({ export async function getEdgeConfigItem({ pathParams: { edgeConfigId, edgeConfigItemKey }, queryParams, - config = {}, + config = {} }: { - pathParams: GetEdgeConfigItemPathParams - queryParams?: GetEdgeConfigItemQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetEdgeConfigItemPathParams; + queryParams?: GetEdgeConfigItemQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`) + throw new Error(`Missing required path parameter: edgeConfigId`); } if (!edgeConfigItemKey) { - throw new Error(`Missing required path parameter: edgeConfigItemKey`) + throw new Error(`Missing required path parameter: edgeConfigItemKey`); } const data = await request< @@ -2949,8 +3058,8 @@ export async function getEdgeConfigItem({ Record, GetEdgeConfigItemQueryParams, GetEdgeConfigItemPathParams - >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/item/${edgeConfigItemKey}`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/item/${edgeConfigItemKey}`, queryParams, ...requestConfig }); + return data; } /** @@ -2961,16 +3070,16 @@ export async function getEdgeConfigItem({ export async function getEdgeConfigTokens({ pathParams: { edgeConfigId }, queryParams, - config = {}, + config = {} }: { - pathParams: GetEdgeConfigTokensPathParams - queryParams?: GetEdgeConfigTokensQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetEdgeConfigTokensPathParams; + queryParams?: GetEdgeConfigTokensQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`) + throw new Error(`Missing required path parameter: edgeConfigId`); } const data = await request< @@ -2980,8 +3089,8 @@ export async function getEdgeConfigTokens({ Record, GetEdgeConfigTokensQueryParams, GetEdgeConfigTokensPathParams - >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/tokens`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/tokens`, queryParams, ...requestConfig }); + return data; } /** @@ -2992,21 +3101,27 @@ export async function getEdgeConfigTokens({ export async function deleteEdgeConfigTokens({ pathParams: { edgeConfigId }, queryParams, - config = {}, + config = {} }: { - pathParams: DeleteEdgeConfigTokensPathParams - queryParams?: DeleteEdgeConfigTokensQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: DeleteEdgeConfigTokensPathParams; + queryParams?: DeleteEdgeConfigTokensQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`) + throw new Error(`Missing required path parameter: edgeConfigId`); } const data = await request< DeleteEdgeConfigTokensMutationResponse, - ErrorWrapper, + ErrorWrapper< + | DeleteEdgeConfigTokens400 + | DeleteEdgeConfigTokens401 + | DeleteEdgeConfigTokens402 + | DeleteEdgeConfigTokens403 + | DeleteEdgeConfigTokens404 + >, null, Record, DeleteEdgeConfigTokensQueryParams, @@ -3016,9 +3131,9 @@ export async function deleteEdgeConfigTokens({ url: `/v1/edge-config/${edgeConfigId}/tokens`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -3029,20 +3144,20 @@ export async function deleteEdgeConfigTokens({ export async function getEdgeConfigToken({ pathParams: { edgeConfigId, token }, queryParams, - config = {}, + config = {} }: { - pathParams: GetEdgeConfigTokenPathParams - queryParams?: GetEdgeConfigTokenQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetEdgeConfigTokenPathParams; + queryParams?: GetEdgeConfigTokenQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`) + throw new Error(`Missing required path parameter: edgeConfigId`); } if (!token) { - throw new Error(`Missing required path parameter: token`) + throw new Error(`Missing required path parameter: token`); } const data = await request< @@ -3052,8 +3167,8 @@ export async function getEdgeConfigToken({ Record, GetEdgeConfigTokenQueryParams, GetEdgeConfigTokenPathParams - >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/token/${token}`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/token/${token}`, queryParams, ...requestConfig }); + return data; } /** @@ -3064,21 +3179,27 @@ export async function getEdgeConfigToken({ export async function createEdgeConfigToken({ pathParams: { edgeConfigId }, queryParams, - config = {}, + config = {} }: { - pathParams: CreateEdgeConfigTokenPathParams - queryParams?: CreateEdgeConfigTokenQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: CreateEdgeConfigTokenPathParams; + queryParams?: CreateEdgeConfigTokenQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`) + throw new Error(`Missing required path parameter: edgeConfigId`); } const data = await request< CreateEdgeConfigTokenMutationResponse, - ErrorWrapper, + ErrorWrapper< + | CreateEdgeConfigToken400 + | CreateEdgeConfigToken401 + | CreateEdgeConfigToken402 + | CreateEdgeConfigToken403 + | CreateEdgeConfigToken404 + >, null, Record, CreateEdgeConfigTokenQueryParams, @@ -3088,9 +3209,9 @@ export async function createEdgeConfigToken({ url: `/v1/edge-config/${edgeConfigId}/token`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -3101,20 +3222,20 @@ export async function createEdgeConfigToken({ export async function getEdgeConfigBackup({ pathParams: { edgeConfigId, edgeConfigBackupVersionId }, queryParams, - config = {}, + config = {} }: { - pathParams: GetEdgeConfigBackupPathParams - queryParams?: GetEdgeConfigBackupQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetEdgeConfigBackupPathParams; + queryParams?: GetEdgeConfigBackupQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`) + throw new Error(`Missing required path parameter: edgeConfigId`); } if (!edgeConfigBackupVersionId) { - throw new Error(`Missing required path parameter: edgeConfigBackupVersionId`) + throw new Error(`Missing required path parameter: edgeConfigBackupVersionId`); } const data = await request< @@ -3124,8 +3245,13 @@ export async function getEdgeConfigBackup({ Record, GetEdgeConfigBackupQueryParams, GetEdgeConfigBackupPathParams - >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/backups/${edgeConfigBackupVersionId}`, queryParams, ...requestConfig }) - return data + >({ + method: 'GET', + url: `/v1/edge-config/${edgeConfigId}/backups/${edgeConfigBackupVersionId}`, + queryParams, + ...requestConfig + }); + return data; } /** @@ -3136,16 +3262,16 @@ export async function getEdgeConfigBackup({ export async function getEdgeConfigBackups({ pathParams: { edgeConfigId }, queryParams, - config = {}, + config = {} }: { - pathParams: GetEdgeConfigBackupsPathParams - queryParams?: GetEdgeConfigBackupsQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetEdgeConfigBackupsPathParams; + queryParams?: GetEdgeConfigBackupsQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`) + throw new Error(`Missing required path parameter: edgeConfigId`); } const data = await request< @@ -3155,8 +3281,8 @@ export async function getEdgeConfigBackups({ Record, GetEdgeConfigBackupsQueryParams, GetEdgeConfigBackupsPathParams - >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/backups`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/backups`, queryParams, ...requestConfig }); + return data; } /** @@ -3166,12 +3292,12 @@ export async function getEdgeConfigBackups({ */ export async function listUserEvents({ queryParams, - config = {}, + config = {} }: { - queryParams?: ListUserEventsQueryParams | undefined - config?: Partial & { client?: typeof client } + queryParams?: ListUserEventsQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< ListUserEventsQueryResponse, @@ -3180,8 +3306,8 @@ export async function listUserEvents({ Record, ListUserEventsQueryParams, Record - >({ method: 'GET', url: `/v3/events`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v3/events`, queryParams, ...requestConfig }); + return data; } /** @@ -3190,20 +3316,20 @@ export async function listUserEvents({ export async function gETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans({ pathParams: { integrationIdOrSlug, productIdOrSlug }, queryParams, - config = {}, + config = {} }: { - pathParams: GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansPathParams - queryParams?: GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansPathParams; + queryParams?: GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!integrationIdOrSlug) { - throw new Error(`Missing required path parameter: integrationIdOrSlug`) + throw new Error(`Missing required path parameter: integrationIdOrSlug`); } if (!productIdOrSlug) { - throw new Error(`Missing required path parameter: productIdOrSlug`) + throw new Error(`Missing required path parameter: productIdOrSlug`); } const data = await request< @@ -3218,8 +3344,13 @@ export async function gETV1IntegrationsIntegrationIntegrationIdOrSlugProductsPro Record, GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansQueryParams, GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansPathParams - >({ method: 'GET', url: `/v1/integrations/integration/${integrationIdOrSlug}/products/${productIdOrSlug}/plans`, queryParams, ...requestConfig }) - return data + >({ + method: 'GET', + url: `/v1/integrations/integration/${integrationIdOrSlug}/products/${productIdOrSlug}/plans`, + queryParams, + ...requestConfig + }); + return data; } /** @@ -3229,15 +3360,15 @@ export async function gETV1IntegrationsIntegrationIntegrationIdOrSlugProductsPro */ export async function getAccountInfo({ pathParams: { integrationConfigurationId }, - config = {}, + config = {} }: { - pathParams: GetAccountInfoPathParams - config?: Partial & { client?: typeof client } + pathParams: GetAccountInfoPathParams; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`) + throw new Error(`Missing required path parameter: integrationConfigurationId`); } const data = await request< @@ -3247,8 +3378,8 @@ export async function getAccountInfo({ Record, Record, GetAccountInfoPathParams - >({ method: 'GET', url: `/v1/installations/${integrationConfigurationId}/account`, ...requestConfig }) - return data + >({ method: 'GET', url: `/v1/installations/${integrationConfigurationId}/account`, ...requestConfig }); + return data; } /** @@ -3258,19 +3389,19 @@ export async function getAccountInfo({ */ export async function getMember({ pathParams: { integrationConfigurationId, memberId }, - config = {}, + config = {} }: { - pathParams: GetMemberPathParams - config?: Partial & { client?: typeof client } + pathParams: GetMemberPathParams; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`) + throw new Error(`Missing required path parameter: integrationConfigurationId`); } if (!memberId) { - throw new Error(`Missing required path parameter: memberId`) + throw new Error(`Missing required path parameter: memberId`); } const data = await request< @@ -3280,8 +3411,8 @@ export async function getMember({ Record, Record, GetMemberPathParams - >({ method: 'GET', url: `/v1/installations/${integrationConfigurationId}/member/${memberId}`, ...requestConfig }) - return data + >({ method: 'GET', url: `/v1/installations/${integrationConfigurationId}/member/${memberId}`, ...requestConfig }); + return data; } /** @@ -3291,15 +3422,15 @@ export async function getMember({ */ export async function createEvent({ pathParams: { integrationConfigurationId }, - config = {}, + config = {} }: { - pathParams: CreateEventPathParams - config?: Partial & { client?: typeof client } + pathParams: CreateEventPathParams; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`) + throw new Error(`Missing required path parameter: integrationConfigurationId`); } const data = await request< @@ -3313,9 +3444,9 @@ export async function createEvent({ method: 'POST', url: `/v1/installations/${integrationConfigurationId}/events`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -3325,26 +3456,28 @@ export async function createEvent({ */ export async function getIntegrationResources({ pathParams: { integrationConfigurationId }, - config = {}, + config = {} }: { - pathParams: GetIntegrationResourcesPathParams - config?: Partial & { client?: typeof client } + pathParams: GetIntegrationResourcesPathParams; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`) + throw new Error(`Missing required path parameter: integrationConfigurationId`); } const data = await request< GetIntegrationResourcesQueryResponse, - ErrorWrapper, + ErrorWrapper< + GetIntegrationResources400 | GetIntegrationResources401 | GetIntegrationResources403 | GetIntegrationResources404 + >, null, Record, Record, GetIntegrationResourcesPathParams - >({ method: 'GET', url: `/v1/installations/${integrationConfigurationId}/resources`, ...requestConfig }) - return data + >({ method: 'GET', url: `/v1/installations/${integrationConfigurationId}/resources`, ...requestConfig }); + return data; } /** @@ -3354,30 +3487,36 @@ export async function getIntegrationResources({ */ export async function getIntegrationResource({ pathParams: { integrationConfigurationId, resourceId }, - config = {}, + config = {} }: { - pathParams: GetIntegrationResourcePathParams - config?: Partial & { client?: typeof client } + pathParams: GetIntegrationResourcePathParams; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`) + throw new Error(`Missing required path parameter: integrationConfigurationId`); } if (!resourceId) { - throw new Error(`Missing required path parameter: resourceId`) + throw new Error(`Missing required path parameter: resourceId`); } const data = await request< GetIntegrationResourceQueryResponse, - ErrorWrapper, + ErrorWrapper< + GetIntegrationResource400 | GetIntegrationResource401 | GetIntegrationResource403 | GetIntegrationResource404 + >, null, Record, Record, GetIntegrationResourcePathParams - >({ method: 'GET', url: `/v1/installations/${integrationConfigurationId}/resources/${resourceId}`, ...requestConfig }) - return data + >({ + method: 'GET', + url: `/v1/installations/${integrationConfigurationId}/resources/${resourceId}`, + ...requestConfig + }); + return data; } /** @@ -3387,30 +3526,39 @@ export async function getIntegrationResource({ */ export async function deleteIntegrationResource({ pathParams: { integrationConfigurationId, resourceId }, - config = {}, + config = {} }: { - pathParams: DeleteIntegrationResourcePathParams - config?: Partial & { client?: typeof client } + pathParams: DeleteIntegrationResourcePathParams; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`) + throw new Error(`Missing required path parameter: integrationConfigurationId`); } if (!resourceId) { - throw new Error(`Missing required path parameter: resourceId`) + throw new Error(`Missing required path parameter: resourceId`); } const data = await request< DeleteIntegrationResourceMutationResponse, - ErrorWrapper, + ErrorWrapper< + | DeleteIntegrationResource400 + | DeleteIntegrationResource401 + | DeleteIntegrationResource403 + | DeleteIntegrationResource404 + >, null, Record, Record, DeleteIntegrationResourcePathParams - >({ method: 'DELETE', url: `/v1/installations/${integrationConfigurationId}/resources/${resourceId}`, ...requestConfig }) - return data + >({ + method: 'DELETE', + url: `/v1/installations/${integrationConfigurationId}/resources/${resourceId}`, + ...requestConfig + }); + return data; } /** @@ -3420,19 +3568,19 @@ export async function deleteIntegrationResource({ */ export async function importResource({ pathParams: { integrationConfigurationId, resourceId }, - config = {}, + config = {} }: { - pathParams: ImportResourcePathParams - config?: Partial & { client?: typeof client } + pathParams: ImportResourcePathParams; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`) + throw new Error(`Missing required path parameter: integrationConfigurationId`); } if (!resourceId) { - throw new Error(`Missing required path parameter: resourceId`) + throw new Error(`Missing required path parameter: resourceId`); } const data = await request< @@ -3446,9 +3594,9 @@ export async function importResource({ method: 'PUT', url: `/v1/installations/${integrationConfigurationId}/resources/${resourceId}`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -3458,15 +3606,15 @@ export async function importResource({ */ export async function submitBillingData({ pathParams: { integrationConfigurationId }, - config = {}, + config = {} }: { - pathParams: SubmitBillingDataPathParams - config?: Partial & { client?: typeof client } + pathParams: SubmitBillingDataPathParams; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`) + throw new Error(`Missing required path parameter: integrationConfigurationId`); } const data = await request< @@ -3480,9 +3628,9 @@ export async function submitBillingData({ method: 'POST', url: `/v1/installations/${integrationConfigurationId}/billing`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -3492,15 +3640,15 @@ export async function submitBillingData({ */ export async function submitInvoice({ pathParams: { integrationConfigurationId }, - config = {}, + config = {} }: { - pathParams: SubmitInvoicePathParams - config?: Partial & { client?: typeof client } + pathParams: SubmitInvoicePathParams; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`) + throw new Error(`Missing required path parameter: integrationConfigurationId`); } const data = await request< @@ -3514,9 +3662,9 @@ export async function submitInvoice({ method: 'POST', url: `/v1/installations/${integrationConfigurationId}/billing/invoices`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -3526,19 +3674,19 @@ export async function submitInvoice({ */ export async function getInvoice({ pathParams: { integrationConfigurationId, invoiceId }, - config = {}, + config = {} }: { - pathParams: GetInvoicePathParams - config?: Partial & { client?: typeof client } + pathParams: GetInvoicePathParams; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`) + throw new Error(`Missing required path parameter: integrationConfigurationId`); } if (!invoiceId) { - throw new Error(`Missing required path parameter: invoiceId`) + throw new Error(`Missing required path parameter: invoiceId`); } const data = await request< @@ -3548,8 +3696,12 @@ export async function getInvoice({ Record, Record, GetInvoicePathParams - >({ method: 'GET', url: `/v1/installations/${integrationConfigurationId}/billing/invoices/${invoiceId}`, ...requestConfig }) - return data + >({ + method: 'GET', + url: `/v1/installations/${integrationConfigurationId}/billing/invoices/${invoiceId}`, + ...requestConfig + }); + return data; } /** @@ -3559,19 +3711,19 @@ export async function getInvoice({ */ export async function updateInvoice({ pathParams: { integrationConfigurationId, invoiceId }, - config = {}, + config = {} }: { - pathParams: UpdateInvoicePathParams - config?: Partial & { client?: typeof client } + pathParams: UpdateInvoicePathParams; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`) + throw new Error(`Missing required path parameter: integrationConfigurationId`); } if (!invoiceId) { - throw new Error(`Missing required path parameter: invoiceId`) + throw new Error(`Missing required path parameter: invoiceId`); } const data = await request< @@ -3585,9 +3737,9 @@ export async function updateInvoice({ method: 'POST', url: `/v1/installations/${integrationConfigurationId}/billing/invoices/${invoiceId}/actions`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -3597,20 +3749,25 @@ export async function updateInvoice({ */ export async function submitPrepaymentBalances({ pathParams: { integrationConfigurationId }, - config = {}, + config = {} }: { - pathParams: SubmitPrepaymentBalancesPathParams - config?: Partial & { client?: typeof client } + pathParams: SubmitPrepaymentBalancesPathParams; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`) + throw new Error(`Missing required path parameter: integrationConfigurationId`); } const data = await request< SubmitPrepaymentBalancesMutationResponse, - ErrorWrapper, + ErrorWrapper< + | SubmitPrepaymentBalances400 + | SubmitPrepaymentBalances401 + | SubmitPrepaymentBalances403 + | SubmitPrepaymentBalances404 + >, null, Record, Record, @@ -3619,9 +3776,9 @@ export async function submitPrepaymentBalances({ method: 'POST', url: `/v1/installations/${integrationConfigurationId}/billing/balance`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -3631,28 +3788,30 @@ export async function submitPrepaymentBalances({ */ export async function updateResourceSecrets({ pathParams: { integrationConfigurationId, integrationProductIdOrSlug, resourceId }, - config = {}, + config = {} }: { - pathParams: UpdateResourceSecretsPathParams - config?: Partial & { client?: typeof client } + pathParams: UpdateResourceSecretsPathParams; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`) + throw new Error(`Missing required path parameter: integrationConfigurationId`); } if (!integrationProductIdOrSlug) { - throw new Error(`Missing required path parameter: integrationProductIdOrSlug`) + throw new Error(`Missing required path parameter: integrationProductIdOrSlug`); } if (!resourceId) { - throw new Error(`Missing required path parameter: resourceId`) + throw new Error(`Missing required path parameter: resourceId`); } const data = await request< UpdateResourceSecretsMutationResponse, - ErrorWrapper, + ErrorWrapper< + UpdateResourceSecrets400 | UpdateResourceSecrets401 | UpdateResourceSecrets403 | UpdateResourceSecrets404 + >, null, Record, Record, @@ -3661,9 +3820,9 @@ export async function updateResourceSecrets({ method: 'PUT', url: `/v1/installations/${integrationConfigurationId}/products/${integrationProductIdOrSlug}/resources/${resourceId}/secrets`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -3673,25 +3832,29 @@ export async function updateResourceSecrets({ */ export async function updateResourceSecretsById({ pathParams: { integrationConfigurationId, resourceId }, - config = {}, + config = {} }: { - pathParams: UpdateResourceSecretsByIdPathParams - config?: Partial & { client?: typeof client } + pathParams: UpdateResourceSecretsByIdPathParams; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`) + throw new Error(`Missing required path parameter: integrationConfigurationId`); } if (!resourceId) { - throw new Error(`Missing required path parameter: resourceId`) + throw new Error(`Missing required path parameter: resourceId`); } const data = await request< UpdateResourceSecretsByIdMutationResponse, ErrorWrapper< - UpdateResourceSecretsById400 | UpdateResourceSecretsById401 | UpdateResourceSecretsById403 | UpdateResourceSecretsById404 | UpdateResourceSecretsById422 + | UpdateResourceSecretsById400 + | UpdateResourceSecretsById401 + | UpdateResourceSecretsById403 + | UpdateResourceSecretsById404 + | UpdateResourceSecretsById422 >, null, Record, @@ -3701,9 +3864,9 @@ export async function updateResourceSecretsById({ method: 'PUT', url: `/v1/installations/${integrationConfigurationId}/resources/${resourceId}/secrets`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -3713,12 +3876,12 @@ export async function updateResourceSecretsById({ */ export async function getConfigurations({ queryParams, - config = {}, + config = {} }: { - queryParams: GetConfigurationsQueryParams - config?: Partial & { client?: typeof client } + queryParams: GetConfigurationsQueryParams; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< GetConfigurationsQueryResponse, @@ -3727,8 +3890,8 @@ export async function getConfigurations({ Record, GetConfigurationsQueryParams, Record - >({ method: 'GET', url: `/v1/integrations/configurations`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v1/integrations/configurations`, queryParams, ...requestConfig }); + return data; } /** @@ -3739,16 +3902,16 @@ export async function getConfigurations({ export async function getConfiguration({ pathParams: { id }, queryParams, - config = {}, + config = {} }: { - pathParams: GetConfigurationPathParams - queryParams?: GetConfigurationQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetConfigurationPathParams; + queryParams?: GetConfigurationQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!id) { - throw new Error(`Missing required path parameter: id`) + throw new Error(`Missing required path parameter: id`); } const data = await request< @@ -3758,8 +3921,8 @@ export async function getConfiguration({ Record, GetConfigurationQueryParams, GetConfigurationPathParams - >({ method: 'GET', url: `/v1/integrations/configuration/${id}`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v1/integrations/configuration/${id}`, queryParams, ...requestConfig }); + return data; } /** @@ -3770,16 +3933,16 @@ export async function getConfiguration({ export async function deleteConfiguration({ pathParams: { id }, queryParams, - config = {}, + config = {} }: { - pathParams: DeleteConfigurationPathParams - queryParams?: DeleteConfigurationQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: DeleteConfigurationPathParams; + queryParams?: DeleteConfigurationQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!id) { - throw new Error(`Missing required path parameter: id`) + throw new Error(`Missing required path parameter: id`); } const data = await request< @@ -3789,8 +3952,8 @@ export async function deleteConfiguration({ Record, DeleteConfigurationQueryParams, DeleteConfigurationPathParams - >({ method: 'DELETE', url: `/v1/integrations/configuration/${id}`, queryParams, ...requestConfig }) - return data + >({ method: 'DELETE', url: `/v1/integrations/configuration/${id}`, queryParams, ...requestConfig }); + return data; } /** @@ -3801,29 +3964,33 @@ export async function deleteConfiguration({ export async function getConfigurationProducts({ pathParams: { id }, queryParams, - config = {}, + config = {} }: { - pathParams: GetConfigurationProductsPathParams - queryParams?: GetConfigurationProductsQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetConfigurationProductsPathParams; + queryParams?: GetConfigurationProductsQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!id) { - throw new Error(`Missing required path parameter: id`) + throw new Error(`Missing required path parameter: id`); } const data = await request< GetConfigurationProductsQueryResponse, ErrorWrapper< - GetConfigurationProducts400 | GetConfigurationProducts401 | GetConfigurationProducts403 | GetConfigurationProducts404 | GetConfigurationProducts500 + | GetConfigurationProducts400 + | GetConfigurationProducts401 + | GetConfigurationProducts403 + | GetConfigurationProducts404 + | GetConfigurationProducts500 >, null, Record, GetConfigurationProductsQueryParams, GetConfigurationProductsPathParams - >({ method: 'GET', url: `/v1/integrations/configuration/${id}/products`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v1/integrations/configuration/${id}/products`, queryParams, ...requestConfig }); + return data; } /** @@ -3831,8 +3998,12 @@ export async function getConfigurationProducts({ * @summary SSO Token Exchange * {@link /v1/integrations/sso/token} */ -export async function exchangeSsoToken({ config = {} }: { config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config +export async function exchangeSsoToken({ + config = {} +}: { + config?: Partial & { client?: typeof client }; +}) { + const { client: request = client, ...requestConfig } = config; const data = await request< ExchangeSsoTokenMutationResponse, @@ -3841,8 +4012,13 @@ export async function exchangeSsoToken({ config = {} }: { config?: Partial, Record, Record - >({ method: 'POST', url: `/v1/integrations/sso/token`, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) - return data + >({ + method: 'POST', + url: `/v1/integrations/sso/token`, + ...requestConfig, + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -3852,12 +4028,12 @@ export async function exchangeSsoToken({ config = {} }: { config?: Partial & { client?: typeof client } + queryParams?: GetIntegrationLogDrainsQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< GetIntegrationLogDrainsQueryResponse, @@ -3866,8 +4042,8 @@ export async function getIntegrationLogDrains({ Record, GetIntegrationLogDrainsQueryParams, Record - >({ method: 'GET', url: `/v2/integrations/log-drains`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v2/integrations/log-drains`, queryParams, ...requestConfig }); + return data; } /** @@ -3877,12 +4053,12 @@ export async function getIntegrationLogDrains({ */ export async function createLogDrain({ queryParams, - config = {}, + config = {} }: { - queryParams?: CreateLogDrainQueryParams | undefined - config?: Partial & { client?: typeof client } + queryParams?: CreateLogDrainQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< CreateLogDrainMutationResponse, @@ -3896,9 +4072,9 @@ export async function createLogDrain({ url: `/v2/integrations/log-drains`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -3909,27 +4085,32 @@ export async function createLogDrain({ export async function deleteIntegrationLogDrain({ pathParams: { id }, queryParams, - config = {}, + config = {} }: { - pathParams: DeleteIntegrationLogDrainPathParams - queryParams?: DeleteIntegrationLogDrainQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: DeleteIntegrationLogDrainPathParams; + queryParams?: DeleteIntegrationLogDrainQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!id) { - throw new Error(`Missing required path parameter: id`) + throw new Error(`Missing required path parameter: id`); } const data = await request< DeleteIntegrationLogDrainMutationResponse, - ErrorWrapper, + ErrorWrapper< + | DeleteIntegrationLogDrain400 + | DeleteIntegrationLogDrain401 + | DeleteIntegrationLogDrain403 + | DeleteIntegrationLogDrain404 + >, null, Record, DeleteIntegrationLogDrainQueryParams, DeleteIntegrationLogDrainPathParams - >({ method: 'DELETE', url: `/v1/integrations/log-drains/${id}`, queryParams, ...requestConfig }) - return data + >({ method: 'DELETE', url: `/v1/integrations/log-drains/${id}`, queryParams, ...requestConfig }); + return data; } /** @@ -3940,20 +4121,20 @@ export async function deleteIntegrationLogDrain({ export async function getRuntimeLogs({ pathParams: { projectId, deploymentId }, queryParams, - config = {}, + config = {} }: { - pathParams: GetRuntimeLogsPathParams - queryParams?: GetRuntimeLogsQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetRuntimeLogsPathParams; + queryParams?: GetRuntimeLogsQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!projectId) { - throw new Error(`Missing required path parameter: projectId`) + throw new Error(`Missing required path parameter: projectId`); } if (!deploymentId) { - throw new Error(`Missing required path parameter: deploymentId`) + throw new Error(`Missing required path parameter: deploymentId`); } const data = await request< @@ -3963,8 +4144,13 @@ export async function getRuntimeLogs({ Record, GetRuntimeLogsQueryParams, GetRuntimeLogsPathParams - >({ method: 'GET', url: `/v1/projects/${projectId}/deployments/${deploymentId}/runtime-logs`, queryParams, ...requestConfig }) - return data + >({ + method: 'GET', + url: `/v1/projects/${projectId}/deployments/${deploymentId}/runtime-logs`, + queryParams, + ...requestConfig + }); + return data; } /** @@ -3974,24 +4160,29 @@ export async function getRuntimeLogs({ */ export async function createExperimentationItem({ pathParams: { integrationConfigurationId, resourceId }, - config = {}, + config = {} }: { - pathParams: CreateExperimentationItemPathParams - config?: Partial & { client?: typeof client } + pathParams: CreateExperimentationItemPathParams; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`) + throw new Error(`Missing required path parameter: integrationConfigurationId`); } if (!resourceId) { - throw new Error(`Missing required path parameter: resourceId`) + throw new Error(`Missing required path parameter: resourceId`); } const data = await request< CreateExperimentationItemMutationResponse, - ErrorWrapper, + ErrorWrapper< + | CreateExperimentationItem400 + | CreateExperimentationItem401 + | CreateExperimentationItem403 + | CreateExperimentationItem404 + >, null, Record, Record, @@ -4000,9 +4191,9 @@ export async function createExperimentationItem({ method: 'POST', url: `/v1/installations/${integrationConfigurationId}/resources/${resourceId}/experimentation/items`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -4012,28 +4203,33 @@ export async function createExperimentationItem({ */ export async function updateExperimentationItem({ pathParams: { integrationConfigurationId, resourceId, itemId }, - config = {}, + config = {} }: { - pathParams: UpdateExperimentationItemPathParams - config?: Partial & { client?: typeof client } + pathParams: UpdateExperimentationItemPathParams; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`) + throw new Error(`Missing required path parameter: integrationConfigurationId`); } if (!resourceId) { - throw new Error(`Missing required path parameter: resourceId`) + throw new Error(`Missing required path parameter: resourceId`); } if (!itemId) { - throw new Error(`Missing required path parameter: itemId`) + throw new Error(`Missing required path parameter: itemId`); } const data = await request< UpdateExperimentationItemMutationResponse, - ErrorWrapper, + ErrorWrapper< + | UpdateExperimentationItem400 + | UpdateExperimentationItem401 + | UpdateExperimentationItem403 + | UpdateExperimentationItem404 + >, null, Record, Record, @@ -4042,9 +4238,9 @@ export async function updateExperimentationItem({ method: 'PATCH', url: `/v1/installations/${integrationConfigurationId}/resources/${resourceId}/experimentation/items/${itemId}`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -4054,34 +4250,43 @@ export async function updateExperimentationItem({ */ export async function deleteExperimentationItem({ pathParams: { integrationConfigurationId, resourceId, itemId }, - config = {}, + config = {} }: { - pathParams: DeleteExperimentationItemPathParams - config?: Partial & { client?: typeof client } + pathParams: DeleteExperimentationItemPathParams; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`) + throw new Error(`Missing required path parameter: integrationConfigurationId`); } if (!resourceId) { - throw new Error(`Missing required path parameter: resourceId`) + throw new Error(`Missing required path parameter: resourceId`); } if (!itemId) { - throw new Error(`Missing required path parameter: itemId`) + throw new Error(`Missing required path parameter: itemId`); } const data = await request< DeleteExperimentationItemMutationResponse, - ErrorWrapper, + ErrorWrapper< + | DeleteExperimentationItem400 + | DeleteExperimentationItem401 + | DeleteExperimentationItem403 + | DeleteExperimentationItem404 + >, null, Record, Record, DeleteExperimentationItemPathParams - >({ method: 'DELETE', url: `/v1/installations/${integrationConfigurationId}/resources/${resourceId}/experimentation/items/${itemId}`, ...requestConfig }) - return data + >({ + method: 'DELETE', + url: `/v1/installations/${integrationConfigurationId}/resources/${resourceId}/experimentation/items/${itemId}`, + ...requestConfig + }); + return data; } /** @@ -4091,19 +4296,19 @@ export async function deleteExperimentationItem({ */ export async function updateExperimentationEdgeConfig({ pathParams: { integrationConfigurationId, resourceId }, - config = {}, + config = {} }: { - pathParams: UpdateExperimentationEdgeConfigPathParams - config?: Partial & { client?: typeof client } + pathParams: UpdateExperimentationEdgeConfigPathParams; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`) + throw new Error(`Missing required path parameter: integrationConfigurationId`); } if (!resourceId) { - throw new Error(`Missing required path parameter: resourceId`) + throw new Error(`Missing required path parameter: resourceId`); } const data = await request< @@ -4124,9 +4329,9 @@ export async function updateExperimentationEdgeConfig({ method: 'PUT', url: `/v1/installations/${integrationConfigurationId}/resources/${resourceId}/experimentation/edge-config`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -4137,16 +4342,16 @@ export async function updateExperimentationEdgeConfig({ export async function getProjectMembers({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: GetProjectMembersPathParams - queryParams?: GetProjectMembersQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetProjectMembersPathParams; + queryParams?: GetProjectMembersQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< @@ -4156,8 +4361,8 @@ export async function getProjectMembers({ Record, GetProjectMembersQueryParams, GetProjectMembersPathParams - >({ method: 'GET', url: `/v1/projects/${idOrName}/members`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v1/projects/${idOrName}/members`, queryParams, ...requestConfig }); + return data; } /** @@ -4168,16 +4373,16 @@ export async function getProjectMembers({ export async function addProjectMember({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: AddProjectMemberPathParams - queryParams?: AddProjectMemberQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: AddProjectMemberPathParams; + queryParams?: AddProjectMemberQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< @@ -4192,9 +4397,9 @@ export async function addProjectMember({ url: `/v1/projects/${idOrName}/members`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -4205,20 +4410,20 @@ export async function addProjectMember({ export async function removeProjectMember({ pathParams: { idOrName, uid }, queryParams, - config = {}, + config = {} }: { - pathParams: RemoveProjectMemberPathParams - queryParams?: RemoveProjectMemberQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: RemoveProjectMemberPathParams; + queryParams?: RemoveProjectMemberQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } if (!uid) { - throw new Error(`Missing required path parameter: uid`) + throw new Error(`Missing required path parameter: uid`); } const data = await request< @@ -4228,8 +4433,8 @@ export async function removeProjectMember({ Record, RemoveProjectMemberQueryParams, RemoveProjectMemberPathParams - >({ method: 'DELETE', url: `/v1/projects/${idOrName}/members/${uid}`, queryParams, ...requestConfig }) - return data + >({ method: 'DELETE', url: `/v1/projects/${idOrName}/members/${uid}`, queryParams, ...requestConfig }); + return data; } /** @@ -4239,12 +4444,12 @@ export async function removeProjectMember({ */ export async function getProjects({ queryParams, - config = {}, + config = {} }: { - queryParams?: GetProjectsQueryParams | undefined - config?: Partial & { client?: typeof client } + queryParams?: GetProjectsQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< GetProjectsQueryResponse, @@ -4253,8 +4458,8 @@ export async function getProjects({ Record, GetProjectsQueryParams, Record - >({ method: 'GET', url: `/v10/projects`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v10/projects`, queryParams, ...requestConfig }); + return data; } /** @@ -4264,12 +4469,12 @@ export async function getProjects({ */ export async function createProject({ queryParams, - config = {}, + config = {} }: { - queryParams?: CreateProjectQueryParams | undefined - config?: Partial & { client?: typeof client } + queryParams?: CreateProjectQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< CreateProjectMutationResponse, @@ -4288,8 +4493,14 @@ export async function createProject({ Record, CreateProjectQueryParams, Record - >({ method: 'POST', url: `/v11/projects`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) - return data + >({ + method: 'POST', + url: `/v11/projects`, + queryParams, + ...requestConfig, + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -4300,16 +4511,16 @@ export async function createProject({ export async function getProject({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: GetProjectPathParams - queryParams?: GetProjectQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetProjectPathParams; + queryParams?: GetProjectQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< @@ -4319,8 +4530,8 @@ export async function getProject({ Record, GetProjectQueryParams, GetProjectPathParams - >({ method: 'GET', url: `/v9/projects/${idOrName}`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v9/projects/${idOrName}`, queryParams, ...requestConfig }); + return data; } /** @@ -4331,21 +4542,29 @@ export async function getProject({ export async function updateProject({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: UpdateProjectPathParams - queryParams?: UpdateProjectQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: UpdateProjectPathParams; + queryParams?: UpdateProjectQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< UpdateProjectMutationResponse, - ErrorWrapper, + ErrorWrapper< + | UpdateProject400 + | UpdateProject401 + | UpdateProject402 + | UpdateProject403 + | UpdateProject404 + | UpdateProject409 + | UpdateProject428 + >, null, Record, UpdateProjectQueryParams, @@ -4355,9 +4574,9 @@ export async function updateProject({ url: `/v9/projects/${idOrName}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -4368,16 +4587,16 @@ export async function updateProject({ export async function deleteProject({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: DeleteProjectPathParams - queryParams?: DeleteProjectQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: DeleteProjectPathParams; + queryParams?: DeleteProjectQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< @@ -4387,8 +4606,8 @@ export async function deleteProject({ Record, DeleteProjectQueryParams, DeleteProjectPathParams - >({ method: 'DELETE', url: `/v9/projects/${idOrName}`, queryParams, ...requestConfig }) - return data + >({ method: 'DELETE', url: `/v9/projects/${idOrName}`, queryParams, ...requestConfig }); + return data; } /** @@ -4399,22 +4618,26 @@ export async function deleteProject({ export async function createCustomEnvironment({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: CreateCustomEnvironmentPathParams - queryParams?: CreateCustomEnvironmentQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: CreateCustomEnvironmentPathParams; + queryParams?: CreateCustomEnvironmentQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< CreateCustomEnvironmentMutationResponse, ErrorWrapper< - CreateCustomEnvironment400 | CreateCustomEnvironment401 | CreateCustomEnvironment402 | CreateCustomEnvironment403 | CreateCustomEnvironment500 + | CreateCustomEnvironment400 + | CreateCustomEnvironment401 + | CreateCustomEnvironment402 + | CreateCustomEnvironment403 + | CreateCustomEnvironment500 >, null, Record, @@ -4425,9 +4648,9 @@ export async function createCustomEnvironment({ url: `/v9/projects/${idOrName}/custom-environments`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -4438,16 +4661,16 @@ export async function createCustomEnvironment({ export async function listCustomEnvironments({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: ListCustomEnvironmentsPathParams - queryParams?: ListCustomEnvironmentsQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: ListCustomEnvironmentsPathParams; + queryParams?: ListCustomEnvironmentsQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< @@ -4457,8 +4680,8 @@ export async function listCustomEnvironments({ Record, ListCustomEnvironmentsQueryParams, ListCustomEnvironmentsPathParams - >({ method: 'GET', url: `/v9/projects/${idOrName}/custom-environments`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v9/projects/${idOrName}/custom-environments`, queryParams, ...requestConfig }); + return data; } /** @@ -4469,20 +4692,20 @@ export async function listCustomEnvironments({ export async function getCustomEnvironment({ pathParams: { idOrName, environmentSlugOrId }, queryParams, - config = {}, + config = {} }: { - pathParams: GetCustomEnvironmentPathParams - queryParams?: GetCustomEnvironmentQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetCustomEnvironmentPathParams; + queryParams?: GetCustomEnvironmentQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } if (!environmentSlugOrId) { - throw new Error(`Missing required path parameter: environmentSlugOrId`) + throw new Error(`Missing required path parameter: environmentSlugOrId`); } const data = await request< @@ -4492,8 +4715,13 @@ export async function getCustomEnvironment({ Record, GetCustomEnvironmentQueryParams, GetCustomEnvironmentPathParams - >({ method: 'GET', url: `/v9/projects/${idOrName}/custom-environments/${environmentSlugOrId}`, queryParams, ...requestConfig }) - return data + >({ + method: 'GET', + url: `/v9/projects/${idOrName}/custom-environments/${environmentSlugOrId}`, + queryParams, + ...requestConfig + }); + return data; } /** @@ -4504,26 +4732,30 @@ export async function getCustomEnvironment({ export async function updateCustomEnvironment({ pathParams: { idOrName, environmentSlugOrId }, queryParams, - config = {}, + config = {} }: { - pathParams: UpdateCustomEnvironmentPathParams - queryParams?: UpdateCustomEnvironmentQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: UpdateCustomEnvironmentPathParams; + queryParams?: UpdateCustomEnvironmentQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } if (!environmentSlugOrId) { - throw new Error(`Missing required path parameter: environmentSlugOrId`) + throw new Error(`Missing required path parameter: environmentSlugOrId`); } const data = await request< UpdateCustomEnvironmentMutationResponse, ErrorWrapper< - UpdateCustomEnvironment400 | UpdateCustomEnvironment401 | UpdateCustomEnvironment402 | UpdateCustomEnvironment403 | UpdateCustomEnvironment500 + | UpdateCustomEnvironment400 + | UpdateCustomEnvironment401 + | UpdateCustomEnvironment402 + | UpdateCustomEnvironment403 + | UpdateCustomEnvironment500 >, null, Record, @@ -4534,9 +4766,9 @@ export async function updateCustomEnvironment({ url: `/v9/projects/${idOrName}/custom-environments/${environmentSlugOrId}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -4547,20 +4779,20 @@ export async function updateCustomEnvironment({ export async function removeCustomEnvironment({ pathParams: { idOrName, environmentSlugOrId }, queryParams, - config = {}, + config = {} }: { - pathParams: RemoveCustomEnvironmentPathParams - queryParams?: RemoveCustomEnvironmentQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: RemoveCustomEnvironmentPathParams; + queryParams?: RemoveCustomEnvironmentQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } if (!environmentSlugOrId) { - throw new Error(`Missing required path parameter: environmentSlugOrId`) + throw new Error(`Missing required path parameter: environmentSlugOrId`); } const data = await request< @@ -4575,9 +4807,9 @@ export async function removeCustomEnvironment({ url: `/v9/projects/${idOrName}/custom-environments/${environmentSlugOrId}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -4588,16 +4820,16 @@ export async function removeCustomEnvironment({ export async function getProjectDomains({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: GetProjectDomainsPathParams - queryParams?: GetProjectDomainsQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetProjectDomainsPathParams; + queryParams?: GetProjectDomainsQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< @@ -4607,8 +4839,8 @@ export async function getProjectDomains({ Record, GetProjectDomainsQueryParams, GetProjectDomainsPathParams - >({ method: 'GET', url: `/v9/projects/${idOrName}/domains`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v9/projects/${idOrName}/domains`, queryParams, ...requestConfig }); + return data; } /** @@ -4619,20 +4851,20 @@ export async function getProjectDomains({ export async function getProjectDomain({ pathParams: { idOrName, domain }, queryParams, - config = {}, + config = {} }: { - pathParams: GetProjectDomainPathParams - queryParams?: GetProjectDomainQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetProjectDomainPathParams; + queryParams?: GetProjectDomainQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } if (!domain) { - throw new Error(`Missing required path parameter: domain`) + throw new Error(`Missing required path parameter: domain`); } const data = await request< @@ -4642,8 +4874,8 @@ export async function getProjectDomain({ Record, GetProjectDomainQueryParams, GetProjectDomainPathParams - >({ method: 'GET', url: `/v9/projects/${idOrName}/domains/${domain}`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v9/projects/${idOrName}/domains/${domain}`, queryParams, ...requestConfig }); + return data; } /** @@ -4654,20 +4886,20 @@ export async function getProjectDomain({ export async function updateProjectDomain({ pathParams: { idOrName, domain }, queryParams, - config = {}, + config = {} }: { - pathParams: UpdateProjectDomainPathParams - queryParams?: UpdateProjectDomainQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: UpdateProjectDomainPathParams; + queryParams?: UpdateProjectDomainQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } if (!domain) { - throw new Error(`Missing required path parameter: domain`) + throw new Error(`Missing required path parameter: domain`); } const data = await request< @@ -4682,9 +4914,9 @@ export async function updateProjectDomain({ url: `/v9/projects/${idOrName}/domains/${domain}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -4695,25 +4927,31 @@ export async function updateProjectDomain({ export async function removeProjectDomain({ pathParams: { idOrName, domain }, queryParams, - config = {}, + config = {} }: { - pathParams: RemoveProjectDomainPathParams - queryParams?: RemoveProjectDomainQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: RemoveProjectDomainPathParams; + queryParams?: RemoveProjectDomainQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } if (!domain) { - throw new Error(`Missing required path parameter: domain`) + throw new Error(`Missing required path parameter: domain`); } const data = await request< RemoveProjectDomainMutationResponse, - ErrorWrapper, + ErrorWrapper< + | RemoveProjectDomain400 + | RemoveProjectDomain401 + | RemoveProjectDomain403 + | RemoveProjectDomain404 + | RemoveProjectDomain409 + >, null, Record, RemoveProjectDomainQueryParams, @@ -4723,9 +4961,9 @@ export async function removeProjectDomain({ url: `/v9/projects/${idOrName}/domains/${domain}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -4736,21 +4974,23 @@ export async function removeProjectDomain({ export async function addProjectDomain({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: AddProjectDomainPathParams - queryParams?: AddProjectDomainQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: AddProjectDomainPathParams; + queryParams?: AddProjectDomainQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< AddProjectDomainMutationResponse, - ErrorWrapper, + ErrorWrapper< + AddProjectDomain400 | AddProjectDomain401 | AddProjectDomain402 | AddProjectDomain403 | AddProjectDomain409 + >, null, Record, AddProjectDomainQueryParams, @@ -4760,9 +5000,9 @@ export async function addProjectDomain({ url: `/v10/projects/${idOrName}/domains`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -4773,20 +5013,20 @@ export async function addProjectDomain({ export async function moveProjectDomain({ pathParams: { idOrName, domain }, queryParams, - config = {}, + config = {} }: { - pathParams: MoveProjectDomainPathParams - queryParams?: MoveProjectDomainQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: MoveProjectDomainPathParams; + queryParams?: MoveProjectDomainQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } if (!domain) { - throw new Error(`Missing required path parameter: domain`) + throw new Error(`Missing required path parameter: domain`); } const data = await request< @@ -4801,9 +5041,9 @@ export async function moveProjectDomain({ url: `/v1/projects/${idOrName}/domains/${domain}/move`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -4814,20 +5054,20 @@ export async function moveProjectDomain({ export async function verifyProjectDomain({ pathParams: { idOrName, domain }, queryParams, - config = {}, + config = {} }: { - pathParams: VerifyProjectDomainPathParams - queryParams?: VerifyProjectDomainQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: VerifyProjectDomainPathParams; + queryParams?: VerifyProjectDomainQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } if (!domain) { - throw new Error(`Missing required path parameter: domain`) + throw new Error(`Missing required path parameter: domain`); } const data = await request< @@ -4837,8 +5077,8 @@ export async function verifyProjectDomain({ Record, VerifyProjectDomainQueryParams, VerifyProjectDomainPathParams - >({ method: 'POST', url: `/v9/projects/${idOrName}/domains/${domain}/verify`, queryParams, ...requestConfig }) - return data + >({ method: 'POST', url: `/v9/projects/${idOrName}/domains/${domain}/verify`, queryParams, ...requestConfig }); + return data; } /** @@ -4849,16 +5089,16 @@ export async function verifyProjectDomain({ export async function filterProjectEnvs({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: FilterProjectEnvsPathParams - queryParams?: FilterProjectEnvsQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: FilterProjectEnvsPathParams; + queryParams?: FilterProjectEnvsQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< @@ -4868,8 +5108,8 @@ export async function filterProjectEnvs({ Record, FilterProjectEnvsQueryParams, FilterProjectEnvsPathParams - >({ method: 'GET', url: `/v10/projects/${idOrName}/env`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v10/projects/${idOrName}/env`, queryParams, ...requestConfig }); + return data; } /** @@ -4880,16 +5120,16 @@ export async function filterProjectEnvs({ export async function createProjectEnv({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: CreateProjectEnvPathParams - queryParams?: CreateProjectEnvQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: CreateProjectEnvPathParams; + queryParams?: CreateProjectEnvQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< @@ -4913,9 +5153,9 @@ export async function createProjectEnv({ url: `/v10/projects/${idOrName}/env`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -4926,20 +5166,20 @@ export async function createProjectEnv({ export async function getProjectEnv({ pathParams: { idOrName, id }, queryParams, - config = {}, + config = {} }: { - pathParams: GetProjectEnvPathParams - queryParams?: GetProjectEnvQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetProjectEnvPathParams; + queryParams?: GetProjectEnvQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } if (!id) { - throw new Error(`Missing required path parameter: id`) + throw new Error(`Missing required path parameter: id`); } const data = await request< @@ -4949,8 +5189,8 @@ export async function getProjectEnv({ Record, GetProjectEnvQueryParams, GetProjectEnvPathParams - >({ method: 'GET', url: `/v1/projects/${idOrName}/env/${id}`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v1/projects/${idOrName}/env/${id}`, queryParams, ...requestConfig }); + return data; } /** @@ -4961,31 +5201,33 @@ export async function getProjectEnv({ export async function removeProjectEnv({ pathParams: { idOrName, id }, queryParams, - config = {}, + config = {} }: { - pathParams: RemoveProjectEnvPathParams - queryParams?: RemoveProjectEnvQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: RemoveProjectEnvPathParams; + queryParams?: RemoveProjectEnvQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } if (!id) { - throw new Error(`Missing required path parameter: id`) + throw new Error(`Missing required path parameter: id`); } const data = await request< RemoveProjectEnvMutationResponse, - ErrorWrapper, + ErrorWrapper< + RemoveProjectEnv400 | RemoveProjectEnv401 | RemoveProjectEnv403 | RemoveProjectEnv404 | RemoveProjectEnv409 + >, null, Record, RemoveProjectEnvQueryParams, RemoveProjectEnvPathParams - >({ method: 'DELETE', url: `/v9/projects/${idOrName}/env/${id}`, queryParams, ...requestConfig }) - return data + >({ method: 'DELETE', url: `/v9/projects/${idOrName}/env/${id}`, queryParams, ...requestConfig }); + return data; } /** @@ -4996,25 +5238,33 @@ export async function removeProjectEnv({ export async function editProjectEnv({ pathParams: { idOrName, id }, queryParams, - config = {}, + config = {} }: { - pathParams: EditProjectEnvPathParams - queryParams?: EditProjectEnvQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: EditProjectEnvPathParams; + queryParams?: EditProjectEnvQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } if (!id) { - throw new Error(`Missing required path parameter: id`) + throw new Error(`Missing required path parameter: id`); } const data = await request< EditProjectEnvMutationResponse, - ErrorWrapper, + ErrorWrapper< + | EditProjectEnv400 + | EditProjectEnv401 + | EditProjectEnv403 + | EditProjectEnv404 + | EditProjectEnv409 + | EditProjectEnv429 + | EditProjectEnv500 + >, null, Record, EditProjectEnvQueryParams, @@ -5024,9 +5274,9 @@ export async function editProjectEnv({ url: `/v9/projects/${idOrName}/env/${id}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -5037,27 +5287,32 @@ export async function editProjectEnv({ export async function getRollingReleaseBillingStatus({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: GetRollingReleaseBillingStatusPathParams - queryParams?: GetRollingReleaseBillingStatusQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetRollingReleaseBillingStatusPathParams; + queryParams?: GetRollingReleaseBillingStatusQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< GetRollingReleaseBillingStatusQueryResponse, - ErrorWrapper, + ErrorWrapper< + | GetRollingReleaseBillingStatus400 + | GetRollingReleaseBillingStatus401 + | GetRollingReleaseBillingStatus403 + | GetRollingReleaseBillingStatus404 + >, null, Record, GetRollingReleaseBillingStatusQueryParams, GetRollingReleaseBillingStatusPathParams - >({ method: 'GET', url: `/v1/projects/${idOrName}/rolling-release/billing`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v1/projects/${idOrName}/rolling-release/billing`, queryParams, ...requestConfig }); + return data; } /** @@ -5068,27 +5323,29 @@ export async function getRollingReleaseBillingStatus({ export async function getRollingReleaseConfig({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: GetRollingReleaseConfigPathParams - queryParams?: GetRollingReleaseConfigQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetRollingReleaseConfigPathParams; + queryParams?: GetRollingReleaseConfigQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< GetRollingReleaseConfigQueryResponse, - ErrorWrapper, + ErrorWrapper< + GetRollingReleaseConfig400 | GetRollingReleaseConfig401 | GetRollingReleaseConfig403 | GetRollingReleaseConfig404 + >, null, Record, GetRollingReleaseConfigQueryParams, GetRollingReleaseConfigPathParams - >({ method: 'GET', url: `/v1/projects/${idOrName}/rolling-release/config`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v1/projects/${idOrName}/rolling-release/config`, queryParams, ...requestConfig }); + return data; } /** @@ -5099,27 +5356,32 @@ export async function getRollingReleaseConfig({ export async function deleteRollingReleaseConfig({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: DeleteRollingReleaseConfigPathParams - queryParams?: DeleteRollingReleaseConfigQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: DeleteRollingReleaseConfigPathParams; + queryParams?: DeleteRollingReleaseConfigQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< DeleteRollingReleaseConfigMutationResponse, - ErrorWrapper, + ErrorWrapper< + | DeleteRollingReleaseConfig400 + | DeleteRollingReleaseConfig401 + | DeleteRollingReleaseConfig403 + | DeleteRollingReleaseConfig404 + >, null, Record, DeleteRollingReleaseConfigQueryParams, DeleteRollingReleaseConfigPathParams - >({ method: 'DELETE', url: `/v1/projects/${idOrName}/rolling-release/config`, queryParams, ...requestConfig }) - return data + >({ method: 'DELETE', url: `/v1/projects/${idOrName}/rolling-release/config`, queryParams, ...requestConfig }); + return data; } /** @@ -5130,27 +5392,32 @@ export async function deleteRollingReleaseConfig({ export async function updateRollingReleaseConfig({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: UpdateRollingReleaseConfigPathParams - queryParams?: UpdateRollingReleaseConfigQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: UpdateRollingReleaseConfigPathParams; + queryParams?: UpdateRollingReleaseConfigQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< UpdateRollingReleaseConfigMutationResponse, - ErrorWrapper, + ErrorWrapper< + | UpdateRollingReleaseConfig400 + | UpdateRollingReleaseConfig401 + | UpdateRollingReleaseConfig403 + | UpdateRollingReleaseConfig404 + >, null, Record, UpdateRollingReleaseConfigQueryParams, UpdateRollingReleaseConfigPathParams - >({ method: 'PATCH', url: `/v1/projects/${idOrName}/rolling-release/config`, queryParams, ...requestConfig }) - return data + >({ method: 'PATCH', url: `/v1/projects/${idOrName}/rolling-release/config`, queryParams, ...requestConfig }); + return data; } /** @@ -5161,16 +5428,16 @@ export async function updateRollingReleaseConfig({ export async function getRollingRelease({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: GetRollingReleasePathParams - queryParams?: GetRollingReleaseQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetRollingReleasePathParams; + queryParams?: GetRollingReleaseQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< @@ -5180,8 +5447,8 @@ export async function getRollingRelease({ Record, GetRollingReleaseQueryParams, GetRollingReleasePathParams - >({ method: 'GET', url: `/v1/projects/${idOrName}/rolling-release`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v1/projects/${idOrName}/rolling-release`, queryParams, ...requestConfig }); + return data; } /** @@ -5192,16 +5459,16 @@ export async function getRollingRelease({ export async function approveRollingReleaseStage({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: ApproveRollingReleaseStagePathParams - queryParams?: ApproveRollingReleaseStageQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: ApproveRollingReleaseStagePathParams; + queryParams?: ApproveRollingReleaseStageQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< @@ -5222,9 +5489,9 @@ export async function approveRollingReleaseStage({ url: `/v1/projects/${idOrName}/rolling-release/approve-stage`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -5235,21 +5502,23 @@ export async function approveRollingReleaseStage({ export async function completeRollingRelease({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: CompleteRollingReleasePathParams - queryParams?: CompleteRollingReleaseQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: CompleteRollingReleasePathParams; + queryParams?: CompleteRollingReleaseQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< CompleteRollingReleaseMutationResponse, - ErrorWrapper, + ErrorWrapper< + CompleteRollingRelease400 | CompleteRollingRelease401 | CompleteRollingRelease403 | CompleteRollingRelease404 + >, null, Record, CompleteRollingReleaseQueryParams, @@ -5259,9 +5528,9 @@ export async function completeRollingRelease({ url: `/v1/projects/${idOrName}/rolling-release/complete`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -5272,16 +5541,16 @@ export async function completeRollingRelease({ export async function createProjectTransferRequest({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: CreateProjectTransferRequestPathParams - queryParams?: CreateProjectTransferRequestQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: CreateProjectTransferRequestPathParams; + queryParams?: CreateProjectTransferRequestQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< @@ -5296,9 +5565,9 @@ export async function createProjectTransferRequest({ url: `/projects/${idOrName}/transfer-request`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -5309,16 +5578,16 @@ export async function createProjectTransferRequest({ export async function acceptProjectTransferRequest({ pathParams: { code }, queryParams, - config = {}, + config = {} }: { - pathParams: AcceptProjectTransferRequestPathParams - queryParams?: AcceptProjectTransferRequestQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: AcceptProjectTransferRequestPathParams; + queryParams?: AcceptProjectTransferRequestQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!code) { - throw new Error(`Missing required path parameter: code`) + throw new Error(`Missing required path parameter: code`); } const data = await request< @@ -5339,9 +5608,9 @@ export async function acceptProjectTransferRequest({ url: `/projects/transfer-request/${code}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -5352,16 +5621,16 @@ export async function acceptProjectTransferRequest({ export async function updateProjectProtectionBypass({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: UpdateProjectProtectionBypassPathParams - queryParams?: UpdateProjectProtectionBypassQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: UpdateProjectProtectionBypassPathParams; + queryParams?: UpdateProjectProtectionBypassQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< @@ -5382,9 +5651,9 @@ export async function updateProjectProtectionBypass({ url: `/v1/projects/${idOrName}/protection-bypass`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -5395,20 +5664,20 @@ export async function updateProjectProtectionBypass({ export async function requestPromote({ pathParams: { projectId, deploymentId }, queryParams, - config = {}, + config = {} }: { - pathParams: RequestPromotePathParams - queryParams?: RequestPromoteQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: RequestPromotePathParams; + queryParams?: RequestPromoteQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!projectId) { - throw new Error(`Missing required path parameter: projectId`) + throw new Error(`Missing required path parameter: projectId`); } if (!deploymentId) { - throw new Error(`Missing required path parameter: deploymentId`) + throw new Error(`Missing required path parameter: deploymentId`); } const data = await request< @@ -5418,8 +5687,8 @@ export async function requestPromote({ Record, RequestPromoteQueryParams, RequestPromotePathParams - >({ method: 'POST', url: `/v10/projects/${projectId}/promote/${deploymentId}`, queryParams, ...requestConfig }) - return data + >({ method: 'POST', url: `/v10/projects/${projectId}/promote/${deploymentId}`, queryParams, ...requestConfig }); + return data; } /** @@ -5430,16 +5699,16 @@ export async function requestPromote({ export async function listPromoteAliases({ pathParams: { projectId }, queryParams, - config = {}, + config = {} }: { - pathParams: ListPromoteAliasesPathParams - queryParams?: ListPromoteAliasesQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: ListPromoteAliasesPathParams; + queryParams?: ListPromoteAliasesQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!projectId) { - throw new Error(`Missing required path parameter: projectId`) + throw new Error(`Missing required path parameter: projectId`); } const data = await request< @@ -5449,8 +5718,8 @@ export async function listPromoteAliases({ Record, ListPromoteAliasesQueryParams, ListPromoteAliasesPathParams - >({ method: 'GET', url: `/v1/projects/${projectId}/promote/aliases`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v1/projects/${projectId}/promote/aliases`, queryParams, ...requestConfig }); + return data; } /** @@ -5461,16 +5730,16 @@ export async function listPromoteAliases({ export async function pauseProject({ pathParams: { projectId }, queryParams, - config = {}, + config = {} }: { - pathParams: PauseProjectPathParams - queryParams?: PauseProjectQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: PauseProjectPathParams; + queryParams?: PauseProjectQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!projectId) { - throw new Error(`Missing required path parameter: projectId`) + throw new Error(`Missing required path parameter: projectId`); } const data = await request< @@ -5480,8 +5749,8 @@ export async function pauseProject({ Record, PauseProjectQueryParams, PauseProjectPathParams - >({ method: 'POST', url: `/v1/projects/${projectId}/pause`, queryParams, ...requestConfig }) - return data + >({ method: 'POST', url: `/v1/projects/${projectId}/pause`, queryParams, ...requestConfig }); + return data; } /** @@ -5492,16 +5761,16 @@ export async function pauseProject({ export async function unpauseProject({ pathParams: { projectId }, queryParams, - config = {}, + config = {} }: { - pathParams: UnpauseProjectPathParams - queryParams?: UnpauseProjectQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: UnpauseProjectPathParams; + queryParams?: UnpauseProjectQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!projectId) { - throw new Error(`Missing required path parameter: projectId`) + throw new Error(`Missing required path parameter: projectId`); } const data = await request< @@ -5511,8 +5780,8 @@ export async function unpauseProject({ Record, UnpauseProjectQueryParams, UnpauseProjectPathParams - >({ method: 'POST', url: `/v1/projects/${projectId}/unpause`, queryParams, ...requestConfig }) - return data + >({ method: 'POST', url: `/v1/projects/${projectId}/unpause`, queryParams, ...requestConfig }); + return data; } /** @@ -5522,16 +5791,21 @@ export async function unpauseProject({ */ export async function updateAttackChallengeMode({ queryParams, - config = {}, + config = {} }: { - queryParams?: UpdateAttackChallengeModeQueryParams | undefined - config?: Partial & { client?: typeof client } + queryParams?: UpdateAttackChallengeModeQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< UpdateAttackChallengeModeMutationResponse, - ErrorWrapper, + ErrorWrapper< + | UpdateAttackChallengeMode400 + | UpdateAttackChallengeMode401 + | UpdateAttackChallengeMode403 + | UpdateAttackChallengeMode404 + >, null, Record, UpdateAttackChallengeModeQueryParams, @@ -5541,9 +5815,9 @@ export async function updateAttackChallengeMode({ url: `/v1/security/attack-mode`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -5553,16 +5827,23 @@ export async function updateAttackChallengeMode({ */ export async function putFirewallConfig({ queryParams, - config = {}, + config = {} }: { - queryParams: PutFirewallConfigQueryParams - config?: Partial & { client?: typeof client } + queryParams: PutFirewallConfigQueryParams; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< PutFirewallConfigMutationResponse, - ErrorWrapper, + ErrorWrapper< + | PutFirewallConfig400 + | PutFirewallConfig401 + | PutFirewallConfig402 + | PutFirewallConfig403 + | PutFirewallConfig404 + | PutFirewallConfig500 + >, null, Record, PutFirewallConfigQueryParams, @@ -5572,9 +5853,9 @@ export async function putFirewallConfig({ url: `/v1/security/firewall/config`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -5584,17 +5865,22 @@ export async function putFirewallConfig({ */ export async function updateFirewallConfig({ queryParams, - config = {}, + config = {} }: { - queryParams: UpdateFirewallConfigQueryParams - config?: Partial & { client?: typeof client } + queryParams: UpdateFirewallConfigQueryParams; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< UpdateFirewallConfigMutationResponse, ErrorWrapper< - UpdateFirewallConfig400 | UpdateFirewallConfig401 | UpdateFirewallConfig402 | UpdateFirewallConfig403 | UpdateFirewallConfig404 | UpdateFirewallConfig500 + | UpdateFirewallConfig400 + | UpdateFirewallConfig401 + | UpdateFirewallConfig402 + | UpdateFirewallConfig403 + | UpdateFirewallConfig404 + | UpdateFirewallConfig500 >, null, Record, @@ -5605,9 +5891,9 @@ export async function updateFirewallConfig({ url: `/v1/security/firewall/config`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -5618,16 +5904,16 @@ export async function updateFirewallConfig({ export async function getFirewallConfig({ pathParams: { configVersion }, queryParams, - config = {}, + config = {} }: { - pathParams: GetFirewallConfigPathParams - queryParams: GetFirewallConfigQueryParams - config?: Partial & { client?: typeof client } + pathParams: GetFirewallConfigPathParams; + queryParams: GetFirewallConfigQueryParams; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!configVersion) { - throw new Error(`Missing required path parameter: configVersion`) + throw new Error(`Missing required path parameter: configVersion`); } const data = await request< @@ -5637,8 +5923,8 @@ export async function getFirewallConfig({ Record, GetFirewallConfigQueryParams, GetFirewallConfigPathParams - >({ method: 'GET', url: `/v1/security/firewall/config/${configVersion}`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v1/security/firewall/config/${configVersion}`, queryParams, ...requestConfig }); + return data; } /** @@ -5648,22 +5934,24 @@ export async function getFirewallConfig({ */ export async function getActiveAttackStatus({ queryParams, - config = {}, + config = {} }: { - queryParams: GetActiveAttackStatusQueryParams - config?: Partial & { client?: typeof client } + queryParams: GetActiveAttackStatusQueryParams; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< GetActiveAttackStatusQueryResponse, - ErrorWrapper, + ErrorWrapper< + GetActiveAttackStatus400 | GetActiveAttackStatus401 | GetActiveAttackStatus403 | GetActiveAttackStatus404 + >, null, Record, GetActiveAttackStatusQueryParams, Record - >({ method: 'GET', url: `/v1/security/firewall/attack-status`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v1/security/firewall/attack-status`, queryParams, ...requestConfig }); + return data; } /** @@ -5673,12 +5961,12 @@ export async function getActiveAttackStatus({ */ export async function getBypassIp({ queryParams, - config = {}, + config = {} }: { - queryParams: GetBypassIpQueryParams - config?: Partial & { client?: typeof client } + queryParams: GetBypassIpQueryParams; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< GetBypassIpQueryResponse, @@ -5687,8 +5975,8 @@ export async function getBypassIp({ Record, GetBypassIpQueryParams, Record - >({ method: 'GET', url: `/v1/security/firewall/bypass`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v1/security/firewall/bypass`, queryParams, ...requestConfig }); + return data; } /** @@ -5698,12 +5986,12 @@ export async function getBypassIp({ */ export async function addBypassIp({ queryParams, - config = {}, + config = {} }: { - queryParams: AddBypassIpQueryParams - config?: Partial & { client?: typeof client } + queryParams: AddBypassIpQueryParams; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< AddBypassIpMutationResponse, @@ -5717,9 +6005,9 @@ export async function addBypassIp({ url: `/v1/security/firewall/bypass`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -5729,12 +6017,12 @@ export async function addBypassIp({ */ export async function removeBypassIp({ queryParams, - config = {}, + config = {} }: { - queryParams: RemoveBypassIpQueryParams - config?: Partial & { client?: typeof client } + queryParams: RemoveBypassIpQueryParams; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< RemoveBypassIpMutationResponse, @@ -5748,9 +6036,9 @@ export async function removeBypassIp({ url: `/v1/security/firewall/bypass`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -5761,16 +6049,16 @@ export async function removeBypassIp({ export async function getTeamMembers({ pathParams: { teamId }, queryParams, - config = {}, + config = {} }: { - pathParams: GetTeamMembersPathParams - queryParams?: GetTeamMembersQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetTeamMembersPathParams; + queryParams?: GetTeamMembersQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!teamId) { - throw new Error(`Missing required path parameter: teamId`) + throw new Error(`Missing required path parameter: teamId`); } const data = await request< @@ -5780,8 +6068,8 @@ export async function getTeamMembers({ Record, GetTeamMembersQueryParams, GetTeamMembersPathParams - >({ method: 'GET', url: `/v3/teams/${teamId}/members`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v3/teams/${teamId}/members`, queryParams, ...requestConfig }); + return data; } /** @@ -5791,15 +6079,15 @@ export async function getTeamMembers({ */ export async function inviteUserToTeam({ pathParams: { teamId }, - config = {}, + config = {} }: { - pathParams: InviteUserToTeamPathParams - config?: Partial & { client?: typeof client } + pathParams: InviteUserToTeamPathParams; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!teamId) { - throw new Error(`Missing required path parameter: teamId`) + throw new Error(`Missing required path parameter: teamId`); } const data = await request< @@ -5809,8 +6097,13 @@ export async function inviteUserToTeam({ Record, Record, InviteUserToTeamPathParams - >({ method: 'POST', url: `/v1/teams/${teamId}/members`, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) - return data + >({ + method: 'POST', + url: `/v1/teams/${teamId}/members`, + ...requestConfig, + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -5820,26 +6113,37 @@ export async function inviteUserToTeam({ */ export async function requestAccessToTeam({ pathParams: { teamId }, - config = {}, + config = {} }: { - pathParams: RequestAccessToTeamPathParams - config?: Partial & { client?: typeof client } + pathParams: RequestAccessToTeamPathParams; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!teamId) { - throw new Error(`Missing required path parameter: teamId`) + throw new Error(`Missing required path parameter: teamId`); } const data = await request< RequestAccessToTeamMutationResponse, - ErrorWrapper, + ErrorWrapper< + | RequestAccessToTeam400 + | RequestAccessToTeam401 + | RequestAccessToTeam403 + | RequestAccessToTeam404 + | RequestAccessToTeam503 + >, null, Record, Record, RequestAccessToTeamPathParams - >({ method: 'POST', url: `/v1/teams/${teamId}/request`, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) - return data + >({ + method: 'POST', + url: `/v1/teams/${teamId}/request`, + ...requestConfig, + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -5849,19 +6153,19 @@ export async function requestAccessToTeam({ */ export async function getTeamAccessRequest({ pathParams: { userId, teamId }, - config = {}, + config = {} }: { - pathParams: GetTeamAccessRequestPathParams - config?: Partial & { client?: typeof client } + pathParams: GetTeamAccessRequestPathParams; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!userId) { - throw new Error(`Missing required path parameter: userId`) + throw new Error(`Missing required path parameter: userId`); } if (!teamId) { - throw new Error(`Missing required path parameter: teamId`) + throw new Error(`Missing required path parameter: teamId`); } const data = await request< @@ -5871,8 +6175,8 @@ export async function getTeamAccessRequest({ Record, Record, GetTeamAccessRequestPathParams - >({ method: 'GET', url: `/v1/teams/${teamId}/request/${userId}`, ...requestConfig }) - return data + >({ method: 'GET', url: `/v1/teams/${teamId}/request/${userId}`, ...requestConfig }); + return data; } /** @@ -5882,15 +6186,15 @@ export async function getTeamAccessRequest({ */ export async function joinTeam({ pathParams: { teamId }, - config = {}, + config = {} }: { - pathParams: JoinTeamPathParams - config?: Partial & { client?: typeof client } + pathParams: JoinTeamPathParams; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!teamId) { - throw new Error(`Missing required path parameter: teamId`) + throw new Error(`Missing required path parameter: teamId`); } const data = await request< @@ -5904,9 +6208,9 @@ export async function joinTeam({ method: 'POST', url: `/v1/teams/${teamId}/members/teams/join`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -5916,30 +6220,42 @@ export async function joinTeam({ */ export async function updateTeamMember({ pathParams: { uid, teamId }, - config = {}, + config = {} }: { - pathParams: UpdateTeamMemberPathParams - config?: Partial & { client?: typeof client } + pathParams: UpdateTeamMemberPathParams; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!uid) { - throw new Error(`Missing required path parameter: uid`) + throw new Error(`Missing required path parameter: uid`); } if (!teamId) { - throw new Error(`Missing required path parameter: teamId`) + throw new Error(`Missing required path parameter: teamId`); } const data = await request< UpdateTeamMemberMutationResponse, - ErrorWrapper, + ErrorWrapper< + | UpdateTeamMember400 + | UpdateTeamMember401 + | UpdateTeamMember402 + | UpdateTeamMember403 + | UpdateTeamMember404 + | UpdateTeamMember500 + >, null, Record, Record, UpdateTeamMemberPathParams - >({ method: 'PATCH', url: `/v1/teams/${teamId}/members/${uid}`, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) - return data + >({ + method: 'PATCH', + url: `/v1/teams/${teamId}/members/${uid}`, + ...requestConfig, + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -5950,31 +6266,33 @@ export async function updateTeamMember({ export async function removeTeamMember({ pathParams: { uid, teamId }, queryParams, - config = {}, + config = {} }: { - pathParams: RemoveTeamMemberPathParams - queryParams?: RemoveTeamMemberQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: RemoveTeamMemberPathParams; + queryParams?: RemoveTeamMemberQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!uid) { - throw new Error(`Missing required path parameter: uid`) + throw new Error(`Missing required path parameter: uid`); } if (!teamId) { - throw new Error(`Missing required path parameter: teamId`) + throw new Error(`Missing required path parameter: teamId`); } const data = await request< RemoveTeamMemberMutationResponse, - ErrorWrapper, + ErrorWrapper< + RemoveTeamMember400 | RemoveTeamMember401 | RemoveTeamMember403 | RemoveTeamMember404 | RemoveTeamMember503 + >, null, Record, RemoveTeamMemberQueryParams, RemoveTeamMemberPathParams - >({ method: 'DELETE', url: `/v1/teams/${teamId}/members/${uid}`, queryParams, ...requestConfig }) - return data + >({ method: 'DELETE', url: `/v1/teams/${teamId}/members/${uid}`, queryParams, ...requestConfig }); + return data; } /** @@ -5985,16 +6303,16 @@ export async function removeTeamMember({ export async function getTeam({ pathParams: { teamId }, queryParams, - config = {}, + config = {} }: { - pathParams: GetTeamPathParams - queryParams?: GetTeamQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetTeamPathParams; + queryParams?: GetTeamQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!teamId) { - throw new Error(`Missing required path parameter: teamId`) + throw new Error(`Missing required path parameter: teamId`); } const data = await request< @@ -6004,8 +6322,8 @@ export async function getTeam({ Record, GetTeamQueryParams, GetTeamPathParams - >({ method: 'GET', url: `/v2/teams/${teamId}`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v2/teams/${teamId}`, queryParams, ...requestConfig }); + return data; } /** @@ -6016,16 +6334,16 @@ export async function getTeam({ export async function patchTeam({ pathParams: { teamId }, queryParams, - config = {}, + config = {} }: { - pathParams: PatchTeamPathParams - queryParams?: PatchTeamQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: PatchTeamPathParams; + queryParams?: PatchTeamQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!teamId) { - throw new Error(`Missing required path parameter: teamId`) + throw new Error(`Missing required path parameter: teamId`); } const data = await request< @@ -6035,8 +6353,14 @@ export async function patchTeam({ Record, PatchTeamQueryParams, PatchTeamPathParams - >({ method: 'PATCH', url: `/v2/teams/${teamId}`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) - return data + >({ + method: 'PATCH', + url: `/v2/teams/${teamId}`, + queryParams, + ...requestConfig, + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -6046,12 +6370,12 @@ export async function patchTeam({ */ export async function getTeams({ queryParams, - config = {}, + config = {} }: { - queryParams?: GetTeamsQueryParams | undefined - config?: Partial & { client?: typeof client } + queryParams?: GetTeamsQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< GetTeamsQueryResponse, @@ -6060,8 +6384,8 @@ export async function getTeams({ Record, GetTeamsQueryParams, Record - >({ method: 'GET', url: `/v2/teams`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v2/teams`, queryParams, ...requestConfig }); + return data; } /** @@ -6070,7 +6394,7 @@ export async function getTeams({ * {@link /v1/teams} */ export async function createTeam({ config = {} }: { config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< CreateTeamMutationResponse, @@ -6079,8 +6403,13 @@ export async function createTeam({ config = {} }: { config?: Partial, Record, Record - >({ method: 'POST', url: `/v1/teams`, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) - return data + >({ + method: 'POST', + url: `/v1/teams`, + ...requestConfig, + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -6091,16 +6420,16 @@ export async function createTeam({ config = {} }: { config?: Partial & { client?: typeof client } + pathParams: DeleteTeamPathParams; + queryParams?: DeleteTeamQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!teamId) { - throw new Error(`Missing required path parameter: teamId`) + throw new Error(`Missing required path parameter: teamId`); } const data = await request< @@ -6110,8 +6439,14 @@ export async function deleteTeam({ Record, DeleteTeamQueryParams, DeleteTeamPathParams - >({ method: 'DELETE', url: `/v1/teams/${teamId}`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) - return data + >({ + method: 'DELETE', + url: `/v1/teams/${teamId}`, + queryParams, + ...requestConfig, + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -6121,19 +6456,19 @@ export async function deleteTeam({ */ export async function deleteTeamInviteCode({ pathParams: { inviteId, teamId }, - config = {}, + config = {} }: { - pathParams: DeleteTeamInviteCodePathParams - config?: Partial & { client?: typeof client } + pathParams: DeleteTeamInviteCodePathParams; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!inviteId) { - throw new Error(`Missing required path parameter: inviteId`) + throw new Error(`Missing required path parameter: inviteId`); } if (!teamId) { - throw new Error(`Missing required path parameter: teamId`) + throw new Error(`Missing required path parameter: teamId`); } const data = await request< @@ -6143,8 +6478,8 @@ export async function deleteTeamInviteCode({ Record, Record, DeleteTeamInviteCodePathParams - >({ method: 'DELETE', url: `/v1/teams/${teamId}/invites/${inviteId}`, ...requestConfig }) - return data + >({ method: 'DELETE', url: `/v1/teams/${teamId}/invites/${inviteId}`, ...requestConfig }); + return data; } /** @@ -6155,13 +6490,13 @@ export async function deleteTeamInviteCode({ export async function uploadFile({ queryParams, headers, - config = {}, + config = {} }: { - queryParams?: UploadFileQueryParams | undefined - headers?: UploadFileHeaderParams | undefined - config?: Partial & { client?: typeof client } + queryParams?: UploadFileQueryParams | undefined; + headers?: UploadFileHeaderParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< UploadFileMutationResponse, @@ -6175,9 +6510,9 @@ export async function uploadFile({ url: `/v2/files`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationOctetStream', ...headers, ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationOctetStream', ...headers, ...requestConfig.headers } + }); + return data; } /** @@ -6185,8 +6520,12 @@ export async function uploadFile({ * @summary List Auth Tokens * {@link /v5/user/tokens} */ -export async function listAuthTokens({ config = {} }: { config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config +export async function listAuthTokens({ + config = {} +}: { + config?: Partial & { client?: typeof client }; +}) { + const { client: request = client, ...requestConfig } = config; const data = await request< ListAuthTokensQueryResponse, @@ -6195,8 +6534,8 @@ export async function listAuthTokens({ config = {} }: { config?: Partial, Record, Record - >({ method: 'GET', url: `/v5/user/tokens`, ...requestConfig }) - return data + >({ method: 'GET', url: `/v5/user/tokens`, ...requestConfig }); + return data; } /** @@ -6206,12 +6545,12 @@ export async function listAuthTokens({ config = {} }: { config?: Partial & { client?: typeof client } + queryParams?: CreateAuthTokenQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< CreateAuthTokenMutationResponse, @@ -6220,8 +6559,14 @@ export async function createAuthToken({ Record, CreateAuthTokenQueryParams, Record - >({ method: 'POST', url: `/v3/user/tokens`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) - return data + >({ + method: 'POST', + url: `/v3/user/tokens`, + queryParams, + ...requestConfig, + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -6231,15 +6576,15 @@ export async function createAuthToken({ */ export async function getAuthToken({ pathParams: { tokenId }, - config = {}, + config = {} }: { - pathParams: GetAuthTokenPathParams - config?: Partial & { client?: typeof client } + pathParams: GetAuthTokenPathParams; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!tokenId) { - throw new Error(`Missing required path parameter: tokenId`) + throw new Error(`Missing required path parameter: tokenId`); } const data = await request< @@ -6249,8 +6594,8 @@ export async function getAuthToken({ Record, Record, GetAuthTokenPathParams - >({ method: 'GET', url: `/v5/user/tokens/${tokenId}`, ...requestConfig }) - return data + >({ method: 'GET', url: `/v5/user/tokens/${tokenId}`, ...requestConfig }); + return data; } /** @@ -6260,15 +6605,15 @@ export async function getAuthToken({ */ export async function deleteAuthToken({ pathParams: { tokenId }, - config = {}, + config = {} }: { - pathParams: DeleteAuthTokenPathParams - config?: Partial & { client?: typeof client } + pathParams: DeleteAuthTokenPathParams; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!tokenId) { - throw new Error(`Missing required path parameter: tokenId`) + throw new Error(`Missing required path parameter: tokenId`); } const data = await request< @@ -6278,8 +6623,8 @@ export async function deleteAuthToken({ Record, Record, DeleteAuthTokenPathParams - >({ method: 'DELETE', url: `/v3/user/tokens/${tokenId}`, ...requestConfig }) - return data + >({ method: 'DELETE', url: `/v3/user/tokens/${tokenId}`, ...requestConfig }); + return data; } /** @@ -6288,7 +6633,7 @@ export async function deleteAuthToken({ * {@link /v2/user} */ export async function getAuthUser({ config = {} }: { config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< GetAuthUserQueryResponse, @@ -6297,8 +6642,8 @@ export async function getAuthUser({ config = {} }: { config?: Partial, Record, Record - >({ method: 'GET', url: `/v2/user`, ...requestConfig }) - return data + >({ method: 'GET', url: `/v2/user`, ...requestConfig }); + return data; } /** @@ -6307,7 +6652,7 @@ export async function getAuthUser({ config = {} }: { config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< RequestDeleteMutationResponse, @@ -6316,8 +6661,13 @@ export async function requestDelete({ config = {} }: { config?: Partial, Record, Record - >({ method: 'DELETE', url: `/v1/user`, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) - return data + >({ + method: 'DELETE', + url: `/v1/user`, + ...requestConfig, + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -6327,12 +6677,12 @@ export async function requestDelete({ config = {} }: { config?: Partial & { client?: typeof client } + queryParams?: CreateWebhookQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< CreateWebhookMutationResponse, @@ -6341,8 +6691,14 @@ export async function createWebhook({ Record, CreateWebhookQueryParams, Record - >({ method: 'POST', url: `/v1/webhooks`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) - return data + >({ + method: 'POST', + url: `/v1/webhooks`, + queryParams, + ...requestConfig, + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -6352,12 +6708,12 @@ export async function createWebhook({ */ export async function getWebhooks({ queryParams, - config = {}, + config = {} }: { - queryParams?: GetWebhooksQueryParams | undefined - config?: Partial & { client?: typeof client } + queryParams?: GetWebhooksQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< GetWebhooksQueryResponse, @@ -6366,8 +6722,8 @@ export async function getWebhooks({ Record, GetWebhooksQueryParams, Record - >({ method: 'GET', url: `/v1/webhooks`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v1/webhooks`, queryParams, ...requestConfig }); + return data; } /** @@ -6378,16 +6734,16 @@ export async function getWebhooks({ export async function getWebhook({ pathParams: { id }, queryParams, - config = {}, + config = {} }: { - pathParams: GetWebhookPathParams - queryParams?: GetWebhookQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetWebhookPathParams; + queryParams?: GetWebhookQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!id) { - throw new Error(`Missing required path parameter: id`) + throw new Error(`Missing required path parameter: id`); } const data = await request< @@ -6397,8 +6753,8 @@ export async function getWebhook({ Record, GetWebhookQueryParams, GetWebhookPathParams - >({ method: 'GET', url: `/v1/webhooks/${id}`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v1/webhooks/${id}`, queryParams, ...requestConfig }); + return data; } /** @@ -6409,16 +6765,16 @@ export async function getWebhook({ export async function deleteWebhook({ pathParams: { id }, queryParams, - config = {}, + config = {} }: { - pathParams: DeleteWebhookPathParams - queryParams?: DeleteWebhookQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: DeleteWebhookPathParams; + queryParams?: DeleteWebhookQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!id) { - throw new Error(`Missing required path parameter: id`) + throw new Error(`Missing required path parameter: id`); } const data = await request< @@ -6428,8 +6784,8 @@ export async function deleteWebhook({ Record, DeleteWebhookQueryParams, DeleteWebhookPathParams - >({ method: 'DELETE', url: `/v1/webhooks/${id}`, queryParams, ...requestConfig }) - return data + >({ method: 'DELETE', url: `/v1/webhooks/${id}`, queryParams, ...requestConfig }); + return data; } /** @@ -6440,27 +6796,29 @@ export async function deleteWebhook({ export async function listDeploymentAliases({ pathParams: { id }, queryParams, - config = {}, + config = {} }: { - pathParams: ListDeploymentAliasesPathParams - queryParams?: ListDeploymentAliasesQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: ListDeploymentAliasesPathParams; + queryParams?: ListDeploymentAliasesQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!id) { - throw new Error(`Missing required path parameter: id`) + throw new Error(`Missing required path parameter: id`); } const data = await request< ListDeploymentAliasesQueryResponse, - ErrorWrapper, + ErrorWrapper< + ListDeploymentAliases400 | ListDeploymentAliases401 | ListDeploymentAliases403 | ListDeploymentAliases404 + >, null, Record, ListDeploymentAliasesQueryParams, ListDeploymentAliasesPathParams - >({ method: 'GET', url: `/v2/deployments/${id}/aliases`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v2/deployments/${id}/aliases`, queryParams, ...requestConfig }); + return data; } /** @@ -6471,16 +6829,16 @@ export async function listDeploymentAliases({ export async function assignAlias({ pathParams: { id }, queryParams, - config = {}, + config = {} }: { - pathParams: AssignAliasPathParams - queryParams?: AssignAliasQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: AssignAliasPathParams; + queryParams?: AssignAliasQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!id) { - throw new Error(`Missing required path parameter: id`) + throw new Error(`Missing required path parameter: id`); } const data = await request< @@ -6495,9 +6853,9 @@ export async function assignAlias({ url: `/v2/deployments/${id}/aliases`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -6507,12 +6865,12 @@ export async function assignAlias({ */ export async function listAliases({ queryParams, - config = {}, + config = {} }: { - queryParams?: ListAliasesQueryParams | undefined - config?: Partial & { client?: typeof client } + queryParams?: ListAliasesQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< ListAliasesQueryResponse, @@ -6521,8 +6879,8 @@ export async function listAliases({ Record, ListAliasesQueryParams, Record - >({ method: 'GET', url: `/v4/aliases`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v4/aliases`, queryParams, ...requestConfig }); + return data; } /** @@ -6533,16 +6891,16 @@ export async function listAliases({ export async function getAlias({ pathParams: { idOrAlias }, queryParams, - config = {}, + config = {} }: { - pathParams: GetAliasPathParams - queryParams?: GetAliasQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetAliasPathParams; + queryParams?: GetAliasQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrAlias) { - throw new Error(`Missing required path parameter: idOrAlias`) + throw new Error(`Missing required path parameter: idOrAlias`); } const data = await request< @@ -6552,8 +6910,8 @@ export async function getAlias({ Record, GetAliasQueryParams, GetAliasPathParams - >({ method: 'GET', url: `/v4/aliases/${idOrAlias}`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v4/aliases/${idOrAlias}`, queryParams, ...requestConfig }); + return data; } /** @@ -6564,16 +6922,16 @@ export async function getAlias({ export async function deleteAlias({ pathParams: { aliasId }, queryParams, - config = {}, + config = {} }: { - pathParams: DeleteAliasPathParams - queryParams?: DeleteAliasQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: DeleteAliasPathParams; + queryParams?: DeleteAliasQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!aliasId) { - throw new Error(`Missing required path parameter: aliasId`) + throw new Error(`Missing required path parameter: aliasId`); } const data = await request< @@ -6583,8 +6941,8 @@ export async function deleteAlias({ Record, DeleteAliasQueryParams, DeleteAliasPathParams - >({ method: 'DELETE', url: `/v2/aliases/${aliasId}`, queryParams, ...requestConfig }) - return data + >({ method: 'DELETE', url: `/v2/aliases/${aliasId}`, queryParams, ...requestConfig }); + return data; } /** @@ -6595,16 +6953,16 @@ export async function deleteAlias({ export async function patchUrlProtectionBypass({ pathParams: { id }, queryParams, - config = {}, + config = {} }: { - pathParams: PatchUrlProtectionBypassPathParams - queryParams?: PatchUrlProtectionBypassQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: PatchUrlProtectionBypassPathParams; + queryParams?: PatchUrlProtectionBypassQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!id) { - throw new Error(`Missing required path parameter: id`) + throw new Error(`Missing required path parameter: id`); } const data = await request< @@ -6627,16 +6985,16 @@ export async function patchUrlProtectionBypass({ url: `/aliases/${id}/protection-bypass`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return data + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** * {@link /certs} */ export async function listCerts({ config = {} }: { config?: Partial & { client?: typeof client } }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< ListCertsQueryResponse, @@ -6645,8 +7003,8 @@ export async function listCerts({ config = {} }: { config?: Partial, Record, Record - >({ method: 'GET', url: `/certs`, ...requestConfig }) - return data + >({ method: 'GET', url: `/certs`, ...requestConfig }); + return data; } /** @@ -6657,16 +7015,16 @@ export async function listCerts({ config = {} }: { config?: Partial & { client?: typeof client } + pathParams: GetCertByIdPathParams; + queryParams?: GetCertByIdQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!id) { - throw new Error(`Missing required path parameter: id`) + throw new Error(`Missing required path parameter: id`); } const data = await request< @@ -6676,8 +7034,8 @@ export async function getCertById({ Record, GetCertByIdQueryParams, GetCertByIdPathParams - >({ method: 'GET', url: `/v8/certs/${id}`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v8/certs/${id}`, queryParams, ...requestConfig }); + return data; } /** @@ -6688,16 +7046,16 @@ export async function getCertById({ export async function removeCert({ pathParams: { id }, queryParams, - config = {}, + config = {} }: { - pathParams: RemoveCertPathParams - queryParams?: RemoveCertQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: RemoveCertPathParams; + queryParams?: RemoveCertQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!id) { - throw new Error(`Missing required path parameter: id`) + throw new Error(`Missing required path parameter: id`); } const data = await request< @@ -6707,8 +7065,8 @@ export async function removeCert({ Record, RemoveCertQueryParams, RemoveCertPathParams - >({ method: 'DELETE', url: `/v8/certs/${id}`, queryParams, ...requestConfig }) - return data + >({ method: 'DELETE', url: `/v8/certs/${id}`, queryParams, ...requestConfig }); + return data; } /** @@ -6718,22 +7076,30 @@ export async function removeCert({ */ export async function issueCert({ queryParams, - config = {}, + config = {} }: { - queryParams?: IssueCertQueryParams | undefined - config?: Partial & { client?: typeof client } + queryParams?: IssueCertQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< IssueCertMutationResponse, - ErrorWrapper, + ErrorWrapper< + IssueCert400 | IssueCert401 | IssueCert402 | IssueCert403 | IssueCert404 | IssueCert449 | IssueCert500 + >, null, Record, IssueCertQueryParams, Record - >({ method: 'POST', url: `/v8/certs`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) - return data + >({ + method: 'POST', + url: `/v8/certs`, + queryParams, + ...requestConfig, + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -6743,12 +7109,12 @@ export async function issueCert({ */ export async function uploadCert({ queryParams, - config = {}, + config = {} }: { - queryParams?: UploadCertQueryParams | undefined - config?: Partial & { client?: typeof client } + queryParams?: UploadCertQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< UploadCertMutationResponse, @@ -6757,8 +7123,14 @@ export async function uploadCert({ Record, UploadCertQueryParams, Record - >({ method: 'PUT', url: `/v8/certs`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) - return data + >({ + method: 'PUT', + url: `/v8/certs`, + queryParams, + ...requestConfig, + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -6769,16 +7141,16 @@ export async function uploadCert({ export async function listDeploymentFiles({ pathParams: { id }, queryParams, - config = {}, + config = {} }: { - pathParams: ListDeploymentFilesPathParams - queryParams?: ListDeploymentFilesQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: ListDeploymentFilesPathParams; + queryParams?: ListDeploymentFilesQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!id) { - throw new Error(`Missing required path parameter: id`) + throw new Error(`Missing required path parameter: id`); } const data = await request< @@ -6788,8 +7160,8 @@ export async function listDeploymentFiles({ Record, ListDeploymentFilesQueryParams, ListDeploymentFilesPathParams - >({ method: 'GET', url: `/v6/deployments/${id}/files`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v6/deployments/${id}/files`, queryParams, ...requestConfig }); + return data; } /** @@ -6800,33 +7172,37 @@ export async function listDeploymentFiles({ export async function getDeploymentFileContents({ pathParams: { id, fileId }, queryParams, - config = {}, + config = {} }: { - pathParams: GetDeploymentFileContentsPathParams - queryParams?: GetDeploymentFileContentsQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetDeploymentFileContentsPathParams; + queryParams?: GetDeploymentFileContentsQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!id) { - throw new Error(`Missing required path parameter: id`) + throw new Error(`Missing required path parameter: id`); } if (!fileId) { - throw new Error(`Missing required path parameter: fileId`) + throw new Error(`Missing required path parameter: fileId`); } const data = await request< GetDeploymentFileContentsQueryResponse, ErrorWrapper< - GetDeploymentFileContents400 | GetDeploymentFileContents401 | GetDeploymentFileContents403 | GetDeploymentFileContents404 | GetDeploymentFileContents410 + | GetDeploymentFileContents400 + | GetDeploymentFileContents401 + | GetDeploymentFileContents403 + | GetDeploymentFileContents404 + | GetDeploymentFileContents410 >, null, Record, GetDeploymentFileContentsQueryParams, GetDeploymentFileContentsPathParams - >({ method: 'GET', url: `/v8/deployments/${id}/files/${fileId}`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v8/deployments/${id}/files/${fileId}`, queryParams, ...requestConfig }); + return data; } /** @@ -6836,12 +7212,12 @@ export async function getDeploymentFileContents({ */ export async function getDeployments({ queryParams, - config = {}, + config = {} }: { - queryParams?: GetDeploymentsQueryParams | undefined - config?: Partial & { client?: typeof client } + queryParams?: GetDeploymentsQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< GetDeploymentsQueryResponse, @@ -6850,8 +7226,8 @@ export async function getDeployments({ Record, GetDeploymentsQueryParams, Record - >({ method: 'GET', url: `/v6/deployments`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v6/deployments`, queryParams, ...requestConfig }); + return data; } /** @@ -6862,16 +7238,16 @@ export async function getDeployments({ export async function deleteDeployment({ pathParams: { id }, queryParams, - config = {}, + config = {} }: { - pathParams: DeleteDeploymentPathParams - queryParams?: DeleteDeploymentQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: DeleteDeploymentPathParams; + queryParams?: DeleteDeploymentQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!id) { - throw new Error(`Missing required path parameter: id`) + throw new Error(`Missing required path parameter: id`); } const data = await request< @@ -6881,8 +7257,8 @@ export async function deleteDeployment({ Record, DeleteDeploymentQueryParams, DeleteDeploymentPathParams - >({ method: 'DELETE', url: `/v13/deployments/${id}`, queryParams, ...requestConfig }) - return data + >({ method: 'DELETE', url: `/v13/deployments/${id}`, queryParams, ...requestConfig }); + return data; } /** @@ -6892,12 +7268,12 @@ export async function deleteDeployment({ */ export async function getSecrets({ queryParams, - config = {}, + config = {} }: { - queryParams?: GetSecretsQueryParams | undefined - config?: Partial & { client?: typeof client } + queryParams?: GetSecretsQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< GetSecretsQueryResponse, @@ -6906,8 +7282,8 @@ export async function getSecrets({ Record, GetSecretsQueryParams, Record - >({ method: 'GET', url: `/v3/secrets`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v3/secrets`, queryParams, ...requestConfig }); + return data; } /** @@ -6918,16 +7294,16 @@ export async function getSecrets({ export async function createSecret({ pathParams: { name }, queryParams, - config = {}, + config = {} }: { - pathParams: CreateSecretPathParams - queryParams?: CreateSecretQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: CreateSecretPathParams; + queryParams?: CreateSecretQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!name) { - throw new Error(`Missing required path parameter: name`) + throw new Error(`Missing required path parameter: name`); } const data = await request< @@ -6937,8 +7313,14 @@ export async function createSecret({ Record, CreateSecretQueryParams, CreateSecretPathParams - >({ method: 'POST', url: `/v2/secrets/${name}`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) - return data + >({ + method: 'POST', + url: `/v2/secrets/${name}`, + queryParams, + ...requestConfig, + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -6949,16 +7331,16 @@ export async function createSecret({ export async function renameSecret({ pathParams: { name }, queryParams, - config = {}, + config = {} }: { - pathParams: RenameSecretPathParams - queryParams?: RenameSecretQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: RenameSecretPathParams; + queryParams?: RenameSecretQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!name) { - throw new Error(`Missing required path parameter: name`) + throw new Error(`Missing required path parameter: name`); } const data = await request< @@ -6968,8 +7350,14 @@ export async function renameSecret({ Record, RenameSecretQueryParams, RenameSecretPathParams - >({ method: 'PATCH', url: `/v2/secrets/${name}`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) - return data + >({ + method: 'PATCH', + url: `/v2/secrets/${name}`, + queryParams, + ...requestConfig, + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return data; } /** @@ -6980,16 +7368,16 @@ export async function renameSecret({ export async function getSecret({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: GetSecretPathParams - queryParams?: GetSecretQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetSecretPathParams; + queryParams?: GetSecretQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< @@ -6999,8 +7387,8 @@ export async function getSecret({ Record, GetSecretQueryParams, GetSecretPathParams - >({ method: 'GET', url: `/v3/secrets/${idOrName}`, queryParams, ...requestConfig }) - return data + >({ method: 'GET', url: `/v3/secrets/${idOrName}`, queryParams, ...requestConfig }); + return data; } /** @@ -7011,16 +7399,16 @@ export async function getSecret({ export async function deleteSecret({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: DeleteSecretPathParams - queryParams?: DeleteSecretQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: DeleteSecretPathParams; + queryParams?: DeleteSecretQueryParams | undefined; + config?: Partial & { client?: typeof client }; }) { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< @@ -7030,8 +7418,8 @@ export async function deleteSecret({ Record, DeleteSecretQueryParams, DeleteSecretPathParams - >({ method: 'DELETE', url: `/v2/secrets/${idOrName}`, queryParams, ...requestConfig }) - return data + >({ method: 'DELETE', url: `/v2/secrets/${idOrName}`, queryParams, ...requestConfig }); + return data; } export const operationsByPath = { @@ -7060,7 +7448,8 @@ export const operationsByPath = { 'PATCH /data-cache/billing-settings': updateDataCacheBillingSettings, 'PATCH /v1/data-cache/projects/{projectId}': updateProjectDataCache, 'GET /v3/deployments/{idOrUrl}/events': getDeploymentEvents, - 'PATCH /v1/deployments/{deploymentId}/integrations/{integrationConfigurationId}/resources/{resourceId}/actions/{action}': updateIntegrationDeploymentAction, + 'PATCH /v1/deployments/{deploymentId}/integrations/{integrationConfigurationId}/resources/{resourceId}/actions/{action}': + updateIntegrationDeploymentAction, 'GET /v13/deployments/{idOrUrl}': getDeployment, 'POST /v13/deployments': createDeployment, 'PATCH /v12/deployments/{id}/cancel': cancelDeployment, @@ -7110,7 +7499,8 @@ export const operationsByPath = { 'GET /v1/installations/{integrationConfigurationId}/billing/invoices/{invoiceId}': getInvoice, 'POST /v1/installations/{integrationConfigurationId}/billing/invoices/{invoiceId}/actions': updateInvoice, 'POST /v1/installations/{integrationConfigurationId}/billing/balance': submitPrepaymentBalances, - 'PUT /v1/installations/{integrationConfigurationId}/products/{integrationProductIdOrSlug}/resources/{resourceId}/secrets': updateResourceSecrets, + 'PUT /v1/installations/{integrationConfigurationId}/products/{integrationProductIdOrSlug}/resources/{resourceId}/secrets': + updateResourceSecrets, 'PUT /v1/installations/{integrationConfigurationId}/resources/{resourceId}/secrets': updateResourceSecretsById, 'GET /v1/integrations/configurations': getConfigurations, 'GET /v1/integrations/configuration/{id}': getConfiguration, @@ -7121,10 +7511,14 @@ export const operationsByPath = { 'POST /v2/integrations/log-drains': createLogDrain, 'DELETE /v1/integrations/log-drains/{id}': deleteIntegrationLogDrain, 'GET /v1/projects/{projectId}/deployments/{deploymentId}/runtime-logs': getRuntimeLogs, - 'POST /v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/items': createExperimentationItem, - 'PATCH /v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/items/{itemId}': updateExperimentationItem, - 'DELETE /v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/items/{itemId}': deleteExperimentationItem, - 'PUT /v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/edge-config': updateExperimentationEdgeConfig, + 'POST /v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/items': + createExperimentationItem, + 'PATCH /v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/items/{itemId}': + updateExperimentationItem, + 'DELETE /v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/items/{itemId}': + deleteExperimentationItem, + 'PUT /v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/edge-config': + updateExperimentationEdgeConfig, 'GET /v1/projects/{idOrName}/members': getProjectMembers, 'POST /v1/projects/{idOrName}/members': addProjectMember, 'DELETE /v1/projects/{idOrName}/members/{uid}': removeProjectMember, @@ -7215,8 +7609,8 @@ export const operationsByPath = { 'POST /v2/secrets/{name}': createSecret, 'PATCH /v2/secrets/{name}': renameSecret, 'GET /v3/secrets/{idOrName}': getSecret, - 'DELETE /v2/secrets/{idOrName}': deleteSecret, -} + 'DELETE /v2/secrets/{idOrName}': deleteSecret +}; export const operationsByTag = { accessGroups: { @@ -7230,21 +7624,21 @@ export const operationsByTag = { createAccessGroupProject, readAccessGroupProject, updateAccessGroupProject, - deleteAccessGroupProject, + deleteAccessGroupProject }, artifacts: { recordEvents, status, uploadArtifact, downloadArtifact, - artifactQuery, + artifactQuery }, checks: { createCheck, getAllChecks, getCheck, updateCheck, - rerequestCheck, + rerequestCheck }, projects: { updateProjectDataCache, @@ -7271,7 +7665,7 @@ export const operationsByTag = { requestPromote, listPromoteAliases, pauseProject, - unpauseProject, + unpauseProject }, deployments: { getDeploymentEvents, @@ -7283,14 +7677,14 @@ export const operationsByTag = { listDeploymentFiles, getDeploymentFileContents, getDeployments, - deleteDeployment, + deleteDeployment }, integrations: { updateIntegrationDeploymentAction, getConfigurations, getConfiguration, deleteConfiguration, - getConfigurationProducts, + getConfigurationProducts }, domains: { buyDomain, @@ -7302,13 +7696,13 @@ export const operationsByTag = { getDomains, createOrTransferDomain, patchDomain, - deleteDomain, + deleteDomain }, dns: { getRecords, createRecord, updateRecord, - removeRecord, + removeRecord }, edgeConfig: { getEdgeConfigs, @@ -7327,12 +7721,12 @@ export const operationsByTag = { getEdgeConfigToken, createEdgeConfigToken, getEdgeConfigBackup, - getEdgeConfigBackups, + getEdgeConfigBackups }, user: { listUserEvents, getAuthUser, - requestDelete, + requestDelete }, marketplace: { getAccountInfo, @@ -7353,34 +7747,34 @@ export const operationsByTag = { createExperimentationItem, updateExperimentationItem, deleteExperimentationItem, - updateExperimentationEdgeConfig, + updateExperimentationEdgeConfig }, authentication: { exchangeSsoToken, listAuthTokens, createAuthToken, getAuthToken, - deleteAuthToken, + deleteAuthToken }, logdrains: { getIntegrationLogDrains, createLogDrain, - deleteIntegrationLogDrain, + deleteIntegrationLogDrain }, logs: { - getRuntimeLogs, + getRuntimeLogs }, projectmembers: { getProjectMembers, addProjectMember, - removeProjectMember, + removeProjectMember }, environment: { createCustomEnvironment, listCustomEnvironments, getCustomEnvironment, updateCustomEnvironment, - removeCustomEnvironment, + removeCustomEnvironment }, rollingRelease: { getRollingReleaseBillingStatus, @@ -7389,7 +7783,7 @@ export const operationsByTag = { updateRollingReleaseConfig, getRollingRelease, approveRollingReleaseStage, - completeRollingRelease, + completeRollingRelease }, security: { updateAttackChallengeMode, @@ -7399,7 +7793,7 @@ export const operationsByTag = { getActiveAttackStatus, getBypassIp, addBypassIp, - removeBypassIp, + removeBypassIp }, teams: { getTeamMembers, @@ -7414,13 +7808,13 @@ export const operationsByTag = { getTeams, createTeam, deleteTeam, - deleteTeamInviteCode, + deleteTeamInviteCode }, webhooks: { createWebhook, getWebhooks, getWebhook, - deleteWebhook, + deleteWebhook }, aliases: { listDeploymentAliases, @@ -7428,43 +7822,63 @@ export const operationsByTag = { listAliases, getAlias, deleteAlias, - patchUrlProtectionBypass, + patchUrlProtectionBypass }, certs: { getCertById, removeCert, issueCert, - uploadCert, + uploadCert }, secrets: { getSecrets, createSecret, renameSecret, getSecret, - deleteSecret, - }, -} + deleteSecret + } +}; export const tagDictionary = { accessGroups: { - GET: ['readAccessGroup', 'listAccessGroupMembers', 'listAccessGroups', 'listAccessGroupProjects', 'readAccessGroupProject'], + GET: [ + 'readAccessGroup', + 'listAccessGroupMembers', + 'listAccessGroups', + 'listAccessGroupProjects', + 'readAccessGroupProject' + ], POST: ['updateAccessGroup', 'createAccessGroup', 'createAccessGroupProject'], DELETE: ['deleteAccessGroup', 'deleteAccessGroupProject'], - PATCH: ['updateAccessGroupProject'], + PATCH: ['updateAccessGroupProject'] }, artifacts: { POST: ['recordEvents', 'artifactQuery'], GET: ['status', 'downloadArtifact'], - PUT: ['uploadArtifact'], + PUT: ['uploadArtifact'] }, checks: { POST: ['createCheck', 'rerequestCheck'], GET: ['getAllChecks', 'getCheck'], - PATCH: ['updateCheck'], + PATCH: ['updateCheck'] }, projects: { - PATCH: ['updateProjectDataCache', 'updateProject', 'updateProjectDomain', 'editProjectEnv', 'updateProjectProtectionBypass'], - GET: ['getProjects', 'getProject', 'getProjectDomains', 'getProjectDomain', 'filterProjectEnvs', 'getProjectEnv', 'listPromoteAliases'], + PATCH: [ + 'updateProjectDataCache', + 'updateProject', + 'updateProjectDomain', + 'editProjectEnv', + 'updateProjectProtectionBypass' + ], + GET: [ + 'getProjects', + 'getProject', + 'getProjectDomains', + 'getProjectDomain', + 'filterProjectEnvs', + 'getProjectEnv', + 'listPromoteAliases' + ], POST: [ 'createProject', 'addProjectDomain', @@ -7474,33 +7888,33 @@ export const tagDictionary = { 'createProjectTransferRequest', 'requestPromote', 'pauseProject', - 'unpauseProject', + 'unpauseProject' ], DELETE: ['deleteProject', 'removeProjectDomain', 'removeProjectEnv'], - PUT: ['acceptProjectTransferRequest'], + PUT: ['acceptProjectTransferRequest'] }, deployments: { GET: ['getDeploymentEvents', 'getDeployment', 'listDeploymentFiles', 'getDeploymentFileContents', 'getDeployments'], PATCH: ['updateIntegrationDeploymentAction', 'cancelDeployment'], POST: ['createDeployment', 'uploadFile'], - DELETE: ['deleteDeployment'], + DELETE: ['deleteDeployment'] }, integrations: { PATCH: ['updateIntegrationDeploymentAction'], GET: ['getConfigurations', 'getConfiguration', 'getConfigurationProducts'], - DELETE: ['deleteConfiguration'], + DELETE: ['deleteConfiguration'] }, domains: { POST: ['buyDomain', 'createOrTransferDomain'], GET: ['checkDomainPrice', 'checkDomainStatus', 'getDomainTransfer', 'getDomainConfig', 'getDomain', 'getDomains'], PATCH: ['patchDomain'], - DELETE: ['deleteDomain'], + DELETE: ['deleteDomain'] }, dns: { GET: ['getRecords'], POST: ['createRecord'], PATCH: ['updateRecord'], - DELETE: ['removeRecord'], + DELETE: ['removeRecord'] }, edgeConfig: { GET: [ @@ -7512,88 +7926,96 @@ export const tagDictionary = { 'getEdgeConfigTokens', 'getEdgeConfigToken', 'getEdgeConfigBackup', - 'getEdgeConfigBackups', + 'getEdgeConfigBackups' ], POST: ['createEdgeConfig', 'patchEdgeConfigSchema', 'createEdgeConfigToken'], PUT: ['updateEdgeConfig'], DELETE: ['deleteEdgeConfig', 'deleteEdgeConfigSchema', 'deleteEdgeConfigTokens'], - PATCH: ['patchEdgeConfigItems'], + PATCH: ['patchEdgeConfigItems'] }, user: { GET: ['listUserEvents', 'getAuthUser'], - DELETE: ['requestDelete'], + DELETE: ['requestDelete'] }, marketplace: { GET: ['getAccountInfo', 'getMember', 'getIntegrationResources', 'getIntegrationResource', 'getInvoice'], - POST: ['createEvent', 'submitBillingData', 'submitInvoice', 'updateInvoice', 'submitPrepaymentBalances', 'exchangeSsoToken', 'createExperimentationItem'], + POST: [ + 'createEvent', + 'submitBillingData', + 'submitInvoice', + 'updateInvoice', + 'submitPrepaymentBalances', + 'exchangeSsoToken', + 'createExperimentationItem' + ], DELETE: ['deleteIntegrationResource', 'deleteExperimentationItem'], PUT: ['importResource', 'updateResourceSecrets', 'updateResourceSecretsById', 'updateExperimentationEdgeConfig'], - PATCH: ['updateExperimentationItem'], + PATCH: ['updateExperimentationItem'] }, authentication: { POST: ['exchangeSsoToken', 'createAuthToken'], GET: ['listAuthTokens', 'getAuthToken'], - DELETE: ['deleteAuthToken'], + DELETE: ['deleteAuthToken'] }, logdrains: { GET: ['getIntegrationLogDrains'], POST: ['createLogDrain'], - DELETE: ['deleteIntegrationLogDrain'], + DELETE: ['deleteIntegrationLogDrain'] }, logs: { - GET: ['getRuntimeLogs'], + GET: ['getRuntimeLogs'] }, projectmembers: { GET: ['getProjectMembers'], POST: ['addProjectMember'], - DELETE: ['removeProjectMember'], + DELETE: ['removeProjectMember'] }, environment: { POST: ['createCustomEnvironment'], GET: ['listCustomEnvironments', 'getCustomEnvironment'], PATCH: ['updateCustomEnvironment'], - DELETE: ['removeCustomEnvironment'], + DELETE: ['removeCustomEnvironment'] }, rollingRelease: { GET: ['getRollingReleaseBillingStatus', 'getRollingReleaseConfig', 'getRollingRelease'], DELETE: ['deleteRollingReleaseConfig'], PATCH: ['updateRollingReleaseConfig'], - POST: ['approveRollingReleaseStage', 'completeRollingRelease'], + POST: ['approveRollingReleaseStage', 'completeRollingRelease'] }, security: { POST: ['updateAttackChallengeMode', 'addBypassIp'], PUT: ['putFirewallConfig'], PATCH: ['updateFirewallConfig'], GET: ['getFirewallConfig', 'getActiveAttackStatus', 'getBypassIp'], - DELETE: ['removeBypassIp'], + DELETE: ['removeBypassIp'] }, teams: { GET: ['getTeamMembers', 'getTeamAccessRequest', 'getTeam', 'getTeams'], POST: ['inviteUserToTeam', 'requestAccessToTeam', 'joinTeam', 'createTeam'], PATCH: ['updateTeamMember', 'patchTeam'], - DELETE: ['removeTeamMember', 'deleteTeam', 'deleteTeamInviteCode'], + DELETE: ['removeTeamMember', 'deleteTeam', 'deleteTeamInviteCode'] }, webhooks: { POST: ['createWebhook'], GET: ['getWebhooks', 'getWebhook'], - DELETE: ['deleteWebhook'], + DELETE: ['deleteWebhook'] }, aliases: { GET: ['listDeploymentAliases', 'listAliases', 'getAlias'], POST: ['assignAlias'], DELETE: ['deleteAlias'], - PATCH: ['patchUrlProtectionBypass'], + PATCH: ['patchUrlProtectionBypass'] }, certs: { GET: ['getCertById'], DELETE: ['removeCert'], POST: ['issueCert'], - PUT: ['uploadCert'], + PUT: ['uploadCert'] }, secrets: { GET: ['getSecrets', 'getSecret'], POST: ['createSecret'], PATCH: ['renameSecret'], - DELETE: ['deleteSecret'], - }, -} as const \ No newline at end of file + DELETE: ['deleteSecret'] + } +} as const; diff --git a/packages/vercel-api-js/src/generated/mcp.ts b/packages/vercel-api-js/src/generated/mcp.ts index a7c4e10e2..2c7fc5677 100644 --- a/packages/vercel-api-js/src/generated/mcp.ts +++ b/packages/vercel-api-js/src/generated/mcp.ts @@ -1,6 +1,6 @@ -import client from '../utils/fetcher' -import type { FetcherConfig, ErrorWrapper } from '../utils/fetcher' -import type { CallToolResult } from '../utils/mcp' +import client from '../utils/fetcher'; +import type { FetcherConfig, ErrorWrapper } from '../utils/fetcher'; +import type { CallToolResult } from '../utils/mcp'; import type { ReadAccessGroupQueryResponse, ReadAccessGroupPathParams, @@ -1223,8 +1223,8 @@ import type { DeleteSecret400, DeleteSecret401, DeleteSecret403, - DeleteSecret410, -} from './types.ts' + DeleteSecret410 +} from './types.ts'; import { readAccessGroupPathParamsSchema, readAccessGroupQueryParamsSchema, @@ -1511,8 +1511,8 @@ import { getSecretPathParamsSchema, getSecretQueryParamsSchema, deleteSecretPathParamsSchema, - deleteSecretQueryParamsSchema, -} from './schemas.ts' + deleteSecretQueryParamsSchema +} from './schemas.ts'; /** * @description Allows to read an access group @@ -1522,16 +1522,16 @@ import { export async function readAccessGroup({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: ReadAccessGroupPathParams - queryParams?: ReadAccessGroupQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: ReadAccessGroupPathParams; + queryParams?: ReadAccessGroupQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< @@ -1541,8 +1541,8 @@ export async function readAccessGroup({ Record, ReadAccessGroupQueryParams, ReadAccessGroupPathParams - >({ method: 'GET', url: `/v1/access-groups/${idOrName}`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v1/access-groups/${idOrName}`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -1553,16 +1553,16 @@ export async function readAccessGroup({ export async function updateAccessGroup({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: UpdateAccessGroupPathParams - queryParams?: UpdateAccessGroupQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: UpdateAccessGroupPathParams; + queryParams?: UpdateAccessGroupQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< @@ -1577,9 +1577,9 @@ export async function updateAccessGroup({ url: `/v1/access-groups/${idOrName}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -1590,16 +1590,16 @@ export async function updateAccessGroup({ export async function deleteAccessGroup({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: DeleteAccessGroupPathParams - queryParams?: DeleteAccessGroupQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: DeleteAccessGroupPathParams; + queryParams?: DeleteAccessGroupQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< @@ -1609,8 +1609,8 @@ export async function deleteAccessGroup({ Record, DeleteAccessGroupQueryParams, DeleteAccessGroupPathParams - >({ method: 'DELETE', url: `/v1/access-groups/${idOrName}`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'DELETE', url: `/v1/access-groups/${idOrName}`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -1621,16 +1621,16 @@ export async function deleteAccessGroup({ export async function listAccessGroupMembers({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: ListAccessGroupMembersPathParams - queryParams?: ListAccessGroupMembersQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: ListAccessGroupMembersPathParams; + queryParams?: ListAccessGroupMembersQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< @@ -1640,8 +1640,8 @@ export async function listAccessGroupMembers({ Record, ListAccessGroupMembersQueryParams, ListAccessGroupMembersPathParams - >({ method: 'GET', url: `/v1/access-groups/${idOrName}/members`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v1/access-groups/${idOrName}/members`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -1651,12 +1651,12 @@ export async function listAccessGroupMembers({ */ export async function listAccessGroups({ queryParams, - config = {}, + config = {} }: { - queryParams?: ListAccessGroupsQueryParams | undefined - config?: Partial & { client?: typeof client } + queryParams?: ListAccessGroupsQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< ListAccessGroupsQueryResponse, @@ -1665,8 +1665,8 @@ export async function listAccessGroups({ Record, ListAccessGroupsQueryParams, Record - >({ method: 'GET', url: `/v1/access-groups`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v1/access-groups`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -1676,12 +1676,12 @@ export async function listAccessGroups({ */ export async function createAccessGroup({ queryParams, - config = {}, + config = {} }: { - queryParams?: CreateAccessGroupQueryParams | undefined - config?: Partial & { client?: typeof client } + queryParams?: CreateAccessGroupQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< CreateAccessGroupMutationResponse, @@ -1690,8 +1690,14 @@ export async function createAccessGroup({ Record, CreateAccessGroupQueryParams, Record - >({ method: 'POST', url: `/v1/access-groups`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ + method: 'POST', + url: `/v1/access-groups`, + queryParams, + ...requestConfig, + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -1702,16 +1708,16 @@ export async function createAccessGroup({ export async function listAccessGroupProjects({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: ListAccessGroupProjectsPathParams - queryParams?: ListAccessGroupProjectsQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: ListAccessGroupProjectsPathParams; + queryParams?: ListAccessGroupProjectsQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< @@ -1721,8 +1727,8 @@ export async function listAccessGroupProjects({ Record, ListAccessGroupProjectsQueryParams, ListAccessGroupProjectsPathParams - >({ method: 'GET', url: `/v1/access-groups/${idOrName}/projects`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v1/access-groups/${idOrName}/projects`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -1733,16 +1739,16 @@ export async function listAccessGroupProjects({ export async function createAccessGroupProject({ pathParams: { accessGroupIdOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: CreateAccessGroupProjectPathParams - queryParams?: CreateAccessGroupProjectQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: CreateAccessGroupProjectPathParams; + queryParams?: CreateAccessGroupProjectQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!accessGroupIdOrName) { - throw new Error(`Missing required path parameter: accessGroupIdOrName`) + throw new Error(`Missing required path parameter: accessGroupIdOrName`); } const data = await request< @@ -1757,9 +1763,9 @@ export async function createAccessGroupProject({ url: `/v1/access-groups/${accessGroupIdOrName}/projects`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -1770,20 +1776,20 @@ export async function createAccessGroupProject({ export async function readAccessGroupProject({ pathParams: { accessGroupIdOrName, projectId }, queryParams, - config = {}, + config = {} }: { - pathParams: ReadAccessGroupProjectPathParams - queryParams?: ReadAccessGroupProjectQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: ReadAccessGroupProjectPathParams; + queryParams?: ReadAccessGroupProjectQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!accessGroupIdOrName) { - throw new Error(`Missing required path parameter: accessGroupIdOrName`) + throw new Error(`Missing required path parameter: accessGroupIdOrName`); } if (!projectId) { - throw new Error(`Missing required path parameter: projectId`) + throw new Error(`Missing required path parameter: projectId`); } const data = await request< @@ -1793,8 +1799,13 @@ export async function readAccessGroupProject({ Record, ReadAccessGroupProjectQueryParams, ReadAccessGroupProjectPathParams - >({ method: 'GET', url: `/v1/access-groups/${accessGroupIdOrName}/projects/${projectId}`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ + method: 'GET', + url: `/v1/access-groups/${accessGroupIdOrName}/projects/${projectId}`, + queryParams, + ...requestConfig + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -1805,20 +1816,20 @@ export async function readAccessGroupProject({ export async function updateAccessGroupProject({ pathParams: { accessGroupIdOrName, projectId }, queryParams, - config = {}, + config = {} }: { - pathParams: UpdateAccessGroupProjectPathParams - queryParams?: UpdateAccessGroupProjectQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: UpdateAccessGroupProjectPathParams; + queryParams?: UpdateAccessGroupProjectQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!accessGroupIdOrName) { - throw new Error(`Missing required path parameter: accessGroupIdOrName`) + throw new Error(`Missing required path parameter: accessGroupIdOrName`); } if (!projectId) { - throw new Error(`Missing required path parameter: projectId`) + throw new Error(`Missing required path parameter: projectId`); } const data = await request< @@ -1833,9 +1844,9 @@ export async function updateAccessGroupProject({ url: `/v1/access-groups/${accessGroupIdOrName}/projects/${projectId}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -1846,20 +1857,20 @@ export async function updateAccessGroupProject({ export async function deleteAccessGroupProject({ pathParams: { accessGroupIdOrName, projectId }, queryParams, - config = {}, + config = {} }: { - pathParams: DeleteAccessGroupProjectPathParams - queryParams?: DeleteAccessGroupProjectQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: DeleteAccessGroupProjectPathParams; + queryParams?: DeleteAccessGroupProjectQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!accessGroupIdOrName) { - throw new Error(`Missing required path parameter: accessGroupIdOrName`) + throw new Error(`Missing required path parameter: accessGroupIdOrName`); } if (!projectId) { - throw new Error(`Missing required path parameter: projectId`) + throw new Error(`Missing required path parameter: projectId`); } const data = await request< @@ -1869,8 +1880,13 @@ export async function deleteAccessGroupProject({ Record, DeleteAccessGroupProjectQueryParams, DeleteAccessGroupProjectPathParams - >({ method: 'DELETE', url: `/v1/access-groups/${accessGroupIdOrName}/projects/${projectId}`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ + method: 'DELETE', + url: `/v1/access-groups/${accessGroupIdOrName}/projects/${projectId}`, + queryParams, + ...requestConfig + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -1881,13 +1897,13 @@ export async function deleteAccessGroupProject({ export async function recordEvents({ queryParams, headers, - config = {}, + config = {} }: { - queryParams?: RecordEventsQueryParams | undefined - headers?: RecordEventsHeaderParams | undefined - config?: Partial & { client?: typeof client } + queryParams?: RecordEventsQueryParams | undefined; + headers?: RecordEventsHeaderParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< RecordEventsMutationResponse, @@ -1901,9 +1917,9 @@ export async function recordEvents({ url: `/v8/artifacts/events`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...headers, ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationJson', ...headers, ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -1913,12 +1929,12 @@ export async function recordEvents({ */ export async function status({ queryParams, - config = {}, + config = {} }: { - queryParams?: StatusQueryParams | undefined - config?: Partial & { client?: typeof client } + queryParams?: StatusQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< StatusQueryResponse, @@ -1927,8 +1943,8 @@ export async function status({ Record, StatusQueryParams, Record - >({ method: 'GET', url: `/v8/artifacts/status`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v8/artifacts/status`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -1940,17 +1956,17 @@ export async function uploadArtifact({ pathParams: { hash }, headers, queryParams, - config = {}, + config = {} }: { - pathParams: UploadArtifactPathParams - headers: UploadArtifactHeaderParams - queryParams?: UploadArtifactQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: UploadArtifactPathParams; + headers: UploadArtifactHeaderParams; + queryParams?: UploadArtifactQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!hash) { - throw new Error(`Missing required path parameter: hash`) + throw new Error(`Missing required path parameter: hash`); } const data = await request< @@ -1965,9 +1981,9 @@ export async function uploadArtifact({ url: `/v8/artifacts/${hash}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationOctetStream', ...headers, ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationOctetStream', ...headers, ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -1979,28 +1995,36 @@ export async function downloadArtifact({ pathParams: { hash }, queryParams, headers, - config = {}, + config = {} }: { - pathParams: DownloadArtifactPathParams - queryParams?: DownloadArtifactQueryParams | undefined - headers?: DownloadArtifactHeaderParams | undefined - config?: Partial & { client?: typeof client } + pathParams: DownloadArtifactPathParams; + queryParams?: DownloadArtifactQueryParams | undefined; + headers?: DownloadArtifactHeaderParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!hash) { - throw new Error(`Missing required path parameter: hash`) + throw new Error(`Missing required path parameter: hash`); } const data = await request< DownloadArtifactQueryResponse, - ErrorWrapper, + ErrorWrapper< + DownloadArtifact400 | DownloadArtifact401 | DownloadArtifact402 | DownloadArtifact403 | DownloadArtifact404 + >, null, DownloadArtifactHeaderParams, DownloadArtifactQueryParams, DownloadArtifactPathParams - >({ method: 'GET', url: `/v8/artifacts/${hash}`, queryParams, ...requestConfig, headers: { ...headers, ...requestConfig.headers } }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ + method: 'GET', + url: `/v8/artifacts/${hash}`, + queryParams, + ...requestConfig, + headers: { ...headers, ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -2010,12 +2034,12 @@ export async function downloadArtifact({ */ export async function artifactQuery({ queryParams, - config = {}, + config = {} }: { - queryParams?: ArtifactQueryQueryParams | undefined - config?: Partial & { client?: typeof client } + queryParams?: ArtifactQueryQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< ArtifactQueryMutationResponse, @@ -2024,8 +2048,14 @@ export async function artifactQuery({ Record, ArtifactQueryQueryParams, Record - >({ method: 'POST', url: `/v8/artifacts`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ + method: 'POST', + url: `/v8/artifacts`, + queryParams, + ...requestConfig, + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -2036,16 +2066,16 @@ export async function artifactQuery({ export async function createCheck({ pathParams: { deploymentId }, queryParams, - config = {}, + config = {} }: { - pathParams: CreateCheckPathParams - queryParams?: CreateCheckQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: CreateCheckPathParams; + queryParams?: CreateCheckQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!deploymentId) { - throw new Error(`Missing required path parameter: deploymentId`) + throw new Error(`Missing required path parameter: deploymentId`); } const data = await request< @@ -2060,9 +2090,9 @@ export async function createCheck({ url: `/v1/deployments/${deploymentId}/checks`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -2073,16 +2103,16 @@ export async function createCheck({ export async function getAllChecks({ pathParams: { deploymentId }, queryParams, - config = {}, + config = {} }: { - pathParams: GetAllChecksPathParams - queryParams?: GetAllChecksQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetAllChecksPathParams; + queryParams?: GetAllChecksQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!deploymentId) { - throw new Error(`Missing required path parameter: deploymentId`) + throw new Error(`Missing required path parameter: deploymentId`); } const data = await request< @@ -2092,8 +2122,8 @@ export async function getAllChecks({ Record, GetAllChecksQueryParams, GetAllChecksPathParams - >({ method: 'GET', url: `/v1/deployments/${deploymentId}/checks`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v1/deployments/${deploymentId}/checks`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -2104,20 +2134,20 @@ export async function getAllChecks({ export async function getCheck({ pathParams: { deploymentId, checkId }, queryParams, - config = {}, + config = {} }: { - pathParams: GetCheckPathParams - queryParams?: GetCheckQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetCheckPathParams; + queryParams?: GetCheckQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!deploymentId) { - throw new Error(`Missing required path parameter: deploymentId`) + throw new Error(`Missing required path parameter: deploymentId`); } if (!checkId) { - throw new Error(`Missing required path parameter: checkId`) + throw new Error(`Missing required path parameter: checkId`); } const data = await request< @@ -2127,8 +2157,8 @@ export async function getCheck({ Record, GetCheckQueryParams, GetCheckPathParams - >({ method: 'GET', url: `/v1/deployments/${deploymentId}/checks/${checkId}`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v1/deployments/${deploymentId}/checks/${checkId}`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -2139,20 +2169,20 @@ export async function getCheck({ export async function updateCheck({ pathParams: { deploymentId, checkId }, queryParams, - config = {}, + config = {} }: { - pathParams: UpdateCheckPathParams - queryParams?: UpdateCheckQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: UpdateCheckPathParams; + queryParams?: UpdateCheckQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!deploymentId) { - throw new Error(`Missing required path parameter: deploymentId`) + throw new Error(`Missing required path parameter: deploymentId`); } if (!checkId) { - throw new Error(`Missing required path parameter: checkId`) + throw new Error(`Missing required path parameter: checkId`); } const data = await request< @@ -2167,9 +2197,9 @@ export async function updateCheck({ url: `/v1/deployments/${deploymentId}/checks/${checkId}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -2180,20 +2210,20 @@ export async function updateCheck({ export async function rerequestCheck({ pathParams: { deploymentId, checkId }, queryParams, - config = {}, + config = {} }: { - pathParams: RerequestCheckPathParams - queryParams?: RerequestCheckQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: RerequestCheckPathParams; + queryParams?: RerequestCheckQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!deploymentId) { - throw new Error(`Missing required path parameter: deploymentId`) + throw new Error(`Missing required path parameter: deploymentId`); } if (!checkId) { - throw new Error(`Missing required path parameter: checkId`) + throw new Error(`Missing required path parameter: checkId`); } const data = await request< @@ -2203,8 +2233,13 @@ export async function rerequestCheck({ Record, RerequestCheckQueryParams, RerequestCheckPathParams - >({ method: 'POST', url: `/v1/deployments/${deploymentId}/checks/${checkId}/rerequest`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ + method: 'POST', + url: `/v1/deployments/${deploymentId}/checks/${checkId}/rerequest`, + queryParams, + ...requestConfig + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -2212,12 +2247,12 @@ export async function rerequestCheck({ */ export async function purgeAllDataCache({ queryParams, - config = {}, + config = {} }: { - queryParams: PurgeAllDataCacheQueryParams - config?: Partial & { client?: typeof client } + queryParams: PurgeAllDataCacheQueryParams; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< PurgeAllDataCacheMutationResponse, @@ -2226,29 +2261,39 @@ export async function purgeAllDataCache({ Record, PurgeAllDataCacheQueryParams, Record - >({ method: 'DELETE', url: `/data-cache/purge-all`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'DELETE', url: `/data-cache/purge-all`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** * {@link /data-cache/billing-settings} */ export async function updateDataCacheBillingSettings({ - config = {}, + config = {} }: { - config?: Partial & { client?: typeof client } + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< UpdateDataCacheBillingSettingsMutationResponse, - ErrorWrapper, + ErrorWrapper< + | UpdateDataCacheBillingSettings400 + | UpdateDataCacheBillingSettings401 + | UpdateDataCacheBillingSettings403 + | UpdateDataCacheBillingSettings404 + >, null, Record, Record, Record - >({ method: 'PATCH', url: `/data-cache/billing-settings`, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ + method: 'PATCH', + url: `/data-cache/billing-settings`, + ...requestConfig, + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -2259,21 +2304,23 @@ export async function updateDataCacheBillingSettings({ export async function updateProjectDataCache({ pathParams: { projectId }, queryParams, - config = {}, + config = {} }: { - pathParams: UpdateProjectDataCachePathParams - queryParams?: UpdateProjectDataCacheQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: UpdateProjectDataCachePathParams; + queryParams?: UpdateProjectDataCacheQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!projectId) { - throw new Error(`Missing required path parameter: projectId`) + throw new Error(`Missing required path parameter: projectId`); } const data = await request< UpdateProjectDataCacheMutationResponse, - ErrorWrapper, + ErrorWrapper< + UpdateProjectDataCache400 | UpdateProjectDataCache401 | UpdateProjectDataCache403 | UpdateProjectDataCache404 + >, null, Record, UpdateProjectDataCacheQueryParams, @@ -2283,9 +2330,9 @@ export async function updateProjectDataCache({ url: `/v1/data-cache/projects/${projectId}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -2296,16 +2343,16 @@ export async function updateProjectDataCache({ export async function getDeploymentEvents({ pathParams: { idOrUrl }, queryParams, - config = {}, + config = {} }: { - pathParams: GetDeploymentEventsPathParams - queryParams?: GetDeploymentEventsQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetDeploymentEventsPathParams; + queryParams?: GetDeploymentEventsQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrUrl) { - throw new Error(`Missing required path parameter: idOrUrl`) + throw new Error(`Missing required path parameter: idOrUrl`); } const data = await request< @@ -2315,8 +2362,8 @@ export async function getDeploymentEvents({ Record, GetDeploymentEventsQueryParams, GetDeploymentEventsPathParams - >({ method: 'GET', url: `/v3/deployments/${idOrUrl}/events`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v3/deployments/${idOrUrl}/events`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -2326,32 +2373,34 @@ export async function getDeploymentEvents({ */ export async function updateIntegrationDeploymentAction({ pathParams: { deploymentId, integrationConfigurationId, resourceId, action }, - config = {}, + config = {} }: { - pathParams: UpdateIntegrationDeploymentActionPathParams - config?: Partial & { client?: typeof client } + pathParams: UpdateIntegrationDeploymentActionPathParams; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!deploymentId) { - throw new Error(`Missing required path parameter: deploymentId`) + throw new Error(`Missing required path parameter: deploymentId`); } if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`) + throw new Error(`Missing required path parameter: integrationConfigurationId`); } if (!resourceId) { - throw new Error(`Missing required path parameter: resourceId`) + throw new Error(`Missing required path parameter: resourceId`); } if (!action) { - throw new Error(`Missing required path parameter: action`) + throw new Error(`Missing required path parameter: action`); } const data = await request< UpdateIntegrationDeploymentActionMutationResponse, - ErrorWrapper, + ErrorWrapper< + UpdateIntegrationDeploymentAction400 | UpdateIntegrationDeploymentAction401 | UpdateIntegrationDeploymentAction403 + >, null, Record, Record, @@ -2360,9 +2409,9 @@ export async function updateIntegrationDeploymentAction({ method: 'PATCH', url: `/v1/deployments/${deploymentId}/integrations/${integrationConfigurationId}/resources/${resourceId}/actions/${action}`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -2373,16 +2422,16 @@ export async function updateIntegrationDeploymentAction({ export async function getDeployment({ pathParams: { idOrUrl }, queryParams, - config = {}, + config = {} }: { - pathParams: GetDeploymentPathParams - queryParams?: GetDeploymentQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetDeploymentPathParams; + queryParams?: GetDeploymentQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrUrl) { - throw new Error(`Missing required path parameter: idOrUrl`) + throw new Error(`Missing required path parameter: idOrUrl`); } const data = await request< @@ -2392,8 +2441,8 @@ export async function getDeployment({ Record, GetDeploymentQueryParams, GetDeploymentPathParams - >({ method: 'GET', url: `/v13/deployments/${idOrUrl}`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v13/deployments/${idOrUrl}`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -2403,24 +2452,36 @@ export async function getDeployment({ */ export async function createDeployment({ queryParams, - config = {}, + config = {} }: { - queryParams?: CreateDeploymentQueryParams | undefined - config?: Partial & { client?: typeof client } + queryParams?: CreateDeploymentQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< CreateDeploymentMutationResponse, ErrorWrapper< - CreateDeployment400 | CreateDeployment401 | CreateDeployment402 | CreateDeployment403 | CreateDeployment404 | CreateDeployment409 | CreateDeployment500 + | CreateDeployment400 + | CreateDeployment401 + | CreateDeployment402 + | CreateDeployment403 + | CreateDeployment404 + | CreateDeployment409 + | CreateDeployment500 >, null, Record, CreateDeploymentQueryParams, Record - >({ method: 'POST', url: `/v13/deployments`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ + method: 'POST', + url: `/v13/deployments`, + queryParams, + ...requestConfig, + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -2431,16 +2492,16 @@ export async function createDeployment({ export async function cancelDeployment({ pathParams: { id }, queryParams, - config = {}, + config = {} }: { - pathParams: CancelDeploymentPathParams - queryParams?: CancelDeploymentQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: CancelDeploymentPathParams; + queryParams?: CancelDeploymentQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!id) { - throw new Error(`Missing required path parameter: id`) + throw new Error(`Missing required path parameter: id`); } const data = await request< @@ -2450,8 +2511,8 @@ export async function cancelDeployment({ Record, CancelDeploymentQueryParams, CancelDeploymentPathParams - >({ method: 'PATCH', url: `/v12/deployments/${id}/cancel`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'PATCH', url: `/v12/deployments/${id}/cancel`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -2461,12 +2522,12 @@ export async function cancelDeployment({ */ export async function buyDomain({ queryParams, - config = {}, + config = {} }: { - queryParams?: BuyDomainQueryParams | undefined - config?: Partial & { client?: typeof client } + queryParams?: BuyDomainQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< BuyDomainMutationResponse, @@ -2475,8 +2536,14 @@ export async function buyDomain({ Record, BuyDomainQueryParams, Record - >({ method: 'POST', url: `/v5/domains/buy`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ + method: 'POST', + url: `/v5/domains/buy`, + queryParams, + ...requestConfig, + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -2486,12 +2553,12 @@ export async function buyDomain({ */ export async function checkDomainPrice({ queryParams, - config = {}, + config = {} }: { - queryParams: CheckDomainPriceQueryParams - config?: Partial & { client?: typeof client } + queryParams: CheckDomainPriceQueryParams; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< CheckDomainPriceQueryResponse, @@ -2500,8 +2567,8 @@ export async function checkDomainPrice({ Record, CheckDomainPriceQueryParams, Record - >({ method: 'GET', url: `/v4/domains/price`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v4/domains/price`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -2511,22 +2578,24 @@ export async function checkDomainPrice({ */ export async function checkDomainStatus({ queryParams, - config = {}, + config = {} }: { - queryParams: CheckDomainStatusQueryParams - config?: Partial & { client?: typeof client } + queryParams: CheckDomainStatusQueryParams; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< CheckDomainStatusQueryResponse, - ErrorWrapper, + ErrorWrapper< + CheckDomainStatus400 | CheckDomainStatus401 | CheckDomainStatus403 | CheckDomainStatus408 | CheckDomainStatus500 + >, null, Record, CheckDomainStatusQueryParams, Record - >({ method: 'GET', url: `/v4/domains/status`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v4/domains/status`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -2537,16 +2606,16 @@ export async function checkDomainStatus({ export async function getRecords({ pathParams: { domain }, queryParams, - config = {}, + config = {} }: { - pathParams: GetRecordsPathParams - queryParams?: GetRecordsQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetRecordsPathParams; + queryParams?: GetRecordsQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!domain) { - throw new Error(`Missing required path parameter: domain`) + throw new Error(`Missing required path parameter: domain`); } const data = await request< @@ -2556,8 +2625,8 @@ export async function getRecords({ Record, GetRecordsQueryParams, GetRecordsPathParams - >({ method: 'GET', url: `/v4/domains/${domain}/records`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v4/domains/${domain}/records`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -2568,21 +2637,23 @@ export async function getRecords({ export async function createRecord({ pathParams: { domain }, queryParams, - config = {}, + config = {} }: { - pathParams: CreateRecordPathParams - queryParams?: CreateRecordQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: CreateRecordPathParams; + queryParams?: CreateRecordQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!domain) { - throw new Error(`Missing required path parameter: domain`) + throw new Error(`Missing required path parameter: domain`); } const data = await request< CreateRecordMutationResponse, - ErrorWrapper, + ErrorWrapper< + CreateRecord400 | CreateRecord401 | CreateRecord402 | CreateRecord403 | CreateRecord404 | CreateRecord409 + >, null, Record, CreateRecordQueryParams, @@ -2592,9 +2663,9 @@ export async function createRecord({ url: `/v2/domains/${domain}/records`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -2605,21 +2676,23 @@ export async function createRecord({ export async function updateRecord({ pathParams: { recordId }, queryParams, - config = {}, + config = {} }: { - pathParams: UpdateRecordPathParams - queryParams?: UpdateRecordQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: UpdateRecordPathParams; + queryParams?: UpdateRecordQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!recordId) { - throw new Error(`Missing required path parameter: recordId`) + throw new Error(`Missing required path parameter: recordId`); } const data = await request< UpdateRecordMutationResponse, - ErrorWrapper, + ErrorWrapper< + UpdateRecord400 | UpdateRecord401 | UpdateRecord402 | UpdateRecord403 | UpdateRecord404 | UpdateRecord409 + >, null, Record, UpdateRecordQueryParams, @@ -2629,9 +2702,9 @@ export async function updateRecord({ url: `/v1/domains/records/${recordId}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -2642,20 +2715,20 @@ export async function updateRecord({ export async function removeRecord({ pathParams: { domain, recordId }, queryParams, - config = {}, + config = {} }: { - pathParams: RemoveRecordPathParams - queryParams?: RemoveRecordQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: RemoveRecordPathParams; + queryParams?: RemoveRecordQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!domain) { - throw new Error(`Missing required path parameter: domain`) + throw new Error(`Missing required path parameter: domain`); } if (!recordId) { - throw new Error(`Missing required path parameter: recordId`) + throw new Error(`Missing required path parameter: recordId`); } const data = await request< @@ -2665,8 +2738,8 @@ export async function removeRecord({ Record, RemoveRecordQueryParams, RemoveRecordPathParams - >({ method: 'DELETE', url: `/v2/domains/${domain}/records/${recordId}`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'DELETE', url: `/v2/domains/${domain}/records/${recordId}`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -2677,16 +2750,16 @@ export async function removeRecord({ export async function getDomainTransfer({ pathParams: { domain }, queryParams, - config = {}, + config = {} }: { - pathParams: GetDomainTransferPathParams - queryParams?: GetDomainTransferQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetDomainTransferPathParams; + queryParams?: GetDomainTransferQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!domain) { - throw new Error(`Missing required path parameter: domain`) + throw new Error(`Missing required path parameter: domain`); } const data = await request< @@ -2696,8 +2769,8 @@ export async function getDomainTransfer({ Record, GetDomainTransferQueryParams, GetDomainTransferPathParams - >({ method: 'GET', url: `/v1/domains/${domain}/registry`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v1/domains/${domain}/registry`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -2708,16 +2781,16 @@ export async function getDomainTransfer({ export async function getDomainConfig({ pathParams: { domain }, queryParams, - config = {}, + config = {} }: { - pathParams: GetDomainConfigPathParams - queryParams?: GetDomainConfigQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetDomainConfigPathParams; + queryParams?: GetDomainConfigQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!domain) { - throw new Error(`Missing required path parameter: domain`) + throw new Error(`Missing required path parameter: domain`); } const data = await request< @@ -2727,8 +2800,8 @@ export async function getDomainConfig({ Record, GetDomainConfigQueryParams, GetDomainConfigPathParams - >({ method: 'GET', url: `/v6/domains/${domain}/config`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v6/domains/${domain}/config`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -2739,16 +2812,16 @@ export async function getDomainConfig({ export async function getDomain({ pathParams: { domain }, queryParams, - config = {}, + config = {} }: { - pathParams: GetDomainPathParams - queryParams?: GetDomainQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetDomainPathParams; + queryParams?: GetDomainQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!domain) { - throw new Error(`Missing required path parameter: domain`) + throw new Error(`Missing required path parameter: domain`); } const data = await request< @@ -2758,8 +2831,8 @@ export async function getDomain({ Record, GetDomainQueryParams, GetDomainPathParams - >({ method: 'GET', url: `/v5/domains/${domain}`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v5/domains/${domain}`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -2769,12 +2842,12 @@ export async function getDomain({ */ export async function getDomains({ queryParams, - config = {}, + config = {} }: { - queryParams?: GetDomainsQueryParams | undefined - config?: Partial & { client?: typeof client } + queryParams?: GetDomainsQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< GetDomainsQueryResponse, @@ -2783,8 +2856,8 @@ export async function getDomains({ Record, GetDomainsQueryParams, Record - >({ method: 'GET', url: `/v5/domains`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v5/domains`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -2794,12 +2867,12 @@ export async function getDomains({ */ export async function createOrTransferDomain({ queryParams, - config = {}, + config = {} }: { - queryParams?: CreateOrTransferDomainQueryParams | undefined - config?: Partial & { client?: typeof client } + queryParams?: CreateOrTransferDomainQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< CreateOrTransferDomainMutationResponse, @@ -2816,8 +2889,14 @@ export async function createOrTransferDomain({ Record, CreateOrTransferDomainQueryParams, Record - >({ method: 'POST', url: `/v7/domains`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ + method: 'POST', + url: `/v7/domains`, + queryParams, + ...requestConfig, + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -2828,16 +2907,16 @@ export async function createOrTransferDomain({ export async function patchDomain({ pathParams: { domain }, queryParams, - config = {}, + config = {} }: { - pathParams: PatchDomainPathParams - queryParams?: PatchDomainQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: PatchDomainPathParams; + queryParams?: PatchDomainQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!domain) { - throw new Error(`Missing required path parameter: domain`) + throw new Error(`Missing required path parameter: domain`); } const data = await request< @@ -2847,8 +2926,14 @@ export async function patchDomain({ Record, PatchDomainQueryParams, PatchDomainPathParams - >({ method: 'PATCH', url: `/v3/domains/${domain}`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ + method: 'PATCH', + url: `/v3/domains/${domain}`, + queryParams, + ...requestConfig, + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -2859,16 +2944,16 @@ export async function patchDomain({ export async function deleteDomain({ pathParams: { domain }, queryParams, - config = {}, + config = {} }: { - pathParams: DeleteDomainPathParams - queryParams?: DeleteDomainQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: DeleteDomainPathParams; + queryParams?: DeleteDomainQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!domain) { - throw new Error(`Missing required path parameter: domain`) + throw new Error(`Missing required path parameter: domain`); } const data = await request< @@ -2878,8 +2963,8 @@ export async function deleteDomain({ Record, DeleteDomainQueryParams, DeleteDomainPathParams - >({ method: 'DELETE', url: `/v6/domains/${domain}`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'DELETE', url: `/v6/domains/${domain}`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -2889,12 +2974,12 @@ export async function deleteDomain({ */ export async function getEdgeConfigs({ queryParams, - config = {}, + config = {} }: { - queryParams?: GetEdgeConfigsQueryParams | undefined - config?: Partial & { client?: typeof client } + queryParams?: GetEdgeConfigsQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< GetEdgeConfigsQueryResponse, @@ -2903,8 +2988,8 @@ export async function getEdgeConfigs({ Record, GetEdgeConfigsQueryParams, Record - >({ method: 'GET', url: `/v1/edge-config`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v1/edge-config`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -2914,12 +2999,12 @@ export async function getEdgeConfigs({ */ export async function createEdgeConfig({ queryParams, - config = {}, + config = {} }: { - queryParams?: CreateEdgeConfigQueryParams | undefined - config?: Partial & { client?: typeof client } + queryParams?: CreateEdgeConfigQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< CreateEdgeConfigMutationResponse, @@ -2928,8 +3013,14 @@ export async function createEdgeConfig({ Record, CreateEdgeConfigQueryParams, Record - >({ method: 'POST', url: `/v1/edge-config`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ + method: 'POST', + url: `/v1/edge-config`, + queryParams, + ...requestConfig, + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -2940,16 +3031,16 @@ export async function createEdgeConfig({ export async function getEdgeConfig({ pathParams: { edgeConfigId }, queryParams, - config = {}, + config = {} }: { - pathParams: GetEdgeConfigPathParams - queryParams?: GetEdgeConfigQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetEdgeConfigPathParams; + queryParams?: GetEdgeConfigQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`) + throw new Error(`Missing required path parameter: edgeConfigId`); } const data = await request< @@ -2959,8 +3050,8 @@ export async function getEdgeConfig({ Record, GetEdgeConfigQueryParams, GetEdgeConfigPathParams - >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -2971,21 +3062,23 @@ export async function getEdgeConfig({ export async function updateEdgeConfig({ pathParams: { edgeConfigId }, queryParams, - config = {}, + config = {} }: { - pathParams: UpdateEdgeConfigPathParams - queryParams?: UpdateEdgeConfigQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: UpdateEdgeConfigPathParams; + queryParams?: UpdateEdgeConfigQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`) + throw new Error(`Missing required path parameter: edgeConfigId`); } const data = await request< UpdateEdgeConfigMutationResponse, - ErrorWrapper, + ErrorWrapper< + UpdateEdgeConfig400 | UpdateEdgeConfig401 | UpdateEdgeConfig402 | UpdateEdgeConfig403 | UpdateEdgeConfig404 + >, null, Record, UpdateEdgeConfigQueryParams, @@ -2995,9 +3088,9 @@ export async function updateEdgeConfig({ url: `/v1/edge-config/${edgeConfigId}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -3008,16 +3101,16 @@ export async function updateEdgeConfig({ export async function deleteEdgeConfig({ pathParams: { edgeConfigId }, queryParams, - config = {}, + config = {} }: { - pathParams: DeleteEdgeConfigPathParams - queryParams?: DeleteEdgeConfigQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: DeleteEdgeConfigPathParams; + queryParams?: DeleteEdgeConfigQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`) + throw new Error(`Missing required path parameter: edgeConfigId`); } const data = await request< @@ -3027,8 +3120,8 @@ export async function deleteEdgeConfig({ Record, DeleteEdgeConfigQueryParams, DeleteEdgeConfigPathParams - >({ method: 'DELETE', url: `/v1/edge-config/${edgeConfigId}`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'DELETE', url: `/v1/edge-config/${edgeConfigId}`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -3039,16 +3132,16 @@ export async function deleteEdgeConfig({ export async function getEdgeConfigItems({ pathParams: { edgeConfigId }, queryParams, - config = {}, + config = {} }: { - pathParams: GetEdgeConfigItemsPathParams - queryParams?: GetEdgeConfigItemsQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetEdgeConfigItemsPathParams; + queryParams?: GetEdgeConfigItemsQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`) + throw new Error(`Missing required path parameter: edgeConfigId`); } const data = await request< @@ -3058,8 +3151,8 @@ export async function getEdgeConfigItems({ Record, GetEdgeConfigItemsQueryParams, GetEdgeConfigItemsPathParams - >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/items`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/items`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -3070,16 +3163,16 @@ export async function getEdgeConfigItems({ export async function patchEdgeConfigItems({ pathParams: { edgeConfigId }, queryParams, - config = {}, + config = {} }: { - pathParams: PatchEdgeConfigItemsPathParams - queryParams?: PatchEdgeConfigItemsQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: PatchEdgeConfigItemsPathParams; + queryParams?: PatchEdgeConfigItemsQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`) + throw new Error(`Missing required path parameter: edgeConfigId`); } const data = await request< @@ -3102,9 +3195,9 @@ export async function patchEdgeConfigItems({ url: `/v1/edge-config/${edgeConfigId}/items`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -3115,16 +3208,16 @@ export async function patchEdgeConfigItems({ export async function getEdgeConfigSchema({ pathParams: { edgeConfigId }, queryParams, - config = {}, + config = {} }: { - pathParams: GetEdgeConfigSchemaPathParams - queryParams?: GetEdgeConfigSchemaQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetEdgeConfigSchemaPathParams; + queryParams?: GetEdgeConfigSchemaQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`) + throw new Error(`Missing required path parameter: edgeConfigId`); } const data = await request< @@ -3134,8 +3227,8 @@ export async function getEdgeConfigSchema({ Record, GetEdgeConfigSchemaQueryParams, GetEdgeConfigSchemaPathParams - >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/schema`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/schema`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -3146,21 +3239,27 @@ export async function getEdgeConfigSchema({ export async function patchEdgeConfigSchema({ pathParams: { edgeConfigId }, queryParams, - config = {}, + config = {} }: { - pathParams: PatchEdgeConfigSchemaPathParams - queryParams?: PatchEdgeConfigSchemaQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: PatchEdgeConfigSchemaPathParams; + queryParams?: PatchEdgeConfigSchemaQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`) + throw new Error(`Missing required path parameter: edgeConfigId`); } const data = await request< PatchEdgeConfigSchemaMutationResponse, - ErrorWrapper, + ErrorWrapper< + | PatchEdgeConfigSchema400 + | PatchEdgeConfigSchema401 + | PatchEdgeConfigSchema402 + | PatchEdgeConfigSchema403 + | PatchEdgeConfigSchema404 + >, null, Record, PatchEdgeConfigSchemaQueryParams, @@ -3170,9 +3269,9 @@ export async function patchEdgeConfigSchema({ url: `/v1/edge-config/${edgeConfigId}/schema`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -3183,27 +3282,33 @@ export async function patchEdgeConfigSchema({ export async function deleteEdgeConfigSchema({ pathParams: { edgeConfigId }, queryParams, - config = {}, + config = {} }: { - pathParams: DeleteEdgeConfigSchemaPathParams - queryParams?: DeleteEdgeConfigSchemaQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: DeleteEdgeConfigSchemaPathParams; + queryParams?: DeleteEdgeConfigSchemaQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`) + throw new Error(`Missing required path parameter: edgeConfigId`); } const data = await request< DeleteEdgeConfigSchemaMutationResponse, - ErrorWrapper, + ErrorWrapper< + | DeleteEdgeConfigSchema400 + | DeleteEdgeConfigSchema401 + | DeleteEdgeConfigSchema402 + | DeleteEdgeConfigSchema403 + | DeleteEdgeConfigSchema404 + >, null, Record, DeleteEdgeConfigSchemaQueryParams, DeleteEdgeConfigSchemaPathParams - >({ method: 'DELETE', url: `/v1/edge-config/${edgeConfigId}/schema`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'DELETE', url: `/v1/edge-config/${edgeConfigId}/schema`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -3214,20 +3319,20 @@ export async function deleteEdgeConfigSchema({ export async function getEdgeConfigItem({ pathParams: { edgeConfigId, edgeConfigItemKey }, queryParams, - config = {}, + config = {} }: { - pathParams: GetEdgeConfigItemPathParams - queryParams?: GetEdgeConfigItemQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetEdgeConfigItemPathParams; + queryParams?: GetEdgeConfigItemQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`) + throw new Error(`Missing required path parameter: edgeConfigId`); } if (!edgeConfigItemKey) { - throw new Error(`Missing required path parameter: edgeConfigItemKey`) + throw new Error(`Missing required path parameter: edgeConfigItemKey`); } const data = await request< @@ -3237,8 +3342,8 @@ export async function getEdgeConfigItem({ Record, GetEdgeConfigItemQueryParams, GetEdgeConfigItemPathParams - >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/item/${edgeConfigItemKey}`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/item/${edgeConfigItemKey}`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -3249,16 +3354,16 @@ export async function getEdgeConfigItem({ export async function getEdgeConfigTokens({ pathParams: { edgeConfigId }, queryParams, - config = {}, + config = {} }: { - pathParams: GetEdgeConfigTokensPathParams - queryParams?: GetEdgeConfigTokensQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetEdgeConfigTokensPathParams; + queryParams?: GetEdgeConfigTokensQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`) + throw new Error(`Missing required path parameter: edgeConfigId`); } const data = await request< @@ -3268,8 +3373,8 @@ export async function getEdgeConfigTokens({ Record, GetEdgeConfigTokensQueryParams, GetEdgeConfigTokensPathParams - >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/tokens`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/tokens`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -3280,21 +3385,27 @@ export async function getEdgeConfigTokens({ export async function deleteEdgeConfigTokens({ pathParams: { edgeConfigId }, queryParams, - config = {}, + config = {} }: { - pathParams: DeleteEdgeConfigTokensPathParams - queryParams?: DeleteEdgeConfigTokensQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: DeleteEdgeConfigTokensPathParams; + queryParams?: DeleteEdgeConfigTokensQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`) + throw new Error(`Missing required path parameter: edgeConfigId`); } const data = await request< DeleteEdgeConfigTokensMutationResponse, - ErrorWrapper, + ErrorWrapper< + | DeleteEdgeConfigTokens400 + | DeleteEdgeConfigTokens401 + | DeleteEdgeConfigTokens402 + | DeleteEdgeConfigTokens403 + | DeleteEdgeConfigTokens404 + >, null, Record, DeleteEdgeConfigTokensQueryParams, @@ -3304,9 +3415,9 @@ export async function deleteEdgeConfigTokens({ url: `/v1/edge-config/${edgeConfigId}/tokens`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -3317,20 +3428,20 @@ export async function deleteEdgeConfigTokens({ export async function getEdgeConfigToken({ pathParams: { edgeConfigId, token }, queryParams, - config = {}, + config = {} }: { - pathParams: GetEdgeConfigTokenPathParams - queryParams?: GetEdgeConfigTokenQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetEdgeConfigTokenPathParams; + queryParams?: GetEdgeConfigTokenQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`) + throw new Error(`Missing required path parameter: edgeConfigId`); } if (!token) { - throw new Error(`Missing required path parameter: token`) + throw new Error(`Missing required path parameter: token`); } const data = await request< @@ -3340,8 +3451,8 @@ export async function getEdgeConfigToken({ Record, GetEdgeConfigTokenQueryParams, GetEdgeConfigTokenPathParams - >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/token/${token}`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/token/${token}`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -3352,21 +3463,27 @@ export async function getEdgeConfigToken({ export async function createEdgeConfigToken({ pathParams: { edgeConfigId }, queryParams, - config = {}, + config = {} }: { - pathParams: CreateEdgeConfigTokenPathParams - queryParams?: CreateEdgeConfigTokenQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: CreateEdgeConfigTokenPathParams; + queryParams?: CreateEdgeConfigTokenQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`) + throw new Error(`Missing required path parameter: edgeConfigId`); } const data = await request< CreateEdgeConfigTokenMutationResponse, - ErrorWrapper, + ErrorWrapper< + | CreateEdgeConfigToken400 + | CreateEdgeConfigToken401 + | CreateEdgeConfigToken402 + | CreateEdgeConfigToken403 + | CreateEdgeConfigToken404 + >, null, Record, CreateEdgeConfigTokenQueryParams, @@ -3376,9 +3493,9 @@ export async function createEdgeConfigToken({ url: `/v1/edge-config/${edgeConfigId}/token`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -3389,20 +3506,20 @@ export async function createEdgeConfigToken({ export async function getEdgeConfigBackup({ pathParams: { edgeConfigId, edgeConfigBackupVersionId }, queryParams, - config = {}, + config = {} }: { - pathParams: GetEdgeConfigBackupPathParams - queryParams?: GetEdgeConfigBackupQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetEdgeConfigBackupPathParams; + queryParams?: GetEdgeConfigBackupQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`) + throw new Error(`Missing required path parameter: edgeConfigId`); } if (!edgeConfigBackupVersionId) { - throw new Error(`Missing required path parameter: edgeConfigBackupVersionId`) + throw new Error(`Missing required path parameter: edgeConfigBackupVersionId`); } const data = await request< @@ -3412,8 +3529,13 @@ export async function getEdgeConfigBackup({ Record, GetEdgeConfigBackupQueryParams, GetEdgeConfigBackupPathParams - >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/backups/${edgeConfigBackupVersionId}`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ + method: 'GET', + url: `/v1/edge-config/${edgeConfigId}/backups/${edgeConfigBackupVersionId}`, + queryParams, + ...requestConfig + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -3424,16 +3546,16 @@ export async function getEdgeConfigBackup({ export async function getEdgeConfigBackups({ pathParams: { edgeConfigId }, queryParams, - config = {}, + config = {} }: { - pathParams: GetEdgeConfigBackupsPathParams - queryParams?: GetEdgeConfigBackupsQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetEdgeConfigBackupsPathParams; + queryParams?: GetEdgeConfigBackupsQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!edgeConfigId) { - throw new Error(`Missing required path parameter: edgeConfigId`) + throw new Error(`Missing required path parameter: edgeConfigId`); } const data = await request< @@ -3443,8 +3565,8 @@ export async function getEdgeConfigBackups({ Record, GetEdgeConfigBackupsQueryParams, GetEdgeConfigBackupsPathParams - >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/backups`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v1/edge-config/${edgeConfigId}/backups`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -3454,12 +3576,12 @@ export async function getEdgeConfigBackups({ */ export async function listUserEvents({ queryParams, - config = {}, + config = {} }: { - queryParams?: ListUserEventsQueryParams | undefined - config?: Partial & { client?: typeof client } + queryParams?: ListUserEventsQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< ListUserEventsQueryResponse, @@ -3468,8 +3590,8 @@ export async function listUserEvents({ Record, ListUserEventsQueryParams, Record - >({ method: 'GET', url: `/v3/events`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v3/events`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -3478,20 +3600,20 @@ export async function listUserEvents({ export async function gETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans({ pathParams: { integrationIdOrSlug, productIdOrSlug }, queryParams, - config = {}, + config = {} }: { - pathParams: GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansPathParams - queryParams?: GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansPathParams; + queryParams?: GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!integrationIdOrSlug) { - throw new Error(`Missing required path parameter: integrationIdOrSlug`) + throw new Error(`Missing required path parameter: integrationIdOrSlug`); } if (!productIdOrSlug) { - throw new Error(`Missing required path parameter: productIdOrSlug`) + throw new Error(`Missing required path parameter: productIdOrSlug`); } const data = await request< @@ -3506,8 +3628,13 @@ export async function gETV1IntegrationsIntegrationIntegrationIdOrSlugProductsPro Record, GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansQueryParams, GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansPathParams - >({ method: 'GET', url: `/v1/integrations/integration/${integrationIdOrSlug}/products/${productIdOrSlug}/plans`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ + method: 'GET', + url: `/v1/integrations/integration/${integrationIdOrSlug}/products/${productIdOrSlug}/plans`, + queryParams, + ...requestConfig + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -3517,15 +3644,15 @@ export async function gETV1IntegrationsIntegrationIntegrationIdOrSlugProductsPro */ export async function getAccountInfo({ pathParams: { integrationConfigurationId }, - config = {}, + config = {} }: { - pathParams: GetAccountInfoPathParams - config?: Partial & { client?: typeof client } + pathParams: GetAccountInfoPathParams; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`) + throw new Error(`Missing required path parameter: integrationConfigurationId`); } const data = await request< @@ -3535,8 +3662,8 @@ export async function getAccountInfo({ Record, Record, GetAccountInfoPathParams - >({ method: 'GET', url: `/v1/installations/${integrationConfigurationId}/account`, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v1/installations/${integrationConfigurationId}/account`, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -3546,19 +3673,19 @@ export async function getAccountInfo({ */ export async function getMember({ pathParams: { integrationConfigurationId, memberId }, - config = {}, + config = {} }: { - pathParams: GetMemberPathParams - config?: Partial & { client?: typeof client } + pathParams: GetMemberPathParams; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`) + throw new Error(`Missing required path parameter: integrationConfigurationId`); } if (!memberId) { - throw new Error(`Missing required path parameter: memberId`) + throw new Error(`Missing required path parameter: memberId`); } const data = await request< @@ -3568,8 +3695,8 @@ export async function getMember({ Record, Record, GetMemberPathParams - >({ method: 'GET', url: `/v1/installations/${integrationConfigurationId}/member/${memberId}`, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v1/installations/${integrationConfigurationId}/member/${memberId}`, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -3579,15 +3706,15 @@ export async function getMember({ */ export async function createEvent({ pathParams: { integrationConfigurationId }, - config = {}, + config = {} }: { - pathParams: CreateEventPathParams - config?: Partial & { client?: typeof client } + pathParams: CreateEventPathParams; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`) + throw new Error(`Missing required path parameter: integrationConfigurationId`); } const data = await request< @@ -3601,9 +3728,9 @@ export async function createEvent({ method: 'POST', url: `/v1/installations/${integrationConfigurationId}/events`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -3613,26 +3740,28 @@ export async function createEvent({ */ export async function getIntegrationResources({ pathParams: { integrationConfigurationId }, - config = {}, + config = {} }: { - pathParams: GetIntegrationResourcesPathParams - config?: Partial & { client?: typeof client } + pathParams: GetIntegrationResourcesPathParams; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`) + throw new Error(`Missing required path parameter: integrationConfigurationId`); } const data = await request< GetIntegrationResourcesQueryResponse, - ErrorWrapper, + ErrorWrapper< + GetIntegrationResources400 | GetIntegrationResources401 | GetIntegrationResources403 | GetIntegrationResources404 + >, null, Record, Record, GetIntegrationResourcesPathParams - >({ method: 'GET', url: `/v1/installations/${integrationConfigurationId}/resources`, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v1/installations/${integrationConfigurationId}/resources`, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -3642,30 +3771,36 @@ export async function getIntegrationResources({ */ export async function getIntegrationResource({ pathParams: { integrationConfigurationId, resourceId }, - config = {}, + config = {} }: { - pathParams: GetIntegrationResourcePathParams - config?: Partial & { client?: typeof client } + pathParams: GetIntegrationResourcePathParams; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`) + throw new Error(`Missing required path parameter: integrationConfigurationId`); } if (!resourceId) { - throw new Error(`Missing required path parameter: resourceId`) + throw new Error(`Missing required path parameter: resourceId`); } const data = await request< GetIntegrationResourceQueryResponse, - ErrorWrapper, + ErrorWrapper< + GetIntegrationResource400 | GetIntegrationResource401 | GetIntegrationResource403 | GetIntegrationResource404 + >, null, Record, Record, GetIntegrationResourcePathParams - >({ method: 'GET', url: `/v1/installations/${integrationConfigurationId}/resources/${resourceId}`, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ + method: 'GET', + url: `/v1/installations/${integrationConfigurationId}/resources/${resourceId}`, + ...requestConfig + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -3675,30 +3810,39 @@ export async function getIntegrationResource({ */ export async function deleteIntegrationResource({ pathParams: { integrationConfigurationId, resourceId }, - config = {}, + config = {} }: { - pathParams: DeleteIntegrationResourcePathParams - config?: Partial & { client?: typeof client } + pathParams: DeleteIntegrationResourcePathParams; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`) + throw new Error(`Missing required path parameter: integrationConfigurationId`); } if (!resourceId) { - throw new Error(`Missing required path parameter: resourceId`) + throw new Error(`Missing required path parameter: resourceId`); } const data = await request< DeleteIntegrationResourceMutationResponse, - ErrorWrapper, + ErrorWrapper< + | DeleteIntegrationResource400 + | DeleteIntegrationResource401 + | DeleteIntegrationResource403 + | DeleteIntegrationResource404 + >, null, Record, Record, DeleteIntegrationResourcePathParams - >({ method: 'DELETE', url: `/v1/installations/${integrationConfigurationId}/resources/${resourceId}`, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ + method: 'DELETE', + url: `/v1/installations/${integrationConfigurationId}/resources/${resourceId}`, + ...requestConfig + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -3708,19 +3852,19 @@ export async function deleteIntegrationResource({ */ export async function importResource({ pathParams: { integrationConfigurationId, resourceId }, - config = {}, + config = {} }: { - pathParams: ImportResourcePathParams - config?: Partial & { client?: typeof client } + pathParams: ImportResourcePathParams; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`) + throw new Error(`Missing required path parameter: integrationConfigurationId`); } if (!resourceId) { - throw new Error(`Missing required path parameter: resourceId`) + throw new Error(`Missing required path parameter: resourceId`); } const data = await request< @@ -3734,9 +3878,9 @@ export async function importResource({ method: 'PUT', url: `/v1/installations/${integrationConfigurationId}/resources/${resourceId}`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -3746,15 +3890,15 @@ export async function importResource({ */ export async function submitBillingData({ pathParams: { integrationConfigurationId }, - config = {}, + config = {} }: { - pathParams: SubmitBillingDataPathParams - config?: Partial & { client?: typeof client } + pathParams: SubmitBillingDataPathParams; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`) + throw new Error(`Missing required path parameter: integrationConfigurationId`); } const data = await request< @@ -3768,9 +3912,9 @@ export async function submitBillingData({ method: 'POST', url: `/v1/installations/${integrationConfigurationId}/billing`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -3780,15 +3924,15 @@ export async function submitBillingData({ */ export async function submitInvoice({ pathParams: { integrationConfigurationId }, - config = {}, + config = {} }: { - pathParams: SubmitInvoicePathParams - config?: Partial & { client?: typeof client } + pathParams: SubmitInvoicePathParams; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`) + throw new Error(`Missing required path parameter: integrationConfigurationId`); } const data = await request< @@ -3802,9 +3946,9 @@ export async function submitInvoice({ method: 'POST', url: `/v1/installations/${integrationConfigurationId}/billing/invoices`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -3814,19 +3958,19 @@ export async function submitInvoice({ */ export async function getInvoice({ pathParams: { integrationConfigurationId, invoiceId }, - config = {}, + config = {} }: { - pathParams: GetInvoicePathParams - config?: Partial & { client?: typeof client } + pathParams: GetInvoicePathParams; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`) + throw new Error(`Missing required path parameter: integrationConfigurationId`); } if (!invoiceId) { - throw new Error(`Missing required path parameter: invoiceId`) + throw new Error(`Missing required path parameter: invoiceId`); } const data = await request< @@ -3836,8 +3980,12 @@ export async function getInvoice({ Record, Record, GetInvoicePathParams - >({ method: 'GET', url: `/v1/installations/${integrationConfigurationId}/billing/invoices/${invoiceId}`, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ + method: 'GET', + url: `/v1/installations/${integrationConfigurationId}/billing/invoices/${invoiceId}`, + ...requestConfig + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -3847,19 +3995,19 @@ export async function getInvoice({ */ export async function updateInvoice({ pathParams: { integrationConfigurationId, invoiceId }, - config = {}, + config = {} }: { - pathParams: UpdateInvoicePathParams - config?: Partial & { client?: typeof client } + pathParams: UpdateInvoicePathParams; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`) + throw new Error(`Missing required path parameter: integrationConfigurationId`); } if (!invoiceId) { - throw new Error(`Missing required path parameter: invoiceId`) + throw new Error(`Missing required path parameter: invoiceId`); } const data = await request< @@ -3873,9 +4021,9 @@ export async function updateInvoice({ method: 'POST', url: `/v1/installations/${integrationConfigurationId}/billing/invoices/${invoiceId}/actions`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -3885,20 +4033,25 @@ export async function updateInvoice({ */ export async function submitPrepaymentBalances({ pathParams: { integrationConfigurationId }, - config = {}, + config = {} }: { - pathParams: SubmitPrepaymentBalancesPathParams - config?: Partial & { client?: typeof client } + pathParams: SubmitPrepaymentBalancesPathParams; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`) + throw new Error(`Missing required path parameter: integrationConfigurationId`); } const data = await request< SubmitPrepaymentBalancesMutationResponse, - ErrorWrapper, + ErrorWrapper< + | SubmitPrepaymentBalances400 + | SubmitPrepaymentBalances401 + | SubmitPrepaymentBalances403 + | SubmitPrepaymentBalances404 + >, null, Record, Record, @@ -3907,9 +4060,9 @@ export async function submitPrepaymentBalances({ method: 'POST', url: `/v1/installations/${integrationConfigurationId}/billing/balance`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -3919,28 +4072,30 @@ export async function submitPrepaymentBalances({ */ export async function updateResourceSecrets({ pathParams: { integrationConfigurationId, integrationProductIdOrSlug, resourceId }, - config = {}, + config = {} }: { - pathParams: UpdateResourceSecretsPathParams - config?: Partial & { client?: typeof client } + pathParams: UpdateResourceSecretsPathParams; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`) + throw new Error(`Missing required path parameter: integrationConfigurationId`); } if (!integrationProductIdOrSlug) { - throw new Error(`Missing required path parameter: integrationProductIdOrSlug`) + throw new Error(`Missing required path parameter: integrationProductIdOrSlug`); } if (!resourceId) { - throw new Error(`Missing required path parameter: resourceId`) + throw new Error(`Missing required path parameter: resourceId`); } const data = await request< UpdateResourceSecretsMutationResponse, - ErrorWrapper, + ErrorWrapper< + UpdateResourceSecrets400 | UpdateResourceSecrets401 | UpdateResourceSecrets403 | UpdateResourceSecrets404 + >, null, Record, Record, @@ -3949,9 +4104,9 @@ export async function updateResourceSecrets({ method: 'PUT', url: `/v1/installations/${integrationConfigurationId}/products/${integrationProductIdOrSlug}/resources/${resourceId}/secrets`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -3961,25 +4116,29 @@ export async function updateResourceSecrets({ */ export async function updateResourceSecretsById({ pathParams: { integrationConfigurationId, resourceId }, - config = {}, + config = {} }: { - pathParams: UpdateResourceSecretsByIdPathParams - config?: Partial & { client?: typeof client } + pathParams: UpdateResourceSecretsByIdPathParams; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`) + throw new Error(`Missing required path parameter: integrationConfigurationId`); } if (!resourceId) { - throw new Error(`Missing required path parameter: resourceId`) + throw new Error(`Missing required path parameter: resourceId`); } const data = await request< UpdateResourceSecretsByIdMutationResponse, ErrorWrapper< - UpdateResourceSecretsById400 | UpdateResourceSecretsById401 | UpdateResourceSecretsById403 | UpdateResourceSecretsById404 | UpdateResourceSecretsById422 + | UpdateResourceSecretsById400 + | UpdateResourceSecretsById401 + | UpdateResourceSecretsById403 + | UpdateResourceSecretsById404 + | UpdateResourceSecretsById422 >, null, Record, @@ -3989,9 +4148,9 @@ export async function updateResourceSecretsById({ method: 'PUT', url: `/v1/installations/${integrationConfigurationId}/resources/${resourceId}/secrets`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -4001,12 +4160,12 @@ export async function updateResourceSecretsById({ */ export async function getConfigurations({ queryParams, - config = {}, + config = {} }: { - queryParams: GetConfigurationsQueryParams - config?: Partial & { client?: typeof client } + queryParams: GetConfigurationsQueryParams; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< GetConfigurationsQueryResponse, @@ -4015,8 +4174,8 @@ export async function getConfigurations({ Record, GetConfigurationsQueryParams, Record - >({ method: 'GET', url: `/v1/integrations/configurations`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v1/integrations/configurations`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -4027,16 +4186,16 @@ export async function getConfigurations({ export async function getConfiguration({ pathParams: { id }, queryParams, - config = {}, + config = {} }: { - pathParams: GetConfigurationPathParams - queryParams?: GetConfigurationQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetConfigurationPathParams; + queryParams?: GetConfigurationQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!id) { - throw new Error(`Missing required path parameter: id`) + throw new Error(`Missing required path parameter: id`); } const data = await request< @@ -4046,8 +4205,8 @@ export async function getConfiguration({ Record, GetConfigurationQueryParams, GetConfigurationPathParams - >({ method: 'GET', url: `/v1/integrations/configuration/${id}`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v1/integrations/configuration/${id}`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -4058,16 +4217,16 @@ export async function getConfiguration({ export async function deleteConfiguration({ pathParams: { id }, queryParams, - config = {}, + config = {} }: { - pathParams: DeleteConfigurationPathParams - queryParams?: DeleteConfigurationQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: DeleteConfigurationPathParams; + queryParams?: DeleteConfigurationQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!id) { - throw new Error(`Missing required path parameter: id`) + throw new Error(`Missing required path parameter: id`); } const data = await request< @@ -4077,8 +4236,8 @@ export async function deleteConfiguration({ Record, DeleteConfigurationQueryParams, DeleteConfigurationPathParams - >({ method: 'DELETE', url: `/v1/integrations/configuration/${id}`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'DELETE', url: `/v1/integrations/configuration/${id}`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -4089,29 +4248,33 @@ export async function deleteConfiguration({ export async function getConfigurationProducts({ pathParams: { id }, queryParams, - config = {}, + config = {} }: { - pathParams: GetConfigurationProductsPathParams - queryParams?: GetConfigurationProductsQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetConfigurationProductsPathParams; + queryParams?: GetConfigurationProductsQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!id) { - throw new Error(`Missing required path parameter: id`) + throw new Error(`Missing required path parameter: id`); } const data = await request< GetConfigurationProductsQueryResponse, ErrorWrapper< - GetConfigurationProducts400 | GetConfigurationProducts401 | GetConfigurationProducts403 | GetConfigurationProducts404 | GetConfigurationProducts500 + | GetConfigurationProducts400 + | GetConfigurationProducts401 + | GetConfigurationProducts403 + | GetConfigurationProducts404 + | GetConfigurationProducts500 >, null, Record, GetConfigurationProductsQueryParams, GetConfigurationProductsPathParams - >({ method: 'GET', url: `/v1/integrations/configuration/${id}/products`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v1/integrations/configuration/${id}/products`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -4119,8 +4282,12 @@ export async function getConfigurationProducts({ * @summary SSO Token Exchange * {@link /v1/integrations/sso/token} */ -export async function exchangeSsoToken({ config = {} }: { config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config +export async function exchangeSsoToken({ + config = {} +}: { + config?: Partial & { client?: typeof client }; +}): Promise> { + const { client: request = client, ...requestConfig } = config; const data = await request< ExchangeSsoTokenMutationResponse, @@ -4129,8 +4296,13 @@ export async function exchangeSsoToken({ config = {} }: { config?: Partial, Record, Record - >({ method: 'POST', url: `/v1/integrations/sso/token`, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ + method: 'POST', + url: `/v1/integrations/sso/token`, + ...requestConfig, + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -4140,12 +4312,12 @@ export async function exchangeSsoToken({ config = {} }: { config?: Partial & { client?: typeof client } + queryParams?: GetIntegrationLogDrainsQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< GetIntegrationLogDrainsQueryResponse, @@ -4154,8 +4326,8 @@ export async function getIntegrationLogDrains({ Record, GetIntegrationLogDrainsQueryParams, Record - >({ method: 'GET', url: `/v2/integrations/log-drains`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v2/integrations/log-drains`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -4165,12 +4337,12 @@ export async function getIntegrationLogDrains({ */ export async function createLogDrain({ queryParams, - config = {}, + config = {} }: { - queryParams?: CreateLogDrainQueryParams | undefined - config?: Partial & { client?: typeof client } + queryParams?: CreateLogDrainQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< CreateLogDrainMutationResponse, @@ -4184,9 +4356,9 @@ export async function createLogDrain({ url: `/v2/integrations/log-drains`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -4197,27 +4369,32 @@ export async function createLogDrain({ export async function deleteIntegrationLogDrain({ pathParams: { id }, queryParams, - config = {}, + config = {} }: { - pathParams: DeleteIntegrationLogDrainPathParams - queryParams?: DeleteIntegrationLogDrainQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: DeleteIntegrationLogDrainPathParams; + queryParams?: DeleteIntegrationLogDrainQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!id) { - throw new Error(`Missing required path parameter: id`) + throw new Error(`Missing required path parameter: id`); } const data = await request< DeleteIntegrationLogDrainMutationResponse, - ErrorWrapper, + ErrorWrapper< + | DeleteIntegrationLogDrain400 + | DeleteIntegrationLogDrain401 + | DeleteIntegrationLogDrain403 + | DeleteIntegrationLogDrain404 + >, null, Record, DeleteIntegrationLogDrainQueryParams, DeleteIntegrationLogDrainPathParams - >({ method: 'DELETE', url: `/v1/integrations/log-drains/${id}`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'DELETE', url: `/v1/integrations/log-drains/${id}`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -4228,20 +4405,20 @@ export async function deleteIntegrationLogDrain({ export async function getRuntimeLogs({ pathParams: { projectId, deploymentId }, queryParams, - config = {}, + config = {} }: { - pathParams: GetRuntimeLogsPathParams - queryParams?: GetRuntimeLogsQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetRuntimeLogsPathParams; + queryParams?: GetRuntimeLogsQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!projectId) { - throw new Error(`Missing required path parameter: projectId`) + throw new Error(`Missing required path parameter: projectId`); } if (!deploymentId) { - throw new Error(`Missing required path parameter: deploymentId`) + throw new Error(`Missing required path parameter: deploymentId`); } const data = await request< @@ -4251,8 +4428,13 @@ export async function getRuntimeLogs({ Record, GetRuntimeLogsQueryParams, GetRuntimeLogsPathParams - >({ method: 'GET', url: `/v1/projects/${projectId}/deployments/${deploymentId}/runtime-logs`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ + method: 'GET', + url: `/v1/projects/${projectId}/deployments/${deploymentId}/runtime-logs`, + queryParams, + ...requestConfig + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -4262,24 +4444,29 @@ export async function getRuntimeLogs({ */ export async function createExperimentationItem({ pathParams: { integrationConfigurationId, resourceId }, - config = {}, + config = {} }: { - pathParams: CreateExperimentationItemPathParams - config?: Partial & { client?: typeof client } + pathParams: CreateExperimentationItemPathParams; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`) + throw new Error(`Missing required path parameter: integrationConfigurationId`); } if (!resourceId) { - throw new Error(`Missing required path parameter: resourceId`) + throw new Error(`Missing required path parameter: resourceId`); } const data = await request< CreateExperimentationItemMutationResponse, - ErrorWrapper, + ErrorWrapper< + | CreateExperimentationItem400 + | CreateExperimentationItem401 + | CreateExperimentationItem403 + | CreateExperimentationItem404 + >, null, Record, Record, @@ -4288,9 +4475,9 @@ export async function createExperimentationItem({ method: 'POST', url: `/v1/installations/${integrationConfigurationId}/resources/${resourceId}/experimentation/items`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -4300,28 +4487,33 @@ export async function createExperimentationItem({ */ export async function updateExperimentationItem({ pathParams: { integrationConfigurationId, resourceId, itemId }, - config = {}, + config = {} }: { - pathParams: UpdateExperimentationItemPathParams - config?: Partial & { client?: typeof client } + pathParams: UpdateExperimentationItemPathParams; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`) + throw new Error(`Missing required path parameter: integrationConfigurationId`); } if (!resourceId) { - throw new Error(`Missing required path parameter: resourceId`) + throw new Error(`Missing required path parameter: resourceId`); } if (!itemId) { - throw new Error(`Missing required path parameter: itemId`) + throw new Error(`Missing required path parameter: itemId`); } const data = await request< UpdateExperimentationItemMutationResponse, - ErrorWrapper, + ErrorWrapper< + | UpdateExperimentationItem400 + | UpdateExperimentationItem401 + | UpdateExperimentationItem403 + | UpdateExperimentationItem404 + >, null, Record, Record, @@ -4330,9 +4522,9 @@ export async function updateExperimentationItem({ method: 'PATCH', url: `/v1/installations/${integrationConfigurationId}/resources/${resourceId}/experimentation/items/${itemId}`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -4342,34 +4534,43 @@ export async function updateExperimentationItem({ */ export async function deleteExperimentationItem({ pathParams: { integrationConfigurationId, resourceId, itemId }, - config = {}, + config = {} }: { - pathParams: DeleteExperimentationItemPathParams - config?: Partial & { client?: typeof client } + pathParams: DeleteExperimentationItemPathParams; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`) + throw new Error(`Missing required path parameter: integrationConfigurationId`); } if (!resourceId) { - throw new Error(`Missing required path parameter: resourceId`) + throw new Error(`Missing required path parameter: resourceId`); } if (!itemId) { - throw new Error(`Missing required path parameter: itemId`) + throw new Error(`Missing required path parameter: itemId`); } const data = await request< DeleteExperimentationItemMutationResponse, - ErrorWrapper, + ErrorWrapper< + | DeleteExperimentationItem400 + | DeleteExperimentationItem401 + | DeleteExperimentationItem403 + | DeleteExperimentationItem404 + >, null, Record, Record, DeleteExperimentationItemPathParams - >({ method: 'DELETE', url: `/v1/installations/${integrationConfigurationId}/resources/${resourceId}/experimentation/items/${itemId}`, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ + method: 'DELETE', + url: `/v1/installations/${integrationConfigurationId}/resources/${resourceId}/experimentation/items/${itemId}`, + ...requestConfig + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -4379,19 +4580,19 @@ export async function deleteExperimentationItem({ */ export async function updateExperimentationEdgeConfig({ pathParams: { integrationConfigurationId, resourceId }, - config = {}, + config = {} }: { - pathParams: UpdateExperimentationEdgeConfigPathParams - config?: Partial & { client?: typeof client } + pathParams: UpdateExperimentationEdgeConfigPathParams; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!integrationConfigurationId) { - throw new Error(`Missing required path parameter: integrationConfigurationId`) + throw new Error(`Missing required path parameter: integrationConfigurationId`); } if (!resourceId) { - throw new Error(`Missing required path parameter: resourceId`) + throw new Error(`Missing required path parameter: resourceId`); } const data = await request< @@ -4412,9 +4613,9 @@ export async function updateExperimentationEdgeConfig({ method: 'PUT', url: `/v1/installations/${integrationConfigurationId}/resources/${resourceId}/experimentation/edge-config`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -4425,16 +4626,16 @@ export async function updateExperimentationEdgeConfig({ export async function getProjectMembers({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: GetProjectMembersPathParams - queryParams?: GetProjectMembersQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetProjectMembersPathParams; + queryParams?: GetProjectMembersQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< @@ -4444,8 +4645,8 @@ export async function getProjectMembers({ Record, GetProjectMembersQueryParams, GetProjectMembersPathParams - >({ method: 'GET', url: `/v1/projects/${idOrName}/members`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v1/projects/${idOrName}/members`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -4456,16 +4657,16 @@ export async function getProjectMembers({ export async function addProjectMember({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: AddProjectMemberPathParams - queryParams?: AddProjectMemberQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: AddProjectMemberPathParams; + queryParams?: AddProjectMemberQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< @@ -4480,9 +4681,9 @@ export async function addProjectMember({ url: `/v1/projects/${idOrName}/members`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -4493,20 +4694,20 @@ export async function addProjectMember({ export async function removeProjectMember({ pathParams: { idOrName, uid }, queryParams, - config = {}, + config = {} }: { - pathParams: RemoveProjectMemberPathParams - queryParams?: RemoveProjectMemberQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: RemoveProjectMemberPathParams; + queryParams?: RemoveProjectMemberQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } if (!uid) { - throw new Error(`Missing required path parameter: uid`) + throw new Error(`Missing required path parameter: uid`); } const data = await request< @@ -4516,8 +4717,8 @@ export async function removeProjectMember({ Record, RemoveProjectMemberQueryParams, RemoveProjectMemberPathParams - >({ method: 'DELETE', url: `/v1/projects/${idOrName}/members/${uid}`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'DELETE', url: `/v1/projects/${idOrName}/members/${uid}`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -4527,12 +4728,12 @@ export async function removeProjectMember({ */ export async function getProjects({ queryParams, - config = {}, + config = {} }: { - queryParams?: GetProjectsQueryParams | undefined - config?: Partial & { client?: typeof client } + queryParams?: GetProjectsQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< GetProjectsQueryResponse, @@ -4541,8 +4742,8 @@ export async function getProjects({ Record, GetProjectsQueryParams, Record - >({ method: 'GET', url: `/v10/projects`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v10/projects`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -4552,12 +4753,12 @@ export async function getProjects({ */ export async function createProject({ queryParams, - config = {}, + config = {} }: { - queryParams?: CreateProjectQueryParams | undefined - config?: Partial & { client?: typeof client } + queryParams?: CreateProjectQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< CreateProjectMutationResponse, @@ -4576,8 +4777,14 @@ export async function createProject({ Record, CreateProjectQueryParams, Record - >({ method: 'POST', url: `/v11/projects`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ + method: 'POST', + url: `/v11/projects`, + queryParams, + ...requestConfig, + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -4588,16 +4795,16 @@ export async function createProject({ export async function getProject({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: GetProjectPathParams - queryParams?: GetProjectQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetProjectPathParams; + queryParams?: GetProjectQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< @@ -4607,8 +4814,8 @@ export async function getProject({ Record, GetProjectQueryParams, GetProjectPathParams - >({ method: 'GET', url: `/v9/projects/${idOrName}`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v9/projects/${idOrName}`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -4619,21 +4826,29 @@ export async function getProject({ export async function updateProject({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: UpdateProjectPathParams - queryParams?: UpdateProjectQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: UpdateProjectPathParams; + queryParams?: UpdateProjectQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< UpdateProjectMutationResponse, - ErrorWrapper, + ErrorWrapper< + | UpdateProject400 + | UpdateProject401 + | UpdateProject402 + | UpdateProject403 + | UpdateProject404 + | UpdateProject409 + | UpdateProject428 + >, null, Record, UpdateProjectQueryParams, @@ -4643,9 +4858,9 @@ export async function updateProject({ url: `/v9/projects/${idOrName}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -4656,16 +4871,16 @@ export async function updateProject({ export async function deleteProject({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: DeleteProjectPathParams - queryParams?: DeleteProjectQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: DeleteProjectPathParams; + queryParams?: DeleteProjectQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< @@ -4675,8 +4890,8 @@ export async function deleteProject({ Record, DeleteProjectQueryParams, DeleteProjectPathParams - >({ method: 'DELETE', url: `/v9/projects/${idOrName}`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'DELETE', url: `/v9/projects/${idOrName}`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -4687,22 +4902,26 @@ export async function deleteProject({ export async function createCustomEnvironment({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: CreateCustomEnvironmentPathParams - queryParams?: CreateCustomEnvironmentQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: CreateCustomEnvironmentPathParams; + queryParams?: CreateCustomEnvironmentQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< CreateCustomEnvironmentMutationResponse, ErrorWrapper< - CreateCustomEnvironment400 | CreateCustomEnvironment401 | CreateCustomEnvironment402 | CreateCustomEnvironment403 | CreateCustomEnvironment500 + | CreateCustomEnvironment400 + | CreateCustomEnvironment401 + | CreateCustomEnvironment402 + | CreateCustomEnvironment403 + | CreateCustomEnvironment500 >, null, Record, @@ -4713,9 +4932,9 @@ export async function createCustomEnvironment({ url: `/v9/projects/${idOrName}/custom-environments`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -4726,16 +4945,16 @@ export async function createCustomEnvironment({ export async function listCustomEnvironments({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: ListCustomEnvironmentsPathParams - queryParams?: ListCustomEnvironmentsQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: ListCustomEnvironmentsPathParams; + queryParams?: ListCustomEnvironmentsQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< @@ -4745,8 +4964,8 @@ export async function listCustomEnvironments({ Record, ListCustomEnvironmentsQueryParams, ListCustomEnvironmentsPathParams - >({ method: 'GET', url: `/v9/projects/${idOrName}/custom-environments`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v9/projects/${idOrName}/custom-environments`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -4757,20 +4976,20 @@ export async function listCustomEnvironments({ export async function getCustomEnvironment({ pathParams: { idOrName, environmentSlugOrId }, queryParams, - config = {}, + config = {} }: { - pathParams: GetCustomEnvironmentPathParams - queryParams?: GetCustomEnvironmentQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetCustomEnvironmentPathParams; + queryParams?: GetCustomEnvironmentQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } if (!environmentSlugOrId) { - throw new Error(`Missing required path parameter: environmentSlugOrId`) + throw new Error(`Missing required path parameter: environmentSlugOrId`); } const data = await request< @@ -4780,8 +4999,13 @@ export async function getCustomEnvironment({ Record, GetCustomEnvironmentQueryParams, GetCustomEnvironmentPathParams - >({ method: 'GET', url: `/v9/projects/${idOrName}/custom-environments/${environmentSlugOrId}`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ + method: 'GET', + url: `/v9/projects/${idOrName}/custom-environments/${environmentSlugOrId}`, + queryParams, + ...requestConfig + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -4792,26 +5016,30 @@ export async function getCustomEnvironment({ export async function updateCustomEnvironment({ pathParams: { idOrName, environmentSlugOrId }, queryParams, - config = {}, + config = {} }: { - pathParams: UpdateCustomEnvironmentPathParams - queryParams?: UpdateCustomEnvironmentQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: UpdateCustomEnvironmentPathParams; + queryParams?: UpdateCustomEnvironmentQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } if (!environmentSlugOrId) { - throw new Error(`Missing required path parameter: environmentSlugOrId`) + throw new Error(`Missing required path parameter: environmentSlugOrId`); } const data = await request< UpdateCustomEnvironmentMutationResponse, ErrorWrapper< - UpdateCustomEnvironment400 | UpdateCustomEnvironment401 | UpdateCustomEnvironment402 | UpdateCustomEnvironment403 | UpdateCustomEnvironment500 + | UpdateCustomEnvironment400 + | UpdateCustomEnvironment401 + | UpdateCustomEnvironment402 + | UpdateCustomEnvironment403 + | UpdateCustomEnvironment500 >, null, Record, @@ -4822,9 +5050,9 @@ export async function updateCustomEnvironment({ url: `/v9/projects/${idOrName}/custom-environments/${environmentSlugOrId}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -4835,20 +5063,20 @@ export async function updateCustomEnvironment({ export async function removeCustomEnvironment({ pathParams: { idOrName, environmentSlugOrId }, queryParams, - config = {}, + config = {} }: { - pathParams: RemoveCustomEnvironmentPathParams - queryParams?: RemoveCustomEnvironmentQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: RemoveCustomEnvironmentPathParams; + queryParams?: RemoveCustomEnvironmentQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } if (!environmentSlugOrId) { - throw new Error(`Missing required path parameter: environmentSlugOrId`) + throw new Error(`Missing required path parameter: environmentSlugOrId`); } const data = await request< @@ -4863,9 +5091,9 @@ export async function removeCustomEnvironment({ url: `/v9/projects/${idOrName}/custom-environments/${environmentSlugOrId}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -4876,16 +5104,16 @@ export async function removeCustomEnvironment({ export async function getProjectDomains({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: GetProjectDomainsPathParams - queryParams?: GetProjectDomainsQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetProjectDomainsPathParams; + queryParams?: GetProjectDomainsQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< @@ -4895,8 +5123,8 @@ export async function getProjectDomains({ Record, GetProjectDomainsQueryParams, GetProjectDomainsPathParams - >({ method: 'GET', url: `/v9/projects/${idOrName}/domains`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v9/projects/${idOrName}/domains`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -4907,20 +5135,20 @@ export async function getProjectDomains({ export async function getProjectDomain({ pathParams: { idOrName, domain }, queryParams, - config = {}, + config = {} }: { - pathParams: GetProjectDomainPathParams - queryParams?: GetProjectDomainQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetProjectDomainPathParams; + queryParams?: GetProjectDomainQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } if (!domain) { - throw new Error(`Missing required path parameter: domain`) + throw new Error(`Missing required path parameter: domain`); } const data = await request< @@ -4930,8 +5158,8 @@ export async function getProjectDomain({ Record, GetProjectDomainQueryParams, GetProjectDomainPathParams - >({ method: 'GET', url: `/v9/projects/${idOrName}/domains/${domain}`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v9/projects/${idOrName}/domains/${domain}`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -4942,20 +5170,20 @@ export async function getProjectDomain({ export async function updateProjectDomain({ pathParams: { idOrName, domain }, queryParams, - config = {}, + config = {} }: { - pathParams: UpdateProjectDomainPathParams - queryParams?: UpdateProjectDomainQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: UpdateProjectDomainPathParams; + queryParams?: UpdateProjectDomainQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } if (!domain) { - throw new Error(`Missing required path parameter: domain`) + throw new Error(`Missing required path parameter: domain`); } const data = await request< @@ -4970,9 +5198,9 @@ export async function updateProjectDomain({ url: `/v9/projects/${idOrName}/domains/${domain}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -4983,25 +5211,31 @@ export async function updateProjectDomain({ export async function removeProjectDomain({ pathParams: { idOrName, domain }, queryParams, - config = {}, + config = {} }: { - pathParams: RemoveProjectDomainPathParams - queryParams?: RemoveProjectDomainQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: RemoveProjectDomainPathParams; + queryParams?: RemoveProjectDomainQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } if (!domain) { - throw new Error(`Missing required path parameter: domain`) + throw new Error(`Missing required path parameter: domain`); } const data = await request< RemoveProjectDomainMutationResponse, - ErrorWrapper, + ErrorWrapper< + | RemoveProjectDomain400 + | RemoveProjectDomain401 + | RemoveProjectDomain403 + | RemoveProjectDomain404 + | RemoveProjectDomain409 + >, null, Record, RemoveProjectDomainQueryParams, @@ -5011,9 +5245,9 @@ export async function removeProjectDomain({ url: `/v9/projects/${idOrName}/domains/${domain}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -5024,21 +5258,23 @@ export async function removeProjectDomain({ export async function addProjectDomain({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: AddProjectDomainPathParams - queryParams?: AddProjectDomainQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: AddProjectDomainPathParams; + queryParams?: AddProjectDomainQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< AddProjectDomainMutationResponse, - ErrorWrapper, + ErrorWrapper< + AddProjectDomain400 | AddProjectDomain401 | AddProjectDomain402 | AddProjectDomain403 | AddProjectDomain409 + >, null, Record, AddProjectDomainQueryParams, @@ -5048,9 +5284,9 @@ export async function addProjectDomain({ url: `/v10/projects/${idOrName}/domains`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -5061,20 +5297,20 @@ export async function addProjectDomain({ export async function moveProjectDomain({ pathParams: { idOrName, domain }, queryParams, - config = {}, + config = {} }: { - pathParams: MoveProjectDomainPathParams - queryParams?: MoveProjectDomainQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: MoveProjectDomainPathParams; + queryParams?: MoveProjectDomainQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } if (!domain) { - throw new Error(`Missing required path parameter: domain`) + throw new Error(`Missing required path parameter: domain`); } const data = await request< @@ -5089,9 +5325,9 @@ export async function moveProjectDomain({ url: `/v1/projects/${idOrName}/domains/${domain}/move`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -5102,20 +5338,20 @@ export async function moveProjectDomain({ export async function verifyProjectDomain({ pathParams: { idOrName, domain }, queryParams, - config = {}, + config = {} }: { - pathParams: VerifyProjectDomainPathParams - queryParams?: VerifyProjectDomainQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: VerifyProjectDomainPathParams; + queryParams?: VerifyProjectDomainQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } if (!domain) { - throw new Error(`Missing required path parameter: domain`) + throw new Error(`Missing required path parameter: domain`); } const data = await request< @@ -5125,8 +5361,8 @@ export async function verifyProjectDomain({ Record, VerifyProjectDomainQueryParams, VerifyProjectDomainPathParams - >({ method: 'POST', url: `/v9/projects/${idOrName}/domains/${domain}/verify`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'POST', url: `/v9/projects/${idOrName}/domains/${domain}/verify`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -5137,16 +5373,16 @@ export async function verifyProjectDomain({ export async function filterProjectEnvs({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: FilterProjectEnvsPathParams - queryParams?: FilterProjectEnvsQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: FilterProjectEnvsPathParams; + queryParams?: FilterProjectEnvsQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< @@ -5156,8 +5392,8 @@ export async function filterProjectEnvs({ Record, FilterProjectEnvsQueryParams, FilterProjectEnvsPathParams - >({ method: 'GET', url: `/v10/projects/${idOrName}/env`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v10/projects/${idOrName}/env`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -5168,16 +5404,16 @@ export async function filterProjectEnvs({ export async function createProjectEnv({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: CreateProjectEnvPathParams - queryParams?: CreateProjectEnvQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: CreateProjectEnvPathParams; + queryParams?: CreateProjectEnvQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< @@ -5201,9 +5437,9 @@ export async function createProjectEnv({ url: `/v10/projects/${idOrName}/env`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -5214,20 +5450,20 @@ export async function createProjectEnv({ export async function getProjectEnv({ pathParams: { idOrName, id }, queryParams, - config = {}, + config = {} }: { - pathParams: GetProjectEnvPathParams - queryParams?: GetProjectEnvQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetProjectEnvPathParams; + queryParams?: GetProjectEnvQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } if (!id) { - throw new Error(`Missing required path parameter: id`) + throw new Error(`Missing required path parameter: id`); } const data = await request< @@ -5237,8 +5473,8 @@ export async function getProjectEnv({ Record, GetProjectEnvQueryParams, GetProjectEnvPathParams - >({ method: 'GET', url: `/v1/projects/${idOrName}/env/${id}`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v1/projects/${idOrName}/env/${id}`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -5249,31 +5485,33 @@ export async function getProjectEnv({ export async function removeProjectEnv({ pathParams: { idOrName, id }, queryParams, - config = {}, + config = {} }: { - pathParams: RemoveProjectEnvPathParams - queryParams?: RemoveProjectEnvQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: RemoveProjectEnvPathParams; + queryParams?: RemoveProjectEnvQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } if (!id) { - throw new Error(`Missing required path parameter: id`) + throw new Error(`Missing required path parameter: id`); } const data = await request< RemoveProjectEnvMutationResponse, - ErrorWrapper, + ErrorWrapper< + RemoveProjectEnv400 | RemoveProjectEnv401 | RemoveProjectEnv403 | RemoveProjectEnv404 | RemoveProjectEnv409 + >, null, Record, RemoveProjectEnvQueryParams, RemoveProjectEnvPathParams - >({ method: 'DELETE', url: `/v9/projects/${idOrName}/env/${id}`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'DELETE', url: `/v9/projects/${idOrName}/env/${id}`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -5284,25 +5522,33 @@ export async function removeProjectEnv({ export async function editProjectEnv({ pathParams: { idOrName, id }, queryParams, - config = {}, + config = {} }: { - pathParams: EditProjectEnvPathParams - queryParams?: EditProjectEnvQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: EditProjectEnvPathParams; + queryParams?: EditProjectEnvQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } if (!id) { - throw new Error(`Missing required path parameter: id`) + throw new Error(`Missing required path parameter: id`); } const data = await request< EditProjectEnvMutationResponse, - ErrorWrapper, + ErrorWrapper< + | EditProjectEnv400 + | EditProjectEnv401 + | EditProjectEnv403 + | EditProjectEnv404 + | EditProjectEnv409 + | EditProjectEnv429 + | EditProjectEnv500 + >, null, Record, EditProjectEnvQueryParams, @@ -5312,9 +5558,9 @@ export async function editProjectEnv({ url: `/v9/projects/${idOrName}/env/${id}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -5325,27 +5571,32 @@ export async function editProjectEnv({ export async function getRollingReleaseBillingStatus({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: GetRollingReleaseBillingStatusPathParams - queryParams?: GetRollingReleaseBillingStatusQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetRollingReleaseBillingStatusPathParams; + queryParams?: GetRollingReleaseBillingStatusQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< GetRollingReleaseBillingStatusQueryResponse, - ErrorWrapper, + ErrorWrapper< + | GetRollingReleaseBillingStatus400 + | GetRollingReleaseBillingStatus401 + | GetRollingReleaseBillingStatus403 + | GetRollingReleaseBillingStatus404 + >, null, Record, GetRollingReleaseBillingStatusQueryParams, GetRollingReleaseBillingStatusPathParams - >({ method: 'GET', url: `/v1/projects/${idOrName}/rolling-release/billing`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v1/projects/${idOrName}/rolling-release/billing`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -5356,27 +5607,29 @@ export async function getRollingReleaseBillingStatus({ export async function getRollingReleaseConfig({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: GetRollingReleaseConfigPathParams - queryParams?: GetRollingReleaseConfigQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetRollingReleaseConfigPathParams; + queryParams?: GetRollingReleaseConfigQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< GetRollingReleaseConfigQueryResponse, - ErrorWrapper, + ErrorWrapper< + GetRollingReleaseConfig400 | GetRollingReleaseConfig401 | GetRollingReleaseConfig403 | GetRollingReleaseConfig404 + >, null, Record, GetRollingReleaseConfigQueryParams, GetRollingReleaseConfigPathParams - >({ method: 'GET', url: `/v1/projects/${idOrName}/rolling-release/config`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v1/projects/${idOrName}/rolling-release/config`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -5387,27 +5640,32 @@ export async function getRollingReleaseConfig({ export async function deleteRollingReleaseConfig({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: DeleteRollingReleaseConfigPathParams - queryParams?: DeleteRollingReleaseConfigQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: DeleteRollingReleaseConfigPathParams; + queryParams?: DeleteRollingReleaseConfigQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< DeleteRollingReleaseConfigMutationResponse, - ErrorWrapper, + ErrorWrapper< + | DeleteRollingReleaseConfig400 + | DeleteRollingReleaseConfig401 + | DeleteRollingReleaseConfig403 + | DeleteRollingReleaseConfig404 + >, null, Record, DeleteRollingReleaseConfigQueryParams, DeleteRollingReleaseConfigPathParams - >({ method: 'DELETE', url: `/v1/projects/${idOrName}/rolling-release/config`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'DELETE', url: `/v1/projects/${idOrName}/rolling-release/config`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -5418,27 +5676,32 @@ export async function deleteRollingReleaseConfig({ export async function updateRollingReleaseConfig({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: UpdateRollingReleaseConfigPathParams - queryParams?: UpdateRollingReleaseConfigQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: UpdateRollingReleaseConfigPathParams; + queryParams?: UpdateRollingReleaseConfigQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< UpdateRollingReleaseConfigMutationResponse, - ErrorWrapper, + ErrorWrapper< + | UpdateRollingReleaseConfig400 + | UpdateRollingReleaseConfig401 + | UpdateRollingReleaseConfig403 + | UpdateRollingReleaseConfig404 + >, null, Record, UpdateRollingReleaseConfigQueryParams, UpdateRollingReleaseConfigPathParams - >({ method: 'PATCH', url: `/v1/projects/${idOrName}/rolling-release/config`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'PATCH', url: `/v1/projects/${idOrName}/rolling-release/config`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -5449,16 +5712,16 @@ export async function updateRollingReleaseConfig({ export async function getRollingRelease({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: GetRollingReleasePathParams - queryParams?: GetRollingReleaseQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetRollingReleasePathParams; + queryParams?: GetRollingReleaseQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< @@ -5468,8 +5731,8 @@ export async function getRollingRelease({ Record, GetRollingReleaseQueryParams, GetRollingReleasePathParams - >({ method: 'GET', url: `/v1/projects/${idOrName}/rolling-release`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v1/projects/${idOrName}/rolling-release`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -5480,16 +5743,16 @@ export async function getRollingRelease({ export async function approveRollingReleaseStage({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: ApproveRollingReleaseStagePathParams - queryParams?: ApproveRollingReleaseStageQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: ApproveRollingReleaseStagePathParams; + queryParams?: ApproveRollingReleaseStageQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< @@ -5510,9 +5773,9 @@ export async function approveRollingReleaseStage({ url: `/v1/projects/${idOrName}/rolling-release/approve-stage`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -5523,21 +5786,23 @@ export async function approveRollingReleaseStage({ export async function completeRollingRelease({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: CompleteRollingReleasePathParams - queryParams?: CompleteRollingReleaseQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: CompleteRollingReleasePathParams; + queryParams?: CompleteRollingReleaseQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< CompleteRollingReleaseMutationResponse, - ErrorWrapper, + ErrorWrapper< + CompleteRollingRelease400 | CompleteRollingRelease401 | CompleteRollingRelease403 | CompleteRollingRelease404 + >, null, Record, CompleteRollingReleaseQueryParams, @@ -5547,9 +5812,9 @@ export async function completeRollingRelease({ url: `/v1/projects/${idOrName}/rolling-release/complete`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -5560,16 +5825,16 @@ export async function completeRollingRelease({ export async function createProjectTransferRequest({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: CreateProjectTransferRequestPathParams - queryParams?: CreateProjectTransferRequestQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: CreateProjectTransferRequestPathParams; + queryParams?: CreateProjectTransferRequestQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< @@ -5584,9 +5849,9 @@ export async function createProjectTransferRequest({ url: `/projects/${idOrName}/transfer-request`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -5597,16 +5862,16 @@ export async function createProjectTransferRequest({ export async function acceptProjectTransferRequest({ pathParams: { code }, queryParams, - config = {}, + config = {} }: { - pathParams: AcceptProjectTransferRequestPathParams - queryParams?: AcceptProjectTransferRequestQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: AcceptProjectTransferRequestPathParams; + queryParams?: AcceptProjectTransferRequestQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!code) { - throw new Error(`Missing required path parameter: code`) + throw new Error(`Missing required path parameter: code`); } const data = await request< @@ -5627,9 +5892,9 @@ export async function acceptProjectTransferRequest({ url: `/projects/transfer-request/${code}`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -5640,16 +5905,16 @@ export async function acceptProjectTransferRequest({ export async function updateProjectProtectionBypass({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: UpdateProjectProtectionBypassPathParams - queryParams?: UpdateProjectProtectionBypassQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: UpdateProjectProtectionBypassPathParams; + queryParams?: UpdateProjectProtectionBypassQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< @@ -5670,9 +5935,9 @@ export async function updateProjectProtectionBypass({ url: `/v1/projects/${idOrName}/protection-bypass`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -5683,20 +5948,20 @@ export async function updateProjectProtectionBypass({ export async function requestPromote({ pathParams: { projectId, deploymentId }, queryParams, - config = {}, + config = {} }: { - pathParams: RequestPromotePathParams - queryParams?: RequestPromoteQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: RequestPromotePathParams; + queryParams?: RequestPromoteQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!projectId) { - throw new Error(`Missing required path parameter: projectId`) + throw new Error(`Missing required path parameter: projectId`); } if (!deploymentId) { - throw new Error(`Missing required path parameter: deploymentId`) + throw new Error(`Missing required path parameter: deploymentId`); } const data = await request< @@ -5706,8 +5971,8 @@ export async function requestPromote({ Record, RequestPromoteQueryParams, RequestPromotePathParams - >({ method: 'POST', url: `/v10/projects/${projectId}/promote/${deploymentId}`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'POST', url: `/v10/projects/${projectId}/promote/${deploymentId}`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -5718,16 +5983,16 @@ export async function requestPromote({ export async function listPromoteAliases({ pathParams: { projectId }, queryParams, - config = {}, + config = {} }: { - pathParams: ListPromoteAliasesPathParams - queryParams?: ListPromoteAliasesQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: ListPromoteAliasesPathParams; + queryParams?: ListPromoteAliasesQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!projectId) { - throw new Error(`Missing required path parameter: projectId`) + throw new Error(`Missing required path parameter: projectId`); } const data = await request< @@ -5737,8 +6002,8 @@ export async function listPromoteAliases({ Record, ListPromoteAliasesQueryParams, ListPromoteAliasesPathParams - >({ method: 'GET', url: `/v1/projects/${projectId}/promote/aliases`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v1/projects/${projectId}/promote/aliases`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -5749,16 +6014,16 @@ export async function listPromoteAliases({ export async function pauseProject({ pathParams: { projectId }, queryParams, - config = {}, + config = {} }: { - pathParams: PauseProjectPathParams - queryParams?: PauseProjectQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: PauseProjectPathParams; + queryParams?: PauseProjectQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!projectId) { - throw new Error(`Missing required path parameter: projectId`) + throw new Error(`Missing required path parameter: projectId`); } const data = await request< @@ -5768,8 +6033,8 @@ export async function pauseProject({ Record, PauseProjectQueryParams, PauseProjectPathParams - >({ method: 'POST', url: `/v1/projects/${projectId}/pause`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'POST', url: `/v1/projects/${projectId}/pause`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -5780,16 +6045,16 @@ export async function pauseProject({ export async function unpauseProject({ pathParams: { projectId }, queryParams, - config = {}, + config = {} }: { - pathParams: UnpauseProjectPathParams - queryParams?: UnpauseProjectQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: UnpauseProjectPathParams; + queryParams?: UnpauseProjectQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!projectId) { - throw new Error(`Missing required path parameter: projectId`) + throw new Error(`Missing required path parameter: projectId`); } const data = await request< @@ -5799,8 +6064,8 @@ export async function unpauseProject({ Record, UnpauseProjectQueryParams, UnpauseProjectPathParams - >({ method: 'POST', url: `/v1/projects/${projectId}/unpause`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'POST', url: `/v1/projects/${projectId}/unpause`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -5810,16 +6075,21 @@ export async function unpauseProject({ */ export async function updateAttackChallengeMode({ queryParams, - config = {}, + config = {} }: { - queryParams?: UpdateAttackChallengeModeQueryParams | undefined - config?: Partial & { client?: typeof client } + queryParams?: UpdateAttackChallengeModeQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< UpdateAttackChallengeModeMutationResponse, - ErrorWrapper, + ErrorWrapper< + | UpdateAttackChallengeMode400 + | UpdateAttackChallengeMode401 + | UpdateAttackChallengeMode403 + | UpdateAttackChallengeMode404 + >, null, Record, UpdateAttackChallengeModeQueryParams, @@ -5829,9 +6099,9 @@ export async function updateAttackChallengeMode({ url: `/v1/security/attack-mode`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -5841,16 +6111,23 @@ export async function updateAttackChallengeMode({ */ export async function putFirewallConfig({ queryParams, - config = {}, + config = {} }: { - queryParams: PutFirewallConfigQueryParams - config?: Partial & { client?: typeof client } + queryParams: PutFirewallConfigQueryParams; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< PutFirewallConfigMutationResponse, - ErrorWrapper, + ErrorWrapper< + | PutFirewallConfig400 + | PutFirewallConfig401 + | PutFirewallConfig402 + | PutFirewallConfig403 + | PutFirewallConfig404 + | PutFirewallConfig500 + >, null, Record, PutFirewallConfigQueryParams, @@ -5860,9 +6137,9 @@ export async function putFirewallConfig({ url: `/v1/security/firewall/config`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -5872,17 +6149,22 @@ export async function putFirewallConfig({ */ export async function updateFirewallConfig({ queryParams, - config = {}, + config = {} }: { - queryParams: UpdateFirewallConfigQueryParams - config?: Partial & { client?: typeof client } + queryParams: UpdateFirewallConfigQueryParams; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< UpdateFirewallConfigMutationResponse, ErrorWrapper< - UpdateFirewallConfig400 | UpdateFirewallConfig401 | UpdateFirewallConfig402 | UpdateFirewallConfig403 | UpdateFirewallConfig404 | UpdateFirewallConfig500 + | UpdateFirewallConfig400 + | UpdateFirewallConfig401 + | UpdateFirewallConfig402 + | UpdateFirewallConfig403 + | UpdateFirewallConfig404 + | UpdateFirewallConfig500 >, null, Record, @@ -5893,9 +6175,9 @@ export async function updateFirewallConfig({ url: `/v1/security/firewall/config`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -5906,16 +6188,16 @@ export async function updateFirewallConfig({ export async function getFirewallConfig({ pathParams: { configVersion }, queryParams, - config = {}, + config = {} }: { - pathParams: GetFirewallConfigPathParams - queryParams: GetFirewallConfigQueryParams - config?: Partial & { client?: typeof client } + pathParams: GetFirewallConfigPathParams; + queryParams: GetFirewallConfigQueryParams; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!configVersion) { - throw new Error(`Missing required path parameter: configVersion`) + throw new Error(`Missing required path parameter: configVersion`); } const data = await request< @@ -5925,8 +6207,8 @@ export async function getFirewallConfig({ Record, GetFirewallConfigQueryParams, GetFirewallConfigPathParams - >({ method: 'GET', url: `/v1/security/firewall/config/${configVersion}`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v1/security/firewall/config/${configVersion}`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -5936,22 +6218,24 @@ export async function getFirewallConfig({ */ export async function getActiveAttackStatus({ queryParams, - config = {}, + config = {} }: { - queryParams: GetActiveAttackStatusQueryParams - config?: Partial & { client?: typeof client } + queryParams: GetActiveAttackStatusQueryParams; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< GetActiveAttackStatusQueryResponse, - ErrorWrapper, + ErrorWrapper< + GetActiveAttackStatus400 | GetActiveAttackStatus401 | GetActiveAttackStatus403 | GetActiveAttackStatus404 + >, null, Record, GetActiveAttackStatusQueryParams, Record - >({ method: 'GET', url: `/v1/security/firewall/attack-status`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v1/security/firewall/attack-status`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -5961,12 +6245,12 @@ export async function getActiveAttackStatus({ */ export async function getBypassIp({ queryParams, - config = {}, + config = {} }: { - queryParams: GetBypassIpQueryParams - config?: Partial & { client?: typeof client } + queryParams: GetBypassIpQueryParams; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< GetBypassIpQueryResponse, @@ -5975,8 +6259,8 @@ export async function getBypassIp({ Record, GetBypassIpQueryParams, Record - >({ method: 'GET', url: `/v1/security/firewall/bypass`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v1/security/firewall/bypass`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -5986,12 +6270,12 @@ export async function getBypassIp({ */ export async function addBypassIp({ queryParams, - config = {}, + config = {} }: { - queryParams: AddBypassIpQueryParams - config?: Partial & { client?: typeof client } + queryParams: AddBypassIpQueryParams; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< AddBypassIpMutationResponse, @@ -6005,9 +6289,9 @@ export async function addBypassIp({ url: `/v1/security/firewall/bypass`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -6017,12 +6301,12 @@ export async function addBypassIp({ */ export async function removeBypassIp({ queryParams, - config = {}, + config = {} }: { - queryParams: RemoveBypassIpQueryParams - config?: Partial & { client?: typeof client } + queryParams: RemoveBypassIpQueryParams; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< RemoveBypassIpMutationResponse, @@ -6036,9 +6320,9 @@ export async function removeBypassIp({ url: `/v1/security/firewall/bypass`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -6049,16 +6333,16 @@ export async function removeBypassIp({ export async function getTeamMembers({ pathParams: { teamId }, queryParams, - config = {}, + config = {} }: { - pathParams: GetTeamMembersPathParams - queryParams?: GetTeamMembersQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetTeamMembersPathParams; + queryParams?: GetTeamMembersQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!teamId) { - throw new Error(`Missing required path parameter: teamId`) + throw new Error(`Missing required path parameter: teamId`); } const data = await request< @@ -6068,8 +6352,8 @@ export async function getTeamMembers({ Record, GetTeamMembersQueryParams, GetTeamMembersPathParams - >({ method: 'GET', url: `/v3/teams/${teamId}/members`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v3/teams/${teamId}/members`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -6079,15 +6363,15 @@ export async function getTeamMembers({ */ export async function inviteUserToTeam({ pathParams: { teamId }, - config = {}, + config = {} }: { - pathParams: InviteUserToTeamPathParams - config?: Partial & { client?: typeof client } + pathParams: InviteUserToTeamPathParams; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!teamId) { - throw new Error(`Missing required path parameter: teamId`) + throw new Error(`Missing required path parameter: teamId`); } const data = await request< @@ -6097,8 +6381,13 @@ export async function inviteUserToTeam({ Record, Record, InviteUserToTeamPathParams - >({ method: 'POST', url: `/v1/teams/${teamId}/members`, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ + method: 'POST', + url: `/v1/teams/${teamId}/members`, + ...requestConfig, + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -6108,26 +6397,37 @@ export async function inviteUserToTeam({ */ export async function requestAccessToTeam({ pathParams: { teamId }, - config = {}, + config = {} }: { - pathParams: RequestAccessToTeamPathParams - config?: Partial & { client?: typeof client } + pathParams: RequestAccessToTeamPathParams; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!teamId) { - throw new Error(`Missing required path parameter: teamId`) + throw new Error(`Missing required path parameter: teamId`); } const data = await request< RequestAccessToTeamMutationResponse, - ErrorWrapper, + ErrorWrapper< + | RequestAccessToTeam400 + | RequestAccessToTeam401 + | RequestAccessToTeam403 + | RequestAccessToTeam404 + | RequestAccessToTeam503 + >, null, Record, Record, RequestAccessToTeamPathParams - >({ method: 'POST', url: `/v1/teams/${teamId}/request`, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ + method: 'POST', + url: `/v1/teams/${teamId}/request`, + ...requestConfig, + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -6137,19 +6437,19 @@ export async function requestAccessToTeam({ */ export async function getTeamAccessRequest({ pathParams: { userId, teamId }, - config = {}, + config = {} }: { - pathParams: GetTeamAccessRequestPathParams - config?: Partial & { client?: typeof client } + pathParams: GetTeamAccessRequestPathParams; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!userId) { - throw new Error(`Missing required path parameter: userId`) + throw new Error(`Missing required path parameter: userId`); } if (!teamId) { - throw new Error(`Missing required path parameter: teamId`) + throw new Error(`Missing required path parameter: teamId`); } const data = await request< @@ -6159,8 +6459,8 @@ export async function getTeamAccessRequest({ Record, Record, GetTeamAccessRequestPathParams - >({ method: 'GET', url: `/v1/teams/${teamId}/request/${userId}`, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v1/teams/${teamId}/request/${userId}`, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -6170,15 +6470,15 @@ export async function getTeamAccessRequest({ */ export async function joinTeam({ pathParams: { teamId }, - config = {}, + config = {} }: { - pathParams: JoinTeamPathParams - config?: Partial & { client?: typeof client } + pathParams: JoinTeamPathParams; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!teamId) { - throw new Error(`Missing required path parameter: teamId`) + throw new Error(`Missing required path parameter: teamId`); } const data = await request< @@ -6192,9 +6492,9 @@ export async function joinTeam({ method: 'POST', url: `/v1/teams/${teamId}/members/teams/join`, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -6204,30 +6504,42 @@ export async function joinTeam({ */ export async function updateTeamMember({ pathParams: { uid, teamId }, - config = {}, + config = {} }: { - pathParams: UpdateTeamMemberPathParams - config?: Partial & { client?: typeof client } + pathParams: UpdateTeamMemberPathParams; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!uid) { - throw new Error(`Missing required path parameter: uid`) + throw new Error(`Missing required path parameter: uid`); } if (!teamId) { - throw new Error(`Missing required path parameter: teamId`) + throw new Error(`Missing required path parameter: teamId`); } const data = await request< UpdateTeamMemberMutationResponse, - ErrorWrapper, + ErrorWrapper< + | UpdateTeamMember400 + | UpdateTeamMember401 + | UpdateTeamMember402 + | UpdateTeamMember403 + | UpdateTeamMember404 + | UpdateTeamMember500 + >, null, Record, Record, UpdateTeamMemberPathParams - >({ method: 'PATCH', url: `/v1/teams/${teamId}/members/${uid}`, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ + method: 'PATCH', + url: `/v1/teams/${teamId}/members/${uid}`, + ...requestConfig, + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -6238,31 +6550,33 @@ export async function updateTeamMember({ export async function removeTeamMember({ pathParams: { uid, teamId }, queryParams, - config = {}, + config = {} }: { - pathParams: RemoveTeamMemberPathParams - queryParams?: RemoveTeamMemberQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: RemoveTeamMemberPathParams; + queryParams?: RemoveTeamMemberQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!uid) { - throw new Error(`Missing required path parameter: uid`) + throw new Error(`Missing required path parameter: uid`); } if (!teamId) { - throw new Error(`Missing required path parameter: teamId`) + throw new Error(`Missing required path parameter: teamId`); } const data = await request< RemoveTeamMemberMutationResponse, - ErrorWrapper, + ErrorWrapper< + RemoveTeamMember400 | RemoveTeamMember401 | RemoveTeamMember403 | RemoveTeamMember404 | RemoveTeamMember503 + >, null, Record, RemoveTeamMemberQueryParams, RemoveTeamMemberPathParams - >({ method: 'DELETE', url: `/v1/teams/${teamId}/members/${uid}`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'DELETE', url: `/v1/teams/${teamId}/members/${uid}`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -6273,16 +6587,16 @@ export async function removeTeamMember({ export async function getTeam({ pathParams: { teamId }, queryParams, - config = {}, + config = {} }: { - pathParams: GetTeamPathParams - queryParams?: GetTeamQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetTeamPathParams; + queryParams?: GetTeamQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!teamId) { - throw new Error(`Missing required path parameter: teamId`) + throw new Error(`Missing required path parameter: teamId`); } const data = await request< @@ -6292,8 +6606,8 @@ export async function getTeam({ Record, GetTeamQueryParams, GetTeamPathParams - >({ method: 'GET', url: `/v2/teams/${teamId}`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v2/teams/${teamId}`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -6304,16 +6618,16 @@ export async function getTeam({ export async function patchTeam({ pathParams: { teamId }, queryParams, - config = {}, + config = {} }: { - pathParams: PatchTeamPathParams - queryParams?: PatchTeamQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: PatchTeamPathParams; + queryParams?: PatchTeamQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!teamId) { - throw new Error(`Missing required path parameter: teamId`) + throw new Error(`Missing required path parameter: teamId`); } const data = await request< @@ -6323,8 +6637,14 @@ export async function patchTeam({ Record, PatchTeamQueryParams, PatchTeamPathParams - >({ method: 'PATCH', url: `/v2/teams/${teamId}`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ + method: 'PATCH', + url: `/v2/teams/${teamId}`, + queryParams, + ...requestConfig, + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -6334,12 +6654,12 @@ export async function patchTeam({ */ export async function getTeams({ queryParams, - config = {}, + config = {} }: { - queryParams?: GetTeamsQueryParams | undefined - config?: Partial & { client?: typeof client } + queryParams?: GetTeamsQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< GetTeamsQueryResponse, @@ -6348,8 +6668,8 @@ export async function getTeams({ Record, GetTeamsQueryParams, Record - >({ method: 'GET', url: `/v2/teams`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v2/teams`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -6357,8 +6677,12 @@ export async function getTeams({ * @summary Create a Team * {@link /v1/teams} */ -export async function createTeam({ config = {} }: { config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config +export async function createTeam({ + config = {} +}: { + config?: Partial & { client?: typeof client }; +}): Promise> { + const { client: request = client, ...requestConfig } = config; const data = await request< CreateTeamMutationResponse, @@ -6367,8 +6691,13 @@ export async function createTeam({ config = {} }: { config?: Partial, Record, Record - >({ method: 'POST', url: `/v1/teams`, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ + method: 'POST', + url: `/v1/teams`, + ...requestConfig, + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -6379,16 +6708,16 @@ export async function createTeam({ config = {} }: { config?: Partial & { client?: typeof client } + pathParams: DeleteTeamPathParams; + queryParams?: DeleteTeamQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!teamId) { - throw new Error(`Missing required path parameter: teamId`) + throw new Error(`Missing required path parameter: teamId`); } const data = await request< @@ -6398,8 +6727,14 @@ export async function deleteTeam({ Record, DeleteTeamQueryParams, DeleteTeamPathParams - >({ method: 'DELETE', url: `/v1/teams/${teamId}`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ + method: 'DELETE', + url: `/v1/teams/${teamId}`, + queryParams, + ...requestConfig, + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -6409,19 +6744,19 @@ export async function deleteTeam({ */ export async function deleteTeamInviteCode({ pathParams: { inviteId, teamId }, - config = {}, + config = {} }: { - pathParams: DeleteTeamInviteCodePathParams - config?: Partial & { client?: typeof client } + pathParams: DeleteTeamInviteCodePathParams; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!inviteId) { - throw new Error(`Missing required path parameter: inviteId`) + throw new Error(`Missing required path parameter: inviteId`); } if (!teamId) { - throw new Error(`Missing required path parameter: teamId`) + throw new Error(`Missing required path parameter: teamId`); } const data = await request< @@ -6431,8 +6766,8 @@ export async function deleteTeamInviteCode({ Record, Record, DeleteTeamInviteCodePathParams - >({ method: 'DELETE', url: `/v1/teams/${teamId}/invites/${inviteId}`, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'DELETE', url: `/v1/teams/${teamId}/invites/${inviteId}`, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -6443,13 +6778,13 @@ export async function deleteTeamInviteCode({ export async function uploadFile({ queryParams, headers, - config = {}, + config = {} }: { - queryParams?: UploadFileQueryParams | undefined - headers?: UploadFileHeaderParams | undefined - config?: Partial & { client?: typeof client } + queryParams?: UploadFileQueryParams | undefined; + headers?: UploadFileHeaderParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< UploadFileMutationResponse, @@ -6463,9 +6798,9 @@ export async function uploadFile({ url: `/v2/files`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationOctetStream', ...headers, ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationOctetStream', ...headers, ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -6473,8 +6808,12 @@ export async function uploadFile({ * @summary List Auth Tokens * {@link /v5/user/tokens} */ -export async function listAuthTokens({ config = {} }: { config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config +export async function listAuthTokens({ + config = {} +}: { + config?: Partial & { client?: typeof client }; +}): Promise> { + const { client: request = client, ...requestConfig } = config; const data = await request< ListAuthTokensQueryResponse, @@ -6483,8 +6822,8 @@ export async function listAuthTokens({ config = {} }: { config?: Partial, Record, Record - >({ method: 'GET', url: `/v5/user/tokens`, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v5/user/tokens`, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -6494,12 +6833,12 @@ export async function listAuthTokens({ config = {} }: { config?: Partial & { client?: typeof client } + queryParams?: CreateAuthTokenQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< CreateAuthTokenMutationResponse, @@ -6508,8 +6847,14 @@ export async function createAuthToken({ Record, CreateAuthTokenQueryParams, Record - >({ method: 'POST', url: `/v3/user/tokens`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ + method: 'POST', + url: `/v3/user/tokens`, + queryParams, + ...requestConfig, + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -6519,15 +6864,15 @@ export async function createAuthToken({ */ export async function getAuthToken({ pathParams: { tokenId }, - config = {}, + config = {} }: { - pathParams: GetAuthTokenPathParams - config?: Partial & { client?: typeof client } + pathParams: GetAuthTokenPathParams; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!tokenId) { - throw new Error(`Missing required path parameter: tokenId`) + throw new Error(`Missing required path parameter: tokenId`); } const data = await request< @@ -6537,8 +6882,8 @@ export async function getAuthToken({ Record, Record, GetAuthTokenPathParams - >({ method: 'GET', url: `/v5/user/tokens/${tokenId}`, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v5/user/tokens/${tokenId}`, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -6548,15 +6893,15 @@ export async function getAuthToken({ */ export async function deleteAuthToken({ pathParams: { tokenId }, - config = {}, + config = {} }: { - pathParams: DeleteAuthTokenPathParams - config?: Partial & { client?: typeof client } + pathParams: DeleteAuthTokenPathParams; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!tokenId) { - throw new Error(`Missing required path parameter: tokenId`) + throw new Error(`Missing required path parameter: tokenId`); } const data = await request< @@ -6566,8 +6911,8 @@ export async function deleteAuthToken({ Record, Record, DeleteAuthTokenPathParams - >({ method: 'DELETE', url: `/v3/user/tokens/${tokenId}`, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'DELETE', url: `/v3/user/tokens/${tokenId}`, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -6575,8 +6920,12 @@ export async function deleteAuthToken({ * @summary Get the User * {@link /v2/user} */ -export async function getAuthUser({ config = {} }: { config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config +export async function getAuthUser({ + config = {} +}: { + config?: Partial & { client?: typeof client }; +}): Promise> { + const { client: request = client, ...requestConfig } = config; const data = await request< GetAuthUserQueryResponse, @@ -6585,8 +6934,8 @@ export async function getAuthUser({ config = {} }: { config?: Partial, Record, Record - >({ method: 'GET', url: `/v2/user`, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v2/user`, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -6594,8 +6943,12 @@ export async function getAuthUser({ config = {} }: { config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config +export async function requestDelete({ + config = {} +}: { + config?: Partial & { client?: typeof client }; +}): Promise> { + const { client: request = client, ...requestConfig } = config; const data = await request< RequestDeleteMutationResponse, @@ -6604,8 +6957,13 @@ export async function requestDelete({ config = {} }: { config?: Partial, Record, Record - >({ method: 'DELETE', url: `/v1/user`, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ + method: 'DELETE', + url: `/v1/user`, + ...requestConfig, + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -6615,12 +6973,12 @@ export async function requestDelete({ config = {} }: { config?: Partial & { client?: typeof client } + queryParams?: CreateWebhookQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< CreateWebhookMutationResponse, @@ -6629,8 +6987,14 @@ export async function createWebhook({ Record, CreateWebhookQueryParams, Record - >({ method: 'POST', url: `/v1/webhooks`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ + method: 'POST', + url: `/v1/webhooks`, + queryParams, + ...requestConfig, + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -6640,12 +7004,12 @@ export async function createWebhook({ */ export async function getWebhooks({ queryParams, - config = {}, + config = {} }: { - queryParams?: GetWebhooksQueryParams | undefined - config?: Partial & { client?: typeof client } + queryParams?: GetWebhooksQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< GetWebhooksQueryResponse, @@ -6654,8 +7018,8 @@ export async function getWebhooks({ Record, GetWebhooksQueryParams, Record - >({ method: 'GET', url: `/v1/webhooks`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v1/webhooks`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -6666,16 +7030,16 @@ export async function getWebhooks({ export async function getWebhook({ pathParams: { id }, queryParams, - config = {}, + config = {} }: { - pathParams: GetWebhookPathParams - queryParams?: GetWebhookQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetWebhookPathParams; + queryParams?: GetWebhookQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!id) { - throw new Error(`Missing required path parameter: id`) + throw new Error(`Missing required path parameter: id`); } const data = await request< @@ -6685,8 +7049,8 @@ export async function getWebhook({ Record, GetWebhookQueryParams, GetWebhookPathParams - >({ method: 'GET', url: `/v1/webhooks/${id}`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v1/webhooks/${id}`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -6697,16 +7061,16 @@ export async function getWebhook({ export async function deleteWebhook({ pathParams: { id }, queryParams, - config = {}, + config = {} }: { - pathParams: DeleteWebhookPathParams - queryParams?: DeleteWebhookQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: DeleteWebhookPathParams; + queryParams?: DeleteWebhookQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!id) { - throw new Error(`Missing required path parameter: id`) + throw new Error(`Missing required path parameter: id`); } const data = await request< @@ -6716,8 +7080,8 @@ export async function deleteWebhook({ Record, DeleteWebhookQueryParams, DeleteWebhookPathParams - >({ method: 'DELETE', url: `/v1/webhooks/${id}`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'DELETE', url: `/v1/webhooks/${id}`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -6728,27 +7092,29 @@ export async function deleteWebhook({ export async function listDeploymentAliases({ pathParams: { id }, queryParams, - config = {}, + config = {} }: { - pathParams: ListDeploymentAliasesPathParams - queryParams?: ListDeploymentAliasesQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: ListDeploymentAliasesPathParams; + queryParams?: ListDeploymentAliasesQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!id) { - throw new Error(`Missing required path parameter: id`) + throw new Error(`Missing required path parameter: id`); } const data = await request< ListDeploymentAliasesQueryResponse, - ErrorWrapper, + ErrorWrapper< + ListDeploymentAliases400 | ListDeploymentAliases401 | ListDeploymentAliases403 | ListDeploymentAliases404 + >, null, Record, ListDeploymentAliasesQueryParams, ListDeploymentAliasesPathParams - >({ method: 'GET', url: `/v2/deployments/${id}/aliases`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v2/deployments/${id}/aliases`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -6759,16 +7125,16 @@ export async function listDeploymentAliases({ export async function assignAlias({ pathParams: { id }, queryParams, - config = {}, + config = {} }: { - pathParams: AssignAliasPathParams - queryParams?: AssignAliasQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: AssignAliasPathParams; + queryParams?: AssignAliasQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!id) { - throw new Error(`Missing required path parameter: id`) + throw new Error(`Missing required path parameter: id`); } const data = await request< @@ -6783,9 +7149,9 @@ export async function assignAlias({ url: `/v2/deployments/${id}/aliases`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -6795,12 +7161,12 @@ export async function assignAlias({ */ export async function listAliases({ queryParams, - config = {}, + config = {} }: { - queryParams?: ListAliasesQueryParams | undefined - config?: Partial & { client?: typeof client } + queryParams?: ListAliasesQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< ListAliasesQueryResponse, @@ -6809,8 +7175,8 @@ export async function listAliases({ Record, ListAliasesQueryParams, Record - >({ method: 'GET', url: `/v4/aliases`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v4/aliases`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -6821,16 +7187,16 @@ export async function listAliases({ export async function getAlias({ pathParams: { idOrAlias }, queryParams, - config = {}, + config = {} }: { - pathParams: GetAliasPathParams - queryParams?: GetAliasQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetAliasPathParams; + queryParams?: GetAliasQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrAlias) { - throw new Error(`Missing required path parameter: idOrAlias`) + throw new Error(`Missing required path parameter: idOrAlias`); } const data = await request< @@ -6840,8 +7206,8 @@ export async function getAlias({ Record, GetAliasQueryParams, GetAliasPathParams - >({ method: 'GET', url: `/v4/aliases/${idOrAlias}`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v4/aliases/${idOrAlias}`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -6852,16 +7218,16 @@ export async function getAlias({ export async function deleteAlias({ pathParams: { aliasId }, queryParams, - config = {}, + config = {} }: { - pathParams: DeleteAliasPathParams - queryParams?: DeleteAliasQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: DeleteAliasPathParams; + queryParams?: DeleteAliasQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!aliasId) { - throw new Error(`Missing required path parameter: aliasId`) + throw new Error(`Missing required path parameter: aliasId`); } const data = await request< @@ -6871,8 +7237,8 @@ export async function deleteAlias({ Record, DeleteAliasQueryParams, DeleteAliasPathParams - >({ method: 'DELETE', url: `/v2/aliases/${aliasId}`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'DELETE', url: `/v2/aliases/${aliasId}`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -6883,16 +7249,16 @@ export async function deleteAlias({ export async function patchUrlProtectionBypass({ pathParams: { id }, queryParams, - config = {}, + config = {} }: { - pathParams: PatchUrlProtectionBypassPathParams - queryParams?: PatchUrlProtectionBypassQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: PatchUrlProtectionBypassPathParams; + queryParams?: PatchUrlProtectionBypassQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!id) { - throw new Error(`Missing required path parameter: id`) + throw new Error(`Missing required path parameter: id`); } const data = await request< @@ -6915,16 +7281,20 @@ export async function patchUrlProtectionBypass({ url: `/aliases/${id}/protection-bypass`, queryParams, ...requestConfig, - headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }, - }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** * {@link /certs} */ -export async function listCerts({ config = {} }: { config?: Partial & { client?: typeof client } }): Promise> { - const { client: request = client, ...requestConfig } = config +export async function listCerts({ + config = {} +}: { + config?: Partial & { client?: typeof client }; +}): Promise> { + const { client: request = client, ...requestConfig } = config; const data = await request< ListCertsQueryResponse, @@ -6933,8 +7303,8 @@ export async function listCerts({ config = {} }: { config?: Partial, Record, Record - >({ method: 'GET', url: `/certs`, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/certs`, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -6945,16 +7315,16 @@ export async function listCerts({ config = {} }: { config?: Partial & { client?: typeof client } + pathParams: GetCertByIdPathParams; + queryParams?: GetCertByIdQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!id) { - throw new Error(`Missing required path parameter: id`) + throw new Error(`Missing required path parameter: id`); } const data = await request< @@ -6964,8 +7334,8 @@ export async function getCertById({ Record, GetCertByIdQueryParams, GetCertByIdPathParams - >({ method: 'GET', url: `/v8/certs/${id}`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v8/certs/${id}`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -6976,16 +7346,16 @@ export async function getCertById({ export async function removeCert({ pathParams: { id }, queryParams, - config = {}, + config = {} }: { - pathParams: RemoveCertPathParams - queryParams?: RemoveCertQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: RemoveCertPathParams; + queryParams?: RemoveCertQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!id) { - throw new Error(`Missing required path parameter: id`) + throw new Error(`Missing required path parameter: id`); } const data = await request< @@ -6995,8 +7365,8 @@ export async function removeCert({ Record, RemoveCertQueryParams, RemoveCertPathParams - >({ method: 'DELETE', url: `/v8/certs/${id}`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'DELETE', url: `/v8/certs/${id}`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -7006,22 +7376,30 @@ export async function removeCert({ */ export async function issueCert({ queryParams, - config = {}, + config = {} }: { - queryParams?: IssueCertQueryParams | undefined - config?: Partial & { client?: typeof client } + queryParams?: IssueCertQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< IssueCertMutationResponse, - ErrorWrapper, + ErrorWrapper< + IssueCert400 | IssueCert401 | IssueCert402 | IssueCert403 | IssueCert404 | IssueCert449 | IssueCert500 + >, null, Record, IssueCertQueryParams, Record - >({ method: 'POST', url: `/v8/certs`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ + method: 'POST', + url: `/v8/certs`, + queryParams, + ...requestConfig, + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -7031,12 +7409,12 @@ export async function issueCert({ */ export async function uploadCert({ queryParams, - config = {}, + config = {} }: { - queryParams?: UploadCertQueryParams | undefined - config?: Partial & { client?: typeof client } + queryParams?: UploadCertQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< UploadCertMutationResponse, @@ -7045,8 +7423,14 @@ export async function uploadCert({ Record, UploadCertQueryParams, Record - >({ method: 'PUT', url: `/v8/certs`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ + method: 'PUT', + url: `/v8/certs`, + queryParams, + ...requestConfig, + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -7057,16 +7441,16 @@ export async function uploadCert({ export async function listDeploymentFiles({ pathParams: { id }, queryParams, - config = {}, + config = {} }: { - pathParams: ListDeploymentFilesPathParams - queryParams?: ListDeploymentFilesQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: ListDeploymentFilesPathParams; + queryParams?: ListDeploymentFilesQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!id) { - throw new Error(`Missing required path parameter: id`) + throw new Error(`Missing required path parameter: id`); } const data = await request< @@ -7076,8 +7460,8 @@ export async function listDeploymentFiles({ Record, ListDeploymentFilesQueryParams, ListDeploymentFilesPathParams - >({ method: 'GET', url: `/v6/deployments/${id}/files`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v6/deployments/${id}/files`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -7088,33 +7472,37 @@ export async function listDeploymentFiles({ export async function getDeploymentFileContents({ pathParams: { id, fileId }, queryParams, - config = {}, + config = {} }: { - pathParams: GetDeploymentFileContentsPathParams - queryParams?: GetDeploymentFileContentsQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetDeploymentFileContentsPathParams; + queryParams?: GetDeploymentFileContentsQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!id) { - throw new Error(`Missing required path parameter: id`) + throw new Error(`Missing required path parameter: id`); } if (!fileId) { - throw new Error(`Missing required path parameter: fileId`) + throw new Error(`Missing required path parameter: fileId`); } const data = await request< GetDeploymentFileContentsQueryResponse, ErrorWrapper< - GetDeploymentFileContents400 | GetDeploymentFileContents401 | GetDeploymentFileContents403 | GetDeploymentFileContents404 | GetDeploymentFileContents410 + | GetDeploymentFileContents400 + | GetDeploymentFileContents401 + | GetDeploymentFileContents403 + | GetDeploymentFileContents404 + | GetDeploymentFileContents410 >, null, Record, GetDeploymentFileContentsQueryParams, GetDeploymentFileContentsPathParams - >({ method: 'GET', url: `/v8/deployments/${id}/files/${fileId}`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v8/deployments/${id}/files/${fileId}`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -7124,12 +7512,12 @@ export async function getDeploymentFileContents({ */ export async function getDeployments({ queryParams, - config = {}, + config = {} }: { - queryParams?: GetDeploymentsQueryParams | undefined - config?: Partial & { client?: typeof client } + queryParams?: GetDeploymentsQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< GetDeploymentsQueryResponse, @@ -7138,8 +7526,8 @@ export async function getDeployments({ Record, GetDeploymentsQueryParams, Record - >({ method: 'GET', url: `/v6/deployments`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v6/deployments`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -7150,16 +7538,16 @@ export async function getDeployments({ export async function deleteDeployment({ pathParams: { id }, queryParams, - config = {}, + config = {} }: { - pathParams: DeleteDeploymentPathParams - queryParams?: DeleteDeploymentQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: DeleteDeploymentPathParams; + queryParams?: DeleteDeploymentQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!id) { - throw new Error(`Missing required path parameter: id`) + throw new Error(`Missing required path parameter: id`); } const data = await request< @@ -7169,8 +7557,8 @@ export async function deleteDeployment({ Record, DeleteDeploymentQueryParams, DeleteDeploymentPathParams - >({ method: 'DELETE', url: `/v13/deployments/${id}`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'DELETE', url: `/v13/deployments/${id}`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -7180,12 +7568,12 @@ export async function deleteDeployment({ */ export async function getSecrets({ queryParams, - config = {}, + config = {} }: { - queryParams?: GetSecretsQueryParams | undefined - config?: Partial & { client?: typeof client } + queryParams?: GetSecretsQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; const data = await request< GetSecretsQueryResponse, @@ -7194,8 +7582,8 @@ export async function getSecrets({ Record, GetSecretsQueryParams, Record - >({ method: 'GET', url: `/v3/secrets`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v3/secrets`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -7206,16 +7594,16 @@ export async function getSecrets({ export async function createSecret({ pathParams: { name }, queryParams, - config = {}, + config = {} }: { - pathParams: CreateSecretPathParams - queryParams?: CreateSecretQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: CreateSecretPathParams; + queryParams?: CreateSecretQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!name) { - throw new Error(`Missing required path parameter: name`) + throw new Error(`Missing required path parameter: name`); } const data = await request< @@ -7225,8 +7613,14 @@ export async function createSecret({ Record, CreateSecretQueryParams, CreateSecretPathParams - >({ method: 'POST', url: `/v2/secrets/${name}`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ + method: 'POST', + url: `/v2/secrets/${name}`, + queryParams, + ...requestConfig, + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -7237,16 +7631,16 @@ export async function createSecret({ export async function renameSecret({ pathParams: { name }, queryParams, - config = {}, + config = {} }: { - pathParams: RenameSecretPathParams - queryParams?: RenameSecretQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: RenameSecretPathParams; + queryParams?: RenameSecretQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!name) { - throw new Error(`Missing required path parameter: name`) + throw new Error(`Missing required path parameter: name`); } const data = await request< @@ -7256,8 +7650,14 @@ export async function renameSecret({ Record, RenameSecretQueryParams, RenameSecretPathParams - >({ method: 'PATCH', url: `/v2/secrets/${name}`, queryParams, ...requestConfig, headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ + method: 'PATCH', + url: `/v2/secrets/${name}`, + queryParams, + ...requestConfig, + headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers } + }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -7268,16 +7668,16 @@ export async function renameSecret({ export async function getSecret({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: GetSecretPathParams - queryParams?: GetSecretQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: GetSecretPathParams; + queryParams?: GetSecretQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< @@ -7287,8 +7687,8 @@ export async function getSecret({ Record, GetSecretQueryParams, GetSecretPathParams - >({ method: 'GET', url: `/v3/secrets/${idOrName}`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'GET', url: `/v3/secrets/${idOrName}`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } /** @@ -7299,16 +7699,16 @@ export async function getSecret({ export async function deleteSecret({ pathParams: { idOrName }, queryParams, - config = {}, + config = {} }: { - pathParams: DeleteSecretPathParams - queryParams?: DeleteSecretQueryParams | undefined - config?: Partial & { client?: typeof client } + pathParams: DeleteSecretPathParams; + queryParams?: DeleteSecretQueryParams | undefined; + config?: Partial & { client?: typeof client }; }): Promise> { - const { client: request = client, ...requestConfig } = config + const { client: request = client, ...requestConfig } = config; if (!idOrName) { - throw new Error(`Missing required path parameter: idOrName`) + throw new Error(`Missing required path parameter: idOrName`); } const data = await request< @@ -7318,14 +7718,14 @@ export async function deleteSecret({ Record, DeleteSecretQueryParams, DeleteSecretPathParams - >({ method: 'DELETE', url: `/v2/secrets/${idOrName}`, queryParams, ...requestConfig }) - return { content: [{ type: 'text', text: JSON.stringify(data) }] } + >({ method: 'DELETE', url: `/v2/secrets/${idOrName}`, queryParams, ...requestConfig }); + return { content: [{ type: 'text', text: JSON.stringify(data) }] }; } -import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js' +import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; export function initMcpTools(serverLike: Server, config: FetcherConfig) { - const server = serverLike as McpServer + const server = serverLike as McpServer; server.tool( 'readAccessGroup', @@ -7333,12 +7733,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { idOrName: readAccessGroupPathParamsSchema.shape['idOrName'], queryParams: readAccessGroupQueryParamsSchema }, async ({ idOrName, queryParams }) => { try { - return await readAccessGroup({ pathParams: { idOrName }, queryParams, config }) + return await readAccessGroup({ pathParams: { idOrName }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'updateAccessGroup', @@ -7346,12 +7746,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { idOrName: updateAccessGroupPathParamsSchema.shape['idOrName'], queryParams: updateAccessGroupQueryParamsSchema }, async ({ idOrName, queryParams }) => { try { - return await updateAccessGroup({ pathParams: { idOrName }, queryParams, config }) + return await updateAccessGroup({ pathParams: { idOrName }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'deleteAccessGroup', @@ -7359,67 +7759,86 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { idOrName: deleteAccessGroupPathParamsSchema.shape['idOrName'], queryParams: deleteAccessGroupQueryParamsSchema }, async ({ idOrName, queryParams }) => { try { - return await deleteAccessGroup({ pathParams: { idOrName }, queryParams, config }) + return await deleteAccessGroup({ pathParams: { idOrName }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'listAccessGroupMembers', 'List members of an access group', - { idOrName: listAccessGroupMembersPathParamsSchema.shape['idOrName'], queryParams: listAccessGroupMembersQueryParamsSchema }, + { + idOrName: listAccessGroupMembersPathParamsSchema.shape['idOrName'], + queryParams: listAccessGroupMembersQueryParamsSchema + }, async ({ idOrName, queryParams }) => { try { - return await listAccessGroupMembers({ pathParams: { idOrName }, queryParams, config }) + return await listAccessGroupMembers({ pathParams: { idOrName }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); - server.tool('listAccessGroups', 'List access groups', { queryParams: listAccessGroupsQueryParamsSchema }, async ({ queryParams }) => { - try { - return await listAccessGroups({ queryParams, config }) - } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + server.tool( + 'listAccessGroups', + 'List access groups', + { queryParams: listAccessGroupsQueryParamsSchema }, + async ({ queryParams }) => { + try { + return await listAccessGroups({ queryParams, config }); + } catch (error) { + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + } } - }) + ); - server.tool('createAccessGroup', 'Allows to create an access group', { queryParams: createAccessGroupQueryParamsSchema }, async ({ queryParams }) => { - try { - return await createAccessGroup({ queryParams, config }) - } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + server.tool( + 'createAccessGroup', + 'Allows to create an access group', + { queryParams: createAccessGroupQueryParamsSchema }, + async ({ queryParams }) => { + try { + return await createAccessGroup({ queryParams, config }); + } catch (error) { + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + } } - }) + ); server.tool( 'listAccessGroupProjects', 'List projects of an access group', - { idOrName: listAccessGroupProjectsPathParamsSchema.shape['idOrName'], queryParams: listAccessGroupProjectsQueryParamsSchema }, + { + idOrName: listAccessGroupProjectsPathParamsSchema.shape['idOrName'], + queryParams: listAccessGroupProjectsQueryParamsSchema + }, async ({ idOrName, queryParams }) => { try { - return await listAccessGroupProjects({ pathParams: { idOrName }, queryParams, config }) + return await listAccessGroupProjects({ pathParams: { idOrName }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'createAccessGroupProject', 'Allows creation of an access group project', - { accessGroupIdOrName: createAccessGroupProjectPathParamsSchema.shape['accessGroupIdOrName'], queryParams: createAccessGroupProjectQueryParamsSchema }, + { + accessGroupIdOrName: createAccessGroupProjectPathParamsSchema.shape['accessGroupIdOrName'], + queryParams: createAccessGroupProjectQueryParamsSchema + }, async ({ accessGroupIdOrName, queryParams }) => { try { - return await createAccessGroupProject({ pathParams: { accessGroupIdOrName }, queryParams, config }) + return await createAccessGroupProject({ pathParams: { accessGroupIdOrName }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'readAccessGroupProject', @@ -7427,16 +7846,16 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { accessGroupIdOrName: readAccessGroupProjectPathParamsSchema.shape['accessGroupIdOrName'], projectId: readAccessGroupProjectPathParamsSchema.shape['projectId'], - queryParams: readAccessGroupProjectQueryParamsSchema, + queryParams: readAccessGroupProjectQueryParamsSchema }, async ({ accessGroupIdOrName, projectId, queryParams }) => { try { - return await readAccessGroupProject({ pathParams: { accessGroupIdOrName, projectId }, queryParams, config }) + return await readAccessGroupProject({ pathParams: { accessGroupIdOrName, projectId }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'updateAccessGroupProject', @@ -7444,16 +7863,16 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { accessGroupIdOrName: updateAccessGroupProjectPathParamsSchema.shape['accessGroupIdOrName'], projectId: updateAccessGroupProjectPathParamsSchema.shape['projectId'], - queryParams: updateAccessGroupProjectQueryParamsSchema, + queryParams: updateAccessGroupProjectQueryParamsSchema }, async ({ accessGroupIdOrName, projectId, queryParams }) => { try { - return await updateAccessGroupProject({ pathParams: { accessGroupIdOrName, projectId }, queryParams, config }) + return await updateAccessGroupProject({ pathParams: { accessGroupIdOrName, projectId }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'deleteAccessGroupProject', @@ -7461,16 +7880,16 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { accessGroupIdOrName: deleteAccessGroupProjectPathParamsSchema.shape['accessGroupIdOrName'], projectId: deleteAccessGroupProjectPathParamsSchema.shape['projectId'], - queryParams: deleteAccessGroupProjectQueryParamsSchema, + queryParams: deleteAccessGroupProjectQueryParamsSchema }, async ({ accessGroupIdOrName, projectId, queryParams }) => { try { - return await deleteAccessGroupProject({ pathParams: { accessGroupIdOrName, projectId }, queryParams, config }) + return await deleteAccessGroupProject({ pathParams: { accessGroupIdOrName, projectId }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'recordEvents', @@ -7478,12 +7897,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { queryParams: recordEventsQueryParamsSchema, headers: recordEventsHeaderParamsSchema }, async ({ queryParams, headers }) => { try { - return await recordEvents({ queryParams, headers, config }) + return await recordEvents({ queryParams, headers, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'status', @@ -7491,46 +7910,59 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { queryParams: statusQueryParamsSchema }, async ({ queryParams }) => { try { - return await status({ queryParams, config }) + return await status({ queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'uploadArtifact', 'Uploads a cache artifact identified by the `hash` specified on the path. The cache artifact can then be downloaded with the provided `hash`.', - { hash: uploadArtifactPathParamsSchema.shape['hash'], headers: uploadArtifactHeaderParamsSchema, queryParams: uploadArtifactQueryParamsSchema }, + { + hash: uploadArtifactPathParamsSchema.shape['hash'], + headers: uploadArtifactHeaderParamsSchema, + queryParams: uploadArtifactQueryParamsSchema + }, async ({ hash, headers, queryParams }) => { try { - return await uploadArtifact({ pathParams: { hash }, headers, queryParams, config }) + return await uploadArtifact({ pathParams: { hash }, headers, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'downloadArtifact', 'Downloads a cache artifact indentified by its `hash` specified on the request path. The artifact is downloaded as an octet-stream. The client should verify the content-length header and response body.', - { hash: downloadArtifactPathParamsSchema.shape['hash'], queryParams: downloadArtifactQueryParamsSchema, headers: downloadArtifactHeaderParamsSchema }, + { + hash: downloadArtifactPathParamsSchema.shape['hash'], + queryParams: downloadArtifactQueryParamsSchema, + headers: downloadArtifactHeaderParamsSchema + }, async ({ hash, queryParams, headers }) => { try { - return await downloadArtifact({ pathParams: { hash }, queryParams, headers, config }) + return await downloadArtifact({ pathParams: { hash }, queryParams, headers, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); - server.tool('artifactQuery', 'Query information about an array of artifacts.', { queryParams: artifactQueryQueryParamsSchema }, async ({ queryParams }) => { - try { - return await artifactQuery({ queryParams, config }) - } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + server.tool( + 'artifactQuery', + 'Query information about an array of artifacts.', + { queryParams: artifactQueryQueryParamsSchema }, + async ({ queryParams }) => { + try { + return await artifactQuery({ queryParams, config }); + } catch (error) { + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + } } - }) + ); server.tool( 'createCheck', @@ -7538,12 +7970,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { deploymentId: createCheckPathParamsSchema.shape['deploymentId'], queryParams: createCheckQueryParamsSchema }, async ({ deploymentId, queryParams }) => { try { - return await createCheck({ pathParams: { deploymentId }, queryParams, config }) + return await createCheck({ pathParams: { deploymentId }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'getAllChecks', @@ -7551,12 +7983,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { deploymentId: getAllChecksPathParamsSchema.shape['deploymentId'], queryParams: getAllChecksQueryParamsSchema }, async ({ deploymentId, queryParams }) => { try { - return await getAllChecks({ pathParams: { deploymentId }, queryParams, config }) + return await getAllChecks({ pathParams: { deploymentId }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'getCheck', @@ -7564,16 +7996,16 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { deploymentId: getCheckPathParamsSchema.shape['deploymentId'], checkId: getCheckPathParamsSchema.shape['checkId'], - queryParams: getCheckQueryParamsSchema, + queryParams: getCheckQueryParamsSchema }, async ({ deploymentId, checkId, queryParams }) => { try { - return await getCheck({ pathParams: { deploymentId, checkId }, queryParams, config }) + return await getCheck({ pathParams: { deploymentId, checkId }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'updateCheck', @@ -7581,16 +8013,16 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { deploymentId: updateCheckPathParamsSchema.shape['deploymentId'], checkId: updateCheckPathParamsSchema.shape['checkId'], - queryParams: updateCheckQueryParamsSchema, + queryParams: updateCheckQueryParamsSchema }, async ({ deploymentId, checkId, queryParams }) => { try { - return await updateCheck({ pathParams: { deploymentId, checkId }, queryParams, config }) + return await updateCheck({ pathParams: { deploymentId, checkId }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'rerequestCheck', @@ -7598,16 +8030,16 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { deploymentId: rerequestCheckPathParamsSchema.shape['deploymentId'], checkId: rerequestCheckPathParamsSchema.shape['checkId'], - queryParams: rerequestCheckQueryParamsSchema, + queryParams: rerequestCheckQueryParamsSchema }, async ({ deploymentId, checkId, queryParams }) => { try { - return await rerequestCheck({ pathParams: { deploymentId, checkId }, queryParams, config }) + return await rerequestCheck({ pathParams: { deploymentId, checkId }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'purgeAllDataCache', @@ -7615,46 +8047,52 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { queryParams: purgeAllDataCacheQueryParamsSchema }, async ({ queryParams }) => { try { - return await purgeAllDataCache({ queryParams, config }) + return await purgeAllDataCache({ queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool('updateDataCacheBillingSettings', 'Make a PATCH request to /data-cache/billing-settings', async () => { try { - return await updateDataCacheBillingSettings({ config }) + return await updateDataCacheBillingSettings({ config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }) + }); server.tool( 'updateProjectDataCache', 'Update the data cache feature on a project.', - { projectId: updateProjectDataCachePathParamsSchema.shape['projectId'], queryParams: updateProjectDataCacheQueryParamsSchema }, + { + projectId: updateProjectDataCachePathParamsSchema.shape['projectId'], + queryParams: updateProjectDataCacheQueryParamsSchema + }, async ({ projectId, queryParams }) => { try { - return await updateProjectDataCache({ pathParams: { projectId }, queryParams, config }) + return await updateProjectDataCache({ pathParams: { projectId }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'getDeploymentEvents', 'Get the build logs of a deployment by deployment ID and build ID. It can work as an infinite stream of logs or as a JSON endpoint depending on the input parameters.', - { idOrUrl: getDeploymentEventsPathParamsSchema.shape['idOrUrl'], queryParams: getDeploymentEventsQueryParamsSchema }, + { + idOrUrl: getDeploymentEventsPathParamsSchema.shape['idOrUrl'], + queryParams: getDeploymentEventsQueryParamsSchema + }, async ({ idOrUrl, queryParams }) => { try { - return await getDeploymentEvents({ pathParams: { idOrUrl }, queryParams, config }) + return await getDeploymentEvents({ pathParams: { idOrUrl }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'updateIntegrationDeploymentAction', @@ -7663,16 +8101,19 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) deploymentId: updateIntegrationDeploymentActionPathParamsSchema.shape['deploymentId'], integrationConfigurationId: updateIntegrationDeploymentActionPathParamsSchema.shape['integrationConfigurationId'], resourceId: updateIntegrationDeploymentActionPathParamsSchema.shape['resourceId'], - action: updateIntegrationDeploymentActionPathParamsSchema.shape['action'], + action: updateIntegrationDeploymentActionPathParamsSchema.shape['action'] }, async ({ deploymentId, integrationConfigurationId, resourceId, action }) => { try { - return await updateIntegrationDeploymentAction({ pathParams: { deploymentId, integrationConfigurationId, resourceId, action }, config }) + return await updateIntegrationDeploymentAction({ + pathParams: { deploymentId, integrationConfigurationId, resourceId, action }, + config + }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'getDeployment', @@ -7680,12 +8121,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { idOrUrl: getDeploymentPathParamsSchema.shape['idOrUrl'], queryParams: getDeploymentQueryParamsSchema }, async ({ idOrUrl, queryParams }) => { try { - return await getDeployment({ pathParams: { idOrUrl }, queryParams, config }) + return await getDeployment({ pathParams: { idOrUrl }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'createDeployment', @@ -7693,12 +8134,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { queryParams: createDeploymentQueryParamsSchema }, async ({ queryParams }) => { try { - return await createDeployment({ queryParams, config }) + return await createDeployment({ queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'cancelDeployment', @@ -7706,20 +8147,25 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { id: cancelDeploymentPathParamsSchema.shape['id'], queryParams: cancelDeploymentQueryParamsSchema }, async ({ id, queryParams }) => { try { - return await cancelDeployment({ pathParams: { id }, queryParams, config }) + return await cancelDeployment({ pathParams: { id }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); - server.tool('buyDomain', 'Allows to purchase the specified domain.', { queryParams: buyDomainQueryParamsSchema }, async ({ queryParams }) => { - try { - return await buyDomain({ queryParams, config }) - } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + server.tool( + 'buyDomain', + 'Allows to purchase the specified domain.', + { queryParams: buyDomainQueryParamsSchema }, + async ({ queryParams }) => { + try { + return await buyDomain({ queryParams, config }); + } catch (error) { + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + } } - }) + ); server.tool( 'checkDomainPrice', @@ -7727,12 +8173,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { queryParams: checkDomainPriceQueryParamsSchema }, async ({ queryParams }) => { try { - return await checkDomainPrice({ queryParams, config }) + return await checkDomainPrice({ queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'checkDomainStatus', @@ -7740,12 +8186,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { queryParams: checkDomainStatusQueryParamsSchema }, async ({ queryParams }) => { try { - return await checkDomainStatus({ queryParams, config }) + return await checkDomainStatus({ queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'getRecords', @@ -7753,12 +8199,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { domain: getRecordsPathParamsSchema.shape['domain'], queryParams: getRecordsQueryParamsSchema }, async ({ domain, queryParams }) => { try { - return await getRecords({ pathParams: { domain }, queryParams, config }) + return await getRecords({ pathParams: { domain }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'createRecord', @@ -7766,12 +8212,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { domain: createRecordPathParamsSchema.shape['domain'], queryParams: createRecordQueryParamsSchema }, async ({ domain, queryParams }) => { try { - return await createRecord({ pathParams: { domain }, queryParams, config }) + return await createRecord({ pathParams: { domain }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'updateRecord', @@ -7779,12 +8225,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { recordId: updateRecordPathParamsSchema.shape['recordId'], queryParams: updateRecordQueryParamsSchema }, async ({ recordId, queryParams }) => { try { - return await updateRecord({ pathParams: { recordId }, queryParams, config }) + return await updateRecord({ pathParams: { recordId }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'removeRecord', @@ -7792,16 +8238,16 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { domain: removeRecordPathParamsSchema.shape['domain'], recordId: removeRecordPathParamsSchema.shape['recordId'], - queryParams: removeRecordQueryParamsSchema, + queryParams: removeRecordQueryParamsSchema }, async ({ domain, recordId, queryParams }) => { try { - return await removeRecord({ pathParams: { domain, recordId }, queryParams, config }) + return await removeRecord({ pathParams: { domain, recordId }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'getDomainTransfer', @@ -7809,12 +8255,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { domain: getDomainTransferPathParamsSchema.shape['domain'], queryParams: getDomainTransferQueryParamsSchema }, async ({ domain, queryParams }) => { try { - return await getDomainTransfer({ pathParams: { domain }, queryParams, config }) + return await getDomainTransfer({ pathParams: { domain }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'getDomainConfig', @@ -7822,12 +8268,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { domain: getDomainConfigPathParamsSchema.shape['domain'], queryParams: getDomainConfigQueryParamsSchema }, async ({ domain, queryParams }) => { try { - return await getDomainConfig({ pathParams: { domain }, queryParams, config }) + return await getDomainConfig({ pathParams: { domain }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'getDomain', @@ -7835,12 +8281,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { domain: getDomainPathParamsSchema.shape['domain'], queryParams: getDomainQueryParamsSchema }, async ({ domain, queryParams }) => { try { - return await getDomain({ pathParams: { domain }, queryParams, config }) + return await getDomain({ pathParams: { domain }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'getDomains', @@ -7848,12 +8294,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { queryParams: getDomainsQueryParamsSchema }, async ({ queryParams }) => { try { - return await getDomains({ queryParams, config }) + return await getDomains({ queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'createOrTransferDomain', @@ -7861,12 +8307,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { queryParams: createOrTransferDomainQueryParamsSchema }, async ({ queryParams }) => { try { - return await createOrTransferDomain({ queryParams, config }) + return await createOrTransferDomain({ queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'patchDomain', @@ -7874,12 +8320,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { domain: patchDomainPathParamsSchema.shape['domain'], queryParams: patchDomainQueryParamsSchema }, async ({ domain, queryParams }) => { try { - return await patchDomain({ pathParams: { domain }, queryParams, config }) + return await patchDomain({ pathParams: { domain }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'deleteDomain', @@ -7887,28 +8333,38 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { domain: deleteDomainPathParamsSchema.shape['domain'], queryParams: deleteDomainQueryParamsSchema }, async ({ domain, queryParams }) => { try { - return await deleteDomain({ pathParams: { domain }, queryParams, config }) + return await deleteDomain({ pathParams: { domain }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); - server.tool('getEdgeConfigs', 'Returns all Edge Configs.', { queryParams: getEdgeConfigsQueryParamsSchema }, async ({ queryParams }) => { - try { - return await getEdgeConfigs({ queryParams, config }) - } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + server.tool( + 'getEdgeConfigs', + 'Returns all Edge Configs.', + { queryParams: getEdgeConfigsQueryParamsSchema }, + async ({ queryParams }) => { + try { + return await getEdgeConfigs({ queryParams, config }); + } catch (error) { + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + } } - }) + ); - server.tool('createEdgeConfig', 'Creates an Edge Config.', { queryParams: createEdgeConfigQueryParamsSchema }, async ({ queryParams }) => { - try { - return await createEdgeConfig({ queryParams, config }) - } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + server.tool( + 'createEdgeConfig', + 'Creates an Edge Config.', + { queryParams: createEdgeConfigQueryParamsSchema }, + async ({ queryParams }) => { + try { + return await createEdgeConfig({ queryParams, config }); + } catch (error) { + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + } } - }) + ); server.tool( 'getEdgeConfig', @@ -7916,103 +8372,124 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { edgeConfigId: getEdgeConfigPathParamsSchema.shape['edgeConfigId'], queryParams: getEdgeConfigQueryParamsSchema }, async ({ edgeConfigId, queryParams }) => { try { - return await getEdgeConfig({ pathParams: { edgeConfigId }, queryParams, config }) + return await getEdgeConfig({ pathParams: { edgeConfigId }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'updateEdgeConfig', 'Updates an Edge Config.', - { edgeConfigId: updateEdgeConfigPathParamsSchema.shape['edgeConfigId'], queryParams: updateEdgeConfigQueryParamsSchema }, + { + edgeConfigId: updateEdgeConfigPathParamsSchema.shape['edgeConfigId'], + queryParams: updateEdgeConfigQueryParamsSchema + }, async ({ edgeConfigId, queryParams }) => { try { - return await updateEdgeConfig({ pathParams: { edgeConfigId }, queryParams, config }) + return await updateEdgeConfig({ pathParams: { edgeConfigId }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'deleteEdgeConfig', 'Delete an Edge Config by id.', - { edgeConfigId: deleteEdgeConfigPathParamsSchema.shape['edgeConfigId'], queryParams: deleteEdgeConfigQueryParamsSchema }, + { + edgeConfigId: deleteEdgeConfigPathParamsSchema.shape['edgeConfigId'], + queryParams: deleteEdgeConfigQueryParamsSchema + }, async ({ edgeConfigId, queryParams }) => { try { - return await deleteEdgeConfig({ pathParams: { edgeConfigId }, queryParams, config }) + return await deleteEdgeConfig({ pathParams: { edgeConfigId }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'getEdgeConfigItems', 'Returns all items of an Edge Config.', - { edgeConfigId: getEdgeConfigItemsPathParamsSchema.shape['edgeConfigId'], queryParams: getEdgeConfigItemsQueryParamsSchema }, + { + edgeConfigId: getEdgeConfigItemsPathParamsSchema.shape['edgeConfigId'], + queryParams: getEdgeConfigItemsQueryParamsSchema + }, async ({ edgeConfigId, queryParams }) => { try { - return await getEdgeConfigItems({ pathParams: { edgeConfigId }, queryParams, config }) + return await getEdgeConfigItems({ pathParams: { edgeConfigId }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'patchEdgeConfigItems', 'Update multiple Edge Config Items in batch.', - { edgeConfigId: patchEdgeConfigItemsPathParamsSchema.shape['edgeConfigId'], queryParams: patchEdgeConfigItemsQueryParamsSchema }, + { + edgeConfigId: patchEdgeConfigItemsPathParamsSchema.shape['edgeConfigId'], + queryParams: patchEdgeConfigItemsQueryParamsSchema + }, async ({ edgeConfigId, queryParams }) => { try { - return await patchEdgeConfigItems({ pathParams: { edgeConfigId }, queryParams, config }) + return await patchEdgeConfigItems({ pathParams: { edgeConfigId }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'getEdgeConfigSchema', 'Returns the schema of an Edge Config.', - { edgeConfigId: getEdgeConfigSchemaPathParamsSchema.shape['edgeConfigId'], queryParams: getEdgeConfigSchemaQueryParamsSchema }, + { + edgeConfigId: getEdgeConfigSchemaPathParamsSchema.shape['edgeConfigId'], + queryParams: getEdgeConfigSchemaQueryParamsSchema + }, async ({ edgeConfigId, queryParams }) => { try { - return await getEdgeConfigSchema({ pathParams: { edgeConfigId }, queryParams, config }) + return await getEdgeConfigSchema({ pathParams: { edgeConfigId }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'patchEdgeConfigSchema', "Update an Edge Config's schema.", - { edgeConfigId: patchEdgeConfigSchemaPathParamsSchema.shape['edgeConfigId'], queryParams: patchEdgeConfigSchemaQueryParamsSchema }, + { + edgeConfigId: patchEdgeConfigSchemaPathParamsSchema.shape['edgeConfigId'], + queryParams: patchEdgeConfigSchemaQueryParamsSchema + }, async ({ edgeConfigId, queryParams }) => { try { - return await patchEdgeConfigSchema({ pathParams: { edgeConfigId }, queryParams, config }) + return await patchEdgeConfigSchema({ pathParams: { edgeConfigId }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'deleteEdgeConfigSchema', 'Deletes the schema of existing Edge Config.', - { edgeConfigId: deleteEdgeConfigSchemaPathParamsSchema.shape['edgeConfigId'], queryParams: deleteEdgeConfigSchemaQueryParamsSchema }, + { + edgeConfigId: deleteEdgeConfigSchemaPathParamsSchema.shape['edgeConfigId'], + queryParams: deleteEdgeConfigSchemaQueryParamsSchema + }, async ({ edgeConfigId, queryParams }) => { try { - return await deleteEdgeConfigSchema({ pathParams: { edgeConfigId }, queryParams, config }) + return await deleteEdgeConfigSchema({ pathParams: { edgeConfigId }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'getEdgeConfigItem', @@ -8020,42 +8497,48 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { edgeConfigId: getEdgeConfigItemPathParamsSchema.shape['edgeConfigId'], edgeConfigItemKey: getEdgeConfigItemPathParamsSchema.shape['edgeConfigItemKey'], - queryParams: getEdgeConfigItemQueryParamsSchema, + queryParams: getEdgeConfigItemQueryParamsSchema }, async ({ edgeConfigId, edgeConfigItemKey, queryParams }) => { try { - return await getEdgeConfigItem({ pathParams: { edgeConfigId, edgeConfigItemKey }, queryParams, config }) + return await getEdgeConfigItem({ pathParams: { edgeConfigId, edgeConfigItemKey }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'getEdgeConfigTokens', 'Returns all tokens of an Edge Config.', - { edgeConfigId: getEdgeConfigTokensPathParamsSchema.shape['edgeConfigId'], queryParams: getEdgeConfigTokensQueryParamsSchema }, + { + edgeConfigId: getEdgeConfigTokensPathParamsSchema.shape['edgeConfigId'], + queryParams: getEdgeConfigTokensQueryParamsSchema + }, async ({ edgeConfigId, queryParams }) => { try { - return await getEdgeConfigTokens({ pathParams: { edgeConfigId }, queryParams, config }) + return await getEdgeConfigTokens({ pathParams: { edgeConfigId }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'deleteEdgeConfigTokens', 'Deletes one or more tokens of an existing Edge Config.', - { edgeConfigId: deleteEdgeConfigTokensPathParamsSchema.shape['edgeConfigId'], queryParams: deleteEdgeConfigTokensQueryParamsSchema }, + { + edgeConfigId: deleteEdgeConfigTokensPathParamsSchema.shape['edgeConfigId'], + queryParams: deleteEdgeConfigTokensQueryParamsSchema + }, async ({ edgeConfigId, queryParams }) => { try { - return await deleteEdgeConfigTokens({ pathParams: { edgeConfigId }, queryParams, config }) + return await deleteEdgeConfigTokens({ pathParams: { edgeConfigId }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'getEdgeConfigToken', @@ -8063,29 +8546,32 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { edgeConfigId: getEdgeConfigTokenPathParamsSchema.shape['edgeConfigId'], token: getEdgeConfigTokenPathParamsSchema.shape['token'], - queryParams: getEdgeConfigTokenQueryParamsSchema, + queryParams: getEdgeConfigTokenQueryParamsSchema }, async ({ edgeConfigId, token, queryParams }) => { try { - return await getEdgeConfigToken({ pathParams: { edgeConfigId, token }, queryParams, config }) + return await getEdgeConfigToken({ pathParams: { edgeConfigId, token }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'createEdgeConfigToken', 'Adds a token to an existing Edge Config.', - { edgeConfigId: createEdgeConfigTokenPathParamsSchema.shape['edgeConfigId'], queryParams: createEdgeConfigTokenQueryParamsSchema }, + { + edgeConfigId: createEdgeConfigTokenPathParamsSchema.shape['edgeConfigId'], + queryParams: createEdgeConfigTokenQueryParamsSchema + }, async ({ edgeConfigId, queryParams }) => { try { - return await createEdgeConfigToken({ pathParams: { edgeConfigId }, queryParams, config }) + return await createEdgeConfigToken({ pathParams: { edgeConfigId }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'getEdgeConfigBackup', @@ -8093,29 +8579,36 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { edgeConfigId: getEdgeConfigBackupPathParamsSchema.shape['edgeConfigId'], edgeConfigBackupVersionId: getEdgeConfigBackupPathParamsSchema.shape['edgeConfigBackupVersionId'], - queryParams: getEdgeConfigBackupQueryParamsSchema, + queryParams: getEdgeConfigBackupQueryParamsSchema }, async ({ edgeConfigId, edgeConfigBackupVersionId, queryParams }) => { try { - return await getEdgeConfigBackup({ pathParams: { edgeConfigId, edgeConfigBackupVersionId }, queryParams, config }) + return await getEdgeConfigBackup({ + pathParams: { edgeConfigId, edgeConfigBackupVersionId }, + queryParams, + config + }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'getEdgeConfigBackups', 'Returns backups of an Edge Config.', - { edgeConfigId: getEdgeConfigBackupsPathParamsSchema.shape['edgeConfigId'], queryParams: getEdgeConfigBackupsQueryParamsSchema }, + { + edgeConfigId: getEdgeConfigBackupsPathParamsSchema.shape['edgeConfigId'], + queryParams: getEdgeConfigBackupsQueryParamsSchema + }, async ({ edgeConfigId, queryParams }) => { try { - return await getEdgeConfigBackups({ pathParams: { edgeConfigId }, queryParams, config }) + return await getEdgeConfigBackups({ pathParams: { edgeConfigId }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'listUserEvents', @@ -8123,33 +8616,39 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { queryParams: listUserEventsQueryParamsSchema }, async ({ queryParams }) => { try { - return await listUserEvents({ queryParams, config }) + return await listUserEvents({ queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'gETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans', 'Make a GET request to /v1/integrations/integration/{integrationIdOrSlug}/products/{productIdOrSlug}/plans', { - integrationIdOrSlug: GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansPathParamsSchema.shape['integrationIdOrSlug'], - productIdOrSlug: GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansPathParamsSchema.shape['productIdOrSlug'], - queryParams: GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansQueryParamsSchema, + integrationIdOrSlug: + GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansPathParamsSchema.shape[ + 'integrationIdOrSlug' + ], + productIdOrSlug: + GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansPathParamsSchema.shape[ + 'productIdOrSlug' + ], + queryParams: GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansQueryParamsSchema }, async ({ integrationIdOrSlug, productIdOrSlug, queryParams }) => { try { return await gETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans({ pathParams: { integrationIdOrSlug, productIdOrSlug }, queryParams, - config, - }) + config + }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'getAccountInfo', @@ -8157,25 +8656,28 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { integrationConfigurationId: getAccountInfoPathParamsSchema.shape['integrationConfigurationId'] }, async ({ integrationConfigurationId }) => { try { - return await getAccountInfo({ pathParams: { integrationConfigurationId }, config }) + return await getAccountInfo({ pathParams: { integrationConfigurationId }, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'getMember', 'Returns the member role and other information for a given member ID ("user_id" claim in the SSO OIDC token).', - { integrationConfigurationId: getMemberPathParamsSchema.shape['integrationConfigurationId'], memberId: getMemberPathParamsSchema.shape['memberId'] }, + { + integrationConfigurationId: getMemberPathParamsSchema.shape['integrationConfigurationId'], + memberId: getMemberPathParamsSchema.shape['memberId'] + }, async ({ integrationConfigurationId, memberId }) => { try { - return await getMember({ pathParams: { integrationConfigurationId, memberId }, config }) + return await getMember({ pathParams: { integrationConfigurationId, memberId }, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'createEvent', @@ -8183,12 +8685,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { integrationConfigurationId: createEventPathParamsSchema.shape['integrationConfigurationId'] }, async ({ integrationConfigurationId }) => { try { - return await createEvent({ pathParams: { integrationConfigurationId }, config }) + return await createEvent({ pathParams: { integrationConfigurationId }, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'getIntegrationResources', @@ -8196,60 +8698,60 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { integrationConfigurationId: getIntegrationResourcesPathParamsSchema.shape['integrationConfigurationId'] }, async ({ integrationConfigurationId }) => { try { - return await getIntegrationResources({ pathParams: { integrationConfigurationId }, config }) + return await getIntegrationResources({ pathParams: { integrationConfigurationId }, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'getIntegrationResource', 'Get a resource by its partner ID.', { integrationConfigurationId: getIntegrationResourcePathParamsSchema.shape['integrationConfigurationId'], - resourceId: getIntegrationResourcePathParamsSchema.shape['resourceId'], + resourceId: getIntegrationResourcePathParamsSchema.shape['resourceId'] }, async ({ integrationConfigurationId, resourceId }) => { try { - return await getIntegrationResource({ pathParams: { integrationConfigurationId, resourceId }, config }) + return await getIntegrationResource({ pathParams: { integrationConfigurationId, resourceId }, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'deleteIntegrationResource', 'Delete a resource owned by the selected installation ID.', { integrationConfigurationId: deleteIntegrationResourcePathParamsSchema.shape['integrationConfigurationId'], - resourceId: deleteIntegrationResourcePathParamsSchema.shape['resourceId'], + resourceId: deleteIntegrationResourcePathParamsSchema.shape['resourceId'] }, async ({ integrationConfigurationId, resourceId }) => { try { - return await deleteIntegrationResource({ pathParams: { integrationConfigurationId, resourceId }, config }) + return await deleteIntegrationResource({ pathParams: { integrationConfigurationId, resourceId }, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'importResource', "This endpoint imports (upserts) a resource to Vercel's installation. This may be needed if resources can be independently created on the partner's side and need to be synchronized to Vercel.", { integrationConfigurationId: importResourcePathParamsSchema.shape['integrationConfigurationId'], - resourceId: importResourcePathParamsSchema.shape['resourceId'], + resourceId: importResourcePathParamsSchema.shape['resourceId'] }, async ({ integrationConfigurationId, resourceId }) => { try { - return await importResource({ pathParams: { integrationConfigurationId, resourceId }, config }) + return await importResource({ pathParams: { integrationConfigurationId, resourceId }, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'submitBillingData', @@ -8257,12 +8759,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { integrationConfigurationId: submitBillingDataPathParamsSchema.shape['integrationConfigurationId'] }, async ({ integrationConfigurationId }) => { try { - return await submitBillingData({ pathParams: { integrationConfigurationId }, config }) + return await submitBillingData({ pathParams: { integrationConfigurationId }, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'submitInvoice', @@ -8270,41 +8772,44 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { integrationConfigurationId: submitInvoicePathParamsSchema.shape['integrationConfigurationId'] }, async ({ integrationConfigurationId }) => { try { - return await submitInvoice({ pathParams: { integrationConfigurationId }, config }) + return await submitInvoice({ pathParams: { integrationConfigurationId }, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'getInvoice', 'Get Invoice details and status for a given invoice ID.

See Billing Events with Webhooks documentation on how to receive invoice events. This endpoint is used to retrieve the invoice details.', - { integrationConfigurationId: getInvoicePathParamsSchema.shape['integrationConfigurationId'], invoiceId: getInvoicePathParamsSchema.shape['invoiceId'] }, + { + integrationConfigurationId: getInvoicePathParamsSchema.shape['integrationConfigurationId'], + invoiceId: getInvoicePathParamsSchema.shape['invoiceId'] + }, async ({ integrationConfigurationId, invoiceId }) => { try { - return await getInvoice({ pathParams: { integrationConfigurationId, invoiceId }, config }) + return await getInvoice({ pathParams: { integrationConfigurationId, invoiceId }, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'updateInvoice', 'This endpoint allows the partner to request a refund for an invoice to Vercel. The invoice is created using the [Submit Invoice API](#submit-invoice-api).', { integrationConfigurationId: updateInvoicePathParamsSchema.shape['integrationConfigurationId'], - invoiceId: updateInvoicePathParamsSchema.shape['invoiceId'], + invoiceId: updateInvoicePathParamsSchema.shape['invoiceId'] }, async ({ integrationConfigurationId, invoiceId }) => { try { - return await updateInvoice({ pathParams: { integrationConfigurationId, invoiceId }, config }) + return await updateInvoice({ pathParams: { integrationConfigurationId, invoiceId }, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'submitPrepaymentBalances', @@ -8312,12 +8817,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { integrationConfigurationId: submitPrepaymentBalancesPathParamsSchema.shape['integrationConfigurationId'] }, async ({ integrationConfigurationId }) => { try { - return await submitPrepaymentBalances({ pathParams: { integrationConfigurationId }, config }) + return await submitPrepaymentBalances({ pathParams: { integrationConfigurationId }, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'updateResourceSecrets', @@ -8325,32 +8830,35 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { integrationConfigurationId: updateResourceSecretsPathParamsSchema.shape['integrationConfigurationId'], integrationProductIdOrSlug: updateResourceSecretsPathParamsSchema.shape['integrationProductIdOrSlug'], - resourceId: updateResourceSecretsPathParamsSchema.shape['resourceId'], + resourceId: updateResourceSecretsPathParamsSchema.shape['resourceId'] }, async ({ integrationConfigurationId, integrationProductIdOrSlug, resourceId }) => { try { - return await updateResourceSecrets({ pathParams: { integrationConfigurationId, integrationProductIdOrSlug, resourceId }, config }) + return await updateResourceSecrets({ + pathParams: { integrationConfigurationId, integrationProductIdOrSlug, resourceId }, + config + }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'updateResourceSecretsById', 'This endpoint updates the secrets of a resource. If a resource has projects connected, the connected secrets are updated with the new secrets. The old secrets may still be used by existing connected projects because they are not automatically redeployed. Redeployment is a manual action and must be completed by the user. All new project connections will use the new secrets.

Use cases for this endpoint:

- Resetting the credentials of a database in the partner. If the user requests the credentials to be updated in the partner’s application, the partner post the new set of secrets to Vercel, the user should redeploy their application and the expire the old credentials.
', { integrationConfigurationId: updateResourceSecretsByIdPathParamsSchema.shape['integrationConfigurationId'], - resourceId: updateResourceSecretsByIdPathParamsSchema.shape['resourceId'], + resourceId: updateResourceSecretsByIdPathParamsSchema.shape['resourceId'] }, async ({ integrationConfigurationId, resourceId }) => { try { - return await updateResourceSecretsById({ pathParams: { integrationConfigurationId, resourceId }, config }) + return await updateResourceSecretsById({ pathParams: { integrationConfigurationId, resourceId }, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'getConfigurations', @@ -8358,12 +8866,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { queryParams: getConfigurationsQueryParamsSchema }, async ({ queryParams }) => { try { - return await getConfigurations({ queryParams, config }) + return await getConfigurations({ queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'getConfiguration', @@ -8371,12 +8879,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { id: getConfigurationPathParamsSchema.shape['id'], queryParams: getConfigurationQueryParamsSchema }, async ({ id, queryParams }) => { try { - return await getConfiguration({ pathParams: { id }, queryParams, config }) + return await getConfiguration({ pathParams: { id }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'deleteConfiguration', @@ -8384,37 +8892,40 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { id: deleteConfigurationPathParamsSchema.shape['id'], queryParams: deleteConfigurationQueryParamsSchema }, async ({ id, queryParams }) => { try { - return await deleteConfiguration({ pathParams: { id }, queryParams, config }) + return await deleteConfiguration({ pathParams: { id }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'getConfigurationProducts', 'Lists all products available for an integration configuration. Use this endpoint to discover what integration products are available for your integration configuration. The returned product IDs or slugs can then be used with storage provisioning endpoints like `POST /v1/storage/stores/integration/direct`. ## Workflow 1. Get your integration configurations: `GET /v1/integrations/configurations` 2. **Use this endpoint**: Get products for a configuration: `GET /v1/integrations/configuration/{id}/products` 3. Create storage resource: `POST /v1/storage/stores/integration/direct` ## Response Returns an array of products with their IDs, slugs, names, supported protocols, and metadata requirements. Each product represents a different type of resource you can provision. The `metadataSchema` field contains a JSON Schema that defines: - **Required metadata**: Fields that must be provided during storage creation - **Optional metadata**: Fields that can be provided but are not mandatory - **Field validation**: Data types, allowed values, and constraints Use this schema to validate metadata before calling the storage creation endpoint.', - { id: getConfigurationProductsPathParamsSchema.shape['id'], queryParams: getConfigurationProductsQueryParamsSchema }, + { + id: getConfigurationProductsPathParamsSchema.shape['id'], + queryParams: getConfigurationProductsQueryParamsSchema + }, async ({ id, queryParams }) => { try { - return await getConfigurationProducts({ pathParams: { id }, queryParams, config }) + return await getConfigurationProducts({ pathParams: { id }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'exchangeSsoToken', 'During the autorization process, Vercel sends the user to the provider [redirectLoginUrl](https://vercel.com/docs/integrations/create-integration/submit-integration#redirect-login-url), that includes the OAuth authorization `code` parameter. The provider then calls the SSO Token Exchange endpoint with the sent code and receives the OIDC token. They log the user in based on this token and redirects the user back to the Vercel account using deep-link parameters included the redirectLoginUrl. Providers should not persist the returned `id_token` in a database since the token will expire. See [**Authentication with SSO**](https://vercel.com/docs/integrations/create-integration/marketplace-api#authentication-with-sso) for more details.', async () => { try { - return await exchangeSsoToken({ config }) + return await exchangeSsoToken({ config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'getIntegrationLogDrains', @@ -8422,12 +8933,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { queryParams: getIntegrationLogDrainsQueryParamsSchema }, async ({ queryParams }) => { try { - return await getIntegrationLogDrains({ queryParams, config }) + return await getIntegrationLogDrains({ queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'createLogDrain', @@ -8435,25 +8946,28 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { queryParams: createLogDrainQueryParamsSchema }, async ({ queryParams }) => { try { - return await createLogDrain({ queryParams, config }) + return await createLogDrain({ queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'deleteIntegrationLogDrain', 'Deletes the Integration log drain with the provided `id`. When using an OAuth2 Token, the log drain can be deleted only if the integration owns it.', - { id: deleteIntegrationLogDrainPathParamsSchema.shape['id'], queryParams: deleteIntegrationLogDrainQueryParamsSchema }, + { + id: deleteIntegrationLogDrainPathParamsSchema.shape['id'], + queryParams: deleteIntegrationLogDrainQueryParamsSchema + }, async ({ id, queryParams }) => { try { - return await deleteIntegrationLogDrain({ pathParams: { id }, queryParams, config }) + return await deleteIntegrationLogDrain({ pathParams: { id }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'getRuntimeLogs', @@ -8461,32 +8975,32 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { projectId: getRuntimeLogsPathParamsSchema.shape['projectId'], deploymentId: getRuntimeLogsPathParamsSchema.shape['deploymentId'], - queryParams: getRuntimeLogsQueryParamsSchema, + queryParams: getRuntimeLogsQueryParamsSchema }, async ({ projectId, deploymentId, queryParams }) => { try { - return await getRuntimeLogs({ pathParams: { projectId, deploymentId }, queryParams, config }) + return await getRuntimeLogs({ pathParams: { projectId, deploymentId }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'createExperimentationItem', 'Create one or multiple experimentation items', { integrationConfigurationId: createExperimentationItemPathParamsSchema.shape['integrationConfigurationId'], - resourceId: createExperimentationItemPathParamsSchema.shape['resourceId'], + resourceId: createExperimentationItemPathParamsSchema.shape['resourceId'] }, async ({ integrationConfigurationId, resourceId }) => { try { - return await createExperimentationItem({ pathParams: { integrationConfigurationId, resourceId }, config }) + return await createExperimentationItem({ pathParams: { integrationConfigurationId, resourceId }, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'updateExperimentationItem', @@ -8494,16 +9008,19 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { integrationConfigurationId: updateExperimentationItemPathParamsSchema.shape['integrationConfigurationId'], resourceId: updateExperimentationItemPathParamsSchema.shape['resourceId'], - itemId: updateExperimentationItemPathParamsSchema.shape['itemId'], + itemId: updateExperimentationItemPathParamsSchema.shape['itemId'] }, async ({ integrationConfigurationId, resourceId, itemId }) => { try { - return await updateExperimentationItem({ pathParams: { integrationConfigurationId, resourceId, itemId }, config }) + return await updateExperimentationItem({ + pathParams: { integrationConfigurationId, resourceId, itemId }, + config + }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'deleteExperimentationItem', @@ -8511,32 +9028,38 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { integrationConfigurationId: deleteExperimentationItemPathParamsSchema.shape['integrationConfigurationId'], resourceId: deleteExperimentationItemPathParamsSchema.shape['resourceId'], - itemId: deleteExperimentationItemPathParamsSchema.shape['itemId'], + itemId: deleteExperimentationItemPathParamsSchema.shape['itemId'] }, async ({ integrationConfigurationId, resourceId, itemId }) => { try { - return await deleteExperimentationItem({ pathParams: { integrationConfigurationId, resourceId, itemId }, config }) + return await deleteExperimentationItem({ + pathParams: { integrationConfigurationId, resourceId, itemId }, + config + }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'updateExperimentationEdgeConfig', 'When the user enabled Edge Config syncing, then this endpoint can be used by the partner to push their configuration data into the relevant Edge Config.', { integrationConfigurationId: updateExperimentationEdgeConfigPathParamsSchema.shape['integrationConfigurationId'], - resourceId: updateExperimentationEdgeConfigPathParamsSchema.shape['resourceId'], + resourceId: updateExperimentationEdgeConfigPathParamsSchema.shape['resourceId'] }, async ({ integrationConfigurationId, resourceId }) => { try { - return await updateExperimentationEdgeConfig({ pathParams: { integrationConfigurationId, resourceId }, config }) + return await updateExperimentationEdgeConfig({ + pathParams: { integrationConfigurationId, resourceId }, + config + }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'getProjectMembers', @@ -8544,12 +9067,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { idOrName: getProjectMembersPathParamsSchema.shape['idOrName'], queryParams: getProjectMembersQueryParamsSchema }, async ({ idOrName, queryParams }) => { try { - return await getProjectMembers({ pathParams: { idOrName }, queryParams, config }) + return await getProjectMembers({ pathParams: { idOrName }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'addProjectMember', @@ -8557,12 +9080,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { idOrName: addProjectMemberPathParamsSchema.shape['idOrName'], queryParams: addProjectMemberQueryParamsSchema }, async ({ idOrName, queryParams }) => { try { - return await addProjectMember({ pathParams: { idOrName }, queryParams, config }) + return await addProjectMember({ pathParams: { idOrName }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'removeProjectMember', @@ -8570,16 +9093,16 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { idOrName: removeProjectMemberPathParamsSchema.shape['idOrName'], uid: removeProjectMemberPathParamsSchema.shape['uid'], - queryParams: removeProjectMemberQueryParamsSchema, + queryParams: removeProjectMemberQueryParamsSchema }, async ({ idOrName, uid, queryParams }) => { try { - return await removeProjectMember({ pathParams: { idOrName, uid }, queryParams, config }) + return await removeProjectMember({ pathParams: { idOrName, uid }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'getProjects', @@ -8587,12 +9110,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { queryParams: getProjectsQueryParamsSchema }, async ({ queryParams }) => { try { - return await getProjects({ queryParams, config }) + return await getProjects({ queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'createProject', @@ -8600,12 +9123,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { queryParams: createProjectQueryParamsSchema }, async ({ queryParams }) => { try { - return await createProject({ queryParams, config }) + return await createProject({ queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'getProject', @@ -8613,12 +9136,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { idOrName: getProjectPathParamsSchema.shape['idOrName'], queryParams: getProjectQueryParamsSchema }, async ({ idOrName, queryParams }) => { try { - return await getProject({ pathParams: { idOrName }, queryParams, config }) + return await getProject({ pathParams: { idOrName }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'updateProject', @@ -8626,12 +9149,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { idOrName: updateProjectPathParamsSchema.shape['idOrName'], queryParams: updateProjectQueryParamsSchema }, async ({ idOrName, queryParams }) => { try { - return await updateProject({ pathParams: { idOrName }, queryParams, config }) + return await updateProject({ pathParams: { idOrName }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'deleteProject', @@ -8639,38 +9162,44 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { idOrName: deleteProjectPathParamsSchema.shape['idOrName'], queryParams: deleteProjectQueryParamsSchema }, async ({ idOrName, queryParams }) => { try { - return await deleteProject({ pathParams: { idOrName }, queryParams, config }) + return await deleteProject({ pathParams: { idOrName }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'createCustomEnvironment', "Creates a custom environment for the current project. Cannot be named 'Production' or 'Preview'.", - { idOrName: createCustomEnvironmentPathParamsSchema.shape['idOrName'], queryParams: createCustomEnvironmentQueryParamsSchema }, + { + idOrName: createCustomEnvironmentPathParamsSchema.shape['idOrName'], + queryParams: createCustomEnvironmentQueryParamsSchema + }, async ({ idOrName, queryParams }) => { try { - return await createCustomEnvironment({ pathParams: { idOrName }, queryParams, config }) + return await createCustomEnvironment({ pathParams: { idOrName }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'listCustomEnvironments', "Retrieve custom environments for the project. Must not be named 'Production' or 'Preview'.", - { idOrName: listCustomEnvironmentsPathParamsSchema.shape['idOrName'], queryParams: listCustomEnvironmentsQueryParamsSchema }, + { + idOrName: listCustomEnvironmentsPathParamsSchema.shape['idOrName'], + queryParams: listCustomEnvironmentsQueryParamsSchema + }, async ({ idOrName, queryParams }) => { try { - return await listCustomEnvironments({ pathParams: { idOrName }, queryParams, config }) + return await listCustomEnvironments({ pathParams: { idOrName }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'getCustomEnvironment', @@ -8678,16 +9207,16 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { idOrName: getCustomEnvironmentPathParamsSchema.shape['idOrName'], environmentSlugOrId: getCustomEnvironmentPathParamsSchema.shape['environmentSlugOrId'], - queryParams: getCustomEnvironmentQueryParamsSchema, + queryParams: getCustomEnvironmentQueryParamsSchema }, async ({ idOrName, environmentSlugOrId, queryParams }) => { try { - return await getCustomEnvironment({ pathParams: { idOrName, environmentSlugOrId }, queryParams, config }) + return await getCustomEnvironment({ pathParams: { idOrName, environmentSlugOrId }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'updateCustomEnvironment', @@ -8695,16 +9224,16 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { idOrName: updateCustomEnvironmentPathParamsSchema.shape['idOrName'], environmentSlugOrId: updateCustomEnvironmentPathParamsSchema.shape['environmentSlugOrId'], - queryParams: updateCustomEnvironmentQueryParamsSchema, + queryParams: updateCustomEnvironmentQueryParamsSchema }, async ({ idOrName, environmentSlugOrId, queryParams }) => { try { - return await updateCustomEnvironment({ pathParams: { idOrName, environmentSlugOrId }, queryParams, config }) + return await updateCustomEnvironment({ pathParams: { idOrName, environmentSlugOrId }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'removeCustomEnvironment', @@ -8712,16 +9241,16 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { idOrName: removeCustomEnvironmentPathParamsSchema.shape['idOrName'], environmentSlugOrId: removeCustomEnvironmentPathParamsSchema.shape['environmentSlugOrId'], - queryParams: removeCustomEnvironmentQueryParamsSchema, + queryParams: removeCustomEnvironmentQueryParamsSchema }, async ({ idOrName, environmentSlugOrId, queryParams }) => { try { - return await removeCustomEnvironment({ pathParams: { idOrName, environmentSlugOrId }, queryParams, config }) + return await removeCustomEnvironment({ pathParams: { idOrName, environmentSlugOrId }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'getProjectDomains', @@ -8729,12 +9258,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { idOrName: getProjectDomainsPathParamsSchema.shape['idOrName'], queryParams: getProjectDomainsQueryParamsSchema }, async ({ idOrName, queryParams }) => { try { - return await getProjectDomains({ pathParams: { idOrName }, queryParams, config }) + return await getProjectDomains({ pathParams: { idOrName }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'getProjectDomain', @@ -8742,16 +9271,16 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { idOrName: getProjectDomainPathParamsSchema.shape['idOrName'], domain: getProjectDomainPathParamsSchema.shape['domain'], - queryParams: getProjectDomainQueryParamsSchema, + queryParams: getProjectDomainQueryParamsSchema }, async ({ idOrName, domain, queryParams }) => { try { - return await getProjectDomain({ pathParams: { idOrName, domain }, queryParams, config }) + return await getProjectDomain({ pathParams: { idOrName, domain }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'updateProjectDomain', @@ -8759,16 +9288,16 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { idOrName: updateProjectDomainPathParamsSchema.shape['idOrName'], domain: updateProjectDomainPathParamsSchema.shape['domain'], - queryParams: updateProjectDomainQueryParamsSchema, + queryParams: updateProjectDomainQueryParamsSchema }, async ({ idOrName, domain, queryParams }) => { try { - return await updateProjectDomain({ pathParams: { idOrName, domain }, queryParams, config }) + return await updateProjectDomain({ pathParams: { idOrName, domain }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'removeProjectDomain', @@ -8776,16 +9305,16 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { idOrName: removeProjectDomainPathParamsSchema.shape['idOrName'], domain: removeProjectDomainPathParamsSchema.shape['domain'], - queryParams: removeProjectDomainQueryParamsSchema, + queryParams: removeProjectDomainQueryParamsSchema }, async ({ idOrName, domain, queryParams }) => { try { - return await removeProjectDomain({ pathParams: { idOrName, domain }, queryParams, config }) + return await removeProjectDomain({ pathParams: { idOrName, domain }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'addProjectDomain', @@ -8793,12 +9322,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { idOrName: addProjectDomainPathParamsSchema.shape['idOrName'], queryParams: addProjectDomainQueryParamsSchema }, async ({ idOrName, queryParams }) => { try { - return await addProjectDomain({ pathParams: { idOrName }, queryParams, config }) + return await addProjectDomain({ pathParams: { idOrName }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'moveProjectDomain', @@ -8806,16 +9335,16 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { idOrName: moveProjectDomainPathParamsSchema.shape['idOrName'], domain: moveProjectDomainPathParamsSchema.shape['domain'], - queryParams: moveProjectDomainQueryParamsSchema, + queryParams: moveProjectDomainQueryParamsSchema }, async ({ idOrName, domain, queryParams }) => { try { - return await moveProjectDomain({ pathParams: { idOrName, domain }, queryParams, config }) + return await moveProjectDomain({ pathParams: { idOrName, domain }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'verifyProjectDomain', @@ -8823,16 +9352,16 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { idOrName: verifyProjectDomainPathParamsSchema.shape['idOrName'], domain: verifyProjectDomainPathParamsSchema.shape['domain'], - queryParams: verifyProjectDomainQueryParamsSchema, + queryParams: verifyProjectDomainQueryParamsSchema }, async ({ idOrName, domain, queryParams }) => { try { - return await verifyProjectDomain({ pathParams: { idOrName, domain }, queryParams, config }) + return await verifyProjectDomain({ pathParams: { idOrName, domain }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'filterProjectEnvs', @@ -8840,12 +9369,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { idOrName: filterProjectEnvsPathParamsSchema.shape['idOrName'], queryParams: filterProjectEnvsQueryParamsSchema }, async ({ idOrName, queryParams }) => { try { - return await filterProjectEnvs({ pathParams: { idOrName }, queryParams, config }) + return await filterProjectEnvs({ pathParams: { idOrName }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'createProjectEnv', @@ -8853,25 +9382,29 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { idOrName: createProjectEnvPathParamsSchema.shape['idOrName'], queryParams: createProjectEnvQueryParamsSchema }, async ({ idOrName, queryParams }) => { try { - return await createProjectEnv({ pathParams: { idOrName }, queryParams, config }) + return await createProjectEnv({ pathParams: { idOrName }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'getProjectEnv', 'Retrieve the environment variable for a given project.', - { idOrName: getProjectEnvPathParamsSchema.shape['idOrName'], id: getProjectEnvPathParamsSchema.shape['id'], queryParams: getProjectEnvQueryParamsSchema }, + { + idOrName: getProjectEnvPathParamsSchema.shape['idOrName'], + id: getProjectEnvPathParamsSchema.shape['id'], + queryParams: getProjectEnvQueryParamsSchema + }, async ({ idOrName, id, queryParams }) => { try { - return await getProjectEnv({ pathParams: { idOrName, id }, queryParams, config }) + return await getProjectEnv({ pathParams: { idOrName, id }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'removeProjectEnv', @@ -8879,16 +9412,16 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { idOrName: removeProjectEnvPathParamsSchema.shape['idOrName'], id: removeProjectEnvPathParamsSchema.shape['id'], - queryParams: removeProjectEnvQueryParamsSchema, + queryParams: removeProjectEnvQueryParamsSchema }, async ({ idOrName, id, queryParams }) => { try { - return await removeProjectEnv({ pathParams: { idOrName, id }, queryParams, config }) + return await removeProjectEnv({ pathParams: { idOrName, id }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'editProjectEnv', @@ -8896,68 +9429,80 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { idOrName: editProjectEnvPathParamsSchema.shape['idOrName'], id: editProjectEnvPathParamsSchema.shape['id'], - queryParams: editProjectEnvQueryParamsSchema, + queryParams: editProjectEnvQueryParamsSchema }, async ({ idOrName, id, queryParams }) => { try { - return await editProjectEnv({ pathParams: { idOrName, id }, queryParams, config }) + return await editProjectEnv({ pathParams: { idOrName, id }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'getRollingReleaseBillingStatus', 'Get the Rolling Releases billing status for a project. The team level billing status is used to determine if the project can be configured for rolling releases.', - { idOrName: getRollingReleaseBillingStatusPathParamsSchema.shape['idOrName'], queryParams: getRollingReleaseBillingStatusQueryParamsSchema }, + { + idOrName: getRollingReleaseBillingStatusPathParamsSchema.shape['idOrName'], + queryParams: getRollingReleaseBillingStatusQueryParamsSchema + }, async ({ idOrName, queryParams }) => { try { - return await getRollingReleaseBillingStatus({ pathParams: { idOrName }, queryParams, config }) + return await getRollingReleaseBillingStatus({ pathParams: { idOrName }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'getRollingReleaseConfig', 'Get the Rolling Releases configuration for a project. The project-level config is simply a template that will be used for any future rolling release, and not the configuration for any active rolling release.', - { idOrName: getRollingReleaseConfigPathParamsSchema.shape['idOrName'], queryParams: getRollingReleaseConfigQueryParamsSchema }, + { + idOrName: getRollingReleaseConfigPathParamsSchema.shape['idOrName'], + queryParams: getRollingReleaseConfigQueryParamsSchema + }, async ({ idOrName, queryParams }) => { try { - return await getRollingReleaseConfig({ pathParams: { idOrName }, queryParams, config }) + return await getRollingReleaseConfig({ pathParams: { idOrName }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'deleteRollingReleaseConfig', "Disable Rolling Releases for a project means that future deployments will not undergo a rolling release. Changing the config never alters a rollout that's already in-flight—it only affects the next production deployment. If you want to also stop the current rollout, call this endpoint to disable the feature, and then call either the /complete or /abort endpoint.", - { idOrName: deleteRollingReleaseConfigPathParamsSchema.shape['idOrName'], queryParams: deleteRollingReleaseConfigQueryParamsSchema }, + { + idOrName: deleteRollingReleaseConfigPathParamsSchema.shape['idOrName'], + queryParams: deleteRollingReleaseConfigQueryParamsSchema + }, async ({ idOrName, queryParams }) => { try { - return await deleteRollingReleaseConfig({ pathParams: { idOrName }, queryParams, config }) + return await deleteRollingReleaseConfig({ pathParams: { idOrName }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'updateRollingReleaseConfig', "Update (or disable) Rolling Releases for a project. Changing the config never alters a rollout that's already in-flight. It only affects the next production deployment. This also applies to disabling Rolling Releases. If you want to also stop the current rollout, call this endpoint to disable the feature, and then call either the /complete or /abort endpoint. Note: Enabling Rolling Releases automatically enables skew protection on the project with the default value if it wasn't configured already.", - { idOrName: updateRollingReleaseConfigPathParamsSchema.shape['idOrName'], queryParams: updateRollingReleaseConfigQueryParamsSchema }, + { + idOrName: updateRollingReleaseConfigPathParamsSchema.shape['idOrName'], + queryParams: updateRollingReleaseConfigQueryParamsSchema + }, async ({ idOrName, queryParams }) => { try { - return await updateRollingReleaseConfig({ pathParams: { idOrName }, queryParams, config }) + return await updateRollingReleaseConfig({ pathParams: { idOrName }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'getRollingRelease', @@ -8965,77 +9510,92 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { idOrName: getRollingReleasePathParamsSchema.shape['idOrName'], queryParams: getRollingReleaseQueryParamsSchema }, async ({ idOrName, queryParams }) => { try { - return await getRollingRelease({ pathParams: { idOrName }, queryParams, config }) + return await getRollingRelease({ pathParams: { idOrName }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'approveRollingReleaseStage', 'Advance a rollout to the next stage. This is only needed when rolling releases is configured to require manual approval.', - { idOrName: approveRollingReleaseStagePathParamsSchema.shape['idOrName'], queryParams: approveRollingReleaseStageQueryParamsSchema }, + { + idOrName: approveRollingReleaseStagePathParamsSchema.shape['idOrName'], + queryParams: approveRollingReleaseStageQueryParamsSchema + }, async ({ idOrName, queryParams }) => { try { - return await approveRollingReleaseStage({ pathParams: { idOrName }, queryParams, config }) + return await approveRollingReleaseStage({ pathParams: { idOrName }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'completeRollingRelease', 'Force-complete a Rolling Release. The canary deployment will begin serving 100% of the traffic.', - { idOrName: completeRollingReleasePathParamsSchema.shape['idOrName'], queryParams: completeRollingReleaseQueryParamsSchema }, + { + idOrName: completeRollingReleasePathParamsSchema.shape['idOrName'], + queryParams: completeRollingReleaseQueryParamsSchema + }, async ({ idOrName, queryParams }) => { try { - return await completeRollingRelease({ pathParams: { idOrName }, queryParams, config }) + return await completeRollingRelease({ pathParams: { idOrName }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'createProjectTransferRequest', 'Initiates a project transfer request from one team to another.
Returns a `code` that remains valid for 24 hours and can be used to accept the transfer request by another team using the `PUT /projects/transfer-request/:code` endpoint.
Users can also accept the project transfer request using the claim URL: `https://vercel.com/claim-deployment?code=&returnUrl=`.
The `code` parameter specifies the project transfer request code generated using this endpoint.
The `returnUrl` parameter redirects users to a specific page of the application if the claim URL is invalid or expired.', - { idOrName: createProjectTransferRequestPathParamsSchema.shape['idOrName'], queryParams: createProjectTransferRequestQueryParamsSchema }, + { + idOrName: createProjectTransferRequestPathParamsSchema.shape['idOrName'], + queryParams: createProjectTransferRequestQueryParamsSchema + }, async ({ idOrName, queryParams }) => { try { - return await createProjectTransferRequest({ pathParams: { idOrName }, queryParams, config }) + return await createProjectTransferRequest({ pathParams: { idOrName }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'acceptProjectTransferRequest', 'Accept a project transfer request initated by another team.
The `code` is generated using the `POST /projects/:idOrName/transfer-request` endpoint.', - { code: acceptProjectTransferRequestPathParamsSchema.shape['code'], queryParams: acceptProjectTransferRequestQueryParamsSchema }, + { + code: acceptProjectTransferRequestPathParamsSchema.shape['code'], + queryParams: acceptProjectTransferRequestQueryParamsSchema + }, async ({ code, queryParams }) => { try { - return await acceptProjectTransferRequest({ pathParams: { code }, queryParams, config }) + return await acceptProjectTransferRequest({ pathParams: { code }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'updateProjectProtectionBypass', 'Update the deployment protection automation bypass for a project', - { idOrName: updateProjectProtectionBypassPathParamsSchema.shape['idOrName'], queryParams: updateProjectProtectionBypassQueryParamsSchema }, + { + idOrName: updateProjectProtectionBypassPathParamsSchema.shape['idOrName'], + queryParams: updateProjectProtectionBypassQueryParamsSchema + }, async ({ idOrName, queryParams }) => { try { - return await updateProjectProtectionBypass({ pathParams: { idOrName }, queryParams, config }) + return await updateProjectProtectionBypass({ pathParams: { idOrName }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'requestPromote', @@ -9043,29 +9603,32 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { projectId: requestPromotePathParamsSchema.shape['projectId'], deploymentId: requestPromotePathParamsSchema.shape['deploymentId'], - queryParams: requestPromoteQueryParamsSchema, + queryParams: requestPromoteQueryParamsSchema }, async ({ projectId, deploymentId, queryParams }) => { try { - return await requestPromote({ pathParams: { projectId, deploymentId }, queryParams, config }) + return await requestPromote({ pathParams: { projectId, deploymentId }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'listPromoteAliases', 'Get a list of aliases related to the last promote request with their mapping status', - { projectId: listPromoteAliasesPathParamsSchema.shape['projectId'], queryParams: listPromoteAliasesQueryParamsSchema }, + { + projectId: listPromoteAliasesPathParamsSchema.shape['projectId'], + queryParams: listPromoteAliasesQueryParamsSchema + }, async ({ projectId, queryParams }) => { try { - return await listPromoteAliases({ pathParams: { projectId }, queryParams, config }) + return await listPromoteAliases({ pathParams: { projectId }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'pauseProject', @@ -9073,12 +9636,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { projectId: pauseProjectPathParamsSchema.shape['projectId'], queryParams: pauseProjectQueryParamsSchema }, async ({ projectId, queryParams }) => { try { - return await pauseProject({ pathParams: { projectId }, queryParams, config }) + return await pauseProject({ pathParams: { projectId }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'unpauseProject', @@ -9086,12 +9649,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { projectId: unpauseProjectPathParamsSchema.shape['projectId'], queryParams: unpauseProjectQueryParamsSchema }, async ({ projectId, queryParams }) => { try { - return await unpauseProject({ pathParams: { projectId }, queryParams, config }) + return await unpauseProject({ pathParams: { projectId }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'updateAttackChallengeMode', @@ -9099,12 +9662,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { queryParams: updateAttackChallengeModeQueryParamsSchema }, async ({ queryParams }) => { try { - return await updateAttackChallengeMode({ queryParams, config }) + return await updateAttackChallengeMode({ queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'putFirewallConfig', @@ -9112,12 +9675,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { queryParams: putFirewallConfigQueryParamsSchema }, async ({ queryParams }) => { try { - return await putFirewallConfig({ queryParams, config }) + return await putFirewallConfig({ queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'updateFirewallConfig', @@ -9125,25 +9688,28 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { queryParams: updateFirewallConfigQueryParamsSchema }, async ({ queryParams }) => { try { - return await updateFirewallConfig({ queryParams, config }) + return await updateFirewallConfig({ queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'getFirewallConfig', 'Retrieve the specified firewall configuration for a project. The deployed configVersion will be `active`', - { configVersion: getFirewallConfigPathParamsSchema.shape['configVersion'], queryParams: getFirewallConfigQueryParamsSchema }, + { + configVersion: getFirewallConfigPathParamsSchema.shape['configVersion'], + queryParams: getFirewallConfigQueryParamsSchema + }, async ({ configVersion, queryParams }) => { try { - return await getFirewallConfig({ pathParams: { configVersion }, queryParams, config }) + return await getFirewallConfig({ pathParams: { configVersion }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'getActiveAttackStatus', @@ -9151,12 +9717,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { queryParams: getActiveAttackStatusQueryParamsSchema }, async ({ queryParams }) => { try { - return await getActiveAttackStatus({ queryParams, config }) + return await getActiveAttackStatus({ queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'getBypassIp', @@ -9164,28 +9730,38 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { queryParams: getBypassIpQueryParamsSchema }, async ({ queryParams }) => { try { - return await getBypassIp({ queryParams, config }) + return await getBypassIp({ queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); - server.tool('addBypassIp', 'Create new system bypass rules', { queryParams: addBypassIpQueryParamsSchema }, async ({ queryParams }) => { - try { - return await addBypassIp({ queryParams, config }) - } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + server.tool( + 'addBypassIp', + 'Create new system bypass rules', + { queryParams: addBypassIpQueryParamsSchema }, + async ({ queryParams }) => { + try { + return await addBypassIp({ queryParams, config }); + } catch (error) { + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + } } - }) + ); - server.tool('removeBypassIp', 'Remove system bypass rules', { queryParams: removeBypassIpQueryParamsSchema }, async ({ queryParams }) => { - try { - return await removeBypassIp({ queryParams, config }) - } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + server.tool( + 'removeBypassIp', + 'Remove system bypass rules', + { queryParams: removeBypassIpQueryParamsSchema }, + async ({ queryParams }) => { + try { + return await removeBypassIp({ queryParams, config }); + } catch (error) { + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + } } - }) + ); server.tool( 'getTeamMembers', @@ -9193,12 +9769,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { teamId: getTeamMembersPathParamsSchema.shape['teamId'], queryParams: getTeamMembersQueryParamsSchema }, async ({ teamId, queryParams }) => { try { - return await getTeamMembers({ pathParams: { teamId }, queryParams, config }) + return await getTeamMembers({ pathParams: { teamId }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'inviteUserToTeam', @@ -9206,12 +9782,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { teamId: inviteUserToTeamPathParamsSchema.shape['teamId'] }, async ({ teamId }) => { try { - return await inviteUserToTeam({ pathParams: { teamId }, config }) + return await inviteUserToTeam({ pathParams: { teamId }, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'requestAccessToTeam', @@ -9219,33 +9795,41 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { teamId: requestAccessToTeamPathParamsSchema.shape['teamId'] }, async ({ teamId }) => { try { - return await requestAccessToTeam({ pathParams: { teamId }, config }) + return await requestAccessToTeam({ pathParams: { teamId }, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'getTeamAccessRequest', "Check the status of a join request. It'll respond with a 404 if the request has been declined. If no `userId` path segment was provided, this endpoint will instead return the status of the authenticated user.", - { userId: getTeamAccessRequestPathParamsSchema.shape['userId'], teamId: getTeamAccessRequestPathParamsSchema.shape['teamId'] }, + { + userId: getTeamAccessRequestPathParamsSchema.shape['userId'], + teamId: getTeamAccessRequestPathParamsSchema.shape['teamId'] + }, async ({ userId, teamId }) => { try { - return await getTeamAccessRequest({ pathParams: { userId, teamId }, config }) + return await getTeamAccessRequest({ pathParams: { userId, teamId }, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); - server.tool('joinTeam', 'Join a team with a provided invite code or team ID.', { teamId: joinTeamPathParamsSchema.shape['teamId'] }, async ({ teamId }) => { - try { - return await joinTeam({ pathParams: { teamId }, config }) - } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + server.tool( + 'joinTeam', + 'Join a team with a provided invite code or team ID.', + { teamId: joinTeamPathParamsSchema.shape['teamId'] }, + async ({ teamId }) => { + try { + return await joinTeam({ pathParams: { teamId }, config }); + } catch (error) { + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + } } - }) + ); server.tool( 'updateTeamMember', @@ -9253,12 +9837,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { uid: updateTeamMemberPathParamsSchema.shape['uid'], teamId: updateTeamMemberPathParamsSchema.shape['teamId'] }, async ({ uid, teamId }) => { try { - return await updateTeamMember({ pathParams: { uid, teamId }, config }) + return await updateTeamMember({ pathParams: { uid, teamId }, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'removeTeamMember', @@ -9266,16 +9850,16 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { uid: removeTeamMemberPathParamsSchema.shape['uid'], teamId: removeTeamMemberPathParamsSchema.shape['teamId'], - queryParams: removeTeamMemberQueryParamsSchema, + queryParams: removeTeamMemberQueryParamsSchema }, async ({ uid, teamId, queryParams }) => { try { - return await removeTeamMember({ pathParams: { uid, teamId }, queryParams, config }) + return await removeTeamMember({ pathParams: { uid, teamId }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'getTeam', @@ -9283,12 +9867,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { teamId: getTeamPathParamsSchema.shape['teamId'], queryParams: getTeamQueryParamsSchema }, async ({ teamId, queryParams }) => { try { - return await getTeam({ pathParams: { teamId }, queryParams, config }) + return await getTeam({ pathParams: { teamId }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'patchTeam', @@ -9296,12 +9880,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { teamId: patchTeamPathParamsSchema.shape['teamId'], queryParams: patchTeamQueryParamsSchema }, async ({ teamId, queryParams }) => { try { - return await patchTeam({ pathParams: { teamId }, queryParams, config }) + return await patchTeam({ pathParams: { teamId }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'getTeams', @@ -9309,24 +9893,24 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { queryParams: getTeamsQueryParamsSchema }, async ({ queryParams }) => { try { - return await getTeams({ queryParams, config }) + return await getTeams({ queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'createTeam', 'Create a new Team under your account. You need to send a POST request with the desired Team slug, and optionally the Team name.', async () => { try { - return await createTeam({ config }) + return await createTeam({ config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'deleteTeam', @@ -9334,25 +9918,28 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { teamId: deleteTeamPathParamsSchema.shape['teamId'], queryParams: deleteTeamQueryParamsSchema }, async ({ teamId, queryParams }) => { try { - return await deleteTeam({ pathParams: { teamId }, queryParams, config }) + return await deleteTeam({ pathParams: { teamId }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'deleteTeamInviteCode', 'Delete an active Team invite code.', - { inviteId: deleteTeamInviteCodePathParamsSchema.shape['inviteId'], teamId: deleteTeamInviteCodePathParamsSchema.shape['teamId'] }, + { + inviteId: deleteTeamInviteCodePathParamsSchema.shape['inviteId'], + teamId: deleteTeamInviteCodePathParamsSchema.shape['teamId'] + }, async ({ inviteId, teamId }) => { try { - return await deleteTeamInviteCode({ pathParams: { inviteId, teamId }, config }) + return await deleteTeamInviteCode({ pathParams: { inviteId, teamId }, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'uploadFile', @@ -9360,20 +9947,20 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { queryParams: uploadFileQueryParamsSchema, headers: uploadFileHeaderParamsSchema }, async ({ queryParams, headers }) => { try { - return await uploadFile({ queryParams, headers, config }) + return await uploadFile({ queryParams, headers, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool('listAuthTokens', "Retrieve a list of the current User's authentication tokens.", async () => { try { - return await listAuthTokens({ config }) + return await listAuthTokens({ config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }) + }); server.tool( 'createAuthToken', @@ -9381,12 +9968,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { queryParams: createAuthTokenQueryParamsSchema }, async ({ queryParams }) => { try { - return await createAuthToken({ queryParams, config }) + return await createAuthToken({ queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'getAuthToken', @@ -9394,12 +9981,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { tokenId: getAuthTokenPathParamsSchema.shape['tokenId'] }, async ({ tokenId }) => { try { - return await getAuthToken({ pathParams: { tokenId }, config }) + return await getAuthToken({ pathParams: { tokenId }, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'deleteAuthToken', @@ -9407,48 +9994,58 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { tokenId: deleteAuthTokenPathParamsSchema.shape['tokenId'] }, async ({ tokenId }) => { try { - return await deleteAuthToken({ pathParams: { tokenId }, config }) + return await deleteAuthToken({ pathParams: { tokenId }, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool('getAuthUser', 'Retrieves information related to the currently authenticated User.', async () => { try { - return await getAuthUser({ config }) + return await getAuthUser({ config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }) + }); server.tool( 'requestDelete', 'Initiates the deletion process for the currently authenticated User, by sending a deletion confirmation email. The email contains a link that the user needs to visit in order to proceed with the deletion process.', async () => { try { - return await requestDelete({ config }) + return await requestDelete({ config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); - server.tool('createWebhook', 'Creates a webhook', { queryParams: createWebhookQueryParamsSchema }, async ({ queryParams }) => { - try { - return await createWebhook({ queryParams, config }) - } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + server.tool( + 'createWebhook', + 'Creates a webhook', + { queryParams: createWebhookQueryParamsSchema }, + async ({ queryParams }) => { + try { + return await createWebhook({ queryParams, config }); + } catch (error) { + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + } } - }) + ); - server.tool('getWebhooks', 'Get a list of webhooks', { queryParams: getWebhooksQueryParamsSchema }, async ({ queryParams }) => { - try { - return await getWebhooks({ queryParams, config }) - } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + server.tool( + 'getWebhooks', + 'Get a list of webhooks', + { queryParams: getWebhooksQueryParamsSchema }, + async ({ queryParams }) => { + try { + return await getWebhooks({ queryParams, config }); + } catch (error) { + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; + } } - }) + ); server.tool( 'getWebhook', @@ -9456,12 +10053,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { id: getWebhookPathParamsSchema.shape['id'], queryParams: getWebhookQueryParamsSchema }, async ({ id, queryParams }) => { try { - return await getWebhook({ pathParams: { id }, queryParams, config }) + return await getWebhook({ pathParams: { id }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'deleteWebhook', @@ -9469,12 +10066,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { id: deleteWebhookPathParamsSchema.shape['id'], queryParams: deleteWebhookQueryParamsSchema }, async ({ id, queryParams }) => { try { - return await deleteWebhook({ pathParams: { id }, queryParams, config }) + return await deleteWebhook({ pathParams: { id }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'listDeploymentAliases', @@ -9482,12 +10079,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { id: listDeploymentAliasesPathParamsSchema.shape['id'], queryParams: listDeploymentAliasesQueryParamsSchema }, async ({ id, queryParams }) => { try { - return await listDeploymentAliases({ pathParams: { id }, queryParams, config }) + return await listDeploymentAliases({ pathParams: { id }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'assignAlias', @@ -9495,12 +10092,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { id: assignAliasPathParamsSchema.shape['id'], queryParams: assignAliasQueryParamsSchema }, async ({ id, queryParams }) => { try { - return await assignAlias({ pathParams: { id }, queryParams, config }) + return await assignAlias({ pathParams: { id }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'listAliases', @@ -9508,12 +10105,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { queryParams: listAliasesQueryParamsSchema }, async ({ queryParams }) => { try { - return await listAliases({ queryParams, config }) + return await listAliases({ queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'getAlias', @@ -9521,12 +10118,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { idOrAlias: getAliasPathParamsSchema.shape['idOrAlias'], queryParams: getAliasQueryParamsSchema }, async ({ idOrAlias, queryParams }) => { try { - return await getAlias({ pathParams: { idOrAlias }, queryParams, config }) + return await getAlias({ pathParams: { idOrAlias }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'deleteAlias', @@ -9534,33 +10131,36 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { aliasId: deleteAliasPathParamsSchema.shape['aliasId'], queryParams: deleteAliasQueryParamsSchema }, async ({ aliasId, queryParams }) => { try { - return await deleteAlias({ pathParams: { aliasId }, queryParams, config }) + return await deleteAlias({ pathParams: { aliasId }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'patchUrlProtectionBypass', 'Update the protection bypass for the alias or deployment URL (used for user access & comment access for deployments). Used as shareable links and user scoped access for Vercel Authentication and also to allow external (logged in) people to comment on previews for Preview Comments (next-live-mode).', - { id: patchUrlProtectionBypassPathParamsSchema.shape['id'], queryParams: patchUrlProtectionBypassQueryParamsSchema }, + { + id: patchUrlProtectionBypassPathParamsSchema.shape['id'], + queryParams: patchUrlProtectionBypassQueryParamsSchema + }, async ({ id, queryParams }) => { try { - return await patchUrlProtectionBypass({ pathParams: { id }, queryParams, config }) + return await patchUrlProtectionBypass({ pathParams: { id }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool('listCerts', 'Make a GET request to /certs', async () => { try { - return await listCerts({ config }) + return await listCerts({ config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }) + }); server.tool( 'getCertById', @@ -9568,12 +10168,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { id: getCertByIdPathParamsSchema.shape['id'], queryParams: getCertByIdQueryParamsSchema }, async ({ id, queryParams }) => { try { - return await getCertById({ pathParams: { id }, queryParams, config }) + return await getCertById({ pathParams: { id }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'removeCert', @@ -9581,28 +10181,28 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { id: removeCertPathParamsSchema.shape['id'], queryParams: removeCertQueryParamsSchema }, async ({ id, queryParams }) => { try { - return await removeCert({ pathParams: { id }, queryParams, config }) + return await removeCert({ pathParams: { id }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool('issueCert', 'Issue a new cert', { queryParams: issueCertQueryParamsSchema }, async ({ queryParams }) => { try { - return await issueCert({ queryParams, config }) + return await issueCert({ queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }) + }); server.tool('uploadCert', 'Upload a cert', { queryParams: uploadCertQueryParamsSchema }, async ({ queryParams }) => { try { - return await uploadCert({ queryParams, config }) + return await uploadCert({ queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }) + }); server.tool( 'listDeploymentFiles', @@ -9610,12 +10210,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { id: listDeploymentFilesPathParamsSchema.shape['id'], queryParams: listDeploymentFilesQueryParamsSchema }, async ({ id, queryParams }) => { try { - return await listDeploymentFiles({ pathParams: { id }, queryParams, config }) + return await listDeploymentFiles({ pathParams: { id }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'getDeploymentFileContents', @@ -9623,16 +10223,16 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { id: getDeploymentFileContentsPathParamsSchema.shape['id'], fileId: getDeploymentFileContentsPathParamsSchema.shape['fileId'], - queryParams: getDeploymentFileContentsQueryParamsSchema, + queryParams: getDeploymentFileContentsQueryParamsSchema }, async ({ id, fileId, queryParams }) => { try { - return await getDeploymentFileContents({ pathParams: { id, fileId }, queryParams, config }) + return await getDeploymentFileContents({ pathParams: { id, fileId }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'getDeployments', @@ -9640,12 +10240,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { queryParams: getDeploymentsQueryParamsSchema }, async ({ queryParams }) => { try { - return await getDeployments({ queryParams, config }) + return await getDeployments({ queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'deleteDeployment', @@ -9653,12 +10253,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { id: deleteDeploymentPathParamsSchema.shape['id'], queryParams: deleteDeploymentQueryParamsSchema }, async ({ id, queryParams }) => { try { - return await deleteDeployment({ pathParams: { id }, queryParams, config }) + return await deleteDeployment({ pathParams: { id }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'getSecrets', @@ -9666,12 +10266,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { queryParams: getSecretsQueryParamsSchema }, async ({ queryParams }) => { try { - return await getSecrets({ queryParams, config }) + return await getSecrets({ queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'createSecret', @@ -9679,12 +10279,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { name: createSecretPathParamsSchema.shape['name'], queryParams: createSecretQueryParamsSchema }, async ({ name, queryParams }) => { try { - return await createSecret({ pathParams: { name }, queryParams, config }) + return await createSecret({ pathParams: { name }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'renameSecret', @@ -9692,12 +10292,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { name: renameSecretPathParamsSchema.shape['name'], queryParams: renameSecretQueryParamsSchema }, async ({ name, queryParams }) => { try { - return await renameSecret({ pathParams: { name }, queryParams, config }) + return await renameSecret({ pathParams: { name }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'getSecret', @@ -9705,12 +10305,12 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { idOrName: getSecretPathParamsSchema.shape['idOrName'], queryParams: getSecretQueryParamsSchema }, async ({ idOrName, queryParams }) => { try { - return await getSecret({ pathParams: { idOrName }, queryParams, config }) + return await getSecret({ pathParams: { idOrName }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) + } + ); server.tool( 'deleteSecret', @@ -9718,10 +10318,10 @@ export function initMcpTools(serverLike: Server, config: FetcherConfig) { idOrName: deleteSecretPathParamsSchema.shape['idOrName'], queryParams: deleteSecretQueryParamsSchema }, async ({ idOrName, queryParams }) => { try { - return await deleteSecret({ pathParams: { idOrName }, queryParams, config }) + return await deleteSecret({ pathParams: { idOrName }, queryParams, config }); } catch (error) { - return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] } + return { isError: true, content: [{ type: 'text', text: JSON.stringify(error) }] }; } - }, - ) -} \ No newline at end of file + } + ); +} diff --git a/packages/vercel-api-js/src/generated/schemas.ts b/packages/vercel-api-js/src/generated/schemas.ts index f9efc12cd..84bc2f7cc 100644 --- a/packages/vercel-api-js/src/generated/schemas.ts +++ b/packages/vercel-api-js/src/generated/schemas.ts @@ -3,16 +3,18 @@ * Do not edit manually. */ -import { z } from 'zod' +import { z } from 'zod'; /** * @description Enum containing the actions that can be performed against a resource. Group operations are included. */ export const aCLActionSchema = z .enum(['create', 'delete', 'list', 'read', 'update']) - .describe('Enum containing the actions that can be performed against a resource. Group operations are included.') + .describe('Enum containing the actions that can be performed against a resource. Group operations are included.'); -export const flagJSONValueSchema = z.union([z.boolean(), z.array(z.unknown()), z.string(), z.number(), z.object({}).catchall(z.unknown())]).nullable() +export const flagJSONValueSchema = z + .union([z.boolean(), z.array(z.unknown()), z.string(), z.number(), z.object({}).catchall(z.unknown())]) + .nullable(); /** * @description This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. @@ -21,13 +23,15 @@ export const paginationSchema = z .object({ count: z.number().describe('Amount of items in the current page.'), next: z.number().describe('Timestamp that must be used to request the next page.').nullable(), - prev: z.number().describe('Timestamp that must be used to request the previous page.').nullable(), + prev: z.number().describe('Timestamp that must be used to request the previous page.').nullable() }) .describe( - 'This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data.', - ) + 'This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data.' + ); -export const edgeConfigItemValueSchema = z.union([z.boolean(), z.array(z.unknown()), z.string(), z.number(), z.object({}).catchall(z.unknown())]).nullable() +export const edgeConfigItemValueSchema = z + .union([z.boolean(), z.array(z.unknown()), z.string(), z.number(), z.object({}).catchall(z.unknown())]) + .nullable(); /** * @description The EdgeConfig. @@ -39,9 +43,9 @@ export const edgeConfigItemSchema = z description: z.string().optional(), edgeConfigId: z.string(), createdAt: z.number(), - updatedAt: z.number(), + updatedAt: z.number() }) - .describe('The EdgeConfig.') + .describe('The EdgeConfig.'); /** * @description The EdgeConfig. @@ -52,9 +56,9 @@ export const edgeConfigTokenSchema = z label: z.string(), id: z.string().describe('This is not the token itself, but rather an id to identify the token by'), edgeConfigId: z.string(), - createdAt: z.number(), + createdAt: z.number() }) - .describe('The EdgeConfig.') + .describe('The EdgeConfig.'); /** * @description Array of events generated by the User. @@ -89,15 +93,19 @@ export const userEventSchema = z 'scaling_rules', 'store', 'system', - 'target', + 'target' ]) .describe('The type of entity.'), start: z.number().describe('The index of where the entity begins within the `text` (inclusive).'), - end: z.number().describe('The index of where the entity ends within the `text` (non-inclusive).'), + end: z.number().describe('The index of where the entity ends within the `text` (non-inclusive).') }) - .describe('A list of "entities" within the event `text`. Useful for enhancing the displayed text with additional styling and links.'), + .describe( + 'A list of "entities" within the event `text`. Useful for enhancing the displayed text with additional styling and links.' + ) ) - .describe('A list of "entities" within the event `text`. Useful for enhancing the displayed text with additional styling and links.'), + .describe( + 'A list of "entities" within the event `text`. Useful for enhancing the displayed text with additional styling and links.' + ), createdAt: z.number().describe('Timestamp (in milliseconds) of when the event was generated.'), user: z .object({ @@ -105,7 +113,7 @@ export const userEventSchema = z avatar: z.string(), email: z.string(), slug: z.string().optional(), - uid: z.string(), + uid: z.string() }) .describe('Metadata for {@link userId}.') .optional(), @@ -117,13 +125,13 @@ export const userEventSchema = z email: z.string(), slug: z.string().optional(), uid: z.string(), - username: z.string(), + username: z.string() }), z.object({ type: z.enum(['app']), clientId: z.string(), - name: z.string(), - }), + name: z.string() + }) ]) .optional(), via: z @@ -135,27 +143,29 @@ export const userEventSchema = z email: z.string(), slug: z.string().optional(), uid: z.string(), - username: z.string(), + username: z.string() }), z.object({ type: z.enum(['app']), clientId: z.string(), - name: z.string(), - }), - ]), + name: z.string() + }) + ]) ) .describe('Metadata for {@link viaIds}.') .optional(), - userId: z.string().describe('When the principal who generated the event is a user, this is their ID; otherwise, it is empty.'), + userId: z + .string() + .describe('When the principal who generated the event is a user, this is their ID; otherwise, it is empty.'), principalId: z .string() .describe( - 'The ID of the principal who generated the event. The principal is typically a user, but it could also be an app, an integration, etc. The principal may have delegated its authority to an acting party, and so {@link viaIds} should be checked as well.', + 'The ID of the principal who generated the event. The principal is typically a user, but it could also be an app, an integration, etc. The principal may have delegated its authority to an acting party, and so {@link viaIds} should be checked as well.' ), viaIds: z .array(z.string()) .describe( - 'If the principal delegated its authority (for example, a user delegating to an app), then this array contains the ID of the current actor. For example, if `principalId` is "user123" and `viaIds` is `["app456"]`, we can say the event was triggered by - "app456 on behalf of user123", or - "user123 via app4556". Both are equivalent. Arbitrarily long chains of delegation can be represented. For example, if `principalId` is "user123" and `viaIds` is `["service1", "service2"]`, we can say the event was triggered by "user123 via service1 via service2".', + 'If the principal delegated its authority (for example, a user delegating to an app), then this array contains the ID of the current actor. For example, if `principalId` is "user123" and `viaIds` is `["app456"]`, we can say the event was triggered by - "app456 on behalf of user123", or - "user123 via app4556". Both are equivalent. Arbitrarily long chains of delegation can be represented. For example, if `principalId` is "user123" and `viaIds` is `["service1", "service2"]`, we can say the event was triggered by "user123 via service1 via service2".' ) .optional(), payload: z @@ -165,43 +175,43 @@ export const userEventSchema = z action: z.enum(['created', 'updated', 'deleted', 'archived', 'unarchived']), id: z.string(), slug: z.string(), - projectId: z.string(), + projectId: z.string() }), z.object({ accessGroup: z.object({ id: z.string(), - name: z.string(), - }), + name: z.string() + }) }), z.object({ author: z.string(), accessGroup: z.object({ id: z.string(), - name: z.string(), - }), + name: z.string() + }) }), z.object({ accessGroup: z.object({ id: z.string(), - name: z.string().optional(), + name: z.string().optional() }), user: z.object({ id: z.string(), - username: z.string().optional(), + username: z.string().optional() }), - directoryType: z.string().optional(), + directoryType: z.string().optional() }), z.object({ accessGroup: z.object({ id: z.string(), - name: z.string(), + name: z.string() }), project: z.object({ id: z.string(), - name: z.string().optional(), + name: z.string().optional() }), nextRole: z.enum(['ADMIN', 'PROJECT_DEVELOPER', 'PROJECT_VIEWER']).nullable().nullish(), - previousRole: z.enum(['ADMIN', 'PROJECT_DEVELOPER', 'PROJECT_VIEWER']).optional(), + previousRole: z.enum(['ADMIN', 'PROJECT_DEVELOPER', 'PROJECT_VIEWER']).optional() }), z.object({ alias: z.string().optional(), @@ -210,7 +220,7 @@ export const userEventSchema = z id: z.string(), name: z.string(), url: z.string(), - meta: z.object({}).catchall(z.string()), + meta: z.object({}).catchall(z.string()) }) .nullable() .nullish(), @@ -223,202 +233,202 @@ export const userEventSchema = z redirectStatusCode: z.number().nullable().nullish(), target: z.string().nullable().nullish(), system: z.boolean().optional(), - aliasUpdatedAt: z.number().optional(), + aliasUpdatedAt: z.number().optional() }), z.object({ aliasId: z.string().optional(), alias: z.string().optional(), - projectName: z.string().optional(), + projectName: z.string().optional() }), z.object({ - alias: z.string().optional(), + alias: z.string().optional() }), z.object({ alias: z.string().optional(), userId: z.string().optional(), - username: z.string().optional(), + username: z.string().optional() }), z.object({ alias: z.string().optional(), aliasId: z.string().optional(), userId: z.string().optional(), - username: z.string().optional(), + username: z.string().optional() }), z.object({ projectName: z.string(), alias: z.string(), - action: z.enum(['created', 'removed']), + action: z.enum(['created', 'removed']) }), z.object({ alias: z.string().optional(), email: z.string().optional(), - username: z.string().optional(), + username: z.string().optional() }), z.object({ alias: z.string().optional(), - email: z.string().optional(), + email: z.string().optional() }), z.object({ name: z.string().optional(), alias: z.string(), oldTeam: z .object({ - name: z.string(), + name: z.string() }) .optional(), newTeam: z .object({ - name: z.string(), + name: z.string() }) - .optional(), + .optional() }), z.object({ name: z.string().optional(), alias: z.string(), aliasId: z.string(), - deploymentId: z.string().nullable(), + deploymentId: z.string().nullable() }), z.object({ alias: z.string(), - deploymentUrl: z.string(), + deploymentUrl: z.string() }), z.object({ projectName: z.string(), - autoExposeSystemEnvs: z.boolean(), + autoExposeSystemEnvs: z.boolean() }), z.object({ - avatar: z.string().optional(), + avatar: z.string().optional() }), z.object({ cn: z.string().optional(), cns: z.array(z.string()).optional(), custom: z.boolean(), - id: z.string().optional(), + id: z.string().optional() }), z.object({ cn: z.string().optional(), cns: z.array(z.string()).optional(), - id: z.string().optional(), + id: z.string().optional() }), z.object({ id: z.string(), oldTeam: z .object({ - name: z.string(), + name: z.string() }) .optional(), newTeam: z .object({ - name: z.string(), + name: z.string() }) - .optional(), + .optional() }), z.object({ src: z.string(), - dst: z.string(), + dst: z.string() }), z.object({ id: z.string(), cn: z.string().optional(), - cns: z.array(z.string()).optional(), + cns: z.array(z.string()).optional() }), z.object({ cn: z.string().optional(), - cns: z.array(z.string()).optional(), + cns: z.array(z.string()).optional() }), z.object({ reason: z.string().optional(), - suffix: z.string(), + suffix: z.string() }), z.object({ status: z.string(), - suffix: z.string(), + suffix: z.string() }), z.object({ - suffix: z.string(), + suffix: z.string() }), z.object({ team: z.object({ id: z.string(), - name: z.string(), + name: z.string() }), configuration: z.object({ id: z.string(), - name: z.string().optional(), + name: z.string().optional() }), project: z.object({ id: z.string(), - name: z.string().optional(), + name: z.string().optional() }), - buildsEnabled: z.boolean().optional(), + buildsEnabled: z.boolean().optional() }), z.object({ team: z.object({ id: z.string(), - name: z.string(), + name: z.string() }), configuration: z.object({ id: z.string(), - name: z.string().optional(), + name: z.string().optional() }), project: z.object({ id: z.string(), - name: z.string().optional(), + name: z.string().optional() }), buildsEnabled: z.boolean().optional(), - passive: z.boolean().optional(), + passive: z.boolean().optional() }), z.object({ team: z.object({ id: z.string(), - name: z.string(), + name: z.string() }), configuration: z.object({ id: z.string(), - name: z.string().optional(), + name: z.string().optional() }), project: z.object({ id: z.string(), - name: z.string().optional(), - }), + name: z.string().optional() + }) }), z.object({ team: z.object({ id: z.string(), - name: z.string(), + name: z.string() }), configuration: z.object({ id: z.string(), - name: z.string().optional(), + name: z.string().optional() }), - newName: z.string(), + newName: z.string() }), z.object({ - githubLogin: z.string(), + githubLogin: z.string() }), z.object({ gitlabLogin: z.string(), gitlabEmail: z.string(), - gitlabName: z.string().optional(), + gitlabName: z.string().optional() }), z.object({ bitbucketEmail: z.string(), bitbucketLogin: z.string(), - bitbucketName: z.string().optional(), + bitbucketName: z.string().optional() }), z.object({ project: z.object({ - name: z.string(), + name: z.string() }), job: z.object({ deployHook: z.object({ createdAt: z.number(), id: z.string(), name: z.string(), - ref: z.string(), + ref: z.string() }), - state: z.string(), - }), + state: z.string() + }) }), z.object({ name: z.string().optional(), @@ -429,7 +439,7 @@ export const userEventSchema = z id: z.string(), name: z.string(), url: z.string(), - meta: z.object({}).catchall(z.string()), + meta: z.object({}).catchall(z.string()) }) .nullable() .nullish(), @@ -440,30 +450,30 @@ export const userEventSchema = z project: z.string().optional(), projectId: z.string().optional(), regions: z.array(z.string()).optional(), - type: z.string().optional(), + type: z.string().optional() }), z.object({ url: z.string(), oldTeam: z .object({ - name: z.string(), + name: z.string() }) .optional(), newTeam: z .object({ - name: z.string(), + name: z.string() }) - .optional(), + .optional() }), z.object({ deployment: z.object({ id: z.string(), name: z.string(), url: z.string(), - meta: z.object({}).catchall(z.string()), + meta: z.object({}).catchall(z.string()) }), deploymentId: z.string(), - url: z.string(), + url: z.string() }), z.object({ id: z.string(), @@ -471,82 +481,82 @@ export const userEventSchema = z name: z.string(), domain: z.string(), type: z.string(), - mxPriority: z.number().optional(), + mxPriority: z.number().optional() }), z.object({ id: z.string(), value: z.string(), name: z.string(), domain: z.string(), - type: z.string(), + type: z.string() }), z.object({ - name: z.string(), + name: z.string() }), z.object({ name: z.string(), price: z.number(), - currency: z.string().optional(), + currency: z.string().optional() }), z.object({ name: z.string(), - cdnEnabled: z.boolean(), + cdnEnabled: z.boolean() }), z.object({ name: z.string(), userId: z.string(), teamId: z.string(), - ownerName: z.string(), + ownerName: z.string() }), z.object({ name: z.string(), oldTeam: z .object({ - name: z.string(), + name: z.string() }) .optional(), newTeam: z .object({ - name: z.string(), + name: z.string() }) - .optional(), + .optional() }), z.object({ domainId: z.string(), - name: z.string(), + name: z.string() }), z.object({ name: z.string(), fromId: z.string().nullable(), - fromName: z.string().nullable(), + fromName: z.string().nullable() }), z.object({ name: z.string(), destinationId: z.string().nullable(), - destinationName: z.string().nullable(), + destinationName: z.string().nullable() }), z.object({ name: z.string(), destinationId: z.string(), - destinationName: z.string(), + destinationName: z.string() }), z.object({ renew: z.boolean().optional(), - domain: z.string(), + domain: z.string() }), z.object({ name: z.string(), price: z.number().optional(), - currency: z.string().optional(), + currency: z.string().optional() }), z.object({ sha: z.string(), gitUserPlatform: z.string(), - projectName: z.string(), + projectName: z.string() }), z.object({ email: z.string(), - name: z.string(), + name: z.string() }), z.object({ key: z.string().optional(), @@ -557,81 +567,169 @@ export const userEventSchema = z gitBranch: z.string().optional(), edgeConfigId: z.string().nullable().nullish(), edgeConfigTokenId: z.string().nullable().nullish(), - source: z.string().optional(), + source: z.string().optional() }), z.object({ created: z.date().describe('The date when the Shared Env Var was created.').optional(), key: z.string().describe('The name of the Shared Env Var.').optional(), - ownerId: z.string().describe('The unique identifier of the owner (team) the Shared Env Var was created for.').nullable().nullish(), + ownerId: z + .string() + .describe('The unique identifier of the owner (team) the Shared Env Var was created for.') + .nullable() + .nullish(), id: z.string().describe('The unique identifier of the Shared Env Var.').optional(), - createdBy: z.string().describe('The unique identifier of the user who created the Shared Env Var.').nullable().nullish(), - deletedBy: z.string().describe('The unique identifier of the user who deleted the Shared Env Var.').nullable().nullish(), - updatedBy: z.string().describe('The unique identifier of the user who last updated the Shared Env Var.').nullable().nullish(), + createdBy: z + .string() + .describe('The unique identifier of the user who created the Shared Env Var.') + .nullable() + .nullish(), + deletedBy: z + .string() + .describe('The unique identifier of the user who deleted the Shared Env Var.') + .nullable() + .nullish(), + updatedBy: z + .string() + .describe('The unique identifier of the user who last updated the Shared Env Var.') + .nullable() + .nullish(), createdAt: z.number().describe('Timestamp for when the Shared Env Var was created.').optional(), deletedAt: z.number().describe('Timestamp for when the Shared Env Var was (soft) deleted.').optional(), updatedAt: z.number().describe('Timestamp for when the Shared Env Var was last updated.').optional(), value: z.string().describe('The value of the Shared Env Var.').optional(), - projectId: z.array(z.string()).describe('The unique identifiers of the projects which the Shared Env Var is linked to.').optional(), - type: z.enum(['system', 'encrypted', 'plain', 'sensitive']).describe('The type of this cosmos doc instance, if blank, assume secret.').optional(), + projectId: z + .array(z.string()) + .describe('The unique identifiers of the projects which the Shared Env Var is linked to.') + .optional(), + type: z + .enum(['system', 'encrypted', 'plain', 'sensitive']) + .describe('The type of this cosmos doc instance, if blank, assume secret.') + .optional(), target: z .array(z.enum(['production', 'preview', 'development']).describe('environments this env variable targets')) .describe('environments this env variable targets') .optional(), - applyToAllCustomEnvironments: z.boolean().describe('whether or not this env varible applies to custom environments').optional(), + applyToAllCustomEnvironments: z + .boolean() + .describe('whether or not this env varible applies to custom environments') + .optional(), decrypted: z.boolean().describe('whether or not this env variable is decrypted').optional(), - comment: z.string().describe('A user provided comment that describes what this Shared Env Var is for.').optional(), + comment: z + .string() + .describe('A user provided comment that describes what this Shared Env Var is for.') + .optional(), lastEditedByDisplayName: z.string().describe('The last editor full name or username.').optional(), - projectNames: z.array(z.string()).optional(), + projectNames: z.array(z.string()).optional() }), z.object({ oldEnvVar: z .object({ created: z.date().describe('The date when the Shared Env Var was created.').optional(), key: z.string().describe('The name of the Shared Env Var.').optional(), - ownerId: z.string().describe('The unique identifier of the owner (team) the Shared Env Var was created for.').nullable().nullish(), + ownerId: z + .string() + .describe('The unique identifier of the owner (team) the Shared Env Var was created for.') + .nullable() + .nullish(), id: z.string().describe('The unique identifier of the Shared Env Var.').optional(), - createdBy: z.string().describe('The unique identifier of the user who created the Shared Env Var.').nullable().nullish(), - deletedBy: z.string().describe('The unique identifier of the user who deleted the Shared Env Var.').nullable().nullish(), - updatedBy: z.string().describe('The unique identifier of the user who last updated the Shared Env Var.').nullable().nullish(), + createdBy: z + .string() + .describe('The unique identifier of the user who created the Shared Env Var.') + .nullable() + .nullish(), + deletedBy: z + .string() + .describe('The unique identifier of the user who deleted the Shared Env Var.') + .nullable() + .nullish(), + updatedBy: z + .string() + .describe('The unique identifier of the user who last updated the Shared Env Var.') + .nullable() + .nullish(), createdAt: z.number().describe('Timestamp for when the Shared Env Var was created.').optional(), deletedAt: z.number().describe('Timestamp for when the Shared Env Var was (soft) deleted.').optional(), updatedAt: z.number().describe('Timestamp for when the Shared Env Var was last updated.').optional(), value: z.string().describe('The value of the Shared Env Var.').optional(), - projectId: z.array(z.string()).describe('The unique identifiers of the projects which the Shared Env Var is linked to.').optional(), - type: z.enum(['system', 'encrypted', 'plain', 'sensitive']).describe('The type of this cosmos doc instance, if blank, assume secret.').optional(), + projectId: z + .array(z.string()) + .describe('The unique identifiers of the projects which the Shared Env Var is linked to.') + .optional(), + type: z + .enum(['system', 'encrypted', 'plain', 'sensitive']) + .describe('The type of this cosmos doc instance, if blank, assume secret.') + .optional(), target: z - .array(z.enum(['production', 'preview', 'development']).describe('environments this env variable targets')) + .array( + z.enum(['production', 'preview', 'development']).describe('environments this env variable targets') + ) .describe('environments this env variable targets') .optional(), - applyToAllCustomEnvironments: z.boolean().describe('whether or not this env varible applies to custom environments').optional(), + applyToAllCustomEnvironments: z + .boolean() + .describe('whether or not this env varible applies to custom environments') + .optional(), decrypted: z.boolean().describe('whether or not this env variable is decrypted').optional(), - comment: z.string().describe('A user provided comment that describes what this Shared Env Var is for.').optional(), - lastEditedByDisplayName: z.string().describe('The last editor full name or username.').optional(), + comment: z + .string() + .describe('A user provided comment that describes what this Shared Env Var is for.') + .optional(), + lastEditedByDisplayName: z.string().describe('The last editor full name or username.').optional() }) .optional(), newEnvVar: z .object({ created: z.date().describe('The date when the Shared Env Var was created.').optional(), key: z.string().describe('The name of the Shared Env Var.').optional(), - ownerId: z.string().describe('The unique identifier of the owner (team) the Shared Env Var was created for.').nullable().nullish(), + ownerId: z + .string() + .describe('The unique identifier of the owner (team) the Shared Env Var was created for.') + .nullable() + .nullish(), id: z.string().describe('The unique identifier of the Shared Env Var.').optional(), - createdBy: z.string().describe('The unique identifier of the user who created the Shared Env Var.').nullable().nullish(), - deletedBy: z.string().describe('The unique identifier of the user who deleted the Shared Env Var.').nullable().nullish(), - updatedBy: z.string().describe('The unique identifier of the user who last updated the Shared Env Var.').nullable().nullish(), + createdBy: z + .string() + .describe('The unique identifier of the user who created the Shared Env Var.') + .nullable() + .nullish(), + deletedBy: z + .string() + .describe('The unique identifier of the user who deleted the Shared Env Var.') + .nullable() + .nullish(), + updatedBy: z + .string() + .describe('The unique identifier of the user who last updated the Shared Env Var.') + .nullable() + .nullish(), createdAt: z.number().describe('Timestamp for when the Shared Env Var was created.').optional(), deletedAt: z.number().describe('Timestamp for when the Shared Env Var was (soft) deleted.').optional(), updatedAt: z.number().describe('Timestamp for when the Shared Env Var was last updated.').optional(), value: z.string().describe('The value of the Shared Env Var.').optional(), - projectId: z.array(z.string()).describe('The unique identifiers of the projects which the Shared Env Var is linked to.').optional(), - type: z.enum(['system', 'encrypted', 'plain', 'sensitive']).describe('The type of this cosmos doc instance, if blank, assume secret.').optional(), + projectId: z + .array(z.string()) + .describe('The unique identifiers of the projects which the Shared Env Var is linked to.') + .optional(), + type: z + .enum(['system', 'encrypted', 'plain', 'sensitive']) + .describe('The type of this cosmos doc instance, if blank, assume secret.') + .optional(), target: z - .array(z.enum(['production', 'preview', 'development']).describe('environments this env variable targets')) + .array( + z.enum(['production', 'preview', 'development']).describe('environments this env variable targets') + ) .describe('environments this env variable targets') .optional(), - applyToAllCustomEnvironments: z.boolean().describe('whether or not this env varible applies to custom environments').optional(), + applyToAllCustomEnvironments: z + .boolean() + .describe('whether or not this env varible applies to custom environments') + .optional(), decrypted: z.boolean().describe('whether or not this env variable is decrypted').optional(), - comment: z.string().describe('A user provided comment that describes what this Shared Env Var is for.').optional(), - lastEditedByDisplayName: z.string().describe('The last editor full name or username.').optional(), + comment: z + .string() + .describe('A user provided comment that describes what this Shared Env Var is for.') + .optional(), + lastEditedByDisplayName: z.string().describe('The last editor full name or username.').optional() }) .optional(), updateDiff: z @@ -647,39 +745,39 @@ export const userEventSchema = z .array( z.object({ projectName: z.string().optional(), - projectId: z.string(), - }), + projectId: z.string() + }) ) .optional(), newProjects: z .array( z.object({ projectName: z.string().optional(), - projectId: z.string(), - }), + projectId: z.string() + }) ) .optional(), - changedValue: z.boolean(), + changedValue: z.boolean() }) - .optional(), + .optional() }), z.object({ projectId: z.string(), restore: z.boolean(), configVersion: z.number(), configChangeCount: z.number(), - configChanges: z.array(z.object({})), + configChanges: z.array(z.object({})) }), z.object({ projectId: z.string(), scope: z.string(), - source: z.string(), + source: z.string() }), z.object({ projectId: z.string(), rulesetName: z.string(), active: z.boolean(), - action: z.enum(['log', 'challenge', 'deny']).optional(), + action: z.enum(['log', 'challenge', 'deny']).optional() }), z.object({ projectId: z.string(), @@ -687,21 +785,21 @@ export const userEventSchema = z ruleGroups: z.object({}).catchall( z.object({ active: z.boolean(), - action: z.enum(['log', 'challenge', 'deny']).optional(), - }), - ), + action: z.enum(['log', 'challenge', 'deny']).optional() + }) + ) }), z.object({ projectId: z.string(), prevAttackModeEnabled: z.boolean().optional(), prevAttackModeActiveUntil: z.number().nullable().nullish(), attackModeEnabled: z.boolean(), - attackModeActiveUntil: z.number().nullable().nullish(), + attackModeActiveUntil: z.number().nullable().nullish() }), z.object({ integrationId: z.string(), integrationSlug: z.string(), - integrationName: z.string(), + integrationName: z.string() }), z.object({ userId: z.string(), @@ -723,15 +821,17 @@ export const userEventSchema = z reason: z.string(), actor: z.string().optional(), statusCode: z.number().optional(), - comment: z.string().optional(), + comment: z.string().optional() }) - .describe('Since June 2023'), + .describe('Since June 2023') ) .describe('Since June 2023') .optional(), gitAuthHistory: z .array(z.string()) - .describe('Since March 2022. Helps abuse checks by tracking git auths. Format: `::`') + .describe( + 'Since March 2022. Helps abuse checks by tracking git auths. Format: `::`' + ) .optional(), history: z .array( @@ -741,32 +841,39 @@ export const userEventSchema = z reason: z.string(), by: z.string(), byId: z.string(), - at: z.number(), + at: z.number() }) - .describe('(scanner history). Since November 2021. First element is newest.'), + .describe('(scanner history). Since November 2021. First element is newest.') ) .describe('(scanner history). Since November 2021. First element is newest.') .optional(), gitLineageBlocks: z .number() - .describe('Since September 2023. How often did this owner trigger an actual git lineage deploy block?') + .describe( + 'Since September 2023. How often did this owner trigger an actual git lineage deploy block?' + ) .optional(), gitLineageBlocksDry: z .number() - .describe('Since September 2023. How often did this owner trigger a git lineage deploy block dry run?') + .describe( + 'Since September 2023. How often did this owner trigger a git lineage deploy block dry run?' + ) + .optional(), + scanner: z + .string() + .describe('Since November 2021. Guides the abuse scanner in build container.') .optional(), - scanner: z.string().describe('Since November 2021. Guides the abuse scanner in build container.').optional(), updatedAt: z.number().describe('Since November 2021'), creationUserAgent: z.string().optional(), creationIp: z.string().optional(), - removedPhoneNumbers: z.string().optional(), + removedPhoneNumbers: z.string().optional() }) .optional(), acceptanceState: z.string().optional(), acceptedAt: z.number().optional(), avatar: z.string().optional(), billing: z.object({ - plan: z.enum(['pro', 'enterprise', 'hobby']), + plan: z.enum(['pro', 'enterprise', 'hobby']) }), blocked: z.number().nullable(), blockReason: z.string().optional(), @@ -777,21 +884,21 @@ export const userEventSchema = z z.union([ z.object({ type: z.enum(['gitlab', 'bitbucket', 'google', 'github-oauth', 'github-oauth-limited']), - id: z.string(), + id: z.string() }), z.object({ type: z.enum(['github-oauth-custom-host']), host: z.string(), - id: z.string(), - }), - ]), + id: z.string() + }) + ]) ) .optional(), customerId: z.string().nullable().nullish(), orbCustomerId: z.string().nullable().nullish(), dataCache: z .object({ - excessBillingEnabled: z.boolean().optional(), + excessBillingEnabled: z.boolean().optional() }) .optional(), deletedAt: z.number().nullable().nullish(), @@ -804,31 +911,34 @@ export const userEventSchema = z dismissals: z.array( z.object({ scopeId: z.string(), - createdAt: z.number(), - }), - ), - }), + createdAt: z.number() + }) + ) + }) ) .optional(), favoriteProjectsAndSpaces: z .array( z.object({ teamId: z.string(), - projectId: z.string(), - }), + projectId: z.string() + }) ) .optional(), email: z.string(), id: z.string(), importFlowGitNamespace: z.union([z.string(), z.number()]).nullable().nullish(), importFlowGitNamespaceId: z.union([z.string(), z.number()]).nullable().nullish(), - importFlowGitProvider: z.enum(['github', 'gitlab', 'bitbucket', 'github-limited', 'github-custom-host']).nullable().nullish(), + importFlowGitProvider: z + .enum(['github', 'gitlab', 'bitbucket', 'github-limited', 'github-custom-host']) + .nullable() + .nullish(), preferredScopesAndGitNamespaces: z .array( z.object({ scopeId: z.string(), - gitNamespaceId: z.union([z.string(), z.number()]).nullable(), - }), + gitNamespaceId: z.union([z.string(), z.number()]).nullable() + }) ) .optional(), isDomainReseller: z.boolean().optional(), @@ -838,10 +948,13 @@ export const userEventSchema = z phoneNumber: z.string().optional(), platformVersion: z.number().nullable(), preventAutoBlocking: z.union([z.boolean(), z.number()]).optional(), - projectDomainsLimit: z.number().describe('Overrides our DEFAULT project domains limit per account or per project.').optional(), + projectDomainsLimit: z + .number() + .describe('Overrides our DEFAULT project domains limit per account or per project.') + .optional(), remoteCaching: z .object({ - enabled: z.boolean().optional(), + enabled: z.boolean().optional() }) .describe('Represents configuration for remote caching') .optional(), @@ -862,7 +975,7 @@ export const userEventSchema = z elasticConcurrencyEnabled: z.boolean().optional(), buildEntitlements: z .object({ - enhancedBuilds: z.boolean().optional(), + enhancedBuilds: z.boolean().optional() }) .optional(), awsAccountType: z.string().optional(), @@ -890,7 +1003,7 @@ export const userEventSchema = z purchaseType: z.enum(['enhanced', 'turbo']).optional(), isDefaultBuildMachine: z.boolean().optional(), cores: z.number().optional(), - memory: z.number().optional(), + memory: z.number().optional() }) .optional(), security: z @@ -898,9 +1011,9 @@ export const userEventSchema = z customRules: z.number().optional(), ipBlocks: z.number().optional(), ipBypass: z.number().optional(), - rateLimit: z.number().optional(), + rateLimit: z.number().optional() }) - .optional(), + .optional() }) .optional(), resourceLimits: z @@ -908,8 +1021,8 @@ export const userEventSchema = z .catchall( z.object({ max: z.number(), - duration: z.number(), - }), + duration: z.number() + }) ) .describe('User | Team resource limits') .optional(), @@ -919,16 +1032,16 @@ export const userEventSchema = z scopeId: z.string(), viewPreference: z.enum(['cards', 'list']).nullable().nullish(), favoritesViewPreference: z.enum(['open', 'closed']).nullable().nullish(), - recentsViewPreference: z.enum(['open', 'closed']).nullable().nullish(), - }), + recentsViewPreference: z.enum(['open', 'closed']).nullable().nullish() + }) ) .optional(), secondaryEmails: z .array( z.object({ email: z.string(), - verified: z.boolean(), - }), + verified: z.boolean() + }) ) .optional(), emailNotifications: z @@ -937,10 +1050,10 @@ export const userEventSchema = z .object({}) .catchall( z.object({ - email: z.string(), - }), + email: z.string() + }) ) - .optional(), + .optional() }) .optional(), siftScore: z.number().optional(), @@ -952,15 +1065,15 @@ export const userEventSchema = z reasons: z.array( z.object({ name: z.string(), - value: z.string(), - }), - ), - }), + value: z.string() + }) + ) + }) ) .optional(), siftRoute: z .object({ - name: z.enum(['string']), + name: z.enum(['string']) }) .optional(), sfdcId: z.string().optional(), @@ -973,7 +1086,7 @@ export const userEventSchema = z 'UNPAID_INVOICE', 'ENTERPRISE_TRIAL_ENDED', 'FAIR_USE_LIMITS_EXCEEDED', - 'BLOCKED_FOR_PLATFORM_ABUSE', + 'BLOCKED_FOR_PLATFORM_ABUSE' ]), blockedDueToOverageType: z .enum([ @@ -1015,9 +1128,9 @@ export const userEventSchema = z 'wafOwaspExcessBytes', 'wafOwaspRequests', 'wafRateLimitRequest', - 'webAnalyticsEvent', + 'webAnalyticsEvent' ]) - .optional(), + .optional() }) .nullable() .nullish(), @@ -1029,11 +1142,33 @@ export const userEventSchema = z created: z.number(), createdAt: z.number(), teamId: z.string(), - role: z.enum(['OWNER', 'MEMBER', 'DEVELOPER', 'SECURITY', 'BILLING', 'VIEWER', 'VIEWER_FOR_PLUS', 'CONTRIBUTOR']), + role: z.enum([ + 'OWNER', + 'MEMBER', + 'DEVELOPER', + 'SECURITY', + 'BILLING', + 'VIEWER', + 'VIEWER_FOR_PLUS', + 'CONTRIBUTOR' + ]), confirmed: z.boolean(), confirmedAt: z.number(), accessRequestedAt: z.number().optional(), - teamRoles: z.array(z.enum(['OWNER', 'MEMBER', 'DEVELOPER', 'SECURITY', 'BILLING', 'VIEWER', 'VIEWER_FOR_PLUS', 'CONTRIBUTOR'])).optional(), + teamRoles: z + .array( + z.enum([ + 'OWNER', + 'MEMBER', + 'DEVELOPER', + 'SECURITY', + 'BILLING', + 'VIEWER', + 'VIEWER_FOR_PLUS', + 'CONTRIBUTOR' + ]) + ) + .optional(), teamPermissions: z .array( z.enum([ @@ -1044,13 +1179,25 @@ export const userEventSchema = z 'EnvironmentManager', 'V0Builder', 'V0Chatter', - 'V0Viewer', - ]), + 'V0Viewer' + ]) ) .optional(), joinedFrom: z .object({ - origin: z.enum(['teams', 'saml', 'link', 'github', 'gitlab', 'bitbucket', 'mail', 'import', 'dsync', 'feedback', 'organization-teams']), + origin: z.enum([ + 'teams', + 'saml', + 'link', + 'github', + 'gitlab', + 'bitbucket', + 'mail', + 'import', + 'dsync', + 'feedback', + 'organization-teams' + ]), commitId: z.string().optional(), repoId: z.string().optional(), repoPath: z.string().optional(), @@ -1060,36 +1207,38 @@ export const userEventSchema = z ssoConnectedAt: z.number().optional(), idpUserId: z.string().optional(), dsyncUserId: z.string().optional(), - dsyncConnectedAt: z.number().optional(), + dsyncConnectedAt: z.number().optional() }) - .optional(), - }), + .optional() + }) ) .describe( - 'A helper that allows to describe a relationship attribute. It receives the shape of a relationship plus the foreignKey name to make it mandatory in the resulting type.', + 'A helper that allows to describe a relationship attribute. It receives the shape of a relationship plus the foreignKey name to make it mandatory in the resulting type.' ) .optional(), trialTeamIds: z .array(z.string()) .describe( - 'Introduced 2022-04-12 An array of teamIds (for trial teams created after 2022-04-01), created by the user in question. Used in determining whether the team has a trial available in utils/api-teams/user-has-trial-available.ts.', + 'Introduced 2022-04-12 An array of teamIds (for trial teams created after 2022-04-01), created by the user in question. Used in determining whether the team has a trial available in utils/api-teams/user-has-trial-available.ts.' ) .optional(), maxTrials: z .number() .describe( - 'Introduced 2022-04-19 Number of maximum trials to allocate to a user. When undefined, defaults to MAX_TRIALS in utils/api-teams/user-has-trial-available.ts. This is set to trialTeamIds + 1 by services/api-backoffice/src/handlers/add-additional-trial.ts.', + 'Introduced 2022-04-19 Number of maximum trials to allocate to a user. When undefined, defaults to MAX_TRIALS in utils/api-teams/user-has-trial-available.ts. This is set to trialTeamIds + 1 by services/api-backoffice/src/handlers/add-additional-trial.ts.' ) .optional(), trialTeamId: z .string() - .describe('Deprecated on 2022-04-12 in favor of trialTeamIds and using utils/api-teams/user-has-trial-available.ts.') + .describe( + 'Deprecated on 2022-04-12 in favor of trialTeamIds and using utils/api-teams/user-has-trial-available.ts.' + ) .optional(), type: z.enum(['user']), usageAlerts: z .object({ warningAt: z.number().nullable().nullish(), - blockingAt: z.number().nullable().nullish(), + blockingAt: z.number().nullable().nullish() }) .describe('Contains the timestamps when a user was notified about their usage') .nullable() @@ -1100,293 +1249,307 @@ export const userEventSchema = z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish(), + blockedAt: z.number().nullable().nullish() }) .optional(), artifacts: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish(), + blockedAt: z.number().nullable().nullish() }) .optional(), bandwidth: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish(), + blockedAt: z.number().nullable().nullish() }) .optional(), blobTotalAdvancedRequests: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish(), + blockedAt: z.number().nullable().nullish() }) .optional(), blobTotalAvgSizeInBytes: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish(), + blockedAt: z.number().nullable().nullish() }) .optional(), blobTotalGetResponseObjectSizeInBytes: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish(), + blockedAt: z.number().nullable().nullish() }) .optional(), blobTotalSimpleRequests: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish(), + blockedAt: z.number().nullable().nullish() }) .optional(), connectDataTransfer: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish(), + blockedAt: z.number().nullable().nullish() }) .optional(), dataCacheRead: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish(), + blockedAt: z.number().nullable().nullish() }) .optional(), dataCacheWrite: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish(), + blockedAt: z.number().nullable().nullish() }) .optional(), edgeConfigRead: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish(), + blockedAt: z.number().nullable().nullish() }) .optional(), edgeConfigWrite: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish(), + blockedAt: z.number().nullable().nullish() }) .optional(), edgeFunctionExecutionUnits: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish(), + blockedAt: z.number().nullable().nullish() }) .optional(), edgeMiddlewareInvocations: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish(), + blockedAt: z.number().nullable().nullish() }) .optional(), edgeRequestAdditionalCpuDuration: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish(), + blockedAt: z.number().nullable().nullish() }) .optional(), edgeRequest: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish(), + blockedAt: z.number().nullable().nullish() }) .optional(), elasticConcurrencyBuildSlots: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish(), + blockedAt: z.number().nullable().nullish() }) .optional(), fastDataTransfer: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish(), + blockedAt: z.number().nullable().nullish() }) .optional(), fastOriginTransfer: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish(), + blockedAt: z.number().nullable().nullish() }) .optional(), fluidCpuDuration: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish(), + blockedAt: z.number().nullable().nullish() }) .optional(), fluidDuration: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish(), + blockedAt: z.number().nullable().nullish() }) .optional(), functionDuration: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish(), + blockedAt: z.number().nullable().nullish() }) .optional(), functionInvocation: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish(), + blockedAt: z.number().nullable().nullish() }) .optional(), imageOptimizationCacheRead: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish(), + blockedAt: z.number().nullable().nullish() }) .optional(), imageOptimizationCacheWrite: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish(), + blockedAt: z.number().nullable().nullish() }) .optional(), imageOptimizationTransformation: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish(), + blockedAt: z.number().nullable().nullish() }) .optional(), logDrainsVolume: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish(), + blockedAt: z.number().nullable().nullish() }) .optional(), monitoringMetric: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish(), + blockedAt: z.number().nullable().nullish() }) .optional(), blobDataTransfer: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish(), + blockedAt: z.number().nullable().nullish() }) .optional(), observabilityEvent: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish(), + blockedAt: z.number().nullable().nullish() }) .optional(), onDemandConcurrencyMinutes: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish(), + blockedAt: z.number().nullable().nullish() }) .optional(), runtimeCacheRead: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish(), + blockedAt: z.number().nullable().nullish() }) .optional(), runtimeCacheWrite: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish(), + blockedAt: z.number().nullable().nullish() }) .optional(), serverlessFunctionExecution: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish(), + blockedAt: z.number().nullable().nullish() }) .optional(), sourceImages: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish(), + blockedAt: z.number().nullable().nullish() }) .optional(), wafOwaspExcessBytes: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish(), + blockedAt: z.number().nullable().nullish() }) .optional(), wafOwaspRequests: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish(), + blockedAt: z.number().nullable().nullish() }) .optional(), wafRateLimitRequest: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish(), + blockedAt: z.number().nullable().nullish() }) .optional(), webAnalyticsEvent: z .object({ currentThreshold: z.number(), warningAt: z.number().nullable().nullish(), - blockedAt: z.number().nullable().nullish(), + blockedAt: z.number().nullable().nullish() }) - .optional(), + .optional() }) .optional(), overageMetadata: z .object({ - firstTimeOnDemandNotificationSentAt: z.number().describe('Tracks if the first time on-demand overage email has been sent.').optional(), - dailyOverageSummaryEmailSentAt: z.number().describe('Tracks the last time we sent a daily summary email.').optional(), - weeklyOverageSummaryEmailSentAt: z.number().describe('Tracks the last time we sent a weekly summary email.').optional(), + firstTimeOnDemandNotificationSentAt: z + .number() + .describe('Tracks if the first time on-demand overage email has been sent.') + .optional(), + dailyOverageSummaryEmailSentAt: z + .number() + .describe('Tracks the last time we sent a daily summary email.') + .optional(), + weeklyOverageSummaryEmailSentAt: z + .number() + .describe('Tracks the last time we sent a weekly summary email.') + .optional(), overageSummaryExpiresAt: z .number() .describe( - 'Tracks when the overage summary email will stop auto-sending. We currently lock the user into email for a month after the last on-demand usage.', + 'Tracks when the overage summary email will stop auto-sending. We currently lock the user into email for a month after the last on-demand usage.' ) .optional(), - increasedOnDemandEmailSentAt: z.number().describe('Tracks the last time we sent a increased on-demand email.').optional(), - increasedOnDemandEmailAttemptedAt: z + increasedOnDemandEmailSentAt: z .number() - .describe('Tracks the last time we attempted to send an increased on-demand email. This check is to limit the number of attempts per day.') + .describe('Tracks the last time we sent a increased on-demand email.') .optional(), + increasedOnDemandEmailAttemptedAt: z + .number() + .describe( + 'Tracks the last time we attempted to send an increased on-demand email. This check is to limit the number of attempts per day.' + ) + .optional() }) .describe('Contains the timestamps for usage summary emails.') .optional(), @@ -1404,7 +1567,7 @@ export const userEventSchema = z blockedFrom: z.number().optional(), blockedUntil: z.number().optional(), blockReason: z.enum(['admin_override', 'limits_exceeded']), - graceEmailSentAt: z.number().optional(), + graceEmailSentAt: z.number().optional() }) .optional(), monitoring: z @@ -1413,10 +1576,10 @@ export const userEventSchema = z blockedFrom: z.number().optional(), blockedUntil: z.number().optional(), blockReason: z.enum(['admin_override', 'limits_exceeded']), - blockType: z.enum(['soft', 'hard']), + blockType: z.enum(['soft', 'hard']) }) .describe( - 'A soft block indicates a temporary pause in data collection (ex limit exceeded for the current cycle) A hard block indicates a stoppage in data collection that requires manual intervention (ex upgrading a pro trial)', + 'A soft block indicates a temporary pause in data collection (ex limit exceeded for the current cycle) A hard block indicates a stoppage in data collection that requires manual intervention (ex upgrading a pro trial)' ) .optional(), observabilityPlus: z @@ -1425,7 +1588,7 @@ export const userEventSchema = z blockedFrom: z.number().optional(), blockedUntil: z.number().optional(), blockReason: z.enum(['admin_override', 'limits_exceeded']), - blockType: z.enum(['soft', 'hard']), + blockType: z.enum(['soft', 'hard']) }) .optional(), dataCache: z @@ -1433,7 +1596,7 @@ export const userEventSchema = z updatedAt: z.number(), blockedFrom: z.number().optional(), blockedUntil: z.number().optional(), - blockReason: z.enum(['admin_override', 'limits_exceeded']), + blockReason: z.enum(['admin_override', 'limits_exceeded']) }) .optional(), imageOptimizationTransformation: z @@ -1441,7 +1604,7 @@ export const userEventSchema = z updatedAt: z.number(), blockedFrom: z.number().optional(), blockedUntil: z.number().optional(), - blockReason: z.enum(['admin_override', 'limits_exceeded']), + blockReason: z.enum(['admin_override', 'limits_exceeded']) }) .optional(), sourceImages: z @@ -1449,7 +1612,7 @@ export const userEventSchema = z updatedAt: z.number(), blockedFrom: z.number().optional(), blockedUntil: z.number().optional(), - blockReason: z.enum(['admin_override', 'limits_exceeded']), + blockReason: z.enum(['admin_override', 'limits_exceeded']) }) .optional(), blob: z @@ -1497,8 +1660,8 @@ export const userEventSchema = z 'wafOwaspExcessBytes', 'wafOwaspRequests', 'wafRateLimitRequest', - 'webAnalyticsEvent', - ]), + 'webAnalyticsEvent' + ]) }) .optional(), postgres: z @@ -1546,8 +1709,8 @@ export const userEventSchema = z 'wafOwaspExcessBytes', 'wafOwaspRequests', 'wafRateLimitRequest', - 'webAnalyticsEvent', - ]), + 'webAnalyticsEvent' + ]) }) .optional(), redis: z @@ -1595,13 +1758,13 @@ export const userEventSchema = z 'wafOwaspExcessBytes', 'wafOwaspRequests', 'wafRateLimitRequest', - 'webAnalyticsEvent', - ]), + 'webAnalyticsEvent' + ]) }) - .optional(), + .optional() }) .describe( - 'Information about which features are blocked for a user. Blocks can be either soft (the user can still access the feature, but with a warning, e.g. prompting an upgrade) or hard (the user cannot access the feature at all).', + 'Information about which features are blocked for a user. Blocks can be either soft (the user can still access the feature, but with a warning, e.g. prompting an upgrade) or hard (the user cannot access the feature at all).' ) .optional(), defaultTeamId: z.string().optional(), @@ -1611,17 +1774,21 @@ export const userEventSchema = z teamId: z.string().describe('The ID of the team we created for this user.'), projects: z.number().describe('The number of projects migrated for this user.'), stores: z.number().describe('The number of stores migrated for this user.'), - integrationConfigurations: z.number().describe('The number of integration configurations migrated for this user.'), + integrationConfigurations: z + .number() + .describe('The number of integration configurations migrated for this user.'), integrationClients: z.number().describe('The number of integration clients migrated for this user.'), startTime: z.number().describe('The migration start time timestamp for this user.'), - endTime: z.number().describe('The migration end time timestamp for this user.'), + endTime: z.number().describe('The migration end time timestamp for this user.') }) - .describe('An archive of information about the Northstar migration, derived from the old (deprecated) property, `northstarMigrationEvents`.') + .describe( + 'An archive of information about the Northstar migration, derived from the old (deprecated) property, `northstarMigrationEvents`.' + ) .optional(), opportunityId: z .string() .describe( - "The salesforce opportunity ID that this user is linked to. This is used to automatically associate a team of the user's choosing with the opportunity.", + "The salesforce opportunity ID that this user is linked to. This is used to automatically associate a team of the user's choosing with the opportunity." ) .optional(), mfaConfiguration: z @@ -1632,14 +1799,16 @@ export const userEventSchema = z totp: z .object({ secret: z.string(), - createdAt: z.number(), + createdAt: z.number() }) - .optional(), + .optional() }) - .describe('MFA configuration. When enabled, the user will be required to provide a second factor of authentication when logging in.') - .optional(), + .describe( + 'MFA configuration. When enabled, the user will be required to provide a second factor of authentication when logging in.' + ) + .optional() }) - .nullable(), + .nullable() }), z.object({ configurations: z.array( @@ -1647,10 +1816,10 @@ export const userEventSchema = z integrationId: z.string(), configurationId: z.string(), integrationSlug: z.string(), - integrationName: z.string().optional(), - }), + integrationName: z.string().optional() + }) ), - ownerId: z.string(), + ownerId: z.string() }), z.object({ integrationId: z.string(), @@ -1659,7 +1828,7 @@ export const userEventSchema = z integrationName: z.string(), ownerId: z.string(), billingPlanId: z.string(), - billingPlanName: z.string().optional(), + billingPlanName: z.string().optional() }), z.object({ integrationId: z.string(), @@ -1667,14 +1836,14 @@ export const userEventSchema = z integrationSlug: z.string(), integrationName: z.string(), ownerId: z.string(), - projectIds: z.array(z.string()).optional(), + projectIds: z.array(z.string()).optional() }), z.object({ projectId: z.string(), fromDeploymentId: z.string(), toDeploymentId: z.string(), projectName: z.string(), - reason: z.string().optional(), + reason: z.string().optional() }), z.object({ integrationId: z.string(), @@ -1683,19 +1852,33 @@ export const userEventSchema = z integrationName: z.string(), ownerId: z.string(), projectIds: z.array(z.string()).optional(), - confirmedScopes: z.array(z.string()), + confirmedScopes: z.array(z.string()) }), z.object({ userAgent: z .object({ browser: z.object({ - name: z.enum(['iphone', 'ipad', 'ipod', 'chrome', 'firefox', 'mozilla', 'unknown']), + name: z.enum(['iphone', 'ipad', 'ipod', 'chrome', 'firefox', 'mozilla', 'unknown']) }), ua: z.string(), program: z.string(), os: z.object({ - name: z.enum(['unknown', 'darwin', 'win32', 'win', 'windows', 'linux', 'freebsd', 'sunos', 'mac', 'ios', 'android', 'Mac OS', 'OS X']), - }), + name: z.enum([ + 'unknown', + 'darwin', + 'win32', + 'win', + 'windows', + 'linux', + 'freebsd', + 'sunos', + 'mac', + 'ios', + 'android', + 'Mac OS', + 'OS X' + ]) + }) }) .optional(), geolocation: z @@ -1703,23 +1886,23 @@ export const userEventSchema = z city: z .object({ names: z.object({ - en: z.string(), - }), + en: z.string() + }) }) .optional(), country: z.object({ names: z.object({ - en: z.string(), - }), + en: z.string() + }) }), mostSpecificSubdivision: z .object({ names: z.object({ - en: z.string(), - }), + en: z.string() + }) }) .optional(), - regionName: z.string().optional(), + regionName: z.string().optional() }) .nullable() .nullish(), @@ -1732,27 +1915,27 @@ export const userEventSchema = z ssoType: z.string().optional(), env: z.string().optional(), os: z.string().optional(), - username: z.string().optional(), + username: z.string().optional() }), z.object({ logDrainUrl: z.string().nullable(), - integrationName: z.string().optional(), + integrationName: z.string().optional() }), z.object({ logDrainUrl: z.string(), - integrationName: z.string().optional(), + integrationName: z.string().optional() }), z.object({ drainUrl: z.string().nullable(), - integrationName: z.string().optional(), + integrationName: z.string().optional() }), z.object({ projectId: z.string(), toDeploymentId: z.string(), - projectName: z.string(), + projectName: z.string() }), z.object({ - projectName: z.string(), + projectName: z.string() }), z.object({ plan: z.string(), @@ -1760,12 +1943,33 @@ export const userEventSchema = z .object({}) .catchall( z.object({ - role: z.enum(['OWNER', 'MEMBER', 'DEVELOPER', 'SECURITY', 'BILLING', 'VIEWER', 'VIEWER_FOR_PLUS', 'CONTRIBUTOR']), + role: z.enum([ + 'OWNER', + 'MEMBER', + 'DEVELOPER', + 'SECURITY', + 'BILLING', + 'VIEWER', + 'VIEWER_FOR_PLUS', + 'CONTRIBUTOR' + ]), confirmed: z.boolean(), confirmedAt: z.number().optional(), joinedFrom: z .object({ - origin: z.enum(['teams', 'saml', 'link', 'github', 'gitlab', 'bitbucket', 'mail', 'import', 'dsync', 'feedback', 'organization-teams']), + origin: z.enum([ + 'teams', + 'saml', + 'link', + 'github', + 'gitlab', + 'bitbucket', + 'mail', + 'import', + 'dsync', + 'feedback', + 'organization-teams' + ]), commitId: z.string().optional(), repoId: z.string().optional(), repoPath: z.string().optional(), @@ -1775,21 +1979,21 @@ export const userEventSchema = z ssoConnectedAt: z.number().optional(), idpUserId: z.string().optional(), dsyncUserId: z.string().optional(), - dsyncConnectedAt: z.number().optional(), + dsyncConnectedAt: z.number().optional() }) - .optional(), - }), + .optional() + }) ) .optional(), priorPlan: z.string().optional(), isDowngrade: z.boolean().optional(), userAgent: z.string().optional(), isReactivate: z.boolean().optional(), - isTrialUpgrade: z.boolean().optional(), + isTrialUpgrade: z.boolean().optional() }), z.object({ projectName: z.string(), - branch: z.string(), + branch: z.string() }), z.object({ projectName: z.string().optional(), @@ -1802,7 +2006,7 @@ export const userEventSchema = z enabledAt: z.number(), paidAt: z.number().optional(), sampleRatePercent: z.number().nullable().nullish(), - spendLimitInDollars: z.number().nullable().nullish(), + spendLimitInDollars: z.number().nullable().nullish() }) .nullable(), prevProjectAnalytics: z @@ -1813,64 +2017,102 @@ export const userEventSchema = z enabledAt: z.number(), paidAt: z.number().optional(), sampleRatePercent: z.number().nullable().nullish(), - spendLimitInDollars: z.number().nullable().nullish(), + spendLimitInDollars: z.number().nullable().nullish() }) - .nullable(), + .nullable() }), z.object({ projectName: z.string().optional(), projectId: z.string(), projectAnalytics: z.object({}).catchall(z.unknown()).optional(), - prevProjectAnalytics: z.object({}).catchall(z.unknown()).nullable().nullish(), + prevProjectAnalytics: z.object({}).catchall(z.unknown()).nullable().nullish() }), z.object({ projectName: z.string().optional(), - projectId: z.string(), + projectId: z.string() }), z.object({ projectName: z.string(), ssoProtection: z .union([ z.object({ - deploymentType: z.enum(['all', 'preview', 'prod_deployment_urls_and_all_previews', 'all_except_custom_domains']), + deploymentType: z.enum([ + 'all', + 'preview', + 'prod_deployment_urls_and_all_previews', + 'all_except_custom_domains' + ]) }), - z.enum(['all', 'preview', 'prod_deployment_urls_and_all_previews', 'all_except_custom_domains']), + z.enum(['all', 'preview', 'prod_deployment_urls_and_all_previews', 'all_except_custom_domains']) ]) .nullable(), oldSsoProtection: z .union([ z.object({ - deploymentType: z.enum(['all', 'preview', 'prod_deployment_urls_and_all_previews', 'all_except_custom_domains']), + deploymentType: z.enum([ + 'all', + 'preview', + 'prod_deployment_urls_and_all_previews', + 'all_except_custom_domains' + ]) }), - z.enum(['all', 'preview', 'prod_deployment_urls_and_all_previews', 'all_except_custom_domains']), + z.enum(['all', 'preview', 'prod_deployment_urls_and_all_previews', 'all_except_custom_domains']) ]) - .nullable(), + .nullable() }), z.object({ projectName: z.string(), passwordProtection: z .union([ z.object({ - deploymentType: z.enum(['all', 'preview', 'prod_deployment_urls_and_all_previews', 'all_except_custom_domains']), + deploymentType: z.enum([ + 'all', + 'preview', + 'prod_deployment_urls_and_all_previews', + 'all_except_custom_domains' + ]) }), - z.enum(['all', 'preview', 'prod_deployment_urls_and_all_previews', 'all_except_custom_domains']), + z.enum(['all', 'preview', 'prod_deployment_urls_and_all_previews', 'all_except_custom_domains']) ]) .nullable(), oldPasswordProtection: z .union([ z.object({ - deploymentType: z.enum(['all', 'preview', 'prod_deployment_urls_and_all_previews', 'all_except_custom_domains']), + deploymentType: z.enum([ + 'all', + 'preview', + 'prod_deployment_urls_and_all_previews', + 'all_except_custom_domains' + ]) }), - z.enum(['all', 'preview', 'prod_deployment_urls_and_all_previews', 'all_except_custom_domains']), + z.enum(['all', 'preview', 'prod_deployment_urls_and_all_previews', 'all_except_custom_domains']) ]) - .nullable(), + .nullable() }), z.object({ projectName: z.string(), - trustedIps: z.enum(['all', 'preview', 'prod_deployment_urls_and_all_previews', 'all_except_custom_domains', 'production']).nullable().nullish(), - oldTrustedIps: z.enum(['all', 'preview', 'prod_deployment_urls_and_all_previews', 'all_except_custom_domains', 'production']).nullable().nullish(), + trustedIps: z + .enum([ + 'all', + 'preview', + 'prod_deployment_urls_and_all_previews', + 'all_except_custom_domains', + 'production' + ]) + .nullable() + .nullish(), + oldTrustedIps: z + .enum([ + 'all', + 'preview', + 'prod_deployment_urls_and_all_previews', + 'all_except_custom_domains', + 'production' + ]) + .nullable() + .nullish(), addedAddresses: z.array(z.string()).nullable().nullish(), - removedAddresses: z.array(z.string()).nullable().nullish(), + removedAddresses: z.array(z.string()).nullable().nullish() }), z.object({ projectName: z.string(), @@ -1878,9 +2120,9 @@ export const userEventSchema = z .object({ paths: z.array( z.object({ - value: z.string(), - }), - ), + value: z.string() + }) + ) }) .nullable() .nullish(), @@ -1888,25 +2130,25 @@ export const userEventSchema = z .object({ paths: z.array( z.object({ - value: z.string(), - }), - ), + value: z.string() + }) + ) }) .nullable() - .nullish(), + .nullish() }), z.object({ projectName: z.string(), - action: z.enum(['enabled', 'disabled', 'regenerated']), + action: z.enum(['enabled', 'disabled', 'regenerated']) }), z.object({ name: z.string(), - ownerId: z.string(), + ownerId: z.string() }), z.object({ team: z.object({ id: z.string(), - name: z.string(), + name: z.string() }), project: z.object({ id: z.string(), @@ -1922,12 +2164,12 @@ export const userEventSchema = z aws: z .object({ subnetIds: z.array(z.string()), - securityGroupId: z.string(), + securityGroupId: z.string() }) .optional(), createdAt: z.number(), - updatedAt: z.number(), - }), + updatedAt: z.number() + }) ) .nullable(), newConnectConfigurations: z @@ -1941,103 +2183,103 @@ export const userEventSchema = z aws: z .object({ subnetIds: z.array(z.string()), - securityGroupId: z.string(), + securityGroupId: z.string() }) .optional(), createdAt: z.number(), - updatedAt: z.number(), - }), + updatedAt: z.number() + }) ) - .nullable(), - }), + .nullable() + }) }), z.object({ - projectId: z.string(), + projectId: z.string() }), z.object({ source: z.string(), - projectId: z.string(), + projectId: z.string() }), z.object({ projectId: z.string(), - projectName: z.string(), + projectName: z.string() }), z.object({ projectId: z.string(), projectName: z.string(), - newTargetPercentage: z.number().optional(), + newTargetPercentage: z.number().optional() }), z.object({ gitProvider: z.string(), gitProviderGroupDescriptor: z.string(), - gitScope: z.string(), + gitScope: z.string() }), z.object({ instances: z.number(), - url: z.string(), + url: z.string() }), z.object({ email: z.string(), - verified: z.boolean(), + verified: z.boolean() }), z.object({ - email: z.string(), + email: z.string() }), z.object({ team: z.object({ id: z.string(), - name: z.string().optional(), + name: z.string().optional() }), previousRule: z .object({ - email: z.string(), + email: z.string() }) .optional(), nextRule: z .object({ - email: z.string(), + email: z.string() }) - .optional(), + .optional() }), z.object({ team: z.object({ id: z.string(), - name: z.string().optional(), + name: z.string().optional() }), previousRule: z.object({ - email: z.string(), - }), + email: z.string() + }) }), z.object({ uid: z.string(), name: z.union([ z.string(), z.object({ - name: z.string(), - }), - ]), + name: z.string() + }) + ]) }), z.object({ oldName: z.string(), newName: z.string(), - uid: z.string().optional(), + uid: z.string().optional() }), z.object({ - bio: z.string(), + bio: z.string() }), z.object({ scalingRules: z.object({}).catchall( z.object({ min: z.number(), - max: z.number(), - }), + max: z.number() + }) ), min: z.number(), max: z.number(), - url: z.string(), + url: z.string() }), z.object({ - webhookUrl: z.string().optional(), + webhookUrl: z.string().optional() }), z.object({ budget: z @@ -2046,17 +2288,26 @@ export const userEventSchema = z fixedBudget: z.number().describe('Budget amount'), previousSpend: z.array(z.number()).describe('Array of the last 3 months of spend data'), notifiedAt: z.array(z.number()).describe('Array of 50, 75, 100 to keep track of notifications sent out'), - webhookId: z.string().describe('Webhook id that corresponds to a webhook in Cosmos webhook collection').optional(), - webhookNotified: z.boolean().describe('Keep track if the webhook has been called for the month').optional(), + webhookId: z + .string() + .describe('Webhook id that corresponds to a webhook in Cosmos webhook collection') + .optional(), + webhookNotified: z + .boolean() + .describe('Keep track if the webhook has been called for the month') + .optional(), createdAt: z.number().describe('Date time when budget is created'), updatedAt: z.number().describe('Date time when budget is updated last').optional(), isActive: z.boolean().describe('Is the budget currently active for a customer'), pauseProjects: z.boolean().describe('Should all projects be paused if budget is exceeded').optional(), - pricingPlan: z.enum(['plus', 'legacy', 'unbundled']).describe('The acive pricing plan the team is billed with').optional(), + pricingPlan: z + .enum(['plus', 'legacy', 'unbundled']) + .describe('The acive pricing plan the team is billed with') + .optional(), teamId: z.string().describe('Partition key'), - id: z.string().describe('Sort key that needs to be unique per teamId'), + id: z.string().describe('Sort key that needs to be unique per teamId') }) - .describe('Represents a budget for tracking and notifying teams on their spending.'), + .describe('Represents a budget for tracking and notifying teams on their spending.') }), z.object({ budget: z.object({ @@ -2065,19 +2316,30 @@ export const userEventSchema = z type: z.enum(['fixed']).describe('The budget type'), fixedBudget: z.number().describe('Budget amount'), previousSpend: z.array(z.number()).describe('Array of the last 3 months of spend data'), - notifiedAt: z.array(z.number()).describe('Array of 50, 75, 100 to keep track of notifications sent out'), - webhookId: z.string().describe('Webhook id that corresponds to a webhook in Cosmos webhook collection').optional(), - webhookNotified: z.boolean().describe('Keep track if the webhook has been called for the month').optional(), + notifiedAt: z + .array(z.number()) + .describe('Array of 50, 75, 100 to keep track of notifications sent out'), + webhookId: z + .string() + .describe('Webhook id that corresponds to a webhook in Cosmos webhook collection') + .optional(), + webhookNotified: z + .boolean() + .describe('Keep track if the webhook has been called for the month') + .optional(), createdAt: z.number().describe('Date time when budget is created'), updatedAt: z.number().describe('Date time when budget is updated last').optional(), isActive: z.boolean().describe('Is the budget currently active for a customer'), pauseProjects: z.boolean().describe('Should all projects be paused if budget is exceeded').optional(), - pricingPlan: z.enum(['plus', 'legacy', 'unbundled']).describe('The acive pricing plan the team is billed with').optional(), + pricingPlan: z + .enum(['plus', 'legacy', 'unbundled']) + .describe('The acive pricing plan the team is billed with') + .optional(), teamId: z.string().describe('Partition key'), - id: z.string().describe('Sort key that needs to be unique per teamId'), + id: z.string().describe('Sort key that needs to be unique per teamId') }) - .describe('Represents a budget for tracking and notifying teams on their spending.'), - }), + .describe('Represents a budget for tracking and notifying teams on their spending.') + }) }), z.object({ id: z.string(), @@ -2085,20 +2347,20 @@ export const userEventSchema = z computeUnitsMax: z.number().optional(), computeUnitsMin: z.number().optional(), suspendTimeoutSeconds: z.number().optional(), - type: z.enum(['redis', 'postgres', 'edge-config', 'blob', 'integration']), + type: z.enum(['redis', 'postgres', 'edge-config', 'blob', 'integration']) }), z.object({ - storeType: z.enum(['redis', 'postgres']), + storeType: z.enum(['redis', 'postgres']) }), z.object({ store: z.object({ name: z.string(), - id: z.string(), + id: z.string() }), - ownerId: z.string().optional(), + ownerId: z.string().optional() }), z.object({ - slug: z.string(), + slug: z.string() }), z.object({ slug: z.string(), @@ -2108,10 +2370,10 @@ export const userEventSchema = z .array( z.object({ slug: z.string(), - description: z.string(), - }), + description: z.string() + }) ) - .optional(), + .optional() }), z.object({ directoryType: z.string().optional(), @@ -2119,112 +2381,112 @@ export const userEventSchema = z invitedUser: z .object({ username: z.string(), - email: z.string(), + email: z.string() }) .optional(), invitedEmail: z.string().optional(), invitationRole: z.string().optional(), entitlements: z.array(z.string()).optional(), - invitedUid: z.string().optional(), + invitedUid: z.string().optional() }), z.object({ deletedUser: z .object({ username: z.string(), - email: z.string(), + email: z.string() }) .optional(), deletedUid: z.string().optional(), githubUsername: z.string().nullable().nullish(), gitlabUsername: z.string().nullable().nullish(), bitbucketUsername: z.string().nullable().nullish(), - directoryType: z.string().optional(), + directoryType: z.string().optional() }), z.object({ role: z.string().optional(), uid: z.string(), - origin: z.string().optional(), + origin: z.string().optional() }), z.object({ directoryType: z.string().optional(), updatedUser: z .object({ username: z.string(), - email: z.string(), + email: z.string() }) .optional(), role: z.string().optional(), previousRole: z.string(), - updatedUid: z.string().optional(), + updatedUid: z.string().optional() }), z.object({ entitlement: z.string(), user: z.object({ id: z.string(), - username: z.string(), - }), + username: z.string() + }) }), z.object({ entitlement: z.string(), user: z.object({ id: z.string(), - username: z.string(), + username: z.string() }), - previousCanceledAt: z.string().optional(), + previousCanceledAt: z.string().optional() }), z.object({ - enforced: z.boolean(), + enforced: z.boolean() }), z.object({ - name: z.string().optional(), + name: z.string().optional() }), z.object({ - slug: z.string().optional(), + slug: z.string().optional() }), z.object({ remoteCaching: z .object({ - enabled: z.boolean().optional(), + enabled: z.boolean().optional() }) .describe('Represents configuration for remote caching') - .optional(), + .optional() }), z.object({ previous: z.object({ enabled: z.boolean(), - totpVerified: z.boolean(), + totpVerified: z.boolean() }), next: z.object({ enabled: z.boolean(), - totpVerified: z.boolean(), - }), + totpVerified: z.boolean() + }) }), z.object({ enabled: z.boolean(), - totpVerified: z.boolean(), + totpVerified: z.boolean() }), z.object({ - mfaEnabled: z.boolean(), + mfaEnabled: z.boolean() }), z.object({ email: z.string(), - prevEmail: z.string(), + prevEmail: z.string() }), z.object({ - username: z.string(), + username: z.string() }), z.object({ price: z.number().optional(), currency: z.string().optional(), - enabled: z.boolean().optional(), + enabled: z.boolean().optional() }), z.object({ previewDeploymentSuffix: z.string().nullable().nullish(), - previousPreviewDeploymentSuffix: z.string().nullable().nullish(), + previousPreviewDeploymentSuffix: z.string().nullable().nullish() }), z.object({ price: z.number().optional(), - currency: z.string().optional(), + currency: z.string().optional() }), z.object({ teamName: z.string(), @@ -2234,7 +2496,7 @@ export const userEventSchema = z gitlabUsername: z.string().nullable().nullish(), bitbucketUsername: z.string().nullable().nullish(), updatedUid: z.string().optional(), - teamId: z.string().optional(), + teamId: z.string().optional() }), z.object({ teamName: z.string(), @@ -2242,7 +2504,7 @@ export const userEventSchema = z gitUsername: z.string().nullable().nullish(), githubUsername: z.string().nullable().nullish(), gitlabUsername: z.string().nullable().nullish(), - bitbucketUsername: z.string().nullable().nullish(), + bitbucketUsername: z.string().nullable().nullish() }), z.object({ requestedTeamName: z.string(), @@ -2250,7 +2512,7 @@ export const userEventSchema = z gitUsername: z.string().optional(), githubUsername: z.string().optional(), gitlabUsername: z.string().optional(), - bitbucketUsername: z.string().optional(), + bitbucketUsername: z.string().optional() }), z.object({ projectId: z.string(), @@ -2258,63 +2520,63 @@ export const userEventSchema = z originAccountName: z.string(), destinationAccountName: z.string(), destinationAccountId: z.string(), - transferId: z.string().optional(), + transferId: z.string().optional() }), z.object({ projectName: z.string(), destinationAccountName: z.string().nullable(), - transferId: z.string().optional(), + transferId: z.string().optional() }), z.object({ previousProjectName: z.string(), newProjectName: z.string(), destinationAccountName: z.string(), - transferId: z.string().optional(), + transferId: z.string().optional() }), z.object({ previousProjectName: z.string(), newProjectName: z.string(), originAccountName: z.string(), - transferId: z.string().optional(), + transferId: z.string().optional() }), z.object({ project: z.object({ name: z.string(), - id: z.string().optional(), + id: z.string().optional() }), projectMembership: z .object({ role: z.enum(['ADMIN', 'PROJECT_DEVELOPER', 'PROJECT_VIEWER']), uid: z.string(), createdAt: z.number(), - username: z.string().optional(), + username: z.string().optional() }) - .nullable(), + .nullable() }), z.object({ project: z.object({ name: z.string(), - id: z.string().optional(), + id: z.string().optional() }), removedMembership: z.object({ role: z.enum(['ADMIN', 'PROJECT_DEVELOPER', 'PROJECT_VIEWER']), uid: z.string(), createdAt: z.number(), - username: z.string().optional(), - }), + username: z.string().optional() + }) }), z.object({ project: z.object({ id: z.string(), - name: z.string(), + name: z.string() }), projectMembership: z.object({ role: z.enum(['ADMIN', 'PROJECT_DEVELOPER', 'PROJECT_VIEWER']).optional(), uid: z.string().optional(), createdAt: z.number().optional(), username: z.string().optional(), - previousRole: z.enum(['ADMIN', 'PROJECT_DEVELOPER', 'PROJECT_VIEWER']).optional(), - }), + previousRole: z.enum(['ADMIN', 'PROJECT_DEVELOPER', 'PROJECT_VIEWER']).optional() + }) }), z.object({ project: z.object({ @@ -2322,37 +2584,37 @@ export const userEventSchema = z role: z.enum(['ADMIN', 'PROJECT_DEVELOPER', 'PROJECT_VIEWER']), invitedUserName: z.string(), id: z.string().optional(), - invitedUserId: z.string().optional(), - }), + invitedUserId: z.string().optional() + }) }), z.object({ projectName: z.string(), tags: z.array(z.string()), - target: z.string().optional(), + target: z.string().optional() }), z.object({ edgeConfigId: z.string(), edgeConfigSlug: z.string(), - edgeConfigDigest: z.string(), + edgeConfigDigest: z.string() }), z.object({ edgeConfigId: z.string(), edgeConfigSlug: z.string(), edgeConfigTokenId: z.string(), - label: z.string(), + label: z.string() }), z.object({ edgeConfigId: z.string(), edgeConfigSlug: z.string(), - edgeConfigTokenIds: z.array(z.string()).describe('ids of deleted tokens'), + edgeConfigTokenIds: z.array(z.string()).describe('ids of deleted tokens') }), z.object({ - action: z.enum(['enable', 'disable']), + action: z.enum(['enable', 'disable']) }), z.object({ id: z.string(), slug: z.string(), - name: z.string(), + name: z.string() }), z.object({ id: z.string(), @@ -2362,19 +2624,19 @@ export const userEventSchema = z prev: z.object({ name: z.string(), slug: z.string(), - fallbackEnvironment: z.string(), - }), + fallbackEnvironment: z.string() + }) }), z.object({ project: z.object({ id: z.string(), - name: z.string(), + name: z.string() }), group: z.object({ id: z.string(), slug: z.string(), - name: z.string(), - }), + name: z.string() + }) }), z.object({ project: z.object({ @@ -2389,25 +2651,27 @@ export const userEventSchema = z .min(2) .max(2) .describe( - 'The group IDs of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together.', + 'The group IDs of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together.' ), enabled: z.boolean().describe('Whether microfrontends are enabled for this project.'), isDefaultApp: z .boolean() .describe( - 'Whether this project is the default application for the microfrontends group. The default application is the one that is used as the top level shell for the microfrontends group and hosts the other microfrontends.', + 'Whether this project is the default application for the microfrontends group. The default application is the one that is used as the top level shell for the microfrontends group and hosts the other microfrontends.' ) .optional(), defaultRoute: z .string() .describe( - 'A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI. Includes the leading slash, e.g. `/docs`', + 'A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI. Includes the leading slash, e.g. `/docs`' ) .optional(), routeObservabilityToThisProject: z .boolean() - .describe('Whether observability data should be routed to this microfrontend project or a root project.') - .optional(), + .describe( + 'Whether observability data should be routed to this microfrontend project or a root project.' + ) + .optional() }), z.object({ updatedAt: z.number(), @@ -2415,10 +2679,10 @@ export const userEventSchema = z .array(z.union([z.string(), z.string()])) .min(2) .max(2), - enabled: z.boolean(), - }), + enabled: z.boolean() + }) ]) - .optional(), + .optional() }), prev: z.object({ project: z.object({ @@ -2431,25 +2695,27 @@ export const userEventSchema = z .min(2) .max(2) .describe( - 'The group IDs of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together.', + 'The group IDs of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together.' ), enabled: z.boolean().describe('Whether microfrontends are enabled for this project.'), isDefaultApp: z .boolean() .describe( - 'Whether this project is the default application for the microfrontends group. The default application is the one that is used as the top level shell for the microfrontends group and hosts the other microfrontends.', + 'Whether this project is the default application for the microfrontends group. The default application is the one that is used as the top level shell for the microfrontends group and hosts the other microfrontends.' ) .optional(), defaultRoute: z .string() .describe( - 'A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI. Includes the leading slash, e.g. `/docs`', + 'A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI. Includes the leading slash, e.g. `/docs`' ) .optional(), routeObservabilityToThisProject: z .boolean() - .describe('Whether observability data should be routed to this microfrontend project or a root project.') - .optional(), + .describe( + 'Whether observability data should be routed to this microfrontend project or a root project.' + ) + .optional() }), z.object({ updatedAt: z.number(), @@ -2457,17 +2723,17 @@ export const userEventSchema = z .array(z.union([z.string(), z.string()])) .min(2) .max(2), - enabled: z.boolean(), - }), + enabled: z.boolean() + }) ]) - .optional(), - }), + .optional() + }) }), group: z.object({ id: z.string(), slug: z.string(), - name: z.string(), - }), + name: z.string() + }) }), z.object({ projectId: z.string(), @@ -2478,7 +2744,7 @@ export const userEventSchema = z disabledAt: z.number().optional(), canceledAt: z.number().optional(), enabledAt: z.number().optional(), - hasData: z.boolean().optional(), + hasData: z.boolean().optional() }) .optional(), prevProjectWebAnalytics: z @@ -2487,90 +2753,108 @@ export const userEventSchema = z disabledAt: z.number().optional(), canceledAt: z.number().optional(), enabledAt: z.number().optional(), - hasData: z.boolean().optional(), + hasData: z.boolean().optional() }) .nullable() - .nullish(), + .nullish() }), z.object({ - tier: z.enum(['pro', 'plus']), + tier: z.enum(['pro', 'plus']) }), z.object({ oldName: z.string(), - newName: z.string(), + newName: z.string() }), z.object({ appName: z.string(), - scopes: z.array(z.string()), + scopes: z.array(z.string()) }), z.object({ appName: z.string(), - nextScopes: z.array(z.string()), + nextScopes: z.array(z.string()) }), z.object({ - appName: z.string(), + appName: z.string() }), z.object({ appName: z.string(), - appId: z.string(), + appId: z.string() }), z.object({ team: z.object({ id: z.string(), - name: z.string(), + name: z.string() }), configuration: z.object({ id: z.string(), - name: z.string().optional(), + name: z.string().optional() }), peering: z.object({ id: z.string(), accountId: z.string(), region: z.string(), - vpcId: z.string(), - }), + vpcId: z.string() + }) }), z.object({ team: z.object({ id: z.string(), - name: z.string(), + name: z.string() }), configuration: z.object({ id: z.string(), - name: z.string().optional(), + name: z.string().optional() }), peering: z.object({ id: z.string(), - name: z.string().optional(), - }), + name: z.string().optional() + }) }), z.object({ team: z.object({ id: z.string(), - name: z.string(), + name: z.string() }), configuration: z.object({ id: z.string(), - name: z.string().optional(), + name: z.string().optional() }), peering: z.object({ id: z.string(), - name: z.string().optional(), + name: z.string().optional() }), - newName: z.string().optional(), + newName: z.string().optional() }), z.object({ - grantType: z.enum(['authorization_code', 'refresh_token', 'urn:ietf:params:oauth:grant-type:device_code', 'client_credentials']), + grantType: z.enum([ + 'authorization_code', + 'refresh_token', + 'urn:ietf:params:oauth:grant-type:device_code', + 'client_credentials' + ]), appName: z.string(), atTTL: z.number().describe('access_token TTL'), rtTTL: z.number().describe('refresh_token TTL').optional(), scope: z.string(), - authMethod: z.enum(['email', 'saml', 'app', 'github', 'gitlab', 'bitbucket', 'manual', 'passkey', 'otp', 'sms', 'invite', 'google']), - }), + authMethod: z.enum([ + 'email', + 'saml', + 'app', + 'github', + 'gitlab', + 'bitbucket', + 'manual', + 'passkey', + 'otp', + 'sms', + 'invite', + 'google' + ]) + }) ]) - .optional(), + .optional() }) - .describe('Array of events generated by the User.') + .describe('Array of events generated by the User.'); /** * @description Data representing a Team. @@ -2579,12 +2863,16 @@ export const teamSchema = z .object({ connect: z .object({ - enabled: z.boolean().optional(), + enabled: z.boolean().optional() }) .optional(), creatorId: z.string().describe('The ID of the user who created the Team.'), updatedAt: z.number().describe('Timestamp (in milliseconds) of when the Team was last updated.'), - emailDomain: z.string().describe("Hostname that'll be matched with emails on sign-up to automatically join the Team.").nullable().nullish(), + emailDomain: z + .string() + .describe("Hostname that'll be matched with emails on sign-up to automatically join the Team.") + .nullable() + .nullish(), saml: z .object({ connection: z @@ -2593,7 +2881,10 @@ export const teamSchema = z status: z.string().describe('Current status of the connection.'), state: z.string().describe('Current state of the connection.'), connectedAt: z.number().describe('Timestamp (in milliseconds) of when the configuration was connected.'), - lastReceivedWebhookEvent: z.number().describe('Timestamp (in milliseconds) of when the last webhook event was received from WorkOS.').optional(), + lastReceivedWebhookEvent: z + .number() + .describe('Timestamp (in milliseconds) of when the last webhook event was received from WorkOS.') + .optional() }) .describe('Information for the SAML Single Sign-On configuration.') .optional(), @@ -2602,14 +2893,17 @@ export const teamSchema = z type: z.string().describe('The Identity Provider "type", for example Okta.'), state: z.string().describe('Current state of the connection.'), connectedAt: z.number().describe('Timestamp (in milliseconds) of when the configuration was connected.'), - lastReceivedWebhookEvent: z.number().describe('Timestamp (in milliseconds) of when the last webhook event was received from WorkOS.').optional(), + lastReceivedWebhookEvent: z + .number() + .describe('Timestamp (in milliseconds) of when the last webhook event was received from WorkOS.') + .optional() }) .describe('Information for the Directory Sync configuration.') .optional(), enforced: z .boolean() .describe( - "When `true`, interactions with the Team **must** be done with an authentication token that has been authenticated with the Team's SAML Single Sign-On provider.", + "When `true`, interactions with the Team **must** be done with an authentication token that has been authenticated with the Team's SAML Single Sign-On provider." ), defaultRedirectUri: z .enum(['v0.app', 'v0.dev', 'vercel.com']) @@ -2620,17 +2914,28 @@ export const teamSchema = z .catchall( z.union([ z.object({ - accessGroupId: z.string(), + accessGroupId: z.string() }), - z.enum(['OWNER', 'MEMBER', 'DEVELOPER', 'SECURITY', 'BILLING', 'VIEWER', 'VIEWER_FOR_PLUS', 'CONTRIBUTOR']), - ]), + z.enum([ + 'OWNER', + 'MEMBER', + 'DEVELOPER', + 'SECURITY', + 'BILLING', + 'VIEWER', + 'VIEWER_FOR_PLUS', + 'CONTRIBUTOR' + ]) + ]) ) .describe( - 'When "Directory Sync" is configured, this object contains a mapping of which Directory Group (by ID) should be assigned to which Vercel Team "role".', + 'When "Directory Sync" is configured, this object contains a mapping of which Directory Group (by ID) should be assigned to which Vercel Team "role".' ) - .optional(), + .optional() }) - .describe('When "Single Sign-On (SAML)" is configured, this object contains information regarding the configuration of the Identity Provider (IdP).') + .describe( + 'When "Single Sign-On (SAML)" is configured, this object contains information regarding the configuration of the Identity Provider (IdP).' + ) .optional(), inviteCode: z.string().describe('Code that can be used to join this Team. Only visible to Team owners.').optional(), description: z.string().describe('A short description of the Team.').nullable(), @@ -2638,24 +2943,37 @@ export const teamSchema = z resourceConfig: z .object({ concurrentBuilds: z.number().describe('The total amount of concurrent builds that can be used.').optional(), - elasticConcurrencyEnabled: z.boolean().describe('Whether every build for this team / user has elastic concurrency enabled automatically.').optional(), - edgeConfigSize: z.number().describe('The maximum size in kilobytes of an Edge Config. Only specified if a custom limit is set.').optional(), + elasticConcurrencyEnabled: z + .boolean() + .describe('Whether every build for this team / user has elastic concurrency enabled automatically.') + .optional(), + edgeConfigSize: z + .number() + .describe('The maximum size in kilobytes of an Edge Config. Only specified if a custom limit is set.') + .optional(), edgeConfigs: z.number().describe('The maximum number of edge configs an account can create.').optional(), kvDatabases: z.number().describe('The maximum number of kv databases an account can create.').optional(), blobStores: z.number().describe('The maximum number of blob stores an account can create.').optional(), - postgresDatabases: z.number().describe('The maximum number of postgres databases an account can create.').optional(), + postgresDatabases: z + .number() + .describe('The maximum number of postgres databases an account can create.') + .optional(), buildEntitlements: z .object({ - enhancedBuilds: z.boolean().optional(), + enhancedBuilds: z.boolean().optional() }) - .optional(), + .optional() }) .optional(), - previewDeploymentSuffix: z.string().describe('The hostname that is current set as preview deployment suffix.').nullable().nullish(), + previewDeploymentSuffix: z + .string() + .describe('The hostname that is current set as preview deployment suffix.') + .nullable() + .nullish(), disableHardAutoBlocks: z.union([z.boolean(), z.number()]).optional(), remoteCaching: z .object({ - enabled: z.boolean().optional(), + enabled: z.boolean().optional() }) .describe('Is remote caching enabled for this team') .optional(), @@ -2663,14 +2981,14 @@ export const teamSchema = z .object({ passwordProtection: z .object({ - deploymentType: z.string(), + deploymentType: z.string() }) .optional(), ssoProtection: z .object({ - deploymentType: z.string(), + deploymentType: z.string() }) - .optional(), + .optional() }) .describe('Default deployment protection for this team') .optional(), @@ -2684,15 +3002,27 @@ export const teamSchema = z .describe('Whether toolbar is enabled on production deployments') .nullable() .nullish(), - sensitiveEnvironmentVariablePolicy: z.enum(['default', 'off', 'on']).describe('Sensitive environment variable policy for this team').nullable().nullish(), - hideIpAddresses: z.boolean().describe('Indicates if IP addresses should be accessible in observability (o11y) tooling').nullable().nullish(), - hideIpAddressesInLogDrains: z.boolean().describe('Indicates if IP addresses should be accessible in log drains').nullable().nullish(), + sensitiveEnvironmentVariablePolicy: z + .enum(['default', 'off', 'on']) + .describe('Sensitive environment variable policy for this team') + .nullable() + .nullish(), + hideIpAddresses: z + .boolean() + .describe('Indicates if IP addresses should be accessible in observability (o11y) tooling') + .nullable() + .nullish(), + hideIpAddressesInLogDrains: z + .boolean() + .describe('Indicates if IP addresses should be accessible in log drains') + .nullable() + .nullish(), ipBuckets: z .array( z.object({ bucket: z.string(), - supportUntil: z.number().optional(), - }), + supportUntil: z.number().optional() + }) ) .optional(), id: z.string().describe("The Team's unique identifier."), @@ -2705,15 +3035,28 @@ export const teamSchema = z entitlements: z .array( z.object({ - entitlement: z.string(), - }), + entitlement: z.string() + }) ) .optional(), teamId: z.string().optional(), confirmed: z.boolean(), accessRequestedAt: z.number().optional(), - role: z.enum(['BILLING', 'CONTRIBUTOR', 'DEVELOPER', 'MEMBER', 'OWNER', 'SECURITY', 'VIEWER', 'VIEWER_FOR_PLUS']), - teamRoles: z.array(z.enum(['BILLING', 'CONTRIBUTOR', 'DEVELOPER', 'MEMBER', 'OWNER', 'SECURITY', 'VIEWER', 'VIEWER_FOR_PLUS'])).optional(), + role: z.enum([ + 'BILLING', + 'CONTRIBUTOR', + 'DEVELOPER', + 'MEMBER', + 'OWNER', + 'SECURITY', + 'VIEWER', + 'VIEWER_FOR_PLUS' + ]), + teamRoles: z + .array( + z.enum(['BILLING', 'CONTRIBUTOR', 'DEVELOPER', 'MEMBER', 'OWNER', 'SECURITY', 'VIEWER', 'VIEWER_FOR_PLUS']) + ) + .optional(), teamPermissions: z .array( z.enum([ @@ -2724,15 +3067,27 @@ export const teamSchema = z 'UsageViewer', 'V0Builder', 'V0Chatter', - 'V0Viewer', - ]), + 'V0Viewer' + ]) ) .optional(), createdAt: z.number(), created: z.number(), joinedFrom: z .object({ - origin: z.enum(['bitbucket', 'dsync', 'feedback', 'github', 'gitlab', 'import', 'link', 'mail', 'organization-teams', 'saml', 'teams']), + origin: z.enum([ + 'bitbucket', + 'dsync', + 'feedback', + 'github', + 'gitlab', + 'import', + 'link', + 'mail', + 'organization-teams', + 'saml', + 'teams' + ]), commitId: z.string().optional(), repoId: z.string().optional(), repoPath: z.string().optional(), @@ -2742,14 +3097,14 @@ export const teamSchema = z ssoConnectedAt: z.number().optional(), idpUserId: z.string().optional(), dsyncUserId: z.string().optional(), - dsyncConnectedAt: z.number().optional(), + dsyncConnectedAt: z.number().optional() }) - .optional(), + .optional() }) .describe('The membership of the authenticated User in relation to the Team.'), - createdAt: z.number().describe('UNIX timestamp (in milliseconds) when the Team was created.'), + createdAt: z.number().describe('UNIX timestamp (in milliseconds) when the Team was created.') }) - .describe('Data representing a Team.') + .describe('Data representing a Team.'); /** * @description A limited form of data representing a Team, due to the authentication token missing privileges to read the full Team data. @@ -2759,7 +3114,7 @@ export const teamLimitedSchema = z limited: z .boolean() .describe( - "Property indicating that this Team data contains only limited information, due to the authentication token missing privileges to read the full Team data or due to team having MFA enforced and the user not having MFA enabled. Re-login with the Team's configured SAML Single Sign-On provider in order to upgrade the authentication token with the necessary privileges.", + "Property indicating that this Team data contains only limited information, due to the authentication token missing privileges to read the full Team data or due to team having MFA enforced and the user not having MFA enabled. Re-login with the Team's configured SAML Single Sign-On provider in order to upgrade the authentication token with the necessary privileges." ), limitedBy: z.array(z.enum(['mfa', 'scope'])), saml: z @@ -2770,7 +3125,10 @@ export const teamLimitedSchema = z status: z.string().describe('Current status of the connection.'), state: z.string().describe('Current state of the connection.'), connectedAt: z.number().describe('Timestamp (in milliseconds) of when the configuration was connected.'), - lastReceivedWebhookEvent: z.number().describe('Timestamp (in milliseconds) of when the last webhook event was received from WorkOS.').optional(), + lastReceivedWebhookEvent: z + .number() + .describe('Timestamp (in milliseconds) of when the last webhook event was received from WorkOS.') + .optional() }) .describe('Information for the SAML Single Sign-On configuration.') .optional(), @@ -2779,18 +3137,21 @@ export const teamLimitedSchema = z type: z.string().describe('The Identity Provider "type", for example Okta.'), state: z.string().describe('Current state of the connection.'), connectedAt: z.number().describe('Timestamp (in milliseconds) of when the configuration was connected.'), - lastReceivedWebhookEvent: z.number().describe('Timestamp (in milliseconds) of when the last webhook event was received from WorkOS.').optional(), + lastReceivedWebhookEvent: z + .number() + .describe('Timestamp (in milliseconds) of when the last webhook event was received from WorkOS.') + .optional() }) .describe('Information for the Directory Sync configuration.') .optional(), enforced: z .boolean() .describe( - "When `true`, interactions with the Team **must** be done with an authentication token that has been authenticated with the Team's SAML Single Sign-On provider.", - ), + "When `true`, interactions with the Team **must** be done with an authentication token that has been authenticated with the Team's SAML Single Sign-On provider." + ) }) .describe( - 'When "Single Sign-On (SAML)" is configured, this object contains information that allows the client-side to identify whether or not this Team has SAML enforced.', + 'When "Single Sign-On (SAML)" is configured, this object contains information that allows the client-side to identify whether or not this Team has SAML enforced.' ) .optional(), id: z.string().describe("The Team's unique identifier."), @@ -2803,15 +3164,28 @@ export const teamLimitedSchema = z entitlements: z .array( z.object({ - entitlement: z.string(), - }), + entitlement: z.string() + }) ) .optional(), teamId: z.string().optional(), confirmed: z.boolean(), accessRequestedAt: z.number().optional(), - role: z.enum(['BILLING', 'CONTRIBUTOR', 'DEVELOPER', 'MEMBER', 'OWNER', 'SECURITY', 'VIEWER', 'VIEWER_FOR_PLUS']), - teamRoles: z.array(z.enum(['BILLING', 'CONTRIBUTOR', 'DEVELOPER', 'MEMBER', 'OWNER', 'SECURITY', 'VIEWER', 'VIEWER_FOR_PLUS'])).optional(), + role: z.enum([ + 'BILLING', + 'CONTRIBUTOR', + 'DEVELOPER', + 'MEMBER', + 'OWNER', + 'SECURITY', + 'VIEWER', + 'VIEWER_FOR_PLUS' + ]), + teamRoles: z + .array( + z.enum(['BILLING', 'CONTRIBUTOR', 'DEVELOPER', 'MEMBER', 'OWNER', 'SECURITY', 'VIEWER', 'VIEWER_FOR_PLUS']) + ) + .optional(), teamPermissions: z .array( z.enum([ @@ -2822,15 +3196,27 @@ export const teamLimitedSchema = z 'UsageViewer', 'V0Builder', 'V0Chatter', - 'V0Viewer', - ]), + 'V0Viewer' + ]) ) .optional(), createdAt: z.number(), created: z.number(), joinedFrom: z .object({ - origin: z.enum(['bitbucket', 'dsync', 'feedback', 'github', 'gitlab', 'import', 'link', 'mail', 'organization-teams', 'saml', 'teams']), + origin: z.enum([ + 'bitbucket', + 'dsync', + 'feedback', + 'github', + 'gitlab', + 'import', + 'link', + 'mail', + 'organization-teams', + 'saml', + 'teams' + ]), commitId: z.string().optional(), repoId: z.string().optional(), repoPath: z.string().optional(), @@ -2840,14 +3226,16 @@ export const teamLimitedSchema = z ssoConnectedAt: z.number().optional(), idpUserId: z.string().optional(), dsyncUserId: z.string().optional(), - dsyncConnectedAt: z.number().optional(), + dsyncConnectedAt: z.number().optional() }) - .optional(), + .optional() }) .describe('The membership of the authenticated User in relation to the Team.'), - createdAt: z.number().describe('UNIX timestamp (in milliseconds) when the Team was created.'), + createdAt: z.number().describe('UNIX timestamp (in milliseconds) when the Team was created.') }) - .describe('A limited form of data representing a Team, due to the authentication token missing privileges to read the full Team data.') + .describe( + 'A limited form of data representing a Team, due to the authentication token missing privileges to read the full Team data.' + ); /** * @description Authentication token metadata. @@ -2866,29 +3254,59 @@ export const authTokenSchema = z sudo: z .object({ origin: z.enum(['totp', 'webauthn', 'recovery-code']).describe('Possible multi-factor origins'), - expiresAt: z.number(), + expiresAt: z.number() }) .optional(), - origin: z.enum(['saml', 'github', 'gitlab', 'bitbucket', 'email', 'manual', 'passkey', 'otp', 'sms', 'invite', 'google', 'app']).optional(), + origin: z + .enum([ + 'saml', + 'github', + 'gitlab', + 'bitbucket', + 'email', + 'manual', + 'passkey', + 'otp', + 'sms', + 'invite', + 'google', + 'app' + ]) + .optional(), createdAt: z.number(), - expiresAt: z.number().optional(), + expiresAt: z.number().optional() }), z.object({ type: z.enum(['team']), teamId: z.string(), - origin: z.enum(['saml', 'github', 'gitlab', 'bitbucket', 'email', 'manual', 'passkey', 'otp', 'sms', 'invite', 'google', 'app']).optional(), + origin: z + .enum([ + 'saml', + 'github', + 'gitlab', + 'bitbucket', + 'email', + 'manual', + 'passkey', + 'otp', + 'sms', + 'invite', + 'google', + 'app' + ]) + .optional(), createdAt: z.number(), - expiresAt: z.number().optional(), - }), - ]), + expiresAt: z.number().optional() + }) + ]) ) .describe('The access scopes granted to the token.') .optional(), expiresAt: z.number().describe('Timestamp (in milliseconds) of when the token expires.').optional(), activeAt: z.number().describe('Timestamp (in milliseconds) of when the token was most recently used.'), - createdAt: z.number().describe('Timestamp (in milliseconds) of when the token was created.'), + createdAt: z.number().describe('Timestamp (in milliseconds) of when the token was created.') }) - .describe('Authentication token metadata.') + .describe('Authentication token metadata.'); /** * @description Data for the currently authenticated User. @@ -2905,7 +3323,7 @@ export const authUserSchema = z 'FAIR_USE_LIMITS_EXCEEDED', 'SUBSCRIPTION_CANCELED', 'SUBSCRIPTION_EXPIRED', - 'UNPAID_INVOICE', + 'UNPAID_INVOICE' ]), blockedDueToOverageType: z .enum([ @@ -2947,163 +3365,240 @@ export const authUserSchema = z 'wafOwaspExcessBytes', 'wafOwaspRequests', 'wafRateLimitRequest', - 'webAnalyticsEvent', + 'webAnalyticsEvent' ]) - .optional(), + .optional() }) .describe( - 'When the User account has been "soft blocked", this property will contain the date when the restriction was enacted, and the identifier for why.', + 'When the User account has been "soft blocked", this property will contain the date when the restriction was enacted, and the identifier for why.' ) .nullable(), - billing: z.object({}).describe('An object containing billing infomation associated with the User account.').nullable(), + billing: z + .object({}) + .describe('An object containing billing infomation associated with the User account.') + .nullable(), resourceConfig: z .object({ nodeType: z .string() - .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') + .describe( + 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' + ) .optional(), concurrentBuilds: z .number() - .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') + .describe( + 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' + ) .optional(), elasticConcurrencyEnabled: z .boolean() - .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') + .describe( + 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' + ) .optional(), buildEntitlements: z .object({ enhancedBuilds: z .boolean() - .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') - .optional(), + .describe( + 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' + ) + .optional() }) - .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') + .describe( + 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' + ) .optional(), awsAccountType: z .string() - .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') + .describe( + 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' + ) .optional(), awsAccountIds: z .array(z.string()) - .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') + .describe( + 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' + ) .optional(), cfZoneName: z .string() - .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') + .describe( + 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' + ) .optional(), imageOptimizationType: z .string() - .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') + .describe( + 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' + ) .optional(), edgeConfigs: z .number() - .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') + .describe( + 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' + ) .optional(), edgeConfigSize: z .number() - .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') + .describe( + 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' + ) .optional(), edgeFunctionMaxSizeBytes: z .number() - .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') + .describe( + 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' + ) .optional(), edgeFunctionExecutionTimeoutMs: z .number() - .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') + .describe( + 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' + ) .optional(), serverlessFunctionMaxMemorySize: z .number() - .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') + .describe( + 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' + ) .optional(), kvDatabases: z .number() - .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') + .describe( + 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' + ) .optional(), postgresDatabases: z .number() - .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') + .describe( + 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' + ) .optional(), blobStores: z .number() - .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') + .describe( + 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' + ) .optional(), integrationStores: z .number() - .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') + .describe( + 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' + ) .optional(), cronJobs: z .number() - .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') + .describe( + 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' + ) .optional(), cronJobsPerProject: z .number() - .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') + .describe( + 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' + ) .optional(), microfrontendGroupsPerTeam: z .number() - .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') + .describe( + 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' + ) .optional(), microfrontendProjectsPerGroup: z .number() - .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') + .describe( + 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' + ) .optional(), flagsExplorerOverridesThreshold: z .number() - .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') + .describe( + 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' + ) .optional(), flagsExplorerUnlimitedOverrides: z .boolean() - .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') + .describe( + 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' + ) .optional(), customEnvironmentsPerProject: z .number() - .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') + .describe( + 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' + ) .optional(), buildMachine: z .object({ purchaseType: z .enum(['enhanced', 'turbo']) - .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') + .describe( + 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' + ) .optional(), isDefaultBuildMachine: z .boolean() - .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') + .describe( + 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' + ) .optional(), cores: z .number() - .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') + .describe( + 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' + ) .optional(), memory: z .number() - .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') - .optional(), + .describe( + 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' + ) + .optional() }) - .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') + .describe( + 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' + ) .optional(), security: z .object({ customRules: z .number() - .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') + .describe( + 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' + ) .optional(), ipBlocks: z .number() - .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') + .describe( + 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' + ) .optional(), ipBypass: z .number() - .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') + .describe( + 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' + ) .optional(), rateLimit: z .number() - .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') - .optional(), + .describe( + 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' + ) + .optional() }) - .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.') - .optional(), + .describe( + 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' + ) + .optional() }) - .describe('An object containing infomation related to the amount of platform resources may be allocated to the User account.'), - stagingPrefix: z.string().describe('Prefix that will be used in the URL of "Preview" deployments created by the User account.'), + .describe( + 'An object containing infomation related to the amount of platform resources may be allocated to the User account.' + ), + stagingPrefix: z + .string() + .describe('Prefix that will be used in the URL of "Preview" deployments created by the User account.'), activeDashboardViews: z .array( z @@ -3111,21 +3606,24 @@ export const authUserSchema = z scopeId: z.string(), viewPreference: z.enum(['cards', 'list']).nullable().nullish(), favoritesViewPreference: z.enum(['closed', 'open']).nullable().nullish(), - recentsViewPreference: z.enum(['closed', 'open']).nullable().nullish(), + recentsViewPreference: z.enum(['closed', 'open']).nullable().nullish() }) - .describe('set of dashboard view preferences (cards or list) per scopeId'), + .describe('set of dashboard view preferences (cards or list) per scopeId') ) .describe('set of dashboard view preferences (cards or list) per scopeId') .optional(), importFlowGitNamespace: z.union([z.string(), z.number()]).nullable().nullish(), importFlowGitNamespaceId: z.union([z.string(), z.number()]).nullable().nullish(), - importFlowGitProvider: z.enum(['bitbucket', 'github', 'github-custom-host', 'github-limited', 'gitlab']).nullable().nullish(), + importFlowGitProvider: z + .enum(['bitbucket', 'github', 'github-custom-host', 'github-limited', 'gitlab']) + .nullable() + .nullish(), preferredScopesAndGitNamespaces: z .array( z.object({ scopeId: z.string(), - gitNamespaceId: z.union([z.string(), z.number()]).nullable(), - }), + gitNamespaceId: z.union([z.string(), z.number()]).nullable() + }) ) .optional(), dismissedToasts: z @@ -3136,11 +3634,11 @@ export const authUserSchema = z dismissals: z.array( z.object({ scopeId: z.string(), - createdAt: z.number(), - }), - ), + createdAt: z.number() + }) + ) }) - .describe('A record of when, under a certain scopeId, a toast was dismissed'), + .describe('A record of when, under a certain scopeId, a toast was dismissed') ) .describe('A record of when, under a certain scopeId, a toast was dismissed') .optional(), @@ -3149,22 +3647,22 @@ export const authUserSchema = z z .object({ teamId: z.string(), - projectId: z.string(), + projectId: z.string() }) - .describe('A list of projects and spaces across teams that a user has marked as a favorite.'), + .describe('A list of projects and spaces across teams that a user has marked as a favorite.') ) .describe('A list of projects and spaces across teams that a user has marked as a favorite.') .optional(), hasTrialAvailable: z.boolean().describe('Whether the user has a trial available for a paid plan subscription.'), remoteCaching: z .object({ - enabled: z.boolean().optional(), + enabled: z.boolean().optional() }) .describe('remote caching settings') .optional(), dataCache: z .object({ - excessBillingEnabled: z.boolean().optional(), + excessBillingEnabled: z.boolean().optional() }) .describe('data cache settings') .optional(), @@ -3174,9 +3672,9 @@ export const authUserSchema = z .object({ blockedFrom: z.number().optional(), blockedUntil: z.number().optional(), - isCurrentlyBlocked: z.boolean(), + isCurrentlyBlocked: z.boolean() }) - .optional(), + .optional() }) .describe('Feature blocks for the user') .optional(), @@ -3186,11 +3684,13 @@ export const authUserSchema = z username: z.string().describe('Unique username associated with the User account.'), avatar: z .string() - .describe('SHA1 hash of the avatar for the User account. Can be used in conjuction with the ... endpoint to retrieve the avatar image.') + .describe( + 'SHA1 hash of the avatar for the User account. Can be used in conjuction with the ... endpoint to retrieve the avatar image.' + ) .nullable(), - defaultTeamId: z.string().describe("The user's default team.").nullable(), + defaultTeamId: z.string().describe("The user's default team.").nullable() }) - .describe('Data for the currently authenticated User.') + .describe('Data for the currently authenticated User.'); /** * @description A limited form of data for the currently authenticated User, due to the authentication token missing privileges to read the full User data. @@ -3200,7 +3700,7 @@ export const authUserLimitedSchema = z limited: z .boolean() .describe( - 'Property indicating that this User data contains only limited information, due to the authentication token missing privileges to read the full User data. Re-login with email, GitHub, GitLab or Bitbucket in order to upgrade the authentication token with the necessary privileges.', + 'Property indicating that this User data contains only limited information, due to the authentication token missing privileges to read the full User data. Re-login with email, GitHub, GitLab or Bitbucket in order to upgrade the authentication token with the necessary privileges.' ), id: z.string().describe("The User's unique identifier."), email: z.string().describe('Email address associated with the User account.'), @@ -3208,11 +3708,15 @@ export const authUserLimitedSchema = z username: z.string().describe('Unique username associated with the User account.'), avatar: z .string() - .describe('SHA1 hash of the avatar for the User account. Can be used in conjuction with the ... endpoint to retrieve the avatar image.') + .describe( + 'SHA1 hash of the avatar for the User account. Can be used in conjuction with the ... endpoint to retrieve the avatar image.' + ) .nullable(), - defaultTeamId: z.string().describe("The user's default team.").nullable(), + defaultTeamId: z.string().describe("The user's default team.").nullable() }) - .describe('A limited form of data for the currently authenticated User, due to the authentication token missing privileges to read the full User data.') + .describe( + 'A limited form of data for the currently authenticated User, due to the authentication token missing privileges to read the full User data.' + ); /** * @description A deployment file tree entry @@ -3220,1002 +3724,1094 @@ export const authUserLimitedSchema = z export const fileTreeSchema = z .object({ name: z.string().describe('The name of the file tree entry'), - type: z.enum(['directory', 'file', 'invalid', 'lambda', 'middleware', 'symlink']).describe('String indicating the type of file tree entry.'), + type: z + .enum(['directory', 'file', 'invalid', 'lambda', 'middleware', 'symlink']) + .describe('String indicating the type of file tree entry.'), uid: z.string().describe('The unique identifier of the file (only valid for the `file` type)').optional(), - children: z.array(z.unknown()).describe('The list of children files of the directory (only valid for the `directory` type)').optional(), + children: z + .array(z.unknown()) + .describe('The list of children files of the directory (only valid for the `directory` type)') + .optional(), contentType: z.string().describe('The content-type of the file (only valid for the `file` type)').optional(), mode: z.number().describe('The file "mode" indicating file type and permissions.'), - symlink: z.string().describe('Not currently used. See `file-list-to-tree.ts`.').optional(), + symlink: z.string().describe('Not currently used. See `file-list-to-tree.ts`.').optional() }) - .describe('A deployment file tree entry') + .describe('A deployment file tree entry'); export const readAccessGroupPathParamsSchema = z.object({ - idOrName: z.string(), -}) + idOrName: z.string() +}); export const readAccessGroupQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const readAccessGroup200Schema = z.unknown() +export const readAccessGroup200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const readAccessGroup400Schema = z.unknown() +export const readAccessGroup400Schema = z.unknown(); -export const readAccessGroup401Schema = z.unknown() +export const readAccessGroup401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const readAccessGroup403Schema = z.unknown() +export const readAccessGroup403Schema = z.unknown(); -export const readAccessGroupQueryResponseSchema = z.lazy(() => readAccessGroup200Schema) +export const readAccessGroupQueryResponseSchema = z.lazy(() => readAccessGroup200Schema); export const updateAccessGroupPathParamsSchema = z.object({ - idOrName: z.string(), -}) + idOrName: z.string() +}); export const updateAccessGroupQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const updateAccessGroup200Schema = z.unknown() +export const updateAccessGroup200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const updateAccessGroup400Schema = z.unknown() +export const updateAccessGroup400Schema = z.unknown(); -export const updateAccessGroup401Schema = z.unknown() +export const updateAccessGroup401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const updateAccessGroup403Schema = z.unknown() +export const updateAccessGroup403Schema = z.unknown(); -export const updateAccessGroupMutationResponseSchema = z.lazy(() => updateAccessGroup200Schema) +export const updateAccessGroupMutationResponseSchema = z.lazy(() => updateAccessGroup200Schema); export const deleteAccessGroupPathParamsSchema = z.object({ - idOrName: z.string(), -}) + idOrName: z.string() +}); export const deleteAccessGroupQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const deleteAccessGroup200Schema = z.unknown() +export const deleteAccessGroup200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const deleteAccessGroup400Schema = z.unknown() +export const deleteAccessGroup400Schema = z.unknown(); -export const deleteAccessGroup401Schema = z.unknown() +export const deleteAccessGroup401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const deleteAccessGroup403Schema = z.unknown() +export const deleteAccessGroup403Schema = z.unknown(); -export const deleteAccessGroupMutationResponseSchema = z.lazy(() => deleteAccessGroup200Schema) +export const deleteAccessGroupMutationResponseSchema = z.lazy(() => deleteAccessGroup200Schema); export const listAccessGroupMembersPathParamsSchema = z.object({ - idOrName: z.string().describe('The ID or name of the Access Group.'), -}) + idOrName: z.string().describe('The ID or name of the Access Group.') +}); export const listAccessGroupMembersQueryParamsSchema = z .object({ - limit: z.coerce.number().int().min(1).max(100).describe('Limit how many access group members should be returned.').optional(), + limit: z.coerce + .number() + .int() + .min(1) + .max(100) + .describe('Limit how many access group members should be returned.') + .optional(), next: z.string().describe('Continuation cursor to retrieve the next page of results.').optional(), search: z.string().describe('Search project members by their name, username, and email.').optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const listAccessGroupMembers200Schema = z.unknown() +export const listAccessGroupMembers200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const listAccessGroupMembers400Schema = z.unknown() +export const listAccessGroupMembers400Schema = z.unknown(); -export const listAccessGroupMembers401Schema = z.unknown() +export const listAccessGroupMembers401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const listAccessGroupMembers403Schema = z.unknown() +export const listAccessGroupMembers403Schema = z.unknown(); -export const listAccessGroupMembersQueryResponseSchema = z.lazy(() => listAccessGroupMembers200Schema) +export const listAccessGroupMembersQueryResponseSchema = z.lazy(() => listAccessGroupMembers200Schema); export const listAccessGroupsQueryParamsSchema = z .object({ projectId: z.string().describe('Filter access groups by project.').optional(), search: z.string().describe('Search for access groups by name.').optional(), - membersLimit: z.coerce.number().int().min(1).max(100).describe('Number of members to include in the response.').optional(), - projectsLimit: z.coerce.number().int().min(1).max(100).describe('Number of projects to include in the response.').optional(), - limit: z.coerce.number().int().min(1).max(100).describe('Limit how many access group should be returned.').optional(), + membersLimit: z.coerce + .number() + .int() + .min(1) + .max(100) + .describe('Number of members to include in the response.') + .optional(), + projectsLimit: z.coerce + .number() + .int() + .min(1) + .max(100) + .describe('Number of projects to include in the response.') + .optional(), + limit: z.coerce + .number() + .int() + .min(1) + .max(100) + .describe('Limit how many access group should be returned.') + .optional(), next: z.string().describe('Continuation cursor to retrieve the next page of results.').optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const listAccessGroups200Schema = z.unknown() +export const listAccessGroups200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const listAccessGroups400Schema = z.unknown() +export const listAccessGroups400Schema = z.unknown(); -export const listAccessGroups401Schema = z.unknown() +export const listAccessGroups401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const listAccessGroups403Schema = z.unknown() +export const listAccessGroups403Schema = z.unknown(); -export const listAccessGroupsQueryResponseSchema = z.lazy(() => listAccessGroups200Schema) +export const listAccessGroupsQueryResponseSchema = z.lazy(() => listAccessGroups200Schema); export const createAccessGroupQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const createAccessGroup200Schema = z.unknown() +export const createAccessGroup200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid. */ -export const createAccessGroup400Schema = z.unknown() +export const createAccessGroup400Schema = z.unknown(); -export const createAccessGroup401Schema = z.unknown() +export const createAccessGroup401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const createAccessGroup403Schema = z.unknown() +export const createAccessGroup403Schema = z.unknown(); -export const createAccessGroupMutationResponseSchema = z.lazy(() => createAccessGroup200Schema) +export const createAccessGroupMutationResponseSchema = z.lazy(() => createAccessGroup200Schema); export const listAccessGroupProjectsPathParamsSchema = z.object({ - idOrName: z.string().describe('The ID or name of the Access Group.'), -}) + idOrName: z.string().describe('The ID or name of the Access Group.') +}); export const listAccessGroupProjectsQueryParamsSchema = z .object({ - limit: z.coerce.number().int().min(1).max(100).describe('Limit how many access group projects should be returned.').optional(), + limit: z.coerce + .number() + .int() + .min(1) + .max(100) + .describe('Limit how many access group projects should be returned.') + .optional(), next: z.string().describe('Continuation cursor to retrieve the next page of results.').optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const listAccessGroupProjects200Schema = z.unknown() +export const listAccessGroupProjects200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const listAccessGroupProjects400Schema = z.unknown() +export const listAccessGroupProjects400Schema = z.unknown(); -export const listAccessGroupProjects401Schema = z.unknown() +export const listAccessGroupProjects401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const listAccessGroupProjects403Schema = z.unknown() +export const listAccessGroupProjects403Schema = z.unknown(); -export const listAccessGroupProjectsQueryResponseSchema = z.lazy(() => listAccessGroupProjects200Schema) +export const listAccessGroupProjectsQueryResponseSchema = z.lazy(() => listAccessGroupProjects200Schema); export const createAccessGroupProjectPathParamsSchema = z.object({ - accessGroupIdOrName: z.string(), -}) + accessGroupIdOrName: z.string() +}); export const createAccessGroupProjectQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const createAccessGroupProject200Schema = z.unknown() +export const createAccessGroupProject200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const createAccessGroupProject400Schema = z.unknown() +export const createAccessGroupProject400Schema = z.unknown(); -export const createAccessGroupProject401Schema = z.unknown() +export const createAccessGroupProject401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const createAccessGroupProject403Schema = z.unknown() +export const createAccessGroupProject403Schema = z.unknown(); -export const createAccessGroupProjectMutationResponseSchema = z.lazy(() => createAccessGroupProject200Schema) +export const createAccessGroupProjectMutationResponseSchema = z.lazy(() => createAccessGroupProject200Schema); export const readAccessGroupProjectPathParamsSchema = z.object({ accessGroupIdOrName: z.string(), - projectId: z.string(), -}) + projectId: z.string() +}); export const readAccessGroupProjectQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const readAccessGroupProject200Schema = z.unknown() +export const readAccessGroupProject200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const readAccessGroupProject400Schema = z.unknown() +export const readAccessGroupProject400Schema = z.unknown(); -export const readAccessGroupProject401Schema = z.unknown() +export const readAccessGroupProject401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const readAccessGroupProject403Schema = z.unknown() +export const readAccessGroupProject403Schema = z.unknown(); -export const readAccessGroupProjectQueryResponseSchema = z.lazy(() => readAccessGroupProject200Schema) +export const readAccessGroupProjectQueryResponseSchema = z.lazy(() => readAccessGroupProject200Schema); export const updateAccessGroupProjectPathParamsSchema = z.object({ accessGroupIdOrName: z.string(), - projectId: z.string(), -}) + projectId: z.string() +}); export const updateAccessGroupProjectQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const updateAccessGroupProject200Schema = z.unknown() +export const updateAccessGroupProject200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const updateAccessGroupProject400Schema = z.unknown() +export const updateAccessGroupProject400Schema = z.unknown(); -export const updateAccessGroupProject401Schema = z.unknown() +export const updateAccessGroupProject401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const updateAccessGroupProject403Schema = z.unknown() +export const updateAccessGroupProject403Schema = z.unknown(); -export const updateAccessGroupProjectMutationResponseSchema = z.lazy(() => updateAccessGroupProject200Schema) +export const updateAccessGroupProjectMutationResponseSchema = z.lazy(() => updateAccessGroupProject200Schema); export const deleteAccessGroupProjectPathParamsSchema = z.object({ accessGroupIdOrName: z.string(), - projectId: z.string(), -}) + projectId: z.string() +}); export const deleteAccessGroupProjectQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const deleteAccessGroupProject200Schema = z.unknown() +export const deleteAccessGroupProject200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const deleteAccessGroupProject400Schema = z.unknown() +export const deleteAccessGroupProject400Schema = z.unknown(); -export const deleteAccessGroupProject401Schema = z.unknown() +export const deleteAccessGroupProject401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const deleteAccessGroupProject403Schema = z.unknown() +export const deleteAccessGroupProject403Schema = z.unknown(); -export const deleteAccessGroupProjectMutationResponseSchema = z.lazy(() => deleteAccessGroupProject200Schema) +export const deleteAccessGroupProjectMutationResponseSchema = z.lazy(() => deleteAccessGroupProject200Schema); export const recordEventsQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); export const recordEventsHeaderParamsSchema = z .object({ - 'x-artifact-client-ci': z.string().max(50).describe('The continuous integration or delivery environment where this artifact is downloaded.').optional(), - 'x-artifact-client-interactive': z.coerce.number().int().min(0).max(1).describe('1 if the client is an interactive shell. Otherwise 0').optional(), + 'x-artifact-client-ci': z + .string() + .max(50) + .describe('The continuous integration or delivery environment where this artifact is downloaded.') + .optional(), + 'x-artifact-client-interactive': z.coerce + .number() + .int() + .min(0) + .max(1) + .describe('1 if the client is an interactive shell. Otherwise 0') + .optional() }) - .optional() + .optional(); /** * @description Success. Event recorded. */ -export const recordEvents200Schema = z.unknown() +export const recordEvents200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the headers is invalid */ -export const recordEvents400Schema = z.unknown() +export const recordEvents400Schema = z.unknown(); -export const recordEvents401Schema = z.unknown() +export const recordEvents401Schema = z.unknown(); /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export const recordEvents402Schema = z.unknown() +export const recordEvents402Schema = z.unknown(); /** * @description The customer has reached their spend cap limit and has been paused. An owner can disable the cap or raise the limit in settings.\nThe Remote Caching usage limit has been reached for this account for this billing cycle.\nRemote Caching has been disabled for this team or user. An owner can enable it in the billing settings.\nYou do not have permission to access this resource. */ -export const recordEvents403Schema = z.unknown() +export const recordEvents403Schema = z.unknown(); -export const recordEventsMutationResponseSchema = z.lazy(() => recordEvents200Schema) +export const recordEventsMutationResponseSchema = z.lazy(() => recordEvents200Schema); export const statusQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const status200Schema = z.unknown() +export const status200Schema = z.unknown(); -export const status400Schema = z.unknown() +export const status400Schema = z.unknown(); -export const status401Schema = z.unknown() +export const status401Schema = z.unknown(); /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export const status402Schema = z.unknown() +export const status402Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const status403Schema = z.unknown() +export const status403Schema = z.unknown(); -export const statusQueryResponseSchema = z.lazy(() => status200Schema) +export const statusQueryResponseSchema = z.lazy(() => status200Schema); export const uploadArtifactPathParamsSchema = z.object({ - hash: z.string().describe('The artifact hash'), -}) + hash: z.string().describe('The artifact hash') +}); export const uploadArtifactQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); export const uploadArtifactHeaderParamsSchema = z.object({ 'Content-Length': z.coerce.number().describe('The artifact size in bytes'), - 'x-artifact-duration': z.coerce.number().describe('The time taken to generate the uploaded artifact in milliseconds.').optional(), - 'x-artifact-client-ci': z.string().max(50).describe('The continuous integration or delivery environment where this artifact was generated.').optional(), - 'x-artifact-client-interactive': z.coerce.number().int().min(0).max(1).describe('1 if the client is an interactive shell. Otherwise 0').optional(), + 'x-artifact-duration': z.coerce + .number() + .describe('The time taken to generate the uploaded artifact in milliseconds.') + .optional(), + 'x-artifact-client-ci': z + .string() + .max(50) + .describe('The continuous integration or delivery environment where this artifact was generated.') + .optional(), + 'x-artifact-client-interactive': z.coerce + .number() + .int() + .min(0) + .max(1) + .describe('1 if the client is an interactive shell. Otherwise 0') + .optional(), 'x-artifact-tag': z .string() .max(600) - .describe('The base64 encoded tag for this artifact. The value is sent back to clients when the artifact is downloaded as the header `x-artifact-tag`') - .optional(), -}) + .describe( + 'The base64 encoded tag for this artifact. The value is sent back to clients when the artifact is downloaded as the header `x-artifact-tag`' + ) + .optional() +}); /** * @description File successfully uploaded */ -export const uploadArtifact202Schema = z.unknown() +export const uploadArtifact202Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid.\nOne of the provided values in the headers is invalid\nFile size is not valid */ -export const uploadArtifact400Schema = z.unknown() +export const uploadArtifact400Schema = z.unknown(); -export const uploadArtifact401Schema = z.unknown() +export const uploadArtifact401Schema = z.unknown(); /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export const uploadArtifact402Schema = z.unknown() +export const uploadArtifact402Schema = z.unknown(); /** * @description The customer has reached their spend cap limit and has been paused. An owner can disable the cap or raise the limit in settings.\nThe Remote Caching usage limit has been reached for this account for this billing cycle.\nRemote Caching has been disabled for this team or user. An owner can enable it in the billing settings.\nYou do not have permission to access this resource. */ -export const uploadArtifact403Schema = z.unknown() +export const uploadArtifact403Schema = z.unknown(); -export const uploadArtifactMutationResponseSchema = z.lazy(() => uploadArtifact202Schema) +export const uploadArtifactMutationResponseSchema = z.lazy(() => uploadArtifact202Schema); export const downloadArtifactPathParamsSchema = z.object({ - hash: z.string().describe('The artifact hash'), -}) + hash: z.string().describe('The artifact hash') +}); export const downloadArtifactQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); export const downloadArtifactHeaderParamsSchema = z .object({ - 'x-artifact-client-ci': z.string().max(50).describe('The continuous integration or delivery environment where this artifact is downloaded.').optional(), - 'x-artifact-client-interactive': z.coerce.number().int().min(0).max(1).describe('1 if the client is an interactive shell. Otherwise 0').optional(), + 'x-artifact-client-ci': z + .string() + .max(50) + .describe('The continuous integration or delivery environment where this artifact is downloaded.') + .optional(), + 'x-artifact-client-interactive': z.coerce + .number() + .int() + .min(0) + .max(1) + .describe('1 if the client is an interactive shell. Otherwise 0') + .optional() }) - .optional() + .optional(); /** * @description The artifact was found and is downloaded as a stream. Content-Length should be verified. */ -export const downloadArtifact200Schema = z.unknown() +export const downloadArtifact200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid.\nOne of the provided values in the headers is invalid */ -export const downloadArtifact400Schema = z.unknown() +export const downloadArtifact400Schema = z.unknown(); -export const downloadArtifact401Schema = z.unknown() +export const downloadArtifact401Schema = z.unknown(); /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export const downloadArtifact402Schema = z.unknown() +export const downloadArtifact402Schema = z.unknown(); /** * @description The customer has reached their spend cap limit and has been paused. An owner can disable the cap or raise the limit in settings.\nThe Remote Caching usage limit has been reached for this account for this billing cycle.\nRemote Caching has been disabled for this team or user. An owner can enable it in the billing settings.\nYou do not have permission to access this resource. */ -export const downloadArtifact403Schema = z.unknown() +export const downloadArtifact403Schema = z.unknown(); /** * @description The artifact was not found */ -export const downloadArtifact404Schema = z.unknown() +export const downloadArtifact404Schema = z.unknown(); -export const downloadArtifactQueryResponseSchema = z.lazy(() => downloadArtifact200Schema) +export const downloadArtifactQueryResponseSchema = z.lazy(() => downloadArtifact200Schema); export const artifactQueryQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const artifactQuery200Schema = z.unknown() +export const artifactQuery200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid. */ -export const artifactQuery400Schema = z.unknown() +export const artifactQuery400Schema = z.unknown(); -export const artifactQuery401Schema = z.unknown() +export const artifactQuery401Schema = z.unknown(); /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export const artifactQuery402Schema = z.unknown() +export const artifactQuery402Schema = z.unknown(); /** * @description The customer has reached their spend cap limit and has been paused. An owner can disable the cap or raise the limit in settings.\nThe Remote Caching usage limit has been reached for this account for this billing cycle.\nRemote Caching has been disabled for this team or user. An owner can enable it in the billing settings.\nYou do not have permission to access this resource. */ -export const artifactQuery403Schema = z.unknown() +export const artifactQuery403Schema = z.unknown(); -export const artifactQueryMutationResponseSchema = z.lazy(() => artifactQuery200Schema) +export const artifactQueryMutationResponseSchema = z.lazy(() => artifactQuery200Schema); export const createCheckPathParamsSchema = z.object({ - deploymentId: z.string().describe('The deployment to create the check for.'), -}) + deploymentId: z.string().describe('The deployment to create the check for.') +}); export const createCheckQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const createCheck200Schema = z.unknown() +export const createCheck200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nCannot create check for finished deployment\nThe provided token is not from an OAuth2 Client */ -export const createCheck400Schema = z.unknown() +export const createCheck400Schema = z.unknown(); -export const createCheck401Schema = z.unknown() +export const createCheck401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const createCheck403Schema = z.unknown() +export const createCheck403Schema = z.unknown(); /** * @description The deployment was not found */ -export const createCheck404Schema = z.unknown() +export const createCheck404Schema = z.unknown(); -export const createCheckMutationResponseSchema = z.lazy(() => createCheck200Schema) +export const createCheckMutationResponseSchema = z.lazy(() => createCheck200Schema); export const getAllChecksPathParamsSchema = z.object({ - deploymentId: z.string().describe('The deployment to get all checks for'), -}) + deploymentId: z.string().describe('The deployment to get all checks for') +}); export const getAllChecksQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const getAllChecks200Schema = z.unknown() +export const getAllChecks200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const getAllChecks400Schema = z.unknown() +export const getAllChecks400Schema = z.unknown(); -export const getAllChecks401Schema = z.unknown() +export const getAllChecks401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getAllChecks403Schema = z.unknown() +export const getAllChecks403Schema = z.unknown(); /** * @description The deployment was not found */ -export const getAllChecks404Schema = z.unknown() +export const getAllChecks404Schema = z.unknown(); -export const getAllChecksQueryResponseSchema = z.lazy(() => getAllChecks200Schema) +export const getAllChecksQueryResponseSchema = z.lazy(() => getAllChecks200Schema); export const getCheckPathParamsSchema = z.object({ deploymentId: z.string().describe('The deployment to get the check for.'), - checkId: z.string().describe('The check to fetch'), -}) + checkId: z.string().describe('The check to fetch') +}); export const getCheckQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const getCheck200Schema = z.unknown() +export const getCheck200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const getCheck400Schema = z.unknown() +export const getCheck400Schema = z.unknown(); -export const getCheck401Schema = z.unknown() +export const getCheck401Schema = z.unknown(); /** * @description You do not have permission to access this resource.\nThe provided token is not from an OAuth2 Client that created the Check */ -export const getCheck403Schema = z.unknown() +export const getCheck403Schema = z.unknown(); /** * @description Check was not found\nThe deployment was not found */ -export const getCheck404Schema = z.unknown() +export const getCheck404Schema = z.unknown(); -export const getCheckQueryResponseSchema = z.lazy(() => getCheck200Schema) +export const getCheckQueryResponseSchema = z.lazy(() => getCheck200Schema); export const updateCheckPathParamsSchema = z.object({ deploymentId: z.string().describe('The deployment to update the check for.'), - checkId: z.string().describe('The check being updated'), -}) + checkId: z.string().describe('The check being updated') +}); export const updateCheckQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const updateCheck200Schema = z.unknown() +export const updateCheck200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nThe provided token is not from an OAuth2 Client */ -export const updateCheck400Schema = z.unknown() +export const updateCheck400Schema = z.unknown(); -export const updateCheck401Schema = z.unknown() +export const updateCheck401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const updateCheck403Schema = z.unknown() +export const updateCheck403Schema = z.unknown(); /** * @description Check was not found\nThe deployment was not found */ -export const updateCheck404Schema = z.unknown() +export const updateCheck404Schema = z.unknown(); /** * @description The output provided is too large */ -export const updateCheck413Schema = z.unknown() +export const updateCheck413Schema = z.unknown(); -export const updateCheckMutationResponseSchema = z.lazy(() => updateCheck200Schema) +export const updateCheckMutationResponseSchema = z.lazy(() => updateCheck200Schema); export const rerequestCheckPathParamsSchema = z.object({ deploymentId: z.string().describe('The deployment to rerun the check for.'), - checkId: z.string().describe('The check to rerun'), -}) + checkId: z.string().describe('The check to rerun') +}); export const rerequestCheckQueryParamsSchema = z .object({ autoUpdate: z.boolean().describe('Mark the check as running').optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const rerequestCheck200Schema = z.unknown() +export const rerequestCheck200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const rerequestCheck400Schema = z.unknown() +export const rerequestCheck400Schema = z.unknown(); -export const rerequestCheck401Schema = z.unknown() +export const rerequestCheck401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const rerequestCheck403Schema = z.unknown() +export const rerequestCheck403Schema = z.unknown(); /** * @description The deployment was not found\nCheck was not found */ -export const rerequestCheck404Schema = z.unknown() +export const rerequestCheck404Schema = z.unknown(); -export const rerequestCheckMutationResponseSchema = z.lazy(() => rerequestCheck200Schema) +export const rerequestCheckMutationResponseSchema = z.lazy(() => rerequestCheck200Schema); export const purgeAllDataCacheQueryParamsSchema = z.object({ - projectIdOrName: z.string(), -}) + projectIdOrName: z.string() +}); -export const purgeAllDataCache200Schema = z.unknown() +export const purgeAllDataCache200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const purgeAllDataCache400Schema = z.unknown() +export const purgeAllDataCache400Schema = z.unknown(); -export const purgeAllDataCache401Schema = z.unknown() +export const purgeAllDataCache401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const purgeAllDataCache403Schema = z.unknown() +export const purgeAllDataCache403Schema = z.unknown(); -export const purgeAllDataCache404Schema = z.unknown() +export const purgeAllDataCache404Schema = z.unknown(); -export const purgeAllDataCacheMutationResponseSchema = z.lazy(() => purgeAllDataCache200Schema) +export const purgeAllDataCacheMutationResponseSchema = z.lazy(() => purgeAllDataCache200Schema); -export const updateDataCacheBillingSettings200Schema = z.unknown() +export const updateDataCacheBillingSettings200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid. */ -export const updateDataCacheBillingSettings400Schema = z.unknown() +export const updateDataCacheBillingSettings400Schema = z.unknown(); -export const updateDataCacheBillingSettings401Schema = z.unknown() +export const updateDataCacheBillingSettings401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const updateDataCacheBillingSettings403Schema = z.unknown() +export const updateDataCacheBillingSettings403Schema = z.unknown(); -export const updateDataCacheBillingSettings404Schema = z.unknown() +export const updateDataCacheBillingSettings404Schema = z.unknown(); -export const updateDataCacheBillingSettingsMutationResponseSchema = z.lazy(() => updateDataCacheBillingSettings200Schema) +export const updateDataCacheBillingSettingsMutationResponseSchema = z.lazy( + () => updateDataCacheBillingSettings200Schema +); export const updateProjectDataCachePathParamsSchema = z.object({ - projectId: z.string().describe('The unique project identifier'), -}) + projectId: z.string().describe('The unique project identifier') +}); export const updateProjectDataCacheQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const updateProjectDataCache200Schema = z.unknown() +export const updateProjectDataCache200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const updateProjectDataCache400Schema = z.unknown() +export const updateProjectDataCache400Schema = z.unknown(); -export const updateProjectDataCache401Schema = z.unknown() +export const updateProjectDataCache401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const updateProjectDataCache403Schema = z.unknown() +export const updateProjectDataCache403Schema = z.unknown(); -export const updateProjectDataCache404Schema = z.unknown() +export const updateProjectDataCache404Schema = z.unknown(); -export const updateProjectDataCacheMutationResponseSchema = z.lazy(() => updateProjectDataCache200Schema) +export const updateProjectDataCacheMutationResponseSchema = z.lazy(() => updateProjectDataCache200Schema); export const getDeploymentEventsPathParamsSchema = z.object({ - idOrUrl: z.string().describe('The unique identifier or hostname of the deployment.'), -}) + idOrUrl: z.string().describe('The unique identifier or hostname of the deployment.') +}); export const getDeploymentEventsQueryParamsSchema = z.object({ - direction: z.enum(['backward', 'forward']).default('forward').describe('Order of the returned events based on the timestamp.'), + direction: z + .enum(['backward', 'forward']) + .default('forward') + .describe('Order of the returned events based on the timestamp.'), follow: z .union([z.literal(0), z.literal(1)]) .describe('When enabled, this endpoint will return live events as they happen.') .optional(), - limit: z.coerce.number().describe('Maximum number of events to return. Provide `-1` to return all available logs.').optional(), + limit: z.coerce + .number() + .describe('Maximum number of events to return. Provide `-1` to return all available logs.') + .optional(), name: z.string().describe('Deployment build ID.').optional(), since: z.coerce.number().describe('Timestamp for when build logs should be pulled from.').optional(), until: z.coerce.number().describe('Timestamp for when the build logs should be pulled up until.').optional(), - statusCode: z.union([z.string(), z.coerce.number()]).describe('HTTP status code range to filter events by.').optional(), + statusCode: z + .union([z.string(), z.coerce.number()]) + .describe('HTTP status code range to filter events by.') + .optional(), delimiter: z.union([z.literal(0), z.literal(1)]).optional(), builds: z.union([z.literal(0), z.literal(1)]).optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), -}) + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() +}); -export const getDeploymentEvents200Schema = z.unknown() +export const getDeploymentEvents200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const getDeploymentEvents400Schema = z.unknown() +export const getDeploymentEvents400Schema = z.unknown(); -export const getDeploymentEvents401Schema = z.unknown() +export const getDeploymentEvents401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getDeploymentEvents403Schema = z.unknown() +export const getDeploymentEvents403Schema = z.unknown(); -export const getDeploymentEvents500Schema = z.unknown() +export const getDeploymentEvents500Schema = z.unknown(); -export const getDeploymentEventsQueryResponseSchema = z.lazy(() => getDeploymentEvents200Schema) +export const getDeploymentEventsQueryResponseSchema = z.lazy(() => getDeploymentEvents200Schema); export const updateIntegrationDeploymentActionPathParamsSchema = z.object({ deploymentId: z.string(), integrationConfigurationId: z.string(), resourceId: z.string(), - action: z.string(), -}) + action: z.string() +}); -export const updateIntegrationDeploymentAction202Schema = z.unknown() +export const updateIntegrationDeploymentAction202Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const updateIntegrationDeploymentAction400Schema = z.unknown() +export const updateIntegrationDeploymentAction400Schema = z.unknown(); -export const updateIntegrationDeploymentAction401Schema = z.unknown() +export const updateIntegrationDeploymentAction401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const updateIntegrationDeploymentAction403Schema = z.unknown() +export const updateIntegrationDeploymentAction403Schema = z.unknown(); -export const updateIntegrationDeploymentActionMutationResponseSchema = z.lazy(() => updateIntegrationDeploymentAction202Schema) +export const updateIntegrationDeploymentActionMutationResponseSchema = z.lazy( + () => updateIntegrationDeploymentAction202Schema +); export const getDeploymentPathParamsSchema = z.object({ - idOrUrl: z.string().describe('The unique identifier or hostname of the deployment.'), -}) + idOrUrl: z.string().describe('The unique identifier or hostname of the deployment.') +}); export const getDeploymentQueryParamsSchema = z .object({ withGitRepoInfo: z.string().describe('Whether to add in gitRepo information.').optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description The deployment including only public information\nThe deployment including both public and private information */ -export const getDeployment200Schema = z.unknown() +export const getDeployment200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const getDeployment400Schema = z.unknown() +export const getDeployment400Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getDeployment403Schema = z.unknown() +export const getDeployment403Schema = z.unknown(); /** * @description The deployment was not found */ -export const getDeployment404Schema = z.unknown() +export const getDeployment404Schema = z.unknown(); -export const getDeploymentQueryResponseSchema = z.lazy(() => getDeployment200Schema) +export const getDeploymentQueryResponseSchema = z.lazy(() => getDeployment200Schema); export const createDeploymentQueryParamsSchema = z .object({ - forceNew: z.enum(['0', '1']).describe('Forces a new deployment even if there is a previous similar deployment').optional(), + forceNew: z + .enum(['0', '1']) + .describe('Forces a new deployment even if there is a previous similar deployment') + .optional(), skipAutoDetectionConfirmation: z .enum(['0', '1']) .describe('Allows to skip framework detection so the API would not fail to ask for confirmation') .optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description The successfully created deployment */ -export const createDeployment200Schema = z.unknown() +export const createDeployment200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const createDeployment400Schema = z.unknown() +export const createDeployment400Schema = z.unknown(); -export const createDeployment401Schema = z.unknown() +export const createDeployment401Schema = z.unknown(); /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated\nPro customers are allowed to deploy Serverless Functions to up to `proMaxRegions` regions, or if the project was created before the limit was introduced.\nDeploying to Serverless Functions to multiple regions requires a plan update */ -export const createDeployment402Schema = z.unknown() +export const createDeployment402Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const createDeployment403Schema = z.unknown() +export const createDeployment403Schema = z.unknown(); -export const createDeployment404Schema = z.unknown() +export const createDeployment404Schema = z.unknown(); /** * @description The deployment project is being transferred */ -export const createDeployment409Schema = z.unknown() +export const createDeployment409Schema = z.unknown(); -export const createDeployment500Schema = z.unknown() +export const createDeployment500Schema = z.unknown(); -export const createDeploymentMutationResponseSchema = z.lazy(() => createDeployment200Schema) +export const createDeploymentMutationResponseSchema = z.lazy(() => createDeployment200Schema); export const cancelDeploymentPathParamsSchema = z.object({ - id: z.string().describe('The unique identifier of the deployment.'), -}) + id: z.string().describe('The unique identifier of the deployment.') +}); export const cancelDeploymentQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const cancelDeployment200Schema = z.unknown() +export const cancelDeployment200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const cancelDeployment400Schema = z.unknown() +export const cancelDeployment400Schema = z.unknown(); -export const cancelDeployment401Schema = z.unknown() +export const cancelDeployment401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const cancelDeployment403Schema = z.unknown() +export const cancelDeployment403Schema = z.unknown(); -export const cancelDeployment404Schema = z.unknown() +export const cancelDeployment404Schema = z.unknown(); -export const cancelDeploymentMutationResponseSchema = z.lazy(() => cancelDeployment200Schema) +export const cancelDeploymentMutationResponseSchema = z.lazy(() => cancelDeployment200Schema); export const buyDomainQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const buyDomain201Schema = z.unknown() +export const buyDomain201Schema = z.unknown(); -export const buyDomain202Schema = z.unknown() +export const buyDomain202Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid. */ -export const buyDomain400Schema = z.unknown() +export const buyDomain400Schema = z.unknown(); -export const buyDomain401Schema = z.unknown() +export const buyDomain401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const buyDomain403Schema = z.unknown() +export const buyDomain403Schema = z.unknown(); -export const buyDomain409Schema = z.unknown() +export const buyDomain409Schema = z.unknown(); -export const buyDomain429Schema = z.unknown() +export const buyDomain429Schema = z.unknown(); -export const buyDomain500Schema = z.unknown() +export const buyDomain500Schema = z.unknown(); -export const buyDomainMutationResponseSchema = z.union([z.lazy(() => buyDomain201Schema), z.lazy(() => buyDomain202Schema)]) +export const buyDomainMutationResponseSchema = z.union([ + z.lazy(() => buyDomain201Schema), + z.lazy(() => buyDomain202Schema) +]); export const checkDomainPriceQueryParamsSchema = z.object({ name: z.string().describe('The name of the domain for which the price needs to be checked.'), - type: z.enum(['new', 'renewal', 'transfer', 'redemption']).describe('In which status of the domain the price needs to be checked.').optional(), + type: z + .enum(['new', 'renewal', 'transfer', 'redemption']) + .describe('In which status of the domain the price needs to be checked.') + .optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), -}) + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() +}); /** * @description Successful response which returns the price of the domain and the period. */ -export const checkDomainPrice200Schema = z.unknown() +export const checkDomainPrice200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const checkDomainPrice400Schema = z.unknown() +export const checkDomainPrice400Schema = z.unknown(); -export const checkDomainPrice401Schema = z.unknown() +export const checkDomainPrice401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const checkDomainPrice403Schema = z.unknown() +export const checkDomainPrice403Schema = z.unknown(); -export const checkDomainPrice500Schema = z.unknown() +export const checkDomainPrice500Schema = z.unknown(); -export const checkDomainPriceQueryResponseSchema = z.lazy(() => checkDomainPrice200Schema) +export const checkDomainPriceQueryResponseSchema = z.lazy(() => checkDomainPrice200Schema); export const checkDomainStatusQueryParamsSchema = z.object({ name: z.string().describe('The name of the domain for which we would like to check the status.'), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), -}) + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() +}); /** * @description Successful response checking if a Domain\'s name is available. */ -export const checkDomainStatus200Schema = z.unknown() +export const checkDomainStatus200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const checkDomainStatus400Schema = z.unknown() +export const checkDomainStatus400Schema = z.unknown(); -export const checkDomainStatus401Schema = z.unknown() +export const checkDomainStatus401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const checkDomainStatus403Schema = z.unknown() +export const checkDomainStatus403Schema = z.unknown(); -export const checkDomainStatus408Schema = z.unknown() +export const checkDomainStatus408Schema = z.unknown(); -export const checkDomainStatus500Schema = z.unknown() +export const checkDomainStatus500Schema = z.unknown(); -export const checkDomainStatusQueryResponseSchema = z.lazy(() => checkDomainStatus200Schema) +export const checkDomainStatusQueryResponseSchema = z.lazy(() => checkDomainStatus200Schema); export const getRecordsPathParamsSchema = z.object({ - domain: z.string(), -}) + domain: z.string() +}); export const getRecordsQueryParamsSchema = z .object({ @@ -4223,231 +4819,233 @@ export const getRecordsQueryParamsSchema = z since: z.string().describe('Get records created after this JavaScript timestamp.').optional(), until: z.string().describe('Get records created before this JavaScript timestamp.').optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description Successful response retrieving a list of paginated DNS records. */ -export const getRecords200Schema = z.unknown() +export const getRecords200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const getRecords400Schema = z.unknown() +export const getRecords400Schema = z.unknown(); -export const getRecords401Schema = z.unknown() +export const getRecords401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getRecords403Schema = z.unknown() +export const getRecords403Schema = z.unknown(); -export const getRecords404Schema = z.unknown() +export const getRecords404Schema = z.unknown(); -export const getRecordsQueryResponseSchema = z.lazy(() => getRecords200Schema) +export const getRecordsQueryResponseSchema = z.lazy(() => getRecords200Schema); export const createRecordPathParamsSchema = z.object({ - domain: z.string().describe('The domain used to create the DNS record.'), -}) + domain: z.string().describe('The domain used to create the DNS record.') +}); export const createRecordQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description Successful response showing the uid of the newly created DNS record. */ -export const createRecord200Schema = z.unknown() +export const createRecord200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const createRecord400Schema = z.unknown() +export const createRecord400Schema = z.unknown(); -export const createRecord401Schema = z.unknown() +export const createRecord401Schema = z.unknown(); /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export const createRecord402Schema = z.unknown() +export const createRecord402Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const createRecord403Schema = z.unknown() +export const createRecord403Schema = z.unknown(); -export const createRecord404Schema = z.unknown() +export const createRecord404Schema = z.unknown(); -export const createRecord409Schema = z.unknown() +export const createRecord409Schema = z.unknown(); -export const createRecordMutationResponseSchema = z.lazy(() => createRecord200Schema) +export const createRecordMutationResponseSchema = z.lazy(() => createRecord200Schema); export const updateRecordPathParamsSchema = z.object({ - recordId: z.string().describe('The id of the DNS record'), -}) + recordId: z.string().describe('The id of the DNS record') +}); export const updateRecordQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const updateRecord200Schema = z.unknown() +export const updateRecord200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const updateRecord400Schema = z.unknown() +export const updateRecord400Schema = z.unknown(); -export const updateRecord401Schema = z.unknown() +export const updateRecord401Schema = z.unknown(); /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export const updateRecord402Schema = z.unknown() +export const updateRecord402Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const updateRecord403Schema = z.unknown() +export const updateRecord403Schema = z.unknown(); -export const updateRecord404Schema = z.unknown() +export const updateRecord404Schema = z.unknown(); -export const updateRecord409Schema = z.unknown() +export const updateRecord409Schema = z.unknown(); -export const updateRecordMutationResponseSchema = z.lazy(() => updateRecord200Schema) +export const updateRecordMutationResponseSchema = z.lazy(() => updateRecord200Schema); export const removeRecordPathParamsSchema = z.object({ domain: z.string(), - recordId: z.string(), -}) + recordId: z.string() +}); export const removeRecordQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description Successful response by removing the specified DNS record. */ -export const removeRecord200Schema = z.unknown() +export const removeRecord200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const removeRecord400Schema = z.unknown() +export const removeRecord400Schema = z.unknown(); -export const removeRecord401Schema = z.unknown() +export const removeRecord401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const removeRecord403Schema = z.unknown() +export const removeRecord403Schema = z.unknown(); -export const removeRecord404Schema = z.unknown() +export const removeRecord404Schema = z.unknown(); -export const removeRecordMutationResponseSchema = z.lazy(() => removeRecord200Schema) +export const removeRecordMutationResponseSchema = z.lazy(() => removeRecord200Schema); export const getDomainTransferPathParamsSchema = z.object({ - domain: z.string(), -}) + domain: z.string() +}); export const getDomainTransferQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const getDomainTransfer200Schema = z.unknown() +export const getDomainTransfer200Schema = z.unknown(); -export const getDomainTransfer400Schema = z.unknown() +export const getDomainTransfer400Schema = z.unknown(); -export const getDomainTransfer401Schema = z.unknown() +export const getDomainTransfer401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getDomainTransfer403Schema = z.unknown() +export const getDomainTransfer403Schema = z.unknown(); -export const getDomainTransferQueryResponseSchema = z.lazy(() => getDomainTransfer200Schema) +export const getDomainTransferQueryResponseSchema = z.lazy(() => getDomainTransfer200Schema); export const getDomainConfigPathParamsSchema = z.object({ - domain: z.string().describe('The name of the domain.'), -}) + domain: z.string().describe('The name of the domain.') +}); export const getDomainConfigQueryParamsSchema = z .object({ projectIdOrName: z .string() - .describe('The project id or name that will be associated with the domain. Use this when the domain is not yet associated with a project.') + .describe( + 'The project id or name that will be associated with the domain. Use this when the domain is not yet associated with a project.' + ) .optional(), strict: z .enum(['true', 'false']) .describe( - "When true, the response will only include the nameservers assigned directly to the specified domain. When false and there are no nameservers assigned directly to the specified domain, the response will include the nameservers of the domain's parent zone.", + "When true, the response will only include the nameservers assigned directly to the specified domain. When false and there are no nameservers assigned directly to the specified domain, the response will include the nameservers of the domain's parent zone." ) .optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const getDomainConfig200Schema = z.unknown() +export const getDomainConfig200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const getDomainConfig400Schema = z.unknown() +export const getDomainConfig400Schema = z.unknown(); -export const getDomainConfig401Schema = z.unknown() +export const getDomainConfig401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getDomainConfig403Schema = z.unknown() +export const getDomainConfig403Schema = z.unknown(); -export const getDomainConfigQueryResponseSchema = z.lazy(() => getDomainConfig200Schema) +export const getDomainConfigQueryResponseSchema = z.lazy(() => getDomainConfig200Schema); export const getDomainPathParamsSchema = z.object({ - domain: z.string().describe('The name of the domain.'), -}) + domain: z.string().describe('The name of the domain.') +}); export const getDomainQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description Successful response retrieving an information for a specific domains. */ -export const getDomain200Schema = z.unknown() +export const getDomain200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const getDomain400Schema = z.unknown() +export const getDomain400Schema = z.unknown(); -export const getDomain401Schema = z.unknown() +export const getDomain401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getDomain403Schema = z.unknown() +export const getDomain403Schema = z.unknown(); -export const getDomain404Schema = z.unknown() +export const getDomain404Schema = z.unknown(); -export const getDomainQueryResponseSchema = z.lazy(() => getDomain200Schema) +export const getDomainQueryResponseSchema = z.lazy(() => getDomain200Schema); export const getDomainsQueryParamsSchema = z .object({ @@ -4455,654 +5053,654 @@ export const getDomainsQueryParamsSchema = z since: z.coerce.number().describe('Get domains created after this JavaScript timestamp.').optional(), until: z.coerce.number().describe('Get domains created before this JavaScript timestamp.').optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description Successful response retrieving a list of domains. */ -export const getDomains200Schema = z.unknown() +export const getDomains200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const getDomains400Schema = z.unknown() +export const getDomains400Schema = z.unknown(); -export const getDomains401Schema = z.unknown() +export const getDomains401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getDomains403Schema = z.unknown() +export const getDomains403Schema = z.unknown(); -export const getDomains409Schema = z.unknown() +export const getDomains409Schema = z.unknown(); -export const getDomainsQueryResponseSchema = z.lazy(() => getDomains200Schema) +export const getDomainsQueryResponseSchema = z.lazy(() => getDomains200Schema); export const createOrTransferDomainQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const createOrTransferDomain200Schema = z.unknown() +export const createOrTransferDomain200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid. */ -export const createOrTransferDomain400Schema = z.unknown() +export const createOrTransferDomain400Schema = z.unknown(); -export const createOrTransferDomain401Schema = z.unknown() +export const createOrTransferDomain401Schema = z.unknown(); /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export const createOrTransferDomain402Schema = z.unknown() +export const createOrTransferDomain402Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const createOrTransferDomain403Schema = z.unknown() +export const createOrTransferDomain403Schema = z.unknown(); -export const createOrTransferDomain404Schema = z.unknown() +export const createOrTransferDomain404Schema = z.unknown(); /** * @description The domain is not allowed to be used */ -export const createOrTransferDomain409Schema = z.unknown() +export const createOrTransferDomain409Schema = z.unknown(); -export const createOrTransferDomain500Schema = z.unknown() +export const createOrTransferDomain500Schema = z.unknown(); -export const createOrTransferDomainMutationResponseSchema = z.lazy(() => createOrTransferDomain200Schema) +export const createOrTransferDomainMutationResponseSchema = z.lazy(() => createOrTransferDomain200Schema); export const patchDomainPathParamsSchema = z.object({ - domain: z.string(), -}) + domain: z.string() +}); export const patchDomainQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const patchDomain200Schema = z.unknown() +export const patchDomain200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const patchDomain400Schema = z.unknown() +export const patchDomain400Schema = z.unknown(); -export const patchDomain401Schema = z.unknown() +export const patchDomain401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const patchDomain403Schema = z.unknown() +export const patchDomain403Schema = z.unknown(); -export const patchDomain404Schema = z.unknown() +export const patchDomain404Schema = z.unknown(); -export const patchDomain409Schema = z.unknown() +export const patchDomain409Schema = z.unknown(); -export const patchDomain500Schema = z.unknown() +export const patchDomain500Schema = z.unknown(); -export const patchDomainMutationResponseSchema = z.lazy(() => patchDomain200Schema) +export const patchDomainMutationResponseSchema = z.lazy(() => patchDomain200Schema); export const deleteDomainPathParamsSchema = z.object({ - domain: z.string().describe('The name of the domain.'), -}) + domain: z.string().describe('The name of the domain.') +}); export const deleteDomainQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description Successful response removing a domain. */ -export const deleteDomain200Schema = z.unknown() +export const deleteDomain200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const deleteDomain400Schema = z.unknown() +export const deleteDomain400Schema = z.unknown(); -export const deleteDomain401Schema = z.unknown() +export const deleteDomain401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const deleteDomain403Schema = z.unknown() +export const deleteDomain403Schema = z.unknown(); -export const deleteDomain404Schema = z.unknown() +export const deleteDomain404Schema = z.unknown(); -export const deleteDomain409Schema = z.unknown() +export const deleteDomain409Schema = z.unknown(); -export const deleteDomainMutationResponseSchema = z.lazy(() => deleteDomain200Schema) +export const deleteDomainMutationResponseSchema = z.lazy(() => deleteDomain200Schema); export const getEdgeConfigsQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description List of all edge configs. */ -export const getEdgeConfigs200Schema = z.unknown() +export const getEdgeConfigs200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const getEdgeConfigs400Schema = z.unknown() +export const getEdgeConfigs400Schema = z.unknown(); -export const getEdgeConfigs401Schema = z.unknown() +export const getEdgeConfigs401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getEdgeConfigs403Schema = z.unknown() +export const getEdgeConfigs403Schema = z.unknown(); -export const getEdgeConfigsQueryResponseSchema = z.lazy(() => getEdgeConfigs200Schema) +export const getEdgeConfigsQueryResponseSchema = z.lazy(() => getEdgeConfigs200Schema); export const createEdgeConfigQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const createEdgeConfig201Schema = z.unknown() +export const createEdgeConfig201Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid. */ -export const createEdgeConfig400Schema = z.unknown() +export const createEdgeConfig400Schema = z.unknown(); -export const createEdgeConfig401Schema = z.unknown() +export const createEdgeConfig401Schema = z.unknown(); /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export const createEdgeConfig402Schema = z.unknown() +export const createEdgeConfig402Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const createEdgeConfig403Schema = z.unknown() +export const createEdgeConfig403Schema = z.unknown(); -export const createEdgeConfigMutationResponseSchema = z.lazy(() => createEdgeConfig201Schema) +export const createEdgeConfigMutationResponseSchema = z.lazy(() => createEdgeConfig201Schema); export const getEdgeConfigPathParamsSchema = z.object({ - edgeConfigId: z.string(), -}) + edgeConfigId: z.string() +}); export const getEdgeConfigQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description The EdgeConfig. */ -export const getEdgeConfig200Schema = z.unknown() +export const getEdgeConfig200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const getEdgeConfig400Schema = z.unknown() +export const getEdgeConfig400Schema = z.unknown(); -export const getEdgeConfig401Schema = z.unknown() +export const getEdgeConfig401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getEdgeConfig403Schema = z.unknown() +export const getEdgeConfig403Schema = z.unknown(); -export const getEdgeConfig404Schema = z.unknown() +export const getEdgeConfig404Schema = z.unknown(); -export const getEdgeConfigQueryResponseSchema = z.lazy(() => getEdgeConfig200Schema) +export const getEdgeConfigQueryResponseSchema = z.lazy(() => getEdgeConfig200Schema); export const updateEdgeConfigPathParamsSchema = z.object({ - edgeConfigId: z.string(), -}) + edgeConfigId: z.string() +}); export const updateEdgeConfigQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const updateEdgeConfig200Schema = z.unknown() +export const updateEdgeConfig200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const updateEdgeConfig400Schema = z.unknown() +export const updateEdgeConfig400Schema = z.unknown(); -export const updateEdgeConfig401Schema = z.unknown() +export const updateEdgeConfig401Schema = z.unknown(); /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export const updateEdgeConfig402Schema = z.unknown() +export const updateEdgeConfig402Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const updateEdgeConfig403Schema = z.unknown() +export const updateEdgeConfig403Schema = z.unknown(); -export const updateEdgeConfig404Schema = z.unknown() +export const updateEdgeConfig404Schema = z.unknown(); -export const updateEdgeConfigMutationResponseSchema = z.lazy(() => updateEdgeConfig200Schema) +export const updateEdgeConfigMutationResponseSchema = z.lazy(() => updateEdgeConfig200Schema); export const deleteEdgeConfigPathParamsSchema = z.object({ - edgeConfigId: z.string(), -}) + edgeConfigId: z.string() +}); export const deleteEdgeConfigQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const deleteEdgeConfig204Schema = z.unknown() +export const deleteEdgeConfig204Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const deleteEdgeConfig400Schema = z.unknown() +export const deleteEdgeConfig400Schema = z.unknown(); -export const deleteEdgeConfig401Schema = z.unknown() +export const deleteEdgeConfig401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const deleteEdgeConfig403Schema = z.unknown() +export const deleteEdgeConfig403Schema = z.unknown(); -export const deleteEdgeConfig404Schema = z.unknown() +export const deleteEdgeConfig404Schema = z.unknown(); -export const deleteEdgeConfigMutationResponseSchema = z.lazy(() => deleteEdgeConfig204Schema) +export const deleteEdgeConfigMutationResponseSchema = z.lazy(() => deleteEdgeConfig204Schema); export const getEdgeConfigItemsPathParamsSchema = z.object({ - edgeConfigId: z.string().regex(/^ecfg_/), -}) + edgeConfigId: z.string().regex(/^ecfg_/) +}); export const getEdgeConfigItemsQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description List of all Edge Config items. */ -export const getEdgeConfigItems200Schema = z.unknown() +export const getEdgeConfigItems200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const getEdgeConfigItems400Schema = z.unknown() +export const getEdgeConfigItems400Schema = z.unknown(); -export const getEdgeConfigItems401Schema = z.unknown() +export const getEdgeConfigItems401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getEdgeConfigItems403Schema = z.unknown() +export const getEdgeConfigItems403Schema = z.unknown(); -export const getEdgeConfigItems404Schema = z.unknown() +export const getEdgeConfigItems404Schema = z.unknown(); -export const getEdgeConfigItemsQueryResponseSchema = z.lazy(() => getEdgeConfigItems200Schema) +export const getEdgeConfigItemsQueryResponseSchema = z.lazy(() => getEdgeConfigItems200Schema); export const patchEdgeConfigItemsPathParamsSchema = z.object({ - edgeConfigId: z.string().regex(/^ecfg_/), -}) + edgeConfigId: z.string().regex(/^ecfg_/) +}); export const patchEdgeConfigItemsQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const patchEdgeConfigItems200Schema = z.unknown() +export const patchEdgeConfigItems200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const patchEdgeConfigItems400Schema = z.unknown() +export const patchEdgeConfigItems400Schema = z.unknown(); -export const patchEdgeConfigItems401Schema = z.unknown() +export const patchEdgeConfigItems401Schema = z.unknown(); /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export const patchEdgeConfigItems402Schema = z.unknown() +export const patchEdgeConfigItems402Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const patchEdgeConfigItems403Schema = z.unknown() +export const patchEdgeConfigItems403Schema = z.unknown(); -export const patchEdgeConfigItems404Schema = z.unknown() +export const patchEdgeConfigItems404Schema = z.unknown(); -export const patchEdgeConfigItems409Schema = z.unknown() +export const patchEdgeConfigItems409Schema = z.unknown(); -export const patchEdgeConfigItems412Schema = z.unknown() +export const patchEdgeConfigItems412Schema = z.unknown(); -export const patchEdgeConfigItemsMutationResponseSchema = z.lazy(() => patchEdgeConfigItems200Schema) +export const patchEdgeConfigItemsMutationResponseSchema = z.lazy(() => patchEdgeConfigItems200Schema); export const getEdgeConfigSchemaPathParamsSchema = z.object({ - edgeConfigId: z.string(), -}) + edgeConfigId: z.string() +}); export const getEdgeConfigSchemaQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description The EdgeConfig. */ -export const getEdgeConfigSchema200Schema = z.unknown() +export const getEdgeConfigSchema200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const getEdgeConfigSchema400Schema = z.unknown() +export const getEdgeConfigSchema400Schema = z.unknown(); -export const getEdgeConfigSchema401Schema = z.unknown() +export const getEdgeConfigSchema401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getEdgeConfigSchema403Schema = z.unknown() +export const getEdgeConfigSchema403Schema = z.unknown(); -export const getEdgeConfigSchema404Schema = z.unknown() +export const getEdgeConfigSchema404Schema = z.unknown(); -export const getEdgeConfigSchemaQueryResponseSchema = z.lazy(() => getEdgeConfigSchema200Schema) +export const getEdgeConfigSchemaQueryResponseSchema = z.lazy(() => getEdgeConfigSchema200Schema); export const patchEdgeConfigSchemaPathParamsSchema = z.object({ - edgeConfigId: z.string(), -}) + edgeConfigId: z.string() +}); export const patchEdgeConfigSchemaQueryParamsSchema = z .object({ dryRun: z.string().optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const patchEdgeConfigSchema200Schema = z.unknown() +export const patchEdgeConfigSchema200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const patchEdgeConfigSchema400Schema = z.unknown() +export const patchEdgeConfigSchema400Schema = z.unknown(); -export const patchEdgeConfigSchema401Schema = z.unknown() +export const patchEdgeConfigSchema401Schema = z.unknown(); /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export const patchEdgeConfigSchema402Schema = z.unknown() +export const patchEdgeConfigSchema402Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const patchEdgeConfigSchema403Schema = z.unknown() +export const patchEdgeConfigSchema403Schema = z.unknown(); -export const patchEdgeConfigSchema404Schema = z.unknown() +export const patchEdgeConfigSchema404Schema = z.unknown(); -export const patchEdgeConfigSchemaMutationResponseSchema = z.lazy(() => patchEdgeConfigSchema200Schema) +export const patchEdgeConfigSchemaMutationResponseSchema = z.lazy(() => patchEdgeConfigSchema200Schema); export const deleteEdgeConfigSchemaPathParamsSchema = z.object({ - edgeConfigId: z.string(), -}) + edgeConfigId: z.string() +}); export const deleteEdgeConfigSchemaQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const deleteEdgeConfigSchema204Schema = z.unknown() +export const deleteEdgeConfigSchema204Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const deleteEdgeConfigSchema400Schema = z.unknown() +export const deleteEdgeConfigSchema400Schema = z.unknown(); -export const deleteEdgeConfigSchema401Schema = z.unknown() +export const deleteEdgeConfigSchema401Schema = z.unknown(); /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export const deleteEdgeConfigSchema402Schema = z.unknown() +export const deleteEdgeConfigSchema402Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const deleteEdgeConfigSchema403Schema = z.unknown() +export const deleteEdgeConfigSchema403Schema = z.unknown(); -export const deleteEdgeConfigSchema404Schema = z.unknown() +export const deleteEdgeConfigSchema404Schema = z.unknown(); -export const deleteEdgeConfigSchemaMutationResponseSchema = z.lazy(() => deleteEdgeConfigSchema204Schema) +export const deleteEdgeConfigSchemaMutationResponseSchema = z.lazy(() => deleteEdgeConfigSchema204Schema); export const getEdgeConfigItemPathParamsSchema = z.object({ edgeConfigId: z.string().regex(/^ecfg_/), - edgeConfigItemKey: z.string(), -}) + edgeConfigItemKey: z.string() +}); export const getEdgeConfigItemQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description The EdgeConfig. */ -export const getEdgeConfigItem200Schema = z.unknown() +export const getEdgeConfigItem200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const getEdgeConfigItem400Schema = z.unknown() +export const getEdgeConfigItem400Schema = z.unknown(); -export const getEdgeConfigItem401Schema = z.unknown() +export const getEdgeConfigItem401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getEdgeConfigItem403Schema = z.unknown() +export const getEdgeConfigItem403Schema = z.unknown(); -export const getEdgeConfigItem404Schema = z.unknown() +export const getEdgeConfigItem404Schema = z.unknown(); -export const getEdgeConfigItemQueryResponseSchema = z.lazy(() => getEdgeConfigItem200Schema) +export const getEdgeConfigItemQueryResponseSchema = z.lazy(() => getEdgeConfigItem200Schema); export const getEdgeConfigTokensPathParamsSchema = z.object({ - edgeConfigId: z.string(), -}) + edgeConfigId: z.string() +}); export const getEdgeConfigTokensQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description The EdgeConfig. */ -export const getEdgeConfigTokens200Schema = z.unknown() +export const getEdgeConfigTokens200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const getEdgeConfigTokens400Schema = z.unknown() +export const getEdgeConfigTokens400Schema = z.unknown(); -export const getEdgeConfigTokens401Schema = z.unknown() +export const getEdgeConfigTokens401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getEdgeConfigTokens403Schema = z.unknown() +export const getEdgeConfigTokens403Schema = z.unknown(); -export const getEdgeConfigTokens404Schema = z.unknown() +export const getEdgeConfigTokens404Schema = z.unknown(); -export const getEdgeConfigTokensQueryResponseSchema = z.lazy(() => getEdgeConfigTokens200Schema) +export const getEdgeConfigTokensQueryResponseSchema = z.lazy(() => getEdgeConfigTokens200Schema); export const deleteEdgeConfigTokensPathParamsSchema = z.object({ - edgeConfigId: z.string(), -}) + edgeConfigId: z.string() +}); export const deleteEdgeConfigTokensQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const deleteEdgeConfigTokens204Schema = z.unknown() +export const deleteEdgeConfigTokens204Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const deleteEdgeConfigTokens400Schema = z.unknown() +export const deleteEdgeConfigTokens400Schema = z.unknown(); -export const deleteEdgeConfigTokens401Schema = z.unknown() +export const deleteEdgeConfigTokens401Schema = z.unknown(); /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export const deleteEdgeConfigTokens402Schema = z.unknown() +export const deleteEdgeConfigTokens402Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const deleteEdgeConfigTokens403Schema = z.unknown() +export const deleteEdgeConfigTokens403Schema = z.unknown(); -export const deleteEdgeConfigTokens404Schema = z.unknown() +export const deleteEdgeConfigTokens404Schema = z.unknown(); -export const deleteEdgeConfigTokensMutationResponseSchema = z.lazy(() => deleteEdgeConfigTokens204Schema) +export const deleteEdgeConfigTokensMutationResponseSchema = z.lazy(() => deleteEdgeConfigTokens204Schema); export const getEdgeConfigTokenPathParamsSchema = z.object({ edgeConfigId: z.string(), - token: z.string(), -}) + token: z.string() +}); export const getEdgeConfigTokenQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description The EdgeConfig. */ -export const getEdgeConfigToken200Schema = z.unknown() +export const getEdgeConfigToken200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const getEdgeConfigToken400Schema = z.unknown() +export const getEdgeConfigToken400Schema = z.unknown(); -export const getEdgeConfigToken401Schema = z.unknown() +export const getEdgeConfigToken401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getEdgeConfigToken403Schema = z.unknown() +export const getEdgeConfigToken403Schema = z.unknown(); -export const getEdgeConfigToken404Schema = z.unknown() +export const getEdgeConfigToken404Schema = z.unknown(); -export const getEdgeConfigTokenQueryResponseSchema = z.lazy(() => getEdgeConfigToken200Schema) +export const getEdgeConfigTokenQueryResponseSchema = z.lazy(() => getEdgeConfigToken200Schema); export const createEdgeConfigTokenPathParamsSchema = z.object({ - edgeConfigId: z.string(), -}) + edgeConfigId: z.string() +}); export const createEdgeConfigTokenQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const createEdgeConfigToken201Schema = z.unknown() +export const createEdgeConfigToken201Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const createEdgeConfigToken400Schema = z.unknown() +export const createEdgeConfigToken400Schema = z.unknown(); -export const createEdgeConfigToken401Schema = z.unknown() +export const createEdgeConfigToken401Schema = z.unknown(); /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export const createEdgeConfigToken402Schema = z.unknown() +export const createEdgeConfigToken402Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const createEdgeConfigToken403Schema = z.unknown() +export const createEdgeConfigToken403Schema = z.unknown(); -export const createEdgeConfigToken404Schema = z.unknown() +export const createEdgeConfigToken404Schema = z.unknown(); -export const createEdgeConfigTokenMutationResponseSchema = z.lazy(() => createEdgeConfigToken201Schema) +export const createEdgeConfigTokenMutationResponseSchema = z.lazy(() => createEdgeConfigToken201Schema); export const getEdgeConfigBackupPathParamsSchema = z.object({ edgeConfigId: z.string(), - edgeConfigBackupVersionId: z.string(), -}) + edgeConfigBackupVersionId: z.string() +}); export const getEdgeConfigBackupQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const getEdgeConfigBackup200Schema = z.unknown() +export const getEdgeConfigBackup200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const getEdgeConfigBackup400Schema = z.unknown() +export const getEdgeConfigBackup400Schema = z.unknown(); -export const getEdgeConfigBackup401Schema = z.unknown() +export const getEdgeConfigBackup401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getEdgeConfigBackup403Schema = z.unknown() +export const getEdgeConfigBackup403Schema = z.unknown(); -export const getEdgeConfigBackup404Schema = z.unknown() +export const getEdgeConfigBackup404Schema = z.unknown(); -export const getEdgeConfigBackupQueryResponseSchema = z.lazy(() => getEdgeConfigBackup200Schema) +export const getEdgeConfigBackupQueryResponseSchema = z.lazy(() => getEdgeConfigBackup200Schema); export const getEdgeConfigBackupsPathParamsSchema = z.object({ - edgeConfigId: z.string(), -}) + edgeConfigId: z.string() +}); export const getEdgeConfigBackupsQueryParamsSchema = z .object({ @@ -5110,27 +5708,27 @@ export const getEdgeConfigBackupsQueryParamsSchema = z limit: z.coerce.number().min(0).max(50).optional(), metadata: z.string().optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const getEdgeConfigBackups200Schema = z.unknown() +export const getEdgeConfigBackups200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const getEdgeConfigBackups400Schema = z.unknown() +export const getEdgeConfigBackups400Schema = z.unknown(); -export const getEdgeConfigBackups401Schema = z.unknown() +export const getEdgeConfigBackups401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getEdgeConfigBackups403Schema = z.unknown() +export const getEdgeConfigBackups403Schema = z.unknown(); -export const getEdgeConfigBackups404Schema = z.unknown() +export const getEdgeConfigBackups404Schema = z.unknown(); -export const getEdgeConfigBackupsQueryResponseSchema = z.lazy(() => getEdgeConfigBackups200Schema) +export const getEdgeConfigBackupsQueryResponseSchema = z.lazy(() => getEdgeConfigBackups200Schema); export const listUserEventsQueryParamsSchema = z .object({ @@ -5138,853 +5736,883 @@ export const listUserEventsQueryParamsSchema = z since: z.string().describe('Timestamp to only include items created since then.').optional(), until: z.string().describe('Timestamp to only include items created until then.').optional(), types: z.string().describe('Comma-delimited list of event \\"types\\" to filter the results by.').optional(), - userId: z.string().describe('Deprecated. Use `principalId` instead. If `principalId` and `userId` both exist, `principalId` will be used.').optional(), + userId: z + .string() + .describe( + 'Deprecated. Use `principalId` instead. If `principalId` and `userId` both exist, `principalId` will be used.' + ) + .optional(), principalId: z .string() - .describe('When retrieving events for a Team, the `principalId` parameter may be specified to filter events generated by a specific principal.') + .describe( + 'When retrieving events for a Team, the `principalId` parameter may be specified to filter events generated by a specific principal.' + ) .optional(), projectIds: z.string().describe('Comma-delimited list of project IDs to filter the results by.').optional(), - withPayload: z.string().describe('When set to `true`, the response will include the `payload` field for each event.').optional(), + withPayload: z + .string() + .describe('When set to `true`, the response will include the `payload` field for each event.') + .optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description Successful response. */ -export const listUserEvents200Schema = z.unknown() +export const listUserEvents200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const listUserEvents400Schema = z.unknown() +export const listUserEvents400Schema = z.unknown(); -export const listUserEvents401Schema = z.unknown() +export const listUserEvents401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const listUserEvents403Schema = z.unknown() +export const listUserEvents403Schema = z.unknown(); -export const listUserEventsQueryResponseSchema = z.lazy(() => listUserEvents200Schema) +export const listUserEventsQueryResponseSchema = z.lazy(() => listUserEvents200Schema); export const GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansPathParamsSchema = z.object({ integrationIdOrSlug: z.string(), - productIdOrSlug: z.string(), -}) + productIdOrSlug: z.string() +}); export const GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansQueryParamsSchema = z .object({ - metadata: z.string().optional(), + metadata: z.string().optional() }) - .optional() + .optional(); -export const GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans200Schema = z.unknown() +export const GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans400Schema = z.unknown() +export const GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans400Schema = z.unknown(); -export const GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans401Schema = z.unknown() +export const GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans403Schema = z.unknown() +export const GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans403Schema = z.unknown(); -export const GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans404Schema = z.unknown() +export const GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans404Schema = z.unknown(); export const GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansQueryResponseSchema = z.lazy( - () => GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans200Schema, -) + () => GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans200Schema +); export const getAccountInfoPathParamsSchema = z.object({ - integrationConfigurationId: z.string(), -}) + integrationConfigurationId: z.string() +}); -export const getAccountInfo200Schema = z.unknown() +export const getAccountInfo200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const getAccountInfo400Schema = z.unknown() +export const getAccountInfo400Schema = z.unknown(); -export const getAccountInfo401Schema = z.unknown() +export const getAccountInfo401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getAccountInfo403Schema = z.unknown() +export const getAccountInfo403Schema = z.unknown(); -export const getAccountInfo404Schema = z.unknown() +export const getAccountInfo404Schema = z.unknown(); -export const getAccountInfoQueryResponseSchema = z.lazy(() => getAccountInfo200Schema) +export const getAccountInfoQueryResponseSchema = z.lazy(() => getAccountInfo200Schema); export const getMemberPathParamsSchema = z.object({ integrationConfigurationId: z.string(), - memberId: z.string(), -}) + memberId: z.string() +}); -export const getMember200Schema = z.unknown() +export const getMember200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const getMember400Schema = z.unknown() +export const getMember400Schema = z.unknown(); -export const getMember401Schema = z.unknown() +export const getMember401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getMember403Schema = z.unknown() +export const getMember403Schema = z.unknown(); -export const getMember404Schema = z.unknown() +export const getMember404Schema = z.unknown(); -export const getMemberQueryResponseSchema = z.lazy(() => getMember200Schema) +export const getMemberQueryResponseSchema = z.lazy(() => getMember200Schema); export const createEventPathParamsSchema = z.object({ - integrationConfigurationId: z.string(), -}) + integrationConfigurationId: z.string() +}); -export const createEvent201Schema = z.unknown() +export const createEvent201Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const createEvent400Schema = z.unknown() +export const createEvent400Schema = z.unknown(); -export const createEvent401Schema = z.unknown() +export const createEvent401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const createEvent403Schema = z.unknown() +export const createEvent403Schema = z.unknown(); -export const createEvent404Schema = z.unknown() +export const createEvent404Schema = z.unknown(); -export const createEventMutationResponseSchema = z.lazy(() => createEvent201Schema) +export const createEventMutationResponseSchema = z.lazy(() => createEvent201Schema); export const getIntegrationResourcesPathParamsSchema = z.object({ - integrationConfigurationId: z.string(), -}) + integrationConfigurationId: z.string() +}); -export const getIntegrationResources200Schema = z.unknown() +export const getIntegrationResources200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const getIntegrationResources400Schema = z.unknown() +export const getIntegrationResources400Schema = z.unknown(); -export const getIntegrationResources401Schema = z.unknown() +export const getIntegrationResources401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getIntegrationResources403Schema = z.unknown() +export const getIntegrationResources403Schema = z.unknown(); -export const getIntegrationResources404Schema = z.unknown() +export const getIntegrationResources404Schema = z.unknown(); -export const getIntegrationResourcesQueryResponseSchema = z.lazy(() => getIntegrationResources200Schema) +export const getIntegrationResourcesQueryResponseSchema = z.lazy(() => getIntegrationResources200Schema); export const getIntegrationResourcePathParamsSchema = z.object({ - integrationConfigurationId: z.string().describe('The ID of the integration configuration (installation) the resource belongs to'), - resourceId: z.string().describe('The ID provided by the 3rd party provider for the given resource'), -}) + integrationConfigurationId: z + .string() + .describe('The ID of the integration configuration (installation) the resource belongs to'), + resourceId: z.string().describe('The ID provided by the 3rd party provider for the given resource') +}); -export const getIntegrationResource200Schema = z.unknown() +export const getIntegrationResource200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const getIntegrationResource400Schema = z.unknown() +export const getIntegrationResource400Schema = z.unknown(); -export const getIntegrationResource401Schema = z.unknown() +export const getIntegrationResource401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getIntegrationResource403Schema = z.unknown() +export const getIntegrationResource403Schema = z.unknown(); -export const getIntegrationResource404Schema = z.unknown() +export const getIntegrationResource404Schema = z.unknown(); -export const getIntegrationResourceQueryResponseSchema = z.lazy(() => getIntegrationResource200Schema) +export const getIntegrationResourceQueryResponseSchema = z.lazy(() => getIntegrationResource200Schema); export const deleteIntegrationResourcePathParamsSchema = z.object({ integrationConfigurationId: z.string(), - resourceId: z.string(), -}) + resourceId: z.string() +}); -export const deleteIntegrationResource204Schema = z.unknown() +export const deleteIntegrationResource204Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const deleteIntegrationResource400Schema = z.unknown() +export const deleteIntegrationResource400Schema = z.unknown(); -export const deleteIntegrationResource401Schema = z.unknown() +export const deleteIntegrationResource401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const deleteIntegrationResource403Schema = z.unknown() +export const deleteIntegrationResource403Schema = z.unknown(); -export const deleteIntegrationResource404Schema = z.unknown() +export const deleteIntegrationResource404Schema = z.unknown(); -export const deleteIntegrationResourceMutationResponseSchema = z.lazy(() => deleteIntegrationResource204Schema) +export const deleteIntegrationResourceMutationResponseSchema = z.lazy(() => deleteIntegrationResource204Schema); export const importResourcePathParamsSchema = z.object({ integrationConfigurationId: z.string(), - resourceId: z.string(), -}) + resourceId: z.string() +}); -export const importResource200Schema = z.unknown() +export const importResource200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const importResource400Schema = z.unknown() +export const importResource400Schema = z.unknown(); -export const importResource401Schema = z.unknown() +export const importResource401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const importResource403Schema = z.unknown() +export const importResource403Schema = z.unknown(); -export const importResource404Schema = z.unknown() +export const importResource404Schema = z.unknown(); -export const importResourceMutationResponseSchema = z.lazy(() => importResource200Schema) +export const importResourceMutationResponseSchema = z.lazy(() => importResource200Schema); export const submitBillingDataPathParamsSchema = z.object({ - integrationConfigurationId: z.string(), -}) + integrationConfigurationId: z.string() +}); -export const submitBillingData201Schema = z.unknown() +export const submitBillingData201Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const submitBillingData400Schema = z.unknown() +export const submitBillingData400Schema = z.unknown(); -export const submitBillingData401Schema = z.unknown() +export const submitBillingData401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const submitBillingData403Schema = z.unknown() +export const submitBillingData403Schema = z.unknown(); -export const submitBillingData404Schema = z.unknown() +export const submitBillingData404Schema = z.unknown(); -export const submitBillingDataMutationResponseSchema = z.lazy(() => submitBillingData201Schema) +export const submitBillingDataMutationResponseSchema = z.lazy(() => submitBillingData201Schema); export const submitInvoicePathParamsSchema = z.object({ - integrationConfigurationId: z.string(), -}) + integrationConfigurationId: z.string() +}); -export const submitInvoice200Schema = z.unknown() +export const submitInvoice200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const submitInvoice400Schema = z.unknown() +export const submitInvoice400Schema = z.unknown(); -export const submitInvoice401Schema = z.unknown() +export const submitInvoice401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const submitInvoice403Schema = z.unknown() +export const submitInvoice403Schema = z.unknown(); -export const submitInvoice404Schema = z.unknown() +export const submitInvoice404Schema = z.unknown(); -export const submitInvoiceMutationResponseSchema = z.lazy(() => submitInvoice200Schema) +export const submitInvoiceMutationResponseSchema = z.lazy(() => submitInvoice200Schema); export const getInvoicePathParamsSchema = z.object({ integrationConfigurationId: z.string(), - invoiceId: z.string(), -}) + invoiceId: z.string() +}); -export const getInvoice200Schema = z.unknown() +export const getInvoice200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const getInvoice400Schema = z.unknown() +export const getInvoice400Schema = z.unknown(); -export const getInvoice401Schema = z.unknown() +export const getInvoice401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getInvoice403Schema = z.unknown() +export const getInvoice403Schema = z.unknown(); -export const getInvoice404Schema = z.unknown() +export const getInvoice404Schema = z.unknown(); -export const getInvoiceQueryResponseSchema = z.lazy(() => getInvoice200Schema) +export const getInvoiceQueryResponseSchema = z.lazy(() => getInvoice200Schema); export const updateInvoicePathParamsSchema = z.object({ integrationConfigurationId: z.string(), - invoiceId: z.string(), -}) + invoiceId: z.string() +}); -export const updateInvoice204Schema = z.unknown() +export const updateInvoice204Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const updateInvoice400Schema = z.unknown() +export const updateInvoice400Schema = z.unknown(); -export const updateInvoice401Schema = z.unknown() +export const updateInvoice401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const updateInvoice403Schema = z.unknown() +export const updateInvoice403Schema = z.unknown(); -export const updateInvoice404Schema = z.unknown() +export const updateInvoice404Schema = z.unknown(); -export const updateInvoiceMutationResponseSchema = z.lazy(() => updateInvoice204Schema) +export const updateInvoiceMutationResponseSchema = z.lazy(() => updateInvoice204Schema); export const submitPrepaymentBalancesPathParamsSchema = z.object({ - integrationConfigurationId: z.string(), -}) + integrationConfigurationId: z.string() +}); -export const submitPrepaymentBalances201Schema = z.unknown() +export const submitPrepaymentBalances201Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const submitPrepaymentBalances400Schema = z.unknown() +export const submitPrepaymentBalances400Schema = z.unknown(); -export const submitPrepaymentBalances401Schema = z.unknown() +export const submitPrepaymentBalances401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const submitPrepaymentBalances403Schema = z.unknown() +export const submitPrepaymentBalances403Schema = z.unknown(); -export const submitPrepaymentBalances404Schema = z.unknown() +export const submitPrepaymentBalances404Schema = z.unknown(); -export const submitPrepaymentBalancesMutationResponseSchema = z.lazy(() => submitPrepaymentBalances201Schema) +export const submitPrepaymentBalancesMutationResponseSchema = z.lazy(() => submitPrepaymentBalances201Schema); export const updateResourceSecretsPathParamsSchema = z.object({ integrationConfigurationId: z.string(), integrationProductIdOrSlug: z.string(), - resourceId: z.string(), -}) + resourceId: z.string() +}); -export const updateResourceSecrets201Schema = z.unknown() +export const updateResourceSecrets201Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const updateResourceSecrets400Schema = z.unknown() +export const updateResourceSecrets400Schema = z.unknown(); -export const updateResourceSecrets401Schema = z.unknown() +export const updateResourceSecrets401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const updateResourceSecrets403Schema = z.unknown() +export const updateResourceSecrets403Schema = z.unknown(); -export const updateResourceSecrets404Schema = z.unknown() +export const updateResourceSecrets404Schema = z.unknown(); -export const updateResourceSecretsMutationResponseSchema = z.lazy(() => updateResourceSecrets201Schema) +export const updateResourceSecretsMutationResponseSchema = z.lazy(() => updateResourceSecrets201Schema); export const updateResourceSecretsByIdPathParamsSchema = z.object({ integrationConfigurationId: z.string(), - resourceId: z.string(), -}) + resourceId: z.string() +}); -export const updateResourceSecretsById201Schema = z.unknown() +export const updateResourceSecretsById201Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const updateResourceSecretsById400Schema = z.unknown() +export const updateResourceSecretsById400Schema = z.unknown(); -export const updateResourceSecretsById401Schema = z.unknown() +export const updateResourceSecretsById401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const updateResourceSecretsById403Schema = z.unknown() +export const updateResourceSecretsById403Schema = z.unknown(); -export const updateResourceSecretsById404Schema = z.unknown() +export const updateResourceSecretsById404Schema = z.unknown(); -export const updateResourceSecretsById422Schema = z.unknown() +export const updateResourceSecretsById422Schema = z.unknown(); -export const updateResourceSecretsByIdMutationResponseSchema = z.lazy(() => updateResourceSecretsById201Schema) +export const updateResourceSecretsByIdMutationResponseSchema = z.lazy(() => updateResourceSecretsById201Schema); export const getConfigurationsQueryParamsSchema = z.object({ view: z.enum(['account', 'project']), installationType: z.enum(['marketplace', 'external']).optional(), integrationIdOrSlug: z.string().describe('ID of the integration').optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), -}) + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() +}); /** * @description The list of configurations for the authenticated user */ -export const getConfigurations200Schema = z.unknown() +export const getConfigurations200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const getConfigurations400Schema = z.unknown() +export const getConfigurations400Schema = z.unknown(); -export const getConfigurations401Schema = z.unknown() +export const getConfigurations401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getConfigurations403Schema = z.unknown() +export const getConfigurations403Schema = z.unknown(); -export const getConfigurationsQueryResponseSchema = z.lazy(() => getConfigurations200Schema) +export const getConfigurationsQueryResponseSchema = z.lazy(() => getConfigurations200Schema); export const getConfigurationPathParamsSchema = z.object({ - id: z.string().describe('ID of the configuration to check'), -}) + id: z.string().describe('ID of the configuration to check') +}); export const getConfigurationQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description The configuration with the provided id */ -export const getConfiguration200Schema = z.unknown() +export const getConfiguration200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const getConfiguration400Schema = z.unknown() +export const getConfiguration400Schema = z.unknown(); -export const getConfiguration401Schema = z.unknown() +export const getConfiguration401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getConfiguration403Schema = z.unknown() +export const getConfiguration403Schema = z.unknown(); /** * @description The configuration was not found */ -export const getConfiguration404Schema = z.unknown() +export const getConfiguration404Schema = z.unknown(); -export const getConfigurationQueryResponseSchema = z.lazy(() => getConfiguration200Schema) +export const getConfigurationQueryResponseSchema = z.lazy(() => getConfiguration200Schema); export const deleteConfigurationPathParamsSchema = z.object({ - id: z.string(), -}) + id: z.string() +}); export const deleteConfigurationQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description The configuration was successfully removed */ -export const deleteConfiguration204Schema = z.unknown() +export const deleteConfiguration204Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const deleteConfiguration400Schema = z.unknown() +export const deleteConfiguration400Schema = z.unknown(); -export const deleteConfiguration401Schema = z.unknown() +export const deleteConfiguration401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const deleteConfiguration403Schema = z.unknown() +export const deleteConfiguration403Schema = z.unknown(); /** * @description The configuration was not found */ -export const deleteConfiguration404Schema = z.unknown() +export const deleteConfiguration404Schema = z.unknown(); -export const deleteConfigurationMutationResponseSchema = z.lazy(() => deleteConfiguration204Schema) +export const deleteConfigurationMutationResponseSchema = z.lazy(() => deleteConfiguration204Schema); export const getConfigurationProductsPathParamsSchema = z.object({ - id: z.string().describe('ID of the integration configuration'), -}) + id: z.string().describe('ID of the integration configuration') +}); export const getConfigurationProductsQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description List of products available for this integration configuration */ -export const getConfigurationProducts200Schema = z.unknown() +export const getConfigurationProducts200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const getConfigurationProducts400Schema = z.unknown() +export const getConfigurationProducts400Schema = z.unknown(); -export const getConfigurationProducts401Schema = z.unknown() +export const getConfigurationProducts401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getConfigurationProducts403Schema = z.unknown() +export const getConfigurationProducts403Schema = z.unknown(); -export const getConfigurationProducts404Schema = z.unknown() +export const getConfigurationProducts404Schema = z.unknown(); -export const getConfigurationProducts500Schema = z.unknown() +export const getConfigurationProducts500Schema = z.unknown(); -export const getConfigurationProductsQueryResponseSchema = z.lazy(() => getConfigurationProducts200Schema) +export const getConfigurationProductsQueryResponseSchema = z.lazy(() => getConfigurationProducts200Schema); -export const exchangeSsoToken200Schema = z.unknown() +export const exchangeSsoToken200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid. */ -export const exchangeSsoToken400Schema = z.unknown() +export const exchangeSsoToken400Schema = z.unknown(); -export const exchangeSsoToken404Schema = z.unknown() +export const exchangeSsoToken404Schema = z.unknown(); -export const exchangeSsoToken500Schema = z.unknown() +export const exchangeSsoToken500Schema = z.unknown(); -export const exchangeSsoTokenMutationResponseSchema = z.lazy(() => exchangeSsoToken200Schema) +export const exchangeSsoTokenMutationResponseSchema = z.lazy(() => exchangeSsoToken200Schema); export const getIntegrationLogDrainsQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description A list of log drains */ -export const getIntegrationLogDrains200Schema = z.unknown() +export const getIntegrationLogDrains200Schema = z.unknown(); -export const getIntegrationLogDrains400Schema = z.unknown() +export const getIntegrationLogDrains400Schema = z.unknown(); -export const getIntegrationLogDrains401Schema = z.unknown() +export const getIntegrationLogDrains401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getIntegrationLogDrains403Schema = z.unknown() +export const getIntegrationLogDrains403Schema = z.unknown(); -export const getIntegrationLogDrainsQueryResponseSchema = z.lazy(() => getIntegrationLogDrains200Schema) +export const getIntegrationLogDrainsQueryResponseSchema = z.lazy(() => getIntegrationLogDrains200Schema); export const createLogDrainQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description The log drain was successfully created */ -export const createLogDrain200Schema = z.unknown() +export const createLogDrain200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nThe provided token is not from an OAuth2 Client */ -export const createLogDrain400Schema = z.unknown() +export const createLogDrain400Schema = z.unknown(); -export const createLogDrain401Schema = z.unknown() +export const createLogDrain401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const createLogDrain403Schema = z.unknown() +export const createLogDrain403Schema = z.unknown(); -export const createLogDrainMutationResponseSchema = z.lazy(() => createLogDrain200Schema) +export const createLogDrainMutationResponseSchema = z.lazy(() => createLogDrain200Schema); export const deleteIntegrationLogDrainPathParamsSchema = z.object({ - id: z.string().describe('ID of the log drain to be deleted'), -}) + id: z.string().describe('ID of the log drain to be deleted') +}); export const deleteIntegrationLogDrainQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description The log drain was successfully deleted */ -export const deleteIntegrationLogDrain204Schema = z.unknown() +export const deleteIntegrationLogDrain204Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const deleteIntegrationLogDrain400Schema = z.unknown() +export const deleteIntegrationLogDrain400Schema = z.unknown(); -export const deleteIntegrationLogDrain401Schema = z.unknown() +export const deleteIntegrationLogDrain401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const deleteIntegrationLogDrain403Schema = z.unknown() +export const deleteIntegrationLogDrain403Schema = z.unknown(); /** * @description The log drain was not found */ -export const deleteIntegrationLogDrain404Schema = z.unknown() +export const deleteIntegrationLogDrain404Schema = z.unknown(); -export const deleteIntegrationLogDrainMutationResponseSchema = z.lazy(() => deleteIntegrationLogDrain204Schema) +export const deleteIntegrationLogDrainMutationResponseSchema = z.lazy(() => deleteIntegrationLogDrain204Schema); export const getRuntimeLogsPathParamsSchema = z.object({ projectId: z.string(), - deploymentId: z.string(), -}) + deploymentId: z.string() +}); export const getRuntimeLogsQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const getRuntimeLogs200Schema = z.unknown() +export const getRuntimeLogs200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const getRuntimeLogs400Schema = z.unknown() +export const getRuntimeLogs400Schema = z.unknown(); -export const getRuntimeLogs401Schema = z.unknown() +export const getRuntimeLogs401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getRuntimeLogs403Schema = z.unknown() +export const getRuntimeLogs403Schema = z.unknown(); -export const getRuntimeLogsQueryResponseSchema = z.lazy(() => getRuntimeLogs200Schema) +export const getRuntimeLogsQueryResponseSchema = z.lazy(() => getRuntimeLogs200Schema); export const createExperimentationItemPathParamsSchema = z.object({ integrationConfigurationId: z.string(), - resourceId: z.string(), -}) + resourceId: z.string() +}); /** * @description The items were created */ -export const createExperimentationItem204Schema = z.unknown() +export const createExperimentationItem204Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const createExperimentationItem400Schema = z.unknown() +export const createExperimentationItem400Schema = z.unknown(); -export const createExperimentationItem401Schema = z.unknown() +export const createExperimentationItem401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const createExperimentationItem403Schema = z.unknown() +export const createExperimentationItem403Schema = z.unknown(); -export const createExperimentationItem404Schema = z.unknown() +export const createExperimentationItem404Schema = z.unknown(); -export const createExperimentationItemMutationResponseSchema = z.lazy(() => createExperimentationItem204Schema) +export const createExperimentationItemMutationResponseSchema = z.lazy(() => createExperimentationItem204Schema); export const updateExperimentationItemPathParamsSchema = z.object({ integrationConfigurationId: z.string(), resourceId: z.string(), - itemId: z.string(), -}) + itemId: z.string() +}); /** * @description The item was updated */ -export const updateExperimentationItem204Schema = z.unknown() +export const updateExperimentationItem204Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const updateExperimentationItem400Schema = z.unknown() +export const updateExperimentationItem400Schema = z.unknown(); -export const updateExperimentationItem401Schema = z.unknown() +export const updateExperimentationItem401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const updateExperimentationItem403Schema = z.unknown() +export const updateExperimentationItem403Schema = z.unknown(); -export const updateExperimentationItem404Schema = z.unknown() +export const updateExperimentationItem404Schema = z.unknown(); -export const updateExperimentationItemMutationResponseSchema = z.lazy(() => updateExperimentationItem204Schema) +export const updateExperimentationItemMutationResponseSchema = z.lazy(() => updateExperimentationItem204Schema); export const deleteExperimentationItemPathParamsSchema = z.object({ integrationConfigurationId: z.string(), resourceId: z.string(), - itemId: z.string(), -}) + itemId: z.string() +}); /** * @description The item was deleted */ -export const deleteExperimentationItem204Schema = z.unknown() +export const deleteExperimentationItem204Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const deleteExperimentationItem400Schema = z.unknown() +export const deleteExperimentationItem400Schema = z.unknown(); -export const deleteExperimentationItem401Schema = z.unknown() +export const deleteExperimentationItem401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const deleteExperimentationItem403Schema = z.unknown() +export const deleteExperimentationItem403Schema = z.unknown(); -export const deleteExperimentationItem404Schema = z.unknown() +export const deleteExperimentationItem404Schema = z.unknown(); -export const deleteExperimentationItemMutationResponseSchema = z.lazy(() => deleteExperimentationItem204Schema) +export const deleteExperimentationItemMutationResponseSchema = z.lazy(() => deleteExperimentationItem204Schema); export const updateExperimentationEdgeConfigPathParamsSchema = z.object({ integrationConfigurationId: z.string(), - resourceId: z.string(), -}) + resourceId: z.string() +}); /** * @description The Edge Config was updated */ -export const updateExperimentationEdgeConfig200Schema = z.unknown() +export const updateExperimentationEdgeConfig200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const updateExperimentationEdgeConfig400Schema = z.unknown() +export const updateExperimentationEdgeConfig400Schema = z.unknown(); -export const updateExperimentationEdgeConfig401Schema = z.unknown() +export const updateExperimentationEdgeConfig401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const updateExperimentationEdgeConfig403Schema = z.unknown() +export const updateExperimentationEdgeConfig403Schema = z.unknown(); -export const updateExperimentationEdgeConfig404Schema = z.unknown() +export const updateExperimentationEdgeConfig404Schema = z.unknown(); -export const updateExperimentationEdgeConfig409Schema = z.unknown() +export const updateExperimentationEdgeConfig409Schema = z.unknown(); -export const updateExperimentationEdgeConfig412Schema = z.unknown() +export const updateExperimentationEdgeConfig412Schema = z.unknown(); -export const updateExperimentationEdgeConfigMutationResponseSchema = z.lazy(() => updateExperimentationEdgeConfig200Schema) +export const updateExperimentationEdgeConfigMutationResponseSchema = z.lazy( + () => updateExperimentationEdgeConfig200Schema +); export const getProjectMembersPathParamsSchema = z.object({ - idOrName: z.string().describe('The ID or name of the Project.'), -}) + idOrName: z.string().describe('The ID or name of the Project.') +}); export const getProjectMembersQueryParamsSchema = z .object({ - limit: z.coerce.number().int().min(1).max(100).describe('Limit how many project members should be returned').optional(), - since: z.coerce.number().int().describe('Timestamp in milliseconds to only include members added since then.').optional(), - until: z.coerce.number().int().describe('Timestamp in milliseconds to only include members added until then.').optional(), + limit: z.coerce + .number() + .int() + .min(1) + .max(100) + .describe('Limit how many project members should be returned') + .optional(), + since: z.coerce + .number() + .int() + .describe('Timestamp in milliseconds to only include members added since then.') + .optional(), + until: z.coerce + .number() + .int() + .describe('Timestamp in milliseconds to only include members added until then.') + .optional(), search: z.string().describe('Search project members by their name, username, and email.').optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description Paginated list of members for the project. */ -export const getProjectMembers200Schema = z.unknown() +export const getProjectMembers200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const getProjectMembers400Schema = z.unknown() +export const getProjectMembers400Schema = z.unknown(); -export const getProjectMembers401Schema = z.unknown() +export const getProjectMembers401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getProjectMembers403Schema = z.unknown() +export const getProjectMembers403Schema = z.unknown(); -export const getProjectMembersQueryResponseSchema = z.lazy(() => getProjectMembers200Schema) +export const getProjectMembersQueryResponseSchema = z.lazy(() => getProjectMembers200Schema); export const addProjectMemberPathParamsSchema = z.object({ - idOrName: z.string().describe('The ID or name of the Project.'), -}) + idOrName: z.string().describe('The ID or name of the Project.') +}); export const addProjectMemberQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description Responds with the project ID on success. */ -export const addProjectMember200Schema = z.unknown() +export const addProjectMember200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const addProjectMember400Schema = z.unknown() +export const addProjectMember400Schema = z.unknown(); -export const addProjectMember401Schema = z.unknown() +export const addProjectMember401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const addProjectMember403Schema = z.unknown() +export const addProjectMember403Schema = z.unknown(); -export const addProjectMember500Schema = z.unknown() +export const addProjectMember500Schema = z.unknown(); -export const addProjectMemberMutationResponseSchema = z.lazy(() => addProjectMember200Schema) +export const addProjectMemberMutationResponseSchema = z.lazy(() => addProjectMember200Schema); export const removeProjectMemberPathParamsSchema = z.object({ idOrName: z.string().describe('The ID or name of the Project.'), - uid: z.string().describe('The user ID of the member.'), -}) + uid: z.string().describe('The user ID of the member.') +}); export const removeProjectMemberQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const removeProjectMember200Schema = z.unknown() +export const removeProjectMember200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const removeProjectMember400Schema = z.unknown() +export const removeProjectMember400Schema = z.unknown(); -export const removeProjectMember401Schema = z.unknown() +export const removeProjectMember401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const removeProjectMember403Schema = z.unknown() +export const removeProjectMember403Schema = z.unknown(); -export const removeProjectMemberMutationResponseSchema = z.lazy(() => removeProjectMember200Schema) +export const removeProjectMemberMutationResponseSchema = z.lazy(() => removeProjectMember200Schema); export const getProjectsQueryParamsSchema = z .object({ from: z.string().describe('Query only projects updated after the given timestamp').optional(), gitForkProtection: z .enum(['1', '0']) - .describe("Specifies whether PRs from Git forks should require a team member's authorization before it can be deployed") + .describe( + "Specifies whether PRs from Git forks should require a team member's authorization before it can be deployed" + ) .optional(), limit: z.string().describe('Limit the number of projects returned').optional(), search: z.string().max(100).describe('Search projects by the name field').optional(), @@ -5995,355 +6623,366 @@ export const getProjectsQueryParamsSchema = z edgeConfigId: z.string().describe('Filter results by connected Edge Config ID').optional(), edgeConfigTokenId: z.string().describe('Filter results by connected Edge Config Token ID').optional(), deprecated: z.boolean().optional(), - elasticConcurrencyEnabled: z.enum(['1', '0']).describe('Filter results by projects with elastic concurrency enabled').optional(), + elasticConcurrencyEnabled: z + .enum(['1', '0']) + .describe('Filter results by projects with elastic concurrency enabled') + .optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description The paginated list of projects */ -export const getProjects200Schema = z.unknown() +export const getProjects200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const getProjects400Schema = z.unknown() +export const getProjects400Schema = z.unknown(); -export const getProjects401Schema = z.unknown() +export const getProjects401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getProjects403Schema = z.unknown() +export const getProjects403Schema = z.unknown(); -export const getProjectsQueryResponseSchema = z.lazy(() => getProjects200Schema) +export const getProjectsQueryResponseSchema = z.lazy(() => getProjects200Schema); export const createProjectQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description The project was successfuly created */ -export const createProject200Schema = z.unknown() +export const createProject200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nAt least one environment variable failed validation\nThe Bitbucket Webhook for the project link could not be created\nThe Gitlab Webhook for the project link could not be created */ -export const createProject400Schema = z.unknown() +export const createProject400Schema = z.unknown(); -export const createProject401Schema = z.unknown() +export const createProject401Schema = z.unknown(); /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated\nPro customers are allowed to deploy Serverless Functions to up to `proMaxRegions` regions, or if the project was created before the limit was introduced.\nDeploying to Serverless Functions to multiple regions requires a plan update */ -export const createProject402Schema = z.unknown() +export const createProject402Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const createProject403Schema = z.unknown() +export const createProject403Schema = z.unknown(); -export const createProject404Schema = z.unknown() +export const createProject404Schema = z.unknown(); /** * @description A project with the provided name already exists. */ -export const createProject409Schema = z.unknown() +export const createProject409Schema = z.unknown(); /** * @description Owner does not have protection add-on */ -export const createProject428Schema = z.unknown() +export const createProject428Schema = z.unknown(); -export const createProject429Schema = z.unknown() +export const createProject429Schema = z.unknown(); -export const createProject500Schema = z.unknown() +export const createProject500Schema = z.unknown(); -export const createProjectMutationResponseSchema = z.lazy(() => createProject200Schema) +export const createProjectMutationResponseSchema = z.lazy(() => createProject200Schema); export const getProjectPathParamsSchema = z.object({ - idOrName: z.union([z.boolean(), z.string()]).describe('The unique project identifier or the project name'), -}) + idOrName: z.union([z.boolean(), z.string()]).describe('The unique project identifier or the project name') +}); export const getProjectQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description The project information */ -export const getProject200Schema = z.unknown() +export const getProject200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const getProject400Schema = z.unknown() +export const getProject400Schema = z.unknown(); -export const getProject401Schema = z.unknown() +export const getProject401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getProject403Schema = z.unknown() +export const getProject403Schema = z.unknown(); -export const getProjectQueryResponseSchema = z.lazy(() => getProject200Schema) +export const getProjectQueryResponseSchema = z.lazy(() => getProject200Schema); export const updateProjectPathParamsSchema = z.object({ - idOrName: z.string().describe('The unique project identifier or the project name'), -}) + idOrName: z.string().describe('The unique project identifier or the project name') +}); export const updateProjectQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description The project was successfully updated */ -export const updateProject200Schema = z.unknown() +export const updateProject200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nTrusted IPs is only accessible for enterprise customers */ -export const updateProject400Schema = z.unknown() +export const updateProject400Schema = z.unknown(); -export const updateProject401Schema = z.unknown() +export const updateProject401Schema = z.unknown(); /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated\nPro customers are allowed to deploy Serverless Functions to up to `proMaxRegions` regions, or if the project was created before the limit was introduced.\nDeploying to Serverless Functions to multiple regions requires a plan update */ -export const updateProject402Schema = z.unknown() +export const updateProject402Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const updateProject403Schema = z.unknown() +export const updateProject403Schema = z.unknown(); -export const updateProject404Schema = z.unknown() +export const updateProject404Schema = z.unknown(); /** * @description The provided name for the project is already being used\nThe project is currently being transferred. */ -export const updateProject409Schema = z.unknown() +export const updateProject409Schema = z.unknown(); /** * @description Owner does not have protection add-on\nAdvanced Deployment Protection is not available for the user plan */ -export const updateProject428Schema = z.unknown() +export const updateProject428Schema = z.unknown(); -export const updateProjectMutationResponseSchema = z.lazy(() => updateProject200Schema) +export const updateProjectMutationResponseSchema = z.lazy(() => updateProject200Schema); export const deleteProjectPathParamsSchema = z.object({ - idOrName: z.string().describe('The unique project identifier or the project name'), -}) + idOrName: z.string().describe('The unique project identifier or the project name') +}); export const deleteProjectQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description The project was successfuly removed */ -export const deleteProject204Schema = z.unknown() +export const deleteProject204Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const deleteProject400Schema = z.unknown() +export const deleteProject400Schema = z.unknown(); -export const deleteProject401Schema = z.unknown() +export const deleteProject401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const deleteProject403Schema = z.unknown() +export const deleteProject403Schema = z.unknown(); -export const deleteProject409Schema = z.unknown() +export const deleteProject409Schema = z.unknown(); -export const deleteProjectMutationResponseSchema = z.lazy(() => deleteProject204Schema) +export const deleteProjectMutationResponseSchema = z.lazy(() => deleteProject204Schema); export const createCustomEnvironmentPathParamsSchema = z.object({ - idOrName: z.string().describe('The unique project identifier or the project name'), -}) + idOrName: z.string().describe('The unique project identifier or the project name') +}); export const createCustomEnvironmentQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const createCustomEnvironment201Schema = z.unknown() +export const createCustomEnvironment201Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const createCustomEnvironment400Schema = z.unknown() +export const createCustomEnvironment400Schema = z.unknown(); -export const createCustomEnvironment401Schema = z.unknown() +export const createCustomEnvironment401Schema = z.unknown(); /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export const createCustomEnvironment402Schema = z.unknown() +export const createCustomEnvironment402Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const createCustomEnvironment403Schema = z.unknown() +export const createCustomEnvironment403Schema = z.unknown(); -export const createCustomEnvironment500Schema = z.unknown() +export const createCustomEnvironment500Schema = z.unknown(); -export const createCustomEnvironmentMutationResponseSchema = z.lazy(() => createCustomEnvironment201Schema) +export const createCustomEnvironmentMutationResponseSchema = z.lazy(() => createCustomEnvironment201Schema); export const listCustomEnvironmentsPathParamsSchema = z.object({ - idOrName: z.string().describe('The unique project identifier or the project name'), -}) + idOrName: z.string().describe('The unique project identifier or the project name') +}); export const listCustomEnvironmentsQueryParamsSchema = z .object({ gitBranch: z.string().describe('Fetch custom environments for a specific git branch').optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const listCustomEnvironments200Schema = z.unknown() +export const listCustomEnvironments200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const listCustomEnvironments400Schema = z.unknown() +export const listCustomEnvironments400Schema = z.unknown(); -export const listCustomEnvironments401Schema = z.unknown() +export const listCustomEnvironments401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const listCustomEnvironments403Schema = z.unknown() +export const listCustomEnvironments403Schema = z.unknown(); -export const listCustomEnvironmentsQueryResponseSchema = z.lazy(() => listCustomEnvironments200Schema) +export const listCustomEnvironmentsQueryResponseSchema = z.lazy(() => listCustomEnvironments200Schema); export const getCustomEnvironmentPathParamsSchema = z.object({ idOrName: z.string().describe('The unique project identifier or the project name'), - environmentSlugOrId: z.string().describe('The unique custom environment identifier within the project'), -}) + environmentSlugOrId: z.string().describe('The unique custom environment identifier within the project') +}); export const getCustomEnvironmentQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const getCustomEnvironment200Schema = z.unknown() +export const getCustomEnvironment200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const getCustomEnvironment400Schema = z.unknown() +export const getCustomEnvironment400Schema = z.unknown(); -export const getCustomEnvironment401Schema = z.unknown() +export const getCustomEnvironment401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getCustomEnvironment403Schema = z.unknown() +export const getCustomEnvironment403Schema = z.unknown(); -export const getCustomEnvironment404Schema = z.unknown() +export const getCustomEnvironment404Schema = z.unknown(); -export const getCustomEnvironmentQueryResponseSchema = z.lazy(() => getCustomEnvironment200Schema) +export const getCustomEnvironmentQueryResponseSchema = z.lazy(() => getCustomEnvironment200Schema); export const updateCustomEnvironmentPathParamsSchema = z.object({ idOrName: z.string().describe('The unique project identifier or the project name'), - environmentSlugOrId: z.string().describe('The unique custom environment identifier within the project'), -}) + environmentSlugOrId: z.string().describe('The unique custom environment identifier within the project') +}); export const updateCustomEnvironmentQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const updateCustomEnvironment200Schema = z.unknown() +export const updateCustomEnvironment200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const updateCustomEnvironment400Schema = z.unknown() +export const updateCustomEnvironment400Schema = z.unknown(); -export const updateCustomEnvironment401Schema = z.unknown() +export const updateCustomEnvironment401Schema = z.unknown(); /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export const updateCustomEnvironment402Schema = z.unknown() +export const updateCustomEnvironment402Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const updateCustomEnvironment403Schema = z.unknown() +export const updateCustomEnvironment403Schema = z.unknown(); -export const updateCustomEnvironment500Schema = z.unknown() +export const updateCustomEnvironment500Schema = z.unknown(); -export const updateCustomEnvironmentMutationResponseSchema = z.lazy(() => updateCustomEnvironment200Schema) +export const updateCustomEnvironmentMutationResponseSchema = z.lazy(() => updateCustomEnvironment200Schema); export const removeCustomEnvironmentPathParamsSchema = z.object({ idOrName: z.string().describe('The unique project identifier or the project name'), - environmentSlugOrId: z.string().describe('The unique custom environment identifier within the project'), -}) + environmentSlugOrId: z.string().describe('The unique custom environment identifier within the project') +}); export const removeCustomEnvironmentQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const removeCustomEnvironment200Schema = z.unknown() +export const removeCustomEnvironment200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const removeCustomEnvironment400Schema = z.unknown() +export const removeCustomEnvironment400Schema = z.unknown(); -export const removeCustomEnvironment401Schema = z.unknown() +export const removeCustomEnvironment401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const removeCustomEnvironment403Schema = z.unknown() +export const removeCustomEnvironment403Schema = z.unknown(); -export const removeCustomEnvironmentMutationResponseSchema = z.lazy(() => removeCustomEnvironment200Schema) +export const removeCustomEnvironmentMutationResponseSchema = z.lazy(() => removeCustomEnvironment200Schema); export const getProjectDomainsPathParamsSchema = z.object({ - idOrName: z.union([z.coerce.number().int(), z.string()]).describe('The unique project identifier or the project name'), -}) + idOrName: z.union([z.coerce.number().int(), z.string()]).describe('The unique project identifier or the project name') +}); export const getProjectDomainsQueryParamsSchema = z.object({ - production: z.enum(['true', 'false']).default('false').describe('Filters only production domains when set to `true`.'), - target: z.enum(['production', 'preview']).describe('Filters on the target of the domain. Can be either \\"production\\", \\"preview\\"').optional(), + production: z + .enum(['true', 'false']) + .default('false') + .describe('Filters only production domains when set to `true`.'), + target: z + .enum(['production', 'preview']) + .describe('Filters on the target of the domain. Can be either \\"production\\", \\"preview\\"') + .optional(), customEnvironmentId: z.string().describe('The unique custom environment identifier within the project').optional(), gitBranch: z.string().describe('Filters domains based on specific branch.').optional(), redirects: z .enum(['true', 'false']) .default('true') - .describe('Excludes redirect project domains when \\"false\\". Includes redirect project domains when \\"true\\" (default).'), + .describe( + 'Excludes redirect project domains when \\"false\\". Includes redirect project domains when \\"true\\" (default).' + ), redirect: z.string().describe('Filters domains based on their redirect target.').optional(), verified: z.enum(['true', 'false']).describe('Filters domains based on their verification status.').optional(), limit: z.coerce.number().describe('Maximum number of domains to list from a request (max 100).').optional(), @@ -6351,996 +6990,1008 @@ export const getProjectDomainsQueryParamsSchema = z.object({ until: z.coerce.number().describe('Get domains created before this JavaScript timestamp.').optional(), order: z.enum(['ASC', 'DESC']).default('DESC').describe('Domains sort order by createdAt'), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), -}) + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() +}); /** * @description Successful response retrieving a list of domains */ -export const getProjectDomains200Schema = z.unknown() +export const getProjectDomains200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const getProjectDomains400Schema = z.unknown() +export const getProjectDomains400Schema = z.unknown(); -export const getProjectDomains401Schema = z.unknown() +export const getProjectDomains401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getProjectDomains403Schema = z.unknown() +export const getProjectDomains403Schema = z.unknown(); -export const getProjectDomainsQueryResponseSchema = z.lazy(() => getProjectDomains200Schema) +export const getProjectDomainsQueryResponseSchema = z.lazy(() => getProjectDomains200Schema); export const getProjectDomainPathParamsSchema = z.object({ idOrName: z.string().describe('The unique project identifier or the project name'), - domain: z.string().describe('The project domain name'), -}) + domain: z.string().describe('The project domain name') +}); export const getProjectDomainQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const getProjectDomain200Schema = z.unknown() +export const getProjectDomain200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const getProjectDomain400Schema = z.unknown() +export const getProjectDomain400Schema = z.unknown(); -export const getProjectDomain401Schema = z.unknown() +export const getProjectDomain401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getProjectDomain403Schema = z.unknown() +export const getProjectDomain403Schema = z.unknown(); -export const getProjectDomainQueryResponseSchema = z.lazy(() => getProjectDomain200Schema) +export const getProjectDomainQueryResponseSchema = z.lazy(() => getProjectDomain200Schema); export const updateProjectDomainPathParamsSchema = z.object({ idOrName: z.string().describe('The unique project identifier or the project name'), - domain: z.string().describe('The project domain name'), -}) + domain: z.string().describe('The project domain name') +}); export const updateProjectDomainQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description The domain was updated successfuly */ -export const updateProjectDomain200Schema = z.unknown() +export const updateProjectDomain200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nThe domain redirect is not valid */ -export const updateProjectDomain400Schema = z.unknown() +export const updateProjectDomain400Schema = z.unknown(); -export const updateProjectDomain401Schema = z.unknown() +export const updateProjectDomain401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const updateProjectDomain403Schema = z.unknown() +export const updateProjectDomain403Schema = z.unknown(); /** * @description The project is currently being transferred */ -export const updateProjectDomain409Schema = z.unknown() +export const updateProjectDomain409Schema = z.unknown(); -export const updateProjectDomainMutationResponseSchema = z.lazy(() => updateProjectDomain200Schema) +export const updateProjectDomainMutationResponseSchema = z.lazy(() => updateProjectDomain200Schema); export const removeProjectDomainPathParamsSchema = z.object({ idOrName: z.string().describe('The unique project identifier or the project name'), - domain: z.string().describe('The project domain name'), -}) + domain: z.string().describe('The project domain name') +}); export const removeProjectDomainQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description The domain was succesfully removed from the project */ -export const removeProjectDomain200Schema = z.unknown() +export const removeProjectDomain200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const removeProjectDomain400Schema = z.unknown() +export const removeProjectDomain400Schema = z.unknown(); -export const removeProjectDomain401Schema = z.unknown() +export const removeProjectDomain401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const removeProjectDomain403Schema = z.unknown() +export const removeProjectDomain403Schema = z.unknown(); -export const removeProjectDomain404Schema = z.unknown() +export const removeProjectDomain404Schema = z.unknown(); /** * @description The project is currently being transferred */ -export const removeProjectDomain409Schema = z.unknown() +export const removeProjectDomain409Schema = z.unknown(); -export const removeProjectDomainMutationResponseSchema = z.lazy(() => removeProjectDomain200Schema) +export const removeProjectDomainMutationResponseSchema = z.lazy(() => removeProjectDomain200Schema); export const addProjectDomainPathParamsSchema = z.object({ - idOrName: z.string().describe('The unique project identifier or the project name'), -}) + idOrName: z.string().describe('The unique project identifier or the project name') +}); export const addProjectDomainQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description The domain was successfully added to the project */ -export const addProjectDomain200Schema = z.unknown() +export const addProjectDomain200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nThe domain is not valid\nYou can\'t set both a git branch and a redirect for the domain\nThe domain can not be added because the latest production deployment for the project was not successful\nThe domain redirect is not valid\nA domain cannot redirect to itself\nYou can not set the production branch as a branch for your domain */ -export const addProjectDomain400Schema = z.unknown() +export const addProjectDomain400Schema = z.unknown(); -export const addProjectDomain401Schema = z.unknown() +export const addProjectDomain401Schema = z.unknown(); /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export const addProjectDomain402Schema = z.unknown() +export const addProjectDomain402Schema = z.unknown(); /** * @description You do not have permission to access this resource.\nYou don\'t have access to the domain you are adding */ -export const addProjectDomain403Schema = z.unknown() +export const addProjectDomain403Schema = z.unknown(); /** * @description The domain is already assigned to another Vercel project\nCannot create project domain since owner already has `domain` on their account, but it\'s not verified yet.\nCannot create project domain since owner already has `domain` on their account, and it\'s verified.\nThe domain is not allowed to be used\nThe project is currently being transferred */ -export const addProjectDomain409Schema = z.unknown() +export const addProjectDomain409Schema = z.unknown(); -export const addProjectDomainMutationResponseSchema = z.lazy(() => addProjectDomain200Schema) +export const addProjectDomainMutationResponseSchema = z.lazy(() => addProjectDomain200Schema); export const moveProjectDomainPathParamsSchema = z.object({ idOrName: z.string().describe('The unique project identifier or the project name'), - domain: z.string().describe('The project domain name'), -}) + domain: z.string().describe('The project domain name') +}); export const moveProjectDomainQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description The domain was updated successfuly */ -export const moveProjectDomain200Schema = z.unknown() +export const moveProjectDomain200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const moveProjectDomain400Schema = z.unknown() +export const moveProjectDomain400Schema = z.unknown(); -export const moveProjectDomain401Schema = z.unknown() +export const moveProjectDomain401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const moveProjectDomain403Schema = z.unknown() +export const moveProjectDomain403Schema = z.unknown(); /** * @description The project is currently being transferred */ -export const moveProjectDomain409Schema = z.unknown() +export const moveProjectDomain409Schema = z.unknown(); -export const moveProjectDomainMutationResponseSchema = z.lazy(() => moveProjectDomain200Schema) +export const moveProjectDomainMutationResponseSchema = z.lazy(() => moveProjectDomain200Schema); export const verifyProjectDomainPathParamsSchema = z.object({ idOrName: z.string().describe('The unique project identifier or the project name'), - domain: z.string().describe('The domain name you want to verify'), -}) + domain: z.string().describe('The domain name you want to verify') +}); export const verifyProjectDomainQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description The project domain was verified successfully\nDomain is already verified */ -export const verifyProjectDomain200Schema = z.unknown() +export const verifyProjectDomain200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid.\nThere is an existing TXT record on the domain verifying it for another project\nThe domain does not have a TXT record that attempts to verify the project domain\nThe TXT record on the domain does not match the expected challenge for the project domain\nProject domain is not assigned to project */ -export const verifyProjectDomain400Schema = z.unknown() +export const verifyProjectDomain400Schema = z.unknown(); -export const verifyProjectDomain401Schema = z.unknown() +export const verifyProjectDomain401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const verifyProjectDomain403Schema = z.unknown() +export const verifyProjectDomain403Schema = z.unknown(); -export const verifyProjectDomainMutationResponseSchema = z.lazy(() => verifyProjectDomain200Schema) +export const verifyProjectDomainMutationResponseSchema = z.lazy(() => verifyProjectDomain200Schema); export const filterProjectEnvsPathParamsSchema = z.object({ - idOrName: z.string().describe('The unique project identifier or the project name'), -}) + idOrName: z.string().describe('The unique project identifier or the project name') +}); export const filterProjectEnvsQueryParamsSchema = z .object({ gitBranch: z .string() .max(250) - .describe('If defined, the git branch of the environment variable to filter the results (must have target=preview)') + .describe( + 'If defined, the git branch of the environment variable to filter the results (must have target=preview)' + ) .optional(), decrypt: z.enum(['true', 'false']).describe('If true, the environment variable value will be decrypted').optional(), source: z.string().describe('The source that is calling the endpoint.').optional(), customEnvironmentId: z.string().describe('The unique custom environment identifier within the project').optional(), customEnvironmentSlug: z.string().describe('The custom environment slug (name) within the project').optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description The list of environment variables for the given project */ -export const filterProjectEnvs200Schema = z.unknown() +export const filterProjectEnvs200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const filterProjectEnvs400Schema = z.unknown() +export const filterProjectEnvs400Schema = z.unknown(); -export const filterProjectEnvs401Schema = z.unknown() +export const filterProjectEnvs401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const filterProjectEnvs403Schema = z.unknown() +export const filterProjectEnvs403Schema = z.unknown(); -export const filterProjectEnvsQueryResponseSchema = z.lazy(() => filterProjectEnvs200Schema) +export const filterProjectEnvsQueryResponseSchema = z.lazy(() => filterProjectEnvs200Schema); export const createProjectEnvPathParamsSchema = z.object({ - idOrName: z.string().describe('The unique project identifier or the project name'), -}) + idOrName: z.string().describe('The unique project identifier or the project name') +}); export const createProjectEnvQueryParamsSchema = z .object({ upsert: z.string().describe('Allow override of environment variable if it already exists').optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description The environment variable was created successfully */ -export const createProjectEnv201Schema = z.unknown() +export const createProjectEnv201Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nThe environment variable coudn\'t be created because an ongoing update env update is already happening\nThe environment variable coudn\'t be created because project document is too large */ -export const createProjectEnv400Schema = z.unknown() +export const createProjectEnv400Schema = z.unknown(); -export const createProjectEnv401Schema = z.unknown() +export const createProjectEnv401Schema = z.unknown(); /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export const createProjectEnv402Schema = z.unknown() +export const createProjectEnv402Schema = z.unknown(); /** * @description You do not have permission to access this resource.\nThe environment variable cannot be created because it already exists\nAdditional permissions are required to create production environment variables */ -export const createProjectEnv403Schema = z.unknown() +export const createProjectEnv403Schema = z.unknown(); -export const createProjectEnv404Schema = z.unknown() +export const createProjectEnv404Schema = z.unknown(); /** * @description The project is being transfered and creating an environment variable is not possible */ -export const createProjectEnv409Schema = z.unknown() +export const createProjectEnv409Schema = z.unknown(); -export const createProjectEnv429Schema = z.unknown() +export const createProjectEnv429Schema = z.unknown(); -export const createProjectEnv500Schema = z.unknown() +export const createProjectEnv500Schema = z.unknown(); -export const createProjectEnvMutationResponseSchema = z.lazy(() => createProjectEnv201Schema) +export const createProjectEnvMutationResponseSchema = z.lazy(() => createProjectEnv201Schema); export const getProjectEnvPathParamsSchema = z.object({ idOrName: z.string().describe('The unique project identifier or the project name'), - id: z.string().describe('The unique ID for the environment variable to get the decrypted value.'), -}) + id: z.string().describe('The unique ID for the environment variable to get the decrypted value.') +}); export const getProjectEnvQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const getProjectEnv200Schema = z.unknown() +export const getProjectEnv200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const getProjectEnv400Schema = z.unknown() +export const getProjectEnv400Schema = z.unknown(); -export const getProjectEnv401Schema = z.unknown() +export const getProjectEnv401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getProjectEnv403Schema = z.unknown() +export const getProjectEnv403Schema = z.unknown(); -export const getProjectEnvQueryResponseSchema = z.lazy(() => getProjectEnv200Schema) +export const getProjectEnvQueryResponseSchema = z.lazy(() => getProjectEnv200Schema); export const removeProjectEnvPathParamsSchema = z.object({ idOrName: z.string().describe('The unique project identifier or the project name'), - id: z.string().describe('The unique environment variable identifier'), -}) + id: z.string().describe('The unique environment variable identifier') +}); export const removeProjectEnvQueryParamsSchema = z .object({ customEnvironmentId: z.string().describe('The unique custom environment identifier within the project').optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description The environment variable was successfully removed */ -export const removeProjectEnv200Schema = z.unknown() +export const removeProjectEnv200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const removeProjectEnv400Schema = z.unknown() +export const removeProjectEnv400Schema = z.unknown(); -export const removeProjectEnv401Schema = z.unknown() +export const removeProjectEnv401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const removeProjectEnv403Schema = z.unknown() +export const removeProjectEnv403Schema = z.unknown(); -export const removeProjectEnv404Schema = z.unknown() +export const removeProjectEnv404Schema = z.unknown(); /** * @description The project is being transfered and removing an environment variable is not possible */ -export const removeProjectEnv409Schema = z.unknown() +export const removeProjectEnv409Schema = z.unknown(); -export const removeProjectEnvMutationResponseSchema = z.lazy(() => removeProjectEnv200Schema) +export const removeProjectEnvMutationResponseSchema = z.lazy(() => removeProjectEnv200Schema); export const editProjectEnvPathParamsSchema = z.object({ idOrName: z.string().describe('The unique project identifier or the project name'), - id: z.string().describe('The unique environment variable identifier'), -}) + id: z.string().describe('The unique environment variable identifier') +}); export const editProjectEnvQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description The environment variable was successfully edited */ -export const editProjectEnv200Schema = z.unknown() +export const editProjectEnv200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nAt least one environment variable failed validation */ -export const editProjectEnv400Schema = z.unknown() +export const editProjectEnv400Schema = z.unknown(); -export const editProjectEnv401Schema = z.unknown() +export const editProjectEnv401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const editProjectEnv403Schema = z.unknown() +export const editProjectEnv403Schema = z.unknown(); -export const editProjectEnv404Schema = z.unknown() +export const editProjectEnv404Schema = z.unknown(); /** * @description The project is being transfered and removing an environment variable is not possible */ -export const editProjectEnv409Schema = z.unknown() +export const editProjectEnv409Schema = z.unknown(); -export const editProjectEnv429Schema = z.unknown() +export const editProjectEnv429Schema = z.unknown(); -export const editProjectEnv500Schema = z.unknown() +export const editProjectEnv500Schema = z.unknown(); -export const editProjectEnvMutationResponseSchema = z.lazy(() => editProjectEnv200Schema) +export const editProjectEnvMutationResponseSchema = z.lazy(() => editProjectEnv200Schema); export const getRollingReleaseBillingStatusPathParamsSchema = z.object({ - idOrName: z.string().describe('Project ID or project name (URL-encoded)'), -}) + idOrName: z.string().describe('Project ID or project name (URL-encoded)') +}); export const getRollingReleaseBillingStatusQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const getRollingReleaseBillingStatus200Schema = z.unknown() +export const getRollingReleaseBillingStatus200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const getRollingReleaseBillingStatus400Schema = z.unknown() +export const getRollingReleaseBillingStatus400Schema = z.unknown(); -export const getRollingReleaseBillingStatus401Schema = z.unknown() +export const getRollingReleaseBillingStatus401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getRollingReleaseBillingStatus403Schema = z.unknown() +export const getRollingReleaseBillingStatus403Schema = z.unknown(); -export const getRollingReleaseBillingStatus404Schema = z.unknown() +export const getRollingReleaseBillingStatus404Schema = z.unknown(); -export const getRollingReleaseBillingStatusQueryResponseSchema = z.lazy(() => getRollingReleaseBillingStatus200Schema) +export const getRollingReleaseBillingStatusQueryResponseSchema = z.lazy(() => getRollingReleaseBillingStatus200Schema); export const getRollingReleaseConfigPathParamsSchema = z.object({ - idOrName: z.string().describe('Project ID or project name (URL-encoded)'), -}) + idOrName: z.string().describe('Project ID or project name (URL-encoded)') +}); export const getRollingReleaseConfigQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const getRollingReleaseConfig200Schema = z.unknown() +export const getRollingReleaseConfig200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const getRollingReleaseConfig400Schema = z.unknown() +export const getRollingReleaseConfig400Schema = z.unknown(); -export const getRollingReleaseConfig401Schema = z.unknown() +export const getRollingReleaseConfig401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getRollingReleaseConfig403Schema = z.unknown() +export const getRollingReleaseConfig403Schema = z.unknown(); -export const getRollingReleaseConfig404Schema = z.unknown() +export const getRollingReleaseConfig404Schema = z.unknown(); -export const getRollingReleaseConfigQueryResponseSchema = z.lazy(() => getRollingReleaseConfig200Schema) +export const getRollingReleaseConfigQueryResponseSchema = z.lazy(() => getRollingReleaseConfig200Schema); export const deleteRollingReleaseConfigPathParamsSchema = z.object({ - idOrName: z.string().describe('Project ID or project name (URL-encoded)'), -}) + idOrName: z.string().describe('Project ID or project name (URL-encoded)') +}); export const deleteRollingReleaseConfigQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const deleteRollingReleaseConfig200Schema = z.unknown() +export const deleteRollingReleaseConfig200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const deleteRollingReleaseConfig400Schema = z.unknown() +export const deleteRollingReleaseConfig400Schema = z.unknown(); -export const deleteRollingReleaseConfig401Schema = z.unknown() +export const deleteRollingReleaseConfig401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const deleteRollingReleaseConfig403Schema = z.unknown() +export const deleteRollingReleaseConfig403Schema = z.unknown(); -export const deleteRollingReleaseConfig404Schema = z.unknown() +export const deleteRollingReleaseConfig404Schema = z.unknown(); -export const deleteRollingReleaseConfigMutationResponseSchema = z.lazy(() => deleteRollingReleaseConfig200Schema) +export const deleteRollingReleaseConfigMutationResponseSchema = z.lazy(() => deleteRollingReleaseConfig200Schema); export const updateRollingReleaseConfigPathParamsSchema = z.object({ - idOrName: z.string().describe('Project ID or project name (URL-encoded)'), -}) + idOrName: z.string().describe('Project ID or project name (URL-encoded)') +}); export const updateRollingReleaseConfigQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const updateRollingReleaseConfig200Schema = z.unknown() +export const updateRollingReleaseConfig200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const updateRollingReleaseConfig400Schema = z.unknown() +export const updateRollingReleaseConfig400Schema = z.unknown(); -export const updateRollingReleaseConfig401Schema = z.unknown() +export const updateRollingReleaseConfig401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const updateRollingReleaseConfig403Schema = z.unknown() +export const updateRollingReleaseConfig403Schema = z.unknown(); -export const updateRollingReleaseConfig404Schema = z.unknown() +export const updateRollingReleaseConfig404Schema = z.unknown(); -export const updateRollingReleaseConfigMutationResponseSchema = z.lazy(() => updateRollingReleaseConfig200Schema) +export const updateRollingReleaseConfigMutationResponseSchema = z.lazy(() => updateRollingReleaseConfig200Schema); export const getRollingReleasePathParamsSchema = z.object({ - idOrName: z.string().describe('Project ID or project name (URL-encoded)'), -}) + idOrName: z.string().describe('Project ID or project name (URL-encoded)') +}); export const getRollingReleaseQueryParamsSchema = z .object({ state: z.enum(['ACTIVE', 'COMPLETE', 'ABORTED']).describe('Filter by rolling release state').optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const getRollingRelease200Schema = z.unknown() +export const getRollingRelease200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const getRollingRelease400Schema = z.unknown() +export const getRollingRelease400Schema = z.unknown(); -export const getRollingRelease401Schema = z.unknown() +export const getRollingRelease401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getRollingRelease403Schema = z.unknown() +export const getRollingRelease403Schema = z.unknown(); -export const getRollingRelease404Schema = z.unknown() +export const getRollingRelease404Schema = z.unknown(); -export const getRollingReleaseQueryResponseSchema = z.lazy(() => getRollingRelease200Schema) +export const getRollingReleaseQueryResponseSchema = z.lazy(() => getRollingRelease200Schema); export const approveRollingReleaseStagePathParamsSchema = z.object({ - idOrName: z.string().describe('Project ID or project name (URL-encoded)'), -}) + idOrName: z.string().describe('Project ID or project name (URL-encoded)') +}); export const approveRollingReleaseStageQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const approveRollingReleaseStage200Schema = z.unknown() +export const approveRollingReleaseStage200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const approveRollingReleaseStage400Schema = z.unknown() +export const approveRollingReleaseStage400Schema = z.unknown(); -export const approveRollingReleaseStage401Schema = z.unknown() +export const approveRollingReleaseStage401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const approveRollingReleaseStage403Schema = z.unknown() +export const approveRollingReleaseStage403Schema = z.unknown(); -export const approveRollingReleaseStage404Schema = z.unknown() +export const approveRollingReleaseStage404Schema = z.unknown(); -export const approveRollingReleaseStage500Schema = z.unknown() +export const approveRollingReleaseStage500Schema = z.unknown(); -export const approveRollingReleaseStageMutationResponseSchema = z.lazy(() => approveRollingReleaseStage200Schema) +export const approveRollingReleaseStageMutationResponseSchema = z.lazy(() => approveRollingReleaseStage200Schema); export const completeRollingReleasePathParamsSchema = z.object({ - idOrName: z.string().describe('Project ID or project name (URL-encoded)'), -}) + idOrName: z.string().describe('Project ID or project name (URL-encoded)') +}); export const completeRollingReleaseQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const completeRollingRelease200Schema = z.unknown() +export const completeRollingRelease200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const completeRollingRelease400Schema = z.unknown() +export const completeRollingRelease400Schema = z.unknown(); -export const completeRollingRelease401Schema = z.unknown() +export const completeRollingRelease401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const completeRollingRelease403Schema = z.unknown() +export const completeRollingRelease403Schema = z.unknown(); -export const completeRollingRelease404Schema = z.unknown() +export const completeRollingRelease404Schema = z.unknown(); -export const completeRollingReleaseMutationResponseSchema = z.lazy(() => completeRollingRelease200Schema) +export const completeRollingReleaseMutationResponseSchema = z.lazy(() => completeRollingRelease200Schema); export const createProjectTransferRequestPathParamsSchema = z.object({ - idOrName: z.string().describe('The ID or name of the project to transfer.'), -}) + idOrName: z.string().describe('The ID or name of the project to transfer.') +}); export const createProjectTransferRequestQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description The project transfer request has been initiated successfully. */ -export const createProjectTransferRequest200Schema = z.unknown() +export const createProjectTransferRequest200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const createProjectTransferRequest400Schema = z.unknown() +export const createProjectTransferRequest400Schema = z.unknown(); -export const createProjectTransferRequest401Schema = z.unknown() +export const createProjectTransferRequest401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const createProjectTransferRequest403Schema = z.unknown() +export const createProjectTransferRequest403Schema = z.unknown(); -export const createProjectTransferRequestMutationResponseSchema = z.lazy(() => createProjectTransferRequest200Schema) +export const createProjectTransferRequestMutationResponseSchema = z.lazy(() => createProjectTransferRequest200Schema); export const acceptProjectTransferRequestPathParamsSchema = z.object({ - code: z.string().describe('The code of the project transfer request.'), -}) + code: z.string().describe('The code of the project transfer request.') +}); export const acceptProjectTransferRequestQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description The project has been transferred successfully. */ -export const acceptProjectTransferRequest202Schema = z.unknown() +export const acceptProjectTransferRequest202Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const acceptProjectTransferRequest400Schema = z.unknown() +export const acceptProjectTransferRequest400Schema = z.unknown(); -export const acceptProjectTransferRequest401Schema = z.unknown() +export const acceptProjectTransferRequest401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const acceptProjectTransferRequest403Schema = z.unknown() +export const acceptProjectTransferRequest403Schema = z.unknown(); -export const acceptProjectTransferRequest404Schema = z.unknown() +export const acceptProjectTransferRequest404Schema = z.unknown(); -export const acceptProjectTransferRequest422Schema = z.unknown() +export const acceptProjectTransferRequest422Schema = z.unknown(); -export const acceptProjectTransferRequestMutationResponseSchema = z.lazy(() => acceptProjectTransferRequest202Schema) +export const acceptProjectTransferRequestMutationResponseSchema = z.lazy(() => acceptProjectTransferRequest202Schema); export const updateProjectProtectionBypassPathParamsSchema = z.object({ - idOrName: z.string().describe('The unique project identifier or the project name'), -}) + idOrName: z.string().describe('The unique project identifier or the project name') +}); export const updateProjectProtectionBypassQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const updateProjectProtectionBypass200Schema = z.unknown() +export const updateProjectProtectionBypass200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const updateProjectProtectionBypass400Schema = z.unknown() +export const updateProjectProtectionBypass400Schema = z.unknown(); -export const updateProjectProtectionBypass401Schema = z.unknown() +export const updateProjectProtectionBypass401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const updateProjectProtectionBypass403Schema = z.unknown() +export const updateProjectProtectionBypass403Schema = z.unknown(); -export const updateProjectProtectionBypass404Schema = z.unknown() +export const updateProjectProtectionBypass404Schema = z.unknown(); -export const updateProjectProtectionBypass409Schema = z.unknown() +export const updateProjectProtectionBypass409Schema = z.unknown(); -export const updateProjectProtectionBypassMutationResponseSchema = z.lazy(() => updateProjectProtectionBypass200Schema) +export const updateProjectProtectionBypassMutationResponseSchema = z.lazy(() => updateProjectProtectionBypass200Schema); export const requestPromotePathParamsSchema = z.object({ projectId: z.string(), - deploymentId: z.string(), -}) + deploymentId: z.string() +}); export const requestPromoteQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const requestPromote201Schema = z.unknown() +export const requestPromote201Schema = z.unknown(); -export const requestPromote202Schema = z.unknown() +export const requestPromote202Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const requestPromote400Schema = z.unknown() +export const requestPromote400Schema = z.unknown(); -export const requestPromote401Schema = z.unknown() +export const requestPromote401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const requestPromote403Schema = z.unknown() +export const requestPromote403Schema = z.unknown(); -export const requestPromote409Schema = z.unknown() +export const requestPromote409Schema = z.unknown(); -export const requestPromoteMutationResponseSchema = z.union([z.lazy(() => requestPromote201Schema), z.lazy(() => requestPromote202Schema)]) +export const requestPromoteMutationResponseSchema = z.union([ + z.lazy(() => requestPromote201Schema), + z.lazy(() => requestPromote202Schema) +]); export const listPromoteAliasesPathParamsSchema = z.object({ - projectId: z.string(), -}) + projectId: z.string() +}); export const listPromoteAliasesQueryParamsSchema = z .object({ - limit: z.coerce.number().max(100).describe('Maximum number of aliases to list from a request (max 100).').optional(), + limit: z.coerce + .number() + .max(100) + .describe('Maximum number of aliases to list from a request (max 100).') + .optional(), since: z.coerce.number().describe('Get aliases created after this epoch timestamp.').optional(), until: z.coerce.number().describe('Get aliases created before this epoch timestamp.').optional(), - failedOnly: z.boolean().describe('Filter results down to aliases that failed to map to the requested deployment').optional(), + failedOnly: z + .boolean() + .describe('Filter results down to aliases that failed to map to the requested deployment') + .optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const listPromoteAliases200Schema = z.unknown() +export const listPromoteAliases200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const listPromoteAliases400Schema = z.unknown() +export const listPromoteAliases400Schema = z.unknown(); -export const listPromoteAliases401Schema = z.unknown() +export const listPromoteAliases401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const listPromoteAliases403Schema = z.unknown() +export const listPromoteAliases403Schema = z.unknown(); -export const listPromoteAliases404Schema = z.unknown() +export const listPromoteAliases404Schema = z.unknown(); -export const listPromoteAliasesQueryResponseSchema = z.lazy(() => listPromoteAliases200Schema) +export const listPromoteAliasesQueryResponseSchema = z.lazy(() => listPromoteAliases200Schema); export const pauseProjectPathParamsSchema = z.object({ - projectId: z.string().describe('The unique project identifier'), -}) + projectId: z.string().describe('The unique project identifier') +}); export const pauseProjectQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const pauseProject200Schema = z.unknown() +export const pauseProject200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const pauseProject400Schema = z.unknown() +export const pauseProject400Schema = z.unknown(); -export const pauseProject401Schema = z.unknown() +export const pauseProject401Schema = z.unknown(); /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export const pauseProject402Schema = z.unknown() +export const pauseProject402Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const pauseProject403Schema = z.unknown() +export const pauseProject403Schema = z.unknown(); -export const pauseProject500Schema = z.unknown() +export const pauseProject500Schema = z.unknown(); -export const pauseProjectMutationResponseSchema = z.lazy(() => pauseProject200Schema) +export const pauseProjectMutationResponseSchema = z.lazy(() => pauseProject200Schema); export const unpauseProjectPathParamsSchema = z.object({ - projectId: z.string().describe('The unique project identifier'), -}) + projectId: z.string().describe('The unique project identifier') +}); export const unpauseProjectQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const unpauseProject200Schema = z.unknown() +export const unpauseProject200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const unpauseProject400Schema = z.unknown() +export const unpauseProject400Schema = z.unknown(); -export const unpauseProject401Schema = z.unknown() +export const unpauseProject401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const unpauseProject403Schema = z.unknown() +export const unpauseProject403Schema = z.unknown(); -export const unpauseProject500Schema = z.unknown() +export const unpauseProject500Schema = z.unknown(); -export const unpauseProjectMutationResponseSchema = z.lazy(() => unpauseProject200Schema) +export const unpauseProjectMutationResponseSchema = z.lazy(() => unpauseProject200Schema); export const updateAttackChallengeModeQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const updateAttackChallengeMode200Schema = z.unknown() +export const updateAttackChallengeMode200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid. */ -export const updateAttackChallengeMode400Schema = z.unknown() +export const updateAttackChallengeMode400Schema = z.unknown(); -export const updateAttackChallengeMode401Schema = z.unknown() +export const updateAttackChallengeMode401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const updateAttackChallengeMode403Schema = z.unknown() +export const updateAttackChallengeMode403Schema = z.unknown(); -export const updateAttackChallengeMode404Schema = z.unknown() +export const updateAttackChallengeMode404Schema = z.unknown(); -export const updateAttackChallengeModeMutationResponseSchema = z.lazy(() => updateAttackChallengeMode200Schema) +export const updateAttackChallengeModeMutationResponseSchema = z.lazy(() => updateAttackChallengeMode200Schema); export const putFirewallConfigQueryParamsSchema = z.object({ projectId: z.string(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), -}) + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() +}); -export const putFirewallConfig200Schema = z.unknown() +export const putFirewallConfig200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const putFirewallConfig400Schema = z.unknown() +export const putFirewallConfig400Schema = z.unknown(); -export const putFirewallConfig401Schema = z.unknown() +export const putFirewallConfig401Schema = z.unknown(); -export const putFirewallConfig402Schema = z.unknown() +export const putFirewallConfig402Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const putFirewallConfig403Schema = z.unknown() +export const putFirewallConfig403Schema = z.unknown(); -export const putFirewallConfig404Schema = z.unknown() +export const putFirewallConfig404Schema = z.unknown(); -export const putFirewallConfig500Schema = z.unknown() +export const putFirewallConfig500Schema = z.unknown(); -export const putFirewallConfigMutationResponseSchema = z.lazy(() => putFirewallConfig200Schema) +export const putFirewallConfigMutationResponseSchema = z.lazy(() => putFirewallConfig200Schema); export const updateFirewallConfigQueryParamsSchema = z.object({ projectId: z.string(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), -}) + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() +}); -export const updateFirewallConfig200Schema = z.unknown() +export const updateFirewallConfig200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const updateFirewallConfig400Schema = z.unknown() +export const updateFirewallConfig400Schema = z.unknown(); -export const updateFirewallConfig401Schema = z.unknown() +export const updateFirewallConfig401Schema = z.unknown(); -export const updateFirewallConfig402Schema = z.unknown() +export const updateFirewallConfig402Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const updateFirewallConfig403Schema = z.unknown() +export const updateFirewallConfig403Schema = z.unknown(); -export const updateFirewallConfig404Schema = z.unknown() +export const updateFirewallConfig404Schema = z.unknown(); -export const updateFirewallConfig500Schema = z.unknown() +export const updateFirewallConfig500Schema = z.unknown(); -export const updateFirewallConfigMutationResponseSchema = z.lazy(() => updateFirewallConfig200Schema) +export const updateFirewallConfigMutationResponseSchema = z.lazy(() => updateFirewallConfig200Schema); export const getFirewallConfigPathParamsSchema = z.object({ - configVersion: z.string(), -}) + configVersion: z.string() +}); export const getFirewallConfigQueryParamsSchema = z.object({ projectId: z.string(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), -}) + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() +}); /** * @description If the firewall configuration includes a [custom managed ruleset](https://vercel.com/docs/security/vercel-waf/managed-rulesets), it will include a `crs` item that has the following values: sd: Scanner Detection ma: Multipart Attack lfi: Local File Inclusion Attack rfi: Remote File Inclusion Attack rce: Remote Execution Attack php: PHP Attack gen: Generic Attack xss: XSS Attack sqli: SQL Injection Attack sf: Session Fixation Attack java: Java Attack */ -export const getFirewallConfig200Schema = z.unknown() +export const getFirewallConfig200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const getFirewallConfig400Schema = z.unknown() +export const getFirewallConfig400Schema = z.unknown(); -export const getFirewallConfig401Schema = z.unknown() +export const getFirewallConfig401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getFirewallConfig403Schema = z.unknown() +export const getFirewallConfig403Schema = z.unknown(); -export const getFirewallConfig404Schema = z.unknown() +export const getFirewallConfig404Schema = z.unknown(); -export const getFirewallConfigQueryResponseSchema = z.lazy(() => getFirewallConfig200Schema) +export const getFirewallConfigQueryResponseSchema = z.lazy(() => getFirewallConfig200Schema); export const getActiveAttackStatusQueryParamsSchema = z.object({ projectId: z.string(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), -}) + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() +}); -export const getActiveAttackStatus200Schema = z.unknown() +export const getActiveAttackStatus200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const getActiveAttackStatus400Schema = z.unknown() +export const getActiveAttackStatus400Schema = z.unknown(); -export const getActiveAttackStatus401Schema = z.unknown() +export const getActiveAttackStatus401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getActiveAttackStatus403Schema = z.unknown() +export const getActiveAttackStatus403Schema = z.unknown(); -export const getActiveAttackStatus404Schema = z.unknown() +export const getActiveAttackStatus404Schema = z.unknown(); -export const getActiveAttackStatusQueryResponseSchema = z.lazy(() => getActiveAttackStatus200Schema) +export const getActiveAttackStatusQueryResponseSchema = z.lazy(() => getActiveAttackStatus200Schema); export const getBypassIpQueryParamsSchema = z.object({ projectId: z.string(), @@ -7355,84 +8006,84 @@ export const getBypassIpQueryParamsSchema = z.object({ projectScope: z.boolean().describe('Filter by project scoped rules').optional(), offset: z.string().max(2560).describe('Used for pagination. Retrieves results after the provided id').optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), -}) + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() +}); -export const getBypassIp200Schema = z.unknown() +export const getBypassIp200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const getBypassIp400Schema = z.unknown() +export const getBypassIp400Schema = z.unknown(); -export const getBypassIp401Schema = z.unknown() +export const getBypassIp401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getBypassIp403Schema = z.unknown() +export const getBypassIp403Schema = z.unknown(); -export const getBypassIp404Schema = z.unknown() +export const getBypassIp404Schema = z.unknown(); -export const getBypassIp500Schema = z.unknown() +export const getBypassIp500Schema = z.unknown(); -export const getBypassIpQueryResponseSchema = z.lazy(() => getBypassIp200Schema) +export const getBypassIpQueryResponseSchema = z.lazy(() => getBypassIp200Schema); export const addBypassIpQueryParamsSchema = z.object({ projectId: z.string(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), -}) + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() +}); -export const addBypassIp200Schema = z.unknown() +export const addBypassIp200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const addBypassIp400Schema = z.unknown() +export const addBypassIp400Schema = z.unknown(); -export const addBypassIp401Schema = z.unknown() +export const addBypassIp401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const addBypassIp403Schema = z.unknown() +export const addBypassIp403Schema = z.unknown(); -export const addBypassIp404Schema = z.unknown() +export const addBypassIp404Schema = z.unknown(); -export const addBypassIp500Schema = z.unknown() +export const addBypassIp500Schema = z.unknown(); -export const addBypassIpMutationResponseSchema = z.lazy(() => addBypassIp200Schema) +export const addBypassIpMutationResponseSchema = z.lazy(() => addBypassIp200Schema); export const removeBypassIpQueryParamsSchema = z.object({ projectId: z.string(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), -}) + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() +}); -export const removeBypassIp200Schema = z.unknown() +export const removeBypassIp200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const removeBypassIp400Schema = z.unknown() +export const removeBypassIp400Schema = z.unknown(); -export const removeBypassIp401Schema = z.unknown() +export const removeBypassIp401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const removeBypassIp403Schema = z.unknown() +export const removeBypassIp403Schema = z.unknown(); -export const removeBypassIp404Schema = z.unknown() +export const removeBypassIp404Schema = z.unknown(); -export const removeBypassIp500Schema = z.unknown() +export const removeBypassIp500Schema = z.unknown(); -export const removeBypassIpMutationResponseSchema = z.lazy(() => removeBypassIp200Schema) +export const removeBypassIpMutationResponseSchema = z.lazy(() => removeBypassIp200Schema); export const getTeamMembersPathParamsSchema = z.object({ - teamId: z.string(), -}) + teamId: z.string() +}); export const getTeamMembersQueryParamsSchema = z .object({ @@ -7440,396 +8091,411 @@ export const getTeamMembersQueryParamsSchema = z since: z.coerce.number().describe('Timestamp in milliseconds to only include members added since then.').optional(), until: z.coerce.number().describe('Timestamp in milliseconds to only include members added until then.').optional(), search: z.string().describe('Search team members by their name, username, and email.').optional(), - role: z.enum(['OWNER', 'MEMBER', 'DEVELOPER', 'VIEWER', 'BILLING', 'CONTRIBUTOR']).describe('Only return members with the specified team role.').optional(), + role: z + .enum(['OWNER', 'MEMBER', 'DEVELOPER', 'VIEWER', 'BILLING', 'CONTRIBUTOR']) + .describe('Only return members with the specified team role.') + .optional(), excludeProject: z.string().describe('Exclude members who belong to the specified project.').optional(), - eligibleMembersForProjectId: z.string().describe('Include team members who are eligible to be members of the specified project.').optional(), + eligibleMembersForProjectId: z + .string() + .describe('Include team members who are eligible to be members of the specified project.') + .optional() }) - .optional() + .optional(); -export const getTeamMembers200Schema = z.unknown() +export const getTeamMembers200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const getTeamMembers400Schema = z.unknown() +export const getTeamMembers400Schema = z.unknown(); -export const getTeamMembers401Schema = z.unknown() +export const getTeamMembers401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getTeamMembers403Schema = z.unknown() +export const getTeamMembers403Schema = z.unknown(); -export const getTeamMembers404Schema = z.unknown() +export const getTeamMembers404Schema = z.unknown(); -export const getTeamMembersQueryResponseSchema = z.lazy(() => getTeamMembers200Schema) +export const getTeamMembersQueryResponseSchema = z.lazy(() => getTeamMembers200Schema); export const inviteUserToTeamPathParamsSchema = z.object({ - teamId: z.string(), -}) + teamId: z.string() +}); /** * @description The member was successfully added to the team */ -export const inviteUserToTeam200Schema = z.unknown() +export const inviteUserToTeam200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nThe user already requested access to the team\nThe team reached the maximum allowed amount of members */ -export const inviteUserToTeam400Schema = z.unknown() +export const inviteUserToTeam400Schema = z.unknown(); -export const inviteUserToTeam401Schema = z.unknown() +export const inviteUserToTeam401Schema = z.unknown(); /** * @description The authenticated user must be a team owner to perform the action\nYou do not have permission to access this resource. */ -export const inviteUserToTeam403Schema = z.unknown() +export const inviteUserToTeam403Schema = z.unknown(); -export const inviteUserToTeam503Schema = z.unknown() +export const inviteUserToTeam503Schema = z.unknown(); -export const inviteUserToTeamMutationResponseSchema = z.lazy(() => inviteUserToTeam200Schema) +export const inviteUserToTeamMutationResponseSchema = z.lazy(() => inviteUserToTeam200Schema); export const requestAccessToTeamPathParamsSchema = z.object({ - teamId: z.string(), -}) + teamId: z.string() +}); /** * @description Successfuly requested access to the team. */ -export const requestAccessToTeam200Schema = z.unknown() +export const requestAccessToTeam200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const requestAccessToTeam400Schema = z.unknown() +export const requestAccessToTeam400Schema = z.unknown(); -export const requestAccessToTeam401Schema = z.unknown() +export const requestAccessToTeam401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const requestAccessToTeam403Schema = z.unknown() +export const requestAccessToTeam403Schema = z.unknown(); /** * @description The team was not found. */ -export const requestAccessToTeam404Schema = z.unknown() +export const requestAccessToTeam404Schema = z.unknown(); -export const requestAccessToTeam503Schema = z.unknown() +export const requestAccessToTeam503Schema = z.unknown(); -export const requestAccessToTeamMutationResponseSchema = z.lazy(() => requestAccessToTeam200Schema) +export const requestAccessToTeamMutationResponseSchema = z.lazy(() => requestAccessToTeam200Schema); export const getTeamAccessRequestPathParamsSchema = z.object({ userId: z.string(), - teamId: z.string(), -}) + teamId: z.string() +}); /** * @description Successfully */ -export const getTeamAccessRequest200Schema = z.unknown() +export const getTeamAccessRequest200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid.\nUser is already a confirmed member of the team and did not request access. Only visible when the authenticated user does have access to the team. */ -export const getTeamAccessRequest400Schema = z.unknown() +export const getTeamAccessRequest400Schema = z.unknown(); -export const getTeamAccessRequest401Schema = z.unknown() +export const getTeamAccessRequest401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getTeamAccessRequest403Schema = z.unknown() +export const getTeamAccessRequest403Schema = z.unknown(); /** * @description The provided user doesn\'t have a membership.\nTeam was not found. */ -export const getTeamAccessRequest404Schema = z.unknown() +export const getTeamAccessRequest404Schema = z.unknown(); -export const getTeamAccessRequestQueryResponseSchema = z.lazy(() => getTeamAccessRequest200Schema) +export const getTeamAccessRequestQueryResponseSchema = z.lazy(() => getTeamAccessRequest200Schema); export const joinTeamPathParamsSchema = z.object({ - teamId: z.string(), -}) + teamId: z.string() +}); /** * @description Successfully joined a team. */ -export const joinTeam200Schema = z.unknown() +export const joinTeam200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid. */ -export const joinTeam400Schema = z.unknown() +export const joinTeam400Schema = z.unknown(); -export const joinTeam401Schema = z.unknown() +export const joinTeam401Schema = z.unknown(); -export const joinTeam402Schema = z.unknown() +export const joinTeam402Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const joinTeam403Schema = z.unknown() +export const joinTeam403Schema = z.unknown(); -export const joinTeam404Schema = z.unknown() +export const joinTeam404Schema = z.unknown(); -export const joinTeamMutationResponseSchema = z.lazy(() => joinTeam200Schema) +export const joinTeamMutationResponseSchema = z.lazy(() => joinTeam200Schema); export const updateTeamMemberPathParamsSchema = z.object({ uid: z.string().describe('The ID of the member.'), - teamId: z.string(), -}) + teamId: z.string() +}); /** * @description Successfully updated the membership. */ -export const updateTeamMember200Schema = z.unknown() +export const updateTeamMember200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nCannot disconnect SSO from a Team member that does not have a SSO connection.\nCannot confirm a member that is already confirmed.\nCannot confirm a member that did not request access. */ -export const updateTeamMember400Schema = z.unknown() +export const updateTeamMember400Schema = z.unknown(); /** * @description Team members can only be updated by an owner, or by the authenticated user if they are only disconnecting their SAML connection to the Team. */ -export const updateTeamMember401Schema = z.unknown() +export const updateTeamMember401Schema = z.unknown(); -export const updateTeamMember402Schema = z.unknown() +export const updateTeamMember402Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const updateTeamMember403Schema = z.unknown() +export const updateTeamMember403Schema = z.unknown(); /** * @description The provided user is not part of this team.\nA user with the specified ID does not exist. */ -export const updateTeamMember404Schema = z.unknown() +export const updateTeamMember404Schema = z.unknown(); -export const updateTeamMember500Schema = z.unknown() +export const updateTeamMember500Schema = z.unknown(); -export const updateTeamMemberMutationResponseSchema = z.lazy(() => updateTeamMember200Schema) +export const updateTeamMemberMutationResponseSchema = z.lazy(() => updateTeamMember200Schema); export const removeTeamMemberPathParamsSchema = z.object({ uid: z.string().describe('The user ID of the member.'), - teamId: z.string(), -}) + teamId: z.string() +}); export const removeTeamMemberQueryParamsSchema = z .object({ - newDefaultTeamId: z.string().describe('The ID of the team to set as the new default team for the Northstar user.').optional(), + newDefaultTeamId: z + .string() + .describe('The ID of the team to set as the new default team for the Northstar user.') + .optional() }) - .optional() + .optional(); /** * @description Successfully removed a member of the team. */ -export const removeTeamMember200Schema = z.unknown() +export const removeTeamMember200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const removeTeamMember400Schema = z.unknown() +export const removeTeamMember400Schema = z.unknown(); -export const removeTeamMember401Schema = z.unknown() +export const removeTeamMember401Schema = z.unknown(); /** * @description You do not have permission to access this resource.\nNot authorized to update the team. */ -export const removeTeamMember403Schema = z.unknown() +export const removeTeamMember403Schema = z.unknown(); -export const removeTeamMember404Schema = z.unknown() +export const removeTeamMember404Schema = z.unknown(); -export const removeTeamMember503Schema = z.unknown() +export const removeTeamMember503Schema = z.unknown(); -export const removeTeamMemberMutationResponseSchema = z.lazy(() => removeTeamMember200Schema) +export const removeTeamMemberMutationResponseSchema = z.lazy(() => removeTeamMember200Schema); export const getTeamPathParamsSchema = z.object({ - teamId: z.string().describe('The Team identifier to perform the request on behalf of.'), -}) + teamId: z.string().describe('The Team identifier to perform the request on behalf of.') +}); export const getTeamQueryParamsSchema = z .object({ - slug: z.string().optional(), + slug: z.string().optional() }) - .optional() + .optional(); /** * @description The requested team */ -export const getTeam200Schema = z.unknown() +export const getTeam200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const getTeam400Schema = z.unknown() +export const getTeam400Schema = z.unknown(); -export const getTeam401Schema = z.unknown() +export const getTeam401Schema = z.unknown(); /** * @description You do not have permission to access this resource.\nNot authorized to access the team. */ -export const getTeam403Schema = z.unknown() +export const getTeam403Schema = z.unknown(); /** * @description Team was not found. */ -export const getTeam404Schema = z.unknown() +export const getTeam404Schema = z.unknown(); -export const getTeamQueryResponseSchema = z.lazy(() => getTeam200Schema) +export const getTeamQueryResponseSchema = z.lazy(() => getTeam200Schema); export const patchTeamPathParamsSchema = z.object({ - teamId: z.string().describe('The Team identifier to perform the request on behalf of.'), -}) + teamId: z.string().describe('The Team identifier to perform the request on behalf of.') +}); export const patchTeamQueryParamsSchema = z .object({ - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const patchTeam200Schema = z.unknown() +export const patchTeam200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid. */ -export const patchTeam400Schema = z.unknown() +export const patchTeam400Schema = z.unknown(); -export const patchTeam401Schema = z.unknown() +export const patchTeam401Schema = z.unknown(); /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export const patchTeam402Schema = z.unknown() +export const patchTeam402Schema = z.unknown(); /** * @description You do not have permission to access this resource.\nNot authorized to update the team. Must be an OWNER. */ -export const patchTeam403Schema = z.unknown() +export const patchTeam403Schema = z.unknown(); /** * @description Owner does not have protection add-on\nAdvanced Deployment Protection is not available for the user plan */ -export const patchTeam428Schema = z.unknown() +export const patchTeam428Schema = z.unknown(); -export const patchTeamMutationResponseSchema = z.lazy(() => patchTeam200Schema) +export const patchTeamMutationResponseSchema = z.lazy(() => patchTeam200Schema); export const getTeamsQueryParamsSchema = z .object({ limit: z.coerce.number().describe('Maximum number of Teams which may be returned.').optional(), - since: z.coerce.number().describe('Timestamp (in milliseconds) to only include Teams created since then.').optional(), - until: z.coerce.number().describe('Timestamp (in milliseconds) to only include Teams created until then.').optional(), + since: z.coerce + .number() + .describe('Timestamp (in milliseconds) to only include Teams created since then.') + .optional(), + until: z.coerce + .number() + .describe('Timestamp (in milliseconds) to only include Teams created until then.') + .optional() }) - .optional() + .optional(); /** * @description A paginated list of teams. */ -export const getTeams200Schema = z.unknown() +export const getTeams200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const getTeams400Schema = z.unknown() +export const getTeams400Schema = z.unknown(); -export const getTeams401Schema = z.unknown() +export const getTeams401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getTeams403Schema = z.unknown() +export const getTeams403Schema = z.unknown(); -export const getTeamsQueryResponseSchema = z.lazy(() => getTeams200Schema) +export const getTeamsQueryResponseSchema = z.lazy(() => getTeams200Schema); /** * @description The team was created successfully */ -export const createTeam200Schema = z.unknown() +export const createTeam200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nThe slug is already in use */ -export const createTeam400Schema = z.unknown() +export const createTeam400Schema = z.unknown(); -export const createTeam401Schema = z.unknown() +export const createTeam401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const createTeam403Schema = z.unknown() +export const createTeam403Schema = z.unknown(); -export const createTeamMutationResponseSchema = z.lazy(() => createTeam200Schema) +export const createTeamMutationResponseSchema = z.lazy(() => createTeam200Schema); export const deleteTeamPathParamsSchema = z.object({ - teamId: z.string().describe('The Team identifier to perform the request on behalf of.'), -}) + teamId: z.string().describe('The Team identifier to perform the request on behalf of.') +}); export const deleteTeamQueryParamsSchema = z .object({ newDefaultTeamId: z.string().describe('Id of the team to be set as the new default team').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description The Team was successfully deleted */ -export const deleteTeam200Schema = z.unknown() +export const deleteTeam200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const deleteTeam400Schema = z.unknown() +export const deleteTeam400Schema = z.unknown(); -export const deleteTeam401Schema = z.unknown() +export const deleteTeam401Schema = z.unknown(); -export const deleteTeam402Schema = z.unknown() +export const deleteTeam402Schema = z.unknown(); /** * @description You do not have permission to access this resource.\nThe authenticated user can\'t access the team */ -export const deleteTeam403Schema = z.unknown() +export const deleteTeam403Schema = z.unknown(); -export const deleteTeam409Schema = z.unknown() +export const deleteTeam409Schema = z.unknown(); -export const deleteTeamMutationResponseSchema = z.lazy(() => deleteTeam200Schema) +export const deleteTeamMutationResponseSchema = z.lazy(() => deleteTeam200Schema); export const deleteTeamInviteCodePathParamsSchema = z.object({ inviteId: z.string().describe('The Team invite code ID.'), - teamId: z.string(), -}) + teamId: z.string() +}); /** * @description Successfully deleted Team invite code. */ -export const deleteTeamInviteCode200Schema = z.unknown() +export const deleteTeamInviteCode200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const deleteTeamInviteCode400Schema = z.unknown() +export const deleteTeamInviteCode400Schema = z.unknown(); -export const deleteTeamInviteCode401Schema = z.unknown() +export const deleteTeamInviteCode401Schema = z.unknown(); /** * @description You do not have permission to access this resource.\nInvite managed by directory sync\nNot authorized to access this team. */ -export const deleteTeamInviteCode403Schema = z.unknown() +export const deleteTeamInviteCode403Schema = z.unknown(); /** * @description Team invite code not found. */ -export const deleteTeamInviteCode404Schema = z.unknown() +export const deleteTeamInviteCode404Schema = z.unknown(); -export const deleteTeamInviteCodeMutationResponseSchema = z.lazy(() => deleteTeamInviteCode200Schema) +export const deleteTeamInviteCodeMutationResponseSchema = z.lazy(() => deleteTeamInviteCode200Schema); export const uploadFileQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); export const uploadFileHeaderParamsSchema = z .object({ @@ -7839,194 +8505,196 @@ export const uploadFileHeaderParamsSchema = z 'x-now-size': z.coerce.number().describe('The file size as an alternative to `Content-Length`').optional(), 'x-internal-v0-token': z .string() - .describe('Shared secret token set by v0 deployments. When present and valid, the API applies an extended rate limit.') - .optional(), + .describe( + 'Shared secret token set by v0 deployments. When present and valid, the API applies an extended rate limit.' + ) + .optional() }) - .optional() + .optional(); /** * @description File already uploaded\nFile successfully uploaded */ -export const uploadFile200Schema = z.unknown() +export const uploadFile200Schema = z.unknown(); /** * @description One of the provided values in the headers is invalid\nDigest is not valid\nFile size is not valid */ -export const uploadFile400Schema = z.unknown() +export const uploadFile400Schema = z.unknown(); -export const uploadFile401Schema = z.unknown() +export const uploadFile401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const uploadFile403Schema = z.unknown() +export const uploadFile403Schema = z.unknown(); -export const uploadFileMutationResponseSchema = z.lazy(() => uploadFile200Schema) +export const uploadFileMutationResponseSchema = z.lazy(() => uploadFile200Schema); -export const listAuthTokens200Schema = z.unknown() +export const listAuthTokens200Schema = z.unknown(); -export const listAuthTokens400Schema = z.unknown() +export const listAuthTokens400Schema = z.unknown(); -export const listAuthTokens401Schema = z.unknown() +export const listAuthTokens401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const listAuthTokens403Schema = z.unknown() +export const listAuthTokens403Schema = z.unknown(); -export const listAuthTokensQueryResponseSchema = z.lazy(() => listAuthTokens200Schema) +export const listAuthTokensQueryResponseSchema = z.lazy(() => listAuthTokens200Schema); export const createAuthTokenQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description Successful response. */ -export const createAuthToken200Schema = z.unknown() +export const createAuthToken200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid. */ -export const createAuthToken400Schema = z.unknown() +export const createAuthToken400Schema = z.unknown(); -export const createAuthToken401Schema = z.unknown() +export const createAuthToken401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const createAuthToken403Schema = z.unknown() +export const createAuthToken403Schema = z.unknown(); -export const createAuthTokenMutationResponseSchema = z.lazy(() => createAuthToken200Schema) +export const createAuthTokenMutationResponseSchema = z.lazy(() => createAuthToken200Schema); export const getAuthTokenPathParamsSchema = z.object({ tokenId: z .string() .describe( - 'The identifier of the token to retrieve. The special value \\"current\\" may be supplied, which returns the metadata for the token that the current HTTP request is authenticated with.', - ), -}) + 'The identifier of the token to retrieve. The special value \\"current\\" may be supplied, which returns the metadata for the token that the current HTTP request is authenticated with.' + ) +}); /** * @description Successful response. */ -export const getAuthToken200Schema = z.unknown() +export const getAuthToken200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const getAuthToken400Schema = z.unknown() +export const getAuthToken400Schema = z.unknown(); -export const getAuthToken401Schema = z.unknown() +export const getAuthToken401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getAuthToken403Schema = z.unknown() +export const getAuthToken403Schema = z.unknown(); /** * @description Token not found with the requested `tokenId`. */ -export const getAuthToken404Schema = z.unknown() +export const getAuthToken404Schema = z.unknown(); -export const getAuthTokenQueryResponseSchema = z.lazy(() => getAuthToken200Schema) +export const getAuthTokenQueryResponseSchema = z.lazy(() => getAuthToken200Schema); export const deleteAuthTokenPathParamsSchema = z.object({ tokenId: z .string() .describe( - 'The identifier of the token to invalidate. The special value \\"current\\" may be supplied, which invalidates the token that the HTTP request was authenticated with.', - ), -}) + 'The identifier of the token to invalidate. The special value \\"current\\" may be supplied, which invalidates the token that the HTTP request was authenticated with.' + ) +}); /** * @description Authentication token successfully deleted. */ -export const deleteAuthToken200Schema = z.unknown() +export const deleteAuthToken200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const deleteAuthToken400Schema = z.unknown() +export const deleteAuthToken400Schema = z.unknown(); -export const deleteAuthToken401Schema = z.unknown() +export const deleteAuthToken401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const deleteAuthToken403Schema = z.unknown() +export const deleteAuthToken403Schema = z.unknown(); /** * @description Token not found with the requested `tokenId`. */ -export const deleteAuthToken404Schema = z.unknown() +export const deleteAuthToken404Schema = z.unknown(); -export const deleteAuthTokenMutationResponseSchema = z.lazy(() => deleteAuthToken200Schema) +export const deleteAuthTokenMutationResponseSchema = z.lazy(() => deleteAuthToken200Schema); /** * @description Successful response. */ -export const getAuthUser200Schema = z.unknown() +export const getAuthUser200Schema = z.unknown(); -export const getAuthUser400Schema = z.unknown() +export const getAuthUser400Schema = z.unknown(); -export const getAuthUser401Schema = z.unknown() +export const getAuthUser401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getAuthUser403Schema = z.unknown() +export const getAuthUser403Schema = z.unknown(); -export const getAuthUser409Schema = z.unknown() +export const getAuthUser409Schema = z.unknown(); -export const getAuthUserQueryResponseSchema = z.lazy(() => getAuthUser200Schema) +export const getAuthUserQueryResponseSchema = z.lazy(() => getAuthUser200Schema); /** * @description Response indicating that the User deletion process has been initiated, and a confirmation email has been sent. */ -export const requestDelete202Schema = z.unknown() +export const requestDelete202Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid. */ -export const requestDelete400Schema = z.unknown() +export const requestDelete400Schema = z.unknown(); -export const requestDelete401Schema = z.unknown() +export const requestDelete401Schema = z.unknown(); -export const requestDelete402Schema = z.unknown() +export const requestDelete402Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const requestDelete403Schema = z.unknown() +export const requestDelete403Schema = z.unknown(); -export const requestDeleteMutationResponseSchema = z.lazy(() => requestDelete202Schema) +export const requestDeleteMutationResponseSchema = z.lazy(() => requestDelete202Schema); export const createWebhookQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const createWebhook200Schema = z.unknown() +export const createWebhook200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid. */ -export const createWebhook400Schema = z.unknown() +export const createWebhook400Schema = z.unknown(); -export const createWebhook401Schema = z.unknown() +export const createWebhook401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const createWebhook403Schema = z.unknown() +export const createWebhook403Schema = z.unknown(); -export const createWebhookMutationResponseSchema = z.lazy(() => createWebhook200Schema) +export const createWebhookMutationResponseSchema = z.lazy(() => createWebhook200Schema); export const getWebhooksQueryParamsSchema = z .object({ @@ -8035,159 +8703,159 @@ export const getWebhooksQueryParamsSchema = z .regex(/^[a-zA-z0-9_]+$/) .optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const getWebhooks200Schema = z.unknown() +export const getWebhooks200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const getWebhooks400Schema = z.unknown() +export const getWebhooks400Schema = z.unknown(); -export const getWebhooks401Schema = z.unknown() +export const getWebhooks401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getWebhooks403Schema = z.unknown() +export const getWebhooks403Schema = z.unknown(); -export const getWebhooksQueryResponseSchema = z.lazy(() => getWebhooks200Schema) +export const getWebhooksQueryResponseSchema = z.lazy(() => getWebhooks200Schema); export const getWebhookPathParamsSchema = z.object({ - id: z.string(), -}) + id: z.string() +}); export const getWebhookQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const getWebhook200Schema = z.unknown() +export const getWebhook200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const getWebhook400Schema = z.unknown() +export const getWebhook400Schema = z.unknown(); -export const getWebhook401Schema = z.unknown() +export const getWebhook401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getWebhook403Schema = z.unknown() +export const getWebhook403Schema = z.unknown(); -export const getWebhookQueryResponseSchema = z.lazy(() => getWebhook200Schema) +export const getWebhookQueryResponseSchema = z.lazy(() => getWebhook200Schema); export const deleteWebhookPathParamsSchema = z.object({ - id: z.string(), -}) + id: z.string() +}); export const deleteWebhookQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const deleteWebhook204Schema = z.unknown() +export const deleteWebhook204Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const deleteWebhook400Schema = z.unknown() +export const deleteWebhook400Schema = z.unknown(); -export const deleteWebhook401Schema = z.unknown() +export const deleteWebhook401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const deleteWebhook403Schema = z.unknown() +export const deleteWebhook403Schema = z.unknown(); -export const deleteWebhookMutationResponseSchema = z.lazy(() => deleteWebhook204Schema) +export const deleteWebhookMutationResponseSchema = z.lazy(() => deleteWebhook204Schema); export const listDeploymentAliasesPathParamsSchema = z.object({ - id: z.string().describe('The ID of the deployment the aliases should be listed for'), -}) + id: z.string().describe('The ID of the deployment the aliases should be listed for') +}); export const listDeploymentAliasesQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description The list of aliases assigned to the deployment */ -export const listDeploymentAliases200Schema = z.unknown() +export const listDeploymentAliases200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const listDeploymentAliases400Schema = z.unknown() +export const listDeploymentAliases400Schema = z.unknown(); -export const listDeploymentAliases401Schema = z.unknown() +export const listDeploymentAliases401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const listDeploymentAliases403Schema = z.unknown() +export const listDeploymentAliases403Schema = z.unknown(); /** * @description The deployment was not found */ -export const listDeploymentAliases404Schema = z.unknown() +export const listDeploymentAliases404Schema = z.unknown(); -export const listDeploymentAliasesQueryResponseSchema = z.lazy(() => listDeploymentAliases200Schema) +export const listDeploymentAliasesQueryResponseSchema = z.lazy(() => listDeploymentAliases200Schema); export const assignAliasPathParamsSchema = z.object({ - id: z.string().describe('The ID of the deployment the aliases should be listed for'), -}) + id: z.string().describe('The ID of the deployment the aliases should be listed for') +}); export const assignAliasQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description The alias was successfully assigned to the deployment */ -export const assignAlias200Schema = z.unknown() +export const assignAlias200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nThe cert for the provided alias is not ready\nThe deployment is not READY and can not be aliased\nThe supplied alias is invalid */ -export const assignAlias400Schema = z.unknown() +export const assignAlias400Schema = z.unknown(); -export const assignAlias401Schema = z.unknown() +export const assignAlias401Schema = z.unknown(); /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export const assignAlias402Schema = z.unknown() +export const assignAlias402Schema = z.unknown(); /** * @description You do not have permission to access this resource.\nIf no .vercel.app alias exists then we fail (nothing to mirror) */ -export const assignAlias403Schema = z.unknown() +export const assignAlias403Schema = z.unknown(); /** * @description The domain used for the alias was not found\nThe deployment was not found */ -export const assignAlias404Schema = z.unknown() +export const assignAlias404Schema = z.unknown(); /** * @description The provided alias is already assigned to the given deployment\nThe domain is not allowed to be used */ -export const assignAlias409Schema = z.unknown() +export const assignAlias409Schema = z.unknown(); -export const assignAliasMutationResponseSchema = z.lazy(() => assignAlias200Schema) +export const assignAliasMutationResponseSchema = z.lazy(() => assignAlias200Schema); export const listAliasesQueryParamsSchema = z .object({ @@ -8200,582 +8868,604 @@ export const listAliasesQueryParamsSchema = z projectId: z.string().describe('Filter aliases from the given `projectId`').optional(), since: z.coerce.number().describe('Get aliases created after this JavaScript timestamp').optional(), until: z.coerce.number().describe('Get aliases created before this JavaScript timestamp').optional(), - rollbackDeploymentId: z.string().describe('Get aliases that would be rolled back for the given deployment').optional(), + rollbackDeploymentId: z + .string() + .describe('Get aliases that would be rolled back for the given deployment') + .optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description The paginated list of aliases */ -export const listAliases200Schema = z.unknown() +export const listAliases200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const listAliases400Schema = z.unknown() +export const listAliases400Schema = z.unknown(); -export const listAliases401Schema = z.unknown() +export const listAliases401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const listAliases403Schema = z.unknown() +export const listAliases403Schema = z.unknown(); -export const listAliases404Schema = z.unknown() +export const listAliases404Schema = z.unknown(); -export const listAliasesQueryResponseSchema = z.lazy(() => listAliases200Schema) +export const listAliasesQueryResponseSchema = z.lazy(() => listAliases200Schema); export const getAliasPathParamsSchema = z.object({ - idOrAlias: z.string().describe('The alias or alias ID to be retrieved'), -}) + idOrAlias: z.string().describe('The alias or alias ID to be retrieved') +}); export const getAliasQueryParamsSchema = z .object({ from: z.coerce.number().describe('Get the alias only if it was created after the provided timestamp').optional(), projectId: z.string().describe('Get the alias only if it is assigned to the provided project ID').optional(), - since: z.coerce.number().describe('Get the alias only if it was created after this JavaScript timestamp').optional(), - until: z.coerce.number().describe('Get the alias only if it was created before this JavaScript timestamp').optional(), + since: z.coerce + .number() + .describe('Get the alias only if it was created after this JavaScript timestamp') + .optional(), + until: z.coerce + .number() + .describe('Get the alias only if it was created before this JavaScript timestamp') + .optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description The alias information */ -export const getAlias200Schema = z.unknown() +export const getAlias200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const getAlias400Schema = z.unknown() +export const getAlias400Schema = z.unknown(); -export const getAlias401Schema = z.unknown() +export const getAlias401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getAlias403Schema = z.unknown() +export const getAlias403Schema = z.unknown(); /** * @description The alias was not found */ -export const getAlias404Schema = z.unknown() +export const getAlias404Schema = z.unknown(); -export const getAliasQueryResponseSchema = z.lazy(() => getAlias200Schema) +export const getAliasQueryResponseSchema = z.lazy(() => getAlias200Schema); export const deleteAliasPathParamsSchema = z.object({ - aliasId: z.string().describe('The ID or alias that will be removed'), -}) + aliasId: z.string().describe('The ID or alias that will be removed') +}); export const deleteAliasQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description The alias was successfully removed */ -export const deleteAlias200Schema = z.unknown() +export const deleteAlias200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const deleteAlias400Schema = z.unknown() +export const deleteAlias400Schema = z.unknown(); -export const deleteAlias401Schema = z.unknown() +export const deleteAlias401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const deleteAlias403Schema = z.unknown() +export const deleteAlias403Schema = z.unknown(); /** * @description The alias was not found */ -export const deleteAlias404Schema = z.unknown() +export const deleteAlias404Schema = z.unknown(); -export const deleteAliasMutationResponseSchema = z.lazy(() => deleteAlias200Schema) +export const deleteAliasMutationResponseSchema = z.lazy(() => deleteAlias200Schema); export const patchUrlProtectionBypassPathParamsSchema = z.object({ - id: z.string().describe('The alias or deployment ID'), -}) + id: z.string().describe('The alias or deployment ID') +}); export const patchUrlProtectionBypassQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const patchUrlProtectionBypass200Schema = z.unknown() +export const patchUrlProtectionBypass200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const patchUrlProtectionBypass400Schema = z.unknown() +export const patchUrlProtectionBypass400Schema = z.unknown(); -export const patchUrlProtectionBypass401Schema = z.unknown() +export const patchUrlProtectionBypass401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const patchUrlProtectionBypass403Schema = z.unknown() +export const patchUrlProtectionBypass403Schema = z.unknown(); -export const patchUrlProtectionBypass404Schema = z.unknown() +export const patchUrlProtectionBypass404Schema = z.unknown(); -export const patchUrlProtectionBypass409Schema = z.unknown() +export const patchUrlProtectionBypass409Schema = z.unknown(); -export const patchUrlProtectionBypass428Schema = z.unknown() +export const patchUrlProtectionBypass428Schema = z.unknown(); -export const patchUrlProtectionBypass500Schema = z.unknown() +export const patchUrlProtectionBypass500Schema = z.unknown(); -export const patchUrlProtectionBypassMutationResponseSchema = z.lazy(() => patchUrlProtectionBypass200Schema) +export const patchUrlProtectionBypassMutationResponseSchema = z.lazy(() => patchUrlProtectionBypass200Schema); -export const listCerts200Schema = z.unknown() +export const listCerts200Schema = z.unknown(); -export const listCerts400Schema = z.unknown() +export const listCerts400Schema = z.unknown(); -export const listCerts401Schema = z.unknown() +export const listCerts401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const listCerts403Schema = z.unknown() +export const listCerts403Schema = z.unknown(); -export const listCertsQueryResponseSchema = z.lazy(() => listCerts200Schema) +export const listCertsQueryResponseSchema = z.lazy(() => listCerts200Schema); export const getCertByIdPathParamsSchema = z.object({ - id: z.string().describe('The cert id'), -}) + id: z.string().describe('The cert id') +}); export const getCertByIdQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const getCertById200Schema = z.unknown() +export const getCertById200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const getCertById400Schema = z.unknown() +export const getCertById400Schema = z.unknown(); -export const getCertById401Schema = z.unknown() +export const getCertById401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getCertById403Schema = z.unknown() +export const getCertById403Schema = z.unknown(); -export const getCertById404Schema = z.unknown() +export const getCertById404Schema = z.unknown(); -export const getCertByIdQueryResponseSchema = z.lazy(() => getCertById200Schema) +export const getCertByIdQueryResponseSchema = z.lazy(() => getCertById200Schema); export const removeCertPathParamsSchema = z.object({ - id: z.string().describe('The cert id to remove'), -}) + id: z.string().describe('The cert id to remove') +}); export const removeCertQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const removeCert200Schema = z.unknown() +export const removeCert200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const removeCert400Schema = z.unknown() +export const removeCert400Schema = z.unknown(); -export const removeCert401Schema = z.unknown() +export const removeCert401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const removeCert403Schema = z.unknown() +export const removeCert403Schema = z.unknown(); -export const removeCert404Schema = z.unknown() +export const removeCert404Schema = z.unknown(); -export const removeCertMutationResponseSchema = z.lazy(() => removeCert200Schema) +export const removeCertMutationResponseSchema = z.lazy(() => removeCert200Schema); export const issueCertQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const issueCert200Schema = z.unknown() +export const issueCert200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid. */ -export const issueCert400Schema = z.unknown() +export const issueCert400Schema = z.unknown(); -export const issueCert401Schema = z.unknown() +export const issueCert401Schema = z.unknown(); /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export const issueCert402Schema = z.unknown() +export const issueCert402Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const issueCert403Schema = z.unknown() +export const issueCert403Schema = z.unknown(); -export const issueCert404Schema = z.unknown() +export const issueCert404Schema = z.unknown(); -export const issueCert449Schema = z.unknown() +export const issueCert449Schema = z.unknown(); -export const issueCert500Schema = z.unknown() +export const issueCert500Schema = z.unknown(); -export const issueCertMutationResponseSchema = z.lazy(() => issueCert200Schema) +export const issueCertMutationResponseSchema = z.lazy(() => issueCert200Schema); export const uploadCertQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const uploadCert200Schema = z.unknown() +export const uploadCert200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid. */ -export const uploadCert400Schema = z.unknown() +export const uploadCert400Schema = z.unknown(); -export const uploadCert401Schema = z.unknown() +export const uploadCert401Schema = z.unknown(); /** * @description This feature is only available for Enterprise customers. */ -export const uploadCert402Schema = z.unknown() +export const uploadCert402Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const uploadCert403Schema = z.unknown() +export const uploadCert403Schema = z.unknown(); -export const uploadCertMutationResponseSchema = z.lazy(() => uploadCert200Schema) +export const uploadCertMutationResponseSchema = z.lazy(() => uploadCert200Schema); export const listDeploymentFilesPathParamsSchema = z.object({ - id: z.string().describe('The unique deployment identifier'), -}) + id: z.string().describe('The unique deployment identifier') +}); export const listDeploymentFilesQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description Retrieved the file tree successfully */ -export const listDeploymentFiles200Schema = z.unknown() +export const listDeploymentFiles200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const listDeploymentFiles400Schema = z.unknown() +export const listDeploymentFiles400Schema = z.unknown(); -export const listDeploymentFiles401Schema = z.unknown() +export const listDeploymentFiles401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const listDeploymentFiles403Schema = z.unknown() +export const listDeploymentFiles403Schema = z.unknown(); /** * @description File tree not found\nDeployment not found */ -export const listDeploymentFiles404Schema = z.unknown() +export const listDeploymentFiles404Schema = z.unknown(); -export const listDeploymentFilesQueryResponseSchema = z.lazy(() => listDeploymentFiles200Schema) +export const listDeploymentFilesQueryResponseSchema = z.lazy(() => listDeploymentFiles200Schema); export const getDeploymentFileContentsPathParamsSchema = z.object({ id: z.string().describe('The unique deployment identifier'), - fileId: z.string().describe('The unique file identifier'), -}) + fileId: z.string().describe('The unique file identifier') +}); export const getDeploymentFileContentsQueryParamsSchema = z .object({ path: z.string().describe('Path to the file to fetch (only for Git deployments)').optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description One of the provided values in the request query is invalid. */ -export const getDeploymentFileContents400Schema = z.unknown() +export const getDeploymentFileContents400Schema = z.unknown(); -export const getDeploymentFileContents401Schema = z.unknown() +export const getDeploymentFileContents401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getDeploymentFileContents403Schema = z.unknown() +export const getDeploymentFileContents403Schema = z.unknown(); /** * @description File not found\nDeployment not found */ -export const getDeploymentFileContents404Schema = z.unknown() +export const getDeploymentFileContents404Schema = z.unknown(); /** * @description Invalid API version. */ -export const getDeploymentFileContents410Schema = z.unknown() +export const getDeploymentFileContents410Schema = z.unknown(); -export const getDeploymentFileContentsQueryResponseSchema = z.unknown() +export const getDeploymentFileContentsQueryResponseSchema = z.unknown(); export const getDeploymentsQueryParamsSchema = z .object({ app: z.string().describe('Name of the deployment.').optional(), - from: z.coerce.number().describe('Gets the deployment created after this Date timestamp. (default: current time)').optional(), + from: z.coerce + .number() + .describe('Gets the deployment created after this Date timestamp. (default: current time)') + .optional(), limit: z.coerce.number().describe('Maximum number of deployments to list from a request.').optional(), projectId: z.string().describe('Filter deployments from the given ID or name.').optional(), target: z.string().describe('Filter deployments based on the environment.').optional(), - to: z.coerce.number().describe('Gets the deployment created before this Date timestamp. (default: current time)').optional(), + to: z.coerce + .number() + .describe('Gets the deployment created before this Date timestamp. (default: current time)') + .optional(), users: z.string().describe('Filter out deployments based on users who have created the deployment.').optional(), since: z.coerce.number().describe('Get Deployments created after this JavaScript timestamp.').optional(), until: z.coerce.number().describe('Get Deployments created before this JavaScript timestamp.').optional(), - state: z.string().describe('Filter deployments based on their state (`BUILDING`, `ERROR`, `INITIALIZING`, `QUEUED`, `READY`, `CANCELED`)').optional(), + state: z + .string() + .describe( + 'Filter deployments based on their state (`BUILDING`, `ERROR`, `INITIALIZING`, `QUEUED`, `READY`, `CANCELED`)' + ) + .optional(), rollbackCandidate: z.boolean().describe('Filter deployments based on their rollback candidacy').optional(), branch: z.string().describe('Filter deployments based on the branch name').optional(), sha: z.string().describe('Filter deployments based on the SHA').optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const getDeployments200Schema = z.unknown() +export const getDeployments200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const getDeployments400Schema = z.unknown() +export const getDeployments400Schema = z.unknown(); -export const getDeployments401Schema = z.unknown() +export const getDeployments401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getDeployments403Schema = z.unknown() +export const getDeployments403Schema = z.unknown(); -export const getDeployments404Schema = z.unknown() +export const getDeployments404Schema = z.unknown(); -export const getDeployments422Schema = z.unknown() +export const getDeployments422Schema = z.unknown(); -export const getDeploymentsQueryResponseSchema = z.lazy(() => getDeployments200Schema) +export const getDeploymentsQueryResponseSchema = z.lazy(() => getDeployments200Schema); export const deleteDeploymentPathParamsSchema = z.object({ - id: z.string().describe('The ID of the deployment to be deleted'), -}) + id: z.string().describe('The ID of the deployment to be deleted') +}); export const deleteDeploymentQueryParamsSchema = z .object({ url: z.string().describe('A Deployment or Alias URL. In case it is passed, the ID will be ignored').optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description The deployment was successfully deleted */ -export const deleteDeployment200Schema = z.unknown() +export const deleteDeployment200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const deleteDeployment400Schema = z.unknown() +export const deleteDeployment400Schema = z.unknown(); -export const deleteDeployment401Schema = z.unknown() +export const deleteDeployment401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const deleteDeployment403Schema = z.unknown() +export const deleteDeployment403Schema = z.unknown(); /** * @description The deployment was not found */ -export const deleteDeployment404Schema = z.unknown() +export const deleteDeployment404Schema = z.unknown(); -export const deleteDeploymentMutationResponseSchema = z.lazy(() => deleteDeployment200Schema) +export const deleteDeploymentMutationResponseSchema = z.lazy(() => deleteDeployment200Schema); export const getSecretsQueryParamsSchema = z .object({ id: z.string().describe('Filter out secrets based on comma separated secret ids.').optional(), projectId: z.string().describe('Filter out secrets that belong to a project.').optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description Successful response retrieving a list of secrets. */ -export const getSecrets200Schema = z.unknown() +export const getSecrets200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const getSecrets400Schema = z.unknown() +export const getSecrets400Schema = z.unknown(); -export const getSecrets401Schema = z.unknown() +export const getSecrets401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getSecrets403Schema = z.unknown() +export const getSecrets403Schema = z.unknown(); -export const getSecrets410Schema = z.unknown() +export const getSecrets410Schema = z.unknown(); -export const getSecretsQueryResponseSchema = z.lazy(() => getSecrets200Schema) +export const getSecretsQueryResponseSchema = z.lazy(() => getSecrets200Schema); export const createSecretPathParamsSchema = z.object({ - name: z.string(), -}) + name: z.string() +}); export const createSecretQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description Successful response showing the created secret. */ -export const createSecret200Schema = z.unknown() +export const createSecret200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid. */ -export const createSecret400Schema = z.unknown() +export const createSecret400Schema = z.unknown(); -export const createSecret401Schema = z.unknown() +export const createSecret401Schema = z.unknown(); /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export const createSecret402Schema = z.unknown() +export const createSecret402Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const createSecret403Schema = z.unknown() +export const createSecret403Schema = z.unknown(); -export const createSecret410Schema = z.unknown() +export const createSecret410Schema = z.unknown(); -export const createSecretMutationResponseSchema = z.lazy(() => createSecret200Schema) +export const createSecretMutationResponseSchema = z.lazy(() => createSecret200Schema); export const renameSecretPathParamsSchema = z.object({ - name: z.string().describe('The name of the secret.'), -}) + name: z.string().describe('The name of the secret.') +}); export const renameSecretQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const renameSecret200Schema = z.unknown() +export const renameSecret200Schema = z.unknown(); /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export const renameSecret400Schema = z.unknown() +export const renameSecret400Schema = z.unknown(); -export const renameSecret401Schema = z.unknown() +export const renameSecret401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const renameSecret403Schema = z.unknown() +export const renameSecret403Schema = z.unknown(); -export const renameSecret410Schema = z.unknown() +export const renameSecret410Schema = z.unknown(); -export const renameSecretMutationResponseSchema = z.lazy(() => renameSecret200Schema) +export const renameSecretMutationResponseSchema = z.lazy(() => renameSecret200Schema); export const getSecretPathParamsSchema = z.object({ - idOrName: z.string().describe('The name or the unique identifier to which the secret belongs to.'), -}) + idOrName: z.string().describe('The name or the unique identifier to which the secret belongs to.') +}); export const getSecretQueryParamsSchema = z .object({ decrypt: z .enum(['true', 'false']) - .describe('Whether to try to decrypt the value of the secret. Only works if `decryptable` has been set to `true` when the secret was created.') + .describe( + 'Whether to try to decrypt the value of the secret. Only works if `decryptable` has been set to `true` when the secret was created.' + ) .optional(), teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); /** * @description Successful response retrieving a secret. */ -export const getSecret200Schema = z.unknown() +export const getSecret200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const getSecret400Schema = z.unknown() +export const getSecret400Schema = z.unknown(); -export const getSecret401Schema = z.unknown() +export const getSecret401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const getSecret403Schema = z.unknown() +export const getSecret403Schema = z.unknown(); -export const getSecret404Schema = z.unknown() +export const getSecret404Schema = z.unknown(); -export const getSecret410Schema = z.unknown() +export const getSecret410Schema = z.unknown(); -export const getSecretQueryResponseSchema = z.lazy(() => getSecret200Schema) +export const getSecretQueryResponseSchema = z.lazy(() => getSecret200Schema); export const deleteSecretPathParamsSchema = z.object({ - idOrName: z.string().describe('The name or the unique identifier to which the secret belongs to.'), -}) + idOrName: z.string().describe('The name or the unique identifier to which the secret belongs to.') +}); export const deleteSecretQueryParamsSchema = z .object({ teamId: z.string().describe('The Team identifier to perform the request on behalf of.').optional(), - slug: z.string().describe('The Team slug to perform the request on behalf of.').optional(), + slug: z.string().describe('The Team slug to perform the request on behalf of.').optional() }) - .optional() + .optional(); -export const deleteSecret200Schema = z.unknown() +export const deleteSecret200Schema = z.unknown(); /** * @description One of the provided values in the request query is invalid. */ -export const deleteSecret400Schema = z.unknown() +export const deleteSecret400Schema = z.unknown(); -export const deleteSecret401Schema = z.unknown() +export const deleteSecret401Schema = z.unknown(); /** * @description You do not have permission to access this resource. */ -export const deleteSecret403Schema = z.unknown() +export const deleteSecret403Schema = z.unknown(); -export const deleteSecret410Schema = z.unknown() +export const deleteSecret410Schema = z.unknown(); -export const deleteSecretMutationResponseSchema = z.lazy(() => deleteSecret200Schema) \ No newline at end of file +export const deleteSecretMutationResponseSchema = z.lazy(() => deleteSecret200Schema); diff --git a/packages/vercel-api-js/src/generated/types.ts b/packages/vercel-api-js/src/generated/types.ts index 268b6d0a5..40ffaced5 100644 --- a/packages/vercel-api-js/src/generated/types.ts +++ b/packages/vercel-api-js/src/generated/types.ts @@ -8,15 +8,15 @@ export const ACLActionEnum = { delete: 'delete', list: 'list', read: 'read', - update: 'update', -} as const + update: 'update' +} as const; -export type ACLActionEnum = (typeof ACLActionEnum)[keyof typeof ACLActionEnum] +export type ACLActionEnum = (typeof ACLActionEnum)[keyof typeof ACLActionEnum]; /** * @description Enum containing the actions that can be performed against a resource. Group operations are included. */ -export type ACLAction = ACLActionEnum +export type ACLAction = ACLActionEnum; export type FlagJSONValue = | ( @@ -25,10 +25,10 @@ export type FlagJSONValue = | boolean | unknown[] | { - [key: string]: unknown + [key: string]: unknown; } ) - | null + | null; /** * @description This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. @@ -38,18 +38,18 @@ export type Pagination = { * @description Amount of items in the current page. * @type number */ - count: number + count: number; /** * @description Timestamp that must be used to request the next page. * @type number */ - next: number | null + next: number | null; /** * @description Timestamp that must be used to request the previous page. * @type number */ - prev: number | null -} + prev: number | null; +}; export type EdgeConfigItemValue = | ( @@ -57,11 +57,11 @@ export type EdgeConfigItemValue = | number | boolean | { - [key: string]: unknown + [key: string]: unknown; } | unknown[] ) - | null + | null; /** * @description The EdgeConfig. @@ -70,25 +70,25 @@ export type EdgeConfigItem = { /** * @type string */ - key: string - value: unknown + key: string; + value: unknown; /** * @type string | undefined */ - description?: string | undefined + description?: string | undefined; /** * @type string */ - edgeConfigId: string + edgeConfigId: string; /** * @type number */ - createdAt: number + createdAt: number; /** * @type number */ - updatedAt: number -} + updatedAt: number; +}; /** * @description The EdgeConfig. @@ -97,25 +97,25 @@ export type EdgeConfigToken = { /** * @type string */ - token: string + token: string; /** * @type string */ - label: string + label: string; /** * @description This is not the token itself, but rather an id to identify the token by * @type string */ - id: string + id: string; /** * @type string */ - edgeConfigId: string + edgeConfigId: string; /** * @type number */ - createdAt: number -} + createdAt: number; +}; export const entitiesTypeEnum = { author: 'author', @@ -138,228 +138,231 @@ export const entitiesTypeEnum = { scaling_rules: 'scaling_rules', store: 'store', system: 'system', - target: 'target', -} as const + target: 'target' +} as const; -export type EntitiesTypeEnum = (typeof entitiesTypeEnum)[keyof typeof entitiesTypeEnum] +export type EntitiesTypeEnum = (typeof entitiesTypeEnum)[keyof typeof entitiesTypeEnum]; export const principalTypeEnum = { - user: 'user', -} as const + user: 'user' +} as const; -export type PrincipalTypeEnum = (typeof principalTypeEnum)[keyof typeof principalTypeEnum] +export type PrincipalTypeEnum = (typeof principalTypeEnum)[keyof typeof principalTypeEnum]; export const principalTypeEnum2 = { - app: 'app', -} as const + app: 'app' +} as const; -export type PrincipalTypeEnum2 = (typeof principalTypeEnum2)[keyof typeof principalTypeEnum2] +export type PrincipalTypeEnum2 = (typeof principalTypeEnum2)[keyof typeof principalTypeEnum2]; export const viaTypeEnum = { - user: 'user', -} as const + user: 'user' +} as const; -export type ViaTypeEnum = (typeof viaTypeEnum)[keyof typeof viaTypeEnum] +export type ViaTypeEnum = (typeof viaTypeEnum)[keyof typeof viaTypeEnum]; export const viaTypeEnum2 = { - app: 'app', -} as const + app: 'app' +} as const; -export type ViaTypeEnum2 = (typeof viaTypeEnum2)[keyof typeof viaTypeEnum2] +export type ViaTypeEnum2 = (typeof viaTypeEnum2)[keyof typeof viaTypeEnum2]; export const payloadActionEnum = { created: 'created', updated: 'updated', deleted: 'deleted', archived: 'archived', - unarchived: 'unarchived', -} as const + unarchived: 'unarchived' +} as const; -export type PayloadActionEnum = (typeof payloadActionEnum)[keyof typeof payloadActionEnum] +export type PayloadActionEnum = (typeof payloadActionEnum)[keyof typeof payloadActionEnum]; export const payloadNextRoleEnum = { ADMIN: 'ADMIN', PROJECT_DEVELOPER: 'PROJECT_DEVELOPER', - PROJECT_VIEWER: 'PROJECT_VIEWER', -} as const + PROJECT_VIEWER: 'PROJECT_VIEWER' +} as const; -export type PayloadNextRoleEnum = (typeof payloadNextRoleEnum)[keyof typeof payloadNextRoleEnum] +export type PayloadNextRoleEnum = (typeof payloadNextRoleEnum)[keyof typeof payloadNextRoleEnum]; export const payloadPreviousRoleEnum = { ADMIN: 'ADMIN', PROJECT_DEVELOPER: 'PROJECT_DEVELOPER', - PROJECT_VIEWER: 'PROJECT_VIEWER', -} as const + PROJECT_VIEWER: 'PROJECT_VIEWER' +} as const; -export type PayloadPreviousRoleEnum = (typeof payloadPreviousRoleEnum)[keyof typeof payloadPreviousRoleEnum] +export type PayloadPreviousRoleEnum = (typeof payloadPreviousRoleEnum)[keyof typeof payloadPreviousRoleEnum]; export const payloadActionEnum2 = { created: 'created', - removed: 'removed', -} as const + removed: 'removed' +} as const; -export type PayloadActionEnum2 = (typeof payloadActionEnum2)[keyof typeof payloadActionEnum2] +export type PayloadActionEnum2 = (typeof payloadActionEnum2)[keyof typeof payloadActionEnum2]; export const payloadTypeEnum = { system: 'system', encrypted: 'encrypted', plain: 'plain', - sensitive: 'sensitive', -} as const + sensitive: 'sensitive' +} as const; -export type PayloadTypeEnum = (typeof payloadTypeEnum)[keyof typeof payloadTypeEnum] +export type PayloadTypeEnum = (typeof payloadTypeEnum)[keyof typeof payloadTypeEnum]; export const payloadTargetEnum = { production: 'production', preview: 'preview', - development: 'development', -} as const + development: 'development' +} as const; -export type PayloadTargetEnum = (typeof payloadTargetEnum)[keyof typeof payloadTargetEnum] +export type PayloadTargetEnum = (typeof payloadTargetEnum)[keyof typeof payloadTargetEnum]; export const oldEnvVarTypeEnum = { system: 'system', encrypted: 'encrypted', plain: 'plain', - sensitive: 'sensitive', -} as const + sensitive: 'sensitive' +} as const; -export type OldEnvVarTypeEnum = (typeof oldEnvVarTypeEnum)[keyof typeof oldEnvVarTypeEnum] +export type OldEnvVarTypeEnum = (typeof oldEnvVarTypeEnum)[keyof typeof oldEnvVarTypeEnum]; export const oldEnvVarTargetEnum = { production: 'production', preview: 'preview', - development: 'development', -} as const + development: 'development' +} as const; -export type OldEnvVarTargetEnum = (typeof oldEnvVarTargetEnum)[keyof typeof oldEnvVarTargetEnum] +export type OldEnvVarTargetEnum = (typeof oldEnvVarTargetEnum)[keyof typeof oldEnvVarTargetEnum]; export const newEnvVarTypeEnum = { system: 'system', encrypted: 'encrypted', plain: 'plain', - sensitive: 'sensitive', -} as const + sensitive: 'sensitive' +} as const; -export type NewEnvVarTypeEnum = (typeof newEnvVarTypeEnum)[keyof typeof newEnvVarTypeEnum] +export type NewEnvVarTypeEnum = (typeof newEnvVarTypeEnum)[keyof typeof newEnvVarTypeEnum]; export const newEnvVarTargetEnum = { production: 'production', preview: 'preview', - development: 'development', -} as const + development: 'development' +} as const; -export type NewEnvVarTargetEnum = (typeof newEnvVarTargetEnum)[keyof typeof newEnvVarTargetEnum] +export type NewEnvVarTargetEnum = (typeof newEnvVarTargetEnum)[keyof typeof newEnvVarTargetEnum]; export const updateDiffOldTargetEnum = { production: 'production', preview: 'preview', - development: 'development', -} as const + development: 'development' +} as const; -export type UpdateDiffOldTargetEnum = (typeof updateDiffOldTargetEnum)[keyof typeof updateDiffOldTargetEnum] +export type UpdateDiffOldTargetEnum = (typeof updateDiffOldTargetEnum)[keyof typeof updateDiffOldTargetEnum]; export const updateDiffNewTargetEnum = { production: 'production', preview: 'preview', - development: 'development', -} as const + development: 'development' +} as const; -export type UpdateDiffNewTargetEnum = (typeof updateDiffNewTargetEnum)[keyof typeof updateDiffNewTargetEnum] +export type UpdateDiffNewTargetEnum = (typeof updateDiffNewTargetEnum)[keyof typeof updateDiffNewTargetEnum]; export const payloadActionEnum3 = { log: 'log', challenge: 'challenge', - deny: 'deny', -} as const + deny: 'deny' +} as const; -export type PayloadActionEnum3 = (typeof payloadActionEnum3)[keyof typeof payloadActionEnum3] +export type PayloadActionEnum3 = (typeof payloadActionEnum3)[keyof typeof payloadActionEnum3]; export const actionEnum = { log: 'log', challenge: 'challenge', - deny: 'deny', -} as const + deny: 'deny' +} as const; -export type ActionEnum = (typeof actionEnum)[keyof typeof actionEnum] +export type ActionEnum = (typeof actionEnum)[keyof typeof actionEnum]; export const blockHistoryActionEnum = { 'hard-blocked': 'hard-blocked', 'soft-blocked': 'soft-blocked', - unblocked: 'unblocked', -} as const + unblocked: 'unblocked' +} as const; -export type BlockHistoryActionEnum = (typeof blockHistoryActionEnum)[keyof typeof blockHistoryActionEnum] +export type BlockHistoryActionEnum = (typeof blockHistoryActionEnum)[keyof typeof blockHistoryActionEnum]; export const billingPlanEnum = { pro: 'pro', enterprise: 'enterprise', - hobby: 'hobby', -} as const + hobby: 'hobby' +} as const; -export type BillingPlanEnum = (typeof billingPlanEnum)[keyof typeof billingPlanEnum] +export type BillingPlanEnum = (typeof billingPlanEnum)[keyof typeof billingPlanEnum]; export const credentialsTypeEnum = { gitlab: 'gitlab', bitbucket: 'bitbucket', google: 'google', 'github-oauth': 'github-oauth', - 'github-oauth-limited': 'github-oauth-limited', -} as const + 'github-oauth-limited': 'github-oauth-limited' +} as const; -export type CredentialsTypeEnum = (typeof credentialsTypeEnum)[keyof typeof credentialsTypeEnum] +export type CredentialsTypeEnum = (typeof credentialsTypeEnum)[keyof typeof credentialsTypeEnum]; export const credentialsTypeEnum2 = { - 'github-oauth-custom-host': 'github-oauth-custom-host', -} as const + 'github-oauth-custom-host': 'github-oauth-custom-host' +} as const; -export type CredentialsTypeEnum2 = (typeof credentialsTypeEnum2)[keyof typeof credentialsTypeEnum2] +export type CredentialsTypeEnum2 = (typeof credentialsTypeEnum2)[keyof typeof credentialsTypeEnum2]; export const newOwnerImportFlowGitProviderEnum = { github: 'github', gitlab: 'gitlab', bitbucket: 'bitbucket', 'github-limited': 'github-limited', - 'github-custom-host': 'github-custom-host', -} as const + 'github-custom-host': 'github-custom-host' +} as const; -export type NewOwnerImportFlowGitProviderEnum = (typeof newOwnerImportFlowGitProviderEnum)[keyof typeof newOwnerImportFlowGitProviderEnum] +export type NewOwnerImportFlowGitProviderEnum = + (typeof newOwnerImportFlowGitProviderEnum)[keyof typeof newOwnerImportFlowGitProviderEnum]; export const buildMachinePurchaseTypeEnum = { enhanced: 'enhanced', - turbo: 'turbo', -} as const + turbo: 'turbo' +} as const; -export type BuildMachinePurchaseTypeEnum = (typeof buildMachinePurchaseTypeEnum)[keyof typeof buildMachinePurchaseTypeEnum] +export type BuildMachinePurchaseTypeEnum = + (typeof buildMachinePurchaseTypeEnum)[keyof typeof buildMachinePurchaseTypeEnum]; export const activeDashboardViewsViewPreferenceEnum = { cards: 'cards', - list: 'list', -} as const + list: 'list' +} as const; -export type ActiveDashboardViewsViewPreferenceEnum = (typeof activeDashboardViewsViewPreferenceEnum)[keyof typeof activeDashboardViewsViewPreferenceEnum] +export type ActiveDashboardViewsViewPreferenceEnum = + (typeof activeDashboardViewsViewPreferenceEnum)[keyof typeof activeDashboardViewsViewPreferenceEnum]; export const activeDashboardViewsFavoritesViewPreferenceEnum = { open: 'open', - closed: 'closed', -} as const + closed: 'closed' +} as const; export type ActiveDashboardViewsFavoritesViewPreferenceEnum = - (typeof activeDashboardViewsFavoritesViewPreferenceEnum)[keyof typeof activeDashboardViewsFavoritesViewPreferenceEnum] + (typeof activeDashboardViewsFavoritesViewPreferenceEnum)[keyof typeof activeDashboardViewsFavoritesViewPreferenceEnum]; export const activeDashboardViewsRecentsViewPreferenceEnum = { open: 'open', - closed: 'closed', -} as const + closed: 'closed' +} as const; export type ActiveDashboardViewsRecentsViewPreferenceEnum = - (typeof activeDashboardViewsRecentsViewPreferenceEnum)[keyof typeof activeDashboardViewsRecentsViewPreferenceEnum] + (typeof activeDashboardViewsRecentsViewPreferenceEnum)[keyof typeof activeDashboardViewsRecentsViewPreferenceEnum]; export const siftRouteNameEnum = { - string: 'string', -} as const + string: 'string' +} as const; -export type SiftRouteNameEnum = (typeof siftRouteNameEnum)[keyof typeof siftRouteNameEnum] +export type SiftRouteNameEnum = (typeof siftRouteNameEnum)[keyof typeof siftRouteNameEnum]; export const softBlockReasonEnum = { SUBSCRIPTION_CANCELED: 'SUBSCRIPTION_CANCELED', @@ -367,10 +370,10 @@ export const softBlockReasonEnum = { UNPAID_INVOICE: 'UNPAID_INVOICE', ENTERPRISE_TRIAL_ENDED: 'ENTERPRISE_TRIAL_ENDED', FAIR_USE_LIMITS_EXCEEDED: 'FAIR_USE_LIMITS_EXCEEDED', - BLOCKED_FOR_PLATFORM_ABUSE: 'BLOCKED_FOR_PLATFORM_ABUSE', -} as const + BLOCKED_FOR_PLATFORM_ABUSE: 'BLOCKED_FOR_PLATFORM_ABUSE' +} as const; -export type SoftBlockReasonEnum = (typeof softBlockReasonEnum)[keyof typeof softBlockReasonEnum] +export type SoftBlockReasonEnum = (typeof softBlockReasonEnum)[keyof typeof softBlockReasonEnum]; export const softBlockBlockedDueToOverageTypeEnum = { analyticsUsage: 'analyticsUsage', @@ -411,10 +414,11 @@ export const softBlockBlockedDueToOverageTypeEnum = { wafOwaspExcessBytes: 'wafOwaspExcessBytes', wafOwaspRequests: 'wafOwaspRequests', wafRateLimitRequest: 'wafRateLimitRequest', - webAnalyticsEvent: 'webAnalyticsEvent', -} as const + webAnalyticsEvent: 'webAnalyticsEvent' +} as const; -export type SoftBlockBlockedDueToOverageTypeEnum = (typeof softBlockBlockedDueToOverageTypeEnum)[keyof typeof softBlockBlockedDueToOverageTypeEnum] +export type SoftBlockBlockedDueToOverageTypeEnum = + (typeof softBlockBlockedDueToOverageTypeEnum)[keyof typeof softBlockBlockedDueToOverageTypeEnum]; export const teamsRoleEnum = { OWNER: 'OWNER', @@ -424,10 +428,10 @@ export const teamsRoleEnum = { BILLING: 'BILLING', VIEWER: 'VIEWER', VIEWER_FOR_PLUS: 'VIEWER_FOR_PLUS', - CONTRIBUTOR: 'CONTRIBUTOR', -} as const + CONTRIBUTOR: 'CONTRIBUTOR' +} as const; -export type TeamsRoleEnum = (typeof teamsRoleEnum)[keyof typeof teamsRoleEnum] +export type TeamsRoleEnum = (typeof teamsRoleEnum)[keyof typeof teamsRoleEnum]; export const teamsTeamRolesEnum = { OWNER: 'OWNER', @@ -437,10 +441,10 @@ export const teamsTeamRolesEnum = { BILLING: 'BILLING', VIEWER: 'VIEWER', VIEWER_FOR_PLUS: 'VIEWER_FOR_PLUS', - CONTRIBUTOR: 'CONTRIBUTOR', -} as const + CONTRIBUTOR: 'CONTRIBUTOR' +} as const; -export type TeamsTeamRolesEnum = (typeof teamsTeamRolesEnum)[keyof typeof teamsTeamRolesEnum] +export type TeamsTeamRolesEnum = (typeof teamsTeamRolesEnum)[keyof typeof teamsTeamRolesEnum]; export const teamsTeamPermissionsEnum = { CreateProject: 'CreateProject', @@ -450,10 +454,10 @@ export const teamsTeamPermissionsEnum = { EnvironmentManager: 'EnvironmentManager', V0Builder: 'V0Builder', V0Chatter: 'V0Chatter', - V0Viewer: 'V0Viewer', -} as const + V0Viewer: 'V0Viewer' +} as const; -export type TeamsTeamPermissionsEnum = (typeof teamsTeamPermissionsEnum)[keyof typeof teamsTeamPermissionsEnum] +export type TeamsTeamPermissionsEnum = (typeof teamsTeamPermissionsEnum)[keyof typeof teamsTeamPermissionsEnum]; export const joinedFromOriginEnum = { teams: 'teams', @@ -466,16 +470,16 @@ export const joinedFromOriginEnum = { import: 'import', dsync: 'dsync', feedback: 'feedback', - 'organization-teams': 'organization-teams', -} as const + 'organization-teams': 'organization-teams' +} as const; -export type JoinedFromOriginEnum = (typeof joinedFromOriginEnum)[keyof typeof joinedFromOriginEnum] +export type JoinedFromOriginEnum = (typeof joinedFromOriginEnum)[keyof typeof joinedFromOriginEnum]; export const newOwnerTypeEnum = { - user: 'user', -} as const + user: 'user' +} as const; -export type NewOwnerTypeEnum = (typeof newOwnerTypeEnum)[keyof typeof newOwnerTypeEnum] +export type NewOwnerTypeEnum = (typeof newOwnerTypeEnum)[keyof typeof newOwnerTypeEnum]; export const newOwnerEnablePreviewFeedbackEnum = { default: 'default', @@ -483,74 +487,79 @@ export const newOwnerEnablePreviewFeedbackEnum = { off: 'off', 'on-force': 'on-force', 'off-force': 'off-force', - 'default-force': 'default-force', -} as const + 'default-force': 'default-force' +} as const; -export type NewOwnerEnablePreviewFeedbackEnum = (typeof newOwnerEnablePreviewFeedbackEnum)[keyof typeof newOwnerEnablePreviewFeedbackEnum] +export type NewOwnerEnablePreviewFeedbackEnum = + (typeof newOwnerEnablePreviewFeedbackEnum)[keyof typeof newOwnerEnablePreviewFeedbackEnum]; export const webAnalyticsBlockReasonEnum = { admin_override: 'admin_override', - limits_exceeded: 'limits_exceeded', -} as const + limits_exceeded: 'limits_exceeded' +} as const; -export type WebAnalyticsBlockReasonEnum = (typeof webAnalyticsBlockReasonEnum)[keyof typeof webAnalyticsBlockReasonEnum] +export type WebAnalyticsBlockReasonEnum = + (typeof webAnalyticsBlockReasonEnum)[keyof typeof webAnalyticsBlockReasonEnum]; export const monitoringBlockReasonEnum = { admin_override: 'admin_override', - limits_exceeded: 'limits_exceeded', -} as const + limits_exceeded: 'limits_exceeded' +} as const; -export type MonitoringBlockReasonEnum = (typeof monitoringBlockReasonEnum)[keyof typeof monitoringBlockReasonEnum] +export type MonitoringBlockReasonEnum = (typeof monitoringBlockReasonEnum)[keyof typeof monitoringBlockReasonEnum]; export const monitoringBlockTypeEnum = { soft: 'soft', - hard: 'hard', -} as const + hard: 'hard' +} as const; -export type MonitoringBlockTypeEnum = (typeof monitoringBlockTypeEnum)[keyof typeof monitoringBlockTypeEnum] +export type MonitoringBlockTypeEnum = (typeof monitoringBlockTypeEnum)[keyof typeof monitoringBlockTypeEnum]; export const observabilityPlusBlockReasonEnum = { admin_override: 'admin_override', - limits_exceeded: 'limits_exceeded', -} as const + limits_exceeded: 'limits_exceeded' +} as const; -export type ObservabilityPlusBlockReasonEnum = (typeof observabilityPlusBlockReasonEnum)[keyof typeof observabilityPlusBlockReasonEnum] +export type ObservabilityPlusBlockReasonEnum = + (typeof observabilityPlusBlockReasonEnum)[keyof typeof observabilityPlusBlockReasonEnum]; export const observabilityPlusBlockTypeEnum = { soft: 'soft', - hard: 'hard', -} as const + hard: 'hard' +} as const; -export type ObservabilityPlusBlockTypeEnum = (typeof observabilityPlusBlockTypeEnum)[keyof typeof observabilityPlusBlockTypeEnum] +export type ObservabilityPlusBlockTypeEnum = + (typeof observabilityPlusBlockTypeEnum)[keyof typeof observabilityPlusBlockTypeEnum]; export const dataCacheBlockReasonEnum = { admin_override: 'admin_override', - limits_exceeded: 'limits_exceeded', -} as const + limits_exceeded: 'limits_exceeded' +} as const; -export type DataCacheBlockReasonEnum = (typeof dataCacheBlockReasonEnum)[keyof typeof dataCacheBlockReasonEnum] +export type DataCacheBlockReasonEnum = (typeof dataCacheBlockReasonEnum)[keyof typeof dataCacheBlockReasonEnum]; export const imageOptimizationTransformationBlockReasonEnum = { admin_override: 'admin_override', - limits_exceeded: 'limits_exceeded', -} as const + limits_exceeded: 'limits_exceeded' +} as const; export type ImageOptimizationTransformationBlockReasonEnum = - (typeof imageOptimizationTransformationBlockReasonEnum)[keyof typeof imageOptimizationTransformationBlockReasonEnum] + (typeof imageOptimizationTransformationBlockReasonEnum)[keyof typeof imageOptimizationTransformationBlockReasonEnum]; export const sourceImagesBlockReasonEnum = { admin_override: 'admin_override', - limits_exceeded: 'limits_exceeded', -} as const + limits_exceeded: 'limits_exceeded' +} as const; -export type SourceImagesBlockReasonEnum = (typeof sourceImagesBlockReasonEnum)[keyof typeof sourceImagesBlockReasonEnum] +export type SourceImagesBlockReasonEnum = + (typeof sourceImagesBlockReasonEnum)[keyof typeof sourceImagesBlockReasonEnum]; export const blobBlockReasonEnum = { admin_override: 'admin_override', - limits_exceeded: 'limits_exceeded', -} as const + limits_exceeded: 'limits_exceeded' +} as const; -export type BlobBlockReasonEnum = (typeof blobBlockReasonEnum)[keyof typeof blobBlockReasonEnum] +export type BlobBlockReasonEnum = (typeof blobBlockReasonEnum)[keyof typeof blobBlockReasonEnum]; export const blobOverageReasonEnum = { analyticsUsage: 'analyticsUsage', @@ -591,17 +600,17 @@ export const blobOverageReasonEnum = { wafOwaspExcessBytes: 'wafOwaspExcessBytes', wafOwaspRequests: 'wafOwaspRequests', wafRateLimitRequest: 'wafRateLimitRequest', - webAnalyticsEvent: 'webAnalyticsEvent', -} as const + webAnalyticsEvent: 'webAnalyticsEvent' +} as const; -export type BlobOverageReasonEnum = (typeof blobOverageReasonEnum)[keyof typeof blobOverageReasonEnum] +export type BlobOverageReasonEnum = (typeof blobOverageReasonEnum)[keyof typeof blobOverageReasonEnum]; export const postgresBlockReasonEnum = { admin_override: 'admin_override', - limits_exceeded: 'limits_exceeded', -} as const + limits_exceeded: 'limits_exceeded' +} as const; -export type PostgresBlockReasonEnum = (typeof postgresBlockReasonEnum)[keyof typeof postgresBlockReasonEnum] +export type PostgresBlockReasonEnum = (typeof postgresBlockReasonEnum)[keyof typeof postgresBlockReasonEnum]; export const postgresOverageReasonEnum = { analyticsUsage: 'analyticsUsage', @@ -642,17 +651,17 @@ export const postgresOverageReasonEnum = { wafOwaspExcessBytes: 'wafOwaspExcessBytes', wafOwaspRequests: 'wafOwaspRequests', wafRateLimitRequest: 'wafRateLimitRequest', - webAnalyticsEvent: 'webAnalyticsEvent', -} as const + webAnalyticsEvent: 'webAnalyticsEvent' +} as const; -export type PostgresOverageReasonEnum = (typeof postgresOverageReasonEnum)[keyof typeof postgresOverageReasonEnum] +export type PostgresOverageReasonEnum = (typeof postgresOverageReasonEnum)[keyof typeof postgresOverageReasonEnum]; export const redisBlockReasonEnum = { admin_override: 'admin_override', - limits_exceeded: 'limits_exceeded', -} as const + limits_exceeded: 'limits_exceeded' +} as const; -export type RedisBlockReasonEnum = (typeof redisBlockReasonEnum)[keyof typeof redisBlockReasonEnum] +export type RedisBlockReasonEnum = (typeof redisBlockReasonEnum)[keyof typeof redisBlockReasonEnum]; export const redisOverageReasonEnum = { analyticsUsage: 'analyticsUsage', @@ -693,16 +702,16 @@ export const redisOverageReasonEnum = { wafOwaspExcessBytes: 'wafOwaspExcessBytes', wafOwaspRequests: 'wafOwaspRequests', wafRateLimitRequest: 'wafRateLimitRequest', - webAnalyticsEvent: 'webAnalyticsEvent', -} as const + webAnalyticsEvent: 'webAnalyticsEvent' +} as const; -export type RedisOverageReasonEnum = (typeof redisOverageReasonEnum)[keyof typeof redisOverageReasonEnum] +export type RedisOverageReasonEnum = (typeof redisOverageReasonEnum)[keyof typeof redisOverageReasonEnum]; export const newOwnerVersionEnum = { - northstar: 'northstar', -} as const + northstar: 'northstar' +} as const; -export type NewOwnerVersionEnum = (typeof newOwnerVersionEnum)[keyof typeof newOwnerVersionEnum] +export type NewOwnerVersionEnum = (typeof newOwnerVersionEnum)[keyof typeof newOwnerVersionEnum]; export const browserNameEnum = { iphone: 'iphone', @@ -711,10 +720,10 @@ export const browserNameEnum = { chrome: 'chrome', firefox: 'firefox', mozilla: 'mozilla', - unknown: 'unknown', -} as const + unknown: 'unknown' +} as const; -export type BrowserNameEnum = (typeof browserNameEnum)[keyof typeof browserNameEnum] +export type BrowserNameEnum = (typeof browserNameEnum)[keyof typeof browserNameEnum]; export const osNameEnum = { unknown: 'unknown', @@ -729,10 +738,10 @@ export const osNameEnum = { ios: 'ios', android: 'android', 'Mac OS': 'Mac OS', - 'OS X': 'OS X', -} as const + 'OS X': 'OS X' +} as const; -export type OsNameEnum = (typeof osNameEnum)[keyof typeof osNameEnum] +export type OsNameEnum = (typeof osNameEnum)[keyof typeof osNameEnum]; export const roleEnum = { OWNER: 'OWNER', @@ -742,10 +751,10 @@ export const roleEnum = { BILLING: 'BILLING', VIEWER: 'VIEWER', VIEWER_FOR_PLUS: 'VIEWER_FOR_PLUS', - CONTRIBUTOR: 'CONTRIBUTOR', -} as const + CONTRIBUTOR: 'CONTRIBUTOR' +} as const; -export type RoleEnum = (typeof roleEnum)[keyof typeof roleEnum] +export type RoleEnum = (typeof roleEnum)[keyof typeof roleEnum]; export const joinedFromOriginEnum2 = { teams: 'teams', @@ -758,232 +767,242 @@ export const joinedFromOriginEnum2 = { import: 'import', dsync: 'dsync', feedback: 'feedback', - 'organization-teams': 'organization-teams', -} as const + 'organization-teams': 'organization-teams' +} as const; -export type JoinedFromOriginEnum2 = (typeof joinedFromOriginEnum2)[keyof typeof joinedFromOriginEnum2] +export type JoinedFromOriginEnum2 = (typeof joinedFromOriginEnum2)[keyof typeof joinedFromOriginEnum2]; export const ssoProtectionDeploymentTypeEnum = { all: 'all', preview: 'preview', prod_deployment_urls_and_all_previews: 'prod_deployment_urls_and_all_previews', - all_except_custom_domains: 'all_except_custom_domains', -} as const + all_except_custom_domains: 'all_except_custom_domains' +} as const; -export type SsoProtectionDeploymentTypeEnum = (typeof ssoProtectionDeploymentTypeEnum)[keyof typeof ssoProtectionDeploymentTypeEnum] +export type SsoProtectionDeploymentTypeEnum = + (typeof ssoProtectionDeploymentTypeEnum)[keyof typeof ssoProtectionDeploymentTypeEnum]; export const payloadSsoProtectionEnum = { all: 'all', preview: 'preview', prod_deployment_urls_and_all_previews: 'prod_deployment_urls_and_all_previews', - all_except_custom_domains: 'all_except_custom_domains', -} as const + all_except_custom_domains: 'all_except_custom_domains' +} as const; -export type PayloadSsoProtectionEnum = (typeof payloadSsoProtectionEnum)[keyof typeof payloadSsoProtectionEnum] +export type PayloadSsoProtectionEnum = (typeof payloadSsoProtectionEnum)[keyof typeof payloadSsoProtectionEnum]; export const oldSsoProtectionDeploymentTypeEnum = { all: 'all', preview: 'preview', prod_deployment_urls_and_all_previews: 'prod_deployment_urls_and_all_previews', - all_except_custom_domains: 'all_except_custom_domains', -} as const + all_except_custom_domains: 'all_except_custom_domains' +} as const; -export type OldSsoProtectionDeploymentTypeEnum = (typeof oldSsoProtectionDeploymentTypeEnum)[keyof typeof oldSsoProtectionDeploymentTypeEnum] +export type OldSsoProtectionDeploymentTypeEnum = + (typeof oldSsoProtectionDeploymentTypeEnum)[keyof typeof oldSsoProtectionDeploymentTypeEnum]; export const payloadOldSsoProtectionEnum = { all: 'all', preview: 'preview', prod_deployment_urls_and_all_previews: 'prod_deployment_urls_and_all_previews', - all_except_custom_domains: 'all_except_custom_domains', -} as const + all_except_custom_domains: 'all_except_custom_domains' +} as const; -export type PayloadOldSsoProtectionEnum = (typeof payloadOldSsoProtectionEnum)[keyof typeof payloadOldSsoProtectionEnum] +export type PayloadOldSsoProtectionEnum = + (typeof payloadOldSsoProtectionEnum)[keyof typeof payloadOldSsoProtectionEnum]; export const passwordProtectionDeploymentTypeEnum = { all: 'all', preview: 'preview', prod_deployment_urls_and_all_previews: 'prod_deployment_urls_and_all_previews', - all_except_custom_domains: 'all_except_custom_domains', -} as const + all_except_custom_domains: 'all_except_custom_domains' +} as const; -export type PasswordProtectionDeploymentTypeEnum = (typeof passwordProtectionDeploymentTypeEnum)[keyof typeof passwordProtectionDeploymentTypeEnum] +export type PasswordProtectionDeploymentTypeEnum = + (typeof passwordProtectionDeploymentTypeEnum)[keyof typeof passwordProtectionDeploymentTypeEnum]; export const payloadPasswordProtectionEnum = { all: 'all', preview: 'preview', prod_deployment_urls_and_all_previews: 'prod_deployment_urls_and_all_previews', - all_except_custom_domains: 'all_except_custom_domains', -} as const + all_except_custom_domains: 'all_except_custom_domains' +} as const; -export type PayloadPasswordProtectionEnum = (typeof payloadPasswordProtectionEnum)[keyof typeof payloadPasswordProtectionEnum] +export type PayloadPasswordProtectionEnum = + (typeof payloadPasswordProtectionEnum)[keyof typeof payloadPasswordProtectionEnum]; export const oldPasswordProtectionDeploymentTypeEnum = { all: 'all', preview: 'preview', prod_deployment_urls_and_all_previews: 'prod_deployment_urls_and_all_previews', - all_except_custom_domains: 'all_except_custom_domains', -} as const + all_except_custom_domains: 'all_except_custom_domains' +} as const; -export type OldPasswordProtectionDeploymentTypeEnum = (typeof oldPasswordProtectionDeploymentTypeEnum)[keyof typeof oldPasswordProtectionDeploymentTypeEnum] +export type OldPasswordProtectionDeploymentTypeEnum = + (typeof oldPasswordProtectionDeploymentTypeEnum)[keyof typeof oldPasswordProtectionDeploymentTypeEnum]; export const payloadOldPasswordProtectionEnum = { all: 'all', preview: 'preview', prod_deployment_urls_and_all_previews: 'prod_deployment_urls_and_all_previews', - all_except_custom_domains: 'all_except_custom_domains', -} as const + all_except_custom_domains: 'all_except_custom_domains' +} as const; -export type PayloadOldPasswordProtectionEnum = (typeof payloadOldPasswordProtectionEnum)[keyof typeof payloadOldPasswordProtectionEnum] +export type PayloadOldPasswordProtectionEnum = + (typeof payloadOldPasswordProtectionEnum)[keyof typeof payloadOldPasswordProtectionEnum]; export const payloadTrustedIpsEnum = { all: 'all', preview: 'preview', prod_deployment_urls_and_all_previews: 'prod_deployment_urls_and_all_previews', all_except_custom_domains: 'all_except_custom_domains', - production: 'production', -} as const + production: 'production' +} as const; -export type PayloadTrustedIpsEnum = (typeof payloadTrustedIpsEnum)[keyof typeof payloadTrustedIpsEnum] +export type PayloadTrustedIpsEnum = (typeof payloadTrustedIpsEnum)[keyof typeof payloadTrustedIpsEnum]; export const payloadOldTrustedIpsEnum = { all: 'all', preview: 'preview', prod_deployment_urls_and_all_previews: 'prod_deployment_urls_and_all_previews', all_except_custom_domains: 'all_except_custom_domains', - production: 'production', -} as const + production: 'production' +} as const; -export type PayloadOldTrustedIpsEnum = (typeof payloadOldTrustedIpsEnum)[keyof typeof payloadOldTrustedIpsEnum] +export type PayloadOldTrustedIpsEnum = (typeof payloadOldTrustedIpsEnum)[keyof typeof payloadOldTrustedIpsEnum]; export const payloadActionEnum4 = { enabled: 'enabled', disabled: 'disabled', - regenerated: 'regenerated', -} as const + regenerated: 'regenerated' +} as const; -export type PayloadActionEnum4 = (typeof payloadActionEnum4)[keyof typeof payloadActionEnum4] +export type PayloadActionEnum4 = (typeof payloadActionEnum4)[keyof typeof payloadActionEnum4]; export const oldConnectConfigurationsEnvIdEnum = { preview: 'preview', - production: 'production', -} as const + production: 'production' +} as const; -export type OldConnectConfigurationsEnvIdEnum = (typeof oldConnectConfigurationsEnvIdEnum)[keyof typeof oldConnectConfigurationsEnvIdEnum] +export type OldConnectConfigurationsEnvIdEnum = + (typeof oldConnectConfigurationsEnvIdEnum)[keyof typeof oldConnectConfigurationsEnvIdEnum]; export const newConnectConfigurationsEnvIdEnum = { preview: 'preview', - production: 'production', -} as const + production: 'production' +} as const; -export type NewConnectConfigurationsEnvIdEnum = (typeof newConnectConfigurationsEnvIdEnum)[keyof typeof newConnectConfigurationsEnvIdEnum] +export type NewConnectConfigurationsEnvIdEnum = + (typeof newConnectConfigurationsEnvIdEnum)[keyof typeof newConnectConfigurationsEnvIdEnum]; export const budgetTypeEnum = { - fixed: 'fixed', -} as const + fixed: 'fixed' +} as const; -export type BudgetTypeEnum = (typeof budgetTypeEnum)[keyof typeof budgetTypeEnum] +export type BudgetTypeEnum = (typeof budgetTypeEnum)[keyof typeof budgetTypeEnum]; export const budgetPricingPlanEnum = { plus: 'plus', legacy: 'legacy', - unbundled: 'unbundled', -} as const + unbundled: 'unbundled' +} as const; -export type BudgetPricingPlanEnum = (typeof budgetPricingPlanEnum)[keyof typeof budgetPricingPlanEnum] +export type BudgetPricingPlanEnum = (typeof budgetPricingPlanEnum)[keyof typeof budgetPricingPlanEnum]; export const budgetItemTypeEnum = { - fixed: 'fixed', -} as const + fixed: 'fixed' +} as const; -export type BudgetItemTypeEnum = (typeof budgetItemTypeEnum)[keyof typeof budgetItemTypeEnum] +export type BudgetItemTypeEnum = (typeof budgetItemTypeEnum)[keyof typeof budgetItemTypeEnum]; export const budgetItemPricingPlanEnum = { plus: 'plus', legacy: 'legacy', - unbundled: 'unbundled', -} as const + unbundled: 'unbundled' +} as const; -export type BudgetItemPricingPlanEnum = (typeof budgetItemPricingPlanEnum)[keyof typeof budgetItemPricingPlanEnum] +export type BudgetItemPricingPlanEnum = (typeof budgetItemPricingPlanEnum)[keyof typeof budgetItemPricingPlanEnum]; export const payloadTypeEnum2 = { redis: 'redis', postgres: 'postgres', 'edge-config': 'edge-config', blob: 'blob', - integration: 'integration', -} as const + integration: 'integration' +} as const; -export type PayloadTypeEnum2 = (typeof payloadTypeEnum2)[keyof typeof payloadTypeEnum2] +export type PayloadTypeEnum2 = (typeof payloadTypeEnum2)[keyof typeof payloadTypeEnum2]; export const payloadStoreTypeEnum = { redis: 'redis', - postgres: 'postgres', -} as const + postgres: 'postgres' +} as const; -export type PayloadStoreTypeEnum = (typeof payloadStoreTypeEnum)[keyof typeof payloadStoreTypeEnum] +export type PayloadStoreTypeEnum = (typeof payloadStoreTypeEnum)[keyof typeof payloadStoreTypeEnum]; export const projectMembershipRoleEnum = { ADMIN: 'ADMIN', PROJECT_DEVELOPER: 'PROJECT_DEVELOPER', - PROJECT_VIEWER: 'PROJECT_VIEWER', -} as const + PROJECT_VIEWER: 'PROJECT_VIEWER' +} as const; -export type ProjectMembershipRoleEnum = (typeof projectMembershipRoleEnum)[keyof typeof projectMembershipRoleEnum] +export type ProjectMembershipRoleEnum = (typeof projectMembershipRoleEnum)[keyof typeof projectMembershipRoleEnum]; export const removedMembershipRoleEnum = { ADMIN: 'ADMIN', PROJECT_DEVELOPER: 'PROJECT_DEVELOPER', - PROJECT_VIEWER: 'PROJECT_VIEWER', -} as const + PROJECT_VIEWER: 'PROJECT_VIEWER' +} as const; -export type RemovedMembershipRoleEnum = (typeof removedMembershipRoleEnum)[keyof typeof removedMembershipRoleEnum] +export type RemovedMembershipRoleEnum = (typeof removedMembershipRoleEnum)[keyof typeof removedMembershipRoleEnum]; export const projectMembershipRoleEnum2 = { ADMIN: 'ADMIN', PROJECT_DEVELOPER: 'PROJECT_DEVELOPER', - PROJECT_VIEWER: 'PROJECT_VIEWER', -} as const + PROJECT_VIEWER: 'PROJECT_VIEWER' +} as const; -export type ProjectMembershipRoleEnum2 = (typeof projectMembershipRoleEnum2)[keyof typeof projectMembershipRoleEnum2] +export type ProjectMembershipRoleEnum2 = (typeof projectMembershipRoleEnum2)[keyof typeof projectMembershipRoleEnum2]; export const projectMembershipPreviousRoleEnum = { ADMIN: 'ADMIN', PROJECT_DEVELOPER: 'PROJECT_DEVELOPER', - PROJECT_VIEWER: 'PROJECT_VIEWER', -} as const + PROJECT_VIEWER: 'PROJECT_VIEWER' +} as const; -export type ProjectMembershipPreviousRoleEnum = (typeof projectMembershipPreviousRoleEnum)[keyof typeof projectMembershipPreviousRoleEnum] +export type ProjectMembershipPreviousRoleEnum = + (typeof projectMembershipPreviousRoleEnum)[keyof typeof projectMembershipPreviousRoleEnum]; export const projectRoleEnum = { ADMIN: 'ADMIN', PROJECT_DEVELOPER: 'PROJECT_DEVELOPER', - PROJECT_VIEWER: 'PROJECT_VIEWER', -} as const + PROJECT_VIEWER: 'PROJECT_VIEWER' +} as const; -export type ProjectRoleEnum = (typeof projectRoleEnum)[keyof typeof projectRoleEnum] +export type ProjectRoleEnum = (typeof projectRoleEnum)[keyof typeof projectRoleEnum]; export const payloadActionEnum5 = { enable: 'enable', - disable: 'disable', -} as const + disable: 'disable' +} as const; -export type PayloadActionEnum5 = (typeof payloadActionEnum5)[keyof typeof payloadActionEnum5] +export type PayloadActionEnum5 = (typeof payloadActionEnum5)[keyof typeof payloadActionEnum5]; export const payloadTierEnum = { pro: 'pro', - plus: 'plus', -} as const + plus: 'plus' +} as const; -export type PayloadTierEnum = (typeof payloadTierEnum)[keyof typeof payloadTierEnum] +export type PayloadTierEnum = (typeof payloadTierEnum)[keyof typeof payloadTierEnum]; export const payloadGrantTypeEnum = { authorization_code: 'authorization_code', refresh_token: 'refresh_token', 'urn:ietf:params:oauth:grant-type:device_code': 'urn:ietf:params:oauth:grant-type:device_code', - client_credentials: 'client_credentials', -} as const + client_credentials: 'client_credentials' +} as const; -export type PayloadGrantTypeEnum = (typeof payloadGrantTypeEnum)[keyof typeof payloadGrantTypeEnum] +export type PayloadGrantTypeEnum = (typeof payloadGrantTypeEnum)[keyof typeof payloadGrantTypeEnum]; export const payloadAuthMethodEnum = { email: 'email', @@ -997,10 +1016,10 @@ export const payloadAuthMethodEnum = { otp: 'otp', sms: 'sms', invite: 'invite', - google: 'google', -} as const + google: 'google' +} as const; -export type PayloadAuthMethodEnum = (typeof payloadAuthMethodEnum)[keyof typeof payloadAuthMethodEnum] +export type PayloadAuthMethodEnum = (typeof payloadAuthMethodEnum)[keyof typeof payloadAuthMethodEnum]; /** * @description Array of events generated by the User. @@ -1010,12 +1029,12 @@ export type UserEvent = { * @description The unique identifier of the Event. * @type string */ - id: string + id: string; /** * @description The human-readable text of the Event. * @type string */ - text: string + text: string; /** * @description A list of \"entities\" within the event `text`. Useful for enhancing the displayed text with additional styling and links. * @type array @@ -1025,23 +1044,23 @@ export type UserEvent = { * @description The type of entity. * @type string */ - type: EntitiesTypeEnum + type: EntitiesTypeEnum; /** * @description The index of where the entity begins within the `text` (inclusive). * @type number */ - start: number + start: number; /** * @description The index of where the entity ends within the `text` (non-inclusive). * @type number */ - end: number - }[] + end: number; + }[]; /** * @description Timestamp (in milliseconds) of when the event was generated. * @type number */ - createdAt: number + createdAt: number; /** * @description Metadata for {@link userId}. * @type object | undefined @@ -1051,69 +1070,69 @@ export type UserEvent = { /** * @type string */ - username: string + username: string; /** * @type string */ - avatar: string + avatar: string; /** * @type string */ - email: string + email: string; /** * @type string | undefined */ - slug?: string | undefined + slug?: string | undefined; /** * @type string */ - uid: string + uid: string; } - | undefined + | undefined; principal?: | ( | { /** * @type string | undefined */ - type?: PrincipalTypeEnum | undefined + type?: PrincipalTypeEnum | undefined; /** * @type string */ - avatar: string + avatar: string; /** * @type string */ - email: string + email: string; /** * @type string | undefined */ - slug?: string | undefined + slug?: string | undefined; /** * @type string */ - uid: string + uid: string; /** * @type string */ - username: string + username: string; } | { /** * @type string */ - type: PrincipalTypeEnum2 + type: PrincipalTypeEnum2; /** * @type string */ - clientId: string + clientId: string; /** * @type string */ - name: string + name: string; } ) - | undefined + | undefined; /** * @description Metadata for {@link viaIds}. * @type array | undefined @@ -1124,59 +1143,59 @@ export type UserEvent = { /** * @type string | undefined */ - type?: ViaTypeEnum | undefined + type?: ViaTypeEnum | undefined; /** * @type string */ - avatar: string + avatar: string; /** * @type string */ - email: string + email: string; /** * @type string | undefined */ - slug?: string | undefined + slug?: string | undefined; /** * @type string */ - uid: string + uid: string; /** * @type string */ - username: string + username: string; } | { /** * @type string */ - type: ViaTypeEnum2 + type: ViaTypeEnum2; /** * @type string */ - clientId: string + clientId: string; /** * @type string */ - name: string + name: string; } )[] - | undefined + | undefined; /** * @description When the principal who generated the event is a user, this is their ID; otherwise, it is empty. * @type string */ - userId: string + userId: string; /** * @description The ID of the principal who generated the event. The principal is typically a user, but it could also be an app, an integration, etc. The principal may have delegated its authority to an acting party, and so {@link viaIds} should be checked as well. * @type string */ - principalId: string + principalId: string; /** * @description If the principal delegated its authority (for example, a user delegating to an app), then this array contains the ID of the current actor. For example, if `principalId` is \"user123\" and `viaIds` is `[\"app456\"]`, we can say the event was triggered by - \"app456 on behalf of user123\", or - \"user123 via app4556\". Both are equivalent. Arbitrarily long chains of delegation can be represented. For example, if `principalId` is \"user123\" and `viaIds` is `[\"service1\", \"service2\"]`, we can say the event was triggered by \"user123 via service1 via service2\". * @type array | undefined */ - viaIds?: string[] | undefined + viaIds?: string[] | undefined; payload?: | ( | object @@ -1184,19 +1203,19 @@ export type UserEvent = { /** * @type string */ - action: PayloadActionEnum + action: PayloadActionEnum; /** * @type string */ - id: string + id: string; /** * @type string */ - slug: string + slug: string; /** * @type string */ - projectId: string + projectId: string; } | { /** @@ -1206,18 +1225,18 @@ export type UserEvent = { /** * @type string */ - id: string + id: string; /** * @type string */ - name: string - } + name: string; + }; } | { /** * @type string */ - author: string + author: string; /** * @type object */ @@ -1225,12 +1244,12 @@ export type UserEvent = { /** * @type string */ - id: string + id: string; /** * @type string */ - name: string - } + name: string; + }; } | { /** @@ -1240,12 +1259,12 @@ export type UserEvent = { /** * @type string */ - id: string + id: string; /** * @type string | undefined */ - name?: string | undefined - } + name?: string | undefined; + }; /** * @type object */ @@ -1253,16 +1272,16 @@ export type UserEvent = { /** * @type string */ - id: string + id: string; /** * @type string | undefined */ - username?: string | undefined - } + username?: string | undefined; + }; /** * @type string | undefined */ - directoryType?: string | undefined + directoryType?: string | undefined; } | { /** @@ -1272,12 +1291,12 @@ export type UserEvent = { /** * @type string */ - id: string + id: string; /** * @type string */ - name: string - } + name: string; + }; /** * @type object */ @@ -1285,26 +1304,26 @@ export type UserEvent = { /** * @type string */ - id: string + id: string; /** * @type string | undefined */ - name?: string | undefined - } + name?: string | undefined; + }; /** * @type string */ - nextRole?: (PayloadNextRoleEnum | null) | undefined + nextRole?: (PayloadNextRoleEnum | null) | undefined; /** * @type string | undefined */ - previousRole?: PayloadPreviousRoleEnum | undefined + previousRole?: PayloadPreviousRoleEnum | undefined; } | { /** * @type string | undefined */ - alias?: string | undefined + alias?: string | undefined; /** * @type object */ @@ -1313,163 +1332,163 @@ export type UserEvent = { /** * @type string */ - id: string + id: string; /** * @type string */ - name: string + name: string; /** * @type string */ - url: string + url: string; /** * @type object */ meta: { - [key: string]: string - } + [key: string]: string; + }; } | null) - | undefined + | undefined; /** * @type number | undefined */ - ruleCount?: number | undefined + ruleCount?: number | undefined; /** * @type string | undefined */ - deploymentUrl?: string | undefined + deploymentUrl?: string | undefined; /** * @type string | undefined */ - aliasId?: string | undefined + aliasId?: string | undefined; /** * @type string */ - deploymentId?: (string | null) | undefined + deploymentId?: (string | null) | undefined; /** * @type string */ - oldDeploymentId?: (string | null) | undefined + oldDeploymentId?: (string | null) | undefined; /** * @type string | undefined */ - redirect?: string | undefined + redirect?: string | undefined; /** * @type number */ - redirectStatusCode?: (number | null) | undefined + redirectStatusCode?: (number | null) | undefined; /** * @type string */ - target?: (string | null) | undefined + target?: (string | null) | undefined; /** * @type boolean | undefined */ - system?: boolean | undefined + system?: boolean | undefined; /** * @type number | undefined */ - aliasUpdatedAt?: number | undefined + aliasUpdatedAt?: number | undefined; } | { /** * @type string | undefined */ - aliasId?: string | undefined + aliasId?: string | undefined; /** * @type string | undefined */ - alias?: string | undefined + alias?: string | undefined; /** * @type string | undefined */ - projectName?: string | undefined + projectName?: string | undefined; } | { /** * @type string | undefined */ - alias?: string | undefined + alias?: string | undefined; } | { /** * @type string | undefined */ - alias?: string | undefined + alias?: string | undefined; /** * @type string | undefined */ - userId?: string | undefined + userId?: string | undefined; /** * @type string | undefined */ - username?: string | undefined + username?: string | undefined; } | { /** * @type string | undefined */ - alias?: string | undefined + alias?: string | undefined; /** * @type string | undefined */ - aliasId?: string | undefined + aliasId?: string | undefined; /** * @type string | undefined */ - userId?: string | undefined + userId?: string | undefined; /** * @type string | undefined */ - username?: string | undefined + username?: string | undefined; } | { /** * @type string */ - projectName: string + projectName: string; /** * @type string */ - alias: string + alias: string; /** * @type string */ - action: PayloadActionEnum2 + action: PayloadActionEnum2; } | { /** * @type string | undefined */ - alias?: string | undefined + alias?: string | undefined; /** * @type string | undefined */ - email?: string | undefined + email?: string | undefined; /** * @type string | undefined */ - username?: string | undefined + username?: string | undefined; } | { /** * @type string | undefined */ - alias?: string | undefined + alias?: string | undefined; /** * @type string | undefined */ - email?: string | undefined + email?: string | undefined; } | { /** * @type string | undefined */ - name?: string | undefined + name?: string | undefined; /** * @type string */ - alias: string + alias: string; /** * @type object | undefined */ @@ -1478,9 +1497,9 @@ export type UserEvent = { /** * @type string */ - name: string + name: string; } - | undefined + | undefined; /** * @type object | undefined */ @@ -1489,91 +1508,91 @@ export type UserEvent = { /** * @type string */ - name: string + name: string; } - | undefined + | undefined; } | { /** * @type string | undefined */ - name?: string | undefined + name?: string | undefined; /** * @type string */ - alias: string + alias: string; /** * @type string */ - aliasId: string + aliasId: string; /** * @type string */ - deploymentId: string | null + deploymentId: string | null; } | { /** * @type string */ - alias: string + alias: string; /** * @type string */ - deploymentUrl: string + deploymentUrl: string; } | { /** * @type string */ - projectName: string + projectName: string; /** * @type boolean */ - autoExposeSystemEnvs: boolean + autoExposeSystemEnvs: boolean; } | { /** * @type string | undefined */ - avatar?: string | undefined + avatar?: string | undefined; } | { /** * @type string | undefined */ - cn?: string | undefined + cn?: string | undefined; /** * @type array | undefined */ - cns?: string[] | undefined + cns?: string[] | undefined; /** * @type boolean */ - custom: boolean + custom: boolean; /** * @type string | undefined */ - id?: string | undefined + id?: string | undefined; } | { /** * @type string | undefined */ - cn?: string | undefined + cn?: string | undefined; /** * @type array | undefined */ - cns?: string[] | undefined + cns?: string[] | undefined; /** * @type string | undefined */ - id?: string | undefined + id?: string | undefined; } | { /** * @type string */ - id: string + id: string; /** * @type object | undefined */ @@ -1582,9 +1601,9 @@ export type UserEvent = { /** * @type string */ - name: string + name: string; } - | undefined + | undefined; /** * @type object | undefined */ @@ -1593,69 +1612,69 @@ export type UserEvent = { /** * @type string */ - name: string + name: string; } - | undefined + | undefined; } | { /** * @type string */ - src: string + src: string; /** * @type string */ - dst: string + dst: string; } | { /** * @type string */ - id: string + id: string; /** * @type string | undefined */ - cn?: string | undefined + cn?: string | undefined; /** * @type array | undefined */ - cns?: string[] | undefined + cns?: string[] | undefined; } | { /** * @type string | undefined */ - cn?: string | undefined + cn?: string | undefined; /** * @type array | undefined */ - cns?: string[] | undefined + cns?: string[] | undefined; } | { /** * @type string | undefined */ - reason?: string | undefined + reason?: string | undefined; /** * @type string */ - suffix: string + suffix: string; } | { /** * @type string */ - status: string + status: string; /** * @type string */ - suffix: string + suffix: string; } | { /** * @type string */ - suffix: string + suffix: string; } | { /** @@ -1665,12 +1684,12 @@ export type UserEvent = { /** * @type string */ - id: string + id: string; /** * @type string */ - name: string - } + name: string; + }; /** * @type object */ @@ -1678,12 +1697,12 @@ export type UserEvent = { /** * @type string */ - id: string + id: string; /** * @type string | undefined */ - name?: string | undefined - } + name?: string | undefined; + }; /** * @type object */ @@ -1691,16 +1710,16 @@ export type UserEvent = { /** * @type string */ - id: string + id: string; /** * @type string | undefined */ - name?: string | undefined - } + name?: string | undefined; + }; /** * @type boolean | undefined */ - buildsEnabled?: boolean | undefined + buildsEnabled?: boolean | undefined; } | { /** @@ -1710,12 +1729,12 @@ export type UserEvent = { /** * @type string */ - id: string + id: string; /** * @type string */ - name: string - } + name: string; + }; /** * @type object */ @@ -1723,12 +1742,12 @@ export type UserEvent = { /** * @type string */ - id: string + id: string; /** * @type string | undefined */ - name?: string | undefined - } + name?: string | undefined; + }; /** * @type object */ @@ -1736,20 +1755,20 @@ export type UserEvent = { /** * @type string */ - id: string + id: string; /** * @type string | undefined */ - name?: string | undefined - } + name?: string | undefined; + }; /** * @type boolean | undefined */ - buildsEnabled?: boolean | undefined + buildsEnabled?: boolean | undefined; /** * @type boolean | undefined */ - passive?: boolean | undefined + passive?: boolean | undefined; } | { /** @@ -1759,12 +1778,12 @@ export type UserEvent = { /** * @type string */ - id: string + id: string; /** * @type string */ - name: string - } + name: string; + }; /** * @type object */ @@ -1772,12 +1791,12 @@ export type UserEvent = { /** * @type string */ - id: string + id: string; /** * @type string | undefined */ - name?: string | undefined - } + name?: string | undefined; + }; /** * @type object */ @@ -1785,12 +1804,12 @@ export type UserEvent = { /** * @type string */ - id: string + id: string; /** * @type string | undefined */ - name?: string | undefined - } + name?: string | undefined; + }; } | { /** @@ -1800,12 +1819,12 @@ export type UserEvent = { /** * @type string */ - id: string + id: string; /** * @type string */ - name: string - } + name: string; + }; /** * @type object */ @@ -1813,50 +1832,50 @@ export type UserEvent = { /** * @type string */ - id: string + id: string; /** * @type string | undefined */ - name?: string | undefined - } + name?: string | undefined; + }; /** * @type string */ - newName: string + newName: string; } | { /** * @type string */ - githubLogin: string + githubLogin: string; } | { /** * @type string */ - gitlabLogin: string + gitlabLogin: string; /** * @type string */ - gitlabEmail: string + gitlabEmail: string; /** * @type string | undefined */ - gitlabName?: string | undefined + gitlabName?: string | undefined; } | { /** * @type string */ - bitbucketEmail: string + bitbucketEmail: string; /** * @type string */ - bitbucketLogin: string + bitbucketLogin: string; /** * @type string | undefined */ - bitbucketName?: string | undefined + bitbucketName?: string | undefined; } | { /** @@ -1866,8 +1885,8 @@ export type UserEvent = { /** * @type string */ - name: string - } + name: string; + }; /** * @type object */ @@ -1879,39 +1898,39 @@ export type UserEvent = { /** * @type number */ - createdAt: number + createdAt: number; /** * @type string */ - id: string + id: string; /** * @type string */ - name: string + name: string; /** * @type string */ - ref: string - } + ref: string; + }; /** * @type string */ - state: string - } + state: string; + }; } | { /** * @type string | undefined */ - name?: string | undefined + name?: string | undefined; /** * @type array | undefined */ - alias?: string[] | undefined + alias?: string[] | undefined; /** * @type string */ - target?: (string | null) | undefined + target?: (string | null) | undefined; /** * @type object */ @@ -1920,61 +1939,61 @@ export type UserEvent = { /** * @type string */ - id: string + id: string; /** * @type string */ - name: string + name: string; /** * @type string */ - url: string + url: string; /** * @type object */ meta: { - [key: string]: string - } + [key: string]: string; + }; } | null) - | undefined + | undefined; /** * @type string */ - url: string + url: string; /** * @type boolean | undefined */ - forced?: boolean | undefined + forced?: boolean | undefined; /** * @type string | undefined */ - deploymentId?: string | undefined + deploymentId?: string | undefined; /** * @type string | undefined */ - plan?: string | undefined + plan?: string | undefined; /** * @type string | undefined */ - project?: string | undefined + project?: string | undefined; /** * @type string | undefined */ - projectId?: string | undefined + projectId?: string | undefined; /** * @type array | undefined */ - regions?: string[] | undefined + regions?: string[] | undefined; /** * @type string | undefined */ - type?: string | undefined + type?: string | undefined; } | { /** * @type string */ - url: string + url: string; /** * @type object | undefined */ @@ -1983,9 +2002,9 @@ export type UserEvent = { /** * @type string */ - name: string + name: string; } - | undefined + | undefined; /** * @type object | undefined */ @@ -1994,9 +2013,9 @@ export type UserEvent = { /** * @type string */ - name: string + name: string; } - | undefined + | undefined; } | { /** @@ -2006,132 +2025,132 @@ export type UserEvent = { /** * @type string */ - id: string + id: string; /** * @type string */ - name: string + name: string; /** * @type string */ - url: string + url: string; /** * @type object */ meta: { - [key: string]: string - } - } + [key: string]: string; + }; + }; /** * @type string */ - deploymentId: string + deploymentId: string; /** * @type string */ - url: string + url: string; } | { /** * @type string */ - id: string + id: string; /** * @type string */ - value: string + value: string; /** * @type string */ - name: string + name: string; /** * @type string */ - domain: string + domain: string; /** * @type string */ - type: string + type: string; /** * @type number | undefined */ - mxPriority?: number | undefined + mxPriority?: number | undefined; } | { /** * @type string */ - id: string + id: string; /** * @type string */ - value: string + value: string; /** * @type string */ - name: string + name: string; /** * @type string */ - domain: string + domain: string; /** * @type string */ - type: string + type: string; } | { /** * @type string */ - name: string + name: string; } | { /** * @type string */ - name: string + name: string; /** * @type number */ - price: number + price: number; /** * @type string | undefined */ - currency?: string | undefined + currency?: string | undefined; } | { /** * @type string */ - name: string + name: string; /** * @type boolean */ - cdnEnabled: boolean + cdnEnabled: boolean; } | { /** * @type string */ - name: string + name: string; /** * @type string */ - userId: string + userId: string; /** * @type string */ - teamId: string + teamId: string; /** * @type string */ - ownerName: string + ownerName: string; } | { /** * @type string */ - name: string + name: string; /** * @type object | undefined */ @@ -2140,9 +2159,9 @@ export type UserEvent = { /** * @type string */ - name: string + name: string; } - | undefined + | undefined; /** * @type object | undefined */ @@ -2151,240 +2170,240 @@ export type UserEvent = { /** * @type string */ - name: string + name: string; } - | undefined + | undefined; } | { /** * @type string */ - domainId: string + domainId: string; /** * @type string */ - name: string + name: string; } | { /** * @type string */ - name: string + name: string; /** * @type string */ - fromId: string | null + fromId: string | null; /** * @type string */ - fromName: string | null + fromName: string | null; } | { /** * @type string */ - name: string + name: string; /** * @type string */ - destinationId: string | null + destinationId: string | null; /** * @type string */ - destinationName: string | null + destinationName: string | null; } | { /** * @type string */ - name: string + name: string; /** * @type string */ - destinationId: string + destinationId: string; /** * @type string */ - destinationName: string + destinationName: string; } | { /** * @type boolean | undefined */ - renew?: boolean | undefined + renew?: boolean | undefined; /** * @type string */ - domain: string + domain: string; } | { /** * @type string */ - name: string + name: string; /** * @type number | undefined */ - price?: number | undefined + price?: number | undefined; /** * @type string | undefined */ - currency?: string | undefined + currency?: string | undefined; } | { /** * @type string */ - sha: string + sha: string; /** * @type string */ - gitUserPlatform: string + gitUserPlatform: string; /** * @type string */ - projectName: string + projectName: string; } | { /** * @type string */ - email: string + email: string; /** * @type string */ - name: string + name: string; } | { /** * @type string | undefined */ - key?: string | undefined + key?: string | undefined; /** * @type string | undefined */ - projectId?: string | undefined + projectId?: string | undefined; /** * @type string | undefined */ - projectName?: string | undefined - target?: (string | string[]) | undefined + projectName?: string | undefined; + target?: (string | string[]) | undefined; /** * @type string | undefined */ - id?: string | undefined + id?: string | undefined; /** * @type string | undefined */ - gitBranch?: string | undefined + gitBranch?: string | undefined; /** * @type string */ - edgeConfigId?: (string | null) | undefined + edgeConfigId?: (string | null) | undefined; /** * @type string */ - edgeConfigTokenId?: (string | null) | undefined + edgeConfigTokenId?: (string | null) | undefined; /** * @type string | undefined */ - source?: string | undefined + source?: string | undefined; } | { /** * @description The date when the Shared Env Var was created. * @type string | undefined, date-time */ - created?: string | undefined + created?: string | undefined; /** * @description The name of the Shared Env Var. * @type string | undefined */ - key?: string | undefined + key?: string | undefined; /** * @description The unique identifier of the owner (team) the Shared Env Var was created for. * @type string */ - ownerId?: (string | null) | undefined + ownerId?: (string | null) | undefined; /** * @description The unique identifier of the Shared Env Var. * @type string | undefined */ - id?: string | undefined + id?: string | undefined; /** * @description The unique identifier of the user who created the Shared Env Var. * @type string */ - createdBy?: (string | null) | undefined + createdBy?: (string | null) | undefined; /** * @description The unique identifier of the user who deleted the Shared Env Var. * @type string */ - deletedBy?: (string | null) | undefined + deletedBy?: (string | null) | undefined; /** * @description The unique identifier of the user who last updated the Shared Env Var. * @type string */ - updatedBy?: (string | null) | undefined + updatedBy?: (string | null) | undefined; /** * @description Timestamp for when the Shared Env Var was created. * @type number | undefined */ - createdAt?: number | undefined + createdAt?: number | undefined; /** * @description Timestamp for when the Shared Env Var was (soft) deleted. * @type number | undefined */ - deletedAt?: number | undefined + deletedAt?: number | undefined; /** * @description Timestamp for when the Shared Env Var was last updated. * @type number | undefined */ - updatedAt?: number | undefined + updatedAt?: number | undefined; /** * @description The value of the Shared Env Var. * @type string | undefined */ - value?: string | undefined + value?: string | undefined; /** * @description The unique identifiers of the projects which the Shared Env Var is linked to. * @type array | undefined */ - projectId?: string[] | undefined + projectId?: string[] | undefined; /** * @description The type of this cosmos doc instance, if blank, assume secret. * @type string | undefined */ - type?: PayloadTypeEnum | undefined + type?: PayloadTypeEnum | undefined; /** * @description environments this env variable targets * @type array | undefined */ - target?: PayloadTargetEnum[] | undefined + target?: PayloadTargetEnum[] | undefined; /** * @description whether or not this env varible applies to custom environments * @type boolean | undefined */ - applyToAllCustomEnvironments?: boolean | undefined + applyToAllCustomEnvironments?: boolean | undefined; /** * @description whether or not this env variable is decrypted * @type boolean | undefined */ - decrypted?: boolean | undefined + decrypted?: boolean | undefined; /** * @description A user provided comment that describes what this Shared Env Var is for. * @type string | undefined */ - comment?: string | undefined + comment?: string | undefined; /** * @description The last editor full name or username. * @type string | undefined */ - lastEditedByDisplayName?: string | undefined + lastEditedByDisplayName?: string | undefined; /** * @type array | undefined */ - projectNames?: string[] | undefined + projectNames?: string[] | undefined; } | { /** @@ -2396,94 +2415,94 @@ export type UserEvent = { * @description The date when the Shared Env Var was created. * @type string | undefined, date-time */ - created?: string | undefined + created?: string | undefined; /** * @description The name of the Shared Env Var. * @type string | undefined */ - key?: string | undefined + key?: string | undefined; /** * @description The unique identifier of the owner (team) the Shared Env Var was created for. * @type string */ - ownerId?: (string | null) | undefined + ownerId?: (string | null) | undefined; /** * @description The unique identifier of the Shared Env Var. * @type string | undefined */ - id?: string | undefined + id?: string | undefined; /** * @description The unique identifier of the user who created the Shared Env Var. * @type string */ - createdBy?: (string | null) | undefined + createdBy?: (string | null) | undefined; /** * @description The unique identifier of the user who deleted the Shared Env Var. * @type string */ - deletedBy?: (string | null) | undefined + deletedBy?: (string | null) | undefined; /** * @description The unique identifier of the user who last updated the Shared Env Var. * @type string */ - updatedBy?: (string | null) | undefined + updatedBy?: (string | null) | undefined; /** * @description Timestamp for when the Shared Env Var was created. * @type number | undefined */ - createdAt?: number | undefined + createdAt?: number | undefined; /** * @description Timestamp for when the Shared Env Var was (soft) deleted. * @type number | undefined */ - deletedAt?: number | undefined + deletedAt?: number | undefined; /** * @description Timestamp for when the Shared Env Var was last updated. * @type number | undefined */ - updatedAt?: number | undefined + updatedAt?: number | undefined; /** * @description The value of the Shared Env Var. * @type string | undefined */ - value?: string | undefined + value?: string | undefined; /** * @description The unique identifiers of the projects which the Shared Env Var is linked to. * @type array | undefined */ - projectId?: string[] | undefined + projectId?: string[] | undefined; /** * @description The type of this cosmos doc instance, if blank, assume secret. * @type string | undefined */ - type?: OldEnvVarTypeEnum | undefined + type?: OldEnvVarTypeEnum | undefined; /** * @description environments this env variable targets * @type array | undefined */ - target?: OldEnvVarTargetEnum[] | undefined + target?: OldEnvVarTargetEnum[] | undefined; /** * @description whether or not this env varible applies to custom environments * @type boolean | undefined */ - applyToAllCustomEnvironments?: boolean | undefined + applyToAllCustomEnvironments?: boolean | undefined; /** * @description whether or not this env variable is decrypted * @type boolean | undefined */ - decrypted?: boolean | undefined + decrypted?: boolean | undefined; /** * @description A user provided comment that describes what this Shared Env Var is for. * @type string | undefined */ - comment?: string | undefined + comment?: string | undefined; /** * @description The last editor full name or username. * @type string | undefined */ - lastEditedByDisplayName?: string | undefined + lastEditedByDisplayName?: string | undefined; } - | undefined + | undefined; /** * @type object | undefined */ @@ -2493,94 +2512,94 @@ export type UserEvent = { * @description The date when the Shared Env Var was created. * @type string | undefined, date-time */ - created?: string | undefined + created?: string | undefined; /** * @description The name of the Shared Env Var. * @type string | undefined */ - key?: string | undefined + key?: string | undefined; /** * @description The unique identifier of the owner (team) the Shared Env Var was created for. * @type string */ - ownerId?: (string | null) | undefined + ownerId?: (string | null) | undefined; /** * @description The unique identifier of the Shared Env Var. * @type string | undefined */ - id?: string | undefined + id?: string | undefined; /** * @description The unique identifier of the user who created the Shared Env Var. * @type string */ - createdBy?: (string | null) | undefined + createdBy?: (string | null) | undefined; /** * @description The unique identifier of the user who deleted the Shared Env Var. * @type string */ - deletedBy?: (string | null) | undefined + deletedBy?: (string | null) | undefined; /** * @description The unique identifier of the user who last updated the Shared Env Var. * @type string */ - updatedBy?: (string | null) | undefined + updatedBy?: (string | null) | undefined; /** * @description Timestamp for when the Shared Env Var was created. * @type number | undefined */ - createdAt?: number | undefined + createdAt?: number | undefined; /** * @description Timestamp for when the Shared Env Var was (soft) deleted. * @type number | undefined */ - deletedAt?: number | undefined + deletedAt?: number | undefined; /** * @description Timestamp for when the Shared Env Var was last updated. * @type number | undefined */ - updatedAt?: number | undefined + updatedAt?: number | undefined; /** * @description The value of the Shared Env Var. * @type string | undefined */ - value?: string | undefined + value?: string | undefined; /** * @description The unique identifiers of the projects which the Shared Env Var is linked to. * @type array | undefined */ - projectId?: string[] | undefined + projectId?: string[] | undefined; /** * @description The type of this cosmos doc instance, if blank, assume secret. * @type string | undefined */ - type?: NewEnvVarTypeEnum | undefined + type?: NewEnvVarTypeEnum | undefined; /** * @description environments this env variable targets * @type array | undefined */ - target?: NewEnvVarTargetEnum[] | undefined + target?: NewEnvVarTargetEnum[] | undefined; /** * @description whether or not this env varible applies to custom environments * @type boolean | undefined */ - applyToAllCustomEnvironments?: boolean | undefined + applyToAllCustomEnvironments?: boolean | undefined; /** * @description whether or not this env variable is decrypted * @type boolean | undefined */ - decrypted?: boolean | undefined + decrypted?: boolean | undefined; /** * @description A user provided comment that describes what this Shared Env Var is for. * @type string | undefined */ - comment?: string | undefined + comment?: string | undefined; /** * @description The last editor full name or username. * @type string | undefined */ - lastEditedByDisplayName?: string | undefined + lastEditedByDisplayName?: string | undefined; } - | undefined + | undefined; /** * @type object | undefined */ @@ -2589,31 +2608,31 @@ export type UserEvent = { /** * @type string */ - id: string + id: string; /** * @type string | undefined */ - key?: string | undefined + key?: string | undefined; /** * @type string | undefined */ - newKey?: string | undefined + newKey?: string | undefined; /** * @type array | undefined */ - oldTarget?: UpdateDiffOldTargetEnum[] | undefined + oldTarget?: UpdateDiffOldTargetEnum[] | undefined; /** * @type array | undefined */ - newTarget?: UpdateDiffNewTargetEnum[] | undefined + newTarget?: UpdateDiffNewTargetEnum[] | undefined; /** * @type string | undefined */ - oldType?: string | undefined + oldType?: string | undefined; /** * @type string | undefined */ - newType?: string | undefined + newType?: string | undefined; /** * @type array | undefined */ @@ -2622,13 +2641,13 @@ export type UserEvent = { /** * @type string | undefined */ - projectName?: string | undefined + projectName?: string | undefined; /** * @type string */ - projectId: string + projectId: string; }[] - | undefined + | undefined; /** * @type array | undefined */ @@ -2637,83 +2656,83 @@ export type UserEvent = { /** * @type string | undefined */ - projectName?: string | undefined + projectName?: string | undefined; /** * @type string */ - projectId: string + projectId: string; }[] - | undefined + | undefined; /** * @type boolean */ - changedValue: boolean + changedValue: boolean; } - | undefined + | undefined; } | { /** * @type string */ - projectId: string + projectId: string; /** * @type boolean */ - restore: boolean + restore: boolean; /** * @type number */ - configVersion: number + configVersion: number; /** * @type number */ - configChangeCount: number + configChangeCount: number; /** * @type array */ - configChanges: object[] + configChanges: object[]; } | { /** * @type string */ - projectId: string + projectId: string; /** * @type string */ - scope: string + scope: string; /** * @type string */ - source: string + source: string; } | { /** * @type string */ - projectId: string + projectId: string; /** * @type string */ - rulesetName: string + rulesetName: string; /** * @type boolean */ - active: boolean + active: boolean; /** * @type string | undefined */ - action?: PayloadActionEnum3 | undefined + action?: PayloadActionEnum3 | undefined; } | { /** * @type string */ - projectId: string + projectId: string; /** * @type string */ - rulesetName: string + rulesetName: string; /** * @type object */ @@ -2722,71 +2741,71 @@ export type UserEvent = { /** * @type boolean */ - active: boolean + active: boolean; /** * @type string | undefined */ - action?: ActionEnum | undefined - } - } + action?: ActionEnum | undefined; + }; + }; } | { /** * @type string */ - projectId: string + projectId: string; /** * @type boolean | undefined */ - prevAttackModeEnabled?: boolean | undefined + prevAttackModeEnabled?: boolean | undefined; /** * @type number */ - prevAttackModeActiveUntil?: (number | null) | undefined + prevAttackModeActiveUntil?: (number | null) | undefined; /** * @type boolean */ - attackModeEnabled: boolean + attackModeEnabled: boolean; /** * @type number */ - attackModeActiveUntil?: (number | null) | undefined + attackModeActiveUntil?: (number | null) | undefined; } | { /** * @type string */ - integrationId: string + integrationId: string; /** * @type string */ - integrationSlug: string + integrationSlug: string; /** * @type string */ - integrationName: string + integrationName: string; } | { /** * @type string */ - userId: string + userId: string; /** * @type string */ - integrationId: string + integrationId: string; /** * @type string */ - configurationId: string + configurationId: string; /** * @type string */ - integrationSlug: string + integrationSlug: string; /** * @type string | undefined */ - integrationName?: string | undefined + integrationName?: string | undefined; /** * @type object */ @@ -2805,38 +2824,38 @@ export type UserEvent = { /** * @type string */ - action: BlockHistoryActionEnum + action: BlockHistoryActionEnum; /** * @type number */ - createdAt: number + createdAt: number; /** * @type string | undefined */ - caseId?: string | undefined + caseId?: string | undefined; /** * @type string */ - reason: string + reason: string; /** * @type string | undefined */ - actor?: string | undefined + actor?: string | undefined; /** * @type number | undefined */ - statusCode?: number | undefined + statusCode?: number | undefined; /** * @type string | undefined */ - comment?: string | undefined + comment?: string | undefined; }[] - | undefined + | undefined; /** * @description Since March 2022. Helps abuse checks by tracking git auths. Format: `::` * @type array | undefined */ - gitAuthHistory?: string[] | undefined + gitAuthHistory?: string[] | undefined; /** * @description (scanner history). Since November 2021. First element is newest. * @type array | undefined @@ -2846,71 +2865,71 @@ export type UserEvent = { /** * @type string */ - scanner: string + scanner: string; /** * @type string */ - reason: string + reason: string; /** * @type string */ - by: string + by: string; /** * @type string */ - byId: string + byId: string; /** * @type number */ - at: number + at: number; }[] - | undefined + | undefined; /** * @description Since September 2023. How often did this owner trigger an actual git lineage deploy block? * @type number | undefined */ - gitLineageBlocks?: number | undefined + gitLineageBlocks?: number | undefined; /** * @description Since September 2023. How often did this owner trigger a git lineage deploy block dry run? * @type number | undefined */ - gitLineageBlocksDry?: number | undefined + gitLineageBlocksDry?: number | undefined; /** * @description Since November 2021. Guides the abuse scanner in build container. * @type string | undefined */ - scanner?: string | undefined + scanner?: string | undefined; /** * @description Since November 2021 * @type number */ - updatedAt: number + updatedAt: number; /** * @type string | undefined */ - creationUserAgent?: string | undefined + creationUserAgent?: string | undefined; /** * @type string | undefined */ - creationIp?: string | undefined + creationIp?: string | undefined; /** * @type string | undefined */ - removedPhoneNumbers?: string | undefined + removedPhoneNumbers?: string | undefined; } - | undefined + | undefined; /** * @type string | undefined */ - acceptanceState?: string | undefined + acceptanceState?: string | undefined; /** * @type number | undefined */ - acceptedAt?: number | undefined + acceptedAt?: number | undefined; /** * @type string | undefined */ - avatar?: string | undefined + avatar?: string | undefined; /** * @type object */ @@ -2918,24 +2937,24 @@ export type UserEvent = { /** * @type string */ - plan: BillingPlanEnum - } + plan: BillingPlanEnum; + }; /** * @type number */ - blocked: number | null + blocked: number | null; /** * @type string | undefined */ - blockReason?: string | undefined + blockReason?: string | undefined; /** * @type number | undefined */ - created?: number | undefined + created?: number | undefined; /** * @type number */ - createdAt: number + createdAt: number; /** * @type array | undefined */ @@ -2945,36 +2964,36 @@ export type UserEvent = { /** * @type string */ - type: CredentialsTypeEnum + type: CredentialsTypeEnum; /** * @type string */ - id: string + id: string; } | { /** * @type string */ - type: CredentialsTypeEnum2 + type: CredentialsTypeEnum2; /** * @type string */ - host: string + host: string; /** * @type string */ - id: string + id: string; } )[] - | undefined + | undefined; /** * @type string */ - customerId?: (string | null) | undefined + customerId?: (string | null) | undefined; /** * @type string */ - orbCustomerId?: (string | null) | undefined + orbCustomerId?: (string | null) | undefined; /** * @type object | undefined */ @@ -2983,21 +3002,21 @@ export type UserEvent = { /** * @type boolean | undefined */ - excessBillingEnabled?: boolean | undefined + excessBillingEnabled?: boolean | undefined; } - | undefined + | undefined; /** * @type number */ - deletedAt?: (number | null) | undefined + deletedAt?: (number | null) | undefined; /** * @type string */ - deploymentSecret: string + deploymentSecret: string; /** * @type array | undefined */ - dismissedTeams?: string[] | undefined + dismissedTeams?: string[] | undefined; /** * @type array | undefined */ @@ -3006,7 +3025,7 @@ export type UserEvent = { /** * @type string */ - name: string + name: string; /** * @type array */ @@ -3014,14 +3033,14 @@ export type UserEvent = { /** * @type string */ - scopeId: string + scopeId: string; /** * @type number */ - createdAt: number - }[] + createdAt: number; + }[]; }[] - | undefined + | undefined; /** * @type array | undefined */ @@ -3030,27 +3049,27 @@ export type UserEvent = { /** * @type string */ - teamId: string + teamId: string; /** * @type string */ - projectId: string + projectId: string; }[] - | undefined + | undefined; /** * @type string */ - email: string + email: string; /** * @type string */ - id: string - importFlowGitNamespace?: ((string | number) | null) | undefined - importFlowGitNamespaceId?: ((string | number) | null) | undefined + id: string; + importFlowGitNamespace?: ((string | number) | null) | undefined; + importFlowGitNamespaceId?: ((string | number) | null) | undefined; /** * @type string */ - importFlowGitProvider?: (NewOwnerImportFlowGitProviderEnum | null) | undefined + importFlowGitProvider?: (NewOwnerImportFlowGitProviderEnum | null) | undefined; /** * @type array | undefined */ @@ -3059,40 +3078,40 @@ export type UserEvent = { /** * @type string */ - scopeId: string - gitNamespaceId: (string | number) | null + scopeId: string; + gitNamespaceId: (string | number) | null; }[] - | undefined + | undefined; /** * @type boolean | undefined */ - isDomainReseller?: boolean | undefined + isDomainReseller?: boolean | undefined; /** * @type boolean | undefined */ - isZeitPub?: boolean | undefined + isZeitPub?: boolean | undefined; /** * @type number | undefined */ - maxActiveSlots?: number | undefined + maxActiveSlots?: number | undefined; /** * @type string | undefined */ - name?: string | undefined + name?: string | undefined; /** * @type string | undefined */ - phoneNumber?: string | undefined + phoneNumber?: string | undefined; /** * @type number */ - platformVersion: number | null - preventAutoBlocking?: (number | boolean) | undefined + platformVersion: number | null; + preventAutoBlocking?: (number | boolean) | undefined; /** * @description Overrides our DEFAULT project domains limit per account or per project. * @type number | undefined */ - projectDomainsLimit?: number | undefined + projectDomainsLimit?: number | undefined; /** * @description Represents configuration for remote caching * @type object | undefined @@ -3102,49 +3121,49 @@ export type UserEvent = { /** * @type boolean | undefined */ - enabled?: boolean | undefined + enabled?: boolean | undefined; } - | undefined + | undefined; /** * @type number | undefined */ - removedAliasesAt?: number | undefined + removedAliasesAt?: number | undefined; /** * @type number | undefined */ - removedBillingSubscriptionAt?: number | undefined + removedBillingSubscriptionAt?: number | undefined; /** * @type number | undefined */ - removedConfigurationsAt?: number | undefined + removedConfigurationsAt?: number | undefined; /** * @type number | undefined */ - removedDeploymentsAt?: number | undefined + removedDeploymentsAt?: number | undefined; /** * @type number | undefined */ - removedDomiansAt?: number | undefined + removedDomiansAt?: number | undefined; /** * @type number | undefined */ - removedEventsAt?: number | undefined + removedEventsAt?: number | undefined; /** * @type number | undefined */ - removedProjectsAt?: number | undefined + removedProjectsAt?: number | undefined; /** * @type number | undefined */ - removedSecretsAt?: number | undefined + removedSecretsAt?: number | undefined; /** * @type number | undefined */ - removedSharedEnvVarsAt?: number | undefined + removedSharedEnvVarsAt?: number | undefined; /** * @type number | undefined */ - removedEdgeConfigsAt?: number | undefined + removedEdgeConfigsAt?: number | undefined; /** * @type object | undefined */ @@ -3153,15 +3172,15 @@ export type UserEvent = { /** * @type string | undefined */ - nodeType?: string | undefined + nodeType?: string | undefined; /** * @type number | undefined */ - concurrentBuilds?: number | undefined + concurrentBuilds?: number | undefined; /** * @type boolean | undefined */ - elasticConcurrencyEnabled?: boolean | undefined + elasticConcurrencyEnabled?: boolean | undefined; /** * @type object | undefined */ @@ -3170,89 +3189,89 @@ export type UserEvent = { /** * @type boolean | undefined */ - enhancedBuilds?: boolean | undefined + enhancedBuilds?: boolean | undefined; } - | undefined + | undefined; /** * @type string | undefined */ - awsAccountType?: string | undefined + awsAccountType?: string | undefined; /** * @type array | undefined */ - awsAccountIds?: string[] | undefined + awsAccountIds?: string[] | undefined; /** * @type string | undefined */ - cfZoneName?: string | undefined + cfZoneName?: string | undefined; /** * @type string | undefined */ - imageOptimizationType?: string | undefined + imageOptimizationType?: string | undefined; /** * @type number | undefined */ - edgeConfigs?: number | undefined + edgeConfigs?: number | undefined; /** * @type number | undefined */ - edgeConfigSize?: number | undefined + edgeConfigSize?: number | undefined; /** * @type number | undefined */ - edgeFunctionMaxSizeBytes?: number | undefined + edgeFunctionMaxSizeBytes?: number | undefined; /** * @type number | undefined */ - edgeFunctionExecutionTimeoutMs?: number | undefined + edgeFunctionExecutionTimeoutMs?: number | undefined; /** * @type number | undefined */ - serverlessFunctionMaxMemorySize?: number | undefined + serverlessFunctionMaxMemorySize?: number | undefined; /** * @type number | undefined */ - kvDatabases?: number | undefined + kvDatabases?: number | undefined; /** * @type number | undefined */ - postgresDatabases?: number | undefined + postgresDatabases?: number | undefined; /** * @type number | undefined */ - blobStores?: number | undefined + blobStores?: number | undefined; /** * @type number | undefined */ - integrationStores?: number | undefined + integrationStores?: number | undefined; /** * @type number | undefined */ - cronJobs?: number | undefined + cronJobs?: number | undefined; /** * @type number | undefined */ - cronJobsPerProject?: number | undefined + cronJobsPerProject?: number | undefined; /** * @type number | undefined */ - microfrontendGroupsPerTeam?: number | undefined + microfrontendGroupsPerTeam?: number | undefined; /** * @type number | undefined */ - microfrontendProjectsPerGroup?: number | undefined + microfrontendProjectsPerGroup?: number | undefined; /** * @type number | undefined */ - flagsExplorerOverridesThreshold?: number | undefined + flagsExplorerOverridesThreshold?: number | undefined; /** * @type boolean | undefined */ - flagsExplorerUnlimitedOverrides?: boolean | undefined + flagsExplorerUnlimitedOverrides?: boolean | undefined; /** * @type number | undefined */ - customEnvironmentsPerProject?: number | undefined + customEnvironmentsPerProject?: number | undefined; /** * @type object | undefined */ @@ -3261,21 +3280,21 @@ export type UserEvent = { /** * @type string | undefined */ - purchaseType?: BuildMachinePurchaseTypeEnum | undefined + purchaseType?: BuildMachinePurchaseTypeEnum | undefined; /** * @type boolean | undefined */ - isDefaultBuildMachine?: boolean | undefined + isDefaultBuildMachine?: boolean | undefined; /** * @type number | undefined */ - cores?: number | undefined + cores?: number | undefined; /** * @type number | undefined */ - memory?: number | undefined + memory?: number | undefined; } - | undefined + | undefined; /** * @type object | undefined */ @@ -3284,23 +3303,23 @@ export type UserEvent = { /** * @type number | undefined */ - customRules?: number | undefined + customRules?: number | undefined; /** * @type number | undefined */ - ipBlocks?: number | undefined + ipBlocks?: number | undefined; /** * @type number | undefined */ - ipBypass?: number | undefined + ipBypass?: number | undefined; /** * @type number | undefined */ - rateLimit?: number | undefined + rateLimit?: number | undefined; } - | undefined + | undefined; } - | undefined + | undefined; /** * @description User | Team resource limits * @type object | undefined @@ -3311,14 +3330,14 @@ export type UserEvent = { /** * @type number */ - max: number + max: number; /** * @type number */ - duration: number - } + duration: number; + }; } - | undefined + | undefined; /** * @type array | undefined */ @@ -3327,21 +3346,21 @@ export type UserEvent = { /** * @type string */ - scopeId: string + scopeId: string; /** * @type string */ - viewPreference?: (ActiveDashboardViewsViewPreferenceEnum | null) | undefined + viewPreference?: (ActiveDashboardViewsViewPreferenceEnum | null) | undefined; /** * @type string */ - favoritesViewPreference?: (ActiveDashboardViewsFavoritesViewPreferenceEnum | null) | undefined + favoritesViewPreference?: (ActiveDashboardViewsFavoritesViewPreferenceEnum | null) | undefined; /** * @type string */ - recentsViewPreference?: (ActiveDashboardViewsRecentsViewPreferenceEnum | null) | undefined + recentsViewPreference?: (ActiveDashboardViewsRecentsViewPreferenceEnum | null) | undefined; }[] - | undefined + | undefined; /** * @type array | undefined */ @@ -3350,13 +3369,13 @@ export type UserEvent = { /** * @type string */ - email: string + email: string; /** * @type boolean */ - verified: boolean + verified: boolean; }[] - | undefined + | undefined; /** * @type object | undefined */ @@ -3371,16 +3390,16 @@ export type UserEvent = { /** * @type string */ - email: string - } + email: string; + }; } - | undefined + | undefined; } - | undefined + | undefined; /** * @type number | undefined */ - siftScore?: number | undefined + siftScore?: number | undefined; /** * @type object | undefined */ @@ -3390,7 +3409,7 @@ export type UserEvent = { /** * @type number */ - score: number + score: number; /** * @type array */ @@ -3398,15 +3417,15 @@ export type UserEvent = { /** * @type string */ - name: string + name: string; /** * @type string */ - value: string - }[] - } + value: string; + }[]; + }; } - | undefined + | undefined; /** * @type object | undefined */ @@ -3415,13 +3434,13 @@ export type UserEvent = { /** * @type string */ - name: SiftRouteNameEnum + name: SiftRouteNameEnum; } - | undefined + | undefined; /** * @type string | undefined */ - sfdcId?: string | undefined + sfdcId?: string | undefined; /** * @type object */ @@ -3430,25 +3449,25 @@ export type UserEvent = { /** * @type number */ - blockedAt: number + blockedAt: number; /** * @type string */ - reason: SoftBlockReasonEnum + reason: SoftBlockReasonEnum; /** * @type string | undefined */ - blockedDueToOverageType?: SoftBlockBlockedDueToOverageTypeEnum | undefined + blockedDueToOverageType?: SoftBlockBlockedDueToOverageTypeEnum | undefined; } | null) - | undefined + | undefined; /** * @type string */ - stagingPrefix: string + stagingPrefix: string; /** * @type string */ - sysToken: string + sysToken: string; /** * @description A helper that allows to describe a relationship attribute. It receives the shape of a relationship plus the foreignKey name to make it mandatory in the resulting type. * @type array | undefined @@ -3458,39 +3477,39 @@ export type UserEvent = { /** * @type number */ - created: number + created: number; /** * @type number */ - createdAt: number + createdAt: number; /** * @type string */ - teamId: string + teamId: string; /** * @type string */ - role: TeamsRoleEnum + role: TeamsRoleEnum; /** * @type boolean */ - confirmed: boolean + confirmed: boolean; /** * @type number */ - confirmedAt: number + confirmedAt: number; /** * @type number | undefined */ - accessRequestedAt?: number | undefined + accessRequestedAt?: number | undefined; /** * @type array | undefined */ - teamRoles?: TeamsTeamRolesEnum[] | undefined + teamRoles?: TeamsTeamRolesEnum[] | undefined; /** * @type array | undefined */ - teamPermissions?: TeamsTeamPermissionsEnum[] | undefined + teamPermissions?: TeamsTeamPermissionsEnum[] | undefined; /** * @type object | undefined */ @@ -3499,67 +3518,67 @@ export type UserEvent = { /** * @type string */ - origin: JoinedFromOriginEnum + origin: JoinedFromOriginEnum; /** * @type string | undefined */ - commitId?: string | undefined + commitId?: string | undefined; /** * @type string | undefined */ - repoId?: string | undefined + repoId?: string | undefined; /** * @type string | undefined */ - repoPath?: string | undefined - gitUserId?: (string | number) | undefined + repoPath?: string | undefined; + gitUserId?: (string | number) | undefined; /** * @type string | undefined */ - gitUserLogin?: string | undefined + gitUserLogin?: string | undefined; /** * @type string | undefined */ - ssoUserId?: string | undefined + ssoUserId?: string | undefined; /** * @type number | undefined */ - ssoConnectedAt?: number | undefined + ssoConnectedAt?: number | undefined; /** * @type string | undefined */ - idpUserId?: string | undefined + idpUserId?: string | undefined; /** * @type string | undefined */ - dsyncUserId?: string | undefined + dsyncUserId?: string | undefined; /** * @type number | undefined */ - dsyncConnectedAt?: number | undefined + dsyncConnectedAt?: number | undefined; } - | undefined + | undefined; }[] - | undefined + | undefined; /** * @description Introduced 2022-04-12 An array of teamIds (for trial teams created after 2022-04-01), created by the user in question. Used in determining whether the team has a trial available in utils/api-teams/user-has-trial-available.ts. * @type array | undefined */ - trialTeamIds?: string[] | undefined + trialTeamIds?: string[] | undefined; /** * @description Introduced 2022-04-19 Number of maximum trials to allocate to a user. When undefined, defaults to MAX_TRIALS in utils/api-teams/user-has-trial-available.ts. This is set to trialTeamIds + 1 by services/api-backoffice/src/handlers/add-additional-trial.ts. * @type number | undefined */ - maxTrials?: number | undefined + maxTrials?: number | undefined; /** * @description Deprecated on 2022-04-12 in favor of trialTeamIds and using utils/api-teams/user-has-trial-available.ts. * @type string | undefined */ - trialTeamId?: string | undefined + trialTeamId?: string | undefined; /** * @type string */ - type: NewOwnerTypeEnum + type: NewOwnerTypeEnum; /** * @description Contains the timestamps when a user was notified about their usage * @type object @@ -3569,13 +3588,13 @@ export type UserEvent = { /** * @type number */ - warningAt?: (number | null) | undefined + warningAt?: (number | null) | undefined; /** * @type number */ - blockingAt?: (number | null) | undefined + blockingAt?: (number | null) | undefined; } | null) - | undefined + | undefined; /** * @type object | undefined */ @@ -3589,17 +3608,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number + currentThreshold: number; /** * @type number */ - warningAt?: (number | null) | undefined + warningAt?: (number | null) | undefined; /** * @type number */ - blockedAt?: (number | null) | undefined + blockedAt?: (number | null) | undefined; } - | undefined + | undefined; /** * @type object | undefined */ @@ -3608,17 +3627,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number + currentThreshold: number; /** * @type number */ - warningAt?: (number | null) | undefined + warningAt?: (number | null) | undefined; /** * @type number */ - blockedAt?: (number | null) | undefined + blockedAt?: (number | null) | undefined; } - | undefined + | undefined; /** * @type object | undefined */ @@ -3627,17 +3646,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number + currentThreshold: number; /** * @type number */ - warningAt?: (number | null) | undefined + warningAt?: (number | null) | undefined; /** * @type number */ - blockedAt?: (number | null) | undefined + blockedAt?: (number | null) | undefined; } - | undefined + | undefined; /** * @type object | undefined */ @@ -3646,17 +3665,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number + currentThreshold: number; /** * @type number */ - warningAt?: (number | null) | undefined + warningAt?: (number | null) | undefined; /** * @type number */ - blockedAt?: (number | null) | undefined + blockedAt?: (number | null) | undefined; } - | undefined + | undefined; /** * @type object | undefined */ @@ -3665,17 +3684,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number + currentThreshold: number; /** * @type number */ - warningAt?: (number | null) | undefined + warningAt?: (number | null) | undefined; /** * @type number */ - blockedAt?: (number | null) | undefined + blockedAt?: (number | null) | undefined; } - | undefined + | undefined; /** * @type object | undefined */ @@ -3684,17 +3703,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number + currentThreshold: number; /** * @type number */ - warningAt?: (number | null) | undefined + warningAt?: (number | null) | undefined; /** * @type number */ - blockedAt?: (number | null) | undefined + blockedAt?: (number | null) | undefined; } - | undefined + | undefined; /** * @type object | undefined */ @@ -3703,17 +3722,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number + currentThreshold: number; /** * @type number */ - warningAt?: (number | null) | undefined + warningAt?: (number | null) | undefined; /** * @type number */ - blockedAt?: (number | null) | undefined + blockedAt?: (number | null) | undefined; } - | undefined + | undefined; /** * @type object | undefined */ @@ -3722,17 +3741,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number + currentThreshold: number; /** * @type number */ - warningAt?: (number | null) | undefined + warningAt?: (number | null) | undefined; /** * @type number */ - blockedAt?: (number | null) | undefined + blockedAt?: (number | null) | undefined; } - | undefined + | undefined; /** * @type object | undefined */ @@ -3741,17 +3760,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number + currentThreshold: number; /** * @type number */ - warningAt?: (number | null) | undefined + warningAt?: (number | null) | undefined; /** * @type number */ - blockedAt?: (number | null) | undefined + blockedAt?: (number | null) | undefined; } - | undefined + | undefined; /** * @type object | undefined */ @@ -3760,17 +3779,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number + currentThreshold: number; /** * @type number */ - warningAt?: (number | null) | undefined + warningAt?: (number | null) | undefined; /** * @type number */ - blockedAt?: (number | null) | undefined + blockedAt?: (number | null) | undefined; } - | undefined + | undefined; /** * @type object | undefined */ @@ -3779,17 +3798,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number + currentThreshold: number; /** * @type number */ - warningAt?: (number | null) | undefined + warningAt?: (number | null) | undefined; /** * @type number */ - blockedAt?: (number | null) | undefined + blockedAt?: (number | null) | undefined; } - | undefined + | undefined; /** * @type object | undefined */ @@ -3798,17 +3817,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number + currentThreshold: number; /** * @type number */ - warningAt?: (number | null) | undefined + warningAt?: (number | null) | undefined; /** * @type number */ - blockedAt?: (number | null) | undefined + blockedAt?: (number | null) | undefined; } - | undefined + | undefined; /** * @type object | undefined */ @@ -3817,17 +3836,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number + currentThreshold: number; /** * @type number */ - warningAt?: (number | null) | undefined + warningAt?: (number | null) | undefined; /** * @type number */ - blockedAt?: (number | null) | undefined + blockedAt?: (number | null) | undefined; } - | undefined + | undefined; /** * @type object | undefined */ @@ -3836,17 +3855,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number + currentThreshold: number; /** * @type number */ - warningAt?: (number | null) | undefined + warningAt?: (number | null) | undefined; /** * @type number */ - blockedAt?: (number | null) | undefined + blockedAt?: (number | null) | undefined; } - | undefined + | undefined; /** * @type object | undefined */ @@ -3855,17 +3874,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number + currentThreshold: number; /** * @type number */ - warningAt?: (number | null) | undefined + warningAt?: (number | null) | undefined; /** * @type number */ - blockedAt?: (number | null) | undefined + blockedAt?: (number | null) | undefined; } - | undefined + | undefined; /** * @type object | undefined */ @@ -3874,17 +3893,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number + currentThreshold: number; /** * @type number */ - warningAt?: (number | null) | undefined + warningAt?: (number | null) | undefined; /** * @type number */ - blockedAt?: (number | null) | undefined + blockedAt?: (number | null) | undefined; } - | undefined + | undefined; /** * @type object | undefined */ @@ -3893,17 +3912,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number + currentThreshold: number; /** * @type number */ - warningAt?: (number | null) | undefined + warningAt?: (number | null) | undefined; /** * @type number */ - blockedAt?: (number | null) | undefined + blockedAt?: (number | null) | undefined; } - | undefined + | undefined; /** * @type object | undefined */ @@ -3912,17 +3931,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number + currentThreshold: number; /** * @type number */ - warningAt?: (number | null) | undefined + warningAt?: (number | null) | undefined; /** * @type number */ - blockedAt?: (number | null) | undefined + blockedAt?: (number | null) | undefined; } - | undefined + | undefined; /** * @type object | undefined */ @@ -3931,17 +3950,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number + currentThreshold: number; /** * @type number */ - warningAt?: (number | null) | undefined + warningAt?: (number | null) | undefined; /** * @type number */ - blockedAt?: (number | null) | undefined + blockedAt?: (number | null) | undefined; } - | undefined + | undefined; /** * @type object | undefined */ @@ -3950,17 +3969,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number + currentThreshold: number; /** * @type number */ - warningAt?: (number | null) | undefined + warningAt?: (number | null) | undefined; /** * @type number */ - blockedAt?: (number | null) | undefined + blockedAt?: (number | null) | undefined; } - | undefined + | undefined; /** * @type object | undefined */ @@ -3969,17 +3988,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number + currentThreshold: number; /** * @type number */ - warningAt?: (number | null) | undefined + warningAt?: (number | null) | undefined; /** * @type number */ - blockedAt?: (number | null) | undefined + blockedAt?: (number | null) | undefined; } - | undefined + | undefined; /** * @type object | undefined */ @@ -3988,17 +4007,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number + currentThreshold: number; /** * @type number */ - warningAt?: (number | null) | undefined + warningAt?: (number | null) | undefined; /** * @type number */ - blockedAt?: (number | null) | undefined + blockedAt?: (number | null) | undefined; } - | undefined + | undefined; /** * @type object | undefined */ @@ -4007,17 +4026,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number + currentThreshold: number; /** * @type number */ - warningAt?: (number | null) | undefined + warningAt?: (number | null) | undefined; /** * @type number */ - blockedAt?: (number | null) | undefined + blockedAt?: (number | null) | undefined; } - | undefined + | undefined; /** * @type object | undefined */ @@ -4026,17 +4045,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number + currentThreshold: number; /** * @type number */ - warningAt?: (number | null) | undefined + warningAt?: (number | null) | undefined; /** * @type number */ - blockedAt?: (number | null) | undefined + blockedAt?: (number | null) | undefined; } - | undefined + | undefined; /** * @type object | undefined */ @@ -4045,17 +4064,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number + currentThreshold: number; /** * @type number */ - warningAt?: (number | null) | undefined + warningAt?: (number | null) | undefined; /** * @type number */ - blockedAt?: (number | null) | undefined + blockedAt?: (number | null) | undefined; } - | undefined + | undefined; /** * @type object | undefined */ @@ -4064,17 +4083,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number + currentThreshold: number; /** * @type number */ - warningAt?: (number | null) | undefined + warningAt?: (number | null) | undefined; /** * @type number */ - blockedAt?: (number | null) | undefined + blockedAt?: (number | null) | undefined; } - | undefined + | undefined; /** * @type object | undefined */ @@ -4083,17 +4102,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number + currentThreshold: number; /** * @type number */ - warningAt?: (number | null) | undefined + warningAt?: (number | null) | undefined; /** * @type number */ - blockedAt?: (number | null) | undefined + blockedAt?: (number | null) | undefined; } - | undefined + | undefined; /** * @type object | undefined */ @@ -4102,17 +4121,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number + currentThreshold: number; /** * @type number */ - warningAt?: (number | null) | undefined + warningAt?: (number | null) | undefined; /** * @type number */ - blockedAt?: (number | null) | undefined + blockedAt?: (number | null) | undefined; } - | undefined + | undefined; /** * @type object | undefined */ @@ -4121,17 +4140,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number + currentThreshold: number; /** * @type number */ - warningAt?: (number | null) | undefined + warningAt?: (number | null) | undefined; /** * @type number */ - blockedAt?: (number | null) | undefined + blockedAt?: (number | null) | undefined; } - | undefined + | undefined; /** * @type object | undefined */ @@ -4140,17 +4159,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number + currentThreshold: number; /** * @type number */ - warningAt?: (number | null) | undefined + warningAt?: (number | null) | undefined; /** * @type number */ - blockedAt?: (number | null) | undefined + blockedAt?: (number | null) | undefined; } - | undefined + | undefined; /** * @type object | undefined */ @@ -4159,17 +4178,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number + currentThreshold: number; /** * @type number */ - warningAt?: (number | null) | undefined + warningAt?: (number | null) | undefined; /** * @type number */ - blockedAt?: (number | null) | undefined + blockedAt?: (number | null) | undefined; } - | undefined + | undefined; /** * @type object | undefined */ @@ -4178,17 +4197,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number + currentThreshold: number; /** * @type number */ - warningAt?: (number | null) | undefined + warningAt?: (number | null) | undefined; /** * @type number */ - blockedAt?: (number | null) | undefined + blockedAt?: (number | null) | undefined; } - | undefined + | undefined; /** * @type object | undefined */ @@ -4197,17 +4216,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number + currentThreshold: number; /** * @type number */ - warningAt?: (number | null) | undefined + warningAt?: (number | null) | undefined; /** * @type number */ - blockedAt?: (number | null) | undefined + blockedAt?: (number | null) | undefined; } - | undefined + | undefined; /** * @type object | undefined */ @@ -4216,17 +4235,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number + currentThreshold: number; /** * @type number */ - warningAt?: (number | null) | undefined + warningAt?: (number | null) | undefined; /** * @type number */ - blockedAt?: (number | null) | undefined + blockedAt?: (number | null) | undefined; } - | undefined + | undefined; /** * @type object | undefined */ @@ -4235,17 +4254,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number + currentThreshold: number; /** * @type number */ - warningAt?: (number | null) | undefined + warningAt?: (number | null) | undefined; /** * @type number */ - blockedAt?: (number | null) | undefined + blockedAt?: (number | null) | undefined; } - | undefined + | undefined; /** * @type object | undefined */ @@ -4254,17 +4273,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number + currentThreshold: number; /** * @type number */ - warningAt?: (number | null) | undefined + warningAt?: (number | null) | undefined; /** * @type number */ - blockedAt?: (number | null) | undefined + blockedAt?: (number | null) | undefined; } - | undefined + | undefined; /** * @type object | undefined */ @@ -4273,17 +4292,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number + currentThreshold: number; /** * @type number */ - warningAt?: (number | null) | undefined + warningAt?: (number | null) | undefined; /** * @type number */ - blockedAt?: (number | null) | undefined + blockedAt?: (number | null) | undefined; } - | undefined + | undefined; /** * @type object | undefined */ @@ -4292,17 +4311,17 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number + currentThreshold: number; /** * @type number */ - warningAt?: (number | null) | undefined + warningAt?: (number | null) | undefined; /** * @type number */ - blockedAt?: (number | null) | undefined + blockedAt?: (number | null) | undefined; } - | undefined + | undefined; /** * @type object | undefined */ @@ -4311,19 +4330,19 @@ export type UserEvent = { /** * @type number */ - currentThreshold: number + currentThreshold: number; /** * @type number */ - warningAt?: (number | null) | undefined + warningAt?: (number | null) | undefined; /** * @type number */ - blockedAt?: (number | null) | undefined + blockedAt?: (number | null) | undefined; } - | undefined + | undefined; } - | undefined + | undefined; /** * @description Contains the timestamps for usage summary emails. * @type object | undefined @@ -4334,47 +4353,47 @@ export type UserEvent = { * @description Tracks if the first time on-demand overage email has been sent. * @type number | undefined */ - firstTimeOnDemandNotificationSentAt?: number | undefined + firstTimeOnDemandNotificationSentAt?: number | undefined; /** * @description Tracks the last time we sent a daily summary email. * @type number | undefined */ - dailyOverageSummaryEmailSentAt?: number | undefined + dailyOverageSummaryEmailSentAt?: number | undefined; /** * @description Tracks the last time we sent a weekly summary email. * @type number | undefined */ - weeklyOverageSummaryEmailSentAt?: number | undefined + weeklyOverageSummaryEmailSentAt?: number | undefined; /** * @description Tracks when the overage summary email will stop auto-sending. We currently lock the user into email for a month after the last on-demand usage. * @type number | undefined */ - overageSummaryExpiresAt?: number | undefined + overageSummaryExpiresAt?: number | undefined; /** * @description Tracks the last time we sent a increased on-demand email. * @type number | undefined */ - increasedOnDemandEmailSentAt?: number | undefined + increasedOnDemandEmailSentAt?: number | undefined; /** * @description Tracks the last time we attempted to send an increased on-demand email. This check is to limit the number of attempts per day. * @type number | undefined */ - increasedOnDemandEmailAttemptedAt?: number | undefined + increasedOnDemandEmailAttemptedAt?: number | undefined; } - | undefined + | undefined; /** * @type string */ - username: string + username: string; /** * @type number */ - updatedAt: number + updatedAt: number; /** * @description Whether the Vercel Toolbar is enabled for preview deployments. * @type string | undefined */ - enablePreviewFeedback?: NewOwnerEnablePreviewFeedbackEnum | undefined + enablePreviewFeedback?: NewOwnerEnablePreviewFeedbackEnum | undefined; /** * @description Information about which features are blocked for a user. Blocks can be either soft (the user can still access the feature, but with a warning, e.g. prompting an upgrade) or hard (the user cannot access the feature at all). * @type object | undefined @@ -4389,25 +4408,25 @@ export type UserEvent = { /** * @type number */ - updatedAt: number + updatedAt: number; /** * @type number | undefined */ - blockedFrom?: number | undefined + blockedFrom?: number | undefined; /** * @type number | undefined */ - blockedUntil?: number | undefined + blockedUntil?: number | undefined; /** * @type string */ - blockReason: WebAnalyticsBlockReasonEnum + blockReason: WebAnalyticsBlockReasonEnum; /** * @type number | undefined */ - graceEmailSentAt?: number | undefined + graceEmailSentAt?: number | undefined; } - | undefined + | undefined; /** * @description A soft block indicates a temporary pause in data collection (ex limit exceeded for the current cycle) A hard block indicates a stoppage in data collection that requires manual intervention (ex upgrading a pro trial) * @type object | undefined @@ -4417,25 +4436,25 @@ export type UserEvent = { /** * @type number */ - updatedAt: number + updatedAt: number; /** * @type number | undefined */ - blockedFrom?: number | undefined + blockedFrom?: number | undefined; /** * @type number | undefined */ - blockedUntil?: number | undefined + blockedUntil?: number | undefined; /** * @type string */ - blockReason: MonitoringBlockReasonEnum + blockReason: MonitoringBlockReasonEnum; /** * @type string */ - blockType: MonitoringBlockTypeEnum + blockType: MonitoringBlockTypeEnum; } - | undefined + | undefined; /** * @type object | undefined */ @@ -4444,25 +4463,25 @@ export type UserEvent = { /** * @type number */ - updatedAt: number + updatedAt: number; /** * @type number | undefined */ - blockedFrom?: number | undefined + blockedFrom?: number | undefined; /** * @type number | undefined */ - blockedUntil?: number | undefined + blockedUntil?: number | undefined; /** * @type string */ - blockReason: ObservabilityPlusBlockReasonEnum + blockReason: ObservabilityPlusBlockReasonEnum; /** * @type string */ - blockType: ObservabilityPlusBlockTypeEnum + blockType: ObservabilityPlusBlockTypeEnum; } - | undefined + | undefined; /** * @type object | undefined */ @@ -4471,21 +4490,21 @@ export type UserEvent = { /** * @type number */ - updatedAt: number + updatedAt: number; /** * @type number | undefined */ - blockedFrom?: number | undefined + blockedFrom?: number | undefined; /** * @type number | undefined */ - blockedUntil?: number | undefined + blockedUntil?: number | undefined; /** * @type string */ - blockReason: DataCacheBlockReasonEnum + blockReason: DataCacheBlockReasonEnum; } - | undefined + | undefined; /** * @type object | undefined */ @@ -4494,21 +4513,21 @@ export type UserEvent = { /** * @type number */ - updatedAt: number + updatedAt: number; /** * @type number | undefined */ - blockedFrom?: number | undefined + blockedFrom?: number | undefined; /** * @type number | undefined */ - blockedUntil?: number | undefined + blockedUntil?: number | undefined; /** * @type string */ - blockReason: ImageOptimizationTransformationBlockReasonEnum + blockReason: ImageOptimizationTransformationBlockReasonEnum; } - | undefined + | undefined; /** * @type object | undefined */ @@ -4517,21 +4536,21 @@ export type UserEvent = { /** * @type number */ - updatedAt: number + updatedAt: number; /** * @type number | undefined */ - blockedFrom?: number | undefined + blockedFrom?: number | undefined; /** * @type number | undefined */ - blockedUntil?: number | undefined + blockedUntil?: number | undefined; /** * @type string */ - blockReason: SourceImagesBlockReasonEnum + blockReason: SourceImagesBlockReasonEnum; } - | undefined + | undefined; /** * @type object | undefined */ @@ -4540,25 +4559,25 @@ export type UserEvent = { /** * @type number */ - updatedAt: number + updatedAt: number; /** * @type number | undefined */ - blockedFrom?: number | undefined + blockedFrom?: number | undefined; /** * @type number | undefined */ - blockedUntil?: number | undefined + blockedUntil?: number | undefined; /** * @type string */ - blockReason: BlobBlockReasonEnum + blockReason: BlobBlockReasonEnum; /** * @type string */ - overageReason: BlobOverageReasonEnum + overageReason: BlobOverageReasonEnum; } - | undefined + | undefined; /** * @type object | undefined */ @@ -4567,25 +4586,25 @@ export type UserEvent = { /** * @type number */ - updatedAt: number + updatedAt: number; /** * @type number | undefined */ - blockedFrom?: number | undefined + blockedFrom?: number | undefined; /** * @type number | undefined */ - blockedUntil?: number | undefined + blockedUntil?: number | undefined; /** * @type string */ - blockReason: PostgresBlockReasonEnum + blockReason: PostgresBlockReasonEnum; /** * @type string */ - overageReason: PostgresOverageReasonEnum + overageReason: PostgresOverageReasonEnum; } - | undefined + | undefined; /** * @type object | undefined */ @@ -4594,35 +4613,35 @@ export type UserEvent = { /** * @type number */ - updatedAt: number + updatedAt: number; /** * @type number | undefined */ - blockedFrom?: number | undefined + blockedFrom?: number | undefined; /** * @type number | undefined */ - blockedUntil?: number | undefined + blockedUntil?: number | undefined; /** * @type string */ - blockReason: RedisBlockReasonEnum + blockReason: RedisBlockReasonEnum; /** * @type string */ - overageReason: RedisOverageReasonEnum + overageReason: RedisOverageReasonEnum; } - | undefined + | undefined; } - | undefined + | undefined; /** * @type string | undefined */ - defaultTeamId?: string | undefined + defaultTeamId?: string | undefined; /** * @type string */ - version: NewOwnerVersionEnum + version: NewOwnerVersionEnum; /** * @description An archive of information about the Northstar migration, derived from the old (deprecated) property, `northstarMigrationEvents`. * @type object | undefined @@ -4633,44 +4652,44 @@ export type UserEvent = { * @description The ID of the team we created for this user. * @type string */ - teamId: string + teamId: string; /** * @description The number of projects migrated for this user. * @type number */ - projects: number + projects: number; /** * @description The number of stores migrated for this user. * @type number */ - stores: number + stores: number; /** * @description The number of integration configurations migrated for this user. * @type number */ - integrationConfigurations: number + integrationConfigurations: number; /** * @description The number of integration clients migrated for this user. * @type number */ - integrationClients: number + integrationClients: number; /** * @description The migration start time timestamp for this user. * @type number */ - startTime: number + startTime: number; /** * @description The migration end time timestamp for this user. * @type number */ - endTime: number + endTime: number; } - | undefined + | undefined; /** * @description The salesforce opportunity ID that this user is linked to. This is used to automatically associate a team of the user\'s choosing with the opportunity. * @type string | undefined */ - opportunityId?: string | undefined + opportunityId?: string | undefined; /** * @description MFA configuration. When enabled, the user will be required to provide a second factor of authentication when logging in. * @type object | undefined @@ -4680,15 +4699,15 @@ export type UserEvent = { /** * @type boolean */ - enabled: boolean + enabled: boolean; /** * @type number | undefined */ - enabledAt?: number | undefined + enabledAt?: number | undefined; /** * @type array */ - recoveryCodes: string[] + recoveryCodes: string[]; /** * @type object | undefined */ @@ -4697,16 +4716,16 @@ export type UserEvent = { /** * @type string */ - secret: string + secret: string; /** * @type number */ - createdAt: number + createdAt: number; } - | undefined + | undefined; } - | undefined - } | null + | undefined; + } | null; } | { /** @@ -4716,132 +4735,132 @@ export type UserEvent = { /** * @type string */ - integrationId: string + integrationId: string; /** * @type string */ - configurationId: string + configurationId: string; /** * @type string */ - integrationSlug: string + integrationSlug: string; /** * @type string | undefined */ - integrationName?: string | undefined - }[] + integrationName?: string | undefined; + }[]; /** * @type string */ - ownerId: string + ownerId: string; } | { /** * @type string */ - integrationId: string + integrationId: string; /** * @type string */ - configurationId: string + configurationId: string; /** * @type string */ - integrationSlug: string + integrationSlug: string; /** * @type string */ - integrationName: string + integrationName: string; /** * @type string */ - ownerId: string + ownerId: string; /** * @type string */ - billingPlanId: string + billingPlanId: string; /** * @type string | undefined */ - billingPlanName?: string | undefined + billingPlanName?: string | undefined; } | { /** * @type string */ - integrationId: string + integrationId: string; /** * @type string */ - configurationId: string + configurationId: string; /** * @type string */ - integrationSlug: string + integrationSlug: string; /** * @type string */ - integrationName: string + integrationName: string; /** * @type string */ - ownerId: string + ownerId: string; /** * @type array | undefined */ - projectIds?: string[] | undefined + projectIds?: string[] | undefined; } | { /** * @type string */ - projectId: string + projectId: string; /** * @type string */ - fromDeploymentId: string + fromDeploymentId: string; /** * @type string */ - toDeploymentId: string + toDeploymentId: string; /** * @type string */ - projectName: string + projectName: string; /** * @type string | undefined */ - reason?: string | undefined + reason?: string | undefined; } | { /** * @type string */ - integrationId: string + integrationId: string; /** * @type string */ - configurationId: string + configurationId: string; /** * @type string */ - integrationSlug: string + integrationSlug: string; /** * @type string */ - integrationName: string + integrationName: string; /** * @type string */ - ownerId: string + ownerId: string; /** * @type array | undefined */ - projectIds?: string[] | undefined + projectIds?: string[] | undefined; /** * @type array */ - confirmedScopes: string[] + confirmedScopes: string[]; } | { /** @@ -4856,16 +4875,16 @@ export type UserEvent = { /** * @type string */ - name: BrowserNameEnum - } + name: BrowserNameEnum; + }; /** * @type string */ - ua: string + ua: string; /** * @type string */ - program: string + program: string; /** * @type object */ @@ -4873,10 +4892,10 @@ export type UserEvent = { /** * @type string */ - name: OsNameEnum - } + name: OsNameEnum; + }; } - | undefined + | undefined; /** * @type object */ @@ -4894,10 +4913,10 @@ export type UserEvent = { /** * @type string */ - en: string - } + en: string; + }; } - | undefined + | undefined; /** * @type object */ @@ -4909,9 +4928,9 @@ export type UserEvent = { /** * @type string */ - en: string - } - } + en: string; + }; + }; /** * @type object | undefined */ @@ -4924,112 +4943,112 @@ export type UserEvent = { /** * @type string */ - en: string - } + en: string; + }; } - | undefined + | undefined; /** * @type string | undefined */ - regionName?: string | undefined + regionName?: string | undefined; } | null) - | undefined + | undefined; /** * @type boolean */ - viaGithub: boolean + viaGithub: boolean; /** * @type boolean */ - viaGitlab: boolean + viaGitlab: boolean; /** * @type boolean */ - viaBitbucket: boolean + viaBitbucket: boolean; /** * @type boolean */ - viaGoogle: boolean + viaGoogle: boolean; /** * @type boolean */ - viaSamlSso: boolean + viaSamlSso: boolean; /** * @type boolean */ - viaPasskey: boolean + viaPasskey: boolean; /** * @type string | undefined */ - ssoType?: string | undefined + ssoType?: string | undefined; /** * @type string | undefined */ - env?: string | undefined + env?: string | undefined; /** * @type string | undefined */ - os?: string | undefined + os?: string | undefined; /** * @type string | undefined */ - username?: string | undefined + username?: string | undefined; } | { /** * @type string */ - logDrainUrl: string | null + logDrainUrl: string | null; /** * @type string | undefined */ - integrationName?: string | undefined + integrationName?: string | undefined; } | { /** * @type string */ - logDrainUrl: string + logDrainUrl: string; /** * @type string | undefined */ - integrationName?: string | undefined + integrationName?: string | undefined; } | { /** * @type string */ - drainUrl: string | null + drainUrl: string | null; /** * @type string | undefined */ - integrationName?: string | undefined + integrationName?: string | undefined; } | { /** * @type string */ - projectId: string + projectId: string; /** * @type string */ - toDeploymentId: string + toDeploymentId: string; /** * @type string */ - projectName: string + projectName: string; } | { /** * @type string */ - projectName: string + projectName: string; } | { /** * @type string */ - plan: string + plan: string; /** * @type object | undefined */ @@ -5039,15 +5058,15 @@ export type UserEvent = { /** * @type string */ - role: RoleEnum + role: RoleEnum; /** * @type boolean */ - confirmed: boolean + confirmed: boolean; /** * @type number | undefined */ - confirmedAt?: number | undefined + confirmedAt?: number | undefined; /** * @type object | undefined */ @@ -5056,89 +5075,89 @@ export type UserEvent = { /** * @type string */ - origin: JoinedFromOriginEnum2 + origin: JoinedFromOriginEnum2; /** * @type string | undefined */ - commitId?: string | undefined + commitId?: string | undefined; /** * @type string | undefined */ - repoId?: string | undefined + repoId?: string | undefined; /** * @type string | undefined */ - repoPath?: string | undefined - gitUserId?: (string | number) | undefined + repoPath?: string | undefined; + gitUserId?: (string | number) | undefined; /** * @type string | undefined */ - gitUserLogin?: string | undefined + gitUserLogin?: string | undefined; /** * @type string | undefined */ - ssoUserId?: string | undefined + ssoUserId?: string | undefined; /** * @type number | undefined */ - ssoConnectedAt?: number | undefined + ssoConnectedAt?: number | undefined; /** * @type string | undefined */ - idpUserId?: string | undefined + idpUserId?: string | undefined; /** * @type string | undefined */ - dsyncUserId?: string | undefined + dsyncUserId?: string | undefined; /** * @type number | undefined */ - dsyncConnectedAt?: number | undefined + dsyncConnectedAt?: number | undefined; } - | undefined - } + | undefined; + }; } - | undefined + | undefined; /** * @type string | undefined */ - priorPlan?: string | undefined + priorPlan?: string | undefined; /** * @type boolean | undefined */ - isDowngrade?: boolean | undefined + isDowngrade?: boolean | undefined; /** * @type string | undefined */ - userAgent?: string | undefined + userAgent?: string | undefined; /** * @type boolean | undefined */ - isReactivate?: boolean | undefined + isReactivate?: boolean | undefined; /** * @type boolean | undefined */ - isTrialUpgrade?: boolean | undefined + isTrialUpgrade?: boolean | undefined; } | { /** * @type string */ - projectName: string + projectName: string; /** * @type string */ - branch: string + branch: string; } | { /** * @type string | undefined */ - projectName?: string | undefined + projectName?: string | undefined; /** * @type string */ - projectId: string + projectId: string; /** * @type object */ @@ -5146,32 +5165,32 @@ export type UserEvent = { /** * @type string */ - id: string + id: string; /** * @type number */ - canceledAt?: (number | null) | undefined + canceledAt?: (number | null) | undefined; /** * @type number */ - disabledAt: number + disabledAt: number; /** * @type number */ - enabledAt: number + enabledAt: number; /** * @type number | undefined */ - paidAt?: number | undefined + paidAt?: number | undefined; /** * @type number */ - sampleRatePercent?: (number | null) | undefined + sampleRatePercent?: (number | null) | undefined; /** * @type number */ - spendLimitInDollars?: (number | null) | undefined - } | null + spendLimitInDollars?: (number | null) | undefined; + } | null; /** * @type object */ @@ -5179,152 +5198,152 @@ export type UserEvent = { /** * @type string */ - id: string + id: string; /** * @type number */ - canceledAt?: (number | null) | undefined + canceledAt?: (number | null) | undefined; /** * @type number */ - disabledAt: number + disabledAt: number; /** * @type number */ - enabledAt: number + enabledAt: number; /** * @type number | undefined */ - paidAt?: number | undefined + paidAt?: number | undefined; /** * @type number */ - sampleRatePercent?: (number | null) | undefined + sampleRatePercent?: (number | null) | undefined; /** * @type number */ - spendLimitInDollars?: (number | null) | undefined - } | null + spendLimitInDollars?: (number | null) | undefined; + } | null; } | { /** * @type string | undefined */ - projectName?: string | undefined + projectName?: string | undefined; /** * @type string */ - projectId: string + projectId: string; /** * @type object | undefined */ projectAnalytics?: | { - [key: string]: unknown + [key: string]: unknown; } - | undefined + | undefined; /** * @type object */ prevProjectAnalytics?: | ({ - [key: string]: unknown + [key: string]: unknown; } | null) - | undefined + | undefined; } | { /** * @type string | undefined */ - projectName?: string | undefined + projectName?: string | undefined; /** * @type string */ - projectId: string + projectId: string; } | { /** * @type string */ - projectName: string + projectName: string; ssoProtection: | ( | { /** * @type string */ - deploymentType: SsoProtectionDeploymentTypeEnum + deploymentType: SsoProtectionDeploymentTypeEnum; } | PayloadSsoProtectionEnum ) - | null + | null; oldSsoProtection: | ( | { /** * @type string */ - deploymentType: OldSsoProtectionDeploymentTypeEnum + deploymentType: OldSsoProtectionDeploymentTypeEnum; } | PayloadOldSsoProtectionEnum ) - | null + | null; } | { /** * @type string */ - projectName: string + projectName: string; passwordProtection: | ( | { /** * @type string */ - deploymentType: PasswordProtectionDeploymentTypeEnum + deploymentType: PasswordProtectionDeploymentTypeEnum; } | PayloadPasswordProtectionEnum ) - | null + | null; oldPasswordProtection: | ( | { /** * @type string */ - deploymentType: OldPasswordProtectionDeploymentTypeEnum + deploymentType: OldPasswordProtectionDeploymentTypeEnum; } | PayloadOldPasswordProtectionEnum ) - | null + | null; } | { /** * @type string */ - projectName: string + projectName: string; /** * @type string */ - trustedIps?: (PayloadTrustedIpsEnum | null) | undefined + trustedIps?: (PayloadTrustedIpsEnum | null) | undefined; /** * @type string */ - oldTrustedIps?: (PayloadOldTrustedIpsEnum | null) | undefined + oldTrustedIps?: (PayloadOldTrustedIpsEnum | null) | undefined; /** * @type array */ - addedAddresses?: (string[] | null) | undefined + addedAddresses?: (string[] | null) | undefined; /** * @type array */ - removedAddresses?: (string[] | null) | undefined + removedAddresses?: (string[] | null) | undefined; } | { /** * @type string */ - projectName: string + projectName: string; /** * @type object */ @@ -5337,10 +5356,10 @@ export type UserEvent = { /** * @type string */ - value: string - }[] + value: string; + }[]; } | null) - | undefined + | undefined; /** * @type object */ @@ -5353,30 +5372,30 @@ export type UserEvent = { /** * @type string */ - value: string - }[] + value: string; + }[]; } | null) - | undefined + | undefined; } | { /** * @type string */ - projectName: string + projectName: string; /** * @type string */ - action: PayloadActionEnum4 + action: PayloadActionEnum4; } | { /** * @type string */ - name: string + name: string; /** * @type string */ - ownerId: string + ownerId: string; } | { /** @@ -5386,12 +5405,12 @@ export type UserEvent = { /** * @type string */ - id: string + id: string; /** * @type string */ - name: string - } + name: string; + }; /** * @type object */ @@ -5399,33 +5418,33 @@ export type UserEvent = { /** * @type string */ - id: string + id: string; /** * @type string | undefined */ - name?: string | undefined + name?: string | undefined; /** * @type array */ oldConnectConfigurations: | { - envId: string | OldConnectConfigurationsEnvIdEnum + envId: string | OldConnectConfigurationsEnvIdEnum; /** * @type string */ - connectConfigurationId: string + connectConfigurationId: string; /** * @type string | undefined */ - dc?: string | undefined + dc?: string | undefined; /** * @type boolean */ - passive: boolean + passive: boolean; /** * @type boolean */ - buildsEnabled: boolean + buildsEnabled: boolean; /** * @type object | undefined */ @@ -5434,45 +5453,45 @@ export type UserEvent = { /** * @type array */ - subnetIds: string[] + subnetIds: string[]; /** * @type string */ - securityGroupId: string + securityGroupId: string; } - | undefined + | undefined; /** * @type number */ - createdAt: number + createdAt: number; /** * @type number */ - updatedAt: number + updatedAt: number; }[] - | null + | null; /** * @type array */ newConnectConfigurations: | { - envId: string | NewConnectConfigurationsEnvIdEnum + envId: string | NewConnectConfigurationsEnvIdEnum; /** * @type string */ - connectConfigurationId: string + connectConfigurationId: string; /** * @type string | undefined */ - dc?: string | undefined + dc?: string | undefined; /** * @type boolean */ - passive: boolean + passive: boolean; /** * @type boolean */ - buildsEnabled: boolean + buildsEnabled: boolean; /** * @type object | undefined */ @@ -5481,104 +5500,104 @@ export type UserEvent = { /** * @type array */ - subnetIds: string[] + subnetIds: string[]; /** * @type string */ - securityGroupId: string + securityGroupId: string; } - | undefined + | undefined; /** * @type number */ - createdAt: number + createdAt: number; /** * @type number */ - updatedAt: number + updatedAt: number; }[] - | null - } + | null; + }; } | { /** * @type string */ - projectId: string + projectId: string; } | { /** * @type string */ - source: string + source: string; /** * @type string */ - projectId: string + projectId: string; } | { /** * @type string */ - projectId: string + projectId: string; /** * @type string */ - projectName: string + projectName: string; } | { /** * @type string */ - projectId: string + projectId: string; /** * @type string */ - projectName: string + projectName: string; /** * @type number | undefined */ - newTargetPercentage?: number | undefined + newTargetPercentage?: number | undefined; } | { /** * @type string */ - gitProvider: string + gitProvider: string; /** * @type string */ - gitProviderGroupDescriptor: string + gitProviderGroupDescriptor: string; /** * @type string */ - gitScope: string + gitScope: string; } | { /** * @type number */ - instances: number + instances: number; /** * @type string */ - url: string + url: string; } | { /** * @type string */ - email: string + email: string; /** * @type boolean */ - verified: boolean + verified: boolean; } | { /** * @type string */ - email: string + email: string; } | { /** @@ -5588,12 +5607,12 @@ export type UserEvent = { /** * @type string */ - id: string + id: string; /** * @type string | undefined */ - name?: string | undefined - } + name?: string | undefined; + }; /** * @type object | undefined */ @@ -5602,9 +5621,9 @@ export type UserEvent = { /** * @type string */ - email: string + email: string; } - | undefined + | undefined; /** * @type object | undefined */ @@ -5613,9 +5632,9 @@ export type UserEvent = { /** * @type string */ - email: string + email: string; } - | undefined + | undefined; } | { /** @@ -5625,12 +5644,12 @@ export type UserEvent = { /** * @type string */ - id: string + id: string; /** * @type string | undefined */ - name?: string | undefined - } + name?: string | undefined; + }; /** * @type object */ @@ -5638,42 +5657,42 @@ export type UserEvent = { /** * @type string */ - email: string - } + email: string; + }; } | { /** * @type string */ - uid: string + uid: string; name: | string | { /** * @type string */ - name: string - } + name: string; + }; } | { /** * @type string */ - oldName: string + oldName: string; /** * @type string */ - newName: string + newName: string; /** * @type string | undefined */ - uid?: string | undefined + uid?: string | undefined; } | { /** * @type string */ - bio: string + bio: string; } | { /** @@ -5684,31 +5703,31 @@ export type UserEvent = { /** * @type number */ - min: number + min: number; /** * @type number */ - max: number - } - } + max: number; + }; + }; /** * @type number */ - min: number + min: number; /** * @type number */ - max: number + max: number; /** * @type string */ - url: string + url: string; } | { /** * @type string | undefined */ - webhookUrl?: string | undefined + webhookUrl?: string | undefined; } | { /** @@ -5720,68 +5739,68 @@ export type UserEvent = { * @description The budget type * @type string */ - type: BudgetTypeEnum + type: BudgetTypeEnum; /** * @description Budget amount * @type number */ - fixedBudget: number + fixedBudget: number; /** * @description Array of the last 3 months of spend data * @type array */ - previousSpend: number[] + previousSpend: number[]; /** * @description Array of 50, 75, 100 to keep track of notifications sent out * @type array */ - notifiedAt: number[] + notifiedAt: number[]; /** * @description Webhook id that corresponds to a webhook in Cosmos webhook collection * @type string | undefined */ - webhookId?: string | undefined + webhookId?: string | undefined; /** * @description Keep track if the webhook has been called for the month * @type boolean | undefined */ - webhookNotified?: boolean | undefined + webhookNotified?: boolean | undefined; /** * @description Date time when budget is created * @type number */ - createdAt: number + createdAt: number; /** * @description Date time when budget is updated last * @type number | undefined */ - updatedAt?: number | undefined + updatedAt?: number | undefined; /** * @description Is the budget currently active for a customer * @type boolean */ - isActive: boolean + isActive: boolean; /** * @description Should all projects be paused if budget is exceeded * @type boolean | undefined */ - pauseProjects?: boolean | undefined + pauseProjects?: boolean | undefined; /** * @description The acive pricing plan the team is billed with * @type string | undefined */ - pricingPlan?: BudgetPricingPlanEnum | undefined + pricingPlan?: BudgetPricingPlanEnum | undefined; /** * @description Partition key * @type string */ - teamId: string + teamId: string; /** * @description Sort key that needs to be unique per teamId * @type string */ - id: string - } + id: string; + }; } | { /** @@ -5797,101 +5816,101 @@ export type UserEvent = { * @description The budget type * @type string */ - type: BudgetItemTypeEnum + type: BudgetItemTypeEnum; /** * @description Budget amount * @type number */ - fixedBudget: number + fixedBudget: number; /** * @description Array of the last 3 months of spend data * @type array */ - previousSpend: number[] + previousSpend: number[]; /** * @description Array of 50, 75, 100 to keep track of notifications sent out * @type array */ - notifiedAt: number[] + notifiedAt: number[]; /** * @description Webhook id that corresponds to a webhook in Cosmos webhook collection * @type string | undefined */ - webhookId?: string | undefined + webhookId?: string | undefined; /** * @description Keep track if the webhook has been called for the month * @type boolean | undefined */ - webhookNotified?: boolean | undefined + webhookNotified?: boolean | undefined; /** * @description Date time when budget is created * @type number */ - createdAt: number + createdAt: number; /** * @description Date time when budget is updated last * @type number | undefined */ - updatedAt?: number | undefined + updatedAt?: number | undefined; /** * @description Is the budget currently active for a customer * @type boolean */ - isActive: boolean + isActive: boolean; /** * @description Should all projects be paused if budget is exceeded * @type boolean | undefined */ - pauseProjects?: boolean | undefined + pauseProjects?: boolean | undefined; /** * @description The acive pricing plan the team is billed with * @type string | undefined */ - pricingPlan?: BudgetItemPricingPlanEnum | undefined + pricingPlan?: BudgetItemPricingPlanEnum | undefined; /** * @description Partition key * @type string */ - teamId: string + teamId: string; /** * @description Sort key that needs to be unique per teamId * @type string */ - id: string - } - } + id: string; + }; + }; } | { /** * @type string */ - id: string + id: string; /** * @type string | undefined */ - name?: string | undefined + name?: string | undefined; /** * @type number | undefined */ - computeUnitsMax?: number | undefined + computeUnitsMax?: number | undefined; /** * @type number | undefined */ - computeUnitsMin?: number | undefined + computeUnitsMin?: number | undefined; /** * @type number | undefined */ - suspendTimeoutSeconds?: number | undefined + suspendTimeoutSeconds?: number | undefined; /** * @type string */ - type: PayloadTypeEnum2 + type: PayloadTypeEnum2; } | { /** * @type string */ - storeType: PayloadStoreTypeEnum + storeType: PayloadStoreTypeEnum; } | { /** @@ -5901,36 +5920,36 @@ export type UserEvent = { /** * @type string */ - name: string + name: string; /** * @type string */ - id: string - } + id: string; + }; /** * @type string | undefined */ - ownerId?: string | undefined + ownerId?: string | undefined; } | { /** * @type string */ - slug: string + slug: string; } | { /** * @type string */ - slug: string + slug: string; /** * @type string */ - teamId: string + teamId: string; /** * @type string */ - by: string + by: string; /** * @type array | undefined */ @@ -5939,23 +5958,23 @@ export type UserEvent = { /** * @type string */ - slug: string + slug: string; /** * @type string */ - description: string + description: string; }[] - | undefined + | undefined; } | { /** * @type string | undefined */ - directoryType?: string | undefined + directoryType?: string | undefined; /** * @type string | undefined */ - ssoType?: string | undefined + ssoType?: string | undefined; /** * @type object | undefined */ @@ -5964,29 +5983,29 @@ export type UserEvent = { /** * @type string */ - username: string + username: string; /** * @type string */ - email: string + email: string; } - | undefined + | undefined; /** * @type string | undefined */ - invitedEmail?: string | undefined + invitedEmail?: string | undefined; /** * @type string | undefined */ - invitationRole?: string | undefined + invitationRole?: string | undefined; /** * @type array | undefined */ - entitlements?: string[] | undefined + entitlements?: string[] | undefined; /** * @type string | undefined */ - invitedUid?: string | undefined + invitedUid?: string | undefined; } | { /** @@ -5997,53 +6016,53 @@ export type UserEvent = { /** * @type string */ - username: string + username: string; /** * @type string */ - email: string + email: string; } - | undefined + | undefined; /** * @type string | undefined */ - deletedUid?: string | undefined + deletedUid?: string | undefined; /** * @type string */ - githubUsername?: (string | null) | undefined + githubUsername?: (string | null) | undefined; /** * @type string */ - gitlabUsername?: (string | null) | undefined + gitlabUsername?: (string | null) | undefined; /** * @type string */ - bitbucketUsername?: (string | null) | undefined + bitbucketUsername?: (string | null) | undefined; /** * @type string | undefined */ - directoryType?: string | undefined + directoryType?: string | undefined; } | { /** * @type string | undefined */ - role?: string | undefined + role?: string | undefined; /** * @type string */ - uid: string + uid: string; /** * @type string | undefined */ - origin?: string | undefined + origin?: string | undefined; } | { /** * @type string | undefined */ - directoryType?: string | undefined + directoryType?: string | undefined; /** * @type object | undefined */ @@ -6052,31 +6071,31 @@ export type UserEvent = { /** * @type string */ - username: string + username: string; /** * @type string */ - email: string + email: string; } - | undefined + | undefined; /** * @type string | undefined */ - role?: string | undefined + role?: string | undefined; /** * @type string */ - previousRole: string + previousRole: string; /** * @type string | undefined */ - updatedUid?: string | undefined + updatedUid?: string | undefined; } | { /** * @type string */ - entitlement: string + entitlement: string; /** * @type object */ @@ -6084,18 +6103,18 @@ export type UserEvent = { /** * @type string */ - id: string + id: string; /** * @type string */ - username: string - } + username: string; + }; } | { /** * @type string */ - entitlement: string + entitlement: string; /** * @type object */ @@ -6103,34 +6122,34 @@ export type UserEvent = { /** * @type string */ - id: string + id: string; /** * @type string */ - username: string - } + username: string; + }; /** * @type string | undefined */ - previousCanceledAt?: string | undefined + previousCanceledAt?: string | undefined; } | { /** * @type boolean */ - enforced: boolean + enforced: boolean; } | { /** * @type string | undefined */ - name?: string | undefined + name?: string | undefined; } | { /** * @type string | undefined */ - slug?: string | undefined + slug?: string | undefined; } | { /** @@ -6142,9 +6161,9 @@ export type UserEvent = { /** * @type boolean | undefined */ - enabled?: boolean | undefined + enabled?: boolean | undefined; } - | undefined + | undefined; } | { /** @@ -6154,12 +6173,12 @@ export type UserEvent = { /** * @type boolean */ - enabled: boolean + enabled: boolean; /** * @type boolean */ - totpVerified: boolean - } + totpVerified: boolean; + }; /** * @type object */ @@ -6167,240 +6186,240 @@ export type UserEvent = { /** * @type boolean */ - enabled: boolean + enabled: boolean; /** * @type boolean */ - totpVerified: boolean - } + totpVerified: boolean; + }; } | { /** * @type boolean */ - enabled: boolean + enabled: boolean; /** * @type boolean */ - totpVerified: boolean + totpVerified: boolean; } | { /** * @type boolean */ - mfaEnabled: boolean + mfaEnabled: boolean; } | { /** * @type string */ - email: string + email: string; /** * @type string */ - prevEmail: string + prevEmail: string; } | { /** * @type string */ - username: string + username: string; } | { /** * @type number | undefined */ - price?: number | undefined + price?: number | undefined; /** * @type string | undefined */ - currency?: string | undefined + currency?: string | undefined; /** * @type boolean | undefined */ - enabled?: boolean | undefined + enabled?: boolean | undefined; } | { /** * @type string */ - previewDeploymentSuffix?: (string | null) | undefined + previewDeploymentSuffix?: (string | null) | undefined; /** * @type string */ - previousPreviewDeploymentSuffix?: (string | null) | undefined + previousPreviewDeploymentSuffix?: (string | null) | undefined; } | { /** * @type number | undefined */ - price?: number | undefined + price?: number | undefined; /** * @type string | undefined */ - currency?: string | undefined + currency?: string | undefined; } | { /** * @type string */ - teamName: string + teamName: string; /** * @type string | undefined */ - username?: string | undefined + username?: string | undefined; /** * @type string | undefined */ - gitUsername?: string | undefined + gitUsername?: string | undefined; /** * @type string */ - githubUsername?: (string | null) | undefined + githubUsername?: (string | null) | undefined; /** * @type string */ - gitlabUsername?: (string | null) | undefined + gitlabUsername?: (string | null) | undefined; /** * @type string */ - bitbucketUsername?: (string | null) | undefined + bitbucketUsername?: (string | null) | undefined; /** * @type string | undefined */ - updatedUid?: string | undefined + updatedUid?: string | undefined; /** * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; } | { /** * @type string */ - teamName: string + teamName: string; /** * @type string | undefined */ - username?: string | undefined + username?: string | undefined; /** * @type string */ - gitUsername?: (string | null) | undefined + gitUsername?: (string | null) | undefined; /** * @type string */ - githubUsername?: (string | null) | undefined + githubUsername?: (string | null) | undefined; /** * @type string */ - gitlabUsername?: (string | null) | undefined + gitlabUsername?: (string | null) | undefined; /** * @type string */ - bitbucketUsername?: (string | null) | undefined + bitbucketUsername?: (string | null) | undefined; } | { /** * @type string */ - requestedTeamName: string + requestedTeamName: string; /** * @type string | undefined */ - requestedUserName?: string | undefined + requestedUserName?: string | undefined; /** * @type string | undefined */ - gitUsername?: string | undefined + gitUsername?: string | undefined; /** * @type string | undefined */ - githubUsername?: string | undefined + githubUsername?: string | undefined; /** * @type string | undefined */ - gitlabUsername?: string | undefined + gitlabUsername?: string | undefined; /** * @type string | undefined */ - bitbucketUsername?: string | undefined + bitbucketUsername?: string | undefined; } | { /** * @type string */ - projectId: string + projectId: string; /** * @type string */ - projectName: string + projectName: string; /** * @type string */ - originAccountName: string + originAccountName: string; /** * @type string */ - destinationAccountName: string + destinationAccountName: string; /** * @type string */ - destinationAccountId: string + destinationAccountId: string; /** * @type string | undefined */ - transferId?: string | undefined + transferId?: string | undefined; } | { /** * @type string */ - projectName: string + projectName: string; /** * @type string */ - destinationAccountName: string | null + destinationAccountName: string | null; /** * @type string | undefined */ - transferId?: string | undefined + transferId?: string | undefined; } | { /** * @type string */ - previousProjectName: string + previousProjectName: string; /** * @type string */ - newProjectName: string + newProjectName: string; /** * @type string */ - destinationAccountName: string + destinationAccountName: string; /** * @type string | undefined */ - transferId?: string | undefined + transferId?: string | undefined; } | { /** * @type string */ - previousProjectName: string + previousProjectName: string; /** * @type string */ - newProjectName: string + newProjectName: string; /** * @type string */ - originAccountName: string + originAccountName: string; /** * @type string | undefined */ - transferId?: string | undefined + transferId?: string | undefined; } | { /** @@ -6410,12 +6429,12 @@ export type UserEvent = { /** * @type string */ - name: string + name: string; /** * @type string | undefined */ - id?: string | undefined - } + id?: string | undefined; + }; /** * @type object */ @@ -6423,20 +6442,20 @@ export type UserEvent = { /** * @type string */ - role: ProjectMembershipRoleEnum + role: ProjectMembershipRoleEnum; /** * @type string */ - uid: string + uid: string; /** * @type number */ - createdAt: number + createdAt: number; /** * @type string | undefined */ - username?: string | undefined - } | null + username?: string | undefined; + } | null; } | { /** @@ -6446,12 +6465,12 @@ export type UserEvent = { /** * @type string */ - name: string + name: string; /** * @type string | undefined */ - id?: string | undefined - } + id?: string | undefined; + }; /** * @type object */ @@ -6459,20 +6478,20 @@ export type UserEvent = { /** * @type string */ - role: RemovedMembershipRoleEnum + role: RemovedMembershipRoleEnum; /** * @type string */ - uid: string + uid: string; /** * @type number */ - createdAt: number + createdAt: number; /** * @type string | undefined */ - username?: string | undefined - } + username?: string | undefined; + }; } | { /** @@ -6482,12 +6501,12 @@ export type UserEvent = { /** * @type string */ - id: string + id: string; /** * @type string */ - name: string - } + name: string; + }; /** * @type object */ @@ -6495,24 +6514,24 @@ export type UserEvent = { /** * @type string | undefined */ - role?: ProjectMembershipRoleEnum2 | undefined + role?: ProjectMembershipRoleEnum2 | undefined; /** * @type string | undefined */ - uid?: string | undefined + uid?: string | undefined; /** * @type number | undefined */ - createdAt?: number | undefined + createdAt?: number | undefined; /** * @type string | undefined */ - username?: string | undefined + username?: string | undefined; /** * @type string | undefined */ - previousRole?: ProjectMembershipPreviousRoleEnum | undefined - } + previousRole?: ProjectMembershipPreviousRoleEnum | undefined; + }; } | { /** @@ -6522,123 +6541,123 @@ export type UserEvent = { /** * @type string */ - name: string + name: string; /** * @type string */ - role: ProjectRoleEnum + role: ProjectRoleEnum; /** * @type string */ - invitedUserName: string + invitedUserName: string; /** * @type string | undefined */ - id?: string | undefined + id?: string | undefined; /** * @type string | undefined */ - invitedUserId?: string | undefined - } + invitedUserId?: string | undefined; + }; } | { /** * @type string */ - projectName: string + projectName: string; /** * @type array */ - tags: string[] + tags: string[]; /** * @type string | undefined */ - target?: string | undefined + target?: string | undefined; } | { /** * @type string */ - edgeConfigId: string + edgeConfigId: string; /** * @type string */ - edgeConfigSlug: string + edgeConfigSlug: string; /** * @type string */ - edgeConfigDigest: string + edgeConfigDigest: string; } | { /** * @type string */ - edgeConfigId: string + edgeConfigId: string; /** * @type string */ - edgeConfigSlug: string + edgeConfigSlug: string; /** * @type string */ - edgeConfigTokenId: string + edgeConfigTokenId: string; /** * @type string */ - label: string + label: string; } | { /** * @type string */ - edgeConfigId: string + edgeConfigId: string; /** * @type string */ - edgeConfigSlug: string + edgeConfigSlug: string; /** * @description ids of deleted tokens * @type array */ - edgeConfigTokenIds: string[] + edgeConfigTokenIds: string[]; } | { /** * @type string */ - action: PayloadActionEnum5 + action: PayloadActionEnum5; } | { /** * @type string */ - id: string + id: string; /** * @type string */ - slug: string + slug: string; /** * @type string */ - name: string + name: string; } | { /** * @type string */ - id: string + id: string; /** * @type string | undefined */ - slug?: string | undefined + slug?: string | undefined; /** * @type string | undefined */ - name?: string | undefined + name?: string | undefined; /** * @type string | undefined */ - fallbackEnvironment?: string | undefined + fallbackEnvironment?: string | undefined; /** * @type object */ @@ -6646,16 +6665,16 @@ export type UserEvent = { /** * @type string */ - name: string + name: string; /** * @type string */ - slug: string + slug: string; /** * @type string */ - fallbackEnvironment: string - } + fallbackEnvironment: string; + }; } | { /** @@ -6665,12 +6684,12 @@ export type UserEvent = { /** * @type string */ - id: string + id: string; /** * @type string */ - name: string - } + name: string; + }; /** * @type object */ @@ -6678,16 +6697,16 @@ export type UserEvent = { /** * @type string */ - id: string + id: string; /** * @type string */ - slug: string + slug: string; /** * @type string */ - name: string - } + name: string; + }; } | { /** @@ -6697,11 +6716,11 @@ export type UserEvent = { /** * @type string */ - id: string + id: string; /** * @type string */ - name: string + name: string; microfrontends?: | ( | { @@ -6709,50 +6728,50 @@ export type UserEvent = { * @description Timestamp when the microfrontends settings were last updated. * @type number */ - updatedAt: number + updatedAt: number; /** * @description The group IDs of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together. * @type array */ - groupIds: (string | string)[] + groupIds: (string | string)[]; /** * @description Whether microfrontends are enabled for this project. * @type boolean */ - enabled: boolean + enabled: boolean; /** * @description Whether this project is the default application for the microfrontends group. The default application is the one that is used as the top level shell for the microfrontends group and hosts the other microfrontends. * @type boolean | undefined */ - isDefaultApp?: boolean | undefined + isDefaultApp?: boolean | undefined; /** * @description A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI. Includes the leading slash, e.g. `/docs` * @type string | undefined */ - defaultRoute?: string | undefined + defaultRoute?: string | undefined; /** * @description Whether observability data should be routed to this microfrontend project or a root project. * @type boolean | undefined */ - routeObservabilityToThisProject?: boolean | undefined + routeObservabilityToThisProject?: boolean | undefined; } | { /** * @type number */ - updatedAt: number + updatedAt: number; /** * @type array */ - groupIds: (string | string)[] + groupIds: (string | string)[]; /** * @type boolean */ - enabled: boolean + enabled: boolean; } ) - | undefined - } + | undefined; + }; /** * @type object */ @@ -6768,51 +6787,51 @@ export type UserEvent = { * @description Timestamp when the microfrontends settings were last updated. * @type number */ - updatedAt: number + updatedAt: number; /** * @description The group IDs of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together. * @type array */ - groupIds: (string | string)[] + groupIds: (string | string)[]; /** * @description Whether microfrontends are enabled for this project. * @type boolean */ - enabled: boolean + enabled: boolean; /** * @description Whether this project is the default application for the microfrontends group. The default application is the one that is used as the top level shell for the microfrontends group and hosts the other microfrontends. * @type boolean | undefined */ - isDefaultApp?: boolean | undefined + isDefaultApp?: boolean | undefined; /** * @description A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI. Includes the leading slash, e.g. `/docs` * @type string | undefined */ - defaultRoute?: string | undefined + defaultRoute?: string | undefined; /** * @description Whether observability data should be routed to this microfrontend project or a root project. * @type boolean | undefined */ - routeObservabilityToThisProject?: boolean | undefined + routeObservabilityToThisProject?: boolean | undefined; } | { /** * @type number */ - updatedAt: number + updatedAt: number; /** * @type array */ - groupIds: (string | string)[] + groupIds: (string | string)[]; /** * @type boolean */ - enabled: boolean + enabled: boolean; } ) - | undefined - } - } + | undefined; + }; + }; /** * @type object */ @@ -6820,26 +6839,26 @@ export type UserEvent = { /** * @type string */ - id: string + id: string; /** * @type string */ - slug: string + slug: string; /** * @type string */ - name: string - } + name: string; + }; } | { /** * @type string */ - projectId: string + projectId: string; /** * @type string */ - projectName: string + projectName: string; /** * @type object | undefined */ @@ -6848,25 +6867,25 @@ export type UserEvent = { /** * @type string */ - id: string + id: string; /** * @type number | undefined */ - disabledAt?: number | undefined + disabledAt?: number | undefined; /** * @type number | undefined */ - canceledAt?: number | undefined + canceledAt?: number | undefined; /** * @type number | undefined */ - enabledAt?: number | undefined + enabledAt?: number | undefined; /** * @type boolean | undefined */ - hasData?: boolean | undefined + hasData?: boolean | undefined; } - | undefined + | undefined; /** * @type object */ @@ -6875,77 +6894,77 @@ export type UserEvent = { /** * @type string */ - id: string + id: string; /** * @type number | undefined */ - disabledAt?: number | undefined + disabledAt?: number | undefined; /** * @type number | undefined */ - canceledAt?: number | undefined + canceledAt?: number | undefined; /** * @type number | undefined */ - enabledAt?: number | undefined + enabledAt?: number | undefined; /** * @type boolean | undefined */ - hasData?: boolean | undefined + hasData?: boolean | undefined; } | null) - | undefined + | undefined; } | { /** * @type string */ - tier: PayloadTierEnum + tier: PayloadTierEnum; } | { /** * @type string */ - oldName: string + oldName: string; /** * @type string */ - newName: string + newName: string; } | { /** * @type string */ - appName: string + appName: string; /** * @type array */ - scopes: string[] + scopes: string[]; } | { /** * @type string */ - appName: string + appName: string; /** * @type array */ - nextScopes: string[] + nextScopes: string[]; } | { /** * @type string */ - appName: string + appName: string; } | { /** * @type string */ - appName: string + appName: string; /** * @type string */ - appId: string + appId: string; } | { /** @@ -6955,12 +6974,12 @@ export type UserEvent = { /** * @type string */ - id: string + id: string; /** * @type string */ - name: string - } + name: string; + }; /** * @type object */ @@ -6968,12 +6987,12 @@ export type UserEvent = { /** * @type string */ - id: string + id: string; /** * @type string | undefined */ - name?: string | undefined - } + name?: string | undefined; + }; /** * @type object */ @@ -6981,20 +7000,20 @@ export type UserEvent = { /** * @type string */ - id: string + id: string; /** * @type string */ - accountId: string + accountId: string; /** * @type string */ - region: string + region: string; /** * @type string */ - vpcId: string - } + vpcId: string; + }; } | { /** @@ -7004,12 +7023,12 @@ export type UserEvent = { /** * @type string */ - id: string + id: string; /** * @type string */ - name: string - } + name: string; + }; /** * @type object */ @@ -7017,12 +7036,12 @@ export type UserEvent = { /** * @type string */ - id: string + id: string; /** * @type string | undefined */ - name?: string | undefined - } + name?: string | undefined; + }; /** * @type object */ @@ -7030,12 +7049,12 @@ export type UserEvent = { /** * @type string */ - id: string + id: string; /** * @type string | undefined */ - name?: string | undefined - } + name?: string | undefined; + }; } | { /** @@ -7045,12 +7064,12 @@ export type UserEvent = { /** * @type string */ - id: string + id: string; /** * @type string */ - name: string - } + name: string; + }; /** * @type object */ @@ -7058,12 +7077,12 @@ export type UserEvent = { /** * @type string */ - id: string + id: string; /** * @type string | undefined */ - name?: string | undefined - } + name?: string | undefined; + }; /** * @type object */ @@ -7071,56 +7090,56 @@ export type UserEvent = { /** * @type string */ - id: string + id: string; /** * @type string | undefined */ - name?: string | undefined - } + name?: string | undefined; + }; /** * @type string | undefined */ - newName?: string | undefined + newName?: string | undefined; } | { /** * @type string */ - grantType: PayloadGrantTypeEnum + grantType: PayloadGrantTypeEnum; /** * @type string */ - appName: string + appName: string; /** * @description access_token TTL * @type number */ - atTTL: number + atTTL: number; /** * @description refresh_token TTL * @type number | undefined */ - rtTTL?: number | undefined + rtTTL?: number | undefined; /** * @type string */ - scope: string + scope: string; /** * @type string */ - authMethod: PayloadAuthMethodEnum + authMethod: PayloadAuthMethodEnum; } ) - | undefined -} + | undefined; +}; export const samlDefaultRedirectUriEnum = { 'v0.app': 'v0.app', 'v0.dev': 'v0.dev', - 'vercel.com': 'vercel.com', -} as const + 'vercel.com': 'vercel.com' +} as const; -export type SamlDefaultRedirectUriEnum = (typeof samlDefaultRedirectUriEnum)[keyof typeof samlDefaultRedirectUriEnum] +export type SamlDefaultRedirectUriEnum = (typeof samlDefaultRedirectUriEnum)[keyof typeof samlDefaultRedirectUriEnum]; export const rolesEnum = { OWNER: 'OWNER', @@ -7130,10 +7149,10 @@ export const rolesEnum = { BILLING: 'BILLING', VIEWER: 'VIEWER', VIEWER_FOR_PLUS: 'VIEWER_FOR_PLUS', - CONTRIBUTOR: 'CONTRIBUTOR', -} as const + CONTRIBUTOR: 'CONTRIBUTOR' +} as const; -export type RolesEnum = (typeof rolesEnum)[keyof typeof rolesEnum] +export type RolesEnum = (typeof rolesEnum)[keyof typeof rolesEnum]; export const teamEnablePreviewFeedbackEnum = { default: 'default', @@ -7141,10 +7160,11 @@ export const teamEnablePreviewFeedbackEnum = { off: 'off', 'off-force': 'off-force', on: 'on', - 'on-force': 'on-force', -} as const + 'on-force': 'on-force' +} as const; -export type TeamEnablePreviewFeedbackEnum = (typeof teamEnablePreviewFeedbackEnum)[keyof typeof teamEnablePreviewFeedbackEnum] +export type TeamEnablePreviewFeedbackEnum = + (typeof teamEnablePreviewFeedbackEnum)[keyof typeof teamEnablePreviewFeedbackEnum]; export const teamEnableProductionFeedbackEnum = { default: 'default', @@ -7152,19 +7172,20 @@ export const teamEnableProductionFeedbackEnum = { off: 'off', 'off-force': 'off-force', on: 'on', - 'on-force': 'on-force', -} as const + 'on-force': 'on-force' +} as const; -export type TeamEnableProductionFeedbackEnum = (typeof teamEnableProductionFeedbackEnum)[keyof typeof teamEnableProductionFeedbackEnum] +export type TeamEnableProductionFeedbackEnum = + (typeof teamEnableProductionFeedbackEnum)[keyof typeof teamEnableProductionFeedbackEnum]; export const teamSensitiveEnvironmentVariablePolicyEnum = { default: 'default', off: 'off', - on: 'on', -} as const + on: 'on' +} as const; export type TeamSensitiveEnvironmentVariablePolicyEnum = - (typeof teamSensitiveEnvironmentVariablePolicyEnum)[keyof typeof teamSensitiveEnvironmentVariablePolicyEnum] + (typeof teamSensitiveEnvironmentVariablePolicyEnum)[keyof typeof teamSensitiveEnvironmentVariablePolicyEnum]; export const membershipRoleEnum = { BILLING: 'BILLING', @@ -7174,10 +7195,10 @@ export const membershipRoleEnum = { OWNER: 'OWNER', SECURITY: 'SECURITY', VIEWER: 'VIEWER', - VIEWER_FOR_PLUS: 'VIEWER_FOR_PLUS', -} as const + VIEWER_FOR_PLUS: 'VIEWER_FOR_PLUS' +} as const; -export type MembershipRoleEnum = (typeof membershipRoleEnum)[keyof typeof membershipRoleEnum] +export type MembershipRoleEnum = (typeof membershipRoleEnum)[keyof typeof membershipRoleEnum]; export const membershipTeamRolesEnum = { BILLING: 'BILLING', @@ -7187,10 +7208,10 @@ export const membershipTeamRolesEnum = { OWNER: 'OWNER', SECURITY: 'SECURITY', VIEWER: 'VIEWER', - VIEWER_FOR_PLUS: 'VIEWER_FOR_PLUS', -} as const + VIEWER_FOR_PLUS: 'VIEWER_FOR_PLUS' +} as const; -export type MembershipTeamRolesEnum = (typeof membershipTeamRolesEnum)[keyof typeof membershipTeamRolesEnum] +export type MembershipTeamRolesEnum = (typeof membershipTeamRolesEnum)[keyof typeof membershipTeamRolesEnum]; export const membershipTeamPermissionsEnum = { CreateProject: 'CreateProject', @@ -7200,10 +7221,11 @@ export const membershipTeamPermissionsEnum = { UsageViewer: 'UsageViewer', V0Builder: 'V0Builder', V0Chatter: 'V0Chatter', - V0Viewer: 'V0Viewer', -} as const + V0Viewer: 'V0Viewer' +} as const; -export type MembershipTeamPermissionsEnum = (typeof membershipTeamPermissionsEnum)[keyof typeof membershipTeamPermissionsEnum] +export type MembershipTeamPermissionsEnum = + (typeof membershipTeamPermissionsEnum)[keyof typeof membershipTeamPermissionsEnum]; export const joinedFromOriginEnum3 = { bitbucket: 'bitbucket', @@ -7216,10 +7238,10 @@ export const joinedFromOriginEnum3 = { mail: 'mail', 'organization-teams': 'organization-teams', saml: 'saml', - teams: 'teams', -} as const + teams: 'teams' +} as const; -export type JoinedFromOriginEnum3 = (typeof joinedFromOriginEnum3)[keyof typeof joinedFromOriginEnum3] +export type JoinedFromOriginEnum3 = (typeof joinedFromOriginEnum3)[keyof typeof joinedFromOriginEnum3]; /** * @description Data representing a Team. @@ -7233,24 +7255,24 @@ export type Team = { /** * @type boolean | undefined */ - enabled?: boolean | undefined + enabled?: boolean | undefined; } - | undefined + | undefined; /** * @description The ID of the user who created the Team. * @type string */ - creatorId: string + creatorId: string; /** * @description Timestamp (in milliseconds) of when the Team was last updated. * @type number */ - updatedAt: number + updatedAt: number; /** * @description Hostname that\'ll be matched with emails on sign-up to automatically join the Team. * @type string */ - emailDomain?: (string | null) | undefined + emailDomain?: (string | null) | undefined; /** * @description When \"Single Sign-On (SAML)\" is configured, this object contains information regarding the configuration of the Identity Provider (IdP). * @type object | undefined @@ -7267,29 +7289,29 @@ export type Team = { * @description The Identity Provider \"type\", for example Okta. * @type string */ - type: string + type: string; /** * @description Current status of the connection. * @type string */ - status: string + status: string; /** * @description Current state of the connection. * @type string */ - state: string + state: string; /** * @description Timestamp (in milliseconds) of when the configuration was connected. * @type number */ - connectedAt: number + connectedAt: number; /** * @description Timestamp (in milliseconds) of when the last webhook event was received from WorkOS. * @type number | undefined */ - lastReceivedWebhookEvent?: number | undefined + lastReceivedWebhookEvent?: number | undefined; } - | undefined + | undefined; /** * @description Information for the Directory Sync configuration. * @type object | undefined @@ -7300,34 +7322,34 @@ export type Team = { * @description The Identity Provider \"type\", for example Okta. * @type string */ - type: string + type: string; /** * @description Current state of the connection. * @type string */ - state: string + state: string; /** * @description Timestamp (in milliseconds) of when the configuration was connected. * @type number */ - connectedAt: number + connectedAt: number; /** * @description Timestamp (in milliseconds) of when the last webhook event was received from WorkOS. * @type number | undefined */ - lastReceivedWebhookEvent?: number | undefined + lastReceivedWebhookEvent?: number | undefined; } - | undefined + | undefined; /** * @description When `true`, interactions with the Team **must** be done with an authentication token that has been authenticated with the Team\'s SAML Single Sign-On provider. * @type boolean */ - enforced: boolean + enforced: boolean; /** * @description The default redirect URI to use after successful SAML authentication. * @type string | undefined */ - defaultRedirectUri?: SamlDefaultRedirectUriEnum | undefined + defaultRedirectUri?: SamlDefaultRedirectUriEnum | undefined; /** * @description When \"Directory Sync\" is configured, this object contains a mapping of which Directory Group (by ID) should be assigned to which Vercel Team \"role\". * @type object | undefined @@ -7339,28 +7361,28 @@ export type Team = { /** * @type string */ - accessGroupId: string + accessGroupId: string; } - | RolesEnum + | RolesEnum; } - | undefined + | undefined; } - | undefined + | undefined; /** * @description Code that can be used to join this Team. Only visible to Team owners. * @type string | undefined */ - inviteCode?: string | undefined + inviteCode?: string | undefined; /** * @description A short description of the Team. * @type string */ - description: string | null + description: string | null; /** * @description The prefix that is prepended to automatic aliases. * @type string */ - stagingPrefix: string + stagingPrefix: string; /** * @type object | undefined */ @@ -7370,37 +7392,37 @@ export type Team = { * @description The total amount of concurrent builds that can be used. * @type number | undefined */ - concurrentBuilds?: number | undefined + concurrentBuilds?: number | undefined; /** * @description Whether every build for this team / user has elastic concurrency enabled automatically. * @type boolean | undefined */ - elasticConcurrencyEnabled?: boolean | undefined + elasticConcurrencyEnabled?: boolean | undefined; /** * @description The maximum size in kilobytes of an Edge Config. Only specified if a custom limit is set. * @type number | undefined */ - edgeConfigSize?: number | undefined + edgeConfigSize?: number | undefined; /** * @description The maximum number of edge configs an account can create. * @type number | undefined */ - edgeConfigs?: number | undefined + edgeConfigs?: number | undefined; /** * @description The maximum number of kv databases an account can create. * @type number | undefined */ - kvDatabases?: number | undefined + kvDatabases?: number | undefined; /** * @description The maximum number of blob stores an account can create. * @type number | undefined */ - blobStores?: number | undefined + blobStores?: number | undefined; /** * @description The maximum number of postgres databases an account can create. * @type number | undefined */ - postgresDatabases?: number | undefined + postgresDatabases?: number | undefined; /** * @type object | undefined */ @@ -7409,17 +7431,17 @@ export type Team = { /** * @type boolean | undefined */ - enhancedBuilds?: boolean | undefined + enhancedBuilds?: boolean | undefined; } - | undefined + | undefined; } - | undefined + | undefined; /** * @description The hostname that is current set as preview deployment suffix. * @type string */ - previewDeploymentSuffix?: (string | null) | undefined - disableHardAutoBlocks?: (number | boolean) | undefined + previewDeploymentSuffix?: (string | null) | undefined; + disableHardAutoBlocks?: (number | boolean) | undefined; /** * @description Is remote caching enabled for this team * @type object | undefined @@ -7429,9 +7451,9 @@ export type Team = { /** * @type boolean | undefined */ - enabled?: boolean | undefined + enabled?: boolean | undefined; } - | undefined + | undefined; /** * @description Default deployment protection for this team * @type object | undefined @@ -7446,9 +7468,9 @@ export type Team = { /** * @type string */ - deploymentType: string + deploymentType: string; } - | undefined + | undefined; /** * @type object | undefined */ @@ -7457,36 +7479,36 @@ export type Team = { /** * @type string */ - deploymentType: string + deploymentType: string; } - | undefined + | undefined; } - | undefined + | undefined; /** * @description Whether toolbar is enabled on preview deployments * @type string */ - enablePreviewFeedback?: (TeamEnablePreviewFeedbackEnum | null) | undefined + enablePreviewFeedback?: (TeamEnablePreviewFeedbackEnum | null) | undefined; /** * @description Whether toolbar is enabled on production deployments * @type string */ - enableProductionFeedback?: (TeamEnableProductionFeedbackEnum | null) | undefined + enableProductionFeedback?: (TeamEnableProductionFeedbackEnum | null) | undefined; /** * @description Sensitive environment variable policy for this team * @type string */ - sensitiveEnvironmentVariablePolicy?: (TeamSensitiveEnvironmentVariablePolicyEnum | null) | undefined + sensitiveEnvironmentVariablePolicy?: (TeamSensitiveEnvironmentVariablePolicyEnum | null) | undefined; /** * @description Indicates if IP addresses should be accessible in observability (o11y) tooling * @type boolean */ - hideIpAddresses?: (boolean | null) | undefined + hideIpAddresses?: (boolean | null) | undefined; /** * @description Indicates if IP addresses should be accessible in log drains * @type boolean */ - hideIpAddressesInLogDrains?: (boolean | null) | undefined + hideIpAddressesInLogDrains?: (boolean | null) | undefined; /** * @type array | undefined */ @@ -7495,33 +7517,33 @@ export type Team = { /** * @type string */ - bucket: string + bucket: string; /** * @type number | undefined */ - supportUntil?: number | undefined + supportUntil?: number | undefined; }[] - | undefined + | undefined; /** * @description The Team\'s unique identifier. * @type string */ - id: string + id: string; /** * @description The Team\'s slug, which is unique across the Vercel platform. * @type string */ - slug: string + slug: string; /** * @description Name associated with the Team account, or `null` if none has been provided. * @type string */ - name: string | null + name: string | null; /** * @description The ID of the file used as avatar for this Team. * @type string */ - avatar: string | null + avatar: string | null; /** * @description The membership of the authenticated User in relation to the Team. * @type object @@ -7530,7 +7552,7 @@ export type Team = { /** * @type string | undefined */ - uid?: string | undefined + uid?: string | undefined; /** * @type array | undefined */ @@ -7539,41 +7561,41 @@ export type Team = { /** * @type string */ - entitlement: string + entitlement: string; }[] - | undefined + | undefined; /** * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @type boolean */ - confirmed: boolean + confirmed: boolean; /** * @type number | undefined */ - accessRequestedAt?: number | undefined + accessRequestedAt?: number | undefined; /** * @type string */ - role: MembershipRoleEnum + role: MembershipRoleEnum; /** * @type array | undefined */ - teamRoles?: MembershipTeamRolesEnum[] | undefined + teamRoles?: MembershipTeamRolesEnum[] | undefined; /** * @type array | undefined */ - teamPermissions?: MembershipTeamPermissionsEnum[] | undefined + teamPermissions?: MembershipTeamPermissionsEnum[] | undefined; /** * @type number */ - createdAt: number + createdAt: number; /** * @type number */ - created: number + created: number; /** * @type object | undefined */ @@ -7582,60 +7604,60 @@ export type Team = { /** * @type string */ - origin: JoinedFromOriginEnum3 + origin: JoinedFromOriginEnum3; /** * @type string | undefined */ - commitId?: string | undefined + commitId?: string | undefined; /** * @type string | undefined */ - repoId?: string | undefined + repoId?: string | undefined; /** * @type string | undefined */ - repoPath?: string | undefined - gitUserId?: (string | number) | undefined + repoPath?: string | undefined; + gitUserId?: (string | number) | undefined; /** * @type string | undefined */ - gitUserLogin?: string | undefined + gitUserLogin?: string | undefined; /** * @type string | undefined */ - ssoUserId?: string | undefined + ssoUserId?: string | undefined; /** * @type number | undefined */ - ssoConnectedAt?: number | undefined + ssoConnectedAt?: number | undefined; /** * @type string | undefined */ - idpUserId?: string | undefined + idpUserId?: string | undefined; /** * @type string | undefined */ - dsyncUserId?: string | undefined + dsyncUserId?: string | undefined; /** * @type number | undefined */ - dsyncConnectedAt?: number | undefined + dsyncConnectedAt?: number | undefined; } - | undefined - } + | undefined; + }; /** * @description UNIX timestamp (in milliseconds) when the Team was created. * @type number */ - createdAt: number -} + createdAt: number; +}; export const teamLimitedLimitedByEnum = { mfa: 'mfa', - scope: 'scope', -} as const + scope: 'scope' +} as const; -export type TeamLimitedLimitedByEnum = (typeof teamLimitedLimitedByEnum)[keyof typeof teamLimitedLimitedByEnum] +export type TeamLimitedLimitedByEnum = (typeof teamLimitedLimitedByEnum)[keyof typeof teamLimitedLimitedByEnum]; export const membershipRoleEnum2 = { BILLING: 'BILLING', @@ -7645,10 +7667,10 @@ export const membershipRoleEnum2 = { OWNER: 'OWNER', SECURITY: 'SECURITY', VIEWER: 'VIEWER', - VIEWER_FOR_PLUS: 'VIEWER_FOR_PLUS', -} as const + VIEWER_FOR_PLUS: 'VIEWER_FOR_PLUS' +} as const; -export type MembershipRoleEnum2 = (typeof membershipRoleEnum2)[keyof typeof membershipRoleEnum2] +export type MembershipRoleEnum2 = (typeof membershipRoleEnum2)[keyof typeof membershipRoleEnum2]; export const membershipTeamRolesEnum2 = { BILLING: 'BILLING', @@ -7658,10 +7680,10 @@ export const membershipTeamRolesEnum2 = { OWNER: 'OWNER', SECURITY: 'SECURITY', VIEWER: 'VIEWER', - VIEWER_FOR_PLUS: 'VIEWER_FOR_PLUS', -} as const + VIEWER_FOR_PLUS: 'VIEWER_FOR_PLUS' +} as const; -export type MembershipTeamRolesEnum2 = (typeof membershipTeamRolesEnum2)[keyof typeof membershipTeamRolesEnum2] +export type MembershipTeamRolesEnum2 = (typeof membershipTeamRolesEnum2)[keyof typeof membershipTeamRolesEnum2]; export const membershipTeamPermissionsEnum2 = { CreateProject: 'CreateProject', @@ -7671,10 +7693,11 @@ export const membershipTeamPermissionsEnum2 = { UsageViewer: 'UsageViewer', V0Builder: 'V0Builder', V0Chatter: 'V0Chatter', - V0Viewer: 'V0Viewer', -} as const + V0Viewer: 'V0Viewer' +} as const; -export type MembershipTeamPermissionsEnum2 = (typeof membershipTeamPermissionsEnum2)[keyof typeof membershipTeamPermissionsEnum2] +export type MembershipTeamPermissionsEnum2 = + (typeof membershipTeamPermissionsEnum2)[keyof typeof membershipTeamPermissionsEnum2]; export const joinedFromOriginEnum4 = { bitbucket: 'bitbucket', @@ -7687,10 +7710,10 @@ export const joinedFromOriginEnum4 = { mail: 'mail', 'organization-teams': 'organization-teams', saml: 'saml', - teams: 'teams', -} as const + teams: 'teams' +} as const; -export type JoinedFromOriginEnum4 = (typeof joinedFromOriginEnum4)[keyof typeof joinedFromOriginEnum4] +export type JoinedFromOriginEnum4 = (typeof joinedFromOriginEnum4)[keyof typeof joinedFromOriginEnum4]; /** * @description A limited form of data representing a Team, due to the authentication token missing privileges to read the full Team data. @@ -7700,11 +7723,11 @@ export type TeamLimited = { * @description Property indicating that this Team data contains only limited information, due to the authentication token missing privileges to read the full Team data or due to team having MFA enforced and the user not having MFA enabled. Re-login with the Team\'s configured SAML Single Sign-On provider in order to upgrade the authentication token with the necessary privileges. * @type boolean */ - limited: boolean + limited: boolean; /** * @type array */ - limitedBy: TeamLimitedLimitedByEnum[] + limitedBy: TeamLimitedLimitedByEnum[]; /** * @description When \"Single Sign-On (SAML)\" is configured, this object contains information that allows the client-side to identify whether or not this Team has SAML enforced. * @type object | undefined @@ -7721,29 +7744,29 @@ export type TeamLimited = { * @description The Identity Provider \"type\", for example Okta. * @type string */ - type: string + type: string; /** * @description Current status of the connection. * @type string */ - status: string + status: string; /** * @description Current state of the connection. * @type string */ - state: string + state: string; /** * @description Timestamp (in milliseconds) of when the configuration was connected. * @type number */ - connectedAt: number + connectedAt: number; /** * @description Timestamp (in milliseconds) of when the last webhook event was received from WorkOS. * @type number | undefined */ - lastReceivedWebhookEvent?: number | undefined + lastReceivedWebhookEvent?: number | undefined; } - | undefined + | undefined; /** * @description Information for the Directory Sync configuration. * @type object | undefined @@ -7754,51 +7777,51 @@ export type TeamLimited = { * @description The Identity Provider \"type\", for example Okta. * @type string */ - type: string + type: string; /** * @description Current state of the connection. * @type string */ - state: string + state: string; /** * @description Timestamp (in milliseconds) of when the configuration was connected. * @type number */ - connectedAt: number + connectedAt: number; /** * @description Timestamp (in milliseconds) of when the last webhook event was received from WorkOS. * @type number | undefined */ - lastReceivedWebhookEvent?: number | undefined + lastReceivedWebhookEvent?: number | undefined; } - | undefined + | undefined; /** * @description When `true`, interactions with the Team **must** be done with an authentication token that has been authenticated with the Team\'s SAML Single Sign-On provider. * @type boolean */ - enforced: boolean + enforced: boolean; } - | undefined + | undefined; /** * @description The Team\'s unique identifier. * @type string */ - id: string + id: string; /** * @description The Team\'s slug, which is unique across the Vercel platform. * @type string */ - slug: string + slug: string; /** * @description Name associated with the Team account, or `null` if none has been provided. * @type string */ - name: string | null + name: string | null; /** * @description The ID of the file used as avatar for this Team. * @type string */ - avatar: string | null + avatar: string | null; /** * @description The membership of the authenticated User in relation to the Team. * @type object @@ -7807,7 +7830,7 @@ export type TeamLimited = { /** * @type string | undefined */ - uid?: string | undefined + uid?: string | undefined; /** * @type array | undefined */ @@ -7816,41 +7839,41 @@ export type TeamLimited = { /** * @type string */ - entitlement: string + entitlement: string; }[] - | undefined + | undefined; /** * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @type boolean */ - confirmed: boolean + confirmed: boolean; /** * @type number | undefined */ - accessRequestedAt?: number | undefined + accessRequestedAt?: number | undefined; /** * @type string */ - role: MembershipRoleEnum2 + role: MembershipRoleEnum2; /** * @type array | undefined */ - teamRoles?: MembershipTeamRolesEnum2[] | undefined + teamRoles?: MembershipTeamRolesEnum2[] | undefined; /** * @type array | undefined */ - teamPermissions?: MembershipTeamPermissionsEnum2[] | undefined + teamPermissions?: MembershipTeamPermissionsEnum2[] | undefined; /** * @type number */ - createdAt: number + createdAt: number; /** * @type number */ - created: number + created: number; /** * @type object | undefined */ @@ -7859,67 +7882,67 @@ export type TeamLimited = { /** * @type string */ - origin: JoinedFromOriginEnum4 + origin: JoinedFromOriginEnum4; /** * @type string | undefined */ - commitId?: string | undefined + commitId?: string | undefined; /** * @type string | undefined */ - repoId?: string | undefined + repoId?: string | undefined; /** * @type string | undefined */ - repoPath?: string | undefined - gitUserId?: (string | number) | undefined + repoPath?: string | undefined; + gitUserId?: (string | number) | undefined; /** * @type string | undefined */ - gitUserLogin?: string | undefined + gitUserLogin?: string | undefined; /** * @type string | undefined */ - ssoUserId?: string | undefined + ssoUserId?: string | undefined; /** * @type number | undefined */ - ssoConnectedAt?: number | undefined + ssoConnectedAt?: number | undefined; /** * @type string | undefined */ - idpUserId?: string | undefined + idpUserId?: string | undefined; /** * @type string | undefined */ - dsyncUserId?: string | undefined + dsyncUserId?: string | undefined; /** * @type number | undefined */ - dsyncConnectedAt?: number | undefined + dsyncConnectedAt?: number | undefined; } - | undefined - } + | undefined; + }; /** * @description UNIX timestamp (in milliseconds) when the Team was created. * @type number */ - createdAt: number -} + createdAt: number; +}; export const scopesTypeEnum = { - user: 'user', -} as const + user: 'user' +} as const; -export type ScopesTypeEnum = (typeof scopesTypeEnum)[keyof typeof scopesTypeEnum] +export type ScopesTypeEnum = (typeof scopesTypeEnum)[keyof typeof scopesTypeEnum]; export const sudoOriginEnum = { totp: 'totp', webauthn: 'webauthn', - 'recovery-code': 'recovery-code', -} as const + 'recovery-code': 'recovery-code' +} as const; -export type SudoOriginEnum = (typeof sudoOriginEnum)[keyof typeof sudoOriginEnum] +export type SudoOriginEnum = (typeof sudoOriginEnum)[keyof typeof sudoOriginEnum]; export const scopesOriginEnum = { saml: 'saml', @@ -7933,16 +7956,16 @@ export const scopesOriginEnum = { sms: 'sms', invite: 'invite', google: 'google', - app: 'app', -} as const + app: 'app' +} as const; -export type ScopesOriginEnum = (typeof scopesOriginEnum)[keyof typeof scopesOriginEnum] +export type ScopesOriginEnum = (typeof scopesOriginEnum)[keyof typeof scopesOriginEnum]; export const scopesTypeEnum2 = { - team: 'team', -} as const + team: 'team' +} as const; -export type ScopesTypeEnum2 = (typeof scopesTypeEnum2)[keyof typeof scopesTypeEnum2] +export type ScopesTypeEnum2 = (typeof scopesTypeEnum2)[keyof typeof scopesTypeEnum2]; export const scopesOriginEnum2 = { saml: 'saml', @@ -7956,10 +7979,10 @@ export const scopesOriginEnum2 = { sms: 'sms', invite: 'invite', google: 'google', - app: 'app', -} as const + app: 'app' +} as const; -export type ScopesOriginEnum2 = (typeof scopesOriginEnum2)[keyof typeof scopesOriginEnum2] +export type ScopesOriginEnum2 = (typeof scopesOriginEnum2)[keyof typeof scopesOriginEnum2]; /** * @description Authentication token metadata. @@ -7969,22 +7992,22 @@ export type AuthToken = { * @description The unique identifier of the token. * @type string */ - id: string + id: string; /** * @description The human-readable name of the token. * @type string */ - name: string + name: string; /** * @description The type of the token. * @type string */ - type: string + type: string; /** * @description The origin of how the token was created. * @type string | undefined */ - origin?: string | undefined + origin?: string | undefined; /** * @description The access scopes granted to the token. * @type array | undefined @@ -7995,7 +8018,7 @@ export type AuthToken = { /** * @type string */ - type: ScopesTypeEnum + type: ScopesTypeEnum; /** * @type object | undefined */ @@ -8005,66 +8028,66 @@ export type AuthToken = { * @description Possible multi-factor origins * @type string */ - origin: SudoOriginEnum + origin: SudoOriginEnum; /** * @type number */ - expiresAt: number + expiresAt: number; } - | undefined + | undefined; /** * @type string | undefined */ - origin?: ScopesOriginEnum | undefined + origin?: ScopesOriginEnum | undefined; /** * @type number */ - createdAt: number + createdAt: number; /** * @type number | undefined */ - expiresAt?: number | undefined + expiresAt?: number | undefined; } | { /** * @type string */ - type: ScopesTypeEnum2 + type: ScopesTypeEnum2; /** * @type string */ - teamId: string + teamId: string; /** * @type string | undefined */ - origin?: ScopesOriginEnum2 | undefined + origin?: ScopesOriginEnum2 | undefined; /** * @type number */ - createdAt: number + createdAt: number; /** * @type number | undefined */ - expiresAt?: number | undefined + expiresAt?: number | undefined; } )[] - | undefined + | undefined; /** * @description Timestamp (in milliseconds) of when the token expires. * @type number | undefined */ - expiresAt?: number | undefined + expiresAt?: number | undefined; /** * @description Timestamp (in milliseconds) of when the token was most recently used. * @type number */ - activeAt: number + activeAt: number; /** * @description Timestamp (in milliseconds) of when the token was created. * @type number */ - createdAt: number -} + createdAt: number; +}; export const softBlockReasonEnum2 = { BLOCKED_FOR_PLATFORM_ABUSE: 'BLOCKED_FOR_PLATFORM_ABUSE', @@ -8072,10 +8095,10 @@ export const softBlockReasonEnum2 = { FAIR_USE_LIMITS_EXCEEDED: 'FAIR_USE_LIMITS_EXCEEDED', SUBSCRIPTION_CANCELED: 'SUBSCRIPTION_CANCELED', SUBSCRIPTION_EXPIRED: 'SUBSCRIPTION_EXPIRED', - UNPAID_INVOICE: 'UNPAID_INVOICE', -} as const + UNPAID_INVOICE: 'UNPAID_INVOICE' +} as const; -export type SoftBlockReasonEnum2 = (typeof softBlockReasonEnum2)[keyof typeof softBlockReasonEnum2] +export type SoftBlockReasonEnum2 = (typeof softBlockReasonEnum2)[keyof typeof softBlockReasonEnum2]; export const softBlockBlockedDueToOverageTypeEnum2 = { analyticsUsage: 'analyticsUsage', @@ -8116,50 +8139,54 @@ export const softBlockBlockedDueToOverageTypeEnum2 = { wafOwaspExcessBytes: 'wafOwaspExcessBytes', wafOwaspRequests: 'wafOwaspRequests', wafRateLimitRequest: 'wafRateLimitRequest', - webAnalyticsEvent: 'webAnalyticsEvent', -} as const + webAnalyticsEvent: 'webAnalyticsEvent' +} as const; -export type SoftBlockBlockedDueToOverageTypeEnum2 = (typeof softBlockBlockedDueToOverageTypeEnum2)[keyof typeof softBlockBlockedDueToOverageTypeEnum2] +export type SoftBlockBlockedDueToOverageTypeEnum2 = + (typeof softBlockBlockedDueToOverageTypeEnum2)[keyof typeof softBlockBlockedDueToOverageTypeEnum2]; export const buildMachinePurchaseTypeEnum2 = { enhanced: 'enhanced', - turbo: 'turbo', -} as const + turbo: 'turbo' +} as const; -export type BuildMachinePurchaseTypeEnum2 = (typeof buildMachinePurchaseTypeEnum2)[keyof typeof buildMachinePurchaseTypeEnum2] +export type BuildMachinePurchaseTypeEnum2 = + (typeof buildMachinePurchaseTypeEnum2)[keyof typeof buildMachinePurchaseTypeEnum2]; export const activeDashboardViewsViewPreferenceEnum2 = { cards: 'cards', - list: 'list', -} as const + list: 'list' +} as const; -export type ActiveDashboardViewsViewPreferenceEnum2 = (typeof activeDashboardViewsViewPreferenceEnum2)[keyof typeof activeDashboardViewsViewPreferenceEnum2] +export type ActiveDashboardViewsViewPreferenceEnum2 = + (typeof activeDashboardViewsViewPreferenceEnum2)[keyof typeof activeDashboardViewsViewPreferenceEnum2]; export const activeDashboardViewsFavoritesViewPreferenceEnum2 = { closed: 'closed', - open: 'open', -} as const + open: 'open' +} as const; export type ActiveDashboardViewsFavoritesViewPreferenceEnum2 = - (typeof activeDashboardViewsFavoritesViewPreferenceEnum2)[keyof typeof activeDashboardViewsFavoritesViewPreferenceEnum2] + (typeof activeDashboardViewsFavoritesViewPreferenceEnum2)[keyof typeof activeDashboardViewsFavoritesViewPreferenceEnum2]; export const activeDashboardViewsRecentsViewPreferenceEnum2 = { closed: 'closed', - open: 'open', -} as const + open: 'open' +} as const; export type ActiveDashboardViewsRecentsViewPreferenceEnum2 = - (typeof activeDashboardViewsRecentsViewPreferenceEnum2)[keyof typeof activeDashboardViewsRecentsViewPreferenceEnum2] + (typeof activeDashboardViewsRecentsViewPreferenceEnum2)[keyof typeof activeDashboardViewsRecentsViewPreferenceEnum2]; export const authUserImportFlowGitProviderEnum = { bitbucket: 'bitbucket', github: 'github', 'github-custom-host': 'github-custom-host', 'github-limited': 'github-limited', - gitlab: 'gitlab', -} as const + gitlab: 'gitlab' +} as const; -export type AuthUserImportFlowGitProviderEnum = (typeof authUserImportFlowGitProviderEnum)[keyof typeof authUserImportFlowGitProviderEnum] +export type AuthUserImportFlowGitProviderEnum = + (typeof authUserImportFlowGitProviderEnum)[keyof typeof authUserImportFlowGitProviderEnum]; /** * @description Data for the currently authenticated User. @@ -8169,7 +8196,7 @@ export type AuthUser = { * @description UNIX timestamp (in milliseconds) when the User account was created. * @type number */ - createdAt: number + createdAt: number; /** * @description When the User account has been \"soft blocked\", this property will contain the date when the restriction was enacted, and the identifier for why. * @type object @@ -8178,21 +8205,21 @@ export type AuthUser = { /** * @type number */ - blockedAt: number + blockedAt: number; /** * @type string */ - reason: SoftBlockReasonEnum2 + reason: SoftBlockReasonEnum2; /** * @type string | undefined */ - blockedDueToOverageType?: SoftBlockBlockedDueToOverageTypeEnum2 | undefined - } | null + blockedDueToOverageType?: SoftBlockBlockedDueToOverageTypeEnum2 | undefined; + } | null; /** * @description An object containing billing infomation associated with the User account. * @type object */ - billing: object | null + billing: object | null; /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type object @@ -8202,17 +8229,17 @@ export type AuthUser = { * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type string | undefined */ - nodeType?: string | undefined + nodeType?: string | undefined; /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type number | undefined */ - concurrentBuilds?: number | undefined + concurrentBuilds?: number | undefined; /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type boolean | undefined */ - elasticConcurrencyEnabled?: boolean | undefined + elasticConcurrencyEnabled?: boolean | undefined; /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type object | undefined @@ -8223,109 +8250,109 @@ export type AuthUser = { * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type boolean | undefined */ - enhancedBuilds?: boolean | undefined + enhancedBuilds?: boolean | undefined; } - | undefined + | undefined; /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type string | undefined */ - awsAccountType?: string | undefined + awsAccountType?: string | undefined; /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type array | undefined */ - awsAccountIds?: string[] | undefined + awsAccountIds?: string[] | undefined; /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type string | undefined */ - cfZoneName?: string | undefined + cfZoneName?: string | undefined; /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type string | undefined */ - imageOptimizationType?: string | undefined + imageOptimizationType?: string | undefined; /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type number | undefined */ - edgeConfigs?: number | undefined + edgeConfigs?: number | undefined; /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type number | undefined */ - edgeConfigSize?: number | undefined + edgeConfigSize?: number | undefined; /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type number | undefined */ - edgeFunctionMaxSizeBytes?: number | undefined + edgeFunctionMaxSizeBytes?: number | undefined; /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type number | undefined */ - edgeFunctionExecutionTimeoutMs?: number | undefined + edgeFunctionExecutionTimeoutMs?: number | undefined; /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type number | undefined */ - serverlessFunctionMaxMemorySize?: number | undefined + serverlessFunctionMaxMemorySize?: number | undefined; /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type number | undefined */ - kvDatabases?: number | undefined + kvDatabases?: number | undefined; /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type number | undefined */ - postgresDatabases?: number | undefined + postgresDatabases?: number | undefined; /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type number | undefined */ - blobStores?: number | undefined + blobStores?: number | undefined; /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type number | undefined */ - integrationStores?: number | undefined + integrationStores?: number | undefined; /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type number | undefined */ - cronJobs?: number | undefined + cronJobs?: number | undefined; /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type number | undefined */ - cronJobsPerProject?: number | undefined + cronJobsPerProject?: number | undefined; /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type number | undefined */ - microfrontendGroupsPerTeam?: number | undefined + microfrontendGroupsPerTeam?: number | undefined; /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type number | undefined */ - microfrontendProjectsPerGroup?: number | undefined + microfrontendProjectsPerGroup?: number | undefined; /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type number | undefined */ - flagsExplorerOverridesThreshold?: number | undefined + flagsExplorerOverridesThreshold?: number | undefined; /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type boolean | undefined */ - flagsExplorerUnlimitedOverrides?: boolean | undefined + flagsExplorerUnlimitedOverrides?: boolean | undefined; /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type number | undefined */ - customEnvironmentsPerProject?: number | undefined + customEnvironmentsPerProject?: number | undefined; /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type object | undefined @@ -8336,24 +8363,24 @@ export type AuthUser = { * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type string | undefined */ - purchaseType?: BuildMachinePurchaseTypeEnum2 | undefined + purchaseType?: BuildMachinePurchaseTypeEnum2 | undefined; /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type boolean | undefined */ - isDefaultBuildMachine?: boolean | undefined + isDefaultBuildMachine?: boolean | undefined; /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type number | undefined */ - cores?: number | undefined + cores?: number | undefined; /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type number | undefined */ - memory?: number | undefined + memory?: number | undefined; } - | undefined + | undefined; /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type object | undefined @@ -8364,30 +8391,30 @@ export type AuthUser = { * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type number | undefined */ - customRules?: number | undefined + customRules?: number | undefined; /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type number | undefined */ - ipBlocks?: number | undefined + ipBlocks?: number | undefined; /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type number | undefined */ - ipBypass?: number | undefined + ipBypass?: number | undefined; /** * @description An object containing infomation related to the amount of platform resources may be allocated to the User account. * @type number | undefined */ - rateLimit?: number | undefined + rateLimit?: number | undefined; } - | undefined - } + | undefined; + }; /** * @description Prefix that will be used in the URL of \"Preview\" deployments created by the User account. * @type string */ - stagingPrefix: string + stagingPrefix: string; /** * @description set of dashboard view preferences (cards or list) per scopeId * @type array | undefined @@ -8397,27 +8424,27 @@ export type AuthUser = { /** * @type string */ - scopeId: string + scopeId: string; /** * @type string */ - viewPreference?: (ActiveDashboardViewsViewPreferenceEnum2 | null) | undefined + viewPreference?: (ActiveDashboardViewsViewPreferenceEnum2 | null) | undefined; /** * @type string */ - favoritesViewPreference?: (ActiveDashboardViewsFavoritesViewPreferenceEnum2 | null) | undefined + favoritesViewPreference?: (ActiveDashboardViewsFavoritesViewPreferenceEnum2 | null) | undefined; /** * @type string */ - recentsViewPreference?: (ActiveDashboardViewsRecentsViewPreferenceEnum2 | null) | undefined + recentsViewPreference?: (ActiveDashboardViewsRecentsViewPreferenceEnum2 | null) | undefined; }[] - | undefined - importFlowGitNamespace?: ((string | number) | null) | undefined - importFlowGitNamespaceId?: ((string | number) | null) | undefined + | undefined; + importFlowGitNamespace?: ((string | number) | null) | undefined; + importFlowGitNamespaceId?: ((string | number) | null) | undefined; /** * @type string */ - importFlowGitProvider?: (AuthUserImportFlowGitProviderEnum | null) | undefined + importFlowGitProvider?: (AuthUserImportFlowGitProviderEnum | null) | undefined; /** * @type array | undefined */ @@ -8426,10 +8453,10 @@ export type AuthUser = { /** * @type string */ - scopeId: string - gitNamespaceId: (string | number) | null + scopeId: string; + gitNamespaceId: (string | number) | null; }[] - | undefined + | undefined; /** * @description A record of when, under a certain scopeId, a toast was dismissed * @type array | undefined @@ -8439,7 +8466,7 @@ export type AuthUser = { /** * @type string */ - name: string + name: string; /** * @type array */ @@ -8447,14 +8474,14 @@ export type AuthUser = { /** * @type string */ - scopeId: string + scopeId: string; /** * @type number */ - createdAt: number - }[] + createdAt: number; + }[]; }[] - | undefined + | undefined; /** * @description A list of projects and spaces across teams that a user has marked as a favorite. * @type array | undefined @@ -8464,18 +8491,18 @@ export type AuthUser = { /** * @type string */ - teamId: string + teamId: string; /** * @type string */ - projectId: string + projectId: string; }[] - | undefined + | undefined; /** * @description Whether the user has a trial available for a paid plan subscription. * @type boolean */ - hasTrialAvailable: boolean + hasTrialAvailable: boolean; /** * @description remote caching settings * @type object | undefined @@ -8485,9 +8512,9 @@ export type AuthUser = { /** * @type boolean | undefined */ - enabled?: boolean | undefined + enabled?: boolean | undefined; } - | undefined + | undefined; /** * @description data cache settings * @type object | undefined @@ -8497,9 +8524,9 @@ export type AuthUser = { /** * @type boolean | undefined */ - excessBillingEnabled?: boolean | undefined + excessBillingEnabled?: boolean | undefined; } - | undefined + | undefined; /** * @description Feature blocks for the user * @type object | undefined @@ -8514,50 +8541,50 @@ export type AuthUser = { /** * @type number | undefined */ - blockedFrom?: number | undefined + blockedFrom?: number | undefined; /** * @type number | undefined */ - blockedUntil?: number | undefined + blockedUntil?: number | undefined; /** * @type boolean */ - isCurrentlyBlocked: boolean + isCurrentlyBlocked: boolean; } - | undefined + | undefined; } - | undefined + | undefined; /** * @description The User\'s unique identifier. * @type string */ - id: string + id: string; /** * @description Email address associated with the User account. * @type string */ - email: string + email: string; /** * @description Name associated with the User account, or `null` if none has been provided. * @type string */ - name: string | null + name: string | null; /** * @description Unique username associated with the User account. * @type string */ - username: string + username: string; /** * @description SHA1 hash of the avatar for the User account. Can be used in conjuction with the ... endpoint to retrieve the avatar image. * @type string */ - avatar: string | null + avatar: string | null; /** * @description The user\'s default team. * @type string */ - defaultTeamId: string | null -} + defaultTeamId: string | null; +}; /** * @description A limited form of data for the currently authenticated User, due to the authentication token missing privileges to read the full User data. @@ -8567,38 +8594,38 @@ export type AuthUserLimited = { * @description Property indicating that this User data contains only limited information, due to the authentication token missing privileges to read the full User data. Re-login with email, GitHub, GitLab or Bitbucket in order to upgrade the authentication token with the necessary privileges. * @type boolean */ - limited: boolean + limited: boolean; /** * @description The User\'s unique identifier. * @type string */ - id: string + id: string; /** * @description Email address associated with the User account. * @type string */ - email: string + email: string; /** * @description Name associated with the User account, or `null` if none has been provided. * @type string */ - name: string | null + name: string | null; /** * @description Unique username associated with the User account. * @type string */ - username: string + username: string; /** * @description SHA1 hash of the avatar for the User account. Can be used in conjuction with the ... endpoint to retrieve the avatar image. * @type string */ - avatar: string | null + avatar: string | null; /** * @description The user\'s default team. * @type string */ - defaultTeamId: string | null -} + defaultTeamId: string | null; +}; export const fileTreeTypeEnum = { directory: 'directory', @@ -8606,10 +8633,10 @@ export const fileTreeTypeEnum = { invalid: 'invalid', lambda: 'lambda', middleware: 'middleware', - symlink: 'symlink', -} as const + symlink: 'symlink' +} as const; -export type FileTreeTypeEnum = (typeof fileTreeTypeEnum)[keyof typeof fileTreeTypeEnum] +export type FileTreeTypeEnum = (typeof fileTreeTypeEnum)[keyof typeof fileTreeTypeEnum]; /** * @description A deployment file tree entry @@ -8619,175 +8646,175 @@ export type FileTree = { * @description The name of the file tree entry * @type string */ - name: string + name: string; /** * @description String indicating the type of file tree entry. * @type string */ - type: FileTreeTypeEnum + type: FileTreeTypeEnum; /** * @description The unique identifier of the file (only valid for the `file` type) * @type string | undefined */ - uid?: string | undefined + uid?: string | undefined; /** * @description The list of children files of the directory (only valid for the `directory` type) * @type array | undefined */ - children?: unknown[] | undefined + children?: unknown[] | undefined; /** * @description The content-type of the file (only valid for the `file` type) * @type string | undefined */ - contentType?: string | undefined + contentType?: string | undefined; /** * @description The file \"mode\" indicating file type and permissions. * @type number */ - mode: number + mode: number; /** * @description Not currently used. See `file-list-to-tree.ts`. * @type string | undefined */ - symlink?: string | undefined -} + symlink?: string | undefined; +}; export type ReadAccessGroupPathParams = { /** * @type string */ - idOrName: string -} + idOrName: string; +}; export type ReadAccessGroupQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type ReadAccessGroup200 = unknown +export type ReadAccessGroup200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type ReadAccessGroup400 = unknown +export type ReadAccessGroup400 = unknown; -export type ReadAccessGroup401 = unknown +export type ReadAccessGroup401 = unknown; /** * @description You do not have permission to access this resource. */ -export type ReadAccessGroup403 = unknown +export type ReadAccessGroup403 = unknown; -export type ReadAccessGroupQueryResponse = ReadAccessGroup200 +export type ReadAccessGroupQueryResponse = ReadAccessGroup200; export type ReadAccessGroupQuery = { - Response: ReadAccessGroup200 - PathParams: ReadAccessGroupPathParams - QueryParams: ReadAccessGroupQueryParams - Errors: ReadAccessGroup400 | ReadAccessGroup401 | ReadAccessGroup403 -} + Response: ReadAccessGroup200; + PathParams: ReadAccessGroupPathParams; + QueryParams: ReadAccessGroupQueryParams; + Errors: ReadAccessGroup400 | ReadAccessGroup401 | ReadAccessGroup403; +}; export type UpdateAccessGroupPathParams = { /** * @type string */ - idOrName: string -} + idOrName: string; +}; export type UpdateAccessGroupQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type UpdateAccessGroup200 = unknown +export type UpdateAccessGroup200 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type UpdateAccessGroup400 = unknown +export type UpdateAccessGroup400 = unknown; -export type UpdateAccessGroup401 = unknown +export type UpdateAccessGroup401 = unknown; /** * @description You do not have permission to access this resource. */ -export type UpdateAccessGroup403 = unknown +export type UpdateAccessGroup403 = unknown; -export type UpdateAccessGroupMutationResponse = UpdateAccessGroup200 +export type UpdateAccessGroupMutationResponse = UpdateAccessGroup200; export type UpdateAccessGroupMutation = { - Response: UpdateAccessGroup200 - PathParams: UpdateAccessGroupPathParams - QueryParams: UpdateAccessGroupQueryParams - Errors: UpdateAccessGroup400 | UpdateAccessGroup401 | UpdateAccessGroup403 -} + Response: UpdateAccessGroup200; + PathParams: UpdateAccessGroupPathParams; + QueryParams: UpdateAccessGroupQueryParams; + Errors: UpdateAccessGroup400 | UpdateAccessGroup401 | UpdateAccessGroup403; +}; export type DeleteAccessGroupPathParams = { /** * @type string */ - idOrName: string -} + idOrName: string; +}; export type DeleteAccessGroupQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type DeleteAccessGroup200 = unknown +export type DeleteAccessGroup200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type DeleteAccessGroup400 = unknown +export type DeleteAccessGroup400 = unknown; -export type DeleteAccessGroup401 = unknown +export type DeleteAccessGroup401 = unknown; /** * @description You do not have permission to access this resource. */ -export type DeleteAccessGroup403 = unknown +export type DeleteAccessGroup403 = unknown; -export type DeleteAccessGroupMutationResponse = DeleteAccessGroup200 +export type DeleteAccessGroupMutationResponse = DeleteAccessGroup200; export type DeleteAccessGroupMutation = { - Response: DeleteAccessGroup200 - PathParams: DeleteAccessGroupPathParams - QueryParams: DeleteAccessGroupQueryParams - Errors: DeleteAccessGroup400 | DeleteAccessGroup401 | DeleteAccessGroup403 -} + Response: DeleteAccessGroup200; + PathParams: DeleteAccessGroupPathParams; + QueryParams: DeleteAccessGroupQueryParams; + Errors: DeleteAccessGroup400 | DeleteAccessGroup401 | DeleteAccessGroup403; +}; export type ListAccessGroupMembersPathParams = { /** * @description The ID or name of the Access Group. * @type string */ - idOrName: string -} + idOrName: string; +}; export type ListAccessGroupMembersQueryParams = { /** @@ -8796,165 +8823,165 @@ export type ListAccessGroupMembersQueryParams = { * @maxLength 100 * @type integer | undefined */ - limit?: number | undefined + limit?: number | undefined; /** * @description Continuation cursor to retrieve the next page of results. * @type string | undefined */ - next?: string | undefined + next?: string | undefined; /** * @description Search project members by their name, username, and email. * @type string | undefined */ - search?: string | undefined + search?: string | undefined; /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type ListAccessGroupMembers200 = unknown +export type ListAccessGroupMembers200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type ListAccessGroupMembers400 = unknown +export type ListAccessGroupMembers400 = unknown; -export type ListAccessGroupMembers401 = unknown +export type ListAccessGroupMembers401 = unknown; /** * @description You do not have permission to access this resource. */ -export type ListAccessGroupMembers403 = unknown +export type ListAccessGroupMembers403 = unknown; -export type ListAccessGroupMembersQueryResponse = ListAccessGroupMembers200 +export type ListAccessGroupMembersQueryResponse = ListAccessGroupMembers200; export type ListAccessGroupMembersQuery = { - Response: ListAccessGroupMembers200 - PathParams: ListAccessGroupMembersPathParams - QueryParams: ListAccessGroupMembersQueryParams - Errors: ListAccessGroupMembers400 | ListAccessGroupMembers401 | ListAccessGroupMembers403 -} + Response: ListAccessGroupMembers200; + PathParams: ListAccessGroupMembersPathParams; + QueryParams: ListAccessGroupMembersQueryParams; + Errors: ListAccessGroupMembers400 | ListAccessGroupMembers401 | ListAccessGroupMembers403; +}; export type ListAccessGroupsQueryParams = { /** * @description Filter access groups by project. * @type string | undefined */ - projectId?: string | undefined + projectId?: string | undefined; /** * @description Search for access groups by name. * @type string | undefined */ - search?: string | undefined + search?: string | undefined; /** * @description Number of members to include in the response. * @minLength 1 * @maxLength 100 * @type integer | undefined */ - membersLimit?: number | undefined + membersLimit?: number | undefined; /** * @description Number of projects to include in the response. * @minLength 1 * @maxLength 100 * @type integer | undefined */ - projectsLimit?: number | undefined + projectsLimit?: number | undefined; /** * @description Limit how many access group should be returned. * @minLength 1 * @maxLength 100 * @type integer | undefined */ - limit?: number | undefined + limit?: number | undefined; /** * @description Continuation cursor to retrieve the next page of results. * @type string | undefined */ - next?: string | undefined + next?: string | undefined; /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type ListAccessGroups200 = unknown +export type ListAccessGroups200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type ListAccessGroups400 = unknown +export type ListAccessGroups400 = unknown; -export type ListAccessGroups401 = unknown +export type ListAccessGroups401 = unknown; /** * @description You do not have permission to access this resource. */ -export type ListAccessGroups403 = unknown +export type ListAccessGroups403 = unknown; -export type ListAccessGroupsQueryResponse = ListAccessGroups200 +export type ListAccessGroupsQueryResponse = ListAccessGroups200; export type ListAccessGroupsQuery = { - Response: ListAccessGroups200 - QueryParams: ListAccessGroupsQueryParams - Errors: ListAccessGroups400 | ListAccessGroups401 | ListAccessGroups403 -} + Response: ListAccessGroups200; + QueryParams: ListAccessGroupsQueryParams; + Errors: ListAccessGroups400 | ListAccessGroups401 | ListAccessGroups403; +}; export type CreateAccessGroupQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type CreateAccessGroup200 = unknown +export type CreateAccessGroup200 = unknown; /** * @description One of the provided values in the request body is invalid. */ -export type CreateAccessGroup400 = unknown +export type CreateAccessGroup400 = unknown; -export type CreateAccessGroup401 = unknown +export type CreateAccessGroup401 = unknown; /** * @description You do not have permission to access this resource. */ -export type CreateAccessGroup403 = unknown +export type CreateAccessGroup403 = unknown; -export type CreateAccessGroupMutationResponse = CreateAccessGroup200 +export type CreateAccessGroupMutationResponse = CreateAccessGroup200; export type CreateAccessGroupMutation = { - Response: CreateAccessGroup200 - QueryParams: CreateAccessGroupQueryParams - Errors: CreateAccessGroup400 | CreateAccessGroup401 | CreateAccessGroup403 -} + Response: CreateAccessGroup200; + QueryParams: CreateAccessGroupQueryParams; + Errors: CreateAccessGroup400 | CreateAccessGroup401 | CreateAccessGroup403; +}; export type ListAccessGroupProjectsPathParams = { /** * @description The ID or name of the Access Group. * @type string */ - idOrName: string -} + idOrName: string; +}; export type ListAccessGroupProjectsQueryParams = { /** @@ -8963,243 +8990,243 @@ export type ListAccessGroupProjectsQueryParams = { * @maxLength 100 * @type integer | undefined */ - limit?: number | undefined + limit?: number | undefined; /** * @description Continuation cursor to retrieve the next page of results. * @type string | undefined */ - next?: string | undefined + next?: string | undefined; /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type ListAccessGroupProjects200 = unknown +export type ListAccessGroupProjects200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type ListAccessGroupProjects400 = unknown +export type ListAccessGroupProjects400 = unknown; -export type ListAccessGroupProjects401 = unknown +export type ListAccessGroupProjects401 = unknown; /** * @description You do not have permission to access this resource. */ -export type ListAccessGroupProjects403 = unknown +export type ListAccessGroupProjects403 = unknown; -export type ListAccessGroupProjectsQueryResponse = ListAccessGroupProjects200 +export type ListAccessGroupProjectsQueryResponse = ListAccessGroupProjects200; export type ListAccessGroupProjectsQuery = { - Response: ListAccessGroupProjects200 - PathParams: ListAccessGroupProjectsPathParams - QueryParams: ListAccessGroupProjectsQueryParams - Errors: ListAccessGroupProjects400 | ListAccessGroupProjects401 | ListAccessGroupProjects403 -} + Response: ListAccessGroupProjects200; + PathParams: ListAccessGroupProjectsPathParams; + QueryParams: ListAccessGroupProjectsQueryParams; + Errors: ListAccessGroupProjects400 | ListAccessGroupProjects401 | ListAccessGroupProjects403; +}; export type CreateAccessGroupProjectPathParams = { /** * @type string */ - accessGroupIdOrName: string -} + accessGroupIdOrName: string; +}; export type CreateAccessGroupProjectQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type CreateAccessGroupProject200 = unknown +export type CreateAccessGroupProject200 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type CreateAccessGroupProject400 = unknown +export type CreateAccessGroupProject400 = unknown; -export type CreateAccessGroupProject401 = unknown +export type CreateAccessGroupProject401 = unknown; /** * @description You do not have permission to access this resource. */ -export type CreateAccessGroupProject403 = unknown +export type CreateAccessGroupProject403 = unknown; -export type CreateAccessGroupProjectMutationResponse = CreateAccessGroupProject200 +export type CreateAccessGroupProjectMutationResponse = CreateAccessGroupProject200; export type CreateAccessGroupProjectMutation = { - Response: CreateAccessGroupProject200 - PathParams: CreateAccessGroupProjectPathParams - QueryParams: CreateAccessGroupProjectQueryParams - Errors: CreateAccessGroupProject400 | CreateAccessGroupProject401 | CreateAccessGroupProject403 -} + Response: CreateAccessGroupProject200; + PathParams: CreateAccessGroupProjectPathParams; + QueryParams: CreateAccessGroupProjectQueryParams; + Errors: CreateAccessGroupProject400 | CreateAccessGroupProject401 | CreateAccessGroupProject403; +}; export type ReadAccessGroupProjectPathParams = { /** * @type string */ - accessGroupIdOrName: string + accessGroupIdOrName: string; /** * @type string */ - projectId: string -} + projectId: string; +}; export type ReadAccessGroupProjectQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type ReadAccessGroupProject200 = unknown +export type ReadAccessGroupProject200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type ReadAccessGroupProject400 = unknown +export type ReadAccessGroupProject400 = unknown; -export type ReadAccessGroupProject401 = unknown +export type ReadAccessGroupProject401 = unknown; /** * @description You do not have permission to access this resource. */ -export type ReadAccessGroupProject403 = unknown +export type ReadAccessGroupProject403 = unknown; -export type ReadAccessGroupProjectQueryResponse = ReadAccessGroupProject200 +export type ReadAccessGroupProjectQueryResponse = ReadAccessGroupProject200; export type ReadAccessGroupProjectQuery = { - Response: ReadAccessGroupProject200 - PathParams: ReadAccessGroupProjectPathParams - QueryParams: ReadAccessGroupProjectQueryParams - Errors: ReadAccessGroupProject400 | ReadAccessGroupProject401 | ReadAccessGroupProject403 -} + Response: ReadAccessGroupProject200; + PathParams: ReadAccessGroupProjectPathParams; + QueryParams: ReadAccessGroupProjectQueryParams; + Errors: ReadAccessGroupProject400 | ReadAccessGroupProject401 | ReadAccessGroupProject403; +}; export type UpdateAccessGroupProjectPathParams = { /** * @type string */ - accessGroupIdOrName: string + accessGroupIdOrName: string; /** * @type string */ - projectId: string -} + projectId: string; +}; export type UpdateAccessGroupProjectQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type UpdateAccessGroupProject200 = unknown +export type UpdateAccessGroupProject200 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type UpdateAccessGroupProject400 = unknown +export type UpdateAccessGroupProject400 = unknown; -export type UpdateAccessGroupProject401 = unknown +export type UpdateAccessGroupProject401 = unknown; /** * @description You do not have permission to access this resource. */ -export type UpdateAccessGroupProject403 = unknown +export type UpdateAccessGroupProject403 = unknown; -export type UpdateAccessGroupProjectMutationResponse = UpdateAccessGroupProject200 +export type UpdateAccessGroupProjectMutationResponse = UpdateAccessGroupProject200; export type UpdateAccessGroupProjectMutation = { - Response: UpdateAccessGroupProject200 - PathParams: UpdateAccessGroupProjectPathParams - QueryParams: UpdateAccessGroupProjectQueryParams - Errors: UpdateAccessGroupProject400 | UpdateAccessGroupProject401 | UpdateAccessGroupProject403 -} + Response: UpdateAccessGroupProject200; + PathParams: UpdateAccessGroupProjectPathParams; + QueryParams: UpdateAccessGroupProjectQueryParams; + Errors: UpdateAccessGroupProject400 | UpdateAccessGroupProject401 | UpdateAccessGroupProject403; +}; export type DeleteAccessGroupProjectPathParams = { /** * @type string */ - accessGroupIdOrName: string + accessGroupIdOrName: string; /** * @type string */ - projectId: string -} + projectId: string; +}; export type DeleteAccessGroupProjectQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type DeleteAccessGroupProject200 = unknown +export type DeleteAccessGroupProject200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type DeleteAccessGroupProject400 = unknown +export type DeleteAccessGroupProject400 = unknown; -export type DeleteAccessGroupProject401 = unknown +export type DeleteAccessGroupProject401 = unknown; /** * @description You do not have permission to access this resource. */ -export type DeleteAccessGroupProject403 = unknown +export type DeleteAccessGroupProject403 = unknown; -export type DeleteAccessGroupProjectMutationResponse = DeleteAccessGroupProject200 +export type DeleteAccessGroupProjectMutationResponse = DeleteAccessGroupProject200; export type DeleteAccessGroupProjectMutation = { - Response: DeleteAccessGroupProject200 - PathParams: DeleteAccessGroupProjectPathParams - QueryParams: DeleteAccessGroupProjectQueryParams - Errors: DeleteAccessGroupProject400 | DeleteAccessGroupProject401 | DeleteAccessGroupProject403 -} + Response: DeleteAccessGroupProject200; + PathParams: DeleteAccessGroupProjectPathParams; + QueryParams: DeleteAccessGroupProjectQueryParams; + Errors: DeleteAccessGroupProject400 | DeleteAccessGroupProject401 | DeleteAccessGroupProject403; +}; export type RecordEventsQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; export type RecordEventsHeaderParams = { /** @@ -9207,189 +9234,189 @@ export type RecordEventsHeaderParams = { * @maxLength 50 * @type string | undefined */ - 'x-artifact-client-ci'?: string | undefined + 'x-artifact-client-ci'?: string | undefined; /** * @description 1 if the client is an interactive shell. Otherwise 0 * @minLength 0 * @maxLength 1 * @type integer | undefined */ - 'x-artifact-client-interactive'?: number | undefined -} + 'x-artifact-client-interactive'?: number | undefined; +}; /** * @description Success. Event recorded. */ -export type RecordEvents200 = unknown +export type RecordEvents200 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the headers is invalid */ -export type RecordEvents400 = unknown +export type RecordEvents400 = unknown; -export type RecordEvents401 = unknown +export type RecordEvents401 = unknown; /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export type RecordEvents402 = unknown +export type RecordEvents402 = unknown; /** * @description The customer has reached their spend cap limit and has been paused. An owner can disable the cap or raise the limit in settings.\nThe Remote Caching usage limit has been reached for this account for this billing cycle.\nRemote Caching has been disabled for this team or user. An owner can enable it in the billing settings.\nYou do not have permission to access this resource. */ -export type RecordEvents403 = unknown +export type RecordEvents403 = unknown; -export type RecordEventsMutationResponse = RecordEvents200 +export type RecordEventsMutationResponse = RecordEvents200; export type RecordEventsMutation = { - Response: RecordEvents200 - QueryParams: RecordEventsQueryParams - HeaderParams: RecordEventsHeaderParams - Errors: RecordEvents400 | RecordEvents401 | RecordEvents402 | RecordEvents403 -} + Response: RecordEvents200; + QueryParams: RecordEventsQueryParams; + HeaderParams: RecordEventsHeaderParams; + Errors: RecordEvents400 | RecordEvents401 | RecordEvents402 | RecordEvents403; +}; export type StatusQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type Status200 = unknown +export type Status200 = unknown; -export type Status400 = unknown +export type Status400 = unknown; -export type Status401 = unknown +export type Status401 = unknown; /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export type Status402 = unknown +export type Status402 = unknown; /** * @description You do not have permission to access this resource. */ -export type Status403 = unknown +export type Status403 = unknown; -export type StatusQueryResponse = Status200 +export type StatusQueryResponse = Status200; export type StatusQuery = { - Response: Status200 - QueryParams: StatusQueryParams - Errors: Status400 | Status401 | Status402 | Status403 -} + Response: Status200; + QueryParams: StatusQueryParams; + Errors: Status400 | Status401 | Status402 | Status403; +}; export type UploadArtifactPathParams = { /** * @description The artifact hash * @type string */ - hash: string -} + hash: string; +}; export type UploadArtifactQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; export type UploadArtifactHeaderParams = { /** * @description The artifact size in bytes * @type number */ - 'Content-Length': number + 'Content-Length': number; /** * @description The time taken to generate the uploaded artifact in milliseconds. * @type number | undefined */ - 'x-artifact-duration'?: number | undefined + 'x-artifact-duration'?: number | undefined; /** * @description The continuous integration or delivery environment where this artifact was generated. * @maxLength 50 * @type string | undefined */ - 'x-artifact-client-ci'?: string | undefined + 'x-artifact-client-ci'?: string | undefined; /** * @description 1 if the client is an interactive shell. Otherwise 0 * @minLength 0 * @maxLength 1 * @type integer | undefined */ - 'x-artifact-client-interactive'?: number | undefined + 'x-artifact-client-interactive'?: number | undefined; /** * @description The base64 encoded tag for this artifact. The value is sent back to clients when the artifact is downloaded as the header `x-artifact-tag` * @maxLength 600 * @type string | undefined */ - 'x-artifact-tag'?: string | undefined -} + 'x-artifact-tag'?: string | undefined; +}; /** * @description File successfully uploaded */ -export type UploadArtifact202 = unknown +export type UploadArtifact202 = unknown; /** * @description One of the provided values in the request query is invalid.\nOne of the provided values in the headers is invalid\nFile size is not valid */ -export type UploadArtifact400 = unknown +export type UploadArtifact400 = unknown; -export type UploadArtifact401 = unknown +export type UploadArtifact401 = unknown; /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export type UploadArtifact402 = unknown +export type UploadArtifact402 = unknown; /** * @description The customer has reached their spend cap limit and has been paused. An owner can disable the cap or raise the limit in settings.\nThe Remote Caching usage limit has been reached for this account for this billing cycle.\nRemote Caching has been disabled for this team or user. An owner can enable it in the billing settings.\nYou do not have permission to access this resource. */ -export type UploadArtifact403 = unknown +export type UploadArtifact403 = unknown; -export type UploadArtifactMutationResponse = UploadArtifact202 +export type UploadArtifactMutationResponse = UploadArtifact202; export type UploadArtifactMutation = { - Response: UploadArtifact202 - PathParams: UploadArtifactPathParams - QueryParams: UploadArtifactQueryParams - HeaderParams: UploadArtifactHeaderParams - Errors: UploadArtifact400 | UploadArtifact401 | UploadArtifact402 | UploadArtifact403 -} + Response: UploadArtifact202; + PathParams: UploadArtifactPathParams; + QueryParams: UploadArtifactQueryParams; + HeaderParams: UploadArtifactHeaderParams; + Errors: UploadArtifact400 | UploadArtifact401 | UploadArtifact402 | UploadArtifact403; +}; export type DownloadArtifactPathParams = { /** * @description The artifact hash * @type string */ - hash: string -} + hash: string; +}; export type DownloadArtifactQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; export type DownloadArtifactHeaderParams = { /** @@ -9397,500 +9424,506 @@ export type DownloadArtifactHeaderParams = { * @maxLength 50 * @type string | undefined */ - 'x-artifact-client-ci'?: string | undefined + 'x-artifact-client-ci'?: string | undefined; /** * @description 1 if the client is an interactive shell. Otherwise 0 * @minLength 0 * @maxLength 1 * @type integer | undefined */ - 'x-artifact-client-interactive'?: number | undefined -} + 'x-artifact-client-interactive'?: number | undefined; +}; /** * @description The artifact was found and is downloaded as a stream. Content-Length should be verified. */ -export type DownloadArtifact200 = unknown +export type DownloadArtifact200 = unknown; /** * @description One of the provided values in the request query is invalid.\nOne of the provided values in the headers is invalid */ -export type DownloadArtifact400 = unknown +export type DownloadArtifact400 = unknown; -export type DownloadArtifact401 = unknown +export type DownloadArtifact401 = unknown; /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export type DownloadArtifact402 = unknown +export type DownloadArtifact402 = unknown; /** * @description The customer has reached their spend cap limit and has been paused. An owner can disable the cap or raise the limit in settings.\nThe Remote Caching usage limit has been reached for this account for this billing cycle.\nRemote Caching has been disabled for this team or user. An owner can enable it in the billing settings.\nYou do not have permission to access this resource. */ -export type DownloadArtifact403 = unknown +export type DownloadArtifact403 = unknown; /** * @description The artifact was not found */ -export type DownloadArtifact404 = unknown +export type DownloadArtifact404 = unknown; -export type DownloadArtifactQueryResponse = DownloadArtifact200 +export type DownloadArtifactQueryResponse = DownloadArtifact200; export type DownloadArtifactQuery = { - Response: DownloadArtifact200 - PathParams: DownloadArtifactPathParams - QueryParams: DownloadArtifactQueryParams - HeaderParams: DownloadArtifactHeaderParams - Errors: DownloadArtifact400 | DownloadArtifact401 | DownloadArtifact402 | DownloadArtifact403 | DownloadArtifact404 -} + Response: DownloadArtifact200; + PathParams: DownloadArtifactPathParams; + QueryParams: DownloadArtifactQueryParams; + HeaderParams: DownloadArtifactHeaderParams; + Errors: DownloadArtifact400 | DownloadArtifact401 | DownloadArtifact402 | DownloadArtifact403 | DownloadArtifact404; +}; export type ArtifactQueryQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type ArtifactQuery200 = unknown +export type ArtifactQuery200 = unknown; /** * @description One of the provided values in the request body is invalid. */ -export type ArtifactQuery400 = unknown +export type ArtifactQuery400 = unknown; -export type ArtifactQuery401 = unknown +export type ArtifactQuery401 = unknown; /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export type ArtifactQuery402 = unknown +export type ArtifactQuery402 = unknown; /** * @description The customer has reached their spend cap limit and has been paused. An owner can disable the cap or raise the limit in settings.\nThe Remote Caching usage limit has been reached for this account for this billing cycle.\nRemote Caching has been disabled for this team or user. An owner can enable it in the billing settings.\nYou do not have permission to access this resource. */ -export type ArtifactQuery403 = unknown +export type ArtifactQuery403 = unknown; -export type ArtifactQueryMutationResponse = ArtifactQuery200 +export type ArtifactQueryMutationResponse = ArtifactQuery200; export type ArtifactQueryMutation = { - Response: ArtifactQuery200 - QueryParams: ArtifactQueryQueryParams - Errors: ArtifactQuery400 | ArtifactQuery401 | ArtifactQuery402 | ArtifactQuery403 -} + Response: ArtifactQuery200; + QueryParams: ArtifactQueryQueryParams; + Errors: ArtifactQuery400 | ArtifactQuery401 | ArtifactQuery402 | ArtifactQuery403; +}; export type CreateCheckPathParams = { /** * @description The deployment to create the check for. * @type string */ - deploymentId: string -} + deploymentId: string; +}; export type CreateCheckQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type CreateCheck200 = unknown +export type CreateCheck200 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nCannot create check for finished deployment\nThe provided token is not from an OAuth2 Client */ -export type CreateCheck400 = unknown +export type CreateCheck400 = unknown; -export type CreateCheck401 = unknown +export type CreateCheck401 = unknown; /** * @description You do not have permission to access this resource. */ -export type CreateCheck403 = unknown +export type CreateCheck403 = unknown; /** * @description The deployment was not found */ -export type CreateCheck404 = unknown +export type CreateCheck404 = unknown; -export type CreateCheckMutationResponse = CreateCheck200 +export type CreateCheckMutationResponse = CreateCheck200; export type CreateCheckMutation = { - Response: CreateCheck200 - PathParams: CreateCheckPathParams - QueryParams: CreateCheckQueryParams - Errors: CreateCheck400 | CreateCheck401 | CreateCheck403 | CreateCheck404 -} + Response: CreateCheck200; + PathParams: CreateCheckPathParams; + QueryParams: CreateCheckQueryParams; + Errors: CreateCheck400 | CreateCheck401 | CreateCheck403 | CreateCheck404; +}; export type GetAllChecksPathParams = { /** * @description The deployment to get all checks for * @type string */ - deploymentId: string -} + deploymentId: string; +}; export type GetAllChecksQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type GetAllChecks200 = unknown +export type GetAllChecks200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type GetAllChecks400 = unknown +export type GetAllChecks400 = unknown; -export type GetAllChecks401 = unknown +export type GetAllChecks401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetAllChecks403 = unknown +export type GetAllChecks403 = unknown; /** * @description The deployment was not found */ -export type GetAllChecks404 = unknown +export type GetAllChecks404 = unknown; -export type GetAllChecksQueryResponse = GetAllChecks200 +export type GetAllChecksQueryResponse = GetAllChecks200; export type GetAllChecksQuery = { - Response: GetAllChecks200 - PathParams: GetAllChecksPathParams - QueryParams: GetAllChecksQueryParams - Errors: GetAllChecks400 | GetAllChecks401 | GetAllChecks403 | GetAllChecks404 -} + Response: GetAllChecks200; + PathParams: GetAllChecksPathParams; + QueryParams: GetAllChecksQueryParams; + Errors: GetAllChecks400 | GetAllChecks401 | GetAllChecks403 | GetAllChecks404; +}; export type GetCheckPathParams = { /** * @description The deployment to get the check for. * @type string */ - deploymentId: string + deploymentId: string; /** * @description The check to fetch * @type string */ - checkId: string -} + checkId: string; +}; export type GetCheckQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type GetCheck200 = unknown +export type GetCheck200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type GetCheck400 = unknown +export type GetCheck400 = unknown; -export type GetCheck401 = unknown +export type GetCheck401 = unknown; /** * @description You do not have permission to access this resource.\nThe provided token is not from an OAuth2 Client that created the Check */ -export type GetCheck403 = unknown +export type GetCheck403 = unknown; /** * @description Check was not found\nThe deployment was not found */ -export type GetCheck404 = unknown +export type GetCheck404 = unknown; -export type GetCheckQueryResponse = GetCheck200 +export type GetCheckQueryResponse = GetCheck200; export type GetCheckQuery = { - Response: GetCheck200 - PathParams: GetCheckPathParams - QueryParams: GetCheckQueryParams - Errors: GetCheck400 | GetCheck401 | GetCheck403 | GetCheck404 -} + Response: GetCheck200; + PathParams: GetCheckPathParams; + QueryParams: GetCheckQueryParams; + Errors: GetCheck400 | GetCheck401 | GetCheck403 | GetCheck404; +}; export type UpdateCheckPathParams = { /** * @description The deployment to update the check for. * @type string */ - deploymentId: string + deploymentId: string; /** * @description The check being updated * @type string */ - checkId: string -} + checkId: string; +}; export type UpdateCheckQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type UpdateCheck200 = unknown +export type UpdateCheck200 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nThe provided token is not from an OAuth2 Client */ -export type UpdateCheck400 = unknown +export type UpdateCheck400 = unknown; -export type UpdateCheck401 = unknown +export type UpdateCheck401 = unknown; /** * @description You do not have permission to access this resource. */ -export type UpdateCheck403 = unknown +export type UpdateCheck403 = unknown; /** * @description Check was not found\nThe deployment was not found */ -export type UpdateCheck404 = unknown +export type UpdateCheck404 = unknown; /** * @description The output provided is too large */ -export type UpdateCheck413 = unknown +export type UpdateCheck413 = unknown; -export type UpdateCheckMutationResponse = UpdateCheck200 +export type UpdateCheckMutationResponse = UpdateCheck200; export type UpdateCheckMutation = { - Response: UpdateCheck200 - PathParams: UpdateCheckPathParams - QueryParams: UpdateCheckQueryParams - Errors: UpdateCheck400 | UpdateCheck401 | UpdateCheck403 | UpdateCheck404 | UpdateCheck413 -} + Response: UpdateCheck200; + PathParams: UpdateCheckPathParams; + QueryParams: UpdateCheckQueryParams; + Errors: UpdateCheck400 | UpdateCheck401 | UpdateCheck403 | UpdateCheck404 | UpdateCheck413; +}; export type RerequestCheckPathParams = { /** * @description The deployment to rerun the check for. * @type string */ - deploymentId: string + deploymentId: string; /** * @description The check to rerun * @type string */ - checkId: string -} + checkId: string; +}; export type RerequestCheckQueryParams = { /** * @description Mark the check as running * @type boolean | undefined */ - autoUpdate?: boolean | undefined + autoUpdate?: boolean | undefined; /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type RerequestCheck200 = unknown +export type RerequestCheck200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type RerequestCheck400 = unknown +export type RerequestCheck400 = unknown; -export type RerequestCheck401 = unknown +export type RerequestCheck401 = unknown; /** * @description You do not have permission to access this resource. */ -export type RerequestCheck403 = unknown +export type RerequestCheck403 = unknown; /** * @description The deployment was not found\nCheck was not found */ -export type RerequestCheck404 = unknown +export type RerequestCheck404 = unknown; -export type RerequestCheckMutationResponse = RerequestCheck200 +export type RerequestCheckMutationResponse = RerequestCheck200; export type RerequestCheckMutation = { - Response: RerequestCheck200 - PathParams: RerequestCheckPathParams - QueryParams: RerequestCheckQueryParams - Errors: RerequestCheck400 | RerequestCheck401 | RerequestCheck403 | RerequestCheck404 -} + Response: RerequestCheck200; + PathParams: RerequestCheckPathParams; + QueryParams: RerequestCheckQueryParams; + Errors: RerequestCheck400 | RerequestCheck401 | RerequestCheck403 | RerequestCheck404; +}; export type PurgeAllDataCacheQueryParams = { /** * @type string */ - projectIdOrName: string -} + projectIdOrName: string; +}; -export type PurgeAllDataCache200 = unknown +export type PurgeAllDataCache200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type PurgeAllDataCache400 = unknown +export type PurgeAllDataCache400 = unknown; -export type PurgeAllDataCache401 = unknown +export type PurgeAllDataCache401 = unknown; /** * @description You do not have permission to access this resource. */ -export type PurgeAllDataCache403 = unknown +export type PurgeAllDataCache403 = unknown; -export type PurgeAllDataCache404 = unknown +export type PurgeAllDataCache404 = unknown; -export type PurgeAllDataCacheMutationResponse = PurgeAllDataCache200 +export type PurgeAllDataCacheMutationResponse = PurgeAllDataCache200; export type PurgeAllDataCacheMutation = { - Response: PurgeAllDataCache200 - QueryParams: PurgeAllDataCacheQueryParams - Errors: PurgeAllDataCache400 | PurgeAllDataCache401 | PurgeAllDataCache403 | PurgeAllDataCache404 -} + Response: PurgeAllDataCache200; + QueryParams: PurgeAllDataCacheQueryParams; + Errors: PurgeAllDataCache400 | PurgeAllDataCache401 | PurgeAllDataCache403 | PurgeAllDataCache404; +}; -export type UpdateDataCacheBillingSettings200 = unknown +export type UpdateDataCacheBillingSettings200 = unknown; /** * @description One of the provided values in the request body is invalid. */ -export type UpdateDataCacheBillingSettings400 = unknown +export type UpdateDataCacheBillingSettings400 = unknown; -export type UpdateDataCacheBillingSettings401 = unknown +export type UpdateDataCacheBillingSettings401 = unknown; /** * @description You do not have permission to access this resource. */ -export type UpdateDataCacheBillingSettings403 = unknown +export type UpdateDataCacheBillingSettings403 = unknown; -export type UpdateDataCacheBillingSettings404 = unknown +export type UpdateDataCacheBillingSettings404 = unknown; -export type UpdateDataCacheBillingSettingsMutationResponse = UpdateDataCacheBillingSettings200 +export type UpdateDataCacheBillingSettingsMutationResponse = UpdateDataCacheBillingSettings200; export type UpdateDataCacheBillingSettingsMutation = { - Response: UpdateDataCacheBillingSettings200 - Errors: UpdateDataCacheBillingSettings400 | UpdateDataCacheBillingSettings401 | UpdateDataCacheBillingSettings403 | UpdateDataCacheBillingSettings404 -} + Response: UpdateDataCacheBillingSettings200; + Errors: + | UpdateDataCacheBillingSettings400 + | UpdateDataCacheBillingSettings401 + | UpdateDataCacheBillingSettings403 + | UpdateDataCacheBillingSettings404; +}; export type UpdateProjectDataCachePathParams = { /** * @description The unique project identifier * @type string */ - projectId: string -} + projectId: string; +}; export type UpdateProjectDataCacheQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type UpdateProjectDataCache200 = unknown +export type UpdateProjectDataCache200 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type UpdateProjectDataCache400 = unknown +export type UpdateProjectDataCache400 = unknown; -export type UpdateProjectDataCache401 = unknown +export type UpdateProjectDataCache401 = unknown; /** * @description You do not have permission to access this resource. */ -export type UpdateProjectDataCache403 = unknown +export type UpdateProjectDataCache403 = unknown; -export type UpdateProjectDataCache404 = unknown +export type UpdateProjectDataCache404 = unknown; -export type UpdateProjectDataCacheMutationResponse = UpdateProjectDataCache200 +export type UpdateProjectDataCacheMutationResponse = UpdateProjectDataCache200; export type UpdateProjectDataCacheMutation = { - Response: UpdateProjectDataCache200 - PathParams: UpdateProjectDataCachePathParams - QueryParams: UpdateProjectDataCacheQueryParams - Errors: UpdateProjectDataCache400 | UpdateProjectDataCache401 | UpdateProjectDataCache403 | UpdateProjectDataCache404 -} + Response: UpdateProjectDataCache200; + PathParams: UpdateProjectDataCachePathParams; + QueryParams: UpdateProjectDataCacheQueryParams; + Errors: UpdateProjectDataCache400 | UpdateProjectDataCache401 | UpdateProjectDataCache403 | UpdateProjectDataCache404; +}; export type GetDeploymentEventsPathParams = { /** * @description The unique identifier or hostname of the deployment. * @type string */ - idOrUrl: string -} + idOrUrl: string; +}; export const getDeploymentEventsQueryParamsDirectionEnum = { backward: 'backward', - forward: 'forward', -} as const + forward: 'forward' +} as const; export type GetDeploymentEventsQueryParamsDirectionEnum = - (typeof getDeploymentEventsQueryParamsDirectionEnum)[keyof typeof getDeploymentEventsQueryParamsDirectionEnum] + (typeof getDeploymentEventsQueryParamsDirectionEnum)[keyof typeof getDeploymentEventsQueryParamsDirectionEnum]; export const getDeploymentEventsQueryParamsFollowEnum = { '0': 0, - '1': 1, -} as const + '1': 1 +} as const; -export type GetDeploymentEventsQueryParamsFollowEnum = (typeof getDeploymentEventsQueryParamsFollowEnum)[keyof typeof getDeploymentEventsQueryParamsFollowEnum] +export type GetDeploymentEventsQueryParamsFollowEnum = + (typeof getDeploymentEventsQueryParamsFollowEnum)[keyof typeof getDeploymentEventsQueryParamsFollowEnum]; export const getDeploymentEventsQueryParamsDelimiterEnum = { '0': 0, - '1': 1, -} as const + '1': 1 +} as const; export type GetDeploymentEventsQueryParamsDelimiterEnum = - (typeof getDeploymentEventsQueryParamsDelimiterEnum)[keyof typeof getDeploymentEventsQueryParamsDelimiterEnum] + (typeof getDeploymentEventsQueryParamsDelimiterEnum)[keyof typeof getDeploymentEventsQueryParamsDelimiterEnum]; export const getDeploymentEventsQueryParamsBuildsEnum = { '0': 0, - '1': 1, -} as const + '1': 1 +} as const; -export type GetDeploymentEventsQueryParamsBuildsEnum = (typeof getDeploymentEventsQueryParamsBuildsEnum)[keyof typeof getDeploymentEventsQueryParamsBuildsEnum] +export type GetDeploymentEventsQueryParamsBuildsEnum = + (typeof getDeploymentEventsQueryParamsBuildsEnum)[keyof typeof getDeploymentEventsQueryParamsBuildsEnum]; export type GetDeploymentEventsQueryParams = { /** @@ -9898,249 +9931,253 @@ export type GetDeploymentEventsQueryParams = { * @default "forward" * @type string | undefined */ - direction?: GetDeploymentEventsQueryParamsDirectionEnum | undefined + direction?: GetDeploymentEventsQueryParamsDirectionEnum | undefined; /** * @description When enabled, this endpoint will return live events as they happen. * @type number | undefined */ - follow?: GetDeploymentEventsQueryParamsFollowEnum | undefined + follow?: GetDeploymentEventsQueryParamsFollowEnum | undefined; /** * @description Maximum number of events to return. Provide `-1` to return all available logs. * @type number | undefined */ - limit?: number | undefined + limit?: number | undefined; /** * @description Deployment build ID. * @type string | undefined */ - name?: string | undefined + name?: string | undefined; /** * @description Timestamp for when build logs should be pulled from. * @type number | undefined */ - since?: number | undefined + since?: number | undefined; /** * @description Timestamp for when the build logs should be pulled up until. * @type number | undefined */ - until?: number | undefined + until?: number | undefined; /** * @description HTTP status code range to filter events by. */ - statusCode?: (number | string) | undefined + statusCode?: (number | string) | undefined; /** * @type number | undefined */ - delimiter?: GetDeploymentEventsQueryParamsDelimiterEnum | undefined + delimiter?: GetDeploymentEventsQueryParamsDelimiterEnum | undefined; /** * @type number | undefined */ - builds?: GetDeploymentEventsQueryParamsBuildsEnum | undefined + builds?: GetDeploymentEventsQueryParamsBuildsEnum | undefined; /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type GetDeploymentEvents200 = unknown +export type GetDeploymentEvents200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type GetDeploymentEvents400 = unknown +export type GetDeploymentEvents400 = unknown; -export type GetDeploymentEvents401 = unknown +export type GetDeploymentEvents401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetDeploymentEvents403 = unknown +export type GetDeploymentEvents403 = unknown; -export type GetDeploymentEvents500 = unknown +export type GetDeploymentEvents500 = unknown; -export type GetDeploymentEventsQueryResponse = GetDeploymentEvents200 +export type GetDeploymentEventsQueryResponse = GetDeploymentEvents200; export type GetDeploymentEventsQuery = { - Response: GetDeploymentEvents200 - PathParams: GetDeploymentEventsPathParams - QueryParams: GetDeploymentEventsQueryParams - Errors: GetDeploymentEvents400 | GetDeploymentEvents401 | GetDeploymentEvents403 | GetDeploymentEvents500 -} + Response: GetDeploymentEvents200; + PathParams: GetDeploymentEventsPathParams; + QueryParams: GetDeploymentEventsQueryParams; + Errors: GetDeploymentEvents400 | GetDeploymentEvents401 | GetDeploymentEvents403 | GetDeploymentEvents500; +}; export type UpdateIntegrationDeploymentActionPathParams = { /** * @type string */ - deploymentId: string + deploymentId: string; /** * @type string */ - integrationConfigurationId: string + integrationConfigurationId: string; /** * @type string */ - resourceId: string + resourceId: string; /** * @type string */ - action: string -} + action: string; +}; -export type UpdateIntegrationDeploymentAction202 = unknown +export type UpdateIntegrationDeploymentAction202 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type UpdateIntegrationDeploymentAction400 = unknown +export type UpdateIntegrationDeploymentAction400 = unknown; -export type UpdateIntegrationDeploymentAction401 = unknown +export type UpdateIntegrationDeploymentAction401 = unknown; /** * @description You do not have permission to access this resource. */ -export type UpdateIntegrationDeploymentAction403 = unknown +export type UpdateIntegrationDeploymentAction403 = unknown; -export type UpdateIntegrationDeploymentActionMutationResponse = UpdateIntegrationDeploymentAction202 +export type UpdateIntegrationDeploymentActionMutationResponse = UpdateIntegrationDeploymentAction202; export type UpdateIntegrationDeploymentActionMutation = { - Response: UpdateIntegrationDeploymentAction202 - PathParams: UpdateIntegrationDeploymentActionPathParams - Errors: UpdateIntegrationDeploymentAction400 | UpdateIntegrationDeploymentAction401 | UpdateIntegrationDeploymentAction403 -} + Response: UpdateIntegrationDeploymentAction202; + PathParams: UpdateIntegrationDeploymentActionPathParams; + Errors: + | UpdateIntegrationDeploymentAction400 + | UpdateIntegrationDeploymentAction401 + | UpdateIntegrationDeploymentAction403; +}; export type GetDeploymentPathParams = { /** * @description The unique identifier or hostname of the deployment. * @type string */ - idOrUrl: string -} + idOrUrl: string; +}; export type GetDeploymentQueryParams = { /** * @description Whether to add in gitRepo information. * @type string | undefined */ - withGitRepoInfo?: string | undefined + withGitRepoInfo?: string | undefined; /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description The deployment including only public information\nThe deployment including both public and private information */ -export type GetDeployment200 = unknown +export type GetDeployment200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type GetDeployment400 = unknown +export type GetDeployment400 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetDeployment403 = unknown +export type GetDeployment403 = unknown; /** * @description The deployment was not found */ -export type GetDeployment404 = unknown +export type GetDeployment404 = unknown; -export type GetDeploymentQueryResponse = GetDeployment200 +export type GetDeploymentQueryResponse = GetDeployment200; export type GetDeploymentQuery = { - Response: GetDeployment200 - PathParams: GetDeploymentPathParams - QueryParams: GetDeploymentQueryParams - Errors: GetDeployment400 | GetDeployment403 | GetDeployment404 -} + Response: GetDeployment200; + PathParams: GetDeploymentPathParams; + QueryParams: GetDeploymentQueryParams; + Errors: GetDeployment400 | GetDeployment403 | GetDeployment404; +}; export const createDeploymentQueryParamsForceNewEnum = { '0': '0', - '1': '1', -} as const + '1': '1' +} as const; -export type CreateDeploymentQueryParamsForceNewEnum = (typeof createDeploymentQueryParamsForceNewEnum)[keyof typeof createDeploymentQueryParamsForceNewEnum] +export type CreateDeploymentQueryParamsForceNewEnum = + (typeof createDeploymentQueryParamsForceNewEnum)[keyof typeof createDeploymentQueryParamsForceNewEnum]; export const createDeploymentQueryParamsSkipAutoDetectionConfirmationEnum = { '0': '0', - '1': '1', -} as const + '1': '1' +} as const; export type CreateDeploymentQueryParamsSkipAutoDetectionConfirmationEnum = - (typeof createDeploymentQueryParamsSkipAutoDetectionConfirmationEnum)[keyof typeof createDeploymentQueryParamsSkipAutoDetectionConfirmationEnum] + (typeof createDeploymentQueryParamsSkipAutoDetectionConfirmationEnum)[keyof typeof createDeploymentQueryParamsSkipAutoDetectionConfirmationEnum]; export type CreateDeploymentQueryParams = { /** * @description Forces a new deployment even if there is a previous similar deployment */ - forceNew?: CreateDeploymentQueryParamsForceNewEnum | undefined + forceNew?: CreateDeploymentQueryParamsForceNewEnum | undefined; /** * @description Allows to skip framework detection so the API would not fail to ask for confirmation */ - skipAutoDetectionConfirmation?: CreateDeploymentQueryParamsSkipAutoDetectionConfirmationEnum | undefined + skipAutoDetectionConfirmation?: CreateDeploymentQueryParamsSkipAutoDetectionConfirmationEnum | undefined; /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description The successfully created deployment */ -export type CreateDeployment200 = unknown +export type CreateDeployment200 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type CreateDeployment400 = unknown +export type CreateDeployment400 = unknown; -export type CreateDeployment401 = unknown +export type CreateDeployment401 = unknown; /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated\nPro customers are allowed to deploy Serverless Functions to up to `proMaxRegions` regions, or if the project was created before the limit was introduced.\nDeploying to Serverless Functions to multiple regions requires a plan update */ -export type CreateDeployment402 = unknown +export type CreateDeployment402 = unknown; /** * @description You do not have permission to access this resource. */ -export type CreateDeployment403 = unknown +export type CreateDeployment403 = unknown; -export type CreateDeployment404 = unknown +export type CreateDeployment404 = unknown; /** * @description The deployment project is being transferred */ -export type CreateDeployment409 = unknown +export type CreateDeployment409 = unknown; -export type CreateDeployment500 = unknown +export type CreateDeployment500 = unknown; -export type CreateDeploymentMutationResponse = CreateDeployment200 +export type CreateDeploymentMutationResponse = CreateDeployment200; export type CreateDeploymentMutation = { - Response: CreateDeployment200 - QueryParams: CreateDeploymentQueryParams + Response: CreateDeployment200; + QueryParams: CreateDeploymentQueryParams; Errors: | CreateDeployment400 | CreateDeployment401 @@ -10148,678 +10185,685 @@ export type CreateDeploymentMutation = { | CreateDeployment403 | CreateDeployment404 | CreateDeployment409 - | CreateDeployment500 -} + | CreateDeployment500; +}; export type CancelDeploymentPathParams = { /** * @description The unique identifier of the deployment. * @type string */ - id: string -} + id: string; +}; export type CancelDeploymentQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type CancelDeployment200 = unknown +export type CancelDeployment200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type CancelDeployment400 = unknown +export type CancelDeployment400 = unknown; -export type CancelDeployment401 = unknown +export type CancelDeployment401 = unknown; /** * @description You do not have permission to access this resource. */ -export type CancelDeployment403 = unknown +export type CancelDeployment403 = unknown; -export type CancelDeployment404 = unknown +export type CancelDeployment404 = unknown; -export type CancelDeploymentMutationResponse = CancelDeployment200 +export type CancelDeploymentMutationResponse = CancelDeployment200; export type CancelDeploymentMutation = { - Response: CancelDeployment200 - PathParams: CancelDeploymentPathParams - QueryParams: CancelDeploymentQueryParams - Errors: CancelDeployment400 | CancelDeployment401 | CancelDeployment403 | CancelDeployment404 -} + Response: CancelDeployment200; + PathParams: CancelDeploymentPathParams; + QueryParams: CancelDeploymentQueryParams; + Errors: CancelDeployment400 | CancelDeployment401 | CancelDeployment403 | CancelDeployment404; +}; export type BuyDomainQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type BuyDomain201 = unknown +export type BuyDomain201 = unknown; -export type BuyDomain202 = unknown +export type BuyDomain202 = unknown; /** * @description One of the provided values in the request body is invalid. */ -export type BuyDomain400 = unknown +export type BuyDomain400 = unknown; -export type BuyDomain401 = unknown +export type BuyDomain401 = unknown; /** * @description You do not have permission to access this resource. */ -export type BuyDomain403 = unknown +export type BuyDomain403 = unknown; -export type BuyDomain409 = unknown +export type BuyDomain409 = unknown; -export type BuyDomain429 = unknown +export type BuyDomain429 = unknown; -export type BuyDomain500 = unknown +export type BuyDomain500 = unknown; -export type BuyDomainMutationResponse = BuyDomain201 | BuyDomain202 +export type BuyDomainMutationResponse = BuyDomain201 | BuyDomain202; export type BuyDomainMutation = { - Response: BuyDomain201 | BuyDomain202 - QueryParams: BuyDomainQueryParams - Errors: BuyDomain400 | BuyDomain401 | BuyDomain403 | BuyDomain409 | BuyDomain429 | BuyDomain500 -} + Response: BuyDomain201 | BuyDomain202; + QueryParams: BuyDomainQueryParams; + Errors: BuyDomain400 | BuyDomain401 | BuyDomain403 | BuyDomain409 | BuyDomain429 | BuyDomain500; +}; export const checkDomainPriceQueryParamsTypeEnum = { new: 'new', renewal: 'renewal', transfer: 'transfer', - redemption: 'redemption', -} as const + redemption: 'redemption' +} as const; -export type CheckDomainPriceQueryParamsTypeEnum = (typeof checkDomainPriceQueryParamsTypeEnum)[keyof typeof checkDomainPriceQueryParamsTypeEnum] +export type CheckDomainPriceQueryParamsTypeEnum = + (typeof checkDomainPriceQueryParamsTypeEnum)[keyof typeof checkDomainPriceQueryParamsTypeEnum]; export type CheckDomainPriceQueryParams = { /** * @description The name of the domain for which the price needs to be checked. * @type string */ - name: string + name: string; /** * @description In which status of the domain the price needs to be checked. * @type string | undefined */ - type?: CheckDomainPriceQueryParamsTypeEnum | undefined + type?: CheckDomainPriceQueryParamsTypeEnum | undefined; /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description Successful response which returns the price of the domain and the period. */ -export type CheckDomainPrice200 = unknown +export type CheckDomainPrice200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type CheckDomainPrice400 = unknown +export type CheckDomainPrice400 = unknown; -export type CheckDomainPrice401 = unknown +export type CheckDomainPrice401 = unknown; /** * @description You do not have permission to access this resource. */ -export type CheckDomainPrice403 = unknown +export type CheckDomainPrice403 = unknown; -export type CheckDomainPrice500 = unknown +export type CheckDomainPrice500 = unknown; -export type CheckDomainPriceQueryResponse = CheckDomainPrice200 +export type CheckDomainPriceQueryResponse = CheckDomainPrice200; export type CheckDomainPriceQuery = { - Response: CheckDomainPrice200 - QueryParams: CheckDomainPriceQueryParams - Errors: CheckDomainPrice400 | CheckDomainPrice401 | CheckDomainPrice403 | CheckDomainPrice500 -} + Response: CheckDomainPrice200; + QueryParams: CheckDomainPriceQueryParams; + Errors: CheckDomainPrice400 | CheckDomainPrice401 | CheckDomainPrice403 | CheckDomainPrice500; +}; export type CheckDomainStatusQueryParams = { /** * @description The name of the domain for which we would like to check the status. * @type string */ - name: string + name: string; /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description Successful response checking if a Domain\'s name is available. */ -export type CheckDomainStatus200 = unknown +export type CheckDomainStatus200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type CheckDomainStatus400 = unknown +export type CheckDomainStatus400 = unknown; -export type CheckDomainStatus401 = unknown +export type CheckDomainStatus401 = unknown; /** * @description You do not have permission to access this resource. */ -export type CheckDomainStatus403 = unknown +export type CheckDomainStatus403 = unknown; -export type CheckDomainStatus408 = unknown +export type CheckDomainStatus408 = unknown; -export type CheckDomainStatus500 = unknown +export type CheckDomainStatus500 = unknown; -export type CheckDomainStatusQueryResponse = CheckDomainStatus200 +export type CheckDomainStatusQueryResponse = CheckDomainStatus200; export type CheckDomainStatusQuery = { - Response: CheckDomainStatus200 - QueryParams: CheckDomainStatusQueryParams - Errors: CheckDomainStatus400 | CheckDomainStatus401 | CheckDomainStatus403 | CheckDomainStatus408 | CheckDomainStatus500 -} + Response: CheckDomainStatus200; + QueryParams: CheckDomainStatusQueryParams; + Errors: + | CheckDomainStatus400 + | CheckDomainStatus401 + | CheckDomainStatus403 + | CheckDomainStatus408 + | CheckDomainStatus500; +}; export type GetRecordsPathParams = { /** * @type string */ - domain: string -} + domain: string; +}; export type GetRecordsQueryParams = { /** * @description Maximum number of records to list from a request. * @type string | undefined */ - limit?: string | undefined + limit?: string | undefined; /** * @description Get records created after this JavaScript timestamp. * @type string | undefined */ - since?: string | undefined + since?: string | undefined; /** * @description Get records created before this JavaScript timestamp. * @type string | undefined */ - until?: string | undefined + until?: string | undefined; /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description Successful response retrieving a list of paginated DNS records. */ -export type GetRecords200 = unknown +export type GetRecords200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type GetRecords400 = unknown +export type GetRecords400 = unknown; -export type GetRecords401 = unknown +export type GetRecords401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetRecords403 = unknown +export type GetRecords403 = unknown; -export type GetRecords404 = unknown +export type GetRecords404 = unknown; -export type GetRecordsQueryResponse = GetRecords200 +export type GetRecordsQueryResponse = GetRecords200; export type GetRecordsQuery = { - Response: GetRecords200 - PathParams: GetRecordsPathParams - QueryParams: GetRecordsQueryParams - Errors: GetRecords400 | GetRecords401 | GetRecords403 | GetRecords404 -} + Response: GetRecords200; + PathParams: GetRecordsPathParams; + QueryParams: GetRecordsQueryParams; + Errors: GetRecords400 | GetRecords401 | GetRecords403 | GetRecords404; +}; export type CreateRecordPathParams = { /** * @description The domain used to create the DNS record. * @type string */ - domain: string -} + domain: string; +}; export type CreateRecordQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description Successful response showing the uid of the newly created DNS record. */ -export type CreateRecord200 = unknown +export type CreateRecord200 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type CreateRecord400 = unknown +export type CreateRecord400 = unknown; -export type CreateRecord401 = unknown +export type CreateRecord401 = unknown; /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export type CreateRecord402 = unknown +export type CreateRecord402 = unknown; /** * @description You do not have permission to access this resource. */ -export type CreateRecord403 = unknown +export type CreateRecord403 = unknown; -export type CreateRecord404 = unknown +export type CreateRecord404 = unknown; -export type CreateRecord409 = unknown +export type CreateRecord409 = unknown; -export type CreateRecordMutationResponse = CreateRecord200 +export type CreateRecordMutationResponse = CreateRecord200; export type CreateRecordMutation = { - Response: CreateRecord200 - PathParams: CreateRecordPathParams - QueryParams: CreateRecordQueryParams - Errors: CreateRecord400 | CreateRecord401 | CreateRecord402 | CreateRecord403 | CreateRecord404 | CreateRecord409 -} + Response: CreateRecord200; + PathParams: CreateRecordPathParams; + QueryParams: CreateRecordQueryParams; + Errors: CreateRecord400 | CreateRecord401 | CreateRecord402 | CreateRecord403 | CreateRecord404 | CreateRecord409; +}; export type UpdateRecordPathParams = { /** * @description The id of the DNS record * @type string */ - recordId: string -} + recordId: string; +}; export type UpdateRecordQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type UpdateRecord200 = unknown +export type UpdateRecord200 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type UpdateRecord400 = unknown +export type UpdateRecord400 = unknown; -export type UpdateRecord401 = unknown +export type UpdateRecord401 = unknown; /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export type UpdateRecord402 = unknown +export type UpdateRecord402 = unknown; /** * @description You do not have permission to access this resource. */ -export type UpdateRecord403 = unknown +export type UpdateRecord403 = unknown; -export type UpdateRecord404 = unknown +export type UpdateRecord404 = unknown; -export type UpdateRecord409 = unknown +export type UpdateRecord409 = unknown; -export type UpdateRecordMutationResponse = UpdateRecord200 +export type UpdateRecordMutationResponse = UpdateRecord200; export type UpdateRecordMutation = { - Response: UpdateRecord200 - PathParams: UpdateRecordPathParams - QueryParams: UpdateRecordQueryParams - Errors: UpdateRecord400 | UpdateRecord401 | UpdateRecord402 | UpdateRecord403 | UpdateRecord404 | UpdateRecord409 -} + Response: UpdateRecord200; + PathParams: UpdateRecordPathParams; + QueryParams: UpdateRecordQueryParams; + Errors: UpdateRecord400 | UpdateRecord401 | UpdateRecord402 | UpdateRecord403 | UpdateRecord404 | UpdateRecord409; +}; export type RemoveRecordPathParams = { /** * @type string */ - domain: string + domain: string; /** * @type string */ - recordId: string -} + recordId: string; +}; export type RemoveRecordQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description Successful response by removing the specified DNS record. */ -export type RemoveRecord200 = unknown +export type RemoveRecord200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type RemoveRecord400 = unknown +export type RemoveRecord400 = unknown; -export type RemoveRecord401 = unknown +export type RemoveRecord401 = unknown; /** * @description You do not have permission to access this resource. */ -export type RemoveRecord403 = unknown +export type RemoveRecord403 = unknown; -export type RemoveRecord404 = unknown +export type RemoveRecord404 = unknown; -export type RemoveRecordMutationResponse = RemoveRecord200 +export type RemoveRecordMutationResponse = RemoveRecord200; export type RemoveRecordMutation = { - Response: RemoveRecord200 - PathParams: RemoveRecordPathParams - QueryParams: RemoveRecordQueryParams - Errors: RemoveRecord400 | RemoveRecord401 | RemoveRecord403 | RemoveRecord404 -} + Response: RemoveRecord200; + PathParams: RemoveRecordPathParams; + QueryParams: RemoveRecordQueryParams; + Errors: RemoveRecord400 | RemoveRecord401 | RemoveRecord403 | RemoveRecord404; +}; export type GetDomainTransferPathParams = { /** * @type string */ - domain: string -} + domain: string; +}; export type GetDomainTransferQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type GetDomainTransfer200 = unknown +export type GetDomainTransfer200 = unknown; -export type GetDomainTransfer400 = unknown +export type GetDomainTransfer400 = unknown; -export type GetDomainTransfer401 = unknown +export type GetDomainTransfer401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetDomainTransfer403 = unknown +export type GetDomainTransfer403 = unknown; -export type GetDomainTransferQueryResponse = GetDomainTransfer200 +export type GetDomainTransferQueryResponse = GetDomainTransfer200; export type GetDomainTransferQuery = { - Response: GetDomainTransfer200 - PathParams: GetDomainTransferPathParams - QueryParams: GetDomainTransferQueryParams - Errors: GetDomainTransfer400 | GetDomainTransfer401 | GetDomainTransfer403 -} + Response: GetDomainTransfer200; + PathParams: GetDomainTransferPathParams; + QueryParams: GetDomainTransferQueryParams; + Errors: GetDomainTransfer400 | GetDomainTransfer401 | GetDomainTransfer403; +}; export type GetDomainConfigPathParams = { /** * @description The name of the domain. * @type string */ - domain: string -} + domain: string; +}; export const getDomainConfigQueryParamsStrictEnum = { true: 'true', - false: 'false', -} as const + false: 'false' +} as const; -export type GetDomainConfigQueryParamsStrictEnum = (typeof getDomainConfigQueryParamsStrictEnum)[keyof typeof getDomainConfigQueryParamsStrictEnum] +export type GetDomainConfigQueryParamsStrictEnum = + (typeof getDomainConfigQueryParamsStrictEnum)[keyof typeof getDomainConfigQueryParamsStrictEnum]; export type GetDomainConfigQueryParams = { /** * @description The project id or name that will be associated with the domain. Use this when the domain is not yet associated with a project. * @type string | undefined */ - projectIdOrName?: string | undefined + projectIdOrName?: string | undefined; /** * @description When true, the response will only include the nameservers assigned directly to the specified domain. When false and there are no nameservers assigned directly to the specified domain, the response will include the nameservers of the domain\'s parent zone. */ - strict?: GetDomainConfigQueryParamsStrictEnum | undefined + strict?: GetDomainConfigQueryParamsStrictEnum | undefined; /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type GetDomainConfig200 = unknown +export type GetDomainConfig200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type GetDomainConfig400 = unknown +export type GetDomainConfig400 = unknown; -export type GetDomainConfig401 = unknown +export type GetDomainConfig401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetDomainConfig403 = unknown +export type GetDomainConfig403 = unknown; -export type GetDomainConfigQueryResponse = GetDomainConfig200 +export type GetDomainConfigQueryResponse = GetDomainConfig200; export type GetDomainConfigQuery = { - Response: GetDomainConfig200 - PathParams: GetDomainConfigPathParams - QueryParams: GetDomainConfigQueryParams - Errors: GetDomainConfig400 | GetDomainConfig401 | GetDomainConfig403 -} + Response: GetDomainConfig200; + PathParams: GetDomainConfigPathParams; + QueryParams: GetDomainConfigQueryParams; + Errors: GetDomainConfig400 | GetDomainConfig401 | GetDomainConfig403; +}; export type GetDomainPathParams = { /** * @description The name of the domain. * @type string */ - domain: string -} + domain: string; +}; export type GetDomainQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description Successful response retrieving an information for a specific domains. */ -export type GetDomain200 = unknown +export type GetDomain200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type GetDomain400 = unknown +export type GetDomain400 = unknown; -export type GetDomain401 = unknown +export type GetDomain401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetDomain403 = unknown +export type GetDomain403 = unknown; -export type GetDomain404 = unknown +export type GetDomain404 = unknown; -export type GetDomainQueryResponse = GetDomain200 +export type GetDomainQueryResponse = GetDomain200; export type GetDomainQuery = { - Response: GetDomain200 - PathParams: GetDomainPathParams - QueryParams: GetDomainQueryParams - Errors: GetDomain400 | GetDomain401 | GetDomain403 | GetDomain404 -} + Response: GetDomain200; + PathParams: GetDomainPathParams; + QueryParams: GetDomainQueryParams; + Errors: GetDomain400 | GetDomain401 | GetDomain403 | GetDomain404; +}; export type GetDomainsQueryParams = { /** * @description Maximum number of domains to list from a request. * @type number | undefined */ - limit?: number | undefined + limit?: number | undefined; /** * @description Get domains created after this JavaScript timestamp. * @type number | undefined */ - since?: number | undefined + since?: number | undefined; /** * @description Get domains created before this JavaScript timestamp. * @type number | undefined */ - until?: number | undefined + until?: number | undefined; /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description Successful response retrieving a list of domains. */ -export type GetDomains200 = unknown +export type GetDomains200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type GetDomains400 = unknown +export type GetDomains400 = unknown; -export type GetDomains401 = unknown +export type GetDomains401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetDomains403 = unknown +export type GetDomains403 = unknown; -export type GetDomains409 = unknown +export type GetDomains409 = unknown; -export type GetDomainsQueryResponse = GetDomains200 +export type GetDomainsQueryResponse = GetDomains200; export type GetDomainsQuery = { - Response: GetDomains200 - QueryParams: GetDomainsQueryParams - Errors: GetDomains400 | GetDomains401 | GetDomains403 | GetDomains409 -} + Response: GetDomains200; + QueryParams: GetDomainsQueryParams; + Errors: GetDomains400 | GetDomains401 | GetDomains403 | GetDomains409; +}; export type CreateOrTransferDomainQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type CreateOrTransferDomain200 = unknown +export type CreateOrTransferDomain200 = unknown; /** * @description One of the provided values in the request body is invalid. */ -export type CreateOrTransferDomain400 = unknown +export type CreateOrTransferDomain400 = unknown; -export type CreateOrTransferDomain401 = unknown +export type CreateOrTransferDomain401 = unknown; /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export type CreateOrTransferDomain402 = unknown +export type CreateOrTransferDomain402 = unknown; /** * @description You do not have permission to access this resource. */ -export type CreateOrTransferDomain403 = unknown +export type CreateOrTransferDomain403 = unknown; -export type CreateOrTransferDomain404 = unknown +export type CreateOrTransferDomain404 = unknown; /** * @description The domain is not allowed to be used */ -export type CreateOrTransferDomain409 = unknown +export type CreateOrTransferDomain409 = unknown; -export type CreateOrTransferDomain500 = unknown +export type CreateOrTransferDomain500 = unknown; -export type CreateOrTransferDomainMutationResponse = CreateOrTransferDomain200 +export type CreateOrTransferDomainMutationResponse = CreateOrTransferDomain200; export type CreateOrTransferDomainMutation = { - Response: CreateOrTransferDomain200 - QueryParams: CreateOrTransferDomainQueryParams + Response: CreateOrTransferDomain200; + QueryParams: CreateOrTransferDomainQueryParams; Errors: | CreateOrTransferDomain400 | CreateOrTransferDomain401 @@ -10827,431 +10871,431 @@ export type CreateOrTransferDomainMutation = { | CreateOrTransferDomain403 | CreateOrTransferDomain404 | CreateOrTransferDomain409 - | CreateOrTransferDomain500 -} + | CreateOrTransferDomain500; +}; export type PatchDomainPathParams = { /** * @type string */ - domain: string -} + domain: string; +}; export type PatchDomainQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type PatchDomain200 = unknown +export type PatchDomain200 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type PatchDomain400 = unknown +export type PatchDomain400 = unknown; -export type PatchDomain401 = unknown +export type PatchDomain401 = unknown; /** * @description You do not have permission to access this resource. */ -export type PatchDomain403 = unknown +export type PatchDomain403 = unknown; -export type PatchDomain404 = unknown +export type PatchDomain404 = unknown; -export type PatchDomain409 = unknown +export type PatchDomain409 = unknown; -export type PatchDomain500 = unknown +export type PatchDomain500 = unknown; -export type PatchDomainMutationResponse = PatchDomain200 +export type PatchDomainMutationResponse = PatchDomain200; export type PatchDomainMutation = { - Response: PatchDomain200 - PathParams: PatchDomainPathParams - QueryParams: PatchDomainQueryParams - Errors: PatchDomain400 | PatchDomain401 | PatchDomain403 | PatchDomain404 | PatchDomain409 | PatchDomain500 -} + Response: PatchDomain200; + PathParams: PatchDomainPathParams; + QueryParams: PatchDomainQueryParams; + Errors: PatchDomain400 | PatchDomain401 | PatchDomain403 | PatchDomain404 | PatchDomain409 | PatchDomain500; +}; export type DeleteDomainPathParams = { /** * @description The name of the domain. * @type string */ - domain: string -} + domain: string; +}; export type DeleteDomainQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description Successful response removing a domain. */ -export type DeleteDomain200 = unknown +export type DeleteDomain200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type DeleteDomain400 = unknown +export type DeleteDomain400 = unknown; -export type DeleteDomain401 = unknown +export type DeleteDomain401 = unknown; /** * @description You do not have permission to access this resource. */ -export type DeleteDomain403 = unknown +export type DeleteDomain403 = unknown; -export type DeleteDomain404 = unknown +export type DeleteDomain404 = unknown; -export type DeleteDomain409 = unknown +export type DeleteDomain409 = unknown; -export type DeleteDomainMutationResponse = DeleteDomain200 +export type DeleteDomainMutationResponse = DeleteDomain200; export type DeleteDomainMutation = { - Response: DeleteDomain200 - PathParams: DeleteDomainPathParams - QueryParams: DeleteDomainQueryParams - Errors: DeleteDomain400 | DeleteDomain401 | DeleteDomain403 | DeleteDomain404 | DeleteDomain409 -} + Response: DeleteDomain200; + PathParams: DeleteDomainPathParams; + QueryParams: DeleteDomainQueryParams; + Errors: DeleteDomain400 | DeleteDomain401 | DeleteDomain403 | DeleteDomain404 | DeleteDomain409; +}; export type GetEdgeConfigsQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description List of all edge configs. */ -export type GetEdgeConfigs200 = unknown +export type GetEdgeConfigs200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type GetEdgeConfigs400 = unknown +export type GetEdgeConfigs400 = unknown; -export type GetEdgeConfigs401 = unknown +export type GetEdgeConfigs401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetEdgeConfigs403 = unknown +export type GetEdgeConfigs403 = unknown; -export type GetEdgeConfigsQueryResponse = GetEdgeConfigs200 +export type GetEdgeConfigsQueryResponse = GetEdgeConfigs200; export type GetEdgeConfigsQuery = { - Response: GetEdgeConfigs200 - QueryParams: GetEdgeConfigsQueryParams - Errors: GetEdgeConfigs400 | GetEdgeConfigs401 | GetEdgeConfigs403 -} + Response: GetEdgeConfigs200; + QueryParams: GetEdgeConfigsQueryParams; + Errors: GetEdgeConfigs400 | GetEdgeConfigs401 | GetEdgeConfigs403; +}; export type CreateEdgeConfigQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type CreateEdgeConfig201 = unknown +export type CreateEdgeConfig201 = unknown; /** * @description One of the provided values in the request body is invalid. */ -export type CreateEdgeConfig400 = unknown +export type CreateEdgeConfig400 = unknown; -export type CreateEdgeConfig401 = unknown +export type CreateEdgeConfig401 = unknown; /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export type CreateEdgeConfig402 = unknown +export type CreateEdgeConfig402 = unknown; /** * @description You do not have permission to access this resource. */ -export type CreateEdgeConfig403 = unknown +export type CreateEdgeConfig403 = unknown; -export type CreateEdgeConfigMutationResponse = CreateEdgeConfig201 +export type CreateEdgeConfigMutationResponse = CreateEdgeConfig201; export type CreateEdgeConfigMutation = { - Response: CreateEdgeConfig201 - QueryParams: CreateEdgeConfigQueryParams - Errors: CreateEdgeConfig400 | CreateEdgeConfig401 | CreateEdgeConfig402 | CreateEdgeConfig403 -} + Response: CreateEdgeConfig201; + QueryParams: CreateEdgeConfigQueryParams; + Errors: CreateEdgeConfig400 | CreateEdgeConfig401 | CreateEdgeConfig402 | CreateEdgeConfig403; +}; export type GetEdgeConfigPathParams = { /** * @type string */ - edgeConfigId: string -} + edgeConfigId: string; +}; export type GetEdgeConfigQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description The EdgeConfig. */ -export type GetEdgeConfig200 = unknown +export type GetEdgeConfig200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type GetEdgeConfig400 = unknown +export type GetEdgeConfig400 = unknown; -export type GetEdgeConfig401 = unknown +export type GetEdgeConfig401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetEdgeConfig403 = unknown +export type GetEdgeConfig403 = unknown; -export type GetEdgeConfig404 = unknown +export type GetEdgeConfig404 = unknown; -export type GetEdgeConfigQueryResponse = GetEdgeConfig200 +export type GetEdgeConfigQueryResponse = GetEdgeConfig200; export type GetEdgeConfigQuery = { - Response: GetEdgeConfig200 - PathParams: GetEdgeConfigPathParams - QueryParams: GetEdgeConfigQueryParams - Errors: GetEdgeConfig400 | GetEdgeConfig401 | GetEdgeConfig403 | GetEdgeConfig404 -} + Response: GetEdgeConfig200; + PathParams: GetEdgeConfigPathParams; + QueryParams: GetEdgeConfigQueryParams; + Errors: GetEdgeConfig400 | GetEdgeConfig401 | GetEdgeConfig403 | GetEdgeConfig404; +}; export type UpdateEdgeConfigPathParams = { /** * @type string */ - edgeConfigId: string -} + edgeConfigId: string; +}; export type UpdateEdgeConfigQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type UpdateEdgeConfig200 = unknown +export type UpdateEdgeConfig200 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type UpdateEdgeConfig400 = unknown +export type UpdateEdgeConfig400 = unknown; -export type UpdateEdgeConfig401 = unknown +export type UpdateEdgeConfig401 = unknown; /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export type UpdateEdgeConfig402 = unknown +export type UpdateEdgeConfig402 = unknown; /** * @description You do not have permission to access this resource. */ -export type UpdateEdgeConfig403 = unknown +export type UpdateEdgeConfig403 = unknown; -export type UpdateEdgeConfig404 = unknown +export type UpdateEdgeConfig404 = unknown; -export type UpdateEdgeConfigMutationResponse = UpdateEdgeConfig200 +export type UpdateEdgeConfigMutationResponse = UpdateEdgeConfig200; export type UpdateEdgeConfigMutation = { - Response: UpdateEdgeConfig200 - PathParams: UpdateEdgeConfigPathParams - QueryParams: UpdateEdgeConfigQueryParams - Errors: UpdateEdgeConfig400 | UpdateEdgeConfig401 | UpdateEdgeConfig402 | UpdateEdgeConfig403 | UpdateEdgeConfig404 -} + Response: UpdateEdgeConfig200; + PathParams: UpdateEdgeConfigPathParams; + QueryParams: UpdateEdgeConfigQueryParams; + Errors: UpdateEdgeConfig400 | UpdateEdgeConfig401 | UpdateEdgeConfig402 | UpdateEdgeConfig403 | UpdateEdgeConfig404; +}; export type DeleteEdgeConfigPathParams = { /** * @type string */ - edgeConfigId: string -} + edgeConfigId: string; +}; export type DeleteEdgeConfigQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type DeleteEdgeConfig204 = unknown +export type DeleteEdgeConfig204 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type DeleteEdgeConfig400 = unknown +export type DeleteEdgeConfig400 = unknown; -export type DeleteEdgeConfig401 = unknown +export type DeleteEdgeConfig401 = unknown; /** * @description You do not have permission to access this resource. */ -export type DeleteEdgeConfig403 = unknown +export type DeleteEdgeConfig403 = unknown; -export type DeleteEdgeConfig404 = unknown +export type DeleteEdgeConfig404 = unknown; -export type DeleteEdgeConfigMutationResponse = DeleteEdgeConfig204 +export type DeleteEdgeConfigMutationResponse = DeleteEdgeConfig204; export type DeleteEdgeConfigMutation = { - Response: DeleteEdgeConfig204 - PathParams: DeleteEdgeConfigPathParams - QueryParams: DeleteEdgeConfigQueryParams - Errors: DeleteEdgeConfig400 | DeleteEdgeConfig401 | DeleteEdgeConfig403 | DeleteEdgeConfig404 -} + Response: DeleteEdgeConfig204; + PathParams: DeleteEdgeConfigPathParams; + QueryParams: DeleteEdgeConfigQueryParams; + Errors: DeleteEdgeConfig400 | DeleteEdgeConfig401 | DeleteEdgeConfig403 | DeleteEdgeConfig404; +}; export type GetEdgeConfigItemsPathParams = { /** * @pattern ^ecfg_ * @type string */ - edgeConfigId: string -} + edgeConfigId: string; +}; export type GetEdgeConfigItemsQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description List of all Edge Config items. */ -export type GetEdgeConfigItems200 = unknown +export type GetEdgeConfigItems200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type GetEdgeConfigItems400 = unknown +export type GetEdgeConfigItems400 = unknown; -export type GetEdgeConfigItems401 = unknown +export type GetEdgeConfigItems401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetEdgeConfigItems403 = unknown +export type GetEdgeConfigItems403 = unknown; -export type GetEdgeConfigItems404 = unknown +export type GetEdgeConfigItems404 = unknown; -export type GetEdgeConfigItemsQueryResponse = GetEdgeConfigItems200 +export type GetEdgeConfigItemsQueryResponse = GetEdgeConfigItems200; export type GetEdgeConfigItemsQuery = { - Response: GetEdgeConfigItems200 - PathParams: GetEdgeConfigItemsPathParams - QueryParams: GetEdgeConfigItemsQueryParams - Errors: GetEdgeConfigItems400 | GetEdgeConfigItems401 | GetEdgeConfigItems403 | GetEdgeConfigItems404 -} + Response: GetEdgeConfigItems200; + PathParams: GetEdgeConfigItemsPathParams; + QueryParams: GetEdgeConfigItemsQueryParams; + Errors: GetEdgeConfigItems400 | GetEdgeConfigItems401 | GetEdgeConfigItems403 | GetEdgeConfigItems404; +}; export type PatchEdgeConfigItemsPathParams = { /** * @pattern ^ecfg_ * @type string */ - edgeConfigId: string -} + edgeConfigId: string; +}; export type PatchEdgeConfigItemsQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type PatchEdgeConfigItems200 = unknown +export type PatchEdgeConfigItems200 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type PatchEdgeConfigItems400 = unknown +export type PatchEdgeConfigItems400 = unknown; -export type PatchEdgeConfigItems401 = unknown +export type PatchEdgeConfigItems401 = unknown; /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export type PatchEdgeConfigItems402 = unknown +export type PatchEdgeConfigItems402 = unknown; /** * @description You do not have permission to access this resource. */ -export type PatchEdgeConfigItems403 = unknown +export type PatchEdgeConfigItems403 = unknown; -export type PatchEdgeConfigItems404 = unknown +export type PatchEdgeConfigItems404 = unknown; -export type PatchEdgeConfigItems409 = unknown +export type PatchEdgeConfigItems409 = unknown; -export type PatchEdgeConfigItems412 = unknown +export type PatchEdgeConfigItems412 = unknown; -export type PatchEdgeConfigItemsMutationResponse = PatchEdgeConfigItems200 +export type PatchEdgeConfigItemsMutationResponse = PatchEdgeConfigItems200; export type PatchEdgeConfigItemsMutation = { - Response: PatchEdgeConfigItems200 - PathParams: PatchEdgeConfigItemsPathParams - QueryParams: PatchEdgeConfigItemsQueryParams + Response: PatchEdgeConfigItems200; + PathParams: PatchEdgeConfigItemsPathParams; + QueryParams: PatchEdgeConfigItemsQueryParams; Errors: | PatchEdgeConfigItems400 | PatchEdgeConfigItems401 @@ -11259,1714 +11303,1768 @@ export type PatchEdgeConfigItemsMutation = { | PatchEdgeConfigItems403 | PatchEdgeConfigItems404 | PatchEdgeConfigItems409 - | PatchEdgeConfigItems412 -} + | PatchEdgeConfigItems412; +}; export type GetEdgeConfigSchemaPathParams = { /** * @type string */ - edgeConfigId: string -} + edgeConfigId: string; +}; export type GetEdgeConfigSchemaQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description The EdgeConfig. */ -export type GetEdgeConfigSchema200 = unknown +export type GetEdgeConfigSchema200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type GetEdgeConfigSchema400 = unknown +export type GetEdgeConfigSchema400 = unknown; -export type GetEdgeConfigSchema401 = unknown +export type GetEdgeConfigSchema401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetEdgeConfigSchema403 = unknown +export type GetEdgeConfigSchema403 = unknown; -export type GetEdgeConfigSchema404 = unknown +export type GetEdgeConfigSchema404 = unknown; -export type GetEdgeConfigSchemaQueryResponse = GetEdgeConfigSchema200 +export type GetEdgeConfigSchemaQueryResponse = GetEdgeConfigSchema200; export type GetEdgeConfigSchemaQuery = { - Response: GetEdgeConfigSchema200 - PathParams: GetEdgeConfigSchemaPathParams - QueryParams: GetEdgeConfigSchemaQueryParams - Errors: GetEdgeConfigSchema400 | GetEdgeConfigSchema401 | GetEdgeConfigSchema403 | GetEdgeConfigSchema404 -} + Response: GetEdgeConfigSchema200; + PathParams: GetEdgeConfigSchemaPathParams; + QueryParams: GetEdgeConfigSchemaQueryParams; + Errors: GetEdgeConfigSchema400 | GetEdgeConfigSchema401 | GetEdgeConfigSchema403 | GetEdgeConfigSchema404; +}; export type PatchEdgeConfigSchemaPathParams = { /** * @type string */ - edgeConfigId: string -} + edgeConfigId: string; +}; export type PatchEdgeConfigSchemaQueryParams = { /** * @type string | undefined */ - dryRun?: string | undefined + dryRun?: string | undefined; /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type PatchEdgeConfigSchema200 = unknown +export type PatchEdgeConfigSchema200 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type PatchEdgeConfigSchema400 = unknown +export type PatchEdgeConfigSchema400 = unknown; -export type PatchEdgeConfigSchema401 = unknown +export type PatchEdgeConfigSchema401 = unknown; /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export type PatchEdgeConfigSchema402 = unknown +export type PatchEdgeConfigSchema402 = unknown; /** * @description You do not have permission to access this resource. */ -export type PatchEdgeConfigSchema403 = unknown +export type PatchEdgeConfigSchema403 = unknown; -export type PatchEdgeConfigSchema404 = unknown +export type PatchEdgeConfigSchema404 = unknown; -export type PatchEdgeConfigSchemaMutationResponse = PatchEdgeConfigSchema200 +export type PatchEdgeConfigSchemaMutationResponse = PatchEdgeConfigSchema200; export type PatchEdgeConfigSchemaMutation = { - Response: PatchEdgeConfigSchema200 - PathParams: PatchEdgeConfigSchemaPathParams - QueryParams: PatchEdgeConfigSchemaQueryParams - Errors: PatchEdgeConfigSchema400 | PatchEdgeConfigSchema401 | PatchEdgeConfigSchema402 | PatchEdgeConfigSchema403 | PatchEdgeConfigSchema404 -} + Response: PatchEdgeConfigSchema200; + PathParams: PatchEdgeConfigSchemaPathParams; + QueryParams: PatchEdgeConfigSchemaQueryParams; + Errors: + | PatchEdgeConfigSchema400 + | PatchEdgeConfigSchema401 + | PatchEdgeConfigSchema402 + | PatchEdgeConfigSchema403 + | PatchEdgeConfigSchema404; +}; export type DeleteEdgeConfigSchemaPathParams = { /** * @type string */ - edgeConfigId: string -} + edgeConfigId: string; +}; export type DeleteEdgeConfigSchemaQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type DeleteEdgeConfigSchema204 = unknown +export type DeleteEdgeConfigSchema204 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type DeleteEdgeConfigSchema400 = unknown +export type DeleteEdgeConfigSchema400 = unknown; -export type DeleteEdgeConfigSchema401 = unknown +export type DeleteEdgeConfigSchema401 = unknown; /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export type DeleteEdgeConfigSchema402 = unknown +export type DeleteEdgeConfigSchema402 = unknown; /** * @description You do not have permission to access this resource. */ -export type DeleteEdgeConfigSchema403 = unknown +export type DeleteEdgeConfigSchema403 = unknown; -export type DeleteEdgeConfigSchema404 = unknown +export type DeleteEdgeConfigSchema404 = unknown; -export type DeleteEdgeConfigSchemaMutationResponse = DeleteEdgeConfigSchema204 +export type DeleteEdgeConfigSchemaMutationResponse = DeleteEdgeConfigSchema204; export type DeleteEdgeConfigSchemaMutation = { - Response: DeleteEdgeConfigSchema204 - PathParams: DeleteEdgeConfigSchemaPathParams - QueryParams: DeleteEdgeConfigSchemaQueryParams - Errors: DeleteEdgeConfigSchema400 | DeleteEdgeConfigSchema401 | DeleteEdgeConfigSchema402 | DeleteEdgeConfigSchema403 | DeleteEdgeConfigSchema404 -} + Response: DeleteEdgeConfigSchema204; + PathParams: DeleteEdgeConfigSchemaPathParams; + QueryParams: DeleteEdgeConfigSchemaQueryParams; + Errors: + | DeleteEdgeConfigSchema400 + | DeleteEdgeConfigSchema401 + | DeleteEdgeConfigSchema402 + | DeleteEdgeConfigSchema403 + | DeleteEdgeConfigSchema404; +}; export type GetEdgeConfigItemPathParams = { /** * @pattern ^ecfg_ * @type string */ - edgeConfigId: string + edgeConfigId: string; /** * @type string */ - edgeConfigItemKey: string -} + edgeConfigItemKey: string; +}; export type GetEdgeConfigItemQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description The EdgeConfig. */ -export type GetEdgeConfigItem200 = unknown +export type GetEdgeConfigItem200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type GetEdgeConfigItem400 = unknown +export type GetEdgeConfigItem400 = unknown; -export type GetEdgeConfigItem401 = unknown +export type GetEdgeConfigItem401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetEdgeConfigItem403 = unknown +export type GetEdgeConfigItem403 = unknown; -export type GetEdgeConfigItem404 = unknown +export type GetEdgeConfigItem404 = unknown; -export type GetEdgeConfigItemQueryResponse = GetEdgeConfigItem200 +export type GetEdgeConfigItemQueryResponse = GetEdgeConfigItem200; export type GetEdgeConfigItemQuery = { - Response: GetEdgeConfigItem200 - PathParams: GetEdgeConfigItemPathParams - QueryParams: GetEdgeConfigItemQueryParams - Errors: GetEdgeConfigItem400 | GetEdgeConfigItem401 | GetEdgeConfigItem403 | GetEdgeConfigItem404 -} + Response: GetEdgeConfigItem200; + PathParams: GetEdgeConfigItemPathParams; + QueryParams: GetEdgeConfigItemQueryParams; + Errors: GetEdgeConfigItem400 | GetEdgeConfigItem401 | GetEdgeConfigItem403 | GetEdgeConfigItem404; +}; export type GetEdgeConfigTokensPathParams = { /** * @type string */ - edgeConfigId: string -} + edgeConfigId: string; +}; export type GetEdgeConfigTokensQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description The EdgeConfig. */ -export type GetEdgeConfigTokens200 = unknown +export type GetEdgeConfigTokens200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type GetEdgeConfigTokens400 = unknown +export type GetEdgeConfigTokens400 = unknown; -export type GetEdgeConfigTokens401 = unknown +export type GetEdgeConfigTokens401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetEdgeConfigTokens403 = unknown +export type GetEdgeConfigTokens403 = unknown; -export type GetEdgeConfigTokens404 = unknown +export type GetEdgeConfigTokens404 = unknown; -export type GetEdgeConfigTokensQueryResponse = GetEdgeConfigTokens200 +export type GetEdgeConfigTokensQueryResponse = GetEdgeConfigTokens200; export type GetEdgeConfigTokensQuery = { - Response: GetEdgeConfigTokens200 - PathParams: GetEdgeConfigTokensPathParams - QueryParams: GetEdgeConfigTokensQueryParams - Errors: GetEdgeConfigTokens400 | GetEdgeConfigTokens401 | GetEdgeConfigTokens403 | GetEdgeConfigTokens404 -} + Response: GetEdgeConfigTokens200; + PathParams: GetEdgeConfigTokensPathParams; + QueryParams: GetEdgeConfigTokensQueryParams; + Errors: GetEdgeConfigTokens400 | GetEdgeConfigTokens401 | GetEdgeConfigTokens403 | GetEdgeConfigTokens404; +}; export type DeleteEdgeConfigTokensPathParams = { /** * @type string */ - edgeConfigId: string -} + edgeConfigId: string; +}; export type DeleteEdgeConfigTokensQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type DeleteEdgeConfigTokens204 = unknown +export type DeleteEdgeConfigTokens204 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type DeleteEdgeConfigTokens400 = unknown +export type DeleteEdgeConfigTokens400 = unknown; -export type DeleteEdgeConfigTokens401 = unknown +export type DeleteEdgeConfigTokens401 = unknown; /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export type DeleteEdgeConfigTokens402 = unknown +export type DeleteEdgeConfigTokens402 = unknown; /** * @description You do not have permission to access this resource. */ -export type DeleteEdgeConfigTokens403 = unknown +export type DeleteEdgeConfigTokens403 = unknown; -export type DeleteEdgeConfigTokens404 = unknown +export type DeleteEdgeConfigTokens404 = unknown; -export type DeleteEdgeConfigTokensMutationResponse = DeleteEdgeConfigTokens204 +export type DeleteEdgeConfigTokensMutationResponse = DeleteEdgeConfigTokens204; export type DeleteEdgeConfigTokensMutation = { - Response: DeleteEdgeConfigTokens204 - PathParams: DeleteEdgeConfigTokensPathParams - QueryParams: DeleteEdgeConfigTokensQueryParams - Errors: DeleteEdgeConfigTokens400 | DeleteEdgeConfigTokens401 | DeleteEdgeConfigTokens402 | DeleteEdgeConfigTokens403 | DeleteEdgeConfigTokens404 -} + Response: DeleteEdgeConfigTokens204; + PathParams: DeleteEdgeConfigTokensPathParams; + QueryParams: DeleteEdgeConfigTokensQueryParams; + Errors: + | DeleteEdgeConfigTokens400 + | DeleteEdgeConfigTokens401 + | DeleteEdgeConfigTokens402 + | DeleteEdgeConfigTokens403 + | DeleteEdgeConfigTokens404; +}; export type GetEdgeConfigTokenPathParams = { /** * @type string */ - edgeConfigId: string + edgeConfigId: string; /** * @type string */ - token: string -} + token: string; +}; export type GetEdgeConfigTokenQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description The EdgeConfig. */ -export type GetEdgeConfigToken200 = unknown +export type GetEdgeConfigToken200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type GetEdgeConfigToken400 = unknown +export type GetEdgeConfigToken400 = unknown; -export type GetEdgeConfigToken401 = unknown +export type GetEdgeConfigToken401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetEdgeConfigToken403 = unknown +export type GetEdgeConfigToken403 = unknown; -export type GetEdgeConfigToken404 = unknown +export type GetEdgeConfigToken404 = unknown; -export type GetEdgeConfigTokenQueryResponse = GetEdgeConfigToken200 +export type GetEdgeConfigTokenQueryResponse = GetEdgeConfigToken200; export type GetEdgeConfigTokenQuery = { - Response: GetEdgeConfigToken200 - PathParams: GetEdgeConfigTokenPathParams - QueryParams: GetEdgeConfigTokenQueryParams - Errors: GetEdgeConfigToken400 | GetEdgeConfigToken401 | GetEdgeConfigToken403 | GetEdgeConfigToken404 -} + Response: GetEdgeConfigToken200; + PathParams: GetEdgeConfigTokenPathParams; + QueryParams: GetEdgeConfigTokenQueryParams; + Errors: GetEdgeConfigToken400 | GetEdgeConfigToken401 | GetEdgeConfigToken403 | GetEdgeConfigToken404; +}; export type CreateEdgeConfigTokenPathParams = { /** * @type string */ - edgeConfigId: string -} + edgeConfigId: string; +}; export type CreateEdgeConfigTokenQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type CreateEdgeConfigToken201 = unknown +export type CreateEdgeConfigToken201 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type CreateEdgeConfigToken400 = unknown +export type CreateEdgeConfigToken400 = unknown; -export type CreateEdgeConfigToken401 = unknown +export type CreateEdgeConfigToken401 = unknown; /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export type CreateEdgeConfigToken402 = unknown +export type CreateEdgeConfigToken402 = unknown; /** * @description You do not have permission to access this resource. */ -export type CreateEdgeConfigToken403 = unknown +export type CreateEdgeConfigToken403 = unknown; -export type CreateEdgeConfigToken404 = unknown +export type CreateEdgeConfigToken404 = unknown; -export type CreateEdgeConfigTokenMutationResponse = CreateEdgeConfigToken201 +export type CreateEdgeConfigTokenMutationResponse = CreateEdgeConfigToken201; export type CreateEdgeConfigTokenMutation = { - Response: CreateEdgeConfigToken201 - PathParams: CreateEdgeConfigTokenPathParams - QueryParams: CreateEdgeConfigTokenQueryParams - Errors: CreateEdgeConfigToken400 | CreateEdgeConfigToken401 | CreateEdgeConfigToken402 | CreateEdgeConfigToken403 | CreateEdgeConfigToken404 -} + Response: CreateEdgeConfigToken201; + PathParams: CreateEdgeConfigTokenPathParams; + QueryParams: CreateEdgeConfigTokenQueryParams; + Errors: + | CreateEdgeConfigToken400 + | CreateEdgeConfigToken401 + | CreateEdgeConfigToken402 + | CreateEdgeConfigToken403 + | CreateEdgeConfigToken404; +}; export type GetEdgeConfigBackupPathParams = { /** * @type string */ - edgeConfigId: string + edgeConfigId: string; /** * @type string */ - edgeConfigBackupVersionId: string -} + edgeConfigBackupVersionId: string; +}; export type GetEdgeConfigBackupQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type GetEdgeConfigBackup200 = unknown +export type GetEdgeConfigBackup200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type GetEdgeConfigBackup400 = unknown +export type GetEdgeConfigBackup400 = unknown; -export type GetEdgeConfigBackup401 = unknown +export type GetEdgeConfigBackup401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetEdgeConfigBackup403 = unknown +export type GetEdgeConfigBackup403 = unknown; -export type GetEdgeConfigBackup404 = unknown +export type GetEdgeConfigBackup404 = unknown; -export type GetEdgeConfigBackupQueryResponse = GetEdgeConfigBackup200 +export type GetEdgeConfigBackupQueryResponse = GetEdgeConfigBackup200; export type GetEdgeConfigBackupQuery = { - Response: GetEdgeConfigBackup200 - PathParams: GetEdgeConfigBackupPathParams - QueryParams: GetEdgeConfigBackupQueryParams - Errors: GetEdgeConfigBackup400 | GetEdgeConfigBackup401 | GetEdgeConfigBackup403 | GetEdgeConfigBackup404 -} + Response: GetEdgeConfigBackup200; + PathParams: GetEdgeConfigBackupPathParams; + QueryParams: GetEdgeConfigBackupQueryParams; + Errors: GetEdgeConfigBackup400 | GetEdgeConfigBackup401 | GetEdgeConfigBackup403 | GetEdgeConfigBackup404; +}; export type GetEdgeConfigBackupsPathParams = { /** * @type string */ - edgeConfigId: string -} + edgeConfigId: string; +}; export type GetEdgeConfigBackupsQueryParams = { /** * @type string | undefined */ - next?: string | undefined + next?: string | undefined; /** * @minLength 0 * @maxLength 50 * @type number | undefined */ - limit?: number | undefined + limit?: number | undefined; /** * @type string | undefined */ - metadata?: string | undefined + metadata?: string | undefined; /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type GetEdgeConfigBackups200 = unknown +export type GetEdgeConfigBackups200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type GetEdgeConfigBackups400 = unknown +export type GetEdgeConfigBackups400 = unknown; -export type GetEdgeConfigBackups401 = unknown +export type GetEdgeConfigBackups401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetEdgeConfigBackups403 = unknown +export type GetEdgeConfigBackups403 = unknown; -export type GetEdgeConfigBackups404 = unknown +export type GetEdgeConfigBackups404 = unknown; -export type GetEdgeConfigBackupsQueryResponse = GetEdgeConfigBackups200 +export type GetEdgeConfigBackupsQueryResponse = GetEdgeConfigBackups200; export type GetEdgeConfigBackupsQuery = { - Response: GetEdgeConfigBackups200 - PathParams: GetEdgeConfigBackupsPathParams - QueryParams: GetEdgeConfigBackupsQueryParams - Errors: GetEdgeConfigBackups400 | GetEdgeConfigBackups401 | GetEdgeConfigBackups403 | GetEdgeConfigBackups404 -} + Response: GetEdgeConfigBackups200; + PathParams: GetEdgeConfigBackupsPathParams; + QueryParams: GetEdgeConfigBackupsQueryParams; + Errors: GetEdgeConfigBackups400 | GetEdgeConfigBackups401 | GetEdgeConfigBackups403 | GetEdgeConfigBackups404; +}; export type ListUserEventsQueryParams = { /** * @description Maximum number of items which may be returned. * @type number | undefined */ - limit?: number | undefined + limit?: number | undefined; /** * @description Timestamp to only include items created since then. * @type string | undefined */ - since?: string | undefined + since?: string | undefined; /** * @description Timestamp to only include items created until then. * @type string | undefined */ - until?: string | undefined + until?: string | undefined; /** * @description Comma-delimited list of event \\\"types\\\" to filter the results by. * @type string | undefined */ - types?: string | undefined + types?: string | undefined; /** * @description Deprecated. Use `principalId` instead. If `principalId` and `userId` both exist, `principalId` will be used. * @type string | undefined */ - userId?: string | undefined + userId?: string | undefined; /** * @description When retrieving events for a Team, the `principalId` parameter may be specified to filter events generated by a specific principal. * @type string | undefined */ - principalId?: string | undefined + principalId?: string | undefined; /** * @description Comma-delimited list of project IDs to filter the results by. * @type string | undefined */ - projectIds?: string | undefined + projectIds?: string | undefined; /** * @description When set to `true`, the response will include the `payload` field for each event. * @type string | undefined */ - withPayload?: string | undefined + withPayload?: string | undefined; /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description Successful response. */ -export type ListUserEvents200 = unknown +export type ListUserEvents200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type ListUserEvents400 = unknown +export type ListUserEvents400 = unknown; -export type ListUserEvents401 = unknown +export type ListUserEvents401 = unknown; /** * @description You do not have permission to access this resource. */ -export type ListUserEvents403 = unknown +export type ListUserEvents403 = unknown; -export type ListUserEventsQueryResponse = ListUserEvents200 +export type ListUserEventsQueryResponse = ListUserEvents200; export type ListUserEventsQuery = { - Response: ListUserEvents200 - QueryParams: ListUserEventsQueryParams - Errors: ListUserEvents400 | ListUserEvents401 | ListUserEvents403 -} + Response: ListUserEvents200; + QueryParams: ListUserEventsQueryParams; + Errors: ListUserEvents400 | ListUserEvents401 | ListUserEvents403; +}; export type GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansPathParams = { /** * @type string */ - integrationIdOrSlug: string + integrationIdOrSlug: string; /** * @type string */ - productIdOrSlug: string -} + productIdOrSlug: string; +}; export type GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansQueryParams = { /** * @type string | undefined */ - metadata?: string | undefined -} + metadata?: string | undefined; +}; -export type GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans200 = unknown +export type GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans400 = unknown +export type GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans400 = unknown; -export type GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans401 = unknown +export type GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans403 = unknown +export type GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans403 = unknown; -export type GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans404 = unknown +export type GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans404 = unknown; export type GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansQueryResponse = - GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans200 + GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans200; export type GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansQuery = { - Response: GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans200 - PathParams: GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansPathParams - QueryParams: GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansQueryParams + Response: GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans200; + PathParams: GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansPathParams; + QueryParams: GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansQueryParams; Errors: | GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans400 | GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans401 | GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans403 - | GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans404 -} + | GETV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans404; +}; export type GetAccountInfoPathParams = { /** * @type string */ - integrationConfigurationId: string -} + integrationConfigurationId: string; +}; -export type GetAccountInfo200 = unknown +export type GetAccountInfo200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type GetAccountInfo400 = unknown +export type GetAccountInfo400 = unknown; -export type GetAccountInfo401 = unknown +export type GetAccountInfo401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetAccountInfo403 = unknown +export type GetAccountInfo403 = unknown; -export type GetAccountInfo404 = unknown +export type GetAccountInfo404 = unknown; -export type GetAccountInfoQueryResponse = GetAccountInfo200 +export type GetAccountInfoQueryResponse = GetAccountInfo200; export type GetAccountInfoQuery = { - Response: GetAccountInfo200 - PathParams: GetAccountInfoPathParams - Errors: GetAccountInfo400 | GetAccountInfo401 | GetAccountInfo403 | GetAccountInfo404 -} + Response: GetAccountInfo200; + PathParams: GetAccountInfoPathParams; + Errors: GetAccountInfo400 | GetAccountInfo401 | GetAccountInfo403 | GetAccountInfo404; +}; export type GetMemberPathParams = { /** * @type string */ - integrationConfigurationId: string + integrationConfigurationId: string; /** * @type string */ - memberId: string -} + memberId: string; +}; -export type GetMember200 = unknown +export type GetMember200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type GetMember400 = unknown +export type GetMember400 = unknown; -export type GetMember401 = unknown +export type GetMember401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetMember403 = unknown +export type GetMember403 = unknown; -export type GetMember404 = unknown +export type GetMember404 = unknown; -export type GetMemberQueryResponse = GetMember200 +export type GetMemberQueryResponse = GetMember200; export type GetMemberQuery = { - Response: GetMember200 - PathParams: GetMemberPathParams - Errors: GetMember400 | GetMember401 | GetMember403 | GetMember404 -} + Response: GetMember200; + PathParams: GetMemberPathParams; + Errors: GetMember400 | GetMember401 | GetMember403 | GetMember404; +}; export type CreateEventPathParams = { /** * @type string */ - integrationConfigurationId: string -} + integrationConfigurationId: string; +}; -export type CreateEvent201 = unknown +export type CreateEvent201 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type CreateEvent400 = unknown +export type CreateEvent400 = unknown; -export type CreateEvent401 = unknown +export type CreateEvent401 = unknown; /** * @description You do not have permission to access this resource. */ -export type CreateEvent403 = unknown +export type CreateEvent403 = unknown; -export type CreateEvent404 = unknown +export type CreateEvent404 = unknown; -export type CreateEventMutationResponse = CreateEvent201 +export type CreateEventMutationResponse = CreateEvent201; export type CreateEventMutation = { - Response: CreateEvent201 - PathParams: CreateEventPathParams - Errors: CreateEvent400 | CreateEvent401 | CreateEvent403 | CreateEvent404 -} + Response: CreateEvent201; + PathParams: CreateEventPathParams; + Errors: CreateEvent400 | CreateEvent401 | CreateEvent403 | CreateEvent404; +}; export type GetIntegrationResourcesPathParams = { /** * @type string */ - integrationConfigurationId: string -} + integrationConfigurationId: string; +}; -export type GetIntegrationResources200 = unknown +export type GetIntegrationResources200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type GetIntegrationResources400 = unknown +export type GetIntegrationResources400 = unknown; -export type GetIntegrationResources401 = unknown +export type GetIntegrationResources401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetIntegrationResources403 = unknown +export type GetIntegrationResources403 = unknown; -export type GetIntegrationResources404 = unknown +export type GetIntegrationResources404 = unknown; -export type GetIntegrationResourcesQueryResponse = GetIntegrationResources200 +export type GetIntegrationResourcesQueryResponse = GetIntegrationResources200; export type GetIntegrationResourcesQuery = { - Response: GetIntegrationResources200 - PathParams: GetIntegrationResourcesPathParams - Errors: GetIntegrationResources400 | GetIntegrationResources401 | GetIntegrationResources403 | GetIntegrationResources404 -} + Response: GetIntegrationResources200; + PathParams: GetIntegrationResourcesPathParams; + Errors: + | GetIntegrationResources400 + | GetIntegrationResources401 + | GetIntegrationResources403 + | GetIntegrationResources404; +}; export type GetIntegrationResourcePathParams = { /** * @description The ID of the integration configuration (installation) the resource belongs to * @type string */ - integrationConfigurationId: string + integrationConfigurationId: string; /** * @description The ID provided by the 3rd party provider for the given resource * @type string */ - resourceId: string -} + resourceId: string; +}; -export type GetIntegrationResource200 = unknown +export type GetIntegrationResource200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type GetIntegrationResource400 = unknown +export type GetIntegrationResource400 = unknown; -export type GetIntegrationResource401 = unknown +export type GetIntegrationResource401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetIntegrationResource403 = unknown +export type GetIntegrationResource403 = unknown; -export type GetIntegrationResource404 = unknown +export type GetIntegrationResource404 = unknown; -export type GetIntegrationResourceQueryResponse = GetIntegrationResource200 +export type GetIntegrationResourceQueryResponse = GetIntegrationResource200; export type GetIntegrationResourceQuery = { - Response: GetIntegrationResource200 - PathParams: GetIntegrationResourcePathParams - Errors: GetIntegrationResource400 | GetIntegrationResource401 | GetIntegrationResource403 | GetIntegrationResource404 -} + Response: GetIntegrationResource200; + PathParams: GetIntegrationResourcePathParams; + Errors: GetIntegrationResource400 | GetIntegrationResource401 | GetIntegrationResource403 | GetIntegrationResource404; +}; export type DeleteIntegrationResourcePathParams = { /** * @type string */ - integrationConfigurationId: string + integrationConfigurationId: string; /** * @type string */ - resourceId: string -} + resourceId: string; +}; -export type DeleteIntegrationResource204 = unknown +export type DeleteIntegrationResource204 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type DeleteIntegrationResource400 = unknown +export type DeleteIntegrationResource400 = unknown; -export type DeleteIntegrationResource401 = unknown +export type DeleteIntegrationResource401 = unknown; /** * @description You do not have permission to access this resource. */ -export type DeleteIntegrationResource403 = unknown +export type DeleteIntegrationResource403 = unknown; -export type DeleteIntegrationResource404 = unknown +export type DeleteIntegrationResource404 = unknown; -export type DeleteIntegrationResourceMutationResponse = DeleteIntegrationResource204 +export type DeleteIntegrationResourceMutationResponse = DeleteIntegrationResource204; export type DeleteIntegrationResourceMutation = { - Response: DeleteIntegrationResource204 - PathParams: DeleteIntegrationResourcePathParams - Errors: DeleteIntegrationResource400 | DeleteIntegrationResource401 | DeleteIntegrationResource403 | DeleteIntegrationResource404 -} + Response: DeleteIntegrationResource204; + PathParams: DeleteIntegrationResourcePathParams; + Errors: + | DeleteIntegrationResource400 + | DeleteIntegrationResource401 + | DeleteIntegrationResource403 + | DeleteIntegrationResource404; +}; export type ImportResourcePathParams = { /** * @type string */ - integrationConfigurationId: string + integrationConfigurationId: string; /** * @type string */ - resourceId: string -} + resourceId: string; +}; -export type ImportResource200 = unknown +export type ImportResource200 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type ImportResource400 = unknown +export type ImportResource400 = unknown; -export type ImportResource401 = unknown +export type ImportResource401 = unknown; /** * @description You do not have permission to access this resource. */ -export type ImportResource403 = unknown +export type ImportResource403 = unknown; -export type ImportResource404 = unknown +export type ImportResource404 = unknown; -export type ImportResourceMutationResponse = ImportResource200 +export type ImportResourceMutationResponse = ImportResource200; export type ImportResourceMutation = { - Response: ImportResource200 - PathParams: ImportResourcePathParams - Errors: ImportResource400 | ImportResource401 | ImportResource403 | ImportResource404 -} + Response: ImportResource200; + PathParams: ImportResourcePathParams; + Errors: ImportResource400 | ImportResource401 | ImportResource403 | ImportResource404; +}; export type SubmitBillingDataPathParams = { /** * @type string */ - integrationConfigurationId: string -} + integrationConfigurationId: string; +}; -export type SubmitBillingData201 = unknown +export type SubmitBillingData201 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type SubmitBillingData400 = unknown +export type SubmitBillingData400 = unknown; -export type SubmitBillingData401 = unknown +export type SubmitBillingData401 = unknown; /** * @description You do not have permission to access this resource. */ -export type SubmitBillingData403 = unknown +export type SubmitBillingData403 = unknown; -export type SubmitBillingData404 = unknown +export type SubmitBillingData404 = unknown; -export type SubmitBillingDataMutationResponse = SubmitBillingData201 +export type SubmitBillingDataMutationResponse = SubmitBillingData201; export type SubmitBillingDataMutation = { - Response: SubmitBillingData201 - PathParams: SubmitBillingDataPathParams - Errors: SubmitBillingData400 | SubmitBillingData401 | SubmitBillingData403 | SubmitBillingData404 -} + Response: SubmitBillingData201; + PathParams: SubmitBillingDataPathParams; + Errors: SubmitBillingData400 | SubmitBillingData401 | SubmitBillingData403 | SubmitBillingData404; +}; export type SubmitInvoicePathParams = { /** * @type string */ - integrationConfigurationId: string -} + integrationConfigurationId: string; +}; -export type SubmitInvoice200 = unknown +export type SubmitInvoice200 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type SubmitInvoice400 = unknown +export type SubmitInvoice400 = unknown; -export type SubmitInvoice401 = unknown +export type SubmitInvoice401 = unknown; /** * @description You do not have permission to access this resource. */ -export type SubmitInvoice403 = unknown +export type SubmitInvoice403 = unknown; -export type SubmitInvoice404 = unknown +export type SubmitInvoice404 = unknown; -export type SubmitInvoiceMutationResponse = SubmitInvoice200 +export type SubmitInvoiceMutationResponse = SubmitInvoice200; export type SubmitInvoiceMutation = { - Response: SubmitInvoice200 - PathParams: SubmitInvoicePathParams - Errors: SubmitInvoice400 | SubmitInvoice401 | SubmitInvoice403 | SubmitInvoice404 -} + Response: SubmitInvoice200; + PathParams: SubmitInvoicePathParams; + Errors: SubmitInvoice400 | SubmitInvoice401 | SubmitInvoice403 | SubmitInvoice404; +}; export type GetInvoicePathParams = { /** * @type string */ - integrationConfigurationId: string + integrationConfigurationId: string; /** * @type string */ - invoiceId: string -} + invoiceId: string; +}; -export type GetInvoice200 = unknown +export type GetInvoice200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type GetInvoice400 = unknown +export type GetInvoice400 = unknown; -export type GetInvoice401 = unknown +export type GetInvoice401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetInvoice403 = unknown +export type GetInvoice403 = unknown; -export type GetInvoice404 = unknown +export type GetInvoice404 = unknown; -export type GetInvoiceQueryResponse = GetInvoice200 +export type GetInvoiceQueryResponse = GetInvoice200; export type GetInvoiceQuery = { - Response: GetInvoice200 - PathParams: GetInvoicePathParams - Errors: GetInvoice400 | GetInvoice401 | GetInvoice403 | GetInvoice404 -} + Response: GetInvoice200; + PathParams: GetInvoicePathParams; + Errors: GetInvoice400 | GetInvoice401 | GetInvoice403 | GetInvoice404; +}; export type UpdateInvoicePathParams = { /** * @type string */ - integrationConfigurationId: string + integrationConfigurationId: string; /** * @type string */ - invoiceId: string -} + invoiceId: string; +}; -export type UpdateInvoice204 = unknown +export type UpdateInvoice204 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type UpdateInvoice400 = unknown +export type UpdateInvoice400 = unknown; -export type UpdateInvoice401 = unknown +export type UpdateInvoice401 = unknown; /** * @description You do not have permission to access this resource. */ -export type UpdateInvoice403 = unknown +export type UpdateInvoice403 = unknown; -export type UpdateInvoice404 = unknown +export type UpdateInvoice404 = unknown; -export type UpdateInvoiceMutationResponse = UpdateInvoice204 +export type UpdateInvoiceMutationResponse = UpdateInvoice204; export type UpdateInvoiceMutation = { - Response: UpdateInvoice204 - PathParams: UpdateInvoicePathParams - Errors: UpdateInvoice400 | UpdateInvoice401 | UpdateInvoice403 | UpdateInvoice404 -} + Response: UpdateInvoice204; + PathParams: UpdateInvoicePathParams; + Errors: UpdateInvoice400 | UpdateInvoice401 | UpdateInvoice403 | UpdateInvoice404; +}; export type SubmitPrepaymentBalancesPathParams = { /** * @type string */ - integrationConfigurationId: string -} + integrationConfigurationId: string; +}; -export type SubmitPrepaymentBalances201 = unknown +export type SubmitPrepaymentBalances201 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type SubmitPrepaymentBalances400 = unknown +export type SubmitPrepaymentBalances400 = unknown; -export type SubmitPrepaymentBalances401 = unknown +export type SubmitPrepaymentBalances401 = unknown; /** * @description You do not have permission to access this resource. */ -export type SubmitPrepaymentBalances403 = unknown +export type SubmitPrepaymentBalances403 = unknown; -export type SubmitPrepaymentBalances404 = unknown +export type SubmitPrepaymentBalances404 = unknown; -export type SubmitPrepaymentBalancesMutationResponse = SubmitPrepaymentBalances201 +export type SubmitPrepaymentBalancesMutationResponse = SubmitPrepaymentBalances201; export type SubmitPrepaymentBalancesMutation = { - Response: SubmitPrepaymentBalances201 - PathParams: SubmitPrepaymentBalancesPathParams - Errors: SubmitPrepaymentBalances400 | SubmitPrepaymentBalances401 | SubmitPrepaymentBalances403 | SubmitPrepaymentBalances404 -} + Response: SubmitPrepaymentBalances201; + PathParams: SubmitPrepaymentBalancesPathParams; + Errors: + | SubmitPrepaymentBalances400 + | SubmitPrepaymentBalances401 + | SubmitPrepaymentBalances403 + | SubmitPrepaymentBalances404; +}; export type UpdateResourceSecretsPathParams = { /** * @type string */ - integrationConfigurationId: string + integrationConfigurationId: string; /** * @type string */ - integrationProductIdOrSlug: string + integrationProductIdOrSlug: string; /** * @type string */ - resourceId: string -} + resourceId: string; +}; -export type UpdateResourceSecrets201 = unknown +export type UpdateResourceSecrets201 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type UpdateResourceSecrets400 = unknown +export type UpdateResourceSecrets400 = unknown; -export type UpdateResourceSecrets401 = unknown +export type UpdateResourceSecrets401 = unknown; /** * @description You do not have permission to access this resource. */ -export type UpdateResourceSecrets403 = unknown +export type UpdateResourceSecrets403 = unknown; -export type UpdateResourceSecrets404 = unknown +export type UpdateResourceSecrets404 = unknown; -export type UpdateResourceSecretsMutationResponse = UpdateResourceSecrets201 +export type UpdateResourceSecretsMutationResponse = UpdateResourceSecrets201; export type UpdateResourceSecretsMutation = { - Response: UpdateResourceSecrets201 - PathParams: UpdateResourceSecretsPathParams - Errors: UpdateResourceSecrets400 | UpdateResourceSecrets401 | UpdateResourceSecrets403 | UpdateResourceSecrets404 -} + Response: UpdateResourceSecrets201; + PathParams: UpdateResourceSecretsPathParams; + Errors: UpdateResourceSecrets400 | UpdateResourceSecrets401 | UpdateResourceSecrets403 | UpdateResourceSecrets404; +}; export type UpdateResourceSecretsByIdPathParams = { /** * @type string */ - integrationConfigurationId: string + integrationConfigurationId: string; /** * @type string */ - resourceId: string -} + resourceId: string; +}; -export type UpdateResourceSecretsById201 = unknown +export type UpdateResourceSecretsById201 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type UpdateResourceSecretsById400 = unknown +export type UpdateResourceSecretsById400 = unknown; -export type UpdateResourceSecretsById401 = unknown +export type UpdateResourceSecretsById401 = unknown; /** * @description You do not have permission to access this resource. */ -export type UpdateResourceSecretsById403 = unknown +export type UpdateResourceSecretsById403 = unknown; -export type UpdateResourceSecretsById404 = unknown +export type UpdateResourceSecretsById404 = unknown; -export type UpdateResourceSecretsById422 = unknown +export type UpdateResourceSecretsById422 = unknown; -export type UpdateResourceSecretsByIdMutationResponse = UpdateResourceSecretsById201 +export type UpdateResourceSecretsByIdMutationResponse = UpdateResourceSecretsById201; export type UpdateResourceSecretsByIdMutation = { - Response: UpdateResourceSecretsById201 - PathParams: UpdateResourceSecretsByIdPathParams + Response: UpdateResourceSecretsById201; + PathParams: UpdateResourceSecretsByIdPathParams; Errors: | UpdateResourceSecretsById400 | UpdateResourceSecretsById401 | UpdateResourceSecretsById403 | UpdateResourceSecretsById404 - | UpdateResourceSecretsById422 -} + | UpdateResourceSecretsById422; +}; export const getConfigurationsQueryParamsViewEnum = { account: 'account', - project: 'project', -} as const + project: 'project' +} as const; -export type GetConfigurationsQueryParamsViewEnum = (typeof getConfigurationsQueryParamsViewEnum)[keyof typeof getConfigurationsQueryParamsViewEnum] +export type GetConfigurationsQueryParamsViewEnum = + (typeof getConfigurationsQueryParamsViewEnum)[keyof typeof getConfigurationsQueryParamsViewEnum]; export const getConfigurationsQueryParamsInstallationTypeEnum = { marketplace: 'marketplace', - external: 'external', -} as const + external: 'external' +} as const; export type GetConfigurationsQueryParamsInstallationTypeEnum = - (typeof getConfigurationsQueryParamsInstallationTypeEnum)[keyof typeof getConfigurationsQueryParamsInstallationTypeEnum] + (typeof getConfigurationsQueryParamsInstallationTypeEnum)[keyof typeof getConfigurationsQueryParamsInstallationTypeEnum]; export type GetConfigurationsQueryParams = { /** * @type string */ - view: GetConfigurationsQueryParamsViewEnum + view: GetConfigurationsQueryParamsViewEnum; /** * @type string | undefined */ - installationType?: GetConfigurationsQueryParamsInstallationTypeEnum | undefined + installationType?: GetConfigurationsQueryParamsInstallationTypeEnum | undefined; /** * @description ID of the integration * @type string | undefined */ - integrationIdOrSlug?: string | undefined + integrationIdOrSlug?: string | undefined; /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description The list of configurations for the authenticated user */ -export type GetConfigurations200 = unknown +export type GetConfigurations200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type GetConfigurations400 = unknown +export type GetConfigurations400 = unknown; -export type GetConfigurations401 = unknown +export type GetConfigurations401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetConfigurations403 = unknown +export type GetConfigurations403 = unknown; -export type GetConfigurationsQueryResponse = GetConfigurations200 +export type GetConfigurationsQueryResponse = GetConfigurations200; export type GetConfigurationsQuery = { - Response: GetConfigurations200 - QueryParams: GetConfigurationsQueryParams - Errors: GetConfigurations400 | GetConfigurations401 | GetConfigurations403 -} + Response: GetConfigurations200; + QueryParams: GetConfigurationsQueryParams; + Errors: GetConfigurations400 | GetConfigurations401 | GetConfigurations403; +}; export type GetConfigurationPathParams = { /** * @description ID of the configuration to check * @type string */ - id: string -} + id: string; +}; export type GetConfigurationQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description The configuration with the provided id */ -export type GetConfiguration200 = unknown +export type GetConfiguration200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type GetConfiguration400 = unknown +export type GetConfiguration400 = unknown; -export type GetConfiguration401 = unknown +export type GetConfiguration401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetConfiguration403 = unknown +export type GetConfiguration403 = unknown; /** * @description The configuration was not found */ -export type GetConfiguration404 = unknown +export type GetConfiguration404 = unknown; -export type GetConfigurationQueryResponse = GetConfiguration200 +export type GetConfigurationQueryResponse = GetConfiguration200; export type GetConfigurationQuery = { - Response: GetConfiguration200 - PathParams: GetConfigurationPathParams - QueryParams: GetConfigurationQueryParams - Errors: GetConfiguration400 | GetConfiguration401 | GetConfiguration403 | GetConfiguration404 -} + Response: GetConfiguration200; + PathParams: GetConfigurationPathParams; + QueryParams: GetConfigurationQueryParams; + Errors: GetConfiguration400 | GetConfiguration401 | GetConfiguration403 | GetConfiguration404; +}; export type DeleteConfigurationPathParams = { /** * @type string */ - id: string -} + id: string; +}; export type DeleteConfigurationQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description The configuration was successfully removed */ -export type DeleteConfiguration204 = unknown +export type DeleteConfiguration204 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type DeleteConfiguration400 = unknown +export type DeleteConfiguration400 = unknown; -export type DeleteConfiguration401 = unknown +export type DeleteConfiguration401 = unknown; /** * @description You do not have permission to access this resource. */ -export type DeleteConfiguration403 = unknown +export type DeleteConfiguration403 = unknown; /** * @description The configuration was not found */ -export type DeleteConfiguration404 = unknown +export type DeleteConfiguration404 = unknown; -export type DeleteConfigurationMutationResponse = DeleteConfiguration204 +export type DeleteConfigurationMutationResponse = DeleteConfiguration204; export type DeleteConfigurationMutation = { - Response: DeleteConfiguration204 - PathParams: DeleteConfigurationPathParams - QueryParams: DeleteConfigurationQueryParams - Errors: DeleteConfiguration400 | DeleteConfiguration401 | DeleteConfiguration403 | DeleteConfiguration404 -} + Response: DeleteConfiguration204; + PathParams: DeleteConfigurationPathParams; + QueryParams: DeleteConfigurationQueryParams; + Errors: DeleteConfiguration400 | DeleteConfiguration401 | DeleteConfiguration403 | DeleteConfiguration404; +}; export type GetConfigurationProductsPathParams = { /** * @description ID of the integration configuration * @type string */ - id: string -} + id: string; +}; export type GetConfigurationProductsQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description List of products available for this integration configuration */ -export type GetConfigurationProducts200 = unknown +export type GetConfigurationProducts200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type GetConfigurationProducts400 = unknown +export type GetConfigurationProducts400 = unknown; -export type GetConfigurationProducts401 = unknown +export type GetConfigurationProducts401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetConfigurationProducts403 = unknown +export type GetConfigurationProducts403 = unknown; -export type GetConfigurationProducts404 = unknown +export type GetConfigurationProducts404 = unknown; -export type GetConfigurationProducts500 = unknown +export type GetConfigurationProducts500 = unknown; -export type GetConfigurationProductsQueryResponse = GetConfigurationProducts200 +export type GetConfigurationProductsQueryResponse = GetConfigurationProducts200; export type GetConfigurationProductsQuery = { - Response: GetConfigurationProducts200 - PathParams: GetConfigurationProductsPathParams - QueryParams: GetConfigurationProductsQueryParams - Errors: GetConfigurationProducts400 | GetConfigurationProducts401 | GetConfigurationProducts403 | GetConfigurationProducts404 | GetConfigurationProducts500 -} + Response: GetConfigurationProducts200; + PathParams: GetConfigurationProductsPathParams; + QueryParams: GetConfigurationProductsQueryParams; + Errors: + | GetConfigurationProducts400 + | GetConfigurationProducts401 + | GetConfigurationProducts403 + | GetConfigurationProducts404 + | GetConfigurationProducts500; +}; -export type ExchangeSsoToken200 = unknown +export type ExchangeSsoToken200 = unknown; /** * @description One of the provided values in the request body is invalid. */ -export type ExchangeSsoToken400 = unknown +export type ExchangeSsoToken400 = unknown; -export type ExchangeSsoToken404 = unknown +export type ExchangeSsoToken404 = unknown; -export type ExchangeSsoToken500 = unknown +export type ExchangeSsoToken500 = unknown; -export type ExchangeSsoTokenMutationResponse = ExchangeSsoToken200 +export type ExchangeSsoTokenMutationResponse = ExchangeSsoToken200; export type ExchangeSsoTokenMutation = { - Response: ExchangeSsoToken200 - Errors: ExchangeSsoToken400 | ExchangeSsoToken404 | ExchangeSsoToken500 -} + Response: ExchangeSsoToken200; + Errors: ExchangeSsoToken400 | ExchangeSsoToken404 | ExchangeSsoToken500; +}; export type GetIntegrationLogDrainsQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description A list of log drains */ -export type GetIntegrationLogDrains200 = unknown +export type GetIntegrationLogDrains200 = unknown; -export type GetIntegrationLogDrains400 = unknown +export type GetIntegrationLogDrains400 = unknown; -export type GetIntegrationLogDrains401 = unknown +export type GetIntegrationLogDrains401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetIntegrationLogDrains403 = unknown +export type GetIntegrationLogDrains403 = unknown; -export type GetIntegrationLogDrainsQueryResponse = GetIntegrationLogDrains200 +export type GetIntegrationLogDrainsQueryResponse = GetIntegrationLogDrains200; export type GetIntegrationLogDrainsQuery = { - Response: GetIntegrationLogDrains200 - QueryParams: GetIntegrationLogDrainsQueryParams - Errors: GetIntegrationLogDrains400 | GetIntegrationLogDrains401 | GetIntegrationLogDrains403 -} + Response: GetIntegrationLogDrains200; + QueryParams: GetIntegrationLogDrainsQueryParams; + Errors: GetIntegrationLogDrains400 | GetIntegrationLogDrains401 | GetIntegrationLogDrains403; +}; export type CreateLogDrainQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description The log drain was successfully created */ -export type CreateLogDrain200 = unknown +export type CreateLogDrain200 = unknown; /** * @description One of the provided values in the request body is invalid.\nThe provided token is not from an OAuth2 Client */ -export type CreateLogDrain400 = unknown +export type CreateLogDrain400 = unknown; -export type CreateLogDrain401 = unknown +export type CreateLogDrain401 = unknown; /** * @description You do not have permission to access this resource. */ -export type CreateLogDrain403 = unknown +export type CreateLogDrain403 = unknown; -export type CreateLogDrainMutationResponse = CreateLogDrain200 +export type CreateLogDrainMutationResponse = CreateLogDrain200; export type CreateLogDrainMutation = { - Response: CreateLogDrain200 - QueryParams: CreateLogDrainQueryParams - Errors: CreateLogDrain400 | CreateLogDrain401 | CreateLogDrain403 -} + Response: CreateLogDrain200; + QueryParams: CreateLogDrainQueryParams; + Errors: CreateLogDrain400 | CreateLogDrain401 | CreateLogDrain403; +}; export type DeleteIntegrationLogDrainPathParams = { /** * @description ID of the log drain to be deleted * @type string */ - id: string -} + id: string; +}; export type DeleteIntegrationLogDrainQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description The log drain was successfully deleted */ -export type DeleteIntegrationLogDrain204 = unknown +export type DeleteIntegrationLogDrain204 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type DeleteIntegrationLogDrain400 = unknown +export type DeleteIntegrationLogDrain400 = unknown; -export type DeleteIntegrationLogDrain401 = unknown +export type DeleteIntegrationLogDrain401 = unknown; /** * @description You do not have permission to access this resource. */ -export type DeleteIntegrationLogDrain403 = unknown +export type DeleteIntegrationLogDrain403 = unknown; /** * @description The log drain was not found */ -export type DeleteIntegrationLogDrain404 = unknown +export type DeleteIntegrationLogDrain404 = unknown; -export type DeleteIntegrationLogDrainMutationResponse = DeleteIntegrationLogDrain204 +export type DeleteIntegrationLogDrainMutationResponse = DeleteIntegrationLogDrain204; export type DeleteIntegrationLogDrainMutation = { - Response: DeleteIntegrationLogDrain204 - PathParams: DeleteIntegrationLogDrainPathParams - QueryParams: DeleteIntegrationLogDrainQueryParams - Errors: DeleteIntegrationLogDrain400 | DeleteIntegrationLogDrain401 | DeleteIntegrationLogDrain403 | DeleteIntegrationLogDrain404 -} + Response: DeleteIntegrationLogDrain204; + PathParams: DeleteIntegrationLogDrainPathParams; + QueryParams: DeleteIntegrationLogDrainQueryParams; + Errors: + | DeleteIntegrationLogDrain400 + | DeleteIntegrationLogDrain401 + | DeleteIntegrationLogDrain403 + | DeleteIntegrationLogDrain404; +}; export type GetRuntimeLogsPathParams = { /** * @type string */ - projectId: string + projectId: string; /** * @type string */ - deploymentId: string -} + deploymentId: string; +}; export type GetRuntimeLogsQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type GetRuntimeLogs200 = unknown +export type GetRuntimeLogs200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type GetRuntimeLogs400 = unknown +export type GetRuntimeLogs400 = unknown; -export type GetRuntimeLogs401 = unknown +export type GetRuntimeLogs401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetRuntimeLogs403 = unknown +export type GetRuntimeLogs403 = unknown; -export type GetRuntimeLogsQueryResponse = GetRuntimeLogs200 +export type GetRuntimeLogsQueryResponse = GetRuntimeLogs200; export type GetRuntimeLogsQuery = { - Response: GetRuntimeLogs200 - PathParams: GetRuntimeLogsPathParams - QueryParams: GetRuntimeLogsQueryParams - Errors: GetRuntimeLogs400 | GetRuntimeLogs401 | GetRuntimeLogs403 -} + Response: GetRuntimeLogs200; + PathParams: GetRuntimeLogsPathParams; + QueryParams: GetRuntimeLogsQueryParams; + Errors: GetRuntimeLogs400 | GetRuntimeLogs401 | GetRuntimeLogs403; +}; export type CreateExperimentationItemPathParams = { /** * @type string */ - integrationConfigurationId: string + integrationConfigurationId: string; /** * @type string */ - resourceId: string -} + resourceId: string; +}; /** * @description The items were created */ -export type CreateExperimentationItem204 = unknown +export type CreateExperimentationItem204 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type CreateExperimentationItem400 = unknown +export type CreateExperimentationItem400 = unknown; -export type CreateExperimentationItem401 = unknown +export type CreateExperimentationItem401 = unknown; /** * @description You do not have permission to access this resource. */ -export type CreateExperimentationItem403 = unknown +export type CreateExperimentationItem403 = unknown; -export type CreateExperimentationItem404 = unknown +export type CreateExperimentationItem404 = unknown; -export type CreateExperimentationItemMutationResponse = CreateExperimentationItem204 +export type CreateExperimentationItemMutationResponse = CreateExperimentationItem204; export type CreateExperimentationItemMutation = { - Response: CreateExperimentationItem204 - PathParams: CreateExperimentationItemPathParams - Errors: CreateExperimentationItem400 | CreateExperimentationItem401 | CreateExperimentationItem403 | CreateExperimentationItem404 -} + Response: CreateExperimentationItem204; + PathParams: CreateExperimentationItemPathParams; + Errors: + | CreateExperimentationItem400 + | CreateExperimentationItem401 + | CreateExperimentationItem403 + | CreateExperimentationItem404; +}; export type UpdateExperimentationItemPathParams = { /** * @type string */ - integrationConfigurationId: string + integrationConfigurationId: string; /** * @type string */ - resourceId: string + resourceId: string; /** * @type string */ - itemId: string -} + itemId: string; +}; /** * @description The item was updated */ -export type UpdateExperimentationItem204 = unknown +export type UpdateExperimentationItem204 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type UpdateExperimentationItem400 = unknown +export type UpdateExperimentationItem400 = unknown; -export type UpdateExperimentationItem401 = unknown +export type UpdateExperimentationItem401 = unknown; /** * @description You do not have permission to access this resource. */ -export type UpdateExperimentationItem403 = unknown +export type UpdateExperimentationItem403 = unknown; -export type UpdateExperimentationItem404 = unknown +export type UpdateExperimentationItem404 = unknown; -export type UpdateExperimentationItemMutationResponse = UpdateExperimentationItem204 +export type UpdateExperimentationItemMutationResponse = UpdateExperimentationItem204; export type UpdateExperimentationItemMutation = { - Response: UpdateExperimentationItem204 - PathParams: UpdateExperimentationItemPathParams - Errors: UpdateExperimentationItem400 | UpdateExperimentationItem401 | UpdateExperimentationItem403 | UpdateExperimentationItem404 -} + Response: UpdateExperimentationItem204; + PathParams: UpdateExperimentationItemPathParams; + Errors: + | UpdateExperimentationItem400 + | UpdateExperimentationItem401 + | UpdateExperimentationItem403 + | UpdateExperimentationItem404; +}; export type DeleteExperimentationItemPathParams = { /** * @type string */ - integrationConfigurationId: string + integrationConfigurationId: string; /** * @type string */ - resourceId: string + resourceId: string; /** * @type string */ - itemId: string -} + itemId: string; +}; /** * @description The item was deleted */ -export type DeleteExperimentationItem204 = unknown +export type DeleteExperimentationItem204 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type DeleteExperimentationItem400 = unknown +export type DeleteExperimentationItem400 = unknown; -export type DeleteExperimentationItem401 = unknown +export type DeleteExperimentationItem401 = unknown; /** * @description You do not have permission to access this resource. */ -export type DeleteExperimentationItem403 = unknown +export type DeleteExperimentationItem403 = unknown; -export type DeleteExperimentationItem404 = unknown +export type DeleteExperimentationItem404 = unknown; -export type DeleteExperimentationItemMutationResponse = DeleteExperimentationItem204 +export type DeleteExperimentationItemMutationResponse = DeleteExperimentationItem204; export type DeleteExperimentationItemMutation = { - Response: DeleteExperimentationItem204 - PathParams: DeleteExperimentationItemPathParams - Errors: DeleteExperimentationItem400 | DeleteExperimentationItem401 | DeleteExperimentationItem403 | DeleteExperimentationItem404 -} + Response: DeleteExperimentationItem204; + PathParams: DeleteExperimentationItemPathParams; + Errors: + | DeleteExperimentationItem400 + | DeleteExperimentationItem401 + | DeleteExperimentationItem403 + | DeleteExperimentationItem404; +}; export type UpdateExperimentationEdgeConfigPathParams = { /** * @type string */ - integrationConfigurationId: string + integrationConfigurationId: string; /** * @type string */ - resourceId: string -} + resourceId: string; +}; /** * @description The Edge Config was updated */ -export type UpdateExperimentationEdgeConfig200 = unknown +export type UpdateExperimentationEdgeConfig200 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type UpdateExperimentationEdgeConfig400 = unknown +export type UpdateExperimentationEdgeConfig400 = unknown; -export type UpdateExperimentationEdgeConfig401 = unknown +export type UpdateExperimentationEdgeConfig401 = unknown; /** * @description You do not have permission to access this resource. */ -export type UpdateExperimentationEdgeConfig403 = unknown +export type UpdateExperimentationEdgeConfig403 = unknown; -export type UpdateExperimentationEdgeConfig404 = unknown +export type UpdateExperimentationEdgeConfig404 = unknown; -export type UpdateExperimentationEdgeConfig409 = unknown +export type UpdateExperimentationEdgeConfig409 = unknown; -export type UpdateExperimentationEdgeConfig412 = unknown +export type UpdateExperimentationEdgeConfig412 = unknown; -export type UpdateExperimentationEdgeConfigMutationResponse = UpdateExperimentationEdgeConfig200 +export type UpdateExperimentationEdgeConfigMutationResponse = UpdateExperimentationEdgeConfig200; export type UpdateExperimentationEdgeConfigMutation = { - Response: UpdateExperimentationEdgeConfig200 - PathParams: UpdateExperimentationEdgeConfigPathParams + Response: UpdateExperimentationEdgeConfig200; + PathParams: UpdateExperimentationEdgeConfigPathParams; Errors: | UpdateExperimentationEdgeConfig400 | UpdateExperimentationEdgeConfig401 | UpdateExperimentationEdgeConfig403 | UpdateExperimentationEdgeConfig404 | UpdateExperimentationEdgeConfig409 - | UpdateExperimentationEdgeConfig412 -} + | UpdateExperimentationEdgeConfig412; +}; export type GetProjectMembersPathParams = { /** * @description The ID or name of the Project. * @type string */ - idOrName: string -} + idOrName: string; +}; export type GetProjectMembersQueryParams = { /** @@ -12975,328 +13073,328 @@ export type GetProjectMembersQueryParams = { * @maxLength 100 * @type integer | undefined */ - limit?: number | undefined + limit?: number | undefined; /** * @description Timestamp in milliseconds to only include members added since then. * @type integer | undefined */ - since?: number | undefined + since?: number | undefined; /** * @description Timestamp in milliseconds to only include members added until then. * @type integer | undefined */ - until?: number | undefined + until?: number | undefined; /** * @description Search project members by their name, username, and email. * @type string | undefined */ - search?: string | undefined + search?: string | undefined; /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description Paginated list of members for the project. */ -export type GetProjectMembers200 = unknown +export type GetProjectMembers200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type GetProjectMembers400 = unknown +export type GetProjectMembers400 = unknown; -export type GetProjectMembers401 = unknown +export type GetProjectMembers401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetProjectMembers403 = unknown +export type GetProjectMembers403 = unknown; -export type GetProjectMembersQueryResponse = GetProjectMembers200 +export type GetProjectMembersQueryResponse = GetProjectMembers200; export type GetProjectMembersQuery = { - Response: GetProjectMembers200 - PathParams: GetProjectMembersPathParams - QueryParams: GetProjectMembersQueryParams - Errors: GetProjectMembers400 | GetProjectMembers401 | GetProjectMembers403 -} + Response: GetProjectMembers200; + PathParams: GetProjectMembersPathParams; + QueryParams: GetProjectMembersQueryParams; + Errors: GetProjectMembers400 | GetProjectMembers401 | GetProjectMembers403; +}; export type AddProjectMemberPathParams = { /** * @description The ID or name of the Project. * @type string */ - idOrName: string -} + idOrName: string; +}; export type AddProjectMemberQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description Responds with the project ID on success. */ -export type AddProjectMember200 = unknown +export type AddProjectMember200 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type AddProjectMember400 = unknown +export type AddProjectMember400 = unknown; -export type AddProjectMember401 = unknown +export type AddProjectMember401 = unknown; /** * @description You do not have permission to access this resource. */ -export type AddProjectMember403 = unknown +export type AddProjectMember403 = unknown; -export type AddProjectMember500 = unknown +export type AddProjectMember500 = unknown; -export type AddProjectMemberMutationResponse = AddProjectMember200 +export type AddProjectMemberMutationResponse = AddProjectMember200; export type AddProjectMemberMutation = { - Response: AddProjectMember200 - PathParams: AddProjectMemberPathParams - QueryParams: AddProjectMemberQueryParams - Errors: AddProjectMember400 | AddProjectMember401 | AddProjectMember403 | AddProjectMember500 -} + Response: AddProjectMember200; + PathParams: AddProjectMemberPathParams; + QueryParams: AddProjectMemberQueryParams; + Errors: AddProjectMember400 | AddProjectMember401 | AddProjectMember403 | AddProjectMember500; +}; export type RemoveProjectMemberPathParams = { /** * @description The ID or name of the Project. * @type string */ - idOrName: string + idOrName: string; /** * @description The user ID of the member. * @type string */ - uid: string -} + uid: string; +}; export type RemoveProjectMemberQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type RemoveProjectMember200 = unknown +export type RemoveProjectMember200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type RemoveProjectMember400 = unknown +export type RemoveProjectMember400 = unknown; -export type RemoveProjectMember401 = unknown +export type RemoveProjectMember401 = unknown; /** * @description You do not have permission to access this resource. */ -export type RemoveProjectMember403 = unknown +export type RemoveProjectMember403 = unknown; -export type RemoveProjectMemberMutationResponse = RemoveProjectMember200 +export type RemoveProjectMemberMutationResponse = RemoveProjectMember200; export type RemoveProjectMemberMutation = { - Response: RemoveProjectMember200 - PathParams: RemoveProjectMemberPathParams - QueryParams: RemoveProjectMemberQueryParams - Errors: RemoveProjectMember400 | RemoveProjectMember401 | RemoveProjectMember403 -} + Response: RemoveProjectMember200; + PathParams: RemoveProjectMemberPathParams; + QueryParams: RemoveProjectMemberQueryParams; + Errors: RemoveProjectMember400 | RemoveProjectMember401 | RemoveProjectMember403; +}; export const getProjectsQueryParamsGitForkProtectionEnum = { '1': '1', - '0': '0', -} as const + '0': '0' +} as const; export type GetProjectsQueryParamsGitForkProtectionEnum = - (typeof getProjectsQueryParamsGitForkProtectionEnum)[keyof typeof getProjectsQueryParamsGitForkProtectionEnum] + (typeof getProjectsQueryParamsGitForkProtectionEnum)[keyof typeof getProjectsQueryParamsGitForkProtectionEnum]; export const getProjectsQueryParamsElasticConcurrencyEnabledEnum = { '1': '1', - '0': '0', -} as const + '0': '0' +} as const; export type GetProjectsQueryParamsElasticConcurrencyEnabledEnum = - (typeof getProjectsQueryParamsElasticConcurrencyEnabledEnum)[keyof typeof getProjectsQueryParamsElasticConcurrencyEnabledEnum] + (typeof getProjectsQueryParamsElasticConcurrencyEnabledEnum)[keyof typeof getProjectsQueryParamsElasticConcurrencyEnabledEnum]; export type GetProjectsQueryParams = { /** * @description Query only projects updated after the given timestamp * @type string | undefined */ - from?: string | undefined + from?: string | undefined; /** * @description Specifies whether PRs from Git forks should require a team member\'s authorization before it can be deployed * @type string | undefined */ - gitForkProtection?: GetProjectsQueryParamsGitForkProtectionEnum | undefined + gitForkProtection?: GetProjectsQueryParamsGitForkProtectionEnum | undefined; /** * @description Limit the number of projects returned * @type string | undefined */ - limit?: string | undefined + limit?: string | undefined; /** * @description Search projects by the name field * @maxLength 100 * @type string | undefined */ - search?: string | undefined + search?: string | undefined; /** * @description Filter results by repo. Also used for project count * @type string | undefined */ - repo?: string | undefined + repo?: string | undefined; /** * @description Filter results by Repository ID. * @type string | undefined */ - repoId?: string | undefined + repoId?: string | undefined; /** * @description Filter results by Repository URL. * @type string | undefined */ - repoUrl?: string | undefined + repoUrl?: string | undefined; /** * @description Filter results by excluding those projects that belong to a repo * @type string | undefined */ - excludeRepos?: string | undefined + excludeRepos?: string | undefined; /** * @description Filter results by connected Edge Config ID * @type string | undefined */ - edgeConfigId?: string | undefined + edgeConfigId?: string | undefined; /** * @description Filter results by connected Edge Config Token ID * @type string | undefined */ - edgeConfigTokenId?: string | undefined + edgeConfigTokenId?: string | undefined; /** * @type boolean | undefined */ - deprecated?: boolean | undefined + deprecated?: boolean | undefined; /** * @description Filter results by projects with elastic concurrency enabled * @type string | undefined */ - elasticConcurrencyEnabled?: GetProjectsQueryParamsElasticConcurrencyEnabledEnum | undefined + elasticConcurrencyEnabled?: GetProjectsQueryParamsElasticConcurrencyEnabledEnum | undefined; /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description The paginated list of projects */ -export type GetProjects200 = unknown +export type GetProjects200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type GetProjects400 = unknown +export type GetProjects400 = unknown; -export type GetProjects401 = unknown +export type GetProjects401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetProjects403 = unknown +export type GetProjects403 = unknown; -export type GetProjectsQueryResponse = GetProjects200 +export type GetProjectsQueryResponse = GetProjects200; export type GetProjectsQuery = { - Response: GetProjects200 - QueryParams: GetProjectsQueryParams - Errors: GetProjects400 | GetProjects401 | GetProjects403 -} + Response: GetProjects200; + QueryParams: GetProjectsQueryParams; + Errors: GetProjects400 | GetProjects401 | GetProjects403; +}; export type CreateProjectQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description The project was successfuly created */ -export type CreateProject200 = unknown +export type CreateProject200 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nAt least one environment variable failed validation\nThe Bitbucket Webhook for the project link could not be created\nThe Gitlab Webhook for the project link could not be created */ -export type CreateProject400 = unknown +export type CreateProject400 = unknown; -export type CreateProject401 = unknown +export type CreateProject401 = unknown; /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated\nPro customers are allowed to deploy Serverless Functions to up to `proMaxRegions` regions, or if the project was created before the limit was introduced.\nDeploying to Serverless Functions to multiple regions requires a plan update */ -export type CreateProject402 = unknown +export type CreateProject402 = unknown; /** * @description You do not have permission to access this resource. */ -export type CreateProject403 = unknown +export type CreateProject403 = unknown; -export type CreateProject404 = unknown +export type CreateProject404 = unknown; /** * @description A project with the provided name already exists. */ -export type CreateProject409 = unknown +export type CreateProject409 = unknown; /** * @description Owner does not have protection add-on */ -export type CreateProject428 = unknown +export type CreateProject428 = unknown; -export type CreateProject429 = unknown +export type CreateProject429 = unknown; -export type CreateProject500 = unknown +export type CreateProject500 = unknown; -export type CreateProjectMutationResponse = CreateProject200 +export type CreateProjectMutationResponse = CreateProject200; export type CreateProjectMutation = { - Response: CreateProject200 - QueryParams: CreateProjectQueryParams + Response: CreateProject200; + QueryParams: CreateProjectQueryParams; Errors: | CreateProject400 | CreateProject401 @@ -13306,906 +13404,932 @@ export type CreateProjectMutation = { | CreateProject409 | CreateProject428 | CreateProject429 - | CreateProject500 -} + | CreateProject500; +}; export type GetProjectPathParams = { /** * @description The unique project identifier or the project name */ - idOrName: string | boolean -} + idOrName: string | boolean; +}; export type GetProjectQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description The project information */ -export type GetProject200 = unknown +export type GetProject200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type GetProject400 = unknown +export type GetProject400 = unknown; -export type GetProject401 = unknown +export type GetProject401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetProject403 = unknown +export type GetProject403 = unknown; -export type GetProjectQueryResponse = GetProject200 +export type GetProjectQueryResponse = GetProject200; export type GetProjectQuery = { - Response: GetProject200 - PathParams: GetProjectPathParams - QueryParams: GetProjectQueryParams - Errors: GetProject400 | GetProject401 | GetProject403 -} + Response: GetProject200; + PathParams: GetProjectPathParams; + QueryParams: GetProjectQueryParams; + Errors: GetProject400 | GetProject401 | GetProject403; +}; export type UpdateProjectPathParams = { /** * @description The unique project identifier or the project name * @type string */ - idOrName: string -} + idOrName: string; +}; export type UpdateProjectQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description The project was successfully updated */ -export type UpdateProject200 = unknown +export type UpdateProject200 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nTrusted IPs is only accessible for enterprise customers */ -export type UpdateProject400 = unknown +export type UpdateProject400 = unknown; -export type UpdateProject401 = unknown +export type UpdateProject401 = unknown; /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated\nPro customers are allowed to deploy Serverless Functions to up to `proMaxRegions` regions, or if the project was created before the limit was introduced.\nDeploying to Serverless Functions to multiple regions requires a plan update */ -export type UpdateProject402 = unknown +export type UpdateProject402 = unknown; /** * @description You do not have permission to access this resource. */ -export type UpdateProject403 = unknown +export type UpdateProject403 = unknown; -export type UpdateProject404 = unknown +export type UpdateProject404 = unknown; /** * @description The provided name for the project is already being used\nThe project is currently being transferred. */ -export type UpdateProject409 = unknown +export type UpdateProject409 = unknown; /** * @description Owner does not have protection add-on\nAdvanced Deployment Protection is not available for the user plan */ -export type UpdateProject428 = unknown +export type UpdateProject428 = unknown; -export type UpdateProjectMutationResponse = UpdateProject200 +export type UpdateProjectMutationResponse = UpdateProject200; export type UpdateProjectMutation = { - Response: UpdateProject200 - PathParams: UpdateProjectPathParams - QueryParams: UpdateProjectQueryParams - Errors: UpdateProject400 | UpdateProject401 | UpdateProject402 | UpdateProject403 | UpdateProject404 | UpdateProject409 | UpdateProject428 -} + Response: UpdateProject200; + PathParams: UpdateProjectPathParams; + QueryParams: UpdateProjectQueryParams; + Errors: + | UpdateProject400 + | UpdateProject401 + | UpdateProject402 + | UpdateProject403 + | UpdateProject404 + | UpdateProject409 + | UpdateProject428; +}; export type DeleteProjectPathParams = { /** * @description The unique project identifier or the project name * @type string */ - idOrName: string -} + idOrName: string; +}; export type DeleteProjectQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description The project was successfuly removed */ -export type DeleteProject204 = unknown +export type DeleteProject204 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type DeleteProject400 = unknown +export type DeleteProject400 = unknown; -export type DeleteProject401 = unknown +export type DeleteProject401 = unknown; /** * @description You do not have permission to access this resource. */ -export type DeleteProject403 = unknown +export type DeleteProject403 = unknown; -export type DeleteProject409 = unknown +export type DeleteProject409 = unknown; -export type DeleteProjectMutationResponse = DeleteProject204 +export type DeleteProjectMutationResponse = DeleteProject204; export type DeleteProjectMutation = { - Response: DeleteProject204 - PathParams: DeleteProjectPathParams - QueryParams: DeleteProjectQueryParams - Errors: DeleteProject400 | DeleteProject401 | DeleteProject403 | DeleteProject409 -} + Response: DeleteProject204; + PathParams: DeleteProjectPathParams; + QueryParams: DeleteProjectQueryParams; + Errors: DeleteProject400 | DeleteProject401 | DeleteProject403 | DeleteProject409; +}; export type CreateCustomEnvironmentPathParams = { /** * @description The unique project identifier or the project name * @type string */ - idOrName: string -} + idOrName: string; +}; export type CreateCustomEnvironmentQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type CreateCustomEnvironment201 = unknown +export type CreateCustomEnvironment201 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type CreateCustomEnvironment400 = unknown +export type CreateCustomEnvironment400 = unknown; -export type CreateCustomEnvironment401 = unknown +export type CreateCustomEnvironment401 = unknown; /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export type CreateCustomEnvironment402 = unknown +export type CreateCustomEnvironment402 = unknown; /** * @description You do not have permission to access this resource. */ -export type CreateCustomEnvironment403 = unknown +export type CreateCustomEnvironment403 = unknown; -export type CreateCustomEnvironment500 = unknown +export type CreateCustomEnvironment500 = unknown; -export type CreateCustomEnvironmentMutationResponse = CreateCustomEnvironment201 +export type CreateCustomEnvironmentMutationResponse = CreateCustomEnvironment201; export type CreateCustomEnvironmentMutation = { - Response: CreateCustomEnvironment201 - PathParams: CreateCustomEnvironmentPathParams - QueryParams: CreateCustomEnvironmentQueryParams - Errors: CreateCustomEnvironment400 | CreateCustomEnvironment401 | CreateCustomEnvironment402 | CreateCustomEnvironment403 | CreateCustomEnvironment500 -} + Response: CreateCustomEnvironment201; + PathParams: CreateCustomEnvironmentPathParams; + QueryParams: CreateCustomEnvironmentQueryParams; + Errors: + | CreateCustomEnvironment400 + | CreateCustomEnvironment401 + | CreateCustomEnvironment402 + | CreateCustomEnvironment403 + | CreateCustomEnvironment500; +}; export type ListCustomEnvironmentsPathParams = { /** * @description The unique project identifier or the project name * @type string */ - idOrName: string -} + idOrName: string; +}; export type ListCustomEnvironmentsQueryParams = { /** * @description Fetch custom environments for a specific git branch * @type string | undefined */ - gitBranch?: string | undefined + gitBranch?: string | undefined; /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type ListCustomEnvironments200 = unknown +export type ListCustomEnvironments200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type ListCustomEnvironments400 = unknown +export type ListCustomEnvironments400 = unknown; -export type ListCustomEnvironments401 = unknown +export type ListCustomEnvironments401 = unknown; /** * @description You do not have permission to access this resource. */ -export type ListCustomEnvironments403 = unknown +export type ListCustomEnvironments403 = unknown; -export type ListCustomEnvironmentsQueryResponse = ListCustomEnvironments200 +export type ListCustomEnvironmentsQueryResponse = ListCustomEnvironments200; export type ListCustomEnvironmentsQuery = { - Response: ListCustomEnvironments200 - PathParams: ListCustomEnvironmentsPathParams - QueryParams: ListCustomEnvironmentsQueryParams - Errors: ListCustomEnvironments400 | ListCustomEnvironments401 | ListCustomEnvironments403 -} + Response: ListCustomEnvironments200; + PathParams: ListCustomEnvironmentsPathParams; + QueryParams: ListCustomEnvironmentsQueryParams; + Errors: ListCustomEnvironments400 | ListCustomEnvironments401 | ListCustomEnvironments403; +}; export type GetCustomEnvironmentPathParams = { /** * @description The unique project identifier or the project name * @type string */ - idOrName: string + idOrName: string; /** * @description The unique custom environment identifier within the project * @type string */ - environmentSlugOrId: string -} + environmentSlugOrId: string; +}; export type GetCustomEnvironmentQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type GetCustomEnvironment200 = unknown +export type GetCustomEnvironment200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type GetCustomEnvironment400 = unknown +export type GetCustomEnvironment400 = unknown; -export type GetCustomEnvironment401 = unknown +export type GetCustomEnvironment401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetCustomEnvironment403 = unknown +export type GetCustomEnvironment403 = unknown; -export type GetCustomEnvironment404 = unknown +export type GetCustomEnvironment404 = unknown; -export type GetCustomEnvironmentQueryResponse = GetCustomEnvironment200 +export type GetCustomEnvironmentQueryResponse = GetCustomEnvironment200; export type GetCustomEnvironmentQuery = { - Response: GetCustomEnvironment200 - PathParams: GetCustomEnvironmentPathParams - QueryParams: GetCustomEnvironmentQueryParams - Errors: GetCustomEnvironment400 | GetCustomEnvironment401 | GetCustomEnvironment403 | GetCustomEnvironment404 -} + Response: GetCustomEnvironment200; + PathParams: GetCustomEnvironmentPathParams; + QueryParams: GetCustomEnvironmentQueryParams; + Errors: GetCustomEnvironment400 | GetCustomEnvironment401 | GetCustomEnvironment403 | GetCustomEnvironment404; +}; export type UpdateCustomEnvironmentPathParams = { /** * @description The unique project identifier or the project name * @type string */ - idOrName: string + idOrName: string; /** * @description The unique custom environment identifier within the project * @type string */ - environmentSlugOrId: string -} + environmentSlugOrId: string; +}; export type UpdateCustomEnvironmentQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type UpdateCustomEnvironment200 = unknown +export type UpdateCustomEnvironment200 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type UpdateCustomEnvironment400 = unknown +export type UpdateCustomEnvironment400 = unknown; -export type UpdateCustomEnvironment401 = unknown +export type UpdateCustomEnvironment401 = unknown; /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export type UpdateCustomEnvironment402 = unknown +export type UpdateCustomEnvironment402 = unknown; /** * @description You do not have permission to access this resource. */ -export type UpdateCustomEnvironment403 = unknown +export type UpdateCustomEnvironment403 = unknown; -export type UpdateCustomEnvironment500 = unknown +export type UpdateCustomEnvironment500 = unknown; -export type UpdateCustomEnvironmentMutationResponse = UpdateCustomEnvironment200 +export type UpdateCustomEnvironmentMutationResponse = UpdateCustomEnvironment200; export type UpdateCustomEnvironmentMutation = { - Response: UpdateCustomEnvironment200 - PathParams: UpdateCustomEnvironmentPathParams - QueryParams: UpdateCustomEnvironmentQueryParams - Errors: UpdateCustomEnvironment400 | UpdateCustomEnvironment401 | UpdateCustomEnvironment402 | UpdateCustomEnvironment403 | UpdateCustomEnvironment500 -} + Response: UpdateCustomEnvironment200; + PathParams: UpdateCustomEnvironmentPathParams; + QueryParams: UpdateCustomEnvironmentQueryParams; + Errors: + | UpdateCustomEnvironment400 + | UpdateCustomEnvironment401 + | UpdateCustomEnvironment402 + | UpdateCustomEnvironment403 + | UpdateCustomEnvironment500; +}; export type RemoveCustomEnvironmentPathParams = { /** * @description The unique project identifier or the project name * @type string */ - idOrName: string + idOrName: string; /** * @description The unique custom environment identifier within the project * @type string */ - environmentSlugOrId: string -} + environmentSlugOrId: string; +}; export type RemoveCustomEnvironmentQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type RemoveCustomEnvironment200 = unknown +export type RemoveCustomEnvironment200 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type RemoveCustomEnvironment400 = unknown +export type RemoveCustomEnvironment400 = unknown; -export type RemoveCustomEnvironment401 = unknown +export type RemoveCustomEnvironment401 = unknown; /** * @description You do not have permission to access this resource. */ -export type RemoveCustomEnvironment403 = unknown +export type RemoveCustomEnvironment403 = unknown; -export type RemoveCustomEnvironmentMutationResponse = RemoveCustomEnvironment200 +export type RemoveCustomEnvironmentMutationResponse = RemoveCustomEnvironment200; export type RemoveCustomEnvironmentMutation = { - Response: RemoveCustomEnvironment200 - PathParams: RemoveCustomEnvironmentPathParams - QueryParams: RemoveCustomEnvironmentQueryParams - Errors: RemoveCustomEnvironment400 | RemoveCustomEnvironment401 | RemoveCustomEnvironment403 -} + Response: RemoveCustomEnvironment200; + PathParams: RemoveCustomEnvironmentPathParams; + QueryParams: RemoveCustomEnvironmentQueryParams; + Errors: RemoveCustomEnvironment400 | RemoveCustomEnvironment401 | RemoveCustomEnvironment403; +}; export type GetProjectDomainsPathParams = { /** * @description The unique project identifier or the project name */ - idOrName: string | number -} + idOrName: string | number; +}; export const getProjectDomainsQueryParamsProductionEnum = { true: 'true', - false: 'false', -} as const + false: 'false' +} as const; export type GetProjectDomainsQueryParamsProductionEnum = - (typeof getProjectDomainsQueryParamsProductionEnum)[keyof typeof getProjectDomainsQueryParamsProductionEnum] + (typeof getProjectDomainsQueryParamsProductionEnum)[keyof typeof getProjectDomainsQueryParamsProductionEnum]; export const getProjectDomainsQueryParamsTargetEnum = { production: 'production', - preview: 'preview', -} as const + preview: 'preview' +} as const; -export type GetProjectDomainsQueryParamsTargetEnum = (typeof getProjectDomainsQueryParamsTargetEnum)[keyof typeof getProjectDomainsQueryParamsTargetEnum] +export type GetProjectDomainsQueryParamsTargetEnum = + (typeof getProjectDomainsQueryParamsTargetEnum)[keyof typeof getProjectDomainsQueryParamsTargetEnum]; export const getProjectDomainsQueryParamsRedirectsEnum = { true: 'true', - false: 'false', -} as const + false: 'false' +} as const; export type GetProjectDomainsQueryParamsRedirectsEnum = - (typeof getProjectDomainsQueryParamsRedirectsEnum)[keyof typeof getProjectDomainsQueryParamsRedirectsEnum] + (typeof getProjectDomainsQueryParamsRedirectsEnum)[keyof typeof getProjectDomainsQueryParamsRedirectsEnum]; export const getProjectDomainsQueryParamsVerifiedEnum = { true: 'true', - false: 'false', -} as const + false: 'false' +} as const; -export type GetProjectDomainsQueryParamsVerifiedEnum = (typeof getProjectDomainsQueryParamsVerifiedEnum)[keyof typeof getProjectDomainsQueryParamsVerifiedEnum] +export type GetProjectDomainsQueryParamsVerifiedEnum = + (typeof getProjectDomainsQueryParamsVerifiedEnum)[keyof typeof getProjectDomainsQueryParamsVerifiedEnum]; export const getProjectDomainsQueryParamsOrderEnum = { ASC: 'ASC', - DESC: 'DESC', -} as const + DESC: 'DESC' +} as const; -export type GetProjectDomainsQueryParamsOrderEnum = (typeof getProjectDomainsQueryParamsOrderEnum)[keyof typeof getProjectDomainsQueryParamsOrderEnum] +export type GetProjectDomainsQueryParamsOrderEnum = + (typeof getProjectDomainsQueryParamsOrderEnum)[keyof typeof getProjectDomainsQueryParamsOrderEnum]; export type GetProjectDomainsQueryParams = { /** * @description Filters only production domains when set to `true`. * @default "false" */ - production?: GetProjectDomainsQueryParamsProductionEnum | undefined + production?: GetProjectDomainsQueryParamsProductionEnum | undefined; /** * @description Filters on the target of the domain. Can be either \\\"production\\\", \\\"preview\\\" * @type string | undefined */ - target?: GetProjectDomainsQueryParamsTargetEnum | undefined + target?: GetProjectDomainsQueryParamsTargetEnum | undefined; /** * @description The unique custom environment identifier within the project * @type string | undefined */ - customEnvironmentId?: string | undefined + customEnvironmentId?: string | undefined; /** * @description Filters domains based on specific branch. * @type string | undefined */ - gitBranch?: string | undefined + gitBranch?: string | undefined; /** * @description Excludes redirect project domains when \\\"false\\\". Includes redirect project domains when \\\"true\\\" (default). * @default "true" */ - redirects?: GetProjectDomainsQueryParamsRedirectsEnum | undefined + redirects?: GetProjectDomainsQueryParamsRedirectsEnum | undefined; /** * @description Filters domains based on their redirect target. * @type string | undefined */ - redirect?: string | undefined + redirect?: string | undefined; /** * @description Filters domains based on their verification status. */ - verified?: GetProjectDomainsQueryParamsVerifiedEnum | undefined + verified?: GetProjectDomainsQueryParamsVerifiedEnum | undefined; /** * @description Maximum number of domains to list from a request (max 100). * @type number | undefined */ - limit?: number | undefined + limit?: number | undefined; /** * @description Get domains created after this JavaScript timestamp. * @type number | undefined */ - since?: number | undefined + since?: number | undefined; /** * @description Get domains created before this JavaScript timestamp. * @type number | undefined */ - until?: number | undefined + until?: number | undefined; /** * @description Domains sort order by createdAt * @default "DESC" */ - order?: GetProjectDomainsQueryParamsOrderEnum | undefined + order?: GetProjectDomainsQueryParamsOrderEnum | undefined; /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description Successful response retrieving a list of domains */ -export type GetProjectDomains200 = unknown +export type GetProjectDomains200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type GetProjectDomains400 = unknown +export type GetProjectDomains400 = unknown; -export type GetProjectDomains401 = unknown +export type GetProjectDomains401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetProjectDomains403 = unknown +export type GetProjectDomains403 = unknown; -export type GetProjectDomainsQueryResponse = GetProjectDomains200 +export type GetProjectDomainsQueryResponse = GetProjectDomains200; export type GetProjectDomainsQuery = { - Response: GetProjectDomains200 - PathParams: GetProjectDomainsPathParams - QueryParams: GetProjectDomainsQueryParams - Errors: GetProjectDomains400 | GetProjectDomains401 | GetProjectDomains403 -} + Response: GetProjectDomains200; + PathParams: GetProjectDomainsPathParams; + QueryParams: GetProjectDomainsQueryParams; + Errors: GetProjectDomains400 | GetProjectDomains401 | GetProjectDomains403; +}; export type GetProjectDomainPathParams = { /** * @description The unique project identifier or the project name * @type string */ - idOrName: string + idOrName: string; /** * @description The project domain name * @type string */ - domain: string -} + domain: string; +}; export type GetProjectDomainQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type GetProjectDomain200 = unknown +export type GetProjectDomain200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type GetProjectDomain400 = unknown +export type GetProjectDomain400 = unknown; -export type GetProjectDomain401 = unknown +export type GetProjectDomain401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetProjectDomain403 = unknown +export type GetProjectDomain403 = unknown; -export type GetProjectDomainQueryResponse = GetProjectDomain200 +export type GetProjectDomainQueryResponse = GetProjectDomain200; export type GetProjectDomainQuery = { - Response: GetProjectDomain200 - PathParams: GetProjectDomainPathParams - QueryParams: GetProjectDomainQueryParams - Errors: GetProjectDomain400 | GetProjectDomain401 | GetProjectDomain403 -} + Response: GetProjectDomain200; + PathParams: GetProjectDomainPathParams; + QueryParams: GetProjectDomainQueryParams; + Errors: GetProjectDomain400 | GetProjectDomain401 | GetProjectDomain403; +}; export type UpdateProjectDomainPathParams = { /** * @description The unique project identifier or the project name * @type string */ - idOrName: string + idOrName: string; /** * @description The project domain name * @type string */ - domain: string -} + domain: string; +}; export type UpdateProjectDomainQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description The domain was updated successfuly */ -export type UpdateProjectDomain200 = unknown +export type UpdateProjectDomain200 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nThe domain redirect is not valid */ -export type UpdateProjectDomain400 = unknown +export type UpdateProjectDomain400 = unknown; -export type UpdateProjectDomain401 = unknown +export type UpdateProjectDomain401 = unknown; /** * @description You do not have permission to access this resource. */ -export type UpdateProjectDomain403 = unknown +export type UpdateProjectDomain403 = unknown; /** * @description The project is currently being transferred */ -export type UpdateProjectDomain409 = unknown +export type UpdateProjectDomain409 = unknown; -export type UpdateProjectDomainMutationResponse = UpdateProjectDomain200 +export type UpdateProjectDomainMutationResponse = UpdateProjectDomain200; export type UpdateProjectDomainMutation = { - Response: UpdateProjectDomain200 - PathParams: UpdateProjectDomainPathParams - QueryParams: UpdateProjectDomainQueryParams - Errors: UpdateProjectDomain400 | UpdateProjectDomain401 | UpdateProjectDomain403 | UpdateProjectDomain409 -} + Response: UpdateProjectDomain200; + PathParams: UpdateProjectDomainPathParams; + QueryParams: UpdateProjectDomainQueryParams; + Errors: UpdateProjectDomain400 | UpdateProjectDomain401 | UpdateProjectDomain403 | UpdateProjectDomain409; +}; export type RemoveProjectDomainPathParams = { /** * @description The unique project identifier or the project name * @type string */ - idOrName: string + idOrName: string; /** * @description The project domain name * @type string */ - domain: string -} + domain: string; +}; export type RemoveProjectDomainQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description The domain was succesfully removed from the project */ -export type RemoveProjectDomain200 = unknown +export type RemoveProjectDomain200 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type RemoveProjectDomain400 = unknown +export type RemoveProjectDomain400 = unknown; -export type RemoveProjectDomain401 = unknown +export type RemoveProjectDomain401 = unknown; /** * @description You do not have permission to access this resource. */ -export type RemoveProjectDomain403 = unknown +export type RemoveProjectDomain403 = unknown; -export type RemoveProjectDomain404 = unknown +export type RemoveProjectDomain404 = unknown; /** * @description The project is currently being transferred */ -export type RemoveProjectDomain409 = unknown +export type RemoveProjectDomain409 = unknown; -export type RemoveProjectDomainMutationResponse = RemoveProjectDomain200 +export type RemoveProjectDomainMutationResponse = RemoveProjectDomain200; export type RemoveProjectDomainMutation = { - Response: RemoveProjectDomain200 - PathParams: RemoveProjectDomainPathParams - QueryParams: RemoveProjectDomainQueryParams - Errors: RemoveProjectDomain400 | RemoveProjectDomain401 | RemoveProjectDomain403 | RemoveProjectDomain404 | RemoveProjectDomain409 -} + Response: RemoveProjectDomain200; + PathParams: RemoveProjectDomainPathParams; + QueryParams: RemoveProjectDomainQueryParams; + Errors: + | RemoveProjectDomain400 + | RemoveProjectDomain401 + | RemoveProjectDomain403 + | RemoveProjectDomain404 + | RemoveProjectDomain409; +}; export type AddProjectDomainPathParams = { /** * @description The unique project identifier or the project name * @type string */ - idOrName: string -} + idOrName: string; +}; export type AddProjectDomainQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description The domain was successfully added to the project */ -export type AddProjectDomain200 = unknown +export type AddProjectDomain200 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nThe domain is not valid\nYou can\'t set both a git branch and a redirect for the domain\nThe domain can not be added because the latest production deployment for the project was not successful\nThe domain redirect is not valid\nA domain cannot redirect to itself\nYou can not set the production branch as a branch for your domain */ -export type AddProjectDomain400 = unknown +export type AddProjectDomain400 = unknown; -export type AddProjectDomain401 = unknown +export type AddProjectDomain401 = unknown; /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export type AddProjectDomain402 = unknown +export type AddProjectDomain402 = unknown; /** * @description You do not have permission to access this resource.\nYou don\'t have access to the domain you are adding */ -export type AddProjectDomain403 = unknown +export type AddProjectDomain403 = unknown; /** * @description The domain is already assigned to another Vercel project\nCannot create project domain since owner already has `domain` on their account, but it\'s not verified yet.\nCannot create project domain since owner already has `domain` on their account, and it\'s verified.\nThe domain is not allowed to be used\nThe project is currently being transferred */ -export type AddProjectDomain409 = unknown +export type AddProjectDomain409 = unknown; -export type AddProjectDomainMutationResponse = AddProjectDomain200 +export type AddProjectDomainMutationResponse = AddProjectDomain200; export type AddProjectDomainMutation = { - Response: AddProjectDomain200 - PathParams: AddProjectDomainPathParams - QueryParams: AddProjectDomainQueryParams - Errors: AddProjectDomain400 | AddProjectDomain401 | AddProjectDomain402 | AddProjectDomain403 | AddProjectDomain409 -} + Response: AddProjectDomain200; + PathParams: AddProjectDomainPathParams; + QueryParams: AddProjectDomainQueryParams; + Errors: AddProjectDomain400 | AddProjectDomain401 | AddProjectDomain402 | AddProjectDomain403 | AddProjectDomain409; +}; export type MoveProjectDomainPathParams = { /** * @description The unique project identifier or the project name * @type string */ - idOrName: string + idOrName: string; /** * @description The project domain name * @type string */ - domain: string -} + domain: string; +}; export type MoveProjectDomainQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description The domain was updated successfuly */ -export type MoveProjectDomain200 = unknown +export type MoveProjectDomain200 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type MoveProjectDomain400 = unknown +export type MoveProjectDomain400 = unknown; -export type MoveProjectDomain401 = unknown +export type MoveProjectDomain401 = unknown; /** * @description You do not have permission to access this resource. */ -export type MoveProjectDomain403 = unknown +export type MoveProjectDomain403 = unknown; /** * @description The project is currently being transferred */ -export type MoveProjectDomain409 = unknown +export type MoveProjectDomain409 = unknown; -export type MoveProjectDomainMutationResponse = MoveProjectDomain200 +export type MoveProjectDomainMutationResponse = MoveProjectDomain200; export type MoveProjectDomainMutation = { - Response: MoveProjectDomain200 - PathParams: MoveProjectDomainPathParams - QueryParams: MoveProjectDomainQueryParams - Errors: MoveProjectDomain400 | MoveProjectDomain401 | MoveProjectDomain403 | MoveProjectDomain409 -} + Response: MoveProjectDomain200; + PathParams: MoveProjectDomainPathParams; + QueryParams: MoveProjectDomainQueryParams; + Errors: MoveProjectDomain400 | MoveProjectDomain401 | MoveProjectDomain403 | MoveProjectDomain409; +}; export type VerifyProjectDomainPathParams = { /** * @description The unique project identifier or the project name * @type string */ - idOrName: string + idOrName: string; /** * @description The domain name you want to verify * @type string */ - domain: string -} + domain: string; +}; export type VerifyProjectDomainQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description The project domain was verified successfully\nDomain is already verified */ -export type VerifyProjectDomain200 = unknown +export type VerifyProjectDomain200 = unknown; /** * @description One of the provided values in the request query is invalid.\nThere is an existing TXT record on the domain verifying it for another project\nThe domain does not have a TXT record that attempts to verify the project domain\nThe TXT record on the domain does not match the expected challenge for the project domain\nProject domain is not assigned to project */ -export type VerifyProjectDomain400 = unknown +export type VerifyProjectDomain400 = unknown; -export type VerifyProjectDomain401 = unknown +export type VerifyProjectDomain401 = unknown; /** * @description You do not have permission to access this resource. */ -export type VerifyProjectDomain403 = unknown +export type VerifyProjectDomain403 = unknown; -export type VerifyProjectDomainMutationResponse = VerifyProjectDomain200 +export type VerifyProjectDomainMutationResponse = VerifyProjectDomain200; export type VerifyProjectDomainMutation = { - Response: VerifyProjectDomain200 - PathParams: VerifyProjectDomainPathParams - QueryParams: VerifyProjectDomainQueryParams - Errors: VerifyProjectDomain400 | VerifyProjectDomain401 | VerifyProjectDomain403 -} + Response: VerifyProjectDomain200; + PathParams: VerifyProjectDomainPathParams; + QueryParams: VerifyProjectDomainQueryParams; + Errors: VerifyProjectDomain400 | VerifyProjectDomain401 | VerifyProjectDomain403; +}; export type FilterProjectEnvsPathParams = { /** * @description The unique project identifier or the project name * @type string */ - idOrName: string -} + idOrName: string; +}; export const filterProjectEnvsQueryParamsDecryptEnum = { true: 'true', - false: 'false', -} as const + false: 'false' +} as const; -export type FilterProjectEnvsQueryParamsDecryptEnum = (typeof filterProjectEnvsQueryParamsDecryptEnum)[keyof typeof filterProjectEnvsQueryParamsDecryptEnum] +export type FilterProjectEnvsQueryParamsDecryptEnum = + (typeof filterProjectEnvsQueryParamsDecryptEnum)[keyof typeof filterProjectEnvsQueryParamsDecryptEnum]; export type FilterProjectEnvsQueryParams = { /** @@ -14213,131 +14337,131 @@ export type FilterProjectEnvsQueryParams = { * @maxLength 250 * @type string | undefined */ - gitBranch?: string | undefined + gitBranch?: string | undefined; /** * @description If true, the environment variable value will be decrypted * @deprecated * @type string | undefined */ - decrypt?: FilterProjectEnvsQueryParamsDecryptEnum | undefined + decrypt?: FilterProjectEnvsQueryParamsDecryptEnum | undefined; /** * @description The source that is calling the endpoint. * @type string | undefined */ - source?: string | undefined + source?: string | undefined; /** * @description The unique custom environment identifier within the project * @type string | undefined */ - customEnvironmentId?: string | undefined + customEnvironmentId?: string | undefined; /** * @description The custom environment slug (name) within the project * @type string | undefined */ - customEnvironmentSlug?: string | undefined + customEnvironmentSlug?: string | undefined; /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description The list of environment variables for the given project */ -export type FilterProjectEnvs200 = unknown +export type FilterProjectEnvs200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type FilterProjectEnvs400 = unknown +export type FilterProjectEnvs400 = unknown; -export type FilterProjectEnvs401 = unknown +export type FilterProjectEnvs401 = unknown; /** * @description You do not have permission to access this resource. */ -export type FilterProjectEnvs403 = unknown +export type FilterProjectEnvs403 = unknown; -export type FilterProjectEnvsQueryResponse = FilterProjectEnvs200 +export type FilterProjectEnvsQueryResponse = FilterProjectEnvs200; export type FilterProjectEnvsQuery = { - Response: FilterProjectEnvs200 - PathParams: FilterProjectEnvsPathParams - QueryParams: FilterProjectEnvsQueryParams - Errors: FilterProjectEnvs400 | FilterProjectEnvs401 | FilterProjectEnvs403 -} + Response: FilterProjectEnvs200; + PathParams: FilterProjectEnvsPathParams; + QueryParams: FilterProjectEnvsQueryParams; + Errors: FilterProjectEnvs400 | FilterProjectEnvs401 | FilterProjectEnvs403; +}; export type CreateProjectEnvPathParams = { /** * @description The unique project identifier or the project name * @type string */ - idOrName: string -} + idOrName: string; +}; export type CreateProjectEnvQueryParams = { /** * @description Allow override of environment variable if it already exists * @type string | undefined */ - upsert?: string | undefined + upsert?: string | undefined; /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description The environment variable was created successfully */ -export type CreateProjectEnv201 = unknown +export type CreateProjectEnv201 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nThe environment variable coudn\'t be created because an ongoing update env update is already happening\nThe environment variable coudn\'t be created because project document is too large */ -export type CreateProjectEnv400 = unknown +export type CreateProjectEnv400 = unknown; -export type CreateProjectEnv401 = unknown +export type CreateProjectEnv401 = unknown; /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export type CreateProjectEnv402 = unknown +export type CreateProjectEnv402 = unknown; /** * @description You do not have permission to access this resource.\nThe environment variable cannot be created because it already exists\nAdditional permissions are required to create production environment variables */ -export type CreateProjectEnv403 = unknown +export type CreateProjectEnv403 = unknown; -export type CreateProjectEnv404 = unknown +export type CreateProjectEnv404 = unknown; /** * @description The project is being transfered and creating an environment variable is not possible */ -export type CreateProjectEnv409 = unknown +export type CreateProjectEnv409 = unknown; -export type CreateProjectEnv429 = unknown +export type CreateProjectEnv429 = unknown; -export type CreateProjectEnv500 = unknown +export type CreateProjectEnv500 = unknown; -export type CreateProjectEnvMutationResponse = CreateProjectEnv201 +export type CreateProjectEnvMutationResponse = CreateProjectEnv201; export type CreateProjectEnvMutation = { - Response: CreateProjectEnv201 - PathParams: CreateProjectEnvPathParams - QueryParams: CreateProjectEnvQueryParams + Response: CreateProjectEnv201; + PathParams: CreateProjectEnvPathParams; + QueryParams: CreateProjectEnvQueryParams; Errors: | CreateProjectEnv400 | CreateProjectEnv401 @@ -14346,740 +14470,764 @@ export type CreateProjectEnvMutation = { | CreateProjectEnv404 | CreateProjectEnv409 | CreateProjectEnv429 - | CreateProjectEnv500 -} + | CreateProjectEnv500; +}; export type GetProjectEnvPathParams = { /** * @description The unique project identifier or the project name * @type string */ - idOrName: string + idOrName: string; /** * @description The unique ID for the environment variable to get the decrypted value. * @type string */ - id: string -} + id: string; +}; export type GetProjectEnvQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type GetProjectEnv200 = unknown +export type GetProjectEnv200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type GetProjectEnv400 = unknown +export type GetProjectEnv400 = unknown; -export type GetProjectEnv401 = unknown +export type GetProjectEnv401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetProjectEnv403 = unknown +export type GetProjectEnv403 = unknown; -export type GetProjectEnvQueryResponse = GetProjectEnv200 +export type GetProjectEnvQueryResponse = GetProjectEnv200; export type GetProjectEnvQuery = { - Response: GetProjectEnv200 - PathParams: GetProjectEnvPathParams - QueryParams: GetProjectEnvQueryParams - Errors: GetProjectEnv400 | GetProjectEnv401 | GetProjectEnv403 -} + Response: GetProjectEnv200; + PathParams: GetProjectEnvPathParams; + QueryParams: GetProjectEnvQueryParams; + Errors: GetProjectEnv400 | GetProjectEnv401 | GetProjectEnv403; +}; export type RemoveProjectEnvPathParams = { /** * @description The unique project identifier or the project name * @type string */ - idOrName: string + idOrName: string; /** * @description The unique environment variable identifier * @type string */ - id: string -} + id: string; +}; export type RemoveProjectEnvQueryParams = { /** * @description The unique custom environment identifier within the project * @type string | undefined */ - customEnvironmentId?: string | undefined + customEnvironmentId?: string | undefined; /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description The environment variable was successfully removed */ -export type RemoveProjectEnv200 = unknown +export type RemoveProjectEnv200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type RemoveProjectEnv400 = unknown +export type RemoveProjectEnv400 = unknown; -export type RemoveProjectEnv401 = unknown +export type RemoveProjectEnv401 = unknown; /** * @description You do not have permission to access this resource. */ -export type RemoveProjectEnv403 = unknown +export type RemoveProjectEnv403 = unknown; -export type RemoveProjectEnv404 = unknown +export type RemoveProjectEnv404 = unknown; /** * @description The project is being transfered and removing an environment variable is not possible */ -export type RemoveProjectEnv409 = unknown +export type RemoveProjectEnv409 = unknown; -export type RemoveProjectEnvMutationResponse = RemoveProjectEnv200 +export type RemoveProjectEnvMutationResponse = RemoveProjectEnv200; export type RemoveProjectEnvMutation = { - Response: RemoveProjectEnv200 - PathParams: RemoveProjectEnvPathParams - QueryParams: RemoveProjectEnvQueryParams - Errors: RemoveProjectEnv400 | RemoveProjectEnv401 | RemoveProjectEnv403 | RemoveProjectEnv404 | RemoveProjectEnv409 -} + Response: RemoveProjectEnv200; + PathParams: RemoveProjectEnvPathParams; + QueryParams: RemoveProjectEnvQueryParams; + Errors: RemoveProjectEnv400 | RemoveProjectEnv401 | RemoveProjectEnv403 | RemoveProjectEnv404 | RemoveProjectEnv409; +}; export type EditProjectEnvPathParams = { /** * @description The unique project identifier or the project name * @type string */ - idOrName: string + idOrName: string; /** * @description The unique environment variable identifier * @type string */ - id: string -} + id: string; +}; export type EditProjectEnvQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description The environment variable was successfully edited */ -export type EditProjectEnv200 = unknown +export type EditProjectEnv200 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nAt least one environment variable failed validation */ -export type EditProjectEnv400 = unknown +export type EditProjectEnv400 = unknown; -export type EditProjectEnv401 = unknown +export type EditProjectEnv401 = unknown; /** * @description You do not have permission to access this resource. */ -export type EditProjectEnv403 = unknown +export type EditProjectEnv403 = unknown; -export type EditProjectEnv404 = unknown +export type EditProjectEnv404 = unknown; /** * @description The project is being transfered and removing an environment variable is not possible */ -export type EditProjectEnv409 = unknown +export type EditProjectEnv409 = unknown; -export type EditProjectEnv429 = unknown +export type EditProjectEnv429 = unknown; -export type EditProjectEnv500 = unknown +export type EditProjectEnv500 = unknown; -export type EditProjectEnvMutationResponse = EditProjectEnv200 +export type EditProjectEnvMutationResponse = EditProjectEnv200; export type EditProjectEnvMutation = { - Response: EditProjectEnv200 - PathParams: EditProjectEnvPathParams - QueryParams: EditProjectEnvQueryParams - Errors: EditProjectEnv400 | EditProjectEnv401 | EditProjectEnv403 | EditProjectEnv404 | EditProjectEnv409 | EditProjectEnv429 | EditProjectEnv500 -} + Response: EditProjectEnv200; + PathParams: EditProjectEnvPathParams; + QueryParams: EditProjectEnvQueryParams; + Errors: + | EditProjectEnv400 + | EditProjectEnv401 + | EditProjectEnv403 + | EditProjectEnv404 + | EditProjectEnv409 + | EditProjectEnv429 + | EditProjectEnv500; +}; export type GetRollingReleaseBillingStatusPathParams = { /** * @description Project ID or project name (URL-encoded) * @type string */ - idOrName: string -} + idOrName: string; +}; export type GetRollingReleaseBillingStatusQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type GetRollingReleaseBillingStatus200 = unknown +export type GetRollingReleaseBillingStatus200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type GetRollingReleaseBillingStatus400 = unknown +export type GetRollingReleaseBillingStatus400 = unknown; -export type GetRollingReleaseBillingStatus401 = unknown +export type GetRollingReleaseBillingStatus401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetRollingReleaseBillingStatus403 = unknown +export type GetRollingReleaseBillingStatus403 = unknown; -export type GetRollingReleaseBillingStatus404 = unknown +export type GetRollingReleaseBillingStatus404 = unknown; -export type GetRollingReleaseBillingStatusQueryResponse = GetRollingReleaseBillingStatus200 +export type GetRollingReleaseBillingStatusQueryResponse = GetRollingReleaseBillingStatus200; export type GetRollingReleaseBillingStatusQuery = { - Response: GetRollingReleaseBillingStatus200 - PathParams: GetRollingReleaseBillingStatusPathParams - QueryParams: GetRollingReleaseBillingStatusQueryParams - Errors: GetRollingReleaseBillingStatus400 | GetRollingReleaseBillingStatus401 | GetRollingReleaseBillingStatus403 | GetRollingReleaseBillingStatus404 -} + Response: GetRollingReleaseBillingStatus200; + PathParams: GetRollingReleaseBillingStatusPathParams; + QueryParams: GetRollingReleaseBillingStatusQueryParams; + Errors: + | GetRollingReleaseBillingStatus400 + | GetRollingReleaseBillingStatus401 + | GetRollingReleaseBillingStatus403 + | GetRollingReleaseBillingStatus404; +}; export type GetRollingReleaseConfigPathParams = { /** * @description Project ID or project name (URL-encoded) * @type string */ - idOrName: string -} + idOrName: string; +}; export type GetRollingReleaseConfigQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type GetRollingReleaseConfig200 = unknown +export type GetRollingReleaseConfig200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type GetRollingReleaseConfig400 = unknown +export type GetRollingReleaseConfig400 = unknown; -export type GetRollingReleaseConfig401 = unknown +export type GetRollingReleaseConfig401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetRollingReleaseConfig403 = unknown +export type GetRollingReleaseConfig403 = unknown; -export type GetRollingReleaseConfig404 = unknown +export type GetRollingReleaseConfig404 = unknown; -export type GetRollingReleaseConfigQueryResponse = GetRollingReleaseConfig200 +export type GetRollingReleaseConfigQueryResponse = GetRollingReleaseConfig200; export type GetRollingReleaseConfigQuery = { - Response: GetRollingReleaseConfig200 - PathParams: GetRollingReleaseConfigPathParams - QueryParams: GetRollingReleaseConfigQueryParams - Errors: GetRollingReleaseConfig400 | GetRollingReleaseConfig401 | GetRollingReleaseConfig403 | GetRollingReleaseConfig404 -} + Response: GetRollingReleaseConfig200; + PathParams: GetRollingReleaseConfigPathParams; + QueryParams: GetRollingReleaseConfigQueryParams; + Errors: + | GetRollingReleaseConfig400 + | GetRollingReleaseConfig401 + | GetRollingReleaseConfig403 + | GetRollingReleaseConfig404; +}; export type DeleteRollingReleaseConfigPathParams = { /** * @description Project ID or project name (URL-encoded) * @type string */ - idOrName: string -} + idOrName: string; +}; export type DeleteRollingReleaseConfigQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type DeleteRollingReleaseConfig200 = unknown +export type DeleteRollingReleaseConfig200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type DeleteRollingReleaseConfig400 = unknown +export type DeleteRollingReleaseConfig400 = unknown; -export type DeleteRollingReleaseConfig401 = unknown +export type DeleteRollingReleaseConfig401 = unknown; /** * @description You do not have permission to access this resource. */ -export type DeleteRollingReleaseConfig403 = unknown +export type DeleteRollingReleaseConfig403 = unknown; -export type DeleteRollingReleaseConfig404 = unknown +export type DeleteRollingReleaseConfig404 = unknown; -export type DeleteRollingReleaseConfigMutationResponse = DeleteRollingReleaseConfig200 +export type DeleteRollingReleaseConfigMutationResponse = DeleteRollingReleaseConfig200; export type DeleteRollingReleaseConfigMutation = { - Response: DeleteRollingReleaseConfig200 - PathParams: DeleteRollingReleaseConfigPathParams - QueryParams: DeleteRollingReleaseConfigQueryParams - Errors: DeleteRollingReleaseConfig400 | DeleteRollingReleaseConfig401 | DeleteRollingReleaseConfig403 | DeleteRollingReleaseConfig404 -} + Response: DeleteRollingReleaseConfig200; + PathParams: DeleteRollingReleaseConfigPathParams; + QueryParams: DeleteRollingReleaseConfigQueryParams; + Errors: + | DeleteRollingReleaseConfig400 + | DeleteRollingReleaseConfig401 + | DeleteRollingReleaseConfig403 + | DeleteRollingReleaseConfig404; +}; export type UpdateRollingReleaseConfigPathParams = { /** * @description Project ID or project name (URL-encoded) * @type string */ - idOrName: string -} + idOrName: string; +}; export type UpdateRollingReleaseConfigQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type UpdateRollingReleaseConfig200 = unknown +export type UpdateRollingReleaseConfig200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type UpdateRollingReleaseConfig400 = unknown +export type UpdateRollingReleaseConfig400 = unknown; -export type UpdateRollingReleaseConfig401 = unknown +export type UpdateRollingReleaseConfig401 = unknown; /** * @description You do not have permission to access this resource. */ -export type UpdateRollingReleaseConfig403 = unknown +export type UpdateRollingReleaseConfig403 = unknown; -export type UpdateRollingReleaseConfig404 = unknown +export type UpdateRollingReleaseConfig404 = unknown; -export type UpdateRollingReleaseConfigMutationResponse = UpdateRollingReleaseConfig200 +export type UpdateRollingReleaseConfigMutationResponse = UpdateRollingReleaseConfig200; export type UpdateRollingReleaseConfigMutation = { - Response: UpdateRollingReleaseConfig200 - PathParams: UpdateRollingReleaseConfigPathParams - QueryParams: UpdateRollingReleaseConfigQueryParams - Errors: UpdateRollingReleaseConfig400 | UpdateRollingReleaseConfig401 | UpdateRollingReleaseConfig403 | UpdateRollingReleaseConfig404 -} + Response: UpdateRollingReleaseConfig200; + PathParams: UpdateRollingReleaseConfigPathParams; + QueryParams: UpdateRollingReleaseConfigQueryParams; + Errors: + | UpdateRollingReleaseConfig400 + | UpdateRollingReleaseConfig401 + | UpdateRollingReleaseConfig403 + | UpdateRollingReleaseConfig404; +}; export type GetRollingReleasePathParams = { /** * @description Project ID or project name (URL-encoded) * @type string */ - idOrName: string -} + idOrName: string; +}; export const getRollingReleaseQueryParamsStateEnum = { ACTIVE: 'ACTIVE', COMPLETE: 'COMPLETE', - ABORTED: 'ABORTED', -} as const + ABORTED: 'ABORTED' +} as const; -export type GetRollingReleaseQueryParamsStateEnum = (typeof getRollingReleaseQueryParamsStateEnum)[keyof typeof getRollingReleaseQueryParamsStateEnum] +export type GetRollingReleaseQueryParamsStateEnum = + (typeof getRollingReleaseQueryParamsStateEnum)[keyof typeof getRollingReleaseQueryParamsStateEnum]; export type GetRollingReleaseQueryParams = { /** * @description Filter by rolling release state * @type string | undefined */ - state?: GetRollingReleaseQueryParamsStateEnum | undefined + state?: GetRollingReleaseQueryParamsStateEnum | undefined; /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type GetRollingRelease200 = unknown +export type GetRollingRelease200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type GetRollingRelease400 = unknown +export type GetRollingRelease400 = unknown; -export type GetRollingRelease401 = unknown +export type GetRollingRelease401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetRollingRelease403 = unknown +export type GetRollingRelease403 = unknown; -export type GetRollingRelease404 = unknown +export type GetRollingRelease404 = unknown; -export type GetRollingReleaseQueryResponse = GetRollingRelease200 +export type GetRollingReleaseQueryResponse = GetRollingRelease200; export type GetRollingReleaseQuery = { - Response: GetRollingRelease200 - PathParams: GetRollingReleasePathParams - QueryParams: GetRollingReleaseQueryParams - Errors: GetRollingRelease400 | GetRollingRelease401 | GetRollingRelease403 | GetRollingRelease404 -} + Response: GetRollingRelease200; + PathParams: GetRollingReleasePathParams; + QueryParams: GetRollingReleaseQueryParams; + Errors: GetRollingRelease400 | GetRollingRelease401 | GetRollingRelease403 | GetRollingRelease404; +}; export type ApproveRollingReleaseStagePathParams = { /** * @description Project ID or project name (URL-encoded) * @type string */ - idOrName: string -} + idOrName: string; +}; export type ApproveRollingReleaseStageQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type ApproveRollingReleaseStage200 = unknown +export type ApproveRollingReleaseStage200 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type ApproveRollingReleaseStage400 = unknown +export type ApproveRollingReleaseStage400 = unknown; -export type ApproveRollingReleaseStage401 = unknown +export type ApproveRollingReleaseStage401 = unknown; /** * @description You do not have permission to access this resource. */ -export type ApproveRollingReleaseStage403 = unknown +export type ApproveRollingReleaseStage403 = unknown; -export type ApproveRollingReleaseStage404 = unknown +export type ApproveRollingReleaseStage404 = unknown; -export type ApproveRollingReleaseStage500 = unknown +export type ApproveRollingReleaseStage500 = unknown; -export type ApproveRollingReleaseStageMutationResponse = ApproveRollingReleaseStage200 +export type ApproveRollingReleaseStageMutationResponse = ApproveRollingReleaseStage200; export type ApproveRollingReleaseStageMutation = { - Response: ApproveRollingReleaseStage200 - PathParams: ApproveRollingReleaseStagePathParams - QueryParams: ApproveRollingReleaseStageQueryParams + Response: ApproveRollingReleaseStage200; + PathParams: ApproveRollingReleaseStagePathParams; + QueryParams: ApproveRollingReleaseStageQueryParams; Errors: | ApproveRollingReleaseStage400 | ApproveRollingReleaseStage401 | ApproveRollingReleaseStage403 | ApproveRollingReleaseStage404 - | ApproveRollingReleaseStage500 -} + | ApproveRollingReleaseStage500; +}; export type CompleteRollingReleasePathParams = { /** * @description Project ID or project name (URL-encoded) * @type string */ - idOrName: string -} + idOrName: string; +}; export type CompleteRollingReleaseQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type CompleteRollingRelease200 = unknown +export type CompleteRollingRelease200 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type CompleteRollingRelease400 = unknown +export type CompleteRollingRelease400 = unknown; -export type CompleteRollingRelease401 = unknown +export type CompleteRollingRelease401 = unknown; /** * @description You do not have permission to access this resource. */ -export type CompleteRollingRelease403 = unknown +export type CompleteRollingRelease403 = unknown; -export type CompleteRollingRelease404 = unknown +export type CompleteRollingRelease404 = unknown; -export type CompleteRollingReleaseMutationResponse = CompleteRollingRelease200 +export type CompleteRollingReleaseMutationResponse = CompleteRollingRelease200; export type CompleteRollingReleaseMutation = { - Response: CompleteRollingRelease200 - PathParams: CompleteRollingReleasePathParams - QueryParams: CompleteRollingReleaseQueryParams - Errors: CompleteRollingRelease400 | CompleteRollingRelease401 | CompleteRollingRelease403 | CompleteRollingRelease404 -} + Response: CompleteRollingRelease200; + PathParams: CompleteRollingReleasePathParams; + QueryParams: CompleteRollingReleaseQueryParams; + Errors: CompleteRollingRelease400 | CompleteRollingRelease401 | CompleteRollingRelease403 | CompleteRollingRelease404; +}; export type CreateProjectTransferRequestPathParams = { /** * @description The ID or name of the project to transfer. * @type string */ - idOrName: string -} + idOrName: string; +}; export type CreateProjectTransferRequestQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description The project transfer request has been initiated successfully. */ -export type CreateProjectTransferRequest200 = unknown +export type CreateProjectTransferRequest200 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type CreateProjectTransferRequest400 = unknown +export type CreateProjectTransferRequest400 = unknown; -export type CreateProjectTransferRequest401 = unknown +export type CreateProjectTransferRequest401 = unknown; /** * @description You do not have permission to access this resource. */ -export type CreateProjectTransferRequest403 = unknown +export type CreateProjectTransferRequest403 = unknown; -export type CreateProjectTransferRequestMutationResponse = CreateProjectTransferRequest200 +export type CreateProjectTransferRequestMutationResponse = CreateProjectTransferRequest200; export type CreateProjectTransferRequestMutation = { - Response: CreateProjectTransferRequest200 - PathParams: CreateProjectTransferRequestPathParams - QueryParams: CreateProjectTransferRequestQueryParams - Errors: CreateProjectTransferRequest400 | CreateProjectTransferRequest401 | CreateProjectTransferRequest403 -} + Response: CreateProjectTransferRequest200; + PathParams: CreateProjectTransferRequestPathParams; + QueryParams: CreateProjectTransferRequestQueryParams; + Errors: CreateProjectTransferRequest400 | CreateProjectTransferRequest401 | CreateProjectTransferRequest403; +}; export type AcceptProjectTransferRequestPathParams = { /** * @description The code of the project transfer request. * @type string */ - code: string -} + code: string; +}; export type AcceptProjectTransferRequestQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description The project has been transferred successfully. */ -export type AcceptProjectTransferRequest202 = unknown +export type AcceptProjectTransferRequest202 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type AcceptProjectTransferRequest400 = unknown +export type AcceptProjectTransferRequest400 = unknown; -export type AcceptProjectTransferRequest401 = unknown +export type AcceptProjectTransferRequest401 = unknown; /** * @description You do not have permission to access this resource. */ -export type AcceptProjectTransferRequest403 = unknown +export type AcceptProjectTransferRequest403 = unknown; -export type AcceptProjectTransferRequest404 = unknown +export type AcceptProjectTransferRequest404 = unknown; -export type AcceptProjectTransferRequest422 = unknown +export type AcceptProjectTransferRequest422 = unknown; -export type AcceptProjectTransferRequestMutationResponse = AcceptProjectTransferRequest202 +export type AcceptProjectTransferRequestMutationResponse = AcceptProjectTransferRequest202; export type AcceptProjectTransferRequestMutation = { - Response: AcceptProjectTransferRequest202 - PathParams: AcceptProjectTransferRequestPathParams - QueryParams: AcceptProjectTransferRequestQueryParams + Response: AcceptProjectTransferRequest202; + PathParams: AcceptProjectTransferRequestPathParams; + QueryParams: AcceptProjectTransferRequestQueryParams; Errors: | AcceptProjectTransferRequest400 | AcceptProjectTransferRequest401 | AcceptProjectTransferRequest403 | AcceptProjectTransferRequest404 - | AcceptProjectTransferRequest422 -} + | AcceptProjectTransferRequest422; +}; export type UpdateProjectProtectionBypassPathParams = { /** * @description The unique project identifier or the project name * @type string */ - idOrName: string -} + idOrName: string; +}; export type UpdateProjectProtectionBypassQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type UpdateProjectProtectionBypass200 = unknown +export type UpdateProjectProtectionBypass200 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type UpdateProjectProtectionBypass400 = unknown +export type UpdateProjectProtectionBypass400 = unknown; -export type UpdateProjectProtectionBypass401 = unknown +export type UpdateProjectProtectionBypass401 = unknown; /** * @description You do not have permission to access this resource. */ -export type UpdateProjectProtectionBypass403 = unknown +export type UpdateProjectProtectionBypass403 = unknown; -export type UpdateProjectProtectionBypass404 = unknown +export type UpdateProjectProtectionBypass404 = unknown; -export type UpdateProjectProtectionBypass409 = unknown +export type UpdateProjectProtectionBypass409 = unknown; -export type UpdateProjectProtectionBypassMutationResponse = UpdateProjectProtectionBypass200 +export type UpdateProjectProtectionBypassMutationResponse = UpdateProjectProtectionBypass200; export type UpdateProjectProtectionBypassMutation = { - Response: UpdateProjectProtectionBypass200 - PathParams: UpdateProjectProtectionBypassPathParams - QueryParams: UpdateProjectProtectionBypassQueryParams + Response: UpdateProjectProtectionBypass200; + PathParams: UpdateProjectProtectionBypassPathParams; + QueryParams: UpdateProjectProtectionBypassQueryParams; Errors: | UpdateProjectProtectionBypass400 | UpdateProjectProtectionBypass401 | UpdateProjectProtectionBypass403 | UpdateProjectProtectionBypass404 - | UpdateProjectProtectionBypass409 -} + | UpdateProjectProtectionBypass409; +}; export type RequestPromotePathParams = { /** * @type string */ - projectId: string + projectId: string; /** * @type string */ - deploymentId: string -} + deploymentId: string; +}; export type RequestPromoteQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type RequestPromote201 = unknown +export type RequestPromote201 = unknown; -export type RequestPromote202 = unknown +export type RequestPromote202 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type RequestPromote400 = unknown +export type RequestPromote400 = unknown; -export type RequestPromote401 = unknown +export type RequestPromote401 = unknown; /** * @description You do not have permission to access this resource. */ -export type RequestPromote403 = unknown +export type RequestPromote403 = unknown; -export type RequestPromote409 = unknown +export type RequestPromote409 = unknown; -export type RequestPromoteMutationResponse = RequestPromote201 | RequestPromote202 +export type RequestPromoteMutationResponse = RequestPromote201 | RequestPromote202; export type RequestPromoteMutation = { - Response: RequestPromote201 | RequestPromote202 - PathParams: RequestPromotePathParams - QueryParams: RequestPromoteQueryParams - Errors: RequestPromote400 | RequestPromote401 | RequestPromote403 | RequestPromote409 -} + Response: RequestPromote201 | RequestPromote202; + PathParams: RequestPromotePathParams; + QueryParams: RequestPromoteQueryParams; + Errors: RequestPromote400 | RequestPromote401 | RequestPromote403 | RequestPromote409; +}; export type ListPromoteAliasesPathParams = { /** * @type string */ - projectId: string -} + projectId: string; +}; export type ListPromoteAliasesQueryParams = { /** @@ -15087,546 +15235,556 @@ export type ListPromoteAliasesQueryParams = { * @maxLength 100 * @type number | undefined */ - limit?: number | undefined + limit?: number | undefined; /** * @description Get aliases created after this epoch timestamp. * @type number | undefined */ - since?: number | undefined + since?: number | undefined; /** * @description Get aliases created before this epoch timestamp. * @type number | undefined */ - until?: number | undefined + until?: number | undefined; /** * @description Filter results down to aliases that failed to map to the requested deployment * @type boolean | undefined */ - failedOnly?: boolean | undefined + failedOnly?: boolean | undefined; /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type ListPromoteAliases200 = unknown +export type ListPromoteAliases200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type ListPromoteAliases400 = unknown +export type ListPromoteAliases400 = unknown; -export type ListPromoteAliases401 = unknown +export type ListPromoteAliases401 = unknown; /** * @description You do not have permission to access this resource. */ -export type ListPromoteAliases403 = unknown +export type ListPromoteAliases403 = unknown; -export type ListPromoteAliases404 = unknown +export type ListPromoteAliases404 = unknown; -export type ListPromoteAliasesQueryResponse = ListPromoteAliases200 +export type ListPromoteAliasesQueryResponse = ListPromoteAliases200; export type ListPromoteAliasesQuery = { - Response: ListPromoteAliases200 - PathParams: ListPromoteAliasesPathParams - QueryParams: ListPromoteAliasesQueryParams - Errors: ListPromoteAliases400 | ListPromoteAliases401 | ListPromoteAliases403 | ListPromoteAliases404 -} + Response: ListPromoteAliases200; + PathParams: ListPromoteAliasesPathParams; + QueryParams: ListPromoteAliasesQueryParams; + Errors: ListPromoteAliases400 | ListPromoteAliases401 | ListPromoteAliases403 | ListPromoteAliases404; +}; export type PauseProjectPathParams = { /** * @description The unique project identifier * @type string */ - projectId: string -} + projectId: string; +}; export type PauseProjectQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type PauseProject200 = unknown +export type PauseProject200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type PauseProject400 = unknown +export type PauseProject400 = unknown; -export type PauseProject401 = unknown +export type PauseProject401 = unknown; /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export type PauseProject402 = unknown +export type PauseProject402 = unknown; /** * @description You do not have permission to access this resource. */ -export type PauseProject403 = unknown +export type PauseProject403 = unknown; -export type PauseProject500 = unknown +export type PauseProject500 = unknown; -export type PauseProjectMutationResponse = PauseProject200 +export type PauseProjectMutationResponse = PauseProject200; export type PauseProjectMutation = { - Response: PauseProject200 - PathParams: PauseProjectPathParams - QueryParams: PauseProjectQueryParams - Errors: PauseProject400 | PauseProject401 | PauseProject402 | PauseProject403 | PauseProject500 -} + Response: PauseProject200; + PathParams: PauseProjectPathParams; + QueryParams: PauseProjectQueryParams; + Errors: PauseProject400 | PauseProject401 | PauseProject402 | PauseProject403 | PauseProject500; +}; export type UnpauseProjectPathParams = { /** * @description The unique project identifier * @type string */ - projectId: string -} + projectId: string; +}; export type UnpauseProjectQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type UnpauseProject200 = unknown +export type UnpauseProject200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type UnpauseProject400 = unknown +export type UnpauseProject400 = unknown; -export type UnpauseProject401 = unknown +export type UnpauseProject401 = unknown; /** * @description You do not have permission to access this resource. */ -export type UnpauseProject403 = unknown +export type UnpauseProject403 = unknown; -export type UnpauseProject500 = unknown +export type UnpauseProject500 = unknown; -export type UnpauseProjectMutationResponse = UnpauseProject200 +export type UnpauseProjectMutationResponse = UnpauseProject200; export type UnpauseProjectMutation = { - Response: UnpauseProject200 - PathParams: UnpauseProjectPathParams - QueryParams: UnpauseProjectQueryParams - Errors: UnpauseProject400 | UnpauseProject401 | UnpauseProject403 | UnpauseProject500 -} + Response: UnpauseProject200; + PathParams: UnpauseProjectPathParams; + QueryParams: UnpauseProjectQueryParams; + Errors: UnpauseProject400 | UnpauseProject401 | UnpauseProject403 | UnpauseProject500; +}; export type UpdateAttackChallengeModeQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type UpdateAttackChallengeMode200 = unknown +export type UpdateAttackChallengeMode200 = unknown; /** * @description One of the provided values in the request body is invalid. */ -export type UpdateAttackChallengeMode400 = unknown +export type UpdateAttackChallengeMode400 = unknown; -export type UpdateAttackChallengeMode401 = unknown +export type UpdateAttackChallengeMode401 = unknown; /** * @description You do not have permission to access this resource. */ -export type UpdateAttackChallengeMode403 = unknown +export type UpdateAttackChallengeMode403 = unknown; -export type UpdateAttackChallengeMode404 = unknown +export type UpdateAttackChallengeMode404 = unknown; -export type UpdateAttackChallengeModeMutationResponse = UpdateAttackChallengeMode200 +export type UpdateAttackChallengeModeMutationResponse = UpdateAttackChallengeMode200; export type UpdateAttackChallengeModeMutation = { - Response: UpdateAttackChallengeMode200 - QueryParams: UpdateAttackChallengeModeQueryParams - Errors: UpdateAttackChallengeMode400 | UpdateAttackChallengeMode401 | UpdateAttackChallengeMode403 | UpdateAttackChallengeMode404 -} + Response: UpdateAttackChallengeMode200; + QueryParams: UpdateAttackChallengeModeQueryParams; + Errors: + | UpdateAttackChallengeMode400 + | UpdateAttackChallengeMode401 + | UpdateAttackChallengeMode403 + | UpdateAttackChallengeMode404; +}; export type PutFirewallConfigQueryParams = { /** * @type string */ - projectId: string + projectId: string; /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type PutFirewallConfig200 = unknown +export type PutFirewallConfig200 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type PutFirewallConfig400 = unknown +export type PutFirewallConfig400 = unknown; -export type PutFirewallConfig401 = unknown +export type PutFirewallConfig401 = unknown; -export type PutFirewallConfig402 = unknown +export type PutFirewallConfig402 = unknown; /** * @description You do not have permission to access this resource. */ -export type PutFirewallConfig403 = unknown +export type PutFirewallConfig403 = unknown; -export type PutFirewallConfig404 = unknown +export type PutFirewallConfig404 = unknown; -export type PutFirewallConfig500 = unknown +export type PutFirewallConfig500 = unknown; -export type PutFirewallConfigMutationResponse = PutFirewallConfig200 +export type PutFirewallConfigMutationResponse = PutFirewallConfig200; export type PutFirewallConfigMutation = { - Response: PutFirewallConfig200 - QueryParams: PutFirewallConfigQueryParams - Errors: PutFirewallConfig400 | PutFirewallConfig401 | PutFirewallConfig402 | PutFirewallConfig403 | PutFirewallConfig404 | PutFirewallConfig500 -} + Response: PutFirewallConfig200; + QueryParams: PutFirewallConfigQueryParams; + Errors: + | PutFirewallConfig400 + | PutFirewallConfig401 + | PutFirewallConfig402 + | PutFirewallConfig403 + | PutFirewallConfig404 + | PutFirewallConfig500; +}; export type UpdateFirewallConfigQueryParams = { /** * @type string */ - projectId: string + projectId: string; /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type UpdateFirewallConfig200 = unknown +export type UpdateFirewallConfig200 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type UpdateFirewallConfig400 = unknown +export type UpdateFirewallConfig400 = unknown; -export type UpdateFirewallConfig401 = unknown +export type UpdateFirewallConfig401 = unknown; -export type UpdateFirewallConfig402 = unknown +export type UpdateFirewallConfig402 = unknown; /** * @description You do not have permission to access this resource. */ -export type UpdateFirewallConfig403 = unknown +export type UpdateFirewallConfig403 = unknown; -export type UpdateFirewallConfig404 = unknown +export type UpdateFirewallConfig404 = unknown; -export type UpdateFirewallConfig500 = unknown +export type UpdateFirewallConfig500 = unknown; -export type UpdateFirewallConfigMutationResponse = UpdateFirewallConfig200 +export type UpdateFirewallConfigMutationResponse = UpdateFirewallConfig200; export type UpdateFirewallConfigMutation = { - Response: UpdateFirewallConfig200 - QueryParams: UpdateFirewallConfigQueryParams + Response: UpdateFirewallConfig200; + QueryParams: UpdateFirewallConfigQueryParams; Errors: | UpdateFirewallConfig400 | UpdateFirewallConfig401 | UpdateFirewallConfig402 | UpdateFirewallConfig403 | UpdateFirewallConfig404 - | UpdateFirewallConfig500 -} + | UpdateFirewallConfig500; +}; export type GetFirewallConfigPathParams = { /** * @type string */ - configVersion: string -} + configVersion: string; +}; export type GetFirewallConfigQueryParams = { /** * @type string */ - projectId: string + projectId: string; /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description If the firewall configuration includes a [custom managed ruleset](https://vercel.com/docs/security/vercel-waf/managed-rulesets), it will include a `crs` item that has the following values: sd: Scanner Detection ma: Multipart Attack lfi: Local File Inclusion Attack rfi: Remote File Inclusion Attack rce: Remote Execution Attack php: PHP Attack gen: Generic Attack xss: XSS Attack sqli: SQL Injection Attack sf: Session Fixation Attack java: Java Attack */ -export type GetFirewallConfig200 = unknown +export type GetFirewallConfig200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type GetFirewallConfig400 = unknown +export type GetFirewallConfig400 = unknown; -export type GetFirewallConfig401 = unknown +export type GetFirewallConfig401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetFirewallConfig403 = unknown +export type GetFirewallConfig403 = unknown; -export type GetFirewallConfig404 = unknown +export type GetFirewallConfig404 = unknown; -export type GetFirewallConfigQueryResponse = GetFirewallConfig200 +export type GetFirewallConfigQueryResponse = GetFirewallConfig200; export type GetFirewallConfigQuery = { - Response: GetFirewallConfig200 - PathParams: GetFirewallConfigPathParams - QueryParams: GetFirewallConfigQueryParams - Errors: GetFirewallConfig400 | GetFirewallConfig401 | GetFirewallConfig403 | GetFirewallConfig404 -} + Response: GetFirewallConfig200; + PathParams: GetFirewallConfigPathParams; + QueryParams: GetFirewallConfigQueryParams; + Errors: GetFirewallConfig400 | GetFirewallConfig401 | GetFirewallConfig403 | GetFirewallConfig404; +}; export type GetActiveAttackStatusQueryParams = { /** * @type string */ - projectId: string + projectId: string; /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type GetActiveAttackStatus200 = unknown +export type GetActiveAttackStatus200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type GetActiveAttackStatus400 = unknown +export type GetActiveAttackStatus400 = unknown; -export type GetActiveAttackStatus401 = unknown +export type GetActiveAttackStatus401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetActiveAttackStatus403 = unknown +export type GetActiveAttackStatus403 = unknown; -export type GetActiveAttackStatus404 = unknown +export type GetActiveAttackStatus404 = unknown; -export type GetActiveAttackStatusQueryResponse = GetActiveAttackStatus200 +export type GetActiveAttackStatusQueryResponse = GetActiveAttackStatus200; export type GetActiveAttackStatusQuery = { - Response: GetActiveAttackStatus200 - QueryParams: GetActiveAttackStatusQueryParams - Errors: GetActiveAttackStatus400 | GetActiveAttackStatus401 | GetActiveAttackStatus403 | GetActiveAttackStatus404 -} + Response: GetActiveAttackStatus200; + QueryParams: GetActiveAttackStatusQueryParams; + Errors: GetActiveAttackStatus400 | GetActiveAttackStatus401 | GetActiveAttackStatus403 | GetActiveAttackStatus404; +}; export type GetBypassIpQueryParams = { /** * @type string */ - projectId: string + projectId: string; /** * @maxLength 256 * @type number | undefined */ - limit?: number | undefined + limit?: number | undefined; /** * @description Filter by source IP * @maxLength 49 * @type string | undefined */ - sourceIp?: string | undefined + sourceIp?: string | undefined; /** * @description Filter by domain * @maxLength 2544 * @pattern ([a-z]+[a-z.]+)$ * @type string | undefined */ - domain?: string | undefined + domain?: string | undefined; /** * @description Filter by project scoped rules * @type boolean | undefined */ - projectScope?: boolean | undefined + projectScope?: boolean | undefined; /** * @description Used for pagination. Retrieves results after the provided id * @maxLength 2560 * @type string | undefined */ - offset?: string | undefined + offset?: string | undefined; /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type GetBypassIp200 = unknown +export type GetBypassIp200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type GetBypassIp400 = unknown +export type GetBypassIp400 = unknown; -export type GetBypassIp401 = unknown +export type GetBypassIp401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetBypassIp403 = unknown +export type GetBypassIp403 = unknown; -export type GetBypassIp404 = unknown +export type GetBypassIp404 = unknown; -export type GetBypassIp500 = unknown +export type GetBypassIp500 = unknown; -export type GetBypassIpQueryResponse = GetBypassIp200 +export type GetBypassIpQueryResponse = GetBypassIp200; export type GetBypassIpQuery = { - Response: GetBypassIp200 - QueryParams: GetBypassIpQueryParams - Errors: GetBypassIp400 | GetBypassIp401 | GetBypassIp403 | GetBypassIp404 | GetBypassIp500 -} + Response: GetBypassIp200; + QueryParams: GetBypassIpQueryParams; + Errors: GetBypassIp400 | GetBypassIp401 | GetBypassIp403 | GetBypassIp404 | GetBypassIp500; +}; export type AddBypassIpQueryParams = { /** * @type string */ - projectId: string + projectId: string; /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type AddBypassIp200 = unknown +export type AddBypassIp200 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type AddBypassIp400 = unknown +export type AddBypassIp400 = unknown; -export type AddBypassIp401 = unknown +export type AddBypassIp401 = unknown; /** * @description You do not have permission to access this resource. */ -export type AddBypassIp403 = unknown +export type AddBypassIp403 = unknown; -export type AddBypassIp404 = unknown +export type AddBypassIp404 = unknown; -export type AddBypassIp500 = unknown +export type AddBypassIp500 = unknown; -export type AddBypassIpMutationResponse = AddBypassIp200 +export type AddBypassIpMutationResponse = AddBypassIp200; export type AddBypassIpMutation = { - Response: AddBypassIp200 - QueryParams: AddBypassIpQueryParams - Errors: AddBypassIp400 | AddBypassIp401 | AddBypassIp403 | AddBypassIp404 | AddBypassIp500 -} + Response: AddBypassIp200; + QueryParams: AddBypassIpQueryParams; + Errors: AddBypassIp400 | AddBypassIp401 | AddBypassIp403 | AddBypassIp404 | AddBypassIp500; +}; export type RemoveBypassIpQueryParams = { /** * @type string */ - projectId: string + projectId: string; /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type RemoveBypassIp200 = unknown +export type RemoveBypassIp200 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type RemoveBypassIp400 = unknown +export type RemoveBypassIp400 = unknown; -export type RemoveBypassIp401 = unknown +export type RemoveBypassIp401 = unknown; /** * @description You do not have permission to access this resource. */ -export type RemoveBypassIp403 = unknown +export type RemoveBypassIp403 = unknown; -export type RemoveBypassIp404 = unknown +export type RemoveBypassIp404 = unknown; -export type RemoveBypassIp500 = unknown +export type RemoveBypassIp500 = unknown; -export type RemoveBypassIpMutationResponse = RemoveBypassIp200 +export type RemoveBypassIpMutationResponse = RemoveBypassIp200; export type RemoveBypassIpMutation = { - Response: RemoveBypassIp200 - QueryParams: RemoveBypassIpQueryParams - Errors: RemoveBypassIp400 | RemoveBypassIp401 | RemoveBypassIp403 | RemoveBypassIp404 | RemoveBypassIp500 -} + Response: RemoveBypassIp200; + QueryParams: RemoveBypassIpQueryParams; + Errors: RemoveBypassIp400 | RemoveBypassIp401 | RemoveBypassIp403 | RemoveBypassIp404 | RemoveBypassIp500; +}; export type GetTeamMembersPathParams = { /** * @type string */ - teamId: string -} + teamId: string; +}; export const getTeamMembersQueryParamsRoleEnum = { OWNER: 'OWNER', @@ -15634,10 +15792,11 @@ export const getTeamMembersQueryParamsRoleEnum = { DEVELOPER: 'DEVELOPER', VIEWER: 'VIEWER', BILLING: 'BILLING', - CONTRIBUTOR: 'CONTRIBUTOR', -} as const + CONTRIBUTOR: 'CONTRIBUTOR' +} as const; -export type GetTeamMembersQueryParamsRoleEnum = (typeof getTeamMembersQueryParamsRoleEnum)[keyof typeof getTeamMembersQueryParamsRoleEnum] +export type GetTeamMembersQueryParamsRoleEnum = + (typeof getTeamMembersQueryParamsRoleEnum)[keyof typeof getTeamMembersQueryParamsRoleEnum]; export type GetTeamMembersQueryParams = { /** @@ -15645,1176 +15804,1187 @@ export type GetTeamMembersQueryParams = { * @minLength 1 * @type number | undefined */ - limit?: number | undefined + limit?: number | undefined; /** * @description Timestamp in milliseconds to only include members added since then. * @type number | undefined */ - since?: number | undefined + since?: number | undefined; /** * @description Timestamp in milliseconds to only include members added until then. * @type number | undefined */ - until?: number | undefined + until?: number | undefined; /** * @description Search team members by their name, username, and email. * @type string | undefined */ - search?: string | undefined + search?: string | undefined; /** * @description Only return members with the specified team role. * @type string | undefined */ - role?: GetTeamMembersQueryParamsRoleEnum | undefined + role?: GetTeamMembersQueryParamsRoleEnum | undefined; /** * @description Exclude members who belong to the specified project. * @type string | undefined */ - excludeProject?: string | undefined + excludeProject?: string | undefined; /** * @description Include team members who are eligible to be members of the specified project. * @type string | undefined */ - eligibleMembersForProjectId?: string | undefined -} + eligibleMembersForProjectId?: string | undefined; +}; -export type GetTeamMembers200 = unknown +export type GetTeamMembers200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type GetTeamMembers400 = unknown +export type GetTeamMembers400 = unknown; -export type GetTeamMembers401 = unknown +export type GetTeamMembers401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetTeamMembers403 = unknown +export type GetTeamMembers403 = unknown; -export type GetTeamMembers404 = unknown +export type GetTeamMembers404 = unknown; -export type GetTeamMembersQueryResponse = GetTeamMembers200 +export type GetTeamMembersQueryResponse = GetTeamMembers200; export type GetTeamMembersQuery = { - Response: GetTeamMembers200 - PathParams: GetTeamMembersPathParams - QueryParams: GetTeamMembersQueryParams - Errors: GetTeamMembers400 | GetTeamMembers401 | GetTeamMembers403 | GetTeamMembers404 -} + Response: GetTeamMembers200; + PathParams: GetTeamMembersPathParams; + QueryParams: GetTeamMembersQueryParams; + Errors: GetTeamMembers400 | GetTeamMembers401 | GetTeamMembers403 | GetTeamMembers404; +}; export type InviteUserToTeamPathParams = { /** * @type string */ - teamId: string -} + teamId: string; +}; /** * @description The member was successfully added to the team */ -export type InviteUserToTeam200 = unknown +export type InviteUserToTeam200 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nThe user already requested access to the team\nThe team reached the maximum allowed amount of members */ -export type InviteUserToTeam400 = unknown +export type InviteUserToTeam400 = unknown; -export type InviteUserToTeam401 = unknown +export type InviteUserToTeam401 = unknown; /** * @description The authenticated user must be a team owner to perform the action\nYou do not have permission to access this resource. */ -export type InviteUserToTeam403 = unknown +export type InviteUserToTeam403 = unknown; -export type InviteUserToTeam503 = unknown +export type InviteUserToTeam503 = unknown; -export type InviteUserToTeamMutationResponse = InviteUserToTeam200 +export type InviteUserToTeamMutationResponse = InviteUserToTeam200; export type InviteUserToTeamMutation = { - Response: InviteUserToTeam200 - PathParams: InviteUserToTeamPathParams - Errors: InviteUserToTeam400 | InviteUserToTeam401 | InviteUserToTeam403 | InviteUserToTeam503 -} + Response: InviteUserToTeam200; + PathParams: InviteUserToTeamPathParams; + Errors: InviteUserToTeam400 | InviteUserToTeam401 | InviteUserToTeam403 | InviteUserToTeam503; +}; export type RequestAccessToTeamPathParams = { /** * @type string */ - teamId: string -} + teamId: string; +}; /** * @description Successfuly requested access to the team. */ -export type RequestAccessToTeam200 = unknown +export type RequestAccessToTeam200 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type RequestAccessToTeam400 = unknown +export type RequestAccessToTeam400 = unknown; -export type RequestAccessToTeam401 = unknown +export type RequestAccessToTeam401 = unknown; /** * @description You do not have permission to access this resource. */ -export type RequestAccessToTeam403 = unknown +export type RequestAccessToTeam403 = unknown; /** * @description The team was not found. */ -export type RequestAccessToTeam404 = unknown +export type RequestAccessToTeam404 = unknown; -export type RequestAccessToTeam503 = unknown +export type RequestAccessToTeam503 = unknown; -export type RequestAccessToTeamMutationResponse = RequestAccessToTeam200 +export type RequestAccessToTeamMutationResponse = RequestAccessToTeam200; export type RequestAccessToTeamMutation = { - Response: RequestAccessToTeam200 - PathParams: RequestAccessToTeamPathParams - Errors: RequestAccessToTeam400 | RequestAccessToTeam401 | RequestAccessToTeam403 | RequestAccessToTeam404 | RequestAccessToTeam503 -} + Response: RequestAccessToTeam200; + PathParams: RequestAccessToTeamPathParams; + Errors: + | RequestAccessToTeam400 + | RequestAccessToTeam401 + | RequestAccessToTeam403 + | RequestAccessToTeam404 + | RequestAccessToTeam503; +}; export type GetTeamAccessRequestPathParams = { /** * @type string */ - userId: string + userId: string; /** * @type string */ - teamId: string -} + teamId: string; +}; /** * @description Successfully */ -export type GetTeamAccessRequest200 = unknown +export type GetTeamAccessRequest200 = unknown; /** * @description One of the provided values in the request query is invalid.\nUser is already a confirmed member of the team and did not request access. Only visible when the authenticated user does have access to the team. */ -export type GetTeamAccessRequest400 = unknown +export type GetTeamAccessRequest400 = unknown; -export type GetTeamAccessRequest401 = unknown +export type GetTeamAccessRequest401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetTeamAccessRequest403 = unknown +export type GetTeamAccessRequest403 = unknown; /** * @description The provided user doesn\'t have a membership.\nTeam was not found. */ -export type GetTeamAccessRequest404 = unknown +export type GetTeamAccessRequest404 = unknown; -export type GetTeamAccessRequestQueryResponse = GetTeamAccessRequest200 +export type GetTeamAccessRequestQueryResponse = GetTeamAccessRequest200; export type GetTeamAccessRequestQuery = { - Response: GetTeamAccessRequest200 - PathParams: GetTeamAccessRequestPathParams - Errors: GetTeamAccessRequest400 | GetTeamAccessRequest401 | GetTeamAccessRequest403 | GetTeamAccessRequest404 -} + Response: GetTeamAccessRequest200; + PathParams: GetTeamAccessRequestPathParams; + Errors: GetTeamAccessRequest400 | GetTeamAccessRequest401 | GetTeamAccessRequest403 | GetTeamAccessRequest404; +}; export type JoinTeamPathParams = { /** * @type string */ - teamId: string -} + teamId: string; +}; /** * @description Successfully joined a team. */ -export type JoinTeam200 = unknown +export type JoinTeam200 = unknown; /** * @description One of the provided values in the request body is invalid. */ -export type JoinTeam400 = unknown +export type JoinTeam400 = unknown; -export type JoinTeam401 = unknown +export type JoinTeam401 = unknown; -export type JoinTeam402 = unknown +export type JoinTeam402 = unknown; /** * @description You do not have permission to access this resource. */ -export type JoinTeam403 = unknown +export type JoinTeam403 = unknown; -export type JoinTeam404 = unknown +export type JoinTeam404 = unknown; -export type JoinTeamMutationResponse = JoinTeam200 +export type JoinTeamMutationResponse = JoinTeam200; export type JoinTeamMutation = { - Response: JoinTeam200 - PathParams: JoinTeamPathParams - Errors: JoinTeam400 | JoinTeam401 | JoinTeam402 | JoinTeam403 | JoinTeam404 -} + Response: JoinTeam200; + PathParams: JoinTeamPathParams; + Errors: JoinTeam400 | JoinTeam401 | JoinTeam402 | JoinTeam403 | JoinTeam404; +}; export type UpdateTeamMemberPathParams = { /** * @description The ID of the member. * @type string */ - uid: string + uid: string; /** * @type string */ - teamId: string -} + teamId: string; +}; /** * @description Successfully updated the membership. */ -export type UpdateTeamMember200 = unknown +export type UpdateTeamMember200 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nCannot disconnect SSO from a Team member that does not have a SSO connection.\nCannot confirm a member that is already confirmed.\nCannot confirm a member that did not request access. */ -export type UpdateTeamMember400 = unknown +export type UpdateTeamMember400 = unknown; /** * @description Team members can only be updated by an owner, or by the authenticated user if they are only disconnecting their SAML connection to the Team. */ -export type UpdateTeamMember401 = unknown +export type UpdateTeamMember401 = unknown; -export type UpdateTeamMember402 = unknown +export type UpdateTeamMember402 = unknown; /** * @description You do not have permission to access this resource. */ -export type UpdateTeamMember403 = unknown +export type UpdateTeamMember403 = unknown; /** * @description The provided user is not part of this team.\nA user with the specified ID does not exist. */ -export type UpdateTeamMember404 = unknown +export type UpdateTeamMember404 = unknown; -export type UpdateTeamMember500 = unknown +export type UpdateTeamMember500 = unknown; -export type UpdateTeamMemberMutationResponse = UpdateTeamMember200 +export type UpdateTeamMemberMutationResponse = UpdateTeamMember200; export type UpdateTeamMemberMutation = { - Response: UpdateTeamMember200 - PathParams: UpdateTeamMemberPathParams - Errors: UpdateTeamMember400 | UpdateTeamMember401 | UpdateTeamMember402 | UpdateTeamMember403 | UpdateTeamMember404 | UpdateTeamMember500 -} + Response: UpdateTeamMember200; + PathParams: UpdateTeamMemberPathParams; + Errors: + | UpdateTeamMember400 + | UpdateTeamMember401 + | UpdateTeamMember402 + | UpdateTeamMember403 + | UpdateTeamMember404 + | UpdateTeamMember500; +}; export type RemoveTeamMemberPathParams = { /** * @description The user ID of the member. * @type string */ - uid: string + uid: string; /** * @type string */ - teamId: string -} + teamId: string; +}; export type RemoveTeamMemberQueryParams = { /** * @description The ID of the team to set as the new default team for the Northstar user. * @type string | undefined */ - newDefaultTeamId?: string | undefined -} + newDefaultTeamId?: string | undefined; +}; /** * @description Successfully removed a member of the team. */ -export type RemoveTeamMember200 = unknown +export type RemoveTeamMember200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type RemoveTeamMember400 = unknown +export type RemoveTeamMember400 = unknown; -export type RemoveTeamMember401 = unknown +export type RemoveTeamMember401 = unknown; /** * @description You do not have permission to access this resource.\nNot authorized to update the team. */ -export type RemoveTeamMember403 = unknown +export type RemoveTeamMember403 = unknown; -export type RemoveTeamMember404 = unknown +export type RemoveTeamMember404 = unknown; -export type RemoveTeamMember503 = unknown +export type RemoveTeamMember503 = unknown; -export type RemoveTeamMemberMutationResponse = RemoveTeamMember200 +export type RemoveTeamMemberMutationResponse = RemoveTeamMember200; export type RemoveTeamMemberMutation = { - Response: RemoveTeamMember200 - PathParams: RemoveTeamMemberPathParams - QueryParams: RemoveTeamMemberQueryParams - Errors: RemoveTeamMember400 | RemoveTeamMember401 | RemoveTeamMember403 | RemoveTeamMember404 | RemoveTeamMember503 -} + Response: RemoveTeamMember200; + PathParams: RemoveTeamMemberPathParams; + QueryParams: RemoveTeamMemberQueryParams; + Errors: RemoveTeamMember400 | RemoveTeamMember401 | RemoveTeamMember403 | RemoveTeamMember404 | RemoveTeamMember503; +}; export type GetTeamPathParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string */ - teamId: string -} + teamId: string; +}; export type GetTeamQueryParams = { /** * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description The requested team */ -export type GetTeam200 = unknown +export type GetTeam200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type GetTeam400 = unknown +export type GetTeam400 = unknown; -export type GetTeam401 = unknown +export type GetTeam401 = unknown; /** * @description You do not have permission to access this resource.\nNot authorized to access the team. */ -export type GetTeam403 = unknown +export type GetTeam403 = unknown; /** * @description Team was not found. */ -export type GetTeam404 = unknown +export type GetTeam404 = unknown; -export type GetTeamQueryResponse = GetTeam200 +export type GetTeamQueryResponse = GetTeam200; export type GetTeamQuery = { - Response: GetTeam200 - PathParams: GetTeamPathParams - QueryParams: GetTeamQueryParams - Errors: GetTeam400 | GetTeam401 | GetTeam403 | GetTeam404 -} + Response: GetTeam200; + PathParams: GetTeamPathParams; + QueryParams: GetTeamQueryParams; + Errors: GetTeam400 | GetTeam401 | GetTeam403 | GetTeam404; +}; export type PatchTeamPathParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string */ - teamId: string -} + teamId: string; +}; export type PatchTeamQueryParams = { /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type PatchTeam200 = unknown +export type PatchTeam200 = unknown; /** * @description One of the provided values in the request body is invalid. */ -export type PatchTeam400 = unknown +export type PatchTeam400 = unknown; -export type PatchTeam401 = unknown +export type PatchTeam401 = unknown; /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export type PatchTeam402 = unknown +export type PatchTeam402 = unknown; /** * @description You do not have permission to access this resource.\nNot authorized to update the team. Must be an OWNER. */ -export type PatchTeam403 = unknown +export type PatchTeam403 = unknown; /** * @description Owner does not have protection add-on\nAdvanced Deployment Protection is not available for the user plan */ -export type PatchTeam428 = unknown +export type PatchTeam428 = unknown; -export type PatchTeamMutationResponse = PatchTeam200 +export type PatchTeamMutationResponse = PatchTeam200; export type PatchTeamMutation = { - Response: PatchTeam200 - PathParams: PatchTeamPathParams - QueryParams: PatchTeamQueryParams - Errors: PatchTeam400 | PatchTeam401 | PatchTeam402 | PatchTeam403 | PatchTeam428 -} + Response: PatchTeam200; + PathParams: PatchTeamPathParams; + QueryParams: PatchTeamQueryParams; + Errors: PatchTeam400 | PatchTeam401 | PatchTeam402 | PatchTeam403 | PatchTeam428; +}; export type GetTeamsQueryParams = { /** * @description Maximum number of Teams which may be returned. * @type number | undefined */ - limit?: number | undefined + limit?: number | undefined; /** * @description Timestamp (in milliseconds) to only include Teams created since then. * @type number | undefined */ - since?: number | undefined + since?: number | undefined; /** * @description Timestamp (in milliseconds) to only include Teams created until then. * @type number | undefined */ - until?: number | undefined -} + until?: number | undefined; +}; /** * @description A paginated list of teams. */ -export type GetTeams200 = unknown +export type GetTeams200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type GetTeams400 = unknown +export type GetTeams400 = unknown; -export type GetTeams401 = unknown +export type GetTeams401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetTeams403 = unknown +export type GetTeams403 = unknown; -export type GetTeamsQueryResponse = GetTeams200 +export type GetTeamsQueryResponse = GetTeams200; export type GetTeamsQuery = { - Response: GetTeams200 - QueryParams: GetTeamsQueryParams - Errors: GetTeams400 | GetTeams401 | GetTeams403 -} + Response: GetTeams200; + QueryParams: GetTeamsQueryParams; + Errors: GetTeams400 | GetTeams401 | GetTeams403; +}; /** * @description The team was created successfully */ -export type CreateTeam200 = unknown +export type CreateTeam200 = unknown; /** * @description One of the provided values in the request body is invalid.\nThe slug is already in use */ -export type CreateTeam400 = unknown +export type CreateTeam400 = unknown; -export type CreateTeam401 = unknown +export type CreateTeam401 = unknown; /** * @description You do not have permission to access this resource. */ -export type CreateTeam403 = unknown +export type CreateTeam403 = unknown; -export type CreateTeamMutationResponse = CreateTeam200 +export type CreateTeamMutationResponse = CreateTeam200; export type CreateTeamMutation = { - Response: CreateTeam200 - Errors: CreateTeam400 | CreateTeam401 | CreateTeam403 -} + Response: CreateTeam200; + Errors: CreateTeam400 | CreateTeam401 | CreateTeam403; +}; export type DeleteTeamPathParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string */ - teamId: string -} + teamId: string; +}; export type DeleteTeamQueryParams = { /** * @description Id of the team to be set as the new default team * @type string | undefined */ - newDefaultTeamId?: string | undefined + newDefaultTeamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description The Team was successfully deleted */ -export type DeleteTeam200 = unknown +export type DeleteTeam200 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type DeleteTeam400 = unknown +export type DeleteTeam400 = unknown; -export type DeleteTeam401 = unknown +export type DeleteTeam401 = unknown; -export type DeleteTeam402 = unknown +export type DeleteTeam402 = unknown; /** * @description You do not have permission to access this resource.\nThe authenticated user can\'t access the team */ -export type DeleteTeam403 = unknown +export type DeleteTeam403 = unknown; -export type DeleteTeam409 = unknown +export type DeleteTeam409 = unknown; -export type DeleteTeamMutationResponse = DeleteTeam200 +export type DeleteTeamMutationResponse = DeleteTeam200; export type DeleteTeamMutation = { - Response: DeleteTeam200 - PathParams: DeleteTeamPathParams - QueryParams: DeleteTeamQueryParams - Errors: DeleteTeam400 | DeleteTeam401 | DeleteTeam402 | DeleteTeam403 | DeleteTeam409 -} + Response: DeleteTeam200; + PathParams: DeleteTeamPathParams; + QueryParams: DeleteTeamQueryParams; + Errors: DeleteTeam400 | DeleteTeam401 | DeleteTeam402 | DeleteTeam403 | DeleteTeam409; +}; export type DeleteTeamInviteCodePathParams = { /** * @description The Team invite code ID. * @type string */ - inviteId: string + inviteId: string; /** * @type string */ - teamId: string -} + teamId: string; +}; /** * @description Successfully deleted Team invite code. */ -export type DeleteTeamInviteCode200 = unknown +export type DeleteTeamInviteCode200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type DeleteTeamInviteCode400 = unknown +export type DeleteTeamInviteCode400 = unknown; -export type DeleteTeamInviteCode401 = unknown +export type DeleteTeamInviteCode401 = unknown; /** * @description You do not have permission to access this resource.\nInvite managed by directory sync\nNot authorized to access this team. */ -export type DeleteTeamInviteCode403 = unknown +export type DeleteTeamInviteCode403 = unknown; /** * @description Team invite code not found. */ -export type DeleteTeamInviteCode404 = unknown +export type DeleteTeamInviteCode404 = unknown; -export type DeleteTeamInviteCodeMutationResponse = DeleteTeamInviteCode200 +export type DeleteTeamInviteCodeMutationResponse = DeleteTeamInviteCode200; export type DeleteTeamInviteCodeMutation = { - Response: DeleteTeamInviteCode200 - PathParams: DeleteTeamInviteCodePathParams - Errors: DeleteTeamInviteCode400 | DeleteTeamInviteCode401 | DeleteTeamInviteCode403 | DeleteTeamInviteCode404 -} + Response: DeleteTeamInviteCode200; + PathParams: DeleteTeamInviteCodePathParams; + Errors: DeleteTeamInviteCode400 | DeleteTeamInviteCode401 | DeleteTeamInviteCode403 | DeleteTeamInviteCode404; +}; export type UploadFileQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; export type UploadFileHeaderParams = { /** * @description The file size in bytes * @type number | undefined */ - 'Content-Length'?: number | undefined + 'Content-Length'?: number | undefined; /** * @description The file SHA1 used to check the integrity * @maxLength 40 * @type string | undefined */ - 'x-vercel-digest'?: string | undefined + 'x-vercel-digest'?: string | undefined; /** * @description The file SHA1 used to check the integrity * @deprecated * @maxLength 40 * @type string | undefined */ - 'x-now-digest'?: string | undefined + 'x-now-digest'?: string | undefined; /** * @description The file size as an alternative to `Content-Length` * @deprecated * @type number | undefined */ - 'x-now-size'?: number | undefined + 'x-now-size'?: number | undefined; /** * @description Shared secret token set by v0 deployments. When present and valid, the API applies an extended rate limit. * @type string | undefined */ - 'x-internal-v0-token'?: string | undefined -} + 'x-internal-v0-token'?: string | undefined; +}; /** * @description File already uploaded\nFile successfully uploaded */ -export type UploadFile200 = unknown +export type UploadFile200 = unknown; /** * @description One of the provided values in the headers is invalid\nDigest is not valid\nFile size is not valid */ -export type UploadFile400 = unknown +export type UploadFile400 = unknown; -export type UploadFile401 = unknown +export type UploadFile401 = unknown; /** * @description You do not have permission to access this resource. */ -export type UploadFile403 = unknown +export type UploadFile403 = unknown; -export type UploadFileMutationResponse = UploadFile200 +export type UploadFileMutationResponse = UploadFile200; export type UploadFileMutation = { - Response: UploadFile200 - QueryParams: UploadFileQueryParams - HeaderParams: UploadFileHeaderParams - Errors: UploadFile400 | UploadFile401 | UploadFile403 -} + Response: UploadFile200; + QueryParams: UploadFileQueryParams; + HeaderParams: UploadFileHeaderParams; + Errors: UploadFile400 | UploadFile401 | UploadFile403; +}; -export type ListAuthTokens200 = unknown +export type ListAuthTokens200 = unknown; -export type ListAuthTokens400 = unknown +export type ListAuthTokens400 = unknown; -export type ListAuthTokens401 = unknown +export type ListAuthTokens401 = unknown; /** * @description You do not have permission to access this resource. */ -export type ListAuthTokens403 = unknown +export type ListAuthTokens403 = unknown; -export type ListAuthTokensQueryResponse = ListAuthTokens200 +export type ListAuthTokensQueryResponse = ListAuthTokens200; export type ListAuthTokensQuery = { - Response: ListAuthTokens200 - Errors: ListAuthTokens400 | ListAuthTokens401 | ListAuthTokens403 -} + Response: ListAuthTokens200; + Errors: ListAuthTokens400 | ListAuthTokens401 | ListAuthTokens403; +}; export type CreateAuthTokenQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description Successful response. */ -export type CreateAuthToken200 = unknown +export type CreateAuthToken200 = unknown; /** * @description One of the provided values in the request body is invalid. */ -export type CreateAuthToken400 = unknown +export type CreateAuthToken400 = unknown; -export type CreateAuthToken401 = unknown +export type CreateAuthToken401 = unknown; /** * @description You do not have permission to access this resource. */ -export type CreateAuthToken403 = unknown +export type CreateAuthToken403 = unknown; -export type CreateAuthTokenMutationResponse = CreateAuthToken200 +export type CreateAuthTokenMutationResponse = CreateAuthToken200; export type CreateAuthTokenMutation = { - Response: CreateAuthToken200 - QueryParams: CreateAuthTokenQueryParams - Errors: CreateAuthToken400 | CreateAuthToken401 | CreateAuthToken403 -} + Response: CreateAuthToken200; + QueryParams: CreateAuthTokenQueryParams; + Errors: CreateAuthToken400 | CreateAuthToken401 | CreateAuthToken403; +}; export type GetAuthTokenPathParams = { /** * @description The identifier of the token to retrieve. The special value \\\"current\\\" may be supplied, which returns the metadata for the token that the current HTTP request is authenticated with. * @type string */ - tokenId: string -} + tokenId: string; +}; /** * @description Successful response. */ -export type GetAuthToken200 = unknown +export type GetAuthToken200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type GetAuthToken400 = unknown +export type GetAuthToken400 = unknown; -export type GetAuthToken401 = unknown +export type GetAuthToken401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetAuthToken403 = unknown +export type GetAuthToken403 = unknown; /** * @description Token not found with the requested `tokenId`. */ -export type GetAuthToken404 = unknown +export type GetAuthToken404 = unknown; -export type GetAuthTokenQueryResponse = GetAuthToken200 +export type GetAuthTokenQueryResponse = GetAuthToken200; export type GetAuthTokenQuery = { - Response: GetAuthToken200 - PathParams: GetAuthTokenPathParams - Errors: GetAuthToken400 | GetAuthToken401 | GetAuthToken403 | GetAuthToken404 -} + Response: GetAuthToken200; + PathParams: GetAuthTokenPathParams; + Errors: GetAuthToken400 | GetAuthToken401 | GetAuthToken403 | GetAuthToken404; +}; export type DeleteAuthTokenPathParams = { /** * @description The identifier of the token to invalidate. The special value \\\"current\\\" may be supplied, which invalidates the token that the HTTP request was authenticated with. * @type string */ - tokenId: string -} + tokenId: string; +}; /** * @description Authentication token successfully deleted. */ -export type DeleteAuthToken200 = unknown +export type DeleteAuthToken200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type DeleteAuthToken400 = unknown +export type DeleteAuthToken400 = unknown; -export type DeleteAuthToken401 = unknown +export type DeleteAuthToken401 = unknown; /** * @description You do not have permission to access this resource. */ -export type DeleteAuthToken403 = unknown +export type DeleteAuthToken403 = unknown; /** * @description Token not found with the requested `tokenId`. */ -export type DeleteAuthToken404 = unknown +export type DeleteAuthToken404 = unknown; -export type DeleteAuthTokenMutationResponse = DeleteAuthToken200 +export type DeleteAuthTokenMutationResponse = DeleteAuthToken200; export type DeleteAuthTokenMutation = { - Response: DeleteAuthToken200 - PathParams: DeleteAuthTokenPathParams - Errors: DeleteAuthToken400 | DeleteAuthToken401 | DeleteAuthToken403 | DeleteAuthToken404 -} + Response: DeleteAuthToken200; + PathParams: DeleteAuthTokenPathParams; + Errors: DeleteAuthToken400 | DeleteAuthToken401 | DeleteAuthToken403 | DeleteAuthToken404; +}; /** * @description Successful response. */ -export type GetAuthUser200 = unknown +export type GetAuthUser200 = unknown; -export type GetAuthUser400 = unknown +export type GetAuthUser400 = unknown; -export type GetAuthUser401 = unknown +export type GetAuthUser401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetAuthUser403 = unknown +export type GetAuthUser403 = unknown; -export type GetAuthUser409 = unknown +export type GetAuthUser409 = unknown; -export type GetAuthUserQueryResponse = GetAuthUser200 +export type GetAuthUserQueryResponse = GetAuthUser200; export type GetAuthUserQuery = { - Response: GetAuthUser200 - Errors: GetAuthUser400 | GetAuthUser401 | GetAuthUser403 | GetAuthUser409 -} + Response: GetAuthUser200; + Errors: GetAuthUser400 | GetAuthUser401 | GetAuthUser403 | GetAuthUser409; +}; /** * @description Response indicating that the User deletion process has been initiated, and a confirmation email has been sent. */ -export type RequestDelete202 = unknown +export type RequestDelete202 = unknown; /** * @description One of the provided values in the request body is invalid. */ -export type RequestDelete400 = unknown +export type RequestDelete400 = unknown; -export type RequestDelete401 = unknown +export type RequestDelete401 = unknown; -export type RequestDelete402 = unknown +export type RequestDelete402 = unknown; /** * @description You do not have permission to access this resource. */ -export type RequestDelete403 = unknown +export type RequestDelete403 = unknown; -export type RequestDeleteMutationResponse = RequestDelete202 +export type RequestDeleteMutationResponse = RequestDelete202; export type RequestDeleteMutation = { - Response: RequestDelete202 - Errors: RequestDelete400 | RequestDelete401 | RequestDelete402 | RequestDelete403 -} + Response: RequestDelete202; + Errors: RequestDelete400 | RequestDelete401 | RequestDelete402 | RequestDelete403; +}; export type CreateWebhookQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type CreateWebhook200 = unknown +export type CreateWebhook200 = unknown; /** * @description One of the provided values in the request body is invalid. */ -export type CreateWebhook400 = unknown +export type CreateWebhook400 = unknown; -export type CreateWebhook401 = unknown +export type CreateWebhook401 = unknown; /** * @description You do not have permission to access this resource. */ -export type CreateWebhook403 = unknown +export type CreateWebhook403 = unknown; -export type CreateWebhookMutationResponse = CreateWebhook200 +export type CreateWebhookMutationResponse = CreateWebhook200; export type CreateWebhookMutation = { - Response: CreateWebhook200 - QueryParams: CreateWebhookQueryParams - Errors: CreateWebhook400 | CreateWebhook401 | CreateWebhook403 -} + Response: CreateWebhook200; + QueryParams: CreateWebhookQueryParams; + Errors: CreateWebhook400 | CreateWebhook401 | CreateWebhook403; +}; export type GetWebhooksQueryParams = { /** * @pattern ^[a-zA-z0-9_]+$ * @type string | undefined */ - projectId?: string | undefined + projectId?: string | undefined; /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type GetWebhooks200 = unknown +export type GetWebhooks200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type GetWebhooks400 = unknown +export type GetWebhooks400 = unknown; -export type GetWebhooks401 = unknown +export type GetWebhooks401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetWebhooks403 = unknown +export type GetWebhooks403 = unknown; -export type GetWebhooksQueryResponse = GetWebhooks200 +export type GetWebhooksQueryResponse = GetWebhooks200; export type GetWebhooksQuery = { - Response: GetWebhooks200 - QueryParams: GetWebhooksQueryParams - Errors: GetWebhooks400 | GetWebhooks401 | GetWebhooks403 -} + Response: GetWebhooks200; + QueryParams: GetWebhooksQueryParams; + Errors: GetWebhooks400 | GetWebhooks401 | GetWebhooks403; +}; export type GetWebhookPathParams = { /** * @type string */ - id: string -} + id: string; +}; export type GetWebhookQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type GetWebhook200 = unknown +export type GetWebhook200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type GetWebhook400 = unknown +export type GetWebhook400 = unknown; -export type GetWebhook401 = unknown +export type GetWebhook401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetWebhook403 = unknown +export type GetWebhook403 = unknown; -export type GetWebhookQueryResponse = GetWebhook200 +export type GetWebhookQueryResponse = GetWebhook200; export type GetWebhookQuery = { - Response: GetWebhook200 - PathParams: GetWebhookPathParams - QueryParams: GetWebhookQueryParams - Errors: GetWebhook400 | GetWebhook401 | GetWebhook403 -} + Response: GetWebhook200; + PathParams: GetWebhookPathParams; + QueryParams: GetWebhookQueryParams; + Errors: GetWebhook400 | GetWebhook401 | GetWebhook403; +}; export type DeleteWebhookPathParams = { /** * @type string */ - id: string -} + id: string; +}; export type DeleteWebhookQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type DeleteWebhook204 = unknown +export type DeleteWebhook204 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type DeleteWebhook400 = unknown +export type DeleteWebhook400 = unknown; -export type DeleteWebhook401 = unknown +export type DeleteWebhook401 = unknown; /** * @description You do not have permission to access this resource. */ -export type DeleteWebhook403 = unknown +export type DeleteWebhook403 = unknown; -export type DeleteWebhookMutationResponse = DeleteWebhook204 +export type DeleteWebhookMutationResponse = DeleteWebhook204; export type DeleteWebhookMutation = { - Response: DeleteWebhook204 - PathParams: DeleteWebhookPathParams - QueryParams: DeleteWebhookQueryParams - Errors: DeleteWebhook400 | DeleteWebhook401 | DeleteWebhook403 -} + Response: DeleteWebhook204; + PathParams: DeleteWebhookPathParams; + QueryParams: DeleteWebhookQueryParams; + Errors: DeleteWebhook400 | DeleteWebhook401 | DeleteWebhook403; +}; export type ListDeploymentAliasesPathParams = { /** * @description The ID of the deployment the aliases should be listed for * @type string */ - id: string -} + id: string; +}; export type ListDeploymentAliasesQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description The list of aliases assigned to the deployment */ -export type ListDeploymentAliases200 = unknown +export type ListDeploymentAliases200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type ListDeploymentAliases400 = unknown +export type ListDeploymentAliases400 = unknown; -export type ListDeploymentAliases401 = unknown +export type ListDeploymentAliases401 = unknown; /** * @description You do not have permission to access this resource. */ -export type ListDeploymentAliases403 = unknown +export type ListDeploymentAliases403 = unknown; /** * @description The deployment was not found */ -export type ListDeploymentAliases404 = unknown +export type ListDeploymentAliases404 = unknown; -export type ListDeploymentAliasesQueryResponse = ListDeploymentAliases200 +export type ListDeploymentAliasesQueryResponse = ListDeploymentAliases200; export type ListDeploymentAliasesQuery = { - Response: ListDeploymentAliases200 - PathParams: ListDeploymentAliasesPathParams - QueryParams: ListDeploymentAliasesQueryParams - Errors: ListDeploymentAliases400 | ListDeploymentAliases401 | ListDeploymentAliases403 | ListDeploymentAliases404 -} + Response: ListDeploymentAliases200; + PathParams: ListDeploymentAliasesPathParams; + QueryParams: ListDeploymentAliasesQueryParams; + Errors: ListDeploymentAliases400 | ListDeploymentAliases401 | ListDeploymentAliases403 | ListDeploymentAliases404; +}; export type AssignAliasPathParams = { /** * @description The ID of the deployment the aliases should be listed for */ - id: string -} + id: string; +}; export type AssignAliasQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description The alias was successfully assigned to the deployment */ -export type AssignAlias200 = unknown +export type AssignAlias200 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.\nThe cert for the provided alias is not ready\nThe deployment is not READY and can not be aliased\nThe supplied alias is invalid */ -export type AssignAlias400 = unknown +export type AssignAlias400 = unknown; -export type AssignAlias401 = unknown +export type AssignAlias401 = unknown; /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export type AssignAlias402 = unknown +export type AssignAlias402 = unknown; /** * @description You do not have permission to access this resource.\nIf no .vercel.app alias exists then we fail (nothing to mirror) */ -export type AssignAlias403 = unknown +export type AssignAlias403 = unknown; /** * @description The domain used for the alias was not found\nThe deployment was not found */ -export type AssignAlias404 = unknown +export type AssignAlias404 = unknown; /** * @description The provided alias is already assigned to the given deployment\nThe domain is not allowed to be used */ -export type AssignAlias409 = unknown +export type AssignAlias409 = unknown; -export type AssignAliasMutationResponse = AssignAlias200 +export type AssignAliasMutationResponse = AssignAlias200; export type AssignAliasMutation = { - Response: AssignAlias200 - PathParams: AssignAliasPathParams - QueryParams: AssignAliasQueryParams - Errors: AssignAlias400 | AssignAlias401 | AssignAlias402 | AssignAlias403 | AssignAlias404 | AssignAlias409 -} + Response: AssignAlias200; + PathParams: AssignAliasPathParams; + QueryParams: AssignAliasQueryParams; + Errors: AssignAlias400 | AssignAlias401 | AssignAlias402 | AssignAlias403 | AssignAlias404 | AssignAlias409; +}; export type ListAliasesQueryParams = { /** * @description Get only aliases of the given domain name */ - domain?: (string[] | string) | undefined + domain?: (string[] | string) | undefined; /** * @description Get only aliases created after the provided timestamp * @deprecated * @type number | undefined */ - from?: number | undefined + from?: number | undefined; /** * @description Maximum number of aliases to list from a request * @type number | undefined */ - limit?: number | undefined + limit?: number | undefined; /** * @description Filter aliases from the given `projectId` * @type string | undefined */ - projectId?: string | undefined + projectId?: string | undefined; /** * @description Get aliases created after this JavaScript timestamp * @type number | undefined */ - since?: number | undefined + since?: number | undefined; /** * @description Get aliases created before this JavaScript timestamp * @type number | undefined */ - until?: number | undefined + until?: number | undefined; /** * @description Get aliases that would be rolled back for the given deployment * @type string | undefined */ - rollbackDeploymentId?: string | undefined + rollbackDeploymentId?: string | undefined; /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description The paginated list of aliases */ -export type ListAliases200 = unknown +export type ListAliases200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type ListAliases400 = unknown +export type ListAliases400 = unknown; -export type ListAliases401 = unknown +export type ListAliases401 = unknown; /** * @description You do not have permission to access this resource. */ -export type ListAliases403 = unknown +export type ListAliases403 = unknown; -export type ListAliases404 = unknown +export type ListAliases404 = unknown; -export type ListAliasesQueryResponse = ListAliases200 +export type ListAliasesQueryResponse = ListAliases200; export type ListAliasesQuery = { - Response: ListAliases200 - QueryParams: ListAliasesQueryParams - Errors: ListAliases400 | ListAliases401 | ListAliases403 | ListAliases404 -} + Response: ListAliases200; + QueryParams: ListAliasesQueryParams; + Errors: ListAliases400 | ListAliases401 | ListAliases403 | ListAliases404; +}; export type GetAliasPathParams = { /** * @description The alias or alias ID to be retrieved * @type string */ - idOrAlias: string -} + idOrAlias: string; +}; export type GetAliasQueryParams = { /** @@ -16822,165 +16992,165 @@ export type GetAliasQueryParams = { * @deprecated * @type number | undefined */ - from?: number | undefined + from?: number | undefined; /** * @description Get the alias only if it is assigned to the provided project ID * @type string | undefined */ - projectId?: string | undefined + projectId?: string | undefined; /** * @description Get the alias only if it was created after this JavaScript timestamp * @type number | undefined */ - since?: number | undefined + since?: number | undefined; /** * @description Get the alias only if it was created before this JavaScript timestamp * @type number | undefined */ - until?: number | undefined + until?: number | undefined; /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description The alias information */ -export type GetAlias200 = unknown +export type GetAlias200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type GetAlias400 = unknown +export type GetAlias400 = unknown; -export type GetAlias401 = unknown +export type GetAlias401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetAlias403 = unknown +export type GetAlias403 = unknown; /** * @description The alias was not found */ -export type GetAlias404 = unknown +export type GetAlias404 = unknown; -export type GetAliasQueryResponse = GetAlias200 +export type GetAliasQueryResponse = GetAlias200; export type GetAliasQuery = { - Response: GetAlias200 - PathParams: GetAliasPathParams - QueryParams: GetAliasQueryParams - Errors: GetAlias400 | GetAlias401 | GetAlias403 | GetAlias404 -} + Response: GetAlias200; + PathParams: GetAliasPathParams; + QueryParams: GetAliasQueryParams; + Errors: GetAlias400 | GetAlias401 | GetAlias403 | GetAlias404; +}; export type DeleteAliasPathParams = { /** * @description The ID or alias that will be removed */ - aliasId: string -} + aliasId: string; +}; export type DeleteAliasQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description The alias was successfully removed */ -export type DeleteAlias200 = unknown +export type DeleteAlias200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type DeleteAlias400 = unknown +export type DeleteAlias400 = unknown; -export type DeleteAlias401 = unknown +export type DeleteAlias401 = unknown; /** * @description You do not have permission to access this resource. */ -export type DeleteAlias403 = unknown +export type DeleteAlias403 = unknown; /** * @description The alias was not found */ -export type DeleteAlias404 = unknown +export type DeleteAlias404 = unknown; -export type DeleteAliasMutationResponse = DeleteAlias200 +export type DeleteAliasMutationResponse = DeleteAlias200; export type DeleteAliasMutation = { - Response: DeleteAlias200 - PathParams: DeleteAliasPathParams - QueryParams: DeleteAliasQueryParams - Errors: DeleteAlias400 | DeleteAlias401 | DeleteAlias403 | DeleteAlias404 -} + Response: DeleteAlias200; + PathParams: DeleteAliasPathParams; + QueryParams: DeleteAliasQueryParams; + Errors: DeleteAlias400 | DeleteAlias401 | DeleteAlias403 | DeleteAlias404; +}; export type PatchUrlProtectionBypassPathParams = { /** * @description The alias or deployment ID * @type string */ - id: string -} + id: string; +}; export type PatchUrlProtectionBypassQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type PatchUrlProtectionBypass200 = unknown +export type PatchUrlProtectionBypass200 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type PatchUrlProtectionBypass400 = unknown +export type PatchUrlProtectionBypass400 = unknown; -export type PatchUrlProtectionBypass401 = unknown +export type PatchUrlProtectionBypass401 = unknown; /** * @description You do not have permission to access this resource. */ -export type PatchUrlProtectionBypass403 = unknown +export type PatchUrlProtectionBypass403 = unknown; -export type PatchUrlProtectionBypass404 = unknown +export type PatchUrlProtectionBypass404 = unknown; -export type PatchUrlProtectionBypass409 = unknown +export type PatchUrlProtectionBypass409 = unknown; -export type PatchUrlProtectionBypass428 = unknown +export type PatchUrlProtectionBypass428 = unknown; -export type PatchUrlProtectionBypass500 = unknown +export type PatchUrlProtectionBypass500 = unknown; -export type PatchUrlProtectionBypassMutationResponse = PatchUrlProtectionBypass200 +export type PatchUrlProtectionBypassMutationResponse = PatchUrlProtectionBypass200; export type PatchUrlProtectionBypassMutation = { - Response: PatchUrlProtectionBypass200 - PathParams: PatchUrlProtectionBypassPathParams - QueryParams: PatchUrlProtectionBypassQueryParams + Response: PatchUrlProtectionBypass200; + PathParams: PatchUrlProtectionBypassPathParams; + QueryParams: PatchUrlProtectionBypassQueryParams; Errors: | PatchUrlProtectionBypass400 | PatchUrlProtectionBypass401 @@ -16988,486 +17158,486 @@ export type PatchUrlProtectionBypassMutation = { | PatchUrlProtectionBypass404 | PatchUrlProtectionBypass409 | PatchUrlProtectionBypass428 - | PatchUrlProtectionBypass500 -} + | PatchUrlProtectionBypass500; +}; -export type ListCerts200 = unknown +export type ListCerts200 = unknown; -export type ListCerts400 = unknown +export type ListCerts400 = unknown; -export type ListCerts401 = unknown +export type ListCerts401 = unknown; /** * @description You do not have permission to access this resource. */ -export type ListCerts403 = unknown +export type ListCerts403 = unknown; -export type ListCertsQueryResponse = ListCerts200 +export type ListCertsQueryResponse = ListCerts200; export type ListCertsQuery = { - Response: ListCerts200 - Errors: ListCerts400 | ListCerts401 | ListCerts403 -} + Response: ListCerts200; + Errors: ListCerts400 | ListCerts401 | ListCerts403; +}; export type GetCertByIdPathParams = { /** * @description The cert id * @type string */ - id: string -} + id: string; +}; export type GetCertByIdQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type GetCertById200 = unknown +export type GetCertById200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type GetCertById400 = unknown +export type GetCertById400 = unknown; -export type GetCertById401 = unknown +export type GetCertById401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetCertById403 = unknown +export type GetCertById403 = unknown; -export type GetCertById404 = unknown +export type GetCertById404 = unknown; -export type GetCertByIdQueryResponse = GetCertById200 +export type GetCertByIdQueryResponse = GetCertById200; export type GetCertByIdQuery = { - Response: GetCertById200 - PathParams: GetCertByIdPathParams - QueryParams: GetCertByIdQueryParams - Errors: GetCertById400 | GetCertById401 | GetCertById403 | GetCertById404 -} + Response: GetCertById200; + PathParams: GetCertByIdPathParams; + QueryParams: GetCertByIdQueryParams; + Errors: GetCertById400 | GetCertById401 | GetCertById403 | GetCertById404; +}; export type RemoveCertPathParams = { /** * @description The cert id to remove * @type string */ - id: string -} + id: string; +}; export type RemoveCertQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type RemoveCert200 = unknown +export type RemoveCert200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type RemoveCert400 = unknown +export type RemoveCert400 = unknown; -export type RemoveCert401 = unknown +export type RemoveCert401 = unknown; /** * @description You do not have permission to access this resource. */ -export type RemoveCert403 = unknown +export type RemoveCert403 = unknown; -export type RemoveCert404 = unknown +export type RemoveCert404 = unknown; -export type RemoveCertMutationResponse = RemoveCert200 +export type RemoveCertMutationResponse = RemoveCert200; export type RemoveCertMutation = { - Response: RemoveCert200 - PathParams: RemoveCertPathParams - QueryParams: RemoveCertQueryParams - Errors: RemoveCert400 | RemoveCert401 | RemoveCert403 | RemoveCert404 -} + Response: RemoveCert200; + PathParams: RemoveCertPathParams; + QueryParams: RemoveCertQueryParams; + Errors: RemoveCert400 | RemoveCert401 | RemoveCert403 | RemoveCert404; +}; export type IssueCertQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type IssueCert200 = unknown +export type IssueCert200 = unknown; /** * @description One of the provided values in the request body is invalid. */ -export type IssueCert400 = unknown +export type IssueCert400 = unknown; -export type IssueCert401 = unknown +export type IssueCert401 = unknown; /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export type IssueCert402 = unknown +export type IssueCert402 = unknown; /** * @description You do not have permission to access this resource. */ -export type IssueCert403 = unknown +export type IssueCert403 = unknown; -export type IssueCert404 = unknown +export type IssueCert404 = unknown; -export type IssueCert449 = unknown +export type IssueCert449 = unknown; -export type IssueCert500 = unknown +export type IssueCert500 = unknown; -export type IssueCertMutationResponse = IssueCert200 +export type IssueCertMutationResponse = IssueCert200; export type IssueCertMutation = { - Response: IssueCert200 - QueryParams: IssueCertQueryParams - Errors: IssueCert400 | IssueCert401 | IssueCert402 | IssueCert403 | IssueCert404 | IssueCert449 | IssueCert500 -} + Response: IssueCert200; + QueryParams: IssueCertQueryParams; + Errors: IssueCert400 | IssueCert401 | IssueCert402 | IssueCert403 | IssueCert404 | IssueCert449 | IssueCert500; +}; export type UploadCertQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type UploadCert200 = unknown +export type UploadCert200 = unknown; /** * @description One of the provided values in the request body is invalid. */ -export type UploadCert400 = unknown +export type UploadCert400 = unknown; -export type UploadCert401 = unknown +export type UploadCert401 = unknown; /** * @description This feature is only available for Enterprise customers. */ -export type UploadCert402 = unknown +export type UploadCert402 = unknown; /** * @description You do not have permission to access this resource. */ -export type UploadCert403 = unknown +export type UploadCert403 = unknown; -export type UploadCertMutationResponse = UploadCert200 +export type UploadCertMutationResponse = UploadCert200; export type UploadCertMutation = { - Response: UploadCert200 - QueryParams: UploadCertQueryParams - Errors: UploadCert400 | UploadCert401 | UploadCert402 | UploadCert403 -} + Response: UploadCert200; + QueryParams: UploadCertQueryParams; + Errors: UploadCert400 | UploadCert401 | UploadCert402 | UploadCert403; +}; export type ListDeploymentFilesPathParams = { /** * @description The unique deployment identifier * @type string */ - id: string -} + id: string; +}; export type ListDeploymentFilesQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description Retrieved the file tree successfully */ -export type ListDeploymentFiles200 = unknown +export type ListDeploymentFiles200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type ListDeploymentFiles400 = unknown +export type ListDeploymentFiles400 = unknown; -export type ListDeploymentFiles401 = unknown +export type ListDeploymentFiles401 = unknown; /** * @description You do not have permission to access this resource. */ -export type ListDeploymentFiles403 = unknown +export type ListDeploymentFiles403 = unknown; /** * @description File tree not found\nDeployment not found */ -export type ListDeploymentFiles404 = unknown +export type ListDeploymentFiles404 = unknown; -export type ListDeploymentFilesQueryResponse = ListDeploymentFiles200 +export type ListDeploymentFilesQueryResponse = ListDeploymentFiles200; export type ListDeploymentFilesQuery = { - Response: ListDeploymentFiles200 - PathParams: ListDeploymentFilesPathParams - QueryParams: ListDeploymentFilesQueryParams - Errors: ListDeploymentFiles400 | ListDeploymentFiles401 | ListDeploymentFiles403 | ListDeploymentFiles404 -} + Response: ListDeploymentFiles200; + PathParams: ListDeploymentFilesPathParams; + QueryParams: ListDeploymentFilesQueryParams; + Errors: ListDeploymentFiles400 | ListDeploymentFiles401 | ListDeploymentFiles403 | ListDeploymentFiles404; +}; export type GetDeploymentFileContentsPathParams = { /** * @description The unique deployment identifier * @type string */ - id: string + id: string; /** * @description The unique file identifier * @type string */ - fileId: string -} + fileId: string; +}; export type GetDeploymentFileContentsQueryParams = { /** * @description Path to the file to fetch (only for Git deployments) * @type string | undefined */ - path?: string | undefined + path?: string | undefined; /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description One of the provided values in the request query is invalid. */ -export type GetDeploymentFileContents400 = unknown +export type GetDeploymentFileContents400 = unknown; -export type GetDeploymentFileContents401 = unknown +export type GetDeploymentFileContents401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetDeploymentFileContents403 = unknown +export type GetDeploymentFileContents403 = unknown; /** * @description File not found\nDeployment not found */ -export type GetDeploymentFileContents404 = unknown +export type GetDeploymentFileContents404 = unknown; /** * @description Invalid API version. */ -export type GetDeploymentFileContents410 = unknown +export type GetDeploymentFileContents410 = unknown; -export type GetDeploymentFileContentsQueryResponse = any +export type GetDeploymentFileContentsQueryResponse = any; export type GetDeploymentFileContentsQuery = { - Response: any - PathParams: GetDeploymentFileContentsPathParams - QueryParams: GetDeploymentFileContentsQueryParams + Response: any; + PathParams: GetDeploymentFileContentsPathParams; + QueryParams: GetDeploymentFileContentsQueryParams; Errors: | GetDeploymentFileContents400 | GetDeploymentFileContents401 | GetDeploymentFileContents403 | GetDeploymentFileContents404 - | GetDeploymentFileContents410 -} + | GetDeploymentFileContents410; +}; export type GetDeploymentsQueryParams = { /** * @description Name of the deployment. * @type string | undefined */ - app?: string | undefined + app?: string | undefined; /** * @description Gets the deployment created after this Date timestamp. (default: current time) * @deprecated * @type number | undefined */ - from?: number | undefined + from?: number | undefined; /** * @description Maximum number of deployments to list from a request. * @type number | undefined */ - limit?: number | undefined + limit?: number | undefined; /** * @description Filter deployments from the given ID or name. * @type string | undefined */ - projectId?: string | undefined + projectId?: string | undefined; /** * @description Filter deployments based on the environment. * @type string | undefined */ - target?: string | undefined + target?: string | undefined; /** * @description Gets the deployment created before this Date timestamp. (default: current time) * @deprecated * @type number | undefined */ - to?: number | undefined + to?: number | undefined; /** * @description Filter out deployments based on users who have created the deployment. * @type string | undefined */ - users?: string | undefined + users?: string | undefined; /** * @description Get Deployments created after this JavaScript timestamp. * @type number | undefined */ - since?: number | undefined + since?: number | undefined; /** * @description Get Deployments created before this JavaScript timestamp. * @type number | undefined */ - until?: number | undefined + until?: number | undefined; /** * @description Filter deployments based on their state (`BUILDING`, `ERROR`, `INITIALIZING`, `QUEUED`, `READY`, `CANCELED`) * @type string | undefined */ - state?: string | undefined + state?: string | undefined; /** * @description Filter deployments based on their rollback candidacy * @type boolean | undefined */ - rollbackCandidate?: boolean | undefined + rollbackCandidate?: boolean | undefined; /** * @description Filter deployments based on the branch name * @type string | undefined */ - branch?: string | undefined + branch?: string | undefined; /** * @description Filter deployments based on the SHA * @type string | undefined */ - sha?: string | undefined + sha?: string | undefined; /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type GetDeployments200 = unknown +export type GetDeployments200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type GetDeployments400 = unknown +export type GetDeployments400 = unknown; -export type GetDeployments401 = unknown +export type GetDeployments401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetDeployments403 = unknown +export type GetDeployments403 = unknown; -export type GetDeployments404 = unknown +export type GetDeployments404 = unknown; -export type GetDeployments422 = unknown +export type GetDeployments422 = unknown; -export type GetDeploymentsQueryResponse = GetDeployments200 +export type GetDeploymentsQueryResponse = GetDeployments200; export type GetDeploymentsQuery = { - Response: GetDeployments200 - QueryParams: GetDeploymentsQueryParams - Errors: GetDeployments400 | GetDeployments401 | GetDeployments403 | GetDeployments404 | GetDeployments422 -} + Response: GetDeployments200; + QueryParams: GetDeploymentsQueryParams; + Errors: GetDeployments400 | GetDeployments401 | GetDeployments403 | GetDeployments404 | GetDeployments422; +}; export type DeleteDeploymentPathParams = { /** * @description The ID of the deployment to be deleted * @type string */ - id: string -} + id: string; +}; export type DeleteDeploymentQueryParams = { /** * @description A Deployment or Alias URL. In case it is passed, the ID will be ignored * @type string | undefined */ - url?: string | undefined + url?: string | undefined; /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description The deployment was successfully deleted */ -export type DeleteDeployment200 = unknown +export type DeleteDeployment200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type DeleteDeployment400 = unknown +export type DeleteDeployment400 = unknown; -export type DeleteDeployment401 = unknown +export type DeleteDeployment401 = unknown; /** * @description You do not have permission to access this resource. */ -export type DeleteDeployment403 = unknown +export type DeleteDeployment403 = unknown; /** * @description The deployment was not found */ -export type DeleteDeployment404 = unknown +export type DeleteDeployment404 = unknown; -export type DeleteDeploymentMutationResponse = DeleteDeployment200 +export type DeleteDeploymentMutationResponse = DeleteDeployment200; export type DeleteDeploymentMutation = { - Response: DeleteDeployment200 - PathParams: DeleteDeploymentPathParams - QueryParams: DeleteDeploymentQueryParams - Errors: DeleteDeployment400 | DeleteDeployment401 | DeleteDeployment403 | DeleteDeployment404 -} + Response: DeleteDeployment200; + PathParams: DeleteDeploymentPathParams; + QueryParams: DeleteDeploymentQueryParams; + Errors: DeleteDeployment400 | DeleteDeployment401 | DeleteDeployment403 | DeleteDeployment404; +}; export type GetSecretsQueryParams = { /** @@ -17475,256 +17645,257 @@ export type GetSecretsQueryParams = { * @deprecated * @type string | undefined */ - id?: string | undefined + id?: string | undefined; /** * @description Filter out secrets that belong to a project. * @deprecated * @type string | undefined */ - projectId?: string | undefined + projectId?: string | undefined; /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description Successful response retrieving a list of secrets. */ -export type GetSecrets200 = unknown +export type GetSecrets200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type GetSecrets400 = unknown +export type GetSecrets400 = unknown; -export type GetSecrets401 = unknown +export type GetSecrets401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetSecrets403 = unknown +export type GetSecrets403 = unknown; -export type GetSecrets410 = unknown +export type GetSecrets410 = unknown; -export type GetSecretsQueryResponse = GetSecrets200 +export type GetSecretsQueryResponse = GetSecrets200; export type GetSecretsQuery = { - Response: GetSecrets200 - QueryParams: GetSecretsQueryParams - Errors: GetSecrets400 | GetSecrets401 | GetSecrets403 | GetSecrets410 -} + Response: GetSecrets200; + QueryParams: GetSecretsQueryParams; + Errors: GetSecrets400 | GetSecrets401 | GetSecrets403 | GetSecrets410; +}; export type CreateSecretPathParams = { /** * @type string */ - name: string -} + name: string; +}; export type CreateSecretQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description Successful response showing the created secret. */ -export type CreateSecret200 = unknown +export type CreateSecret200 = unknown; /** * @description One of the provided values in the request body is invalid. */ -export type CreateSecret400 = unknown +export type CreateSecret400 = unknown; -export type CreateSecret401 = unknown +export type CreateSecret401 = unknown; /** * @description The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated */ -export type CreateSecret402 = unknown +export type CreateSecret402 = unknown; /** * @description You do not have permission to access this resource. */ -export type CreateSecret403 = unknown +export type CreateSecret403 = unknown; -export type CreateSecret410 = unknown +export type CreateSecret410 = unknown; -export type CreateSecretMutationResponse = CreateSecret200 +export type CreateSecretMutationResponse = CreateSecret200; export type CreateSecretMutation = { - Response: CreateSecret200 - PathParams: CreateSecretPathParams - QueryParams: CreateSecretQueryParams - Errors: CreateSecret400 | CreateSecret401 | CreateSecret402 | CreateSecret403 | CreateSecret410 -} + Response: CreateSecret200; + PathParams: CreateSecretPathParams; + QueryParams: CreateSecretQueryParams; + Errors: CreateSecret400 | CreateSecret401 | CreateSecret402 | CreateSecret403 | CreateSecret410; +}; export type RenameSecretPathParams = { /** * @description The name of the secret. * @type string */ - name: string -} + name: string; +}; export type RenameSecretQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type RenameSecret200 = unknown +export type RenameSecret200 = unknown; /** * @description One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid. */ -export type RenameSecret400 = unknown +export type RenameSecret400 = unknown; -export type RenameSecret401 = unknown +export type RenameSecret401 = unknown; /** * @description You do not have permission to access this resource. */ -export type RenameSecret403 = unknown +export type RenameSecret403 = unknown; -export type RenameSecret410 = unknown +export type RenameSecret410 = unknown; -export type RenameSecretMutationResponse = RenameSecret200 +export type RenameSecretMutationResponse = RenameSecret200; export type RenameSecretMutation = { - Response: RenameSecret200 - PathParams: RenameSecretPathParams - QueryParams: RenameSecretQueryParams - Errors: RenameSecret400 | RenameSecret401 | RenameSecret403 | RenameSecret410 -} + Response: RenameSecret200; + PathParams: RenameSecretPathParams; + QueryParams: RenameSecretQueryParams; + Errors: RenameSecret400 | RenameSecret401 | RenameSecret403 | RenameSecret410; +}; export type GetSecretPathParams = { /** * @description The name or the unique identifier to which the secret belongs to. * @type string */ - idOrName: string -} + idOrName: string; +}; export const getSecretQueryParamsDecryptEnum = { true: 'true', - false: 'false', -} as const + false: 'false' +} as const; -export type GetSecretQueryParamsDecryptEnum = (typeof getSecretQueryParamsDecryptEnum)[keyof typeof getSecretQueryParamsDecryptEnum] +export type GetSecretQueryParamsDecryptEnum = + (typeof getSecretQueryParamsDecryptEnum)[keyof typeof getSecretQueryParamsDecryptEnum]; export type GetSecretQueryParams = { /** * @description Whether to try to decrypt the value of the secret. Only works if `decryptable` has been set to `true` when the secret was created. * @type string | undefined */ - decrypt?: GetSecretQueryParamsDecryptEnum | undefined + decrypt?: GetSecretQueryParamsDecryptEnum | undefined; /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; /** * @description Successful response retrieving a secret. */ -export type GetSecret200 = unknown +export type GetSecret200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type GetSecret400 = unknown +export type GetSecret400 = unknown; -export type GetSecret401 = unknown +export type GetSecret401 = unknown; /** * @description You do not have permission to access this resource. */ -export type GetSecret403 = unknown +export type GetSecret403 = unknown; -export type GetSecret404 = unknown +export type GetSecret404 = unknown; -export type GetSecret410 = unknown +export type GetSecret410 = unknown; -export type GetSecretQueryResponse = GetSecret200 +export type GetSecretQueryResponse = GetSecret200; export type GetSecretQuery = { - Response: GetSecret200 - PathParams: GetSecretPathParams - QueryParams: GetSecretQueryParams - Errors: GetSecret400 | GetSecret401 | GetSecret403 | GetSecret404 | GetSecret410 -} + Response: GetSecret200; + PathParams: GetSecretPathParams; + QueryParams: GetSecretQueryParams; + Errors: GetSecret400 | GetSecret401 | GetSecret403 | GetSecret404 | GetSecret410; +}; export type DeleteSecretPathParams = { /** * @description The name or the unique identifier to which the secret belongs to. * @type string */ - idOrName: string -} + idOrName: string; +}; export type DeleteSecretQueryParams = { /** * @description The Team identifier to perform the request on behalf of. * @type string | undefined */ - teamId?: string | undefined + teamId?: string | undefined; /** * @description The Team slug to perform the request on behalf of. * @type string | undefined */ - slug?: string | undefined -} + slug?: string | undefined; +}; -export type DeleteSecret200 = unknown +export type DeleteSecret200 = unknown; /** * @description One of the provided values in the request query is invalid. */ -export type DeleteSecret400 = unknown +export type DeleteSecret400 = unknown; -export type DeleteSecret401 = unknown +export type DeleteSecret401 = unknown; /** * @description You do not have permission to access this resource. */ -export type DeleteSecret403 = unknown +export type DeleteSecret403 = unknown; -export type DeleteSecret410 = unknown +export type DeleteSecret410 = unknown; -export type DeleteSecretMutationResponse = DeleteSecret200 +export type DeleteSecretMutationResponse = DeleteSecret200; export type DeleteSecretMutation = { - Response: DeleteSecret200 - PathParams: DeleteSecretPathParams - QueryParams: DeleteSecretQueryParams - Errors: DeleteSecret400 | DeleteSecret401 | DeleteSecret403 | DeleteSecret410 -} \ No newline at end of file + Response: DeleteSecret200; + PathParams: DeleteSecretPathParams; + QueryParams: DeleteSecretQueryParams; + Errors: DeleteSecret400 | DeleteSecret401 | DeleteSecret403 | DeleteSecret410; +};