@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
@@ -71,6 +71,7 @@ export declare const CancelDeploymentFramework: {
71
71
  readonly Vitepress: "vitepress";
72
72
  readonly Vuepress: "vuepress";
73
73
  readonly Parcel: "parcel";
74
+ readonly Fastapi: "fastapi";
74
75
  readonly Fasthtml: "fasthtml";
75
76
  readonly SanityV3: "sanity-v3";
76
77
  readonly Sanity: "sanity";
@@ -993,15 +994,15 @@ export type MicrofrontendsApplications = {
993
994
  deploymentHost?: string | undefined;
994
995
  };
995
996
  /**
996
- * 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.
997
+ * 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.
997
998
  */
998
999
  export declare const MicrofrontendsMfeConfigUploadState: {
999
- readonly Error: "error";
1000
1000
  readonly Success: "success";
1001
+ readonly WaitingOnBuild: "waiting_on_build";
1001
1002
  readonly NoConfig: "no_config";
1002
1003
  };
1003
1004
  /**
1004
- * 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.
1005
+ * 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.
1005
1006
  */
1006
1007
  export type MicrofrontendsMfeConfigUploadState = ClosedEnum<typeof MicrofrontendsMfeConfigUploadState>;
1007
1008
  export type CancelDeploymentMicrofrontends2 = {
@@ -1013,7 +1014,7 @@ export type CancelDeploymentMicrofrontends2 = {
1013
1014
  [k: string]: MicrofrontendsApplications;
1014
1015
  } | undefined;
1015
1016
  /**
1016
- * 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.
1017
+ * 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.
1017
1018
  */
1018
1019
  mfeConfigUploadState?: MicrofrontendsMfeConfigUploadState | undefined;
1019
1020
  /**
@@ -1357,6 +1358,7 @@ export declare namespace CancelDeploymentFramework$ {
1357
1358
  readonly Vitepress: "vitepress";
1358
1359
  readonly Vuepress: "vuepress";
1359
1360
  readonly Parcel: "parcel";
1361
+ readonly Fastapi: "fastapi";
1360
1362
  readonly Fasthtml: "fasthtml";
1361
1363
  readonly SanityV3: "sanity-v3";
1362
1364
  readonly Sanity: "sanity";
@@ -1410,6 +1412,7 @@ export declare namespace CancelDeploymentFramework$ {
1410
1412
  readonly Vitepress: "vitepress";
1411
1413
  readonly Vuepress: "vuepress";
1412
1414
  readonly Parcel: "parcel";
1415
+ readonly Fastapi: "fastapi";
1413
1416
  readonly Fasthtml: "fasthtml";
1414
1417
  readonly SanityV3: "sanity-v3";
1415
1418
  readonly Sanity: "sanity";
@@ -4531,14 +4534,14 @@ export declare const MicrofrontendsMfeConfigUploadState$outboundSchema: z.ZodNat
4531
4534
  export declare namespace MicrofrontendsMfeConfigUploadState$ {
4532
4535
  /** @deprecated use `MicrofrontendsMfeConfigUploadState$inboundSchema` instead. */
4533
4536
  const inboundSchema: z.ZodNativeEnum<{
4534
- readonly Error: "error";
4535
4537
  readonly Success: "success";
4538
+ readonly WaitingOnBuild: "waiting_on_build";
4536
4539
  readonly NoConfig: "no_config";
4537
4540
  }>;
4538
4541
  /** @deprecated use `MicrofrontendsMfeConfigUploadState$outboundSchema` instead. */
4539
4542
  const outboundSchema: z.ZodNativeEnum<{
4540
- readonly Error: "error";
4541
4543
  readonly Success: "success";
4544
+ readonly WaitingOnBuild: "waiting_on_build";
4542
4545
  readonly NoConfig: "no_config";
4543
4546
  }>;
4544
4547
  }