@vercel/sdk 1.11.2 → 1.12.0

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 (257) hide show
  1. package/README.md +60 -59
  2. package/bin/mcp-server.js +4502 -3066
  3. package/bin/mcp-server.js.map +46 -40
  4. package/docs/sdks/deployments/README.md +8 -0
  5. package/docs/sdks/edgecache/README.md +169 -0
  6. package/docs/sdks/integrations/README.md +83 -0
  7. package/docs/sdks/projects/README.md +0 -2
  8. package/docs/sdks/vercel/README.md +0 -74
  9. package/esm/__tests__/deployments.test.js +1 -1
  10. package/esm/__tests__/deployments.test.js.map +1 -1
  11. package/esm/__tests__/domains.test.js +3 -12
  12. package/esm/__tests__/domains.test.js.map +1 -1
  13. package/esm/__tests__/integrations.test.js +28 -1
  14. package/esm/__tests__/integrations.test.js.map +1 -1
  15. package/esm/__tests__/logdrains.test.js +9 -0
  16. package/esm/__tests__/logdrains.test.js.map +1 -1
  17. package/esm/__tests__/rollingrelease.test.js +2 -6
  18. package/esm/__tests__/rollingrelease.test.js.map +1 -1
  19. package/esm/__tests__/security.test.js +4 -4
  20. package/esm/__tests__/security.test.js.map +1 -1
  21. package/esm/__tests__/vercel.test.js +3 -27
  22. package/esm/__tests__/vercel.test.js.map +1 -1
  23. package/esm/funcs/deploymentsGetDeployments.js +1 -0
  24. package/esm/funcs/deploymentsGetDeployments.js.map +1 -1
  25. package/esm/funcs/edgeCacheDangerouslyDeleteByTags.d.ts +20 -0
  26. package/esm/funcs/edgeCacheDangerouslyDeleteByTags.d.ts.map +1 -0
  27. package/esm/funcs/edgeCacheDangerouslyDeleteByTags.js +91 -0
  28. package/esm/funcs/edgeCacheDangerouslyDeleteByTags.js.map +1 -0
  29. package/esm/funcs/{getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.d.ts → edgeCacheInvalidateByTags.d.ts} +9 -3
  30. package/esm/funcs/edgeCacheInvalidateByTags.d.ts.map +1 -0
  31. package/esm/funcs/edgeCacheInvalidateByTags.js +91 -0
  32. package/esm/funcs/edgeCacheInvalidateByTags.js.map +1 -0
  33. package/esm/funcs/integrationsGetBillingPlans.d.ts +20 -0
  34. package/esm/funcs/integrationsGetBillingPlans.d.ts.map +1 -0
  35. package/esm/funcs/{getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js → integrationsGetBillingPlans.js} +21 -9
  36. package/esm/funcs/integrationsGetBillingPlans.js.map +1 -0
  37. package/esm/funcs/marketplaceImportResource.js +2 -2
  38. package/esm/funcs/marketplaceImportResource.js.map +1 -1
  39. package/esm/funcs/marketplaceUpdateResourceSecrets.js +2 -2
  40. package/esm/funcs/marketplaceUpdateResourceSecrets.js.map +1 -1
  41. package/esm/funcs/marketplaceUpdateResourceSecretsById.js +2 -2
  42. package/esm/funcs/marketplaceUpdateResourceSecretsById.js.map +1 -1
  43. package/esm/funcs/projectsGetProjects.js +0 -1
  44. package/esm/funcs/projectsGetProjects.js.map +1 -1
  45. package/esm/lib/config.d.ts +3 -3
  46. package/esm/lib/config.js +3 -3
  47. package/esm/lib/url.js +1 -1
  48. package/esm/lib/url.js.map +1 -1
  49. package/esm/mcp-server/mcp-server.js +1 -1
  50. package/esm/mcp-server/server.d.ts.map +1 -1
  51. package/esm/mcp-server/server.js +7 -3
  52. package/esm/mcp-server/server.js.map +1 -1
  53. package/esm/mcp-server/tools/edgeCacheDangerouslyDeleteByTags.d.ts +7 -0
  54. package/esm/mcp-server/tools/edgeCacheDangerouslyDeleteByTags.d.ts.map +1 -0
  55. package/esm/mcp-server/tools/edgeCacheDangerouslyDeleteByTags.js +27 -0
  56. package/esm/mcp-server/tools/edgeCacheDangerouslyDeleteByTags.js.map +1 -0
  57. package/esm/mcp-server/tools/edgeCacheInvalidateByTags.d.ts +7 -0
  58. package/esm/mcp-server/tools/edgeCacheInvalidateByTags.d.ts.map +1 -0
  59. package/esm/mcp-server/tools/edgeCacheInvalidateByTags.js +27 -0
  60. package/esm/mcp-server/tools/edgeCacheInvalidateByTags.js.map +1 -0
  61. package/esm/mcp-server/tools/integrationsGetBillingPlans.d.ts +7 -0
  62. package/esm/mcp-server/tools/integrationsGetBillingPlans.d.ts.map +1 -0
  63. package/esm/mcp-server/tools/integrationsGetBillingPlans.js +28 -0
  64. package/esm/mcp-server/tools/integrationsGetBillingPlans.js.map +1 -0
  65. package/esm/models/approverollingreleasestageop.d.ts +15 -0
  66. package/esm/models/approverollingreleasestageop.d.ts.map +1 -1
  67. package/esm/models/approverollingreleasestageop.js +6 -0
  68. package/esm/models/approverollingreleasestageop.js.map +1 -1
  69. package/esm/models/canceldeploymentop.d.ts +63 -50
  70. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  71. package/esm/models/canceldeploymentop.js +59 -54
  72. package/esm/models/canceldeploymentop.js.map +1 -1
  73. package/esm/models/completerollingreleaseop.d.ts +15 -0
  74. package/esm/models/completerollingreleaseop.d.ts.map +1 -1
  75. package/esm/models/completerollingreleaseop.js +6 -0
  76. package/esm/models/completerollingreleaseop.js.map +1 -1
  77. package/esm/models/createdeploymentop.d.ts +289 -144
  78. package/esm/models/createdeploymentop.d.ts.map +1 -1
  79. package/esm/models/createdeploymentop.js +259 -124
  80. package/esm/models/createdeploymentop.js.map +1 -1
  81. package/esm/models/createedgeconfigop.d.ts +2 -2
  82. package/esm/models/createedgeconfigop.d.ts.map +1 -1
  83. package/esm/models/createedgeconfigop.js +2 -2
  84. package/esm/models/createedgeconfigop.js.map +1 -1
  85. package/esm/models/createintegrationstoredirectop.d.ts +906 -308
  86. package/esm/models/createintegrationstoredirectop.d.ts.map +1 -1
  87. package/esm/models/createintegrationstoredirectop.js +1077 -371
  88. package/esm/models/createintegrationstoredirectop.js.map +1 -1
  89. package/esm/models/createlogdrainop.d.ts +126 -4
  90. package/esm/models/createlogdrainop.d.ts.map +1 -1
  91. package/esm/models/createlogdrainop.js +129 -1
  92. package/esm/models/createlogdrainop.js.map +1 -1
  93. package/esm/models/createprojectop.d.ts +43 -30
  94. package/esm/models/createprojectop.d.ts.map +1 -1
  95. package/esm/models/createprojectop.js +24 -18
  96. package/esm/models/createprojectop.js.map +1 -1
  97. package/esm/models/dangerouslydeletebytagsop.d.ts +117 -0
  98. package/esm/models/dangerouslydeletebytagsop.d.ts.map +1 -0
  99. package/esm/models/dangerouslydeletebytagsop.js +117 -0
  100. package/esm/models/dangerouslydeletebytagsop.js.map +1 -0
  101. package/esm/models/getbillingplansop.d.ts +257 -0
  102. package/esm/models/getbillingplansop.d.ts.map +1 -0
  103. package/esm/models/getbillingplansop.js +244 -0
  104. package/esm/models/getbillingplansop.js.map +1 -0
  105. package/esm/models/getconfigurationop.d.ts +8 -8
  106. package/esm/models/getconfigurationop.d.ts.map +1 -1
  107. package/esm/models/getconfigurationop.js +12 -12
  108. package/esm/models/getconfigurationop.js.map +1 -1
  109. package/esm/models/getconfigurationproductsop.d.ts +909 -390
  110. package/esm/models/getconfigurationproductsop.d.ts.map +1 -1
  111. package/esm/models/getconfigurationproductsop.js +1104 -471
  112. package/esm/models/getconfigurationproductsop.js.map +1 -1
  113. package/esm/models/getconfigurationsop.d.ts +3 -0
  114. package/esm/models/getconfigurationsop.d.ts.map +1 -1
  115. package/esm/models/getconfigurationsop.js +1 -0
  116. package/esm/models/getconfigurationsop.js.map +1 -1
  117. package/esm/models/getdeploymentop.d.ts +33 -20
  118. package/esm/models/getdeploymentop.d.ts.map +1 -1
  119. package/esm/models/getdeploymentop.js +25 -20
  120. package/esm/models/getdeploymentop.js.map +1 -1
  121. package/esm/models/getdeploymentsop.d.ts +8 -0
  122. package/esm/models/getdeploymentsop.d.ts.map +1 -1
  123. package/esm/models/getdeploymentsop.js +3 -0
  124. package/esm/models/getdeploymentsop.js.map +1 -1
  125. package/esm/models/getedgeconfigop.d.ts +2 -2
  126. package/esm/models/getedgeconfigop.d.ts.map +1 -1
  127. package/esm/models/getedgeconfigop.js +2 -2
  128. package/esm/models/getedgeconfigop.js.map +1 -1
  129. package/esm/models/getintegrationlogdrainsop.d.ts +125 -0
  130. package/esm/models/getintegrationlogdrainsop.d.ts.map +1 -1
  131. package/esm/models/getintegrationlogdrainsop.js +130 -0
  132. package/esm/models/getintegrationlogdrainsop.js.map +1 -1
  133. package/esm/models/getprojectsop.d.ts +206 -178
  134. package/esm/models/getprojectsop.d.ts.map +1 -1
  135. package/esm/models/getprojectsop.js +207 -166
  136. package/esm/models/getprojectsop.js.map +1 -1
  137. package/esm/models/getrollingreleaseconfigop.d.ts +5 -0
  138. package/esm/models/getrollingreleaseconfigop.d.ts.map +1 -1
  139. package/esm/models/getrollingreleaseconfigop.js +2 -0
  140. package/esm/models/getrollingreleaseconfigop.js.map +1 -1
  141. package/esm/models/getrollingreleaseop.d.ts +15 -0
  142. package/esm/models/getrollingreleaseop.d.ts.map +1 -1
  143. package/esm/models/getrollingreleaseop.js +6 -0
  144. package/esm/models/getrollingreleaseop.js.map +1 -1
  145. package/esm/models/getwebhooksop.d.ts +3 -0
  146. package/esm/models/getwebhooksop.d.ts.map +1 -1
  147. package/esm/models/getwebhooksop.js +1 -0
  148. package/esm/models/getwebhooksop.js.map +1 -1
  149. package/esm/models/importresourceop.d.ts +15 -15
  150. package/esm/models/importresourceop.d.ts.map +1 -1
  151. package/esm/models/importresourceop.js +17 -15
  152. package/esm/models/importresourceop.js.map +1 -1
  153. package/esm/models/invalidatebytagsop.d.ts +115 -0
  154. package/esm/models/invalidatebytagsop.d.ts.map +1 -0
  155. package/esm/models/invalidatebytagsop.js +116 -0
  156. package/esm/models/invalidatebytagsop.js.map +1 -0
  157. package/esm/models/updateedgeconfigop.d.ts +2 -2
  158. package/esm/models/updateedgeconfigop.d.ts.map +1 -1
  159. package/esm/models/updateedgeconfigop.js +2 -2
  160. package/esm/models/updateedgeconfigop.js.map +1 -1
  161. package/esm/models/updateprojectdatacacheop.d.ts +10 -0
  162. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  163. package/esm/models/updateprojectdatacacheop.js +5 -0
  164. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  165. package/esm/models/updateprojectop.d.ts +149 -136
  166. package/esm/models/updateprojectop.d.ts.map +1 -1
  167. package/esm/models/updateprojectop.js +146 -140
  168. package/esm/models/updateprojectop.js.map +1 -1
  169. package/esm/models/updaterollingreleaseconfigop.d.ts +5 -0
  170. package/esm/models/updaterollingreleaseconfigop.d.ts.map +1 -1
  171. package/esm/models/updaterollingreleaseconfigop.js +2 -0
  172. package/esm/models/updaterollingreleaseconfigop.js.map +1 -1
  173. package/esm/models/userevent.d.ts +1300 -1049
  174. package/esm/models/userevent.d.ts.map +1 -1
  175. package/esm/models/userevent.js +1654 -1406
  176. package/esm/models/userevent.js.map +1 -1
  177. package/esm/sdk/edgecache.d.ts +20 -0
  178. package/esm/sdk/edgecache.d.ts.map +1 -0
  179. package/esm/sdk/edgecache.js +28 -0
  180. package/esm/sdk/edgecache.js.map +1 -0
  181. package/esm/sdk/integrations.d.ts +8 -0
  182. package/esm/sdk/integrations.d.ts.map +1 -1
  183. package/esm/sdk/integrations.js +10 -0
  184. package/esm/sdk/integrations.js.map +1 -1
  185. package/esm/sdk/sdk.d.ts +4 -3
  186. package/esm/sdk/sdk.d.ts.map +1 -1
  187. package/esm/sdk/sdk.js +4 -5
  188. package/esm/sdk/sdk.js.map +1 -1
  189. package/examples/package-lock.json +1 -1
  190. package/jsr.json +1 -1
  191. package/package.json +1 -1
  192. package/src/__tests__/deployments.test.ts +1 -1
  193. package/src/__tests__/domains.test.ts +3 -12
  194. package/src/__tests__/integrations.test.ts +32 -1
  195. package/src/__tests__/logdrains.test.ts +9 -0
  196. package/src/__tests__/rollingrelease.test.ts +2 -6
  197. package/src/__tests__/security.test.ts +4 -4
  198. package/src/__tests__/vercel.test.ts +4 -33
  199. package/src/funcs/deploymentsGetDeployments.ts +1 -0
  200. package/src/funcs/edgeCacheDangerouslyDeleteByTags.ts +199 -0
  201. package/src/funcs/edgeCacheInvalidateByTags.ts +199 -0
  202. package/src/funcs/{getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.ts → integrationsGetBillingPlans.ts} +30 -24
  203. package/src/funcs/marketplaceImportResource.ts +2 -2
  204. package/src/funcs/marketplaceUpdateResourceSecrets.ts +2 -2
  205. package/src/funcs/marketplaceUpdateResourceSecretsById.ts +2 -2
  206. package/src/funcs/projectsGetProjects.ts +0 -1
  207. package/src/lib/config.ts +3 -3
  208. package/src/lib/url.ts +1 -1
  209. package/src/mcp-server/mcp-server.ts +1 -1
  210. package/src/mcp-server/server.ts +7 -5
  211. package/src/mcp-server/tools/edgeCacheDangerouslyDeleteByTags.ts +37 -0
  212. package/src/mcp-server/tools/edgeCacheInvalidateByTags.ts +35 -0
  213. package/src/mcp-server/tools/integrationsGetBillingPlans.ts +37 -0
  214. package/src/models/approverollingreleasestageop.ts +21 -0
  215. package/src/models/canceldeploymentop.ts +127 -104
  216. package/src/models/completerollingreleaseop.ts +21 -0
  217. package/src/models/createdeploymentop.ts +532 -226
  218. package/src/models/createedgeconfigop.ts +4 -4
  219. package/src/models/createintegrationstoredirectop.ts +2459 -673
  220. package/src/models/createlogdrainop.ts +260 -2
  221. package/src/models/createprojectop.ts +43 -30
  222. package/src/models/dangerouslydeletebytagsop.ts +249 -0
  223. package/src/models/getbillingplansop.ts +508 -0
  224. package/src/models/getconfigurationop.ts +20 -15
  225. package/src/models/getconfigurationproductsop.ts +2433 -838
  226. package/src/models/getconfigurationsop.ts +1 -0
  227. package/src/models/getdeploymentop.ts +63 -48
  228. package/src/models/getdeploymentsop.ts +8 -0
  229. package/src/models/getedgeconfigop.ts +4 -4
  230. package/src/models/getintegrationlogdrainsop.ts +237 -0
  231. package/src/models/getprojectsop.ts +434 -336
  232. package/src/models/getrollingreleaseconfigop.ts +7 -0
  233. package/src/models/getrollingreleaseop.ts +21 -0
  234. package/src/models/getwebhooksop.ts +1 -0
  235. package/src/models/importresourceop.ts +27 -29
  236. package/src/models/invalidatebytagsop.ts +227 -0
  237. package/src/models/updateedgeconfigop.ts +4 -4
  238. package/src/models/updateprojectdatacacheop.ts +12 -0
  239. package/src/models/updateprojectop.ts +299 -286
  240. package/src/models/updaterollingreleaseconfigop.ts +7 -0
  241. package/src/models/userevent.ts +3017 -2473
  242. package/src/sdk/edgecache.ts +46 -0
  243. package/src/sdk/integrations.ts +22 -0
  244. package/src/sdk/sdk.ts +7 -23
  245. package/vercel-spec.json +3578 -2444
  246. package/esm/funcs/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.d.ts.map +0 -1
  247. package/esm/funcs/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js.map +0 -1
  248. package/esm/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.d.ts +0 -7
  249. package/esm/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.d.ts.map +0 -1
  250. package/esm/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js +0 -26
  251. package/esm/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js.map +0 -1
  252. package/esm/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.d.ts +0 -247
  253. package/esm/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.d.ts.map +0 -1
  254. package/esm/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.js +0 -246
  255. package/esm/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.js.map +0 -1
  256. package/src/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.ts +0 -41
  257. package/src/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.ts +0 -575
@@ -52,6 +52,7 @@ export const TagIds = {
52
52
  TagMessaging: "tag_messaging",
53
53
  TagMonitoring: "tag_monitoring",
54
54
  TagObservability: "tag_observability",
55
+ TagPayments: "tag_payments",
55
56
  TagPerformance: "tag_performance",
56
57
  TagProductivity: "tag_productivity",
57
58
  TagSearching: "tag_searching",
@@ -814,6 +814,7 @@ export const ResponseBodyFramework = {
814
814
  Nitro: "nitro",
815
815
  Hono: "hono",
816
816
  Express: "express",
817
+ H3: "h3",
817
818
  Xmcp: "xmcp",
818
819
  } as const;
819
820
  export type ResponseBodyFramework = ClosedEnum<typeof ResponseBodyFramework>;
@@ -1669,12 +1670,12 @@ export type GetDeploymentValue2 = {
1669
1670
  lte?: number | undefined;
1670
1671
  };
1671
1672
 
1672
- export type GetDeploymentHasDeploymentsValue = GetDeploymentValue2 | string;
1673
+ export type GetDeploymentHasDeploymentsValue = string | GetDeploymentValue2;
1673
1674
 
1674
1675
  export type GetDeploymentHas2 = {
1675
1676
  type: GetDeploymentHasDeploymentsType;
1676
1677
  key: string;
1677
- value?: GetDeploymentValue2 | string | undefined;
1678
+ value?: string | GetDeploymentValue2 | undefined;
1678
1679
  };
1679
1680
 
1680
1681
  export const GetDeploymentHasType = {
@@ -1699,12 +1700,12 @@ export type GetDeploymentValueDeploymentsResponse2002 = {
1699
1700
  };
1700
1701
 
1701
1702
  export type GetDeploymentHasValue =
1702
- | GetDeploymentValueDeploymentsResponse2002
1703
- | string;
1703
+ | string
1704
+ | GetDeploymentValueDeploymentsResponse2002;
1704
1705
 
1705
1706
  export type GetDeploymentHas1 = {
1706
1707
  type: GetDeploymentHasType;
1707
- value: GetDeploymentValueDeploymentsResponse2002 | string;
1708
+ value: string | GetDeploymentValueDeploymentsResponse2002;
1708
1709
  };
1709
1710
 
1710
1711
  export type GetDeploymentRoutesHas = GetDeploymentHas1 | GetDeploymentHas2;
@@ -1735,13 +1736,13 @@ export type GetDeploymentValueDeploymentsResponse2 = {
1735
1736
  };
1736
1737
 
1737
1738
  export type GetDeploymentMissingValue =
1738
- | GetDeploymentValueDeploymentsResponse2
1739
- | string;
1739
+ | string
1740
+ | GetDeploymentValueDeploymentsResponse2;
1740
1741
 
1741
1742
  export type GetDeploymentMissing2 = {
1742
1743
  type: GetDeploymentMissingType;
1743
1744
  key: string;
1744
- value?: GetDeploymentValueDeploymentsResponse2 | string | undefined;
1745
+ value?: string | GetDeploymentValueDeploymentsResponse2 | undefined;
1745
1746
  };
1746
1747
 
1747
1748
  export const GetDeploymentMissingDeploymentsType = {
@@ -1768,12 +1769,12 @@ export type GetDeploymentValueDeployments2 = {
1768
1769
  };
1769
1770
 
1770
1771
  export type GetDeploymentMissingDeploymentsValue =
1771
- | GetDeploymentValueDeployments2
1772
- | string;
1772
+ | string
1773
+ | GetDeploymentValueDeployments2;
1773
1774
 
1774
1775
  export type GetDeploymentMissing1 = {
1775
1776
  type: GetDeploymentMissingDeploymentsType;
1776
- value: GetDeploymentValueDeployments2 | string;
1777
+ value: string | GetDeploymentValueDeployments2;
1777
1778
  };
1778
1779
 
1779
1780
  export type GetDeploymentRoutesMissing =
@@ -1823,10 +1824,10 @@ export type GetDeploymentKey2 = {
1823
1824
  lte?: number | undefined;
1824
1825
  };
1825
1826
 
1826
- export type GetDeploymentRoutesKey = GetDeploymentKey2 | string;
1827
+ export type GetDeploymentRoutesKey = string | GetDeploymentKey2;
1827
1828
 
1828
1829
  export type GetDeploymentRoutesTarget = {
1829
- key: GetDeploymentKey2 | string;
1830
+ key: string | GetDeploymentKey2;
1830
1831
  };
1831
1832
 
1832
1833
  export type GetDeploymentRoutesArgs = string | Array<string>;
@@ -2054,6 +2055,10 @@ export type GetDeploymentMicrofrontends2 = {
2054
2055
  * Whether the MicrofrontendsAlias2 team flag should be considered enabled for this deployment or not.
2055
2056
  */
2056
2057
  microfrontendsAlias2Enabled?: boolean | undefined;
2058
+ /**
2059
+ * Temporary flag to safely test MFE alias routing in vercel-site production for specific production hosts (not vercel.com)
2060
+ */
2061
+ microfrontendsAliasRoutingVercelSiteProdTestHost?: boolean | undefined;
2057
2062
  };
2058
2063
 
2059
2064
  export type GetDeploymentMicrofrontends1 = {
@@ -2074,6 +2079,10 @@ export type GetDeploymentMicrofrontends1 = {
2074
2079
  * Whether the MicrofrontendsAlias2 team flag should be considered enabled for this deployment or not.
2075
2080
  */
2076
2081
  microfrontendsAlias2Enabled?: boolean | undefined;
2082
+ /**
2083
+ * Temporary flag to safely test MFE alias routing in vercel-site production for specific production hosts (not vercel.com)
2084
+ */
2085
+ microfrontendsAliasRoutingVercelSiteProdTestHost?: boolean | undefined;
2077
2086
  };
2078
2087
 
2079
2088
  export type ResponseBodyMicrofrontends =
@@ -10225,19 +10234,19 @@ export const GetDeploymentHasDeploymentsValue$inboundSchema: z.ZodType<
10225
10234
  GetDeploymentHasDeploymentsValue,
10226
10235
  z.ZodTypeDef,
10227
10236
  unknown
10228
- > = z.union([z.lazy(() => GetDeploymentValue2$inboundSchema), z.string()]);
10237
+ > = z.union([z.string(), z.lazy(() => GetDeploymentValue2$inboundSchema)]);
10229
10238
 
10230
10239
  /** @internal */
10231
10240
  export type GetDeploymentHasDeploymentsValue$Outbound =
10232
- | GetDeploymentValue2$Outbound
10233
- | string;
10241
+ | string
10242
+ | GetDeploymentValue2$Outbound;
10234
10243
 
10235
10244
  /** @internal */
10236
10245
  export const GetDeploymentHasDeploymentsValue$outboundSchema: z.ZodType<
10237
10246
  GetDeploymentHasDeploymentsValue$Outbound,
10238
10247
  z.ZodTypeDef,
10239
10248
  GetDeploymentHasDeploymentsValue
10240
- > = z.union([z.lazy(() => GetDeploymentValue2$outboundSchema), z.string()]);
10249
+ > = z.union([z.string(), z.lazy(() => GetDeploymentValue2$outboundSchema)]);
10241
10250
 
10242
10251
  /**
10243
10252
  * @internal
@@ -10280,7 +10289,7 @@ export const GetDeploymentHas2$inboundSchema: z.ZodType<
10280
10289
  > = z.object({
10281
10290
  type: GetDeploymentHasDeploymentsType$inboundSchema,
10282
10291
  key: z.string(),
10283
- value: z.union([z.lazy(() => GetDeploymentValue2$inboundSchema), z.string()])
10292
+ value: z.union([z.string(), z.lazy(() => GetDeploymentValue2$inboundSchema)])
10284
10293
  .optional(),
10285
10294
  });
10286
10295
 
@@ -10288,7 +10297,7 @@ export const GetDeploymentHas2$inboundSchema: z.ZodType<
10288
10297
  export type GetDeploymentHas2$Outbound = {
10289
10298
  type: string;
10290
10299
  key: string;
10291
- value?: GetDeploymentValue2$Outbound | string | undefined;
10300
+ value?: string | GetDeploymentValue2$Outbound | undefined;
10292
10301
  };
10293
10302
 
10294
10303
  /** @internal */
@@ -10299,7 +10308,7 @@ export const GetDeploymentHas2$outboundSchema: z.ZodType<
10299
10308
  > = z.object({
10300
10309
  type: GetDeploymentHasDeploymentsType$outboundSchema,
10301
10310
  key: z.string(),
10302
- value: z.union([z.lazy(() => GetDeploymentValue2$outboundSchema), z.string()])
10311
+ value: z.union([z.string(), z.lazy(() => GetDeploymentValue2$outboundSchema)])
10303
10312
  .optional(),
10304
10313
  });
10305
10314
 
@@ -10516,14 +10525,14 @@ export const GetDeploymentHasValue$inboundSchema: z.ZodType<
10516
10525
  z.ZodTypeDef,
10517
10526
  unknown
10518
10527
  > = z.union([
10519
- z.lazy(() => GetDeploymentValueDeploymentsResponse2002$inboundSchema),
10520
10528
  z.string(),
10529
+ z.lazy(() => GetDeploymentValueDeploymentsResponse2002$inboundSchema),
10521
10530
  ]);
10522
10531
 
10523
10532
  /** @internal */
10524
10533
  export type GetDeploymentHasValue$Outbound =
10525
- | GetDeploymentValueDeploymentsResponse2002$Outbound
10526
- | string;
10534
+ | string
10535
+ | GetDeploymentValueDeploymentsResponse2002$Outbound;
10527
10536
 
10528
10537
  /** @internal */
10529
10538
  export const GetDeploymentHasValue$outboundSchema: z.ZodType<
@@ -10531,8 +10540,8 @@ export const GetDeploymentHasValue$outboundSchema: z.ZodType<
10531
10540
  z.ZodTypeDef,
10532
10541
  GetDeploymentHasValue
10533
10542
  > = z.union([
10534
- z.lazy(() => GetDeploymentValueDeploymentsResponse2002$outboundSchema),
10535
10543
  z.string(),
10544
+ z.lazy(() => GetDeploymentValueDeploymentsResponse2002$outboundSchema),
10536
10545
  ]);
10537
10546
 
10538
10547
  /**
@@ -10574,15 +10583,15 @@ export const GetDeploymentHas1$inboundSchema: z.ZodType<
10574
10583
  > = z.object({
10575
10584
  type: GetDeploymentHasType$inboundSchema,
10576
10585
  value: z.union([
10577
- z.lazy(() => GetDeploymentValueDeploymentsResponse2002$inboundSchema),
10578
10586
  z.string(),
10587
+ z.lazy(() => GetDeploymentValueDeploymentsResponse2002$inboundSchema),
10579
10588
  ]),
10580
10589
  });
10581
10590
 
10582
10591
  /** @internal */
10583
10592
  export type GetDeploymentHas1$Outbound = {
10584
10593
  type: string;
10585
- value: GetDeploymentValueDeploymentsResponse2002$Outbound | string;
10594
+ value: string | GetDeploymentValueDeploymentsResponse2002$Outbound;
10586
10595
  };
10587
10596
 
10588
10597
  /** @internal */
@@ -10593,8 +10602,8 @@ export const GetDeploymentHas1$outboundSchema: z.ZodType<
10593
10602
  > = z.object({
10594
10603
  type: GetDeploymentHasType$outboundSchema,
10595
10604
  value: z.union([
10596
- z.lazy(() => GetDeploymentValueDeploymentsResponse2002$outboundSchema),
10597
10605
  z.string(),
10606
+ z.lazy(() => GetDeploymentValueDeploymentsResponse2002$outboundSchema),
10598
10607
  ]),
10599
10608
  });
10600
10609
 
@@ -10852,14 +10861,14 @@ export const GetDeploymentMissingValue$inboundSchema: z.ZodType<
10852
10861
  z.ZodTypeDef,
10853
10862
  unknown
10854
10863
  > = z.union([
10855
- z.lazy(() => GetDeploymentValueDeploymentsResponse2$inboundSchema),
10856
10864
  z.string(),
10865
+ z.lazy(() => GetDeploymentValueDeploymentsResponse2$inboundSchema),
10857
10866
  ]);
10858
10867
 
10859
10868
  /** @internal */
10860
10869
  export type GetDeploymentMissingValue$Outbound =
10861
- | GetDeploymentValueDeploymentsResponse2$Outbound
10862
- | string;
10870
+ | string
10871
+ | GetDeploymentValueDeploymentsResponse2$Outbound;
10863
10872
 
10864
10873
  /** @internal */
10865
10874
  export const GetDeploymentMissingValue$outboundSchema: z.ZodType<
@@ -10867,8 +10876,8 @@ export const GetDeploymentMissingValue$outboundSchema: z.ZodType<
10867
10876
  z.ZodTypeDef,
10868
10877
  GetDeploymentMissingValue
10869
10878
  > = z.union([
10870
- z.lazy(() => GetDeploymentValueDeploymentsResponse2$outboundSchema),
10871
10879
  z.string(),
10880
+ z.lazy(() => GetDeploymentValueDeploymentsResponse2$outboundSchema),
10872
10881
  ]);
10873
10882
 
10874
10883
  /**
@@ -10911,8 +10920,8 @@ export const GetDeploymentMissing2$inboundSchema: z.ZodType<
10911
10920
  type: GetDeploymentMissingType$inboundSchema,
10912
10921
  key: z.string(),
10913
10922
  value: z.union([
10914
- z.lazy(() => GetDeploymentValueDeploymentsResponse2$inboundSchema),
10915
10923
  z.string(),
10924
+ z.lazy(() => GetDeploymentValueDeploymentsResponse2$inboundSchema),
10916
10925
  ]).optional(),
10917
10926
  });
10918
10927
 
@@ -10920,7 +10929,7 @@ export const GetDeploymentMissing2$inboundSchema: z.ZodType<
10920
10929
  export type GetDeploymentMissing2$Outbound = {
10921
10930
  type: string;
10922
10931
  key: string;
10923
- value?: GetDeploymentValueDeploymentsResponse2$Outbound | string | undefined;
10932
+ value?: string | GetDeploymentValueDeploymentsResponse2$Outbound | undefined;
10924
10933
  };
10925
10934
 
10926
10935
  /** @internal */
@@ -10932,8 +10941,8 @@ export const GetDeploymentMissing2$outboundSchema: z.ZodType<
10932
10941
  type: GetDeploymentMissingType$outboundSchema,
10933
10942
  key: z.string(),
10934
10943
  value: z.union([
10935
- z.lazy(() => GetDeploymentValueDeploymentsResponse2$outboundSchema),
10936
10944
  z.string(),
10945
+ z.lazy(() => GetDeploymentValueDeploymentsResponse2$outboundSchema),
10937
10946
  ]).optional(),
10938
10947
  });
10939
10948
 
@@ -11131,14 +11140,14 @@ export const GetDeploymentMissingDeploymentsValue$inboundSchema: z.ZodType<
11131
11140
  z.ZodTypeDef,
11132
11141
  unknown
11133
11142
  > = z.union([
11134
- z.lazy(() => GetDeploymentValueDeployments2$inboundSchema),
11135
11143
  z.string(),
11144
+ z.lazy(() => GetDeploymentValueDeployments2$inboundSchema),
11136
11145
  ]);
11137
11146
 
11138
11147
  /** @internal */
11139
11148
  export type GetDeploymentMissingDeploymentsValue$Outbound =
11140
- | GetDeploymentValueDeployments2$Outbound
11141
- | string;
11149
+ | string
11150
+ | GetDeploymentValueDeployments2$Outbound;
11142
11151
 
11143
11152
  /** @internal */
11144
11153
  export const GetDeploymentMissingDeploymentsValue$outboundSchema: z.ZodType<
@@ -11146,8 +11155,8 @@ export const GetDeploymentMissingDeploymentsValue$outboundSchema: z.ZodType<
11146
11155
  z.ZodTypeDef,
11147
11156
  GetDeploymentMissingDeploymentsValue
11148
11157
  > = z.union([
11149
- z.lazy(() => GetDeploymentValueDeployments2$outboundSchema),
11150
11158
  z.string(),
11159
+ z.lazy(() => GetDeploymentValueDeployments2$outboundSchema),
11151
11160
  ]);
11152
11161
 
11153
11162
  /**
@@ -11194,15 +11203,15 @@ export const GetDeploymentMissing1$inboundSchema: z.ZodType<
11194
11203
  > = z.object({
11195
11204
  type: GetDeploymentMissingDeploymentsType$inboundSchema,
11196
11205
  value: z.union([
11197
- z.lazy(() => GetDeploymentValueDeployments2$inboundSchema),
11198
11206
  z.string(),
11207
+ z.lazy(() => GetDeploymentValueDeployments2$inboundSchema),
11199
11208
  ]),
11200
11209
  });
11201
11210
 
11202
11211
  /** @internal */
11203
11212
  export type GetDeploymentMissing1$Outbound = {
11204
11213
  type: string;
11205
- value: GetDeploymentValueDeployments2$Outbound | string;
11214
+ value: string | GetDeploymentValueDeployments2$Outbound;
11206
11215
  };
11207
11216
 
11208
11217
  /** @internal */
@@ -11213,8 +11222,8 @@ export const GetDeploymentMissing1$outboundSchema: z.ZodType<
11213
11222
  > = z.object({
11214
11223
  type: GetDeploymentMissingDeploymentsType$outboundSchema,
11215
11224
  value: z.union([
11216
- z.lazy(() => GetDeploymentValueDeployments2$outboundSchema),
11217
11225
  z.string(),
11226
+ z.lazy(() => GetDeploymentValueDeployments2$outboundSchema),
11218
11227
  ]),
11219
11228
  });
11220
11229
 
@@ -11558,19 +11567,19 @@ export const GetDeploymentRoutesKey$inboundSchema: z.ZodType<
11558
11567
  GetDeploymentRoutesKey,
11559
11568
  z.ZodTypeDef,
11560
11569
  unknown
11561
- > = z.union([z.lazy(() => GetDeploymentKey2$inboundSchema), z.string()]);
11570
+ > = z.union([z.string(), z.lazy(() => GetDeploymentKey2$inboundSchema)]);
11562
11571
 
11563
11572
  /** @internal */
11564
11573
  export type GetDeploymentRoutesKey$Outbound =
11565
- | GetDeploymentKey2$Outbound
11566
- | string;
11574
+ | string
11575
+ | GetDeploymentKey2$Outbound;
11567
11576
 
11568
11577
  /** @internal */
11569
11578
  export const GetDeploymentRoutesKey$outboundSchema: z.ZodType<
11570
11579
  GetDeploymentRoutesKey$Outbound,
11571
11580
  z.ZodTypeDef,
11572
11581
  GetDeploymentRoutesKey
11573
- > = z.union([z.lazy(() => GetDeploymentKey2$outboundSchema), z.string()]);
11582
+ > = z.union([z.string(), z.lazy(() => GetDeploymentKey2$outboundSchema)]);
11574
11583
 
11575
11584
  /**
11576
11585
  * @internal
@@ -11609,12 +11618,12 @@ export const GetDeploymentRoutesTarget$inboundSchema: z.ZodType<
11609
11618
  z.ZodTypeDef,
11610
11619
  unknown
11611
11620
  > = z.object({
11612
- key: z.union([z.lazy(() => GetDeploymentKey2$inboundSchema), z.string()]),
11621
+ key: z.union([z.string(), z.lazy(() => GetDeploymentKey2$inboundSchema)]),
11613
11622
  });
11614
11623
 
11615
11624
  /** @internal */
11616
11625
  export type GetDeploymentRoutesTarget$Outbound = {
11617
- key: GetDeploymentKey2$Outbound | string;
11626
+ key: string | GetDeploymentKey2$Outbound;
11618
11627
  };
11619
11628
 
11620
11629
  /** @internal */
@@ -11623,7 +11632,7 @@ export const GetDeploymentRoutesTarget$outboundSchema: z.ZodType<
11623
11632
  z.ZodTypeDef,
11624
11633
  GetDeploymentRoutesTarget
11625
11634
  > = z.object({
11626
- key: z.union([z.lazy(() => GetDeploymentKey2$outboundSchema), z.string()]),
11635
+ key: z.union([z.string(), z.lazy(() => GetDeploymentKey2$outboundSchema)]),
11627
11636
  });
11628
11637
 
11629
11638
  /**
@@ -12847,6 +12856,7 @@ export const GetDeploymentMicrofrontends2$inboundSchema: z.ZodType<
12847
12856
  defaultRoute: z.string().optional(),
12848
12857
  groupIds: z.array(z.string()),
12849
12858
  microfrontendsAlias2Enabled: z.boolean().optional(),
12859
+ microfrontendsAliasRoutingVercelSiteProdTestHost: z.boolean().optional(),
12850
12860
  });
12851
12861
 
12852
12862
  /** @internal */
@@ -12860,6 +12870,7 @@ export type GetDeploymentMicrofrontends2$Outbound = {
12860
12870
  defaultRoute?: string | undefined;
12861
12871
  groupIds: Array<string>;
12862
12872
  microfrontendsAlias2Enabled?: boolean | undefined;
12873
+ microfrontendsAliasRoutingVercelSiteProdTestHost?: boolean | undefined;
12863
12874
  };
12864
12875
 
12865
12876
  /** @internal */
@@ -12878,6 +12889,7 @@ export const GetDeploymentMicrofrontends2$outboundSchema: z.ZodType<
12878
12889
  defaultRoute: z.string().optional(),
12879
12890
  groupIds: z.array(z.string()),
12880
12891
  microfrontendsAlias2Enabled: z.boolean().optional(),
12892
+ microfrontendsAliasRoutingVercelSiteProdTestHost: z.boolean().optional(),
12881
12893
  });
12882
12894
 
12883
12895
  /**
@@ -12924,6 +12936,7 @@ export const GetDeploymentMicrofrontends1$inboundSchema: z.ZodType<
12924
12936
  defaultRoute: z.string().optional(),
12925
12937
  groupIds: z.array(z.string()),
12926
12938
  microfrontendsAlias2Enabled: z.boolean().optional(),
12939
+ microfrontendsAliasRoutingVercelSiteProdTestHost: z.boolean().optional(),
12927
12940
  });
12928
12941
 
12929
12942
  /** @internal */
@@ -12933,6 +12946,7 @@ export type GetDeploymentMicrofrontends1$Outbound = {
12933
12946
  defaultRoute?: string | undefined;
12934
12947
  groupIds: Array<string>;
12935
12948
  microfrontendsAlias2Enabled?: boolean | undefined;
12949
+ microfrontendsAliasRoutingVercelSiteProdTestHost?: boolean | undefined;
12936
12950
  };
12937
12951
 
12938
12952
  /** @internal */
@@ -12946,6 +12960,7 @@ export const GetDeploymentMicrofrontends1$outboundSchema: z.ZodType<
12946
12960
  defaultRoute: z.string().optional(),
12947
12961
  groupIds: z.array(z.string()),
12948
12962
  microfrontendsAlias2Enabled: z.boolean().optional(),
12963
+ microfrontendsAliasRoutingVercelSiteProdTestHost: z.boolean().optional(),
12949
12964
  });
12950
12965
 
12951
12966
  /**
@@ -32,6 +32,10 @@ export type GetDeploymentsRequest = {
32
32
  * Filter deployments from the given ID or name.
33
33
  */
34
34
  projectId?: string | undefined;
35
+ /**
36
+ * Filter deployments from the given project IDs. Cannot be used when projectId is specified.
37
+ */
38
+ projectIds?: Array<string> | undefined;
35
39
  /**
36
40
  * Filter deployments based on the environment.
37
41
  */
@@ -329,6 +333,7 @@ export const GetDeploymentsFramework = {
329
333
  Nitro: "nitro",
330
334
  Hono: "hono",
331
335
  Express: "express",
336
+ H3: "h3",
332
337
  Xmcp: "xmcp",
333
338
  } as const;
334
339
  export type GetDeploymentsFramework = ClosedEnum<
@@ -581,6 +586,7 @@ export const GetDeploymentsRequest$inboundSchema: z.ZodType<
581
586
  from: z.number().optional(),
582
587
  limit: z.number().optional(),
583
588
  projectId: z.string().optional(),
589
+ projectIds: z.array(z.string()).optional(),
584
590
  target: z.string().optional(),
585
591
  to: z.number().optional(),
586
592
  users: z.string().optional(),
@@ -600,6 +606,7 @@ export type GetDeploymentsRequest$Outbound = {
600
606
  from?: number | undefined;
601
607
  limit?: number | undefined;
602
608
  projectId?: string | undefined;
609
+ projectIds?: Array<string> | undefined;
603
610
  target?: string | undefined;
604
611
  to?: number | undefined;
605
612
  users?: string | undefined;
@@ -623,6 +630,7 @@ export const GetDeploymentsRequest$outboundSchema: z.ZodType<
623
630
  from: z.number().optional(),
624
631
  limit: z.number().optional(),
625
632
  projectId: z.string().optional(),
633
+ projectIds: z.array(z.string()).optional(),
626
634
  target: z.string().optional(),
627
635
  to: z.number().optional(),
628
636
  users: z.string().optional(),
@@ -65,7 +65,7 @@ export type GetEdgeConfigPurpose =
65
65
  export type GetEdgeConfigResponseBody = {
66
66
  createdAt: number;
67
67
  updatedAt: number;
68
- deletedAt?: number | undefined;
68
+ deletedAt?: number | null | undefined;
69
69
  id: string;
70
70
  /**
71
71
  * Name for the Edge Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores).
@@ -476,7 +476,7 @@ export const GetEdgeConfigResponseBody$inboundSchema: z.ZodType<
476
476
  > = z.object({
477
477
  createdAt: z.number(),
478
478
  updatedAt: z.number(),
479
- deletedAt: z.number().optional(),
479
+ deletedAt: z.nullable(z.number()).optional(),
480
480
  id: z.string(),
481
481
  slug: z.string(),
482
482
  ownerId: z.string(),
@@ -496,7 +496,7 @@ export const GetEdgeConfigResponseBody$inboundSchema: z.ZodType<
496
496
  export type GetEdgeConfigResponseBody$Outbound = {
497
497
  createdAt: number;
498
498
  updatedAt: number;
499
- deletedAt?: number | undefined;
499
+ deletedAt?: number | null | undefined;
500
500
  id: string;
501
501
  slug: string;
502
502
  ownerId: string;
@@ -520,7 +520,7 @@ export const GetEdgeConfigResponseBody$outboundSchema: z.ZodType<
520
520
  > = z.object({
521
521
  createdAt: z.number(),
522
522
  updatedAt: z.number(),
523
- deletedAt: z.number().optional(),
523
+ deletedAt: z.nullable(z.number()).optional(),
524
524
  id: z.string(),
525
525
  slug: z.string(),
526
526
  ownerId: z.string(),