@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
|
@@ -160,6 +160,14 @@ export type OidcTokenConfig = {
|
|
|
160
160
|
issuerMode?: IssuerMode | undefined;
|
|
161
161
|
};
|
|
162
162
|
export type CreateProjectRequestBody = {
|
|
163
|
+
/**
|
|
164
|
+
* Opt-in to preview toolbar on the project level
|
|
165
|
+
*/
|
|
166
|
+
enablePreviewFeedback?: boolean | null | undefined;
|
|
167
|
+
/**
|
|
168
|
+
* Opt-in to production toolbar on the project level
|
|
169
|
+
*/
|
|
170
|
+
enableProductionFeedback?: boolean | null | undefined;
|
|
163
171
|
/**
|
|
164
172
|
* The build command for this project. When `null` is used this value will be automatically detected
|
|
165
173
|
*/
|
|
@@ -481,7 +489,115 @@ export type CreateProjectEnv = {
|
|
|
481
489
|
comment?: string | undefined;
|
|
482
490
|
customEnvironmentIds?: Array<string> | undefined;
|
|
483
491
|
};
|
|
484
|
-
|
|
492
|
+
/**
|
|
493
|
+
* The type of environment (production, preview, or development)
|
|
494
|
+
*/
|
|
495
|
+
export declare const CreateProjectProjectsResponse200Type: {
|
|
496
|
+
readonly Production: "production";
|
|
497
|
+
readonly Preview: "preview";
|
|
498
|
+
readonly Development: "development";
|
|
499
|
+
};
|
|
500
|
+
/**
|
|
501
|
+
* The type of environment (production, preview, or development)
|
|
502
|
+
*/
|
|
503
|
+
export type CreateProjectProjectsResponse200Type = ClosedEnum<typeof CreateProjectProjectsResponse200Type>;
|
|
504
|
+
/**
|
|
505
|
+
* The type of matching to perform
|
|
506
|
+
*/
|
|
507
|
+
export declare const CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType: {
|
|
508
|
+
readonly EndsWith: "endsWith";
|
|
509
|
+
readonly StartsWith: "startsWith";
|
|
510
|
+
readonly Equals: "equals";
|
|
511
|
+
};
|
|
512
|
+
/**
|
|
513
|
+
* The type of matching to perform
|
|
514
|
+
*/
|
|
515
|
+
export type CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType = ClosedEnum<typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType>;
|
|
516
|
+
/**
|
|
517
|
+
* Configuration for matching git branches to this environment
|
|
518
|
+
*/
|
|
519
|
+
export type CreateProjectBranchMatcher = {
|
|
520
|
+
/**
|
|
521
|
+
* The type of matching to perform
|
|
522
|
+
*/
|
|
523
|
+
type: CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType;
|
|
524
|
+
/**
|
|
525
|
+
* The pattern to match against branch names
|
|
526
|
+
*/
|
|
527
|
+
pattern: string;
|
|
528
|
+
};
|
|
529
|
+
/**
|
|
530
|
+
* 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`.
|
|
531
|
+
*/
|
|
532
|
+
export type CreateProjectVerification = {
|
|
533
|
+
type: string;
|
|
534
|
+
domain: string;
|
|
535
|
+
value: string;
|
|
536
|
+
reason: string;
|
|
537
|
+
};
|
|
538
|
+
/**
|
|
539
|
+
* List of domains associated with this environment
|
|
540
|
+
*/
|
|
541
|
+
export type CreateProjectDomains = {
|
|
542
|
+
name: string;
|
|
543
|
+
apexName: string;
|
|
544
|
+
projectId: string;
|
|
545
|
+
redirect?: string | null | undefined;
|
|
546
|
+
redirectStatusCode?: number | null | undefined;
|
|
547
|
+
gitBranch?: string | null | undefined;
|
|
548
|
+
customEnvironmentId?: string | null | undefined;
|
|
549
|
+
updatedAt?: number | undefined;
|
|
550
|
+
createdAt?: number | undefined;
|
|
551
|
+
/**
|
|
552
|
+
* `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.
|
|
553
|
+
*/
|
|
554
|
+
verified: boolean;
|
|
555
|
+
/**
|
|
556
|
+
* 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`.
|
|
557
|
+
*/
|
|
558
|
+
verification?: Array<CreateProjectVerification> | undefined;
|
|
559
|
+
};
|
|
560
|
+
/**
|
|
561
|
+
* Internal representation of a custom environment with all required properties
|
|
562
|
+
*/
|
|
563
|
+
export type CreateProjectCustomEnvironments = {
|
|
564
|
+
/**
|
|
565
|
+
* Unique identifier for the custom environment (format: env_*)
|
|
566
|
+
*/
|
|
567
|
+
id: string;
|
|
568
|
+
/**
|
|
569
|
+
* URL-friendly name of the environment
|
|
570
|
+
*/
|
|
571
|
+
slug: string;
|
|
572
|
+
/**
|
|
573
|
+
* The type of environment (production, preview, or development)
|
|
574
|
+
*/
|
|
575
|
+
type: CreateProjectProjectsResponse200Type;
|
|
576
|
+
/**
|
|
577
|
+
* Optional description of the environment's purpose
|
|
578
|
+
*/
|
|
579
|
+
description?: string | undefined;
|
|
580
|
+
/**
|
|
581
|
+
* Configuration for matching git branches to this environment
|
|
582
|
+
*/
|
|
583
|
+
branchMatcher?: CreateProjectBranchMatcher | undefined;
|
|
584
|
+
/**
|
|
585
|
+
* List of domains associated with this environment
|
|
586
|
+
*/
|
|
587
|
+
domains?: Array<CreateProjectDomains> | undefined;
|
|
588
|
+
/**
|
|
589
|
+
* List of aliases for the current deployment
|
|
590
|
+
*/
|
|
591
|
+
currentDeploymentAliases?: Array<string> | undefined;
|
|
592
|
+
/**
|
|
593
|
+
* Timestamp when the environment was created
|
|
594
|
+
*/
|
|
595
|
+
createdAt: number;
|
|
596
|
+
/**
|
|
597
|
+
* Timestamp when the environment was last updated
|
|
598
|
+
*/
|
|
599
|
+
updatedAt: number;
|
|
600
|
+
};
|
|
485
601
|
export declare const CreateProjectProjectsFramework: {
|
|
486
602
|
readonly Blitzjs: "blitzjs";
|
|
487
603
|
readonly Nextjs: "nextjs";
|
|
@@ -552,7 +668,7 @@ export declare const CreateProjectProjectsResponse200ApplicationJSONResponseBody
|
|
|
552
668
|
* The type of matching to perform
|
|
553
669
|
*/
|
|
554
670
|
export type CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType = ClosedEnum<typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType>;
|
|
555
|
-
export type
|
|
671
|
+
export type CreateProjectProjectsBranchMatcher = {
|
|
556
672
|
/**
|
|
557
673
|
* The type of matching to perform
|
|
558
674
|
*/
|
|
@@ -619,10 +735,10 @@ export declare const CreateProjectReadySubstate: {
|
|
|
619
735
|
readonly Promoted: "PROMOTED";
|
|
620
736
|
};
|
|
621
737
|
export type CreateProjectReadySubstate = ClosedEnum<typeof CreateProjectReadySubstate>;
|
|
622
|
-
export declare const
|
|
738
|
+
export declare const CreateProjectProjectsResponse200ApplicationJSONType: {
|
|
623
739
|
readonly Lambdas: "LAMBDAS";
|
|
624
740
|
};
|
|
625
|
-
export type
|
|
741
|
+
export type CreateProjectProjectsResponse200ApplicationJSONType = ClosedEnum<typeof CreateProjectProjectsResponse200ApplicationJSONType>;
|
|
626
742
|
export type CreateProjectLatestDeployments = {
|
|
627
743
|
id: string;
|
|
628
744
|
alias?: Array<string> | undefined;
|
|
@@ -630,7 +746,7 @@ export type CreateProjectLatestDeployments = {
|
|
|
630
746
|
aliasError?: CreateProjectAliasError | null | undefined;
|
|
631
747
|
aliasFinal?: string | null | undefined;
|
|
632
748
|
automaticAliases?: Array<string> | undefined;
|
|
633
|
-
branchMatcher?:
|
|
749
|
+
branchMatcher?: CreateProjectProjectsBranchMatcher | undefined;
|
|
634
750
|
buildingAt?: number | undefined;
|
|
635
751
|
builds?: Array<CreateProjectBuilds> | undefined;
|
|
636
752
|
checksConclusion?: CreateProjectChecksConclusion | undefined;
|
|
@@ -661,7 +777,7 @@ export type CreateProjectLatestDeployments = {
|
|
|
661
777
|
requestedAt?: number | undefined;
|
|
662
778
|
target?: string | null | undefined;
|
|
663
779
|
teamId?: string | null | undefined;
|
|
664
|
-
type:
|
|
780
|
+
type: CreateProjectProjectsResponse200ApplicationJSONType;
|
|
665
781
|
url: string;
|
|
666
782
|
userId: string;
|
|
667
783
|
withCache?: boolean | undefined;
|
|
@@ -861,6 +977,10 @@ export type CreateProjectStages = {
|
|
|
861
977
|
* Whether or not this stage requires approval to proceed.
|
|
862
978
|
*/
|
|
863
979
|
requireApproval?: boolean | undefined;
|
|
980
|
+
/**
|
|
981
|
+
* duration is the total time to serve a stage, at the given targetPercentage.
|
|
982
|
+
*/
|
|
983
|
+
duration?: number | undefined;
|
|
864
984
|
};
|
|
865
985
|
export type CreateProjectRollingRelease = {
|
|
866
986
|
/**
|
|
@@ -896,8 +1016,8 @@ export type CreateProjectDefaultResourceConfig = {
|
|
|
896
1016
|
buildMachineType?: CreateProjectProjectsBuildMachineType | undefined;
|
|
897
1017
|
};
|
|
898
1018
|
export declare const CreateProjectDeploymentType: {
|
|
899
|
-
readonly All: "all";
|
|
900
1019
|
readonly Preview: "preview";
|
|
1020
|
+
readonly All: "all";
|
|
901
1021
|
readonly ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews";
|
|
902
1022
|
};
|
|
903
1023
|
export type CreateProjectDeploymentType = ClosedEnum<typeof CreateProjectDeploymentType>;
|
|
@@ -921,7 +1041,7 @@ export declare const CreateProjectProjectsResponse200ApplicationJSONResponseBody
|
|
|
921
1041
|
* The type of matching to perform
|
|
922
1042
|
*/
|
|
923
1043
|
export type CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType = ClosedEnum<typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType>;
|
|
924
|
-
export type
|
|
1044
|
+
export type CreateProjectProjectsResponseBranchMatcher = {
|
|
925
1045
|
/**
|
|
926
1046
|
* The type of matching to perform
|
|
927
1047
|
*/
|
|
@@ -988,10 +1108,10 @@ export declare const CreateProjectProjectsReadySubstate: {
|
|
|
988
1108
|
readonly Promoted: "PROMOTED";
|
|
989
1109
|
};
|
|
990
1110
|
export type CreateProjectProjectsReadySubstate = ClosedEnum<typeof CreateProjectProjectsReadySubstate>;
|
|
991
|
-
export declare const
|
|
1111
|
+
export declare const CreateProjectProjectsResponse200ApplicationJSONResponseBodyType: {
|
|
992
1112
|
readonly Lambdas: "LAMBDAS";
|
|
993
1113
|
};
|
|
994
|
-
export type
|
|
1114
|
+
export type CreateProjectProjectsResponse200ApplicationJSONResponseBodyType = ClosedEnum<typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyType>;
|
|
995
1115
|
export type CreateProjectTargets = {
|
|
996
1116
|
id: string;
|
|
997
1117
|
alias?: Array<string> | undefined;
|
|
@@ -999,7 +1119,7 @@ export type CreateProjectTargets = {
|
|
|
999
1119
|
aliasError?: CreateProjectProjectsAliasError | null | undefined;
|
|
1000
1120
|
aliasFinal?: string | null | undefined;
|
|
1001
1121
|
automaticAliases?: Array<string> | undefined;
|
|
1002
|
-
branchMatcher?:
|
|
1122
|
+
branchMatcher?: CreateProjectProjectsResponseBranchMatcher | undefined;
|
|
1003
1123
|
buildingAt?: number | undefined;
|
|
1004
1124
|
builds?: Array<CreateProjectProjectsBuilds> | undefined;
|
|
1005
1125
|
checksConclusion?: CreateProjectProjectsChecksConclusion | undefined;
|
|
@@ -1030,7 +1150,7 @@ export type CreateProjectTargets = {
|
|
|
1030
1150
|
requestedAt?: number | undefined;
|
|
1031
1151
|
target?: string | null | undefined;
|
|
1032
1152
|
teamId?: string | null | undefined;
|
|
1033
|
-
type:
|
|
1153
|
+
type: CreateProjectProjectsResponse200ApplicationJSONResponseBodyType;
|
|
1034
1154
|
url: string;
|
|
1035
1155
|
userId: string;
|
|
1036
1156
|
withCache?: boolean | undefined;
|
|
@@ -1241,17 +1361,21 @@ export declare const CreateProjectJobStatus: {
|
|
|
1241
1361
|
readonly InProgress: "in-progress";
|
|
1242
1362
|
};
|
|
1243
1363
|
export type CreateProjectJobStatus = ClosedEnum<typeof CreateProjectJobStatus>;
|
|
1244
|
-
export declare const
|
|
1364
|
+
export declare const CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType: {
|
|
1245
1365
|
readonly Promote: "promote";
|
|
1246
1366
|
readonly Rollback: "rollback";
|
|
1247
1367
|
};
|
|
1248
|
-
export type
|
|
1368
|
+
export type CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType = ClosedEnum<typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType>;
|
|
1249
1369
|
export type CreateProjectLastAliasRequest = {
|
|
1250
1370
|
fromDeploymentId: string;
|
|
1251
1371
|
toDeploymentId: string;
|
|
1372
|
+
/**
|
|
1373
|
+
* If rolling back from a rolling release, fromDeploymentId captures the "base" of that rolling release, and fromRollingReleaseId captures the "target" of that rolling release.
|
|
1374
|
+
*/
|
|
1375
|
+
fromRollingReleaseId?: string | undefined;
|
|
1252
1376
|
jobStatus: CreateProjectJobStatus;
|
|
1253
1377
|
requestedAt: number;
|
|
1254
|
-
type:
|
|
1378
|
+
type: CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType;
|
|
1255
1379
|
};
|
|
1256
1380
|
export declare const CreateProjectScope: {
|
|
1257
1381
|
readonly AutomationBypass: "automation-bypass";
|
|
@@ -1263,20 +1387,20 @@ export type CreateProjectProtectionBypass = {
|
|
|
1263
1387
|
scope: CreateProjectScope;
|
|
1264
1388
|
};
|
|
1265
1389
|
export declare const CreateProjectTrustedIpsProjectsDeploymentType: {
|
|
1266
|
-
readonly
|
|
1390
|
+
readonly Production: "production";
|
|
1267
1391
|
readonly Preview: "preview";
|
|
1392
|
+
readonly All: "all";
|
|
1268
1393
|
readonly ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews";
|
|
1269
|
-
readonly Production: "production";
|
|
1270
1394
|
};
|
|
1271
1395
|
export type CreateProjectTrustedIpsProjectsDeploymentType = ClosedEnum<typeof CreateProjectTrustedIpsProjectsDeploymentType>;
|
|
1272
1396
|
export type CreateProjectTrustedIps2 = {
|
|
1273
1397
|
deploymentType: CreateProjectTrustedIpsProjectsDeploymentType;
|
|
1274
1398
|
};
|
|
1275
1399
|
export declare const CreateProjectTrustedIpsDeploymentType: {
|
|
1276
|
-
readonly
|
|
1400
|
+
readonly Production: "production";
|
|
1277
1401
|
readonly Preview: "preview";
|
|
1402
|
+
readonly All: "all";
|
|
1278
1403
|
readonly ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews";
|
|
1279
|
-
readonly Production: "production";
|
|
1280
1404
|
};
|
|
1281
1405
|
export type CreateProjectTrustedIpsDeploymentType = ClosedEnum<typeof CreateProjectTrustedIpsDeploymentType>;
|
|
1282
1406
|
export type TrustedIpsAddresses = {
|
|
@@ -1896,6 +2020,8 @@ export declare function oidcTokenConfigFromJSON(jsonString: string): SafeParseRe
|
|
|
1896
2020
|
export declare const CreateProjectRequestBody$inboundSchema: z.ZodType<CreateProjectRequestBody, z.ZodTypeDef, unknown>;
|
|
1897
2021
|
/** @internal */
|
|
1898
2022
|
export type CreateProjectRequestBody$Outbound = {
|
|
2023
|
+
enablePreviewFeedback?: boolean | null | undefined;
|
|
2024
|
+
enableProductionFeedback?: boolean | null | undefined;
|
|
1899
2025
|
buildCommand?: string | null | undefined;
|
|
1900
2026
|
commandForIgnoringBuildStep?: string | null | undefined;
|
|
1901
2027
|
devCommand?: string | null | undefined;
|
|
@@ -2919,9 +3045,143 @@ export declare namespace CreateProjectEnv$ {
|
|
|
2919
3045
|
export declare function createProjectEnvToJSON(createProjectEnv: CreateProjectEnv): string;
|
|
2920
3046
|
export declare function createProjectEnvFromJSON(jsonString: string): SafeParseResult<CreateProjectEnv, SDKValidationError>;
|
|
2921
3047
|
/** @internal */
|
|
3048
|
+
export declare const CreateProjectProjectsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof CreateProjectProjectsResponse200Type>;
|
|
3049
|
+
/** @internal */
|
|
3050
|
+
export declare const CreateProjectProjectsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof CreateProjectProjectsResponse200Type>;
|
|
3051
|
+
/**
|
|
3052
|
+
* @internal
|
|
3053
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3054
|
+
*/
|
|
3055
|
+
export declare namespace CreateProjectProjectsResponse200Type$ {
|
|
3056
|
+
/** @deprecated use `CreateProjectProjectsResponse200Type$inboundSchema` instead. */
|
|
3057
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
3058
|
+
readonly Production: "production";
|
|
3059
|
+
readonly Preview: "preview";
|
|
3060
|
+
readonly Development: "development";
|
|
3061
|
+
}>;
|
|
3062
|
+
/** @deprecated use `CreateProjectProjectsResponse200Type$outboundSchema` instead. */
|
|
3063
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
3064
|
+
readonly Production: "production";
|
|
3065
|
+
readonly Preview: "preview";
|
|
3066
|
+
readonly Development: "development";
|
|
3067
|
+
}>;
|
|
3068
|
+
}
|
|
3069
|
+
/** @internal */
|
|
3070
|
+
export declare const CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema: z.ZodNativeEnum<typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType>;
|
|
3071
|
+
/** @internal */
|
|
3072
|
+
export declare const CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema: z.ZodNativeEnum<typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType>;
|
|
3073
|
+
/**
|
|
3074
|
+
* @internal
|
|
3075
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3076
|
+
*/
|
|
3077
|
+
export declare namespace CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$ {
|
|
3078
|
+
/** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema` instead. */
|
|
3079
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
3080
|
+
readonly EndsWith: "endsWith";
|
|
3081
|
+
readonly StartsWith: "startsWith";
|
|
3082
|
+
readonly Equals: "equals";
|
|
3083
|
+
}>;
|
|
3084
|
+
/** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema` instead. */
|
|
3085
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
3086
|
+
readonly EndsWith: "endsWith";
|
|
3087
|
+
readonly StartsWith: "startsWith";
|
|
3088
|
+
readonly Equals: "equals";
|
|
3089
|
+
}>;
|
|
3090
|
+
}
|
|
3091
|
+
/** @internal */
|
|
3092
|
+
export declare const CreateProjectBranchMatcher$inboundSchema: z.ZodType<CreateProjectBranchMatcher, z.ZodTypeDef, unknown>;
|
|
3093
|
+
/** @internal */
|
|
3094
|
+
export type CreateProjectBranchMatcher$Outbound = {
|
|
3095
|
+
type: string;
|
|
3096
|
+
pattern: string;
|
|
3097
|
+
};
|
|
3098
|
+
/** @internal */
|
|
3099
|
+
export declare const CreateProjectBranchMatcher$outboundSchema: z.ZodType<CreateProjectBranchMatcher$Outbound, z.ZodTypeDef, CreateProjectBranchMatcher>;
|
|
3100
|
+
/**
|
|
3101
|
+
* @internal
|
|
3102
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3103
|
+
*/
|
|
3104
|
+
export declare namespace CreateProjectBranchMatcher$ {
|
|
3105
|
+
/** @deprecated use `CreateProjectBranchMatcher$inboundSchema` instead. */
|
|
3106
|
+
const inboundSchema: z.ZodType<CreateProjectBranchMatcher, z.ZodTypeDef, unknown>;
|
|
3107
|
+
/** @deprecated use `CreateProjectBranchMatcher$outboundSchema` instead. */
|
|
3108
|
+
const outboundSchema: z.ZodType<CreateProjectBranchMatcher$Outbound, z.ZodTypeDef, CreateProjectBranchMatcher>;
|
|
3109
|
+
/** @deprecated use `CreateProjectBranchMatcher$Outbound` instead. */
|
|
3110
|
+
type Outbound = CreateProjectBranchMatcher$Outbound;
|
|
3111
|
+
}
|
|
3112
|
+
export declare function createProjectBranchMatcherToJSON(createProjectBranchMatcher: CreateProjectBranchMatcher): string;
|
|
3113
|
+
export declare function createProjectBranchMatcherFromJSON(jsonString: string): SafeParseResult<CreateProjectBranchMatcher, SDKValidationError>;
|
|
3114
|
+
/** @internal */
|
|
3115
|
+
export declare const CreateProjectVerification$inboundSchema: z.ZodType<CreateProjectVerification, z.ZodTypeDef, unknown>;
|
|
3116
|
+
/** @internal */
|
|
3117
|
+
export type CreateProjectVerification$Outbound = {
|
|
3118
|
+
type: string;
|
|
3119
|
+
domain: string;
|
|
3120
|
+
value: string;
|
|
3121
|
+
reason: string;
|
|
3122
|
+
};
|
|
3123
|
+
/** @internal */
|
|
3124
|
+
export declare const CreateProjectVerification$outboundSchema: z.ZodType<CreateProjectVerification$Outbound, z.ZodTypeDef, CreateProjectVerification>;
|
|
3125
|
+
/**
|
|
3126
|
+
* @internal
|
|
3127
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3128
|
+
*/
|
|
3129
|
+
export declare namespace CreateProjectVerification$ {
|
|
3130
|
+
/** @deprecated use `CreateProjectVerification$inboundSchema` instead. */
|
|
3131
|
+
const inboundSchema: z.ZodType<CreateProjectVerification, z.ZodTypeDef, unknown>;
|
|
3132
|
+
/** @deprecated use `CreateProjectVerification$outboundSchema` instead. */
|
|
3133
|
+
const outboundSchema: z.ZodType<CreateProjectVerification$Outbound, z.ZodTypeDef, CreateProjectVerification>;
|
|
3134
|
+
/** @deprecated use `CreateProjectVerification$Outbound` instead. */
|
|
3135
|
+
type Outbound = CreateProjectVerification$Outbound;
|
|
3136
|
+
}
|
|
3137
|
+
export declare function createProjectVerificationToJSON(createProjectVerification: CreateProjectVerification): string;
|
|
3138
|
+
export declare function createProjectVerificationFromJSON(jsonString: string): SafeParseResult<CreateProjectVerification, SDKValidationError>;
|
|
3139
|
+
/** @internal */
|
|
3140
|
+
export declare const CreateProjectDomains$inboundSchema: z.ZodType<CreateProjectDomains, z.ZodTypeDef, unknown>;
|
|
3141
|
+
/** @internal */
|
|
3142
|
+
export type CreateProjectDomains$Outbound = {
|
|
3143
|
+
name: string;
|
|
3144
|
+
apexName: string;
|
|
3145
|
+
projectId: string;
|
|
3146
|
+
redirect?: string | null | undefined;
|
|
3147
|
+
redirectStatusCode?: number | null | undefined;
|
|
3148
|
+
gitBranch?: string | null | undefined;
|
|
3149
|
+
customEnvironmentId?: string | null | undefined;
|
|
3150
|
+
updatedAt?: number | undefined;
|
|
3151
|
+
createdAt?: number | undefined;
|
|
3152
|
+
verified: boolean;
|
|
3153
|
+
verification?: Array<CreateProjectVerification$Outbound> | undefined;
|
|
3154
|
+
};
|
|
3155
|
+
/** @internal */
|
|
3156
|
+
export declare const CreateProjectDomains$outboundSchema: z.ZodType<CreateProjectDomains$Outbound, z.ZodTypeDef, CreateProjectDomains>;
|
|
3157
|
+
/**
|
|
3158
|
+
* @internal
|
|
3159
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3160
|
+
*/
|
|
3161
|
+
export declare namespace CreateProjectDomains$ {
|
|
3162
|
+
/** @deprecated use `CreateProjectDomains$inboundSchema` instead. */
|
|
3163
|
+
const inboundSchema: z.ZodType<CreateProjectDomains, z.ZodTypeDef, unknown>;
|
|
3164
|
+
/** @deprecated use `CreateProjectDomains$outboundSchema` instead. */
|
|
3165
|
+
const outboundSchema: z.ZodType<CreateProjectDomains$Outbound, z.ZodTypeDef, CreateProjectDomains>;
|
|
3166
|
+
/** @deprecated use `CreateProjectDomains$Outbound` instead. */
|
|
3167
|
+
type Outbound = CreateProjectDomains$Outbound;
|
|
3168
|
+
}
|
|
3169
|
+
export declare function createProjectDomainsToJSON(createProjectDomains: CreateProjectDomains): string;
|
|
3170
|
+
export declare function createProjectDomainsFromJSON(jsonString: string): SafeParseResult<CreateProjectDomains, SDKValidationError>;
|
|
3171
|
+
/** @internal */
|
|
2922
3172
|
export declare const CreateProjectCustomEnvironments$inboundSchema: z.ZodType<CreateProjectCustomEnvironments, z.ZodTypeDef, unknown>;
|
|
2923
3173
|
/** @internal */
|
|
2924
|
-
export type CreateProjectCustomEnvironments$Outbound = {
|
|
3174
|
+
export type CreateProjectCustomEnvironments$Outbound = {
|
|
3175
|
+
id: string;
|
|
3176
|
+
slug: string;
|
|
3177
|
+
type: string;
|
|
3178
|
+
description?: string | undefined;
|
|
3179
|
+
branchMatcher?: CreateProjectBranchMatcher$Outbound | undefined;
|
|
3180
|
+
domains?: Array<CreateProjectDomains$Outbound> | undefined;
|
|
3181
|
+
currentDeploymentAliases?: Array<string> | undefined;
|
|
3182
|
+
createdAt: number;
|
|
3183
|
+
updatedAt: number;
|
|
3184
|
+
};
|
|
2925
3185
|
/** @internal */
|
|
2926
3186
|
export declare const CreateProjectCustomEnvironments$outboundSchema: z.ZodType<CreateProjectCustomEnvironments$Outbound, z.ZodTypeDef, CreateProjectCustomEnvironments>;
|
|
2927
3187
|
/**
|
|
@@ -3135,28 +3395,28 @@ export declare namespace CreateProjectProjectsResponse200ApplicationJSONResponse
|
|
|
3135
3395
|
}>;
|
|
3136
3396
|
}
|
|
3137
3397
|
/** @internal */
|
|
3138
|
-
export declare const
|
|
3398
|
+
export declare const CreateProjectProjectsBranchMatcher$inboundSchema: z.ZodType<CreateProjectProjectsBranchMatcher, z.ZodTypeDef, unknown>;
|
|
3139
3399
|
/** @internal */
|
|
3140
|
-
export type
|
|
3400
|
+
export type CreateProjectProjectsBranchMatcher$Outbound = {
|
|
3141
3401
|
type: string;
|
|
3142
3402
|
pattern: string;
|
|
3143
3403
|
};
|
|
3144
3404
|
/** @internal */
|
|
3145
|
-
export declare const
|
|
3405
|
+
export declare const CreateProjectProjectsBranchMatcher$outboundSchema: z.ZodType<CreateProjectProjectsBranchMatcher$Outbound, z.ZodTypeDef, CreateProjectProjectsBranchMatcher>;
|
|
3146
3406
|
/**
|
|
3147
3407
|
* @internal
|
|
3148
3408
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3149
3409
|
*/
|
|
3150
|
-
export declare namespace
|
|
3151
|
-
/** @deprecated use `
|
|
3152
|
-
const inboundSchema: z.ZodType<
|
|
3153
|
-
/** @deprecated use `
|
|
3154
|
-
const outboundSchema: z.ZodType<
|
|
3155
|
-
/** @deprecated use `
|
|
3156
|
-
type Outbound =
|
|
3410
|
+
export declare namespace CreateProjectProjectsBranchMatcher$ {
|
|
3411
|
+
/** @deprecated use `CreateProjectProjectsBranchMatcher$inboundSchema` instead. */
|
|
3412
|
+
const inboundSchema: z.ZodType<CreateProjectProjectsBranchMatcher, z.ZodTypeDef, unknown>;
|
|
3413
|
+
/** @deprecated use `CreateProjectProjectsBranchMatcher$outboundSchema` instead. */
|
|
3414
|
+
const outboundSchema: z.ZodType<CreateProjectProjectsBranchMatcher$Outbound, z.ZodTypeDef, CreateProjectProjectsBranchMatcher>;
|
|
3415
|
+
/** @deprecated use `CreateProjectProjectsBranchMatcher$Outbound` instead. */
|
|
3416
|
+
type Outbound = CreateProjectProjectsBranchMatcher$Outbound;
|
|
3157
3417
|
}
|
|
3158
|
-
export declare function
|
|
3159
|
-
export declare function
|
|
3418
|
+
export declare function createProjectProjectsBranchMatcherToJSON(createProjectProjectsBranchMatcher: CreateProjectProjectsBranchMatcher): string;
|
|
3419
|
+
export declare function createProjectProjectsBranchMatcherFromJSON(jsonString: string): SafeParseResult<CreateProjectProjectsBranchMatcher, SDKValidationError>;
|
|
3160
3420
|
/** @internal */
|
|
3161
3421
|
export declare const CreateProjectBuilds$inboundSchema: z.ZodType<CreateProjectBuilds, z.ZodTypeDef, unknown>;
|
|
3162
3422
|
/** @internal */
|
|
@@ -3356,19 +3616,19 @@ export declare namespace CreateProjectReadySubstate$ {
|
|
|
3356
3616
|
}>;
|
|
3357
3617
|
}
|
|
3358
3618
|
/** @internal */
|
|
3359
|
-
export declare const
|
|
3619
|
+
export declare const CreateProjectProjectsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum<typeof CreateProjectProjectsResponse200ApplicationJSONType>;
|
|
3360
3620
|
/** @internal */
|
|
3361
|
-
export declare const
|
|
3621
|
+
export declare const CreateProjectProjectsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum<typeof CreateProjectProjectsResponse200ApplicationJSONType>;
|
|
3362
3622
|
/**
|
|
3363
3623
|
* @internal
|
|
3364
3624
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3365
3625
|
*/
|
|
3366
|
-
export declare namespace
|
|
3367
|
-
/** @deprecated use `
|
|
3626
|
+
export declare namespace CreateProjectProjectsResponse200ApplicationJSONType$ {
|
|
3627
|
+
/** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONType$inboundSchema` instead. */
|
|
3368
3628
|
const inboundSchema: z.ZodNativeEnum<{
|
|
3369
3629
|
readonly Lambdas: "LAMBDAS";
|
|
3370
3630
|
}>;
|
|
3371
|
-
/** @deprecated use `
|
|
3631
|
+
/** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONType$outboundSchema` instead. */
|
|
3372
3632
|
const outboundSchema: z.ZodNativeEnum<{
|
|
3373
3633
|
readonly Lambdas: "LAMBDAS";
|
|
3374
3634
|
}>;
|
|
@@ -3383,7 +3643,7 @@ export type CreateProjectLatestDeployments$Outbound = {
|
|
|
3383
3643
|
aliasError?: CreateProjectAliasError$Outbound | null | undefined;
|
|
3384
3644
|
aliasFinal?: string | null | undefined;
|
|
3385
3645
|
automaticAliases?: Array<string> | undefined;
|
|
3386
|
-
branchMatcher?:
|
|
3646
|
+
branchMatcher?: CreateProjectProjectsBranchMatcher$Outbound | undefined;
|
|
3387
3647
|
buildingAt?: number | undefined;
|
|
3388
3648
|
builds?: Array<CreateProjectBuilds$Outbound> | undefined;
|
|
3389
3649
|
checksConclusion?: string | undefined;
|
|
@@ -4002,6 +4262,7 @@ export type CreateProjectStages$Outbound = {
|
|
|
4002
4262
|
targetPercentage: number;
|
|
4003
4263
|
minutesToRelease?: number | undefined;
|
|
4004
4264
|
requireApproval?: boolean | undefined;
|
|
4265
|
+
duration?: number | undefined;
|
|
4005
4266
|
};
|
|
4006
4267
|
/** @internal */
|
|
4007
4268
|
export declare const CreateProjectStages$outboundSchema: z.ZodType<CreateProjectStages$Outbound, z.ZodTypeDef, CreateProjectStages>;
|
|
@@ -4122,14 +4383,14 @@ export declare const CreateProjectDeploymentType$outboundSchema: z.ZodNativeEnum
|
|
|
4122
4383
|
export declare namespace CreateProjectDeploymentType$ {
|
|
4123
4384
|
/** @deprecated use `CreateProjectDeploymentType$inboundSchema` instead. */
|
|
4124
4385
|
const inboundSchema: z.ZodNativeEnum<{
|
|
4125
|
-
readonly All: "all";
|
|
4126
4386
|
readonly Preview: "preview";
|
|
4387
|
+
readonly All: "all";
|
|
4127
4388
|
readonly ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews";
|
|
4128
4389
|
}>;
|
|
4129
4390
|
/** @deprecated use `CreateProjectDeploymentType$outboundSchema` instead. */
|
|
4130
4391
|
const outboundSchema: z.ZodNativeEnum<{
|
|
4131
|
-
readonly All: "all";
|
|
4132
4392
|
readonly Preview: "preview";
|
|
4393
|
+
readonly All: "all";
|
|
4133
4394
|
readonly ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews";
|
|
4134
4395
|
}>;
|
|
4135
4396
|
}
|
|
@@ -4221,28 +4482,28 @@ export declare namespace CreateProjectProjectsResponse200ApplicationJSONResponse
|
|
|
4221
4482
|
}>;
|
|
4222
4483
|
}
|
|
4223
4484
|
/** @internal */
|
|
4224
|
-
export declare const
|
|
4485
|
+
export declare const CreateProjectProjectsResponseBranchMatcher$inboundSchema: z.ZodType<CreateProjectProjectsResponseBranchMatcher, z.ZodTypeDef, unknown>;
|
|
4225
4486
|
/** @internal */
|
|
4226
|
-
export type
|
|
4487
|
+
export type CreateProjectProjectsResponseBranchMatcher$Outbound = {
|
|
4227
4488
|
type: string;
|
|
4228
4489
|
pattern: string;
|
|
4229
4490
|
};
|
|
4230
4491
|
/** @internal */
|
|
4231
|
-
export declare const
|
|
4492
|
+
export declare const CreateProjectProjectsResponseBranchMatcher$outboundSchema: z.ZodType<CreateProjectProjectsResponseBranchMatcher$Outbound, z.ZodTypeDef, CreateProjectProjectsResponseBranchMatcher>;
|
|
4232
4493
|
/**
|
|
4233
4494
|
* @internal
|
|
4234
4495
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4235
4496
|
*/
|
|
4236
|
-
export declare namespace
|
|
4237
|
-
/** @deprecated use `
|
|
4238
|
-
const inboundSchema: z.ZodType<
|
|
4239
|
-
/** @deprecated use `
|
|
4240
|
-
const outboundSchema: z.ZodType<
|
|
4241
|
-
/** @deprecated use `
|
|
4242
|
-
type Outbound =
|
|
4497
|
+
export declare namespace CreateProjectProjectsResponseBranchMatcher$ {
|
|
4498
|
+
/** @deprecated use `CreateProjectProjectsResponseBranchMatcher$inboundSchema` instead. */
|
|
4499
|
+
const inboundSchema: z.ZodType<CreateProjectProjectsResponseBranchMatcher, z.ZodTypeDef, unknown>;
|
|
4500
|
+
/** @deprecated use `CreateProjectProjectsResponseBranchMatcher$outboundSchema` instead. */
|
|
4501
|
+
const outboundSchema: z.ZodType<CreateProjectProjectsResponseBranchMatcher$Outbound, z.ZodTypeDef, CreateProjectProjectsResponseBranchMatcher>;
|
|
4502
|
+
/** @deprecated use `CreateProjectProjectsResponseBranchMatcher$Outbound` instead. */
|
|
4503
|
+
type Outbound = CreateProjectProjectsResponseBranchMatcher$Outbound;
|
|
4243
4504
|
}
|
|
4244
|
-
export declare function
|
|
4245
|
-
export declare function
|
|
4505
|
+
export declare function createProjectProjectsResponseBranchMatcherToJSON(createProjectProjectsResponseBranchMatcher: CreateProjectProjectsResponseBranchMatcher): string;
|
|
4506
|
+
export declare function createProjectProjectsResponseBranchMatcherFromJSON(jsonString: string): SafeParseResult<CreateProjectProjectsResponseBranchMatcher, SDKValidationError>;
|
|
4246
4507
|
/** @internal */
|
|
4247
4508
|
export declare const CreateProjectProjectsBuilds$inboundSchema: z.ZodType<CreateProjectProjectsBuilds, z.ZodTypeDef, unknown>;
|
|
4248
4509
|
/** @internal */
|
|
@@ -4442,19 +4703,19 @@ export declare namespace CreateProjectProjectsReadySubstate$ {
|
|
|
4442
4703
|
}>;
|
|
4443
4704
|
}
|
|
4444
4705
|
/** @internal */
|
|
4445
|
-
export declare const
|
|
4706
|
+
export declare const CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum<typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyType>;
|
|
4446
4707
|
/** @internal */
|
|
4447
|
-
export declare const
|
|
4708
|
+
export declare const CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema: z.ZodNativeEnum<typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyType>;
|
|
4448
4709
|
/**
|
|
4449
4710
|
* @internal
|
|
4450
4711
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4451
4712
|
*/
|
|
4452
|
-
export declare namespace
|
|
4453
|
-
/** @deprecated use `
|
|
4713
|
+
export declare namespace CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$ {
|
|
4714
|
+
/** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */
|
|
4454
4715
|
const inboundSchema: z.ZodNativeEnum<{
|
|
4455
4716
|
readonly Lambdas: "LAMBDAS";
|
|
4456
4717
|
}>;
|
|
4457
|
-
/** @deprecated use `
|
|
4718
|
+
/** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */
|
|
4458
4719
|
const outboundSchema: z.ZodNativeEnum<{
|
|
4459
4720
|
readonly Lambdas: "LAMBDAS";
|
|
4460
4721
|
}>;
|
|
@@ -4469,7 +4730,7 @@ export type CreateProjectTargets$Outbound = {
|
|
|
4469
4730
|
aliasError?: CreateProjectProjectsAliasError$Outbound | null | undefined;
|
|
4470
4731
|
aliasFinal?: string | null | undefined;
|
|
4471
4732
|
automaticAliases?: Array<string> | undefined;
|
|
4472
|
-
branchMatcher?:
|
|
4733
|
+
branchMatcher?: CreateProjectProjectsResponseBranchMatcher$Outbound | undefined;
|
|
4473
4734
|
buildingAt?: number | undefined;
|
|
4474
4735
|
builds?: Array<CreateProjectProjectsBuilds$Outbound> | undefined;
|
|
4475
4736
|
checksConclusion?: string | undefined;
|
|
@@ -4781,20 +5042,20 @@ export declare namespace CreateProjectJobStatus$ {
|
|
|
4781
5042
|
}>;
|
|
4782
5043
|
}
|
|
4783
5044
|
/** @internal */
|
|
4784
|
-
export declare const
|
|
5045
|
+
export declare const CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType$inboundSchema: z.ZodNativeEnum<typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType>;
|
|
4785
5046
|
/** @internal */
|
|
4786
|
-
export declare const
|
|
5047
|
+
export declare const CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType$outboundSchema: z.ZodNativeEnum<typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType>;
|
|
4787
5048
|
/**
|
|
4788
5049
|
* @internal
|
|
4789
5050
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4790
5051
|
*/
|
|
4791
|
-
export declare namespace
|
|
4792
|
-
/** @deprecated use `
|
|
5052
|
+
export declare namespace CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType$ {
|
|
5053
|
+
/** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType$inboundSchema` instead. */
|
|
4793
5054
|
const inboundSchema: z.ZodNativeEnum<{
|
|
4794
5055
|
readonly Promote: "promote";
|
|
4795
5056
|
readonly Rollback: "rollback";
|
|
4796
5057
|
}>;
|
|
4797
|
-
/** @deprecated use `
|
|
5058
|
+
/** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType$outboundSchema` instead. */
|
|
4798
5059
|
const outboundSchema: z.ZodNativeEnum<{
|
|
4799
5060
|
readonly Promote: "promote";
|
|
4800
5061
|
readonly Rollback: "rollback";
|
|
@@ -4806,6 +5067,7 @@ export declare const CreateProjectLastAliasRequest$inboundSchema: z.ZodType<Crea
|
|
|
4806
5067
|
export type CreateProjectLastAliasRequest$Outbound = {
|
|
4807
5068
|
fromDeploymentId: string;
|
|
4808
5069
|
toDeploymentId: string;
|
|
5070
|
+
fromRollingReleaseId?: string | undefined;
|
|
4809
5071
|
jobStatus: string;
|
|
4810
5072
|
requestedAt: number;
|
|
4811
5073
|
type: string;
|
|
@@ -4879,17 +5141,17 @@ export declare const CreateProjectTrustedIpsProjectsDeploymentType$outboundSchem
|
|
|
4879
5141
|
export declare namespace CreateProjectTrustedIpsProjectsDeploymentType$ {
|
|
4880
5142
|
/** @deprecated use `CreateProjectTrustedIpsProjectsDeploymentType$inboundSchema` instead. */
|
|
4881
5143
|
const inboundSchema: z.ZodNativeEnum<{
|
|
4882
|
-
readonly
|
|
5144
|
+
readonly Production: "production";
|
|
4883
5145
|
readonly Preview: "preview";
|
|
5146
|
+
readonly All: "all";
|
|
4884
5147
|
readonly ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews";
|
|
4885
|
-
readonly Production: "production";
|
|
4886
5148
|
}>;
|
|
4887
5149
|
/** @deprecated use `CreateProjectTrustedIpsProjectsDeploymentType$outboundSchema` instead. */
|
|
4888
5150
|
const outboundSchema: z.ZodNativeEnum<{
|
|
4889
|
-
readonly
|
|
5151
|
+
readonly Production: "production";
|
|
4890
5152
|
readonly Preview: "preview";
|
|
5153
|
+
readonly All: "all";
|
|
4891
5154
|
readonly ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews";
|
|
4892
|
-
readonly Production: "production";
|
|
4893
5155
|
}>;
|
|
4894
5156
|
}
|
|
4895
5157
|
/** @internal */
|
|
@@ -4925,17 +5187,17 @@ export declare const CreateProjectTrustedIpsDeploymentType$outboundSchema: z.Zod
|
|
|
4925
5187
|
export declare namespace CreateProjectTrustedIpsDeploymentType$ {
|
|
4926
5188
|
/** @deprecated use `CreateProjectTrustedIpsDeploymentType$inboundSchema` instead. */
|
|
4927
5189
|
const inboundSchema: z.ZodNativeEnum<{
|
|
4928
|
-
readonly
|
|
5190
|
+
readonly Production: "production";
|
|
4929
5191
|
readonly Preview: "preview";
|
|
5192
|
+
readonly All: "all";
|
|
4930
5193
|
readonly ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews";
|
|
4931
|
-
readonly Production: "production";
|
|
4932
5194
|
}>;
|
|
4933
5195
|
/** @deprecated use `CreateProjectTrustedIpsDeploymentType$outboundSchema` instead. */
|
|
4934
5196
|
const outboundSchema: z.ZodNativeEnum<{
|
|
4935
|
-
readonly
|
|
5197
|
+
readonly Production: "production";
|
|
4936
5198
|
readonly Preview: "preview";
|
|
5199
|
+
readonly All: "all";
|
|
4937
5200
|
readonly ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews";
|
|
4938
|
-
readonly Production: "production";
|
|
4939
5201
|
}>;
|
|
4940
5202
|
}
|
|
4941
5203
|
/** @internal */
|