@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
@@ -90,6 +90,7 @@ export const CancelDeploymentFramework = {
90
90
  Sanity: "sanity",
91
91
  Storybook: "storybook",
92
92
  Nitro: "nitro",
93
+ Hono: "hono",
93
94
  } as const;
94
95
  export type CancelDeploymentFramework = ClosedEnum<
95
96
  typeof CancelDeploymentFramework
@@ -436,18 +437,18 @@ export type CancelDeploymentChecksConclusion = ClosedEnum<
436
437
  typeof CancelDeploymentChecksConclusion
437
438
  >;
438
439
 
439
- export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type =
440
+ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type =
440
441
  {
441
442
  Bitbucket: "bitbucket",
442
443
  } as const;
443
- export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type =
444
+ export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type =
444
445
  ClosedEnum<
445
- typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type
446
+ typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type
446
447
  >;
447
448
 
448
- export type GitSource12 = {
449
+ export type GitSource15 = {
449
450
  type:
450
- CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type;
451
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type;
451
452
  ref: string;
452
453
  sha: string;
453
454
  owner?: string | undefined;
@@ -456,35 +457,54 @@ export type GitSource12 = {
456
457
  repoUuid: string;
457
458
  };
458
459
 
459
- export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type =
460
+ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type =
460
461
  {
461
462
  Gitlab: "gitlab",
462
463
  } as const;
463
- export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type =
464
+ export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type =
464
465
  ClosedEnum<
465
- typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type
466
+ typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type
466
467
  >;
467
468
 
468
- export type GitSource11 = {
469
+ export type GitSource14 = {
469
470
  type:
470
- CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type;
471
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type;
471
472
  ref: string;
472
473
  sha: string;
473
474
  projectId: number;
474
475
  };
475
476
 
476
- export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type =
477
+ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type =
478
+ {
479
+ GithubLimited: "github-limited",
480
+ } as const;
481
+ export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type =
482
+ ClosedEnum<
483
+ typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type
484
+ >;
485
+
486
+ export type GitSource13 = {
487
+ type:
488
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type;
489
+ ref: string;
490
+ sha: string;
491
+ repoId: number;
492
+ org?: string | undefined;
493
+ repo?: string | undefined;
494
+ };
495
+
496
+ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type =
477
497
  {
478
498
  GithubCustomHost: "github-custom-host",
479
499
  } as const;
480
- export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type =
500
+ export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type =
481
501
  ClosedEnum<
482
- typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type
502
+ typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type
483
503
  >;
484
504
 
485
- export type GitSource10 = {
505
+ export type GitSource12 = {
486
506
  type:
487
- CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type;
507
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type;
488
508
  host: string;
489
509
  ref: string;
490
510
  sha: string;
@@ -493,18 +513,18 @@ export type GitSource10 = {
493
513
  repo?: string | undefined;
494
514
  };
495
515
 
496
- export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type =
516
+ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type =
497
517
  {
498
518
  Github: "github",
499
519
  } as const;
500
- export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type =
520
+ export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type =
501
521
  ClosedEnum<
502
- typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type
522
+ typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type
503
523
  >;
504
524
 
505
- export type GitSource9 = {
525
+ export type GitSource11 = {
506
526
  type:
507
- CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type;
527
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type;
508
528
  ref: string;
509
529
  sha: string;
510
530
  repoId: number;
@@ -512,40 +532,79 @@ export type GitSource9 = {
512
532
  repo?: string | undefined;
513
533
  };
514
534
 
515
- export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type =
535
+ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type =
516
536
  {
517
537
  Custom: "custom",
518
538
  } as const;
519
- export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type =
539
+ export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type =
520
540
  ClosedEnum<
521
- typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type
541
+ typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type
522
542
  >;
523
543
 
524
544
  /**
525
545
  * Allows custom git sources (local folder mounted to the container) in test mode
526
546
  */
527
- export type GitSource8 = {
547
+ export type GitSource10 = {
528
548
  type:
529
- CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type;
549
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type;
530
550
  ref: string;
531
551
  sha: string;
532
552
  gitUrl: string;
533
553
  };
534
554
 
535
- export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type =
555
+ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type =
536
556
  {
537
557
  Bitbucket: "bitbucket",
538
558
  } as const;
559
+ export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type =
560
+ ClosedEnum<
561
+ typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type
562
+ >;
563
+
564
+ export type GitSource9 = {
565
+ type:
566
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type;
567
+ owner: string;
568
+ slug: string;
569
+ ref?: string | null | undefined;
570
+ sha?: string | undefined;
571
+ prId?: number | null | undefined;
572
+ };
573
+
574
+ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type =
575
+ {
576
+ Bitbucket: "bitbucket",
577
+ } as const;
578
+ export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type =
579
+ ClosedEnum<
580
+ typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type
581
+ >;
582
+
583
+ export type GitSource8 = {
584
+ type:
585
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type;
586
+ workspaceUuid?: string | undefined;
587
+ repoUuid: string;
588
+ ref?: string | null | undefined;
589
+ sha?: string | undefined;
590
+ prId?: number | null | undefined;
591
+ };
592
+
593
+ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type =
594
+ {
595
+ Gitlab: "gitlab",
596
+ } as const;
539
597
  export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type =
540
598
  ClosedEnum<
541
599
  typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type
542
600
  >;
543
601
 
602
+ export type CancelDeploymentGitSourceProjectId = string | number;
603
+
544
604
  export type GitSource7 = {
545
605
  type:
546
606
  CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type;
547
- owner: string;
548
- slug: string;
607
+ projectId: string | number;
549
608
  ref?: string | null | undefined;
550
609
  sha?: string | undefined;
551
610
  prId?: number | null | undefined;
@@ -553,7 +612,7 @@ export type GitSource7 = {
553
612
 
554
613
  export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType =
555
614
  {
556
- Bitbucket: "bitbucket",
615
+ GithubLimited: "github-limited",
557
616
  } as const;
558
617
  export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType =
559
618
  ClosedEnum<
@@ -563,8 +622,8 @@ export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespon
563
622
  export type GitSource6 = {
564
623
  type:
565
624
  CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType;
566
- workspaceUuid?: string | undefined;
567
- repoUuid: string;
625
+ org: string;
626
+ repo: string;
568
627
  ref?: string | null | undefined;
569
628
  sha?: string | undefined;
570
629
  prId?: number | null | undefined;
@@ -572,18 +631,20 @@ export type GitSource6 = {
572
631
 
573
632
  export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType =
574
633
  {
575
- Gitlab: "gitlab",
634
+ GithubLimited: "github-limited",
576
635
  } as const;
577
636
  export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType =
578
637
  ClosedEnum<
579
638
  typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType
580
639
  >;
581
640
 
582
- export type CancelDeploymentGitSourceProjectId = string | number;
641
+ export type CancelDeploymentGitSourceDeploymentsResponseRepoId =
642
+ | string
643
+ | number;
583
644
 
584
645
  export type CancelDeploymentGitSource5 = {
585
646
  type: CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType;
586
- projectId: string | number;
647
+ repoId: string | number;
587
648
  ref?: string | null | undefined;
588
649
  sha?: string | undefined;
589
650
  prId?: number | null | undefined;
@@ -658,18 +719,41 @@ export type CancelDeploymentGitSource1 = {
658
719
  };
659
720
 
660
721
  export type CancelDeploymentGitSource =
661
- | GitSource10
662
722
  | GitSource12
723
+ | GitSource15
663
724
  | CancelDeploymentGitSource4
664
- | GitSource8
665
- | GitSource9
725
+ | GitSource10
666
726
  | GitSource11
727
+ | GitSource13
728
+ | GitSource14
667
729
  | CancelDeploymentGitSource2
668
730
  | CancelDeploymentGitSource3
669
- | GitSource7
731
+ | GitSource6
732
+ | GitSource9
670
733
  | CancelDeploymentGitSource1
671
734
  | CancelDeploymentGitSource5
672
- | GitSource6;
735
+ | GitSource7
736
+ | GitSource8;
737
+
738
+ /**
739
+ * If set it overrides the `projectSettings.nodeVersion` for this deployment.
740
+ */
741
+ export const CancelDeploymentNodeVersion = {
742
+ TwentyTwoDotX: "22.x",
743
+ TwentyDotX: "20.x",
744
+ EighteenDotX: "18.x",
745
+ SixteenDotX: "16.x",
746
+ FourteenDotX: "14.x",
747
+ TwelveDotX: "12.x",
748
+ TenDotX: "10.x",
749
+ EightDot10DotX: "8.10.x",
750
+ } as const;
751
+ /**
752
+ * If set it overrides the `projectSettings.nodeVersion` for this deployment.
753
+ */
754
+ export type CancelDeploymentNodeVersion = ClosedEnum<
755
+ typeof CancelDeploymentNodeVersion
756
+ >;
673
757
 
674
758
  export type CancelDeploymentProject = {
675
759
  id: string;
@@ -820,7 +904,7 @@ export type CancelDeploymentRoutes3 = {
820
904
  middleware: number;
821
905
  };
822
906
 
823
- export const CancelDeploymentRoutesHandle = {
907
+ export const RoutesHandle = {
824
908
  Error: "error",
825
909
  Filesystem: "filesystem",
826
910
  Hit: "hit",
@@ -828,12 +912,10 @@ export const CancelDeploymentRoutesHandle = {
828
912
  Rewrite: "rewrite",
829
913
  Resource: "resource",
830
914
  } as const;
831
- export type CancelDeploymentRoutesHandle = ClosedEnum<
832
- typeof CancelDeploymentRoutesHandle
833
- >;
915
+ export type RoutesHandle = ClosedEnum<typeof RoutesHandle>;
834
916
 
835
917
  export type CancelDeploymentRoutes2 = {
836
- handle: CancelDeploymentRoutesHandle;
918
+ handle: RoutesHandle;
837
919
  src?: string | undefined;
838
920
  dest?: string | undefined;
839
921
  status?: number | undefined;
@@ -904,9 +986,7 @@ export type CancelDeploymentHas1 = {
904
986
  value: CancelDeploymentValue2 | string;
905
987
  };
906
988
 
907
- export type CancelDeploymentRoutesHas =
908
- | CancelDeploymentHas1
909
- | CancelDeploymentHas2;
989
+ export type RoutesHas = CancelDeploymentHas1 | CancelDeploymentHas2;
910
990
 
911
991
  export const CancelDeploymentMissingDeploymentsType = {
912
992
  Header: "header",
@@ -975,9 +1055,7 @@ export type CancelDeploymentMissing1 = {
975
1055
  value: CancelDeploymentValueDeploymentsResponse2 | string;
976
1056
  };
977
1057
 
978
- export type CancelDeploymentRoutesMissing =
979
- | CancelDeploymentMissing1
980
- | CancelDeploymentMissing2;
1058
+ export type RoutesMissing = CancelDeploymentMissing1 | CancelDeploymentMissing2;
981
1059
 
982
1060
  export const CancelDeploymentRoutesAction = {
983
1061
  Challenge: "challenge",
@@ -987,7 +1065,7 @@ export type CancelDeploymentRoutesAction = ClosedEnum<
987
1065
  typeof CancelDeploymentRoutesAction
988
1066
  >;
989
1067
 
990
- export type CancelDeploymentRoutesMitigate = {
1068
+ export type RoutesMitigate = {
991
1069
  action: CancelDeploymentRoutesAction;
992
1070
  };
993
1071
 
@@ -1057,7 +1135,7 @@ export type CancelDeploymentRoutes1 = {
1057
1135
  missing?:
1058
1136
  | Array<CancelDeploymentMissing1 | CancelDeploymentMissing2>
1059
1137
  | undefined;
1060
- mitigate?: CancelDeploymentRoutesMitigate | undefined;
1138
+ mitigate?: RoutesMitigate | undefined;
1061
1139
  transforms?: Array<RoutesTransforms> | undefined;
1062
1140
  locale?: RoutesLocale | undefined;
1063
1141
  /**
@@ -1229,13 +1307,9 @@ export type CancelDeploymentMicrofrontends2 = {
1229
1307
  */
1230
1308
  groupIds: Array<string>;
1231
1309
  /**
1232
- * 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.
1233
- */
1234
- microfrontendsAliasEnabled?: boolean | undefined;
1235
- /**
1236
- * 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.
1310
+ * Whether the MicrofrontendsAlias2 team flag should be considered enabled for this deployment or not.
1237
1311
  */
1238
- previewEnvAliasEnabled?: boolean | undefined;
1312
+ microfrontendsAlias2Enabled?: boolean | undefined;
1239
1313
  };
1240
1314
 
1241
1315
  export type CancelDeploymentMicrofrontends1 = {
@@ -1256,13 +1330,9 @@ export type CancelDeploymentMicrofrontends1 = {
1256
1330
  */
1257
1331
  groupIds: Array<string>;
1258
1332
  /**
1259
- * 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.
1260
- */
1261
- microfrontendsAliasEnabled?: boolean | undefined;
1262
- /**
1263
- * 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.
1333
+ * Whether the MicrofrontendsAlias2 team flag should be considered enabled for this deployment or not.
1264
1334
  */
1265
- previewEnvAliasEnabled?: boolean | undefined;
1335
+ microfrontendsAlias2Enabled?: boolean | undefined;
1266
1336
  };
1267
1337
 
1268
1338
  export type CancelDeploymentMicrofrontends =
@@ -1392,22 +1462,29 @@ export type CancelDeploymentResponseBody = {
1392
1462
  */
1393
1463
  passiveRegions?: Array<string> | undefined;
1394
1464
  gitSource?:
1395
- | GitSource10
1396
1465
  | GitSource12
1466
+ | GitSource15
1397
1467
  | CancelDeploymentGitSource4
1398
- | GitSource8
1399
- | GitSource9
1468
+ | GitSource10
1400
1469
  | GitSource11
1470
+ | GitSource13
1471
+ | GitSource14
1401
1472
  | CancelDeploymentGitSource2
1402
1473
  | CancelDeploymentGitSource3
1403
- | GitSource7
1474
+ | GitSource6
1475
+ | GitSource9
1404
1476
  | CancelDeploymentGitSource1
1405
1477
  | CancelDeploymentGitSource5
1406
- | GitSource6
1478
+ | GitSource7
1479
+ | GitSource8
1407
1480
  | undefined;
1408
1481
  name: string;
1409
1482
  meta: { [k: string]: string };
1410
1483
  originCacheRegion?: string | undefined;
1484
+ /**
1485
+ * If set it overrides the `projectSettings.nodeVersion` for this deployment.
1486
+ */
1487
+ nodeVersion?: CancelDeploymentNodeVersion | undefined;
1411
1488
  project?: CancelDeploymentProject | undefined;
1412
1489
  readyState: CancelDeploymentReadyState;
1413
1490
  /**
@@ -3285,6 +3362,288 @@ export namespace CancelDeploymentChecksConclusion$ {
3285
3362
  export const outboundSchema = CancelDeploymentChecksConclusion$outboundSchema;
3286
3363
  }
3287
3364
 
3365
+ /** @internal */
3366
+ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$inboundSchema:
3367
+ z.ZodNativeEnum<
3368
+ typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type
3369
+ > = z.nativeEnum(
3370
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type,
3371
+ );
3372
+
3373
+ /** @internal */
3374
+ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$outboundSchema:
3375
+ z.ZodNativeEnum<
3376
+ typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type
3377
+ > =
3378
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$inboundSchema;
3379
+
3380
+ /**
3381
+ * @internal
3382
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3383
+ */
3384
+ export namespace CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$ {
3385
+ /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$inboundSchema` instead. */
3386
+ export const inboundSchema =
3387
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$inboundSchema;
3388
+ /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$outboundSchema` instead. */
3389
+ export const outboundSchema =
3390
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$outboundSchema;
3391
+ }
3392
+
3393
+ /** @internal */
3394
+ export const GitSource15$inboundSchema: z.ZodType<
3395
+ GitSource15,
3396
+ z.ZodTypeDef,
3397
+ unknown
3398
+ > = z.object({
3399
+ type:
3400
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$inboundSchema,
3401
+ ref: z.string(),
3402
+ sha: z.string(),
3403
+ owner: z.string().optional(),
3404
+ slug: z.string().optional(),
3405
+ workspaceUuid: z.string(),
3406
+ repoUuid: z.string(),
3407
+ });
3408
+
3409
+ /** @internal */
3410
+ export type GitSource15$Outbound = {
3411
+ type: string;
3412
+ ref: string;
3413
+ sha: string;
3414
+ owner?: string | undefined;
3415
+ slug?: string | undefined;
3416
+ workspaceUuid: string;
3417
+ repoUuid: string;
3418
+ };
3419
+
3420
+ /** @internal */
3421
+ export const GitSource15$outboundSchema: z.ZodType<
3422
+ GitSource15$Outbound,
3423
+ z.ZodTypeDef,
3424
+ GitSource15
3425
+ > = z.object({
3426
+ type:
3427
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$outboundSchema,
3428
+ ref: z.string(),
3429
+ sha: z.string(),
3430
+ owner: z.string().optional(),
3431
+ slug: z.string().optional(),
3432
+ workspaceUuid: z.string(),
3433
+ repoUuid: z.string(),
3434
+ });
3435
+
3436
+ /**
3437
+ * @internal
3438
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3439
+ */
3440
+ export namespace GitSource15$ {
3441
+ /** @deprecated use `GitSource15$inboundSchema` instead. */
3442
+ export const inboundSchema = GitSource15$inboundSchema;
3443
+ /** @deprecated use `GitSource15$outboundSchema` instead. */
3444
+ export const outboundSchema = GitSource15$outboundSchema;
3445
+ /** @deprecated use `GitSource15$Outbound` instead. */
3446
+ export type Outbound = GitSource15$Outbound;
3447
+ }
3448
+
3449
+ export function gitSource15ToJSON(gitSource15: GitSource15): string {
3450
+ return JSON.stringify(GitSource15$outboundSchema.parse(gitSource15));
3451
+ }
3452
+
3453
+ export function gitSource15FromJSON(
3454
+ jsonString: string,
3455
+ ): SafeParseResult<GitSource15, SDKValidationError> {
3456
+ return safeParse(
3457
+ jsonString,
3458
+ (x) => GitSource15$inboundSchema.parse(JSON.parse(x)),
3459
+ `Failed to parse 'GitSource15' from JSON`,
3460
+ );
3461
+ }
3462
+
3463
+ /** @internal */
3464
+ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$inboundSchema:
3465
+ z.ZodNativeEnum<
3466
+ typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type
3467
+ > = z.nativeEnum(
3468
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type,
3469
+ );
3470
+
3471
+ /** @internal */
3472
+ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$outboundSchema:
3473
+ z.ZodNativeEnum<
3474
+ typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type
3475
+ > =
3476
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$inboundSchema;
3477
+
3478
+ /**
3479
+ * @internal
3480
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3481
+ */
3482
+ export namespace CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$ {
3483
+ /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$inboundSchema` instead. */
3484
+ export const inboundSchema =
3485
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$inboundSchema;
3486
+ /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$outboundSchema` instead. */
3487
+ export const outboundSchema =
3488
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$outboundSchema;
3489
+ }
3490
+
3491
+ /** @internal */
3492
+ export const GitSource14$inboundSchema: z.ZodType<
3493
+ GitSource14,
3494
+ z.ZodTypeDef,
3495
+ unknown
3496
+ > = z.object({
3497
+ type:
3498
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$inboundSchema,
3499
+ ref: z.string(),
3500
+ sha: z.string(),
3501
+ projectId: z.number(),
3502
+ });
3503
+
3504
+ /** @internal */
3505
+ export type GitSource14$Outbound = {
3506
+ type: string;
3507
+ ref: string;
3508
+ sha: string;
3509
+ projectId: number;
3510
+ };
3511
+
3512
+ /** @internal */
3513
+ export const GitSource14$outboundSchema: z.ZodType<
3514
+ GitSource14$Outbound,
3515
+ z.ZodTypeDef,
3516
+ GitSource14
3517
+ > = z.object({
3518
+ type:
3519
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$outboundSchema,
3520
+ ref: z.string(),
3521
+ sha: z.string(),
3522
+ projectId: z.number(),
3523
+ });
3524
+
3525
+ /**
3526
+ * @internal
3527
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3528
+ */
3529
+ export namespace GitSource14$ {
3530
+ /** @deprecated use `GitSource14$inboundSchema` instead. */
3531
+ export const inboundSchema = GitSource14$inboundSchema;
3532
+ /** @deprecated use `GitSource14$outboundSchema` instead. */
3533
+ export const outboundSchema = GitSource14$outboundSchema;
3534
+ /** @deprecated use `GitSource14$Outbound` instead. */
3535
+ export type Outbound = GitSource14$Outbound;
3536
+ }
3537
+
3538
+ export function gitSource14ToJSON(gitSource14: GitSource14): string {
3539
+ return JSON.stringify(GitSource14$outboundSchema.parse(gitSource14));
3540
+ }
3541
+
3542
+ export function gitSource14FromJSON(
3543
+ jsonString: string,
3544
+ ): SafeParseResult<GitSource14, SDKValidationError> {
3545
+ return safeParse(
3546
+ jsonString,
3547
+ (x) => GitSource14$inboundSchema.parse(JSON.parse(x)),
3548
+ `Failed to parse 'GitSource14' from JSON`,
3549
+ );
3550
+ }
3551
+
3552
+ /** @internal */
3553
+ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type$inboundSchema:
3554
+ z.ZodNativeEnum<
3555
+ typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type
3556
+ > = z.nativeEnum(
3557
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type,
3558
+ );
3559
+
3560
+ /** @internal */
3561
+ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type$outboundSchema:
3562
+ z.ZodNativeEnum<
3563
+ typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type
3564
+ > =
3565
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type$inboundSchema;
3566
+
3567
+ /**
3568
+ * @internal
3569
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3570
+ */
3571
+ export namespace CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type$ {
3572
+ /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type$inboundSchema` instead. */
3573
+ export const inboundSchema =
3574
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type$inboundSchema;
3575
+ /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type$outboundSchema` instead. */
3576
+ export const outboundSchema =
3577
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type$outboundSchema;
3578
+ }
3579
+
3580
+ /** @internal */
3581
+ export const GitSource13$inboundSchema: z.ZodType<
3582
+ GitSource13,
3583
+ z.ZodTypeDef,
3584
+ unknown
3585
+ > = z.object({
3586
+ type:
3587
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type$inboundSchema,
3588
+ ref: z.string(),
3589
+ sha: z.string(),
3590
+ repoId: z.number(),
3591
+ org: z.string().optional(),
3592
+ repo: z.string().optional(),
3593
+ });
3594
+
3595
+ /** @internal */
3596
+ export type GitSource13$Outbound = {
3597
+ type: string;
3598
+ ref: string;
3599
+ sha: string;
3600
+ repoId: number;
3601
+ org?: string | undefined;
3602
+ repo?: string | undefined;
3603
+ };
3604
+
3605
+ /** @internal */
3606
+ export const GitSource13$outboundSchema: z.ZodType<
3607
+ GitSource13$Outbound,
3608
+ z.ZodTypeDef,
3609
+ GitSource13
3610
+ > = z.object({
3611
+ type:
3612
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type$outboundSchema,
3613
+ ref: z.string(),
3614
+ sha: z.string(),
3615
+ repoId: z.number(),
3616
+ org: z.string().optional(),
3617
+ repo: z.string().optional(),
3618
+ });
3619
+
3620
+ /**
3621
+ * @internal
3622
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3623
+ */
3624
+ export namespace GitSource13$ {
3625
+ /** @deprecated use `GitSource13$inboundSchema` instead. */
3626
+ export const inboundSchema = GitSource13$inboundSchema;
3627
+ /** @deprecated use `GitSource13$outboundSchema` instead. */
3628
+ export const outboundSchema = GitSource13$outboundSchema;
3629
+ /** @deprecated use `GitSource13$Outbound` instead. */
3630
+ export type Outbound = GitSource13$Outbound;
3631
+ }
3632
+
3633
+ export function gitSource13ToJSON(gitSource13: GitSource13): string {
3634
+ return JSON.stringify(GitSource13$outboundSchema.parse(gitSource13));
3635
+ }
3636
+
3637
+ export function gitSource13FromJSON(
3638
+ jsonString: string,
3639
+ ): SafeParseResult<GitSource13, SDKValidationError> {
3640
+ return safeParse(
3641
+ jsonString,
3642
+ (x) => GitSource13$inboundSchema.parse(JSON.parse(x)),
3643
+ `Failed to parse 'GitSource13' from JSON`,
3644
+ );
3645
+ }
3646
+
3288
3647
  /** @internal */
3289
3648
  export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$inboundSchema:
3290
3649
  z.ZodNativeEnum<
@@ -3321,23 +3680,23 @@ export const GitSource12$inboundSchema: z.ZodType<
3321
3680
  > = z.object({
3322
3681
  type:
3323
3682
  CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$inboundSchema,
3683
+ host: z.string(),
3324
3684
  ref: z.string(),
3325
3685
  sha: z.string(),
3326
- owner: z.string().optional(),
3327
- slug: z.string().optional(),
3328
- workspaceUuid: z.string(),
3329
- repoUuid: z.string(),
3686
+ repoId: z.number(),
3687
+ org: z.string().optional(),
3688
+ repo: z.string().optional(),
3330
3689
  });
3331
3690
 
3332
3691
  /** @internal */
3333
3692
  export type GitSource12$Outbound = {
3334
3693
  type: string;
3694
+ host: string;
3335
3695
  ref: string;
3336
3696
  sha: string;
3337
- owner?: string | undefined;
3338
- slug?: string | undefined;
3339
- workspaceUuid: string;
3340
- repoUuid: string;
3697
+ repoId: number;
3698
+ org?: string | undefined;
3699
+ repo?: string | undefined;
3341
3700
  };
3342
3701
 
3343
3702
  /** @internal */
@@ -3348,12 +3707,12 @@ export const GitSource12$outboundSchema: z.ZodType<
3348
3707
  > = z.object({
3349
3708
  type:
3350
3709
  CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$outboundSchema,
3710
+ host: z.string(),
3351
3711
  ref: z.string(),
3352
3712
  sha: z.string(),
3353
- owner: z.string().optional(),
3354
- slug: z.string().optional(),
3355
- workspaceUuid: z.string(),
3356
- repoUuid: z.string(),
3713
+ repoId: z.number(),
3714
+ org: z.string().optional(),
3715
+ repo: z.string().optional(),
3357
3716
  });
3358
3717
 
3359
3718
  /**
@@ -3421,7 +3780,9 @@ export const GitSource11$inboundSchema: z.ZodType<
3421
3780
  CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$inboundSchema,
3422
3781
  ref: z.string(),
3423
3782
  sha: z.string(),
3424
- projectId: z.number(),
3783
+ repoId: z.number(),
3784
+ org: z.string().optional(),
3785
+ repo: z.string().optional(),
3425
3786
  });
3426
3787
 
3427
3788
  /** @internal */
@@ -3429,7 +3790,9 @@ export type GitSource11$Outbound = {
3429
3790
  type: string;
3430
3791
  ref: string;
3431
3792
  sha: string;
3432
- projectId: number;
3793
+ repoId: number;
3794
+ org?: string | undefined;
3795
+ repo?: string | undefined;
3433
3796
  };
3434
3797
 
3435
3798
  /** @internal */
@@ -3442,7 +3805,9 @@ export const GitSource11$outboundSchema: z.ZodType<
3442
3805
  CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$outboundSchema,
3443
3806
  ref: z.string(),
3444
3807
  sha: z.string(),
3445
- projectId: z.number(),
3808
+ repoId: z.number(),
3809
+ org: z.string().optional(),
3810
+ repo: z.string().optional(),
3446
3811
  });
3447
3812
 
3448
3813
  /**
@@ -3508,23 +3873,17 @@ export const GitSource10$inboundSchema: z.ZodType<
3508
3873
  > = z.object({
3509
3874
  type:
3510
3875
  CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type$inboundSchema,
3511
- host: z.string(),
3512
3876
  ref: z.string(),
3513
3877
  sha: z.string(),
3514
- repoId: z.number(),
3515
- org: z.string().optional(),
3516
- repo: z.string().optional(),
3878
+ gitUrl: z.string(),
3517
3879
  });
3518
3880
 
3519
3881
  /** @internal */
3520
3882
  export type GitSource10$Outbound = {
3521
3883
  type: string;
3522
- host: string;
3523
3884
  ref: string;
3524
3885
  sha: string;
3525
- repoId: number;
3526
- org?: string | undefined;
3527
- repo?: string | undefined;
3886
+ gitUrl: string;
3528
3887
  };
3529
3888
 
3530
3889
  /** @internal */
@@ -3535,12 +3894,9 @@ export const GitSource10$outboundSchema: z.ZodType<
3535
3894
  > = z.object({
3536
3895
  type:
3537
3896
  CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type$outboundSchema,
3538
- host: z.string(),
3539
3897
  ref: z.string(),
3540
- sha: z.string(),
3541
- repoId: z.number(),
3542
- org: z.string().optional(),
3543
- repo: z.string().optional(),
3898
+ sha: z.string(),
3899
+ gitUrl: z.string(),
3544
3900
  });
3545
3901
 
3546
3902
  /**
@@ -3606,21 +3962,21 @@ export const GitSource9$inboundSchema: z.ZodType<
3606
3962
  > = z.object({
3607
3963
  type:
3608
3964
  CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$inboundSchema,
3609
- ref: z.string(),
3610
- sha: z.string(),
3611
- repoId: z.number(),
3612
- org: z.string().optional(),
3613
- repo: z.string().optional(),
3965
+ owner: z.string(),
3966
+ slug: z.string(),
3967
+ ref: z.nullable(z.string()).optional(),
3968
+ sha: z.string().optional(),
3969
+ prId: z.nullable(z.number()).optional(),
3614
3970
  });
3615
3971
 
3616
3972
  /** @internal */
3617
3973
  export type GitSource9$Outbound = {
3618
3974
  type: string;
3619
- ref: string;
3620
- sha: string;
3621
- repoId: number;
3622
- org?: string | undefined;
3623
- repo?: string | undefined;
3975
+ owner: string;
3976
+ slug: string;
3977
+ ref?: string | null | undefined;
3978
+ sha?: string | undefined;
3979
+ prId?: number | null | undefined;
3624
3980
  };
3625
3981
 
3626
3982
  /** @internal */
@@ -3631,11 +3987,11 @@ export const GitSource9$outboundSchema: z.ZodType<
3631
3987
  > = z.object({
3632
3988
  type:
3633
3989
  CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$outboundSchema,
3634
- ref: z.string(),
3635
- sha: z.string(),
3636
- repoId: z.number(),
3637
- org: z.string().optional(),
3638
- repo: z.string().optional(),
3990
+ owner: z.string(),
3991
+ slug: z.string(),
3992
+ ref: z.nullable(z.string()).optional(),
3993
+ sha: z.string().optional(),
3994
+ prId: z.nullable(z.number()).optional(),
3639
3995
  });
3640
3996
 
3641
3997
  /**
@@ -3701,17 +4057,21 @@ export const GitSource8$inboundSchema: z.ZodType<
3701
4057
  > = z.object({
3702
4058
  type:
3703
4059
  CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$inboundSchema,
3704
- ref: z.string(),
3705
- sha: z.string(),
3706
- gitUrl: z.string(),
4060
+ workspaceUuid: z.string().optional(),
4061
+ repoUuid: z.string(),
4062
+ ref: z.nullable(z.string()).optional(),
4063
+ sha: z.string().optional(),
4064
+ prId: z.nullable(z.number()).optional(),
3707
4065
  });
3708
4066
 
3709
4067
  /** @internal */
3710
4068
  export type GitSource8$Outbound = {
3711
4069
  type: string;
3712
- ref: string;
3713
- sha: string;
3714
- gitUrl: string;
4070
+ workspaceUuid?: string | undefined;
4071
+ repoUuid: string;
4072
+ ref?: string | null | undefined;
4073
+ sha?: string | undefined;
4074
+ prId?: number | null | undefined;
3715
4075
  };
3716
4076
 
3717
4077
  /** @internal */
@@ -3722,9 +4082,11 @@ export const GitSource8$outboundSchema: z.ZodType<
3722
4082
  > = z.object({
3723
4083
  type:
3724
4084
  CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$outboundSchema,
3725
- ref: z.string(),
3726
- sha: z.string(),
3727
- gitUrl: z.string(),
4085
+ workspaceUuid: z.string().optional(),
4086
+ repoUuid: z.string(),
4087
+ ref: z.nullable(z.string()).optional(),
4088
+ sha: z.string().optional(),
4089
+ prId: z.nullable(z.number()).optional(),
3728
4090
  });
3729
4091
 
3730
4092
  /**
@@ -3782,6 +4144,58 @@ export namespace CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONR
3782
4144
  CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$outboundSchema;
3783
4145
  }
3784
4146
 
4147
+ /** @internal */
4148
+ export const CancelDeploymentGitSourceProjectId$inboundSchema: z.ZodType<
4149
+ CancelDeploymentGitSourceProjectId,
4150
+ z.ZodTypeDef,
4151
+ unknown
4152
+ > = z.union([z.string(), z.number()]);
4153
+
4154
+ /** @internal */
4155
+ export type CancelDeploymentGitSourceProjectId$Outbound = string | number;
4156
+
4157
+ /** @internal */
4158
+ export const CancelDeploymentGitSourceProjectId$outboundSchema: z.ZodType<
4159
+ CancelDeploymentGitSourceProjectId$Outbound,
4160
+ z.ZodTypeDef,
4161
+ CancelDeploymentGitSourceProjectId
4162
+ > = z.union([z.string(), z.number()]);
4163
+
4164
+ /**
4165
+ * @internal
4166
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4167
+ */
4168
+ export namespace CancelDeploymentGitSourceProjectId$ {
4169
+ /** @deprecated use `CancelDeploymentGitSourceProjectId$inboundSchema` instead. */
4170
+ export const inboundSchema = CancelDeploymentGitSourceProjectId$inboundSchema;
4171
+ /** @deprecated use `CancelDeploymentGitSourceProjectId$outboundSchema` instead. */
4172
+ export const outboundSchema =
4173
+ CancelDeploymentGitSourceProjectId$outboundSchema;
4174
+ /** @deprecated use `CancelDeploymentGitSourceProjectId$Outbound` instead. */
4175
+ export type Outbound = CancelDeploymentGitSourceProjectId$Outbound;
4176
+ }
4177
+
4178
+ export function cancelDeploymentGitSourceProjectIdToJSON(
4179
+ cancelDeploymentGitSourceProjectId: CancelDeploymentGitSourceProjectId,
4180
+ ): string {
4181
+ return JSON.stringify(
4182
+ CancelDeploymentGitSourceProjectId$outboundSchema.parse(
4183
+ cancelDeploymentGitSourceProjectId,
4184
+ ),
4185
+ );
4186
+ }
4187
+
4188
+ export function cancelDeploymentGitSourceProjectIdFromJSON(
4189
+ jsonString: string,
4190
+ ): SafeParseResult<CancelDeploymentGitSourceProjectId, SDKValidationError> {
4191
+ return safeParse(
4192
+ jsonString,
4193
+ (x) =>
4194
+ CancelDeploymentGitSourceProjectId$inboundSchema.parse(JSON.parse(x)),
4195
+ `Failed to parse 'CancelDeploymentGitSourceProjectId' from JSON`,
4196
+ );
4197
+ }
4198
+
3785
4199
  /** @internal */
3786
4200
  export const GitSource7$inboundSchema: z.ZodType<
3787
4201
  GitSource7,
@@ -3790,8 +4204,7 @@ export const GitSource7$inboundSchema: z.ZodType<
3790
4204
  > = z.object({
3791
4205
  type:
3792
4206
  CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$inboundSchema,
3793
- owner: z.string(),
3794
- slug: z.string(),
4207
+ projectId: z.union([z.string(), z.number()]),
3795
4208
  ref: z.nullable(z.string()).optional(),
3796
4209
  sha: z.string().optional(),
3797
4210
  prId: z.nullable(z.number()).optional(),
@@ -3800,8 +4213,7 @@ export const GitSource7$inboundSchema: z.ZodType<
3800
4213
  /** @internal */
3801
4214
  export type GitSource7$Outbound = {
3802
4215
  type: string;
3803
- owner: string;
3804
- slug: string;
4216
+ projectId: string | number;
3805
4217
  ref?: string | null | undefined;
3806
4218
  sha?: string | undefined;
3807
4219
  prId?: number | null | undefined;
@@ -3815,8 +4227,7 @@ export const GitSource7$outboundSchema: z.ZodType<
3815
4227
  > = z.object({
3816
4228
  type:
3817
4229
  CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$outboundSchema,
3818
- owner: z.string(),
3819
- slug: z.string(),
4230
+ projectId: z.union([z.string(), z.number()]),
3820
4231
  ref: z.nullable(z.string()).optional(),
3821
4232
  sha: z.string().optional(),
3822
4233
  prId: z.nullable(z.number()).optional(),
@@ -3885,8 +4296,8 @@ export const GitSource6$inboundSchema: z.ZodType<
3885
4296
  > = z.object({
3886
4297
  type:
3887
4298
  CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema,
3888
- workspaceUuid: z.string().optional(),
3889
- repoUuid: z.string(),
4299
+ org: z.string(),
4300
+ repo: z.string(),
3890
4301
  ref: z.nullable(z.string()).optional(),
3891
4302
  sha: z.string().optional(),
3892
4303
  prId: z.nullable(z.number()).optional(),
@@ -3895,8 +4306,8 @@ export const GitSource6$inboundSchema: z.ZodType<
3895
4306
  /** @internal */
3896
4307
  export type GitSource6$Outbound = {
3897
4308
  type: string;
3898
- workspaceUuid?: string | undefined;
3899
- repoUuid: string;
4309
+ org: string;
4310
+ repo: string;
3900
4311
  ref?: string | null | undefined;
3901
4312
  sha?: string | undefined;
3902
4313
  prId?: number | null | undefined;
@@ -3910,8 +4321,8 @@ export const GitSource6$outboundSchema: z.ZodType<
3910
4321
  > = z.object({
3911
4322
  type:
3912
4323
  CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$outboundSchema,
3913
- workspaceUuid: z.string().optional(),
3914
- repoUuid: z.string(),
4324
+ org: z.string(),
4325
+ repo: z.string(),
3915
4326
  ref: z.nullable(z.string()).optional(),
3916
4327
  sha: z.string().optional(),
3917
4328
  prId: z.nullable(z.number()).optional(),
@@ -3973,54 +4384,66 @@ export namespace CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONT
3973
4384
  }
3974
4385
 
3975
4386
  /** @internal */
3976
- export const CancelDeploymentGitSourceProjectId$inboundSchema: z.ZodType<
3977
- CancelDeploymentGitSourceProjectId,
3978
- z.ZodTypeDef,
3979
- unknown
3980
- > = z.union([z.string(), z.number()]);
4387
+ export const CancelDeploymentGitSourceDeploymentsResponseRepoId$inboundSchema:
4388
+ z.ZodType<
4389
+ CancelDeploymentGitSourceDeploymentsResponseRepoId,
4390
+ z.ZodTypeDef,
4391
+ unknown
4392
+ > = z.union([z.string(), z.number()]);
3981
4393
 
3982
4394
  /** @internal */
3983
- export type CancelDeploymentGitSourceProjectId$Outbound = string | number;
4395
+ export type CancelDeploymentGitSourceDeploymentsResponseRepoId$Outbound =
4396
+ | string
4397
+ | number;
3984
4398
 
3985
4399
  /** @internal */
3986
- export const CancelDeploymentGitSourceProjectId$outboundSchema: z.ZodType<
3987
- CancelDeploymentGitSourceProjectId$Outbound,
3988
- z.ZodTypeDef,
3989
- CancelDeploymentGitSourceProjectId
3990
- > = z.union([z.string(), z.number()]);
4400
+ export const CancelDeploymentGitSourceDeploymentsResponseRepoId$outboundSchema:
4401
+ z.ZodType<
4402
+ CancelDeploymentGitSourceDeploymentsResponseRepoId$Outbound,
4403
+ z.ZodTypeDef,
4404
+ CancelDeploymentGitSourceDeploymentsResponseRepoId
4405
+ > = z.union([z.string(), z.number()]);
3991
4406
 
3992
4407
  /**
3993
4408
  * @internal
3994
4409
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3995
4410
  */
3996
- export namespace CancelDeploymentGitSourceProjectId$ {
3997
- /** @deprecated use `CancelDeploymentGitSourceProjectId$inboundSchema` instead. */
3998
- export const inboundSchema = CancelDeploymentGitSourceProjectId$inboundSchema;
3999
- /** @deprecated use `CancelDeploymentGitSourceProjectId$outboundSchema` instead. */
4411
+ export namespace CancelDeploymentGitSourceDeploymentsResponseRepoId$ {
4412
+ /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponseRepoId$inboundSchema` instead. */
4413
+ export const inboundSchema =
4414
+ CancelDeploymentGitSourceDeploymentsResponseRepoId$inboundSchema;
4415
+ /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponseRepoId$outboundSchema` instead. */
4000
4416
  export const outboundSchema =
4001
- CancelDeploymentGitSourceProjectId$outboundSchema;
4002
- /** @deprecated use `CancelDeploymentGitSourceProjectId$Outbound` instead. */
4003
- export type Outbound = CancelDeploymentGitSourceProjectId$Outbound;
4417
+ CancelDeploymentGitSourceDeploymentsResponseRepoId$outboundSchema;
4418
+ /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponseRepoId$Outbound` instead. */
4419
+ export type Outbound =
4420
+ CancelDeploymentGitSourceDeploymentsResponseRepoId$Outbound;
4004
4421
  }
4005
4422
 
4006
- export function cancelDeploymentGitSourceProjectIdToJSON(
4007
- cancelDeploymentGitSourceProjectId: CancelDeploymentGitSourceProjectId,
4423
+ export function cancelDeploymentGitSourceDeploymentsResponseRepoIdToJSON(
4424
+ cancelDeploymentGitSourceDeploymentsResponseRepoId:
4425
+ CancelDeploymentGitSourceDeploymentsResponseRepoId,
4008
4426
  ): string {
4009
4427
  return JSON.stringify(
4010
- CancelDeploymentGitSourceProjectId$outboundSchema.parse(
4011
- cancelDeploymentGitSourceProjectId,
4428
+ CancelDeploymentGitSourceDeploymentsResponseRepoId$outboundSchema.parse(
4429
+ cancelDeploymentGitSourceDeploymentsResponseRepoId,
4012
4430
  ),
4013
4431
  );
4014
4432
  }
4015
4433
 
4016
- export function cancelDeploymentGitSourceProjectIdFromJSON(
4434
+ export function cancelDeploymentGitSourceDeploymentsResponseRepoIdFromJSON(
4017
4435
  jsonString: string,
4018
- ): SafeParseResult<CancelDeploymentGitSourceProjectId, SDKValidationError> {
4436
+ ): SafeParseResult<
4437
+ CancelDeploymentGitSourceDeploymentsResponseRepoId,
4438
+ SDKValidationError
4439
+ > {
4019
4440
  return safeParse(
4020
4441
  jsonString,
4021
4442
  (x) =>
4022
- CancelDeploymentGitSourceProjectId$inboundSchema.parse(JSON.parse(x)),
4023
- `Failed to parse 'CancelDeploymentGitSourceProjectId' from JSON`,
4443
+ CancelDeploymentGitSourceDeploymentsResponseRepoId$inboundSchema.parse(
4444
+ JSON.parse(x),
4445
+ ),
4446
+ `Failed to parse 'CancelDeploymentGitSourceDeploymentsResponseRepoId' from JSON`,
4024
4447
  );
4025
4448
  }
4026
4449
 
@@ -4032,7 +4455,7 @@ export const CancelDeploymentGitSource5$inboundSchema: z.ZodType<
4032
4455
  > = z.object({
4033
4456
  type:
4034
4457
  CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$inboundSchema,
4035
- projectId: z.union([z.string(), z.number()]),
4458
+ repoId: z.union([z.string(), z.number()]),
4036
4459
  ref: z.nullable(z.string()).optional(),
4037
4460
  sha: z.string().optional(),
4038
4461
  prId: z.nullable(z.number()).optional(),
@@ -4041,7 +4464,7 @@ export const CancelDeploymentGitSource5$inboundSchema: z.ZodType<
4041
4464
  /** @internal */
4042
4465
  export type CancelDeploymentGitSource5$Outbound = {
4043
4466
  type: string;
4044
- projectId: string | number;
4467
+ repoId: string | number;
4045
4468
  ref?: string | null | undefined;
4046
4469
  sha?: string | undefined;
4047
4470
  prId?: number | null | undefined;
@@ -4055,7 +4478,7 @@ export const CancelDeploymentGitSource5$outboundSchema: z.ZodType<
4055
4478
  > = z.object({
4056
4479
  type:
4057
4480
  CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$outboundSchema,
4058
- projectId: z.union([z.string(), z.number()]),
4481
+ repoId: z.union([z.string(), z.number()]),
4059
4482
  ref: z.nullable(z.string()).optional(),
4060
4483
  sha: z.string().optional(),
4061
4484
  prId: z.nullable(z.number()).optional(),
@@ -4574,34 +4997,40 @@ export const CancelDeploymentGitSource$inboundSchema: z.ZodType<
4574
4997
  z.ZodTypeDef,
4575
4998
  unknown
4576
4999
  > = z.union([
4577
- z.lazy(() => GitSource10$inboundSchema),
4578
5000
  z.lazy(() => GitSource12$inboundSchema),
5001
+ z.lazy(() => GitSource15$inboundSchema),
4579
5002
  z.lazy(() => CancelDeploymentGitSource4$inboundSchema),
4580
- z.lazy(() => GitSource8$inboundSchema),
4581
- z.lazy(() => GitSource9$inboundSchema),
5003
+ z.lazy(() => GitSource10$inboundSchema),
4582
5004
  z.lazy(() => GitSource11$inboundSchema),
5005
+ z.lazy(() => GitSource13$inboundSchema),
5006
+ z.lazy(() => GitSource14$inboundSchema),
4583
5007
  z.lazy(() => CancelDeploymentGitSource2$inboundSchema),
4584
5008
  z.lazy(() => CancelDeploymentGitSource3$inboundSchema),
4585
- z.lazy(() => GitSource7$inboundSchema),
5009
+ z.lazy(() => GitSource6$inboundSchema),
5010
+ z.lazy(() => GitSource9$inboundSchema),
4586
5011
  z.lazy(() => CancelDeploymentGitSource1$inboundSchema),
4587
5012
  z.lazy(() => CancelDeploymentGitSource5$inboundSchema),
4588
- z.lazy(() => GitSource6$inboundSchema),
5013
+ z.lazy(() => GitSource7$inboundSchema),
5014
+ z.lazy(() => GitSource8$inboundSchema),
4589
5015
  ]);
4590
5016
 
4591
5017
  /** @internal */
4592
5018
  export type CancelDeploymentGitSource$Outbound =
4593
- | GitSource10$Outbound
4594
5019
  | GitSource12$Outbound
5020
+ | GitSource15$Outbound
4595
5021
  | CancelDeploymentGitSource4$Outbound
4596
- | GitSource8$Outbound
4597
- | GitSource9$Outbound
5022
+ | GitSource10$Outbound
4598
5023
  | GitSource11$Outbound
5024
+ | GitSource13$Outbound
5025
+ | GitSource14$Outbound
4599
5026
  | CancelDeploymentGitSource2$Outbound
4600
5027
  | CancelDeploymentGitSource3$Outbound
4601
- | GitSource7$Outbound
5028
+ | GitSource6$Outbound
5029
+ | GitSource9$Outbound
4602
5030
  | CancelDeploymentGitSource1$Outbound
4603
5031
  | CancelDeploymentGitSource5$Outbound
4604
- | GitSource6$Outbound;
5032
+ | GitSource7$Outbound
5033
+ | GitSource8$Outbound;
4605
5034
 
4606
5035
  /** @internal */
4607
5036
  export const CancelDeploymentGitSource$outboundSchema: z.ZodType<
@@ -4609,18 +5038,21 @@ export const CancelDeploymentGitSource$outboundSchema: z.ZodType<
4609
5038
  z.ZodTypeDef,
4610
5039
  CancelDeploymentGitSource
4611
5040
  > = z.union([
4612
- z.lazy(() => GitSource10$outboundSchema),
4613
5041
  z.lazy(() => GitSource12$outboundSchema),
5042
+ z.lazy(() => GitSource15$outboundSchema),
4614
5043
  z.lazy(() => CancelDeploymentGitSource4$outboundSchema),
4615
- z.lazy(() => GitSource8$outboundSchema),
4616
- z.lazy(() => GitSource9$outboundSchema),
5044
+ z.lazy(() => GitSource10$outboundSchema),
4617
5045
  z.lazy(() => GitSource11$outboundSchema),
5046
+ z.lazy(() => GitSource13$outboundSchema),
5047
+ z.lazy(() => GitSource14$outboundSchema),
4618
5048
  z.lazy(() => CancelDeploymentGitSource2$outboundSchema),
4619
5049
  z.lazy(() => CancelDeploymentGitSource3$outboundSchema),
4620
- z.lazy(() => GitSource7$outboundSchema),
5050
+ z.lazy(() => GitSource6$outboundSchema),
5051
+ z.lazy(() => GitSource9$outboundSchema),
4621
5052
  z.lazy(() => CancelDeploymentGitSource1$outboundSchema),
4622
5053
  z.lazy(() => CancelDeploymentGitSource5$outboundSchema),
4623
- z.lazy(() => GitSource6$outboundSchema),
5054
+ z.lazy(() => GitSource7$outboundSchema),
5055
+ z.lazy(() => GitSource8$outboundSchema),
4624
5056
  ]);
4625
5057
 
4626
5058
  /**
@@ -4654,6 +5086,27 @@ export function cancelDeploymentGitSourceFromJSON(
4654
5086
  );
4655
5087
  }
4656
5088
 
5089
+ /** @internal */
5090
+ export const CancelDeploymentNodeVersion$inboundSchema: z.ZodNativeEnum<
5091
+ typeof CancelDeploymentNodeVersion
5092
+ > = z.nativeEnum(CancelDeploymentNodeVersion);
5093
+
5094
+ /** @internal */
5095
+ export const CancelDeploymentNodeVersion$outboundSchema: z.ZodNativeEnum<
5096
+ typeof CancelDeploymentNodeVersion
5097
+ > = CancelDeploymentNodeVersion$inboundSchema;
5098
+
5099
+ /**
5100
+ * @internal
5101
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5102
+ */
5103
+ export namespace CancelDeploymentNodeVersion$ {
5104
+ /** @deprecated use `CancelDeploymentNodeVersion$inboundSchema` instead. */
5105
+ export const inboundSchema = CancelDeploymentNodeVersion$inboundSchema;
5106
+ /** @deprecated use `CancelDeploymentNodeVersion$outboundSchema` instead. */
5107
+ export const outboundSchema = CancelDeploymentNodeVersion$outboundSchema;
5108
+ }
5109
+
4657
5110
  /** @internal */
4658
5111
  export const CancelDeploymentProject$inboundSchema: z.ZodType<
4659
5112
  CancelDeploymentProject,
@@ -5242,24 +5695,22 @@ export function cancelDeploymentRoutes3FromJSON(
5242
5695
  }
5243
5696
 
5244
5697
  /** @internal */
5245
- export const CancelDeploymentRoutesHandle$inboundSchema: z.ZodNativeEnum<
5246
- typeof CancelDeploymentRoutesHandle
5247
- > = z.nativeEnum(CancelDeploymentRoutesHandle);
5698
+ export const RoutesHandle$inboundSchema: z.ZodNativeEnum<typeof RoutesHandle> =
5699
+ z.nativeEnum(RoutesHandle);
5248
5700
 
5249
5701
  /** @internal */
5250
- export const CancelDeploymentRoutesHandle$outboundSchema: z.ZodNativeEnum<
5251
- typeof CancelDeploymentRoutesHandle
5252
- > = CancelDeploymentRoutesHandle$inboundSchema;
5702
+ export const RoutesHandle$outboundSchema: z.ZodNativeEnum<typeof RoutesHandle> =
5703
+ RoutesHandle$inboundSchema;
5253
5704
 
5254
5705
  /**
5255
5706
  * @internal
5256
5707
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5257
5708
  */
5258
- export namespace CancelDeploymentRoutesHandle$ {
5259
- /** @deprecated use `CancelDeploymentRoutesHandle$inboundSchema` instead. */
5260
- export const inboundSchema = CancelDeploymentRoutesHandle$inboundSchema;
5261
- /** @deprecated use `CancelDeploymentRoutesHandle$outboundSchema` instead. */
5262
- export const outboundSchema = CancelDeploymentRoutesHandle$outboundSchema;
5709
+ export namespace RoutesHandle$ {
5710
+ /** @deprecated use `RoutesHandle$inboundSchema` instead. */
5711
+ export const inboundSchema = RoutesHandle$inboundSchema;
5712
+ /** @deprecated use `RoutesHandle$outboundSchema` instead. */
5713
+ export const outboundSchema = RoutesHandle$outboundSchema;
5263
5714
  }
5264
5715
 
5265
5716
  /** @internal */
@@ -5268,7 +5719,7 @@ export const CancelDeploymentRoutes2$inboundSchema: z.ZodType<
5268
5719
  z.ZodTypeDef,
5269
5720
  unknown
5270
5721
  > = z.object({
5271
- handle: CancelDeploymentRoutesHandle$inboundSchema,
5722
+ handle: RoutesHandle$inboundSchema,
5272
5723
  src: z.string().optional(),
5273
5724
  dest: z.string().optional(),
5274
5725
  status: z.number().optional(),
@@ -5288,7 +5739,7 @@ export const CancelDeploymentRoutes2$outboundSchema: z.ZodType<
5288
5739
  z.ZodTypeDef,
5289
5740
  CancelDeploymentRoutes2
5290
5741
  > = z.object({
5291
- handle: CancelDeploymentRoutesHandle$outboundSchema,
5742
+ handle: RoutesHandle$outboundSchema,
5292
5743
  src: z.string().optional(),
5293
5744
  dest: z.string().optional(),
5294
5745
  status: z.number().optional(),
@@ -5880,8 +6331,8 @@ export function cancelDeploymentHas1FromJSON(
5880
6331
  }
5881
6332
 
5882
6333
  /** @internal */
5883
- export const CancelDeploymentRoutesHas$inboundSchema: z.ZodType<
5884
- CancelDeploymentRoutesHas,
6334
+ export const RoutesHas$inboundSchema: z.ZodType<
6335
+ RoutesHas,
5885
6336
  z.ZodTypeDef,
5886
6337
  unknown
5887
6338
  > = z.union([
@@ -5890,15 +6341,15 @@ export const CancelDeploymentRoutesHas$inboundSchema: z.ZodType<
5890
6341
  ]);
5891
6342
 
5892
6343
  /** @internal */
5893
- export type CancelDeploymentRoutesHas$Outbound =
6344
+ export type RoutesHas$Outbound =
5894
6345
  | CancelDeploymentHas1$Outbound
5895
6346
  | CancelDeploymentHas2$Outbound;
5896
6347
 
5897
6348
  /** @internal */
5898
- export const CancelDeploymentRoutesHas$outboundSchema: z.ZodType<
5899
- CancelDeploymentRoutesHas$Outbound,
6349
+ export const RoutesHas$outboundSchema: z.ZodType<
6350
+ RoutesHas$Outbound,
5900
6351
  z.ZodTypeDef,
5901
- CancelDeploymentRoutesHas
6352
+ RoutesHas
5902
6353
  > = z.union([
5903
6354
  z.lazy(() => CancelDeploymentHas1$outboundSchema),
5904
6355
  z.lazy(() => CancelDeploymentHas2$outboundSchema),
@@ -5908,30 +6359,26 @@ export const CancelDeploymentRoutesHas$outboundSchema: z.ZodType<
5908
6359
  * @internal
5909
6360
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5910
6361
  */
5911
- export namespace CancelDeploymentRoutesHas$ {
5912
- /** @deprecated use `CancelDeploymentRoutesHas$inboundSchema` instead. */
5913
- export const inboundSchema = CancelDeploymentRoutesHas$inboundSchema;
5914
- /** @deprecated use `CancelDeploymentRoutesHas$outboundSchema` instead. */
5915
- export const outboundSchema = CancelDeploymentRoutesHas$outboundSchema;
5916
- /** @deprecated use `CancelDeploymentRoutesHas$Outbound` instead. */
5917
- export type Outbound = CancelDeploymentRoutesHas$Outbound;
6362
+ export namespace RoutesHas$ {
6363
+ /** @deprecated use `RoutesHas$inboundSchema` instead. */
6364
+ export const inboundSchema = RoutesHas$inboundSchema;
6365
+ /** @deprecated use `RoutesHas$outboundSchema` instead. */
6366
+ export const outboundSchema = RoutesHas$outboundSchema;
6367
+ /** @deprecated use `RoutesHas$Outbound` instead. */
6368
+ export type Outbound = RoutesHas$Outbound;
5918
6369
  }
5919
6370
 
5920
- export function cancelDeploymentRoutesHasToJSON(
5921
- cancelDeploymentRoutesHas: CancelDeploymentRoutesHas,
5922
- ): string {
5923
- return JSON.stringify(
5924
- CancelDeploymentRoutesHas$outboundSchema.parse(cancelDeploymentRoutesHas),
5925
- );
6371
+ export function routesHasToJSON(routesHas: RoutesHas): string {
6372
+ return JSON.stringify(RoutesHas$outboundSchema.parse(routesHas));
5926
6373
  }
5927
6374
 
5928
- export function cancelDeploymentRoutesHasFromJSON(
6375
+ export function routesHasFromJSON(
5929
6376
  jsonString: string,
5930
- ): SafeParseResult<CancelDeploymentRoutesHas, SDKValidationError> {
6377
+ ): SafeParseResult<RoutesHas, SDKValidationError> {
5931
6378
  return safeParse(
5932
6379
  jsonString,
5933
- (x) => CancelDeploymentRoutesHas$inboundSchema.parse(JSON.parse(x)),
5934
- `Failed to parse 'CancelDeploymentRoutesHas' from JSON`,
6380
+ (x) => RoutesHas$inboundSchema.parse(JSON.parse(x)),
6381
+ `Failed to parse 'RoutesHas' from JSON`,
5935
6382
  );
5936
6383
  }
5937
6384
 
@@ -6554,8 +7001,8 @@ export function cancelDeploymentMissing1FromJSON(
6554
7001
  }
6555
7002
 
6556
7003
  /** @internal */
6557
- export const CancelDeploymentRoutesMissing$inboundSchema: z.ZodType<
6558
- CancelDeploymentRoutesMissing,
7004
+ export const RoutesMissing$inboundSchema: z.ZodType<
7005
+ RoutesMissing,
6559
7006
  z.ZodTypeDef,
6560
7007
  unknown
6561
7008
  > = z.union([
@@ -6564,15 +7011,15 @@ export const CancelDeploymentRoutesMissing$inboundSchema: z.ZodType<
6564
7011
  ]);
6565
7012
 
6566
7013
  /** @internal */
6567
- export type CancelDeploymentRoutesMissing$Outbound =
7014
+ export type RoutesMissing$Outbound =
6568
7015
  | CancelDeploymentMissing1$Outbound
6569
7016
  | CancelDeploymentMissing2$Outbound;
6570
7017
 
6571
7018
  /** @internal */
6572
- export const CancelDeploymentRoutesMissing$outboundSchema: z.ZodType<
6573
- CancelDeploymentRoutesMissing$Outbound,
7019
+ export const RoutesMissing$outboundSchema: z.ZodType<
7020
+ RoutesMissing$Outbound,
6574
7021
  z.ZodTypeDef,
6575
- CancelDeploymentRoutesMissing
7022
+ RoutesMissing
6576
7023
  > = z.union([
6577
7024
  z.lazy(() => CancelDeploymentMissing1$outboundSchema),
6578
7025
  z.lazy(() => CancelDeploymentMissing2$outboundSchema),
@@ -6582,32 +7029,26 @@ export const CancelDeploymentRoutesMissing$outboundSchema: z.ZodType<
6582
7029
  * @internal
6583
7030
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6584
7031
  */
6585
- export namespace CancelDeploymentRoutesMissing$ {
6586
- /** @deprecated use `CancelDeploymentRoutesMissing$inboundSchema` instead. */
6587
- export const inboundSchema = CancelDeploymentRoutesMissing$inboundSchema;
6588
- /** @deprecated use `CancelDeploymentRoutesMissing$outboundSchema` instead. */
6589
- export const outboundSchema = CancelDeploymentRoutesMissing$outboundSchema;
6590
- /** @deprecated use `CancelDeploymentRoutesMissing$Outbound` instead. */
6591
- export type Outbound = CancelDeploymentRoutesMissing$Outbound;
7032
+ export namespace RoutesMissing$ {
7033
+ /** @deprecated use `RoutesMissing$inboundSchema` instead. */
7034
+ export const inboundSchema = RoutesMissing$inboundSchema;
7035
+ /** @deprecated use `RoutesMissing$outboundSchema` instead. */
7036
+ export const outboundSchema = RoutesMissing$outboundSchema;
7037
+ /** @deprecated use `RoutesMissing$Outbound` instead. */
7038
+ export type Outbound = RoutesMissing$Outbound;
6592
7039
  }
6593
7040
 
6594
- export function cancelDeploymentRoutesMissingToJSON(
6595
- cancelDeploymentRoutesMissing: CancelDeploymentRoutesMissing,
6596
- ): string {
6597
- return JSON.stringify(
6598
- CancelDeploymentRoutesMissing$outboundSchema.parse(
6599
- cancelDeploymentRoutesMissing,
6600
- ),
6601
- );
7041
+ export function routesMissingToJSON(routesMissing: RoutesMissing): string {
7042
+ return JSON.stringify(RoutesMissing$outboundSchema.parse(routesMissing));
6602
7043
  }
6603
7044
 
6604
- export function cancelDeploymentRoutesMissingFromJSON(
7045
+ export function routesMissingFromJSON(
6605
7046
  jsonString: string,
6606
- ): SafeParseResult<CancelDeploymentRoutesMissing, SDKValidationError> {
7047
+ ): SafeParseResult<RoutesMissing, SDKValidationError> {
6607
7048
  return safeParse(
6608
7049
  jsonString,
6609
- (x) => CancelDeploymentRoutesMissing$inboundSchema.parse(JSON.parse(x)),
6610
- `Failed to parse 'CancelDeploymentRoutesMissing' from JSON`,
7050
+ (x) => RoutesMissing$inboundSchema.parse(JSON.parse(x)),
7051
+ `Failed to parse 'RoutesMissing' from JSON`,
6611
7052
  );
6612
7053
  }
6613
7054
 
@@ -6633,8 +7074,8 @@ export namespace CancelDeploymentRoutesAction$ {
6633
7074
  }
6634
7075
 
6635
7076
  /** @internal */
6636
- export const CancelDeploymentRoutesMitigate$inboundSchema: z.ZodType<
6637
- CancelDeploymentRoutesMitigate,
7077
+ export const RoutesMitigate$inboundSchema: z.ZodType<
7078
+ RoutesMitigate,
6638
7079
  z.ZodTypeDef,
6639
7080
  unknown
6640
7081
  > = z.object({
@@ -6642,15 +7083,15 @@ export const CancelDeploymentRoutesMitigate$inboundSchema: z.ZodType<
6642
7083
  });
6643
7084
 
6644
7085
  /** @internal */
6645
- export type CancelDeploymentRoutesMitigate$Outbound = {
7086
+ export type RoutesMitigate$Outbound = {
6646
7087
  action: string;
6647
7088
  };
6648
7089
 
6649
7090
  /** @internal */
6650
- export const CancelDeploymentRoutesMitigate$outboundSchema: z.ZodType<
6651
- CancelDeploymentRoutesMitigate$Outbound,
7091
+ export const RoutesMitigate$outboundSchema: z.ZodType<
7092
+ RoutesMitigate$Outbound,
6652
7093
  z.ZodTypeDef,
6653
- CancelDeploymentRoutesMitigate
7094
+ RoutesMitigate
6654
7095
  > = z.object({
6655
7096
  action: CancelDeploymentRoutesAction$outboundSchema,
6656
7097
  });
@@ -6659,32 +7100,26 @@ export const CancelDeploymentRoutesMitigate$outboundSchema: z.ZodType<
6659
7100
  * @internal
6660
7101
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6661
7102
  */
6662
- export namespace CancelDeploymentRoutesMitigate$ {
6663
- /** @deprecated use `CancelDeploymentRoutesMitigate$inboundSchema` instead. */
6664
- export const inboundSchema = CancelDeploymentRoutesMitigate$inboundSchema;
6665
- /** @deprecated use `CancelDeploymentRoutesMitigate$outboundSchema` instead. */
6666
- export const outboundSchema = CancelDeploymentRoutesMitigate$outboundSchema;
6667
- /** @deprecated use `CancelDeploymentRoutesMitigate$Outbound` instead. */
6668
- export type Outbound = CancelDeploymentRoutesMitigate$Outbound;
7103
+ export namespace RoutesMitigate$ {
7104
+ /** @deprecated use `RoutesMitigate$inboundSchema` instead. */
7105
+ export const inboundSchema = RoutesMitigate$inboundSchema;
7106
+ /** @deprecated use `RoutesMitigate$outboundSchema` instead. */
7107
+ export const outboundSchema = RoutesMitigate$outboundSchema;
7108
+ /** @deprecated use `RoutesMitigate$Outbound` instead. */
7109
+ export type Outbound = RoutesMitigate$Outbound;
6669
7110
  }
6670
7111
 
6671
- export function cancelDeploymentRoutesMitigateToJSON(
6672
- cancelDeploymentRoutesMitigate: CancelDeploymentRoutesMitigate,
6673
- ): string {
6674
- return JSON.stringify(
6675
- CancelDeploymentRoutesMitigate$outboundSchema.parse(
6676
- cancelDeploymentRoutesMitigate,
6677
- ),
6678
- );
7112
+ export function routesMitigateToJSON(routesMitigate: RoutesMitigate): string {
7113
+ return JSON.stringify(RoutesMitigate$outboundSchema.parse(routesMitigate));
6679
7114
  }
6680
7115
 
6681
- export function cancelDeploymentRoutesMitigateFromJSON(
7116
+ export function routesMitigateFromJSON(
6682
7117
  jsonString: string,
6683
- ): SafeParseResult<CancelDeploymentRoutesMitigate, SDKValidationError> {
7118
+ ): SafeParseResult<RoutesMitigate, SDKValidationError> {
6684
7119
  return safeParse(
6685
7120
  jsonString,
6686
- (x) => CancelDeploymentRoutesMitigate$inboundSchema.parse(JSON.parse(x)),
6687
- `Failed to parse 'CancelDeploymentRoutesMitigate' from JSON`,
7121
+ (x) => RoutesMitigate$inboundSchema.parse(JSON.parse(x)),
7122
+ `Failed to parse 'RoutesMitigate' from JSON`,
6688
7123
  );
6689
7124
  }
6690
7125
 
@@ -7145,8 +7580,7 @@ export const CancelDeploymentRoutes1$inboundSchema: z.ZodType<
7145
7580
  z.lazy(() => CancelDeploymentMissing2$inboundSchema),
7146
7581
  ]),
7147
7582
  ).optional(),
7148
- mitigate: z.lazy(() => CancelDeploymentRoutesMitigate$inboundSchema)
7149
- .optional(),
7583
+ mitigate: z.lazy(() => RoutesMitigate$inboundSchema).optional(),
7150
7584
  transforms: z.array(z.lazy(() => RoutesTransforms$inboundSchema)).optional(),
7151
7585
  locale: z.lazy(() => RoutesLocale$inboundSchema).optional(),
7152
7586
  middlewarePath: z.string().optional(),
@@ -7174,7 +7608,7 @@ export type CancelDeploymentRoutes1$Outbound = {
7174
7608
  CancelDeploymentMissing1$Outbound | CancelDeploymentMissing2$Outbound
7175
7609
  >
7176
7610
  | undefined;
7177
- mitigate?: CancelDeploymentRoutesMitigate$Outbound | undefined;
7611
+ mitigate?: RoutesMitigate$Outbound | undefined;
7178
7612
  transforms?: Array<RoutesTransforms$Outbound> | undefined;
7179
7613
  locale?: RoutesLocale$Outbound | undefined;
7180
7614
  middlewarePath?: string | undefined;
@@ -7210,8 +7644,7 @@ export const CancelDeploymentRoutes1$outboundSchema: z.ZodType<
7210
7644
  z.lazy(() => CancelDeploymentMissing2$outboundSchema),
7211
7645
  ]),
7212
7646
  ).optional(),
7213
- mitigate: z.lazy(() => CancelDeploymentRoutesMitigate$outboundSchema)
7214
- .optional(),
7647
+ mitigate: z.lazy(() => RoutesMitigate$outboundSchema).optional(),
7215
7648
  transforms: z.array(z.lazy(() => RoutesTransforms$outboundSchema)).optional(),
7216
7649
  locale: z.lazy(() => RoutesLocale$outboundSchema).optional(),
7217
7650
  middlewarePath: z.string().optional(),
@@ -8095,8 +8528,7 @@ export const CancelDeploymentMicrofrontends2$inboundSchema: z.ZodType<
8095
8528
  defaultAppProjectName: z.string(),
8096
8529
  defaultRoute: z.string().optional(),
8097
8530
  groupIds: z.array(z.string()),
8098
- microfrontendsAliasEnabled: z.boolean().optional(),
8099
- previewEnvAliasEnabled: z.boolean().optional(),
8531
+ microfrontendsAlias2Enabled: z.boolean().optional(),
8100
8532
  });
8101
8533
 
8102
8534
  /** @internal */
@@ -8108,8 +8540,7 @@ export type CancelDeploymentMicrofrontends2$Outbound = {
8108
8540
  defaultAppProjectName: string;
8109
8541
  defaultRoute?: string | undefined;
8110
8542
  groupIds: Array<string>;
8111
- microfrontendsAliasEnabled?: boolean | undefined;
8112
- previewEnvAliasEnabled?: boolean | undefined;
8543
+ microfrontendsAlias2Enabled?: boolean | undefined;
8113
8544
  };
8114
8545
 
8115
8546
  /** @internal */
@@ -8125,8 +8556,7 @@ export const CancelDeploymentMicrofrontends2$outboundSchema: z.ZodType<
8125
8556
  defaultAppProjectName: z.string(),
8126
8557
  defaultRoute: z.string().optional(),
8127
8558
  groupIds: z.array(z.string()),
8128
- microfrontendsAliasEnabled: z.boolean().optional(),
8129
- previewEnvAliasEnabled: z.boolean().optional(),
8559
+ microfrontendsAlias2Enabled: z.boolean().optional(),
8130
8560
  });
8131
8561
 
8132
8562
  /**
@@ -8172,8 +8602,7 @@ export const CancelDeploymentMicrofrontends1$inboundSchema: z.ZodType<
8172
8602
  defaultAppProjectName: z.string(),
8173
8603
  defaultRoute: z.string().optional(),
8174
8604
  groupIds: z.array(z.string()),
8175
- microfrontendsAliasEnabled: z.boolean().optional(),
8176
- previewEnvAliasEnabled: z.boolean().optional(),
8605
+ microfrontendsAlias2Enabled: z.boolean().optional(),
8177
8606
  });
8178
8607
 
8179
8608
  /** @internal */
@@ -8182,8 +8611,7 @@ export type CancelDeploymentMicrofrontends1$Outbound = {
8182
8611
  defaultAppProjectName: string;
8183
8612
  defaultRoute?: string | undefined;
8184
8613
  groupIds: Array<string>;
8185
- microfrontendsAliasEnabled?: boolean | undefined;
8186
- previewEnvAliasEnabled?: boolean | undefined;
8614
+ microfrontendsAlias2Enabled?: boolean | undefined;
8187
8615
  };
8188
8616
 
8189
8617
  /** @internal */
@@ -8196,8 +8624,7 @@ export const CancelDeploymentMicrofrontends1$outboundSchema: z.ZodType<
8196
8624
  defaultAppProjectName: z.string(),
8197
8625
  defaultRoute: z.string().optional(),
8198
8626
  groupIds: z.array(z.string()),
8199
- microfrontendsAliasEnabled: z.boolean().optional(),
8200
- previewEnvAliasEnabled: z.boolean().optional(),
8627
+ microfrontendsAlias2Enabled: z.boolean().optional(),
8201
8628
  });
8202
8629
 
8203
8630
  /**
@@ -8619,22 +9046,26 @@ export const CancelDeploymentResponseBody$inboundSchema: z.ZodType<
8619
9046
  errorStep: z.string().optional(),
8620
9047
  passiveRegions: z.array(z.string()).optional(),
8621
9048
  gitSource: z.union([
8622
- z.lazy(() => GitSource10$inboundSchema),
8623
9049
  z.lazy(() => GitSource12$inboundSchema),
9050
+ z.lazy(() => GitSource15$inboundSchema),
8624
9051
  z.lazy(() => CancelDeploymentGitSource4$inboundSchema),
8625
- z.lazy(() => GitSource8$inboundSchema),
8626
- z.lazy(() => GitSource9$inboundSchema),
9052
+ z.lazy(() => GitSource10$inboundSchema),
8627
9053
  z.lazy(() => GitSource11$inboundSchema),
9054
+ z.lazy(() => GitSource13$inboundSchema),
9055
+ z.lazy(() => GitSource14$inboundSchema),
8628
9056
  z.lazy(() => CancelDeploymentGitSource2$inboundSchema),
8629
9057
  z.lazy(() => CancelDeploymentGitSource3$inboundSchema),
8630
- z.lazy(() => GitSource7$inboundSchema),
9058
+ z.lazy(() => GitSource6$inboundSchema),
9059
+ z.lazy(() => GitSource9$inboundSchema),
8631
9060
  z.lazy(() => CancelDeploymentGitSource1$inboundSchema),
8632
9061
  z.lazy(() => CancelDeploymentGitSource5$inboundSchema),
8633
- z.lazy(() => GitSource6$inboundSchema),
9062
+ z.lazy(() => GitSource7$inboundSchema),
9063
+ z.lazy(() => GitSource8$inboundSchema),
8634
9064
  ]).optional(),
8635
9065
  name: z.string(),
8636
9066
  meta: z.record(z.string()),
8637
9067
  originCacheRegion: z.string().optional(),
9068
+ nodeVersion: CancelDeploymentNodeVersion$inboundSchema.optional(),
8638
9069
  project: z.lazy(() => CancelDeploymentProject$inboundSchema).optional(),
8639
9070
  readyState: CancelDeploymentReadyState$inboundSchema,
8640
9071
  readySubstate: CancelDeploymentReadySubstate$inboundSchema.optional(),
@@ -8744,22 +9175,26 @@ export type CancelDeploymentResponseBody$Outbound = {
8744
9175
  errorStep?: string | undefined;
8745
9176
  passiveRegions?: Array<string> | undefined;
8746
9177
  gitSource?:
8747
- | GitSource10$Outbound
8748
9178
  | GitSource12$Outbound
9179
+ | GitSource15$Outbound
8749
9180
  | CancelDeploymentGitSource4$Outbound
8750
- | GitSource8$Outbound
8751
- | GitSource9$Outbound
9181
+ | GitSource10$Outbound
8752
9182
  | GitSource11$Outbound
9183
+ | GitSource13$Outbound
9184
+ | GitSource14$Outbound
8753
9185
  | CancelDeploymentGitSource2$Outbound
8754
9186
  | CancelDeploymentGitSource3$Outbound
8755
- | GitSource7$Outbound
9187
+ | GitSource6$Outbound
9188
+ | GitSource9$Outbound
8756
9189
  | CancelDeploymentGitSource1$Outbound
8757
9190
  | CancelDeploymentGitSource5$Outbound
8758
- | GitSource6$Outbound
9191
+ | GitSource7$Outbound
9192
+ | GitSource8$Outbound
8759
9193
  | undefined;
8760
9194
  name: string;
8761
9195
  meta: { [k: string]: string };
8762
9196
  originCacheRegion?: string | undefined;
9197
+ nodeVersion?: string | undefined;
8763
9198
  project?: CancelDeploymentProject$Outbound | undefined;
8764
9199
  readyState: string;
8765
9200
  readySubstate?: string | undefined;
@@ -8877,22 +9312,26 @@ export const CancelDeploymentResponseBody$outboundSchema: z.ZodType<
8877
9312
  errorStep: z.string().optional(),
8878
9313
  passiveRegions: z.array(z.string()).optional(),
8879
9314
  gitSource: z.union([
8880
- z.lazy(() => GitSource10$outboundSchema),
8881
9315
  z.lazy(() => GitSource12$outboundSchema),
9316
+ z.lazy(() => GitSource15$outboundSchema),
8882
9317
  z.lazy(() => CancelDeploymentGitSource4$outboundSchema),
8883
- z.lazy(() => GitSource8$outboundSchema),
8884
- z.lazy(() => GitSource9$outboundSchema),
9318
+ z.lazy(() => GitSource10$outboundSchema),
8885
9319
  z.lazy(() => GitSource11$outboundSchema),
9320
+ z.lazy(() => GitSource13$outboundSchema),
9321
+ z.lazy(() => GitSource14$outboundSchema),
8886
9322
  z.lazy(() => CancelDeploymentGitSource2$outboundSchema),
8887
9323
  z.lazy(() => CancelDeploymentGitSource3$outboundSchema),
8888
- z.lazy(() => GitSource7$outboundSchema),
9324
+ z.lazy(() => GitSource6$outboundSchema),
9325
+ z.lazy(() => GitSource9$outboundSchema),
8889
9326
  z.lazy(() => CancelDeploymentGitSource1$outboundSchema),
8890
9327
  z.lazy(() => CancelDeploymentGitSource5$outboundSchema),
8891
- z.lazy(() => GitSource6$outboundSchema),
9328
+ z.lazy(() => GitSource7$outboundSchema),
9329
+ z.lazy(() => GitSource8$outboundSchema),
8892
9330
  ]).optional(),
8893
9331
  name: z.string(),
8894
9332
  meta: z.record(z.string()),
8895
9333
  originCacheRegion: z.string().optional(),
9334
+ nodeVersion: CancelDeploymentNodeVersion$outboundSchema.optional(),
8896
9335
  project: z.lazy(() => CancelDeploymentProject$outboundSchema).optional(),
8897
9336
  readyState: CancelDeploymentReadyState$outboundSchema,
8898
9337
  readySubstate: CancelDeploymentReadySubstate$outboundSchema.optional(),