vercel-api-js 0.21.0 → 0.21.2
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 +1 -1
- package/CHANGELOG.md +15 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +92 -30
- package/dist/index.d.mts +92 -30
- package/dist/index.d.ts +92 -30
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> vercel-api-js@0.21.
|
|
2
|
+
> vercel-api-js@0.21.2 build /home/runner/work/openapi-clients/openapi-clients/packages/vercel-api-js
|
|
3
3
|
> unbuild
|
|
4
4
|
|
|
5
5
|
[info] Automatically detected entries: src/index [esm] [cjs] [dts]
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# vercel-api-js
|
|
2
2
|
|
|
3
|
+
## 0.21.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 1aa4dec: Refactor managedRules structure in GetFirewallConfigResponse and PutFirewallConfigResponse
|
|
8
|
+
- f0f0865: Add projectRollingRelease field to various project endpoints
|
|
9
|
+
- 5169182: Add 'action' field to managedRules in PutFirewallConfigRequestBody
|
|
10
|
+
|
|
11
|
+
## 0.21.1
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- 610c7dc: Add new tag 'tag_flags'
|
|
16
|
+
- fd37558: Move createProject endpoint from v10 to v11
|
|
17
|
+
|
|
3
18
|
## 0.21.0
|
|
4
19
|
|
|
5
20
|
### Minor Changes
|
package/dist/index.cjs
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -2722,6 +2722,7 @@ type UpdateProjectDataCacheResponse = {
|
|
|
2722
2722
|
projectSupportCase?: ACLAction[];
|
|
2723
2723
|
projectSupportCaseComment?: ACLAction[];
|
|
2724
2724
|
projectDeploymentExpiration?: ACLAction[];
|
|
2725
|
+
projectRollingRelease?: ACLAction[];
|
|
2725
2726
|
projectTier?: ACLAction[];
|
|
2726
2727
|
seawallConfig?: ACLAction[];
|
|
2727
2728
|
skewProtection?: ACLAction[];
|
|
@@ -7787,7 +7788,7 @@ declare const getConfigurations: (variables: GetConfigurationsVariables, signal?
|
|
|
7787
7788
|
isLegacy: boolean;
|
|
7788
7789
|
flags?: string[];
|
|
7789
7790
|
assignedBetaLabelAt?: number;
|
|
7790
|
-
tagIds?: ("tag_ai" | "tag_analytics" | "tag_authentication" | "tag_cms" | "tag_code_repository" | "tag_commerce" | "tag_databases" | "tag_dev_tools" | "tag_experimentation" | "tag_logging" | "tag_messaging" | "tag_monitoring" | "tag_observability" | "tag_performance" | "tag_productivity" | "tag_searching" | "tag_security" | "tag_testing" | "tag_video")[];
|
|
7791
|
+
tagIds?: ("tag_ai" | "tag_analytics" | "tag_authentication" | "tag_cms" | "tag_code_repository" | "tag_commerce" | "tag_databases" | "tag_dev_tools" | "tag_experimentation" | "tag_flags" | "tag_logging" | "tag_messaging" | "tag_monitoring" | "tag_observability" | "tag_performance" | "tag_productivity" | "tag_searching" | "tag_security" | "tag_testing" | "tag_video")[];
|
|
7791
7792
|
};
|
|
7792
7793
|
/**
|
|
7793
7794
|
* A timestamp that tells you when the configuration was installed successfully
|
|
@@ -9704,6 +9705,7 @@ type GetProjectsResponse = {
|
|
|
9704
9705
|
projectSupportCase?: ACLAction[];
|
|
9705
9706
|
projectSupportCaseComment?: ACLAction[];
|
|
9706
9707
|
projectDeploymentExpiration?: ACLAction[];
|
|
9708
|
+
projectRollingRelease?: ACLAction[];
|
|
9707
9709
|
projectTier?: ACLAction[];
|
|
9708
9710
|
seawallConfig?: ACLAction[];
|
|
9709
9711
|
skewProtection?: ACLAction[];
|
|
@@ -10506,6 +10508,7 @@ type CreateProjectResponse = {
|
|
|
10506
10508
|
projectSupportCase?: ACLAction[];
|
|
10507
10509
|
projectSupportCaseComment?: ACLAction[];
|
|
10508
10510
|
projectDeploymentExpiration?: ACLAction[];
|
|
10511
|
+
projectRollingRelease?: ACLAction[];
|
|
10509
10512
|
projectTier?: ACLAction[];
|
|
10510
10513
|
seawallConfig?: ACLAction[];
|
|
10511
10514
|
skewProtection?: ACLAction[];
|
|
@@ -11440,6 +11443,7 @@ type GetProjectResponse = {
|
|
|
11440
11443
|
projectSupportCase?: ACLAction[];
|
|
11441
11444
|
projectSupportCaseComment?: ACLAction[];
|
|
11442
11445
|
projectDeploymentExpiration?: ACLAction[];
|
|
11446
|
+
projectRollingRelease?: ACLAction[];
|
|
11443
11447
|
projectTier?: ACLAction[];
|
|
11444
11448
|
seawallConfig?: ACLAction[];
|
|
11445
11449
|
skewProtection?: ACLAction[];
|
|
@@ -12249,6 +12253,7 @@ type UpdateProjectResponse = {
|
|
|
12249
12253
|
projectSupportCase?: ACLAction[];
|
|
12250
12254
|
projectSupportCaseComment?: ACLAction[];
|
|
12251
12255
|
projectDeploymentExpiration?: ACLAction[];
|
|
12256
|
+
projectRollingRelease?: ACLAction[];
|
|
12252
12257
|
projectTier?: ACLAction[];
|
|
12253
12258
|
seawallConfig?: ACLAction[];
|
|
12254
12259
|
skewProtection?: ACLAction[];
|
|
@@ -15085,14 +15090,9 @@ type PutFirewallConfigResponse = {
|
|
|
15085
15090
|
}[];
|
|
15086
15091
|
changes: Record<string, any>[];
|
|
15087
15092
|
managedRules?: {
|
|
15088
|
-
|
|
15089
|
-
active: boolean;
|
|
15090
|
-
updatedAt?: string;
|
|
15091
|
-
userId?: string;
|
|
15092
|
-
username?: string;
|
|
15093
|
-
};
|
|
15094
|
-
verifiedBotsBypass?: {
|
|
15093
|
+
[key: string]: {
|
|
15095
15094
|
active: boolean;
|
|
15095
|
+
action?: 'challenge' | 'deny' | 'log';
|
|
15096
15096
|
updatedAt?: string;
|
|
15097
15097
|
userId?: string;
|
|
15098
15098
|
username?: string;
|
|
@@ -15103,8 +15103,15 @@ type PutFirewallConfigResponse = {
|
|
|
15103
15103
|
type PutFirewallConfigRequestBody = {
|
|
15104
15104
|
firewallEnabled: boolean;
|
|
15105
15105
|
managedRules?: {
|
|
15106
|
-
|
|
15106
|
+
[key: string]: void | {
|
|
15107
15107
|
active: boolean;
|
|
15108
|
+
action?: 'log' | 'challenge' | 'deny';
|
|
15109
|
+
ruleGroups?: {
|
|
15110
|
+
[key: string]: {
|
|
15111
|
+
active?: boolean;
|
|
15112
|
+
action?: 'log' | 'challenge' | 'deny';
|
|
15113
|
+
};
|
|
15114
|
+
};
|
|
15108
15115
|
};
|
|
15109
15116
|
};
|
|
15110
15117
|
crs?: {
|
|
@@ -15164,7 +15171,13 @@ type PutFirewallConfigRequestBody = {
|
|
|
15164
15171
|
*/
|
|
15165
15172
|
description?: string;
|
|
15166
15173
|
active: boolean;
|
|
15174
|
+
/**
|
|
15175
|
+
* @maxItems 25
|
|
15176
|
+
*/
|
|
15167
15177
|
conditionGroup: {
|
|
15178
|
+
/**
|
|
15179
|
+
* @maxItems 65
|
|
15180
|
+
*/
|
|
15168
15181
|
conditions: {
|
|
15169
15182
|
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
15183
|
op: 'eq' | 'ex' | 'gt' | 'gte' | 'inc' | 'lt' | 'lte' | 'neq' | 'nex' | 'ninc' | 'pre' | 're' | 'sub' | 'suf';
|
|
@@ -15238,7 +15251,13 @@ type UpdateFirewallConfigVariables = {
|
|
|
15238
15251
|
*/
|
|
15239
15252
|
description?: string;
|
|
15240
15253
|
active: boolean;
|
|
15254
|
+
/**
|
|
15255
|
+
* @maxItems 25
|
|
15256
|
+
*/
|
|
15241
15257
|
conditionGroup: {
|
|
15258
|
+
/**
|
|
15259
|
+
* @maxItems 65
|
|
15260
|
+
*/
|
|
15242
15261
|
conditions: {
|
|
15243
15262
|
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
15263
|
op: 're' | 'eq' | 'neq' | 'ex' | 'nex' | 'inc' | 'ninc' | 'pre' | 'suf' | 'sub' | 'gt' | 'gte' | 'lt' | 'lte';
|
|
@@ -15279,7 +15298,13 @@ type UpdateFirewallConfigVariables = {
|
|
|
15279
15298
|
*/
|
|
15280
15299
|
description?: string;
|
|
15281
15300
|
active: boolean;
|
|
15301
|
+
/**
|
|
15302
|
+
* @maxItems 25
|
|
15303
|
+
*/
|
|
15282
15304
|
conditionGroup: {
|
|
15305
|
+
/**
|
|
15306
|
+
* @maxItems 65
|
|
15307
|
+
*/
|
|
15283
15308
|
conditions: {
|
|
15284
15309
|
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
15310
|
op: 're' | 'eq' | 'neq' | 'ex' | 'nex' | 'inc' | 'ninc' | 'pre' | 'suf' | 'sub' | 'gt' | 'gte' | 'lt' | 'lte';
|
|
@@ -15350,10 +15375,20 @@ type UpdateFirewallConfigVariables = {
|
|
|
15350
15375
|
value?: null;
|
|
15351
15376
|
} | {
|
|
15352
15377
|
action: string;
|
|
15353
|
-
id:
|
|
15378
|
+
id: string;
|
|
15354
15379
|
value: {
|
|
15380
|
+
action?: 'log' | 'challenge' | 'deny';
|
|
15355
15381
|
active: boolean;
|
|
15356
15382
|
};
|
|
15383
|
+
} | {
|
|
15384
|
+
action: string;
|
|
15385
|
+
id: string;
|
|
15386
|
+
value: {
|
|
15387
|
+
[key: string]: {
|
|
15388
|
+
active: boolean;
|
|
15389
|
+
action?: 'log' | 'challenge' | 'deny';
|
|
15390
|
+
};
|
|
15391
|
+
};
|
|
15357
15392
|
};
|
|
15358
15393
|
queryParams: UpdateFirewallConfigQueryParams;
|
|
15359
15394
|
} & FetcherExtraProps;
|
|
@@ -15468,14 +15503,9 @@ type GetFirewallConfigResponse = {
|
|
|
15468
15503
|
}[];
|
|
15469
15504
|
changes: Record<string, any>[];
|
|
15470
15505
|
managedRules?: {
|
|
15471
|
-
|
|
15472
|
-
active: boolean;
|
|
15473
|
-
updatedAt?: string;
|
|
15474
|
-
userId?: string;
|
|
15475
|
-
username?: string;
|
|
15476
|
-
};
|
|
15477
|
-
verifiedBotsBypass?: {
|
|
15506
|
+
[key: string]: {
|
|
15478
15507
|
active: boolean;
|
|
15508
|
+
action?: 'challenge' | 'deny' | 'log';
|
|
15479
15509
|
updatedAt?: string;
|
|
15480
15510
|
userId?: string;
|
|
15481
15511
|
username?: string;
|
|
@@ -15588,8 +15618,16 @@ declare const getBypassIp: (variables: GetBypassIpVariables, signal?: AbortSigna
|
|
|
15588
15618
|
Id: string;
|
|
15589
15619
|
Domain: string;
|
|
15590
15620
|
Ip: string;
|
|
15591
|
-
|
|
15592
|
-
|
|
15621
|
+
Action?: "block" | "bypass";
|
|
15622
|
+
ProjectId?: string;
|
|
15623
|
+
IsProjectRule?: boolean;
|
|
15624
|
+
Note?: string;
|
|
15625
|
+
CreatedAt: string;
|
|
15626
|
+
ActorId?: string;
|
|
15627
|
+
UpdatedAt: string;
|
|
15628
|
+
UpdatedAtHour: string;
|
|
15629
|
+
DeletedAt?: string;
|
|
15630
|
+
ExpiresAt?: number;
|
|
15593
15631
|
}[];
|
|
15594
15632
|
pagination: void | null;
|
|
15595
15633
|
} | {
|
|
@@ -20308,7 +20346,7 @@ declare const operationsByTag: {
|
|
|
20308
20346
|
isLegacy: boolean;
|
|
20309
20347
|
flags?: string[];
|
|
20310
20348
|
assignedBetaLabelAt?: number;
|
|
20311
|
-
tagIds?: ("tag_ai" | "tag_analytics" | "tag_authentication" | "tag_cms" | "tag_code_repository" | "tag_commerce" | "tag_databases" | "tag_dev_tools" | "tag_experimentation" | "tag_logging" | "tag_messaging" | "tag_monitoring" | "tag_observability" | "tag_performance" | "tag_productivity" | "tag_searching" | "tag_security" | "tag_testing" | "tag_video")[];
|
|
20349
|
+
tagIds?: ("tag_ai" | "tag_analytics" | "tag_authentication" | "tag_cms" | "tag_code_repository" | "tag_commerce" | "tag_databases" | "tag_dev_tools" | "tag_experimentation" | "tag_flags" | "tag_logging" | "tag_messaging" | "tag_monitoring" | "tag_observability" | "tag_performance" | "tag_productivity" | "tag_searching" | "tag_security" | "tag_testing" | "tag_video")[];
|
|
20312
20350
|
};
|
|
20313
20351
|
/**
|
|
20314
20352
|
* A timestamp that tells you when the configuration was installed successfully
|
|
@@ -20960,8 +20998,16 @@ declare const operationsByTag: {
|
|
|
20960
20998
|
Id: string;
|
|
20961
20999
|
Domain: string;
|
|
20962
21000
|
Ip: string;
|
|
20963
|
-
|
|
20964
|
-
|
|
21001
|
+
Action?: "block" | "bypass";
|
|
21002
|
+
ProjectId?: string;
|
|
21003
|
+
IsProjectRule?: boolean;
|
|
21004
|
+
Note?: string;
|
|
21005
|
+
CreatedAt: string;
|
|
21006
|
+
ActorId?: string;
|
|
21007
|
+
UpdatedAt: string;
|
|
21008
|
+
UpdatedAtHour: string;
|
|
21009
|
+
DeletedAt?: string;
|
|
21010
|
+
ExpiresAt?: number;
|
|
20965
21011
|
}[];
|
|
20966
21012
|
pagination: void | null;
|
|
20967
21013
|
} | {
|
|
@@ -22879,7 +22925,7 @@ declare const operationsByPath: {
|
|
|
22879
22925
|
isLegacy: boolean;
|
|
22880
22926
|
flags?: string[];
|
|
22881
22927
|
assignedBetaLabelAt?: number;
|
|
22882
|
-
tagIds?: ("tag_ai" | "tag_analytics" | "tag_authentication" | "tag_cms" | "tag_code_repository" | "tag_commerce" | "tag_databases" | "tag_dev_tools" | "tag_experimentation" | "tag_logging" | "tag_messaging" | "tag_monitoring" | "tag_observability" | "tag_performance" | "tag_productivity" | "tag_searching" | "tag_security" | "tag_testing" | "tag_video")[];
|
|
22928
|
+
tagIds?: ("tag_ai" | "tag_analytics" | "tag_authentication" | "tag_cms" | "tag_code_repository" | "tag_commerce" | "tag_databases" | "tag_dev_tools" | "tag_experimentation" | "tag_flags" | "tag_logging" | "tag_messaging" | "tag_monitoring" | "tag_observability" | "tag_performance" | "tag_productivity" | "tag_searching" | "tag_security" | "tag_testing" | "tag_video")[];
|
|
22883
22929
|
};
|
|
22884
22930
|
completedAt?: number;
|
|
22885
22931
|
createdAt: number;
|
|
@@ -22996,7 +23042,7 @@ declare const operationsByPath: {
|
|
|
22996
23042
|
'POST /v1/projects/{idOrName}/members': (variables: AddProjectMemberVariables, signal?: AbortSignal) => Promise<AddProjectMemberResponse>;
|
|
22997
23043
|
'DELETE /v1/projects/{idOrName}/members/{uid}': (variables: RemoveProjectMemberVariables, signal?: AbortSignal) => Promise<RemoveProjectMemberResponse>;
|
|
22998
23044
|
'GET /v10/projects': (variables: GetProjectsVariables, signal?: AbortSignal) => Promise<GetProjectsResponse>;
|
|
22999
|
-
'POST /
|
|
23045
|
+
'POST /v11/projects': (variables: CreateProjectVariables, signal?: AbortSignal) => Promise<CreateProjectResponse>;
|
|
23000
23046
|
'GET /v9/projects/{idOrName}': (variables: GetProjectVariables, signal?: AbortSignal) => Promise<GetProjectResponse>;
|
|
23001
23047
|
'PATCH /v9/projects/{idOrName}': (variables: UpdateProjectVariables, signal?: AbortSignal) => Promise<UpdateProjectResponse>;
|
|
23002
23048
|
'DELETE /v9/projects/{idOrName}': (variables: DeleteProjectVariables, signal?: AbortSignal) => Promise<undefined>;
|
|
@@ -23795,8 +23841,16 @@ declare const operationsByPath: {
|
|
|
23795
23841
|
Id: string;
|
|
23796
23842
|
Domain: string;
|
|
23797
23843
|
Ip: string;
|
|
23798
|
-
|
|
23799
|
-
|
|
23844
|
+
Action?: "block" | "bypass";
|
|
23845
|
+
ProjectId?: string;
|
|
23846
|
+
IsProjectRule?: boolean;
|
|
23847
|
+
Note?: string;
|
|
23848
|
+
CreatedAt: string;
|
|
23849
|
+
ActorId?: string;
|
|
23850
|
+
UpdatedAt: string;
|
|
23851
|
+
UpdatedAtHour: string;
|
|
23852
|
+
DeletedAt?: string;
|
|
23853
|
+
ExpiresAt?: number;
|
|
23800
23854
|
}[];
|
|
23801
23855
|
pagination: void | null;
|
|
23802
23856
|
} | {
|
|
@@ -24690,7 +24744,7 @@ declare class VercelApi {
|
|
|
24690
24744
|
isLegacy: boolean;
|
|
24691
24745
|
flags?: string[];
|
|
24692
24746
|
assignedBetaLabelAt?: number;
|
|
24693
|
-
tagIds?: ("tag_ai" | "tag_analytics" | "tag_authentication" | "tag_cms" | "tag_code_repository" | "tag_commerce" | "tag_databases" | "tag_dev_tools" | "tag_experimentation" | "tag_logging" | "tag_messaging" | "tag_monitoring" | "tag_observability" | "tag_performance" | "tag_productivity" | "tag_searching" | "tag_security" | "tag_testing" | "tag_video")[];
|
|
24747
|
+
tagIds?: ("tag_ai" | "tag_analytics" | "tag_authentication" | "tag_cms" | "tag_code_repository" | "tag_commerce" | "tag_databases" | "tag_dev_tools" | "tag_experimentation" | "tag_flags" | "tag_logging" | "tag_messaging" | "tag_monitoring" | "tag_observability" | "tag_performance" | "tag_productivity" | "tag_searching" | "tag_security" | "tag_testing" | "tag_video")[];
|
|
24694
24748
|
};
|
|
24695
24749
|
completedAt?: number;
|
|
24696
24750
|
createdAt: number;
|
|
@@ -24807,7 +24861,7 @@ declare class VercelApi {
|
|
|
24807
24861
|
'POST /v1/projects/{idOrName}/members': (variables: AddProjectMemberVariables, signal?: AbortSignal) => Promise<AddProjectMemberResponse>;
|
|
24808
24862
|
'DELETE /v1/projects/{idOrName}/members/{uid}': (variables: RemoveProjectMemberVariables, signal?: AbortSignal) => Promise<RemoveProjectMemberResponse>;
|
|
24809
24863
|
'GET /v10/projects': (variables: GetProjectsVariables, signal?: AbortSignal) => Promise<GetProjectsResponse>;
|
|
24810
|
-
'POST /
|
|
24864
|
+
'POST /v11/projects': (variables: CreateProjectVariables, signal?: AbortSignal) => Promise<CreateProjectResponse>;
|
|
24811
24865
|
'GET /v9/projects/{idOrName}': (variables: GetProjectVariables, signal?: AbortSignal) => Promise<GetProjectResponse>;
|
|
24812
24866
|
'PATCH /v9/projects/{idOrName}': (variables: UpdateProjectVariables, signal?: AbortSignal) => Promise<UpdateProjectResponse>;
|
|
24813
24867
|
'DELETE /v9/projects/{idOrName}': (variables: DeleteProjectVariables, signal?: AbortSignal) => Promise<undefined>;
|
|
@@ -25606,8 +25660,16 @@ declare class VercelApi {
|
|
|
25606
25660
|
Id: string;
|
|
25607
25661
|
Domain: string;
|
|
25608
25662
|
Ip: string;
|
|
25609
|
-
|
|
25610
|
-
|
|
25663
|
+
Action?: "block" | "bypass";
|
|
25664
|
+
ProjectId?: string;
|
|
25665
|
+
IsProjectRule?: boolean;
|
|
25666
|
+
Note?: string;
|
|
25667
|
+
CreatedAt: string;
|
|
25668
|
+
ActorId?: string;
|
|
25669
|
+
UpdatedAt: string;
|
|
25670
|
+
UpdatedAtHour: string;
|
|
25671
|
+
DeletedAt?: string;
|
|
25672
|
+
ExpiresAt?: number;
|
|
25611
25673
|
}[];
|
|
25612
25674
|
pagination: void | null;
|
|
25613
25675
|
} | {
|
package/dist/index.d.mts
CHANGED
|
@@ -2722,6 +2722,7 @@ type UpdateProjectDataCacheResponse = {
|
|
|
2722
2722
|
projectSupportCase?: ACLAction[];
|
|
2723
2723
|
projectSupportCaseComment?: ACLAction[];
|
|
2724
2724
|
projectDeploymentExpiration?: ACLAction[];
|
|
2725
|
+
projectRollingRelease?: ACLAction[];
|
|
2725
2726
|
projectTier?: ACLAction[];
|
|
2726
2727
|
seawallConfig?: ACLAction[];
|
|
2727
2728
|
skewProtection?: ACLAction[];
|
|
@@ -7787,7 +7788,7 @@ declare const getConfigurations: (variables: GetConfigurationsVariables, signal?
|
|
|
7787
7788
|
isLegacy: boolean;
|
|
7788
7789
|
flags?: string[];
|
|
7789
7790
|
assignedBetaLabelAt?: number;
|
|
7790
|
-
tagIds?: ("tag_ai" | "tag_analytics" | "tag_authentication" | "tag_cms" | "tag_code_repository" | "tag_commerce" | "tag_databases" | "tag_dev_tools" | "tag_experimentation" | "tag_logging" | "tag_messaging" | "tag_monitoring" | "tag_observability" | "tag_performance" | "tag_productivity" | "tag_searching" | "tag_security" | "tag_testing" | "tag_video")[];
|
|
7791
|
+
tagIds?: ("tag_ai" | "tag_analytics" | "tag_authentication" | "tag_cms" | "tag_code_repository" | "tag_commerce" | "tag_databases" | "tag_dev_tools" | "tag_experimentation" | "tag_flags" | "tag_logging" | "tag_messaging" | "tag_monitoring" | "tag_observability" | "tag_performance" | "tag_productivity" | "tag_searching" | "tag_security" | "tag_testing" | "tag_video")[];
|
|
7791
7792
|
};
|
|
7792
7793
|
/**
|
|
7793
7794
|
* A timestamp that tells you when the configuration was installed successfully
|
|
@@ -9704,6 +9705,7 @@ type GetProjectsResponse = {
|
|
|
9704
9705
|
projectSupportCase?: ACLAction[];
|
|
9705
9706
|
projectSupportCaseComment?: ACLAction[];
|
|
9706
9707
|
projectDeploymentExpiration?: ACLAction[];
|
|
9708
|
+
projectRollingRelease?: ACLAction[];
|
|
9707
9709
|
projectTier?: ACLAction[];
|
|
9708
9710
|
seawallConfig?: ACLAction[];
|
|
9709
9711
|
skewProtection?: ACLAction[];
|
|
@@ -10506,6 +10508,7 @@ type CreateProjectResponse = {
|
|
|
10506
10508
|
projectSupportCase?: ACLAction[];
|
|
10507
10509
|
projectSupportCaseComment?: ACLAction[];
|
|
10508
10510
|
projectDeploymentExpiration?: ACLAction[];
|
|
10511
|
+
projectRollingRelease?: ACLAction[];
|
|
10509
10512
|
projectTier?: ACLAction[];
|
|
10510
10513
|
seawallConfig?: ACLAction[];
|
|
10511
10514
|
skewProtection?: ACLAction[];
|
|
@@ -11440,6 +11443,7 @@ type GetProjectResponse = {
|
|
|
11440
11443
|
projectSupportCase?: ACLAction[];
|
|
11441
11444
|
projectSupportCaseComment?: ACLAction[];
|
|
11442
11445
|
projectDeploymentExpiration?: ACLAction[];
|
|
11446
|
+
projectRollingRelease?: ACLAction[];
|
|
11443
11447
|
projectTier?: ACLAction[];
|
|
11444
11448
|
seawallConfig?: ACLAction[];
|
|
11445
11449
|
skewProtection?: ACLAction[];
|
|
@@ -12249,6 +12253,7 @@ type UpdateProjectResponse = {
|
|
|
12249
12253
|
projectSupportCase?: ACLAction[];
|
|
12250
12254
|
projectSupportCaseComment?: ACLAction[];
|
|
12251
12255
|
projectDeploymentExpiration?: ACLAction[];
|
|
12256
|
+
projectRollingRelease?: ACLAction[];
|
|
12252
12257
|
projectTier?: ACLAction[];
|
|
12253
12258
|
seawallConfig?: ACLAction[];
|
|
12254
12259
|
skewProtection?: ACLAction[];
|
|
@@ -15085,14 +15090,9 @@ type PutFirewallConfigResponse = {
|
|
|
15085
15090
|
}[];
|
|
15086
15091
|
changes: Record<string, any>[];
|
|
15087
15092
|
managedRules?: {
|
|
15088
|
-
|
|
15089
|
-
active: boolean;
|
|
15090
|
-
updatedAt?: string;
|
|
15091
|
-
userId?: string;
|
|
15092
|
-
username?: string;
|
|
15093
|
-
};
|
|
15094
|
-
verifiedBotsBypass?: {
|
|
15093
|
+
[key: string]: {
|
|
15095
15094
|
active: boolean;
|
|
15095
|
+
action?: 'challenge' | 'deny' | 'log';
|
|
15096
15096
|
updatedAt?: string;
|
|
15097
15097
|
userId?: string;
|
|
15098
15098
|
username?: string;
|
|
@@ -15103,8 +15103,15 @@ type PutFirewallConfigResponse = {
|
|
|
15103
15103
|
type PutFirewallConfigRequestBody = {
|
|
15104
15104
|
firewallEnabled: boolean;
|
|
15105
15105
|
managedRules?: {
|
|
15106
|
-
|
|
15106
|
+
[key: string]: void | {
|
|
15107
15107
|
active: boolean;
|
|
15108
|
+
action?: 'log' | 'challenge' | 'deny';
|
|
15109
|
+
ruleGroups?: {
|
|
15110
|
+
[key: string]: {
|
|
15111
|
+
active?: boolean;
|
|
15112
|
+
action?: 'log' | 'challenge' | 'deny';
|
|
15113
|
+
};
|
|
15114
|
+
};
|
|
15108
15115
|
};
|
|
15109
15116
|
};
|
|
15110
15117
|
crs?: {
|
|
@@ -15164,7 +15171,13 @@ type PutFirewallConfigRequestBody = {
|
|
|
15164
15171
|
*/
|
|
15165
15172
|
description?: string;
|
|
15166
15173
|
active: boolean;
|
|
15174
|
+
/**
|
|
15175
|
+
* @maxItems 25
|
|
15176
|
+
*/
|
|
15167
15177
|
conditionGroup: {
|
|
15178
|
+
/**
|
|
15179
|
+
* @maxItems 65
|
|
15180
|
+
*/
|
|
15168
15181
|
conditions: {
|
|
15169
15182
|
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
15183
|
op: 'eq' | 'ex' | 'gt' | 'gte' | 'inc' | 'lt' | 'lte' | 'neq' | 'nex' | 'ninc' | 'pre' | 're' | 'sub' | 'suf';
|
|
@@ -15238,7 +15251,13 @@ type UpdateFirewallConfigVariables = {
|
|
|
15238
15251
|
*/
|
|
15239
15252
|
description?: string;
|
|
15240
15253
|
active: boolean;
|
|
15254
|
+
/**
|
|
15255
|
+
* @maxItems 25
|
|
15256
|
+
*/
|
|
15241
15257
|
conditionGroup: {
|
|
15258
|
+
/**
|
|
15259
|
+
* @maxItems 65
|
|
15260
|
+
*/
|
|
15242
15261
|
conditions: {
|
|
15243
15262
|
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
15263
|
op: 're' | 'eq' | 'neq' | 'ex' | 'nex' | 'inc' | 'ninc' | 'pre' | 'suf' | 'sub' | 'gt' | 'gte' | 'lt' | 'lte';
|
|
@@ -15279,7 +15298,13 @@ type UpdateFirewallConfigVariables = {
|
|
|
15279
15298
|
*/
|
|
15280
15299
|
description?: string;
|
|
15281
15300
|
active: boolean;
|
|
15301
|
+
/**
|
|
15302
|
+
* @maxItems 25
|
|
15303
|
+
*/
|
|
15282
15304
|
conditionGroup: {
|
|
15305
|
+
/**
|
|
15306
|
+
* @maxItems 65
|
|
15307
|
+
*/
|
|
15283
15308
|
conditions: {
|
|
15284
15309
|
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
15310
|
op: 're' | 'eq' | 'neq' | 'ex' | 'nex' | 'inc' | 'ninc' | 'pre' | 'suf' | 'sub' | 'gt' | 'gte' | 'lt' | 'lte';
|
|
@@ -15350,10 +15375,20 @@ type UpdateFirewallConfigVariables = {
|
|
|
15350
15375
|
value?: null;
|
|
15351
15376
|
} | {
|
|
15352
15377
|
action: string;
|
|
15353
|
-
id:
|
|
15378
|
+
id: string;
|
|
15354
15379
|
value: {
|
|
15380
|
+
action?: 'log' | 'challenge' | 'deny';
|
|
15355
15381
|
active: boolean;
|
|
15356
15382
|
};
|
|
15383
|
+
} | {
|
|
15384
|
+
action: string;
|
|
15385
|
+
id: string;
|
|
15386
|
+
value: {
|
|
15387
|
+
[key: string]: {
|
|
15388
|
+
active: boolean;
|
|
15389
|
+
action?: 'log' | 'challenge' | 'deny';
|
|
15390
|
+
};
|
|
15391
|
+
};
|
|
15357
15392
|
};
|
|
15358
15393
|
queryParams: UpdateFirewallConfigQueryParams;
|
|
15359
15394
|
} & FetcherExtraProps;
|
|
@@ -15468,14 +15503,9 @@ type GetFirewallConfigResponse = {
|
|
|
15468
15503
|
}[];
|
|
15469
15504
|
changes: Record<string, any>[];
|
|
15470
15505
|
managedRules?: {
|
|
15471
|
-
|
|
15472
|
-
active: boolean;
|
|
15473
|
-
updatedAt?: string;
|
|
15474
|
-
userId?: string;
|
|
15475
|
-
username?: string;
|
|
15476
|
-
};
|
|
15477
|
-
verifiedBotsBypass?: {
|
|
15506
|
+
[key: string]: {
|
|
15478
15507
|
active: boolean;
|
|
15508
|
+
action?: 'challenge' | 'deny' | 'log';
|
|
15479
15509
|
updatedAt?: string;
|
|
15480
15510
|
userId?: string;
|
|
15481
15511
|
username?: string;
|
|
@@ -15588,8 +15618,16 @@ declare const getBypassIp: (variables: GetBypassIpVariables, signal?: AbortSigna
|
|
|
15588
15618
|
Id: string;
|
|
15589
15619
|
Domain: string;
|
|
15590
15620
|
Ip: string;
|
|
15591
|
-
|
|
15592
|
-
|
|
15621
|
+
Action?: "block" | "bypass";
|
|
15622
|
+
ProjectId?: string;
|
|
15623
|
+
IsProjectRule?: boolean;
|
|
15624
|
+
Note?: string;
|
|
15625
|
+
CreatedAt: string;
|
|
15626
|
+
ActorId?: string;
|
|
15627
|
+
UpdatedAt: string;
|
|
15628
|
+
UpdatedAtHour: string;
|
|
15629
|
+
DeletedAt?: string;
|
|
15630
|
+
ExpiresAt?: number;
|
|
15593
15631
|
}[];
|
|
15594
15632
|
pagination: void | null;
|
|
15595
15633
|
} | {
|
|
@@ -20308,7 +20346,7 @@ declare const operationsByTag: {
|
|
|
20308
20346
|
isLegacy: boolean;
|
|
20309
20347
|
flags?: string[];
|
|
20310
20348
|
assignedBetaLabelAt?: number;
|
|
20311
|
-
tagIds?: ("tag_ai" | "tag_analytics" | "tag_authentication" | "tag_cms" | "tag_code_repository" | "tag_commerce" | "tag_databases" | "tag_dev_tools" | "tag_experimentation" | "tag_logging" | "tag_messaging" | "tag_monitoring" | "tag_observability" | "tag_performance" | "tag_productivity" | "tag_searching" | "tag_security" | "tag_testing" | "tag_video")[];
|
|
20349
|
+
tagIds?: ("tag_ai" | "tag_analytics" | "tag_authentication" | "tag_cms" | "tag_code_repository" | "tag_commerce" | "tag_databases" | "tag_dev_tools" | "tag_experimentation" | "tag_flags" | "tag_logging" | "tag_messaging" | "tag_monitoring" | "tag_observability" | "tag_performance" | "tag_productivity" | "tag_searching" | "tag_security" | "tag_testing" | "tag_video")[];
|
|
20312
20350
|
};
|
|
20313
20351
|
/**
|
|
20314
20352
|
* A timestamp that tells you when the configuration was installed successfully
|
|
@@ -20960,8 +20998,16 @@ declare const operationsByTag: {
|
|
|
20960
20998
|
Id: string;
|
|
20961
20999
|
Domain: string;
|
|
20962
21000
|
Ip: string;
|
|
20963
|
-
|
|
20964
|
-
|
|
21001
|
+
Action?: "block" | "bypass";
|
|
21002
|
+
ProjectId?: string;
|
|
21003
|
+
IsProjectRule?: boolean;
|
|
21004
|
+
Note?: string;
|
|
21005
|
+
CreatedAt: string;
|
|
21006
|
+
ActorId?: string;
|
|
21007
|
+
UpdatedAt: string;
|
|
21008
|
+
UpdatedAtHour: string;
|
|
21009
|
+
DeletedAt?: string;
|
|
21010
|
+
ExpiresAt?: number;
|
|
20965
21011
|
}[];
|
|
20966
21012
|
pagination: void | null;
|
|
20967
21013
|
} | {
|
|
@@ -22879,7 +22925,7 @@ declare const operationsByPath: {
|
|
|
22879
22925
|
isLegacy: boolean;
|
|
22880
22926
|
flags?: string[];
|
|
22881
22927
|
assignedBetaLabelAt?: number;
|
|
22882
|
-
tagIds?: ("tag_ai" | "tag_analytics" | "tag_authentication" | "tag_cms" | "tag_code_repository" | "tag_commerce" | "tag_databases" | "tag_dev_tools" | "tag_experimentation" | "tag_logging" | "tag_messaging" | "tag_monitoring" | "tag_observability" | "tag_performance" | "tag_productivity" | "tag_searching" | "tag_security" | "tag_testing" | "tag_video")[];
|
|
22928
|
+
tagIds?: ("tag_ai" | "tag_analytics" | "tag_authentication" | "tag_cms" | "tag_code_repository" | "tag_commerce" | "tag_databases" | "tag_dev_tools" | "tag_experimentation" | "tag_flags" | "tag_logging" | "tag_messaging" | "tag_monitoring" | "tag_observability" | "tag_performance" | "tag_productivity" | "tag_searching" | "tag_security" | "tag_testing" | "tag_video")[];
|
|
22883
22929
|
};
|
|
22884
22930
|
completedAt?: number;
|
|
22885
22931
|
createdAt: number;
|
|
@@ -22996,7 +23042,7 @@ declare const operationsByPath: {
|
|
|
22996
23042
|
'POST /v1/projects/{idOrName}/members': (variables: AddProjectMemberVariables, signal?: AbortSignal) => Promise<AddProjectMemberResponse>;
|
|
22997
23043
|
'DELETE /v1/projects/{idOrName}/members/{uid}': (variables: RemoveProjectMemberVariables, signal?: AbortSignal) => Promise<RemoveProjectMemberResponse>;
|
|
22998
23044
|
'GET /v10/projects': (variables: GetProjectsVariables, signal?: AbortSignal) => Promise<GetProjectsResponse>;
|
|
22999
|
-
'POST /
|
|
23045
|
+
'POST /v11/projects': (variables: CreateProjectVariables, signal?: AbortSignal) => Promise<CreateProjectResponse>;
|
|
23000
23046
|
'GET /v9/projects/{idOrName}': (variables: GetProjectVariables, signal?: AbortSignal) => Promise<GetProjectResponse>;
|
|
23001
23047
|
'PATCH /v9/projects/{idOrName}': (variables: UpdateProjectVariables, signal?: AbortSignal) => Promise<UpdateProjectResponse>;
|
|
23002
23048
|
'DELETE /v9/projects/{idOrName}': (variables: DeleteProjectVariables, signal?: AbortSignal) => Promise<undefined>;
|
|
@@ -23795,8 +23841,16 @@ declare const operationsByPath: {
|
|
|
23795
23841
|
Id: string;
|
|
23796
23842
|
Domain: string;
|
|
23797
23843
|
Ip: string;
|
|
23798
|
-
|
|
23799
|
-
|
|
23844
|
+
Action?: "block" | "bypass";
|
|
23845
|
+
ProjectId?: string;
|
|
23846
|
+
IsProjectRule?: boolean;
|
|
23847
|
+
Note?: string;
|
|
23848
|
+
CreatedAt: string;
|
|
23849
|
+
ActorId?: string;
|
|
23850
|
+
UpdatedAt: string;
|
|
23851
|
+
UpdatedAtHour: string;
|
|
23852
|
+
DeletedAt?: string;
|
|
23853
|
+
ExpiresAt?: number;
|
|
23800
23854
|
}[];
|
|
23801
23855
|
pagination: void | null;
|
|
23802
23856
|
} | {
|
|
@@ -24690,7 +24744,7 @@ declare class VercelApi {
|
|
|
24690
24744
|
isLegacy: boolean;
|
|
24691
24745
|
flags?: string[];
|
|
24692
24746
|
assignedBetaLabelAt?: number;
|
|
24693
|
-
tagIds?: ("tag_ai" | "tag_analytics" | "tag_authentication" | "tag_cms" | "tag_code_repository" | "tag_commerce" | "tag_databases" | "tag_dev_tools" | "tag_experimentation" | "tag_logging" | "tag_messaging" | "tag_monitoring" | "tag_observability" | "tag_performance" | "tag_productivity" | "tag_searching" | "tag_security" | "tag_testing" | "tag_video")[];
|
|
24747
|
+
tagIds?: ("tag_ai" | "tag_analytics" | "tag_authentication" | "tag_cms" | "tag_code_repository" | "tag_commerce" | "tag_databases" | "tag_dev_tools" | "tag_experimentation" | "tag_flags" | "tag_logging" | "tag_messaging" | "tag_monitoring" | "tag_observability" | "tag_performance" | "tag_productivity" | "tag_searching" | "tag_security" | "tag_testing" | "tag_video")[];
|
|
24694
24748
|
};
|
|
24695
24749
|
completedAt?: number;
|
|
24696
24750
|
createdAt: number;
|
|
@@ -24807,7 +24861,7 @@ declare class VercelApi {
|
|
|
24807
24861
|
'POST /v1/projects/{idOrName}/members': (variables: AddProjectMemberVariables, signal?: AbortSignal) => Promise<AddProjectMemberResponse>;
|
|
24808
24862
|
'DELETE /v1/projects/{idOrName}/members/{uid}': (variables: RemoveProjectMemberVariables, signal?: AbortSignal) => Promise<RemoveProjectMemberResponse>;
|
|
24809
24863
|
'GET /v10/projects': (variables: GetProjectsVariables, signal?: AbortSignal) => Promise<GetProjectsResponse>;
|
|
24810
|
-
'POST /
|
|
24864
|
+
'POST /v11/projects': (variables: CreateProjectVariables, signal?: AbortSignal) => Promise<CreateProjectResponse>;
|
|
24811
24865
|
'GET /v9/projects/{idOrName}': (variables: GetProjectVariables, signal?: AbortSignal) => Promise<GetProjectResponse>;
|
|
24812
24866
|
'PATCH /v9/projects/{idOrName}': (variables: UpdateProjectVariables, signal?: AbortSignal) => Promise<UpdateProjectResponse>;
|
|
24813
24867
|
'DELETE /v9/projects/{idOrName}': (variables: DeleteProjectVariables, signal?: AbortSignal) => Promise<undefined>;
|
|
@@ -25606,8 +25660,16 @@ declare class VercelApi {
|
|
|
25606
25660
|
Id: string;
|
|
25607
25661
|
Domain: string;
|
|
25608
25662
|
Ip: string;
|
|
25609
|
-
|
|
25610
|
-
|
|
25663
|
+
Action?: "block" | "bypass";
|
|
25664
|
+
ProjectId?: string;
|
|
25665
|
+
IsProjectRule?: boolean;
|
|
25666
|
+
Note?: string;
|
|
25667
|
+
CreatedAt: string;
|
|
25668
|
+
ActorId?: string;
|
|
25669
|
+
UpdatedAt: string;
|
|
25670
|
+
UpdatedAtHour: string;
|
|
25671
|
+
DeletedAt?: string;
|
|
25672
|
+
ExpiresAt?: number;
|
|
25611
25673
|
}[];
|
|
25612
25674
|
pagination: void | null;
|
|
25613
25675
|
} | {
|
package/dist/index.d.ts
CHANGED
|
@@ -2722,6 +2722,7 @@ type UpdateProjectDataCacheResponse = {
|
|
|
2722
2722
|
projectSupportCase?: ACLAction[];
|
|
2723
2723
|
projectSupportCaseComment?: ACLAction[];
|
|
2724
2724
|
projectDeploymentExpiration?: ACLAction[];
|
|
2725
|
+
projectRollingRelease?: ACLAction[];
|
|
2725
2726
|
projectTier?: ACLAction[];
|
|
2726
2727
|
seawallConfig?: ACLAction[];
|
|
2727
2728
|
skewProtection?: ACLAction[];
|
|
@@ -7787,7 +7788,7 @@ declare const getConfigurations: (variables: GetConfigurationsVariables, signal?
|
|
|
7787
7788
|
isLegacy: boolean;
|
|
7788
7789
|
flags?: string[];
|
|
7789
7790
|
assignedBetaLabelAt?: number;
|
|
7790
|
-
tagIds?: ("tag_ai" | "tag_analytics" | "tag_authentication" | "tag_cms" | "tag_code_repository" | "tag_commerce" | "tag_databases" | "tag_dev_tools" | "tag_experimentation" | "tag_logging" | "tag_messaging" | "tag_monitoring" | "tag_observability" | "tag_performance" | "tag_productivity" | "tag_searching" | "tag_security" | "tag_testing" | "tag_video")[];
|
|
7791
|
+
tagIds?: ("tag_ai" | "tag_analytics" | "tag_authentication" | "tag_cms" | "tag_code_repository" | "tag_commerce" | "tag_databases" | "tag_dev_tools" | "tag_experimentation" | "tag_flags" | "tag_logging" | "tag_messaging" | "tag_monitoring" | "tag_observability" | "tag_performance" | "tag_productivity" | "tag_searching" | "tag_security" | "tag_testing" | "tag_video")[];
|
|
7791
7792
|
};
|
|
7792
7793
|
/**
|
|
7793
7794
|
* A timestamp that tells you when the configuration was installed successfully
|
|
@@ -9704,6 +9705,7 @@ type GetProjectsResponse = {
|
|
|
9704
9705
|
projectSupportCase?: ACLAction[];
|
|
9705
9706
|
projectSupportCaseComment?: ACLAction[];
|
|
9706
9707
|
projectDeploymentExpiration?: ACLAction[];
|
|
9708
|
+
projectRollingRelease?: ACLAction[];
|
|
9707
9709
|
projectTier?: ACLAction[];
|
|
9708
9710
|
seawallConfig?: ACLAction[];
|
|
9709
9711
|
skewProtection?: ACLAction[];
|
|
@@ -10506,6 +10508,7 @@ type CreateProjectResponse = {
|
|
|
10506
10508
|
projectSupportCase?: ACLAction[];
|
|
10507
10509
|
projectSupportCaseComment?: ACLAction[];
|
|
10508
10510
|
projectDeploymentExpiration?: ACLAction[];
|
|
10511
|
+
projectRollingRelease?: ACLAction[];
|
|
10509
10512
|
projectTier?: ACLAction[];
|
|
10510
10513
|
seawallConfig?: ACLAction[];
|
|
10511
10514
|
skewProtection?: ACLAction[];
|
|
@@ -11440,6 +11443,7 @@ type GetProjectResponse = {
|
|
|
11440
11443
|
projectSupportCase?: ACLAction[];
|
|
11441
11444
|
projectSupportCaseComment?: ACLAction[];
|
|
11442
11445
|
projectDeploymentExpiration?: ACLAction[];
|
|
11446
|
+
projectRollingRelease?: ACLAction[];
|
|
11443
11447
|
projectTier?: ACLAction[];
|
|
11444
11448
|
seawallConfig?: ACLAction[];
|
|
11445
11449
|
skewProtection?: ACLAction[];
|
|
@@ -12249,6 +12253,7 @@ type UpdateProjectResponse = {
|
|
|
12249
12253
|
projectSupportCase?: ACLAction[];
|
|
12250
12254
|
projectSupportCaseComment?: ACLAction[];
|
|
12251
12255
|
projectDeploymentExpiration?: ACLAction[];
|
|
12256
|
+
projectRollingRelease?: ACLAction[];
|
|
12252
12257
|
projectTier?: ACLAction[];
|
|
12253
12258
|
seawallConfig?: ACLAction[];
|
|
12254
12259
|
skewProtection?: ACLAction[];
|
|
@@ -15085,14 +15090,9 @@ type PutFirewallConfigResponse = {
|
|
|
15085
15090
|
}[];
|
|
15086
15091
|
changes: Record<string, any>[];
|
|
15087
15092
|
managedRules?: {
|
|
15088
|
-
|
|
15089
|
-
active: boolean;
|
|
15090
|
-
updatedAt?: string;
|
|
15091
|
-
userId?: string;
|
|
15092
|
-
username?: string;
|
|
15093
|
-
};
|
|
15094
|
-
verifiedBotsBypass?: {
|
|
15093
|
+
[key: string]: {
|
|
15095
15094
|
active: boolean;
|
|
15095
|
+
action?: 'challenge' | 'deny' | 'log';
|
|
15096
15096
|
updatedAt?: string;
|
|
15097
15097
|
userId?: string;
|
|
15098
15098
|
username?: string;
|
|
@@ -15103,8 +15103,15 @@ type PutFirewallConfigResponse = {
|
|
|
15103
15103
|
type PutFirewallConfigRequestBody = {
|
|
15104
15104
|
firewallEnabled: boolean;
|
|
15105
15105
|
managedRules?: {
|
|
15106
|
-
|
|
15106
|
+
[key: string]: void | {
|
|
15107
15107
|
active: boolean;
|
|
15108
|
+
action?: 'log' | 'challenge' | 'deny';
|
|
15109
|
+
ruleGroups?: {
|
|
15110
|
+
[key: string]: {
|
|
15111
|
+
active?: boolean;
|
|
15112
|
+
action?: 'log' | 'challenge' | 'deny';
|
|
15113
|
+
};
|
|
15114
|
+
};
|
|
15108
15115
|
};
|
|
15109
15116
|
};
|
|
15110
15117
|
crs?: {
|
|
@@ -15164,7 +15171,13 @@ type PutFirewallConfigRequestBody = {
|
|
|
15164
15171
|
*/
|
|
15165
15172
|
description?: string;
|
|
15166
15173
|
active: boolean;
|
|
15174
|
+
/**
|
|
15175
|
+
* @maxItems 25
|
|
15176
|
+
*/
|
|
15167
15177
|
conditionGroup: {
|
|
15178
|
+
/**
|
|
15179
|
+
* @maxItems 65
|
|
15180
|
+
*/
|
|
15168
15181
|
conditions: {
|
|
15169
15182
|
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
15183
|
op: 'eq' | 'ex' | 'gt' | 'gte' | 'inc' | 'lt' | 'lte' | 'neq' | 'nex' | 'ninc' | 'pre' | 're' | 'sub' | 'suf';
|
|
@@ -15238,7 +15251,13 @@ type UpdateFirewallConfigVariables = {
|
|
|
15238
15251
|
*/
|
|
15239
15252
|
description?: string;
|
|
15240
15253
|
active: boolean;
|
|
15254
|
+
/**
|
|
15255
|
+
* @maxItems 25
|
|
15256
|
+
*/
|
|
15241
15257
|
conditionGroup: {
|
|
15258
|
+
/**
|
|
15259
|
+
* @maxItems 65
|
|
15260
|
+
*/
|
|
15242
15261
|
conditions: {
|
|
15243
15262
|
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
15263
|
op: 're' | 'eq' | 'neq' | 'ex' | 'nex' | 'inc' | 'ninc' | 'pre' | 'suf' | 'sub' | 'gt' | 'gte' | 'lt' | 'lte';
|
|
@@ -15279,7 +15298,13 @@ type UpdateFirewallConfigVariables = {
|
|
|
15279
15298
|
*/
|
|
15280
15299
|
description?: string;
|
|
15281
15300
|
active: boolean;
|
|
15301
|
+
/**
|
|
15302
|
+
* @maxItems 25
|
|
15303
|
+
*/
|
|
15282
15304
|
conditionGroup: {
|
|
15305
|
+
/**
|
|
15306
|
+
* @maxItems 65
|
|
15307
|
+
*/
|
|
15283
15308
|
conditions: {
|
|
15284
15309
|
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
15310
|
op: 're' | 'eq' | 'neq' | 'ex' | 'nex' | 'inc' | 'ninc' | 'pre' | 'suf' | 'sub' | 'gt' | 'gte' | 'lt' | 'lte';
|
|
@@ -15350,10 +15375,20 @@ type UpdateFirewallConfigVariables = {
|
|
|
15350
15375
|
value?: null;
|
|
15351
15376
|
} | {
|
|
15352
15377
|
action: string;
|
|
15353
|
-
id:
|
|
15378
|
+
id: string;
|
|
15354
15379
|
value: {
|
|
15380
|
+
action?: 'log' | 'challenge' | 'deny';
|
|
15355
15381
|
active: boolean;
|
|
15356
15382
|
};
|
|
15383
|
+
} | {
|
|
15384
|
+
action: string;
|
|
15385
|
+
id: string;
|
|
15386
|
+
value: {
|
|
15387
|
+
[key: string]: {
|
|
15388
|
+
active: boolean;
|
|
15389
|
+
action?: 'log' | 'challenge' | 'deny';
|
|
15390
|
+
};
|
|
15391
|
+
};
|
|
15357
15392
|
};
|
|
15358
15393
|
queryParams: UpdateFirewallConfigQueryParams;
|
|
15359
15394
|
} & FetcherExtraProps;
|
|
@@ -15468,14 +15503,9 @@ type GetFirewallConfigResponse = {
|
|
|
15468
15503
|
}[];
|
|
15469
15504
|
changes: Record<string, any>[];
|
|
15470
15505
|
managedRules?: {
|
|
15471
|
-
|
|
15472
|
-
active: boolean;
|
|
15473
|
-
updatedAt?: string;
|
|
15474
|
-
userId?: string;
|
|
15475
|
-
username?: string;
|
|
15476
|
-
};
|
|
15477
|
-
verifiedBotsBypass?: {
|
|
15506
|
+
[key: string]: {
|
|
15478
15507
|
active: boolean;
|
|
15508
|
+
action?: 'challenge' | 'deny' | 'log';
|
|
15479
15509
|
updatedAt?: string;
|
|
15480
15510
|
userId?: string;
|
|
15481
15511
|
username?: string;
|
|
@@ -15588,8 +15618,16 @@ declare const getBypassIp: (variables: GetBypassIpVariables, signal?: AbortSigna
|
|
|
15588
15618
|
Id: string;
|
|
15589
15619
|
Domain: string;
|
|
15590
15620
|
Ip: string;
|
|
15591
|
-
|
|
15592
|
-
|
|
15621
|
+
Action?: "block" | "bypass";
|
|
15622
|
+
ProjectId?: string;
|
|
15623
|
+
IsProjectRule?: boolean;
|
|
15624
|
+
Note?: string;
|
|
15625
|
+
CreatedAt: string;
|
|
15626
|
+
ActorId?: string;
|
|
15627
|
+
UpdatedAt: string;
|
|
15628
|
+
UpdatedAtHour: string;
|
|
15629
|
+
DeletedAt?: string;
|
|
15630
|
+
ExpiresAt?: number;
|
|
15593
15631
|
}[];
|
|
15594
15632
|
pagination: void | null;
|
|
15595
15633
|
} | {
|
|
@@ -20308,7 +20346,7 @@ declare const operationsByTag: {
|
|
|
20308
20346
|
isLegacy: boolean;
|
|
20309
20347
|
flags?: string[];
|
|
20310
20348
|
assignedBetaLabelAt?: number;
|
|
20311
|
-
tagIds?: ("tag_ai" | "tag_analytics" | "tag_authentication" | "tag_cms" | "tag_code_repository" | "tag_commerce" | "tag_databases" | "tag_dev_tools" | "tag_experimentation" | "tag_logging" | "tag_messaging" | "tag_monitoring" | "tag_observability" | "tag_performance" | "tag_productivity" | "tag_searching" | "tag_security" | "tag_testing" | "tag_video")[];
|
|
20349
|
+
tagIds?: ("tag_ai" | "tag_analytics" | "tag_authentication" | "tag_cms" | "tag_code_repository" | "tag_commerce" | "tag_databases" | "tag_dev_tools" | "tag_experimentation" | "tag_flags" | "tag_logging" | "tag_messaging" | "tag_monitoring" | "tag_observability" | "tag_performance" | "tag_productivity" | "tag_searching" | "tag_security" | "tag_testing" | "tag_video")[];
|
|
20312
20350
|
};
|
|
20313
20351
|
/**
|
|
20314
20352
|
* A timestamp that tells you when the configuration was installed successfully
|
|
@@ -20960,8 +20998,16 @@ declare const operationsByTag: {
|
|
|
20960
20998
|
Id: string;
|
|
20961
20999
|
Domain: string;
|
|
20962
21000
|
Ip: string;
|
|
20963
|
-
|
|
20964
|
-
|
|
21001
|
+
Action?: "block" | "bypass";
|
|
21002
|
+
ProjectId?: string;
|
|
21003
|
+
IsProjectRule?: boolean;
|
|
21004
|
+
Note?: string;
|
|
21005
|
+
CreatedAt: string;
|
|
21006
|
+
ActorId?: string;
|
|
21007
|
+
UpdatedAt: string;
|
|
21008
|
+
UpdatedAtHour: string;
|
|
21009
|
+
DeletedAt?: string;
|
|
21010
|
+
ExpiresAt?: number;
|
|
20965
21011
|
}[];
|
|
20966
21012
|
pagination: void | null;
|
|
20967
21013
|
} | {
|
|
@@ -22879,7 +22925,7 @@ declare const operationsByPath: {
|
|
|
22879
22925
|
isLegacy: boolean;
|
|
22880
22926
|
flags?: string[];
|
|
22881
22927
|
assignedBetaLabelAt?: number;
|
|
22882
|
-
tagIds?: ("tag_ai" | "tag_analytics" | "tag_authentication" | "tag_cms" | "tag_code_repository" | "tag_commerce" | "tag_databases" | "tag_dev_tools" | "tag_experimentation" | "tag_logging" | "tag_messaging" | "tag_monitoring" | "tag_observability" | "tag_performance" | "tag_productivity" | "tag_searching" | "tag_security" | "tag_testing" | "tag_video")[];
|
|
22928
|
+
tagIds?: ("tag_ai" | "tag_analytics" | "tag_authentication" | "tag_cms" | "tag_code_repository" | "tag_commerce" | "tag_databases" | "tag_dev_tools" | "tag_experimentation" | "tag_flags" | "tag_logging" | "tag_messaging" | "tag_monitoring" | "tag_observability" | "tag_performance" | "tag_productivity" | "tag_searching" | "tag_security" | "tag_testing" | "tag_video")[];
|
|
22883
22929
|
};
|
|
22884
22930
|
completedAt?: number;
|
|
22885
22931
|
createdAt: number;
|
|
@@ -22996,7 +23042,7 @@ declare const operationsByPath: {
|
|
|
22996
23042
|
'POST /v1/projects/{idOrName}/members': (variables: AddProjectMemberVariables, signal?: AbortSignal) => Promise<AddProjectMemberResponse>;
|
|
22997
23043
|
'DELETE /v1/projects/{idOrName}/members/{uid}': (variables: RemoveProjectMemberVariables, signal?: AbortSignal) => Promise<RemoveProjectMemberResponse>;
|
|
22998
23044
|
'GET /v10/projects': (variables: GetProjectsVariables, signal?: AbortSignal) => Promise<GetProjectsResponse>;
|
|
22999
|
-
'POST /
|
|
23045
|
+
'POST /v11/projects': (variables: CreateProjectVariables, signal?: AbortSignal) => Promise<CreateProjectResponse>;
|
|
23000
23046
|
'GET /v9/projects/{idOrName}': (variables: GetProjectVariables, signal?: AbortSignal) => Promise<GetProjectResponse>;
|
|
23001
23047
|
'PATCH /v9/projects/{idOrName}': (variables: UpdateProjectVariables, signal?: AbortSignal) => Promise<UpdateProjectResponse>;
|
|
23002
23048
|
'DELETE /v9/projects/{idOrName}': (variables: DeleteProjectVariables, signal?: AbortSignal) => Promise<undefined>;
|
|
@@ -23795,8 +23841,16 @@ declare const operationsByPath: {
|
|
|
23795
23841
|
Id: string;
|
|
23796
23842
|
Domain: string;
|
|
23797
23843
|
Ip: string;
|
|
23798
|
-
|
|
23799
|
-
|
|
23844
|
+
Action?: "block" | "bypass";
|
|
23845
|
+
ProjectId?: string;
|
|
23846
|
+
IsProjectRule?: boolean;
|
|
23847
|
+
Note?: string;
|
|
23848
|
+
CreatedAt: string;
|
|
23849
|
+
ActorId?: string;
|
|
23850
|
+
UpdatedAt: string;
|
|
23851
|
+
UpdatedAtHour: string;
|
|
23852
|
+
DeletedAt?: string;
|
|
23853
|
+
ExpiresAt?: number;
|
|
23800
23854
|
}[];
|
|
23801
23855
|
pagination: void | null;
|
|
23802
23856
|
} | {
|
|
@@ -24690,7 +24744,7 @@ declare class VercelApi {
|
|
|
24690
24744
|
isLegacy: boolean;
|
|
24691
24745
|
flags?: string[];
|
|
24692
24746
|
assignedBetaLabelAt?: number;
|
|
24693
|
-
tagIds?: ("tag_ai" | "tag_analytics" | "tag_authentication" | "tag_cms" | "tag_code_repository" | "tag_commerce" | "tag_databases" | "tag_dev_tools" | "tag_experimentation" | "tag_logging" | "tag_messaging" | "tag_monitoring" | "tag_observability" | "tag_performance" | "tag_productivity" | "tag_searching" | "tag_security" | "tag_testing" | "tag_video")[];
|
|
24747
|
+
tagIds?: ("tag_ai" | "tag_analytics" | "tag_authentication" | "tag_cms" | "tag_code_repository" | "tag_commerce" | "tag_databases" | "tag_dev_tools" | "tag_experimentation" | "tag_flags" | "tag_logging" | "tag_messaging" | "tag_monitoring" | "tag_observability" | "tag_performance" | "tag_productivity" | "tag_searching" | "tag_security" | "tag_testing" | "tag_video")[];
|
|
24694
24748
|
};
|
|
24695
24749
|
completedAt?: number;
|
|
24696
24750
|
createdAt: number;
|
|
@@ -24807,7 +24861,7 @@ declare class VercelApi {
|
|
|
24807
24861
|
'POST /v1/projects/{idOrName}/members': (variables: AddProjectMemberVariables, signal?: AbortSignal) => Promise<AddProjectMemberResponse>;
|
|
24808
24862
|
'DELETE /v1/projects/{idOrName}/members/{uid}': (variables: RemoveProjectMemberVariables, signal?: AbortSignal) => Promise<RemoveProjectMemberResponse>;
|
|
24809
24863
|
'GET /v10/projects': (variables: GetProjectsVariables, signal?: AbortSignal) => Promise<GetProjectsResponse>;
|
|
24810
|
-
'POST /
|
|
24864
|
+
'POST /v11/projects': (variables: CreateProjectVariables, signal?: AbortSignal) => Promise<CreateProjectResponse>;
|
|
24811
24865
|
'GET /v9/projects/{idOrName}': (variables: GetProjectVariables, signal?: AbortSignal) => Promise<GetProjectResponse>;
|
|
24812
24866
|
'PATCH /v9/projects/{idOrName}': (variables: UpdateProjectVariables, signal?: AbortSignal) => Promise<UpdateProjectResponse>;
|
|
24813
24867
|
'DELETE /v9/projects/{idOrName}': (variables: DeleteProjectVariables, signal?: AbortSignal) => Promise<undefined>;
|
|
@@ -25606,8 +25660,16 @@ declare class VercelApi {
|
|
|
25606
25660
|
Id: string;
|
|
25607
25661
|
Domain: string;
|
|
25608
25662
|
Ip: string;
|
|
25609
|
-
|
|
25610
|
-
|
|
25663
|
+
Action?: "block" | "bypass";
|
|
25664
|
+
ProjectId?: string;
|
|
25665
|
+
IsProjectRule?: boolean;
|
|
25666
|
+
Note?: string;
|
|
25667
|
+
CreatedAt: string;
|
|
25668
|
+
ActorId?: string;
|
|
25669
|
+
UpdatedAt: string;
|
|
25670
|
+
UpdatedAtHour: string;
|
|
25671
|
+
DeletedAt?: string;
|
|
25672
|
+
ExpiresAt?: number;
|
|
25611
25673
|
}[];
|
|
25612
25674
|
pagination: void | null;
|
|
25613
25675
|
} | {
|
package/dist/index.mjs
CHANGED