@vercel/sdk 1.6.7 → 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 +17 -29
- package/bin/mcp-server.js +2591 -901
- package/bin/mcp-server.js.map +29 -26
- 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__/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/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/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 +328 -71
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +253 -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 +342 -95
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +285 -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 +358 -111
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +309 -135
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +342 -95
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +285 -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/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__/vercel.test.ts +26 -0
- package/src/funcs/marketplaceUpdateResourceSecretsById.ts +2 -2
- package/src/funcs/patchAliasesIdProtectionBypass.ts +185 -0
- 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/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 +658 -201
- 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 +630 -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 +731 -271
- package/src/models/updateprojectop.ts +692 -249
- package/src/models/userevent.ts +205 -12
- package/src/sdk/sdk.ts +18 -1
- package/vercel-spec.json +2646 -161
|
@@ -678,20 +678,19 @@ export type UpdateProjectContentHint =
|
|
|
678
678
|
| UpdateProjectContentHint15
|
|
679
679
|
| UpdateProjectContentHint14;
|
|
680
680
|
|
|
681
|
-
export const
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
export type UpdateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType =
|
|
681
|
+
export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType = {
|
|
682
|
+
FlagsSecret: "flags-secret",
|
|
683
|
+
} as const;
|
|
684
|
+
export type UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType =
|
|
686
685
|
ClosedEnum<
|
|
687
|
-
typeof
|
|
686
|
+
typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType
|
|
688
687
|
>;
|
|
689
688
|
|
|
690
689
|
/**
|
|
691
690
|
* Similar to `contentHints`, but should not be exposed to the user.
|
|
692
691
|
*/
|
|
693
692
|
export type UpdateProjectInternalContentHint = {
|
|
694
|
-
type:
|
|
693
|
+
type: UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType;
|
|
695
694
|
/**
|
|
696
695
|
* Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.
|
|
697
696
|
*/
|
|
@@ -744,7 +743,127 @@ export type UpdateProjectEnv = {
|
|
|
744
743
|
customEnvironmentIds?: Array<string> | undefined;
|
|
745
744
|
};
|
|
746
745
|
|
|
747
|
-
|
|
746
|
+
/**
|
|
747
|
+
* The type of environment (production, preview, or development)
|
|
748
|
+
*/
|
|
749
|
+
export const UpdateProjectProjectsType = {
|
|
750
|
+
Production: "production",
|
|
751
|
+
Preview: "preview",
|
|
752
|
+
Development: "development",
|
|
753
|
+
} as const;
|
|
754
|
+
/**
|
|
755
|
+
* The type of environment (production, preview, or development)
|
|
756
|
+
*/
|
|
757
|
+
export type UpdateProjectProjectsType = ClosedEnum<
|
|
758
|
+
typeof UpdateProjectProjectsType
|
|
759
|
+
>;
|
|
760
|
+
|
|
761
|
+
/**
|
|
762
|
+
* The type of matching to perform
|
|
763
|
+
*/
|
|
764
|
+
export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType =
|
|
765
|
+
{
|
|
766
|
+
EndsWith: "endsWith",
|
|
767
|
+
StartsWith: "startsWith",
|
|
768
|
+
Equals: "equals",
|
|
769
|
+
} as const;
|
|
770
|
+
/**
|
|
771
|
+
* The type of matching to perform
|
|
772
|
+
*/
|
|
773
|
+
export type UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType =
|
|
774
|
+
ClosedEnum<
|
|
775
|
+
typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType
|
|
776
|
+
>;
|
|
777
|
+
|
|
778
|
+
/**
|
|
779
|
+
* Configuration for matching git branches to this environment
|
|
780
|
+
*/
|
|
781
|
+
export type UpdateProjectBranchMatcher = {
|
|
782
|
+
/**
|
|
783
|
+
* The type of matching to perform
|
|
784
|
+
*/
|
|
785
|
+
type:
|
|
786
|
+
UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType;
|
|
787
|
+
/**
|
|
788
|
+
* The pattern to match against branch names
|
|
789
|
+
*/
|
|
790
|
+
pattern: string;
|
|
791
|
+
};
|
|
792
|
+
|
|
793
|
+
/**
|
|
794
|
+
* 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`.
|
|
795
|
+
*/
|
|
796
|
+
export type UpdateProjectVerification = {
|
|
797
|
+
type: string;
|
|
798
|
+
domain: string;
|
|
799
|
+
value: string;
|
|
800
|
+
reason: string;
|
|
801
|
+
};
|
|
802
|
+
|
|
803
|
+
/**
|
|
804
|
+
* List of domains associated with this environment
|
|
805
|
+
*/
|
|
806
|
+
export type UpdateProjectDomains = {
|
|
807
|
+
name: string;
|
|
808
|
+
apexName: string;
|
|
809
|
+
projectId: string;
|
|
810
|
+
redirect?: string | null | undefined;
|
|
811
|
+
redirectStatusCode?: number | null | undefined;
|
|
812
|
+
gitBranch?: string | null | undefined;
|
|
813
|
+
customEnvironmentId?: string | null | undefined;
|
|
814
|
+
updatedAt?: number | undefined;
|
|
815
|
+
createdAt?: number | undefined;
|
|
816
|
+
/**
|
|
817
|
+
* `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.
|
|
818
|
+
*/
|
|
819
|
+
verified: boolean;
|
|
820
|
+
/**
|
|
821
|
+
* 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`.
|
|
822
|
+
*/
|
|
823
|
+
verification?: Array<UpdateProjectVerification> | undefined;
|
|
824
|
+
};
|
|
825
|
+
|
|
826
|
+
/**
|
|
827
|
+
* Internal representation of a custom environment with all required properties
|
|
828
|
+
*/
|
|
829
|
+
export type UpdateProjectCustomEnvironments = {
|
|
830
|
+
/**
|
|
831
|
+
* Unique identifier for the custom environment (format: env_*)
|
|
832
|
+
*/
|
|
833
|
+
id: string;
|
|
834
|
+
/**
|
|
835
|
+
* URL-friendly name of the environment
|
|
836
|
+
*/
|
|
837
|
+
slug: string;
|
|
838
|
+
/**
|
|
839
|
+
* The type of environment (production, preview, or development)
|
|
840
|
+
*/
|
|
841
|
+
type: UpdateProjectProjectsType;
|
|
842
|
+
/**
|
|
843
|
+
* Optional description of the environment's purpose
|
|
844
|
+
*/
|
|
845
|
+
description?: string | undefined;
|
|
846
|
+
/**
|
|
847
|
+
* Configuration for matching git branches to this environment
|
|
848
|
+
*/
|
|
849
|
+
branchMatcher?: UpdateProjectBranchMatcher | undefined;
|
|
850
|
+
/**
|
|
851
|
+
* List of domains associated with this environment
|
|
852
|
+
*/
|
|
853
|
+
domains?: Array<UpdateProjectDomains> | undefined;
|
|
854
|
+
/**
|
|
855
|
+
* List of aliases for the current deployment
|
|
856
|
+
*/
|
|
857
|
+
currentDeploymentAliases?: Array<string> | undefined;
|
|
858
|
+
/**
|
|
859
|
+
* Timestamp when the environment was created
|
|
860
|
+
*/
|
|
861
|
+
createdAt: number;
|
|
862
|
+
/**
|
|
863
|
+
* Timestamp when the environment was last updated
|
|
864
|
+
*/
|
|
865
|
+
updatedAt: number;
|
|
866
|
+
};
|
|
748
867
|
|
|
749
868
|
export const UpdateProjectProjectsFramework = {
|
|
750
869
|
Blitzjs: "blitzjs",
|
|
@@ -813,24 +932,26 @@ export type UpdateProjectAliasError = {
|
|
|
813
932
|
/**
|
|
814
933
|
* The type of matching to perform
|
|
815
934
|
*/
|
|
816
|
-
export const
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
935
|
+
export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType =
|
|
936
|
+
{
|
|
937
|
+
EndsWith: "endsWith",
|
|
938
|
+
StartsWith: "startsWith",
|
|
939
|
+
Equals: "equals",
|
|
940
|
+
} as const;
|
|
821
941
|
/**
|
|
822
942
|
* The type of matching to perform
|
|
823
943
|
*/
|
|
824
|
-
export type
|
|
944
|
+
export type UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType =
|
|
825
945
|
ClosedEnum<
|
|
826
|
-
typeof
|
|
946
|
+
typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType
|
|
827
947
|
>;
|
|
828
948
|
|
|
829
|
-
export type
|
|
949
|
+
export type UpdateProjectProjectsBranchMatcher = {
|
|
830
950
|
/**
|
|
831
951
|
* The type of matching to perform
|
|
832
952
|
*/
|
|
833
|
-
type:
|
|
953
|
+
type:
|
|
954
|
+
UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType;
|
|
834
955
|
/**
|
|
835
956
|
* The pattern to match against branch names
|
|
836
957
|
*/
|
|
@@ -910,11 +1031,11 @@ export type UpdateProjectReadySubstate = ClosedEnum<
|
|
|
910
1031
|
typeof UpdateProjectReadySubstate
|
|
911
1032
|
>;
|
|
912
1033
|
|
|
913
|
-
export const
|
|
1034
|
+
export const UpdateProjectProjectsResponseType = {
|
|
914
1035
|
Lambdas: "LAMBDAS",
|
|
915
1036
|
} as const;
|
|
916
|
-
export type
|
|
917
|
-
typeof
|
|
1037
|
+
export type UpdateProjectProjectsResponseType = ClosedEnum<
|
|
1038
|
+
typeof UpdateProjectProjectsResponseType
|
|
918
1039
|
>;
|
|
919
1040
|
|
|
920
1041
|
export type UpdateProjectLatestDeployments = {
|
|
@@ -924,7 +1045,7 @@ export type UpdateProjectLatestDeployments = {
|
|
|
924
1045
|
aliasError?: UpdateProjectAliasError | null | undefined;
|
|
925
1046
|
aliasFinal?: string | null | undefined;
|
|
926
1047
|
automaticAliases?: Array<string> | undefined;
|
|
927
|
-
branchMatcher?:
|
|
1048
|
+
branchMatcher?: UpdateProjectProjectsBranchMatcher | undefined;
|
|
928
1049
|
buildingAt?: number | undefined;
|
|
929
1050
|
builds?: Array<UpdateProjectBuilds> | undefined;
|
|
930
1051
|
checksConclusion?: UpdateProjectChecksConclusion | undefined;
|
|
@@ -953,7 +1074,7 @@ export type UpdateProjectLatestDeployments = {
|
|
|
953
1074
|
requestedAt?: number | undefined;
|
|
954
1075
|
target?: string | null | undefined;
|
|
955
1076
|
teamId?: string | null | undefined;
|
|
956
|
-
type:
|
|
1077
|
+
type: UpdateProjectProjectsResponseType;
|
|
957
1078
|
url: string;
|
|
958
1079
|
userId: string;
|
|
959
1080
|
withCache?: boolean | undefined;
|
|
@@ -1247,8 +1368,8 @@ export type UpdateProjectDefaultResourceConfig = {
|
|
|
1247
1368
|
};
|
|
1248
1369
|
|
|
1249
1370
|
export const UpdateProjectProjectsResponseDeploymentType = {
|
|
1250
|
-
All: "all",
|
|
1251
1371
|
Preview: "preview",
|
|
1372
|
+
All: "all",
|
|
1252
1373
|
ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
|
|
1253
1374
|
} as const;
|
|
1254
1375
|
export type UpdateProjectProjectsResponseDeploymentType = ClosedEnum<
|
|
@@ -1269,23 +1390,25 @@ export type UpdateProjectProjectsAliasError = {
|
|
|
1269
1390
|
/**
|
|
1270
1391
|
* The type of matching to perform
|
|
1271
1392
|
*/
|
|
1272
|
-
export const
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1393
|
+
export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType =
|
|
1394
|
+
{
|
|
1395
|
+
EndsWith: "endsWith",
|
|
1396
|
+
StartsWith: "startsWith",
|
|
1397
|
+
Equals: "equals",
|
|
1398
|
+
} as const;
|
|
1277
1399
|
/**
|
|
1278
1400
|
* The type of matching to perform
|
|
1279
1401
|
*/
|
|
1280
|
-
export type
|
|
1281
|
-
|
|
1282
|
-
|
|
1402
|
+
export type UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType =
|
|
1403
|
+
ClosedEnum<
|
|
1404
|
+
typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType
|
|
1405
|
+
>;
|
|
1283
1406
|
|
|
1284
|
-
export type
|
|
1407
|
+
export type UpdateProjectProjectsResponseBranchMatcher = {
|
|
1285
1408
|
/**
|
|
1286
1409
|
* The type of matching to perform
|
|
1287
1410
|
*/
|
|
1288
|
-
type:
|
|
1411
|
+
type: UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType;
|
|
1289
1412
|
/**
|
|
1290
1413
|
* The pattern to match against branch names
|
|
1291
1414
|
*/
|
|
@@ -1367,11 +1490,11 @@ export type UpdateProjectProjectsReadySubstate = ClosedEnum<
|
|
|
1367
1490
|
typeof UpdateProjectProjectsReadySubstate
|
|
1368
1491
|
>;
|
|
1369
1492
|
|
|
1370
|
-
export const
|
|
1493
|
+
export const UpdateProjectProjectsResponse200Type = {
|
|
1371
1494
|
Lambdas: "LAMBDAS",
|
|
1372
1495
|
} as const;
|
|
1373
|
-
export type
|
|
1374
|
-
typeof
|
|
1496
|
+
export type UpdateProjectProjectsResponse200Type = ClosedEnum<
|
|
1497
|
+
typeof UpdateProjectProjectsResponse200Type
|
|
1375
1498
|
>;
|
|
1376
1499
|
|
|
1377
1500
|
export type UpdateProjectTargets = {
|
|
@@ -1381,7 +1504,7 @@ export type UpdateProjectTargets = {
|
|
|
1381
1504
|
aliasError?: UpdateProjectProjectsAliasError | null | undefined;
|
|
1382
1505
|
aliasFinal?: string | null | undefined;
|
|
1383
1506
|
automaticAliases?: Array<string> | undefined;
|
|
1384
|
-
branchMatcher?:
|
|
1507
|
+
branchMatcher?: UpdateProjectProjectsResponseBranchMatcher | undefined;
|
|
1385
1508
|
buildingAt?: number | undefined;
|
|
1386
1509
|
builds?: Array<UpdateProjectProjectsBuilds> | undefined;
|
|
1387
1510
|
checksConclusion?: UpdateProjectProjectsChecksConclusion | undefined;
|
|
@@ -1410,7 +1533,7 @@ export type UpdateProjectTargets = {
|
|
|
1410
1533
|
requestedAt?: number | undefined;
|
|
1411
1534
|
target?: string | null | undefined;
|
|
1412
1535
|
teamId?: string | null | undefined;
|
|
1413
|
-
type:
|
|
1536
|
+
type: UpdateProjectProjectsResponse200Type;
|
|
1414
1537
|
url: string;
|
|
1415
1538
|
userId: string;
|
|
1416
1539
|
withCache?: boolean | undefined;
|
|
@@ -1625,20 +1748,24 @@ export const UpdateProjectJobStatus = {
|
|
|
1625
1748
|
} as const;
|
|
1626
1749
|
export type UpdateProjectJobStatus = ClosedEnum<typeof UpdateProjectJobStatus>;
|
|
1627
1750
|
|
|
1628
|
-
export const
|
|
1751
|
+
export const UpdateProjectProjectsResponse200ApplicationJSONType = {
|
|
1629
1752
|
Promote: "promote",
|
|
1630
1753
|
Rollback: "rollback",
|
|
1631
1754
|
} as const;
|
|
1632
|
-
export type
|
|
1633
|
-
typeof
|
|
1755
|
+
export type UpdateProjectProjectsResponse200ApplicationJSONType = ClosedEnum<
|
|
1756
|
+
typeof UpdateProjectProjectsResponse200ApplicationJSONType
|
|
1634
1757
|
>;
|
|
1635
1758
|
|
|
1636
1759
|
export type UpdateProjectLastAliasRequest = {
|
|
1637
1760
|
fromDeploymentId: string;
|
|
1638
1761
|
toDeploymentId: string;
|
|
1762
|
+
/**
|
|
1763
|
+
* If rolling back from a rolling release, fromDeploymentId captures the "base" of that rolling release, and fromRollingReleaseId captures the "target" of that rolling release.
|
|
1764
|
+
*/
|
|
1765
|
+
fromRollingReleaseId?: string | undefined;
|
|
1639
1766
|
jobStatus: UpdateProjectJobStatus;
|
|
1640
1767
|
requestedAt: number;
|
|
1641
|
-
type:
|
|
1768
|
+
type: UpdateProjectProjectsResponse200ApplicationJSONType;
|
|
1642
1769
|
};
|
|
1643
1770
|
|
|
1644
1771
|
export const UpdateProjectScope = {
|
|
@@ -1653,10 +1780,10 @@ export type UpdateProjectProtectionBypass = {
|
|
|
1653
1780
|
};
|
|
1654
1781
|
|
|
1655
1782
|
export const UpdateProjectTrustedIpsProjectsDeploymentType = {
|
|
1656
|
-
|
|
1783
|
+
Production: "production",
|
|
1657
1784
|
Preview: "preview",
|
|
1785
|
+
All: "all",
|
|
1658
1786
|
ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
|
|
1659
|
-
Production: "production",
|
|
1660
1787
|
} as const;
|
|
1661
1788
|
export type UpdateProjectTrustedIpsProjectsDeploymentType = ClosedEnum<
|
|
1662
1789
|
typeof UpdateProjectTrustedIpsProjectsDeploymentType
|
|
@@ -1667,10 +1794,10 @@ export type UpdateProjectTrustedIps2 = {
|
|
|
1667
1794
|
};
|
|
1668
1795
|
|
|
1669
1796
|
export const UpdateProjectTrustedIpsDeploymentType = {
|
|
1670
|
-
|
|
1797
|
+
Production: "production",
|
|
1671
1798
|
Preview: "preview",
|
|
1799
|
+
All: "all",
|
|
1672
1800
|
ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
|
|
1673
|
-
Production: "production",
|
|
1674
1801
|
} as const;
|
|
1675
1802
|
export type UpdateProjectTrustedIpsDeploymentType = ClosedEnum<
|
|
1676
1803
|
typeof UpdateProjectTrustedIpsDeploymentType
|
|
@@ -4690,31 +4817,31 @@ export function updateProjectContentHintFromJSON(
|
|
|
4690
4817
|
}
|
|
4691
4818
|
|
|
4692
4819
|
/** @internal */
|
|
4693
|
-
export const
|
|
4820
|
+
export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema:
|
|
4694
4821
|
z.ZodNativeEnum<
|
|
4695
|
-
typeof
|
|
4822
|
+
typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType
|
|
4696
4823
|
> = z.nativeEnum(
|
|
4697
|
-
|
|
4824
|
+
UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType,
|
|
4698
4825
|
);
|
|
4699
4826
|
|
|
4700
4827
|
/** @internal */
|
|
4701
|
-
export const
|
|
4828
|
+
export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema:
|
|
4702
4829
|
z.ZodNativeEnum<
|
|
4703
|
-
typeof
|
|
4830
|
+
typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType
|
|
4704
4831
|
> =
|
|
4705
|
-
|
|
4832
|
+
UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema;
|
|
4706
4833
|
|
|
4707
4834
|
/**
|
|
4708
4835
|
* @internal
|
|
4709
4836
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4710
4837
|
*/
|
|
4711
|
-
export namespace
|
|
4712
|
-
/** @deprecated use `
|
|
4838
|
+
export namespace UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$ {
|
|
4839
|
+
/** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */
|
|
4713
4840
|
export const inboundSchema =
|
|
4714
|
-
|
|
4715
|
-
/** @deprecated use `
|
|
4841
|
+
UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema;
|
|
4842
|
+
/** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */
|
|
4716
4843
|
export const outboundSchema =
|
|
4717
|
-
|
|
4844
|
+
UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema;
|
|
4718
4845
|
}
|
|
4719
4846
|
|
|
4720
4847
|
/** @internal */
|
|
@@ -4724,7 +4851,7 @@ export const UpdateProjectInternalContentHint$inboundSchema: z.ZodType<
|
|
|
4724
4851
|
unknown
|
|
4725
4852
|
> = z.object({
|
|
4726
4853
|
type:
|
|
4727
|
-
|
|
4854
|
+
UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema,
|
|
4728
4855
|
encryptedValue: z.string(),
|
|
4729
4856
|
});
|
|
4730
4857
|
|
|
@@ -4741,7 +4868,7 @@ export const UpdateProjectInternalContentHint$outboundSchema: z.ZodType<
|
|
|
4741
4868
|
UpdateProjectInternalContentHint
|
|
4742
4869
|
> = z.object({
|
|
4743
4870
|
type:
|
|
4744
|
-
|
|
4871
|
+
UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema,
|
|
4745
4872
|
encryptedValue: z.string(),
|
|
4746
4873
|
});
|
|
4747
4874
|
|
|
@@ -4952,109 +5079,399 @@ export function updateProjectEnvFromJSON(
|
|
|
4952
5079
|
}
|
|
4953
5080
|
|
|
4954
5081
|
/** @internal */
|
|
4955
|
-
export const
|
|
4956
|
-
|
|
4957
|
-
|
|
4958
|
-
unknown
|
|
4959
|
-
> = z.object({});
|
|
4960
|
-
|
|
4961
|
-
/** @internal */
|
|
4962
|
-
export type UpdateProjectCustomEnvironments$Outbound = {};
|
|
5082
|
+
export const UpdateProjectProjectsType$inboundSchema: z.ZodNativeEnum<
|
|
5083
|
+
typeof UpdateProjectProjectsType
|
|
5084
|
+
> = z.nativeEnum(UpdateProjectProjectsType);
|
|
4963
5085
|
|
|
4964
5086
|
/** @internal */
|
|
4965
|
-
export const
|
|
4966
|
-
|
|
4967
|
-
|
|
4968
|
-
UpdateProjectCustomEnvironments
|
|
4969
|
-
> = z.object({});
|
|
5087
|
+
export const UpdateProjectProjectsType$outboundSchema: z.ZodNativeEnum<
|
|
5088
|
+
typeof UpdateProjectProjectsType
|
|
5089
|
+
> = UpdateProjectProjectsType$inboundSchema;
|
|
4970
5090
|
|
|
4971
5091
|
/**
|
|
4972
5092
|
* @internal
|
|
4973
5093
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4974
5094
|
*/
|
|
4975
|
-
export namespace
|
|
4976
|
-
/** @deprecated use `
|
|
4977
|
-
export const inboundSchema =
|
|
4978
|
-
/** @deprecated use `
|
|
4979
|
-
export const outboundSchema =
|
|
4980
|
-
/** @deprecated use `UpdateProjectCustomEnvironments$Outbound` instead. */
|
|
4981
|
-
export type Outbound = UpdateProjectCustomEnvironments$Outbound;
|
|
4982
|
-
}
|
|
4983
|
-
|
|
4984
|
-
export function updateProjectCustomEnvironmentsToJSON(
|
|
4985
|
-
updateProjectCustomEnvironments: UpdateProjectCustomEnvironments,
|
|
4986
|
-
): string {
|
|
4987
|
-
return JSON.stringify(
|
|
4988
|
-
UpdateProjectCustomEnvironments$outboundSchema.parse(
|
|
4989
|
-
updateProjectCustomEnvironments,
|
|
4990
|
-
),
|
|
4991
|
-
);
|
|
4992
|
-
}
|
|
4993
|
-
|
|
4994
|
-
export function updateProjectCustomEnvironmentsFromJSON(
|
|
4995
|
-
jsonString: string,
|
|
4996
|
-
): SafeParseResult<UpdateProjectCustomEnvironments, SDKValidationError> {
|
|
4997
|
-
return safeParse(
|
|
4998
|
-
jsonString,
|
|
4999
|
-
(x) => UpdateProjectCustomEnvironments$inboundSchema.parse(JSON.parse(x)),
|
|
5000
|
-
`Failed to parse 'UpdateProjectCustomEnvironments' from JSON`,
|
|
5001
|
-
);
|
|
5095
|
+
export namespace UpdateProjectProjectsType$ {
|
|
5096
|
+
/** @deprecated use `UpdateProjectProjectsType$inboundSchema` instead. */
|
|
5097
|
+
export const inboundSchema = UpdateProjectProjectsType$inboundSchema;
|
|
5098
|
+
/** @deprecated use `UpdateProjectProjectsType$outboundSchema` instead. */
|
|
5099
|
+
export const outboundSchema = UpdateProjectProjectsType$outboundSchema;
|
|
5002
5100
|
}
|
|
5003
5101
|
|
|
5004
5102
|
/** @internal */
|
|
5005
|
-
export const
|
|
5006
|
-
|
|
5007
|
-
|
|
5103
|
+
export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema:
|
|
5104
|
+
z.ZodNativeEnum<
|
|
5105
|
+
typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType
|
|
5106
|
+
> = z.nativeEnum(
|
|
5107
|
+
UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType,
|
|
5108
|
+
);
|
|
5008
5109
|
|
|
5009
5110
|
/** @internal */
|
|
5010
|
-
export const
|
|
5011
|
-
|
|
5012
|
-
|
|
5111
|
+
export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema:
|
|
5112
|
+
z.ZodNativeEnum<
|
|
5113
|
+
typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType
|
|
5114
|
+
> =
|
|
5115
|
+
UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema;
|
|
5013
5116
|
|
|
5014
5117
|
/**
|
|
5015
5118
|
* @internal
|
|
5016
5119
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5017
5120
|
*/
|
|
5018
|
-
export namespace
|
|
5019
|
-
/** @deprecated use `
|
|
5020
|
-
export const inboundSchema =
|
|
5021
|
-
|
|
5022
|
-
|
|
5121
|
+
export namespace UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$ {
|
|
5122
|
+
/** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema` instead. */
|
|
5123
|
+
export const inboundSchema =
|
|
5124
|
+
UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema;
|
|
5125
|
+
/** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema` instead. */
|
|
5126
|
+
export const outboundSchema =
|
|
5127
|
+
UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema;
|
|
5023
5128
|
}
|
|
5024
5129
|
|
|
5025
5130
|
/** @internal */
|
|
5026
|
-
export const
|
|
5027
|
-
|
|
5131
|
+
export const UpdateProjectBranchMatcher$inboundSchema: z.ZodType<
|
|
5132
|
+
UpdateProjectBranchMatcher,
|
|
5028
5133
|
z.ZodTypeDef,
|
|
5029
5134
|
unknown
|
|
5030
5135
|
> = z.object({
|
|
5031
|
-
|
|
5032
|
-
|
|
5136
|
+
type:
|
|
5137
|
+
UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema,
|
|
5138
|
+
pattern: z.string(),
|
|
5033
5139
|
});
|
|
5034
5140
|
|
|
5035
5141
|
/** @internal */
|
|
5036
|
-
export type
|
|
5037
|
-
|
|
5038
|
-
|
|
5142
|
+
export type UpdateProjectBranchMatcher$Outbound = {
|
|
5143
|
+
type: string;
|
|
5144
|
+
pattern: string;
|
|
5039
5145
|
};
|
|
5040
5146
|
|
|
5041
5147
|
/** @internal */
|
|
5042
|
-
export const
|
|
5043
|
-
|
|
5148
|
+
export const UpdateProjectBranchMatcher$outboundSchema: z.ZodType<
|
|
5149
|
+
UpdateProjectBranchMatcher$Outbound,
|
|
5044
5150
|
z.ZodTypeDef,
|
|
5045
|
-
|
|
5151
|
+
UpdateProjectBranchMatcher
|
|
5046
5152
|
> = z.object({
|
|
5047
|
-
|
|
5048
|
-
|
|
5153
|
+
type:
|
|
5154
|
+
UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema,
|
|
5155
|
+
pattern: z.string(),
|
|
5049
5156
|
});
|
|
5050
5157
|
|
|
5051
5158
|
/**
|
|
5052
5159
|
* @internal
|
|
5053
5160
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5054
5161
|
*/
|
|
5055
|
-
export namespace
|
|
5056
|
-
/** @deprecated use `
|
|
5057
|
-
export const inboundSchema =
|
|
5162
|
+
export namespace UpdateProjectBranchMatcher$ {
|
|
5163
|
+
/** @deprecated use `UpdateProjectBranchMatcher$inboundSchema` instead. */
|
|
5164
|
+
export const inboundSchema = UpdateProjectBranchMatcher$inboundSchema;
|
|
5165
|
+
/** @deprecated use `UpdateProjectBranchMatcher$outboundSchema` instead. */
|
|
5166
|
+
export const outboundSchema = UpdateProjectBranchMatcher$outboundSchema;
|
|
5167
|
+
/** @deprecated use `UpdateProjectBranchMatcher$Outbound` instead. */
|
|
5168
|
+
export type Outbound = UpdateProjectBranchMatcher$Outbound;
|
|
5169
|
+
}
|
|
5170
|
+
|
|
5171
|
+
export function updateProjectBranchMatcherToJSON(
|
|
5172
|
+
updateProjectBranchMatcher: UpdateProjectBranchMatcher,
|
|
5173
|
+
): string {
|
|
5174
|
+
return JSON.stringify(
|
|
5175
|
+
UpdateProjectBranchMatcher$outboundSchema.parse(updateProjectBranchMatcher),
|
|
5176
|
+
);
|
|
5177
|
+
}
|
|
5178
|
+
|
|
5179
|
+
export function updateProjectBranchMatcherFromJSON(
|
|
5180
|
+
jsonString: string,
|
|
5181
|
+
): SafeParseResult<UpdateProjectBranchMatcher, SDKValidationError> {
|
|
5182
|
+
return safeParse(
|
|
5183
|
+
jsonString,
|
|
5184
|
+
(x) => UpdateProjectBranchMatcher$inboundSchema.parse(JSON.parse(x)),
|
|
5185
|
+
`Failed to parse 'UpdateProjectBranchMatcher' from JSON`,
|
|
5186
|
+
);
|
|
5187
|
+
}
|
|
5188
|
+
|
|
5189
|
+
/** @internal */
|
|
5190
|
+
export const UpdateProjectVerification$inboundSchema: z.ZodType<
|
|
5191
|
+
UpdateProjectVerification,
|
|
5192
|
+
z.ZodTypeDef,
|
|
5193
|
+
unknown
|
|
5194
|
+
> = z.object({
|
|
5195
|
+
type: z.string(),
|
|
5196
|
+
domain: z.string(),
|
|
5197
|
+
value: z.string(),
|
|
5198
|
+
reason: z.string(),
|
|
5199
|
+
});
|
|
5200
|
+
|
|
5201
|
+
/** @internal */
|
|
5202
|
+
export type UpdateProjectVerification$Outbound = {
|
|
5203
|
+
type: string;
|
|
5204
|
+
domain: string;
|
|
5205
|
+
value: string;
|
|
5206
|
+
reason: string;
|
|
5207
|
+
};
|
|
5208
|
+
|
|
5209
|
+
/** @internal */
|
|
5210
|
+
export const UpdateProjectVerification$outboundSchema: z.ZodType<
|
|
5211
|
+
UpdateProjectVerification$Outbound,
|
|
5212
|
+
z.ZodTypeDef,
|
|
5213
|
+
UpdateProjectVerification
|
|
5214
|
+
> = z.object({
|
|
5215
|
+
type: z.string(),
|
|
5216
|
+
domain: z.string(),
|
|
5217
|
+
value: z.string(),
|
|
5218
|
+
reason: z.string(),
|
|
5219
|
+
});
|
|
5220
|
+
|
|
5221
|
+
/**
|
|
5222
|
+
* @internal
|
|
5223
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5224
|
+
*/
|
|
5225
|
+
export namespace UpdateProjectVerification$ {
|
|
5226
|
+
/** @deprecated use `UpdateProjectVerification$inboundSchema` instead. */
|
|
5227
|
+
export const inboundSchema = UpdateProjectVerification$inboundSchema;
|
|
5228
|
+
/** @deprecated use `UpdateProjectVerification$outboundSchema` instead. */
|
|
5229
|
+
export const outboundSchema = UpdateProjectVerification$outboundSchema;
|
|
5230
|
+
/** @deprecated use `UpdateProjectVerification$Outbound` instead. */
|
|
5231
|
+
export type Outbound = UpdateProjectVerification$Outbound;
|
|
5232
|
+
}
|
|
5233
|
+
|
|
5234
|
+
export function updateProjectVerificationToJSON(
|
|
5235
|
+
updateProjectVerification: UpdateProjectVerification,
|
|
5236
|
+
): string {
|
|
5237
|
+
return JSON.stringify(
|
|
5238
|
+
UpdateProjectVerification$outboundSchema.parse(updateProjectVerification),
|
|
5239
|
+
);
|
|
5240
|
+
}
|
|
5241
|
+
|
|
5242
|
+
export function updateProjectVerificationFromJSON(
|
|
5243
|
+
jsonString: string,
|
|
5244
|
+
): SafeParseResult<UpdateProjectVerification, SDKValidationError> {
|
|
5245
|
+
return safeParse(
|
|
5246
|
+
jsonString,
|
|
5247
|
+
(x) => UpdateProjectVerification$inboundSchema.parse(JSON.parse(x)),
|
|
5248
|
+
`Failed to parse 'UpdateProjectVerification' from JSON`,
|
|
5249
|
+
);
|
|
5250
|
+
}
|
|
5251
|
+
|
|
5252
|
+
/** @internal */
|
|
5253
|
+
export const UpdateProjectDomains$inboundSchema: z.ZodType<
|
|
5254
|
+
UpdateProjectDomains,
|
|
5255
|
+
z.ZodTypeDef,
|
|
5256
|
+
unknown
|
|
5257
|
+
> = z.object({
|
|
5258
|
+
name: z.string(),
|
|
5259
|
+
apexName: z.string(),
|
|
5260
|
+
projectId: z.string(),
|
|
5261
|
+
redirect: z.nullable(z.string()).optional(),
|
|
5262
|
+
redirectStatusCode: z.nullable(z.number()).optional(),
|
|
5263
|
+
gitBranch: z.nullable(z.string()).optional(),
|
|
5264
|
+
customEnvironmentId: z.nullable(z.string()).optional(),
|
|
5265
|
+
updatedAt: z.number().optional(),
|
|
5266
|
+
createdAt: z.number().optional(),
|
|
5267
|
+
verified: z.boolean(),
|
|
5268
|
+
verification: z.array(z.lazy(() => UpdateProjectVerification$inboundSchema))
|
|
5269
|
+
.optional(),
|
|
5270
|
+
});
|
|
5271
|
+
|
|
5272
|
+
/** @internal */
|
|
5273
|
+
export type UpdateProjectDomains$Outbound = {
|
|
5274
|
+
name: string;
|
|
5275
|
+
apexName: string;
|
|
5276
|
+
projectId: string;
|
|
5277
|
+
redirect?: string | null | undefined;
|
|
5278
|
+
redirectStatusCode?: number | null | undefined;
|
|
5279
|
+
gitBranch?: string | null | undefined;
|
|
5280
|
+
customEnvironmentId?: string | null | undefined;
|
|
5281
|
+
updatedAt?: number | undefined;
|
|
5282
|
+
createdAt?: number | undefined;
|
|
5283
|
+
verified: boolean;
|
|
5284
|
+
verification?: Array<UpdateProjectVerification$Outbound> | undefined;
|
|
5285
|
+
};
|
|
5286
|
+
|
|
5287
|
+
/** @internal */
|
|
5288
|
+
export const UpdateProjectDomains$outboundSchema: z.ZodType<
|
|
5289
|
+
UpdateProjectDomains$Outbound,
|
|
5290
|
+
z.ZodTypeDef,
|
|
5291
|
+
UpdateProjectDomains
|
|
5292
|
+
> = z.object({
|
|
5293
|
+
name: z.string(),
|
|
5294
|
+
apexName: z.string(),
|
|
5295
|
+
projectId: z.string(),
|
|
5296
|
+
redirect: z.nullable(z.string()).optional(),
|
|
5297
|
+
redirectStatusCode: z.nullable(z.number()).optional(),
|
|
5298
|
+
gitBranch: z.nullable(z.string()).optional(),
|
|
5299
|
+
customEnvironmentId: z.nullable(z.string()).optional(),
|
|
5300
|
+
updatedAt: z.number().optional(),
|
|
5301
|
+
createdAt: z.number().optional(),
|
|
5302
|
+
verified: z.boolean(),
|
|
5303
|
+
verification: z.array(z.lazy(() => UpdateProjectVerification$outboundSchema))
|
|
5304
|
+
.optional(),
|
|
5305
|
+
});
|
|
5306
|
+
|
|
5307
|
+
/**
|
|
5308
|
+
* @internal
|
|
5309
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5310
|
+
*/
|
|
5311
|
+
export namespace UpdateProjectDomains$ {
|
|
5312
|
+
/** @deprecated use `UpdateProjectDomains$inboundSchema` instead. */
|
|
5313
|
+
export const inboundSchema = UpdateProjectDomains$inboundSchema;
|
|
5314
|
+
/** @deprecated use `UpdateProjectDomains$outboundSchema` instead. */
|
|
5315
|
+
export const outboundSchema = UpdateProjectDomains$outboundSchema;
|
|
5316
|
+
/** @deprecated use `UpdateProjectDomains$Outbound` instead. */
|
|
5317
|
+
export type Outbound = UpdateProjectDomains$Outbound;
|
|
5318
|
+
}
|
|
5319
|
+
|
|
5320
|
+
export function updateProjectDomainsToJSON(
|
|
5321
|
+
updateProjectDomains: UpdateProjectDomains,
|
|
5322
|
+
): string {
|
|
5323
|
+
return JSON.stringify(
|
|
5324
|
+
UpdateProjectDomains$outboundSchema.parse(updateProjectDomains),
|
|
5325
|
+
);
|
|
5326
|
+
}
|
|
5327
|
+
|
|
5328
|
+
export function updateProjectDomainsFromJSON(
|
|
5329
|
+
jsonString: string,
|
|
5330
|
+
): SafeParseResult<UpdateProjectDomains, SDKValidationError> {
|
|
5331
|
+
return safeParse(
|
|
5332
|
+
jsonString,
|
|
5333
|
+
(x) => UpdateProjectDomains$inboundSchema.parse(JSON.parse(x)),
|
|
5334
|
+
`Failed to parse 'UpdateProjectDomains' from JSON`,
|
|
5335
|
+
);
|
|
5336
|
+
}
|
|
5337
|
+
|
|
5338
|
+
/** @internal */
|
|
5339
|
+
export const UpdateProjectCustomEnvironments$inboundSchema: z.ZodType<
|
|
5340
|
+
UpdateProjectCustomEnvironments,
|
|
5341
|
+
z.ZodTypeDef,
|
|
5342
|
+
unknown
|
|
5343
|
+
> = z.object({
|
|
5344
|
+
id: z.string(),
|
|
5345
|
+
slug: z.string(),
|
|
5346
|
+
type: UpdateProjectProjectsType$inboundSchema,
|
|
5347
|
+
description: z.string().optional(),
|
|
5348
|
+
branchMatcher: z.lazy(() => UpdateProjectBranchMatcher$inboundSchema)
|
|
5349
|
+
.optional(),
|
|
5350
|
+
domains: z.array(z.lazy(() => UpdateProjectDomains$inboundSchema)).optional(),
|
|
5351
|
+
currentDeploymentAliases: z.array(z.string()).optional(),
|
|
5352
|
+
createdAt: z.number(),
|
|
5353
|
+
updatedAt: z.number(),
|
|
5354
|
+
});
|
|
5355
|
+
|
|
5356
|
+
/** @internal */
|
|
5357
|
+
export type UpdateProjectCustomEnvironments$Outbound = {
|
|
5358
|
+
id: string;
|
|
5359
|
+
slug: string;
|
|
5360
|
+
type: string;
|
|
5361
|
+
description?: string | undefined;
|
|
5362
|
+
branchMatcher?: UpdateProjectBranchMatcher$Outbound | undefined;
|
|
5363
|
+
domains?: Array<UpdateProjectDomains$Outbound> | undefined;
|
|
5364
|
+
currentDeploymentAliases?: Array<string> | undefined;
|
|
5365
|
+
createdAt: number;
|
|
5366
|
+
updatedAt: number;
|
|
5367
|
+
};
|
|
5368
|
+
|
|
5369
|
+
/** @internal */
|
|
5370
|
+
export const UpdateProjectCustomEnvironments$outboundSchema: z.ZodType<
|
|
5371
|
+
UpdateProjectCustomEnvironments$Outbound,
|
|
5372
|
+
z.ZodTypeDef,
|
|
5373
|
+
UpdateProjectCustomEnvironments
|
|
5374
|
+
> = z.object({
|
|
5375
|
+
id: z.string(),
|
|
5376
|
+
slug: z.string(),
|
|
5377
|
+
type: UpdateProjectProjectsType$outboundSchema,
|
|
5378
|
+
description: z.string().optional(),
|
|
5379
|
+
branchMatcher: z.lazy(() => UpdateProjectBranchMatcher$outboundSchema)
|
|
5380
|
+
.optional(),
|
|
5381
|
+
domains: z.array(z.lazy(() => UpdateProjectDomains$outboundSchema))
|
|
5382
|
+
.optional(),
|
|
5383
|
+
currentDeploymentAliases: z.array(z.string()).optional(),
|
|
5384
|
+
createdAt: z.number(),
|
|
5385
|
+
updatedAt: z.number(),
|
|
5386
|
+
});
|
|
5387
|
+
|
|
5388
|
+
/**
|
|
5389
|
+
* @internal
|
|
5390
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5391
|
+
*/
|
|
5392
|
+
export namespace UpdateProjectCustomEnvironments$ {
|
|
5393
|
+
/** @deprecated use `UpdateProjectCustomEnvironments$inboundSchema` instead. */
|
|
5394
|
+
export const inboundSchema = UpdateProjectCustomEnvironments$inboundSchema;
|
|
5395
|
+
/** @deprecated use `UpdateProjectCustomEnvironments$outboundSchema` instead. */
|
|
5396
|
+
export const outboundSchema = UpdateProjectCustomEnvironments$outboundSchema;
|
|
5397
|
+
/** @deprecated use `UpdateProjectCustomEnvironments$Outbound` instead. */
|
|
5398
|
+
export type Outbound = UpdateProjectCustomEnvironments$Outbound;
|
|
5399
|
+
}
|
|
5400
|
+
|
|
5401
|
+
export function updateProjectCustomEnvironmentsToJSON(
|
|
5402
|
+
updateProjectCustomEnvironments: UpdateProjectCustomEnvironments,
|
|
5403
|
+
): string {
|
|
5404
|
+
return JSON.stringify(
|
|
5405
|
+
UpdateProjectCustomEnvironments$outboundSchema.parse(
|
|
5406
|
+
updateProjectCustomEnvironments,
|
|
5407
|
+
),
|
|
5408
|
+
);
|
|
5409
|
+
}
|
|
5410
|
+
|
|
5411
|
+
export function updateProjectCustomEnvironmentsFromJSON(
|
|
5412
|
+
jsonString: string,
|
|
5413
|
+
): SafeParseResult<UpdateProjectCustomEnvironments, SDKValidationError> {
|
|
5414
|
+
return safeParse(
|
|
5415
|
+
jsonString,
|
|
5416
|
+
(x) => UpdateProjectCustomEnvironments$inboundSchema.parse(JSON.parse(x)),
|
|
5417
|
+
`Failed to parse 'UpdateProjectCustomEnvironments' from JSON`,
|
|
5418
|
+
);
|
|
5419
|
+
}
|
|
5420
|
+
|
|
5421
|
+
/** @internal */
|
|
5422
|
+
export const UpdateProjectProjectsFramework$inboundSchema: z.ZodNativeEnum<
|
|
5423
|
+
typeof UpdateProjectProjectsFramework
|
|
5424
|
+
> = z.nativeEnum(UpdateProjectProjectsFramework);
|
|
5425
|
+
|
|
5426
|
+
/** @internal */
|
|
5427
|
+
export const UpdateProjectProjectsFramework$outboundSchema: z.ZodNativeEnum<
|
|
5428
|
+
typeof UpdateProjectProjectsFramework
|
|
5429
|
+
> = UpdateProjectProjectsFramework$inboundSchema;
|
|
5430
|
+
|
|
5431
|
+
/**
|
|
5432
|
+
* @internal
|
|
5433
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5434
|
+
*/
|
|
5435
|
+
export namespace UpdateProjectProjectsFramework$ {
|
|
5436
|
+
/** @deprecated use `UpdateProjectProjectsFramework$inboundSchema` instead. */
|
|
5437
|
+
export const inboundSchema = UpdateProjectProjectsFramework$inboundSchema;
|
|
5438
|
+
/** @deprecated use `UpdateProjectProjectsFramework$outboundSchema` instead. */
|
|
5439
|
+
export const outboundSchema = UpdateProjectProjectsFramework$outboundSchema;
|
|
5440
|
+
}
|
|
5441
|
+
|
|
5442
|
+
/** @internal */
|
|
5443
|
+
export const UpdateProjectIpBuckets$inboundSchema: z.ZodType<
|
|
5444
|
+
UpdateProjectIpBuckets,
|
|
5445
|
+
z.ZodTypeDef,
|
|
5446
|
+
unknown
|
|
5447
|
+
> = z.object({
|
|
5448
|
+
bucket: z.string(),
|
|
5449
|
+
supportUntil: z.number().optional(),
|
|
5450
|
+
});
|
|
5451
|
+
|
|
5452
|
+
/** @internal */
|
|
5453
|
+
export type UpdateProjectIpBuckets$Outbound = {
|
|
5454
|
+
bucket: string;
|
|
5455
|
+
supportUntil?: number | undefined;
|
|
5456
|
+
};
|
|
5457
|
+
|
|
5458
|
+
/** @internal */
|
|
5459
|
+
export const UpdateProjectIpBuckets$outboundSchema: z.ZodType<
|
|
5460
|
+
UpdateProjectIpBuckets$Outbound,
|
|
5461
|
+
z.ZodTypeDef,
|
|
5462
|
+
UpdateProjectIpBuckets
|
|
5463
|
+
> = z.object({
|
|
5464
|
+
bucket: z.string(),
|
|
5465
|
+
supportUntil: z.number().optional(),
|
|
5466
|
+
});
|
|
5467
|
+
|
|
5468
|
+
/**
|
|
5469
|
+
* @internal
|
|
5470
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5471
|
+
*/
|
|
5472
|
+
export namespace UpdateProjectIpBuckets$ {
|
|
5473
|
+
/** @deprecated use `UpdateProjectIpBuckets$inboundSchema` instead. */
|
|
5474
|
+
export const inboundSchema = UpdateProjectIpBuckets$inboundSchema;
|
|
5058
5475
|
/** @deprecated use `UpdateProjectIpBuckets$outboundSchema` instead. */
|
|
5059
5476
|
export const outboundSchema = UpdateProjectIpBuckets$outboundSchema;
|
|
5060
5477
|
/** @deprecated use `UpdateProjectIpBuckets$Outbound` instead. */
|
|
@@ -5185,58 +5602,58 @@ export function updateProjectAliasErrorFromJSON(
|
|
|
5185
5602
|
}
|
|
5186
5603
|
|
|
5187
5604
|
/** @internal */
|
|
5188
|
-
export const
|
|
5605
|
+
export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema:
|
|
5189
5606
|
z.ZodNativeEnum<
|
|
5190
|
-
typeof
|
|
5607
|
+
typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType
|
|
5191
5608
|
> = z.nativeEnum(
|
|
5192
|
-
|
|
5609
|
+
UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType,
|
|
5193
5610
|
);
|
|
5194
5611
|
|
|
5195
5612
|
/** @internal */
|
|
5196
|
-
export const
|
|
5613
|
+
export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$outboundSchema:
|
|
5197
5614
|
z.ZodNativeEnum<
|
|
5198
|
-
typeof
|
|
5615
|
+
typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType
|
|
5199
5616
|
> =
|
|
5200
|
-
|
|
5617
|
+
UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema;
|
|
5201
5618
|
|
|
5202
5619
|
/**
|
|
5203
5620
|
* @internal
|
|
5204
5621
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5205
5622
|
*/
|
|
5206
|
-
export namespace
|
|
5207
|
-
/** @deprecated use `
|
|
5623
|
+
export namespace UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$ {
|
|
5624
|
+
/** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema` instead. */
|
|
5208
5625
|
export const inboundSchema =
|
|
5209
|
-
|
|
5210
|
-
/** @deprecated use `
|
|
5626
|
+
UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema;
|
|
5627
|
+
/** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$outboundSchema` instead. */
|
|
5211
5628
|
export const outboundSchema =
|
|
5212
|
-
|
|
5629
|
+
UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$outboundSchema;
|
|
5213
5630
|
}
|
|
5214
5631
|
|
|
5215
5632
|
/** @internal */
|
|
5216
|
-
export const
|
|
5217
|
-
|
|
5633
|
+
export const UpdateProjectProjectsBranchMatcher$inboundSchema: z.ZodType<
|
|
5634
|
+
UpdateProjectProjectsBranchMatcher,
|
|
5218
5635
|
z.ZodTypeDef,
|
|
5219
5636
|
unknown
|
|
5220
5637
|
> = z.object({
|
|
5221
5638
|
type:
|
|
5222
|
-
|
|
5639
|
+
UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema,
|
|
5223
5640
|
pattern: z.string(),
|
|
5224
5641
|
});
|
|
5225
5642
|
|
|
5226
5643
|
/** @internal */
|
|
5227
|
-
export type
|
|
5644
|
+
export type UpdateProjectProjectsBranchMatcher$Outbound = {
|
|
5228
5645
|
type: string;
|
|
5229
5646
|
pattern: string;
|
|
5230
5647
|
};
|
|
5231
5648
|
|
|
5232
5649
|
/** @internal */
|
|
5233
|
-
export const
|
|
5234
|
-
|
|
5650
|
+
export const UpdateProjectProjectsBranchMatcher$outboundSchema: z.ZodType<
|
|
5651
|
+
UpdateProjectProjectsBranchMatcher$Outbound,
|
|
5235
5652
|
z.ZodTypeDef,
|
|
5236
|
-
|
|
5653
|
+
UpdateProjectProjectsBranchMatcher
|
|
5237
5654
|
> = z.object({
|
|
5238
5655
|
type:
|
|
5239
|
-
|
|
5656
|
+
UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$outboundSchema,
|
|
5240
5657
|
pattern: z.string(),
|
|
5241
5658
|
});
|
|
5242
5659
|
|
|
@@ -5244,30 +5661,34 @@ export const UpdateProjectBranchMatcher$outboundSchema: z.ZodType<
|
|
|
5244
5661
|
* @internal
|
|
5245
5662
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5246
5663
|
*/
|
|
5247
|
-
export namespace
|
|
5248
|
-
/** @deprecated use `
|
|
5249
|
-
export const inboundSchema =
|
|
5250
|
-
/** @deprecated use `
|
|
5251
|
-
export const outboundSchema =
|
|
5252
|
-
|
|
5253
|
-
|
|
5664
|
+
export namespace UpdateProjectProjectsBranchMatcher$ {
|
|
5665
|
+
/** @deprecated use `UpdateProjectProjectsBranchMatcher$inboundSchema` instead. */
|
|
5666
|
+
export const inboundSchema = UpdateProjectProjectsBranchMatcher$inboundSchema;
|
|
5667
|
+
/** @deprecated use `UpdateProjectProjectsBranchMatcher$outboundSchema` instead. */
|
|
5668
|
+
export const outboundSchema =
|
|
5669
|
+
UpdateProjectProjectsBranchMatcher$outboundSchema;
|
|
5670
|
+
/** @deprecated use `UpdateProjectProjectsBranchMatcher$Outbound` instead. */
|
|
5671
|
+
export type Outbound = UpdateProjectProjectsBranchMatcher$Outbound;
|
|
5254
5672
|
}
|
|
5255
5673
|
|
|
5256
|
-
export function
|
|
5257
|
-
|
|
5674
|
+
export function updateProjectProjectsBranchMatcherToJSON(
|
|
5675
|
+
updateProjectProjectsBranchMatcher: UpdateProjectProjectsBranchMatcher,
|
|
5258
5676
|
): string {
|
|
5259
5677
|
return JSON.stringify(
|
|
5260
|
-
|
|
5678
|
+
UpdateProjectProjectsBranchMatcher$outboundSchema.parse(
|
|
5679
|
+
updateProjectProjectsBranchMatcher,
|
|
5680
|
+
),
|
|
5261
5681
|
);
|
|
5262
5682
|
}
|
|
5263
5683
|
|
|
5264
|
-
export function
|
|
5684
|
+
export function updateProjectProjectsBranchMatcherFromJSON(
|
|
5265
5685
|
jsonString: string,
|
|
5266
|
-
): SafeParseResult<
|
|
5686
|
+
): SafeParseResult<UpdateProjectProjectsBranchMatcher, SDKValidationError> {
|
|
5267
5687
|
return safeParse(
|
|
5268
5688
|
jsonString,
|
|
5269
|
-
(x) =>
|
|
5270
|
-
|
|
5689
|
+
(x) =>
|
|
5690
|
+
UpdateProjectProjectsBranchMatcher$inboundSchema.parse(JSON.parse(x)),
|
|
5691
|
+
`Failed to parse 'UpdateProjectProjectsBranchMatcher' from JSON`,
|
|
5271
5692
|
);
|
|
5272
5693
|
}
|
|
5273
5694
|
|
|
@@ -5593,24 +6014,25 @@ export namespace UpdateProjectReadySubstate$ {
|
|
|
5593
6014
|
}
|
|
5594
6015
|
|
|
5595
6016
|
/** @internal */
|
|
5596
|
-
export const
|
|
5597
|
-
typeof
|
|
5598
|
-
> = z.nativeEnum(
|
|
6017
|
+
export const UpdateProjectProjectsResponseType$inboundSchema: z.ZodNativeEnum<
|
|
6018
|
+
typeof UpdateProjectProjectsResponseType
|
|
6019
|
+
> = z.nativeEnum(UpdateProjectProjectsResponseType);
|
|
5599
6020
|
|
|
5600
6021
|
/** @internal */
|
|
5601
|
-
export const
|
|
5602
|
-
typeof
|
|
5603
|
-
> =
|
|
6022
|
+
export const UpdateProjectProjectsResponseType$outboundSchema: z.ZodNativeEnum<
|
|
6023
|
+
typeof UpdateProjectProjectsResponseType
|
|
6024
|
+
> = UpdateProjectProjectsResponseType$inboundSchema;
|
|
5604
6025
|
|
|
5605
6026
|
/**
|
|
5606
6027
|
* @internal
|
|
5607
6028
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5608
6029
|
*/
|
|
5609
|
-
export namespace
|
|
5610
|
-
/** @deprecated use `
|
|
5611
|
-
export const inboundSchema =
|
|
5612
|
-
/** @deprecated use `
|
|
5613
|
-
export const outboundSchema =
|
|
6030
|
+
export namespace UpdateProjectProjectsResponseType$ {
|
|
6031
|
+
/** @deprecated use `UpdateProjectProjectsResponseType$inboundSchema` instead. */
|
|
6032
|
+
export const inboundSchema = UpdateProjectProjectsResponseType$inboundSchema;
|
|
6033
|
+
/** @deprecated use `UpdateProjectProjectsResponseType$outboundSchema` instead. */
|
|
6034
|
+
export const outboundSchema =
|
|
6035
|
+
UpdateProjectProjectsResponseType$outboundSchema;
|
|
5614
6036
|
}
|
|
5615
6037
|
|
|
5616
6038
|
/** @internal */
|
|
@@ -5626,7 +6048,7 @@ export const UpdateProjectLatestDeployments$inboundSchema: z.ZodType<
|
|
|
5626
6048
|
.optional(),
|
|
5627
6049
|
aliasFinal: z.nullable(z.string()).optional(),
|
|
5628
6050
|
automaticAliases: z.array(z.string()).optional(),
|
|
5629
|
-
branchMatcher: z.lazy(() =>
|
|
6051
|
+
branchMatcher: z.lazy(() => UpdateProjectProjectsBranchMatcher$inboundSchema)
|
|
5630
6052
|
.optional(),
|
|
5631
6053
|
buildingAt: z.number().optional(),
|
|
5632
6054
|
builds: z.array(z.lazy(() => UpdateProjectBuilds$inboundSchema)).optional(),
|
|
@@ -5654,7 +6076,7 @@ export const UpdateProjectLatestDeployments$inboundSchema: z.ZodType<
|
|
|
5654
6076
|
requestedAt: z.number().optional(),
|
|
5655
6077
|
target: z.nullable(z.string()).optional(),
|
|
5656
6078
|
teamId: z.nullable(z.string()).optional(),
|
|
5657
|
-
type:
|
|
6079
|
+
type: UpdateProjectProjectsResponseType$inboundSchema,
|
|
5658
6080
|
url: z.string(),
|
|
5659
6081
|
userId: z.string(),
|
|
5660
6082
|
withCache: z.boolean().optional(),
|
|
@@ -5668,7 +6090,7 @@ export type UpdateProjectLatestDeployments$Outbound = {
|
|
|
5668
6090
|
aliasError?: UpdateProjectAliasError$Outbound | null | undefined;
|
|
5669
6091
|
aliasFinal?: string | null | undefined;
|
|
5670
6092
|
automaticAliases?: Array<string> | undefined;
|
|
5671
|
-
branchMatcher?:
|
|
6093
|
+
branchMatcher?: UpdateProjectProjectsBranchMatcher$Outbound | undefined;
|
|
5672
6094
|
buildingAt?: number | undefined;
|
|
5673
6095
|
builds?: Array<UpdateProjectBuilds$Outbound> | undefined;
|
|
5674
6096
|
checksConclusion?: string | undefined;
|
|
@@ -5713,7 +6135,7 @@ export const UpdateProjectLatestDeployments$outboundSchema: z.ZodType<
|
|
|
5713
6135
|
.optional(),
|
|
5714
6136
|
aliasFinal: z.nullable(z.string()).optional(),
|
|
5715
6137
|
automaticAliases: z.array(z.string()).optional(),
|
|
5716
|
-
branchMatcher: z.lazy(() =>
|
|
6138
|
+
branchMatcher: z.lazy(() => UpdateProjectProjectsBranchMatcher$outboundSchema)
|
|
5717
6139
|
.optional(),
|
|
5718
6140
|
buildingAt: z.number().optional(),
|
|
5719
6141
|
builds: z.array(z.lazy(() => UpdateProjectBuilds$outboundSchema)).optional(),
|
|
@@ -5741,7 +6163,7 @@ export const UpdateProjectLatestDeployments$outboundSchema: z.ZodType<
|
|
|
5741
6163
|
requestedAt: z.number().optional(),
|
|
5742
6164
|
target: z.nullable(z.string()).optional(),
|
|
5743
6165
|
teamId: z.nullable(z.string()).optional(),
|
|
5744
|
-
type:
|
|
6166
|
+
type: UpdateProjectProjectsResponseType$outboundSchema,
|
|
5745
6167
|
url: z.string(),
|
|
5746
6168
|
userId: z.string(),
|
|
5747
6169
|
withCache: z.boolean().optional(),
|
|
@@ -7547,86 +7969,99 @@ export function updateProjectProjectsAliasErrorFromJSON(
|
|
|
7547
7969
|
}
|
|
7548
7970
|
|
|
7549
7971
|
/** @internal */
|
|
7550
|
-
export const
|
|
7551
|
-
z.ZodNativeEnum<
|
|
7552
|
-
|
|
7972
|
+
export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema:
|
|
7973
|
+
z.ZodNativeEnum<
|
|
7974
|
+
typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType
|
|
7975
|
+
> = z.nativeEnum(
|
|
7976
|
+
UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType,
|
|
7977
|
+
);
|
|
7553
7978
|
|
|
7554
7979
|
/** @internal */
|
|
7555
|
-
export const
|
|
7556
|
-
z.ZodNativeEnum<
|
|
7557
|
-
|
|
7980
|
+
export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema:
|
|
7981
|
+
z.ZodNativeEnum<
|
|
7982
|
+
typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType
|
|
7983
|
+
> =
|
|
7984
|
+
UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema;
|
|
7558
7985
|
|
|
7559
7986
|
/**
|
|
7560
7987
|
* @internal
|
|
7561
7988
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
7562
7989
|
*/
|
|
7563
|
-
export namespace
|
|
7564
|
-
/** @deprecated use `
|
|
7990
|
+
export namespace UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$ {
|
|
7991
|
+
/** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema` instead. */
|
|
7565
7992
|
export const inboundSchema =
|
|
7566
|
-
|
|
7567
|
-
/** @deprecated use `
|
|
7993
|
+
UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema;
|
|
7994
|
+
/** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema` instead. */
|
|
7568
7995
|
export const outboundSchema =
|
|
7569
|
-
|
|
7996
|
+
UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema;
|
|
7570
7997
|
}
|
|
7571
7998
|
|
|
7572
7999
|
/** @internal */
|
|
7573
|
-
export const
|
|
7574
|
-
|
|
7575
|
-
|
|
7576
|
-
|
|
7577
|
-
|
|
7578
|
-
|
|
7579
|
-
|
|
7580
|
-
});
|
|
8000
|
+
export const UpdateProjectProjectsResponseBranchMatcher$inboundSchema:
|
|
8001
|
+
z.ZodType<UpdateProjectProjectsResponseBranchMatcher, z.ZodTypeDef, unknown> =
|
|
8002
|
+
z.object({
|
|
8003
|
+
type:
|
|
8004
|
+
UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema,
|
|
8005
|
+
pattern: z.string(),
|
|
8006
|
+
});
|
|
7581
8007
|
|
|
7582
8008
|
/** @internal */
|
|
7583
|
-
export type
|
|
8009
|
+
export type UpdateProjectProjectsResponseBranchMatcher$Outbound = {
|
|
7584
8010
|
type: string;
|
|
7585
8011
|
pattern: string;
|
|
7586
8012
|
};
|
|
7587
8013
|
|
|
7588
8014
|
/** @internal */
|
|
7589
|
-
export const
|
|
7590
|
-
|
|
7591
|
-
|
|
7592
|
-
|
|
7593
|
-
|
|
7594
|
-
|
|
7595
|
-
|
|
7596
|
-
|
|
8015
|
+
export const UpdateProjectProjectsResponseBranchMatcher$outboundSchema:
|
|
8016
|
+
z.ZodType<
|
|
8017
|
+
UpdateProjectProjectsResponseBranchMatcher$Outbound,
|
|
8018
|
+
z.ZodTypeDef,
|
|
8019
|
+
UpdateProjectProjectsResponseBranchMatcher
|
|
8020
|
+
> = z.object({
|
|
8021
|
+
type:
|
|
8022
|
+
UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema,
|
|
8023
|
+
pattern: z.string(),
|
|
8024
|
+
});
|
|
7597
8025
|
|
|
7598
8026
|
/**
|
|
7599
8027
|
* @internal
|
|
7600
8028
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
7601
8029
|
*/
|
|
7602
|
-
export namespace
|
|
7603
|
-
/** @deprecated use `
|
|
7604
|
-
export const inboundSchema =
|
|
7605
|
-
|
|
8030
|
+
export namespace UpdateProjectProjectsResponseBranchMatcher$ {
|
|
8031
|
+
/** @deprecated use `UpdateProjectProjectsResponseBranchMatcher$inboundSchema` instead. */
|
|
8032
|
+
export const inboundSchema =
|
|
8033
|
+
UpdateProjectProjectsResponseBranchMatcher$inboundSchema;
|
|
8034
|
+
/** @deprecated use `UpdateProjectProjectsResponseBranchMatcher$outboundSchema` instead. */
|
|
7606
8035
|
export const outboundSchema =
|
|
7607
|
-
|
|
7608
|
-
/** @deprecated use `
|
|
7609
|
-
export type Outbound =
|
|
8036
|
+
UpdateProjectProjectsResponseBranchMatcher$outboundSchema;
|
|
8037
|
+
/** @deprecated use `UpdateProjectProjectsResponseBranchMatcher$Outbound` instead. */
|
|
8038
|
+
export type Outbound = UpdateProjectProjectsResponseBranchMatcher$Outbound;
|
|
7610
8039
|
}
|
|
7611
8040
|
|
|
7612
|
-
export function
|
|
7613
|
-
|
|
8041
|
+
export function updateProjectProjectsResponseBranchMatcherToJSON(
|
|
8042
|
+
updateProjectProjectsResponseBranchMatcher:
|
|
8043
|
+
UpdateProjectProjectsResponseBranchMatcher,
|
|
7614
8044
|
): string {
|
|
7615
8045
|
return JSON.stringify(
|
|
7616
|
-
|
|
7617
|
-
|
|
8046
|
+
UpdateProjectProjectsResponseBranchMatcher$outboundSchema.parse(
|
|
8047
|
+
updateProjectProjectsResponseBranchMatcher,
|
|
7618
8048
|
),
|
|
7619
8049
|
);
|
|
7620
8050
|
}
|
|
7621
8051
|
|
|
7622
|
-
export function
|
|
8052
|
+
export function updateProjectProjectsResponseBranchMatcherFromJSON(
|
|
7623
8053
|
jsonString: string,
|
|
7624
|
-
): SafeParseResult<
|
|
8054
|
+
): SafeParseResult<
|
|
8055
|
+
UpdateProjectProjectsResponseBranchMatcher,
|
|
8056
|
+
SDKValidationError
|
|
8057
|
+
> {
|
|
7625
8058
|
return safeParse(
|
|
7626
8059
|
jsonString,
|
|
7627
8060
|
(x) =>
|
|
7628
|
-
|
|
7629
|
-
|
|
8061
|
+
UpdateProjectProjectsResponseBranchMatcher$inboundSchema.parse(
|
|
8062
|
+
JSON.parse(x),
|
|
8063
|
+
),
|
|
8064
|
+
`Failed to parse 'UpdateProjectProjectsResponseBranchMatcher' from JSON`,
|
|
7630
8065
|
);
|
|
7631
8066
|
}
|
|
7632
8067
|
|
|
@@ -7963,25 +8398,27 @@ export namespace UpdateProjectProjectsReadySubstate$ {
|
|
|
7963
8398
|
}
|
|
7964
8399
|
|
|
7965
8400
|
/** @internal */
|
|
7966
|
-
export const
|
|
7967
|
-
typeof
|
|
7968
|
-
|
|
8401
|
+
export const UpdateProjectProjectsResponse200Type$inboundSchema:
|
|
8402
|
+
z.ZodNativeEnum<typeof UpdateProjectProjectsResponse200Type> = z.nativeEnum(
|
|
8403
|
+
UpdateProjectProjectsResponse200Type,
|
|
8404
|
+
);
|
|
7969
8405
|
|
|
7970
8406
|
/** @internal */
|
|
7971
|
-
export const
|
|
7972
|
-
typeof
|
|
7973
|
-
|
|
8407
|
+
export const UpdateProjectProjectsResponse200Type$outboundSchema:
|
|
8408
|
+
z.ZodNativeEnum<typeof UpdateProjectProjectsResponse200Type> =
|
|
8409
|
+
UpdateProjectProjectsResponse200Type$inboundSchema;
|
|
7974
8410
|
|
|
7975
8411
|
/**
|
|
7976
8412
|
* @internal
|
|
7977
8413
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
7978
8414
|
*/
|
|
7979
|
-
export namespace
|
|
7980
|
-
/** @deprecated use `
|
|
7981
|
-
export const inboundSchema =
|
|
7982
|
-
|
|
8415
|
+
export namespace UpdateProjectProjectsResponse200Type$ {
|
|
8416
|
+
/** @deprecated use `UpdateProjectProjectsResponse200Type$inboundSchema` instead. */
|
|
8417
|
+
export const inboundSchema =
|
|
8418
|
+
UpdateProjectProjectsResponse200Type$inboundSchema;
|
|
8419
|
+
/** @deprecated use `UpdateProjectProjectsResponse200Type$outboundSchema` instead. */
|
|
7983
8420
|
export const outboundSchema =
|
|
7984
|
-
|
|
8421
|
+
UpdateProjectProjectsResponse200Type$outboundSchema;
|
|
7985
8422
|
}
|
|
7986
8423
|
|
|
7987
8424
|
/** @internal */
|
|
@@ -7998,8 +8435,9 @@ export const UpdateProjectTargets$inboundSchema: z.ZodType<
|
|
|
7998
8435
|
).optional(),
|
|
7999
8436
|
aliasFinal: z.nullable(z.string()).optional(),
|
|
8000
8437
|
automaticAliases: z.array(z.string()).optional(),
|
|
8001
|
-
branchMatcher: z.lazy(() =>
|
|
8002
|
-
|
|
8438
|
+
branchMatcher: z.lazy(() =>
|
|
8439
|
+
UpdateProjectProjectsResponseBranchMatcher$inboundSchema
|
|
8440
|
+
).optional(),
|
|
8003
8441
|
buildingAt: z.number().optional(),
|
|
8004
8442
|
builds: z.array(z.lazy(() => UpdateProjectProjectsBuilds$inboundSchema))
|
|
8005
8443
|
.optional(),
|
|
@@ -8029,7 +8467,7 @@ export const UpdateProjectTargets$inboundSchema: z.ZodType<
|
|
|
8029
8467
|
requestedAt: z.number().optional(),
|
|
8030
8468
|
target: z.nullable(z.string()).optional(),
|
|
8031
8469
|
teamId: z.nullable(z.string()).optional(),
|
|
8032
|
-
type:
|
|
8470
|
+
type: UpdateProjectProjectsResponse200Type$inboundSchema,
|
|
8033
8471
|
url: z.string(),
|
|
8034
8472
|
userId: z.string(),
|
|
8035
8473
|
withCache: z.boolean().optional(),
|
|
@@ -8043,7 +8481,9 @@ export type UpdateProjectTargets$Outbound = {
|
|
|
8043
8481
|
aliasError?: UpdateProjectProjectsAliasError$Outbound | null | undefined;
|
|
8044
8482
|
aliasFinal?: string | null | undefined;
|
|
8045
8483
|
automaticAliases?: Array<string> | undefined;
|
|
8046
|
-
branchMatcher?:
|
|
8484
|
+
branchMatcher?:
|
|
8485
|
+
| UpdateProjectProjectsResponseBranchMatcher$Outbound
|
|
8486
|
+
| undefined;
|
|
8047
8487
|
buildingAt?: number | undefined;
|
|
8048
8488
|
builds?: Array<UpdateProjectProjectsBuilds$Outbound> | undefined;
|
|
8049
8489
|
checksConclusion?: string | undefined;
|
|
@@ -8089,8 +8529,9 @@ export const UpdateProjectTargets$outboundSchema: z.ZodType<
|
|
|
8089
8529
|
).optional(),
|
|
8090
8530
|
aliasFinal: z.nullable(z.string()).optional(),
|
|
8091
8531
|
automaticAliases: z.array(z.string()).optional(),
|
|
8092
|
-
branchMatcher: z.lazy(() =>
|
|
8093
|
-
|
|
8532
|
+
branchMatcher: z.lazy(() =>
|
|
8533
|
+
UpdateProjectProjectsResponseBranchMatcher$outboundSchema
|
|
8534
|
+
).optional(),
|
|
8094
8535
|
buildingAt: z.number().optional(),
|
|
8095
8536
|
builds: z.array(z.lazy(() => UpdateProjectProjectsBuilds$outboundSchema))
|
|
8096
8537
|
.optional(),
|
|
@@ -8122,7 +8563,7 @@ export const UpdateProjectTargets$outboundSchema: z.ZodType<
|
|
|
8122
8563
|
requestedAt: z.number().optional(),
|
|
8123
8564
|
target: z.nullable(z.string()).optional(),
|
|
8124
8565
|
teamId: z.nullable(z.string()).optional(),
|
|
8125
|
-
type:
|
|
8566
|
+
type: UpdateProjectProjectsResponse200Type$outboundSchema,
|
|
8126
8567
|
url: z.string(),
|
|
8127
8568
|
userId: z.string(),
|
|
8128
8569
|
withCache: z.boolean().optional(),
|
|
@@ -8891,27 +9332,26 @@ export namespace UpdateProjectJobStatus$ {
|
|
|
8891
9332
|
}
|
|
8892
9333
|
|
|
8893
9334
|
/** @internal */
|
|
8894
|
-
export const
|
|
8895
|
-
z.ZodNativeEnum<typeof
|
|
8896
|
-
|
|
8897
|
-
);
|
|
9335
|
+
export const UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema:
|
|
9336
|
+
z.ZodNativeEnum<typeof UpdateProjectProjectsResponse200ApplicationJSONType> =
|
|
9337
|
+
z.nativeEnum(UpdateProjectProjectsResponse200ApplicationJSONType);
|
|
8898
9338
|
|
|
8899
9339
|
/** @internal */
|
|
8900
|
-
export const
|
|
8901
|
-
z.ZodNativeEnum<typeof
|
|
8902
|
-
|
|
9340
|
+
export const UpdateProjectProjectsResponse200ApplicationJSONType$outboundSchema:
|
|
9341
|
+
z.ZodNativeEnum<typeof UpdateProjectProjectsResponse200ApplicationJSONType> =
|
|
9342
|
+
UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema;
|
|
8903
9343
|
|
|
8904
9344
|
/**
|
|
8905
9345
|
* @internal
|
|
8906
9346
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
8907
9347
|
*/
|
|
8908
|
-
export namespace
|
|
8909
|
-
/** @deprecated use `
|
|
9348
|
+
export namespace UpdateProjectProjectsResponse200ApplicationJSONType$ {
|
|
9349
|
+
/** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema` instead. */
|
|
8910
9350
|
export const inboundSchema =
|
|
8911
|
-
|
|
8912
|
-
/** @deprecated use `
|
|
9351
|
+
UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema;
|
|
9352
|
+
/** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONType$outboundSchema` instead. */
|
|
8913
9353
|
export const outboundSchema =
|
|
8914
|
-
|
|
9354
|
+
UpdateProjectProjectsResponse200ApplicationJSONType$outboundSchema;
|
|
8915
9355
|
}
|
|
8916
9356
|
|
|
8917
9357
|
/** @internal */
|
|
@@ -8922,15 +9362,17 @@ export const UpdateProjectLastAliasRequest$inboundSchema: z.ZodType<
|
|
|
8922
9362
|
> = z.object({
|
|
8923
9363
|
fromDeploymentId: z.string(),
|
|
8924
9364
|
toDeploymentId: z.string(),
|
|
9365
|
+
fromRollingReleaseId: z.string().optional(),
|
|
8925
9366
|
jobStatus: UpdateProjectJobStatus$inboundSchema,
|
|
8926
9367
|
requestedAt: z.number(),
|
|
8927
|
-
type:
|
|
9368
|
+
type: UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema,
|
|
8928
9369
|
});
|
|
8929
9370
|
|
|
8930
9371
|
/** @internal */
|
|
8931
9372
|
export type UpdateProjectLastAliasRequest$Outbound = {
|
|
8932
9373
|
fromDeploymentId: string;
|
|
8933
9374
|
toDeploymentId: string;
|
|
9375
|
+
fromRollingReleaseId?: string | undefined;
|
|
8934
9376
|
jobStatus: string;
|
|
8935
9377
|
requestedAt: number;
|
|
8936
9378
|
type: string;
|
|
@@ -8944,9 +9386,10 @@ export const UpdateProjectLastAliasRequest$outboundSchema: z.ZodType<
|
|
|
8944
9386
|
> = z.object({
|
|
8945
9387
|
fromDeploymentId: z.string(),
|
|
8946
9388
|
toDeploymentId: z.string(),
|
|
9389
|
+
fromRollingReleaseId: z.string().optional(),
|
|
8947
9390
|
jobStatus: UpdateProjectJobStatus$outboundSchema,
|
|
8948
9391
|
requestedAt: z.number(),
|
|
8949
|
-
type:
|
|
9392
|
+
type: UpdateProjectProjectsResponse200ApplicationJSONType$outboundSchema,
|
|
8950
9393
|
});
|
|
8951
9394
|
|
|
8952
9395
|
/**
|