vercel-api-js 0.6.2 → 0.6.4
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 +23 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +226 -52
- 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.6.
|
|
2
|
+
> vercel-api-js@0.6.4 build /home/runner/work/openapi-clients/openapi-clients/packages/vercel-api-js
|
|
3
3
|
> rimraf dist && rollup -c
|
|
4
4
|
|
|
5
5
|
[36m
|
|
@@ -7,4 +7,4 @@
|
|
|
7
7
|
[32mcreated [1mdist/index.cjs, dist/index.mjs[22m in [1m4.4s[22m[39m
|
|
8
8
|
[36m
|
|
9
9
|
[1m./src/index.ts[22m → [1mdist/index.d.ts[22m...[39m
|
|
10
|
-
[32mcreated [1mdist/index.d.ts[22m in [1m5.
|
|
10
|
+
[32mcreated [1mdist/index.d.ts[22m in [1m5.5s[22m[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# vercel-api-js
|
|
2
2
|
|
|
3
|
+
## 0.6.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 1734501: Add new 'nodeVersion' field to CreateDeploymentRequestBody
|
|
8
|
+
- 7253391: [BREAKING] Add new type 'integration-store-secret' to UpdateProjectDataCacheResponse, GetProjectsResponse, CreateProjectResponse, GetProjectResponse, UpdateProjectResponse, filterProjectEnvs, getProjectEnv, CreateProjectEnvResponse, removeProjectEnv, EditProjectEnvResponse
|
|
9
|
+
- dc191cf: Add new fields skewProtectionBoundaryAt and skewProtectionMaxAge to UpdateProjectRequestBody
|
|
10
|
+
- e096156: [BREAKING] Add new oauth2Connection field to multiple project-related API responses
|
|
11
|
+
- 9d8632b: Change viewPreference order in activeDashboardViews type
|
|
12
|
+
|
|
13
|
+
## 0.6.3
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- 0b0194e: Add new field attackModeActiveUntil to project responses
|
|
18
|
+
- cd00645: Add oauth2Application field to project related responses
|
|
19
|
+
- 8920920: Remove planIteration from CreateTeamResponse and AuthUser
|
|
20
|
+
- 06e6e64: Add new property 'cronJobsPerProject' to 'AuthUser' type
|
|
21
|
+
- 44f20a3: Add skewProtectionBoundaryAt and skewProtectionMaxAge to project data cache and project response
|
|
22
|
+
- 224ec97: Update API endpoint to create project from v9 to v10
|
|
23
|
+
- 71615f0: Add new field 'planIteration' to AuthUser type
|
|
24
|
+
- 5bfccd9: Add optional field 'planIteration' to AuthUser type
|
|
25
|
+
|
|
3
26
|
## 0.6.2
|
|
4
27
|
|
|
5
28
|
### Patch Changes
|
package/dist/index.cjs
CHANGED
|
@@ -470,7 +470,7 @@ const getProjects = (variables, signal) => fetch$1({
|
|
|
470
470
|
* Allows to create a new project with the provided configuration. It only requires the project `name` but more configuration can be provided to override the defaults.
|
|
471
471
|
*/
|
|
472
472
|
const createProject = (variables, signal) => fetch$1({
|
|
473
|
-
url: '/
|
|
473
|
+
url: '/v10/projects',
|
|
474
474
|
method: 'post',
|
|
475
475
|
...variables,
|
|
476
476
|
signal
|
package/dist/index.d.ts
CHANGED
|
@@ -323,6 +323,7 @@ type AuthUser = {
|
|
|
323
323
|
end: number;
|
|
324
324
|
} | null;
|
|
325
325
|
plan: 'pro' | 'enterprise' | 'hobby';
|
|
326
|
+
planIteration?: string;
|
|
326
327
|
platform?: 'stripe' | 'stripeTestMode';
|
|
327
328
|
orbCustomerId?: string;
|
|
328
329
|
syncedAt?: number;
|
|
@@ -867,6 +868,10 @@ type AuthUser = {
|
|
|
867
868
|
* An object containing infomation related to the amount of platform resources may be allocated to the User account.
|
|
868
869
|
*/
|
|
869
870
|
cronJobs?: number;
|
|
871
|
+
/**
|
|
872
|
+
* An object containing infomation related to the amount of platform resources may be allocated to the User account.
|
|
873
|
+
*/
|
|
874
|
+
cronJobsPerProject?: number;
|
|
870
875
|
};
|
|
871
876
|
/**
|
|
872
877
|
* Prefix that will be used in the URL of "Preview" deployments created by the User account.
|
|
@@ -877,7 +882,7 @@ type AuthUser = {
|
|
|
877
882
|
*/
|
|
878
883
|
activeDashboardViews?: {
|
|
879
884
|
scopeId: string;
|
|
880
|
-
viewPreference?: '
|
|
885
|
+
viewPreference?: 'list' | 'cards';
|
|
881
886
|
favoritesViewPreference?: 'open' | 'closed';
|
|
882
887
|
recentsViewPreference?: 'open' | 'closed';
|
|
883
888
|
}[];
|
|
@@ -2023,7 +2028,10 @@ type UpdateProjectDataCacheResponse = {
|
|
|
2023
2028
|
} | {
|
|
2024
2029
|
type: 'postgres-url-no-ssl';
|
|
2025
2030
|
storeId: string;
|
|
2026
|
-
} |
|
|
2031
|
+
} | {
|
|
2032
|
+
type: 'integration-store-secret';
|
|
2033
|
+
storeId: string;
|
|
2034
|
+
} | null;
|
|
2027
2035
|
/**
|
|
2028
2036
|
* Whether `value` is decrypted.
|
|
2029
2037
|
*/
|
|
@@ -2155,6 +2163,8 @@ type UpdateProjectDataCacheResponse = {
|
|
|
2155
2163
|
rootDirectory?: string | null;
|
|
2156
2164
|
serverlessFunctionRegion?: string | null;
|
|
2157
2165
|
serverlessFunctionZeroConfigFailover?: boolean;
|
|
2166
|
+
skewProtectionBoundaryAt?: number;
|
|
2167
|
+
skewProtectionMaxAge?: number;
|
|
2158
2168
|
skipGitConnectDuringLink?: boolean;
|
|
2159
2169
|
sourceFilesOutsideRootDirectory?: boolean;
|
|
2160
2170
|
ssoProtection?: {
|
|
@@ -2285,6 +2295,7 @@ type UpdateProjectDataCacheResponse = {
|
|
|
2285
2295
|
notificationUsageAlert?: ACLAction[];
|
|
2286
2296
|
notificationCustomerBudget?: ACLAction[];
|
|
2287
2297
|
notificationStatementOfReasons?: ACLAction[];
|
|
2298
|
+
oauth2Connection?: ACLAction[];
|
|
2288
2299
|
openTelemetryEndpoint?: ACLAction[];
|
|
2289
2300
|
paymentMethod?: ACLAction[];
|
|
2290
2301
|
permissions?: ACLAction[];
|
|
@@ -2332,6 +2343,7 @@ type UpdateProjectDataCacheResponse = {
|
|
|
2332
2343
|
['webhook-event']?: ACLAction[];
|
|
2333
2344
|
endpointVerification?: ACLAction[];
|
|
2334
2345
|
projectTransferIn?: ACLAction[];
|
|
2346
|
+
oauth2Application?: ACLAction[];
|
|
2335
2347
|
aliasProject?: ACLAction[];
|
|
2336
2348
|
aliasProtectionBypass?: ACLAction[];
|
|
2337
2349
|
productionAliasProtectionBypass?: ACLAction[];
|
|
@@ -2374,6 +2386,7 @@ type UpdateProjectDataCacheResponse = {
|
|
|
2374
2386
|
projectAnalyticsUsage?: ACLAction[];
|
|
2375
2387
|
projectSupportCase?: ACLAction[];
|
|
2376
2388
|
projectSupportCaseComment?: ACLAction[];
|
|
2389
|
+
skewProtection?: ACLAction[];
|
|
2377
2390
|
analytics?: ACLAction[];
|
|
2378
2391
|
trustedIps?: ACLAction[];
|
|
2379
2392
|
webAnalytics?: ACLAction[];
|
|
@@ -2430,6 +2443,7 @@ type UpdateProjectDataCacheResponse = {
|
|
|
2430
2443
|
attackModeUpdatedAt?: number;
|
|
2431
2444
|
firewallEnabled?: boolean;
|
|
2432
2445
|
firewallUpdatedAt?: number;
|
|
2446
|
+
attackModeActiveUntil?: number | null;
|
|
2433
2447
|
};
|
|
2434
2448
|
};
|
|
2435
2449
|
type UpdateProjectDataCacheRequestBody = {
|
|
@@ -4054,6 +4068,10 @@ type CreateDeploymentRequestBody = {
|
|
|
4054
4068
|
* @maxLength 256
|
|
4055
4069
|
*/
|
|
4056
4070
|
installCommand?: string | null;
|
|
4071
|
+
/**
|
|
4072
|
+
* Override the Node.js version that should be used for this deployment
|
|
4073
|
+
*/
|
|
4074
|
+
nodeVersion?: '20.x' | '18.x' | '16.x';
|
|
4057
4075
|
/**
|
|
4058
4076
|
* The output directory of the project. When `null` is used this value will be automatically detected
|
|
4059
4077
|
*
|
|
@@ -6845,7 +6863,7 @@ type GetIntegrationLogDrainsResponse = {
|
|
|
6845
6863
|
* @example build
|
|
6846
6864
|
* @example edge
|
|
6847
6865
|
*/
|
|
6848
|
-
sources?: ('
|
|
6866
|
+
sources?: ('build' | 'edge' | 'lambda' | 'static' | 'external')[];
|
|
6849
6867
|
/**
|
|
6850
6868
|
* Whether the log drain was created by an integration or by a user
|
|
6851
6869
|
*
|
|
@@ -6958,7 +6976,7 @@ type CreateLogDrainResponse = {
|
|
|
6958
6976
|
* @example build
|
|
6959
6977
|
* @example edge
|
|
6960
6978
|
*/
|
|
6961
|
-
sources?: ('
|
|
6979
|
+
sources?: ('build' | 'edge' | 'lambda' | 'static' | 'external')[];
|
|
6962
6980
|
/**
|
|
6963
6981
|
* Whether the log drain was created by an integration or by a user
|
|
6964
6982
|
*
|
|
@@ -7172,7 +7190,7 @@ type GetConfigurableLogDrainResponse = {
|
|
|
7172
7190
|
ownerId: string;
|
|
7173
7191
|
projectIds?: string[];
|
|
7174
7192
|
createdAt: number;
|
|
7175
|
-
sources?: ('
|
|
7193
|
+
sources?: ('build' | 'edge' | 'lambda' | 'static' | 'external')[];
|
|
7176
7194
|
headers?: {
|
|
7177
7195
|
[key: string]: string;
|
|
7178
7196
|
};
|
|
@@ -7235,7 +7253,7 @@ type GetAllLogDrainsResponse = {
|
|
|
7235
7253
|
ownerId: string;
|
|
7236
7254
|
projectIds?: string[];
|
|
7237
7255
|
createdAt: number;
|
|
7238
|
-
sources?: ('
|
|
7256
|
+
sources?: ('build' | 'edge' | 'lambda' | 'static' | 'external')[];
|
|
7239
7257
|
headers?: {
|
|
7240
7258
|
[key: string]: string;
|
|
7241
7259
|
};
|
|
@@ -7279,7 +7297,7 @@ type CreateConfigurableLogDrainResponse = {
|
|
|
7279
7297
|
ownerId: string;
|
|
7280
7298
|
projectIds?: string[];
|
|
7281
7299
|
createdAt: number;
|
|
7282
|
-
sources?: ('
|
|
7300
|
+
sources?: ('build' | 'edge' | 'lambda' | 'static' | 'external')[];
|
|
7283
7301
|
headers?: {
|
|
7284
7302
|
[key: string]: string;
|
|
7285
7303
|
};
|
|
@@ -7787,7 +7805,10 @@ type GetProjectsResponse = {
|
|
|
7787
7805
|
} | {
|
|
7788
7806
|
type: 'postgres-url-no-ssl';
|
|
7789
7807
|
storeId: string;
|
|
7790
|
-
} |
|
|
7808
|
+
} | {
|
|
7809
|
+
type: 'integration-store-secret';
|
|
7810
|
+
storeId: string;
|
|
7811
|
+
} | null;
|
|
7791
7812
|
/**
|
|
7792
7813
|
* Whether `value` is decrypted.
|
|
7793
7814
|
*/
|
|
@@ -7919,6 +7940,8 @@ type GetProjectsResponse = {
|
|
|
7919
7940
|
rootDirectory?: string | null;
|
|
7920
7941
|
serverlessFunctionRegion?: string | null;
|
|
7921
7942
|
serverlessFunctionZeroConfigFailover?: boolean;
|
|
7943
|
+
skewProtectionBoundaryAt?: number;
|
|
7944
|
+
skewProtectionMaxAge?: number;
|
|
7922
7945
|
skipGitConnectDuringLink?: boolean;
|
|
7923
7946
|
sourceFilesOutsideRootDirectory?: boolean;
|
|
7924
7947
|
ssoProtection?: {
|
|
@@ -8049,6 +8072,7 @@ type GetProjectsResponse = {
|
|
|
8049
8072
|
notificationUsageAlert?: ACLAction[];
|
|
8050
8073
|
notificationCustomerBudget?: ACLAction[];
|
|
8051
8074
|
notificationStatementOfReasons?: ACLAction[];
|
|
8075
|
+
oauth2Connection?: ACLAction[];
|
|
8052
8076
|
openTelemetryEndpoint?: ACLAction[];
|
|
8053
8077
|
paymentMethod?: ACLAction[];
|
|
8054
8078
|
permissions?: ACLAction[];
|
|
@@ -8096,6 +8120,7 @@ type GetProjectsResponse = {
|
|
|
8096
8120
|
['webhook-event']?: ACLAction[];
|
|
8097
8121
|
endpointVerification?: ACLAction[];
|
|
8098
8122
|
projectTransferIn?: ACLAction[];
|
|
8123
|
+
oauth2Application?: ACLAction[];
|
|
8099
8124
|
aliasProject?: ACLAction[];
|
|
8100
8125
|
aliasProtectionBypass?: ACLAction[];
|
|
8101
8126
|
productionAliasProtectionBypass?: ACLAction[];
|
|
@@ -8138,6 +8163,7 @@ type GetProjectsResponse = {
|
|
|
8138
8163
|
projectAnalyticsUsage?: ACLAction[];
|
|
8139
8164
|
projectSupportCase?: ACLAction[];
|
|
8140
8165
|
projectSupportCaseComment?: ACLAction[];
|
|
8166
|
+
skewProtection?: ACLAction[];
|
|
8141
8167
|
analytics?: ACLAction[];
|
|
8142
8168
|
trustedIps?: ACLAction[];
|
|
8143
8169
|
webAnalytics?: ACLAction[];
|
|
@@ -8194,6 +8220,7 @@ type GetProjectsResponse = {
|
|
|
8194
8220
|
attackModeUpdatedAt?: number;
|
|
8195
8221
|
firewallEnabled?: boolean;
|
|
8196
8222
|
firewallUpdatedAt?: number;
|
|
8223
|
+
attackModeActiveUntil?: number | null;
|
|
8197
8224
|
};
|
|
8198
8225
|
}[];
|
|
8199
8226
|
pagination: Pagination;
|
|
@@ -8336,7 +8363,10 @@ type CreateProjectResponse = {
|
|
|
8336
8363
|
} | {
|
|
8337
8364
|
type: 'postgres-url-no-ssl';
|
|
8338
8365
|
storeId: string;
|
|
8339
|
-
} |
|
|
8366
|
+
} | {
|
|
8367
|
+
type: 'integration-store-secret';
|
|
8368
|
+
storeId: string;
|
|
8369
|
+
} | null;
|
|
8340
8370
|
/**
|
|
8341
8371
|
* Whether `value` is decrypted.
|
|
8342
8372
|
*/
|
|
@@ -8468,6 +8498,8 @@ type CreateProjectResponse = {
|
|
|
8468
8498
|
rootDirectory?: string | null;
|
|
8469
8499
|
serverlessFunctionRegion?: string | null;
|
|
8470
8500
|
serverlessFunctionZeroConfigFailover?: boolean;
|
|
8501
|
+
skewProtectionBoundaryAt?: number;
|
|
8502
|
+
skewProtectionMaxAge?: number;
|
|
8471
8503
|
skipGitConnectDuringLink?: boolean;
|
|
8472
8504
|
sourceFilesOutsideRootDirectory?: boolean;
|
|
8473
8505
|
ssoProtection?: {
|
|
@@ -8598,6 +8630,7 @@ type CreateProjectResponse = {
|
|
|
8598
8630
|
notificationUsageAlert?: ACLAction[];
|
|
8599
8631
|
notificationCustomerBudget?: ACLAction[];
|
|
8600
8632
|
notificationStatementOfReasons?: ACLAction[];
|
|
8633
|
+
oauth2Connection?: ACLAction[];
|
|
8601
8634
|
openTelemetryEndpoint?: ACLAction[];
|
|
8602
8635
|
paymentMethod?: ACLAction[];
|
|
8603
8636
|
permissions?: ACLAction[];
|
|
@@ -8645,6 +8678,7 @@ type CreateProjectResponse = {
|
|
|
8645
8678
|
['webhook-event']?: ACLAction[];
|
|
8646
8679
|
endpointVerification?: ACLAction[];
|
|
8647
8680
|
projectTransferIn?: ACLAction[];
|
|
8681
|
+
oauth2Application?: ACLAction[];
|
|
8648
8682
|
aliasProject?: ACLAction[];
|
|
8649
8683
|
aliasProtectionBypass?: ACLAction[];
|
|
8650
8684
|
productionAliasProtectionBypass?: ACLAction[];
|
|
@@ -8687,6 +8721,7 @@ type CreateProjectResponse = {
|
|
|
8687
8721
|
projectAnalyticsUsage?: ACLAction[];
|
|
8688
8722
|
projectSupportCase?: ACLAction[];
|
|
8689
8723
|
projectSupportCaseComment?: ACLAction[];
|
|
8724
|
+
skewProtection?: ACLAction[];
|
|
8690
8725
|
analytics?: ACLAction[];
|
|
8691
8726
|
trustedIps?: ACLAction[];
|
|
8692
8727
|
webAnalytics?: ACLAction[];
|
|
@@ -8743,6 +8778,7 @@ type CreateProjectResponse = {
|
|
|
8743
8778
|
attackModeUpdatedAt?: number;
|
|
8744
8779
|
firewallEnabled?: boolean;
|
|
8745
8780
|
firewallUpdatedAt?: number;
|
|
8781
|
+
attackModeActiveUntil?: number | null;
|
|
8746
8782
|
};
|
|
8747
8783
|
};
|
|
8748
8784
|
type CreateProjectRequestBody = {
|
|
@@ -8998,7 +9034,10 @@ type GetProjectResponse = {
|
|
|
8998
9034
|
} | {
|
|
8999
9035
|
type: 'postgres-url-no-ssl';
|
|
9000
9036
|
storeId: string;
|
|
9001
|
-
} |
|
|
9037
|
+
} | {
|
|
9038
|
+
type: 'integration-store-secret';
|
|
9039
|
+
storeId: string;
|
|
9040
|
+
} | null;
|
|
9002
9041
|
/**
|
|
9003
9042
|
* Whether `value` is decrypted.
|
|
9004
9043
|
*/
|
|
@@ -9130,6 +9169,8 @@ type GetProjectResponse = {
|
|
|
9130
9169
|
rootDirectory?: string | null;
|
|
9131
9170
|
serverlessFunctionRegion?: string | null;
|
|
9132
9171
|
serverlessFunctionZeroConfigFailover?: boolean;
|
|
9172
|
+
skewProtectionBoundaryAt?: number;
|
|
9173
|
+
skewProtectionMaxAge?: number;
|
|
9133
9174
|
skipGitConnectDuringLink?: boolean;
|
|
9134
9175
|
sourceFilesOutsideRootDirectory?: boolean;
|
|
9135
9176
|
ssoProtection?: {
|
|
@@ -9260,6 +9301,7 @@ type GetProjectResponse = {
|
|
|
9260
9301
|
notificationUsageAlert?: ACLAction[];
|
|
9261
9302
|
notificationCustomerBudget?: ACLAction[];
|
|
9262
9303
|
notificationStatementOfReasons?: ACLAction[];
|
|
9304
|
+
oauth2Connection?: ACLAction[];
|
|
9263
9305
|
openTelemetryEndpoint?: ACLAction[];
|
|
9264
9306
|
paymentMethod?: ACLAction[];
|
|
9265
9307
|
permissions?: ACLAction[];
|
|
@@ -9307,6 +9349,7 @@ type GetProjectResponse = {
|
|
|
9307
9349
|
['webhook-event']?: ACLAction[];
|
|
9308
9350
|
endpointVerification?: ACLAction[];
|
|
9309
9351
|
projectTransferIn?: ACLAction[];
|
|
9352
|
+
oauth2Application?: ACLAction[];
|
|
9310
9353
|
aliasProject?: ACLAction[];
|
|
9311
9354
|
aliasProtectionBypass?: ACLAction[];
|
|
9312
9355
|
productionAliasProtectionBypass?: ACLAction[];
|
|
@@ -9349,6 +9392,7 @@ type GetProjectResponse = {
|
|
|
9349
9392
|
projectAnalyticsUsage?: ACLAction[];
|
|
9350
9393
|
projectSupportCase?: ACLAction[];
|
|
9351
9394
|
projectSupportCaseComment?: ACLAction[];
|
|
9395
|
+
skewProtection?: ACLAction[];
|
|
9352
9396
|
analytics?: ACLAction[];
|
|
9353
9397
|
trustedIps?: ACLAction[];
|
|
9354
9398
|
webAnalytics?: ACLAction[];
|
|
@@ -9405,6 +9449,7 @@ type GetProjectResponse = {
|
|
|
9405
9449
|
attackModeUpdatedAt?: number;
|
|
9406
9450
|
firewallEnabled?: boolean;
|
|
9407
9451
|
firewallUpdatedAt?: number;
|
|
9452
|
+
attackModeActiveUntil?: number | null;
|
|
9408
9453
|
};
|
|
9409
9454
|
};
|
|
9410
9455
|
type GetProjectVariables = {
|
|
@@ -9554,7 +9599,10 @@ type UpdateProjectResponse = {
|
|
|
9554
9599
|
} | {
|
|
9555
9600
|
type: 'postgres-url-no-ssl';
|
|
9556
9601
|
storeId: string;
|
|
9557
|
-
} |
|
|
9602
|
+
} | {
|
|
9603
|
+
type: 'integration-store-secret';
|
|
9604
|
+
storeId: string;
|
|
9605
|
+
} | null;
|
|
9558
9606
|
/**
|
|
9559
9607
|
* Whether `value` is decrypted.
|
|
9560
9608
|
*/
|
|
@@ -9686,6 +9734,8 @@ type UpdateProjectResponse = {
|
|
|
9686
9734
|
rootDirectory?: string | null;
|
|
9687
9735
|
serverlessFunctionRegion?: string | null;
|
|
9688
9736
|
serverlessFunctionZeroConfigFailover?: boolean;
|
|
9737
|
+
skewProtectionBoundaryAt?: number;
|
|
9738
|
+
skewProtectionMaxAge?: number;
|
|
9689
9739
|
skipGitConnectDuringLink?: boolean;
|
|
9690
9740
|
sourceFilesOutsideRootDirectory?: boolean;
|
|
9691
9741
|
ssoProtection?: {
|
|
@@ -9816,6 +9866,7 @@ type UpdateProjectResponse = {
|
|
|
9816
9866
|
notificationUsageAlert?: ACLAction[];
|
|
9817
9867
|
notificationCustomerBudget?: ACLAction[];
|
|
9818
9868
|
notificationStatementOfReasons?: ACLAction[];
|
|
9869
|
+
oauth2Connection?: ACLAction[];
|
|
9819
9870
|
openTelemetryEndpoint?: ACLAction[];
|
|
9820
9871
|
paymentMethod?: ACLAction[];
|
|
9821
9872
|
permissions?: ACLAction[];
|
|
@@ -9863,6 +9914,7 @@ type UpdateProjectResponse = {
|
|
|
9863
9914
|
['webhook-event']?: ACLAction[];
|
|
9864
9915
|
endpointVerification?: ACLAction[];
|
|
9865
9916
|
projectTransferIn?: ACLAction[];
|
|
9917
|
+
oauth2Application?: ACLAction[];
|
|
9866
9918
|
aliasProject?: ACLAction[];
|
|
9867
9919
|
aliasProtectionBypass?: ACLAction[];
|
|
9868
9920
|
productionAliasProtectionBypass?: ACLAction[];
|
|
@@ -9905,6 +9957,7 @@ type UpdateProjectResponse = {
|
|
|
9905
9957
|
projectAnalyticsUsage?: ACLAction[];
|
|
9906
9958
|
projectSupportCase?: ACLAction[];
|
|
9907
9959
|
projectSupportCaseComment?: ACLAction[];
|
|
9960
|
+
skewProtection?: ACLAction[];
|
|
9908
9961
|
analytics?: ACLAction[];
|
|
9909
9962
|
trustedIps?: ACLAction[];
|
|
9910
9963
|
webAnalytics?: ACLAction[];
|
|
@@ -9961,6 +10014,7 @@ type UpdateProjectResponse = {
|
|
|
9961
10014
|
attackModeUpdatedAt?: number;
|
|
9962
10015
|
firewallEnabled?: boolean;
|
|
9963
10016
|
firewallUpdatedAt?: number;
|
|
10017
|
+
attackModeActiveUntil?: number | null;
|
|
9964
10018
|
};
|
|
9965
10019
|
};
|
|
9966
10020
|
type UpdateProjectRequestBody = {
|
|
@@ -10008,6 +10062,8 @@ type UpdateProjectRequestBody = {
|
|
|
10008
10062
|
value: string;
|
|
10009
10063
|
/**
|
|
10010
10064
|
* An optional note explaining what the IP address or subnet is used for
|
|
10065
|
+
*
|
|
10066
|
+
* @maxLength 20
|
|
10011
10067
|
*/
|
|
10012
10068
|
note?: string;
|
|
10013
10069
|
}[];
|
|
@@ -10093,6 +10149,18 @@ type UpdateProjectRequestBody = {
|
|
|
10093
10149
|
* Specifies whether Zero Config Failover is enabled for this project.
|
|
10094
10150
|
*/
|
|
10095
10151
|
serverlessFunctionZeroConfigFailover?: boolean;
|
|
10152
|
+
/**
|
|
10153
|
+
* Deployments created before this absolute datetime have Skew Protection disabled. Value is in milliseconds since epoch to match \"createdAt\" fields.
|
|
10154
|
+
*
|
|
10155
|
+
* @minimum 0
|
|
10156
|
+
*/
|
|
10157
|
+
skewProtectionBoundaryAt?: number;
|
|
10158
|
+
/**
|
|
10159
|
+
* Deployments created before this rolling window have Skew Protection disabled. Value is in seconds to match \"revalidate\" fields.
|
|
10160
|
+
*
|
|
10161
|
+
* @minimum 0
|
|
10162
|
+
*/
|
|
10163
|
+
skewProtectionMaxAge?: number;
|
|
10096
10164
|
/**
|
|
10097
10165
|
* Opts-out of the message prompting a CLI user to connect a Git repository in `vercel link`.
|
|
10098
10166
|
*
|
|
@@ -10605,7 +10673,10 @@ declare const filterProjectEnvs: (variables: FilterProjectEnvsVariables, signal?
|
|
|
10605
10673
|
} | {
|
|
10606
10674
|
type: 'postgres-url-no-ssl';
|
|
10607
10675
|
storeId: string;
|
|
10608
|
-
} |
|
|
10676
|
+
} | {
|
|
10677
|
+
type: 'integration-store-secret';
|
|
10678
|
+
storeId: string;
|
|
10679
|
+
} | null;
|
|
10609
10680
|
/**
|
|
10610
10681
|
* Whether `value` is decrypted.
|
|
10611
10682
|
*/
|
|
@@ -10666,7 +10737,10 @@ declare const filterProjectEnvs: (variables: FilterProjectEnvsVariables, signal?
|
|
|
10666
10737
|
} | {
|
|
10667
10738
|
type: 'postgres-url-no-ssl';
|
|
10668
10739
|
storeId: string;
|
|
10669
|
-
} |
|
|
10740
|
+
} | {
|
|
10741
|
+
type: 'integration-store-secret';
|
|
10742
|
+
storeId: string;
|
|
10743
|
+
} | null;
|
|
10670
10744
|
/**
|
|
10671
10745
|
* Whether `value` is decrypted.
|
|
10672
10746
|
*/
|
|
@@ -10729,7 +10803,10 @@ declare const filterProjectEnvs: (variables: FilterProjectEnvsVariables, signal?
|
|
|
10729
10803
|
} | {
|
|
10730
10804
|
type: 'postgres-url-no-ssl';
|
|
10731
10805
|
storeId: string;
|
|
10732
|
-
} |
|
|
10806
|
+
} | {
|
|
10807
|
+
type: 'integration-store-secret';
|
|
10808
|
+
storeId: string;
|
|
10809
|
+
} | null;
|
|
10733
10810
|
/**
|
|
10734
10811
|
* Whether `value` is decrypted.
|
|
10735
10812
|
*/
|
|
@@ -10817,7 +10894,10 @@ declare const getProjectEnv: (variables: GetProjectEnvVariables, signal?: AbortS
|
|
|
10817
10894
|
} | {
|
|
10818
10895
|
type: 'postgres-url-no-ssl';
|
|
10819
10896
|
storeId: string;
|
|
10820
|
-
} |
|
|
10897
|
+
} | {
|
|
10898
|
+
type: 'integration-store-secret';
|
|
10899
|
+
storeId: string;
|
|
10900
|
+
} | null;
|
|
10821
10901
|
comment?: string;
|
|
10822
10902
|
} | {
|
|
10823
10903
|
target?: ('production' | 'preview' | 'development' | 'preview' | 'development' | 'preview' | 'development')[] | ('production' | 'preview' | 'development' | 'preview' | 'development' | 'preview' | 'development');
|
|
@@ -10872,7 +10952,10 @@ declare const getProjectEnv: (variables: GetProjectEnvVariables, signal?: AbortS
|
|
|
10872
10952
|
} | {
|
|
10873
10953
|
type: 'postgres-url-no-ssl';
|
|
10874
10954
|
storeId: string;
|
|
10875
|
-
} |
|
|
10955
|
+
} | {
|
|
10956
|
+
type: 'integration-store-secret';
|
|
10957
|
+
storeId: string;
|
|
10958
|
+
} | null;
|
|
10876
10959
|
/**
|
|
10877
10960
|
* Whether `value` is decrypted.
|
|
10878
10961
|
*/
|
|
@@ -10954,7 +11037,10 @@ type CreateProjectEnvResponse = {
|
|
|
10954
11037
|
} | {
|
|
10955
11038
|
type: 'postgres-url-no-ssl';
|
|
10956
11039
|
storeId: string;
|
|
10957
|
-
} |
|
|
11040
|
+
} | {
|
|
11041
|
+
type: 'integration-store-secret';
|
|
11042
|
+
storeId: string;
|
|
11043
|
+
} | null;
|
|
10958
11044
|
/**
|
|
10959
11045
|
* Whether `value` is decrypted.
|
|
10960
11046
|
*/
|
|
@@ -11014,7 +11100,10 @@ type CreateProjectEnvResponse = {
|
|
|
11014
11100
|
} | {
|
|
11015
11101
|
type: 'postgres-url-no-ssl';
|
|
11016
11102
|
storeId: string;
|
|
11017
|
-
} |
|
|
11103
|
+
} | {
|
|
11104
|
+
type: 'integration-store-secret';
|
|
11105
|
+
storeId: string;
|
|
11106
|
+
} | null;
|
|
11018
11107
|
/**
|
|
11019
11108
|
* Whether `value` is decrypted.
|
|
11020
11109
|
*/
|
|
@@ -11207,7 +11296,10 @@ declare const removeProjectEnv: (variables: RemoveProjectEnvVariables, signal?:
|
|
|
11207
11296
|
} | {
|
|
11208
11297
|
type: 'postgres-url-no-ssl';
|
|
11209
11298
|
storeId: string;
|
|
11210
|
-
} |
|
|
11299
|
+
} | {
|
|
11300
|
+
type: 'integration-store-secret';
|
|
11301
|
+
storeId: string;
|
|
11302
|
+
} | null;
|
|
11211
11303
|
/**
|
|
11212
11304
|
* Whether `value` is decrypted.
|
|
11213
11305
|
*/
|
|
@@ -11266,7 +11358,10 @@ declare const removeProjectEnv: (variables: RemoveProjectEnvVariables, signal?:
|
|
|
11266
11358
|
} | {
|
|
11267
11359
|
type: 'postgres-url-no-ssl';
|
|
11268
11360
|
storeId: string;
|
|
11269
|
-
} |
|
|
11361
|
+
} | {
|
|
11362
|
+
type: 'integration-store-secret';
|
|
11363
|
+
storeId: string;
|
|
11364
|
+
} | null;
|
|
11270
11365
|
/**
|
|
11271
11366
|
* Whether `value` is decrypted.
|
|
11272
11367
|
*/
|
|
@@ -11325,7 +11420,10 @@ declare const removeProjectEnv: (variables: RemoveProjectEnvVariables, signal?:
|
|
|
11325
11420
|
} | {
|
|
11326
11421
|
type: 'postgres-url-no-ssl';
|
|
11327
11422
|
storeId: string;
|
|
11328
|
-
} |
|
|
11423
|
+
} | {
|
|
11424
|
+
type: 'integration-store-secret';
|
|
11425
|
+
storeId: string;
|
|
11426
|
+
} | null;
|
|
11329
11427
|
/**
|
|
11330
11428
|
* Whether `value` is decrypted.
|
|
11331
11429
|
*/
|
|
@@ -11406,7 +11504,10 @@ type EditProjectEnvResponse = {
|
|
|
11406
11504
|
} | {
|
|
11407
11505
|
type: 'postgres-url-no-ssl';
|
|
11408
11506
|
storeId: string;
|
|
11409
|
-
} |
|
|
11507
|
+
} | {
|
|
11508
|
+
type: 'integration-store-secret';
|
|
11509
|
+
storeId: string;
|
|
11510
|
+
} | null;
|
|
11410
11511
|
/**
|
|
11411
11512
|
* Whether `value` is decrypted.
|
|
11412
11513
|
*/
|
|
@@ -12220,6 +12321,7 @@ type CreateTeamResponse = {
|
|
|
12220
12321
|
end: number;
|
|
12221
12322
|
} | null;
|
|
12222
12323
|
plan: 'pro' | 'enterprise' | 'hobby';
|
|
12324
|
+
planIteration?: string;
|
|
12223
12325
|
platform?: 'stripe' | 'stripeTestMode';
|
|
12224
12326
|
orbCustomerId?: string;
|
|
12225
12327
|
syncedAt?: number;
|
|
@@ -14863,7 +14965,10 @@ declare const operationsByTag: {
|
|
|
14863
14965
|
} | {
|
|
14864
14966
|
type: 'postgres-url-no-ssl';
|
|
14865
14967
|
storeId: string;
|
|
14866
|
-
} |
|
|
14968
|
+
} | {
|
|
14969
|
+
type: 'integration-store-secret';
|
|
14970
|
+
storeId: string;
|
|
14971
|
+
} | null;
|
|
14867
14972
|
/**
|
|
14868
14973
|
* Whether `value` is decrypted.
|
|
14869
14974
|
*/
|
|
@@ -14924,7 +15029,10 @@ declare const operationsByTag: {
|
|
|
14924
15029
|
} | {
|
|
14925
15030
|
type: 'postgres-url-no-ssl';
|
|
14926
15031
|
storeId: string;
|
|
14927
|
-
} |
|
|
15032
|
+
} | {
|
|
15033
|
+
type: 'integration-store-secret';
|
|
15034
|
+
storeId: string;
|
|
15035
|
+
} | null;
|
|
14928
15036
|
/**
|
|
14929
15037
|
* Whether `value` is decrypted.
|
|
14930
15038
|
*/
|
|
@@ -14987,7 +15095,10 @@ declare const operationsByTag: {
|
|
|
14987
15095
|
} | {
|
|
14988
15096
|
type: 'postgres-url-no-ssl';
|
|
14989
15097
|
storeId: string;
|
|
14990
|
-
} |
|
|
15098
|
+
} | {
|
|
15099
|
+
type: 'integration-store-secret';
|
|
15100
|
+
storeId: string;
|
|
15101
|
+
} | null;
|
|
14991
15102
|
/**
|
|
14992
15103
|
* Whether `value` is decrypted.
|
|
14993
15104
|
*/
|
|
@@ -15049,7 +15160,10 @@ declare const operationsByTag: {
|
|
|
15049
15160
|
} | {
|
|
15050
15161
|
type: 'postgres-url-no-ssl';
|
|
15051
15162
|
storeId: string;
|
|
15052
|
-
} |
|
|
15163
|
+
} | {
|
|
15164
|
+
type: 'integration-store-secret';
|
|
15165
|
+
storeId: string;
|
|
15166
|
+
} | null;
|
|
15053
15167
|
comment?: string;
|
|
15054
15168
|
} | {
|
|
15055
15169
|
target?: ('production' | 'preview' | 'development' | 'preview' | 'development' | 'preview' | 'development')[] | ('production' | 'preview' | 'development' | 'preview' | 'development' | 'preview' | 'development');
|
|
@@ -15104,7 +15218,10 @@ declare const operationsByTag: {
|
|
|
15104
15218
|
} | {
|
|
15105
15219
|
type: 'postgres-url-no-ssl';
|
|
15106
15220
|
storeId: string;
|
|
15107
|
-
} |
|
|
15221
|
+
} | {
|
|
15222
|
+
type: 'integration-store-secret';
|
|
15223
|
+
storeId: string;
|
|
15224
|
+
} | null;
|
|
15108
15225
|
/**
|
|
15109
15226
|
* Whether `value` is decrypted.
|
|
15110
15227
|
*/
|
|
@@ -15166,7 +15283,10 @@ declare const operationsByTag: {
|
|
|
15166
15283
|
} | {
|
|
15167
15284
|
type: 'postgres-url-no-ssl';
|
|
15168
15285
|
storeId: string;
|
|
15169
|
-
} |
|
|
15286
|
+
} | {
|
|
15287
|
+
type: 'integration-store-secret';
|
|
15288
|
+
storeId: string;
|
|
15289
|
+
} | null;
|
|
15170
15290
|
/**
|
|
15171
15291
|
* Whether `value` is decrypted.
|
|
15172
15292
|
*/
|
|
@@ -15225,7 +15345,10 @@ declare const operationsByTag: {
|
|
|
15225
15345
|
} | {
|
|
15226
15346
|
type: 'postgres-url-no-ssl';
|
|
15227
15347
|
storeId: string;
|
|
15228
|
-
} |
|
|
15348
|
+
} | {
|
|
15349
|
+
type: 'integration-store-secret';
|
|
15350
|
+
storeId: string;
|
|
15351
|
+
} | null;
|
|
15229
15352
|
/**
|
|
15230
15353
|
* Whether `value` is decrypted.
|
|
15231
15354
|
*/
|
|
@@ -15284,7 +15407,10 @@ declare const operationsByTag: {
|
|
|
15284
15407
|
} | {
|
|
15285
15408
|
type: 'postgres-url-no-ssl';
|
|
15286
15409
|
storeId: string;
|
|
15287
|
-
} |
|
|
15410
|
+
} | {
|
|
15411
|
+
type: 'integration-store-secret';
|
|
15412
|
+
storeId: string;
|
|
15413
|
+
} | null;
|
|
15288
15414
|
/**
|
|
15289
15415
|
* Whether `value` is decrypted.
|
|
15290
15416
|
*/
|
|
@@ -18089,7 +18215,7 @@ declare const operationsByPath: {
|
|
|
18089
18215
|
'POST /v1/projects/{idOrName}/members': (variables: AddProjectMemberVariables, signal?: AbortSignal | undefined) => Promise<AddProjectMemberResponse>;
|
|
18090
18216
|
'DELETE /v1/projects/{idOrName}/members/{uid}': (variables: RemoveProjectMemberVariables, signal?: AbortSignal | undefined) => Promise<RemoveProjectMemberResponse>;
|
|
18091
18217
|
'GET /v9/projects': (variables: GetProjectsVariables, signal?: AbortSignal | undefined) => Promise<GetProjectsResponse>;
|
|
18092
|
-
'POST /
|
|
18218
|
+
'POST /v10/projects': (variables: CreateProjectVariables, signal?: AbortSignal | undefined) => Promise<CreateProjectResponse>;
|
|
18093
18219
|
'GET /v9/projects/{idOrName}': (variables: GetProjectVariables, signal?: AbortSignal | undefined) => Promise<GetProjectResponse>;
|
|
18094
18220
|
'PATCH /v9/projects/{idOrName}': (variables: UpdateProjectVariables, signal?: AbortSignal | undefined) => Promise<UpdateProjectResponse>;
|
|
18095
18221
|
'DELETE /v9/projects/{idOrName}': (variables: DeleteProjectVariables, signal?: AbortSignal | undefined) => Promise<undefined>;
|
|
@@ -18113,7 +18239,7 @@ declare const operationsByPath: {
|
|
|
18113
18239
|
gitBranch?: string;
|
|
18114
18240
|
edgeConfigId?: string | null;
|
|
18115
18241
|
edgeConfigTokenId?: string | null;
|
|
18116
|
-
contentHint?:
|
|
18242
|
+
contentHint?: {
|
|
18117
18243
|
type: "redis-url";
|
|
18118
18244
|
storeId: string;
|
|
18119
18245
|
} | {
|
|
@@ -18152,6 +18278,9 @@ declare const operationsByPath: {
|
|
|
18152
18278
|
} | {
|
|
18153
18279
|
type: "postgres-url-no-ssl";
|
|
18154
18280
|
storeId: string;
|
|
18281
|
+
} | {
|
|
18282
|
+
type: "integration-store-secret";
|
|
18283
|
+
storeId: string;
|
|
18155
18284
|
} | null;
|
|
18156
18285
|
decrypted?: boolean;
|
|
18157
18286
|
comment?: string;
|
|
@@ -18171,7 +18300,7 @@ declare const operationsByPath: {
|
|
|
18171
18300
|
gitBranch?: string;
|
|
18172
18301
|
edgeConfigId?: string | null;
|
|
18173
18302
|
edgeConfigTokenId?: string | null;
|
|
18174
|
-
contentHint?:
|
|
18303
|
+
contentHint?: {
|
|
18175
18304
|
type: "redis-url";
|
|
18176
18305
|
storeId: string;
|
|
18177
18306
|
} | {
|
|
@@ -18210,6 +18339,9 @@ declare const operationsByPath: {
|
|
|
18210
18339
|
} | {
|
|
18211
18340
|
type: "postgres-url-no-ssl";
|
|
18212
18341
|
storeId: string;
|
|
18342
|
+
} | {
|
|
18343
|
+
type: "integration-store-secret";
|
|
18344
|
+
storeId: string;
|
|
18213
18345
|
} | null;
|
|
18214
18346
|
decrypted?: boolean;
|
|
18215
18347
|
comment?: string;
|
|
@@ -18231,7 +18363,7 @@ declare const operationsByPath: {
|
|
|
18231
18363
|
gitBranch?: string;
|
|
18232
18364
|
edgeConfigId?: string | null;
|
|
18233
18365
|
edgeConfigTokenId?: string | null;
|
|
18234
|
-
contentHint?:
|
|
18366
|
+
contentHint?: {
|
|
18235
18367
|
type: "redis-url";
|
|
18236
18368
|
storeId: string;
|
|
18237
18369
|
} | {
|
|
@@ -18270,6 +18402,9 @@ declare const operationsByPath: {
|
|
|
18270
18402
|
} | {
|
|
18271
18403
|
type: "postgres-url-no-ssl";
|
|
18272
18404
|
storeId: string;
|
|
18405
|
+
} | {
|
|
18406
|
+
type: "integration-store-secret";
|
|
18407
|
+
storeId: string;
|
|
18273
18408
|
} | null;
|
|
18274
18409
|
decrypted?: boolean;
|
|
18275
18410
|
comment?: string;
|
|
@@ -18290,7 +18425,7 @@ declare const operationsByPath: {
|
|
|
18290
18425
|
gitBranch?: string;
|
|
18291
18426
|
edgeConfigId?: string | null;
|
|
18292
18427
|
edgeConfigTokenId?: string | null;
|
|
18293
|
-
contentHint?:
|
|
18428
|
+
contentHint?: {
|
|
18294
18429
|
type: "redis-url";
|
|
18295
18430
|
storeId: string;
|
|
18296
18431
|
} | {
|
|
@@ -18329,6 +18464,9 @@ declare const operationsByPath: {
|
|
|
18329
18464
|
} | {
|
|
18330
18465
|
type: "postgres-url-no-ssl";
|
|
18331
18466
|
storeId: string;
|
|
18467
|
+
} | {
|
|
18468
|
+
type: "integration-store-secret";
|
|
18469
|
+
storeId: string;
|
|
18332
18470
|
} | null;
|
|
18333
18471
|
comment?: string;
|
|
18334
18472
|
} | {
|
|
@@ -18345,7 +18483,7 @@ declare const operationsByPath: {
|
|
|
18345
18483
|
gitBranch?: string;
|
|
18346
18484
|
edgeConfigId?: string | null;
|
|
18347
18485
|
edgeConfigTokenId?: string | null;
|
|
18348
|
-
contentHint?:
|
|
18486
|
+
contentHint?: {
|
|
18349
18487
|
type: "redis-url";
|
|
18350
18488
|
storeId: string;
|
|
18351
18489
|
} | {
|
|
@@ -18384,6 +18522,9 @@ declare const operationsByPath: {
|
|
|
18384
18522
|
} | {
|
|
18385
18523
|
type: "postgres-url-no-ssl";
|
|
18386
18524
|
storeId: string;
|
|
18525
|
+
} | {
|
|
18526
|
+
type: "integration-store-secret";
|
|
18527
|
+
storeId: string;
|
|
18387
18528
|
} | null;
|
|
18388
18529
|
decrypted?: boolean;
|
|
18389
18530
|
comment?: string;
|
|
@@ -18404,7 +18545,7 @@ declare const operationsByPath: {
|
|
|
18404
18545
|
gitBranch?: string;
|
|
18405
18546
|
edgeConfigId?: string | null;
|
|
18406
18547
|
edgeConfigTokenId?: string | null;
|
|
18407
|
-
contentHint?:
|
|
18548
|
+
contentHint?: {
|
|
18408
18549
|
type: "redis-url";
|
|
18409
18550
|
storeId: string;
|
|
18410
18551
|
} | {
|
|
@@ -18443,6 +18584,9 @@ declare const operationsByPath: {
|
|
|
18443
18584
|
} | {
|
|
18444
18585
|
type: "postgres-url-no-ssl";
|
|
18445
18586
|
storeId: string;
|
|
18587
|
+
} | {
|
|
18588
|
+
type: "integration-store-secret";
|
|
18589
|
+
storeId: string;
|
|
18446
18590
|
} | null;
|
|
18447
18591
|
decrypted?: boolean;
|
|
18448
18592
|
comment?: string;
|
|
@@ -18460,7 +18604,7 @@ declare const operationsByPath: {
|
|
|
18460
18604
|
gitBranch?: string;
|
|
18461
18605
|
edgeConfigId?: string | null;
|
|
18462
18606
|
edgeConfigTokenId?: string | null;
|
|
18463
|
-
contentHint?:
|
|
18607
|
+
contentHint?: {
|
|
18464
18608
|
type: "redis-url";
|
|
18465
18609
|
storeId: string;
|
|
18466
18610
|
} | {
|
|
@@ -18499,6 +18643,9 @@ declare const operationsByPath: {
|
|
|
18499
18643
|
} | {
|
|
18500
18644
|
type: "postgres-url-no-ssl";
|
|
18501
18645
|
storeId: string;
|
|
18646
|
+
} | {
|
|
18647
|
+
type: "integration-store-secret";
|
|
18648
|
+
storeId: string;
|
|
18502
18649
|
} | null;
|
|
18503
18650
|
decrypted?: boolean;
|
|
18504
18651
|
comment?: string;
|
|
@@ -18516,7 +18663,7 @@ declare const operationsByPath: {
|
|
|
18516
18663
|
gitBranch?: string;
|
|
18517
18664
|
edgeConfigId?: string | null;
|
|
18518
18665
|
edgeConfigTokenId?: string | null;
|
|
18519
|
-
contentHint?:
|
|
18666
|
+
contentHint?: {
|
|
18520
18667
|
type: "redis-url";
|
|
18521
18668
|
storeId: string;
|
|
18522
18669
|
} | {
|
|
@@ -18555,6 +18702,9 @@ declare const operationsByPath: {
|
|
|
18555
18702
|
} | {
|
|
18556
18703
|
type: "postgres-url-no-ssl";
|
|
18557
18704
|
storeId: string;
|
|
18705
|
+
} | {
|
|
18706
|
+
type: "integration-store-secret";
|
|
18707
|
+
storeId: string;
|
|
18558
18708
|
} | null;
|
|
18559
18709
|
decrypted?: boolean;
|
|
18560
18710
|
comment?: string;
|
|
@@ -18601,7 +18751,7 @@ declare const operationsByPath: {
|
|
|
18601
18751
|
framework?: "blitzjs" | "nextjs" | "gatsby" | "remix" | "astro" | "hexo" | "eleventy" | "docusaurus-2" | "docusaurus" | "preact" | "solidstart" | "dojo" | "ember" | "vue" | "scully" | "ionic-angular" | "angular" | "polymer" | "svelte" | "sveltekit" | "sveltekit-1" | "ionic-react" | "create-react-app" | "gridsome" | "umijs" | "sapper" | "saber" | "stencil" | "nuxtjs" | "redwoodjs" | "hugo" | "jekyll" | "brunch" | "middleman" | "zola" | "hydrogen" | "vite" | "vitepress" | "vuepress" | "parcel" | "sanity" | "storybook" | null;
|
|
18602
18752
|
latestDeployment?: string;
|
|
18603
18753
|
}[] | null;
|
|
18604
|
-
events: ("
|
|
18754
|
+
events: ("budget.reached" | "budget.reset" | "domain.created" | "deployment.created" | "deployment.error" | "deployment.canceled" | "deployment.succeeded" | "deployment.ready" | "deployment.check-rerequested" | "integration-configuration.permission-upgraded" | "integration-configuration.removed" | "integration-configuration.scope-change-confirmed" | "project.created" | "project.removed" | "deployment-checks-completed" | "deployment-ready" | "deployment-prepared" | "deployment-error" | "deployment-check-rerequested" | "deployment-canceled" | "project-created" | "project-removed" | "domain-created" | "deployment" | "integration-configuration-permission-updated" | "integration-configuration-removed" | "integration-configuration-scope-change-confirmed" | "test-webhook")[];
|
|
18605
18755
|
id: string;
|
|
18606
18756
|
url: string;
|
|
18607
18757
|
ownerId: string;
|
|
@@ -18609,7 +18759,7 @@ declare const operationsByPath: {
|
|
|
18609
18759
|
updatedAt: number;
|
|
18610
18760
|
projectIds?: string[];
|
|
18611
18761
|
}[] | {
|
|
18612
|
-
events: ("
|
|
18762
|
+
events: ("budget.reached" | "budget.reset" | "domain.created" | "deployment.created" | "deployment.error" | "deployment.canceled" | "deployment.succeeded" | "deployment.ready" | "deployment.check-rerequested" | "integration-configuration.permission-upgraded" | "integration-configuration.removed" | "integration-configuration.scope-change-confirmed" | "project.created" | "project.removed" | "deployment-checks-completed" | "deployment-ready" | "deployment-prepared" | "deployment-error" | "deployment-check-rerequested" | "deployment-canceled" | "project-created" | "project-removed" | "domain-created" | "deployment" | "integration-configuration-permission-updated" | "integration-configuration-removed" | "integration-configuration-scope-change-confirmed" | "test-webhook")[];
|
|
18613
18763
|
id: string;
|
|
18614
18764
|
url: string;
|
|
18615
18765
|
ownerId: string;
|
|
@@ -19286,7 +19436,7 @@ declare class VercelApi {
|
|
|
19286
19436
|
'POST /v1/projects/{idOrName}/members': (variables: AddProjectMemberVariables, signal?: AbortSignal | undefined) => Promise<AddProjectMemberResponse>;
|
|
19287
19437
|
'DELETE /v1/projects/{idOrName}/members/{uid}': (variables: RemoveProjectMemberVariables, signal?: AbortSignal | undefined) => Promise<RemoveProjectMemberResponse>;
|
|
19288
19438
|
'GET /v9/projects': (variables: GetProjectsVariables, signal?: AbortSignal | undefined) => Promise<GetProjectsResponse>;
|
|
19289
|
-
'POST /
|
|
19439
|
+
'POST /v10/projects': (variables: CreateProjectVariables, signal?: AbortSignal | undefined) => Promise<CreateProjectResponse>;
|
|
19290
19440
|
'GET /v9/projects/{idOrName}': (variables: GetProjectVariables, signal?: AbortSignal | undefined) => Promise<GetProjectResponse>;
|
|
19291
19441
|
'PATCH /v9/projects/{idOrName}': (variables: UpdateProjectVariables, signal?: AbortSignal | undefined) => Promise<UpdateProjectResponse>;
|
|
19292
19442
|
'DELETE /v9/projects/{idOrName}': (variables: DeleteProjectVariables, signal?: AbortSignal | undefined) => Promise<undefined>;
|
|
@@ -19310,7 +19460,7 @@ declare class VercelApi {
|
|
|
19310
19460
|
gitBranch?: string;
|
|
19311
19461
|
edgeConfigId?: string | null;
|
|
19312
19462
|
edgeConfigTokenId?: string | null;
|
|
19313
|
-
contentHint?:
|
|
19463
|
+
contentHint?: {
|
|
19314
19464
|
type: "redis-url";
|
|
19315
19465
|
storeId: string;
|
|
19316
19466
|
} | {
|
|
@@ -19349,6 +19499,9 @@ declare class VercelApi {
|
|
|
19349
19499
|
} | {
|
|
19350
19500
|
type: "postgres-url-no-ssl";
|
|
19351
19501
|
storeId: string;
|
|
19502
|
+
} | {
|
|
19503
|
+
type: "integration-store-secret";
|
|
19504
|
+
storeId: string;
|
|
19352
19505
|
} | null;
|
|
19353
19506
|
decrypted?: boolean;
|
|
19354
19507
|
comment?: string;
|
|
@@ -19368,7 +19521,7 @@ declare class VercelApi {
|
|
|
19368
19521
|
gitBranch?: string;
|
|
19369
19522
|
edgeConfigId?: string | null;
|
|
19370
19523
|
edgeConfigTokenId?: string | null;
|
|
19371
|
-
contentHint?:
|
|
19524
|
+
contentHint?: {
|
|
19372
19525
|
type: "redis-url";
|
|
19373
19526
|
storeId: string;
|
|
19374
19527
|
} | {
|
|
@@ -19407,6 +19560,9 @@ declare class VercelApi {
|
|
|
19407
19560
|
} | {
|
|
19408
19561
|
type: "postgres-url-no-ssl";
|
|
19409
19562
|
storeId: string;
|
|
19563
|
+
} | {
|
|
19564
|
+
type: "integration-store-secret";
|
|
19565
|
+
storeId: string;
|
|
19410
19566
|
} | null;
|
|
19411
19567
|
decrypted?: boolean;
|
|
19412
19568
|
comment?: string;
|
|
@@ -19428,7 +19584,7 @@ declare class VercelApi {
|
|
|
19428
19584
|
gitBranch?: string;
|
|
19429
19585
|
edgeConfigId?: string | null;
|
|
19430
19586
|
edgeConfigTokenId?: string | null;
|
|
19431
|
-
contentHint?:
|
|
19587
|
+
contentHint?: {
|
|
19432
19588
|
type: "redis-url";
|
|
19433
19589
|
storeId: string;
|
|
19434
19590
|
} | {
|
|
@@ -19467,6 +19623,9 @@ declare class VercelApi {
|
|
|
19467
19623
|
} | {
|
|
19468
19624
|
type: "postgres-url-no-ssl";
|
|
19469
19625
|
storeId: string;
|
|
19626
|
+
} | {
|
|
19627
|
+
type: "integration-store-secret";
|
|
19628
|
+
storeId: string;
|
|
19470
19629
|
} | null;
|
|
19471
19630
|
decrypted?: boolean;
|
|
19472
19631
|
comment?: string;
|
|
@@ -19487,7 +19646,7 @@ declare class VercelApi {
|
|
|
19487
19646
|
gitBranch?: string;
|
|
19488
19647
|
edgeConfigId?: string | null;
|
|
19489
19648
|
edgeConfigTokenId?: string | null;
|
|
19490
|
-
contentHint?:
|
|
19649
|
+
contentHint?: {
|
|
19491
19650
|
type: "redis-url";
|
|
19492
19651
|
storeId: string;
|
|
19493
19652
|
} | {
|
|
@@ -19526,6 +19685,9 @@ declare class VercelApi {
|
|
|
19526
19685
|
} | {
|
|
19527
19686
|
type: "postgres-url-no-ssl";
|
|
19528
19687
|
storeId: string;
|
|
19688
|
+
} | {
|
|
19689
|
+
type: "integration-store-secret";
|
|
19690
|
+
storeId: string;
|
|
19529
19691
|
} | null;
|
|
19530
19692
|
comment?: string;
|
|
19531
19693
|
} | {
|
|
@@ -19542,7 +19704,7 @@ declare class VercelApi {
|
|
|
19542
19704
|
gitBranch?: string;
|
|
19543
19705
|
edgeConfigId?: string | null;
|
|
19544
19706
|
edgeConfigTokenId?: string | null;
|
|
19545
|
-
contentHint?:
|
|
19707
|
+
contentHint?: {
|
|
19546
19708
|
type: "redis-url";
|
|
19547
19709
|
storeId: string;
|
|
19548
19710
|
} | {
|
|
@@ -19581,6 +19743,9 @@ declare class VercelApi {
|
|
|
19581
19743
|
} | {
|
|
19582
19744
|
type: "postgres-url-no-ssl";
|
|
19583
19745
|
storeId: string;
|
|
19746
|
+
} | {
|
|
19747
|
+
type: "integration-store-secret";
|
|
19748
|
+
storeId: string;
|
|
19584
19749
|
} | null;
|
|
19585
19750
|
decrypted?: boolean;
|
|
19586
19751
|
comment?: string;
|
|
@@ -19601,7 +19766,7 @@ declare class VercelApi {
|
|
|
19601
19766
|
gitBranch?: string;
|
|
19602
19767
|
edgeConfigId?: string | null;
|
|
19603
19768
|
edgeConfigTokenId?: string | null;
|
|
19604
|
-
contentHint?:
|
|
19769
|
+
contentHint?: {
|
|
19605
19770
|
type: "redis-url";
|
|
19606
19771
|
storeId: string;
|
|
19607
19772
|
} | {
|
|
@@ -19640,6 +19805,9 @@ declare class VercelApi {
|
|
|
19640
19805
|
} | {
|
|
19641
19806
|
type: "postgres-url-no-ssl";
|
|
19642
19807
|
storeId: string;
|
|
19808
|
+
} | {
|
|
19809
|
+
type: "integration-store-secret";
|
|
19810
|
+
storeId: string;
|
|
19643
19811
|
} | null;
|
|
19644
19812
|
decrypted?: boolean;
|
|
19645
19813
|
comment?: string;
|
|
@@ -19657,7 +19825,7 @@ declare class VercelApi {
|
|
|
19657
19825
|
gitBranch?: string;
|
|
19658
19826
|
edgeConfigId?: string | null;
|
|
19659
19827
|
edgeConfigTokenId?: string | null;
|
|
19660
|
-
contentHint?:
|
|
19828
|
+
contentHint?: {
|
|
19661
19829
|
type: "redis-url";
|
|
19662
19830
|
storeId: string;
|
|
19663
19831
|
} | {
|
|
@@ -19696,6 +19864,9 @@ declare class VercelApi {
|
|
|
19696
19864
|
} | {
|
|
19697
19865
|
type: "postgres-url-no-ssl";
|
|
19698
19866
|
storeId: string;
|
|
19867
|
+
} | {
|
|
19868
|
+
type: "integration-store-secret";
|
|
19869
|
+
storeId: string;
|
|
19699
19870
|
} | null;
|
|
19700
19871
|
decrypted?: boolean;
|
|
19701
19872
|
comment?: string;
|
|
@@ -19713,7 +19884,7 @@ declare class VercelApi {
|
|
|
19713
19884
|
gitBranch?: string;
|
|
19714
19885
|
edgeConfigId?: string | null;
|
|
19715
19886
|
edgeConfigTokenId?: string | null;
|
|
19716
|
-
contentHint?:
|
|
19887
|
+
contentHint?: {
|
|
19717
19888
|
type: "redis-url";
|
|
19718
19889
|
storeId: string;
|
|
19719
19890
|
} | {
|
|
@@ -19752,6 +19923,9 @@ declare class VercelApi {
|
|
|
19752
19923
|
} | {
|
|
19753
19924
|
type: "postgres-url-no-ssl";
|
|
19754
19925
|
storeId: string;
|
|
19926
|
+
} | {
|
|
19927
|
+
type: "integration-store-secret";
|
|
19928
|
+
storeId: string;
|
|
19755
19929
|
} | null;
|
|
19756
19930
|
decrypted?: boolean;
|
|
19757
19931
|
comment?: string;
|
|
@@ -19798,7 +19972,7 @@ declare class VercelApi {
|
|
|
19798
19972
|
framework?: "blitzjs" | "nextjs" | "gatsby" | "remix" | "astro" | "hexo" | "eleventy" | "docusaurus-2" | "docusaurus" | "preact" | "solidstart" | "dojo" | "ember" | "vue" | "scully" | "ionic-angular" | "angular" | "polymer" | "svelte" | "sveltekit" | "sveltekit-1" | "ionic-react" | "create-react-app" | "gridsome" | "umijs" | "sapper" | "saber" | "stencil" | "nuxtjs" | "redwoodjs" | "hugo" | "jekyll" | "brunch" | "middleman" | "zola" | "hydrogen" | "vite" | "vitepress" | "vuepress" | "parcel" | "sanity" | "storybook" | null;
|
|
19799
19973
|
latestDeployment?: string;
|
|
19800
19974
|
}[] | null;
|
|
19801
|
-
events: ("
|
|
19975
|
+
events: ("budget.reached" | "budget.reset" | "domain.created" | "deployment.created" | "deployment.error" | "deployment.canceled" | "deployment.succeeded" | "deployment.ready" | "deployment.check-rerequested" | "integration-configuration.permission-upgraded" | "integration-configuration.removed" | "integration-configuration.scope-change-confirmed" | "project.created" | "project.removed" | "deployment-checks-completed" | "deployment-ready" | "deployment-prepared" | "deployment-error" | "deployment-check-rerequested" | "deployment-canceled" | "project-created" | "project-removed" | "domain-created" | "deployment" | "integration-configuration-permission-updated" | "integration-configuration-removed" | "integration-configuration-scope-change-confirmed" | "test-webhook")[];
|
|
19802
19976
|
id: string;
|
|
19803
19977
|
url: string;
|
|
19804
19978
|
ownerId: string;
|
|
@@ -19806,7 +19980,7 @@ declare class VercelApi {
|
|
|
19806
19980
|
updatedAt: number;
|
|
19807
19981
|
projectIds?: string[];
|
|
19808
19982
|
}[] | {
|
|
19809
|
-
events: ("
|
|
19983
|
+
events: ("budget.reached" | "budget.reset" | "domain.created" | "deployment.created" | "deployment.error" | "deployment.canceled" | "deployment.succeeded" | "deployment.ready" | "deployment.check-rerequested" | "integration-configuration.permission-upgraded" | "integration-configuration.removed" | "integration-configuration.scope-change-confirmed" | "project.created" | "project.removed" | "deployment-checks-completed" | "deployment-ready" | "deployment-prepared" | "deployment-error" | "deployment-check-rerequested" | "deployment-canceled" | "project-created" | "project-removed" | "domain-created" | "deployment" | "integration-configuration-permission-updated" | "integration-configuration-removed" | "integration-configuration-scope-change-confirmed" | "test-webhook")[];
|
|
19810
19984
|
id: string;
|
|
19811
19985
|
url: string;
|
|
19812
19986
|
ownerId: string;
|
package/dist/index.mjs
CHANGED
|
@@ -468,7 +468,7 @@ const getProjects = (variables, signal) => fetch$1({
|
|
|
468
468
|
* Allows to create a new project with the provided configuration. It only requires the project `name` but more configuration can be provided to override the defaults.
|
|
469
469
|
*/
|
|
470
470
|
const createProject = (variables, signal) => fetch$1({
|
|
471
|
-
url: '/
|
|
471
|
+
url: '/v10/projects',
|
|
472
472
|
method: 'post',
|
|
473
473
|
...variables,
|
|
474
474
|
signal
|