@vercel/sdk 1.6.7 → 1.6.9

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 (162) hide show
  1. package/README.md +17 -29
  2. package/bin/mcp-server.js +2689 -996
  3. package/bin/mcp-server.js.map +33 -30
  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__/projects.test.js +13 -15
  8. package/esm/__tests__/projects.test.js.map +1 -1
  9. package/esm/__tests__/vercel.test.d.ts +2 -0
  10. package/esm/__tests__/vercel.test.d.ts.map +1 -0
  11. package/esm/__tests__/vercel.test.js +21 -0
  12. package/esm/__tests__/vercel.test.js.map +1 -0
  13. package/esm/funcs/marketplaceUpdateResourceSecretsById.js +2 -2
  14. package/esm/funcs/marketplaceUpdateResourceSecretsById.js.map +1 -1
  15. package/esm/funcs/patchAliasesIdProtectionBypass.d.ts +18 -0
  16. package/esm/funcs/patchAliasesIdProtectionBypass.d.ts.map +1 -0
  17. package/esm/funcs/patchAliasesIdProtectionBypass.js +81 -0
  18. package/esm/funcs/patchAliasesIdProtectionBypass.js.map +1 -0
  19. package/esm/lib/config.d.ts +3 -3
  20. package/esm/lib/config.js +3 -3
  21. package/esm/lib/sdks.d.ts +3 -1
  22. package/esm/lib/sdks.d.ts.map +1 -1
  23. package/esm/lib/sdks.js +6 -11
  24. package/esm/lib/sdks.js.map +1 -1
  25. package/esm/mcp-server/mcp-server.js +1 -1
  26. package/esm/mcp-server/server.d.ts.map +1 -1
  27. package/esm/mcp-server/server.js +3 -1
  28. package/esm/mcp-server/server.js.map +1 -1
  29. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.d.ts +7 -0
  30. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.d.ts.map +1 -0
  31. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.js +26 -0
  32. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.js.map +1 -0
  33. package/esm/models/authuser.d.ts +0 -8
  34. package/esm/models/authuser.d.ts.map +1 -1
  35. package/esm/models/authuser.js +0 -3
  36. package/esm/models/authuser.js.map +1 -1
  37. package/esm/models/canceldeploymentop.d.ts +268 -26
  38. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  39. package/esm/models/canceldeploymentop.js +194 -24
  40. package/esm/models/canceldeploymentop.js.map +1 -1
  41. package/esm/models/createcustomenvironmentop.d.ts +244 -2
  42. package/esm/models/createcustomenvironmentop.d.ts.map +1 -1
  43. package/esm/models/createcustomenvironmentop.js +174 -2
  44. package/esm/models/createcustomenvironmentop.js.map +1 -1
  45. package/esm/models/createdeploymentop.d.ts +357 -58
  46. package/esm/models/createdeploymentop.d.ts.map +1 -1
  47. package/esm/models/createdeploymentop.js +290 -60
  48. package/esm/models/createdeploymentop.js.map +1 -1
  49. package/esm/models/createprojectenvop.d.ts +6 -6
  50. package/esm/models/createprojectenvop.js +2 -2
  51. package/esm/models/createprojectenvop.js.map +1 -1
  52. package/esm/models/createprojectop.d.ts +337 -80
  53. package/esm/models/createprojectop.d.ts.map +1 -1
  54. package/esm/models/createprojectop.js +256 -78
  55. package/esm/models/createprojectop.js.map +1 -1
  56. package/esm/models/createrecordop.d.ts +43 -43
  57. package/esm/models/createrecordop.d.ts.map +1 -1
  58. package/esm/models/createrecordop.js +51 -51
  59. package/esm/models/createrecordop.js.map +1 -1
  60. package/esm/models/editprojectenvop.d.ts +3 -3
  61. package/esm/models/editprojectenvop.js +1 -1
  62. package/esm/models/editprojectenvop.js.map +1 -1
  63. package/esm/models/getaliasop.d.ts +8 -8
  64. package/esm/models/getaliasop.d.ts.map +1 -1
  65. package/esm/models/getaliasop.js +12 -13
  66. package/esm/models/getaliasop.js.map +1 -1
  67. package/esm/models/getbypassipop.d.ts +28 -28
  68. package/esm/models/getbypassipop.d.ts.map +1 -1
  69. package/esm/models/getbypassipop.js +28 -28
  70. package/esm/models/getbypassipop.js.map +1 -1
  71. package/esm/models/getcustomenvironmentop.d.ts +242 -2
  72. package/esm/models/getcustomenvironmentop.d.ts.map +1 -1
  73. package/esm/models/getcustomenvironmentop.js +175 -2
  74. package/esm/models/getcustomenvironmentop.js.map +1 -1
  75. package/esm/models/getdeploymentop.d.ts +502 -18
  76. package/esm/models/getdeploymentop.d.ts.map +1 -1
  77. package/esm/models/getdeploymentop.js +354 -14
  78. package/esm/models/getdeploymentop.js.map +1 -1
  79. package/esm/models/getprojectdomainsop.d.ts +30 -30
  80. package/esm/models/getprojectdomainsop.d.ts.map +1 -1
  81. package/esm/models/getprojectdomainsop.js +32 -32
  82. package/esm/models/getprojectdomainsop.js.map +1 -1
  83. package/esm/models/getprojectsop.d.ts +342 -95
  84. package/esm/models/getprojectsop.d.ts.map +1 -1
  85. package/esm/models/getprojectsop.js +285 -112
  86. package/esm/models/getprojectsop.js.map +1 -1
  87. package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts +242 -2
  88. package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts.map +1 -1
  89. package/esm/models/getv9projectsidornamecustomenvironmentsop.js +172 -2
  90. package/esm/models/getv9projectsidornamecustomenvironmentsop.js.map +1 -1
  91. package/esm/models/listaliasesop.d.ts +8 -8
  92. package/esm/models/listaliasesop.d.ts.map +1 -1
  93. package/esm/models/listaliasesop.js +12 -12
  94. package/esm/models/listaliasesop.js.map +1 -1
  95. package/esm/models/patchaliasesidprotectionbypassop.d.ts +409 -0
  96. package/esm/models/patchaliasesidprotectionbypassop.d.ts.map +1 -0
  97. package/esm/models/patchaliasesidprotectionbypassop.js +386 -0
  98. package/esm/models/patchaliasesidprotectionbypassop.js.map +1 -0
  99. package/esm/models/removecustomenvironmentop.d.ts +245 -2
  100. package/esm/models/removecustomenvironmentop.d.ts.map +1 -1
  101. package/esm/models/removecustomenvironmentop.js +173 -2
  102. package/esm/models/removecustomenvironmentop.js.map +1 -1
  103. package/esm/models/removeprojectenvop.d.ts +9 -9
  104. package/esm/models/removeprojectenvop.js +3 -3
  105. package/esm/models/removeprojectenvop.js.map +1 -1
  106. package/esm/models/updatecustomenvironmentop.d.ts +244 -2
  107. package/esm/models/updatecustomenvironmentop.d.ts.map +1 -1
  108. package/esm/models/updatecustomenvironmentop.js +174 -2
  109. package/esm/models/updatecustomenvironmentop.js.map +1 -1
  110. package/esm/models/updateprojectdatacacheop.d.ts +358 -111
  111. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  112. package/esm/models/updateprojectdatacacheop.js +309 -135
  113. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  114. package/esm/models/updateprojectop.d.ts +420 -104
  115. package/esm/models/updateprojectop.d.ts.map +1 -1
  116. package/esm/models/updateprojectop.js +342 -114
  117. package/esm/models/updateprojectop.js.map +1 -1
  118. package/esm/models/userevent.d.ts +161 -86
  119. package/esm/models/userevent.d.ts.map +1 -1
  120. package/esm/models/userevent.js +139 -64
  121. package/esm/models/userevent.js.map +1 -1
  122. package/esm/sdk/sdk.d.ts +8 -1
  123. package/esm/sdk/sdk.d.ts.map +1 -1
  124. package/esm/sdk/sdk.js +8 -0
  125. package/esm/sdk/sdk.js.map +1 -1
  126. package/jsr.json +1 -1
  127. package/package.json +1 -1
  128. package/src/__tests__/environment.test.ts +28 -4
  129. package/src/__tests__/projects.test.ts +13 -15
  130. package/src/__tests__/vercel.test.ts +26 -0
  131. package/src/funcs/marketplaceUpdateResourceSecretsById.ts +2 -2
  132. package/src/funcs/patchAliasesIdProtectionBypass.ts +185 -0
  133. package/src/lib/config.ts +3 -3
  134. package/src/lib/sdks.ts +11 -11
  135. package/src/mcp-server/mcp-server.ts +1 -1
  136. package/src/mcp-server/server.ts +3 -1
  137. package/src/mcp-server/tools/patchAliasesIdProtectionBypass.ts +37 -0
  138. package/src/models/authuser.ts +0 -8
  139. package/src/models/canceldeploymentop.ts +503 -43
  140. package/src/models/createcustomenvironmentop.ts +426 -4
  141. package/src/models/createdeploymentop.ts +640 -117
  142. package/src/models/createprojectenvop.ts +2 -2
  143. package/src/models/createprojectop.ts +658 -201
  144. package/src/models/createrecordop.ts +96 -84
  145. package/src/models/editprojectenvop.ts +1 -1
  146. package/src/models/getaliasop.ts +16 -14
  147. package/src/models/getbypassipop.ts +56 -56
  148. package/src/models/getcustomenvironmentop.ts +412 -4
  149. package/src/models/getdeploymentop.ts +962 -49
  150. package/src/models/getprojectdomainsop.ts +84 -84
  151. package/src/models/getprojectsop.ts +630 -189
  152. package/src/models/getv9projectsidornamecustomenvironmentsop.ts +473 -4
  153. package/src/models/listaliasesop.ts +19 -16
  154. package/src/models/patchaliasesidprotectionbypassop.ts +786 -0
  155. package/src/models/removecustomenvironmentop.ts +425 -4
  156. package/src/models/removeprojectenvop.ts +3 -3
  157. package/src/models/updatecustomenvironmentop.ts +437 -4
  158. package/src/models/updateprojectdatacacheop.ts +731 -271
  159. package/src/models/updateprojectop.ts +786 -197
  160. package/src/models/userevent.ts +246 -121
  161. package/src/sdk/sdk.ts +18 -1
  162. package/vercel-spec.json +2609 -140
@@ -111,10 +111,10 @@ export const UpdateProjectTarget2 = {
111
111
  };
112
112
  export const UpdateProjectType = {
113
113
  System: "system",
114
+ Secret: "secret",
114
115
  Encrypted: "encrypted",
115
116
  Plain: "plain",
116
117
  Sensitive: "sensitive",
117
- Secret: "secret",
118
118
  };
119
119
  export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type = {
120
120
  FlagsConnectionString: "flags-connection-string",
@@ -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",
@@ -373,8 +389,8 @@ export const UpdateProjectCreateDeployments = {
373
389
  Disabled: "disabled",
374
390
  };
375
391
  export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType = {
376
- Path: "path",
377
392
  Host: "host",
393
+ Path: "path",
378
394
  Method: "method",
379
395
  Header: "header",
380
396
  Cookie: "cookie",
@@ -387,8 +403,8 @@ export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurity
387
403
  InitialRequestPath: "initial_request_path",
388
404
  };
389
405
  export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType = {
390
- Path: "path",
391
406
  Host: "host",
407
+ Path: "path",
392
408
  Method: "method",
393
409
  Header: "header",
394
410
  Cookie: "cookie",
@@ -725,6 +741,58 @@ export function updateProjectOptionsAllowlistFromJSON(jsonString) {
725
741
  return safeParse(jsonString, (x) => UpdateProjectOptionsAllowlist$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateProjectOptionsAllowlist' from JSON`);
726
742
  }
727
743
  /** @internal */
744
+ export const ConnectConfigurations1$inboundSchema = z.object({
745
+ envId: z.string(),
746
+ connectConfigurationId: z.string(),
747
+ passive: z.boolean(),
748
+ buildsEnabled: z.boolean(),
749
+ });
750
+ /** @internal */
751
+ export const ConnectConfigurations1$outboundSchema = z.object({
752
+ envId: z.string(),
753
+ connectConfigurationId: z.string(),
754
+ passive: z.boolean(),
755
+ buildsEnabled: z.boolean(),
756
+ });
757
+ /**
758
+ * @internal
759
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
760
+ */
761
+ export var ConnectConfigurations1$;
762
+ (function (ConnectConfigurations1$) {
763
+ /** @deprecated use `ConnectConfigurations1$inboundSchema` instead. */
764
+ ConnectConfigurations1$.inboundSchema = ConnectConfigurations1$inboundSchema;
765
+ /** @deprecated use `ConnectConfigurations1$outboundSchema` instead. */
766
+ ConnectConfigurations1$.outboundSchema = ConnectConfigurations1$outboundSchema;
767
+ })(ConnectConfigurations1$ || (ConnectConfigurations1$ = {}));
768
+ export function connectConfigurations1ToJSON(connectConfigurations1) {
769
+ return JSON.stringify(ConnectConfigurations1$outboundSchema.parse(connectConfigurations1));
770
+ }
771
+ export function connectConfigurations1FromJSON(jsonString) {
772
+ return safeParse(jsonString, (x) => ConnectConfigurations1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ConnectConfigurations1' from JSON`);
773
+ }
774
+ /** @internal */
775
+ export const ConnectConfigurations$inboundSchema = z.lazy(() => ConnectConfigurations1$inboundSchema);
776
+ /** @internal */
777
+ export const ConnectConfigurations$outboundSchema = z.lazy(() => ConnectConfigurations1$outboundSchema);
778
+ /**
779
+ * @internal
780
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
781
+ */
782
+ export var ConnectConfigurations$;
783
+ (function (ConnectConfigurations$) {
784
+ /** @deprecated use `ConnectConfigurations$inboundSchema` instead. */
785
+ ConnectConfigurations$.inboundSchema = ConnectConfigurations$inboundSchema;
786
+ /** @deprecated use `ConnectConfigurations$outboundSchema` instead. */
787
+ ConnectConfigurations$.outboundSchema = ConnectConfigurations$outboundSchema;
788
+ })(ConnectConfigurations$ || (ConnectConfigurations$ = {}));
789
+ export function connectConfigurationsToJSON(connectConfigurations) {
790
+ return JSON.stringify(ConnectConfigurations$outboundSchema.parse(connectConfigurations));
791
+ }
792
+ export function connectConfigurationsFromJSON(jsonString) {
793
+ return safeParse(jsonString, (x) => ConnectConfigurations$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ConnectConfigurations' from JSON`);
794
+ }
795
+ /** @internal */
728
796
  export const UpdateProjectRequestBody$inboundSchema = z.object({
729
797
  autoExposeSystemEnvs: z.boolean().optional(),
730
798
  autoAssignCustomDomains: z.boolean().optional(),
@@ -760,6 +828,7 @@ export const UpdateProjectRequestBody$inboundSchema = z.object({
760
828
  trustedIps: z.nullable(z.lazy(() => UpdateProjectTrustedIps$inboundSchema))
761
829
  .optional(),
762
830
  optionsAllowlist: z.nullable(z.lazy(() => UpdateProjectOptionsAllowlist$inboundSchema)).optional(),
831
+ connectConfigurations: z.nullable(z.array(z.lazy(() => ConnectConfigurations1$inboundSchema))).optional(),
763
832
  });
764
833
  /** @internal */
765
834
  export const UpdateProjectRequestBody$outboundSchema = z.object({
@@ -797,6 +866,7 @@ export const UpdateProjectRequestBody$outboundSchema = z.object({
797
866
  trustedIps: z.nullable(z.lazy(() => UpdateProjectTrustedIps$outboundSchema))
798
867
  .optional(),
799
868
  optionsAllowlist: z.nullable(z.lazy(() => UpdateProjectOptionsAllowlist$outboundSchema)).optional(),
869
+ connectConfigurations: z.nullable(z.array(z.lazy(() => ConnectConfigurations1$outboundSchema))).optional(),
800
870
  });
801
871
  /**
802
872
  * @internal
@@ -1793,28 +1863,28 @@ export function updateProjectContentHintFromJSON(jsonString) {
1793
1863
  return safeParse(jsonString, (x) => UpdateProjectContentHint$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateProjectContentHint' from JSON`);
1794
1864
  }
1795
1865
  /** @internal */
1796
- export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema = z.nativeEnum(UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType);
1866
+ export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema = z.nativeEnum(UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType);
1797
1867
  /** @internal */
1798
- export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema = UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema;
1868
+ export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema = UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema;
1799
1869
  /**
1800
1870
  * @internal
1801
1871
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1802
1872
  */
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$ = {}));
1873
+ export var UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$;
1874
+ (function (UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$) {
1875
+ /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */
1876
+ UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$.inboundSchema = UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema;
1877
+ /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */
1878
+ UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$.outboundSchema = UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema;
1879
+ })(UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$ || (UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$ = {}));
1810
1880
  /** @internal */
1811
1881
  export const UpdateProjectInternalContentHint$inboundSchema = z.object({
1812
- type: UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema,
1882
+ type: UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema,
1813
1883
  encryptedValue: z.string(),
1814
1884
  });
1815
1885
  /** @internal */
1816
1886
  export const UpdateProjectInternalContentHint$outboundSchema = z.object({
1817
- type: UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema,
1887
+ type: UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema,
1818
1888
  encryptedValue: z.string(),
1819
1889
  });
1820
1890
  /**
@@ -1932,9 +2002,167 @@ export function updateProjectEnvFromJSON(jsonString) {
1932
2002
  return safeParse(jsonString, (x) => UpdateProjectEnv$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateProjectEnv' from JSON`);
1933
2003
  }
1934
2004
  /** @internal */
1935
- export const UpdateProjectCustomEnvironments$inboundSchema = z.object({});
2005
+ export const UpdateProjectProjectsType$inboundSchema = z.nativeEnum(UpdateProjectProjectsType);
2006
+ /** @internal */
2007
+ export const UpdateProjectProjectsType$outboundSchema = UpdateProjectProjectsType$inboundSchema;
2008
+ /**
2009
+ * @internal
2010
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2011
+ */
2012
+ export var UpdateProjectProjectsType$;
2013
+ (function (UpdateProjectProjectsType$) {
2014
+ /** @deprecated use `UpdateProjectProjectsType$inboundSchema` instead. */
2015
+ UpdateProjectProjectsType$.inboundSchema = UpdateProjectProjectsType$inboundSchema;
2016
+ /** @deprecated use `UpdateProjectProjectsType$outboundSchema` instead. */
2017
+ UpdateProjectProjectsType$.outboundSchema = UpdateProjectProjectsType$outboundSchema;
2018
+ })(UpdateProjectProjectsType$ || (UpdateProjectProjectsType$ = {}));
2019
+ /** @internal */
2020
+ export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema = z.nativeEnum(UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType);
2021
+ /** @internal */
2022
+ export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema = UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema;
2023
+ /**
2024
+ * @internal
2025
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2026
+ */
2027
+ export var UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$;
2028
+ (function (UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$) {
2029
+ /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema` instead. */
2030
+ UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$.inboundSchema = UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema;
2031
+ /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema` instead. */
2032
+ UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$.outboundSchema = UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema;
2033
+ })(UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$ || (UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$ = {}));
2034
+ /** @internal */
2035
+ export const UpdateProjectBranchMatcher$inboundSchema = z.object({
2036
+ type: UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema,
2037
+ pattern: z.string(),
2038
+ });
2039
+ /** @internal */
2040
+ export const UpdateProjectBranchMatcher$outboundSchema = z.object({
2041
+ type: UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema,
2042
+ pattern: z.string(),
2043
+ });
2044
+ /**
2045
+ * @internal
2046
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2047
+ */
2048
+ export var UpdateProjectBranchMatcher$;
2049
+ (function (UpdateProjectBranchMatcher$) {
2050
+ /** @deprecated use `UpdateProjectBranchMatcher$inboundSchema` instead. */
2051
+ UpdateProjectBranchMatcher$.inboundSchema = UpdateProjectBranchMatcher$inboundSchema;
2052
+ /** @deprecated use `UpdateProjectBranchMatcher$outboundSchema` instead. */
2053
+ UpdateProjectBranchMatcher$.outboundSchema = UpdateProjectBranchMatcher$outboundSchema;
2054
+ })(UpdateProjectBranchMatcher$ || (UpdateProjectBranchMatcher$ = {}));
2055
+ export function updateProjectBranchMatcherToJSON(updateProjectBranchMatcher) {
2056
+ return JSON.stringify(UpdateProjectBranchMatcher$outboundSchema.parse(updateProjectBranchMatcher));
2057
+ }
2058
+ export function updateProjectBranchMatcherFromJSON(jsonString) {
2059
+ return safeParse(jsonString, (x) => UpdateProjectBranchMatcher$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateProjectBranchMatcher' from JSON`);
2060
+ }
2061
+ /** @internal */
2062
+ export const UpdateProjectVerification$inboundSchema = z.object({
2063
+ type: z.string(),
2064
+ domain: z.string(),
2065
+ value: z.string(),
2066
+ reason: z.string(),
2067
+ });
2068
+ /** @internal */
2069
+ export const UpdateProjectVerification$outboundSchema = z.object({
2070
+ type: z.string(),
2071
+ domain: z.string(),
2072
+ value: z.string(),
2073
+ reason: z.string(),
2074
+ });
2075
+ /**
2076
+ * @internal
2077
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2078
+ */
2079
+ export var UpdateProjectVerification$;
2080
+ (function (UpdateProjectVerification$) {
2081
+ /** @deprecated use `UpdateProjectVerification$inboundSchema` instead. */
2082
+ UpdateProjectVerification$.inboundSchema = UpdateProjectVerification$inboundSchema;
2083
+ /** @deprecated use `UpdateProjectVerification$outboundSchema` instead. */
2084
+ UpdateProjectVerification$.outboundSchema = UpdateProjectVerification$outboundSchema;
2085
+ })(UpdateProjectVerification$ || (UpdateProjectVerification$ = {}));
2086
+ export function updateProjectVerificationToJSON(updateProjectVerification) {
2087
+ return JSON.stringify(UpdateProjectVerification$outboundSchema.parse(updateProjectVerification));
2088
+ }
2089
+ export function updateProjectVerificationFromJSON(jsonString) {
2090
+ return safeParse(jsonString, (x) => UpdateProjectVerification$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateProjectVerification' from JSON`);
2091
+ }
2092
+ /** @internal */
2093
+ export const UpdateProjectDomains$inboundSchema = z.object({
2094
+ name: z.string(),
2095
+ apexName: z.string(),
2096
+ projectId: z.string(),
2097
+ redirect: z.nullable(z.string()).optional(),
2098
+ redirectStatusCode: z.nullable(z.number()).optional(),
2099
+ gitBranch: z.nullable(z.string()).optional(),
2100
+ customEnvironmentId: z.nullable(z.string()).optional(),
2101
+ updatedAt: z.number().optional(),
2102
+ createdAt: z.number().optional(),
2103
+ verified: z.boolean(),
2104
+ verification: z.array(z.lazy(() => UpdateProjectVerification$inboundSchema))
2105
+ .optional(),
2106
+ });
2107
+ /** @internal */
2108
+ export const UpdateProjectDomains$outboundSchema = z.object({
2109
+ name: z.string(),
2110
+ apexName: z.string(),
2111
+ projectId: z.string(),
2112
+ redirect: z.nullable(z.string()).optional(),
2113
+ redirectStatusCode: z.nullable(z.number()).optional(),
2114
+ gitBranch: z.nullable(z.string()).optional(),
2115
+ customEnvironmentId: z.nullable(z.string()).optional(),
2116
+ updatedAt: z.number().optional(),
2117
+ createdAt: z.number().optional(),
2118
+ verified: z.boolean(),
2119
+ verification: z.array(z.lazy(() => UpdateProjectVerification$outboundSchema))
2120
+ .optional(),
2121
+ });
2122
+ /**
2123
+ * @internal
2124
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2125
+ */
2126
+ export var UpdateProjectDomains$;
2127
+ (function (UpdateProjectDomains$) {
2128
+ /** @deprecated use `UpdateProjectDomains$inboundSchema` instead. */
2129
+ UpdateProjectDomains$.inboundSchema = UpdateProjectDomains$inboundSchema;
2130
+ /** @deprecated use `UpdateProjectDomains$outboundSchema` instead. */
2131
+ UpdateProjectDomains$.outboundSchema = UpdateProjectDomains$outboundSchema;
2132
+ })(UpdateProjectDomains$ || (UpdateProjectDomains$ = {}));
2133
+ export function updateProjectDomainsToJSON(updateProjectDomains) {
2134
+ return JSON.stringify(UpdateProjectDomains$outboundSchema.parse(updateProjectDomains));
2135
+ }
2136
+ export function updateProjectDomainsFromJSON(jsonString) {
2137
+ return safeParse(jsonString, (x) => UpdateProjectDomains$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateProjectDomains' from JSON`);
2138
+ }
2139
+ /** @internal */
2140
+ export const UpdateProjectCustomEnvironments$inboundSchema = z.object({
2141
+ id: z.string(),
2142
+ slug: z.string(),
2143
+ type: UpdateProjectProjectsType$inboundSchema,
2144
+ description: z.string().optional(),
2145
+ branchMatcher: z.lazy(() => UpdateProjectBranchMatcher$inboundSchema)
2146
+ .optional(),
2147
+ domains: z.array(z.lazy(() => UpdateProjectDomains$inboundSchema)).optional(),
2148
+ currentDeploymentAliases: z.array(z.string()).optional(),
2149
+ createdAt: z.number(),
2150
+ updatedAt: z.number(),
2151
+ });
1936
2152
  /** @internal */
1937
- export const UpdateProjectCustomEnvironments$outboundSchema = z.object({});
2153
+ export const UpdateProjectCustomEnvironments$outboundSchema = z.object({
2154
+ id: z.string(),
2155
+ slug: z.string(),
2156
+ type: UpdateProjectProjectsType$outboundSchema,
2157
+ description: z.string().optional(),
2158
+ branchMatcher: z.lazy(() => UpdateProjectBranchMatcher$outboundSchema)
2159
+ .optional(),
2160
+ domains: z.array(z.lazy(() => UpdateProjectDomains$outboundSchema))
2161
+ .optional(),
2162
+ currentDeploymentAliases: z.array(z.string()).optional(),
2163
+ createdAt: z.number(),
2164
+ updatedAt: z.number(),
2165
+ });
1938
2166
  /**
1939
2167
  * @internal
1940
2168
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
@@ -2043,46 +2271,46 @@ export function updateProjectAliasErrorFromJSON(jsonString) {
2043
2271
  return safeParse(jsonString, (x) => UpdateProjectAliasError$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateProjectAliasError' from JSON`);
2044
2272
  }
2045
2273
  /** @internal */
2046
- export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema = z.nativeEnum(UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType);
2274
+ export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema = z.nativeEnum(UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType);
2047
2275
  /** @internal */
2048
- export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema = UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema;
2276
+ export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$outboundSchema = UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema;
2049
2277
  /**
2050
2278
  * @internal
2051
2279
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2052
2280
  */
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$ = {}));
2281
+ export var UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$;
2282
+ (function (UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$) {
2283
+ /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema` instead. */
2284
+ UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$.inboundSchema = UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema;
2285
+ /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$outboundSchema` instead. */
2286
+ UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$.outboundSchema = UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$outboundSchema;
2287
+ })(UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$ || (UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$ = {}));
2060
2288
  /** @internal */
2061
- export const UpdateProjectBranchMatcher$inboundSchema = z.object({
2062
- type: UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema,
2289
+ export const UpdateProjectProjectsBranchMatcher$inboundSchema = z.object({
2290
+ type: UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema,
2063
2291
  pattern: z.string(),
2064
2292
  });
2065
2293
  /** @internal */
2066
- export const UpdateProjectBranchMatcher$outboundSchema = z.object({
2067
- type: UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema,
2294
+ export const UpdateProjectProjectsBranchMatcher$outboundSchema = z.object({
2295
+ type: UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$outboundSchema,
2068
2296
  pattern: z.string(),
2069
2297
  });
2070
2298
  /**
2071
2299
  * @internal
2072
2300
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2073
2301
  */
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));
2302
+ export var UpdateProjectProjectsBranchMatcher$;
2303
+ (function (UpdateProjectProjectsBranchMatcher$) {
2304
+ /** @deprecated use `UpdateProjectProjectsBranchMatcher$inboundSchema` instead. */
2305
+ UpdateProjectProjectsBranchMatcher$.inboundSchema = UpdateProjectProjectsBranchMatcher$inboundSchema;
2306
+ /** @deprecated use `UpdateProjectProjectsBranchMatcher$outboundSchema` instead. */
2307
+ UpdateProjectProjectsBranchMatcher$.outboundSchema = UpdateProjectProjectsBranchMatcher$outboundSchema;
2308
+ })(UpdateProjectProjectsBranchMatcher$ || (UpdateProjectProjectsBranchMatcher$ = {}));
2309
+ export function updateProjectProjectsBranchMatcherToJSON(updateProjectProjectsBranchMatcher) {
2310
+ return JSON.stringify(UpdateProjectProjectsBranchMatcher$outboundSchema.parse(updateProjectProjectsBranchMatcher));
2083
2311
  }
2084
- export function updateProjectBranchMatcherFromJSON(jsonString) {
2085
- return safeParse(jsonString, (x) => UpdateProjectBranchMatcher$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateProjectBranchMatcher' from JSON`);
2312
+ export function updateProjectProjectsBranchMatcherFromJSON(jsonString) {
2313
+ return safeParse(jsonString, (x) => UpdateProjectProjectsBranchMatcher$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateProjectProjectsBranchMatcher' from JSON`);
2086
2314
  }
2087
2315
  /** @internal */
2088
2316
  export const UpdateProjectBuilds$inboundSchema = z.object({
@@ -2273,20 +2501,20 @@ export var UpdateProjectReadySubstate$;
2273
2501
  UpdateProjectReadySubstate$.outboundSchema = UpdateProjectReadySubstate$outboundSchema;
2274
2502
  })(UpdateProjectReadySubstate$ || (UpdateProjectReadySubstate$ = {}));
2275
2503
  /** @internal */
2276
- export const UpdateProjectProjectsType$inboundSchema = z.nativeEnum(UpdateProjectProjectsType);
2504
+ export const UpdateProjectProjectsResponseType$inboundSchema = z.nativeEnum(UpdateProjectProjectsResponseType);
2277
2505
  /** @internal */
2278
- export const UpdateProjectProjectsType$outboundSchema = UpdateProjectProjectsType$inboundSchema;
2506
+ export const UpdateProjectProjectsResponseType$outboundSchema = UpdateProjectProjectsResponseType$inboundSchema;
2279
2507
  /**
2280
2508
  * @internal
2281
2509
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2282
2510
  */
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$ = {}));
2511
+ export var UpdateProjectProjectsResponseType$;
2512
+ (function (UpdateProjectProjectsResponseType$) {
2513
+ /** @deprecated use `UpdateProjectProjectsResponseType$inboundSchema` instead. */
2514
+ UpdateProjectProjectsResponseType$.inboundSchema = UpdateProjectProjectsResponseType$inboundSchema;
2515
+ /** @deprecated use `UpdateProjectProjectsResponseType$outboundSchema` instead. */
2516
+ UpdateProjectProjectsResponseType$.outboundSchema = UpdateProjectProjectsResponseType$outboundSchema;
2517
+ })(UpdateProjectProjectsResponseType$ || (UpdateProjectProjectsResponseType$ = {}));
2290
2518
  /** @internal */
2291
2519
  export const UpdateProjectLatestDeployments$inboundSchema = z.object({
2292
2520
  id: z.string(),
@@ -2296,7 +2524,7 @@ export const UpdateProjectLatestDeployments$inboundSchema = z.object({
2296
2524
  .optional(),
2297
2525
  aliasFinal: z.nullable(z.string()).optional(),
2298
2526
  automaticAliases: z.array(z.string()).optional(),
2299
- branchMatcher: z.lazy(() => UpdateProjectBranchMatcher$inboundSchema)
2527
+ branchMatcher: z.lazy(() => UpdateProjectProjectsBranchMatcher$inboundSchema)
2300
2528
  .optional(),
2301
2529
  buildingAt: z.number().optional(),
2302
2530
  builds: z.array(z.lazy(() => UpdateProjectBuilds$inboundSchema)).optional(),
@@ -2324,7 +2552,7 @@ export const UpdateProjectLatestDeployments$inboundSchema = z.object({
2324
2552
  requestedAt: z.number().optional(),
2325
2553
  target: z.nullable(z.string()).optional(),
2326
2554
  teamId: z.nullable(z.string()).optional(),
2327
- type: UpdateProjectProjectsType$inboundSchema,
2555
+ type: UpdateProjectProjectsResponseType$inboundSchema,
2328
2556
  url: z.string(),
2329
2557
  userId: z.string(),
2330
2558
  withCache: z.boolean().optional(),
@@ -2338,7 +2566,7 @@ export const UpdateProjectLatestDeployments$outboundSchema = z.object({
2338
2566
  .optional(),
2339
2567
  aliasFinal: z.nullable(z.string()).optional(),
2340
2568
  automaticAliases: z.array(z.string()).optional(),
2341
- branchMatcher: z.lazy(() => UpdateProjectBranchMatcher$outboundSchema)
2569
+ branchMatcher: z.lazy(() => UpdateProjectProjectsBranchMatcher$outboundSchema)
2342
2570
  .optional(),
2343
2571
  buildingAt: z.number().optional(),
2344
2572
  builds: z.array(z.lazy(() => UpdateProjectBuilds$outboundSchema)).optional(),
@@ -2366,7 +2594,7 @@ export const UpdateProjectLatestDeployments$outboundSchema = z.object({
2366
2594
  requestedAt: z.number().optional(),
2367
2595
  target: z.nullable(z.string()).optional(),
2368
2596
  teamId: z.nullable(z.string()).optional(),
2369
- type: UpdateProjectProjectsType$outboundSchema,
2597
+ type: UpdateProjectProjectsResponseType$outboundSchema,
2370
2598
  url: z.string(),
2371
2599
  userId: z.string(),
2372
2600
  withCache: z.boolean().optional(),
@@ -3266,46 +3494,46 @@ export function updateProjectProjectsAliasErrorFromJSON(jsonString) {
3266
3494
  return safeParse(jsonString, (x) => UpdateProjectProjectsAliasError$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateProjectProjectsAliasError' from JSON`);
3267
3495
  }
3268
3496
  /** @internal */
3269
- export const UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema = z.nativeEnum(UpdateProjectProjectsResponse200ApplicationJSONType);
3497
+ export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema = z.nativeEnum(UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType);
3270
3498
  /** @internal */
3271
- export const UpdateProjectProjectsResponse200ApplicationJSONType$outboundSchema = UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema;
3499
+ export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema = UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema;
3272
3500
  /**
3273
3501
  * @internal
3274
3502
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3275
3503
  */
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$ = {}));
3504
+ export var UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$;
3505
+ (function (UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$) {
3506
+ /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema` instead. */
3507
+ UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$.inboundSchema = UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema;
3508
+ /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema` instead. */
3509
+ UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$.outboundSchema = UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema;
3510
+ })(UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$ || (UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$ = {}));
3283
3511
  /** @internal */
3284
- export const UpdateProjectProjectsBranchMatcher$inboundSchema = z.object({
3285
- type: UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema,
3512
+ export const UpdateProjectProjectsResponseBranchMatcher$inboundSchema = z.object({
3513
+ type: UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema,
3286
3514
  pattern: z.string(),
3287
3515
  });
3288
3516
  /** @internal */
3289
- export const UpdateProjectProjectsBranchMatcher$outboundSchema = z.object({
3290
- type: UpdateProjectProjectsResponse200ApplicationJSONType$outboundSchema,
3517
+ export const UpdateProjectProjectsResponseBranchMatcher$outboundSchema = z.object({
3518
+ type: UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema,
3291
3519
  pattern: z.string(),
3292
3520
  });
3293
3521
  /**
3294
3522
  * @internal
3295
3523
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3296
3524
  */
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));
3525
+ export var UpdateProjectProjectsResponseBranchMatcher$;
3526
+ (function (UpdateProjectProjectsResponseBranchMatcher$) {
3527
+ /** @deprecated use `UpdateProjectProjectsResponseBranchMatcher$inboundSchema` instead. */
3528
+ UpdateProjectProjectsResponseBranchMatcher$.inboundSchema = UpdateProjectProjectsResponseBranchMatcher$inboundSchema;
3529
+ /** @deprecated use `UpdateProjectProjectsResponseBranchMatcher$outboundSchema` instead. */
3530
+ UpdateProjectProjectsResponseBranchMatcher$.outboundSchema = UpdateProjectProjectsResponseBranchMatcher$outboundSchema;
3531
+ })(UpdateProjectProjectsResponseBranchMatcher$ || (UpdateProjectProjectsResponseBranchMatcher$ = {}));
3532
+ export function updateProjectProjectsResponseBranchMatcherToJSON(updateProjectProjectsResponseBranchMatcher) {
3533
+ return JSON.stringify(UpdateProjectProjectsResponseBranchMatcher$outboundSchema.parse(updateProjectProjectsResponseBranchMatcher));
3306
3534
  }
3307
- export function updateProjectProjectsBranchMatcherFromJSON(jsonString) {
3308
- return safeParse(jsonString, (x) => UpdateProjectProjectsBranchMatcher$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateProjectProjectsBranchMatcher' from JSON`);
3535
+ export function updateProjectProjectsResponseBranchMatcherFromJSON(jsonString) {
3536
+ return safeParse(jsonString, (x) => UpdateProjectProjectsResponseBranchMatcher$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateProjectProjectsResponseBranchMatcher' from JSON`);
3309
3537
  }
3310
3538
  /** @internal */
3311
3539
  export const UpdateProjectProjectsBuilds$inboundSchema = z.object({
@@ -3496,20 +3724,20 @@ export var UpdateProjectProjectsReadySubstate$;
3496
3724
  UpdateProjectProjectsReadySubstate$.outboundSchema = UpdateProjectProjectsReadySubstate$outboundSchema;
3497
3725
  })(UpdateProjectProjectsReadySubstate$ || (UpdateProjectProjectsReadySubstate$ = {}));
3498
3726
  /** @internal */
3499
- export const UpdateProjectProjectsResponseType$inboundSchema = z.nativeEnum(UpdateProjectProjectsResponseType);
3727
+ export const UpdateProjectProjectsResponse200Type$inboundSchema = z.nativeEnum(UpdateProjectProjectsResponse200Type);
3500
3728
  /** @internal */
3501
- export const UpdateProjectProjectsResponseType$outboundSchema = UpdateProjectProjectsResponseType$inboundSchema;
3729
+ export const UpdateProjectProjectsResponse200Type$outboundSchema = UpdateProjectProjectsResponse200Type$inboundSchema;
3502
3730
  /**
3503
3731
  * @internal
3504
3732
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3505
3733
  */
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$ = {}));
3734
+ export var UpdateProjectProjectsResponse200Type$;
3735
+ (function (UpdateProjectProjectsResponse200Type$) {
3736
+ /** @deprecated use `UpdateProjectProjectsResponse200Type$inboundSchema` instead. */
3737
+ UpdateProjectProjectsResponse200Type$.inboundSchema = UpdateProjectProjectsResponse200Type$inboundSchema;
3738
+ /** @deprecated use `UpdateProjectProjectsResponse200Type$outboundSchema` instead. */
3739
+ UpdateProjectProjectsResponse200Type$.outboundSchema = UpdateProjectProjectsResponse200Type$outboundSchema;
3740
+ })(UpdateProjectProjectsResponse200Type$ || (UpdateProjectProjectsResponse200Type$ = {}));
3513
3741
  /** @internal */
3514
3742
  export const UpdateProjectTargets$inboundSchema = z.object({
3515
3743
  id: z.string(),
@@ -3518,8 +3746,7 @@ export const UpdateProjectTargets$inboundSchema = z.object({
3518
3746
  aliasError: z.nullable(z.lazy(() => UpdateProjectProjectsAliasError$inboundSchema)).optional(),
3519
3747
  aliasFinal: z.nullable(z.string()).optional(),
3520
3748
  automaticAliases: z.array(z.string()).optional(),
3521
- branchMatcher: z.lazy(() => UpdateProjectProjectsBranchMatcher$inboundSchema)
3522
- .optional(),
3749
+ branchMatcher: z.lazy(() => UpdateProjectProjectsResponseBranchMatcher$inboundSchema).optional(),
3523
3750
  buildingAt: z.number().optional(),
3524
3751
  builds: z.array(z.lazy(() => UpdateProjectProjectsBuilds$inboundSchema))
3525
3752
  .optional(),
@@ -3547,7 +3774,7 @@ export const UpdateProjectTargets$inboundSchema = z.object({
3547
3774
  requestedAt: z.number().optional(),
3548
3775
  target: z.nullable(z.string()).optional(),
3549
3776
  teamId: z.nullable(z.string()).optional(),
3550
- type: UpdateProjectProjectsResponseType$inboundSchema,
3777
+ type: UpdateProjectProjectsResponse200Type$inboundSchema,
3551
3778
  url: z.string(),
3552
3779
  userId: z.string(),
3553
3780
  withCache: z.boolean().optional(),
@@ -3560,8 +3787,7 @@ export const UpdateProjectTargets$outboundSchema = z.object({
3560
3787
  aliasError: z.nullable(z.lazy(() => UpdateProjectProjectsAliasError$outboundSchema)).optional(),
3561
3788
  aliasFinal: z.nullable(z.string()).optional(),
3562
3789
  automaticAliases: z.array(z.string()).optional(),
3563
- branchMatcher: z.lazy(() => UpdateProjectProjectsBranchMatcher$outboundSchema)
3564
- .optional(),
3790
+ branchMatcher: z.lazy(() => UpdateProjectProjectsResponseBranchMatcher$outboundSchema).optional(),
3565
3791
  buildingAt: z.number().optional(),
3566
3792
  builds: z.array(z.lazy(() => UpdateProjectProjectsBuilds$outboundSchema))
3567
3793
  .optional(),
@@ -3589,7 +3815,7 @@ export const UpdateProjectTargets$outboundSchema = z.object({
3589
3815
  requestedAt: z.number().optional(),
3590
3816
  target: z.nullable(z.string()).optional(),
3591
3817
  teamId: z.nullable(z.string()).optional(),
3592
- type: UpdateProjectProjectsResponseType$outboundSchema,
3818
+ type: UpdateProjectProjectsResponse200Type$outboundSchema,
3593
3819
  url: z.string(),
3594
3820
  userId: z.string(),
3595
3821
  withCache: z.boolean().optional(),
@@ -4085,35 +4311,37 @@ export var UpdateProjectJobStatus$;
4085
4311
  UpdateProjectJobStatus$.outboundSchema = UpdateProjectJobStatus$outboundSchema;
4086
4312
  })(UpdateProjectJobStatus$ || (UpdateProjectJobStatus$ = {}));
4087
4313
  /** @internal */
4088
- export const UpdateProjectProjectsResponse200Type$inboundSchema = z.nativeEnum(UpdateProjectProjectsResponse200Type);
4314
+ export const UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema = z.nativeEnum(UpdateProjectProjectsResponse200ApplicationJSONType);
4089
4315
  /** @internal */
4090
- export const UpdateProjectProjectsResponse200Type$outboundSchema = UpdateProjectProjectsResponse200Type$inboundSchema;
4316
+ export const UpdateProjectProjectsResponse200ApplicationJSONType$outboundSchema = UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema;
4091
4317
  /**
4092
4318
  * @internal
4093
4319
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4094
4320
  */
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$ = {}));
4321
+ export var UpdateProjectProjectsResponse200ApplicationJSONType$;
4322
+ (function (UpdateProjectProjectsResponse200ApplicationJSONType$) {
4323
+ /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema` instead. */
4324
+ UpdateProjectProjectsResponse200ApplicationJSONType$.inboundSchema = UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema;
4325
+ /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONType$outboundSchema` instead. */
4326
+ UpdateProjectProjectsResponse200ApplicationJSONType$.outboundSchema = UpdateProjectProjectsResponse200ApplicationJSONType$outboundSchema;
4327
+ })(UpdateProjectProjectsResponse200ApplicationJSONType$ || (UpdateProjectProjectsResponse200ApplicationJSONType$ = {}));
4102
4328
  /** @internal */
4103
4329
  export const UpdateProjectLastAliasRequest$inboundSchema = z.object({
4104
4330
  fromDeploymentId: z.string(),
4105
4331
  toDeploymentId: z.string(),
4332
+ fromRollingReleaseId: z.string().optional(),
4106
4333
  jobStatus: UpdateProjectJobStatus$inboundSchema,
4107
4334
  requestedAt: z.number(),
4108
- type: UpdateProjectProjectsResponse200Type$inboundSchema,
4335
+ type: UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema,
4109
4336
  });
4110
4337
  /** @internal */
4111
4338
  export const UpdateProjectLastAliasRequest$outboundSchema = z.object({
4112
4339
  fromDeploymentId: z.string(),
4113
4340
  toDeploymentId: z.string(),
4341
+ fromRollingReleaseId: z.string().optional(),
4114
4342
  jobStatus: UpdateProjectJobStatus$outboundSchema,
4115
4343
  requestedAt: z.number(),
4116
- type: UpdateProjectProjectsResponse200Type$outboundSchema,
4344
+ type: UpdateProjectProjectsResponse200ApplicationJSONType$outboundSchema,
4117
4345
  });
4118
4346
  /**
4119
4347
  * @internal