@vercel/sdk 1.6.7 → 1.6.8

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.
Files changed (142) hide show
  1. package/README.md +17 -29
  2. package/bin/mcp-server.js +2591 -901
  3. package/bin/mcp-server.js.map +29 -26
  4. package/docs/sdks/vercel/README.md +77 -0
  5. package/esm/__tests__/environment.test.js +28 -4
  6. package/esm/__tests__/environment.test.js.map +1 -1
  7. package/esm/__tests__/vercel.test.d.ts +2 -0
  8. package/esm/__tests__/vercel.test.d.ts.map +1 -0
  9. package/esm/__tests__/vercel.test.js +21 -0
  10. package/esm/__tests__/vercel.test.js.map +1 -0
  11. package/esm/funcs/marketplaceUpdateResourceSecretsById.js +2 -2
  12. package/esm/funcs/marketplaceUpdateResourceSecretsById.js.map +1 -1
  13. package/esm/funcs/patchAliasesIdProtectionBypass.d.ts +18 -0
  14. package/esm/funcs/patchAliasesIdProtectionBypass.d.ts.map +1 -0
  15. package/esm/funcs/patchAliasesIdProtectionBypass.js +81 -0
  16. package/esm/funcs/patchAliasesIdProtectionBypass.js.map +1 -0
  17. package/esm/lib/config.d.ts +3 -3
  18. package/esm/lib/config.js +3 -3
  19. package/esm/lib/sdks.d.ts +3 -1
  20. package/esm/lib/sdks.d.ts.map +1 -1
  21. package/esm/lib/sdks.js +6 -11
  22. package/esm/lib/sdks.js.map +1 -1
  23. package/esm/mcp-server/mcp-server.js +1 -1
  24. package/esm/mcp-server/server.d.ts.map +1 -1
  25. package/esm/mcp-server/server.js +3 -1
  26. package/esm/mcp-server/server.js.map +1 -1
  27. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.d.ts +7 -0
  28. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.d.ts.map +1 -0
  29. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.js +26 -0
  30. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.js.map +1 -0
  31. package/esm/models/authuser.d.ts +0 -5
  32. package/esm/models/authuser.d.ts.map +1 -1
  33. package/esm/models/authuser.js +0 -2
  34. package/esm/models/authuser.js.map +1 -1
  35. package/esm/models/canceldeploymentop.d.ts +268 -26
  36. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  37. package/esm/models/canceldeploymentop.js +194 -24
  38. package/esm/models/canceldeploymentop.js.map +1 -1
  39. package/esm/models/createcustomenvironmentop.d.ts +244 -2
  40. package/esm/models/createcustomenvironmentop.d.ts.map +1 -1
  41. package/esm/models/createcustomenvironmentop.js +174 -2
  42. package/esm/models/createcustomenvironmentop.js.map +1 -1
  43. package/esm/models/createdeploymentop.d.ts +357 -58
  44. package/esm/models/createdeploymentop.d.ts.map +1 -1
  45. package/esm/models/createdeploymentop.js +290 -60
  46. package/esm/models/createdeploymentop.js.map +1 -1
  47. package/esm/models/createprojectop.d.ts +328 -71
  48. package/esm/models/createprojectop.d.ts.map +1 -1
  49. package/esm/models/createprojectop.js +253 -75
  50. package/esm/models/createprojectop.js.map +1 -1
  51. package/esm/models/createrecordop.d.ts +43 -43
  52. package/esm/models/createrecordop.d.ts.map +1 -1
  53. package/esm/models/createrecordop.js +51 -51
  54. package/esm/models/createrecordop.js.map +1 -1
  55. package/esm/models/getaliasop.d.ts +8 -8
  56. package/esm/models/getaliasop.d.ts.map +1 -1
  57. package/esm/models/getaliasop.js +12 -13
  58. package/esm/models/getaliasop.js.map +1 -1
  59. package/esm/models/getcustomenvironmentop.d.ts +242 -2
  60. package/esm/models/getcustomenvironmentop.d.ts.map +1 -1
  61. package/esm/models/getcustomenvironmentop.js +175 -2
  62. package/esm/models/getcustomenvironmentop.js.map +1 -1
  63. package/esm/models/getdeploymentop.d.ts +502 -18
  64. package/esm/models/getdeploymentop.d.ts.map +1 -1
  65. package/esm/models/getdeploymentop.js +354 -14
  66. package/esm/models/getdeploymentop.js.map +1 -1
  67. package/esm/models/getprojectdomainsop.d.ts +30 -30
  68. package/esm/models/getprojectdomainsop.d.ts.map +1 -1
  69. package/esm/models/getprojectdomainsop.js +32 -32
  70. package/esm/models/getprojectdomainsop.js.map +1 -1
  71. package/esm/models/getprojectsop.d.ts +342 -95
  72. package/esm/models/getprojectsop.d.ts.map +1 -1
  73. package/esm/models/getprojectsop.js +285 -112
  74. package/esm/models/getprojectsop.js.map +1 -1
  75. package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts +242 -2
  76. package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts.map +1 -1
  77. package/esm/models/getv9projectsidornamecustomenvironmentsop.js +172 -2
  78. package/esm/models/getv9projectsidornamecustomenvironmentsop.js.map +1 -1
  79. package/esm/models/listaliasesop.d.ts +8 -8
  80. package/esm/models/listaliasesop.d.ts.map +1 -1
  81. package/esm/models/listaliasesop.js +12 -12
  82. package/esm/models/listaliasesop.js.map +1 -1
  83. package/esm/models/patchaliasesidprotectionbypassop.d.ts +409 -0
  84. package/esm/models/patchaliasesidprotectionbypassop.d.ts.map +1 -0
  85. package/esm/models/patchaliasesidprotectionbypassop.js +386 -0
  86. package/esm/models/patchaliasesidprotectionbypassop.js.map +1 -0
  87. package/esm/models/removecustomenvironmentop.d.ts +245 -2
  88. package/esm/models/removecustomenvironmentop.d.ts.map +1 -1
  89. package/esm/models/removecustomenvironmentop.js +173 -2
  90. package/esm/models/removecustomenvironmentop.js.map +1 -1
  91. package/esm/models/updatecustomenvironmentop.d.ts +244 -2
  92. package/esm/models/updatecustomenvironmentop.d.ts.map +1 -1
  93. package/esm/models/updatecustomenvironmentop.js +174 -2
  94. package/esm/models/updatecustomenvironmentop.js.map +1 -1
  95. package/esm/models/updateprojectdatacacheop.d.ts +358 -111
  96. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  97. package/esm/models/updateprojectdatacacheop.js +309 -135
  98. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  99. package/esm/models/updateprojectop.d.ts +342 -95
  100. package/esm/models/updateprojectop.d.ts.map +1 -1
  101. package/esm/models/updateprojectop.js +285 -111
  102. package/esm/models/updateprojectop.js.map +1 -1
  103. package/esm/models/userevent.d.ts +124 -6
  104. package/esm/models/userevent.d.ts.map +1 -1
  105. package/esm/models/userevent.js +114 -6
  106. package/esm/models/userevent.js.map +1 -1
  107. package/esm/sdk/sdk.d.ts +8 -1
  108. package/esm/sdk/sdk.d.ts.map +1 -1
  109. package/esm/sdk/sdk.js +8 -0
  110. package/esm/sdk/sdk.js.map +1 -1
  111. package/jsr.json +1 -1
  112. package/package.json +1 -1
  113. package/src/__tests__/environment.test.ts +28 -4
  114. package/src/__tests__/vercel.test.ts +26 -0
  115. package/src/funcs/marketplaceUpdateResourceSecretsById.ts +2 -2
  116. package/src/funcs/patchAliasesIdProtectionBypass.ts +185 -0
  117. package/src/lib/config.ts +3 -3
  118. package/src/lib/sdks.ts +11 -11
  119. package/src/mcp-server/mcp-server.ts +1 -1
  120. package/src/mcp-server/server.ts +3 -1
  121. package/src/mcp-server/tools/patchAliasesIdProtectionBypass.ts +37 -0
  122. package/src/models/authuser.ts +0 -7
  123. package/src/models/canceldeploymentop.ts +503 -43
  124. package/src/models/createcustomenvironmentop.ts +426 -4
  125. package/src/models/createdeploymentop.ts +640 -117
  126. package/src/models/createprojectop.ts +658 -201
  127. package/src/models/createrecordop.ts +96 -84
  128. package/src/models/getaliasop.ts +16 -14
  129. package/src/models/getcustomenvironmentop.ts +412 -4
  130. package/src/models/getdeploymentop.ts +962 -49
  131. package/src/models/getprojectdomainsop.ts +84 -84
  132. package/src/models/getprojectsop.ts +630 -189
  133. package/src/models/getv9projectsidornamecustomenvironmentsop.ts +473 -4
  134. package/src/models/listaliasesop.ts +19 -16
  135. package/src/models/patchaliasesidprotectionbypassop.ts +786 -0
  136. package/src/models/removecustomenvironmentop.ts +425 -4
  137. package/src/models/updatecustomenvironmentop.ts +437 -4
  138. package/src/models/updateprojectdatacacheop.ts +731 -271
  139. package/src/models/updateprojectop.ts +692 -249
  140. package/src/models/userevent.ts +205 -12
  141. package/src/sdk/sdk.ts +18 -1
  142. package/vercel-spec.json +2646 -161
@@ -161,9 +161,25 @@ export const UpdateProjectContentHintProjectsType = {
161
161
  export const UpdateProjectContentHintType = {
162
162
  RedisUrl: "redis-url",
163
163
  };
164
- export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType = {
164
+ export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType = {
165
165
  FlagsSecret: "flags-secret",
166
166
  };
167
+ /**
168
+ * The type of environment (production, preview, or development)
169
+ */
170
+ export const UpdateProjectProjectsType = {
171
+ Production: "production",
172
+ Preview: "preview",
173
+ Development: "development",
174
+ };
175
+ /**
176
+ * The type of matching to perform
177
+ */
178
+ export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType = {
179
+ EndsWith: "endsWith",
180
+ StartsWith: "startsWith",
181
+ Equals: "equals",
182
+ };
167
183
  export const UpdateProjectProjectsFramework = {
168
184
  Blitzjs: "blitzjs",
169
185
  Nextjs: "nextjs",
@@ -215,7 +231,7 @@ export const UpdateProjectProjectsFramework = {
215
231
  /**
216
232
  * The type of matching to perform
217
233
  */
218
- export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType = {
234
+ export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType = {
219
235
  EndsWith: "endsWith",
220
236
  StartsWith: "startsWith",
221
237
  Equals: "equals",
@@ -249,7 +265,7 @@ export const UpdateProjectReadySubstate = {
249
265
  Rolling: "ROLLING",
250
266
  Promoted: "PROMOTED",
251
267
  };
252
- export const UpdateProjectProjectsType = {
268
+ export const UpdateProjectProjectsResponseType = {
253
269
  Lambdas: "LAMBDAS",
254
270
  };
255
271
  export const UpdateProjectLinkProjectsResponse200Type = {
@@ -291,14 +307,14 @@ export const UpdateProjectProjectsBuildMachineType = {
291
307
  Enhanced: "enhanced",
292
308
  };
293
309
  export const UpdateProjectProjectsResponseDeploymentType = {
294
- All: "all",
295
310
  Preview: "preview",
311
+ All: "all",
296
312
  ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
297
313
  };
298
314
  /**
299
315
  * The type of matching to perform
300
316
  */
301
- export const UpdateProjectProjectsResponse200ApplicationJSONType = {
317
+ export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType = {
302
318
  EndsWith: "endsWith",
303
319
  StartsWith: "startsWith",
304
320
  Equals: "equals",
@@ -332,7 +348,7 @@ export const UpdateProjectProjectsReadySubstate = {
332
348
  Rolling: "ROLLING",
333
349
  Promoted: "PROMOTED",
334
350
  };
335
- export const UpdateProjectProjectsResponseType = {
351
+ export const UpdateProjectProjectsResponse200Type = {
336
352
  Lambdas: "LAMBDAS",
337
353
  };
338
354
  export const UpdateProjectJobStatus = {
@@ -342,7 +358,7 @@ export const UpdateProjectJobStatus = {
342
358
  Pending: "pending",
343
359
  InProgress: "in-progress",
344
360
  };
345
- export const UpdateProjectProjectsResponse200Type = {
361
+ export const UpdateProjectProjectsResponse200ApplicationJSONType = {
346
362
  Promote: "promote",
347
363
  Rollback: "rollback",
348
364
  };
@@ -350,16 +366,16 @@ export const UpdateProjectScope = {
350
366
  AutomationBypass: "automation-bypass",
351
367
  };
352
368
  export const UpdateProjectTrustedIpsProjectsDeploymentType = {
353
- All: "all",
369
+ Production: "production",
354
370
  Preview: "preview",
371
+ All: "all",
355
372
  ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
356
- Production: "production",
357
373
  };
358
374
  export const UpdateProjectTrustedIpsDeploymentType = {
359
- All: "all",
375
+ Production: "production",
360
376
  Preview: "preview",
377
+ All: "all",
361
378
  ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
362
- Production: "production",
363
379
  };
364
380
  export const UpdateProjectTrustedIpsProtectionMode = {
365
381
  Additional: "additional",
@@ -1793,28 +1809,28 @@ export function updateProjectContentHintFromJSON(jsonString) {
1793
1809
  return safeParse(jsonString, (x) => UpdateProjectContentHint$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateProjectContentHint' from JSON`);
1794
1810
  }
1795
1811
  /** @internal */
1796
- export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema = z.nativeEnum(UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType);
1812
+ export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema = z.nativeEnum(UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType);
1797
1813
  /** @internal */
1798
- export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema = UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema;
1814
+ export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema = UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema;
1799
1815
  /**
1800
1816
  * @internal
1801
1817
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1802
1818
  */
1803
- export var UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$;
1804
- (function (UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$) {
1805
- /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema` instead. */
1806
- UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$.inboundSchema = UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema;
1807
- /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema` instead. */
1808
- UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$.outboundSchema = UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema;
1809
- })(UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$ || (UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$ = {}));
1819
+ export var UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$;
1820
+ (function (UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$) {
1821
+ /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */
1822
+ UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$.inboundSchema = UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema;
1823
+ /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */
1824
+ UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$.outboundSchema = UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema;
1825
+ })(UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$ || (UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$ = {}));
1810
1826
  /** @internal */
1811
1827
  export const UpdateProjectInternalContentHint$inboundSchema = z.object({
1812
- type: UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema,
1828
+ type: UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema,
1813
1829
  encryptedValue: z.string(),
1814
1830
  });
1815
1831
  /** @internal */
1816
1832
  export const UpdateProjectInternalContentHint$outboundSchema = z.object({
1817
- type: UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema,
1833
+ type: UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema,
1818
1834
  encryptedValue: z.string(),
1819
1835
  });
1820
1836
  /**
@@ -1932,9 +1948,167 @@ export function updateProjectEnvFromJSON(jsonString) {
1932
1948
  return safeParse(jsonString, (x) => UpdateProjectEnv$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateProjectEnv' from JSON`);
1933
1949
  }
1934
1950
  /** @internal */
1935
- export const UpdateProjectCustomEnvironments$inboundSchema = z.object({});
1951
+ export const UpdateProjectProjectsType$inboundSchema = z.nativeEnum(UpdateProjectProjectsType);
1952
+ /** @internal */
1953
+ export const UpdateProjectProjectsType$outboundSchema = UpdateProjectProjectsType$inboundSchema;
1954
+ /**
1955
+ * @internal
1956
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1957
+ */
1958
+ export var UpdateProjectProjectsType$;
1959
+ (function (UpdateProjectProjectsType$) {
1960
+ /** @deprecated use `UpdateProjectProjectsType$inboundSchema` instead. */
1961
+ UpdateProjectProjectsType$.inboundSchema = UpdateProjectProjectsType$inboundSchema;
1962
+ /** @deprecated use `UpdateProjectProjectsType$outboundSchema` instead. */
1963
+ UpdateProjectProjectsType$.outboundSchema = UpdateProjectProjectsType$outboundSchema;
1964
+ })(UpdateProjectProjectsType$ || (UpdateProjectProjectsType$ = {}));
1965
+ /** @internal */
1966
+ export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema = z.nativeEnum(UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType);
1967
+ /** @internal */
1968
+ export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema = UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema;
1969
+ /**
1970
+ * @internal
1971
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1972
+ */
1973
+ export var UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$;
1974
+ (function (UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$) {
1975
+ /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema` instead. */
1976
+ UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$.inboundSchema = UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema;
1977
+ /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema` instead. */
1978
+ UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$.outboundSchema = UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema;
1979
+ })(UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$ || (UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$ = {}));
1980
+ /** @internal */
1981
+ export const UpdateProjectBranchMatcher$inboundSchema = z.object({
1982
+ type: UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema,
1983
+ pattern: z.string(),
1984
+ });
1985
+ /** @internal */
1986
+ export const UpdateProjectBranchMatcher$outboundSchema = z.object({
1987
+ type: UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema,
1988
+ pattern: z.string(),
1989
+ });
1990
+ /**
1991
+ * @internal
1992
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1993
+ */
1994
+ export var UpdateProjectBranchMatcher$;
1995
+ (function (UpdateProjectBranchMatcher$) {
1996
+ /** @deprecated use `UpdateProjectBranchMatcher$inboundSchema` instead. */
1997
+ UpdateProjectBranchMatcher$.inboundSchema = UpdateProjectBranchMatcher$inboundSchema;
1998
+ /** @deprecated use `UpdateProjectBranchMatcher$outboundSchema` instead. */
1999
+ UpdateProjectBranchMatcher$.outboundSchema = UpdateProjectBranchMatcher$outboundSchema;
2000
+ })(UpdateProjectBranchMatcher$ || (UpdateProjectBranchMatcher$ = {}));
2001
+ export function updateProjectBranchMatcherToJSON(updateProjectBranchMatcher) {
2002
+ return JSON.stringify(UpdateProjectBranchMatcher$outboundSchema.parse(updateProjectBranchMatcher));
2003
+ }
2004
+ export function updateProjectBranchMatcherFromJSON(jsonString) {
2005
+ return safeParse(jsonString, (x) => UpdateProjectBranchMatcher$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateProjectBranchMatcher' from JSON`);
2006
+ }
2007
+ /** @internal */
2008
+ export const UpdateProjectVerification$inboundSchema = z.object({
2009
+ type: z.string(),
2010
+ domain: z.string(),
2011
+ value: z.string(),
2012
+ reason: z.string(),
2013
+ });
2014
+ /** @internal */
2015
+ export const UpdateProjectVerification$outboundSchema = z.object({
2016
+ type: z.string(),
2017
+ domain: z.string(),
2018
+ value: z.string(),
2019
+ reason: z.string(),
2020
+ });
2021
+ /**
2022
+ * @internal
2023
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2024
+ */
2025
+ export var UpdateProjectVerification$;
2026
+ (function (UpdateProjectVerification$) {
2027
+ /** @deprecated use `UpdateProjectVerification$inboundSchema` instead. */
2028
+ UpdateProjectVerification$.inboundSchema = UpdateProjectVerification$inboundSchema;
2029
+ /** @deprecated use `UpdateProjectVerification$outboundSchema` instead. */
2030
+ UpdateProjectVerification$.outboundSchema = UpdateProjectVerification$outboundSchema;
2031
+ })(UpdateProjectVerification$ || (UpdateProjectVerification$ = {}));
2032
+ export function updateProjectVerificationToJSON(updateProjectVerification) {
2033
+ return JSON.stringify(UpdateProjectVerification$outboundSchema.parse(updateProjectVerification));
2034
+ }
2035
+ export function updateProjectVerificationFromJSON(jsonString) {
2036
+ return safeParse(jsonString, (x) => UpdateProjectVerification$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateProjectVerification' from JSON`);
2037
+ }
2038
+ /** @internal */
2039
+ export const UpdateProjectDomains$inboundSchema = z.object({
2040
+ name: z.string(),
2041
+ apexName: z.string(),
2042
+ projectId: z.string(),
2043
+ redirect: z.nullable(z.string()).optional(),
2044
+ redirectStatusCode: z.nullable(z.number()).optional(),
2045
+ gitBranch: z.nullable(z.string()).optional(),
2046
+ customEnvironmentId: z.nullable(z.string()).optional(),
2047
+ updatedAt: z.number().optional(),
2048
+ createdAt: z.number().optional(),
2049
+ verified: z.boolean(),
2050
+ verification: z.array(z.lazy(() => UpdateProjectVerification$inboundSchema))
2051
+ .optional(),
2052
+ });
2053
+ /** @internal */
2054
+ export const UpdateProjectDomains$outboundSchema = z.object({
2055
+ name: z.string(),
2056
+ apexName: z.string(),
2057
+ projectId: z.string(),
2058
+ redirect: z.nullable(z.string()).optional(),
2059
+ redirectStatusCode: z.nullable(z.number()).optional(),
2060
+ gitBranch: z.nullable(z.string()).optional(),
2061
+ customEnvironmentId: z.nullable(z.string()).optional(),
2062
+ updatedAt: z.number().optional(),
2063
+ createdAt: z.number().optional(),
2064
+ verified: z.boolean(),
2065
+ verification: z.array(z.lazy(() => UpdateProjectVerification$outboundSchema))
2066
+ .optional(),
2067
+ });
2068
+ /**
2069
+ * @internal
2070
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2071
+ */
2072
+ export var UpdateProjectDomains$;
2073
+ (function (UpdateProjectDomains$) {
2074
+ /** @deprecated use `UpdateProjectDomains$inboundSchema` instead. */
2075
+ UpdateProjectDomains$.inboundSchema = UpdateProjectDomains$inboundSchema;
2076
+ /** @deprecated use `UpdateProjectDomains$outboundSchema` instead. */
2077
+ UpdateProjectDomains$.outboundSchema = UpdateProjectDomains$outboundSchema;
2078
+ })(UpdateProjectDomains$ || (UpdateProjectDomains$ = {}));
2079
+ export function updateProjectDomainsToJSON(updateProjectDomains) {
2080
+ return JSON.stringify(UpdateProjectDomains$outboundSchema.parse(updateProjectDomains));
2081
+ }
2082
+ export function updateProjectDomainsFromJSON(jsonString) {
2083
+ return safeParse(jsonString, (x) => UpdateProjectDomains$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateProjectDomains' from JSON`);
2084
+ }
1936
2085
  /** @internal */
1937
- export const UpdateProjectCustomEnvironments$outboundSchema = z.object({});
2086
+ export const UpdateProjectCustomEnvironments$inboundSchema = z.object({
2087
+ id: z.string(),
2088
+ slug: z.string(),
2089
+ type: UpdateProjectProjectsType$inboundSchema,
2090
+ description: z.string().optional(),
2091
+ branchMatcher: z.lazy(() => UpdateProjectBranchMatcher$inboundSchema)
2092
+ .optional(),
2093
+ domains: z.array(z.lazy(() => UpdateProjectDomains$inboundSchema)).optional(),
2094
+ currentDeploymentAliases: z.array(z.string()).optional(),
2095
+ createdAt: z.number(),
2096
+ updatedAt: z.number(),
2097
+ });
2098
+ /** @internal */
2099
+ export const UpdateProjectCustomEnvironments$outboundSchema = z.object({
2100
+ id: z.string(),
2101
+ slug: z.string(),
2102
+ type: UpdateProjectProjectsType$outboundSchema,
2103
+ description: z.string().optional(),
2104
+ branchMatcher: z.lazy(() => UpdateProjectBranchMatcher$outboundSchema)
2105
+ .optional(),
2106
+ domains: z.array(z.lazy(() => UpdateProjectDomains$outboundSchema))
2107
+ .optional(),
2108
+ currentDeploymentAliases: z.array(z.string()).optional(),
2109
+ createdAt: z.number(),
2110
+ updatedAt: z.number(),
2111
+ });
1938
2112
  /**
1939
2113
  * @internal
1940
2114
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
@@ -2043,46 +2217,46 @@ export function updateProjectAliasErrorFromJSON(jsonString) {
2043
2217
  return safeParse(jsonString, (x) => UpdateProjectAliasError$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateProjectAliasError' from JSON`);
2044
2218
  }
2045
2219
  /** @internal */
2046
- export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema = z.nativeEnum(UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType);
2220
+ export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema = z.nativeEnum(UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType);
2047
2221
  /** @internal */
2048
- export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema = UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema;
2222
+ export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$outboundSchema = UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema;
2049
2223
  /**
2050
2224
  * @internal
2051
2225
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2052
2226
  */
2053
- export var UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$;
2054
- (function (UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$) {
2055
- /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */
2056
- UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$.inboundSchema = UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema;
2057
- /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */
2058
- UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$.outboundSchema = UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema;
2059
- })(UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$ || (UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$ = {}));
2227
+ export var UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$;
2228
+ (function (UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$) {
2229
+ /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema` instead. */
2230
+ UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$.inboundSchema = UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema;
2231
+ /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$outboundSchema` instead. */
2232
+ UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$.outboundSchema = UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$outboundSchema;
2233
+ })(UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$ || (UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$ = {}));
2060
2234
  /** @internal */
2061
- export const UpdateProjectBranchMatcher$inboundSchema = z.object({
2062
- type: UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema,
2235
+ export const UpdateProjectProjectsBranchMatcher$inboundSchema = z.object({
2236
+ type: UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema,
2063
2237
  pattern: z.string(),
2064
2238
  });
2065
2239
  /** @internal */
2066
- export const UpdateProjectBranchMatcher$outboundSchema = z.object({
2067
- type: UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema,
2240
+ export const UpdateProjectProjectsBranchMatcher$outboundSchema = z.object({
2241
+ type: UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$outboundSchema,
2068
2242
  pattern: z.string(),
2069
2243
  });
2070
2244
  /**
2071
2245
  * @internal
2072
2246
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2073
2247
  */
2074
- export var UpdateProjectBranchMatcher$;
2075
- (function (UpdateProjectBranchMatcher$) {
2076
- /** @deprecated use `UpdateProjectBranchMatcher$inboundSchema` instead. */
2077
- UpdateProjectBranchMatcher$.inboundSchema = UpdateProjectBranchMatcher$inboundSchema;
2078
- /** @deprecated use `UpdateProjectBranchMatcher$outboundSchema` instead. */
2079
- UpdateProjectBranchMatcher$.outboundSchema = UpdateProjectBranchMatcher$outboundSchema;
2080
- })(UpdateProjectBranchMatcher$ || (UpdateProjectBranchMatcher$ = {}));
2081
- export function updateProjectBranchMatcherToJSON(updateProjectBranchMatcher) {
2082
- return JSON.stringify(UpdateProjectBranchMatcher$outboundSchema.parse(updateProjectBranchMatcher));
2248
+ export var UpdateProjectProjectsBranchMatcher$;
2249
+ (function (UpdateProjectProjectsBranchMatcher$) {
2250
+ /** @deprecated use `UpdateProjectProjectsBranchMatcher$inboundSchema` instead. */
2251
+ UpdateProjectProjectsBranchMatcher$.inboundSchema = UpdateProjectProjectsBranchMatcher$inboundSchema;
2252
+ /** @deprecated use `UpdateProjectProjectsBranchMatcher$outboundSchema` instead. */
2253
+ UpdateProjectProjectsBranchMatcher$.outboundSchema = UpdateProjectProjectsBranchMatcher$outboundSchema;
2254
+ })(UpdateProjectProjectsBranchMatcher$ || (UpdateProjectProjectsBranchMatcher$ = {}));
2255
+ export function updateProjectProjectsBranchMatcherToJSON(updateProjectProjectsBranchMatcher) {
2256
+ return JSON.stringify(UpdateProjectProjectsBranchMatcher$outboundSchema.parse(updateProjectProjectsBranchMatcher));
2083
2257
  }
2084
- export function updateProjectBranchMatcherFromJSON(jsonString) {
2085
- return safeParse(jsonString, (x) => UpdateProjectBranchMatcher$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateProjectBranchMatcher' from JSON`);
2258
+ export function updateProjectProjectsBranchMatcherFromJSON(jsonString) {
2259
+ return safeParse(jsonString, (x) => UpdateProjectProjectsBranchMatcher$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateProjectProjectsBranchMatcher' from JSON`);
2086
2260
  }
2087
2261
  /** @internal */
2088
2262
  export const UpdateProjectBuilds$inboundSchema = z.object({
@@ -2273,20 +2447,20 @@ export var UpdateProjectReadySubstate$;
2273
2447
  UpdateProjectReadySubstate$.outboundSchema = UpdateProjectReadySubstate$outboundSchema;
2274
2448
  })(UpdateProjectReadySubstate$ || (UpdateProjectReadySubstate$ = {}));
2275
2449
  /** @internal */
2276
- export const UpdateProjectProjectsType$inboundSchema = z.nativeEnum(UpdateProjectProjectsType);
2450
+ export const UpdateProjectProjectsResponseType$inboundSchema = z.nativeEnum(UpdateProjectProjectsResponseType);
2277
2451
  /** @internal */
2278
- export const UpdateProjectProjectsType$outboundSchema = UpdateProjectProjectsType$inboundSchema;
2452
+ export const UpdateProjectProjectsResponseType$outboundSchema = UpdateProjectProjectsResponseType$inboundSchema;
2279
2453
  /**
2280
2454
  * @internal
2281
2455
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2282
2456
  */
2283
- export var UpdateProjectProjectsType$;
2284
- (function (UpdateProjectProjectsType$) {
2285
- /** @deprecated use `UpdateProjectProjectsType$inboundSchema` instead. */
2286
- UpdateProjectProjectsType$.inboundSchema = UpdateProjectProjectsType$inboundSchema;
2287
- /** @deprecated use `UpdateProjectProjectsType$outboundSchema` instead. */
2288
- UpdateProjectProjectsType$.outboundSchema = UpdateProjectProjectsType$outboundSchema;
2289
- })(UpdateProjectProjectsType$ || (UpdateProjectProjectsType$ = {}));
2457
+ export var UpdateProjectProjectsResponseType$;
2458
+ (function (UpdateProjectProjectsResponseType$) {
2459
+ /** @deprecated use `UpdateProjectProjectsResponseType$inboundSchema` instead. */
2460
+ UpdateProjectProjectsResponseType$.inboundSchema = UpdateProjectProjectsResponseType$inboundSchema;
2461
+ /** @deprecated use `UpdateProjectProjectsResponseType$outboundSchema` instead. */
2462
+ UpdateProjectProjectsResponseType$.outboundSchema = UpdateProjectProjectsResponseType$outboundSchema;
2463
+ })(UpdateProjectProjectsResponseType$ || (UpdateProjectProjectsResponseType$ = {}));
2290
2464
  /** @internal */
2291
2465
  export const UpdateProjectLatestDeployments$inboundSchema = z.object({
2292
2466
  id: z.string(),
@@ -2296,7 +2470,7 @@ export const UpdateProjectLatestDeployments$inboundSchema = z.object({
2296
2470
  .optional(),
2297
2471
  aliasFinal: z.nullable(z.string()).optional(),
2298
2472
  automaticAliases: z.array(z.string()).optional(),
2299
- branchMatcher: z.lazy(() => UpdateProjectBranchMatcher$inboundSchema)
2473
+ branchMatcher: z.lazy(() => UpdateProjectProjectsBranchMatcher$inboundSchema)
2300
2474
  .optional(),
2301
2475
  buildingAt: z.number().optional(),
2302
2476
  builds: z.array(z.lazy(() => UpdateProjectBuilds$inboundSchema)).optional(),
@@ -2324,7 +2498,7 @@ export const UpdateProjectLatestDeployments$inboundSchema = z.object({
2324
2498
  requestedAt: z.number().optional(),
2325
2499
  target: z.nullable(z.string()).optional(),
2326
2500
  teamId: z.nullable(z.string()).optional(),
2327
- type: UpdateProjectProjectsType$inboundSchema,
2501
+ type: UpdateProjectProjectsResponseType$inboundSchema,
2328
2502
  url: z.string(),
2329
2503
  userId: z.string(),
2330
2504
  withCache: z.boolean().optional(),
@@ -2338,7 +2512,7 @@ export const UpdateProjectLatestDeployments$outboundSchema = z.object({
2338
2512
  .optional(),
2339
2513
  aliasFinal: z.nullable(z.string()).optional(),
2340
2514
  automaticAliases: z.array(z.string()).optional(),
2341
- branchMatcher: z.lazy(() => UpdateProjectBranchMatcher$outboundSchema)
2515
+ branchMatcher: z.lazy(() => UpdateProjectProjectsBranchMatcher$outboundSchema)
2342
2516
  .optional(),
2343
2517
  buildingAt: z.number().optional(),
2344
2518
  builds: z.array(z.lazy(() => UpdateProjectBuilds$outboundSchema)).optional(),
@@ -2366,7 +2540,7 @@ export const UpdateProjectLatestDeployments$outboundSchema = z.object({
2366
2540
  requestedAt: z.number().optional(),
2367
2541
  target: z.nullable(z.string()).optional(),
2368
2542
  teamId: z.nullable(z.string()).optional(),
2369
- type: UpdateProjectProjectsType$outboundSchema,
2543
+ type: UpdateProjectProjectsResponseType$outboundSchema,
2370
2544
  url: z.string(),
2371
2545
  userId: z.string(),
2372
2546
  withCache: z.boolean().optional(),
@@ -3266,46 +3440,46 @@ export function updateProjectProjectsAliasErrorFromJSON(jsonString) {
3266
3440
  return safeParse(jsonString, (x) => UpdateProjectProjectsAliasError$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateProjectProjectsAliasError' from JSON`);
3267
3441
  }
3268
3442
  /** @internal */
3269
- export const UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema = z.nativeEnum(UpdateProjectProjectsResponse200ApplicationJSONType);
3443
+ export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema = z.nativeEnum(UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType);
3270
3444
  /** @internal */
3271
- export const UpdateProjectProjectsResponse200ApplicationJSONType$outboundSchema = UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema;
3445
+ export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema = UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema;
3272
3446
  /**
3273
3447
  * @internal
3274
3448
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3275
3449
  */
3276
- export var UpdateProjectProjectsResponse200ApplicationJSONType$;
3277
- (function (UpdateProjectProjectsResponse200ApplicationJSONType$) {
3278
- /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema` instead. */
3279
- UpdateProjectProjectsResponse200ApplicationJSONType$.inboundSchema = UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema;
3280
- /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONType$outboundSchema` instead. */
3281
- UpdateProjectProjectsResponse200ApplicationJSONType$.outboundSchema = UpdateProjectProjectsResponse200ApplicationJSONType$outboundSchema;
3282
- })(UpdateProjectProjectsResponse200ApplicationJSONType$ || (UpdateProjectProjectsResponse200ApplicationJSONType$ = {}));
3450
+ export var UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$;
3451
+ (function (UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$) {
3452
+ /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema` instead. */
3453
+ UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$.inboundSchema = UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema;
3454
+ /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema` instead. */
3455
+ UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$.outboundSchema = UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema;
3456
+ })(UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$ || (UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$ = {}));
3283
3457
  /** @internal */
3284
- export const UpdateProjectProjectsBranchMatcher$inboundSchema = z.object({
3285
- type: UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema,
3458
+ export const UpdateProjectProjectsResponseBranchMatcher$inboundSchema = z.object({
3459
+ type: UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema,
3286
3460
  pattern: z.string(),
3287
3461
  });
3288
3462
  /** @internal */
3289
- export const UpdateProjectProjectsBranchMatcher$outboundSchema = z.object({
3290
- type: UpdateProjectProjectsResponse200ApplicationJSONType$outboundSchema,
3463
+ export const UpdateProjectProjectsResponseBranchMatcher$outboundSchema = z.object({
3464
+ type: UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema,
3291
3465
  pattern: z.string(),
3292
3466
  });
3293
3467
  /**
3294
3468
  * @internal
3295
3469
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3296
3470
  */
3297
- export var UpdateProjectProjectsBranchMatcher$;
3298
- (function (UpdateProjectProjectsBranchMatcher$) {
3299
- /** @deprecated use `UpdateProjectProjectsBranchMatcher$inboundSchema` instead. */
3300
- UpdateProjectProjectsBranchMatcher$.inboundSchema = UpdateProjectProjectsBranchMatcher$inboundSchema;
3301
- /** @deprecated use `UpdateProjectProjectsBranchMatcher$outboundSchema` instead. */
3302
- UpdateProjectProjectsBranchMatcher$.outboundSchema = UpdateProjectProjectsBranchMatcher$outboundSchema;
3303
- })(UpdateProjectProjectsBranchMatcher$ || (UpdateProjectProjectsBranchMatcher$ = {}));
3304
- export function updateProjectProjectsBranchMatcherToJSON(updateProjectProjectsBranchMatcher) {
3305
- return JSON.stringify(UpdateProjectProjectsBranchMatcher$outboundSchema.parse(updateProjectProjectsBranchMatcher));
3471
+ export var UpdateProjectProjectsResponseBranchMatcher$;
3472
+ (function (UpdateProjectProjectsResponseBranchMatcher$) {
3473
+ /** @deprecated use `UpdateProjectProjectsResponseBranchMatcher$inboundSchema` instead. */
3474
+ UpdateProjectProjectsResponseBranchMatcher$.inboundSchema = UpdateProjectProjectsResponseBranchMatcher$inboundSchema;
3475
+ /** @deprecated use `UpdateProjectProjectsResponseBranchMatcher$outboundSchema` instead. */
3476
+ UpdateProjectProjectsResponseBranchMatcher$.outboundSchema = UpdateProjectProjectsResponseBranchMatcher$outboundSchema;
3477
+ })(UpdateProjectProjectsResponseBranchMatcher$ || (UpdateProjectProjectsResponseBranchMatcher$ = {}));
3478
+ export function updateProjectProjectsResponseBranchMatcherToJSON(updateProjectProjectsResponseBranchMatcher) {
3479
+ return JSON.stringify(UpdateProjectProjectsResponseBranchMatcher$outboundSchema.parse(updateProjectProjectsResponseBranchMatcher));
3306
3480
  }
3307
- export function updateProjectProjectsBranchMatcherFromJSON(jsonString) {
3308
- return safeParse(jsonString, (x) => UpdateProjectProjectsBranchMatcher$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateProjectProjectsBranchMatcher' from JSON`);
3481
+ export function updateProjectProjectsResponseBranchMatcherFromJSON(jsonString) {
3482
+ return safeParse(jsonString, (x) => UpdateProjectProjectsResponseBranchMatcher$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateProjectProjectsResponseBranchMatcher' from JSON`);
3309
3483
  }
3310
3484
  /** @internal */
3311
3485
  export const UpdateProjectProjectsBuilds$inboundSchema = z.object({
@@ -3496,20 +3670,20 @@ export var UpdateProjectProjectsReadySubstate$;
3496
3670
  UpdateProjectProjectsReadySubstate$.outboundSchema = UpdateProjectProjectsReadySubstate$outboundSchema;
3497
3671
  })(UpdateProjectProjectsReadySubstate$ || (UpdateProjectProjectsReadySubstate$ = {}));
3498
3672
  /** @internal */
3499
- export const UpdateProjectProjectsResponseType$inboundSchema = z.nativeEnum(UpdateProjectProjectsResponseType);
3673
+ export const UpdateProjectProjectsResponse200Type$inboundSchema = z.nativeEnum(UpdateProjectProjectsResponse200Type);
3500
3674
  /** @internal */
3501
- export const UpdateProjectProjectsResponseType$outboundSchema = UpdateProjectProjectsResponseType$inboundSchema;
3675
+ export const UpdateProjectProjectsResponse200Type$outboundSchema = UpdateProjectProjectsResponse200Type$inboundSchema;
3502
3676
  /**
3503
3677
  * @internal
3504
3678
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3505
3679
  */
3506
- export var UpdateProjectProjectsResponseType$;
3507
- (function (UpdateProjectProjectsResponseType$) {
3508
- /** @deprecated use `UpdateProjectProjectsResponseType$inboundSchema` instead. */
3509
- UpdateProjectProjectsResponseType$.inboundSchema = UpdateProjectProjectsResponseType$inboundSchema;
3510
- /** @deprecated use `UpdateProjectProjectsResponseType$outboundSchema` instead. */
3511
- UpdateProjectProjectsResponseType$.outboundSchema = UpdateProjectProjectsResponseType$outboundSchema;
3512
- })(UpdateProjectProjectsResponseType$ || (UpdateProjectProjectsResponseType$ = {}));
3680
+ export var UpdateProjectProjectsResponse200Type$;
3681
+ (function (UpdateProjectProjectsResponse200Type$) {
3682
+ /** @deprecated use `UpdateProjectProjectsResponse200Type$inboundSchema` instead. */
3683
+ UpdateProjectProjectsResponse200Type$.inboundSchema = UpdateProjectProjectsResponse200Type$inboundSchema;
3684
+ /** @deprecated use `UpdateProjectProjectsResponse200Type$outboundSchema` instead. */
3685
+ UpdateProjectProjectsResponse200Type$.outboundSchema = UpdateProjectProjectsResponse200Type$outboundSchema;
3686
+ })(UpdateProjectProjectsResponse200Type$ || (UpdateProjectProjectsResponse200Type$ = {}));
3513
3687
  /** @internal */
3514
3688
  export const UpdateProjectTargets$inboundSchema = z.object({
3515
3689
  id: z.string(),
@@ -3518,8 +3692,7 @@ export const UpdateProjectTargets$inboundSchema = z.object({
3518
3692
  aliasError: z.nullable(z.lazy(() => UpdateProjectProjectsAliasError$inboundSchema)).optional(),
3519
3693
  aliasFinal: z.nullable(z.string()).optional(),
3520
3694
  automaticAliases: z.array(z.string()).optional(),
3521
- branchMatcher: z.lazy(() => UpdateProjectProjectsBranchMatcher$inboundSchema)
3522
- .optional(),
3695
+ branchMatcher: z.lazy(() => UpdateProjectProjectsResponseBranchMatcher$inboundSchema).optional(),
3523
3696
  buildingAt: z.number().optional(),
3524
3697
  builds: z.array(z.lazy(() => UpdateProjectProjectsBuilds$inboundSchema))
3525
3698
  .optional(),
@@ -3547,7 +3720,7 @@ export const UpdateProjectTargets$inboundSchema = z.object({
3547
3720
  requestedAt: z.number().optional(),
3548
3721
  target: z.nullable(z.string()).optional(),
3549
3722
  teamId: z.nullable(z.string()).optional(),
3550
- type: UpdateProjectProjectsResponseType$inboundSchema,
3723
+ type: UpdateProjectProjectsResponse200Type$inboundSchema,
3551
3724
  url: z.string(),
3552
3725
  userId: z.string(),
3553
3726
  withCache: z.boolean().optional(),
@@ -3560,8 +3733,7 @@ export const UpdateProjectTargets$outboundSchema = z.object({
3560
3733
  aliasError: z.nullable(z.lazy(() => UpdateProjectProjectsAliasError$outboundSchema)).optional(),
3561
3734
  aliasFinal: z.nullable(z.string()).optional(),
3562
3735
  automaticAliases: z.array(z.string()).optional(),
3563
- branchMatcher: z.lazy(() => UpdateProjectProjectsBranchMatcher$outboundSchema)
3564
- .optional(),
3736
+ branchMatcher: z.lazy(() => UpdateProjectProjectsResponseBranchMatcher$outboundSchema).optional(),
3565
3737
  buildingAt: z.number().optional(),
3566
3738
  builds: z.array(z.lazy(() => UpdateProjectProjectsBuilds$outboundSchema))
3567
3739
  .optional(),
@@ -3589,7 +3761,7 @@ export const UpdateProjectTargets$outboundSchema = z.object({
3589
3761
  requestedAt: z.number().optional(),
3590
3762
  target: z.nullable(z.string()).optional(),
3591
3763
  teamId: z.nullable(z.string()).optional(),
3592
- type: UpdateProjectProjectsResponseType$outboundSchema,
3764
+ type: UpdateProjectProjectsResponse200Type$outboundSchema,
3593
3765
  url: z.string(),
3594
3766
  userId: z.string(),
3595
3767
  withCache: z.boolean().optional(),
@@ -4085,35 +4257,37 @@ export var UpdateProjectJobStatus$;
4085
4257
  UpdateProjectJobStatus$.outboundSchema = UpdateProjectJobStatus$outboundSchema;
4086
4258
  })(UpdateProjectJobStatus$ || (UpdateProjectJobStatus$ = {}));
4087
4259
  /** @internal */
4088
- export const UpdateProjectProjectsResponse200Type$inboundSchema = z.nativeEnum(UpdateProjectProjectsResponse200Type);
4260
+ export const UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema = z.nativeEnum(UpdateProjectProjectsResponse200ApplicationJSONType);
4089
4261
  /** @internal */
4090
- export const UpdateProjectProjectsResponse200Type$outboundSchema = UpdateProjectProjectsResponse200Type$inboundSchema;
4262
+ export const UpdateProjectProjectsResponse200ApplicationJSONType$outboundSchema = UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema;
4091
4263
  /**
4092
4264
  * @internal
4093
4265
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4094
4266
  */
4095
- export var UpdateProjectProjectsResponse200Type$;
4096
- (function (UpdateProjectProjectsResponse200Type$) {
4097
- /** @deprecated use `UpdateProjectProjectsResponse200Type$inboundSchema` instead. */
4098
- UpdateProjectProjectsResponse200Type$.inboundSchema = UpdateProjectProjectsResponse200Type$inboundSchema;
4099
- /** @deprecated use `UpdateProjectProjectsResponse200Type$outboundSchema` instead. */
4100
- UpdateProjectProjectsResponse200Type$.outboundSchema = UpdateProjectProjectsResponse200Type$outboundSchema;
4101
- })(UpdateProjectProjectsResponse200Type$ || (UpdateProjectProjectsResponse200Type$ = {}));
4267
+ export var UpdateProjectProjectsResponse200ApplicationJSONType$;
4268
+ (function (UpdateProjectProjectsResponse200ApplicationJSONType$) {
4269
+ /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema` instead. */
4270
+ UpdateProjectProjectsResponse200ApplicationJSONType$.inboundSchema = UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema;
4271
+ /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONType$outboundSchema` instead. */
4272
+ UpdateProjectProjectsResponse200ApplicationJSONType$.outboundSchema = UpdateProjectProjectsResponse200ApplicationJSONType$outboundSchema;
4273
+ })(UpdateProjectProjectsResponse200ApplicationJSONType$ || (UpdateProjectProjectsResponse200ApplicationJSONType$ = {}));
4102
4274
  /** @internal */
4103
4275
  export const UpdateProjectLastAliasRequest$inboundSchema = z.object({
4104
4276
  fromDeploymentId: z.string(),
4105
4277
  toDeploymentId: z.string(),
4278
+ fromRollingReleaseId: z.string().optional(),
4106
4279
  jobStatus: UpdateProjectJobStatus$inboundSchema,
4107
4280
  requestedAt: z.number(),
4108
- type: UpdateProjectProjectsResponse200Type$inboundSchema,
4281
+ type: UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema,
4109
4282
  });
4110
4283
  /** @internal */
4111
4284
  export const UpdateProjectLastAliasRequest$outboundSchema = z.object({
4112
4285
  fromDeploymentId: z.string(),
4113
4286
  toDeploymentId: z.string(),
4287
+ fromRollingReleaseId: z.string().optional(),
4114
4288
  jobStatus: UpdateProjectJobStatus$outboundSchema,
4115
4289
  requestedAt: z.number(),
4116
- type: UpdateProjectProjectsResponse200Type$outboundSchema,
4290
+ type: UpdateProjectProjectsResponse200ApplicationJSONType$outboundSchema,
4117
4291
  });
4118
4292
  /**
4119
4293
  * @internal