@vercel/sdk 1.8.3 → 1.8.5

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 (184) hide show
  1. package/bin/mcp-server.js +2214 -1517
  2. package/bin/mcp-server.js.map +44 -44
  3. package/docs/sdks/edgeconfig/README.md +1 -1
  4. package/esm/__tests__/deployments.test.js +1 -1
  5. package/esm/__tests__/deployments.test.js.map +1 -1
  6. package/esm/__tests__/edgeconfig.test.js +1 -22
  7. package/esm/__tests__/edgeconfig.test.js.map +1 -1
  8. package/esm/__tests__/projects.test.js +15 -13
  9. package/esm/__tests__/projects.test.js.map +1 -1
  10. package/esm/funcs/edgeConfigGetEdgeConfigItems.d.ts +1 -1
  11. package/esm/funcs/edgeConfigGetEdgeConfigItems.d.ts.map +1 -1
  12. package/esm/funcs/edgeConfigGetEdgeConfigItems.js +2 -1
  13. package/esm/funcs/edgeConfigGetEdgeConfigItems.js.map +1 -1
  14. package/esm/lib/config.d.ts +3 -3
  15. package/esm/lib/config.js +3 -3
  16. package/esm/mcp-server/mcp-server.js +1 -1
  17. package/esm/mcp-server/server.js +1 -1
  18. package/esm/models/addbypassipop.d.ts +2 -2
  19. package/esm/models/addbypassipop.js +2 -2
  20. package/esm/models/artifactqueryop.d.ts +2 -2
  21. package/esm/models/artifactqueryop.js +2 -2
  22. package/esm/models/authtoken.d.ts +4 -4
  23. package/esm/models/authtoken.js +4 -4
  24. package/esm/models/canceldeploymentop.d.ts +428 -28
  25. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  26. package/esm/models/canceldeploymentop.js +490 -52
  27. package/esm/models/canceldeploymentop.js.map +1 -1
  28. package/esm/models/createdeploymentop.d.ts +462 -62
  29. package/esm/models/createdeploymentop.d.ts.map +1 -1
  30. package/esm/models/createdeploymentop.js +526 -86
  31. package/esm/models/createdeploymentop.js.map +1 -1
  32. package/esm/models/createeventop.d.ts +4 -4
  33. package/esm/models/createeventop.js +4 -4
  34. package/esm/models/createortransferdomainop.d.ts +4 -4
  35. package/esm/models/createortransferdomainop.js +4 -4
  36. package/esm/models/createprojectenvop.d.ts +14 -14
  37. package/esm/models/createprojectenvop.d.ts.map +1 -1
  38. package/esm/models/createprojectenvop.js +10 -10
  39. package/esm/models/createprojectenvop.js.map +1 -1
  40. package/esm/models/createprojectop.d.ts +157 -157
  41. package/esm/models/createprojectop.d.ts.map +1 -1
  42. package/esm/models/createprojectop.js +155 -155
  43. package/esm/models/createprojectop.js.map +1 -1
  44. package/esm/models/createrecordop.d.ts +6 -6
  45. package/esm/models/createrecordop.d.ts.map +1 -1
  46. package/esm/models/createrecordop.js +18 -18
  47. package/esm/models/createrecordop.js.map +1 -1
  48. package/esm/models/editprojectenvop.d.ts +9 -9
  49. package/esm/models/editprojectenvop.d.ts.map +1 -1
  50. package/esm/models/editprojectenvop.js +7 -7
  51. package/esm/models/editprojectenvop.js.map +1 -1
  52. package/esm/models/filterprojectenvsop.d.ts +14 -14
  53. package/esm/models/filterprojectenvsop.d.ts.map +1 -1
  54. package/esm/models/filterprojectenvsop.js +14 -14
  55. package/esm/models/filterprojectenvsop.js.map +1 -1
  56. package/esm/models/getactiveattackstatusop.d.ts +2 -2
  57. package/esm/models/getactiveattackstatusop.js +2 -2
  58. package/esm/models/getaliasop.d.ts +4 -4
  59. package/esm/models/getaliasop.d.ts.map +1 -1
  60. package/esm/models/getaliasop.js +8 -8
  61. package/esm/models/getaliasop.js.map +1 -1
  62. package/esm/models/getauthuserop.d.ts +4 -4
  63. package/esm/models/getauthuserop.d.ts.map +1 -1
  64. package/esm/models/getauthuserop.js +4 -4
  65. package/esm/models/getauthuserop.js.map +1 -1
  66. package/esm/models/getconfigurationop.d.ts +6 -6
  67. package/esm/models/getconfigurationop.js +6 -6
  68. package/esm/models/getdeploymenteventsop.d.ts +6 -6
  69. package/esm/models/getdeploymenteventsop.js +8 -8
  70. package/esm/models/getdeploymentop.d.ts +438 -38
  71. package/esm/models/getdeploymentop.d.ts.map +1 -1
  72. package/esm/models/getdeploymentop.js +519 -86
  73. package/esm/models/getdeploymentop.js.map +1 -1
  74. package/esm/models/getedgeconfigbackupop.d.ts +2 -2
  75. package/esm/models/getedgeconfigbackupop.js +2 -2
  76. package/esm/models/getprojectenvop.d.ts +14 -14
  77. package/esm/models/getprojectenvop.d.ts.map +1 -1
  78. package/esm/models/getprojectenvop.js +14 -14
  79. package/esm/models/getprojectenvop.js.map +1 -1
  80. package/esm/models/getprojectmembersop.d.ts +2 -2
  81. package/esm/models/getprojectmembersop.js +2 -2
  82. package/esm/models/getprojectsop.d.ts +20 -20
  83. package/esm/models/getprojectsop.d.ts.map +1 -1
  84. package/esm/models/getprojectsop.js +20 -20
  85. package/esm/models/getprojectsop.js.map +1 -1
  86. package/esm/models/getrecordsop.d.ts +2 -2
  87. package/esm/models/getrecordsop.d.ts.map +1 -1
  88. package/esm/models/getrecordsop.js +2 -2
  89. package/esm/models/getrecordsop.js.map +1 -1
  90. package/esm/models/getteamsop.d.ts +4 -4
  91. package/esm/models/getteamsop.d.ts.map +1 -1
  92. package/esm/models/getteamsop.js +4 -4
  93. package/esm/models/getteamsop.js.map +1 -1
  94. package/esm/models/inviteusertoteamop.d.ts +2 -2
  95. package/esm/models/inviteusertoteamop.js +2 -2
  96. package/esm/models/listaccessgroupsop.d.ts +2 -2
  97. package/esm/models/listaccessgroupsop.js +2 -2
  98. package/esm/models/listaliasesop.d.ts +4 -4
  99. package/esm/models/listaliasesop.js +8 -8
  100. package/esm/models/listdeploymentaliasesop.d.ts +4 -4
  101. package/esm/models/listdeploymentaliasesop.js +8 -8
  102. package/esm/models/listpromotealiasesop.d.ts +2 -2
  103. package/esm/models/listpromotealiasesop.js +2 -2
  104. package/esm/models/patchdomainop.d.ts +6 -6
  105. package/esm/models/patchdomainop.js +6 -6
  106. package/esm/models/patchurlprotectionbypassop.d.ts +4 -4
  107. package/esm/models/patchurlprotectionbypassop.js +4 -4
  108. package/esm/models/removeprojectenvop.d.ts +23 -23
  109. package/esm/models/removeprojectenvop.d.ts.map +1 -1
  110. package/esm/models/removeprojectenvop.js +17 -17
  111. package/esm/models/removeprojectenvop.js.map +1 -1
  112. package/esm/models/updatefirewallconfigop.d.ts +4 -4
  113. package/esm/models/updatefirewallconfigop.d.ts.map +1 -1
  114. package/esm/models/updatefirewallconfigop.js +24 -24
  115. package/esm/models/updatefirewallconfigop.js.map +1 -1
  116. package/esm/models/updateprojectdatacacheop.d.ts +20 -20
  117. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  118. package/esm/models/updateprojectdatacacheop.js +20 -20
  119. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  120. package/esm/models/updateprojectop.d.ts +157 -157
  121. package/esm/models/updateprojectop.d.ts.map +1 -1
  122. package/esm/models/updateprojectop.js +155 -155
  123. package/esm/models/updateprojectop.js.map +1 -1
  124. package/esm/models/updateprojectprotectionbypassop.d.ts +4 -4
  125. package/esm/models/updateprojectprotectionbypassop.js +4 -4
  126. package/esm/models/uploadfileop.d.ts +2 -2
  127. package/esm/models/uploadfileop.js +2 -2
  128. package/esm/models/userevent.d.ts +24 -24
  129. package/esm/models/userevent.d.ts.map +1 -1
  130. package/esm/models/userevent.js +467 -467
  131. package/esm/models/userevent.js.map +1 -1
  132. package/esm/sdk/edgeconfig.d.ts +1 -1
  133. package/esm/sdk/edgeconfig.d.ts.map +1 -1
  134. package/esm/types/constdatetime.js +1 -1
  135. package/jsr.json +1 -1
  136. package/package.json +1 -1
  137. package/src/__tests__/deployments.test.ts +1 -1
  138. package/src/__tests__/edgeconfig.test.ts +1 -22
  139. package/src/__tests__/projects.test.ts +15 -13
  140. package/src/funcs/edgeConfigGetEdgeConfigItems.ts +5 -4
  141. package/src/lib/config.ts +3 -3
  142. package/src/mcp-server/mcp-server.ts +1 -1
  143. package/src/mcp-server/server.ts +1 -1
  144. package/src/models/addbypassipop.ts +6 -6
  145. package/src/models/artifactqueryop.ts +5 -5
  146. package/src/models/authtoken.ts +8 -8
  147. package/src/models/canceldeploymentop.ts +1192 -169
  148. package/src/models/createdeploymentop.ts +1110 -169
  149. package/src/models/createeventop.ts +8 -8
  150. package/src/models/createortransferdomainop.ts +10 -10
  151. package/src/models/createprojectenvop.ts +22 -22
  152. package/src/models/createprojectop.ts +315 -315
  153. package/src/models/createrecordop.ts +38 -38
  154. package/src/models/editprojectenvop.ts +17 -17
  155. package/src/models/filterprojectenvsop.ts +38 -40
  156. package/src/models/getactiveattackstatusop.ts +6 -6
  157. package/src/models/getaliasop.ts +20 -20
  158. package/src/models/getauthuserop.ts +9 -9
  159. package/src/models/getconfigurationop.ts +15 -15
  160. package/src/models/getdeploymenteventsop.ts +26 -26
  161. package/src/models/getdeploymentop.ts +1245 -254
  162. package/src/models/getedgeconfigbackupop.ts +6 -6
  163. package/src/models/getprojectenvop.ts +36 -36
  164. package/src/models/getprojectmembersop.ts +6 -6
  165. package/src/models/getprojectsop.ts +51 -51
  166. package/src/models/getrecordsop.ts +4 -4
  167. package/src/models/getteamsop.ts +8 -8
  168. package/src/models/inviteusertoteamop.ts +6 -6
  169. package/src/models/listaccessgroupsop.ts +6 -6
  170. package/src/models/listaliasesop.ts +20 -20
  171. package/src/models/listdeploymentaliasesop.ts +20 -20
  172. package/src/models/listpromotealiasesop.ts +6 -6
  173. package/src/models/patchdomainop.ts +15 -15
  174. package/src/models/patchurlprotectionbypassop.ts +10 -10
  175. package/src/models/removeprojectenvop.ts +39 -41
  176. package/src/models/updatefirewallconfigop.ts +52 -52
  177. package/src/models/updateprojectdatacacheop.ts +47 -47
  178. package/src/models/updateprojectop.ts +315 -315
  179. package/src/models/updateprojectprotectionbypassop.ts +14 -14
  180. package/src/models/uploadfileop.ts +6 -6
  181. package/src/models/userevent.ts +955 -955
  182. package/src/sdk/edgeconfig.ts +1 -1
  183. package/src/types/constdatetime.ts +1 -1
  184. package/vercel-spec.json +1645 -937
@@ -216,12 +216,12 @@ export type GitSource1 = {
216
216
  * Defines the Git Repository source to be deployed. This property can not be used in combination with `files`.
217
217
  */
218
218
  export type GitSource =
219
- | GitSource1
220
- | GitSource4
219
+ | GitSource3
221
220
  | GitSource2
222
- | GitSource5
223
221
  | GitSource6
224
- | GitSource3;
222
+ | GitSource1
223
+ | GitSource4
224
+ | GitSource5;
225
225
 
226
226
  /**
227
227
  * The framework that is being used for this project. When `null` is used no framework is selected
@@ -367,12 +367,12 @@ export type CreateDeploymentRequestBody = {
367
367
  * Defines the Git Repository source to be deployed. This property can not be used in combination with `files`.
368
368
  */
369
369
  gitSource?:
370
+ | GitSource3
371
+ | GitSource2
372
+ | GitSource6
370
373
  | GitSource1
371
374
  | GitSource4
372
- | GitSource2
373
375
  | GitSource5
374
- | GitSource6
375
- | GitSource3
376
376
  | undefined;
377
377
  /**
378
378
  * An object containing the deployment's metadata. Multiple key-value pairs can be attached to a deployment
@@ -777,7 +777,7 @@ export type CustomEnvironment1 = {
777
777
  updatedAt: number;
778
778
  };
779
779
 
780
- export type CustomEnvironment = CustomEnvironment2 | CustomEnvironment1;
780
+ export type CustomEnvironment = CustomEnvironment1 | CustomEnvironment2;
781
781
 
782
782
  export const OomReport = {
783
783
  OutOfMemory: "out-of-memory",
@@ -1017,18 +1017,18 @@ export type CreateDeploymentGitSource1 = {
1017
1017
  };
1018
1018
 
1019
1019
  export type CreateDeploymentGitSource =
1020
+ | CreateDeploymentGitSource10
1021
+ | CreateDeploymentGitSource12
1022
+ | CreateDeploymentGitSource4
1020
1023
  | CreateDeploymentGitSource8
1024
+ | CreateDeploymentGitSource9
1021
1025
  | CreateDeploymentGitSource11
1022
- | CreateDeploymentGitSource1
1023
- | CreateDeploymentGitSource5
1024
1026
  | CreateDeploymentGitSource2
1025
1027
  | CreateDeploymentGitSource3
1026
- | CreateDeploymentGitSource6
1027
1028
  | CreateDeploymentGitSource7
1028
- | CreateDeploymentGitSource9
1029
- | CreateDeploymentGitSource4
1030
- | CreateDeploymentGitSource10
1031
- | CreateDeploymentGitSource12;
1029
+ | CreateDeploymentGitSource1
1030
+ | CreateDeploymentGitSource5
1031
+ | CreateDeploymentGitSource6;
1032
1032
 
1033
1033
  export type CreateDeploymentProject = {
1034
1034
  id: string;
@@ -1116,6 +1116,13 @@ export type OidcTokenClaims = {
1116
1116
  environment: string;
1117
1117
  };
1118
1118
 
1119
+ export const CreateDeploymentPlan = {
1120
+ Pro: "pro",
1121
+ Enterprise: "enterprise",
1122
+ Hobby: "hobby",
1123
+ } as const;
1124
+ export type CreateDeploymentPlan = ClosedEnum<typeof CreateDeploymentPlan>;
1125
+
1119
1126
  export const FunctionType = {
1120
1127
  Fluid: "fluid",
1121
1128
  Standard: "standard",
@@ -1189,10 +1196,30 @@ export type CreateDeploymentHasType = ClosedEnum<
1189
1196
  typeof CreateDeploymentHasType
1190
1197
  >;
1191
1198
 
1199
+ export type ValueEq = string | number;
1200
+
1201
+ export type CreateDeploymentValueDeployments2 = {
1202
+ eq?: string | number | undefined;
1203
+ neq?: string | undefined;
1204
+ inc?: Array<string> | undefined;
1205
+ ninc?: Array<string> | undefined;
1206
+ pre?: string | undefined;
1207
+ suf?: string | undefined;
1208
+ re?: string | undefined;
1209
+ gt?: number | undefined;
1210
+ gte?: number | undefined;
1211
+ lt?: number | undefined;
1212
+ lte?: number | undefined;
1213
+ };
1214
+
1215
+ export type CreateDeploymentHasValue =
1216
+ | CreateDeploymentValueDeployments2
1217
+ | string;
1218
+
1192
1219
  export type Has2 = {
1193
1220
  type: CreateDeploymentHasType;
1194
1221
  key: string;
1195
- value?: string | undefined;
1222
+ value?: CreateDeploymentValueDeployments2 | string | undefined;
1196
1223
  };
1197
1224
 
1198
1225
  export const HasType = {
@@ -1200,9 +1227,27 @@ export const HasType = {
1200
1227
  } as const;
1201
1228
  export type HasType = ClosedEnum<typeof HasType>;
1202
1229
 
1230
+ export type Eq = string | number;
1231
+
1232
+ export type CreateDeploymentValue2 = {
1233
+ eq?: string | number | undefined;
1234
+ neq?: string | undefined;
1235
+ inc?: Array<string> | undefined;
1236
+ ninc?: Array<string> | undefined;
1237
+ pre?: string | undefined;
1238
+ suf?: string | undefined;
1239
+ re?: string | undefined;
1240
+ gt?: number | undefined;
1241
+ gte?: number | undefined;
1242
+ lt?: number | undefined;
1243
+ lte?: number | undefined;
1244
+ };
1245
+
1246
+ export type HasValue = CreateDeploymentValue2 | string;
1247
+
1203
1248
  export type Has1 = {
1204
1249
  type: HasType;
1205
- value: string;
1250
+ value: CreateDeploymentValue2 | string;
1206
1251
  };
1207
1252
 
1208
1253
  export type RoutesHas = Has1 | Has2;
@@ -1216,10 +1261,30 @@ export type CreateDeploymentMissingType = ClosedEnum<
1216
1261
  typeof CreateDeploymentMissingType
1217
1262
  >;
1218
1263
 
1264
+ export type CreateDeploymentValueDeploymentsEq = string | number;
1265
+
1266
+ export type CreateDeploymentValueDeploymentsResponse2002 = {
1267
+ eq?: string | number | undefined;
1268
+ neq?: string | undefined;
1269
+ inc?: Array<string> | undefined;
1270
+ ninc?: Array<string> | undefined;
1271
+ pre?: string | undefined;
1272
+ suf?: string | undefined;
1273
+ re?: string | undefined;
1274
+ gt?: number | undefined;
1275
+ gte?: number | undefined;
1276
+ lt?: number | undefined;
1277
+ lte?: number | undefined;
1278
+ };
1279
+
1280
+ export type CreateDeploymentMissingValue =
1281
+ | CreateDeploymentValueDeploymentsResponse2002
1282
+ | string;
1283
+
1219
1284
  export type Missing2 = {
1220
1285
  type: CreateDeploymentMissingType;
1221
1286
  key: string;
1222
- value?: string | undefined;
1287
+ value?: CreateDeploymentValueDeploymentsResponse2002 | string | undefined;
1223
1288
  };
1224
1289
 
1225
1290
  export const MissingType = {
@@ -1227,13 +1292,41 @@ export const MissingType = {
1227
1292
  } as const;
1228
1293
  export type MissingType = ClosedEnum<typeof MissingType>;
1229
1294
 
1295
+ export type CreateDeploymentValueEq = string | number;
1296
+
1297
+ export type CreateDeploymentValueDeploymentsResponse2 = {
1298
+ eq?: string | number | undefined;
1299
+ neq?: string | undefined;
1300
+ inc?: Array<string> | undefined;
1301
+ ninc?: Array<string> | undefined;
1302
+ pre?: string | undefined;
1303
+ suf?: string | undefined;
1304
+ re?: string | undefined;
1305
+ gt?: number | undefined;
1306
+ gte?: number | undefined;
1307
+ lt?: number | undefined;
1308
+ lte?: number | undefined;
1309
+ };
1310
+
1311
+ export type MissingValue = CreateDeploymentValueDeploymentsResponse2 | string;
1312
+
1230
1313
  export type Missing1 = {
1231
1314
  type: MissingType;
1232
- value: string;
1315
+ value: CreateDeploymentValueDeploymentsResponse2 | string;
1233
1316
  };
1234
1317
 
1235
1318
  export type RoutesMissing = Missing1 | Missing2;
1236
1319
 
1320
+ export const RoutesAction = {
1321
+ Challenge: "challenge",
1322
+ Deny: "deny",
1323
+ } as const;
1324
+ export type RoutesAction = ClosedEnum<typeof RoutesAction>;
1325
+
1326
+ export type RoutesMitigate = {
1327
+ action: RoutesAction;
1328
+ };
1329
+
1237
1330
  export type Locale = {
1238
1331
  redirect?: { [k: string]: string } | undefined;
1239
1332
  cookie?: string | undefined;
@@ -1252,6 +1345,7 @@ export type Routes1 = {
1252
1345
  status?: number | undefined;
1253
1346
  has?: Array<Has1 | Has2> | undefined;
1254
1347
  missing?: Array<Missing1 | Missing2> | undefined;
1348
+ mitigate?: RoutesMitigate | undefined;
1255
1349
  locale?: Locale | undefined;
1256
1350
  /**
1257
1351
  * A middleware key within the `output` key under the build result. Overrides a `middleware` definition.
@@ -1267,7 +1361,7 @@ export type Routes1 = {
1267
1361
  middleware?: number | undefined;
1268
1362
  };
1269
1363
 
1270
- export type Routes = Routes3 | Routes2 | Routes1;
1364
+ export type Routes = Routes3 | Routes1 | Routes2;
1271
1365
 
1272
1366
  export type CreateDeploymentCrons = {
1273
1367
  schedule: string;
@@ -1331,8 +1425,8 @@ export type CreateDeploymentMicrofrontends1 = {
1331
1425
  };
1332
1426
 
1333
1427
  export type CreateDeploymentMicrofrontends =
1334
- | CreateDeploymentMicrofrontends1
1335
- | CreateDeploymentMicrofrontends2;
1428
+ | CreateDeploymentMicrofrontends2
1429
+ | CreateDeploymentMicrofrontends1;
1336
1430
 
1337
1431
  export const CreateDeploymentState = {
1338
1432
  Succeeded: "succeeded",
@@ -1357,13 +1451,6 @@ export type CreateDeploymentChecks = {
1357
1451
  deploymentAlias: DeploymentAlias;
1358
1452
  };
1359
1453
 
1360
- export const CreateDeploymentPlan = {
1361
- Pro: "pro",
1362
- Enterprise: "enterprise",
1363
- Hobby: "hobby",
1364
- } as const;
1365
- export type CreateDeploymentPlan = ClosedEnum<typeof CreateDeploymentPlan>;
1366
-
1367
1454
  export const CreateDeploymentGitRepoDeploymentsType = {
1368
1455
  Bitbucket: "bitbucket",
1369
1456
  } as const;
@@ -1441,7 +1528,7 @@ export type GitRepo1 = {
1441
1528
  ownerType: OwnerType;
1442
1529
  };
1443
1530
 
1444
- export type GitRepo = GitRepo1 | GitRepo2 | GitRepo3;
1531
+ export type GitRepo = GitRepo2 | GitRepo3 | GitRepo1;
1445
1532
 
1446
1533
  /**
1447
1534
  * Flags defined in the Build Output API, used by this deployment. Primarily used by the Toolbar to know about the used flags.
@@ -1505,7 +1592,7 @@ export type CreateDeploymentResponseBody = {
1505
1592
  userAliases?: Array<string> | undefined;
1506
1593
  previewCommentsEnabled?: boolean | undefined;
1507
1594
  ttyBuildLogs?: boolean | undefined;
1508
- customEnvironment?: CustomEnvironment2 | CustomEnvironment1 | undefined;
1595
+ customEnvironment?: CustomEnvironment1 | CustomEnvironment2 | undefined;
1509
1596
  oomReport?: OomReport | undefined;
1510
1597
  id: string;
1511
1598
  name: string;
@@ -1518,18 +1605,18 @@ export type CreateDeploymentResponseBody = {
1518
1605
  */
1519
1606
  autoAssignCustomDomains?: boolean | undefined;
1520
1607
  gitSource?:
1608
+ | CreateDeploymentGitSource10
1609
+ | CreateDeploymentGitSource12
1610
+ | CreateDeploymentGitSource4
1521
1611
  | CreateDeploymentGitSource8
1612
+ | CreateDeploymentGitSource9
1522
1613
  | CreateDeploymentGitSource11
1523
- | CreateDeploymentGitSource1
1524
- | CreateDeploymentGitSource5
1525
1614
  | CreateDeploymentGitSource2
1526
1615
  | CreateDeploymentGitSource3
1527
- | CreateDeploymentGitSource6
1528
1616
  | CreateDeploymentGitSource7
1529
- | CreateDeploymentGitSource9
1530
- | CreateDeploymentGitSource4
1531
- | CreateDeploymentGitSource10
1532
- | CreateDeploymentGitSource12
1617
+ | CreateDeploymentGitSource1
1618
+ | CreateDeploymentGitSource5
1619
+ | CreateDeploymentGitSource6
1533
1620
  | undefined;
1534
1621
  meta: { [k: string]: string };
1535
1622
  project?: CreateDeploymentProject | undefined;
@@ -1569,19 +1656,19 @@ export type CreateDeploymentResponseBody = {
1569
1656
  projectId: string;
1570
1657
  ownerId: string;
1571
1658
  monorepoManager?: string | null | undefined;
1659
+ plan: CreateDeploymentPlan;
1572
1660
  /**
1573
1661
  * Since February 2025 the configuration must include snapshot data at the time of deployment creation to capture properties for the /deployments/:id/config endpoint utilized for displaying Deployment Configuration on the frontend This is optional because older deployments may not have this data captured
1574
1662
  */
1575
1663
  config?: Config | undefined;
1576
1664
  functions?: { [k: string]: Functions } | null | undefined;
1577
- routes: Array<Routes3 | Routes2 | Routes1> | null;
1665
+ routes: Array<Routes3 | Routes1 | Routes2> | null;
1578
1666
  crons?: Array<CreateDeploymentCrons> | undefined;
1579
1667
  microfrontends?:
1580
- | CreateDeploymentMicrofrontends1
1581
1668
  | CreateDeploymentMicrofrontends2
1669
+ | CreateDeploymentMicrofrontends1
1582
1670
  | undefined;
1583
1671
  checks?: CreateDeploymentChecks | undefined;
1584
- plan: CreateDeploymentPlan;
1585
1672
  connectBuildsEnabled?: boolean | undefined;
1586
1673
  connectConfigurationId?: string | undefined;
1587
1674
  createdIn: string;
@@ -1589,7 +1676,7 @@ export type CreateDeploymentResponseBody = {
1589
1676
  * Since November 2023 this field defines a Secure Compute network that will only be used to deploy passive lambdas to (as in passiveRegions)
1590
1677
  */
1591
1678
  passiveConnectConfigurationId?: string | undefined;
1592
- gitRepo?: GitRepo1 | GitRepo2 | GitRepo3 | null | undefined;
1679
+ gitRepo?: GitRepo2 | GitRepo3 | GitRepo1 | null | undefined;
1593
1680
  flags?: Flags1 | Array<Flags2> | undefined;
1594
1681
  };
1595
1682
 
@@ -2478,22 +2565,22 @@ export const GitSource$inboundSchema: z.ZodType<
2478
2565
  z.ZodTypeDef,
2479
2566
  unknown
2480
2567
  > = z.union([
2568
+ z.lazy(() => GitSource3$inboundSchema),
2569
+ z.lazy(() => GitSource2$inboundSchema),
2570
+ z.lazy(() => GitSource6$inboundSchema),
2481
2571
  z.lazy(() => GitSource1$inboundSchema),
2482
2572
  z.lazy(() => GitSource4$inboundSchema),
2483
- z.lazy(() => GitSource2$inboundSchema),
2484
2573
  z.lazy(() => GitSource5$inboundSchema),
2485
- z.lazy(() => GitSource6$inboundSchema),
2486
- z.lazy(() => GitSource3$inboundSchema),
2487
2574
  ]);
2488
2575
 
2489
2576
  /** @internal */
2490
2577
  export type GitSource$Outbound =
2491
- | GitSource1$Outbound
2492
- | GitSource4$Outbound
2578
+ | GitSource3$Outbound
2493
2579
  | GitSource2$Outbound
2494
- | GitSource5$Outbound
2495
2580
  | GitSource6$Outbound
2496
- | GitSource3$Outbound;
2581
+ | GitSource1$Outbound
2582
+ | GitSource4$Outbound
2583
+ | GitSource5$Outbound;
2497
2584
 
2498
2585
  /** @internal */
2499
2586
  export const GitSource$outboundSchema: z.ZodType<
@@ -2501,12 +2588,12 @@ export const GitSource$outboundSchema: z.ZodType<
2501
2588
  z.ZodTypeDef,
2502
2589
  GitSource
2503
2590
  > = z.union([
2591
+ z.lazy(() => GitSource3$outboundSchema),
2592
+ z.lazy(() => GitSource2$outboundSchema),
2593
+ z.lazy(() => GitSource6$outboundSchema),
2504
2594
  z.lazy(() => GitSource1$outboundSchema),
2505
2595
  z.lazy(() => GitSource4$outboundSchema),
2506
- z.lazy(() => GitSource2$outboundSchema),
2507
2596
  z.lazy(() => GitSource5$outboundSchema),
2508
- z.lazy(() => GitSource6$outboundSchema),
2509
- z.lazy(() => GitSource3$outboundSchema),
2510
2597
  ]);
2511
2598
 
2512
2599
  /**
@@ -2672,12 +2759,12 @@ export const CreateDeploymentRequestBody$inboundSchema: z.ZodType<
2672
2759
  ).optional(),
2673
2760
  gitMetadata: z.lazy(() => GitMetadata$inboundSchema).optional(),
2674
2761
  gitSource: z.union([
2762
+ z.lazy(() => GitSource3$inboundSchema),
2763
+ z.lazy(() => GitSource2$inboundSchema),
2764
+ z.lazy(() => GitSource6$inboundSchema),
2675
2765
  z.lazy(() => GitSource1$inboundSchema),
2676
2766
  z.lazy(() => GitSource4$inboundSchema),
2677
- z.lazy(() => GitSource2$inboundSchema),
2678
2767
  z.lazy(() => GitSource5$inboundSchema),
2679
- z.lazy(() => GitSource6$inboundSchema),
2680
- z.lazy(() => GitSource3$inboundSchema),
2681
2768
  ]).optional(),
2682
2769
  meta: z.record(z.string()).optional(),
2683
2770
  monorepoManager: z.nullable(z.string()).optional(),
@@ -2695,12 +2782,12 @@ export type CreateDeploymentRequestBody$Outbound = {
2695
2782
  files?: Array<InlinedFile$Outbound | UploadedFile$Outbound> | undefined;
2696
2783
  gitMetadata?: GitMetadata$Outbound | undefined;
2697
2784
  gitSource?:
2785
+ | GitSource3$Outbound
2786
+ | GitSource2$Outbound
2787
+ | GitSource6$Outbound
2698
2788
  | GitSource1$Outbound
2699
2789
  | GitSource4$Outbound
2700
- | GitSource2$Outbound
2701
2790
  | GitSource5$Outbound
2702
- | GitSource6$Outbound
2703
- | GitSource3$Outbound
2704
2791
  | undefined;
2705
2792
  meta?: { [k: string]: string } | undefined;
2706
2793
  monorepoManager?: string | null | undefined;
@@ -2727,12 +2814,12 @@ export const CreateDeploymentRequestBody$outboundSchema: z.ZodType<
2727
2814
  ).optional(),
2728
2815
  gitMetadata: z.lazy(() => GitMetadata$outboundSchema).optional(),
2729
2816
  gitSource: z.union([
2817
+ z.lazy(() => GitSource3$outboundSchema),
2818
+ z.lazy(() => GitSource2$outboundSchema),
2819
+ z.lazy(() => GitSource6$outboundSchema),
2730
2820
  z.lazy(() => GitSource1$outboundSchema),
2731
2821
  z.lazy(() => GitSource4$outboundSchema),
2732
- z.lazy(() => GitSource2$outboundSchema),
2733
2822
  z.lazy(() => GitSource5$outboundSchema),
2734
- z.lazy(() => GitSource6$outboundSchema),
2735
- z.lazy(() => GitSource3$outboundSchema),
2736
2823
  ]).optional(),
2737
2824
  meta: z.record(z.string()).optional(),
2738
2825
  monorepoManager: z.nullable(z.string()).optional(),
@@ -4250,14 +4337,14 @@ export const CustomEnvironment$inboundSchema: z.ZodType<
4250
4337
  z.ZodTypeDef,
4251
4338
  unknown
4252
4339
  > = z.union([
4253
- z.lazy(() => CustomEnvironment2$inboundSchema),
4254
4340
  z.lazy(() => CustomEnvironment1$inboundSchema),
4341
+ z.lazy(() => CustomEnvironment2$inboundSchema),
4255
4342
  ]);
4256
4343
 
4257
4344
  /** @internal */
4258
4345
  export type CustomEnvironment$Outbound =
4259
- | CustomEnvironment2$Outbound
4260
- | CustomEnvironment1$Outbound;
4346
+ | CustomEnvironment1$Outbound
4347
+ | CustomEnvironment2$Outbound;
4261
4348
 
4262
4349
  /** @internal */
4263
4350
  export const CustomEnvironment$outboundSchema: z.ZodType<
@@ -4265,8 +4352,8 @@ export const CustomEnvironment$outboundSchema: z.ZodType<
4265
4352
  z.ZodTypeDef,
4266
4353
  CustomEnvironment
4267
4354
  > = z.union([
4268
- z.lazy(() => CustomEnvironment2$outboundSchema),
4269
4355
  z.lazy(() => CustomEnvironment1$outboundSchema),
4356
+ z.lazy(() => CustomEnvironment2$outboundSchema),
4270
4357
  ]);
4271
4358
 
4272
4359
  /**
@@ -5661,34 +5748,34 @@ export const CreateDeploymentGitSource$inboundSchema: z.ZodType<
5661
5748
  z.ZodTypeDef,
5662
5749
  unknown
5663
5750
  > = z.union([
5751
+ z.lazy(() => CreateDeploymentGitSource10$inboundSchema),
5752
+ z.lazy(() => CreateDeploymentGitSource12$inboundSchema),
5753
+ z.lazy(() => CreateDeploymentGitSource4$inboundSchema),
5664
5754
  z.lazy(() => CreateDeploymentGitSource8$inboundSchema),
5755
+ z.lazy(() => CreateDeploymentGitSource9$inboundSchema),
5665
5756
  z.lazy(() => CreateDeploymentGitSource11$inboundSchema),
5666
- z.lazy(() => CreateDeploymentGitSource1$inboundSchema),
5667
- z.lazy(() => CreateDeploymentGitSource5$inboundSchema),
5668
5757
  z.lazy(() => CreateDeploymentGitSource2$inboundSchema),
5669
5758
  z.lazy(() => CreateDeploymentGitSource3$inboundSchema),
5670
- z.lazy(() => CreateDeploymentGitSource6$inboundSchema),
5671
5759
  z.lazy(() => CreateDeploymentGitSource7$inboundSchema),
5672
- z.lazy(() => CreateDeploymentGitSource9$inboundSchema),
5673
- z.lazy(() => CreateDeploymentGitSource4$inboundSchema),
5674
- z.lazy(() => CreateDeploymentGitSource10$inboundSchema),
5675
- z.lazy(() => CreateDeploymentGitSource12$inboundSchema),
5760
+ z.lazy(() => CreateDeploymentGitSource1$inboundSchema),
5761
+ z.lazy(() => CreateDeploymentGitSource5$inboundSchema),
5762
+ z.lazy(() => CreateDeploymentGitSource6$inboundSchema),
5676
5763
  ]);
5677
5764
 
5678
5765
  /** @internal */
5679
5766
  export type CreateDeploymentGitSource$Outbound =
5767
+ | CreateDeploymentGitSource10$Outbound
5768
+ | CreateDeploymentGitSource12$Outbound
5769
+ | CreateDeploymentGitSource4$Outbound
5680
5770
  | CreateDeploymentGitSource8$Outbound
5771
+ | CreateDeploymentGitSource9$Outbound
5681
5772
  | CreateDeploymentGitSource11$Outbound
5682
- | CreateDeploymentGitSource1$Outbound
5683
- | CreateDeploymentGitSource5$Outbound
5684
5773
  | CreateDeploymentGitSource2$Outbound
5685
5774
  | CreateDeploymentGitSource3$Outbound
5686
- | CreateDeploymentGitSource6$Outbound
5687
5775
  | CreateDeploymentGitSource7$Outbound
5688
- | CreateDeploymentGitSource9$Outbound
5689
- | CreateDeploymentGitSource4$Outbound
5690
- | CreateDeploymentGitSource10$Outbound
5691
- | CreateDeploymentGitSource12$Outbound;
5776
+ | CreateDeploymentGitSource1$Outbound
5777
+ | CreateDeploymentGitSource5$Outbound
5778
+ | CreateDeploymentGitSource6$Outbound;
5692
5779
 
5693
5780
  /** @internal */
5694
5781
  export const CreateDeploymentGitSource$outboundSchema: z.ZodType<
@@ -5696,18 +5783,18 @@ export const CreateDeploymentGitSource$outboundSchema: z.ZodType<
5696
5783
  z.ZodTypeDef,
5697
5784
  CreateDeploymentGitSource
5698
5785
  > = z.union([
5786
+ z.lazy(() => CreateDeploymentGitSource10$outboundSchema),
5787
+ z.lazy(() => CreateDeploymentGitSource12$outboundSchema),
5788
+ z.lazy(() => CreateDeploymentGitSource4$outboundSchema),
5699
5789
  z.lazy(() => CreateDeploymentGitSource8$outboundSchema),
5790
+ z.lazy(() => CreateDeploymentGitSource9$outboundSchema),
5700
5791
  z.lazy(() => CreateDeploymentGitSource11$outboundSchema),
5701
- z.lazy(() => CreateDeploymentGitSource1$outboundSchema),
5702
- z.lazy(() => CreateDeploymentGitSource5$outboundSchema),
5703
5792
  z.lazy(() => CreateDeploymentGitSource2$outboundSchema),
5704
5793
  z.lazy(() => CreateDeploymentGitSource3$outboundSchema),
5705
- z.lazy(() => CreateDeploymentGitSource6$outboundSchema),
5706
5794
  z.lazy(() => CreateDeploymentGitSource7$outboundSchema),
5707
- z.lazy(() => CreateDeploymentGitSource9$outboundSchema),
5708
- z.lazy(() => CreateDeploymentGitSource4$outboundSchema),
5709
- z.lazy(() => CreateDeploymentGitSource10$outboundSchema),
5710
- z.lazy(() => CreateDeploymentGitSource12$outboundSchema),
5795
+ z.lazy(() => CreateDeploymentGitSource1$outboundSchema),
5796
+ z.lazy(() => CreateDeploymentGitSource5$outboundSchema),
5797
+ z.lazy(() => CreateDeploymentGitSource6$outboundSchema),
5711
5798
  ]);
5712
5799
 
5713
5800
  /**
@@ -6121,6 +6208,27 @@ export function oidcTokenClaimsFromJSON(
6121
6208
  );
6122
6209
  }
6123
6210
 
6211
+ /** @internal */
6212
+ export const CreateDeploymentPlan$inboundSchema: z.ZodNativeEnum<
6213
+ typeof CreateDeploymentPlan
6214
+ > = z.nativeEnum(CreateDeploymentPlan);
6215
+
6216
+ /** @internal */
6217
+ export const CreateDeploymentPlan$outboundSchema: z.ZodNativeEnum<
6218
+ typeof CreateDeploymentPlan
6219
+ > = CreateDeploymentPlan$inboundSchema;
6220
+
6221
+ /**
6222
+ * @internal
6223
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6224
+ */
6225
+ export namespace CreateDeploymentPlan$ {
6226
+ /** @deprecated use `CreateDeploymentPlan$inboundSchema` instead. */
6227
+ export const inboundSchema = CreateDeploymentPlan$inboundSchema;
6228
+ /** @deprecated use `CreateDeploymentPlan$outboundSchema` instead. */
6229
+ export const outboundSchema = CreateDeploymentPlan$outboundSchema;
6230
+ }
6231
+
6124
6232
  /** @internal */
6125
6233
  export const FunctionType$inboundSchema: z.ZodNativeEnum<typeof FunctionType> =
6126
6234
  z.nativeEnum(FunctionType);
@@ -6459,19 +6567,206 @@ export namespace CreateDeploymentHasType$ {
6459
6567
  export const outboundSchema = CreateDeploymentHasType$outboundSchema;
6460
6568
  }
6461
6569
 
6570
+ /** @internal */
6571
+ export const ValueEq$inboundSchema: z.ZodType<ValueEq, z.ZodTypeDef, unknown> =
6572
+ z.union([z.string(), z.number()]);
6573
+
6574
+ /** @internal */
6575
+ export type ValueEq$Outbound = string | number;
6576
+
6577
+ /** @internal */
6578
+ export const ValueEq$outboundSchema: z.ZodType<
6579
+ ValueEq$Outbound,
6580
+ z.ZodTypeDef,
6581
+ ValueEq
6582
+ > = z.union([z.string(), z.number()]);
6583
+
6584
+ /**
6585
+ * @internal
6586
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6587
+ */
6588
+ export namespace ValueEq$ {
6589
+ /** @deprecated use `ValueEq$inboundSchema` instead. */
6590
+ export const inboundSchema = ValueEq$inboundSchema;
6591
+ /** @deprecated use `ValueEq$outboundSchema` instead. */
6592
+ export const outboundSchema = ValueEq$outboundSchema;
6593
+ /** @deprecated use `ValueEq$Outbound` instead. */
6594
+ export type Outbound = ValueEq$Outbound;
6595
+ }
6596
+
6597
+ export function valueEqToJSON(valueEq: ValueEq): string {
6598
+ return JSON.stringify(ValueEq$outboundSchema.parse(valueEq));
6599
+ }
6600
+
6601
+ export function valueEqFromJSON(
6602
+ jsonString: string,
6603
+ ): SafeParseResult<ValueEq, SDKValidationError> {
6604
+ return safeParse(
6605
+ jsonString,
6606
+ (x) => ValueEq$inboundSchema.parse(JSON.parse(x)),
6607
+ `Failed to parse 'ValueEq' from JSON`,
6608
+ );
6609
+ }
6610
+
6611
+ /** @internal */
6612
+ export const CreateDeploymentValueDeployments2$inboundSchema: z.ZodType<
6613
+ CreateDeploymentValueDeployments2,
6614
+ z.ZodTypeDef,
6615
+ unknown
6616
+ > = z.object({
6617
+ eq: z.union([z.string(), z.number()]).optional(),
6618
+ neq: z.string().optional(),
6619
+ inc: z.array(z.string()).optional(),
6620
+ ninc: z.array(z.string()).optional(),
6621
+ pre: z.string().optional(),
6622
+ suf: z.string().optional(),
6623
+ re: z.string().optional(),
6624
+ gt: z.number().optional(),
6625
+ gte: z.number().optional(),
6626
+ lt: z.number().optional(),
6627
+ lte: z.number().optional(),
6628
+ });
6629
+
6630
+ /** @internal */
6631
+ export type CreateDeploymentValueDeployments2$Outbound = {
6632
+ eq?: string | number | undefined;
6633
+ neq?: string | undefined;
6634
+ inc?: Array<string> | undefined;
6635
+ ninc?: Array<string> | undefined;
6636
+ pre?: string | undefined;
6637
+ suf?: string | undefined;
6638
+ re?: string | undefined;
6639
+ gt?: number | undefined;
6640
+ gte?: number | undefined;
6641
+ lt?: number | undefined;
6642
+ lte?: number | undefined;
6643
+ };
6644
+
6645
+ /** @internal */
6646
+ export const CreateDeploymentValueDeployments2$outboundSchema: z.ZodType<
6647
+ CreateDeploymentValueDeployments2$Outbound,
6648
+ z.ZodTypeDef,
6649
+ CreateDeploymentValueDeployments2
6650
+ > = z.object({
6651
+ eq: z.union([z.string(), z.number()]).optional(),
6652
+ neq: z.string().optional(),
6653
+ inc: z.array(z.string()).optional(),
6654
+ ninc: z.array(z.string()).optional(),
6655
+ pre: z.string().optional(),
6656
+ suf: z.string().optional(),
6657
+ re: z.string().optional(),
6658
+ gt: z.number().optional(),
6659
+ gte: z.number().optional(),
6660
+ lt: z.number().optional(),
6661
+ lte: z.number().optional(),
6662
+ });
6663
+
6664
+ /**
6665
+ * @internal
6666
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6667
+ */
6668
+ export namespace CreateDeploymentValueDeployments2$ {
6669
+ /** @deprecated use `CreateDeploymentValueDeployments2$inboundSchema` instead. */
6670
+ export const inboundSchema = CreateDeploymentValueDeployments2$inboundSchema;
6671
+ /** @deprecated use `CreateDeploymentValueDeployments2$outboundSchema` instead. */
6672
+ export const outboundSchema =
6673
+ CreateDeploymentValueDeployments2$outboundSchema;
6674
+ /** @deprecated use `CreateDeploymentValueDeployments2$Outbound` instead. */
6675
+ export type Outbound = CreateDeploymentValueDeployments2$Outbound;
6676
+ }
6677
+
6678
+ export function createDeploymentValueDeployments2ToJSON(
6679
+ createDeploymentValueDeployments2: CreateDeploymentValueDeployments2,
6680
+ ): string {
6681
+ return JSON.stringify(
6682
+ CreateDeploymentValueDeployments2$outboundSchema.parse(
6683
+ createDeploymentValueDeployments2,
6684
+ ),
6685
+ );
6686
+ }
6687
+
6688
+ export function createDeploymentValueDeployments2FromJSON(
6689
+ jsonString: string,
6690
+ ): SafeParseResult<CreateDeploymentValueDeployments2, SDKValidationError> {
6691
+ return safeParse(
6692
+ jsonString,
6693
+ (x) => CreateDeploymentValueDeployments2$inboundSchema.parse(JSON.parse(x)),
6694
+ `Failed to parse 'CreateDeploymentValueDeployments2' from JSON`,
6695
+ );
6696
+ }
6697
+
6698
+ /** @internal */
6699
+ export const CreateDeploymentHasValue$inboundSchema: z.ZodType<
6700
+ CreateDeploymentHasValue,
6701
+ z.ZodTypeDef,
6702
+ unknown
6703
+ > = z.union([
6704
+ z.lazy(() => CreateDeploymentValueDeployments2$inboundSchema),
6705
+ z.string(),
6706
+ ]);
6707
+
6708
+ /** @internal */
6709
+ export type CreateDeploymentHasValue$Outbound =
6710
+ | CreateDeploymentValueDeployments2$Outbound
6711
+ | string;
6712
+
6713
+ /** @internal */
6714
+ export const CreateDeploymentHasValue$outboundSchema: z.ZodType<
6715
+ CreateDeploymentHasValue$Outbound,
6716
+ z.ZodTypeDef,
6717
+ CreateDeploymentHasValue
6718
+ > = z.union([
6719
+ z.lazy(() => CreateDeploymentValueDeployments2$outboundSchema),
6720
+ z.string(),
6721
+ ]);
6722
+
6723
+ /**
6724
+ * @internal
6725
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6726
+ */
6727
+ export namespace CreateDeploymentHasValue$ {
6728
+ /** @deprecated use `CreateDeploymentHasValue$inboundSchema` instead. */
6729
+ export const inboundSchema = CreateDeploymentHasValue$inboundSchema;
6730
+ /** @deprecated use `CreateDeploymentHasValue$outboundSchema` instead. */
6731
+ export const outboundSchema = CreateDeploymentHasValue$outboundSchema;
6732
+ /** @deprecated use `CreateDeploymentHasValue$Outbound` instead. */
6733
+ export type Outbound = CreateDeploymentHasValue$Outbound;
6734
+ }
6735
+
6736
+ export function createDeploymentHasValueToJSON(
6737
+ createDeploymentHasValue: CreateDeploymentHasValue,
6738
+ ): string {
6739
+ return JSON.stringify(
6740
+ CreateDeploymentHasValue$outboundSchema.parse(createDeploymentHasValue),
6741
+ );
6742
+ }
6743
+
6744
+ export function createDeploymentHasValueFromJSON(
6745
+ jsonString: string,
6746
+ ): SafeParseResult<CreateDeploymentHasValue, SDKValidationError> {
6747
+ return safeParse(
6748
+ jsonString,
6749
+ (x) => CreateDeploymentHasValue$inboundSchema.parse(JSON.parse(x)),
6750
+ `Failed to parse 'CreateDeploymentHasValue' from JSON`,
6751
+ );
6752
+ }
6753
+
6462
6754
  /** @internal */
6463
6755
  export const Has2$inboundSchema: z.ZodType<Has2, z.ZodTypeDef, unknown> = z
6464
6756
  .object({
6465
6757
  type: CreateDeploymentHasType$inboundSchema,
6466
6758
  key: z.string(),
6467
- value: z.string().optional(),
6759
+ value: z.union([
6760
+ z.lazy(() => CreateDeploymentValueDeployments2$inboundSchema),
6761
+ z.string(),
6762
+ ]).optional(),
6468
6763
  });
6469
6764
 
6470
6765
  /** @internal */
6471
6766
  export type Has2$Outbound = {
6472
6767
  type: string;
6473
6768
  key: string;
6474
- value?: string | undefined;
6769
+ value?: CreateDeploymentValueDeployments2$Outbound | string | undefined;
6475
6770
  };
6476
6771
 
6477
6772
  /** @internal */
@@ -6479,7 +6774,10 @@ export const Has2$outboundSchema: z.ZodType<Has2$Outbound, z.ZodTypeDef, Has2> =
6479
6774
  z.object({
6480
6775
  type: CreateDeploymentHasType$outboundSchema,
6481
6776
  key: z.string(),
6482
- value: z.string().optional(),
6777
+ value: z.union([
6778
+ z.lazy(() => CreateDeploymentValueDeployments2$outboundSchema),
6779
+ z.string(),
6780
+ ]).optional(),
6483
6781
  });
6484
6782
 
6485
6783
  /**
@@ -6528,24 +6826,198 @@ export namespace HasType$ {
6528
6826
  export const outboundSchema = HasType$outboundSchema;
6529
6827
  }
6530
6828
 
6829
+ /** @internal */
6830
+ export const Eq$inboundSchema: z.ZodType<Eq, z.ZodTypeDef, unknown> = z.union([
6831
+ z.string(),
6832
+ z.number(),
6833
+ ]);
6834
+
6835
+ /** @internal */
6836
+ export type Eq$Outbound = string | number;
6837
+
6838
+ /** @internal */
6839
+ export const Eq$outboundSchema: z.ZodType<Eq$Outbound, z.ZodTypeDef, Eq> = z
6840
+ .union([z.string(), z.number()]);
6841
+
6842
+ /**
6843
+ * @internal
6844
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6845
+ */
6846
+ export namespace Eq$ {
6847
+ /** @deprecated use `Eq$inboundSchema` instead. */
6848
+ export const inboundSchema = Eq$inboundSchema;
6849
+ /** @deprecated use `Eq$outboundSchema` instead. */
6850
+ export const outboundSchema = Eq$outboundSchema;
6851
+ /** @deprecated use `Eq$Outbound` instead. */
6852
+ export type Outbound = Eq$Outbound;
6853
+ }
6854
+
6855
+ export function eqToJSON(eq: Eq): string {
6856
+ return JSON.stringify(Eq$outboundSchema.parse(eq));
6857
+ }
6858
+
6859
+ export function eqFromJSON(
6860
+ jsonString: string,
6861
+ ): SafeParseResult<Eq, SDKValidationError> {
6862
+ return safeParse(
6863
+ jsonString,
6864
+ (x) => Eq$inboundSchema.parse(JSON.parse(x)),
6865
+ `Failed to parse 'Eq' from JSON`,
6866
+ );
6867
+ }
6868
+
6869
+ /** @internal */
6870
+ export const CreateDeploymentValue2$inboundSchema: z.ZodType<
6871
+ CreateDeploymentValue2,
6872
+ z.ZodTypeDef,
6873
+ unknown
6874
+ > = z.object({
6875
+ eq: z.union([z.string(), z.number()]).optional(),
6876
+ neq: z.string().optional(),
6877
+ inc: z.array(z.string()).optional(),
6878
+ ninc: z.array(z.string()).optional(),
6879
+ pre: z.string().optional(),
6880
+ suf: z.string().optional(),
6881
+ re: z.string().optional(),
6882
+ gt: z.number().optional(),
6883
+ gte: z.number().optional(),
6884
+ lt: z.number().optional(),
6885
+ lte: z.number().optional(),
6886
+ });
6887
+
6888
+ /** @internal */
6889
+ export type CreateDeploymentValue2$Outbound = {
6890
+ eq?: string | number | undefined;
6891
+ neq?: string | undefined;
6892
+ inc?: Array<string> | undefined;
6893
+ ninc?: Array<string> | undefined;
6894
+ pre?: string | undefined;
6895
+ suf?: string | undefined;
6896
+ re?: string | undefined;
6897
+ gt?: number | undefined;
6898
+ gte?: number | undefined;
6899
+ lt?: number | undefined;
6900
+ lte?: number | undefined;
6901
+ };
6902
+
6903
+ /** @internal */
6904
+ export const CreateDeploymentValue2$outboundSchema: z.ZodType<
6905
+ CreateDeploymentValue2$Outbound,
6906
+ z.ZodTypeDef,
6907
+ CreateDeploymentValue2
6908
+ > = z.object({
6909
+ eq: z.union([z.string(), z.number()]).optional(),
6910
+ neq: z.string().optional(),
6911
+ inc: z.array(z.string()).optional(),
6912
+ ninc: z.array(z.string()).optional(),
6913
+ pre: z.string().optional(),
6914
+ suf: z.string().optional(),
6915
+ re: z.string().optional(),
6916
+ gt: z.number().optional(),
6917
+ gte: z.number().optional(),
6918
+ lt: z.number().optional(),
6919
+ lte: z.number().optional(),
6920
+ });
6921
+
6922
+ /**
6923
+ * @internal
6924
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6925
+ */
6926
+ export namespace CreateDeploymentValue2$ {
6927
+ /** @deprecated use `CreateDeploymentValue2$inboundSchema` instead. */
6928
+ export const inboundSchema = CreateDeploymentValue2$inboundSchema;
6929
+ /** @deprecated use `CreateDeploymentValue2$outboundSchema` instead. */
6930
+ export const outboundSchema = CreateDeploymentValue2$outboundSchema;
6931
+ /** @deprecated use `CreateDeploymentValue2$Outbound` instead. */
6932
+ export type Outbound = CreateDeploymentValue2$Outbound;
6933
+ }
6934
+
6935
+ export function createDeploymentValue2ToJSON(
6936
+ createDeploymentValue2: CreateDeploymentValue2,
6937
+ ): string {
6938
+ return JSON.stringify(
6939
+ CreateDeploymentValue2$outboundSchema.parse(createDeploymentValue2),
6940
+ );
6941
+ }
6942
+
6943
+ export function createDeploymentValue2FromJSON(
6944
+ jsonString: string,
6945
+ ): SafeParseResult<CreateDeploymentValue2, SDKValidationError> {
6946
+ return safeParse(
6947
+ jsonString,
6948
+ (x) => CreateDeploymentValue2$inboundSchema.parse(JSON.parse(x)),
6949
+ `Failed to parse 'CreateDeploymentValue2' from JSON`,
6950
+ );
6951
+ }
6952
+
6953
+ /** @internal */
6954
+ export const HasValue$inboundSchema: z.ZodType<
6955
+ HasValue,
6956
+ z.ZodTypeDef,
6957
+ unknown
6958
+ > = z.union([z.lazy(() => CreateDeploymentValue2$inboundSchema), z.string()]);
6959
+
6960
+ /** @internal */
6961
+ export type HasValue$Outbound = CreateDeploymentValue2$Outbound | string;
6962
+
6963
+ /** @internal */
6964
+ export const HasValue$outboundSchema: z.ZodType<
6965
+ HasValue$Outbound,
6966
+ z.ZodTypeDef,
6967
+ HasValue
6968
+ > = z.union([z.lazy(() => CreateDeploymentValue2$outboundSchema), z.string()]);
6969
+
6970
+ /**
6971
+ * @internal
6972
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6973
+ */
6974
+ export namespace HasValue$ {
6975
+ /** @deprecated use `HasValue$inboundSchema` instead. */
6976
+ export const inboundSchema = HasValue$inboundSchema;
6977
+ /** @deprecated use `HasValue$outboundSchema` instead. */
6978
+ export const outboundSchema = HasValue$outboundSchema;
6979
+ /** @deprecated use `HasValue$Outbound` instead. */
6980
+ export type Outbound = HasValue$Outbound;
6981
+ }
6982
+
6983
+ export function hasValueToJSON(hasValue: HasValue): string {
6984
+ return JSON.stringify(HasValue$outboundSchema.parse(hasValue));
6985
+ }
6986
+
6987
+ export function hasValueFromJSON(
6988
+ jsonString: string,
6989
+ ): SafeParseResult<HasValue, SDKValidationError> {
6990
+ return safeParse(
6991
+ jsonString,
6992
+ (x) => HasValue$inboundSchema.parse(JSON.parse(x)),
6993
+ `Failed to parse 'HasValue' from JSON`,
6994
+ );
6995
+ }
6996
+
6531
6997
  /** @internal */
6532
6998
  export const Has1$inboundSchema: z.ZodType<Has1, z.ZodTypeDef, unknown> = z
6533
6999
  .object({
6534
7000
  type: HasType$inboundSchema,
6535
- value: z.string(),
7001
+ value: z.union([
7002
+ z.lazy(() => CreateDeploymentValue2$inboundSchema),
7003
+ z.string(),
7004
+ ]),
6536
7005
  });
6537
7006
 
6538
7007
  /** @internal */
6539
7008
  export type Has1$Outbound = {
6540
7009
  type: string;
6541
- value: string;
7010
+ value: CreateDeploymentValue2$Outbound | string;
6542
7011
  };
6543
7012
 
6544
7013
  /** @internal */
6545
7014
  export const Has1$outboundSchema: z.ZodType<Has1$Outbound, z.ZodTypeDef, Has1> =
6546
7015
  z.object({
6547
7016
  type: HasType$outboundSchema,
6548
- value: z.string(),
7017
+ value: z.union([
7018
+ z.lazy(() => CreateDeploymentValue2$outboundSchema),
7019
+ z.string(),
7020
+ ]),
6549
7021
  });
6550
7022
 
6551
7023
  /**
@@ -6646,6 +7118,213 @@ export namespace CreateDeploymentMissingType$ {
6646
7118
  export const outboundSchema = CreateDeploymentMissingType$outboundSchema;
6647
7119
  }
6648
7120
 
7121
+ /** @internal */
7122
+ export const CreateDeploymentValueDeploymentsEq$inboundSchema: z.ZodType<
7123
+ CreateDeploymentValueDeploymentsEq,
7124
+ z.ZodTypeDef,
7125
+ unknown
7126
+ > = z.union([z.string(), z.number()]);
7127
+
7128
+ /** @internal */
7129
+ export type CreateDeploymentValueDeploymentsEq$Outbound = string | number;
7130
+
7131
+ /** @internal */
7132
+ export const CreateDeploymentValueDeploymentsEq$outboundSchema: z.ZodType<
7133
+ CreateDeploymentValueDeploymentsEq$Outbound,
7134
+ z.ZodTypeDef,
7135
+ CreateDeploymentValueDeploymentsEq
7136
+ > = z.union([z.string(), z.number()]);
7137
+
7138
+ /**
7139
+ * @internal
7140
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
7141
+ */
7142
+ export namespace CreateDeploymentValueDeploymentsEq$ {
7143
+ /** @deprecated use `CreateDeploymentValueDeploymentsEq$inboundSchema` instead. */
7144
+ export const inboundSchema = CreateDeploymentValueDeploymentsEq$inboundSchema;
7145
+ /** @deprecated use `CreateDeploymentValueDeploymentsEq$outboundSchema` instead. */
7146
+ export const outboundSchema =
7147
+ CreateDeploymentValueDeploymentsEq$outboundSchema;
7148
+ /** @deprecated use `CreateDeploymentValueDeploymentsEq$Outbound` instead. */
7149
+ export type Outbound = CreateDeploymentValueDeploymentsEq$Outbound;
7150
+ }
7151
+
7152
+ export function createDeploymentValueDeploymentsEqToJSON(
7153
+ createDeploymentValueDeploymentsEq: CreateDeploymentValueDeploymentsEq,
7154
+ ): string {
7155
+ return JSON.stringify(
7156
+ CreateDeploymentValueDeploymentsEq$outboundSchema.parse(
7157
+ createDeploymentValueDeploymentsEq,
7158
+ ),
7159
+ );
7160
+ }
7161
+
7162
+ export function createDeploymentValueDeploymentsEqFromJSON(
7163
+ jsonString: string,
7164
+ ): SafeParseResult<CreateDeploymentValueDeploymentsEq, SDKValidationError> {
7165
+ return safeParse(
7166
+ jsonString,
7167
+ (x) =>
7168
+ CreateDeploymentValueDeploymentsEq$inboundSchema.parse(JSON.parse(x)),
7169
+ `Failed to parse 'CreateDeploymentValueDeploymentsEq' from JSON`,
7170
+ );
7171
+ }
7172
+
7173
+ /** @internal */
7174
+ export const CreateDeploymentValueDeploymentsResponse2002$inboundSchema:
7175
+ z.ZodType<
7176
+ CreateDeploymentValueDeploymentsResponse2002,
7177
+ z.ZodTypeDef,
7178
+ unknown
7179
+ > = z.object({
7180
+ eq: z.union([z.string(), z.number()]).optional(),
7181
+ neq: z.string().optional(),
7182
+ inc: z.array(z.string()).optional(),
7183
+ ninc: z.array(z.string()).optional(),
7184
+ pre: z.string().optional(),
7185
+ suf: z.string().optional(),
7186
+ re: z.string().optional(),
7187
+ gt: z.number().optional(),
7188
+ gte: z.number().optional(),
7189
+ lt: z.number().optional(),
7190
+ lte: z.number().optional(),
7191
+ });
7192
+
7193
+ /** @internal */
7194
+ export type CreateDeploymentValueDeploymentsResponse2002$Outbound = {
7195
+ eq?: string | number | undefined;
7196
+ neq?: string | undefined;
7197
+ inc?: Array<string> | undefined;
7198
+ ninc?: Array<string> | undefined;
7199
+ pre?: string | undefined;
7200
+ suf?: string | undefined;
7201
+ re?: string | undefined;
7202
+ gt?: number | undefined;
7203
+ gte?: number | undefined;
7204
+ lt?: number | undefined;
7205
+ lte?: number | undefined;
7206
+ };
7207
+
7208
+ /** @internal */
7209
+ export const CreateDeploymentValueDeploymentsResponse2002$outboundSchema:
7210
+ z.ZodType<
7211
+ CreateDeploymentValueDeploymentsResponse2002$Outbound,
7212
+ z.ZodTypeDef,
7213
+ CreateDeploymentValueDeploymentsResponse2002
7214
+ > = z.object({
7215
+ eq: z.union([z.string(), z.number()]).optional(),
7216
+ neq: z.string().optional(),
7217
+ inc: z.array(z.string()).optional(),
7218
+ ninc: z.array(z.string()).optional(),
7219
+ pre: z.string().optional(),
7220
+ suf: z.string().optional(),
7221
+ re: z.string().optional(),
7222
+ gt: z.number().optional(),
7223
+ gte: z.number().optional(),
7224
+ lt: z.number().optional(),
7225
+ lte: z.number().optional(),
7226
+ });
7227
+
7228
+ /**
7229
+ * @internal
7230
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
7231
+ */
7232
+ export namespace CreateDeploymentValueDeploymentsResponse2002$ {
7233
+ /** @deprecated use `CreateDeploymentValueDeploymentsResponse2002$inboundSchema` instead. */
7234
+ export const inboundSchema =
7235
+ CreateDeploymentValueDeploymentsResponse2002$inboundSchema;
7236
+ /** @deprecated use `CreateDeploymentValueDeploymentsResponse2002$outboundSchema` instead. */
7237
+ export const outboundSchema =
7238
+ CreateDeploymentValueDeploymentsResponse2002$outboundSchema;
7239
+ /** @deprecated use `CreateDeploymentValueDeploymentsResponse2002$Outbound` instead. */
7240
+ export type Outbound = CreateDeploymentValueDeploymentsResponse2002$Outbound;
7241
+ }
7242
+
7243
+ export function createDeploymentValueDeploymentsResponse2002ToJSON(
7244
+ createDeploymentValueDeploymentsResponse2002:
7245
+ CreateDeploymentValueDeploymentsResponse2002,
7246
+ ): string {
7247
+ return JSON.stringify(
7248
+ CreateDeploymentValueDeploymentsResponse2002$outboundSchema.parse(
7249
+ createDeploymentValueDeploymentsResponse2002,
7250
+ ),
7251
+ );
7252
+ }
7253
+
7254
+ export function createDeploymentValueDeploymentsResponse2002FromJSON(
7255
+ jsonString: string,
7256
+ ): SafeParseResult<
7257
+ CreateDeploymentValueDeploymentsResponse2002,
7258
+ SDKValidationError
7259
+ > {
7260
+ return safeParse(
7261
+ jsonString,
7262
+ (x) =>
7263
+ CreateDeploymentValueDeploymentsResponse2002$inboundSchema.parse(
7264
+ JSON.parse(x),
7265
+ ),
7266
+ `Failed to parse 'CreateDeploymentValueDeploymentsResponse2002' from JSON`,
7267
+ );
7268
+ }
7269
+
7270
+ /** @internal */
7271
+ export const CreateDeploymentMissingValue$inboundSchema: z.ZodType<
7272
+ CreateDeploymentMissingValue,
7273
+ z.ZodTypeDef,
7274
+ unknown
7275
+ > = z.union([
7276
+ z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$inboundSchema),
7277
+ z.string(),
7278
+ ]);
7279
+
7280
+ /** @internal */
7281
+ export type CreateDeploymentMissingValue$Outbound =
7282
+ | CreateDeploymentValueDeploymentsResponse2002$Outbound
7283
+ | string;
7284
+
7285
+ /** @internal */
7286
+ export const CreateDeploymentMissingValue$outboundSchema: z.ZodType<
7287
+ CreateDeploymentMissingValue$Outbound,
7288
+ z.ZodTypeDef,
7289
+ CreateDeploymentMissingValue
7290
+ > = z.union([
7291
+ z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$outboundSchema),
7292
+ z.string(),
7293
+ ]);
7294
+
7295
+ /**
7296
+ * @internal
7297
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
7298
+ */
7299
+ export namespace CreateDeploymentMissingValue$ {
7300
+ /** @deprecated use `CreateDeploymentMissingValue$inboundSchema` instead. */
7301
+ export const inboundSchema = CreateDeploymentMissingValue$inboundSchema;
7302
+ /** @deprecated use `CreateDeploymentMissingValue$outboundSchema` instead. */
7303
+ export const outboundSchema = CreateDeploymentMissingValue$outboundSchema;
7304
+ /** @deprecated use `CreateDeploymentMissingValue$Outbound` instead. */
7305
+ export type Outbound = CreateDeploymentMissingValue$Outbound;
7306
+ }
7307
+
7308
+ export function createDeploymentMissingValueToJSON(
7309
+ createDeploymentMissingValue: CreateDeploymentMissingValue,
7310
+ ): string {
7311
+ return JSON.stringify(
7312
+ CreateDeploymentMissingValue$outboundSchema.parse(
7313
+ createDeploymentMissingValue,
7314
+ ),
7315
+ );
7316
+ }
7317
+
7318
+ export function createDeploymentMissingValueFromJSON(
7319
+ jsonString: string,
7320
+ ): SafeParseResult<CreateDeploymentMissingValue, SDKValidationError> {
7321
+ return safeParse(
7322
+ jsonString,
7323
+ (x) => CreateDeploymentMissingValue$inboundSchema.parse(JSON.parse(x)),
7324
+ `Failed to parse 'CreateDeploymentMissingValue' from JSON`,
7325
+ );
7326
+ }
7327
+
6649
7328
  /** @internal */
6650
7329
  export const Missing2$inboundSchema: z.ZodType<
6651
7330
  Missing2,
@@ -6654,14 +7333,20 @@ export const Missing2$inboundSchema: z.ZodType<
6654
7333
  > = z.object({
6655
7334
  type: CreateDeploymentMissingType$inboundSchema,
6656
7335
  key: z.string(),
6657
- value: z.string().optional(),
7336
+ value: z.union([
7337
+ z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$inboundSchema),
7338
+ z.string(),
7339
+ ]).optional(),
6658
7340
  });
6659
7341
 
6660
7342
  /** @internal */
6661
7343
  export type Missing2$Outbound = {
6662
7344
  type: string;
6663
7345
  key: string;
6664
- value?: string | undefined;
7346
+ value?:
7347
+ | CreateDeploymentValueDeploymentsResponse2002$Outbound
7348
+ | string
7349
+ | undefined;
6665
7350
  };
6666
7351
 
6667
7352
  /** @internal */
@@ -6672,7 +7357,10 @@ export const Missing2$outboundSchema: z.ZodType<
6672
7357
  > = z.object({
6673
7358
  type: CreateDeploymentMissingType$outboundSchema,
6674
7359
  key: z.string(),
6675
- value: z.string().optional(),
7360
+ value: z.union([
7361
+ z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$outboundSchema),
7362
+ z.string(),
7363
+ ]).optional(),
6676
7364
  });
6677
7365
 
6678
7366
  /**
@@ -6721,6 +7409,202 @@ export namespace MissingType$ {
6721
7409
  export const outboundSchema = MissingType$outboundSchema;
6722
7410
  }
6723
7411
 
7412
+ /** @internal */
7413
+ export const CreateDeploymentValueEq$inboundSchema: z.ZodType<
7414
+ CreateDeploymentValueEq,
7415
+ z.ZodTypeDef,
7416
+ unknown
7417
+ > = z.union([z.string(), z.number()]);
7418
+
7419
+ /** @internal */
7420
+ export type CreateDeploymentValueEq$Outbound = string | number;
7421
+
7422
+ /** @internal */
7423
+ export const CreateDeploymentValueEq$outboundSchema: z.ZodType<
7424
+ CreateDeploymentValueEq$Outbound,
7425
+ z.ZodTypeDef,
7426
+ CreateDeploymentValueEq
7427
+ > = z.union([z.string(), z.number()]);
7428
+
7429
+ /**
7430
+ * @internal
7431
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
7432
+ */
7433
+ export namespace CreateDeploymentValueEq$ {
7434
+ /** @deprecated use `CreateDeploymentValueEq$inboundSchema` instead. */
7435
+ export const inboundSchema = CreateDeploymentValueEq$inboundSchema;
7436
+ /** @deprecated use `CreateDeploymentValueEq$outboundSchema` instead. */
7437
+ export const outboundSchema = CreateDeploymentValueEq$outboundSchema;
7438
+ /** @deprecated use `CreateDeploymentValueEq$Outbound` instead. */
7439
+ export type Outbound = CreateDeploymentValueEq$Outbound;
7440
+ }
7441
+
7442
+ export function createDeploymentValueEqToJSON(
7443
+ createDeploymentValueEq: CreateDeploymentValueEq,
7444
+ ): string {
7445
+ return JSON.stringify(
7446
+ CreateDeploymentValueEq$outboundSchema.parse(createDeploymentValueEq),
7447
+ );
7448
+ }
7449
+
7450
+ export function createDeploymentValueEqFromJSON(
7451
+ jsonString: string,
7452
+ ): SafeParseResult<CreateDeploymentValueEq, SDKValidationError> {
7453
+ return safeParse(
7454
+ jsonString,
7455
+ (x) => CreateDeploymentValueEq$inboundSchema.parse(JSON.parse(x)),
7456
+ `Failed to parse 'CreateDeploymentValueEq' from JSON`,
7457
+ );
7458
+ }
7459
+
7460
+ /** @internal */
7461
+ export const CreateDeploymentValueDeploymentsResponse2$inboundSchema: z.ZodType<
7462
+ CreateDeploymentValueDeploymentsResponse2,
7463
+ z.ZodTypeDef,
7464
+ unknown
7465
+ > = z.object({
7466
+ eq: z.union([z.string(), z.number()]).optional(),
7467
+ neq: z.string().optional(),
7468
+ inc: z.array(z.string()).optional(),
7469
+ ninc: z.array(z.string()).optional(),
7470
+ pre: z.string().optional(),
7471
+ suf: z.string().optional(),
7472
+ re: z.string().optional(),
7473
+ gt: z.number().optional(),
7474
+ gte: z.number().optional(),
7475
+ lt: z.number().optional(),
7476
+ lte: z.number().optional(),
7477
+ });
7478
+
7479
+ /** @internal */
7480
+ export type CreateDeploymentValueDeploymentsResponse2$Outbound = {
7481
+ eq?: string | number | undefined;
7482
+ neq?: string | undefined;
7483
+ inc?: Array<string> | undefined;
7484
+ ninc?: Array<string> | undefined;
7485
+ pre?: string | undefined;
7486
+ suf?: string | undefined;
7487
+ re?: string | undefined;
7488
+ gt?: number | undefined;
7489
+ gte?: number | undefined;
7490
+ lt?: number | undefined;
7491
+ lte?: number | undefined;
7492
+ };
7493
+
7494
+ /** @internal */
7495
+ export const CreateDeploymentValueDeploymentsResponse2$outboundSchema:
7496
+ z.ZodType<
7497
+ CreateDeploymentValueDeploymentsResponse2$Outbound,
7498
+ z.ZodTypeDef,
7499
+ CreateDeploymentValueDeploymentsResponse2
7500
+ > = z.object({
7501
+ eq: z.union([z.string(), z.number()]).optional(),
7502
+ neq: z.string().optional(),
7503
+ inc: z.array(z.string()).optional(),
7504
+ ninc: z.array(z.string()).optional(),
7505
+ pre: z.string().optional(),
7506
+ suf: z.string().optional(),
7507
+ re: z.string().optional(),
7508
+ gt: z.number().optional(),
7509
+ gte: z.number().optional(),
7510
+ lt: z.number().optional(),
7511
+ lte: z.number().optional(),
7512
+ });
7513
+
7514
+ /**
7515
+ * @internal
7516
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
7517
+ */
7518
+ export namespace CreateDeploymentValueDeploymentsResponse2$ {
7519
+ /** @deprecated use `CreateDeploymentValueDeploymentsResponse2$inboundSchema` instead. */
7520
+ export const inboundSchema =
7521
+ CreateDeploymentValueDeploymentsResponse2$inboundSchema;
7522
+ /** @deprecated use `CreateDeploymentValueDeploymentsResponse2$outboundSchema` instead. */
7523
+ export const outboundSchema =
7524
+ CreateDeploymentValueDeploymentsResponse2$outboundSchema;
7525
+ /** @deprecated use `CreateDeploymentValueDeploymentsResponse2$Outbound` instead. */
7526
+ export type Outbound = CreateDeploymentValueDeploymentsResponse2$Outbound;
7527
+ }
7528
+
7529
+ export function createDeploymentValueDeploymentsResponse2ToJSON(
7530
+ createDeploymentValueDeploymentsResponse2:
7531
+ CreateDeploymentValueDeploymentsResponse2,
7532
+ ): string {
7533
+ return JSON.stringify(
7534
+ CreateDeploymentValueDeploymentsResponse2$outboundSchema.parse(
7535
+ createDeploymentValueDeploymentsResponse2,
7536
+ ),
7537
+ );
7538
+ }
7539
+
7540
+ export function createDeploymentValueDeploymentsResponse2FromJSON(
7541
+ jsonString: string,
7542
+ ): SafeParseResult<
7543
+ CreateDeploymentValueDeploymentsResponse2,
7544
+ SDKValidationError
7545
+ > {
7546
+ return safeParse(
7547
+ jsonString,
7548
+ (x) =>
7549
+ CreateDeploymentValueDeploymentsResponse2$inboundSchema.parse(
7550
+ JSON.parse(x),
7551
+ ),
7552
+ `Failed to parse 'CreateDeploymentValueDeploymentsResponse2' from JSON`,
7553
+ );
7554
+ }
7555
+
7556
+ /** @internal */
7557
+ export const MissingValue$inboundSchema: z.ZodType<
7558
+ MissingValue,
7559
+ z.ZodTypeDef,
7560
+ unknown
7561
+ > = z.union([
7562
+ z.lazy(() => CreateDeploymentValueDeploymentsResponse2$inboundSchema),
7563
+ z.string(),
7564
+ ]);
7565
+
7566
+ /** @internal */
7567
+ export type MissingValue$Outbound =
7568
+ | CreateDeploymentValueDeploymentsResponse2$Outbound
7569
+ | string;
7570
+
7571
+ /** @internal */
7572
+ export const MissingValue$outboundSchema: z.ZodType<
7573
+ MissingValue$Outbound,
7574
+ z.ZodTypeDef,
7575
+ MissingValue
7576
+ > = z.union([
7577
+ z.lazy(() => CreateDeploymentValueDeploymentsResponse2$outboundSchema),
7578
+ z.string(),
7579
+ ]);
7580
+
7581
+ /**
7582
+ * @internal
7583
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
7584
+ */
7585
+ export namespace MissingValue$ {
7586
+ /** @deprecated use `MissingValue$inboundSchema` instead. */
7587
+ export const inboundSchema = MissingValue$inboundSchema;
7588
+ /** @deprecated use `MissingValue$outboundSchema` instead. */
7589
+ export const outboundSchema = MissingValue$outboundSchema;
7590
+ /** @deprecated use `MissingValue$Outbound` instead. */
7591
+ export type Outbound = MissingValue$Outbound;
7592
+ }
7593
+
7594
+ export function missingValueToJSON(missingValue: MissingValue): string {
7595
+ return JSON.stringify(MissingValue$outboundSchema.parse(missingValue));
7596
+ }
7597
+
7598
+ export function missingValueFromJSON(
7599
+ jsonString: string,
7600
+ ): SafeParseResult<MissingValue, SDKValidationError> {
7601
+ return safeParse(
7602
+ jsonString,
7603
+ (x) => MissingValue$inboundSchema.parse(JSON.parse(x)),
7604
+ `Failed to parse 'MissingValue' from JSON`,
7605
+ );
7606
+ }
7607
+
6724
7608
  /** @internal */
6725
7609
  export const Missing1$inboundSchema: z.ZodType<
6726
7610
  Missing1,
@@ -6728,13 +7612,16 @@ export const Missing1$inboundSchema: z.ZodType<
6728
7612
  unknown
6729
7613
  > = z.object({
6730
7614
  type: MissingType$inboundSchema,
6731
- value: z.string(),
7615
+ value: z.union([
7616
+ z.lazy(() => CreateDeploymentValueDeploymentsResponse2$inboundSchema),
7617
+ z.string(),
7618
+ ]),
6732
7619
  });
6733
7620
 
6734
7621
  /** @internal */
6735
7622
  export type Missing1$Outbound = {
6736
7623
  type: string;
6737
- value: string;
7624
+ value: CreateDeploymentValueDeploymentsResponse2$Outbound | string;
6738
7625
  };
6739
7626
 
6740
7627
  /** @internal */
@@ -6744,7 +7631,10 @@ export const Missing1$outboundSchema: z.ZodType<
6744
7631
  Missing1
6745
7632
  > = z.object({
6746
7633
  type: MissingType$outboundSchema,
6747
- value: z.string(),
7634
+ value: z.union([
7635
+ z.lazy(() => CreateDeploymentValueDeploymentsResponse2$outboundSchema),
7636
+ z.string(),
7637
+ ]),
6748
7638
  });
6749
7639
 
6750
7640
  /**
@@ -6824,6 +7714,75 @@ export function routesMissingFromJSON(
6824
7714
  );
6825
7715
  }
6826
7716
 
7717
+ /** @internal */
7718
+ export const RoutesAction$inboundSchema: z.ZodNativeEnum<typeof RoutesAction> =
7719
+ z.nativeEnum(RoutesAction);
7720
+
7721
+ /** @internal */
7722
+ export const RoutesAction$outboundSchema: z.ZodNativeEnum<typeof RoutesAction> =
7723
+ RoutesAction$inboundSchema;
7724
+
7725
+ /**
7726
+ * @internal
7727
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
7728
+ */
7729
+ export namespace RoutesAction$ {
7730
+ /** @deprecated use `RoutesAction$inboundSchema` instead. */
7731
+ export const inboundSchema = RoutesAction$inboundSchema;
7732
+ /** @deprecated use `RoutesAction$outboundSchema` instead. */
7733
+ export const outboundSchema = RoutesAction$outboundSchema;
7734
+ }
7735
+
7736
+ /** @internal */
7737
+ export const RoutesMitigate$inboundSchema: z.ZodType<
7738
+ RoutesMitigate,
7739
+ z.ZodTypeDef,
7740
+ unknown
7741
+ > = z.object({
7742
+ action: RoutesAction$inboundSchema,
7743
+ });
7744
+
7745
+ /** @internal */
7746
+ export type RoutesMitigate$Outbound = {
7747
+ action: string;
7748
+ };
7749
+
7750
+ /** @internal */
7751
+ export const RoutesMitigate$outboundSchema: z.ZodType<
7752
+ RoutesMitigate$Outbound,
7753
+ z.ZodTypeDef,
7754
+ RoutesMitigate
7755
+ > = z.object({
7756
+ action: RoutesAction$outboundSchema,
7757
+ });
7758
+
7759
+ /**
7760
+ * @internal
7761
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
7762
+ */
7763
+ export namespace RoutesMitigate$ {
7764
+ /** @deprecated use `RoutesMitigate$inboundSchema` instead. */
7765
+ export const inboundSchema = RoutesMitigate$inboundSchema;
7766
+ /** @deprecated use `RoutesMitigate$outboundSchema` instead. */
7767
+ export const outboundSchema = RoutesMitigate$outboundSchema;
7768
+ /** @deprecated use `RoutesMitigate$Outbound` instead. */
7769
+ export type Outbound = RoutesMitigate$Outbound;
7770
+ }
7771
+
7772
+ export function routesMitigateToJSON(routesMitigate: RoutesMitigate): string {
7773
+ return JSON.stringify(RoutesMitigate$outboundSchema.parse(routesMitigate));
7774
+ }
7775
+
7776
+ export function routesMitigateFromJSON(
7777
+ jsonString: string,
7778
+ ): SafeParseResult<RoutesMitigate, SDKValidationError> {
7779
+ return safeParse(
7780
+ jsonString,
7781
+ (x) => RoutesMitigate$inboundSchema.parse(JSON.parse(x)),
7782
+ `Failed to parse 'RoutesMitigate' from JSON`,
7783
+ );
7784
+ }
7785
+
6827
7786
  /** @internal */
6828
7787
  export const Locale$inboundSchema: z.ZodType<Locale, z.ZodTypeDef, unknown> = z
6829
7788
  .object({
@@ -6899,6 +7858,7 @@ export const Routes1$inboundSchema: z.ZodType<Routes1, z.ZodTypeDef, unknown> =
6899
7858
  z.lazy(() => Missing2$inboundSchema),
6900
7859
  ]),
6901
7860
  ).optional(),
7861
+ mitigate: z.lazy(() => RoutesMitigate$inboundSchema).optional(),
6902
7862
  locale: z.lazy(() => Locale$inboundSchema).optional(),
6903
7863
  middlewarePath: z.string().optional(),
6904
7864
  middlewareRawSrc: z.array(z.string()).optional(),
@@ -6919,6 +7879,7 @@ export type Routes1$Outbound = {
6919
7879
  status?: number | undefined;
6920
7880
  has?: Array<Has1$Outbound | Has2$Outbound> | undefined;
6921
7881
  missing?: Array<Missing1$Outbound | Missing2$Outbound> | undefined;
7882
+ mitigate?: RoutesMitigate$Outbound | undefined;
6922
7883
  locale?: Locale$Outbound | undefined;
6923
7884
  middlewarePath?: string | undefined;
6924
7885
  middlewareRawSrc?: Array<string> | undefined;
@@ -6953,6 +7914,7 @@ export const Routes1$outboundSchema: z.ZodType<
6953
7914
  z.lazy(() => Missing2$outboundSchema),
6954
7915
  ]),
6955
7916
  ).optional(),
7917
+ mitigate: z.lazy(() => RoutesMitigate$outboundSchema).optional(),
6956
7918
  locale: z.lazy(() => Locale$outboundSchema).optional(),
6957
7919
  middlewarePath: z.string().optional(),
6958
7920
  middlewareRawSrc: z.array(z.string()).optional(),
@@ -6990,15 +7952,15 @@ export function routes1FromJSON(
6990
7952
  export const Routes$inboundSchema: z.ZodType<Routes, z.ZodTypeDef, unknown> = z
6991
7953
  .union([
6992
7954
  z.lazy(() => Routes3$inboundSchema),
6993
- z.lazy(() => Routes2$inboundSchema),
6994
7955
  z.lazy(() => Routes1$inboundSchema),
7956
+ z.lazy(() => Routes2$inboundSchema),
6995
7957
  ]);
6996
7958
 
6997
7959
  /** @internal */
6998
7960
  export type Routes$Outbound =
6999
7961
  | Routes3$Outbound
7000
- | Routes2$Outbound
7001
- | Routes1$Outbound;
7962
+ | Routes1$Outbound
7963
+ | Routes2$Outbound;
7002
7964
 
7003
7965
  /** @internal */
7004
7966
  export const Routes$outboundSchema: z.ZodType<
@@ -7007,8 +7969,8 @@ export const Routes$outboundSchema: z.ZodType<
7007
7969
  Routes
7008
7970
  > = z.union([
7009
7971
  z.lazy(() => Routes3$outboundSchema),
7010
- z.lazy(() => Routes2$outboundSchema),
7011
7972
  z.lazy(() => Routes1$outboundSchema),
7973
+ z.lazy(() => Routes2$outboundSchema),
7012
7974
  ]);
7013
7975
 
7014
7976
  /**
@@ -7310,14 +8272,14 @@ export const CreateDeploymentMicrofrontends$inboundSchema: z.ZodType<
7310
8272
  z.ZodTypeDef,
7311
8273
  unknown
7312
8274
  > = z.union([
7313
- z.lazy(() => CreateDeploymentMicrofrontends1$inboundSchema),
7314
8275
  z.lazy(() => CreateDeploymentMicrofrontends2$inboundSchema),
8276
+ z.lazy(() => CreateDeploymentMicrofrontends1$inboundSchema),
7315
8277
  ]);
7316
8278
 
7317
8279
  /** @internal */
7318
8280
  export type CreateDeploymentMicrofrontends$Outbound =
7319
- | CreateDeploymentMicrofrontends1$Outbound
7320
- | CreateDeploymentMicrofrontends2$Outbound;
8281
+ | CreateDeploymentMicrofrontends2$Outbound
8282
+ | CreateDeploymentMicrofrontends1$Outbound;
7321
8283
 
7322
8284
  /** @internal */
7323
8285
  export const CreateDeploymentMicrofrontends$outboundSchema: z.ZodType<
@@ -7325,8 +8287,8 @@ export const CreateDeploymentMicrofrontends$outboundSchema: z.ZodType<
7325
8287
  z.ZodTypeDef,
7326
8288
  CreateDeploymentMicrofrontends
7327
8289
  > = z.union([
7328
- z.lazy(() => CreateDeploymentMicrofrontends1$outboundSchema),
7329
8290
  z.lazy(() => CreateDeploymentMicrofrontends2$outboundSchema),
8291
+ z.lazy(() => CreateDeploymentMicrofrontends1$outboundSchema),
7330
8292
  ]);
7331
8293
 
7332
8294
  /**
@@ -7503,27 +8465,6 @@ export function createDeploymentChecksFromJSON(
7503
8465
  );
7504
8466
  }
7505
8467
 
7506
- /** @internal */
7507
- export const CreateDeploymentPlan$inboundSchema: z.ZodNativeEnum<
7508
- typeof CreateDeploymentPlan
7509
- > = z.nativeEnum(CreateDeploymentPlan);
7510
-
7511
- /** @internal */
7512
- export const CreateDeploymentPlan$outboundSchema: z.ZodNativeEnum<
7513
- typeof CreateDeploymentPlan
7514
- > = CreateDeploymentPlan$inboundSchema;
7515
-
7516
- /**
7517
- * @internal
7518
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
7519
- */
7520
- export namespace CreateDeploymentPlan$ {
7521
- /** @deprecated use `CreateDeploymentPlan$inboundSchema` instead. */
7522
- export const inboundSchema = CreateDeploymentPlan$inboundSchema;
7523
- /** @deprecated use `CreateDeploymentPlan$outboundSchema` instead. */
7524
- export const outboundSchema = CreateDeploymentPlan$outboundSchema;
7525
- }
7526
-
7527
8468
  /** @internal */
7528
8469
  export const CreateDeploymentGitRepoDeploymentsType$inboundSchema:
7529
8470
  z.ZodNativeEnum<typeof CreateDeploymentGitRepoDeploymentsType> = z.nativeEnum(
@@ -7880,16 +8821,16 @@ export function gitRepo1FromJSON(
7880
8821
  /** @internal */
7881
8822
  export const GitRepo$inboundSchema: z.ZodType<GitRepo, z.ZodTypeDef, unknown> =
7882
8823
  z.union([
7883
- z.lazy(() => GitRepo1$inboundSchema),
7884
8824
  z.lazy(() => GitRepo2$inboundSchema),
7885
8825
  z.lazy(() => GitRepo3$inboundSchema),
8826
+ z.lazy(() => GitRepo1$inboundSchema),
7886
8827
  ]);
7887
8828
 
7888
8829
  /** @internal */
7889
8830
  export type GitRepo$Outbound =
7890
- | GitRepo1$Outbound
7891
8831
  | GitRepo2$Outbound
7892
- | GitRepo3$Outbound;
8832
+ | GitRepo3$Outbound
8833
+ | GitRepo1$Outbound;
7893
8834
 
7894
8835
  /** @internal */
7895
8836
  export const GitRepo$outboundSchema: z.ZodType<
@@ -7897,9 +8838,9 @@ export const GitRepo$outboundSchema: z.ZodType<
7897
8838
  z.ZodTypeDef,
7898
8839
  GitRepo
7899
8840
  > = z.union([
7900
- z.lazy(() => GitRepo1$outboundSchema),
7901
8841
  z.lazy(() => GitRepo2$outboundSchema),
7902
8842
  z.lazy(() => GitRepo3$outboundSchema),
8843
+ z.lazy(() => GitRepo1$outboundSchema),
7903
8844
  ]);
7904
8845
 
7905
8846
  /**
@@ -8211,8 +9152,8 @@ export const CreateDeploymentResponseBody$inboundSchema: z.ZodType<
8211
9152
  previewCommentsEnabled: z.boolean().optional(),
8212
9153
  ttyBuildLogs: z.boolean().optional(),
8213
9154
  customEnvironment: z.union([
8214
- z.lazy(() => CustomEnvironment2$inboundSchema),
8215
9155
  z.lazy(() => CustomEnvironment1$inboundSchema),
9156
+ z.lazy(() => CustomEnvironment2$inboundSchema),
8216
9157
  ]).optional(),
8217
9158
  oomReport: OomReport$inboundSchema.optional(),
8218
9159
  id: z.string(),
@@ -8223,18 +9164,18 @@ export const CreateDeploymentResponseBody$inboundSchema: z.ZodType<
8223
9164
  version: z.number(),
8224
9165
  autoAssignCustomDomains: z.boolean().optional(),
8225
9166
  gitSource: z.union([
9167
+ z.lazy(() => CreateDeploymentGitSource10$inboundSchema),
9168
+ z.lazy(() => CreateDeploymentGitSource12$inboundSchema),
9169
+ z.lazy(() => CreateDeploymentGitSource4$inboundSchema),
8226
9170
  z.lazy(() => CreateDeploymentGitSource8$inboundSchema),
9171
+ z.lazy(() => CreateDeploymentGitSource9$inboundSchema),
8227
9172
  z.lazy(() => CreateDeploymentGitSource11$inboundSchema),
8228
- z.lazy(() => CreateDeploymentGitSource1$inboundSchema),
8229
- z.lazy(() => CreateDeploymentGitSource5$inboundSchema),
8230
9173
  z.lazy(() => CreateDeploymentGitSource2$inboundSchema),
8231
9174
  z.lazy(() => CreateDeploymentGitSource3$inboundSchema),
8232
- z.lazy(() => CreateDeploymentGitSource6$inboundSchema),
8233
9175
  z.lazy(() => CreateDeploymentGitSource7$inboundSchema),
8234
- z.lazy(() => CreateDeploymentGitSource9$inboundSchema),
8235
- z.lazy(() => CreateDeploymentGitSource4$inboundSchema),
8236
- z.lazy(() => CreateDeploymentGitSource10$inboundSchema),
8237
- z.lazy(() => CreateDeploymentGitSource12$inboundSchema),
9176
+ z.lazy(() => CreateDeploymentGitSource1$inboundSchema),
9177
+ z.lazy(() => CreateDeploymentGitSource5$inboundSchema),
9178
+ z.lazy(() => CreateDeploymentGitSource6$inboundSchema),
8238
9179
  ]).optional(),
8239
9180
  meta: z.record(z.string()),
8240
9181
  project: z.lazy(() => CreateDeploymentProject$inboundSchema).optional(),
@@ -8265,6 +9206,7 @@ export const CreateDeploymentResponseBody$inboundSchema: z.ZodType<
8265
9206
  projectId: z.string(),
8266
9207
  ownerId: z.string(),
8267
9208
  monorepoManager: z.nullable(z.string()).optional(),
9209
+ plan: CreateDeploymentPlan$inboundSchema,
8268
9210
  config: z.lazy(() => Config$inboundSchema).optional(),
8269
9211
  functions: z.nullable(z.record(z.lazy(() => Functions$inboundSchema)))
8270
9212
  .optional(),
@@ -8272,27 +9214,26 @@ export const CreateDeploymentResponseBody$inboundSchema: z.ZodType<
8272
9214
  z.array(z.union([
8273
9215
  z.lazy(() => Routes3$inboundSchema),
8274
9216
  z.lazy(() =>
8275
- Routes2$inboundSchema
9217
+ Routes1$inboundSchema
8276
9218
  ),
8277
- z.lazy(() => Routes1$inboundSchema),
9219
+ z.lazy(() => Routes2$inboundSchema),
8278
9220
  ])),
8279
9221
  ),
8280
9222
  crons: z.array(z.lazy(() => CreateDeploymentCrons$inboundSchema)).optional(),
8281
9223
  microfrontends: z.union([
8282
- z.lazy(() => CreateDeploymentMicrofrontends1$inboundSchema),
8283
9224
  z.lazy(() => CreateDeploymentMicrofrontends2$inboundSchema),
9225
+ z.lazy(() => CreateDeploymentMicrofrontends1$inboundSchema),
8284
9226
  ]).optional(),
8285
9227
  checks: z.lazy(() => CreateDeploymentChecks$inboundSchema).optional(),
8286
- plan: CreateDeploymentPlan$inboundSchema,
8287
9228
  connectBuildsEnabled: z.boolean().optional(),
8288
9229
  connectConfigurationId: z.string().optional(),
8289
9230
  createdIn: z.string(),
8290
9231
  passiveConnectConfigurationId: z.string().optional(),
8291
9232
  gitRepo: z.nullable(
8292
9233
  z.union([
8293
- z.lazy(() => GitRepo1$inboundSchema),
8294
9234
  z.lazy(() => GitRepo2$inboundSchema),
8295
9235
  z.lazy(() => GitRepo3$inboundSchema),
9236
+ z.lazy(() => GitRepo1$inboundSchema),
8296
9237
  ]),
8297
9238
  ).optional(),
8298
9239
  flags: z.union([
@@ -8334,8 +9275,8 @@ export type CreateDeploymentResponseBody$Outbound = {
8334
9275
  previewCommentsEnabled?: boolean | undefined;
8335
9276
  ttyBuildLogs?: boolean | undefined;
8336
9277
  customEnvironment?:
8337
- | CustomEnvironment2$Outbound
8338
9278
  | CustomEnvironment1$Outbound
9279
+ | CustomEnvironment2$Outbound
8339
9280
  | undefined;
8340
9281
  oomReport?: string | undefined;
8341
9282
  id: string;
@@ -8346,18 +9287,18 @@ export type CreateDeploymentResponseBody$Outbound = {
8346
9287
  version: number;
8347
9288
  autoAssignCustomDomains?: boolean | undefined;
8348
9289
  gitSource?:
9290
+ | CreateDeploymentGitSource10$Outbound
9291
+ | CreateDeploymentGitSource12$Outbound
9292
+ | CreateDeploymentGitSource4$Outbound
8349
9293
  | CreateDeploymentGitSource8$Outbound
9294
+ | CreateDeploymentGitSource9$Outbound
8350
9295
  | CreateDeploymentGitSource11$Outbound
8351
- | CreateDeploymentGitSource1$Outbound
8352
- | CreateDeploymentGitSource5$Outbound
8353
9296
  | CreateDeploymentGitSource2$Outbound
8354
9297
  | CreateDeploymentGitSource3$Outbound
8355
- | CreateDeploymentGitSource6$Outbound
8356
9298
  | CreateDeploymentGitSource7$Outbound
8357
- | CreateDeploymentGitSource9$Outbound
8358
- | CreateDeploymentGitSource4$Outbound
8359
- | CreateDeploymentGitSource10$Outbound
8360
- | CreateDeploymentGitSource12$Outbound
9299
+ | CreateDeploymentGitSource1$Outbound
9300
+ | CreateDeploymentGitSource5$Outbound
9301
+ | CreateDeploymentGitSource6$Outbound
8361
9302
  | undefined;
8362
9303
  meta: { [k: string]: string };
8363
9304
  project?: CreateDeploymentProject$Outbound | undefined;
@@ -8388,24 +9329,24 @@ export type CreateDeploymentResponseBody$Outbound = {
8388
9329
  projectId: string;
8389
9330
  ownerId: string;
8390
9331
  monorepoManager?: string | null | undefined;
9332
+ plan: string;
8391
9333
  config?: Config$Outbound | undefined;
8392
9334
  functions?: { [k: string]: Functions$Outbound } | null | undefined;
8393
- routes: Array<Routes3$Outbound | Routes2$Outbound | Routes1$Outbound> | null;
9335
+ routes: Array<Routes3$Outbound | Routes1$Outbound | Routes2$Outbound> | null;
8394
9336
  crons?: Array<CreateDeploymentCrons$Outbound> | undefined;
8395
9337
  microfrontends?:
8396
- | CreateDeploymentMicrofrontends1$Outbound
8397
9338
  | CreateDeploymentMicrofrontends2$Outbound
9339
+ | CreateDeploymentMicrofrontends1$Outbound
8398
9340
  | undefined;
8399
9341
  checks?: CreateDeploymentChecks$Outbound | undefined;
8400
- plan: string;
8401
9342
  connectBuildsEnabled?: boolean | undefined;
8402
9343
  connectConfigurationId?: string | undefined;
8403
9344
  createdIn: string;
8404
9345
  passiveConnectConfigurationId?: string | undefined;
8405
9346
  gitRepo?:
8406
- | GitRepo1$Outbound
8407
9347
  | GitRepo2$Outbound
8408
9348
  | GitRepo3$Outbound
9349
+ | GitRepo1$Outbound
8409
9350
  | null
8410
9351
  | undefined;
8411
9352
  flags?: Flags1$Outbound | Array<Flags2$Outbound> | undefined;
@@ -8448,8 +9389,8 @@ export const CreateDeploymentResponseBody$outboundSchema: z.ZodType<
8448
9389
  previewCommentsEnabled: z.boolean().optional(),
8449
9390
  ttyBuildLogs: z.boolean().optional(),
8450
9391
  customEnvironment: z.union([
8451
- z.lazy(() => CustomEnvironment2$outboundSchema),
8452
9392
  z.lazy(() => CustomEnvironment1$outboundSchema),
9393
+ z.lazy(() => CustomEnvironment2$outboundSchema),
8453
9394
  ]).optional(),
8454
9395
  oomReport: OomReport$outboundSchema.optional(),
8455
9396
  id: z.string(),
@@ -8460,18 +9401,18 @@ export const CreateDeploymentResponseBody$outboundSchema: z.ZodType<
8460
9401
  version: z.number(),
8461
9402
  autoAssignCustomDomains: z.boolean().optional(),
8462
9403
  gitSource: z.union([
9404
+ z.lazy(() => CreateDeploymentGitSource10$outboundSchema),
9405
+ z.lazy(() => CreateDeploymentGitSource12$outboundSchema),
9406
+ z.lazy(() => CreateDeploymentGitSource4$outboundSchema),
8463
9407
  z.lazy(() => CreateDeploymentGitSource8$outboundSchema),
9408
+ z.lazy(() => CreateDeploymentGitSource9$outboundSchema),
8464
9409
  z.lazy(() => CreateDeploymentGitSource11$outboundSchema),
8465
- z.lazy(() => CreateDeploymentGitSource1$outboundSchema),
8466
- z.lazy(() => CreateDeploymentGitSource5$outboundSchema),
8467
9410
  z.lazy(() => CreateDeploymentGitSource2$outboundSchema),
8468
9411
  z.lazy(() => CreateDeploymentGitSource3$outboundSchema),
8469
- z.lazy(() => CreateDeploymentGitSource6$outboundSchema),
8470
9412
  z.lazy(() => CreateDeploymentGitSource7$outboundSchema),
8471
- z.lazy(() => CreateDeploymentGitSource9$outboundSchema),
8472
- z.lazy(() => CreateDeploymentGitSource4$outboundSchema),
8473
- z.lazy(() => CreateDeploymentGitSource10$outboundSchema),
8474
- z.lazy(() => CreateDeploymentGitSource12$outboundSchema),
9413
+ z.lazy(() => CreateDeploymentGitSource1$outboundSchema),
9414
+ z.lazy(() => CreateDeploymentGitSource5$outboundSchema),
9415
+ z.lazy(() => CreateDeploymentGitSource6$outboundSchema),
8475
9416
  ]).optional(),
8476
9417
  meta: z.record(z.string()),
8477
9418
  project: z.lazy(() => CreateDeploymentProject$outboundSchema).optional(),
@@ -8503,6 +9444,7 @@ export const CreateDeploymentResponseBody$outboundSchema: z.ZodType<
8503
9444
  projectId: z.string(),
8504
9445
  ownerId: z.string(),
8505
9446
  monorepoManager: z.nullable(z.string()).optional(),
9447
+ plan: CreateDeploymentPlan$outboundSchema,
8506
9448
  config: z.lazy(() => Config$outboundSchema).optional(),
8507
9449
  functions: z.nullable(z.record(z.lazy(() => Functions$outboundSchema)))
8508
9450
  .optional(),
@@ -8510,27 +9452,26 @@ export const CreateDeploymentResponseBody$outboundSchema: z.ZodType<
8510
9452
  z.array(z.union([
8511
9453
  z.lazy(() => Routes3$outboundSchema),
8512
9454
  z.lazy(() =>
8513
- Routes2$outboundSchema
9455
+ Routes1$outboundSchema
8514
9456
  ),
8515
- z.lazy(() => Routes1$outboundSchema),
9457
+ z.lazy(() => Routes2$outboundSchema),
8516
9458
  ])),
8517
9459
  ),
8518
9460
  crons: z.array(z.lazy(() => CreateDeploymentCrons$outboundSchema)).optional(),
8519
9461
  microfrontends: z.union([
8520
- z.lazy(() => CreateDeploymentMicrofrontends1$outboundSchema),
8521
9462
  z.lazy(() => CreateDeploymentMicrofrontends2$outboundSchema),
9463
+ z.lazy(() => CreateDeploymentMicrofrontends1$outboundSchema),
8522
9464
  ]).optional(),
8523
9465
  checks: z.lazy(() => CreateDeploymentChecks$outboundSchema).optional(),
8524
- plan: CreateDeploymentPlan$outboundSchema,
8525
9466
  connectBuildsEnabled: z.boolean().optional(),
8526
9467
  connectConfigurationId: z.string().optional(),
8527
9468
  createdIn: z.string(),
8528
9469
  passiveConnectConfigurationId: z.string().optional(),
8529
9470
  gitRepo: z.nullable(
8530
9471
  z.union([
8531
- z.lazy(() => GitRepo1$outboundSchema),
8532
9472
  z.lazy(() => GitRepo2$outboundSchema),
8533
9473
  z.lazy(() => GitRepo3$outboundSchema),
9474
+ z.lazy(() => GitRepo1$outboundSchema),
8534
9475
  ]),
8535
9476
  ).optional(),
8536
9477
  flags: z.union([