@vercel/sdk 1.9.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 (417) hide show
  1. package/README.md +11 -7
  2. package/bin/mcp-server.js +5251 -3540
  3. package/bin/mcp-server.js.map +76 -71
  4. package/docs/sdks/accessgroups/README.md +11 -0
  5. package/docs/sdks/aliases/README.md +7 -1
  6. package/docs/sdks/artifacts/README.md +6 -0
  7. package/docs/sdks/authentication/README.md +5 -0
  8. package/docs/sdks/certs/README.md +4 -0
  9. package/docs/sdks/checks/README.md +5 -0
  10. package/docs/sdks/deployments/README.md +20 -0
  11. package/docs/sdks/dns/README.md +4 -0
  12. package/docs/sdks/domains/README.md +10 -0
  13. package/docs/sdks/edgeconfig/README.md +17 -0
  14. package/docs/sdks/environment/README.md +5 -0
  15. package/docs/sdks/integrations/README.md +4 -0
  16. package/docs/sdks/logdrains/README.md +3 -80
  17. package/docs/sdks/logs/README.md +1 -0
  18. package/docs/sdks/marketplace/README.md +330 -78
  19. package/docs/sdks/projectmembers/README.md +3 -0
  20. package/docs/sdks/projects/README.md +24 -0
  21. package/docs/sdks/rollingrelease/README.md +7 -0
  22. package/docs/sdks/security/README.md +8 -0
  23. package/docs/sdks/teams/README.md +13 -0
  24. package/docs/sdks/user/README.md +3 -0
  25. package/docs/sdks/webhooks/README.md +4 -0
  26. package/esm/__tests__/aliases.test.js +16 -16
  27. package/esm/__tests__/aliases.test.js.map +1 -1
  28. package/esm/__tests__/deployments.test.js.map +1 -1
  29. package/esm/__tests__/domains.test.js.map +1 -1
  30. package/esm/__tests__/logdrains.test.js +3 -13
  31. package/esm/__tests__/logdrains.test.js.map +1 -1
  32. package/esm/__tests__/marketplace.test.js +41 -0
  33. package/esm/__tests__/marketplace.test.js.map +1 -1
  34. package/esm/__tests__/projects.test.js +13 -15
  35. package/esm/__tests__/projects.test.js.map +1 -1
  36. package/esm/__tests__/rollingrelease.test.js +5 -2
  37. package/esm/__tests__/rollingrelease.test.js.map +1 -1
  38. package/esm/__tests__/security.test.js +13 -1
  39. package/esm/__tests__/security.test.js.map +1 -1
  40. package/esm/__tests__/teams.test.js +2 -2
  41. package/esm/__tests__/teams.test.js.map +1 -1
  42. package/esm/funcs/aliasesGetAlias.d.ts +2 -2
  43. package/esm/funcs/aliasesGetAlias.d.ts.map +1 -1
  44. package/esm/funcs/aliasesGetAlias.js +3 -2
  45. package/esm/funcs/aliasesGetAlias.js.map +1 -1
  46. package/esm/funcs/checksRerequestCheck.js +1 -0
  47. package/esm/funcs/checksRerequestCheck.js.map +1 -1
  48. package/esm/funcs/deploymentsCreateDeployment.js +2 -2
  49. package/esm/funcs/deploymentsCreateDeployment.js.map +1 -1
  50. package/esm/funcs/domainsGetDomainConfig.js +2 -2
  51. package/esm/funcs/domainsGetDomainConfig.js.map +1 -1
  52. package/esm/funcs/edgeConfigPatchEdgeConfigItems.js +2 -3
  53. package/esm/funcs/edgeConfigPatchEdgeConfigItems.js.map +1 -1
  54. package/esm/funcs/{logDrainsDeleteConfigurableLogDrain.d.ts → marketplaceDeleteIntegrationResource.d.ts} +5 -5
  55. package/esm/funcs/marketplaceDeleteIntegrationResource.d.ts.map +1 -0
  56. package/esm/funcs/{logDrainsDeleteConfigurableLogDrain.js → marketplaceDeleteIntegrationResource.js} +11 -15
  57. package/esm/funcs/marketplaceDeleteIntegrationResource.js.map +1 -0
  58. package/esm/funcs/marketplaceGetIntegrationResource.d.ts +20 -0
  59. package/esm/funcs/marketplaceGetIntegrationResource.d.ts.map +1 -0
  60. package/esm/funcs/marketplaceGetIntegrationResource.js +90 -0
  61. package/esm/funcs/marketplaceGetIntegrationResource.js.map +1 -0
  62. package/esm/funcs/marketplaceGetIntegrationResources.d.ts +20 -0
  63. package/esm/funcs/marketplaceGetIntegrationResources.d.ts.map +1 -0
  64. package/esm/funcs/marketplaceGetIntegrationResources.js +86 -0
  65. package/esm/funcs/marketplaceGetIntegrationResources.js.map +1 -0
  66. package/esm/funcs/marketplaceUpdateInstallationIntegrationEdgeConfig.js +2 -2
  67. package/esm/funcs/marketplaceUpdateInstallationIntegrationEdgeConfig.js.map +1 -1
  68. package/esm/funcs/projectsAcceptProjectTransferRequest.js +2 -2
  69. package/esm/funcs/projectsAcceptProjectTransferRequest.js.map +1 -1
  70. package/esm/funcs/projectsCreateProject.js +2 -2
  71. package/esm/funcs/projectsCreateProject.js.map +1 -1
  72. package/esm/funcs/teamsPatchTeam.js +2 -2
  73. package/esm/funcs/teamsPatchTeam.js.map +1 -1
  74. package/esm/lib/config.d.ts +3 -3
  75. package/esm/lib/config.js +3 -3
  76. package/esm/lib/config.js.map +1 -1
  77. package/esm/mcp-server/cli/start/command.d.ts.map +1 -1
  78. package/esm/mcp-server/cli/start/command.js +0 -12
  79. package/esm/mcp-server/cli/start/command.js.map +1 -1
  80. package/esm/mcp-server/cli/start/impl.d.ts +0 -2
  81. package/esm/mcp-server/cli/start/impl.d.ts.map +1 -1
  82. package/esm/mcp-server/cli/start/impl.js +0 -2
  83. package/esm/mcp-server/cli/start/impl.js.map +1 -1
  84. package/esm/mcp-server/mcp-server.js +1 -1
  85. package/esm/mcp-server/mcp-server.js.map +1 -1
  86. package/esm/mcp-server/server.d.ts.map +1 -1
  87. package/esm/mcp-server/server.js +11 -7
  88. package/esm/mcp-server/server.js.map +1 -1
  89. package/esm/mcp-server/tools/marketplaceDeleteIntegrationResource.d.ts +7 -0
  90. package/esm/mcp-server/tools/marketplaceDeleteIntegrationResource.d.ts.map +1 -0
  91. package/esm/mcp-server/tools/marketplaceDeleteIntegrationResource.js +27 -0
  92. package/esm/mcp-server/tools/marketplaceDeleteIntegrationResource.js.map +1 -0
  93. package/esm/mcp-server/tools/marketplaceGetIntegrationResource.d.ts +7 -0
  94. package/esm/mcp-server/tools/marketplaceGetIntegrationResource.d.ts.map +1 -0
  95. package/esm/mcp-server/tools/marketplaceGetIntegrationResource.js +28 -0
  96. package/esm/mcp-server/tools/marketplaceGetIntegrationResource.js.map +1 -0
  97. package/esm/mcp-server/tools/marketplaceGetIntegrationResources.d.ts +7 -0
  98. package/esm/mcp-server/tools/marketplaceGetIntegrationResources.d.ts.map +1 -0
  99. package/esm/mcp-server/tools/marketplaceGetIntegrationResources.js +28 -0
  100. package/esm/mcp-server/tools/marketplaceGetIntegrationResources.js.map +1 -0
  101. package/esm/models/acceptprojecttransferrequestop.d.ts +176 -2
  102. package/esm/models/acceptprojecttransferrequestop.d.ts.map +1 -1
  103. package/esm/models/acceptprojecttransferrequestop.js +176 -2
  104. package/esm/models/acceptprojecttransferrequestop.js.map +1 -1
  105. package/esm/models/addbypassipop.d.ts +38 -38
  106. package/esm/models/addbypassipop.d.ts.map +1 -1
  107. package/esm/models/addbypassipop.js +44 -42
  108. package/esm/models/addbypassipop.js.map +1 -1
  109. package/esm/models/authtoken.d.ts +10 -4
  110. package/esm/models/authtoken.d.ts.map +1 -1
  111. package/esm/models/authtoken.js +6 -4
  112. package/esm/models/authtoken.js.map +1 -1
  113. package/esm/models/authuser.d.ts +59 -27
  114. package/esm/models/authuser.d.ts.map +1 -1
  115. package/esm/models/authuser.js +36 -9
  116. package/esm/models/authuser.js.map +1 -1
  117. package/esm/models/canceldeploymentop.d.ts +655 -89
  118. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  119. package/esm/models/canceldeploymentop.js +576 -87
  120. package/esm/models/canceldeploymentop.js.map +1 -1
  121. package/esm/models/createcustomenvironmentop.d.ts +3 -3
  122. package/esm/models/createcustomenvironmentop.js +1 -1
  123. package/esm/models/createcustomenvironmentop.js.map +1 -1
  124. package/esm/models/createdeploymentop.d.ts +846 -249
  125. package/esm/models/createdeploymentop.d.ts.map +1 -1
  126. package/esm/models/createdeploymentop.js +699 -194
  127. package/esm/models/createdeploymentop.js.map +1 -1
  128. package/esm/models/createlogdrainop.d.ts +2 -2
  129. package/esm/models/createlogdrainop.d.ts.map +1 -1
  130. package/esm/models/createlogdrainop.js +2 -2
  131. package/esm/models/createlogdrainop.js.map +1 -1
  132. package/esm/models/createprojectop.d.ts +293 -83
  133. package/esm/models/createprojectop.d.ts.map +1 -1
  134. package/esm/models/createprojectop.js +248 -72
  135. package/esm/models/createprojectop.js.map +1 -1
  136. package/esm/models/createwebhookop.d.ts +18 -0
  137. package/esm/models/createwebhookop.d.ts.map +1 -1
  138. package/esm/models/createwebhookop.js +6 -0
  139. package/esm/models/createwebhookop.js.map +1 -1
  140. package/esm/models/deleteintegrationresourceop.d.ts +31 -0
  141. package/esm/models/deleteintegrationresourceop.d.ts.map +1 -0
  142. package/esm/models/deleteintegrationresourceop.js +33 -0
  143. package/esm/models/deleteintegrationresourceop.js.map +1 -0
  144. package/esm/models/exchangessotokenop.d.ts +4 -4
  145. package/esm/models/exchangessotokenop.d.ts.map +1 -1
  146. package/esm/models/exchangessotokenop.js +4 -4
  147. package/esm/models/exchangessotokenop.js.map +1 -1
  148. package/esm/models/getaliasop.d.ts +0 -555
  149. package/esm/models/getaliasop.d.ts.map +1 -1
  150. package/esm/models/getaliasop.js +0 -449
  151. package/esm/models/getaliasop.js.map +1 -1
  152. package/esm/models/getbypassipop.d.ts +55 -179
  153. package/esm/models/getbypassipop.d.ts.map +1 -1
  154. package/esm/models/getbypassipop.js +59 -221
  155. package/esm/models/getbypassipop.js.map +1 -1
  156. package/esm/models/getconfigurationop.d.ts +3 -3
  157. package/esm/models/getconfigurationop.js +1 -1
  158. package/esm/models/getconfigurationop.js.map +1 -1
  159. package/esm/models/getcustomenvironmentop.d.ts +3 -3
  160. package/esm/models/getcustomenvironmentop.js +1 -1
  161. package/esm/models/getcustomenvironmentop.js.map +1 -1
  162. package/esm/models/getdeploymentop.d.ts +1057 -247
  163. package/esm/models/getdeploymentop.d.ts.map +1 -1
  164. package/esm/models/getdeploymentop.js +939 -225
  165. package/esm/models/getdeploymentop.js.map +1 -1
  166. package/esm/models/getdeploymentsop.d.ts +11 -2
  167. package/esm/models/getdeploymentsop.d.ts.map +1 -1
  168. package/esm/models/getdeploymentsop.js +4 -2
  169. package/esm/models/getdeploymentsop.js.map +1 -1
  170. package/esm/models/getedgeconfigbackupop.d.ts +15 -15
  171. package/esm/models/getedgeconfigbackupop.d.ts.map +1 -1
  172. package/esm/models/getedgeconfigbackupop.js +15 -15
  173. package/esm/models/getedgeconfigbackupop.js.map +1 -1
  174. package/esm/models/getintegrationlogdrainsop.d.ts +2 -2
  175. package/esm/models/getintegrationlogdrainsop.d.ts.map +1 -1
  176. package/esm/models/getintegrationlogdrainsop.js +4 -2
  177. package/esm/models/getintegrationlogdrainsop.js.map +1 -1
  178. package/esm/models/getintegrationresourceop.d.ts +293 -0
  179. package/esm/models/getintegrationresourceop.d.ts.map +1 -0
  180. package/esm/models/getintegrationresourceop.js +252 -0
  181. package/esm/models/getintegrationresourceop.js.map +1 -0
  182. package/esm/models/getintegrationresourcesop.d.ts +310 -0
  183. package/esm/models/getintegrationresourcesop.d.ts.map +1 -0
  184. package/esm/models/getintegrationresourcesop.js +275 -0
  185. package/esm/models/getintegrationresourcesop.js.map +1 -0
  186. package/esm/models/getprojectmembersop.d.ts +3 -0
  187. package/esm/models/getprojectmembersop.d.ts.map +1 -1
  188. package/esm/models/getprojectmembersop.js +1 -0
  189. package/esm/models/getprojectmembersop.js.map +1 -1
  190. package/esm/models/getprojectsop.d.ts +197 -60
  191. package/esm/models/getprojectsop.d.ts.map +1 -1
  192. package/esm/models/getprojectsop.js +170 -45
  193. package/esm/models/getprojectsop.js.map +1 -1
  194. package/esm/models/getrecordsop.d.ts +8 -0
  195. package/esm/models/getrecordsop.d.ts.map +1 -1
  196. package/esm/models/getrecordsop.js +8 -0
  197. package/esm/models/getrecordsop.js.map +1 -1
  198. package/esm/models/getrollingreleasebillingstatusop.d.ts +21 -13
  199. package/esm/models/getrollingreleasebillingstatusop.d.ts.map +1 -1
  200. package/esm/models/getrollingreleasebillingstatusop.js +17 -9
  201. package/esm/models/getrollingreleasebillingstatusop.js.map +1 -1
  202. package/esm/models/getteamaccessrequestop.d.ts +3 -3
  203. package/esm/models/getteamaccessrequestop.js +1 -1
  204. package/esm/models/getteammembersop.d.ts +6 -0
  205. package/esm/models/getteammembersop.d.ts.map +1 -1
  206. package/esm/models/getteammembersop.js +2 -0
  207. package/esm/models/getteammembersop.js.map +1 -1
  208. package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts +6 -6
  209. package/esm/models/getv9projectsidornamecustomenvironmentsop.js +2 -2
  210. package/esm/models/getv9projectsidornamecustomenvironmentsop.js.map +1 -1
  211. package/esm/models/getwebhookop.d.ts +9 -0
  212. package/esm/models/getwebhookop.d.ts.map +1 -1
  213. package/esm/models/getwebhookop.js +3 -0
  214. package/esm/models/getwebhookop.js.map +1 -1
  215. package/esm/models/getwebhooksop.d.ts +24 -0
  216. package/esm/models/getwebhooksop.d.ts.map +1 -1
  217. package/esm/models/getwebhooksop.js +8 -0
  218. package/esm/models/getwebhooksop.js.map +1 -1
  219. package/esm/models/importresourceop.d.ts +15 -15
  220. package/esm/models/importresourceop.d.ts.map +1 -1
  221. package/esm/models/importresourceop.js +17 -15
  222. package/esm/models/importresourceop.js.map +1 -1
  223. package/esm/models/inviteusertoteamop.d.ts +33 -0
  224. package/esm/models/inviteusertoteamop.d.ts.map +1 -1
  225. package/esm/models/inviteusertoteamop.js +11 -0
  226. package/esm/models/inviteusertoteamop.js.map +1 -1
  227. package/esm/models/listaccessgroupmembersop.d.ts +3 -0
  228. package/esm/models/listaccessgroupmembersop.d.ts.map +1 -1
  229. package/esm/models/listaccessgroupmembersop.js +1 -0
  230. package/esm/models/listaccessgroupmembersop.js.map +1 -1
  231. package/esm/models/listaliasesop.d.ts +141 -39
  232. package/esm/models/listaliasesop.d.ts.map +1 -1
  233. package/esm/models/listaliasesop.js +132 -35
  234. package/esm/models/listaliasesop.js.map +1 -1
  235. package/esm/models/listdeploymentaliasesop.d.ts +30 -30
  236. package/esm/models/listdeploymentaliasesop.d.ts.map +1 -1
  237. package/esm/models/listdeploymentaliasesop.js +34 -34
  238. package/esm/models/listdeploymentaliasesop.js.map +1 -1
  239. package/esm/models/patchedgeconfigitemsop.d.ts +0 -4
  240. package/esm/models/patchedgeconfigitemsop.d.ts.map +1 -1
  241. package/esm/models/patchedgeconfigitemsop.js +0 -4
  242. package/esm/models/patchedgeconfigitemsop.js.map +1 -1
  243. package/esm/models/patchteamop.d.ts +185 -0
  244. package/esm/models/patchteamop.d.ts.map +1 -1
  245. package/esm/models/patchteamop.js +132 -0
  246. package/esm/models/patchteamop.js.map +1 -1
  247. package/esm/models/removecustomenvironmentop.d.ts +3 -3
  248. package/esm/models/removecustomenvironmentop.js +1 -1
  249. package/esm/models/removecustomenvironmentop.js.map +1 -1
  250. package/esm/models/requestaccesstoteamop.d.ts +3 -3
  251. package/esm/models/requestaccesstoteamop.js +1 -1
  252. package/esm/models/rerequestcheckop.d.ts +5 -0
  253. package/esm/models/rerequestcheckop.d.ts.map +1 -1
  254. package/esm/models/rerequestcheckop.js +2 -0
  255. package/esm/models/rerequestcheckop.js.map +1 -1
  256. package/esm/models/sdkerror.d.ts.map +1 -1
  257. package/esm/models/sdkerror.js +8 -2
  258. package/esm/models/sdkerror.js.map +1 -1
  259. package/esm/models/team.d.ts +151 -7
  260. package/esm/models/team.d.ts.map +1 -1
  261. package/esm/models/team.js +116 -4
  262. package/esm/models/team.js.map +1 -1
  263. package/esm/models/teamlimited.d.ts +18 -3
  264. package/esm/models/teamlimited.d.ts.map +1 -1
  265. package/esm/models/teamlimited.js +6 -1
  266. package/esm/models/teamlimited.js.map +1 -1
  267. package/esm/models/updatecustomenvironmentop.d.ts +3 -3
  268. package/esm/models/updatecustomenvironmentop.js +1 -1
  269. package/esm/models/updatecustomenvironmentop.js.map +1 -1
  270. package/esm/models/updateprojectdatacacheop.d.ts +197 -60
  271. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  272. package/esm/models/updateprojectdatacacheop.js +170 -45
  273. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  274. package/esm/models/updateprojectop.d.ts +212 -60
  275. package/esm/models/updateprojectop.d.ts.map +1 -1
  276. package/esm/models/updateprojectop.js +175 -45
  277. package/esm/models/updateprojectop.js.map +1 -1
  278. package/esm/models/updateresourcesecretsop.d.ts +15 -15
  279. package/esm/models/updateresourcesecretsop.d.ts.map +1 -1
  280. package/esm/models/updateresourcesecretsop.js +15 -17
  281. package/esm/models/updateresourcesecretsop.js.map +1 -1
  282. package/esm/models/userevent.d.ts +2150 -2186
  283. package/esm/models/userevent.d.ts.map +1 -1
  284. package/esm/models/userevent.js +2517 -2542
  285. package/esm/models/userevent.js.map +1 -1
  286. package/esm/models/vercelbadrequesterror.d.ts.map +1 -1
  287. package/esm/models/vercelbadrequesterror.js +2 -3
  288. package/esm/models/vercelbadrequesterror.js.map +1 -1
  289. package/esm/models/vercelforbiddenerror.d.ts.map +1 -1
  290. package/esm/models/vercelforbiddenerror.js +2 -3
  291. package/esm/models/vercelforbiddenerror.js.map +1 -1
  292. package/esm/models/vercelnotfounderror.d.ts.map +1 -1
  293. package/esm/models/vercelnotfounderror.js +2 -3
  294. package/esm/models/vercelnotfounderror.js.map +1 -1
  295. package/esm/models/vercelratelimiterror.d.ts.map +1 -1
  296. package/esm/models/vercelratelimiterror.js +2 -3
  297. package/esm/models/vercelratelimiterror.js.map +1 -1
  298. package/esm/sdk/aliases.d.ts +2 -2
  299. package/esm/sdk/aliases.d.ts.map +1 -1
  300. package/esm/sdk/logdrains.d.ts +0 -8
  301. package/esm/sdk/logdrains.d.ts.map +1 -1
  302. package/esm/sdk/logdrains.js +0 -10
  303. package/esm/sdk/logdrains.js.map +1 -1
  304. package/esm/sdk/marketplace.d.ts +31 -7
  305. package/esm/sdk/marketplace.d.ts.map +1 -1
  306. package/esm/sdk/marketplace.js +39 -9
  307. package/esm/sdk/marketplace.js.map +1 -1
  308. package/esm/sdk/sdk.d.ts +2 -2
  309. package/esm/sdk/sdk.d.ts.map +1 -1
  310. package/esm/sdk/sdk.js +3 -3
  311. package/esm/sdk/sdk.js.map +1 -1
  312. package/examples/README.md +31 -0
  313. package/examples/package-lock.json +629 -0
  314. package/examples/package.json +18 -0
  315. package/examples/projectsUpdateProject.example.ts +33 -0
  316. package/jsr.json +1 -1
  317. package/package.json +8 -10
  318. package/src/__tests__/aliases.test.ts +16 -16
  319. package/src/__tests__/deployments.test.ts +2 -1
  320. package/src/__tests__/domains.test.ts +2 -1
  321. package/src/__tests__/logdrains.test.ts +5 -15
  322. package/src/__tests__/marketplace.test.ts +47 -0
  323. package/src/__tests__/projects.test.ts +13 -15
  324. package/src/__tests__/rollingrelease.test.ts +5 -2
  325. package/src/__tests__/security.test.ts +13 -1
  326. package/src/__tests__/teams.test.ts +2 -2
  327. package/src/funcs/aliasesGetAlias.ts +5 -6
  328. package/src/funcs/checksRerequestCheck.ts +1 -0
  329. package/src/funcs/deploymentsCreateDeployment.ts +2 -2
  330. package/src/funcs/domainsGetDomainConfig.ts +2 -2
  331. package/src/funcs/edgeConfigPatchEdgeConfigItems.ts +2 -3
  332. package/src/funcs/{logDrainsDeleteConfigurableLogDrain.ts → marketplaceDeleteIntegrationResource.ts} +20 -19
  333. package/src/funcs/marketplaceGetIntegrationResource.ts +206 -0
  334. package/src/funcs/marketplaceGetIntegrationResources.ts +202 -0
  335. package/src/funcs/marketplaceUpdateInstallationIntegrationEdgeConfig.ts +2 -2
  336. package/src/funcs/projectsAcceptProjectTransferRequest.ts +2 -2
  337. package/src/funcs/projectsCreateProject.ts +2 -2
  338. package/src/funcs/teamsPatchTeam.ts +2 -2
  339. package/src/lib/config.ts +3 -3
  340. package/src/mcp-server/cli/start/command.ts +0 -13
  341. package/src/mcp-server/cli/start/impl.ts +0 -4
  342. package/src/mcp-server/mcp-server.ts +1 -1
  343. package/src/mcp-server/server.ts +11 -7
  344. package/src/mcp-server/tools/marketplaceDeleteIntegrationResource.ts +37 -0
  345. package/src/mcp-server/tools/marketplaceGetIntegrationResource.ts +39 -0
  346. package/src/mcp-server/tools/marketplaceGetIntegrationResources.ts +39 -0
  347. package/src/models/acceptprojecttransferrequestop.ts +449 -4
  348. package/src/models/addbypassipop.ts +69 -78
  349. package/src/models/authtoken.ts +10 -8
  350. package/src/models/authuser.ts +100 -10
  351. package/src/models/canceldeploymentop.ts +1291 -221
  352. package/src/models/createcustomenvironmentop.ts +1 -1
  353. package/src/models/createdeploymentop.ts +1875 -825
  354. package/src/models/createlogdrainop.ts +4 -4
  355. package/src/models/createprojectop.ts +524 -128
  356. package/src/models/createwebhookop.ts +6 -0
  357. package/src/models/deleteintegrationresourceop.ts +72 -0
  358. package/src/models/exchangessotokenop.ts +8 -8
  359. package/src/models/getaliasop.ts +0 -1042
  360. package/src/models/getbypassipop.ts +100 -404
  361. package/src/models/getconfigurationop.ts +1 -1
  362. package/src/models/getcustomenvironmentop.ts +1 -1
  363. package/src/models/getdeploymentop.ts +3464 -1864
  364. package/src/models/getdeploymentsop.ts +9 -4
  365. package/src/models/getedgeconfigbackupop.ts +41 -24
  366. package/src/models/getintegrationlogdrainsop.ts +6 -4
  367. package/src/models/getintegrationresourceop.ts +561 -0
  368. package/src/models/getintegrationresourcesop.ts +642 -0
  369. package/src/models/getprojectmembersop.ts +1 -0
  370. package/src/models/getprojectsop.ts +367 -85
  371. package/src/models/getrecordsop.ts +16 -0
  372. package/src/models/getrollingreleasebillingstatusop.ts +31 -15
  373. package/src/models/getteamaccessrequestop.ts +1 -1
  374. package/src/models/getteammembersop.ts +2 -0
  375. package/src/models/getv9projectsidornamecustomenvironmentsop.ts +2 -2
  376. package/src/models/getwebhookop.ts +3 -0
  377. package/src/models/getwebhooksop.ts +8 -0
  378. package/src/models/importresourceop.ts +27 -35
  379. package/src/models/inviteusertoteamop.ts +11 -0
  380. package/src/models/listaccessgroupmembersop.ts +1 -0
  381. package/src/models/listaliasesop.ts +290 -74
  382. package/src/models/listdeploymentaliasesop.ts +58 -70
  383. package/src/models/patchedgeconfigitemsop.ts +0 -8
  384. package/src/models/patchteamop.ts +311 -0
  385. package/src/models/removecustomenvironmentop.ts +1 -1
  386. package/src/models/requestaccesstoteamop.ts +1 -1
  387. package/src/models/rerequestcheckop.ts +7 -0
  388. package/src/models/sdkerror.ts +8 -2
  389. package/src/models/team.ts +257 -11
  390. package/src/models/teamlimited.ts +6 -1
  391. package/src/models/updatecustomenvironmentop.ts +1 -1
  392. package/src/models/updateprojectdatacacheop.ts +356 -86
  393. package/src/models/updateprojectop.ts +372 -86
  394. package/src/models/updateresourcesecretsop.ts +49 -33
  395. package/src/models/userevent.ts +4520 -4604
  396. package/src/models/vercelbadrequesterror.ts +2 -3
  397. package/src/models/vercelforbiddenerror.ts +2 -3
  398. package/src/models/vercelnotfounderror.ts +2 -3
  399. package/src/models/vercelratelimiterror.ts +2 -3
  400. package/src/sdk/aliases.ts +2 -2
  401. package/src/sdk/logdrains.ts +0 -19
  402. package/src/sdk/marketplace.ts +80 -17
  403. package/src/sdk/sdk.ts +5 -5
  404. package/temp/example.ts +11 -0
  405. package/vercel-spec.json +3412 -1482
  406. package/esm/funcs/logDrainsDeleteConfigurableLogDrain.d.ts.map +0 -1
  407. package/esm/funcs/logDrainsDeleteConfigurableLogDrain.js.map +0 -1
  408. package/esm/mcp-server/tools/logDrainsDeleteConfigurableLogDrain.d.ts +0 -7
  409. package/esm/mcp-server/tools/logDrainsDeleteConfigurableLogDrain.d.ts.map +0 -1
  410. package/esm/mcp-server/tools/logDrainsDeleteConfigurableLogDrain.js +0 -27
  411. package/esm/mcp-server/tools/logDrainsDeleteConfigurableLogDrain.js.map +0 -1
  412. package/esm/models/deleteconfigurablelogdrainop.d.ts +0 -39
  413. package/esm/models/deleteconfigurablelogdrainop.d.ts.map +0 -1
  414. package/esm/models/deleteconfigurablelogdrainop.js +0 -35
  415. package/esm/models/deleteconfigurablelogdrainop.js.map +0 -1
  416. package/src/mcp-server/tools/logDrainsDeleteConfigurableLogDrain.ts +0 -37
  417. package/src/models/deleteconfigurablelogdrainop.ts +0 -83
@@ -89,6 +89,8 @@ export const CancelDeploymentFramework = {
89
89
  SanityV3: "sanity-v3",
90
90
  Sanity: "sanity",
91
91
  Storybook: "storybook",
92
+ Nitro: "nitro",
93
+ Hono: "hono",
92
94
  } as const;
93
95
  export type CancelDeploymentFramework = ClosedEnum<
94
96
  typeof CancelDeploymentFramework
@@ -123,10 +125,10 @@ export type CancelDeploymentProjectSettings = {
123
125
  };
124
126
 
125
127
  export const CancelDeploymentDeploymentsStatus = {
126
- Error: "error",
127
128
  Skipped: "skipped",
128
129
  Pending: "pending",
129
130
  Ready: "ready",
131
+ Error: "error",
130
132
  Timeout: "timeout",
131
133
  } as const;
132
134
  export type CancelDeploymentDeploymentsStatus = ClosedEnum<
@@ -291,9 +293,9 @@ export type CancelDeploymentCustomEnvironmentType = ClosedEnum<
291
293
  * The type of matching to perform
292
294
  */
293
295
  export const CancelDeploymentCustomEnvironmentDeploymentsType = {
296
+ EndsWith: "endsWith",
294
297
  StartsWith: "startsWith",
295
298
  Equals: "equals",
296
- EndsWith: "endsWith",
297
299
  } as const;
298
300
  /**
299
301
  * The type of matching to perform
@@ -435,18 +437,18 @@ export type CancelDeploymentChecksConclusion = ClosedEnum<
435
437
  typeof CancelDeploymentChecksConclusion
436
438
  >;
437
439
 
438
- export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type =
440
+ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type =
439
441
  {
440
442
  Bitbucket: "bitbucket",
441
443
  } as const;
442
- export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type =
444
+ export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type =
443
445
  ClosedEnum<
444
- typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type
446
+ typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type
445
447
  >;
446
448
 
447
- export type GitSource12 = {
449
+ export type GitSource15 = {
448
450
  type:
449
- CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type;
451
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type;
450
452
  ref: string;
451
453
  sha: string;
452
454
  owner?: string | undefined;
@@ -455,35 +457,54 @@ export type GitSource12 = {
455
457
  repoUuid: string;
456
458
  };
457
459
 
458
- export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type =
460
+ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type =
459
461
  {
460
462
  Gitlab: "gitlab",
461
463
  } as const;
462
- export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type =
464
+ export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type =
463
465
  ClosedEnum<
464
- typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type
466
+ typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type
465
467
  >;
466
468
 
467
- export type GitSource11 = {
469
+ export type GitSource14 = {
468
470
  type:
469
- CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type;
471
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type;
470
472
  ref: string;
471
473
  sha: string;
472
474
  projectId: number;
473
475
  };
474
476
 
475
- 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 =
476
497
  {
477
498
  GithubCustomHost: "github-custom-host",
478
499
  } as const;
479
- export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type =
500
+ export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type =
480
501
  ClosedEnum<
481
- typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type
502
+ typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type
482
503
  >;
483
504
 
484
- export type GitSource10 = {
505
+ export type GitSource12 = {
485
506
  type:
486
- CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type;
507
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type;
487
508
  host: string;
488
509
  ref: string;
489
510
  sha: string;
@@ -492,18 +513,18 @@ export type GitSource10 = {
492
513
  repo?: string | undefined;
493
514
  };
494
515
 
495
- export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type =
516
+ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type =
496
517
  {
497
518
  Github: "github",
498
519
  } as const;
499
- export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type =
520
+ export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type =
500
521
  ClosedEnum<
501
- typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type
522
+ typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type
502
523
  >;
503
524
 
504
- export type GitSource9 = {
525
+ export type GitSource11 = {
505
526
  type:
506
- CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type;
527
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type;
507
528
  ref: string;
508
529
  sha: string;
509
530
  repoId: number;
@@ -511,40 +532,79 @@ export type GitSource9 = {
511
532
  repo?: string | undefined;
512
533
  };
513
534
 
514
- export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type =
535
+ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type =
515
536
  {
516
537
  Custom: "custom",
517
538
  } as const;
518
- export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type =
539
+ export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type =
519
540
  ClosedEnum<
520
- typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type
541
+ typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type
521
542
  >;
522
543
 
523
544
  /**
524
545
  * Allows custom git sources (local folder mounted to the container) in test mode
525
546
  */
526
- export type GitSource8 = {
547
+ export type GitSource10 = {
527
548
  type:
528
- CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type;
549
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type;
529
550
  ref: string;
530
551
  sha: string;
531
552
  gitUrl: string;
532
553
  };
533
554
 
534
- export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type =
555
+ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type =
556
+ {
557
+ Bitbucket: "bitbucket",
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 =
535
575
  {
536
576
  Bitbucket: "bitbucket",
537
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;
538
597
  export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type =
539
598
  ClosedEnum<
540
599
  typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type
541
600
  >;
542
601
 
602
+ export type CancelDeploymentGitSourceProjectId = string | number;
603
+
543
604
  export type GitSource7 = {
544
605
  type:
545
606
  CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type;
546
- owner: string;
547
- slug: string;
607
+ projectId: string | number;
548
608
  ref?: string | null | undefined;
549
609
  sha?: string | undefined;
550
610
  prId?: number | null | undefined;
@@ -552,7 +612,7 @@ export type GitSource7 = {
552
612
 
553
613
  export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType =
554
614
  {
555
- Bitbucket: "bitbucket",
615
+ GithubLimited: "github-limited",
556
616
  } as const;
557
617
  export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType =
558
618
  ClosedEnum<
@@ -562,8 +622,8 @@ export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespon
562
622
  export type GitSource6 = {
563
623
  type:
564
624
  CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType;
565
- workspaceUuid?: string | undefined;
566
- repoUuid: string;
625
+ org: string;
626
+ repo: string;
567
627
  ref?: string | null | undefined;
568
628
  sha?: string | undefined;
569
629
  prId?: number | null | undefined;
@@ -571,18 +631,20 @@ export type GitSource6 = {
571
631
 
572
632
  export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType =
573
633
  {
574
- Gitlab: "gitlab",
634
+ GithubLimited: "github-limited",
575
635
  } as const;
576
636
  export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType =
577
637
  ClosedEnum<
578
638
  typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType
579
639
  >;
580
640
 
581
- export type CancelDeploymentGitSourceProjectId = string | number;
641
+ export type CancelDeploymentGitSourceDeploymentsResponseRepoId =
642
+ | string
643
+ | number;
582
644
 
583
645
  export type CancelDeploymentGitSource5 = {
584
646
  type: CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType;
585
- projectId: string | number;
647
+ repoId: string | number;
586
648
  ref?: string | null | undefined;
587
649
  sha?: string | undefined;
588
650
  prId?: number | null | undefined;
@@ -657,18 +719,41 @@ export type CancelDeploymentGitSource1 = {
657
719
  };
658
720
 
659
721
  export type CancelDeploymentGitSource =
660
- | GitSource10
661
722
  | GitSource12
723
+ | GitSource15
662
724
  | CancelDeploymentGitSource4
663
- | GitSource8
664
- | GitSource9
725
+ | GitSource10
665
726
  | GitSource11
727
+ | GitSource13
728
+ | GitSource14
666
729
  | CancelDeploymentGitSource2
667
730
  | CancelDeploymentGitSource3
668
- | GitSource7
731
+ | GitSource6
732
+ | GitSource9
669
733
  | CancelDeploymentGitSource1
670
734
  | CancelDeploymentGitSource5
671
- | 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
+ >;
672
757
 
673
758
  export type CancelDeploymentProject = {
674
759
  id: string;
@@ -751,6 +836,49 @@ export type CancelDeploymentArchitecture = ClosedEnum<
751
836
  typeof CancelDeploymentArchitecture
752
837
  >;
753
838
 
839
+ /**
840
+ * Event type - must be "queue/v1beta" (REQUIRED)
841
+ */
842
+ export const CancelDeploymentDeploymentsType = {
843
+ QueueV1beta: "queue/v1beta",
844
+ } as const;
845
+ /**
846
+ * Event type - must be "queue/v1beta" (REQUIRED)
847
+ */
848
+ export type CancelDeploymentDeploymentsType = ClosedEnum<
849
+ typeof CancelDeploymentDeploymentsType
850
+ >;
851
+
852
+ /**
853
+ * Queue trigger event for Vercel's queue system. Handles "queue/v1beta" events with queue-specific configuration.
854
+ */
855
+ export type CancelDeploymentExperimentalTriggers = {
856
+ /**
857
+ * Event type - must be "queue/v1beta" (REQUIRED)
858
+ */
859
+ type: CancelDeploymentDeploymentsType;
860
+ /**
861
+ * Name of the queue topic to consume from (REQUIRED)
862
+ */
863
+ topic: string;
864
+ /**
865
+ * Name of the consumer group for this trigger (REQUIRED)
866
+ */
867
+ consumer: string;
868
+ /**
869
+ * Maximum number of delivery attempts for message processing (OPTIONAL) This represents the total number of times a message can be delivered, not the number of retries. Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration.
870
+ */
871
+ maxDeliveries?: number | undefined;
872
+ /**
873
+ * Delay in seconds before retrying failed executions (OPTIONAL) Behavior when not specified depends on the server's default configuration.
874
+ */
875
+ retryAfterSeconds?: number | undefined;
876
+ /**
877
+ * Initial delay in seconds before first execution attempt (OPTIONAL) Must be 0 or greater. Use 0 for no initial delay. Behavior when not specified depends on the server's default configuration.
878
+ */
879
+ initialDelaySeconds?: number | undefined;
880
+ };
881
+
754
882
  export type CancelDeploymentFunctions = {
755
883
  architecture?: CancelDeploymentArchitecture | undefined;
756
884
  memory?: number | undefined;
@@ -758,6 +886,9 @@ export type CancelDeploymentFunctions = {
758
886
  runtime?: string | undefined;
759
887
  includeFiles?: string | undefined;
760
888
  excludeFiles?: string | undefined;
889
+ experimentalTriggers?:
890
+ | Array<CancelDeploymentExperimentalTriggers>
891
+ | undefined;
761
892
  };
762
893
 
763
894
  export const CancelDeploymentPlan = {
@@ -944,6 +1075,52 @@ export type CancelDeploymentRoutesMitigate = {
944
1075
  action: CancelDeploymentRoutesAction;
945
1076
  };
946
1077
 
1078
+ export const CancelDeploymentRoutesType = {
1079
+ RequestHeaders: "request.headers",
1080
+ RequestQuery: "request.query",
1081
+ ResponseHeaders: "response.headers",
1082
+ } as const;
1083
+ export type CancelDeploymentRoutesType = ClosedEnum<
1084
+ typeof CancelDeploymentRoutesType
1085
+ >;
1086
+
1087
+ export const RoutesOp = {
1088
+ Append: "append",
1089
+ Set: "set",
1090
+ Delete: "delete",
1091
+ } as const;
1092
+ export type RoutesOp = ClosedEnum<typeof RoutesOp>;
1093
+
1094
+ export type CancelDeploymentKeyEq = string | number;
1095
+
1096
+ export type CancelDeploymentKey2 = {
1097
+ eq?: string | number | undefined;
1098
+ neq?: string | undefined;
1099
+ inc?: Array<string> | undefined;
1100
+ ninc?: Array<string> | undefined;
1101
+ pre?: string | undefined;
1102
+ suf?: string | undefined;
1103
+ gt?: number | undefined;
1104
+ gte?: number | undefined;
1105
+ lt?: number | undefined;
1106
+ lte?: number | undefined;
1107
+ };
1108
+
1109
+ export type RoutesKey = CancelDeploymentKey2 | string;
1110
+
1111
+ export type CancelDeploymentRoutesTarget = {
1112
+ key: CancelDeploymentKey2 | string;
1113
+ };
1114
+
1115
+ export type RoutesArgs = string | Array<string>;
1116
+
1117
+ export type RoutesTransforms = {
1118
+ type: CancelDeploymentRoutesType;
1119
+ op: RoutesOp;
1120
+ target: CancelDeploymentRoutesTarget;
1121
+ args?: string | Array<string> | undefined;
1122
+ };
1123
+
947
1124
  export type RoutesLocale = {
948
1125
  redirect?: { [k: string]: string } | undefined;
949
1126
  cookie?: string | undefined;
@@ -965,6 +1142,7 @@ export type CancelDeploymentRoutes1 = {
965
1142
  | Array<CancelDeploymentMissing1 | CancelDeploymentMissing2>
966
1143
  | undefined;
967
1144
  mitigate?: CancelDeploymentRoutesMitigate | undefined;
1145
+ transforms?: Array<RoutesTransforms> | undefined;
968
1146
  locale?: RoutesLocale | undefined;
969
1147
  /**
970
1148
  * A middleware key within the `output` key under the build result. Overrides a `middleware` definition.
@@ -1134,6 +1312,10 @@ export type CancelDeploymentMicrofrontends2 = {
1134
1312
  * The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together.
1135
1313
  */
1136
1314
  groupIds: Array<string>;
1315
+ /**
1316
+ * Whether the MicrofrontendsAlias2 team flag should be considered enabled for this deployment or not.
1317
+ */
1318
+ microfrontendsAlias2Enabled?: boolean | undefined;
1137
1319
  };
1138
1320
 
1139
1321
  export type CancelDeploymentMicrofrontends1 = {
@@ -1153,6 +1335,10 @@ export type CancelDeploymentMicrofrontends1 = {
1153
1335
  * The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together.
1154
1336
  */
1155
1337
  groupIds: Array<string>;
1338
+ /**
1339
+ * Whether the MicrofrontendsAlias2 team flag should be considered enabled for this deployment or not.
1340
+ */
1341
+ microfrontendsAlias2Enabled?: boolean | undefined;
1156
1342
  };
1157
1343
 
1158
1344
  export type CancelDeploymentMicrofrontends =
@@ -1282,22 +1468,29 @@ export type CancelDeploymentResponseBody = {
1282
1468
  */
1283
1469
  passiveRegions?: Array<string> | undefined;
1284
1470
  gitSource?:
1285
- | GitSource10
1286
1471
  | GitSource12
1472
+ | GitSource15
1287
1473
  | CancelDeploymentGitSource4
1288
- | GitSource8
1289
- | GitSource9
1474
+ | GitSource10
1290
1475
  | GitSource11
1476
+ | GitSource13
1477
+ | GitSource14
1291
1478
  | CancelDeploymentGitSource2
1292
1479
  | CancelDeploymentGitSource3
1293
- | GitSource7
1480
+ | GitSource6
1481
+ | GitSource9
1294
1482
  | CancelDeploymentGitSource1
1295
1483
  | CancelDeploymentGitSource5
1296
- | GitSource6
1484
+ | GitSource7
1485
+ | GitSource8
1297
1486
  | undefined;
1298
1487
  name: string;
1299
1488
  meta: { [k: string]: string };
1300
1489
  originCacheRegion?: string | undefined;
1490
+ /**
1491
+ * If set it overrides the `projectSettings.nodeVersion` for this deployment.
1492
+ */
1493
+ nodeVersion?: CancelDeploymentNodeVersion | undefined;
1301
1494
  project?: CancelDeploymentProject | undefined;
1302
1495
  readyState: CancelDeploymentReadyState;
1303
1496
  /**
@@ -3176,41 +3369,41 @@ export namespace CancelDeploymentChecksConclusion$ {
3176
3369
  }
3177
3370
 
3178
3371
  /** @internal */
3179
- export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$inboundSchema:
3372
+ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$inboundSchema:
3180
3373
  z.ZodNativeEnum<
3181
- typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type
3374
+ typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type
3182
3375
  > = z.nativeEnum(
3183
- CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type,
3376
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type,
3184
3377
  );
3185
3378
 
3186
3379
  /** @internal */
3187
- export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$outboundSchema:
3380
+ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$outboundSchema:
3188
3381
  z.ZodNativeEnum<
3189
- typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type
3382
+ typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type
3190
3383
  > =
3191
- CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$inboundSchema;
3384
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$inboundSchema;
3192
3385
 
3193
3386
  /**
3194
3387
  * @internal
3195
3388
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3196
3389
  */
3197
- export namespace CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$ {
3198
- /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$inboundSchema` instead. */
3390
+ export namespace CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$ {
3391
+ /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$inboundSchema` instead. */
3199
3392
  export const inboundSchema =
3200
- CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$inboundSchema;
3201
- /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$outboundSchema` instead. */
3393
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$inboundSchema;
3394
+ /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$outboundSchema` instead. */
3202
3395
  export const outboundSchema =
3203
- CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$outboundSchema;
3396
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$outboundSchema;
3204
3397
  }
3205
3398
 
3206
3399
  /** @internal */
3207
- export const GitSource12$inboundSchema: z.ZodType<
3208
- GitSource12,
3400
+ export const GitSource15$inboundSchema: z.ZodType<
3401
+ GitSource15,
3209
3402
  z.ZodTypeDef,
3210
3403
  unknown
3211
3404
  > = z.object({
3212
3405
  type:
3213
- CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$inboundSchema,
3406
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$inboundSchema,
3214
3407
  ref: z.string(),
3215
3408
  sha: z.string(),
3216
3409
  owner: z.string().optional(),
@@ -3220,7 +3413,7 @@ export const GitSource12$inboundSchema: z.ZodType<
3220
3413
  });
3221
3414
 
3222
3415
  /** @internal */
3223
- export type GitSource12$Outbound = {
3416
+ export type GitSource15$Outbound = {
3224
3417
  type: string;
3225
3418
  ref: string;
3226
3419
  sha: string;
@@ -3231,13 +3424,13 @@ export type GitSource12$Outbound = {
3231
3424
  };
3232
3425
 
3233
3426
  /** @internal */
3234
- export const GitSource12$outboundSchema: z.ZodType<
3235
- GitSource12$Outbound,
3427
+ export const GitSource15$outboundSchema: z.ZodType<
3428
+ GitSource15$Outbound,
3236
3429
  z.ZodTypeDef,
3237
- GitSource12
3430
+ GitSource15
3238
3431
  > = z.object({
3239
3432
  type:
3240
- CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$outboundSchema,
3433
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$outboundSchema,
3241
3434
  ref: z.string(),
3242
3435
  sha: z.string(),
3243
3436
  owner: z.string().optional(),
@@ -3250,72 +3443,72 @@ export const GitSource12$outboundSchema: z.ZodType<
3250
3443
  * @internal
3251
3444
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3252
3445
  */
3253
- export namespace GitSource12$ {
3254
- /** @deprecated use `GitSource12$inboundSchema` instead. */
3255
- export const inboundSchema = GitSource12$inboundSchema;
3256
- /** @deprecated use `GitSource12$outboundSchema` instead. */
3257
- export const outboundSchema = GitSource12$outboundSchema;
3258
- /** @deprecated use `GitSource12$Outbound` instead. */
3259
- export type Outbound = GitSource12$Outbound;
3446
+ export namespace GitSource15$ {
3447
+ /** @deprecated use `GitSource15$inboundSchema` instead. */
3448
+ export const inboundSchema = GitSource15$inboundSchema;
3449
+ /** @deprecated use `GitSource15$outboundSchema` instead. */
3450
+ export const outboundSchema = GitSource15$outboundSchema;
3451
+ /** @deprecated use `GitSource15$Outbound` instead. */
3452
+ export type Outbound = GitSource15$Outbound;
3260
3453
  }
3261
3454
 
3262
- export function gitSource12ToJSON(gitSource12: GitSource12): string {
3263
- return JSON.stringify(GitSource12$outboundSchema.parse(gitSource12));
3455
+ export function gitSource15ToJSON(gitSource15: GitSource15): string {
3456
+ return JSON.stringify(GitSource15$outboundSchema.parse(gitSource15));
3264
3457
  }
3265
3458
 
3266
- export function gitSource12FromJSON(
3459
+ export function gitSource15FromJSON(
3267
3460
  jsonString: string,
3268
- ): SafeParseResult<GitSource12, SDKValidationError> {
3461
+ ): SafeParseResult<GitSource15, SDKValidationError> {
3269
3462
  return safeParse(
3270
3463
  jsonString,
3271
- (x) => GitSource12$inboundSchema.parse(JSON.parse(x)),
3272
- `Failed to parse 'GitSource12' from JSON`,
3464
+ (x) => GitSource15$inboundSchema.parse(JSON.parse(x)),
3465
+ `Failed to parse 'GitSource15' from JSON`,
3273
3466
  );
3274
3467
  }
3275
3468
 
3276
3469
  /** @internal */
3277
- export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$inboundSchema:
3470
+ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$inboundSchema:
3278
3471
  z.ZodNativeEnum<
3279
- typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type
3472
+ typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type
3280
3473
  > = z.nativeEnum(
3281
- CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type,
3474
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type,
3282
3475
  );
3283
3476
 
3284
3477
  /** @internal */
3285
- export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$outboundSchema:
3478
+ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$outboundSchema:
3286
3479
  z.ZodNativeEnum<
3287
- typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type
3480
+ typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type
3288
3481
  > =
3289
- CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$inboundSchema;
3482
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$inboundSchema;
3290
3483
 
3291
3484
  /**
3292
3485
  * @internal
3293
3486
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3294
3487
  */
3295
- export namespace CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$ {
3296
- /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$inboundSchema` instead. */
3488
+ export namespace CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$ {
3489
+ /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$inboundSchema` instead. */
3297
3490
  export const inboundSchema =
3298
- CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$inboundSchema;
3299
- /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$outboundSchema` instead. */
3491
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$inboundSchema;
3492
+ /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$outboundSchema` instead. */
3300
3493
  export const outboundSchema =
3301
- CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$outboundSchema;
3494
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$outboundSchema;
3302
3495
  }
3303
3496
 
3304
3497
  /** @internal */
3305
- export const GitSource11$inboundSchema: z.ZodType<
3306
- GitSource11,
3498
+ export const GitSource14$inboundSchema: z.ZodType<
3499
+ GitSource14,
3307
3500
  z.ZodTypeDef,
3308
3501
  unknown
3309
3502
  > = z.object({
3310
3503
  type:
3311
- CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$inboundSchema,
3504
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$inboundSchema,
3312
3505
  ref: z.string(),
3313
3506
  sha: z.string(),
3314
3507
  projectId: z.number(),
3315
3508
  });
3316
3509
 
3317
3510
  /** @internal */
3318
- export type GitSource11$Outbound = {
3511
+ export type GitSource14$Outbound = {
3319
3512
  type: string;
3320
3513
  ref: string;
3321
3514
  sha: string;
@@ -3323,13 +3516,13 @@ export type GitSource11$Outbound = {
3323
3516
  };
3324
3517
 
3325
3518
  /** @internal */
3326
- export const GitSource11$outboundSchema: z.ZodType<
3327
- GitSource11$Outbound,
3519
+ export const GitSource14$outboundSchema: z.ZodType<
3520
+ GitSource14$Outbound,
3328
3521
  z.ZodTypeDef,
3329
- GitSource11
3522
+ GitSource14
3330
3523
  > = z.object({
3331
3524
  type:
3332
- CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$outboundSchema,
3525
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$outboundSchema,
3333
3526
  ref: z.string(),
3334
3527
  sha: z.string(),
3335
3528
  projectId: z.number(),
@@ -3339,33 +3532,321 @@ export const GitSource11$outboundSchema: z.ZodType<
3339
3532
  * @internal
3340
3533
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3341
3534
  */
3342
- export namespace GitSource11$ {
3343
- /** @deprecated use `GitSource11$inboundSchema` instead. */
3344
- export const inboundSchema = GitSource11$inboundSchema;
3345
- /** @deprecated use `GitSource11$outboundSchema` instead. */
3346
- export const outboundSchema = GitSource11$outboundSchema;
3347
- /** @deprecated use `GitSource11$Outbound` instead. */
3348
- export type Outbound = GitSource11$Outbound;
3535
+ export namespace GitSource14$ {
3536
+ /** @deprecated use `GitSource14$inboundSchema` instead. */
3537
+ export const inboundSchema = GitSource14$inboundSchema;
3538
+ /** @deprecated use `GitSource14$outboundSchema` instead. */
3539
+ export const outboundSchema = GitSource14$outboundSchema;
3540
+ /** @deprecated use `GitSource14$Outbound` instead. */
3541
+ export type Outbound = GitSource14$Outbound;
3349
3542
  }
3350
3543
 
3351
- export function gitSource11ToJSON(gitSource11: GitSource11): string {
3352
- return JSON.stringify(GitSource11$outboundSchema.parse(gitSource11));
3544
+ export function gitSource14ToJSON(gitSource14: GitSource14): string {
3545
+ return JSON.stringify(GitSource14$outboundSchema.parse(gitSource14));
3353
3546
  }
3354
3547
 
3355
- export function gitSource11FromJSON(
3548
+ export function gitSource14FromJSON(
3356
3549
  jsonString: string,
3357
- ): SafeParseResult<GitSource11, SDKValidationError> {
3550
+ ): SafeParseResult<GitSource14, SDKValidationError> {
3358
3551
  return safeParse(
3359
3552
  jsonString,
3360
- (x) => GitSource11$inboundSchema.parse(JSON.parse(x)),
3361
- `Failed to parse 'GitSource11' from JSON`,
3553
+ (x) => GitSource14$inboundSchema.parse(JSON.parse(x)),
3554
+ `Failed to parse 'GitSource14' from JSON`,
3362
3555
  );
3363
3556
  }
3364
3557
 
3365
3558
  /** @internal */
3366
- export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type$inboundSchema:
3559
+ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type$inboundSchema:
3367
3560
  z.ZodNativeEnum<
3368
- typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type
3561
+ typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type
3562
+ > = z.nativeEnum(
3563
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type,
3564
+ );
3565
+
3566
+ /** @internal */
3567
+ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type$outboundSchema:
3568
+ z.ZodNativeEnum<
3569
+ typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type
3570
+ > =
3571
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type$inboundSchema;
3572
+
3573
+ /**
3574
+ * @internal
3575
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3576
+ */
3577
+ export namespace CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type$ {
3578
+ /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type$inboundSchema` instead. */
3579
+ export const inboundSchema =
3580
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type$inboundSchema;
3581
+ /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type$outboundSchema` instead. */
3582
+ export const outboundSchema =
3583
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type$outboundSchema;
3584
+ }
3585
+
3586
+ /** @internal */
3587
+ export const GitSource13$inboundSchema: z.ZodType<
3588
+ GitSource13,
3589
+ z.ZodTypeDef,
3590
+ unknown
3591
+ > = z.object({
3592
+ type:
3593
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type$inboundSchema,
3594
+ ref: z.string(),
3595
+ sha: z.string(),
3596
+ repoId: z.number(),
3597
+ org: z.string().optional(),
3598
+ repo: z.string().optional(),
3599
+ });
3600
+
3601
+ /** @internal */
3602
+ export type GitSource13$Outbound = {
3603
+ type: string;
3604
+ ref: string;
3605
+ sha: string;
3606
+ repoId: number;
3607
+ org?: string | undefined;
3608
+ repo?: string | undefined;
3609
+ };
3610
+
3611
+ /** @internal */
3612
+ export const GitSource13$outboundSchema: z.ZodType<
3613
+ GitSource13$Outbound,
3614
+ z.ZodTypeDef,
3615
+ GitSource13
3616
+ > = z.object({
3617
+ type:
3618
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type$outboundSchema,
3619
+ ref: z.string(),
3620
+ sha: z.string(),
3621
+ repoId: z.number(),
3622
+ org: z.string().optional(),
3623
+ repo: z.string().optional(),
3624
+ });
3625
+
3626
+ /**
3627
+ * @internal
3628
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3629
+ */
3630
+ export namespace GitSource13$ {
3631
+ /** @deprecated use `GitSource13$inboundSchema` instead. */
3632
+ export const inboundSchema = GitSource13$inboundSchema;
3633
+ /** @deprecated use `GitSource13$outboundSchema` instead. */
3634
+ export const outboundSchema = GitSource13$outboundSchema;
3635
+ /** @deprecated use `GitSource13$Outbound` instead. */
3636
+ export type Outbound = GitSource13$Outbound;
3637
+ }
3638
+
3639
+ export function gitSource13ToJSON(gitSource13: GitSource13): string {
3640
+ return JSON.stringify(GitSource13$outboundSchema.parse(gitSource13));
3641
+ }
3642
+
3643
+ export function gitSource13FromJSON(
3644
+ jsonString: string,
3645
+ ): SafeParseResult<GitSource13, SDKValidationError> {
3646
+ return safeParse(
3647
+ jsonString,
3648
+ (x) => GitSource13$inboundSchema.parse(JSON.parse(x)),
3649
+ `Failed to parse 'GitSource13' from JSON`,
3650
+ );
3651
+ }
3652
+
3653
+ /** @internal */
3654
+ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$inboundSchema:
3655
+ z.ZodNativeEnum<
3656
+ typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type
3657
+ > = z.nativeEnum(
3658
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type,
3659
+ );
3660
+
3661
+ /** @internal */
3662
+ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$outboundSchema:
3663
+ z.ZodNativeEnum<
3664
+ typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type
3665
+ > =
3666
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$inboundSchema;
3667
+
3668
+ /**
3669
+ * @internal
3670
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3671
+ */
3672
+ export namespace CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$ {
3673
+ /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$inboundSchema` instead. */
3674
+ export const inboundSchema =
3675
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$inboundSchema;
3676
+ /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$outboundSchema` instead. */
3677
+ export const outboundSchema =
3678
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$outboundSchema;
3679
+ }
3680
+
3681
+ /** @internal */
3682
+ export const GitSource12$inboundSchema: z.ZodType<
3683
+ GitSource12,
3684
+ z.ZodTypeDef,
3685
+ unknown
3686
+ > = z.object({
3687
+ type:
3688
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$inboundSchema,
3689
+ host: z.string(),
3690
+ ref: z.string(),
3691
+ sha: z.string(),
3692
+ repoId: z.number(),
3693
+ org: z.string().optional(),
3694
+ repo: z.string().optional(),
3695
+ });
3696
+
3697
+ /** @internal */
3698
+ export type GitSource12$Outbound = {
3699
+ type: string;
3700
+ host: string;
3701
+ ref: string;
3702
+ sha: string;
3703
+ repoId: number;
3704
+ org?: string | undefined;
3705
+ repo?: string | undefined;
3706
+ };
3707
+
3708
+ /** @internal */
3709
+ export const GitSource12$outboundSchema: z.ZodType<
3710
+ GitSource12$Outbound,
3711
+ z.ZodTypeDef,
3712
+ GitSource12
3713
+ > = z.object({
3714
+ type:
3715
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$outboundSchema,
3716
+ host: z.string(),
3717
+ ref: z.string(),
3718
+ sha: z.string(),
3719
+ repoId: z.number(),
3720
+ org: z.string().optional(),
3721
+ repo: z.string().optional(),
3722
+ });
3723
+
3724
+ /**
3725
+ * @internal
3726
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3727
+ */
3728
+ export namespace GitSource12$ {
3729
+ /** @deprecated use `GitSource12$inboundSchema` instead. */
3730
+ export const inboundSchema = GitSource12$inboundSchema;
3731
+ /** @deprecated use `GitSource12$outboundSchema` instead. */
3732
+ export const outboundSchema = GitSource12$outboundSchema;
3733
+ /** @deprecated use `GitSource12$Outbound` instead. */
3734
+ export type Outbound = GitSource12$Outbound;
3735
+ }
3736
+
3737
+ export function gitSource12ToJSON(gitSource12: GitSource12): string {
3738
+ return JSON.stringify(GitSource12$outboundSchema.parse(gitSource12));
3739
+ }
3740
+
3741
+ export function gitSource12FromJSON(
3742
+ jsonString: string,
3743
+ ): SafeParseResult<GitSource12, SDKValidationError> {
3744
+ return safeParse(
3745
+ jsonString,
3746
+ (x) => GitSource12$inboundSchema.parse(JSON.parse(x)),
3747
+ `Failed to parse 'GitSource12' from JSON`,
3748
+ );
3749
+ }
3750
+
3751
+ /** @internal */
3752
+ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$inboundSchema:
3753
+ z.ZodNativeEnum<
3754
+ typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type
3755
+ > = z.nativeEnum(
3756
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type,
3757
+ );
3758
+
3759
+ /** @internal */
3760
+ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$outboundSchema:
3761
+ z.ZodNativeEnum<
3762
+ typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type
3763
+ > =
3764
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$inboundSchema;
3765
+
3766
+ /**
3767
+ * @internal
3768
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3769
+ */
3770
+ export namespace CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$ {
3771
+ /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$inboundSchema` instead. */
3772
+ export const inboundSchema =
3773
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$inboundSchema;
3774
+ /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$outboundSchema` instead. */
3775
+ export const outboundSchema =
3776
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$outboundSchema;
3777
+ }
3778
+
3779
+ /** @internal */
3780
+ export const GitSource11$inboundSchema: z.ZodType<
3781
+ GitSource11,
3782
+ z.ZodTypeDef,
3783
+ unknown
3784
+ > = z.object({
3785
+ type:
3786
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$inboundSchema,
3787
+ ref: z.string(),
3788
+ sha: z.string(),
3789
+ repoId: z.number(),
3790
+ org: z.string().optional(),
3791
+ repo: z.string().optional(),
3792
+ });
3793
+
3794
+ /** @internal */
3795
+ export type GitSource11$Outbound = {
3796
+ type: string;
3797
+ ref: string;
3798
+ sha: string;
3799
+ repoId: number;
3800
+ org?: string | undefined;
3801
+ repo?: string | undefined;
3802
+ };
3803
+
3804
+ /** @internal */
3805
+ export const GitSource11$outboundSchema: z.ZodType<
3806
+ GitSource11$Outbound,
3807
+ z.ZodTypeDef,
3808
+ GitSource11
3809
+ > = z.object({
3810
+ type:
3811
+ CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$outboundSchema,
3812
+ ref: z.string(),
3813
+ sha: z.string(),
3814
+ repoId: z.number(),
3815
+ org: z.string().optional(),
3816
+ repo: z.string().optional(),
3817
+ });
3818
+
3819
+ /**
3820
+ * @internal
3821
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3822
+ */
3823
+ export namespace GitSource11$ {
3824
+ /** @deprecated use `GitSource11$inboundSchema` instead. */
3825
+ export const inboundSchema = GitSource11$inboundSchema;
3826
+ /** @deprecated use `GitSource11$outboundSchema` instead. */
3827
+ export const outboundSchema = GitSource11$outboundSchema;
3828
+ /** @deprecated use `GitSource11$Outbound` instead. */
3829
+ export type Outbound = GitSource11$Outbound;
3830
+ }
3831
+
3832
+ export function gitSource11ToJSON(gitSource11: GitSource11): string {
3833
+ return JSON.stringify(GitSource11$outboundSchema.parse(gitSource11));
3834
+ }
3835
+
3836
+ export function gitSource11FromJSON(
3837
+ jsonString: string,
3838
+ ): SafeParseResult<GitSource11, SDKValidationError> {
3839
+ return safeParse(
3840
+ jsonString,
3841
+ (x) => GitSource11$inboundSchema.parse(JSON.parse(x)),
3842
+ `Failed to parse 'GitSource11' from JSON`,
3843
+ );
3844
+ }
3845
+
3846
+ /** @internal */
3847
+ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type$inboundSchema:
3848
+ z.ZodNativeEnum<
3849
+ typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type
3369
3850
  > = z.nativeEnum(
3370
3851
  CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type,
3371
3852
  );
@@ -3398,23 +3879,17 @@ export const GitSource10$inboundSchema: z.ZodType<
3398
3879
  > = z.object({
3399
3880
  type:
3400
3881
  CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type$inboundSchema,
3401
- host: z.string(),
3402
3882
  ref: z.string(),
3403
3883
  sha: z.string(),
3404
- repoId: z.number(),
3405
- org: z.string().optional(),
3406
- repo: z.string().optional(),
3884
+ gitUrl: z.string(),
3407
3885
  });
3408
3886
 
3409
3887
  /** @internal */
3410
3888
  export type GitSource10$Outbound = {
3411
3889
  type: string;
3412
- host: string;
3413
3890
  ref: string;
3414
3891
  sha: string;
3415
- repoId: number;
3416
- org?: string | undefined;
3417
- repo?: string | undefined;
3892
+ gitUrl: string;
3418
3893
  };
3419
3894
 
3420
3895
  /** @internal */
@@ -3425,12 +3900,9 @@ export const GitSource10$outboundSchema: z.ZodType<
3425
3900
  > = z.object({
3426
3901
  type:
3427
3902
  CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type$outboundSchema,
3428
- host: z.string(),
3429
- ref: z.string(),
3430
- sha: z.string(),
3431
- repoId: z.number(),
3432
- org: z.string().optional(),
3433
- repo: z.string().optional(),
3903
+ ref: z.string(),
3904
+ sha: z.string(),
3905
+ gitUrl: z.string(),
3434
3906
  });
3435
3907
 
3436
3908
  /**
@@ -3496,21 +3968,21 @@ export const GitSource9$inboundSchema: z.ZodType<
3496
3968
  > = z.object({
3497
3969
  type:
3498
3970
  CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$inboundSchema,
3499
- ref: z.string(),
3500
- sha: z.string(),
3501
- repoId: z.number(),
3502
- org: z.string().optional(),
3503
- repo: z.string().optional(),
3971
+ owner: z.string(),
3972
+ slug: z.string(),
3973
+ ref: z.nullable(z.string()).optional(),
3974
+ sha: z.string().optional(),
3975
+ prId: z.nullable(z.number()).optional(),
3504
3976
  });
3505
3977
 
3506
3978
  /** @internal */
3507
3979
  export type GitSource9$Outbound = {
3508
3980
  type: string;
3509
- ref: string;
3510
- sha: string;
3511
- repoId: number;
3512
- org?: string | undefined;
3513
- repo?: string | undefined;
3981
+ owner: string;
3982
+ slug: string;
3983
+ ref?: string | null | undefined;
3984
+ sha?: string | undefined;
3985
+ prId?: number | null | undefined;
3514
3986
  };
3515
3987
 
3516
3988
  /** @internal */
@@ -3521,11 +3993,11 @@ export const GitSource9$outboundSchema: z.ZodType<
3521
3993
  > = z.object({
3522
3994
  type:
3523
3995
  CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$outboundSchema,
3524
- ref: z.string(),
3525
- sha: z.string(),
3526
- repoId: z.number(),
3527
- org: z.string().optional(),
3528
- repo: z.string().optional(),
3996
+ owner: z.string(),
3997
+ slug: z.string(),
3998
+ ref: z.nullable(z.string()).optional(),
3999
+ sha: z.string().optional(),
4000
+ prId: z.nullable(z.number()).optional(),
3529
4001
  });
3530
4002
 
3531
4003
  /**
@@ -3591,17 +4063,21 @@ export const GitSource8$inboundSchema: z.ZodType<
3591
4063
  > = z.object({
3592
4064
  type:
3593
4065
  CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$inboundSchema,
3594
- ref: z.string(),
3595
- sha: z.string(),
3596
- gitUrl: z.string(),
4066
+ workspaceUuid: z.string().optional(),
4067
+ repoUuid: z.string(),
4068
+ ref: z.nullable(z.string()).optional(),
4069
+ sha: z.string().optional(),
4070
+ prId: z.nullable(z.number()).optional(),
3597
4071
  });
3598
4072
 
3599
4073
  /** @internal */
3600
4074
  export type GitSource8$Outbound = {
3601
4075
  type: string;
3602
- ref: string;
3603
- sha: string;
3604
- gitUrl: string;
4076
+ workspaceUuid?: string | undefined;
4077
+ repoUuid: string;
4078
+ ref?: string | null | undefined;
4079
+ sha?: string | undefined;
4080
+ prId?: number | null | undefined;
3605
4081
  };
3606
4082
 
3607
4083
  /** @internal */
@@ -3612,9 +4088,11 @@ export const GitSource8$outboundSchema: z.ZodType<
3612
4088
  > = z.object({
3613
4089
  type:
3614
4090
  CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$outboundSchema,
3615
- ref: z.string(),
3616
- sha: z.string(),
3617
- gitUrl: z.string(),
4091
+ workspaceUuid: z.string().optional(),
4092
+ repoUuid: z.string(),
4093
+ ref: z.nullable(z.string()).optional(),
4094
+ sha: z.string().optional(),
4095
+ prId: z.nullable(z.number()).optional(),
3618
4096
  });
3619
4097
 
3620
4098
  /**
@@ -3672,6 +4150,58 @@ export namespace CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONR
3672
4150
  CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$outboundSchema;
3673
4151
  }
3674
4152
 
4153
+ /** @internal */
4154
+ export const CancelDeploymentGitSourceProjectId$inboundSchema: z.ZodType<
4155
+ CancelDeploymentGitSourceProjectId,
4156
+ z.ZodTypeDef,
4157
+ unknown
4158
+ > = z.union([z.string(), z.number()]);
4159
+
4160
+ /** @internal */
4161
+ export type CancelDeploymentGitSourceProjectId$Outbound = string | number;
4162
+
4163
+ /** @internal */
4164
+ export const CancelDeploymentGitSourceProjectId$outboundSchema: z.ZodType<
4165
+ CancelDeploymentGitSourceProjectId$Outbound,
4166
+ z.ZodTypeDef,
4167
+ CancelDeploymentGitSourceProjectId
4168
+ > = z.union([z.string(), z.number()]);
4169
+
4170
+ /**
4171
+ * @internal
4172
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4173
+ */
4174
+ export namespace CancelDeploymentGitSourceProjectId$ {
4175
+ /** @deprecated use `CancelDeploymentGitSourceProjectId$inboundSchema` instead. */
4176
+ export const inboundSchema = CancelDeploymentGitSourceProjectId$inboundSchema;
4177
+ /** @deprecated use `CancelDeploymentGitSourceProjectId$outboundSchema` instead. */
4178
+ export const outboundSchema =
4179
+ CancelDeploymentGitSourceProjectId$outboundSchema;
4180
+ /** @deprecated use `CancelDeploymentGitSourceProjectId$Outbound` instead. */
4181
+ export type Outbound = CancelDeploymentGitSourceProjectId$Outbound;
4182
+ }
4183
+
4184
+ export function cancelDeploymentGitSourceProjectIdToJSON(
4185
+ cancelDeploymentGitSourceProjectId: CancelDeploymentGitSourceProjectId,
4186
+ ): string {
4187
+ return JSON.stringify(
4188
+ CancelDeploymentGitSourceProjectId$outboundSchema.parse(
4189
+ cancelDeploymentGitSourceProjectId,
4190
+ ),
4191
+ );
4192
+ }
4193
+
4194
+ export function cancelDeploymentGitSourceProjectIdFromJSON(
4195
+ jsonString: string,
4196
+ ): SafeParseResult<CancelDeploymentGitSourceProjectId, SDKValidationError> {
4197
+ return safeParse(
4198
+ jsonString,
4199
+ (x) =>
4200
+ CancelDeploymentGitSourceProjectId$inboundSchema.parse(JSON.parse(x)),
4201
+ `Failed to parse 'CancelDeploymentGitSourceProjectId' from JSON`,
4202
+ );
4203
+ }
4204
+
3675
4205
  /** @internal */
3676
4206
  export const GitSource7$inboundSchema: z.ZodType<
3677
4207
  GitSource7,
@@ -3680,8 +4210,7 @@ export const GitSource7$inboundSchema: z.ZodType<
3680
4210
  > = z.object({
3681
4211
  type:
3682
4212
  CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$inboundSchema,
3683
- owner: z.string(),
3684
- slug: z.string(),
4213
+ projectId: z.union([z.string(), z.number()]),
3685
4214
  ref: z.nullable(z.string()).optional(),
3686
4215
  sha: z.string().optional(),
3687
4216
  prId: z.nullable(z.number()).optional(),
@@ -3690,8 +4219,7 @@ export const GitSource7$inboundSchema: z.ZodType<
3690
4219
  /** @internal */
3691
4220
  export type GitSource7$Outbound = {
3692
4221
  type: string;
3693
- owner: string;
3694
- slug: string;
4222
+ projectId: string | number;
3695
4223
  ref?: string | null | undefined;
3696
4224
  sha?: string | undefined;
3697
4225
  prId?: number | null | undefined;
@@ -3705,8 +4233,7 @@ export const GitSource7$outboundSchema: z.ZodType<
3705
4233
  > = z.object({
3706
4234
  type:
3707
4235
  CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$outboundSchema,
3708
- owner: z.string(),
3709
- slug: z.string(),
4236
+ projectId: z.union([z.string(), z.number()]),
3710
4237
  ref: z.nullable(z.string()).optional(),
3711
4238
  sha: z.string().optional(),
3712
4239
  prId: z.nullable(z.number()).optional(),
@@ -3775,8 +4302,8 @@ export const GitSource6$inboundSchema: z.ZodType<
3775
4302
  > = z.object({
3776
4303
  type:
3777
4304
  CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema,
3778
- workspaceUuid: z.string().optional(),
3779
- repoUuid: z.string(),
4305
+ org: z.string(),
4306
+ repo: z.string(),
3780
4307
  ref: z.nullable(z.string()).optional(),
3781
4308
  sha: z.string().optional(),
3782
4309
  prId: z.nullable(z.number()).optional(),
@@ -3785,8 +4312,8 @@ export const GitSource6$inboundSchema: z.ZodType<
3785
4312
  /** @internal */
3786
4313
  export type GitSource6$Outbound = {
3787
4314
  type: string;
3788
- workspaceUuid?: string | undefined;
3789
- repoUuid: string;
4315
+ org: string;
4316
+ repo: string;
3790
4317
  ref?: string | null | undefined;
3791
4318
  sha?: string | undefined;
3792
4319
  prId?: number | null | undefined;
@@ -3800,8 +4327,8 @@ export const GitSource6$outboundSchema: z.ZodType<
3800
4327
  > = z.object({
3801
4328
  type:
3802
4329
  CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$outboundSchema,
3803
- workspaceUuid: z.string().optional(),
3804
- repoUuid: z.string(),
4330
+ org: z.string(),
4331
+ repo: z.string(),
3805
4332
  ref: z.nullable(z.string()).optional(),
3806
4333
  sha: z.string().optional(),
3807
4334
  prId: z.nullable(z.number()).optional(),
@@ -3863,54 +4390,66 @@ export namespace CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONT
3863
4390
  }
3864
4391
 
3865
4392
  /** @internal */
3866
- export const CancelDeploymentGitSourceProjectId$inboundSchema: z.ZodType<
3867
- CancelDeploymentGitSourceProjectId,
3868
- z.ZodTypeDef,
3869
- unknown
3870
- > = z.union([z.string(), z.number()]);
4393
+ export const CancelDeploymentGitSourceDeploymentsResponseRepoId$inboundSchema:
4394
+ z.ZodType<
4395
+ CancelDeploymentGitSourceDeploymentsResponseRepoId,
4396
+ z.ZodTypeDef,
4397
+ unknown
4398
+ > = z.union([z.string(), z.number()]);
3871
4399
 
3872
4400
  /** @internal */
3873
- export type CancelDeploymentGitSourceProjectId$Outbound = string | number;
4401
+ export type CancelDeploymentGitSourceDeploymentsResponseRepoId$Outbound =
4402
+ | string
4403
+ | number;
3874
4404
 
3875
4405
  /** @internal */
3876
- export const CancelDeploymentGitSourceProjectId$outboundSchema: z.ZodType<
3877
- CancelDeploymentGitSourceProjectId$Outbound,
3878
- z.ZodTypeDef,
3879
- CancelDeploymentGitSourceProjectId
3880
- > = z.union([z.string(), z.number()]);
4406
+ export const CancelDeploymentGitSourceDeploymentsResponseRepoId$outboundSchema:
4407
+ z.ZodType<
4408
+ CancelDeploymentGitSourceDeploymentsResponseRepoId$Outbound,
4409
+ z.ZodTypeDef,
4410
+ CancelDeploymentGitSourceDeploymentsResponseRepoId
4411
+ > = z.union([z.string(), z.number()]);
3881
4412
 
3882
4413
  /**
3883
4414
  * @internal
3884
4415
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3885
4416
  */
3886
- export namespace CancelDeploymentGitSourceProjectId$ {
3887
- /** @deprecated use `CancelDeploymentGitSourceProjectId$inboundSchema` instead. */
3888
- export const inboundSchema = CancelDeploymentGitSourceProjectId$inboundSchema;
3889
- /** @deprecated use `CancelDeploymentGitSourceProjectId$outboundSchema` instead. */
4417
+ export namespace CancelDeploymentGitSourceDeploymentsResponseRepoId$ {
4418
+ /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponseRepoId$inboundSchema` instead. */
4419
+ export const inboundSchema =
4420
+ CancelDeploymentGitSourceDeploymentsResponseRepoId$inboundSchema;
4421
+ /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponseRepoId$outboundSchema` instead. */
3890
4422
  export const outboundSchema =
3891
- CancelDeploymentGitSourceProjectId$outboundSchema;
3892
- /** @deprecated use `CancelDeploymentGitSourceProjectId$Outbound` instead. */
3893
- export type Outbound = CancelDeploymentGitSourceProjectId$Outbound;
4423
+ CancelDeploymentGitSourceDeploymentsResponseRepoId$outboundSchema;
4424
+ /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponseRepoId$Outbound` instead. */
4425
+ export type Outbound =
4426
+ CancelDeploymentGitSourceDeploymentsResponseRepoId$Outbound;
3894
4427
  }
3895
4428
 
3896
- export function cancelDeploymentGitSourceProjectIdToJSON(
3897
- cancelDeploymentGitSourceProjectId: CancelDeploymentGitSourceProjectId,
4429
+ export function cancelDeploymentGitSourceDeploymentsResponseRepoIdToJSON(
4430
+ cancelDeploymentGitSourceDeploymentsResponseRepoId:
4431
+ CancelDeploymentGitSourceDeploymentsResponseRepoId,
3898
4432
  ): string {
3899
4433
  return JSON.stringify(
3900
- CancelDeploymentGitSourceProjectId$outboundSchema.parse(
3901
- cancelDeploymentGitSourceProjectId,
4434
+ CancelDeploymentGitSourceDeploymentsResponseRepoId$outboundSchema.parse(
4435
+ cancelDeploymentGitSourceDeploymentsResponseRepoId,
3902
4436
  ),
3903
4437
  );
3904
4438
  }
3905
4439
 
3906
- export function cancelDeploymentGitSourceProjectIdFromJSON(
4440
+ export function cancelDeploymentGitSourceDeploymentsResponseRepoIdFromJSON(
3907
4441
  jsonString: string,
3908
- ): SafeParseResult<CancelDeploymentGitSourceProjectId, SDKValidationError> {
4442
+ ): SafeParseResult<
4443
+ CancelDeploymentGitSourceDeploymentsResponseRepoId,
4444
+ SDKValidationError
4445
+ > {
3909
4446
  return safeParse(
3910
4447
  jsonString,
3911
4448
  (x) =>
3912
- CancelDeploymentGitSourceProjectId$inboundSchema.parse(JSON.parse(x)),
3913
- `Failed to parse 'CancelDeploymentGitSourceProjectId' from JSON`,
4449
+ CancelDeploymentGitSourceDeploymentsResponseRepoId$inboundSchema.parse(
4450
+ JSON.parse(x),
4451
+ ),
4452
+ `Failed to parse 'CancelDeploymentGitSourceDeploymentsResponseRepoId' from JSON`,
3914
4453
  );
3915
4454
  }
3916
4455
 
@@ -3922,7 +4461,7 @@ export const CancelDeploymentGitSource5$inboundSchema: z.ZodType<
3922
4461
  > = z.object({
3923
4462
  type:
3924
4463
  CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$inboundSchema,
3925
- projectId: z.union([z.string(), z.number()]),
4464
+ repoId: z.union([z.string(), z.number()]),
3926
4465
  ref: z.nullable(z.string()).optional(),
3927
4466
  sha: z.string().optional(),
3928
4467
  prId: z.nullable(z.number()).optional(),
@@ -3931,7 +4470,7 @@ export const CancelDeploymentGitSource5$inboundSchema: z.ZodType<
3931
4470
  /** @internal */
3932
4471
  export type CancelDeploymentGitSource5$Outbound = {
3933
4472
  type: string;
3934
- projectId: string | number;
4473
+ repoId: string | number;
3935
4474
  ref?: string | null | undefined;
3936
4475
  sha?: string | undefined;
3937
4476
  prId?: number | null | undefined;
@@ -3945,7 +4484,7 @@ export const CancelDeploymentGitSource5$outboundSchema: z.ZodType<
3945
4484
  > = z.object({
3946
4485
  type:
3947
4486
  CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$outboundSchema,
3948
- projectId: z.union([z.string(), z.number()]),
4487
+ repoId: z.union([z.string(), z.number()]),
3949
4488
  ref: z.nullable(z.string()).optional(),
3950
4489
  sha: z.string().optional(),
3951
4490
  prId: z.nullable(z.number()).optional(),
@@ -4464,34 +5003,40 @@ export const CancelDeploymentGitSource$inboundSchema: z.ZodType<
4464
5003
  z.ZodTypeDef,
4465
5004
  unknown
4466
5005
  > = z.union([
4467
- z.lazy(() => GitSource10$inboundSchema),
4468
5006
  z.lazy(() => GitSource12$inboundSchema),
5007
+ z.lazy(() => GitSource15$inboundSchema),
4469
5008
  z.lazy(() => CancelDeploymentGitSource4$inboundSchema),
4470
- z.lazy(() => GitSource8$inboundSchema),
4471
- z.lazy(() => GitSource9$inboundSchema),
5009
+ z.lazy(() => GitSource10$inboundSchema),
4472
5010
  z.lazy(() => GitSource11$inboundSchema),
5011
+ z.lazy(() => GitSource13$inboundSchema),
5012
+ z.lazy(() => GitSource14$inboundSchema),
4473
5013
  z.lazy(() => CancelDeploymentGitSource2$inboundSchema),
4474
5014
  z.lazy(() => CancelDeploymentGitSource3$inboundSchema),
4475
- z.lazy(() => GitSource7$inboundSchema),
5015
+ z.lazy(() => GitSource6$inboundSchema),
5016
+ z.lazy(() => GitSource9$inboundSchema),
4476
5017
  z.lazy(() => CancelDeploymentGitSource1$inboundSchema),
4477
5018
  z.lazy(() => CancelDeploymentGitSource5$inboundSchema),
4478
- z.lazy(() => GitSource6$inboundSchema),
5019
+ z.lazy(() => GitSource7$inboundSchema),
5020
+ z.lazy(() => GitSource8$inboundSchema),
4479
5021
  ]);
4480
5022
 
4481
5023
  /** @internal */
4482
5024
  export type CancelDeploymentGitSource$Outbound =
4483
- | GitSource10$Outbound
4484
5025
  | GitSource12$Outbound
5026
+ | GitSource15$Outbound
4485
5027
  | CancelDeploymentGitSource4$Outbound
4486
- | GitSource8$Outbound
4487
- | GitSource9$Outbound
5028
+ | GitSource10$Outbound
4488
5029
  | GitSource11$Outbound
5030
+ | GitSource13$Outbound
5031
+ | GitSource14$Outbound
4489
5032
  | CancelDeploymentGitSource2$Outbound
4490
5033
  | CancelDeploymentGitSource3$Outbound
4491
- | GitSource7$Outbound
5034
+ | GitSource6$Outbound
5035
+ | GitSource9$Outbound
4492
5036
  | CancelDeploymentGitSource1$Outbound
4493
5037
  | CancelDeploymentGitSource5$Outbound
4494
- | GitSource6$Outbound;
5038
+ | GitSource7$Outbound
5039
+ | GitSource8$Outbound;
4495
5040
 
4496
5041
  /** @internal */
4497
5042
  export const CancelDeploymentGitSource$outboundSchema: z.ZodType<
@@ -4499,18 +5044,21 @@ export const CancelDeploymentGitSource$outboundSchema: z.ZodType<
4499
5044
  z.ZodTypeDef,
4500
5045
  CancelDeploymentGitSource
4501
5046
  > = z.union([
4502
- z.lazy(() => GitSource10$outboundSchema),
4503
5047
  z.lazy(() => GitSource12$outboundSchema),
5048
+ z.lazy(() => GitSource15$outboundSchema),
4504
5049
  z.lazy(() => CancelDeploymentGitSource4$outboundSchema),
4505
- z.lazy(() => GitSource8$outboundSchema),
4506
- z.lazy(() => GitSource9$outboundSchema),
5050
+ z.lazy(() => GitSource10$outboundSchema),
4507
5051
  z.lazy(() => GitSource11$outboundSchema),
5052
+ z.lazy(() => GitSource13$outboundSchema),
5053
+ z.lazy(() => GitSource14$outboundSchema),
4508
5054
  z.lazy(() => CancelDeploymentGitSource2$outboundSchema),
4509
5055
  z.lazy(() => CancelDeploymentGitSource3$outboundSchema),
4510
- z.lazy(() => GitSource7$outboundSchema),
5056
+ z.lazy(() => GitSource6$outboundSchema),
5057
+ z.lazy(() => GitSource9$outboundSchema),
4511
5058
  z.lazy(() => CancelDeploymentGitSource1$outboundSchema),
4512
5059
  z.lazy(() => CancelDeploymentGitSource5$outboundSchema),
4513
- z.lazy(() => GitSource6$outboundSchema),
5060
+ z.lazy(() => GitSource7$outboundSchema),
5061
+ z.lazy(() => GitSource8$outboundSchema),
4514
5062
  ]);
4515
5063
 
4516
5064
  /**
@@ -4544,6 +5092,27 @@ export function cancelDeploymentGitSourceFromJSON(
4544
5092
  );
4545
5093
  }
4546
5094
 
5095
+ /** @internal */
5096
+ export const CancelDeploymentNodeVersion$inboundSchema: z.ZodNativeEnum<
5097
+ typeof CancelDeploymentNodeVersion
5098
+ > = z.nativeEnum(CancelDeploymentNodeVersion);
5099
+
5100
+ /** @internal */
5101
+ export const CancelDeploymentNodeVersion$outboundSchema: z.ZodNativeEnum<
5102
+ typeof CancelDeploymentNodeVersion
5103
+ > = CancelDeploymentNodeVersion$inboundSchema;
5104
+
5105
+ /**
5106
+ * @internal
5107
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5108
+ */
5109
+ export namespace CancelDeploymentNodeVersion$ {
5110
+ /** @deprecated use `CancelDeploymentNodeVersion$inboundSchema` instead. */
5111
+ export const inboundSchema = CancelDeploymentNodeVersion$inboundSchema;
5112
+ /** @deprecated use `CancelDeploymentNodeVersion$outboundSchema` instead. */
5113
+ export const outboundSchema = CancelDeploymentNodeVersion$outboundSchema;
5114
+ }
5115
+
4547
5116
  /** @internal */
4548
5117
  export const CancelDeploymentProject$inboundSchema: z.ZodType<
4549
5118
  CancelDeploymentProject,
@@ -4877,6 +5446,101 @@ export namespace CancelDeploymentArchitecture$ {
4877
5446
  export const outboundSchema = CancelDeploymentArchitecture$outboundSchema;
4878
5447
  }
4879
5448
 
5449
+ /** @internal */
5450
+ export const CancelDeploymentDeploymentsType$inboundSchema: z.ZodNativeEnum<
5451
+ typeof CancelDeploymentDeploymentsType
5452
+ > = z.nativeEnum(CancelDeploymentDeploymentsType);
5453
+
5454
+ /** @internal */
5455
+ export const CancelDeploymentDeploymentsType$outboundSchema: z.ZodNativeEnum<
5456
+ typeof CancelDeploymentDeploymentsType
5457
+ > = CancelDeploymentDeploymentsType$inboundSchema;
5458
+
5459
+ /**
5460
+ * @internal
5461
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5462
+ */
5463
+ export namespace CancelDeploymentDeploymentsType$ {
5464
+ /** @deprecated use `CancelDeploymentDeploymentsType$inboundSchema` instead. */
5465
+ export const inboundSchema = CancelDeploymentDeploymentsType$inboundSchema;
5466
+ /** @deprecated use `CancelDeploymentDeploymentsType$outboundSchema` instead. */
5467
+ export const outboundSchema = CancelDeploymentDeploymentsType$outboundSchema;
5468
+ }
5469
+
5470
+ /** @internal */
5471
+ export const CancelDeploymentExperimentalTriggers$inboundSchema: z.ZodType<
5472
+ CancelDeploymentExperimentalTriggers,
5473
+ z.ZodTypeDef,
5474
+ unknown
5475
+ > = z.object({
5476
+ type: CancelDeploymentDeploymentsType$inboundSchema,
5477
+ topic: z.string(),
5478
+ consumer: z.string(),
5479
+ maxDeliveries: z.number().optional(),
5480
+ retryAfterSeconds: z.number().optional(),
5481
+ initialDelaySeconds: z.number().optional(),
5482
+ });
5483
+
5484
+ /** @internal */
5485
+ export type CancelDeploymentExperimentalTriggers$Outbound = {
5486
+ type: string;
5487
+ topic: string;
5488
+ consumer: string;
5489
+ maxDeliveries?: number | undefined;
5490
+ retryAfterSeconds?: number | undefined;
5491
+ initialDelaySeconds?: number | undefined;
5492
+ };
5493
+
5494
+ /** @internal */
5495
+ export const CancelDeploymentExperimentalTriggers$outboundSchema: z.ZodType<
5496
+ CancelDeploymentExperimentalTriggers$Outbound,
5497
+ z.ZodTypeDef,
5498
+ CancelDeploymentExperimentalTriggers
5499
+ > = z.object({
5500
+ type: CancelDeploymentDeploymentsType$outboundSchema,
5501
+ topic: z.string(),
5502
+ consumer: z.string(),
5503
+ maxDeliveries: z.number().optional(),
5504
+ retryAfterSeconds: z.number().optional(),
5505
+ initialDelaySeconds: z.number().optional(),
5506
+ });
5507
+
5508
+ /**
5509
+ * @internal
5510
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5511
+ */
5512
+ export namespace CancelDeploymentExperimentalTriggers$ {
5513
+ /** @deprecated use `CancelDeploymentExperimentalTriggers$inboundSchema` instead. */
5514
+ export const inboundSchema =
5515
+ CancelDeploymentExperimentalTriggers$inboundSchema;
5516
+ /** @deprecated use `CancelDeploymentExperimentalTriggers$outboundSchema` instead. */
5517
+ export const outboundSchema =
5518
+ CancelDeploymentExperimentalTriggers$outboundSchema;
5519
+ /** @deprecated use `CancelDeploymentExperimentalTriggers$Outbound` instead. */
5520
+ export type Outbound = CancelDeploymentExperimentalTriggers$Outbound;
5521
+ }
5522
+
5523
+ export function cancelDeploymentExperimentalTriggersToJSON(
5524
+ cancelDeploymentExperimentalTriggers: CancelDeploymentExperimentalTriggers,
5525
+ ): string {
5526
+ return JSON.stringify(
5527
+ CancelDeploymentExperimentalTriggers$outboundSchema.parse(
5528
+ cancelDeploymentExperimentalTriggers,
5529
+ ),
5530
+ );
5531
+ }
5532
+
5533
+ export function cancelDeploymentExperimentalTriggersFromJSON(
5534
+ jsonString: string,
5535
+ ): SafeParseResult<CancelDeploymentExperimentalTriggers, SDKValidationError> {
5536
+ return safeParse(
5537
+ jsonString,
5538
+ (x) =>
5539
+ CancelDeploymentExperimentalTriggers$inboundSchema.parse(JSON.parse(x)),
5540
+ `Failed to parse 'CancelDeploymentExperimentalTriggers' from JSON`,
5541
+ );
5542
+ }
5543
+
4880
5544
  /** @internal */
4881
5545
  export const CancelDeploymentFunctions$inboundSchema: z.ZodType<
4882
5546
  CancelDeploymentFunctions,
@@ -4889,6 +5553,9 @@ export const CancelDeploymentFunctions$inboundSchema: z.ZodType<
4889
5553
  runtime: z.string().optional(),
4890
5554
  includeFiles: z.string().optional(),
4891
5555
  excludeFiles: z.string().optional(),
5556
+ experimentalTriggers: z.array(
5557
+ z.lazy(() => CancelDeploymentExperimentalTriggers$inboundSchema),
5558
+ ).optional(),
4892
5559
  });
4893
5560
 
4894
5561
  /** @internal */
@@ -4899,6 +5566,9 @@ export type CancelDeploymentFunctions$Outbound = {
4899
5566
  runtime?: string | undefined;
4900
5567
  includeFiles?: string | undefined;
4901
5568
  excludeFiles?: string | undefined;
5569
+ experimentalTriggers?:
5570
+ | Array<CancelDeploymentExperimentalTriggers$Outbound>
5571
+ | undefined;
4902
5572
  };
4903
5573
 
4904
5574
  /** @internal */
@@ -4913,6 +5583,9 @@ export const CancelDeploymentFunctions$outboundSchema: z.ZodType<
4913
5583
  runtime: z.string().optional(),
4914
5584
  includeFiles: z.string().optional(),
4915
5585
  excludeFiles: z.string().optional(),
5586
+ experimentalTriggers: z.array(
5587
+ z.lazy(() => CancelDeploymentExperimentalTriggers$outboundSchema),
5588
+ ).optional(),
4916
5589
  });
4917
5590
 
4918
5591
  /**
@@ -6474,6 +7147,382 @@ export function cancelDeploymentRoutesMitigateFromJSON(
6474
7147
  );
6475
7148
  }
6476
7149
 
7150
+ /** @internal */
7151
+ export const CancelDeploymentRoutesType$inboundSchema: z.ZodNativeEnum<
7152
+ typeof CancelDeploymentRoutesType
7153
+ > = z.nativeEnum(CancelDeploymentRoutesType);
7154
+
7155
+ /** @internal */
7156
+ export const CancelDeploymentRoutesType$outboundSchema: z.ZodNativeEnum<
7157
+ typeof CancelDeploymentRoutesType
7158
+ > = CancelDeploymentRoutesType$inboundSchema;
7159
+
7160
+ /**
7161
+ * @internal
7162
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
7163
+ */
7164
+ export namespace CancelDeploymentRoutesType$ {
7165
+ /** @deprecated use `CancelDeploymentRoutesType$inboundSchema` instead. */
7166
+ export const inboundSchema = CancelDeploymentRoutesType$inboundSchema;
7167
+ /** @deprecated use `CancelDeploymentRoutesType$outboundSchema` instead. */
7168
+ export const outboundSchema = CancelDeploymentRoutesType$outboundSchema;
7169
+ }
7170
+
7171
+ /** @internal */
7172
+ export const RoutesOp$inboundSchema: z.ZodNativeEnum<typeof RoutesOp> = z
7173
+ .nativeEnum(RoutesOp);
7174
+
7175
+ /** @internal */
7176
+ export const RoutesOp$outboundSchema: z.ZodNativeEnum<typeof RoutesOp> =
7177
+ RoutesOp$inboundSchema;
7178
+
7179
+ /**
7180
+ * @internal
7181
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
7182
+ */
7183
+ export namespace RoutesOp$ {
7184
+ /** @deprecated use `RoutesOp$inboundSchema` instead. */
7185
+ export const inboundSchema = RoutesOp$inboundSchema;
7186
+ /** @deprecated use `RoutesOp$outboundSchema` instead. */
7187
+ export const outboundSchema = RoutesOp$outboundSchema;
7188
+ }
7189
+
7190
+ /** @internal */
7191
+ export const CancelDeploymentKeyEq$inboundSchema: z.ZodType<
7192
+ CancelDeploymentKeyEq,
7193
+ z.ZodTypeDef,
7194
+ unknown
7195
+ > = z.union([z.string(), z.number()]);
7196
+
7197
+ /** @internal */
7198
+ export type CancelDeploymentKeyEq$Outbound = string | number;
7199
+
7200
+ /** @internal */
7201
+ export const CancelDeploymentKeyEq$outboundSchema: z.ZodType<
7202
+ CancelDeploymentKeyEq$Outbound,
7203
+ z.ZodTypeDef,
7204
+ CancelDeploymentKeyEq
7205
+ > = z.union([z.string(), z.number()]);
7206
+
7207
+ /**
7208
+ * @internal
7209
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
7210
+ */
7211
+ export namespace CancelDeploymentKeyEq$ {
7212
+ /** @deprecated use `CancelDeploymentKeyEq$inboundSchema` instead. */
7213
+ export const inboundSchema = CancelDeploymentKeyEq$inboundSchema;
7214
+ /** @deprecated use `CancelDeploymentKeyEq$outboundSchema` instead. */
7215
+ export const outboundSchema = CancelDeploymentKeyEq$outboundSchema;
7216
+ /** @deprecated use `CancelDeploymentKeyEq$Outbound` instead. */
7217
+ export type Outbound = CancelDeploymentKeyEq$Outbound;
7218
+ }
7219
+
7220
+ export function cancelDeploymentKeyEqToJSON(
7221
+ cancelDeploymentKeyEq: CancelDeploymentKeyEq,
7222
+ ): string {
7223
+ return JSON.stringify(
7224
+ CancelDeploymentKeyEq$outboundSchema.parse(cancelDeploymentKeyEq),
7225
+ );
7226
+ }
7227
+
7228
+ export function cancelDeploymentKeyEqFromJSON(
7229
+ jsonString: string,
7230
+ ): SafeParseResult<CancelDeploymentKeyEq, SDKValidationError> {
7231
+ return safeParse(
7232
+ jsonString,
7233
+ (x) => CancelDeploymentKeyEq$inboundSchema.parse(JSON.parse(x)),
7234
+ `Failed to parse 'CancelDeploymentKeyEq' from JSON`,
7235
+ );
7236
+ }
7237
+
7238
+ /** @internal */
7239
+ export const CancelDeploymentKey2$inboundSchema: z.ZodType<
7240
+ CancelDeploymentKey2,
7241
+ z.ZodTypeDef,
7242
+ unknown
7243
+ > = z.object({
7244
+ eq: z.union([z.string(), z.number()]).optional(),
7245
+ neq: z.string().optional(),
7246
+ inc: z.array(z.string()).optional(),
7247
+ ninc: z.array(z.string()).optional(),
7248
+ pre: z.string().optional(),
7249
+ suf: z.string().optional(),
7250
+ gt: z.number().optional(),
7251
+ gte: z.number().optional(),
7252
+ lt: z.number().optional(),
7253
+ lte: z.number().optional(),
7254
+ });
7255
+
7256
+ /** @internal */
7257
+ export type CancelDeploymentKey2$Outbound = {
7258
+ eq?: string | number | undefined;
7259
+ neq?: string | undefined;
7260
+ inc?: Array<string> | undefined;
7261
+ ninc?: Array<string> | undefined;
7262
+ pre?: string | undefined;
7263
+ suf?: string | undefined;
7264
+ gt?: number | undefined;
7265
+ gte?: number | undefined;
7266
+ lt?: number | undefined;
7267
+ lte?: number | undefined;
7268
+ };
7269
+
7270
+ /** @internal */
7271
+ export const CancelDeploymentKey2$outboundSchema: z.ZodType<
7272
+ CancelDeploymentKey2$Outbound,
7273
+ z.ZodTypeDef,
7274
+ CancelDeploymentKey2
7275
+ > = z.object({
7276
+ eq: z.union([z.string(), z.number()]).optional(),
7277
+ neq: z.string().optional(),
7278
+ inc: z.array(z.string()).optional(),
7279
+ ninc: z.array(z.string()).optional(),
7280
+ pre: z.string().optional(),
7281
+ suf: z.string().optional(),
7282
+ gt: z.number().optional(),
7283
+ gte: z.number().optional(),
7284
+ lt: z.number().optional(),
7285
+ lte: z.number().optional(),
7286
+ });
7287
+
7288
+ /**
7289
+ * @internal
7290
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
7291
+ */
7292
+ export namespace CancelDeploymentKey2$ {
7293
+ /** @deprecated use `CancelDeploymentKey2$inboundSchema` instead. */
7294
+ export const inboundSchema = CancelDeploymentKey2$inboundSchema;
7295
+ /** @deprecated use `CancelDeploymentKey2$outboundSchema` instead. */
7296
+ export const outboundSchema = CancelDeploymentKey2$outboundSchema;
7297
+ /** @deprecated use `CancelDeploymentKey2$Outbound` instead. */
7298
+ export type Outbound = CancelDeploymentKey2$Outbound;
7299
+ }
7300
+
7301
+ export function cancelDeploymentKey2ToJSON(
7302
+ cancelDeploymentKey2: CancelDeploymentKey2,
7303
+ ): string {
7304
+ return JSON.stringify(
7305
+ CancelDeploymentKey2$outboundSchema.parse(cancelDeploymentKey2),
7306
+ );
7307
+ }
7308
+
7309
+ export function cancelDeploymentKey2FromJSON(
7310
+ jsonString: string,
7311
+ ): SafeParseResult<CancelDeploymentKey2, SDKValidationError> {
7312
+ return safeParse(
7313
+ jsonString,
7314
+ (x) => CancelDeploymentKey2$inboundSchema.parse(JSON.parse(x)),
7315
+ `Failed to parse 'CancelDeploymentKey2' from JSON`,
7316
+ );
7317
+ }
7318
+
7319
+ /** @internal */
7320
+ export const RoutesKey$inboundSchema: z.ZodType<
7321
+ RoutesKey,
7322
+ z.ZodTypeDef,
7323
+ unknown
7324
+ > = z.union([z.lazy(() => CancelDeploymentKey2$inboundSchema), z.string()]);
7325
+
7326
+ /** @internal */
7327
+ export type RoutesKey$Outbound = CancelDeploymentKey2$Outbound | string;
7328
+
7329
+ /** @internal */
7330
+ export const RoutesKey$outboundSchema: z.ZodType<
7331
+ RoutesKey$Outbound,
7332
+ z.ZodTypeDef,
7333
+ RoutesKey
7334
+ > = z.union([z.lazy(() => CancelDeploymentKey2$outboundSchema), z.string()]);
7335
+
7336
+ /**
7337
+ * @internal
7338
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
7339
+ */
7340
+ export namespace RoutesKey$ {
7341
+ /** @deprecated use `RoutesKey$inboundSchema` instead. */
7342
+ export const inboundSchema = RoutesKey$inboundSchema;
7343
+ /** @deprecated use `RoutesKey$outboundSchema` instead. */
7344
+ export const outboundSchema = RoutesKey$outboundSchema;
7345
+ /** @deprecated use `RoutesKey$Outbound` instead. */
7346
+ export type Outbound = RoutesKey$Outbound;
7347
+ }
7348
+
7349
+ export function routesKeyToJSON(routesKey: RoutesKey): string {
7350
+ return JSON.stringify(RoutesKey$outboundSchema.parse(routesKey));
7351
+ }
7352
+
7353
+ export function routesKeyFromJSON(
7354
+ jsonString: string,
7355
+ ): SafeParseResult<RoutesKey, SDKValidationError> {
7356
+ return safeParse(
7357
+ jsonString,
7358
+ (x) => RoutesKey$inboundSchema.parse(JSON.parse(x)),
7359
+ `Failed to parse 'RoutesKey' from JSON`,
7360
+ );
7361
+ }
7362
+
7363
+ /** @internal */
7364
+ export const CancelDeploymentRoutesTarget$inboundSchema: z.ZodType<
7365
+ CancelDeploymentRoutesTarget,
7366
+ z.ZodTypeDef,
7367
+ unknown
7368
+ > = z.object({
7369
+ key: z.union([z.lazy(() => CancelDeploymentKey2$inboundSchema), z.string()]),
7370
+ });
7371
+
7372
+ /** @internal */
7373
+ export type CancelDeploymentRoutesTarget$Outbound = {
7374
+ key: CancelDeploymentKey2$Outbound | string;
7375
+ };
7376
+
7377
+ /** @internal */
7378
+ export const CancelDeploymentRoutesTarget$outboundSchema: z.ZodType<
7379
+ CancelDeploymentRoutesTarget$Outbound,
7380
+ z.ZodTypeDef,
7381
+ CancelDeploymentRoutesTarget
7382
+ > = z.object({
7383
+ key: z.union([z.lazy(() => CancelDeploymentKey2$outboundSchema), z.string()]),
7384
+ });
7385
+
7386
+ /**
7387
+ * @internal
7388
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
7389
+ */
7390
+ export namespace CancelDeploymentRoutesTarget$ {
7391
+ /** @deprecated use `CancelDeploymentRoutesTarget$inboundSchema` instead. */
7392
+ export const inboundSchema = CancelDeploymentRoutesTarget$inboundSchema;
7393
+ /** @deprecated use `CancelDeploymentRoutesTarget$outboundSchema` instead. */
7394
+ export const outboundSchema = CancelDeploymentRoutesTarget$outboundSchema;
7395
+ /** @deprecated use `CancelDeploymentRoutesTarget$Outbound` instead. */
7396
+ export type Outbound = CancelDeploymentRoutesTarget$Outbound;
7397
+ }
7398
+
7399
+ export function cancelDeploymentRoutesTargetToJSON(
7400
+ cancelDeploymentRoutesTarget: CancelDeploymentRoutesTarget,
7401
+ ): string {
7402
+ return JSON.stringify(
7403
+ CancelDeploymentRoutesTarget$outboundSchema.parse(
7404
+ cancelDeploymentRoutesTarget,
7405
+ ),
7406
+ );
7407
+ }
7408
+
7409
+ export function cancelDeploymentRoutesTargetFromJSON(
7410
+ jsonString: string,
7411
+ ): SafeParseResult<CancelDeploymentRoutesTarget, SDKValidationError> {
7412
+ return safeParse(
7413
+ jsonString,
7414
+ (x) => CancelDeploymentRoutesTarget$inboundSchema.parse(JSON.parse(x)),
7415
+ `Failed to parse 'CancelDeploymentRoutesTarget' from JSON`,
7416
+ );
7417
+ }
7418
+
7419
+ /** @internal */
7420
+ export const RoutesArgs$inboundSchema: z.ZodType<
7421
+ RoutesArgs,
7422
+ z.ZodTypeDef,
7423
+ unknown
7424
+ > = z.union([z.string(), z.array(z.string())]);
7425
+
7426
+ /** @internal */
7427
+ export type RoutesArgs$Outbound = string | Array<string>;
7428
+
7429
+ /** @internal */
7430
+ export const RoutesArgs$outboundSchema: z.ZodType<
7431
+ RoutesArgs$Outbound,
7432
+ z.ZodTypeDef,
7433
+ RoutesArgs
7434
+ > = z.union([z.string(), z.array(z.string())]);
7435
+
7436
+ /**
7437
+ * @internal
7438
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
7439
+ */
7440
+ export namespace RoutesArgs$ {
7441
+ /** @deprecated use `RoutesArgs$inboundSchema` instead. */
7442
+ export const inboundSchema = RoutesArgs$inboundSchema;
7443
+ /** @deprecated use `RoutesArgs$outboundSchema` instead. */
7444
+ export const outboundSchema = RoutesArgs$outboundSchema;
7445
+ /** @deprecated use `RoutesArgs$Outbound` instead. */
7446
+ export type Outbound = RoutesArgs$Outbound;
7447
+ }
7448
+
7449
+ export function routesArgsToJSON(routesArgs: RoutesArgs): string {
7450
+ return JSON.stringify(RoutesArgs$outboundSchema.parse(routesArgs));
7451
+ }
7452
+
7453
+ export function routesArgsFromJSON(
7454
+ jsonString: string,
7455
+ ): SafeParseResult<RoutesArgs, SDKValidationError> {
7456
+ return safeParse(
7457
+ jsonString,
7458
+ (x) => RoutesArgs$inboundSchema.parse(JSON.parse(x)),
7459
+ `Failed to parse 'RoutesArgs' from JSON`,
7460
+ );
7461
+ }
7462
+
7463
+ /** @internal */
7464
+ export const RoutesTransforms$inboundSchema: z.ZodType<
7465
+ RoutesTransforms,
7466
+ z.ZodTypeDef,
7467
+ unknown
7468
+ > = z.object({
7469
+ type: CancelDeploymentRoutesType$inboundSchema,
7470
+ op: RoutesOp$inboundSchema,
7471
+ target: z.lazy(() => CancelDeploymentRoutesTarget$inboundSchema),
7472
+ args: z.union([z.string(), z.array(z.string())]).optional(),
7473
+ });
7474
+
7475
+ /** @internal */
7476
+ export type RoutesTransforms$Outbound = {
7477
+ type: string;
7478
+ op: string;
7479
+ target: CancelDeploymentRoutesTarget$Outbound;
7480
+ args?: string | Array<string> | undefined;
7481
+ };
7482
+
7483
+ /** @internal */
7484
+ export const RoutesTransforms$outboundSchema: z.ZodType<
7485
+ RoutesTransforms$Outbound,
7486
+ z.ZodTypeDef,
7487
+ RoutesTransforms
7488
+ > = z.object({
7489
+ type: CancelDeploymentRoutesType$outboundSchema,
7490
+ op: RoutesOp$outboundSchema,
7491
+ target: z.lazy(() => CancelDeploymentRoutesTarget$outboundSchema),
7492
+ args: z.union([z.string(), z.array(z.string())]).optional(),
7493
+ });
7494
+
7495
+ /**
7496
+ * @internal
7497
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
7498
+ */
7499
+ export namespace RoutesTransforms$ {
7500
+ /** @deprecated use `RoutesTransforms$inboundSchema` instead. */
7501
+ export const inboundSchema = RoutesTransforms$inboundSchema;
7502
+ /** @deprecated use `RoutesTransforms$outboundSchema` instead. */
7503
+ export const outboundSchema = RoutesTransforms$outboundSchema;
7504
+ /** @deprecated use `RoutesTransforms$Outbound` instead. */
7505
+ export type Outbound = RoutesTransforms$Outbound;
7506
+ }
7507
+
7508
+ export function routesTransformsToJSON(
7509
+ routesTransforms: RoutesTransforms,
7510
+ ): string {
7511
+ return JSON.stringify(
7512
+ RoutesTransforms$outboundSchema.parse(routesTransforms),
7513
+ );
7514
+ }
7515
+
7516
+ export function routesTransformsFromJSON(
7517
+ jsonString: string,
7518
+ ): SafeParseResult<RoutesTransforms, SDKValidationError> {
7519
+ return safeParse(
7520
+ jsonString,
7521
+ (x) => RoutesTransforms$inboundSchema.parse(JSON.parse(x)),
7522
+ `Failed to parse 'RoutesTransforms' from JSON`,
7523
+ );
7524
+ }
7525
+
6477
7526
  /** @internal */
6478
7527
  export const RoutesLocale$inboundSchema: z.ZodType<
6479
7528
  RoutesLocale,
@@ -6557,6 +7606,7 @@ export const CancelDeploymentRoutes1$inboundSchema: z.ZodType<
6557
7606
  ).optional(),
6558
7607
  mitigate: z.lazy(() => CancelDeploymentRoutesMitigate$inboundSchema)
6559
7608
  .optional(),
7609
+ transforms: z.array(z.lazy(() => RoutesTransforms$inboundSchema)).optional(),
6560
7610
  locale: z.lazy(() => RoutesLocale$inboundSchema).optional(),
6561
7611
  middlewarePath: z.string().optional(),
6562
7612
  middlewareRawSrc: z.array(z.string()).optional(),
@@ -6584,6 +7634,7 @@ export type CancelDeploymentRoutes1$Outbound = {
6584
7634
  >
6585
7635
  | undefined;
6586
7636
  mitigate?: CancelDeploymentRoutesMitigate$Outbound | undefined;
7637
+ transforms?: Array<RoutesTransforms$Outbound> | undefined;
6587
7638
  locale?: RoutesLocale$Outbound | undefined;
6588
7639
  middlewarePath?: string | undefined;
6589
7640
  middlewareRawSrc?: Array<string> | undefined;
@@ -6620,6 +7671,7 @@ export const CancelDeploymentRoutes1$outboundSchema: z.ZodType<
6620
7671
  ).optional(),
6621
7672
  mitigate: z.lazy(() => CancelDeploymentRoutesMitigate$outboundSchema)
6622
7673
  .optional(),
7674
+ transforms: z.array(z.lazy(() => RoutesTransforms$outboundSchema)).optional(),
6623
7675
  locale: z.lazy(() => RoutesLocale$outboundSchema).optional(),
6624
7676
  middlewarePath: z.string().optional(),
6625
7677
  middlewareRawSrc: z.array(z.string()).optional(),
@@ -7502,6 +8554,7 @@ export const CancelDeploymentMicrofrontends2$inboundSchema: z.ZodType<
7502
8554
  defaultAppProjectName: z.string(),
7503
8555
  defaultRoute: z.string().optional(),
7504
8556
  groupIds: z.array(z.string()),
8557
+ microfrontendsAlias2Enabled: z.boolean().optional(),
7505
8558
  });
7506
8559
 
7507
8560
  /** @internal */
@@ -7513,6 +8566,7 @@ export type CancelDeploymentMicrofrontends2$Outbound = {
7513
8566
  defaultAppProjectName: string;
7514
8567
  defaultRoute?: string | undefined;
7515
8568
  groupIds: Array<string>;
8569
+ microfrontendsAlias2Enabled?: boolean | undefined;
7516
8570
  };
7517
8571
 
7518
8572
  /** @internal */
@@ -7528,6 +8582,7 @@ export const CancelDeploymentMicrofrontends2$outboundSchema: z.ZodType<
7528
8582
  defaultAppProjectName: z.string(),
7529
8583
  defaultRoute: z.string().optional(),
7530
8584
  groupIds: z.array(z.string()),
8585
+ microfrontendsAlias2Enabled: z.boolean().optional(),
7531
8586
  });
7532
8587
 
7533
8588
  /**
@@ -7573,6 +8628,7 @@ export const CancelDeploymentMicrofrontends1$inboundSchema: z.ZodType<
7573
8628
  defaultAppProjectName: z.string(),
7574
8629
  defaultRoute: z.string().optional(),
7575
8630
  groupIds: z.array(z.string()),
8631
+ microfrontendsAlias2Enabled: z.boolean().optional(),
7576
8632
  });
7577
8633
 
7578
8634
  /** @internal */
@@ -7581,6 +8637,7 @@ export type CancelDeploymentMicrofrontends1$Outbound = {
7581
8637
  defaultAppProjectName: string;
7582
8638
  defaultRoute?: string | undefined;
7583
8639
  groupIds: Array<string>;
8640
+ microfrontendsAlias2Enabled?: boolean | undefined;
7584
8641
  };
7585
8642
 
7586
8643
  /** @internal */
@@ -7593,6 +8650,7 @@ export const CancelDeploymentMicrofrontends1$outboundSchema: z.ZodType<
7593
8650
  defaultAppProjectName: z.string(),
7594
8651
  defaultRoute: z.string().optional(),
7595
8652
  groupIds: z.array(z.string()),
8653
+ microfrontendsAlias2Enabled: z.boolean().optional(),
7596
8654
  });
7597
8655
 
7598
8656
  /**
@@ -8014,22 +9072,26 @@ export const CancelDeploymentResponseBody$inboundSchema: z.ZodType<
8014
9072
  errorStep: z.string().optional(),
8015
9073
  passiveRegions: z.array(z.string()).optional(),
8016
9074
  gitSource: z.union([
8017
- z.lazy(() => GitSource10$inboundSchema),
8018
9075
  z.lazy(() => GitSource12$inboundSchema),
9076
+ z.lazy(() => GitSource15$inboundSchema),
8019
9077
  z.lazy(() => CancelDeploymentGitSource4$inboundSchema),
8020
- z.lazy(() => GitSource8$inboundSchema),
8021
- z.lazy(() => GitSource9$inboundSchema),
9078
+ z.lazy(() => GitSource10$inboundSchema),
8022
9079
  z.lazy(() => GitSource11$inboundSchema),
9080
+ z.lazy(() => GitSource13$inboundSchema),
9081
+ z.lazy(() => GitSource14$inboundSchema),
8023
9082
  z.lazy(() => CancelDeploymentGitSource2$inboundSchema),
8024
9083
  z.lazy(() => CancelDeploymentGitSource3$inboundSchema),
8025
- z.lazy(() => GitSource7$inboundSchema),
9084
+ z.lazy(() => GitSource6$inboundSchema),
9085
+ z.lazy(() => GitSource9$inboundSchema),
8026
9086
  z.lazy(() => CancelDeploymentGitSource1$inboundSchema),
8027
9087
  z.lazy(() => CancelDeploymentGitSource5$inboundSchema),
8028
- z.lazy(() => GitSource6$inboundSchema),
9088
+ z.lazy(() => GitSource7$inboundSchema),
9089
+ z.lazy(() => GitSource8$inboundSchema),
8029
9090
  ]).optional(),
8030
9091
  name: z.string(),
8031
9092
  meta: z.record(z.string()),
8032
9093
  originCacheRegion: z.string().optional(),
9094
+ nodeVersion: CancelDeploymentNodeVersion$inboundSchema.optional(),
8033
9095
  project: z.lazy(() => CancelDeploymentProject$inboundSchema).optional(),
8034
9096
  readyState: CancelDeploymentReadyState$inboundSchema,
8035
9097
  readySubstate: CancelDeploymentReadySubstate$inboundSchema.optional(),
@@ -8139,22 +9201,26 @@ export type CancelDeploymentResponseBody$Outbound = {
8139
9201
  errorStep?: string | undefined;
8140
9202
  passiveRegions?: Array<string> | undefined;
8141
9203
  gitSource?:
8142
- | GitSource10$Outbound
8143
9204
  | GitSource12$Outbound
9205
+ | GitSource15$Outbound
8144
9206
  | CancelDeploymentGitSource4$Outbound
8145
- | GitSource8$Outbound
8146
- | GitSource9$Outbound
9207
+ | GitSource10$Outbound
8147
9208
  | GitSource11$Outbound
9209
+ | GitSource13$Outbound
9210
+ | GitSource14$Outbound
8148
9211
  | CancelDeploymentGitSource2$Outbound
8149
9212
  | CancelDeploymentGitSource3$Outbound
8150
- | GitSource7$Outbound
9213
+ | GitSource6$Outbound
9214
+ | GitSource9$Outbound
8151
9215
  | CancelDeploymentGitSource1$Outbound
8152
9216
  | CancelDeploymentGitSource5$Outbound
8153
- | GitSource6$Outbound
9217
+ | GitSource7$Outbound
9218
+ | GitSource8$Outbound
8154
9219
  | undefined;
8155
9220
  name: string;
8156
9221
  meta: { [k: string]: string };
8157
9222
  originCacheRegion?: string | undefined;
9223
+ nodeVersion?: string | undefined;
8158
9224
  project?: CancelDeploymentProject$Outbound | undefined;
8159
9225
  readyState: string;
8160
9226
  readySubstate?: string | undefined;
@@ -8272,22 +9338,26 @@ export const CancelDeploymentResponseBody$outboundSchema: z.ZodType<
8272
9338
  errorStep: z.string().optional(),
8273
9339
  passiveRegions: z.array(z.string()).optional(),
8274
9340
  gitSource: z.union([
8275
- z.lazy(() => GitSource10$outboundSchema),
8276
9341
  z.lazy(() => GitSource12$outboundSchema),
9342
+ z.lazy(() => GitSource15$outboundSchema),
8277
9343
  z.lazy(() => CancelDeploymentGitSource4$outboundSchema),
8278
- z.lazy(() => GitSource8$outboundSchema),
8279
- z.lazy(() => GitSource9$outboundSchema),
9344
+ z.lazy(() => GitSource10$outboundSchema),
8280
9345
  z.lazy(() => GitSource11$outboundSchema),
9346
+ z.lazy(() => GitSource13$outboundSchema),
9347
+ z.lazy(() => GitSource14$outboundSchema),
8281
9348
  z.lazy(() => CancelDeploymentGitSource2$outboundSchema),
8282
9349
  z.lazy(() => CancelDeploymentGitSource3$outboundSchema),
8283
- z.lazy(() => GitSource7$outboundSchema),
9350
+ z.lazy(() => GitSource6$outboundSchema),
9351
+ z.lazy(() => GitSource9$outboundSchema),
8284
9352
  z.lazy(() => CancelDeploymentGitSource1$outboundSchema),
8285
9353
  z.lazy(() => CancelDeploymentGitSource5$outboundSchema),
8286
- z.lazy(() => GitSource6$outboundSchema),
9354
+ z.lazy(() => GitSource7$outboundSchema),
9355
+ z.lazy(() => GitSource8$outboundSchema),
8287
9356
  ]).optional(),
8288
9357
  name: z.string(),
8289
9358
  meta: z.record(z.string()),
8290
9359
  originCacheRegion: z.string().optional(),
9360
+ nodeVersion: CancelDeploymentNodeVersion$outboundSchema.optional(),
8291
9361
  project: z.lazy(() => CancelDeploymentProject$outboundSchema).optional(),
8292
9362
  readyState: CancelDeploymentReadyState$outboundSchema,
8293
9363
  readySubstate: CancelDeploymentReadySubstate$outboundSchema.optional(),