@vercel/sdk 1.6.6 → 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 (154) hide show
  1. package/README.md +19 -31
  2. package/bin/mcp-server.js +2608 -910
  3. package/bin/mcp-server.js.map +31 -28
  4. package/docs/sdks/projects/README.md +1 -1
  5. package/docs/sdks/vercel/README.md +77 -0
  6. package/esm/__tests__/environment.test.js +28 -4
  7. package/esm/__tests__/environment.test.js.map +1 -1
  8. package/esm/__tests__/projects.test.js +15 -13
  9. package/esm/__tests__/projects.test.js.map +1 -1
  10. package/esm/__tests__/vercel.test.d.ts +2 -0
  11. package/esm/__tests__/vercel.test.d.ts.map +1 -0
  12. package/esm/__tests__/vercel.test.js +21 -0
  13. package/esm/__tests__/vercel.test.js.map +1 -0
  14. package/esm/funcs/marketplaceUpdateResourceSecretsById.js +2 -2
  15. package/esm/funcs/marketplaceUpdateResourceSecretsById.js.map +1 -1
  16. package/esm/funcs/patchAliasesIdProtectionBypass.d.ts +18 -0
  17. package/esm/funcs/patchAliasesIdProtectionBypass.d.ts.map +1 -0
  18. package/esm/funcs/patchAliasesIdProtectionBypass.js +81 -0
  19. package/esm/funcs/patchAliasesIdProtectionBypass.js.map +1 -0
  20. package/esm/funcs/projectsMoveProjectDomain.d.ts +1 -1
  21. package/esm/funcs/projectsMoveProjectDomain.js +1 -1
  22. package/esm/lib/config.d.ts +3 -3
  23. package/esm/lib/config.js +3 -3
  24. package/esm/lib/sdks.d.ts +3 -1
  25. package/esm/lib/sdks.d.ts.map +1 -1
  26. package/esm/lib/sdks.js +6 -11
  27. package/esm/lib/sdks.js.map +1 -1
  28. package/esm/mcp-server/mcp-server.js +1 -1
  29. package/esm/mcp-server/server.d.ts.map +1 -1
  30. package/esm/mcp-server/server.js +3 -1
  31. package/esm/mcp-server/server.js.map +1 -1
  32. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.d.ts +7 -0
  33. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.d.ts.map +1 -0
  34. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.js +26 -0
  35. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.js.map +1 -0
  36. package/esm/mcp-server/tools/projectsMoveProjectDomain.js +1 -1
  37. package/esm/models/authuser.d.ts +0 -5
  38. package/esm/models/authuser.d.ts.map +1 -1
  39. package/esm/models/authuser.js +0 -2
  40. package/esm/models/authuser.js.map +1 -1
  41. package/esm/models/canceldeploymentop.d.ts +268 -26
  42. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  43. package/esm/models/canceldeploymentop.js +194 -24
  44. package/esm/models/canceldeploymentop.js.map +1 -1
  45. package/esm/models/createcustomenvironmentop.d.ts +244 -2
  46. package/esm/models/createcustomenvironmentop.d.ts.map +1 -1
  47. package/esm/models/createcustomenvironmentop.js +174 -2
  48. package/esm/models/createcustomenvironmentop.js.map +1 -1
  49. package/esm/models/createdeploymentop.d.ts +357 -58
  50. package/esm/models/createdeploymentop.d.ts.map +1 -1
  51. package/esm/models/createdeploymentop.js +290 -60
  52. package/esm/models/createdeploymentop.js.map +1 -1
  53. package/esm/models/createprojectop.d.ts +333 -71
  54. package/esm/models/createprojectop.d.ts.map +1 -1
  55. package/esm/models/createprojectop.js +255 -75
  56. package/esm/models/createprojectop.js.map +1 -1
  57. package/esm/models/createrecordop.d.ts +43 -43
  58. package/esm/models/createrecordop.d.ts.map +1 -1
  59. package/esm/models/createrecordop.js +51 -51
  60. package/esm/models/createrecordop.js.map +1 -1
  61. package/esm/models/getaliasop.d.ts +8 -8
  62. package/esm/models/getaliasop.d.ts.map +1 -1
  63. package/esm/models/getaliasop.js +12 -13
  64. package/esm/models/getaliasop.js.map +1 -1
  65. package/esm/models/getcustomenvironmentop.d.ts +242 -2
  66. package/esm/models/getcustomenvironmentop.d.ts.map +1 -1
  67. package/esm/models/getcustomenvironmentop.js +175 -2
  68. package/esm/models/getcustomenvironmentop.js.map +1 -1
  69. package/esm/models/getdeploymentop.d.ts +502 -18
  70. package/esm/models/getdeploymentop.d.ts.map +1 -1
  71. package/esm/models/getdeploymentop.js +354 -14
  72. package/esm/models/getdeploymentop.js.map +1 -1
  73. package/esm/models/getprojectdomainsop.d.ts +30 -30
  74. package/esm/models/getprojectdomainsop.d.ts.map +1 -1
  75. package/esm/models/getprojectdomainsop.js +32 -32
  76. package/esm/models/getprojectdomainsop.js.map +1 -1
  77. package/esm/models/getprojectsop.d.ts +347 -95
  78. package/esm/models/getprojectsop.d.ts.map +1 -1
  79. package/esm/models/getprojectsop.js +287 -112
  80. package/esm/models/getprojectsop.js.map +1 -1
  81. package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts +242 -2
  82. package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts.map +1 -1
  83. package/esm/models/getv9projectsidornamecustomenvironmentsop.js +172 -2
  84. package/esm/models/getv9projectsidornamecustomenvironmentsop.js.map +1 -1
  85. package/esm/models/listaliasesop.d.ts +8 -8
  86. package/esm/models/listaliasesop.d.ts.map +1 -1
  87. package/esm/models/listaliasesop.js +12 -12
  88. package/esm/models/listaliasesop.js.map +1 -1
  89. package/esm/models/patchaliasesidprotectionbypassop.d.ts +409 -0
  90. package/esm/models/patchaliasesidprotectionbypassop.d.ts.map +1 -0
  91. package/esm/models/patchaliasesidprotectionbypassop.js +386 -0
  92. package/esm/models/patchaliasesidprotectionbypassop.js.map +1 -0
  93. package/esm/models/removecustomenvironmentop.d.ts +245 -2
  94. package/esm/models/removecustomenvironmentop.d.ts.map +1 -1
  95. package/esm/models/removecustomenvironmentop.js +173 -2
  96. package/esm/models/removecustomenvironmentop.js.map +1 -1
  97. package/esm/models/updatecustomenvironmentop.d.ts +244 -2
  98. package/esm/models/updatecustomenvironmentop.d.ts.map +1 -1
  99. package/esm/models/updatecustomenvironmentop.js +174 -2
  100. package/esm/models/updatecustomenvironmentop.js.map +1 -1
  101. package/esm/models/updateprojectdatacacheop.d.ts +363 -111
  102. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  103. package/esm/models/updateprojectdatacacheop.js +311 -135
  104. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  105. package/esm/models/updateprojectop.d.ts +347 -95
  106. package/esm/models/updateprojectop.d.ts.map +1 -1
  107. package/esm/models/updateprojectop.js +287 -111
  108. package/esm/models/updateprojectop.js.map +1 -1
  109. package/esm/models/userevent.d.ts +124 -6
  110. package/esm/models/userevent.d.ts.map +1 -1
  111. package/esm/models/userevent.js +114 -6
  112. package/esm/models/userevent.js.map +1 -1
  113. package/esm/sdk/projects.d.ts +1 -1
  114. package/esm/sdk/projects.js +1 -1
  115. package/esm/sdk/sdk.d.ts +8 -1
  116. package/esm/sdk/sdk.d.ts.map +1 -1
  117. package/esm/sdk/sdk.js +8 -0
  118. package/esm/sdk/sdk.js.map +1 -1
  119. package/jsr.json +1 -1
  120. package/package.json +1 -1
  121. package/src/__tests__/environment.test.ts +28 -4
  122. package/src/__tests__/projects.test.ts +15 -13
  123. package/src/__tests__/vercel.test.ts +26 -0
  124. package/src/funcs/marketplaceUpdateResourceSecretsById.ts +2 -2
  125. package/src/funcs/patchAliasesIdProtectionBypass.ts +185 -0
  126. package/src/funcs/projectsMoveProjectDomain.ts +1 -1
  127. package/src/lib/config.ts +3 -3
  128. package/src/lib/sdks.ts +11 -11
  129. package/src/mcp-server/mcp-server.ts +1 -1
  130. package/src/mcp-server/server.ts +3 -1
  131. package/src/mcp-server/tools/patchAliasesIdProtectionBypass.ts +37 -0
  132. package/src/mcp-server/tools/projectsMoveProjectDomain.ts +1 -1
  133. package/src/models/authuser.ts +0 -7
  134. package/src/models/canceldeploymentop.ts +503 -43
  135. package/src/models/createcustomenvironmentop.ts +426 -4
  136. package/src/models/createdeploymentop.ts +640 -117
  137. package/src/models/createprojectop.ts +664 -200
  138. package/src/models/createrecordop.ts +96 -84
  139. package/src/models/getaliasop.ts +16 -14
  140. package/src/models/getcustomenvironmentop.ts +412 -4
  141. package/src/models/getdeploymentop.ts +962 -49
  142. package/src/models/getprojectdomainsop.ts +84 -84
  143. package/src/models/getprojectsop.ts +637 -189
  144. package/src/models/getv9projectsidornamecustomenvironmentsop.ts +473 -4
  145. package/src/models/listaliasesop.ts +19 -16
  146. package/src/models/patchaliasesidprotectionbypassop.ts +786 -0
  147. package/src/models/removecustomenvironmentop.ts +425 -4
  148. package/src/models/updatecustomenvironmentop.ts +437 -4
  149. package/src/models/updateprojectdatacacheop.ts +738 -271
  150. package/src/models/updateprojectop.ts +697 -247
  151. package/src/models/userevent.ts +205 -12
  152. package/src/sdk/projects.ts +1 -1
  153. package/src/sdk/sdk.ts +18 -1
  154. package/vercel-spec.json +2667 -162
@@ -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(),
@@ -3049,12 +3223,14 @@ export const UpdateProjectStages$inboundSchema = z.object({
3049
3223
  targetPercentage: z.number(),
3050
3224
  minutesToRelease: z.number().optional(),
3051
3225
  requireApproval: z.boolean().optional(),
3226
+ duration: z.number().optional(),
3052
3227
  });
3053
3228
  /** @internal */
3054
3229
  export const UpdateProjectStages$outboundSchema = z.object({
3055
3230
  targetPercentage: z.number(),
3056
3231
  minutesToRelease: z.number().optional(),
3057
3232
  requireApproval: z.boolean().optional(),
3233
+ duration: z.number().optional(),
3058
3234
  });
3059
3235
  /**
3060
3236
  * @internal
@@ -3264,46 +3440,46 @@ export function updateProjectProjectsAliasErrorFromJSON(jsonString) {
3264
3440
  return safeParse(jsonString, (x) => UpdateProjectProjectsAliasError$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateProjectProjectsAliasError' from JSON`);
3265
3441
  }
3266
3442
  /** @internal */
3267
- export const UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema = z.nativeEnum(UpdateProjectProjectsResponse200ApplicationJSONType);
3443
+ export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema = z.nativeEnum(UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType);
3268
3444
  /** @internal */
3269
- export const UpdateProjectProjectsResponse200ApplicationJSONType$outboundSchema = UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema;
3445
+ export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema = UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema;
3270
3446
  /**
3271
3447
  * @internal
3272
3448
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3273
3449
  */
3274
- export var UpdateProjectProjectsResponse200ApplicationJSONType$;
3275
- (function (UpdateProjectProjectsResponse200ApplicationJSONType$) {
3276
- /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema` instead. */
3277
- UpdateProjectProjectsResponse200ApplicationJSONType$.inboundSchema = UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema;
3278
- /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONType$outboundSchema` instead. */
3279
- UpdateProjectProjectsResponse200ApplicationJSONType$.outboundSchema = UpdateProjectProjectsResponse200ApplicationJSONType$outboundSchema;
3280
- })(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$ = {}));
3281
3457
  /** @internal */
3282
- export const UpdateProjectProjectsBranchMatcher$inboundSchema = z.object({
3283
- type: UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema,
3458
+ export const UpdateProjectProjectsResponseBranchMatcher$inboundSchema = z.object({
3459
+ type: UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema,
3284
3460
  pattern: z.string(),
3285
3461
  });
3286
3462
  /** @internal */
3287
- export const UpdateProjectProjectsBranchMatcher$outboundSchema = z.object({
3288
- type: UpdateProjectProjectsResponse200ApplicationJSONType$outboundSchema,
3463
+ export const UpdateProjectProjectsResponseBranchMatcher$outboundSchema = z.object({
3464
+ type: UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema,
3289
3465
  pattern: z.string(),
3290
3466
  });
3291
3467
  /**
3292
3468
  * @internal
3293
3469
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3294
3470
  */
3295
- export var UpdateProjectProjectsBranchMatcher$;
3296
- (function (UpdateProjectProjectsBranchMatcher$) {
3297
- /** @deprecated use `UpdateProjectProjectsBranchMatcher$inboundSchema` instead. */
3298
- UpdateProjectProjectsBranchMatcher$.inboundSchema = UpdateProjectProjectsBranchMatcher$inboundSchema;
3299
- /** @deprecated use `UpdateProjectProjectsBranchMatcher$outboundSchema` instead. */
3300
- UpdateProjectProjectsBranchMatcher$.outboundSchema = UpdateProjectProjectsBranchMatcher$outboundSchema;
3301
- })(UpdateProjectProjectsBranchMatcher$ || (UpdateProjectProjectsBranchMatcher$ = {}));
3302
- export function updateProjectProjectsBranchMatcherToJSON(updateProjectProjectsBranchMatcher) {
3303
- 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));
3304
3480
  }
3305
- export function updateProjectProjectsBranchMatcherFromJSON(jsonString) {
3306
- 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`);
3307
3483
  }
3308
3484
  /** @internal */
3309
3485
  export const UpdateProjectProjectsBuilds$inboundSchema = z.object({
@@ -3494,20 +3670,20 @@ export var UpdateProjectProjectsReadySubstate$;
3494
3670
  UpdateProjectProjectsReadySubstate$.outboundSchema = UpdateProjectProjectsReadySubstate$outboundSchema;
3495
3671
  })(UpdateProjectProjectsReadySubstate$ || (UpdateProjectProjectsReadySubstate$ = {}));
3496
3672
  /** @internal */
3497
- export const UpdateProjectProjectsResponseType$inboundSchema = z.nativeEnum(UpdateProjectProjectsResponseType);
3673
+ export const UpdateProjectProjectsResponse200Type$inboundSchema = z.nativeEnum(UpdateProjectProjectsResponse200Type);
3498
3674
  /** @internal */
3499
- export const UpdateProjectProjectsResponseType$outboundSchema = UpdateProjectProjectsResponseType$inboundSchema;
3675
+ export const UpdateProjectProjectsResponse200Type$outboundSchema = UpdateProjectProjectsResponse200Type$inboundSchema;
3500
3676
  /**
3501
3677
  * @internal
3502
3678
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3503
3679
  */
3504
- export var UpdateProjectProjectsResponseType$;
3505
- (function (UpdateProjectProjectsResponseType$) {
3506
- /** @deprecated use `UpdateProjectProjectsResponseType$inboundSchema` instead. */
3507
- UpdateProjectProjectsResponseType$.inboundSchema = UpdateProjectProjectsResponseType$inboundSchema;
3508
- /** @deprecated use `UpdateProjectProjectsResponseType$outboundSchema` instead. */
3509
- UpdateProjectProjectsResponseType$.outboundSchema = UpdateProjectProjectsResponseType$outboundSchema;
3510
- })(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$ = {}));
3511
3687
  /** @internal */
3512
3688
  export const UpdateProjectTargets$inboundSchema = z.object({
3513
3689
  id: z.string(),
@@ -3516,8 +3692,7 @@ export const UpdateProjectTargets$inboundSchema = z.object({
3516
3692
  aliasError: z.nullable(z.lazy(() => UpdateProjectProjectsAliasError$inboundSchema)).optional(),
3517
3693
  aliasFinal: z.nullable(z.string()).optional(),
3518
3694
  automaticAliases: z.array(z.string()).optional(),
3519
- branchMatcher: z.lazy(() => UpdateProjectProjectsBranchMatcher$inboundSchema)
3520
- .optional(),
3695
+ branchMatcher: z.lazy(() => UpdateProjectProjectsResponseBranchMatcher$inboundSchema).optional(),
3521
3696
  buildingAt: z.number().optional(),
3522
3697
  builds: z.array(z.lazy(() => UpdateProjectProjectsBuilds$inboundSchema))
3523
3698
  .optional(),
@@ -3545,7 +3720,7 @@ export const UpdateProjectTargets$inboundSchema = z.object({
3545
3720
  requestedAt: z.number().optional(),
3546
3721
  target: z.nullable(z.string()).optional(),
3547
3722
  teamId: z.nullable(z.string()).optional(),
3548
- type: UpdateProjectProjectsResponseType$inboundSchema,
3723
+ type: UpdateProjectProjectsResponse200Type$inboundSchema,
3549
3724
  url: z.string(),
3550
3725
  userId: z.string(),
3551
3726
  withCache: z.boolean().optional(),
@@ -3558,8 +3733,7 @@ export const UpdateProjectTargets$outboundSchema = z.object({
3558
3733
  aliasError: z.nullable(z.lazy(() => UpdateProjectProjectsAliasError$outboundSchema)).optional(),
3559
3734
  aliasFinal: z.nullable(z.string()).optional(),
3560
3735
  automaticAliases: z.array(z.string()).optional(),
3561
- branchMatcher: z.lazy(() => UpdateProjectProjectsBranchMatcher$outboundSchema)
3562
- .optional(),
3736
+ branchMatcher: z.lazy(() => UpdateProjectProjectsResponseBranchMatcher$outboundSchema).optional(),
3563
3737
  buildingAt: z.number().optional(),
3564
3738
  builds: z.array(z.lazy(() => UpdateProjectProjectsBuilds$outboundSchema))
3565
3739
  .optional(),
@@ -3587,7 +3761,7 @@ export const UpdateProjectTargets$outboundSchema = z.object({
3587
3761
  requestedAt: z.number().optional(),
3588
3762
  target: z.nullable(z.string()).optional(),
3589
3763
  teamId: z.nullable(z.string()).optional(),
3590
- type: UpdateProjectProjectsResponseType$outboundSchema,
3764
+ type: UpdateProjectProjectsResponse200Type$outboundSchema,
3591
3765
  url: z.string(),
3592
3766
  userId: z.string(),
3593
3767
  withCache: z.boolean().optional(),
@@ -4083,35 +4257,37 @@ export var UpdateProjectJobStatus$;
4083
4257
  UpdateProjectJobStatus$.outboundSchema = UpdateProjectJobStatus$outboundSchema;
4084
4258
  })(UpdateProjectJobStatus$ || (UpdateProjectJobStatus$ = {}));
4085
4259
  /** @internal */
4086
- export const UpdateProjectProjectsResponse200Type$inboundSchema = z.nativeEnum(UpdateProjectProjectsResponse200Type);
4260
+ export const UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema = z.nativeEnum(UpdateProjectProjectsResponse200ApplicationJSONType);
4087
4261
  /** @internal */
4088
- export const UpdateProjectProjectsResponse200Type$outboundSchema = UpdateProjectProjectsResponse200Type$inboundSchema;
4262
+ export const UpdateProjectProjectsResponse200ApplicationJSONType$outboundSchema = UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema;
4089
4263
  /**
4090
4264
  * @internal
4091
4265
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4092
4266
  */
4093
- export var UpdateProjectProjectsResponse200Type$;
4094
- (function (UpdateProjectProjectsResponse200Type$) {
4095
- /** @deprecated use `UpdateProjectProjectsResponse200Type$inboundSchema` instead. */
4096
- UpdateProjectProjectsResponse200Type$.inboundSchema = UpdateProjectProjectsResponse200Type$inboundSchema;
4097
- /** @deprecated use `UpdateProjectProjectsResponse200Type$outboundSchema` instead. */
4098
- UpdateProjectProjectsResponse200Type$.outboundSchema = UpdateProjectProjectsResponse200Type$outboundSchema;
4099
- })(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$ = {}));
4100
4274
  /** @internal */
4101
4275
  export const UpdateProjectLastAliasRequest$inboundSchema = z.object({
4102
4276
  fromDeploymentId: z.string(),
4103
4277
  toDeploymentId: z.string(),
4278
+ fromRollingReleaseId: z.string().optional(),
4104
4279
  jobStatus: UpdateProjectJobStatus$inboundSchema,
4105
4280
  requestedAt: z.number(),
4106
- type: UpdateProjectProjectsResponse200Type$inboundSchema,
4281
+ type: UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema,
4107
4282
  });
4108
4283
  /** @internal */
4109
4284
  export const UpdateProjectLastAliasRequest$outboundSchema = z.object({
4110
4285
  fromDeploymentId: z.string(),
4111
4286
  toDeploymentId: z.string(),
4287
+ fromRollingReleaseId: z.string().optional(),
4112
4288
  jobStatus: UpdateProjectJobStatus$outboundSchema,
4113
4289
  requestedAt: z.number(),
4114
- type: UpdateProjectProjectsResponse200Type$outboundSchema,
4290
+ type: UpdateProjectProjectsResponse200ApplicationJSONType$outboundSchema,
4115
4291
  });
4116
4292
  /**
4117
4293
  * @internal