@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.
- package/bin/mcp-server.js +1594 -1509
- package/bin/mcp-server.js.map +17 -17
- package/esm/__tests__/accessgroups.test.js +1 -3
- package/esm/__tests__/accessgroups.test.js.map +1 -1
- package/esm/__tests__/checks.test.js +1 -1
- package/esm/__tests__/checks.test.js.map +1 -1
- package/esm/__tests__/domains.test.js +11 -2
- package/esm/__tests__/domains.test.js.map +1 -1
- package/esm/__tests__/edgeconfig.test.js +6 -6
- package/esm/__tests__/edgeconfig.test.js.map +1 -1
- package/esm/__tests__/integrations.test.js +1 -1
- package/esm/__tests__/rollingrelease.test.js +6 -2
- package/esm/__tests__/rollingrelease.test.js.map +1 -1
- package/esm/__tests__/security.test.js +4 -4
- package/esm/__tests__/security.test.js.map +1 -1
- package/esm/__tests__/teams.test.js +2 -2
- package/esm/__tests__/teams.test.js.map +1 -1
- package/esm/funcs/marketplaceImportResource.js +2 -2
- package/esm/funcs/marketplaceImportResource.js.map +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.js +1 -1
- package/esm/models/canceldeploymentop.d.ts +2 -37
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +2 -23
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +2 -37
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +2 -22
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createintegrationstoredirectop.d.ts +152 -152
- package/esm/models/createintegrationstoredirectop.js +218 -218
- package/esm/models/createprojectop.d.ts +18 -18
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +18 -18
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/getconfigurationproductsop.d.ts +200 -200
- package/esm/models/getconfigurationproductsop.js +290 -290
- package/esm/models/getdeploymentop.d.ts +2 -37
- package/esm/models/getdeploymentop.d.ts.map +1 -1
- package/esm/models/getdeploymentop.js +2 -22
- package/esm/models/getdeploymentop.js.map +1 -1
- package/esm/models/getmemberop.d.ts +4 -0
- package/esm/models/getmemberop.d.ts.map +1 -1
- package/esm/models/getmemberop.js +4 -0
- package/esm/models/getmemberop.js.map +1 -1
- package/esm/models/team.d.ts +21 -11
- package/esm/models/team.d.ts.map +1 -1
- package/esm/models/team.js +12 -8
- package/esm/models/team.js.map +1 -1
- package/esm/models/teamlimited.d.ts +10 -0
- package/esm/models/teamlimited.d.ts.map +1 -1
- package/esm/models/teamlimited.js +4 -0
- package/esm/models/teamlimited.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +18 -18
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +18 -18
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/userevent.d.ts +1599 -1433
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +2124 -1947
- package/esm/models/userevent.js.map +1 -1
- package/esm/types/enums.d.ts +1 -8
- package/esm/types/enums.d.ts.map +1 -1
- package/esm/types/enums.js +1 -18
- package/esm/types/enums.js.map +1 -1
- package/esm/types/unrecognized.d.ts +10 -0
- package/esm/types/unrecognized.d.ts.map +1 -0
- package/esm/types/unrecognized.js +23 -0
- package/esm/types/unrecognized.js.map +1 -0
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/accessgroups.test.ts +1 -3
- package/src/__tests__/checks.test.ts +1 -1
- package/src/__tests__/domains.test.ts +11 -2
- package/src/__tests__/edgeconfig.test.ts +6 -6
- package/src/__tests__/integrations.test.ts +1 -1
- package/src/__tests__/rollingrelease.test.ts +6 -2
- package/src/__tests__/security.test.ts +4 -4
- package/src/__tests__/teams.test.ts +2 -2
- package/src/funcs/marketplaceImportResource.ts +2 -2
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/canceldeploymentop.ts +4 -76
- package/src/models/createdeploymentop.ts +4 -87
- package/src/models/createintegrationstoredirectop.ts +471 -471
- package/src/models/createprojectop.ts +30 -30
- package/src/models/getconfigurationproductsop.ts +627 -627
- package/src/models/getdeploymentop.ts +4 -88
- package/src/models/getmemberop.ts +8 -0
- package/src/models/team.ts +29 -15
- package/src/models/teamlimited.ts +14 -0
- package/src/models/updateprojectop.ts +30 -30
- package/src/models/userevent.ts +4882 -4390
- package/src/types/enums.ts +1 -21
- package/src/types/unrecognized.ts +27 -0
- 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;
|