@vercel/sdk 1.13.1 → 1.13.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 +45 -45
- package/bin/mcp-server.js.map +7 -7
- package/esm/__tests__/accessgroups.test.js +1 -3
- package/esm/__tests__/accessgroups.test.js.map +1 -1
- package/esm/__tests__/edgeconfig.test.js +6 -6
- package/esm/__tests__/logdrains.test.js +3 -1
- package/esm/__tests__/logdrains.test.js.map +1 -1
- package/esm/__tests__/rollingrelease.test.js +2 -1
- 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/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.js +1 -1
- package/esm/models/canceldeploymentop.d.ts +34 -34
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +14 -14
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +32 -32
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +12 -12
- package/esm/models/createdeploymentop.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__/edgeconfig.test.ts +6 -6
- package/src/__tests__/logdrains.test.ts +3 -1
- package/src/__tests__/rollingrelease.test.ts +2 -1
- package/src/__tests__/security.test.ts +11 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/canceldeploymentop.ts +18 -18
- package/src/models/createdeploymentop.ts +14 -14
- package/vercel-spec.json +41 -46
|
@@ -490,11 +490,11 @@ export type CreateDeploymentProjectSettings = {
|
|
|
490
490
|
webAnalytics?: CreateDeploymentWebAnalytics | undefined;
|
|
491
491
|
};
|
|
492
492
|
export declare const CreateDeploymentDeploymentsStatus: {
|
|
493
|
-
readonly Error: "error";
|
|
494
|
-
readonly Timeout: "timeout";
|
|
495
493
|
readonly Skipped: "skipped";
|
|
496
494
|
readonly Pending: "pending";
|
|
497
495
|
readonly Ready: "ready";
|
|
496
|
+
readonly Error: "error";
|
|
497
|
+
readonly Timeout: "timeout";
|
|
498
498
|
};
|
|
499
499
|
export type CreateDeploymentDeploymentsStatus = ClosedEnum<typeof CreateDeploymentDeploymentsStatus>;
|
|
500
500
|
export type Integrations = {
|
|
@@ -575,8 +575,8 @@ export type Creator = {
|
|
|
575
575
|
avatar?: string | undefined;
|
|
576
576
|
};
|
|
577
577
|
export declare const CreateDeploymentReadyState: {
|
|
578
|
-
readonly Error: "ERROR";
|
|
579
578
|
readonly Building: "BUILDING";
|
|
579
|
+
readonly Error: "ERROR";
|
|
580
580
|
readonly Initializing: "INITIALIZING";
|
|
581
581
|
readonly Ready: "READY";
|
|
582
582
|
};
|
|
@@ -592,8 +592,8 @@ export type Lambdas = {
|
|
|
592
592
|
id: string;
|
|
593
593
|
createdAt?: number | undefined;
|
|
594
594
|
readyState?: CreateDeploymentReadyState | undefined;
|
|
595
|
-
readyStateAt?: number | undefined;
|
|
596
595
|
entrypoint?: string | null | undefined;
|
|
596
|
+
readyStateAt?: number | undefined;
|
|
597
597
|
output: Array<CreateDeploymentOutput>;
|
|
598
598
|
};
|
|
599
599
|
export declare const CreateDeploymentStatus: {
|
|
@@ -1016,13 +1016,13 @@ export declare const CreateDeploymentPlan: {
|
|
|
1016
1016
|
};
|
|
1017
1017
|
export type CreateDeploymentPlan = ClosedEnum<typeof CreateDeploymentPlan>;
|
|
1018
1018
|
export declare const FunctionType: {
|
|
1019
|
-
readonly Standard: "standard";
|
|
1020
1019
|
readonly Fluid: "fluid";
|
|
1020
|
+
readonly Standard: "standard";
|
|
1021
1021
|
};
|
|
1022
1022
|
export type FunctionType = ClosedEnum<typeof FunctionType>;
|
|
1023
1023
|
export declare const FunctionMemoryType: {
|
|
1024
|
-
readonly StandardLegacy: "standard_legacy";
|
|
1025
1024
|
readonly Standard: "standard";
|
|
1025
|
+
readonly StandardLegacy: "standard_legacy";
|
|
1026
1026
|
readonly Performance: "performance";
|
|
1027
1027
|
};
|
|
1028
1028
|
export type FunctionMemoryType = ClosedEnum<typeof FunctionMemoryType>;
|
|
@@ -1098,12 +1098,12 @@ export type Routes3 = {
|
|
|
1098
1098
|
middleware: number;
|
|
1099
1099
|
};
|
|
1100
1100
|
export declare const Handle: {
|
|
1101
|
-
readonly Filesystem: "filesystem";
|
|
1102
1101
|
readonly Error: "error";
|
|
1102
|
+
readonly Filesystem: "filesystem";
|
|
1103
1103
|
readonly Hit: "hit";
|
|
1104
1104
|
readonly Miss: "miss";
|
|
1105
|
-
readonly Resource: "resource";
|
|
1106
1105
|
readonly Rewrite: "rewrite";
|
|
1106
|
+
readonly Resource: "resource";
|
|
1107
1107
|
};
|
|
1108
1108
|
export type Handle = ClosedEnum<typeof Handle>;
|
|
1109
1109
|
export type Routes2 = {
|
|
@@ -1429,8 +1429,8 @@ export declare const CreateDeploymentGitRepoDeploymentsType: {
|
|
|
1429
1429
|
};
|
|
1430
1430
|
export type CreateDeploymentGitRepoDeploymentsType = ClosedEnum<typeof CreateDeploymentGitRepoDeploymentsType>;
|
|
1431
1431
|
export declare const CreateDeploymentGitRepoOwnerType: {
|
|
1432
|
-
readonly User: "user";
|
|
1433
1432
|
readonly Team: "team";
|
|
1433
|
+
readonly User: "user";
|
|
1434
1434
|
};
|
|
1435
1435
|
export type CreateDeploymentGitRepoOwnerType = ClosedEnum<typeof CreateDeploymentGitRepoOwnerType>;
|
|
1436
1436
|
export type GitRepo3 = {
|
|
@@ -1450,8 +1450,8 @@ export declare const CreateDeploymentGitRepoType: {
|
|
|
1450
1450
|
};
|
|
1451
1451
|
export type CreateDeploymentGitRepoType = ClosedEnum<typeof CreateDeploymentGitRepoType>;
|
|
1452
1452
|
export declare const GitRepoOwnerType: {
|
|
1453
|
-
readonly User: "user";
|
|
1454
1453
|
readonly Team: "team";
|
|
1454
|
+
readonly User: "user";
|
|
1455
1455
|
};
|
|
1456
1456
|
export type GitRepoOwnerType = ClosedEnum<typeof GitRepoOwnerType>;
|
|
1457
1457
|
export type GitRepo2 = {
|
|
@@ -1471,8 +1471,8 @@ export declare const GitRepoType: {
|
|
|
1471
1471
|
};
|
|
1472
1472
|
export type GitRepoType = ClosedEnum<typeof GitRepoType>;
|
|
1473
1473
|
export declare const OwnerType: {
|
|
1474
|
-
readonly User: "user";
|
|
1475
1474
|
readonly Team: "team";
|
|
1475
|
+
readonly User: "user";
|
|
1476
1476
|
};
|
|
1477
1477
|
export type OwnerType = ClosedEnum<typeof OwnerType>;
|
|
1478
1478
|
export type GitRepo1 = {
|
|
@@ -2674,19 +2674,19 @@ export declare const CreateDeploymentDeploymentsStatus$outboundSchema: z.ZodNati
|
|
|
2674
2674
|
export declare namespace CreateDeploymentDeploymentsStatus$ {
|
|
2675
2675
|
/** @deprecated use `CreateDeploymentDeploymentsStatus$inboundSchema` instead. */
|
|
2676
2676
|
const inboundSchema: z.ZodNativeEnum<{
|
|
2677
|
-
readonly Error: "error";
|
|
2678
|
-
readonly Timeout: "timeout";
|
|
2679
2677
|
readonly Skipped: "skipped";
|
|
2680
2678
|
readonly Pending: "pending";
|
|
2681
2679
|
readonly Ready: "ready";
|
|
2680
|
+
readonly Error: "error";
|
|
2681
|
+
readonly Timeout: "timeout";
|
|
2682
2682
|
}>;
|
|
2683
2683
|
/** @deprecated use `CreateDeploymentDeploymentsStatus$outboundSchema` instead. */
|
|
2684
2684
|
const outboundSchema: z.ZodNativeEnum<{
|
|
2685
|
-
readonly Error: "error";
|
|
2686
|
-
readonly Timeout: "timeout";
|
|
2687
2685
|
readonly Skipped: "skipped";
|
|
2688
2686
|
readonly Pending: "pending";
|
|
2689
2687
|
readonly Ready: "ready";
|
|
2688
|
+
readonly Error: "error";
|
|
2689
|
+
readonly Timeout: "timeout";
|
|
2690
2690
|
}>;
|
|
2691
2691
|
}
|
|
2692
2692
|
/** @internal */
|
|
@@ -2890,15 +2890,15 @@ export declare const CreateDeploymentReadyState$outboundSchema: z.ZodNativeEnum<
|
|
|
2890
2890
|
export declare namespace CreateDeploymentReadyState$ {
|
|
2891
2891
|
/** @deprecated use `CreateDeploymentReadyState$inboundSchema` instead. */
|
|
2892
2892
|
const inboundSchema: z.ZodNativeEnum<{
|
|
2893
|
-
readonly Error: "ERROR";
|
|
2894
2893
|
readonly Building: "BUILDING";
|
|
2894
|
+
readonly Error: "ERROR";
|
|
2895
2895
|
readonly Initializing: "INITIALIZING";
|
|
2896
2896
|
readonly Ready: "READY";
|
|
2897
2897
|
}>;
|
|
2898
2898
|
/** @deprecated use `CreateDeploymentReadyState$outboundSchema` instead. */
|
|
2899
2899
|
const outboundSchema: z.ZodNativeEnum<{
|
|
2900
|
-
readonly Error: "ERROR";
|
|
2901
2900
|
readonly Building: "BUILDING";
|
|
2901
|
+
readonly Error: "ERROR";
|
|
2902
2902
|
readonly Initializing: "INITIALIZING";
|
|
2903
2903
|
readonly Ready: "READY";
|
|
2904
2904
|
}>;
|
|
@@ -2933,8 +2933,8 @@ export type Lambdas$Outbound = {
|
|
|
2933
2933
|
id: string;
|
|
2934
2934
|
createdAt?: number | undefined;
|
|
2935
2935
|
readyState?: string | undefined;
|
|
2936
|
-
readyStateAt?: number | undefined;
|
|
2937
2936
|
entrypoint?: string | null | undefined;
|
|
2937
|
+
readyStateAt?: number | undefined;
|
|
2938
2938
|
output: Array<CreateDeploymentOutput$Outbound>;
|
|
2939
2939
|
};
|
|
2940
2940
|
/** @internal */
|
|
@@ -4324,13 +4324,13 @@ export declare const FunctionType$outboundSchema: z.ZodNativeEnum<typeof Functio
|
|
|
4324
4324
|
export declare namespace FunctionType$ {
|
|
4325
4325
|
/** @deprecated use `FunctionType$inboundSchema` instead. */
|
|
4326
4326
|
const inboundSchema: z.ZodNativeEnum<{
|
|
4327
|
-
readonly Standard: "standard";
|
|
4328
4327
|
readonly Fluid: "fluid";
|
|
4328
|
+
readonly Standard: "standard";
|
|
4329
4329
|
}>;
|
|
4330
4330
|
/** @deprecated use `FunctionType$outboundSchema` instead. */
|
|
4331
4331
|
const outboundSchema: z.ZodNativeEnum<{
|
|
4332
|
-
readonly Standard: "standard";
|
|
4333
4332
|
readonly Fluid: "fluid";
|
|
4333
|
+
readonly Standard: "standard";
|
|
4334
4334
|
}>;
|
|
4335
4335
|
}
|
|
4336
4336
|
/** @internal */
|
|
@@ -4344,14 +4344,14 @@ export declare const FunctionMemoryType$outboundSchema: z.ZodNativeEnum<typeof F
|
|
|
4344
4344
|
export declare namespace FunctionMemoryType$ {
|
|
4345
4345
|
/** @deprecated use `FunctionMemoryType$inboundSchema` instead. */
|
|
4346
4346
|
const inboundSchema: z.ZodNativeEnum<{
|
|
4347
|
-
readonly StandardLegacy: "standard_legacy";
|
|
4348
4347
|
readonly Standard: "standard";
|
|
4348
|
+
readonly StandardLegacy: "standard_legacy";
|
|
4349
4349
|
readonly Performance: "performance";
|
|
4350
4350
|
}>;
|
|
4351
4351
|
/** @deprecated use `FunctionMemoryType$outboundSchema` instead. */
|
|
4352
4352
|
const outboundSchema: z.ZodNativeEnum<{
|
|
4353
|
-
readonly StandardLegacy: "standard_legacy";
|
|
4354
4353
|
readonly Standard: "standard";
|
|
4354
|
+
readonly StandardLegacy: "standard_legacy";
|
|
4355
4355
|
readonly Performance: "performance";
|
|
4356
4356
|
}>;
|
|
4357
4357
|
}
|
|
@@ -4512,21 +4512,21 @@ export declare const Handle$outboundSchema: z.ZodNativeEnum<typeof Handle>;
|
|
|
4512
4512
|
export declare namespace Handle$ {
|
|
4513
4513
|
/** @deprecated use `Handle$inboundSchema` instead. */
|
|
4514
4514
|
const inboundSchema: z.ZodNativeEnum<{
|
|
4515
|
-
readonly Filesystem: "filesystem";
|
|
4516
4515
|
readonly Error: "error";
|
|
4516
|
+
readonly Filesystem: "filesystem";
|
|
4517
4517
|
readonly Hit: "hit";
|
|
4518
4518
|
readonly Miss: "miss";
|
|
4519
|
-
readonly Resource: "resource";
|
|
4520
4519
|
readonly Rewrite: "rewrite";
|
|
4520
|
+
readonly Resource: "resource";
|
|
4521
4521
|
}>;
|
|
4522
4522
|
/** @deprecated use `Handle$outboundSchema` instead. */
|
|
4523
4523
|
const outboundSchema: z.ZodNativeEnum<{
|
|
4524
|
-
readonly Filesystem: "filesystem";
|
|
4525
4524
|
readonly Error: "error";
|
|
4525
|
+
readonly Filesystem: "filesystem";
|
|
4526
4526
|
readonly Hit: "hit";
|
|
4527
4527
|
readonly Miss: "miss";
|
|
4528
|
-
readonly Resource: "resource";
|
|
4529
4528
|
readonly Rewrite: "rewrite";
|
|
4529
|
+
readonly Resource: "resource";
|
|
4530
4530
|
}>;
|
|
4531
4531
|
}
|
|
4532
4532
|
/** @internal */
|
|
@@ -5722,13 +5722,13 @@ export declare const CreateDeploymentGitRepoOwnerType$outboundSchema: z.ZodNativ
|
|
|
5722
5722
|
export declare namespace CreateDeploymentGitRepoOwnerType$ {
|
|
5723
5723
|
/** @deprecated use `CreateDeploymentGitRepoOwnerType$inboundSchema` instead. */
|
|
5724
5724
|
const inboundSchema: z.ZodNativeEnum<{
|
|
5725
|
-
readonly User: "user";
|
|
5726
5725
|
readonly Team: "team";
|
|
5726
|
+
readonly User: "user";
|
|
5727
5727
|
}>;
|
|
5728
5728
|
/** @deprecated use `CreateDeploymentGitRepoOwnerType$outboundSchema` instead. */
|
|
5729
5729
|
const outboundSchema: z.ZodNativeEnum<{
|
|
5730
|
-
readonly User: "user";
|
|
5731
5730
|
readonly Team: "team";
|
|
5731
|
+
readonly User: "user";
|
|
5732
5732
|
}>;
|
|
5733
5733
|
}
|
|
5734
5734
|
/** @internal */
|
|
@@ -5791,13 +5791,13 @@ export declare const GitRepoOwnerType$outboundSchema: z.ZodNativeEnum<typeof Git
|
|
|
5791
5791
|
export declare namespace GitRepoOwnerType$ {
|
|
5792
5792
|
/** @deprecated use `GitRepoOwnerType$inboundSchema` instead. */
|
|
5793
5793
|
const inboundSchema: z.ZodNativeEnum<{
|
|
5794
|
-
readonly User: "user";
|
|
5795
5794
|
readonly Team: "team";
|
|
5795
|
+
readonly User: "user";
|
|
5796
5796
|
}>;
|
|
5797
5797
|
/** @deprecated use `GitRepoOwnerType$outboundSchema` instead. */
|
|
5798
5798
|
const outboundSchema: z.ZodNativeEnum<{
|
|
5799
|
-
readonly User: "user";
|
|
5800
5799
|
readonly Team: "team";
|
|
5800
|
+
readonly User: "user";
|
|
5801
5801
|
}>;
|
|
5802
5802
|
}
|
|
5803
5803
|
/** @internal */
|
|
@@ -5860,13 +5860,13 @@ export declare const OwnerType$outboundSchema: z.ZodNativeEnum<typeof OwnerType>
|
|
|
5860
5860
|
export declare namespace OwnerType$ {
|
|
5861
5861
|
/** @deprecated use `OwnerType$inboundSchema` instead. */
|
|
5862
5862
|
const inboundSchema: z.ZodNativeEnum<{
|
|
5863
|
-
readonly User: "user";
|
|
5864
5863
|
readonly Team: "team";
|
|
5864
|
+
readonly User: "user";
|
|
5865
5865
|
}>;
|
|
5866
5866
|
/** @deprecated use `OwnerType$outboundSchema` instead. */
|
|
5867
5867
|
const outboundSchema: z.ZodNativeEnum<{
|
|
5868
|
-
readonly User: "user";
|
|
5869
5868
|
readonly Team: "team";
|
|
5869
|
+
readonly User: "user";
|
|
5870
5870
|
}>;
|
|
5871
5871
|
}
|
|
5872
5872
|
/** @internal */
|