vercel-api-js 0.1.16 → 0.1.17
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/.turbo/turbo-build.log +3 -3
- package/CHANGELOG.md +6 -0
- package/dist/index.cjs +352 -352
- package/dist/index.d.ts +10469 -10416
- package/dist/index.mjs +352 -352
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -136,162 +136,82 @@ const artifactQuery = (variables, signal) => fetch$1({
|
|
|
136
136
|
signal
|
|
137
137
|
});
|
|
138
138
|
/**
|
|
139
|
-
*
|
|
140
|
-
*/
|
|
141
|
-
const getDeployment = (variables, signal) => fetch$1({ url: '/v13/deployments/{idOrUrl}', method: 'get', ...variables, signal });
|
|
142
|
-
/**
|
|
143
|
-
* 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.
|
|
144
|
-
*/
|
|
145
|
-
const createDeployment = (variables, signal) => fetch$1({ url: '/v13/deployments', method: 'post', ...variables, signal });
|
|
146
|
-
/**
|
|
147
|
-
* This endpoint allows you to cancel a deployment which is currently building, by supplying its `id` in the URL.
|
|
148
|
-
*/
|
|
149
|
-
const cancelDeployment = (variables, signal) => fetch$1({ url: '/v12/deployments/{id}/cancel', method: 'patch', ...variables, signal });
|
|
150
|
-
/**
|
|
151
|
-
* Get cert by id
|
|
139
|
+
* List all of the checks created for a deployment.
|
|
152
140
|
*/
|
|
153
|
-
const
|
|
154
|
-
url: '/
|
|
141
|
+
const getAllChecks = (variables, signal) => fetch$1({
|
|
142
|
+
url: '/v1/deployments/{deploymentId}/checks',
|
|
155
143
|
method: 'get',
|
|
156
144
|
...variables,
|
|
157
145
|
signal
|
|
158
146
|
});
|
|
159
147
|
/**
|
|
160
|
-
*
|
|
161
|
-
*/
|
|
162
|
-
const removeCert = (variables, signal) => fetch$1({
|
|
163
|
-
url: '/v7/certs/{id}',
|
|
164
|
-
method: 'delete',
|
|
165
|
-
...variables,
|
|
166
|
-
signal
|
|
167
|
-
});
|
|
168
|
-
/**
|
|
169
|
-
* Upload a cert
|
|
170
|
-
*/
|
|
171
|
-
const uploadCert = (variables, signal) => fetch$1({
|
|
172
|
-
url: '/v7/certs',
|
|
173
|
-
method: 'put',
|
|
174
|
-
...variables,
|
|
175
|
-
signal
|
|
176
|
-
});
|
|
177
|
-
/**
|
|
178
|
-
* Issue a new cert
|
|
179
|
-
*/
|
|
180
|
-
const issueCert = (variables, signal) => fetch$1({
|
|
181
|
-
url: '/v7/certs',
|
|
182
|
-
method: 'post',
|
|
183
|
-
...variables,
|
|
184
|
-
signal
|
|
185
|
-
});
|
|
186
|
-
/**
|
|
187
|
-
* 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.
|
|
188
|
-
*/
|
|
189
|
-
const getDeploymentEvents = (variables, signal) => fetch$1({ url: '/v2/deployments/{idOrUrl}/events', method: 'get', ...variables, signal });
|
|
190
|
-
/**
|
|
191
|
-
* 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.
|
|
148
|
+
* Creates a new check. This endpoint must be called with an OAuth2 or it will produce a 400 error.
|
|
192
149
|
*/
|
|
193
|
-
const
|
|
194
|
-
url: '/v3/events',
|
|
195
|
-
method: 'get',
|
|
196
|
-
...variables,
|
|
197
|
-
signal
|
|
198
|
-
});
|
|
150
|
+
const createCheck = (variables, signal) => fetch$1({ url: '/v1/deployments/{deploymentId}/checks', method: 'post', ...variables, signal });
|
|
199
151
|
/**
|
|
200
|
-
*
|
|
152
|
+
* Return a detailed response for a single check.
|
|
201
153
|
*/
|
|
202
|
-
const
|
|
203
|
-
url: '/
|
|
154
|
+
const getCheck = (variables, signal) => fetch$1({
|
|
155
|
+
url: '/v1/deployments/{deploymentId}/checks/{checkId}',
|
|
204
156
|
method: 'get',
|
|
205
157
|
...variables,
|
|
206
158
|
signal
|
|
207
159
|
});
|
|
208
160
|
/**
|
|
209
|
-
*
|
|
161
|
+
* Update an existing check. This endpoint must be called with an OAuth2 or it will produce a 400 error.
|
|
210
162
|
*/
|
|
211
|
-
const
|
|
212
|
-
url: '/v4/aliases/{idOrAlias}',
|
|
213
|
-
method: 'get',
|
|
214
|
-
...variables,
|
|
215
|
-
signal
|
|
216
|
-
});
|
|
163
|
+
const updateCheck = (variables, signal) => fetch$1({ url: '/v1/deployments/{deploymentId}/checks/{checkId}', method: 'patch', ...variables, signal });
|
|
217
164
|
/**
|
|
218
|
-
*
|
|
165
|
+
* Rerequest a selected check that has failed.
|
|
219
166
|
*/
|
|
220
|
-
const
|
|
221
|
-
url: '/
|
|
222
|
-
method: '
|
|
167
|
+
const rerequestCheck = (variables, signal) => fetch$1({
|
|
168
|
+
url: '/v1/deployments/{deploymentId}/checks/{checkId}/rerequest',
|
|
169
|
+
method: 'post',
|
|
223
170
|
...variables,
|
|
224
171
|
signal
|
|
225
172
|
});
|
|
226
173
|
/**
|
|
227
|
-
*
|
|
228
|
-
*/
|
|
229
|
-
const listDeploymentAliases = (variables, signal) => fetch$1({ url: '/v2/deployments/{id}/aliases', method: 'get', ...variables, signal });
|
|
230
|
-
/**
|
|
231
|
-
* Creates a new alias for the deployment with the given deployment ID. The authenticated user 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.
|
|
174
|
+
* 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.
|
|
232
175
|
*/
|
|
233
|
-
const
|
|
176
|
+
const getDeploymentEvents = (variables, signal) => fetch$1({ url: '/v2/deployments/{idOrUrl}/events', method: 'get', ...variables, signal });
|
|
234
177
|
/**
|
|
235
|
-
*
|
|
178
|
+
* 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 is an owner of the deployment.
|
|
236
179
|
*/
|
|
237
|
-
const
|
|
180
|
+
const getDeployment = (variables, signal) => fetch$1({ url: '/v13/deployments/{idOrUrl}', method: 'get', ...variables, signal });
|
|
238
181
|
/**
|
|
239
|
-
*
|
|
182
|
+
* 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.
|
|
240
183
|
*/
|
|
241
|
-
const
|
|
242
|
-
url: '/v2/user',
|
|
243
|
-
method: 'get',
|
|
244
|
-
...variables,
|
|
245
|
-
signal
|
|
246
|
-
});
|
|
184
|
+
const createDeployment = (variables, signal) => fetch$1({ url: '/v13/deployments', method: 'post', ...variables, signal });
|
|
247
185
|
/**
|
|
248
|
-
*
|
|
186
|
+
* This endpoint allows you to cancel a deployment which is currently building, by supplying its `id` in the URL.
|
|
249
187
|
*/
|
|
250
|
-
const
|
|
251
|
-
url: '/v1/user',
|
|
252
|
-
method: 'delete',
|
|
253
|
-
...variables,
|
|
254
|
-
signal
|
|
255
|
-
});
|
|
188
|
+
const cancelDeployment = (variables, signal) => fetch$1({ url: '/v12/deployments/{id}/cancel', method: 'patch', ...variables, signal });
|
|
256
189
|
/**
|
|
257
|
-
*
|
|
190
|
+
* Allows to purchase the specified domain.
|
|
258
191
|
*/
|
|
259
|
-
const
|
|
260
|
-
url: '/
|
|
261
|
-
method: '
|
|
192
|
+
const buyDomain = (variables, signal) => fetch$1({
|
|
193
|
+
url: '/v4/domains/buy',
|
|
194
|
+
method: 'post',
|
|
262
195
|
...variables,
|
|
263
196
|
signal
|
|
264
197
|
});
|
|
265
198
|
/**
|
|
266
|
-
*
|
|
267
|
-
*/
|
|
268
|
-
const createAuthToken = (variables, signal) => fetch$1({ url: '/v3/user/tokens', method: 'post', ...variables, signal });
|
|
269
|
-
/**
|
|
270
|
-
* Retrieve metadata about an authentication token belonging to the currently authenticated User.
|
|
199
|
+
* Check the price to purchase a domain and how long a single purchase period is.
|
|
271
200
|
*/
|
|
272
|
-
const
|
|
273
|
-
url: '/
|
|
201
|
+
const checkDomainPrice = (variables, signal) => fetch$1({
|
|
202
|
+
url: '/v4/domains/price',
|
|
274
203
|
method: 'get',
|
|
275
204
|
...variables,
|
|
276
205
|
signal
|
|
277
206
|
});
|
|
278
207
|
/**
|
|
279
|
-
*
|
|
208
|
+
* Creates a DNS record for a domain.
|
|
280
209
|
*/
|
|
281
|
-
const
|
|
282
|
-
url: '/v3/user/tokens/{tokenId}',
|
|
283
|
-
method: 'delete',
|
|
284
|
-
...variables,
|
|
285
|
-
signal
|
|
286
|
-
});
|
|
210
|
+
const createRecord = (variables, signal) => fetch$1({ url: '/v2/domains/{domain}/records', method: 'post', ...variables, signal });
|
|
287
211
|
/**
|
|
288
212
|
* 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.
|
|
289
213
|
*/
|
|
290
214
|
const getRecords = (variables, signal) => fetch$1({ url: '/v4/domains/{domain}/records', method: 'get', ...variables, signal });
|
|
291
|
-
/**
|
|
292
|
-
* Creates a DNS record for a domain.
|
|
293
|
-
*/
|
|
294
|
-
const createRecord = (variables, signal) => fetch$1({ url: '/v2/domains/{domain}/records', method: 'post', ...variables, signal });
|
|
295
215
|
/**
|
|
296
216
|
* Updates an existing DNS record for a domain name.
|
|
297
217
|
*/
|
|
@@ -314,24 +234,6 @@ const checkDomainStatus = (variables, signal) => fetch$1({
|
|
|
314
234
|
...variables,
|
|
315
235
|
signal
|
|
316
236
|
});
|
|
317
|
-
/**
|
|
318
|
-
* Check the price to purchase a domain and how long a single purchase period is.
|
|
319
|
-
*/
|
|
320
|
-
const checkDomainPrice = (variables, signal) => fetch$1({
|
|
321
|
-
url: '/v4/domains/price',
|
|
322
|
-
method: 'get',
|
|
323
|
-
...variables,
|
|
324
|
-
signal
|
|
325
|
-
});
|
|
326
|
-
/**
|
|
327
|
-
* Allows to purchase the specified domain.
|
|
328
|
-
*/
|
|
329
|
-
const buyDomain = (variables, signal) => fetch$1({
|
|
330
|
-
url: '/v4/domains/buy',
|
|
331
|
-
method: 'post',
|
|
332
|
-
...variables,
|
|
333
|
-
signal
|
|
334
|
-
});
|
|
335
237
|
/**
|
|
336
238
|
* Get a Domain's configuration.
|
|
337
239
|
*/
|
|
@@ -368,58 +270,140 @@ const deleteDomain = (variables, signal) => fetch$1({
|
|
|
368
270
|
signal
|
|
369
271
|
});
|
|
370
272
|
/**
|
|
371
|
-
*
|
|
273
|
+
* Returns all Edge Configs.
|
|
372
274
|
*/
|
|
373
|
-
const
|
|
374
|
-
url: '/
|
|
275
|
+
const getEdgeConfigs = (variables, signal) => fetch$1({
|
|
276
|
+
url: '/v1/edge-config',
|
|
375
277
|
method: 'get',
|
|
376
278
|
...variables,
|
|
377
279
|
signal
|
|
378
280
|
});
|
|
379
281
|
/**
|
|
380
|
-
*
|
|
282
|
+
* Creates an Edge Config.
|
|
381
283
|
*/
|
|
382
|
-
const
|
|
383
|
-
|
|
384
|
-
|
|
284
|
+
const createEdgeConfig = (variables, signal) => fetch$1({ url: '/v1/edge-config', method: 'post', ...variables, signal });
|
|
285
|
+
/**
|
|
286
|
+
* Returns an Edge Config.
|
|
287
|
+
*/
|
|
288
|
+
const getEdgeConfig = (variables, signal) => fetch$1({
|
|
289
|
+
url: '/v1/edge-config/{edgeConfigId}',
|
|
290
|
+
method: 'get',
|
|
385
291
|
...variables,
|
|
386
292
|
signal
|
|
387
293
|
});
|
|
388
294
|
/**
|
|
389
|
-
*
|
|
295
|
+
* Updates an Edge Config.
|
|
390
296
|
*/
|
|
391
|
-
const
|
|
297
|
+
const updateEdgeConfig = (variables, signal) => fetch$1({ url: '/v1/edge-config/{edgeConfigId}', method: 'put', ...variables, signal });
|
|
392
298
|
/**
|
|
393
|
-
*
|
|
299
|
+
* Delete an Edge Config by id.
|
|
394
300
|
*/
|
|
395
|
-
const
|
|
396
|
-
url: '/
|
|
301
|
+
const deleteEdgeConfig = (variables, signal) => fetch$1({
|
|
302
|
+
url: '/v1/edge-config/{edgeConfigId}',
|
|
303
|
+
method: 'delete',
|
|
304
|
+
...variables,
|
|
305
|
+
signal
|
|
306
|
+
});
|
|
307
|
+
/**
|
|
308
|
+
* Returns all items of an Edge Config.
|
|
309
|
+
*/
|
|
310
|
+
const getEdgeConfigItems = (variables, signal) => fetch$1({ url: '/v1/edge-config/{edgeConfigId}/items', method: 'get', ...variables, signal });
|
|
311
|
+
/**
|
|
312
|
+
* Update multiple Edge Config Items in batch.
|
|
313
|
+
*/
|
|
314
|
+
const patchtEdgeConfigItems = (variables, signal) => fetch$1({ url: '/v1/edge-config/{edgeConfigId}/items', method: 'patch', ...variables, signal });
|
|
315
|
+
/**
|
|
316
|
+
* Returns a specific Edge Config Item.
|
|
317
|
+
*/
|
|
318
|
+
const getEdgeConfigItem = (variables, signal) => fetch$1({ url: '/v1/edge-config/{edgeConfigId}/item/{edgeConfigItemKey}', method: 'get', ...variables, signal });
|
|
319
|
+
/**
|
|
320
|
+
* Returns all tokens of an Edge Config.
|
|
321
|
+
*/
|
|
322
|
+
const getEdgeConfigTokens = (variables, signal) => fetch$1({ url: '/v1/edge-config/{edgeConfigId}/tokens', method: 'get', ...variables, signal });
|
|
323
|
+
/**
|
|
324
|
+
* Deletes one or more tokens of an existing Edge Config.
|
|
325
|
+
*/
|
|
326
|
+
const deleteEdgeConfigTokens = (variables, signal) => fetch$1({ url: '/v1/edge-config/{edgeConfigId}/tokens', method: 'delete', ...variables, signal });
|
|
327
|
+
/**
|
|
328
|
+
* Return meta data about an Edge Config token.
|
|
329
|
+
*/
|
|
330
|
+
const getEdgeConfigToken = (variables, signal) => fetch$1({ url: '/v1/edge-config/{edgeConfigId}/token/{token}', method: 'get', ...variables, signal });
|
|
331
|
+
/**
|
|
332
|
+
* Adds a token to an existing Edge Config.
|
|
333
|
+
*/
|
|
334
|
+
const createEdgeConfigToken = (variables, signal) => fetch$1({ url: '/v1/edge-config/{edgeConfigId}/token', method: 'post', ...variables, signal });
|
|
335
|
+
/**
|
|
336
|
+
* 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.
|
|
337
|
+
*/
|
|
338
|
+
const listUserEvents = (variables, signal) => fetch$1({
|
|
339
|
+
url: '/v3/events',
|
|
397
340
|
method: 'get',
|
|
398
341
|
...variables,
|
|
399
342
|
signal
|
|
400
343
|
});
|
|
401
344
|
/**
|
|
402
|
-
*
|
|
345
|
+
* 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.
|
|
403
346
|
*/
|
|
404
|
-
const
|
|
405
|
-
|
|
406
|
-
|
|
347
|
+
const getConfigurations = (variables, signal) => fetch$1({ url: '/v1/integrations/configurations', method: 'get', ...variables, signal });
|
|
348
|
+
/**
|
|
349
|
+
* 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.
|
|
350
|
+
*/
|
|
351
|
+
const getConfiguration = (variables, signal) => fetch$1({ url: '/v1/integrations/configuration/{id}', method: 'get', ...variables, signal });
|
|
352
|
+
/**
|
|
353
|
+
* 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.
|
|
354
|
+
*/
|
|
355
|
+
const deleteConfiguration = (variables, signal) => fetch$1({ url: '/v1/integrations/configuration/{id}', method: 'delete', ...variables, signal });
|
|
356
|
+
/**
|
|
357
|
+
* Retrieves a list of all Integration log drains that are defined for the authorized account. When using an OAuth2 token, the list is limited to log drains created by the authenticated integration.
|
|
358
|
+
*/
|
|
359
|
+
const getIntegrationLogDrains = (variables, signal) => fetch$1({ url: '/v2/integrations/log-drains', method: 'get', ...variables, signal });
|
|
360
|
+
/**
|
|
361
|
+
* 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.
|
|
362
|
+
*/
|
|
363
|
+
const createLogDrain = (variables, signal) => fetch$1({
|
|
364
|
+
url: '/v2/integrations/log-drains',
|
|
365
|
+
method: 'post',
|
|
407
366
|
...variables,
|
|
408
367
|
signal
|
|
409
368
|
});
|
|
410
369
|
/**
|
|
411
|
-
*
|
|
370
|
+
* 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.
|
|
412
371
|
*/
|
|
413
|
-
const
|
|
372
|
+
const deleteIntegrationLogDrain = (variables, signal) => fetch$1({ url: '/v1/integrations/log-drains/{id}', method: 'delete', ...variables, signal });
|
|
414
373
|
/**
|
|
415
|
-
*
|
|
374
|
+
* Lists git namespaces for a supported provider. Supported providers are `github`, `gitlab` and `bitbucket`. If the provider is not provided, it will try to obtain it from the user that authenticated the request.
|
|
416
375
|
*/
|
|
417
|
-
const
|
|
418
|
-
url: '/
|
|
376
|
+
const gitNamespaces = (variables, signal) => fetch$1({
|
|
377
|
+
url: '/v1/integrations/git-namespaces',
|
|
419
378
|
method: 'get',
|
|
420
379
|
...variables,
|
|
421
380
|
signal
|
|
422
381
|
});
|
|
382
|
+
/**
|
|
383
|
+
* Lists git repositories linked to a namespace `id` for a supported provider. A specific namespace `id` can be obtained via the `git-namespaces` endpoint. Supported providers are `github`, `gitlab` and `bitbucket`. If the provider or namespace is not provided, it will try to obtain it from the user that authenticated the request.
|
|
384
|
+
*/
|
|
385
|
+
const searchRepo = (variables, signal) => fetch$1({
|
|
386
|
+
url: '/v1/integrations/search-repo',
|
|
387
|
+
method: 'get',
|
|
388
|
+
...variables,
|
|
389
|
+
signal
|
|
390
|
+
});
|
|
391
|
+
/**
|
|
392
|
+
* Retrieves a Configurable Log Drain. This endpoint must be called with a team AccessToken (integration OAuth2 clients are not allowed). Only log drains owned by the authenticated team can be accessed.
|
|
393
|
+
*/
|
|
394
|
+
const getConfigurableLogDrain = (variables, signal) => fetch$1({ url: '/v1/log-drains/{id}', method: 'get', ...variables, signal });
|
|
395
|
+
/**
|
|
396
|
+
* Deletes a Configurable Log Drain. This endpoint must be called with a team AccessToken (integration OAuth2 clients are not allowed). Only log drains owned by the authenticated team can be deleted.
|
|
397
|
+
*/
|
|
398
|
+
const deleteConfigurableLogDrain = (variables, signal) => fetch$1({ url: '/v1/log-drains/{id}', method: 'delete', ...variables, signal });
|
|
399
|
+
/**
|
|
400
|
+
* Retrieves a list of Configurable Log Drains. This endpoint must be called with a team AccessToken (integration OAuth2 clients are not allowed). Only log drains owned by the authenticated team can be accessed.
|
|
401
|
+
*/
|
|
402
|
+
const getConfigurableLogDrains = (variables, signal) => fetch$1({ url: '/v1/log-drains', method: 'get', ...variables, signal });
|
|
403
|
+
/**
|
|
404
|
+
* Creates a configurable log drain. This endpoint must be called with a team AccessToken (integration OAuth2 clients are not allowed)
|
|
405
|
+
*/
|
|
406
|
+
const createConfigurableLogDrain = (variables, signal) => fetch$1({ url: '/v1/log-drains', method: 'post', ...variables, signal });
|
|
423
407
|
/**
|
|
424
408
|
* Allows to retrieve the list of projects of the authenticated user. The list will be paginated and the provided query parameters allow filtering the returned projects.
|
|
425
409
|
*/
|
|
@@ -510,221 +494,264 @@ const removeProjectEnv = (variables, signal) => fetch$1({ url: '/v9/projects/{id
|
|
|
510
494
|
*/
|
|
511
495
|
const editProjectEnv = (variables, signal) => fetch$1({ url: '/v9/projects/{idOrName}/env/{id}', method: 'patch', ...variables, signal });
|
|
512
496
|
/**
|
|
513
|
-
*
|
|
497
|
+
* Get a paginated list of team members for the provided team.
|
|
514
498
|
*/
|
|
515
|
-
const
|
|
516
|
-
url: '/
|
|
499
|
+
const getTeamMembers = (variables, signal) => fetch$1({
|
|
500
|
+
url: '/v2/teams/{teamId}/members',
|
|
517
501
|
method: 'get',
|
|
518
502
|
...variables,
|
|
519
503
|
signal
|
|
520
504
|
});
|
|
521
505
|
/**
|
|
522
|
-
*
|
|
506
|
+
* 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.
|
|
523
507
|
*/
|
|
524
|
-
const
|
|
525
|
-
|
|
508
|
+
const inviteUserToTeam = (variables, signal) => fetch$1({ url: '/v1/teams/{teamId}/members', method: 'post', ...variables, signal });
|
|
509
|
+
/**
|
|
510
|
+
* 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.
|
|
511
|
+
*/
|
|
512
|
+
const requestAccessToTeam = (variables, signal) => fetch$1({
|
|
513
|
+
url: '/v1/teams/{teamId}/request',
|
|
526
514
|
method: 'post',
|
|
527
515
|
...variables,
|
|
528
516
|
signal
|
|
529
517
|
});
|
|
530
518
|
/**
|
|
531
|
-
*
|
|
532
|
-
*/
|
|
533
|
-
const getConfigurations = (variables, signal) => fetch$1({ url: '/v1/integrations/configurations', method: 'get', ...variables, signal });
|
|
534
|
-
/**
|
|
535
|
-
* 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.
|
|
519
|
+
* 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.
|
|
536
520
|
*/
|
|
537
|
-
const
|
|
521
|
+
const getTeamAccessRequest = (variables, signal) => fetch$1({
|
|
522
|
+
url: '/v1/teams/{teamId}/request/{userId}',
|
|
523
|
+
method: 'get',
|
|
524
|
+
...variables,
|
|
525
|
+
signal
|
|
526
|
+
});
|
|
538
527
|
/**
|
|
539
|
-
*
|
|
528
|
+
* Join a team with a provided invite code or team ID.
|
|
540
529
|
*/
|
|
541
|
-
const
|
|
530
|
+
const joinTeam = (variables, signal) => fetch$1({
|
|
531
|
+
url: '/v1/teams/{teamId}/members/teams/join',
|
|
532
|
+
method: 'post',
|
|
533
|
+
...variables,
|
|
534
|
+
signal
|
|
535
|
+
});
|
|
542
536
|
/**
|
|
543
|
-
*
|
|
537
|
+
* 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.
|
|
544
538
|
*/
|
|
545
|
-
const
|
|
539
|
+
const updateTeamMember = (variables, signal) => fetch$1({ url: '/v1/teams/{teamId}/members/{uid}', method: 'patch', ...variables, signal });
|
|
546
540
|
/**
|
|
547
|
-
*
|
|
541
|
+
* Remove a Team Member from the Team, or dismiss a user that requested access, or leave a team.
|
|
548
542
|
*/
|
|
549
|
-
const
|
|
550
|
-
url: '/
|
|
551
|
-
method: '
|
|
543
|
+
const removeTeamMember = (variables, signal) => fetch$1({
|
|
544
|
+
url: '/v1/teams/{teamId}/members/{uid}',
|
|
545
|
+
method: 'delete',
|
|
552
546
|
...variables,
|
|
553
547
|
signal
|
|
554
548
|
});
|
|
555
549
|
/**
|
|
556
|
-
*
|
|
550
|
+
* Get information for the Team specified by the `teamId` parameter.
|
|
557
551
|
*/
|
|
558
|
-
const
|
|
552
|
+
const getTeam = (variables, signal) => fetch$1({
|
|
553
|
+
url: '/v2/teams/{teamId}',
|
|
554
|
+
method: 'get',
|
|
555
|
+
...variables,
|
|
556
|
+
signal
|
|
557
|
+
});
|
|
559
558
|
/**
|
|
560
|
-
*
|
|
559
|
+
* 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.
|
|
561
560
|
*/
|
|
562
|
-
const
|
|
563
|
-
url: '/
|
|
564
|
-
method: '
|
|
561
|
+
const patchTeam = (variables, signal) => fetch$1({
|
|
562
|
+
url: '/v2/teams/{teamId}',
|
|
563
|
+
method: 'patch',
|
|
565
564
|
...variables,
|
|
566
565
|
signal
|
|
567
566
|
});
|
|
568
567
|
/**
|
|
569
|
-
*
|
|
568
|
+
* Get a paginated list of all the Teams the authenticated User is a member of.
|
|
570
569
|
*/
|
|
571
|
-
const
|
|
572
|
-
url: '/
|
|
570
|
+
const getTeams = (variables, signal) => fetch$1({
|
|
571
|
+
url: '/v2/teams',
|
|
573
572
|
method: 'get',
|
|
574
573
|
...variables,
|
|
575
574
|
signal
|
|
576
575
|
});
|
|
577
576
|
/**
|
|
578
|
-
*
|
|
577
|
+
* Create a new Team under your account. You need to send a POST request with the desired Team slug, and optionally the Team name.
|
|
579
578
|
*/
|
|
580
|
-
const
|
|
581
|
-
url: '/v1/
|
|
579
|
+
const createTeam = (variables, signal) => fetch$1({
|
|
580
|
+
url: '/v1/teams',
|
|
582
581
|
method: 'post',
|
|
583
582
|
...variables,
|
|
584
583
|
signal
|
|
585
584
|
});
|
|
586
585
|
/**
|
|
587
|
-
*
|
|
588
|
-
*/
|
|
589
|
-
const getWebhooks = (variables, signal) => fetch$1({ url: '/v1/webhooks', method: 'get', ...variables, signal });
|
|
590
|
-
/**
|
|
591
|
-
* Get a webhook
|
|
586
|
+
* 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.
|
|
592
587
|
*/
|
|
593
|
-
const
|
|
594
|
-
url: '/v1/
|
|
595
|
-
method: '
|
|
588
|
+
const deleteTeam = (variables, signal) => fetch$1({
|
|
589
|
+
url: '/v1/teams/{teamId}',
|
|
590
|
+
method: 'delete',
|
|
596
591
|
...variables,
|
|
597
592
|
signal
|
|
598
593
|
});
|
|
599
594
|
/**
|
|
600
|
-
*
|
|
595
|
+
* Delete an active Team invite code.
|
|
601
596
|
*/
|
|
602
|
-
const
|
|
603
|
-
url: '/v1/
|
|
597
|
+
const deleteTeamInviteCode = (variables, signal) => fetch$1({
|
|
598
|
+
url: '/v1/teams/{teamId}/invites/{inviteId}',
|
|
604
599
|
method: 'delete',
|
|
605
600
|
...variables,
|
|
606
601
|
signal
|
|
607
602
|
});
|
|
608
603
|
/**
|
|
609
|
-
*
|
|
604
|
+
* 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.
|
|
610
605
|
*/
|
|
611
|
-
const
|
|
606
|
+
const uploadFile = (variables, signal) => fetch$1({ url: '/v2/files', method: 'post', ...variables, signal });
|
|
612
607
|
/**
|
|
613
|
-
*
|
|
608
|
+
* 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.
|
|
614
609
|
*/
|
|
615
|
-
const
|
|
610
|
+
const requestDelete = (variables, signal) => fetch$1({
|
|
611
|
+
url: '/v1/user',
|
|
612
|
+
method: 'delete',
|
|
613
|
+
...variables,
|
|
614
|
+
signal
|
|
615
|
+
});
|
|
616
616
|
/**
|
|
617
|
-
* Retrieves
|
|
617
|
+
* Retrieves information related to the currently authenticated User.
|
|
618
618
|
*/
|
|
619
|
-
const
|
|
619
|
+
const getAuthUser = (variables, signal) => fetch$1({
|
|
620
|
+
url: '/v2/user',
|
|
621
|
+
method: 'get',
|
|
622
|
+
...variables,
|
|
623
|
+
signal
|
|
624
|
+
});
|
|
620
625
|
/**
|
|
621
|
-
*
|
|
626
|
+
* Retrieve a list of the current User's authentication tokens.
|
|
622
627
|
*/
|
|
623
|
-
const
|
|
628
|
+
const listAuthTokens = (variables, signal) => fetch$1({
|
|
629
|
+
url: '/v5/user/tokens',
|
|
630
|
+
method: 'get',
|
|
631
|
+
...variables,
|
|
632
|
+
signal
|
|
633
|
+
});
|
|
624
634
|
/**
|
|
625
|
-
*
|
|
635
|
+
* 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.
|
|
626
636
|
*/
|
|
627
|
-
const
|
|
628
|
-
|
|
637
|
+
const createAuthToken = (variables, signal) => fetch$1({ url: '/v3/user/tokens', method: 'post', ...variables, signal });
|
|
638
|
+
/**
|
|
639
|
+
* Retrieve metadata about an authentication token belonging to the currently authenticated User.
|
|
640
|
+
*/
|
|
641
|
+
const getAuthToken = (variables, signal) => fetch$1({
|
|
642
|
+
url: '/v5/user/tokens/{tokenId}',
|
|
629
643
|
method: 'get',
|
|
630
644
|
...variables,
|
|
631
645
|
signal
|
|
632
646
|
});
|
|
633
647
|
/**
|
|
634
|
-
*
|
|
648
|
+
* Invalidate an authentication token, such that it will no longer be valid for future HTTP requests.
|
|
649
|
+
*/
|
|
650
|
+
const deleteAuthToken = (variables, signal) => fetch$1({
|
|
651
|
+
url: '/v3/user/tokens/{tokenId}',
|
|
652
|
+
method: 'delete',
|
|
653
|
+
...variables,
|
|
654
|
+
signal
|
|
655
|
+
});
|
|
656
|
+
/**
|
|
657
|
+
* Creates a webhook
|
|
635
658
|
*/
|
|
636
|
-
const
|
|
637
|
-
url: '/
|
|
638
|
-
method: '
|
|
659
|
+
const createWebhook = (variables, signal) => fetch$1({
|
|
660
|
+
url: '/v1/webhooks',
|
|
661
|
+
method: 'post',
|
|
639
662
|
...variables,
|
|
640
663
|
signal
|
|
641
664
|
});
|
|
642
665
|
/**
|
|
643
|
-
* Get a
|
|
666
|
+
* Get a list of webhooks
|
|
644
667
|
*/
|
|
645
|
-
const
|
|
646
|
-
|
|
668
|
+
const getWebhooks = (variables, signal) => fetch$1({ url: '/v1/webhooks', method: 'get', ...variables, signal });
|
|
669
|
+
/**
|
|
670
|
+
* Get a webhook
|
|
671
|
+
*/
|
|
672
|
+
const getWebhook = (variables, signal) => fetch$1({
|
|
673
|
+
url: '/v1/webhooks/{id}',
|
|
647
674
|
method: 'get',
|
|
648
675
|
...variables,
|
|
649
676
|
signal
|
|
650
677
|
});
|
|
651
678
|
/**
|
|
652
|
-
*
|
|
679
|
+
* Deletes a webhook
|
|
653
680
|
*/
|
|
654
|
-
const
|
|
655
|
-
url: '/v1/
|
|
656
|
-
method: '
|
|
681
|
+
const deleteWebhook = (variables, signal) => fetch$1({
|
|
682
|
+
url: '/v1/webhooks/{id}',
|
|
683
|
+
method: 'delete',
|
|
657
684
|
...variables,
|
|
658
685
|
signal
|
|
659
686
|
});
|
|
660
687
|
/**
|
|
661
|
-
*
|
|
688
|
+
* Retrieves an Alias for the given host name or alias ID.
|
|
662
689
|
*/
|
|
663
|
-
const
|
|
664
|
-
url: '/
|
|
665
|
-
method: '
|
|
690
|
+
const getAlias = (variables, signal) => fetch$1({
|
|
691
|
+
url: '/v4/aliases/{idOrAlias}',
|
|
692
|
+
method: 'get',
|
|
666
693
|
...variables,
|
|
667
694
|
signal
|
|
668
695
|
});
|
|
669
696
|
/**
|
|
670
|
-
*
|
|
697
|
+
* 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.
|
|
671
698
|
*/
|
|
672
|
-
const
|
|
673
|
-
url: '/
|
|
674
|
-
method: '
|
|
699
|
+
const listAliases = (variables, signal) => fetch$1({
|
|
700
|
+
url: '/v4/aliases',
|
|
701
|
+
method: 'get',
|
|
675
702
|
...variables,
|
|
676
703
|
signal
|
|
677
704
|
});
|
|
678
705
|
/**
|
|
679
|
-
*
|
|
706
|
+
* Delete an Alias with the specified ID.
|
|
680
707
|
*/
|
|
681
|
-
const
|
|
682
|
-
url: '/v2/
|
|
683
|
-
method: '
|
|
708
|
+
const deleteAlias = (variables, signal) => fetch$1({
|
|
709
|
+
url: '/v2/aliases/{aliasId}',
|
|
710
|
+
method: 'delete',
|
|
684
711
|
...variables,
|
|
685
712
|
signal
|
|
686
713
|
});
|
|
687
714
|
/**
|
|
688
|
-
*
|
|
715
|
+
* Retrieves all Aliases for the Deployment with the given ID. The authenticated User must own the deployment.
|
|
689
716
|
*/
|
|
690
|
-
const
|
|
717
|
+
const listDeploymentAliases = (variables, signal) => fetch$1({ url: '/v2/deployments/{id}/aliases', method: 'get', ...variables, signal });
|
|
691
718
|
/**
|
|
692
|
-
*
|
|
719
|
+
* Creates a new alias for the deployment with the given deployment ID. The authenticated user 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.
|
|
693
720
|
*/
|
|
694
|
-
const
|
|
695
|
-
|
|
696
|
-
|
|
721
|
+
const assignAlias = (variables, signal) => fetch$1({ url: '/v2/deployments/{id}/aliases', method: 'post', ...variables, signal });
|
|
722
|
+
/**
|
|
723
|
+
* Get cert by id
|
|
724
|
+
*/
|
|
725
|
+
const getCertById = (variables, signal) => fetch$1({
|
|
726
|
+
url: '/v7/certs/{id}',
|
|
727
|
+
method: 'get',
|
|
697
728
|
...variables,
|
|
698
729
|
signal
|
|
699
730
|
});
|
|
700
731
|
/**
|
|
701
|
-
*
|
|
732
|
+
* Remove cert
|
|
702
733
|
*/
|
|
703
|
-
const
|
|
704
|
-
url: '/
|
|
705
|
-
method: '
|
|
734
|
+
const removeCert = (variables, signal) => fetch$1({
|
|
735
|
+
url: '/v7/certs/{id}',
|
|
736
|
+
method: 'delete',
|
|
706
737
|
...variables,
|
|
707
738
|
signal
|
|
708
739
|
});
|
|
709
740
|
/**
|
|
710
|
-
*
|
|
741
|
+
* Issue a new cert
|
|
711
742
|
*/
|
|
712
|
-
const
|
|
713
|
-
url: '/
|
|
743
|
+
const issueCert = (variables, signal) => fetch$1({
|
|
744
|
+
url: '/v7/certs',
|
|
714
745
|
method: 'post',
|
|
715
746
|
...variables,
|
|
716
747
|
signal
|
|
717
748
|
});
|
|
718
749
|
/**
|
|
719
|
-
*
|
|
720
|
-
*/
|
|
721
|
-
const updateTeamMember = (variables, signal) => fetch$1({ url: '/v1/teams/{teamId}/members/{uid}', method: 'patch', ...variables, signal });
|
|
722
|
-
/**
|
|
723
|
-
* Remove a Team Member from the Team, or dismiss a user that requested access, or leave a team.
|
|
750
|
+
* Upload a cert
|
|
724
751
|
*/
|
|
725
|
-
const
|
|
726
|
-
url: '/
|
|
727
|
-
method: '
|
|
752
|
+
const uploadCert = (variables, signal) => fetch$1({
|
|
753
|
+
url: '/v7/certs',
|
|
754
|
+
method: 'put',
|
|
728
755
|
...variables,
|
|
729
756
|
signal
|
|
730
757
|
});
|
|
@@ -737,132 +764,126 @@ const listDeploymentFiles = (variables, signal) => fetch$1({ url: '/v6/deploymen
|
|
|
737
764
|
*/
|
|
738
765
|
const getDeploymentFileContents = (variables, signal) => fetch$1({ url: '/v6/deployments/{id}/files/{fileId}', method: 'get', ...variables, signal });
|
|
739
766
|
/**
|
|
740
|
-
*
|
|
767
|
+
* List deployments under the account corresponding to the API token. If a deployment hasn't finished uploading (is incomplete), the `url` property will have a value of `null`.
|
|
741
768
|
*/
|
|
742
|
-
const
|
|
769
|
+
const getDeployments = (variables, signal) => fetch$1({
|
|
770
|
+
url: '/v6/deployments',
|
|
771
|
+
method: 'get',
|
|
772
|
+
...variables,
|
|
773
|
+
signal
|
|
774
|
+
});
|
|
743
775
|
/**
|
|
744
|
-
*
|
|
776
|
+
* Request a new login for a user to get a token. This will respond with a verification token and send an email to confirm the request. Once confirmed you can use the verification token to get an authentication token.
|
|
745
777
|
*/
|
|
746
|
-
const
|
|
747
|
-
url: '/
|
|
748
|
-
method: '
|
|
778
|
+
const emailLogin = (variables, signal) => fetch$1({
|
|
779
|
+
url: '/registration',
|
|
780
|
+
method: 'post',
|
|
749
781
|
...variables,
|
|
750
782
|
signal
|
|
751
783
|
});
|
|
752
784
|
/**
|
|
753
|
-
*
|
|
785
|
+
* Verify the user accepted the login request and get a authentication token. The user email address and the token received after requesting the login must be added to the URL as a query string with the names `email` and `token`.
|
|
754
786
|
*/
|
|
755
|
-
const
|
|
756
|
-
url: '/
|
|
787
|
+
const verifyToken = (variables, signal) => fetch$1({
|
|
788
|
+
url: '/registration/verify',
|
|
757
789
|
method: 'get',
|
|
758
790
|
...variables,
|
|
759
791
|
signal
|
|
760
792
|
});
|
|
761
793
|
/**
|
|
762
|
-
*
|
|
794
|
+
* 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.
|
|
763
795
|
*/
|
|
764
|
-
const
|
|
796
|
+
const deleteDeployment = (variables, signal) => fetch$1({ url: '/v13/deployments/{id}', method: 'delete', ...variables, signal });
|
|
765
797
|
/**
|
|
766
|
-
*
|
|
798
|
+
* Allows to create a new secret.
|
|
767
799
|
*/
|
|
768
|
-
const
|
|
769
|
-
url: '/
|
|
800
|
+
const createSecret = (variables, signal) => fetch$1({
|
|
801
|
+
url: '/v2/secrets/{name}',
|
|
770
802
|
method: 'post',
|
|
771
803
|
...variables,
|
|
772
804
|
signal
|
|
773
805
|
});
|
|
774
806
|
/**
|
|
775
|
-
*
|
|
807
|
+
* Enables to edit the name of a user's secret. The name has to be unique to that user's secrets.
|
|
776
808
|
*/
|
|
777
|
-
const
|
|
778
|
-
|
|
809
|
+
const renameSecret = (variables, signal) => fetch$1({ url: '/v2/secrets/{name}', method: 'patch', ...variables, signal });
|
|
810
|
+
/**
|
|
811
|
+
* Retrieves the active Vercel secrets for the authenticated user. By default it returns 20 secrets. The rest can be retrieved using the pagination options. The body will contain an entry for each secret.
|
|
812
|
+
*/
|
|
813
|
+
const getSecrets = (variables, signal) => fetch$1({
|
|
814
|
+
url: '/v3/secrets',
|
|
779
815
|
method: 'get',
|
|
780
816
|
...variables,
|
|
781
817
|
signal
|
|
782
818
|
});
|
|
783
819
|
/**
|
|
784
|
-
*
|
|
785
|
-
*/
|
|
786
|
-
const createEdgeConfig = (variables, signal) => fetch$1({ url: '/v1/edge-config', method: 'post', ...variables, signal });
|
|
787
|
-
/**
|
|
788
|
-
* Returns an Edge Config.
|
|
820
|
+
* Retrieves the information for a specific secret by passing either the secret id or name in the URL.
|
|
789
821
|
*/
|
|
790
|
-
const
|
|
791
|
-
url: '/
|
|
822
|
+
const getSecret = (variables, signal) => fetch$1({
|
|
823
|
+
url: '/v3/secrets/{idOrName}',
|
|
792
824
|
method: 'get',
|
|
793
825
|
...variables,
|
|
794
826
|
signal
|
|
795
827
|
});
|
|
796
828
|
/**
|
|
797
|
-
*
|
|
798
|
-
*/
|
|
799
|
-
const updateEdgeConfig = (variables, signal) => fetch$1({ url: '/v1/edge-config/{edgeConfigId}', method: 'put', ...variables, signal });
|
|
800
|
-
/**
|
|
801
|
-
* Delete an Edge Config by id.
|
|
829
|
+
* This deletes the user's secret defined in the URL.
|
|
802
830
|
*/
|
|
803
|
-
const
|
|
804
|
-
url: '/
|
|
831
|
+
const deleteSecret = (variables, signal) => fetch$1({
|
|
832
|
+
url: '/v2/secrets/{idOrName}',
|
|
805
833
|
method: 'delete',
|
|
806
834
|
...variables,
|
|
807
835
|
signal
|
|
808
836
|
});
|
|
809
|
-
/**
|
|
810
|
-
* Returns all items of an Edge Config.
|
|
811
|
-
*/
|
|
812
|
-
const getEdgeConfigItems = (variables, signal) => fetch$1({ url: '/v1/edge-config/{edgeConfigId}/items', method: 'get', ...variables, signal });
|
|
813
|
-
/**
|
|
814
|
-
* Update multiple Edge Config Items in batch.
|
|
815
|
-
*/
|
|
816
|
-
const patchtEdgeConfigItems = (variables, signal) => fetch$1({ url: '/v1/edge-config/{edgeConfigId}/items', method: 'patch', ...variables, signal });
|
|
817
|
-
/**
|
|
818
|
-
* Returns a specific Edge Config Item.
|
|
819
|
-
*/
|
|
820
|
-
const getEdgeConfigItem = (variables, signal) => fetch$1({ url: '/v1/edge-config/{edgeConfigId}/item/{edgeConfigItemKey}', method: 'get', ...variables, signal });
|
|
821
|
-
/**
|
|
822
|
-
* Returns all tokens of an Edge Config.
|
|
823
|
-
*/
|
|
824
|
-
const getEdgeConfigTokens = (variables, signal) => fetch$1({ url: '/v1/edge-config/{edgeConfigId}/tokens', method: 'get', ...variables, signal });
|
|
825
|
-
/**
|
|
826
|
-
* Deletes one or more tokens of an existing Edge Config.
|
|
827
|
-
*/
|
|
828
|
-
const deleteEdgeConfigTokens = (variables, signal) => fetch$1({ url: '/v1/edge-config/{edgeConfigId}/tokens', method: 'delete', ...variables, signal });
|
|
829
|
-
/**
|
|
830
|
-
* Return meta data about an Edge Config token.
|
|
831
|
-
*/
|
|
832
|
-
const getEdgeConfigToken = (variables, signal) => fetch$1({ url: '/v1/edge-config/{edgeConfigId}/token/{token}', method: 'get', ...variables, signal });
|
|
833
|
-
/**
|
|
834
|
-
* Adds a token to an existing Edge Config.
|
|
835
|
-
*/
|
|
836
|
-
const createEdgeConfigToken = (variables, signal) => fetch$1({ url: '/v1/edge-config/{edgeConfigId}/token', method: 'post', ...variables, signal });
|
|
837
837
|
const operationsByTag = {
|
|
838
838
|
artifacts: { recordEvents, status, uploadArtifact, downloadArtifact, artifactQuery },
|
|
839
|
+
checks: { getAllChecks, createCheck, getCheck, updateCheck, rerequestCheck },
|
|
839
840
|
deployments: {
|
|
841
|
+
getDeploymentEvents,
|
|
840
842
|
getDeployment,
|
|
841
843
|
createDeployment,
|
|
842
844
|
cancelDeployment,
|
|
843
|
-
getDeploymentEvents,
|
|
844
845
|
uploadFile,
|
|
845
|
-
deleteDeployment,
|
|
846
|
-
getDeployments,
|
|
847
846
|
listDeploymentFiles,
|
|
848
|
-
getDeploymentFileContents
|
|
847
|
+
getDeploymentFileContents,
|
|
848
|
+
getDeployments,
|
|
849
|
+
deleteDeployment
|
|
849
850
|
},
|
|
850
|
-
certs: { getCertById, removeCert, uploadCert, issueCert },
|
|
851
|
-
user: { listUserEvents, getAuthUser, requestDelete },
|
|
852
|
-
aliases: { listAliases, getAlias, deleteAlias, listDeploymentAliases, assignAlias },
|
|
853
|
-
authentication: { listAuthTokens, createAuthToken, getAuthToken, deleteAuthToken, verifyToken, emailLogin },
|
|
854
|
-
dns: { getRecords, createRecord, updateRecord, removeRecord },
|
|
855
851
|
domains: {
|
|
856
|
-
checkDomainStatus,
|
|
857
|
-
checkDomainPrice,
|
|
858
852
|
buyDomain,
|
|
853
|
+
checkDomainPrice,
|
|
854
|
+
checkDomainStatus,
|
|
859
855
|
getDomainConfig,
|
|
860
856
|
getDomain,
|
|
861
857
|
getDomains,
|
|
862
858
|
createOrTransferDomain,
|
|
863
859
|
deleteDomain
|
|
864
860
|
},
|
|
865
|
-
|
|
861
|
+
dns: { createRecord, getRecords, updateRecord, removeRecord },
|
|
862
|
+
edgeConfig: {
|
|
863
|
+
getEdgeConfigs,
|
|
864
|
+
createEdgeConfig,
|
|
865
|
+
getEdgeConfig,
|
|
866
|
+
updateEdgeConfig,
|
|
867
|
+
deleteEdgeConfig,
|
|
868
|
+
getEdgeConfigItems,
|
|
869
|
+
patchtEdgeConfigItems,
|
|
870
|
+
getEdgeConfigItem,
|
|
871
|
+
getEdgeConfigTokens,
|
|
872
|
+
deleteEdgeConfigTokens,
|
|
873
|
+
getEdgeConfigToken,
|
|
874
|
+
createEdgeConfigToken
|
|
875
|
+
},
|
|
876
|
+
user: { listUserEvents, requestDelete, getAuthUser },
|
|
877
|
+
integrations: { getConfigurations, getConfiguration, deleteConfiguration, gitNamespaces, searchRepo },
|
|
878
|
+
logDrains: {
|
|
879
|
+
getIntegrationLogDrains,
|
|
880
|
+
createLogDrain,
|
|
881
|
+
deleteIntegrationLogDrain,
|
|
882
|
+
getConfigurableLogDrain,
|
|
883
|
+
deleteConfigurableLogDrain,
|
|
884
|
+
getConfigurableLogDrains,
|
|
885
|
+
createConfigurableLogDrain
|
|
886
|
+
},
|
|
866
887
|
projects: {
|
|
867
888
|
getProjects,
|
|
868
889
|
createProject,
|
|
@@ -881,47 +902,26 @@ const operationsByTag = {
|
|
|
881
902
|
removeProjectEnv,
|
|
882
903
|
editProjectEnv
|
|
883
904
|
},
|
|
884
|
-
integrations: { getConfigurations, getConfiguration, deleteConfiguration, gitNamespaces, searchRepo },
|
|
885
|
-
logDrains: {
|
|
886
|
-
getIntegrationLogDrains,
|
|
887
|
-
createLogDrain,
|
|
888
|
-
deleteIntegrationLogDrain,
|
|
889
|
-
getConfigurableLogDrain,
|
|
890
|
-
deleteConfigurableLogDrain,
|
|
891
|
-
getConfigurableLogDrains,
|
|
892
|
-
createConfigurableLogDrain
|
|
893
|
-
},
|
|
894
|
-
webhooks: { createWebhook, getWebhooks, getWebhook, deleteWebhook },
|
|
895
905
|
teams: {
|
|
896
|
-
getTeam,
|
|
897
|
-
patchTeam,
|
|
898
|
-
getTeams,
|
|
899
|
-
createTeam,
|
|
900
|
-
deleteTeam,
|
|
901
|
-
deleteTeamInviteCode,
|
|
902
906
|
getTeamMembers,
|
|
903
907
|
inviteUserToTeam,
|
|
904
908
|
requestAccessToTeam,
|
|
905
909
|
getTeamAccessRequest,
|
|
906
910
|
joinTeam,
|
|
907
911
|
updateTeamMember,
|
|
908
|
-
removeTeamMember
|
|
912
|
+
removeTeamMember,
|
|
913
|
+
getTeam,
|
|
914
|
+
patchTeam,
|
|
915
|
+
getTeams,
|
|
916
|
+
createTeam,
|
|
917
|
+
deleteTeam,
|
|
918
|
+
deleteTeamInviteCode
|
|
909
919
|
},
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
updateEdgeConfig,
|
|
916
|
-
deleteEdgeConfig,
|
|
917
|
-
getEdgeConfigItems,
|
|
918
|
-
patchtEdgeConfigItems,
|
|
919
|
-
getEdgeConfigItem,
|
|
920
|
-
getEdgeConfigTokens,
|
|
921
|
-
deleteEdgeConfigTokens,
|
|
922
|
-
getEdgeConfigToken,
|
|
923
|
-
createEdgeConfigToken
|
|
924
|
-
}
|
|
920
|
+
authentication: { listAuthTokens, createAuthToken, getAuthToken, deleteAuthToken, emailLogin, verifyToken },
|
|
921
|
+
webhooks: { createWebhook, getWebhooks, getWebhook, deleteWebhook },
|
|
922
|
+
aliases: { getAlias, listAliases, deleteAlias, listDeploymentAliases, assignAlias },
|
|
923
|
+
certs: { getCertById, removeCert, issueCert, uploadCert },
|
|
924
|
+
secrets: { createSecret, renameSecret, getSecrets, getSecret, deleteSecret }
|
|
925
925
|
};
|
|
926
926
|
|
|
927
927
|
function formEncoded(data) {
|