@vercel/sdk 1.11.0 → 1.11.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (155) hide show
  1. package/bin/mcp-server.js +1341 -1092
  2. package/bin/mcp-server.js.map +30 -30
  3. package/esm/__tests__/accessgroups.test.js +1 -3
  4. package/esm/__tests__/accessgroups.test.js.map +1 -1
  5. package/esm/__tests__/checks.test.js +1 -0
  6. package/esm/__tests__/checks.test.js.map +1 -1
  7. package/esm/__tests__/domains.test.js +3 -1
  8. package/esm/__tests__/domains.test.js.map +1 -1
  9. package/esm/__tests__/edgeconfig.test.js +6 -6
  10. package/esm/__tests__/edgeconfig.test.js.map +1 -1
  11. package/esm/__tests__/integrations.test.js +1 -1
  12. package/esm/__tests__/rollingrelease.test.js +6 -2
  13. package/esm/__tests__/rollingrelease.test.js.map +1 -1
  14. package/esm/__tests__/security.test.js +4 -4
  15. package/esm/__tests__/security.test.js.map +1 -1
  16. package/esm/__tests__/teams.test.js +2 -2
  17. package/esm/__tests__/teams.test.js.map +1 -1
  18. package/esm/funcs/deploymentsUploadFile.js +0 -1
  19. package/esm/funcs/deploymentsUploadFile.js.map +1 -1
  20. package/esm/funcs/domainsGetDomainTransfer.js +2 -2
  21. package/esm/funcs/domainsGetDomainTransfer.js.map +1 -1
  22. package/esm/funcs/marketplaceUpdateResourceSecrets.js +2 -2
  23. package/esm/funcs/marketplaceUpdateResourceSecrets.js.map +1 -1
  24. package/esm/lib/config.d.ts +3 -3
  25. package/esm/lib/config.js +3 -3
  26. package/esm/mcp-server/mcp-server.js +1 -1
  27. package/esm/mcp-server/server.js +1 -1
  28. package/esm/models/canceldeploymentop.d.ts +9 -6
  29. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  30. package/esm/models/canceldeploymentop.js +3 -2
  31. package/esm/models/canceldeploymentop.js.map +1 -1
  32. package/esm/models/createdeploymentop.d.ts +47 -41
  33. package/esm/models/createdeploymentop.d.ts.map +1 -1
  34. package/esm/models/createdeploymentop.js +17 -15
  35. package/esm/models/createdeploymentop.js.map +1 -1
  36. package/esm/models/createedgeconfigop.d.ts +2 -0
  37. package/esm/models/createedgeconfigop.d.ts.map +1 -1
  38. package/esm/models/createedgeconfigop.js +2 -0
  39. package/esm/models/createedgeconfigop.js.map +1 -1
  40. package/esm/models/createintegrationstoredirectop.d.ts +282 -243
  41. package/esm/models/createintegrationstoredirectop.d.ts.map +1 -1
  42. package/esm/models/createintegrationstoredirectop.js +320 -295
  43. package/esm/models/createintegrationstoredirectop.js.map +1 -1
  44. package/esm/models/createprojectop.d.ts +6 -0
  45. package/esm/models/createprojectop.d.ts.map +1 -1
  46. package/esm/models/createprojectop.js +2 -0
  47. package/esm/models/createprojectop.js.map +1 -1
  48. package/esm/models/getallchecksop.d.ts +2 -0
  49. package/esm/models/getallchecksop.d.ts.map +1 -1
  50. package/esm/models/getallchecksop.js +2 -0
  51. package/esm/models/getallchecksop.js.map +1 -1
  52. package/esm/models/getconfigurationproductsop.d.ts +421 -331
  53. package/esm/models/getconfigurationproductsop.d.ts.map +1 -1
  54. package/esm/models/getconfigurationproductsop.js +482 -410
  55. package/esm/models/getconfigurationproductsop.js.map +1 -1
  56. package/esm/models/getdeploymentop.d.ts +9 -6
  57. package/esm/models/getdeploymentop.d.ts.map +1 -1
  58. package/esm/models/getdeploymentop.js +3 -2
  59. package/esm/models/getdeploymentop.js.map +1 -1
  60. package/esm/models/getdeploymentsop.d.ts +3 -0
  61. package/esm/models/getdeploymentsop.d.ts.map +1 -1
  62. package/esm/models/getdeploymentsop.js +1 -0
  63. package/esm/models/getdeploymentsop.js.map +1 -1
  64. package/esm/models/getdomaintransferop.d.ts +99 -25
  65. package/esm/models/getdomaintransferop.d.ts.map +1 -1
  66. package/esm/models/getdomaintransferop.js +101 -25
  67. package/esm/models/getdomaintransferop.js.map +1 -1
  68. package/esm/models/getedgeconfigop.d.ts +2 -0
  69. package/esm/models/getedgeconfigop.d.ts.map +1 -1
  70. package/esm/models/getedgeconfigop.js +2 -0
  71. package/esm/models/getedgeconfigop.js.map +1 -1
  72. package/esm/models/getprojectsop.d.ts +3 -0
  73. package/esm/models/getprojectsop.d.ts.map +1 -1
  74. package/esm/models/getprojectsop.js +1 -0
  75. package/esm/models/getprojectsop.js.map +1 -1
  76. package/esm/models/getteammembersop.d.ts +36 -30
  77. package/esm/models/getteammembersop.d.ts.map +1 -1
  78. package/esm/models/getteammembersop.js +12 -10
  79. package/esm/models/getteammembersop.js.map +1 -1
  80. package/esm/models/getwebhooksop.d.ts +3 -0
  81. package/esm/models/getwebhooksop.d.ts.map +1 -1
  82. package/esm/models/getwebhooksop.js +1 -0
  83. package/esm/models/getwebhooksop.js.map +1 -1
  84. package/esm/models/importresourceop.d.ts +36 -0
  85. package/esm/models/importresourceop.d.ts.map +1 -1
  86. package/esm/models/importresourceop.js +25 -0
  87. package/esm/models/importresourceop.js.map +1 -1
  88. package/esm/models/patchteamop.d.ts +12 -0
  89. package/esm/models/patchteamop.d.ts.map +1 -1
  90. package/esm/models/patchteamop.js +4 -0
  91. package/esm/models/patchteamop.js.map +1 -1
  92. package/esm/models/team.d.ts +150 -26
  93. package/esm/models/team.d.ts.map +1 -1
  94. package/esm/models/team.js +110 -30
  95. package/esm/models/team.js.map +1 -1
  96. package/esm/models/updateedgeconfigop.d.ts +2 -0
  97. package/esm/models/updateedgeconfigop.d.ts.map +1 -1
  98. package/esm/models/updateedgeconfigop.js +2 -0
  99. package/esm/models/updateedgeconfigop.js.map +1 -1
  100. package/esm/models/updateprojectdatacacheop.d.ts +3 -0
  101. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  102. package/esm/models/updateprojectdatacacheop.js +1 -0
  103. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  104. package/esm/models/updateprojectop.d.ts +6 -0
  105. package/esm/models/updateprojectop.d.ts.map +1 -1
  106. package/esm/models/updateprojectop.js +2 -0
  107. package/esm/models/updateprojectop.js.map +1 -1
  108. package/esm/models/uploadfileop.d.ts +0 -5
  109. package/esm/models/uploadfileop.d.ts.map +1 -1
  110. package/esm/models/uploadfileop.js +0 -4
  111. package/esm/models/uploadfileop.js.map +1 -1
  112. package/esm/models/userevent.d.ts +963 -773
  113. package/esm/models/userevent.d.ts.map +1 -1
  114. package/esm/models/userevent.js +1102 -974
  115. package/esm/models/userevent.js.map +1 -1
  116. package/examples/package-lock.json +1 -1
  117. package/jsr.json +1 -1
  118. package/package.json +1 -1
  119. package/src/__tests__/accessgroups.test.ts +1 -3
  120. package/src/__tests__/checks.test.ts +1 -0
  121. package/src/__tests__/domains.test.ts +3 -1
  122. package/src/__tests__/edgeconfig.test.ts +6 -6
  123. package/src/__tests__/integrations.test.ts +1 -1
  124. package/src/__tests__/rollingrelease.test.ts +6 -2
  125. package/src/__tests__/security.test.ts +4 -4
  126. package/src/__tests__/teams.test.ts +2 -2
  127. package/src/funcs/deploymentsUploadFile.ts +0 -5
  128. package/src/funcs/domainsGetDomainTransfer.ts +2 -2
  129. package/src/funcs/marketplaceUpdateResourceSecrets.ts +2 -2
  130. package/src/lib/config.ts +3 -3
  131. package/src/mcp-server/mcp-server.ts +1 -1
  132. package/src/mcp-server/server.ts +1 -1
  133. package/src/models/canceldeploymentop.ts +5 -4
  134. package/src/models/createdeploymentop.ts +21 -19
  135. package/src/models/createedgeconfigop.ts +4 -0
  136. package/src/models/createintegrationstoredirectop.ts +546 -506
  137. package/src/models/createprojectop.ts +2 -0
  138. package/src/models/getallchecksop.ts +4 -0
  139. package/src/models/getconfigurationproductsop.ts +847 -706
  140. package/src/models/getdeploymentop.ts +5 -4
  141. package/src/models/getdeploymentsop.ts +1 -0
  142. package/src/models/getdomaintransferop.ts +203 -39
  143. package/src/models/getedgeconfigop.ts +4 -0
  144. package/src/models/getprojectsop.ts +1 -0
  145. package/src/models/getteammembersop.ts +12 -10
  146. package/src/models/getwebhooksop.ts +1 -0
  147. package/src/models/importresourceop.ts +34 -0
  148. package/src/models/patchteamop.ts +4 -0
  149. package/src/models/team.ts +177 -42
  150. package/src/models/updateedgeconfigop.ts +4 -0
  151. package/src/models/updateprojectdatacacheop.ts +1 -0
  152. package/src/models/updateprojectop.ts +2 -0
  153. package/src/models/uploadfileop.ts +0 -9
  154. package/src/models/userevent.ts +2222 -1920
  155. package/vercel-spec.json +517 -260
@@ -594,6 +594,7 @@ export declare const ResponseBodyFramework: {
594
594
  readonly Vitepress: "vitepress";
595
595
  readonly Vuepress: "vuepress";
596
596
  readonly Parcel: "parcel";
597
+ readonly Fastapi: "fastapi";
597
598
  readonly Fasthtml: "fasthtml";
598
599
  readonly SanityV3: "sanity-v3";
599
600
  readonly Sanity: "sanity";
@@ -1516,15 +1517,15 @@ export type GetDeploymentMicrofrontendsApplications = {
1516
1517
  deploymentHost?: string | undefined;
1517
1518
  };
1518
1519
  /**
1519
- * 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.
1520
+ * 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.
1520
1521
  */
1521
1522
  export declare const GetDeploymentMicrofrontendsMfeConfigUploadState: {
1522
- readonly Error: "error";
1523
1523
  readonly Success: "success";
1524
+ readonly WaitingOnBuild: "waiting_on_build";
1524
1525
  readonly NoConfig: "no_config";
1525
1526
  };
1526
1527
  /**
1527
- * 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.
1528
+ * 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.
1528
1529
  */
1529
1530
  export type GetDeploymentMicrofrontendsMfeConfigUploadState = ClosedEnum<typeof GetDeploymentMicrofrontendsMfeConfigUploadState>;
1530
1531
  export type GetDeploymentMicrofrontends2 = {
@@ -1536,7 +1537,7 @@ export type GetDeploymentMicrofrontends2 = {
1536
1537
  [k: string]: GetDeploymentMicrofrontendsApplications;
1537
1538
  } | undefined;
1538
1539
  /**
1539
- * 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.
1540
+ * 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.
1540
1541
  */
1541
1542
  mfeConfigUploadState?: GetDeploymentMicrofrontendsMfeConfigUploadState | undefined;
1542
1543
  /**
@@ -3401,6 +3402,7 @@ export declare namespace ResponseBodyFramework$ {
3401
3402
  readonly Vitepress: "vitepress";
3402
3403
  readonly Vuepress: "vuepress";
3403
3404
  readonly Parcel: "parcel";
3405
+ readonly Fastapi: "fastapi";
3404
3406
  readonly Fasthtml: "fasthtml";
3405
3407
  readonly SanityV3: "sanity-v3";
3406
3408
  readonly Sanity: "sanity";
@@ -3454,6 +3456,7 @@ export declare namespace ResponseBodyFramework$ {
3454
3456
  readonly Vitepress: "vitepress";
3455
3457
  readonly Vuepress: "vuepress";
3456
3458
  readonly Parcel: "parcel";
3459
+ readonly Fastapi: "fastapi";
3457
3460
  readonly Fasthtml: "fasthtml";
3458
3461
  readonly SanityV3: "sanity-v3";
3459
3462
  readonly Sanity: "sanity";
@@ -6575,14 +6578,14 @@ export declare const GetDeploymentMicrofrontendsMfeConfigUploadState$outboundSch
6575
6578
  export declare namespace GetDeploymentMicrofrontendsMfeConfigUploadState$ {
6576
6579
  /** @deprecated use `GetDeploymentMicrofrontendsMfeConfigUploadState$inboundSchema` instead. */
6577
6580
  const inboundSchema: z.ZodNativeEnum<{
6578
- readonly Error: "error";
6579
6581
  readonly Success: "success";
6582
+ readonly WaitingOnBuild: "waiting_on_build";
6580
6583
  readonly NoConfig: "no_config";
6581
6584
  }>;
6582
6585
  /** @deprecated use `GetDeploymentMicrofrontendsMfeConfigUploadState$outboundSchema` instead. */
6583
6586
  const outboundSchema: z.ZodNativeEnum<{
6584
- readonly Error: "error";
6585
6587
  readonly Success: "success";
6588
+ readonly WaitingOnBuild: "waiting_on_build";
6586
6589
  readonly NoConfig: "no_config";
6587
6590
  }>;
6588
6591
  }