@vercel/sdk 1.7.4 → 1.7.6
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 +6 -6
- package/bin/mcp-server.js +590 -349
- package/bin/mcp-server.js.map +37 -37
- package/docs/sdks/accessgroups/README.md +16 -0
- package/docs/sdks/artifacts/README.md +6 -6
- package/docs/sdks/authentication/README.md +1 -1
- package/docs/sdks/deployments/README.md +8 -14
- package/docs/sdks/dns/README.md +12 -26
- package/docs/sdks/domains/README.md +2 -2
- package/docs/sdks/edgeconfig/README.md +10 -2
- package/docs/sdks/marketplace/README.md +77 -97
- package/docs/sdks/security/README.md +4 -10
- package/docs/sdks/teams/README.md +8 -0
- package/docs/sdks/vercel/README.md +2 -2
- package/docs/sdks/webhooks/README.md +12 -4
- package/esm/__tests__/deployments.test.js +1 -2
- package/esm/__tests__/deployments.test.js.map +1 -1
- package/esm/funcs/authenticationExchangeSsoToken.d.ts +1 -1
- package/esm/funcs/authenticationExchangeSsoToken.js +1 -1
- package/esm/funcs/certsGetCertById.js +1 -1
- package/esm/funcs/certsIssueCert.js +1 -1
- package/esm/funcs/certsRemoveCert.js +1 -1
- package/esm/funcs/certsUploadCert.js +1 -1
- package/esm/funcs/deploymentsGetDeploymentFileContents.d.ts +2 -2
- package/esm/funcs/deploymentsGetDeploymentFileContents.d.ts.map +1 -1
- package/esm/funcs/deploymentsGetDeploymentFileContents.js +4 -3
- package/esm/funcs/deploymentsGetDeploymentFileContents.js.map +1 -1
- package/esm/funcs/marketplaceExchangeSsoToken.d.ts +1 -1
- package/esm/funcs/marketplaceExchangeSsoToken.js +1 -1
- package/esm/funcs/projectsRemoveProjectDomain.js +3 -2
- package/esm/funcs/projectsRemoveProjectDomain.js.map +1 -1
- package/esm/funcs/projectsRequestPromote.js +0 -1
- package/esm/funcs/projectsRequestPromote.js.map +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/mcp-server/cli/start/impl.js +2 -2
- package/esm/mcp-server/cli/start/impl.js.map +1 -1
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.js +1 -1
- package/esm/mcp-server/tools/authenticationExchangeSsoToken.js +1 -1
- package/esm/mcp-server/tools/authenticationExchangeSsoToken.js.map +1 -1
- package/esm/mcp-server/tools/deploymentsGetDeploymentFileContents.d.ts.map +1 -1
- package/esm/mcp-server/tools/deploymentsGetDeploymentFileContents.js +1 -2
- package/esm/mcp-server/tools/deploymentsGetDeploymentFileContents.js.map +1 -1
- package/esm/mcp-server/tools/marketplaceExchangeSsoToken.js +1 -1
- package/esm/mcp-server/tools/marketplaceExchangeSsoToken.js.map +1 -1
- package/esm/models/authuser.d.ts +0 -93
- package/esm/models/authuser.d.ts.map +1 -1
- package/esm/models/authuser.js +0 -64
- package/esm/models/authuser.js.map +1 -1
- package/esm/models/authuserlimited.d.ts +0 -34
- package/esm/models/authuserlimited.d.ts.map +1 -1
- package/esm/models/authuserlimited.js +0 -23
- package/esm/models/authuserlimited.js.map +1 -1
- package/esm/models/canceldeploymentop.d.ts +10 -0
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +4 -0
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +38 -28
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +16 -12
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +123 -11
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +111 -5
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/getdeploymentfilecontentsop.d.ts +0 -31
- package/esm/models/getdeploymentfilecontentsop.d.ts.map +1 -1
- package/esm/models/getdeploymentfilecontentsop.js +0 -25
- package/esm/models/getdeploymentfilecontentsop.js.map +1 -1
- package/esm/models/getdeploymentop.d.ts +10 -0
- package/esm/models/getdeploymentop.d.ts.map +1 -1
- package/esm/models/getdeploymentop.js +4 -0
- package/esm/models/getdeploymentop.js.map +1 -1
- package/esm/models/getprojectsop.d.ts +114 -2
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +108 -2
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/importresourceop.d.ts +9 -0
- package/esm/models/importresourceop.d.ts.map +1 -1
- package/esm/models/importresourceop.js +2 -0
- package/esm/models/importresourceop.js.map +1 -1
- package/esm/models/issuecertop.d.ts +2 -2
- package/esm/models/issuecertop.d.ts.map +1 -1
- package/esm/models/issuecertop.js +2 -2
- package/esm/models/issuecertop.js.map +1 -1
- package/esm/models/removeprojectdomainop.d.ts +30 -0
- package/esm/models/removeprojectdomainop.d.ts.map +1 -1
- package/esm/models/removeprojectdomainop.js +38 -0
- package/esm/models/removeprojectdomainop.js.map +1 -1
- package/esm/models/requestpromoteop.d.ts +0 -5
- package/esm/models/requestpromoteop.d.ts.map +1 -1
- package/esm/models/requestpromoteop.js +0 -2
- package/esm/models/requestpromoteop.js.map +1 -1
- package/esm/models/teamlimited.d.ts +13 -13
- package/esm/models/teamlimited.d.ts.map +1 -1
- package/esm/models/teamlimited.js +6 -6
- package/esm/models/teamlimited.js.map +1 -1
- package/esm/models/updateprojectdatacacheop.d.ts +114 -2
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +108 -2
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +123 -11
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +111 -5
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/updateresourcesecretsbyidop.d.ts +10 -1
- package/esm/models/updateresourcesecretsbyidop.d.ts.map +1 -1
- package/esm/models/updateresourcesecretsbyidop.js +2 -0
- package/esm/models/updateresourcesecretsbyidop.js.map +1 -1
- package/esm/models/updateresourcesecretsop.d.ts +9 -0
- package/esm/models/updateresourcesecretsop.d.ts.map +1 -1
- package/esm/models/updateresourcesecretsop.js +2 -0
- package/esm/models/updateresourcesecretsop.js.map +1 -1
- package/esm/models/uploadcertop.d.ts +2 -2
- package/esm/models/uploadcertop.d.ts.map +1 -1
- package/esm/models/uploadcertop.js +2 -2
- package/esm/models/uploadcertop.js.map +1 -1
- package/esm/models/userevent.d.ts +391 -280
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +450 -342
- package/esm/models/userevent.js.map +1 -1
- package/esm/sdk/authentication.d.ts +1 -1
- package/esm/sdk/authentication.js +1 -1
- package/esm/sdk/deployments.d.ts +2 -2
- package/esm/sdk/deployments.d.ts.map +1 -1
- package/esm/sdk/deployments.js.map +1 -1
- package/esm/sdk/marketplace.d.ts +1 -1
- package/esm/sdk/marketplace.js +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/deployments.test.ts +1 -2
- package/src/funcs/authenticationExchangeSsoToken.ts +1 -1
- package/src/funcs/certsGetCertById.ts +1 -1
- package/src/funcs/certsIssueCert.ts +1 -1
- package/src/funcs/certsRemoveCert.ts +1 -1
- package/src/funcs/certsUploadCert.ts +1 -1
- package/src/funcs/deploymentsGetDeploymentFileContents.ts +6 -7
- package/src/funcs/marketplaceExchangeSsoToken.ts +1 -1
- package/src/funcs/projectsRemoveProjectDomain.ts +3 -2
- package/src/funcs/projectsRequestPromote.ts +0 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/cli/start/impl.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/tools/authenticationExchangeSsoToken.ts +1 -1
- package/src/mcp-server/tools/deploymentsGetDeploymentFileContents.ts +1 -3
- package/src/mcp-server/tools/marketplaceExchangeSsoToken.ts +1 -1
- package/src/models/authuser.ts +0 -145
- package/src/models/authuserlimited.ts +0 -40
- package/src/models/canceldeploymentop.ts +14 -0
- package/src/models/createdeploymentop.ts +30 -16
- package/src/models/createprojectop.ts +246 -7
- package/src/models/getdeploymentfilecontentsop.ts +0 -69
- package/src/models/getdeploymentop.ts +14 -0
- package/src/models/getprojectsop.ts +237 -4
- package/src/models/importresourceop.ts +7 -0
- package/src/models/issuecertop.ts +4 -4
- package/src/models/removeprojectdomainop.ts +78 -0
- package/src/models/requestpromoteop.ts +0 -7
- package/src/models/teamlimited.ts +13 -13
- package/src/models/updateprojectdatacacheop.ts +260 -4
- package/src/models/updateprojectop.ts +246 -7
- package/src/models/updateresourcesecretsbyidop.ts +8 -1
- package/src/models/updateresourcesecretsop.ts +7 -0
- package/src/models/uploadcertop.ts +4 -4
- package/src/models/userevent.ts +837 -624
- package/src/sdk/authentication.ts +1 -1
- package/src/sdk/deployments.ts +2 -5
- package/src/sdk/marketplace.ts +1 -1
- package/vercel-spec.json +508 -163
|
@@ -4,21 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod";
|
|
6
6
|
import { safeParse } from "../lib/schemas.js";
|
|
7
|
-
import { ClosedEnum } from "../types/enums.js";
|
|
8
7
|
import { Result as SafeParseResult } from "../types/fp.js";
|
|
9
8
|
import { SDKValidationError } from "./sdkvalidationerror.js";
|
|
10
9
|
|
|
11
|
-
/**
|
|
12
|
-
* The user's version. Will always be `northstar`.
|
|
13
|
-
*/
|
|
14
|
-
export const AuthUserLimitedVersion = {
|
|
15
|
-
Northstar: "northstar",
|
|
16
|
-
} as const;
|
|
17
|
-
/**
|
|
18
|
-
* The user's version. Will always be `northstar`.
|
|
19
|
-
*/
|
|
20
|
-
export type AuthUserLimitedVersion = ClosedEnum<typeof AuthUserLimitedVersion>;
|
|
21
|
-
|
|
22
10
|
/**
|
|
23
11
|
* A limited form of data for the currently authenticated User, due to the authentication token missing privileges to read the full User data.
|
|
24
12
|
*/
|
|
@@ -51,33 +39,8 @@ export type AuthUserLimited = {
|
|
|
51
39
|
* The user's default team.
|
|
52
40
|
*/
|
|
53
41
|
defaultTeamId: string | null;
|
|
54
|
-
/**
|
|
55
|
-
* The user's version. Will always be `northstar`.
|
|
56
|
-
*/
|
|
57
|
-
version: AuthUserLimitedVersion;
|
|
58
42
|
};
|
|
59
43
|
|
|
60
|
-
/** @internal */
|
|
61
|
-
export const AuthUserLimitedVersion$inboundSchema: z.ZodNativeEnum<
|
|
62
|
-
typeof AuthUserLimitedVersion
|
|
63
|
-
> = z.nativeEnum(AuthUserLimitedVersion);
|
|
64
|
-
|
|
65
|
-
/** @internal */
|
|
66
|
-
export const AuthUserLimitedVersion$outboundSchema: z.ZodNativeEnum<
|
|
67
|
-
typeof AuthUserLimitedVersion
|
|
68
|
-
> = AuthUserLimitedVersion$inboundSchema;
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* @internal
|
|
72
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
73
|
-
*/
|
|
74
|
-
export namespace AuthUserLimitedVersion$ {
|
|
75
|
-
/** @deprecated use `AuthUserLimitedVersion$inboundSchema` instead. */
|
|
76
|
-
export const inboundSchema = AuthUserLimitedVersion$inboundSchema;
|
|
77
|
-
/** @deprecated use `AuthUserLimitedVersion$outboundSchema` instead. */
|
|
78
|
-
export const outboundSchema = AuthUserLimitedVersion$outboundSchema;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
44
|
/** @internal */
|
|
82
45
|
export const AuthUserLimited$inboundSchema: z.ZodType<
|
|
83
46
|
AuthUserLimited,
|
|
@@ -91,7 +54,6 @@ export const AuthUserLimited$inboundSchema: z.ZodType<
|
|
|
91
54
|
username: z.string(),
|
|
92
55
|
avatar: z.nullable(z.string()),
|
|
93
56
|
defaultTeamId: z.nullable(z.string()),
|
|
94
|
-
version: AuthUserLimitedVersion$inboundSchema,
|
|
95
57
|
});
|
|
96
58
|
|
|
97
59
|
/** @internal */
|
|
@@ -103,7 +65,6 @@ export type AuthUserLimited$Outbound = {
|
|
|
103
65
|
username: string;
|
|
104
66
|
avatar: string | null;
|
|
105
67
|
defaultTeamId: string | null;
|
|
106
|
-
version: string;
|
|
107
68
|
};
|
|
108
69
|
|
|
109
70
|
/** @internal */
|
|
@@ -119,7 +80,6 @@ export const AuthUserLimited$outboundSchema: z.ZodType<
|
|
|
119
80
|
username: z.string(),
|
|
120
81
|
avatar: z.nullable(z.string()),
|
|
121
82
|
defaultTeamId: z.nullable(z.string()),
|
|
122
|
-
version: AuthUserLimitedVersion$outboundSchema,
|
|
123
83
|
});
|
|
124
84
|
|
|
125
85
|
/**
|
|
@@ -1014,6 +1014,10 @@ export type CancelDeploymentMicrofrontends2 = {
|
|
|
1014
1014
|
*/
|
|
1015
1015
|
applications?: { [k: string]: MicrofrontendsApplications } | undefined;
|
|
1016
1016
|
isDefaultApp: boolean;
|
|
1017
|
+
/**
|
|
1018
|
+
* The project name of the default app of this deployment's microfrontends group.
|
|
1019
|
+
*/
|
|
1020
|
+
defaultAppProjectName: string;
|
|
1017
1021
|
/**
|
|
1018
1022
|
* 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.
|
|
1019
1023
|
*/
|
|
@@ -1029,6 +1033,10 @@ export type CancelDeploymentMicrofrontends1 = {
|
|
|
1029
1033
|
* 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.
|
|
1030
1034
|
*/
|
|
1031
1035
|
isDefaultApp?: boolean | undefined;
|
|
1036
|
+
/**
|
|
1037
|
+
* The project name of the default app of this deployment's microfrontends group.
|
|
1038
|
+
*/
|
|
1039
|
+
defaultAppProjectName: string;
|
|
1032
1040
|
/**
|
|
1033
1041
|
* 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.
|
|
1034
1042
|
*/
|
|
@@ -6381,6 +6389,7 @@ export const CancelDeploymentMicrofrontends2$inboundSchema: z.ZodType<
|
|
|
6381
6389
|
applications: z.record(z.lazy(() => MicrofrontendsApplications$inboundSchema))
|
|
6382
6390
|
.optional(),
|
|
6383
6391
|
isDefaultApp: z.boolean(),
|
|
6392
|
+
defaultAppProjectName: z.string(),
|
|
6384
6393
|
defaultRoute: z.string().optional(),
|
|
6385
6394
|
groupIds: z.array(z.string()),
|
|
6386
6395
|
});
|
|
@@ -6391,6 +6400,7 @@ export type CancelDeploymentMicrofrontends2$Outbound = {
|
|
|
6391
6400
|
| { [k: string]: MicrofrontendsApplications$Outbound }
|
|
6392
6401
|
| undefined;
|
|
6393
6402
|
isDefaultApp: boolean;
|
|
6403
|
+
defaultAppProjectName: string;
|
|
6394
6404
|
defaultRoute?: string | undefined;
|
|
6395
6405
|
groupIds: Array<string>;
|
|
6396
6406
|
};
|
|
@@ -6405,6 +6415,7 @@ export const CancelDeploymentMicrofrontends2$outboundSchema: z.ZodType<
|
|
|
6405
6415
|
z.lazy(() => MicrofrontendsApplications$outboundSchema),
|
|
6406
6416
|
).optional(),
|
|
6407
6417
|
isDefaultApp: z.boolean(),
|
|
6418
|
+
defaultAppProjectName: z.string(),
|
|
6408
6419
|
defaultRoute: z.string().optional(),
|
|
6409
6420
|
groupIds: z.array(z.string()),
|
|
6410
6421
|
});
|
|
@@ -6449,6 +6460,7 @@ export const CancelDeploymentMicrofrontends1$inboundSchema: z.ZodType<
|
|
|
6449
6460
|
unknown
|
|
6450
6461
|
> = z.object({
|
|
6451
6462
|
isDefaultApp: z.boolean().optional(),
|
|
6463
|
+
defaultAppProjectName: z.string(),
|
|
6452
6464
|
defaultRoute: z.string().optional(),
|
|
6453
6465
|
groupIds: z.array(z.string()),
|
|
6454
6466
|
});
|
|
@@ -6456,6 +6468,7 @@ export const CancelDeploymentMicrofrontends1$inboundSchema: z.ZodType<
|
|
|
6456
6468
|
/** @internal */
|
|
6457
6469
|
export type CancelDeploymentMicrofrontends1$Outbound = {
|
|
6458
6470
|
isDefaultApp?: boolean | undefined;
|
|
6471
|
+
defaultAppProjectName: string;
|
|
6459
6472
|
defaultRoute?: string | undefined;
|
|
6460
6473
|
groupIds: Array<string>;
|
|
6461
6474
|
};
|
|
@@ -6467,6 +6480,7 @@ export const CancelDeploymentMicrofrontends1$outboundSchema: z.ZodType<
|
|
|
6467
6480
|
CancelDeploymentMicrofrontends1
|
|
6468
6481
|
> = z.object({
|
|
6469
6482
|
isDefaultApp: z.boolean().optional(),
|
|
6483
|
+
defaultAppProjectName: z.string(),
|
|
6470
6484
|
defaultRoute: z.string().optional(),
|
|
6471
6485
|
groupIds: z.array(z.string()),
|
|
6472
6486
|
});
|
|
@@ -613,8 +613,8 @@ export type Creator = {
|
|
|
613
613
|
};
|
|
614
614
|
|
|
615
615
|
export const CreateDeploymentReadyState = {
|
|
616
|
-
Error: "ERROR",
|
|
617
616
|
Building: "BUILDING",
|
|
617
|
+
Error: "ERROR",
|
|
618
618
|
Initializing: "INITIALIZING",
|
|
619
619
|
Ready: "READY",
|
|
620
620
|
} as const;
|
|
@@ -631,10 +631,10 @@ export type CreateDeploymentOutput = {
|
|
|
631
631
|
* A partial representation of a Build used by the deployment endpoint.
|
|
632
632
|
*/
|
|
633
633
|
export type Lambdas = {
|
|
634
|
-
createdAt?: number | undefined;
|
|
635
634
|
id?: string | undefined;
|
|
636
|
-
|
|
635
|
+
createdAt?: number | undefined;
|
|
637
636
|
entrypoint?: string | null | undefined;
|
|
637
|
+
readyState?: CreateDeploymentReadyState | undefined;
|
|
638
638
|
readyStateAt?: number | undefined;
|
|
639
639
|
output: Array<CreateDeploymentOutput>;
|
|
640
640
|
};
|
|
@@ -677,9 +677,9 @@ export type CustomEnvironmentType = ClosedEnum<typeof CustomEnvironmentType>;
|
|
|
677
677
|
* The type of matching to perform
|
|
678
678
|
*/
|
|
679
679
|
export const CreateDeploymentCustomEnvironmentType = {
|
|
680
|
-
EndsWith: "endsWith",
|
|
681
680
|
StartsWith: "startsWith",
|
|
682
681
|
Equals: "equals",
|
|
682
|
+
EndsWith: "endsWith",
|
|
683
683
|
} as const;
|
|
684
684
|
/**
|
|
685
685
|
* The type of matching to perform
|
|
@@ -1139,6 +1139,10 @@ export type CreateDeploymentMicrofrontends2 = {
|
|
|
1139
1139
|
*/
|
|
1140
1140
|
applications?: { [k: string]: Applications } | undefined;
|
|
1141
1141
|
isDefaultApp: boolean;
|
|
1142
|
+
/**
|
|
1143
|
+
* The project name of the default app of this deployment's microfrontends group.
|
|
1144
|
+
*/
|
|
1145
|
+
defaultAppProjectName: string;
|
|
1142
1146
|
/**
|
|
1143
1147
|
* 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.
|
|
1144
1148
|
*/
|
|
@@ -1154,6 +1158,10 @@ export type CreateDeploymentMicrofrontends1 = {
|
|
|
1154
1158
|
* 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.
|
|
1155
1159
|
*/
|
|
1156
1160
|
isDefaultApp?: boolean | undefined;
|
|
1161
|
+
/**
|
|
1162
|
+
* The project name of the default app of this deployment's microfrontends group.
|
|
1163
|
+
*/
|
|
1164
|
+
defaultAppProjectName: string;
|
|
1157
1165
|
/**
|
|
1158
1166
|
* 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.
|
|
1159
1167
|
*/
|
|
@@ -1169,14 +1177,14 @@ export type CreateDeploymentMicrofrontends =
|
|
|
1169
1177
|
| CreateDeploymentMicrofrontends2;
|
|
1170
1178
|
|
|
1171
1179
|
export const FunctionType = {
|
|
1172
|
-
Standard: "standard",
|
|
1173
1180
|
Fluid: "fluid",
|
|
1181
|
+
Standard: "standard",
|
|
1174
1182
|
} as const;
|
|
1175
1183
|
export type FunctionType = ClosedEnum<typeof FunctionType>;
|
|
1176
1184
|
|
|
1177
1185
|
export const FunctionMemoryType = {
|
|
1178
|
-
StandardLegacy: "standard_legacy",
|
|
1179
1186
|
Standard: "standard",
|
|
1187
|
+
StandardLegacy: "standard_legacy",
|
|
1180
1188
|
Performance: "performance",
|
|
1181
1189
|
} as const;
|
|
1182
1190
|
export type FunctionMemoryType = ClosedEnum<typeof FunctionMemoryType>;
|
|
@@ -1209,11 +1217,11 @@ export type Routes3 = {
|
|
|
1209
1217
|
|
|
1210
1218
|
export const RoutesHandle = {
|
|
1211
1219
|
Error: "error",
|
|
1212
|
-
Resource: "resource",
|
|
1213
1220
|
Filesystem: "filesystem",
|
|
1214
1221
|
Hit: "hit",
|
|
1215
1222
|
Miss: "miss",
|
|
1216
1223
|
Rewrite: "rewrite",
|
|
1224
|
+
Resource: "resource",
|
|
1217
1225
|
} as const;
|
|
1218
1226
|
export type RoutesHandle = ClosedEnum<typeof RoutesHandle>;
|
|
1219
1227
|
|
|
@@ -1326,8 +1334,8 @@ export type CreateDeploymentGitRepoDeploymentsType = ClosedEnum<
|
|
|
1326
1334
|
>;
|
|
1327
1335
|
|
|
1328
1336
|
export const CreateDeploymentGitRepoOwnerType = {
|
|
1329
|
-
User: "user",
|
|
1330
1337
|
Team: "team",
|
|
1338
|
+
User: "user",
|
|
1331
1339
|
} as const;
|
|
1332
1340
|
export type CreateDeploymentGitRepoOwnerType = ClosedEnum<
|
|
1333
1341
|
typeof CreateDeploymentGitRepoOwnerType
|
|
@@ -1354,8 +1362,8 @@ export type CreateDeploymentGitRepoType = ClosedEnum<
|
|
|
1354
1362
|
>;
|
|
1355
1363
|
|
|
1356
1364
|
export const GitRepoOwnerType = {
|
|
1357
|
-
User: "user",
|
|
1358
1365
|
Team: "team",
|
|
1366
|
+
User: "user",
|
|
1359
1367
|
} as const;
|
|
1360
1368
|
export type GitRepoOwnerType = ClosedEnum<typeof GitRepoOwnerType>;
|
|
1361
1369
|
|
|
@@ -1378,8 +1386,8 @@ export const GitRepoType = {
|
|
|
1378
1386
|
export type GitRepoType = ClosedEnum<typeof GitRepoType>;
|
|
1379
1387
|
|
|
1380
1388
|
export const OwnerType = {
|
|
1381
|
-
User: "user",
|
|
1382
1389
|
Team: "team",
|
|
1390
|
+
User: "user",
|
|
1383
1391
|
} as const;
|
|
1384
1392
|
export type OwnerType = ClosedEnum<typeof OwnerType>;
|
|
1385
1393
|
|
|
@@ -3660,20 +3668,20 @@ export function createDeploymentOutputFromJSON(
|
|
|
3660
3668
|
/** @internal */
|
|
3661
3669
|
export const Lambdas$inboundSchema: z.ZodType<Lambdas, z.ZodTypeDef, unknown> =
|
|
3662
3670
|
z.object({
|
|
3663
|
-
createdAt: z.number().optional(),
|
|
3664
3671
|
id: z.string().optional(),
|
|
3665
|
-
|
|
3672
|
+
createdAt: z.number().optional(),
|
|
3666
3673
|
entrypoint: z.nullable(z.string()).optional(),
|
|
3674
|
+
readyState: CreateDeploymentReadyState$inboundSchema.optional(),
|
|
3667
3675
|
readyStateAt: z.number().optional(),
|
|
3668
3676
|
output: z.array(z.lazy(() => CreateDeploymentOutput$inboundSchema)),
|
|
3669
3677
|
});
|
|
3670
3678
|
|
|
3671
3679
|
/** @internal */
|
|
3672
3680
|
export type Lambdas$Outbound = {
|
|
3673
|
-
createdAt?: number | undefined;
|
|
3674
3681
|
id?: string | undefined;
|
|
3675
|
-
|
|
3682
|
+
createdAt?: number | undefined;
|
|
3676
3683
|
entrypoint?: string | null | undefined;
|
|
3684
|
+
readyState?: string | undefined;
|
|
3677
3685
|
readyStateAt?: number | undefined;
|
|
3678
3686
|
output: Array<CreateDeploymentOutput$Outbound>;
|
|
3679
3687
|
};
|
|
@@ -3684,10 +3692,10 @@ export const Lambdas$outboundSchema: z.ZodType<
|
|
|
3684
3692
|
z.ZodTypeDef,
|
|
3685
3693
|
Lambdas
|
|
3686
3694
|
> = z.object({
|
|
3687
|
-
createdAt: z.number().optional(),
|
|
3688
3695
|
id: z.string().optional(),
|
|
3689
|
-
|
|
3696
|
+
createdAt: z.number().optional(),
|
|
3690
3697
|
entrypoint: z.nullable(z.string()).optional(),
|
|
3698
|
+
readyState: CreateDeploymentReadyState$outboundSchema.optional(),
|
|
3691
3699
|
readyStateAt: z.number().optional(),
|
|
3692
3700
|
output: z.array(z.lazy(() => CreateDeploymentOutput$outboundSchema)),
|
|
3693
3701
|
});
|
|
@@ -6139,6 +6147,7 @@ export const CreateDeploymentMicrofrontends2$inboundSchema: z.ZodType<
|
|
|
6139
6147
|
> = z.object({
|
|
6140
6148
|
applications: z.record(z.lazy(() => Applications$inboundSchema)).optional(),
|
|
6141
6149
|
isDefaultApp: z.boolean(),
|
|
6150
|
+
defaultAppProjectName: z.string(),
|
|
6142
6151
|
defaultRoute: z.string().optional(),
|
|
6143
6152
|
groupIds: z.array(z.string()),
|
|
6144
6153
|
});
|
|
@@ -6147,6 +6156,7 @@ export const CreateDeploymentMicrofrontends2$inboundSchema: z.ZodType<
|
|
|
6147
6156
|
export type CreateDeploymentMicrofrontends2$Outbound = {
|
|
6148
6157
|
applications?: { [k: string]: Applications$Outbound } | undefined;
|
|
6149
6158
|
isDefaultApp: boolean;
|
|
6159
|
+
defaultAppProjectName: string;
|
|
6150
6160
|
defaultRoute?: string | undefined;
|
|
6151
6161
|
groupIds: Array<string>;
|
|
6152
6162
|
};
|
|
@@ -6159,6 +6169,7 @@ export const CreateDeploymentMicrofrontends2$outboundSchema: z.ZodType<
|
|
|
6159
6169
|
> = z.object({
|
|
6160
6170
|
applications: z.record(z.lazy(() => Applications$outboundSchema)).optional(),
|
|
6161
6171
|
isDefaultApp: z.boolean(),
|
|
6172
|
+
defaultAppProjectName: z.string(),
|
|
6162
6173
|
defaultRoute: z.string().optional(),
|
|
6163
6174
|
groupIds: z.array(z.string()),
|
|
6164
6175
|
});
|
|
@@ -6203,6 +6214,7 @@ export const CreateDeploymentMicrofrontends1$inboundSchema: z.ZodType<
|
|
|
6203
6214
|
unknown
|
|
6204
6215
|
> = z.object({
|
|
6205
6216
|
isDefaultApp: z.boolean().optional(),
|
|
6217
|
+
defaultAppProjectName: z.string(),
|
|
6206
6218
|
defaultRoute: z.string().optional(),
|
|
6207
6219
|
groupIds: z.array(z.string()),
|
|
6208
6220
|
});
|
|
@@ -6210,6 +6222,7 @@ export const CreateDeploymentMicrofrontends1$inboundSchema: z.ZodType<
|
|
|
6210
6222
|
/** @internal */
|
|
6211
6223
|
export type CreateDeploymentMicrofrontends1$Outbound = {
|
|
6212
6224
|
isDefaultApp?: boolean | undefined;
|
|
6225
|
+
defaultAppProjectName: string;
|
|
6213
6226
|
defaultRoute?: string | undefined;
|
|
6214
6227
|
groupIds: Array<string>;
|
|
6215
6228
|
};
|
|
@@ -6221,6 +6234,7 @@ export const CreateDeploymentMicrofrontends1$outboundSchema: z.ZodType<
|
|
|
6221
6234
|
CreateDeploymentMicrofrontends1
|
|
6222
6235
|
> = z.object({
|
|
6223
6236
|
isDefaultApp: z.boolean().optional(),
|
|
6237
|
+
defaultAppProjectName: z.string(),
|
|
6224
6238
|
defaultRoute: z.string().optional(),
|
|
6225
6239
|
groupIds: z.array(z.string()),
|
|
6226
6240
|
});
|
|
@@ -325,6 +325,29 @@ export type CreateProjectSpeedInsights = {
|
|
|
325
325
|
paidAt?: number | undefined;
|
|
326
326
|
};
|
|
327
327
|
|
|
328
|
+
export const CreateProjectEnvId2 = {
|
|
329
|
+
Production: "production",
|
|
330
|
+
Preview: "preview",
|
|
331
|
+
} as const;
|
|
332
|
+
export type CreateProjectEnvId2 = ClosedEnum<typeof CreateProjectEnvId2>;
|
|
333
|
+
|
|
334
|
+
export type CreateProjectEnvId = string | CreateProjectEnvId2;
|
|
335
|
+
|
|
336
|
+
export type CreateProjectAws = {
|
|
337
|
+
subnetIds: Array<string>;
|
|
338
|
+
securityGroupId: string;
|
|
339
|
+
};
|
|
340
|
+
|
|
341
|
+
export type CreateProjectConnectConfigurations = {
|
|
342
|
+
envId: string | CreateProjectEnvId2;
|
|
343
|
+
connectConfigurationId: string;
|
|
344
|
+
passive: boolean;
|
|
345
|
+
buildsEnabled: boolean;
|
|
346
|
+
aws?: CreateProjectAws | undefined;
|
|
347
|
+
createdAt: number;
|
|
348
|
+
updatedAt: number;
|
|
349
|
+
};
|
|
350
|
+
|
|
328
351
|
export type CreateProjectDefinitions = {
|
|
329
352
|
/**
|
|
330
353
|
* The hostname that should be used.
|
|
@@ -391,10 +414,10 @@ export type CreateProjectProjectsTarget =
|
|
|
391
414
|
|
|
392
415
|
export const CreateProjectProjectsResponseType = {
|
|
393
416
|
System: "system",
|
|
417
|
+
Secret: "secret",
|
|
394
418
|
Encrypted: "encrypted",
|
|
395
419
|
Plain: "plain",
|
|
396
420
|
Sensitive: "sensitive",
|
|
397
|
-
Secret: "secret",
|
|
398
421
|
} as const;
|
|
399
422
|
export type CreateProjectProjectsResponseType = ClosedEnum<
|
|
400
423
|
typeof CreateProjectProjectsResponseType
|
|
@@ -1866,8 +1889,8 @@ export type CreateProjectSrc = CreateProjectSrc2 | string;
|
|
|
1866
1889
|
|
|
1867
1890
|
export const CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityType =
|
|
1868
1891
|
{
|
|
1869
|
-
Path: "path",
|
|
1870
1892
|
Host: "host",
|
|
1893
|
+
Path: "path",
|
|
1871
1894
|
Method: "method",
|
|
1872
1895
|
Header: "header",
|
|
1873
1896
|
Cookie: "cookie",
|
|
@@ -1908,8 +1931,8 @@ export type CreateProjectHas = {
|
|
|
1908
1931
|
|
|
1909
1932
|
export const CreateProjectProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType =
|
|
1910
1933
|
{
|
|
1911
|
-
Path: "path",
|
|
1912
1934
|
Host: "host",
|
|
1935
|
+
Path: "path",
|
|
1913
1936
|
Method: "method",
|
|
1914
1937
|
Header: "header",
|
|
1915
1938
|
Cookie: "cookie",
|
|
@@ -2065,8 +2088,13 @@ export type CreateProjectResponseBody = {
|
|
|
2065
2088
|
autoAssignCustomDomainsUpdatedBy?: string | undefined;
|
|
2066
2089
|
buildCommand?: string | null | undefined;
|
|
2067
2090
|
commandForIgnoringBuildStep?: string | null | undefined;
|
|
2091
|
+
connectConfigurations?:
|
|
2092
|
+
| Array<CreateProjectConnectConfigurations>
|
|
2093
|
+
| null
|
|
2094
|
+
| undefined;
|
|
2068
2095
|
connectConfigurationId?: string | null | undefined;
|
|
2069
2096
|
connectBuildsEnabled?: boolean | undefined;
|
|
2097
|
+
passiveConnectConfigurationId?: string | null | undefined;
|
|
2070
2098
|
createdAt?: number | undefined;
|
|
2071
2099
|
customerSupportCodeVisibility?: boolean | undefined;
|
|
2072
2100
|
crons?: CreateProjectCrons | undefined;
|
|
@@ -2097,7 +2125,6 @@ export type CreateProjectResponseBody = {
|
|
|
2097
2125
|
nodeVersion: CreateProjectNodeVersion;
|
|
2098
2126
|
optionsAllowlist?: CreateProjectOptionsAllowlist | null | undefined;
|
|
2099
2127
|
outputDirectory?: string | null | undefined;
|
|
2100
|
-
passiveConnectConfigurationId?: string | null | undefined;
|
|
2101
2128
|
passwordProtection?: CreateProjectPasswordProtection | null | undefined;
|
|
2102
2129
|
productionDeploymentsFastLane?: boolean | undefined;
|
|
2103
2130
|
publicSource?: boolean | null | undefined;
|
|
@@ -2928,6 +2955,208 @@ export function createProjectSpeedInsightsFromJSON(
|
|
|
2928
2955
|
);
|
|
2929
2956
|
}
|
|
2930
2957
|
|
|
2958
|
+
/** @internal */
|
|
2959
|
+
export const CreateProjectEnvId2$inboundSchema: z.ZodNativeEnum<
|
|
2960
|
+
typeof CreateProjectEnvId2
|
|
2961
|
+
> = z.nativeEnum(CreateProjectEnvId2);
|
|
2962
|
+
|
|
2963
|
+
/** @internal */
|
|
2964
|
+
export const CreateProjectEnvId2$outboundSchema: z.ZodNativeEnum<
|
|
2965
|
+
typeof CreateProjectEnvId2
|
|
2966
|
+
> = CreateProjectEnvId2$inboundSchema;
|
|
2967
|
+
|
|
2968
|
+
/**
|
|
2969
|
+
* @internal
|
|
2970
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2971
|
+
*/
|
|
2972
|
+
export namespace CreateProjectEnvId2$ {
|
|
2973
|
+
/** @deprecated use `CreateProjectEnvId2$inboundSchema` instead. */
|
|
2974
|
+
export const inboundSchema = CreateProjectEnvId2$inboundSchema;
|
|
2975
|
+
/** @deprecated use `CreateProjectEnvId2$outboundSchema` instead. */
|
|
2976
|
+
export const outboundSchema = CreateProjectEnvId2$outboundSchema;
|
|
2977
|
+
}
|
|
2978
|
+
|
|
2979
|
+
/** @internal */
|
|
2980
|
+
export const CreateProjectEnvId$inboundSchema: z.ZodType<
|
|
2981
|
+
CreateProjectEnvId,
|
|
2982
|
+
z.ZodTypeDef,
|
|
2983
|
+
unknown
|
|
2984
|
+
> = z.union([z.string(), CreateProjectEnvId2$inboundSchema]);
|
|
2985
|
+
|
|
2986
|
+
/** @internal */
|
|
2987
|
+
export type CreateProjectEnvId$Outbound = string | string;
|
|
2988
|
+
|
|
2989
|
+
/** @internal */
|
|
2990
|
+
export const CreateProjectEnvId$outboundSchema: z.ZodType<
|
|
2991
|
+
CreateProjectEnvId$Outbound,
|
|
2992
|
+
z.ZodTypeDef,
|
|
2993
|
+
CreateProjectEnvId
|
|
2994
|
+
> = z.union([z.string(), CreateProjectEnvId2$outboundSchema]);
|
|
2995
|
+
|
|
2996
|
+
/**
|
|
2997
|
+
* @internal
|
|
2998
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2999
|
+
*/
|
|
3000
|
+
export namespace CreateProjectEnvId$ {
|
|
3001
|
+
/** @deprecated use `CreateProjectEnvId$inboundSchema` instead. */
|
|
3002
|
+
export const inboundSchema = CreateProjectEnvId$inboundSchema;
|
|
3003
|
+
/** @deprecated use `CreateProjectEnvId$outboundSchema` instead. */
|
|
3004
|
+
export const outboundSchema = CreateProjectEnvId$outboundSchema;
|
|
3005
|
+
/** @deprecated use `CreateProjectEnvId$Outbound` instead. */
|
|
3006
|
+
export type Outbound = CreateProjectEnvId$Outbound;
|
|
3007
|
+
}
|
|
3008
|
+
|
|
3009
|
+
export function createProjectEnvIdToJSON(
|
|
3010
|
+
createProjectEnvId: CreateProjectEnvId,
|
|
3011
|
+
): string {
|
|
3012
|
+
return JSON.stringify(
|
|
3013
|
+
CreateProjectEnvId$outboundSchema.parse(createProjectEnvId),
|
|
3014
|
+
);
|
|
3015
|
+
}
|
|
3016
|
+
|
|
3017
|
+
export function createProjectEnvIdFromJSON(
|
|
3018
|
+
jsonString: string,
|
|
3019
|
+
): SafeParseResult<CreateProjectEnvId, SDKValidationError> {
|
|
3020
|
+
return safeParse(
|
|
3021
|
+
jsonString,
|
|
3022
|
+
(x) => CreateProjectEnvId$inboundSchema.parse(JSON.parse(x)),
|
|
3023
|
+
`Failed to parse 'CreateProjectEnvId' from JSON`,
|
|
3024
|
+
);
|
|
3025
|
+
}
|
|
3026
|
+
|
|
3027
|
+
/** @internal */
|
|
3028
|
+
export const CreateProjectAws$inboundSchema: z.ZodType<
|
|
3029
|
+
CreateProjectAws,
|
|
3030
|
+
z.ZodTypeDef,
|
|
3031
|
+
unknown
|
|
3032
|
+
> = z.object({
|
|
3033
|
+
subnetIds: z.array(z.string()),
|
|
3034
|
+
securityGroupId: z.string(),
|
|
3035
|
+
});
|
|
3036
|
+
|
|
3037
|
+
/** @internal */
|
|
3038
|
+
export type CreateProjectAws$Outbound = {
|
|
3039
|
+
subnetIds: Array<string>;
|
|
3040
|
+
securityGroupId: string;
|
|
3041
|
+
};
|
|
3042
|
+
|
|
3043
|
+
/** @internal */
|
|
3044
|
+
export const CreateProjectAws$outboundSchema: z.ZodType<
|
|
3045
|
+
CreateProjectAws$Outbound,
|
|
3046
|
+
z.ZodTypeDef,
|
|
3047
|
+
CreateProjectAws
|
|
3048
|
+
> = z.object({
|
|
3049
|
+
subnetIds: z.array(z.string()),
|
|
3050
|
+
securityGroupId: z.string(),
|
|
3051
|
+
});
|
|
3052
|
+
|
|
3053
|
+
/**
|
|
3054
|
+
* @internal
|
|
3055
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3056
|
+
*/
|
|
3057
|
+
export namespace CreateProjectAws$ {
|
|
3058
|
+
/** @deprecated use `CreateProjectAws$inboundSchema` instead. */
|
|
3059
|
+
export const inboundSchema = CreateProjectAws$inboundSchema;
|
|
3060
|
+
/** @deprecated use `CreateProjectAws$outboundSchema` instead. */
|
|
3061
|
+
export const outboundSchema = CreateProjectAws$outboundSchema;
|
|
3062
|
+
/** @deprecated use `CreateProjectAws$Outbound` instead. */
|
|
3063
|
+
export type Outbound = CreateProjectAws$Outbound;
|
|
3064
|
+
}
|
|
3065
|
+
|
|
3066
|
+
export function createProjectAwsToJSON(
|
|
3067
|
+
createProjectAws: CreateProjectAws,
|
|
3068
|
+
): string {
|
|
3069
|
+
return JSON.stringify(
|
|
3070
|
+
CreateProjectAws$outboundSchema.parse(createProjectAws),
|
|
3071
|
+
);
|
|
3072
|
+
}
|
|
3073
|
+
|
|
3074
|
+
export function createProjectAwsFromJSON(
|
|
3075
|
+
jsonString: string,
|
|
3076
|
+
): SafeParseResult<CreateProjectAws, SDKValidationError> {
|
|
3077
|
+
return safeParse(
|
|
3078
|
+
jsonString,
|
|
3079
|
+
(x) => CreateProjectAws$inboundSchema.parse(JSON.parse(x)),
|
|
3080
|
+
`Failed to parse 'CreateProjectAws' from JSON`,
|
|
3081
|
+
);
|
|
3082
|
+
}
|
|
3083
|
+
|
|
3084
|
+
/** @internal */
|
|
3085
|
+
export const CreateProjectConnectConfigurations$inboundSchema: z.ZodType<
|
|
3086
|
+
CreateProjectConnectConfigurations,
|
|
3087
|
+
z.ZodTypeDef,
|
|
3088
|
+
unknown
|
|
3089
|
+
> = z.object({
|
|
3090
|
+
envId: z.union([z.string(), CreateProjectEnvId2$inboundSchema]),
|
|
3091
|
+
connectConfigurationId: z.string(),
|
|
3092
|
+
passive: z.boolean(),
|
|
3093
|
+
buildsEnabled: z.boolean(),
|
|
3094
|
+
aws: z.lazy(() => CreateProjectAws$inboundSchema).optional(),
|
|
3095
|
+
createdAt: z.number(),
|
|
3096
|
+
updatedAt: z.number(),
|
|
3097
|
+
});
|
|
3098
|
+
|
|
3099
|
+
/** @internal */
|
|
3100
|
+
export type CreateProjectConnectConfigurations$Outbound = {
|
|
3101
|
+
envId: string | string;
|
|
3102
|
+
connectConfigurationId: string;
|
|
3103
|
+
passive: boolean;
|
|
3104
|
+
buildsEnabled: boolean;
|
|
3105
|
+
aws?: CreateProjectAws$Outbound | undefined;
|
|
3106
|
+
createdAt: number;
|
|
3107
|
+
updatedAt: number;
|
|
3108
|
+
};
|
|
3109
|
+
|
|
3110
|
+
/** @internal */
|
|
3111
|
+
export const CreateProjectConnectConfigurations$outboundSchema: z.ZodType<
|
|
3112
|
+
CreateProjectConnectConfigurations$Outbound,
|
|
3113
|
+
z.ZodTypeDef,
|
|
3114
|
+
CreateProjectConnectConfigurations
|
|
3115
|
+
> = z.object({
|
|
3116
|
+
envId: z.union([z.string(), CreateProjectEnvId2$outboundSchema]),
|
|
3117
|
+
connectConfigurationId: z.string(),
|
|
3118
|
+
passive: z.boolean(),
|
|
3119
|
+
buildsEnabled: z.boolean(),
|
|
3120
|
+
aws: z.lazy(() => CreateProjectAws$outboundSchema).optional(),
|
|
3121
|
+
createdAt: z.number(),
|
|
3122
|
+
updatedAt: z.number(),
|
|
3123
|
+
});
|
|
3124
|
+
|
|
3125
|
+
/**
|
|
3126
|
+
* @internal
|
|
3127
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3128
|
+
*/
|
|
3129
|
+
export namespace CreateProjectConnectConfigurations$ {
|
|
3130
|
+
/** @deprecated use `CreateProjectConnectConfigurations$inboundSchema` instead. */
|
|
3131
|
+
export const inboundSchema = CreateProjectConnectConfigurations$inboundSchema;
|
|
3132
|
+
/** @deprecated use `CreateProjectConnectConfigurations$outboundSchema` instead. */
|
|
3133
|
+
export const outboundSchema =
|
|
3134
|
+
CreateProjectConnectConfigurations$outboundSchema;
|
|
3135
|
+
/** @deprecated use `CreateProjectConnectConfigurations$Outbound` instead. */
|
|
3136
|
+
export type Outbound = CreateProjectConnectConfigurations$Outbound;
|
|
3137
|
+
}
|
|
3138
|
+
|
|
3139
|
+
export function createProjectConnectConfigurationsToJSON(
|
|
3140
|
+
createProjectConnectConfigurations: CreateProjectConnectConfigurations,
|
|
3141
|
+
): string {
|
|
3142
|
+
return JSON.stringify(
|
|
3143
|
+
CreateProjectConnectConfigurations$outboundSchema.parse(
|
|
3144
|
+
createProjectConnectConfigurations,
|
|
3145
|
+
),
|
|
3146
|
+
);
|
|
3147
|
+
}
|
|
3148
|
+
|
|
3149
|
+
export function createProjectConnectConfigurationsFromJSON(
|
|
3150
|
+
jsonString: string,
|
|
3151
|
+
): SafeParseResult<CreateProjectConnectConfigurations, SDKValidationError> {
|
|
3152
|
+
return safeParse(
|
|
3153
|
+
jsonString,
|
|
3154
|
+
(x) =>
|
|
3155
|
+
CreateProjectConnectConfigurations$inboundSchema.parse(JSON.parse(x)),
|
|
3156
|
+
`Failed to parse 'CreateProjectConnectConfigurations' from JSON`,
|
|
3157
|
+
);
|
|
3158
|
+
}
|
|
3159
|
+
|
|
2931
3160
|
/** @internal */
|
|
2932
3161
|
export const CreateProjectDefinitions$inboundSchema: z.ZodType<
|
|
2933
3162
|
CreateProjectDefinitions,
|
|
@@ -11189,8 +11418,12 @@ export const CreateProjectResponseBody$inboundSchema: z.ZodType<
|
|
|
11189
11418
|
autoAssignCustomDomainsUpdatedBy: z.string().optional(),
|
|
11190
11419
|
buildCommand: z.nullable(z.string()).optional(),
|
|
11191
11420
|
commandForIgnoringBuildStep: z.nullable(z.string()).optional(),
|
|
11421
|
+
connectConfigurations: z.nullable(
|
|
11422
|
+
z.array(z.lazy(() => CreateProjectConnectConfigurations$inboundSchema)),
|
|
11423
|
+
).optional(),
|
|
11192
11424
|
connectConfigurationId: z.nullable(z.string()).optional(),
|
|
11193
11425
|
connectBuildsEnabled: z.boolean().optional(),
|
|
11426
|
+
passiveConnectConfigurationId: z.nullable(z.string()).optional(),
|
|
11194
11427
|
createdAt: z.number().optional(),
|
|
11195
11428
|
customerSupportCodeVisibility: z.boolean().optional(),
|
|
11196
11429
|
crons: z.lazy(() => CreateProjectCrons$inboundSchema).optional(),
|
|
@@ -11231,7 +11464,6 @@ export const CreateProjectResponseBody$inboundSchema: z.ZodType<
|
|
|
11231
11464
|
z.lazy(() => CreateProjectOptionsAllowlist$inboundSchema),
|
|
11232
11465
|
).optional(),
|
|
11233
11466
|
outputDirectory: z.nullable(z.string()).optional(),
|
|
11234
|
-
passiveConnectConfigurationId: z.nullable(z.string()).optional(),
|
|
11235
11467
|
passwordProtection: z.nullable(
|
|
11236
11468
|
z.lazy(() => CreateProjectPasswordProtection$inboundSchema),
|
|
11237
11469
|
).optional(),
|
|
@@ -11312,8 +11544,13 @@ export type CreateProjectResponseBody$Outbound = {
|
|
|
11312
11544
|
autoAssignCustomDomainsUpdatedBy?: string | undefined;
|
|
11313
11545
|
buildCommand?: string | null | undefined;
|
|
11314
11546
|
commandForIgnoringBuildStep?: string | null | undefined;
|
|
11547
|
+
connectConfigurations?:
|
|
11548
|
+
| Array<CreateProjectConnectConfigurations$Outbound>
|
|
11549
|
+
| null
|
|
11550
|
+
| undefined;
|
|
11315
11551
|
connectConfigurationId?: string | null | undefined;
|
|
11316
11552
|
connectBuildsEnabled?: boolean | undefined;
|
|
11553
|
+
passiveConnectConfigurationId?: string | null | undefined;
|
|
11317
11554
|
createdAt?: number | undefined;
|
|
11318
11555
|
customerSupportCodeVisibility?: boolean | undefined;
|
|
11319
11556
|
crons?: CreateProjectCrons$Outbound | undefined;
|
|
@@ -11351,7 +11588,6 @@ export type CreateProjectResponseBody$Outbound = {
|
|
|
11351
11588
|
nodeVersion: string;
|
|
11352
11589
|
optionsAllowlist?: CreateProjectOptionsAllowlist$Outbound | null | undefined;
|
|
11353
11590
|
outputDirectory?: string | null | undefined;
|
|
11354
|
-
passiveConnectConfigurationId?: string | null | undefined;
|
|
11355
11591
|
passwordProtection?:
|
|
11356
11592
|
| CreateProjectPasswordProtection$Outbound
|
|
11357
11593
|
| null
|
|
@@ -11421,8 +11657,12 @@ export const CreateProjectResponseBody$outboundSchema: z.ZodType<
|
|
|
11421
11657
|
autoAssignCustomDomainsUpdatedBy: z.string().optional(),
|
|
11422
11658
|
buildCommand: z.nullable(z.string()).optional(),
|
|
11423
11659
|
commandForIgnoringBuildStep: z.nullable(z.string()).optional(),
|
|
11660
|
+
connectConfigurations: z.nullable(
|
|
11661
|
+
z.array(z.lazy(() => CreateProjectConnectConfigurations$outboundSchema)),
|
|
11662
|
+
).optional(),
|
|
11424
11663
|
connectConfigurationId: z.nullable(z.string()).optional(),
|
|
11425
11664
|
connectBuildsEnabled: z.boolean().optional(),
|
|
11665
|
+
passiveConnectConfigurationId: z.nullable(z.string()).optional(),
|
|
11426
11666
|
createdAt: z.number().optional(),
|
|
11427
11667
|
customerSupportCodeVisibility: z.boolean().optional(),
|
|
11428
11668
|
crons: z.lazy(() => CreateProjectCrons$outboundSchema).optional(),
|
|
@@ -11463,7 +11703,6 @@ export const CreateProjectResponseBody$outboundSchema: z.ZodType<
|
|
|
11463
11703
|
z.lazy(() => CreateProjectOptionsAllowlist$outboundSchema),
|
|
11464
11704
|
).optional(),
|
|
11465
11705
|
outputDirectory: z.nullable(z.string()).optional(),
|
|
11466
|
-
passiveConnectConfigurationId: z.nullable(z.string()).optional(),
|
|
11467
11706
|
passwordProtection: z.nullable(
|
|
11468
11707
|
z.lazy(() => CreateProjectPasswordProtection$outboundSchema),
|
|
11469
11708
|
).optional(),
|