@vercel/sdk 1.16.0 → 1.16.1
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 +39 -37
- package/bin/mcp-server.js +1263 -912
- package/bin/mcp-server.js.map +42 -39
- package/docs/sdks/logdrains/README.md +7 -7
- package/docs/sdks/projects/README.md +78 -0
- package/docs/sdks/teams/README.md +1 -1
- package/esm/__tests__/accessgroups.test.js +6 -2
- package/esm/__tests__/accessgroups.test.js.map +1 -1
- package/esm/__tests__/domains.test.js +5 -5
- 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 +4 -4
- package/esm/__tests__/logdrains.test.js.map +1 -1
- package/esm/__tests__/projects.test.js +17 -0
- package/esm/__tests__/projects.test.js.map +1 -1
- package/esm/__tests__/rollingrelease.test.js +2 -7
- package/esm/__tests__/rollingrelease.test.js.map +1 -1
- package/esm/__tests__/security.test.js +1 -11
- package/esm/__tests__/security.test.js.map +1 -1
- package/esm/funcs/logDrainsCreateConfigurableLogDrain.d.ts +1 -1
- package/esm/funcs/logDrainsCreateConfigurableLogDrain.js +1 -1
- package/esm/funcs/logDrainsCreateLogDrain.d.ts +1 -1
- package/esm/funcs/logDrainsCreateLogDrain.js +1 -1
- package/esm/funcs/logDrainsDeleteConfigurableLogDrain.d.ts +1 -1
- package/esm/funcs/logDrainsDeleteConfigurableLogDrain.js +1 -1
- package/esm/funcs/logDrainsDeleteIntegrationLogDrain.d.ts +1 -1
- package/esm/funcs/logDrainsDeleteIntegrationLogDrain.js +1 -1
- package/esm/funcs/logDrainsGetAllLogDrains.d.ts +1 -1
- package/esm/funcs/logDrainsGetAllLogDrains.js +1 -1
- package/esm/funcs/logDrainsGetConfigurableLogDrain.d.ts +1 -1
- package/esm/funcs/logDrainsGetConfigurableLogDrain.js +1 -1
- package/esm/funcs/logDrainsGetIntegrationLogDrains.d.ts +1 -1
- package/esm/funcs/logDrainsGetIntegrationLogDrains.js +1 -1
- package/esm/funcs/projectsGetProjectClientCerts.d.ts +17 -0
- package/esm/funcs/projectsGetProjectClientCerts.d.ts.map +1 -0
- package/esm/funcs/projectsGetProjectClientCerts.js +88 -0
- package/esm/funcs/projectsGetProjectClientCerts.js.map +1 -0
- package/esm/funcs/teamsInviteUserToTeam.d.ts +1 -1
- package/esm/funcs/teamsInviteUserToTeam.js +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.d.ts.map +1 -1
- package/esm/mcp-server/server.js +3 -1
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/logDrainsCreateConfigurableLogDrain.js +1 -1
- package/esm/mcp-server/tools/logDrainsCreateLogDrain.js +1 -1
- package/esm/mcp-server/tools/logDrainsDeleteConfigurableLogDrain.js +1 -1
- package/esm/mcp-server/tools/logDrainsDeleteIntegrationLogDrain.d.ts.map +1 -1
- package/esm/mcp-server/tools/logDrainsDeleteIntegrationLogDrain.js +1 -1
- package/esm/mcp-server/tools/logDrainsDeleteIntegrationLogDrain.js.map +1 -1
- package/esm/mcp-server/tools/logDrainsGetAllLogDrains.js +1 -1
- package/esm/mcp-server/tools/logDrainsGetConfigurableLogDrain.js +1 -1
- package/esm/mcp-server/tools/logDrainsGetIntegrationLogDrains.js +1 -1
- package/esm/mcp-server/tools/projectsGetProjectClientCerts.d.ts +7 -0
- package/esm/mcp-server/tools/projectsGetProjectClientCerts.d.ts.map +1 -0
- package/esm/mcp-server/tools/projectsGetProjectClientCerts.js +28 -0
- package/esm/mcp-server/tools/projectsGetProjectClientCerts.js.map +1 -0
- package/esm/mcp-server/tools/teamsInviteUserToTeam.js +1 -1
- package/esm/mcp-server/tools/teamsInviteUserToTeam.js.map +1 -1
- package/esm/models/approverollingreleasestageop.d.ts +78 -0
- package/esm/models/approverollingreleasestageop.d.ts.map +1 -1
- package/esm/models/approverollingreleasestageop.js +18 -0
- package/esm/models/approverollingreleasestageop.js.map +1 -1
- package/esm/models/authuser.d.ts +67 -0
- package/esm/models/authuser.d.ts.map +1 -1
- package/esm/models/authuser.js +49 -0
- package/esm/models/authuser.js.map +1 -1
- package/esm/models/canceldeploymentop.d.ts +106 -1
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +9 -0
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/completerollingreleaseop.d.ts +78 -0
- package/esm/models/completerollingreleaseop.d.ts.map +1 -1
- package/esm/models/completerollingreleaseop.js +18 -0
- package/esm/models/completerollingreleaseop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +106 -1
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +9 -0
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createintegrationstoredirectop.d.ts +285 -285
- package/esm/models/createintegrationstoredirectop.js +351 -351
- package/esm/models/createlogdrainop.d.ts +3 -0
- package/esm/models/createlogdrainop.d.ts.map +1 -1
- package/esm/models/createlogdrainop.js +1 -0
- package/esm/models/createlogdrainop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +67 -15
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +47 -6
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/getconfigurationproductsop.d.ts +375 -375
- package/esm/models/getconfigurationproductsop.js +465 -465
- package/esm/models/getdeploymentop.d.ts +212 -2
- package/esm/models/getdeploymentop.d.ts.map +1 -1
- package/esm/models/getdeploymentop.js +18 -0
- package/esm/models/getdeploymentop.js.map +1 -1
- package/esm/models/getintegrationlogdrainsop.d.ts +3 -0
- package/esm/models/getintegrationlogdrainsop.d.ts.map +1 -1
- package/esm/models/getintegrationlogdrainsop.js +1 -0
- package/esm/models/getintegrationlogdrainsop.js.map +1 -1
- package/esm/models/getprojectclientcertsop.d.ts +97 -0
- package/esm/models/getprojectclientcertsop.d.ts.map +1 -0
- package/esm/models/getprojectclientcertsop.js +87 -0
- package/esm/models/getprojectclientcertsop.js.map +1 -0
- package/esm/models/getprojectsop.d.ts +67 -15
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +47 -6
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/getrollingreleaseop.d.ts +78 -0
- package/esm/models/getrollingreleaseop.d.ts.map +1 -1
- package/esm/models/getrollingreleaseop.js +18 -0
- package/esm/models/getrollingreleaseop.js.map +1 -1
- package/esm/models/updateprojectdatacacheop.d.ts +67 -15
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +47 -6
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +67 -15
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +47 -6
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/updatestaticipsop.d.ts +3 -3
- package/esm/models/updatestaticipsop.js +1 -1
- package/esm/models/updatestaticipsop.js.map +1 -1
- package/esm/models/userevent.d.ts +176 -30
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +136 -12
- package/esm/models/userevent.js.map +1 -1
- package/esm/sdk/logdrains.d.ts +7 -7
- package/esm/sdk/logdrains.js +7 -7
- package/esm/sdk/projects.d.ts +8 -0
- package/esm/sdk/projects.d.ts.map +1 -1
- package/esm/sdk/projects.js +10 -0
- package/esm/sdk/projects.js.map +1 -1
- package/esm/sdk/teams.d.ts +1 -1
- package/esm/sdk/teams.js +1 -1
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/accessgroups.test.ts +6 -2
- package/src/__tests__/domains.test.ts +5 -5
- package/src/__tests__/edgeconfig.test.ts +6 -6
- package/src/__tests__/integrations.test.ts +1 -1
- package/src/__tests__/logdrains.test.ts +4 -4
- package/src/__tests__/projects.test.ts +20 -0
- package/src/__tests__/rollingrelease.test.ts +2 -7
- package/src/__tests__/security.test.ts +1 -11
- package/src/funcs/logDrainsCreateConfigurableLogDrain.ts +1 -1
- package/src/funcs/logDrainsCreateLogDrain.ts +1 -1
- package/src/funcs/logDrainsDeleteConfigurableLogDrain.ts +1 -1
- package/src/funcs/logDrainsDeleteIntegrationLogDrain.ts +1 -1
- package/src/funcs/logDrainsGetAllLogDrains.ts +1 -1
- package/src/funcs/logDrainsGetConfigurableLogDrain.ts +1 -1
- package/src/funcs/logDrainsGetIntegrationLogDrains.ts +1 -1
- package/src/funcs/projectsGetProjectClientCerts.ts +177 -0
- package/src/funcs/teamsInviteUserToTeam.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -1
- package/src/mcp-server/tools/logDrainsCreateConfigurableLogDrain.ts +1 -1
- package/src/mcp-server/tools/logDrainsCreateLogDrain.ts +1 -1
- package/src/mcp-server/tools/logDrainsDeleteConfigurableLogDrain.ts +1 -1
- package/src/mcp-server/tools/logDrainsDeleteIntegrationLogDrain.ts +2 -1
- package/src/mcp-server/tools/logDrainsGetAllLogDrains.ts +1 -1
- package/src/mcp-server/tools/logDrainsGetConfigurableLogDrain.ts +1 -1
- package/src/mcp-server/tools/logDrainsGetIntegrationLogDrains.ts +1 -1
- package/src/mcp-server/tools/projectsGetProjectClientCerts.ts +37 -0
- package/src/mcp-server/tools/teamsInviteUserToTeam.ts +1 -1
- package/src/models/approverollingreleasestageop.ts +78 -0
- package/src/models/authuser.ts +100 -0
- package/src/models/canceldeploymentop.ts +106 -1
- package/src/models/completerollingreleaseop.ts +78 -0
- package/src/models/createdeploymentop.ts +106 -1
- package/src/models/createintegrationstoredirectop.ts +604 -604
- package/src/models/createlogdrainop.ts +1 -0
- package/src/models/createprojectop.ts +126 -19
- package/src/models/getconfigurationproductsop.ts +802 -802
- package/src/models/getdeploymentop.ts +212 -2
- package/src/models/getintegrationlogdrainsop.ts +1 -0
- package/src/models/getprojectclientcertsop.ts +207 -0
- package/src/models/getprojectsop.ts +124 -19
- package/src/models/getrollingreleaseop.ts +78 -0
- package/src/models/updateprojectdatacacheop.ts +129 -19
- package/src/models/updateprojectop.ts +126 -19
- package/src/models/updatestaticipsop.ts +1 -1
- package/src/models/userevent.ts +329 -39
- package/src/sdk/logdrains.ts +7 -7
- package/src/sdk/projects.ts +22 -0
- package/src/sdk/teams.ts +1 -1
- package/vercel-spec.json +1092 -278
|
@@ -1058,13 +1058,22 @@ export type GetProjectsLink =
|
|
|
1058
1058
|
| GetProjectsLink1
|
|
1059
1059
|
| GetProjectsLink2;
|
|
1060
1060
|
|
|
1061
|
-
export type
|
|
1061
|
+
export type GetProjectsMicrofrontends3 = {
|
|
1062
1062
|
updatedAt: number;
|
|
1063
1063
|
groupIds: Array<any>;
|
|
1064
1064
|
enabled: boolean;
|
|
1065
1065
|
};
|
|
1066
1066
|
|
|
1067
|
-
export type
|
|
1067
|
+
export type GetProjectsMicrofrontends2 = {
|
|
1068
|
+
isDefaultApp?: boolean | undefined;
|
|
1069
|
+
/**
|
|
1070
|
+
* Whether observability data should be routed to this microfrontend project or a root project.
|
|
1071
|
+
*/
|
|
1072
|
+
routeObservabilityToThisProject?: boolean | undefined;
|
|
1073
|
+
/**
|
|
1074
|
+
* Whether to add microfrontends routing to aliases. This means domains in this project will route as a microfrontend.
|
|
1075
|
+
*/
|
|
1076
|
+
doNotRouteWithMicrofrontendsRouting?: boolean | undefined;
|
|
1068
1077
|
/**
|
|
1069
1078
|
* Timestamp when the microfrontends settings were last updated.
|
|
1070
1079
|
*/
|
|
@@ -1077,23 +1086,36 @@ export type GetProjectsMicrofrontends1 = {
|
|
|
1077
1086
|
* Whether microfrontends are enabled for this project.
|
|
1078
1087
|
*/
|
|
1079
1088
|
enabled: boolean;
|
|
1080
|
-
/**
|
|
1081
|
-
* Whether this project is the default application for the microfrontends group. The default application is the one that is used as the top level shell for the microfrontends group and hosts the other microfrontends.
|
|
1082
|
-
*/
|
|
1083
|
-
isDefaultApp?: boolean | undefined;
|
|
1084
1089
|
/**
|
|
1085
1090
|
* A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI. Includes the leading slash, e.g. `/docs`
|
|
1086
1091
|
*/
|
|
1087
1092
|
defaultRoute?: string | undefined;
|
|
1093
|
+
};
|
|
1094
|
+
|
|
1095
|
+
export type GetProjectsMicrofrontends1 = {
|
|
1096
|
+
isDefaultApp: boolean;
|
|
1088
1097
|
/**
|
|
1089
|
-
*
|
|
1098
|
+
* Timestamp when the microfrontends settings were last updated.
|
|
1090
1099
|
*/
|
|
1091
|
-
|
|
1100
|
+
updatedAt: number;
|
|
1101
|
+
/**
|
|
1102
|
+
* The group IDs of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together.
|
|
1103
|
+
*/
|
|
1104
|
+
groupIds: Array<string>;
|
|
1105
|
+
/**
|
|
1106
|
+
* Whether microfrontends are enabled for this project.
|
|
1107
|
+
*/
|
|
1108
|
+
enabled: boolean;
|
|
1109
|
+
/**
|
|
1110
|
+
* A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI. Includes the leading slash, e.g. `/docs`
|
|
1111
|
+
*/
|
|
1112
|
+
defaultRoute?: string | undefined;
|
|
1092
1113
|
};
|
|
1093
1114
|
|
|
1094
1115
|
export type GetProjectsMicrofrontends =
|
|
1095
1116
|
| GetProjectsMicrofrontends1
|
|
1096
|
-
| GetProjectsMicrofrontends2
|
|
1117
|
+
| GetProjectsMicrofrontends2
|
|
1118
|
+
| GetProjectsMicrofrontends3;
|
|
1097
1119
|
|
|
1098
1120
|
export const GetProjectsNodeVersion = {
|
|
1099
1121
|
TwentyTwoDotX: "22.x",
|
|
@@ -1775,6 +1797,10 @@ export type GetProjectsGitProviderOptions = {
|
|
|
1775
1797
|
* Whether the Vercel bot should not automatically create GitHub repository-dispatch events on deployment events. https://vercel.com/docs/git/vercel-for-github#repository-dispatch-events
|
|
1776
1798
|
*/
|
|
1777
1799
|
disableRepositoryDispatchEvents?: boolean | undefined;
|
|
1800
|
+
/**
|
|
1801
|
+
* Whether the project requires commits to be signed before deployments will be created.
|
|
1802
|
+
*/
|
|
1803
|
+
requireVerifiedCommits?: boolean | undefined;
|
|
1778
1804
|
};
|
|
1779
1805
|
|
|
1780
1806
|
export type GetProjectsWebAnalytics = {
|
|
@@ -2266,6 +2292,7 @@ export type GetProjectsProjects = {
|
|
|
2266
2292
|
microfrontends?:
|
|
2267
2293
|
| GetProjectsMicrofrontends1
|
|
2268
2294
|
| GetProjectsMicrofrontends2
|
|
2295
|
+
| GetProjectsMicrofrontends3
|
|
2269
2296
|
| undefined;
|
|
2270
2297
|
name: string;
|
|
2271
2298
|
nodeVersion: GetProjectsNodeVersion;
|
|
@@ -6986,22 +7013,90 @@ export function getProjectsLinkFromJSON(
|
|
|
6986
7013
|
);
|
|
6987
7014
|
}
|
|
6988
7015
|
|
|
7016
|
+
/** @internal */
|
|
7017
|
+
export const GetProjectsMicrofrontends3$inboundSchema: z.ZodType<
|
|
7018
|
+
GetProjectsMicrofrontends3,
|
|
7019
|
+
z.ZodTypeDef,
|
|
7020
|
+
unknown
|
|
7021
|
+
> = z.object({
|
|
7022
|
+
updatedAt: z.number(),
|
|
7023
|
+
groupIds: z.array(z.any()),
|
|
7024
|
+
enabled: z.boolean(),
|
|
7025
|
+
});
|
|
7026
|
+
|
|
7027
|
+
/** @internal */
|
|
7028
|
+
export type GetProjectsMicrofrontends3$Outbound = {
|
|
7029
|
+
updatedAt: number;
|
|
7030
|
+
groupIds: Array<any>;
|
|
7031
|
+
enabled: boolean;
|
|
7032
|
+
};
|
|
7033
|
+
|
|
7034
|
+
/** @internal */
|
|
7035
|
+
export const GetProjectsMicrofrontends3$outboundSchema: z.ZodType<
|
|
7036
|
+
GetProjectsMicrofrontends3$Outbound,
|
|
7037
|
+
z.ZodTypeDef,
|
|
7038
|
+
GetProjectsMicrofrontends3
|
|
7039
|
+
> = z.object({
|
|
7040
|
+
updatedAt: z.number(),
|
|
7041
|
+
groupIds: z.array(z.any()),
|
|
7042
|
+
enabled: z.boolean(),
|
|
7043
|
+
});
|
|
7044
|
+
|
|
7045
|
+
/**
|
|
7046
|
+
* @internal
|
|
7047
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
7048
|
+
*/
|
|
7049
|
+
export namespace GetProjectsMicrofrontends3$ {
|
|
7050
|
+
/** @deprecated use `GetProjectsMicrofrontends3$inboundSchema` instead. */
|
|
7051
|
+
export const inboundSchema = GetProjectsMicrofrontends3$inboundSchema;
|
|
7052
|
+
/** @deprecated use `GetProjectsMicrofrontends3$outboundSchema` instead. */
|
|
7053
|
+
export const outboundSchema = GetProjectsMicrofrontends3$outboundSchema;
|
|
7054
|
+
/** @deprecated use `GetProjectsMicrofrontends3$Outbound` instead. */
|
|
7055
|
+
export type Outbound = GetProjectsMicrofrontends3$Outbound;
|
|
7056
|
+
}
|
|
7057
|
+
|
|
7058
|
+
export function getProjectsMicrofrontends3ToJSON(
|
|
7059
|
+
getProjectsMicrofrontends3: GetProjectsMicrofrontends3,
|
|
7060
|
+
): string {
|
|
7061
|
+
return JSON.stringify(
|
|
7062
|
+
GetProjectsMicrofrontends3$outboundSchema.parse(getProjectsMicrofrontends3),
|
|
7063
|
+
);
|
|
7064
|
+
}
|
|
7065
|
+
|
|
7066
|
+
export function getProjectsMicrofrontends3FromJSON(
|
|
7067
|
+
jsonString: string,
|
|
7068
|
+
): SafeParseResult<GetProjectsMicrofrontends3, SDKValidationError> {
|
|
7069
|
+
return safeParse(
|
|
7070
|
+
jsonString,
|
|
7071
|
+
(x) => GetProjectsMicrofrontends3$inboundSchema.parse(JSON.parse(x)),
|
|
7072
|
+
`Failed to parse 'GetProjectsMicrofrontends3' from JSON`,
|
|
7073
|
+
);
|
|
7074
|
+
}
|
|
7075
|
+
|
|
6989
7076
|
/** @internal */
|
|
6990
7077
|
export const GetProjectsMicrofrontends2$inboundSchema: z.ZodType<
|
|
6991
7078
|
GetProjectsMicrofrontends2,
|
|
6992
7079
|
z.ZodTypeDef,
|
|
6993
7080
|
unknown
|
|
6994
7081
|
> = z.object({
|
|
7082
|
+
isDefaultApp: z.boolean().optional(),
|
|
7083
|
+
routeObservabilityToThisProject: z.boolean().optional(),
|
|
7084
|
+
doNotRouteWithMicrofrontendsRouting: z.boolean().optional(),
|
|
6995
7085
|
updatedAt: z.number(),
|
|
6996
|
-
groupIds: z.array(z.
|
|
7086
|
+
groupIds: z.array(z.string()),
|
|
6997
7087
|
enabled: z.boolean(),
|
|
7088
|
+
defaultRoute: z.string().optional(),
|
|
6998
7089
|
});
|
|
6999
7090
|
|
|
7000
7091
|
/** @internal */
|
|
7001
7092
|
export type GetProjectsMicrofrontends2$Outbound = {
|
|
7093
|
+
isDefaultApp?: boolean | undefined;
|
|
7094
|
+
routeObservabilityToThisProject?: boolean | undefined;
|
|
7095
|
+
doNotRouteWithMicrofrontendsRouting?: boolean | undefined;
|
|
7002
7096
|
updatedAt: number;
|
|
7003
|
-
groupIds: Array<
|
|
7097
|
+
groupIds: Array<string>;
|
|
7004
7098
|
enabled: boolean;
|
|
7099
|
+
defaultRoute?: string | undefined;
|
|
7005
7100
|
};
|
|
7006
7101
|
|
|
7007
7102
|
/** @internal */
|
|
@@ -7010,9 +7105,13 @@ export const GetProjectsMicrofrontends2$outboundSchema: z.ZodType<
|
|
|
7010
7105
|
z.ZodTypeDef,
|
|
7011
7106
|
GetProjectsMicrofrontends2
|
|
7012
7107
|
> = z.object({
|
|
7108
|
+
isDefaultApp: z.boolean().optional(),
|
|
7109
|
+
routeObservabilityToThisProject: z.boolean().optional(),
|
|
7110
|
+
doNotRouteWithMicrofrontendsRouting: z.boolean().optional(),
|
|
7013
7111
|
updatedAt: z.number(),
|
|
7014
|
-
groupIds: z.array(z.
|
|
7112
|
+
groupIds: z.array(z.string()),
|
|
7015
7113
|
enabled: z.boolean(),
|
|
7114
|
+
defaultRoute: z.string().optional(),
|
|
7016
7115
|
});
|
|
7017
7116
|
|
|
7018
7117
|
/**
|
|
@@ -7052,22 +7151,20 @@ export const GetProjectsMicrofrontends1$inboundSchema: z.ZodType<
|
|
|
7052
7151
|
z.ZodTypeDef,
|
|
7053
7152
|
unknown
|
|
7054
7153
|
> = z.object({
|
|
7154
|
+
isDefaultApp: z.boolean(),
|
|
7055
7155
|
updatedAt: z.number(),
|
|
7056
7156
|
groupIds: z.array(z.string()),
|
|
7057
7157
|
enabled: z.boolean(),
|
|
7058
|
-
isDefaultApp: z.boolean().optional(),
|
|
7059
7158
|
defaultRoute: z.string().optional(),
|
|
7060
|
-
routeObservabilityToThisProject: z.boolean().optional(),
|
|
7061
7159
|
});
|
|
7062
7160
|
|
|
7063
7161
|
/** @internal */
|
|
7064
7162
|
export type GetProjectsMicrofrontends1$Outbound = {
|
|
7163
|
+
isDefaultApp: boolean;
|
|
7065
7164
|
updatedAt: number;
|
|
7066
7165
|
groupIds: Array<string>;
|
|
7067
7166
|
enabled: boolean;
|
|
7068
|
-
isDefaultApp?: boolean | undefined;
|
|
7069
7167
|
defaultRoute?: string | undefined;
|
|
7070
|
-
routeObservabilityToThisProject?: boolean | undefined;
|
|
7071
7168
|
};
|
|
7072
7169
|
|
|
7073
7170
|
/** @internal */
|
|
@@ -7076,12 +7173,11 @@ export const GetProjectsMicrofrontends1$outboundSchema: z.ZodType<
|
|
|
7076
7173
|
z.ZodTypeDef,
|
|
7077
7174
|
GetProjectsMicrofrontends1
|
|
7078
7175
|
> = z.object({
|
|
7176
|
+
isDefaultApp: z.boolean(),
|
|
7079
7177
|
updatedAt: z.number(),
|
|
7080
7178
|
groupIds: z.array(z.string()),
|
|
7081
7179
|
enabled: z.boolean(),
|
|
7082
|
-
isDefaultApp: z.boolean().optional(),
|
|
7083
7180
|
defaultRoute: z.string().optional(),
|
|
7084
|
-
routeObservabilityToThisProject: z.boolean().optional(),
|
|
7085
7181
|
});
|
|
7086
7182
|
|
|
7087
7183
|
/**
|
|
@@ -7123,12 +7219,14 @@ export const GetProjectsMicrofrontends$inboundSchema: z.ZodType<
|
|
|
7123
7219
|
> = z.union([
|
|
7124
7220
|
z.lazy(() => GetProjectsMicrofrontends1$inboundSchema),
|
|
7125
7221
|
z.lazy(() => GetProjectsMicrofrontends2$inboundSchema),
|
|
7222
|
+
z.lazy(() => GetProjectsMicrofrontends3$inboundSchema),
|
|
7126
7223
|
]);
|
|
7127
7224
|
|
|
7128
7225
|
/** @internal */
|
|
7129
7226
|
export type GetProjectsMicrofrontends$Outbound =
|
|
7130
7227
|
| GetProjectsMicrofrontends1$Outbound
|
|
7131
|
-
| GetProjectsMicrofrontends2$Outbound
|
|
7228
|
+
| GetProjectsMicrofrontends2$Outbound
|
|
7229
|
+
| GetProjectsMicrofrontends3$Outbound;
|
|
7132
7230
|
|
|
7133
7231
|
/** @internal */
|
|
7134
7232
|
export const GetProjectsMicrofrontends$outboundSchema: z.ZodType<
|
|
@@ -7138,6 +7236,7 @@ export const GetProjectsMicrofrontends$outboundSchema: z.ZodType<
|
|
|
7138
7236
|
> = z.union([
|
|
7139
7237
|
z.lazy(() => GetProjectsMicrofrontends1$outboundSchema),
|
|
7140
7238
|
z.lazy(() => GetProjectsMicrofrontends2$outboundSchema),
|
|
7239
|
+
z.lazy(() => GetProjectsMicrofrontends3$outboundSchema),
|
|
7141
7240
|
]);
|
|
7142
7241
|
|
|
7143
7242
|
/**
|
|
@@ -10103,12 +10202,14 @@ export const GetProjectsGitProviderOptions$inboundSchema: z.ZodType<
|
|
|
10103
10202
|
> = z.object({
|
|
10104
10203
|
createDeployments: GetProjectsCreateDeployments$inboundSchema,
|
|
10105
10204
|
disableRepositoryDispatchEvents: z.boolean().optional(),
|
|
10205
|
+
requireVerifiedCommits: z.boolean().optional(),
|
|
10106
10206
|
});
|
|
10107
10207
|
|
|
10108
10208
|
/** @internal */
|
|
10109
10209
|
export type GetProjectsGitProviderOptions$Outbound = {
|
|
10110
10210
|
createDeployments: string;
|
|
10111
10211
|
disableRepositoryDispatchEvents?: boolean | undefined;
|
|
10212
|
+
requireVerifiedCommits?: boolean | undefined;
|
|
10112
10213
|
};
|
|
10113
10214
|
|
|
10114
10215
|
/** @internal */
|
|
@@ -10119,6 +10220,7 @@ export const GetProjectsGitProviderOptions$outboundSchema: z.ZodType<
|
|
|
10119
10220
|
> = z.object({
|
|
10120
10221
|
createDeployments: GetProjectsCreateDeployments$outboundSchema,
|
|
10121
10222
|
disableRepositoryDispatchEvents: z.boolean().optional(),
|
|
10223
|
+
requireVerifiedCommits: z.boolean().optional(),
|
|
10122
10224
|
});
|
|
10123
10225
|
|
|
10124
10226
|
/**
|
|
@@ -13534,6 +13636,7 @@ export const GetProjectsProjects$inboundSchema: z.ZodType<
|
|
|
13534
13636
|
microfrontends: z.union([
|
|
13535
13637
|
z.lazy(() => GetProjectsMicrofrontends1$inboundSchema),
|
|
13536
13638
|
z.lazy(() => GetProjectsMicrofrontends2$inboundSchema),
|
|
13639
|
+
z.lazy(() => GetProjectsMicrofrontends3$inboundSchema),
|
|
13537
13640
|
]).optional(),
|
|
13538
13641
|
name: z.string(),
|
|
13539
13642
|
nodeVersion: GetProjectsNodeVersion$inboundSchema,
|
|
@@ -13665,6 +13768,7 @@ export type GetProjectsProjects$Outbound = {
|
|
|
13665
13768
|
microfrontends?:
|
|
13666
13769
|
| GetProjectsMicrofrontends1$Outbound
|
|
13667
13770
|
| GetProjectsMicrofrontends2$Outbound
|
|
13771
|
+
| GetProjectsMicrofrontends3$Outbound
|
|
13668
13772
|
| undefined;
|
|
13669
13773
|
name: string;
|
|
13670
13774
|
nodeVersion: string;
|
|
@@ -13786,6 +13890,7 @@ export const GetProjectsProjects$outboundSchema: z.ZodType<
|
|
|
13786
13890
|
microfrontends: z.union([
|
|
13787
13891
|
z.lazy(() => GetProjectsMicrofrontends1$outboundSchema),
|
|
13788
13892
|
z.lazy(() => GetProjectsMicrofrontends2$outboundSchema),
|
|
13893
|
+
z.lazy(() => GetProjectsMicrofrontends3$outboundSchema),
|
|
13789
13894
|
]).optional(),
|
|
13790
13895
|
name: z.string(),
|
|
13791
13896
|
nodeVersion: GetProjectsNodeVersion$outboundSchema,
|
|
@@ -53,14 +53,23 @@ export const GetRollingReleaseState = {
|
|
|
53
53
|
*/
|
|
54
54
|
export type GetRollingReleaseState = ClosedEnum<typeof GetRollingReleaseState>;
|
|
55
55
|
|
|
56
|
+
/**
|
|
57
|
+
* If defined, either `staging` if a staging alias in the format `<project>.<team>.now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment.
|
|
58
|
+
*/
|
|
56
59
|
export const GetRollingReleaseTarget = {
|
|
57
60
|
Staging: "staging",
|
|
58
61
|
Production: "production",
|
|
59
62
|
} as const;
|
|
63
|
+
/**
|
|
64
|
+
* If defined, either `staging` if a staging alias in the format `<project>.<team>.now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment.
|
|
65
|
+
*/
|
|
60
66
|
export type GetRollingReleaseTarget = ClosedEnum<
|
|
61
67
|
typeof GetRollingReleaseTarget
|
|
62
68
|
>;
|
|
63
69
|
|
|
70
|
+
/**
|
|
71
|
+
* Where was the deployment created from
|
|
72
|
+
*/
|
|
64
73
|
export const GetRollingReleaseSource = {
|
|
65
74
|
ApiTriggerGitDeploy: "api-trigger-git-deploy",
|
|
66
75
|
Cli: "cli",
|
|
@@ -71,10 +80,16 @@ export const GetRollingReleaseSource = {
|
|
|
71
80
|
Redeploy: "redeploy",
|
|
72
81
|
V0Web: "v0-web",
|
|
73
82
|
} as const;
|
|
83
|
+
/**
|
|
84
|
+
* Where was the deployment created from
|
|
85
|
+
*/
|
|
74
86
|
export type GetRollingReleaseSource = ClosedEnum<
|
|
75
87
|
typeof GetRollingReleaseSource
|
|
76
88
|
>;
|
|
77
89
|
|
|
90
|
+
/**
|
|
91
|
+
* The state of the deployment depending on the process of deploying, or if it is ready or in an error state
|
|
92
|
+
*/
|
|
78
93
|
export const GetRollingReleaseReadyState = {
|
|
79
94
|
Building: "BUILDING",
|
|
80
95
|
Error: "ERROR",
|
|
@@ -83,6 +98,9 @@ export const GetRollingReleaseReadyState = {
|
|
|
83
98
|
Ready: "READY",
|
|
84
99
|
Canceled: "CANCELED",
|
|
85
100
|
} as const;
|
|
101
|
+
/**
|
|
102
|
+
* The state of the deployment depending on the process of deploying, or if it is ready or in an error state
|
|
103
|
+
*/
|
|
86
104
|
export type GetRollingReleaseReadyState = ClosedEnum<
|
|
87
105
|
typeof GetRollingReleaseReadyState
|
|
88
106
|
>;
|
|
@@ -91,24 +109,54 @@ export type GetRollingReleaseReadyState = ClosedEnum<
|
|
|
91
109
|
* The current deployment receiving production traffic
|
|
92
110
|
*/
|
|
93
111
|
export type CurrentDeployment = {
|
|
112
|
+
/**
|
|
113
|
+
* A string holding the unique ID of the deployment
|
|
114
|
+
*/
|
|
94
115
|
id: string;
|
|
116
|
+
/**
|
|
117
|
+
* The name of the project associated with the deployment at the time that the deployment was created
|
|
118
|
+
*/
|
|
95
119
|
name: string;
|
|
120
|
+
/**
|
|
121
|
+
* A string with the unique URL of the deployment
|
|
122
|
+
*/
|
|
96
123
|
url: string;
|
|
124
|
+
/**
|
|
125
|
+
* If defined, either `staging` if a staging alias in the format `<project>.<team>.now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment.
|
|
126
|
+
*/
|
|
97
127
|
target?: GetRollingReleaseTarget | null | undefined;
|
|
128
|
+
/**
|
|
129
|
+
* Where was the deployment created from
|
|
130
|
+
*/
|
|
98
131
|
source?: GetRollingReleaseSource | undefined;
|
|
132
|
+
/**
|
|
133
|
+
* A number containing the date when the deployment was created in milliseconds
|
|
134
|
+
*/
|
|
99
135
|
createdAt: number;
|
|
136
|
+
/**
|
|
137
|
+
* The state of the deployment depending on the process of deploying, or if it is ready or in an error state
|
|
138
|
+
*/
|
|
100
139
|
readyState: GetRollingReleaseReadyState;
|
|
101
140
|
readyStateAt?: number | undefined;
|
|
102
141
|
};
|
|
103
142
|
|
|
143
|
+
/**
|
|
144
|
+
* If defined, either `staging` if a staging alias in the format `<project>.<team>.now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment.
|
|
145
|
+
*/
|
|
104
146
|
export const GetRollingReleaseRollingReleaseTarget = {
|
|
105
147
|
Staging: "staging",
|
|
106
148
|
Production: "production",
|
|
107
149
|
} as const;
|
|
150
|
+
/**
|
|
151
|
+
* If defined, either `staging` if a staging alias in the format `<project>.<team>.now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment.
|
|
152
|
+
*/
|
|
108
153
|
export type GetRollingReleaseRollingReleaseTarget = ClosedEnum<
|
|
109
154
|
typeof GetRollingReleaseRollingReleaseTarget
|
|
110
155
|
>;
|
|
111
156
|
|
|
157
|
+
/**
|
|
158
|
+
* Where was the deployment created from
|
|
159
|
+
*/
|
|
112
160
|
export const GetRollingReleaseRollingReleaseSource = {
|
|
113
161
|
ApiTriggerGitDeploy: "api-trigger-git-deploy",
|
|
114
162
|
Cli: "cli",
|
|
@@ -119,10 +167,16 @@ export const GetRollingReleaseRollingReleaseSource = {
|
|
|
119
167
|
Redeploy: "redeploy",
|
|
120
168
|
V0Web: "v0-web",
|
|
121
169
|
} as const;
|
|
170
|
+
/**
|
|
171
|
+
* Where was the deployment created from
|
|
172
|
+
*/
|
|
122
173
|
export type GetRollingReleaseRollingReleaseSource = ClosedEnum<
|
|
123
174
|
typeof GetRollingReleaseRollingReleaseSource
|
|
124
175
|
>;
|
|
125
176
|
|
|
177
|
+
/**
|
|
178
|
+
* The state of the deployment depending on the process of deploying, or if it is ready or in an error state
|
|
179
|
+
*/
|
|
126
180
|
export const GetRollingReleaseRollingReleaseReadyState = {
|
|
127
181
|
Building: "BUILDING",
|
|
128
182
|
Error: "ERROR",
|
|
@@ -131,6 +185,9 @@ export const GetRollingReleaseRollingReleaseReadyState = {
|
|
|
131
185
|
Ready: "READY",
|
|
132
186
|
Canceled: "CANCELED",
|
|
133
187
|
} as const;
|
|
188
|
+
/**
|
|
189
|
+
* The state of the deployment depending on the process of deploying, or if it is ready or in an error state
|
|
190
|
+
*/
|
|
134
191
|
export type GetRollingReleaseRollingReleaseReadyState = ClosedEnum<
|
|
135
192
|
typeof GetRollingReleaseRollingReleaseReadyState
|
|
136
193
|
>;
|
|
@@ -139,12 +196,33 @@ export type GetRollingReleaseRollingReleaseReadyState = ClosedEnum<
|
|
|
139
196
|
* The canary deployment being rolled out
|
|
140
197
|
*/
|
|
141
198
|
export type CanaryDeployment = {
|
|
199
|
+
/**
|
|
200
|
+
* A string holding the unique ID of the deployment
|
|
201
|
+
*/
|
|
142
202
|
id: string;
|
|
203
|
+
/**
|
|
204
|
+
* The name of the project associated with the deployment at the time that the deployment was created
|
|
205
|
+
*/
|
|
143
206
|
name: string;
|
|
207
|
+
/**
|
|
208
|
+
* A string with the unique URL of the deployment
|
|
209
|
+
*/
|
|
144
210
|
url: string;
|
|
211
|
+
/**
|
|
212
|
+
* If defined, either `staging` if a staging alias in the format `<project>.<team>.now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment.
|
|
213
|
+
*/
|
|
145
214
|
target?: GetRollingReleaseRollingReleaseTarget | null | undefined;
|
|
215
|
+
/**
|
|
216
|
+
* Where was the deployment created from
|
|
217
|
+
*/
|
|
146
218
|
source?: GetRollingReleaseRollingReleaseSource | undefined;
|
|
219
|
+
/**
|
|
220
|
+
* A number containing the date when the deployment was created in milliseconds
|
|
221
|
+
*/
|
|
147
222
|
createdAt: number;
|
|
223
|
+
/**
|
|
224
|
+
* The state of the deployment depending on the process of deploying, or if it is ready or in an error state
|
|
225
|
+
*/
|
|
148
226
|
readyState: GetRollingReleaseRollingReleaseReadyState;
|
|
149
227
|
readyStateAt?: number | undefined;
|
|
150
228
|
};
|