@vercel/sdk 1.11.1 → 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 (97) hide show
  1. package/bin/mcp-server.js +1329 -1215
  2. package/bin/mcp-server.js.map +21 -21
  3. package/esm/__tests__/accessgroups.test.js +1 -3
  4. package/esm/__tests__/accessgroups.test.js.map +1 -1
  5. package/esm/__tests__/domains.test.js +12 -3
  6. package/esm/__tests__/domains.test.js.map +1 -1
  7. package/esm/__tests__/integrations.test.js +1 -1
  8. package/esm/__tests__/rollingrelease.test.js +6 -2
  9. package/esm/__tests__/rollingrelease.test.js.map +1 -1
  10. package/esm/__tests__/security.test.js +11 -1
  11. package/esm/__tests__/security.test.js.map +1 -1
  12. package/esm/funcs/deploymentsUploadFile.js +0 -1
  13. package/esm/funcs/deploymentsUploadFile.js.map +1 -1
  14. package/esm/funcs/domainsGetDomainTransfer.js +2 -2
  15. package/esm/funcs/domainsGetDomainTransfer.js.map +1 -1
  16. package/esm/funcs/marketplaceUpdateResourceSecrets.js +2 -2
  17. package/esm/funcs/marketplaceUpdateResourceSecrets.js.map +1 -1
  18. package/esm/lib/config.d.ts +3 -3
  19. package/esm/lib/config.js +3 -3
  20. package/esm/mcp-server/mcp-server.js +1 -1
  21. package/esm/mcp-server/server.js +1 -1
  22. package/esm/models/canceldeploymentop.d.ts +6 -6
  23. package/esm/models/canceldeploymentop.js +2 -2
  24. package/esm/models/canceldeploymentop.js.map +1 -1
  25. package/esm/models/createdeploymentop.d.ts +41 -41
  26. package/esm/models/createdeploymentop.d.ts.map +1 -1
  27. package/esm/models/createdeploymentop.js +15 -15
  28. package/esm/models/createdeploymentop.js.map +1 -1
  29. package/esm/models/createintegrationstoredirectop.d.ts +273 -246
  30. package/esm/models/createintegrationstoredirectop.d.ts.map +1 -1
  31. package/esm/models/createintegrationstoredirectop.js +317 -296
  32. package/esm/models/createintegrationstoredirectop.js.map +1 -1
  33. package/esm/models/createprojectop.d.ts +162 -164
  34. package/esm/models/createprojectop.d.ts.map +1 -1
  35. package/esm/models/createprojectop.js +154 -156
  36. package/esm/models/createprojectop.js.map +1 -1
  37. package/esm/models/getconfigurationproductsop.d.ts +330 -330
  38. package/esm/models/getconfigurationproductsop.js +408 -408
  39. package/esm/models/getdeploymentop.d.ts +6 -6
  40. package/esm/models/getdeploymentop.js +2 -2
  41. package/esm/models/getdeploymentop.js.map +1 -1
  42. package/esm/models/getdomaintransferop.d.ts +99 -25
  43. package/esm/models/getdomaintransferop.d.ts.map +1 -1
  44. package/esm/models/getdomaintransferop.js +101 -25
  45. package/esm/models/getdomaintransferop.js.map +1 -1
  46. package/esm/models/getprojectsop.d.ts +0 -2
  47. package/esm/models/getprojectsop.d.ts.map +1 -1
  48. package/esm/models/getprojectsop.js +0 -2
  49. package/esm/models/getprojectsop.js.map +1 -1
  50. package/esm/models/patchteamop.d.ts +12 -0
  51. package/esm/models/patchteamop.d.ts.map +1 -1
  52. package/esm/models/patchteamop.js +4 -0
  53. package/esm/models/patchteamop.js.map +1 -1
  54. package/esm/models/updateprojectdatacacheop.d.ts +0 -2
  55. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  56. package/esm/models/updateprojectdatacacheop.js +0 -2
  57. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  58. package/esm/models/updateprojectop.d.ts +0 -2
  59. package/esm/models/updateprojectop.d.ts.map +1 -1
  60. package/esm/models/updateprojectop.js +0 -2
  61. package/esm/models/updateprojectop.js.map +1 -1
  62. package/esm/models/uploadfileop.d.ts +0 -5
  63. package/esm/models/uploadfileop.d.ts.map +1 -1
  64. package/esm/models/uploadfileop.js +0 -4
  65. package/esm/models/uploadfileop.js.map +1 -1
  66. package/esm/models/userevent.d.ts +960 -770
  67. package/esm/models/userevent.d.ts.map +1 -1
  68. package/esm/models/userevent.js +1102 -974
  69. package/esm/models/userevent.js.map +1 -1
  70. package/examples/package-lock.json +1 -1
  71. package/jsr.json +1 -1
  72. package/package.json +1 -1
  73. package/src/__tests__/accessgroups.test.ts +1 -3
  74. package/src/__tests__/domains.test.ts +12 -3
  75. package/src/__tests__/integrations.test.ts +1 -1
  76. package/src/__tests__/rollingrelease.test.ts +6 -2
  77. package/src/__tests__/security.test.ts +11 -1
  78. package/src/funcs/deploymentsUploadFile.ts +0 -5
  79. package/src/funcs/domainsGetDomainTransfer.ts +2 -2
  80. package/src/funcs/marketplaceUpdateResourceSecrets.ts +2 -2
  81. package/src/lib/config.ts +3 -3
  82. package/src/mcp-server/mcp-server.ts +1 -1
  83. package/src/mcp-server/server.ts +1 -1
  84. package/src/models/canceldeploymentop.ts +4 -4
  85. package/src/models/createdeploymentop.ts +19 -19
  86. package/src/models/createintegrationstoredirectop.ts +543 -507
  87. package/src/models/createprojectop.ts +299 -303
  88. package/src/models/getconfigurationproductsop.ts +703 -703
  89. package/src/models/getdeploymentop.ts +4 -4
  90. package/src/models/getdomaintransferop.ts +203 -39
  91. package/src/models/getprojectsop.ts +0 -4
  92. package/src/models/patchteamop.ts +4 -0
  93. package/src/models/updateprojectdatacacheop.ts +0 -4
  94. package/src/models/updateprojectop.ts +0 -4
  95. package/src/models/uploadfileop.ts +0 -9
  96. package/src/models/userevent.ts +2219 -1917
  97. package/vercel-spec.json +613 -503
@@ -1517,15 +1517,15 @@ export type GetDeploymentMicrofrontendsApplications = {
1517
1517
  deploymentHost?: string | undefined;
1518
1518
  };
1519
1519
  /**
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.
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.
1521
1521
  */
1522
1522
  export declare const GetDeploymentMicrofrontendsMfeConfigUploadState: {
1523
- readonly Error: "error";
1524
1523
  readonly Success: "success";
1524
+ readonly WaitingOnBuild: "waiting_on_build";
1525
1525
  readonly NoConfig: "no_config";
1526
1526
  };
1527
1527
  /**
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.
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.
1529
1529
  */
1530
1530
  export type GetDeploymentMicrofrontendsMfeConfigUploadState = ClosedEnum<typeof GetDeploymentMicrofrontendsMfeConfigUploadState>;
1531
1531
  export type GetDeploymentMicrofrontends2 = {
@@ -1537,7 +1537,7 @@ export type GetDeploymentMicrofrontends2 = {
1537
1537
  [k: string]: GetDeploymentMicrofrontendsApplications;
1538
1538
  } | undefined;
1539
1539
  /**
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.
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.
1541
1541
  */
1542
1542
  mfeConfigUploadState?: GetDeploymentMicrofrontendsMfeConfigUploadState | undefined;
1543
1543
  /**
@@ -6578,14 +6578,14 @@ export declare const GetDeploymentMicrofrontendsMfeConfigUploadState$outboundSch
6578
6578
  export declare namespace GetDeploymentMicrofrontendsMfeConfigUploadState$ {
6579
6579
  /** @deprecated use `GetDeploymentMicrofrontendsMfeConfigUploadState$inboundSchema` instead. */
6580
6580
  const inboundSchema: z.ZodNativeEnum<{
6581
- readonly Error: "error";
6582
6581
  readonly Success: "success";
6582
+ readonly WaitingOnBuild: "waiting_on_build";
6583
6583
  readonly NoConfig: "no_config";
6584
6584
  }>;
6585
6585
  /** @deprecated use `GetDeploymentMicrofrontendsMfeConfigUploadState$outboundSchema` instead. */
6586
6586
  const outboundSchema: z.ZodNativeEnum<{
6587
- readonly Error: "error";
6588
6587
  readonly Success: "success";
6588
+ readonly WaitingOnBuild: "waiting_on_build";
6589
6589
  readonly NoConfig: "no_config";
6590
6590
  }>;
6591
6591
  }
@@ -425,11 +425,11 @@ export const GetDeploymentGitRepoDeploymentsOwnerType = {
425
425
  User: "user",
426
426
  };
427
427
  /**
428
- * 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.
428
+ * 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.
429
429
  */
430
430
  export const GetDeploymentMicrofrontendsMfeConfigUploadState = {
431
- Error: "error",
432
431
  Success: "success",
432
+ WaitingOnBuild: "waiting_on_build",
433
433
  NoConfig: "no_config",
434
434
  };
435
435
  export const ResponseBodyFunctionType = {