@vercel/sdk 1.7.5 → 1.7.6
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 +37 -83
- package/bin/mcp-server.js.map +13 -13
- package/esm/__tests__/projects.test.js +15 -13
- package/esm/__tests__/projects.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/authuser.d.ts +0 -93
- package/esm/models/authuser.d.ts.map +1 -1
- package/esm/models/authuser.js +0 -64
- package/esm/models/authuser.js.map +1 -1
- package/esm/models/authuserlimited.d.ts +0 -34
- package/esm/models/authuserlimited.d.ts.map +1 -1
- package/esm/models/authuserlimited.js +0 -23
- package/esm/models/authuserlimited.js.map +1 -1
- package/esm/models/createprojectop.d.ts +9 -9
- package/esm/models/createprojectop.js +3 -3
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/importresourceop.d.ts +1 -1
- package/esm/models/updateprojectop.d.ts +9 -9
- package/esm/models/updateprojectop.js +3 -3
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/updateresourcesecretsbyidop.d.ts +2 -2
- package/esm/models/updateresourcesecretsop.d.ts +1 -1
- package/esm/models/userevent.d.ts +23 -23
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +28 -28
- package/esm/models/userevent.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/projects.test.ts +15 -13
- 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/authuser.ts +0 -145
- package/src/models/authuserlimited.ts +0 -40
- package/src/models/createprojectop.ts +3 -3
- package/src/models/importresourceop.ts +1 -1
- package/src/models/updateprojectop.ts +3 -3
- package/src/models/updateresourcesecretsbyidop.ts +2 -2
- package/src/models/updateresourcesecretsop.ts +1 -1
- package/src/models/userevent.ts +39 -42
- package/vercel-spec.json +14 -72
|
@@ -55,7 +55,7 @@ export type ImportResourceSecrets = {
|
|
|
55
55
|
value: string;
|
|
56
56
|
prefix?: string | undefined;
|
|
57
57
|
/**
|
|
58
|
-
*
|
|
58
|
+
* A map of environments to override values for the secret, used for setting different values across deployments in production, preview, and development environments. Note: the same value will be used for all deployments in the given environment.
|
|
59
59
|
*/
|
|
60
60
|
environmentOverrides?: {
|
|
61
61
|
[k: string]: string;
|
|
@@ -470,10 +470,10 @@ export type UpdateProjectTarget2 = ClosedEnum<typeof UpdateProjectTarget2>;
|
|
|
470
470
|
export type UpdateProjectTarget = Array<string> | UpdateProjectTarget2;
|
|
471
471
|
export declare const UpdateProjectType: {
|
|
472
472
|
readonly System: "system";
|
|
473
|
+
readonly Secret: "secret";
|
|
473
474
|
readonly Encrypted: "encrypted";
|
|
474
475
|
readonly Plain: "plain";
|
|
475
476
|
readonly Sensitive: "sensitive";
|
|
476
|
-
readonly Secret: "secret";
|
|
477
477
|
};
|
|
478
478
|
export type UpdateProjectType = ClosedEnum<typeof UpdateProjectType>;
|
|
479
479
|
export declare const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type: {
|
|
@@ -1635,8 +1635,8 @@ export type UpdateProjectSrc2 = {
|
|
|
1635
1635
|
};
|
|
1636
1636
|
export type UpdateProjectSrc = UpdateProjectSrc2 | string;
|
|
1637
1637
|
export declare const UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType: {
|
|
1638
|
-
readonly Path: "path";
|
|
1639
1638
|
readonly Host: "host";
|
|
1639
|
+
readonly Path: "path";
|
|
1640
1640
|
readonly Method: "method";
|
|
1641
1641
|
readonly Header: "header";
|
|
1642
1642
|
readonly Cookie: "cookie";
|
|
@@ -1669,8 +1669,8 @@ export type UpdateProjectHas = {
|
|
|
1669
1669
|
value?: UpdateProjectValue2 | string | undefined;
|
|
1670
1670
|
};
|
|
1671
1671
|
export declare const UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType: {
|
|
1672
|
-
readonly Path: "path";
|
|
1673
1672
|
readonly Host: "host";
|
|
1673
|
+
readonly Path: "path";
|
|
1674
1674
|
readonly Method: "method";
|
|
1675
1675
|
readonly Header: "header";
|
|
1676
1676
|
readonly Cookie: "cookie";
|
|
@@ -2773,18 +2773,18 @@ export declare namespace UpdateProjectType$ {
|
|
|
2773
2773
|
/** @deprecated use `UpdateProjectType$inboundSchema` instead. */
|
|
2774
2774
|
const inboundSchema: z.ZodNativeEnum<{
|
|
2775
2775
|
readonly System: "system";
|
|
2776
|
+
readonly Secret: "secret";
|
|
2776
2777
|
readonly Encrypted: "encrypted";
|
|
2777
2778
|
readonly Plain: "plain";
|
|
2778
2779
|
readonly Sensitive: "sensitive";
|
|
2779
|
-
readonly Secret: "secret";
|
|
2780
2780
|
}>;
|
|
2781
2781
|
/** @deprecated use `UpdateProjectType$outboundSchema` instead. */
|
|
2782
2782
|
const outboundSchema: z.ZodNativeEnum<{
|
|
2783
2783
|
readonly System: "system";
|
|
2784
|
+
readonly Secret: "secret";
|
|
2784
2785
|
readonly Encrypted: "encrypted";
|
|
2785
2786
|
readonly Plain: "plain";
|
|
2786
2787
|
readonly Sensitive: "sensitive";
|
|
2787
|
-
readonly Secret: "secret";
|
|
2788
2788
|
}>;
|
|
2789
2789
|
}
|
|
2790
2790
|
/** @internal */
|
|
@@ -5973,8 +5973,8 @@ export declare const UpdateProjectProjectsResponse200ApplicationJSONResponseBody
|
|
|
5973
5973
|
export declare namespace UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$ {
|
|
5974
5974
|
/** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$inboundSchema` instead. */
|
|
5975
5975
|
const inboundSchema: z.ZodNativeEnum<{
|
|
5976
|
-
readonly Path: "path";
|
|
5977
5976
|
readonly Host: "host";
|
|
5977
|
+
readonly Path: "path";
|
|
5978
5978
|
readonly Method: "method";
|
|
5979
5979
|
readonly Header: "header";
|
|
5980
5980
|
readonly Cookie: "cookie";
|
|
@@ -5988,8 +5988,8 @@ export declare namespace UpdateProjectProjectsResponse200ApplicationJSONResponse
|
|
|
5988
5988
|
}>;
|
|
5989
5989
|
/** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType$outboundSchema` instead. */
|
|
5990
5990
|
const outboundSchema: z.ZodNativeEnum<{
|
|
5991
|
-
readonly Path: "path";
|
|
5992
5991
|
readonly Host: "host";
|
|
5992
|
+
readonly Path: "path";
|
|
5993
5993
|
readonly Method: "method";
|
|
5994
5994
|
readonly Header: "header";
|
|
5995
5995
|
readonly Cookie: "cookie";
|
|
@@ -6089,8 +6089,8 @@ export declare const UpdateProjectProjectsResponse200ApplicationJSONResponseBody
|
|
|
6089
6089
|
export declare namespace UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$ {
|
|
6090
6090
|
/** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$inboundSchema` instead. */
|
|
6091
6091
|
const inboundSchema: z.ZodNativeEnum<{
|
|
6092
|
-
readonly Path: "path";
|
|
6093
6092
|
readonly Host: "host";
|
|
6093
|
+
readonly Path: "path";
|
|
6094
6094
|
readonly Method: "method";
|
|
6095
6095
|
readonly Header: "header";
|
|
6096
6096
|
readonly Cookie: "cookie";
|
|
@@ -6104,8 +6104,8 @@ export declare namespace UpdateProjectProjectsResponse200ApplicationJSONResponse
|
|
|
6104
6104
|
}>;
|
|
6105
6105
|
/** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$outboundSchema` instead. */
|
|
6106
6106
|
const outboundSchema: z.ZodNativeEnum<{
|
|
6107
|
-
readonly Path: "path";
|
|
6108
6107
|
readonly Host: "host";
|
|
6108
|
+
readonly Path: "path";
|
|
6109
6109
|
readonly Method: "method";
|
|
6110
6110
|
readonly Header: "header";
|
|
6111
6111
|
readonly Cookie: "cookie";
|
|
@@ -124,10 +124,10 @@ export const UpdateProjectTarget2 = {
|
|
|
124
124
|
};
|
|
125
125
|
export const UpdateProjectType = {
|
|
126
126
|
System: "system",
|
|
127
|
+
Secret: "secret",
|
|
127
128
|
Encrypted: "encrypted",
|
|
128
129
|
Plain: "plain",
|
|
129
130
|
Sensitive: "sensitive",
|
|
130
|
-
Secret: "secret",
|
|
131
131
|
};
|
|
132
132
|
export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type = {
|
|
133
133
|
FlagsConnectionString: "flags-connection-string",
|
|
@@ -407,8 +407,8 @@ export const UpdateProjectCreateDeployments = {
|
|
|
407
407
|
Disabled: "disabled",
|
|
408
408
|
};
|
|
409
409
|
export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType = {
|
|
410
|
-
Path: "path",
|
|
411
410
|
Host: "host",
|
|
411
|
+
Path: "path",
|
|
412
412
|
Method: "method",
|
|
413
413
|
Header: "header",
|
|
414
414
|
Cookie: "cookie",
|
|
@@ -421,8 +421,8 @@ export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurity
|
|
|
421
421
|
InitialRequestPath: "initial_request_path",
|
|
422
422
|
};
|
|
423
423
|
export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType = {
|
|
424
|
-
Path: "path",
|
|
425
424
|
Host: "host",
|
|
425
|
+
Path: "path",
|
|
426
426
|
Method: "method",
|
|
427
427
|
Header: "header",
|
|
428
428
|
Cookie: "cookie",
|