@vercel/sdk 1.6.3 → 1.6.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 +2 -0
- package/bin/mcp-server.js +3517 -1245
- package/bin/mcp-server.js.map +29 -26
- package/docs/sdks/edgeconfig/README.md +2 -6
- package/docs/sdks/marketplace/README.md +2 -6
- package/docs/sdks/security/README.md +90 -0
- package/docs/sdks/webhooks/README.md +2 -6
- package/esm/__tests__/deployments.test.js +16 -1
- package/esm/__tests__/deployments.test.js.map +1 -1
- package/esm/__tests__/environment.test.js +3 -0
- package/esm/__tests__/environment.test.js.map +1 -1
- package/esm/__tests__/marketplace.test.js +7 -2
- package/esm/__tests__/marketplace.test.js.map +1 -1
- package/esm/__tests__/projects.test.js +4 -4
- package/esm/__tests__/projects.test.js.map +1 -1
- package/esm/__tests__/security.test.js +174 -3
- package/esm/__tests__/security.test.js.map +1 -1
- package/esm/funcs/projectsCreateProject.js +2 -2
- package/esm/funcs/projectsCreateProject.js.map +1 -1
- package/esm/funcs/securityPutFirewallConfig.d.ts +19 -0
- package/esm/funcs/securityPutFirewallConfig.d.ts.map +1 -0
- package/esm/funcs/securityPutFirewallConfig.js +88 -0
- package/esm/funcs/securityPutFirewallConfig.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 +3 -1
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/securityPutFirewallConfig.d.ts +7 -0
- package/esm/mcp-server/tools/securityPutFirewallConfig.d.ts.map +1 -0
- package/esm/mcp-server/tools/securityPutFirewallConfig.js +28 -0
- package/esm/mcp-server/tools/securityPutFirewallConfig.js.map +1 -0
- package/esm/models/authtoken.d.ts +6 -0
- package/esm/models/authtoken.d.ts.map +1 -1
- package/esm/models/authtoken.js +2 -0
- package/esm/models/authtoken.js.map +1 -1
- package/esm/models/authuser.d.ts +46 -0
- package/esm/models/authuser.d.ts.map +1 -1
- package/esm/models/authuser.js +28 -0
- package/esm/models/authuser.js.map +1 -1
- package/esm/models/canceldeploymentop.d.ts +274 -73
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +270 -72
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +274 -73
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +270 -72
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createprojectenvop.d.ts +12 -18
- package/esm/models/createprojectenvop.d.ts.map +1 -1
- package/esm/models/createprojectenvop.js +12 -12
- package/esm/models/createprojectenvop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +175 -13
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +157 -6
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/editprojectenvop.d.ts +4 -7
- package/esm/models/editprojectenvop.d.ts.map +1 -1
- package/esm/models/editprojectenvop.js +4 -4
- package/esm/models/editprojectenvop.js.map +1 -1
- package/esm/models/filterprojectenvsop.d.ts +18 -27
- package/esm/models/filterprojectenvsop.d.ts.map +1 -1
- package/esm/models/filterprojectenvsop.js +18 -18
- package/esm/models/filterprojectenvsop.js.map +1 -1
- package/esm/models/getdeploymentop.d.ts +574 -172
- package/esm/models/getdeploymentop.d.ts.map +1 -1
- package/esm/models/getdeploymentop.js +567 -171
- package/esm/models/getdeploymentop.js.map +1 -1
- package/esm/models/getfirewallconfigop.d.ts +214 -214
- package/esm/models/getfirewallconfigop.d.ts.map +1 -1
- package/esm/models/getfirewallconfigop.js +210 -231
- package/esm/models/getfirewallconfigop.js.map +1 -1
- package/esm/models/getprojectdomainsop.d.ts +198 -36
- package/esm/models/getprojectdomainsop.d.ts.map +1 -1
- package/esm/models/getprojectdomainsop.js +193 -32
- package/esm/models/getprojectdomainsop.js.map +1 -1
- package/esm/models/getprojectenvop.d.ts +10 -16
- package/esm/models/getprojectenvop.d.ts.map +1 -1
- package/esm/models/getprojectenvop.js +10 -10
- package/esm/models/getprojectenvop.js.map +1 -1
- package/esm/models/getprojectsop.d.ts +175 -13
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +156 -6
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts +31 -1
- package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts.map +1 -1
- package/esm/models/getv9projectsidornamecustomenvironmentsop.js +27 -0
- package/esm/models/getv9projectsidornamecustomenvironmentsop.js.map +1 -1
- package/esm/models/putfirewallconfigop.d.ts +2901 -0
- package/esm/models/putfirewallconfigop.d.ts.map +1 -0
- package/esm/models/putfirewallconfigop.js +2383 -0
- package/esm/models/putfirewallconfigop.js.map +1 -0
- package/esm/models/removeprojectenvop.d.ts +18 -27
- package/esm/models/removeprojectenvop.d.ts.map +1 -1
- package/esm/models/removeprojectenvop.js +18 -18
- package/esm/models/removeprojectenvop.js.map +1 -1
- package/esm/models/updatefirewallconfigop.d.ts +323 -323
- package/esm/models/updatefirewallconfigop.d.ts.map +1 -1
- package/esm/models/updatefirewallconfigop.js +379 -357
- package/esm/models/updatefirewallconfigop.js.map +1 -1
- package/esm/models/updateprojectdatacacheop.d.ts +183 -21
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +172 -18
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +175 -13
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +157 -6
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/userevent.d.ts +46 -19
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +34 -10
- package/esm/models/userevent.js.map +1 -1
- package/esm/sdk/security.d.ts +8 -0
- package/esm/sdk/security.d.ts.map +1 -1
- package/esm/sdk/security.js +10 -0
- package/esm/sdk/security.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +3 -3
- package/src/__tests__/deployments.test.ts +16 -1
- package/src/__tests__/environment.test.ts +3 -0
- package/src/__tests__/marketplace.test.ts +7 -2
- package/src/__tests__/projects.test.ts +4 -4
- package/src/__tests__/security.test.ts +176 -5
- package/src/funcs/projectsCreateProject.ts +2 -2
- package/src/funcs/securityPutFirewallConfig.ts +194 -0
- 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/securityPutFirewallConfig.ts +37 -0
- package/src/models/authtoken.ts +2 -0
- package/src/models/authuser.ts +52 -0
- package/src/models/canceldeploymentop.ts +591 -148
- package/src/models/createdeploymentop.ts +616 -165
- package/src/models/createprojectenvop.ts +24 -30
- package/src/models/createprojectop.ts +336 -15
- package/src/models/editprojectenvop.ts +8 -11
- package/src/models/filterprojectenvsop.ts +36 -45
- package/src/models/getdeploymentop.ts +1288 -353
- package/src/models/getfirewallconfigop.ts +555 -410
- package/src/models/getprojectdomainsop.ts +470 -63
- package/src/models/getprojectenvop.ts +20 -26
- package/src/models/getprojectsop.ts +338 -16
- package/src/models/getv9projectsidornamecustomenvironmentsop.ts +62 -1
- package/src/models/putfirewallconfigop.ts +4932 -0
- package/src/models/removeprojectenvop.ts +36 -45
- package/src/models/updatefirewallconfigop.ts +820 -612
- package/src/models/updateprojectdatacacheop.ts +353 -34
- package/src/models/updateprojectop.ts +336 -15
- package/src/models/userevent.ts +54 -29
- package/src/sdk/security.ts +22 -0
- package/vercel-spec.json +1395 -291
|
@@ -612,9 +612,11 @@ export type CreateProjectEnv = {
|
|
|
612
612
|
* This is used to identiy variables that have been migrated from type secret to sensitive.
|
|
613
613
|
*/
|
|
614
614
|
sunsetSecretId?: string | undefined;
|
|
615
|
+
decrypted?: boolean | undefined;
|
|
616
|
+
value: string;
|
|
617
|
+
vsmValue?: string | undefined;
|
|
615
618
|
id?: string | undefined;
|
|
616
619
|
key: string;
|
|
617
|
-
value: string;
|
|
618
620
|
configurationId?: string | null | undefined;
|
|
619
621
|
createdAt?: number | undefined;
|
|
620
622
|
updatedAt?: number | undefined;
|
|
@@ -645,13 +647,8 @@ export type CreateProjectEnv = {
|
|
|
645
647
|
* Similar to `contentHints`, but should not be exposed to the user.
|
|
646
648
|
*/
|
|
647
649
|
internalContentHint?: CreateProjectInternalContentHint | null | undefined;
|
|
648
|
-
/**
|
|
649
|
-
* Whether `value` and `vsmValue` are decrypted.
|
|
650
|
-
*/
|
|
651
|
-
decrypted?: boolean | undefined;
|
|
652
650
|
comment?: string | undefined;
|
|
653
651
|
customEnvironmentIds?: Array<string> | undefined;
|
|
654
|
-
vsmValue?: string | undefined;
|
|
655
652
|
};
|
|
656
653
|
|
|
657
654
|
export type CreateProjectCustomEnvironments = {};
|
|
@@ -871,6 +868,39 @@ export type CreateProjectLatestDeployments = {
|
|
|
871
868
|
withCache?: boolean | undefined;
|
|
872
869
|
};
|
|
873
870
|
|
|
871
|
+
export const CreateProjectLinkProjectsResponse200Type = {
|
|
872
|
+
GithubCustomHost: "github-custom-host",
|
|
873
|
+
} as const;
|
|
874
|
+
export type CreateProjectLinkProjectsResponse200Type = ClosedEnum<
|
|
875
|
+
typeof CreateProjectLinkProjectsResponse200Type
|
|
876
|
+
>;
|
|
877
|
+
|
|
878
|
+
export type CreateProjectLinkProjectsResponse200DeployHooks = {
|
|
879
|
+
createdAt?: number | undefined;
|
|
880
|
+
id: string;
|
|
881
|
+
name: string;
|
|
882
|
+
ref: string;
|
|
883
|
+
url: string;
|
|
884
|
+
};
|
|
885
|
+
|
|
886
|
+
export type CreateProjectLink4 = {
|
|
887
|
+
org?: string | undefined;
|
|
888
|
+
/**
|
|
889
|
+
* A new field, should be included in all new project links, is being added just in time when a deployment is created. This is needed for Protected Git scopes.
|
|
890
|
+
*/
|
|
891
|
+
repoOwnerId?: number | undefined;
|
|
892
|
+
repo?: string | undefined;
|
|
893
|
+
repoId?: number | undefined;
|
|
894
|
+
type?: CreateProjectLinkProjectsResponse200Type | undefined;
|
|
895
|
+
host?: string | undefined;
|
|
896
|
+
createdAt?: number | undefined;
|
|
897
|
+
deployHooks: Array<CreateProjectLinkProjectsResponse200DeployHooks>;
|
|
898
|
+
gitCredentialId?: string | undefined;
|
|
899
|
+
updatedAt?: number | undefined;
|
|
900
|
+
sourceless?: boolean | undefined;
|
|
901
|
+
productionBranch?: string | undefined;
|
|
902
|
+
};
|
|
903
|
+
|
|
874
904
|
export const CreateProjectLinkProjectsResponseType = {
|
|
875
905
|
Bitbucket: "bitbucket",
|
|
876
906
|
} as const;
|
|
@@ -968,6 +998,7 @@ export type CreateProjectLink1 = {
|
|
|
968
998
|
export type CreateProjectLink =
|
|
969
999
|
| CreateProjectLink1
|
|
970
1000
|
| CreateProjectLink3
|
|
1001
|
+
| CreateProjectLink4
|
|
971
1002
|
| CreateProjectLink2;
|
|
972
1003
|
|
|
973
1004
|
export type CreateProjectMicrofrontends2 = {
|
|
@@ -1040,6 +1071,13 @@ export type CreateProjectFunctionDefaultMemoryType = ClosedEnum<
|
|
|
1040
1071
|
typeof CreateProjectFunctionDefaultMemoryType
|
|
1041
1072
|
>;
|
|
1042
1073
|
|
|
1074
|
+
export const CreateProjectBuildMachineType = {
|
|
1075
|
+
Enhanced: "enhanced",
|
|
1076
|
+
} as const;
|
|
1077
|
+
export type CreateProjectBuildMachineType = ClosedEnum<
|
|
1078
|
+
typeof CreateProjectBuildMachineType
|
|
1079
|
+
>;
|
|
1080
|
+
|
|
1043
1081
|
export type CreateProjectResourceConfig = {
|
|
1044
1082
|
fluid?: boolean | undefined;
|
|
1045
1083
|
functionDefaultRegions: Array<string>;
|
|
@@ -1049,6 +1087,7 @@ export type CreateProjectResourceConfig = {
|
|
|
1049
1087
|
| undefined;
|
|
1050
1088
|
functionZeroConfigFailover?: boolean | undefined;
|
|
1051
1089
|
elasticConcurrencyEnabled?: boolean | undefined;
|
|
1090
|
+
buildMachineType?: CreateProjectBuildMachineType | undefined;
|
|
1052
1091
|
};
|
|
1053
1092
|
|
|
1054
1093
|
/**
|
|
@@ -1059,6 +1098,14 @@ export type CreateProjectStages = {
|
|
|
1059
1098
|
* The percentage of traffic to serve to the new deployment
|
|
1060
1099
|
*/
|
|
1061
1100
|
targetPercentage: number;
|
|
1101
|
+
/**
|
|
1102
|
+
* minutesToRelease is the total time to gradually shift percentages. This value overrides stages and instead creates a single smooth starting percentage to ending percentage stage. So once we have fetched the document with the update time, subtract from the current time, and divide by total minutesToRelease, to determine what percentage of traffic the new deployment should be serving.
|
|
1103
|
+
*/
|
|
1104
|
+
minutesToRelease?: number | undefined;
|
|
1105
|
+
/**
|
|
1106
|
+
* Whether or not this stage requires approval to proceed.
|
|
1107
|
+
*/
|
|
1108
|
+
requireApproval?: boolean | undefined;
|
|
1062
1109
|
};
|
|
1063
1110
|
|
|
1064
1111
|
export type CreateProjectRollingRelease = {
|
|
@@ -1085,6 +1132,13 @@ export type CreateProjectProjectsFunctionDefaultMemoryType = ClosedEnum<
|
|
|
1085
1132
|
typeof CreateProjectProjectsFunctionDefaultMemoryType
|
|
1086
1133
|
>;
|
|
1087
1134
|
|
|
1135
|
+
export const CreateProjectProjectsBuildMachineType = {
|
|
1136
|
+
Enhanced: "enhanced",
|
|
1137
|
+
} as const;
|
|
1138
|
+
export type CreateProjectProjectsBuildMachineType = ClosedEnum<
|
|
1139
|
+
typeof CreateProjectProjectsBuildMachineType
|
|
1140
|
+
>;
|
|
1141
|
+
|
|
1088
1142
|
export type CreateProjectDefaultResourceConfig = {
|
|
1089
1143
|
fluid?: boolean | undefined;
|
|
1090
1144
|
functionDefaultRegions: Array<string>;
|
|
@@ -1094,6 +1148,7 @@ export type CreateProjectDefaultResourceConfig = {
|
|
|
1094
1148
|
| undefined;
|
|
1095
1149
|
functionZeroConfigFailover?: boolean | undefined;
|
|
1096
1150
|
elasticConcurrencyEnabled?: boolean | undefined;
|
|
1151
|
+
buildMachineType?: CreateProjectProjectsBuildMachineType | undefined;
|
|
1097
1152
|
};
|
|
1098
1153
|
|
|
1099
1154
|
export const CreateProjectDeploymentType = {
|
|
@@ -1351,6 +1406,7 @@ export type CreateProjectPermissions = {
|
|
|
1351
1406
|
notificationCustomerBudget?: Array<ACLAction> | undefined;
|
|
1352
1407
|
notificationStatementOfReasons?: Array<ACLAction> | undefined;
|
|
1353
1408
|
observabilityConfiguration?: Array<ACLAction> | undefined;
|
|
1409
|
+
observabilityNotebook?: Array<ACLAction> | undefined;
|
|
1354
1410
|
openTelemetryEndpoint?: Array<ACLAction> | undefined;
|
|
1355
1411
|
paymentMethod?: Array<ACLAction> | undefined;
|
|
1356
1412
|
permissions?: Array<ACLAction> | undefined;
|
|
@@ -1828,6 +1884,7 @@ export type CreateProjectResponseBody = {
|
|
|
1828
1884
|
link?:
|
|
1829
1885
|
| CreateProjectLink1
|
|
1830
1886
|
| CreateProjectLink3
|
|
1887
|
+
| CreateProjectLink4
|
|
1831
1888
|
| CreateProjectLink2
|
|
1832
1889
|
| undefined;
|
|
1833
1890
|
microfrontends?:
|
|
@@ -4393,9 +4450,11 @@ export const CreateProjectEnv$inboundSchema: z.ZodType<
|
|
|
4393
4450
|
]).optional(),
|
|
4394
4451
|
type: CreateProjectProjectsResponseType$inboundSchema,
|
|
4395
4452
|
sunsetSecretId: z.string().optional(),
|
|
4453
|
+
decrypted: z.boolean().optional(),
|
|
4454
|
+
value: z.string(),
|
|
4455
|
+
vsmValue: z.string().optional(),
|
|
4396
4456
|
id: z.string().optional(),
|
|
4397
4457
|
key: z.string(),
|
|
4398
|
-
value: z.string(),
|
|
4399
4458
|
configurationId: z.nullable(z.string()).optional(),
|
|
4400
4459
|
createdAt: z.number().optional(),
|
|
4401
4460
|
updatedAt: z.number().optional(),
|
|
@@ -4426,10 +4485,8 @@ export const CreateProjectEnv$inboundSchema: z.ZodType<
|
|
|
4426
4485
|
internalContentHint: z.nullable(
|
|
4427
4486
|
z.lazy(() => CreateProjectInternalContentHint$inboundSchema),
|
|
4428
4487
|
).optional(),
|
|
4429
|
-
decrypted: z.boolean().optional(),
|
|
4430
4488
|
comment: z.string().optional(),
|
|
4431
4489
|
customEnvironmentIds: z.array(z.string()).optional(),
|
|
4432
|
-
vsmValue: z.string().optional(),
|
|
4433
4490
|
});
|
|
4434
4491
|
|
|
4435
4492
|
/** @internal */
|
|
@@ -4437,9 +4494,11 @@ export type CreateProjectEnv$Outbound = {
|
|
|
4437
4494
|
target?: Array<string> | string | undefined;
|
|
4438
4495
|
type: string;
|
|
4439
4496
|
sunsetSecretId?: string | undefined;
|
|
4497
|
+
decrypted?: boolean | undefined;
|
|
4498
|
+
value: string;
|
|
4499
|
+
vsmValue?: string | undefined;
|
|
4440
4500
|
id?: string | undefined;
|
|
4441
4501
|
key: string;
|
|
4442
|
-
value: string;
|
|
4443
4502
|
configurationId?: string | null | undefined;
|
|
4444
4503
|
createdAt?: number | undefined;
|
|
4445
4504
|
updatedAt?: number | undefined;
|
|
@@ -4470,10 +4529,8 @@ export type CreateProjectEnv$Outbound = {
|
|
|
4470
4529
|
| CreateProjectInternalContentHint$Outbound
|
|
4471
4530
|
| null
|
|
4472
4531
|
| undefined;
|
|
4473
|
-
decrypted?: boolean | undefined;
|
|
4474
4532
|
comment?: string | undefined;
|
|
4475
4533
|
customEnvironmentIds?: Array<string> | undefined;
|
|
4476
|
-
vsmValue?: string | undefined;
|
|
4477
4534
|
};
|
|
4478
4535
|
|
|
4479
4536
|
/** @internal */
|
|
@@ -4488,9 +4545,11 @@ export const CreateProjectEnv$outboundSchema: z.ZodType<
|
|
|
4488
4545
|
]).optional(),
|
|
4489
4546
|
type: CreateProjectProjectsResponseType$outboundSchema,
|
|
4490
4547
|
sunsetSecretId: z.string().optional(),
|
|
4548
|
+
decrypted: z.boolean().optional(),
|
|
4549
|
+
value: z.string(),
|
|
4550
|
+
vsmValue: z.string().optional(),
|
|
4491
4551
|
id: z.string().optional(),
|
|
4492
4552
|
key: z.string(),
|
|
4493
|
-
value: z.string(),
|
|
4494
4553
|
configurationId: z.nullable(z.string()).optional(),
|
|
4495
4554
|
createdAt: z.number().optional(),
|
|
4496
4555
|
updatedAt: z.number().optional(),
|
|
@@ -4521,10 +4580,8 @@ export const CreateProjectEnv$outboundSchema: z.ZodType<
|
|
|
4521
4580
|
internalContentHint: z.nullable(
|
|
4522
4581
|
z.lazy(() => CreateProjectInternalContentHint$outboundSchema),
|
|
4523
4582
|
).optional(),
|
|
4524
|
-
decrypted: z.boolean().optional(),
|
|
4525
4583
|
comment: z.string().optional(),
|
|
4526
4584
|
customEnvironmentIds: z.array(z.string()).optional(),
|
|
4527
|
-
vsmValue: z.string().optional(),
|
|
4528
4585
|
});
|
|
4529
4586
|
|
|
4530
4587
|
/**
|
|
@@ -5390,6 +5447,202 @@ export function createProjectLatestDeploymentsFromJSON(
|
|
|
5390
5447
|
);
|
|
5391
5448
|
}
|
|
5392
5449
|
|
|
5450
|
+
/** @internal */
|
|
5451
|
+
export const CreateProjectLinkProjectsResponse200Type$inboundSchema:
|
|
5452
|
+
z.ZodNativeEnum<typeof CreateProjectLinkProjectsResponse200Type> = z
|
|
5453
|
+
.nativeEnum(CreateProjectLinkProjectsResponse200Type);
|
|
5454
|
+
|
|
5455
|
+
/** @internal */
|
|
5456
|
+
export const CreateProjectLinkProjectsResponse200Type$outboundSchema:
|
|
5457
|
+
z.ZodNativeEnum<typeof CreateProjectLinkProjectsResponse200Type> =
|
|
5458
|
+
CreateProjectLinkProjectsResponse200Type$inboundSchema;
|
|
5459
|
+
|
|
5460
|
+
/**
|
|
5461
|
+
* @internal
|
|
5462
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5463
|
+
*/
|
|
5464
|
+
export namespace CreateProjectLinkProjectsResponse200Type$ {
|
|
5465
|
+
/** @deprecated use `CreateProjectLinkProjectsResponse200Type$inboundSchema` instead. */
|
|
5466
|
+
export const inboundSchema =
|
|
5467
|
+
CreateProjectLinkProjectsResponse200Type$inboundSchema;
|
|
5468
|
+
/** @deprecated use `CreateProjectLinkProjectsResponse200Type$outboundSchema` instead. */
|
|
5469
|
+
export const outboundSchema =
|
|
5470
|
+
CreateProjectLinkProjectsResponse200Type$outboundSchema;
|
|
5471
|
+
}
|
|
5472
|
+
|
|
5473
|
+
/** @internal */
|
|
5474
|
+
export const CreateProjectLinkProjectsResponse200DeployHooks$inboundSchema:
|
|
5475
|
+
z.ZodType<
|
|
5476
|
+
CreateProjectLinkProjectsResponse200DeployHooks,
|
|
5477
|
+
z.ZodTypeDef,
|
|
5478
|
+
unknown
|
|
5479
|
+
> = z.object({
|
|
5480
|
+
createdAt: z.number().optional(),
|
|
5481
|
+
id: z.string(),
|
|
5482
|
+
name: z.string(),
|
|
5483
|
+
ref: z.string(),
|
|
5484
|
+
url: z.string(),
|
|
5485
|
+
});
|
|
5486
|
+
|
|
5487
|
+
/** @internal */
|
|
5488
|
+
export type CreateProjectLinkProjectsResponse200DeployHooks$Outbound = {
|
|
5489
|
+
createdAt?: number | undefined;
|
|
5490
|
+
id: string;
|
|
5491
|
+
name: string;
|
|
5492
|
+
ref: string;
|
|
5493
|
+
url: string;
|
|
5494
|
+
};
|
|
5495
|
+
|
|
5496
|
+
/** @internal */
|
|
5497
|
+
export const CreateProjectLinkProjectsResponse200DeployHooks$outboundSchema:
|
|
5498
|
+
z.ZodType<
|
|
5499
|
+
CreateProjectLinkProjectsResponse200DeployHooks$Outbound,
|
|
5500
|
+
z.ZodTypeDef,
|
|
5501
|
+
CreateProjectLinkProjectsResponse200DeployHooks
|
|
5502
|
+
> = z.object({
|
|
5503
|
+
createdAt: z.number().optional(),
|
|
5504
|
+
id: z.string(),
|
|
5505
|
+
name: z.string(),
|
|
5506
|
+
ref: z.string(),
|
|
5507
|
+
url: z.string(),
|
|
5508
|
+
});
|
|
5509
|
+
|
|
5510
|
+
/**
|
|
5511
|
+
* @internal
|
|
5512
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5513
|
+
*/
|
|
5514
|
+
export namespace CreateProjectLinkProjectsResponse200DeployHooks$ {
|
|
5515
|
+
/** @deprecated use `CreateProjectLinkProjectsResponse200DeployHooks$inboundSchema` instead. */
|
|
5516
|
+
export const inboundSchema =
|
|
5517
|
+
CreateProjectLinkProjectsResponse200DeployHooks$inboundSchema;
|
|
5518
|
+
/** @deprecated use `CreateProjectLinkProjectsResponse200DeployHooks$outboundSchema` instead. */
|
|
5519
|
+
export const outboundSchema =
|
|
5520
|
+
CreateProjectLinkProjectsResponse200DeployHooks$outboundSchema;
|
|
5521
|
+
/** @deprecated use `CreateProjectLinkProjectsResponse200DeployHooks$Outbound` instead. */
|
|
5522
|
+
export type Outbound =
|
|
5523
|
+
CreateProjectLinkProjectsResponse200DeployHooks$Outbound;
|
|
5524
|
+
}
|
|
5525
|
+
|
|
5526
|
+
export function createProjectLinkProjectsResponse200DeployHooksToJSON(
|
|
5527
|
+
createProjectLinkProjectsResponse200DeployHooks:
|
|
5528
|
+
CreateProjectLinkProjectsResponse200DeployHooks,
|
|
5529
|
+
): string {
|
|
5530
|
+
return JSON.stringify(
|
|
5531
|
+
CreateProjectLinkProjectsResponse200DeployHooks$outboundSchema.parse(
|
|
5532
|
+
createProjectLinkProjectsResponse200DeployHooks,
|
|
5533
|
+
),
|
|
5534
|
+
);
|
|
5535
|
+
}
|
|
5536
|
+
|
|
5537
|
+
export function createProjectLinkProjectsResponse200DeployHooksFromJSON(
|
|
5538
|
+
jsonString: string,
|
|
5539
|
+
): SafeParseResult<
|
|
5540
|
+
CreateProjectLinkProjectsResponse200DeployHooks,
|
|
5541
|
+
SDKValidationError
|
|
5542
|
+
> {
|
|
5543
|
+
return safeParse(
|
|
5544
|
+
jsonString,
|
|
5545
|
+
(x) =>
|
|
5546
|
+
CreateProjectLinkProjectsResponse200DeployHooks$inboundSchema.parse(
|
|
5547
|
+
JSON.parse(x),
|
|
5548
|
+
),
|
|
5549
|
+
`Failed to parse 'CreateProjectLinkProjectsResponse200DeployHooks' from JSON`,
|
|
5550
|
+
);
|
|
5551
|
+
}
|
|
5552
|
+
|
|
5553
|
+
/** @internal */
|
|
5554
|
+
export const CreateProjectLink4$inboundSchema: z.ZodType<
|
|
5555
|
+
CreateProjectLink4,
|
|
5556
|
+
z.ZodTypeDef,
|
|
5557
|
+
unknown
|
|
5558
|
+
> = z.object({
|
|
5559
|
+
org: z.string().optional(),
|
|
5560
|
+
repoOwnerId: z.number().optional(),
|
|
5561
|
+
repo: z.string().optional(),
|
|
5562
|
+
repoId: z.number().optional(),
|
|
5563
|
+
type: CreateProjectLinkProjectsResponse200Type$inboundSchema.optional(),
|
|
5564
|
+
host: z.string().optional(),
|
|
5565
|
+
createdAt: z.number().optional(),
|
|
5566
|
+
deployHooks: z.array(
|
|
5567
|
+
z.lazy(() => CreateProjectLinkProjectsResponse200DeployHooks$inboundSchema),
|
|
5568
|
+
),
|
|
5569
|
+
gitCredentialId: z.string().optional(),
|
|
5570
|
+
updatedAt: z.number().optional(),
|
|
5571
|
+
sourceless: z.boolean().optional(),
|
|
5572
|
+
productionBranch: z.string().optional(),
|
|
5573
|
+
});
|
|
5574
|
+
|
|
5575
|
+
/** @internal */
|
|
5576
|
+
export type CreateProjectLink4$Outbound = {
|
|
5577
|
+
org?: string | undefined;
|
|
5578
|
+
repoOwnerId?: number | undefined;
|
|
5579
|
+
repo?: string | undefined;
|
|
5580
|
+
repoId?: number | undefined;
|
|
5581
|
+
type?: string | undefined;
|
|
5582
|
+
host?: string | undefined;
|
|
5583
|
+
createdAt?: number | undefined;
|
|
5584
|
+
deployHooks: Array<CreateProjectLinkProjectsResponse200DeployHooks$Outbound>;
|
|
5585
|
+
gitCredentialId?: string | undefined;
|
|
5586
|
+
updatedAt?: number | undefined;
|
|
5587
|
+
sourceless?: boolean | undefined;
|
|
5588
|
+
productionBranch?: string | undefined;
|
|
5589
|
+
};
|
|
5590
|
+
|
|
5591
|
+
/** @internal */
|
|
5592
|
+
export const CreateProjectLink4$outboundSchema: z.ZodType<
|
|
5593
|
+
CreateProjectLink4$Outbound,
|
|
5594
|
+
z.ZodTypeDef,
|
|
5595
|
+
CreateProjectLink4
|
|
5596
|
+
> = z.object({
|
|
5597
|
+
org: z.string().optional(),
|
|
5598
|
+
repoOwnerId: z.number().optional(),
|
|
5599
|
+
repo: z.string().optional(),
|
|
5600
|
+
repoId: z.number().optional(),
|
|
5601
|
+
type: CreateProjectLinkProjectsResponse200Type$outboundSchema.optional(),
|
|
5602
|
+
host: z.string().optional(),
|
|
5603
|
+
createdAt: z.number().optional(),
|
|
5604
|
+
deployHooks: z.array(
|
|
5605
|
+
z.lazy(() =>
|
|
5606
|
+
CreateProjectLinkProjectsResponse200DeployHooks$outboundSchema
|
|
5607
|
+
),
|
|
5608
|
+
),
|
|
5609
|
+
gitCredentialId: z.string().optional(),
|
|
5610
|
+
updatedAt: z.number().optional(),
|
|
5611
|
+
sourceless: z.boolean().optional(),
|
|
5612
|
+
productionBranch: z.string().optional(),
|
|
5613
|
+
});
|
|
5614
|
+
|
|
5615
|
+
/**
|
|
5616
|
+
* @internal
|
|
5617
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5618
|
+
*/
|
|
5619
|
+
export namespace CreateProjectLink4$ {
|
|
5620
|
+
/** @deprecated use `CreateProjectLink4$inboundSchema` instead. */
|
|
5621
|
+
export const inboundSchema = CreateProjectLink4$inboundSchema;
|
|
5622
|
+
/** @deprecated use `CreateProjectLink4$outboundSchema` instead. */
|
|
5623
|
+
export const outboundSchema = CreateProjectLink4$outboundSchema;
|
|
5624
|
+
/** @deprecated use `CreateProjectLink4$Outbound` instead. */
|
|
5625
|
+
export type Outbound = CreateProjectLink4$Outbound;
|
|
5626
|
+
}
|
|
5627
|
+
|
|
5628
|
+
export function createProjectLink4ToJSON(
|
|
5629
|
+
createProjectLink4: CreateProjectLink4,
|
|
5630
|
+
): string {
|
|
5631
|
+
return JSON.stringify(
|
|
5632
|
+
CreateProjectLink4$outboundSchema.parse(createProjectLink4),
|
|
5633
|
+
);
|
|
5634
|
+
}
|
|
5635
|
+
|
|
5636
|
+
export function createProjectLink4FromJSON(
|
|
5637
|
+
jsonString: string,
|
|
5638
|
+
): SafeParseResult<CreateProjectLink4, SDKValidationError> {
|
|
5639
|
+
return safeParse(
|
|
5640
|
+
jsonString,
|
|
5641
|
+
(x) => CreateProjectLink4$inboundSchema.parse(JSON.parse(x)),
|
|
5642
|
+
`Failed to parse 'CreateProjectLink4' from JSON`,
|
|
5643
|
+
);
|
|
5644
|
+
}
|
|
5645
|
+
|
|
5393
5646
|
/** @internal */
|
|
5394
5647
|
export const CreateProjectLinkProjectsResponseType$inboundSchema:
|
|
5395
5648
|
z.ZodNativeEnum<typeof CreateProjectLinkProjectsResponseType> = z.nativeEnum(
|
|
@@ -5955,6 +6208,7 @@ export const CreateProjectLink$inboundSchema: z.ZodType<
|
|
|
5955
6208
|
> = z.union([
|
|
5956
6209
|
z.lazy(() => CreateProjectLink1$inboundSchema),
|
|
5957
6210
|
z.lazy(() => CreateProjectLink3$inboundSchema),
|
|
6211
|
+
z.lazy(() => CreateProjectLink4$inboundSchema),
|
|
5958
6212
|
z.lazy(() => CreateProjectLink2$inboundSchema),
|
|
5959
6213
|
]);
|
|
5960
6214
|
|
|
@@ -5962,6 +6216,7 @@ export const CreateProjectLink$inboundSchema: z.ZodType<
|
|
|
5962
6216
|
export type CreateProjectLink$Outbound =
|
|
5963
6217
|
| CreateProjectLink1$Outbound
|
|
5964
6218
|
| CreateProjectLink3$Outbound
|
|
6219
|
+
| CreateProjectLink4$Outbound
|
|
5965
6220
|
| CreateProjectLink2$Outbound;
|
|
5966
6221
|
|
|
5967
6222
|
/** @internal */
|
|
@@ -5972,6 +6227,7 @@ export const CreateProjectLink$outboundSchema: z.ZodType<
|
|
|
5972
6227
|
> = z.union([
|
|
5973
6228
|
z.lazy(() => CreateProjectLink1$outboundSchema),
|
|
5974
6229
|
z.lazy(() => CreateProjectLink3$outboundSchema),
|
|
6230
|
+
z.lazy(() => CreateProjectLink4$outboundSchema),
|
|
5975
6231
|
z.lazy(() => CreateProjectLink2$outboundSchema),
|
|
5976
6232
|
]);
|
|
5977
6233
|
|
|
@@ -6402,6 +6658,27 @@ export namespace CreateProjectFunctionDefaultMemoryType$ {
|
|
|
6402
6658
|
CreateProjectFunctionDefaultMemoryType$outboundSchema;
|
|
6403
6659
|
}
|
|
6404
6660
|
|
|
6661
|
+
/** @internal */
|
|
6662
|
+
export const CreateProjectBuildMachineType$inboundSchema: z.ZodNativeEnum<
|
|
6663
|
+
typeof CreateProjectBuildMachineType
|
|
6664
|
+
> = z.nativeEnum(CreateProjectBuildMachineType);
|
|
6665
|
+
|
|
6666
|
+
/** @internal */
|
|
6667
|
+
export const CreateProjectBuildMachineType$outboundSchema: z.ZodNativeEnum<
|
|
6668
|
+
typeof CreateProjectBuildMachineType
|
|
6669
|
+
> = CreateProjectBuildMachineType$inboundSchema;
|
|
6670
|
+
|
|
6671
|
+
/**
|
|
6672
|
+
* @internal
|
|
6673
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6674
|
+
*/
|
|
6675
|
+
export namespace CreateProjectBuildMachineType$ {
|
|
6676
|
+
/** @deprecated use `CreateProjectBuildMachineType$inboundSchema` instead. */
|
|
6677
|
+
export const inboundSchema = CreateProjectBuildMachineType$inboundSchema;
|
|
6678
|
+
/** @deprecated use `CreateProjectBuildMachineType$outboundSchema` instead. */
|
|
6679
|
+
export const outboundSchema = CreateProjectBuildMachineType$outboundSchema;
|
|
6680
|
+
}
|
|
6681
|
+
|
|
6405
6682
|
/** @internal */
|
|
6406
6683
|
export const CreateProjectResourceConfig$inboundSchema: z.ZodType<
|
|
6407
6684
|
CreateProjectResourceConfig,
|
|
@@ -6415,6 +6692,7 @@ export const CreateProjectResourceConfig$inboundSchema: z.ZodType<
|
|
|
6415
6692
|
CreateProjectFunctionDefaultMemoryType$inboundSchema.optional(),
|
|
6416
6693
|
functionZeroConfigFailover: z.boolean().optional(),
|
|
6417
6694
|
elasticConcurrencyEnabled: z.boolean().optional(),
|
|
6695
|
+
buildMachineType: CreateProjectBuildMachineType$inboundSchema.optional(),
|
|
6418
6696
|
});
|
|
6419
6697
|
|
|
6420
6698
|
/** @internal */
|
|
@@ -6425,6 +6703,7 @@ export type CreateProjectResourceConfig$Outbound = {
|
|
|
6425
6703
|
functionDefaultMemoryType?: string | undefined;
|
|
6426
6704
|
functionZeroConfigFailover?: boolean | undefined;
|
|
6427
6705
|
elasticConcurrencyEnabled?: boolean | undefined;
|
|
6706
|
+
buildMachineType?: string | undefined;
|
|
6428
6707
|
};
|
|
6429
6708
|
|
|
6430
6709
|
/** @internal */
|
|
@@ -6440,6 +6719,7 @@ export const CreateProjectResourceConfig$outboundSchema: z.ZodType<
|
|
|
6440
6719
|
CreateProjectFunctionDefaultMemoryType$outboundSchema.optional(),
|
|
6441
6720
|
functionZeroConfigFailover: z.boolean().optional(),
|
|
6442
6721
|
elasticConcurrencyEnabled: z.boolean().optional(),
|
|
6722
|
+
buildMachineType: CreateProjectBuildMachineType$outboundSchema.optional(),
|
|
6443
6723
|
});
|
|
6444
6724
|
|
|
6445
6725
|
/**
|
|
@@ -6482,11 +6762,15 @@ export const CreateProjectStages$inboundSchema: z.ZodType<
|
|
|
6482
6762
|
unknown
|
|
6483
6763
|
> = z.object({
|
|
6484
6764
|
targetPercentage: z.number(),
|
|
6765
|
+
minutesToRelease: z.number().optional(),
|
|
6766
|
+
requireApproval: z.boolean().optional(),
|
|
6485
6767
|
});
|
|
6486
6768
|
|
|
6487
6769
|
/** @internal */
|
|
6488
6770
|
export type CreateProjectStages$Outbound = {
|
|
6489
6771
|
targetPercentage: number;
|
|
6772
|
+
minutesToRelease?: number | undefined;
|
|
6773
|
+
requireApproval?: boolean | undefined;
|
|
6490
6774
|
};
|
|
6491
6775
|
|
|
6492
6776
|
/** @internal */
|
|
@@ -6496,6 +6780,8 @@ export const CreateProjectStages$outboundSchema: z.ZodType<
|
|
|
6496
6780
|
CreateProjectStages
|
|
6497
6781
|
> = z.object({
|
|
6498
6782
|
targetPercentage: z.number(),
|
|
6783
|
+
minutesToRelease: z.number().optional(),
|
|
6784
|
+
requireApproval: z.boolean().optional(),
|
|
6499
6785
|
});
|
|
6500
6786
|
|
|
6501
6787
|
/**
|
|
@@ -6616,6 +6902,30 @@ export namespace CreateProjectProjectsFunctionDefaultMemoryType$ {
|
|
|
6616
6902
|
CreateProjectProjectsFunctionDefaultMemoryType$outboundSchema;
|
|
6617
6903
|
}
|
|
6618
6904
|
|
|
6905
|
+
/** @internal */
|
|
6906
|
+
export const CreateProjectProjectsBuildMachineType$inboundSchema:
|
|
6907
|
+
z.ZodNativeEnum<typeof CreateProjectProjectsBuildMachineType> = z.nativeEnum(
|
|
6908
|
+
CreateProjectProjectsBuildMachineType,
|
|
6909
|
+
);
|
|
6910
|
+
|
|
6911
|
+
/** @internal */
|
|
6912
|
+
export const CreateProjectProjectsBuildMachineType$outboundSchema:
|
|
6913
|
+
z.ZodNativeEnum<typeof CreateProjectProjectsBuildMachineType> =
|
|
6914
|
+
CreateProjectProjectsBuildMachineType$inboundSchema;
|
|
6915
|
+
|
|
6916
|
+
/**
|
|
6917
|
+
* @internal
|
|
6918
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6919
|
+
*/
|
|
6920
|
+
export namespace CreateProjectProjectsBuildMachineType$ {
|
|
6921
|
+
/** @deprecated use `CreateProjectProjectsBuildMachineType$inboundSchema` instead. */
|
|
6922
|
+
export const inboundSchema =
|
|
6923
|
+
CreateProjectProjectsBuildMachineType$inboundSchema;
|
|
6924
|
+
/** @deprecated use `CreateProjectProjectsBuildMachineType$outboundSchema` instead. */
|
|
6925
|
+
export const outboundSchema =
|
|
6926
|
+
CreateProjectProjectsBuildMachineType$outboundSchema;
|
|
6927
|
+
}
|
|
6928
|
+
|
|
6619
6929
|
/** @internal */
|
|
6620
6930
|
export const CreateProjectDefaultResourceConfig$inboundSchema: z.ZodType<
|
|
6621
6931
|
CreateProjectDefaultResourceConfig,
|
|
@@ -6629,6 +6939,8 @@ export const CreateProjectDefaultResourceConfig$inboundSchema: z.ZodType<
|
|
|
6629
6939
|
CreateProjectProjectsFunctionDefaultMemoryType$inboundSchema.optional(),
|
|
6630
6940
|
functionZeroConfigFailover: z.boolean().optional(),
|
|
6631
6941
|
elasticConcurrencyEnabled: z.boolean().optional(),
|
|
6942
|
+
buildMachineType: CreateProjectProjectsBuildMachineType$inboundSchema
|
|
6943
|
+
.optional(),
|
|
6632
6944
|
});
|
|
6633
6945
|
|
|
6634
6946
|
/** @internal */
|
|
@@ -6639,6 +6951,7 @@ export type CreateProjectDefaultResourceConfig$Outbound = {
|
|
|
6639
6951
|
functionDefaultMemoryType?: string | undefined;
|
|
6640
6952
|
functionZeroConfigFailover?: boolean | undefined;
|
|
6641
6953
|
elasticConcurrencyEnabled?: boolean | undefined;
|
|
6954
|
+
buildMachineType?: string | undefined;
|
|
6642
6955
|
};
|
|
6643
6956
|
|
|
6644
6957
|
/** @internal */
|
|
@@ -6654,6 +6967,8 @@ export const CreateProjectDefaultResourceConfig$outboundSchema: z.ZodType<
|
|
|
6654
6967
|
CreateProjectProjectsFunctionDefaultMemoryType$outboundSchema.optional(),
|
|
6655
6968
|
functionZeroConfigFailover: z.boolean().optional(),
|
|
6656
6969
|
elasticConcurrencyEnabled: z.boolean().optional(),
|
|
6970
|
+
buildMachineType: CreateProjectProjectsBuildMachineType$outboundSchema
|
|
6971
|
+
.optional(),
|
|
6657
6972
|
});
|
|
6658
6973
|
|
|
6659
6974
|
/**
|
|
@@ -7589,6 +7904,7 @@ export const CreateProjectPermissions$inboundSchema: z.ZodType<
|
|
|
7589
7904
|
notificationCustomerBudget: z.array(ACLAction$inboundSchema).optional(),
|
|
7590
7905
|
notificationStatementOfReasons: z.array(ACLAction$inboundSchema).optional(),
|
|
7591
7906
|
observabilityConfiguration: z.array(ACLAction$inboundSchema).optional(),
|
|
7907
|
+
observabilityNotebook: z.array(ACLAction$inboundSchema).optional(),
|
|
7592
7908
|
openTelemetryEndpoint: z.array(ACLAction$inboundSchema).optional(),
|
|
7593
7909
|
paymentMethod: z.array(ACLAction$inboundSchema).optional(),
|
|
7594
7910
|
permissions: z.array(ACLAction$inboundSchema).optional(),
|
|
@@ -7794,6 +8110,7 @@ export type CreateProjectPermissions$Outbound = {
|
|
|
7794
8110
|
notificationCustomerBudget?: Array<string> | undefined;
|
|
7795
8111
|
notificationStatementOfReasons?: Array<string> | undefined;
|
|
7796
8112
|
observabilityConfiguration?: Array<string> | undefined;
|
|
8113
|
+
observabilityNotebook?: Array<string> | undefined;
|
|
7797
8114
|
openTelemetryEndpoint?: Array<string> | undefined;
|
|
7798
8115
|
paymentMethod?: Array<string> | undefined;
|
|
7799
8116
|
permissions?: Array<string> | undefined;
|
|
@@ -8000,6 +8317,7 @@ export const CreateProjectPermissions$outboundSchema: z.ZodType<
|
|
|
8000
8317
|
notificationCustomerBudget: z.array(ACLAction$outboundSchema).optional(),
|
|
8001
8318
|
notificationStatementOfReasons: z.array(ACLAction$outboundSchema).optional(),
|
|
8002
8319
|
observabilityConfiguration: z.array(ACLAction$outboundSchema).optional(),
|
|
8320
|
+
observabilityNotebook: z.array(ACLAction$outboundSchema).optional(),
|
|
8003
8321
|
openTelemetryEndpoint: z.array(ACLAction$outboundSchema).optional(),
|
|
8004
8322
|
paymentMethod: z.array(ACLAction$outboundSchema).optional(),
|
|
8005
8323
|
permissions: z.array(ACLAction$outboundSchema).optional(),
|
|
@@ -10088,6 +10406,7 @@ export const CreateProjectResponseBody$inboundSchema: z.ZodType<
|
|
|
10088
10406
|
link: z.union([
|
|
10089
10407
|
z.lazy(() => CreateProjectLink1$inboundSchema),
|
|
10090
10408
|
z.lazy(() => CreateProjectLink3$inboundSchema),
|
|
10409
|
+
z.lazy(() => CreateProjectLink4$inboundSchema),
|
|
10091
10410
|
z.lazy(() => CreateProjectLink2$inboundSchema),
|
|
10092
10411
|
]).optional(),
|
|
10093
10412
|
microfrontends: z.union([
|
|
@@ -10204,6 +10523,7 @@ export type CreateProjectResponseBody$Outbound = {
|
|
|
10204
10523
|
link?:
|
|
10205
10524
|
| CreateProjectLink1$Outbound
|
|
10206
10525
|
| CreateProjectLink3$Outbound
|
|
10526
|
+
| CreateProjectLink4$Outbound
|
|
10207
10527
|
| CreateProjectLink2$Outbound
|
|
10208
10528
|
| undefined;
|
|
10209
10529
|
microfrontends?:
|
|
@@ -10311,6 +10631,7 @@ export const CreateProjectResponseBody$outboundSchema: z.ZodType<
|
|
|
10311
10631
|
link: z.union([
|
|
10312
10632
|
z.lazy(() => CreateProjectLink1$outboundSchema),
|
|
10313
10633
|
z.lazy(() => CreateProjectLink3$outboundSchema),
|
|
10634
|
+
z.lazy(() => CreateProjectLink4$outboundSchema),
|
|
10314
10635
|
z.lazy(() => CreateProjectLink2$outboundSchema),
|
|
10315
10636
|
]).optional(),
|
|
10316
10637
|
microfrontends: z.union([
|
|
@@ -362,9 +362,10 @@ export type EditProjectEnvResponseBody1 = {
|
|
|
362
362
|
* This is used to identiy variables that have been migrated from type secret to sensitive.
|
|
363
363
|
*/
|
|
364
364
|
sunsetSecretId?: string | undefined;
|
|
365
|
+
decrypted?: boolean | undefined;
|
|
366
|
+
value: string;
|
|
365
367
|
id?: string | undefined;
|
|
366
368
|
key: string;
|
|
367
|
-
value: string;
|
|
368
369
|
configurationId?: string | null | undefined;
|
|
369
370
|
createdAt?: number | undefined;
|
|
370
371
|
updatedAt?: number | undefined;
|
|
@@ -398,10 +399,6 @@ export type EditProjectEnvResponseBody1 = {
|
|
|
398
399
|
| EditProjectEnvResponseBodyInternalContentHint
|
|
399
400
|
| null
|
|
400
401
|
| undefined;
|
|
401
|
-
/**
|
|
402
|
-
* Whether `value` and `vsmValue` are decrypted.
|
|
403
|
-
*/
|
|
404
|
-
decrypted?: boolean | undefined;
|
|
405
402
|
comment?: string | undefined;
|
|
406
403
|
customEnvironmentIds?: Array<string> | undefined;
|
|
407
404
|
};
|
|
@@ -2244,9 +2241,10 @@ export const EditProjectEnvResponseBody1$inboundSchema: z.ZodType<
|
|
|
2244
2241
|
.optional(),
|
|
2245
2242
|
type: EditProjectEnvResponseBodyType$inboundSchema,
|
|
2246
2243
|
sunsetSecretId: z.string().optional(),
|
|
2244
|
+
decrypted: z.boolean().optional(),
|
|
2245
|
+
value: z.string(),
|
|
2247
2246
|
id: z.string().optional(),
|
|
2248
2247
|
key: z.string(),
|
|
2249
|
-
value: z.string(),
|
|
2250
2248
|
configurationId: z.nullable(z.string()).optional(),
|
|
2251
2249
|
createdAt: z.number().optional(),
|
|
2252
2250
|
updatedAt: z.number().optional(),
|
|
@@ -2277,7 +2275,6 @@ export const EditProjectEnvResponseBody1$inboundSchema: z.ZodType<
|
|
|
2277
2275
|
internalContentHint: z.nullable(
|
|
2278
2276
|
z.lazy(() => EditProjectEnvResponseBodyInternalContentHint$inboundSchema),
|
|
2279
2277
|
).optional(),
|
|
2280
|
-
decrypted: z.boolean().optional(),
|
|
2281
2278
|
comment: z.string().optional(),
|
|
2282
2279
|
customEnvironmentIds: z.array(z.string()).optional(),
|
|
2283
2280
|
});
|
|
@@ -2287,9 +2284,10 @@ export type EditProjectEnvResponseBody1$Outbound = {
|
|
|
2287
2284
|
target?: Array<string> | string | undefined;
|
|
2288
2285
|
type: string;
|
|
2289
2286
|
sunsetSecretId?: string | undefined;
|
|
2287
|
+
decrypted?: boolean | undefined;
|
|
2288
|
+
value: string;
|
|
2290
2289
|
id?: string | undefined;
|
|
2291
2290
|
key: string;
|
|
2292
|
-
value: string;
|
|
2293
2291
|
configurationId?: string | null | undefined;
|
|
2294
2292
|
createdAt?: number | undefined;
|
|
2295
2293
|
updatedAt?: number | undefined;
|
|
@@ -2320,7 +2318,6 @@ export type EditProjectEnvResponseBody1$Outbound = {
|
|
|
2320
2318
|
| EditProjectEnvResponseBodyInternalContentHint$Outbound
|
|
2321
2319
|
| null
|
|
2322
2320
|
| undefined;
|
|
2323
|
-
decrypted?: boolean | undefined;
|
|
2324
2321
|
comment?: string | undefined;
|
|
2325
2322
|
customEnvironmentIds?: Array<string> | undefined;
|
|
2326
2323
|
};
|
|
@@ -2335,9 +2332,10 @@ export const EditProjectEnvResponseBody1$outboundSchema: z.ZodType<
|
|
|
2335
2332
|
.optional(),
|
|
2336
2333
|
type: EditProjectEnvResponseBodyType$outboundSchema,
|
|
2337
2334
|
sunsetSecretId: z.string().optional(),
|
|
2335
|
+
decrypted: z.boolean().optional(),
|
|
2336
|
+
value: z.string(),
|
|
2338
2337
|
id: z.string().optional(),
|
|
2339
2338
|
key: z.string(),
|
|
2340
|
-
value: z.string(),
|
|
2341
2339
|
configurationId: z.nullable(z.string()).optional(),
|
|
2342
2340
|
createdAt: z.number().optional(),
|
|
2343
2341
|
updatedAt: z.number().optional(),
|
|
@@ -2368,7 +2366,6 @@ export const EditProjectEnvResponseBody1$outboundSchema: z.ZodType<
|
|
|
2368
2366
|
internalContentHint: z.nullable(
|
|
2369
2367
|
z.lazy(() => EditProjectEnvResponseBodyInternalContentHint$outboundSchema),
|
|
2370
2368
|
).optional(),
|
|
2371
|
-
decrypted: z.boolean().optional(),
|
|
2372
2369
|
comment: z.string().optional(),
|
|
2373
2370
|
customEnvironmentIds: z.array(z.string()).optional(),
|
|
2374
2371
|
});
|