@vercel/sdk 1.10.0 → 1.10.2

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 (290) hide show
  1. package/bin/mcp-server.js +3601 -3879
  2. package/bin/mcp-server.js.map +59 -59
  3. package/docs/sdks/accessgroups/README.md +11 -0
  4. package/docs/sdks/aliases/README.md +7 -1
  5. package/docs/sdks/artifacts/README.md +6 -0
  6. package/docs/sdks/authentication/README.md +5 -0
  7. package/docs/sdks/certs/README.md +4 -0
  8. package/docs/sdks/checks/README.md +5 -0
  9. package/docs/sdks/deployments/README.md +18 -0
  10. package/docs/sdks/dns/README.md +4 -0
  11. package/docs/sdks/domains/README.md +10 -0
  12. package/docs/sdks/edgeconfig/README.md +17 -0
  13. package/docs/sdks/environment/README.md +5 -0
  14. package/docs/sdks/integrations/README.md +4 -0
  15. package/docs/sdks/logdrains/README.md +3 -0
  16. package/docs/sdks/logs/README.md +1 -0
  17. package/docs/sdks/marketplace/README.md +20 -0
  18. package/docs/sdks/projectmembers/README.md +3 -0
  19. package/docs/sdks/projects/README.md +24 -0
  20. package/docs/sdks/rollingrelease/README.md +7 -0
  21. package/docs/sdks/security/README.md +8 -0
  22. package/docs/sdks/teams/README.md +13 -0
  23. package/docs/sdks/user/README.md +3 -0
  24. package/docs/sdks/webhooks/README.md +4 -0
  25. package/esm/__tests__/aliases.test.js +16 -16
  26. package/esm/__tests__/aliases.test.js.map +1 -1
  27. package/esm/__tests__/security.test.js +13 -1
  28. package/esm/__tests__/security.test.js.map +1 -1
  29. package/esm/funcs/aliasesGetAlias.d.ts +2 -2
  30. package/esm/funcs/aliasesGetAlias.d.ts.map +1 -1
  31. package/esm/funcs/aliasesGetAlias.js +3 -2
  32. package/esm/funcs/aliasesGetAlias.js.map +1 -1
  33. package/esm/funcs/checksRerequestCheck.js +1 -0
  34. package/esm/funcs/checksRerequestCheck.js.map +1 -1
  35. package/esm/funcs/domainsBuyDomain.js +2 -2
  36. package/esm/funcs/domainsBuyDomain.js.map +1 -1
  37. package/esm/funcs/domainsGetDomainConfig.js +2 -2
  38. package/esm/funcs/domainsGetDomainConfig.js.map +1 -1
  39. package/esm/funcs/domainsPatchDomain.js +2 -2
  40. package/esm/funcs/domainsPatchDomain.js.map +1 -1
  41. package/esm/funcs/edgeConfigPatchEdgeConfigItems.js +2 -3
  42. package/esm/funcs/edgeConfigPatchEdgeConfigItems.js.map +1 -1
  43. package/esm/funcs/marketplaceUpdateInstallationIntegrationEdgeConfig.js +2 -2
  44. package/esm/funcs/marketplaceUpdateInstallationIntegrationEdgeConfig.js.map +1 -1
  45. package/esm/funcs/projectsAcceptProjectTransferRequest.js +2 -2
  46. package/esm/funcs/projectsAcceptProjectTransferRequest.js.map +1 -1
  47. package/esm/funcs/projectsCreateProject.js +2 -2
  48. package/esm/funcs/projectsCreateProject.js.map +1 -1
  49. package/esm/funcs/teamsPatchTeam.js +2 -2
  50. package/esm/funcs/teamsPatchTeam.js.map +1 -1
  51. package/esm/lib/config.d.ts +3 -3
  52. package/esm/lib/config.js +3 -3
  53. package/esm/mcp-server/mcp-server.js +1 -1
  54. package/esm/mcp-server/server.js +1 -1
  55. package/esm/models/acceptprojecttransferrequestop.d.ts +176 -2
  56. package/esm/models/acceptprojecttransferrequestop.d.ts.map +1 -1
  57. package/esm/models/acceptprojecttransferrequestop.js +176 -2
  58. package/esm/models/acceptprojecttransferrequestop.js.map +1 -1
  59. package/esm/models/addbypassipop.d.ts +38 -38
  60. package/esm/models/addbypassipop.d.ts.map +1 -1
  61. package/esm/models/addbypassipop.js +44 -42
  62. package/esm/models/addbypassipop.js.map +1 -1
  63. package/esm/models/authtoken.d.ts +10 -4
  64. package/esm/models/authtoken.d.ts.map +1 -1
  65. package/esm/models/authtoken.js +6 -4
  66. package/esm/models/authtoken.js.map +1 -1
  67. package/esm/models/authuser.d.ts +54 -0
  68. package/esm/models/authuser.d.ts.map +1 -1
  69. package/esm/models/authuser.js +34 -0
  70. package/esm/models/authuser.js.map +1 -1
  71. package/esm/models/canceldeploymentop.d.ts +385 -148
  72. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  73. package/esm/models/canceldeploymentop.js +363 -148
  74. package/esm/models/canceldeploymentop.js.map +1 -1
  75. package/esm/models/createcustomenvironmentop.d.ts +3 -3
  76. package/esm/models/createcustomenvironmentop.js +1 -1
  77. package/esm/models/createcustomenvironmentop.js.map +1 -1
  78. package/esm/models/createdeploymentop.d.ts +604 -344
  79. package/esm/models/createdeploymentop.d.ts.map +1 -1
  80. package/esm/models/createdeploymentop.js +501 -274
  81. package/esm/models/createdeploymentop.js.map +1 -1
  82. package/esm/models/createlogdrainop.d.ts +2 -2
  83. package/esm/models/createlogdrainop.d.ts.map +1 -1
  84. package/esm/models/createlogdrainop.js +2 -2
  85. package/esm/models/createlogdrainop.js.map +1 -1
  86. package/esm/models/createprojectenvop.d.ts +6 -6
  87. package/esm/models/createprojectenvop.js +2 -2
  88. package/esm/models/createprojectenvop.js.map +1 -1
  89. package/esm/models/createprojectop.d.ts +378 -797
  90. package/esm/models/createprojectop.d.ts.map +1 -1
  91. package/esm/models/createprojectop.js +344 -718
  92. package/esm/models/createprojectop.js.map +1 -1
  93. package/esm/models/createwebhookop.d.ts +12 -0
  94. package/esm/models/createwebhookop.d.ts.map +1 -1
  95. package/esm/models/createwebhookop.js +4 -0
  96. package/esm/models/createwebhookop.js.map +1 -1
  97. package/esm/models/editprojectenvop.d.ts +3 -3
  98. package/esm/models/editprojectenvop.js +1 -1
  99. package/esm/models/editprojectenvop.js.map +1 -1
  100. package/esm/models/exchangessotokenop.d.ts +4 -4
  101. package/esm/models/exchangessotokenop.d.ts.map +1 -1
  102. package/esm/models/exchangessotokenop.js +4 -4
  103. package/esm/models/exchangessotokenop.js.map +1 -1
  104. package/esm/models/filterprojectenvsop.d.ts +9 -9
  105. package/esm/models/filterprojectenvsop.js +3 -3
  106. package/esm/models/filterprojectenvsop.js.map +1 -1
  107. package/esm/models/getaliasop.d.ts +0 -555
  108. package/esm/models/getaliasop.d.ts.map +1 -1
  109. package/esm/models/getaliasop.js +0 -449
  110. package/esm/models/getaliasop.js.map +1 -1
  111. package/esm/models/getbypassipop.d.ts +55 -179
  112. package/esm/models/getbypassipop.d.ts.map +1 -1
  113. package/esm/models/getbypassipop.js +59 -221
  114. package/esm/models/getbypassipop.js.map +1 -1
  115. package/esm/models/getcustomenvironmentop.d.ts +3 -3
  116. package/esm/models/getcustomenvironmentop.js +1 -1
  117. package/esm/models/getcustomenvironmentop.js.map +1 -1
  118. package/esm/models/getdeploymentop.d.ts +847 -366
  119. package/esm/models/getdeploymentop.d.ts.map +1 -1
  120. package/esm/models/getdeploymentop.js +772 -332
  121. package/esm/models/getdeploymentop.js.map +1 -1
  122. package/esm/models/getdeploymentsop.d.ts +3 -0
  123. package/esm/models/getdeploymentsop.d.ts.map +1 -1
  124. package/esm/models/getdeploymentsop.js +1 -0
  125. package/esm/models/getdeploymentsop.js.map +1 -1
  126. package/esm/models/getfirewallconfigop.d.ts +3 -0
  127. package/esm/models/getfirewallconfigop.d.ts.map +1 -1
  128. package/esm/models/getfirewallconfigop.js +1 -0
  129. package/esm/models/getfirewallconfigop.js.map +1 -1
  130. package/esm/models/getintegrationlogdrainsop.d.ts +2 -2
  131. package/esm/models/getintegrationlogdrainsop.d.ts.map +1 -1
  132. package/esm/models/getintegrationlogdrainsop.js +4 -2
  133. package/esm/models/getintegrationlogdrainsop.js.map +1 -1
  134. package/esm/models/getprojectmembersop.d.ts +3 -0
  135. package/esm/models/getprojectmembersop.d.ts.map +1 -1
  136. package/esm/models/getprojectmembersop.js +1 -0
  137. package/esm/models/getprojectmembersop.js.map +1 -1
  138. package/esm/models/getprojectsop.d.ts +218 -643
  139. package/esm/models/getprojectsop.d.ts.map +1 -1
  140. package/esm/models/getprojectsop.js +197 -573
  141. package/esm/models/getprojectsop.js.map +1 -1
  142. package/esm/models/getrecordsop.d.ts +8 -0
  143. package/esm/models/getrecordsop.d.ts.map +1 -1
  144. package/esm/models/getrecordsop.js +8 -0
  145. package/esm/models/getrecordsop.js.map +1 -1
  146. package/esm/models/getteammembersop.d.ts +6 -0
  147. package/esm/models/getteammembersop.d.ts.map +1 -1
  148. package/esm/models/getteammembersop.js +2 -0
  149. package/esm/models/getteammembersop.js.map +1 -1
  150. package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts +3 -3
  151. package/esm/models/getv9projectsidornamecustomenvironmentsop.js +1 -1
  152. package/esm/models/getv9projectsidornamecustomenvironmentsop.js.map +1 -1
  153. package/esm/models/getwebhookop.d.ts +6 -0
  154. package/esm/models/getwebhookop.d.ts.map +1 -1
  155. package/esm/models/getwebhookop.js +2 -0
  156. package/esm/models/getwebhookop.js.map +1 -1
  157. package/esm/models/getwebhooksop.d.ts +15 -0
  158. package/esm/models/getwebhooksop.d.ts.map +1 -1
  159. package/esm/models/getwebhooksop.js +5 -0
  160. package/esm/models/getwebhooksop.js.map +1 -1
  161. package/esm/models/inviteusertoteamop.d.ts +33 -0
  162. package/esm/models/inviteusertoteamop.d.ts.map +1 -1
  163. package/esm/models/inviteusertoteamop.js +11 -0
  164. package/esm/models/inviteusertoteamop.js.map +1 -1
  165. package/esm/models/listaccessgroupmembersop.d.ts +3 -0
  166. package/esm/models/listaccessgroupmembersop.d.ts.map +1 -1
  167. package/esm/models/listaccessgroupmembersop.js +1 -0
  168. package/esm/models/listaccessgroupmembersop.js.map +1 -1
  169. package/esm/models/listaliasesop.d.ts +141 -39
  170. package/esm/models/listaliasesop.d.ts.map +1 -1
  171. package/esm/models/listaliasesop.js +132 -35
  172. package/esm/models/listaliasesop.js.map +1 -1
  173. package/esm/models/listdeploymentaliasesop.d.ts +30 -30
  174. package/esm/models/listdeploymentaliasesop.d.ts.map +1 -1
  175. package/esm/models/listdeploymentaliasesop.js +34 -34
  176. package/esm/models/listdeploymentaliasesop.js.map +1 -1
  177. package/esm/models/patchedgeconfigitemsop.d.ts +0 -4
  178. package/esm/models/patchedgeconfigitemsop.d.ts.map +1 -1
  179. package/esm/models/patchedgeconfigitemsop.js +0 -4
  180. package/esm/models/patchedgeconfigitemsop.js.map +1 -1
  181. package/esm/models/patchteamop.d.ts +185 -0
  182. package/esm/models/patchteamop.d.ts.map +1 -1
  183. package/esm/models/patchteamop.js +132 -0
  184. package/esm/models/patchteamop.js.map +1 -1
  185. package/esm/models/putfirewallconfigop.d.ts +3 -0
  186. package/esm/models/putfirewallconfigop.d.ts.map +1 -1
  187. package/esm/models/putfirewallconfigop.js +1 -0
  188. package/esm/models/putfirewallconfigop.js.map +1 -1
  189. package/esm/models/removecustomenvironmentop.d.ts +3 -3
  190. package/esm/models/removecustomenvironmentop.js +1 -1
  191. package/esm/models/removecustomenvironmentop.js.map +1 -1
  192. package/esm/models/removeprojectenvop.d.ts +9 -9
  193. package/esm/models/removeprojectenvop.js +3 -3
  194. package/esm/models/removeprojectenvop.js.map +1 -1
  195. package/esm/models/rerequestcheckop.d.ts +5 -0
  196. package/esm/models/rerequestcheckop.d.ts.map +1 -1
  197. package/esm/models/rerequestcheckop.js +2 -0
  198. package/esm/models/rerequestcheckop.js.map +1 -1
  199. package/esm/models/team.d.ts +142 -0
  200. package/esm/models/team.d.ts.map +1 -1
  201. package/esm/models/team.js +111 -0
  202. package/esm/models/team.js.map +1 -1
  203. package/esm/models/teamlimited.d.ts +15 -0
  204. package/esm/models/teamlimited.d.ts.map +1 -1
  205. package/esm/models/teamlimited.js +5 -0
  206. package/esm/models/teamlimited.js.map +1 -1
  207. package/esm/models/updatecustomenvironmentop.d.ts +3 -3
  208. package/esm/models/updatecustomenvironmentop.js +1 -1
  209. package/esm/models/updatecustomenvironmentop.js.map +1 -1
  210. package/esm/models/updateprojectdatacacheop.d.ts +226 -651
  211. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  212. package/esm/models/updateprojectdatacacheop.js +209 -604
  213. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  214. package/esm/models/updateprojectop.d.ts +221 -643
  215. package/esm/models/updateprojectop.d.ts.map +1 -1
  216. package/esm/models/updateprojectop.js +198 -573
  217. package/esm/models/updateprojectop.js.map +1 -1
  218. package/esm/models/userevent.d.ts +1629 -1433
  219. package/esm/models/userevent.d.ts.map +1 -1
  220. package/esm/models/userevent.js +2023 -1841
  221. package/esm/models/userevent.js.map +1 -1
  222. package/esm/sdk/aliases.d.ts +2 -2
  223. package/esm/sdk/aliases.d.ts.map +1 -1
  224. package/examples/README.md +5 -0
  225. package/examples/package-lock.json +8 -7
  226. package/examples/projectsUpdateProject.example.ts +2 -0
  227. package/jsr.json +1 -1
  228. package/package.json +6 -8
  229. package/src/__tests__/aliases.test.ts +16 -16
  230. package/src/__tests__/security.test.ts +13 -1
  231. package/src/funcs/aliasesGetAlias.ts +5 -6
  232. package/src/funcs/checksRerequestCheck.ts +1 -0
  233. package/src/funcs/domainsBuyDomain.ts +2 -2
  234. package/src/funcs/domainsGetDomainConfig.ts +2 -2
  235. package/src/funcs/domainsPatchDomain.ts +2 -2
  236. package/src/funcs/edgeConfigPatchEdgeConfigItems.ts +2 -3
  237. package/src/funcs/marketplaceUpdateInstallationIntegrationEdgeConfig.ts +2 -2
  238. package/src/funcs/projectsAcceptProjectTransferRequest.ts +2 -2
  239. package/src/funcs/projectsCreateProject.ts +2 -2
  240. package/src/funcs/teamsPatchTeam.ts +2 -2
  241. package/src/lib/config.ts +3 -3
  242. package/src/mcp-server/mcp-server.ts +1 -1
  243. package/src/mcp-server/server.ts +1 -1
  244. package/src/models/acceptprojecttransferrequestop.ts +449 -4
  245. package/src/models/addbypassipop.ts +69 -78
  246. package/src/models/authtoken.ts +10 -8
  247. package/src/models/authuser.ts +93 -0
  248. package/src/models/canceldeploymentop.ts +734 -295
  249. package/src/models/createcustomenvironmentop.ts +1 -1
  250. package/src/models/createdeploymentop.ts +1122 -641
  251. package/src/models/createlogdrainop.ts +4 -4
  252. package/src/models/createprojectenvop.ts +2 -2
  253. package/src/models/createprojectop.ts +734 -1475
  254. package/src/models/createwebhookop.ts +4 -0
  255. package/src/models/editprojectenvop.ts +1 -1
  256. package/src/models/exchangessotokenop.ts +8 -8
  257. package/src/models/filterprojectenvsop.ts +3 -3
  258. package/src/models/getaliasop.ts +0 -1042
  259. package/src/models/getbypassipop.ts +100 -404
  260. package/src/models/getcustomenvironmentop.ts +1 -1
  261. package/src/models/getdeploymentop.ts +1761 -780
  262. package/src/models/getdeploymentsop.ts +1 -0
  263. package/src/models/getfirewallconfigop.ts +1 -0
  264. package/src/models/getintegrationlogdrainsop.ts +6 -4
  265. package/src/models/getprojectmembersop.ts +1 -0
  266. package/src/models/getprojectsop.ts +612 -1335
  267. package/src/models/getrecordsop.ts +16 -0
  268. package/src/models/getteammembersop.ts +2 -0
  269. package/src/models/getv9projectsidornamecustomenvironmentsop.ts +1 -1
  270. package/src/models/getwebhookop.ts +2 -0
  271. package/src/models/getwebhooksop.ts +5 -0
  272. package/src/models/inviteusertoteamop.ts +11 -0
  273. package/src/models/listaccessgroupmembersop.ts +1 -0
  274. package/src/models/listaliasesop.ts +290 -74
  275. package/src/models/listdeploymentaliasesop.ts +58 -70
  276. package/src/models/patchedgeconfigitemsop.ts +0 -8
  277. package/src/models/patchteamop.ts +311 -0
  278. package/src/models/putfirewallconfigop.ts +1 -0
  279. package/src/models/removecustomenvironmentop.ts +1 -1
  280. package/src/models/removeprojectenvop.ts +3 -3
  281. package/src/models/rerequestcheckop.ts +7 -0
  282. package/src/models/team.ts +240 -0
  283. package/src/models/teamlimited.ts +5 -0
  284. package/src/models/updatecustomenvironmentop.ts +1 -1
  285. package/src/models/updateprojectdatacacheop.ts +684 -1411
  286. package/src/models/updateprojectop.ts +601 -1343
  287. package/src/models/userevent.ts +3615 -3202
  288. package/src/sdk/aliases.ts +2 -2
  289. package/temp/example.ts +11 -0
  290. package/vercel-spec.json +2337 -2625
@@ -123,6 +123,22 @@ export type GitMetadata = {
123
123
  * Whether or not there have been modifications to the working tree since the latest commit
124
124
  */
125
125
  dirty?: boolean | undefined;
126
+ /**
127
+ * True if process.env.CI was set when deploying
128
+ */
129
+ ci?: boolean | undefined;
130
+ /**
131
+ * The type of CI system used
132
+ */
133
+ ciType?: string | undefined;
134
+ /**
135
+ * The username used for the Git Provider (e.g. GitHub) if their CI (e.g. GitHub Actions) was used, if available
136
+ */
137
+ ciGitProviderUsername?: string | undefined;
138
+ /**
139
+ * The visibility of the Git repository if their CI (e.g. GitHub Actions) was used, if available
140
+ */
141
+ ciGitRepoVisibility?: string | undefined;
126
142
  };
127
143
 
128
144
  export const CreateDeploymentGitSourceDeploymentsRequestType = {
@@ -260,6 +276,7 @@ export const Framework = {
260
276
  Sanity: "sanity",
261
277
  Storybook: "storybook",
262
278
  Nitro: "nitro",
279
+ Hono: "hono",
263
280
  } as const;
264
281
  /**
265
282
  * The framework that is being used for this project. When `null` is used no framework is selected
@@ -470,6 +487,7 @@ export const CreateDeploymentFramework = {
470
487
  Sanity: "sanity",
471
488
  Storybook: "storybook",
472
489
  Nitro: "nitro",
490
+ Hono: "hono",
473
491
  } as const;
474
492
  export type CreateDeploymentFramework = ClosedEnum<
475
493
  typeof CreateDeploymentFramework
@@ -504,11 +522,11 @@ export type CreateDeploymentProjectSettings = {
504
522
  };
505
523
 
506
524
  export const CreateDeploymentDeploymentsStatus = {
525
+ Error: "error",
526
+ Timeout: "timeout",
507
527
  Skipped: "skipped",
508
528
  Pending: "pending",
509
529
  Ready: "ready",
510
- Error: "error",
511
- Timeout: "timeout",
512
530
  } as const;
513
531
  export type CreateDeploymentDeploymentsStatus = ClosedEnum<
514
532
  typeof CreateDeploymentDeploymentsStatus
@@ -600,8 +618,8 @@ export type Creator = {
600
618
  };
601
619
 
602
620
  export const CreateDeploymentReadyState = {
603
- Building: "BUILDING",
604
621
  Error: "ERROR",
622
+ Building: "BUILDING",
605
623
  Initializing: "INITIALIZING",
606
624
  Ready: "READY",
607
625
  } as const;
@@ -620,8 +638,8 @@ export type CreateDeploymentOutput = {
620
638
  export type Lambdas = {
621
639
  id?: string | undefined;
622
640
  createdAt?: number | undefined;
623
- entrypoint?: string | null | undefined;
624
641
  readyState?: CreateDeploymentReadyState | undefined;
642
+ entrypoint?: string | null | undefined;
625
643
  readyStateAt?: number | undefined;
626
644
  output: Array<CreateDeploymentOutput>;
627
645
  };
@@ -776,18 +794,18 @@ export const CreateDeploymentType = {
776
794
  } as const;
777
795
  export type CreateDeploymentType = ClosedEnum<typeof CreateDeploymentType>;
778
796
 
779
- export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type =
797
+ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type =
780
798
  {
781
799
  Bitbucket: "bitbucket",
782
800
  } as const;
783
- export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type =
801
+ export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type =
784
802
  ClosedEnum<
785
- typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type
803
+ typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type
786
804
  >;
787
805
 
788
- export type CreateDeploymentGitSource12 = {
806
+ export type CreateDeploymentGitSource15 = {
789
807
  type:
790
- CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type;
808
+ CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type;
791
809
  ref: string;
792
810
  sha: string;
793
811
  owner?: string | undefined;
@@ -796,35 +814,54 @@ export type CreateDeploymentGitSource12 = {
796
814
  repoUuid: string;
797
815
  };
798
816
 
799
- export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type =
817
+ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type =
800
818
  {
801
819
  Gitlab: "gitlab",
802
820
  } as const;
803
- export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type =
821
+ export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type =
804
822
  ClosedEnum<
805
- typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type
823
+ typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type
806
824
  >;
807
825
 
808
- export type CreateDeploymentGitSource11 = {
826
+ export type CreateDeploymentGitSource14 = {
809
827
  type:
810
- CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type;
828
+ CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type;
811
829
  ref: string;
812
830
  sha: string;
813
831
  projectId: number;
814
832
  };
815
833
 
816
- export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type =
834
+ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type =
835
+ {
836
+ GithubLimited: "github-limited",
837
+ } as const;
838
+ export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type =
839
+ ClosedEnum<
840
+ typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type
841
+ >;
842
+
843
+ export type CreateDeploymentGitSource13 = {
844
+ type:
845
+ CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type;
846
+ ref: string;
847
+ sha: string;
848
+ repoId: number;
849
+ org?: string | undefined;
850
+ repo?: string | undefined;
851
+ };
852
+
853
+ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type =
817
854
  {
818
855
  GithubCustomHost: "github-custom-host",
819
856
  } as const;
820
- export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type =
857
+ export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type =
821
858
  ClosedEnum<
822
- typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type
859
+ typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type
823
860
  >;
824
861
 
825
- export type CreateDeploymentGitSource10 = {
862
+ export type CreateDeploymentGitSource12 = {
826
863
  type:
827
- CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type;
864
+ CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type;
828
865
  host: string;
829
866
  ref: string;
830
867
  sha: string;
@@ -833,18 +870,18 @@ export type CreateDeploymentGitSource10 = {
833
870
  repo?: string | undefined;
834
871
  };
835
872
 
836
- export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type =
873
+ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type =
837
874
  {
838
875
  Github: "github",
839
876
  } as const;
840
- export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type =
877
+ export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type =
841
878
  ClosedEnum<
842
- typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type
879
+ typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type
843
880
  >;
844
881
 
845
- export type CreateDeploymentGitSource9 = {
882
+ export type CreateDeploymentGitSource11 = {
846
883
  type:
847
- CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type;
884
+ CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type;
848
885
  ref: string;
849
886
  sha: string;
850
887
  repoId: number;
@@ -852,40 +889,79 @@ export type CreateDeploymentGitSource9 = {
852
889
  repo?: string | undefined;
853
890
  };
854
891
 
855
- export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type =
892
+ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type =
856
893
  {
857
894
  Custom: "custom",
858
895
  } as const;
859
- export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type =
896
+ export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type =
860
897
  ClosedEnum<
861
- typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type
898
+ typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type
862
899
  >;
863
900
 
864
901
  /**
865
902
  * Allows custom git sources (local folder mounted to the container) in test mode
866
903
  */
867
- export type CreateDeploymentGitSource8 = {
904
+ export type CreateDeploymentGitSource10 = {
868
905
  type:
869
- CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type;
906
+ CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type;
870
907
  ref: string;
871
908
  sha: string;
872
909
  gitUrl: string;
873
910
  };
874
911
 
875
- export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type =
912
+ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type =
913
+ {
914
+ Bitbucket: "bitbucket",
915
+ } as const;
916
+ export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type =
917
+ ClosedEnum<
918
+ typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type
919
+ >;
920
+
921
+ export type CreateDeploymentGitSource9 = {
922
+ type:
923
+ CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type;
924
+ owner: string;
925
+ slug: string;
926
+ ref?: string | null | undefined;
927
+ sha?: string | undefined;
928
+ prId?: number | null | undefined;
929
+ };
930
+
931
+ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type =
876
932
  {
877
933
  Bitbucket: "bitbucket",
878
934
  } as const;
935
+ export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type =
936
+ ClosedEnum<
937
+ typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type
938
+ >;
939
+
940
+ export type CreateDeploymentGitSource8 = {
941
+ type:
942
+ CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type;
943
+ workspaceUuid?: string | undefined;
944
+ repoUuid: string;
945
+ ref?: string | null | undefined;
946
+ sha?: string | undefined;
947
+ prId?: number | null | undefined;
948
+ };
949
+
950
+ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type =
951
+ {
952
+ Gitlab: "gitlab",
953
+ } as const;
879
954
  export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type =
880
955
  ClosedEnum<
881
956
  typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type
882
957
  >;
883
958
 
959
+ export type GitSourceProjectId = string | number;
960
+
884
961
  export type CreateDeploymentGitSource7 = {
885
962
  type:
886
963
  CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type;
887
- owner: string;
888
- slug: string;
964
+ projectId: string | number;
889
965
  ref?: string | null | undefined;
890
966
  sha?: string | undefined;
891
967
  prId?: number | null | undefined;
@@ -893,7 +969,7 @@ export type CreateDeploymentGitSource7 = {
893
969
 
894
970
  export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type =
895
971
  {
896
- Bitbucket: "bitbucket",
972
+ GithubLimited: "github-limited",
897
973
  } as const;
898
974
  export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type =
899
975
  ClosedEnum<
@@ -903,8 +979,8 @@ export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespon
903
979
  export type CreateDeploymentGitSource6 = {
904
980
  type:
905
981
  CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type;
906
- workspaceUuid?: string | undefined;
907
- repoUuid: string;
982
+ org: string;
983
+ repo: string;
908
984
  ref?: string | null | undefined;
909
985
  sha?: string | undefined;
910
986
  prId?: number | null | undefined;
@@ -912,19 +988,19 @@ export type CreateDeploymentGitSource6 = {
912
988
 
913
989
  export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type =
914
990
  {
915
- Gitlab: "gitlab",
991
+ GithubLimited: "github-limited",
916
992
  } as const;
917
993
  export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type =
918
994
  ClosedEnum<
919
995
  typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type
920
996
  >;
921
997
 
922
- export type GitSourceProjectId = string | number;
998
+ export type CreateDeploymentGitSourceDeploymentsRepoId = string | number;
923
999
 
924
1000
  export type CreateDeploymentGitSource5 = {
925
1001
  type:
926
1002
  CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type;
927
- projectId: string | number;
1003
+ repoId: string | number;
928
1004
  ref?: string | null | undefined;
929
1005
  sha?: string | undefined;
930
1006
  prId?: number | null | undefined;
@@ -1004,18 +1080,21 @@ export type CreateDeploymentGitSource1 = {
1004
1080
  };
1005
1081
 
1006
1082
  export type CreateDeploymentGitSource =
1007
- | CreateDeploymentGitSource10
1008
1083
  | CreateDeploymentGitSource12
1084
+ | CreateDeploymentGitSource15
1009
1085
  | CreateDeploymentGitSource4
1010
- | CreateDeploymentGitSource8
1011
- | CreateDeploymentGitSource9
1086
+ | CreateDeploymentGitSource10
1012
1087
  | CreateDeploymentGitSource11
1088
+ | CreateDeploymentGitSource13
1089
+ | CreateDeploymentGitSource14
1013
1090
  | CreateDeploymentGitSource2
1014
1091
  | CreateDeploymentGitSource3
1015
- | CreateDeploymentGitSource7
1092
+ | CreateDeploymentGitSource6
1093
+ | CreateDeploymentGitSource9
1016
1094
  | CreateDeploymentGitSource1
1017
1095
  | CreateDeploymentGitSource5
1018
- | CreateDeploymentGitSource6;
1096
+ | CreateDeploymentGitSource7
1097
+ | CreateDeploymentGitSource8;
1019
1098
 
1020
1099
  export type CreateDeploymentProject = {
1021
1100
  id: string;
@@ -1023,6 +1102,26 @@ export type CreateDeploymentProject = {
1023
1102
  framework?: string | null | undefined;
1024
1103
  };
1025
1104
 
1105
+ /**
1106
+ * If set it overrides the `projectSettings.nodeVersion` for this deployment.
1107
+ */
1108
+ export const CreateDeploymentNodeVersion = {
1109
+ TwentyTwoDotX: "22.x",
1110
+ TwentyDotX: "20.x",
1111
+ EighteenDotX: "18.x",
1112
+ SixteenDotX: "16.x",
1113
+ FourteenDotX: "14.x",
1114
+ TwelveDotX: "12.x",
1115
+ TenDotX: "10.x",
1116
+ EightDot10DotX: "8.10.x",
1117
+ } as const;
1118
+ /**
1119
+ * If set it overrides the `projectSettings.nodeVersion` for this deployment.
1120
+ */
1121
+ export type CreateDeploymentNodeVersion = ClosedEnum<
1122
+ typeof CreateDeploymentNodeVersion
1123
+ >;
1124
+
1026
1125
  export const ReadyState = {
1027
1126
  Canceled: "CANCELED",
1028
1127
  Error: "ERROR",
@@ -1104,21 +1203,21 @@ export type OidcTokenClaims = {
1104
1203
  };
1105
1204
 
1106
1205
  export const CreateDeploymentPlan = {
1206
+ Hobby: "hobby",
1107
1207
  Pro: "pro",
1108
1208
  Enterprise: "enterprise",
1109
- Hobby: "hobby",
1110
1209
  } as const;
1111
1210
  export type CreateDeploymentPlan = ClosedEnum<typeof CreateDeploymentPlan>;
1112
1211
 
1113
1212
  export const FunctionType = {
1114
- Fluid: "fluid",
1115
1213
  Standard: "standard",
1214
+ Fluid: "fluid",
1116
1215
  } as const;
1117
1216
  export type FunctionType = ClosedEnum<typeof FunctionType>;
1118
1217
 
1119
1218
  export const FunctionMemoryType = {
1120
- Standard: "standard",
1121
1219
  StandardLegacy: "standard_legacy",
1220
+ Standard: "standard",
1122
1221
  Performance: "performance",
1123
1222
  } as const;
1124
1223
  export type FunctionMemoryType = ClosedEnum<typeof FunctionMemoryType>;
@@ -1201,18 +1300,18 @@ export type Routes3 = {
1201
1300
  middleware: number;
1202
1301
  };
1203
1302
 
1204
- export const RoutesHandle = {
1205
- Error: "error",
1303
+ export const Handle = {
1206
1304
  Filesystem: "filesystem",
1305
+ Error: "error",
1207
1306
  Hit: "hit",
1208
1307
  Miss: "miss",
1209
- Rewrite: "rewrite",
1210
1308
  Resource: "resource",
1309
+ Rewrite: "rewrite",
1211
1310
  } as const;
1212
- export type RoutesHandle = ClosedEnum<typeof RoutesHandle>;
1311
+ export type Handle = ClosedEnum<typeof Handle>;
1213
1312
 
1214
1313
  export type Routes2 = {
1215
- handle: RoutesHandle;
1314
+ handle: Handle;
1216
1315
  src?: string | undefined;
1217
1316
  dest?: string | undefined;
1218
1317
  status?: number | undefined;
@@ -1229,7 +1328,7 @@ export type CreateDeploymentHasType = ClosedEnum<
1229
1328
 
1230
1329
  export type ValueEq = string | number;
1231
1330
 
1232
- export type CreateDeploymentValueDeployments2 = {
1331
+ export type CreateDeploymentValue2 = {
1233
1332
  eq?: string | number | undefined;
1234
1333
  neq?: string | undefined;
1235
1334
  inc?: Array<string> | undefined;
@@ -1243,14 +1342,12 @@ export type CreateDeploymentValueDeployments2 = {
1243
1342
  lte?: number | undefined;
1244
1343
  };
1245
1344
 
1246
- export type CreateDeploymentHasValue =
1247
- | CreateDeploymentValueDeployments2
1248
- | string;
1345
+ export type HasValue = CreateDeploymentValue2 | string;
1249
1346
 
1250
1347
  export type Has2 = {
1251
1348
  type: CreateDeploymentHasType;
1252
1349
  key: string;
1253
- value?: CreateDeploymentValueDeployments2 | string | undefined;
1350
+ value?: CreateDeploymentValue2 | string | undefined;
1254
1351
  };
1255
1352
 
1256
1353
  export const HasType = {
@@ -1260,7 +1357,7 @@ export type HasType = ClosedEnum<typeof HasType>;
1260
1357
 
1261
1358
  export type Eq = string | number;
1262
1359
 
1263
- export type CreateDeploymentValue2 = {
1360
+ export type CreateDeploymentValueDeploymentsResponse2002 = {
1264
1361
  eq?: string | number | undefined;
1265
1362
  neq?: string | undefined;
1266
1363
  inc?: Array<string> | undefined;
@@ -1274,14 +1371,16 @@ export type CreateDeploymentValue2 = {
1274
1371
  lte?: number | undefined;
1275
1372
  };
1276
1373
 
1277
- export type HasValue = CreateDeploymentValue2 | string;
1374
+ export type CreateDeploymentHasValue =
1375
+ | CreateDeploymentValueDeploymentsResponse2002
1376
+ | string;
1278
1377
 
1279
1378
  export type Has1 = {
1280
1379
  type: HasType;
1281
- value: CreateDeploymentValue2 | string;
1380
+ value: CreateDeploymentValueDeploymentsResponse2002 | string;
1282
1381
  };
1283
1382
 
1284
- export type RoutesHas = Has1 | Has2;
1383
+ export type Has = Has1 | Has2;
1285
1384
 
1286
1385
  export const CreateDeploymentMissingType = {
1287
1386
  Header: "header",
@@ -1294,7 +1393,7 @@ export type CreateDeploymentMissingType = ClosedEnum<
1294
1393
 
1295
1394
  export type CreateDeploymentValueDeploymentsEq = string | number;
1296
1395
 
1297
- export type CreateDeploymentValueDeploymentsResponse2002 = {
1396
+ export type CreateDeploymentValueDeploymentsResponse2 = {
1298
1397
  eq?: string | number | undefined;
1299
1398
  neq?: string | undefined;
1300
1399
  inc?: Array<string> | undefined;
@@ -1309,13 +1408,13 @@ export type CreateDeploymentValueDeploymentsResponse2002 = {
1309
1408
  };
1310
1409
 
1311
1410
  export type CreateDeploymentMissingValue =
1312
- | CreateDeploymentValueDeploymentsResponse2002
1411
+ | CreateDeploymentValueDeploymentsResponse2
1313
1412
  | string;
1314
1413
 
1315
1414
  export type Missing2 = {
1316
1415
  type: CreateDeploymentMissingType;
1317
1416
  key: string;
1318
- value?: CreateDeploymentValueDeploymentsResponse2002 | string | undefined;
1417
+ value?: CreateDeploymentValueDeploymentsResponse2 | string | undefined;
1319
1418
  };
1320
1419
 
1321
1420
  export const MissingType = {
@@ -1325,7 +1424,7 @@ export type MissingType = ClosedEnum<typeof MissingType>;
1325
1424
 
1326
1425
  export type CreateDeploymentValueEq = string | number;
1327
1426
 
1328
- export type CreateDeploymentValueDeploymentsResponse2 = {
1427
+ export type CreateDeploymentValueDeployments2 = {
1329
1428
  eq?: string | number | undefined;
1330
1429
  neq?: string | undefined;
1331
1430
  inc?: Array<string> | undefined;
@@ -1339,14 +1438,14 @@ export type CreateDeploymentValueDeploymentsResponse2 = {
1339
1438
  lte?: number | undefined;
1340
1439
  };
1341
1440
 
1342
- export type MissingValue = CreateDeploymentValueDeploymentsResponse2 | string;
1441
+ export type MissingValue = CreateDeploymentValueDeployments2 | string;
1343
1442
 
1344
1443
  export type Missing1 = {
1345
1444
  type: MissingType;
1346
- value: CreateDeploymentValueDeploymentsResponse2 | string;
1445
+ value: CreateDeploymentValueDeployments2 | string;
1347
1446
  };
1348
1447
 
1349
- export type RoutesMissing = Missing1 | Missing2;
1448
+ export type Missing = Missing1 | Missing2;
1350
1449
 
1351
1450
  export const RoutesAction = {
1352
1451
  Challenge: "challenge",
@@ -1354,7 +1453,7 @@ export const RoutesAction = {
1354
1453
  } as const;
1355
1454
  export type RoutesAction = ClosedEnum<typeof RoutesAction>;
1356
1455
 
1357
- export type RoutesMitigate = {
1456
+ export type CreateDeploymentRoutesMitigate = {
1358
1457
  action: RoutesAction;
1359
1458
  };
1360
1459
 
@@ -1366,8 +1465,8 @@ export const RoutesType = {
1366
1465
  export type RoutesType = ClosedEnum<typeof RoutesType>;
1367
1466
 
1368
1467
  export const CreateDeploymentRoutesOp = {
1369
- Append: "append",
1370
1468
  Set: "set",
1469
+ Append: "append",
1371
1470
  Delete: "delete",
1372
1471
  } as const;
1373
1472
  export type CreateDeploymentRoutesOp = ClosedEnum<
@@ -1422,7 +1521,7 @@ export type Routes1 = {
1422
1521
  status?: number | undefined;
1423
1522
  has?: Array<Has1 | Has2> | undefined;
1424
1523
  missing?: Array<Missing1 | Missing2> | undefined;
1425
- mitigate?: RoutesMitigate | undefined;
1524
+ mitigate?: CreateDeploymentRoutesMitigate | undefined;
1426
1525
  transforms?: Array<Transforms> | undefined;
1427
1526
  locale?: Locale | undefined;
1428
1527
  /**
@@ -1472,7 +1571,7 @@ export type CreateDeploymentChecks = {
1472
1571
  /**
1473
1572
  * A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment.
1474
1573
  */
1475
- export type CreateDeploymentMicrofrontendsApplications = {
1574
+ export type Applications = {
1476
1575
  isDefaultApp?: boolean | undefined;
1477
1576
  /**
1478
1577
  * This is the production alias, it will always show the most up to date of each application.
@@ -1489,9 +1588,7 @@ export type CreateDeploymentMicrofrontends2 = {
1489
1588
  /**
1490
1589
  * A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment.
1491
1590
  */
1492
- applications?:
1493
- | { [k: string]: CreateDeploymentMicrofrontendsApplications }
1494
- | undefined;
1591
+ applications?: { [k: string]: Applications } | undefined;
1495
1592
  isDefaultApp: boolean;
1496
1593
  /**
1497
1594
  * The project name of the default app of this deployment's microfrontends group.
@@ -1506,13 +1603,9 @@ export type CreateDeploymentMicrofrontends2 = {
1506
1603
  */
1507
1604
  groupIds: Array<string>;
1508
1605
  /**
1509
- * Whether the MicrofrontendsAlias team flag should be considered enabled for this deployment or not. This is used to ensure that we don't accidentally switch an existing branch alias to a microfrontends branch alias.
1510
- */
1511
- microfrontendsAliasEnabled?: boolean | undefined;
1512
- /**
1513
- * Whether this deployment, if a preview deployment on the production branch, should get the -env-preview alias instead of a normal branch alias. This is used to always generate a microfrontends fallback on the preview branch.
1606
+ * Whether the MicrofrontendsAlias2 team flag should be considered enabled for this deployment or not.
1514
1607
  */
1515
- previewEnvAliasEnabled?: boolean | undefined;
1608
+ microfrontendsAlias2Enabled?: boolean | undefined;
1516
1609
  };
1517
1610
 
1518
1611
  export type CreateDeploymentMicrofrontends1 = {
@@ -1533,13 +1626,9 @@ export type CreateDeploymentMicrofrontends1 = {
1533
1626
  */
1534
1627
  groupIds: Array<string>;
1535
1628
  /**
1536
- * Whether the MicrofrontendsAlias team flag should be considered enabled for this deployment or not. This is used to ensure that we don't accidentally switch an existing branch alias to a microfrontends branch alias.
1537
- */
1538
- microfrontendsAliasEnabled?: boolean | undefined;
1539
- /**
1540
- * Whether this deployment, if a preview deployment on the production branch, should get the -env-preview alias instead of a normal branch alias. This is used to always generate a microfrontends fallback on the preview branch.
1629
+ * Whether the MicrofrontendsAlias2 team flag should be considered enabled for this deployment or not.
1541
1630
  */
1542
- previewEnvAliasEnabled?: boolean | undefined;
1631
+ microfrontendsAlias2Enabled?: boolean | undefined;
1543
1632
  };
1544
1633
 
1545
1634
  export type CreateDeploymentMicrofrontends =
@@ -1554,8 +1643,8 @@ export type CreateDeploymentGitRepoDeploymentsType = ClosedEnum<
1554
1643
  >;
1555
1644
 
1556
1645
  export const CreateDeploymentGitRepoOwnerType = {
1557
- Team: "team",
1558
1646
  User: "user",
1647
+ Team: "team",
1559
1648
  } as const;
1560
1649
  export type CreateDeploymentGitRepoOwnerType = ClosedEnum<
1561
1650
  typeof CreateDeploymentGitRepoOwnerType
@@ -1582,8 +1671,8 @@ export type CreateDeploymentGitRepoType = ClosedEnum<
1582
1671
  >;
1583
1672
 
1584
1673
  export const GitRepoOwnerType = {
1585
- Team: "team",
1586
1674
  User: "user",
1675
+ Team: "team",
1587
1676
  } as const;
1588
1677
  export type GitRepoOwnerType = ClosedEnum<typeof GitRepoOwnerType>;
1589
1678
 
@@ -1606,8 +1695,8 @@ export const GitRepoType = {
1606
1695
  export type GitRepoType = ClosedEnum<typeof GitRepoType>;
1607
1696
 
1608
1697
  export const OwnerType = {
1609
- Team: "team",
1610
1698
  User: "user",
1699
+ Team: "team",
1611
1700
  } as const;
1612
1701
  export type OwnerType = ClosedEnum<typeof OwnerType>;
1613
1702
 
@@ -1700,21 +1789,28 @@ export type CreateDeploymentResponseBody = {
1700
1789
  */
1701
1790
  autoAssignCustomDomains?: boolean | undefined;
1702
1791
  gitSource?:
1703
- | CreateDeploymentGitSource10
1704
1792
  | CreateDeploymentGitSource12
1793
+ | CreateDeploymentGitSource15
1705
1794
  | CreateDeploymentGitSource4
1706
- | CreateDeploymentGitSource8
1707
- | CreateDeploymentGitSource9
1795
+ | CreateDeploymentGitSource10
1708
1796
  | CreateDeploymentGitSource11
1797
+ | CreateDeploymentGitSource13
1798
+ | CreateDeploymentGitSource14
1709
1799
  | CreateDeploymentGitSource2
1710
1800
  | CreateDeploymentGitSource3
1711
- | CreateDeploymentGitSource7
1801
+ | CreateDeploymentGitSource6
1802
+ | CreateDeploymentGitSource9
1712
1803
  | CreateDeploymentGitSource1
1713
1804
  | CreateDeploymentGitSource5
1714
- | CreateDeploymentGitSource6
1805
+ | CreateDeploymentGitSource7
1806
+ | CreateDeploymentGitSource8
1715
1807
  | undefined;
1716
1808
  meta: { [k: string]: string };
1717
1809
  project?: CreateDeploymentProject | undefined;
1810
+ /**
1811
+ * If set it overrides the `projectSettings.nodeVersion` for this deployment.
1812
+ */
1813
+ nodeVersion?: CreateDeploymentNodeVersion | undefined;
1718
1814
  readyState: ReadyState;
1719
1815
  source?: CreateDeploymentSource | undefined;
1720
1816
  target?: CreateDeploymentTarget | null | undefined;
@@ -2006,6 +2102,10 @@ export const GitMetadata$inboundSchema: z.ZodType<
2006
2102
  commitRef: z.string().optional(),
2007
2103
  commitSha: z.string().optional(),
2008
2104
  dirty: z.boolean().optional(),
2105
+ ci: z.boolean().optional(),
2106
+ ciType: z.string().optional(),
2107
+ ciGitProviderUsername: z.string().optional(),
2108
+ ciGitRepoVisibility: z.string().optional(),
2009
2109
  });
2010
2110
 
2011
2111
  /** @internal */
@@ -2017,6 +2117,10 @@ export type GitMetadata$Outbound = {
2017
2117
  commitRef?: string | undefined;
2018
2118
  commitSha?: string | undefined;
2019
2119
  dirty?: boolean | undefined;
2120
+ ci?: boolean | undefined;
2121
+ ciType?: string | undefined;
2122
+ ciGitProviderUsername?: string | undefined;
2123
+ ciGitRepoVisibility?: string | undefined;
2020
2124
  };
2021
2125
 
2022
2126
  /** @internal */
@@ -2032,6 +2136,10 @@ export const GitMetadata$outboundSchema: z.ZodType<
2032
2136
  commitRef: z.string().optional(),
2033
2137
  commitSha: z.string().optional(),
2034
2138
  dirty: z.boolean().optional(),
2139
+ ci: z.boolean().optional(),
2140
+ ciType: z.string().optional(),
2141
+ ciGitProviderUsername: z.string().optional(),
2142
+ ciGitRepoVisibility: z.string().optional(),
2035
2143
  });
2036
2144
 
2037
2145
  /**
@@ -3797,8 +3905,8 @@ export const Lambdas$inboundSchema: z.ZodType<Lambdas, z.ZodTypeDef, unknown> =
3797
3905
  z.object({
3798
3906
  id: z.string().optional(),
3799
3907
  createdAt: z.number().optional(),
3800
- entrypoint: z.nullable(z.string()).optional(),
3801
3908
  readyState: CreateDeploymentReadyState$inboundSchema.optional(),
3909
+ entrypoint: z.nullable(z.string()).optional(),
3802
3910
  readyStateAt: z.number().optional(),
3803
3911
  output: z.array(z.lazy(() => CreateDeploymentOutput$inboundSchema)),
3804
3912
  });
@@ -3807,8 +3915,8 @@ export const Lambdas$inboundSchema: z.ZodType<Lambdas, z.ZodTypeDef, unknown> =
3807
3915
  export type Lambdas$Outbound = {
3808
3916
  id?: string | undefined;
3809
3917
  createdAt?: number | undefined;
3810
- entrypoint?: string | null | undefined;
3811
3918
  readyState?: string | undefined;
3919
+ entrypoint?: string | null | undefined;
3812
3920
  readyStateAt?: number | undefined;
3813
3921
  output: Array<CreateDeploymentOutput$Outbound>;
3814
3922
  };
@@ -3821,8 +3929,8 @@ export const Lambdas$outboundSchema: z.ZodType<
3821
3929
  > = z.object({
3822
3930
  id: z.string().optional(),
3823
3931
  createdAt: z.number().optional(),
3824
- entrypoint: z.nullable(z.string()).optional(),
3825
3932
  readyState: CreateDeploymentReadyState$outboundSchema.optional(),
3933
+ entrypoint: z.nullable(z.string()).optional(),
3826
3934
  readyStateAt: z.number().optional(),
3827
3935
  output: z.array(z.lazy(() => CreateDeploymentOutput$outboundSchema)),
3828
3936
  });
@@ -4428,41 +4536,41 @@ export namespace CreateDeploymentType$ {
4428
4536
  }
4429
4537
 
4430
4538
  /** @internal */
4431
- export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$inboundSchema:
4539
+ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$inboundSchema:
4432
4540
  z.ZodNativeEnum<
4433
- typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type
4541
+ typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type
4434
4542
  > = z.nativeEnum(
4435
- CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type,
4543
+ CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type,
4436
4544
  );
4437
4545
 
4438
4546
  /** @internal */
4439
- export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$outboundSchema:
4547
+ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$outboundSchema:
4440
4548
  z.ZodNativeEnum<
4441
- typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type
4549
+ typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type
4442
4550
  > =
4443
- CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$inboundSchema;
4551
+ CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$inboundSchema;
4444
4552
 
4445
4553
  /**
4446
4554
  * @internal
4447
4555
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4448
4556
  */
4449
- export namespace CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$ {
4450
- /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$inboundSchema` instead. */
4557
+ export namespace CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$ {
4558
+ /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$inboundSchema` instead. */
4451
4559
  export const inboundSchema =
4452
- CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$inboundSchema;
4453
- /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$outboundSchema` instead. */
4560
+ CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$inboundSchema;
4561
+ /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$outboundSchema` instead. */
4454
4562
  export const outboundSchema =
4455
- CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$outboundSchema;
4563
+ CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$outboundSchema;
4456
4564
  }
4457
4565
 
4458
4566
  /** @internal */
4459
- export const CreateDeploymentGitSource12$inboundSchema: z.ZodType<
4460
- CreateDeploymentGitSource12,
4567
+ export const CreateDeploymentGitSource15$inboundSchema: z.ZodType<
4568
+ CreateDeploymentGitSource15,
4461
4569
  z.ZodTypeDef,
4462
4570
  unknown
4463
4571
  > = z.object({
4464
4572
  type:
4465
- CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$inboundSchema,
4573
+ CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$inboundSchema,
4466
4574
  ref: z.string(),
4467
4575
  sha: z.string(),
4468
4576
  owner: z.string().optional(),
@@ -4472,7 +4580,7 @@ export const CreateDeploymentGitSource12$inboundSchema: z.ZodType<
4472
4580
  });
4473
4581
 
4474
4582
  /** @internal */
4475
- export type CreateDeploymentGitSource12$Outbound = {
4583
+ export type CreateDeploymentGitSource15$Outbound = {
4476
4584
  type: string;
4477
4585
  ref: string;
4478
4586
  sha: string;
@@ -4483,13 +4591,13 @@ export type CreateDeploymentGitSource12$Outbound = {
4483
4591
  };
4484
4592
 
4485
4593
  /** @internal */
4486
- export const CreateDeploymentGitSource12$outboundSchema: z.ZodType<
4487
- CreateDeploymentGitSource12$Outbound,
4594
+ export const CreateDeploymentGitSource15$outboundSchema: z.ZodType<
4595
+ CreateDeploymentGitSource15$Outbound,
4488
4596
  z.ZodTypeDef,
4489
- CreateDeploymentGitSource12
4597
+ CreateDeploymentGitSource15
4490
4598
  > = z.object({
4491
4599
  type:
4492
- CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$outboundSchema,
4600
+ CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$outboundSchema,
4493
4601
  ref: z.string(),
4494
4602
  sha: z.string(),
4495
4603
  owner: z.string().optional(),
@@ -4502,78 +4610,78 @@ export const CreateDeploymentGitSource12$outboundSchema: z.ZodType<
4502
4610
  * @internal
4503
4611
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4504
4612
  */
4505
- export namespace CreateDeploymentGitSource12$ {
4506
- /** @deprecated use `CreateDeploymentGitSource12$inboundSchema` instead. */
4507
- export const inboundSchema = CreateDeploymentGitSource12$inboundSchema;
4508
- /** @deprecated use `CreateDeploymentGitSource12$outboundSchema` instead. */
4509
- export const outboundSchema = CreateDeploymentGitSource12$outboundSchema;
4510
- /** @deprecated use `CreateDeploymentGitSource12$Outbound` instead. */
4511
- export type Outbound = CreateDeploymentGitSource12$Outbound;
4613
+ export namespace CreateDeploymentGitSource15$ {
4614
+ /** @deprecated use `CreateDeploymentGitSource15$inboundSchema` instead. */
4615
+ export const inboundSchema = CreateDeploymentGitSource15$inboundSchema;
4616
+ /** @deprecated use `CreateDeploymentGitSource15$outboundSchema` instead. */
4617
+ export const outboundSchema = CreateDeploymentGitSource15$outboundSchema;
4618
+ /** @deprecated use `CreateDeploymentGitSource15$Outbound` instead. */
4619
+ export type Outbound = CreateDeploymentGitSource15$Outbound;
4512
4620
  }
4513
4621
 
4514
- export function createDeploymentGitSource12ToJSON(
4515
- createDeploymentGitSource12: CreateDeploymentGitSource12,
4622
+ export function createDeploymentGitSource15ToJSON(
4623
+ createDeploymentGitSource15: CreateDeploymentGitSource15,
4516
4624
  ): string {
4517
4625
  return JSON.stringify(
4518
- CreateDeploymentGitSource12$outboundSchema.parse(
4519
- createDeploymentGitSource12,
4626
+ CreateDeploymentGitSource15$outboundSchema.parse(
4627
+ createDeploymentGitSource15,
4520
4628
  ),
4521
4629
  );
4522
4630
  }
4523
4631
 
4524
- export function createDeploymentGitSource12FromJSON(
4632
+ export function createDeploymentGitSource15FromJSON(
4525
4633
  jsonString: string,
4526
- ): SafeParseResult<CreateDeploymentGitSource12, SDKValidationError> {
4634
+ ): SafeParseResult<CreateDeploymentGitSource15, SDKValidationError> {
4527
4635
  return safeParse(
4528
4636
  jsonString,
4529
- (x) => CreateDeploymentGitSource12$inboundSchema.parse(JSON.parse(x)),
4530
- `Failed to parse 'CreateDeploymentGitSource12' from JSON`,
4637
+ (x) => CreateDeploymentGitSource15$inboundSchema.parse(JSON.parse(x)),
4638
+ `Failed to parse 'CreateDeploymentGitSource15' from JSON`,
4531
4639
  );
4532
4640
  }
4533
4641
 
4534
4642
  /** @internal */
4535
- export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$inboundSchema:
4643
+ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$inboundSchema:
4536
4644
  z.ZodNativeEnum<
4537
- typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type
4645
+ typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type
4538
4646
  > = z.nativeEnum(
4539
- CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type,
4647
+ CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type,
4540
4648
  );
4541
4649
 
4542
4650
  /** @internal */
4543
- export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$outboundSchema:
4651
+ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$outboundSchema:
4544
4652
  z.ZodNativeEnum<
4545
- typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type
4653
+ typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type
4546
4654
  > =
4547
- CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$inboundSchema;
4655
+ CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$inboundSchema;
4548
4656
 
4549
4657
  /**
4550
4658
  * @internal
4551
4659
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4552
4660
  */
4553
- export namespace CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$ {
4554
- /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$inboundSchema` instead. */
4661
+ export namespace CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$ {
4662
+ /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$inboundSchema` instead. */
4555
4663
  export const inboundSchema =
4556
- CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$inboundSchema;
4557
- /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$outboundSchema` instead. */
4664
+ CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$inboundSchema;
4665
+ /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$outboundSchema` instead. */
4558
4666
  export const outboundSchema =
4559
- CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$outboundSchema;
4667
+ CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$outboundSchema;
4560
4668
  }
4561
4669
 
4562
4670
  /** @internal */
4563
- export const CreateDeploymentGitSource11$inboundSchema: z.ZodType<
4564
- CreateDeploymentGitSource11,
4671
+ export const CreateDeploymentGitSource14$inboundSchema: z.ZodType<
4672
+ CreateDeploymentGitSource14,
4565
4673
  z.ZodTypeDef,
4566
4674
  unknown
4567
4675
  > = z.object({
4568
4676
  type:
4569
- CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$inboundSchema,
4677
+ CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$inboundSchema,
4570
4678
  ref: z.string(),
4571
4679
  sha: z.string(),
4572
4680
  projectId: z.number(),
4573
4681
  });
4574
4682
 
4575
4683
  /** @internal */
4576
- export type CreateDeploymentGitSource11$Outbound = {
4684
+ export type CreateDeploymentGitSource14$Outbound = {
4577
4685
  type: string;
4578
4686
  ref: string;
4579
4687
  sha: string;
@@ -4581,13 +4689,13 @@ export type CreateDeploymentGitSource11$Outbound = {
4581
4689
  };
4582
4690
 
4583
4691
  /** @internal */
4584
- export const CreateDeploymentGitSource11$outboundSchema: z.ZodType<
4585
- CreateDeploymentGitSource11$Outbound,
4692
+ export const CreateDeploymentGitSource14$outboundSchema: z.ZodType<
4693
+ CreateDeploymentGitSource14$Outbound,
4586
4694
  z.ZodTypeDef,
4587
- CreateDeploymentGitSource11
4695
+ CreateDeploymentGitSource14
4588
4696
  > = z.object({
4589
4697
  type:
4590
- CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$outboundSchema,
4698
+ CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$outboundSchema,
4591
4699
  ref: z.string(),
4592
4700
  sha: z.string(),
4593
4701
  projectId: z.number(),
@@ -4597,8 +4705,314 @@ export const CreateDeploymentGitSource11$outboundSchema: z.ZodType<
4597
4705
  * @internal
4598
4706
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4599
4707
  */
4600
- export namespace CreateDeploymentGitSource11$ {
4601
- /** @deprecated use `CreateDeploymentGitSource11$inboundSchema` instead. */
4708
+ export namespace CreateDeploymentGitSource14$ {
4709
+ /** @deprecated use `CreateDeploymentGitSource14$inboundSchema` instead. */
4710
+ export const inboundSchema = CreateDeploymentGitSource14$inboundSchema;
4711
+ /** @deprecated use `CreateDeploymentGitSource14$outboundSchema` instead. */
4712
+ export const outboundSchema = CreateDeploymentGitSource14$outboundSchema;
4713
+ /** @deprecated use `CreateDeploymentGitSource14$Outbound` instead. */
4714
+ export type Outbound = CreateDeploymentGitSource14$Outbound;
4715
+ }
4716
+
4717
+ export function createDeploymentGitSource14ToJSON(
4718
+ createDeploymentGitSource14: CreateDeploymentGitSource14,
4719
+ ): string {
4720
+ return JSON.stringify(
4721
+ CreateDeploymentGitSource14$outboundSchema.parse(
4722
+ createDeploymentGitSource14,
4723
+ ),
4724
+ );
4725
+ }
4726
+
4727
+ export function createDeploymentGitSource14FromJSON(
4728
+ jsonString: string,
4729
+ ): SafeParseResult<CreateDeploymentGitSource14, SDKValidationError> {
4730
+ return safeParse(
4731
+ jsonString,
4732
+ (x) => CreateDeploymentGitSource14$inboundSchema.parse(JSON.parse(x)),
4733
+ `Failed to parse 'CreateDeploymentGitSource14' from JSON`,
4734
+ );
4735
+ }
4736
+
4737
+ /** @internal */
4738
+ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type$inboundSchema:
4739
+ z.ZodNativeEnum<
4740
+ typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type
4741
+ > = z.nativeEnum(
4742
+ CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type,
4743
+ );
4744
+
4745
+ /** @internal */
4746
+ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type$outboundSchema:
4747
+ z.ZodNativeEnum<
4748
+ typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type
4749
+ > =
4750
+ CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type$inboundSchema;
4751
+
4752
+ /**
4753
+ * @internal
4754
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4755
+ */
4756
+ export namespace CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type$ {
4757
+ /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type$inboundSchema` instead. */
4758
+ export const inboundSchema =
4759
+ CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type$inboundSchema;
4760
+ /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type$outboundSchema` instead. */
4761
+ export const outboundSchema =
4762
+ CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type$outboundSchema;
4763
+ }
4764
+
4765
+ /** @internal */
4766
+ export const CreateDeploymentGitSource13$inboundSchema: z.ZodType<
4767
+ CreateDeploymentGitSource13,
4768
+ z.ZodTypeDef,
4769
+ unknown
4770
+ > = z.object({
4771
+ type:
4772
+ CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type$inboundSchema,
4773
+ ref: z.string(),
4774
+ sha: z.string(),
4775
+ repoId: z.number(),
4776
+ org: z.string().optional(),
4777
+ repo: z.string().optional(),
4778
+ });
4779
+
4780
+ /** @internal */
4781
+ export type CreateDeploymentGitSource13$Outbound = {
4782
+ type: string;
4783
+ ref: string;
4784
+ sha: string;
4785
+ repoId: number;
4786
+ org?: string | undefined;
4787
+ repo?: string | undefined;
4788
+ };
4789
+
4790
+ /** @internal */
4791
+ export const CreateDeploymentGitSource13$outboundSchema: z.ZodType<
4792
+ CreateDeploymentGitSource13$Outbound,
4793
+ z.ZodTypeDef,
4794
+ CreateDeploymentGitSource13
4795
+ > = z.object({
4796
+ type:
4797
+ CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type$outboundSchema,
4798
+ ref: z.string(),
4799
+ sha: z.string(),
4800
+ repoId: z.number(),
4801
+ org: z.string().optional(),
4802
+ repo: z.string().optional(),
4803
+ });
4804
+
4805
+ /**
4806
+ * @internal
4807
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4808
+ */
4809
+ export namespace CreateDeploymentGitSource13$ {
4810
+ /** @deprecated use `CreateDeploymentGitSource13$inboundSchema` instead. */
4811
+ export const inboundSchema = CreateDeploymentGitSource13$inboundSchema;
4812
+ /** @deprecated use `CreateDeploymentGitSource13$outboundSchema` instead. */
4813
+ export const outboundSchema = CreateDeploymentGitSource13$outboundSchema;
4814
+ /** @deprecated use `CreateDeploymentGitSource13$Outbound` instead. */
4815
+ export type Outbound = CreateDeploymentGitSource13$Outbound;
4816
+ }
4817
+
4818
+ export function createDeploymentGitSource13ToJSON(
4819
+ createDeploymentGitSource13: CreateDeploymentGitSource13,
4820
+ ): string {
4821
+ return JSON.stringify(
4822
+ CreateDeploymentGitSource13$outboundSchema.parse(
4823
+ createDeploymentGitSource13,
4824
+ ),
4825
+ );
4826
+ }
4827
+
4828
+ export function createDeploymentGitSource13FromJSON(
4829
+ jsonString: string,
4830
+ ): SafeParseResult<CreateDeploymentGitSource13, SDKValidationError> {
4831
+ return safeParse(
4832
+ jsonString,
4833
+ (x) => CreateDeploymentGitSource13$inboundSchema.parse(JSON.parse(x)),
4834
+ `Failed to parse 'CreateDeploymentGitSource13' from JSON`,
4835
+ );
4836
+ }
4837
+
4838
+ /** @internal */
4839
+ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$inboundSchema:
4840
+ z.ZodNativeEnum<
4841
+ typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type
4842
+ > = z.nativeEnum(
4843
+ CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type,
4844
+ );
4845
+
4846
+ /** @internal */
4847
+ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$outboundSchema:
4848
+ z.ZodNativeEnum<
4849
+ typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type
4850
+ > =
4851
+ CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$inboundSchema;
4852
+
4853
+ /**
4854
+ * @internal
4855
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4856
+ */
4857
+ export namespace CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$ {
4858
+ /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$inboundSchema` instead. */
4859
+ export const inboundSchema =
4860
+ CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$inboundSchema;
4861
+ /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$outboundSchema` instead. */
4862
+ export const outboundSchema =
4863
+ CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$outboundSchema;
4864
+ }
4865
+
4866
+ /** @internal */
4867
+ export const CreateDeploymentGitSource12$inboundSchema: z.ZodType<
4868
+ CreateDeploymentGitSource12,
4869
+ z.ZodTypeDef,
4870
+ unknown
4871
+ > = z.object({
4872
+ type:
4873
+ CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$inboundSchema,
4874
+ host: z.string(),
4875
+ ref: z.string(),
4876
+ sha: z.string(),
4877
+ repoId: z.number(),
4878
+ org: z.string().optional(),
4879
+ repo: z.string().optional(),
4880
+ });
4881
+
4882
+ /** @internal */
4883
+ export type CreateDeploymentGitSource12$Outbound = {
4884
+ type: string;
4885
+ host: string;
4886
+ ref: string;
4887
+ sha: string;
4888
+ repoId: number;
4889
+ org?: string | undefined;
4890
+ repo?: string | undefined;
4891
+ };
4892
+
4893
+ /** @internal */
4894
+ export const CreateDeploymentGitSource12$outboundSchema: z.ZodType<
4895
+ CreateDeploymentGitSource12$Outbound,
4896
+ z.ZodTypeDef,
4897
+ CreateDeploymentGitSource12
4898
+ > = z.object({
4899
+ type:
4900
+ CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$outboundSchema,
4901
+ host: z.string(),
4902
+ ref: z.string(),
4903
+ sha: z.string(),
4904
+ repoId: z.number(),
4905
+ org: z.string().optional(),
4906
+ repo: z.string().optional(),
4907
+ });
4908
+
4909
+ /**
4910
+ * @internal
4911
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4912
+ */
4913
+ export namespace CreateDeploymentGitSource12$ {
4914
+ /** @deprecated use `CreateDeploymentGitSource12$inboundSchema` instead. */
4915
+ export const inboundSchema = CreateDeploymentGitSource12$inboundSchema;
4916
+ /** @deprecated use `CreateDeploymentGitSource12$outboundSchema` instead. */
4917
+ export const outboundSchema = CreateDeploymentGitSource12$outboundSchema;
4918
+ /** @deprecated use `CreateDeploymentGitSource12$Outbound` instead. */
4919
+ export type Outbound = CreateDeploymentGitSource12$Outbound;
4920
+ }
4921
+
4922
+ export function createDeploymentGitSource12ToJSON(
4923
+ createDeploymentGitSource12: CreateDeploymentGitSource12,
4924
+ ): string {
4925
+ return JSON.stringify(
4926
+ CreateDeploymentGitSource12$outboundSchema.parse(
4927
+ createDeploymentGitSource12,
4928
+ ),
4929
+ );
4930
+ }
4931
+
4932
+ export function createDeploymentGitSource12FromJSON(
4933
+ jsonString: string,
4934
+ ): SafeParseResult<CreateDeploymentGitSource12, SDKValidationError> {
4935
+ return safeParse(
4936
+ jsonString,
4937
+ (x) => CreateDeploymentGitSource12$inboundSchema.parse(JSON.parse(x)),
4938
+ `Failed to parse 'CreateDeploymentGitSource12' from JSON`,
4939
+ );
4940
+ }
4941
+
4942
+ /** @internal */
4943
+ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$inboundSchema:
4944
+ z.ZodNativeEnum<
4945
+ typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type
4946
+ > = z.nativeEnum(
4947
+ CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type,
4948
+ );
4949
+
4950
+ /** @internal */
4951
+ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$outboundSchema:
4952
+ z.ZodNativeEnum<
4953
+ typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type
4954
+ > =
4955
+ CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$inboundSchema;
4956
+
4957
+ /**
4958
+ * @internal
4959
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4960
+ */
4961
+ export namespace CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$ {
4962
+ /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$inboundSchema` instead. */
4963
+ export const inboundSchema =
4964
+ CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$inboundSchema;
4965
+ /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$outboundSchema` instead. */
4966
+ export const outboundSchema =
4967
+ CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$outboundSchema;
4968
+ }
4969
+
4970
+ /** @internal */
4971
+ export const CreateDeploymentGitSource11$inboundSchema: z.ZodType<
4972
+ CreateDeploymentGitSource11,
4973
+ z.ZodTypeDef,
4974
+ unknown
4975
+ > = z.object({
4976
+ type:
4977
+ CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$inboundSchema,
4978
+ ref: z.string(),
4979
+ sha: z.string(),
4980
+ repoId: z.number(),
4981
+ org: z.string().optional(),
4982
+ repo: z.string().optional(),
4983
+ });
4984
+
4985
+ /** @internal */
4986
+ export type CreateDeploymentGitSource11$Outbound = {
4987
+ type: string;
4988
+ ref: string;
4989
+ sha: string;
4990
+ repoId: number;
4991
+ org?: string | undefined;
4992
+ repo?: string | undefined;
4993
+ };
4994
+
4995
+ /** @internal */
4996
+ export const CreateDeploymentGitSource11$outboundSchema: z.ZodType<
4997
+ CreateDeploymentGitSource11$Outbound,
4998
+ z.ZodTypeDef,
4999
+ CreateDeploymentGitSource11
5000
+ > = z.object({
5001
+ type:
5002
+ CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$outboundSchema,
5003
+ ref: z.string(),
5004
+ sha: z.string(),
5005
+ repoId: z.number(),
5006
+ org: z.string().optional(),
5007
+ repo: z.string().optional(),
5008
+ });
5009
+
5010
+ /**
5011
+ * @internal
5012
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5013
+ */
5014
+ export namespace CreateDeploymentGitSource11$ {
5015
+ /** @deprecated use `CreateDeploymentGitSource11$inboundSchema` instead. */
4602
5016
  export const inboundSchema = CreateDeploymentGitSource11$inboundSchema;
4603
5017
  /** @deprecated use `CreateDeploymentGitSource11$outboundSchema` instead. */
4604
5018
  export const outboundSchema = CreateDeploymentGitSource11$outboundSchema;
@@ -4662,23 +5076,17 @@ export const CreateDeploymentGitSource10$inboundSchema: z.ZodType<
4662
5076
  > = z.object({
4663
5077
  type:
4664
5078
  CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type$inboundSchema,
4665
- host: z.string(),
4666
5079
  ref: z.string(),
4667
5080
  sha: z.string(),
4668
- repoId: z.number(),
4669
- org: z.string().optional(),
4670
- repo: z.string().optional(),
5081
+ gitUrl: z.string(),
4671
5082
  });
4672
5083
 
4673
5084
  /** @internal */
4674
5085
  export type CreateDeploymentGitSource10$Outbound = {
4675
5086
  type: string;
4676
- host: string;
4677
5087
  ref: string;
4678
5088
  sha: string;
4679
- repoId: number;
4680
- org?: string | undefined;
4681
- repo?: string | undefined;
5089
+ gitUrl: string;
4682
5090
  };
4683
5091
 
4684
5092
  /** @internal */
@@ -4689,12 +5097,9 @@ export const CreateDeploymentGitSource10$outboundSchema: z.ZodType<
4689
5097
  > = z.object({
4690
5098
  type:
4691
5099
  CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type$outboundSchema,
4692
- host: z.string(),
4693
5100
  ref: z.string(),
4694
5101
  sha: z.string(),
4695
- repoId: z.number(),
4696
- org: z.string().optional(),
4697
- repo: z.string().optional(),
5102
+ gitUrl: z.string(),
4698
5103
  });
4699
5104
 
4700
5105
  /**
@@ -4766,21 +5171,21 @@ export const CreateDeploymentGitSource9$inboundSchema: z.ZodType<
4766
5171
  > = z.object({
4767
5172
  type:
4768
5173
  CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$inboundSchema,
4769
- ref: z.string(),
4770
- sha: z.string(),
4771
- repoId: z.number(),
4772
- org: z.string().optional(),
4773
- repo: z.string().optional(),
5174
+ owner: z.string(),
5175
+ slug: z.string(),
5176
+ ref: z.nullable(z.string()).optional(),
5177
+ sha: z.string().optional(),
5178
+ prId: z.nullable(z.number()).optional(),
4774
5179
  });
4775
5180
 
4776
5181
  /** @internal */
4777
5182
  export type CreateDeploymentGitSource9$Outbound = {
4778
5183
  type: string;
4779
- ref: string;
4780
- sha: string;
4781
- repoId: number;
4782
- org?: string | undefined;
4783
- repo?: string | undefined;
5184
+ owner: string;
5185
+ slug: string;
5186
+ ref?: string | null | undefined;
5187
+ sha?: string | undefined;
5188
+ prId?: number | null | undefined;
4784
5189
  };
4785
5190
 
4786
5191
  /** @internal */
@@ -4791,11 +5196,11 @@ export const CreateDeploymentGitSource9$outboundSchema: z.ZodType<
4791
5196
  > = z.object({
4792
5197
  type:
4793
5198
  CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$outboundSchema,
4794
- ref: z.string(),
4795
- sha: z.string(),
4796
- repoId: z.number(),
4797
- org: z.string().optional(),
4798
- repo: z.string().optional(),
5199
+ owner: z.string(),
5200
+ slug: z.string(),
5201
+ ref: z.nullable(z.string()).optional(),
5202
+ sha: z.string().optional(),
5203
+ prId: z.nullable(z.number()).optional(),
4799
5204
  });
4800
5205
 
4801
5206
  /**
@@ -4865,17 +5270,21 @@ export const CreateDeploymentGitSource8$inboundSchema: z.ZodType<
4865
5270
  > = z.object({
4866
5271
  type:
4867
5272
  CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$inboundSchema,
4868
- ref: z.string(),
4869
- sha: z.string(),
4870
- gitUrl: z.string(),
5273
+ workspaceUuid: z.string().optional(),
5274
+ repoUuid: z.string(),
5275
+ ref: z.nullable(z.string()).optional(),
5276
+ sha: z.string().optional(),
5277
+ prId: z.nullable(z.number()).optional(),
4871
5278
  });
4872
5279
 
4873
5280
  /** @internal */
4874
5281
  export type CreateDeploymentGitSource8$Outbound = {
4875
5282
  type: string;
4876
- ref: string;
4877
- sha: string;
4878
- gitUrl: string;
5283
+ workspaceUuid?: string | undefined;
5284
+ repoUuid: string;
5285
+ ref?: string | null | undefined;
5286
+ sha?: string | undefined;
5287
+ prId?: number | null | undefined;
4879
5288
  };
4880
5289
 
4881
5290
  /** @internal */
@@ -4886,9 +5295,11 @@ export const CreateDeploymentGitSource8$outboundSchema: z.ZodType<
4886
5295
  > = z.object({
4887
5296
  type:
4888
5297
  CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$outboundSchema,
4889
- ref: z.string(),
4890
- sha: z.string(),
4891
- gitUrl: z.string(),
5298
+ workspaceUuid: z.string().optional(),
5299
+ repoUuid: z.string(),
5300
+ ref: z.nullable(z.string()).optional(),
5301
+ sha: z.string().optional(),
5302
+ prId: z.nullable(z.number()).optional(),
4892
5303
  });
4893
5304
 
4894
5305
  /**
@@ -4950,6 +5361,54 @@ export namespace CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONR
4950
5361
  CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$outboundSchema;
4951
5362
  }
4952
5363
 
5364
+ /** @internal */
5365
+ export const GitSourceProjectId$inboundSchema: z.ZodType<
5366
+ GitSourceProjectId,
5367
+ z.ZodTypeDef,
5368
+ unknown
5369
+ > = z.union([z.string(), z.number()]);
5370
+
5371
+ /** @internal */
5372
+ export type GitSourceProjectId$Outbound = string | number;
5373
+
5374
+ /** @internal */
5375
+ export const GitSourceProjectId$outboundSchema: z.ZodType<
5376
+ GitSourceProjectId$Outbound,
5377
+ z.ZodTypeDef,
5378
+ GitSourceProjectId
5379
+ > = z.union([z.string(), z.number()]);
5380
+
5381
+ /**
5382
+ * @internal
5383
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5384
+ */
5385
+ export namespace GitSourceProjectId$ {
5386
+ /** @deprecated use `GitSourceProjectId$inboundSchema` instead. */
5387
+ export const inboundSchema = GitSourceProjectId$inboundSchema;
5388
+ /** @deprecated use `GitSourceProjectId$outboundSchema` instead. */
5389
+ export const outboundSchema = GitSourceProjectId$outboundSchema;
5390
+ /** @deprecated use `GitSourceProjectId$Outbound` instead. */
5391
+ export type Outbound = GitSourceProjectId$Outbound;
5392
+ }
5393
+
5394
+ export function gitSourceProjectIdToJSON(
5395
+ gitSourceProjectId: GitSourceProjectId,
5396
+ ): string {
5397
+ return JSON.stringify(
5398
+ GitSourceProjectId$outboundSchema.parse(gitSourceProjectId),
5399
+ );
5400
+ }
5401
+
5402
+ export function gitSourceProjectIdFromJSON(
5403
+ jsonString: string,
5404
+ ): SafeParseResult<GitSourceProjectId, SDKValidationError> {
5405
+ return safeParse(
5406
+ jsonString,
5407
+ (x) => GitSourceProjectId$inboundSchema.parse(JSON.parse(x)),
5408
+ `Failed to parse 'GitSourceProjectId' from JSON`,
5409
+ );
5410
+ }
5411
+
4953
5412
  /** @internal */
4954
5413
  export const CreateDeploymentGitSource7$inboundSchema: z.ZodType<
4955
5414
  CreateDeploymentGitSource7,
@@ -4958,8 +5417,7 @@ export const CreateDeploymentGitSource7$inboundSchema: z.ZodType<
4958
5417
  > = z.object({
4959
5418
  type:
4960
5419
  CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$inboundSchema,
4961
- owner: z.string(),
4962
- slug: z.string(),
5420
+ projectId: z.union([z.string(), z.number()]),
4963
5421
  ref: z.nullable(z.string()).optional(),
4964
5422
  sha: z.string().optional(),
4965
5423
  prId: z.nullable(z.number()).optional(),
@@ -4968,8 +5426,7 @@ export const CreateDeploymentGitSource7$inboundSchema: z.ZodType<
4968
5426
  /** @internal */
4969
5427
  export type CreateDeploymentGitSource7$Outbound = {
4970
5428
  type: string;
4971
- owner: string;
4972
- slug: string;
5429
+ projectId: string | number;
4973
5430
  ref?: string | null | undefined;
4974
5431
  sha?: string | undefined;
4975
5432
  prId?: number | null | undefined;
@@ -4983,8 +5440,7 @@ export const CreateDeploymentGitSource7$outboundSchema: z.ZodType<
4983
5440
  > = z.object({
4984
5441
  type:
4985
5442
  CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$outboundSchema,
4986
- owner: z.string(),
4987
- slug: z.string(),
5443
+ projectId: z.union([z.string(), z.number()]),
4988
5444
  ref: z.nullable(z.string()).optional(),
4989
5445
  sha: z.string().optional(),
4990
5446
  prId: z.nullable(z.number()).optional(),
@@ -5057,8 +5513,8 @@ export const CreateDeploymentGitSource6$inboundSchema: z.ZodType<
5057
5513
  > = z.object({
5058
5514
  type:
5059
5515
  CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type$inboundSchema,
5060
- workspaceUuid: z.string().optional(),
5061
- repoUuid: z.string(),
5516
+ org: z.string(),
5517
+ repo: z.string(),
5062
5518
  ref: z.nullable(z.string()).optional(),
5063
5519
  sha: z.string().optional(),
5064
5520
  prId: z.nullable(z.number()).optional(),
@@ -5067,8 +5523,8 @@ export const CreateDeploymentGitSource6$inboundSchema: z.ZodType<
5067
5523
  /** @internal */
5068
5524
  export type CreateDeploymentGitSource6$Outbound = {
5069
5525
  type: string;
5070
- workspaceUuid?: string | undefined;
5071
- repoUuid: string;
5526
+ org: string;
5527
+ repo: string;
5072
5528
  ref?: string | null | undefined;
5073
5529
  sha?: string | undefined;
5074
5530
  prId?: number | null | undefined;
@@ -5082,8 +5538,8 @@ export const CreateDeploymentGitSource6$outboundSchema: z.ZodType<
5082
5538
  > = z.object({
5083
5539
  type:
5084
5540
  CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type$outboundSchema,
5085
- workspaceUuid: z.string().optional(),
5086
- repoUuid: z.string(),
5541
+ org: z.string(),
5542
+ repo: z.string(),
5087
5543
  ref: z.nullable(z.string()).optional(),
5088
5544
  sha: z.string().optional(),
5089
5545
  prId: z.nullable(z.number()).optional(),
@@ -5149,50 +5605,62 @@ export namespace CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONR
5149
5605
  }
5150
5606
 
5151
5607
  /** @internal */
5152
- export const GitSourceProjectId$inboundSchema: z.ZodType<
5153
- GitSourceProjectId,
5154
- z.ZodTypeDef,
5155
- unknown
5156
- > = z.union([z.string(), z.number()]);
5608
+ export const CreateDeploymentGitSourceDeploymentsRepoId$inboundSchema:
5609
+ z.ZodType<CreateDeploymentGitSourceDeploymentsRepoId, z.ZodTypeDef, unknown> =
5610
+ z.union([z.string(), z.number()]);
5157
5611
 
5158
5612
  /** @internal */
5159
- export type GitSourceProjectId$Outbound = string | number;
5613
+ export type CreateDeploymentGitSourceDeploymentsRepoId$Outbound =
5614
+ | string
5615
+ | number;
5160
5616
 
5161
5617
  /** @internal */
5162
- export const GitSourceProjectId$outboundSchema: z.ZodType<
5163
- GitSourceProjectId$Outbound,
5164
- z.ZodTypeDef,
5165
- GitSourceProjectId
5166
- > = z.union([z.string(), z.number()]);
5618
+ export const CreateDeploymentGitSourceDeploymentsRepoId$outboundSchema:
5619
+ z.ZodType<
5620
+ CreateDeploymentGitSourceDeploymentsRepoId$Outbound,
5621
+ z.ZodTypeDef,
5622
+ CreateDeploymentGitSourceDeploymentsRepoId
5623
+ > = z.union([z.string(), z.number()]);
5167
5624
 
5168
5625
  /**
5169
5626
  * @internal
5170
5627
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5171
5628
  */
5172
- export namespace GitSourceProjectId$ {
5173
- /** @deprecated use `GitSourceProjectId$inboundSchema` instead. */
5174
- export const inboundSchema = GitSourceProjectId$inboundSchema;
5175
- /** @deprecated use `GitSourceProjectId$outboundSchema` instead. */
5176
- export const outboundSchema = GitSourceProjectId$outboundSchema;
5177
- /** @deprecated use `GitSourceProjectId$Outbound` instead. */
5178
- export type Outbound = GitSourceProjectId$Outbound;
5629
+ export namespace CreateDeploymentGitSourceDeploymentsRepoId$ {
5630
+ /** @deprecated use `CreateDeploymentGitSourceDeploymentsRepoId$inboundSchema` instead. */
5631
+ export const inboundSchema =
5632
+ CreateDeploymentGitSourceDeploymentsRepoId$inboundSchema;
5633
+ /** @deprecated use `CreateDeploymentGitSourceDeploymentsRepoId$outboundSchema` instead. */
5634
+ export const outboundSchema =
5635
+ CreateDeploymentGitSourceDeploymentsRepoId$outboundSchema;
5636
+ /** @deprecated use `CreateDeploymentGitSourceDeploymentsRepoId$Outbound` instead. */
5637
+ export type Outbound = CreateDeploymentGitSourceDeploymentsRepoId$Outbound;
5179
5638
  }
5180
5639
 
5181
- export function gitSourceProjectIdToJSON(
5182
- gitSourceProjectId: GitSourceProjectId,
5640
+ export function createDeploymentGitSourceDeploymentsRepoIdToJSON(
5641
+ createDeploymentGitSourceDeploymentsRepoId:
5642
+ CreateDeploymentGitSourceDeploymentsRepoId,
5183
5643
  ): string {
5184
5644
  return JSON.stringify(
5185
- GitSourceProjectId$outboundSchema.parse(gitSourceProjectId),
5645
+ CreateDeploymentGitSourceDeploymentsRepoId$outboundSchema.parse(
5646
+ createDeploymentGitSourceDeploymentsRepoId,
5647
+ ),
5186
5648
  );
5187
5649
  }
5188
5650
 
5189
- export function gitSourceProjectIdFromJSON(
5651
+ export function createDeploymentGitSourceDeploymentsRepoIdFromJSON(
5190
5652
  jsonString: string,
5191
- ): SafeParseResult<GitSourceProjectId, SDKValidationError> {
5653
+ ): SafeParseResult<
5654
+ CreateDeploymentGitSourceDeploymentsRepoId,
5655
+ SDKValidationError
5656
+ > {
5192
5657
  return safeParse(
5193
5658
  jsonString,
5194
- (x) => GitSourceProjectId$inboundSchema.parse(JSON.parse(x)),
5195
- `Failed to parse 'GitSourceProjectId' from JSON`,
5659
+ (x) =>
5660
+ CreateDeploymentGitSourceDeploymentsRepoId$inboundSchema.parse(
5661
+ JSON.parse(x),
5662
+ ),
5663
+ `Failed to parse 'CreateDeploymentGitSourceDeploymentsRepoId' from JSON`,
5196
5664
  );
5197
5665
  }
5198
5666
 
@@ -5204,7 +5672,7 @@ export const CreateDeploymentGitSource5$inboundSchema: z.ZodType<
5204
5672
  > = z.object({
5205
5673
  type:
5206
5674
  CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type$inboundSchema,
5207
- projectId: z.union([z.string(), z.number()]),
5675
+ repoId: z.union([z.string(), z.number()]),
5208
5676
  ref: z.nullable(z.string()).optional(),
5209
5677
  sha: z.string().optional(),
5210
5678
  prId: z.nullable(z.number()).optional(),
@@ -5213,7 +5681,7 @@ export const CreateDeploymentGitSource5$inboundSchema: z.ZodType<
5213
5681
  /** @internal */
5214
5682
  export type CreateDeploymentGitSource5$Outbound = {
5215
5683
  type: string;
5216
- projectId: string | number;
5684
+ repoId: string | number;
5217
5685
  ref?: string | null | undefined;
5218
5686
  sha?: string | undefined;
5219
5687
  prId?: number | null | undefined;
@@ -5227,7 +5695,7 @@ export const CreateDeploymentGitSource5$outboundSchema: z.ZodType<
5227
5695
  > = z.object({
5228
5696
  type:
5229
5697
  CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type$outboundSchema,
5230
- projectId: z.union([z.string(), z.number()]),
5698
+ repoId: z.union([z.string(), z.number()]),
5231
5699
  ref: z.nullable(z.string()).optional(),
5232
5700
  sha: z.string().optional(),
5233
5701
  prId: z.nullable(z.number()).optional(),
@@ -5748,34 +6216,40 @@ export const CreateDeploymentGitSource$inboundSchema: z.ZodType<
5748
6216
  z.ZodTypeDef,
5749
6217
  unknown
5750
6218
  > = z.union([
5751
- z.lazy(() => CreateDeploymentGitSource10$inboundSchema),
5752
6219
  z.lazy(() => CreateDeploymentGitSource12$inboundSchema),
6220
+ z.lazy(() => CreateDeploymentGitSource15$inboundSchema),
5753
6221
  z.lazy(() => CreateDeploymentGitSource4$inboundSchema),
5754
- z.lazy(() => CreateDeploymentGitSource8$inboundSchema),
5755
- z.lazy(() => CreateDeploymentGitSource9$inboundSchema),
6222
+ z.lazy(() => CreateDeploymentGitSource10$inboundSchema),
5756
6223
  z.lazy(() => CreateDeploymentGitSource11$inboundSchema),
6224
+ z.lazy(() => CreateDeploymentGitSource13$inboundSchema),
6225
+ z.lazy(() => CreateDeploymentGitSource14$inboundSchema),
5757
6226
  z.lazy(() => CreateDeploymentGitSource2$inboundSchema),
5758
6227
  z.lazy(() => CreateDeploymentGitSource3$inboundSchema),
5759
- z.lazy(() => CreateDeploymentGitSource7$inboundSchema),
6228
+ z.lazy(() => CreateDeploymentGitSource6$inboundSchema),
6229
+ z.lazy(() => CreateDeploymentGitSource9$inboundSchema),
5760
6230
  z.lazy(() => CreateDeploymentGitSource1$inboundSchema),
5761
6231
  z.lazy(() => CreateDeploymentGitSource5$inboundSchema),
5762
- z.lazy(() => CreateDeploymentGitSource6$inboundSchema),
6232
+ z.lazy(() => CreateDeploymentGitSource7$inboundSchema),
6233
+ z.lazy(() => CreateDeploymentGitSource8$inboundSchema),
5763
6234
  ]);
5764
6235
 
5765
6236
  /** @internal */
5766
6237
  export type CreateDeploymentGitSource$Outbound =
5767
- | CreateDeploymentGitSource10$Outbound
5768
6238
  | CreateDeploymentGitSource12$Outbound
6239
+ | CreateDeploymentGitSource15$Outbound
5769
6240
  | CreateDeploymentGitSource4$Outbound
5770
- | CreateDeploymentGitSource8$Outbound
5771
- | CreateDeploymentGitSource9$Outbound
6241
+ | CreateDeploymentGitSource10$Outbound
5772
6242
  | CreateDeploymentGitSource11$Outbound
6243
+ | CreateDeploymentGitSource13$Outbound
6244
+ | CreateDeploymentGitSource14$Outbound
5773
6245
  | CreateDeploymentGitSource2$Outbound
5774
6246
  | CreateDeploymentGitSource3$Outbound
5775
- | CreateDeploymentGitSource7$Outbound
6247
+ | CreateDeploymentGitSource6$Outbound
6248
+ | CreateDeploymentGitSource9$Outbound
5776
6249
  | CreateDeploymentGitSource1$Outbound
5777
6250
  | CreateDeploymentGitSource5$Outbound
5778
- | CreateDeploymentGitSource6$Outbound;
6251
+ | CreateDeploymentGitSource7$Outbound
6252
+ | CreateDeploymentGitSource8$Outbound;
5779
6253
 
5780
6254
  /** @internal */
5781
6255
  export const CreateDeploymentGitSource$outboundSchema: z.ZodType<
@@ -5783,18 +6257,21 @@ export const CreateDeploymentGitSource$outboundSchema: z.ZodType<
5783
6257
  z.ZodTypeDef,
5784
6258
  CreateDeploymentGitSource
5785
6259
  > = z.union([
5786
- z.lazy(() => CreateDeploymentGitSource10$outboundSchema),
5787
6260
  z.lazy(() => CreateDeploymentGitSource12$outboundSchema),
6261
+ z.lazy(() => CreateDeploymentGitSource15$outboundSchema),
5788
6262
  z.lazy(() => CreateDeploymentGitSource4$outboundSchema),
5789
- z.lazy(() => CreateDeploymentGitSource8$outboundSchema),
5790
- z.lazy(() => CreateDeploymentGitSource9$outboundSchema),
6263
+ z.lazy(() => CreateDeploymentGitSource10$outboundSchema),
5791
6264
  z.lazy(() => CreateDeploymentGitSource11$outboundSchema),
6265
+ z.lazy(() => CreateDeploymentGitSource13$outboundSchema),
6266
+ z.lazy(() => CreateDeploymentGitSource14$outboundSchema),
5792
6267
  z.lazy(() => CreateDeploymentGitSource2$outboundSchema),
5793
6268
  z.lazy(() => CreateDeploymentGitSource3$outboundSchema),
5794
- z.lazy(() => CreateDeploymentGitSource7$outboundSchema),
6269
+ z.lazy(() => CreateDeploymentGitSource6$outboundSchema),
6270
+ z.lazy(() => CreateDeploymentGitSource9$outboundSchema),
5795
6271
  z.lazy(() => CreateDeploymentGitSource1$outboundSchema),
5796
6272
  z.lazy(() => CreateDeploymentGitSource5$outboundSchema),
5797
- z.lazy(() => CreateDeploymentGitSource6$outboundSchema),
6273
+ z.lazy(() => CreateDeploymentGitSource7$outboundSchema),
6274
+ z.lazy(() => CreateDeploymentGitSource8$outboundSchema),
5798
6275
  ]);
5799
6276
 
5800
6277
  /**
@@ -5888,6 +6365,27 @@ export function createDeploymentProjectFromJSON(
5888
6365
  );
5889
6366
  }
5890
6367
 
6368
+ /** @internal */
6369
+ export const CreateDeploymentNodeVersion$inboundSchema: z.ZodNativeEnum<
6370
+ typeof CreateDeploymentNodeVersion
6371
+ > = z.nativeEnum(CreateDeploymentNodeVersion);
6372
+
6373
+ /** @internal */
6374
+ export const CreateDeploymentNodeVersion$outboundSchema: z.ZodNativeEnum<
6375
+ typeof CreateDeploymentNodeVersion
6376
+ > = CreateDeploymentNodeVersion$inboundSchema;
6377
+
6378
+ /**
6379
+ * @internal
6380
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6381
+ */
6382
+ export namespace CreateDeploymentNodeVersion$ {
6383
+ /** @deprecated use `CreateDeploymentNodeVersion$inboundSchema` instead. */
6384
+ export const inboundSchema = CreateDeploymentNodeVersion$inboundSchema;
6385
+ /** @deprecated use `CreateDeploymentNodeVersion$outboundSchema` instead. */
6386
+ export const outboundSchema = CreateDeploymentNodeVersion$outboundSchema;
6387
+ }
6388
+
5891
6389
  /** @internal */
5892
6390
  export const ReadyState$inboundSchema: z.ZodNativeEnum<typeof ReadyState> = z
5893
6391
  .nativeEnum(ReadyState);
@@ -6569,28 +7067,28 @@ export function routes3FromJSON(
6569
7067
  }
6570
7068
 
6571
7069
  /** @internal */
6572
- export const RoutesHandle$inboundSchema: z.ZodNativeEnum<typeof RoutesHandle> =
6573
- z.nativeEnum(RoutesHandle);
7070
+ export const Handle$inboundSchema: z.ZodNativeEnum<typeof Handle> = z
7071
+ .nativeEnum(Handle);
6574
7072
 
6575
7073
  /** @internal */
6576
- export const RoutesHandle$outboundSchema: z.ZodNativeEnum<typeof RoutesHandle> =
6577
- RoutesHandle$inboundSchema;
7074
+ export const Handle$outboundSchema: z.ZodNativeEnum<typeof Handle> =
7075
+ Handle$inboundSchema;
6578
7076
 
6579
7077
  /**
6580
7078
  * @internal
6581
7079
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6582
7080
  */
6583
- export namespace RoutesHandle$ {
6584
- /** @deprecated use `RoutesHandle$inboundSchema` instead. */
6585
- export const inboundSchema = RoutesHandle$inboundSchema;
6586
- /** @deprecated use `RoutesHandle$outboundSchema` instead. */
6587
- export const outboundSchema = RoutesHandle$outboundSchema;
7081
+ export namespace Handle$ {
7082
+ /** @deprecated use `Handle$inboundSchema` instead. */
7083
+ export const inboundSchema = Handle$inboundSchema;
7084
+ /** @deprecated use `Handle$outboundSchema` instead. */
7085
+ export const outboundSchema = Handle$outboundSchema;
6588
7086
  }
6589
7087
 
6590
7088
  /** @internal */
6591
7089
  export const Routes2$inboundSchema: z.ZodType<Routes2, z.ZodTypeDef, unknown> =
6592
7090
  z.object({
6593
- handle: RoutesHandle$inboundSchema,
7091
+ handle: Handle$inboundSchema,
6594
7092
  src: z.string().optional(),
6595
7093
  dest: z.string().optional(),
6596
7094
  status: z.number().optional(),
@@ -6610,7 +7108,7 @@ export const Routes2$outboundSchema: z.ZodType<
6610
7108
  z.ZodTypeDef,
6611
7109
  Routes2
6612
7110
  > = z.object({
6613
- handle: RoutesHandle$outboundSchema,
7111
+ handle: Handle$outboundSchema,
6614
7112
  src: z.string().optional(),
6615
7113
  dest: z.string().optional(),
6616
7114
  status: z.number().optional(),
@@ -6706,8 +7204,8 @@ export function valueEqFromJSON(
6706
7204
  }
6707
7205
 
6708
7206
  /** @internal */
6709
- export const CreateDeploymentValueDeployments2$inboundSchema: z.ZodType<
6710
- CreateDeploymentValueDeployments2,
7207
+ export const CreateDeploymentValue2$inboundSchema: z.ZodType<
7208
+ CreateDeploymentValue2,
6711
7209
  z.ZodTypeDef,
6712
7210
  unknown
6713
7211
  > = z.object({
@@ -6725,7 +7223,7 @@ export const CreateDeploymentValueDeployments2$inboundSchema: z.ZodType<
6725
7223
  });
6726
7224
 
6727
7225
  /** @internal */
6728
- export type CreateDeploymentValueDeployments2$Outbound = {
7226
+ export type CreateDeploymentValue2$Outbound = {
6729
7227
  eq?: string | number | undefined;
6730
7228
  neq?: string | undefined;
6731
7229
  inc?: Array<string> | undefined;
@@ -6740,10 +7238,10 @@ export type CreateDeploymentValueDeployments2$Outbound = {
6740
7238
  };
6741
7239
 
6742
7240
  /** @internal */
6743
- export const CreateDeploymentValueDeployments2$outboundSchema: z.ZodType<
6744
- CreateDeploymentValueDeployments2$Outbound,
7241
+ export const CreateDeploymentValue2$outboundSchema: z.ZodType<
7242
+ CreateDeploymentValue2$Outbound,
6745
7243
  z.ZodTypeDef,
6746
- CreateDeploymentValueDeployments2
7244
+ CreateDeploymentValue2
6747
7245
  > = z.object({
6748
7246
  eq: z.union([z.string(), z.number()]).optional(),
6749
7247
  neq: z.string().optional(),
@@ -6762,89 +7260,74 @@ export const CreateDeploymentValueDeployments2$outboundSchema: z.ZodType<
6762
7260
  * @internal
6763
7261
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6764
7262
  */
6765
- export namespace CreateDeploymentValueDeployments2$ {
6766
- /** @deprecated use `CreateDeploymentValueDeployments2$inboundSchema` instead. */
6767
- export const inboundSchema = CreateDeploymentValueDeployments2$inboundSchema;
6768
- /** @deprecated use `CreateDeploymentValueDeployments2$outboundSchema` instead. */
6769
- export const outboundSchema =
6770
- CreateDeploymentValueDeployments2$outboundSchema;
6771
- /** @deprecated use `CreateDeploymentValueDeployments2$Outbound` instead. */
6772
- export type Outbound = CreateDeploymentValueDeployments2$Outbound;
7263
+ export namespace CreateDeploymentValue2$ {
7264
+ /** @deprecated use `CreateDeploymentValue2$inboundSchema` instead. */
7265
+ export const inboundSchema = CreateDeploymentValue2$inboundSchema;
7266
+ /** @deprecated use `CreateDeploymentValue2$outboundSchema` instead. */
7267
+ export const outboundSchema = CreateDeploymentValue2$outboundSchema;
7268
+ /** @deprecated use `CreateDeploymentValue2$Outbound` instead. */
7269
+ export type Outbound = CreateDeploymentValue2$Outbound;
6773
7270
  }
6774
7271
 
6775
- export function createDeploymentValueDeployments2ToJSON(
6776
- createDeploymentValueDeployments2: CreateDeploymentValueDeployments2,
7272
+ export function createDeploymentValue2ToJSON(
7273
+ createDeploymentValue2: CreateDeploymentValue2,
6777
7274
  ): string {
6778
7275
  return JSON.stringify(
6779
- CreateDeploymentValueDeployments2$outboundSchema.parse(
6780
- createDeploymentValueDeployments2,
6781
- ),
7276
+ CreateDeploymentValue2$outboundSchema.parse(createDeploymentValue2),
6782
7277
  );
6783
7278
  }
6784
7279
 
6785
- export function createDeploymentValueDeployments2FromJSON(
7280
+ export function createDeploymentValue2FromJSON(
6786
7281
  jsonString: string,
6787
- ): SafeParseResult<CreateDeploymentValueDeployments2, SDKValidationError> {
7282
+ ): SafeParseResult<CreateDeploymentValue2, SDKValidationError> {
6788
7283
  return safeParse(
6789
7284
  jsonString,
6790
- (x) => CreateDeploymentValueDeployments2$inboundSchema.parse(JSON.parse(x)),
6791
- `Failed to parse 'CreateDeploymentValueDeployments2' from JSON`,
7285
+ (x) => CreateDeploymentValue2$inboundSchema.parse(JSON.parse(x)),
7286
+ `Failed to parse 'CreateDeploymentValue2' from JSON`,
6792
7287
  );
6793
7288
  }
6794
7289
 
6795
7290
  /** @internal */
6796
- export const CreateDeploymentHasValue$inboundSchema: z.ZodType<
6797
- CreateDeploymentHasValue,
7291
+ export const HasValue$inboundSchema: z.ZodType<
7292
+ HasValue,
6798
7293
  z.ZodTypeDef,
6799
7294
  unknown
6800
- > = z.union([
6801
- z.lazy(() => CreateDeploymentValueDeployments2$inboundSchema),
6802
- z.string(),
6803
- ]);
7295
+ > = z.union([z.lazy(() => CreateDeploymentValue2$inboundSchema), z.string()]);
6804
7296
 
6805
7297
  /** @internal */
6806
- export type CreateDeploymentHasValue$Outbound =
6807
- | CreateDeploymentValueDeployments2$Outbound
6808
- | string;
7298
+ export type HasValue$Outbound = CreateDeploymentValue2$Outbound | string;
6809
7299
 
6810
7300
  /** @internal */
6811
- export const CreateDeploymentHasValue$outboundSchema: z.ZodType<
6812
- CreateDeploymentHasValue$Outbound,
7301
+ export const HasValue$outboundSchema: z.ZodType<
7302
+ HasValue$Outbound,
6813
7303
  z.ZodTypeDef,
6814
- CreateDeploymentHasValue
6815
- > = z.union([
6816
- z.lazy(() => CreateDeploymentValueDeployments2$outboundSchema),
6817
- z.string(),
6818
- ]);
7304
+ HasValue
7305
+ > = z.union([z.lazy(() => CreateDeploymentValue2$outboundSchema), z.string()]);
6819
7306
 
6820
7307
  /**
6821
7308
  * @internal
6822
7309
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6823
7310
  */
6824
- export namespace CreateDeploymentHasValue$ {
6825
- /** @deprecated use `CreateDeploymentHasValue$inboundSchema` instead. */
6826
- export const inboundSchema = CreateDeploymentHasValue$inboundSchema;
6827
- /** @deprecated use `CreateDeploymentHasValue$outboundSchema` instead. */
6828
- export const outboundSchema = CreateDeploymentHasValue$outboundSchema;
6829
- /** @deprecated use `CreateDeploymentHasValue$Outbound` instead. */
6830
- export type Outbound = CreateDeploymentHasValue$Outbound;
7311
+ export namespace HasValue$ {
7312
+ /** @deprecated use `HasValue$inboundSchema` instead. */
7313
+ export const inboundSchema = HasValue$inboundSchema;
7314
+ /** @deprecated use `HasValue$outboundSchema` instead. */
7315
+ export const outboundSchema = HasValue$outboundSchema;
7316
+ /** @deprecated use `HasValue$Outbound` instead. */
7317
+ export type Outbound = HasValue$Outbound;
6831
7318
  }
6832
7319
 
6833
- export function createDeploymentHasValueToJSON(
6834
- createDeploymentHasValue: CreateDeploymentHasValue,
6835
- ): string {
6836
- return JSON.stringify(
6837
- CreateDeploymentHasValue$outboundSchema.parse(createDeploymentHasValue),
6838
- );
7320
+ export function hasValueToJSON(hasValue: HasValue): string {
7321
+ return JSON.stringify(HasValue$outboundSchema.parse(hasValue));
6839
7322
  }
6840
7323
 
6841
- export function createDeploymentHasValueFromJSON(
7324
+ export function hasValueFromJSON(
6842
7325
  jsonString: string,
6843
- ): SafeParseResult<CreateDeploymentHasValue, SDKValidationError> {
7326
+ ): SafeParseResult<HasValue, SDKValidationError> {
6844
7327
  return safeParse(
6845
7328
  jsonString,
6846
- (x) => CreateDeploymentHasValue$inboundSchema.parse(JSON.parse(x)),
6847
- `Failed to parse 'CreateDeploymentHasValue' from JSON`,
7329
+ (x) => HasValue$inboundSchema.parse(JSON.parse(x)),
7330
+ `Failed to parse 'HasValue' from JSON`,
6848
7331
  );
6849
7332
  }
6850
7333
 
@@ -6854,7 +7337,7 @@ export const Has2$inboundSchema: z.ZodType<Has2, z.ZodTypeDef, unknown> = z
6854
7337
  type: CreateDeploymentHasType$inboundSchema,
6855
7338
  key: z.string(),
6856
7339
  value: z.union([
6857
- z.lazy(() => CreateDeploymentValueDeployments2$inboundSchema),
7340
+ z.lazy(() => CreateDeploymentValue2$inboundSchema),
6858
7341
  z.string(),
6859
7342
  ]).optional(),
6860
7343
  });
@@ -6863,7 +7346,7 @@ export const Has2$inboundSchema: z.ZodType<Has2, z.ZodTypeDef, unknown> = z
6863
7346
  export type Has2$Outbound = {
6864
7347
  type: string;
6865
7348
  key: string;
6866
- value?: CreateDeploymentValueDeployments2$Outbound | string | undefined;
7349
+ value?: CreateDeploymentValue2$Outbound | string | undefined;
6867
7350
  };
6868
7351
 
6869
7352
  /** @internal */
@@ -6872,7 +7355,7 @@ export const Has2$outboundSchema: z.ZodType<Has2$Outbound, z.ZodTypeDef, Has2> =
6872
7355
  type: CreateDeploymentHasType$outboundSchema,
6873
7356
  key: z.string(),
6874
7357
  value: z.union([
6875
- z.lazy(() => CreateDeploymentValueDeployments2$outboundSchema),
7358
+ z.lazy(() => CreateDeploymentValue2$outboundSchema),
6876
7359
  z.string(),
6877
7360
  ]).optional(),
6878
7361
  });
@@ -6964,26 +7447,27 @@ export function eqFromJSON(
6964
7447
  }
6965
7448
 
6966
7449
  /** @internal */
6967
- export const CreateDeploymentValue2$inboundSchema: z.ZodType<
6968
- CreateDeploymentValue2,
6969
- z.ZodTypeDef,
6970
- unknown
6971
- > = z.object({
6972
- eq: z.union([z.string(), z.number()]).optional(),
6973
- neq: z.string().optional(),
6974
- inc: z.array(z.string()).optional(),
6975
- ninc: z.array(z.string()).optional(),
6976
- pre: z.string().optional(),
6977
- suf: z.string().optional(),
6978
- re: z.string().optional(),
6979
- gt: z.number().optional(),
6980
- gte: z.number().optional(),
6981
- lt: z.number().optional(),
6982
- lte: z.number().optional(),
6983
- });
7450
+ export const CreateDeploymentValueDeploymentsResponse2002$inboundSchema:
7451
+ z.ZodType<
7452
+ CreateDeploymentValueDeploymentsResponse2002,
7453
+ z.ZodTypeDef,
7454
+ unknown
7455
+ > = z.object({
7456
+ eq: z.union([z.string(), z.number()]).optional(),
7457
+ neq: z.string().optional(),
7458
+ inc: z.array(z.string()).optional(),
7459
+ ninc: z.array(z.string()).optional(),
7460
+ pre: z.string().optional(),
7461
+ suf: z.string().optional(),
7462
+ re: z.string().optional(),
7463
+ gt: z.number().optional(),
7464
+ gte: z.number().optional(),
7465
+ lt: z.number().optional(),
7466
+ lte: z.number().optional(),
7467
+ });
6984
7468
 
6985
7469
  /** @internal */
6986
- export type CreateDeploymentValue2$Outbound = {
7470
+ export type CreateDeploymentValueDeploymentsResponse2002$Outbound = {
6987
7471
  eq?: string | number | undefined;
6988
7472
  neq?: string | undefined;
6989
7473
  inc?: Array<string> | undefined;
@@ -6998,96 +7482,120 @@ export type CreateDeploymentValue2$Outbound = {
6998
7482
  };
6999
7483
 
7000
7484
  /** @internal */
7001
- export const CreateDeploymentValue2$outboundSchema: z.ZodType<
7002
- CreateDeploymentValue2$Outbound,
7003
- z.ZodTypeDef,
7004
- CreateDeploymentValue2
7005
- > = z.object({
7006
- eq: z.union([z.string(), z.number()]).optional(),
7007
- neq: z.string().optional(),
7008
- inc: z.array(z.string()).optional(),
7009
- ninc: z.array(z.string()).optional(),
7010
- pre: z.string().optional(),
7011
- suf: z.string().optional(),
7012
- re: z.string().optional(),
7013
- gt: z.number().optional(),
7014
- gte: z.number().optional(),
7015
- lt: z.number().optional(),
7016
- lte: z.number().optional(),
7017
- });
7485
+ export const CreateDeploymentValueDeploymentsResponse2002$outboundSchema:
7486
+ z.ZodType<
7487
+ CreateDeploymentValueDeploymentsResponse2002$Outbound,
7488
+ z.ZodTypeDef,
7489
+ CreateDeploymentValueDeploymentsResponse2002
7490
+ > = z.object({
7491
+ eq: z.union([z.string(), z.number()]).optional(),
7492
+ neq: z.string().optional(),
7493
+ inc: z.array(z.string()).optional(),
7494
+ ninc: z.array(z.string()).optional(),
7495
+ pre: z.string().optional(),
7496
+ suf: z.string().optional(),
7497
+ re: z.string().optional(),
7498
+ gt: z.number().optional(),
7499
+ gte: z.number().optional(),
7500
+ lt: z.number().optional(),
7501
+ lte: z.number().optional(),
7502
+ });
7018
7503
 
7019
7504
  /**
7020
7505
  * @internal
7021
7506
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
7022
7507
  */
7023
- export namespace CreateDeploymentValue2$ {
7024
- /** @deprecated use `CreateDeploymentValue2$inboundSchema` instead. */
7025
- export const inboundSchema = CreateDeploymentValue2$inboundSchema;
7026
- /** @deprecated use `CreateDeploymentValue2$outboundSchema` instead. */
7027
- export const outboundSchema = CreateDeploymentValue2$outboundSchema;
7028
- /** @deprecated use `CreateDeploymentValue2$Outbound` instead. */
7029
- export type Outbound = CreateDeploymentValue2$Outbound;
7508
+ export namespace CreateDeploymentValueDeploymentsResponse2002$ {
7509
+ /** @deprecated use `CreateDeploymentValueDeploymentsResponse2002$inboundSchema` instead. */
7510
+ export const inboundSchema =
7511
+ CreateDeploymentValueDeploymentsResponse2002$inboundSchema;
7512
+ /** @deprecated use `CreateDeploymentValueDeploymentsResponse2002$outboundSchema` instead. */
7513
+ export const outboundSchema =
7514
+ CreateDeploymentValueDeploymentsResponse2002$outboundSchema;
7515
+ /** @deprecated use `CreateDeploymentValueDeploymentsResponse2002$Outbound` instead. */
7516
+ export type Outbound = CreateDeploymentValueDeploymentsResponse2002$Outbound;
7030
7517
  }
7031
7518
 
7032
- export function createDeploymentValue2ToJSON(
7033
- createDeploymentValue2: CreateDeploymentValue2,
7519
+ export function createDeploymentValueDeploymentsResponse2002ToJSON(
7520
+ createDeploymentValueDeploymentsResponse2002:
7521
+ CreateDeploymentValueDeploymentsResponse2002,
7034
7522
  ): string {
7035
7523
  return JSON.stringify(
7036
- CreateDeploymentValue2$outboundSchema.parse(createDeploymentValue2),
7524
+ CreateDeploymentValueDeploymentsResponse2002$outboundSchema.parse(
7525
+ createDeploymentValueDeploymentsResponse2002,
7526
+ ),
7037
7527
  );
7038
7528
  }
7039
7529
 
7040
- export function createDeploymentValue2FromJSON(
7530
+ export function createDeploymentValueDeploymentsResponse2002FromJSON(
7041
7531
  jsonString: string,
7042
- ): SafeParseResult<CreateDeploymentValue2, SDKValidationError> {
7532
+ ): SafeParseResult<
7533
+ CreateDeploymentValueDeploymentsResponse2002,
7534
+ SDKValidationError
7535
+ > {
7043
7536
  return safeParse(
7044
7537
  jsonString,
7045
- (x) => CreateDeploymentValue2$inboundSchema.parse(JSON.parse(x)),
7046
- `Failed to parse 'CreateDeploymentValue2' from JSON`,
7538
+ (x) =>
7539
+ CreateDeploymentValueDeploymentsResponse2002$inboundSchema.parse(
7540
+ JSON.parse(x),
7541
+ ),
7542
+ `Failed to parse 'CreateDeploymentValueDeploymentsResponse2002' from JSON`,
7047
7543
  );
7048
7544
  }
7049
7545
 
7050
7546
  /** @internal */
7051
- export const HasValue$inboundSchema: z.ZodType<
7052
- HasValue,
7547
+ export const CreateDeploymentHasValue$inboundSchema: z.ZodType<
7548
+ CreateDeploymentHasValue,
7053
7549
  z.ZodTypeDef,
7054
7550
  unknown
7055
- > = z.union([z.lazy(() => CreateDeploymentValue2$inboundSchema), z.string()]);
7551
+ > = z.union([
7552
+ z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$inboundSchema),
7553
+ z.string(),
7554
+ ]);
7056
7555
 
7057
7556
  /** @internal */
7058
- export type HasValue$Outbound = CreateDeploymentValue2$Outbound | string;
7557
+ export type CreateDeploymentHasValue$Outbound =
7558
+ | CreateDeploymentValueDeploymentsResponse2002$Outbound
7559
+ | string;
7059
7560
 
7060
7561
  /** @internal */
7061
- export const HasValue$outboundSchema: z.ZodType<
7062
- HasValue$Outbound,
7562
+ export const CreateDeploymentHasValue$outboundSchema: z.ZodType<
7563
+ CreateDeploymentHasValue$Outbound,
7063
7564
  z.ZodTypeDef,
7064
- HasValue
7065
- > = z.union([z.lazy(() => CreateDeploymentValue2$outboundSchema), z.string()]);
7565
+ CreateDeploymentHasValue
7566
+ > = z.union([
7567
+ z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$outboundSchema),
7568
+ z.string(),
7569
+ ]);
7066
7570
 
7067
7571
  /**
7068
7572
  * @internal
7069
7573
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
7070
7574
  */
7071
- export namespace HasValue$ {
7072
- /** @deprecated use `HasValue$inboundSchema` instead. */
7073
- export const inboundSchema = HasValue$inboundSchema;
7074
- /** @deprecated use `HasValue$outboundSchema` instead. */
7075
- export const outboundSchema = HasValue$outboundSchema;
7076
- /** @deprecated use `HasValue$Outbound` instead. */
7077
- export type Outbound = HasValue$Outbound;
7575
+ export namespace CreateDeploymentHasValue$ {
7576
+ /** @deprecated use `CreateDeploymentHasValue$inboundSchema` instead. */
7577
+ export const inboundSchema = CreateDeploymentHasValue$inboundSchema;
7578
+ /** @deprecated use `CreateDeploymentHasValue$outboundSchema` instead. */
7579
+ export const outboundSchema = CreateDeploymentHasValue$outboundSchema;
7580
+ /** @deprecated use `CreateDeploymentHasValue$Outbound` instead. */
7581
+ export type Outbound = CreateDeploymentHasValue$Outbound;
7078
7582
  }
7079
7583
 
7080
- export function hasValueToJSON(hasValue: HasValue): string {
7081
- return JSON.stringify(HasValue$outboundSchema.parse(hasValue));
7584
+ export function createDeploymentHasValueToJSON(
7585
+ createDeploymentHasValue: CreateDeploymentHasValue,
7586
+ ): string {
7587
+ return JSON.stringify(
7588
+ CreateDeploymentHasValue$outboundSchema.parse(createDeploymentHasValue),
7589
+ );
7082
7590
  }
7083
7591
 
7084
- export function hasValueFromJSON(
7592
+ export function createDeploymentHasValueFromJSON(
7085
7593
  jsonString: string,
7086
- ): SafeParseResult<HasValue, SDKValidationError> {
7594
+ ): SafeParseResult<CreateDeploymentHasValue, SDKValidationError> {
7087
7595
  return safeParse(
7088
7596
  jsonString,
7089
- (x) => HasValue$inboundSchema.parse(JSON.parse(x)),
7090
- `Failed to parse 'HasValue' from JSON`,
7597
+ (x) => CreateDeploymentHasValue$inboundSchema.parse(JSON.parse(x)),
7598
+ `Failed to parse 'CreateDeploymentHasValue' from JSON`,
7091
7599
  );
7092
7600
  }
7093
7601
 
@@ -7096,7 +7604,7 @@ export const Has1$inboundSchema: z.ZodType<Has1, z.ZodTypeDef, unknown> = z
7096
7604
  .object({
7097
7605
  type: HasType$inboundSchema,
7098
7606
  value: z.union([
7099
- z.lazy(() => CreateDeploymentValue2$inboundSchema),
7607
+ z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$inboundSchema),
7100
7608
  z.string(),
7101
7609
  ]),
7102
7610
  });
@@ -7104,7 +7612,7 @@ export const Has1$inboundSchema: z.ZodType<Has1, z.ZodTypeDef, unknown> = z
7104
7612
  /** @internal */
7105
7613
  export type Has1$Outbound = {
7106
7614
  type: string;
7107
- value: CreateDeploymentValue2$Outbound | string;
7615
+ value: CreateDeploymentValueDeploymentsResponse2002$Outbound | string;
7108
7616
  };
7109
7617
 
7110
7618
  /** @internal */
@@ -7112,7 +7620,7 @@ export const Has1$outboundSchema: z.ZodType<Has1$Outbound, z.ZodTypeDef, Has1> =
7112
7620
  z.object({
7113
7621
  type: HasType$outboundSchema,
7114
7622
  value: z.union([
7115
- z.lazy(() => CreateDeploymentValue2$outboundSchema),
7623
+ z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$outboundSchema),
7116
7624
  z.string(),
7117
7625
  ]),
7118
7626
  });
@@ -7145,52 +7653,44 @@ export function has1FromJSON(
7145
7653
  }
7146
7654
 
7147
7655
  /** @internal */
7148
- export const RoutesHas$inboundSchema: z.ZodType<
7149
- RoutesHas,
7150
- z.ZodTypeDef,
7151
- unknown
7152
- > = z.union([
7153
- z.lazy(() => Has1$inboundSchema),
7154
- z.lazy(() => Has2$inboundSchema),
7155
- ]);
7656
+ export const Has$inboundSchema: z.ZodType<Has, z.ZodTypeDef, unknown> = z.union(
7657
+ [z.lazy(() => Has1$inboundSchema), z.lazy(() => Has2$inboundSchema)],
7658
+ );
7156
7659
 
7157
7660
  /** @internal */
7158
- export type RoutesHas$Outbound = Has1$Outbound | Has2$Outbound;
7661
+ export type Has$Outbound = Has1$Outbound | Has2$Outbound;
7159
7662
 
7160
7663
  /** @internal */
7161
- export const RoutesHas$outboundSchema: z.ZodType<
7162
- RoutesHas$Outbound,
7163
- z.ZodTypeDef,
7164
- RoutesHas
7165
- > = z.union([
7166
- z.lazy(() => Has1$outboundSchema),
7167
- z.lazy(() => Has2$outboundSchema),
7168
- ]);
7664
+ export const Has$outboundSchema: z.ZodType<Has$Outbound, z.ZodTypeDef, Has> = z
7665
+ .union([
7666
+ z.lazy(() => Has1$outboundSchema),
7667
+ z.lazy(() => Has2$outboundSchema),
7668
+ ]);
7169
7669
 
7170
7670
  /**
7171
7671
  * @internal
7172
7672
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
7173
7673
  */
7174
- export namespace RoutesHas$ {
7175
- /** @deprecated use `RoutesHas$inboundSchema` instead. */
7176
- export const inboundSchema = RoutesHas$inboundSchema;
7177
- /** @deprecated use `RoutesHas$outboundSchema` instead. */
7178
- export const outboundSchema = RoutesHas$outboundSchema;
7179
- /** @deprecated use `RoutesHas$Outbound` instead. */
7180
- export type Outbound = RoutesHas$Outbound;
7674
+ export namespace Has$ {
7675
+ /** @deprecated use `Has$inboundSchema` instead. */
7676
+ export const inboundSchema = Has$inboundSchema;
7677
+ /** @deprecated use `Has$outboundSchema` instead. */
7678
+ export const outboundSchema = Has$outboundSchema;
7679
+ /** @deprecated use `Has$Outbound` instead. */
7680
+ export type Outbound = Has$Outbound;
7181
7681
  }
7182
7682
 
7183
- export function routesHasToJSON(routesHas: RoutesHas): string {
7184
- return JSON.stringify(RoutesHas$outboundSchema.parse(routesHas));
7683
+ export function hasToJSON(has: Has): string {
7684
+ return JSON.stringify(Has$outboundSchema.parse(has));
7185
7685
  }
7186
7686
 
7187
- export function routesHasFromJSON(
7687
+ export function hasFromJSON(
7188
7688
  jsonString: string,
7189
- ): SafeParseResult<RoutesHas, SDKValidationError> {
7689
+ ): SafeParseResult<Has, SDKValidationError> {
7190
7690
  return safeParse(
7191
7691
  jsonString,
7192
- (x) => RoutesHas$inboundSchema.parse(JSON.parse(x)),
7193
- `Failed to parse 'RoutesHas' from JSON`,
7692
+ (x) => Has$inboundSchema.parse(JSON.parse(x)),
7693
+ `Failed to parse 'Has' from JSON`,
7194
7694
  );
7195
7695
  }
7196
7696
 
@@ -7268,27 +7768,26 @@ export function createDeploymentValueDeploymentsEqFromJSON(
7268
7768
  }
7269
7769
 
7270
7770
  /** @internal */
7271
- export const CreateDeploymentValueDeploymentsResponse2002$inboundSchema:
7272
- z.ZodType<
7273
- CreateDeploymentValueDeploymentsResponse2002,
7274
- z.ZodTypeDef,
7275
- unknown
7276
- > = z.object({
7277
- eq: z.union([z.string(), z.number()]).optional(),
7278
- neq: z.string().optional(),
7279
- inc: z.array(z.string()).optional(),
7280
- ninc: z.array(z.string()).optional(),
7281
- pre: z.string().optional(),
7282
- suf: z.string().optional(),
7283
- re: z.string().optional(),
7284
- gt: z.number().optional(),
7285
- gte: z.number().optional(),
7286
- lt: z.number().optional(),
7287
- lte: z.number().optional(),
7288
- });
7771
+ export const CreateDeploymentValueDeploymentsResponse2$inboundSchema: z.ZodType<
7772
+ CreateDeploymentValueDeploymentsResponse2,
7773
+ z.ZodTypeDef,
7774
+ unknown
7775
+ > = z.object({
7776
+ eq: z.union([z.string(), z.number()]).optional(),
7777
+ neq: z.string().optional(),
7778
+ inc: z.array(z.string()).optional(),
7779
+ ninc: z.array(z.string()).optional(),
7780
+ pre: z.string().optional(),
7781
+ suf: z.string().optional(),
7782
+ re: z.string().optional(),
7783
+ gt: z.number().optional(),
7784
+ gte: z.number().optional(),
7785
+ lt: z.number().optional(),
7786
+ lte: z.number().optional(),
7787
+ });
7289
7788
 
7290
7789
  /** @internal */
7291
- export type CreateDeploymentValueDeploymentsResponse2002$Outbound = {
7790
+ export type CreateDeploymentValueDeploymentsResponse2$Outbound = {
7292
7791
  eq?: string | number | undefined;
7293
7792
  neq?: string | undefined;
7294
7793
  inc?: Array<string> | undefined;
@@ -7303,11 +7802,11 @@ export type CreateDeploymentValueDeploymentsResponse2002$Outbound = {
7303
7802
  };
7304
7803
 
7305
7804
  /** @internal */
7306
- export const CreateDeploymentValueDeploymentsResponse2002$outboundSchema:
7805
+ export const CreateDeploymentValueDeploymentsResponse2$outboundSchema:
7307
7806
  z.ZodType<
7308
- CreateDeploymentValueDeploymentsResponse2002$Outbound,
7807
+ CreateDeploymentValueDeploymentsResponse2$Outbound,
7309
7808
  z.ZodTypeDef,
7310
- CreateDeploymentValueDeploymentsResponse2002
7809
+ CreateDeploymentValueDeploymentsResponse2
7311
7810
  > = z.object({
7312
7811
  eq: z.union([z.string(), z.number()]).optional(),
7313
7812
  neq: z.string().optional(),
@@ -7326,41 +7825,41 @@ export const CreateDeploymentValueDeploymentsResponse2002$outboundSchema:
7326
7825
  * @internal
7327
7826
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
7328
7827
  */
7329
- export namespace CreateDeploymentValueDeploymentsResponse2002$ {
7330
- /** @deprecated use `CreateDeploymentValueDeploymentsResponse2002$inboundSchema` instead. */
7828
+ export namespace CreateDeploymentValueDeploymentsResponse2$ {
7829
+ /** @deprecated use `CreateDeploymentValueDeploymentsResponse2$inboundSchema` instead. */
7331
7830
  export const inboundSchema =
7332
- CreateDeploymentValueDeploymentsResponse2002$inboundSchema;
7333
- /** @deprecated use `CreateDeploymentValueDeploymentsResponse2002$outboundSchema` instead. */
7831
+ CreateDeploymentValueDeploymentsResponse2$inboundSchema;
7832
+ /** @deprecated use `CreateDeploymentValueDeploymentsResponse2$outboundSchema` instead. */
7334
7833
  export const outboundSchema =
7335
- CreateDeploymentValueDeploymentsResponse2002$outboundSchema;
7336
- /** @deprecated use `CreateDeploymentValueDeploymentsResponse2002$Outbound` instead. */
7337
- export type Outbound = CreateDeploymentValueDeploymentsResponse2002$Outbound;
7834
+ CreateDeploymentValueDeploymentsResponse2$outboundSchema;
7835
+ /** @deprecated use `CreateDeploymentValueDeploymentsResponse2$Outbound` instead. */
7836
+ export type Outbound = CreateDeploymentValueDeploymentsResponse2$Outbound;
7338
7837
  }
7339
7838
 
7340
- export function createDeploymentValueDeploymentsResponse2002ToJSON(
7341
- createDeploymentValueDeploymentsResponse2002:
7342
- CreateDeploymentValueDeploymentsResponse2002,
7839
+ export function createDeploymentValueDeploymentsResponse2ToJSON(
7840
+ createDeploymentValueDeploymentsResponse2:
7841
+ CreateDeploymentValueDeploymentsResponse2,
7343
7842
  ): string {
7344
7843
  return JSON.stringify(
7345
- CreateDeploymentValueDeploymentsResponse2002$outboundSchema.parse(
7346
- createDeploymentValueDeploymentsResponse2002,
7844
+ CreateDeploymentValueDeploymentsResponse2$outboundSchema.parse(
7845
+ createDeploymentValueDeploymentsResponse2,
7347
7846
  ),
7348
7847
  );
7349
7848
  }
7350
7849
 
7351
- export function createDeploymentValueDeploymentsResponse2002FromJSON(
7850
+ export function createDeploymentValueDeploymentsResponse2FromJSON(
7352
7851
  jsonString: string,
7353
7852
  ): SafeParseResult<
7354
- CreateDeploymentValueDeploymentsResponse2002,
7853
+ CreateDeploymentValueDeploymentsResponse2,
7355
7854
  SDKValidationError
7356
7855
  > {
7357
7856
  return safeParse(
7358
7857
  jsonString,
7359
7858
  (x) =>
7360
- CreateDeploymentValueDeploymentsResponse2002$inboundSchema.parse(
7859
+ CreateDeploymentValueDeploymentsResponse2$inboundSchema.parse(
7361
7860
  JSON.parse(x),
7362
7861
  ),
7363
- `Failed to parse 'CreateDeploymentValueDeploymentsResponse2002' from JSON`,
7862
+ `Failed to parse 'CreateDeploymentValueDeploymentsResponse2' from JSON`,
7364
7863
  );
7365
7864
  }
7366
7865
 
@@ -7370,13 +7869,13 @@ export const CreateDeploymentMissingValue$inboundSchema: z.ZodType<
7370
7869
  z.ZodTypeDef,
7371
7870
  unknown
7372
7871
  > = z.union([
7373
- z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$inboundSchema),
7872
+ z.lazy(() => CreateDeploymentValueDeploymentsResponse2$inboundSchema),
7374
7873
  z.string(),
7375
7874
  ]);
7376
7875
 
7377
7876
  /** @internal */
7378
7877
  export type CreateDeploymentMissingValue$Outbound =
7379
- | CreateDeploymentValueDeploymentsResponse2002$Outbound
7878
+ | CreateDeploymentValueDeploymentsResponse2$Outbound
7380
7879
  | string;
7381
7880
 
7382
7881
  /** @internal */
@@ -7385,7 +7884,7 @@ export const CreateDeploymentMissingValue$outboundSchema: z.ZodType<
7385
7884
  z.ZodTypeDef,
7386
7885
  CreateDeploymentMissingValue
7387
7886
  > = z.union([
7388
- z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$outboundSchema),
7887
+ z.lazy(() => CreateDeploymentValueDeploymentsResponse2$outboundSchema),
7389
7888
  z.string(),
7390
7889
  ]);
7391
7890
 
@@ -7431,7 +7930,7 @@ export const Missing2$inboundSchema: z.ZodType<
7431
7930
  type: CreateDeploymentMissingType$inboundSchema,
7432
7931
  key: z.string(),
7433
7932
  value: z.union([
7434
- z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$inboundSchema),
7933
+ z.lazy(() => CreateDeploymentValueDeploymentsResponse2$inboundSchema),
7435
7934
  z.string(),
7436
7935
  ]).optional(),
7437
7936
  });
@@ -7441,7 +7940,7 @@ export type Missing2$Outbound = {
7441
7940
  type: string;
7442
7941
  key: string;
7443
7942
  value?:
7444
- | CreateDeploymentValueDeploymentsResponse2002$Outbound
7943
+ | CreateDeploymentValueDeploymentsResponse2$Outbound
7445
7944
  | string
7446
7945
  | undefined;
7447
7946
  };
@@ -7455,7 +7954,7 @@ export const Missing2$outboundSchema: z.ZodType<
7455
7954
  type: CreateDeploymentMissingType$outboundSchema,
7456
7955
  key: z.string(),
7457
7956
  value: z.union([
7458
- z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$outboundSchema),
7957
+ z.lazy(() => CreateDeploymentValueDeploymentsResponse2$outboundSchema),
7459
7958
  z.string(),
7460
7959
  ]).optional(),
7461
7960
  });
@@ -7555,8 +8054,8 @@ export function createDeploymentValueEqFromJSON(
7555
8054
  }
7556
8055
 
7557
8056
  /** @internal */
7558
- export const CreateDeploymentValueDeploymentsResponse2$inboundSchema: z.ZodType<
7559
- CreateDeploymentValueDeploymentsResponse2,
8057
+ export const CreateDeploymentValueDeployments2$inboundSchema: z.ZodType<
8058
+ CreateDeploymentValueDeployments2,
7560
8059
  z.ZodTypeDef,
7561
8060
  unknown
7562
8061
  > = z.object({
@@ -7574,7 +8073,7 @@ export const CreateDeploymentValueDeploymentsResponse2$inboundSchema: z.ZodType<
7574
8073
  });
7575
8074
 
7576
8075
  /** @internal */
7577
- export type CreateDeploymentValueDeploymentsResponse2$Outbound = {
8076
+ export type CreateDeploymentValueDeployments2$Outbound = {
7578
8077
  eq?: string | number | undefined;
7579
8078
  neq?: string | undefined;
7580
8079
  inc?: Array<string> | undefined;
@@ -7589,64 +8088,55 @@ export type CreateDeploymentValueDeploymentsResponse2$Outbound = {
7589
8088
  };
7590
8089
 
7591
8090
  /** @internal */
7592
- export const CreateDeploymentValueDeploymentsResponse2$outboundSchema:
7593
- z.ZodType<
7594
- CreateDeploymentValueDeploymentsResponse2$Outbound,
7595
- z.ZodTypeDef,
7596
- CreateDeploymentValueDeploymentsResponse2
7597
- > = z.object({
7598
- eq: z.union([z.string(), z.number()]).optional(),
7599
- neq: z.string().optional(),
7600
- inc: z.array(z.string()).optional(),
7601
- ninc: z.array(z.string()).optional(),
7602
- pre: z.string().optional(),
7603
- suf: z.string().optional(),
7604
- re: z.string().optional(),
7605
- gt: z.number().optional(),
7606
- gte: z.number().optional(),
7607
- lt: z.number().optional(),
7608
- lte: z.number().optional(),
7609
- });
8091
+ export const CreateDeploymentValueDeployments2$outboundSchema: z.ZodType<
8092
+ CreateDeploymentValueDeployments2$Outbound,
8093
+ z.ZodTypeDef,
8094
+ CreateDeploymentValueDeployments2
8095
+ > = z.object({
8096
+ eq: z.union([z.string(), z.number()]).optional(),
8097
+ neq: z.string().optional(),
8098
+ inc: z.array(z.string()).optional(),
8099
+ ninc: z.array(z.string()).optional(),
8100
+ pre: z.string().optional(),
8101
+ suf: z.string().optional(),
8102
+ re: z.string().optional(),
8103
+ gt: z.number().optional(),
8104
+ gte: z.number().optional(),
8105
+ lt: z.number().optional(),
8106
+ lte: z.number().optional(),
8107
+ });
7610
8108
 
7611
8109
  /**
7612
8110
  * @internal
7613
8111
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
7614
8112
  */
7615
- export namespace CreateDeploymentValueDeploymentsResponse2$ {
7616
- /** @deprecated use `CreateDeploymentValueDeploymentsResponse2$inboundSchema` instead. */
7617
- export const inboundSchema =
7618
- CreateDeploymentValueDeploymentsResponse2$inboundSchema;
7619
- /** @deprecated use `CreateDeploymentValueDeploymentsResponse2$outboundSchema` instead. */
8113
+ export namespace CreateDeploymentValueDeployments2$ {
8114
+ /** @deprecated use `CreateDeploymentValueDeployments2$inboundSchema` instead. */
8115
+ export const inboundSchema = CreateDeploymentValueDeployments2$inboundSchema;
8116
+ /** @deprecated use `CreateDeploymentValueDeployments2$outboundSchema` instead. */
7620
8117
  export const outboundSchema =
7621
- CreateDeploymentValueDeploymentsResponse2$outboundSchema;
7622
- /** @deprecated use `CreateDeploymentValueDeploymentsResponse2$Outbound` instead. */
7623
- export type Outbound = CreateDeploymentValueDeploymentsResponse2$Outbound;
8118
+ CreateDeploymentValueDeployments2$outboundSchema;
8119
+ /** @deprecated use `CreateDeploymentValueDeployments2$Outbound` instead. */
8120
+ export type Outbound = CreateDeploymentValueDeployments2$Outbound;
7624
8121
  }
7625
8122
 
7626
- export function createDeploymentValueDeploymentsResponse2ToJSON(
7627
- createDeploymentValueDeploymentsResponse2:
7628
- CreateDeploymentValueDeploymentsResponse2,
8123
+ export function createDeploymentValueDeployments2ToJSON(
8124
+ createDeploymentValueDeployments2: CreateDeploymentValueDeployments2,
7629
8125
  ): string {
7630
8126
  return JSON.stringify(
7631
- CreateDeploymentValueDeploymentsResponse2$outboundSchema.parse(
7632
- createDeploymentValueDeploymentsResponse2,
8127
+ CreateDeploymentValueDeployments2$outboundSchema.parse(
8128
+ createDeploymentValueDeployments2,
7633
8129
  ),
7634
8130
  );
7635
8131
  }
7636
8132
 
7637
- export function createDeploymentValueDeploymentsResponse2FromJSON(
8133
+ export function createDeploymentValueDeployments2FromJSON(
7638
8134
  jsonString: string,
7639
- ): SafeParseResult<
7640
- CreateDeploymentValueDeploymentsResponse2,
7641
- SDKValidationError
7642
- > {
8135
+ ): SafeParseResult<CreateDeploymentValueDeployments2, SDKValidationError> {
7643
8136
  return safeParse(
7644
8137
  jsonString,
7645
- (x) =>
7646
- CreateDeploymentValueDeploymentsResponse2$inboundSchema.parse(
7647
- JSON.parse(x),
7648
- ),
7649
- `Failed to parse 'CreateDeploymentValueDeploymentsResponse2' from JSON`,
8138
+ (x) => CreateDeploymentValueDeployments2$inboundSchema.parse(JSON.parse(x)),
8139
+ `Failed to parse 'CreateDeploymentValueDeployments2' from JSON`,
7650
8140
  );
7651
8141
  }
7652
8142
 
@@ -7656,13 +8146,13 @@ export const MissingValue$inboundSchema: z.ZodType<
7656
8146
  z.ZodTypeDef,
7657
8147
  unknown
7658
8148
  > = z.union([
7659
- z.lazy(() => CreateDeploymentValueDeploymentsResponse2$inboundSchema),
8149
+ z.lazy(() => CreateDeploymentValueDeployments2$inboundSchema),
7660
8150
  z.string(),
7661
8151
  ]);
7662
8152
 
7663
8153
  /** @internal */
7664
8154
  export type MissingValue$Outbound =
7665
- | CreateDeploymentValueDeploymentsResponse2$Outbound
8155
+ | CreateDeploymentValueDeployments2$Outbound
7666
8156
  | string;
7667
8157
 
7668
8158
  /** @internal */
@@ -7671,7 +8161,7 @@ export const MissingValue$outboundSchema: z.ZodType<
7671
8161
  z.ZodTypeDef,
7672
8162
  MissingValue
7673
8163
  > = z.union([
7674
- z.lazy(() => CreateDeploymentValueDeploymentsResponse2$outboundSchema),
8164
+ z.lazy(() => CreateDeploymentValueDeployments2$outboundSchema),
7675
8165
  z.string(),
7676
8166
  ]);
7677
8167
 
@@ -7710,7 +8200,7 @@ export const Missing1$inboundSchema: z.ZodType<
7710
8200
  > = z.object({
7711
8201
  type: MissingType$inboundSchema,
7712
8202
  value: z.union([
7713
- z.lazy(() => CreateDeploymentValueDeploymentsResponse2$inboundSchema),
8203
+ z.lazy(() => CreateDeploymentValueDeployments2$inboundSchema),
7714
8204
  z.string(),
7715
8205
  ]),
7716
8206
  });
@@ -7718,7 +8208,7 @@ export const Missing1$inboundSchema: z.ZodType<
7718
8208
  /** @internal */
7719
8209
  export type Missing1$Outbound = {
7720
8210
  type: string;
7721
- value: CreateDeploymentValueDeploymentsResponse2$Outbound | string;
8211
+ value: CreateDeploymentValueDeployments2$Outbound | string;
7722
8212
  };
7723
8213
 
7724
8214
  /** @internal */
@@ -7729,7 +8219,7 @@ export const Missing1$outboundSchema: z.ZodType<
7729
8219
  > = z.object({
7730
8220
  type: MissingType$outboundSchema,
7731
8221
  value: z.union([
7732
- z.lazy(() => CreateDeploymentValueDeploymentsResponse2$outboundSchema),
8222
+ z.lazy(() => CreateDeploymentValueDeployments2$outboundSchema),
7733
8223
  z.string(),
7734
8224
  ]),
7735
8225
  });
@@ -7762,23 +8252,20 @@ export function missing1FromJSON(
7762
8252
  }
7763
8253
 
7764
8254
  /** @internal */
7765
- export const RoutesMissing$inboundSchema: z.ZodType<
7766
- RoutesMissing,
7767
- z.ZodTypeDef,
7768
- unknown
7769
- > = z.union([
7770
- z.lazy(() => Missing1$inboundSchema),
7771
- z.lazy(() => Missing2$inboundSchema),
7772
- ]);
8255
+ export const Missing$inboundSchema: z.ZodType<Missing, z.ZodTypeDef, unknown> =
8256
+ z.union([
8257
+ z.lazy(() => Missing1$inboundSchema),
8258
+ z.lazy(() => Missing2$inboundSchema),
8259
+ ]);
7773
8260
 
7774
8261
  /** @internal */
7775
- export type RoutesMissing$Outbound = Missing1$Outbound | Missing2$Outbound;
8262
+ export type Missing$Outbound = Missing1$Outbound | Missing2$Outbound;
7776
8263
 
7777
8264
  /** @internal */
7778
- export const RoutesMissing$outboundSchema: z.ZodType<
7779
- RoutesMissing$Outbound,
8265
+ export const Missing$outboundSchema: z.ZodType<
8266
+ Missing$Outbound,
7780
8267
  z.ZodTypeDef,
7781
- RoutesMissing
8268
+ Missing
7782
8269
  > = z.union([
7783
8270
  z.lazy(() => Missing1$outboundSchema),
7784
8271
  z.lazy(() => Missing2$outboundSchema),
@@ -7788,26 +8275,26 @@ export const RoutesMissing$outboundSchema: z.ZodType<
7788
8275
  * @internal
7789
8276
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
7790
8277
  */
7791
- export namespace RoutesMissing$ {
7792
- /** @deprecated use `RoutesMissing$inboundSchema` instead. */
7793
- export const inboundSchema = RoutesMissing$inboundSchema;
7794
- /** @deprecated use `RoutesMissing$outboundSchema` instead. */
7795
- export const outboundSchema = RoutesMissing$outboundSchema;
7796
- /** @deprecated use `RoutesMissing$Outbound` instead. */
7797
- export type Outbound = RoutesMissing$Outbound;
8278
+ export namespace Missing$ {
8279
+ /** @deprecated use `Missing$inboundSchema` instead. */
8280
+ export const inboundSchema = Missing$inboundSchema;
8281
+ /** @deprecated use `Missing$outboundSchema` instead. */
8282
+ export const outboundSchema = Missing$outboundSchema;
8283
+ /** @deprecated use `Missing$Outbound` instead. */
8284
+ export type Outbound = Missing$Outbound;
7798
8285
  }
7799
8286
 
7800
- export function routesMissingToJSON(routesMissing: RoutesMissing): string {
7801
- return JSON.stringify(RoutesMissing$outboundSchema.parse(routesMissing));
8287
+ export function missingToJSON(missing: Missing): string {
8288
+ return JSON.stringify(Missing$outboundSchema.parse(missing));
7802
8289
  }
7803
8290
 
7804
- export function routesMissingFromJSON(
8291
+ export function missingFromJSON(
7805
8292
  jsonString: string,
7806
- ): SafeParseResult<RoutesMissing, SDKValidationError> {
8293
+ ): SafeParseResult<Missing, SDKValidationError> {
7807
8294
  return safeParse(
7808
8295
  jsonString,
7809
- (x) => RoutesMissing$inboundSchema.parse(JSON.parse(x)),
7810
- `Failed to parse 'RoutesMissing' from JSON`,
8296
+ (x) => Missing$inboundSchema.parse(JSON.parse(x)),
8297
+ `Failed to parse 'Missing' from JSON`,
7811
8298
  );
7812
8299
  }
7813
8300
 
@@ -7831,8 +8318,8 @@ export namespace RoutesAction$ {
7831
8318
  }
7832
8319
 
7833
8320
  /** @internal */
7834
- export const RoutesMitigate$inboundSchema: z.ZodType<
7835
- RoutesMitigate,
8321
+ export const CreateDeploymentRoutesMitigate$inboundSchema: z.ZodType<
8322
+ CreateDeploymentRoutesMitigate,
7836
8323
  z.ZodTypeDef,
7837
8324
  unknown
7838
8325
  > = z.object({
@@ -7840,15 +8327,15 @@ export const RoutesMitigate$inboundSchema: z.ZodType<
7840
8327
  });
7841
8328
 
7842
8329
  /** @internal */
7843
- export type RoutesMitigate$Outbound = {
8330
+ export type CreateDeploymentRoutesMitigate$Outbound = {
7844
8331
  action: string;
7845
8332
  };
7846
8333
 
7847
8334
  /** @internal */
7848
- export const RoutesMitigate$outboundSchema: z.ZodType<
7849
- RoutesMitigate$Outbound,
8335
+ export const CreateDeploymentRoutesMitigate$outboundSchema: z.ZodType<
8336
+ CreateDeploymentRoutesMitigate$Outbound,
7850
8337
  z.ZodTypeDef,
7851
- RoutesMitigate
8338
+ CreateDeploymentRoutesMitigate
7852
8339
  > = z.object({
7853
8340
  action: RoutesAction$outboundSchema,
7854
8341
  });
@@ -7857,26 +8344,32 @@ export const RoutesMitigate$outboundSchema: z.ZodType<
7857
8344
  * @internal
7858
8345
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
7859
8346
  */
7860
- export namespace RoutesMitigate$ {
7861
- /** @deprecated use `RoutesMitigate$inboundSchema` instead. */
7862
- export const inboundSchema = RoutesMitigate$inboundSchema;
7863
- /** @deprecated use `RoutesMitigate$outboundSchema` instead. */
7864
- export const outboundSchema = RoutesMitigate$outboundSchema;
7865
- /** @deprecated use `RoutesMitigate$Outbound` instead. */
7866
- export type Outbound = RoutesMitigate$Outbound;
8347
+ export namespace CreateDeploymentRoutesMitigate$ {
8348
+ /** @deprecated use `CreateDeploymentRoutesMitigate$inboundSchema` instead. */
8349
+ export const inboundSchema = CreateDeploymentRoutesMitigate$inboundSchema;
8350
+ /** @deprecated use `CreateDeploymentRoutesMitigate$outboundSchema` instead. */
8351
+ export const outboundSchema = CreateDeploymentRoutesMitigate$outboundSchema;
8352
+ /** @deprecated use `CreateDeploymentRoutesMitigate$Outbound` instead. */
8353
+ export type Outbound = CreateDeploymentRoutesMitigate$Outbound;
7867
8354
  }
7868
8355
 
7869
- export function routesMitigateToJSON(routesMitigate: RoutesMitigate): string {
7870
- return JSON.stringify(RoutesMitigate$outboundSchema.parse(routesMitigate));
8356
+ export function createDeploymentRoutesMitigateToJSON(
8357
+ createDeploymentRoutesMitigate: CreateDeploymentRoutesMitigate,
8358
+ ): string {
8359
+ return JSON.stringify(
8360
+ CreateDeploymentRoutesMitigate$outboundSchema.parse(
8361
+ createDeploymentRoutesMitigate,
8362
+ ),
8363
+ );
7871
8364
  }
7872
8365
 
7873
- export function routesMitigateFromJSON(
8366
+ export function createDeploymentRoutesMitigateFromJSON(
7874
8367
  jsonString: string,
7875
- ): SafeParseResult<RoutesMitigate, SDKValidationError> {
8368
+ ): SafeParseResult<CreateDeploymentRoutesMitigate, SDKValidationError> {
7876
8369
  return safeParse(
7877
8370
  jsonString,
7878
- (x) => RoutesMitigate$inboundSchema.parse(JSON.parse(x)),
7879
- `Failed to parse 'RoutesMitigate' from JSON`,
8371
+ (x) => CreateDeploymentRoutesMitigate$inboundSchema.parse(JSON.parse(x)),
8372
+ `Failed to parse 'CreateDeploymentRoutesMitigate' from JSON`,
7880
8373
  );
7881
8374
  }
7882
8375
 
@@ -8293,7 +8786,8 @@ export const Routes1$inboundSchema: z.ZodType<Routes1, z.ZodTypeDef, unknown> =
8293
8786
  z.lazy(() => Missing2$inboundSchema),
8294
8787
  ]),
8295
8788
  ).optional(),
8296
- mitigate: z.lazy(() => RoutesMitigate$inboundSchema).optional(),
8789
+ mitigate: z.lazy(() => CreateDeploymentRoutesMitigate$inboundSchema)
8790
+ .optional(),
8297
8791
  transforms: z.array(z.lazy(() => Transforms$inboundSchema)).optional(),
8298
8792
  locale: z.lazy(() => Locale$inboundSchema).optional(),
8299
8793
  middlewarePath: z.string().optional(),
@@ -8315,7 +8809,7 @@ export type Routes1$Outbound = {
8315
8809
  status?: number | undefined;
8316
8810
  has?: Array<Has1$Outbound | Has2$Outbound> | undefined;
8317
8811
  missing?: Array<Missing1$Outbound | Missing2$Outbound> | undefined;
8318
- mitigate?: RoutesMitigate$Outbound | undefined;
8812
+ mitigate?: CreateDeploymentRoutesMitigate$Outbound | undefined;
8319
8813
  transforms?: Array<Transforms$Outbound> | undefined;
8320
8814
  locale?: Locale$Outbound | undefined;
8321
8815
  middlewarePath?: string | undefined;
@@ -8351,7 +8845,8 @@ export const Routes1$outboundSchema: z.ZodType<
8351
8845
  z.lazy(() => Missing2$outboundSchema),
8352
8846
  ]),
8353
8847
  ).optional(),
8354
- mitigate: z.lazy(() => RoutesMitigate$outboundSchema).optional(),
8848
+ mitigate: z.lazy(() => CreateDeploymentRoutesMitigate$outboundSchema)
8849
+ .optional(),
8355
8850
  transforms: z.array(z.lazy(() => Transforms$outboundSchema)).optional(),
8356
8851
  locale: z.lazy(() => Locale$outboundSchema).optional(),
8357
8852
  middlewarePath: z.string().optional(),
@@ -8637,17 +9132,19 @@ export function createDeploymentChecksFromJSON(
8637
9132
  }
8638
9133
 
8639
9134
  /** @internal */
8640
- export const CreateDeploymentMicrofrontendsApplications$inboundSchema:
8641
- z.ZodType<CreateDeploymentMicrofrontendsApplications, z.ZodTypeDef, unknown> =
8642
- z.object({
8643
- isDefaultApp: z.boolean().optional(),
8644
- productionHost: z.string(),
8645
- deploymentAlias: z.string().optional(),
8646
- deploymentHost: z.string().optional(),
8647
- });
9135
+ export const Applications$inboundSchema: z.ZodType<
9136
+ Applications,
9137
+ z.ZodTypeDef,
9138
+ unknown
9139
+ > = z.object({
9140
+ isDefaultApp: z.boolean().optional(),
9141
+ productionHost: z.string(),
9142
+ deploymentAlias: z.string().optional(),
9143
+ deploymentHost: z.string().optional(),
9144
+ });
8648
9145
 
8649
9146
  /** @internal */
8650
- export type CreateDeploymentMicrofrontendsApplications$Outbound = {
9147
+ export type Applications$Outbound = {
8651
9148
  isDefaultApp?: boolean | undefined;
8652
9149
  productionHost: string;
8653
9150
  deploymentAlias?: string | undefined;
@@ -8655,57 +9152,41 @@ export type CreateDeploymentMicrofrontendsApplications$Outbound = {
8655
9152
  };
8656
9153
 
8657
9154
  /** @internal */
8658
- export const CreateDeploymentMicrofrontendsApplications$outboundSchema:
8659
- z.ZodType<
8660
- CreateDeploymentMicrofrontendsApplications$Outbound,
8661
- z.ZodTypeDef,
8662
- CreateDeploymentMicrofrontendsApplications
8663
- > = z.object({
8664
- isDefaultApp: z.boolean().optional(),
8665
- productionHost: z.string(),
8666
- deploymentAlias: z.string().optional(),
8667
- deploymentHost: z.string().optional(),
8668
- });
9155
+ export const Applications$outboundSchema: z.ZodType<
9156
+ Applications$Outbound,
9157
+ z.ZodTypeDef,
9158
+ Applications
9159
+ > = z.object({
9160
+ isDefaultApp: z.boolean().optional(),
9161
+ productionHost: z.string(),
9162
+ deploymentAlias: z.string().optional(),
9163
+ deploymentHost: z.string().optional(),
9164
+ });
8669
9165
 
8670
9166
  /**
8671
9167
  * @internal
8672
9168
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
8673
9169
  */
8674
- export namespace CreateDeploymentMicrofrontendsApplications$ {
8675
- /** @deprecated use `CreateDeploymentMicrofrontendsApplications$inboundSchema` instead. */
8676
- export const inboundSchema =
8677
- CreateDeploymentMicrofrontendsApplications$inboundSchema;
8678
- /** @deprecated use `CreateDeploymentMicrofrontendsApplications$outboundSchema` instead. */
8679
- export const outboundSchema =
8680
- CreateDeploymentMicrofrontendsApplications$outboundSchema;
8681
- /** @deprecated use `CreateDeploymentMicrofrontendsApplications$Outbound` instead. */
8682
- export type Outbound = CreateDeploymentMicrofrontendsApplications$Outbound;
9170
+ export namespace Applications$ {
9171
+ /** @deprecated use `Applications$inboundSchema` instead. */
9172
+ export const inboundSchema = Applications$inboundSchema;
9173
+ /** @deprecated use `Applications$outboundSchema` instead. */
9174
+ export const outboundSchema = Applications$outboundSchema;
9175
+ /** @deprecated use `Applications$Outbound` instead. */
9176
+ export type Outbound = Applications$Outbound;
8683
9177
  }
8684
9178
 
8685
- export function createDeploymentMicrofrontendsApplicationsToJSON(
8686
- createDeploymentMicrofrontendsApplications:
8687
- CreateDeploymentMicrofrontendsApplications,
8688
- ): string {
8689
- return JSON.stringify(
8690
- CreateDeploymentMicrofrontendsApplications$outboundSchema.parse(
8691
- createDeploymentMicrofrontendsApplications,
8692
- ),
8693
- );
9179
+ export function applicationsToJSON(applications: Applications): string {
9180
+ return JSON.stringify(Applications$outboundSchema.parse(applications));
8694
9181
  }
8695
9182
 
8696
- export function createDeploymentMicrofrontendsApplicationsFromJSON(
9183
+ export function applicationsFromJSON(
8697
9184
  jsonString: string,
8698
- ): SafeParseResult<
8699
- CreateDeploymentMicrofrontendsApplications,
8700
- SDKValidationError
8701
- > {
9185
+ ): SafeParseResult<Applications, SDKValidationError> {
8702
9186
  return safeParse(
8703
9187
  jsonString,
8704
- (x) =>
8705
- CreateDeploymentMicrofrontendsApplications$inboundSchema.parse(
8706
- JSON.parse(x),
8707
- ),
8708
- `Failed to parse 'CreateDeploymentMicrofrontendsApplications' from JSON`,
9188
+ (x) => Applications$inboundSchema.parse(JSON.parse(x)),
9189
+ `Failed to parse 'Applications' from JSON`,
8709
9190
  );
8710
9191
  }
8711
9192
 
@@ -8715,28 +9196,22 @@ export const CreateDeploymentMicrofrontends2$inboundSchema: z.ZodType<
8715
9196
  z.ZodTypeDef,
8716
9197
  unknown
8717
9198
  > = z.object({
8718
- applications: z.record(
8719
- z.lazy(() => CreateDeploymentMicrofrontendsApplications$inboundSchema),
8720
- ).optional(),
9199
+ applications: z.record(z.lazy(() => Applications$inboundSchema)).optional(),
8721
9200
  isDefaultApp: z.boolean(),
8722
9201
  defaultAppProjectName: z.string(),
8723
9202
  defaultRoute: z.string().optional(),
8724
9203
  groupIds: z.array(z.string()),
8725
- microfrontendsAliasEnabled: z.boolean().optional(),
8726
- previewEnvAliasEnabled: z.boolean().optional(),
9204
+ microfrontendsAlias2Enabled: z.boolean().optional(),
8727
9205
  });
8728
9206
 
8729
9207
  /** @internal */
8730
9208
  export type CreateDeploymentMicrofrontends2$Outbound = {
8731
- applications?: {
8732
- [k: string]: CreateDeploymentMicrofrontendsApplications$Outbound;
8733
- } | undefined;
9209
+ applications?: { [k: string]: Applications$Outbound } | undefined;
8734
9210
  isDefaultApp: boolean;
8735
9211
  defaultAppProjectName: string;
8736
9212
  defaultRoute?: string | undefined;
8737
9213
  groupIds: Array<string>;
8738
- microfrontendsAliasEnabled?: boolean | undefined;
8739
- previewEnvAliasEnabled?: boolean | undefined;
9214
+ microfrontendsAlias2Enabled?: boolean | undefined;
8740
9215
  };
8741
9216
 
8742
9217
  /** @internal */
@@ -8745,15 +9220,12 @@ export const CreateDeploymentMicrofrontends2$outboundSchema: z.ZodType<
8745
9220
  z.ZodTypeDef,
8746
9221
  CreateDeploymentMicrofrontends2
8747
9222
  > = z.object({
8748
- applications: z.record(
8749
- z.lazy(() => CreateDeploymentMicrofrontendsApplications$outboundSchema),
8750
- ).optional(),
9223
+ applications: z.record(z.lazy(() => Applications$outboundSchema)).optional(),
8751
9224
  isDefaultApp: z.boolean(),
8752
9225
  defaultAppProjectName: z.string(),
8753
9226
  defaultRoute: z.string().optional(),
8754
9227
  groupIds: z.array(z.string()),
8755
- microfrontendsAliasEnabled: z.boolean().optional(),
8756
- previewEnvAliasEnabled: z.boolean().optional(),
9228
+ microfrontendsAlias2Enabled: z.boolean().optional(),
8757
9229
  });
8758
9230
 
8759
9231
  /**
@@ -8799,8 +9271,7 @@ export const CreateDeploymentMicrofrontends1$inboundSchema: z.ZodType<
8799
9271
  defaultAppProjectName: z.string(),
8800
9272
  defaultRoute: z.string().optional(),
8801
9273
  groupIds: z.array(z.string()),
8802
- microfrontendsAliasEnabled: z.boolean().optional(),
8803
- previewEnvAliasEnabled: z.boolean().optional(),
9274
+ microfrontendsAlias2Enabled: z.boolean().optional(),
8804
9275
  });
8805
9276
 
8806
9277
  /** @internal */
@@ -8809,8 +9280,7 @@ export type CreateDeploymentMicrofrontends1$Outbound = {
8809
9280
  defaultAppProjectName: string;
8810
9281
  defaultRoute?: string | undefined;
8811
9282
  groupIds: Array<string>;
8812
- microfrontendsAliasEnabled?: boolean | undefined;
8813
- previewEnvAliasEnabled?: boolean | undefined;
9283
+ microfrontendsAlias2Enabled?: boolean | undefined;
8814
9284
  };
8815
9285
 
8816
9286
  /** @internal */
@@ -8823,8 +9293,7 @@ export const CreateDeploymentMicrofrontends1$outboundSchema: z.ZodType<
8823
9293
  defaultAppProjectName: z.string(),
8824
9294
  defaultRoute: z.string().optional(),
8825
9295
  groupIds: z.array(z.string()),
8826
- microfrontendsAliasEnabled: z.boolean().optional(),
8827
- previewEnvAliasEnabled: z.boolean().optional(),
9296
+ microfrontendsAlias2Enabled: z.boolean().optional(),
8828
9297
  });
8829
9298
 
8830
9299
  /**
@@ -9617,21 +10086,25 @@ export const CreateDeploymentResponseBody$inboundSchema: z.ZodType<
9617
10086
  version: z.number(),
9618
10087
  autoAssignCustomDomains: z.boolean().optional(),
9619
10088
  gitSource: z.union([
9620
- z.lazy(() => CreateDeploymentGitSource10$inboundSchema),
9621
10089
  z.lazy(() => CreateDeploymentGitSource12$inboundSchema),
10090
+ z.lazy(() => CreateDeploymentGitSource15$inboundSchema),
9622
10091
  z.lazy(() => CreateDeploymentGitSource4$inboundSchema),
9623
- z.lazy(() => CreateDeploymentGitSource8$inboundSchema),
9624
- z.lazy(() => CreateDeploymentGitSource9$inboundSchema),
10092
+ z.lazy(() => CreateDeploymentGitSource10$inboundSchema),
9625
10093
  z.lazy(() => CreateDeploymentGitSource11$inboundSchema),
10094
+ z.lazy(() => CreateDeploymentGitSource13$inboundSchema),
10095
+ z.lazy(() => CreateDeploymentGitSource14$inboundSchema),
9626
10096
  z.lazy(() => CreateDeploymentGitSource2$inboundSchema),
9627
10097
  z.lazy(() => CreateDeploymentGitSource3$inboundSchema),
9628
- z.lazy(() => CreateDeploymentGitSource7$inboundSchema),
10098
+ z.lazy(() => CreateDeploymentGitSource6$inboundSchema),
10099
+ z.lazy(() => CreateDeploymentGitSource9$inboundSchema),
9629
10100
  z.lazy(() => CreateDeploymentGitSource1$inboundSchema),
9630
10101
  z.lazy(() => CreateDeploymentGitSource5$inboundSchema),
9631
- z.lazy(() => CreateDeploymentGitSource6$inboundSchema),
10102
+ z.lazy(() => CreateDeploymentGitSource7$inboundSchema),
10103
+ z.lazy(() => CreateDeploymentGitSource8$inboundSchema),
9632
10104
  ]).optional(),
9633
10105
  meta: z.record(z.string()),
9634
10106
  project: z.lazy(() => CreateDeploymentProject$inboundSchema).optional(),
10107
+ nodeVersion: CreateDeploymentNodeVersion$inboundSchema.optional(),
9635
10108
  readyState: ReadyState$inboundSchema,
9636
10109
  source: CreateDeploymentSource$inboundSchema.optional(),
9637
10110
  target: z.nullable(CreateDeploymentTarget$inboundSchema).optional(),
@@ -9740,21 +10213,25 @@ export type CreateDeploymentResponseBody$Outbound = {
9740
10213
  version: number;
9741
10214
  autoAssignCustomDomains?: boolean | undefined;
9742
10215
  gitSource?:
9743
- | CreateDeploymentGitSource10$Outbound
9744
10216
  | CreateDeploymentGitSource12$Outbound
10217
+ | CreateDeploymentGitSource15$Outbound
9745
10218
  | CreateDeploymentGitSource4$Outbound
9746
- | CreateDeploymentGitSource8$Outbound
9747
- | CreateDeploymentGitSource9$Outbound
10219
+ | CreateDeploymentGitSource10$Outbound
9748
10220
  | CreateDeploymentGitSource11$Outbound
10221
+ | CreateDeploymentGitSource13$Outbound
10222
+ | CreateDeploymentGitSource14$Outbound
9749
10223
  | CreateDeploymentGitSource2$Outbound
9750
10224
  | CreateDeploymentGitSource3$Outbound
9751
- | CreateDeploymentGitSource7$Outbound
10225
+ | CreateDeploymentGitSource6$Outbound
10226
+ | CreateDeploymentGitSource9$Outbound
9752
10227
  | CreateDeploymentGitSource1$Outbound
9753
10228
  | CreateDeploymentGitSource5$Outbound
9754
- | CreateDeploymentGitSource6$Outbound
10229
+ | CreateDeploymentGitSource7$Outbound
10230
+ | CreateDeploymentGitSource8$Outbound
9755
10231
  | undefined;
9756
10232
  meta: { [k: string]: string };
9757
10233
  project?: CreateDeploymentProject$Outbound | undefined;
10234
+ nodeVersion?: string | undefined;
9758
10235
  readyState: string;
9759
10236
  source?: string | undefined;
9760
10237
  target?: string | null | undefined;
@@ -9854,21 +10331,25 @@ export const CreateDeploymentResponseBody$outboundSchema: z.ZodType<
9854
10331
  version: z.number(),
9855
10332
  autoAssignCustomDomains: z.boolean().optional(),
9856
10333
  gitSource: z.union([
9857
- z.lazy(() => CreateDeploymentGitSource10$outboundSchema),
9858
10334
  z.lazy(() => CreateDeploymentGitSource12$outboundSchema),
10335
+ z.lazy(() => CreateDeploymentGitSource15$outboundSchema),
9859
10336
  z.lazy(() => CreateDeploymentGitSource4$outboundSchema),
9860
- z.lazy(() => CreateDeploymentGitSource8$outboundSchema),
9861
- z.lazy(() => CreateDeploymentGitSource9$outboundSchema),
10337
+ z.lazy(() => CreateDeploymentGitSource10$outboundSchema),
9862
10338
  z.lazy(() => CreateDeploymentGitSource11$outboundSchema),
10339
+ z.lazy(() => CreateDeploymentGitSource13$outboundSchema),
10340
+ z.lazy(() => CreateDeploymentGitSource14$outboundSchema),
9863
10341
  z.lazy(() => CreateDeploymentGitSource2$outboundSchema),
9864
10342
  z.lazy(() => CreateDeploymentGitSource3$outboundSchema),
9865
- z.lazy(() => CreateDeploymentGitSource7$outboundSchema),
10343
+ z.lazy(() => CreateDeploymentGitSource6$outboundSchema),
10344
+ z.lazy(() => CreateDeploymentGitSource9$outboundSchema),
9866
10345
  z.lazy(() => CreateDeploymentGitSource1$outboundSchema),
9867
10346
  z.lazy(() => CreateDeploymentGitSource5$outboundSchema),
9868
- z.lazy(() => CreateDeploymentGitSource6$outboundSchema),
10347
+ z.lazy(() => CreateDeploymentGitSource7$outboundSchema),
10348
+ z.lazy(() => CreateDeploymentGitSource8$outboundSchema),
9869
10349
  ]).optional(),
9870
10350
  meta: z.record(z.string()),
9871
10351
  project: z.lazy(() => CreateDeploymentProject$outboundSchema).optional(),
10352
+ nodeVersion: CreateDeploymentNodeVersion$outboundSchema.optional(),
9872
10353
  readyState: ReadyState$outboundSchema,
9873
10354
  source: CreateDeploymentSource$outboundSchema.optional(),
9874
10355
  target: z.nullable(CreateDeploymentTarget$outboundSchema).optional(),