vercel-api-js 0.15.0 → 0.16.1
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 +8 -8
- package/CHANGELOG.md +17 -0
- package/dist/index.d.mts +222 -12
- package/dist/index.d.ts +222 -12
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> vercel-api-js@0.
|
|
2
|
+
> vercel-api-js@0.16.1 build /home/runner/work/openapi-clients/openapi-clients/packages/vercel-api-js
|
|
3
3
|
> rimraf dist && tsup
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -11,12 +11,12 @@
|
|
|
11
11
|
[34mCJS[39m Build start
|
|
12
12
|
[34mESM[39m Build start
|
|
13
13
|
[32mESM[39m [1mdist/index.mjs [22m[32m26.59 KB[39m
|
|
14
|
-
[32mESM[39m [1mdist/index.mjs.map [22m[
|
|
15
|
-
[32mESM[39m ⚡️ Build success in
|
|
14
|
+
[32mESM[39m [1mdist/index.mjs.map [22m[32m604.06 KB[39m
|
|
15
|
+
[32mESM[39m ⚡️ Build success in 167ms
|
|
16
16
|
[32mCJS[39m [1mdist/index.js [22m[32m27.58 KB[39m
|
|
17
|
-
[32mCJS[39m [1mdist/index.js.map [22m[
|
|
18
|
-
[32mCJS[39m ⚡️ Build success in
|
|
17
|
+
[32mCJS[39m [1mdist/index.js.map [22m[32m604.29 KB[39m
|
|
18
|
+
[32mCJS[39m ⚡️ Build success in 190ms
|
|
19
19
|
[34mDTS[39m Build start
|
|
20
|
-
[32mDTS[39m ⚡️ Build success in
|
|
21
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[
|
|
22
|
-
[32mDTS[39m [1mdist/index.d.mts [22m[
|
|
20
|
+
[32mDTS[39m ⚡️ Build success in 10785ms
|
|
21
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m876.21 KB[39m
|
|
22
|
+
[32mDTS[39m [1mdist/index.d.mts [22m[32m876.21 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# vercel-api-js
|
|
2
2
|
|
|
3
|
+
## 0.16.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 5d3c268: Add 'observabilityEvent' to AuthUser type
|
|
8
|
+
|
|
9
|
+
## 0.16.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- bfcf8aa: Add support for microfrontends in the 'getDeployment' and 'createDeployment' endpoints
|
|
14
|
+
- 1e5d876: Add observabilityConfiguration and observabilityData to various project endpoints
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- 445b9fc: Add new 'v0-web' option to source field in deployment API
|
|
19
|
+
|
|
3
20
|
## 0.15.0
|
|
4
21
|
|
|
5
22
|
### Minor Changes
|
package/dist/index.d.mts
CHANGED
|
@@ -229,7 +229,7 @@ type AuthUser = {
|
|
|
229
229
|
softBlock: {
|
|
230
230
|
blockedAt: number;
|
|
231
231
|
reason: 'BLOCKED_FOR_PLATFORM_ABUSE' | 'ENTERPRISE_TRIAL_ENDED' | 'FAIR_USE_LIMITS_EXCEEDED' | 'SUBSCRIPTION_CANCELED' | 'SUBSCRIPTION_EXPIRED' | 'UNPAID_INVOICE';
|
|
232
|
-
blockedDueToOverageType?: 'analyticsUsage' | 'artifacts' | 'bandwidth' | 'blobStores' | 'blobTotalAdvancedRequests' | 'blobTotalAvgSizeInBytes' | 'blobTotalGetResponseObjectSizeInBytes' | 'blobTotalSimpleRequests' | 'buildMinute' | 'dataCacheRead' | 'dataCacheRevalidation' | 'dataCacheWrite' | 'edgeConfigRead' | 'edgeConfigWrite' | 'edgeFunctionExecutionUnits' | 'edgeMiddlewareInvocations' | 'edgeRequest' | 'edgeRequestAdditionalCpuDuration' | 'fastDataTransfer' | 'fastOriginTransfer' | 'functionDuration' | 'functionInvocation' | 'logDrainsVolume' | 'monitoringMetric' | 'postgresComputeTime' | 'postgresDataStorage' | 'postgresDataTransfer' | 'postgresDatabase' | 'postgresWrittenData' | 'serverlessFunctionExecution' | 'sourceImages' | 'storageRedisTotalBandwidthInBytes' | 'storageRedisTotalCommands' | 'storageRedisTotalDailyAvgStorageInBytes' | 'storageRedisTotalDatabases' | 'wafOwaspExcessBytes' | 'wafOwaspRequests' | 'wafRateLimitRequest' | 'webAnalyticsEvent';
|
|
232
|
+
blockedDueToOverageType?: 'analyticsUsage' | 'artifacts' | 'bandwidth' | 'blobStores' | 'blobTotalAdvancedRequests' | 'blobTotalAvgSizeInBytes' | 'blobTotalGetResponseObjectSizeInBytes' | 'blobTotalSimpleRequests' | 'buildMinute' | 'dataCacheRead' | 'dataCacheRevalidation' | 'dataCacheWrite' | 'edgeConfigRead' | 'edgeConfigWrite' | 'edgeFunctionExecutionUnits' | 'edgeMiddlewareInvocations' | 'edgeRequest' | 'edgeRequestAdditionalCpuDuration' | 'fastDataTransfer' | 'fastOriginTransfer' | 'functionDuration' | 'functionInvocation' | 'logDrainsVolume' | 'monitoringMetric' | 'observabilityEvent' | 'postgresComputeTime' | 'postgresDataStorage' | 'postgresDataTransfer' | 'postgresDatabase' | 'postgresWrittenData' | 'serverlessFunctionExecution' | 'sourceImages' | 'storageRedisTotalBandwidthInBytes' | 'storageRedisTotalCommands' | 'storageRedisTotalDailyAvgStorageInBytes' | 'storageRedisTotalDatabases' | 'wafOwaspExcessBytes' | 'wafOwaspRequests' | 'wafRateLimitRequest' | 'webAnalyticsEvent';
|
|
233
233
|
} | null;
|
|
234
234
|
/**
|
|
235
235
|
* An object containing billing infomation associated with the User account.
|
|
@@ -307,6 +307,14 @@ type AuthUser = {
|
|
|
307
307
|
* An object containing infomation related to the amount of platform resources may be allocated to the User account.
|
|
308
308
|
*/
|
|
309
309
|
cronJobsPerProject?: number;
|
|
310
|
+
/**
|
|
311
|
+
* An object containing infomation related to the amount of platform resources may be allocated to the User account.
|
|
312
|
+
*/
|
|
313
|
+
microfrontendGroupsPerTeam?: number;
|
|
314
|
+
/**
|
|
315
|
+
* An object containing infomation related to the amount of platform resources may be allocated to the User account.
|
|
316
|
+
*/
|
|
317
|
+
microfrontendProjectsPerGroup?: number;
|
|
310
318
|
};
|
|
311
319
|
/**
|
|
312
320
|
* Prefix that will be used in the URL of "Preview" deployments created by the User account.
|
|
@@ -2551,6 +2559,7 @@ type UpdateProjectDataCacheResponse = {
|
|
|
2551
2559
|
notificationCustomerBudget?: ACLAction[];
|
|
2552
2560
|
notificationStatementOfReasons?: ACLAction[];
|
|
2553
2561
|
oauth2Connection?: ACLAction[];
|
|
2562
|
+
observabilityConfiguration?: ACLAction[];
|
|
2554
2563
|
openTelemetryEndpoint?: ACLAction[];
|
|
2555
2564
|
paymentMethod?: ACLAction[];
|
|
2556
2565
|
permissions?: ACLAction[];
|
|
@@ -2625,6 +2634,7 @@ type UpdateProjectDataCacheResponse = {
|
|
|
2625
2634
|
passwordProtection?: ACLAction[];
|
|
2626
2635
|
optionsAllowlist?: ACLAction[];
|
|
2627
2636
|
job?: ACLAction[];
|
|
2637
|
+
observabilityData?: ACLAction[];
|
|
2628
2638
|
project?: ACLAction[];
|
|
2629
2639
|
projectFromV0?: ACLAction[];
|
|
2630
2640
|
projectAccessGroup?: ACLAction[];
|
|
@@ -3110,7 +3120,7 @@ declare const getDeployment: (variables: GetDeploymentVariables, signal?: AbortS
|
|
|
3110
3120
|
readySubstate?: "STAGED" | "PROMOTED";
|
|
3111
3121
|
regions: string[];
|
|
3112
3122
|
softDeletedByRetention?: boolean;
|
|
3113
|
-
source?: "api-trigger-git-deploy" | "cli" | "clone/repo" | "git" | "import" | "import/repo" | "redeploy";
|
|
3123
|
+
source?: "api-trigger-git-deploy" | "cli" | "clone/repo" | "git" | "import" | "import/repo" | "redeploy" | "v0-web";
|
|
3114
3124
|
target?: "staging" | "production" | null;
|
|
3115
3125
|
undeletedAt?: number;
|
|
3116
3126
|
url: string;
|
|
@@ -3252,6 +3262,46 @@ declare const getDeployment: (variables: GetDeploymentVariables, signal?: AbortS
|
|
|
3252
3262
|
};
|
|
3253
3263
|
};
|
|
3254
3264
|
} | Record<string, any>[];
|
|
3265
|
+
microfrontends?: {
|
|
3266
|
+
/**
|
|
3267
|
+
* Whether this project is the default application for the microfrontends group. The default application is the one that is used as the top level shell for the microfrontends group and hosts the other microfrontends.
|
|
3268
|
+
*/
|
|
3269
|
+
isDefaultApp?: boolean;
|
|
3270
|
+
/**
|
|
3271
|
+
* A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI.
|
|
3272
|
+
*/
|
|
3273
|
+
defaultRoute?: string;
|
|
3274
|
+
/**
|
|
3275
|
+
* The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together.
|
|
3276
|
+
*/
|
|
3277
|
+
groupIds: string[];
|
|
3278
|
+
} | {
|
|
3279
|
+
/**
|
|
3280
|
+
* A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment.
|
|
3281
|
+
*/
|
|
3282
|
+
applications?: {
|
|
3283
|
+
[key: string]: {
|
|
3284
|
+
/**
|
|
3285
|
+
* This is the production alias, it will always show the most up to date of each application.
|
|
3286
|
+
*/
|
|
3287
|
+
productionHost: string;
|
|
3288
|
+
/**
|
|
3289
|
+
* Use the fixed deploymentAlias and deploymentHost so that the microfrontend preview stays in sync with the deployment. These are only present for mono-repos when a single commit creates multiple deployments. If they are not present, productionHost will be used.
|
|
3290
|
+
*/
|
|
3291
|
+
deploymentAlias?: string;
|
|
3292
|
+
deploymentHost?: string;
|
|
3293
|
+
};
|
|
3294
|
+
};
|
|
3295
|
+
isDefaultApp: boolean;
|
|
3296
|
+
/**
|
|
3297
|
+
* A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI.
|
|
3298
|
+
*/
|
|
3299
|
+
defaultRoute?: string;
|
|
3300
|
+
/**
|
|
3301
|
+
* The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together.
|
|
3302
|
+
*/
|
|
3303
|
+
groupIds: string[];
|
|
3304
|
+
};
|
|
3255
3305
|
} | {
|
|
3256
3306
|
alias?: string[];
|
|
3257
3307
|
aliasAssigned: boolean;
|
|
@@ -3402,7 +3452,7 @@ declare const getDeployment: (variables: GetDeploymentVariables, signal?: AbortS
|
|
|
3402
3452
|
readySubstate?: "STAGED" | "PROMOTED";
|
|
3403
3453
|
regions: string[];
|
|
3404
3454
|
softDeletedByRetention?: boolean;
|
|
3405
|
-
source?: "api-trigger-git-deploy" | "cli" | "clone/repo" | "git" | "import" | "import/repo" | "redeploy";
|
|
3455
|
+
source?: "api-trigger-git-deploy" | "cli" | "clone/repo" | "git" | "import" | "import/repo" | "redeploy" | "v0-web";
|
|
3406
3456
|
target?: "staging" | "production" | null;
|
|
3407
3457
|
undeletedAt?: number;
|
|
3408
3458
|
url: string;
|
|
@@ -3597,7 +3647,7 @@ type CreateDeploymentResponse = {
|
|
|
3597
3647
|
framework?: string | null;
|
|
3598
3648
|
};
|
|
3599
3649
|
readyState: 'BUILDING' | 'CANCELED' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY';
|
|
3600
|
-
source?: 'api-trigger-git-deploy' | 'cli' | 'clone/repo' | 'git' | 'import' | 'import/repo' | 'redeploy';
|
|
3650
|
+
source?: 'api-trigger-git-deploy' | 'cli' | 'clone/repo' | 'git' | 'import' | 'import/repo' | 'redeploy' | 'v0-web';
|
|
3601
3651
|
target?: 'production' | 'staging' | null;
|
|
3602
3652
|
/**
|
|
3603
3653
|
* Since November 2023 this field defines a set of regions that we will deploy the lambda to passively Lambdas will be deployed to these regions but only invoked if all of the primary `regions` are marked as out of service
|
|
@@ -3648,6 +3698,46 @@ type CreateDeploymentResponse = {
|
|
|
3648
3698
|
};
|
|
3649
3699
|
projectId: string;
|
|
3650
3700
|
ownerId: string;
|
|
3701
|
+
microfrontends?: {
|
|
3702
|
+
/**
|
|
3703
|
+
* Whether this project is the default application for the microfrontends group. The default application is the one that is used as the top level shell for the microfrontends group and hosts the other microfrontends.
|
|
3704
|
+
*/
|
|
3705
|
+
isDefaultApp?: boolean;
|
|
3706
|
+
/**
|
|
3707
|
+
* A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI.
|
|
3708
|
+
*/
|
|
3709
|
+
defaultRoute?: string;
|
|
3710
|
+
/**
|
|
3711
|
+
* The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together.
|
|
3712
|
+
*/
|
|
3713
|
+
groupIds: string[];
|
|
3714
|
+
} | {
|
|
3715
|
+
/**
|
|
3716
|
+
* A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment.
|
|
3717
|
+
*/
|
|
3718
|
+
applications?: {
|
|
3719
|
+
[key: string]: {
|
|
3720
|
+
/**
|
|
3721
|
+
* This is the production alias, it will always show the most up to date of each application.
|
|
3722
|
+
*/
|
|
3723
|
+
productionHost: string;
|
|
3724
|
+
/**
|
|
3725
|
+
* Use the fixed deploymentAlias and deploymentHost so that the microfrontend preview stays in sync with the deployment. These are only present for mono-repos when a single commit creates multiple deployments. If they are not present, productionHost will be used.
|
|
3726
|
+
*/
|
|
3727
|
+
deploymentAlias?: string;
|
|
3728
|
+
deploymentHost?: string;
|
|
3729
|
+
};
|
|
3730
|
+
};
|
|
3731
|
+
isDefaultApp: boolean;
|
|
3732
|
+
/**
|
|
3733
|
+
* A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI.
|
|
3734
|
+
*/
|
|
3735
|
+
defaultRoute?: string;
|
|
3736
|
+
/**
|
|
3737
|
+
* The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together.
|
|
3738
|
+
*/
|
|
3739
|
+
groupIds: string[];
|
|
3740
|
+
};
|
|
3651
3741
|
monorepoManager?: string | null;
|
|
3652
3742
|
functions?: {
|
|
3653
3743
|
[key: string]: {
|
|
@@ -4200,7 +4290,7 @@ type CancelDeploymentResponse = {
|
|
|
4200
4290
|
readySubstate?: 'PROMOTED' | 'STAGED';
|
|
4201
4291
|
regions: string[];
|
|
4202
4292
|
softDeletedByRetention?: boolean;
|
|
4203
|
-
source?: 'api-trigger-git-deploy' | 'cli' | 'clone/repo' | 'git' | 'import' | 'import/repo' | 'redeploy';
|
|
4293
|
+
source?: 'api-trigger-git-deploy' | 'cli' | 'clone/repo' | 'git' | 'import' | 'import/repo' | 'redeploy' | 'v0-web';
|
|
4204
4294
|
target?: 'production' | 'staging' | null;
|
|
4205
4295
|
type: 'LAMBDAS';
|
|
4206
4296
|
undeletedAt?: number;
|
|
@@ -4343,6 +4433,46 @@ type CancelDeploymentResponse = {
|
|
|
4343
4433
|
};
|
|
4344
4434
|
};
|
|
4345
4435
|
} | Record<string, any>[];
|
|
4436
|
+
microfrontends?: {
|
|
4437
|
+
/**
|
|
4438
|
+
* Whether this project is the default application for the microfrontends group. The default application is the one that is used as the top level shell for the microfrontends group and hosts the other microfrontends.
|
|
4439
|
+
*/
|
|
4440
|
+
isDefaultApp?: boolean;
|
|
4441
|
+
/**
|
|
4442
|
+
* A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI.
|
|
4443
|
+
*/
|
|
4444
|
+
defaultRoute?: string;
|
|
4445
|
+
/**
|
|
4446
|
+
* The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together.
|
|
4447
|
+
*/
|
|
4448
|
+
groupIds: string[];
|
|
4449
|
+
} | {
|
|
4450
|
+
/**
|
|
4451
|
+
* A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment.
|
|
4452
|
+
*/
|
|
4453
|
+
applications?: {
|
|
4454
|
+
[key: string]: {
|
|
4455
|
+
/**
|
|
4456
|
+
* This is the production alias, it will always show the most up to date of each application.
|
|
4457
|
+
*/
|
|
4458
|
+
productionHost: string;
|
|
4459
|
+
/**
|
|
4460
|
+
* Use the fixed deploymentAlias and deploymentHost so that the microfrontend preview stays in sync with the deployment. These are only present for mono-repos when a single commit creates multiple deployments. If they are not present, productionHost will be used.
|
|
4461
|
+
*/
|
|
4462
|
+
deploymentAlias?: string;
|
|
4463
|
+
deploymentHost?: string;
|
|
4464
|
+
};
|
|
4465
|
+
};
|
|
4466
|
+
isDefaultApp: boolean;
|
|
4467
|
+
/**
|
|
4468
|
+
* A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI.
|
|
4469
|
+
*/
|
|
4470
|
+
defaultRoute?: string;
|
|
4471
|
+
/**
|
|
4472
|
+
* The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together.
|
|
4473
|
+
*/
|
|
4474
|
+
groupIds: string[];
|
|
4475
|
+
};
|
|
4346
4476
|
};
|
|
4347
4477
|
type CancelDeploymentVariables = {
|
|
4348
4478
|
pathParams: CancelDeploymentPathParams;
|
|
@@ -8433,6 +8563,7 @@ type GetProjectsResponse = {
|
|
|
8433
8563
|
notificationCustomerBudget?: ACLAction[];
|
|
8434
8564
|
notificationStatementOfReasons?: ACLAction[];
|
|
8435
8565
|
oauth2Connection?: ACLAction[];
|
|
8566
|
+
observabilityConfiguration?: ACLAction[];
|
|
8436
8567
|
openTelemetryEndpoint?: ACLAction[];
|
|
8437
8568
|
paymentMethod?: ACLAction[];
|
|
8438
8569
|
permissions?: ACLAction[];
|
|
@@ -8507,6 +8638,7 @@ type GetProjectsResponse = {
|
|
|
8507
8638
|
passwordProtection?: ACLAction[];
|
|
8508
8639
|
optionsAllowlist?: ACLAction[];
|
|
8509
8640
|
job?: ACLAction[];
|
|
8641
|
+
observabilityData?: ACLAction[];
|
|
8510
8642
|
project?: ACLAction[];
|
|
8511
8643
|
projectFromV0?: ACLAction[];
|
|
8512
8644
|
projectAccessGroup?: ACLAction[];
|
|
@@ -9204,6 +9336,7 @@ type CreateProjectResponse = {
|
|
|
9204
9336
|
notificationCustomerBudget?: ACLAction[];
|
|
9205
9337
|
notificationStatementOfReasons?: ACLAction[];
|
|
9206
9338
|
oauth2Connection?: ACLAction[];
|
|
9339
|
+
observabilityConfiguration?: ACLAction[];
|
|
9207
9340
|
openTelemetryEndpoint?: ACLAction[];
|
|
9208
9341
|
paymentMethod?: ACLAction[];
|
|
9209
9342
|
permissions?: ACLAction[];
|
|
@@ -9278,6 +9411,7 @@ type CreateProjectResponse = {
|
|
|
9278
9411
|
passwordProtection?: ACLAction[];
|
|
9279
9412
|
optionsAllowlist?: ACLAction[];
|
|
9280
9413
|
job?: ACLAction[];
|
|
9414
|
+
observabilityData?: ACLAction[];
|
|
9281
9415
|
project?: ACLAction[];
|
|
9282
9416
|
projectFromV0?: ACLAction[];
|
|
9283
9417
|
projectAccessGroup?: ACLAction[];
|
|
@@ -10107,6 +10241,7 @@ type GetProjectResponse = {
|
|
|
10107
10241
|
notificationCustomerBudget?: ACLAction[];
|
|
10108
10242
|
notificationStatementOfReasons?: ACLAction[];
|
|
10109
10243
|
oauth2Connection?: ACLAction[];
|
|
10244
|
+
observabilityConfiguration?: ACLAction[];
|
|
10110
10245
|
openTelemetryEndpoint?: ACLAction[];
|
|
10111
10246
|
paymentMethod?: ACLAction[];
|
|
10112
10247
|
permissions?: ACLAction[];
|
|
@@ -10181,6 +10316,7 @@ type GetProjectResponse = {
|
|
|
10181
10316
|
passwordProtection?: ACLAction[];
|
|
10182
10317
|
optionsAllowlist?: ACLAction[];
|
|
10183
10318
|
job?: ACLAction[];
|
|
10319
|
+
observabilityData?: ACLAction[];
|
|
10184
10320
|
project?: ACLAction[];
|
|
10185
10321
|
projectFromV0?: ACLAction[];
|
|
10186
10322
|
projectAccessGroup?: ACLAction[];
|
|
@@ -10885,6 +11021,7 @@ type UpdateProjectResponse = {
|
|
|
10885
11021
|
notificationCustomerBudget?: ACLAction[];
|
|
10886
11022
|
notificationStatementOfReasons?: ACLAction[];
|
|
10887
11023
|
oauth2Connection?: ACLAction[];
|
|
11024
|
+
observabilityConfiguration?: ACLAction[];
|
|
10888
11025
|
openTelemetryEndpoint?: ACLAction[];
|
|
10889
11026
|
paymentMethod?: ACLAction[];
|
|
10890
11027
|
permissions?: ACLAction[];
|
|
@@ -10959,6 +11096,7 @@ type UpdateProjectResponse = {
|
|
|
10959
11096
|
passwordProtection?: ACLAction[];
|
|
10960
11097
|
optionsAllowlist?: ACLAction[];
|
|
10961
11098
|
job?: ACLAction[];
|
|
11099
|
+
observabilityData?: ACLAction[];
|
|
10962
11100
|
project?: ACLAction[];
|
|
10963
11101
|
projectFromV0?: ACLAction[];
|
|
10964
11102
|
projectAccessGroup?: ACLAction[];
|
|
@@ -16105,7 +16243,7 @@ type GetDeploymentsResponse = {
|
|
|
16105
16243
|
*
|
|
16106
16244
|
* @example cli
|
|
16107
16245
|
*/
|
|
16108
|
-
source?: 'api-trigger-git-deploy' | 'cli' | 'clone/repo' | 'git' | 'import' | 'import/repo' | 'redeploy';
|
|
16246
|
+
source?: 'api-trigger-git-deploy' | 'cli' | 'clone/repo' | 'git' | 'import' | 'import/repo' | 'redeploy' | 'v0-web';
|
|
16109
16247
|
/**
|
|
16110
16248
|
* In which state is the deployment.
|
|
16111
16249
|
*
|
|
@@ -17871,7 +18009,7 @@ declare const operationsByTag: {
|
|
|
17871
18009
|
readySubstate?: "STAGED" | "PROMOTED";
|
|
17872
18010
|
regions: string[];
|
|
17873
18011
|
softDeletedByRetention?: boolean;
|
|
17874
|
-
source?: "api-trigger-git-deploy" | "cli" | "clone/repo" | "git" | "import" | "import/repo" | "redeploy";
|
|
18012
|
+
source?: "api-trigger-git-deploy" | "cli" | "clone/repo" | "git" | "import" | "import/repo" | "redeploy" | "v0-web";
|
|
17875
18013
|
target?: "staging" | "production" | null;
|
|
17876
18014
|
undeletedAt?: number;
|
|
17877
18015
|
url: string;
|
|
@@ -18013,6 +18151,46 @@ declare const operationsByTag: {
|
|
|
18013
18151
|
};
|
|
18014
18152
|
};
|
|
18015
18153
|
} | Record<string, any>[];
|
|
18154
|
+
microfrontends?: {
|
|
18155
|
+
/**
|
|
18156
|
+
* Whether this project is the default application for the microfrontends group. The default application is the one that is used as the top level shell for the microfrontends group and hosts the other microfrontends.
|
|
18157
|
+
*/
|
|
18158
|
+
isDefaultApp?: boolean;
|
|
18159
|
+
/**
|
|
18160
|
+
* A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI.
|
|
18161
|
+
*/
|
|
18162
|
+
defaultRoute?: string;
|
|
18163
|
+
/**
|
|
18164
|
+
* The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together.
|
|
18165
|
+
*/
|
|
18166
|
+
groupIds: string[];
|
|
18167
|
+
} | {
|
|
18168
|
+
/**
|
|
18169
|
+
* A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment.
|
|
18170
|
+
*/
|
|
18171
|
+
applications?: {
|
|
18172
|
+
[key: string]: {
|
|
18173
|
+
/**
|
|
18174
|
+
* This is the production alias, it will always show the most up to date of each application.
|
|
18175
|
+
*/
|
|
18176
|
+
productionHost: string;
|
|
18177
|
+
/**
|
|
18178
|
+
* Use the fixed deploymentAlias and deploymentHost so that the microfrontend preview stays in sync with the deployment. These are only present for mono-repos when a single commit creates multiple deployments. If they are not present, productionHost will be used.
|
|
18179
|
+
*/
|
|
18180
|
+
deploymentAlias?: string;
|
|
18181
|
+
deploymentHost?: string;
|
|
18182
|
+
};
|
|
18183
|
+
};
|
|
18184
|
+
isDefaultApp: boolean;
|
|
18185
|
+
/**
|
|
18186
|
+
* A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI.
|
|
18187
|
+
*/
|
|
18188
|
+
defaultRoute?: string;
|
|
18189
|
+
/**
|
|
18190
|
+
* The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together.
|
|
18191
|
+
*/
|
|
18192
|
+
groupIds: string[];
|
|
18193
|
+
};
|
|
18016
18194
|
} | {
|
|
18017
18195
|
alias?: string[];
|
|
18018
18196
|
aliasAssigned: boolean;
|
|
@@ -18163,7 +18341,7 @@ declare const operationsByTag: {
|
|
|
18163
18341
|
readySubstate?: "STAGED" | "PROMOTED";
|
|
18164
18342
|
regions: string[];
|
|
18165
18343
|
softDeletedByRetention?: boolean;
|
|
18166
|
-
source?: "api-trigger-git-deploy" | "cli" | "clone/repo" | "git" | "import" | "import/repo" | "redeploy";
|
|
18344
|
+
source?: "api-trigger-git-deploy" | "cli" | "clone/repo" | "git" | "import" | "import/repo" | "redeploy" | "v0-web";
|
|
18167
18345
|
target?: "staging" | "production" | null;
|
|
18168
18346
|
undeletedAt?: number;
|
|
18169
18347
|
url: string;
|
|
@@ -20138,7 +20316,7 @@ declare const operationsByPath: {
|
|
|
20138
20316
|
readySubstate?: "STAGED" | "PROMOTED";
|
|
20139
20317
|
regions: string[];
|
|
20140
20318
|
softDeletedByRetention?: boolean;
|
|
20141
|
-
source?: "api-trigger-git-deploy" | "cli" | "clone/repo" | "git" | "import" | "import/repo" | "redeploy";
|
|
20319
|
+
source?: "api-trigger-git-deploy" | "cli" | "clone/repo" | "git" | "import" | "import/repo" | "redeploy" | "v0-web";
|
|
20142
20320
|
target?: "staging" | "production" | null;
|
|
20143
20321
|
undeletedAt?: number;
|
|
20144
20322
|
url: string;
|
|
@@ -20268,6 +20446,22 @@ declare const operationsByPath: {
|
|
|
20268
20446
|
};
|
|
20269
20447
|
};
|
|
20270
20448
|
} | Record<string, any>[];
|
|
20449
|
+
microfrontends?: {
|
|
20450
|
+
isDefaultApp?: boolean;
|
|
20451
|
+
defaultRoute?: string;
|
|
20452
|
+
groupIds: string[];
|
|
20453
|
+
} | {
|
|
20454
|
+
applications?: {
|
|
20455
|
+
[key: string]: {
|
|
20456
|
+
productionHost: string;
|
|
20457
|
+
deploymentAlias?: string;
|
|
20458
|
+
deploymentHost?: string;
|
|
20459
|
+
};
|
|
20460
|
+
};
|
|
20461
|
+
isDefaultApp: boolean;
|
|
20462
|
+
defaultRoute?: string;
|
|
20463
|
+
groupIds: string[];
|
|
20464
|
+
};
|
|
20271
20465
|
} | {
|
|
20272
20466
|
alias?: string[];
|
|
20273
20467
|
aliasAssigned: boolean;
|
|
@@ -20406,7 +20600,7 @@ declare const operationsByPath: {
|
|
|
20406
20600
|
readySubstate?: "STAGED" | "PROMOTED";
|
|
20407
20601
|
regions: string[];
|
|
20408
20602
|
softDeletedByRetention?: boolean;
|
|
20409
|
-
source?: "api-trigger-git-deploy" | "cli" | "clone/repo" | "git" | "import" | "import/repo" | "redeploy";
|
|
20603
|
+
source?: "api-trigger-git-deploy" | "cli" | "clone/repo" | "git" | "import" | "import/repo" | "redeploy" | "v0-web";
|
|
20410
20604
|
target?: "staging" | "production" | null;
|
|
20411
20605
|
undeletedAt?: number;
|
|
20412
20606
|
url: string;
|
|
@@ -21856,7 +22050,7 @@ declare class VercelApi {
|
|
|
21856
22050
|
readySubstate?: "STAGED" | "PROMOTED";
|
|
21857
22051
|
regions: string[];
|
|
21858
22052
|
softDeletedByRetention?: boolean;
|
|
21859
|
-
source?: "api-trigger-git-deploy" | "cli" | "clone/repo" | "git" | "import" | "import/repo" | "redeploy";
|
|
22053
|
+
source?: "api-trigger-git-deploy" | "cli" | "clone/repo" | "git" | "import" | "import/repo" | "redeploy" | "v0-web";
|
|
21860
22054
|
target?: "staging" | "production" | null;
|
|
21861
22055
|
undeletedAt?: number;
|
|
21862
22056
|
url: string;
|
|
@@ -21986,6 +22180,22 @@ declare class VercelApi {
|
|
|
21986
22180
|
};
|
|
21987
22181
|
};
|
|
21988
22182
|
} | Record<string, any>[];
|
|
22183
|
+
microfrontends?: {
|
|
22184
|
+
isDefaultApp?: boolean;
|
|
22185
|
+
defaultRoute?: string;
|
|
22186
|
+
groupIds: string[];
|
|
22187
|
+
} | {
|
|
22188
|
+
applications?: {
|
|
22189
|
+
[key: string]: {
|
|
22190
|
+
productionHost: string;
|
|
22191
|
+
deploymentAlias?: string;
|
|
22192
|
+
deploymentHost?: string;
|
|
22193
|
+
};
|
|
22194
|
+
};
|
|
22195
|
+
isDefaultApp: boolean;
|
|
22196
|
+
defaultRoute?: string;
|
|
22197
|
+
groupIds: string[];
|
|
22198
|
+
};
|
|
21989
22199
|
} | {
|
|
21990
22200
|
alias?: string[];
|
|
21991
22201
|
aliasAssigned: boolean;
|
|
@@ -22124,7 +22334,7 @@ declare class VercelApi {
|
|
|
22124
22334
|
readySubstate?: "STAGED" | "PROMOTED";
|
|
22125
22335
|
regions: string[];
|
|
22126
22336
|
softDeletedByRetention?: boolean;
|
|
22127
|
-
source?: "api-trigger-git-deploy" | "cli" | "clone/repo" | "git" | "import" | "import/repo" | "redeploy";
|
|
22337
|
+
source?: "api-trigger-git-deploy" | "cli" | "clone/repo" | "git" | "import" | "import/repo" | "redeploy" | "v0-web";
|
|
22128
22338
|
target?: "staging" | "production" | null;
|
|
22129
22339
|
undeletedAt?: number;
|
|
22130
22340
|
url: string;
|