@vercel/sdk 1.6.10 → 1.6.11
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/README.md +31 -17
- package/bin/mcp-server.js +1510 -1189
- package/bin/mcp-server.js.map +17 -17
- package/docs/sdks/aliases/README.md +84 -0
- package/docs/sdks/vercel/README.md +0 -77
- package/esm/__tests__/aliases.test.js +17 -0
- package/esm/__tests__/aliases.test.js.map +1 -1
- package/esm/__tests__/projects.test.js +15 -13
- package/esm/__tests__/projects.test.js.map +1 -1
- package/esm/__tests__/vercel.test.js +3 -16
- package/esm/__tests__/vercel.test.js.map +1 -1
- package/esm/funcs/{patchAliasesIdProtectionBypass.d.ts → aliasesPatchUrlProtectionBypass.d.ts} +7 -4
- package/esm/funcs/aliasesPatchUrlProtectionBypass.d.ts.map +1 -0
- package/esm/funcs/{patchAliasesIdProtectionBypass.js → aliasesPatchUrlProtectionBypass.js} +22 -9
- package/esm/funcs/aliasesPatchUrlProtectionBypass.js.map +1 -0
- 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 +3 -3
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/aliasesPatchUrlProtectionBypass.d.ts +7 -0
- package/esm/mcp-server/tools/aliasesPatchUrlProtectionBypass.d.ts.map +1 -0
- package/esm/mcp-server/tools/aliasesPatchUrlProtectionBypass.js +28 -0
- package/esm/mcp-server/tools/aliasesPatchUrlProtectionBypass.js.map +1 -0
- package/esm/models/createprojectop.d.ts +206 -28
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +195 -31
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/createrecordop.d.ts +43 -43
- package/esm/models/createrecordop.d.ts.map +1 -1
- package/esm/models/createrecordop.js +51 -51
- package/esm/models/createrecordop.js.map +1 -1
- package/esm/models/getaliasop.d.ts +62 -62
- package/esm/models/getaliasop.d.ts.map +1 -1
- package/esm/models/getaliasop.js +84 -83
- package/esm/models/getaliasop.js.map +1 -1
- package/esm/models/getprojectsop.d.ts +87 -13
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +99 -16
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/listdeploymentaliasesop.d.ts +32 -32
- package/esm/models/listdeploymentaliasesop.d.ts.map +1 -1
- package/esm/models/listdeploymentaliasesop.js +50 -50
- package/esm/models/listdeploymentaliasesop.js.map +1 -1
- package/esm/models/{patchaliasesidprotectionbypassop.d.ts → patchurlprotectionbypassop.d.ts} +86 -76
- package/esm/models/patchurlprotectionbypassop.d.ts.map +1 -0
- package/esm/models/{patchaliasesidprotectionbypassop.js → patchurlprotectionbypassop.js} +95 -91
- package/esm/models/patchurlprotectionbypassop.js.map +1 -0
- package/esm/models/updateprojectdatacacheop.d.ts +103 -29
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +126 -42
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +238 -60
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +248 -80
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/updateprojectprotectionbypassop.d.ts +88 -14
- package/esm/models/updateprojectprotectionbypassop.d.ts.map +1 -1
- package/esm/models/updateprojectprotectionbypassop.js +100 -17
- package/esm/models/updateprojectprotectionbypassop.js.map +1 -1
- package/esm/sdk/aliases.d.ts +10 -0
- package/esm/sdk/aliases.d.ts.map +1 -1
- package/esm/sdk/aliases.js +10 -0
- package/esm/sdk/aliases.js.map +1 -1
- package/esm/sdk/sdk.d.ts +1 -8
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +0 -8
- package/esm/sdk/sdk.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/aliases.test.ts +20 -0
- package/src/__tests__/projects.test.ts +15 -13
- package/src/__tests__/vercel.test.ts +4 -19
- package/src/funcs/{patchAliasesIdProtectionBypass.ts → aliasesPatchUrlProtectionBypass.ts} +27 -13
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -3
- package/src/mcp-server/tools/aliasesPatchUrlProtectionBypass.ts +38 -0
- package/src/models/createprojectop.ts +401 -55
- package/src/models/createrecordop.ts +84 -96
- package/src/models/getaliasop.ts +130 -126
- package/src/models/getprojectsop.ts +205 -29
- package/src/models/listdeploymentaliasesop.ts +78 -78
- package/src/models/{patchaliasesidprotectionbypassop.ts → patchurlprotectionbypassop.ts} +191 -156
- package/src/models/updateprojectdatacacheop.ts +247 -65
- package/src/models/updateprojectop.ts +486 -125
- package/src/models/updateprojectprotectionbypassop.ts +239 -31
- package/src/sdk/aliases.ts +19 -0
- package/src/sdk/sdk.ts +1 -18
- package/vercel-spec.json +417 -112
- package/esm/funcs/patchAliasesIdProtectionBypass.d.ts.map +0 -1
- package/esm/funcs/patchAliasesIdProtectionBypass.js.map +0 -1
- package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.d.ts +0 -7
- package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.d.ts.map +0 -1
- package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.js +0 -26
- package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.js.map +0 -1
- package/esm/models/patchaliasesidprotectionbypassop.d.ts.map +0 -1
- package/esm/models/patchaliasesidprotectionbypassop.js.map +0 -1
- package/src/mcp-server/tools/patchAliasesIdProtectionBypass.ts +0 -37
|
@@ -68,6 +68,35 @@ export declare const UpdateProjectNodeVersion: {
|
|
|
68
68
|
readonly TenDotX: "10.x";
|
|
69
69
|
};
|
|
70
70
|
export type UpdateProjectNodeVersion = ClosedEnum<typeof UpdateProjectNodeVersion>;
|
|
71
|
+
export declare const UpdateProjectBuildMachineType: {
|
|
72
|
+
readonly Enhanced: "enhanced";
|
|
73
|
+
readonly Ultra: "ultra";
|
|
74
|
+
};
|
|
75
|
+
export type UpdateProjectBuildMachineType = ClosedEnum<typeof UpdateProjectBuildMachineType>;
|
|
76
|
+
export declare const UpdateProjectFunctionDefaultMemoryType: {
|
|
77
|
+
readonly StandardLegacy: "standard_legacy";
|
|
78
|
+
readonly Standard: "standard";
|
|
79
|
+
readonly Performance: "performance";
|
|
80
|
+
};
|
|
81
|
+
export type UpdateProjectFunctionDefaultMemoryType = ClosedEnum<typeof UpdateProjectFunctionDefaultMemoryType>;
|
|
82
|
+
/**
|
|
83
|
+
* Specifies resource override configuration for the project
|
|
84
|
+
*/
|
|
85
|
+
export type UpdateProjectResourceConfig = {
|
|
86
|
+
buildMachineType?: UpdateProjectBuildMachineType | undefined;
|
|
87
|
+
fluid?: boolean | undefined;
|
|
88
|
+
/**
|
|
89
|
+
* The regions to deploy Vercel Functions to for this project
|
|
90
|
+
*/
|
|
91
|
+
functionDefaultRegions?: Array<string> | undefined;
|
|
92
|
+
functionDefaultTimeout?: number | undefined;
|
|
93
|
+
functionDefaultMemoryType?: UpdateProjectFunctionDefaultMemoryType | undefined;
|
|
94
|
+
/**
|
|
95
|
+
* Specifies whether Zero Config Failover is enabled for this project.
|
|
96
|
+
*/
|
|
97
|
+
functionZeroConfigFailover?: boolean | undefined;
|
|
98
|
+
elasticConcurrencyEnabled?: boolean | undefined;
|
|
99
|
+
};
|
|
71
100
|
/**
|
|
72
101
|
* team: `https://oidc.vercel.com/[team_slug]` global: `https://oidc.vercel.com`
|
|
73
102
|
*/
|
|
@@ -268,6 +297,10 @@ export type UpdateProjectRequestBody = {
|
|
|
268
297
|
* Specifies whether the source code and logs of the deployments for this project should be public or not
|
|
269
298
|
*/
|
|
270
299
|
publicSource?: boolean | null | undefined;
|
|
300
|
+
/**
|
|
301
|
+
* Specifies resource override configuration for the project
|
|
302
|
+
*/
|
|
303
|
+
resourceConfig?: UpdateProjectResourceConfig | undefined;
|
|
271
304
|
/**
|
|
272
305
|
* The name of a directory or relative path to the source code of your project. When `null` is used it will default to the project root
|
|
273
306
|
*/
|
|
@@ -1043,25 +1076,25 @@ export type UpdateProjectProjectsOptionsAllowlist = {
|
|
|
1043
1076
|
paths: Array<UpdateProjectProjectsPaths>;
|
|
1044
1077
|
};
|
|
1045
1078
|
export type UpdateProjectProjectsPasswordProtection = {};
|
|
1046
|
-
export declare const
|
|
1079
|
+
export declare const UpdateProjectProjectsFunctionDefaultMemoryType: {
|
|
1047
1080
|
readonly StandardLegacy: "standard_legacy";
|
|
1048
1081
|
readonly Standard: "standard";
|
|
1049
1082
|
readonly Performance: "performance";
|
|
1050
1083
|
};
|
|
1051
|
-
export type
|
|
1052
|
-
export declare const
|
|
1084
|
+
export type UpdateProjectProjectsFunctionDefaultMemoryType = ClosedEnum<typeof UpdateProjectProjectsFunctionDefaultMemoryType>;
|
|
1085
|
+
export declare const UpdateProjectProjectsBuildMachineType: {
|
|
1053
1086
|
readonly Enhanced: "enhanced";
|
|
1054
1087
|
readonly Ultra: "ultra";
|
|
1055
1088
|
};
|
|
1056
|
-
export type
|
|
1057
|
-
export type
|
|
1089
|
+
export type UpdateProjectProjectsBuildMachineType = ClosedEnum<typeof UpdateProjectProjectsBuildMachineType>;
|
|
1090
|
+
export type UpdateProjectProjectsResourceConfig = {
|
|
1058
1091
|
fluid?: boolean | undefined;
|
|
1059
1092
|
functionDefaultRegions: Array<string>;
|
|
1060
1093
|
functionDefaultTimeout?: number | undefined;
|
|
1061
|
-
functionDefaultMemoryType?:
|
|
1094
|
+
functionDefaultMemoryType?: UpdateProjectProjectsFunctionDefaultMemoryType | undefined;
|
|
1062
1095
|
functionZeroConfigFailover?: boolean | undefined;
|
|
1063
1096
|
elasticConcurrencyEnabled?: boolean | undefined;
|
|
1064
|
-
buildMachineType?:
|
|
1097
|
+
buildMachineType?: UpdateProjectProjectsBuildMachineType | undefined;
|
|
1065
1098
|
};
|
|
1066
1099
|
/**
|
|
1067
1100
|
* An array of all the stages required during a deployment release. each stage requires an approval before advancing to the next stage.
|
|
@@ -1098,25 +1131,25 @@ export type UpdateProjectRollingRelease = {
|
|
|
1098
1131
|
*/
|
|
1099
1132
|
stages?: Array<UpdateProjectStages> | null | undefined;
|
|
1100
1133
|
};
|
|
1101
|
-
export declare const
|
|
1134
|
+
export declare const UpdateProjectProjectsResponseFunctionDefaultMemoryType: {
|
|
1102
1135
|
readonly StandardLegacy: "standard_legacy";
|
|
1103
1136
|
readonly Standard: "standard";
|
|
1104
1137
|
readonly Performance: "performance";
|
|
1105
1138
|
};
|
|
1106
|
-
export type
|
|
1107
|
-
export declare const
|
|
1139
|
+
export type UpdateProjectProjectsResponseFunctionDefaultMemoryType = ClosedEnum<typeof UpdateProjectProjectsResponseFunctionDefaultMemoryType>;
|
|
1140
|
+
export declare const UpdateProjectProjectsResponseBuildMachineType: {
|
|
1108
1141
|
readonly Enhanced: "enhanced";
|
|
1109
1142
|
readonly Ultra: "ultra";
|
|
1110
1143
|
};
|
|
1111
|
-
export type
|
|
1144
|
+
export type UpdateProjectProjectsResponseBuildMachineType = ClosedEnum<typeof UpdateProjectProjectsResponseBuildMachineType>;
|
|
1112
1145
|
export type UpdateProjectDefaultResourceConfig = {
|
|
1113
1146
|
fluid?: boolean | undefined;
|
|
1114
1147
|
functionDefaultRegions: Array<string>;
|
|
1115
1148
|
functionDefaultTimeout?: number | undefined;
|
|
1116
|
-
functionDefaultMemoryType?:
|
|
1149
|
+
functionDefaultMemoryType?: UpdateProjectProjectsResponseFunctionDefaultMemoryType | undefined;
|
|
1117
1150
|
functionZeroConfigFailover?: boolean | undefined;
|
|
1118
1151
|
elasticConcurrencyEnabled?: boolean | undefined;
|
|
1119
|
-
buildMachineType?:
|
|
1152
|
+
buildMachineType?: UpdateProjectProjectsResponseBuildMachineType | undefined;
|
|
1120
1153
|
};
|
|
1121
1154
|
export declare const UpdateProjectProjectsResponseDeploymentType: {
|
|
1122
1155
|
readonly Preview: "preview";
|
|
@@ -1480,15 +1513,26 @@ export type UpdateProjectLastAliasRequest = {
|
|
|
1480
1513
|
requestedAt: number;
|
|
1481
1514
|
type: UpdateProjectProjectsResponse200ApplicationJSONType;
|
|
1482
1515
|
};
|
|
1483
|
-
export declare const
|
|
1516
|
+
export declare const UpdateProjectProtectionBypassProjectsScope: {
|
|
1484
1517
|
readonly AutomationBypass: "automation-bypass";
|
|
1485
1518
|
};
|
|
1486
|
-
export type
|
|
1487
|
-
export type
|
|
1519
|
+
export type UpdateProjectProtectionBypassProjectsScope = ClosedEnum<typeof UpdateProjectProtectionBypassProjectsScope>;
|
|
1520
|
+
export type UpdateProjectProtectionBypass2 = {
|
|
1488
1521
|
createdAt: number;
|
|
1489
1522
|
createdBy: string;
|
|
1490
|
-
scope:
|
|
1523
|
+
scope: UpdateProjectProtectionBypassProjectsScope;
|
|
1491
1524
|
};
|
|
1525
|
+
export declare const UpdateProjectProtectionBypassScope: {
|
|
1526
|
+
readonly IntegrationAutomationBypass: "integration-automation-bypass";
|
|
1527
|
+
};
|
|
1528
|
+
export type UpdateProjectProtectionBypassScope = ClosedEnum<typeof UpdateProjectProtectionBypassScope>;
|
|
1529
|
+
export type UpdateProjectProtectionBypass1 = {
|
|
1530
|
+
createdAt: number;
|
|
1531
|
+
createdBy: string;
|
|
1532
|
+
scope: UpdateProjectProtectionBypassScope;
|
|
1533
|
+
integrationId: string;
|
|
1534
|
+
};
|
|
1535
|
+
export type UpdateProjectProtectionBypass = UpdateProjectProtectionBypass2 | UpdateProjectProtectionBypass1;
|
|
1492
1536
|
export declare const UpdateProjectTrustedIpsProjectsDeploymentType: {
|
|
1493
1537
|
readonly Production: "production";
|
|
1494
1538
|
readonly Preview: "preview";
|
|
@@ -1767,7 +1811,7 @@ export type UpdateProjectResponseBody = {
|
|
|
1767
1811
|
passwordProtection?: UpdateProjectProjectsPasswordProtection | null | undefined;
|
|
1768
1812
|
productionDeploymentsFastLane?: boolean | undefined;
|
|
1769
1813
|
publicSource?: boolean | null | undefined;
|
|
1770
|
-
resourceConfig:
|
|
1814
|
+
resourceConfig: UpdateProjectProjectsResourceConfig;
|
|
1771
1815
|
rollingRelease?: UpdateProjectRollingRelease | null | undefined;
|
|
1772
1816
|
defaultResourceConfig: UpdateProjectDefaultResourceConfig;
|
|
1773
1817
|
rootDirectory?: string | null | undefined;
|
|
@@ -1794,7 +1838,7 @@ export type UpdateProjectResponseBody = {
|
|
|
1794
1838
|
lastRollbackTarget?: UpdateProjectLastRollbackTarget | null | undefined;
|
|
1795
1839
|
lastAliasRequest?: UpdateProjectLastAliasRequest | null | undefined;
|
|
1796
1840
|
protectionBypass?: {
|
|
1797
|
-
[k: string]:
|
|
1841
|
+
[k: string]: UpdateProjectProtectionBypass2 | UpdateProjectProtectionBypass1;
|
|
1798
1842
|
} | undefined;
|
|
1799
1843
|
hasActiveBranches?: boolean | undefined;
|
|
1800
1844
|
trustedIps?: UpdateProjectTrustedIps2 | UpdateProjectTrustedIps1 | null | undefined;
|
|
@@ -1946,6 +1990,76 @@ export declare namespace UpdateProjectNodeVersion$ {
|
|
|
1946
1990
|
}>;
|
|
1947
1991
|
}
|
|
1948
1992
|
/** @internal */
|
|
1993
|
+
export declare const UpdateProjectBuildMachineType$inboundSchema: z.ZodNativeEnum<typeof UpdateProjectBuildMachineType>;
|
|
1994
|
+
/** @internal */
|
|
1995
|
+
export declare const UpdateProjectBuildMachineType$outboundSchema: z.ZodNativeEnum<typeof UpdateProjectBuildMachineType>;
|
|
1996
|
+
/**
|
|
1997
|
+
* @internal
|
|
1998
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1999
|
+
*/
|
|
2000
|
+
export declare namespace UpdateProjectBuildMachineType$ {
|
|
2001
|
+
/** @deprecated use `UpdateProjectBuildMachineType$inboundSchema` instead. */
|
|
2002
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
2003
|
+
readonly Enhanced: "enhanced";
|
|
2004
|
+
readonly Ultra: "ultra";
|
|
2005
|
+
}>;
|
|
2006
|
+
/** @deprecated use `UpdateProjectBuildMachineType$outboundSchema` instead. */
|
|
2007
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
2008
|
+
readonly Enhanced: "enhanced";
|
|
2009
|
+
readonly Ultra: "ultra";
|
|
2010
|
+
}>;
|
|
2011
|
+
}
|
|
2012
|
+
/** @internal */
|
|
2013
|
+
export declare const UpdateProjectFunctionDefaultMemoryType$inboundSchema: z.ZodNativeEnum<typeof UpdateProjectFunctionDefaultMemoryType>;
|
|
2014
|
+
/** @internal */
|
|
2015
|
+
export declare const UpdateProjectFunctionDefaultMemoryType$outboundSchema: z.ZodNativeEnum<typeof UpdateProjectFunctionDefaultMemoryType>;
|
|
2016
|
+
/**
|
|
2017
|
+
* @internal
|
|
2018
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2019
|
+
*/
|
|
2020
|
+
export declare namespace UpdateProjectFunctionDefaultMemoryType$ {
|
|
2021
|
+
/** @deprecated use `UpdateProjectFunctionDefaultMemoryType$inboundSchema` instead. */
|
|
2022
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
2023
|
+
readonly StandardLegacy: "standard_legacy";
|
|
2024
|
+
readonly Standard: "standard";
|
|
2025
|
+
readonly Performance: "performance";
|
|
2026
|
+
}>;
|
|
2027
|
+
/** @deprecated use `UpdateProjectFunctionDefaultMemoryType$outboundSchema` instead. */
|
|
2028
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
2029
|
+
readonly StandardLegacy: "standard_legacy";
|
|
2030
|
+
readonly Standard: "standard";
|
|
2031
|
+
readonly Performance: "performance";
|
|
2032
|
+
}>;
|
|
2033
|
+
}
|
|
2034
|
+
/** @internal */
|
|
2035
|
+
export declare const UpdateProjectResourceConfig$inboundSchema: z.ZodType<UpdateProjectResourceConfig, z.ZodTypeDef, unknown>;
|
|
2036
|
+
/** @internal */
|
|
2037
|
+
export type UpdateProjectResourceConfig$Outbound = {
|
|
2038
|
+
buildMachineType?: string | undefined;
|
|
2039
|
+
fluid?: boolean | undefined;
|
|
2040
|
+
functionDefaultRegions?: Array<string> | undefined;
|
|
2041
|
+
functionDefaultTimeout?: number | undefined;
|
|
2042
|
+
functionDefaultMemoryType?: string | undefined;
|
|
2043
|
+
functionZeroConfigFailover?: boolean | undefined;
|
|
2044
|
+
elasticConcurrencyEnabled?: boolean | undefined;
|
|
2045
|
+
};
|
|
2046
|
+
/** @internal */
|
|
2047
|
+
export declare const UpdateProjectResourceConfig$outboundSchema: z.ZodType<UpdateProjectResourceConfig$Outbound, z.ZodTypeDef, UpdateProjectResourceConfig>;
|
|
2048
|
+
/**
|
|
2049
|
+
* @internal
|
|
2050
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2051
|
+
*/
|
|
2052
|
+
export declare namespace UpdateProjectResourceConfig$ {
|
|
2053
|
+
/** @deprecated use `UpdateProjectResourceConfig$inboundSchema` instead. */
|
|
2054
|
+
const inboundSchema: z.ZodType<UpdateProjectResourceConfig, z.ZodTypeDef, unknown>;
|
|
2055
|
+
/** @deprecated use `UpdateProjectResourceConfig$outboundSchema` instead. */
|
|
2056
|
+
const outboundSchema: z.ZodType<UpdateProjectResourceConfig$Outbound, z.ZodTypeDef, UpdateProjectResourceConfig>;
|
|
2057
|
+
/** @deprecated use `UpdateProjectResourceConfig$Outbound` instead. */
|
|
2058
|
+
type Outbound = UpdateProjectResourceConfig$Outbound;
|
|
2059
|
+
}
|
|
2060
|
+
export declare function updateProjectResourceConfigToJSON(updateProjectResourceConfig: UpdateProjectResourceConfig): string;
|
|
2061
|
+
export declare function updateProjectResourceConfigFromJSON(jsonString: string): SafeParseResult<UpdateProjectResourceConfig, SDKValidationError>;
|
|
2062
|
+
/** @internal */
|
|
1949
2063
|
export declare const UpdateProjectIssuerMode$inboundSchema: z.ZodNativeEnum<typeof UpdateProjectIssuerMode>;
|
|
1950
2064
|
/** @internal */
|
|
1951
2065
|
export declare const UpdateProjectIssuerMode$outboundSchema: z.ZodNativeEnum<typeof UpdateProjectIssuerMode>;
|
|
@@ -2278,6 +2392,7 @@ export type UpdateProjectRequestBody$Outbound = {
|
|
|
2278
2392
|
outputDirectory?: string | null | undefined;
|
|
2279
2393
|
previewDeploymentsDisabled?: boolean | null | undefined;
|
|
2280
2394
|
publicSource?: boolean | null | undefined;
|
|
2395
|
+
resourceConfig?: UpdateProjectResourceConfig$Outbound | undefined;
|
|
2281
2396
|
rootDirectory?: string | null | undefined;
|
|
2282
2397
|
serverlessFunctionRegion?: string | null | undefined;
|
|
2283
2398
|
serverlessFunctionZeroConfigFailover?: boolean | undefined;
|
|
@@ -4423,21 +4538,21 @@ export declare namespace UpdateProjectProjectsPasswordProtection$ {
|
|
|
4423
4538
|
export declare function updateProjectProjectsPasswordProtectionToJSON(updateProjectProjectsPasswordProtection: UpdateProjectProjectsPasswordProtection): string;
|
|
4424
4539
|
export declare function updateProjectProjectsPasswordProtectionFromJSON(jsonString: string): SafeParseResult<UpdateProjectProjectsPasswordProtection, SDKValidationError>;
|
|
4425
4540
|
/** @internal */
|
|
4426
|
-
export declare const
|
|
4541
|
+
export declare const UpdateProjectProjectsFunctionDefaultMemoryType$inboundSchema: z.ZodNativeEnum<typeof UpdateProjectProjectsFunctionDefaultMemoryType>;
|
|
4427
4542
|
/** @internal */
|
|
4428
|
-
export declare const
|
|
4543
|
+
export declare const UpdateProjectProjectsFunctionDefaultMemoryType$outboundSchema: z.ZodNativeEnum<typeof UpdateProjectProjectsFunctionDefaultMemoryType>;
|
|
4429
4544
|
/**
|
|
4430
4545
|
* @internal
|
|
4431
4546
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4432
4547
|
*/
|
|
4433
|
-
export declare namespace
|
|
4434
|
-
/** @deprecated use `
|
|
4548
|
+
export declare namespace UpdateProjectProjectsFunctionDefaultMemoryType$ {
|
|
4549
|
+
/** @deprecated use `UpdateProjectProjectsFunctionDefaultMemoryType$inboundSchema` instead. */
|
|
4435
4550
|
const inboundSchema: z.ZodNativeEnum<{
|
|
4436
4551
|
readonly StandardLegacy: "standard_legacy";
|
|
4437
4552
|
readonly Standard: "standard";
|
|
4438
4553
|
readonly Performance: "performance";
|
|
4439
4554
|
}>;
|
|
4440
|
-
/** @deprecated use `
|
|
4555
|
+
/** @deprecated use `UpdateProjectProjectsFunctionDefaultMemoryType$outboundSchema` instead. */
|
|
4441
4556
|
const outboundSchema: z.ZodNativeEnum<{
|
|
4442
4557
|
readonly StandardLegacy: "standard_legacy";
|
|
4443
4558
|
readonly Standard: "standard";
|
|
@@ -4445,29 +4560,29 @@ export declare namespace UpdateProjectFunctionDefaultMemoryType$ {
|
|
|
4445
4560
|
}>;
|
|
4446
4561
|
}
|
|
4447
4562
|
/** @internal */
|
|
4448
|
-
export declare const
|
|
4563
|
+
export declare const UpdateProjectProjectsBuildMachineType$inboundSchema: z.ZodNativeEnum<typeof UpdateProjectProjectsBuildMachineType>;
|
|
4449
4564
|
/** @internal */
|
|
4450
|
-
export declare const
|
|
4565
|
+
export declare const UpdateProjectProjectsBuildMachineType$outboundSchema: z.ZodNativeEnum<typeof UpdateProjectProjectsBuildMachineType>;
|
|
4451
4566
|
/**
|
|
4452
4567
|
* @internal
|
|
4453
4568
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4454
4569
|
*/
|
|
4455
|
-
export declare namespace
|
|
4456
|
-
/** @deprecated use `
|
|
4570
|
+
export declare namespace UpdateProjectProjectsBuildMachineType$ {
|
|
4571
|
+
/** @deprecated use `UpdateProjectProjectsBuildMachineType$inboundSchema` instead. */
|
|
4457
4572
|
const inboundSchema: z.ZodNativeEnum<{
|
|
4458
4573
|
readonly Enhanced: "enhanced";
|
|
4459
4574
|
readonly Ultra: "ultra";
|
|
4460
4575
|
}>;
|
|
4461
|
-
/** @deprecated use `
|
|
4576
|
+
/** @deprecated use `UpdateProjectProjectsBuildMachineType$outboundSchema` instead. */
|
|
4462
4577
|
const outboundSchema: z.ZodNativeEnum<{
|
|
4463
4578
|
readonly Enhanced: "enhanced";
|
|
4464
4579
|
readonly Ultra: "ultra";
|
|
4465
4580
|
}>;
|
|
4466
4581
|
}
|
|
4467
4582
|
/** @internal */
|
|
4468
|
-
export declare const
|
|
4583
|
+
export declare const UpdateProjectProjectsResourceConfig$inboundSchema: z.ZodType<UpdateProjectProjectsResourceConfig, z.ZodTypeDef, unknown>;
|
|
4469
4584
|
/** @internal */
|
|
4470
|
-
export type
|
|
4585
|
+
export type UpdateProjectProjectsResourceConfig$Outbound = {
|
|
4471
4586
|
fluid?: boolean | undefined;
|
|
4472
4587
|
functionDefaultRegions: Array<string>;
|
|
4473
4588
|
functionDefaultTimeout?: number | undefined;
|
|
@@ -4477,21 +4592,21 @@ export type UpdateProjectResourceConfig$Outbound = {
|
|
|
4477
4592
|
buildMachineType?: string | undefined;
|
|
4478
4593
|
};
|
|
4479
4594
|
/** @internal */
|
|
4480
|
-
export declare const
|
|
4595
|
+
export declare const UpdateProjectProjectsResourceConfig$outboundSchema: z.ZodType<UpdateProjectProjectsResourceConfig$Outbound, z.ZodTypeDef, UpdateProjectProjectsResourceConfig>;
|
|
4481
4596
|
/**
|
|
4482
4597
|
* @internal
|
|
4483
4598
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4484
4599
|
*/
|
|
4485
|
-
export declare namespace
|
|
4486
|
-
/** @deprecated use `
|
|
4487
|
-
const inboundSchema: z.ZodType<
|
|
4488
|
-
/** @deprecated use `
|
|
4489
|
-
const outboundSchema: z.ZodType<
|
|
4490
|
-
/** @deprecated use `
|
|
4491
|
-
type Outbound =
|
|
4600
|
+
export declare namespace UpdateProjectProjectsResourceConfig$ {
|
|
4601
|
+
/** @deprecated use `UpdateProjectProjectsResourceConfig$inboundSchema` instead. */
|
|
4602
|
+
const inboundSchema: z.ZodType<UpdateProjectProjectsResourceConfig, z.ZodTypeDef, unknown>;
|
|
4603
|
+
/** @deprecated use `UpdateProjectProjectsResourceConfig$outboundSchema` instead. */
|
|
4604
|
+
const outboundSchema: z.ZodType<UpdateProjectProjectsResourceConfig$Outbound, z.ZodTypeDef, UpdateProjectProjectsResourceConfig>;
|
|
4605
|
+
/** @deprecated use `UpdateProjectProjectsResourceConfig$Outbound` instead. */
|
|
4606
|
+
type Outbound = UpdateProjectProjectsResourceConfig$Outbound;
|
|
4492
4607
|
}
|
|
4493
|
-
export declare function
|
|
4494
|
-
export declare function
|
|
4608
|
+
export declare function updateProjectProjectsResourceConfigToJSON(updateProjectProjectsResourceConfig: UpdateProjectProjectsResourceConfig): string;
|
|
4609
|
+
export declare function updateProjectProjectsResourceConfigFromJSON(jsonString: string): SafeParseResult<UpdateProjectProjectsResourceConfig, SDKValidationError>;
|
|
4495
4610
|
/** @internal */
|
|
4496
4611
|
export declare const UpdateProjectStages$inboundSchema: z.ZodType<UpdateProjectStages, z.ZodTypeDef, unknown>;
|
|
4497
4612
|
/** @internal */
|
|
@@ -4542,21 +4657,21 @@ export declare namespace UpdateProjectRollingRelease$ {
|
|
|
4542
4657
|
export declare function updateProjectRollingReleaseToJSON(updateProjectRollingRelease: UpdateProjectRollingRelease): string;
|
|
4543
4658
|
export declare function updateProjectRollingReleaseFromJSON(jsonString: string): SafeParseResult<UpdateProjectRollingRelease, SDKValidationError>;
|
|
4544
4659
|
/** @internal */
|
|
4545
|
-
export declare const
|
|
4660
|
+
export declare const UpdateProjectProjectsResponseFunctionDefaultMemoryType$inboundSchema: z.ZodNativeEnum<typeof UpdateProjectProjectsResponseFunctionDefaultMemoryType>;
|
|
4546
4661
|
/** @internal */
|
|
4547
|
-
export declare const
|
|
4662
|
+
export declare const UpdateProjectProjectsResponseFunctionDefaultMemoryType$outboundSchema: z.ZodNativeEnum<typeof UpdateProjectProjectsResponseFunctionDefaultMemoryType>;
|
|
4548
4663
|
/**
|
|
4549
4664
|
* @internal
|
|
4550
4665
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4551
4666
|
*/
|
|
4552
|
-
export declare namespace
|
|
4553
|
-
/** @deprecated use `
|
|
4667
|
+
export declare namespace UpdateProjectProjectsResponseFunctionDefaultMemoryType$ {
|
|
4668
|
+
/** @deprecated use `UpdateProjectProjectsResponseFunctionDefaultMemoryType$inboundSchema` instead. */
|
|
4554
4669
|
const inboundSchema: z.ZodNativeEnum<{
|
|
4555
4670
|
readonly StandardLegacy: "standard_legacy";
|
|
4556
4671
|
readonly Standard: "standard";
|
|
4557
4672
|
readonly Performance: "performance";
|
|
4558
4673
|
}>;
|
|
4559
|
-
/** @deprecated use `
|
|
4674
|
+
/** @deprecated use `UpdateProjectProjectsResponseFunctionDefaultMemoryType$outboundSchema` instead. */
|
|
4560
4675
|
const outboundSchema: z.ZodNativeEnum<{
|
|
4561
4676
|
readonly StandardLegacy: "standard_legacy";
|
|
4562
4677
|
readonly Standard: "standard";
|
|
@@ -4564,20 +4679,20 @@ export declare namespace UpdateProjectProjectsFunctionDefaultMemoryType$ {
|
|
|
4564
4679
|
}>;
|
|
4565
4680
|
}
|
|
4566
4681
|
/** @internal */
|
|
4567
|
-
export declare const
|
|
4682
|
+
export declare const UpdateProjectProjectsResponseBuildMachineType$inboundSchema: z.ZodNativeEnum<typeof UpdateProjectProjectsResponseBuildMachineType>;
|
|
4568
4683
|
/** @internal */
|
|
4569
|
-
export declare const
|
|
4684
|
+
export declare const UpdateProjectProjectsResponseBuildMachineType$outboundSchema: z.ZodNativeEnum<typeof UpdateProjectProjectsResponseBuildMachineType>;
|
|
4570
4685
|
/**
|
|
4571
4686
|
* @internal
|
|
4572
4687
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4573
4688
|
*/
|
|
4574
|
-
export declare namespace
|
|
4575
|
-
/** @deprecated use `
|
|
4689
|
+
export declare namespace UpdateProjectProjectsResponseBuildMachineType$ {
|
|
4690
|
+
/** @deprecated use `UpdateProjectProjectsResponseBuildMachineType$inboundSchema` instead. */
|
|
4576
4691
|
const inboundSchema: z.ZodNativeEnum<{
|
|
4577
4692
|
readonly Enhanced: "enhanced";
|
|
4578
4693
|
readonly Ultra: "ultra";
|
|
4579
4694
|
}>;
|
|
4580
|
-
/** @deprecated use `
|
|
4695
|
+
/** @deprecated use `UpdateProjectProjectsResponseBuildMachineType$outboundSchema` instead. */
|
|
4581
4696
|
const outboundSchema: z.ZodNativeEnum<{
|
|
4582
4697
|
readonly Enhanced: "enhanced";
|
|
4583
4698
|
readonly Ultra: "ultra";
|
|
@@ -5328,32 +5443,95 @@ export declare namespace UpdateProjectLastAliasRequest$ {
|
|
|
5328
5443
|
export declare function updateProjectLastAliasRequestToJSON(updateProjectLastAliasRequest: UpdateProjectLastAliasRequest): string;
|
|
5329
5444
|
export declare function updateProjectLastAliasRequestFromJSON(jsonString: string): SafeParseResult<UpdateProjectLastAliasRequest, SDKValidationError>;
|
|
5330
5445
|
/** @internal */
|
|
5331
|
-
export declare const
|
|
5446
|
+
export declare const UpdateProjectProtectionBypassProjectsScope$inboundSchema: z.ZodNativeEnum<typeof UpdateProjectProtectionBypassProjectsScope>;
|
|
5332
5447
|
/** @internal */
|
|
5333
|
-
export declare const
|
|
5448
|
+
export declare const UpdateProjectProtectionBypassProjectsScope$outboundSchema: z.ZodNativeEnum<typeof UpdateProjectProtectionBypassProjectsScope>;
|
|
5334
5449
|
/**
|
|
5335
5450
|
* @internal
|
|
5336
5451
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5337
5452
|
*/
|
|
5338
|
-
export declare namespace
|
|
5339
|
-
/** @deprecated use `
|
|
5453
|
+
export declare namespace UpdateProjectProtectionBypassProjectsScope$ {
|
|
5454
|
+
/** @deprecated use `UpdateProjectProtectionBypassProjectsScope$inboundSchema` instead. */
|
|
5340
5455
|
const inboundSchema: z.ZodNativeEnum<{
|
|
5341
5456
|
readonly AutomationBypass: "automation-bypass";
|
|
5342
5457
|
}>;
|
|
5343
|
-
/** @deprecated use `
|
|
5458
|
+
/** @deprecated use `UpdateProjectProtectionBypassProjectsScope$outboundSchema` instead. */
|
|
5344
5459
|
const outboundSchema: z.ZodNativeEnum<{
|
|
5345
5460
|
readonly AutomationBypass: "automation-bypass";
|
|
5346
5461
|
}>;
|
|
5347
5462
|
}
|
|
5348
5463
|
/** @internal */
|
|
5349
|
-
export declare const
|
|
5464
|
+
export declare const UpdateProjectProtectionBypass2$inboundSchema: z.ZodType<UpdateProjectProtectionBypass2, z.ZodTypeDef, unknown>;
|
|
5350
5465
|
/** @internal */
|
|
5351
|
-
export type
|
|
5466
|
+
export type UpdateProjectProtectionBypass2$Outbound = {
|
|
5352
5467
|
createdAt: number;
|
|
5353
5468
|
createdBy: string;
|
|
5354
5469
|
scope: string;
|
|
5355
5470
|
};
|
|
5356
5471
|
/** @internal */
|
|
5472
|
+
export declare const UpdateProjectProtectionBypass2$outboundSchema: z.ZodType<UpdateProjectProtectionBypass2$Outbound, z.ZodTypeDef, UpdateProjectProtectionBypass2>;
|
|
5473
|
+
/**
|
|
5474
|
+
* @internal
|
|
5475
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5476
|
+
*/
|
|
5477
|
+
export declare namespace UpdateProjectProtectionBypass2$ {
|
|
5478
|
+
/** @deprecated use `UpdateProjectProtectionBypass2$inboundSchema` instead. */
|
|
5479
|
+
const inboundSchema: z.ZodType<UpdateProjectProtectionBypass2, z.ZodTypeDef, unknown>;
|
|
5480
|
+
/** @deprecated use `UpdateProjectProtectionBypass2$outboundSchema` instead. */
|
|
5481
|
+
const outboundSchema: z.ZodType<UpdateProjectProtectionBypass2$Outbound, z.ZodTypeDef, UpdateProjectProtectionBypass2>;
|
|
5482
|
+
/** @deprecated use `UpdateProjectProtectionBypass2$Outbound` instead. */
|
|
5483
|
+
type Outbound = UpdateProjectProtectionBypass2$Outbound;
|
|
5484
|
+
}
|
|
5485
|
+
export declare function updateProjectProtectionBypass2ToJSON(updateProjectProtectionBypass2: UpdateProjectProtectionBypass2): string;
|
|
5486
|
+
export declare function updateProjectProtectionBypass2FromJSON(jsonString: string): SafeParseResult<UpdateProjectProtectionBypass2, SDKValidationError>;
|
|
5487
|
+
/** @internal */
|
|
5488
|
+
export declare const UpdateProjectProtectionBypassScope$inboundSchema: z.ZodNativeEnum<typeof UpdateProjectProtectionBypassScope>;
|
|
5489
|
+
/** @internal */
|
|
5490
|
+
export declare const UpdateProjectProtectionBypassScope$outboundSchema: z.ZodNativeEnum<typeof UpdateProjectProtectionBypassScope>;
|
|
5491
|
+
/**
|
|
5492
|
+
* @internal
|
|
5493
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5494
|
+
*/
|
|
5495
|
+
export declare namespace UpdateProjectProtectionBypassScope$ {
|
|
5496
|
+
/** @deprecated use `UpdateProjectProtectionBypassScope$inboundSchema` instead. */
|
|
5497
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
5498
|
+
readonly IntegrationAutomationBypass: "integration-automation-bypass";
|
|
5499
|
+
}>;
|
|
5500
|
+
/** @deprecated use `UpdateProjectProtectionBypassScope$outboundSchema` instead. */
|
|
5501
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
5502
|
+
readonly IntegrationAutomationBypass: "integration-automation-bypass";
|
|
5503
|
+
}>;
|
|
5504
|
+
}
|
|
5505
|
+
/** @internal */
|
|
5506
|
+
export declare const UpdateProjectProtectionBypass1$inboundSchema: z.ZodType<UpdateProjectProtectionBypass1, z.ZodTypeDef, unknown>;
|
|
5507
|
+
/** @internal */
|
|
5508
|
+
export type UpdateProjectProtectionBypass1$Outbound = {
|
|
5509
|
+
createdAt: number;
|
|
5510
|
+
createdBy: string;
|
|
5511
|
+
scope: string;
|
|
5512
|
+
integrationId: string;
|
|
5513
|
+
};
|
|
5514
|
+
/** @internal */
|
|
5515
|
+
export declare const UpdateProjectProtectionBypass1$outboundSchema: z.ZodType<UpdateProjectProtectionBypass1$Outbound, z.ZodTypeDef, UpdateProjectProtectionBypass1>;
|
|
5516
|
+
/**
|
|
5517
|
+
* @internal
|
|
5518
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5519
|
+
*/
|
|
5520
|
+
export declare namespace UpdateProjectProtectionBypass1$ {
|
|
5521
|
+
/** @deprecated use `UpdateProjectProtectionBypass1$inboundSchema` instead. */
|
|
5522
|
+
const inboundSchema: z.ZodType<UpdateProjectProtectionBypass1, z.ZodTypeDef, unknown>;
|
|
5523
|
+
/** @deprecated use `UpdateProjectProtectionBypass1$outboundSchema` instead. */
|
|
5524
|
+
const outboundSchema: z.ZodType<UpdateProjectProtectionBypass1$Outbound, z.ZodTypeDef, UpdateProjectProtectionBypass1>;
|
|
5525
|
+
/** @deprecated use `UpdateProjectProtectionBypass1$Outbound` instead. */
|
|
5526
|
+
type Outbound = UpdateProjectProtectionBypass1$Outbound;
|
|
5527
|
+
}
|
|
5528
|
+
export declare function updateProjectProtectionBypass1ToJSON(updateProjectProtectionBypass1: UpdateProjectProtectionBypass1): string;
|
|
5529
|
+
export declare function updateProjectProtectionBypass1FromJSON(jsonString: string): SafeParseResult<UpdateProjectProtectionBypass1, SDKValidationError>;
|
|
5530
|
+
/** @internal */
|
|
5531
|
+
export declare const UpdateProjectProtectionBypass$inboundSchema: z.ZodType<UpdateProjectProtectionBypass, z.ZodTypeDef, unknown>;
|
|
5532
|
+
/** @internal */
|
|
5533
|
+
export type UpdateProjectProtectionBypass$Outbound = UpdateProjectProtectionBypass2$Outbound | UpdateProjectProtectionBypass1$Outbound;
|
|
5534
|
+
/** @internal */
|
|
5357
5535
|
export declare const UpdateProjectProtectionBypass$outboundSchema: z.ZodType<UpdateProjectProtectionBypass$Outbound, z.ZodTypeDef, UpdateProjectProtectionBypass>;
|
|
5358
5536
|
/**
|
|
5359
5537
|
* @internal
|
|
@@ -6232,7 +6410,7 @@ export type UpdateProjectResponseBody$Outbound = {
|
|
|
6232
6410
|
passwordProtection?: UpdateProjectProjectsPasswordProtection$Outbound | null | undefined;
|
|
6233
6411
|
productionDeploymentsFastLane?: boolean | undefined;
|
|
6234
6412
|
publicSource?: boolean | null | undefined;
|
|
6235
|
-
resourceConfig:
|
|
6413
|
+
resourceConfig: UpdateProjectProjectsResourceConfig$Outbound;
|
|
6236
6414
|
rollingRelease?: UpdateProjectRollingRelease$Outbound | null | undefined;
|
|
6237
6415
|
defaultResourceConfig: UpdateProjectDefaultResourceConfig$Outbound;
|
|
6238
6416
|
rootDirectory?: string | null | undefined;
|
|
@@ -6259,7 +6437,7 @@ export type UpdateProjectResponseBody$Outbound = {
|
|
|
6259
6437
|
lastRollbackTarget?: UpdateProjectLastRollbackTarget$Outbound | null | undefined;
|
|
6260
6438
|
lastAliasRequest?: UpdateProjectLastAliasRequest$Outbound | null | undefined;
|
|
6261
6439
|
protectionBypass?: {
|
|
6262
|
-
[k: string]:
|
|
6440
|
+
[k: string]: UpdateProjectProtectionBypass2$Outbound | UpdateProjectProtectionBypass1$Outbound;
|
|
6263
6441
|
} | undefined;
|
|
6264
6442
|
hasActiveBranches?: boolean | undefined;
|
|
6265
6443
|
trustedIps?: UpdateProjectTrustedIps2$Outbound | UpdateProjectTrustedIps1$Outbound | null | undefined;
|