@vercel/sdk 1.17.4 → 1.17.7

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 (100) hide show
  1. package/bin/mcp-server.js +1594 -1509
  2. package/bin/mcp-server.js.map +17 -17
  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 -1
  6. package/esm/__tests__/checks.test.js.map +1 -1
  7. package/esm/__tests__/domains.test.js +11 -2
  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/marketplaceImportResource.js +2 -2
  19. package/esm/funcs/marketplaceImportResource.js.map +1 -1
  20. package/esm/lib/config.d.ts +3 -3
  21. package/esm/lib/config.js +3 -3
  22. package/esm/mcp-server/mcp-server.js +1 -1
  23. package/esm/mcp-server/server.js +1 -1
  24. package/esm/models/canceldeploymentop.d.ts +2 -37
  25. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  26. package/esm/models/canceldeploymentop.js +2 -23
  27. package/esm/models/canceldeploymentop.js.map +1 -1
  28. package/esm/models/createdeploymentop.d.ts +2 -37
  29. package/esm/models/createdeploymentop.d.ts.map +1 -1
  30. package/esm/models/createdeploymentop.js +2 -22
  31. package/esm/models/createdeploymentop.js.map +1 -1
  32. package/esm/models/createintegrationstoredirectop.d.ts +152 -152
  33. package/esm/models/createintegrationstoredirectop.js +218 -218
  34. package/esm/models/createprojectop.d.ts +18 -18
  35. package/esm/models/createprojectop.d.ts.map +1 -1
  36. package/esm/models/createprojectop.js +18 -18
  37. package/esm/models/createprojectop.js.map +1 -1
  38. package/esm/models/getconfigurationproductsop.d.ts +200 -200
  39. package/esm/models/getconfigurationproductsop.js +290 -290
  40. package/esm/models/getdeploymentop.d.ts +2 -37
  41. package/esm/models/getdeploymentop.d.ts.map +1 -1
  42. package/esm/models/getdeploymentop.js +2 -22
  43. package/esm/models/getdeploymentop.js.map +1 -1
  44. package/esm/models/getmemberop.d.ts +4 -0
  45. package/esm/models/getmemberop.d.ts.map +1 -1
  46. package/esm/models/getmemberop.js +4 -0
  47. package/esm/models/getmemberop.js.map +1 -1
  48. package/esm/models/team.d.ts +21 -11
  49. package/esm/models/team.d.ts.map +1 -1
  50. package/esm/models/team.js +12 -8
  51. package/esm/models/team.js.map +1 -1
  52. package/esm/models/teamlimited.d.ts +10 -0
  53. package/esm/models/teamlimited.d.ts.map +1 -1
  54. package/esm/models/teamlimited.js +4 -0
  55. package/esm/models/teamlimited.js.map +1 -1
  56. package/esm/models/updateprojectop.d.ts +18 -18
  57. package/esm/models/updateprojectop.d.ts.map +1 -1
  58. package/esm/models/updateprojectop.js +18 -18
  59. package/esm/models/updateprojectop.js.map +1 -1
  60. package/esm/models/userevent.d.ts +1599 -1433
  61. package/esm/models/userevent.d.ts.map +1 -1
  62. package/esm/models/userevent.js +2124 -1947
  63. package/esm/models/userevent.js.map +1 -1
  64. package/esm/types/enums.d.ts +1 -8
  65. package/esm/types/enums.d.ts.map +1 -1
  66. package/esm/types/enums.js +1 -18
  67. package/esm/types/enums.js.map +1 -1
  68. package/esm/types/unrecognized.d.ts +10 -0
  69. package/esm/types/unrecognized.d.ts.map +1 -0
  70. package/esm/types/unrecognized.js +23 -0
  71. package/esm/types/unrecognized.js.map +1 -0
  72. package/examples/package-lock.json +1 -1
  73. package/jsr.json +1 -1
  74. package/package.json +1 -1
  75. package/src/__tests__/accessgroups.test.ts +1 -3
  76. package/src/__tests__/checks.test.ts +1 -1
  77. package/src/__tests__/domains.test.ts +11 -2
  78. package/src/__tests__/edgeconfig.test.ts +6 -6
  79. package/src/__tests__/integrations.test.ts +1 -1
  80. package/src/__tests__/rollingrelease.test.ts +6 -2
  81. package/src/__tests__/security.test.ts +4 -4
  82. package/src/__tests__/teams.test.ts +2 -2
  83. package/src/funcs/marketplaceImportResource.ts +2 -2
  84. package/src/lib/config.ts +3 -3
  85. package/src/mcp-server/mcp-server.ts +1 -1
  86. package/src/mcp-server/server.ts +1 -1
  87. package/src/models/canceldeploymentop.ts +4 -76
  88. package/src/models/createdeploymentop.ts +4 -87
  89. package/src/models/createintegrationstoredirectop.ts +471 -471
  90. package/src/models/createprojectop.ts +30 -30
  91. package/src/models/getconfigurationproductsop.ts +627 -627
  92. package/src/models/getdeploymentop.ts +4 -88
  93. package/src/models/getmemberop.ts +8 -0
  94. package/src/models/team.ts +29 -15
  95. package/src/models/teamlimited.ts +14 -0
  96. package/src/models/updateprojectop.ts +30 -30
  97. package/src/models/userevent.ts +4882 -4390
  98. package/src/types/enums.ts +1 -21
  99. package/src/types/unrecognized.ts +27 -0
  100. package/vercel-spec.json +356 -244
@@ -1535,6 +1535,7 @@ export type GetDeploymentRoutesTransforms = {
1535
1535
  op: GetDeploymentRoutesOp;
1536
1536
  target: GetDeploymentRoutesTarget;
1537
1537
  args?: string | Array<string> | undefined;
1538
+ env?: Array<string> | undefined;
1538
1539
  };
1539
1540
  export type GetDeploymentRoutesLocale = {
1540
1541
  redirect?: {
@@ -1659,21 +1660,6 @@ export type GetDeploymentFlags1 = {
1659
1660
  };
1660
1661
  };
1661
1662
  export type ResponseBodyFlags = GetDeploymentFlags1 | Array<GetDeploymentFlags2>;
1662
- /**
1663
- * A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment. Note: this field will be removed when MFE alias routing is fully rolled out.
1664
- */
1665
- export type GetDeploymentMicrofrontendsApplications = {
1666
- isDefaultApp?: boolean | undefined;
1667
- /**
1668
- * This is the production alias, it will always show the most up to date of each application.
1669
- */
1670
- productionHost: string;
1671
- /**
1672
- * Use the fixed deploymentAlias and deploymentHost so that the microfrontend preview stays in sync with the deployment. These are only present for mono-repos when a single commit creates multiple deployments. If they are not present, productionHost will be used.
1673
- */
1674
- deploymentAlias?: string | undefined;
1675
- deploymentHost?: string | undefined;
1676
- };
1677
1663
  /**
1678
1664
  * 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.
1679
1665
  */
@@ -1688,12 +1674,6 @@ export declare const GetDeploymentMicrofrontendsMfeConfigUploadState: {
1688
1674
  export type GetDeploymentMicrofrontendsMfeConfigUploadState = ClosedEnum<typeof GetDeploymentMicrofrontendsMfeConfigUploadState>;
1689
1675
  export type GetDeploymentMicrofrontends2 = {
1690
1676
  isDefaultApp: boolean;
1691
- /**
1692
- * A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment. Note: this field will be removed when MFE alias routing is fully rolled out.
1693
- */
1694
- applications?: {
1695
- [k: string]: GetDeploymentMicrofrontendsApplications;
1696
- } | undefined;
1697
1677
  /**
1698
1678
  * 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.
1699
1679
  */
@@ -3699,6 +3679,7 @@ export type GetDeploymentRoutesTransforms$Outbound = {
3699
3679
  op: string;
3700
3680
  target: GetDeploymentRoutesTarget$Outbound;
3701
3681
  args?: string | Array<string> | undefined;
3682
+ env?: Array<string> | undefined;
3702
3683
  };
3703
3684
  /** @internal */
3704
3685
  export declare const GetDeploymentRoutesTransforms$outboundSchema: z.ZodType<GetDeploymentRoutesTransforms$Outbound, z.ZodTypeDef, GetDeploymentRoutesTransforms>;
@@ -3894,19 +3875,6 @@ export declare const ResponseBodyFlags$outboundSchema: z.ZodType<ResponseBodyFla
3894
3875
  export declare function responseBodyFlagsToJSON(responseBodyFlags: ResponseBodyFlags): string;
3895
3876
  export declare function responseBodyFlagsFromJSON(jsonString: string): SafeParseResult<ResponseBodyFlags, SDKValidationError>;
3896
3877
  /** @internal */
3897
- export declare const GetDeploymentMicrofrontendsApplications$inboundSchema: z.ZodType<GetDeploymentMicrofrontendsApplications, z.ZodTypeDef, unknown>;
3898
- /** @internal */
3899
- export type GetDeploymentMicrofrontendsApplications$Outbound = {
3900
- isDefaultApp?: boolean | undefined;
3901
- productionHost: string;
3902
- deploymentAlias?: string | undefined;
3903
- deploymentHost?: string | undefined;
3904
- };
3905
- /** @internal */
3906
- export declare const GetDeploymentMicrofrontendsApplications$outboundSchema: z.ZodType<GetDeploymentMicrofrontendsApplications$Outbound, z.ZodTypeDef, GetDeploymentMicrofrontendsApplications>;
3907
- export declare function getDeploymentMicrofrontendsApplicationsToJSON(getDeploymentMicrofrontendsApplications: GetDeploymentMicrofrontendsApplications): string;
3908
- export declare function getDeploymentMicrofrontendsApplicationsFromJSON(jsonString: string): SafeParseResult<GetDeploymentMicrofrontendsApplications, SDKValidationError>;
3909
- /** @internal */
3910
3878
  export declare const GetDeploymentMicrofrontendsMfeConfigUploadState$inboundSchema: z.ZodNativeEnum<typeof GetDeploymentMicrofrontendsMfeConfigUploadState>;
3911
3879
  /** @internal */
3912
3880
  export declare const GetDeploymentMicrofrontendsMfeConfigUploadState$outboundSchema: z.ZodNativeEnum<typeof GetDeploymentMicrofrontendsMfeConfigUploadState>;
@@ -3915,9 +3883,6 @@ export declare const GetDeploymentMicrofrontends2$inboundSchema: z.ZodType<GetDe
3915
3883
  /** @internal */
3916
3884
  export type GetDeploymentMicrofrontends2$Outbound = {
3917
3885
  isDefaultApp: boolean;
3918
- applications?: {
3919
- [k: string]: GetDeploymentMicrofrontendsApplications$Outbound;
3920
- } | undefined;
3921
3886
  mfeConfigUploadState?: string | undefined;
3922
3887
  defaultAppProjectName: string;
3923
3888
  defaultRoute?: string | undefined;