@vercel/sdk 1.16.0 → 1.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/README.md +39 -37
- package/bin/mcp-server.js +1263 -912
- package/bin/mcp-server.js.map +42 -39
- package/docs/sdks/logdrains/README.md +7 -7
- package/docs/sdks/projects/README.md +78 -0
- package/docs/sdks/teams/README.md +1 -1
- package/esm/__tests__/accessgroups.test.js +6 -2
- package/esm/__tests__/accessgroups.test.js.map +1 -1
- package/esm/__tests__/domains.test.js +5 -5
- package/esm/__tests__/domains.test.js.map +1 -1
- package/esm/__tests__/edgeconfig.test.js +6 -6
- package/esm/__tests__/edgeconfig.test.js.map +1 -1
- package/esm/__tests__/integrations.test.js +1 -1
- package/esm/__tests__/logdrains.test.js +4 -4
- package/esm/__tests__/logdrains.test.js.map +1 -1
- package/esm/__tests__/projects.test.js +17 -0
- package/esm/__tests__/projects.test.js.map +1 -1
- package/esm/__tests__/rollingrelease.test.js +2 -7
- package/esm/__tests__/rollingrelease.test.js.map +1 -1
- package/esm/__tests__/security.test.js +1 -11
- package/esm/__tests__/security.test.js.map +1 -1
- package/esm/funcs/logDrainsCreateConfigurableLogDrain.d.ts +1 -1
- package/esm/funcs/logDrainsCreateConfigurableLogDrain.js +1 -1
- package/esm/funcs/logDrainsCreateLogDrain.d.ts +1 -1
- package/esm/funcs/logDrainsCreateLogDrain.js +1 -1
- package/esm/funcs/logDrainsDeleteConfigurableLogDrain.d.ts +1 -1
- package/esm/funcs/logDrainsDeleteConfigurableLogDrain.js +1 -1
- package/esm/funcs/logDrainsDeleteIntegrationLogDrain.d.ts +1 -1
- package/esm/funcs/logDrainsDeleteIntegrationLogDrain.js +1 -1
- package/esm/funcs/logDrainsGetAllLogDrains.d.ts +1 -1
- package/esm/funcs/logDrainsGetAllLogDrains.js +1 -1
- package/esm/funcs/logDrainsGetConfigurableLogDrain.d.ts +1 -1
- package/esm/funcs/logDrainsGetConfigurableLogDrain.js +1 -1
- package/esm/funcs/logDrainsGetIntegrationLogDrains.d.ts +1 -1
- package/esm/funcs/logDrainsGetIntegrationLogDrains.js +1 -1
- package/esm/funcs/projectsGetProjectClientCerts.d.ts +17 -0
- package/esm/funcs/projectsGetProjectClientCerts.d.ts.map +1 -0
- package/esm/funcs/projectsGetProjectClientCerts.js +88 -0
- package/esm/funcs/projectsGetProjectClientCerts.js.map +1 -0
- package/esm/funcs/teamsInviteUserToTeam.d.ts +1 -1
- package/esm/funcs/teamsInviteUserToTeam.js +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.d.ts.map +1 -1
- package/esm/mcp-server/server.js +3 -1
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/logDrainsCreateConfigurableLogDrain.js +1 -1
- package/esm/mcp-server/tools/logDrainsCreateLogDrain.js +1 -1
- package/esm/mcp-server/tools/logDrainsDeleteConfigurableLogDrain.js +1 -1
- package/esm/mcp-server/tools/logDrainsDeleteIntegrationLogDrain.d.ts.map +1 -1
- package/esm/mcp-server/tools/logDrainsDeleteIntegrationLogDrain.js +1 -1
- package/esm/mcp-server/tools/logDrainsDeleteIntegrationLogDrain.js.map +1 -1
- package/esm/mcp-server/tools/logDrainsGetAllLogDrains.js +1 -1
- package/esm/mcp-server/tools/logDrainsGetConfigurableLogDrain.js +1 -1
- package/esm/mcp-server/tools/logDrainsGetIntegrationLogDrains.js +1 -1
- package/esm/mcp-server/tools/projectsGetProjectClientCerts.d.ts +7 -0
- package/esm/mcp-server/tools/projectsGetProjectClientCerts.d.ts.map +1 -0
- package/esm/mcp-server/tools/projectsGetProjectClientCerts.js +28 -0
- package/esm/mcp-server/tools/projectsGetProjectClientCerts.js.map +1 -0
- package/esm/mcp-server/tools/teamsInviteUserToTeam.js +1 -1
- package/esm/mcp-server/tools/teamsInviteUserToTeam.js.map +1 -1
- package/esm/models/approverollingreleasestageop.d.ts +78 -0
- package/esm/models/approverollingreleasestageop.d.ts.map +1 -1
- package/esm/models/approverollingreleasestageop.js +18 -0
- package/esm/models/approverollingreleasestageop.js.map +1 -1
- package/esm/models/authuser.d.ts +67 -0
- package/esm/models/authuser.d.ts.map +1 -1
- package/esm/models/authuser.js +49 -0
- package/esm/models/authuser.js.map +1 -1
- package/esm/models/canceldeploymentop.d.ts +106 -1
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +9 -0
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/completerollingreleaseop.d.ts +78 -0
- package/esm/models/completerollingreleaseop.d.ts.map +1 -1
- package/esm/models/completerollingreleaseop.js +18 -0
- package/esm/models/completerollingreleaseop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +106 -1
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +9 -0
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createintegrationstoredirectop.d.ts +285 -285
- package/esm/models/createintegrationstoredirectop.js +351 -351
- package/esm/models/createlogdrainop.d.ts +3 -0
- package/esm/models/createlogdrainop.d.ts.map +1 -1
- package/esm/models/createlogdrainop.js +1 -0
- package/esm/models/createlogdrainop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +67 -15
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +47 -6
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/getconfigurationproductsop.d.ts +375 -375
- package/esm/models/getconfigurationproductsop.js +465 -465
- package/esm/models/getdeploymentop.d.ts +212 -2
- package/esm/models/getdeploymentop.d.ts.map +1 -1
- package/esm/models/getdeploymentop.js +18 -0
- package/esm/models/getdeploymentop.js.map +1 -1
- package/esm/models/getintegrationlogdrainsop.d.ts +3 -0
- package/esm/models/getintegrationlogdrainsop.d.ts.map +1 -1
- package/esm/models/getintegrationlogdrainsop.js +1 -0
- package/esm/models/getintegrationlogdrainsop.js.map +1 -1
- package/esm/models/getprojectclientcertsop.d.ts +97 -0
- package/esm/models/getprojectclientcertsop.d.ts.map +1 -0
- package/esm/models/getprojectclientcertsop.js +87 -0
- package/esm/models/getprojectclientcertsop.js.map +1 -0
- package/esm/models/getprojectsop.d.ts +67 -15
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +47 -6
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/getrollingreleaseop.d.ts +78 -0
- package/esm/models/getrollingreleaseop.d.ts.map +1 -1
- package/esm/models/getrollingreleaseop.js +18 -0
- package/esm/models/getrollingreleaseop.js.map +1 -1
- package/esm/models/updateprojectdatacacheop.d.ts +67 -15
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +47 -6
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +67 -15
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +47 -6
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/updatestaticipsop.d.ts +3 -3
- package/esm/models/updatestaticipsop.js +1 -1
- package/esm/models/updatestaticipsop.js.map +1 -1
- package/esm/models/userevent.d.ts +176 -30
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +136 -12
- package/esm/models/userevent.js.map +1 -1
- package/esm/sdk/logdrains.d.ts +7 -7
- package/esm/sdk/logdrains.js +7 -7
- package/esm/sdk/projects.d.ts +8 -0
- package/esm/sdk/projects.d.ts.map +1 -1
- package/esm/sdk/projects.js +10 -0
- package/esm/sdk/projects.js.map +1 -1
- package/esm/sdk/teams.d.ts +1 -1
- package/esm/sdk/teams.js +1 -1
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/accessgroups.test.ts +6 -2
- package/src/__tests__/domains.test.ts +5 -5
- package/src/__tests__/edgeconfig.test.ts +6 -6
- package/src/__tests__/integrations.test.ts +1 -1
- package/src/__tests__/logdrains.test.ts +4 -4
- package/src/__tests__/projects.test.ts +20 -0
- package/src/__tests__/rollingrelease.test.ts +2 -7
- package/src/__tests__/security.test.ts +1 -11
- package/src/funcs/logDrainsCreateConfigurableLogDrain.ts +1 -1
- package/src/funcs/logDrainsCreateLogDrain.ts +1 -1
- package/src/funcs/logDrainsDeleteConfigurableLogDrain.ts +1 -1
- package/src/funcs/logDrainsDeleteIntegrationLogDrain.ts +1 -1
- package/src/funcs/logDrainsGetAllLogDrains.ts +1 -1
- package/src/funcs/logDrainsGetConfigurableLogDrain.ts +1 -1
- package/src/funcs/logDrainsGetIntegrationLogDrains.ts +1 -1
- package/src/funcs/projectsGetProjectClientCerts.ts +177 -0
- package/src/funcs/teamsInviteUserToTeam.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -1
- package/src/mcp-server/tools/logDrainsCreateConfigurableLogDrain.ts +1 -1
- package/src/mcp-server/tools/logDrainsCreateLogDrain.ts +1 -1
- package/src/mcp-server/tools/logDrainsDeleteConfigurableLogDrain.ts +1 -1
- package/src/mcp-server/tools/logDrainsDeleteIntegrationLogDrain.ts +2 -1
- package/src/mcp-server/tools/logDrainsGetAllLogDrains.ts +1 -1
- package/src/mcp-server/tools/logDrainsGetConfigurableLogDrain.ts +1 -1
- package/src/mcp-server/tools/logDrainsGetIntegrationLogDrains.ts +1 -1
- package/src/mcp-server/tools/projectsGetProjectClientCerts.ts +37 -0
- package/src/mcp-server/tools/teamsInviteUserToTeam.ts +1 -1
- package/src/models/approverollingreleasestageop.ts +78 -0
- package/src/models/authuser.ts +100 -0
- package/src/models/canceldeploymentop.ts +106 -1
- package/src/models/completerollingreleaseop.ts +78 -0
- package/src/models/createdeploymentop.ts +106 -1
- package/src/models/createintegrationstoredirectop.ts +604 -604
- package/src/models/createlogdrainop.ts +1 -0
- package/src/models/createprojectop.ts +126 -19
- package/src/models/getconfigurationproductsop.ts +802 -802
- package/src/models/getdeploymentop.ts +212 -2
- package/src/models/getintegrationlogdrainsop.ts +1 -0
- package/src/models/getprojectclientcertsop.ts +207 -0
- package/src/models/getprojectsop.ts +124 -19
- package/src/models/getrollingreleaseop.ts +78 -0
- package/src/models/updateprojectdatacacheop.ts +129 -19
- package/src/models/updateprojectop.ts +126 -19
- package/src/models/updatestaticipsop.ts +1 -1
- package/src/models/userevent.ts +329 -39
- package/src/sdk/logdrains.ts +7 -7
- package/src/sdk/projects.ts +22 -0
- package/src/sdk/teams.ts +1 -1
- package/vercel-spec.json +1092 -278
|
@@ -227,9 +227,21 @@ export type CancelDeploymentImages = {
|
|
|
227
227
|
contentDispositionType?: CancelDeploymentContentDispositionType | undefined;
|
|
228
228
|
};
|
|
229
229
|
|
|
230
|
+
/**
|
|
231
|
+
* Information about the deployment creator
|
|
232
|
+
*/
|
|
230
233
|
export type CancelDeploymentCreator = {
|
|
234
|
+
/**
|
|
235
|
+
* The ID of the user that created the deployment
|
|
236
|
+
*/
|
|
231
237
|
uid: string;
|
|
238
|
+
/**
|
|
239
|
+
* The username of the user that created the deployment
|
|
240
|
+
*/
|
|
232
241
|
username?: string | undefined;
|
|
242
|
+
/**
|
|
243
|
+
* The avatar of the user that created the deployment
|
|
244
|
+
*/
|
|
233
245
|
avatar?: string | undefined;
|
|
234
246
|
};
|
|
235
247
|
|
|
@@ -270,6 +282,9 @@ export const CancelDeploymentStatus = {
|
|
|
270
282
|
} as const;
|
|
271
283
|
export type CancelDeploymentStatus = ClosedEnum<typeof CancelDeploymentStatus>;
|
|
272
284
|
|
|
285
|
+
/**
|
|
286
|
+
* The team that owns the deployment if any
|
|
287
|
+
*/
|
|
273
288
|
export type CancelDeploymentTeam = {
|
|
274
289
|
id: string;
|
|
275
290
|
name: string;
|
|
@@ -277,6 +292,9 @@ export type CancelDeploymentTeam = {
|
|
|
277
292
|
slug: string;
|
|
278
293
|
};
|
|
279
294
|
|
|
295
|
+
/**
|
|
296
|
+
* If the deployment was created using a Custom Environment, then this property contains information regarding the environment used.
|
|
297
|
+
*/
|
|
280
298
|
export type CancelDeploymentCustomEnvironment2 = {
|
|
281
299
|
id: string;
|
|
282
300
|
};
|
|
@@ -361,7 +379,7 @@ export type CancelDeploymentCustomEnvironmentDomains = {
|
|
|
361
379
|
};
|
|
362
380
|
|
|
363
381
|
/**
|
|
364
|
-
*
|
|
382
|
+
* If the deployment was created using a Custom Environment, then this property contains information regarding the environment used.
|
|
365
383
|
*/
|
|
366
384
|
export type CancelDeploymentCustomEnvironment1 = {
|
|
367
385
|
/**
|
|
@@ -413,6 +431,9 @@ export type CancelDeploymentOomReport = ClosedEnum<
|
|
|
413
431
|
typeof CancelDeploymentOomReport
|
|
414
432
|
>;
|
|
415
433
|
|
|
434
|
+
/**
|
|
435
|
+
* An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null`
|
|
436
|
+
*/
|
|
416
437
|
export type CancelDeploymentAliasError = {
|
|
417
438
|
code: string;
|
|
418
439
|
message: string;
|
|
@@ -762,12 +783,18 @@ export type CancelDeploymentNodeVersion = ClosedEnum<
|
|
|
762
783
|
typeof CancelDeploymentNodeVersion
|
|
763
784
|
>;
|
|
764
785
|
|
|
786
|
+
/**
|
|
787
|
+
* The public project information associated with the deployment.
|
|
788
|
+
*/
|
|
765
789
|
export type CancelDeploymentProject = {
|
|
766
790
|
id: string;
|
|
767
791
|
name: string;
|
|
768
792
|
framework?: string | null | undefined;
|
|
769
793
|
};
|
|
770
794
|
|
|
795
|
+
/**
|
|
796
|
+
* The state of the deployment depending on the process of deploying, or if it is ready or in an error state
|
|
797
|
+
*/
|
|
771
798
|
export const CancelDeploymentReadyState = {
|
|
772
799
|
Building: "BUILDING",
|
|
773
800
|
Error: "ERROR",
|
|
@@ -776,6 +803,9 @@ export const CancelDeploymentReadyState = {
|
|
|
776
803
|
Ready: "READY",
|
|
777
804
|
Canceled: "CANCELED",
|
|
778
805
|
} as const;
|
|
806
|
+
/**
|
|
807
|
+
* The state of the deployment depending on the process of deploying, or if it is ready or in an error state
|
|
808
|
+
*/
|
|
779
809
|
export type CancelDeploymentReadyState = ClosedEnum<
|
|
780
810
|
typeof CancelDeploymentReadyState
|
|
781
811
|
>;
|
|
@@ -795,6 +825,9 @@ export type CancelDeploymentReadySubstate = ClosedEnum<
|
|
|
795
825
|
typeof CancelDeploymentReadySubstate
|
|
796
826
|
>;
|
|
797
827
|
|
|
828
|
+
/**
|
|
829
|
+
* Where was the deployment created from
|
|
830
|
+
*/
|
|
798
831
|
export const CancelDeploymentSource = {
|
|
799
832
|
ApiTriggerGitDeploy: "api-trigger-git-deploy",
|
|
800
833
|
Cli: "cli",
|
|
@@ -805,12 +838,21 @@ export const CancelDeploymentSource = {
|
|
|
805
838
|
Redeploy: "redeploy",
|
|
806
839
|
V0Web: "v0-web",
|
|
807
840
|
} as const;
|
|
841
|
+
/**
|
|
842
|
+
* Where was the deployment created from
|
|
843
|
+
*/
|
|
808
844
|
export type CancelDeploymentSource = ClosedEnum<typeof CancelDeploymentSource>;
|
|
809
845
|
|
|
846
|
+
/**
|
|
847
|
+
* If defined, either `staging` if a staging alias in the format `<project>.<team>.now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment.
|
|
848
|
+
*/
|
|
810
849
|
export const CancelDeploymentTarget = {
|
|
811
850
|
Staging: "staging",
|
|
812
851
|
Production: "production",
|
|
813
852
|
} as const;
|
|
853
|
+
/**
|
|
854
|
+
* If defined, either `staging` if a staging alias in the format `<project>.<team>.now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment.
|
|
855
|
+
*/
|
|
814
856
|
export type CancelDeploymentTarget = ClosedEnum<typeof CancelDeploymentTarget>;
|
|
815
857
|
|
|
816
858
|
export const CancelDeploymentType = {
|
|
@@ -1435,7 +1477,13 @@ export type CancelDeploymentResponseBody = {
|
|
|
1435
1477
|
readyStateReason?: string | undefined;
|
|
1436
1478
|
integrations?: CancelDeploymentIntegrations | undefined;
|
|
1437
1479
|
images?: CancelDeploymentImages | undefined;
|
|
1480
|
+
/**
|
|
1481
|
+
* A list of all the aliases (default aliases, staging aliases and production aliases) that were assigned upon deployment creation
|
|
1482
|
+
*/
|
|
1438
1483
|
alias?: Array<string> | undefined;
|
|
1484
|
+
/**
|
|
1485
|
+
* A boolean that will be true when the aliases from the alias property were assigned successfully
|
|
1486
|
+
*/
|
|
1439
1487
|
aliasAssigned: boolean;
|
|
1440
1488
|
bootedAt: number;
|
|
1441
1489
|
buildingAt: number;
|
|
@@ -1444,15 +1492,30 @@ export type CancelDeploymentResponseBody = {
|
|
|
1444
1492
|
*/
|
|
1445
1493
|
buildContainerFinishedAt?: number | undefined;
|
|
1446
1494
|
buildSkipped: boolean;
|
|
1495
|
+
/**
|
|
1496
|
+
* Information about the deployment creator
|
|
1497
|
+
*/
|
|
1447
1498
|
creator: CancelDeploymentCreator;
|
|
1448
1499
|
initReadyAt?: number | undefined;
|
|
1449
1500
|
isFirstBranchDeployment?: boolean | undefined;
|
|
1450
1501
|
lambdas?: Array<CancelDeploymentLambdas> | undefined;
|
|
1502
|
+
/**
|
|
1503
|
+
* A boolean representing if the deployment is public or not. By default this is `false`
|
|
1504
|
+
*/
|
|
1451
1505
|
public: boolean;
|
|
1452
1506
|
ready?: number | undefined;
|
|
1453
1507
|
status: CancelDeploymentStatus;
|
|
1508
|
+
/**
|
|
1509
|
+
* The team that owns the deployment if any
|
|
1510
|
+
*/
|
|
1454
1511
|
team?: CancelDeploymentTeam | undefined;
|
|
1512
|
+
/**
|
|
1513
|
+
* An array of domains that were provided by the user when creating the Deployment.
|
|
1514
|
+
*/
|
|
1455
1515
|
userAliases?: Array<string> | undefined;
|
|
1516
|
+
/**
|
|
1517
|
+
* Whether or not preview comments are enabled for the deployment
|
|
1518
|
+
*/
|
|
1456
1519
|
previewCommentsEnabled?: boolean | undefined;
|
|
1457
1520
|
ttyBuildLogs?: boolean | undefined;
|
|
1458
1521
|
customEnvironment?:
|
|
@@ -1460,7 +1523,13 @@ export type CancelDeploymentResponseBody = {
|
|
|
1460
1523
|
| CancelDeploymentCustomEnvironment2
|
|
1461
1524
|
| undefined;
|
|
1462
1525
|
oomReport?: CancelDeploymentOomReport | undefined;
|
|
1526
|
+
/**
|
|
1527
|
+
* A string holding the unique ID of the deployment
|
|
1528
|
+
*/
|
|
1463
1529
|
id: string;
|
|
1530
|
+
/**
|
|
1531
|
+
* An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null`
|
|
1532
|
+
*/
|
|
1464
1533
|
aliasError?: CancelDeploymentAliasError | null | undefined;
|
|
1465
1534
|
aliasFinal?: string | null | undefined;
|
|
1466
1535
|
aliasWarning?: CancelDeploymentAliasWarning | null | undefined;
|
|
@@ -1472,7 +1541,13 @@ export type CancelDeploymentResponseBody = {
|
|
|
1472
1541
|
buildErrorAt?: number | undefined;
|
|
1473
1542
|
checksState?: CancelDeploymentChecksState | undefined;
|
|
1474
1543
|
checksConclusion?: CancelDeploymentChecksConclusion | undefined;
|
|
1544
|
+
/**
|
|
1545
|
+
* A number containing the date when the deployment was created in milliseconds
|
|
1546
|
+
*/
|
|
1475
1547
|
createdAt: number;
|
|
1548
|
+
/**
|
|
1549
|
+
* A number containing the date when the deployment was deleted at milliseconds
|
|
1550
|
+
*/
|
|
1476
1551
|
deletedAt?: number | null | undefined;
|
|
1477
1552
|
/**
|
|
1478
1553
|
* Computed field that is only available for deployments with a microfrontend configuration.
|
|
@@ -1504,6 +1579,9 @@ export type CancelDeploymentResponseBody = {
|
|
|
1504
1579
|
| CancelDeploymentGitSource7
|
|
1505
1580
|
| GitSource8
|
|
1506
1581
|
| undefined;
|
|
1582
|
+
/**
|
|
1583
|
+
* The name of the project associated with the deployment at the time that the deployment was created
|
|
1584
|
+
*/
|
|
1507
1585
|
name: string;
|
|
1508
1586
|
meta: { [k: string]: string };
|
|
1509
1587
|
originCacheRegion?: string | undefined;
|
|
@@ -1511,19 +1589,46 @@ export type CancelDeploymentResponseBody = {
|
|
|
1511
1589
|
* If set it overrides the `projectSettings.nodeVersion` for this deployment.
|
|
1512
1590
|
*/
|
|
1513
1591
|
nodeVersion?: CancelDeploymentNodeVersion | undefined;
|
|
1592
|
+
/**
|
|
1593
|
+
* The public project information associated with the deployment.
|
|
1594
|
+
*/
|
|
1514
1595
|
project?: CancelDeploymentProject | undefined;
|
|
1596
|
+
/**
|
|
1597
|
+
* The state of the deployment depending on the process of deploying, or if it is ready or in an error state
|
|
1598
|
+
*/
|
|
1515
1599
|
readyState: CancelDeploymentReadyState;
|
|
1516
1600
|
/**
|
|
1517
1601
|
* Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic
|
|
1518
1602
|
*/
|
|
1519
1603
|
readySubstate?: CancelDeploymentReadySubstate | undefined;
|
|
1604
|
+
/**
|
|
1605
|
+
* The regions the deployment exists in
|
|
1606
|
+
*/
|
|
1520
1607
|
regions: Array<string>;
|
|
1608
|
+
/**
|
|
1609
|
+
* flag to indicate if the deployment was deleted by retention policy
|
|
1610
|
+
*/
|
|
1521
1611
|
softDeletedByRetention?: boolean | undefined;
|
|
1612
|
+
/**
|
|
1613
|
+
* Where was the deployment created from
|
|
1614
|
+
*/
|
|
1522
1615
|
source?: CancelDeploymentSource | undefined;
|
|
1616
|
+
/**
|
|
1617
|
+
* If defined, either `staging` if a staging alias in the format `<project>.<team>.now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment.
|
|
1618
|
+
*/
|
|
1523
1619
|
target?: CancelDeploymentTarget | null | undefined;
|
|
1524
1620
|
type: CancelDeploymentType;
|
|
1621
|
+
/**
|
|
1622
|
+
* A number containing the date when the deployment was undeleted at milliseconds
|
|
1623
|
+
*/
|
|
1525
1624
|
undeletedAt?: number | undefined;
|
|
1625
|
+
/**
|
|
1626
|
+
* A string with the unique URL of the deployment
|
|
1627
|
+
*/
|
|
1526
1628
|
url: string;
|
|
1629
|
+
/**
|
|
1630
|
+
* The platform version that was used to create the deployment.
|
|
1631
|
+
*/
|
|
1527
1632
|
version: number;
|
|
1528
1633
|
oidcTokenClaims?: CancelDeploymentOidcTokenClaims | undefined;
|
|
1529
1634
|
connectBuildsEnabled?: boolean | undefined;
|
|
@@ -47,14 +47,23 @@ export type CompleteRollingReleaseState = ClosedEnum<
|
|
|
47
47
|
typeof CompleteRollingReleaseState
|
|
48
48
|
>;
|
|
49
49
|
|
|
50
|
+
/**
|
|
51
|
+
* If defined, either `staging` if a staging alias in the format `<project>.<team>.now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment.
|
|
52
|
+
*/
|
|
50
53
|
export const CompleteRollingReleaseTarget = {
|
|
51
54
|
Staging: "staging",
|
|
52
55
|
Production: "production",
|
|
53
56
|
} as const;
|
|
57
|
+
/**
|
|
58
|
+
* If defined, either `staging` if a staging alias in the format `<project>.<team>.now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment.
|
|
59
|
+
*/
|
|
54
60
|
export type CompleteRollingReleaseTarget = ClosedEnum<
|
|
55
61
|
typeof CompleteRollingReleaseTarget
|
|
56
62
|
>;
|
|
57
63
|
|
|
64
|
+
/**
|
|
65
|
+
* Where was the deployment created from
|
|
66
|
+
*/
|
|
58
67
|
export const CompleteRollingReleaseSource = {
|
|
59
68
|
ApiTriggerGitDeploy: "api-trigger-git-deploy",
|
|
60
69
|
Cli: "cli",
|
|
@@ -65,10 +74,16 @@ export const CompleteRollingReleaseSource = {
|
|
|
65
74
|
Redeploy: "redeploy",
|
|
66
75
|
V0Web: "v0-web",
|
|
67
76
|
} as const;
|
|
77
|
+
/**
|
|
78
|
+
* Where was the deployment created from
|
|
79
|
+
*/
|
|
68
80
|
export type CompleteRollingReleaseSource = ClosedEnum<
|
|
69
81
|
typeof CompleteRollingReleaseSource
|
|
70
82
|
>;
|
|
71
83
|
|
|
84
|
+
/**
|
|
85
|
+
* The state of the deployment depending on the process of deploying, or if it is ready or in an error state
|
|
86
|
+
*/
|
|
72
87
|
export const CompleteRollingReleaseReadyState = {
|
|
73
88
|
Building: "BUILDING",
|
|
74
89
|
Error: "ERROR",
|
|
@@ -77,6 +92,9 @@ export const CompleteRollingReleaseReadyState = {
|
|
|
77
92
|
Ready: "READY",
|
|
78
93
|
Canceled: "CANCELED",
|
|
79
94
|
} as const;
|
|
95
|
+
/**
|
|
96
|
+
* The state of the deployment depending on the process of deploying, or if it is ready or in an error state
|
|
97
|
+
*/
|
|
80
98
|
export type CompleteRollingReleaseReadyState = ClosedEnum<
|
|
81
99
|
typeof CompleteRollingReleaseReadyState
|
|
82
100
|
>;
|
|
@@ -85,24 +103,54 @@ export type CompleteRollingReleaseReadyState = ClosedEnum<
|
|
|
85
103
|
* The current deployment receiving production traffic
|
|
86
104
|
*/
|
|
87
105
|
export type CompleteRollingReleaseCurrentDeployment = {
|
|
106
|
+
/**
|
|
107
|
+
* A string holding the unique ID of the deployment
|
|
108
|
+
*/
|
|
88
109
|
id: string;
|
|
110
|
+
/**
|
|
111
|
+
* The name of the project associated with the deployment at the time that the deployment was created
|
|
112
|
+
*/
|
|
89
113
|
name: string;
|
|
114
|
+
/**
|
|
115
|
+
* A string with the unique URL of the deployment
|
|
116
|
+
*/
|
|
90
117
|
url: string;
|
|
118
|
+
/**
|
|
119
|
+
* If defined, either `staging` if a staging alias in the format `<project>.<team>.now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment.
|
|
120
|
+
*/
|
|
91
121
|
target?: CompleteRollingReleaseTarget | null | undefined;
|
|
122
|
+
/**
|
|
123
|
+
* Where was the deployment created from
|
|
124
|
+
*/
|
|
92
125
|
source?: CompleteRollingReleaseSource | undefined;
|
|
126
|
+
/**
|
|
127
|
+
* A number containing the date when the deployment was created in milliseconds
|
|
128
|
+
*/
|
|
93
129
|
createdAt: number;
|
|
130
|
+
/**
|
|
131
|
+
* The state of the deployment depending on the process of deploying, or if it is ready or in an error state
|
|
132
|
+
*/
|
|
94
133
|
readyState: CompleteRollingReleaseReadyState;
|
|
95
134
|
readyStateAt?: number | undefined;
|
|
96
135
|
};
|
|
97
136
|
|
|
137
|
+
/**
|
|
138
|
+
* If defined, either `staging` if a staging alias in the format `<project>.<team>.now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment.
|
|
139
|
+
*/
|
|
98
140
|
export const CompleteRollingReleaseRollingReleaseTarget = {
|
|
99
141
|
Staging: "staging",
|
|
100
142
|
Production: "production",
|
|
101
143
|
} as const;
|
|
144
|
+
/**
|
|
145
|
+
* If defined, either `staging` if a staging alias in the format `<project>.<team>.now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment.
|
|
146
|
+
*/
|
|
102
147
|
export type CompleteRollingReleaseRollingReleaseTarget = ClosedEnum<
|
|
103
148
|
typeof CompleteRollingReleaseRollingReleaseTarget
|
|
104
149
|
>;
|
|
105
150
|
|
|
151
|
+
/**
|
|
152
|
+
* Where was the deployment created from
|
|
153
|
+
*/
|
|
106
154
|
export const CompleteRollingReleaseRollingReleaseSource = {
|
|
107
155
|
ApiTriggerGitDeploy: "api-trigger-git-deploy",
|
|
108
156
|
Cli: "cli",
|
|
@@ -113,10 +161,16 @@ export const CompleteRollingReleaseRollingReleaseSource = {
|
|
|
113
161
|
Redeploy: "redeploy",
|
|
114
162
|
V0Web: "v0-web",
|
|
115
163
|
} as const;
|
|
164
|
+
/**
|
|
165
|
+
* Where was the deployment created from
|
|
166
|
+
*/
|
|
116
167
|
export type CompleteRollingReleaseRollingReleaseSource = ClosedEnum<
|
|
117
168
|
typeof CompleteRollingReleaseRollingReleaseSource
|
|
118
169
|
>;
|
|
119
170
|
|
|
171
|
+
/**
|
|
172
|
+
* The state of the deployment depending on the process of deploying, or if it is ready or in an error state
|
|
173
|
+
*/
|
|
120
174
|
export const CompleteRollingReleaseRollingReleaseReadyState = {
|
|
121
175
|
Building: "BUILDING",
|
|
122
176
|
Error: "ERROR",
|
|
@@ -125,6 +179,9 @@ export const CompleteRollingReleaseRollingReleaseReadyState = {
|
|
|
125
179
|
Ready: "READY",
|
|
126
180
|
Canceled: "CANCELED",
|
|
127
181
|
} as const;
|
|
182
|
+
/**
|
|
183
|
+
* The state of the deployment depending on the process of deploying, or if it is ready or in an error state
|
|
184
|
+
*/
|
|
128
185
|
export type CompleteRollingReleaseRollingReleaseReadyState = ClosedEnum<
|
|
129
186
|
typeof CompleteRollingReleaseRollingReleaseReadyState
|
|
130
187
|
>;
|
|
@@ -133,12 +190,33 @@ export type CompleteRollingReleaseRollingReleaseReadyState = ClosedEnum<
|
|
|
133
190
|
* The canary deployment being rolled out
|
|
134
191
|
*/
|
|
135
192
|
export type CompleteRollingReleaseCanaryDeployment = {
|
|
193
|
+
/**
|
|
194
|
+
* A string holding the unique ID of the deployment
|
|
195
|
+
*/
|
|
136
196
|
id: string;
|
|
197
|
+
/**
|
|
198
|
+
* The name of the project associated with the deployment at the time that the deployment was created
|
|
199
|
+
*/
|
|
137
200
|
name: string;
|
|
201
|
+
/**
|
|
202
|
+
* A string with the unique URL of the deployment
|
|
203
|
+
*/
|
|
138
204
|
url: string;
|
|
205
|
+
/**
|
|
206
|
+
* If defined, either `staging` if a staging alias in the format `<project>.<team>.now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment.
|
|
207
|
+
*/
|
|
139
208
|
target?: CompleteRollingReleaseRollingReleaseTarget | null | undefined;
|
|
209
|
+
/**
|
|
210
|
+
* Where was the deployment created from
|
|
211
|
+
*/
|
|
140
212
|
source?: CompleteRollingReleaseRollingReleaseSource | undefined;
|
|
213
|
+
/**
|
|
214
|
+
* A number containing the date when the deployment was created in milliseconds
|
|
215
|
+
*/
|
|
141
216
|
createdAt: number;
|
|
217
|
+
/**
|
|
218
|
+
* The state of the deployment depending on the process of deploying, or if it is ready or in an error state
|
|
219
|
+
*/
|
|
142
220
|
readyState: CompleteRollingReleaseRollingReleaseReadyState;
|
|
143
221
|
readyStateAt?: number | undefined;
|
|
144
222
|
};
|
|
@@ -662,9 +662,21 @@ export type Images = {
|
|
|
662
662
|
contentDispositionType?: ContentDispositionType | undefined;
|
|
663
663
|
};
|
|
664
664
|
|
|
665
|
+
/**
|
|
666
|
+
* Information about the deployment creator
|
|
667
|
+
*/
|
|
665
668
|
export type Creator = {
|
|
669
|
+
/**
|
|
670
|
+
* The ID of the user that created the deployment
|
|
671
|
+
*/
|
|
666
672
|
uid: string;
|
|
673
|
+
/**
|
|
674
|
+
* The username of the user that created the deployment
|
|
675
|
+
*/
|
|
667
676
|
username?: string | undefined;
|
|
677
|
+
/**
|
|
678
|
+
* The avatar of the user that created the deployment
|
|
679
|
+
*/
|
|
668
680
|
avatar?: string | undefined;
|
|
669
681
|
};
|
|
670
682
|
|
|
@@ -705,6 +717,9 @@ export const CreateDeploymentStatus = {
|
|
|
705
717
|
} as const;
|
|
706
718
|
export type CreateDeploymentStatus = ClosedEnum<typeof CreateDeploymentStatus>;
|
|
707
719
|
|
|
720
|
+
/**
|
|
721
|
+
* The team that owns the deployment if any
|
|
722
|
+
*/
|
|
708
723
|
export type CreateDeploymentTeam = {
|
|
709
724
|
id: string;
|
|
710
725
|
name: string;
|
|
@@ -712,6 +727,9 @@ export type CreateDeploymentTeam = {
|
|
|
712
727
|
avatar?: string | undefined;
|
|
713
728
|
};
|
|
714
729
|
|
|
730
|
+
/**
|
|
731
|
+
* If the deployment was created using a Custom Environment, then this property contains information regarding the environment used.
|
|
732
|
+
*/
|
|
715
733
|
export type CustomEnvironment2 = {
|
|
716
734
|
id: string;
|
|
717
735
|
};
|
|
@@ -792,7 +810,7 @@ export type CustomEnvironmentDomains = {
|
|
|
792
810
|
};
|
|
793
811
|
|
|
794
812
|
/**
|
|
795
|
-
*
|
|
813
|
+
* If the deployment was created using a Custom Environment, then this property contains information regarding the environment used.
|
|
796
814
|
*/
|
|
797
815
|
export type CustomEnvironment1 = {
|
|
798
816
|
/**
|
|
@@ -847,6 +865,9 @@ export type AliasWarning = {
|
|
|
847
865
|
action?: string | undefined;
|
|
848
866
|
};
|
|
849
867
|
|
|
868
|
+
/**
|
|
869
|
+
* The state of the deployment depending on the process of deploying, or if it is ready or in an error state
|
|
870
|
+
*/
|
|
850
871
|
export const ReadyState = {
|
|
851
872
|
Queued: "QUEUED",
|
|
852
873
|
Building: "BUILDING",
|
|
@@ -855,6 +876,9 @@ export const ReadyState = {
|
|
|
855
876
|
Ready: "READY",
|
|
856
877
|
Canceled: "CANCELED",
|
|
857
878
|
} as const;
|
|
879
|
+
/**
|
|
880
|
+
* The state of the deployment depending on the process of deploying, or if it is ready or in an error state
|
|
881
|
+
*/
|
|
858
882
|
export type ReadyState = ClosedEnum<typeof ReadyState>;
|
|
859
883
|
|
|
860
884
|
export const CreateDeploymentType = {
|
|
@@ -862,6 +886,9 @@ export const CreateDeploymentType = {
|
|
|
862
886
|
} as const;
|
|
863
887
|
export type CreateDeploymentType = ClosedEnum<typeof CreateDeploymentType>;
|
|
864
888
|
|
|
889
|
+
/**
|
|
890
|
+
* An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null`
|
|
891
|
+
*/
|
|
865
892
|
export type AliasError = {
|
|
866
893
|
code: string;
|
|
867
894
|
message: string;
|
|
@@ -1206,6 +1233,9 @@ export type CreateDeploymentNodeVersion = ClosedEnum<
|
|
|
1206
1233
|
typeof CreateDeploymentNodeVersion
|
|
1207
1234
|
>;
|
|
1208
1235
|
|
|
1236
|
+
/**
|
|
1237
|
+
* The public project information associated with the deployment.
|
|
1238
|
+
*/
|
|
1209
1239
|
export type CreateDeploymentProject = {
|
|
1210
1240
|
id: string;
|
|
1211
1241
|
name: string;
|
|
@@ -1225,6 +1255,9 @@ export const ReadySubstate = {
|
|
|
1225
1255
|
*/
|
|
1226
1256
|
export type ReadySubstate = ClosedEnum<typeof ReadySubstate>;
|
|
1227
1257
|
|
|
1258
|
+
/**
|
|
1259
|
+
* Where was the deployment created from
|
|
1260
|
+
*/
|
|
1228
1261
|
export const CreateDeploymentSource = {
|
|
1229
1262
|
ApiTriggerGitDeploy: "api-trigger-git-deploy",
|
|
1230
1263
|
Cli: "cli",
|
|
@@ -1235,12 +1268,21 @@ export const CreateDeploymentSource = {
|
|
|
1235
1268
|
Redeploy: "redeploy",
|
|
1236
1269
|
V0Web: "v0-web",
|
|
1237
1270
|
} as const;
|
|
1271
|
+
/**
|
|
1272
|
+
* Where was the deployment created from
|
|
1273
|
+
*/
|
|
1238
1274
|
export type CreateDeploymentSource = ClosedEnum<typeof CreateDeploymentSource>;
|
|
1239
1275
|
|
|
1276
|
+
/**
|
|
1277
|
+
* If defined, either `staging` if a staging alias in the format `<project>.<team>.now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment.
|
|
1278
|
+
*/
|
|
1240
1279
|
export const CreateDeploymentTarget = {
|
|
1241
1280
|
Staging: "staging",
|
|
1242
1281
|
Production: "production",
|
|
1243
1282
|
} as const;
|
|
1283
|
+
/**
|
|
1284
|
+
* If defined, either `staging` if a staging alias in the format `<project>.<team>.now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment.
|
|
1285
|
+
*/
|
|
1244
1286
|
export type CreateDeploymentTarget = ClosedEnum<typeof CreateDeploymentTarget>;
|
|
1245
1287
|
|
|
1246
1288
|
export type OidcTokenClaims = {
|
|
@@ -1830,7 +1872,13 @@ export type CreateDeploymentResponseBody = {
|
|
|
1830
1872
|
readyStateReason?: string | undefined;
|
|
1831
1873
|
integrations?: Integrations | undefined;
|
|
1832
1874
|
images?: Images | undefined;
|
|
1875
|
+
/**
|
|
1876
|
+
* A list of all the aliases (default aliases, staging aliases and production aliases) that were assigned upon deployment creation
|
|
1877
|
+
*/
|
|
1833
1878
|
alias?: Array<string> | undefined;
|
|
1879
|
+
/**
|
|
1880
|
+
* A boolean that will be true when the aliases from the alias property were assigned successfully
|
|
1881
|
+
*/
|
|
1834
1882
|
aliasAssigned: boolean;
|
|
1835
1883
|
bootedAt: number;
|
|
1836
1884
|
buildingAt: number;
|
|
@@ -1839,25 +1887,55 @@ export type CreateDeploymentResponseBody = {
|
|
|
1839
1887
|
*/
|
|
1840
1888
|
buildContainerFinishedAt?: number | undefined;
|
|
1841
1889
|
buildSkipped: boolean;
|
|
1890
|
+
/**
|
|
1891
|
+
* Information about the deployment creator
|
|
1892
|
+
*/
|
|
1842
1893
|
creator: Creator;
|
|
1843
1894
|
initReadyAt?: number | undefined;
|
|
1844
1895
|
isFirstBranchDeployment?: boolean | undefined;
|
|
1845
1896
|
lambdas?: Array<Lambdas> | undefined;
|
|
1897
|
+
/**
|
|
1898
|
+
* A boolean representing if the deployment is public or not. By default this is `false`
|
|
1899
|
+
*/
|
|
1846
1900
|
public: boolean;
|
|
1847
1901
|
ready?: number | undefined;
|
|
1848
1902
|
status: CreateDeploymentStatus;
|
|
1903
|
+
/**
|
|
1904
|
+
* The team that owns the deployment if any
|
|
1905
|
+
*/
|
|
1849
1906
|
team?: CreateDeploymentTeam | undefined;
|
|
1907
|
+
/**
|
|
1908
|
+
* An array of domains that were provided by the user when creating the Deployment.
|
|
1909
|
+
*/
|
|
1850
1910
|
userAliases?: Array<string> | undefined;
|
|
1911
|
+
/**
|
|
1912
|
+
* Whether or not preview comments are enabled for the deployment
|
|
1913
|
+
*/
|
|
1851
1914
|
previewCommentsEnabled?: boolean | undefined;
|
|
1852
1915
|
ttyBuildLogs?: boolean | undefined;
|
|
1853
1916
|
customEnvironment?: CustomEnvironment1 | CustomEnvironment2 | undefined;
|
|
1854
1917
|
oomReport?: OomReport | undefined;
|
|
1855
1918
|
aliasWarning?: AliasWarning | null | undefined;
|
|
1919
|
+
/**
|
|
1920
|
+
* A string holding the unique ID of the deployment
|
|
1921
|
+
*/
|
|
1856
1922
|
id: string;
|
|
1923
|
+
/**
|
|
1924
|
+
* A number containing the date when the deployment was created in milliseconds
|
|
1925
|
+
*/
|
|
1857
1926
|
createdAt: number;
|
|
1927
|
+
/**
|
|
1928
|
+
* The state of the deployment depending on the process of deploying, or if it is ready or in an error state
|
|
1929
|
+
*/
|
|
1858
1930
|
readyState: ReadyState;
|
|
1931
|
+
/**
|
|
1932
|
+
* The name of the project associated with the deployment at the time that the deployment was created
|
|
1933
|
+
*/
|
|
1859
1934
|
name: string;
|
|
1860
1935
|
type: CreateDeploymentType;
|
|
1936
|
+
/**
|
|
1937
|
+
* An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null`
|
|
1938
|
+
*/
|
|
1861
1939
|
aliasError?: AliasError | null | undefined;
|
|
1862
1940
|
aliasFinal?: string | null | undefined;
|
|
1863
1941
|
/**
|
|
@@ -1868,6 +1946,9 @@ export type CreateDeploymentResponseBody = {
|
|
|
1868
1946
|
buildErrorAt?: number | undefined;
|
|
1869
1947
|
checksState?: ChecksState | undefined;
|
|
1870
1948
|
checksConclusion?: ChecksConclusion | undefined;
|
|
1949
|
+
/**
|
|
1950
|
+
* A number containing the date when the deployment was deleted at milliseconds
|
|
1951
|
+
*/
|
|
1871
1952
|
deletedAt?: number | null | undefined;
|
|
1872
1953
|
/**
|
|
1873
1954
|
* Computed field that is only available for deployments with a microfrontend configuration.
|
|
@@ -1905,17 +1986,41 @@ export type CreateDeploymentResponseBody = {
|
|
|
1905
1986
|
* If set it overrides the `projectSettings.nodeVersion` for this deployment.
|
|
1906
1987
|
*/
|
|
1907
1988
|
nodeVersion?: CreateDeploymentNodeVersion | undefined;
|
|
1989
|
+
/**
|
|
1990
|
+
* The public project information associated with the deployment.
|
|
1991
|
+
*/
|
|
1908
1992
|
project?: CreateDeploymentProject | undefined;
|
|
1909
1993
|
/**
|
|
1910
1994
|
* Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic
|
|
1911
1995
|
*/
|
|
1912
1996
|
readySubstate?: ReadySubstate | undefined;
|
|
1997
|
+
/**
|
|
1998
|
+
* The regions the deployment exists in
|
|
1999
|
+
*/
|
|
1913
2000
|
regions: Array<string>;
|
|
2001
|
+
/**
|
|
2002
|
+
* flag to indicate if the deployment was deleted by retention policy
|
|
2003
|
+
*/
|
|
1914
2004
|
softDeletedByRetention?: boolean | undefined;
|
|
2005
|
+
/**
|
|
2006
|
+
* Where was the deployment created from
|
|
2007
|
+
*/
|
|
1915
2008
|
source?: CreateDeploymentSource | undefined;
|
|
2009
|
+
/**
|
|
2010
|
+
* If defined, either `staging` if a staging alias in the format `<project>.<team>.now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment.
|
|
2011
|
+
*/
|
|
1916
2012
|
target?: CreateDeploymentTarget | null | undefined;
|
|
2013
|
+
/**
|
|
2014
|
+
* A number containing the date when the deployment was undeleted at milliseconds
|
|
2015
|
+
*/
|
|
1917
2016
|
undeletedAt?: number | undefined;
|
|
2017
|
+
/**
|
|
2018
|
+
* A string with the unique URL of the deployment
|
|
2019
|
+
*/
|
|
1918
2020
|
url: string;
|
|
2021
|
+
/**
|
|
2022
|
+
* The platform version that was used to create the deployment.
|
|
2023
|
+
*/
|
|
1919
2024
|
version: number;
|
|
1920
2025
|
oidcTokenClaims?: OidcTokenClaims | undefined;
|
|
1921
2026
|
projectId: string;
|