vercel-api-js 0.21.1 → 0.22.0
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/.turbo/turbo-build.log +2 -2
- package/CHANGELOG.md +22 -0
- package/dist/index.cjs +8 -8
- package/dist/index.d.cts +550 -349
- package/dist/index.d.mts +550 -349
- package/dist/index.d.ts +550 -349
- package/dist/index.mjs +8 -8
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -186,7 +186,7 @@ type TeamLimited = {
|
|
|
186
186
|
accessRequestedAt?: number;
|
|
187
187
|
role: 'BILLING' | 'CONTRIBUTOR' | 'DEVELOPER' | 'MEMBER' | 'OWNER' | 'SECURITY' | 'VIEWER';
|
|
188
188
|
teamRoles?: ('BILLING' | 'CONTRIBUTOR' | 'DEVELOPER' | 'MEMBER' | 'OWNER' | 'SECURITY' | 'VIEWER')[];
|
|
189
|
-
teamPermissions?: ('CreateProject' | 'FullProductionDeployment')[];
|
|
189
|
+
teamPermissions?: ('CreateProject' | 'FullProductionDeployment' | 'UsageViewer')[];
|
|
190
190
|
teamId?: string;
|
|
191
191
|
createdAt: number;
|
|
192
192
|
created: number;
|
|
@@ -722,6 +722,19 @@ type ReadAccessGroupResponse = {
|
|
|
722
722
|
* @example 2
|
|
723
723
|
*/
|
|
724
724
|
projectsCount: number;
|
|
725
|
+
/**
|
|
726
|
+
* Roles that the team has in the access group.
|
|
727
|
+
*
|
|
728
|
+
* @example BILLING
|
|
729
|
+
* @example DEVELOPER
|
|
730
|
+
*/
|
|
731
|
+
teamRoles?: string[];
|
|
732
|
+
/**
|
|
733
|
+
* Permissions that the team has in the access group.
|
|
734
|
+
*
|
|
735
|
+
* @example CreateProject
|
|
736
|
+
*/
|
|
737
|
+
teamPermissions?: string[];
|
|
725
738
|
};
|
|
726
739
|
type ReadAccessGroupVariables = {
|
|
727
740
|
pathParams: ReadAccessGroupPathParams;
|
|
@@ -789,6 +802,19 @@ type UpdateAccessGroupResponse = {
|
|
|
789
802
|
* @example 2
|
|
790
803
|
*/
|
|
791
804
|
projectsCount: number;
|
|
805
|
+
/**
|
|
806
|
+
* Roles that the team has in the access group.
|
|
807
|
+
*
|
|
808
|
+
* @example BILLING
|
|
809
|
+
* @example DEVELOPER
|
|
810
|
+
*/
|
|
811
|
+
teamRoles?: string[];
|
|
812
|
+
/**
|
|
813
|
+
* Permissions that the team has in the access group.
|
|
814
|
+
*
|
|
815
|
+
* @example CreateProject
|
|
816
|
+
*/
|
|
817
|
+
teamPermissions?: string[];
|
|
792
818
|
};
|
|
793
819
|
type UpdateAccessGroupRequestBody = {
|
|
794
820
|
/**
|
|
@@ -1017,6 +1043,19 @@ declare const listAccessGroups: (variables: ListAccessGroupsVariables, signal?:
|
|
|
1017
1043
|
* @example 2
|
|
1018
1044
|
*/
|
|
1019
1045
|
projectsCount: number;
|
|
1046
|
+
/**
|
|
1047
|
+
* Roles that the team has in the access group.
|
|
1048
|
+
*
|
|
1049
|
+
* @example DEVELOPER
|
|
1050
|
+
* @example BILLING
|
|
1051
|
+
*/
|
|
1052
|
+
teamRoles?: string[];
|
|
1053
|
+
/**
|
|
1054
|
+
* Permissions that the team has in the access group.
|
|
1055
|
+
*
|
|
1056
|
+
* @example CreateProject
|
|
1057
|
+
*/
|
|
1058
|
+
teamPermissions?: string[];
|
|
1020
1059
|
}[];
|
|
1021
1060
|
pagination: {
|
|
1022
1061
|
count: number;
|
|
@@ -1067,6 +1106,19 @@ type CreateAccessGroupResponse = {
|
|
|
1067
1106
|
* @example ag_123a6c5209bc3778245d011443644c8d27dc2c50
|
|
1068
1107
|
*/
|
|
1069
1108
|
accessGroupId: string;
|
|
1109
|
+
/**
|
|
1110
|
+
* Roles that the team has in the access group.
|
|
1111
|
+
*
|
|
1112
|
+
* @example BILLING
|
|
1113
|
+
* @example DEVELOPER
|
|
1114
|
+
*/
|
|
1115
|
+
teamRoles?: string[];
|
|
1116
|
+
/**
|
|
1117
|
+
* Permissions that the team has in the access group.
|
|
1118
|
+
*
|
|
1119
|
+
* @example CreateProject
|
|
1120
|
+
*/
|
|
1121
|
+
teamPermissions?: string[];
|
|
1070
1122
|
};
|
|
1071
1123
|
type CreateAccessGroupRequestBody = {
|
|
1072
1124
|
/**
|
|
@@ -2582,6 +2634,7 @@ type UpdateProjectDataCacheResponse = {
|
|
|
2582
2634
|
ownEvent?: ACLAction[];
|
|
2583
2635
|
sensitiveEnvironmentVariablePolicy?: ACLAction[];
|
|
2584
2636
|
fileUpload?: ACLAction[];
|
|
2637
|
+
flagsExplorerSubscription?: ACLAction[];
|
|
2585
2638
|
gitRepository?: ACLAction[];
|
|
2586
2639
|
ipBlocking?: ACLAction[];
|
|
2587
2640
|
imageOptimizationNewPrice?: ACLAction[];
|
|
@@ -2603,6 +2656,7 @@ type UpdateProjectDataCacheResponse = {
|
|
|
2603
2656
|
marketplaceExperimentationItem?: ACLAction[];
|
|
2604
2657
|
marketplaceExperimentationEdgeConfigData?: ACLAction[];
|
|
2605
2658
|
jobGlobal?: ACLAction[];
|
|
2659
|
+
drain?: ACLAction[];
|
|
2606
2660
|
logDrain?: ACLAction[];
|
|
2607
2661
|
Monitoring?: ACLAction[];
|
|
2608
2662
|
monitoringSettings?: ACLAction[];
|
|
@@ -2722,6 +2776,7 @@ type UpdateProjectDataCacheResponse = {
|
|
|
2722
2776
|
projectSupportCase?: ACLAction[];
|
|
2723
2777
|
projectSupportCaseComment?: ACLAction[];
|
|
2724
2778
|
projectDeploymentExpiration?: ACLAction[];
|
|
2779
|
+
projectRollingRelease?: ACLAction[];
|
|
2725
2780
|
projectTier?: ACLAction[];
|
|
2726
2781
|
seawallConfig?: ACLAction[];
|
|
2727
2782
|
skewProtection?: ACLAction[];
|
|
@@ -2767,6 +2822,12 @@ type UpdateProjectDataCacheResponse = {
|
|
|
2767
2822
|
*/
|
|
2768
2823
|
onCommit: boolean;
|
|
2769
2824
|
};
|
|
2825
|
+
gitProviderOptions?: {
|
|
2826
|
+
/**
|
|
2827
|
+
* Whether the Vercel bot should automatically create GitHub deployments https://docs.github.com/en/rest/deployments/deployments#about-deployments NOTE: repository-dispatch events should be used instead
|
|
2828
|
+
*/
|
|
2829
|
+
createDeployments: 'disabled' | 'enabled';
|
|
2830
|
+
};
|
|
2770
2831
|
paused?: boolean;
|
|
2771
2832
|
concurrencyBucketName?: string;
|
|
2772
2833
|
webAnalytics?: {
|
|
@@ -2850,6 +2911,12 @@ type UpdateProjectDataCacheResponse = {
|
|
|
2850
2911
|
ja3Enabled?: boolean;
|
|
2851
2912
|
ja4Enabled?: boolean;
|
|
2852
2913
|
firewallBypassIps?: string[];
|
|
2914
|
+
managedRules?: {
|
|
2915
|
+
[key: string]: {
|
|
2916
|
+
active: boolean;
|
|
2917
|
+
action?: 'challenge' | 'deny' | 'log';
|
|
2918
|
+
};
|
|
2919
|
+
} | null;
|
|
2853
2920
|
};
|
|
2854
2921
|
oidcTokenConfig?: {
|
|
2855
2922
|
enabled: boolean;
|
|
@@ -3143,9 +3210,9 @@ declare const getDeployment: (variables: GetDeploymentVariables, signal?: AbortS
|
|
|
3143
3210
|
action?: string;
|
|
3144
3211
|
} | null;
|
|
3145
3212
|
id: string;
|
|
3213
|
+
name: string;
|
|
3146
3214
|
type: "LAMBDAS";
|
|
3147
3215
|
createdAt: number;
|
|
3148
|
-
name: string;
|
|
3149
3216
|
readyState: "QUEUED" | "BUILDING" | "ERROR" | "INITIALIZING" | "READY" | "CANCELED";
|
|
3150
3217
|
aliasError?: {
|
|
3151
3218
|
code: string;
|
|
@@ -3493,9 +3560,9 @@ declare const getDeployment: (variables: GetDeploymentVariables, signal?: AbortS
|
|
|
3493
3560
|
action?: string;
|
|
3494
3561
|
} | null;
|
|
3495
3562
|
id: string;
|
|
3563
|
+
name: string;
|
|
3496
3564
|
type: "LAMBDAS";
|
|
3497
3565
|
createdAt: number;
|
|
3498
|
-
name: string;
|
|
3499
3566
|
readyState: "QUEUED" | "BUILDING" | "ERROR" | "INITIALIZING" | "READY" | "CANCELED";
|
|
3500
3567
|
aliasError?: {
|
|
3501
3568
|
code: string;
|
|
@@ -3758,8 +3825,8 @@ type CreateDeploymentResponse = {
|
|
|
3758
3825
|
id: string;
|
|
3759
3826
|
};
|
|
3760
3827
|
type: 'LAMBDAS';
|
|
3761
|
-
createdAt: number;
|
|
3762
3828
|
name: string;
|
|
3829
|
+
createdAt: number;
|
|
3763
3830
|
deletedAt?: number | null;
|
|
3764
3831
|
id: string;
|
|
3765
3832
|
version: 2;
|
|
@@ -3885,6 +3952,7 @@ type CreateDeploymentResponse = {
|
|
|
3885
3952
|
project_id: string;
|
|
3886
3953
|
environment: string;
|
|
3887
3954
|
};
|
|
3955
|
+
plan: 'enterprise' | 'hobby' | 'pro';
|
|
3888
3956
|
projectId: string;
|
|
3889
3957
|
ownerId: string;
|
|
3890
3958
|
microfrontends?: {
|
|
@@ -4015,7 +4083,6 @@ type CreateDeploymentResponse = {
|
|
|
4015
4083
|
schedule: string;
|
|
4016
4084
|
path: string;
|
|
4017
4085
|
}[];
|
|
4018
|
-
plan: 'enterprise' | 'hobby' | 'pro';
|
|
4019
4086
|
connectBuildsEnabled?: boolean;
|
|
4020
4087
|
connectConfigurationId?: string;
|
|
4021
4088
|
createdIn: string;
|
|
@@ -6458,7 +6525,7 @@ type CreateEdgeConfigRequestBody = {
|
|
|
6458
6525
|
*/
|
|
6459
6526
|
slug: string;
|
|
6460
6527
|
items?: {
|
|
6461
|
-
[key: string]:
|
|
6528
|
+
[key: string]: any;
|
|
6462
6529
|
};
|
|
6463
6530
|
};
|
|
6464
6531
|
type CreateEdgeConfigVariables = {
|
|
@@ -8712,7 +8779,7 @@ type PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentat
|
|
|
8712
8779
|
};
|
|
8713
8780
|
type PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigRequestBody = {
|
|
8714
8781
|
data: {
|
|
8715
|
-
[key: string]:
|
|
8782
|
+
[key: string]: any;
|
|
8716
8783
|
};
|
|
8717
8784
|
};
|
|
8718
8785
|
type PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigVariables = {
|
|
@@ -9564,6 +9631,7 @@ type GetProjectsResponse = {
|
|
|
9564
9631
|
ownEvent?: ACLAction[];
|
|
9565
9632
|
sensitiveEnvironmentVariablePolicy?: ACLAction[];
|
|
9566
9633
|
fileUpload?: ACLAction[];
|
|
9634
|
+
flagsExplorerSubscription?: ACLAction[];
|
|
9567
9635
|
gitRepository?: ACLAction[];
|
|
9568
9636
|
ipBlocking?: ACLAction[];
|
|
9569
9637
|
imageOptimizationNewPrice?: ACLAction[];
|
|
@@ -9585,6 +9653,7 @@ type GetProjectsResponse = {
|
|
|
9585
9653
|
marketplaceExperimentationItem?: ACLAction[];
|
|
9586
9654
|
marketplaceExperimentationEdgeConfigData?: ACLAction[];
|
|
9587
9655
|
jobGlobal?: ACLAction[];
|
|
9656
|
+
drain?: ACLAction[];
|
|
9588
9657
|
logDrain?: ACLAction[];
|
|
9589
9658
|
Monitoring?: ACLAction[];
|
|
9590
9659
|
monitoringSettings?: ACLAction[];
|
|
@@ -9704,6 +9773,7 @@ type GetProjectsResponse = {
|
|
|
9704
9773
|
projectSupportCase?: ACLAction[];
|
|
9705
9774
|
projectSupportCaseComment?: ACLAction[];
|
|
9706
9775
|
projectDeploymentExpiration?: ACLAction[];
|
|
9776
|
+
projectRollingRelease?: ACLAction[];
|
|
9707
9777
|
projectTier?: ACLAction[];
|
|
9708
9778
|
seawallConfig?: ACLAction[];
|
|
9709
9779
|
skewProtection?: ACLAction[];
|
|
@@ -9749,6 +9819,12 @@ type GetProjectsResponse = {
|
|
|
9749
9819
|
*/
|
|
9750
9820
|
onCommit: boolean;
|
|
9751
9821
|
};
|
|
9822
|
+
gitProviderOptions?: {
|
|
9823
|
+
/**
|
|
9824
|
+
* Whether the Vercel bot should automatically create GitHub deployments https://docs.github.com/en/rest/deployments/deployments#about-deployments NOTE: repository-dispatch events should be used instead
|
|
9825
|
+
*/
|
|
9826
|
+
createDeployments: 'disabled' | 'enabled';
|
|
9827
|
+
};
|
|
9752
9828
|
paused?: boolean;
|
|
9753
9829
|
concurrencyBucketName?: string;
|
|
9754
9830
|
webAnalytics?: {
|
|
@@ -9832,6 +9908,12 @@ type GetProjectsResponse = {
|
|
|
9832
9908
|
ja3Enabled?: boolean;
|
|
9833
9909
|
ja4Enabled?: boolean;
|
|
9834
9910
|
firewallBypassIps?: string[];
|
|
9911
|
+
managedRules?: {
|
|
9912
|
+
[key: string]: {
|
|
9913
|
+
active: boolean;
|
|
9914
|
+
action?: 'challenge' | 'deny' | 'log';
|
|
9915
|
+
};
|
|
9916
|
+
} | null;
|
|
9835
9917
|
};
|
|
9836
9918
|
oidcTokenConfig?: {
|
|
9837
9919
|
enabled: boolean;
|
|
@@ -10366,6 +10448,7 @@ type CreateProjectResponse = {
|
|
|
10366
10448
|
ownEvent?: ACLAction[];
|
|
10367
10449
|
sensitiveEnvironmentVariablePolicy?: ACLAction[];
|
|
10368
10450
|
fileUpload?: ACLAction[];
|
|
10451
|
+
flagsExplorerSubscription?: ACLAction[];
|
|
10369
10452
|
gitRepository?: ACLAction[];
|
|
10370
10453
|
ipBlocking?: ACLAction[];
|
|
10371
10454
|
imageOptimizationNewPrice?: ACLAction[];
|
|
@@ -10387,6 +10470,7 @@ type CreateProjectResponse = {
|
|
|
10387
10470
|
marketplaceExperimentationItem?: ACLAction[];
|
|
10388
10471
|
marketplaceExperimentationEdgeConfigData?: ACLAction[];
|
|
10389
10472
|
jobGlobal?: ACLAction[];
|
|
10473
|
+
drain?: ACLAction[];
|
|
10390
10474
|
logDrain?: ACLAction[];
|
|
10391
10475
|
Monitoring?: ACLAction[];
|
|
10392
10476
|
monitoringSettings?: ACLAction[];
|
|
@@ -10506,6 +10590,7 @@ type CreateProjectResponse = {
|
|
|
10506
10590
|
projectSupportCase?: ACLAction[];
|
|
10507
10591
|
projectSupportCaseComment?: ACLAction[];
|
|
10508
10592
|
projectDeploymentExpiration?: ACLAction[];
|
|
10593
|
+
projectRollingRelease?: ACLAction[];
|
|
10509
10594
|
projectTier?: ACLAction[];
|
|
10510
10595
|
seawallConfig?: ACLAction[];
|
|
10511
10596
|
skewProtection?: ACLAction[];
|
|
@@ -10551,6 +10636,12 @@ type CreateProjectResponse = {
|
|
|
10551
10636
|
*/
|
|
10552
10637
|
onCommit: boolean;
|
|
10553
10638
|
};
|
|
10639
|
+
gitProviderOptions?: {
|
|
10640
|
+
/**
|
|
10641
|
+
* Whether the Vercel bot should automatically create GitHub deployments https://docs.github.com/en/rest/deployments/deployments#about-deployments NOTE: repository-dispatch events should be used instead
|
|
10642
|
+
*/
|
|
10643
|
+
createDeployments: 'disabled' | 'enabled';
|
|
10644
|
+
};
|
|
10554
10645
|
paused?: boolean;
|
|
10555
10646
|
concurrencyBucketName?: string;
|
|
10556
10647
|
webAnalytics?: {
|
|
@@ -10634,6 +10725,12 @@ type CreateProjectResponse = {
|
|
|
10634
10725
|
ja3Enabled?: boolean;
|
|
10635
10726
|
ja4Enabled?: boolean;
|
|
10636
10727
|
firewallBypassIps?: string[];
|
|
10728
|
+
managedRules?: {
|
|
10729
|
+
[key: string]: {
|
|
10730
|
+
active: boolean;
|
|
10731
|
+
action?: 'challenge' | 'deny' | 'log';
|
|
10732
|
+
};
|
|
10733
|
+
} | null;
|
|
10637
10734
|
};
|
|
10638
10735
|
oidcTokenConfig?: {
|
|
10639
10736
|
enabled: boolean;
|
|
@@ -11300,6 +11397,7 @@ type GetProjectResponse = {
|
|
|
11300
11397
|
ownEvent?: ACLAction[];
|
|
11301
11398
|
sensitiveEnvironmentVariablePolicy?: ACLAction[];
|
|
11302
11399
|
fileUpload?: ACLAction[];
|
|
11400
|
+
flagsExplorerSubscription?: ACLAction[];
|
|
11303
11401
|
gitRepository?: ACLAction[];
|
|
11304
11402
|
ipBlocking?: ACLAction[];
|
|
11305
11403
|
imageOptimizationNewPrice?: ACLAction[];
|
|
@@ -11321,6 +11419,7 @@ type GetProjectResponse = {
|
|
|
11321
11419
|
marketplaceExperimentationItem?: ACLAction[];
|
|
11322
11420
|
marketplaceExperimentationEdgeConfigData?: ACLAction[];
|
|
11323
11421
|
jobGlobal?: ACLAction[];
|
|
11422
|
+
drain?: ACLAction[];
|
|
11324
11423
|
logDrain?: ACLAction[];
|
|
11325
11424
|
Monitoring?: ACLAction[];
|
|
11326
11425
|
monitoringSettings?: ACLAction[];
|
|
@@ -11440,6 +11539,7 @@ type GetProjectResponse = {
|
|
|
11440
11539
|
projectSupportCase?: ACLAction[];
|
|
11441
11540
|
projectSupportCaseComment?: ACLAction[];
|
|
11442
11541
|
projectDeploymentExpiration?: ACLAction[];
|
|
11542
|
+
projectRollingRelease?: ACLAction[];
|
|
11443
11543
|
projectTier?: ACLAction[];
|
|
11444
11544
|
seawallConfig?: ACLAction[];
|
|
11445
11545
|
skewProtection?: ACLAction[];
|
|
@@ -11485,6 +11585,12 @@ type GetProjectResponse = {
|
|
|
11485
11585
|
*/
|
|
11486
11586
|
onCommit: boolean;
|
|
11487
11587
|
};
|
|
11588
|
+
gitProviderOptions?: {
|
|
11589
|
+
/**
|
|
11590
|
+
* Whether the Vercel bot should automatically create GitHub deployments https://docs.github.com/en/rest/deployments/deployments#about-deployments NOTE: repository-dispatch events should be used instead
|
|
11591
|
+
*/
|
|
11592
|
+
createDeployments: 'disabled' | 'enabled';
|
|
11593
|
+
};
|
|
11488
11594
|
paused?: boolean;
|
|
11489
11595
|
concurrencyBucketName?: string;
|
|
11490
11596
|
webAnalytics?: {
|
|
@@ -11568,6 +11674,12 @@ type GetProjectResponse = {
|
|
|
11568
11674
|
ja3Enabled?: boolean;
|
|
11569
11675
|
ja4Enabled?: boolean;
|
|
11570
11676
|
firewallBypassIps?: string[];
|
|
11677
|
+
managedRules?: {
|
|
11678
|
+
[key: string]: {
|
|
11679
|
+
active: boolean;
|
|
11680
|
+
action?: 'challenge' | 'deny' | 'log';
|
|
11681
|
+
};
|
|
11682
|
+
} | null;
|
|
11571
11683
|
};
|
|
11572
11684
|
oidcTokenConfig?: {
|
|
11573
11685
|
enabled: boolean;
|
|
@@ -12109,6 +12221,7 @@ type UpdateProjectResponse = {
|
|
|
12109
12221
|
ownEvent?: ACLAction[];
|
|
12110
12222
|
sensitiveEnvironmentVariablePolicy?: ACLAction[];
|
|
12111
12223
|
fileUpload?: ACLAction[];
|
|
12224
|
+
flagsExplorerSubscription?: ACLAction[];
|
|
12112
12225
|
gitRepository?: ACLAction[];
|
|
12113
12226
|
ipBlocking?: ACLAction[];
|
|
12114
12227
|
imageOptimizationNewPrice?: ACLAction[];
|
|
@@ -12130,6 +12243,7 @@ type UpdateProjectResponse = {
|
|
|
12130
12243
|
marketplaceExperimentationItem?: ACLAction[];
|
|
12131
12244
|
marketplaceExperimentationEdgeConfigData?: ACLAction[];
|
|
12132
12245
|
jobGlobal?: ACLAction[];
|
|
12246
|
+
drain?: ACLAction[];
|
|
12133
12247
|
logDrain?: ACLAction[];
|
|
12134
12248
|
Monitoring?: ACLAction[];
|
|
12135
12249
|
monitoringSettings?: ACLAction[];
|
|
@@ -12249,6 +12363,7 @@ type UpdateProjectResponse = {
|
|
|
12249
12363
|
projectSupportCase?: ACLAction[];
|
|
12250
12364
|
projectSupportCaseComment?: ACLAction[];
|
|
12251
12365
|
projectDeploymentExpiration?: ACLAction[];
|
|
12366
|
+
projectRollingRelease?: ACLAction[];
|
|
12252
12367
|
projectTier?: ACLAction[];
|
|
12253
12368
|
seawallConfig?: ACLAction[];
|
|
12254
12369
|
skewProtection?: ACLAction[];
|
|
@@ -12294,6 +12409,12 @@ type UpdateProjectResponse = {
|
|
|
12294
12409
|
*/
|
|
12295
12410
|
onCommit: boolean;
|
|
12296
12411
|
};
|
|
12412
|
+
gitProviderOptions?: {
|
|
12413
|
+
/**
|
|
12414
|
+
* Whether the Vercel bot should automatically create GitHub deployments https://docs.github.com/en/rest/deployments/deployments#about-deployments NOTE: repository-dispatch events should be used instead
|
|
12415
|
+
*/
|
|
12416
|
+
createDeployments: 'disabled' | 'enabled';
|
|
12417
|
+
};
|
|
12297
12418
|
paused?: boolean;
|
|
12298
12419
|
concurrencyBucketName?: string;
|
|
12299
12420
|
webAnalytics?: {
|
|
@@ -12377,6 +12498,12 @@ type UpdateProjectResponse = {
|
|
|
12377
12498
|
ja3Enabled?: boolean;
|
|
12378
12499
|
ja4Enabled?: boolean;
|
|
12379
12500
|
firewallBypassIps?: string[];
|
|
12501
|
+
managedRules?: {
|
|
12502
|
+
[key: string]: {
|
|
12503
|
+
active: boolean;
|
|
12504
|
+
action?: 'challenge' | 'deny' | 'log';
|
|
12505
|
+
};
|
|
12506
|
+
} | null;
|
|
12380
12507
|
};
|
|
12381
12508
|
oidcTokenConfig?: {
|
|
12382
12509
|
enabled: boolean;
|
|
@@ -13564,19 +13691,21 @@ declare const filterProjectEnvs: (variables: FilterProjectEnvsVariables, signal?
|
|
|
13564
13691
|
system?: boolean;
|
|
13565
13692
|
}[];
|
|
13566
13693
|
}>;
|
|
13567
|
-
type
|
|
13694
|
+
type CreateProjectEnvPathParams = {
|
|
13568
13695
|
/**
|
|
13569
13696
|
* The unique project identifier or the project name
|
|
13570
13697
|
*
|
|
13571
13698
|
* @example prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA
|
|
13572
13699
|
*/
|
|
13573
13700
|
idOrName: string;
|
|
13701
|
+
};
|
|
13702
|
+
type CreateProjectEnvQueryParams = {
|
|
13574
13703
|
/**
|
|
13575
|
-
*
|
|
13704
|
+
* Allow override of environment variable if it already exists
|
|
13705
|
+
*
|
|
13706
|
+
* @example true
|
|
13576
13707
|
*/
|
|
13577
|
-
|
|
13578
|
-
};
|
|
13579
|
-
type GetProjectEnvQueryParams = {
|
|
13708
|
+
upsert?: string;
|
|
13580
13709
|
/**
|
|
13581
13710
|
* The Team identifier to perform the request on behalf of.
|
|
13582
13711
|
*/
|
|
@@ -13586,293 +13715,13 @@ type GetProjectEnvQueryParams = {
|
|
|
13586
13715
|
*/
|
|
13587
13716
|
slug?: string;
|
|
13588
13717
|
};
|
|
13589
|
-
type
|
|
13590
|
-
type
|
|
13591
|
-
|
|
13592
|
-
|
|
13593
|
-
|
|
13594
|
-
/**
|
|
13595
|
-
* Retrieve the environment variable for a given project.
|
|
13596
|
-
*/
|
|
13597
|
-
declare const getProjectEnv: (variables: GetProjectEnvVariables, signal?: AbortSignal) => Promise<{
|
|
13598
|
-
decrypted: boolean;
|
|
13599
|
-
target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
|
|
13600
|
-
type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
|
|
13601
|
-
/**
|
|
13602
|
-
* This is used to identiy variables that have been migrated from type secret to sensitive.
|
|
13603
|
-
*/
|
|
13604
|
-
sunsetSecretId?: string;
|
|
13605
|
-
id?: string;
|
|
13606
|
-
key: string;
|
|
13607
|
-
configurationId?: string | null;
|
|
13608
|
-
createdAt?: number;
|
|
13609
|
-
updatedAt?: number;
|
|
13610
|
-
createdBy?: string | null;
|
|
13611
|
-
updatedBy?: string | null;
|
|
13612
|
-
gitBranch?: string;
|
|
13613
|
-
edgeConfigId?: string | null;
|
|
13614
|
-
edgeConfigTokenId?: string | null;
|
|
13615
|
-
contentHint?: {
|
|
13616
|
-
type: "redis-url";
|
|
13617
|
-
storeId: string;
|
|
13618
|
-
} | {
|
|
13619
|
-
type: "redis-rest-api-url";
|
|
13620
|
-
storeId: string;
|
|
13621
|
-
} | {
|
|
13622
|
-
type: "redis-rest-api-token";
|
|
13623
|
-
storeId: string;
|
|
13624
|
-
} | {
|
|
13625
|
-
type: "redis-rest-api-read-only-token";
|
|
13626
|
-
storeId: string;
|
|
13627
|
-
} | {
|
|
13628
|
-
type: "blob-read-write-token";
|
|
13629
|
-
storeId: string;
|
|
13630
|
-
} | {
|
|
13631
|
-
type: "postgres-url";
|
|
13632
|
-
storeId: string;
|
|
13633
|
-
} | {
|
|
13634
|
-
type: "postgres-url-non-pooling";
|
|
13635
|
-
storeId: string;
|
|
13636
|
-
} | {
|
|
13637
|
-
type: "postgres-prisma-url";
|
|
13638
|
-
storeId: string;
|
|
13639
|
-
} | {
|
|
13640
|
-
type: "postgres-user";
|
|
13641
|
-
storeId: string;
|
|
13642
|
-
} | {
|
|
13643
|
-
type: "postgres-host";
|
|
13644
|
-
storeId: string;
|
|
13645
|
-
} | {
|
|
13646
|
-
type: "postgres-password";
|
|
13647
|
-
storeId: string;
|
|
13648
|
-
} | {
|
|
13649
|
-
type: "postgres-database";
|
|
13650
|
-
storeId: string;
|
|
13651
|
-
} | {
|
|
13652
|
-
type: "postgres-url-no-ssl";
|
|
13653
|
-
storeId: string;
|
|
13654
|
-
} | {
|
|
13655
|
-
type: "integration-store-secret";
|
|
13656
|
-
storeId: string;
|
|
13657
|
-
integrationId: string;
|
|
13658
|
-
integrationProductId: string;
|
|
13659
|
-
integrationConfigurationId: string;
|
|
13660
|
-
} | {
|
|
13661
|
-
type: "flags-connection-string";
|
|
13662
|
-
projectId: string;
|
|
13663
|
-
} | null;
|
|
13664
|
-
/**
|
|
13665
|
-
* Similar to `contentHints`, but should not be exposed to the user.
|
|
13666
|
-
*/
|
|
13667
|
-
internalContentHint?: {
|
|
13668
|
-
type: "flags-secret";
|
|
13718
|
+
type CreateProjectEnvError = ErrorWrapper<undefined>;
|
|
13719
|
+
type CreateProjectEnvResponse = {
|
|
13720
|
+
created: {
|
|
13721
|
+
target?: ('production' | 'preview' | 'development' | 'preview' | 'development')[] | ('production' | 'preview' | 'development' | 'preview' | 'development');
|
|
13722
|
+
type?: 'system' | 'encrypted' | 'plain' | 'sensitive' | 'secret';
|
|
13669
13723
|
/**
|
|
13670
|
-
*
|
|
13671
|
-
*/
|
|
13672
|
-
encryptedValue: string;
|
|
13673
|
-
} | null;
|
|
13674
|
-
comment?: string;
|
|
13675
|
-
customEnvironmentIds?: string[];
|
|
13676
|
-
vsmValue?: string;
|
|
13677
|
-
} | {
|
|
13678
|
-
target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
|
|
13679
|
-
type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
|
|
13680
|
-
/**
|
|
13681
|
-
* This is used to identiy variables that have been migrated from type secret to sensitive.
|
|
13682
|
-
*/
|
|
13683
|
-
sunsetSecretId?: string;
|
|
13684
|
-
id?: string;
|
|
13685
|
-
key: string;
|
|
13686
|
-
value: string;
|
|
13687
|
-
configurationId?: string | null;
|
|
13688
|
-
createdAt?: number;
|
|
13689
|
-
updatedAt?: number;
|
|
13690
|
-
createdBy?: string | null;
|
|
13691
|
-
updatedBy?: string | null;
|
|
13692
|
-
gitBranch?: string;
|
|
13693
|
-
edgeConfigId?: string | null;
|
|
13694
|
-
edgeConfigTokenId?: string | null;
|
|
13695
|
-
contentHint?: {
|
|
13696
|
-
type: "redis-url";
|
|
13697
|
-
storeId: string;
|
|
13698
|
-
} | {
|
|
13699
|
-
type: "redis-rest-api-url";
|
|
13700
|
-
storeId: string;
|
|
13701
|
-
} | {
|
|
13702
|
-
type: "redis-rest-api-token";
|
|
13703
|
-
storeId: string;
|
|
13704
|
-
} | {
|
|
13705
|
-
type: "redis-rest-api-read-only-token";
|
|
13706
|
-
storeId: string;
|
|
13707
|
-
} | {
|
|
13708
|
-
type: "blob-read-write-token";
|
|
13709
|
-
storeId: string;
|
|
13710
|
-
} | {
|
|
13711
|
-
type: "postgres-url";
|
|
13712
|
-
storeId: string;
|
|
13713
|
-
} | {
|
|
13714
|
-
type: "postgres-url-non-pooling";
|
|
13715
|
-
storeId: string;
|
|
13716
|
-
} | {
|
|
13717
|
-
type: "postgres-prisma-url";
|
|
13718
|
-
storeId: string;
|
|
13719
|
-
} | {
|
|
13720
|
-
type: "postgres-user";
|
|
13721
|
-
storeId: string;
|
|
13722
|
-
} | {
|
|
13723
|
-
type: "postgres-host";
|
|
13724
|
-
storeId: string;
|
|
13725
|
-
} | {
|
|
13726
|
-
type: "postgres-password";
|
|
13727
|
-
storeId: string;
|
|
13728
|
-
} | {
|
|
13729
|
-
type: "postgres-database";
|
|
13730
|
-
storeId: string;
|
|
13731
|
-
} | {
|
|
13732
|
-
type: "postgres-url-no-ssl";
|
|
13733
|
-
storeId: string;
|
|
13734
|
-
} | {
|
|
13735
|
-
type: "integration-store-secret";
|
|
13736
|
-
storeId: string;
|
|
13737
|
-
integrationId: string;
|
|
13738
|
-
integrationProductId: string;
|
|
13739
|
-
integrationConfigurationId: string;
|
|
13740
|
-
} | {
|
|
13741
|
-
type: "flags-connection-string";
|
|
13742
|
-
projectId: string;
|
|
13743
|
-
} | null;
|
|
13744
|
-
/**
|
|
13745
|
-
* Similar to `contentHints`, but should not be exposed to the user.
|
|
13746
|
-
*/
|
|
13747
|
-
internalContentHint?: {
|
|
13748
|
-
type: "flags-secret";
|
|
13749
|
-
/**
|
|
13750
|
-
* Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.
|
|
13751
|
-
*/
|
|
13752
|
-
encryptedValue: string;
|
|
13753
|
-
} | null;
|
|
13754
|
-
/**
|
|
13755
|
-
* Whether `value` and `vsmValue` are decrypted.
|
|
13756
|
-
*/
|
|
13757
|
-
decrypted?: boolean;
|
|
13758
|
-
comment?: string;
|
|
13759
|
-
customEnvironmentIds?: string[];
|
|
13760
|
-
vsmValue?: string;
|
|
13761
|
-
} | {
|
|
13762
|
-
target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
|
|
13763
|
-
type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
|
|
13764
|
-
/**
|
|
13765
|
-
* This is used to identiy variables that have been migrated from type secret to sensitive.
|
|
13766
|
-
*/
|
|
13767
|
-
sunsetSecretId?: string;
|
|
13768
|
-
id?: string;
|
|
13769
|
-
key: string;
|
|
13770
|
-
value: string;
|
|
13771
|
-
configurationId?: string | null;
|
|
13772
|
-
createdAt?: number;
|
|
13773
|
-
updatedAt?: number;
|
|
13774
|
-
createdBy?: string | null;
|
|
13775
|
-
updatedBy?: string | null;
|
|
13776
|
-
gitBranch?: string;
|
|
13777
|
-
edgeConfigId?: string | null;
|
|
13778
|
-
edgeConfigTokenId?: string | null;
|
|
13779
|
-
contentHint?: {
|
|
13780
|
-
type: "redis-url";
|
|
13781
|
-
storeId: string;
|
|
13782
|
-
} | {
|
|
13783
|
-
type: "redis-rest-api-url";
|
|
13784
|
-
storeId: string;
|
|
13785
|
-
} | {
|
|
13786
|
-
type: "redis-rest-api-token";
|
|
13787
|
-
storeId: string;
|
|
13788
|
-
} | {
|
|
13789
|
-
type: "redis-rest-api-read-only-token";
|
|
13790
|
-
storeId: string;
|
|
13791
|
-
} | {
|
|
13792
|
-
type: "blob-read-write-token";
|
|
13793
|
-
storeId: string;
|
|
13794
|
-
} | {
|
|
13795
|
-
type: "postgres-url";
|
|
13796
|
-
storeId: string;
|
|
13797
|
-
} | {
|
|
13798
|
-
type: "postgres-url-non-pooling";
|
|
13799
|
-
storeId: string;
|
|
13800
|
-
} | {
|
|
13801
|
-
type: "postgres-prisma-url";
|
|
13802
|
-
storeId: string;
|
|
13803
|
-
} | {
|
|
13804
|
-
type: "postgres-user";
|
|
13805
|
-
storeId: string;
|
|
13806
|
-
} | {
|
|
13807
|
-
type: "postgres-host";
|
|
13808
|
-
storeId: string;
|
|
13809
|
-
} | {
|
|
13810
|
-
type: "postgres-password";
|
|
13811
|
-
storeId: string;
|
|
13812
|
-
} | {
|
|
13813
|
-
type: "postgres-database";
|
|
13814
|
-
storeId: string;
|
|
13815
|
-
} | {
|
|
13816
|
-
type: "postgres-url-no-ssl";
|
|
13817
|
-
storeId: string;
|
|
13818
|
-
} | {
|
|
13819
|
-
type: "integration-store-secret";
|
|
13820
|
-
storeId: string;
|
|
13821
|
-
integrationId: string;
|
|
13822
|
-
integrationProductId: string;
|
|
13823
|
-
integrationConfigurationId: string;
|
|
13824
|
-
} | {
|
|
13825
|
-
type: "flags-connection-string";
|
|
13826
|
-
projectId: string;
|
|
13827
|
-
} | null;
|
|
13828
|
-
/**
|
|
13829
|
-
* Similar to `contentHints`, but should not be exposed to the user.
|
|
13830
|
-
*/
|
|
13831
|
-
internalContentHint?: {
|
|
13832
|
-
type: "flags-secret";
|
|
13833
|
-
/**
|
|
13834
|
-
* Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.
|
|
13835
|
-
*/
|
|
13836
|
-
encryptedValue: string;
|
|
13837
|
-
} | null;
|
|
13838
|
-
/**
|
|
13839
|
-
* Whether `value` and `vsmValue` are decrypted.
|
|
13840
|
-
*/
|
|
13841
|
-
decrypted?: boolean;
|
|
13842
|
-
comment?: string;
|
|
13843
|
-
customEnvironmentIds?: string[];
|
|
13844
|
-
}>;
|
|
13845
|
-
type CreateProjectEnvPathParams = {
|
|
13846
|
-
/**
|
|
13847
|
-
* The unique project identifier or the project name
|
|
13848
|
-
*
|
|
13849
|
-
* @example prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA
|
|
13850
|
-
*/
|
|
13851
|
-
idOrName: string;
|
|
13852
|
-
};
|
|
13853
|
-
type CreateProjectEnvQueryParams = {
|
|
13854
|
-
/**
|
|
13855
|
-
* Allow override of environment variable if it already exists
|
|
13856
|
-
*
|
|
13857
|
-
* @example true
|
|
13858
|
-
*/
|
|
13859
|
-
upsert?: string;
|
|
13860
|
-
/**
|
|
13861
|
-
* The Team identifier to perform the request on behalf of.
|
|
13862
|
-
*/
|
|
13863
|
-
teamId?: string;
|
|
13864
|
-
/**
|
|
13865
|
-
* The Team slug to perform the request on behalf of.
|
|
13866
|
-
*/
|
|
13867
|
-
slug?: string;
|
|
13868
|
-
};
|
|
13869
|
-
type CreateProjectEnvError = ErrorWrapper<undefined>;
|
|
13870
|
-
type CreateProjectEnvResponse = {
|
|
13871
|
-
created: {
|
|
13872
|
-
target?: ('production' | 'preview' | 'development' | 'preview' | 'development')[] | ('production' | 'preview' | 'development' | 'preview' | 'development');
|
|
13873
|
-
type?: 'system' | 'encrypted' | 'plain' | 'sensitive' | 'secret';
|
|
13874
|
-
/**
|
|
13875
|
-
* This is used to identiy variables that have been migrated from type secret to sensitive.
|
|
13724
|
+
* This is used to identiy variables that have been migrated from type secret to sensitive.
|
|
13876
13725
|
*/
|
|
13877
13726
|
sunsetSecretId?: string;
|
|
13878
13727
|
id?: string;
|
|
@@ -14236,6 +14085,284 @@ type CreateProjectEnvVariables = {
|
|
|
14236
14085
|
* Create one or more environment variables for a project by passing its `key`, `value`, `type` and `target` and by specifying the project by either passing the project `id` or `name` in the URL. If you include `upsert=true` as a query parameter, a new environment variable will not be created if it already exists but, the existing variable's value will be updated.
|
|
14237
14086
|
*/
|
|
14238
14087
|
declare const createProjectEnv: (variables: CreateProjectEnvVariables, signal?: AbortSignal) => Promise<CreateProjectEnvResponse>;
|
|
14088
|
+
type GetProjectEnvPathParams = {
|
|
14089
|
+
/**
|
|
14090
|
+
* The unique project identifier or the project name
|
|
14091
|
+
*
|
|
14092
|
+
* @example prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA
|
|
14093
|
+
*/
|
|
14094
|
+
idOrName: string;
|
|
14095
|
+
/**
|
|
14096
|
+
* The unique ID for the environment variable to get the decrypted value.
|
|
14097
|
+
*/
|
|
14098
|
+
id: string;
|
|
14099
|
+
};
|
|
14100
|
+
type GetProjectEnvQueryParams = {
|
|
14101
|
+
/**
|
|
14102
|
+
* The Team identifier to perform the request on behalf of.
|
|
14103
|
+
*/
|
|
14104
|
+
teamId?: string;
|
|
14105
|
+
/**
|
|
14106
|
+
* The Team slug to perform the request on behalf of.
|
|
14107
|
+
*/
|
|
14108
|
+
slug?: string;
|
|
14109
|
+
};
|
|
14110
|
+
type GetProjectEnvError = ErrorWrapper<undefined>;
|
|
14111
|
+
type GetProjectEnvVariables = {
|
|
14112
|
+
pathParams: GetProjectEnvPathParams;
|
|
14113
|
+
queryParams?: GetProjectEnvQueryParams;
|
|
14114
|
+
} & FetcherExtraProps;
|
|
14115
|
+
/**
|
|
14116
|
+
* Retrieve the environment variable for a given project.
|
|
14117
|
+
*/
|
|
14118
|
+
declare const getProjectEnv: (variables: GetProjectEnvVariables, signal?: AbortSignal) => Promise<{
|
|
14119
|
+
decrypted: boolean;
|
|
14120
|
+
target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
|
|
14121
|
+
type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
|
|
14122
|
+
/**
|
|
14123
|
+
* This is used to identiy variables that have been migrated from type secret to sensitive.
|
|
14124
|
+
*/
|
|
14125
|
+
sunsetSecretId?: string;
|
|
14126
|
+
id?: string;
|
|
14127
|
+
key: string;
|
|
14128
|
+
configurationId?: string | null;
|
|
14129
|
+
createdAt?: number;
|
|
14130
|
+
updatedAt?: number;
|
|
14131
|
+
createdBy?: string | null;
|
|
14132
|
+
updatedBy?: string | null;
|
|
14133
|
+
gitBranch?: string;
|
|
14134
|
+
edgeConfigId?: string | null;
|
|
14135
|
+
edgeConfigTokenId?: string | null;
|
|
14136
|
+
contentHint?: {
|
|
14137
|
+
type: "redis-url";
|
|
14138
|
+
storeId: string;
|
|
14139
|
+
} | {
|
|
14140
|
+
type: "redis-rest-api-url";
|
|
14141
|
+
storeId: string;
|
|
14142
|
+
} | {
|
|
14143
|
+
type: "redis-rest-api-token";
|
|
14144
|
+
storeId: string;
|
|
14145
|
+
} | {
|
|
14146
|
+
type: "redis-rest-api-read-only-token";
|
|
14147
|
+
storeId: string;
|
|
14148
|
+
} | {
|
|
14149
|
+
type: "blob-read-write-token";
|
|
14150
|
+
storeId: string;
|
|
14151
|
+
} | {
|
|
14152
|
+
type: "postgres-url";
|
|
14153
|
+
storeId: string;
|
|
14154
|
+
} | {
|
|
14155
|
+
type: "postgres-url-non-pooling";
|
|
14156
|
+
storeId: string;
|
|
14157
|
+
} | {
|
|
14158
|
+
type: "postgres-prisma-url";
|
|
14159
|
+
storeId: string;
|
|
14160
|
+
} | {
|
|
14161
|
+
type: "postgres-user";
|
|
14162
|
+
storeId: string;
|
|
14163
|
+
} | {
|
|
14164
|
+
type: "postgres-host";
|
|
14165
|
+
storeId: string;
|
|
14166
|
+
} | {
|
|
14167
|
+
type: "postgres-password";
|
|
14168
|
+
storeId: string;
|
|
14169
|
+
} | {
|
|
14170
|
+
type: "postgres-database";
|
|
14171
|
+
storeId: string;
|
|
14172
|
+
} | {
|
|
14173
|
+
type: "postgres-url-no-ssl";
|
|
14174
|
+
storeId: string;
|
|
14175
|
+
} | {
|
|
14176
|
+
type: "integration-store-secret";
|
|
14177
|
+
storeId: string;
|
|
14178
|
+
integrationId: string;
|
|
14179
|
+
integrationProductId: string;
|
|
14180
|
+
integrationConfigurationId: string;
|
|
14181
|
+
} | {
|
|
14182
|
+
type: "flags-connection-string";
|
|
14183
|
+
projectId: string;
|
|
14184
|
+
} | null;
|
|
14185
|
+
/**
|
|
14186
|
+
* Similar to `contentHints`, but should not be exposed to the user.
|
|
14187
|
+
*/
|
|
14188
|
+
internalContentHint?: {
|
|
14189
|
+
type: "flags-secret";
|
|
14190
|
+
/**
|
|
14191
|
+
* Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.
|
|
14192
|
+
*/
|
|
14193
|
+
encryptedValue: string;
|
|
14194
|
+
} | null;
|
|
14195
|
+
comment?: string;
|
|
14196
|
+
customEnvironmentIds?: string[];
|
|
14197
|
+
vsmValue?: string;
|
|
14198
|
+
} | {
|
|
14199
|
+
target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
|
|
14200
|
+
type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
|
|
14201
|
+
/**
|
|
14202
|
+
* This is used to identiy variables that have been migrated from type secret to sensitive.
|
|
14203
|
+
*/
|
|
14204
|
+
sunsetSecretId?: string;
|
|
14205
|
+
id?: string;
|
|
14206
|
+
key: string;
|
|
14207
|
+
value: string;
|
|
14208
|
+
configurationId?: string | null;
|
|
14209
|
+
createdAt?: number;
|
|
14210
|
+
updatedAt?: number;
|
|
14211
|
+
createdBy?: string | null;
|
|
14212
|
+
updatedBy?: string | null;
|
|
14213
|
+
gitBranch?: string;
|
|
14214
|
+
edgeConfigId?: string | null;
|
|
14215
|
+
edgeConfigTokenId?: string | null;
|
|
14216
|
+
contentHint?: {
|
|
14217
|
+
type: "redis-url";
|
|
14218
|
+
storeId: string;
|
|
14219
|
+
} | {
|
|
14220
|
+
type: "redis-rest-api-url";
|
|
14221
|
+
storeId: string;
|
|
14222
|
+
} | {
|
|
14223
|
+
type: "redis-rest-api-token";
|
|
14224
|
+
storeId: string;
|
|
14225
|
+
} | {
|
|
14226
|
+
type: "redis-rest-api-read-only-token";
|
|
14227
|
+
storeId: string;
|
|
14228
|
+
} | {
|
|
14229
|
+
type: "blob-read-write-token";
|
|
14230
|
+
storeId: string;
|
|
14231
|
+
} | {
|
|
14232
|
+
type: "postgres-url";
|
|
14233
|
+
storeId: string;
|
|
14234
|
+
} | {
|
|
14235
|
+
type: "postgres-url-non-pooling";
|
|
14236
|
+
storeId: string;
|
|
14237
|
+
} | {
|
|
14238
|
+
type: "postgres-prisma-url";
|
|
14239
|
+
storeId: string;
|
|
14240
|
+
} | {
|
|
14241
|
+
type: "postgres-user";
|
|
14242
|
+
storeId: string;
|
|
14243
|
+
} | {
|
|
14244
|
+
type: "postgres-host";
|
|
14245
|
+
storeId: string;
|
|
14246
|
+
} | {
|
|
14247
|
+
type: "postgres-password";
|
|
14248
|
+
storeId: string;
|
|
14249
|
+
} | {
|
|
14250
|
+
type: "postgres-database";
|
|
14251
|
+
storeId: string;
|
|
14252
|
+
} | {
|
|
14253
|
+
type: "postgres-url-no-ssl";
|
|
14254
|
+
storeId: string;
|
|
14255
|
+
} | {
|
|
14256
|
+
type: "integration-store-secret";
|
|
14257
|
+
storeId: string;
|
|
14258
|
+
integrationId: string;
|
|
14259
|
+
integrationProductId: string;
|
|
14260
|
+
integrationConfigurationId: string;
|
|
14261
|
+
} | {
|
|
14262
|
+
type: "flags-connection-string";
|
|
14263
|
+
projectId: string;
|
|
14264
|
+
} | null;
|
|
14265
|
+
/**
|
|
14266
|
+
* Similar to `contentHints`, but should not be exposed to the user.
|
|
14267
|
+
*/
|
|
14268
|
+
internalContentHint?: {
|
|
14269
|
+
type: "flags-secret";
|
|
14270
|
+
/**
|
|
14271
|
+
* Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.
|
|
14272
|
+
*/
|
|
14273
|
+
encryptedValue: string;
|
|
14274
|
+
} | null;
|
|
14275
|
+
/**
|
|
14276
|
+
* Whether `value` and `vsmValue` are decrypted.
|
|
14277
|
+
*/
|
|
14278
|
+
decrypted?: boolean;
|
|
14279
|
+
comment?: string;
|
|
14280
|
+
customEnvironmentIds?: string[];
|
|
14281
|
+
vsmValue?: string;
|
|
14282
|
+
} | {
|
|
14283
|
+
target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
|
|
14284
|
+
type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
|
|
14285
|
+
/**
|
|
14286
|
+
* This is used to identiy variables that have been migrated from type secret to sensitive.
|
|
14287
|
+
*/
|
|
14288
|
+
sunsetSecretId?: string;
|
|
14289
|
+
id?: string;
|
|
14290
|
+
key: string;
|
|
14291
|
+
value: string;
|
|
14292
|
+
configurationId?: string | null;
|
|
14293
|
+
createdAt?: number;
|
|
14294
|
+
updatedAt?: number;
|
|
14295
|
+
createdBy?: string | null;
|
|
14296
|
+
updatedBy?: string | null;
|
|
14297
|
+
gitBranch?: string;
|
|
14298
|
+
edgeConfigId?: string | null;
|
|
14299
|
+
edgeConfigTokenId?: string | null;
|
|
14300
|
+
contentHint?: {
|
|
14301
|
+
type: "redis-url";
|
|
14302
|
+
storeId: string;
|
|
14303
|
+
} | {
|
|
14304
|
+
type: "redis-rest-api-url";
|
|
14305
|
+
storeId: string;
|
|
14306
|
+
} | {
|
|
14307
|
+
type: "redis-rest-api-token";
|
|
14308
|
+
storeId: string;
|
|
14309
|
+
} | {
|
|
14310
|
+
type: "redis-rest-api-read-only-token";
|
|
14311
|
+
storeId: string;
|
|
14312
|
+
} | {
|
|
14313
|
+
type: "blob-read-write-token";
|
|
14314
|
+
storeId: string;
|
|
14315
|
+
} | {
|
|
14316
|
+
type: "postgres-url";
|
|
14317
|
+
storeId: string;
|
|
14318
|
+
} | {
|
|
14319
|
+
type: "postgres-url-non-pooling";
|
|
14320
|
+
storeId: string;
|
|
14321
|
+
} | {
|
|
14322
|
+
type: "postgres-prisma-url";
|
|
14323
|
+
storeId: string;
|
|
14324
|
+
} | {
|
|
14325
|
+
type: "postgres-user";
|
|
14326
|
+
storeId: string;
|
|
14327
|
+
} | {
|
|
14328
|
+
type: "postgres-host";
|
|
14329
|
+
storeId: string;
|
|
14330
|
+
} | {
|
|
14331
|
+
type: "postgres-password";
|
|
14332
|
+
storeId: string;
|
|
14333
|
+
} | {
|
|
14334
|
+
type: "postgres-database";
|
|
14335
|
+
storeId: string;
|
|
14336
|
+
} | {
|
|
14337
|
+
type: "postgres-url-no-ssl";
|
|
14338
|
+
storeId: string;
|
|
14339
|
+
} | {
|
|
14340
|
+
type: "integration-store-secret";
|
|
14341
|
+
storeId: string;
|
|
14342
|
+
integrationId: string;
|
|
14343
|
+
integrationProductId: string;
|
|
14344
|
+
integrationConfigurationId: string;
|
|
14345
|
+
} | {
|
|
14346
|
+
type: "flags-connection-string";
|
|
14347
|
+
projectId: string;
|
|
14348
|
+
} | null;
|
|
14349
|
+
/**
|
|
14350
|
+
* Similar to `contentHints`, but should not be exposed to the user.
|
|
14351
|
+
*/
|
|
14352
|
+
internalContentHint?: {
|
|
14353
|
+
type: "flags-secret";
|
|
14354
|
+
/**
|
|
14355
|
+
* Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.
|
|
14356
|
+
*/
|
|
14357
|
+
encryptedValue: string;
|
|
14358
|
+
} | null;
|
|
14359
|
+
/**
|
|
14360
|
+
* Whether `value` and `vsmValue` are decrypted.
|
|
14361
|
+
*/
|
|
14362
|
+
decrypted?: boolean;
|
|
14363
|
+
comment?: string;
|
|
14364
|
+
customEnvironmentIds?: string[];
|
|
14365
|
+
}>;
|
|
14239
14366
|
type RemoveProjectEnvPathParams = {
|
|
14240
14367
|
/**
|
|
14241
14368
|
* The unique project identifier or the project name
|
|
@@ -15085,14 +15212,9 @@ type PutFirewallConfigResponse = {
|
|
|
15085
15212
|
}[];
|
|
15086
15213
|
changes: Record<string, any>[];
|
|
15087
15214
|
managedRules?: {
|
|
15088
|
-
|
|
15089
|
-
active: boolean;
|
|
15090
|
-
updatedAt?: string;
|
|
15091
|
-
userId?: string;
|
|
15092
|
-
username?: string;
|
|
15093
|
-
};
|
|
15094
|
-
verifiedBotsBypass?: {
|
|
15215
|
+
[key: string]: {
|
|
15095
15216
|
active: boolean;
|
|
15217
|
+
action?: 'challenge' | 'deny' | 'log';
|
|
15096
15218
|
updatedAt?: string;
|
|
15097
15219
|
userId?: string;
|
|
15098
15220
|
username?: string;
|
|
@@ -15103,8 +15225,15 @@ type PutFirewallConfigResponse = {
|
|
|
15103
15225
|
type PutFirewallConfigRequestBody = {
|
|
15104
15226
|
firewallEnabled: boolean;
|
|
15105
15227
|
managedRules?: {
|
|
15106
|
-
|
|
15228
|
+
[key: string]: void | {
|
|
15107
15229
|
active: boolean;
|
|
15230
|
+
action?: 'log' | 'challenge' | 'deny';
|
|
15231
|
+
ruleGroups?: {
|
|
15232
|
+
[key: string]: {
|
|
15233
|
+
active?: boolean;
|
|
15234
|
+
action?: 'log' | 'challenge' | 'deny';
|
|
15235
|
+
};
|
|
15236
|
+
};
|
|
15108
15237
|
};
|
|
15109
15238
|
};
|
|
15110
15239
|
crs?: {
|
|
@@ -15164,7 +15293,13 @@ type PutFirewallConfigRequestBody = {
|
|
|
15164
15293
|
*/
|
|
15165
15294
|
description?: string;
|
|
15166
15295
|
active: boolean;
|
|
15296
|
+
/**
|
|
15297
|
+
* @maxItems 25
|
|
15298
|
+
*/
|
|
15167
15299
|
conditionGroup: {
|
|
15300
|
+
/**
|
|
15301
|
+
* @maxItems 65
|
|
15302
|
+
*/
|
|
15168
15303
|
conditions: {
|
|
15169
15304
|
type: 'cookie' | 'environment' | 'geo_as_number' | 'geo_city' | 'geo_continent' | 'geo_country' | 'geo_country_region' | 'header' | 'host' | 'ip_address' | 'ja3_digest' | 'ja4_digest' | 'method' | 'path' | 'protocol' | 'query' | 'rate_limit_api_id' | 'raw_path' | 'region' | 'scheme' | 'target_path' | 'user_agent';
|
|
15170
15305
|
op: 'eq' | 'ex' | 'gt' | 'gte' | 'inc' | 'lt' | 'lte' | 'neq' | 'nex' | 'ninc' | 'pre' | 're' | 'sub' | 'suf';
|
|
@@ -15238,7 +15373,13 @@ type UpdateFirewallConfigVariables = {
|
|
|
15238
15373
|
*/
|
|
15239
15374
|
description?: string;
|
|
15240
15375
|
active: boolean;
|
|
15376
|
+
/**
|
|
15377
|
+
* @maxItems 25
|
|
15378
|
+
*/
|
|
15241
15379
|
conditionGroup: {
|
|
15380
|
+
/**
|
|
15381
|
+
* @maxItems 65
|
|
15382
|
+
*/
|
|
15242
15383
|
conditions: {
|
|
15243
15384
|
type: 'host' | 'path' | 'method' | 'header' | 'query' | 'cookie' | 'target_path' | 'raw_path' | 'ip_address' | 'region' | 'protocol' | 'scheme' | 'environment' | 'user_agent' | 'geo_continent' | 'geo_country' | 'geo_country_region' | 'geo_city' | 'geo_as_number' | 'ja4_digest' | 'ja3_digest' | 'rate_limit_api_id';
|
|
15244
15385
|
op: 're' | 'eq' | 'neq' | 'ex' | 'nex' | 'inc' | 'ninc' | 'pre' | 'suf' | 'sub' | 'gt' | 'gte' | 'lt' | 'lte';
|
|
@@ -15279,7 +15420,13 @@ type UpdateFirewallConfigVariables = {
|
|
|
15279
15420
|
*/
|
|
15280
15421
|
description?: string;
|
|
15281
15422
|
active: boolean;
|
|
15423
|
+
/**
|
|
15424
|
+
* @maxItems 25
|
|
15425
|
+
*/
|
|
15282
15426
|
conditionGroup: {
|
|
15427
|
+
/**
|
|
15428
|
+
* @maxItems 65
|
|
15429
|
+
*/
|
|
15283
15430
|
conditions: {
|
|
15284
15431
|
type: 'host' | 'path' | 'method' | 'header' | 'query' | 'cookie' | 'target_path' | 'raw_path' | 'ip_address' | 'region' | 'protocol' | 'scheme' | 'environment' | 'user_agent' | 'geo_continent' | 'geo_country' | 'geo_country_region' | 'geo_city' | 'geo_as_number' | 'ja4_digest' | 'ja3_digest' | 'rate_limit_api_id';
|
|
15285
15432
|
op: 're' | 'eq' | 'neq' | 'ex' | 'nex' | 'inc' | 'ninc' | 'pre' | 'suf' | 'sub' | 'gt' | 'gte' | 'lt' | 'lte';
|
|
@@ -15350,10 +15497,20 @@ type UpdateFirewallConfigVariables = {
|
|
|
15350
15497
|
value?: null;
|
|
15351
15498
|
} | {
|
|
15352
15499
|
action: string;
|
|
15353
|
-
id:
|
|
15500
|
+
id: string;
|
|
15354
15501
|
value: {
|
|
15502
|
+
action?: 'log' | 'challenge' | 'deny';
|
|
15355
15503
|
active: boolean;
|
|
15356
15504
|
};
|
|
15505
|
+
} | {
|
|
15506
|
+
action: string;
|
|
15507
|
+
id: string;
|
|
15508
|
+
value: {
|
|
15509
|
+
[key: string]: {
|
|
15510
|
+
active: boolean;
|
|
15511
|
+
action?: 'log' | 'challenge' | 'deny';
|
|
15512
|
+
};
|
|
15513
|
+
};
|
|
15357
15514
|
};
|
|
15358
15515
|
queryParams: UpdateFirewallConfigQueryParams;
|
|
15359
15516
|
} & FetcherExtraProps;
|
|
@@ -15468,14 +15625,9 @@ type GetFirewallConfigResponse = {
|
|
|
15468
15625
|
}[];
|
|
15469
15626
|
changes: Record<string, any>[];
|
|
15470
15627
|
managedRules?: {
|
|
15471
|
-
|
|
15472
|
-
active: boolean;
|
|
15473
|
-
updatedAt?: string;
|
|
15474
|
-
userId?: string;
|
|
15475
|
-
username?: string;
|
|
15476
|
-
};
|
|
15477
|
-
verifiedBotsBypass?: {
|
|
15628
|
+
[key: string]: {
|
|
15478
15629
|
active: boolean;
|
|
15630
|
+
action?: 'challenge' | 'deny' | 'log';
|
|
15479
15631
|
updatedAt?: string;
|
|
15480
15632
|
userId?: string;
|
|
15481
15633
|
username?: string;
|
|
@@ -15588,8 +15740,16 @@ declare const getBypassIp: (variables: GetBypassIpVariables, signal?: AbortSigna
|
|
|
15588
15740
|
Id: string;
|
|
15589
15741
|
Domain: string;
|
|
15590
15742
|
Ip: string;
|
|
15591
|
-
|
|
15592
|
-
|
|
15743
|
+
Action?: "block" | "bypass";
|
|
15744
|
+
ProjectId?: string;
|
|
15745
|
+
IsProjectRule?: boolean;
|
|
15746
|
+
Note?: string;
|
|
15747
|
+
CreatedAt: string;
|
|
15748
|
+
ActorId?: string;
|
|
15749
|
+
UpdatedAt: string;
|
|
15750
|
+
UpdatedAtHour: string;
|
|
15751
|
+
DeletedAt?: string;
|
|
15752
|
+
ExpiresAt?: number | null;
|
|
15593
15753
|
}[];
|
|
15594
15754
|
pagination: void | null;
|
|
15595
15755
|
} | {
|
|
@@ -15607,7 +15767,7 @@ declare const getBypassIp: (variables: GetBypassIpVariables, signal?: AbortSigna
|
|
|
15607
15767
|
UpdatedAt: string;
|
|
15608
15768
|
UpdatedAtHour: string;
|
|
15609
15769
|
DeletedAt?: string;
|
|
15610
|
-
ExpiresAt?: number;
|
|
15770
|
+
ExpiresAt?: number | null;
|
|
15611
15771
|
}[];
|
|
15612
15772
|
pagination?: {
|
|
15613
15773
|
OwnerId: string;
|
|
@@ -15700,7 +15860,7 @@ declare const addBypassIp: (variables: AddBypassIpVariables, signal?: AbortSigna
|
|
|
15700
15860
|
UpdatedAt: string;
|
|
15701
15861
|
UpdatedAtHour: string;
|
|
15702
15862
|
DeletedAt?: string;
|
|
15703
|
-
ExpiresAt?: number;
|
|
15863
|
+
ExpiresAt?: number | null;
|
|
15704
15864
|
}[];
|
|
15705
15865
|
}>;
|
|
15706
15866
|
type RemoveBypassIpQueryParams = {
|
|
@@ -16025,13 +16185,13 @@ declare const inviteUserToTeam: (variables: InviteUserToTeamVariables, signal?:
|
|
|
16025
16185
|
*
|
|
16026
16186
|
* @example CreateProject
|
|
16027
16187
|
*/
|
|
16028
|
-
teamPermissions?: ("CreateProject" | "FullProductionDeployment")[];
|
|
16188
|
+
teamPermissions?: ("CreateProject" | "FullProductionDeployment" | "UsageViewer")[];
|
|
16029
16189
|
} | {
|
|
16030
16190
|
uid: string;
|
|
16031
16191
|
username: string;
|
|
16032
16192
|
role: "OWNER" | "MEMBER" | "DEVELOPER" | "SECURITY" | "BILLING" | "VIEWER" | "CONTRIBUTOR";
|
|
16033
16193
|
teamRoles?: ("OWNER" | "MEMBER" | "DEVELOPER" | "SECURITY" | "BILLING" | "VIEWER" | "CONTRIBUTOR")[];
|
|
16034
|
-
teamPermissions?: ("CreateProject" | "FullProductionDeployment")[];
|
|
16194
|
+
teamPermissions?: ("CreateProject" | "FullProductionDeployment" | "UsageViewer")[];
|
|
16035
16195
|
}>;
|
|
16036
16196
|
type RequestAccessToTeamError = ErrorWrapper<undefined>;
|
|
16037
16197
|
type RequestAccessToTeamResponse = {
|
|
@@ -18678,6 +18838,19 @@ declare const operationsByTag: {
|
|
|
18678
18838
|
* @example 2
|
|
18679
18839
|
*/
|
|
18680
18840
|
projectsCount: number;
|
|
18841
|
+
/**
|
|
18842
|
+
* Roles that the team has in the access group.
|
|
18843
|
+
*
|
|
18844
|
+
* @example DEVELOPER
|
|
18845
|
+
* @example BILLING
|
|
18846
|
+
*/
|
|
18847
|
+
teamRoles?: string[];
|
|
18848
|
+
/**
|
|
18849
|
+
* Permissions that the team has in the access group.
|
|
18850
|
+
*
|
|
18851
|
+
* @example CreateProject
|
|
18852
|
+
*/
|
|
18853
|
+
teamPermissions?: string[];
|
|
18681
18854
|
}[];
|
|
18682
18855
|
pagination: {
|
|
18683
18856
|
count: number;
|
|
@@ -18979,6 +19152,7 @@ declare const operationsByTag: {
|
|
|
18979
19152
|
system?: boolean;
|
|
18980
19153
|
}[];
|
|
18981
19154
|
}>;
|
|
19155
|
+
createProjectEnv: (variables: CreateProjectEnvVariables, signal?: AbortSignal) => Promise<CreateProjectEnvResponse>;
|
|
18982
19156
|
getProjectEnv: (variables: GetProjectEnvVariables, signal?: AbortSignal) => Promise<{
|
|
18983
19157
|
decrypted: boolean;
|
|
18984
19158
|
target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
|
|
@@ -19227,7 +19401,6 @@ declare const operationsByTag: {
|
|
|
19227
19401
|
comment?: string;
|
|
19228
19402
|
customEnvironmentIds?: string[];
|
|
19229
19403
|
}>;
|
|
19230
|
-
createProjectEnv: (variables: CreateProjectEnvVariables, signal?: AbortSignal) => Promise<CreateProjectEnvResponse>;
|
|
19231
19404
|
removeProjectEnv: (variables: RemoveProjectEnvVariables, signal?: AbortSignal) => Promise<{
|
|
19232
19405
|
system?: boolean;
|
|
19233
19406
|
target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
|
|
@@ -19714,9 +19887,9 @@ declare const operationsByTag: {
|
|
|
19714
19887
|
action?: string;
|
|
19715
19888
|
} | null;
|
|
19716
19889
|
id: string;
|
|
19890
|
+
name: string;
|
|
19717
19891
|
type: "LAMBDAS";
|
|
19718
19892
|
createdAt: number;
|
|
19719
|
-
name: string;
|
|
19720
19893
|
readyState: "QUEUED" | "BUILDING" | "ERROR" | "INITIALIZING" | "READY" | "CANCELED";
|
|
19721
19894
|
aliasError?: {
|
|
19722
19895
|
code: string;
|
|
@@ -20064,9 +20237,9 @@ declare const operationsByTag: {
|
|
|
20064
20237
|
action?: string;
|
|
20065
20238
|
} | null;
|
|
20066
20239
|
id: string;
|
|
20240
|
+
name: string;
|
|
20067
20241
|
type: "LAMBDAS";
|
|
20068
20242
|
createdAt: number;
|
|
20069
|
-
name: string;
|
|
20070
20243
|
readyState: "QUEUED" | "BUILDING" | "ERROR" | "INITIALIZING" | "READY" | "CANCELED";
|
|
20071
20244
|
aliasError?: {
|
|
20072
20245
|
code: string;
|
|
@@ -20960,8 +21133,16 @@ declare const operationsByTag: {
|
|
|
20960
21133
|
Id: string;
|
|
20961
21134
|
Domain: string;
|
|
20962
21135
|
Ip: string;
|
|
20963
|
-
|
|
20964
|
-
|
|
21136
|
+
Action?: "block" | "bypass";
|
|
21137
|
+
ProjectId?: string;
|
|
21138
|
+
IsProjectRule?: boolean;
|
|
21139
|
+
Note?: string;
|
|
21140
|
+
CreatedAt: string;
|
|
21141
|
+
ActorId?: string;
|
|
21142
|
+
UpdatedAt: string;
|
|
21143
|
+
UpdatedAtHour: string;
|
|
21144
|
+
DeletedAt?: string;
|
|
21145
|
+
ExpiresAt?: number | null;
|
|
20965
21146
|
}[];
|
|
20966
21147
|
pagination: void | null;
|
|
20967
21148
|
} | {
|
|
@@ -20979,7 +21160,7 @@ declare const operationsByTag: {
|
|
|
20979
21160
|
UpdatedAt: string;
|
|
20980
21161
|
UpdatedAtHour: string;
|
|
20981
21162
|
DeletedAt?: string;
|
|
20982
|
-
ExpiresAt?: number;
|
|
21163
|
+
ExpiresAt?: number | null;
|
|
20983
21164
|
}[];
|
|
20984
21165
|
pagination?: {
|
|
20985
21166
|
OwnerId: string;
|
|
@@ -21013,7 +21194,7 @@ declare const operationsByTag: {
|
|
|
21013
21194
|
UpdatedAt: string;
|
|
21014
21195
|
UpdatedAtHour: string;
|
|
21015
21196
|
DeletedAt?: string;
|
|
21016
|
-
ExpiresAt?: number;
|
|
21197
|
+
ExpiresAt?: number | null;
|
|
21017
21198
|
}[];
|
|
21018
21199
|
}>;
|
|
21019
21200
|
removeBypassIp: (variables: RemoveBypassIpVariables, signal?: AbortSignal) => Promise<RemoveBypassIpResponse>;
|
|
@@ -21056,13 +21237,13 @@ declare const operationsByTag: {
|
|
|
21056
21237
|
*
|
|
21057
21238
|
* @example CreateProject
|
|
21058
21239
|
*/
|
|
21059
|
-
teamPermissions?: ("CreateProject" | "FullProductionDeployment")[];
|
|
21240
|
+
teamPermissions?: ("CreateProject" | "FullProductionDeployment" | "UsageViewer")[];
|
|
21060
21241
|
} | {
|
|
21061
21242
|
uid: string;
|
|
21062
21243
|
username: string;
|
|
21063
21244
|
role: "OWNER" | "MEMBER" | "DEVELOPER" | "SECURITY" | "BILLING" | "VIEWER" | "CONTRIBUTOR";
|
|
21064
21245
|
teamRoles?: ("OWNER" | "MEMBER" | "DEVELOPER" | "SECURITY" | "BILLING" | "VIEWER" | "CONTRIBUTOR")[];
|
|
21065
|
-
teamPermissions?: ("CreateProject" | "FullProductionDeployment")[];
|
|
21246
|
+
teamPermissions?: ("CreateProject" | "FullProductionDeployment" | "UsageViewer")[];
|
|
21066
21247
|
}>;
|
|
21067
21248
|
requestAccessToTeam: (variables: RequestAccessToTeamVariables, signal?: AbortSignal) => Promise<RequestAccessToTeamResponse>;
|
|
21068
21249
|
getTeamAccessRequest: (variables: GetTeamAccessRequestVariables, signal?: AbortSignal) => Promise<GetTeamAccessRequestResponse>;
|
|
@@ -22162,6 +22343,8 @@ declare const operationsByPath: {
|
|
|
22162
22343
|
accessGroupId: string;
|
|
22163
22344
|
membersCount: number;
|
|
22164
22345
|
projectsCount: number;
|
|
22346
|
+
teamRoles?: string[];
|
|
22347
|
+
teamPermissions?: string[];
|
|
22165
22348
|
}[];
|
|
22166
22349
|
pagination: {
|
|
22167
22350
|
count: number;
|
|
@@ -22298,9 +22481,9 @@ declare const operationsByPath: {
|
|
|
22298
22481
|
action?: string;
|
|
22299
22482
|
} | null;
|
|
22300
22483
|
id: string;
|
|
22484
|
+
name: string;
|
|
22301
22485
|
type: "LAMBDAS";
|
|
22302
22486
|
createdAt: number;
|
|
22303
|
-
name: string;
|
|
22304
22487
|
readyState: "QUEUED" | "BUILDING" | "ERROR" | "INITIALIZING" | "READY" | "CANCELED";
|
|
22305
22488
|
aliasError?: {
|
|
22306
22489
|
code: string;
|
|
@@ -22591,9 +22774,9 @@ declare const operationsByPath: {
|
|
|
22591
22774
|
action?: string;
|
|
22592
22775
|
} | null;
|
|
22593
22776
|
id: string;
|
|
22777
|
+
name: string;
|
|
22594
22778
|
type: "LAMBDAS";
|
|
22595
22779
|
createdAt: number;
|
|
22596
|
-
name: string;
|
|
22597
22780
|
readyState: "QUEUED" | "BUILDING" | "ERROR" | "INITIALIZING" | "READY" | "CANCELED";
|
|
22598
22781
|
aliasError?: {
|
|
22599
22782
|
code: string;
|
|
@@ -23011,7 +23194,7 @@ declare const operationsByPath: {
|
|
|
23011
23194
|
'DELETE /v9/projects/{idOrName}/domains/{domain}': (variables: RemoveProjectDomainVariables, signal?: AbortSignal) => Promise<Record<string, any>>;
|
|
23012
23195
|
'POST /v10/projects/{idOrName}/domains': (variables: AddProjectDomainVariables, signal?: AbortSignal) => Promise<AddProjectDomainResponse>;
|
|
23013
23196
|
'POST /v9/projects/{idOrName}/domains/{domain}/verify': (variables: VerifyProjectDomainVariables, signal?: AbortSignal) => Promise<VerifyProjectDomainResponse>;
|
|
23014
|
-
'GET /
|
|
23197
|
+
'GET /v10/projects/{idOrName}/env': (variables: FilterProjectEnvsVariables, signal?: AbortSignal) => Promise<{
|
|
23015
23198
|
target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
|
|
23016
23199
|
type?: "system" | "encrypted" | "plain" | "sensitive" | "secret";
|
|
23017
23200
|
sunsetSecretId?: string;
|
|
@@ -23236,6 +23419,7 @@ declare const operationsByPath: {
|
|
|
23236
23419
|
system?: boolean;
|
|
23237
23420
|
}[];
|
|
23238
23421
|
}>;
|
|
23422
|
+
'POST /v10/projects/{idOrName}/env': (variables: CreateProjectEnvVariables, signal?: AbortSignal) => Promise<CreateProjectEnvResponse>;
|
|
23239
23423
|
'GET /v1/projects/{idOrName}/env/{id}': (variables: GetProjectEnvVariables, signal?: AbortSignal) => Promise<{
|
|
23240
23424
|
decrypted: boolean;
|
|
23241
23425
|
target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
|
|
@@ -23451,7 +23635,6 @@ declare const operationsByPath: {
|
|
|
23451
23635
|
comment?: string;
|
|
23452
23636
|
customEnvironmentIds?: string[];
|
|
23453
23637
|
}>;
|
|
23454
|
-
'POST /v10/projects/{idOrName}/env': (variables: CreateProjectEnvVariables, signal?: AbortSignal) => Promise<CreateProjectEnvResponse>;
|
|
23455
23638
|
'DELETE /v9/projects/{idOrName}/env/{id}': (variables: RemoveProjectEnvVariables, signal?: AbortSignal) => Promise<{
|
|
23456
23639
|
system?: boolean;
|
|
23457
23640
|
target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
|
|
@@ -23795,8 +23978,16 @@ declare const operationsByPath: {
|
|
|
23795
23978
|
Id: string;
|
|
23796
23979
|
Domain: string;
|
|
23797
23980
|
Ip: string;
|
|
23798
|
-
|
|
23799
|
-
|
|
23981
|
+
Action?: "block" | "bypass";
|
|
23982
|
+
ProjectId?: string;
|
|
23983
|
+
IsProjectRule?: boolean;
|
|
23984
|
+
Note?: string;
|
|
23985
|
+
CreatedAt: string;
|
|
23986
|
+
ActorId?: string;
|
|
23987
|
+
UpdatedAt: string;
|
|
23988
|
+
UpdatedAtHour: string;
|
|
23989
|
+
DeletedAt?: string;
|
|
23990
|
+
ExpiresAt?: number | null;
|
|
23800
23991
|
}[];
|
|
23801
23992
|
pagination: void | null;
|
|
23802
23993
|
} | {
|
|
@@ -23814,7 +24005,7 @@ declare const operationsByPath: {
|
|
|
23814
24005
|
UpdatedAt: string;
|
|
23815
24006
|
UpdatedAtHour: string;
|
|
23816
24007
|
DeletedAt?: string;
|
|
23817
|
-
ExpiresAt?: number;
|
|
24008
|
+
ExpiresAt?: number | null;
|
|
23818
24009
|
}[];
|
|
23819
24010
|
pagination?: {
|
|
23820
24011
|
OwnerId: string;
|
|
@@ -23848,7 +24039,7 @@ declare const operationsByPath: {
|
|
|
23848
24039
|
UpdatedAt: string;
|
|
23849
24040
|
UpdatedAtHour: string;
|
|
23850
24041
|
DeletedAt?: string;
|
|
23851
|
-
ExpiresAt?: number;
|
|
24042
|
+
ExpiresAt?: number | null;
|
|
23852
24043
|
}[];
|
|
23853
24044
|
}>;
|
|
23854
24045
|
'DELETE /v1/security/firewall/bypass': (variables: RemoveBypassIpVariables, signal?: AbortSignal) => Promise<RemoveBypassIpResponse>;
|
|
@@ -23859,13 +24050,13 @@ declare const operationsByPath: {
|
|
|
23859
24050
|
email?: string;
|
|
23860
24051
|
role: "OWNER" | "MEMBER" | "DEVELOPER" | "SECURITY" | "BILLING" | "VIEWER" | "CONTRIBUTOR";
|
|
23861
24052
|
teamRoles?: ("OWNER" | "MEMBER" | "DEVELOPER" | "SECURITY" | "BILLING" | "VIEWER" | "CONTRIBUTOR")[];
|
|
23862
|
-
teamPermissions?: ("CreateProject" | "FullProductionDeployment")[];
|
|
24053
|
+
teamPermissions?: ("CreateProject" | "FullProductionDeployment" | "UsageViewer")[];
|
|
23863
24054
|
} | {
|
|
23864
24055
|
uid: string;
|
|
23865
24056
|
username: string;
|
|
23866
24057
|
role: "OWNER" | "MEMBER" | "DEVELOPER" | "SECURITY" | "BILLING" | "VIEWER" | "CONTRIBUTOR";
|
|
23867
24058
|
teamRoles?: ("OWNER" | "MEMBER" | "DEVELOPER" | "SECURITY" | "BILLING" | "VIEWER" | "CONTRIBUTOR")[];
|
|
23868
|
-
teamPermissions?: ("CreateProject" | "FullProductionDeployment")[];
|
|
24059
|
+
teamPermissions?: ("CreateProject" | "FullProductionDeployment" | "UsageViewer")[];
|
|
23869
24060
|
}>;
|
|
23870
24061
|
'POST /v1/teams/{teamId}/request': (variables: RequestAccessToTeamVariables, signal?: AbortSignal) => Promise<RequestAccessToTeamResponse>;
|
|
23871
24062
|
'GET /v1/teams/{teamId}/request/{userId}': (variables: GetTeamAccessRequestVariables, signal?: AbortSignal) => Promise<GetTeamAccessRequestResponse>;
|
|
@@ -23973,6 +24164,8 @@ declare class VercelApi {
|
|
|
23973
24164
|
accessGroupId: string;
|
|
23974
24165
|
membersCount: number;
|
|
23975
24166
|
projectsCount: number;
|
|
24167
|
+
teamRoles?: string[];
|
|
24168
|
+
teamPermissions?: string[];
|
|
23976
24169
|
}[];
|
|
23977
24170
|
pagination: {
|
|
23978
24171
|
count: number;
|
|
@@ -24109,9 +24302,9 @@ declare class VercelApi {
|
|
|
24109
24302
|
action?: string;
|
|
24110
24303
|
} | null;
|
|
24111
24304
|
id: string;
|
|
24305
|
+
name: string;
|
|
24112
24306
|
type: "LAMBDAS";
|
|
24113
24307
|
createdAt: number;
|
|
24114
|
-
name: string;
|
|
24115
24308
|
readyState: "QUEUED" | "BUILDING" | "ERROR" | "INITIALIZING" | "READY" | "CANCELED";
|
|
24116
24309
|
aliasError?: {
|
|
24117
24310
|
code: string;
|
|
@@ -24402,9 +24595,9 @@ declare class VercelApi {
|
|
|
24402
24595
|
action?: string;
|
|
24403
24596
|
} | null;
|
|
24404
24597
|
id: string;
|
|
24598
|
+
name: string;
|
|
24405
24599
|
type: "LAMBDAS";
|
|
24406
24600
|
createdAt: number;
|
|
24407
|
-
name: string;
|
|
24408
24601
|
readyState: "QUEUED" | "BUILDING" | "ERROR" | "INITIALIZING" | "READY" | "CANCELED";
|
|
24409
24602
|
aliasError?: {
|
|
24410
24603
|
code: string;
|
|
@@ -24822,7 +25015,7 @@ declare class VercelApi {
|
|
|
24822
25015
|
'DELETE /v9/projects/{idOrName}/domains/{domain}': (variables: RemoveProjectDomainVariables, signal?: AbortSignal) => Promise<Record<string, any>>;
|
|
24823
25016
|
'POST /v10/projects/{idOrName}/domains': (variables: AddProjectDomainVariables, signal?: AbortSignal) => Promise<AddProjectDomainResponse>;
|
|
24824
25017
|
'POST /v9/projects/{idOrName}/domains/{domain}/verify': (variables: VerifyProjectDomainVariables, signal?: AbortSignal) => Promise<VerifyProjectDomainResponse>;
|
|
24825
|
-
'GET /
|
|
25018
|
+
'GET /v10/projects/{idOrName}/env': (variables: FilterProjectEnvsVariables, signal?: AbortSignal) => Promise<{
|
|
24826
25019
|
target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
|
|
24827
25020
|
type?: "system" | "encrypted" | "plain" | "sensitive" | "secret";
|
|
24828
25021
|
sunsetSecretId?: string;
|
|
@@ -25047,6 +25240,7 @@ declare class VercelApi {
|
|
|
25047
25240
|
system?: boolean;
|
|
25048
25241
|
}[];
|
|
25049
25242
|
}>;
|
|
25243
|
+
'POST /v10/projects/{idOrName}/env': (variables: CreateProjectEnvVariables, signal?: AbortSignal) => Promise<CreateProjectEnvResponse>;
|
|
25050
25244
|
'GET /v1/projects/{idOrName}/env/{id}': (variables: GetProjectEnvVariables, signal?: AbortSignal) => Promise<{
|
|
25051
25245
|
decrypted: boolean;
|
|
25052
25246
|
target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
|
|
@@ -25262,7 +25456,6 @@ declare class VercelApi {
|
|
|
25262
25456
|
comment?: string;
|
|
25263
25457
|
customEnvironmentIds?: string[];
|
|
25264
25458
|
}>;
|
|
25265
|
-
'POST /v10/projects/{idOrName}/env': (variables: CreateProjectEnvVariables, signal?: AbortSignal) => Promise<CreateProjectEnvResponse>;
|
|
25266
25459
|
'DELETE /v9/projects/{idOrName}/env/{id}': (variables: RemoveProjectEnvVariables, signal?: AbortSignal) => Promise<{
|
|
25267
25460
|
system?: boolean;
|
|
25268
25461
|
target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
|
|
@@ -25606,8 +25799,16 @@ declare class VercelApi {
|
|
|
25606
25799
|
Id: string;
|
|
25607
25800
|
Domain: string;
|
|
25608
25801
|
Ip: string;
|
|
25609
|
-
|
|
25610
|
-
|
|
25802
|
+
Action?: "block" | "bypass";
|
|
25803
|
+
ProjectId?: string;
|
|
25804
|
+
IsProjectRule?: boolean;
|
|
25805
|
+
Note?: string;
|
|
25806
|
+
CreatedAt: string;
|
|
25807
|
+
ActorId?: string;
|
|
25808
|
+
UpdatedAt: string;
|
|
25809
|
+
UpdatedAtHour: string;
|
|
25810
|
+
DeletedAt?: string;
|
|
25811
|
+
ExpiresAt?: number | null;
|
|
25611
25812
|
}[];
|
|
25612
25813
|
pagination: void | null;
|
|
25613
25814
|
} | {
|
|
@@ -25625,7 +25826,7 @@ declare class VercelApi {
|
|
|
25625
25826
|
UpdatedAt: string;
|
|
25626
25827
|
UpdatedAtHour: string;
|
|
25627
25828
|
DeletedAt?: string;
|
|
25628
|
-
ExpiresAt?: number;
|
|
25829
|
+
ExpiresAt?: number | null;
|
|
25629
25830
|
}[];
|
|
25630
25831
|
pagination?: {
|
|
25631
25832
|
OwnerId: string;
|
|
@@ -25659,7 +25860,7 @@ declare class VercelApi {
|
|
|
25659
25860
|
UpdatedAt: string;
|
|
25660
25861
|
UpdatedAtHour: string;
|
|
25661
25862
|
DeletedAt?: string;
|
|
25662
|
-
ExpiresAt?: number;
|
|
25863
|
+
ExpiresAt?: number | null;
|
|
25663
25864
|
}[];
|
|
25664
25865
|
}>;
|
|
25665
25866
|
'DELETE /v1/security/firewall/bypass': (variables: RemoveBypassIpVariables, signal?: AbortSignal) => Promise<RemoveBypassIpResponse>;
|
|
@@ -25670,13 +25871,13 @@ declare class VercelApi {
|
|
|
25670
25871
|
email?: string;
|
|
25671
25872
|
role: "OWNER" | "MEMBER" | "DEVELOPER" | "SECURITY" | "BILLING" | "VIEWER" | "CONTRIBUTOR";
|
|
25672
25873
|
teamRoles?: ("OWNER" | "MEMBER" | "DEVELOPER" | "SECURITY" | "BILLING" | "VIEWER" | "CONTRIBUTOR")[];
|
|
25673
|
-
teamPermissions?: ("CreateProject" | "FullProductionDeployment")[];
|
|
25874
|
+
teamPermissions?: ("CreateProject" | "FullProductionDeployment" | "UsageViewer")[];
|
|
25674
25875
|
} | {
|
|
25675
25876
|
uid: string;
|
|
25676
25877
|
username: string;
|
|
25677
25878
|
role: "OWNER" | "MEMBER" | "DEVELOPER" | "SECURITY" | "BILLING" | "VIEWER" | "CONTRIBUTOR";
|
|
25678
25879
|
teamRoles?: ("OWNER" | "MEMBER" | "DEVELOPER" | "SECURITY" | "BILLING" | "VIEWER" | "CONTRIBUTOR")[];
|
|
25679
|
-
teamPermissions?: ("CreateProject" | "FullProductionDeployment")[];
|
|
25880
|
+
teamPermissions?: ("CreateProject" | "FullProductionDeployment" | "UsageViewer")[];
|
|
25680
25881
|
}>;
|
|
25681
25882
|
'POST /v1/teams/{teamId}/request': (variables: RequestAccessToTeamVariables, signal?: AbortSignal) => Promise<RequestAccessToTeamResponse>;
|
|
25682
25883
|
'GET /v1/teams/{teamId}/request/{userId}': (variables: GetTeamAccessRequestVariables, signal?: AbortSignal) => Promise<GetTeamAccessRequestResponse>;
|