@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
@@ -15,7 +15,7 @@ export const UpdateProjectDataCacheTarget1 = {
15
15
  Preview: "preview",
16
16
  Development: "development",
17
17
  };
18
- export const UpdateProjectDataCacheProjectsResponse200Type = {
18
+ export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONType = {
19
19
  Secret: "secret",
20
20
  System: "system",
21
21
  Encrypted: "encrypted",
@@ -67,9 +67,25 @@ export const UpdateProjectDataCacheContentHintType = {
67
67
  export const ContentHintType = {
68
68
  RedisUrl: "redis-url",
69
69
  };
70
- export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType = {
70
+ export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType = {
71
71
  FlagsSecret: "flags-secret",
72
72
  };
73
+ /**
74
+ * The type of environment (production, preview, or development)
75
+ */
76
+ export const UpdateProjectDataCacheType = {
77
+ Production: "production",
78
+ Preview: "preview",
79
+ Development: "development",
80
+ };
81
+ /**
82
+ * The type of matching to perform
83
+ */
84
+ export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType = {
85
+ EndsWith: "endsWith",
86
+ StartsWith: "startsWith",
87
+ Equals: "equals",
88
+ };
73
89
  export const UpdateProjectDataCacheFramework = {
74
90
  Blitzjs: "blitzjs",
75
91
  Nextjs: "nextjs",
@@ -121,7 +137,7 @@ export const UpdateProjectDataCacheFramework = {
121
137
  /**
122
138
  * The type of matching to perform
123
139
  */
124
- export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONType = {
140
+ export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType = {
125
141
  EndsWith: "endsWith",
126
142
  StartsWith: "startsWith",
127
143
  Equals: "equals",
@@ -155,7 +171,7 @@ export const UpdateProjectDataCacheProjectsReadySubstate = {
155
171
  Rolling: "ROLLING",
156
172
  Promoted: "PROMOTED",
157
173
  };
158
- export const UpdateProjectDataCacheType = {
174
+ export const UpdateProjectDataCacheProjectsType = {
159
175
  Lambdas: "LAMBDAS",
160
176
  };
161
177
  export const UpdateProjectDataCacheLinkProjectsResponseType = {
@@ -197,14 +213,14 @@ export const UpdateProjectDataCacheBuildMachineType = {
197
213
  Enhanced: "enhanced",
198
214
  };
199
215
  export const UpdateProjectDataCacheDeploymentType = {
200
- All: "all",
201
216
  Preview: "preview",
217
+ All: "all",
202
218
  ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
203
219
  };
204
220
  /**
205
221
  * The type of matching to perform
206
222
  */
207
- export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType = {
223
+ export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType = {
208
224
  EndsWith: "endsWith",
209
225
  StartsWith: "startsWith",
210
226
  Equals: "equals",
@@ -238,7 +254,7 @@ export const UpdateProjectDataCacheReadySubstate = {
238
254
  Rolling: "ROLLING",
239
255
  Promoted: "PROMOTED",
240
256
  };
241
- export const UpdateProjectDataCacheProjectsType = {
257
+ export const UpdateProjectDataCacheProjectsResponseType = {
242
258
  Lambdas: "LAMBDAS",
243
259
  };
244
260
  export const JobStatus = {
@@ -248,24 +264,24 @@ export const JobStatus = {
248
264
  Pending: "pending",
249
265
  InProgress: "in-progress",
250
266
  };
251
- export const UpdateProjectDataCacheProjectsResponseType = {
267
+ export const UpdateProjectDataCacheProjectsResponse200Type = {
252
268
  Promote: "promote",
253
269
  Rollback: "rollback",
254
270
  };
255
- export const Scope = {
271
+ export const UpdateProjectDataCacheScope = {
256
272
  AutomationBypass: "automation-bypass",
257
273
  };
258
274
  export const UpdateProjectDataCacheTrustedIpsDeploymentType = {
259
- All: "all",
275
+ Production: "production",
260
276
  Preview: "preview",
277
+ All: "all",
261
278
  ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
262
- Production: "production",
263
279
  };
264
280
  export const TrustedIpsDeploymentType = {
265
- All: "all",
281
+ Production: "production",
266
282
  Preview: "preview",
283
+ All: "all",
267
284
  ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
268
- Production: "production",
269
285
  };
270
286
  export const UpdateProjectDataCacheTrustedIpsProtectionMode = {
271
287
  Additional: "additional",
@@ -658,21 +674,20 @@ export function updateProjectDataCacheTargetFromJSON(jsonString) {
658
674
  return safeParse(jsonString, (x) => UpdateProjectDataCacheTarget$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateProjectDataCacheTarget' from JSON`);
659
675
  }
660
676
  /** @internal */
661
- export const UpdateProjectDataCacheProjectsResponse200Type$inboundSchema = z
662
- .nativeEnum(UpdateProjectDataCacheProjectsResponse200Type);
677
+ export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$inboundSchema = z.nativeEnum(UpdateProjectDataCacheProjectsResponse200ApplicationJSONType);
663
678
  /** @internal */
664
- export const UpdateProjectDataCacheProjectsResponse200Type$outboundSchema = UpdateProjectDataCacheProjectsResponse200Type$inboundSchema;
679
+ export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$outboundSchema = UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$inboundSchema;
665
680
  /**
666
681
  * @internal
667
682
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
668
683
  */
669
- export var UpdateProjectDataCacheProjectsResponse200Type$;
670
- (function (UpdateProjectDataCacheProjectsResponse200Type$) {
671
- /** @deprecated use `UpdateProjectDataCacheProjectsResponse200Type$inboundSchema` instead. */
672
- UpdateProjectDataCacheProjectsResponse200Type$.inboundSchema = UpdateProjectDataCacheProjectsResponse200Type$inboundSchema;
673
- /** @deprecated use `UpdateProjectDataCacheProjectsResponse200Type$outboundSchema` instead. */
674
- UpdateProjectDataCacheProjectsResponse200Type$.outboundSchema = UpdateProjectDataCacheProjectsResponse200Type$outboundSchema;
675
- })(UpdateProjectDataCacheProjectsResponse200Type$ || (UpdateProjectDataCacheProjectsResponse200Type$ = {}));
684
+ export var UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$;
685
+ (function (UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$) {
686
+ /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$inboundSchema` instead. */
687
+ UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$.inboundSchema = UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$inboundSchema;
688
+ /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$outboundSchema` instead. */
689
+ UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$.outboundSchema = UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$outboundSchema;
690
+ })(UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$ || (UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$ = {}));
676
691
  /** @internal */
677
692
  export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$inboundSchema = z.nativeEnum(UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type);
678
693
  /** @internal */
@@ -1364,28 +1379,28 @@ export function contentHintFromJSON(jsonString) {
1364
1379
  return safeParse(jsonString, (x) => ContentHint$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ContentHint' from JSON`);
1365
1380
  }
1366
1381
  /** @internal */
1367
- export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema = z.nativeEnum(UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType);
1382
+ export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema = z.nativeEnum(UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType);
1368
1383
  /** @internal */
1369
- export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema = UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema;
1384
+ export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema = UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema;
1370
1385
  /**
1371
1386
  * @internal
1372
1387
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1373
1388
  */
1374
- export var UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$;
1375
- (function (UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$) {
1376
- /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */
1377
- UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$.inboundSchema = UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema;
1378
- /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */
1379
- UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$.outboundSchema = UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema;
1380
- })(UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$ || (UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$ = {}));
1389
+ export var UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType$;
1390
+ (function (UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType$) {
1391
+ /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema` instead. */
1392
+ UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType$.inboundSchema = UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema;
1393
+ /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema` instead. */
1394
+ UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType$.outboundSchema = UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema;
1395
+ })(UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType$ || (UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType$ = {}));
1381
1396
  /** @internal */
1382
1397
  export const InternalContentHint$inboundSchema = z.object({
1383
- type: UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema,
1398
+ type: UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema,
1384
1399
  encryptedValue: z.string(),
1385
1400
  });
1386
1401
  /** @internal */
1387
1402
  export const InternalContentHint$outboundSchema = z.object({
1388
- type: UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema,
1403
+ type: UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema,
1389
1404
  encryptedValue: z.string(),
1390
1405
  });
1391
1406
  /**
@@ -1412,7 +1427,7 @@ export const Env$inboundSchema = z
1412
1427
  z.array(UpdateProjectDataCacheTarget1$inboundSchema),
1413
1428
  UpdateProjectDataCacheTarget2$inboundSchema,
1414
1429
  ]).optional(),
1415
- type: UpdateProjectDataCacheProjectsResponse200Type$inboundSchema,
1430
+ type: UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$inboundSchema,
1416
1431
  sunsetSecretId: z.string().optional(),
1417
1432
  decrypted: z.boolean().optional(),
1418
1433
  value: z.string(),
@@ -1455,7 +1470,7 @@ export const Env$outboundSchema = z
1455
1470
  z.array(UpdateProjectDataCacheTarget1$outboundSchema),
1456
1471
  UpdateProjectDataCacheTarget2$outboundSchema,
1457
1472
  ]).optional(),
1458
- type: UpdateProjectDataCacheProjectsResponse200Type$outboundSchema,
1473
+ type: UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$outboundSchema,
1459
1474
  sunsetSecretId: z.string().optional(),
1460
1475
  decrypted: z.boolean().optional(),
1461
1476
  value: z.string(),
@@ -1509,9 +1524,164 @@ export function envFromJSON(jsonString) {
1509
1524
  return safeParse(jsonString, (x) => Env$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Env' from JSON`);
1510
1525
  }
1511
1526
  /** @internal */
1512
- export const CustomEnvironments$inboundSchema = z.object({});
1527
+ export const UpdateProjectDataCacheType$inboundSchema = z.nativeEnum(UpdateProjectDataCacheType);
1513
1528
  /** @internal */
1514
- export const CustomEnvironments$outboundSchema = z.object({});
1529
+ export const UpdateProjectDataCacheType$outboundSchema = UpdateProjectDataCacheType$inboundSchema;
1530
+ /**
1531
+ * @internal
1532
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1533
+ */
1534
+ export var UpdateProjectDataCacheType$;
1535
+ (function (UpdateProjectDataCacheType$) {
1536
+ /** @deprecated use `UpdateProjectDataCacheType$inboundSchema` instead. */
1537
+ UpdateProjectDataCacheType$.inboundSchema = UpdateProjectDataCacheType$inboundSchema;
1538
+ /** @deprecated use `UpdateProjectDataCacheType$outboundSchema` instead. */
1539
+ UpdateProjectDataCacheType$.outboundSchema = UpdateProjectDataCacheType$outboundSchema;
1540
+ })(UpdateProjectDataCacheType$ || (UpdateProjectDataCacheType$ = {}));
1541
+ /** @internal */
1542
+ export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema = z.nativeEnum(UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType);
1543
+ /** @internal */
1544
+ export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema = UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema;
1545
+ /**
1546
+ * @internal
1547
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1548
+ */
1549
+ export var UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$;
1550
+ (function (UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$) {
1551
+ /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema` instead. */
1552
+ UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$.inboundSchema = UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema;
1553
+ /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema` instead. */
1554
+ UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$.outboundSchema = UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema;
1555
+ })(UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$ || (UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$ = {}));
1556
+ /** @internal */
1557
+ export const UpdateProjectDataCacheProjectsResponseBranchMatcher$inboundSchema = z.object({
1558
+ type: UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema,
1559
+ pattern: z.string(),
1560
+ });
1561
+ /** @internal */
1562
+ export const UpdateProjectDataCacheProjectsResponseBranchMatcher$outboundSchema = z.object({
1563
+ type: UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema,
1564
+ pattern: z.string(),
1565
+ });
1566
+ /**
1567
+ * @internal
1568
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1569
+ */
1570
+ export var UpdateProjectDataCacheProjectsResponseBranchMatcher$;
1571
+ (function (UpdateProjectDataCacheProjectsResponseBranchMatcher$) {
1572
+ /** @deprecated use `UpdateProjectDataCacheProjectsResponseBranchMatcher$inboundSchema` instead. */
1573
+ UpdateProjectDataCacheProjectsResponseBranchMatcher$.inboundSchema = UpdateProjectDataCacheProjectsResponseBranchMatcher$inboundSchema;
1574
+ /** @deprecated use `UpdateProjectDataCacheProjectsResponseBranchMatcher$outboundSchema` instead. */
1575
+ UpdateProjectDataCacheProjectsResponseBranchMatcher$.outboundSchema = UpdateProjectDataCacheProjectsResponseBranchMatcher$outboundSchema;
1576
+ })(UpdateProjectDataCacheProjectsResponseBranchMatcher$ || (UpdateProjectDataCacheProjectsResponseBranchMatcher$ = {}));
1577
+ export function updateProjectDataCacheProjectsResponseBranchMatcherToJSON(updateProjectDataCacheProjectsResponseBranchMatcher) {
1578
+ return JSON.stringify(UpdateProjectDataCacheProjectsResponseBranchMatcher$outboundSchema.parse(updateProjectDataCacheProjectsResponseBranchMatcher));
1579
+ }
1580
+ export function updateProjectDataCacheProjectsResponseBranchMatcherFromJSON(jsonString) {
1581
+ return safeParse(jsonString, (x) => UpdateProjectDataCacheProjectsResponseBranchMatcher$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateProjectDataCacheProjectsResponseBranchMatcher' from JSON`);
1582
+ }
1583
+ /** @internal */
1584
+ export const UpdateProjectDataCacheVerification$inboundSchema = z.object({
1585
+ type: z.string(),
1586
+ domain: z.string(),
1587
+ value: z.string(),
1588
+ reason: z.string(),
1589
+ });
1590
+ /** @internal */
1591
+ export const UpdateProjectDataCacheVerification$outboundSchema = z.object({
1592
+ type: z.string(),
1593
+ domain: z.string(),
1594
+ value: z.string(),
1595
+ reason: z.string(),
1596
+ });
1597
+ /**
1598
+ * @internal
1599
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1600
+ */
1601
+ export var UpdateProjectDataCacheVerification$;
1602
+ (function (UpdateProjectDataCacheVerification$) {
1603
+ /** @deprecated use `UpdateProjectDataCacheVerification$inboundSchema` instead. */
1604
+ UpdateProjectDataCacheVerification$.inboundSchema = UpdateProjectDataCacheVerification$inboundSchema;
1605
+ /** @deprecated use `UpdateProjectDataCacheVerification$outboundSchema` instead. */
1606
+ UpdateProjectDataCacheVerification$.outboundSchema = UpdateProjectDataCacheVerification$outboundSchema;
1607
+ })(UpdateProjectDataCacheVerification$ || (UpdateProjectDataCacheVerification$ = {}));
1608
+ export function updateProjectDataCacheVerificationToJSON(updateProjectDataCacheVerification) {
1609
+ return JSON.stringify(UpdateProjectDataCacheVerification$outboundSchema.parse(updateProjectDataCacheVerification));
1610
+ }
1611
+ export function updateProjectDataCacheVerificationFromJSON(jsonString) {
1612
+ return safeParse(jsonString, (x) => UpdateProjectDataCacheVerification$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateProjectDataCacheVerification' from JSON`);
1613
+ }
1614
+ /** @internal */
1615
+ export const UpdateProjectDataCacheDomains$inboundSchema = z.object({
1616
+ name: z.string(),
1617
+ apexName: z.string(),
1618
+ projectId: z.string(),
1619
+ redirect: z.nullable(z.string()).optional(),
1620
+ redirectStatusCode: z.nullable(z.number()).optional(),
1621
+ gitBranch: z.nullable(z.string()).optional(),
1622
+ customEnvironmentId: z.nullable(z.string()).optional(),
1623
+ updatedAt: z.number().optional(),
1624
+ createdAt: z.number().optional(),
1625
+ verified: z.boolean(),
1626
+ verification: z.array(z.lazy(() => UpdateProjectDataCacheVerification$inboundSchema)).optional(),
1627
+ });
1628
+ /** @internal */
1629
+ export const UpdateProjectDataCacheDomains$outboundSchema = z.object({
1630
+ name: z.string(),
1631
+ apexName: z.string(),
1632
+ projectId: z.string(),
1633
+ redirect: z.nullable(z.string()).optional(),
1634
+ redirectStatusCode: z.nullable(z.number()).optional(),
1635
+ gitBranch: z.nullable(z.string()).optional(),
1636
+ customEnvironmentId: z.nullable(z.string()).optional(),
1637
+ updatedAt: z.number().optional(),
1638
+ createdAt: z.number().optional(),
1639
+ verified: z.boolean(),
1640
+ verification: z.array(z.lazy(() => UpdateProjectDataCacheVerification$outboundSchema)).optional(),
1641
+ });
1642
+ /**
1643
+ * @internal
1644
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1645
+ */
1646
+ export var UpdateProjectDataCacheDomains$;
1647
+ (function (UpdateProjectDataCacheDomains$) {
1648
+ /** @deprecated use `UpdateProjectDataCacheDomains$inboundSchema` instead. */
1649
+ UpdateProjectDataCacheDomains$.inboundSchema = UpdateProjectDataCacheDomains$inboundSchema;
1650
+ /** @deprecated use `UpdateProjectDataCacheDomains$outboundSchema` instead. */
1651
+ UpdateProjectDataCacheDomains$.outboundSchema = UpdateProjectDataCacheDomains$outboundSchema;
1652
+ })(UpdateProjectDataCacheDomains$ || (UpdateProjectDataCacheDomains$ = {}));
1653
+ export function updateProjectDataCacheDomainsToJSON(updateProjectDataCacheDomains) {
1654
+ return JSON.stringify(UpdateProjectDataCacheDomains$outboundSchema.parse(updateProjectDataCacheDomains));
1655
+ }
1656
+ export function updateProjectDataCacheDomainsFromJSON(jsonString) {
1657
+ return safeParse(jsonString, (x) => UpdateProjectDataCacheDomains$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateProjectDataCacheDomains' from JSON`);
1658
+ }
1659
+ /** @internal */
1660
+ export const CustomEnvironments$inboundSchema = z.object({
1661
+ id: z.string(),
1662
+ slug: z.string(),
1663
+ type: UpdateProjectDataCacheType$inboundSchema,
1664
+ description: z.string().optional(),
1665
+ branchMatcher: z.lazy(() => UpdateProjectDataCacheProjectsResponseBranchMatcher$inboundSchema).optional(),
1666
+ domains: z.array(z.lazy(() => UpdateProjectDataCacheDomains$inboundSchema))
1667
+ .optional(),
1668
+ currentDeploymentAliases: z.array(z.string()).optional(),
1669
+ createdAt: z.number(),
1670
+ updatedAt: z.number(),
1671
+ });
1672
+ /** @internal */
1673
+ export const CustomEnvironments$outboundSchema = z.object({
1674
+ id: z.string(),
1675
+ slug: z.string(),
1676
+ type: UpdateProjectDataCacheType$outboundSchema,
1677
+ description: z.string().optional(),
1678
+ branchMatcher: z.lazy(() => UpdateProjectDataCacheProjectsResponseBranchMatcher$outboundSchema).optional(),
1679
+ domains: z.array(z.lazy(() => UpdateProjectDataCacheDomains$outboundSchema))
1680
+ .optional(),
1681
+ currentDeploymentAliases: z.array(z.string()).optional(),
1682
+ createdAt: z.number(),
1683
+ updatedAt: z.number(),
1684
+ });
1515
1685
  /**
1516
1686
  * @internal
1517
1687
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
@@ -1620,46 +1790,46 @@ export function updateProjectDataCacheProjectsAliasErrorFromJSON(jsonString) {
1620
1790
  return safeParse(jsonString, (x) => UpdateProjectDataCacheProjectsAliasError$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateProjectDataCacheProjectsAliasError' from JSON`);
1621
1791
  }
1622
1792
  /** @internal */
1623
- export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$inboundSchema = z.nativeEnum(UpdateProjectDataCacheProjectsResponse200ApplicationJSONType);
1793
+ export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema = z.nativeEnum(UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType);
1624
1794
  /** @internal */
1625
- export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$outboundSchema = UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$inboundSchema;
1795
+ export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$outboundSchema = UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema;
1626
1796
  /**
1627
1797
  * @internal
1628
1798
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1629
1799
  */
1630
- export var UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$;
1631
- (function (UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$) {
1632
- /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$inboundSchema` instead. */
1633
- UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$.inboundSchema = UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$inboundSchema;
1634
- /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$outboundSchema` instead. */
1635
- UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$.outboundSchema = UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$outboundSchema;
1636
- })(UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$ || (UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$ = {}));
1800
+ export var UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$;
1801
+ (function (UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$) {
1802
+ /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema` instead. */
1803
+ UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$.inboundSchema = UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema;
1804
+ /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$outboundSchema` instead. */
1805
+ UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$.outboundSchema = UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$outboundSchema;
1806
+ })(UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$ || (UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$ = {}));
1637
1807
  /** @internal */
1638
- export const UpdateProjectDataCacheProjectsBranchMatcher$inboundSchema = z.object({
1639
- type: UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$inboundSchema,
1808
+ export const UpdateProjectDataCacheBranchMatcher$inboundSchema = z.object({
1809
+ type: UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema,
1640
1810
  pattern: z.string(),
1641
1811
  });
1642
1812
  /** @internal */
1643
- export const UpdateProjectDataCacheProjectsBranchMatcher$outboundSchema = z.object({
1644
- type: UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$outboundSchema,
1813
+ export const UpdateProjectDataCacheBranchMatcher$outboundSchema = z.object({
1814
+ type: UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$outboundSchema,
1645
1815
  pattern: z.string(),
1646
1816
  });
1647
1817
  /**
1648
1818
  * @internal
1649
1819
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1650
1820
  */
1651
- export var UpdateProjectDataCacheProjectsBranchMatcher$;
1652
- (function (UpdateProjectDataCacheProjectsBranchMatcher$) {
1653
- /** @deprecated use `UpdateProjectDataCacheProjectsBranchMatcher$inboundSchema` instead. */
1654
- UpdateProjectDataCacheProjectsBranchMatcher$.inboundSchema = UpdateProjectDataCacheProjectsBranchMatcher$inboundSchema;
1655
- /** @deprecated use `UpdateProjectDataCacheProjectsBranchMatcher$outboundSchema` instead. */
1656
- UpdateProjectDataCacheProjectsBranchMatcher$.outboundSchema = UpdateProjectDataCacheProjectsBranchMatcher$outboundSchema;
1657
- })(UpdateProjectDataCacheProjectsBranchMatcher$ || (UpdateProjectDataCacheProjectsBranchMatcher$ = {}));
1658
- export function updateProjectDataCacheProjectsBranchMatcherToJSON(updateProjectDataCacheProjectsBranchMatcher) {
1659
- return JSON.stringify(UpdateProjectDataCacheProjectsBranchMatcher$outboundSchema.parse(updateProjectDataCacheProjectsBranchMatcher));
1821
+ export var UpdateProjectDataCacheBranchMatcher$;
1822
+ (function (UpdateProjectDataCacheBranchMatcher$) {
1823
+ /** @deprecated use `UpdateProjectDataCacheBranchMatcher$inboundSchema` instead. */
1824
+ UpdateProjectDataCacheBranchMatcher$.inboundSchema = UpdateProjectDataCacheBranchMatcher$inboundSchema;
1825
+ /** @deprecated use `UpdateProjectDataCacheBranchMatcher$outboundSchema` instead. */
1826
+ UpdateProjectDataCacheBranchMatcher$.outboundSchema = UpdateProjectDataCacheBranchMatcher$outboundSchema;
1827
+ })(UpdateProjectDataCacheBranchMatcher$ || (UpdateProjectDataCacheBranchMatcher$ = {}));
1828
+ export function updateProjectDataCacheBranchMatcherToJSON(updateProjectDataCacheBranchMatcher) {
1829
+ return JSON.stringify(UpdateProjectDataCacheBranchMatcher$outboundSchema.parse(updateProjectDataCacheBranchMatcher));
1660
1830
  }
1661
- export function updateProjectDataCacheProjectsBranchMatcherFromJSON(jsonString) {
1662
- return safeParse(jsonString, (x) => UpdateProjectDataCacheProjectsBranchMatcher$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateProjectDataCacheProjectsBranchMatcher' from JSON`);
1831
+ export function updateProjectDataCacheBranchMatcherFromJSON(jsonString) {
1832
+ return safeParse(jsonString, (x) => UpdateProjectDataCacheBranchMatcher$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateProjectDataCacheBranchMatcher' from JSON`);
1663
1833
  }
1664
1834
  /** @internal */
1665
1835
  export const UpdateProjectDataCacheProjectsBuilds$inboundSchema = z.object({
@@ -1854,20 +2024,20 @@ export var UpdateProjectDataCacheProjectsReadySubstate$;
1854
2024
  UpdateProjectDataCacheProjectsReadySubstate$.outboundSchema = UpdateProjectDataCacheProjectsReadySubstate$outboundSchema;
1855
2025
  })(UpdateProjectDataCacheProjectsReadySubstate$ || (UpdateProjectDataCacheProjectsReadySubstate$ = {}));
1856
2026
  /** @internal */
1857
- export const UpdateProjectDataCacheType$inboundSchema = z.nativeEnum(UpdateProjectDataCacheType);
2027
+ export const UpdateProjectDataCacheProjectsType$inboundSchema = z.nativeEnum(UpdateProjectDataCacheProjectsType);
1858
2028
  /** @internal */
1859
- export const UpdateProjectDataCacheType$outboundSchema = UpdateProjectDataCacheType$inboundSchema;
2029
+ export const UpdateProjectDataCacheProjectsType$outboundSchema = UpdateProjectDataCacheProjectsType$inboundSchema;
1860
2030
  /**
1861
2031
  * @internal
1862
2032
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1863
2033
  */
1864
- export var UpdateProjectDataCacheType$;
1865
- (function (UpdateProjectDataCacheType$) {
1866
- /** @deprecated use `UpdateProjectDataCacheType$inboundSchema` instead. */
1867
- UpdateProjectDataCacheType$.inboundSchema = UpdateProjectDataCacheType$inboundSchema;
1868
- /** @deprecated use `UpdateProjectDataCacheType$outboundSchema` instead. */
1869
- UpdateProjectDataCacheType$.outboundSchema = UpdateProjectDataCacheType$outboundSchema;
1870
- })(UpdateProjectDataCacheType$ || (UpdateProjectDataCacheType$ = {}));
2034
+ export var UpdateProjectDataCacheProjectsType$;
2035
+ (function (UpdateProjectDataCacheProjectsType$) {
2036
+ /** @deprecated use `UpdateProjectDataCacheProjectsType$inboundSchema` instead. */
2037
+ UpdateProjectDataCacheProjectsType$.inboundSchema = UpdateProjectDataCacheProjectsType$inboundSchema;
2038
+ /** @deprecated use `UpdateProjectDataCacheProjectsType$outboundSchema` instead. */
2039
+ UpdateProjectDataCacheProjectsType$.outboundSchema = UpdateProjectDataCacheProjectsType$outboundSchema;
2040
+ })(UpdateProjectDataCacheProjectsType$ || (UpdateProjectDataCacheProjectsType$ = {}));
1871
2041
  /** @internal */
1872
2042
  export const LatestDeployments$inboundSchema = z.object({
1873
2043
  id: z.string(),
@@ -1876,7 +2046,8 @@ export const LatestDeployments$inboundSchema = z.object({
1876
2046
  aliasError: z.nullable(z.lazy(() => UpdateProjectDataCacheProjectsAliasError$inboundSchema)).optional(),
1877
2047
  aliasFinal: z.nullable(z.string()).optional(),
1878
2048
  automaticAliases: z.array(z.string()).optional(),
1879
- branchMatcher: z.lazy(() => UpdateProjectDataCacheProjectsBranchMatcher$inboundSchema).optional(),
2049
+ branchMatcher: z.lazy(() => UpdateProjectDataCacheBranchMatcher$inboundSchema)
2050
+ .optional(),
1880
2051
  buildingAt: z.number().optional(),
1881
2052
  builds: z.array(z.lazy(() => UpdateProjectDataCacheProjectsBuilds$inboundSchema)).optional(),
1882
2053
  checksConclusion: UpdateProjectDataCacheProjectsChecksConclusion$inboundSchema
@@ -1905,7 +2076,7 @@ export const LatestDeployments$inboundSchema = z.object({
1905
2076
  requestedAt: z.number().optional(),
1906
2077
  target: z.nullable(z.string()).optional(),
1907
2078
  teamId: z.nullable(z.string()).optional(),
1908
- type: UpdateProjectDataCacheType$inboundSchema,
2079
+ type: UpdateProjectDataCacheProjectsType$inboundSchema,
1909
2080
  url: z.string(),
1910
2081
  userId: z.string(),
1911
2082
  withCache: z.boolean().optional(),
@@ -1918,7 +2089,7 @@ export const LatestDeployments$outboundSchema = z.object({
1918
2089
  aliasError: z.nullable(z.lazy(() => UpdateProjectDataCacheProjectsAliasError$outboundSchema)).optional(),
1919
2090
  aliasFinal: z.nullable(z.string()).optional(),
1920
2091
  automaticAliases: z.array(z.string()).optional(),
1921
- branchMatcher: z.lazy(() => UpdateProjectDataCacheProjectsBranchMatcher$outboundSchema).optional(),
2092
+ branchMatcher: z.lazy(() => UpdateProjectDataCacheBranchMatcher$outboundSchema).optional(),
1922
2093
  buildingAt: z.number().optional(),
1923
2094
  builds: z.array(z.lazy(() => UpdateProjectDataCacheProjectsBuilds$outboundSchema)).optional(),
1924
2095
  checksConclusion: UpdateProjectDataCacheProjectsChecksConclusion$outboundSchema.optional(),
@@ -1946,7 +2117,7 @@ export const LatestDeployments$outboundSchema = z.object({
1946
2117
  requestedAt: z.number().optional(),
1947
2118
  target: z.nullable(z.string()).optional(),
1948
2119
  teamId: z.nullable(z.string()).optional(),
1949
- type: UpdateProjectDataCacheType$outboundSchema,
2120
+ type: UpdateProjectDataCacheProjectsType$outboundSchema,
1950
2121
  url: z.string(),
1951
2122
  userId: z.string(),
1952
2123
  withCache: z.boolean().optional(),
@@ -2853,46 +3024,46 @@ export function updateProjectDataCacheAliasErrorFromJSON(jsonString) {
2853
3024
  return safeParse(jsonString, (x) => UpdateProjectDataCacheAliasError$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateProjectDataCacheAliasError' from JSON`);
2854
3025
  }
2855
3026
  /** @internal */
2856
- export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema = z.nativeEnum(UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType);
3027
+ export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema = z.nativeEnum(UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType);
2857
3028
  /** @internal */
2858
- export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema = UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema;
3029
+ export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema = UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema;
2859
3030
  /**
2860
3031
  * @internal
2861
3032
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2862
3033
  */
2863
- export var UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType$;
2864
- (function (UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType$) {
2865
- /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema` instead. */
2866
- UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType$.inboundSchema = UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema;
2867
- /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema` instead. */
2868
- UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType$.outboundSchema = UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema;
2869
- })(UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType$ || (UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType$ = {}));
3034
+ export var UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$;
3035
+ (function (UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$) {
3036
+ /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */
3037
+ UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$.inboundSchema = UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema;
3038
+ /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */
3039
+ UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$.outboundSchema = UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema;
3040
+ })(UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$ || (UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$ = {}));
2870
3041
  /** @internal */
2871
- export const UpdateProjectDataCacheBranchMatcher$inboundSchema = z.object({
2872
- type: UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema,
3042
+ export const UpdateProjectDataCacheProjectsBranchMatcher$inboundSchema = z.object({
3043
+ type: UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema,
2873
3044
  pattern: z.string(),
2874
3045
  });
2875
3046
  /** @internal */
2876
- export const UpdateProjectDataCacheBranchMatcher$outboundSchema = z.object({
2877
- type: UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema,
3047
+ export const UpdateProjectDataCacheProjectsBranchMatcher$outboundSchema = z.object({
3048
+ type: UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema,
2878
3049
  pattern: z.string(),
2879
3050
  });
2880
3051
  /**
2881
3052
  * @internal
2882
3053
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2883
3054
  */
2884
- export var UpdateProjectDataCacheBranchMatcher$;
2885
- (function (UpdateProjectDataCacheBranchMatcher$) {
2886
- /** @deprecated use `UpdateProjectDataCacheBranchMatcher$inboundSchema` instead. */
2887
- UpdateProjectDataCacheBranchMatcher$.inboundSchema = UpdateProjectDataCacheBranchMatcher$inboundSchema;
2888
- /** @deprecated use `UpdateProjectDataCacheBranchMatcher$outboundSchema` instead. */
2889
- UpdateProjectDataCacheBranchMatcher$.outboundSchema = UpdateProjectDataCacheBranchMatcher$outboundSchema;
2890
- })(UpdateProjectDataCacheBranchMatcher$ || (UpdateProjectDataCacheBranchMatcher$ = {}));
2891
- export function updateProjectDataCacheBranchMatcherToJSON(updateProjectDataCacheBranchMatcher) {
2892
- return JSON.stringify(UpdateProjectDataCacheBranchMatcher$outboundSchema.parse(updateProjectDataCacheBranchMatcher));
3055
+ export var UpdateProjectDataCacheProjectsBranchMatcher$;
3056
+ (function (UpdateProjectDataCacheProjectsBranchMatcher$) {
3057
+ /** @deprecated use `UpdateProjectDataCacheProjectsBranchMatcher$inboundSchema` instead. */
3058
+ UpdateProjectDataCacheProjectsBranchMatcher$.inboundSchema = UpdateProjectDataCacheProjectsBranchMatcher$inboundSchema;
3059
+ /** @deprecated use `UpdateProjectDataCacheProjectsBranchMatcher$outboundSchema` instead. */
3060
+ UpdateProjectDataCacheProjectsBranchMatcher$.outboundSchema = UpdateProjectDataCacheProjectsBranchMatcher$outboundSchema;
3061
+ })(UpdateProjectDataCacheProjectsBranchMatcher$ || (UpdateProjectDataCacheProjectsBranchMatcher$ = {}));
3062
+ export function updateProjectDataCacheProjectsBranchMatcherToJSON(updateProjectDataCacheProjectsBranchMatcher) {
3063
+ return JSON.stringify(UpdateProjectDataCacheProjectsBranchMatcher$outboundSchema.parse(updateProjectDataCacheProjectsBranchMatcher));
2893
3064
  }
2894
- export function updateProjectDataCacheBranchMatcherFromJSON(jsonString) {
2895
- return safeParse(jsonString, (x) => UpdateProjectDataCacheBranchMatcher$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateProjectDataCacheBranchMatcher' from JSON`);
3065
+ export function updateProjectDataCacheProjectsBranchMatcherFromJSON(jsonString) {
3066
+ return safeParse(jsonString, (x) => UpdateProjectDataCacheProjectsBranchMatcher$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateProjectDataCacheProjectsBranchMatcher' from JSON`);
2896
3067
  }
2897
3068
  /** @internal */
2898
3069
  export const UpdateProjectDataCacheBuilds$inboundSchema = z.object({
@@ -3083,20 +3254,21 @@ export var UpdateProjectDataCacheReadySubstate$;
3083
3254
  UpdateProjectDataCacheReadySubstate$.outboundSchema = UpdateProjectDataCacheReadySubstate$outboundSchema;
3084
3255
  })(UpdateProjectDataCacheReadySubstate$ || (UpdateProjectDataCacheReadySubstate$ = {}));
3085
3256
  /** @internal */
3086
- export const UpdateProjectDataCacheProjectsType$inboundSchema = z.nativeEnum(UpdateProjectDataCacheProjectsType);
3257
+ export const UpdateProjectDataCacheProjectsResponseType$inboundSchema = z
3258
+ .nativeEnum(UpdateProjectDataCacheProjectsResponseType);
3087
3259
  /** @internal */
3088
- export const UpdateProjectDataCacheProjectsType$outboundSchema = UpdateProjectDataCacheProjectsType$inboundSchema;
3260
+ export const UpdateProjectDataCacheProjectsResponseType$outboundSchema = UpdateProjectDataCacheProjectsResponseType$inboundSchema;
3089
3261
  /**
3090
3262
  * @internal
3091
3263
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3092
3264
  */
3093
- export var UpdateProjectDataCacheProjectsType$;
3094
- (function (UpdateProjectDataCacheProjectsType$) {
3095
- /** @deprecated use `UpdateProjectDataCacheProjectsType$inboundSchema` instead. */
3096
- UpdateProjectDataCacheProjectsType$.inboundSchema = UpdateProjectDataCacheProjectsType$inboundSchema;
3097
- /** @deprecated use `UpdateProjectDataCacheProjectsType$outboundSchema` instead. */
3098
- UpdateProjectDataCacheProjectsType$.outboundSchema = UpdateProjectDataCacheProjectsType$outboundSchema;
3099
- })(UpdateProjectDataCacheProjectsType$ || (UpdateProjectDataCacheProjectsType$ = {}));
3265
+ export var UpdateProjectDataCacheProjectsResponseType$;
3266
+ (function (UpdateProjectDataCacheProjectsResponseType$) {
3267
+ /** @deprecated use `UpdateProjectDataCacheProjectsResponseType$inboundSchema` instead. */
3268
+ UpdateProjectDataCacheProjectsResponseType$.inboundSchema = UpdateProjectDataCacheProjectsResponseType$inboundSchema;
3269
+ /** @deprecated use `UpdateProjectDataCacheProjectsResponseType$outboundSchema` instead. */
3270
+ UpdateProjectDataCacheProjectsResponseType$.outboundSchema = UpdateProjectDataCacheProjectsResponseType$outboundSchema;
3271
+ })(UpdateProjectDataCacheProjectsResponseType$ || (UpdateProjectDataCacheProjectsResponseType$ = {}));
3100
3272
  /** @internal */
3101
3273
  export const Targets$inboundSchema = z.object({
3102
3274
  id: z.string(),
@@ -3105,7 +3277,7 @@ export const Targets$inboundSchema = z.object({
3105
3277
  aliasError: z.nullable(z.lazy(() => UpdateProjectDataCacheAliasError$inboundSchema)).optional(),
3106
3278
  aliasFinal: z.nullable(z.string()).optional(),
3107
3279
  automaticAliases: z.array(z.string()).optional(),
3108
- branchMatcher: z.lazy(() => UpdateProjectDataCacheBranchMatcher$inboundSchema).optional(),
3280
+ branchMatcher: z.lazy(() => UpdateProjectDataCacheProjectsBranchMatcher$inboundSchema).optional(),
3109
3281
  buildingAt: z.number().optional(),
3110
3282
  builds: z.array(z.lazy(() => UpdateProjectDataCacheBuilds$inboundSchema))
3111
3283
  .optional(),
@@ -3133,7 +3305,7 @@ export const Targets$inboundSchema = z.object({
3133
3305
  requestedAt: z.number().optional(),
3134
3306
  target: z.nullable(z.string()).optional(),
3135
3307
  teamId: z.nullable(z.string()).optional(),
3136
- type: UpdateProjectDataCacheProjectsType$inboundSchema,
3308
+ type: UpdateProjectDataCacheProjectsResponseType$inboundSchema,
3137
3309
  url: z.string(),
3138
3310
  userId: z.string(),
3139
3311
  withCache: z.boolean().optional(),
@@ -3146,7 +3318,7 @@ export const Targets$outboundSchema = z.object({
3146
3318
  aliasError: z.nullable(z.lazy(() => UpdateProjectDataCacheAliasError$outboundSchema)).optional(),
3147
3319
  aliasFinal: z.nullable(z.string()).optional(),
3148
3320
  automaticAliases: z.array(z.string()).optional(),
3149
- branchMatcher: z.lazy(() => UpdateProjectDataCacheBranchMatcher$outboundSchema).optional(),
3321
+ branchMatcher: z.lazy(() => UpdateProjectDataCacheProjectsBranchMatcher$outboundSchema).optional(),
3150
3322
  buildingAt: z.number().optional(),
3151
3323
  builds: z.array(z.lazy(() => UpdateProjectDataCacheBuilds$outboundSchema))
3152
3324
  .optional(),
@@ -3174,7 +3346,7 @@ export const Targets$outboundSchema = z.object({
3174
3346
  requestedAt: z.number().optional(),
3175
3347
  target: z.nullable(z.string()).optional(),
3176
3348
  teamId: z.nullable(z.string()).optional(),
3177
- type: UpdateProjectDataCacheProjectsType$outboundSchema,
3349
+ type: UpdateProjectDataCacheProjectsResponseType$outboundSchema,
3178
3350
  url: z.string(),
3179
3351
  userId: z.string(),
3180
3352
  withCache: z.boolean().optional(),
@@ -3671,36 +3843,38 @@ export var JobStatus$;
3671
3843
  JobStatus$.outboundSchema = JobStatus$outboundSchema;
3672
3844
  })(JobStatus$ || (JobStatus$ = {}));
3673
3845
  /** @internal */
3674
- export const UpdateProjectDataCacheProjectsResponseType$inboundSchema = z
3675
- .nativeEnum(UpdateProjectDataCacheProjectsResponseType);
3846
+ export const UpdateProjectDataCacheProjectsResponse200Type$inboundSchema = z
3847
+ .nativeEnum(UpdateProjectDataCacheProjectsResponse200Type);
3676
3848
  /** @internal */
3677
- export const UpdateProjectDataCacheProjectsResponseType$outboundSchema = UpdateProjectDataCacheProjectsResponseType$inboundSchema;
3849
+ export const UpdateProjectDataCacheProjectsResponse200Type$outboundSchema = UpdateProjectDataCacheProjectsResponse200Type$inboundSchema;
3678
3850
  /**
3679
3851
  * @internal
3680
3852
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3681
3853
  */
3682
- export var UpdateProjectDataCacheProjectsResponseType$;
3683
- (function (UpdateProjectDataCacheProjectsResponseType$) {
3684
- /** @deprecated use `UpdateProjectDataCacheProjectsResponseType$inboundSchema` instead. */
3685
- UpdateProjectDataCacheProjectsResponseType$.inboundSchema = UpdateProjectDataCacheProjectsResponseType$inboundSchema;
3686
- /** @deprecated use `UpdateProjectDataCacheProjectsResponseType$outboundSchema` instead. */
3687
- UpdateProjectDataCacheProjectsResponseType$.outboundSchema = UpdateProjectDataCacheProjectsResponseType$outboundSchema;
3688
- })(UpdateProjectDataCacheProjectsResponseType$ || (UpdateProjectDataCacheProjectsResponseType$ = {}));
3854
+ export var UpdateProjectDataCacheProjectsResponse200Type$;
3855
+ (function (UpdateProjectDataCacheProjectsResponse200Type$) {
3856
+ /** @deprecated use `UpdateProjectDataCacheProjectsResponse200Type$inboundSchema` instead. */
3857
+ UpdateProjectDataCacheProjectsResponse200Type$.inboundSchema = UpdateProjectDataCacheProjectsResponse200Type$inboundSchema;
3858
+ /** @deprecated use `UpdateProjectDataCacheProjectsResponse200Type$outboundSchema` instead. */
3859
+ UpdateProjectDataCacheProjectsResponse200Type$.outboundSchema = UpdateProjectDataCacheProjectsResponse200Type$outboundSchema;
3860
+ })(UpdateProjectDataCacheProjectsResponse200Type$ || (UpdateProjectDataCacheProjectsResponse200Type$ = {}));
3689
3861
  /** @internal */
3690
3862
  export const LastAliasRequest$inboundSchema = z.object({
3691
3863
  fromDeploymentId: z.string(),
3692
3864
  toDeploymentId: z.string(),
3865
+ fromRollingReleaseId: z.string().optional(),
3693
3866
  jobStatus: JobStatus$inboundSchema,
3694
3867
  requestedAt: z.number(),
3695
- type: UpdateProjectDataCacheProjectsResponseType$inboundSchema,
3868
+ type: UpdateProjectDataCacheProjectsResponse200Type$inboundSchema,
3696
3869
  });
3697
3870
  /** @internal */
3698
3871
  export const LastAliasRequest$outboundSchema = z.object({
3699
3872
  fromDeploymentId: z.string(),
3700
3873
  toDeploymentId: z.string(),
3874
+ fromRollingReleaseId: z.string().optional(),
3701
3875
  jobStatus: JobStatus$outboundSchema,
3702
3876
  requestedAt: z.number(),
3703
- type: UpdateProjectDataCacheProjectsResponseType$outboundSchema,
3877
+ type: UpdateProjectDataCacheProjectsResponse200Type$outboundSchema,
3704
3878
  });
3705
3879
  /**
3706
3880
  * @internal
@@ -3720,31 +3894,31 @@ export function lastAliasRequestFromJSON(jsonString) {
3720
3894
  return safeParse(jsonString, (x) => LastAliasRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'LastAliasRequest' from JSON`);
3721
3895
  }
3722
3896
  /** @internal */
3723
- export const Scope$inboundSchema = z.nativeEnum(Scope);
3897
+ export const UpdateProjectDataCacheScope$inboundSchema = z.nativeEnum(UpdateProjectDataCacheScope);
3724
3898
  /** @internal */
3725
- export const Scope$outboundSchema = Scope$inboundSchema;
3899
+ export const UpdateProjectDataCacheScope$outboundSchema = UpdateProjectDataCacheScope$inboundSchema;
3726
3900
  /**
3727
3901
  * @internal
3728
3902
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3729
3903
  */
3730
- export var Scope$;
3731
- (function (Scope$) {
3732
- /** @deprecated use `Scope$inboundSchema` instead. */
3733
- Scope$.inboundSchema = Scope$inboundSchema;
3734
- /** @deprecated use `Scope$outboundSchema` instead. */
3735
- Scope$.outboundSchema = Scope$outboundSchema;
3736
- })(Scope$ || (Scope$ = {}));
3904
+ export var UpdateProjectDataCacheScope$;
3905
+ (function (UpdateProjectDataCacheScope$) {
3906
+ /** @deprecated use `UpdateProjectDataCacheScope$inboundSchema` instead. */
3907
+ UpdateProjectDataCacheScope$.inboundSchema = UpdateProjectDataCacheScope$inboundSchema;
3908
+ /** @deprecated use `UpdateProjectDataCacheScope$outboundSchema` instead. */
3909
+ UpdateProjectDataCacheScope$.outboundSchema = UpdateProjectDataCacheScope$outboundSchema;
3910
+ })(UpdateProjectDataCacheScope$ || (UpdateProjectDataCacheScope$ = {}));
3737
3911
  /** @internal */
3738
3912
  export const ProtectionBypass$inboundSchema = z.object({
3739
3913
  createdAt: z.number(),
3740
3914
  createdBy: z.string(),
3741
- scope: Scope$inboundSchema,
3915
+ scope: UpdateProjectDataCacheScope$inboundSchema,
3742
3916
  });
3743
3917
  /** @internal */
3744
3918
  export const ProtectionBypass$outboundSchema = z.object({
3745
3919
  createdAt: z.number(),
3746
3920
  createdBy: z.string(),
3747
- scope: Scope$outboundSchema,
3921
+ scope: UpdateProjectDataCacheScope$outboundSchema,
3748
3922
  });
3749
3923
  /**
3750
3924
  * @internal