@vercel/sdk 1.6.6 → 1.6.8
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 +19 -31
- package/bin/mcp-server.js +2608 -910
- package/bin/mcp-server.js.map +31 -28
- package/docs/sdks/projects/README.md +1 -1
- package/docs/sdks/vercel/README.md +77 -0
- package/esm/__tests__/environment.test.js +28 -4
- package/esm/__tests__/environment.test.js.map +1 -1
- package/esm/__tests__/projects.test.js +15 -13
- package/esm/__tests__/projects.test.js.map +1 -1
- package/esm/__tests__/vercel.test.d.ts +2 -0
- package/esm/__tests__/vercel.test.d.ts.map +1 -0
- package/esm/__tests__/vercel.test.js +21 -0
- package/esm/__tests__/vercel.test.js.map +1 -0
- package/esm/funcs/marketplaceUpdateResourceSecretsById.js +2 -2
- package/esm/funcs/marketplaceUpdateResourceSecretsById.js.map +1 -1
- package/esm/funcs/patchAliasesIdProtectionBypass.d.ts +18 -0
- package/esm/funcs/patchAliasesIdProtectionBypass.d.ts.map +1 -0
- package/esm/funcs/patchAliasesIdProtectionBypass.js +81 -0
- package/esm/funcs/patchAliasesIdProtectionBypass.js.map +1 -0
- package/esm/funcs/projectsMoveProjectDomain.d.ts +1 -1
- package/esm/funcs/projectsMoveProjectDomain.js +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/lib/sdks.d.ts +3 -1
- package/esm/lib/sdks.d.ts.map +1 -1
- package/esm/lib/sdks.js +6 -11
- package/esm/lib/sdks.js.map +1 -1
- 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/patchAliasesIdProtectionBypass.d.ts +7 -0
- package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.d.ts.map +1 -0
- package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.js +26 -0
- package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.js.map +1 -0
- package/esm/mcp-server/tools/projectsMoveProjectDomain.js +1 -1
- package/esm/models/authuser.d.ts +0 -5
- package/esm/models/authuser.d.ts.map +1 -1
- package/esm/models/authuser.js +0 -2
- package/esm/models/authuser.js.map +1 -1
- package/esm/models/canceldeploymentop.d.ts +268 -26
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +194 -24
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/createcustomenvironmentop.d.ts +244 -2
- package/esm/models/createcustomenvironmentop.d.ts.map +1 -1
- package/esm/models/createcustomenvironmentop.js +174 -2
- package/esm/models/createcustomenvironmentop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +357 -58
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +290 -60
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +333 -71
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +255 -75
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/createrecordop.d.ts +43 -43
- package/esm/models/createrecordop.d.ts.map +1 -1
- package/esm/models/createrecordop.js +51 -51
- package/esm/models/createrecordop.js.map +1 -1
- package/esm/models/getaliasop.d.ts +8 -8
- package/esm/models/getaliasop.d.ts.map +1 -1
- package/esm/models/getaliasop.js +12 -13
- package/esm/models/getaliasop.js.map +1 -1
- package/esm/models/getcustomenvironmentop.d.ts +242 -2
- package/esm/models/getcustomenvironmentop.d.ts.map +1 -1
- package/esm/models/getcustomenvironmentop.js +175 -2
- package/esm/models/getcustomenvironmentop.js.map +1 -1
- package/esm/models/getdeploymentop.d.ts +502 -18
- package/esm/models/getdeploymentop.d.ts.map +1 -1
- package/esm/models/getdeploymentop.js +354 -14
- package/esm/models/getdeploymentop.js.map +1 -1
- package/esm/models/getprojectdomainsop.d.ts +30 -30
- package/esm/models/getprojectdomainsop.d.ts.map +1 -1
- package/esm/models/getprojectdomainsop.js +32 -32
- package/esm/models/getprojectdomainsop.js.map +1 -1
- package/esm/models/getprojectsop.d.ts +347 -95
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +287 -112
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts +242 -2
- package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts.map +1 -1
- package/esm/models/getv9projectsidornamecustomenvironmentsop.js +172 -2
- package/esm/models/getv9projectsidornamecustomenvironmentsop.js.map +1 -1
- package/esm/models/listaliasesop.d.ts +8 -8
- package/esm/models/listaliasesop.d.ts.map +1 -1
- package/esm/models/listaliasesop.js +12 -12
- package/esm/models/listaliasesop.js.map +1 -1
- package/esm/models/patchaliasesidprotectionbypassop.d.ts +409 -0
- package/esm/models/patchaliasesidprotectionbypassop.d.ts.map +1 -0
- package/esm/models/patchaliasesidprotectionbypassop.js +386 -0
- package/esm/models/patchaliasesidprotectionbypassop.js.map +1 -0
- package/esm/models/removecustomenvironmentop.d.ts +245 -2
- package/esm/models/removecustomenvironmentop.d.ts.map +1 -1
- package/esm/models/removecustomenvironmentop.js +173 -2
- package/esm/models/removecustomenvironmentop.js.map +1 -1
- package/esm/models/updatecustomenvironmentop.d.ts +244 -2
- package/esm/models/updatecustomenvironmentop.d.ts.map +1 -1
- package/esm/models/updatecustomenvironmentop.js +174 -2
- package/esm/models/updatecustomenvironmentop.js.map +1 -1
- package/esm/models/updateprojectdatacacheop.d.ts +363 -111
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +311 -135
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +347 -95
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +287 -111
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/userevent.d.ts +124 -6
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +114 -6
- package/esm/models/userevent.js.map +1 -1
- package/esm/sdk/projects.d.ts +1 -1
- package/esm/sdk/projects.js +1 -1
- package/esm/sdk/sdk.d.ts +8 -1
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +8 -0
- package/esm/sdk/sdk.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/environment.test.ts +28 -4
- package/src/__tests__/projects.test.ts +15 -13
- package/src/__tests__/vercel.test.ts +26 -0
- package/src/funcs/marketplaceUpdateResourceSecretsById.ts +2 -2
- package/src/funcs/patchAliasesIdProtectionBypass.ts +185 -0
- package/src/funcs/projectsMoveProjectDomain.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/lib/sdks.ts +11 -11
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -1
- package/src/mcp-server/tools/patchAliasesIdProtectionBypass.ts +37 -0
- package/src/mcp-server/tools/projectsMoveProjectDomain.ts +1 -1
- package/src/models/authuser.ts +0 -7
- package/src/models/canceldeploymentop.ts +503 -43
- package/src/models/createcustomenvironmentop.ts +426 -4
- package/src/models/createdeploymentop.ts +640 -117
- package/src/models/createprojectop.ts +664 -200
- package/src/models/createrecordop.ts +96 -84
- package/src/models/getaliasop.ts +16 -14
- package/src/models/getcustomenvironmentop.ts +412 -4
- package/src/models/getdeploymentop.ts +962 -49
- package/src/models/getprojectdomainsop.ts +84 -84
- package/src/models/getprojectsop.ts +637 -189
- package/src/models/getv9projectsidornamecustomenvironmentsop.ts +473 -4
- package/src/models/listaliasesop.ts +19 -16
- package/src/models/patchaliasesidprotectionbypassop.ts +786 -0
- package/src/models/removecustomenvironmentop.ts +425 -4
- package/src/models/updatecustomenvironmentop.ts +437 -4
- package/src/models/updateprojectdatacacheop.ts +738 -271
- package/src/models/updateprojectop.ts +697 -247
- package/src/models/userevent.ts +205 -12
- package/src/sdk/projects.ts +1 -1
- package/src/sdk/sdk.ts +18 -1
- package/vercel-spec.json +2667 -162
|
@@ -183,6 +183,14 @@ export type OidcTokenConfig = {
|
|
|
183
183
|
};
|
|
184
184
|
|
|
185
185
|
export type CreateProjectRequestBody = {
|
|
186
|
+
/**
|
|
187
|
+
* Opt-in to preview toolbar on the project level
|
|
188
|
+
*/
|
|
189
|
+
enablePreviewFeedback?: boolean | null | undefined;
|
|
190
|
+
/**
|
|
191
|
+
* Opt-in to production toolbar on the project level
|
|
192
|
+
*/
|
|
193
|
+
enableProductionFeedback?: boolean | null | undefined;
|
|
186
194
|
/**
|
|
187
195
|
* The build command for this project. When `null` is used this value will be automatically detected
|
|
188
196
|
*/
|
|
@@ -651,7 +659,127 @@ export type CreateProjectEnv = {
|
|
|
651
659
|
customEnvironmentIds?: Array<string> | undefined;
|
|
652
660
|
};
|
|
653
661
|
|
|
654
|
-
|
|
662
|
+
/**
|
|
663
|
+
* The type of environment (production, preview, or development)
|
|
664
|
+
*/
|
|
665
|
+
export const CreateProjectProjectsResponse200Type = {
|
|
666
|
+
Production: "production",
|
|
667
|
+
Preview: "preview",
|
|
668
|
+
Development: "development",
|
|
669
|
+
} as const;
|
|
670
|
+
/**
|
|
671
|
+
* The type of environment (production, preview, or development)
|
|
672
|
+
*/
|
|
673
|
+
export type CreateProjectProjectsResponse200Type = ClosedEnum<
|
|
674
|
+
typeof CreateProjectProjectsResponse200Type
|
|
675
|
+
>;
|
|
676
|
+
|
|
677
|
+
/**
|
|
678
|
+
* The type of matching to perform
|
|
679
|
+
*/
|
|
680
|
+
export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType =
|
|
681
|
+
{
|
|
682
|
+
EndsWith: "endsWith",
|
|
683
|
+
StartsWith: "startsWith",
|
|
684
|
+
Equals: "equals",
|
|
685
|
+
} as const;
|
|
686
|
+
/**
|
|
687
|
+
* The type of matching to perform
|
|
688
|
+
*/
|
|
689
|
+
export type CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType =
|
|
690
|
+
ClosedEnum<
|
|
691
|
+
typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType
|
|
692
|
+
>;
|
|
693
|
+
|
|
694
|
+
/**
|
|
695
|
+
* Configuration for matching git branches to this environment
|
|
696
|
+
*/
|
|
697
|
+
export type CreateProjectBranchMatcher = {
|
|
698
|
+
/**
|
|
699
|
+
* The type of matching to perform
|
|
700
|
+
*/
|
|
701
|
+
type:
|
|
702
|
+
CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType;
|
|
703
|
+
/**
|
|
704
|
+
* The pattern to match against branch names
|
|
705
|
+
*/
|
|
706
|
+
pattern: string;
|
|
707
|
+
};
|
|
708
|
+
|
|
709
|
+
/**
|
|
710
|
+
* A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`.
|
|
711
|
+
*/
|
|
712
|
+
export type CreateProjectVerification = {
|
|
713
|
+
type: string;
|
|
714
|
+
domain: string;
|
|
715
|
+
value: string;
|
|
716
|
+
reason: string;
|
|
717
|
+
};
|
|
718
|
+
|
|
719
|
+
/**
|
|
720
|
+
* List of domains associated with this environment
|
|
721
|
+
*/
|
|
722
|
+
export type CreateProjectDomains = {
|
|
723
|
+
name: string;
|
|
724
|
+
apexName: string;
|
|
725
|
+
projectId: string;
|
|
726
|
+
redirect?: string | null | undefined;
|
|
727
|
+
redirectStatusCode?: number | null | undefined;
|
|
728
|
+
gitBranch?: string | null | undefined;
|
|
729
|
+
customEnvironmentId?: string | null | undefined;
|
|
730
|
+
updatedAt?: number | undefined;
|
|
731
|
+
createdAt?: number | undefined;
|
|
732
|
+
/**
|
|
733
|
+
* `true` if the domain is verified for use with the project. If `false` it will not be used as an alias on this project until the challenge in `verification` is completed.
|
|
734
|
+
*/
|
|
735
|
+
verified: boolean;
|
|
736
|
+
/**
|
|
737
|
+
* A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`.
|
|
738
|
+
*/
|
|
739
|
+
verification?: Array<CreateProjectVerification> | undefined;
|
|
740
|
+
};
|
|
741
|
+
|
|
742
|
+
/**
|
|
743
|
+
* Internal representation of a custom environment with all required properties
|
|
744
|
+
*/
|
|
745
|
+
export type CreateProjectCustomEnvironments = {
|
|
746
|
+
/**
|
|
747
|
+
* Unique identifier for the custom environment (format: env_*)
|
|
748
|
+
*/
|
|
749
|
+
id: string;
|
|
750
|
+
/**
|
|
751
|
+
* URL-friendly name of the environment
|
|
752
|
+
*/
|
|
753
|
+
slug: string;
|
|
754
|
+
/**
|
|
755
|
+
* The type of environment (production, preview, or development)
|
|
756
|
+
*/
|
|
757
|
+
type: CreateProjectProjectsResponse200Type;
|
|
758
|
+
/**
|
|
759
|
+
* Optional description of the environment's purpose
|
|
760
|
+
*/
|
|
761
|
+
description?: string | undefined;
|
|
762
|
+
/**
|
|
763
|
+
* Configuration for matching git branches to this environment
|
|
764
|
+
*/
|
|
765
|
+
branchMatcher?: CreateProjectBranchMatcher | undefined;
|
|
766
|
+
/**
|
|
767
|
+
* List of domains associated with this environment
|
|
768
|
+
*/
|
|
769
|
+
domains?: Array<CreateProjectDomains> | undefined;
|
|
770
|
+
/**
|
|
771
|
+
* List of aliases for the current deployment
|
|
772
|
+
*/
|
|
773
|
+
currentDeploymentAliases?: Array<string> | undefined;
|
|
774
|
+
/**
|
|
775
|
+
* Timestamp when the environment was created
|
|
776
|
+
*/
|
|
777
|
+
createdAt: number;
|
|
778
|
+
/**
|
|
779
|
+
* Timestamp when the environment was last updated
|
|
780
|
+
*/
|
|
781
|
+
updatedAt: number;
|
|
782
|
+
};
|
|
655
783
|
|
|
656
784
|
export const CreateProjectProjectsFramework = {
|
|
657
785
|
Blitzjs: "blitzjs",
|
|
@@ -734,7 +862,7 @@ export type CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDep
|
|
|
734
862
|
typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType
|
|
735
863
|
>;
|
|
736
864
|
|
|
737
|
-
export type
|
|
865
|
+
export type CreateProjectProjectsBranchMatcher = {
|
|
738
866
|
/**
|
|
739
867
|
* The type of matching to perform
|
|
740
868
|
*/
|
|
@@ -819,11 +947,11 @@ export type CreateProjectReadySubstate = ClosedEnum<
|
|
|
819
947
|
typeof CreateProjectReadySubstate
|
|
820
948
|
>;
|
|
821
949
|
|
|
822
|
-
export const
|
|
950
|
+
export const CreateProjectProjectsResponse200ApplicationJSONType = {
|
|
823
951
|
Lambdas: "LAMBDAS",
|
|
824
952
|
} as const;
|
|
825
|
-
export type
|
|
826
|
-
typeof
|
|
953
|
+
export type CreateProjectProjectsResponse200ApplicationJSONType = ClosedEnum<
|
|
954
|
+
typeof CreateProjectProjectsResponse200ApplicationJSONType
|
|
827
955
|
>;
|
|
828
956
|
|
|
829
957
|
export type CreateProjectLatestDeployments = {
|
|
@@ -833,7 +961,7 @@ export type CreateProjectLatestDeployments = {
|
|
|
833
961
|
aliasError?: CreateProjectAliasError | null | undefined;
|
|
834
962
|
aliasFinal?: string | null | undefined;
|
|
835
963
|
automaticAliases?: Array<string> | undefined;
|
|
836
|
-
branchMatcher?:
|
|
964
|
+
branchMatcher?: CreateProjectProjectsBranchMatcher | undefined;
|
|
837
965
|
buildingAt?: number | undefined;
|
|
838
966
|
builds?: Array<CreateProjectBuilds> | undefined;
|
|
839
967
|
checksConclusion?: CreateProjectChecksConclusion | undefined;
|
|
@@ -862,7 +990,7 @@ export type CreateProjectLatestDeployments = {
|
|
|
862
990
|
requestedAt?: number | undefined;
|
|
863
991
|
target?: string | null | undefined;
|
|
864
992
|
teamId?: string | null | undefined;
|
|
865
|
-
type:
|
|
993
|
+
type: CreateProjectProjectsResponse200ApplicationJSONType;
|
|
866
994
|
url: string;
|
|
867
995
|
userId: string;
|
|
868
996
|
withCache?: boolean | undefined;
|
|
@@ -1106,6 +1234,10 @@ export type CreateProjectStages = {
|
|
|
1106
1234
|
* Whether or not this stage requires approval to proceed.
|
|
1107
1235
|
*/
|
|
1108
1236
|
requireApproval?: boolean | undefined;
|
|
1237
|
+
/**
|
|
1238
|
+
* duration is the total time to serve a stage, at the given targetPercentage.
|
|
1239
|
+
*/
|
|
1240
|
+
duration?: number | undefined;
|
|
1109
1241
|
};
|
|
1110
1242
|
|
|
1111
1243
|
export type CreateProjectRollingRelease = {
|
|
@@ -1152,8 +1284,8 @@ export type CreateProjectDefaultResourceConfig = {
|
|
|
1152
1284
|
};
|
|
1153
1285
|
|
|
1154
1286
|
export const CreateProjectDeploymentType = {
|
|
1155
|
-
All: "all",
|
|
1156
1287
|
Preview: "preview",
|
|
1288
|
+
All: "all",
|
|
1157
1289
|
ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
|
|
1158
1290
|
} as const;
|
|
1159
1291
|
export type CreateProjectDeploymentType = ClosedEnum<
|
|
@@ -1188,7 +1320,7 @@ export type CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsTy
|
|
|
1188
1320
|
typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType
|
|
1189
1321
|
>;
|
|
1190
1322
|
|
|
1191
|
-
export type
|
|
1323
|
+
export type CreateProjectProjectsResponseBranchMatcher = {
|
|
1192
1324
|
/**
|
|
1193
1325
|
* The type of matching to perform
|
|
1194
1326
|
*/
|
|
@@ -1274,12 +1406,13 @@ export type CreateProjectProjectsReadySubstate = ClosedEnum<
|
|
|
1274
1406
|
typeof CreateProjectProjectsReadySubstate
|
|
1275
1407
|
>;
|
|
1276
1408
|
|
|
1277
|
-
export const
|
|
1409
|
+
export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyType = {
|
|
1278
1410
|
Lambdas: "LAMBDAS",
|
|
1279
1411
|
} as const;
|
|
1280
|
-
export type
|
|
1281
|
-
|
|
1282
|
-
|
|
1412
|
+
export type CreateProjectProjectsResponse200ApplicationJSONResponseBodyType =
|
|
1413
|
+
ClosedEnum<
|
|
1414
|
+
typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyType
|
|
1415
|
+
>;
|
|
1283
1416
|
|
|
1284
1417
|
export type CreateProjectTargets = {
|
|
1285
1418
|
id: string;
|
|
@@ -1288,7 +1421,7 @@ export type CreateProjectTargets = {
|
|
|
1288
1421
|
aliasError?: CreateProjectProjectsAliasError | null | undefined;
|
|
1289
1422
|
aliasFinal?: string | null | undefined;
|
|
1290
1423
|
automaticAliases?: Array<string> | undefined;
|
|
1291
|
-
branchMatcher?:
|
|
1424
|
+
branchMatcher?: CreateProjectProjectsResponseBranchMatcher | undefined;
|
|
1292
1425
|
buildingAt?: number | undefined;
|
|
1293
1426
|
builds?: Array<CreateProjectProjectsBuilds> | undefined;
|
|
1294
1427
|
checksConclusion?: CreateProjectProjectsChecksConclusion | undefined;
|
|
@@ -1317,7 +1450,7 @@ export type CreateProjectTargets = {
|
|
|
1317
1450
|
requestedAt?: number | undefined;
|
|
1318
1451
|
target?: string | null | undefined;
|
|
1319
1452
|
teamId?: string | null | undefined;
|
|
1320
|
-
type:
|
|
1453
|
+
type: CreateProjectProjectsResponse200ApplicationJSONResponseBodyType;
|
|
1321
1454
|
url: string;
|
|
1322
1455
|
userId: string;
|
|
1323
1456
|
withCache?: boolean | undefined;
|
|
@@ -1532,21 +1665,27 @@ export const CreateProjectJobStatus = {
|
|
|
1532
1665
|
} as const;
|
|
1533
1666
|
export type CreateProjectJobStatus = ClosedEnum<typeof CreateProjectJobStatus>;
|
|
1534
1667
|
|
|
1535
|
-
export const
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1668
|
+
export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType =
|
|
1669
|
+
{
|
|
1670
|
+
Promote: "promote",
|
|
1671
|
+
Rollback: "rollback",
|
|
1672
|
+
} as const;
|
|
1673
|
+
export type CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType =
|
|
1540
1674
|
ClosedEnum<
|
|
1541
|
-
typeof
|
|
1675
|
+
typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType
|
|
1542
1676
|
>;
|
|
1543
1677
|
|
|
1544
1678
|
export type CreateProjectLastAliasRequest = {
|
|
1545
1679
|
fromDeploymentId: string;
|
|
1546
1680
|
toDeploymentId: string;
|
|
1681
|
+
/**
|
|
1682
|
+
* If rolling back from a rolling release, fromDeploymentId captures the "base" of that rolling release, and fromRollingReleaseId captures the "target" of that rolling release.
|
|
1683
|
+
*/
|
|
1684
|
+
fromRollingReleaseId?: string | undefined;
|
|
1547
1685
|
jobStatus: CreateProjectJobStatus;
|
|
1548
1686
|
requestedAt: number;
|
|
1549
|
-
type:
|
|
1687
|
+
type:
|
|
1688
|
+
CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType;
|
|
1550
1689
|
};
|
|
1551
1690
|
|
|
1552
1691
|
export const CreateProjectScope = {
|
|
@@ -1561,10 +1700,10 @@ export type CreateProjectProtectionBypass = {
|
|
|
1561
1700
|
};
|
|
1562
1701
|
|
|
1563
1702
|
export const CreateProjectTrustedIpsProjectsDeploymentType = {
|
|
1564
|
-
|
|
1703
|
+
Production: "production",
|
|
1565
1704
|
Preview: "preview",
|
|
1705
|
+
All: "all",
|
|
1566
1706
|
ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
|
|
1567
|
-
Production: "production",
|
|
1568
1707
|
} as const;
|
|
1569
1708
|
export type CreateProjectTrustedIpsProjectsDeploymentType = ClosedEnum<
|
|
1570
1709
|
typeof CreateProjectTrustedIpsProjectsDeploymentType
|
|
@@ -1575,10 +1714,10 @@ export type CreateProjectTrustedIps2 = {
|
|
|
1575
1714
|
};
|
|
1576
1715
|
|
|
1577
1716
|
export const CreateProjectTrustedIpsDeploymentType = {
|
|
1578
|
-
|
|
1717
|
+
Production: "production",
|
|
1579
1718
|
Preview: "preview",
|
|
1719
|
+
All: "all",
|
|
1580
1720
|
ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
|
|
1581
|
-
Production: "production",
|
|
1582
1721
|
} as const;
|
|
1583
1722
|
export type CreateProjectTrustedIpsDeploymentType = ClosedEnum<
|
|
1584
1723
|
typeof CreateProjectTrustedIpsDeploymentType
|
|
@@ -2289,6 +2428,8 @@ export const CreateProjectRequestBody$inboundSchema: z.ZodType<
|
|
|
2289
2428
|
z.ZodTypeDef,
|
|
2290
2429
|
unknown
|
|
2291
2430
|
> = z.object({
|
|
2431
|
+
enablePreviewFeedback: z.nullable(z.boolean()).optional(),
|
|
2432
|
+
enableProductionFeedback: z.nullable(z.boolean()).optional(),
|
|
2292
2433
|
buildCommand: z.nullable(z.string()).optional(),
|
|
2293
2434
|
commandForIgnoringBuildStep: z.nullable(z.string()).optional(),
|
|
2294
2435
|
devCommand: z.nullable(z.string()).optional(),
|
|
@@ -2311,6 +2452,8 @@ export const CreateProjectRequestBody$inboundSchema: z.ZodType<
|
|
|
2311
2452
|
|
|
2312
2453
|
/** @internal */
|
|
2313
2454
|
export type CreateProjectRequestBody$Outbound = {
|
|
2455
|
+
enablePreviewFeedback?: boolean | null | undefined;
|
|
2456
|
+
enableProductionFeedback?: boolean | null | undefined;
|
|
2314
2457
|
buildCommand?: string | null | undefined;
|
|
2315
2458
|
commandForIgnoringBuildStep?: string | null | undefined;
|
|
2316
2459
|
devCommand?: string | null | undefined;
|
|
@@ -2335,6 +2478,8 @@ export const CreateProjectRequestBody$outboundSchema: z.ZodType<
|
|
|
2335
2478
|
z.ZodTypeDef,
|
|
2336
2479
|
CreateProjectRequestBody
|
|
2337
2480
|
> = z.object({
|
|
2481
|
+
enablePreviewFeedback: z.nullable(z.boolean()).optional(),
|
|
2482
|
+
enableProductionFeedback: z.nullable(z.boolean()).optional(),
|
|
2338
2483
|
buildCommand: z.nullable(z.string()).optional(),
|
|
2339
2484
|
commandForIgnoringBuildStep: z.nullable(z.string()).optional(),
|
|
2340
2485
|
devCommand: z.nullable(z.string()).optional(),
|
|
@@ -4617,117 +4762,410 @@ export function createProjectEnvFromJSON(
|
|
|
4617
4762
|
}
|
|
4618
4763
|
|
|
4619
4764
|
/** @internal */
|
|
4620
|
-
export const
|
|
4621
|
-
|
|
4622
|
-
|
|
4623
|
-
|
|
4624
|
-
> = z.object({});
|
|
4625
|
-
|
|
4626
|
-
/** @internal */
|
|
4627
|
-
export type CreateProjectCustomEnvironments$Outbound = {};
|
|
4765
|
+
export const CreateProjectProjectsResponse200Type$inboundSchema:
|
|
4766
|
+
z.ZodNativeEnum<typeof CreateProjectProjectsResponse200Type> = z.nativeEnum(
|
|
4767
|
+
CreateProjectProjectsResponse200Type,
|
|
4768
|
+
);
|
|
4628
4769
|
|
|
4629
4770
|
/** @internal */
|
|
4630
|
-
export const
|
|
4631
|
-
|
|
4632
|
-
|
|
4633
|
-
CreateProjectCustomEnvironments
|
|
4634
|
-
> = z.object({});
|
|
4771
|
+
export const CreateProjectProjectsResponse200Type$outboundSchema:
|
|
4772
|
+
z.ZodNativeEnum<typeof CreateProjectProjectsResponse200Type> =
|
|
4773
|
+
CreateProjectProjectsResponse200Type$inboundSchema;
|
|
4635
4774
|
|
|
4636
4775
|
/**
|
|
4637
4776
|
* @internal
|
|
4638
4777
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4639
4778
|
*/
|
|
4640
|
-
export namespace
|
|
4641
|
-
/** @deprecated use `
|
|
4642
|
-
export const inboundSchema =
|
|
4643
|
-
|
|
4644
|
-
|
|
4645
|
-
|
|
4646
|
-
|
|
4647
|
-
}
|
|
4648
|
-
|
|
4649
|
-
export function createProjectCustomEnvironmentsToJSON(
|
|
4650
|
-
createProjectCustomEnvironments: CreateProjectCustomEnvironments,
|
|
4651
|
-
): string {
|
|
4652
|
-
return JSON.stringify(
|
|
4653
|
-
CreateProjectCustomEnvironments$outboundSchema.parse(
|
|
4654
|
-
createProjectCustomEnvironments,
|
|
4655
|
-
),
|
|
4656
|
-
);
|
|
4657
|
-
}
|
|
4658
|
-
|
|
4659
|
-
export function createProjectCustomEnvironmentsFromJSON(
|
|
4660
|
-
jsonString: string,
|
|
4661
|
-
): SafeParseResult<CreateProjectCustomEnvironments, SDKValidationError> {
|
|
4662
|
-
return safeParse(
|
|
4663
|
-
jsonString,
|
|
4664
|
-
(x) => CreateProjectCustomEnvironments$inboundSchema.parse(JSON.parse(x)),
|
|
4665
|
-
`Failed to parse 'CreateProjectCustomEnvironments' from JSON`,
|
|
4666
|
-
);
|
|
4779
|
+
export namespace CreateProjectProjectsResponse200Type$ {
|
|
4780
|
+
/** @deprecated use `CreateProjectProjectsResponse200Type$inboundSchema` instead. */
|
|
4781
|
+
export const inboundSchema =
|
|
4782
|
+
CreateProjectProjectsResponse200Type$inboundSchema;
|
|
4783
|
+
/** @deprecated use `CreateProjectProjectsResponse200Type$outboundSchema` instead. */
|
|
4784
|
+
export const outboundSchema =
|
|
4785
|
+
CreateProjectProjectsResponse200Type$outboundSchema;
|
|
4667
4786
|
}
|
|
4668
4787
|
|
|
4669
4788
|
/** @internal */
|
|
4670
|
-
export const
|
|
4671
|
-
|
|
4672
|
-
|
|
4789
|
+
export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema:
|
|
4790
|
+
z.ZodNativeEnum<
|
|
4791
|
+
typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType
|
|
4792
|
+
> = z.nativeEnum(
|
|
4793
|
+
CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType,
|
|
4794
|
+
);
|
|
4673
4795
|
|
|
4674
4796
|
/** @internal */
|
|
4675
|
-
export const
|
|
4676
|
-
|
|
4677
|
-
|
|
4797
|
+
export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema:
|
|
4798
|
+
z.ZodNativeEnum<
|
|
4799
|
+
typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType
|
|
4800
|
+
> =
|
|
4801
|
+
CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema;
|
|
4678
4802
|
|
|
4679
4803
|
/**
|
|
4680
4804
|
* @internal
|
|
4681
4805
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4682
4806
|
*/
|
|
4683
|
-
export namespace
|
|
4684
|
-
/** @deprecated use `
|
|
4685
|
-
export const inboundSchema =
|
|
4686
|
-
|
|
4687
|
-
|
|
4807
|
+
export namespace CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$ {
|
|
4808
|
+
/** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema` instead. */
|
|
4809
|
+
export const inboundSchema =
|
|
4810
|
+
CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema;
|
|
4811
|
+
/** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema` instead. */
|
|
4812
|
+
export const outboundSchema =
|
|
4813
|
+
CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema;
|
|
4688
4814
|
}
|
|
4689
4815
|
|
|
4690
4816
|
/** @internal */
|
|
4691
|
-
export const
|
|
4692
|
-
|
|
4817
|
+
export const CreateProjectBranchMatcher$inboundSchema: z.ZodType<
|
|
4818
|
+
CreateProjectBranchMatcher,
|
|
4693
4819
|
z.ZodTypeDef,
|
|
4694
4820
|
unknown
|
|
4695
4821
|
> = z.object({
|
|
4696
|
-
|
|
4697
|
-
|
|
4822
|
+
type:
|
|
4823
|
+
CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema,
|
|
4824
|
+
pattern: z.string(),
|
|
4698
4825
|
});
|
|
4699
4826
|
|
|
4700
4827
|
/** @internal */
|
|
4701
|
-
export type
|
|
4702
|
-
|
|
4703
|
-
|
|
4828
|
+
export type CreateProjectBranchMatcher$Outbound = {
|
|
4829
|
+
type: string;
|
|
4830
|
+
pattern: string;
|
|
4704
4831
|
};
|
|
4705
4832
|
|
|
4706
4833
|
/** @internal */
|
|
4707
|
-
export const
|
|
4708
|
-
|
|
4834
|
+
export const CreateProjectBranchMatcher$outboundSchema: z.ZodType<
|
|
4835
|
+
CreateProjectBranchMatcher$Outbound,
|
|
4709
4836
|
z.ZodTypeDef,
|
|
4710
|
-
|
|
4837
|
+
CreateProjectBranchMatcher
|
|
4711
4838
|
> = z.object({
|
|
4712
|
-
|
|
4713
|
-
|
|
4839
|
+
type:
|
|
4840
|
+
CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema,
|
|
4841
|
+
pattern: z.string(),
|
|
4714
4842
|
});
|
|
4715
4843
|
|
|
4716
4844
|
/**
|
|
4717
4845
|
* @internal
|
|
4718
4846
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4719
4847
|
*/
|
|
4720
|
-
export namespace
|
|
4721
|
-
/** @deprecated use `
|
|
4722
|
-
export const inboundSchema =
|
|
4723
|
-
/** @deprecated use `
|
|
4724
|
-
export const outboundSchema =
|
|
4725
|
-
/** @deprecated use `
|
|
4726
|
-
export type Outbound =
|
|
4848
|
+
export namespace CreateProjectBranchMatcher$ {
|
|
4849
|
+
/** @deprecated use `CreateProjectBranchMatcher$inboundSchema` instead. */
|
|
4850
|
+
export const inboundSchema = CreateProjectBranchMatcher$inboundSchema;
|
|
4851
|
+
/** @deprecated use `CreateProjectBranchMatcher$outboundSchema` instead. */
|
|
4852
|
+
export const outboundSchema = CreateProjectBranchMatcher$outboundSchema;
|
|
4853
|
+
/** @deprecated use `CreateProjectBranchMatcher$Outbound` instead. */
|
|
4854
|
+
export type Outbound = CreateProjectBranchMatcher$Outbound;
|
|
4727
4855
|
}
|
|
4728
4856
|
|
|
4729
|
-
export function
|
|
4730
|
-
|
|
4857
|
+
export function createProjectBranchMatcherToJSON(
|
|
4858
|
+
createProjectBranchMatcher: CreateProjectBranchMatcher,
|
|
4859
|
+
): string {
|
|
4860
|
+
return JSON.stringify(
|
|
4861
|
+
CreateProjectBranchMatcher$outboundSchema.parse(createProjectBranchMatcher),
|
|
4862
|
+
);
|
|
4863
|
+
}
|
|
4864
|
+
|
|
4865
|
+
export function createProjectBranchMatcherFromJSON(
|
|
4866
|
+
jsonString: string,
|
|
4867
|
+
): SafeParseResult<CreateProjectBranchMatcher, SDKValidationError> {
|
|
4868
|
+
return safeParse(
|
|
4869
|
+
jsonString,
|
|
4870
|
+
(x) => CreateProjectBranchMatcher$inboundSchema.parse(JSON.parse(x)),
|
|
4871
|
+
`Failed to parse 'CreateProjectBranchMatcher' from JSON`,
|
|
4872
|
+
);
|
|
4873
|
+
}
|
|
4874
|
+
|
|
4875
|
+
/** @internal */
|
|
4876
|
+
export const CreateProjectVerification$inboundSchema: z.ZodType<
|
|
4877
|
+
CreateProjectVerification,
|
|
4878
|
+
z.ZodTypeDef,
|
|
4879
|
+
unknown
|
|
4880
|
+
> = z.object({
|
|
4881
|
+
type: z.string(),
|
|
4882
|
+
domain: z.string(),
|
|
4883
|
+
value: z.string(),
|
|
4884
|
+
reason: z.string(),
|
|
4885
|
+
});
|
|
4886
|
+
|
|
4887
|
+
/** @internal */
|
|
4888
|
+
export type CreateProjectVerification$Outbound = {
|
|
4889
|
+
type: string;
|
|
4890
|
+
domain: string;
|
|
4891
|
+
value: string;
|
|
4892
|
+
reason: string;
|
|
4893
|
+
};
|
|
4894
|
+
|
|
4895
|
+
/** @internal */
|
|
4896
|
+
export const CreateProjectVerification$outboundSchema: z.ZodType<
|
|
4897
|
+
CreateProjectVerification$Outbound,
|
|
4898
|
+
z.ZodTypeDef,
|
|
4899
|
+
CreateProjectVerification
|
|
4900
|
+
> = z.object({
|
|
4901
|
+
type: z.string(),
|
|
4902
|
+
domain: z.string(),
|
|
4903
|
+
value: z.string(),
|
|
4904
|
+
reason: z.string(),
|
|
4905
|
+
});
|
|
4906
|
+
|
|
4907
|
+
/**
|
|
4908
|
+
* @internal
|
|
4909
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4910
|
+
*/
|
|
4911
|
+
export namespace CreateProjectVerification$ {
|
|
4912
|
+
/** @deprecated use `CreateProjectVerification$inboundSchema` instead. */
|
|
4913
|
+
export const inboundSchema = CreateProjectVerification$inboundSchema;
|
|
4914
|
+
/** @deprecated use `CreateProjectVerification$outboundSchema` instead. */
|
|
4915
|
+
export const outboundSchema = CreateProjectVerification$outboundSchema;
|
|
4916
|
+
/** @deprecated use `CreateProjectVerification$Outbound` instead. */
|
|
4917
|
+
export type Outbound = CreateProjectVerification$Outbound;
|
|
4918
|
+
}
|
|
4919
|
+
|
|
4920
|
+
export function createProjectVerificationToJSON(
|
|
4921
|
+
createProjectVerification: CreateProjectVerification,
|
|
4922
|
+
): string {
|
|
4923
|
+
return JSON.stringify(
|
|
4924
|
+
CreateProjectVerification$outboundSchema.parse(createProjectVerification),
|
|
4925
|
+
);
|
|
4926
|
+
}
|
|
4927
|
+
|
|
4928
|
+
export function createProjectVerificationFromJSON(
|
|
4929
|
+
jsonString: string,
|
|
4930
|
+
): SafeParseResult<CreateProjectVerification, SDKValidationError> {
|
|
4931
|
+
return safeParse(
|
|
4932
|
+
jsonString,
|
|
4933
|
+
(x) => CreateProjectVerification$inboundSchema.parse(JSON.parse(x)),
|
|
4934
|
+
`Failed to parse 'CreateProjectVerification' from JSON`,
|
|
4935
|
+
);
|
|
4936
|
+
}
|
|
4937
|
+
|
|
4938
|
+
/** @internal */
|
|
4939
|
+
export const CreateProjectDomains$inboundSchema: z.ZodType<
|
|
4940
|
+
CreateProjectDomains,
|
|
4941
|
+
z.ZodTypeDef,
|
|
4942
|
+
unknown
|
|
4943
|
+
> = z.object({
|
|
4944
|
+
name: z.string(),
|
|
4945
|
+
apexName: z.string(),
|
|
4946
|
+
projectId: z.string(),
|
|
4947
|
+
redirect: z.nullable(z.string()).optional(),
|
|
4948
|
+
redirectStatusCode: z.nullable(z.number()).optional(),
|
|
4949
|
+
gitBranch: z.nullable(z.string()).optional(),
|
|
4950
|
+
customEnvironmentId: z.nullable(z.string()).optional(),
|
|
4951
|
+
updatedAt: z.number().optional(),
|
|
4952
|
+
createdAt: z.number().optional(),
|
|
4953
|
+
verified: z.boolean(),
|
|
4954
|
+
verification: z.array(z.lazy(() => CreateProjectVerification$inboundSchema))
|
|
4955
|
+
.optional(),
|
|
4956
|
+
});
|
|
4957
|
+
|
|
4958
|
+
/** @internal */
|
|
4959
|
+
export type CreateProjectDomains$Outbound = {
|
|
4960
|
+
name: string;
|
|
4961
|
+
apexName: string;
|
|
4962
|
+
projectId: string;
|
|
4963
|
+
redirect?: string | null | undefined;
|
|
4964
|
+
redirectStatusCode?: number | null | undefined;
|
|
4965
|
+
gitBranch?: string | null | undefined;
|
|
4966
|
+
customEnvironmentId?: string | null | undefined;
|
|
4967
|
+
updatedAt?: number | undefined;
|
|
4968
|
+
createdAt?: number | undefined;
|
|
4969
|
+
verified: boolean;
|
|
4970
|
+
verification?: Array<CreateProjectVerification$Outbound> | undefined;
|
|
4971
|
+
};
|
|
4972
|
+
|
|
4973
|
+
/** @internal */
|
|
4974
|
+
export const CreateProjectDomains$outboundSchema: z.ZodType<
|
|
4975
|
+
CreateProjectDomains$Outbound,
|
|
4976
|
+
z.ZodTypeDef,
|
|
4977
|
+
CreateProjectDomains
|
|
4978
|
+
> = z.object({
|
|
4979
|
+
name: z.string(),
|
|
4980
|
+
apexName: z.string(),
|
|
4981
|
+
projectId: z.string(),
|
|
4982
|
+
redirect: z.nullable(z.string()).optional(),
|
|
4983
|
+
redirectStatusCode: z.nullable(z.number()).optional(),
|
|
4984
|
+
gitBranch: z.nullable(z.string()).optional(),
|
|
4985
|
+
customEnvironmentId: z.nullable(z.string()).optional(),
|
|
4986
|
+
updatedAt: z.number().optional(),
|
|
4987
|
+
createdAt: z.number().optional(),
|
|
4988
|
+
verified: z.boolean(),
|
|
4989
|
+
verification: z.array(z.lazy(() => CreateProjectVerification$outboundSchema))
|
|
4990
|
+
.optional(),
|
|
4991
|
+
});
|
|
4992
|
+
|
|
4993
|
+
/**
|
|
4994
|
+
* @internal
|
|
4995
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4996
|
+
*/
|
|
4997
|
+
export namespace CreateProjectDomains$ {
|
|
4998
|
+
/** @deprecated use `CreateProjectDomains$inboundSchema` instead. */
|
|
4999
|
+
export const inboundSchema = CreateProjectDomains$inboundSchema;
|
|
5000
|
+
/** @deprecated use `CreateProjectDomains$outboundSchema` instead. */
|
|
5001
|
+
export const outboundSchema = CreateProjectDomains$outboundSchema;
|
|
5002
|
+
/** @deprecated use `CreateProjectDomains$Outbound` instead. */
|
|
5003
|
+
export type Outbound = CreateProjectDomains$Outbound;
|
|
5004
|
+
}
|
|
5005
|
+
|
|
5006
|
+
export function createProjectDomainsToJSON(
|
|
5007
|
+
createProjectDomains: CreateProjectDomains,
|
|
5008
|
+
): string {
|
|
5009
|
+
return JSON.stringify(
|
|
5010
|
+
CreateProjectDomains$outboundSchema.parse(createProjectDomains),
|
|
5011
|
+
);
|
|
5012
|
+
}
|
|
5013
|
+
|
|
5014
|
+
export function createProjectDomainsFromJSON(
|
|
5015
|
+
jsonString: string,
|
|
5016
|
+
): SafeParseResult<CreateProjectDomains, SDKValidationError> {
|
|
5017
|
+
return safeParse(
|
|
5018
|
+
jsonString,
|
|
5019
|
+
(x) => CreateProjectDomains$inboundSchema.parse(JSON.parse(x)),
|
|
5020
|
+
`Failed to parse 'CreateProjectDomains' from JSON`,
|
|
5021
|
+
);
|
|
5022
|
+
}
|
|
5023
|
+
|
|
5024
|
+
/** @internal */
|
|
5025
|
+
export const CreateProjectCustomEnvironments$inboundSchema: z.ZodType<
|
|
5026
|
+
CreateProjectCustomEnvironments,
|
|
5027
|
+
z.ZodTypeDef,
|
|
5028
|
+
unknown
|
|
5029
|
+
> = z.object({
|
|
5030
|
+
id: z.string(),
|
|
5031
|
+
slug: z.string(),
|
|
5032
|
+
type: CreateProjectProjectsResponse200Type$inboundSchema,
|
|
5033
|
+
description: z.string().optional(),
|
|
5034
|
+
branchMatcher: z.lazy(() => CreateProjectBranchMatcher$inboundSchema)
|
|
5035
|
+
.optional(),
|
|
5036
|
+
domains: z.array(z.lazy(() => CreateProjectDomains$inboundSchema)).optional(),
|
|
5037
|
+
currentDeploymentAliases: z.array(z.string()).optional(),
|
|
5038
|
+
createdAt: z.number(),
|
|
5039
|
+
updatedAt: z.number(),
|
|
5040
|
+
});
|
|
5041
|
+
|
|
5042
|
+
/** @internal */
|
|
5043
|
+
export type CreateProjectCustomEnvironments$Outbound = {
|
|
5044
|
+
id: string;
|
|
5045
|
+
slug: string;
|
|
5046
|
+
type: string;
|
|
5047
|
+
description?: string | undefined;
|
|
5048
|
+
branchMatcher?: CreateProjectBranchMatcher$Outbound | undefined;
|
|
5049
|
+
domains?: Array<CreateProjectDomains$Outbound> | undefined;
|
|
5050
|
+
currentDeploymentAliases?: Array<string> | undefined;
|
|
5051
|
+
createdAt: number;
|
|
5052
|
+
updatedAt: number;
|
|
5053
|
+
};
|
|
5054
|
+
|
|
5055
|
+
/** @internal */
|
|
5056
|
+
export const CreateProjectCustomEnvironments$outboundSchema: z.ZodType<
|
|
5057
|
+
CreateProjectCustomEnvironments$Outbound,
|
|
5058
|
+
z.ZodTypeDef,
|
|
5059
|
+
CreateProjectCustomEnvironments
|
|
5060
|
+
> = z.object({
|
|
5061
|
+
id: z.string(),
|
|
5062
|
+
slug: z.string(),
|
|
5063
|
+
type: CreateProjectProjectsResponse200Type$outboundSchema,
|
|
5064
|
+
description: z.string().optional(),
|
|
5065
|
+
branchMatcher: z.lazy(() => CreateProjectBranchMatcher$outboundSchema)
|
|
5066
|
+
.optional(),
|
|
5067
|
+
domains: z.array(z.lazy(() => CreateProjectDomains$outboundSchema))
|
|
5068
|
+
.optional(),
|
|
5069
|
+
currentDeploymentAliases: z.array(z.string()).optional(),
|
|
5070
|
+
createdAt: z.number(),
|
|
5071
|
+
updatedAt: z.number(),
|
|
5072
|
+
});
|
|
5073
|
+
|
|
5074
|
+
/**
|
|
5075
|
+
* @internal
|
|
5076
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5077
|
+
*/
|
|
5078
|
+
export namespace CreateProjectCustomEnvironments$ {
|
|
5079
|
+
/** @deprecated use `CreateProjectCustomEnvironments$inboundSchema` instead. */
|
|
5080
|
+
export const inboundSchema = CreateProjectCustomEnvironments$inboundSchema;
|
|
5081
|
+
/** @deprecated use `CreateProjectCustomEnvironments$outboundSchema` instead. */
|
|
5082
|
+
export const outboundSchema = CreateProjectCustomEnvironments$outboundSchema;
|
|
5083
|
+
/** @deprecated use `CreateProjectCustomEnvironments$Outbound` instead. */
|
|
5084
|
+
export type Outbound = CreateProjectCustomEnvironments$Outbound;
|
|
5085
|
+
}
|
|
5086
|
+
|
|
5087
|
+
export function createProjectCustomEnvironmentsToJSON(
|
|
5088
|
+
createProjectCustomEnvironments: CreateProjectCustomEnvironments,
|
|
5089
|
+
): string {
|
|
5090
|
+
return JSON.stringify(
|
|
5091
|
+
CreateProjectCustomEnvironments$outboundSchema.parse(
|
|
5092
|
+
createProjectCustomEnvironments,
|
|
5093
|
+
),
|
|
5094
|
+
);
|
|
5095
|
+
}
|
|
5096
|
+
|
|
5097
|
+
export function createProjectCustomEnvironmentsFromJSON(
|
|
5098
|
+
jsonString: string,
|
|
5099
|
+
): SafeParseResult<CreateProjectCustomEnvironments, SDKValidationError> {
|
|
5100
|
+
return safeParse(
|
|
5101
|
+
jsonString,
|
|
5102
|
+
(x) => CreateProjectCustomEnvironments$inboundSchema.parse(JSON.parse(x)),
|
|
5103
|
+
`Failed to parse 'CreateProjectCustomEnvironments' from JSON`,
|
|
5104
|
+
);
|
|
5105
|
+
}
|
|
5106
|
+
|
|
5107
|
+
/** @internal */
|
|
5108
|
+
export const CreateProjectProjectsFramework$inboundSchema: z.ZodNativeEnum<
|
|
5109
|
+
typeof CreateProjectProjectsFramework
|
|
5110
|
+
> = z.nativeEnum(CreateProjectProjectsFramework);
|
|
5111
|
+
|
|
5112
|
+
/** @internal */
|
|
5113
|
+
export const CreateProjectProjectsFramework$outboundSchema: z.ZodNativeEnum<
|
|
5114
|
+
typeof CreateProjectProjectsFramework
|
|
5115
|
+
> = CreateProjectProjectsFramework$inboundSchema;
|
|
5116
|
+
|
|
5117
|
+
/**
|
|
5118
|
+
* @internal
|
|
5119
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5120
|
+
*/
|
|
5121
|
+
export namespace CreateProjectProjectsFramework$ {
|
|
5122
|
+
/** @deprecated use `CreateProjectProjectsFramework$inboundSchema` instead. */
|
|
5123
|
+
export const inboundSchema = CreateProjectProjectsFramework$inboundSchema;
|
|
5124
|
+
/** @deprecated use `CreateProjectProjectsFramework$outboundSchema` instead. */
|
|
5125
|
+
export const outboundSchema = CreateProjectProjectsFramework$outboundSchema;
|
|
5126
|
+
}
|
|
5127
|
+
|
|
5128
|
+
/** @internal */
|
|
5129
|
+
export const CreateProjectIpBuckets$inboundSchema: z.ZodType<
|
|
5130
|
+
CreateProjectIpBuckets,
|
|
5131
|
+
z.ZodTypeDef,
|
|
5132
|
+
unknown
|
|
5133
|
+
> = z.object({
|
|
5134
|
+
bucket: z.string(),
|
|
5135
|
+
supportUntil: z.number().optional(),
|
|
5136
|
+
});
|
|
5137
|
+
|
|
5138
|
+
/** @internal */
|
|
5139
|
+
export type CreateProjectIpBuckets$Outbound = {
|
|
5140
|
+
bucket: string;
|
|
5141
|
+
supportUntil?: number | undefined;
|
|
5142
|
+
};
|
|
5143
|
+
|
|
5144
|
+
/** @internal */
|
|
5145
|
+
export const CreateProjectIpBuckets$outboundSchema: z.ZodType<
|
|
5146
|
+
CreateProjectIpBuckets$Outbound,
|
|
5147
|
+
z.ZodTypeDef,
|
|
5148
|
+
CreateProjectIpBuckets
|
|
5149
|
+
> = z.object({
|
|
5150
|
+
bucket: z.string(),
|
|
5151
|
+
supportUntil: z.number().optional(),
|
|
5152
|
+
});
|
|
5153
|
+
|
|
5154
|
+
/**
|
|
5155
|
+
* @internal
|
|
5156
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5157
|
+
*/
|
|
5158
|
+
export namespace CreateProjectIpBuckets$ {
|
|
5159
|
+
/** @deprecated use `CreateProjectIpBuckets$inboundSchema` instead. */
|
|
5160
|
+
export const inboundSchema = CreateProjectIpBuckets$inboundSchema;
|
|
5161
|
+
/** @deprecated use `CreateProjectIpBuckets$outboundSchema` instead. */
|
|
5162
|
+
export const outboundSchema = CreateProjectIpBuckets$outboundSchema;
|
|
5163
|
+
/** @deprecated use `CreateProjectIpBuckets$Outbound` instead. */
|
|
5164
|
+
export type Outbound = CreateProjectIpBuckets$Outbound;
|
|
5165
|
+
}
|
|
5166
|
+
|
|
5167
|
+
export function createProjectIpBucketsToJSON(
|
|
5168
|
+
createProjectIpBuckets: CreateProjectIpBuckets,
|
|
4731
5169
|
): string {
|
|
4732
5170
|
return JSON.stringify(
|
|
4733
5171
|
CreateProjectIpBuckets$outboundSchema.parse(createProjectIpBuckets),
|
|
@@ -4878,8 +5316,8 @@ export namespace CreateProjectProjectsResponse200ApplicationJSONResponseBodyLate
|
|
|
4878
5316
|
}
|
|
4879
5317
|
|
|
4880
5318
|
/** @internal */
|
|
4881
|
-
export const
|
|
4882
|
-
|
|
5319
|
+
export const CreateProjectProjectsBranchMatcher$inboundSchema: z.ZodType<
|
|
5320
|
+
CreateProjectProjectsBranchMatcher,
|
|
4883
5321
|
z.ZodTypeDef,
|
|
4884
5322
|
unknown
|
|
4885
5323
|
> = z.object({
|
|
@@ -4889,16 +5327,16 @@ export const CreateProjectBranchMatcher$inboundSchema: z.ZodType<
|
|
|
4889
5327
|
});
|
|
4890
5328
|
|
|
4891
5329
|
/** @internal */
|
|
4892
|
-
export type
|
|
5330
|
+
export type CreateProjectProjectsBranchMatcher$Outbound = {
|
|
4893
5331
|
type: string;
|
|
4894
5332
|
pattern: string;
|
|
4895
5333
|
};
|
|
4896
5334
|
|
|
4897
5335
|
/** @internal */
|
|
4898
|
-
export const
|
|
4899
|
-
|
|
5336
|
+
export const CreateProjectProjectsBranchMatcher$outboundSchema: z.ZodType<
|
|
5337
|
+
CreateProjectProjectsBranchMatcher$Outbound,
|
|
4900
5338
|
z.ZodTypeDef,
|
|
4901
|
-
|
|
5339
|
+
CreateProjectProjectsBranchMatcher
|
|
4902
5340
|
> = z.object({
|
|
4903
5341
|
type:
|
|
4904
5342
|
CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$outboundSchema,
|
|
@@ -4909,30 +5347,34 @@ export const CreateProjectBranchMatcher$outboundSchema: z.ZodType<
|
|
|
4909
5347
|
* @internal
|
|
4910
5348
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4911
5349
|
*/
|
|
4912
|
-
export namespace
|
|
4913
|
-
/** @deprecated use `
|
|
4914
|
-
export const inboundSchema =
|
|
4915
|
-
/** @deprecated use `
|
|
4916
|
-
export const outboundSchema =
|
|
4917
|
-
|
|
4918
|
-
|
|
5350
|
+
export namespace CreateProjectProjectsBranchMatcher$ {
|
|
5351
|
+
/** @deprecated use `CreateProjectProjectsBranchMatcher$inboundSchema` instead. */
|
|
5352
|
+
export const inboundSchema = CreateProjectProjectsBranchMatcher$inboundSchema;
|
|
5353
|
+
/** @deprecated use `CreateProjectProjectsBranchMatcher$outboundSchema` instead. */
|
|
5354
|
+
export const outboundSchema =
|
|
5355
|
+
CreateProjectProjectsBranchMatcher$outboundSchema;
|
|
5356
|
+
/** @deprecated use `CreateProjectProjectsBranchMatcher$Outbound` instead. */
|
|
5357
|
+
export type Outbound = CreateProjectProjectsBranchMatcher$Outbound;
|
|
4919
5358
|
}
|
|
4920
5359
|
|
|
4921
|
-
export function
|
|
4922
|
-
|
|
5360
|
+
export function createProjectProjectsBranchMatcherToJSON(
|
|
5361
|
+
createProjectProjectsBranchMatcher: CreateProjectProjectsBranchMatcher,
|
|
4923
5362
|
): string {
|
|
4924
5363
|
return JSON.stringify(
|
|
4925
|
-
|
|
5364
|
+
CreateProjectProjectsBranchMatcher$outboundSchema.parse(
|
|
5365
|
+
createProjectProjectsBranchMatcher,
|
|
5366
|
+
),
|
|
4926
5367
|
);
|
|
4927
5368
|
}
|
|
4928
5369
|
|
|
4929
|
-
export function
|
|
5370
|
+
export function createProjectProjectsBranchMatcherFromJSON(
|
|
4930
5371
|
jsonString: string,
|
|
4931
|
-
): SafeParseResult<
|
|
5372
|
+
): SafeParseResult<CreateProjectProjectsBranchMatcher, SDKValidationError> {
|
|
4932
5373
|
return safeParse(
|
|
4933
5374
|
jsonString,
|
|
4934
|
-
(x) =>
|
|
4935
|
-
|
|
5375
|
+
(x) =>
|
|
5376
|
+
CreateProjectProjectsBranchMatcher$inboundSchema.parse(JSON.parse(x)),
|
|
5377
|
+
`Failed to parse 'CreateProjectProjectsBranchMatcher' from JSON`,
|
|
4936
5378
|
);
|
|
4937
5379
|
}
|
|
4938
5380
|
|
|
@@ -5258,27 +5700,26 @@ export namespace CreateProjectReadySubstate$ {
|
|
|
5258
5700
|
}
|
|
5259
5701
|
|
|
5260
5702
|
/** @internal */
|
|
5261
|
-
export const
|
|
5262
|
-
z.ZodNativeEnum<typeof
|
|
5263
|
-
|
|
5264
|
-
);
|
|
5703
|
+
export const CreateProjectProjectsResponse200ApplicationJSONType$inboundSchema:
|
|
5704
|
+
z.ZodNativeEnum<typeof CreateProjectProjectsResponse200ApplicationJSONType> =
|
|
5705
|
+
z.nativeEnum(CreateProjectProjectsResponse200ApplicationJSONType);
|
|
5265
5706
|
|
|
5266
5707
|
/** @internal */
|
|
5267
|
-
export const
|
|
5268
|
-
z.ZodNativeEnum<typeof
|
|
5269
|
-
|
|
5708
|
+
export const CreateProjectProjectsResponse200ApplicationJSONType$outboundSchema:
|
|
5709
|
+
z.ZodNativeEnum<typeof CreateProjectProjectsResponse200ApplicationJSONType> =
|
|
5710
|
+
CreateProjectProjectsResponse200ApplicationJSONType$inboundSchema;
|
|
5270
5711
|
|
|
5271
5712
|
/**
|
|
5272
5713
|
* @internal
|
|
5273
5714
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5274
5715
|
*/
|
|
5275
|
-
export namespace
|
|
5276
|
-
/** @deprecated use `
|
|
5716
|
+
export namespace CreateProjectProjectsResponse200ApplicationJSONType$ {
|
|
5717
|
+
/** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONType$inboundSchema` instead. */
|
|
5277
5718
|
export const inboundSchema =
|
|
5278
|
-
|
|
5279
|
-
/** @deprecated use `
|
|
5719
|
+
CreateProjectProjectsResponse200ApplicationJSONType$inboundSchema;
|
|
5720
|
+
/** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONType$outboundSchema` instead. */
|
|
5280
5721
|
export const outboundSchema =
|
|
5281
|
-
|
|
5722
|
+
CreateProjectProjectsResponse200ApplicationJSONType$outboundSchema;
|
|
5282
5723
|
}
|
|
5283
5724
|
|
|
5284
5725
|
/** @internal */
|
|
@@ -5294,7 +5735,7 @@ export const CreateProjectLatestDeployments$inboundSchema: z.ZodType<
|
|
|
5294
5735
|
.optional(),
|
|
5295
5736
|
aliasFinal: z.nullable(z.string()).optional(),
|
|
5296
5737
|
automaticAliases: z.array(z.string()).optional(),
|
|
5297
|
-
branchMatcher: z.lazy(() =>
|
|
5738
|
+
branchMatcher: z.lazy(() => CreateProjectProjectsBranchMatcher$inboundSchema)
|
|
5298
5739
|
.optional(),
|
|
5299
5740
|
buildingAt: z.number().optional(),
|
|
5300
5741
|
builds: z.array(z.lazy(() => CreateProjectBuilds$inboundSchema)).optional(),
|
|
@@ -5322,7 +5763,7 @@ export const CreateProjectLatestDeployments$inboundSchema: z.ZodType<
|
|
|
5322
5763
|
requestedAt: z.number().optional(),
|
|
5323
5764
|
target: z.nullable(z.string()).optional(),
|
|
5324
5765
|
teamId: z.nullable(z.string()).optional(),
|
|
5325
|
-
type:
|
|
5766
|
+
type: CreateProjectProjectsResponse200ApplicationJSONType$inboundSchema,
|
|
5326
5767
|
url: z.string(),
|
|
5327
5768
|
userId: z.string(),
|
|
5328
5769
|
withCache: z.boolean().optional(),
|
|
@@ -5336,7 +5777,7 @@ export type CreateProjectLatestDeployments$Outbound = {
|
|
|
5336
5777
|
aliasError?: CreateProjectAliasError$Outbound | null | undefined;
|
|
5337
5778
|
aliasFinal?: string | null | undefined;
|
|
5338
5779
|
automaticAliases?: Array<string> | undefined;
|
|
5339
|
-
branchMatcher?:
|
|
5780
|
+
branchMatcher?: CreateProjectProjectsBranchMatcher$Outbound | undefined;
|
|
5340
5781
|
buildingAt?: number | undefined;
|
|
5341
5782
|
builds?: Array<CreateProjectBuilds$Outbound> | undefined;
|
|
5342
5783
|
checksConclusion?: string | undefined;
|
|
@@ -5381,7 +5822,7 @@ export const CreateProjectLatestDeployments$outboundSchema: z.ZodType<
|
|
|
5381
5822
|
.optional(),
|
|
5382
5823
|
aliasFinal: z.nullable(z.string()).optional(),
|
|
5383
5824
|
automaticAliases: z.array(z.string()).optional(),
|
|
5384
|
-
branchMatcher: z.lazy(() =>
|
|
5825
|
+
branchMatcher: z.lazy(() => CreateProjectProjectsBranchMatcher$outboundSchema)
|
|
5385
5826
|
.optional(),
|
|
5386
5827
|
buildingAt: z.number().optional(),
|
|
5387
5828
|
builds: z.array(z.lazy(() => CreateProjectBuilds$outboundSchema)).optional(),
|
|
@@ -5409,7 +5850,7 @@ export const CreateProjectLatestDeployments$outboundSchema: z.ZodType<
|
|
|
5409
5850
|
requestedAt: z.number().optional(),
|
|
5410
5851
|
target: z.nullable(z.string()).optional(),
|
|
5411
5852
|
teamId: z.nullable(z.string()).optional(),
|
|
5412
|
-
type:
|
|
5853
|
+
type: CreateProjectProjectsResponse200ApplicationJSONType$outboundSchema,
|
|
5413
5854
|
url: z.string(),
|
|
5414
5855
|
userId: z.string(),
|
|
5415
5856
|
withCache: z.boolean().optional(),
|
|
@@ -6765,6 +7206,7 @@ export const CreateProjectStages$inboundSchema: z.ZodType<
|
|
|
6765
7206
|
targetPercentage: z.number(),
|
|
6766
7207
|
minutesToRelease: z.number().optional(),
|
|
6767
7208
|
requireApproval: z.boolean().optional(),
|
|
7209
|
+
duration: z.number().optional(),
|
|
6768
7210
|
});
|
|
6769
7211
|
|
|
6770
7212
|
/** @internal */
|
|
@@ -6772,6 +7214,7 @@ export type CreateProjectStages$Outbound = {
|
|
|
6772
7214
|
targetPercentage: number;
|
|
6773
7215
|
minutesToRelease?: number | undefined;
|
|
6774
7216
|
requireApproval?: boolean | undefined;
|
|
7217
|
+
duration?: number | undefined;
|
|
6775
7218
|
};
|
|
6776
7219
|
|
|
6777
7220
|
/** @internal */
|
|
@@ -6783,6 +7226,7 @@ export const CreateProjectStages$outboundSchema: z.ZodType<
|
|
|
6783
7226
|
targetPercentage: z.number(),
|
|
6784
7227
|
minutesToRelease: z.number().optional(),
|
|
6785
7228
|
requireApproval: z.boolean().optional(),
|
|
7229
|
+
duration: z.number().optional(),
|
|
6786
7230
|
});
|
|
6787
7231
|
|
|
6788
7232
|
/**
|
|
@@ -7222,65 +7666,71 @@ export namespace CreateProjectProjectsResponse200ApplicationJSONResponseBodyTarg
|
|
|
7222
7666
|
}
|
|
7223
7667
|
|
|
7224
7668
|
/** @internal */
|
|
7225
|
-
export const
|
|
7226
|
-
|
|
7227
|
-
|
|
7228
|
-
|
|
7229
|
-
|
|
7230
|
-
|
|
7231
|
-
|
|
7232
|
-
pattern: z.string(),
|
|
7233
|
-
});
|
|
7669
|
+
export const CreateProjectProjectsResponseBranchMatcher$inboundSchema:
|
|
7670
|
+
z.ZodType<CreateProjectProjectsResponseBranchMatcher, z.ZodTypeDef, unknown> =
|
|
7671
|
+
z.object({
|
|
7672
|
+
type:
|
|
7673
|
+
CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema,
|
|
7674
|
+
pattern: z.string(),
|
|
7675
|
+
});
|
|
7234
7676
|
|
|
7235
7677
|
/** @internal */
|
|
7236
|
-
export type
|
|
7678
|
+
export type CreateProjectProjectsResponseBranchMatcher$Outbound = {
|
|
7237
7679
|
type: string;
|
|
7238
7680
|
pattern: string;
|
|
7239
7681
|
};
|
|
7240
7682
|
|
|
7241
7683
|
/** @internal */
|
|
7242
|
-
export const
|
|
7243
|
-
|
|
7244
|
-
|
|
7245
|
-
|
|
7246
|
-
|
|
7247
|
-
|
|
7248
|
-
|
|
7249
|
-
|
|
7250
|
-
|
|
7684
|
+
export const CreateProjectProjectsResponseBranchMatcher$outboundSchema:
|
|
7685
|
+
z.ZodType<
|
|
7686
|
+
CreateProjectProjectsResponseBranchMatcher$Outbound,
|
|
7687
|
+
z.ZodTypeDef,
|
|
7688
|
+
CreateProjectProjectsResponseBranchMatcher
|
|
7689
|
+
> = z.object({
|
|
7690
|
+
type:
|
|
7691
|
+
CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema,
|
|
7692
|
+
pattern: z.string(),
|
|
7693
|
+
});
|
|
7251
7694
|
|
|
7252
7695
|
/**
|
|
7253
7696
|
* @internal
|
|
7254
7697
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
7255
7698
|
*/
|
|
7256
|
-
export namespace
|
|
7257
|
-
/** @deprecated use `
|
|
7258
|
-
export const inboundSchema =
|
|
7259
|
-
|
|
7699
|
+
export namespace CreateProjectProjectsResponseBranchMatcher$ {
|
|
7700
|
+
/** @deprecated use `CreateProjectProjectsResponseBranchMatcher$inboundSchema` instead. */
|
|
7701
|
+
export const inboundSchema =
|
|
7702
|
+
CreateProjectProjectsResponseBranchMatcher$inboundSchema;
|
|
7703
|
+
/** @deprecated use `CreateProjectProjectsResponseBranchMatcher$outboundSchema` instead. */
|
|
7260
7704
|
export const outboundSchema =
|
|
7261
|
-
|
|
7262
|
-
/** @deprecated use `
|
|
7263
|
-
export type Outbound =
|
|
7705
|
+
CreateProjectProjectsResponseBranchMatcher$outboundSchema;
|
|
7706
|
+
/** @deprecated use `CreateProjectProjectsResponseBranchMatcher$Outbound` instead. */
|
|
7707
|
+
export type Outbound = CreateProjectProjectsResponseBranchMatcher$Outbound;
|
|
7264
7708
|
}
|
|
7265
7709
|
|
|
7266
|
-
export function
|
|
7267
|
-
|
|
7710
|
+
export function createProjectProjectsResponseBranchMatcherToJSON(
|
|
7711
|
+
createProjectProjectsResponseBranchMatcher:
|
|
7712
|
+
CreateProjectProjectsResponseBranchMatcher,
|
|
7268
7713
|
): string {
|
|
7269
7714
|
return JSON.stringify(
|
|
7270
|
-
|
|
7271
|
-
|
|
7715
|
+
CreateProjectProjectsResponseBranchMatcher$outboundSchema.parse(
|
|
7716
|
+
createProjectProjectsResponseBranchMatcher,
|
|
7272
7717
|
),
|
|
7273
7718
|
);
|
|
7274
7719
|
}
|
|
7275
7720
|
|
|
7276
|
-
export function
|
|
7721
|
+
export function createProjectProjectsResponseBranchMatcherFromJSON(
|
|
7277
7722
|
jsonString: string,
|
|
7278
|
-
): SafeParseResult<
|
|
7723
|
+
): SafeParseResult<
|
|
7724
|
+
CreateProjectProjectsResponseBranchMatcher,
|
|
7725
|
+
SDKValidationError
|
|
7726
|
+
> {
|
|
7279
7727
|
return safeParse(
|
|
7280
7728
|
jsonString,
|
|
7281
7729
|
(x) =>
|
|
7282
|
-
|
|
7283
|
-
|
|
7730
|
+
CreateProjectProjectsResponseBranchMatcher$inboundSchema.parse(
|
|
7731
|
+
JSON.parse(x),
|
|
7732
|
+
),
|
|
7733
|
+
`Failed to parse 'CreateProjectProjectsResponseBranchMatcher' from JSON`,
|
|
7284
7734
|
);
|
|
7285
7735
|
}
|
|
7286
7736
|
|
|
@@ -7617,26 +8067,31 @@ export namespace CreateProjectProjectsReadySubstate$ {
|
|
|
7617
8067
|
}
|
|
7618
8068
|
|
|
7619
8069
|
/** @internal */
|
|
7620
|
-
export const
|
|
7621
|
-
z.ZodNativeEnum<
|
|
7622
|
-
|
|
8070
|
+
export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema:
|
|
8071
|
+
z.ZodNativeEnum<
|
|
8072
|
+
typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyType
|
|
8073
|
+
> = z.nativeEnum(
|
|
8074
|
+
CreateProjectProjectsResponse200ApplicationJSONResponseBodyType,
|
|
8075
|
+
);
|
|
7623
8076
|
|
|
7624
8077
|
/** @internal */
|
|
7625
|
-
export const
|
|
7626
|
-
z.ZodNativeEnum<
|
|
7627
|
-
|
|
8078
|
+
export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema:
|
|
8079
|
+
z.ZodNativeEnum<
|
|
8080
|
+
typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyType
|
|
8081
|
+
> =
|
|
8082
|
+
CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema;
|
|
7628
8083
|
|
|
7629
8084
|
/**
|
|
7630
8085
|
* @internal
|
|
7631
8086
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
7632
8087
|
*/
|
|
7633
|
-
export namespace
|
|
7634
|
-
/** @deprecated use `
|
|
8088
|
+
export namespace CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$ {
|
|
8089
|
+
/** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */
|
|
7635
8090
|
export const inboundSchema =
|
|
7636
|
-
|
|
7637
|
-
/** @deprecated use `
|
|
8091
|
+
CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema;
|
|
8092
|
+
/** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */
|
|
7638
8093
|
export const outboundSchema =
|
|
7639
|
-
|
|
8094
|
+
CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema;
|
|
7640
8095
|
}
|
|
7641
8096
|
|
|
7642
8097
|
/** @internal */
|
|
@@ -7653,8 +8108,9 @@ export const CreateProjectTargets$inboundSchema: z.ZodType<
|
|
|
7653
8108
|
).optional(),
|
|
7654
8109
|
aliasFinal: z.nullable(z.string()).optional(),
|
|
7655
8110
|
automaticAliases: z.array(z.string()).optional(),
|
|
7656
|
-
branchMatcher: z.lazy(() =>
|
|
7657
|
-
|
|
8111
|
+
branchMatcher: z.lazy(() =>
|
|
8112
|
+
CreateProjectProjectsResponseBranchMatcher$inboundSchema
|
|
8113
|
+
).optional(),
|
|
7658
8114
|
buildingAt: z.number().optional(),
|
|
7659
8115
|
builds: z.array(z.lazy(() => CreateProjectProjectsBuilds$inboundSchema))
|
|
7660
8116
|
.optional(),
|
|
@@ -7684,7 +8140,8 @@ export const CreateProjectTargets$inboundSchema: z.ZodType<
|
|
|
7684
8140
|
requestedAt: z.number().optional(),
|
|
7685
8141
|
target: z.nullable(z.string()).optional(),
|
|
7686
8142
|
teamId: z.nullable(z.string()).optional(),
|
|
7687
|
-
type:
|
|
8143
|
+
type:
|
|
8144
|
+
CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema,
|
|
7688
8145
|
url: z.string(),
|
|
7689
8146
|
userId: z.string(),
|
|
7690
8147
|
withCache: z.boolean().optional(),
|
|
@@ -7698,7 +8155,9 @@ export type CreateProjectTargets$Outbound = {
|
|
|
7698
8155
|
aliasError?: CreateProjectProjectsAliasError$Outbound | null | undefined;
|
|
7699
8156
|
aliasFinal?: string | null | undefined;
|
|
7700
8157
|
automaticAliases?: Array<string> | undefined;
|
|
7701
|
-
branchMatcher?:
|
|
8158
|
+
branchMatcher?:
|
|
8159
|
+
| CreateProjectProjectsResponseBranchMatcher$Outbound
|
|
8160
|
+
| undefined;
|
|
7702
8161
|
buildingAt?: number | undefined;
|
|
7703
8162
|
builds?: Array<CreateProjectProjectsBuilds$Outbound> | undefined;
|
|
7704
8163
|
checksConclusion?: string | undefined;
|
|
@@ -7744,8 +8203,9 @@ export const CreateProjectTargets$outboundSchema: z.ZodType<
|
|
|
7744
8203
|
).optional(),
|
|
7745
8204
|
aliasFinal: z.nullable(z.string()).optional(),
|
|
7746
8205
|
automaticAliases: z.array(z.string()).optional(),
|
|
7747
|
-
branchMatcher: z.lazy(() =>
|
|
7748
|
-
|
|
8206
|
+
branchMatcher: z.lazy(() =>
|
|
8207
|
+
CreateProjectProjectsResponseBranchMatcher$outboundSchema
|
|
8208
|
+
).optional(),
|
|
7749
8209
|
buildingAt: z.number().optional(),
|
|
7750
8210
|
builds: z.array(z.lazy(() => CreateProjectProjectsBuilds$outboundSchema))
|
|
7751
8211
|
.optional(),
|
|
@@ -7777,7 +8237,8 @@ export const CreateProjectTargets$outboundSchema: z.ZodType<
|
|
|
7777
8237
|
requestedAt: z.number().optional(),
|
|
7778
8238
|
target: z.nullable(z.string()).optional(),
|
|
7779
8239
|
teamId: z.nullable(z.string()).optional(),
|
|
7780
|
-
type:
|
|
8240
|
+
type:
|
|
8241
|
+
CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema,
|
|
7781
8242
|
url: z.string(),
|
|
7782
8243
|
userId: z.string(),
|
|
7783
8244
|
withCache: z.boolean().optional(),
|
|
@@ -8546,31 +9007,31 @@ export namespace CreateProjectJobStatus$ {
|
|
|
8546
9007
|
}
|
|
8547
9008
|
|
|
8548
9009
|
/** @internal */
|
|
8549
|
-
export const
|
|
9010
|
+
export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType$inboundSchema:
|
|
8550
9011
|
z.ZodNativeEnum<
|
|
8551
|
-
typeof
|
|
9012
|
+
typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType
|
|
8552
9013
|
> = z.nativeEnum(
|
|
8553
|
-
|
|
9014
|
+
CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType,
|
|
8554
9015
|
);
|
|
8555
9016
|
|
|
8556
9017
|
/** @internal */
|
|
8557
|
-
export const
|
|
9018
|
+
export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType$outboundSchema:
|
|
8558
9019
|
z.ZodNativeEnum<
|
|
8559
|
-
typeof
|
|
9020
|
+
typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType
|
|
8560
9021
|
> =
|
|
8561
|
-
|
|
9022
|
+
CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType$inboundSchema;
|
|
8562
9023
|
|
|
8563
9024
|
/**
|
|
8564
9025
|
* @internal
|
|
8565
9026
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
8566
9027
|
*/
|
|
8567
|
-
export namespace
|
|
8568
|
-
/** @deprecated use `
|
|
9028
|
+
export namespace CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType$ {
|
|
9029
|
+
/** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType$inboundSchema` instead. */
|
|
8569
9030
|
export const inboundSchema =
|
|
8570
|
-
|
|
8571
|
-
/** @deprecated use `
|
|
9031
|
+
CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType$inboundSchema;
|
|
9032
|
+
/** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType$outboundSchema` instead. */
|
|
8572
9033
|
export const outboundSchema =
|
|
8573
|
-
|
|
9034
|
+
CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType$outboundSchema;
|
|
8574
9035
|
}
|
|
8575
9036
|
|
|
8576
9037
|
/** @internal */
|
|
@@ -8581,16 +9042,18 @@ export const CreateProjectLastAliasRequest$inboundSchema: z.ZodType<
|
|
|
8581
9042
|
> = z.object({
|
|
8582
9043
|
fromDeploymentId: z.string(),
|
|
8583
9044
|
toDeploymentId: z.string(),
|
|
9045
|
+
fromRollingReleaseId: z.string().optional(),
|
|
8584
9046
|
jobStatus: CreateProjectJobStatus$inboundSchema,
|
|
8585
9047
|
requestedAt: z.number(),
|
|
8586
9048
|
type:
|
|
8587
|
-
|
|
9049
|
+
CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType$inboundSchema,
|
|
8588
9050
|
});
|
|
8589
9051
|
|
|
8590
9052
|
/** @internal */
|
|
8591
9053
|
export type CreateProjectLastAliasRequest$Outbound = {
|
|
8592
9054
|
fromDeploymentId: string;
|
|
8593
9055
|
toDeploymentId: string;
|
|
9056
|
+
fromRollingReleaseId?: string | undefined;
|
|
8594
9057
|
jobStatus: string;
|
|
8595
9058
|
requestedAt: number;
|
|
8596
9059
|
type: string;
|
|
@@ -8604,10 +9067,11 @@ export const CreateProjectLastAliasRequest$outboundSchema: z.ZodType<
|
|
|
8604
9067
|
> = z.object({
|
|
8605
9068
|
fromDeploymentId: z.string(),
|
|
8606
9069
|
toDeploymentId: z.string(),
|
|
9070
|
+
fromRollingReleaseId: z.string().optional(),
|
|
8607
9071
|
jobStatus: CreateProjectJobStatus$outboundSchema,
|
|
8608
9072
|
requestedAt: z.number(),
|
|
8609
9073
|
type:
|
|
8610
|
-
|
|
9074
|
+
CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType$outboundSchema,
|
|
8611
9075
|
});
|
|
8612
9076
|
|
|
8613
9077
|
/**
|