@vercel/sdk 1.11.1 → 1.11.4

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 (194) hide show
  1. package/README.md +45 -52
  2. package/bin/mcp-server.js +1830 -1660
  3. package/bin/mcp-server.js.map +36 -36
  4. package/docs/sdks/integrations/README.md +83 -0
  5. package/docs/sdks/vercel/README.md +0 -74
  6. package/esm/__tests__/accessgroups.test.js +1 -3
  7. package/esm/__tests__/accessgroups.test.js.map +1 -1
  8. package/esm/__tests__/checks.test.js +1 -1
  9. package/esm/__tests__/checks.test.js.map +1 -1
  10. package/esm/__tests__/integrations.test.js +28 -1
  11. package/esm/__tests__/integrations.test.js.map +1 -1
  12. package/esm/__tests__/rollingrelease.test.js +1 -1
  13. package/esm/__tests__/vercel.test.js +3 -27
  14. package/esm/__tests__/vercel.test.js.map +1 -1
  15. package/esm/funcs/deploymentsUploadFile.js +0 -1
  16. package/esm/funcs/deploymentsUploadFile.js.map +1 -1
  17. package/esm/funcs/domainsGetDomainTransfer.js +2 -2
  18. package/esm/funcs/domainsGetDomainTransfer.js.map +1 -1
  19. package/esm/funcs/integrationsGetBillingPlans.d.ts +20 -0
  20. package/esm/funcs/integrationsGetBillingPlans.d.ts.map +1 -0
  21. package/esm/funcs/{getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js → integrationsGetBillingPlans.js} +21 -9
  22. package/esm/funcs/integrationsGetBillingPlans.js.map +1 -0
  23. package/esm/funcs/marketplaceUpdateResourceSecrets.js +2 -2
  24. package/esm/funcs/marketplaceUpdateResourceSecrets.js.map +1 -1
  25. package/esm/lib/config.d.ts +3 -3
  26. package/esm/lib/config.js +3 -3
  27. package/esm/mcp-server/mcp-server.js +1 -1
  28. package/esm/mcp-server/server.d.ts.map +1 -1
  29. package/esm/mcp-server/server.js +3 -3
  30. package/esm/mcp-server/server.js.map +1 -1
  31. package/esm/mcp-server/tools/integrationsGetBillingPlans.d.ts +7 -0
  32. package/esm/mcp-server/tools/integrationsGetBillingPlans.d.ts.map +1 -0
  33. package/esm/mcp-server/tools/integrationsGetBillingPlans.js +28 -0
  34. package/esm/mcp-server/tools/integrationsGetBillingPlans.js.map +1 -0
  35. package/esm/models/approverollingreleasestageop.d.ts +15 -0
  36. package/esm/models/approverollingreleasestageop.d.ts.map +1 -1
  37. package/esm/models/approverollingreleasestageop.js +6 -0
  38. package/esm/models/approverollingreleasestageop.js.map +1 -1
  39. package/esm/models/canceldeploymentop.d.ts +9 -6
  40. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  41. package/esm/models/canceldeploymentop.js +3 -2
  42. package/esm/models/canceldeploymentop.js.map +1 -1
  43. package/esm/models/completerollingreleaseop.d.ts +15 -0
  44. package/esm/models/completerollingreleaseop.d.ts.map +1 -1
  45. package/esm/models/completerollingreleaseop.js +6 -0
  46. package/esm/models/completerollingreleaseop.js.map +1 -1
  47. package/esm/models/createdeploymentop.d.ts +12 -6
  48. package/esm/models/createdeploymentop.d.ts.map +1 -1
  49. package/esm/models/createdeploymentop.js +4 -2
  50. package/esm/models/createdeploymentop.js.map +1 -1
  51. package/esm/models/createintegrationstoredirectop.d.ts +276 -246
  52. package/esm/models/createintegrationstoredirectop.d.ts.map +1 -1
  53. package/esm/models/createintegrationstoredirectop.js +318 -296
  54. package/esm/models/createintegrationstoredirectop.js.map +1 -1
  55. package/esm/models/createprojectenvop.d.ts +6 -6
  56. package/esm/models/createprojectenvop.js +2 -2
  57. package/esm/models/createprojectenvop.js.map +1 -1
  58. package/esm/models/createprojectop.d.ts +173 -164
  59. package/esm/models/createprojectop.d.ts.map +1 -1
  60. package/esm/models/createprojectop.js +158 -156
  61. package/esm/models/createprojectop.js.map +1 -1
  62. package/esm/models/editprojectenvop.d.ts +3 -3
  63. package/esm/models/editprojectenvop.js +1 -1
  64. package/esm/models/editprojectenvop.js.map +1 -1
  65. package/esm/models/getbillingplansop.d.ts +257 -0
  66. package/esm/models/getbillingplansop.d.ts.map +1 -0
  67. package/esm/models/getbillingplansop.js +244 -0
  68. package/esm/models/getbillingplansop.js.map +1 -0
  69. package/esm/models/getconfigurationproductsop.d.ts +330 -330
  70. package/esm/models/getconfigurationproductsop.js +408 -408
  71. package/esm/models/getdeploymentop.d.ts +9 -6
  72. package/esm/models/getdeploymentop.d.ts.map +1 -1
  73. package/esm/models/getdeploymentop.js +3 -2
  74. package/esm/models/getdeploymentop.js.map +1 -1
  75. package/esm/models/getdeploymentsop.d.ts +3 -0
  76. package/esm/models/getdeploymentsop.d.ts.map +1 -1
  77. package/esm/models/getdeploymentsop.js +1 -0
  78. package/esm/models/getdeploymentsop.js.map +1 -1
  79. package/esm/models/getdomaintransferop.d.ts +99 -25
  80. package/esm/models/getdomaintransferop.d.ts.map +1 -1
  81. package/esm/models/getdomaintransferop.js +101 -25
  82. package/esm/models/getdomaintransferop.js.map +1 -1
  83. package/esm/models/getprojectsop.d.ts +8 -2
  84. package/esm/models/getprojectsop.d.ts.map +1 -1
  85. package/esm/models/getprojectsop.js +3 -2
  86. package/esm/models/getprojectsop.js.map +1 -1
  87. package/esm/models/getrollingreleaseconfigop.d.ts +5 -0
  88. package/esm/models/getrollingreleaseconfigop.d.ts.map +1 -1
  89. package/esm/models/getrollingreleaseconfigop.js +2 -0
  90. package/esm/models/getrollingreleaseconfigop.js.map +1 -1
  91. package/esm/models/getrollingreleaseop.d.ts +15 -0
  92. package/esm/models/getrollingreleaseop.d.ts.map +1 -1
  93. package/esm/models/getrollingreleaseop.js +6 -0
  94. package/esm/models/getrollingreleaseop.js.map +1 -1
  95. package/esm/models/getwebhooksop.d.ts +3 -0
  96. package/esm/models/getwebhooksop.d.ts.map +1 -1
  97. package/esm/models/getwebhooksop.js +1 -0
  98. package/esm/models/getwebhooksop.js.map +1 -1
  99. package/esm/models/importresourceop.d.ts +15 -15
  100. package/esm/models/importresourceop.d.ts.map +1 -1
  101. package/esm/models/importresourceop.js +17 -15
  102. package/esm/models/importresourceop.js.map +1 -1
  103. package/esm/models/patchteamop.d.ts +12 -0
  104. package/esm/models/patchteamop.d.ts.map +1 -1
  105. package/esm/models/patchteamop.js +4 -0
  106. package/esm/models/patchteamop.js.map +1 -1
  107. package/esm/models/removeprojectenvop.d.ts +9 -9
  108. package/esm/models/removeprojectenvop.js +3 -3
  109. package/esm/models/removeprojectenvop.js.map +1 -1
  110. package/esm/models/updateprojectdatacacheop.d.ts +8 -2
  111. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  112. package/esm/models/updateprojectdatacacheop.js +3 -2
  113. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  114. package/esm/models/updateprojectop.d.ts +173 -164
  115. package/esm/models/updateprojectop.d.ts.map +1 -1
  116. package/esm/models/updateprojectop.js +158 -156
  117. package/esm/models/updateprojectop.js.map +1 -1
  118. package/esm/models/updaterollingreleaseconfigop.d.ts +5 -0
  119. package/esm/models/updaterollingreleaseconfigop.d.ts.map +1 -1
  120. package/esm/models/updaterollingreleaseconfigop.js +2 -0
  121. package/esm/models/updaterollingreleaseconfigop.js.map +1 -1
  122. package/esm/models/uploadfileop.d.ts +0 -5
  123. package/esm/models/uploadfileop.d.ts.map +1 -1
  124. package/esm/models/uploadfileop.js +0 -4
  125. package/esm/models/uploadfileop.js.map +1 -1
  126. package/esm/models/userevent.d.ts +960 -770
  127. package/esm/models/userevent.d.ts.map +1 -1
  128. package/esm/models/userevent.js +1102 -974
  129. package/esm/models/userevent.js.map +1 -1
  130. package/esm/sdk/integrations.d.ts +8 -0
  131. package/esm/sdk/integrations.d.ts.map +1 -1
  132. package/esm/sdk/integrations.js +10 -0
  133. package/esm/sdk/integrations.js.map +1 -1
  134. package/esm/sdk/sdk.d.ts +1 -3
  135. package/esm/sdk/sdk.d.ts.map +1 -1
  136. package/esm/sdk/sdk.js +0 -5
  137. package/esm/sdk/sdk.js.map +1 -1
  138. package/examples/package-lock.json +1 -1
  139. package/jsr.json +1 -1
  140. package/package.json +1 -1
  141. package/src/__tests__/accessgroups.test.ts +1 -3
  142. package/src/__tests__/checks.test.ts +1 -1
  143. package/src/__tests__/integrations.test.ts +32 -1
  144. package/src/__tests__/rollingrelease.test.ts +1 -1
  145. package/src/__tests__/vercel.test.ts +4 -33
  146. package/src/funcs/deploymentsUploadFile.ts +0 -5
  147. package/src/funcs/domainsGetDomainTransfer.ts +2 -2
  148. package/src/funcs/{getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.ts → integrationsGetBillingPlans.ts} +30 -24
  149. package/src/funcs/marketplaceUpdateResourceSecrets.ts +2 -2
  150. package/src/lib/config.ts +3 -3
  151. package/src/mcp-server/mcp-server.ts +1 -1
  152. package/src/mcp-server/server.ts +3 -5
  153. package/src/mcp-server/tools/integrationsGetBillingPlans.ts +37 -0
  154. package/src/models/approverollingreleasestageop.ts +21 -0
  155. package/src/models/canceldeploymentop.ts +5 -4
  156. package/src/models/completerollingreleaseop.ts +21 -0
  157. package/src/models/createdeploymentop.ts +6 -4
  158. package/src/models/createintegrationstoredirectop.ts +544 -507
  159. package/src/models/createprojectenvop.ts +2 -2
  160. package/src/models/createprojectop.ts +347 -342
  161. package/src/models/editprojectenvop.ts +1 -1
  162. package/src/models/getbillingplansop.ts +508 -0
  163. package/src/models/getconfigurationproductsop.ts +703 -703
  164. package/src/models/getdeploymentop.ts +5 -4
  165. package/src/models/getdeploymentsop.ts +1 -0
  166. package/src/models/getdomaintransferop.ts +203 -39
  167. package/src/models/getprojectsop.ts +8 -4
  168. package/src/models/getrollingreleaseconfigop.ts +7 -0
  169. package/src/models/getrollingreleaseop.ts +21 -0
  170. package/src/models/getwebhooksop.ts +1 -0
  171. package/src/models/importresourceop.ts +27 -29
  172. package/src/models/patchteamop.ts +4 -0
  173. package/src/models/removeprojectenvop.ts +3 -3
  174. package/src/models/updateprojectdatacacheop.ts +8 -4
  175. package/src/models/updateprojectop.ts +347 -342
  176. package/src/models/updaterollingreleaseconfigop.ts +7 -0
  177. package/src/models/uploadfileop.ts +0 -9
  178. package/src/models/userevent.ts +2219 -1917
  179. package/src/sdk/integrations.ts +22 -0
  180. package/src/sdk/sdk.ts +1 -23
  181. package/vercel-spec.json +1401 -1170
  182. package/esm/funcs/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.d.ts +0 -14
  183. package/esm/funcs/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.d.ts.map +0 -1
  184. package/esm/funcs/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js.map +0 -1
  185. package/esm/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.d.ts +0 -7
  186. package/esm/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.d.ts.map +0 -1
  187. package/esm/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js +0 -26
  188. package/esm/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js.map +0 -1
  189. package/esm/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.d.ts +0 -247
  190. package/esm/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.d.ts.map +0 -1
  191. package/esm/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.js +0 -246
  192. package/esm/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.js.map +0 -1
  193. package/src/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.ts +0 -41
  194. package/src/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.ts +0 -575
@@ -602,6 +602,7 @@ export declare const ResponseBodyFramework: {
602
602
  readonly Nitro: "nitro";
603
603
  readonly Hono: "hono";
604
604
  readonly Express: "express";
605
+ readonly H3: "h3";
605
606
  readonly Xmcp: "xmcp";
606
607
  };
607
608
  export type ResponseBodyFramework = ClosedEnum<typeof ResponseBodyFramework>;
@@ -1517,15 +1518,15 @@ export type GetDeploymentMicrofrontendsApplications = {
1517
1518
  deploymentHost?: string | undefined;
1518
1519
  };
1519
1520
  /**
1520
- * The result of the microfrontends config upload during deployment creation. Only set for default app deployments. - `success` - The config was uploaded successfully. - `error` - The config upload failed. - `no_config` - No config was found to upload. - `undefined` - The config upload has not been attempted yet.
1521
+ * The result of the microfrontends config upload during deployment creation / build. Only set for default app deployments. The config upload is attempted during deployment create, and then again during the build. If the config is not in the root directory, or the deployment is prebuilt, the config cannot be uploaded during deployment create. The upload during deployment build finds the config even if it's not in the root directory, as it has access to all files. Uploading the config during create is ideal, as then all child deployments are guaranteed to have access to the default app deployment config even if the default app has not yet started building. If the config is not uploaded, the child app will show as building until the config has been uploaded during the default app build. - `success` - The config was uploaded successfully, either when the deployment was created or during the build. - `waiting_on_build` - The config could not be uploaded during deployment create, will be attempted again during the build. - `no_config` - No config was found. Only set once the build has not found the config in any of the deployment's files. - `undefined` - Legacy deployments, or there was an error uploading the config during deployment create.
1521
1522
  */
1522
1523
  export declare const GetDeploymentMicrofrontendsMfeConfigUploadState: {
1523
- readonly Error: "error";
1524
1524
  readonly Success: "success";
1525
+ readonly WaitingOnBuild: "waiting_on_build";
1525
1526
  readonly NoConfig: "no_config";
1526
1527
  };
1527
1528
  /**
1528
- * The result of the microfrontends config upload during deployment creation. Only set for default app deployments. - `success` - The config was uploaded successfully. - `error` - The config upload failed. - `no_config` - No config was found to upload. - `undefined` - The config upload has not been attempted yet.
1529
+ * The result of the microfrontends config upload during deployment creation / build. Only set for default app deployments. The config upload is attempted during deployment create, and then again during the build. If the config is not in the root directory, or the deployment is prebuilt, the config cannot be uploaded during deployment create. The upload during deployment build finds the config even if it's not in the root directory, as it has access to all files. Uploading the config during create is ideal, as then all child deployments are guaranteed to have access to the default app deployment config even if the default app has not yet started building. If the config is not uploaded, the child app will show as building until the config has been uploaded during the default app build. - `success` - The config was uploaded successfully, either when the deployment was created or during the build. - `waiting_on_build` - The config could not be uploaded during deployment create, will be attempted again during the build. - `no_config` - No config was found. Only set once the build has not found the config in any of the deployment's files. - `undefined` - Legacy deployments, or there was an error uploading the config during deployment create.
1529
1530
  */
1530
1531
  export type GetDeploymentMicrofrontendsMfeConfigUploadState = ClosedEnum<typeof GetDeploymentMicrofrontendsMfeConfigUploadState>;
1531
1532
  export type GetDeploymentMicrofrontends2 = {
@@ -1537,7 +1538,7 @@ export type GetDeploymentMicrofrontends2 = {
1537
1538
  [k: string]: GetDeploymentMicrofrontendsApplications;
1538
1539
  } | undefined;
1539
1540
  /**
1540
- * The result of the microfrontends config upload during deployment creation. Only set for default app deployments. - `success` - The config was uploaded successfully. - `error` - The config upload failed. - `no_config` - No config was found to upload. - `undefined` - The config upload has not been attempted yet.
1541
+ * The result of the microfrontends config upload during deployment creation / build. Only set for default app deployments. The config upload is attempted during deployment create, and then again during the build. If the config is not in the root directory, or the deployment is prebuilt, the config cannot be uploaded during deployment create. The upload during deployment build finds the config even if it's not in the root directory, as it has access to all files. Uploading the config during create is ideal, as then all child deployments are guaranteed to have access to the default app deployment config even if the default app has not yet started building. If the config is not uploaded, the child app will show as building until the config has been uploaded during the default app build. - `success` - The config was uploaded successfully, either when the deployment was created or during the build. - `waiting_on_build` - The config could not be uploaded during deployment create, will be attempted again during the build. - `no_config` - No config was found. Only set once the build has not found the config in any of the deployment's files. - `undefined` - Legacy deployments, or there was an error uploading the config during deployment create.
1541
1542
  */
1542
1543
  mfeConfigUploadState?: GetDeploymentMicrofrontendsMfeConfigUploadState | undefined;
1543
1544
  /**
@@ -3410,6 +3411,7 @@ export declare namespace ResponseBodyFramework$ {
3410
3411
  readonly Nitro: "nitro";
3411
3412
  readonly Hono: "hono";
3412
3413
  readonly Express: "express";
3414
+ readonly H3: "h3";
3413
3415
  readonly Xmcp: "xmcp";
3414
3416
  }>;
3415
3417
  /** @deprecated use `ResponseBodyFramework$outboundSchema` instead. */
@@ -3464,6 +3466,7 @@ export declare namespace ResponseBodyFramework$ {
3464
3466
  readonly Nitro: "nitro";
3465
3467
  readonly Hono: "hono";
3466
3468
  readonly Express: "express";
3469
+ readonly H3: "h3";
3467
3470
  readonly Xmcp: "xmcp";
3468
3471
  }>;
3469
3472
  }
@@ -6578,14 +6581,14 @@ export declare const GetDeploymentMicrofrontendsMfeConfigUploadState$outboundSch
6578
6581
  export declare namespace GetDeploymentMicrofrontendsMfeConfigUploadState$ {
6579
6582
  /** @deprecated use `GetDeploymentMicrofrontendsMfeConfigUploadState$inboundSchema` instead. */
6580
6583
  const inboundSchema: z.ZodNativeEnum<{
6581
- readonly Error: "error";
6582
6584
  readonly Success: "success";
6585
+ readonly WaitingOnBuild: "waiting_on_build";
6583
6586
  readonly NoConfig: "no_config";
6584
6587
  }>;
6585
6588
  /** @deprecated use `GetDeploymentMicrofrontendsMfeConfigUploadState$outboundSchema` instead. */
6586
6589
  const outboundSchema: z.ZodNativeEnum<{
6587
- readonly Error: "error";
6588
6590
  readonly Success: "success";
6591
+ readonly WaitingOnBuild: "waiting_on_build";
6589
6592
  readonly NoConfig: "no_config";
6590
6593
  }>;
6591
6594
  }