@vercel/sdk 1.17.3 → 1.17.5
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/README.md +28 -24
- package/bin/mcp-server.js +1496 -1252
- package/bin/mcp-server.js.map +18 -12
- 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 +4 -10
- 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__/logdrains.test.js +1 -3
- package/esm/__tests__/logdrains.test.js.map +1 -1
- package/esm/__tests__/rollingrelease.test.js +2 -6
- 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/funcs/edgeCacheDangerouslyDeleteBySrcImages.d.ts +17 -0
- package/esm/funcs/edgeCacheDangerouslyDeleteBySrcImages.d.ts.map +1 -0
- package/esm/funcs/edgeCacheDangerouslyDeleteBySrcImages.js +85 -0
- package/esm/funcs/edgeCacheDangerouslyDeleteBySrcImages.js.map +1 -0
- package/esm/funcs/edgeCacheInvalidateBySrcImages.d.ts +17 -0
- package/esm/funcs/edgeCacheInvalidateBySrcImages.d.ts.map +1 -0
- package/esm/funcs/edgeCacheInvalidateBySrcImages.js +85 -0
- package/esm/funcs/edgeCacheInvalidateBySrcImages.js.map +1 -0
- 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.d.ts.map +1 -1
- package/esm/mcp-server/server.js +5 -1
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/edgeCacheDangerouslyDeleteBySrcImages.d.ts +7 -0
- package/esm/mcp-server/tools/edgeCacheDangerouslyDeleteBySrcImages.d.ts.map +1 -0
- package/esm/mcp-server/tools/edgeCacheDangerouslyDeleteBySrcImages.js +27 -0
- package/esm/mcp-server/tools/edgeCacheDangerouslyDeleteBySrcImages.js.map +1 -0
- package/esm/mcp-server/tools/edgeCacheInvalidateBySrcImages.d.ts +7 -0
- package/esm/mcp-server/tools/edgeCacheInvalidateBySrcImages.d.ts.map +1 -0
- package/esm/mcp-server/tools/edgeCacheInvalidateBySrcImages.js +27 -0
- package/esm/mcp-server/tools/edgeCacheInvalidateBySrcImages.js.map +1 -0
- package/esm/models/canceldeploymentop.d.ts +0 -37
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +0 -23
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +0 -37
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +0 -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/dangerouslydeletebysrcimagesop.d.ts +44 -0
- package/esm/models/dangerouslydeletebysrcimagesop.d.ts.map +1 -0
- package/esm/models/dangerouslydeletebysrcimagesop.js +51 -0
- package/esm/models/dangerouslydeletebysrcimagesop.js.map +1 -0
- package/esm/models/getconfigurationproductsop.d.ts +200 -200
- package/esm/models/getconfigurationproductsop.js +290 -290
- package/esm/models/getdeploymentop.d.ts +0 -37
- package/esm/models/getdeploymentop.d.ts.map +1 -1
- package/esm/models/getdeploymentop.js +0 -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/invalidatebysrcimagesop.d.ts +42 -0
- package/esm/models/invalidatebysrcimagesop.d.ts.map +1 -0
- package/esm/models/invalidatebysrcimagesop.js +51 -0
- package/esm/models/invalidatebysrcimagesop.js.map +1 -0
- package/esm/sdk/edgecache.d.ts +16 -0
- package/esm/sdk/edgecache.d.ts.map +1 -1
- package/esm/sdk/edgecache.js +20 -0
- package/esm/sdk/edgecache.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 +4 -10
- package/src/__tests__/edgeconfig.test.ts +6 -6
- package/src/__tests__/integrations.test.ts +1 -1
- package/src/__tests__/logdrains.test.ts +1 -3
- package/src/__tests__/rollingrelease.test.ts +2 -6
- package/src/__tests__/security.test.ts +4 -4
- package/src/funcs/edgeCacheDangerouslyDeleteBySrcImages.ts +171 -0
- package/src/funcs/edgeCacheInvalidateBySrcImages.ts +171 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +5 -1
- package/src/mcp-server/tools/edgeCacheDangerouslyDeleteBySrcImages.ts +37 -0
- package/src/mcp-server/tools/edgeCacheInvalidateBySrcImages.ts +36 -0
- package/src/models/canceldeploymentop.ts +0 -76
- package/src/models/createdeploymentop.ts +0 -87
- package/src/models/createintegrationstoredirectop.ts +471 -471
- package/src/models/dangerouslydeletebysrcimagesop.ts +141 -0
- package/src/models/getconfigurationproductsop.ts +627 -627
- package/src/models/getdeploymentop.ts +0 -88
- package/src/models/getmemberop.ts +8 -0
- package/src/models/invalidatebysrcimagesop.ts +127 -0
- package/src/sdk/edgecache.ts +38 -0
- package/src/types/enums.ts +1 -21
- package/src/types/unrecognized.ts +27 -0
- package/vercel-spec.json +274 -169
|
@@ -1659,21 +1659,6 @@ export type GetDeploymentFlags1 = {
|
|
|
1659
1659
|
};
|
|
1660
1660
|
};
|
|
1661
1661
|
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
1662
|
/**
|
|
1678
1663
|
* 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
1664
|
*/
|
|
@@ -1688,12 +1673,6 @@ export declare const GetDeploymentMicrofrontendsMfeConfigUploadState: {
|
|
|
1688
1673
|
export type GetDeploymentMicrofrontendsMfeConfigUploadState = ClosedEnum<typeof GetDeploymentMicrofrontendsMfeConfigUploadState>;
|
|
1689
1674
|
export type GetDeploymentMicrofrontends2 = {
|
|
1690
1675
|
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
1676
|
/**
|
|
1698
1677
|
* 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
1678
|
*/
|
|
@@ -3894,19 +3873,6 @@ export declare const ResponseBodyFlags$outboundSchema: z.ZodType<ResponseBodyFla
|
|
|
3894
3873
|
export declare function responseBodyFlagsToJSON(responseBodyFlags: ResponseBodyFlags): string;
|
|
3895
3874
|
export declare function responseBodyFlagsFromJSON(jsonString: string): SafeParseResult<ResponseBodyFlags, SDKValidationError>;
|
|
3896
3875
|
/** @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
3876
|
export declare const GetDeploymentMicrofrontendsMfeConfigUploadState$inboundSchema: z.ZodNativeEnum<typeof GetDeploymentMicrofrontendsMfeConfigUploadState>;
|
|
3911
3877
|
/** @internal */
|
|
3912
3878
|
export declare const GetDeploymentMicrofrontendsMfeConfigUploadState$outboundSchema: z.ZodNativeEnum<typeof GetDeploymentMicrofrontendsMfeConfigUploadState>;
|
|
@@ -3915,9 +3881,6 @@ export declare const GetDeploymentMicrofrontends2$inboundSchema: z.ZodType<GetDe
|
|
|
3915
3881
|
/** @internal */
|
|
3916
3882
|
export type GetDeploymentMicrofrontends2$Outbound = {
|
|
3917
3883
|
isDefaultApp: boolean;
|
|
3918
|
-
applications?: {
|
|
3919
|
-
[k: string]: GetDeploymentMicrofrontendsApplications$Outbound;
|
|
3920
|
-
} | undefined;
|
|
3921
3884
|
mfeConfigUploadState?: string | undefined;
|
|
3922
3885
|
defaultAppProjectName: string;
|
|
3923
3886
|
defaultRoute?: string | undefined;
|