vercel-api-js 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +4495 -0
- package/dist/index.d.cts +42176 -0
- package/dist/index.d.mts +41456 -998
- package/dist/index.d.ts +41456 -998
- package/dist/index.mjs +4488 -5
- package/dist/mcp.cjs +4946 -0
- package/dist/mcp.d.cts +5 -0
- package/dist/mcp.d.mts +5 -1
- package/dist/mcp.d.ts +5 -1
- package/dist/mcp.mjs +4944 -1
- package/dist/shared/vercel-api-js.BaOSBqhR.cjs +6795 -0
- package/dist/shared/vercel-api-js.BnRX1F13.mjs +6510 -0
- package/dist/shared/vercel-api-js.C9s64N79.d.cts +35 -0
- package/dist/shared/vercel-api-js.C9s64N79.d.mts +35 -0
- package/dist/shared/vercel-api-js.C9s64N79.d.ts +35 -0
- package/package.json +25 -18
- package/dist/client.d.mts +0 -228
- package/dist/client.d.ts +0 -228
- package/dist/client.js +0 -75
- package/dist/client.mjs +0 -68
- package/dist/generated/components.d.mts +0 -2600
- package/dist/generated/components.d.ts +0 -2600
- package/dist/generated/components.js +0 -3579
- package/dist/generated/components.mjs +0 -3395
- package/dist/generated/mcp.d.mts +0 -2061
- package/dist/generated/mcp.d.ts +0 -2061
- package/dist/generated/mcp.js +0 -4692
- package/dist/generated/mcp.mjs +0 -4508
- package/dist/generated/schemas.d.mts +0 -19403
- package/dist/generated/schemas.d.ts +0 -19403
- package/dist/generated/schemas.js +0 -7619
- package/dist/generated/schemas.mjs +0 -7589
- package/dist/generated/types.d.mts +0 -15009
- package/dist/generated/types.d.ts +0 -15009
- package/dist/generated/types.js +0 -951
- package/dist/generated/types.mjs +0 -946
- package/dist/index.js +0 -49
- package/dist/mcp.js +0 -5
- package/dist/utils/fetch.d.mts +0 -18
- package/dist/utils/fetch.d.ts +0 -18
- package/dist/utils/fetch.js +0 -8
- package/dist/utils/fetch.mjs +0 -5
- package/dist/utils/fetcher.d.mts +0 -21
- package/dist/utils/fetcher.d.ts +0 -21
- package/dist/utils/fetcher.js +0 -69
- package/dist/utils/fetcher.mjs +0 -66
- package/dist/utils/lang.d.mts +0 -1
- package/dist/utils/lang.d.ts +0 -1
- package/dist/utils/lang.js +0 -9
- package/dist/utils/lang.mjs +0 -6
- package/dist/utils/mcp.d.mts +0 -1
- package/dist/utils/mcp.d.ts +0 -1
- package/dist/utils/mcp.js +0 -2
- package/dist/utils/mcp.mjs +0 -1
- package/dist/utils/types.d.mts +0 -3
- package/dist/utils/types.d.ts +0 -3
- package/dist/utils/types.js +0 -2
- package/dist/utils/types.mjs +0 -1
package/dist/generated/mcp.d.mts
DELETED
|
@@ -1,2061 +0,0 @@
|
|
|
1
|
-
import type { FetcherConfig } from "../utils/fetcher.mjs";
|
|
2
|
-
import client from "../utils/fetcher.mjs";
|
|
3
|
-
import type { CallToolResult } from "../utils/mcp.mjs";
|
|
4
|
-
import type { AcceptProjectTransferRequestPathParams, AcceptProjectTransferRequestQueryParams, AddBypassIpQueryParams, AddProjectDomainPathParams, AddProjectDomainQueryParams, AddProjectMemberPathParams, AddProjectMemberQueryParams, ApproveRollingReleaseStagePathParams, ApproveRollingReleaseStageQueryParams, ArtifactQueryQueryParams, AssignAliasPathParams, AssignAliasQueryParams, BuyDomainQueryParams, CancelDeploymentPathParams, CancelDeploymentQueryParams, CheckDomainPriceQueryParams, CheckDomainStatusQueryParams, CompleteRollingReleasePathParams, CompleteRollingReleaseQueryParams, CreateAccessGroupProjectPathParams, CreateAccessGroupProjectQueryParams, CreateAccessGroupQueryParams, CreateAuthTokenQueryParams, CreateCheckPathParams, CreateCheckQueryParams, CreateCustomEnvironmentPathParams, CreateCustomEnvironmentQueryParams, CreateDeploymentQueryParams, CreateEdgeConfigQueryParams, CreateEdgeConfigTokenPathParams, CreateEdgeConfigTokenQueryParams, CreateEventPathParams, CreateExperimentationItemPathParams, CreateLogDrainQueryParams, CreateOrTransferDomainQueryParams, CreateProjectEnvPathParams, CreateProjectEnvQueryParams, CreateProjectQueryParams, CreateProjectTransferRequestPathParams, CreateProjectTransferRequestQueryParams, CreateRecordPathParams, CreateRecordQueryParams, CreateSecretPathParams, CreateSecretQueryParams, CreateWebhookQueryParams, DeleteAccessGroupPathParams, DeleteAccessGroupProjectPathParams, DeleteAccessGroupProjectQueryParams, DeleteAccessGroupQueryParams, DeleteAliasPathParams, DeleteAliasQueryParams, DeleteAuthTokenPathParams, DeleteConfigurationPathParams, DeleteConfigurationQueryParams, DeleteDeploymentPathParams, DeleteDeploymentQueryParams, DeleteDomainPathParams, DeleteDomainQueryParams, DeleteEdgeConfigPathParams, DeleteEdgeConfigQueryParams, DeleteEdgeConfigSchemaPathParams, DeleteEdgeConfigSchemaQueryParams, DeleteEdgeConfigTokensPathParams, DeleteEdgeConfigTokensQueryParams, DeleteExperimentationItemPathParams, DeleteIntegrationLogDrainPathParams, DeleteIntegrationLogDrainQueryParams, DeleteIntegrationResourcePathParams, DeleteProjectPathParams, DeleteProjectQueryParams, DeleteRollingReleaseConfigPathParams, DeleteRollingReleaseConfigQueryParams, DeleteSecretPathParams, DeleteSecretQueryParams, DeleteTeamInviteCodePathParams, DeleteTeamPathParams, DeleteTeamQueryParams, DeleteWebhookPathParams, DeleteWebhookQueryParams, DownloadArtifactHeaderParams, DownloadArtifactPathParams, DownloadArtifactQueryParams, EditProjectEnvPathParams, EditProjectEnvQueryParams, FilterProjectEnvsPathParams, FilterProjectEnvsQueryParams, GetAccountInfoPathParams, GetActiveAttackStatusQueryParams, GetAliasPathParams, GetAliasQueryParams, GetAllChecksPathParams, GetAllChecksQueryParams, GetAuthTokenPathParams, GetBypassIpQueryParams, GetCertByIdPathParams, GetCertByIdQueryParams, GetCheckPathParams, GetCheckQueryParams, GetConfigurationPathParams, GetConfigurationQueryParams, GetConfigurationsQueryParams, GetCustomEnvironmentPathParams, GetCustomEnvironmentQueryParams, GetDeploymentEventsPathParams, GetDeploymentEventsQueryParams, GetDeploymentFileContentsPathParams, GetDeploymentFileContentsQueryParams, GetDeploymentPathParams, GetDeploymentQueryParams, GetDeploymentsQueryParams, GetDomainConfigPathParams, GetDomainConfigQueryParams, GetDomainPathParams, GetDomainQueryParams, GetDomainsQueryParams, GetDomainTransferPathParams, GetDomainTransferQueryParams, GetEdgeConfigBackupPathParams, GetEdgeConfigBackupQueryParams, GetEdgeConfigBackupsPathParams, GetEdgeConfigBackupsQueryParams, GetEdgeConfigItemPathParams, GetEdgeConfigItemQueryParams, GetEdgeConfigItemsPathParams, GetEdgeConfigItemsQueryParams, GetEdgeConfigPathParams, GetEdgeConfigQueryParams, GetEdgeConfigSchemaPathParams, GetEdgeConfigSchemaQueryParams, GetEdgeConfigsQueryParams, GetEdgeConfigTokenPathParams, GetEdgeConfigTokenQueryParams, GetEdgeConfigTokensPathParams, GetEdgeConfigTokensQueryParams, GetFirewallConfigPathParams, GetFirewallConfigQueryParams, GetIntegrationLogDrainsQueryParams, GetIntegrationResourcePathParams, GetIntegrationResourcesPathParams, GetInvoicePathParams, GetMemberPathParams, GetProjectDomainPathParams, GetProjectDomainQueryParams, GetProjectDomainsPathParams, GetProjectDomainsQueryParams, GetProjectEnvPathParams, GetProjectEnvQueryParams, GetProjectMembersPathParams, GetProjectMembersQueryParams, GetProjectPathParams, GetProjectQueryParams, GetProjectsQueryParams, GetRecordsPathParams, GetRecordsQueryParams, GetRollingReleaseBillingStatusPathParams, GetRollingReleaseBillingStatusQueryParams, GetRollingReleaseConfigPathParams, GetRollingReleaseConfigQueryParams, GetRollingReleasePathParams, GetRollingReleaseQueryParams, GetRuntimeLogsPathParams, GetRuntimeLogsQueryParams, GetSecretPathParams, GetSecretQueryParams, GetSecretsQueryParams, GetTeamAccessRequestPathParams, GetTeamMembersPathParams, GetTeamMembersQueryParams, GetTeamPathParams, GetTeamQueryParams, GetTeamsQueryParams, GetWebhookPathParams, GetWebhookQueryParams, GetWebhooksQueryParams, ImportResourcePathParams, InviteUserToTeamPathParams, IssueCertQueryParams, JoinTeamPathParams, ListAccessGroupMembersPathParams, ListAccessGroupMembersQueryParams, ListAccessGroupProjectsPathParams, ListAccessGroupProjectsQueryParams, ListAccessGroupsQueryParams, ListAliasesQueryParams, ListCustomEnvironmentsPathParams, ListCustomEnvironmentsQueryParams, ListDeploymentAliasesPathParams, ListDeploymentAliasesQueryParams, ListDeploymentFilesPathParams, ListDeploymentFilesQueryParams, ListPromoteAliasesPathParams, ListPromoteAliasesQueryParams, ListUserEventsQueryParams, MoveProjectDomainPathParams, MoveProjectDomainQueryParams, PatchDomainPathParams, PatchDomainQueryParams, PatchEdgeConfigItemsPathParams, PatchEdgeConfigItemsQueryParams, PatchEdgeConfigSchemaPathParams, PatchEdgeConfigSchemaQueryParams, PatchTeamPathParams, PatchTeamQueryParams, PatchUrlProtectionBypassPathParams, PatchUrlProtectionBypassQueryParams, PauseProjectPathParams, PauseProjectQueryParams, PurgeAllDataCacheQueryParams, PutFirewallConfigQueryParams, ReadAccessGroupPathParams, ReadAccessGroupProjectPathParams, ReadAccessGroupProjectQueryParams, ReadAccessGroupQueryParams, RecordEventsHeaderParams, RecordEventsQueryParams, RemoveBypassIpQueryParams, RemoveCertPathParams, RemoveCertQueryParams, RemoveCustomEnvironmentPathParams, RemoveCustomEnvironmentQueryParams, RemoveProjectDomainPathParams, RemoveProjectDomainQueryParams, RemoveProjectEnvPathParams, RemoveProjectEnvQueryParams, RemoveProjectMemberPathParams, RemoveProjectMemberQueryParams, RemoveRecordPathParams, RemoveRecordQueryParams, RemoveTeamMemberPathParams, RemoveTeamMemberQueryParams, RenameSecretPathParams, RenameSecretQueryParams, RequestAccessToTeamPathParams, RequestPromotePathParams, RequestPromoteQueryParams, RerequestCheckPathParams, RerequestCheckQueryParams, StatusQueryParams, SubmitBillingDataPathParams, SubmitInvoicePathParams, SubmitPrepaymentBalancesPathParams, UnpauseProjectPathParams, UnpauseProjectQueryParams, UpdateAccessGroupPathParams, UpdateAccessGroupProjectPathParams, UpdateAccessGroupProjectQueryParams, UpdateAccessGroupQueryParams, UpdateAttackChallengeModeQueryParams, UpdateCheckPathParams, UpdateCheckQueryParams, UpdateCustomEnvironmentPathParams, UpdateCustomEnvironmentQueryParams, UpdateEdgeConfigPathParams, UpdateEdgeConfigQueryParams, UpdateExperimentationEdgeConfigPathParams, UpdateExperimentationItemPathParams, UpdateFirewallConfigQueryParams, UpdateIntegrationDeploymentActionPathParams, UpdateInvoicePathParams, UpdateProjectDataCachePathParams, UpdateProjectDataCacheQueryParams, UpdateProjectDomainPathParams, UpdateProjectDomainQueryParams, UpdateProjectPathParams, UpdateProjectProtectionBypassPathParams, UpdateProjectProtectionBypassQueryParams, UpdateProjectQueryParams, UpdateRecordPathParams, UpdateRecordQueryParams, UpdateResourceSecretsByIdPathParams, UpdateResourceSecretsPathParams, UpdateRollingReleaseConfigPathParams, UpdateRollingReleaseConfigQueryParams, UpdateTeamMemberPathParams, UploadArtifactHeaderParams, UploadArtifactPathParams, UploadArtifactQueryParams, UploadCertQueryParams, UploadFileHeaderParams, UploadFileQueryParams, VerifyProjectDomainPathParams, VerifyProjectDomainQueryParams } from "./types.mjs";
|
|
5
|
-
/**
|
|
6
|
-
* @description Allows to read an access group
|
|
7
|
-
* @summary Reads an access group
|
|
8
|
-
* {@link /v1/access-groups/:idOrName}
|
|
9
|
-
*/
|
|
10
|
-
export declare function readAccessGroup({ pathParams: { idOrName }, queryParams, config }: {
|
|
11
|
-
pathParams: ReadAccessGroupPathParams;
|
|
12
|
-
queryParams?: ReadAccessGroupQueryParams | undefined;
|
|
13
|
-
config?: Partial<FetcherConfig> & {
|
|
14
|
-
client?: typeof client;
|
|
15
|
-
};
|
|
16
|
-
}): Promise<Promise<CallToolResult>>;
|
|
17
|
-
/**
|
|
18
|
-
* @description Allows to update an access group metadata
|
|
19
|
-
* @summary Update an access group
|
|
20
|
-
* {@link /v1/access-groups/:idOrName}
|
|
21
|
-
*/
|
|
22
|
-
export declare function updateAccessGroup({ pathParams: { idOrName }, queryParams, config }: {
|
|
23
|
-
pathParams: UpdateAccessGroupPathParams;
|
|
24
|
-
queryParams?: UpdateAccessGroupQueryParams | undefined;
|
|
25
|
-
config?: Partial<FetcherConfig> & {
|
|
26
|
-
client?: typeof client;
|
|
27
|
-
};
|
|
28
|
-
}): Promise<Promise<CallToolResult>>;
|
|
29
|
-
/**
|
|
30
|
-
* @description Allows to delete an access group
|
|
31
|
-
* @summary Deletes an access group
|
|
32
|
-
* {@link /v1/access-groups/:idOrName}
|
|
33
|
-
*/
|
|
34
|
-
export declare function deleteAccessGroup({ pathParams: { idOrName }, queryParams, config }: {
|
|
35
|
-
pathParams: DeleteAccessGroupPathParams;
|
|
36
|
-
queryParams?: DeleteAccessGroupQueryParams | undefined;
|
|
37
|
-
config?: Partial<FetcherConfig> & {
|
|
38
|
-
client?: typeof client;
|
|
39
|
-
};
|
|
40
|
-
}): Promise<Promise<CallToolResult>>;
|
|
41
|
-
/**
|
|
42
|
-
* @description List members of an access group
|
|
43
|
-
* @summary List members of an access group
|
|
44
|
-
* {@link /v1/access-groups/:idOrName/members}
|
|
45
|
-
*/
|
|
46
|
-
export declare function listAccessGroupMembers({ pathParams: { idOrName }, queryParams, config }: {
|
|
47
|
-
pathParams: ListAccessGroupMembersPathParams;
|
|
48
|
-
queryParams?: ListAccessGroupMembersQueryParams | undefined;
|
|
49
|
-
config?: Partial<FetcherConfig> & {
|
|
50
|
-
client?: typeof client;
|
|
51
|
-
};
|
|
52
|
-
}): Promise<Promise<CallToolResult>>;
|
|
53
|
-
/**
|
|
54
|
-
* @description List access groups
|
|
55
|
-
* @summary List access groups for a team, project or member
|
|
56
|
-
* {@link /v1/access-groups}
|
|
57
|
-
*/
|
|
58
|
-
export declare function listAccessGroups({ queryParams, config }: {
|
|
59
|
-
queryParams?: ListAccessGroupsQueryParams | undefined;
|
|
60
|
-
config?: Partial<FetcherConfig> & {
|
|
61
|
-
client?: typeof client;
|
|
62
|
-
};
|
|
63
|
-
}): Promise<Promise<CallToolResult>>;
|
|
64
|
-
/**
|
|
65
|
-
* @description Allows to create an access group
|
|
66
|
-
* @summary Creates an access group
|
|
67
|
-
* {@link /v1/access-groups}
|
|
68
|
-
*/
|
|
69
|
-
export declare function createAccessGroup({ queryParams, config }: {
|
|
70
|
-
queryParams?: CreateAccessGroupQueryParams | undefined;
|
|
71
|
-
config?: Partial<FetcherConfig> & {
|
|
72
|
-
client?: typeof client;
|
|
73
|
-
};
|
|
74
|
-
}): Promise<Promise<CallToolResult>>;
|
|
75
|
-
/**
|
|
76
|
-
* @description List projects of an access group
|
|
77
|
-
* @summary List projects of an access group
|
|
78
|
-
* {@link /v1/access-groups/:idOrName/projects}
|
|
79
|
-
*/
|
|
80
|
-
export declare function listAccessGroupProjects({ pathParams: { idOrName }, queryParams, config }: {
|
|
81
|
-
pathParams: ListAccessGroupProjectsPathParams;
|
|
82
|
-
queryParams?: ListAccessGroupProjectsQueryParams | undefined;
|
|
83
|
-
config?: Partial<FetcherConfig> & {
|
|
84
|
-
client?: typeof client;
|
|
85
|
-
};
|
|
86
|
-
}): Promise<Promise<CallToolResult>>;
|
|
87
|
-
/**
|
|
88
|
-
* @description Allows creation of an access group project
|
|
89
|
-
* @summary Create an access group project
|
|
90
|
-
* {@link /v1/access-groups/:accessGroupIdOrName/projects}
|
|
91
|
-
*/
|
|
92
|
-
export declare function createAccessGroupProject({ pathParams: { accessGroupIdOrName }, queryParams, config }: {
|
|
93
|
-
pathParams: CreateAccessGroupProjectPathParams;
|
|
94
|
-
queryParams?: CreateAccessGroupProjectQueryParams | undefined;
|
|
95
|
-
config?: Partial<FetcherConfig> & {
|
|
96
|
-
client?: typeof client;
|
|
97
|
-
};
|
|
98
|
-
}): Promise<Promise<CallToolResult>>;
|
|
99
|
-
/**
|
|
100
|
-
* @description Allows reading an access group project
|
|
101
|
-
* @summary Reads an access group project
|
|
102
|
-
* {@link /v1/access-groups/:accessGroupIdOrName/projects/:projectId}
|
|
103
|
-
*/
|
|
104
|
-
export declare function readAccessGroupProject({ pathParams: { accessGroupIdOrName, projectId }, queryParams, config }: {
|
|
105
|
-
pathParams: ReadAccessGroupProjectPathParams;
|
|
106
|
-
queryParams?: ReadAccessGroupProjectQueryParams | undefined;
|
|
107
|
-
config?: Partial<FetcherConfig> & {
|
|
108
|
-
client?: typeof client;
|
|
109
|
-
};
|
|
110
|
-
}): Promise<Promise<CallToolResult>>;
|
|
111
|
-
/**
|
|
112
|
-
* @description Allows update of an access group project
|
|
113
|
-
* @summary Update an access group project
|
|
114
|
-
* {@link /v1/access-groups/:accessGroupIdOrName/projects/:projectId}
|
|
115
|
-
*/
|
|
116
|
-
export declare function updateAccessGroupProject({ pathParams: { accessGroupIdOrName, projectId }, queryParams, config }: {
|
|
117
|
-
pathParams: UpdateAccessGroupProjectPathParams;
|
|
118
|
-
queryParams?: UpdateAccessGroupProjectQueryParams | undefined;
|
|
119
|
-
config?: Partial<FetcherConfig> & {
|
|
120
|
-
client?: typeof client;
|
|
121
|
-
};
|
|
122
|
-
}): Promise<Promise<CallToolResult>>;
|
|
123
|
-
/**
|
|
124
|
-
* @description Allows deletion of an access group project
|
|
125
|
-
* @summary Delete an access group project
|
|
126
|
-
* {@link /v1/access-groups/:accessGroupIdOrName/projects/:projectId}
|
|
127
|
-
*/
|
|
128
|
-
export declare function deleteAccessGroupProject({ pathParams: { accessGroupIdOrName, projectId }, queryParams, config }: {
|
|
129
|
-
pathParams: DeleteAccessGroupProjectPathParams;
|
|
130
|
-
queryParams?: DeleteAccessGroupProjectQueryParams | undefined;
|
|
131
|
-
config?: Partial<FetcherConfig> & {
|
|
132
|
-
client?: typeof client;
|
|
133
|
-
};
|
|
134
|
-
}): Promise<Promise<CallToolResult>>;
|
|
135
|
-
/**
|
|
136
|
-
* @description Records an artifacts cache usage event. The body of this request is an array of cache usage events. The supported event types are `HIT` and `MISS`. The source is either `LOCAL` the cache event was on the users filesystem cache or `REMOTE` if the cache event is for a remote cache. When the event is a `HIT` the request also accepts a number `duration` which is the time taken to generate the artifact in the cache.
|
|
137
|
-
* @summary Record an artifacts cache usage event
|
|
138
|
-
* {@link /v8/artifacts/events}
|
|
139
|
-
*/
|
|
140
|
-
export declare function recordEvents({ queryParams, headers, config }: {
|
|
141
|
-
queryParams?: RecordEventsQueryParams | undefined;
|
|
142
|
-
headers?: RecordEventsHeaderParams | undefined;
|
|
143
|
-
config?: Partial<FetcherConfig> & {
|
|
144
|
-
client?: typeof client;
|
|
145
|
-
};
|
|
146
|
-
}): Promise<Promise<CallToolResult>>;
|
|
147
|
-
/**
|
|
148
|
-
* @description Check the status of Remote Caching for this principal. Returns a JSON-encoded status indicating if Remote Caching is enabled, disabled, or disabled due to usage limits.
|
|
149
|
-
* @summary Get status of Remote Caching for this principal
|
|
150
|
-
* {@link /v8/artifacts/status}
|
|
151
|
-
*/
|
|
152
|
-
export declare function status({ queryParams, config }: {
|
|
153
|
-
queryParams?: StatusQueryParams | undefined;
|
|
154
|
-
config?: Partial<FetcherConfig> & {
|
|
155
|
-
client?: typeof client;
|
|
156
|
-
};
|
|
157
|
-
}): Promise<Promise<CallToolResult>>;
|
|
158
|
-
/**
|
|
159
|
-
* @description Uploads a cache artifact identified by the `hash` specified on the path. The cache artifact can then be downloaded with the provided `hash`.
|
|
160
|
-
* @summary Upload a cache artifact
|
|
161
|
-
* {@link /v8/artifacts/:hash}
|
|
162
|
-
*/
|
|
163
|
-
export declare function uploadArtifact({ pathParams: { hash }, headers, queryParams, config }: {
|
|
164
|
-
pathParams: UploadArtifactPathParams;
|
|
165
|
-
headers: UploadArtifactHeaderParams;
|
|
166
|
-
queryParams?: UploadArtifactQueryParams | undefined;
|
|
167
|
-
config?: Partial<FetcherConfig> & {
|
|
168
|
-
client?: typeof client;
|
|
169
|
-
};
|
|
170
|
-
}): Promise<Promise<CallToolResult>>;
|
|
171
|
-
/**
|
|
172
|
-
* @description 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.
|
|
173
|
-
* @summary Download a cache artifact
|
|
174
|
-
* {@link /v8/artifacts/:hash}
|
|
175
|
-
*/
|
|
176
|
-
export declare function downloadArtifact({ pathParams: { hash }, queryParams, headers, config }: {
|
|
177
|
-
pathParams: DownloadArtifactPathParams;
|
|
178
|
-
queryParams?: DownloadArtifactQueryParams | undefined;
|
|
179
|
-
headers?: DownloadArtifactHeaderParams | undefined;
|
|
180
|
-
config?: Partial<FetcherConfig> & {
|
|
181
|
-
client?: typeof client;
|
|
182
|
-
};
|
|
183
|
-
}): Promise<Promise<CallToolResult>>;
|
|
184
|
-
/**
|
|
185
|
-
* @description Query information about an array of artifacts.
|
|
186
|
-
* @summary Query information about an artifact
|
|
187
|
-
* {@link /v8/artifacts}
|
|
188
|
-
*/
|
|
189
|
-
export declare function artifactQuery({ queryParams, config }: {
|
|
190
|
-
queryParams?: ArtifactQueryQueryParams | undefined;
|
|
191
|
-
config?: Partial<FetcherConfig> & {
|
|
192
|
-
client?: typeof client;
|
|
193
|
-
};
|
|
194
|
-
}): Promise<Promise<CallToolResult>>;
|
|
195
|
-
/**
|
|
196
|
-
* @description Creates a new check. This endpoint must be called with an OAuth2 or it will produce a 400 error.
|
|
197
|
-
* @summary Creates a new Check
|
|
198
|
-
* {@link /v1/deployments/:deploymentId/checks}
|
|
199
|
-
*/
|
|
200
|
-
export declare function createCheck({ pathParams: { deploymentId }, queryParams, config }: {
|
|
201
|
-
pathParams: CreateCheckPathParams;
|
|
202
|
-
queryParams?: CreateCheckQueryParams | undefined;
|
|
203
|
-
config?: Partial<FetcherConfig> & {
|
|
204
|
-
client?: typeof client;
|
|
205
|
-
};
|
|
206
|
-
}): Promise<Promise<CallToolResult>>;
|
|
207
|
-
/**
|
|
208
|
-
* @description List all of the checks created for a deployment.
|
|
209
|
-
* @summary Retrieve a list of all checks
|
|
210
|
-
* {@link /v1/deployments/:deploymentId/checks}
|
|
211
|
-
*/
|
|
212
|
-
export declare function getAllChecks({ pathParams: { deploymentId }, queryParams, config }: {
|
|
213
|
-
pathParams: GetAllChecksPathParams;
|
|
214
|
-
queryParams?: GetAllChecksQueryParams | undefined;
|
|
215
|
-
config?: Partial<FetcherConfig> & {
|
|
216
|
-
client?: typeof client;
|
|
217
|
-
};
|
|
218
|
-
}): Promise<Promise<CallToolResult>>;
|
|
219
|
-
/**
|
|
220
|
-
* @description Return a detailed response for a single check.
|
|
221
|
-
* @summary Get a single check
|
|
222
|
-
* {@link /v1/deployments/:deploymentId/checks/:checkId}
|
|
223
|
-
*/
|
|
224
|
-
export declare function getCheck({ pathParams: { deploymentId, checkId }, queryParams, config }: {
|
|
225
|
-
pathParams: GetCheckPathParams;
|
|
226
|
-
queryParams?: GetCheckQueryParams | undefined;
|
|
227
|
-
config?: Partial<FetcherConfig> & {
|
|
228
|
-
client?: typeof client;
|
|
229
|
-
};
|
|
230
|
-
}): Promise<Promise<CallToolResult>>;
|
|
231
|
-
/**
|
|
232
|
-
* @description Update an existing check. This endpoint must be called with an OAuth2 or it will produce a 400 error.
|
|
233
|
-
* @summary Update a check
|
|
234
|
-
* {@link /v1/deployments/:deploymentId/checks/:checkId}
|
|
235
|
-
*/
|
|
236
|
-
export declare function updateCheck({ pathParams: { deploymentId, checkId }, queryParams, config }: {
|
|
237
|
-
pathParams: UpdateCheckPathParams;
|
|
238
|
-
queryParams?: UpdateCheckQueryParams | undefined;
|
|
239
|
-
config?: Partial<FetcherConfig> & {
|
|
240
|
-
client?: typeof client;
|
|
241
|
-
};
|
|
242
|
-
}): Promise<Promise<CallToolResult>>;
|
|
243
|
-
/**
|
|
244
|
-
* @description Rerequest a selected check that has failed.
|
|
245
|
-
* @summary Rerequest a check
|
|
246
|
-
* {@link /v1/deployments/:deploymentId/checks/:checkId/rerequest}
|
|
247
|
-
*/
|
|
248
|
-
export declare function rerequestCheck({ pathParams: { deploymentId, checkId }, queryParams, config }: {
|
|
249
|
-
pathParams: RerequestCheckPathParams;
|
|
250
|
-
queryParams?: RerequestCheckQueryParams | undefined;
|
|
251
|
-
config?: Partial<FetcherConfig> & {
|
|
252
|
-
client?: typeof client;
|
|
253
|
-
};
|
|
254
|
-
}): Promise<Promise<CallToolResult>>;
|
|
255
|
-
/**
|
|
256
|
-
* {@link /data-cache/purge-all}
|
|
257
|
-
*/
|
|
258
|
-
export declare function purgeAllDataCache({ queryParams, config }: {
|
|
259
|
-
queryParams: PurgeAllDataCacheQueryParams;
|
|
260
|
-
config?: Partial<FetcherConfig> & {
|
|
261
|
-
client?: typeof client;
|
|
262
|
-
};
|
|
263
|
-
}): Promise<Promise<CallToolResult>>;
|
|
264
|
-
/**
|
|
265
|
-
* {@link /data-cache/billing-settings}
|
|
266
|
-
*/
|
|
267
|
-
export declare function updateDataCacheBillingSettings({ config }: {
|
|
268
|
-
config?: Partial<FetcherConfig> & {
|
|
269
|
-
client?: typeof client;
|
|
270
|
-
};
|
|
271
|
-
}): Promise<Promise<CallToolResult>>;
|
|
272
|
-
/**
|
|
273
|
-
* @description Update the data cache feature on a project.
|
|
274
|
-
* @summary Update the data cache feature
|
|
275
|
-
* {@link /v1/data-cache/projects/:projectId}
|
|
276
|
-
*/
|
|
277
|
-
export declare function updateProjectDataCache({ pathParams: { projectId }, queryParams, config }: {
|
|
278
|
-
pathParams: UpdateProjectDataCachePathParams;
|
|
279
|
-
queryParams?: UpdateProjectDataCacheQueryParams | undefined;
|
|
280
|
-
config?: Partial<FetcherConfig> & {
|
|
281
|
-
client?: typeof client;
|
|
282
|
-
};
|
|
283
|
-
}): Promise<Promise<CallToolResult>>;
|
|
284
|
-
/**
|
|
285
|
-
* @description 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.
|
|
286
|
-
* @summary Get deployment events
|
|
287
|
-
* {@link /v3/deployments/:idOrUrl/events}
|
|
288
|
-
*/
|
|
289
|
-
export declare function getDeploymentEvents({ pathParams: { idOrUrl }, queryParams, config }: {
|
|
290
|
-
pathParams: GetDeploymentEventsPathParams;
|
|
291
|
-
queryParams?: GetDeploymentEventsQueryParams | undefined;
|
|
292
|
-
config?: Partial<FetcherConfig> & {
|
|
293
|
-
client?: typeof client;
|
|
294
|
-
};
|
|
295
|
-
}): Promise<Promise<CallToolResult>>;
|
|
296
|
-
/**
|
|
297
|
-
* @description Updates the deployment integration action for the specified integration installation
|
|
298
|
-
* @summary Update deployment integration action
|
|
299
|
-
* {@link /v1/deployments/:deploymentId/integrations/:integrationConfigurationId/resources/:resourceId/actions/:action}
|
|
300
|
-
*/
|
|
301
|
-
export declare function updateIntegrationDeploymentAction({ pathParams: { deploymentId, integrationConfigurationId, resourceId, action }, config }: {
|
|
302
|
-
pathParams: UpdateIntegrationDeploymentActionPathParams;
|
|
303
|
-
config?: Partial<FetcherConfig> & {
|
|
304
|
-
client?: typeof client;
|
|
305
|
-
};
|
|
306
|
-
}): Promise<Promise<CallToolResult>>;
|
|
307
|
-
/**
|
|
308
|
-
* @description 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.
|
|
309
|
-
* @summary Get a deployment by ID or URL
|
|
310
|
-
* {@link /v13/deployments/:idOrUrl}
|
|
311
|
-
*/
|
|
312
|
-
export declare function getDeployment({ pathParams: { idOrUrl }, queryParams, config }: {
|
|
313
|
-
pathParams: GetDeploymentPathParams;
|
|
314
|
-
queryParams?: GetDeploymentQueryParams | undefined;
|
|
315
|
-
config?: Partial<FetcherConfig> & {
|
|
316
|
-
client?: typeof client;
|
|
317
|
-
};
|
|
318
|
-
}): Promise<Promise<CallToolResult>>;
|
|
319
|
-
/**
|
|
320
|
-
* @description Create a new deployment with all the required and intended data. If the deployment is not a git deployment, all files must be provided with the request, either referenced or inlined. Additionally, a deployment id can be specified to redeploy a previous deployment.
|
|
321
|
-
* @summary Create a new deployment
|
|
322
|
-
* {@link /v13/deployments}
|
|
323
|
-
*/
|
|
324
|
-
export declare function createDeployment({ queryParams, config }: {
|
|
325
|
-
queryParams?: CreateDeploymentQueryParams | undefined;
|
|
326
|
-
config?: Partial<FetcherConfig> & {
|
|
327
|
-
client?: typeof client;
|
|
328
|
-
};
|
|
329
|
-
}): Promise<Promise<CallToolResult>>;
|
|
330
|
-
/**
|
|
331
|
-
* @description This endpoint allows you to cancel a deployment which is currently building, by supplying its `id` in the URL.
|
|
332
|
-
* @summary Cancel a deployment
|
|
333
|
-
* {@link /v12/deployments/:id/cancel}
|
|
334
|
-
*/
|
|
335
|
-
export declare function cancelDeployment({ pathParams: { id }, queryParams, config }: {
|
|
336
|
-
pathParams: CancelDeploymentPathParams;
|
|
337
|
-
queryParams?: CancelDeploymentQueryParams | undefined;
|
|
338
|
-
config?: Partial<FetcherConfig> & {
|
|
339
|
-
client?: typeof client;
|
|
340
|
-
};
|
|
341
|
-
}): Promise<Promise<CallToolResult>>;
|
|
342
|
-
/**
|
|
343
|
-
* @description Allows to purchase the specified domain.
|
|
344
|
-
* @summary Purchase a domain
|
|
345
|
-
* {@link /v5/domains/buy}
|
|
346
|
-
*/
|
|
347
|
-
export declare function buyDomain({ queryParams, config }: {
|
|
348
|
-
queryParams?: BuyDomainQueryParams | undefined;
|
|
349
|
-
config?: Partial<FetcherConfig> & {
|
|
350
|
-
client?: typeof client;
|
|
351
|
-
};
|
|
352
|
-
}): Promise<Promise<CallToolResult>>;
|
|
353
|
-
/**
|
|
354
|
-
* @description Check the price to purchase a domain and how long a single purchase period is.
|
|
355
|
-
* @summary Check the price for a domain
|
|
356
|
-
* {@link /v4/domains/price}
|
|
357
|
-
*/
|
|
358
|
-
export declare function checkDomainPrice({ queryParams, config }: {
|
|
359
|
-
queryParams: CheckDomainPriceQueryParams;
|
|
360
|
-
config?: Partial<FetcherConfig> & {
|
|
361
|
-
client?: typeof client;
|
|
362
|
-
};
|
|
363
|
-
}): Promise<Promise<CallToolResult>>;
|
|
364
|
-
/**
|
|
365
|
-
* @description Check if a domain name is available for purchase.
|
|
366
|
-
* @summary Check a Domain Availability
|
|
367
|
-
* {@link /v4/domains/status}
|
|
368
|
-
*/
|
|
369
|
-
export declare function checkDomainStatus({ queryParams, config }: {
|
|
370
|
-
queryParams: CheckDomainStatusQueryParams;
|
|
371
|
-
config?: Partial<FetcherConfig> & {
|
|
372
|
-
client?: typeof client;
|
|
373
|
-
};
|
|
374
|
-
}): Promise<Promise<CallToolResult>>;
|
|
375
|
-
/**
|
|
376
|
-
* @description 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.
|
|
377
|
-
* @summary List existing DNS records
|
|
378
|
-
* {@link /v4/domains/:domain/records}
|
|
379
|
-
*/
|
|
380
|
-
export declare function getRecords({ pathParams: { domain }, queryParams, config }: {
|
|
381
|
-
pathParams: GetRecordsPathParams;
|
|
382
|
-
queryParams?: GetRecordsQueryParams | undefined;
|
|
383
|
-
config?: Partial<FetcherConfig> & {
|
|
384
|
-
client?: typeof client;
|
|
385
|
-
};
|
|
386
|
-
}): Promise<Promise<CallToolResult>>;
|
|
387
|
-
/**
|
|
388
|
-
* @description Creates a DNS record for a domain.
|
|
389
|
-
* @summary Create a DNS record
|
|
390
|
-
* {@link /v2/domains/:domain/records}
|
|
391
|
-
*/
|
|
392
|
-
export declare function createRecord({ pathParams: { domain }, queryParams, config }: {
|
|
393
|
-
pathParams: CreateRecordPathParams;
|
|
394
|
-
queryParams?: CreateRecordQueryParams | undefined;
|
|
395
|
-
config?: Partial<FetcherConfig> & {
|
|
396
|
-
client?: typeof client;
|
|
397
|
-
};
|
|
398
|
-
}): Promise<Promise<CallToolResult>>;
|
|
399
|
-
/**
|
|
400
|
-
* @description Updates an existing DNS record for a domain name.
|
|
401
|
-
* @summary Update an existing DNS record
|
|
402
|
-
* {@link /v1/domains/records/:recordId}
|
|
403
|
-
*/
|
|
404
|
-
export declare function updateRecord({ pathParams: { recordId }, queryParams, config }: {
|
|
405
|
-
pathParams: UpdateRecordPathParams;
|
|
406
|
-
queryParams?: UpdateRecordQueryParams | undefined;
|
|
407
|
-
config?: Partial<FetcherConfig> & {
|
|
408
|
-
client?: typeof client;
|
|
409
|
-
};
|
|
410
|
-
}): Promise<Promise<CallToolResult>>;
|
|
411
|
-
/**
|
|
412
|
-
* @description Removes an existing DNS record from a domain name.
|
|
413
|
-
* @summary Delete a DNS record
|
|
414
|
-
* {@link /v2/domains/:domain/records/:recordId}
|
|
415
|
-
*/
|
|
416
|
-
export declare function removeRecord({ pathParams: { domain, recordId }, queryParams, config }: {
|
|
417
|
-
pathParams: RemoveRecordPathParams;
|
|
418
|
-
queryParams?: RemoveRecordQueryParams | undefined;
|
|
419
|
-
config?: Partial<FetcherConfig> & {
|
|
420
|
-
client?: typeof client;
|
|
421
|
-
};
|
|
422
|
-
}): Promise<Promise<CallToolResult>>;
|
|
423
|
-
/**
|
|
424
|
-
* @description Fetch domain transfer availability or transfer status if a transfer is in progress.
|
|
425
|
-
* @summary Get domain transfer info.
|
|
426
|
-
* {@link /v1/domains/:domain/registry}
|
|
427
|
-
*/
|
|
428
|
-
export declare function getDomainTransfer({ pathParams: { domain }, queryParams, config }: {
|
|
429
|
-
pathParams: GetDomainTransferPathParams;
|
|
430
|
-
queryParams?: GetDomainTransferQueryParams | undefined;
|
|
431
|
-
config?: Partial<FetcherConfig> & {
|
|
432
|
-
client?: typeof client;
|
|
433
|
-
};
|
|
434
|
-
}): Promise<Promise<CallToolResult>>;
|
|
435
|
-
/**
|
|
436
|
-
* @description Get a Domain's configuration.
|
|
437
|
-
* @summary Get a Domain's configuration
|
|
438
|
-
* {@link /v6/domains/:domain/config}
|
|
439
|
-
*/
|
|
440
|
-
export declare function getDomainConfig({ pathParams: { domain }, queryParams, config }: {
|
|
441
|
-
pathParams: GetDomainConfigPathParams;
|
|
442
|
-
queryParams?: GetDomainConfigQueryParams | undefined;
|
|
443
|
-
config?: Partial<FetcherConfig> & {
|
|
444
|
-
client?: typeof client;
|
|
445
|
-
};
|
|
446
|
-
}): Promise<Promise<CallToolResult>>;
|
|
447
|
-
/**
|
|
448
|
-
* @description Get information for a single domain in an account or team.
|
|
449
|
-
* @summary Get Information for a Single Domain
|
|
450
|
-
* {@link /v5/domains/:domain}
|
|
451
|
-
*/
|
|
452
|
-
export declare function getDomain({ pathParams: { domain }, queryParams, config }: {
|
|
453
|
-
pathParams: GetDomainPathParams;
|
|
454
|
-
queryParams?: GetDomainQueryParams | undefined;
|
|
455
|
-
config?: Partial<FetcherConfig> & {
|
|
456
|
-
client?: typeof client;
|
|
457
|
-
};
|
|
458
|
-
}): Promise<Promise<CallToolResult>>;
|
|
459
|
-
/**
|
|
460
|
-
* @description Retrieves a list of domains registered for the authenticated user or team. By default it returns the last 20 domains if no limit is provided.
|
|
461
|
-
* @summary List all the domains
|
|
462
|
-
* {@link /v5/domains}
|
|
463
|
-
*/
|
|
464
|
-
export declare function getDomains({ queryParams, config }: {
|
|
465
|
-
queryParams?: GetDomainsQueryParams | undefined;
|
|
466
|
-
config?: Partial<FetcherConfig> & {
|
|
467
|
-
client?: typeof client;
|
|
468
|
-
};
|
|
469
|
-
}): Promise<Promise<CallToolResult>>;
|
|
470
|
-
/**
|
|
471
|
-
* @description This endpoint is used for adding a new apex domain name with Vercel for the authenticating user. Can also be used for initiating a domain transfer request from an external Registrar to Vercel.
|
|
472
|
-
* @summary Register or transfer-in a new Domain
|
|
473
|
-
* {@link /v7/domains}
|
|
474
|
-
*/
|
|
475
|
-
export declare function createOrTransferDomain({ queryParams, config }: {
|
|
476
|
-
queryParams?: CreateOrTransferDomainQueryParams | undefined;
|
|
477
|
-
config?: Partial<FetcherConfig> & {
|
|
478
|
-
client?: typeof client;
|
|
479
|
-
};
|
|
480
|
-
}): Promise<Promise<CallToolResult>>;
|
|
481
|
-
/**
|
|
482
|
-
* @description Update or move apex domain.
|
|
483
|
-
* @summary Update or move apex domain
|
|
484
|
-
* {@link /v3/domains/:domain}
|
|
485
|
-
*/
|
|
486
|
-
export declare function patchDomain({ pathParams: { domain }, queryParams, config }: {
|
|
487
|
-
pathParams: PatchDomainPathParams;
|
|
488
|
-
queryParams?: PatchDomainQueryParams | undefined;
|
|
489
|
-
config?: Partial<FetcherConfig> & {
|
|
490
|
-
client?: typeof client;
|
|
491
|
-
};
|
|
492
|
-
}): Promise<Promise<CallToolResult>>;
|
|
493
|
-
/**
|
|
494
|
-
* @description Delete a previously registered domain name from Vercel. Deleting a domain will automatically remove any associated aliases.
|
|
495
|
-
* @summary Remove a domain by name
|
|
496
|
-
* {@link /v6/domains/:domain}
|
|
497
|
-
*/
|
|
498
|
-
export declare function deleteDomain({ pathParams: { domain }, queryParams, config }: {
|
|
499
|
-
pathParams: DeleteDomainPathParams;
|
|
500
|
-
queryParams?: DeleteDomainQueryParams | undefined;
|
|
501
|
-
config?: Partial<FetcherConfig> & {
|
|
502
|
-
client?: typeof client;
|
|
503
|
-
};
|
|
504
|
-
}): Promise<Promise<CallToolResult>>;
|
|
505
|
-
/**
|
|
506
|
-
* @description Returns all Edge Configs.
|
|
507
|
-
* @summary Get Edge Configs
|
|
508
|
-
* {@link /v1/edge-config}
|
|
509
|
-
*/
|
|
510
|
-
export declare function getEdgeConfigs({ queryParams, config }: {
|
|
511
|
-
queryParams?: GetEdgeConfigsQueryParams | undefined;
|
|
512
|
-
config?: Partial<FetcherConfig> & {
|
|
513
|
-
client?: typeof client;
|
|
514
|
-
};
|
|
515
|
-
}): Promise<Promise<CallToolResult>>;
|
|
516
|
-
/**
|
|
517
|
-
* @description Creates an Edge Config.
|
|
518
|
-
* @summary Create an Edge Config
|
|
519
|
-
* {@link /v1/edge-config}
|
|
520
|
-
*/
|
|
521
|
-
export declare function createEdgeConfig({ queryParams, config }: {
|
|
522
|
-
queryParams?: CreateEdgeConfigQueryParams | undefined;
|
|
523
|
-
config?: Partial<FetcherConfig> & {
|
|
524
|
-
client?: typeof client;
|
|
525
|
-
};
|
|
526
|
-
}): Promise<Promise<CallToolResult>>;
|
|
527
|
-
/**
|
|
528
|
-
* @description Returns an Edge Config.
|
|
529
|
-
* @summary Get an Edge Config
|
|
530
|
-
* {@link /v1/edge-config/:edgeConfigId}
|
|
531
|
-
*/
|
|
532
|
-
export declare function getEdgeConfig({ pathParams: { edgeConfigId }, queryParams, config }: {
|
|
533
|
-
pathParams: GetEdgeConfigPathParams;
|
|
534
|
-
queryParams?: GetEdgeConfigQueryParams | undefined;
|
|
535
|
-
config?: Partial<FetcherConfig> & {
|
|
536
|
-
client?: typeof client;
|
|
537
|
-
};
|
|
538
|
-
}): Promise<Promise<CallToolResult>>;
|
|
539
|
-
/**
|
|
540
|
-
* @description Updates an Edge Config.
|
|
541
|
-
* @summary Update an Edge Config
|
|
542
|
-
* {@link /v1/edge-config/:edgeConfigId}
|
|
543
|
-
*/
|
|
544
|
-
export declare function updateEdgeConfig({ pathParams: { edgeConfigId }, queryParams, config }: {
|
|
545
|
-
pathParams: UpdateEdgeConfigPathParams;
|
|
546
|
-
queryParams?: UpdateEdgeConfigQueryParams | undefined;
|
|
547
|
-
config?: Partial<FetcherConfig> & {
|
|
548
|
-
client?: typeof client;
|
|
549
|
-
};
|
|
550
|
-
}): Promise<Promise<CallToolResult>>;
|
|
551
|
-
/**
|
|
552
|
-
* @description Delete an Edge Config by id.
|
|
553
|
-
* @summary Delete an Edge Config
|
|
554
|
-
* {@link /v1/edge-config/:edgeConfigId}
|
|
555
|
-
*/
|
|
556
|
-
export declare function deleteEdgeConfig({ pathParams: { edgeConfigId }, queryParams, config }: {
|
|
557
|
-
pathParams: DeleteEdgeConfigPathParams;
|
|
558
|
-
queryParams?: DeleteEdgeConfigQueryParams | undefined;
|
|
559
|
-
config?: Partial<FetcherConfig> & {
|
|
560
|
-
client?: typeof client;
|
|
561
|
-
};
|
|
562
|
-
}): Promise<Promise<CallToolResult>>;
|
|
563
|
-
/**
|
|
564
|
-
* @description Returns all items of an Edge Config.
|
|
565
|
-
* @summary Get Edge Config items
|
|
566
|
-
* {@link /v1/edge-config/:edgeConfigId/items}
|
|
567
|
-
*/
|
|
568
|
-
export declare function getEdgeConfigItems({ pathParams: { edgeConfigId }, queryParams, config }: {
|
|
569
|
-
pathParams: GetEdgeConfigItemsPathParams;
|
|
570
|
-
queryParams?: GetEdgeConfigItemsQueryParams | undefined;
|
|
571
|
-
config?: Partial<FetcherConfig> & {
|
|
572
|
-
client?: typeof client;
|
|
573
|
-
};
|
|
574
|
-
}): Promise<Promise<CallToolResult>>;
|
|
575
|
-
/**
|
|
576
|
-
* @description Update multiple Edge Config Items in batch.
|
|
577
|
-
* @summary Update Edge Config items in batch
|
|
578
|
-
* {@link /v1/edge-config/:edgeConfigId/items}
|
|
579
|
-
*/
|
|
580
|
-
export declare function patchEdgeConfigItems({ pathParams: { edgeConfigId }, queryParams, config }: {
|
|
581
|
-
pathParams: PatchEdgeConfigItemsPathParams;
|
|
582
|
-
queryParams?: PatchEdgeConfigItemsQueryParams | undefined;
|
|
583
|
-
config?: Partial<FetcherConfig> & {
|
|
584
|
-
client?: typeof client;
|
|
585
|
-
};
|
|
586
|
-
}): Promise<Promise<CallToolResult>>;
|
|
587
|
-
/**
|
|
588
|
-
* @description Returns the schema of an Edge Config.
|
|
589
|
-
* @summary Get Edge Config schema
|
|
590
|
-
* {@link /v1/edge-config/:edgeConfigId/schema}
|
|
591
|
-
*/
|
|
592
|
-
export declare function getEdgeConfigSchema({ pathParams: { edgeConfigId }, queryParams, config }: {
|
|
593
|
-
pathParams: GetEdgeConfigSchemaPathParams;
|
|
594
|
-
queryParams?: GetEdgeConfigSchemaQueryParams | undefined;
|
|
595
|
-
config?: Partial<FetcherConfig> & {
|
|
596
|
-
client?: typeof client;
|
|
597
|
-
};
|
|
598
|
-
}): Promise<Promise<CallToolResult>>;
|
|
599
|
-
/**
|
|
600
|
-
* @description Update an Edge Config's schema.
|
|
601
|
-
* @summary Update Edge Config schema
|
|
602
|
-
* {@link /v1/edge-config/:edgeConfigId/schema}
|
|
603
|
-
*/
|
|
604
|
-
export declare function patchEdgeConfigSchema({ pathParams: { edgeConfigId }, queryParams, config }: {
|
|
605
|
-
pathParams: PatchEdgeConfigSchemaPathParams;
|
|
606
|
-
queryParams?: PatchEdgeConfigSchemaQueryParams | undefined;
|
|
607
|
-
config?: Partial<FetcherConfig> & {
|
|
608
|
-
client?: typeof client;
|
|
609
|
-
};
|
|
610
|
-
}): Promise<Promise<CallToolResult>>;
|
|
611
|
-
/**
|
|
612
|
-
* @description Deletes the schema of existing Edge Config.
|
|
613
|
-
* @summary Delete an Edge Config's schema
|
|
614
|
-
* {@link /v1/edge-config/:edgeConfigId/schema}
|
|
615
|
-
*/
|
|
616
|
-
export declare function deleteEdgeConfigSchema({ pathParams: { edgeConfigId }, queryParams, config }: {
|
|
617
|
-
pathParams: DeleteEdgeConfigSchemaPathParams;
|
|
618
|
-
queryParams?: DeleteEdgeConfigSchemaQueryParams | undefined;
|
|
619
|
-
config?: Partial<FetcherConfig> & {
|
|
620
|
-
client?: typeof client;
|
|
621
|
-
};
|
|
622
|
-
}): Promise<Promise<CallToolResult>>;
|
|
623
|
-
/**
|
|
624
|
-
* @description Returns a specific Edge Config Item.
|
|
625
|
-
* @summary Get an Edge Config item
|
|
626
|
-
* {@link /v1/edge-config/:edgeConfigId/item/:edgeConfigItemKey}
|
|
627
|
-
*/
|
|
628
|
-
export declare function getEdgeConfigItem({ pathParams: { edgeConfigId, edgeConfigItemKey }, queryParams, config }: {
|
|
629
|
-
pathParams: GetEdgeConfigItemPathParams;
|
|
630
|
-
queryParams?: GetEdgeConfigItemQueryParams | undefined;
|
|
631
|
-
config?: Partial<FetcherConfig> & {
|
|
632
|
-
client?: typeof client;
|
|
633
|
-
};
|
|
634
|
-
}): Promise<Promise<CallToolResult>>;
|
|
635
|
-
/**
|
|
636
|
-
* @description Returns all tokens of an Edge Config.
|
|
637
|
-
* @summary Get all tokens of an Edge Config
|
|
638
|
-
* {@link /v1/edge-config/:edgeConfigId/tokens}
|
|
639
|
-
*/
|
|
640
|
-
export declare function getEdgeConfigTokens({ pathParams: { edgeConfigId }, queryParams, config }: {
|
|
641
|
-
pathParams: GetEdgeConfigTokensPathParams;
|
|
642
|
-
queryParams?: GetEdgeConfigTokensQueryParams | undefined;
|
|
643
|
-
config?: Partial<FetcherConfig> & {
|
|
644
|
-
client?: typeof client;
|
|
645
|
-
};
|
|
646
|
-
}): Promise<Promise<CallToolResult>>;
|
|
647
|
-
/**
|
|
648
|
-
* @description Deletes one or more tokens of an existing Edge Config.
|
|
649
|
-
* @summary Delete one or more Edge Config tokens
|
|
650
|
-
* {@link /v1/edge-config/:edgeConfigId/tokens}
|
|
651
|
-
*/
|
|
652
|
-
export declare function deleteEdgeConfigTokens({ pathParams: { edgeConfigId }, queryParams, config }: {
|
|
653
|
-
pathParams: DeleteEdgeConfigTokensPathParams;
|
|
654
|
-
queryParams?: DeleteEdgeConfigTokensQueryParams | undefined;
|
|
655
|
-
config?: Partial<FetcherConfig> & {
|
|
656
|
-
client?: typeof client;
|
|
657
|
-
};
|
|
658
|
-
}): Promise<Promise<CallToolResult>>;
|
|
659
|
-
/**
|
|
660
|
-
* @description Return meta data about an Edge Config token.
|
|
661
|
-
* @summary Get Edge Config token meta data
|
|
662
|
-
* {@link /v1/edge-config/:edgeConfigId/token/:token}
|
|
663
|
-
*/
|
|
664
|
-
export declare function getEdgeConfigToken({ pathParams: { edgeConfigId, token }, queryParams, config }: {
|
|
665
|
-
pathParams: GetEdgeConfigTokenPathParams;
|
|
666
|
-
queryParams?: GetEdgeConfigTokenQueryParams | undefined;
|
|
667
|
-
config?: Partial<FetcherConfig> & {
|
|
668
|
-
client?: typeof client;
|
|
669
|
-
};
|
|
670
|
-
}): Promise<Promise<CallToolResult>>;
|
|
671
|
-
/**
|
|
672
|
-
* @description Adds a token to an existing Edge Config.
|
|
673
|
-
* @summary Create an Edge Config token
|
|
674
|
-
* {@link /v1/edge-config/:edgeConfigId/token}
|
|
675
|
-
*/
|
|
676
|
-
export declare function createEdgeConfigToken({ pathParams: { edgeConfigId }, queryParams, config }: {
|
|
677
|
-
pathParams: CreateEdgeConfigTokenPathParams;
|
|
678
|
-
queryParams?: CreateEdgeConfigTokenQueryParams | undefined;
|
|
679
|
-
config?: Partial<FetcherConfig> & {
|
|
680
|
-
client?: typeof client;
|
|
681
|
-
};
|
|
682
|
-
}): Promise<Promise<CallToolResult>>;
|
|
683
|
-
/**
|
|
684
|
-
* @description Retrieves a specific version of an Edge Config from backup storage.
|
|
685
|
-
* @summary Get Edge Config backup
|
|
686
|
-
* {@link /v1/edge-config/:edgeConfigId/backups/:edgeConfigBackupVersionId}
|
|
687
|
-
*/
|
|
688
|
-
export declare function getEdgeConfigBackup({ pathParams: { edgeConfigId, edgeConfigBackupVersionId }, queryParams, config }: {
|
|
689
|
-
pathParams: GetEdgeConfigBackupPathParams;
|
|
690
|
-
queryParams?: GetEdgeConfigBackupQueryParams | undefined;
|
|
691
|
-
config?: Partial<FetcherConfig> & {
|
|
692
|
-
client?: typeof client;
|
|
693
|
-
};
|
|
694
|
-
}): Promise<Promise<CallToolResult>>;
|
|
695
|
-
/**
|
|
696
|
-
* @description Returns backups of an Edge Config.
|
|
697
|
-
* @summary Get Edge Config backups
|
|
698
|
-
* {@link /v1/edge-config/:edgeConfigId/backups}
|
|
699
|
-
*/
|
|
700
|
-
export declare function getEdgeConfigBackups({ pathParams: { edgeConfigId }, queryParams, config }: {
|
|
701
|
-
pathParams: GetEdgeConfigBackupsPathParams;
|
|
702
|
-
queryParams?: GetEdgeConfigBackupsQueryParams | undefined;
|
|
703
|
-
config?: Partial<FetcherConfig> & {
|
|
704
|
-
client?: typeof client;
|
|
705
|
-
};
|
|
706
|
-
}): Promise<Promise<CallToolResult>>;
|
|
707
|
-
/**
|
|
708
|
-
* @description Retrieves a list of "events" generated by the User on Vercel. Events are generated when the User performs a particular action, such as logging in, creating a deployment, and joining a Team (just to name a few). When the `teamId` parameter is supplied, then the events that are returned will be in relation to the Team that was specified.
|
|
709
|
-
* @summary List User Events
|
|
710
|
-
* {@link /v3/events}
|
|
711
|
-
*/
|
|
712
|
-
export declare function listUserEvents({ queryParams, config }: {
|
|
713
|
-
queryParams?: ListUserEventsQueryParams | undefined;
|
|
714
|
-
config?: Partial<FetcherConfig> & {
|
|
715
|
-
client?: typeof client;
|
|
716
|
-
};
|
|
717
|
-
}): Promise<Promise<CallToolResult>>;
|
|
718
|
-
/**
|
|
719
|
-
* @description Fetches the best account or user’s contact info
|
|
720
|
-
* @summary Get Account Information
|
|
721
|
-
* {@link /v1/installations/:integrationConfigurationId/account}
|
|
722
|
-
*/
|
|
723
|
-
export declare function getAccountInfo({ pathParams: { integrationConfigurationId }, config }: {
|
|
724
|
-
pathParams: GetAccountInfoPathParams;
|
|
725
|
-
config?: Partial<FetcherConfig> & {
|
|
726
|
-
client?: typeof client;
|
|
727
|
-
};
|
|
728
|
-
}): Promise<Promise<CallToolResult>>;
|
|
729
|
-
/**
|
|
730
|
-
* @description Returns the member role and other information for a given member ID ("user_id" claim in the SSO OIDC token).
|
|
731
|
-
* @summary Get Member Information
|
|
732
|
-
* {@link /v1/installations/:integrationConfigurationId/member/:memberId}
|
|
733
|
-
*/
|
|
734
|
-
export declare function getMember({ pathParams: { integrationConfigurationId, memberId }, config }: {
|
|
735
|
-
pathParams: GetMemberPathParams;
|
|
736
|
-
config?: Partial<FetcherConfig> & {
|
|
737
|
-
client?: typeof client;
|
|
738
|
-
};
|
|
739
|
-
}): Promise<Promise<CallToolResult>>;
|
|
740
|
-
/**
|
|
741
|
-
* @description 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.<br/> <br/> `resource.updated` event should be dispatched when any state of a resource linked to Vercel is modified by the partner.<br/> `installation.updated` event should be dispatched when an installation's billing plan is changed via the provider instead of Vercel.<br/> <br/> Resource update use cases: <br/> <br/> - 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.<br/> - 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.<br/>
|
|
742
|
-
* @summary Create Event
|
|
743
|
-
* {@link /v1/installations/:integrationConfigurationId/events}
|
|
744
|
-
*/
|
|
745
|
-
export declare function createEvent({ pathParams: { integrationConfigurationId }, config }: {
|
|
746
|
-
pathParams: CreateEventPathParams;
|
|
747
|
-
config?: Partial<FetcherConfig> & {
|
|
748
|
-
client?: typeof client;
|
|
749
|
-
};
|
|
750
|
-
}): Promise<Promise<CallToolResult>>;
|
|
751
|
-
/**
|
|
752
|
-
* @description Get all resources for a given installation ID.
|
|
753
|
-
* @summary Get Integration Resources
|
|
754
|
-
* {@link /v1/installations/:integrationConfigurationId/resources}
|
|
755
|
-
*/
|
|
756
|
-
export declare function getIntegrationResources({ pathParams: { integrationConfigurationId }, config }: {
|
|
757
|
-
pathParams: GetIntegrationResourcesPathParams;
|
|
758
|
-
config?: Partial<FetcherConfig> & {
|
|
759
|
-
client?: typeof client;
|
|
760
|
-
};
|
|
761
|
-
}): Promise<Promise<CallToolResult>>;
|
|
762
|
-
/**
|
|
763
|
-
* @description Get a resource by its partner ID.
|
|
764
|
-
* @summary Get Integration Resource
|
|
765
|
-
* {@link /v1/installations/:integrationConfigurationId/resources/:resourceId}
|
|
766
|
-
*/
|
|
767
|
-
export declare function getIntegrationResource({ pathParams: { integrationConfigurationId, resourceId }, config }: {
|
|
768
|
-
pathParams: GetIntegrationResourcePathParams;
|
|
769
|
-
config?: Partial<FetcherConfig> & {
|
|
770
|
-
client?: typeof client;
|
|
771
|
-
};
|
|
772
|
-
}): Promise<Promise<CallToolResult>>;
|
|
773
|
-
/**
|
|
774
|
-
* @description Delete a resource owned by the selected installation ID.
|
|
775
|
-
* @summary Delete Integration Resource
|
|
776
|
-
* {@link /v1/installations/:integrationConfigurationId/resources/:resourceId}
|
|
777
|
-
*/
|
|
778
|
-
export declare function deleteIntegrationResource({ pathParams: { integrationConfigurationId, resourceId }, config }: {
|
|
779
|
-
pathParams: DeleteIntegrationResourcePathParams;
|
|
780
|
-
config?: Partial<FetcherConfig> & {
|
|
781
|
-
client?: typeof client;
|
|
782
|
-
};
|
|
783
|
-
}): Promise<Promise<CallToolResult>>;
|
|
784
|
-
/**
|
|
785
|
-
* @description 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.
|
|
786
|
-
* @summary Import Resource
|
|
787
|
-
* {@link /v1/installations/:integrationConfigurationId/resources/:resourceId}
|
|
788
|
-
*/
|
|
789
|
-
export declare function importResource({ pathParams: { integrationConfigurationId, resourceId }, config }: {
|
|
790
|
-
pathParams: ImportResourcePathParams;
|
|
791
|
-
config?: Partial<FetcherConfig> & {
|
|
792
|
-
client?: typeof client;
|
|
793
|
-
};
|
|
794
|
-
}): Promise<Promise<CallToolResult>>;
|
|
795
|
-
/**
|
|
796
|
-
* @description Sends the billing and usage data. The partner should do this at least once a day and ideally once per hour. <br/> Use the `credentials.access_token` we provided in the [Upsert Installation](#upsert-installation) body to authorize this request.
|
|
797
|
-
* @summary Submit Billing Data
|
|
798
|
-
* {@link /v1/installations/:integrationConfigurationId/billing}
|
|
799
|
-
*/
|
|
800
|
-
export declare function submitBillingData({ pathParams: { integrationConfigurationId }, config }: {
|
|
801
|
-
pathParams: SubmitBillingDataPathParams;
|
|
802
|
-
config?: Partial<FetcherConfig> & {
|
|
803
|
-
client?: typeof client;
|
|
804
|
-
};
|
|
805
|
-
}): Promise<Promise<CallToolResult>>;
|
|
806
|
-
/**
|
|
807
|
-
* @description 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.<br/> <br/> Use the `credentials.access_token` we provided in the [Upsert Installation](#upsert-installation) body to authorize this request. <br/> There are several limitations to the invoice submission:<br/> <br/> 1. A resource can only be billed once per the billing period and the billing plan.<br/> 2. The billing plan used to bill the resource must have been active for this resource during the billing period.<br/> 3. The billing plan used must be a subscription plan.<br/> 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.<br/>
|
|
808
|
-
* @summary Submit Invoice
|
|
809
|
-
* {@link /v1/installations/:integrationConfigurationId/billing/invoices}
|
|
810
|
-
*/
|
|
811
|
-
export declare function submitInvoice({ pathParams: { integrationConfigurationId }, config }: {
|
|
812
|
-
pathParams: SubmitInvoicePathParams;
|
|
813
|
-
config?: Partial<FetcherConfig> & {
|
|
814
|
-
client?: typeof client;
|
|
815
|
-
};
|
|
816
|
-
}): Promise<Promise<CallToolResult>>;
|
|
817
|
-
/**
|
|
818
|
-
* @description Get Invoice details and status for a given invoice ID.<br/> <br/> See Billing Events with Webhooks documentation on how to receive invoice events. This endpoint is used to retrieve the invoice details.
|
|
819
|
-
* @summary Get Invoice
|
|
820
|
-
* {@link /v1/installations/:integrationConfigurationId/billing/invoices/:invoiceId}
|
|
821
|
-
*/
|
|
822
|
-
export declare function getInvoice({ pathParams: { integrationConfigurationId, invoiceId }, config }: {
|
|
823
|
-
pathParams: GetInvoicePathParams;
|
|
824
|
-
config?: Partial<FetcherConfig> & {
|
|
825
|
-
client?: typeof client;
|
|
826
|
-
};
|
|
827
|
-
}): Promise<Promise<CallToolResult>>;
|
|
828
|
-
/**
|
|
829
|
-
* @description 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).
|
|
830
|
-
* @summary Invoice Actions
|
|
831
|
-
* {@link /v1/installations/:integrationConfigurationId/billing/invoices/:invoiceId/actions}
|
|
832
|
-
*/
|
|
833
|
-
export declare function updateInvoice({ pathParams: { integrationConfigurationId, invoiceId }, config }: {
|
|
834
|
-
pathParams: UpdateInvoicePathParams;
|
|
835
|
-
config?: Partial<FetcherConfig> & {
|
|
836
|
-
client?: typeof client;
|
|
837
|
-
};
|
|
838
|
-
}): Promise<Promise<CallToolResult>>;
|
|
839
|
-
/**
|
|
840
|
-
* @description Sends the prepayment balances. The partner should do this at least once a day and ideally once per hour. <br/> Use the `credentials.access_token` we provided in the [Upsert Installation](#upsert-installation) body to authorize this request.
|
|
841
|
-
* @summary Submit Prepayment Balances
|
|
842
|
-
* {@link /v1/installations/:integrationConfigurationId/billing/balance}
|
|
843
|
-
*/
|
|
844
|
-
export declare function submitPrepaymentBalances({ pathParams: { integrationConfigurationId }, config }: {
|
|
845
|
-
pathParams: SubmitPrepaymentBalancesPathParams;
|
|
846
|
-
config?: Partial<FetcherConfig> & {
|
|
847
|
-
client?: typeof client;
|
|
848
|
-
};
|
|
849
|
-
}): Promise<Promise<CallToolResult>>;
|
|
850
|
-
/**
|
|
851
|
-
* @description This endpoint is deprecated and replaced with the endpoint [Update Resource Secrets](#update-resource-secrets). <br/> 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.<br/> <br/> Use cases for this endpoint:<br/> <br/> - 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.<br/>
|
|
852
|
-
* @summary Update Resource Secrets (Deprecated)
|
|
853
|
-
* {@link /v1/installations/:integrationConfigurationId/products/:integrationProductIdOrSlug/resources/:resourceId/secrets}
|
|
854
|
-
*/
|
|
855
|
-
export declare function updateResourceSecrets({ pathParams: { integrationConfigurationId, integrationProductIdOrSlug, resourceId }, config }: {
|
|
856
|
-
pathParams: UpdateResourceSecretsPathParams;
|
|
857
|
-
config?: Partial<FetcherConfig> & {
|
|
858
|
-
client?: typeof client;
|
|
859
|
-
};
|
|
860
|
-
}): Promise<Promise<CallToolResult>>;
|
|
861
|
-
/**
|
|
862
|
-
* @description 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.<br/> <br/> Use cases for this endpoint:<br/> <br/> - 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.<br/>
|
|
863
|
-
* @summary Update Resource Secrets
|
|
864
|
-
* {@link /v1/installations/:integrationConfigurationId/resources/:resourceId/secrets}
|
|
865
|
-
*/
|
|
866
|
-
export declare function updateResourceSecretsById({ pathParams: { integrationConfigurationId, resourceId }, config }: {
|
|
867
|
-
pathParams: UpdateResourceSecretsByIdPathParams;
|
|
868
|
-
config?: Partial<FetcherConfig> & {
|
|
869
|
-
client?: typeof client;
|
|
870
|
-
};
|
|
871
|
-
}): Promise<Promise<CallToolResult>>;
|
|
872
|
-
/**
|
|
873
|
-
* @description Allows to retrieve all configurations for an authenticated integration. When the `project` view is used, configurations generated for the authorization flow will be filtered out of the results.
|
|
874
|
-
* @summary Get configurations for the authenticated user or team
|
|
875
|
-
* {@link /v1/integrations/configurations}
|
|
876
|
-
*/
|
|
877
|
-
export declare function getConfigurations({ queryParams, config }: {
|
|
878
|
-
queryParams: GetConfigurationsQueryParams;
|
|
879
|
-
config?: Partial<FetcherConfig> & {
|
|
880
|
-
client?: typeof client;
|
|
881
|
-
};
|
|
882
|
-
}): Promise<Promise<CallToolResult>>;
|
|
883
|
-
/**
|
|
884
|
-
* @description 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.
|
|
885
|
-
* @summary Retrieve an integration configuration
|
|
886
|
-
* {@link /v1/integrations/configuration/:id}
|
|
887
|
-
*/
|
|
888
|
-
export declare function getConfiguration({ pathParams: { id }, queryParams, config }: {
|
|
889
|
-
pathParams: GetConfigurationPathParams;
|
|
890
|
-
queryParams?: GetConfigurationQueryParams | undefined;
|
|
891
|
-
config?: Partial<FetcherConfig> & {
|
|
892
|
-
client?: typeof client;
|
|
893
|
-
};
|
|
894
|
-
}): Promise<Promise<CallToolResult>>;
|
|
895
|
-
/**
|
|
896
|
-
* @description 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.
|
|
897
|
-
* @summary Delete an integration configuration
|
|
898
|
-
* {@link /v1/integrations/configuration/:id}
|
|
899
|
-
*/
|
|
900
|
-
export declare function deleteConfiguration({ pathParams: { id }, queryParams, config }: {
|
|
901
|
-
pathParams: DeleteConfigurationPathParams;
|
|
902
|
-
queryParams?: DeleteConfigurationQueryParams | undefined;
|
|
903
|
-
config?: Partial<FetcherConfig> & {
|
|
904
|
-
client?: typeof client;
|
|
905
|
-
};
|
|
906
|
-
}): Promise<Promise<CallToolResult>>;
|
|
907
|
-
/**
|
|
908
|
-
* @description 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.
|
|
909
|
-
* @summary SSO Token Exchange
|
|
910
|
-
* {@link /v1/integrations/sso/token}
|
|
911
|
-
*/
|
|
912
|
-
export declare function exchangeSsoToken({ config }: {
|
|
913
|
-
config?: Partial<FetcherConfig> & {
|
|
914
|
-
client?: typeof client;
|
|
915
|
-
};
|
|
916
|
-
}): Promise<Promise<CallToolResult>>;
|
|
917
|
-
/**
|
|
918
|
-
* @description Retrieves a list of all Integration log drains that are defined for the authenticated user or team. When using an OAuth2 token, the list is limited to log drains created by the authenticated integration.
|
|
919
|
-
* @summary Retrieves a list of Integration log drains
|
|
920
|
-
* {@link /v2/integrations/log-drains}
|
|
921
|
-
*/
|
|
922
|
-
export declare function getIntegrationLogDrains({ queryParams, config }: {
|
|
923
|
-
queryParams?: GetIntegrationLogDrainsQueryParams | undefined;
|
|
924
|
-
config?: Partial<FetcherConfig> & {
|
|
925
|
-
client?: typeof client;
|
|
926
|
-
};
|
|
927
|
-
}): Promise<Promise<CallToolResult>>;
|
|
928
|
-
/**
|
|
929
|
-
* @description Creates an Integration log drain. This endpoint must be called with an OAuth2 client (integration), since log drains are tied to integrations. If it is called with a different token type it will produce a 400 error.
|
|
930
|
-
* @summary Creates a new Integration Log Drain
|
|
931
|
-
* {@link /v2/integrations/log-drains}
|
|
932
|
-
*/
|
|
933
|
-
export declare function createLogDrain({ queryParams, config }: {
|
|
934
|
-
queryParams?: CreateLogDrainQueryParams | undefined;
|
|
935
|
-
config?: Partial<FetcherConfig> & {
|
|
936
|
-
client?: typeof client;
|
|
937
|
-
};
|
|
938
|
-
}): Promise<Promise<CallToolResult>>;
|
|
939
|
-
/**
|
|
940
|
-
* @description 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.
|
|
941
|
-
* @summary Deletes the Integration log drain with the provided `id`
|
|
942
|
-
* {@link /v1/integrations/log-drains/:id}
|
|
943
|
-
*/
|
|
944
|
-
export declare function deleteIntegrationLogDrain({ pathParams: { id }, queryParams, config }: {
|
|
945
|
-
pathParams: DeleteIntegrationLogDrainPathParams;
|
|
946
|
-
queryParams?: DeleteIntegrationLogDrainQueryParams | undefined;
|
|
947
|
-
config?: Partial<FetcherConfig> & {
|
|
948
|
-
client?: typeof client;
|
|
949
|
-
};
|
|
950
|
-
}): Promise<Promise<CallToolResult>>;
|
|
951
|
-
/**
|
|
952
|
-
* @description Returns a stream of logs for a given deployment.
|
|
953
|
-
* @summary Get logs for a deployment
|
|
954
|
-
* {@link /v1/projects/:projectId/deployments/:deploymentId/runtime-logs}
|
|
955
|
-
*/
|
|
956
|
-
export declare function getRuntimeLogs({ pathParams: { projectId, deploymentId }, queryParams, config }: {
|
|
957
|
-
pathParams: GetRuntimeLogsPathParams;
|
|
958
|
-
queryParams?: GetRuntimeLogsQueryParams | undefined;
|
|
959
|
-
config?: Partial<FetcherConfig> & {
|
|
960
|
-
client?: typeof client;
|
|
961
|
-
};
|
|
962
|
-
}): Promise<Promise<CallToolResult>>;
|
|
963
|
-
/**
|
|
964
|
-
* @description Create one or multiple experimentation items
|
|
965
|
-
* @summary Create one or multiple experimentation items
|
|
966
|
-
* {@link /v1/installations/:integrationConfigurationId/resources/:resourceId/experimentation/items}
|
|
967
|
-
*/
|
|
968
|
-
export declare function createExperimentationItem({ pathParams: { integrationConfigurationId, resourceId }, config }: {
|
|
969
|
-
pathParams: CreateExperimentationItemPathParams;
|
|
970
|
-
config?: Partial<FetcherConfig> & {
|
|
971
|
-
client?: typeof client;
|
|
972
|
-
};
|
|
973
|
-
}): Promise<Promise<CallToolResult>>;
|
|
974
|
-
/**
|
|
975
|
-
* @description Patch an existing experimentation item
|
|
976
|
-
* @summary Patch an existing experimentation item
|
|
977
|
-
* {@link /v1/installations/:integrationConfigurationId/resources/:resourceId/experimentation/items/:itemId}
|
|
978
|
-
*/
|
|
979
|
-
export declare function updateExperimentationItem({ pathParams: { integrationConfigurationId, resourceId, itemId }, config }: {
|
|
980
|
-
pathParams: UpdateExperimentationItemPathParams;
|
|
981
|
-
config?: Partial<FetcherConfig> & {
|
|
982
|
-
client?: typeof client;
|
|
983
|
-
};
|
|
984
|
-
}): Promise<Promise<CallToolResult>>;
|
|
985
|
-
/**
|
|
986
|
-
* @description Delete an existing experimentation item
|
|
987
|
-
* @summary Delete an existing experimentation item
|
|
988
|
-
* {@link /v1/installations/:integrationConfigurationId/resources/:resourceId/experimentation/items/:itemId}
|
|
989
|
-
*/
|
|
990
|
-
export declare function deleteExperimentationItem({ pathParams: { integrationConfigurationId, resourceId, itemId }, config }: {
|
|
991
|
-
pathParams: DeleteExperimentationItemPathParams;
|
|
992
|
-
config?: Partial<FetcherConfig> & {
|
|
993
|
-
client?: typeof client;
|
|
994
|
-
};
|
|
995
|
-
}): Promise<Promise<CallToolResult>>;
|
|
996
|
-
/**
|
|
997
|
-
* @description 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.
|
|
998
|
-
* @summary Push data into a user-provided Edge Config
|
|
999
|
-
* {@link /v1/installations/:integrationConfigurationId/resources/:resourceId/experimentation/edge-config}
|
|
1000
|
-
*/
|
|
1001
|
-
export declare function updateExperimentationEdgeConfig({ pathParams: { integrationConfigurationId, resourceId }, config }: {
|
|
1002
|
-
pathParams: UpdateExperimentationEdgeConfigPathParams;
|
|
1003
|
-
config?: Partial<FetcherConfig> & {
|
|
1004
|
-
client?: typeof client;
|
|
1005
|
-
};
|
|
1006
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1007
|
-
/**
|
|
1008
|
-
* @description Lists all members of a project.
|
|
1009
|
-
* @summary List project members
|
|
1010
|
-
* {@link /v1/projects/:idOrName/members}
|
|
1011
|
-
*/
|
|
1012
|
-
export declare function getProjectMembers({ pathParams: { idOrName }, queryParams, config }: {
|
|
1013
|
-
pathParams: GetProjectMembersPathParams;
|
|
1014
|
-
queryParams?: GetProjectMembersQueryParams | undefined;
|
|
1015
|
-
config?: Partial<FetcherConfig> & {
|
|
1016
|
-
client?: typeof client;
|
|
1017
|
-
};
|
|
1018
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1019
|
-
/**
|
|
1020
|
-
* @description Adds a new member to the project.
|
|
1021
|
-
* @summary Adds a new member to a project.
|
|
1022
|
-
* {@link /v1/projects/:idOrName/members}
|
|
1023
|
-
*/
|
|
1024
|
-
export declare function addProjectMember({ pathParams: { idOrName }, queryParams, config }: {
|
|
1025
|
-
pathParams: AddProjectMemberPathParams;
|
|
1026
|
-
queryParams?: AddProjectMemberQueryParams | undefined;
|
|
1027
|
-
config?: Partial<FetcherConfig> & {
|
|
1028
|
-
client?: typeof client;
|
|
1029
|
-
};
|
|
1030
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1031
|
-
/**
|
|
1032
|
-
* @description Remove a member from a specific project
|
|
1033
|
-
* @summary Remove a Project Member
|
|
1034
|
-
* {@link /v1/projects/:idOrName/members/:uid}
|
|
1035
|
-
*/
|
|
1036
|
-
export declare function removeProjectMember({ pathParams: { idOrName, uid }, queryParams, config }: {
|
|
1037
|
-
pathParams: RemoveProjectMemberPathParams;
|
|
1038
|
-
queryParams?: RemoveProjectMemberQueryParams | undefined;
|
|
1039
|
-
config?: Partial<FetcherConfig> & {
|
|
1040
|
-
client?: typeof client;
|
|
1041
|
-
};
|
|
1042
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1043
|
-
/**
|
|
1044
|
-
* @description Allows to retrieve the list of projects of the authenticated user or team. The list will be paginated and the provided query parameters allow filtering the returned projects.
|
|
1045
|
-
* @summary Retrieve a list of projects
|
|
1046
|
-
* {@link /v10/projects}
|
|
1047
|
-
*/
|
|
1048
|
-
export declare function getProjects({ queryParams, config }: {
|
|
1049
|
-
queryParams?: GetProjectsQueryParams | undefined;
|
|
1050
|
-
config?: Partial<FetcherConfig> & {
|
|
1051
|
-
client?: typeof client;
|
|
1052
|
-
};
|
|
1053
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1054
|
-
/**
|
|
1055
|
-
* @description Allows to create a new project with the provided configuration. It only requires the project `name` but more configuration can be provided to override the defaults.
|
|
1056
|
-
* @summary Create a new project
|
|
1057
|
-
* {@link /v11/projects}
|
|
1058
|
-
*/
|
|
1059
|
-
export declare function createProject({ queryParams, config }: {
|
|
1060
|
-
queryParams?: CreateProjectQueryParams | undefined;
|
|
1061
|
-
config?: Partial<FetcherConfig> & {
|
|
1062
|
-
client?: typeof client;
|
|
1063
|
-
};
|
|
1064
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1065
|
-
/**
|
|
1066
|
-
* @description Get the information for a specific project by passing either the project `id` or `name` in the URL.
|
|
1067
|
-
* @summary Find a project by id or name
|
|
1068
|
-
* {@link /v9/projects/:idOrName}
|
|
1069
|
-
*/
|
|
1070
|
-
export declare function getProject({ pathParams: { idOrName }, queryParams, config }: {
|
|
1071
|
-
pathParams: GetProjectPathParams;
|
|
1072
|
-
queryParams?: GetProjectQueryParams | undefined;
|
|
1073
|
-
config?: Partial<FetcherConfig> & {
|
|
1074
|
-
client?: typeof client;
|
|
1075
|
-
};
|
|
1076
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1077
|
-
/**
|
|
1078
|
-
* @description Update the fields of a project using either its `name` or `id`.
|
|
1079
|
-
* @summary Update an existing project
|
|
1080
|
-
* {@link /v9/projects/:idOrName}
|
|
1081
|
-
*/
|
|
1082
|
-
export declare function updateProject({ pathParams: { idOrName }, queryParams, config }: {
|
|
1083
|
-
pathParams: UpdateProjectPathParams;
|
|
1084
|
-
queryParams?: UpdateProjectQueryParams | undefined;
|
|
1085
|
-
config?: Partial<FetcherConfig> & {
|
|
1086
|
-
client?: typeof client;
|
|
1087
|
-
};
|
|
1088
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1089
|
-
/**
|
|
1090
|
-
* @description Delete a specific project by passing either the project `id` or `name` in the URL.
|
|
1091
|
-
* @summary Delete a Project
|
|
1092
|
-
* {@link /v9/projects/:idOrName}
|
|
1093
|
-
*/
|
|
1094
|
-
export declare function deleteProject({ pathParams: { idOrName }, queryParams, config }: {
|
|
1095
|
-
pathParams: DeleteProjectPathParams;
|
|
1096
|
-
queryParams?: DeleteProjectQueryParams | undefined;
|
|
1097
|
-
config?: Partial<FetcherConfig> & {
|
|
1098
|
-
client?: typeof client;
|
|
1099
|
-
};
|
|
1100
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1101
|
-
/**
|
|
1102
|
-
* @description Creates a custom environment for the current project. Cannot be named 'Production' or 'Preview'.
|
|
1103
|
-
* @summary Create a custom environment for the current project.
|
|
1104
|
-
* {@link /v9/projects/:idOrName/custom-environments}
|
|
1105
|
-
*/
|
|
1106
|
-
export declare function createCustomEnvironment({ pathParams: { idOrName }, queryParams, config }: {
|
|
1107
|
-
pathParams: CreateCustomEnvironmentPathParams;
|
|
1108
|
-
queryParams?: CreateCustomEnvironmentQueryParams | undefined;
|
|
1109
|
-
config?: Partial<FetcherConfig> & {
|
|
1110
|
-
client?: typeof client;
|
|
1111
|
-
};
|
|
1112
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1113
|
-
/**
|
|
1114
|
-
* @description Retrieve custom environments for the project. Must not be named 'Production' or 'Preview'.
|
|
1115
|
-
* @summary Retrieve custom environments
|
|
1116
|
-
* {@link /v9/projects/:idOrName/custom-environments}
|
|
1117
|
-
*/
|
|
1118
|
-
export declare function listCustomEnvironments({ pathParams: { idOrName }, queryParams, config }: {
|
|
1119
|
-
pathParams: ListCustomEnvironmentsPathParams;
|
|
1120
|
-
queryParams?: ListCustomEnvironmentsQueryParams | undefined;
|
|
1121
|
-
config?: Partial<FetcherConfig> & {
|
|
1122
|
-
client?: typeof client;
|
|
1123
|
-
};
|
|
1124
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1125
|
-
/**
|
|
1126
|
-
* @description Retrieve a custom environment for the project. Must not be named 'Production' or 'Preview'.
|
|
1127
|
-
* @summary Retrieve a custom environment
|
|
1128
|
-
* {@link /v9/projects/:idOrName/custom-environments/:environmentSlugOrId}
|
|
1129
|
-
*/
|
|
1130
|
-
export declare function getCustomEnvironment({ pathParams: { idOrName, environmentSlugOrId }, queryParams, config }: {
|
|
1131
|
-
pathParams: GetCustomEnvironmentPathParams;
|
|
1132
|
-
queryParams?: GetCustomEnvironmentQueryParams | undefined;
|
|
1133
|
-
config?: Partial<FetcherConfig> & {
|
|
1134
|
-
client?: typeof client;
|
|
1135
|
-
};
|
|
1136
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1137
|
-
/**
|
|
1138
|
-
* @description Update a custom environment for the project. Must not be named 'Production' or 'Preview'.
|
|
1139
|
-
* @summary Update a custom environment
|
|
1140
|
-
* {@link /v9/projects/:idOrName/custom-environments/:environmentSlugOrId}
|
|
1141
|
-
*/
|
|
1142
|
-
export declare function updateCustomEnvironment({ pathParams: { idOrName, environmentSlugOrId }, queryParams, config }: {
|
|
1143
|
-
pathParams: UpdateCustomEnvironmentPathParams;
|
|
1144
|
-
queryParams?: UpdateCustomEnvironmentQueryParams | undefined;
|
|
1145
|
-
config?: Partial<FetcherConfig> & {
|
|
1146
|
-
client?: typeof client;
|
|
1147
|
-
};
|
|
1148
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1149
|
-
/**
|
|
1150
|
-
* @description Remove a custom environment for the project. Must not be named 'Production' or 'Preview'.
|
|
1151
|
-
* @summary Remove a custom environment
|
|
1152
|
-
* {@link /v9/projects/:idOrName/custom-environments/:environmentSlugOrId}
|
|
1153
|
-
*/
|
|
1154
|
-
export declare function removeCustomEnvironment({ pathParams: { idOrName, environmentSlugOrId }, queryParams, config }: {
|
|
1155
|
-
pathParams: RemoveCustomEnvironmentPathParams;
|
|
1156
|
-
queryParams?: RemoveCustomEnvironmentQueryParams | undefined;
|
|
1157
|
-
config?: Partial<FetcherConfig> & {
|
|
1158
|
-
client?: typeof client;
|
|
1159
|
-
};
|
|
1160
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1161
|
-
/**
|
|
1162
|
-
* @description Retrieve the domains associated with a given project by passing either the project `id` or `name` in the URL.
|
|
1163
|
-
* @summary Retrieve project domains by project by id or name
|
|
1164
|
-
* {@link /v9/projects/:idOrName/domains}
|
|
1165
|
-
*/
|
|
1166
|
-
export declare function getProjectDomains({ pathParams: { idOrName }, queryParams, config }: {
|
|
1167
|
-
pathParams: GetProjectDomainsPathParams;
|
|
1168
|
-
queryParams?: GetProjectDomainsQueryParams | undefined;
|
|
1169
|
-
config?: Partial<FetcherConfig> & {
|
|
1170
|
-
client?: typeof client;
|
|
1171
|
-
};
|
|
1172
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1173
|
-
/**
|
|
1174
|
-
* @description Get project domain by project id/name and domain name.
|
|
1175
|
-
* @summary Get a project domain
|
|
1176
|
-
* {@link /v9/projects/:idOrName/domains/:domain}
|
|
1177
|
-
*/
|
|
1178
|
-
export declare function getProjectDomain({ pathParams: { idOrName, domain }, queryParams, config }: {
|
|
1179
|
-
pathParams: GetProjectDomainPathParams;
|
|
1180
|
-
queryParams?: GetProjectDomainQueryParams | undefined;
|
|
1181
|
-
config?: Partial<FetcherConfig> & {
|
|
1182
|
-
client?: typeof client;
|
|
1183
|
-
};
|
|
1184
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1185
|
-
/**
|
|
1186
|
-
* @description Update a project domain's configuration, including the name, git branch and redirect of the domain.
|
|
1187
|
-
* @summary Update a project domain
|
|
1188
|
-
* {@link /v9/projects/:idOrName/domains/:domain}
|
|
1189
|
-
*/
|
|
1190
|
-
export declare function updateProjectDomain({ pathParams: { idOrName, domain }, queryParams, config }: {
|
|
1191
|
-
pathParams: UpdateProjectDomainPathParams;
|
|
1192
|
-
queryParams?: UpdateProjectDomainQueryParams | undefined;
|
|
1193
|
-
config?: Partial<FetcherConfig> & {
|
|
1194
|
-
client?: typeof client;
|
|
1195
|
-
};
|
|
1196
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1197
|
-
/**
|
|
1198
|
-
* @description 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.
|
|
1199
|
-
* @summary Remove a domain from a project
|
|
1200
|
-
* {@link /v9/projects/:idOrName/domains/:domain}
|
|
1201
|
-
*/
|
|
1202
|
-
export declare function removeProjectDomain({ pathParams: { idOrName, domain }, queryParams, config }: {
|
|
1203
|
-
pathParams: RemoveProjectDomainPathParams;
|
|
1204
|
-
queryParams?: RemoveProjectDomainQueryParams | undefined;
|
|
1205
|
-
config?: Partial<FetcherConfig> & {
|
|
1206
|
-
client?: typeof client;
|
|
1207
|
-
};
|
|
1208
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1209
|
-
/**
|
|
1210
|
-
* @description 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.
|
|
1211
|
-
* @summary Add a domain to a project
|
|
1212
|
-
* {@link /v10/projects/:idOrName/domains}
|
|
1213
|
-
*/
|
|
1214
|
-
export declare function addProjectDomain({ pathParams: { idOrName }, queryParams, config }: {
|
|
1215
|
-
pathParams: AddProjectDomainPathParams;
|
|
1216
|
-
queryParams?: AddProjectDomainQueryParams | undefined;
|
|
1217
|
-
config?: Partial<FetcherConfig> & {
|
|
1218
|
-
client?: typeof client;
|
|
1219
|
-
};
|
|
1220
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1221
|
-
/**
|
|
1222
|
-
* @description Move one project's domain to another project. Also allows the move of all redirects pointed to that domain in the same project.
|
|
1223
|
-
* @summary Move a project domain
|
|
1224
|
-
* {@link /v1/projects/:idOrName/domains/:domain/move}
|
|
1225
|
-
*/
|
|
1226
|
-
export declare function moveProjectDomain({ pathParams: { idOrName, domain }, queryParams, config }: {
|
|
1227
|
-
pathParams: MoveProjectDomainPathParams;
|
|
1228
|
-
queryParams?: MoveProjectDomainQueryParams | undefined;
|
|
1229
|
-
config?: Partial<FetcherConfig> & {
|
|
1230
|
-
client?: typeof client;
|
|
1231
|
-
};
|
|
1232
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1233
|
-
/**
|
|
1234
|
-
* @description Attempts to verify a project domain with `verified = false` by checking the correctness of the project domain's `verification` challenge.
|
|
1235
|
-
* @summary Verify project domain
|
|
1236
|
-
* {@link /v9/projects/:idOrName/domains/:domain/verify}
|
|
1237
|
-
*/
|
|
1238
|
-
export declare function verifyProjectDomain({ pathParams: { idOrName, domain }, queryParams, config }: {
|
|
1239
|
-
pathParams: VerifyProjectDomainPathParams;
|
|
1240
|
-
queryParams?: VerifyProjectDomainQueryParams | undefined;
|
|
1241
|
-
config?: Partial<FetcherConfig> & {
|
|
1242
|
-
client?: typeof client;
|
|
1243
|
-
};
|
|
1244
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1245
|
-
/**
|
|
1246
|
-
* @description Retrieve the environment variables for a given project by passing either the project `id` or `name` in the URL.
|
|
1247
|
-
* @summary Retrieve the environment variables of a project by id or name
|
|
1248
|
-
* {@link /v10/projects/:idOrName/env}
|
|
1249
|
-
*/
|
|
1250
|
-
export declare function filterProjectEnvs({ pathParams: { idOrName }, queryParams, config }: {
|
|
1251
|
-
pathParams: FilterProjectEnvsPathParams;
|
|
1252
|
-
queryParams?: FilterProjectEnvsQueryParams | undefined;
|
|
1253
|
-
config?: Partial<FetcherConfig> & {
|
|
1254
|
-
client?: typeof client;
|
|
1255
|
-
};
|
|
1256
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1257
|
-
/**
|
|
1258
|
-
* @description 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.
|
|
1259
|
-
* @summary Create one or more environment variables
|
|
1260
|
-
* {@link /v10/projects/:idOrName/env}
|
|
1261
|
-
*/
|
|
1262
|
-
export declare function createProjectEnv({ pathParams: { idOrName }, queryParams, config }: {
|
|
1263
|
-
pathParams: CreateProjectEnvPathParams;
|
|
1264
|
-
queryParams?: CreateProjectEnvQueryParams | undefined;
|
|
1265
|
-
config?: Partial<FetcherConfig> & {
|
|
1266
|
-
client?: typeof client;
|
|
1267
|
-
};
|
|
1268
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1269
|
-
/**
|
|
1270
|
-
* @description Retrieve the environment variable for a given project.
|
|
1271
|
-
* @summary Retrieve the decrypted value of an environment variable of a project by id
|
|
1272
|
-
* {@link /v1/projects/:idOrName/env/:id}
|
|
1273
|
-
*/
|
|
1274
|
-
export declare function getProjectEnv({ pathParams: { idOrName, id }, queryParams, config }: {
|
|
1275
|
-
pathParams: GetProjectEnvPathParams;
|
|
1276
|
-
queryParams?: GetProjectEnvQueryParams | undefined;
|
|
1277
|
-
config?: Partial<FetcherConfig> & {
|
|
1278
|
-
client?: typeof client;
|
|
1279
|
-
};
|
|
1280
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1281
|
-
/**
|
|
1282
|
-
* @description 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.
|
|
1283
|
-
* @summary Remove an environment variable
|
|
1284
|
-
* {@link /v9/projects/:idOrName/env/:id}
|
|
1285
|
-
*/
|
|
1286
|
-
export declare function removeProjectEnv({ pathParams: { idOrName, id }, queryParams, config }: {
|
|
1287
|
-
pathParams: RemoveProjectEnvPathParams;
|
|
1288
|
-
queryParams?: RemoveProjectEnvQueryParams | undefined;
|
|
1289
|
-
config?: Partial<FetcherConfig> & {
|
|
1290
|
-
client?: typeof client;
|
|
1291
|
-
};
|
|
1292
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1293
|
-
/**
|
|
1294
|
-
* @description 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.
|
|
1295
|
-
* @summary Edit an environment variable
|
|
1296
|
-
* {@link /v9/projects/:idOrName/env/:id}
|
|
1297
|
-
*/
|
|
1298
|
-
export declare function editProjectEnv({ pathParams: { idOrName, id }, queryParams, config }: {
|
|
1299
|
-
pathParams: EditProjectEnvPathParams;
|
|
1300
|
-
queryParams?: EditProjectEnvQueryParams | undefined;
|
|
1301
|
-
config?: Partial<FetcherConfig> & {
|
|
1302
|
-
client?: typeof client;
|
|
1303
|
-
};
|
|
1304
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1305
|
-
/**
|
|
1306
|
-
* @description 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.
|
|
1307
|
-
* @summary Get rolling release billing status
|
|
1308
|
-
* {@link /v1/projects/:idOrName/rolling-release/billing}
|
|
1309
|
-
*/
|
|
1310
|
-
export declare function getRollingReleaseBillingStatus({ pathParams: { idOrName }, queryParams, config }: {
|
|
1311
|
-
pathParams: GetRollingReleaseBillingStatusPathParams;
|
|
1312
|
-
queryParams?: GetRollingReleaseBillingStatusQueryParams | undefined;
|
|
1313
|
-
config?: Partial<FetcherConfig> & {
|
|
1314
|
-
client?: typeof client;
|
|
1315
|
-
};
|
|
1316
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1317
|
-
/**
|
|
1318
|
-
* @description 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.
|
|
1319
|
-
* @summary Get rolling release configuration
|
|
1320
|
-
* {@link /v1/projects/:idOrName/rolling-release/config}
|
|
1321
|
-
*/
|
|
1322
|
-
export declare function getRollingReleaseConfig({ pathParams: { idOrName }, queryParams, config }: {
|
|
1323
|
-
pathParams: GetRollingReleaseConfigPathParams;
|
|
1324
|
-
queryParams?: GetRollingReleaseConfigQueryParams | undefined;
|
|
1325
|
-
config?: Partial<FetcherConfig> & {
|
|
1326
|
-
client?: typeof client;
|
|
1327
|
-
};
|
|
1328
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1329
|
-
/**
|
|
1330
|
-
* @description 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.
|
|
1331
|
-
* @summary Delete rolling release configuration
|
|
1332
|
-
* {@link /v1/projects/:idOrName/rolling-release/config}
|
|
1333
|
-
*/
|
|
1334
|
-
export declare function deleteRollingReleaseConfig({ pathParams: { idOrName }, queryParams, config }: {
|
|
1335
|
-
pathParams: DeleteRollingReleaseConfigPathParams;
|
|
1336
|
-
queryParams?: DeleteRollingReleaseConfigQueryParams | undefined;
|
|
1337
|
-
config?: Partial<FetcherConfig> & {
|
|
1338
|
-
client?: typeof client;
|
|
1339
|
-
};
|
|
1340
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1341
|
-
/**
|
|
1342
|
-
* @description 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.
|
|
1343
|
-
* @summary Update the rolling release settings for the project
|
|
1344
|
-
* {@link /v1/projects/:idOrName/rolling-release/config}
|
|
1345
|
-
*/
|
|
1346
|
-
export declare function updateRollingReleaseConfig({ pathParams: { idOrName }, queryParams, config }: {
|
|
1347
|
-
pathParams: UpdateRollingReleaseConfigPathParams;
|
|
1348
|
-
queryParams?: UpdateRollingReleaseConfigQueryParams | undefined;
|
|
1349
|
-
config?: Partial<FetcherConfig> & {
|
|
1350
|
-
client?: typeof client;
|
|
1351
|
-
};
|
|
1352
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1353
|
-
/**
|
|
1354
|
-
* @description 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.
|
|
1355
|
-
* @summary Get the active rolling release information for a project
|
|
1356
|
-
* {@link /v1/projects/:idOrName/rolling-release}
|
|
1357
|
-
*/
|
|
1358
|
-
export declare function getRollingRelease({ pathParams: { idOrName }, queryParams, config }: {
|
|
1359
|
-
pathParams: GetRollingReleasePathParams;
|
|
1360
|
-
queryParams?: GetRollingReleaseQueryParams | undefined;
|
|
1361
|
-
config?: Partial<FetcherConfig> & {
|
|
1362
|
-
client?: typeof client;
|
|
1363
|
-
};
|
|
1364
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1365
|
-
/**
|
|
1366
|
-
* @description Advance a rollout to the next stage. This is only needed when rolling releases is configured to require manual approval.
|
|
1367
|
-
* @summary Update the active rolling release to the next stage for a project
|
|
1368
|
-
* {@link /v1/projects/:idOrName/rolling-release/approve-stage}
|
|
1369
|
-
*/
|
|
1370
|
-
export declare function approveRollingReleaseStage({ pathParams: { idOrName }, queryParams, config }: {
|
|
1371
|
-
pathParams: ApproveRollingReleaseStagePathParams;
|
|
1372
|
-
queryParams?: ApproveRollingReleaseStageQueryParams | undefined;
|
|
1373
|
-
config?: Partial<FetcherConfig> & {
|
|
1374
|
-
client?: typeof client;
|
|
1375
|
-
};
|
|
1376
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1377
|
-
/**
|
|
1378
|
-
* @description Force-complete a Rolling Release. The canary deployment will begin serving 100% of the traffic.
|
|
1379
|
-
* @summary Complete the rolling release for the project
|
|
1380
|
-
* {@link /v1/projects/:idOrName/rolling-release/complete}
|
|
1381
|
-
*/
|
|
1382
|
-
export declare function completeRollingRelease({ pathParams: { idOrName }, queryParams, config }: {
|
|
1383
|
-
pathParams: CompleteRollingReleasePathParams;
|
|
1384
|
-
queryParams?: CompleteRollingReleaseQueryParams | undefined;
|
|
1385
|
-
config?: Partial<FetcherConfig> & {
|
|
1386
|
-
client?: typeof client;
|
|
1387
|
-
};
|
|
1388
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1389
|
-
/**
|
|
1390
|
-
* @description Initiates a project transfer request from one team to another. <br/> 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. <br/> Users can also accept the project transfer request using the claim URL: `https://vercel.com/claim-deployment?code=<code>&returnUrl=<returnUrl>`. <br/> The `code` parameter specifies the project transfer request code generated using this endpoint. <br/> The `returnUrl` parameter redirects users to a specific page of the application if the claim URL is invalid or expired.
|
|
1391
|
-
* @summary Create project transfer request
|
|
1392
|
-
* {@link /projects/:idOrName/transfer-request}
|
|
1393
|
-
*/
|
|
1394
|
-
export declare function createProjectTransferRequest({ pathParams: { idOrName }, queryParams, config }: {
|
|
1395
|
-
pathParams: CreateProjectTransferRequestPathParams;
|
|
1396
|
-
queryParams?: CreateProjectTransferRequestQueryParams | undefined;
|
|
1397
|
-
config?: Partial<FetcherConfig> & {
|
|
1398
|
-
client?: typeof client;
|
|
1399
|
-
};
|
|
1400
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1401
|
-
/**
|
|
1402
|
-
* @description Accept a project transfer request initated by another team. <br/> The `code` is generated using the `POST /projects/:idOrName/transfer-request` endpoint.
|
|
1403
|
-
* @summary Accept project transfer request
|
|
1404
|
-
* {@link /projects/transfer-request/:code}
|
|
1405
|
-
*/
|
|
1406
|
-
export declare function acceptProjectTransferRequest({ pathParams: { code }, queryParams, config }: {
|
|
1407
|
-
pathParams: AcceptProjectTransferRequestPathParams;
|
|
1408
|
-
queryParams?: AcceptProjectTransferRequestQueryParams | undefined;
|
|
1409
|
-
config?: Partial<FetcherConfig> & {
|
|
1410
|
-
client?: typeof client;
|
|
1411
|
-
};
|
|
1412
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1413
|
-
/**
|
|
1414
|
-
* @description Update the deployment protection automation bypass for a project
|
|
1415
|
-
* @summary Update Protection Bypass for Automation
|
|
1416
|
-
* {@link /v1/projects/:idOrName/protection-bypass}
|
|
1417
|
-
*/
|
|
1418
|
-
export declare function updateProjectProtectionBypass({ pathParams: { idOrName }, queryParams, config }: {
|
|
1419
|
-
pathParams: UpdateProjectProtectionBypassPathParams;
|
|
1420
|
-
queryParams?: UpdateProjectProtectionBypassQueryParams | undefined;
|
|
1421
|
-
config?: Partial<FetcherConfig> & {
|
|
1422
|
-
client?: typeof client;
|
|
1423
|
-
};
|
|
1424
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1425
|
-
/**
|
|
1426
|
-
* @description Allows users to promote a deployment to production. Note: This does NOT rebuild the deployment. If you need that, then call create-deployments endpoint.
|
|
1427
|
-
* @summary Points all production domains for a project to the given deploy
|
|
1428
|
-
* {@link /v10/projects/:projectId/promote/:deploymentId}
|
|
1429
|
-
*/
|
|
1430
|
-
export declare function requestPromote({ pathParams: { projectId, deploymentId }, queryParams, config }: {
|
|
1431
|
-
pathParams: RequestPromotePathParams;
|
|
1432
|
-
queryParams?: RequestPromoteQueryParams | undefined;
|
|
1433
|
-
config?: Partial<FetcherConfig> & {
|
|
1434
|
-
client?: typeof client;
|
|
1435
|
-
};
|
|
1436
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1437
|
-
/**
|
|
1438
|
-
* @description Get a list of aliases related to the last promote request with their mapping status
|
|
1439
|
-
* @summary Gets a list of aliases with status for the current promote
|
|
1440
|
-
* {@link /v1/projects/:projectId/promote/aliases}
|
|
1441
|
-
*/
|
|
1442
|
-
export declare function listPromoteAliases({ pathParams: { projectId }, queryParams, config }: {
|
|
1443
|
-
pathParams: ListPromoteAliasesPathParams;
|
|
1444
|
-
queryParams?: ListPromoteAliasesQueryParams | undefined;
|
|
1445
|
-
config?: Partial<FetcherConfig> & {
|
|
1446
|
-
client?: typeof client;
|
|
1447
|
-
};
|
|
1448
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1449
|
-
/**
|
|
1450
|
-
* @description 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.
|
|
1451
|
-
* @summary Pause a project
|
|
1452
|
-
* {@link /v1/projects/:projectId/pause}
|
|
1453
|
-
*/
|
|
1454
|
-
export declare function pauseProject({ pathParams: { projectId }, queryParams, config }: {
|
|
1455
|
-
pathParams: PauseProjectPathParams;
|
|
1456
|
-
queryParams?: PauseProjectQueryParams | undefined;
|
|
1457
|
-
config?: Partial<FetcherConfig> & {
|
|
1458
|
-
client?: typeof client;
|
|
1459
|
-
};
|
|
1460
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1461
|
-
/**
|
|
1462
|
-
* @description 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.
|
|
1463
|
-
* @summary Unpause a project
|
|
1464
|
-
* {@link /v1/projects/:projectId/unpause}
|
|
1465
|
-
*/
|
|
1466
|
-
export declare function unpauseProject({ pathParams: { projectId }, queryParams, config }: {
|
|
1467
|
-
pathParams: UnpauseProjectPathParams;
|
|
1468
|
-
queryParams?: UnpauseProjectQueryParams | undefined;
|
|
1469
|
-
config?: Partial<FetcherConfig> & {
|
|
1470
|
-
client?: typeof client;
|
|
1471
|
-
};
|
|
1472
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1473
|
-
/**
|
|
1474
|
-
* @description Update the setting for determining if the project has Attack Challenge mode enabled.
|
|
1475
|
-
* @summary Update Attack Challenge mode
|
|
1476
|
-
* {@link /v1/security/attack-mode}
|
|
1477
|
-
*/
|
|
1478
|
-
export declare function updateAttackChallengeMode({ queryParams, config }: {
|
|
1479
|
-
queryParams?: UpdateAttackChallengeModeQueryParams | undefined;
|
|
1480
|
-
config?: Partial<FetcherConfig> & {
|
|
1481
|
-
client?: typeof client;
|
|
1482
|
-
};
|
|
1483
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1484
|
-
/**
|
|
1485
|
-
* @description Set the firewall configuration to provided rules and settings. Creates or overwrite the existing firewall configuration.
|
|
1486
|
-
* @summary Put Firewall Configuration
|
|
1487
|
-
* {@link /v1/security/firewall/config}
|
|
1488
|
-
*/
|
|
1489
|
-
export declare function putFirewallConfig({ queryParams, config }: {
|
|
1490
|
-
queryParams: PutFirewallConfigQueryParams;
|
|
1491
|
-
config?: Partial<FetcherConfig> & {
|
|
1492
|
-
client?: typeof client;
|
|
1493
|
-
};
|
|
1494
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1495
|
-
/**
|
|
1496
|
-
* @description Process updates to modify the existing firewall config for a project
|
|
1497
|
-
* @summary Update Firewall Configuration
|
|
1498
|
-
* {@link /v1/security/firewall/config}
|
|
1499
|
-
*/
|
|
1500
|
-
export declare function updateFirewallConfig({ queryParams, config }: {
|
|
1501
|
-
queryParams: UpdateFirewallConfigQueryParams;
|
|
1502
|
-
config?: Partial<FetcherConfig> & {
|
|
1503
|
-
client?: typeof client;
|
|
1504
|
-
};
|
|
1505
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1506
|
-
/**
|
|
1507
|
-
* @description Retrieve the specified firewall configuration for a project. The deployed configVersion will be `active`
|
|
1508
|
-
* @summary Read Firewall Configuration
|
|
1509
|
-
* {@link /v1/security/firewall/config/:configVersion}
|
|
1510
|
-
*/
|
|
1511
|
-
export declare function getFirewallConfig({ pathParams: { configVersion }, queryParams, config }: {
|
|
1512
|
-
pathParams: GetFirewallConfigPathParams;
|
|
1513
|
-
queryParams: GetFirewallConfigQueryParams;
|
|
1514
|
-
config?: Partial<FetcherConfig> & {
|
|
1515
|
-
client?: typeof client;
|
|
1516
|
-
};
|
|
1517
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1518
|
-
/**
|
|
1519
|
-
* @description Retrieve active attack data within the last 24h window
|
|
1520
|
-
* @summary Read active attack data
|
|
1521
|
-
* {@link /v1/security/firewall/attack-status}
|
|
1522
|
-
*/
|
|
1523
|
-
export declare function getActiveAttackStatus({ queryParams, config }: {
|
|
1524
|
-
queryParams: GetActiveAttackStatusQueryParams;
|
|
1525
|
-
config?: Partial<FetcherConfig> & {
|
|
1526
|
-
client?: typeof client;
|
|
1527
|
-
};
|
|
1528
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1529
|
-
/**
|
|
1530
|
-
* @description Retrieve the system bypass rules configured for the specified project
|
|
1531
|
-
* @summary Read System Bypass
|
|
1532
|
-
* {@link /v1/security/firewall/bypass}
|
|
1533
|
-
*/
|
|
1534
|
-
export declare function getBypassIp({ queryParams, config }: {
|
|
1535
|
-
queryParams: GetBypassIpQueryParams;
|
|
1536
|
-
config?: Partial<FetcherConfig> & {
|
|
1537
|
-
client?: typeof client;
|
|
1538
|
-
};
|
|
1539
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1540
|
-
/**
|
|
1541
|
-
* @description Create new system bypass rules
|
|
1542
|
-
* @summary Create System Bypass Rule
|
|
1543
|
-
* {@link /v1/security/firewall/bypass}
|
|
1544
|
-
*/
|
|
1545
|
-
export declare function addBypassIp({ queryParams, config }: {
|
|
1546
|
-
queryParams: AddBypassIpQueryParams;
|
|
1547
|
-
config?: Partial<FetcherConfig> & {
|
|
1548
|
-
client?: typeof client;
|
|
1549
|
-
};
|
|
1550
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1551
|
-
/**
|
|
1552
|
-
* @description Remove system bypass rules
|
|
1553
|
-
* @summary Remove System Bypass Rule
|
|
1554
|
-
* {@link /v1/security/firewall/bypass}
|
|
1555
|
-
*/
|
|
1556
|
-
export declare function removeBypassIp({ queryParams, config }: {
|
|
1557
|
-
queryParams: RemoveBypassIpQueryParams;
|
|
1558
|
-
config?: Partial<FetcherConfig> & {
|
|
1559
|
-
client?: typeof client;
|
|
1560
|
-
};
|
|
1561
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1562
|
-
/**
|
|
1563
|
-
* @description Get a paginated list of team members for the provided team.
|
|
1564
|
-
* @summary List team members
|
|
1565
|
-
* {@link /v3/teams/:teamId/members}
|
|
1566
|
-
*/
|
|
1567
|
-
export declare function getTeamMembers({ pathParams: { teamId }, queryParams, config }: {
|
|
1568
|
-
pathParams: GetTeamMembersPathParams;
|
|
1569
|
-
queryParams?: GetTeamMembersQueryParams | undefined;
|
|
1570
|
-
config?: Partial<FetcherConfig> & {
|
|
1571
|
-
client?: typeof client;
|
|
1572
|
-
};
|
|
1573
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1574
|
-
/**
|
|
1575
|
-
* @description 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.
|
|
1576
|
-
* @summary Invite a user
|
|
1577
|
-
* {@link /v1/teams/:teamId/members}
|
|
1578
|
-
*/
|
|
1579
|
-
export declare function inviteUserToTeam({ pathParams: { teamId }, config }: {
|
|
1580
|
-
pathParams: InviteUserToTeamPathParams;
|
|
1581
|
-
config?: Partial<FetcherConfig> & {
|
|
1582
|
-
client?: typeof client;
|
|
1583
|
-
};
|
|
1584
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1585
|
-
/**
|
|
1586
|
-
* @description 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.
|
|
1587
|
-
* @summary Request access to a team
|
|
1588
|
-
* {@link /v1/teams/:teamId/request}
|
|
1589
|
-
*/
|
|
1590
|
-
export declare function requestAccessToTeam({ pathParams: { teamId }, config }: {
|
|
1591
|
-
pathParams: RequestAccessToTeamPathParams;
|
|
1592
|
-
config?: Partial<FetcherConfig> & {
|
|
1593
|
-
client?: typeof client;
|
|
1594
|
-
};
|
|
1595
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1596
|
-
/**
|
|
1597
|
-
* @description 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.
|
|
1598
|
-
* @summary Get access request status
|
|
1599
|
-
* {@link /v1/teams/:teamId/request/:userId}
|
|
1600
|
-
*/
|
|
1601
|
-
export declare function getTeamAccessRequest({ pathParams: { userId, teamId }, config }: {
|
|
1602
|
-
pathParams: GetTeamAccessRequestPathParams;
|
|
1603
|
-
config?: Partial<FetcherConfig> & {
|
|
1604
|
-
client?: typeof client;
|
|
1605
|
-
};
|
|
1606
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1607
|
-
/**
|
|
1608
|
-
* @description Join a team with a provided invite code or team ID.
|
|
1609
|
-
* @summary Join a team
|
|
1610
|
-
* {@link /v1/teams/:teamId/members/teams/join}
|
|
1611
|
-
*/
|
|
1612
|
-
export declare function joinTeam({ pathParams: { teamId }, config }: {
|
|
1613
|
-
pathParams: JoinTeamPathParams;
|
|
1614
|
-
config?: Partial<FetcherConfig> & {
|
|
1615
|
-
client?: typeof client;
|
|
1616
|
-
};
|
|
1617
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1618
|
-
/**
|
|
1619
|
-
* @description 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.
|
|
1620
|
-
* @summary Update a Team Member
|
|
1621
|
-
* {@link /v1/teams/:teamId/members/:uid}
|
|
1622
|
-
*/
|
|
1623
|
-
export declare function updateTeamMember({ pathParams: { uid, teamId }, config }: {
|
|
1624
|
-
pathParams: UpdateTeamMemberPathParams;
|
|
1625
|
-
config?: Partial<FetcherConfig> & {
|
|
1626
|
-
client?: typeof client;
|
|
1627
|
-
};
|
|
1628
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1629
|
-
/**
|
|
1630
|
-
* @description Remove a Team Member from the Team, or dismiss a user that requested access, or leave a team.
|
|
1631
|
-
* @summary Remove a Team Member
|
|
1632
|
-
* {@link /v1/teams/:teamId/members/:uid}
|
|
1633
|
-
*/
|
|
1634
|
-
export declare function removeTeamMember({ pathParams: { uid, teamId }, queryParams, config }: {
|
|
1635
|
-
pathParams: RemoveTeamMemberPathParams;
|
|
1636
|
-
queryParams?: RemoveTeamMemberQueryParams | undefined;
|
|
1637
|
-
config?: Partial<FetcherConfig> & {
|
|
1638
|
-
client?: typeof client;
|
|
1639
|
-
};
|
|
1640
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1641
|
-
/**
|
|
1642
|
-
* @description Get information for the Team specified by the `teamId` parameter.
|
|
1643
|
-
* @summary Get a Team
|
|
1644
|
-
* {@link /v2/teams/:teamId}
|
|
1645
|
-
*/
|
|
1646
|
-
export declare function getTeam({ pathParams: { teamId }, queryParams, config }: {
|
|
1647
|
-
pathParams: GetTeamPathParams;
|
|
1648
|
-
queryParams?: GetTeamQueryParams | undefined;
|
|
1649
|
-
config?: Partial<FetcherConfig> & {
|
|
1650
|
-
client?: typeof client;
|
|
1651
|
-
};
|
|
1652
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1653
|
-
/**
|
|
1654
|
-
* @description 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.
|
|
1655
|
-
* @summary Update a Team
|
|
1656
|
-
* {@link /v2/teams/:teamId}
|
|
1657
|
-
*/
|
|
1658
|
-
export declare function patchTeam({ pathParams: { teamId }, queryParams, config }: {
|
|
1659
|
-
pathParams: PatchTeamPathParams;
|
|
1660
|
-
queryParams?: PatchTeamQueryParams | undefined;
|
|
1661
|
-
config?: Partial<FetcherConfig> & {
|
|
1662
|
-
client?: typeof client;
|
|
1663
|
-
};
|
|
1664
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1665
|
-
/**
|
|
1666
|
-
* @description Get a paginated list of all the Teams the authenticated User is a member of.
|
|
1667
|
-
* @summary List all teams
|
|
1668
|
-
* {@link /v2/teams}
|
|
1669
|
-
*/
|
|
1670
|
-
export declare function getTeams({ queryParams, config }: {
|
|
1671
|
-
queryParams?: GetTeamsQueryParams | undefined;
|
|
1672
|
-
config?: Partial<FetcherConfig> & {
|
|
1673
|
-
client?: typeof client;
|
|
1674
|
-
};
|
|
1675
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1676
|
-
/**
|
|
1677
|
-
* @description Create a new Team under your account. You need to send a POST request with the desired Team slug, and optionally the Team name.
|
|
1678
|
-
* @summary Create a Team
|
|
1679
|
-
* {@link /v1/teams}
|
|
1680
|
-
*/
|
|
1681
|
-
export declare function createTeam({ config }: {
|
|
1682
|
-
config?: Partial<FetcherConfig> & {
|
|
1683
|
-
client?: typeof client;
|
|
1684
|
-
};
|
|
1685
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1686
|
-
/**
|
|
1687
|
-
* @description 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.
|
|
1688
|
-
* @summary Delete a Team
|
|
1689
|
-
* {@link /v1/teams/:teamId}
|
|
1690
|
-
*/
|
|
1691
|
-
export declare function deleteTeam({ pathParams: { teamId }, queryParams, config }: {
|
|
1692
|
-
pathParams: DeleteTeamPathParams;
|
|
1693
|
-
queryParams?: DeleteTeamQueryParams | undefined;
|
|
1694
|
-
config?: Partial<FetcherConfig> & {
|
|
1695
|
-
client?: typeof client;
|
|
1696
|
-
};
|
|
1697
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1698
|
-
/**
|
|
1699
|
-
* @description Delete an active Team invite code.
|
|
1700
|
-
* @summary Delete a Team invite code
|
|
1701
|
-
* {@link /v1/teams/:teamId/invites/:inviteId}
|
|
1702
|
-
*/
|
|
1703
|
-
export declare function deleteTeamInviteCode({ pathParams: { inviteId, teamId }, config }: {
|
|
1704
|
-
pathParams: DeleteTeamInviteCodePathParams;
|
|
1705
|
-
config?: Partial<FetcherConfig> & {
|
|
1706
|
-
client?: typeof client;
|
|
1707
|
-
};
|
|
1708
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1709
|
-
/**
|
|
1710
|
-
* @description Before you create a deployment you need to upload the required files for that deployment. To do it, you need to first upload each file to this endpoint. Once that's completed, you can create a new deployment with the uploaded files. The file content must be placed inside the body of the request. In the case of a successful response you'll receive a status code 200 with an empty body.
|
|
1711
|
-
* @summary Upload Deployment Files
|
|
1712
|
-
* {@link /v2/files}
|
|
1713
|
-
*/
|
|
1714
|
-
export declare function uploadFile({ queryParams, headers, config }: {
|
|
1715
|
-
queryParams?: UploadFileQueryParams | undefined;
|
|
1716
|
-
headers?: UploadFileHeaderParams | undefined;
|
|
1717
|
-
config?: Partial<FetcherConfig> & {
|
|
1718
|
-
client?: typeof client;
|
|
1719
|
-
};
|
|
1720
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1721
|
-
/**
|
|
1722
|
-
* @description Retrieve a list of the current User's authentication tokens.
|
|
1723
|
-
* @summary List Auth Tokens
|
|
1724
|
-
* {@link /v5/user/tokens}
|
|
1725
|
-
*/
|
|
1726
|
-
export declare function listAuthTokens({ config }: {
|
|
1727
|
-
config?: Partial<FetcherConfig> & {
|
|
1728
|
-
client?: typeof client;
|
|
1729
|
-
};
|
|
1730
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1731
|
-
/**
|
|
1732
|
-
* @description Creates and returns a new authentication token for the currently authenticated User. The `bearerToken` property is only provided once, in the response body, so be sure to save it on the client for use with API requests.
|
|
1733
|
-
* @summary Create an Auth Token
|
|
1734
|
-
* {@link /v3/user/tokens}
|
|
1735
|
-
*/
|
|
1736
|
-
export declare function createAuthToken({ queryParams, config }: {
|
|
1737
|
-
queryParams?: CreateAuthTokenQueryParams | undefined;
|
|
1738
|
-
config?: Partial<FetcherConfig> & {
|
|
1739
|
-
client?: typeof client;
|
|
1740
|
-
};
|
|
1741
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1742
|
-
/**
|
|
1743
|
-
* @description Retrieve metadata about an authentication token belonging to the currently authenticated User.
|
|
1744
|
-
* @summary Get Auth Token Metadata
|
|
1745
|
-
* {@link /v5/user/tokens/:tokenId}
|
|
1746
|
-
*/
|
|
1747
|
-
export declare function getAuthToken({ pathParams: { tokenId }, config }: {
|
|
1748
|
-
pathParams: GetAuthTokenPathParams;
|
|
1749
|
-
config?: Partial<FetcherConfig> & {
|
|
1750
|
-
client?: typeof client;
|
|
1751
|
-
};
|
|
1752
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1753
|
-
/**
|
|
1754
|
-
* @description Invalidate an authentication token, such that it will no longer be valid for future HTTP requests.
|
|
1755
|
-
* @summary Delete an authentication token
|
|
1756
|
-
* {@link /v3/user/tokens/:tokenId}
|
|
1757
|
-
*/
|
|
1758
|
-
export declare function deleteAuthToken({ pathParams: { tokenId }, config }: {
|
|
1759
|
-
pathParams: DeleteAuthTokenPathParams;
|
|
1760
|
-
config?: Partial<FetcherConfig> & {
|
|
1761
|
-
client?: typeof client;
|
|
1762
|
-
};
|
|
1763
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1764
|
-
/**
|
|
1765
|
-
* @description Retrieves information related to the currently authenticated User.
|
|
1766
|
-
* @summary Get the User
|
|
1767
|
-
* {@link /v2/user}
|
|
1768
|
-
*/
|
|
1769
|
-
export declare function getAuthUser({ config }: {
|
|
1770
|
-
config?: Partial<FetcherConfig> & {
|
|
1771
|
-
client?: typeof client;
|
|
1772
|
-
};
|
|
1773
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1774
|
-
/**
|
|
1775
|
-
* @description 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.
|
|
1776
|
-
* @summary Delete User Account
|
|
1777
|
-
* {@link /v1/user}
|
|
1778
|
-
*/
|
|
1779
|
-
export declare function requestDelete({ config }: {
|
|
1780
|
-
config?: Partial<FetcherConfig> & {
|
|
1781
|
-
client?: typeof client;
|
|
1782
|
-
};
|
|
1783
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1784
|
-
/**
|
|
1785
|
-
* @description Creates a webhook
|
|
1786
|
-
* @summary Creates a webhook
|
|
1787
|
-
* {@link /v1/webhooks}
|
|
1788
|
-
*/
|
|
1789
|
-
export declare function createWebhook({ queryParams, config }: {
|
|
1790
|
-
queryParams?: CreateWebhookQueryParams | undefined;
|
|
1791
|
-
config?: Partial<FetcherConfig> & {
|
|
1792
|
-
client?: typeof client;
|
|
1793
|
-
};
|
|
1794
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1795
|
-
/**
|
|
1796
|
-
* @description Get a list of webhooks
|
|
1797
|
-
* @summary Get a list of webhooks
|
|
1798
|
-
* {@link /v1/webhooks}
|
|
1799
|
-
*/
|
|
1800
|
-
export declare function getWebhooks({ queryParams, config }: {
|
|
1801
|
-
queryParams?: GetWebhooksQueryParams | undefined;
|
|
1802
|
-
config?: Partial<FetcherConfig> & {
|
|
1803
|
-
client?: typeof client;
|
|
1804
|
-
};
|
|
1805
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1806
|
-
/**
|
|
1807
|
-
* @description Get a webhook
|
|
1808
|
-
* @summary Get a webhook
|
|
1809
|
-
* {@link /v1/webhooks/:id}
|
|
1810
|
-
*/
|
|
1811
|
-
export declare function getWebhook({ pathParams: { id }, queryParams, config }: {
|
|
1812
|
-
pathParams: GetWebhookPathParams;
|
|
1813
|
-
queryParams?: GetWebhookQueryParams | undefined;
|
|
1814
|
-
config?: Partial<FetcherConfig> & {
|
|
1815
|
-
client?: typeof client;
|
|
1816
|
-
};
|
|
1817
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1818
|
-
/**
|
|
1819
|
-
* @description Deletes a webhook
|
|
1820
|
-
* @summary Deletes a webhook
|
|
1821
|
-
* {@link /v1/webhooks/:id}
|
|
1822
|
-
*/
|
|
1823
|
-
export declare function deleteWebhook({ pathParams: { id }, queryParams, config }: {
|
|
1824
|
-
pathParams: DeleteWebhookPathParams;
|
|
1825
|
-
queryParams?: DeleteWebhookQueryParams | undefined;
|
|
1826
|
-
config?: Partial<FetcherConfig> & {
|
|
1827
|
-
client?: typeof client;
|
|
1828
|
-
};
|
|
1829
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1830
|
-
/**
|
|
1831
|
-
* @description Retrieves all Aliases for the Deployment with the given ID. The authenticated user or team must own the deployment.
|
|
1832
|
-
* @summary List Deployment Aliases
|
|
1833
|
-
* {@link /v2/deployments/:id/aliases}
|
|
1834
|
-
*/
|
|
1835
|
-
export declare function listDeploymentAliases({ pathParams: { id }, queryParams, config }: {
|
|
1836
|
-
pathParams: ListDeploymentAliasesPathParams;
|
|
1837
|
-
queryParams?: ListDeploymentAliasesQueryParams | undefined;
|
|
1838
|
-
config?: Partial<FetcherConfig> & {
|
|
1839
|
-
client?: typeof client;
|
|
1840
|
-
};
|
|
1841
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1842
|
-
/**
|
|
1843
|
-
* @description 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.
|
|
1844
|
-
* @summary Assign an Alias
|
|
1845
|
-
* {@link /v2/deployments/:id/aliases}
|
|
1846
|
-
*/
|
|
1847
|
-
export declare function assignAlias({ pathParams: { id }, queryParams, config }: {
|
|
1848
|
-
pathParams: AssignAliasPathParams;
|
|
1849
|
-
queryParams?: AssignAliasQueryParams | undefined;
|
|
1850
|
-
config?: Partial<FetcherConfig> & {
|
|
1851
|
-
client?: typeof client;
|
|
1852
|
-
};
|
|
1853
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1854
|
-
/**
|
|
1855
|
-
* @description Retrieves a list of aliases for the authenticated User or Team. When `domain` is provided, only aliases for that domain will be returned. When `projectId` is provided, it will only return the given project aliases.
|
|
1856
|
-
* @summary List aliases
|
|
1857
|
-
* {@link /v4/aliases}
|
|
1858
|
-
*/
|
|
1859
|
-
export declare function listAliases({ queryParams, config }: {
|
|
1860
|
-
queryParams?: ListAliasesQueryParams | undefined;
|
|
1861
|
-
config?: Partial<FetcherConfig> & {
|
|
1862
|
-
client?: typeof client;
|
|
1863
|
-
};
|
|
1864
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1865
|
-
/**
|
|
1866
|
-
* @description Retrieves an Alias for the given host name or alias ID.
|
|
1867
|
-
* @summary Get an Alias
|
|
1868
|
-
* {@link /v4/aliases/:idOrAlias}
|
|
1869
|
-
*/
|
|
1870
|
-
export declare function getAlias({ pathParams: { idOrAlias }, queryParams, config }: {
|
|
1871
|
-
pathParams: GetAliasPathParams;
|
|
1872
|
-
queryParams?: GetAliasQueryParams | undefined;
|
|
1873
|
-
config?: Partial<FetcherConfig> & {
|
|
1874
|
-
client?: typeof client;
|
|
1875
|
-
};
|
|
1876
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1877
|
-
/**
|
|
1878
|
-
* @description Delete an Alias with the specified ID.
|
|
1879
|
-
* @summary Delete an Alias
|
|
1880
|
-
* {@link /v2/aliases/:aliasId}
|
|
1881
|
-
*/
|
|
1882
|
-
export declare function deleteAlias({ pathParams: { aliasId }, queryParams, config }: {
|
|
1883
|
-
pathParams: DeleteAliasPathParams;
|
|
1884
|
-
queryParams?: DeleteAliasQueryParams | undefined;
|
|
1885
|
-
config?: Partial<FetcherConfig> & {
|
|
1886
|
-
client?: typeof client;
|
|
1887
|
-
};
|
|
1888
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1889
|
-
/**
|
|
1890
|
-
* @description 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).
|
|
1891
|
-
* @summary Update the protection bypass for a URL
|
|
1892
|
-
* {@link /aliases/:id/protection-bypass}
|
|
1893
|
-
*/
|
|
1894
|
-
export declare function patchUrlProtectionBypass({ pathParams: { id }, queryParams, config }: {
|
|
1895
|
-
pathParams: PatchUrlProtectionBypassPathParams;
|
|
1896
|
-
queryParams?: PatchUrlProtectionBypassQueryParams | undefined;
|
|
1897
|
-
config?: Partial<FetcherConfig> & {
|
|
1898
|
-
client?: typeof client;
|
|
1899
|
-
};
|
|
1900
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1901
|
-
/**
|
|
1902
|
-
* {@link /certs}
|
|
1903
|
-
*/
|
|
1904
|
-
export declare function listCerts({ config }: {
|
|
1905
|
-
config?: Partial<FetcherConfig> & {
|
|
1906
|
-
client?: typeof client;
|
|
1907
|
-
};
|
|
1908
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1909
|
-
/**
|
|
1910
|
-
* @description Get cert by id
|
|
1911
|
-
* @summary Get cert by id
|
|
1912
|
-
* {@link /v8/certs/:id}
|
|
1913
|
-
*/
|
|
1914
|
-
export declare function getCertById({ pathParams: { id }, queryParams, config }: {
|
|
1915
|
-
pathParams: GetCertByIdPathParams;
|
|
1916
|
-
queryParams?: GetCertByIdQueryParams | undefined;
|
|
1917
|
-
config?: Partial<FetcherConfig> & {
|
|
1918
|
-
client?: typeof client;
|
|
1919
|
-
};
|
|
1920
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1921
|
-
/**
|
|
1922
|
-
* @description Remove cert
|
|
1923
|
-
* @summary Remove cert
|
|
1924
|
-
* {@link /v8/certs/:id}
|
|
1925
|
-
*/
|
|
1926
|
-
export declare function removeCert({ pathParams: { id }, queryParams, config }: {
|
|
1927
|
-
pathParams: RemoveCertPathParams;
|
|
1928
|
-
queryParams?: RemoveCertQueryParams | undefined;
|
|
1929
|
-
config?: Partial<FetcherConfig> & {
|
|
1930
|
-
client?: typeof client;
|
|
1931
|
-
};
|
|
1932
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1933
|
-
/**
|
|
1934
|
-
* @description Issue a new cert
|
|
1935
|
-
* @summary Issue a new cert
|
|
1936
|
-
* {@link /v8/certs}
|
|
1937
|
-
*/
|
|
1938
|
-
export declare function issueCert({ queryParams, config }: {
|
|
1939
|
-
queryParams?: IssueCertQueryParams | undefined;
|
|
1940
|
-
config?: Partial<FetcherConfig> & {
|
|
1941
|
-
client?: typeof client;
|
|
1942
|
-
};
|
|
1943
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1944
|
-
/**
|
|
1945
|
-
* @description Upload a cert
|
|
1946
|
-
* @summary Upload a cert
|
|
1947
|
-
* {@link /v8/certs}
|
|
1948
|
-
*/
|
|
1949
|
-
export declare function uploadCert({ queryParams, config }: {
|
|
1950
|
-
queryParams?: UploadCertQueryParams | undefined;
|
|
1951
|
-
config?: Partial<FetcherConfig> & {
|
|
1952
|
-
client?: typeof client;
|
|
1953
|
-
};
|
|
1954
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1955
|
-
/**
|
|
1956
|
-
* @description 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.
|
|
1957
|
-
* @summary List Deployment Files
|
|
1958
|
-
* {@link /v6/deployments/:id/files}
|
|
1959
|
-
*/
|
|
1960
|
-
export declare function listDeploymentFiles({ pathParams: { id }, queryParams, config }: {
|
|
1961
|
-
pathParams: ListDeploymentFilesPathParams;
|
|
1962
|
-
queryParams?: ListDeploymentFilesQueryParams | undefined;
|
|
1963
|
-
config?: Partial<FetcherConfig> & {
|
|
1964
|
-
client?: typeof client;
|
|
1965
|
-
};
|
|
1966
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1967
|
-
/**
|
|
1968
|
-
* @description 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.
|
|
1969
|
-
* @summary Get Deployment File Contents
|
|
1970
|
-
* {@link /v8/deployments/:id/files/:fileId}
|
|
1971
|
-
*/
|
|
1972
|
-
export declare function getDeploymentFileContents({ pathParams: { id, fileId }, queryParams, config }: {
|
|
1973
|
-
pathParams: GetDeploymentFileContentsPathParams;
|
|
1974
|
-
queryParams?: GetDeploymentFileContentsQueryParams | undefined;
|
|
1975
|
-
config?: Partial<FetcherConfig> & {
|
|
1976
|
-
client?: typeof client;
|
|
1977
|
-
};
|
|
1978
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1979
|
-
/**
|
|
1980
|
-
* @description List deployments under the authenticated user or team. If a deployment hasn't finished uploading (is incomplete), the `url` property will have a value of `null`.
|
|
1981
|
-
* @summary List deployments
|
|
1982
|
-
* {@link /v6/deployments}
|
|
1983
|
-
*/
|
|
1984
|
-
export declare function getDeployments({ queryParams, config }: {
|
|
1985
|
-
queryParams?: GetDeploymentsQueryParams | undefined;
|
|
1986
|
-
config?: Partial<FetcherConfig> & {
|
|
1987
|
-
client?: typeof client;
|
|
1988
|
-
};
|
|
1989
|
-
}): Promise<Promise<CallToolResult>>;
|
|
1990
|
-
/**
|
|
1991
|
-
* @description 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.
|
|
1992
|
-
* @summary Delete a Deployment
|
|
1993
|
-
* {@link /v13/deployments/:id}
|
|
1994
|
-
*/
|
|
1995
|
-
export declare function deleteDeployment({ pathParams: { id }, queryParams, config }: {
|
|
1996
|
-
pathParams: DeleteDeploymentPathParams;
|
|
1997
|
-
queryParams?: DeleteDeploymentQueryParams | undefined;
|
|
1998
|
-
config?: Partial<FetcherConfig> & {
|
|
1999
|
-
client?: typeof client;
|
|
2000
|
-
};
|
|
2001
|
-
}): Promise<Promise<CallToolResult>>;
|
|
2002
|
-
/**
|
|
2003
|
-
* @description Retrieves the active Vercel secrets for the authenticated user or team. By default it returns 20 secrets. The rest can be retrieved using the pagination options. The body will contain an entry for each secret.
|
|
2004
|
-
* @summary List secrets
|
|
2005
|
-
* {@link /v3/secrets}
|
|
2006
|
-
*/
|
|
2007
|
-
export declare function getSecrets({ queryParams, config }: {
|
|
2008
|
-
queryParams?: GetSecretsQueryParams | undefined;
|
|
2009
|
-
config?: Partial<FetcherConfig> & {
|
|
2010
|
-
client?: typeof client;
|
|
2011
|
-
};
|
|
2012
|
-
}): Promise<Promise<CallToolResult>>;
|
|
2013
|
-
/**
|
|
2014
|
-
* @description Allows to create a new secret.
|
|
2015
|
-
* @summary Create a new secret
|
|
2016
|
-
* {@link /v2/secrets/:name}
|
|
2017
|
-
*/
|
|
2018
|
-
export declare function createSecret({ pathParams: { name }, queryParams, config }: {
|
|
2019
|
-
pathParams: CreateSecretPathParams;
|
|
2020
|
-
queryParams?: CreateSecretQueryParams | undefined;
|
|
2021
|
-
config?: Partial<FetcherConfig> & {
|
|
2022
|
-
client?: typeof client;
|
|
2023
|
-
};
|
|
2024
|
-
}): Promise<Promise<CallToolResult>>;
|
|
2025
|
-
/**
|
|
2026
|
-
* @description Enables to edit the name of a secret. The name has to be unique to the user or team’s secrets.
|
|
2027
|
-
* @summary Change secret name
|
|
2028
|
-
* {@link /v2/secrets/:name}
|
|
2029
|
-
*/
|
|
2030
|
-
export declare function renameSecret({ pathParams: { name }, queryParams, config }: {
|
|
2031
|
-
pathParams: RenameSecretPathParams;
|
|
2032
|
-
queryParams?: RenameSecretQueryParams | undefined;
|
|
2033
|
-
config?: Partial<FetcherConfig> & {
|
|
2034
|
-
client?: typeof client;
|
|
2035
|
-
};
|
|
2036
|
-
}): Promise<Promise<CallToolResult>>;
|
|
2037
|
-
/**
|
|
2038
|
-
* @description Retrieves the information for a specific secret by passing either the secret id or name in the URL.
|
|
2039
|
-
* @summary Get a single secret
|
|
2040
|
-
* {@link /v3/secrets/:idOrName}
|
|
2041
|
-
*/
|
|
2042
|
-
export declare function getSecret({ pathParams: { idOrName }, queryParams, config }: {
|
|
2043
|
-
pathParams: GetSecretPathParams;
|
|
2044
|
-
queryParams?: GetSecretQueryParams | undefined;
|
|
2045
|
-
config?: Partial<FetcherConfig> & {
|
|
2046
|
-
client?: typeof client;
|
|
2047
|
-
};
|
|
2048
|
-
}): Promise<Promise<CallToolResult>>;
|
|
2049
|
-
/**
|
|
2050
|
-
* @description This deletes the user or team’s secret defined in the URL.
|
|
2051
|
-
* @summary Delete a secret
|
|
2052
|
-
* {@link /v2/secrets/:idOrName}
|
|
2053
|
-
*/
|
|
2054
|
-
export declare function deleteSecret({ pathParams: { idOrName }, queryParams, config }: {
|
|
2055
|
-
pathParams: DeleteSecretPathParams;
|
|
2056
|
-
queryParams?: DeleteSecretQueryParams | undefined;
|
|
2057
|
-
config?: Partial<FetcherConfig> & {
|
|
2058
|
-
client?: typeof client;
|
|
2059
|
-
};
|
|
2060
|
-
}): Promise<Promise<CallToolResult>>;
|
|
2061
|
-
export declare function initMcpTools<Server>(serverLike: Server, config: FetcherConfig): void;
|