@vercel/sdk 1.11.4 → 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 (196) hide show
  1. package/README.md +15 -7
  2. package/bin/mcp-server.js +4056 -2676
  3. package/bin/mcp-server.js.map +39 -33
  4. package/docs/sdks/deployments/README.md +8 -0
  5. package/docs/sdks/edgecache/README.md +169 -0
  6. package/docs/sdks/projects/README.md +0 -2
  7. package/esm/__tests__/checks.test.js +1 -1
  8. package/esm/__tests__/checks.test.js.map +1 -1
  9. package/esm/__tests__/deployments.test.js +1 -1
  10. package/esm/__tests__/deployments.test.js.map +1 -1
  11. package/esm/__tests__/integrations.test.js +1 -1
  12. package/esm/__tests__/logdrains.test.js +9 -0
  13. package/esm/__tests__/logdrains.test.js.map +1 -1
  14. package/esm/__tests__/rollingrelease.test.js +2 -2
  15. package/esm/__tests__/rollingrelease.test.js.map +1 -1
  16. package/esm/__tests__/security.test.js +11 -1
  17. package/esm/__tests__/security.test.js.map +1 -1
  18. package/esm/funcs/deploymentsGetDeployments.js +1 -0
  19. package/esm/funcs/deploymentsGetDeployments.js.map +1 -1
  20. package/esm/funcs/edgeCacheDangerouslyDeleteByTags.d.ts +20 -0
  21. package/esm/funcs/edgeCacheDangerouslyDeleteByTags.d.ts.map +1 -0
  22. package/esm/funcs/edgeCacheDangerouslyDeleteByTags.js +91 -0
  23. package/esm/funcs/edgeCacheDangerouslyDeleteByTags.js.map +1 -0
  24. package/esm/funcs/edgeCacheInvalidateByTags.d.ts +20 -0
  25. package/esm/funcs/edgeCacheInvalidateByTags.d.ts.map +1 -0
  26. package/esm/funcs/edgeCacheInvalidateByTags.js +91 -0
  27. package/esm/funcs/edgeCacheInvalidateByTags.js.map +1 -0
  28. package/esm/funcs/marketplaceImportResource.js +2 -2
  29. package/esm/funcs/marketplaceImportResource.js.map +1 -1
  30. package/esm/funcs/marketplaceUpdateResourceSecrets.js +2 -2
  31. package/esm/funcs/marketplaceUpdateResourceSecrets.js.map +1 -1
  32. package/esm/funcs/marketplaceUpdateResourceSecretsById.js +2 -2
  33. package/esm/funcs/marketplaceUpdateResourceSecretsById.js.map +1 -1
  34. package/esm/funcs/projectsGetProjects.js +0 -1
  35. package/esm/funcs/projectsGetProjects.js.map +1 -1
  36. package/esm/lib/config.d.ts +3 -3
  37. package/esm/lib/config.js +3 -3
  38. package/esm/lib/url.js +1 -1
  39. package/esm/lib/url.js.map +1 -1
  40. package/esm/mcp-server/mcp-server.js +1 -1
  41. package/esm/mcp-server/server.d.ts.map +1 -1
  42. package/esm/mcp-server/server.js +5 -1
  43. package/esm/mcp-server/server.js.map +1 -1
  44. package/esm/mcp-server/tools/edgeCacheDangerouslyDeleteByTags.d.ts +7 -0
  45. package/esm/mcp-server/tools/edgeCacheDangerouslyDeleteByTags.d.ts.map +1 -0
  46. package/esm/mcp-server/tools/edgeCacheDangerouslyDeleteByTags.js +27 -0
  47. package/esm/mcp-server/tools/edgeCacheDangerouslyDeleteByTags.js.map +1 -0
  48. package/esm/mcp-server/tools/edgeCacheInvalidateByTags.d.ts +7 -0
  49. package/esm/mcp-server/tools/edgeCacheInvalidateByTags.d.ts.map +1 -0
  50. package/esm/mcp-server/tools/edgeCacheInvalidateByTags.js +27 -0
  51. package/esm/mcp-server/tools/edgeCacheInvalidateByTags.js.map +1 -0
  52. package/esm/models/canceldeploymentop.d.ts +60 -50
  53. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  54. package/esm/models/canceldeploymentop.js +58 -54
  55. package/esm/models/canceldeploymentop.js.map +1 -1
  56. package/esm/models/createdeploymentop.d.ts +248 -109
  57. package/esm/models/createdeploymentop.d.ts.map +1 -1
  58. package/esm/models/createdeploymentop.js +244 -111
  59. package/esm/models/createdeploymentop.js.map +1 -1
  60. package/esm/models/createedgeconfigop.d.ts +2 -2
  61. package/esm/models/createedgeconfigop.d.ts.map +1 -1
  62. package/esm/models/createedgeconfigop.js +2 -2
  63. package/esm/models/createedgeconfigop.js.map +1 -1
  64. package/esm/models/createintegrationstoredirectop.d.ts +903 -308
  65. package/esm/models/createintegrationstoredirectop.d.ts.map +1 -1
  66. package/esm/models/createintegrationstoredirectop.js +1076 -371
  67. package/esm/models/createintegrationstoredirectop.js.map +1 -1
  68. package/esm/models/createlogdrainop.d.ts +126 -4
  69. package/esm/models/createlogdrainop.d.ts.map +1 -1
  70. package/esm/models/createlogdrainop.js +129 -1
  71. package/esm/models/createlogdrainop.js.map +1 -1
  72. package/esm/models/createprojectenvop.d.ts +6 -6
  73. package/esm/models/createprojectenvop.js +2 -2
  74. package/esm/models/createprojectenvop.js.map +1 -1
  75. package/esm/models/createprojectop.d.ts +32 -30
  76. package/esm/models/createprojectop.d.ts.map +1 -1
  77. package/esm/models/createprojectop.js +20 -18
  78. package/esm/models/createprojectop.js.map +1 -1
  79. package/esm/models/dangerouslydeletebytagsop.d.ts +117 -0
  80. package/esm/models/dangerouslydeletebytagsop.d.ts.map +1 -0
  81. package/esm/models/dangerouslydeletebytagsop.js +117 -0
  82. package/esm/models/dangerouslydeletebytagsop.js.map +1 -0
  83. package/esm/models/editprojectenvop.d.ts +3 -3
  84. package/esm/models/editprojectenvop.js +1 -1
  85. package/esm/models/editprojectenvop.js.map +1 -1
  86. package/esm/models/getconfigurationop.d.ts +8 -8
  87. package/esm/models/getconfigurationop.d.ts.map +1 -1
  88. package/esm/models/getconfigurationop.js +12 -12
  89. package/esm/models/getconfigurationop.js.map +1 -1
  90. package/esm/models/getconfigurationproductsop.d.ts +909 -390
  91. package/esm/models/getconfigurationproductsop.d.ts.map +1 -1
  92. package/esm/models/getconfigurationproductsop.js +1104 -471
  93. package/esm/models/getconfigurationproductsop.js.map +1 -1
  94. package/esm/models/getconfigurationsop.d.ts +3 -0
  95. package/esm/models/getconfigurationsop.d.ts.map +1 -1
  96. package/esm/models/getconfigurationsop.js +1 -0
  97. package/esm/models/getconfigurationsop.js.map +1 -1
  98. package/esm/models/getdeploymentop.d.ts +30 -20
  99. package/esm/models/getdeploymentop.d.ts.map +1 -1
  100. package/esm/models/getdeploymentop.js +24 -20
  101. package/esm/models/getdeploymentop.js.map +1 -1
  102. package/esm/models/getdeploymentsop.d.ts +5 -0
  103. package/esm/models/getdeploymentsop.d.ts.map +1 -1
  104. package/esm/models/getdeploymentsop.js +2 -0
  105. package/esm/models/getdeploymentsop.js.map +1 -1
  106. package/esm/models/getedgeconfigop.d.ts +2 -2
  107. package/esm/models/getedgeconfigop.d.ts.map +1 -1
  108. package/esm/models/getedgeconfigop.js +2 -2
  109. package/esm/models/getedgeconfigop.js.map +1 -1
  110. package/esm/models/getintegrationlogdrainsop.d.ts +125 -0
  111. package/esm/models/getintegrationlogdrainsop.d.ts.map +1 -1
  112. package/esm/models/getintegrationlogdrainsop.js +130 -0
  113. package/esm/models/getintegrationlogdrainsop.js.map +1 -1
  114. package/esm/models/getprojectsop.d.ts +198 -178
  115. package/esm/models/getprojectsop.d.ts.map +1 -1
  116. package/esm/models/getprojectsop.js +204 -166
  117. package/esm/models/getprojectsop.js.map +1 -1
  118. package/esm/models/invalidatebytagsop.d.ts +115 -0
  119. package/esm/models/invalidatebytagsop.d.ts.map +1 -0
  120. package/esm/models/invalidatebytagsop.js +116 -0
  121. package/esm/models/invalidatebytagsop.js.map +1 -0
  122. package/esm/models/removeprojectenvop.d.ts +9 -9
  123. package/esm/models/removeprojectenvop.js +3 -3
  124. package/esm/models/removeprojectenvop.js.map +1 -1
  125. package/esm/models/updateedgeconfigop.d.ts +2 -2
  126. package/esm/models/updateedgeconfigop.d.ts.map +1 -1
  127. package/esm/models/updateedgeconfigop.js +2 -2
  128. package/esm/models/updateedgeconfigop.js.map +1 -1
  129. package/esm/models/updateprojectdatacacheop.d.ts +2 -0
  130. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  131. package/esm/models/updateprojectdatacacheop.js +2 -0
  132. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  133. package/esm/models/updateprojectop.d.ts +32 -30
  134. package/esm/models/updateprojectop.d.ts.map +1 -1
  135. package/esm/models/updateprojectop.js +20 -18
  136. package/esm/models/updateprojectop.js.map +1 -1
  137. package/esm/models/userevent.d.ts +1300 -1049
  138. package/esm/models/userevent.d.ts.map +1 -1
  139. package/esm/models/userevent.js +1654 -1406
  140. package/esm/models/userevent.js.map +1 -1
  141. package/esm/sdk/edgecache.d.ts +20 -0
  142. package/esm/sdk/edgecache.d.ts.map +1 -0
  143. package/esm/sdk/edgecache.js +28 -0
  144. package/esm/sdk/edgecache.js.map +1 -0
  145. package/esm/sdk/sdk.d.ts +3 -0
  146. package/esm/sdk/sdk.d.ts.map +1 -1
  147. package/esm/sdk/sdk.js +4 -0
  148. package/esm/sdk/sdk.js.map +1 -1
  149. package/examples/package-lock.json +1 -1
  150. package/jsr.json +1 -1
  151. package/package.json +1 -1
  152. package/src/__tests__/checks.test.ts +1 -1
  153. package/src/__tests__/deployments.test.ts +1 -1
  154. package/src/__tests__/integrations.test.ts +1 -1
  155. package/src/__tests__/logdrains.test.ts +9 -0
  156. package/src/__tests__/rollingrelease.test.ts +2 -2
  157. package/src/__tests__/security.test.ts +11 -1
  158. package/src/funcs/deploymentsGetDeployments.ts +1 -0
  159. package/src/funcs/edgeCacheDangerouslyDeleteByTags.ts +199 -0
  160. package/src/funcs/edgeCacheInvalidateByTags.ts +199 -0
  161. package/src/funcs/marketplaceImportResource.ts +2 -2
  162. package/src/funcs/marketplaceUpdateResourceSecrets.ts +2 -2
  163. package/src/funcs/marketplaceUpdateResourceSecretsById.ts +2 -2
  164. package/src/funcs/projectsGetProjects.ts +0 -1
  165. package/src/lib/config.ts +3 -3
  166. package/src/lib/url.ts +1 -1
  167. package/src/mcp-server/mcp-server.ts +1 -1
  168. package/src/mcp-server/server.ts +5 -1
  169. package/src/mcp-server/tools/edgeCacheDangerouslyDeleteByTags.ts +37 -0
  170. package/src/mcp-server/tools/edgeCacheInvalidateByTags.ts +35 -0
  171. package/src/models/canceldeploymentop.ts +126 -104
  172. package/src/models/createdeploymentop.ts +511 -207
  173. package/src/models/createedgeconfigop.ts +4 -4
  174. package/src/models/createintegrationstoredirectop.ts +2458 -673
  175. package/src/models/createlogdrainop.ts +260 -2
  176. package/src/models/createprojectenvop.ts +2 -2
  177. package/src/models/createprojectop.ts +34 -30
  178. package/src/models/dangerouslydeletebytagsop.ts +249 -0
  179. package/src/models/editprojectenvop.ts +1 -1
  180. package/src/models/getconfigurationop.ts +20 -15
  181. package/src/models/getconfigurationproductsop.ts +2433 -838
  182. package/src/models/getconfigurationsop.ts +1 -0
  183. package/src/models/getdeploymentop.ts +62 -48
  184. package/src/models/getdeploymentsop.ts +7 -0
  185. package/src/models/getedgeconfigop.ts +4 -4
  186. package/src/models/getintegrationlogdrainsop.ts +237 -0
  187. package/src/models/getprojectsop.ts +426 -336
  188. package/src/models/invalidatebytagsop.ts +227 -0
  189. package/src/models/removeprojectenvop.ts +3 -3
  190. package/src/models/updateedgeconfigop.ts +4 -4
  191. package/src/models/updateprojectdatacacheop.ts +4 -0
  192. package/src/models/updateprojectop.ts +34 -30
  193. package/src/models/userevent.ts +3017 -2473
  194. package/src/sdk/edgecache.ts +46 -0
  195. package/src/sdk/sdk.ts +6 -0
  196. package/vercel-spec.json +3069 -2056
@@ -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",
@@ -1670,12 +1670,12 @@ export type GetDeploymentValue2 = {
1670
1670
  lte?: number | undefined;
1671
1671
  };
1672
1672
 
1673
- export type GetDeploymentHasDeploymentsValue = GetDeploymentValue2 | string;
1673
+ export type GetDeploymentHasDeploymentsValue = string | GetDeploymentValue2;
1674
1674
 
1675
1675
  export type GetDeploymentHas2 = {
1676
1676
  type: GetDeploymentHasDeploymentsType;
1677
1677
  key: string;
1678
- value?: GetDeploymentValue2 | string | undefined;
1678
+ value?: string | GetDeploymentValue2 | undefined;
1679
1679
  };
1680
1680
 
1681
1681
  export const GetDeploymentHasType = {
@@ -1700,12 +1700,12 @@ export type GetDeploymentValueDeploymentsResponse2002 = {
1700
1700
  };
1701
1701
 
1702
1702
  export type GetDeploymentHasValue =
1703
- | GetDeploymentValueDeploymentsResponse2002
1704
- | string;
1703
+ | string
1704
+ | GetDeploymentValueDeploymentsResponse2002;
1705
1705
 
1706
1706
  export type GetDeploymentHas1 = {
1707
1707
  type: GetDeploymentHasType;
1708
- value: GetDeploymentValueDeploymentsResponse2002 | string;
1708
+ value: string | GetDeploymentValueDeploymentsResponse2002;
1709
1709
  };
1710
1710
 
1711
1711
  export type GetDeploymentRoutesHas = GetDeploymentHas1 | GetDeploymentHas2;
@@ -1736,13 +1736,13 @@ export type GetDeploymentValueDeploymentsResponse2 = {
1736
1736
  };
1737
1737
 
1738
1738
  export type GetDeploymentMissingValue =
1739
- | GetDeploymentValueDeploymentsResponse2
1740
- | string;
1739
+ | string
1740
+ | GetDeploymentValueDeploymentsResponse2;
1741
1741
 
1742
1742
  export type GetDeploymentMissing2 = {
1743
1743
  type: GetDeploymentMissingType;
1744
1744
  key: string;
1745
- value?: GetDeploymentValueDeploymentsResponse2 | string | undefined;
1745
+ value?: string | GetDeploymentValueDeploymentsResponse2 | undefined;
1746
1746
  };
1747
1747
 
1748
1748
  export const GetDeploymentMissingDeploymentsType = {
@@ -1769,12 +1769,12 @@ export type GetDeploymentValueDeployments2 = {
1769
1769
  };
1770
1770
 
1771
1771
  export type GetDeploymentMissingDeploymentsValue =
1772
- | GetDeploymentValueDeployments2
1773
- | string;
1772
+ | string
1773
+ | GetDeploymentValueDeployments2;
1774
1774
 
1775
1775
  export type GetDeploymentMissing1 = {
1776
1776
  type: GetDeploymentMissingDeploymentsType;
1777
- value: GetDeploymentValueDeployments2 | string;
1777
+ value: string | GetDeploymentValueDeployments2;
1778
1778
  };
1779
1779
 
1780
1780
  export type GetDeploymentRoutesMissing =
@@ -1824,10 +1824,10 @@ export type GetDeploymentKey2 = {
1824
1824
  lte?: number | undefined;
1825
1825
  };
1826
1826
 
1827
- export type GetDeploymentRoutesKey = GetDeploymentKey2 | string;
1827
+ export type GetDeploymentRoutesKey = string | GetDeploymentKey2;
1828
1828
 
1829
1829
  export type GetDeploymentRoutesTarget = {
1830
- key: GetDeploymentKey2 | string;
1830
+ key: string | GetDeploymentKey2;
1831
1831
  };
1832
1832
 
1833
1833
  export type GetDeploymentRoutesArgs = string | Array<string>;
@@ -2055,6 +2055,10 @@ export type GetDeploymentMicrofrontends2 = {
2055
2055
  * Whether the MicrofrontendsAlias2 team flag should be considered enabled for this deployment or not.
2056
2056
  */
2057
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;
2058
2062
  };
2059
2063
 
2060
2064
  export type GetDeploymentMicrofrontends1 = {
@@ -2075,6 +2079,10 @@ export type GetDeploymentMicrofrontends1 = {
2075
2079
  * Whether the MicrofrontendsAlias2 team flag should be considered enabled for this deployment or not.
2076
2080
  */
2077
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;
2078
2086
  };
2079
2087
 
2080
2088
  export type ResponseBodyMicrofrontends =
@@ -10226,19 +10234,19 @@ export const GetDeploymentHasDeploymentsValue$inboundSchema: z.ZodType<
10226
10234
  GetDeploymentHasDeploymentsValue,
10227
10235
  z.ZodTypeDef,
10228
10236
  unknown
10229
- > = z.union([z.lazy(() => GetDeploymentValue2$inboundSchema), z.string()]);
10237
+ > = z.union([z.string(), z.lazy(() => GetDeploymentValue2$inboundSchema)]);
10230
10238
 
10231
10239
  /** @internal */
10232
10240
  export type GetDeploymentHasDeploymentsValue$Outbound =
10233
- | GetDeploymentValue2$Outbound
10234
- | string;
10241
+ | string
10242
+ | GetDeploymentValue2$Outbound;
10235
10243
 
10236
10244
  /** @internal */
10237
10245
  export const GetDeploymentHasDeploymentsValue$outboundSchema: z.ZodType<
10238
10246
  GetDeploymentHasDeploymentsValue$Outbound,
10239
10247
  z.ZodTypeDef,
10240
10248
  GetDeploymentHasDeploymentsValue
10241
- > = z.union([z.lazy(() => GetDeploymentValue2$outboundSchema), z.string()]);
10249
+ > = z.union([z.string(), z.lazy(() => GetDeploymentValue2$outboundSchema)]);
10242
10250
 
10243
10251
  /**
10244
10252
  * @internal
@@ -10281,7 +10289,7 @@ export const GetDeploymentHas2$inboundSchema: z.ZodType<
10281
10289
  > = z.object({
10282
10290
  type: GetDeploymentHasDeploymentsType$inboundSchema,
10283
10291
  key: z.string(),
10284
- value: z.union([z.lazy(() => GetDeploymentValue2$inboundSchema), z.string()])
10292
+ value: z.union([z.string(), z.lazy(() => GetDeploymentValue2$inboundSchema)])
10285
10293
  .optional(),
10286
10294
  });
10287
10295
 
@@ -10289,7 +10297,7 @@ export const GetDeploymentHas2$inboundSchema: z.ZodType<
10289
10297
  export type GetDeploymentHas2$Outbound = {
10290
10298
  type: string;
10291
10299
  key: string;
10292
- value?: GetDeploymentValue2$Outbound | string | undefined;
10300
+ value?: string | GetDeploymentValue2$Outbound | undefined;
10293
10301
  };
10294
10302
 
10295
10303
  /** @internal */
@@ -10300,7 +10308,7 @@ export const GetDeploymentHas2$outboundSchema: z.ZodType<
10300
10308
  > = z.object({
10301
10309
  type: GetDeploymentHasDeploymentsType$outboundSchema,
10302
10310
  key: z.string(),
10303
- value: z.union([z.lazy(() => GetDeploymentValue2$outboundSchema), z.string()])
10311
+ value: z.union([z.string(), z.lazy(() => GetDeploymentValue2$outboundSchema)])
10304
10312
  .optional(),
10305
10313
  });
10306
10314
 
@@ -10517,14 +10525,14 @@ export const GetDeploymentHasValue$inboundSchema: z.ZodType<
10517
10525
  z.ZodTypeDef,
10518
10526
  unknown
10519
10527
  > = z.union([
10520
- z.lazy(() => GetDeploymentValueDeploymentsResponse2002$inboundSchema),
10521
10528
  z.string(),
10529
+ z.lazy(() => GetDeploymentValueDeploymentsResponse2002$inboundSchema),
10522
10530
  ]);
10523
10531
 
10524
10532
  /** @internal */
10525
10533
  export type GetDeploymentHasValue$Outbound =
10526
- | GetDeploymentValueDeploymentsResponse2002$Outbound
10527
- | string;
10534
+ | string
10535
+ | GetDeploymentValueDeploymentsResponse2002$Outbound;
10528
10536
 
10529
10537
  /** @internal */
10530
10538
  export const GetDeploymentHasValue$outboundSchema: z.ZodType<
@@ -10532,8 +10540,8 @@ export const GetDeploymentHasValue$outboundSchema: z.ZodType<
10532
10540
  z.ZodTypeDef,
10533
10541
  GetDeploymentHasValue
10534
10542
  > = z.union([
10535
- z.lazy(() => GetDeploymentValueDeploymentsResponse2002$outboundSchema),
10536
10543
  z.string(),
10544
+ z.lazy(() => GetDeploymentValueDeploymentsResponse2002$outboundSchema),
10537
10545
  ]);
10538
10546
 
10539
10547
  /**
@@ -10575,15 +10583,15 @@ export const GetDeploymentHas1$inboundSchema: z.ZodType<
10575
10583
  > = z.object({
10576
10584
  type: GetDeploymentHasType$inboundSchema,
10577
10585
  value: z.union([
10578
- z.lazy(() => GetDeploymentValueDeploymentsResponse2002$inboundSchema),
10579
10586
  z.string(),
10587
+ z.lazy(() => GetDeploymentValueDeploymentsResponse2002$inboundSchema),
10580
10588
  ]),
10581
10589
  });
10582
10590
 
10583
10591
  /** @internal */
10584
10592
  export type GetDeploymentHas1$Outbound = {
10585
10593
  type: string;
10586
- value: GetDeploymentValueDeploymentsResponse2002$Outbound | string;
10594
+ value: string | GetDeploymentValueDeploymentsResponse2002$Outbound;
10587
10595
  };
10588
10596
 
10589
10597
  /** @internal */
@@ -10594,8 +10602,8 @@ export const GetDeploymentHas1$outboundSchema: z.ZodType<
10594
10602
  > = z.object({
10595
10603
  type: GetDeploymentHasType$outboundSchema,
10596
10604
  value: z.union([
10597
- z.lazy(() => GetDeploymentValueDeploymentsResponse2002$outboundSchema),
10598
10605
  z.string(),
10606
+ z.lazy(() => GetDeploymentValueDeploymentsResponse2002$outboundSchema),
10599
10607
  ]),
10600
10608
  });
10601
10609
 
@@ -10853,14 +10861,14 @@ export const GetDeploymentMissingValue$inboundSchema: z.ZodType<
10853
10861
  z.ZodTypeDef,
10854
10862
  unknown
10855
10863
  > = z.union([
10856
- z.lazy(() => GetDeploymentValueDeploymentsResponse2$inboundSchema),
10857
10864
  z.string(),
10865
+ z.lazy(() => GetDeploymentValueDeploymentsResponse2$inboundSchema),
10858
10866
  ]);
10859
10867
 
10860
10868
  /** @internal */
10861
10869
  export type GetDeploymentMissingValue$Outbound =
10862
- | GetDeploymentValueDeploymentsResponse2$Outbound
10863
- | string;
10870
+ | string
10871
+ | GetDeploymentValueDeploymentsResponse2$Outbound;
10864
10872
 
10865
10873
  /** @internal */
10866
10874
  export const GetDeploymentMissingValue$outboundSchema: z.ZodType<
@@ -10868,8 +10876,8 @@ export const GetDeploymentMissingValue$outboundSchema: z.ZodType<
10868
10876
  z.ZodTypeDef,
10869
10877
  GetDeploymentMissingValue
10870
10878
  > = z.union([
10871
- z.lazy(() => GetDeploymentValueDeploymentsResponse2$outboundSchema),
10872
10879
  z.string(),
10880
+ z.lazy(() => GetDeploymentValueDeploymentsResponse2$outboundSchema),
10873
10881
  ]);
10874
10882
 
10875
10883
  /**
@@ -10912,8 +10920,8 @@ export const GetDeploymentMissing2$inboundSchema: z.ZodType<
10912
10920
  type: GetDeploymentMissingType$inboundSchema,
10913
10921
  key: z.string(),
10914
10922
  value: z.union([
10915
- z.lazy(() => GetDeploymentValueDeploymentsResponse2$inboundSchema),
10916
10923
  z.string(),
10924
+ z.lazy(() => GetDeploymentValueDeploymentsResponse2$inboundSchema),
10917
10925
  ]).optional(),
10918
10926
  });
10919
10927
 
@@ -10921,7 +10929,7 @@ export const GetDeploymentMissing2$inboundSchema: z.ZodType<
10921
10929
  export type GetDeploymentMissing2$Outbound = {
10922
10930
  type: string;
10923
10931
  key: string;
10924
- value?: GetDeploymentValueDeploymentsResponse2$Outbound | string | undefined;
10932
+ value?: string | GetDeploymentValueDeploymentsResponse2$Outbound | undefined;
10925
10933
  };
10926
10934
 
10927
10935
  /** @internal */
@@ -10933,8 +10941,8 @@ export const GetDeploymentMissing2$outboundSchema: z.ZodType<
10933
10941
  type: GetDeploymentMissingType$outboundSchema,
10934
10942
  key: z.string(),
10935
10943
  value: z.union([
10936
- z.lazy(() => GetDeploymentValueDeploymentsResponse2$outboundSchema),
10937
10944
  z.string(),
10945
+ z.lazy(() => GetDeploymentValueDeploymentsResponse2$outboundSchema),
10938
10946
  ]).optional(),
10939
10947
  });
10940
10948
 
@@ -11132,14 +11140,14 @@ export const GetDeploymentMissingDeploymentsValue$inboundSchema: z.ZodType<
11132
11140
  z.ZodTypeDef,
11133
11141
  unknown
11134
11142
  > = z.union([
11135
- z.lazy(() => GetDeploymentValueDeployments2$inboundSchema),
11136
11143
  z.string(),
11144
+ z.lazy(() => GetDeploymentValueDeployments2$inboundSchema),
11137
11145
  ]);
11138
11146
 
11139
11147
  /** @internal */
11140
11148
  export type GetDeploymentMissingDeploymentsValue$Outbound =
11141
- | GetDeploymentValueDeployments2$Outbound
11142
- | string;
11149
+ | string
11150
+ | GetDeploymentValueDeployments2$Outbound;
11143
11151
 
11144
11152
  /** @internal */
11145
11153
  export const GetDeploymentMissingDeploymentsValue$outboundSchema: z.ZodType<
@@ -11147,8 +11155,8 @@ export const GetDeploymentMissingDeploymentsValue$outboundSchema: z.ZodType<
11147
11155
  z.ZodTypeDef,
11148
11156
  GetDeploymentMissingDeploymentsValue
11149
11157
  > = z.union([
11150
- z.lazy(() => GetDeploymentValueDeployments2$outboundSchema),
11151
11158
  z.string(),
11159
+ z.lazy(() => GetDeploymentValueDeployments2$outboundSchema),
11152
11160
  ]);
11153
11161
 
11154
11162
  /**
@@ -11195,15 +11203,15 @@ export const GetDeploymentMissing1$inboundSchema: z.ZodType<
11195
11203
  > = z.object({
11196
11204
  type: GetDeploymentMissingDeploymentsType$inboundSchema,
11197
11205
  value: z.union([
11198
- z.lazy(() => GetDeploymentValueDeployments2$inboundSchema),
11199
11206
  z.string(),
11207
+ z.lazy(() => GetDeploymentValueDeployments2$inboundSchema),
11200
11208
  ]),
11201
11209
  });
11202
11210
 
11203
11211
  /** @internal */
11204
11212
  export type GetDeploymentMissing1$Outbound = {
11205
11213
  type: string;
11206
- value: GetDeploymentValueDeployments2$Outbound | string;
11214
+ value: string | GetDeploymentValueDeployments2$Outbound;
11207
11215
  };
11208
11216
 
11209
11217
  /** @internal */
@@ -11214,8 +11222,8 @@ export const GetDeploymentMissing1$outboundSchema: z.ZodType<
11214
11222
  > = z.object({
11215
11223
  type: GetDeploymentMissingDeploymentsType$outboundSchema,
11216
11224
  value: z.union([
11217
- z.lazy(() => GetDeploymentValueDeployments2$outboundSchema),
11218
11225
  z.string(),
11226
+ z.lazy(() => GetDeploymentValueDeployments2$outboundSchema),
11219
11227
  ]),
11220
11228
  });
11221
11229
 
@@ -11559,19 +11567,19 @@ export const GetDeploymentRoutesKey$inboundSchema: z.ZodType<
11559
11567
  GetDeploymentRoutesKey,
11560
11568
  z.ZodTypeDef,
11561
11569
  unknown
11562
- > = z.union([z.lazy(() => GetDeploymentKey2$inboundSchema), z.string()]);
11570
+ > = z.union([z.string(), z.lazy(() => GetDeploymentKey2$inboundSchema)]);
11563
11571
 
11564
11572
  /** @internal */
11565
11573
  export type GetDeploymentRoutesKey$Outbound =
11566
- | GetDeploymentKey2$Outbound
11567
- | string;
11574
+ | string
11575
+ | GetDeploymentKey2$Outbound;
11568
11576
 
11569
11577
  /** @internal */
11570
11578
  export const GetDeploymentRoutesKey$outboundSchema: z.ZodType<
11571
11579
  GetDeploymentRoutesKey$Outbound,
11572
11580
  z.ZodTypeDef,
11573
11581
  GetDeploymentRoutesKey
11574
- > = z.union([z.lazy(() => GetDeploymentKey2$outboundSchema), z.string()]);
11582
+ > = z.union([z.string(), z.lazy(() => GetDeploymentKey2$outboundSchema)]);
11575
11583
 
11576
11584
  /**
11577
11585
  * @internal
@@ -11610,12 +11618,12 @@ export const GetDeploymentRoutesTarget$inboundSchema: z.ZodType<
11610
11618
  z.ZodTypeDef,
11611
11619
  unknown
11612
11620
  > = z.object({
11613
- key: z.union([z.lazy(() => GetDeploymentKey2$inboundSchema), z.string()]),
11621
+ key: z.union([z.string(), z.lazy(() => GetDeploymentKey2$inboundSchema)]),
11614
11622
  });
11615
11623
 
11616
11624
  /** @internal */
11617
11625
  export type GetDeploymentRoutesTarget$Outbound = {
11618
- key: GetDeploymentKey2$Outbound | string;
11626
+ key: string | GetDeploymentKey2$Outbound;
11619
11627
  };
11620
11628
 
11621
11629
  /** @internal */
@@ -11624,7 +11632,7 @@ export const GetDeploymentRoutesTarget$outboundSchema: z.ZodType<
11624
11632
  z.ZodTypeDef,
11625
11633
  GetDeploymentRoutesTarget
11626
11634
  > = z.object({
11627
- key: z.union([z.lazy(() => GetDeploymentKey2$outboundSchema), z.string()]),
11635
+ key: z.union([z.string(), z.lazy(() => GetDeploymentKey2$outboundSchema)]),
11628
11636
  });
11629
11637
 
11630
11638
  /**
@@ -12848,6 +12856,7 @@ export const GetDeploymentMicrofrontends2$inboundSchema: z.ZodType<
12848
12856
  defaultRoute: z.string().optional(),
12849
12857
  groupIds: z.array(z.string()),
12850
12858
  microfrontendsAlias2Enabled: z.boolean().optional(),
12859
+ microfrontendsAliasRoutingVercelSiteProdTestHost: z.boolean().optional(),
12851
12860
  });
12852
12861
 
12853
12862
  /** @internal */
@@ -12861,6 +12870,7 @@ export type GetDeploymentMicrofrontends2$Outbound = {
12861
12870
  defaultRoute?: string | undefined;
12862
12871
  groupIds: Array<string>;
12863
12872
  microfrontendsAlias2Enabled?: boolean | undefined;
12873
+ microfrontendsAliasRoutingVercelSiteProdTestHost?: boolean | undefined;
12864
12874
  };
12865
12875
 
12866
12876
  /** @internal */
@@ -12879,6 +12889,7 @@ export const GetDeploymentMicrofrontends2$outboundSchema: z.ZodType<
12879
12889
  defaultRoute: z.string().optional(),
12880
12890
  groupIds: z.array(z.string()),
12881
12891
  microfrontendsAlias2Enabled: z.boolean().optional(),
12892
+ microfrontendsAliasRoutingVercelSiteProdTestHost: z.boolean().optional(),
12882
12893
  });
12883
12894
 
12884
12895
  /**
@@ -12925,6 +12936,7 @@ export const GetDeploymentMicrofrontends1$inboundSchema: z.ZodType<
12925
12936
  defaultRoute: z.string().optional(),
12926
12937
  groupIds: z.array(z.string()),
12927
12938
  microfrontendsAlias2Enabled: z.boolean().optional(),
12939
+ microfrontendsAliasRoutingVercelSiteProdTestHost: z.boolean().optional(),
12928
12940
  });
12929
12941
 
12930
12942
  /** @internal */
@@ -12934,6 +12946,7 @@ export type GetDeploymentMicrofrontends1$Outbound = {
12934
12946
  defaultRoute?: string | undefined;
12935
12947
  groupIds: Array<string>;
12936
12948
  microfrontendsAlias2Enabled?: boolean | undefined;
12949
+ microfrontendsAliasRoutingVercelSiteProdTestHost?: boolean | undefined;
12937
12950
  };
12938
12951
 
12939
12952
  /** @internal */
@@ -12947,6 +12960,7 @@ export const GetDeploymentMicrofrontends1$outboundSchema: z.ZodType<
12947
12960
  defaultRoute: z.string().optional(),
12948
12961
  groupIds: z.array(z.string()),
12949
12962
  microfrontendsAlias2Enabled: z.boolean().optional(),
12963
+ microfrontendsAliasRoutingVercelSiteProdTestHost: z.boolean().optional(),
12950
12964
  });
12951
12965
 
12952
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
  */
@@ -582,6 +586,7 @@ export const GetDeploymentsRequest$inboundSchema: z.ZodType<
582
586
  from: z.number().optional(),
583
587
  limit: z.number().optional(),
584
588
  projectId: z.string().optional(),
589
+ projectIds: z.array(z.string()).optional(),
585
590
  target: z.string().optional(),
586
591
  to: z.number().optional(),
587
592
  users: z.string().optional(),
@@ -601,6 +606,7 @@ export type GetDeploymentsRequest$Outbound = {
601
606
  from?: number | undefined;
602
607
  limit?: number | undefined;
603
608
  projectId?: string | undefined;
609
+ projectIds?: Array<string> | undefined;
604
610
  target?: string | undefined;
605
611
  to?: number | undefined;
606
612
  users?: string | undefined;
@@ -624,6 +630,7 @@ export const GetDeploymentsRequest$outboundSchema: z.ZodType<
624
630
  from: z.number().optional(),
625
631
  limit: z.number().optional(),
626
632
  projectId: z.string().optional(),
633
+ projectIds: z.array(z.string()).optional(),
627
634
  target: z.string().optional(),
628
635
  to: z.number().optional(),
629
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(),