@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
|
@@ -124,16 +124,17 @@ export type UpdateProjectDataCacheTarget =
|
|
|
124
124
|
| Array<UpdateProjectDataCacheTarget1>
|
|
125
125
|
| UpdateProjectDataCacheTarget2;
|
|
126
126
|
|
|
127
|
-
export const
|
|
127
|
+
export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONType = {
|
|
128
128
|
Secret: "secret",
|
|
129
129
|
System: "system",
|
|
130
130
|
Encrypted: "encrypted",
|
|
131
131
|
Plain: "plain",
|
|
132
132
|
Sensitive: "sensitive",
|
|
133
133
|
} as const;
|
|
134
|
-
export type
|
|
135
|
-
|
|
136
|
-
|
|
134
|
+
export type UpdateProjectDataCacheProjectsResponse200ApplicationJSONType =
|
|
135
|
+
ClosedEnum<
|
|
136
|
+
typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONType
|
|
137
|
+
>;
|
|
137
138
|
|
|
138
139
|
export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type =
|
|
139
140
|
{
|
|
@@ -361,13 +362,13 @@ export type ContentHint =
|
|
|
361
362
|
| ContentHint15
|
|
362
363
|
| ContentHint14;
|
|
363
364
|
|
|
364
|
-
export const
|
|
365
|
+
export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType =
|
|
365
366
|
{
|
|
366
367
|
FlagsSecret: "flags-secret",
|
|
367
368
|
} as const;
|
|
368
|
-
export type
|
|
369
|
+
export type UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType =
|
|
369
370
|
ClosedEnum<
|
|
370
|
-
typeof
|
|
371
|
+
typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType
|
|
371
372
|
>;
|
|
372
373
|
|
|
373
374
|
/**
|
|
@@ -375,7 +376,7 @@ export type UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBody
|
|
|
375
376
|
*/
|
|
376
377
|
export type InternalContentHint = {
|
|
377
378
|
type:
|
|
378
|
-
|
|
379
|
+
UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType;
|
|
379
380
|
/**
|
|
380
381
|
* Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.
|
|
381
382
|
*/
|
|
@@ -387,7 +388,7 @@ export type Env = {
|
|
|
387
388
|
| Array<UpdateProjectDataCacheTarget1>
|
|
388
389
|
| UpdateProjectDataCacheTarget2
|
|
389
390
|
| undefined;
|
|
390
|
-
type:
|
|
391
|
+
type: UpdateProjectDataCacheProjectsResponse200ApplicationJSONType;
|
|
391
392
|
/**
|
|
392
393
|
* This is used to identiy variables that have been migrated from type secret to sensitive.
|
|
393
394
|
*/
|
|
@@ -431,7 +432,129 @@ export type Env = {
|
|
|
431
432
|
customEnvironmentIds?: Array<string> | undefined;
|
|
432
433
|
};
|
|
433
434
|
|
|
434
|
-
|
|
435
|
+
/**
|
|
436
|
+
* The type of environment (production, preview, or development)
|
|
437
|
+
*/
|
|
438
|
+
export const UpdateProjectDataCacheType = {
|
|
439
|
+
Production: "production",
|
|
440
|
+
Preview: "preview",
|
|
441
|
+
Development: "development",
|
|
442
|
+
} as const;
|
|
443
|
+
/**
|
|
444
|
+
* The type of environment (production, preview, or development)
|
|
445
|
+
*/
|
|
446
|
+
export type UpdateProjectDataCacheType = ClosedEnum<
|
|
447
|
+
typeof UpdateProjectDataCacheType
|
|
448
|
+
>;
|
|
449
|
+
|
|
450
|
+
/**
|
|
451
|
+
* The type of matching to perform
|
|
452
|
+
*/
|
|
453
|
+
export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType =
|
|
454
|
+
{
|
|
455
|
+
EndsWith: "endsWith",
|
|
456
|
+
StartsWith: "startsWith",
|
|
457
|
+
Equals: "equals",
|
|
458
|
+
} as const;
|
|
459
|
+
/**
|
|
460
|
+
* The type of matching to perform
|
|
461
|
+
*/
|
|
462
|
+
export type UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType =
|
|
463
|
+
ClosedEnum<
|
|
464
|
+
typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType
|
|
465
|
+
>;
|
|
466
|
+
|
|
467
|
+
/**
|
|
468
|
+
* Configuration for matching git branches to this environment
|
|
469
|
+
*/
|
|
470
|
+
export type UpdateProjectDataCacheProjectsResponseBranchMatcher = {
|
|
471
|
+
/**
|
|
472
|
+
* The type of matching to perform
|
|
473
|
+
*/
|
|
474
|
+
type:
|
|
475
|
+
UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType;
|
|
476
|
+
/**
|
|
477
|
+
* The pattern to match against branch names
|
|
478
|
+
*/
|
|
479
|
+
pattern: string;
|
|
480
|
+
};
|
|
481
|
+
|
|
482
|
+
/**
|
|
483
|
+
* 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`.
|
|
484
|
+
*/
|
|
485
|
+
export type UpdateProjectDataCacheVerification = {
|
|
486
|
+
type: string;
|
|
487
|
+
domain: string;
|
|
488
|
+
value: string;
|
|
489
|
+
reason: string;
|
|
490
|
+
};
|
|
491
|
+
|
|
492
|
+
/**
|
|
493
|
+
* List of domains associated with this environment
|
|
494
|
+
*/
|
|
495
|
+
export type UpdateProjectDataCacheDomains = {
|
|
496
|
+
name: string;
|
|
497
|
+
apexName: string;
|
|
498
|
+
projectId: string;
|
|
499
|
+
redirect?: string | null | undefined;
|
|
500
|
+
redirectStatusCode?: number | null | undefined;
|
|
501
|
+
gitBranch?: string | null | undefined;
|
|
502
|
+
customEnvironmentId?: string | null | undefined;
|
|
503
|
+
updatedAt?: number | undefined;
|
|
504
|
+
createdAt?: number | undefined;
|
|
505
|
+
/**
|
|
506
|
+
* `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.
|
|
507
|
+
*/
|
|
508
|
+
verified: boolean;
|
|
509
|
+
/**
|
|
510
|
+
* 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`.
|
|
511
|
+
*/
|
|
512
|
+
verification?: Array<UpdateProjectDataCacheVerification> | undefined;
|
|
513
|
+
};
|
|
514
|
+
|
|
515
|
+
/**
|
|
516
|
+
* Internal representation of a custom environment with all required properties
|
|
517
|
+
*/
|
|
518
|
+
export type CustomEnvironments = {
|
|
519
|
+
/**
|
|
520
|
+
* Unique identifier for the custom environment (format: env_*)
|
|
521
|
+
*/
|
|
522
|
+
id: string;
|
|
523
|
+
/**
|
|
524
|
+
* URL-friendly name of the environment
|
|
525
|
+
*/
|
|
526
|
+
slug: string;
|
|
527
|
+
/**
|
|
528
|
+
* The type of environment (production, preview, or development)
|
|
529
|
+
*/
|
|
530
|
+
type: UpdateProjectDataCacheType;
|
|
531
|
+
/**
|
|
532
|
+
* Optional description of the environment's purpose
|
|
533
|
+
*/
|
|
534
|
+
description?: string | undefined;
|
|
535
|
+
/**
|
|
536
|
+
* Configuration for matching git branches to this environment
|
|
537
|
+
*/
|
|
538
|
+
branchMatcher?:
|
|
539
|
+
| UpdateProjectDataCacheProjectsResponseBranchMatcher
|
|
540
|
+
| undefined;
|
|
541
|
+
/**
|
|
542
|
+
* List of domains associated with this environment
|
|
543
|
+
*/
|
|
544
|
+
domains?: Array<UpdateProjectDataCacheDomains> | undefined;
|
|
545
|
+
/**
|
|
546
|
+
* List of aliases for the current deployment
|
|
547
|
+
*/
|
|
548
|
+
currentDeploymentAliases?: Array<string> | undefined;
|
|
549
|
+
/**
|
|
550
|
+
* Timestamp when the environment was created
|
|
551
|
+
*/
|
|
552
|
+
createdAt: number;
|
|
553
|
+
/**
|
|
554
|
+
* Timestamp when the environment was last updated
|
|
555
|
+
*/
|
|
556
|
+
updatedAt: number;
|
|
557
|
+
};
|
|
435
558
|
|
|
436
559
|
export const UpdateProjectDataCacheFramework = {
|
|
437
560
|
Blitzjs: "blitzjs",
|
|
@@ -500,24 +623,26 @@ export type UpdateProjectDataCacheProjectsAliasError = {
|
|
|
500
623
|
/**
|
|
501
624
|
* The type of matching to perform
|
|
502
625
|
*/
|
|
503
|
-
export const
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
626
|
+
export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType =
|
|
627
|
+
{
|
|
628
|
+
EndsWith: "endsWith",
|
|
629
|
+
StartsWith: "startsWith",
|
|
630
|
+
Equals: "equals",
|
|
631
|
+
} as const;
|
|
508
632
|
/**
|
|
509
633
|
* The type of matching to perform
|
|
510
634
|
*/
|
|
511
|
-
export type
|
|
635
|
+
export type UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType =
|
|
512
636
|
ClosedEnum<
|
|
513
|
-
typeof
|
|
637
|
+
typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType
|
|
514
638
|
>;
|
|
515
639
|
|
|
516
|
-
export type
|
|
640
|
+
export type UpdateProjectDataCacheBranchMatcher = {
|
|
517
641
|
/**
|
|
518
642
|
* The type of matching to perform
|
|
519
643
|
*/
|
|
520
|
-
type:
|
|
644
|
+
type:
|
|
645
|
+
UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType;
|
|
521
646
|
/**
|
|
522
647
|
* The pattern to match against branch names
|
|
523
648
|
*/
|
|
@@ -599,11 +724,11 @@ export type UpdateProjectDataCacheProjectsReadySubstate = ClosedEnum<
|
|
|
599
724
|
typeof UpdateProjectDataCacheProjectsReadySubstate
|
|
600
725
|
>;
|
|
601
726
|
|
|
602
|
-
export const
|
|
727
|
+
export const UpdateProjectDataCacheProjectsType = {
|
|
603
728
|
Lambdas: "LAMBDAS",
|
|
604
729
|
} as const;
|
|
605
|
-
export type
|
|
606
|
-
typeof
|
|
730
|
+
export type UpdateProjectDataCacheProjectsType = ClosedEnum<
|
|
731
|
+
typeof UpdateProjectDataCacheProjectsType
|
|
607
732
|
>;
|
|
608
733
|
|
|
609
734
|
export type LatestDeployments = {
|
|
@@ -613,7 +738,7 @@ export type LatestDeployments = {
|
|
|
613
738
|
aliasError?: UpdateProjectDataCacheProjectsAliasError | null | undefined;
|
|
614
739
|
aliasFinal?: string | null | undefined;
|
|
615
740
|
automaticAliases?: Array<string> | undefined;
|
|
616
|
-
branchMatcher?:
|
|
741
|
+
branchMatcher?: UpdateProjectDataCacheBranchMatcher | undefined;
|
|
617
742
|
buildingAt?: number | undefined;
|
|
618
743
|
builds?: Array<UpdateProjectDataCacheProjectsBuilds> | undefined;
|
|
619
744
|
checksConclusion?: UpdateProjectDataCacheProjectsChecksConclusion | undefined;
|
|
@@ -642,7 +767,7 @@ export type LatestDeployments = {
|
|
|
642
767
|
requestedAt?: number | undefined;
|
|
643
768
|
target?: string | null | undefined;
|
|
644
769
|
teamId?: string | null | undefined;
|
|
645
|
-
type:
|
|
770
|
+
type: UpdateProjectDataCacheProjectsType;
|
|
646
771
|
url: string;
|
|
647
772
|
userId: string;
|
|
648
773
|
withCache?: boolean | undefined;
|
|
@@ -878,6 +1003,10 @@ export type Stages = {
|
|
|
878
1003
|
* Whether or not this stage requires approval to proceed.
|
|
879
1004
|
*/
|
|
880
1005
|
requireApproval?: boolean | undefined;
|
|
1006
|
+
/**
|
|
1007
|
+
* duration is the total time to serve a stage, at the given targetPercentage.
|
|
1008
|
+
*/
|
|
1009
|
+
duration?: number | undefined;
|
|
881
1010
|
};
|
|
882
1011
|
|
|
883
1012
|
export type RollingRelease = {
|
|
@@ -924,8 +1053,8 @@ export type DefaultResourceConfig = {
|
|
|
924
1053
|
};
|
|
925
1054
|
|
|
926
1055
|
export const UpdateProjectDataCacheDeploymentType = {
|
|
927
|
-
All: "all",
|
|
928
1056
|
Preview: "preview",
|
|
1057
|
+
All: "all",
|
|
929
1058
|
ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
|
|
930
1059
|
} as const;
|
|
931
1060
|
export type UpdateProjectDataCacheDeploymentType = ClosedEnum<
|
|
@@ -946,7 +1075,7 @@ export type UpdateProjectDataCacheAliasError = {
|
|
|
946
1075
|
/**
|
|
947
1076
|
* The type of matching to perform
|
|
948
1077
|
*/
|
|
949
|
-
export const
|
|
1078
|
+
export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType =
|
|
950
1079
|
{
|
|
951
1080
|
EndsWith: "endsWith",
|
|
952
1081
|
StartsWith: "startsWith",
|
|
@@ -955,17 +1084,17 @@ export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBod
|
|
|
955
1084
|
/**
|
|
956
1085
|
* The type of matching to perform
|
|
957
1086
|
*/
|
|
958
|
-
export type
|
|
1087
|
+
export type UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType =
|
|
959
1088
|
ClosedEnum<
|
|
960
|
-
typeof
|
|
1089
|
+
typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType
|
|
961
1090
|
>;
|
|
962
1091
|
|
|
963
|
-
export type
|
|
1092
|
+
export type UpdateProjectDataCacheProjectsBranchMatcher = {
|
|
964
1093
|
/**
|
|
965
1094
|
* The type of matching to perform
|
|
966
1095
|
*/
|
|
967
1096
|
type:
|
|
968
|
-
|
|
1097
|
+
UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType;
|
|
969
1098
|
/**
|
|
970
1099
|
* The pattern to match against branch names
|
|
971
1100
|
*/
|
|
@@ -1047,11 +1176,11 @@ export type UpdateProjectDataCacheReadySubstate = ClosedEnum<
|
|
|
1047
1176
|
typeof UpdateProjectDataCacheReadySubstate
|
|
1048
1177
|
>;
|
|
1049
1178
|
|
|
1050
|
-
export const
|
|
1179
|
+
export const UpdateProjectDataCacheProjectsResponseType = {
|
|
1051
1180
|
Lambdas: "LAMBDAS",
|
|
1052
1181
|
} as const;
|
|
1053
|
-
export type
|
|
1054
|
-
typeof
|
|
1182
|
+
export type UpdateProjectDataCacheProjectsResponseType = ClosedEnum<
|
|
1183
|
+
typeof UpdateProjectDataCacheProjectsResponseType
|
|
1055
1184
|
>;
|
|
1056
1185
|
|
|
1057
1186
|
export type Targets = {
|
|
@@ -1061,7 +1190,7 @@ export type Targets = {
|
|
|
1061
1190
|
aliasError?: UpdateProjectDataCacheAliasError | null | undefined;
|
|
1062
1191
|
aliasFinal?: string | null | undefined;
|
|
1063
1192
|
automaticAliases?: Array<string> | undefined;
|
|
1064
|
-
branchMatcher?:
|
|
1193
|
+
branchMatcher?: UpdateProjectDataCacheProjectsBranchMatcher | undefined;
|
|
1065
1194
|
buildingAt?: number | undefined;
|
|
1066
1195
|
builds?: Array<UpdateProjectDataCacheBuilds> | undefined;
|
|
1067
1196
|
checksConclusion?: UpdateProjectDataCacheChecksConclusion | undefined;
|
|
@@ -1090,7 +1219,7 @@ export type Targets = {
|
|
|
1090
1219
|
requestedAt?: number | undefined;
|
|
1091
1220
|
target?: string | null | undefined;
|
|
1092
1221
|
teamId?: string | null | undefined;
|
|
1093
|
-
type:
|
|
1222
|
+
type: UpdateProjectDataCacheProjectsResponseType;
|
|
1094
1223
|
url: string;
|
|
1095
1224
|
userId: string;
|
|
1096
1225
|
withCache?: boolean | undefined;
|
|
@@ -1305,38 +1434,44 @@ export const JobStatus = {
|
|
|
1305
1434
|
} as const;
|
|
1306
1435
|
export type JobStatus = ClosedEnum<typeof JobStatus>;
|
|
1307
1436
|
|
|
1308
|
-
export const
|
|
1437
|
+
export const UpdateProjectDataCacheProjectsResponse200Type = {
|
|
1309
1438
|
Promote: "promote",
|
|
1310
1439
|
Rollback: "rollback",
|
|
1311
1440
|
} as const;
|
|
1312
|
-
export type
|
|
1313
|
-
typeof
|
|
1441
|
+
export type UpdateProjectDataCacheProjectsResponse200Type = ClosedEnum<
|
|
1442
|
+
typeof UpdateProjectDataCacheProjectsResponse200Type
|
|
1314
1443
|
>;
|
|
1315
1444
|
|
|
1316
1445
|
export type LastAliasRequest = {
|
|
1317
1446
|
fromDeploymentId: string;
|
|
1318
1447
|
toDeploymentId: string;
|
|
1448
|
+
/**
|
|
1449
|
+
* If rolling back from a rolling release, fromDeploymentId captures the "base" of that rolling release, and fromRollingReleaseId captures the "target" of that rolling release.
|
|
1450
|
+
*/
|
|
1451
|
+
fromRollingReleaseId?: string | undefined;
|
|
1319
1452
|
jobStatus: JobStatus;
|
|
1320
1453
|
requestedAt: number;
|
|
1321
|
-
type:
|
|
1454
|
+
type: UpdateProjectDataCacheProjectsResponse200Type;
|
|
1322
1455
|
};
|
|
1323
1456
|
|
|
1324
|
-
export const
|
|
1457
|
+
export const UpdateProjectDataCacheScope = {
|
|
1325
1458
|
AutomationBypass: "automation-bypass",
|
|
1326
1459
|
} as const;
|
|
1327
|
-
export type
|
|
1460
|
+
export type UpdateProjectDataCacheScope = ClosedEnum<
|
|
1461
|
+
typeof UpdateProjectDataCacheScope
|
|
1462
|
+
>;
|
|
1328
1463
|
|
|
1329
1464
|
export type ProtectionBypass = {
|
|
1330
1465
|
createdAt: number;
|
|
1331
1466
|
createdBy: string;
|
|
1332
|
-
scope:
|
|
1467
|
+
scope: UpdateProjectDataCacheScope;
|
|
1333
1468
|
};
|
|
1334
1469
|
|
|
1335
1470
|
export const UpdateProjectDataCacheTrustedIpsDeploymentType = {
|
|
1336
|
-
|
|
1471
|
+
Production: "production",
|
|
1337
1472
|
Preview: "preview",
|
|
1473
|
+
All: "all",
|
|
1338
1474
|
ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
|
|
1339
|
-
Production: "production",
|
|
1340
1475
|
} as const;
|
|
1341
1476
|
export type UpdateProjectDataCacheTrustedIpsDeploymentType = ClosedEnum<
|
|
1342
1477
|
typeof UpdateProjectDataCacheTrustedIpsDeploymentType
|
|
@@ -1347,10 +1482,10 @@ export type TrustedIps2 = {
|
|
|
1347
1482
|
};
|
|
1348
1483
|
|
|
1349
1484
|
export const TrustedIpsDeploymentType = {
|
|
1350
|
-
|
|
1485
|
+
Production: "production",
|
|
1351
1486
|
Preview: "preview",
|
|
1487
|
+
All: "all",
|
|
1352
1488
|
ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
|
|
1353
|
-
Production: "production",
|
|
1354
1489
|
} as const;
|
|
1355
1490
|
export type TrustedIpsDeploymentType = ClosedEnum<
|
|
1356
1491
|
typeof TrustedIpsDeploymentType
|
|
@@ -2317,26 +2452,31 @@ export function updateProjectDataCacheTargetFromJSON(
|
|
|
2317
2452
|
}
|
|
2318
2453
|
|
|
2319
2454
|
/** @internal */
|
|
2320
|
-
export const
|
|
2321
|
-
z.ZodNativeEnum<
|
|
2322
|
-
|
|
2455
|
+
export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$inboundSchema:
|
|
2456
|
+
z.ZodNativeEnum<
|
|
2457
|
+
typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONType
|
|
2458
|
+
> = z.nativeEnum(
|
|
2459
|
+
UpdateProjectDataCacheProjectsResponse200ApplicationJSONType,
|
|
2460
|
+
);
|
|
2323
2461
|
|
|
2324
2462
|
/** @internal */
|
|
2325
|
-
export const
|
|
2326
|
-
z.ZodNativeEnum<
|
|
2327
|
-
|
|
2463
|
+
export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$outboundSchema:
|
|
2464
|
+
z.ZodNativeEnum<
|
|
2465
|
+
typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONType
|
|
2466
|
+
> =
|
|
2467
|
+
UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$inboundSchema;
|
|
2328
2468
|
|
|
2329
2469
|
/**
|
|
2330
2470
|
* @internal
|
|
2331
2471
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2332
2472
|
*/
|
|
2333
|
-
export namespace
|
|
2334
|
-
/** @deprecated use `
|
|
2473
|
+
export namespace UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$ {
|
|
2474
|
+
/** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$inboundSchema` instead. */
|
|
2335
2475
|
export const inboundSchema =
|
|
2336
|
-
|
|
2337
|
-
/** @deprecated use `
|
|
2476
|
+
UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$inboundSchema;
|
|
2477
|
+
/** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$outboundSchema` instead. */
|
|
2338
2478
|
export const outboundSchema =
|
|
2339
|
-
|
|
2479
|
+
UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$outboundSchema;
|
|
2340
2480
|
}
|
|
2341
2481
|
|
|
2342
2482
|
/** @internal */
|
|
@@ -3653,31 +3793,31 @@ export function contentHintFromJSON(
|
|
|
3653
3793
|
}
|
|
3654
3794
|
|
|
3655
3795
|
/** @internal */
|
|
3656
|
-
export const
|
|
3796
|
+
export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema:
|
|
3657
3797
|
z.ZodNativeEnum<
|
|
3658
|
-
typeof
|
|
3798
|
+
typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType
|
|
3659
3799
|
> = z.nativeEnum(
|
|
3660
|
-
|
|
3800
|
+
UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType,
|
|
3661
3801
|
);
|
|
3662
3802
|
|
|
3663
3803
|
/** @internal */
|
|
3664
|
-
export const
|
|
3804
|
+
export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema:
|
|
3665
3805
|
z.ZodNativeEnum<
|
|
3666
|
-
typeof
|
|
3806
|
+
typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType
|
|
3667
3807
|
> =
|
|
3668
|
-
|
|
3808
|
+
UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema;
|
|
3669
3809
|
|
|
3670
3810
|
/**
|
|
3671
3811
|
* @internal
|
|
3672
3812
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3673
3813
|
*/
|
|
3674
|
-
export namespace
|
|
3675
|
-
/** @deprecated use `
|
|
3814
|
+
export namespace UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType$ {
|
|
3815
|
+
/** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema` instead. */
|
|
3676
3816
|
export const inboundSchema =
|
|
3677
|
-
|
|
3678
|
-
/** @deprecated use `
|
|
3817
|
+
UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema;
|
|
3818
|
+
/** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema` instead. */
|
|
3679
3819
|
export const outboundSchema =
|
|
3680
|
-
|
|
3820
|
+
UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema;
|
|
3681
3821
|
}
|
|
3682
3822
|
|
|
3683
3823
|
/** @internal */
|
|
@@ -3687,7 +3827,7 @@ export const InternalContentHint$inboundSchema: z.ZodType<
|
|
|
3687
3827
|
unknown
|
|
3688
3828
|
> = z.object({
|
|
3689
3829
|
type:
|
|
3690
|
-
|
|
3830
|
+
UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema,
|
|
3691
3831
|
encryptedValue: z.string(),
|
|
3692
3832
|
});
|
|
3693
3833
|
|
|
@@ -3704,7 +3844,7 @@ export const InternalContentHint$outboundSchema: z.ZodType<
|
|
|
3704
3844
|
InternalContentHint
|
|
3705
3845
|
> = z.object({
|
|
3706
3846
|
type:
|
|
3707
|
-
|
|
3847
|
+
UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema,
|
|
3708
3848
|
encryptedValue: z.string(),
|
|
3709
3849
|
});
|
|
3710
3850
|
|
|
@@ -3746,7 +3886,8 @@ export const Env$inboundSchema: z.ZodType<Env, z.ZodTypeDef, unknown> = z
|
|
|
3746
3886
|
z.array(UpdateProjectDataCacheTarget1$inboundSchema),
|
|
3747
3887
|
UpdateProjectDataCacheTarget2$inboundSchema,
|
|
3748
3888
|
]).optional(),
|
|
3749
|
-
type:
|
|
3889
|
+
type:
|
|
3890
|
+
UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$inboundSchema,
|
|
3750
3891
|
sunsetSecretId: z.string().optional(),
|
|
3751
3892
|
decrypted: z.boolean().optional(),
|
|
3752
3893
|
value: z.string(),
|
|
@@ -3835,7 +3976,8 @@ export const Env$outboundSchema: z.ZodType<Env$Outbound, z.ZodTypeDef, Env> = z
|
|
|
3835
3976
|
z.array(UpdateProjectDataCacheTarget1$outboundSchema),
|
|
3836
3977
|
UpdateProjectDataCacheTarget2$outboundSchema,
|
|
3837
3978
|
]).optional(),
|
|
3838
|
-
type:
|
|
3979
|
+
type:
|
|
3980
|
+
UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$outboundSchema,
|
|
3839
3981
|
sunsetSecretId: z.string().optional(),
|
|
3840
3982
|
decrypted: z.boolean().optional(),
|
|
3841
3983
|
value: z.string(),
|
|
@@ -3904,58 +4046,375 @@ export function envFromJSON(
|
|
|
3904
4046
|
}
|
|
3905
4047
|
|
|
3906
4048
|
/** @internal */
|
|
3907
|
-
export const
|
|
3908
|
-
|
|
3909
|
-
|
|
3910
|
-
unknown
|
|
3911
|
-
> = z.object({});
|
|
3912
|
-
|
|
3913
|
-
/** @internal */
|
|
3914
|
-
export type CustomEnvironments$Outbound = {};
|
|
4049
|
+
export const UpdateProjectDataCacheType$inboundSchema: z.ZodNativeEnum<
|
|
4050
|
+
typeof UpdateProjectDataCacheType
|
|
4051
|
+
> = z.nativeEnum(UpdateProjectDataCacheType);
|
|
3915
4052
|
|
|
3916
4053
|
/** @internal */
|
|
3917
|
-
export const
|
|
3918
|
-
|
|
3919
|
-
|
|
3920
|
-
CustomEnvironments
|
|
3921
|
-
> = z.object({});
|
|
4054
|
+
export const UpdateProjectDataCacheType$outboundSchema: z.ZodNativeEnum<
|
|
4055
|
+
typeof UpdateProjectDataCacheType
|
|
4056
|
+
> = UpdateProjectDataCacheType$inboundSchema;
|
|
3922
4057
|
|
|
3923
4058
|
/**
|
|
3924
4059
|
* @internal
|
|
3925
4060
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3926
4061
|
*/
|
|
3927
|
-
export namespace
|
|
3928
|
-
/** @deprecated use `
|
|
3929
|
-
export const inboundSchema =
|
|
3930
|
-
/** @deprecated use `
|
|
3931
|
-
export const outboundSchema =
|
|
3932
|
-
/** @deprecated use `CustomEnvironments$Outbound` instead. */
|
|
3933
|
-
export type Outbound = CustomEnvironments$Outbound;
|
|
3934
|
-
}
|
|
3935
|
-
|
|
3936
|
-
export function customEnvironmentsToJSON(
|
|
3937
|
-
customEnvironments: CustomEnvironments,
|
|
3938
|
-
): string {
|
|
3939
|
-
return JSON.stringify(
|
|
3940
|
-
CustomEnvironments$outboundSchema.parse(customEnvironments),
|
|
3941
|
-
);
|
|
4062
|
+
export namespace UpdateProjectDataCacheType$ {
|
|
4063
|
+
/** @deprecated use `UpdateProjectDataCacheType$inboundSchema` instead. */
|
|
4064
|
+
export const inboundSchema = UpdateProjectDataCacheType$inboundSchema;
|
|
4065
|
+
/** @deprecated use `UpdateProjectDataCacheType$outboundSchema` instead. */
|
|
4066
|
+
export const outboundSchema = UpdateProjectDataCacheType$outboundSchema;
|
|
3942
4067
|
}
|
|
3943
4068
|
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
`Failed to parse 'CustomEnvironments' from JSON`,
|
|
4069
|
+
/** @internal */
|
|
4070
|
+
export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema:
|
|
4071
|
+
z.ZodNativeEnum<
|
|
4072
|
+
typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType
|
|
4073
|
+
> = z.nativeEnum(
|
|
4074
|
+
UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType,
|
|
3951
4075
|
);
|
|
3952
|
-
}
|
|
3953
4076
|
|
|
3954
4077
|
/** @internal */
|
|
3955
|
-
export const
|
|
3956
|
-
|
|
3957
|
-
|
|
3958
|
-
|
|
4078
|
+
export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema:
|
|
4079
|
+
z.ZodNativeEnum<
|
|
4080
|
+
typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType
|
|
4081
|
+
> =
|
|
4082
|
+
UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema;
|
|
4083
|
+
|
|
4084
|
+
/**
|
|
4085
|
+
* @internal
|
|
4086
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4087
|
+
*/
|
|
4088
|
+
export namespace UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$ {
|
|
4089
|
+
/** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema` instead. */
|
|
4090
|
+
export const inboundSchema =
|
|
4091
|
+
UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema;
|
|
4092
|
+
/** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema` instead. */
|
|
4093
|
+
export const outboundSchema =
|
|
4094
|
+
UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema;
|
|
4095
|
+
}
|
|
4096
|
+
|
|
4097
|
+
/** @internal */
|
|
4098
|
+
export const UpdateProjectDataCacheProjectsResponseBranchMatcher$inboundSchema:
|
|
4099
|
+
z.ZodType<
|
|
4100
|
+
UpdateProjectDataCacheProjectsResponseBranchMatcher,
|
|
4101
|
+
z.ZodTypeDef,
|
|
4102
|
+
unknown
|
|
4103
|
+
> = z.object({
|
|
4104
|
+
type:
|
|
4105
|
+
UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema,
|
|
4106
|
+
pattern: z.string(),
|
|
4107
|
+
});
|
|
4108
|
+
|
|
4109
|
+
/** @internal */
|
|
4110
|
+
export type UpdateProjectDataCacheProjectsResponseBranchMatcher$Outbound = {
|
|
4111
|
+
type: string;
|
|
4112
|
+
pattern: string;
|
|
4113
|
+
};
|
|
4114
|
+
|
|
4115
|
+
/** @internal */
|
|
4116
|
+
export const UpdateProjectDataCacheProjectsResponseBranchMatcher$outboundSchema:
|
|
4117
|
+
z.ZodType<
|
|
4118
|
+
UpdateProjectDataCacheProjectsResponseBranchMatcher$Outbound,
|
|
4119
|
+
z.ZodTypeDef,
|
|
4120
|
+
UpdateProjectDataCacheProjectsResponseBranchMatcher
|
|
4121
|
+
> = z.object({
|
|
4122
|
+
type:
|
|
4123
|
+
UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema,
|
|
4124
|
+
pattern: z.string(),
|
|
4125
|
+
});
|
|
4126
|
+
|
|
4127
|
+
/**
|
|
4128
|
+
* @internal
|
|
4129
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4130
|
+
*/
|
|
4131
|
+
export namespace UpdateProjectDataCacheProjectsResponseBranchMatcher$ {
|
|
4132
|
+
/** @deprecated use `UpdateProjectDataCacheProjectsResponseBranchMatcher$inboundSchema` instead. */
|
|
4133
|
+
export const inboundSchema =
|
|
4134
|
+
UpdateProjectDataCacheProjectsResponseBranchMatcher$inboundSchema;
|
|
4135
|
+
/** @deprecated use `UpdateProjectDataCacheProjectsResponseBranchMatcher$outboundSchema` instead. */
|
|
4136
|
+
export const outboundSchema =
|
|
4137
|
+
UpdateProjectDataCacheProjectsResponseBranchMatcher$outboundSchema;
|
|
4138
|
+
/** @deprecated use `UpdateProjectDataCacheProjectsResponseBranchMatcher$Outbound` instead. */
|
|
4139
|
+
export type Outbound =
|
|
4140
|
+
UpdateProjectDataCacheProjectsResponseBranchMatcher$Outbound;
|
|
4141
|
+
}
|
|
4142
|
+
|
|
4143
|
+
export function updateProjectDataCacheProjectsResponseBranchMatcherToJSON(
|
|
4144
|
+
updateProjectDataCacheProjectsResponseBranchMatcher:
|
|
4145
|
+
UpdateProjectDataCacheProjectsResponseBranchMatcher,
|
|
4146
|
+
): string {
|
|
4147
|
+
return JSON.stringify(
|
|
4148
|
+
UpdateProjectDataCacheProjectsResponseBranchMatcher$outboundSchema.parse(
|
|
4149
|
+
updateProjectDataCacheProjectsResponseBranchMatcher,
|
|
4150
|
+
),
|
|
4151
|
+
);
|
|
4152
|
+
}
|
|
4153
|
+
|
|
4154
|
+
export function updateProjectDataCacheProjectsResponseBranchMatcherFromJSON(
|
|
4155
|
+
jsonString: string,
|
|
4156
|
+
): SafeParseResult<
|
|
4157
|
+
UpdateProjectDataCacheProjectsResponseBranchMatcher,
|
|
4158
|
+
SDKValidationError
|
|
4159
|
+
> {
|
|
4160
|
+
return safeParse(
|
|
4161
|
+
jsonString,
|
|
4162
|
+
(x) =>
|
|
4163
|
+
UpdateProjectDataCacheProjectsResponseBranchMatcher$inboundSchema.parse(
|
|
4164
|
+
JSON.parse(x),
|
|
4165
|
+
),
|
|
4166
|
+
`Failed to parse 'UpdateProjectDataCacheProjectsResponseBranchMatcher' from JSON`,
|
|
4167
|
+
);
|
|
4168
|
+
}
|
|
4169
|
+
|
|
4170
|
+
/** @internal */
|
|
4171
|
+
export const UpdateProjectDataCacheVerification$inboundSchema: z.ZodType<
|
|
4172
|
+
UpdateProjectDataCacheVerification,
|
|
4173
|
+
z.ZodTypeDef,
|
|
4174
|
+
unknown
|
|
4175
|
+
> = z.object({
|
|
4176
|
+
type: z.string(),
|
|
4177
|
+
domain: z.string(),
|
|
4178
|
+
value: z.string(),
|
|
4179
|
+
reason: z.string(),
|
|
4180
|
+
});
|
|
4181
|
+
|
|
4182
|
+
/** @internal */
|
|
4183
|
+
export type UpdateProjectDataCacheVerification$Outbound = {
|
|
4184
|
+
type: string;
|
|
4185
|
+
domain: string;
|
|
4186
|
+
value: string;
|
|
4187
|
+
reason: string;
|
|
4188
|
+
};
|
|
4189
|
+
|
|
4190
|
+
/** @internal */
|
|
4191
|
+
export const UpdateProjectDataCacheVerification$outboundSchema: z.ZodType<
|
|
4192
|
+
UpdateProjectDataCacheVerification$Outbound,
|
|
4193
|
+
z.ZodTypeDef,
|
|
4194
|
+
UpdateProjectDataCacheVerification
|
|
4195
|
+
> = z.object({
|
|
4196
|
+
type: z.string(),
|
|
4197
|
+
domain: z.string(),
|
|
4198
|
+
value: z.string(),
|
|
4199
|
+
reason: z.string(),
|
|
4200
|
+
});
|
|
4201
|
+
|
|
4202
|
+
/**
|
|
4203
|
+
* @internal
|
|
4204
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4205
|
+
*/
|
|
4206
|
+
export namespace UpdateProjectDataCacheVerification$ {
|
|
4207
|
+
/** @deprecated use `UpdateProjectDataCacheVerification$inboundSchema` instead. */
|
|
4208
|
+
export const inboundSchema = UpdateProjectDataCacheVerification$inboundSchema;
|
|
4209
|
+
/** @deprecated use `UpdateProjectDataCacheVerification$outboundSchema` instead. */
|
|
4210
|
+
export const outboundSchema =
|
|
4211
|
+
UpdateProjectDataCacheVerification$outboundSchema;
|
|
4212
|
+
/** @deprecated use `UpdateProjectDataCacheVerification$Outbound` instead. */
|
|
4213
|
+
export type Outbound = UpdateProjectDataCacheVerification$Outbound;
|
|
4214
|
+
}
|
|
4215
|
+
|
|
4216
|
+
export function updateProjectDataCacheVerificationToJSON(
|
|
4217
|
+
updateProjectDataCacheVerification: UpdateProjectDataCacheVerification,
|
|
4218
|
+
): string {
|
|
4219
|
+
return JSON.stringify(
|
|
4220
|
+
UpdateProjectDataCacheVerification$outboundSchema.parse(
|
|
4221
|
+
updateProjectDataCacheVerification,
|
|
4222
|
+
),
|
|
4223
|
+
);
|
|
4224
|
+
}
|
|
4225
|
+
|
|
4226
|
+
export function updateProjectDataCacheVerificationFromJSON(
|
|
4227
|
+
jsonString: string,
|
|
4228
|
+
): SafeParseResult<UpdateProjectDataCacheVerification, SDKValidationError> {
|
|
4229
|
+
return safeParse(
|
|
4230
|
+
jsonString,
|
|
4231
|
+
(x) =>
|
|
4232
|
+
UpdateProjectDataCacheVerification$inboundSchema.parse(JSON.parse(x)),
|
|
4233
|
+
`Failed to parse 'UpdateProjectDataCacheVerification' from JSON`,
|
|
4234
|
+
);
|
|
4235
|
+
}
|
|
4236
|
+
|
|
4237
|
+
/** @internal */
|
|
4238
|
+
export const UpdateProjectDataCacheDomains$inboundSchema: z.ZodType<
|
|
4239
|
+
UpdateProjectDataCacheDomains,
|
|
4240
|
+
z.ZodTypeDef,
|
|
4241
|
+
unknown
|
|
4242
|
+
> = z.object({
|
|
4243
|
+
name: z.string(),
|
|
4244
|
+
apexName: z.string(),
|
|
4245
|
+
projectId: z.string(),
|
|
4246
|
+
redirect: z.nullable(z.string()).optional(),
|
|
4247
|
+
redirectStatusCode: z.nullable(z.number()).optional(),
|
|
4248
|
+
gitBranch: z.nullable(z.string()).optional(),
|
|
4249
|
+
customEnvironmentId: z.nullable(z.string()).optional(),
|
|
4250
|
+
updatedAt: z.number().optional(),
|
|
4251
|
+
createdAt: z.number().optional(),
|
|
4252
|
+
verified: z.boolean(),
|
|
4253
|
+
verification: z.array(
|
|
4254
|
+
z.lazy(() => UpdateProjectDataCacheVerification$inboundSchema),
|
|
4255
|
+
).optional(),
|
|
4256
|
+
});
|
|
4257
|
+
|
|
4258
|
+
/** @internal */
|
|
4259
|
+
export type UpdateProjectDataCacheDomains$Outbound = {
|
|
4260
|
+
name: string;
|
|
4261
|
+
apexName: string;
|
|
4262
|
+
projectId: string;
|
|
4263
|
+
redirect?: string | null | undefined;
|
|
4264
|
+
redirectStatusCode?: number | null | undefined;
|
|
4265
|
+
gitBranch?: string | null | undefined;
|
|
4266
|
+
customEnvironmentId?: string | null | undefined;
|
|
4267
|
+
updatedAt?: number | undefined;
|
|
4268
|
+
createdAt?: number | undefined;
|
|
4269
|
+
verified: boolean;
|
|
4270
|
+
verification?: Array<UpdateProjectDataCacheVerification$Outbound> | undefined;
|
|
4271
|
+
};
|
|
4272
|
+
|
|
4273
|
+
/** @internal */
|
|
4274
|
+
export const UpdateProjectDataCacheDomains$outboundSchema: z.ZodType<
|
|
4275
|
+
UpdateProjectDataCacheDomains$Outbound,
|
|
4276
|
+
z.ZodTypeDef,
|
|
4277
|
+
UpdateProjectDataCacheDomains
|
|
4278
|
+
> = z.object({
|
|
4279
|
+
name: z.string(),
|
|
4280
|
+
apexName: z.string(),
|
|
4281
|
+
projectId: z.string(),
|
|
4282
|
+
redirect: z.nullable(z.string()).optional(),
|
|
4283
|
+
redirectStatusCode: z.nullable(z.number()).optional(),
|
|
4284
|
+
gitBranch: z.nullable(z.string()).optional(),
|
|
4285
|
+
customEnvironmentId: z.nullable(z.string()).optional(),
|
|
4286
|
+
updatedAt: z.number().optional(),
|
|
4287
|
+
createdAt: z.number().optional(),
|
|
4288
|
+
verified: z.boolean(),
|
|
4289
|
+
verification: z.array(
|
|
4290
|
+
z.lazy(() => UpdateProjectDataCacheVerification$outboundSchema),
|
|
4291
|
+
).optional(),
|
|
4292
|
+
});
|
|
4293
|
+
|
|
4294
|
+
/**
|
|
4295
|
+
* @internal
|
|
4296
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4297
|
+
*/
|
|
4298
|
+
export namespace UpdateProjectDataCacheDomains$ {
|
|
4299
|
+
/** @deprecated use `UpdateProjectDataCacheDomains$inboundSchema` instead. */
|
|
4300
|
+
export const inboundSchema = UpdateProjectDataCacheDomains$inboundSchema;
|
|
4301
|
+
/** @deprecated use `UpdateProjectDataCacheDomains$outboundSchema` instead. */
|
|
4302
|
+
export const outboundSchema = UpdateProjectDataCacheDomains$outboundSchema;
|
|
4303
|
+
/** @deprecated use `UpdateProjectDataCacheDomains$Outbound` instead. */
|
|
4304
|
+
export type Outbound = UpdateProjectDataCacheDomains$Outbound;
|
|
4305
|
+
}
|
|
4306
|
+
|
|
4307
|
+
export function updateProjectDataCacheDomainsToJSON(
|
|
4308
|
+
updateProjectDataCacheDomains: UpdateProjectDataCacheDomains,
|
|
4309
|
+
): string {
|
|
4310
|
+
return JSON.stringify(
|
|
4311
|
+
UpdateProjectDataCacheDomains$outboundSchema.parse(
|
|
4312
|
+
updateProjectDataCacheDomains,
|
|
4313
|
+
),
|
|
4314
|
+
);
|
|
4315
|
+
}
|
|
4316
|
+
|
|
4317
|
+
export function updateProjectDataCacheDomainsFromJSON(
|
|
4318
|
+
jsonString: string,
|
|
4319
|
+
): SafeParseResult<UpdateProjectDataCacheDomains, SDKValidationError> {
|
|
4320
|
+
return safeParse(
|
|
4321
|
+
jsonString,
|
|
4322
|
+
(x) => UpdateProjectDataCacheDomains$inboundSchema.parse(JSON.parse(x)),
|
|
4323
|
+
`Failed to parse 'UpdateProjectDataCacheDomains' from JSON`,
|
|
4324
|
+
);
|
|
4325
|
+
}
|
|
4326
|
+
|
|
4327
|
+
/** @internal */
|
|
4328
|
+
export const CustomEnvironments$inboundSchema: z.ZodType<
|
|
4329
|
+
CustomEnvironments,
|
|
4330
|
+
z.ZodTypeDef,
|
|
4331
|
+
unknown
|
|
4332
|
+
> = z.object({
|
|
4333
|
+
id: z.string(),
|
|
4334
|
+
slug: z.string(),
|
|
4335
|
+
type: UpdateProjectDataCacheType$inboundSchema,
|
|
4336
|
+
description: z.string().optional(),
|
|
4337
|
+
branchMatcher: z.lazy(() =>
|
|
4338
|
+
UpdateProjectDataCacheProjectsResponseBranchMatcher$inboundSchema
|
|
4339
|
+
).optional(),
|
|
4340
|
+
domains: z.array(z.lazy(() => UpdateProjectDataCacheDomains$inboundSchema))
|
|
4341
|
+
.optional(),
|
|
4342
|
+
currentDeploymentAliases: z.array(z.string()).optional(),
|
|
4343
|
+
createdAt: z.number(),
|
|
4344
|
+
updatedAt: z.number(),
|
|
4345
|
+
});
|
|
4346
|
+
|
|
4347
|
+
/** @internal */
|
|
4348
|
+
export type CustomEnvironments$Outbound = {
|
|
4349
|
+
id: string;
|
|
4350
|
+
slug: string;
|
|
4351
|
+
type: string;
|
|
4352
|
+
description?: string | undefined;
|
|
4353
|
+
branchMatcher?:
|
|
4354
|
+
| UpdateProjectDataCacheProjectsResponseBranchMatcher$Outbound
|
|
4355
|
+
| undefined;
|
|
4356
|
+
domains?: Array<UpdateProjectDataCacheDomains$Outbound> | undefined;
|
|
4357
|
+
currentDeploymentAliases?: Array<string> | undefined;
|
|
4358
|
+
createdAt: number;
|
|
4359
|
+
updatedAt: number;
|
|
4360
|
+
};
|
|
4361
|
+
|
|
4362
|
+
/** @internal */
|
|
4363
|
+
export const CustomEnvironments$outboundSchema: z.ZodType<
|
|
4364
|
+
CustomEnvironments$Outbound,
|
|
4365
|
+
z.ZodTypeDef,
|
|
4366
|
+
CustomEnvironments
|
|
4367
|
+
> = z.object({
|
|
4368
|
+
id: z.string(),
|
|
4369
|
+
slug: z.string(),
|
|
4370
|
+
type: UpdateProjectDataCacheType$outboundSchema,
|
|
4371
|
+
description: z.string().optional(),
|
|
4372
|
+
branchMatcher: z.lazy(() =>
|
|
4373
|
+
UpdateProjectDataCacheProjectsResponseBranchMatcher$outboundSchema
|
|
4374
|
+
).optional(),
|
|
4375
|
+
domains: z.array(z.lazy(() => UpdateProjectDataCacheDomains$outboundSchema))
|
|
4376
|
+
.optional(),
|
|
4377
|
+
currentDeploymentAliases: z.array(z.string()).optional(),
|
|
4378
|
+
createdAt: z.number(),
|
|
4379
|
+
updatedAt: z.number(),
|
|
4380
|
+
});
|
|
4381
|
+
|
|
4382
|
+
/**
|
|
4383
|
+
* @internal
|
|
4384
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4385
|
+
*/
|
|
4386
|
+
export namespace CustomEnvironments$ {
|
|
4387
|
+
/** @deprecated use `CustomEnvironments$inboundSchema` instead. */
|
|
4388
|
+
export const inboundSchema = CustomEnvironments$inboundSchema;
|
|
4389
|
+
/** @deprecated use `CustomEnvironments$outboundSchema` instead. */
|
|
4390
|
+
export const outboundSchema = CustomEnvironments$outboundSchema;
|
|
4391
|
+
/** @deprecated use `CustomEnvironments$Outbound` instead. */
|
|
4392
|
+
export type Outbound = CustomEnvironments$Outbound;
|
|
4393
|
+
}
|
|
4394
|
+
|
|
4395
|
+
export function customEnvironmentsToJSON(
|
|
4396
|
+
customEnvironments: CustomEnvironments,
|
|
4397
|
+
): string {
|
|
4398
|
+
return JSON.stringify(
|
|
4399
|
+
CustomEnvironments$outboundSchema.parse(customEnvironments),
|
|
4400
|
+
);
|
|
4401
|
+
}
|
|
4402
|
+
|
|
4403
|
+
export function customEnvironmentsFromJSON(
|
|
4404
|
+
jsonString: string,
|
|
4405
|
+
): SafeParseResult<CustomEnvironments, SDKValidationError> {
|
|
4406
|
+
return safeParse(
|
|
4407
|
+
jsonString,
|
|
4408
|
+
(x) => CustomEnvironments$inboundSchema.parse(JSON.parse(x)),
|
|
4409
|
+
`Failed to parse 'CustomEnvironments' from JSON`,
|
|
4410
|
+
);
|
|
4411
|
+
}
|
|
4412
|
+
|
|
4413
|
+
/** @internal */
|
|
4414
|
+
export const UpdateProjectDataCacheFramework$inboundSchema: z.ZodNativeEnum<
|
|
4415
|
+
typeof UpdateProjectDataCacheFramework
|
|
4416
|
+
> = z.nativeEnum(UpdateProjectDataCacheFramework);
|
|
4417
|
+
|
|
3959
4418
|
/** @internal */
|
|
3960
4419
|
export const UpdateProjectDataCacheFramework$outboundSchema: z.ZodNativeEnum<
|
|
3961
4420
|
typeof UpdateProjectDataCacheFramework
|
|
@@ -4138,102 +4597,94 @@ export function updateProjectDataCacheProjectsAliasErrorFromJSON(
|
|
|
4138
4597
|
}
|
|
4139
4598
|
|
|
4140
4599
|
/** @internal */
|
|
4141
|
-
export const
|
|
4600
|
+
export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema:
|
|
4142
4601
|
z.ZodNativeEnum<
|
|
4143
|
-
typeof
|
|
4602
|
+
typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType
|
|
4144
4603
|
> = z.nativeEnum(
|
|
4145
|
-
|
|
4604
|
+
UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType,
|
|
4146
4605
|
);
|
|
4147
4606
|
|
|
4148
4607
|
/** @internal */
|
|
4149
|
-
export const
|
|
4608
|
+
export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$outboundSchema:
|
|
4150
4609
|
z.ZodNativeEnum<
|
|
4151
|
-
typeof
|
|
4610
|
+
typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType
|
|
4152
4611
|
> =
|
|
4153
|
-
|
|
4612
|
+
UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema;
|
|
4154
4613
|
|
|
4155
4614
|
/**
|
|
4156
4615
|
* @internal
|
|
4157
4616
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4158
4617
|
*/
|
|
4159
|
-
export namespace
|
|
4160
|
-
/** @deprecated use `
|
|
4618
|
+
export namespace UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$ {
|
|
4619
|
+
/** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema` instead. */
|
|
4161
4620
|
export const inboundSchema =
|
|
4162
|
-
|
|
4163
|
-
/** @deprecated use `
|
|
4621
|
+
UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema;
|
|
4622
|
+
/** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$outboundSchema` instead. */
|
|
4164
4623
|
export const outboundSchema =
|
|
4165
|
-
|
|
4624
|
+
UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$outboundSchema;
|
|
4166
4625
|
}
|
|
4167
4626
|
|
|
4168
4627
|
/** @internal */
|
|
4169
|
-
export const
|
|
4170
|
-
|
|
4171
|
-
|
|
4172
|
-
|
|
4173
|
-
|
|
4174
|
-
|
|
4175
|
-
|
|
4176
|
-
|
|
4177
|
-
|
|
4178
|
-
});
|
|
4628
|
+
export const UpdateProjectDataCacheBranchMatcher$inboundSchema: z.ZodType<
|
|
4629
|
+
UpdateProjectDataCacheBranchMatcher,
|
|
4630
|
+
z.ZodTypeDef,
|
|
4631
|
+
unknown
|
|
4632
|
+
> = z.object({
|
|
4633
|
+
type:
|
|
4634
|
+
UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema,
|
|
4635
|
+
pattern: z.string(),
|
|
4636
|
+
});
|
|
4179
4637
|
|
|
4180
4638
|
/** @internal */
|
|
4181
|
-
export type
|
|
4639
|
+
export type UpdateProjectDataCacheBranchMatcher$Outbound = {
|
|
4182
4640
|
type: string;
|
|
4183
4641
|
pattern: string;
|
|
4184
4642
|
};
|
|
4185
4643
|
|
|
4186
4644
|
/** @internal */
|
|
4187
|
-
export const
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
|
|
4196
|
-
});
|
|
4645
|
+
export const UpdateProjectDataCacheBranchMatcher$outboundSchema: z.ZodType<
|
|
4646
|
+
UpdateProjectDataCacheBranchMatcher$Outbound,
|
|
4647
|
+
z.ZodTypeDef,
|
|
4648
|
+
UpdateProjectDataCacheBranchMatcher
|
|
4649
|
+
> = z.object({
|
|
4650
|
+
type:
|
|
4651
|
+
UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$outboundSchema,
|
|
4652
|
+
pattern: z.string(),
|
|
4653
|
+
});
|
|
4197
4654
|
|
|
4198
4655
|
/**
|
|
4199
4656
|
* @internal
|
|
4200
4657
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4201
4658
|
*/
|
|
4202
|
-
export namespace
|
|
4203
|
-
/** @deprecated use `
|
|
4659
|
+
export namespace UpdateProjectDataCacheBranchMatcher$ {
|
|
4660
|
+
/** @deprecated use `UpdateProjectDataCacheBranchMatcher$inboundSchema` instead. */
|
|
4204
4661
|
export const inboundSchema =
|
|
4205
|
-
|
|
4206
|
-
/** @deprecated use `
|
|
4662
|
+
UpdateProjectDataCacheBranchMatcher$inboundSchema;
|
|
4663
|
+
/** @deprecated use `UpdateProjectDataCacheBranchMatcher$outboundSchema` instead. */
|
|
4207
4664
|
export const outboundSchema =
|
|
4208
|
-
|
|
4209
|
-
/** @deprecated use `
|
|
4210
|
-
export type Outbound =
|
|
4665
|
+
UpdateProjectDataCacheBranchMatcher$outboundSchema;
|
|
4666
|
+
/** @deprecated use `UpdateProjectDataCacheBranchMatcher$Outbound` instead. */
|
|
4667
|
+
export type Outbound = UpdateProjectDataCacheBranchMatcher$Outbound;
|
|
4211
4668
|
}
|
|
4212
4669
|
|
|
4213
|
-
export function
|
|
4214
|
-
|
|
4215
|
-
UpdateProjectDataCacheProjectsBranchMatcher,
|
|
4670
|
+
export function updateProjectDataCacheBranchMatcherToJSON(
|
|
4671
|
+
updateProjectDataCacheBranchMatcher: UpdateProjectDataCacheBranchMatcher,
|
|
4216
4672
|
): string {
|
|
4217
4673
|
return JSON.stringify(
|
|
4218
|
-
|
|
4219
|
-
|
|
4674
|
+
UpdateProjectDataCacheBranchMatcher$outboundSchema.parse(
|
|
4675
|
+
updateProjectDataCacheBranchMatcher,
|
|
4220
4676
|
),
|
|
4221
4677
|
);
|
|
4222
4678
|
}
|
|
4223
4679
|
|
|
4224
|
-
export function
|
|
4680
|
+
export function updateProjectDataCacheBranchMatcherFromJSON(
|
|
4225
4681
|
jsonString: string,
|
|
4226
|
-
): SafeParseResult<
|
|
4227
|
-
UpdateProjectDataCacheProjectsBranchMatcher,
|
|
4228
|
-
SDKValidationError
|
|
4229
|
-
> {
|
|
4682
|
+
): SafeParseResult<UpdateProjectDataCacheBranchMatcher, SDKValidationError> {
|
|
4230
4683
|
return safeParse(
|
|
4231
4684
|
jsonString,
|
|
4232
4685
|
(x) =>
|
|
4233
|
-
|
|
4234
|
-
|
|
4235
|
-
),
|
|
4236
|
-
`Failed to parse 'UpdateProjectDataCacheProjectsBranchMatcher' from JSON`,
|
|
4686
|
+
UpdateProjectDataCacheBranchMatcher$inboundSchema.parse(JSON.parse(x)),
|
|
4687
|
+
`Failed to parse 'UpdateProjectDataCacheBranchMatcher' from JSON`,
|
|
4237
4688
|
);
|
|
4238
4689
|
}
|
|
4239
4690
|
|
|
@@ -4589,24 +5040,25 @@ export namespace UpdateProjectDataCacheProjectsReadySubstate$ {
|
|
|
4589
5040
|
}
|
|
4590
5041
|
|
|
4591
5042
|
/** @internal */
|
|
4592
|
-
export const
|
|
4593
|
-
typeof
|
|
4594
|
-
> = z.nativeEnum(
|
|
5043
|
+
export const UpdateProjectDataCacheProjectsType$inboundSchema: z.ZodNativeEnum<
|
|
5044
|
+
typeof UpdateProjectDataCacheProjectsType
|
|
5045
|
+
> = z.nativeEnum(UpdateProjectDataCacheProjectsType);
|
|
4595
5046
|
|
|
4596
5047
|
/** @internal */
|
|
4597
|
-
export const
|
|
4598
|
-
typeof
|
|
4599
|
-
> =
|
|
5048
|
+
export const UpdateProjectDataCacheProjectsType$outboundSchema: z.ZodNativeEnum<
|
|
5049
|
+
typeof UpdateProjectDataCacheProjectsType
|
|
5050
|
+
> = UpdateProjectDataCacheProjectsType$inboundSchema;
|
|
4600
5051
|
|
|
4601
5052
|
/**
|
|
4602
5053
|
* @internal
|
|
4603
5054
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4604
5055
|
*/
|
|
4605
|
-
export namespace
|
|
4606
|
-
/** @deprecated use `
|
|
4607
|
-
export const inboundSchema =
|
|
4608
|
-
/** @deprecated use `
|
|
4609
|
-
export const outboundSchema =
|
|
5056
|
+
export namespace UpdateProjectDataCacheProjectsType$ {
|
|
5057
|
+
/** @deprecated use `UpdateProjectDataCacheProjectsType$inboundSchema` instead. */
|
|
5058
|
+
export const inboundSchema = UpdateProjectDataCacheProjectsType$inboundSchema;
|
|
5059
|
+
/** @deprecated use `UpdateProjectDataCacheProjectsType$outboundSchema` instead. */
|
|
5060
|
+
export const outboundSchema =
|
|
5061
|
+
UpdateProjectDataCacheProjectsType$outboundSchema;
|
|
4610
5062
|
}
|
|
4611
5063
|
|
|
4612
5064
|
/** @internal */
|
|
@@ -4623,9 +5075,8 @@ export const LatestDeployments$inboundSchema: z.ZodType<
|
|
|
4623
5075
|
).optional(),
|
|
4624
5076
|
aliasFinal: z.nullable(z.string()).optional(),
|
|
4625
5077
|
automaticAliases: z.array(z.string()).optional(),
|
|
4626
|
-
branchMatcher: z.lazy(() =>
|
|
4627
|
-
|
|
4628
|
-
).optional(),
|
|
5078
|
+
branchMatcher: z.lazy(() => UpdateProjectDataCacheBranchMatcher$inboundSchema)
|
|
5079
|
+
.optional(),
|
|
4629
5080
|
buildingAt: z.number().optional(),
|
|
4630
5081
|
builds: z.array(
|
|
4631
5082
|
z.lazy(() => UpdateProjectDataCacheProjectsBuilds$inboundSchema),
|
|
@@ -4660,7 +5111,7 @@ export const LatestDeployments$inboundSchema: z.ZodType<
|
|
|
4660
5111
|
requestedAt: z.number().optional(),
|
|
4661
5112
|
target: z.nullable(z.string()).optional(),
|
|
4662
5113
|
teamId: z.nullable(z.string()).optional(),
|
|
4663
|
-
type:
|
|
5114
|
+
type: UpdateProjectDataCacheProjectsType$inboundSchema,
|
|
4664
5115
|
url: z.string(),
|
|
4665
5116
|
userId: z.string(),
|
|
4666
5117
|
withCache: z.boolean().optional(),
|
|
@@ -4677,9 +5128,7 @@ export type LatestDeployments$Outbound = {
|
|
|
4677
5128
|
| undefined;
|
|
4678
5129
|
aliasFinal?: string | null | undefined;
|
|
4679
5130
|
automaticAliases?: Array<string> | undefined;
|
|
4680
|
-
branchMatcher?:
|
|
4681
|
-
| UpdateProjectDataCacheProjectsBranchMatcher$Outbound
|
|
4682
|
-
| undefined;
|
|
5131
|
+
branchMatcher?: UpdateProjectDataCacheBranchMatcher$Outbound | undefined;
|
|
4683
5132
|
buildingAt?: number | undefined;
|
|
4684
5133
|
builds?: Array<UpdateProjectDataCacheProjectsBuilds$Outbound> | undefined;
|
|
4685
5134
|
checksConclusion?: string | undefined;
|
|
@@ -4728,7 +5177,7 @@ export const LatestDeployments$outboundSchema: z.ZodType<
|
|
|
4728
5177
|
aliasFinal: z.nullable(z.string()).optional(),
|
|
4729
5178
|
automaticAliases: z.array(z.string()).optional(),
|
|
4730
5179
|
branchMatcher: z.lazy(() =>
|
|
4731
|
-
|
|
5180
|
+
UpdateProjectDataCacheBranchMatcher$outboundSchema
|
|
4732
5181
|
).optional(),
|
|
4733
5182
|
buildingAt: z.number().optional(),
|
|
4734
5183
|
builds: z.array(
|
|
@@ -4764,7 +5213,7 @@ export const LatestDeployments$outboundSchema: z.ZodType<
|
|
|
4764
5213
|
requestedAt: z.number().optional(),
|
|
4765
5214
|
target: z.nullable(z.string()).optional(),
|
|
4766
5215
|
teamId: z.nullable(z.string()).optional(),
|
|
4767
|
-
type:
|
|
5216
|
+
type: UpdateProjectDataCacheProjectsType$outboundSchema,
|
|
4768
5217
|
url: z.string(),
|
|
4769
5218
|
userId: z.string(),
|
|
4770
5219
|
withCache: z.boolean().optional(),
|
|
@@ -6069,6 +6518,7 @@ export const Stages$inboundSchema: z.ZodType<Stages, z.ZodTypeDef, unknown> = z
|
|
|
6069
6518
|
targetPercentage: z.number(),
|
|
6070
6519
|
minutesToRelease: z.number().optional(),
|
|
6071
6520
|
requireApproval: z.boolean().optional(),
|
|
6521
|
+
duration: z.number().optional(),
|
|
6072
6522
|
});
|
|
6073
6523
|
|
|
6074
6524
|
/** @internal */
|
|
@@ -6076,6 +6526,7 @@ export type Stages$Outbound = {
|
|
|
6076
6526
|
targetPercentage: number;
|
|
6077
6527
|
minutesToRelease?: number | undefined;
|
|
6078
6528
|
requireApproval?: boolean | undefined;
|
|
6529
|
+
duration?: number | undefined;
|
|
6079
6530
|
};
|
|
6080
6531
|
|
|
6081
6532
|
/** @internal */
|
|
@@ -6087,6 +6538,7 @@ export const Stages$outboundSchema: z.ZodType<
|
|
|
6087
6538
|
targetPercentage: z.number(),
|
|
6088
6539
|
minutesToRelease: z.number().optional(),
|
|
6089
6540
|
requireApproval: z.boolean().optional(),
|
|
6541
|
+
duration: z.number().optional(),
|
|
6090
6542
|
});
|
|
6091
6543
|
|
|
6092
6544
|
/**
|
|
@@ -6491,94 +6943,102 @@ export function updateProjectDataCacheAliasErrorFromJSON(
|
|
|
6491
6943
|
}
|
|
6492
6944
|
|
|
6493
6945
|
/** @internal */
|
|
6494
|
-
export const
|
|
6946
|
+
export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema:
|
|
6495
6947
|
z.ZodNativeEnum<
|
|
6496
|
-
typeof
|
|
6948
|
+
typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType
|
|
6497
6949
|
> = z.nativeEnum(
|
|
6498
|
-
|
|
6950
|
+
UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType,
|
|
6499
6951
|
);
|
|
6500
6952
|
|
|
6501
6953
|
/** @internal */
|
|
6502
|
-
export const
|
|
6954
|
+
export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema:
|
|
6503
6955
|
z.ZodNativeEnum<
|
|
6504
|
-
typeof
|
|
6956
|
+
typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType
|
|
6505
6957
|
> =
|
|
6506
|
-
|
|
6958
|
+
UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema;
|
|
6507
6959
|
|
|
6508
6960
|
/**
|
|
6509
6961
|
* @internal
|
|
6510
6962
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6511
6963
|
*/
|
|
6512
|
-
export namespace
|
|
6513
|
-
/** @deprecated use `
|
|
6964
|
+
export namespace UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$ {
|
|
6965
|
+
/** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */
|
|
6514
6966
|
export const inboundSchema =
|
|
6515
|
-
|
|
6516
|
-
/** @deprecated use `
|
|
6967
|
+
UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema;
|
|
6968
|
+
/** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */
|
|
6517
6969
|
export const outboundSchema =
|
|
6518
|
-
|
|
6970
|
+
UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema;
|
|
6519
6971
|
}
|
|
6520
6972
|
|
|
6521
6973
|
/** @internal */
|
|
6522
|
-
export const
|
|
6523
|
-
|
|
6524
|
-
|
|
6525
|
-
|
|
6526
|
-
|
|
6527
|
-
|
|
6528
|
-
|
|
6529
|
-
|
|
6530
|
-
|
|
6974
|
+
export const UpdateProjectDataCacheProjectsBranchMatcher$inboundSchema:
|
|
6975
|
+
z.ZodType<
|
|
6976
|
+
UpdateProjectDataCacheProjectsBranchMatcher,
|
|
6977
|
+
z.ZodTypeDef,
|
|
6978
|
+
unknown
|
|
6979
|
+
> = z.object({
|
|
6980
|
+
type:
|
|
6981
|
+
UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema,
|
|
6982
|
+
pattern: z.string(),
|
|
6983
|
+
});
|
|
6531
6984
|
|
|
6532
6985
|
/** @internal */
|
|
6533
|
-
export type
|
|
6986
|
+
export type UpdateProjectDataCacheProjectsBranchMatcher$Outbound = {
|
|
6534
6987
|
type: string;
|
|
6535
6988
|
pattern: string;
|
|
6536
6989
|
};
|
|
6537
6990
|
|
|
6538
6991
|
/** @internal */
|
|
6539
|
-
export const
|
|
6540
|
-
|
|
6541
|
-
|
|
6542
|
-
|
|
6543
|
-
|
|
6544
|
-
|
|
6545
|
-
|
|
6546
|
-
|
|
6547
|
-
|
|
6992
|
+
export const UpdateProjectDataCacheProjectsBranchMatcher$outboundSchema:
|
|
6993
|
+
z.ZodType<
|
|
6994
|
+
UpdateProjectDataCacheProjectsBranchMatcher$Outbound,
|
|
6995
|
+
z.ZodTypeDef,
|
|
6996
|
+
UpdateProjectDataCacheProjectsBranchMatcher
|
|
6997
|
+
> = z.object({
|
|
6998
|
+
type:
|
|
6999
|
+
UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema,
|
|
7000
|
+
pattern: z.string(),
|
|
7001
|
+
});
|
|
6548
7002
|
|
|
6549
7003
|
/**
|
|
6550
7004
|
* @internal
|
|
6551
7005
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6552
7006
|
*/
|
|
6553
|
-
export namespace
|
|
6554
|
-
/** @deprecated use `
|
|
7007
|
+
export namespace UpdateProjectDataCacheProjectsBranchMatcher$ {
|
|
7008
|
+
/** @deprecated use `UpdateProjectDataCacheProjectsBranchMatcher$inboundSchema` instead. */
|
|
6555
7009
|
export const inboundSchema =
|
|
6556
|
-
|
|
6557
|
-
/** @deprecated use `
|
|
7010
|
+
UpdateProjectDataCacheProjectsBranchMatcher$inboundSchema;
|
|
7011
|
+
/** @deprecated use `UpdateProjectDataCacheProjectsBranchMatcher$outboundSchema` instead. */
|
|
6558
7012
|
export const outboundSchema =
|
|
6559
|
-
|
|
6560
|
-
/** @deprecated use `
|
|
6561
|
-
export type Outbound =
|
|
7013
|
+
UpdateProjectDataCacheProjectsBranchMatcher$outboundSchema;
|
|
7014
|
+
/** @deprecated use `UpdateProjectDataCacheProjectsBranchMatcher$Outbound` instead. */
|
|
7015
|
+
export type Outbound = UpdateProjectDataCacheProjectsBranchMatcher$Outbound;
|
|
6562
7016
|
}
|
|
6563
7017
|
|
|
6564
|
-
export function
|
|
6565
|
-
|
|
7018
|
+
export function updateProjectDataCacheProjectsBranchMatcherToJSON(
|
|
7019
|
+
updateProjectDataCacheProjectsBranchMatcher:
|
|
7020
|
+
UpdateProjectDataCacheProjectsBranchMatcher,
|
|
6566
7021
|
): string {
|
|
6567
7022
|
return JSON.stringify(
|
|
6568
|
-
|
|
6569
|
-
|
|
7023
|
+
UpdateProjectDataCacheProjectsBranchMatcher$outboundSchema.parse(
|
|
7024
|
+
updateProjectDataCacheProjectsBranchMatcher,
|
|
6570
7025
|
),
|
|
6571
7026
|
);
|
|
6572
7027
|
}
|
|
6573
7028
|
|
|
6574
|
-
export function
|
|
7029
|
+
export function updateProjectDataCacheProjectsBranchMatcherFromJSON(
|
|
6575
7030
|
jsonString: string,
|
|
6576
|
-
): SafeParseResult<
|
|
7031
|
+
): SafeParseResult<
|
|
7032
|
+
UpdateProjectDataCacheProjectsBranchMatcher,
|
|
7033
|
+
SDKValidationError
|
|
7034
|
+
> {
|
|
6577
7035
|
return safeParse(
|
|
6578
7036
|
jsonString,
|
|
6579
7037
|
(x) =>
|
|
6580
|
-
|
|
6581
|
-
|
|
7038
|
+
UpdateProjectDataCacheProjectsBranchMatcher$inboundSchema.parse(
|
|
7039
|
+
JSON.parse(x),
|
|
7040
|
+
),
|
|
7041
|
+
`Failed to parse 'UpdateProjectDataCacheProjectsBranchMatcher' from JSON`,
|
|
6582
7042
|
);
|
|
6583
7043
|
}
|
|
6584
7044
|
|
|
@@ -6917,25 +7377,26 @@ export namespace UpdateProjectDataCacheReadySubstate$ {
|
|
|
6917
7377
|
}
|
|
6918
7378
|
|
|
6919
7379
|
/** @internal */
|
|
6920
|
-
export const
|
|
6921
|
-
typeof
|
|
6922
|
-
|
|
7380
|
+
export const UpdateProjectDataCacheProjectsResponseType$inboundSchema:
|
|
7381
|
+
z.ZodNativeEnum<typeof UpdateProjectDataCacheProjectsResponseType> = z
|
|
7382
|
+
.nativeEnum(UpdateProjectDataCacheProjectsResponseType);
|
|
6923
7383
|
|
|
6924
7384
|
/** @internal */
|
|
6925
|
-
export const
|
|
6926
|
-
typeof
|
|
6927
|
-
|
|
7385
|
+
export const UpdateProjectDataCacheProjectsResponseType$outboundSchema:
|
|
7386
|
+
z.ZodNativeEnum<typeof UpdateProjectDataCacheProjectsResponseType> =
|
|
7387
|
+
UpdateProjectDataCacheProjectsResponseType$inboundSchema;
|
|
6928
7388
|
|
|
6929
7389
|
/**
|
|
6930
7390
|
* @internal
|
|
6931
7391
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6932
7392
|
*/
|
|
6933
|
-
export namespace
|
|
6934
|
-
/** @deprecated use `
|
|
6935
|
-
export const inboundSchema =
|
|
6936
|
-
|
|
7393
|
+
export namespace UpdateProjectDataCacheProjectsResponseType$ {
|
|
7394
|
+
/** @deprecated use `UpdateProjectDataCacheProjectsResponseType$inboundSchema` instead. */
|
|
7395
|
+
export const inboundSchema =
|
|
7396
|
+
UpdateProjectDataCacheProjectsResponseType$inboundSchema;
|
|
7397
|
+
/** @deprecated use `UpdateProjectDataCacheProjectsResponseType$outboundSchema` instead. */
|
|
6937
7398
|
export const outboundSchema =
|
|
6938
|
-
|
|
7399
|
+
UpdateProjectDataCacheProjectsResponseType$outboundSchema;
|
|
6939
7400
|
}
|
|
6940
7401
|
|
|
6941
7402
|
/** @internal */
|
|
@@ -6950,7 +7411,7 @@ export const Targets$inboundSchema: z.ZodType<Targets, z.ZodTypeDef, unknown> =
|
|
|
6950
7411
|
aliasFinal: z.nullable(z.string()).optional(),
|
|
6951
7412
|
automaticAliases: z.array(z.string()).optional(),
|
|
6952
7413
|
branchMatcher: z.lazy(() =>
|
|
6953
|
-
|
|
7414
|
+
UpdateProjectDataCacheProjectsBranchMatcher$inboundSchema
|
|
6954
7415
|
).optional(),
|
|
6955
7416
|
buildingAt: z.number().optional(),
|
|
6956
7417
|
builds: z.array(z.lazy(() => UpdateProjectDataCacheBuilds$inboundSchema))
|
|
@@ -6983,7 +7444,7 @@ export const Targets$inboundSchema: z.ZodType<Targets, z.ZodTypeDef, unknown> =
|
|
|
6983
7444
|
requestedAt: z.number().optional(),
|
|
6984
7445
|
target: z.nullable(z.string()).optional(),
|
|
6985
7446
|
teamId: z.nullable(z.string()).optional(),
|
|
6986
|
-
type:
|
|
7447
|
+
type: UpdateProjectDataCacheProjectsResponseType$inboundSchema,
|
|
6987
7448
|
url: z.string(),
|
|
6988
7449
|
userId: z.string(),
|
|
6989
7450
|
withCache: z.boolean().optional(),
|
|
@@ -6997,7 +7458,9 @@ export type Targets$Outbound = {
|
|
|
6997
7458
|
aliasError?: UpdateProjectDataCacheAliasError$Outbound | null | undefined;
|
|
6998
7459
|
aliasFinal?: string | null | undefined;
|
|
6999
7460
|
automaticAliases?: Array<string> | undefined;
|
|
7000
|
-
branchMatcher?:
|
|
7461
|
+
branchMatcher?:
|
|
7462
|
+
| UpdateProjectDataCacheProjectsBranchMatcher$Outbound
|
|
7463
|
+
| undefined;
|
|
7001
7464
|
buildingAt?: number | undefined;
|
|
7002
7465
|
builds?: Array<UpdateProjectDataCacheBuilds$Outbound> | undefined;
|
|
7003
7466
|
checksConclusion?: string | undefined;
|
|
@@ -7044,7 +7507,7 @@ export const Targets$outboundSchema: z.ZodType<
|
|
|
7044
7507
|
aliasFinal: z.nullable(z.string()).optional(),
|
|
7045
7508
|
automaticAliases: z.array(z.string()).optional(),
|
|
7046
7509
|
branchMatcher: z.lazy(() =>
|
|
7047
|
-
|
|
7510
|
+
UpdateProjectDataCacheProjectsBranchMatcher$outboundSchema
|
|
7048
7511
|
).optional(),
|
|
7049
7512
|
buildingAt: z.number().optional(),
|
|
7050
7513
|
builds: z.array(z.lazy(() => UpdateProjectDataCacheBuilds$outboundSchema))
|
|
@@ -7077,7 +7540,7 @@ export const Targets$outboundSchema: z.ZodType<
|
|
|
7077
7540
|
requestedAt: z.number().optional(),
|
|
7078
7541
|
target: z.nullable(z.string()).optional(),
|
|
7079
7542
|
teamId: z.nullable(z.string()).optional(),
|
|
7080
|
-
type:
|
|
7543
|
+
type: UpdateProjectDataCacheProjectsResponseType$outboundSchema,
|
|
7081
7544
|
url: z.string(),
|
|
7082
7545
|
userId: z.string(),
|
|
7083
7546
|
withCache: z.boolean().optional(),
|
|
@@ -7834,26 +8297,26 @@ export namespace JobStatus$ {
|
|
|
7834
8297
|
}
|
|
7835
8298
|
|
|
7836
8299
|
/** @internal */
|
|
7837
|
-
export const
|
|
7838
|
-
z.ZodNativeEnum<typeof
|
|
7839
|
-
.nativeEnum(
|
|
8300
|
+
export const UpdateProjectDataCacheProjectsResponse200Type$inboundSchema:
|
|
8301
|
+
z.ZodNativeEnum<typeof UpdateProjectDataCacheProjectsResponse200Type> = z
|
|
8302
|
+
.nativeEnum(UpdateProjectDataCacheProjectsResponse200Type);
|
|
7840
8303
|
|
|
7841
8304
|
/** @internal */
|
|
7842
|
-
export const
|
|
7843
|
-
z.ZodNativeEnum<typeof
|
|
7844
|
-
|
|
8305
|
+
export const UpdateProjectDataCacheProjectsResponse200Type$outboundSchema:
|
|
8306
|
+
z.ZodNativeEnum<typeof UpdateProjectDataCacheProjectsResponse200Type> =
|
|
8307
|
+
UpdateProjectDataCacheProjectsResponse200Type$inboundSchema;
|
|
7845
8308
|
|
|
7846
8309
|
/**
|
|
7847
8310
|
* @internal
|
|
7848
8311
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
7849
8312
|
*/
|
|
7850
|
-
export namespace
|
|
7851
|
-
/** @deprecated use `
|
|
8313
|
+
export namespace UpdateProjectDataCacheProjectsResponse200Type$ {
|
|
8314
|
+
/** @deprecated use `UpdateProjectDataCacheProjectsResponse200Type$inboundSchema` instead. */
|
|
7852
8315
|
export const inboundSchema =
|
|
7853
|
-
|
|
7854
|
-
/** @deprecated use `
|
|
8316
|
+
UpdateProjectDataCacheProjectsResponse200Type$inboundSchema;
|
|
8317
|
+
/** @deprecated use `UpdateProjectDataCacheProjectsResponse200Type$outboundSchema` instead. */
|
|
7855
8318
|
export const outboundSchema =
|
|
7856
|
-
|
|
8319
|
+
UpdateProjectDataCacheProjectsResponse200Type$outboundSchema;
|
|
7857
8320
|
}
|
|
7858
8321
|
|
|
7859
8322
|
/** @internal */
|
|
@@ -7864,15 +8327,17 @@ export const LastAliasRequest$inboundSchema: z.ZodType<
|
|
|
7864
8327
|
> = z.object({
|
|
7865
8328
|
fromDeploymentId: z.string(),
|
|
7866
8329
|
toDeploymentId: z.string(),
|
|
8330
|
+
fromRollingReleaseId: z.string().optional(),
|
|
7867
8331
|
jobStatus: JobStatus$inboundSchema,
|
|
7868
8332
|
requestedAt: z.number(),
|
|
7869
|
-
type:
|
|
8333
|
+
type: UpdateProjectDataCacheProjectsResponse200Type$inboundSchema,
|
|
7870
8334
|
});
|
|
7871
8335
|
|
|
7872
8336
|
/** @internal */
|
|
7873
8337
|
export type LastAliasRequest$Outbound = {
|
|
7874
8338
|
fromDeploymentId: string;
|
|
7875
8339
|
toDeploymentId: string;
|
|
8340
|
+
fromRollingReleaseId?: string | undefined;
|
|
7876
8341
|
jobStatus: string;
|
|
7877
8342
|
requestedAt: number;
|
|
7878
8343
|
type: string;
|
|
@@ -7886,9 +8351,10 @@ export const LastAliasRequest$outboundSchema: z.ZodType<
|
|
|
7886
8351
|
> = z.object({
|
|
7887
8352
|
fromDeploymentId: z.string(),
|
|
7888
8353
|
toDeploymentId: z.string(),
|
|
8354
|
+
fromRollingReleaseId: z.string().optional(),
|
|
7889
8355
|
jobStatus: JobStatus$outboundSchema,
|
|
7890
8356
|
requestedAt: z.number(),
|
|
7891
|
-
type:
|
|
8357
|
+
type: UpdateProjectDataCacheProjectsResponse200Type$outboundSchema,
|
|
7892
8358
|
});
|
|
7893
8359
|
|
|
7894
8360
|
/**
|
|
@@ -7923,23 +8389,24 @@ export function lastAliasRequestFromJSON(
|
|
|
7923
8389
|
}
|
|
7924
8390
|
|
|
7925
8391
|
/** @internal */
|
|
7926
|
-
export const
|
|
7927
|
-
|
|
7928
|
-
);
|
|
8392
|
+
export const UpdateProjectDataCacheScope$inboundSchema: z.ZodNativeEnum<
|
|
8393
|
+
typeof UpdateProjectDataCacheScope
|
|
8394
|
+
> = z.nativeEnum(UpdateProjectDataCacheScope);
|
|
7929
8395
|
|
|
7930
8396
|
/** @internal */
|
|
7931
|
-
export const
|
|
7932
|
-
|
|
8397
|
+
export const UpdateProjectDataCacheScope$outboundSchema: z.ZodNativeEnum<
|
|
8398
|
+
typeof UpdateProjectDataCacheScope
|
|
8399
|
+
> = UpdateProjectDataCacheScope$inboundSchema;
|
|
7933
8400
|
|
|
7934
8401
|
/**
|
|
7935
8402
|
* @internal
|
|
7936
8403
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
7937
8404
|
*/
|
|
7938
|
-
export namespace
|
|
7939
|
-
/** @deprecated use `
|
|
7940
|
-
export const inboundSchema =
|
|
7941
|
-
/** @deprecated use `
|
|
7942
|
-
export const outboundSchema =
|
|
8405
|
+
export namespace UpdateProjectDataCacheScope$ {
|
|
8406
|
+
/** @deprecated use `UpdateProjectDataCacheScope$inboundSchema` instead. */
|
|
8407
|
+
export const inboundSchema = UpdateProjectDataCacheScope$inboundSchema;
|
|
8408
|
+
/** @deprecated use `UpdateProjectDataCacheScope$outboundSchema` instead. */
|
|
8409
|
+
export const outboundSchema = UpdateProjectDataCacheScope$outboundSchema;
|
|
7943
8410
|
}
|
|
7944
8411
|
|
|
7945
8412
|
/** @internal */
|
|
@@ -7950,7 +8417,7 @@ export const ProtectionBypass$inboundSchema: z.ZodType<
|
|
|
7950
8417
|
> = z.object({
|
|
7951
8418
|
createdAt: z.number(),
|
|
7952
8419
|
createdBy: z.string(),
|
|
7953
|
-
scope:
|
|
8420
|
+
scope: UpdateProjectDataCacheScope$inboundSchema,
|
|
7954
8421
|
});
|
|
7955
8422
|
|
|
7956
8423
|
/** @internal */
|
|
@@ -7968,7 +8435,7 @@ export const ProtectionBypass$outboundSchema: z.ZodType<
|
|
|
7968
8435
|
> = z.object({
|
|
7969
8436
|
createdAt: z.number(),
|
|
7970
8437
|
createdBy: z.string(),
|
|
7971
|
-
scope:
|
|
8438
|
+
scope: UpdateProjectDataCacheScope$outboundSchema,
|
|
7972
8439
|
});
|
|
7973
8440
|
|
|
7974
8441
|
/**
|