vercel-api-js 0.1.19 → 0.1.20
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 +3 -3
- package/CHANGELOG.md +9 -0
- package/dist/index.cjs +2 -7
- package/dist/index.d.ts +289 -116
- package/dist/index.mjs +2 -7
- package/package.json +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
> vercel-api-js@0.1.
|
|
2
|
+
> vercel-api-js@0.1.20 build /home/runner/work/openapi-clients/openapi-clients/packages/vercel-api-js
|
|
3
3
|
> rimraf dist && rollup -c
|
|
4
4
|
|
|
5
5
|
[36m
|
|
6
6
|
[1m./src/index.ts[22m → [1mdist/index.cjs, dist/index.mjs[22m...[39m
|
|
7
|
-
[32mcreated [1mdist/index.cjs, dist/index.mjs[22m in [
|
|
7
|
+
[32mcreated [1mdist/index.cjs, dist/index.mjs[22m in [1m6.5s[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 [
|
|
10
|
+
[32mcreated [1mdist/index.d.ts[22m in [1m7s[22m[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# vercel-api-js
|
|
2
2
|
|
|
3
|
+
## 0.1.20
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 22694e7: [OpenAPI] Spec updates for vercel-api-js
|
|
8
|
+
- b0d9604: [OpenAPI] Spec updates for vercel-api-js
|
|
9
|
+
- c2b314e: [OpenAPI] Remove oauth configurations
|
|
10
|
+
- 7f508cc: [OpenAPI] Add new projects array response
|
|
11
|
+
|
|
3
12
|
## 0.1.19
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
package/dist/index.cjs
CHANGED
|
@@ -178,7 +178,7 @@ const rerequestCheck = (variables, signal) => fetch$1({
|
|
|
178
178
|
signal
|
|
179
179
|
});
|
|
180
180
|
/**
|
|
181
|
-
* Update the
|
|
181
|
+
* Update the data cache feature on a project.
|
|
182
182
|
*/
|
|
183
183
|
const updateProjectDataCache = (variables, signal) => fetch$1({ url: '/v1/data-cache/projects/{projectId}', method: 'patch', ...variables, signal });
|
|
184
184
|
/**
|
|
@@ -516,12 +516,7 @@ const getTeamMembers = (variables, signal) => fetch$1({
|
|
|
516
516
|
/**
|
|
517
517
|
* Invite a user to join the team specified in the URL. The authenticated user needs to be an `OWNER` in order to successfully invoke this endpoint. The user can be specified with an email or an ID. If both email and ID are provided, ID will take priority.
|
|
518
518
|
*/
|
|
519
|
-
const inviteUserToTeam = (variables, signal) => fetch$1({
|
|
520
|
-
url: '/v1/teams/{teamId}/members',
|
|
521
|
-
method: 'post',
|
|
522
|
-
...variables,
|
|
523
|
-
signal
|
|
524
|
-
});
|
|
519
|
+
const inviteUserToTeam = (variables, signal) => fetch$1({ url: '/v1/teams/{teamId}/members', method: 'post', ...variables, signal });
|
|
525
520
|
/**
|
|
526
521
|
* Request access to a team as a member. An owner has to approve the request. Only 10 users can request access to a team at the same time.
|
|
527
522
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -81,7 +81,7 @@ type UserEvent = {
|
|
|
81
81
|
*
|
|
82
82
|
* @example author
|
|
83
83
|
*/
|
|
84
|
-
type: 'target' | 'bold' | 'link' | 'author' | 'bitbucket_login' | 'deployment_host' | 'dns_record' | 'git_link' | 'github_login' | 'gitlab_login' | 'hook_name' | 'integration' | 'edge-config' | 'project_name' | 'scaling_rules' | 'env_var_name' | 'system';
|
|
84
|
+
type: 'target' | 'bold' | 'link' | 'author' | 'bitbucket_login' | 'deployment_host' | 'dns_record' | 'git_link' | 'github_login' | 'gitlab_login' | 'hook_name' | 'integration' | 'edge-config' | 'project_name' | 'scaling_rules' | 'env_var_name' | 'store' | 'system';
|
|
85
85
|
/**
|
|
86
86
|
* The index of where the entity begins within the `text` (inclusive).
|
|
87
87
|
*
|
|
@@ -304,7 +304,8 @@ type AuthUser = {
|
|
|
304
304
|
*/
|
|
305
305
|
softBlock: {
|
|
306
306
|
blockedAt: number;
|
|
307
|
-
reason: '
|
|
307
|
+
reason: 'SUBSCRIPTION_CANCELED' | 'SUBSCRIPTION_EXPIRED' | 'UNPAID_INVOICE' | 'ENTERPRISE_TRIAL_ENDED' | 'FAIR_USE_LIMITS_EXCEEDED' | 'BLOCKED_FOR_PLATFORM_ABUSE';
|
|
308
|
+
blockedDueToOverageType?: 'analyticsUsage' | 'artifacts' | 'bandwidth' | 'cronJobInvocation' | 'dataCacheRead' | 'dataCacheRevalidation' | 'dataCacheWrite' | 'edgeConfigRead' | 'edgeConfigWrite' | 'edgeFunctionExecutionUnits' | 'edgeMiddlewareInvocations' | 'monitoringMetric' | 'postgresComputeTime' | 'postgresDatabase' | 'postgresDataStorage' | 'postgresDataTransfer' | 'postgresWrittenData' | 'serverlessFunctionExecution' | 'sourceImages' | 'storageRedisTotalBandwidthInBytes' | 'storageRedisTotalCommands' | 'storageRedisTotalDailyAvgStorageInBytes' | 'storageRedisTotalDatabases' | 'webAnalyticsEvent';
|
|
308
309
|
} | null;
|
|
309
310
|
/**
|
|
310
311
|
* An object containing billing infomation associated with the User account.
|
|
@@ -320,7 +321,7 @@ type AuthUser = {
|
|
|
320
321
|
start: number;
|
|
321
322
|
end: number;
|
|
322
323
|
} | null;
|
|
323
|
-
plan: '
|
|
324
|
+
plan: 'pro' | 'enterprise' | 'hobby';
|
|
324
325
|
platform?: 'stripe' | 'stripeTestMode';
|
|
325
326
|
orbCustomerId?: string;
|
|
326
327
|
programType?: 'startup' | 'agency';
|
|
@@ -343,7 +344,6 @@ type AuthUser = {
|
|
|
343
344
|
state?: string;
|
|
344
345
|
} | null;
|
|
345
346
|
name?: string | null;
|
|
346
|
-
overdue?: boolean | null;
|
|
347
347
|
invoiceItems?: {
|
|
348
348
|
/**
|
|
349
349
|
* Will be used to create an invoice item. The price must be in cents: 2000 for $20.
|
|
@@ -382,7 +382,7 @@ type AuthUser = {
|
|
|
382
382
|
/**
|
|
383
383
|
* Will be used to create an invoice item. The price must be in cents: 2000 for $20.
|
|
384
384
|
*/
|
|
385
|
-
|
|
385
|
+
pro?: {
|
|
386
386
|
tier?: number;
|
|
387
387
|
price: number;
|
|
388
388
|
quantity: number;
|
|
@@ -399,7 +399,7 @@ type AuthUser = {
|
|
|
399
399
|
/**
|
|
400
400
|
* Will be used to create an invoice item. The price must be in cents: 2000 for $20.
|
|
401
401
|
*/
|
|
402
|
-
|
|
402
|
+
enterprise?: {
|
|
403
403
|
tier?: number;
|
|
404
404
|
price: number;
|
|
405
405
|
quantity: number;
|
|
@@ -923,6 +923,10 @@ type AuthUser = {
|
|
|
923
923
|
isCurrentlyBlocked: boolean;
|
|
924
924
|
};
|
|
925
925
|
};
|
|
926
|
+
/**
|
|
927
|
+
* The user's default team. Only applies if the user's `version` is `'northstar'`.
|
|
928
|
+
*/
|
|
929
|
+
defaultTeamId: string | null;
|
|
926
930
|
/**
|
|
927
931
|
* The User's unique identifier.
|
|
928
932
|
*
|
|
@@ -953,6 +957,10 @@ type AuthUser = {
|
|
|
953
957
|
* @example 22cb30c85ff45ac4c72de8981500006b28114aa1
|
|
954
958
|
*/
|
|
955
959
|
avatar: string | null;
|
|
960
|
+
/**
|
|
961
|
+
* The user's version. Will either be unset or `northstar`.
|
|
962
|
+
*/
|
|
963
|
+
version: 'northstar' | null;
|
|
956
964
|
};
|
|
957
965
|
/**
|
|
958
966
|
* A limited form of data for the currently authenticated User, due to the authentication token missing privileges to read the full User data.
|
|
@@ -992,6 +1000,10 @@ type AuthUserLimited = {
|
|
|
992
1000
|
* @example 22cb30c85ff45ac4c72de8981500006b28114aa1
|
|
993
1001
|
*/
|
|
994
1002
|
avatar: string | null;
|
|
1003
|
+
/**
|
|
1004
|
+
* The user's version. Will either be unset or `northstar`.
|
|
1005
|
+
*/
|
|
1006
|
+
version: 'northstar' | null;
|
|
995
1007
|
};
|
|
996
1008
|
/**
|
|
997
1009
|
* Authentication token metadata.
|
|
@@ -2026,7 +2038,7 @@ type UpdateProjectDataCacheResponse = {
|
|
|
2026
2038
|
[key: string]: string;
|
|
2027
2039
|
};
|
|
2028
2040
|
monorepoManager?: string | null;
|
|
2029
|
-
plan: '
|
|
2041
|
+
plan: 'pro' | 'enterprise' | 'hobby' | 'oss';
|
|
2030
2042
|
private: boolean;
|
|
2031
2043
|
readyState: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED';
|
|
2032
2044
|
readySubstate?: 'STAGED' | 'PROMOTED';
|
|
@@ -2110,6 +2122,7 @@ type UpdateProjectDataCacheResponse = {
|
|
|
2110
2122
|
passwordProtection?: {
|
|
2111
2123
|
deploymentType: 'preview' | 'all';
|
|
2112
2124
|
} | null;
|
|
2125
|
+
productionDeploymentsFastLane?: boolean;
|
|
2113
2126
|
publicSource?: boolean | null;
|
|
2114
2127
|
rootDirectory?: string | null;
|
|
2115
2128
|
serverlessFunctionRegion?: string | null;
|
|
@@ -2152,7 +2165,7 @@ type UpdateProjectDataCacheResponse = {
|
|
|
2152
2165
|
[key: string]: string;
|
|
2153
2166
|
};
|
|
2154
2167
|
monorepoManager?: string | null;
|
|
2155
|
-
plan: '
|
|
2168
|
+
plan: 'pro' | 'enterprise' | 'hobby' | 'oss';
|
|
2156
2169
|
private: boolean;
|
|
2157
2170
|
readyState: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED';
|
|
2158
2171
|
readySubstate?: 'STAGED' | 'PROMOTED';
|
|
@@ -2196,6 +2209,7 @@ type UpdateProjectDataCacheResponse = {
|
|
|
2196
2209
|
billingPurchaseOrder?: ACLAction[];
|
|
2197
2210
|
billingTaxId?: ACLAction[];
|
|
2198
2211
|
blob?: ACLAction[];
|
|
2212
|
+
budget?: ACLAction[];
|
|
2199
2213
|
cacheArtifact?: ACLAction[];
|
|
2200
2214
|
cacheArtifactUsageEvent?: ACLAction[];
|
|
2201
2215
|
concurrentBuilds?: ACLAction[];
|
|
@@ -2223,6 +2237,7 @@ type UpdateProjectDataCacheResponse = {
|
|
|
2223
2237
|
integrationVercelConfigurationOverride?: ACLAction[];
|
|
2224
2238
|
jobGlobal?: ACLAction[];
|
|
2225
2239
|
logDrain?: ACLAction[];
|
|
2240
|
+
logsPreset?: ACLAction[];
|
|
2226
2241
|
Monitoring?: ACLAction[];
|
|
2227
2242
|
monitoringQuery?: ACLAction[];
|
|
2228
2243
|
monitoringChart?: ACLAction[];
|
|
@@ -2249,6 +2264,7 @@ type UpdateProjectDataCacheResponse = {
|
|
|
2249
2264
|
sharedEnvVars?: ACLAction[];
|
|
2250
2265
|
sharedEnvVarsProduction?: ACLAction[];
|
|
2251
2266
|
space?: ACLAction[];
|
|
2267
|
+
spaceRun?: ACLAction[];
|
|
2252
2268
|
passwordProtectionInvoiceItem?: ACLAction[];
|
|
2253
2269
|
rateLimit?: ACLAction[];
|
|
2254
2270
|
redis?: ACLAction[];
|
|
@@ -2337,14 +2353,14 @@ type UpdateProjectDataCacheResponse = {
|
|
|
2337
2353
|
};
|
|
2338
2354
|
hasActiveBranches?: boolean;
|
|
2339
2355
|
trustedIps?: {
|
|
2340
|
-
deploymentType: 'preview' | 'all';
|
|
2356
|
+
deploymentType: 'preview' | 'all' | 'production';
|
|
2341
2357
|
addresses: {
|
|
2342
2358
|
value: string;
|
|
2343
2359
|
note?: string;
|
|
2344
2360
|
}[];
|
|
2345
2361
|
protectionMode: 'additional' | 'exclusive';
|
|
2346
2362
|
} | {
|
|
2347
|
-
deploymentType: 'preview' | 'all';
|
|
2363
|
+
deploymentType: 'preview' | 'all' | 'production';
|
|
2348
2364
|
} | null;
|
|
2349
2365
|
gitComments?: {
|
|
2350
2366
|
/**
|
|
@@ -2371,7 +2387,7 @@ type UpdateProjectDataCacheVariables = {
|
|
|
2371
2387
|
queryParams?: UpdateProjectDataCacheQueryParams;
|
|
2372
2388
|
} & FetcherExtraProps;
|
|
2373
2389
|
/**
|
|
2374
|
-
* Update the
|
|
2390
|
+
* Update the data cache feature on a project.
|
|
2375
2391
|
*/
|
|
2376
2392
|
declare const updateProjectDataCache: (variables: UpdateProjectDataCacheVariables, signal?: AbortSignal) => Promise<UpdateProjectDataCacheResponse>;
|
|
2377
2393
|
type GetDeploymentEventsPathParams = {
|
|
@@ -2654,7 +2670,7 @@ declare const getDeployment: (variables: GetDeploymentVariables, signal?: AbortS
|
|
|
2654
2670
|
*
|
|
2655
2671
|
* @example pro
|
|
2656
2672
|
*/
|
|
2657
|
-
plan: '
|
|
2673
|
+
plan: 'pro' | 'enterprise' | 'hobby' | 'oss';
|
|
2658
2674
|
/**
|
|
2659
2675
|
* The ID of the project the deployment is associated with
|
|
2660
2676
|
*
|
|
@@ -3319,7 +3335,7 @@ type CreateDeploymentResponse = {
|
|
|
3319
3335
|
*
|
|
3320
3336
|
* @example pro
|
|
3321
3337
|
*/
|
|
3322
|
-
plan: '
|
|
3338
|
+
plan: 'pro' | 'enterprise' | 'hobby' | 'oss';
|
|
3323
3339
|
/**
|
|
3324
3340
|
* The ID of the project the deployment is associated with
|
|
3325
3341
|
*
|
|
@@ -4780,7 +4796,7 @@ type CancelDeploymentResponse = {
|
|
|
4780
4796
|
*
|
|
4781
4797
|
* @example pro
|
|
4782
4798
|
*/
|
|
4783
|
-
plan: '
|
|
4799
|
+
plan: 'pro' | 'enterprise' | 'hobby' | 'oss';
|
|
4784
4800
|
/**
|
|
4785
4801
|
* The ID of the project the deployment is associated with
|
|
4786
4802
|
*
|
|
@@ -5310,6 +5326,13 @@ type CreateRecordVariables = {
|
|
|
5310
5326
|
* @example 192.0.2.42
|
|
5311
5327
|
*/
|
|
5312
5328
|
value: string;
|
|
5329
|
+
/**
|
|
5330
|
+
* A comment to add context on what this DNS record is for
|
|
5331
|
+
*
|
|
5332
|
+
* @example used to verify ownership of domain
|
|
5333
|
+
* @maxLength 500
|
|
5334
|
+
*/
|
|
5335
|
+
comment?: string;
|
|
5313
5336
|
} | {
|
|
5314
5337
|
/**
|
|
5315
5338
|
* A subdomain name or an empty string for the root domain.
|
|
@@ -5336,6 +5359,13 @@ type CreateRecordVariables = {
|
|
|
5336
5359
|
* @example 2001:DB8::42
|
|
5337
5360
|
*/
|
|
5338
5361
|
value: string;
|
|
5362
|
+
/**
|
|
5363
|
+
* A comment to add context on what this DNS record is for
|
|
5364
|
+
*
|
|
5365
|
+
* @example used to verify ownership of domain
|
|
5366
|
+
* @maxLength 500
|
|
5367
|
+
*/
|
|
5368
|
+
comment?: string;
|
|
5339
5369
|
} | {
|
|
5340
5370
|
/**
|
|
5341
5371
|
* A subdomain name or an empty string for the root domain.
|
|
@@ -5361,6 +5391,13 @@ type CreateRecordVariables = {
|
|
|
5361
5391
|
* @example cname.vercel-dns.com
|
|
5362
5392
|
*/
|
|
5363
5393
|
value: string;
|
|
5394
|
+
/**
|
|
5395
|
+
* A comment to add context on what this DNS record is for
|
|
5396
|
+
*
|
|
5397
|
+
* @example used to verify ownership of domain
|
|
5398
|
+
* @maxLength 500
|
|
5399
|
+
*/
|
|
5400
|
+
comment?: string;
|
|
5364
5401
|
} | {
|
|
5365
5402
|
/**
|
|
5366
5403
|
* A subdomain name or an empty string for the root domain.
|
|
@@ -5386,6 +5423,13 @@ type CreateRecordVariables = {
|
|
|
5386
5423
|
* @example 0 issue \"letsencrypt.org\"
|
|
5387
5424
|
*/
|
|
5388
5425
|
value: string;
|
|
5426
|
+
/**
|
|
5427
|
+
* A comment to add context on what this DNS record is for
|
|
5428
|
+
*
|
|
5429
|
+
* @example used to verify ownership of domain
|
|
5430
|
+
* @maxLength 500
|
|
5431
|
+
*/
|
|
5432
|
+
comment?: string;
|
|
5389
5433
|
} | {
|
|
5390
5434
|
/**
|
|
5391
5435
|
* A subdomain name or an empty string for the root domain.
|
|
@@ -5411,6 +5455,13 @@ type CreateRecordVariables = {
|
|
|
5411
5455
|
* @example cname.vercel-dns.com
|
|
5412
5456
|
*/
|
|
5413
5457
|
value?: string;
|
|
5458
|
+
/**
|
|
5459
|
+
* A comment to add context on what this DNS record is for
|
|
5460
|
+
*
|
|
5461
|
+
* @example used to verify ownership of domain
|
|
5462
|
+
* @maxLength 500
|
|
5463
|
+
*/
|
|
5464
|
+
comment?: string;
|
|
5414
5465
|
} | {
|
|
5415
5466
|
/**
|
|
5416
5467
|
* A subdomain name or an empty string for the root domain.
|
|
@@ -5442,6 +5493,13 @@ type CreateRecordVariables = {
|
|
|
5442
5493
|
* @example 10
|
|
5443
5494
|
*/
|
|
5444
5495
|
mxPriority: number;
|
|
5496
|
+
/**
|
|
5497
|
+
* A comment to add context on what this DNS record is for
|
|
5498
|
+
*
|
|
5499
|
+
* @example used to verify ownership of domain
|
|
5500
|
+
* @maxLength 500
|
|
5501
|
+
*/
|
|
5502
|
+
comment?: string;
|
|
5445
5503
|
} | {
|
|
5446
5504
|
/**
|
|
5447
5505
|
* A subdomain name or an empty string for the root domain.
|
|
@@ -5468,6 +5526,13 @@ type CreateRecordVariables = {
|
|
|
5468
5526
|
*/
|
|
5469
5527
|
target?: string;
|
|
5470
5528
|
};
|
|
5529
|
+
/**
|
|
5530
|
+
* A comment to add context on what this DNS record is for
|
|
5531
|
+
*
|
|
5532
|
+
* @example used to verify ownership of domain
|
|
5533
|
+
* @maxLength 500
|
|
5534
|
+
*/
|
|
5535
|
+
comment?: string;
|
|
5471
5536
|
} | {
|
|
5472
5537
|
/**
|
|
5473
5538
|
* A subdomain name or an empty string for the root domain.
|
|
@@ -5491,6 +5556,13 @@ type CreateRecordVariables = {
|
|
|
5491
5556
|
* @example hello
|
|
5492
5557
|
*/
|
|
5493
5558
|
value: string;
|
|
5559
|
+
/**
|
|
5560
|
+
* A comment to add context on what this DNS record is for
|
|
5561
|
+
*
|
|
5562
|
+
* @example used to verify ownership of domain
|
|
5563
|
+
* @maxLength 500
|
|
5564
|
+
*/
|
|
5565
|
+
comment?: string;
|
|
5494
5566
|
} | {
|
|
5495
5567
|
/**
|
|
5496
5568
|
* A subdomain name.
|
|
@@ -5516,6 +5588,13 @@ type CreateRecordVariables = {
|
|
|
5516
5588
|
* @example ns1.example.com
|
|
5517
5589
|
*/
|
|
5518
5590
|
value?: string;
|
|
5591
|
+
/**
|
|
5592
|
+
* A comment to add context on what this DNS record is for
|
|
5593
|
+
*
|
|
5594
|
+
* @example used to verify ownership of domain
|
|
5595
|
+
* @maxLength 500
|
|
5596
|
+
*/
|
|
5597
|
+
comment?: string;
|
|
5519
5598
|
};
|
|
5520
5599
|
pathParams: CreateRecordPathParams;
|
|
5521
5600
|
queryParams?: CreateRecordQueryParams;
|
|
@@ -5550,6 +5629,7 @@ type UpdateRecordQueryParams = {
|
|
|
5550
5629
|
};
|
|
5551
5630
|
type UpdateRecordError = ErrorWrapper<undefined>;
|
|
5552
5631
|
type UpdateRecordResponse = {
|
|
5632
|
+
comment?: string;
|
|
5553
5633
|
createdAt?: number | null;
|
|
5554
5634
|
creator: string;
|
|
5555
5635
|
domain: string;
|
|
@@ -5603,6 +5683,13 @@ type UpdateRecordRequestBody = {
|
|
|
5603
5683
|
port: number | null;
|
|
5604
5684
|
priority: number | null;
|
|
5605
5685
|
} | null;
|
|
5686
|
+
/**
|
|
5687
|
+
* A comment to add context on what this DNS record is for
|
|
5688
|
+
*
|
|
5689
|
+
* @example used to verify ownership of domain
|
|
5690
|
+
* @maxLength 500
|
|
5691
|
+
*/
|
|
5692
|
+
comment?: string;
|
|
5606
5693
|
};
|
|
5607
5694
|
type UpdateRecordVariables = {
|
|
5608
5695
|
body?: UpdateRecordRequestBody;
|
|
@@ -6608,12 +6695,6 @@ declare const getConfigurations: (variables: GetConfigurationsVariables, signal?
|
|
|
6608
6695
|
* @example oac_xzpVzcUOgcB1nrVlirtKhbWV
|
|
6609
6696
|
*/
|
|
6610
6697
|
integrationId: string;
|
|
6611
|
-
/**
|
|
6612
|
-
* Will be truthy in those cases where the configuration was created to authorize a client through the OAuth2 flow.
|
|
6613
|
-
*
|
|
6614
|
-
* @example false
|
|
6615
|
-
*/
|
|
6616
|
-
oauthConfiguration?: boolean;
|
|
6617
6698
|
/**
|
|
6618
6699
|
* The user or team ID that owns the configuration
|
|
6619
6700
|
*
|
|
@@ -6631,7 +6712,7 @@ declare const getConfigurations: (variables: GetConfigurationsVariables, signal?
|
|
|
6631
6712
|
*
|
|
6632
6713
|
* @example marketplace
|
|
6633
6714
|
*/
|
|
6634
|
-
source?: 'marketplace' | 'deploy-button' | '
|
|
6715
|
+
source?: 'marketplace' | 'deploy-button' | 'external';
|
|
6635
6716
|
removedLogDrainsAt?: number;
|
|
6636
6717
|
removedProjectEnvsAt?: number;
|
|
6637
6718
|
removedTokensAt?: number;
|
|
@@ -6723,12 +6804,6 @@ declare const getConfigurations: (variables: GetConfigurationsVariables, signal?
|
|
|
6723
6804
|
* @example oac_xzpVzcUOgcB1nrVlirtKhbWV
|
|
6724
6805
|
*/
|
|
6725
6806
|
integrationId: string;
|
|
6726
|
-
/**
|
|
6727
|
-
* Will be truthy in those cases where the configuration was created to authorize a client through the OAuth2 flow.
|
|
6728
|
-
*
|
|
6729
|
-
* @example false
|
|
6730
|
-
*/
|
|
6731
|
-
oauthConfiguration?: boolean;
|
|
6732
6807
|
/**
|
|
6733
6808
|
* The user or team ID that owns the configuration
|
|
6734
6809
|
*
|
|
@@ -6746,7 +6821,7 @@ declare const getConfigurations: (variables: GetConfigurationsVariables, signal?
|
|
|
6746
6821
|
*
|
|
6747
6822
|
* @example marketplace
|
|
6748
6823
|
*/
|
|
6749
|
-
source?: 'marketplace' | 'deploy-button' | '
|
|
6824
|
+
source?: 'marketplace' | 'deploy-button' | 'external';
|
|
6750
6825
|
removedLogDrainsAt?: number;
|
|
6751
6826
|
removedProjectEnvsAt?: number;
|
|
6752
6827
|
removedTokensAt?: number;
|
|
@@ -6853,12 +6928,6 @@ declare const getConfiguration: (variables: GetConfigurationVariables, signal?:
|
|
|
6853
6928
|
* @example oac_xzpVzcUOgcB1nrVlirtKhbWV
|
|
6854
6929
|
*/
|
|
6855
6930
|
integrationId: string;
|
|
6856
|
-
/**
|
|
6857
|
-
* Will be truthy in those cases where the configuration was created to authorize a client through the OAuth2 flow.
|
|
6858
|
-
*
|
|
6859
|
-
* @example false
|
|
6860
|
-
*/
|
|
6861
|
-
oauthConfiguration?: boolean;
|
|
6862
6931
|
/**
|
|
6863
6932
|
* The user or team ID that owns the configuration
|
|
6864
6933
|
*
|
|
@@ -6876,7 +6945,7 @@ declare const getConfiguration: (variables: GetConfigurationVariables, signal?:
|
|
|
6876
6945
|
*
|
|
6877
6946
|
* @example marketplace
|
|
6878
6947
|
*/
|
|
6879
|
-
source?: 'marketplace' | 'deploy-button' | '
|
|
6948
|
+
source?: 'marketplace' | 'deploy-button' | 'external';
|
|
6880
6949
|
removedLogDrainsAt?: number;
|
|
6881
6950
|
removedProjectEnvsAt?: number;
|
|
6882
6951
|
removedTokensAt?: number;
|
|
@@ -6966,12 +7035,6 @@ declare const getConfiguration: (variables: GetConfigurationVariables, signal?:
|
|
|
6966
7035
|
* @example oac_xzpVzcUOgcB1nrVlirtKhbWV
|
|
6967
7036
|
*/
|
|
6968
7037
|
integrationId: string;
|
|
6969
|
-
/**
|
|
6970
|
-
* Will be truthy in those cases where the configuration was created to authorize a client through the OAuth2 flow.
|
|
6971
|
-
*
|
|
6972
|
-
* @example false
|
|
6973
|
-
*/
|
|
6974
|
-
oauthConfiguration?: boolean;
|
|
6975
7038
|
/**
|
|
6976
7039
|
* The user or team ID that owns the configuration
|
|
6977
7040
|
*
|
|
@@ -6989,7 +7052,7 @@ declare const getConfiguration: (variables: GetConfigurationVariables, signal?:
|
|
|
6989
7052
|
*
|
|
6990
7053
|
* @example marketplace
|
|
6991
7054
|
*/
|
|
6992
|
-
source?: 'marketplace' | 'deploy-button' | '
|
|
7055
|
+
source?: 'marketplace' | 'deploy-button' | 'external';
|
|
6993
7056
|
removedLogDrainsAt?: number;
|
|
6994
7057
|
removedProjectEnvsAt?: number;
|
|
6995
7058
|
removedTokensAt?: number;
|
|
@@ -7827,7 +7890,7 @@ type GetProjectsResponse = {
|
|
|
7827
7890
|
[key: string]: string;
|
|
7828
7891
|
};
|
|
7829
7892
|
monorepoManager?: string | null;
|
|
7830
|
-
plan: '
|
|
7893
|
+
plan: 'pro' | 'enterprise' | 'hobby' | 'oss';
|
|
7831
7894
|
private: boolean;
|
|
7832
7895
|
readyState: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED';
|
|
7833
7896
|
readySubstate?: 'STAGED' | 'PROMOTED';
|
|
@@ -7911,6 +7974,7 @@ type GetProjectsResponse = {
|
|
|
7911
7974
|
passwordProtection?: {
|
|
7912
7975
|
deploymentType: 'preview' | 'all';
|
|
7913
7976
|
} | null;
|
|
7977
|
+
productionDeploymentsFastLane?: boolean;
|
|
7914
7978
|
publicSource?: boolean | null;
|
|
7915
7979
|
rootDirectory?: string | null;
|
|
7916
7980
|
serverlessFunctionRegion?: string | null;
|
|
@@ -7953,7 +8017,7 @@ type GetProjectsResponse = {
|
|
|
7953
8017
|
[key: string]: string;
|
|
7954
8018
|
};
|
|
7955
8019
|
monorepoManager?: string | null;
|
|
7956
|
-
plan: '
|
|
8020
|
+
plan: 'pro' | 'enterprise' | 'hobby' | 'oss';
|
|
7957
8021
|
private: boolean;
|
|
7958
8022
|
readyState: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED';
|
|
7959
8023
|
readySubstate?: 'STAGED' | 'PROMOTED';
|
|
@@ -7997,6 +8061,7 @@ type GetProjectsResponse = {
|
|
|
7997
8061
|
billingPurchaseOrder?: ACLAction[];
|
|
7998
8062
|
billingTaxId?: ACLAction[];
|
|
7999
8063
|
blob?: ACLAction[];
|
|
8064
|
+
budget?: ACLAction[];
|
|
8000
8065
|
cacheArtifact?: ACLAction[];
|
|
8001
8066
|
cacheArtifactUsageEvent?: ACLAction[];
|
|
8002
8067
|
concurrentBuilds?: ACLAction[];
|
|
@@ -8024,6 +8089,7 @@ type GetProjectsResponse = {
|
|
|
8024
8089
|
integrationVercelConfigurationOverride?: ACLAction[];
|
|
8025
8090
|
jobGlobal?: ACLAction[];
|
|
8026
8091
|
logDrain?: ACLAction[];
|
|
8092
|
+
logsPreset?: ACLAction[];
|
|
8027
8093
|
Monitoring?: ACLAction[];
|
|
8028
8094
|
monitoringQuery?: ACLAction[];
|
|
8029
8095
|
monitoringChart?: ACLAction[];
|
|
@@ -8050,6 +8116,7 @@ type GetProjectsResponse = {
|
|
|
8050
8116
|
sharedEnvVars?: ACLAction[];
|
|
8051
8117
|
sharedEnvVarsProduction?: ACLAction[];
|
|
8052
8118
|
space?: ACLAction[];
|
|
8119
|
+
spaceRun?: ACLAction[];
|
|
8053
8120
|
passwordProtectionInvoiceItem?: ACLAction[];
|
|
8054
8121
|
rateLimit?: ACLAction[];
|
|
8055
8122
|
redis?: ACLAction[];
|
|
@@ -8138,14 +8205,14 @@ type GetProjectsResponse = {
|
|
|
8138
8205
|
};
|
|
8139
8206
|
hasActiveBranches?: boolean;
|
|
8140
8207
|
trustedIps?: {
|
|
8141
|
-
deploymentType: 'preview' | 'all';
|
|
8208
|
+
deploymentType: 'preview' | 'all' | 'production';
|
|
8142
8209
|
addresses: {
|
|
8143
8210
|
value: string;
|
|
8144
8211
|
note?: string;
|
|
8145
8212
|
}[];
|
|
8146
8213
|
protectionMode: 'additional' | 'exclusive';
|
|
8147
8214
|
} | {
|
|
8148
|
-
deploymentType: 'preview' | 'all';
|
|
8215
|
+
deploymentType: 'preview' | 'all' | 'production';
|
|
8149
8216
|
} | null;
|
|
8150
8217
|
gitComments?: {
|
|
8151
8218
|
/**
|
|
@@ -8329,7 +8396,7 @@ type CreateProjectResponse = {
|
|
|
8329
8396
|
[key: string]: string;
|
|
8330
8397
|
};
|
|
8331
8398
|
monorepoManager?: string | null;
|
|
8332
|
-
plan: '
|
|
8399
|
+
plan: 'pro' | 'enterprise' | 'hobby' | 'oss';
|
|
8333
8400
|
private: boolean;
|
|
8334
8401
|
readyState: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED';
|
|
8335
8402
|
readySubstate?: 'STAGED' | 'PROMOTED';
|
|
@@ -8413,6 +8480,7 @@ type CreateProjectResponse = {
|
|
|
8413
8480
|
passwordProtection?: {
|
|
8414
8481
|
deploymentType: 'preview' | 'all';
|
|
8415
8482
|
} | null;
|
|
8483
|
+
productionDeploymentsFastLane?: boolean;
|
|
8416
8484
|
publicSource?: boolean | null;
|
|
8417
8485
|
rootDirectory?: string | null;
|
|
8418
8486
|
serverlessFunctionRegion?: string | null;
|
|
@@ -8455,7 +8523,7 @@ type CreateProjectResponse = {
|
|
|
8455
8523
|
[key: string]: string;
|
|
8456
8524
|
};
|
|
8457
8525
|
monorepoManager?: string | null;
|
|
8458
|
-
plan: '
|
|
8526
|
+
plan: 'pro' | 'enterprise' | 'hobby' | 'oss';
|
|
8459
8527
|
private: boolean;
|
|
8460
8528
|
readyState: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED';
|
|
8461
8529
|
readySubstate?: 'STAGED' | 'PROMOTED';
|
|
@@ -8499,6 +8567,7 @@ type CreateProjectResponse = {
|
|
|
8499
8567
|
billingPurchaseOrder?: ACLAction[];
|
|
8500
8568
|
billingTaxId?: ACLAction[];
|
|
8501
8569
|
blob?: ACLAction[];
|
|
8570
|
+
budget?: ACLAction[];
|
|
8502
8571
|
cacheArtifact?: ACLAction[];
|
|
8503
8572
|
cacheArtifactUsageEvent?: ACLAction[];
|
|
8504
8573
|
concurrentBuilds?: ACLAction[];
|
|
@@ -8526,6 +8595,7 @@ type CreateProjectResponse = {
|
|
|
8526
8595
|
integrationVercelConfigurationOverride?: ACLAction[];
|
|
8527
8596
|
jobGlobal?: ACLAction[];
|
|
8528
8597
|
logDrain?: ACLAction[];
|
|
8598
|
+
logsPreset?: ACLAction[];
|
|
8529
8599
|
Monitoring?: ACLAction[];
|
|
8530
8600
|
monitoringQuery?: ACLAction[];
|
|
8531
8601
|
monitoringChart?: ACLAction[];
|
|
@@ -8552,6 +8622,7 @@ type CreateProjectResponse = {
|
|
|
8552
8622
|
sharedEnvVars?: ACLAction[];
|
|
8553
8623
|
sharedEnvVarsProduction?: ACLAction[];
|
|
8554
8624
|
space?: ACLAction[];
|
|
8625
|
+
spaceRun?: ACLAction[];
|
|
8555
8626
|
passwordProtectionInvoiceItem?: ACLAction[];
|
|
8556
8627
|
rateLimit?: ACLAction[];
|
|
8557
8628
|
redis?: ACLAction[];
|
|
@@ -8640,14 +8711,14 @@ type CreateProjectResponse = {
|
|
|
8640
8711
|
};
|
|
8641
8712
|
hasActiveBranches?: boolean;
|
|
8642
8713
|
trustedIps?: {
|
|
8643
|
-
deploymentType: 'preview' | 'all';
|
|
8714
|
+
deploymentType: 'preview' | 'all' | 'production';
|
|
8644
8715
|
addresses: {
|
|
8645
8716
|
value: string;
|
|
8646
8717
|
note?: string;
|
|
8647
8718
|
}[];
|
|
8648
8719
|
protectionMode: 'additional' | 'exclusive';
|
|
8649
8720
|
} | {
|
|
8650
|
-
deploymentType: 'preview' | 'all';
|
|
8721
|
+
deploymentType: 'preview' | 'all' | 'production';
|
|
8651
8722
|
} | null;
|
|
8652
8723
|
gitComments?: {
|
|
8653
8724
|
/**
|
|
@@ -8941,7 +9012,7 @@ type GetProjectResponse = {
|
|
|
8941
9012
|
[key: string]: string;
|
|
8942
9013
|
};
|
|
8943
9014
|
monorepoManager?: string | null;
|
|
8944
|
-
plan: '
|
|
9015
|
+
plan: 'pro' | 'enterprise' | 'hobby' | 'oss';
|
|
8945
9016
|
private: boolean;
|
|
8946
9017
|
readyState: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED';
|
|
8947
9018
|
readySubstate?: 'STAGED' | 'PROMOTED';
|
|
@@ -9025,6 +9096,7 @@ type GetProjectResponse = {
|
|
|
9025
9096
|
passwordProtection?: {
|
|
9026
9097
|
deploymentType: 'preview' | 'all';
|
|
9027
9098
|
} | null;
|
|
9099
|
+
productionDeploymentsFastLane?: boolean;
|
|
9028
9100
|
publicSource?: boolean | null;
|
|
9029
9101
|
rootDirectory?: string | null;
|
|
9030
9102
|
serverlessFunctionRegion?: string | null;
|
|
@@ -9067,7 +9139,7 @@ type GetProjectResponse = {
|
|
|
9067
9139
|
[key: string]: string;
|
|
9068
9140
|
};
|
|
9069
9141
|
monorepoManager?: string | null;
|
|
9070
|
-
plan: '
|
|
9142
|
+
plan: 'pro' | 'enterprise' | 'hobby' | 'oss';
|
|
9071
9143
|
private: boolean;
|
|
9072
9144
|
readyState: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED';
|
|
9073
9145
|
readySubstate?: 'STAGED' | 'PROMOTED';
|
|
@@ -9111,6 +9183,7 @@ type GetProjectResponse = {
|
|
|
9111
9183
|
billingPurchaseOrder?: ACLAction[];
|
|
9112
9184
|
billingTaxId?: ACLAction[];
|
|
9113
9185
|
blob?: ACLAction[];
|
|
9186
|
+
budget?: ACLAction[];
|
|
9114
9187
|
cacheArtifact?: ACLAction[];
|
|
9115
9188
|
cacheArtifactUsageEvent?: ACLAction[];
|
|
9116
9189
|
concurrentBuilds?: ACLAction[];
|
|
@@ -9138,6 +9211,7 @@ type GetProjectResponse = {
|
|
|
9138
9211
|
integrationVercelConfigurationOverride?: ACLAction[];
|
|
9139
9212
|
jobGlobal?: ACLAction[];
|
|
9140
9213
|
logDrain?: ACLAction[];
|
|
9214
|
+
logsPreset?: ACLAction[];
|
|
9141
9215
|
Monitoring?: ACLAction[];
|
|
9142
9216
|
monitoringQuery?: ACLAction[];
|
|
9143
9217
|
monitoringChart?: ACLAction[];
|
|
@@ -9164,6 +9238,7 @@ type GetProjectResponse = {
|
|
|
9164
9238
|
sharedEnvVars?: ACLAction[];
|
|
9165
9239
|
sharedEnvVarsProduction?: ACLAction[];
|
|
9166
9240
|
space?: ACLAction[];
|
|
9241
|
+
spaceRun?: ACLAction[];
|
|
9167
9242
|
passwordProtectionInvoiceItem?: ACLAction[];
|
|
9168
9243
|
rateLimit?: ACLAction[];
|
|
9169
9244
|
redis?: ACLAction[];
|
|
@@ -9252,14 +9327,14 @@ type GetProjectResponse = {
|
|
|
9252
9327
|
};
|
|
9253
9328
|
hasActiveBranches?: boolean;
|
|
9254
9329
|
trustedIps?: {
|
|
9255
|
-
deploymentType: 'preview' | 'all';
|
|
9330
|
+
deploymentType: 'preview' | 'all' | 'production';
|
|
9256
9331
|
addresses: {
|
|
9257
9332
|
value: string;
|
|
9258
9333
|
note?: string;
|
|
9259
9334
|
}[];
|
|
9260
9335
|
protectionMode: 'additional' | 'exclusive';
|
|
9261
9336
|
} | {
|
|
9262
|
-
deploymentType: 'preview' | 'all';
|
|
9337
|
+
deploymentType: 'preview' | 'all' | 'production';
|
|
9263
9338
|
} | null;
|
|
9264
9339
|
gitComments?: {
|
|
9265
9340
|
/**
|
|
@@ -9450,7 +9525,7 @@ type UpdateProjectResponse = {
|
|
|
9450
9525
|
[key: string]: string;
|
|
9451
9526
|
};
|
|
9452
9527
|
monorepoManager?: string | null;
|
|
9453
|
-
plan: '
|
|
9528
|
+
plan: 'pro' | 'enterprise' | 'hobby' | 'oss';
|
|
9454
9529
|
private: boolean;
|
|
9455
9530
|
readyState: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED';
|
|
9456
9531
|
readySubstate?: 'STAGED' | 'PROMOTED';
|
|
@@ -9534,6 +9609,7 @@ type UpdateProjectResponse = {
|
|
|
9534
9609
|
passwordProtection?: {
|
|
9535
9610
|
deploymentType: 'all' | 'preview';
|
|
9536
9611
|
} | null;
|
|
9612
|
+
productionDeploymentsFastLane?: boolean;
|
|
9537
9613
|
publicSource?: boolean | null;
|
|
9538
9614
|
rootDirectory?: string | null;
|
|
9539
9615
|
serverlessFunctionRegion?: string | null;
|
|
@@ -9576,7 +9652,7 @@ type UpdateProjectResponse = {
|
|
|
9576
9652
|
[key: string]: string;
|
|
9577
9653
|
};
|
|
9578
9654
|
monorepoManager?: string | null;
|
|
9579
|
-
plan: '
|
|
9655
|
+
plan: 'pro' | 'enterprise' | 'hobby' | 'oss';
|
|
9580
9656
|
private: boolean;
|
|
9581
9657
|
readyState: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED';
|
|
9582
9658
|
readySubstate?: 'STAGED' | 'PROMOTED';
|
|
@@ -9620,6 +9696,7 @@ type UpdateProjectResponse = {
|
|
|
9620
9696
|
billingPurchaseOrder?: ACLAction[];
|
|
9621
9697
|
billingTaxId?: ACLAction[];
|
|
9622
9698
|
blob?: ACLAction[];
|
|
9699
|
+
budget?: ACLAction[];
|
|
9623
9700
|
cacheArtifact?: ACLAction[];
|
|
9624
9701
|
cacheArtifactUsageEvent?: ACLAction[];
|
|
9625
9702
|
concurrentBuilds?: ACLAction[];
|
|
@@ -9647,6 +9724,7 @@ type UpdateProjectResponse = {
|
|
|
9647
9724
|
integrationVercelConfigurationOverride?: ACLAction[];
|
|
9648
9725
|
jobGlobal?: ACLAction[];
|
|
9649
9726
|
logDrain?: ACLAction[];
|
|
9727
|
+
logsPreset?: ACLAction[];
|
|
9650
9728
|
Monitoring?: ACLAction[];
|
|
9651
9729
|
monitoringQuery?: ACLAction[];
|
|
9652
9730
|
monitoringChart?: ACLAction[];
|
|
@@ -9673,6 +9751,7 @@ type UpdateProjectResponse = {
|
|
|
9673
9751
|
sharedEnvVars?: ACLAction[];
|
|
9674
9752
|
sharedEnvVarsProduction?: ACLAction[];
|
|
9675
9753
|
space?: ACLAction[];
|
|
9754
|
+
spaceRun?: ACLAction[];
|
|
9676
9755
|
passwordProtectionInvoiceItem?: ACLAction[];
|
|
9677
9756
|
rateLimit?: ACLAction[];
|
|
9678
9757
|
redis?: ACLAction[];
|
|
@@ -9761,14 +9840,14 @@ type UpdateProjectResponse = {
|
|
|
9761
9840
|
};
|
|
9762
9841
|
hasActiveBranches?: boolean;
|
|
9763
9842
|
trustedIps?: {
|
|
9764
|
-
deploymentType: 'all' | 'preview';
|
|
9843
|
+
deploymentType: 'all' | 'preview' | 'production';
|
|
9765
9844
|
addresses: {
|
|
9766
9845
|
value: string;
|
|
9767
9846
|
note?: string;
|
|
9768
9847
|
}[];
|
|
9769
9848
|
protectionMode: 'exclusive' | 'additional';
|
|
9770
9849
|
} | {
|
|
9771
|
-
deploymentType: 'all' | 'preview';
|
|
9850
|
+
deploymentType: 'all' | 'preview' | 'production';
|
|
9772
9851
|
} | null;
|
|
9773
9852
|
gitComments?: {
|
|
9774
9853
|
/**
|
|
@@ -9894,7 +9973,7 @@ type UpdateProjectRequestBody = {
|
|
|
9894
9973
|
/**
|
|
9895
9974
|
* Specify if the Trusted IPs will apply to every Deployment Target or just Preview
|
|
9896
9975
|
*/
|
|
9897
|
-
deploymentType: 'all' | 'preview';
|
|
9976
|
+
deploymentType: 'all' | 'preview' | 'production';
|
|
9898
9977
|
/**
|
|
9899
9978
|
* @minItems 1
|
|
9900
9979
|
*/
|
|
@@ -11187,7 +11266,7 @@ type GetTeamMembersQueryParams = {
|
|
|
11187
11266
|
*
|
|
11188
11267
|
* @example OWNER
|
|
11189
11268
|
*/
|
|
11190
|
-
role?: 'OWNER' | 'MEMBER' | 'DEVELOPER' | 'VIEWER' | 'BILLING';
|
|
11269
|
+
role?: 'OWNER' | 'MEMBER' | 'DEVELOPER' | 'VIEWER' | 'BILLING' | 'CONTRIBUTOR';
|
|
11191
11270
|
/**
|
|
11192
11271
|
* Exclude members who belong to the specified project.
|
|
11193
11272
|
*/
|
|
@@ -11304,6 +11383,9 @@ type GetTeamMembersResponse = {
|
|
|
11304
11383
|
isDSyncUser: boolean;
|
|
11305
11384
|
createdAt?: number;
|
|
11306
11385
|
expired?: boolean;
|
|
11386
|
+
projects?: {
|
|
11387
|
+
[key: string]: 'ADMIN' | 'PROJECT_DEVELOPER' | 'PROJECT_VIEWER';
|
|
11388
|
+
};
|
|
11307
11389
|
}[];
|
|
11308
11390
|
pagination: {
|
|
11309
11391
|
hasNext: boolean;
|
|
@@ -11380,7 +11462,36 @@ type InviteUserToTeamVariables = {
|
|
|
11380
11462
|
/**
|
|
11381
11463
|
* Invite a user to join the team specified in the URL. The authenticated user needs to be an `OWNER` in order to successfully invoke this endpoint. The user can be specified with an email or an ID. If both email and ID are provided, ID will take priority.
|
|
11382
11464
|
*/
|
|
11383
|
-
declare const inviteUserToTeam: (variables: InviteUserToTeamVariables, signal?: AbortSignal) => Promise<
|
|
11465
|
+
declare const inviteUserToTeam: (variables: InviteUserToTeamVariables, signal?: AbortSignal) => Promise<{
|
|
11466
|
+
/**
|
|
11467
|
+
* The ID of the invited user
|
|
11468
|
+
*
|
|
11469
|
+
* @example kr1PsOIzqEL5Xg6M4VZcZosf
|
|
11470
|
+
*/
|
|
11471
|
+
uid: string;
|
|
11472
|
+
/**
|
|
11473
|
+
* The username of the invited user
|
|
11474
|
+
*
|
|
11475
|
+
* @example john-doe
|
|
11476
|
+
*/
|
|
11477
|
+
username: string;
|
|
11478
|
+
/**
|
|
11479
|
+
* The email of the invited user. Not included if the user was invited via their UID.
|
|
11480
|
+
*
|
|
11481
|
+
* @example john@user.co
|
|
11482
|
+
*/
|
|
11483
|
+
email: string;
|
|
11484
|
+
/**
|
|
11485
|
+
* The role used for the invitation
|
|
11486
|
+
*
|
|
11487
|
+
* @example MEMBER
|
|
11488
|
+
*/
|
|
11489
|
+
role: 'OWNER' | 'MEMBER' | 'VIEWER' | 'DEVELOPER' | 'BILLING' | 'CONTRIBUTOR';
|
|
11490
|
+
} | {
|
|
11491
|
+
uid: string;
|
|
11492
|
+
username: string;
|
|
11493
|
+
role: 'OWNER' | 'MEMBER' | 'VIEWER' | 'DEVELOPER' | 'BILLING' | 'CONTRIBUTOR';
|
|
11494
|
+
}>;
|
|
11384
11495
|
type RequestAccessToTeamError = ErrorWrapper<undefined>;
|
|
11385
11496
|
type RequestAccessToTeamResponse = {
|
|
11386
11497
|
teamSlug: string;
|
|
@@ -11607,6 +11718,21 @@ type UpdateTeamMemberRequestBody = {
|
|
|
11607
11718
|
* @example VIEWER
|
|
11608
11719
|
*/
|
|
11609
11720
|
role?: string;
|
|
11721
|
+
projects?: {
|
|
11722
|
+
/**
|
|
11723
|
+
* The ID of the project.
|
|
11724
|
+
*
|
|
11725
|
+
* @maxLength 256
|
|
11726
|
+
* @example prj_ndlgr43fadlPyCtREAqxxdyFK
|
|
11727
|
+
*/
|
|
11728
|
+
projectId: string;
|
|
11729
|
+
/**
|
|
11730
|
+
* The project role of the member that will be added. \"null\" will remove this project level role.
|
|
11731
|
+
*
|
|
11732
|
+
* @example ADMIN
|
|
11733
|
+
*/
|
|
11734
|
+
role: 'ADMIN' | 'PROJECT_VIEWER' | 'PROJECT_DEVELOPER' | any | null;
|
|
11735
|
+
}[];
|
|
11610
11736
|
joinedFrom?: {
|
|
11611
11737
|
ssoUserId?: null;
|
|
11612
11738
|
};
|
|
@@ -11840,7 +11966,6 @@ type CreateTeamResponse = {
|
|
|
11840
11966
|
state?: string;
|
|
11841
11967
|
} | null;
|
|
11842
11968
|
name?: string | null;
|
|
11843
|
-
overdue?: boolean | null;
|
|
11844
11969
|
invoiceItems?: {
|
|
11845
11970
|
/**
|
|
11846
11971
|
* Will be used to create an invoice item. The price must be in cents: 2000 for $20.
|
|
@@ -13289,6 +13414,33 @@ type AssignAliasQueryParams = {
|
|
|
13289
13414
|
teamId?: string;
|
|
13290
13415
|
};
|
|
13291
13416
|
type AssignAliasError = ErrorWrapper<undefined>;
|
|
13417
|
+
type AssignAliasResponse = {
|
|
13418
|
+
/**
|
|
13419
|
+
* The unique identifier of the alias
|
|
13420
|
+
*
|
|
13421
|
+
* @example 2WjyKQmM8ZnGcJsPWMrHRHrE
|
|
13422
|
+
*/
|
|
13423
|
+
uid: string;
|
|
13424
|
+
/**
|
|
13425
|
+
* The assigned alias name
|
|
13426
|
+
*
|
|
13427
|
+
* @example my-alias.vercel.app
|
|
13428
|
+
*/
|
|
13429
|
+
alias: string;
|
|
13430
|
+
/**
|
|
13431
|
+
* The date when the alias was created
|
|
13432
|
+
*
|
|
13433
|
+
* @format date-time
|
|
13434
|
+
* @example 2017-04-26T23:00:34.232Z
|
|
13435
|
+
*/
|
|
13436
|
+
created: string;
|
|
13437
|
+
/**
|
|
13438
|
+
* The unique identifier of the previously aliased deployment, only received when the alias was used before
|
|
13439
|
+
*
|
|
13440
|
+
* @example dpl_FjvFJncQHQcZMznrUm9EoB8sFuPa
|
|
13441
|
+
*/
|
|
13442
|
+
oldDeploymentId?: string | null;
|
|
13443
|
+
};
|
|
13292
13444
|
type AssignAliasRequestBody = {
|
|
13293
13445
|
/**
|
|
13294
13446
|
* The alias we want to assign to the deployment defined in the URL
|
|
@@ -13311,7 +13463,7 @@ type AssignAliasVariables = {
|
|
|
13311
13463
|
/**
|
|
13312
13464
|
* Creates a new alias for the deployment with the given deployment ID. The authenticated user must own this deployment. If the desired alias is already assigned to another deployment, then it will be removed from the old deployment and assigned to the new one.
|
|
13313
13465
|
*/
|
|
13314
|
-
declare const assignAlias: (variables: AssignAliasVariables, signal?: AbortSignal) => Promise<
|
|
13466
|
+
declare const assignAlias: (variables: AssignAliasVariables, signal?: AbortSignal) => Promise<AssignAliasResponse>;
|
|
13315
13467
|
type GetCertByIdPathParams = {
|
|
13316
13468
|
/**
|
|
13317
13469
|
* The cert id
|
|
@@ -13462,6 +13614,10 @@ type GetDeploymentFileContentsPathParams = {
|
|
|
13462
13614
|
fileId: string;
|
|
13463
13615
|
};
|
|
13464
13616
|
type GetDeploymentFileContentsQueryParams = {
|
|
13617
|
+
/**
|
|
13618
|
+
* Path to the file to fetch (only for Git deployments)
|
|
13619
|
+
*/
|
|
13620
|
+
path?: string;
|
|
13465
13621
|
/**
|
|
13466
13622
|
* The Team identifier or slug to perform the request on behalf of.
|
|
13467
13623
|
*/
|
|
@@ -14679,7 +14835,7 @@ declare const operationsByTag: {
|
|
|
14679
14835
|
*
|
|
14680
14836
|
* @example pro
|
|
14681
14837
|
*/
|
|
14682
|
-
plan: '
|
|
14838
|
+
plan: 'pro' | 'enterprise' | 'hobby' | 'oss';
|
|
14683
14839
|
/**
|
|
14684
14840
|
* The ID of the project the deployment is associated with
|
|
14685
14841
|
*
|
|
@@ -15359,12 +15515,6 @@ declare const operationsByTag: {
|
|
|
15359
15515
|
* @example oac_xzpVzcUOgcB1nrVlirtKhbWV
|
|
15360
15516
|
*/
|
|
15361
15517
|
integrationId: string;
|
|
15362
|
-
/**
|
|
15363
|
-
* Will be truthy in those cases where the configuration was created to authorize a client through the OAuth2 flow.
|
|
15364
|
-
*
|
|
15365
|
-
* @example false
|
|
15366
|
-
*/
|
|
15367
|
-
oauthConfiguration?: boolean;
|
|
15368
15518
|
/**
|
|
15369
15519
|
* The user or team ID that owns the configuration
|
|
15370
15520
|
*
|
|
@@ -15382,7 +15532,7 @@ declare const operationsByTag: {
|
|
|
15382
15532
|
*
|
|
15383
15533
|
* @example marketplace
|
|
15384
15534
|
*/
|
|
15385
|
-
source?: 'marketplace' | 'deploy-button' | '
|
|
15535
|
+
source?: 'marketplace' | 'deploy-button' | 'external';
|
|
15386
15536
|
removedLogDrainsAt?: number;
|
|
15387
15537
|
removedProjectEnvsAt?: number;
|
|
15388
15538
|
removedTokensAt?: number;
|
|
@@ -15474,12 +15624,6 @@ declare const operationsByTag: {
|
|
|
15474
15624
|
* @example oac_xzpVzcUOgcB1nrVlirtKhbWV
|
|
15475
15625
|
*/
|
|
15476
15626
|
integrationId: string;
|
|
15477
|
-
/**
|
|
15478
|
-
* Will be truthy in those cases where the configuration was created to authorize a client through the OAuth2 flow.
|
|
15479
|
-
*
|
|
15480
|
-
* @example false
|
|
15481
|
-
*/
|
|
15482
|
-
oauthConfiguration?: boolean;
|
|
15483
15627
|
/**
|
|
15484
15628
|
* The user or team ID that owns the configuration
|
|
15485
15629
|
*
|
|
@@ -15497,7 +15641,7 @@ declare const operationsByTag: {
|
|
|
15497
15641
|
*
|
|
15498
15642
|
* @example marketplace
|
|
15499
15643
|
*/
|
|
15500
|
-
source?: 'marketplace' | 'deploy-button' | '
|
|
15644
|
+
source?: 'marketplace' | 'deploy-button' | 'external';
|
|
15501
15645
|
removedLogDrainsAt?: number;
|
|
15502
15646
|
removedProjectEnvsAt?: number;
|
|
15503
15647
|
removedTokensAt?: number;
|
|
@@ -15582,12 +15726,6 @@ declare const operationsByTag: {
|
|
|
15582
15726
|
* @example oac_xzpVzcUOgcB1nrVlirtKhbWV
|
|
15583
15727
|
*/
|
|
15584
15728
|
integrationId: string;
|
|
15585
|
-
/**
|
|
15586
|
-
* Will be truthy in those cases where the configuration was created to authorize a client through the OAuth2 flow.
|
|
15587
|
-
*
|
|
15588
|
-
* @example false
|
|
15589
|
-
*/
|
|
15590
|
-
oauthConfiguration?: boolean;
|
|
15591
15729
|
/**
|
|
15592
15730
|
* The user or team ID that owns the configuration
|
|
15593
15731
|
*
|
|
@@ -15605,7 +15743,7 @@ declare const operationsByTag: {
|
|
|
15605
15743
|
*
|
|
15606
15744
|
* @example marketplace
|
|
15607
15745
|
*/
|
|
15608
|
-
source?: 'marketplace' | 'deploy-button' | '
|
|
15746
|
+
source?: 'marketplace' | 'deploy-button' | 'external';
|
|
15609
15747
|
removedLogDrainsAt?: number;
|
|
15610
15748
|
removedProjectEnvsAt?: number;
|
|
15611
15749
|
removedTokensAt?: number;
|
|
@@ -15695,12 +15833,6 @@ declare const operationsByTag: {
|
|
|
15695
15833
|
* @example oac_xzpVzcUOgcB1nrVlirtKhbWV
|
|
15696
15834
|
*/
|
|
15697
15835
|
integrationId: string;
|
|
15698
|
-
/**
|
|
15699
|
-
* Will be truthy in those cases where the configuration was created to authorize a client through the OAuth2 flow.
|
|
15700
|
-
*
|
|
15701
|
-
* @example false
|
|
15702
|
-
*/
|
|
15703
|
-
oauthConfiguration?: boolean;
|
|
15704
15836
|
/**
|
|
15705
15837
|
* The user or team ID that owns the configuration
|
|
15706
15838
|
*
|
|
@@ -15718,7 +15850,7 @@ declare const operationsByTag: {
|
|
|
15718
15850
|
*
|
|
15719
15851
|
* @example marketplace
|
|
15720
15852
|
*/
|
|
15721
|
-
source?: 'marketplace' | 'deploy-button' | '
|
|
15853
|
+
source?: 'marketplace' | 'deploy-button' | 'external';
|
|
15722
15854
|
removedLogDrainsAt?: number;
|
|
15723
15855
|
removedProjectEnvsAt?: number;
|
|
15724
15856
|
removedTokensAt?: number;
|
|
@@ -15794,7 +15926,36 @@ declare const operationsByTag: {
|
|
|
15794
15926
|
};
|
|
15795
15927
|
teams: {
|
|
15796
15928
|
getTeamMembers: (variables: GetTeamMembersVariables, signal?: AbortSignal) => Promise<GetTeamMembersResponse>;
|
|
15797
|
-
inviteUserToTeam: (variables: InviteUserToTeamVariables, signal?: AbortSignal) => Promise<
|
|
15929
|
+
inviteUserToTeam: (variables: InviteUserToTeamVariables, signal?: AbortSignal) => Promise<{
|
|
15930
|
+
/**
|
|
15931
|
+
* The ID of the invited user
|
|
15932
|
+
*
|
|
15933
|
+
* @example kr1PsOIzqEL5Xg6M4VZcZosf
|
|
15934
|
+
*/
|
|
15935
|
+
uid: string;
|
|
15936
|
+
/**
|
|
15937
|
+
* The username of the invited user
|
|
15938
|
+
*
|
|
15939
|
+
* @example john-doe
|
|
15940
|
+
*/
|
|
15941
|
+
username: string;
|
|
15942
|
+
/**
|
|
15943
|
+
* The email of the invited user. Not included if the user was invited via their UID.
|
|
15944
|
+
*
|
|
15945
|
+
* @example john@user.co
|
|
15946
|
+
*/
|
|
15947
|
+
email: string;
|
|
15948
|
+
/**
|
|
15949
|
+
* The role used for the invitation
|
|
15950
|
+
*
|
|
15951
|
+
* @example MEMBER
|
|
15952
|
+
*/
|
|
15953
|
+
role: 'OWNER' | 'MEMBER' | 'VIEWER' | 'DEVELOPER' | 'BILLING' | 'CONTRIBUTOR';
|
|
15954
|
+
} | {
|
|
15955
|
+
uid: string;
|
|
15956
|
+
username: string;
|
|
15957
|
+
role: 'OWNER' | 'MEMBER' | 'VIEWER' | 'DEVELOPER' | 'BILLING' | 'CONTRIBUTOR';
|
|
15958
|
+
}>;
|
|
15798
15959
|
requestAccessToTeam: (variables: RequestAccessToTeamVariables, signal?: AbortSignal) => Promise<RequestAccessToTeamResponse>;
|
|
15799
15960
|
getTeamAccessRequest: (variables: GetTeamAccessRequestVariables, signal?: AbortSignal) => Promise<GetTeamAccessRequestResponse>;
|
|
15800
15961
|
joinTeam: (variables: JoinTeamVariables, signal?: AbortSignal) => Promise<JoinTeamResponse>;
|
|
@@ -15918,7 +16079,7 @@ declare const operationsByTag: {
|
|
|
15918
16079
|
getAlias: (variables: GetAliasVariables, signal?: AbortSignal) => Promise<GetAliasResponse>;
|
|
15919
16080
|
deleteAlias: (variables: DeleteAliasVariables, signal?: AbortSignal) => Promise<DeleteAliasResponse>;
|
|
15920
16081
|
listDeploymentAliases: (variables: ListDeploymentAliasesVariables, signal?: AbortSignal) => Promise<ListDeploymentAliasesResponse>;
|
|
15921
|
-
assignAlias: (variables: AssignAliasVariables, signal?: AbortSignal) => Promise<
|
|
16082
|
+
assignAlias: (variables: AssignAliasVariables, signal?: AbortSignal) => Promise<AssignAliasResponse>;
|
|
15922
16083
|
};
|
|
15923
16084
|
certs: {
|
|
15924
16085
|
getCertById: (variables: GetCertByIdVariables, signal?: AbortSignal) => Promise<GetCertByIdResponse>;
|
|
@@ -15950,6 +16111,7 @@ type components_AssignAliasError = AssignAliasError;
|
|
|
15950
16111
|
type components_AssignAliasPathParams = AssignAliasPathParams;
|
|
15951
16112
|
type components_AssignAliasQueryParams = AssignAliasQueryParams;
|
|
15952
16113
|
type components_AssignAliasRequestBody = AssignAliasRequestBody;
|
|
16114
|
+
type components_AssignAliasResponse = AssignAliasResponse;
|
|
15953
16115
|
type components_AssignAliasVariables = AssignAliasVariables;
|
|
15954
16116
|
type components_BuyDomainError = BuyDomainError;
|
|
15955
16117
|
type components_BuyDomainQueryParams = BuyDomainQueryParams;
|
|
@@ -16575,6 +16737,7 @@ declare namespace components {
|
|
|
16575
16737
|
components_AssignAliasPathParams as AssignAliasPathParams,
|
|
16576
16738
|
components_AssignAliasQueryParams as AssignAliasQueryParams,
|
|
16577
16739
|
components_AssignAliasRequestBody as AssignAliasRequestBody,
|
|
16740
|
+
components_AssignAliasResponse as AssignAliasResponse,
|
|
16578
16741
|
components_AssignAliasVariables as AssignAliasVariables,
|
|
16579
16742
|
components_BuyDomainError as BuyDomainError,
|
|
16580
16743
|
components_BuyDomainQueryParams as BuyDomainQueryParams,
|
|
@@ -17225,7 +17388,7 @@ declare const operationsByPath: {
|
|
|
17225
17388
|
monorepoManager?: string | null;
|
|
17226
17389
|
name: string;
|
|
17227
17390
|
ownerId: string;
|
|
17228
|
-
plan: "
|
|
17391
|
+
plan: "pro" | "enterprise" | "hobby" | "oss";
|
|
17229
17392
|
projectId: string;
|
|
17230
17393
|
routes: ({
|
|
17231
17394
|
src: string;
|
|
@@ -17617,10 +17780,9 @@ declare const operationsByPath: {
|
|
|
17617
17780
|
createdAt: number;
|
|
17618
17781
|
id: string;
|
|
17619
17782
|
integrationId: string;
|
|
17620
|
-
oauthConfiguration?: boolean;
|
|
17621
17783
|
ownerId: string;
|
|
17622
17784
|
projects?: string[];
|
|
17623
|
-
source?: "external" | "marketplace" | "deploy-button"
|
|
17785
|
+
source?: "external" | "marketplace" | "deploy-button";
|
|
17624
17786
|
removedLogDrainsAt?: number;
|
|
17625
17787
|
removedProjectEnvsAt?: number;
|
|
17626
17788
|
removedTokensAt?: number;
|
|
@@ -17656,10 +17818,9 @@ declare const operationsByPath: {
|
|
|
17656
17818
|
createdAt: number;
|
|
17657
17819
|
id: string;
|
|
17658
17820
|
integrationId: string;
|
|
17659
|
-
oauthConfiguration?: boolean;
|
|
17660
17821
|
ownerId: string;
|
|
17661
17822
|
projects?: string[];
|
|
17662
|
-
source?: "external" | "marketplace" | "deploy-button"
|
|
17823
|
+
source?: "external" | "marketplace" | "deploy-button";
|
|
17663
17824
|
removedLogDrainsAt?: number;
|
|
17664
17825
|
removedProjectEnvsAt?: number;
|
|
17665
17826
|
removedTokensAt?: number;
|
|
@@ -17688,10 +17849,9 @@ declare const operationsByPath: {
|
|
|
17688
17849
|
createdAt: number;
|
|
17689
17850
|
id: string;
|
|
17690
17851
|
integrationId: string;
|
|
17691
|
-
oauthConfiguration?: boolean;
|
|
17692
17852
|
ownerId: string;
|
|
17693
17853
|
projects?: string[];
|
|
17694
|
-
source?: "external" | "marketplace" | "deploy-button"
|
|
17854
|
+
source?: "external" | "marketplace" | "deploy-button";
|
|
17695
17855
|
removedLogDrainsAt?: number;
|
|
17696
17856
|
removedProjectEnvsAt?: number;
|
|
17697
17857
|
removedTokensAt?: number;
|
|
@@ -17720,10 +17880,9 @@ declare const operationsByPath: {
|
|
|
17720
17880
|
createdAt: number;
|
|
17721
17881
|
id: string;
|
|
17722
17882
|
integrationId: string;
|
|
17723
|
-
oauthConfiguration?: boolean;
|
|
17724
17883
|
ownerId: string;
|
|
17725
17884
|
projects?: string[];
|
|
17726
|
-
source?: "external" | "marketplace" | "deploy-button"
|
|
17885
|
+
source?: "external" | "marketplace" | "deploy-button";
|
|
17727
17886
|
removedLogDrainsAt?: number;
|
|
17728
17887
|
removedProjectEnvsAt?: number;
|
|
17729
17888
|
removedTokensAt?: number;
|
|
@@ -18096,7 +18255,16 @@ declare const operationsByPath: {
|
|
|
18096
18255
|
}[]>;
|
|
18097
18256
|
'PATCH /v9/projects/{idOrName}/env/{id}': (variables: EditProjectEnvVariables, signal?: AbortSignal | undefined) => Promise<EditProjectEnvResponse>;
|
|
18098
18257
|
'GET /v2/teams/{teamId}/members': (variables: GetTeamMembersVariables, signal?: AbortSignal | undefined) => Promise<GetTeamMembersResponse>;
|
|
18099
|
-
'POST /v1/teams/{teamId}/members': (variables: InviteUserToTeamVariables, signal?: AbortSignal | undefined) => Promise<
|
|
18258
|
+
'POST /v1/teams/{teamId}/members': (variables: InviteUserToTeamVariables, signal?: AbortSignal | undefined) => Promise<{
|
|
18259
|
+
uid: string;
|
|
18260
|
+
username: string;
|
|
18261
|
+
email: string;
|
|
18262
|
+
role: "MEMBER" | "OWNER" | "VIEWER" | "DEVELOPER" | "BILLING" | "CONTRIBUTOR";
|
|
18263
|
+
} | {
|
|
18264
|
+
uid: string;
|
|
18265
|
+
username: string;
|
|
18266
|
+
role: "MEMBER" | "OWNER" | "VIEWER" | "DEVELOPER" | "BILLING" | "CONTRIBUTOR";
|
|
18267
|
+
}>;
|
|
18100
18268
|
'POST /v1/teams/{teamId}/request': (variables: RequestAccessToTeamVariables, signal?: AbortSignal | undefined) => Promise<RequestAccessToTeamResponse>;
|
|
18101
18269
|
'GET /v1/teams/{teamId}/request/{userId}': (variables: GetTeamAccessRequestVariables, signal?: AbortSignal | undefined) => Promise<GetTeamAccessRequestResponse>;
|
|
18102
18270
|
'POST /v1/teams/{teamId}/members/teams/join': (variables: JoinTeamVariables, signal?: AbortSignal | undefined) => Promise<JoinTeamResponse>;
|
|
@@ -18147,7 +18315,7 @@ declare const operationsByPath: {
|
|
|
18147
18315
|
'GET /v4/aliases/{idOrAlias}': (variables: GetAliasVariables, signal?: AbortSignal | undefined) => Promise<GetAliasResponse>;
|
|
18148
18316
|
'DELETE /v2/aliases/{aliasId}': (variables: DeleteAliasVariables, signal?: AbortSignal | undefined) => Promise<DeleteAliasResponse>;
|
|
18149
18317
|
'GET /v2/deployments/{id}/aliases': (variables: ListDeploymentAliasesVariables, signal?: AbortSignal | undefined) => Promise<ListDeploymentAliasesResponse>;
|
|
18150
|
-
'POST /v2/deployments/{id}/aliases': (variables: AssignAliasVariables, signal?: AbortSignal | undefined) => Promise<
|
|
18318
|
+
'POST /v2/deployments/{id}/aliases': (variables: AssignAliasVariables, signal?: AbortSignal | undefined) => Promise<AssignAliasResponse>;
|
|
18151
18319
|
'GET /v7/certs/{id}': (variables: GetCertByIdVariables, signal?: AbortSignal | undefined) => Promise<GetCertByIdResponse>;
|
|
18152
18320
|
'DELETE /v7/certs/{id}': (variables: RemoveCertVariables, signal?: AbortSignal | undefined) => Promise<Record<string, any>>;
|
|
18153
18321
|
'POST /v7/certs': (variables: IssueCertVariables, signal?: AbortSignal | undefined) => Promise<IssueCertResponse>;
|
|
@@ -18225,7 +18393,7 @@ declare class VercelApi {
|
|
|
18225
18393
|
monorepoManager?: string | null;
|
|
18226
18394
|
name: string;
|
|
18227
18395
|
ownerId: string;
|
|
18228
|
-
plan: "
|
|
18396
|
+
plan: "pro" | "enterprise" | "hobby" | "oss";
|
|
18229
18397
|
projectId: string;
|
|
18230
18398
|
routes: ({
|
|
18231
18399
|
src: string;
|
|
@@ -18617,10 +18785,9 @@ declare class VercelApi {
|
|
|
18617
18785
|
createdAt: number;
|
|
18618
18786
|
id: string;
|
|
18619
18787
|
integrationId: string;
|
|
18620
|
-
oauthConfiguration?: boolean;
|
|
18621
18788
|
ownerId: string;
|
|
18622
18789
|
projects?: string[];
|
|
18623
|
-
source?: "external" | "marketplace" | "deploy-button"
|
|
18790
|
+
source?: "external" | "marketplace" | "deploy-button";
|
|
18624
18791
|
removedLogDrainsAt?: number;
|
|
18625
18792
|
removedProjectEnvsAt?: number;
|
|
18626
18793
|
removedTokensAt?: number;
|
|
@@ -18656,10 +18823,9 @@ declare class VercelApi {
|
|
|
18656
18823
|
createdAt: number;
|
|
18657
18824
|
id: string;
|
|
18658
18825
|
integrationId: string;
|
|
18659
|
-
oauthConfiguration?: boolean;
|
|
18660
18826
|
ownerId: string;
|
|
18661
18827
|
projects?: string[];
|
|
18662
|
-
source?: "external" | "marketplace" | "deploy-button"
|
|
18828
|
+
source?: "external" | "marketplace" | "deploy-button";
|
|
18663
18829
|
removedLogDrainsAt?: number;
|
|
18664
18830
|
removedProjectEnvsAt?: number;
|
|
18665
18831
|
removedTokensAt?: number;
|
|
@@ -18688,10 +18854,9 @@ declare class VercelApi {
|
|
|
18688
18854
|
createdAt: number;
|
|
18689
18855
|
id: string;
|
|
18690
18856
|
integrationId: string;
|
|
18691
|
-
oauthConfiguration?: boolean;
|
|
18692
18857
|
ownerId: string;
|
|
18693
18858
|
projects?: string[];
|
|
18694
|
-
source?: "external" | "marketplace" | "deploy-button"
|
|
18859
|
+
source?: "external" | "marketplace" | "deploy-button";
|
|
18695
18860
|
removedLogDrainsAt?: number;
|
|
18696
18861
|
removedProjectEnvsAt?: number;
|
|
18697
18862
|
removedTokensAt?: number;
|
|
@@ -18720,10 +18885,9 @@ declare class VercelApi {
|
|
|
18720
18885
|
createdAt: number;
|
|
18721
18886
|
id: string;
|
|
18722
18887
|
integrationId: string;
|
|
18723
|
-
oauthConfiguration?: boolean;
|
|
18724
18888
|
ownerId: string;
|
|
18725
18889
|
projects?: string[];
|
|
18726
|
-
source?: "external" | "marketplace" | "deploy-button"
|
|
18890
|
+
source?: "external" | "marketplace" | "deploy-button";
|
|
18727
18891
|
removedLogDrainsAt?: number;
|
|
18728
18892
|
removedProjectEnvsAt?: number;
|
|
18729
18893
|
removedTokensAt?: number;
|
|
@@ -19096,7 +19260,16 @@ declare class VercelApi {
|
|
|
19096
19260
|
}[]>;
|
|
19097
19261
|
'PATCH /v9/projects/{idOrName}/env/{id}': (variables: EditProjectEnvVariables, signal?: AbortSignal | undefined) => Promise<EditProjectEnvResponse>;
|
|
19098
19262
|
'GET /v2/teams/{teamId}/members': (variables: GetTeamMembersVariables, signal?: AbortSignal | undefined) => Promise<GetTeamMembersResponse>;
|
|
19099
|
-
'POST /v1/teams/{teamId}/members': (variables: InviteUserToTeamVariables, signal?: AbortSignal | undefined) => Promise<
|
|
19263
|
+
'POST /v1/teams/{teamId}/members': (variables: InviteUserToTeamVariables, signal?: AbortSignal | undefined) => Promise<{
|
|
19264
|
+
uid: string;
|
|
19265
|
+
username: string;
|
|
19266
|
+
email: string;
|
|
19267
|
+
role: "MEMBER" | "OWNER" | "VIEWER" | "DEVELOPER" | "BILLING" | "CONTRIBUTOR";
|
|
19268
|
+
} | {
|
|
19269
|
+
uid: string;
|
|
19270
|
+
username: string;
|
|
19271
|
+
role: "MEMBER" | "OWNER" | "VIEWER" | "DEVELOPER" | "BILLING" | "CONTRIBUTOR";
|
|
19272
|
+
}>;
|
|
19100
19273
|
'POST /v1/teams/{teamId}/request': (variables: RequestAccessToTeamVariables, signal?: AbortSignal | undefined) => Promise<RequestAccessToTeamResponse>;
|
|
19101
19274
|
'GET /v1/teams/{teamId}/request/{userId}': (variables: GetTeamAccessRequestVariables, signal?: AbortSignal | undefined) => Promise<GetTeamAccessRequestResponse>;
|
|
19102
19275
|
'POST /v1/teams/{teamId}/members/teams/join': (variables: JoinTeamVariables, signal?: AbortSignal | undefined) => Promise<JoinTeamResponse>;
|
|
@@ -19147,7 +19320,7 @@ declare class VercelApi {
|
|
|
19147
19320
|
'GET /v4/aliases/{idOrAlias}': (variables: GetAliasVariables, signal?: AbortSignal | undefined) => Promise<GetAliasResponse>;
|
|
19148
19321
|
'DELETE /v2/aliases/{aliasId}': (variables: DeleteAliasVariables, signal?: AbortSignal | undefined) => Promise<DeleteAliasResponse>;
|
|
19149
19322
|
'GET /v2/deployments/{id}/aliases': (variables: ListDeploymentAliasesVariables, signal?: AbortSignal | undefined) => Promise<ListDeploymentAliasesResponse>;
|
|
19150
|
-
'POST /v2/deployments/{id}/aliases': (variables: AssignAliasVariables, signal?: AbortSignal | undefined) => Promise<
|
|
19323
|
+
'POST /v2/deployments/{id}/aliases': (variables: AssignAliasVariables, signal?: AbortSignal | undefined) => Promise<AssignAliasResponse>;
|
|
19151
19324
|
'GET /v7/certs/{id}': (variables: GetCertByIdVariables, signal?: AbortSignal | undefined) => Promise<GetCertByIdResponse>;
|
|
19152
19325
|
'DELETE /v7/certs/{id}': (variables: RemoveCertVariables, signal?: AbortSignal | undefined) => Promise<Record<string, any>>;
|
|
19153
19326
|
'POST /v7/certs': (variables: IssueCertVariables, signal?: AbortSignal | undefined) => Promise<IssueCertResponse>;
|
package/dist/index.mjs
CHANGED
|
@@ -176,7 +176,7 @@ const rerequestCheck = (variables, signal) => fetch$1({
|
|
|
176
176
|
signal
|
|
177
177
|
});
|
|
178
178
|
/**
|
|
179
|
-
* Update the
|
|
179
|
+
* Update the data cache feature on a project.
|
|
180
180
|
*/
|
|
181
181
|
const updateProjectDataCache = (variables, signal) => fetch$1({ url: '/v1/data-cache/projects/{projectId}', method: 'patch', ...variables, signal });
|
|
182
182
|
/**
|
|
@@ -514,12 +514,7 @@ const getTeamMembers = (variables, signal) => fetch$1({
|
|
|
514
514
|
/**
|
|
515
515
|
* Invite a user to join the team specified in the URL. The authenticated user needs to be an `OWNER` in order to successfully invoke this endpoint. The user can be specified with an email or an ID. If both email and ID are provided, ID will take priority.
|
|
516
516
|
*/
|
|
517
|
-
const inviteUserToTeam = (variables, signal) => fetch$1({
|
|
518
|
-
url: '/v1/teams/{teamId}/members',
|
|
519
|
-
method: 'post',
|
|
520
|
-
...variables,
|
|
521
|
-
signal
|
|
522
|
-
});
|
|
517
|
+
const inviteUserToTeam = (variables, signal) => fetch$1({ url: '/v1/teams/{teamId}/members', method: 'post', ...variables, signal });
|
|
523
518
|
/**
|
|
524
519
|
* Request access to a team as a member. An owner has to approve the request. Only 10 users can request access to a team at the same time.
|
|
525
520
|
*/
|