@lessly/sdk-app 7.0.0 → 8.1.0
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/dist/brain/index.d.cts +1 -1
- package/dist/brain/index.d.ts +1 -1
- package/dist/{client.gen-oPZGjxpS.d.cts → client.gen-Bwk8slzV.d.cts} +2504 -1
- package/dist/{client.gen-oPZGjxpS.d.ts → client.gen-Bwk8slzV.d.ts} +2504 -1
- package/dist/consent/index.d.cts +1 -1
- package/dist/consent/index.d.ts +1 -1
- package/dist/deployment/index.cjs +531 -0
- package/dist/deployment/index.cjs.map +1 -0
- package/dist/deployment/index.d.cts +424 -0
- package/dist/deployment/index.d.ts +424 -0
- package/dist/deployment/index.js +425 -0
- package/dist/deployment/index.js.map +1 -0
- package/dist/index.cjs +1649 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1649 -0
- package/dist/index.js.map +1 -1
- package/dist/mail/index.d.cts +2 -2
- package/dist/mail/index.d.ts +2 -2
- package/dist/organization/index.d.cts +1 -1
- package/dist/organization/index.d.ts +1 -1
- package/dist/tracking/index.d.cts +1 -1
- package/dist/tracking/index.d.ts +1 -1
- package/dist/waitlist/index.d.cts +1 -1
- package/dist/waitlist/index.d.ts +1 -1
- package/package.json +7 -2
- package/src/gen/bindings.gen.ts +1649 -0
- package/src/gen/client.gen.ts +391 -0
- package/src/gen/deployment/index.ts +3 -0
- package/src/gen/deployment/queryOptions.gen.ts +681 -0
- package/src/gen/manifest.gen.ts +1 -1
- package/src/gen/types.gen.ts +2542 -0
package/src/gen/types.gen.ts
CHANGED
|
@@ -1392,6 +1392,2548 @@ deny_all_pct: number
|
|
|
1392
1392
|
accept_all_pct: number
|
|
1393
1393
|
}
|
|
1394
1394
|
|
|
1395
|
+
export interface DeploymentAlertCreateInput {
|
|
1396
|
+
metric: ("cpu" | "memory" | "net_in" | "net_out" | "disk")
|
|
1397
|
+
enabled?: boolean
|
|
1398
|
+
targetId: string
|
|
1399
|
+
threshold: number
|
|
1400
|
+
comparator: ("gt" | "lt")
|
|
1401
|
+
targetKind: ("service" | "managed-service")
|
|
1402
|
+
}
|
|
1403
|
+
|
|
1404
|
+
export interface DeploymentAlertCreateOutput {
|
|
1405
|
+
id: string
|
|
1406
|
+
state: ("ok" | "firing")
|
|
1407
|
+
metric: ("cpu" | "memory" | "net_in" | "net_out" | "disk")
|
|
1408
|
+
enabled: boolean
|
|
1409
|
+
targetId: string
|
|
1410
|
+
createdAt: string
|
|
1411
|
+
productId: string
|
|
1412
|
+
threshold: number
|
|
1413
|
+
updatedAt: string
|
|
1414
|
+
comparator: ("gt" | "lt")
|
|
1415
|
+
targetKind: ("service" | "managed-service")
|
|
1416
|
+
environmentId: string
|
|
1417
|
+
lastEvaluatedAt: (string | null)
|
|
1418
|
+
lastStateChangeAt: (string | null)
|
|
1419
|
+
}
|
|
1420
|
+
|
|
1421
|
+
export interface DeploymentAlertDeleteInput {
|
|
1422
|
+
id: string
|
|
1423
|
+
}
|
|
1424
|
+
|
|
1425
|
+
export interface DeploymentAlertDeleteOutput {
|
|
1426
|
+
deleted: boolean
|
|
1427
|
+
}
|
|
1428
|
+
|
|
1429
|
+
export interface DeploymentAlertEventsListInput {
|
|
1430
|
+
limit?: number
|
|
1431
|
+
environmentId: string
|
|
1432
|
+
}
|
|
1433
|
+
|
|
1434
|
+
export type DeploymentAlertEventsListOutput = {
|
|
1435
|
+
id: string
|
|
1436
|
+
type: ("firing" | "resolved")
|
|
1437
|
+
value: number
|
|
1438
|
+
metric: ("cpu" | "memory" | "net_in" | "net_out" | "disk")
|
|
1439
|
+
ruleId: string
|
|
1440
|
+
targetId: string
|
|
1441
|
+
createdAt: string
|
|
1442
|
+
productId: string
|
|
1443
|
+
threshold: number
|
|
1444
|
+
targetKind: ("service" | "managed-service")
|
|
1445
|
+
}[]
|
|
1446
|
+
|
|
1447
|
+
export interface DeploymentAlertListInput {
|
|
1448
|
+
environmentId: string
|
|
1449
|
+
}
|
|
1450
|
+
|
|
1451
|
+
export type DeploymentAlertListOutput = {
|
|
1452
|
+
id: string
|
|
1453
|
+
state: ("ok" | "firing")
|
|
1454
|
+
metric: ("cpu" | "memory" | "net_in" | "net_out" | "disk")
|
|
1455
|
+
enabled: boolean
|
|
1456
|
+
targetId: string
|
|
1457
|
+
createdAt: string
|
|
1458
|
+
productId: string
|
|
1459
|
+
threshold: number
|
|
1460
|
+
updatedAt: string
|
|
1461
|
+
comparator: ("gt" | "lt")
|
|
1462
|
+
targetKind: ("service" | "managed-service")
|
|
1463
|
+
environmentId: string
|
|
1464
|
+
lastEvaluatedAt: (string | null)
|
|
1465
|
+
lastStateChangeAt: (string | null)
|
|
1466
|
+
}[]
|
|
1467
|
+
|
|
1468
|
+
export interface DeploymentAlertUpdateInput {
|
|
1469
|
+
id: string
|
|
1470
|
+
enabled?: boolean
|
|
1471
|
+
threshold?: number
|
|
1472
|
+
comparator?: ("gt" | "lt")
|
|
1473
|
+
}
|
|
1474
|
+
|
|
1475
|
+
export interface DeploymentAlertUpdateOutput {
|
|
1476
|
+
id: string
|
|
1477
|
+
state: ("ok" | "firing")
|
|
1478
|
+
metric: ("cpu" | "memory" | "net_in" | "net_out" | "disk")
|
|
1479
|
+
enabled: boolean
|
|
1480
|
+
targetId: string
|
|
1481
|
+
createdAt: string
|
|
1482
|
+
productId: string
|
|
1483
|
+
threshold: number
|
|
1484
|
+
updatedAt: string
|
|
1485
|
+
comparator: ("gt" | "lt")
|
|
1486
|
+
targetKind: ("service" | "managed-service")
|
|
1487
|
+
environmentId: string
|
|
1488
|
+
lastEvaluatedAt: (string | null)
|
|
1489
|
+
lastStateChangeAt: (string | null)
|
|
1490
|
+
}
|
|
1491
|
+
|
|
1492
|
+
export interface DeploymentAnalyticsQueryInput {
|
|
1493
|
+
q: string
|
|
1494
|
+
}
|
|
1495
|
+
|
|
1496
|
+
export interface DeploymentAnalyticsQueryOutput {
|
|
1497
|
+
sql: string
|
|
1498
|
+
rows: {
|
|
1499
|
+
[k: string]: unknown
|
|
1500
|
+
}[]
|
|
1501
|
+
answer: string
|
|
1502
|
+
truncated: boolean
|
|
1503
|
+
explanation: string
|
|
1504
|
+
}
|
|
1505
|
+
|
|
1506
|
+
export interface DeploymentAuditListInput {
|
|
1507
|
+
limit?: number
|
|
1508
|
+
action?: string
|
|
1509
|
+
actorId?: string
|
|
1510
|
+
serviceId?: string
|
|
1511
|
+
entityType?: ("variable" | "domain" | "service" | "environment" | "deployment" | "managed_service" | "volume" | "cloud-sql-instance" | "cloud-sql-database" | "cloud-sql-attachment" | "ssh_key" | "ssh_session")
|
|
1512
|
+
environmentId: string
|
|
1513
|
+
}
|
|
1514
|
+
|
|
1515
|
+
export type DeploymentAuditListOutput = {
|
|
1516
|
+
id: string
|
|
1517
|
+
action: string
|
|
1518
|
+
actorId: string
|
|
1519
|
+
entityId: (string | null)
|
|
1520
|
+
metadata: {
|
|
1521
|
+
[k: string]: unknown
|
|
1522
|
+
}
|
|
1523
|
+
createdAt: string
|
|
1524
|
+
productId: string
|
|
1525
|
+
serviceId: (string | null)
|
|
1526
|
+
actorEmail: string
|
|
1527
|
+
entityType: ("variable" | "domain" | "service" | "environment" | "deployment" | "managed_service" | "volume" | "cloud-sql-instance" | "cloud-sql-database" | "cloud-sql-attachment" | "ssh_key" | "ssh_session")
|
|
1528
|
+
environmentId: (string | null)
|
|
1529
|
+
}[]
|
|
1530
|
+
|
|
1531
|
+
export interface DeploymentBuildGetInput {
|
|
1532
|
+
id: string
|
|
1533
|
+
}
|
|
1534
|
+
|
|
1535
|
+
export interface DeploymentBuildGetOutput {
|
|
1536
|
+
id: string
|
|
1537
|
+
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed")
|
|
1538
|
+
builtAt: (string | null)
|
|
1539
|
+
imageRef: (string | null)
|
|
1540
|
+
commitSha: (string | null)
|
|
1541
|
+
createdAt: string
|
|
1542
|
+
serviceId: string
|
|
1543
|
+
startedAt: (string | null)
|
|
1544
|
+
finishedAt: (string | null)
|
|
1545
|
+
cloudBuildId: (string | null)
|
|
1546
|
+
lastErrorMessage: (string | null)
|
|
1547
|
+
}
|
|
1548
|
+
|
|
1549
|
+
export interface DeploymentBuildListInput {
|
|
1550
|
+
serviceId: string
|
|
1551
|
+
}
|
|
1552
|
+
|
|
1553
|
+
export type DeploymentBuildListOutput = {
|
|
1554
|
+
id: string
|
|
1555
|
+
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed")
|
|
1556
|
+
builtAt: (string | null)
|
|
1557
|
+
imageRef: (string | null)
|
|
1558
|
+
commitSha: (string | null)
|
|
1559
|
+
createdAt: string
|
|
1560
|
+
serviceId: string
|
|
1561
|
+
startedAt: (string | null)
|
|
1562
|
+
finishedAt: (string | null)
|
|
1563
|
+
cloudBuildId: (string | null)
|
|
1564
|
+
lastErrorMessage: (string | null)
|
|
1565
|
+
}[]
|
|
1566
|
+
|
|
1567
|
+
export interface DeploymentBuildLogsInput {
|
|
1568
|
+
tail?: number
|
|
1569
|
+
since?: string
|
|
1570
|
+
serviceId: string
|
|
1571
|
+
deploymentId: string
|
|
1572
|
+
}
|
|
1573
|
+
|
|
1574
|
+
export interface DeploymentBuildLogsOutput {
|
|
1575
|
+
lines: {
|
|
1576
|
+
ts: string
|
|
1577
|
+
text: string
|
|
1578
|
+
}[]
|
|
1579
|
+
cursor: (string | null)
|
|
1580
|
+
complete: boolean
|
|
1581
|
+
}
|
|
1582
|
+
|
|
1583
|
+
export interface DeploymentCanvasGetInput {
|
|
1584
|
+
environmentId: string
|
|
1585
|
+
}
|
|
1586
|
+
|
|
1587
|
+
export interface DeploymentCanvasGetOutput {
|
|
1588
|
+
edges: {
|
|
1589
|
+
id: string
|
|
1590
|
+
kind: ("cloud-sql" | "reference" | "host")
|
|
1591
|
+
label: string
|
|
1592
|
+
toKind: ("service" | "managed-service" | "cloud-sql")
|
|
1593
|
+
fromKind: "service"
|
|
1594
|
+
toNodeId: string
|
|
1595
|
+
fromNodeId: string
|
|
1596
|
+
}[]
|
|
1597
|
+
nodes: {
|
|
1598
|
+
x: number
|
|
1599
|
+
y: number
|
|
1600
|
+
id: string
|
|
1601
|
+
width: (number | null)
|
|
1602
|
+
height: (number | null)
|
|
1603
|
+
nodeId: string
|
|
1604
|
+
nodeKind: ("service" | "volume" | "managed-service" | "cloud-sql")
|
|
1605
|
+
createdAt: string
|
|
1606
|
+
updatedAt: string
|
|
1607
|
+
}[]
|
|
1608
|
+
services: {
|
|
1609
|
+
id: string
|
|
1610
|
+
name: string
|
|
1611
|
+
slug: string
|
|
1612
|
+
probes: {
|
|
1613
|
+
liveness?: DeploymentCanvasGetOutputReadiness
|
|
1614
|
+
readiness?: DeploymentCanvasGetOutputReadiness
|
|
1615
|
+
}
|
|
1616
|
+
source: ({
|
|
1617
|
+
url?: string
|
|
1618
|
+
path?: string
|
|
1619
|
+
type: "git"
|
|
1620
|
+
branch: string
|
|
1621
|
+
connectorId?: string
|
|
1622
|
+
repoFullName?: string
|
|
1623
|
+
} | {
|
|
1624
|
+
tag: string
|
|
1625
|
+
type: "image"
|
|
1626
|
+
registry: string
|
|
1627
|
+
} | {
|
|
1628
|
+
spa?: boolean
|
|
1629
|
+
repo?: {
|
|
1630
|
+
url?: string
|
|
1631
|
+
path?: string
|
|
1632
|
+
branch: string
|
|
1633
|
+
connectorId?: string
|
|
1634
|
+
repoFullName?: string
|
|
1635
|
+
}
|
|
1636
|
+
type: "static"
|
|
1637
|
+
build?: {
|
|
1638
|
+
command?: string
|
|
1639
|
+
outputDir?: string
|
|
1640
|
+
}
|
|
1641
|
+
})
|
|
1642
|
+
replicas: number
|
|
1643
|
+
createdAt: string
|
|
1644
|
+
dependsOn: string[]
|
|
1645
|
+
resources?: {
|
|
1646
|
+
limits?: {
|
|
1647
|
+
cpu?: string
|
|
1648
|
+
memory?: string
|
|
1649
|
+
}
|
|
1650
|
+
}
|
|
1651
|
+
updatedAt: string
|
|
1652
|
+
containerPort: number
|
|
1653
|
+
environmentId: string
|
|
1654
|
+
lastReplicasRunning: number
|
|
1655
|
+
}[]
|
|
1656
|
+
environmentId: string
|
|
1657
|
+
}
|
|
1658
|
+
export interface DeploymentCanvasGetOutputReadiness {
|
|
1659
|
+
path: string
|
|
1660
|
+
port?: number
|
|
1661
|
+
periodSeconds?: number
|
|
1662
|
+
timeoutSeconds?: number
|
|
1663
|
+
failureThreshold?: number
|
|
1664
|
+
successThreshold?: number
|
|
1665
|
+
initialDelaySeconds?: number
|
|
1666
|
+
}
|
|
1667
|
+
|
|
1668
|
+
export interface DeploymentCanvasMoveNodeInput {
|
|
1669
|
+
x?: number
|
|
1670
|
+
y?: number
|
|
1671
|
+
width?: number
|
|
1672
|
+
height?: number
|
|
1673
|
+
nodeId: string
|
|
1674
|
+
environmentId: string
|
|
1675
|
+
}
|
|
1676
|
+
|
|
1677
|
+
export interface DeploymentCanvasMoveNodeOutput {
|
|
1678
|
+
x: number
|
|
1679
|
+
y: number
|
|
1680
|
+
id: string
|
|
1681
|
+
width: (number | null)
|
|
1682
|
+
height: (number | null)
|
|
1683
|
+
nodeId: string
|
|
1684
|
+
nodeKind: ("service" | "volume" | "managed-service" | "cloud-sql")
|
|
1685
|
+
createdAt: string
|
|
1686
|
+
updatedAt: string
|
|
1687
|
+
}
|
|
1688
|
+
|
|
1689
|
+
export interface DeploymentCloudSqlBackfillLogFlagsInput {
|
|
1690
|
+
instanceId?: string
|
|
1691
|
+
}
|
|
1692
|
+
|
|
1693
|
+
export interface DeploymentCloudSqlBackfillLogFlagsOutput {
|
|
1694
|
+
failed: {
|
|
1695
|
+
id: string
|
|
1696
|
+
name: string
|
|
1697
|
+
error: string
|
|
1698
|
+
}[]
|
|
1699
|
+
patched: number
|
|
1700
|
+
scanned: number
|
|
1701
|
+
skippedNoDrift: number
|
|
1702
|
+
restartRequired: {
|
|
1703
|
+
id: string
|
|
1704
|
+
name: string
|
|
1705
|
+
flags: string[]
|
|
1706
|
+
}[]
|
|
1707
|
+
skippedNotReady: number
|
|
1708
|
+
skippedRestartRequired: number
|
|
1709
|
+
}
|
|
1710
|
+
|
|
1711
|
+
export interface DeploymentCloudSqlDatabaseAttachInput {
|
|
1712
|
+
serviceId: string
|
|
1713
|
+
databaseId: string
|
|
1714
|
+
environmentId: string
|
|
1715
|
+
}
|
|
1716
|
+
|
|
1717
|
+
export interface DeploymentCloudSqlDatabaseAttachOutput {
|
|
1718
|
+
id: string
|
|
1719
|
+
status: string
|
|
1720
|
+
serviceId: string
|
|
1721
|
+
databaseId: string
|
|
1722
|
+
environmentId: string
|
|
1723
|
+
}
|
|
1724
|
+
|
|
1725
|
+
export interface DeploymentCloudSqlDatabaseCreateInput {
|
|
1726
|
+
label?: string
|
|
1727
|
+
instanceId: string
|
|
1728
|
+
}
|
|
1729
|
+
|
|
1730
|
+
export interface DeploymentCloudSqlDatabaseCreateOutput {
|
|
1731
|
+
id: string
|
|
1732
|
+
dbName: string
|
|
1733
|
+
status: string
|
|
1734
|
+
roleName: string
|
|
1735
|
+
createdAt: string
|
|
1736
|
+
productId: string
|
|
1737
|
+
updatedAt: string
|
|
1738
|
+
instanceId: string
|
|
1739
|
+
lastErrorMessage: (string | null)
|
|
1740
|
+
}
|
|
1741
|
+
|
|
1742
|
+
export interface DeploymentCloudSqlDatabaseDeleteInput {
|
|
1743
|
+
databaseId: string
|
|
1744
|
+
}
|
|
1745
|
+
|
|
1746
|
+
export interface DeploymentCloudSqlDatabaseDeleteOutput {
|
|
1747
|
+
[k: string]: unknown
|
|
1748
|
+
}
|
|
1749
|
+
|
|
1750
|
+
export interface DeploymentCloudSqlDatabaseDetachInput {
|
|
1751
|
+
attachmentId: string
|
|
1752
|
+
}
|
|
1753
|
+
|
|
1754
|
+
export interface DeploymentCloudSqlDatabaseDetachOutput {
|
|
1755
|
+
[k: string]: unknown
|
|
1756
|
+
}
|
|
1757
|
+
|
|
1758
|
+
export interface DeploymentCloudSqlDatabaseGetInput {
|
|
1759
|
+
databaseId: string
|
|
1760
|
+
}
|
|
1761
|
+
|
|
1762
|
+
export interface DeploymentCloudSqlDatabaseGetOutput {
|
|
1763
|
+
id: string
|
|
1764
|
+
dbName: string
|
|
1765
|
+
status: string
|
|
1766
|
+
roleName: string
|
|
1767
|
+
createdAt: string
|
|
1768
|
+
productId: string
|
|
1769
|
+
updatedAt: string
|
|
1770
|
+
instanceId: string
|
|
1771
|
+
lastErrorMessage: (string | null)
|
|
1772
|
+
}
|
|
1773
|
+
|
|
1774
|
+
export interface DeploymentCloudSqlDatabaseListInput {
|
|
1775
|
+
instanceId: string
|
|
1776
|
+
}
|
|
1777
|
+
|
|
1778
|
+
export type DeploymentCloudSqlDatabaseListOutput = {
|
|
1779
|
+
id: string
|
|
1780
|
+
dbName: string
|
|
1781
|
+
status: string
|
|
1782
|
+
roleName: string
|
|
1783
|
+
createdAt: string
|
|
1784
|
+
productId: string
|
|
1785
|
+
updatedAt: string
|
|
1786
|
+
instanceId: string
|
|
1787
|
+
lastErrorMessage: (string | null)
|
|
1788
|
+
}[]
|
|
1789
|
+
|
|
1790
|
+
export interface DeploymentCloudSqlInstanceBackupInput {
|
|
1791
|
+
instanceId: string
|
|
1792
|
+
}
|
|
1793
|
+
|
|
1794
|
+
export interface DeploymentCloudSqlInstanceBackupOutput {
|
|
1795
|
+
id: string
|
|
1796
|
+
name: string
|
|
1797
|
+
tier: string
|
|
1798
|
+
label: string
|
|
1799
|
+
region: string
|
|
1800
|
+
status: string
|
|
1801
|
+
createdAt: string
|
|
1802
|
+
pgVersion: string
|
|
1803
|
+
privateIp: (string | null)
|
|
1804
|
+
productId: string
|
|
1805
|
+
updatedAt: string
|
|
1806
|
+
pitrEnabled: (boolean | null)
|
|
1807
|
+
backupsEnabled: (boolean | null)
|
|
1808
|
+
connectionName: (string | null)
|
|
1809
|
+
lastErrorMessage: (string | null)
|
|
1810
|
+
backupConfigObservedAt: (string | null)
|
|
1811
|
+
}
|
|
1812
|
+
|
|
1813
|
+
export interface DeploymentCloudSqlInstanceBackupListInput {
|
|
1814
|
+
instanceId: string
|
|
1815
|
+
}
|
|
1816
|
+
|
|
1817
|
+
export type DeploymentCloudSqlInstanceBackupListOutput = {
|
|
1818
|
+
id: string
|
|
1819
|
+
type: string
|
|
1820
|
+
error: (string | null)
|
|
1821
|
+
status: string
|
|
1822
|
+
endTime: (string | null)
|
|
1823
|
+
startTime: (string | null)
|
|
1824
|
+
description: (string | null)
|
|
1825
|
+
}[]
|
|
1826
|
+
|
|
1827
|
+
export interface DeploymentCloudSqlInstanceCreateInput {
|
|
1828
|
+
tier?: ("db-custom-1-3840" | "db-custom-2-7680" | "db-custom-4-15360")
|
|
1829
|
+
label: string
|
|
1830
|
+
pgVersion?: ("16" | "17" | "18")
|
|
1831
|
+
}
|
|
1832
|
+
|
|
1833
|
+
export interface DeploymentCloudSqlInstanceCreateOutput {
|
|
1834
|
+
id: string
|
|
1835
|
+
name: string
|
|
1836
|
+
tier: string
|
|
1837
|
+
label: string
|
|
1838
|
+
region: string
|
|
1839
|
+
status: string
|
|
1840
|
+
createdAt: string
|
|
1841
|
+
pgVersion: string
|
|
1842
|
+
privateIp: (string | null)
|
|
1843
|
+
productId: string
|
|
1844
|
+
updatedAt: string
|
|
1845
|
+
pitrEnabled: (boolean | null)
|
|
1846
|
+
backupsEnabled: (boolean | null)
|
|
1847
|
+
connectionName: (string | null)
|
|
1848
|
+
lastErrorMessage: (string | null)
|
|
1849
|
+
backupConfigObservedAt: (string | null)
|
|
1850
|
+
}
|
|
1851
|
+
|
|
1852
|
+
export interface DeploymentCloudSqlInstanceDeleteInput {
|
|
1853
|
+
instanceId: string
|
|
1854
|
+
}
|
|
1855
|
+
|
|
1856
|
+
export interface DeploymentCloudSqlInstanceDeleteOutput {
|
|
1857
|
+
[k: string]: unknown
|
|
1858
|
+
}
|
|
1859
|
+
|
|
1860
|
+
export interface DeploymentCloudSqlInstanceGetInput {
|
|
1861
|
+
instanceId: string
|
|
1862
|
+
}
|
|
1863
|
+
|
|
1864
|
+
export interface DeploymentCloudSqlInstanceGetOutput {
|
|
1865
|
+
id: string
|
|
1866
|
+
name: string
|
|
1867
|
+
tier: string
|
|
1868
|
+
label: string
|
|
1869
|
+
region: string
|
|
1870
|
+
status: string
|
|
1871
|
+
createdAt: string
|
|
1872
|
+
pgVersion: string
|
|
1873
|
+
privateIp: (string | null)
|
|
1874
|
+
productId: string
|
|
1875
|
+
updatedAt: string
|
|
1876
|
+
pitrEnabled: (boolean | null)
|
|
1877
|
+
backupsEnabled: (boolean | null)
|
|
1878
|
+
connectionName: (string | null)
|
|
1879
|
+
lastErrorMessage: (string | null)
|
|
1880
|
+
backupConfigObservedAt: (string | null)
|
|
1881
|
+
}
|
|
1882
|
+
|
|
1883
|
+
export interface DeploymentCloudSqlInstanceListInput {
|
|
1884
|
+
|
|
1885
|
+
}
|
|
1886
|
+
|
|
1887
|
+
export type DeploymentCloudSqlInstanceListOutput = {
|
|
1888
|
+
id: string
|
|
1889
|
+
name: string
|
|
1890
|
+
tier: string
|
|
1891
|
+
label: string
|
|
1892
|
+
region: string
|
|
1893
|
+
status: string
|
|
1894
|
+
createdAt: string
|
|
1895
|
+
pgVersion: string
|
|
1896
|
+
privateIp: (string | null)
|
|
1897
|
+
productId: string
|
|
1898
|
+
updatedAt: string
|
|
1899
|
+
pitrEnabled: (boolean | null)
|
|
1900
|
+
backupsEnabled: (boolean | null)
|
|
1901
|
+
connectionName: (string | null)
|
|
1902
|
+
lastErrorMessage: (string | null)
|
|
1903
|
+
backupConfigObservedAt: (string | null)
|
|
1904
|
+
}[]
|
|
1905
|
+
|
|
1906
|
+
export interface DeploymentCloudSqlInstanceResizeInput {
|
|
1907
|
+
tier: ("db-custom-1-3840" | "db-custom-2-7680" | "db-custom-4-15360")
|
|
1908
|
+
instanceId: string
|
|
1909
|
+
}
|
|
1910
|
+
|
|
1911
|
+
export interface DeploymentCloudSqlInstanceResizeOutput {
|
|
1912
|
+
id: string
|
|
1913
|
+
name: string
|
|
1914
|
+
tier: string
|
|
1915
|
+
label: string
|
|
1916
|
+
region: string
|
|
1917
|
+
status: string
|
|
1918
|
+
createdAt: string
|
|
1919
|
+
pgVersion: string
|
|
1920
|
+
privateIp: (string | null)
|
|
1921
|
+
productId: string
|
|
1922
|
+
updatedAt: string
|
|
1923
|
+
pitrEnabled: (boolean | null)
|
|
1924
|
+
backupsEnabled: (boolean | null)
|
|
1925
|
+
connectionName: (string | null)
|
|
1926
|
+
lastErrorMessage: (string | null)
|
|
1927
|
+
backupConfigObservedAt: (string | null)
|
|
1928
|
+
}
|
|
1929
|
+
|
|
1930
|
+
export interface DeploymentCloudSqlInstanceRestoreInput {
|
|
1931
|
+
instanceId: string
|
|
1932
|
+
backupRunId: string
|
|
1933
|
+
}
|
|
1934
|
+
|
|
1935
|
+
export interface DeploymentCloudSqlInstanceRestoreOutput {
|
|
1936
|
+
id: string
|
|
1937
|
+
name: string
|
|
1938
|
+
tier: string
|
|
1939
|
+
label: string
|
|
1940
|
+
region: string
|
|
1941
|
+
status: string
|
|
1942
|
+
createdAt: string
|
|
1943
|
+
pgVersion: string
|
|
1944
|
+
privateIp: (string | null)
|
|
1945
|
+
productId: string
|
|
1946
|
+
updatedAt: string
|
|
1947
|
+
pitrEnabled: (boolean | null)
|
|
1948
|
+
backupsEnabled: (boolean | null)
|
|
1949
|
+
connectionName: (string | null)
|
|
1950
|
+
lastErrorMessage: (string | null)
|
|
1951
|
+
backupConfigObservedAt: (string | null)
|
|
1952
|
+
}
|
|
1953
|
+
|
|
1954
|
+
export interface DeploymentCloudSqlLogsInput {
|
|
1955
|
+
tail?: number
|
|
1956
|
+
instanceId: string
|
|
1957
|
+
}
|
|
1958
|
+
|
|
1959
|
+
export interface DeploymentCloudSqlLogsOutput {
|
|
1960
|
+
lines: string[]
|
|
1961
|
+
}
|
|
1962
|
+
|
|
1963
|
+
export interface DeploymentDeploymentCancelInput {
|
|
1964
|
+
serviceId: string
|
|
1965
|
+
deploymentId: string
|
|
1966
|
+
}
|
|
1967
|
+
|
|
1968
|
+
export interface DeploymentDeploymentCancelOutput {
|
|
1969
|
+
id: string
|
|
1970
|
+
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed")
|
|
1971
|
+
builtAt: (string | null)
|
|
1972
|
+
imageRef: (string | null)
|
|
1973
|
+
commitSha: (string | null)
|
|
1974
|
+
createdAt: string
|
|
1975
|
+
serviceId: string
|
|
1976
|
+
startedAt: (string | null)
|
|
1977
|
+
updatedAt: string
|
|
1978
|
+
deployedAt: (string | null)
|
|
1979
|
+
finishedAt: (string | null)
|
|
1980
|
+
cloudBuildId: (string | null)
|
|
1981
|
+
configSnapshot: {
|
|
1982
|
+
source?: unknown
|
|
1983
|
+
variables: {
|
|
1984
|
+
key: string
|
|
1985
|
+
value: string
|
|
1986
|
+
}[]
|
|
1987
|
+
}
|
|
1988
|
+
lastErrorMessage: (string | null)
|
|
1989
|
+
rolledBackFromDeploymentId: (string | null)
|
|
1990
|
+
}
|
|
1991
|
+
|
|
1992
|
+
export interface DeploymentDeploymentGetInput {
|
|
1993
|
+
id: string
|
|
1994
|
+
}
|
|
1995
|
+
|
|
1996
|
+
export interface DeploymentDeploymentGetOutput {
|
|
1997
|
+
id: string
|
|
1998
|
+
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed")
|
|
1999
|
+
builtAt: (string | null)
|
|
2000
|
+
imageRef: (string | null)
|
|
2001
|
+
commitSha: (string | null)
|
|
2002
|
+
createdAt: string
|
|
2003
|
+
serviceId: string
|
|
2004
|
+
startedAt: (string | null)
|
|
2005
|
+
updatedAt: string
|
|
2006
|
+
deployedAt: (string | null)
|
|
2007
|
+
finishedAt: (string | null)
|
|
2008
|
+
cloudBuildId: (string | null)
|
|
2009
|
+
configSnapshot: {
|
|
2010
|
+
source?: unknown
|
|
2011
|
+
variables: {
|
|
2012
|
+
key: string
|
|
2013
|
+
value: string
|
|
2014
|
+
}[]
|
|
2015
|
+
}
|
|
2016
|
+
lastErrorMessage: (string | null)
|
|
2017
|
+
rolledBackFromDeploymentId: (string | null)
|
|
2018
|
+
}
|
|
2019
|
+
|
|
2020
|
+
export interface DeploymentDeploymentListInput {
|
|
2021
|
+
serviceId: string
|
|
2022
|
+
}
|
|
2023
|
+
|
|
2024
|
+
export type DeploymentDeploymentListOutput = {
|
|
2025
|
+
id: string
|
|
2026
|
+
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed")
|
|
2027
|
+
builtAt: (string | null)
|
|
2028
|
+
imageRef: (string | null)
|
|
2029
|
+
commitSha: (string | null)
|
|
2030
|
+
createdAt: string
|
|
2031
|
+
serviceId: string
|
|
2032
|
+
startedAt: (string | null)
|
|
2033
|
+
updatedAt: string
|
|
2034
|
+
deployedAt: (string | null)
|
|
2035
|
+
finishedAt: (string | null)
|
|
2036
|
+
cloudBuildId: (string | null)
|
|
2037
|
+
configSnapshot: {
|
|
2038
|
+
source?: unknown
|
|
2039
|
+
variables: {
|
|
2040
|
+
key: string
|
|
2041
|
+
value: string
|
|
2042
|
+
}[]
|
|
2043
|
+
}
|
|
2044
|
+
lastErrorMessage: (string | null)
|
|
2045
|
+
rolledBackFromDeploymentId: (string | null)
|
|
2046
|
+
}[]
|
|
2047
|
+
|
|
2048
|
+
export interface DeploymentDomainAddInput {
|
|
2049
|
+
hostname: string
|
|
2050
|
+
pathPrefix?: string
|
|
2051
|
+
redirectWww?: boolean
|
|
2052
|
+
environmentId: string
|
|
2053
|
+
defaultServiceId: string
|
|
2054
|
+
}
|
|
2055
|
+
|
|
2056
|
+
export interface DeploymentDomainAddOutput {
|
|
2057
|
+
id: string
|
|
2058
|
+
kind: ("auto" | "custom")
|
|
2059
|
+
routes: {
|
|
2060
|
+
id: string
|
|
2061
|
+
domainId: string
|
|
2062
|
+
priority: number
|
|
2063
|
+
createdAt: string
|
|
2064
|
+
isDefault: boolean
|
|
2065
|
+
serviceId: string
|
|
2066
|
+
updatedAt: string
|
|
2067
|
+
pathPrefix: string
|
|
2068
|
+
}[]
|
|
2069
|
+
hostname: string
|
|
2070
|
+
createdAt: string
|
|
2071
|
+
tlsStatus: ("none" | "pending" | "issuing" | "active" | "failed")
|
|
2072
|
+
updatedAt: string
|
|
2073
|
+
lastProbeAt: (string | null)
|
|
2074
|
+
redirectWww: boolean
|
|
2075
|
+
wwwTlsStatus: ("none" | "pending" | "issuing" | "active" | "failed")
|
|
2076
|
+
environmentId: string
|
|
2077
|
+
routingStatus: ("provisioning" | "propagating" | "active" | "failed")
|
|
2078
|
+
lastProbeError: (string | null)
|
|
2079
|
+
dnsInstructions: ({
|
|
2080
|
+
txt: {
|
|
2081
|
+
name: string
|
|
2082
|
+
value: string
|
|
2083
|
+
}
|
|
2084
|
+
routing: DeploymentDomainAddOutputItems[]
|
|
2085
|
+
acmeChallenge?: DeploymentDomainAddOutputItems
|
|
2086
|
+
routingUnavailable?: boolean
|
|
2087
|
+
} | null)
|
|
2088
|
+
routingRecordType: ("A" | "CNAME")
|
|
2089
|
+
verificationToken: (string | null)
|
|
2090
|
+
verificationStatus: ("pending_dns" | "verified" | "dns_failed")
|
|
2091
|
+
lastVerificationError: (({
|
|
2092
|
+
code: (string | null)
|
|
2093
|
+
reason: "transient"
|
|
2094
|
+
checkedAt: string
|
|
2095
|
+
} | {
|
|
2096
|
+
txt?: {
|
|
2097
|
+
got: string[]
|
|
2098
|
+
want: string
|
|
2099
|
+
}
|
|
2100
|
+
host?: {
|
|
2101
|
+
got: string[]
|
|
2102
|
+
want: string[]
|
|
2103
|
+
}
|
|
2104
|
+
reason: "mismatch"
|
|
2105
|
+
checkedAt: string
|
|
2106
|
+
}) | null)
|
|
2107
|
+
lastVerificationCheckAt: (string | null)
|
|
2108
|
+
tlsCertificateExpiresAt: (string | null)
|
|
2109
|
+
}
|
|
2110
|
+
export interface DeploymentDomainAddOutputItems {
|
|
2111
|
+
name: string
|
|
2112
|
+
value: string
|
|
2113
|
+
recordType: ("A" | "CNAME")
|
|
2114
|
+
}
|
|
2115
|
+
|
|
2116
|
+
export interface DeploymentDomainAllowedListInput {
|
|
2117
|
+
|
|
2118
|
+
}
|
|
2119
|
+
|
|
2120
|
+
export interface DeploymentDomainAllowedListOutput {
|
|
2121
|
+
domains: {
|
|
2122
|
+
mode: ("external" | "managed")
|
|
2123
|
+
domain: string
|
|
2124
|
+
domainId: string
|
|
2125
|
+
}[]
|
|
2126
|
+
}
|
|
2127
|
+
|
|
2128
|
+
export interface DeploymentDomainGetInput {
|
|
2129
|
+
id: string
|
|
2130
|
+
}
|
|
2131
|
+
|
|
2132
|
+
export interface DeploymentDomainGetOutput {
|
|
2133
|
+
id: string
|
|
2134
|
+
kind: ("auto" | "custom")
|
|
2135
|
+
hostname: string
|
|
2136
|
+
createdAt: string
|
|
2137
|
+
tlsStatus: ("none" | "pending" | "issuing" | "active" | "failed")
|
|
2138
|
+
updatedAt: string
|
|
2139
|
+
lastProbeAt: (string | null)
|
|
2140
|
+
redirectWww: boolean
|
|
2141
|
+
wwwTlsStatus: ("none" | "pending" | "issuing" | "active" | "failed")
|
|
2142
|
+
environmentId: string
|
|
2143
|
+
routingStatus: ("provisioning" | "propagating" | "active" | "failed")
|
|
2144
|
+
lastProbeError: (string | null)
|
|
2145
|
+
dnsInstructions: ({
|
|
2146
|
+
txt: {
|
|
2147
|
+
name: string
|
|
2148
|
+
value: string
|
|
2149
|
+
}
|
|
2150
|
+
routing: DeploymentDomainGetOutputItems[]
|
|
2151
|
+
acmeChallenge?: DeploymentDomainGetOutputItems
|
|
2152
|
+
routingUnavailable?: boolean
|
|
2153
|
+
} | null)
|
|
2154
|
+
routingRecordType: ("A" | "CNAME")
|
|
2155
|
+
verificationToken: (string | null)
|
|
2156
|
+
verificationStatus: ("pending_dns" | "verified" | "dns_failed")
|
|
2157
|
+
lastVerificationError: (({
|
|
2158
|
+
code: (string | null)
|
|
2159
|
+
reason: "transient"
|
|
2160
|
+
checkedAt: string
|
|
2161
|
+
} | {
|
|
2162
|
+
txt?: {
|
|
2163
|
+
got: string[]
|
|
2164
|
+
want: string
|
|
2165
|
+
}
|
|
2166
|
+
host?: {
|
|
2167
|
+
got: string[]
|
|
2168
|
+
want: string[]
|
|
2169
|
+
}
|
|
2170
|
+
reason: "mismatch"
|
|
2171
|
+
checkedAt: string
|
|
2172
|
+
}) | null)
|
|
2173
|
+
lastVerificationCheckAt: (string | null)
|
|
2174
|
+
tlsCertificateExpiresAt: (string | null)
|
|
2175
|
+
}
|
|
2176
|
+
export interface DeploymentDomainGetOutputItems {
|
|
2177
|
+
name: string
|
|
2178
|
+
value: string
|
|
2179
|
+
recordType: ("A" | "CNAME")
|
|
2180
|
+
}
|
|
2181
|
+
|
|
2182
|
+
export interface DeploymentDomainListInput {
|
|
2183
|
+
environmentId: string
|
|
2184
|
+
}
|
|
2185
|
+
|
|
2186
|
+
export type DeploymentDomainListOutput = {
|
|
2187
|
+
id: string
|
|
2188
|
+
kind: ("auto" | "custom")
|
|
2189
|
+
hostname: string
|
|
2190
|
+
createdAt: string
|
|
2191
|
+
tlsStatus: ("none" | "pending" | "issuing" | "active" | "failed")
|
|
2192
|
+
updatedAt: string
|
|
2193
|
+
lastProbeAt: (string | null)
|
|
2194
|
+
redirectWww: boolean
|
|
2195
|
+
wwwTlsStatus: ("none" | "pending" | "issuing" | "active" | "failed")
|
|
2196
|
+
environmentId: string
|
|
2197
|
+
routingStatus: ("provisioning" | "propagating" | "active" | "failed")
|
|
2198
|
+
lastProbeError: (string | null)
|
|
2199
|
+
dnsInstructions: ({
|
|
2200
|
+
txt: {
|
|
2201
|
+
name: string
|
|
2202
|
+
value: string
|
|
2203
|
+
}
|
|
2204
|
+
routing: DeploymentDomainListOutputItems[]
|
|
2205
|
+
acmeChallenge?: DeploymentDomainListOutputItems
|
|
2206
|
+
routingUnavailable?: boolean
|
|
2207
|
+
} | null)
|
|
2208
|
+
routingRecordType: ("A" | "CNAME")
|
|
2209
|
+
verificationToken: (string | null)
|
|
2210
|
+
verificationStatus: ("pending_dns" | "verified" | "dns_failed")
|
|
2211
|
+
lastVerificationError: (({
|
|
2212
|
+
code: (string | null)
|
|
2213
|
+
reason: "transient"
|
|
2214
|
+
checkedAt: string
|
|
2215
|
+
} | {
|
|
2216
|
+
txt?: {
|
|
2217
|
+
got: string[]
|
|
2218
|
+
want: string
|
|
2219
|
+
}
|
|
2220
|
+
host?: {
|
|
2221
|
+
got: string[]
|
|
2222
|
+
want: string[]
|
|
2223
|
+
}
|
|
2224
|
+
reason: "mismatch"
|
|
2225
|
+
checkedAt: string
|
|
2226
|
+
}) | null)
|
|
2227
|
+
lastVerificationCheckAt: (string | null)
|
|
2228
|
+
tlsCertificateExpiresAt: (string | null)
|
|
2229
|
+
}[]
|
|
2230
|
+
|
|
2231
|
+
export interface DeploymentDomainListOutputItems {
|
|
2232
|
+
name: string
|
|
2233
|
+
value: string
|
|
2234
|
+
recordType: ("A" | "CNAME")
|
|
2235
|
+
}
|
|
2236
|
+
|
|
2237
|
+
export interface DeploymentDomainListByServiceInput {
|
|
2238
|
+
serviceId: string
|
|
2239
|
+
}
|
|
2240
|
+
|
|
2241
|
+
export type DeploymentDomainListByServiceOutput = {
|
|
2242
|
+
id: string
|
|
2243
|
+
kind: ("auto" | "custom")
|
|
2244
|
+
hostname: string
|
|
2245
|
+
createdAt: string
|
|
2246
|
+
tlsStatus: ("none" | "pending" | "issuing" | "active" | "failed")
|
|
2247
|
+
updatedAt: string
|
|
2248
|
+
lastProbeAt: (string | null)
|
|
2249
|
+
redirectWww: boolean
|
|
2250
|
+
wwwTlsStatus: ("none" | "pending" | "issuing" | "active" | "failed")
|
|
2251
|
+
environmentId: string
|
|
2252
|
+
routingStatus: ("provisioning" | "propagating" | "active" | "failed")
|
|
2253
|
+
lastProbeError: (string | null)
|
|
2254
|
+
dnsInstructions: ({
|
|
2255
|
+
txt: {
|
|
2256
|
+
name: string
|
|
2257
|
+
value: string
|
|
2258
|
+
}
|
|
2259
|
+
routing: DeploymentDomainListByServiceOutputItems[]
|
|
2260
|
+
acmeChallenge?: DeploymentDomainListByServiceOutputItems
|
|
2261
|
+
routingUnavailable?: boolean
|
|
2262
|
+
} | null)
|
|
2263
|
+
routingRecordType: ("A" | "CNAME")
|
|
2264
|
+
verificationToken: (string | null)
|
|
2265
|
+
verificationStatus: ("pending_dns" | "verified" | "dns_failed")
|
|
2266
|
+
lastVerificationError: (({
|
|
2267
|
+
code: (string | null)
|
|
2268
|
+
reason: "transient"
|
|
2269
|
+
checkedAt: string
|
|
2270
|
+
} | {
|
|
2271
|
+
txt?: {
|
|
2272
|
+
got: string[]
|
|
2273
|
+
want: string
|
|
2274
|
+
}
|
|
2275
|
+
host?: {
|
|
2276
|
+
got: string[]
|
|
2277
|
+
want: string[]
|
|
2278
|
+
}
|
|
2279
|
+
reason: "mismatch"
|
|
2280
|
+
checkedAt: string
|
|
2281
|
+
}) | null)
|
|
2282
|
+
lastVerificationCheckAt: (string | null)
|
|
2283
|
+
tlsCertificateExpiresAt: (string | null)
|
|
2284
|
+
}[]
|
|
2285
|
+
|
|
2286
|
+
export interface DeploymentDomainListByServiceOutputItems {
|
|
2287
|
+
name: string
|
|
2288
|
+
value: string
|
|
2289
|
+
recordType: ("A" | "CNAME")
|
|
2290
|
+
}
|
|
2291
|
+
|
|
2292
|
+
export interface DeploymentDomainRedirectWwwInput {
|
|
2293
|
+
id: string
|
|
2294
|
+
enabled: boolean
|
|
2295
|
+
}
|
|
2296
|
+
|
|
2297
|
+
export interface DeploymentDomainRedirectWwwOutput {
|
|
2298
|
+
id: string
|
|
2299
|
+
kind: ("auto" | "custom")
|
|
2300
|
+
hostname: string
|
|
2301
|
+
createdAt: string
|
|
2302
|
+
tlsStatus: ("none" | "pending" | "issuing" | "active" | "failed")
|
|
2303
|
+
updatedAt: string
|
|
2304
|
+
lastProbeAt: (string | null)
|
|
2305
|
+
redirectWww: boolean
|
|
2306
|
+
wwwTlsStatus: ("none" | "pending" | "issuing" | "active" | "failed")
|
|
2307
|
+
environmentId: string
|
|
2308
|
+
routingStatus: ("provisioning" | "propagating" | "active" | "failed")
|
|
2309
|
+
lastProbeError: (string | null)
|
|
2310
|
+
dnsInstructions: ({
|
|
2311
|
+
txt: {
|
|
2312
|
+
name: string
|
|
2313
|
+
value: string
|
|
2314
|
+
}
|
|
2315
|
+
routing: DeploymentDomainRedirectWwwOutputItems[]
|
|
2316
|
+
acmeChallenge?: DeploymentDomainRedirectWwwOutputItems
|
|
2317
|
+
routingUnavailable?: boolean
|
|
2318
|
+
} | null)
|
|
2319
|
+
routingRecordType: ("A" | "CNAME")
|
|
2320
|
+
verificationToken: (string | null)
|
|
2321
|
+
verificationStatus: ("pending_dns" | "verified" | "dns_failed")
|
|
2322
|
+
lastVerificationError: (({
|
|
2323
|
+
code: (string | null)
|
|
2324
|
+
reason: "transient"
|
|
2325
|
+
checkedAt: string
|
|
2326
|
+
} | {
|
|
2327
|
+
txt?: {
|
|
2328
|
+
got: string[]
|
|
2329
|
+
want: string
|
|
2330
|
+
}
|
|
2331
|
+
host?: {
|
|
2332
|
+
got: string[]
|
|
2333
|
+
want: string[]
|
|
2334
|
+
}
|
|
2335
|
+
reason: "mismatch"
|
|
2336
|
+
checkedAt: string
|
|
2337
|
+
}) | null)
|
|
2338
|
+
lastVerificationCheckAt: (string | null)
|
|
2339
|
+
tlsCertificateExpiresAt: (string | null)
|
|
2340
|
+
}
|
|
2341
|
+
export interface DeploymentDomainRedirectWwwOutputItems {
|
|
2342
|
+
name: string
|
|
2343
|
+
value: string
|
|
2344
|
+
recordType: ("A" | "CNAME")
|
|
2345
|
+
}
|
|
2346
|
+
|
|
2347
|
+
export interface DeploymentDomainRemoveInput {
|
|
2348
|
+
id: string
|
|
2349
|
+
}
|
|
2350
|
+
|
|
2351
|
+
export interface DeploymentDomainRemoveOutput {
|
|
2352
|
+
[k: string]: unknown
|
|
2353
|
+
}
|
|
2354
|
+
|
|
2355
|
+
export interface DeploymentDomainRoutesAddInput {
|
|
2356
|
+
domainId: string
|
|
2357
|
+
priority?: number
|
|
2358
|
+
isDefault?: boolean
|
|
2359
|
+
serviceId: string
|
|
2360
|
+
pathPrefix: string
|
|
2361
|
+
}
|
|
2362
|
+
|
|
2363
|
+
export interface DeploymentDomainRoutesAddOutput {
|
|
2364
|
+
id: string
|
|
2365
|
+
domainId: string
|
|
2366
|
+
priority: number
|
|
2367
|
+
createdAt: string
|
|
2368
|
+
isDefault: boolean
|
|
2369
|
+
serviceId: string
|
|
2370
|
+
updatedAt: string
|
|
2371
|
+
pathPrefix: string
|
|
2372
|
+
}
|
|
2373
|
+
|
|
2374
|
+
export interface DeploymentDomainRoutesListInput {
|
|
2375
|
+
domainId: string
|
|
2376
|
+
}
|
|
2377
|
+
|
|
2378
|
+
export type DeploymentDomainRoutesListOutput = {
|
|
2379
|
+
id: string
|
|
2380
|
+
domainId: string
|
|
2381
|
+
priority: number
|
|
2382
|
+
createdAt: string
|
|
2383
|
+
isDefault: boolean
|
|
2384
|
+
serviceId: string
|
|
2385
|
+
updatedAt: string
|
|
2386
|
+
pathPrefix: string
|
|
2387
|
+
}[]
|
|
2388
|
+
|
|
2389
|
+
export interface DeploymentDomainRoutesRemoveInput {
|
|
2390
|
+
routeId: string
|
|
2391
|
+
domainId: string
|
|
2392
|
+
}
|
|
2393
|
+
|
|
2394
|
+
export interface DeploymentDomainRoutesRemoveOutput {
|
|
2395
|
+
[k: string]: unknown
|
|
2396
|
+
}
|
|
2397
|
+
|
|
2398
|
+
export interface DeploymentDomainRoutesUpdateInput {
|
|
2399
|
+
routeId: string
|
|
2400
|
+
domainId: string
|
|
2401
|
+
priority?: number
|
|
2402
|
+
serviceId?: string
|
|
2403
|
+
pathPrefix?: string
|
|
2404
|
+
}
|
|
2405
|
+
|
|
2406
|
+
export interface DeploymentDomainRoutesUpdateOutput {
|
|
2407
|
+
id: string
|
|
2408
|
+
domainId: string
|
|
2409
|
+
priority: number
|
|
2410
|
+
createdAt: string
|
|
2411
|
+
isDefault: boolean
|
|
2412
|
+
serviceId: string
|
|
2413
|
+
updatedAt: string
|
|
2414
|
+
pathPrefix: string
|
|
2415
|
+
}
|
|
2416
|
+
|
|
2417
|
+
export interface DeploymentDomainVerifyInput {
|
|
2418
|
+
id: string
|
|
2419
|
+
}
|
|
2420
|
+
|
|
2421
|
+
export interface DeploymentDomainVerifyOutput {
|
|
2422
|
+
id: string
|
|
2423
|
+
kind: ("auto" | "custom")
|
|
2424
|
+
hostname: string
|
|
2425
|
+
createdAt: string
|
|
2426
|
+
tlsStatus: ("none" | "pending" | "issuing" | "active" | "failed")
|
|
2427
|
+
updatedAt: string
|
|
2428
|
+
lastProbeAt: (string | null)
|
|
2429
|
+
redirectWww: boolean
|
|
2430
|
+
wwwTlsStatus: ("none" | "pending" | "issuing" | "active" | "failed")
|
|
2431
|
+
environmentId: string
|
|
2432
|
+
routingStatus: ("provisioning" | "propagating" | "active" | "failed")
|
|
2433
|
+
lastProbeError: (string | null)
|
|
2434
|
+
dnsInstructions: ({
|
|
2435
|
+
txt: {
|
|
2436
|
+
name: string
|
|
2437
|
+
value: string
|
|
2438
|
+
}
|
|
2439
|
+
routing: DeploymentDomainVerifyOutputItems[]
|
|
2440
|
+
acmeChallenge?: DeploymentDomainVerifyOutputItems
|
|
2441
|
+
routingUnavailable?: boolean
|
|
2442
|
+
} | null)
|
|
2443
|
+
routingRecordType: ("A" | "CNAME")
|
|
2444
|
+
verificationToken: (string | null)
|
|
2445
|
+
verificationStatus: ("pending_dns" | "verified" | "dns_failed")
|
|
2446
|
+
lastVerificationError: (({
|
|
2447
|
+
code: (string | null)
|
|
2448
|
+
reason: "transient"
|
|
2449
|
+
checkedAt: string
|
|
2450
|
+
} | {
|
|
2451
|
+
txt?: {
|
|
2452
|
+
got: string[]
|
|
2453
|
+
want: string
|
|
2454
|
+
}
|
|
2455
|
+
host?: {
|
|
2456
|
+
got: string[]
|
|
2457
|
+
want: string[]
|
|
2458
|
+
}
|
|
2459
|
+
reason: "mismatch"
|
|
2460
|
+
checkedAt: string
|
|
2461
|
+
}) | null)
|
|
2462
|
+
lastVerificationCheckAt: (string | null)
|
|
2463
|
+
tlsCertificateExpiresAt: (string | null)
|
|
2464
|
+
}
|
|
2465
|
+
export interface DeploymentDomainVerifyOutputItems {
|
|
2466
|
+
name: string
|
|
2467
|
+
value: string
|
|
2468
|
+
recordType: ("A" | "CNAME")
|
|
2469
|
+
}
|
|
2470
|
+
|
|
2471
|
+
export interface DeploymentEnvironmentCreateInput {
|
|
2472
|
+
name: string
|
|
2473
|
+
slug?: string
|
|
2474
|
+
}
|
|
2475
|
+
|
|
2476
|
+
export interface DeploymentEnvironmentCreateOutput {
|
|
2477
|
+
id: string
|
|
2478
|
+
name: string
|
|
2479
|
+
slug: string
|
|
2480
|
+
type: ("persistent" | "pr-preview")
|
|
2481
|
+
status: ("provisioning" | "ready" | "provisioning_failed" | "deprovisioning" | "deprovisioning_failed")
|
|
2482
|
+
prBranch: (string | null)
|
|
2483
|
+
prNumber: (number | null)
|
|
2484
|
+
createdAt: string
|
|
2485
|
+
expiresAt: (string | null)
|
|
2486
|
+
updatedAt: string
|
|
2487
|
+
isProduction: boolean
|
|
2488
|
+
lastErrorMessage: (string | null)
|
|
2489
|
+
baseEnvironmentId: (string | null)
|
|
2490
|
+
}
|
|
2491
|
+
|
|
2492
|
+
export interface DeploymentEnvironmentDeleteInput {
|
|
2493
|
+
id: string
|
|
2494
|
+
}
|
|
2495
|
+
|
|
2496
|
+
export interface DeploymentEnvironmentDeleteOutput {
|
|
2497
|
+
[k: string]: unknown
|
|
2498
|
+
}
|
|
2499
|
+
|
|
2500
|
+
export interface DeploymentEnvironmentForkInput {
|
|
2501
|
+
name: string
|
|
2502
|
+
slug?: string
|
|
2503
|
+
baseEnvironmentId: string
|
|
2504
|
+
}
|
|
2505
|
+
|
|
2506
|
+
export interface DeploymentEnvironmentForkOutput {
|
|
2507
|
+
id: string
|
|
2508
|
+
name: string
|
|
2509
|
+
slug: string
|
|
2510
|
+
type: ("persistent" | "pr-preview")
|
|
2511
|
+
status: ("provisioning" | "ready" | "provisioning_failed" | "deprovisioning" | "deprovisioning_failed")
|
|
2512
|
+
prBranch: (string | null)
|
|
2513
|
+
prNumber: (number | null)
|
|
2514
|
+
createdAt: string
|
|
2515
|
+
expiresAt: (string | null)
|
|
2516
|
+
updatedAt: string
|
|
2517
|
+
isProduction: boolean
|
|
2518
|
+
lastErrorMessage: (string | null)
|
|
2519
|
+
baseEnvironmentId: (string | null)
|
|
2520
|
+
}
|
|
2521
|
+
|
|
2522
|
+
export interface DeploymentEnvironmentGetInput {
|
|
2523
|
+
id: string
|
|
2524
|
+
}
|
|
2525
|
+
|
|
2526
|
+
export interface DeploymentEnvironmentGetOutput {
|
|
2527
|
+
id: string
|
|
2528
|
+
name: string
|
|
2529
|
+
slug: string
|
|
2530
|
+
type: ("persistent" | "pr-preview")
|
|
2531
|
+
status: ("provisioning" | "ready" | "provisioning_failed" | "deprovisioning" | "deprovisioning_failed")
|
|
2532
|
+
prBranch: (string | null)
|
|
2533
|
+
prNumber: (number | null)
|
|
2534
|
+
createdAt: string
|
|
2535
|
+
expiresAt: (string | null)
|
|
2536
|
+
updatedAt: string
|
|
2537
|
+
isProduction: boolean
|
|
2538
|
+
lastErrorMessage: (string | null)
|
|
2539
|
+
baseEnvironmentId: (string | null)
|
|
2540
|
+
}
|
|
2541
|
+
|
|
2542
|
+
export interface DeploymentEnvironmentListInput {
|
|
2543
|
+
type?: ("persistent" | "pr-preview")
|
|
2544
|
+
}
|
|
2545
|
+
|
|
2546
|
+
export type DeploymentEnvironmentListOutput = {
|
|
2547
|
+
id: string
|
|
2548
|
+
name: string
|
|
2549
|
+
slug: string
|
|
2550
|
+
type: ("persistent" | "pr-preview")
|
|
2551
|
+
status: ("provisioning" | "ready" | "provisioning_failed" | "deprovisioning" | "deprovisioning_failed")
|
|
2552
|
+
prBranch: (string | null)
|
|
2553
|
+
prNumber: (number | null)
|
|
2554
|
+
createdAt: string
|
|
2555
|
+
expiresAt: (string | null)
|
|
2556
|
+
updatedAt: string
|
|
2557
|
+
isProduction: boolean
|
|
2558
|
+
lastErrorMessage: (string | null)
|
|
2559
|
+
baseEnvironmentId: (string | null)
|
|
2560
|
+
}[]
|
|
2561
|
+
|
|
2562
|
+
export interface DeploymentEnvironmentReconcileInput {
|
|
2563
|
+
id: string
|
|
2564
|
+
force?: boolean
|
|
2565
|
+
}
|
|
2566
|
+
|
|
2567
|
+
export interface DeploymentEnvironmentReconcileOutput {
|
|
2568
|
+
id: string
|
|
2569
|
+
name: string
|
|
2570
|
+
slug: string
|
|
2571
|
+
type: ("persistent" | "pr-preview")
|
|
2572
|
+
status: ("provisioning" | "ready" | "provisioning_failed" | "deprovisioning" | "deprovisioning_failed")
|
|
2573
|
+
prBranch: (string | null)
|
|
2574
|
+
prNumber: (number | null)
|
|
2575
|
+
createdAt: string
|
|
2576
|
+
expiresAt: (string | null)
|
|
2577
|
+
updatedAt: string
|
|
2578
|
+
isProduction: boolean
|
|
2579
|
+
lastErrorMessage: (string | null)
|
|
2580
|
+
baseEnvironmentId: (string | null)
|
|
2581
|
+
}
|
|
2582
|
+
|
|
2583
|
+
export interface DeploymentEnvironmentUpdateInput {
|
|
2584
|
+
id: string
|
|
2585
|
+
name?: string
|
|
2586
|
+
}
|
|
2587
|
+
|
|
2588
|
+
export interface DeploymentEnvironmentUpdateOutput {
|
|
2589
|
+
id: string
|
|
2590
|
+
name: string
|
|
2591
|
+
slug: string
|
|
2592
|
+
type: ("persistent" | "pr-preview")
|
|
2593
|
+
status: ("provisioning" | "ready" | "provisioning_failed" | "deprovisioning" | "deprovisioning_failed")
|
|
2594
|
+
prBranch: (string | null)
|
|
2595
|
+
prNumber: (number | null)
|
|
2596
|
+
createdAt: string
|
|
2597
|
+
expiresAt: (string | null)
|
|
2598
|
+
updatedAt: string
|
|
2599
|
+
isProduction: boolean
|
|
2600
|
+
lastErrorMessage: (string | null)
|
|
2601
|
+
baseEnvironmentId: (string | null)
|
|
2602
|
+
}
|
|
2603
|
+
|
|
2604
|
+
export interface DeploymentEventsListByEnvironmentInput {
|
|
2605
|
+
type?: ("deployment.queued" | "deployment.build.started" | "deployment.build.succeeded" | "deployment.build.failed" | "deployment.deploying" | "deployment.variable.ignored" | "deployment.healthcheck.passed" | "deployment.healthcheck.failed" | "deployment.healthy" | "deployment.failed" | "deployment.replaced" | "deployment.release.started" | "deployment.release.log" | "deployment.release.succeeded" | "deployment.release.failed" | "replica.restarted" | "service.scaled" | "service.restarted" | "service.restart-failed" | "domain.verified" | "domain.tls.issued" | "domain.tls.failed" | "domain.www-tls.issued" | "domain.www-tls.failed" | "domain.routing.active" | "domain.routing.failed" | "domain.removed" | "domain.governance.mirror-failed")
|
|
2606
|
+
limit?: number
|
|
2607
|
+
since?: string
|
|
2608
|
+
until?: string
|
|
2609
|
+
environmentId: string
|
|
2610
|
+
}
|
|
2611
|
+
|
|
2612
|
+
export type DeploymentEventsListByEnvironmentOutput = {
|
|
2613
|
+
id: string
|
|
2614
|
+
type: ("deployment.queued" | "deployment.build.started" | "deployment.build.succeeded" | "deployment.build.failed" | "deployment.deploying" | "deployment.variable.ignored" | "deployment.healthcheck.passed" | "deployment.healthcheck.failed" | "deployment.healthy" | "deployment.failed" | "deployment.replaced" | "deployment.release.started" | "deployment.release.log" | "deployment.release.succeeded" | "deployment.release.failed" | "replica.restarted" | "service.scaled" | "service.restarted" | "service.restart-failed" | "domain.verified" | "domain.tls.issued" | "domain.tls.failed" | "domain.www-tls.issued" | "domain.www-tls.failed" | "domain.routing.active" | "domain.routing.failed" | "domain.removed" | "domain.governance.mirror-failed")
|
|
2615
|
+
payload: {
|
|
2616
|
+
[k: string]: unknown
|
|
2617
|
+
}
|
|
2618
|
+
domainId: (string | null)
|
|
2619
|
+
createdAt: string
|
|
2620
|
+
productId: string
|
|
2621
|
+
serviceId: (string | null)
|
|
2622
|
+
deploymentId: (string | null)
|
|
2623
|
+
environmentId: (string | null)
|
|
2624
|
+
}[]
|
|
2625
|
+
|
|
2626
|
+
export interface DeploymentEventsListByServiceInput {
|
|
2627
|
+
type?: ("deployment.queued" | "deployment.build.started" | "deployment.build.succeeded" | "deployment.build.failed" | "deployment.deploying" | "deployment.variable.ignored" | "deployment.healthcheck.passed" | "deployment.healthcheck.failed" | "deployment.healthy" | "deployment.failed" | "deployment.replaced" | "deployment.release.started" | "deployment.release.log" | "deployment.release.succeeded" | "deployment.release.failed" | "replica.restarted" | "service.scaled" | "service.restarted" | "service.restart-failed" | "domain.verified" | "domain.tls.issued" | "domain.tls.failed" | "domain.www-tls.issued" | "domain.www-tls.failed" | "domain.routing.active" | "domain.routing.failed" | "domain.removed" | "domain.governance.mirror-failed")
|
|
2628
|
+
limit?: number
|
|
2629
|
+
since?: string
|
|
2630
|
+
until?: string
|
|
2631
|
+
serviceId: string
|
|
2632
|
+
deploymentId?: string
|
|
2633
|
+
}
|
|
2634
|
+
|
|
2635
|
+
export type DeploymentEventsListByServiceOutput = {
|
|
2636
|
+
id: string
|
|
2637
|
+
type: ("deployment.queued" | "deployment.build.started" | "deployment.build.succeeded" | "deployment.build.failed" | "deployment.deploying" | "deployment.variable.ignored" | "deployment.healthcheck.passed" | "deployment.healthcheck.failed" | "deployment.healthy" | "deployment.failed" | "deployment.replaced" | "deployment.release.started" | "deployment.release.log" | "deployment.release.succeeded" | "deployment.release.failed" | "replica.restarted" | "service.scaled" | "service.restarted" | "service.restart-failed" | "domain.verified" | "domain.tls.issued" | "domain.tls.failed" | "domain.www-tls.issued" | "domain.www-tls.failed" | "domain.routing.active" | "domain.routing.failed" | "domain.removed" | "domain.governance.mirror-failed")
|
|
2638
|
+
payload: {
|
|
2639
|
+
[k: string]: unknown
|
|
2640
|
+
}
|
|
2641
|
+
domainId: (string | null)
|
|
2642
|
+
createdAt: string
|
|
2643
|
+
productId: string
|
|
2644
|
+
serviceId: (string | null)
|
|
2645
|
+
deploymentId: (string | null)
|
|
2646
|
+
environmentId: (string | null)
|
|
2647
|
+
}[]
|
|
2648
|
+
|
|
2649
|
+
export interface DeploymentManagedServiceBackupInput {
|
|
2650
|
+
id: string
|
|
2651
|
+
}
|
|
2652
|
+
|
|
2653
|
+
export interface DeploymentManagedServiceBackupOutput {
|
|
2654
|
+
id: string
|
|
2655
|
+
name: string
|
|
2656
|
+
slug: string
|
|
2657
|
+
engine: ("postgres" | "redis" | "mysql" | "mongodb")
|
|
2658
|
+
status: string
|
|
2659
|
+
version: string
|
|
2660
|
+
createdAt: string
|
|
2661
|
+
productId: string
|
|
2662
|
+
updatedAt: string
|
|
2663
|
+
storageGiB: number
|
|
2664
|
+
backupPolicy: {
|
|
2665
|
+
cron: string
|
|
2666
|
+
timezone: string
|
|
2667
|
+
retentionDays: number
|
|
2668
|
+
scheduleSummary: string
|
|
2669
|
+
manualBackupsExpire: boolean
|
|
2670
|
+
}
|
|
2671
|
+
databaseName: (string | null)
|
|
2672
|
+
lastBackupAt: (string | null)
|
|
2673
|
+
environmentId: string
|
|
2674
|
+
lastErrorMessage: (string | null)
|
|
2675
|
+
}
|
|
2676
|
+
|
|
2677
|
+
export interface DeploymentManagedServiceBackupListInput {
|
|
2678
|
+
id: string
|
|
2679
|
+
}
|
|
2680
|
+
|
|
2681
|
+
export type DeploymentManagedServiceBackupListOutput = {
|
|
2682
|
+
name: string
|
|
2683
|
+
pvcName: string
|
|
2684
|
+
createdAt: string
|
|
2685
|
+
readyToUse: boolean
|
|
2686
|
+
restoreSize: (string | null)
|
|
2687
|
+
}[]
|
|
2688
|
+
|
|
2689
|
+
export interface DeploymentManagedServiceConnectInfoInput {
|
|
2690
|
+
id: string
|
|
2691
|
+
}
|
|
2692
|
+
|
|
2693
|
+
export interface DeploymentManagedServiceConnectInfoOutput {
|
|
2694
|
+
id: string
|
|
2695
|
+
slug: string
|
|
2696
|
+
vars: {
|
|
2697
|
+
key: string
|
|
2698
|
+
isSecret: boolean
|
|
2699
|
+
refSyntax: string
|
|
2700
|
+
}[]
|
|
2701
|
+
engine: ("postgres" | "redis" | "mysql" | "mongodb")
|
|
2702
|
+
}
|
|
2703
|
+
|
|
2704
|
+
export interface DeploymentManagedServiceDeleteInput {
|
|
2705
|
+
id: string
|
|
2706
|
+
}
|
|
2707
|
+
|
|
2708
|
+
export interface DeploymentManagedServiceDeleteOutput {
|
|
2709
|
+
id: string
|
|
2710
|
+
name: string
|
|
2711
|
+
slug: string
|
|
2712
|
+
engine: ("postgres" | "redis" | "mysql" | "mongodb")
|
|
2713
|
+
status: string
|
|
2714
|
+
version: string
|
|
2715
|
+
createdAt: string
|
|
2716
|
+
productId: string
|
|
2717
|
+
updatedAt: string
|
|
2718
|
+
storageGiB: number
|
|
2719
|
+
backupPolicy: {
|
|
2720
|
+
cron: string
|
|
2721
|
+
timezone: string
|
|
2722
|
+
retentionDays: number
|
|
2723
|
+
scheduleSummary: string
|
|
2724
|
+
manualBackupsExpire: boolean
|
|
2725
|
+
}
|
|
2726
|
+
databaseName: (string | null)
|
|
2727
|
+
lastBackupAt: (string | null)
|
|
2728
|
+
environmentId: string
|
|
2729
|
+
lastErrorMessage: (string | null)
|
|
2730
|
+
}
|
|
2731
|
+
|
|
2732
|
+
export interface DeploymentManagedServiceGetInput {
|
|
2733
|
+
id: string
|
|
2734
|
+
}
|
|
2735
|
+
|
|
2736
|
+
export interface DeploymentManagedServiceGetOutput {
|
|
2737
|
+
id: string
|
|
2738
|
+
name: string
|
|
2739
|
+
slug: string
|
|
2740
|
+
engine: ("postgres" | "redis" | "mysql" | "mongodb")
|
|
2741
|
+
status: string
|
|
2742
|
+
version: string
|
|
2743
|
+
createdAt: string
|
|
2744
|
+
productId: string
|
|
2745
|
+
updatedAt: string
|
|
2746
|
+
storageGiB: number
|
|
2747
|
+
backupPolicy: {
|
|
2748
|
+
cron: string
|
|
2749
|
+
timezone: string
|
|
2750
|
+
retentionDays: number
|
|
2751
|
+
scheduleSummary: string
|
|
2752
|
+
manualBackupsExpire: boolean
|
|
2753
|
+
}
|
|
2754
|
+
databaseName: (string | null)
|
|
2755
|
+
lastBackupAt: (string | null)
|
|
2756
|
+
environmentId: string
|
|
2757
|
+
lastErrorMessage: (string | null)
|
|
2758
|
+
}
|
|
2759
|
+
|
|
2760
|
+
export interface DeploymentManagedServiceListInput {
|
|
2761
|
+
environmentId: string
|
|
2762
|
+
}
|
|
2763
|
+
|
|
2764
|
+
export type DeploymentManagedServiceListOutput = {
|
|
2765
|
+
id: string
|
|
2766
|
+
name: string
|
|
2767
|
+
slug: string
|
|
2768
|
+
engine: ("postgres" | "redis" | "mysql" | "mongodb")
|
|
2769
|
+
status: string
|
|
2770
|
+
version: string
|
|
2771
|
+
createdAt: string
|
|
2772
|
+
productId: string
|
|
2773
|
+
updatedAt: string
|
|
2774
|
+
storageGiB: number
|
|
2775
|
+
backupPolicy: {
|
|
2776
|
+
cron: string
|
|
2777
|
+
timezone: string
|
|
2778
|
+
retentionDays: number
|
|
2779
|
+
scheduleSummary: string
|
|
2780
|
+
manualBackupsExpire: boolean
|
|
2781
|
+
}
|
|
2782
|
+
databaseName: (string | null)
|
|
2783
|
+
lastBackupAt: (string | null)
|
|
2784
|
+
environmentId: string
|
|
2785
|
+
lastErrorMessage: (string | null)
|
|
2786
|
+
}[]
|
|
2787
|
+
|
|
2788
|
+
export interface DeploymentManagedServiceLogsInput {
|
|
2789
|
+
id: string
|
|
2790
|
+
tail?: number
|
|
2791
|
+
}
|
|
2792
|
+
|
|
2793
|
+
export interface DeploymentManagedServiceLogsOutput {
|
|
2794
|
+
lines: string[]
|
|
2795
|
+
}
|
|
2796
|
+
|
|
2797
|
+
export interface DeploymentManagedServiceProvisionInput {
|
|
2798
|
+
name: string
|
|
2799
|
+
slug?: string
|
|
2800
|
+
engine: ("postgres" | "redis" | "mysql" | "mongodb")
|
|
2801
|
+
version?: string
|
|
2802
|
+
storageGiB?: number
|
|
2803
|
+
databaseName?: string
|
|
2804
|
+
environmentId: string
|
|
2805
|
+
}
|
|
2806
|
+
|
|
2807
|
+
export interface DeploymentManagedServiceProvisionOutput {
|
|
2808
|
+
id: string
|
|
2809
|
+
name: string
|
|
2810
|
+
slug: string
|
|
2811
|
+
engine: ("postgres" | "redis" | "mysql" | "mongodb")
|
|
2812
|
+
status: string
|
|
2813
|
+
version: string
|
|
2814
|
+
createdAt: string
|
|
2815
|
+
productId: string
|
|
2816
|
+
updatedAt: string
|
|
2817
|
+
storageGiB: number
|
|
2818
|
+
backupPolicy: {
|
|
2819
|
+
cron: string
|
|
2820
|
+
timezone: string
|
|
2821
|
+
retentionDays: number
|
|
2822
|
+
scheduleSummary: string
|
|
2823
|
+
manualBackupsExpire: boolean
|
|
2824
|
+
}
|
|
2825
|
+
databaseName: (string | null)
|
|
2826
|
+
lastBackupAt: (string | null)
|
|
2827
|
+
environmentId: string
|
|
2828
|
+
lastErrorMessage: (string | null)
|
|
2829
|
+
}
|
|
2830
|
+
|
|
2831
|
+
export interface DeploymentManagedServiceReconcileInput {
|
|
2832
|
+
id: string
|
|
2833
|
+
}
|
|
2834
|
+
|
|
2835
|
+
export interface DeploymentManagedServiceReconcileOutput {
|
|
2836
|
+
id: string
|
|
2837
|
+
name: string
|
|
2838
|
+
slug: string
|
|
2839
|
+
engine: ("postgres" | "redis" | "mysql" | "mongodb")
|
|
2840
|
+
status: string
|
|
2841
|
+
version: string
|
|
2842
|
+
createdAt: string
|
|
2843
|
+
productId: string
|
|
2844
|
+
updatedAt: string
|
|
2845
|
+
storageGiB: number
|
|
2846
|
+
backupPolicy: {
|
|
2847
|
+
cron: string
|
|
2848
|
+
timezone: string
|
|
2849
|
+
retentionDays: number
|
|
2850
|
+
scheduleSummary: string
|
|
2851
|
+
manualBackupsExpire: boolean
|
|
2852
|
+
}
|
|
2853
|
+
databaseName: (string | null)
|
|
2854
|
+
lastBackupAt: (string | null)
|
|
2855
|
+
environmentId: string
|
|
2856
|
+
lastErrorMessage: (string | null)
|
|
2857
|
+
}
|
|
2858
|
+
|
|
2859
|
+
export interface DeploymentManagedServiceResizeInput {
|
|
2860
|
+
id: string
|
|
2861
|
+
storageGiB: number
|
|
2862
|
+
}
|
|
2863
|
+
|
|
2864
|
+
export interface DeploymentManagedServiceResizeOutput {
|
|
2865
|
+
id: string
|
|
2866
|
+
name: string
|
|
2867
|
+
slug: string
|
|
2868
|
+
engine: ("postgres" | "redis" | "mysql" | "mongodb")
|
|
2869
|
+
status: string
|
|
2870
|
+
version: string
|
|
2871
|
+
createdAt: string
|
|
2872
|
+
productId: string
|
|
2873
|
+
updatedAt: string
|
|
2874
|
+
storageGiB: number
|
|
2875
|
+
backupPolicy: {
|
|
2876
|
+
cron: string
|
|
2877
|
+
timezone: string
|
|
2878
|
+
retentionDays: number
|
|
2879
|
+
scheduleSummary: string
|
|
2880
|
+
manualBackupsExpire: boolean
|
|
2881
|
+
}
|
|
2882
|
+
databaseName: (string | null)
|
|
2883
|
+
lastBackupAt: (string | null)
|
|
2884
|
+
environmentId: string
|
|
2885
|
+
lastErrorMessage: (string | null)
|
|
2886
|
+
}
|
|
2887
|
+
|
|
2888
|
+
export interface DeploymentManagedServiceRestoreInput {
|
|
2889
|
+
id: string
|
|
2890
|
+
snapshotName: string
|
|
2891
|
+
}
|
|
2892
|
+
|
|
2893
|
+
export interface DeploymentManagedServiceRestoreOutput {
|
|
2894
|
+
id: string
|
|
2895
|
+
name: string
|
|
2896
|
+
slug: string
|
|
2897
|
+
engine: ("postgres" | "redis" | "mysql" | "mongodb")
|
|
2898
|
+
status: string
|
|
2899
|
+
version: string
|
|
2900
|
+
createdAt: string
|
|
2901
|
+
productId: string
|
|
2902
|
+
updatedAt: string
|
|
2903
|
+
storageGiB: number
|
|
2904
|
+
backupPolicy: {
|
|
2905
|
+
cron: string
|
|
2906
|
+
timezone: string
|
|
2907
|
+
retentionDays: number
|
|
2908
|
+
scheduleSummary: string
|
|
2909
|
+
manualBackupsExpire: boolean
|
|
2910
|
+
}
|
|
2911
|
+
databaseName: (string | null)
|
|
2912
|
+
lastBackupAt: (string | null)
|
|
2913
|
+
environmentId: string
|
|
2914
|
+
lastErrorMessage: (string | null)
|
|
2915
|
+
}
|
|
2916
|
+
|
|
2917
|
+
export interface DeploymentManagedServiceStartInput {
|
|
2918
|
+
id: string
|
|
2919
|
+
}
|
|
2920
|
+
|
|
2921
|
+
export interface DeploymentManagedServiceStartOutput {
|
|
2922
|
+
id: string
|
|
2923
|
+
name: string
|
|
2924
|
+
slug: string
|
|
2925
|
+
engine: ("postgres" | "redis" | "mysql" | "mongodb")
|
|
2926
|
+
status: string
|
|
2927
|
+
version: string
|
|
2928
|
+
createdAt: string
|
|
2929
|
+
productId: string
|
|
2930
|
+
updatedAt: string
|
|
2931
|
+
storageGiB: number
|
|
2932
|
+
backupPolicy: {
|
|
2933
|
+
cron: string
|
|
2934
|
+
timezone: string
|
|
2935
|
+
retentionDays: number
|
|
2936
|
+
scheduleSummary: string
|
|
2937
|
+
manualBackupsExpire: boolean
|
|
2938
|
+
}
|
|
2939
|
+
databaseName: (string | null)
|
|
2940
|
+
lastBackupAt: (string | null)
|
|
2941
|
+
environmentId: string
|
|
2942
|
+
lastErrorMessage: (string | null)
|
|
2943
|
+
}
|
|
2944
|
+
|
|
2945
|
+
export interface DeploymentManagedServiceStopInput {
|
|
2946
|
+
id: string
|
|
2947
|
+
}
|
|
2948
|
+
|
|
2949
|
+
export interface DeploymentManagedServiceStopOutput {
|
|
2950
|
+
id: string
|
|
2951
|
+
name: string
|
|
2952
|
+
slug: string
|
|
2953
|
+
engine: ("postgres" | "redis" | "mysql" | "mongodb")
|
|
2954
|
+
status: string
|
|
2955
|
+
version: string
|
|
2956
|
+
createdAt: string
|
|
2957
|
+
productId: string
|
|
2958
|
+
updatedAt: string
|
|
2959
|
+
storageGiB: number
|
|
2960
|
+
backupPolicy: {
|
|
2961
|
+
cron: string
|
|
2962
|
+
timezone: string
|
|
2963
|
+
retentionDays: number
|
|
2964
|
+
scheduleSummary: string
|
|
2965
|
+
manualBackupsExpire: boolean
|
|
2966
|
+
}
|
|
2967
|
+
databaseName: (string | null)
|
|
2968
|
+
lastBackupAt: (string | null)
|
|
2969
|
+
environmentId: string
|
|
2970
|
+
lastErrorMessage: (string | null)
|
|
2971
|
+
}
|
|
2972
|
+
|
|
2973
|
+
export interface DeploymentManagedServiceTypesInput {
|
|
2974
|
+
|
|
2975
|
+
}
|
|
2976
|
+
|
|
2977
|
+
export interface DeploymentManagedServiceTypesOutput {
|
|
2978
|
+
engines: {
|
|
2979
|
+
engine: ("postgres" | "redis" | "mysql" | "mongodb")
|
|
2980
|
+
versions: string[]
|
|
2981
|
+
displayName: string
|
|
2982
|
+
defaultVersion: string
|
|
2983
|
+
managedVarKeys: string[]
|
|
2984
|
+
}[]
|
|
2985
|
+
}
|
|
2986
|
+
|
|
2987
|
+
export interface DeploymentMetricsGetInput {
|
|
2988
|
+
window?: ("15m" | "1h" | "6h" | "24h" | "7d")
|
|
2989
|
+
targetId: string
|
|
2990
|
+
targetKind: ("service" | "managed-service")
|
|
2991
|
+
}
|
|
2992
|
+
|
|
2993
|
+
export interface DeploymentMetricsGetOutput {
|
|
2994
|
+
series: {
|
|
2995
|
+
unit: ("cores" | "bytes" | "bytes_per_s" | "requests_per_s" | "milliseconds" | "percent")
|
|
2996
|
+
metric: ("cpu" | "memory" | "net_in" | "net_out" | "disk" | "rps" | "p50" | "p95" | "p99" | "error_rate")
|
|
2997
|
+
points: {
|
|
2998
|
+
t: number
|
|
2999
|
+
v: number
|
|
3000
|
+
}[]
|
|
3001
|
+
}[]
|
|
3002
|
+
window: ("15m" | "1h" | "6h" | "24h" | "7d")
|
|
3003
|
+
capacity: {
|
|
3004
|
+
cpuCores: (number | null)
|
|
3005
|
+
memoryBytes: (number | null)
|
|
3006
|
+
}
|
|
3007
|
+
targetId: string
|
|
3008
|
+
targetKind: ("service" | "managed-service")
|
|
3009
|
+
stepSeconds: number
|
|
3010
|
+
}
|
|
3011
|
+
|
|
3012
|
+
export interface DeploymentPreviewEnvironmentCreateInput {
|
|
3013
|
+
prBranch?: string
|
|
3014
|
+
prNumber: number
|
|
3015
|
+
baseEnvironmentId: string
|
|
3016
|
+
}
|
|
3017
|
+
|
|
3018
|
+
export interface DeploymentPreviewEnvironmentCreateOutput {
|
|
3019
|
+
id: string
|
|
3020
|
+
name: string
|
|
3021
|
+
slug: string
|
|
3022
|
+
type: ("persistent" | "pr-preview")
|
|
3023
|
+
status: ("provisioning" | "ready" | "provisioning_failed" | "deprovisioning" | "deprovisioning_failed")
|
|
3024
|
+
prBranch: (string | null)
|
|
3025
|
+
prNumber: (number | null)
|
|
3026
|
+
createdAt: string
|
|
3027
|
+
expiresAt: (string | null)
|
|
3028
|
+
updatedAt: string
|
|
3029
|
+
isProduction: boolean
|
|
3030
|
+
lastErrorMessage: (string | null)
|
|
3031
|
+
baseEnvironmentId: (string | null)
|
|
3032
|
+
}
|
|
3033
|
+
|
|
3034
|
+
export interface DeploymentPreviewEnvironmentDeleteInput {
|
|
3035
|
+
id: string
|
|
3036
|
+
}
|
|
3037
|
+
|
|
3038
|
+
export interface DeploymentPreviewEnvironmentDeleteOutput {
|
|
3039
|
+
[k: string]: unknown
|
|
3040
|
+
}
|
|
3041
|
+
|
|
3042
|
+
export interface DeploymentPreviewEnvironmentListInput {
|
|
3043
|
+
|
|
3044
|
+
}
|
|
3045
|
+
|
|
3046
|
+
export type DeploymentPreviewEnvironmentListOutput = {
|
|
3047
|
+
id: string
|
|
3048
|
+
name: string
|
|
3049
|
+
slug: string
|
|
3050
|
+
type: ("persistent" | "pr-preview")
|
|
3051
|
+
status: ("provisioning" | "ready" | "provisioning_failed" | "deprovisioning" | "deprovisioning_failed")
|
|
3052
|
+
prBranch: (string | null)
|
|
3053
|
+
prNumber: (number | null)
|
|
3054
|
+
createdAt: string
|
|
3055
|
+
expiresAt: (string | null)
|
|
3056
|
+
updatedAt: string
|
|
3057
|
+
isProduction: boolean
|
|
3058
|
+
lastErrorMessage: (string | null)
|
|
3059
|
+
baseEnvironmentId: (string | null)
|
|
3060
|
+
}[]
|
|
3061
|
+
|
|
3062
|
+
export interface DeploymentPreviewPolicyGetInput {
|
|
3063
|
+
baseEnvironmentId: string
|
|
3064
|
+
}
|
|
3065
|
+
|
|
3066
|
+
export interface DeploymentPreviewPolicyGetOutput {
|
|
3067
|
+
id: string
|
|
3068
|
+
enabled: boolean
|
|
3069
|
+
ttlHours: number
|
|
3070
|
+
createdAt: string
|
|
3071
|
+
updatedAt: string
|
|
3072
|
+
maxPreviews: number
|
|
3073
|
+
baseEnvironmentId: string
|
|
3074
|
+
}
|
|
3075
|
+
|
|
3076
|
+
export interface DeploymentPreviewPolicySetInput {
|
|
3077
|
+
enabled?: boolean
|
|
3078
|
+
ttlHours?: number
|
|
3079
|
+
maxPreviews?: number
|
|
3080
|
+
baseEnvironmentId: string
|
|
3081
|
+
}
|
|
3082
|
+
|
|
3083
|
+
export interface DeploymentPreviewPolicySetOutput {
|
|
3084
|
+
id: string
|
|
3085
|
+
enabled: boolean
|
|
3086
|
+
ttlHours: number
|
|
3087
|
+
createdAt: string
|
|
3088
|
+
updatedAt: string
|
|
3089
|
+
maxPreviews: number
|
|
3090
|
+
baseEnvironmentId: string
|
|
3091
|
+
}
|
|
3092
|
+
|
|
3093
|
+
export interface DeploymentServiceCreateInput {
|
|
3094
|
+
name: string
|
|
3095
|
+
slug?: string
|
|
3096
|
+
canvas?: {
|
|
3097
|
+
x: number
|
|
3098
|
+
y: number
|
|
3099
|
+
}
|
|
3100
|
+
probes?: {
|
|
3101
|
+
liveness?: DeploymentServiceCreateInputReadiness
|
|
3102
|
+
readiness?: DeploymentServiceCreateInputReadiness
|
|
3103
|
+
}
|
|
3104
|
+
source: ({
|
|
3105
|
+
url?: string
|
|
3106
|
+
path?: string
|
|
3107
|
+
type: "git"
|
|
3108
|
+
branch: string
|
|
3109
|
+
connectorId?: string
|
|
3110
|
+
repoFullName?: string
|
|
3111
|
+
} | {
|
|
3112
|
+
tag: string
|
|
3113
|
+
type: "image"
|
|
3114
|
+
registry: string
|
|
3115
|
+
} | {
|
|
3116
|
+
spa?: boolean
|
|
3117
|
+
repo?: {
|
|
3118
|
+
url?: string
|
|
3119
|
+
path?: string
|
|
3120
|
+
branch: string
|
|
3121
|
+
connectorId?: string
|
|
3122
|
+
repoFullName?: string
|
|
3123
|
+
}
|
|
3124
|
+
type: "static"
|
|
3125
|
+
build?: {
|
|
3126
|
+
command?: string
|
|
3127
|
+
outputDir?: string
|
|
3128
|
+
}
|
|
3129
|
+
})
|
|
3130
|
+
replicas?: number
|
|
3131
|
+
resources?: {
|
|
3132
|
+
limits?: {
|
|
3133
|
+
cpu?: string
|
|
3134
|
+
memory?: string
|
|
3135
|
+
}
|
|
3136
|
+
}
|
|
3137
|
+
containerPort?: number
|
|
3138
|
+
environmentId: string
|
|
3139
|
+
}
|
|
3140
|
+
export interface DeploymentServiceCreateInputReadiness {
|
|
3141
|
+
path: string
|
|
3142
|
+
port?: number
|
|
3143
|
+
periodSeconds?: number
|
|
3144
|
+
timeoutSeconds?: number
|
|
3145
|
+
failureThreshold?: number
|
|
3146
|
+
successThreshold?: number
|
|
3147
|
+
initialDelaySeconds?: number
|
|
3148
|
+
}
|
|
3149
|
+
|
|
3150
|
+
export interface DeploymentServiceCreateOutput {
|
|
3151
|
+
id: string
|
|
3152
|
+
name: string
|
|
3153
|
+
slug: string
|
|
3154
|
+
probes: {
|
|
3155
|
+
liveness?: DeploymentServiceCreateOutputReadiness
|
|
3156
|
+
readiness?: DeploymentServiceCreateOutputReadiness
|
|
3157
|
+
}
|
|
3158
|
+
source: ({
|
|
3159
|
+
url?: string
|
|
3160
|
+
path?: string
|
|
3161
|
+
type: "git"
|
|
3162
|
+
branch: string
|
|
3163
|
+
connectorId?: string
|
|
3164
|
+
repoFullName?: string
|
|
3165
|
+
} | {
|
|
3166
|
+
tag: string
|
|
3167
|
+
type: "image"
|
|
3168
|
+
registry: string
|
|
3169
|
+
} | {
|
|
3170
|
+
spa?: boolean
|
|
3171
|
+
repo?: {
|
|
3172
|
+
url?: string
|
|
3173
|
+
path?: string
|
|
3174
|
+
branch: string
|
|
3175
|
+
connectorId?: string
|
|
3176
|
+
repoFullName?: string
|
|
3177
|
+
}
|
|
3178
|
+
type: "static"
|
|
3179
|
+
build?: {
|
|
3180
|
+
command?: string
|
|
3181
|
+
outputDir?: string
|
|
3182
|
+
}
|
|
3183
|
+
})
|
|
3184
|
+
replicas: number
|
|
3185
|
+
createdAt: string
|
|
3186
|
+
dependsOn: string[]
|
|
3187
|
+
resources?: {
|
|
3188
|
+
limits?: {
|
|
3189
|
+
cpu?: string
|
|
3190
|
+
memory?: string
|
|
3191
|
+
}
|
|
3192
|
+
}
|
|
3193
|
+
updatedAt: string
|
|
3194
|
+
containerPort: number
|
|
3195
|
+
environmentId: string
|
|
3196
|
+
lastReplicasRunning: number
|
|
3197
|
+
}
|
|
3198
|
+
export interface DeploymentServiceCreateOutputReadiness {
|
|
3199
|
+
path: string
|
|
3200
|
+
port?: number
|
|
3201
|
+
periodSeconds?: number
|
|
3202
|
+
timeoutSeconds?: number
|
|
3203
|
+
failureThreshold?: number
|
|
3204
|
+
successThreshold?: number
|
|
3205
|
+
initialDelaySeconds?: number
|
|
3206
|
+
}
|
|
3207
|
+
|
|
3208
|
+
export interface DeploymentServiceDeleteInput {
|
|
3209
|
+
id: string
|
|
3210
|
+
}
|
|
3211
|
+
|
|
3212
|
+
export interface DeploymentServiceDeleteOutput {
|
|
3213
|
+
[k: string]: unknown
|
|
3214
|
+
}
|
|
3215
|
+
|
|
3216
|
+
export interface DeploymentServiceExecInput {
|
|
3217
|
+
mode?: ("exec" | "job")
|
|
3218
|
+
command: string
|
|
3219
|
+
serviceId: string
|
|
3220
|
+
timeoutSec?: number
|
|
3221
|
+
}
|
|
3222
|
+
|
|
3223
|
+
export interface DeploymentServiceExecOutput {
|
|
3224
|
+
mode: ("exec" | "job")
|
|
3225
|
+
output: string
|
|
3226
|
+
stderr: string
|
|
3227
|
+
stdout: string
|
|
3228
|
+
target: ({
|
|
3229
|
+
kind: "pod"
|
|
3230
|
+
podName: string
|
|
3231
|
+
container: string
|
|
3232
|
+
} | {
|
|
3233
|
+
kind: "job"
|
|
3234
|
+
jobName: string
|
|
3235
|
+
})
|
|
3236
|
+
exitCode: number
|
|
3237
|
+
timedOut: boolean
|
|
3238
|
+
truncated: boolean
|
|
3239
|
+
}
|
|
3240
|
+
|
|
3241
|
+
export interface DeploymentServiceGetInput {
|
|
3242
|
+
id: string
|
|
3243
|
+
}
|
|
3244
|
+
|
|
3245
|
+
export interface DeploymentServiceGetOutput {
|
|
3246
|
+
id: string
|
|
3247
|
+
name: string
|
|
3248
|
+
slug: string
|
|
3249
|
+
probes: {
|
|
3250
|
+
liveness?: DeploymentServiceGetOutputReadiness
|
|
3251
|
+
readiness?: DeploymentServiceGetOutputReadiness
|
|
3252
|
+
}
|
|
3253
|
+
source: ({
|
|
3254
|
+
url?: string
|
|
3255
|
+
path?: string
|
|
3256
|
+
type: "git"
|
|
3257
|
+
branch: string
|
|
3258
|
+
connectorId?: string
|
|
3259
|
+
repoFullName?: string
|
|
3260
|
+
} | {
|
|
3261
|
+
tag: string
|
|
3262
|
+
type: "image"
|
|
3263
|
+
registry: string
|
|
3264
|
+
} | {
|
|
3265
|
+
spa?: boolean
|
|
3266
|
+
repo?: {
|
|
3267
|
+
url?: string
|
|
3268
|
+
path?: string
|
|
3269
|
+
branch: string
|
|
3270
|
+
connectorId?: string
|
|
3271
|
+
repoFullName?: string
|
|
3272
|
+
}
|
|
3273
|
+
type: "static"
|
|
3274
|
+
build?: {
|
|
3275
|
+
command?: string
|
|
3276
|
+
outputDir?: string
|
|
3277
|
+
}
|
|
3278
|
+
})
|
|
3279
|
+
replicas: number
|
|
3280
|
+
createdAt: string
|
|
3281
|
+
dependsOn: string[]
|
|
3282
|
+
resources?: {
|
|
3283
|
+
limits?: {
|
|
3284
|
+
cpu?: string
|
|
3285
|
+
memory?: string
|
|
3286
|
+
}
|
|
3287
|
+
}
|
|
3288
|
+
updatedAt: string
|
|
3289
|
+
containerPort: number
|
|
3290
|
+
environmentId: string
|
|
3291
|
+
lastReplicasRunning: number
|
|
3292
|
+
}
|
|
3293
|
+
export interface DeploymentServiceGetOutputReadiness {
|
|
3294
|
+
path: string
|
|
3295
|
+
port?: number
|
|
3296
|
+
periodSeconds?: number
|
|
3297
|
+
timeoutSeconds?: number
|
|
3298
|
+
failureThreshold?: number
|
|
3299
|
+
successThreshold?: number
|
|
3300
|
+
initialDelaySeconds?: number
|
|
3301
|
+
}
|
|
3302
|
+
|
|
3303
|
+
export interface DeploymentServiceListInput {
|
|
3304
|
+
environmentId: string
|
|
3305
|
+
}
|
|
3306
|
+
|
|
3307
|
+
export type DeploymentServiceListOutput = {
|
|
3308
|
+
id: string
|
|
3309
|
+
name: string
|
|
3310
|
+
slug: string
|
|
3311
|
+
probes: {
|
|
3312
|
+
liveness?: DeploymentServiceListOutputReadiness
|
|
3313
|
+
readiness?: DeploymentServiceListOutputReadiness
|
|
3314
|
+
}
|
|
3315
|
+
source: ({
|
|
3316
|
+
url?: string
|
|
3317
|
+
path?: string
|
|
3318
|
+
type: "git"
|
|
3319
|
+
branch: string
|
|
3320
|
+
connectorId?: string
|
|
3321
|
+
repoFullName?: string
|
|
3322
|
+
} | {
|
|
3323
|
+
tag: string
|
|
3324
|
+
type: "image"
|
|
3325
|
+
registry: string
|
|
3326
|
+
} | {
|
|
3327
|
+
spa?: boolean
|
|
3328
|
+
repo?: {
|
|
3329
|
+
url?: string
|
|
3330
|
+
path?: string
|
|
3331
|
+
branch: string
|
|
3332
|
+
connectorId?: string
|
|
3333
|
+
repoFullName?: string
|
|
3334
|
+
}
|
|
3335
|
+
type: "static"
|
|
3336
|
+
build?: {
|
|
3337
|
+
command?: string
|
|
3338
|
+
outputDir?: string
|
|
3339
|
+
}
|
|
3340
|
+
})
|
|
3341
|
+
replicas: number
|
|
3342
|
+
createdAt: string
|
|
3343
|
+
dependsOn: string[]
|
|
3344
|
+
resources?: {
|
|
3345
|
+
limits?: {
|
|
3346
|
+
cpu?: string
|
|
3347
|
+
memory?: string
|
|
3348
|
+
}
|
|
3349
|
+
}
|
|
3350
|
+
updatedAt: string
|
|
3351
|
+
containerPort: number
|
|
3352
|
+
environmentId: string
|
|
3353
|
+
lastReplicasRunning: number
|
|
3354
|
+
}[]
|
|
3355
|
+
|
|
3356
|
+
export interface DeploymentServiceListOutputReadiness {
|
|
3357
|
+
path: string
|
|
3358
|
+
port?: number
|
|
3359
|
+
periodSeconds?: number
|
|
3360
|
+
timeoutSeconds?: number
|
|
3361
|
+
failureThreshold?: number
|
|
3362
|
+
successThreshold?: number
|
|
3363
|
+
initialDelaySeconds?: number
|
|
3364
|
+
}
|
|
3365
|
+
|
|
3366
|
+
export interface DeploymentServiceLogsInput {
|
|
3367
|
+
tail?: number
|
|
3368
|
+
serviceId: string
|
|
3369
|
+
}
|
|
3370
|
+
|
|
3371
|
+
export interface DeploymentServiceLogsOutput {
|
|
3372
|
+
lines: string[]
|
|
3373
|
+
}
|
|
3374
|
+
|
|
3375
|
+
export interface DeploymentServiceRedeployInput {
|
|
3376
|
+
serviceId: string
|
|
3377
|
+
}
|
|
3378
|
+
|
|
3379
|
+
export interface DeploymentServiceRedeployOutput {
|
|
3380
|
+
id: string
|
|
3381
|
+
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed")
|
|
3382
|
+
builtAt: (string | null)
|
|
3383
|
+
imageRef: (string | null)
|
|
3384
|
+
commitSha: (string | null)
|
|
3385
|
+
createdAt: string
|
|
3386
|
+
serviceId: string
|
|
3387
|
+
startedAt: (string | null)
|
|
3388
|
+
updatedAt: string
|
|
3389
|
+
deployedAt: (string | null)
|
|
3390
|
+
finishedAt: (string | null)
|
|
3391
|
+
cloudBuildId: (string | null)
|
|
3392
|
+
configSnapshot: {
|
|
3393
|
+
source?: unknown
|
|
3394
|
+
variables: {
|
|
3395
|
+
key: string
|
|
3396
|
+
value: string
|
|
3397
|
+
}[]
|
|
3398
|
+
}
|
|
3399
|
+
lastErrorMessage: (string | null)
|
|
3400
|
+
rolledBackFromDeploymentId: (string | null)
|
|
3401
|
+
}
|
|
3402
|
+
|
|
3403
|
+
export interface DeploymentServiceRestartInput {
|
|
3404
|
+
id: string
|
|
3405
|
+
}
|
|
3406
|
+
|
|
3407
|
+
export interface DeploymentServiceRestartOutput {
|
|
3408
|
+
[k: string]: unknown
|
|
3409
|
+
}
|
|
3410
|
+
|
|
3411
|
+
export interface DeploymentServiceRollbackInput {
|
|
3412
|
+
serviceId: string
|
|
3413
|
+
deploymentId: string
|
|
3414
|
+
}
|
|
3415
|
+
|
|
3416
|
+
export interface DeploymentServiceRollbackOutput {
|
|
3417
|
+
id: string
|
|
3418
|
+
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed")
|
|
3419
|
+
builtAt: (string | null)
|
|
3420
|
+
imageRef: (string | null)
|
|
3421
|
+
commitSha: (string | null)
|
|
3422
|
+
createdAt: string
|
|
3423
|
+
serviceId: string
|
|
3424
|
+
startedAt: (string | null)
|
|
3425
|
+
updatedAt: string
|
|
3426
|
+
deployedAt: (string | null)
|
|
3427
|
+
finishedAt: (string | null)
|
|
3428
|
+
cloudBuildId: (string | null)
|
|
3429
|
+
configSnapshot: {
|
|
3430
|
+
source?: unknown
|
|
3431
|
+
variables: {
|
|
3432
|
+
key: string
|
|
3433
|
+
value: string
|
|
3434
|
+
}[]
|
|
3435
|
+
}
|
|
3436
|
+
lastErrorMessage: (string | null)
|
|
3437
|
+
rolledBackFromDeploymentId: (string | null)
|
|
3438
|
+
}
|
|
3439
|
+
|
|
3440
|
+
export interface DeploymentServiceScaleInput {
|
|
3441
|
+
id: string
|
|
3442
|
+
replicas: number
|
|
3443
|
+
}
|
|
3444
|
+
|
|
3445
|
+
export interface DeploymentServiceScaleOutput {
|
|
3446
|
+
id: string
|
|
3447
|
+
name: string
|
|
3448
|
+
slug: string
|
|
3449
|
+
probes: {
|
|
3450
|
+
liveness?: DeploymentServiceScaleOutputReadiness
|
|
3451
|
+
readiness?: DeploymentServiceScaleOutputReadiness
|
|
3452
|
+
}
|
|
3453
|
+
source: ({
|
|
3454
|
+
url?: string
|
|
3455
|
+
path?: string
|
|
3456
|
+
type: "git"
|
|
3457
|
+
branch: string
|
|
3458
|
+
connectorId?: string
|
|
3459
|
+
repoFullName?: string
|
|
3460
|
+
} | {
|
|
3461
|
+
tag: string
|
|
3462
|
+
type: "image"
|
|
3463
|
+
registry: string
|
|
3464
|
+
} | {
|
|
3465
|
+
spa?: boolean
|
|
3466
|
+
repo?: {
|
|
3467
|
+
url?: string
|
|
3468
|
+
path?: string
|
|
3469
|
+
branch: string
|
|
3470
|
+
connectorId?: string
|
|
3471
|
+
repoFullName?: string
|
|
3472
|
+
}
|
|
3473
|
+
type: "static"
|
|
3474
|
+
build?: {
|
|
3475
|
+
command?: string
|
|
3476
|
+
outputDir?: string
|
|
3477
|
+
}
|
|
3478
|
+
})
|
|
3479
|
+
replicas: number
|
|
3480
|
+
createdAt: string
|
|
3481
|
+
dependsOn: string[]
|
|
3482
|
+
resources?: {
|
|
3483
|
+
limits?: {
|
|
3484
|
+
cpu?: string
|
|
3485
|
+
memory?: string
|
|
3486
|
+
}
|
|
3487
|
+
}
|
|
3488
|
+
updatedAt: string
|
|
3489
|
+
containerPort: number
|
|
3490
|
+
environmentId: string
|
|
3491
|
+
lastReplicasRunning: number
|
|
3492
|
+
}
|
|
3493
|
+
export interface DeploymentServiceScaleOutputReadiness {
|
|
3494
|
+
path: string
|
|
3495
|
+
port?: number
|
|
3496
|
+
periodSeconds?: number
|
|
3497
|
+
timeoutSeconds?: number
|
|
3498
|
+
failureThreshold?: number
|
|
3499
|
+
successThreshold?: number
|
|
3500
|
+
initialDelaySeconds?: number
|
|
3501
|
+
}
|
|
3502
|
+
|
|
3503
|
+
export interface DeploymentServiceUpdateInput {
|
|
3504
|
+
id: string
|
|
3505
|
+
name?: string
|
|
3506
|
+
probes?: {
|
|
3507
|
+
liveness?: DeploymentServiceUpdateInputReadiness
|
|
3508
|
+
readiness?: DeploymentServiceUpdateInputReadiness
|
|
3509
|
+
}
|
|
3510
|
+
source?: ({
|
|
3511
|
+
url?: string
|
|
3512
|
+
path?: string
|
|
3513
|
+
type: "git"
|
|
3514
|
+
branch: string
|
|
3515
|
+
connectorId?: string
|
|
3516
|
+
repoFullName?: string
|
|
3517
|
+
} | {
|
|
3518
|
+
tag: string
|
|
3519
|
+
type: "image"
|
|
3520
|
+
registry: string
|
|
3521
|
+
} | {
|
|
3522
|
+
spa?: boolean
|
|
3523
|
+
repo?: {
|
|
3524
|
+
url?: string
|
|
3525
|
+
path?: string
|
|
3526
|
+
branch: string
|
|
3527
|
+
connectorId?: string
|
|
3528
|
+
repoFullName?: string
|
|
3529
|
+
}
|
|
3530
|
+
type: "static"
|
|
3531
|
+
build?: {
|
|
3532
|
+
command?: string
|
|
3533
|
+
outputDir?: string
|
|
3534
|
+
}
|
|
3535
|
+
})
|
|
3536
|
+
replicas?: number
|
|
3537
|
+
resources?: {
|
|
3538
|
+
limits?: {
|
|
3539
|
+
cpu?: string
|
|
3540
|
+
memory?: string
|
|
3541
|
+
}
|
|
3542
|
+
}
|
|
3543
|
+
containerPort?: number
|
|
3544
|
+
}
|
|
3545
|
+
export interface DeploymentServiceUpdateInputReadiness {
|
|
3546
|
+
path: string
|
|
3547
|
+
port?: number
|
|
3548
|
+
periodSeconds?: number
|
|
3549
|
+
timeoutSeconds?: number
|
|
3550
|
+
failureThreshold?: number
|
|
3551
|
+
successThreshold?: number
|
|
3552
|
+
initialDelaySeconds?: number
|
|
3553
|
+
}
|
|
3554
|
+
|
|
3555
|
+
export interface DeploymentServiceUpdateOutput {
|
|
3556
|
+
id: string
|
|
3557
|
+
name: string
|
|
3558
|
+
slug: string
|
|
3559
|
+
probes: {
|
|
3560
|
+
liveness?: DeploymentServiceUpdateOutputReadiness
|
|
3561
|
+
readiness?: DeploymentServiceUpdateOutputReadiness
|
|
3562
|
+
}
|
|
3563
|
+
source: ({
|
|
3564
|
+
url?: string
|
|
3565
|
+
path?: string
|
|
3566
|
+
type: "git"
|
|
3567
|
+
branch: string
|
|
3568
|
+
connectorId?: string
|
|
3569
|
+
repoFullName?: string
|
|
3570
|
+
} | {
|
|
3571
|
+
tag: string
|
|
3572
|
+
type: "image"
|
|
3573
|
+
registry: string
|
|
3574
|
+
} | {
|
|
3575
|
+
spa?: boolean
|
|
3576
|
+
repo?: {
|
|
3577
|
+
url?: string
|
|
3578
|
+
path?: string
|
|
3579
|
+
branch: string
|
|
3580
|
+
connectorId?: string
|
|
3581
|
+
repoFullName?: string
|
|
3582
|
+
}
|
|
3583
|
+
type: "static"
|
|
3584
|
+
build?: {
|
|
3585
|
+
command?: string
|
|
3586
|
+
outputDir?: string
|
|
3587
|
+
}
|
|
3588
|
+
})
|
|
3589
|
+
replicas: number
|
|
3590
|
+
createdAt: string
|
|
3591
|
+
dependsOn: string[]
|
|
3592
|
+
resources?: {
|
|
3593
|
+
limits?: {
|
|
3594
|
+
cpu?: string
|
|
3595
|
+
memory?: string
|
|
3596
|
+
}
|
|
3597
|
+
}
|
|
3598
|
+
updatedAt: string
|
|
3599
|
+
containerPort: number
|
|
3600
|
+
environmentId: string
|
|
3601
|
+
lastReplicasRunning: number
|
|
3602
|
+
}
|
|
3603
|
+
export interface DeploymentServiceUpdateOutputReadiness {
|
|
3604
|
+
path: string
|
|
3605
|
+
port?: number
|
|
3606
|
+
periodSeconds?: number
|
|
3607
|
+
timeoutSeconds?: number
|
|
3608
|
+
failureThreshold?: number
|
|
3609
|
+
successThreshold?: number
|
|
3610
|
+
initialDelaySeconds?: number
|
|
3611
|
+
}
|
|
3612
|
+
|
|
3613
|
+
export interface DeploymentSshCommandInput {
|
|
3614
|
+
serviceId: string
|
|
3615
|
+
}
|
|
3616
|
+
|
|
3617
|
+
export interface DeploymentSshCommandOutput {
|
|
3618
|
+
host: string
|
|
3619
|
+
command: string
|
|
3620
|
+
username: string
|
|
3621
|
+
}
|
|
3622
|
+
|
|
3623
|
+
export interface DeploymentSshKeyDeleteInput {
|
|
3624
|
+
id: string
|
|
3625
|
+
}
|
|
3626
|
+
|
|
3627
|
+
export interface DeploymentSshKeyDeleteOutput {
|
|
3628
|
+
deleted: boolean
|
|
3629
|
+
}
|
|
3630
|
+
|
|
3631
|
+
export interface DeploymentSshKeyListInput {
|
|
3632
|
+
|
|
3633
|
+
}
|
|
3634
|
+
|
|
3635
|
+
export type DeploymentSshKeyListOutput = {
|
|
3636
|
+
id: string
|
|
3637
|
+
algo: string
|
|
3638
|
+
name: string
|
|
3639
|
+
scope: ("workspace" | "personal")
|
|
3640
|
+
createdAt: string
|
|
3641
|
+
productId: string
|
|
3642
|
+
lastUsedAt: (string | null)
|
|
3643
|
+
ownerIdentityId: string
|
|
3644
|
+
fingerprintSha256: string
|
|
3645
|
+
}[]
|
|
3646
|
+
|
|
3647
|
+
export interface DeploymentSshKeyRegisterInput {
|
|
3648
|
+
/**
|
|
3649
|
+
* Human label for the key, e.g. "my-laptop"
|
|
3650
|
+
*/
|
|
3651
|
+
name: string
|
|
3652
|
+
/**
|
|
3653
|
+
* OpenSSH public key line (ssh-ed25519 / ssh-rsa ...)
|
|
3654
|
+
*/
|
|
3655
|
+
publicKey: string
|
|
3656
|
+
}
|
|
3657
|
+
|
|
3658
|
+
export interface DeploymentSshKeyRegisterOutput {
|
|
3659
|
+
id: string
|
|
3660
|
+
algo: string
|
|
3661
|
+
name: string
|
|
3662
|
+
scope: ("workspace" | "personal")
|
|
3663
|
+
createdAt: string
|
|
3664
|
+
productId: string
|
|
3665
|
+
lastUsedAt: (string | null)
|
|
3666
|
+
ownerIdentityId: string
|
|
3667
|
+
fingerprintSha256: string
|
|
3668
|
+
}
|
|
3669
|
+
|
|
3670
|
+
export interface DeploymentVariableListInput {
|
|
3671
|
+
serviceId: string
|
|
3672
|
+
}
|
|
3673
|
+
|
|
3674
|
+
export type DeploymentVariableListOutput = {
|
|
3675
|
+
id: string
|
|
3676
|
+
key: string
|
|
3677
|
+
scope: ("service" | "environment" | "product")
|
|
3678
|
+
value: (string | null)
|
|
3679
|
+
isSecret: boolean
|
|
3680
|
+
createdAt: string
|
|
3681
|
+
serviceId: (string | null)
|
|
3682
|
+
updatedAt: string
|
|
3683
|
+
environmentId: (string | null)
|
|
3684
|
+
}[]
|
|
3685
|
+
|
|
3686
|
+
export interface DeploymentVariableListEnvInput {
|
|
3687
|
+
environmentId: string
|
|
3688
|
+
}
|
|
3689
|
+
|
|
3690
|
+
export type DeploymentVariableListEnvOutput = {
|
|
3691
|
+
id: string
|
|
3692
|
+
key: string
|
|
3693
|
+
scope: ("service" | "environment" | "product")
|
|
3694
|
+
value: (string | null)
|
|
3695
|
+
isSecret: boolean
|
|
3696
|
+
createdAt: string
|
|
3697
|
+
serviceId: (string | null)
|
|
3698
|
+
updatedAt: string
|
|
3699
|
+
environmentId: (string | null)
|
|
3700
|
+
}[]
|
|
3701
|
+
|
|
3702
|
+
export interface DeploymentVariableListProductInput {
|
|
3703
|
+
|
|
3704
|
+
}
|
|
3705
|
+
|
|
3706
|
+
export type DeploymentVariableListProductOutput = {
|
|
3707
|
+
id: string
|
|
3708
|
+
key: string
|
|
3709
|
+
scope: ("service" | "environment" | "product")
|
|
3710
|
+
value: (string | null)
|
|
3711
|
+
isSecret: boolean
|
|
3712
|
+
createdAt: string
|
|
3713
|
+
serviceId: (string | null)
|
|
3714
|
+
updatedAt: string
|
|
3715
|
+
environmentId: (string | null)
|
|
3716
|
+
}[]
|
|
3717
|
+
|
|
3718
|
+
export interface DeploymentVariableSetInput {
|
|
3719
|
+
key: string
|
|
3720
|
+
value: string
|
|
3721
|
+
isSecret?: boolean
|
|
3722
|
+
serviceId: string
|
|
3723
|
+
}
|
|
3724
|
+
|
|
3725
|
+
export interface DeploymentVariableSetOutput {
|
|
3726
|
+
id: string
|
|
3727
|
+
key: string
|
|
3728
|
+
scope: ("service" | "environment" | "product")
|
|
3729
|
+
value: (string | null)
|
|
3730
|
+
isSecret: boolean
|
|
3731
|
+
createdAt: string
|
|
3732
|
+
serviceId: (string | null)
|
|
3733
|
+
updatedAt: string
|
|
3734
|
+
environmentId: (string | null)
|
|
3735
|
+
}
|
|
3736
|
+
|
|
3737
|
+
export interface DeploymentVariableSetEnvInput {
|
|
3738
|
+
key: string
|
|
3739
|
+
value: string
|
|
3740
|
+
isSecret?: boolean
|
|
3741
|
+
environmentId: string
|
|
3742
|
+
}
|
|
3743
|
+
|
|
3744
|
+
export interface DeploymentVariableSetEnvOutput {
|
|
3745
|
+
id: string
|
|
3746
|
+
key: string
|
|
3747
|
+
scope: ("service" | "environment" | "product")
|
|
3748
|
+
value: (string | null)
|
|
3749
|
+
isSecret: boolean
|
|
3750
|
+
createdAt: string
|
|
3751
|
+
serviceId: (string | null)
|
|
3752
|
+
updatedAt: string
|
|
3753
|
+
environmentId: (string | null)
|
|
3754
|
+
}
|
|
3755
|
+
|
|
3756
|
+
export interface DeploymentVariableSetProductInput {
|
|
3757
|
+
key: string
|
|
3758
|
+
value: string
|
|
3759
|
+
isSecret?: boolean
|
|
3760
|
+
}
|
|
3761
|
+
|
|
3762
|
+
export interface DeploymentVariableSetProductOutput {
|
|
3763
|
+
id: string
|
|
3764
|
+
key: string
|
|
3765
|
+
scope: ("service" | "environment" | "product")
|
|
3766
|
+
value: (string | null)
|
|
3767
|
+
isSecret: boolean
|
|
3768
|
+
createdAt: string
|
|
3769
|
+
serviceId: (string | null)
|
|
3770
|
+
updatedAt: string
|
|
3771
|
+
environmentId: (string | null)
|
|
3772
|
+
}
|
|
3773
|
+
|
|
3774
|
+
export interface DeploymentVariableUnsetInput {
|
|
3775
|
+
key: string
|
|
3776
|
+
serviceId: string
|
|
3777
|
+
}
|
|
3778
|
+
|
|
3779
|
+
export interface DeploymentVariableUnsetOutput {
|
|
3780
|
+
[k: string]: unknown
|
|
3781
|
+
}
|
|
3782
|
+
|
|
3783
|
+
export interface DeploymentVariableUnsetEnvInput {
|
|
3784
|
+
key: string
|
|
3785
|
+
environmentId: string
|
|
3786
|
+
}
|
|
3787
|
+
|
|
3788
|
+
export interface DeploymentVariableUnsetEnvOutput {
|
|
3789
|
+
[k: string]: unknown
|
|
3790
|
+
}
|
|
3791
|
+
|
|
3792
|
+
export interface DeploymentVariableUnsetProductInput {
|
|
3793
|
+
key: string
|
|
3794
|
+
}
|
|
3795
|
+
|
|
3796
|
+
export interface DeploymentVariableUnsetProductOutput {
|
|
3797
|
+
[k: string]: unknown
|
|
3798
|
+
}
|
|
3799
|
+
|
|
3800
|
+
export interface DeploymentVcsBranchListInput {
|
|
3801
|
+
connectorId: string
|
|
3802
|
+
repoFullName: string
|
|
3803
|
+
}
|
|
3804
|
+
|
|
3805
|
+
export type DeploymentVcsBranchListOutput = {
|
|
3806
|
+
name: string
|
|
3807
|
+
commitSha: string
|
|
3808
|
+
}[]
|
|
3809
|
+
|
|
3810
|
+
export interface DeploymentVcsConnectionListInput {
|
|
3811
|
+
|
|
3812
|
+
}
|
|
3813
|
+
|
|
3814
|
+
export type DeploymentVcsConnectionListOutput = {
|
|
3815
|
+
status: string
|
|
3816
|
+
connectorId: string
|
|
3817
|
+
accountLogin: string
|
|
3818
|
+
installationId: string
|
|
3819
|
+
}[]
|
|
3820
|
+
|
|
3821
|
+
export interface DeploymentVcsRepoListInput {
|
|
3822
|
+
page?: number
|
|
3823
|
+
search?: string
|
|
3824
|
+
connectorId: string
|
|
3825
|
+
}
|
|
3826
|
+
|
|
3827
|
+
export type DeploymentVcsRepoListOutput = {
|
|
3828
|
+
private: boolean
|
|
3829
|
+
fullName: string
|
|
3830
|
+
defaultBranch: string
|
|
3831
|
+
}[]
|
|
3832
|
+
|
|
3833
|
+
export interface DeploymentVolumeCreateInput {
|
|
3834
|
+
name: string
|
|
3835
|
+
slug?: string
|
|
3836
|
+
sizeGb: number
|
|
3837
|
+
mountPath: string
|
|
3838
|
+
environmentId: string
|
|
3839
|
+
attachedServiceId?: string
|
|
3840
|
+
}
|
|
3841
|
+
|
|
3842
|
+
export interface DeploymentVolumeCreateOutput {
|
|
3843
|
+
id: string
|
|
3844
|
+
name: string
|
|
3845
|
+
slug: string
|
|
3846
|
+
sizeGb: number
|
|
3847
|
+
status: ("provisioning" | "ready" | "detached" | "failed")
|
|
3848
|
+
createdAt: string
|
|
3849
|
+
mountPath: string
|
|
3850
|
+
updatedAt: string
|
|
3851
|
+
environmentId: string
|
|
3852
|
+
lastErrorMessage: (string | null)
|
|
3853
|
+
attachedServiceId: (string | null)
|
|
3854
|
+
}
|
|
3855
|
+
|
|
3856
|
+
export interface DeploymentVolumeDeleteInput {
|
|
3857
|
+
id: string
|
|
3858
|
+
}
|
|
3859
|
+
|
|
3860
|
+
export interface DeploymentVolumeDeleteOutput {
|
|
3861
|
+
[k: string]: unknown
|
|
3862
|
+
}
|
|
3863
|
+
|
|
3864
|
+
export interface DeploymentVolumeDetachInput {
|
|
3865
|
+
id: string
|
|
3866
|
+
}
|
|
3867
|
+
|
|
3868
|
+
export interface DeploymentVolumeDetachOutput {
|
|
3869
|
+
id: string
|
|
3870
|
+
name: string
|
|
3871
|
+
slug: string
|
|
3872
|
+
sizeGb: number
|
|
3873
|
+
status: ("provisioning" | "ready" | "detached" | "failed")
|
|
3874
|
+
createdAt: string
|
|
3875
|
+
mountPath: string
|
|
3876
|
+
updatedAt: string
|
|
3877
|
+
environmentId: string
|
|
3878
|
+
lastErrorMessage: (string | null)
|
|
3879
|
+
attachedServiceId: (string | null)
|
|
3880
|
+
}
|
|
3881
|
+
|
|
3882
|
+
export interface DeploymentVolumeGetInput {
|
|
3883
|
+
id: string
|
|
3884
|
+
}
|
|
3885
|
+
|
|
3886
|
+
export interface DeploymentVolumeGetOutput {
|
|
3887
|
+
id: string
|
|
3888
|
+
name: string
|
|
3889
|
+
slug: string
|
|
3890
|
+
sizeGb: number
|
|
3891
|
+
status: ("provisioning" | "ready" | "detached" | "failed")
|
|
3892
|
+
createdAt: string
|
|
3893
|
+
mountPath: string
|
|
3894
|
+
updatedAt: string
|
|
3895
|
+
environmentId: string
|
|
3896
|
+
lastErrorMessage: (string | null)
|
|
3897
|
+
attachedServiceId: (string | null)
|
|
3898
|
+
}
|
|
3899
|
+
|
|
3900
|
+
export interface DeploymentVolumeListInput {
|
|
3901
|
+
environmentId: string
|
|
3902
|
+
}
|
|
3903
|
+
|
|
3904
|
+
export type DeploymentVolumeListOutput = {
|
|
3905
|
+
id: string
|
|
3906
|
+
name: string
|
|
3907
|
+
slug: string
|
|
3908
|
+
sizeGb: number
|
|
3909
|
+
status: ("provisioning" | "ready" | "detached" | "failed")
|
|
3910
|
+
createdAt: string
|
|
3911
|
+
mountPath: string
|
|
3912
|
+
updatedAt: string
|
|
3913
|
+
environmentId: string
|
|
3914
|
+
lastErrorMessage: (string | null)
|
|
3915
|
+
attachedServiceId: (string | null)
|
|
3916
|
+
}[]
|
|
3917
|
+
|
|
3918
|
+
export interface DeploymentVolumeResizeInput {
|
|
3919
|
+
id: string
|
|
3920
|
+
sizeGb: number
|
|
3921
|
+
}
|
|
3922
|
+
|
|
3923
|
+
export interface DeploymentVolumeResizeOutput {
|
|
3924
|
+
id: string
|
|
3925
|
+
name: string
|
|
3926
|
+
slug: string
|
|
3927
|
+
sizeGb: number
|
|
3928
|
+
status: ("provisioning" | "ready" | "detached" | "failed")
|
|
3929
|
+
createdAt: string
|
|
3930
|
+
mountPath: string
|
|
3931
|
+
updatedAt: string
|
|
3932
|
+
environmentId: string
|
|
3933
|
+
lastErrorMessage: (string | null)
|
|
3934
|
+
attachedServiceId: (string | null)
|
|
3935
|
+
}
|
|
3936
|
+
|
|
1395
3937
|
export interface MailApikeyCreateInput {
|
|
1396
3938
|
/**
|
|
1397
3939
|
* Human-readable label for the key
|