@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
|
@@ -405,20 +405,19 @@ export type GetProjectsContentHint =
|
|
|
405
405
|
| GetProjectsContentHint15
|
|
406
406
|
| GetProjectsContentHint14;
|
|
407
407
|
|
|
408
|
-
export const
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
export type GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType =
|
|
408
|
+
export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyType = {
|
|
409
|
+
FlagsSecret: "flags-secret",
|
|
410
|
+
} as const;
|
|
411
|
+
export type GetProjectsProjectsResponse200ApplicationJSONResponseBodyType =
|
|
413
412
|
ClosedEnum<
|
|
414
|
-
typeof
|
|
413
|
+
typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyType
|
|
415
414
|
>;
|
|
416
415
|
|
|
417
416
|
/**
|
|
418
417
|
* Similar to `contentHints`, but should not be exposed to the user.
|
|
419
418
|
*/
|
|
420
419
|
export type GetProjectsInternalContentHint = {
|
|
421
|
-
type:
|
|
420
|
+
type: GetProjectsProjectsResponse200ApplicationJSONResponseBodyType;
|
|
422
421
|
/**
|
|
423
422
|
* Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.
|
|
424
423
|
*/
|
|
@@ -471,7 +470,127 @@ export type GetProjectsEnv = {
|
|
|
471
470
|
customEnvironmentIds?: Array<string> | undefined;
|
|
472
471
|
};
|
|
473
472
|
|
|
474
|
-
|
|
473
|
+
/**
|
|
474
|
+
* The type of environment (production, preview, or development)
|
|
475
|
+
*/
|
|
476
|
+
export const GetProjectsProjectsType = {
|
|
477
|
+
Production: "production",
|
|
478
|
+
Preview: "preview",
|
|
479
|
+
Development: "development",
|
|
480
|
+
} as const;
|
|
481
|
+
/**
|
|
482
|
+
* The type of environment (production, preview, or development)
|
|
483
|
+
*/
|
|
484
|
+
export type GetProjectsProjectsType = ClosedEnum<
|
|
485
|
+
typeof GetProjectsProjectsType
|
|
486
|
+
>;
|
|
487
|
+
|
|
488
|
+
/**
|
|
489
|
+
* The type of matching to perform
|
|
490
|
+
*/
|
|
491
|
+
export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType =
|
|
492
|
+
{
|
|
493
|
+
EndsWith: "endsWith",
|
|
494
|
+
StartsWith: "startsWith",
|
|
495
|
+
Equals: "equals",
|
|
496
|
+
} as const;
|
|
497
|
+
/**
|
|
498
|
+
* The type of matching to perform
|
|
499
|
+
*/
|
|
500
|
+
export type GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType =
|
|
501
|
+
ClosedEnum<
|
|
502
|
+
typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType
|
|
503
|
+
>;
|
|
504
|
+
|
|
505
|
+
/**
|
|
506
|
+
* Configuration for matching git branches to this environment
|
|
507
|
+
*/
|
|
508
|
+
export type GetProjectsBranchMatcher = {
|
|
509
|
+
/**
|
|
510
|
+
* The type of matching to perform
|
|
511
|
+
*/
|
|
512
|
+
type:
|
|
513
|
+
GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType;
|
|
514
|
+
/**
|
|
515
|
+
* The pattern to match against branch names
|
|
516
|
+
*/
|
|
517
|
+
pattern: string;
|
|
518
|
+
};
|
|
519
|
+
|
|
520
|
+
/**
|
|
521
|
+
* 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`.
|
|
522
|
+
*/
|
|
523
|
+
export type GetProjectsVerification = {
|
|
524
|
+
type: string;
|
|
525
|
+
domain: string;
|
|
526
|
+
value: string;
|
|
527
|
+
reason: string;
|
|
528
|
+
};
|
|
529
|
+
|
|
530
|
+
/**
|
|
531
|
+
* List of domains associated with this environment
|
|
532
|
+
*/
|
|
533
|
+
export type GetProjectsDomains = {
|
|
534
|
+
name: string;
|
|
535
|
+
apexName: string;
|
|
536
|
+
projectId: string;
|
|
537
|
+
redirect?: string | null | undefined;
|
|
538
|
+
redirectStatusCode?: number | null | undefined;
|
|
539
|
+
gitBranch?: string | null | undefined;
|
|
540
|
+
customEnvironmentId?: string | null | undefined;
|
|
541
|
+
updatedAt?: number | undefined;
|
|
542
|
+
createdAt?: number | undefined;
|
|
543
|
+
/**
|
|
544
|
+
* `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.
|
|
545
|
+
*/
|
|
546
|
+
verified: boolean;
|
|
547
|
+
/**
|
|
548
|
+
* 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`.
|
|
549
|
+
*/
|
|
550
|
+
verification?: Array<GetProjectsVerification> | undefined;
|
|
551
|
+
};
|
|
552
|
+
|
|
553
|
+
/**
|
|
554
|
+
* Internal representation of a custom environment with all required properties
|
|
555
|
+
*/
|
|
556
|
+
export type GetProjectsCustomEnvironments = {
|
|
557
|
+
/**
|
|
558
|
+
* Unique identifier for the custom environment (format: env_*)
|
|
559
|
+
*/
|
|
560
|
+
id: string;
|
|
561
|
+
/**
|
|
562
|
+
* URL-friendly name of the environment
|
|
563
|
+
*/
|
|
564
|
+
slug: string;
|
|
565
|
+
/**
|
|
566
|
+
* The type of environment (production, preview, or development)
|
|
567
|
+
*/
|
|
568
|
+
type: GetProjectsProjectsType;
|
|
569
|
+
/**
|
|
570
|
+
* Optional description of the environment's purpose
|
|
571
|
+
*/
|
|
572
|
+
description?: string | undefined;
|
|
573
|
+
/**
|
|
574
|
+
* Configuration for matching git branches to this environment
|
|
575
|
+
*/
|
|
576
|
+
branchMatcher?: GetProjectsBranchMatcher | undefined;
|
|
577
|
+
/**
|
|
578
|
+
* List of domains associated with this environment
|
|
579
|
+
*/
|
|
580
|
+
domains?: Array<GetProjectsDomains> | undefined;
|
|
581
|
+
/**
|
|
582
|
+
* List of aliases for the current deployment
|
|
583
|
+
*/
|
|
584
|
+
currentDeploymentAliases?: Array<string> | undefined;
|
|
585
|
+
/**
|
|
586
|
+
* Timestamp when the environment was created
|
|
587
|
+
*/
|
|
588
|
+
createdAt: number;
|
|
589
|
+
/**
|
|
590
|
+
* Timestamp when the environment was last updated
|
|
591
|
+
*/
|
|
592
|
+
updatedAt: number;
|
|
593
|
+
};
|
|
475
594
|
|
|
476
595
|
export const GetProjectsFramework = {
|
|
477
596
|
Blitzjs: "blitzjs",
|
|
@@ -538,24 +657,26 @@ export type GetProjectsAliasError = {
|
|
|
538
657
|
/**
|
|
539
658
|
* The type of matching to perform
|
|
540
659
|
*/
|
|
541
|
-
export const
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
660
|
+
export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType =
|
|
661
|
+
{
|
|
662
|
+
EndsWith: "endsWith",
|
|
663
|
+
StartsWith: "startsWith",
|
|
664
|
+
Equals: "equals",
|
|
665
|
+
} as const;
|
|
546
666
|
/**
|
|
547
667
|
* The type of matching to perform
|
|
548
668
|
*/
|
|
549
|
-
export type
|
|
669
|
+
export type GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType =
|
|
550
670
|
ClosedEnum<
|
|
551
|
-
typeof
|
|
671
|
+
typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType
|
|
552
672
|
>;
|
|
553
673
|
|
|
554
|
-
export type
|
|
674
|
+
export type GetProjectsProjectsBranchMatcher = {
|
|
555
675
|
/**
|
|
556
676
|
* The type of matching to perform
|
|
557
677
|
*/
|
|
558
|
-
type:
|
|
678
|
+
type:
|
|
679
|
+
GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType;
|
|
559
680
|
/**
|
|
560
681
|
* The pattern to match against branch names
|
|
561
682
|
*/
|
|
@@ -631,11 +752,11 @@ export type GetProjectsReadySubstate = ClosedEnum<
|
|
|
631
752
|
typeof GetProjectsReadySubstate
|
|
632
753
|
>;
|
|
633
754
|
|
|
634
|
-
export const
|
|
755
|
+
export const GetProjectsProjectsResponseType = {
|
|
635
756
|
Lambdas: "LAMBDAS",
|
|
636
757
|
} as const;
|
|
637
|
-
export type
|
|
638
|
-
typeof
|
|
758
|
+
export type GetProjectsProjectsResponseType = ClosedEnum<
|
|
759
|
+
typeof GetProjectsProjectsResponseType
|
|
639
760
|
>;
|
|
640
761
|
|
|
641
762
|
export type GetProjectsLatestDeployments = {
|
|
@@ -645,7 +766,7 @@ export type GetProjectsLatestDeployments = {
|
|
|
645
766
|
aliasError?: GetProjectsAliasError | null | undefined;
|
|
646
767
|
aliasFinal?: string | null | undefined;
|
|
647
768
|
automaticAliases?: Array<string> | undefined;
|
|
648
|
-
branchMatcher?:
|
|
769
|
+
branchMatcher?: GetProjectsProjectsBranchMatcher | undefined;
|
|
649
770
|
buildingAt?: number | undefined;
|
|
650
771
|
builds?: Array<GetProjectsBuilds> | undefined;
|
|
651
772
|
checksConclusion?: GetProjectsChecksConclusion | undefined;
|
|
@@ -674,7 +795,7 @@ export type GetProjectsLatestDeployments = {
|
|
|
674
795
|
requestedAt?: number | undefined;
|
|
675
796
|
target?: string | null | undefined;
|
|
676
797
|
teamId?: string | null | undefined;
|
|
677
|
-
type:
|
|
798
|
+
type: GetProjectsProjectsResponseType;
|
|
678
799
|
url: string;
|
|
679
800
|
userId: string;
|
|
680
801
|
withCache?: boolean | undefined;
|
|
@@ -914,6 +1035,10 @@ export type GetProjectsStages = {
|
|
|
914
1035
|
* Whether or not this stage requires approval to proceed.
|
|
915
1036
|
*/
|
|
916
1037
|
requireApproval?: boolean | undefined;
|
|
1038
|
+
/**
|
|
1039
|
+
* duration is the total time to serve a stage, at the given targetPercentage.
|
|
1040
|
+
*/
|
|
1041
|
+
duration?: number | undefined;
|
|
917
1042
|
};
|
|
918
1043
|
|
|
919
1044
|
export type GetProjectsRollingRelease = {
|
|
@@ -960,8 +1085,8 @@ export type GetProjectsDefaultResourceConfig = {
|
|
|
960
1085
|
};
|
|
961
1086
|
|
|
962
1087
|
export const GetProjectsDeploymentType = {
|
|
963
|
-
All: "all",
|
|
964
1088
|
Preview: "preview",
|
|
1089
|
+
All: "all",
|
|
965
1090
|
ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
|
|
966
1091
|
} as const;
|
|
967
1092
|
export type GetProjectsDeploymentType = ClosedEnum<
|
|
@@ -982,23 +1107,25 @@ export type GetProjectsProjectsAliasError = {
|
|
|
982
1107
|
/**
|
|
983
1108
|
* The type of matching to perform
|
|
984
1109
|
*/
|
|
985
|
-
export const
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
1110
|
+
export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType =
|
|
1111
|
+
{
|
|
1112
|
+
EndsWith: "endsWith",
|
|
1113
|
+
StartsWith: "startsWith",
|
|
1114
|
+
Equals: "equals",
|
|
1115
|
+
} as const;
|
|
990
1116
|
/**
|
|
991
1117
|
* The type of matching to perform
|
|
992
1118
|
*/
|
|
993
|
-
export type
|
|
994
|
-
|
|
995
|
-
|
|
1119
|
+
export type GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType =
|
|
1120
|
+
ClosedEnum<
|
|
1121
|
+
typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType
|
|
1122
|
+
>;
|
|
996
1123
|
|
|
997
|
-
export type
|
|
1124
|
+
export type GetProjectsProjectsResponseBranchMatcher = {
|
|
998
1125
|
/**
|
|
999
1126
|
* The type of matching to perform
|
|
1000
1127
|
*/
|
|
1001
|
-
type:
|
|
1128
|
+
type: GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType;
|
|
1002
1129
|
/**
|
|
1003
1130
|
* The pattern to match against branch names
|
|
1004
1131
|
*/
|
|
@@ -1080,11 +1207,11 @@ export type GetProjectsProjectsReadySubstate = ClosedEnum<
|
|
|
1080
1207
|
typeof GetProjectsProjectsReadySubstate
|
|
1081
1208
|
>;
|
|
1082
1209
|
|
|
1083
|
-
export const
|
|
1210
|
+
export const GetProjectsProjectsResponse200Type = {
|
|
1084
1211
|
Lambdas: "LAMBDAS",
|
|
1085
1212
|
} as const;
|
|
1086
|
-
export type
|
|
1087
|
-
typeof
|
|
1213
|
+
export type GetProjectsProjectsResponse200Type = ClosedEnum<
|
|
1214
|
+
typeof GetProjectsProjectsResponse200Type
|
|
1088
1215
|
>;
|
|
1089
1216
|
|
|
1090
1217
|
export type GetProjectsTargets = {
|
|
@@ -1094,7 +1221,7 @@ export type GetProjectsTargets = {
|
|
|
1094
1221
|
aliasError?: GetProjectsProjectsAliasError | null | undefined;
|
|
1095
1222
|
aliasFinal?: string | null | undefined;
|
|
1096
1223
|
automaticAliases?: Array<string> | undefined;
|
|
1097
|
-
branchMatcher?:
|
|
1224
|
+
branchMatcher?: GetProjectsProjectsResponseBranchMatcher | undefined;
|
|
1098
1225
|
buildingAt?: number | undefined;
|
|
1099
1226
|
builds?: Array<GetProjectsProjectsBuilds> | undefined;
|
|
1100
1227
|
checksConclusion?: GetProjectsProjectsChecksConclusion | undefined;
|
|
@@ -1123,7 +1250,7 @@ export type GetProjectsTargets = {
|
|
|
1123
1250
|
requestedAt?: number | undefined;
|
|
1124
1251
|
target?: string | null | undefined;
|
|
1125
1252
|
teamId?: string | null | undefined;
|
|
1126
|
-
type:
|
|
1253
|
+
type: GetProjectsProjectsResponse200Type;
|
|
1127
1254
|
url: string;
|
|
1128
1255
|
userId: string;
|
|
1129
1256
|
withCache?: boolean | undefined;
|
|
@@ -1338,20 +1465,24 @@ export const GetProjectsJobStatus = {
|
|
|
1338
1465
|
} as const;
|
|
1339
1466
|
export type GetProjectsJobStatus = ClosedEnum<typeof GetProjectsJobStatus>;
|
|
1340
1467
|
|
|
1341
|
-
export const
|
|
1468
|
+
export const GetProjectsProjectsResponse200ApplicationJSONType = {
|
|
1342
1469
|
Promote: "promote",
|
|
1343
1470
|
Rollback: "rollback",
|
|
1344
1471
|
} as const;
|
|
1345
|
-
export type
|
|
1346
|
-
typeof
|
|
1472
|
+
export type GetProjectsProjectsResponse200ApplicationJSONType = ClosedEnum<
|
|
1473
|
+
typeof GetProjectsProjectsResponse200ApplicationJSONType
|
|
1347
1474
|
>;
|
|
1348
1475
|
|
|
1349
1476
|
export type GetProjectsLastAliasRequest = {
|
|
1350
1477
|
fromDeploymentId: string;
|
|
1351
1478
|
toDeploymentId: string;
|
|
1479
|
+
/**
|
|
1480
|
+
* If rolling back from a rolling release, fromDeploymentId captures the "base" of that rolling release, and fromRollingReleaseId captures the "target" of that rolling release.
|
|
1481
|
+
*/
|
|
1482
|
+
fromRollingReleaseId?: string | undefined;
|
|
1352
1483
|
jobStatus: GetProjectsJobStatus;
|
|
1353
1484
|
requestedAt: number;
|
|
1354
|
-
type:
|
|
1485
|
+
type: GetProjectsProjectsResponse200ApplicationJSONType;
|
|
1355
1486
|
};
|
|
1356
1487
|
|
|
1357
1488
|
export const GetProjectsScope = {
|
|
@@ -1366,10 +1497,10 @@ export type GetProjectsProtectionBypass = {
|
|
|
1366
1497
|
};
|
|
1367
1498
|
|
|
1368
1499
|
export const GetProjectsTrustedIpsProjectsDeploymentType = {
|
|
1369
|
-
|
|
1500
|
+
Production: "production",
|
|
1370
1501
|
Preview: "preview",
|
|
1502
|
+
All: "all",
|
|
1371
1503
|
ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
|
|
1372
|
-
Production: "production",
|
|
1373
1504
|
} as const;
|
|
1374
1505
|
export type GetProjectsTrustedIpsProjectsDeploymentType = ClosedEnum<
|
|
1375
1506
|
typeof GetProjectsTrustedIpsProjectsDeploymentType
|
|
@@ -1380,10 +1511,10 @@ export type GetProjectsTrustedIps2 = {
|
|
|
1380
1511
|
};
|
|
1381
1512
|
|
|
1382
1513
|
export const GetProjectsTrustedIpsDeploymentType = {
|
|
1383
|
-
|
|
1514
|
+
Production: "production",
|
|
1384
1515
|
Preview: "preview",
|
|
1516
|
+
All: "all",
|
|
1385
1517
|
ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
|
|
1386
|
-
Production: "production",
|
|
1387
1518
|
} as const;
|
|
1388
1519
|
export type GetProjectsTrustedIpsDeploymentType = ClosedEnum<
|
|
1389
1520
|
typeof GetProjectsTrustedIpsDeploymentType
|
|
@@ -3755,31 +3886,31 @@ export function getProjectsContentHintFromJSON(
|
|
|
3755
3886
|
}
|
|
3756
3887
|
|
|
3757
3888
|
/** @internal */
|
|
3758
|
-
export const
|
|
3889
|
+
export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema:
|
|
3759
3890
|
z.ZodNativeEnum<
|
|
3760
|
-
typeof
|
|
3891
|
+
typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyType
|
|
3761
3892
|
> = z.nativeEnum(
|
|
3762
|
-
|
|
3893
|
+
GetProjectsProjectsResponse200ApplicationJSONResponseBodyType,
|
|
3763
3894
|
);
|
|
3764
3895
|
|
|
3765
3896
|
/** @internal */
|
|
3766
|
-
export const
|
|
3897
|
+
export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema:
|
|
3767
3898
|
z.ZodNativeEnum<
|
|
3768
|
-
typeof
|
|
3899
|
+
typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyType
|
|
3769
3900
|
> =
|
|
3770
|
-
|
|
3901
|
+
GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema;
|
|
3771
3902
|
|
|
3772
3903
|
/**
|
|
3773
3904
|
* @internal
|
|
3774
3905
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3775
3906
|
*/
|
|
3776
|
-
export namespace
|
|
3777
|
-
/** @deprecated use `
|
|
3907
|
+
export namespace GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$ {
|
|
3908
|
+
/** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */
|
|
3778
3909
|
export const inboundSchema =
|
|
3779
|
-
|
|
3780
|
-
/** @deprecated use `
|
|
3910
|
+
GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema;
|
|
3911
|
+
/** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */
|
|
3781
3912
|
export const outboundSchema =
|
|
3782
|
-
|
|
3913
|
+
GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema;
|
|
3783
3914
|
}
|
|
3784
3915
|
|
|
3785
3916
|
/** @internal */
|
|
@@ -3789,7 +3920,7 @@ export const GetProjectsInternalContentHint$inboundSchema: z.ZodType<
|
|
|
3789
3920
|
unknown
|
|
3790
3921
|
> = z.object({
|
|
3791
3922
|
type:
|
|
3792
|
-
|
|
3923
|
+
GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema,
|
|
3793
3924
|
encryptedValue: z.string(),
|
|
3794
3925
|
});
|
|
3795
3926
|
|
|
@@ -3806,7 +3937,7 @@ export const GetProjectsInternalContentHint$outboundSchema: z.ZodType<
|
|
|
3806
3937
|
GetProjectsInternalContentHint
|
|
3807
3938
|
> = z.object({
|
|
3808
3939
|
type:
|
|
3809
|
-
|
|
3940
|
+
GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema,
|
|
3810
3941
|
encryptedValue: z.string(),
|
|
3811
3942
|
});
|
|
3812
3943
|
|
|
@@ -3993,26 +4124,283 @@ export const GetProjectsEnv$outboundSchema: z.ZodType<
|
|
|
3993
4124
|
* @internal
|
|
3994
4125
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3995
4126
|
*/
|
|
3996
|
-
export namespace GetProjectsEnv$ {
|
|
3997
|
-
/** @deprecated use `GetProjectsEnv$inboundSchema` instead. */
|
|
3998
|
-
export const inboundSchema = GetProjectsEnv$inboundSchema;
|
|
3999
|
-
/** @deprecated use `GetProjectsEnv$outboundSchema` instead. */
|
|
4000
|
-
export const outboundSchema = GetProjectsEnv$outboundSchema;
|
|
4001
|
-
/** @deprecated use `GetProjectsEnv$Outbound` instead. */
|
|
4002
|
-
export type Outbound = GetProjectsEnv$Outbound;
|
|
4127
|
+
export namespace GetProjectsEnv$ {
|
|
4128
|
+
/** @deprecated use `GetProjectsEnv$inboundSchema` instead. */
|
|
4129
|
+
export const inboundSchema = GetProjectsEnv$inboundSchema;
|
|
4130
|
+
/** @deprecated use `GetProjectsEnv$outboundSchema` instead. */
|
|
4131
|
+
export const outboundSchema = GetProjectsEnv$outboundSchema;
|
|
4132
|
+
/** @deprecated use `GetProjectsEnv$Outbound` instead. */
|
|
4133
|
+
export type Outbound = GetProjectsEnv$Outbound;
|
|
4134
|
+
}
|
|
4135
|
+
|
|
4136
|
+
export function getProjectsEnvToJSON(getProjectsEnv: GetProjectsEnv): string {
|
|
4137
|
+
return JSON.stringify(GetProjectsEnv$outboundSchema.parse(getProjectsEnv));
|
|
4138
|
+
}
|
|
4139
|
+
|
|
4140
|
+
export function getProjectsEnvFromJSON(
|
|
4141
|
+
jsonString: string,
|
|
4142
|
+
): SafeParseResult<GetProjectsEnv, SDKValidationError> {
|
|
4143
|
+
return safeParse(
|
|
4144
|
+
jsonString,
|
|
4145
|
+
(x) => GetProjectsEnv$inboundSchema.parse(JSON.parse(x)),
|
|
4146
|
+
`Failed to parse 'GetProjectsEnv' from JSON`,
|
|
4147
|
+
);
|
|
4148
|
+
}
|
|
4149
|
+
|
|
4150
|
+
/** @internal */
|
|
4151
|
+
export const GetProjectsProjectsType$inboundSchema: z.ZodNativeEnum<
|
|
4152
|
+
typeof GetProjectsProjectsType
|
|
4153
|
+
> = z.nativeEnum(GetProjectsProjectsType);
|
|
4154
|
+
|
|
4155
|
+
/** @internal */
|
|
4156
|
+
export const GetProjectsProjectsType$outboundSchema: z.ZodNativeEnum<
|
|
4157
|
+
typeof GetProjectsProjectsType
|
|
4158
|
+
> = GetProjectsProjectsType$inboundSchema;
|
|
4159
|
+
|
|
4160
|
+
/**
|
|
4161
|
+
* @internal
|
|
4162
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4163
|
+
*/
|
|
4164
|
+
export namespace GetProjectsProjectsType$ {
|
|
4165
|
+
/** @deprecated use `GetProjectsProjectsType$inboundSchema` instead. */
|
|
4166
|
+
export const inboundSchema = GetProjectsProjectsType$inboundSchema;
|
|
4167
|
+
/** @deprecated use `GetProjectsProjectsType$outboundSchema` instead. */
|
|
4168
|
+
export const outboundSchema = GetProjectsProjectsType$outboundSchema;
|
|
4169
|
+
}
|
|
4170
|
+
|
|
4171
|
+
/** @internal */
|
|
4172
|
+
export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType$inboundSchema:
|
|
4173
|
+
z.ZodNativeEnum<
|
|
4174
|
+
typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType
|
|
4175
|
+
> = z.nativeEnum(
|
|
4176
|
+
GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType,
|
|
4177
|
+
);
|
|
4178
|
+
|
|
4179
|
+
/** @internal */
|
|
4180
|
+
export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType$outboundSchema:
|
|
4181
|
+
z.ZodNativeEnum<
|
|
4182
|
+
typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType
|
|
4183
|
+
> =
|
|
4184
|
+
GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType$inboundSchema;
|
|
4185
|
+
|
|
4186
|
+
/**
|
|
4187
|
+
* @internal
|
|
4188
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4189
|
+
*/
|
|
4190
|
+
export namespace GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType$ {
|
|
4191
|
+
/** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType$inboundSchema` instead. */
|
|
4192
|
+
export const inboundSchema =
|
|
4193
|
+
GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType$inboundSchema;
|
|
4194
|
+
/** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType$outboundSchema` instead. */
|
|
4195
|
+
export const outboundSchema =
|
|
4196
|
+
GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType$outboundSchema;
|
|
4197
|
+
}
|
|
4198
|
+
|
|
4199
|
+
/** @internal */
|
|
4200
|
+
export const GetProjectsBranchMatcher$inboundSchema: z.ZodType<
|
|
4201
|
+
GetProjectsBranchMatcher,
|
|
4202
|
+
z.ZodTypeDef,
|
|
4203
|
+
unknown
|
|
4204
|
+
> = z.object({
|
|
4205
|
+
type:
|
|
4206
|
+
GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType$inboundSchema,
|
|
4207
|
+
pattern: z.string(),
|
|
4208
|
+
});
|
|
4209
|
+
|
|
4210
|
+
/** @internal */
|
|
4211
|
+
export type GetProjectsBranchMatcher$Outbound = {
|
|
4212
|
+
type: string;
|
|
4213
|
+
pattern: string;
|
|
4214
|
+
};
|
|
4215
|
+
|
|
4216
|
+
/** @internal */
|
|
4217
|
+
export const GetProjectsBranchMatcher$outboundSchema: z.ZodType<
|
|
4218
|
+
GetProjectsBranchMatcher$Outbound,
|
|
4219
|
+
z.ZodTypeDef,
|
|
4220
|
+
GetProjectsBranchMatcher
|
|
4221
|
+
> = z.object({
|
|
4222
|
+
type:
|
|
4223
|
+
GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType$outboundSchema,
|
|
4224
|
+
pattern: z.string(),
|
|
4225
|
+
});
|
|
4226
|
+
|
|
4227
|
+
/**
|
|
4228
|
+
* @internal
|
|
4229
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4230
|
+
*/
|
|
4231
|
+
export namespace GetProjectsBranchMatcher$ {
|
|
4232
|
+
/** @deprecated use `GetProjectsBranchMatcher$inboundSchema` instead. */
|
|
4233
|
+
export const inboundSchema = GetProjectsBranchMatcher$inboundSchema;
|
|
4234
|
+
/** @deprecated use `GetProjectsBranchMatcher$outboundSchema` instead. */
|
|
4235
|
+
export const outboundSchema = GetProjectsBranchMatcher$outboundSchema;
|
|
4236
|
+
/** @deprecated use `GetProjectsBranchMatcher$Outbound` instead. */
|
|
4237
|
+
export type Outbound = GetProjectsBranchMatcher$Outbound;
|
|
4238
|
+
}
|
|
4239
|
+
|
|
4240
|
+
export function getProjectsBranchMatcherToJSON(
|
|
4241
|
+
getProjectsBranchMatcher: GetProjectsBranchMatcher,
|
|
4242
|
+
): string {
|
|
4243
|
+
return JSON.stringify(
|
|
4244
|
+
GetProjectsBranchMatcher$outboundSchema.parse(getProjectsBranchMatcher),
|
|
4245
|
+
);
|
|
4246
|
+
}
|
|
4247
|
+
|
|
4248
|
+
export function getProjectsBranchMatcherFromJSON(
|
|
4249
|
+
jsonString: string,
|
|
4250
|
+
): SafeParseResult<GetProjectsBranchMatcher, SDKValidationError> {
|
|
4251
|
+
return safeParse(
|
|
4252
|
+
jsonString,
|
|
4253
|
+
(x) => GetProjectsBranchMatcher$inboundSchema.parse(JSON.parse(x)),
|
|
4254
|
+
`Failed to parse 'GetProjectsBranchMatcher' from JSON`,
|
|
4255
|
+
);
|
|
4256
|
+
}
|
|
4257
|
+
|
|
4258
|
+
/** @internal */
|
|
4259
|
+
export const GetProjectsVerification$inboundSchema: z.ZodType<
|
|
4260
|
+
GetProjectsVerification,
|
|
4261
|
+
z.ZodTypeDef,
|
|
4262
|
+
unknown
|
|
4263
|
+
> = z.object({
|
|
4264
|
+
type: z.string(),
|
|
4265
|
+
domain: z.string(),
|
|
4266
|
+
value: z.string(),
|
|
4267
|
+
reason: z.string(),
|
|
4268
|
+
});
|
|
4269
|
+
|
|
4270
|
+
/** @internal */
|
|
4271
|
+
export type GetProjectsVerification$Outbound = {
|
|
4272
|
+
type: string;
|
|
4273
|
+
domain: string;
|
|
4274
|
+
value: string;
|
|
4275
|
+
reason: string;
|
|
4276
|
+
};
|
|
4277
|
+
|
|
4278
|
+
/** @internal */
|
|
4279
|
+
export const GetProjectsVerification$outboundSchema: z.ZodType<
|
|
4280
|
+
GetProjectsVerification$Outbound,
|
|
4281
|
+
z.ZodTypeDef,
|
|
4282
|
+
GetProjectsVerification
|
|
4283
|
+
> = z.object({
|
|
4284
|
+
type: z.string(),
|
|
4285
|
+
domain: z.string(),
|
|
4286
|
+
value: z.string(),
|
|
4287
|
+
reason: z.string(),
|
|
4288
|
+
});
|
|
4289
|
+
|
|
4290
|
+
/**
|
|
4291
|
+
* @internal
|
|
4292
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4293
|
+
*/
|
|
4294
|
+
export namespace GetProjectsVerification$ {
|
|
4295
|
+
/** @deprecated use `GetProjectsVerification$inboundSchema` instead. */
|
|
4296
|
+
export const inboundSchema = GetProjectsVerification$inboundSchema;
|
|
4297
|
+
/** @deprecated use `GetProjectsVerification$outboundSchema` instead. */
|
|
4298
|
+
export const outboundSchema = GetProjectsVerification$outboundSchema;
|
|
4299
|
+
/** @deprecated use `GetProjectsVerification$Outbound` instead. */
|
|
4300
|
+
export type Outbound = GetProjectsVerification$Outbound;
|
|
4301
|
+
}
|
|
4302
|
+
|
|
4303
|
+
export function getProjectsVerificationToJSON(
|
|
4304
|
+
getProjectsVerification: GetProjectsVerification,
|
|
4305
|
+
): string {
|
|
4306
|
+
return JSON.stringify(
|
|
4307
|
+
GetProjectsVerification$outboundSchema.parse(getProjectsVerification),
|
|
4308
|
+
);
|
|
4309
|
+
}
|
|
4310
|
+
|
|
4311
|
+
export function getProjectsVerificationFromJSON(
|
|
4312
|
+
jsonString: string,
|
|
4313
|
+
): SafeParseResult<GetProjectsVerification, SDKValidationError> {
|
|
4314
|
+
return safeParse(
|
|
4315
|
+
jsonString,
|
|
4316
|
+
(x) => GetProjectsVerification$inboundSchema.parse(JSON.parse(x)),
|
|
4317
|
+
`Failed to parse 'GetProjectsVerification' from JSON`,
|
|
4318
|
+
);
|
|
4319
|
+
}
|
|
4320
|
+
|
|
4321
|
+
/** @internal */
|
|
4322
|
+
export const GetProjectsDomains$inboundSchema: z.ZodType<
|
|
4323
|
+
GetProjectsDomains,
|
|
4324
|
+
z.ZodTypeDef,
|
|
4325
|
+
unknown
|
|
4326
|
+
> = z.object({
|
|
4327
|
+
name: z.string(),
|
|
4328
|
+
apexName: z.string(),
|
|
4329
|
+
projectId: z.string(),
|
|
4330
|
+
redirect: z.nullable(z.string()).optional(),
|
|
4331
|
+
redirectStatusCode: z.nullable(z.number()).optional(),
|
|
4332
|
+
gitBranch: z.nullable(z.string()).optional(),
|
|
4333
|
+
customEnvironmentId: z.nullable(z.string()).optional(),
|
|
4334
|
+
updatedAt: z.number().optional(),
|
|
4335
|
+
createdAt: z.number().optional(),
|
|
4336
|
+
verified: z.boolean(),
|
|
4337
|
+
verification: z.array(z.lazy(() => GetProjectsVerification$inboundSchema))
|
|
4338
|
+
.optional(),
|
|
4339
|
+
});
|
|
4340
|
+
|
|
4341
|
+
/** @internal */
|
|
4342
|
+
export type GetProjectsDomains$Outbound = {
|
|
4343
|
+
name: string;
|
|
4344
|
+
apexName: string;
|
|
4345
|
+
projectId: string;
|
|
4346
|
+
redirect?: string | null | undefined;
|
|
4347
|
+
redirectStatusCode?: number | null | undefined;
|
|
4348
|
+
gitBranch?: string | null | undefined;
|
|
4349
|
+
customEnvironmentId?: string | null | undefined;
|
|
4350
|
+
updatedAt?: number | undefined;
|
|
4351
|
+
createdAt?: number | undefined;
|
|
4352
|
+
verified: boolean;
|
|
4353
|
+
verification?: Array<GetProjectsVerification$Outbound> | undefined;
|
|
4354
|
+
};
|
|
4355
|
+
|
|
4356
|
+
/** @internal */
|
|
4357
|
+
export const GetProjectsDomains$outboundSchema: z.ZodType<
|
|
4358
|
+
GetProjectsDomains$Outbound,
|
|
4359
|
+
z.ZodTypeDef,
|
|
4360
|
+
GetProjectsDomains
|
|
4361
|
+
> = z.object({
|
|
4362
|
+
name: z.string(),
|
|
4363
|
+
apexName: z.string(),
|
|
4364
|
+
projectId: z.string(),
|
|
4365
|
+
redirect: z.nullable(z.string()).optional(),
|
|
4366
|
+
redirectStatusCode: z.nullable(z.number()).optional(),
|
|
4367
|
+
gitBranch: z.nullable(z.string()).optional(),
|
|
4368
|
+
customEnvironmentId: z.nullable(z.string()).optional(),
|
|
4369
|
+
updatedAt: z.number().optional(),
|
|
4370
|
+
createdAt: z.number().optional(),
|
|
4371
|
+
verified: z.boolean(),
|
|
4372
|
+
verification: z.array(z.lazy(() => GetProjectsVerification$outboundSchema))
|
|
4373
|
+
.optional(),
|
|
4374
|
+
});
|
|
4375
|
+
|
|
4376
|
+
/**
|
|
4377
|
+
* @internal
|
|
4378
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4379
|
+
*/
|
|
4380
|
+
export namespace GetProjectsDomains$ {
|
|
4381
|
+
/** @deprecated use `GetProjectsDomains$inboundSchema` instead. */
|
|
4382
|
+
export const inboundSchema = GetProjectsDomains$inboundSchema;
|
|
4383
|
+
/** @deprecated use `GetProjectsDomains$outboundSchema` instead. */
|
|
4384
|
+
export const outboundSchema = GetProjectsDomains$outboundSchema;
|
|
4385
|
+
/** @deprecated use `GetProjectsDomains$Outbound` instead. */
|
|
4386
|
+
export type Outbound = GetProjectsDomains$Outbound;
|
|
4003
4387
|
}
|
|
4004
4388
|
|
|
4005
|
-
export function
|
|
4006
|
-
|
|
4389
|
+
export function getProjectsDomainsToJSON(
|
|
4390
|
+
getProjectsDomains: GetProjectsDomains,
|
|
4391
|
+
): string {
|
|
4392
|
+
return JSON.stringify(
|
|
4393
|
+
GetProjectsDomains$outboundSchema.parse(getProjectsDomains),
|
|
4394
|
+
);
|
|
4007
4395
|
}
|
|
4008
4396
|
|
|
4009
|
-
export function
|
|
4397
|
+
export function getProjectsDomainsFromJSON(
|
|
4010
4398
|
jsonString: string,
|
|
4011
|
-
): SafeParseResult<
|
|
4399
|
+
): SafeParseResult<GetProjectsDomains, SDKValidationError> {
|
|
4012
4400
|
return safeParse(
|
|
4013
4401
|
jsonString,
|
|
4014
|
-
(x) =>
|
|
4015
|
-
`Failed to parse '
|
|
4402
|
+
(x) => GetProjectsDomains$inboundSchema.parse(JSON.parse(x)),
|
|
4403
|
+
`Failed to parse 'GetProjectsDomains' from JSON`,
|
|
4016
4404
|
);
|
|
4017
4405
|
}
|
|
4018
4406
|
|
|
@@ -4021,17 +4409,49 @@ export const GetProjectsCustomEnvironments$inboundSchema: z.ZodType<
|
|
|
4021
4409
|
GetProjectsCustomEnvironments,
|
|
4022
4410
|
z.ZodTypeDef,
|
|
4023
4411
|
unknown
|
|
4024
|
-
> = z.object({
|
|
4412
|
+
> = z.object({
|
|
4413
|
+
id: z.string(),
|
|
4414
|
+
slug: z.string(),
|
|
4415
|
+
type: GetProjectsProjectsType$inboundSchema,
|
|
4416
|
+
description: z.string().optional(),
|
|
4417
|
+
branchMatcher: z.lazy(() => GetProjectsBranchMatcher$inboundSchema)
|
|
4418
|
+
.optional(),
|
|
4419
|
+
domains: z.array(z.lazy(() => GetProjectsDomains$inboundSchema)).optional(),
|
|
4420
|
+
currentDeploymentAliases: z.array(z.string()).optional(),
|
|
4421
|
+
createdAt: z.number(),
|
|
4422
|
+
updatedAt: z.number(),
|
|
4423
|
+
});
|
|
4025
4424
|
|
|
4026
4425
|
/** @internal */
|
|
4027
|
-
export type GetProjectsCustomEnvironments$Outbound = {
|
|
4426
|
+
export type GetProjectsCustomEnvironments$Outbound = {
|
|
4427
|
+
id: string;
|
|
4428
|
+
slug: string;
|
|
4429
|
+
type: string;
|
|
4430
|
+
description?: string | undefined;
|
|
4431
|
+
branchMatcher?: GetProjectsBranchMatcher$Outbound | undefined;
|
|
4432
|
+
domains?: Array<GetProjectsDomains$Outbound> | undefined;
|
|
4433
|
+
currentDeploymentAliases?: Array<string> | undefined;
|
|
4434
|
+
createdAt: number;
|
|
4435
|
+
updatedAt: number;
|
|
4436
|
+
};
|
|
4028
4437
|
|
|
4029
4438
|
/** @internal */
|
|
4030
4439
|
export const GetProjectsCustomEnvironments$outboundSchema: z.ZodType<
|
|
4031
4440
|
GetProjectsCustomEnvironments$Outbound,
|
|
4032
4441
|
z.ZodTypeDef,
|
|
4033
4442
|
GetProjectsCustomEnvironments
|
|
4034
|
-
> = z.object({
|
|
4443
|
+
> = z.object({
|
|
4444
|
+
id: z.string(),
|
|
4445
|
+
slug: z.string(),
|
|
4446
|
+
type: GetProjectsProjectsType$outboundSchema,
|
|
4447
|
+
description: z.string().optional(),
|
|
4448
|
+
branchMatcher: z.lazy(() => GetProjectsBranchMatcher$outboundSchema)
|
|
4449
|
+
.optional(),
|
|
4450
|
+
domains: z.array(z.lazy(() => GetProjectsDomains$outboundSchema)).optional(),
|
|
4451
|
+
currentDeploymentAliases: z.array(z.string()).optional(),
|
|
4452
|
+
createdAt: z.number(),
|
|
4453
|
+
updatedAt: z.number(),
|
|
4454
|
+
});
|
|
4035
4455
|
|
|
4036
4456
|
/**
|
|
4037
4457
|
* @internal
|
|
@@ -4250,58 +4670,58 @@ export function getProjectsAliasErrorFromJSON(
|
|
|
4250
4670
|
}
|
|
4251
4671
|
|
|
4252
4672
|
/** @internal */
|
|
4253
|
-
export const
|
|
4673
|
+
export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType$inboundSchema:
|
|
4254
4674
|
z.ZodNativeEnum<
|
|
4255
|
-
typeof
|
|
4675
|
+
typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType
|
|
4256
4676
|
> = z.nativeEnum(
|
|
4257
|
-
|
|
4677
|
+
GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType,
|
|
4258
4678
|
);
|
|
4259
4679
|
|
|
4260
4680
|
/** @internal */
|
|
4261
|
-
export const
|
|
4681
|
+
export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType$outboundSchema:
|
|
4262
4682
|
z.ZodNativeEnum<
|
|
4263
|
-
typeof
|
|
4683
|
+
typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType
|
|
4264
4684
|
> =
|
|
4265
|
-
|
|
4685
|
+
GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType$inboundSchema;
|
|
4266
4686
|
|
|
4267
4687
|
/**
|
|
4268
4688
|
* @internal
|
|
4269
4689
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4270
4690
|
*/
|
|
4271
|
-
export namespace
|
|
4272
|
-
/** @deprecated use `
|
|
4691
|
+
export namespace GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType$ {
|
|
4692
|
+
/** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType$inboundSchema` instead. */
|
|
4273
4693
|
export const inboundSchema =
|
|
4274
|
-
|
|
4275
|
-
/** @deprecated use `
|
|
4694
|
+
GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType$inboundSchema;
|
|
4695
|
+
/** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType$outboundSchema` instead. */
|
|
4276
4696
|
export const outboundSchema =
|
|
4277
|
-
|
|
4697
|
+
GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType$outboundSchema;
|
|
4278
4698
|
}
|
|
4279
4699
|
|
|
4280
4700
|
/** @internal */
|
|
4281
|
-
export const
|
|
4282
|
-
|
|
4701
|
+
export const GetProjectsProjectsBranchMatcher$inboundSchema: z.ZodType<
|
|
4702
|
+
GetProjectsProjectsBranchMatcher,
|
|
4283
4703
|
z.ZodTypeDef,
|
|
4284
4704
|
unknown
|
|
4285
4705
|
> = z.object({
|
|
4286
4706
|
type:
|
|
4287
|
-
|
|
4707
|
+
GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType$inboundSchema,
|
|
4288
4708
|
pattern: z.string(),
|
|
4289
4709
|
});
|
|
4290
4710
|
|
|
4291
4711
|
/** @internal */
|
|
4292
|
-
export type
|
|
4712
|
+
export type GetProjectsProjectsBranchMatcher$Outbound = {
|
|
4293
4713
|
type: string;
|
|
4294
4714
|
pattern: string;
|
|
4295
4715
|
};
|
|
4296
4716
|
|
|
4297
4717
|
/** @internal */
|
|
4298
|
-
export const
|
|
4299
|
-
|
|
4718
|
+
export const GetProjectsProjectsBranchMatcher$outboundSchema: z.ZodType<
|
|
4719
|
+
GetProjectsProjectsBranchMatcher$Outbound,
|
|
4300
4720
|
z.ZodTypeDef,
|
|
4301
|
-
|
|
4721
|
+
GetProjectsProjectsBranchMatcher
|
|
4302
4722
|
> = z.object({
|
|
4303
4723
|
type:
|
|
4304
|
-
|
|
4724
|
+
GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType$outboundSchema,
|
|
4305
4725
|
pattern: z.string(),
|
|
4306
4726
|
});
|
|
4307
4727
|
|
|
@@ -4309,30 +4729,32 @@ export const GetProjectsBranchMatcher$outboundSchema: z.ZodType<
|
|
|
4309
4729
|
* @internal
|
|
4310
4730
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4311
4731
|
*/
|
|
4312
|
-
export namespace
|
|
4313
|
-
/** @deprecated use `
|
|
4314
|
-
export const inboundSchema =
|
|
4315
|
-
/** @deprecated use `
|
|
4316
|
-
export const outboundSchema =
|
|
4317
|
-
/** @deprecated use `
|
|
4318
|
-
export type Outbound =
|
|
4732
|
+
export namespace GetProjectsProjectsBranchMatcher$ {
|
|
4733
|
+
/** @deprecated use `GetProjectsProjectsBranchMatcher$inboundSchema` instead. */
|
|
4734
|
+
export const inboundSchema = GetProjectsProjectsBranchMatcher$inboundSchema;
|
|
4735
|
+
/** @deprecated use `GetProjectsProjectsBranchMatcher$outboundSchema` instead. */
|
|
4736
|
+
export const outboundSchema = GetProjectsProjectsBranchMatcher$outboundSchema;
|
|
4737
|
+
/** @deprecated use `GetProjectsProjectsBranchMatcher$Outbound` instead. */
|
|
4738
|
+
export type Outbound = GetProjectsProjectsBranchMatcher$Outbound;
|
|
4319
4739
|
}
|
|
4320
4740
|
|
|
4321
|
-
export function
|
|
4322
|
-
|
|
4741
|
+
export function getProjectsProjectsBranchMatcherToJSON(
|
|
4742
|
+
getProjectsProjectsBranchMatcher: GetProjectsProjectsBranchMatcher,
|
|
4323
4743
|
): string {
|
|
4324
4744
|
return JSON.stringify(
|
|
4325
|
-
|
|
4745
|
+
GetProjectsProjectsBranchMatcher$outboundSchema.parse(
|
|
4746
|
+
getProjectsProjectsBranchMatcher,
|
|
4747
|
+
),
|
|
4326
4748
|
);
|
|
4327
4749
|
}
|
|
4328
4750
|
|
|
4329
|
-
export function
|
|
4751
|
+
export function getProjectsProjectsBranchMatcherFromJSON(
|
|
4330
4752
|
jsonString: string,
|
|
4331
|
-
): SafeParseResult<
|
|
4753
|
+
): SafeParseResult<GetProjectsProjectsBranchMatcher, SDKValidationError> {
|
|
4332
4754
|
return safeParse(
|
|
4333
4755
|
jsonString,
|
|
4334
|
-
(x) =>
|
|
4335
|
-
`Failed to parse '
|
|
4756
|
+
(x) => GetProjectsProjectsBranchMatcher$inboundSchema.parse(JSON.parse(x)),
|
|
4757
|
+
`Failed to parse 'GetProjectsProjectsBranchMatcher' from JSON`,
|
|
4336
4758
|
);
|
|
4337
4759
|
}
|
|
4338
4760
|
|
|
@@ -4656,24 +5078,24 @@ export namespace GetProjectsReadySubstate$ {
|
|
|
4656
5078
|
}
|
|
4657
5079
|
|
|
4658
5080
|
/** @internal */
|
|
4659
|
-
export const
|
|
4660
|
-
typeof
|
|
4661
|
-
> = z.nativeEnum(
|
|
5081
|
+
export const GetProjectsProjectsResponseType$inboundSchema: z.ZodNativeEnum<
|
|
5082
|
+
typeof GetProjectsProjectsResponseType
|
|
5083
|
+
> = z.nativeEnum(GetProjectsProjectsResponseType);
|
|
4662
5084
|
|
|
4663
5085
|
/** @internal */
|
|
4664
|
-
export const
|
|
4665
|
-
typeof
|
|
4666
|
-
> =
|
|
5086
|
+
export const GetProjectsProjectsResponseType$outboundSchema: z.ZodNativeEnum<
|
|
5087
|
+
typeof GetProjectsProjectsResponseType
|
|
5088
|
+
> = GetProjectsProjectsResponseType$inboundSchema;
|
|
4667
5089
|
|
|
4668
5090
|
/**
|
|
4669
5091
|
* @internal
|
|
4670
5092
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4671
5093
|
*/
|
|
4672
|
-
export namespace
|
|
4673
|
-
/** @deprecated use `
|
|
4674
|
-
export const inboundSchema =
|
|
4675
|
-
/** @deprecated use `
|
|
4676
|
-
export const outboundSchema =
|
|
5094
|
+
export namespace GetProjectsProjectsResponseType$ {
|
|
5095
|
+
/** @deprecated use `GetProjectsProjectsResponseType$inboundSchema` instead. */
|
|
5096
|
+
export const inboundSchema = GetProjectsProjectsResponseType$inboundSchema;
|
|
5097
|
+
/** @deprecated use `GetProjectsProjectsResponseType$outboundSchema` instead. */
|
|
5098
|
+
export const outboundSchema = GetProjectsProjectsResponseType$outboundSchema;
|
|
4677
5099
|
}
|
|
4678
5100
|
|
|
4679
5101
|
/** @internal */
|
|
@@ -4689,7 +5111,7 @@ export const GetProjectsLatestDeployments$inboundSchema: z.ZodType<
|
|
|
4689
5111
|
.optional(),
|
|
4690
5112
|
aliasFinal: z.nullable(z.string()).optional(),
|
|
4691
5113
|
automaticAliases: z.array(z.string()).optional(),
|
|
4692
|
-
branchMatcher: z.lazy(() =>
|
|
5114
|
+
branchMatcher: z.lazy(() => GetProjectsProjectsBranchMatcher$inboundSchema)
|
|
4693
5115
|
.optional(),
|
|
4694
5116
|
buildingAt: z.number().optional(),
|
|
4695
5117
|
builds: z.array(z.lazy(() => GetProjectsBuilds$inboundSchema)).optional(),
|
|
@@ -4717,7 +5139,7 @@ export const GetProjectsLatestDeployments$inboundSchema: z.ZodType<
|
|
|
4717
5139
|
requestedAt: z.number().optional(),
|
|
4718
5140
|
target: z.nullable(z.string()).optional(),
|
|
4719
5141
|
teamId: z.nullable(z.string()).optional(),
|
|
4720
|
-
type:
|
|
5142
|
+
type: GetProjectsProjectsResponseType$inboundSchema,
|
|
4721
5143
|
url: z.string(),
|
|
4722
5144
|
userId: z.string(),
|
|
4723
5145
|
withCache: z.boolean().optional(),
|
|
@@ -4731,7 +5153,7 @@ export type GetProjectsLatestDeployments$Outbound = {
|
|
|
4731
5153
|
aliasError?: GetProjectsAliasError$Outbound | null | undefined;
|
|
4732
5154
|
aliasFinal?: string | null | undefined;
|
|
4733
5155
|
automaticAliases?: Array<string> | undefined;
|
|
4734
|
-
branchMatcher?:
|
|
5156
|
+
branchMatcher?: GetProjectsProjectsBranchMatcher$Outbound | undefined;
|
|
4735
5157
|
buildingAt?: number | undefined;
|
|
4736
5158
|
builds?: Array<GetProjectsBuilds$Outbound> | undefined;
|
|
4737
5159
|
checksConclusion?: string | undefined;
|
|
@@ -4776,7 +5198,7 @@ export const GetProjectsLatestDeployments$outboundSchema: z.ZodType<
|
|
|
4776
5198
|
.optional(),
|
|
4777
5199
|
aliasFinal: z.nullable(z.string()).optional(),
|
|
4778
5200
|
automaticAliases: z.array(z.string()).optional(),
|
|
4779
|
-
branchMatcher: z.lazy(() =>
|
|
5201
|
+
branchMatcher: z.lazy(() => GetProjectsProjectsBranchMatcher$outboundSchema)
|
|
4780
5202
|
.optional(),
|
|
4781
5203
|
buildingAt: z.number().optional(),
|
|
4782
5204
|
builds: z.array(z.lazy(() => GetProjectsBuilds$outboundSchema)).optional(),
|
|
@@ -4804,7 +5226,7 @@ export const GetProjectsLatestDeployments$outboundSchema: z.ZodType<
|
|
|
4804
5226
|
requestedAt: z.number().optional(),
|
|
4805
5227
|
target: z.nullable(z.string()).optional(),
|
|
4806
5228
|
teamId: z.nullable(z.string()).optional(),
|
|
4807
|
-
type:
|
|
5229
|
+
type: GetProjectsProjectsResponseType$outboundSchema,
|
|
4808
5230
|
url: z.string(),
|
|
4809
5231
|
userId: z.string(),
|
|
4810
5232
|
withCache: z.boolean().optional(),
|
|
@@ -6137,6 +6559,7 @@ export const GetProjectsStages$inboundSchema: z.ZodType<
|
|
|
6137
6559
|
targetPercentage: z.number(),
|
|
6138
6560
|
minutesToRelease: z.number().optional(),
|
|
6139
6561
|
requireApproval: z.boolean().optional(),
|
|
6562
|
+
duration: z.number().optional(),
|
|
6140
6563
|
});
|
|
6141
6564
|
|
|
6142
6565
|
/** @internal */
|
|
@@ -6144,6 +6567,7 @@ export type GetProjectsStages$Outbound = {
|
|
|
6144
6567
|
targetPercentage: number;
|
|
6145
6568
|
minutesToRelease?: number | undefined;
|
|
6146
6569
|
requireApproval?: boolean | undefined;
|
|
6570
|
+
duration?: number | undefined;
|
|
6147
6571
|
};
|
|
6148
6572
|
|
|
6149
6573
|
/** @internal */
|
|
@@ -6155,6 +6579,7 @@ export const GetProjectsStages$outboundSchema: z.ZodType<
|
|
|
6155
6579
|
targetPercentage: z.number(),
|
|
6156
6580
|
minutesToRelease: z.number().optional(),
|
|
6157
6581
|
requireApproval: z.boolean().optional(),
|
|
6582
|
+
duration: z.number().optional(),
|
|
6158
6583
|
});
|
|
6159
6584
|
|
|
6160
6585
|
/**
|
|
@@ -6559,51 +6984,58 @@ export function getProjectsProjectsAliasErrorFromJSON(
|
|
|
6559
6984
|
}
|
|
6560
6985
|
|
|
6561
6986
|
/** @internal */
|
|
6562
|
-
export const
|
|
6563
|
-
z.ZodNativeEnum<
|
|
6564
|
-
|
|
6987
|
+
export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$inboundSchema:
|
|
6988
|
+
z.ZodNativeEnum<
|
|
6989
|
+
typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType
|
|
6990
|
+
> = z.nativeEnum(
|
|
6991
|
+
GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType,
|
|
6992
|
+
);
|
|
6565
6993
|
|
|
6566
6994
|
/** @internal */
|
|
6567
|
-
export const
|
|
6568
|
-
z.ZodNativeEnum<
|
|
6569
|
-
|
|
6995
|
+
export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$outboundSchema:
|
|
6996
|
+
z.ZodNativeEnum<
|
|
6997
|
+
typeof GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType
|
|
6998
|
+
> =
|
|
6999
|
+
GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$inboundSchema;
|
|
6570
7000
|
|
|
6571
7001
|
/**
|
|
6572
7002
|
* @internal
|
|
6573
7003
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6574
7004
|
*/
|
|
6575
|
-
export namespace
|
|
6576
|
-
/** @deprecated use `
|
|
7005
|
+
export namespace GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$ {
|
|
7006
|
+
/** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$inboundSchema` instead. */
|
|
6577
7007
|
export const inboundSchema =
|
|
6578
|
-
|
|
6579
|
-
/** @deprecated use `
|
|
7008
|
+
GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$inboundSchema;
|
|
7009
|
+
/** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$outboundSchema` instead. */
|
|
6580
7010
|
export const outboundSchema =
|
|
6581
|
-
|
|
7011
|
+
GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$outboundSchema;
|
|
6582
7012
|
}
|
|
6583
7013
|
|
|
6584
7014
|
/** @internal */
|
|
6585
|
-
export const
|
|
6586
|
-
|
|
7015
|
+
export const GetProjectsProjectsResponseBranchMatcher$inboundSchema: z.ZodType<
|
|
7016
|
+
GetProjectsProjectsResponseBranchMatcher,
|
|
6587
7017
|
z.ZodTypeDef,
|
|
6588
7018
|
unknown
|
|
6589
7019
|
> = z.object({
|
|
6590
|
-
type:
|
|
7020
|
+
type:
|
|
7021
|
+
GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$inboundSchema,
|
|
6591
7022
|
pattern: z.string(),
|
|
6592
7023
|
});
|
|
6593
7024
|
|
|
6594
7025
|
/** @internal */
|
|
6595
|
-
export type
|
|
7026
|
+
export type GetProjectsProjectsResponseBranchMatcher$Outbound = {
|
|
6596
7027
|
type: string;
|
|
6597
7028
|
pattern: string;
|
|
6598
7029
|
};
|
|
6599
7030
|
|
|
6600
7031
|
/** @internal */
|
|
6601
|
-
export const
|
|
6602
|
-
|
|
7032
|
+
export const GetProjectsProjectsResponseBranchMatcher$outboundSchema: z.ZodType<
|
|
7033
|
+
GetProjectsProjectsResponseBranchMatcher$Outbound,
|
|
6603
7034
|
z.ZodTypeDef,
|
|
6604
|
-
|
|
7035
|
+
GetProjectsProjectsResponseBranchMatcher
|
|
6605
7036
|
> = z.object({
|
|
6606
|
-
type:
|
|
7037
|
+
type:
|
|
7038
|
+
GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$outboundSchema,
|
|
6607
7039
|
pattern: z.string(),
|
|
6608
7040
|
});
|
|
6609
7041
|
|
|
@@ -6611,32 +7043,41 @@ export const GetProjectsProjectsBranchMatcher$outboundSchema: z.ZodType<
|
|
|
6611
7043
|
* @internal
|
|
6612
7044
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6613
7045
|
*/
|
|
6614
|
-
export namespace
|
|
6615
|
-
/** @deprecated use `
|
|
6616
|
-
export const inboundSchema =
|
|
6617
|
-
|
|
6618
|
-
|
|
6619
|
-
|
|
6620
|
-
|
|
7046
|
+
export namespace GetProjectsProjectsResponseBranchMatcher$ {
|
|
7047
|
+
/** @deprecated use `GetProjectsProjectsResponseBranchMatcher$inboundSchema` instead. */
|
|
7048
|
+
export const inboundSchema =
|
|
7049
|
+
GetProjectsProjectsResponseBranchMatcher$inboundSchema;
|
|
7050
|
+
/** @deprecated use `GetProjectsProjectsResponseBranchMatcher$outboundSchema` instead. */
|
|
7051
|
+
export const outboundSchema =
|
|
7052
|
+
GetProjectsProjectsResponseBranchMatcher$outboundSchema;
|
|
7053
|
+
/** @deprecated use `GetProjectsProjectsResponseBranchMatcher$Outbound` instead. */
|
|
7054
|
+
export type Outbound = GetProjectsProjectsResponseBranchMatcher$Outbound;
|
|
6621
7055
|
}
|
|
6622
7056
|
|
|
6623
|
-
export function
|
|
6624
|
-
|
|
7057
|
+
export function getProjectsProjectsResponseBranchMatcherToJSON(
|
|
7058
|
+
getProjectsProjectsResponseBranchMatcher:
|
|
7059
|
+
GetProjectsProjectsResponseBranchMatcher,
|
|
6625
7060
|
): string {
|
|
6626
7061
|
return JSON.stringify(
|
|
6627
|
-
|
|
6628
|
-
|
|
7062
|
+
GetProjectsProjectsResponseBranchMatcher$outboundSchema.parse(
|
|
7063
|
+
getProjectsProjectsResponseBranchMatcher,
|
|
6629
7064
|
),
|
|
6630
7065
|
);
|
|
6631
7066
|
}
|
|
6632
7067
|
|
|
6633
|
-
export function
|
|
7068
|
+
export function getProjectsProjectsResponseBranchMatcherFromJSON(
|
|
6634
7069
|
jsonString: string,
|
|
6635
|
-
): SafeParseResult<
|
|
7070
|
+
): SafeParseResult<
|
|
7071
|
+
GetProjectsProjectsResponseBranchMatcher,
|
|
7072
|
+
SDKValidationError
|
|
7073
|
+
> {
|
|
6636
7074
|
return safeParse(
|
|
6637
7075
|
jsonString,
|
|
6638
|
-
(x) =>
|
|
6639
|
-
|
|
7076
|
+
(x) =>
|
|
7077
|
+
GetProjectsProjectsResponseBranchMatcher$inboundSchema.parse(
|
|
7078
|
+
JSON.parse(x),
|
|
7079
|
+
),
|
|
7080
|
+
`Failed to parse 'GetProjectsProjectsResponseBranchMatcher' from JSON`,
|
|
6640
7081
|
);
|
|
6641
7082
|
}
|
|
6642
7083
|
|
|
@@ -6966,24 +7407,25 @@ export namespace GetProjectsProjectsReadySubstate$ {
|
|
|
6966
7407
|
}
|
|
6967
7408
|
|
|
6968
7409
|
/** @internal */
|
|
6969
|
-
export const
|
|
6970
|
-
typeof
|
|
6971
|
-
> = z.nativeEnum(
|
|
7410
|
+
export const GetProjectsProjectsResponse200Type$inboundSchema: z.ZodNativeEnum<
|
|
7411
|
+
typeof GetProjectsProjectsResponse200Type
|
|
7412
|
+
> = z.nativeEnum(GetProjectsProjectsResponse200Type);
|
|
6972
7413
|
|
|
6973
7414
|
/** @internal */
|
|
6974
|
-
export const
|
|
6975
|
-
typeof
|
|
6976
|
-
> =
|
|
7415
|
+
export const GetProjectsProjectsResponse200Type$outboundSchema: z.ZodNativeEnum<
|
|
7416
|
+
typeof GetProjectsProjectsResponse200Type
|
|
7417
|
+
> = GetProjectsProjectsResponse200Type$inboundSchema;
|
|
6977
7418
|
|
|
6978
7419
|
/**
|
|
6979
7420
|
* @internal
|
|
6980
7421
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6981
7422
|
*/
|
|
6982
|
-
export namespace
|
|
6983
|
-
/** @deprecated use `
|
|
6984
|
-
export const inboundSchema =
|
|
6985
|
-
/** @deprecated use `
|
|
6986
|
-
export const outboundSchema =
|
|
7423
|
+
export namespace GetProjectsProjectsResponse200Type$ {
|
|
7424
|
+
/** @deprecated use `GetProjectsProjectsResponse200Type$inboundSchema` instead. */
|
|
7425
|
+
export const inboundSchema = GetProjectsProjectsResponse200Type$inboundSchema;
|
|
7426
|
+
/** @deprecated use `GetProjectsProjectsResponse200Type$outboundSchema` instead. */
|
|
7427
|
+
export const outboundSchema =
|
|
7428
|
+
GetProjectsProjectsResponse200Type$outboundSchema;
|
|
6987
7429
|
}
|
|
6988
7430
|
|
|
6989
7431
|
/** @internal */
|
|
@@ -7000,8 +7442,9 @@ export const GetProjectsTargets$inboundSchema: z.ZodType<
|
|
|
7000
7442
|
).optional(),
|
|
7001
7443
|
aliasFinal: z.nullable(z.string()).optional(),
|
|
7002
7444
|
automaticAliases: z.array(z.string()).optional(),
|
|
7003
|
-
branchMatcher: z.lazy(() =>
|
|
7004
|
-
|
|
7445
|
+
branchMatcher: z.lazy(() =>
|
|
7446
|
+
GetProjectsProjectsResponseBranchMatcher$inboundSchema
|
|
7447
|
+
).optional(),
|
|
7005
7448
|
buildingAt: z.number().optional(),
|
|
7006
7449
|
builds: z.array(z.lazy(() => GetProjectsProjectsBuilds$inboundSchema))
|
|
7007
7450
|
.optional(),
|
|
@@ -7031,7 +7474,7 @@ export const GetProjectsTargets$inboundSchema: z.ZodType<
|
|
|
7031
7474
|
requestedAt: z.number().optional(),
|
|
7032
7475
|
target: z.nullable(z.string()).optional(),
|
|
7033
7476
|
teamId: z.nullable(z.string()).optional(),
|
|
7034
|
-
type:
|
|
7477
|
+
type: GetProjectsProjectsResponse200Type$inboundSchema,
|
|
7035
7478
|
url: z.string(),
|
|
7036
7479
|
userId: z.string(),
|
|
7037
7480
|
withCache: z.boolean().optional(),
|
|
@@ -7045,7 +7488,7 @@ export type GetProjectsTargets$Outbound = {
|
|
|
7045
7488
|
aliasError?: GetProjectsProjectsAliasError$Outbound | null | undefined;
|
|
7046
7489
|
aliasFinal?: string | null | undefined;
|
|
7047
7490
|
automaticAliases?: Array<string> | undefined;
|
|
7048
|
-
branchMatcher?:
|
|
7491
|
+
branchMatcher?: GetProjectsProjectsResponseBranchMatcher$Outbound | undefined;
|
|
7049
7492
|
buildingAt?: number | undefined;
|
|
7050
7493
|
builds?: Array<GetProjectsProjectsBuilds$Outbound> | undefined;
|
|
7051
7494
|
checksConclusion?: string | undefined;
|
|
@@ -7091,8 +7534,9 @@ export const GetProjectsTargets$outboundSchema: z.ZodType<
|
|
|
7091
7534
|
).optional(),
|
|
7092
7535
|
aliasFinal: z.nullable(z.string()).optional(),
|
|
7093
7536
|
automaticAliases: z.array(z.string()).optional(),
|
|
7094
|
-
branchMatcher: z.lazy(() =>
|
|
7095
|
-
|
|
7537
|
+
branchMatcher: z.lazy(() =>
|
|
7538
|
+
GetProjectsProjectsResponseBranchMatcher$outboundSchema
|
|
7539
|
+
).optional(),
|
|
7096
7540
|
buildingAt: z.number().optional(),
|
|
7097
7541
|
builds: z.array(z.lazy(() => GetProjectsProjectsBuilds$outboundSchema))
|
|
7098
7542
|
.optional(),
|
|
@@ -7122,7 +7566,7 @@ export const GetProjectsTargets$outboundSchema: z.ZodType<
|
|
|
7122
7566
|
requestedAt: z.number().optional(),
|
|
7123
7567
|
target: z.nullable(z.string()).optional(),
|
|
7124
7568
|
teamId: z.nullable(z.string()).optional(),
|
|
7125
|
-
type:
|
|
7569
|
+
type: GetProjectsProjectsResponse200Type$outboundSchema,
|
|
7126
7570
|
url: z.string(),
|
|
7127
7571
|
userId: z.string(),
|
|
7128
7572
|
withCache: z.boolean().optional(),
|
|
@@ -7891,25 +8335,26 @@ export namespace GetProjectsJobStatus$ {
|
|
|
7891
8335
|
}
|
|
7892
8336
|
|
|
7893
8337
|
/** @internal */
|
|
7894
|
-
export const
|
|
7895
|
-
typeof
|
|
7896
|
-
|
|
8338
|
+
export const GetProjectsProjectsResponse200ApplicationJSONType$inboundSchema:
|
|
8339
|
+
z.ZodNativeEnum<typeof GetProjectsProjectsResponse200ApplicationJSONType> = z
|
|
8340
|
+
.nativeEnum(GetProjectsProjectsResponse200ApplicationJSONType);
|
|
7897
8341
|
|
|
7898
8342
|
/** @internal */
|
|
7899
|
-
export const
|
|
7900
|
-
typeof
|
|
7901
|
-
|
|
8343
|
+
export const GetProjectsProjectsResponse200ApplicationJSONType$outboundSchema:
|
|
8344
|
+
z.ZodNativeEnum<typeof GetProjectsProjectsResponse200ApplicationJSONType> =
|
|
8345
|
+
GetProjectsProjectsResponse200ApplicationJSONType$inboundSchema;
|
|
7902
8346
|
|
|
7903
8347
|
/**
|
|
7904
8348
|
* @internal
|
|
7905
8349
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
7906
8350
|
*/
|
|
7907
|
-
export namespace
|
|
7908
|
-
/** @deprecated use `
|
|
7909
|
-
export const inboundSchema =
|
|
7910
|
-
|
|
8351
|
+
export namespace GetProjectsProjectsResponse200ApplicationJSONType$ {
|
|
8352
|
+
/** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONType$inboundSchema` instead. */
|
|
8353
|
+
export const inboundSchema =
|
|
8354
|
+
GetProjectsProjectsResponse200ApplicationJSONType$inboundSchema;
|
|
8355
|
+
/** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONType$outboundSchema` instead. */
|
|
7911
8356
|
export const outboundSchema =
|
|
7912
|
-
|
|
8357
|
+
GetProjectsProjectsResponse200ApplicationJSONType$outboundSchema;
|
|
7913
8358
|
}
|
|
7914
8359
|
|
|
7915
8360
|
/** @internal */
|
|
@@ -7920,15 +8365,17 @@ export const GetProjectsLastAliasRequest$inboundSchema: z.ZodType<
|
|
|
7920
8365
|
> = z.object({
|
|
7921
8366
|
fromDeploymentId: z.string(),
|
|
7922
8367
|
toDeploymentId: z.string(),
|
|
8368
|
+
fromRollingReleaseId: z.string().optional(),
|
|
7923
8369
|
jobStatus: GetProjectsJobStatus$inboundSchema,
|
|
7924
8370
|
requestedAt: z.number(),
|
|
7925
|
-
type:
|
|
8371
|
+
type: GetProjectsProjectsResponse200ApplicationJSONType$inboundSchema,
|
|
7926
8372
|
});
|
|
7927
8373
|
|
|
7928
8374
|
/** @internal */
|
|
7929
8375
|
export type GetProjectsLastAliasRequest$Outbound = {
|
|
7930
8376
|
fromDeploymentId: string;
|
|
7931
8377
|
toDeploymentId: string;
|
|
8378
|
+
fromRollingReleaseId?: string | undefined;
|
|
7932
8379
|
jobStatus: string;
|
|
7933
8380
|
requestedAt: number;
|
|
7934
8381
|
type: string;
|
|
@@ -7942,9 +8389,10 @@ export const GetProjectsLastAliasRequest$outboundSchema: z.ZodType<
|
|
|
7942
8389
|
> = z.object({
|
|
7943
8390
|
fromDeploymentId: z.string(),
|
|
7944
8391
|
toDeploymentId: z.string(),
|
|
8392
|
+
fromRollingReleaseId: z.string().optional(),
|
|
7945
8393
|
jobStatus: GetProjectsJobStatus$outboundSchema,
|
|
7946
8394
|
requestedAt: z.number(),
|
|
7947
|
-
type:
|
|
8395
|
+
type: GetProjectsProjectsResponse200ApplicationJSONType$outboundSchema,
|
|
7948
8396
|
});
|
|
7949
8397
|
|
|
7950
8398
|
/**
|