@vercel/sdk 1.10.0 → 1.10.1

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 (261) hide show
  1. package/bin/mcp-server.js +3144 -2287
  2. package/bin/mcp-server.js.map +51 -51
  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/__tests__/teams.test.js +2 -2
  30. package/esm/__tests__/teams.test.js.map +1 -1
  31. package/esm/funcs/aliasesGetAlias.d.ts +2 -2
  32. package/esm/funcs/aliasesGetAlias.d.ts.map +1 -1
  33. package/esm/funcs/aliasesGetAlias.js +3 -2
  34. package/esm/funcs/aliasesGetAlias.js.map +1 -1
  35. package/esm/funcs/checksRerequestCheck.js +1 -0
  36. package/esm/funcs/checksRerequestCheck.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/edgeConfigPatchEdgeConfigItems.js +2 -3
  40. package/esm/funcs/edgeConfigPatchEdgeConfigItems.js.map +1 -1
  41. package/esm/funcs/marketplaceUpdateInstallationIntegrationEdgeConfig.js +2 -2
  42. package/esm/funcs/marketplaceUpdateInstallationIntegrationEdgeConfig.js.map +1 -1
  43. package/esm/funcs/projectsAcceptProjectTransferRequest.js +2 -2
  44. package/esm/funcs/projectsAcceptProjectTransferRequest.js.map +1 -1
  45. package/esm/funcs/projectsCreateProject.js +2 -2
  46. package/esm/funcs/projectsCreateProject.js.map +1 -1
  47. package/esm/funcs/teamsPatchTeam.js +2 -2
  48. package/esm/funcs/teamsPatchTeam.js.map +1 -1
  49. package/esm/lib/config.d.ts +3 -3
  50. package/esm/lib/config.js +3 -3
  51. package/esm/mcp-server/mcp-server.js +1 -1
  52. package/esm/mcp-server/server.js +1 -1
  53. package/esm/models/acceptprojecttransferrequestop.d.ts +176 -2
  54. package/esm/models/acceptprojecttransferrequestop.d.ts.map +1 -1
  55. package/esm/models/acceptprojecttransferrequestop.js +176 -2
  56. package/esm/models/acceptprojecttransferrequestop.js.map +1 -1
  57. package/esm/models/addbypassipop.d.ts +38 -38
  58. package/esm/models/addbypassipop.d.ts.map +1 -1
  59. package/esm/models/addbypassipop.js +44 -42
  60. package/esm/models/addbypassipop.js.map +1 -1
  61. package/esm/models/authtoken.d.ts +10 -4
  62. package/esm/models/authtoken.d.ts.map +1 -1
  63. package/esm/models/authtoken.js +6 -4
  64. package/esm/models/authtoken.js.map +1 -1
  65. package/esm/models/authuser.d.ts +54 -0
  66. package/esm/models/authuser.d.ts.map +1 -1
  67. package/esm/models/authuser.js +34 -0
  68. package/esm/models/authuser.js.map +1 -1
  69. package/esm/models/canceldeploymentop.d.ts +336 -99
  70. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  71. package/esm/models/canceldeploymentop.js +310 -93
  72. package/esm/models/canceldeploymentop.js.map +1 -1
  73. package/esm/models/createcustomenvironmentop.d.ts +3 -3
  74. package/esm/models/createcustomenvironmentop.js +1 -1
  75. package/esm/models/createcustomenvironmentop.js.map +1 -1
  76. package/esm/models/createdeploymentop.d.ts +412 -152
  77. package/esm/models/createdeploymentop.d.ts.map +1 -1
  78. package/esm/models/createdeploymentop.js +348 -122
  79. package/esm/models/createdeploymentop.js.map +1 -1
  80. package/esm/models/createlogdrainop.d.ts +2 -2
  81. package/esm/models/createlogdrainop.d.ts.map +1 -1
  82. package/esm/models/createlogdrainop.js +2 -2
  83. package/esm/models/createlogdrainop.js.map +1 -1
  84. package/esm/models/createprojectop.d.ts +191 -58
  85. package/esm/models/createprojectop.d.ts.map +1 -1
  86. package/esm/models/createprojectop.js +168 -43
  87. package/esm/models/createprojectop.js.map +1 -1
  88. package/esm/models/createwebhookop.d.ts +12 -0
  89. package/esm/models/createwebhookop.d.ts.map +1 -1
  90. package/esm/models/createwebhookop.js +4 -0
  91. package/esm/models/createwebhookop.js.map +1 -1
  92. package/esm/models/exchangessotokenop.d.ts +4 -4
  93. package/esm/models/exchangessotokenop.d.ts.map +1 -1
  94. package/esm/models/exchangessotokenop.js +4 -4
  95. package/esm/models/exchangessotokenop.js.map +1 -1
  96. package/esm/models/getaliasop.d.ts +0 -555
  97. package/esm/models/getaliasop.d.ts.map +1 -1
  98. package/esm/models/getaliasop.js +0 -449
  99. package/esm/models/getaliasop.js.map +1 -1
  100. package/esm/models/getbypassipop.d.ts +55 -179
  101. package/esm/models/getbypassipop.d.ts.map +1 -1
  102. package/esm/models/getbypassipop.js +59 -221
  103. package/esm/models/getbypassipop.js.map +1 -1
  104. package/esm/models/getcustomenvironmentop.d.ts +3 -3
  105. package/esm/models/getcustomenvironmentop.js +1 -1
  106. package/esm/models/getcustomenvironmentop.js.map +1 -1
  107. package/esm/models/getdeploymentop.d.ts +757 -276
  108. package/esm/models/getdeploymentop.d.ts.map +1 -1
  109. package/esm/models/getdeploymentop.js +703 -262
  110. package/esm/models/getdeploymentop.js.map +1 -1
  111. package/esm/models/getdeploymentsop.d.ts +3 -0
  112. package/esm/models/getdeploymentsop.d.ts.map +1 -1
  113. package/esm/models/getdeploymentsop.js +1 -0
  114. package/esm/models/getdeploymentsop.js.map +1 -1
  115. package/esm/models/getintegrationlogdrainsop.d.ts +2 -2
  116. package/esm/models/getintegrationlogdrainsop.d.ts.map +1 -1
  117. package/esm/models/getintegrationlogdrainsop.js +4 -2
  118. package/esm/models/getintegrationlogdrainsop.js.map +1 -1
  119. package/esm/models/getprojectmembersop.d.ts +3 -0
  120. package/esm/models/getprojectmembersop.d.ts.map +1 -1
  121. package/esm/models/getprojectmembersop.js +1 -0
  122. package/esm/models/getprojectmembersop.js.map +1 -1
  123. package/esm/models/getprojectsop.d.ts +185 -58
  124. package/esm/models/getprojectsop.d.ts.map +1 -1
  125. package/esm/models/getprojectsop.js +166 -43
  126. package/esm/models/getprojectsop.js.map +1 -1
  127. package/esm/models/getrecordsop.d.ts +8 -0
  128. package/esm/models/getrecordsop.d.ts.map +1 -1
  129. package/esm/models/getrecordsop.js +8 -0
  130. package/esm/models/getrecordsop.js.map +1 -1
  131. package/esm/models/getteammembersop.d.ts +6 -0
  132. package/esm/models/getteammembersop.d.ts.map +1 -1
  133. package/esm/models/getteammembersop.js +2 -0
  134. package/esm/models/getteammembersop.js.map +1 -1
  135. package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts +3 -3
  136. package/esm/models/getv9projectsidornamecustomenvironmentsop.js +1 -1
  137. package/esm/models/getv9projectsidornamecustomenvironmentsop.js.map +1 -1
  138. package/esm/models/getwebhookop.d.ts +6 -0
  139. package/esm/models/getwebhookop.d.ts.map +1 -1
  140. package/esm/models/getwebhookop.js +2 -0
  141. package/esm/models/getwebhookop.js.map +1 -1
  142. package/esm/models/getwebhooksop.d.ts +15 -0
  143. package/esm/models/getwebhooksop.d.ts.map +1 -1
  144. package/esm/models/getwebhooksop.js +5 -0
  145. package/esm/models/getwebhooksop.js.map +1 -1
  146. package/esm/models/inviteusertoteamop.d.ts +33 -0
  147. package/esm/models/inviteusertoteamop.d.ts.map +1 -1
  148. package/esm/models/inviteusertoteamop.js +11 -0
  149. package/esm/models/inviteusertoteamop.js.map +1 -1
  150. package/esm/models/listaccessgroupmembersop.d.ts +3 -0
  151. package/esm/models/listaccessgroupmembersop.d.ts.map +1 -1
  152. package/esm/models/listaccessgroupmembersop.js +1 -0
  153. package/esm/models/listaccessgroupmembersop.js.map +1 -1
  154. package/esm/models/listaliasesop.d.ts +141 -39
  155. package/esm/models/listaliasesop.d.ts.map +1 -1
  156. package/esm/models/listaliasesop.js +132 -35
  157. package/esm/models/listaliasesop.js.map +1 -1
  158. package/esm/models/listdeploymentaliasesop.d.ts +30 -30
  159. package/esm/models/listdeploymentaliasesop.d.ts.map +1 -1
  160. package/esm/models/listdeploymentaliasesop.js +34 -34
  161. package/esm/models/listdeploymentaliasesop.js.map +1 -1
  162. package/esm/models/patchedgeconfigitemsop.d.ts +0 -4
  163. package/esm/models/patchedgeconfigitemsop.d.ts.map +1 -1
  164. package/esm/models/patchedgeconfigitemsop.js +0 -4
  165. package/esm/models/patchedgeconfigitemsop.js.map +1 -1
  166. package/esm/models/patchteamop.d.ts +185 -0
  167. package/esm/models/patchteamop.d.ts.map +1 -1
  168. package/esm/models/patchteamop.js +132 -0
  169. package/esm/models/patchteamop.js.map +1 -1
  170. package/esm/models/removecustomenvironmentop.d.ts +3 -3
  171. package/esm/models/removecustomenvironmentop.js +1 -1
  172. package/esm/models/removecustomenvironmentop.js.map +1 -1
  173. package/esm/models/rerequestcheckop.d.ts +5 -0
  174. package/esm/models/rerequestcheckop.d.ts.map +1 -1
  175. package/esm/models/rerequestcheckop.js +2 -0
  176. package/esm/models/rerequestcheckop.js.map +1 -1
  177. package/esm/models/team.d.ts +149 -10
  178. package/esm/models/team.d.ts.map +1 -1
  179. package/esm/models/team.js +115 -5
  180. package/esm/models/team.js.map +1 -1
  181. package/esm/models/teamlimited.d.ts +15 -0
  182. package/esm/models/teamlimited.d.ts.map +1 -1
  183. package/esm/models/teamlimited.js +5 -0
  184. package/esm/models/teamlimited.js.map +1 -1
  185. package/esm/models/updatecustomenvironmentop.d.ts +3 -3
  186. package/esm/models/updatecustomenvironmentop.js +1 -1
  187. package/esm/models/updatecustomenvironmentop.js.map +1 -1
  188. package/esm/models/updateprojectdatacacheop.d.ts +185 -58
  189. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  190. package/esm/models/updateprojectdatacacheop.js +166 -43
  191. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  192. package/esm/models/updateprojectop.d.ts +188 -58
  193. package/esm/models/updateprojectop.d.ts.map +1 -1
  194. package/esm/models/updateprojectop.js +167 -43
  195. package/esm/models/updateprojectop.js.map +1 -1
  196. package/esm/models/userevent.d.ts +1599 -1433
  197. package/esm/models/userevent.d.ts.map +1 -1
  198. package/esm/models/userevent.js +1998 -1847
  199. package/esm/models/userevent.js.map +1 -1
  200. package/esm/sdk/aliases.d.ts +2 -2
  201. package/esm/sdk/aliases.d.ts.map +1 -1
  202. package/examples/README.md +5 -0
  203. package/examples/package-lock.json +8 -7
  204. package/examples/projectsUpdateProject.example.ts +2 -0
  205. package/jsr.json +1 -1
  206. package/package.json +6 -8
  207. package/src/__tests__/aliases.test.ts +16 -16
  208. package/src/__tests__/security.test.ts +13 -1
  209. package/src/__tests__/teams.test.ts +2 -2
  210. package/src/funcs/aliasesGetAlias.ts +5 -6
  211. package/src/funcs/checksRerequestCheck.ts +1 -0
  212. package/src/funcs/domainsGetDomainConfig.ts +2 -2
  213. package/src/funcs/edgeConfigPatchEdgeConfigItems.ts +2 -3
  214. package/src/funcs/marketplaceUpdateInstallationIntegrationEdgeConfig.ts +2 -2
  215. package/src/funcs/projectsAcceptProjectTransferRequest.ts +2 -2
  216. package/src/funcs/projectsCreateProject.ts +2 -2
  217. package/src/funcs/teamsPatchTeam.ts +2 -2
  218. package/src/lib/config.ts +3 -3
  219. package/src/mcp-server/mcp-server.ts +1 -1
  220. package/src/mcp-server/server.ts +1 -1
  221. package/src/models/acceptprojecttransferrequestop.ts +449 -4
  222. package/src/models/addbypassipop.ts +69 -78
  223. package/src/models/authtoken.ts +10 -8
  224. package/src/models/authuser.ts +93 -0
  225. package/src/models/canceldeploymentop.ts +655 -190
  226. package/src/models/createcustomenvironmentop.ts +1 -1
  227. package/src/models/createdeploymentop.ts +752 -268
  228. package/src/models/createlogdrainop.ts +4 -4
  229. package/src/models/createprojectop.ts +365 -82
  230. package/src/models/createwebhookop.ts +4 -0
  231. package/src/models/exchangessotokenop.ts +8 -8
  232. package/src/models/getaliasop.ts +0 -1042
  233. package/src/models/getbypassipop.ts +100 -404
  234. package/src/models/getcustomenvironmentop.ts +1 -1
  235. package/src/models/getdeploymentop.ts +1657 -674
  236. package/src/models/getdeploymentsop.ts +1 -0
  237. package/src/models/getintegrationlogdrainsop.ts +6 -4
  238. package/src/models/getprojectmembersop.ts +1 -0
  239. package/src/models/getprojectsop.ts +363 -81
  240. package/src/models/getrecordsop.ts +16 -0
  241. package/src/models/getteammembersop.ts +2 -0
  242. package/src/models/getv9projectsidornamecustomenvironmentsop.ts +1 -1
  243. package/src/models/getwebhookop.ts +2 -0
  244. package/src/models/getwebhooksop.ts +5 -0
  245. package/src/models/inviteusertoteamop.ts +11 -0
  246. package/src/models/listaccessgroupmembersop.ts +1 -0
  247. package/src/models/listaliasesop.ts +290 -74
  248. package/src/models/listdeploymentaliasesop.ts +58 -70
  249. package/src/models/patchedgeconfigitemsop.ts +0 -8
  250. package/src/models/patchteamop.ts +311 -0
  251. package/src/models/removecustomenvironmentop.ts +1 -1
  252. package/src/models/rerequestcheckop.ts +7 -0
  253. package/src/models/team.ts +251 -12
  254. package/src/models/teamlimited.ts +5 -0
  255. package/src/models/updatecustomenvironmentop.ts +1 -1
  256. package/src/models/updateprojectdatacacheop.ts +352 -82
  257. package/src/models/updateprojectop.ts +364 -82
  258. package/src/models/userevent.ts +3609 -3269
  259. package/src/sdk/aliases.ts +2 -2
  260. package/temp/example.ts +11 -0
  261. package/vercel-spec.json +1984 -867
@@ -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 =
876
913
  {
877
914
  Bitbucket: "bitbucket",
878
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 =
932
+ {
933
+ Bitbucket: "bitbucket",
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>;
@@ -1202,12 +1301,12 @@ export type Routes3 = {
1202
1301
  };
1203
1302
 
1204
1303
  export const RoutesHandle = {
1205
- Error: "error",
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
1311
  export type RoutesHandle = ClosedEnum<typeof RoutesHandle>;
1213
1312
 
@@ -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<
@@ -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.
1606
+ * Whether the MicrofrontendsAlias2 team flag should be considered enabled for this deployment or not.
1510
1607
  */
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.
1514
- */
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.
1629
+ * Whether the MicrofrontendsAlias2 team flag should be considered enabled for this deployment or not.
1537
1630
  */
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.
1541
- */
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
  });
@@ -4427,6 +4535,306 @@ export namespace CreateDeploymentType$ {
4427
4535
  export const outboundSchema = CreateDeploymentType$outboundSchema;
4428
4536
  }
4429
4537
 
4538
+ /** @internal */
4539
+ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$inboundSchema:
4540
+ z.ZodNativeEnum<
4541
+ typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type
4542
+ > = z.nativeEnum(
4543
+ CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type,
4544
+ );
4545
+
4546
+ /** @internal */
4547
+ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$outboundSchema:
4548
+ z.ZodNativeEnum<
4549
+ typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type
4550
+ > =
4551
+ CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$inboundSchema;
4552
+
4553
+ /**
4554
+ * @internal
4555
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4556
+ */
4557
+ export namespace CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$ {
4558
+ /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$inboundSchema` instead. */
4559
+ export const inboundSchema =
4560
+ CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$inboundSchema;
4561
+ /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$outboundSchema` instead. */
4562
+ export const outboundSchema =
4563
+ CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$outboundSchema;
4564
+ }
4565
+
4566
+ /** @internal */
4567
+ export const CreateDeploymentGitSource15$inboundSchema: z.ZodType<
4568
+ CreateDeploymentGitSource15,
4569
+ z.ZodTypeDef,
4570
+ unknown
4571
+ > = z.object({
4572
+ type:
4573
+ CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$inboundSchema,
4574
+ ref: z.string(),
4575
+ sha: z.string(),
4576
+ owner: z.string().optional(),
4577
+ slug: z.string().optional(),
4578
+ workspaceUuid: z.string(),
4579
+ repoUuid: z.string(),
4580
+ });
4581
+
4582
+ /** @internal */
4583
+ export type CreateDeploymentGitSource15$Outbound = {
4584
+ type: string;
4585
+ ref: string;
4586
+ sha: string;
4587
+ owner?: string | undefined;
4588
+ slug?: string | undefined;
4589
+ workspaceUuid: string;
4590
+ repoUuid: string;
4591
+ };
4592
+
4593
+ /** @internal */
4594
+ export const CreateDeploymentGitSource15$outboundSchema: z.ZodType<
4595
+ CreateDeploymentGitSource15$Outbound,
4596
+ z.ZodTypeDef,
4597
+ CreateDeploymentGitSource15
4598
+ > = z.object({
4599
+ type:
4600
+ CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$outboundSchema,
4601
+ ref: z.string(),
4602
+ sha: z.string(),
4603
+ owner: z.string().optional(),
4604
+ slug: z.string().optional(),
4605
+ workspaceUuid: z.string(),
4606
+ repoUuid: z.string(),
4607
+ });
4608
+
4609
+ /**
4610
+ * @internal
4611
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4612
+ */
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;
4620
+ }
4621
+
4622
+ export function createDeploymentGitSource15ToJSON(
4623
+ createDeploymentGitSource15: CreateDeploymentGitSource15,
4624
+ ): string {
4625
+ return JSON.stringify(
4626
+ CreateDeploymentGitSource15$outboundSchema.parse(
4627
+ createDeploymentGitSource15,
4628
+ ),
4629
+ );
4630
+ }
4631
+
4632
+ export function createDeploymentGitSource15FromJSON(
4633
+ jsonString: string,
4634
+ ): SafeParseResult<CreateDeploymentGitSource15, SDKValidationError> {
4635
+ return safeParse(
4636
+ jsonString,
4637
+ (x) => CreateDeploymentGitSource15$inboundSchema.parse(JSON.parse(x)),
4638
+ `Failed to parse 'CreateDeploymentGitSource15' from JSON`,
4639
+ );
4640
+ }
4641
+
4642
+ /** @internal */
4643
+ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$inboundSchema:
4644
+ z.ZodNativeEnum<
4645
+ typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type
4646
+ > = z.nativeEnum(
4647
+ CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type,
4648
+ );
4649
+
4650
+ /** @internal */
4651
+ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$outboundSchema:
4652
+ z.ZodNativeEnum<
4653
+ typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type
4654
+ > =
4655
+ CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$inboundSchema;
4656
+
4657
+ /**
4658
+ * @internal
4659
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4660
+ */
4661
+ export namespace CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$ {
4662
+ /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$inboundSchema` instead. */
4663
+ export const inboundSchema =
4664
+ CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$inboundSchema;
4665
+ /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$outboundSchema` instead. */
4666
+ export const outboundSchema =
4667
+ CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$outboundSchema;
4668
+ }
4669
+
4670
+ /** @internal */
4671
+ export const CreateDeploymentGitSource14$inboundSchema: z.ZodType<
4672
+ CreateDeploymentGitSource14,
4673
+ z.ZodTypeDef,
4674
+ unknown
4675
+ > = z.object({
4676
+ type:
4677
+ CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$inboundSchema,
4678
+ ref: z.string(),
4679
+ sha: z.string(),
4680
+ projectId: z.number(),
4681
+ });
4682
+
4683
+ /** @internal */
4684
+ export type CreateDeploymentGitSource14$Outbound = {
4685
+ type: string;
4686
+ ref: string;
4687
+ sha: string;
4688
+ projectId: number;
4689
+ };
4690
+
4691
+ /** @internal */
4692
+ export const CreateDeploymentGitSource14$outboundSchema: z.ZodType<
4693
+ CreateDeploymentGitSource14$Outbound,
4694
+ z.ZodTypeDef,
4695
+ CreateDeploymentGitSource14
4696
+ > = z.object({
4697
+ type:
4698
+ CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$outboundSchema,
4699
+ ref: z.string(),
4700
+ sha: z.string(),
4701
+ projectId: z.number(),
4702
+ });
4703
+
4704
+ /**
4705
+ * @internal
4706
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4707
+ */
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
+
4430
4838
  /** @internal */
4431
4839
  export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$inboundSchema:
4432
4840
  z.ZodNativeEnum<
@@ -4463,23 +4871,23 @@ export const CreateDeploymentGitSource12$inboundSchema: z.ZodType<
4463
4871
  > = z.object({
4464
4872
  type:
4465
4873
  CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$inboundSchema,
4874
+ host: z.string(),
4466
4875
  ref: z.string(),
4467
4876
  sha: z.string(),
4468
- owner: z.string().optional(),
4469
- slug: z.string().optional(),
4470
- workspaceUuid: z.string(),
4471
- repoUuid: z.string(),
4877
+ repoId: z.number(),
4878
+ org: z.string().optional(),
4879
+ repo: z.string().optional(),
4472
4880
  });
4473
4881
 
4474
4882
  /** @internal */
4475
4883
  export type CreateDeploymentGitSource12$Outbound = {
4476
4884
  type: string;
4885
+ host: string;
4477
4886
  ref: string;
4478
4887
  sha: string;
4479
- owner?: string | undefined;
4480
- slug?: string | undefined;
4481
- workspaceUuid: string;
4482
- repoUuid: string;
4888
+ repoId: number;
4889
+ org?: string | undefined;
4890
+ repo?: string | undefined;
4483
4891
  };
4484
4892
 
4485
4893
  /** @internal */
@@ -4490,12 +4898,12 @@ export const CreateDeploymentGitSource12$outboundSchema: z.ZodType<
4490
4898
  > = z.object({
4491
4899
  type:
4492
4900
  CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$outboundSchema,
4901
+ host: z.string(),
4493
4902
  ref: z.string(),
4494
4903
  sha: z.string(),
4495
- owner: z.string().optional(),
4496
- slug: z.string().optional(),
4497
- workspaceUuid: z.string(),
4498
- repoUuid: z.string(),
4904
+ repoId: z.number(),
4905
+ org: z.string().optional(),
4906
+ repo: z.string().optional(),
4499
4907
  });
4500
4908
 
4501
4909
  /**
@@ -4569,7 +4977,9 @@ export const CreateDeploymentGitSource11$inboundSchema: z.ZodType<
4569
4977
  CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$inboundSchema,
4570
4978
  ref: z.string(),
4571
4979
  sha: z.string(),
4572
- projectId: z.number(),
4980
+ repoId: z.number(),
4981
+ org: z.string().optional(),
4982
+ repo: z.string().optional(),
4573
4983
  });
4574
4984
 
4575
4985
  /** @internal */
@@ -4577,7 +4987,9 @@ export type CreateDeploymentGitSource11$Outbound = {
4577
4987
  type: string;
4578
4988
  ref: string;
4579
4989
  sha: string;
4580
- projectId: number;
4990
+ repoId: number;
4991
+ org?: string | undefined;
4992
+ repo?: string | undefined;
4581
4993
  };
4582
4994
 
4583
4995
  /** @internal */
@@ -4590,7 +5002,9 @@ export const CreateDeploymentGitSource11$outboundSchema: z.ZodType<
4590
5002
  CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$outboundSchema,
4591
5003
  ref: z.string(),
4592
5004
  sha: z.string(),
4593
- projectId: z.number(),
5005
+ repoId: z.number(),
5006
+ org: z.string().optional(),
5007
+ repo: z.string().optional(),
4594
5008
  });
4595
5009
 
4596
5010
  /**
@@ -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
  /**
@@ -4764,23 +5169,23 @@ export const CreateDeploymentGitSource9$inboundSchema: z.ZodType<
4764
5169
  z.ZodTypeDef,
4765
5170
  unknown
4766
5171
  > = z.object({
4767
- type:
4768
- CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$inboundSchema,
4769
- ref: z.string(),
4770
- sha: z.string(),
4771
- repoId: z.number(),
4772
- org: z.string().optional(),
4773
- repo: z.string().optional(),
5172
+ type:
5173
+ CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$inboundSchema,
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);
@@ -8637,17 +9135,19 @@ export function createDeploymentChecksFromJSON(
8637
9135
  }
8638
9136
 
8639
9137
  /** @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
- });
9138
+ export const Applications$inboundSchema: z.ZodType<
9139
+ Applications,
9140
+ z.ZodTypeDef,
9141
+ unknown
9142
+ > = z.object({
9143
+ isDefaultApp: z.boolean().optional(),
9144
+ productionHost: z.string(),
9145
+ deploymentAlias: z.string().optional(),
9146
+ deploymentHost: z.string().optional(),
9147
+ });
8648
9148
 
8649
9149
  /** @internal */
8650
- export type CreateDeploymentMicrofrontendsApplications$Outbound = {
9150
+ export type Applications$Outbound = {
8651
9151
  isDefaultApp?: boolean | undefined;
8652
9152
  productionHost: string;
8653
9153
  deploymentAlias?: string | undefined;
@@ -8655,57 +9155,41 @@ export type CreateDeploymentMicrofrontendsApplications$Outbound = {
8655
9155
  };
8656
9156
 
8657
9157
  /** @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
- });
9158
+ export const Applications$outboundSchema: z.ZodType<
9159
+ Applications$Outbound,
9160
+ z.ZodTypeDef,
9161
+ Applications
9162
+ > = z.object({
9163
+ isDefaultApp: z.boolean().optional(),
9164
+ productionHost: z.string(),
9165
+ deploymentAlias: z.string().optional(),
9166
+ deploymentHost: z.string().optional(),
9167
+ });
8669
9168
 
8670
9169
  /**
8671
9170
  * @internal
8672
9171
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
8673
9172
  */
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;
9173
+ export namespace Applications$ {
9174
+ /** @deprecated use `Applications$inboundSchema` instead. */
9175
+ export const inboundSchema = Applications$inboundSchema;
9176
+ /** @deprecated use `Applications$outboundSchema` instead. */
9177
+ export const outboundSchema = Applications$outboundSchema;
9178
+ /** @deprecated use `Applications$Outbound` instead. */
9179
+ export type Outbound = Applications$Outbound;
8683
9180
  }
8684
9181
 
8685
- export function createDeploymentMicrofrontendsApplicationsToJSON(
8686
- createDeploymentMicrofrontendsApplications:
8687
- CreateDeploymentMicrofrontendsApplications,
8688
- ): string {
8689
- return JSON.stringify(
8690
- CreateDeploymentMicrofrontendsApplications$outboundSchema.parse(
8691
- createDeploymentMicrofrontendsApplications,
8692
- ),
8693
- );
9182
+ export function applicationsToJSON(applications: Applications): string {
9183
+ return JSON.stringify(Applications$outboundSchema.parse(applications));
8694
9184
  }
8695
9185
 
8696
- export function createDeploymentMicrofrontendsApplicationsFromJSON(
9186
+ export function applicationsFromJSON(
8697
9187
  jsonString: string,
8698
- ): SafeParseResult<
8699
- CreateDeploymentMicrofrontendsApplications,
8700
- SDKValidationError
8701
- > {
9188
+ ): SafeParseResult<Applications, SDKValidationError> {
8702
9189
  return safeParse(
8703
9190
  jsonString,
8704
- (x) =>
8705
- CreateDeploymentMicrofrontendsApplications$inboundSchema.parse(
8706
- JSON.parse(x),
8707
- ),
8708
- `Failed to parse 'CreateDeploymentMicrofrontendsApplications' from JSON`,
9191
+ (x) => Applications$inboundSchema.parse(JSON.parse(x)),
9192
+ `Failed to parse 'Applications' from JSON`,
8709
9193
  );
8710
9194
  }
8711
9195
 
@@ -8715,28 +9199,22 @@ export const CreateDeploymentMicrofrontends2$inboundSchema: z.ZodType<
8715
9199
  z.ZodTypeDef,
8716
9200
  unknown
8717
9201
  > = z.object({
8718
- applications: z.record(
8719
- z.lazy(() => CreateDeploymentMicrofrontendsApplications$inboundSchema),
8720
- ).optional(),
9202
+ applications: z.record(z.lazy(() => Applications$inboundSchema)).optional(),
8721
9203
  isDefaultApp: z.boolean(),
8722
9204
  defaultAppProjectName: z.string(),
8723
9205
  defaultRoute: z.string().optional(),
8724
9206
  groupIds: z.array(z.string()),
8725
- microfrontendsAliasEnabled: z.boolean().optional(),
8726
- previewEnvAliasEnabled: z.boolean().optional(),
9207
+ microfrontendsAlias2Enabled: z.boolean().optional(),
8727
9208
  });
8728
9209
 
8729
9210
  /** @internal */
8730
9211
  export type CreateDeploymentMicrofrontends2$Outbound = {
8731
- applications?: {
8732
- [k: string]: CreateDeploymentMicrofrontendsApplications$Outbound;
8733
- } | undefined;
9212
+ applications?: { [k: string]: Applications$Outbound } | undefined;
8734
9213
  isDefaultApp: boolean;
8735
9214
  defaultAppProjectName: string;
8736
9215
  defaultRoute?: string | undefined;
8737
9216
  groupIds: Array<string>;
8738
- microfrontendsAliasEnabled?: boolean | undefined;
8739
- previewEnvAliasEnabled?: boolean | undefined;
9217
+ microfrontendsAlias2Enabled?: boolean | undefined;
8740
9218
  };
8741
9219
 
8742
9220
  /** @internal */
@@ -8745,15 +9223,12 @@ export const CreateDeploymentMicrofrontends2$outboundSchema: z.ZodType<
8745
9223
  z.ZodTypeDef,
8746
9224
  CreateDeploymentMicrofrontends2
8747
9225
  > = z.object({
8748
- applications: z.record(
8749
- z.lazy(() => CreateDeploymentMicrofrontendsApplications$outboundSchema),
8750
- ).optional(),
9226
+ applications: z.record(z.lazy(() => Applications$outboundSchema)).optional(),
8751
9227
  isDefaultApp: z.boolean(),
8752
9228
  defaultAppProjectName: z.string(),
8753
9229
  defaultRoute: z.string().optional(),
8754
9230
  groupIds: z.array(z.string()),
8755
- microfrontendsAliasEnabled: z.boolean().optional(),
8756
- previewEnvAliasEnabled: z.boolean().optional(),
9231
+ microfrontendsAlias2Enabled: z.boolean().optional(),
8757
9232
  });
8758
9233
 
8759
9234
  /**
@@ -8799,8 +9274,7 @@ export const CreateDeploymentMicrofrontends1$inboundSchema: z.ZodType<
8799
9274
  defaultAppProjectName: z.string(),
8800
9275
  defaultRoute: z.string().optional(),
8801
9276
  groupIds: z.array(z.string()),
8802
- microfrontendsAliasEnabled: z.boolean().optional(),
8803
- previewEnvAliasEnabled: z.boolean().optional(),
9277
+ microfrontendsAlias2Enabled: z.boolean().optional(),
8804
9278
  });
8805
9279
 
8806
9280
  /** @internal */
@@ -8809,8 +9283,7 @@ export type CreateDeploymentMicrofrontends1$Outbound = {
8809
9283
  defaultAppProjectName: string;
8810
9284
  defaultRoute?: string | undefined;
8811
9285
  groupIds: Array<string>;
8812
- microfrontendsAliasEnabled?: boolean | undefined;
8813
- previewEnvAliasEnabled?: boolean | undefined;
9286
+ microfrontendsAlias2Enabled?: boolean | undefined;
8814
9287
  };
8815
9288
 
8816
9289
  /** @internal */
@@ -8823,8 +9296,7 @@ export const CreateDeploymentMicrofrontends1$outboundSchema: z.ZodType<
8823
9296
  defaultAppProjectName: z.string(),
8824
9297
  defaultRoute: z.string().optional(),
8825
9298
  groupIds: z.array(z.string()),
8826
- microfrontendsAliasEnabled: z.boolean().optional(),
8827
- previewEnvAliasEnabled: z.boolean().optional(),
9299
+ microfrontendsAlias2Enabled: z.boolean().optional(),
8828
9300
  });
8829
9301
 
8830
9302
  /**
@@ -9617,21 +10089,25 @@ export const CreateDeploymentResponseBody$inboundSchema: z.ZodType<
9617
10089
  version: z.number(),
9618
10090
  autoAssignCustomDomains: z.boolean().optional(),
9619
10091
  gitSource: z.union([
9620
- z.lazy(() => CreateDeploymentGitSource10$inboundSchema),
9621
10092
  z.lazy(() => CreateDeploymentGitSource12$inboundSchema),
10093
+ z.lazy(() => CreateDeploymentGitSource15$inboundSchema),
9622
10094
  z.lazy(() => CreateDeploymentGitSource4$inboundSchema),
9623
- z.lazy(() => CreateDeploymentGitSource8$inboundSchema),
9624
- z.lazy(() => CreateDeploymentGitSource9$inboundSchema),
10095
+ z.lazy(() => CreateDeploymentGitSource10$inboundSchema),
9625
10096
  z.lazy(() => CreateDeploymentGitSource11$inboundSchema),
10097
+ z.lazy(() => CreateDeploymentGitSource13$inboundSchema),
10098
+ z.lazy(() => CreateDeploymentGitSource14$inboundSchema),
9626
10099
  z.lazy(() => CreateDeploymentGitSource2$inboundSchema),
9627
10100
  z.lazy(() => CreateDeploymentGitSource3$inboundSchema),
9628
- z.lazy(() => CreateDeploymentGitSource7$inboundSchema),
10101
+ z.lazy(() => CreateDeploymentGitSource6$inboundSchema),
10102
+ z.lazy(() => CreateDeploymentGitSource9$inboundSchema),
9629
10103
  z.lazy(() => CreateDeploymentGitSource1$inboundSchema),
9630
10104
  z.lazy(() => CreateDeploymentGitSource5$inboundSchema),
9631
- z.lazy(() => CreateDeploymentGitSource6$inboundSchema),
10105
+ z.lazy(() => CreateDeploymentGitSource7$inboundSchema),
10106
+ z.lazy(() => CreateDeploymentGitSource8$inboundSchema),
9632
10107
  ]).optional(),
9633
10108
  meta: z.record(z.string()),
9634
10109
  project: z.lazy(() => CreateDeploymentProject$inboundSchema).optional(),
10110
+ nodeVersion: CreateDeploymentNodeVersion$inboundSchema.optional(),
9635
10111
  readyState: ReadyState$inboundSchema,
9636
10112
  source: CreateDeploymentSource$inboundSchema.optional(),
9637
10113
  target: z.nullable(CreateDeploymentTarget$inboundSchema).optional(),
@@ -9740,21 +10216,25 @@ export type CreateDeploymentResponseBody$Outbound = {
9740
10216
  version: number;
9741
10217
  autoAssignCustomDomains?: boolean | undefined;
9742
10218
  gitSource?:
9743
- | CreateDeploymentGitSource10$Outbound
9744
10219
  | CreateDeploymentGitSource12$Outbound
10220
+ | CreateDeploymentGitSource15$Outbound
9745
10221
  | CreateDeploymentGitSource4$Outbound
9746
- | CreateDeploymentGitSource8$Outbound
9747
- | CreateDeploymentGitSource9$Outbound
10222
+ | CreateDeploymentGitSource10$Outbound
9748
10223
  | CreateDeploymentGitSource11$Outbound
10224
+ | CreateDeploymentGitSource13$Outbound
10225
+ | CreateDeploymentGitSource14$Outbound
9749
10226
  | CreateDeploymentGitSource2$Outbound
9750
10227
  | CreateDeploymentGitSource3$Outbound
9751
- | CreateDeploymentGitSource7$Outbound
10228
+ | CreateDeploymentGitSource6$Outbound
10229
+ | CreateDeploymentGitSource9$Outbound
9752
10230
  | CreateDeploymentGitSource1$Outbound
9753
10231
  | CreateDeploymentGitSource5$Outbound
9754
- | CreateDeploymentGitSource6$Outbound
10232
+ | CreateDeploymentGitSource7$Outbound
10233
+ | CreateDeploymentGitSource8$Outbound
9755
10234
  | undefined;
9756
10235
  meta: { [k: string]: string };
9757
10236
  project?: CreateDeploymentProject$Outbound | undefined;
10237
+ nodeVersion?: string | undefined;
9758
10238
  readyState: string;
9759
10239
  source?: string | undefined;
9760
10240
  target?: string | null | undefined;
@@ -9854,21 +10334,25 @@ export const CreateDeploymentResponseBody$outboundSchema: z.ZodType<
9854
10334
  version: z.number(),
9855
10335
  autoAssignCustomDomains: z.boolean().optional(),
9856
10336
  gitSource: z.union([
9857
- z.lazy(() => CreateDeploymentGitSource10$outboundSchema),
9858
10337
  z.lazy(() => CreateDeploymentGitSource12$outboundSchema),
10338
+ z.lazy(() => CreateDeploymentGitSource15$outboundSchema),
9859
10339
  z.lazy(() => CreateDeploymentGitSource4$outboundSchema),
9860
- z.lazy(() => CreateDeploymentGitSource8$outboundSchema),
9861
- z.lazy(() => CreateDeploymentGitSource9$outboundSchema),
10340
+ z.lazy(() => CreateDeploymentGitSource10$outboundSchema),
9862
10341
  z.lazy(() => CreateDeploymentGitSource11$outboundSchema),
10342
+ z.lazy(() => CreateDeploymentGitSource13$outboundSchema),
10343
+ z.lazy(() => CreateDeploymentGitSource14$outboundSchema),
9863
10344
  z.lazy(() => CreateDeploymentGitSource2$outboundSchema),
9864
10345
  z.lazy(() => CreateDeploymentGitSource3$outboundSchema),
9865
- z.lazy(() => CreateDeploymentGitSource7$outboundSchema),
10346
+ z.lazy(() => CreateDeploymentGitSource6$outboundSchema),
10347
+ z.lazy(() => CreateDeploymentGitSource9$outboundSchema),
9866
10348
  z.lazy(() => CreateDeploymentGitSource1$outboundSchema),
9867
10349
  z.lazy(() => CreateDeploymentGitSource5$outboundSchema),
9868
- z.lazy(() => CreateDeploymentGitSource6$outboundSchema),
10350
+ z.lazy(() => CreateDeploymentGitSource7$outboundSchema),
10351
+ z.lazy(() => CreateDeploymentGitSource8$outboundSchema),
9869
10352
  ]).optional(),
9870
10353
  meta: z.record(z.string()),
9871
10354
  project: z.lazy(() => CreateDeploymentProject$outboundSchema).optional(),
10355
+ nodeVersion: CreateDeploymentNodeVersion$outboundSchema.optional(),
9872
10356
  readyState: ReadyState$outboundSchema,
9873
10357
  source: CreateDeploymentSource$outboundSchema.optional(),
9874
10358
  target: z.nullable(CreateDeploymentTarget$outboundSchema).optional(),