@vercel/sdk 1.11.1 → 1.11.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/bin/mcp-server.js +1329 -1215
- package/bin/mcp-server.js.map +21 -21
- package/esm/__tests__/accessgroups.test.js +1 -3
- package/esm/__tests__/accessgroups.test.js.map +1 -1
- package/esm/__tests__/domains.test.js +12 -3
- package/esm/__tests__/domains.test.js.map +1 -1
- package/esm/__tests__/integrations.test.js +1 -1
- package/esm/__tests__/rollingrelease.test.js +6 -2
- package/esm/__tests__/rollingrelease.test.js.map +1 -1
- package/esm/__tests__/security.test.js +11 -1
- package/esm/__tests__/security.test.js.map +1 -1
- package/esm/funcs/deploymentsUploadFile.js +0 -1
- package/esm/funcs/deploymentsUploadFile.js.map +1 -1
- package/esm/funcs/domainsGetDomainTransfer.js +2 -2
- package/esm/funcs/domainsGetDomainTransfer.js.map +1 -1
- package/esm/funcs/marketplaceUpdateResourceSecrets.js +2 -2
- package/esm/funcs/marketplaceUpdateResourceSecrets.js.map +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.js +1 -1
- package/esm/models/canceldeploymentop.d.ts +6 -6
- package/esm/models/canceldeploymentop.js +2 -2
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +41 -41
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +15 -15
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createintegrationstoredirectop.d.ts +273 -246
- package/esm/models/createintegrationstoredirectop.d.ts.map +1 -1
- package/esm/models/createintegrationstoredirectop.js +317 -296
- package/esm/models/createintegrationstoredirectop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +162 -164
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +154 -156
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/getconfigurationproductsop.d.ts +330 -330
- package/esm/models/getconfigurationproductsop.js +408 -408
- package/esm/models/getdeploymentop.d.ts +6 -6
- package/esm/models/getdeploymentop.js +2 -2
- package/esm/models/getdeploymentop.js.map +1 -1
- package/esm/models/getdomaintransferop.d.ts +99 -25
- package/esm/models/getdomaintransferop.d.ts.map +1 -1
- package/esm/models/getdomaintransferop.js +101 -25
- package/esm/models/getdomaintransferop.js.map +1 -1
- package/esm/models/getprojectsop.d.ts +0 -2
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +0 -2
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/patchteamop.d.ts +12 -0
- package/esm/models/patchteamop.d.ts.map +1 -1
- package/esm/models/patchteamop.js +4 -0
- package/esm/models/patchteamop.js.map +1 -1
- package/esm/models/updateprojectdatacacheop.d.ts +0 -2
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +0 -2
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +0 -2
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +0 -2
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/uploadfileop.d.ts +0 -5
- package/esm/models/uploadfileop.d.ts.map +1 -1
- package/esm/models/uploadfileop.js +0 -4
- package/esm/models/uploadfileop.js.map +1 -1
- package/esm/models/userevent.d.ts +960 -770
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +1102 -974
- package/esm/models/userevent.js.map +1 -1
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/accessgroups.test.ts +1 -3
- package/src/__tests__/domains.test.ts +12 -3
- package/src/__tests__/integrations.test.ts +1 -1
- package/src/__tests__/rollingrelease.test.ts +6 -2
- package/src/__tests__/security.test.ts +11 -1
- package/src/funcs/deploymentsUploadFile.ts +0 -5
- package/src/funcs/domainsGetDomainTransfer.ts +2 -2
- package/src/funcs/marketplaceUpdateResourceSecrets.ts +2 -2
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/canceldeploymentop.ts +4 -4
- package/src/models/createdeploymentop.ts +19 -19
- package/src/models/createintegrationstoredirectop.ts +543 -507
- package/src/models/createprojectop.ts +299 -303
- package/src/models/getconfigurationproductsop.ts +703 -703
- package/src/models/getdeploymentop.ts +4 -4
- package/src/models/getdomaintransferop.ts +203 -39
- package/src/models/getprojectsop.ts +0 -4
- package/src/models/patchteamop.ts +4 -0
- package/src/models/updateprojectdatacacheop.ts +0 -4
- package/src/models/updateprojectop.ts +0 -4
- package/src/models/uploadfileop.ts +0 -9
- package/src/models/userevent.ts +2219 -1917
- package/vercel-spec.json +613 -503
|
@@ -164,11 +164,11 @@ export const CreateDeploymentFramework = {
|
|
|
164
164
|
Xmcp: "xmcp",
|
|
165
165
|
};
|
|
166
166
|
export const CreateDeploymentDeploymentsStatus = {
|
|
167
|
+
Error: "error",
|
|
168
|
+
Timeout: "timeout",
|
|
167
169
|
Skipped: "skipped",
|
|
168
170
|
Pending: "pending",
|
|
169
171
|
Ready: "ready",
|
|
170
|
-
Error: "error",
|
|
171
|
-
Timeout: "timeout",
|
|
172
172
|
};
|
|
173
173
|
/**
|
|
174
174
|
* Must be `http` or `https`.
|
|
@@ -186,8 +186,8 @@ export const ContentDispositionType = {
|
|
|
186
186
|
Attachment: "attachment",
|
|
187
187
|
};
|
|
188
188
|
export const CreateDeploymentReadyState = {
|
|
189
|
-
Building: "BUILDING",
|
|
190
189
|
Error: "ERROR",
|
|
190
|
+
Building: "BUILDING",
|
|
191
191
|
Initializing: "INITIALIZING",
|
|
192
192
|
Ready: "READY",
|
|
193
193
|
};
|
|
@@ -326,12 +326,12 @@ export const CreateDeploymentPlan = {
|
|
|
326
326
|
Enterprise: "enterprise",
|
|
327
327
|
};
|
|
328
328
|
export const FunctionType = {
|
|
329
|
-
Fluid: "fluid",
|
|
330
329
|
Standard: "standard",
|
|
330
|
+
Fluid: "fluid",
|
|
331
331
|
};
|
|
332
332
|
export const FunctionMemoryType = {
|
|
333
|
-
Standard: "standard",
|
|
334
333
|
StandardLegacy: "standard_legacy",
|
|
334
|
+
Standard: "standard",
|
|
335
335
|
Performance: "performance",
|
|
336
336
|
};
|
|
337
337
|
export const Architecture = {
|
|
@@ -345,12 +345,12 @@ export const CreateDeploymentDeploymentsType = {
|
|
|
345
345
|
QueueV1beta: "queue/v1beta",
|
|
346
346
|
};
|
|
347
347
|
export const Handle = {
|
|
348
|
-
Error: "error",
|
|
349
348
|
Filesystem: "filesystem",
|
|
349
|
+
Error: "error",
|
|
350
350
|
Hit: "hit",
|
|
351
351
|
Miss: "miss",
|
|
352
|
-
Rewrite: "rewrite",
|
|
353
352
|
Resource: "resource",
|
|
353
|
+
Rewrite: "rewrite",
|
|
354
354
|
};
|
|
355
355
|
export const CreateDeploymentHasDeploymentsType = {
|
|
356
356
|
Header: "header",
|
|
@@ -378,8 +378,8 @@ export const RoutesType = {
|
|
|
378
378
|
ResponseHeaders: "response.headers",
|
|
379
379
|
};
|
|
380
380
|
export const CreateDeploymentRoutesOp = {
|
|
381
|
-
Append: "append",
|
|
382
381
|
Set: "set",
|
|
382
|
+
Append: "append",
|
|
383
383
|
Delete: "delete",
|
|
384
384
|
};
|
|
385
385
|
export const CreateDeploymentState = {
|
|
@@ -388,33 +388,33 @@ export const CreateDeploymentState = {
|
|
|
388
388
|
Pending: "pending",
|
|
389
389
|
};
|
|
390
390
|
/**
|
|
391
|
-
* The result of the microfrontends config upload during deployment creation. Only set for default app deployments. - `success` - The config was uploaded successfully. - `
|
|
391
|
+
* The result of the microfrontends config upload during deployment creation / build. Only set for default app deployments. The config upload is attempted during deployment create, and then again during the build. If the config is not in the root directory, or the deployment is prebuilt, the config cannot be uploaded during deployment create. The upload during deployment build finds the config even if it's not in the root directory, as it has access to all files. Uploading the config during create is ideal, as then all child deployments are guaranteed to have access to the default app deployment config even if the default app has not yet started building. If the config is not uploaded, the child app will show as building until the config has been uploaded during the default app build. - `success` - The config was uploaded successfully, either when the deployment was created or during the build. - `waiting_on_build` - The config could not be uploaded during deployment create, will be attempted again during the build. - `no_config` - No config was found. Only set once the build has not found the config in any of the deployment's files. - `undefined` - Legacy deployments, or there was an error uploading the config during deployment create.
|
|
392
392
|
*/
|
|
393
393
|
export const MfeConfigUploadState = {
|
|
394
|
-
Error: "error",
|
|
395
394
|
Success: "success",
|
|
395
|
+
WaitingOnBuild: "waiting_on_build",
|
|
396
396
|
NoConfig: "no_config",
|
|
397
397
|
};
|
|
398
398
|
export const CreateDeploymentGitRepoDeploymentsType = {
|
|
399
399
|
Bitbucket: "bitbucket",
|
|
400
400
|
};
|
|
401
401
|
export const CreateDeploymentGitRepoOwnerType = {
|
|
402
|
-
Team: "team",
|
|
403
402
|
User: "user",
|
|
403
|
+
Team: "team",
|
|
404
404
|
};
|
|
405
405
|
export const CreateDeploymentGitRepoType = {
|
|
406
406
|
Github: "github",
|
|
407
407
|
};
|
|
408
408
|
export const GitRepoOwnerType = {
|
|
409
|
-
Team: "team",
|
|
410
409
|
User: "user",
|
|
410
|
+
Team: "team",
|
|
411
411
|
};
|
|
412
412
|
export const GitRepoType = {
|
|
413
413
|
Gitlab: "gitlab",
|
|
414
414
|
};
|
|
415
415
|
export const OwnerType = {
|
|
416
|
-
Team: "team",
|
|
417
416
|
User: "user",
|
|
417
|
+
Team: "team",
|
|
418
418
|
};
|
|
419
419
|
/** @internal */
|
|
420
420
|
export const ForceNew$inboundSchema = z
|
|
@@ -1574,8 +1574,8 @@ export const Lambdas$inboundSchema = z.object({
|
|
|
1574
1574
|
id: z.string(),
|
|
1575
1575
|
createdAt: z.number().optional(),
|
|
1576
1576
|
readyState: CreateDeploymentReadyState$inboundSchema.optional(),
|
|
1577
|
-
entrypoint: z.nullable(z.string()).optional(),
|
|
1578
1577
|
readyStateAt: z.number().optional(),
|
|
1578
|
+
entrypoint: z.nullable(z.string()).optional(),
|
|
1579
1579
|
output: z.array(z.lazy(() => CreateDeploymentOutput$inboundSchema)),
|
|
1580
1580
|
});
|
|
1581
1581
|
/** @internal */
|
|
@@ -1583,8 +1583,8 @@ export const Lambdas$outboundSchema = z.object({
|
|
|
1583
1583
|
id: z.string(),
|
|
1584
1584
|
createdAt: z.number().optional(),
|
|
1585
1585
|
readyState: CreateDeploymentReadyState$outboundSchema.optional(),
|
|
1586
|
-
entrypoint: z.nullable(z.string()).optional(),
|
|
1587
1586
|
readyStateAt: z.number().optional(),
|
|
1587
|
+
entrypoint: z.nullable(z.string()).optional(),
|
|
1588
1588
|
output: z.array(z.lazy(() => CreateDeploymentOutput$outboundSchema)),
|
|
1589
1589
|
});
|
|
1590
1590
|
/**
|