@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
|
@@ -525,15 +525,15 @@ export type UpdateProjectContentHint1 = {
|
|
|
525
525
|
storeId: string;
|
|
526
526
|
};
|
|
527
527
|
export type UpdateProjectContentHint = UpdateProjectContentHint1 | UpdateProjectContentHint2 | UpdateProjectContentHint3 | UpdateProjectContentHint4 | UpdateProjectContentHint5 | UpdateProjectContentHint6 | UpdateProjectContentHint7 | UpdateProjectContentHint8 | UpdateProjectContentHint9 | UpdateProjectContentHint10 | UpdateProjectContentHint11 | UpdateProjectContentHint12 | UpdateProjectContentHint13 | UpdateProjectContentHint15 | UpdateProjectContentHint14;
|
|
528
|
-
export declare const
|
|
528
|
+
export declare const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType: {
|
|
529
529
|
readonly FlagsSecret: "flags-secret";
|
|
530
530
|
};
|
|
531
|
-
export type
|
|
531
|
+
export type UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType = ClosedEnum<typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType>;
|
|
532
532
|
/**
|
|
533
533
|
* Similar to `contentHints`, but should not be exposed to the user.
|
|
534
534
|
*/
|
|
535
535
|
export type UpdateProjectInternalContentHint = {
|
|
536
|
-
type:
|
|
536
|
+
type: UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType;
|
|
537
537
|
/**
|
|
538
538
|
* Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.
|
|
539
539
|
*/
|
|
@@ -567,7 +567,115 @@ export type UpdateProjectEnv = {
|
|
|
567
567
|
comment?: string | undefined;
|
|
568
568
|
customEnvironmentIds?: Array<string> | undefined;
|
|
569
569
|
};
|
|
570
|
-
|
|
570
|
+
/**
|
|
571
|
+
* The type of environment (production, preview, or development)
|
|
572
|
+
*/
|
|
573
|
+
export declare const UpdateProjectProjectsType: {
|
|
574
|
+
readonly Production: "production";
|
|
575
|
+
readonly Preview: "preview";
|
|
576
|
+
readonly Development: "development";
|
|
577
|
+
};
|
|
578
|
+
/**
|
|
579
|
+
* The type of environment (production, preview, or development)
|
|
580
|
+
*/
|
|
581
|
+
export type UpdateProjectProjectsType = ClosedEnum<typeof UpdateProjectProjectsType>;
|
|
582
|
+
/**
|
|
583
|
+
* The type of matching to perform
|
|
584
|
+
*/
|
|
585
|
+
export declare const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType: {
|
|
586
|
+
readonly EndsWith: "endsWith";
|
|
587
|
+
readonly StartsWith: "startsWith";
|
|
588
|
+
readonly Equals: "equals";
|
|
589
|
+
};
|
|
590
|
+
/**
|
|
591
|
+
* The type of matching to perform
|
|
592
|
+
*/
|
|
593
|
+
export type UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType = ClosedEnum<typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType>;
|
|
594
|
+
/**
|
|
595
|
+
* Configuration for matching git branches to this environment
|
|
596
|
+
*/
|
|
597
|
+
export type UpdateProjectBranchMatcher = {
|
|
598
|
+
/**
|
|
599
|
+
* The type of matching to perform
|
|
600
|
+
*/
|
|
601
|
+
type: UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType;
|
|
602
|
+
/**
|
|
603
|
+
* The pattern to match against branch names
|
|
604
|
+
*/
|
|
605
|
+
pattern: string;
|
|
606
|
+
};
|
|
607
|
+
/**
|
|
608
|
+
* 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`.
|
|
609
|
+
*/
|
|
610
|
+
export type UpdateProjectVerification = {
|
|
611
|
+
type: string;
|
|
612
|
+
domain: string;
|
|
613
|
+
value: string;
|
|
614
|
+
reason: string;
|
|
615
|
+
};
|
|
616
|
+
/**
|
|
617
|
+
* List of domains associated with this environment
|
|
618
|
+
*/
|
|
619
|
+
export type UpdateProjectDomains = {
|
|
620
|
+
name: string;
|
|
621
|
+
apexName: string;
|
|
622
|
+
projectId: string;
|
|
623
|
+
redirect?: string | null | undefined;
|
|
624
|
+
redirectStatusCode?: number | null | undefined;
|
|
625
|
+
gitBranch?: string | null | undefined;
|
|
626
|
+
customEnvironmentId?: string | null | undefined;
|
|
627
|
+
updatedAt?: number | undefined;
|
|
628
|
+
createdAt?: number | undefined;
|
|
629
|
+
/**
|
|
630
|
+
* `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.
|
|
631
|
+
*/
|
|
632
|
+
verified: boolean;
|
|
633
|
+
/**
|
|
634
|
+
* 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`.
|
|
635
|
+
*/
|
|
636
|
+
verification?: Array<UpdateProjectVerification> | undefined;
|
|
637
|
+
};
|
|
638
|
+
/**
|
|
639
|
+
* Internal representation of a custom environment with all required properties
|
|
640
|
+
*/
|
|
641
|
+
export type UpdateProjectCustomEnvironments = {
|
|
642
|
+
/**
|
|
643
|
+
* Unique identifier for the custom environment (format: env_*)
|
|
644
|
+
*/
|
|
645
|
+
id: string;
|
|
646
|
+
/**
|
|
647
|
+
* URL-friendly name of the environment
|
|
648
|
+
*/
|
|
649
|
+
slug: string;
|
|
650
|
+
/**
|
|
651
|
+
* The type of environment (production, preview, or development)
|
|
652
|
+
*/
|
|
653
|
+
type: UpdateProjectProjectsType;
|
|
654
|
+
/**
|
|
655
|
+
* Optional description of the environment's purpose
|
|
656
|
+
*/
|
|
657
|
+
description?: string | undefined;
|
|
658
|
+
/**
|
|
659
|
+
* Configuration for matching git branches to this environment
|
|
660
|
+
*/
|
|
661
|
+
branchMatcher?: UpdateProjectBranchMatcher | undefined;
|
|
662
|
+
/**
|
|
663
|
+
* List of domains associated with this environment
|
|
664
|
+
*/
|
|
665
|
+
domains?: Array<UpdateProjectDomains> | undefined;
|
|
666
|
+
/**
|
|
667
|
+
* List of aliases for the current deployment
|
|
668
|
+
*/
|
|
669
|
+
currentDeploymentAliases?: Array<string> | undefined;
|
|
670
|
+
/**
|
|
671
|
+
* Timestamp when the environment was created
|
|
672
|
+
*/
|
|
673
|
+
createdAt: number;
|
|
674
|
+
/**
|
|
675
|
+
* Timestamp when the environment was last updated
|
|
676
|
+
*/
|
|
677
|
+
updatedAt: number;
|
|
678
|
+
};
|
|
571
679
|
export declare const UpdateProjectProjectsFramework: {
|
|
572
680
|
readonly Blitzjs: "blitzjs";
|
|
573
681
|
readonly Nextjs: "nextjs";
|
|
@@ -629,7 +737,7 @@ export type UpdateProjectAliasError = {
|
|
|
629
737
|
/**
|
|
630
738
|
* The type of matching to perform
|
|
631
739
|
*/
|
|
632
|
-
export declare const
|
|
740
|
+
export declare const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType: {
|
|
633
741
|
readonly EndsWith: "endsWith";
|
|
634
742
|
readonly StartsWith: "startsWith";
|
|
635
743
|
readonly Equals: "equals";
|
|
@@ -637,12 +745,12 @@ export declare const UpdateProjectProjectsResponse200ApplicationJSONResponseBody
|
|
|
637
745
|
/**
|
|
638
746
|
* The type of matching to perform
|
|
639
747
|
*/
|
|
640
|
-
export type
|
|
641
|
-
export type
|
|
748
|
+
export type UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType = ClosedEnum<typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType>;
|
|
749
|
+
export type UpdateProjectProjectsBranchMatcher = {
|
|
642
750
|
/**
|
|
643
751
|
* The type of matching to perform
|
|
644
752
|
*/
|
|
645
|
-
type:
|
|
753
|
+
type: UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType;
|
|
646
754
|
/**
|
|
647
755
|
* The pattern to match against branch names
|
|
648
756
|
*/
|
|
@@ -705,10 +813,10 @@ export declare const UpdateProjectReadySubstate: {
|
|
|
705
813
|
readonly Promoted: "PROMOTED";
|
|
706
814
|
};
|
|
707
815
|
export type UpdateProjectReadySubstate = ClosedEnum<typeof UpdateProjectReadySubstate>;
|
|
708
|
-
export declare const
|
|
816
|
+
export declare const UpdateProjectProjectsResponseType: {
|
|
709
817
|
readonly Lambdas: "LAMBDAS";
|
|
710
818
|
};
|
|
711
|
-
export type
|
|
819
|
+
export type UpdateProjectProjectsResponseType = ClosedEnum<typeof UpdateProjectProjectsResponseType>;
|
|
712
820
|
export type UpdateProjectLatestDeployments = {
|
|
713
821
|
id: string;
|
|
714
822
|
alias?: Array<string> | undefined;
|
|
@@ -716,7 +824,7 @@ export type UpdateProjectLatestDeployments = {
|
|
|
716
824
|
aliasError?: UpdateProjectAliasError | null | undefined;
|
|
717
825
|
aliasFinal?: string | null | undefined;
|
|
718
826
|
automaticAliases?: Array<string> | undefined;
|
|
719
|
-
branchMatcher?:
|
|
827
|
+
branchMatcher?: UpdateProjectProjectsBranchMatcher | undefined;
|
|
720
828
|
buildingAt?: number | undefined;
|
|
721
829
|
builds?: Array<UpdateProjectBuilds> | undefined;
|
|
722
830
|
checksConclusion?: UpdateProjectChecksConclusion | undefined;
|
|
@@ -747,7 +855,7 @@ export type UpdateProjectLatestDeployments = {
|
|
|
747
855
|
requestedAt?: number | undefined;
|
|
748
856
|
target?: string | null | undefined;
|
|
749
857
|
teamId?: string | null | undefined;
|
|
750
|
-
type:
|
|
858
|
+
type: UpdateProjectProjectsResponseType;
|
|
751
859
|
url: string;
|
|
752
860
|
userId: string;
|
|
753
861
|
withCache?: boolean | undefined;
|
|
@@ -947,6 +1055,10 @@ export type UpdateProjectStages = {
|
|
|
947
1055
|
* Whether or not this stage requires approval to proceed.
|
|
948
1056
|
*/
|
|
949
1057
|
requireApproval?: boolean | undefined;
|
|
1058
|
+
/**
|
|
1059
|
+
* duration is the total time to serve a stage, at the given targetPercentage.
|
|
1060
|
+
*/
|
|
1061
|
+
duration?: number | undefined;
|
|
950
1062
|
};
|
|
951
1063
|
export type UpdateProjectRollingRelease = {
|
|
952
1064
|
/**
|
|
@@ -982,8 +1094,8 @@ export type UpdateProjectDefaultResourceConfig = {
|
|
|
982
1094
|
buildMachineType?: UpdateProjectProjectsBuildMachineType | undefined;
|
|
983
1095
|
};
|
|
984
1096
|
export declare const UpdateProjectProjectsResponseDeploymentType: {
|
|
985
|
-
readonly All: "all";
|
|
986
1097
|
readonly Preview: "preview";
|
|
1098
|
+
readonly All: "all";
|
|
987
1099
|
readonly ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews";
|
|
988
1100
|
};
|
|
989
1101
|
export type UpdateProjectProjectsResponseDeploymentType = ClosedEnum<typeof UpdateProjectProjectsResponseDeploymentType>;
|
|
@@ -998,7 +1110,7 @@ export type UpdateProjectProjectsAliasError = {
|
|
|
998
1110
|
/**
|
|
999
1111
|
* The type of matching to perform
|
|
1000
1112
|
*/
|
|
1001
|
-
export declare const
|
|
1113
|
+
export declare const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType: {
|
|
1002
1114
|
readonly EndsWith: "endsWith";
|
|
1003
1115
|
readonly StartsWith: "startsWith";
|
|
1004
1116
|
readonly Equals: "equals";
|
|
@@ -1006,12 +1118,12 @@ export declare const UpdateProjectProjectsResponse200ApplicationJSONType: {
|
|
|
1006
1118
|
/**
|
|
1007
1119
|
* The type of matching to perform
|
|
1008
1120
|
*/
|
|
1009
|
-
export type
|
|
1010
|
-
export type
|
|
1121
|
+
export type UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType = ClosedEnum<typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType>;
|
|
1122
|
+
export type UpdateProjectProjectsResponseBranchMatcher = {
|
|
1011
1123
|
/**
|
|
1012
1124
|
* The type of matching to perform
|
|
1013
1125
|
*/
|
|
1014
|
-
type:
|
|
1126
|
+
type: UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType;
|
|
1015
1127
|
/**
|
|
1016
1128
|
* The pattern to match against branch names
|
|
1017
1129
|
*/
|
|
@@ -1074,10 +1186,10 @@ export declare const UpdateProjectProjectsReadySubstate: {
|
|
|
1074
1186
|
readonly Promoted: "PROMOTED";
|
|
1075
1187
|
};
|
|
1076
1188
|
export type UpdateProjectProjectsReadySubstate = ClosedEnum<typeof UpdateProjectProjectsReadySubstate>;
|
|
1077
|
-
export declare const
|
|
1189
|
+
export declare const UpdateProjectProjectsResponse200Type: {
|
|
1078
1190
|
readonly Lambdas: "LAMBDAS";
|
|
1079
1191
|
};
|
|
1080
|
-
export type
|
|
1192
|
+
export type UpdateProjectProjectsResponse200Type = ClosedEnum<typeof UpdateProjectProjectsResponse200Type>;
|
|
1081
1193
|
export type UpdateProjectTargets = {
|
|
1082
1194
|
id: string;
|
|
1083
1195
|
alias?: Array<string> | undefined;
|
|
@@ -1085,7 +1197,7 @@ export type UpdateProjectTargets = {
|
|
|
1085
1197
|
aliasError?: UpdateProjectProjectsAliasError | null | undefined;
|
|
1086
1198
|
aliasFinal?: string | null | undefined;
|
|
1087
1199
|
automaticAliases?: Array<string> | undefined;
|
|
1088
|
-
branchMatcher?:
|
|
1200
|
+
branchMatcher?: UpdateProjectProjectsResponseBranchMatcher | undefined;
|
|
1089
1201
|
buildingAt?: number | undefined;
|
|
1090
1202
|
builds?: Array<UpdateProjectProjectsBuilds> | undefined;
|
|
1091
1203
|
checksConclusion?: UpdateProjectProjectsChecksConclusion | undefined;
|
|
@@ -1116,7 +1228,7 @@ export type UpdateProjectTargets = {
|
|
|
1116
1228
|
requestedAt?: number | undefined;
|
|
1117
1229
|
target?: string | null | undefined;
|
|
1118
1230
|
teamId?: string | null | undefined;
|
|
1119
|
-
type:
|
|
1231
|
+
type: UpdateProjectProjectsResponse200Type;
|
|
1120
1232
|
url: string;
|
|
1121
1233
|
userId: string;
|
|
1122
1234
|
withCache?: boolean | undefined;
|
|
@@ -1327,17 +1439,21 @@ export declare const UpdateProjectJobStatus: {
|
|
|
1327
1439
|
readonly InProgress: "in-progress";
|
|
1328
1440
|
};
|
|
1329
1441
|
export type UpdateProjectJobStatus = ClosedEnum<typeof UpdateProjectJobStatus>;
|
|
1330
|
-
export declare const
|
|
1442
|
+
export declare const UpdateProjectProjectsResponse200ApplicationJSONType: {
|
|
1331
1443
|
readonly Promote: "promote";
|
|
1332
1444
|
readonly Rollback: "rollback";
|
|
1333
1445
|
};
|
|
1334
|
-
export type
|
|
1446
|
+
export type UpdateProjectProjectsResponse200ApplicationJSONType = ClosedEnum<typeof UpdateProjectProjectsResponse200ApplicationJSONType>;
|
|
1335
1447
|
export type UpdateProjectLastAliasRequest = {
|
|
1336
1448
|
fromDeploymentId: string;
|
|
1337
1449
|
toDeploymentId: string;
|
|
1450
|
+
/**
|
|
1451
|
+
* If rolling back from a rolling release, fromDeploymentId captures the "base" of that rolling release, and fromRollingReleaseId captures the "target" of that rolling release.
|
|
1452
|
+
*/
|
|
1453
|
+
fromRollingReleaseId?: string | undefined;
|
|
1338
1454
|
jobStatus: UpdateProjectJobStatus;
|
|
1339
1455
|
requestedAt: number;
|
|
1340
|
-
type:
|
|
1456
|
+
type: UpdateProjectProjectsResponse200ApplicationJSONType;
|
|
1341
1457
|
};
|
|
1342
1458
|
export declare const UpdateProjectScope: {
|
|
1343
1459
|
readonly AutomationBypass: "automation-bypass";
|
|
@@ -1349,20 +1465,20 @@ export type UpdateProjectProtectionBypass = {
|
|
|
1349
1465
|
scope: UpdateProjectScope;
|
|
1350
1466
|
};
|
|
1351
1467
|
export declare const UpdateProjectTrustedIpsProjectsDeploymentType: {
|
|
1352
|
-
readonly
|
|
1468
|
+
readonly Production: "production";
|
|
1353
1469
|
readonly Preview: "preview";
|
|
1470
|
+
readonly All: "all";
|
|
1354
1471
|
readonly ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews";
|
|
1355
|
-
readonly Production: "production";
|
|
1356
1472
|
};
|
|
1357
1473
|
export type UpdateProjectTrustedIpsProjectsDeploymentType = ClosedEnum<typeof UpdateProjectTrustedIpsProjectsDeploymentType>;
|
|
1358
1474
|
export type UpdateProjectTrustedIps2 = {
|
|
1359
1475
|
deploymentType: UpdateProjectTrustedIpsProjectsDeploymentType;
|
|
1360
1476
|
};
|
|
1361
1477
|
export declare const UpdateProjectTrustedIpsDeploymentType: {
|
|
1362
|
-
readonly
|
|
1478
|
+
readonly Production: "production";
|
|
1363
1479
|
readonly Preview: "preview";
|
|
1480
|
+
readonly All: "all";
|
|
1364
1481
|
readonly ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews";
|
|
1365
|
-
readonly Production: "production";
|
|
1366
1482
|
};
|
|
1367
1483
|
export type UpdateProjectTrustedIpsDeploymentType = ClosedEnum<typeof UpdateProjectTrustedIpsDeploymentType>;
|
|
1368
1484
|
export type UpdateProjectTrustedIpsAddresses = {
|
|
@@ -3011,19 +3127,19 @@ export declare namespace UpdateProjectContentHint$ {
|
|
|
3011
3127
|
export declare function updateProjectContentHintToJSON(updateProjectContentHint: UpdateProjectContentHint): string;
|
|
3012
3128
|
export declare function updateProjectContentHintFromJSON(jsonString: string): SafeParseResult<UpdateProjectContentHint, SDKValidationError>;
|
|
3013
3129
|
/** @internal */
|
|
3014
|
-
export declare const
|
|
3130
|
+
export declare const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum<typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType>;
|
|
3015
3131
|
/** @internal */
|
|
3016
|
-
export declare const
|
|
3132
|
+
export declare const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema: z.ZodNativeEnum<typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType>;
|
|
3017
3133
|
/**
|
|
3018
3134
|
* @internal
|
|
3019
3135
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3020
3136
|
*/
|
|
3021
|
-
export declare namespace
|
|
3022
|
-
/** @deprecated use `
|
|
3137
|
+
export declare namespace UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$ {
|
|
3138
|
+
/** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */
|
|
3023
3139
|
const inboundSchema: z.ZodNativeEnum<{
|
|
3024
3140
|
readonly FlagsSecret: "flags-secret";
|
|
3025
3141
|
}>;
|
|
3026
|
-
/** @deprecated use `
|
|
3142
|
+
/** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */
|
|
3027
3143
|
const outboundSchema: z.ZodNativeEnum<{
|
|
3028
3144
|
readonly FlagsSecret: "flags-secret";
|
|
3029
3145
|
}>;
|
|
@@ -3093,9 +3209,143 @@ export declare namespace UpdateProjectEnv$ {
|
|
|
3093
3209
|
export declare function updateProjectEnvToJSON(updateProjectEnv: UpdateProjectEnv): string;
|
|
3094
3210
|
export declare function updateProjectEnvFromJSON(jsonString: string): SafeParseResult<UpdateProjectEnv, SDKValidationError>;
|
|
3095
3211
|
/** @internal */
|
|
3212
|
+
export declare const UpdateProjectProjectsType$inboundSchema: z.ZodNativeEnum<typeof UpdateProjectProjectsType>;
|
|
3213
|
+
/** @internal */
|
|
3214
|
+
export declare const UpdateProjectProjectsType$outboundSchema: z.ZodNativeEnum<typeof UpdateProjectProjectsType>;
|
|
3215
|
+
/**
|
|
3216
|
+
* @internal
|
|
3217
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3218
|
+
*/
|
|
3219
|
+
export declare namespace UpdateProjectProjectsType$ {
|
|
3220
|
+
/** @deprecated use `UpdateProjectProjectsType$inboundSchema` instead. */
|
|
3221
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
3222
|
+
readonly Production: "production";
|
|
3223
|
+
readonly Preview: "preview";
|
|
3224
|
+
readonly Development: "development";
|
|
3225
|
+
}>;
|
|
3226
|
+
/** @deprecated use `UpdateProjectProjectsType$outboundSchema` instead. */
|
|
3227
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
3228
|
+
readonly Production: "production";
|
|
3229
|
+
readonly Preview: "preview";
|
|
3230
|
+
readonly Development: "development";
|
|
3231
|
+
}>;
|
|
3232
|
+
}
|
|
3233
|
+
/** @internal */
|
|
3234
|
+
export declare const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema: z.ZodNativeEnum<typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType>;
|
|
3235
|
+
/** @internal */
|
|
3236
|
+
export declare const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema: z.ZodNativeEnum<typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType>;
|
|
3237
|
+
/**
|
|
3238
|
+
* @internal
|
|
3239
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3240
|
+
*/
|
|
3241
|
+
export declare namespace UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$ {
|
|
3242
|
+
/** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema` instead. */
|
|
3243
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
3244
|
+
readonly EndsWith: "endsWith";
|
|
3245
|
+
readonly StartsWith: "startsWith";
|
|
3246
|
+
readonly Equals: "equals";
|
|
3247
|
+
}>;
|
|
3248
|
+
/** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema` instead. */
|
|
3249
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
3250
|
+
readonly EndsWith: "endsWith";
|
|
3251
|
+
readonly StartsWith: "startsWith";
|
|
3252
|
+
readonly Equals: "equals";
|
|
3253
|
+
}>;
|
|
3254
|
+
}
|
|
3255
|
+
/** @internal */
|
|
3256
|
+
export declare const UpdateProjectBranchMatcher$inboundSchema: z.ZodType<UpdateProjectBranchMatcher, z.ZodTypeDef, unknown>;
|
|
3257
|
+
/** @internal */
|
|
3258
|
+
export type UpdateProjectBranchMatcher$Outbound = {
|
|
3259
|
+
type: string;
|
|
3260
|
+
pattern: string;
|
|
3261
|
+
};
|
|
3262
|
+
/** @internal */
|
|
3263
|
+
export declare const UpdateProjectBranchMatcher$outboundSchema: z.ZodType<UpdateProjectBranchMatcher$Outbound, z.ZodTypeDef, UpdateProjectBranchMatcher>;
|
|
3264
|
+
/**
|
|
3265
|
+
* @internal
|
|
3266
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3267
|
+
*/
|
|
3268
|
+
export declare namespace UpdateProjectBranchMatcher$ {
|
|
3269
|
+
/** @deprecated use `UpdateProjectBranchMatcher$inboundSchema` instead. */
|
|
3270
|
+
const inboundSchema: z.ZodType<UpdateProjectBranchMatcher, z.ZodTypeDef, unknown>;
|
|
3271
|
+
/** @deprecated use `UpdateProjectBranchMatcher$outboundSchema` instead. */
|
|
3272
|
+
const outboundSchema: z.ZodType<UpdateProjectBranchMatcher$Outbound, z.ZodTypeDef, UpdateProjectBranchMatcher>;
|
|
3273
|
+
/** @deprecated use `UpdateProjectBranchMatcher$Outbound` instead. */
|
|
3274
|
+
type Outbound = UpdateProjectBranchMatcher$Outbound;
|
|
3275
|
+
}
|
|
3276
|
+
export declare function updateProjectBranchMatcherToJSON(updateProjectBranchMatcher: UpdateProjectBranchMatcher): string;
|
|
3277
|
+
export declare function updateProjectBranchMatcherFromJSON(jsonString: string): SafeParseResult<UpdateProjectBranchMatcher, SDKValidationError>;
|
|
3278
|
+
/** @internal */
|
|
3279
|
+
export declare const UpdateProjectVerification$inboundSchema: z.ZodType<UpdateProjectVerification, z.ZodTypeDef, unknown>;
|
|
3280
|
+
/** @internal */
|
|
3281
|
+
export type UpdateProjectVerification$Outbound = {
|
|
3282
|
+
type: string;
|
|
3283
|
+
domain: string;
|
|
3284
|
+
value: string;
|
|
3285
|
+
reason: string;
|
|
3286
|
+
};
|
|
3287
|
+
/** @internal */
|
|
3288
|
+
export declare const UpdateProjectVerification$outboundSchema: z.ZodType<UpdateProjectVerification$Outbound, z.ZodTypeDef, UpdateProjectVerification>;
|
|
3289
|
+
/**
|
|
3290
|
+
* @internal
|
|
3291
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3292
|
+
*/
|
|
3293
|
+
export declare namespace UpdateProjectVerification$ {
|
|
3294
|
+
/** @deprecated use `UpdateProjectVerification$inboundSchema` instead. */
|
|
3295
|
+
const inboundSchema: z.ZodType<UpdateProjectVerification, z.ZodTypeDef, unknown>;
|
|
3296
|
+
/** @deprecated use `UpdateProjectVerification$outboundSchema` instead. */
|
|
3297
|
+
const outboundSchema: z.ZodType<UpdateProjectVerification$Outbound, z.ZodTypeDef, UpdateProjectVerification>;
|
|
3298
|
+
/** @deprecated use `UpdateProjectVerification$Outbound` instead. */
|
|
3299
|
+
type Outbound = UpdateProjectVerification$Outbound;
|
|
3300
|
+
}
|
|
3301
|
+
export declare function updateProjectVerificationToJSON(updateProjectVerification: UpdateProjectVerification): string;
|
|
3302
|
+
export declare function updateProjectVerificationFromJSON(jsonString: string): SafeParseResult<UpdateProjectVerification, SDKValidationError>;
|
|
3303
|
+
/** @internal */
|
|
3304
|
+
export declare const UpdateProjectDomains$inboundSchema: z.ZodType<UpdateProjectDomains, z.ZodTypeDef, unknown>;
|
|
3305
|
+
/** @internal */
|
|
3306
|
+
export type UpdateProjectDomains$Outbound = {
|
|
3307
|
+
name: string;
|
|
3308
|
+
apexName: string;
|
|
3309
|
+
projectId: string;
|
|
3310
|
+
redirect?: string | null | undefined;
|
|
3311
|
+
redirectStatusCode?: number | null | undefined;
|
|
3312
|
+
gitBranch?: string | null | undefined;
|
|
3313
|
+
customEnvironmentId?: string | null | undefined;
|
|
3314
|
+
updatedAt?: number | undefined;
|
|
3315
|
+
createdAt?: number | undefined;
|
|
3316
|
+
verified: boolean;
|
|
3317
|
+
verification?: Array<UpdateProjectVerification$Outbound> | undefined;
|
|
3318
|
+
};
|
|
3319
|
+
/** @internal */
|
|
3320
|
+
export declare const UpdateProjectDomains$outboundSchema: z.ZodType<UpdateProjectDomains$Outbound, z.ZodTypeDef, UpdateProjectDomains>;
|
|
3321
|
+
/**
|
|
3322
|
+
* @internal
|
|
3323
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3324
|
+
*/
|
|
3325
|
+
export declare namespace UpdateProjectDomains$ {
|
|
3326
|
+
/** @deprecated use `UpdateProjectDomains$inboundSchema` instead. */
|
|
3327
|
+
const inboundSchema: z.ZodType<UpdateProjectDomains, z.ZodTypeDef, unknown>;
|
|
3328
|
+
/** @deprecated use `UpdateProjectDomains$outboundSchema` instead. */
|
|
3329
|
+
const outboundSchema: z.ZodType<UpdateProjectDomains$Outbound, z.ZodTypeDef, UpdateProjectDomains>;
|
|
3330
|
+
/** @deprecated use `UpdateProjectDomains$Outbound` instead. */
|
|
3331
|
+
type Outbound = UpdateProjectDomains$Outbound;
|
|
3332
|
+
}
|
|
3333
|
+
export declare function updateProjectDomainsToJSON(updateProjectDomains: UpdateProjectDomains): string;
|
|
3334
|
+
export declare function updateProjectDomainsFromJSON(jsonString: string): SafeParseResult<UpdateProjectDomains, SDKValidationError>;
|
|
3335
|
+
/** @internal */
|
|
3096
3336
|
export declare const UpdateProjectCustomEnvironments$inboundSchema: z.ZodType<UpdateProjectCustomEnvironments, z.ZodTypeDef, unknown>;
|
|
3097
3337
|
/** @internal */
|
|
3098
|
-
export type UpdateProjectCustomEnvironments$Outbound = {
|
|
3338
|
+
export type UpdateProjectCustomEnvironments$Outbound = {
|
|
3339
|
+
id: string;
|
|
3340
|
+
slug: string;
|
|
3341
|
+
type: string;
|
|
3342
|
+
description?: string | undefined;
|
|
3343
|
+
branchMatcher?: UpdateProjectBranchMatcher$Outbound | undefined;
|
|
3344
|
+
domains?: Array<UpdateProjectDomains$Outbound> | undefined;
|
|
3345
|
+
currentDeploymentAliases?: Array<string> | undefined;
|
|
3346
|
+
createdAt: number;
|
|
3347
|
+
updatedAt: number;
|
|
3348
|
+
};
|
|
3099
3349
|
/** @internal */
|
|
3100
3350
|
export declare const UpdateProjectCustomEnvironments$outboundSchema: z.ZodType<UpdateProjectCustomEnvironments$Outbound, z.ZodTypeDef, UpdateProjectCustomEnvironments>;
|
|
3101
3351
|
/**
|
|
@@ -3287,21 +3537,21 @@ export declare namespace UpdateProjectAliasError$ {
|
|
|
3287
3537
|
export declare function updateProjectAliasErrorToJSON(updateProjectAliasError: UpdateProjectAliasError): string;
|
|
3288
3538
|
export declare function updateProjectAliasErrorFromJSON(jsonString: string): SafeParseResult<UpdateProjectAliasError, SDKValidationError>;
|
|
3289
3539
|
/** @internal */
|
|
3290
|
-
export declare const
|
|
3540
|
+
export declare const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema: z.ZodNativeEnum<typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType>;
|
|
3291
3541
|
/** @internal */
|
|
3292
|
-
export declare const
|
|
3542
|
+
export declare const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$outboundSchema: z.ZodNativeEnum<typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType>;
|
|
3293
3543
|
/**
|
|
3294
3544
|
* @internal
|
|
3295
3545
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3296
3546
|
*/
|
|
3297
|
-
export declare namespace
|
|
3298
|
-
/** @deprecated use `
|
|
3547
|
+
export declare namespace UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$ {
|
|
3548
|
+
/** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema` instead. */
|
|
3299
3549
|
const inboundSchema: z.ZodNativeEnum<{
|
|
3300
3550
|
readonly EndsWith: "endsWith";
|
|
3301
3551
|
readonly StartsWith: "startsWith";
|
|
3302
3552
|
readonly Equals: "equals";
|
|
3303
3553
|
}>;
|
|
3304
|
-
/** @deprecated use `
|
|
3554
|
+
/** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$outboundSchema` instead. */
|
|
3305
3555
|
const outboundSchema: z.ZodNativeEnum<{
|
|
3306
3556
|
readonly EndsWith: "endsWith";
|
|
3307
3557
|
readonly StartsWith: "startsWith";
|
|
@@ -3309,28 +3559,28 @@ export declare namespace UpdateProjectProjectsResponse200ApplicationJSONResponse
|
|
|
3309
3559
|
}>;
|
|
3310
3560
|
}
|
|
3311
3561
|
/** @internal */
|
|
3312
|
-
export declare const
|
|
3562
|
+
export declare const UpdateProjectProjectsBranchMatcher$inboundSchema: z.ZodType<UpdateProjectProjectsBranchMatcher, z.ZodTypeDef, unknown>;
|
|
3313
3563
|
/** @internal */
|
|
3314
|
-
export type
|
|
3564
|
+
export type UpdateProjectProjectsBranchMatcher$Outbound = {
|
|
3315
3565
|
type: string;
|
|
3316
3566
|
pattern: string;
|
|
3317
3567
|
};
|
|
3318
3568
|
/** @internal */
|
|
3319
|
-
export declare const
|
|
3569
|
+
export declare const UpdateProjectProjectsBranchMatcher$outboundSchema: z.ZodType<UpdateProjectProjectsBranchMatcher$Outbound, z.ZodTypeDef, UpdateProjectProjectsBranchMatcher>;
|
|
3320
3570
|
/**
|
|
3321
3571
|
* @internal
|
|
3322
3572
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3323
3573
|
*/
|
|
3324
|
-
export declare namespace
|
|
3325
|
-
/** @deprecated use `
|
|
3326
|
-
const inboundSchema: z.ZodType<
|
|
3327
|
-
/** @deprecated use `
|
|
3328
|
-
const outboundSchema: z.ZodType<
|
|
3329
|
-
/** @deprecated use `
|
|
3330
|
-
type Outbound =
|
|
3574
|
+
export declare namespace UpdateProjectProjectsBranchMatcher$ {
|
|
3575
|
+
/** @deprecated use `UpdateProjectProjectsBranchMatcher$inboundSchema` instead. */
|
|
3576
|
+
const inboundSchema: z.ZodType<UpdateProjectProjectsBranchMatcher, z.ZodTypeDef, unknown>;
|
|
3577
|
+
/** @deprecated use `UpdateProjectProjectsBranchMatcher$outboundSchema` instead. */
|
|
3578
|
+
const outboundSchema: z.ZodType<UpdateProjectProjectsBranchMatcher$Outbound, z.ZodTypeDef, UpdateProjectProjectsBranchMatcher>;
|
|
3579
|
+
/** @deprecated use `UpdateProjectProjectsBranchMatcher$Outbound` instead. */
|
|
3580
|
+
type Outbound = UpdateProjectProjectsBranchMatcher$Outbound;
|
|
3331
3581
|
}
|
|
3332
|
-
export declare function
|
|
3333
|
-
export declare function
|
|
3582
|
+
export declare function updateProjectProjectsBranchMatcherToJSON(updateProjectProjectsBranchMatcher: UpdateProjectProjectsBranchMatcher): string;
|
|
3583
|
+
export declare function updateProjectProjectsBranchMatcherFromJSON(jsonString: string): SafeParseResult<UpdateProjectProjectsBranchMatcher, SDKValidationError>;
|
|
3334
3584
|
/** @internal */
|
|
3335
3585
|
export declare const UpdateProjectBuilds$inboundSchema: z.ZodType<UpdateProjectBuilds, z.ZodTypeDef, unknown>;
|
|
3336
3586
|
/** @internal */
|
|
@@ -3530,19 +3780,19 @@ export declare namespace UpdateProjectReadySubstate$ {
|
|
|
3530
3780
|
}>;
|
|
3531
3781
|
}
|
|
3532
3782
|
/** @internal */
|
|
3533
|
-
export declare const
|
|
3783
|
+
export declare const UpdateProjectProjectsResponseType$inboundSchema: z.ZodNativeEnum<typeof UpdateProjectProjectsResponseType>;
|
|
3534
3784
|
/** @internal */
|
|
3535
|
-
export declare const
|
|
3785
|
+
export declare const UpdateProjectProjectsResponseType$outboundSchema: z.ZodNativeEnum<typeof UpdateProjectProjectsResponseType>;
|
|
3536
3786
|
/**
|
|
3537
3787
|
* @internal
|
|
3538
3788
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3539
3789
|
*/
|
|
3540
|
-
export declare namespace
|
|
3541
|
-
/** @deprecated use `
|
|
3790
|
+
export declare namespace UpdateProjectProjectsResponseType$ {
|
|
3791
|
+
/** @deprecated use `UpdateProjectProjectsResponseType$inboundSchema` instead. */
|
|
3542
3792
|
const inboundSchema: z.ZodNativeEnum<{
|
|
3543
3793
|
readonly Lambdas: "LAMBDAS";
|
|
3544
3794
|
}>;
|
|
3545
|
-
/** @deprecated use `
|
|
3795
|
+
/** @deprecated use `UpdateProjectProjectsResponseType$outboundSchema` instead. */
|
|
3546
3796
|
const outboundSchema: z.ZodNativeEnum<{
|
|
3547
3797
|
readonly Lambdas: "LAMBDAS";
|
|
3548
3798
|
}>;
|
|
@@ -3557,7 +3807,7 @@ export type UpdateProjectLatestDeployments$Outbound = {
|
|
|
3557
3807
|
aliasError?: UpdateProjectAliasError$Outbound | null | undefined;
|
|
3558
3808
|
aliasFinal?: string | null | undefined;
|
|
3559
3809
|
automaticAliases?: Array<string> | undefined;
|
|
3560
|
-
branchMatcher?:
|
|
3810
|
+
branchMatcher?: UpdateProjectProjectsBranchMatcher$Outbound | undefined;
|
|
3561
3811
|
buildingAt?: number | undefined;
|
|
3562
3812
|
builds?: Array<UpdateProjectBuilds$Outbound> | undefined;
|
|
3563
3813
|
checksConclusion?: string | undefined;
|
|
@@ -4176,6 +4426,7 @@ export type UpdateProjectStages$Outbound = {
|
|
|
4176
4426
|
targetPercentage: number;
|
|
4177
4427
|
minutesToRelease?: number | undefined;
|
|
4178
4428
|
requireApproval?: boolean | undefined;
|
|
4429
|
+
duration?: number | undefined;
|
|
4179
4430
|
};
|
|
4180
4431
|
/** @internal */
|
|
4181
4432
|
export declare const UpdateProjectStages$outboundSchema: z.ZodType<UpdateProjectStages$Outbound, z.ZodTypeDef, UpdateProjectStages>;
|
|
@@ -4296,14 +4547,14 @@ export declare const UpdateProjectProjectsResponseDeploymentType$outboundSchema:
|
|
|
4296
4547
|
export declare namespace UpdateProjectProjectsResponseDeploymentType$ {
|
|
4297
4548
|
/** @deprecated use `UpdateProjectProjectsResponseDeploymentType$inboundSchema` instead. */
|
|
4298
4549
|
const inboundSchema: z.ZodNativeEnum<{
|
|
4299
|
-
readonly All: "all";
|
|
4300
4550
|
readonly Preview: "preview";
|
|
4551
|
+
readonly All: "all";
|
|
4301
4552
|
readonly ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews";
|
|
4302
4553
|
}>;
|
|
4303
4554
|
/** @deprecated use `UpdateProjectProjectsResponseDeploymentType$outboundSchema` instead. */
|
|
4304
4555
|
const outboundSchema: z.ZodNativeEnum<{
|
|
4305
|
-
readonly All: "all";
|
|
4306
4556
|
readonly Preview: "preview";
|
|
4557
|
+
readonly All: "all";
|
|
4307
4558
|
readonly ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews";
|
|
4308
4559
|
}>;
|
|
4309
4560
|
}
|
|
@@ -4373,21 +4624,21 @@ export declare namespace UpdateProjectProjectsAliasError$ {
|
|
|
4373
4624
|
export declare function updateProjectProjectsAliasErrorToJSON(updateProjectProjectsAliasError: UpdateProjectProjectsAliasError): string;
|
|
4374
4625
|
export declare function updateProjectProjectsAliasErrorFromJSON(jsonString: string): SafeParseResult<UpdateProjectProjectsAliasError, SDKValidationError>;
|
|
4375
4626
|
/** @internal */
|
|
4376
|
-
export declare const
|
|
4627
|
+
export declare const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema: z.ZodNativeEnum<typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType>;
|
|
4377
4628
|
/** @internal */
|
|
4378
|
-
export declare const
|
|
4629
|
+
export declare const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema: z.ZodNativeEnum<typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType>;
|
|
4379
4630
|
/**
|
|
4380
4631
|
* @internal
|
|
4381
4632
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4382
4633
|
*/
|
|
4383
|
-
export declare namespace
|
|
4384
|
-
/** @deprecated use `
|
|
4634
|
+
export declare namespace UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$ {
|
|
4635
|
+
/** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema` instead. */
|
|
4385
4636
|
const inboundSchema: z.ZodNativeEnum<{
|
|
4386
4637
|
readonly EndsWith: "endsWith";
|
|
4387
4638
|
readonly StartsWith: "startsWith";
|
|
4388
4639
|
readonly Equals: "equals";
|
|
4389
4640
|
}>;
|
|
4390
|
-
/** @deprecated use `
|
|
4641
|
+
/** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema` instead. */
|
|
4391
4642
|
const outboundSchema: z.ZodNativeEnum<{
|
|
4392
4643
|
readonly EndsWith: "endsWith";
|
|
4393
4644
|
readonly StartsWith: "startsWith";
|
|
@@ -4395,28 +4646,28 @@ export declare namespace UpdateProjectProjectsResponse200ApplicationJSONType$ {
|
|
|
4395
4646
|
}>;
|
|
4396
4647
|
}
|
|
4397
4648
|
/** @internal */
|
|
4398
|
-
export declare const
|
|
4649
|
+
export declare const UpdateProjectProjectsResponseBranchMatcher$inboundSchema: z.ZodType<UpdateProjectProjectsResponseBranchMatcher, z.ZodTypeDef, unknown>;
|
|
4399
4650
|
/** @internal */
|
|
4400
|
-
export type
|
|
4651
|
+
export type UpdateProjectProjectsResponseBranchMatcher$Outbound = {
|
|
4401
4652
|
type: string;
|
|
4402
4653
|
pattern: string;
|
|
4403
4654
|
};
|
|
4404
4655
|
/** @internal */
|
|
4405
|
-
export declare const
|
|
4656
|
+
export declare const UpdateProjectProjectsResponseBranchMatcher$outboundSchema: z.ZodType<UpdateProjectProjectsResponseBranchMatcher$Outbound, z.ZodTypeDef, UpdateProjectProjectsResponseBranchMatcher>;
|
|
4406
4657
|
/**
|
|
4407
4658
|
* @internal
|
|
4408
4659
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4409
4660
|
*/
|
|
4410
|
-
export declare namespace
|
|
4411
|
-
/** @deprecated use `
|
|
4412
|
-
const inboundSchema: z.ZodType<
|
|
4413
|
-
/** @deprecated use `
|
|
4414
|
-
const outboundSchema: z.ZodType<
|
|
4415
|
-
/** @deprecated use `
|
|
4416
|
-
type Outbound =
|
|
4661
|
+
export declare namespace UpdateProjectProjectsResponseBranchMatcher$ {
|
|
4662
|
+
/** @deprecated use `UpdateProjectProjectsResponseBranchMatcher$inboundSchema` instead. */
|
|
4663
|
+
const inboundSchema: z.ZodType<UpdateProjectProjectsResponseBranchMatcher, z.ZodTypeDef, unknown>;
|
|
4664
|
+
/** @deprecated use `UpdateProjectProjectsResponseBranchMatcher$outboundSchema` instead. */
|
|
4665
|
+
const outboundSchema: z.ZodType<UpdateProjectProjectsResponseBranchMatcher$Outbound, z.ZodTypeDef, UpdateProjectProjectsResponseBranchMatcher>;
|
|
4666
|
+
/** @deprecated use `UpdateProjectProjectsResponseBranchMatcher$Outbound` instead. */
|
|
4667
|
+
type Outbound = UpdateProjectProjectsResponseBranchMatcher$Outbound;
|
|
4417
4668
|
}
|
|
4418
|
-
export declare function
|
|
4419
|
-
export declare function
|
|
4669
|
+
export declare function updateProjectProjectsResponseBranchMatcherToJSON(updateProjectProjectsResponseBranchMatcher: UpdateProjectProjectsResponseBranchMatcher): string;
|
|
4670
|
+
export declare function updateProjectProjectsResponseBranchMatcherFromJSON(jsonString: string): SafeParseResult<UpdateProjectProjectsResponseBranchMatcher, SDKValidationError>;
|
|
4420
4671
|
/** @internal */
|
|
4421
4672
|
export declare const UpdateProjectProjectsBuilds$inboundSchema: z.ZodType<UpdateProjectProjectsBuilds, z.ZodTypeDef, unknown>;
|
|
4422
4673
|
/** @internal */
|
|
@@ -4616,19 +4867,19 @@ export declare namespace UpdateProjectProjectsReadySubstate$ {
|
|
|
4616
4867
|
}>;
|
|
4617
4868
|
}
|
|
4618
4869
|
/** @internal */
|
|
4619
|
-
export declare const
|
|
4870
|
+
export declare const UpdateProjectProjectsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof UpdateProjectProjectsResponse200Type>;
|
|
4620
4871
|
/** @internal */
|
|
4621
|
-
export declare const
|
|
4872
|
+
export declare const UpdateProjectProjectsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof UpdateProjectProjectsResponse200Type>;
|
|
4622
4873
|
/**
|
|
4623
4874
|
* @internal
|
|
4624
4875
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4625
4876
|
*/
|
|
4626
|
-
export declare namespace
|
|
4627
|
-
/** @deprecated use `
|
|
4877
|
+
export declare namespace UpdateProjectProjectsResponse200Type$ {
|
|
4878
|
+
/** @deprecated use `UpdateProjectProjectsResponse200Type$inboundSchema` instead. */
|
|
4628
4879
|
const inboundSchema: z.ZodNativeEnum<{
|
|
4629
4880
|
readonly Lambdas: "LAMBDAS";
|
|
4630
4881
|
}>;
|
|
4631
|
-
/** @deprecated use `
|
|
4882
|
+
/** @deprecated use `UpdateProjectProjectsResponse200Type$outboundSchema` instead. */
|
|
4632
4883
|
const outboundSchema: z.ZodNativeEnum<{
|
|
4633
4884
|
readonly Lambdas: "LAMBDAS";
|
|
4634
4885
|
}>;
|
|
@@ -4643,7 +4894,7 @@ export type UpdateProjectTargets$Outbound = {
|
|
|
4643
4894
|
aliasError?: UpdateProjectProjectsAliasError$Outbound | null | undefined;
|
|
4644
4895
|
aliasFinal?: string | null | undefined;
|
|
4645
4896
|
automaticAliases?: Array<string> | undefined;
|
|
4646
|
-
branchMatcher?:
|
|
4897
|
+
branchMatcher?: UpdateProjectProjectsResponseBranchMatcher$Outbound | undefined;
|
|
4647
4898
|
buildingAt?: number | undefined;
|
|
4648
4899
|
builds?: Array<UpdateProjectProjectsBuilds$Outbound> | undefined;
|
|
4649
4900
|
checksConclusion?: string | undefined;
|
|
@@ -4955,20 +5206,20 @@ export declare namespace UpdateProjectJobStatus$ {
|
|
|
4955
5206
|
}>;
|
|
4956
5207
|
}
|
|
4957
5208
|
/** @internal */
|
|
4958
|
-
export declare const
|
|
5209
|
+
export declare const UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum<typeof UpdateProjectProjectsResponse200ApplicationJSONType>;
|
|
4959
5210
|
/** @internal */
|
|
4960
|
-
export declare const
|
|
5211
|
+
export declare const UpdateProjectProjectsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum<typeof UpdateProjectProjectsResponse200ApplicationJSONType>;
|
|
4961
5212
|
/**
|
|
4962
5213
|
* @internal
|
|
4963
5214
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4964
5215
|
*/
|
|
4965
|
-
export declare namespace
|
|
4966
|
-
/** @deprecated use `
|
|
5216
|
+
export declare namespace UpdateProjectProjectsResponse200ApplicationJSONType$ {
|
|
5217
|
+
/** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema` instead. */
|
|
4967
5218
|
const inboundSchema: z.ZodNativeEnum<{
|
|
4968
5219
|
readonly Promote: "promote";
|
|
4969
5220
|
readonly Rollback: "rollback";
|
|
4970
5221
|
}>;
|
|
4971
|
-
/** @deprecated use `
|
|
5222
|
+
/** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONType$outboundSchema` instead. */
|
|
4972
5223
|
const outboundSchema: z.ZodNativeEnum<{
|
|
4973
5224
|
readonly Promote: "promote";
|
|
4974
5225
|
readonly Rollback: "rollback";
|
|
@@ -4980,6 +5231,7 @@ export declare const UpdateProjectLastAliasRequest$inboundSchema: z.ZodType<Upda
|
|
|
4980
5231
|
export type UpdateProjectLastAliasRequest$Outbound = {
|
|
4981
5232
|
fromDeploymentId: string;
|
|
4982
5233
|
toDeploymentId: string;
|
|
5234
|
+
fromRollingReleaseId?: string | undefined;
|
|
4983
5235
|
jobStatus: string;
|
|
4984
5236
|
requestedAt: number;
|
|
4985
5237
|
type: string;
|
|
@@ -5053,17 +5305,17 @@ export declare const UpdateProjectTrustedIpsProjectsDeploymentType$outboundSchem
|
|
|
5053
5305
|
export declare namespace UpdateProjectTrustedIpsProjectsDeploymentType$ {
|
|
5054
5306
|
/** @deprecated use `UpdateProjectTrustedIpsProjectsDeploymentType$inboundSchema` instead. */
|
|
5055
5307
|
const inboundSchema: z.ZodNativeEnum<{
|
|
5056
|
-
readonly
|
|
5308
|
+
readonly Production: "production";
|
|
5057
5309
|
readonly Preview: "preview";
|
|
5310
|
+
readonly All: "all";
|
|
5058
5311
|
readonly ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews";
|
|
5059
|
-
readonly Production: "production";
|
|
5060
5312
|
}>;
|
|
5061
5313
|
/** @deprecated use `UpdateProjectTrustedIpsProjectsDeploymentType$outboundSchema` instead. */
|
|
5062
5314
|
const outboundSchema: z.ZodNativeEnum<{
|
|
5063
|
-
readonly
|
|
5315
|
+
readonly Production: "production";
|
|
5064
5316
|
readonly Preview: "preview";
|
|
5317
|
+
readonly All: "all";
|
|
5065
5318
|
readonly ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews";
|
|
5066
|
-
readonly Production: "production";
|
|
5067
5319
|
}>;
|
|
5068
5320
|
}
|
|
5069
5321
|
/** @internal */
|
|
@@ -5099,17 +5351,17 @@ export declare const UpdateProjectTrustedIpsDeploymentType$outboundSchema: z.Zod
|
|
|
5099
5351
|
export declare namespace UpdateProjectTrustedIpsDeploymentType$ {
|
|
5100
5352
|
/** @deprecated use `UpdateProjectTrustedIpsDeploymentType$inboundSchema` instead. */
|
|
5101
5353
|
const inboundSchema: z.ZodNativeEnum<{
|
|
5102
|
-
readonly
|
|
5354
|
+
readonly Production: "production";
|
|
5103
5355
|
readonly Preview: "preview";
|
|
5356
|
+
readonly All: "all";
|
|
5104
5357
|
readonly ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews";
|
|
5105
|
-
readonly Production: "production";
|
|
5106
5358
|
}>;
|
|
5107
5359
|
/** @deprecated use `UpdateProjectTrustedIpsDeploymentType$outboundSchema` instead. */
|
|
5108
5360
|
const outboundSchema: z.ZodNativeEnum<{
|
|
5109
|
-
readonly
|
|
5361
|
+
readonly Production: "production";
|
|
5110
5362
|
readonly Preview: "preview";
|
|
5363
|
+
readonly All: "all";
|
|
5111
5364
|
readonly ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews";
|
|
5112
|
-
readonly Production: "production";
|
|
5113
5365
|
}>;
|
|
5114
5366
|
}
|
|
5115
5367
|
/** @internal */
|