@scarn/sdk 0.8.17 → 0.8.18
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/{chunk-g2mzg278.js → chunk-0c60x3v8.js} +51 -59
- package/dist/{chunk-dhqeg0wf.js → chunk-2tmrw253.js} +1 -1
- package/dist/{chunk-r03knh9j.js → chunk-3zp2qtf8.js} +80 -1
- package/dist/{chunk-ar6hcj1r.js → chunk-6tra3gw8.js} +7 -1
- package/dist/{chunk-a04phj60.js → chunk-833ef6dg.js} +121 -260
- package/dist/{chunk-2ekz6tr5.js → chunk-aemxz9r7.js} +18 -2
- package/dist/chunk-e0pt5x0e.js +167 -0
- package/dist/chunk-mmy80pec.js +64 -0
- package/dist/chunk-mzj1j0p5.js +116 -0
- package/dist/{chunk-cdj0yqgs.js → chunk-pqtd0hr7.js} +12 -2
- package/dist/chunk-qgkx89eg.js +210 -0
- package/dist/chunk-rphfy0fj.js +167 -0
- package/dist/chunk-t1dq2c2s.js +224 -0
- package/dist/{chunk-qs7p11rp.js → chunk-tvjcfh6s.js} +5 -1
- package/dist/{chunk-1wnv6rb2.js → chunk-ymywp5ht.js} +1 -1
- package/dist/client.js +8 -2
- package/dist/connectors/catalog.d.ts +49 -0
- package/dist/connectors/index.d.ts +45 -0
- package/dist/connectors/index.js +41 -0
- package/dist/defaults/index.js +2 -2
- package/dist/definitions/automations/index.js +2 -2
- package/dist/definitions/environments/define-environment.d.ts +39 -0
- package/dist/definitions/environments/environments-client.d.ts +50 -0
- package/dist/definitions/environments/index.d.ts +6 -0
- package/dist/definitions/environments/index.js +97 -0
- package/dist/definitions/pipelines/index.js +2 -2
- package/dist/definitions/steps/compile-mcps.d.ts +8 -12
- package/dist/definitions/steps/define-code-step.d.ts +18 -11
- package/dist/definitions/steps/define-step.d.ts +14 -25
- package/dist/definitions/steps/env.d.ts +30 -8
- package/dist/definitions/steps/index.js +30 -13
- package/dist/definitions/steps/mcp-server-config.d.ts +19 -9
- package/dist/definitions/steps/repo.d.ts +56 -28
- package/dist/definitions/steps/runtime.d.ts +54 -39
- package/dist/definitions/steps/step-definitions-client.d.ts +222 -63
- package/dist/definitions/steps/step-handle.d.ts +8 -1
- package/dist/definitions/validation/index.js +6 -3
- package/dist/definitions/validation/validate-repo.d.ts +3 -7
- package/dist/definitions/validation/validate-runtime.d.ts +2 -7
- package/dist/env-vars.d.ts +57 -1
- package/dist/env-vars.js +7 -1
- package/dist/environment.d.ts +564 -0
- package/dist/environment.js +46 -0
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/sdk.gen.d.ts +26 -1
- package/dist/generated/types.gen.d.ts +2090 -187
- package/dist/index.d.ts +2 -0
- package/dist/index.js +94 -28
- package/dist/opencode-mcp.d.ts +75 -4
- package/dist/opencode-mcp.js +2 -1
- package/dist/push/code-step-lookup.d.ts +6 -0
- package/dist/push/code-step-lookup.js +3 -1
- package/dist/push/collect-definitions.d.ts +13 -0
- package/dist/push/index.js +127 -15
- package/dist/push/push-from-directory.d.ts +11 -2
- package/dist/repo-config.d.ts +88 -30
- package/dist/repo-config.js +21 -5
- package/dist/resolve-environment.d.ts +19 -0
- package/dist/resolve-environment.js +19 -0
- package/dist/task-plane-client.d.ts +124 -22
- package/package.json +17 -1
- package/dist/chunk-2sk92cnd.js +0 -103
|
@@ -1490,7 +1490,43 @@ export type GetApiStepDefinitionsResponses = {
|
|
|
1490
1490
|
entrypointJson: {
|
|
1491
1491
|
sourceFile: string;
|
|
1492
1492
|
} | null;
|
|
1493
|
-
|
|
1493
|
+
environment: {
|
|
1494
|
+
kind: 'named';
|
|
1495
|
+
name: string;
|
|
1496
|
+
} | {
|
|
1497
|
+
kind: 'inline';
|
|
1498
|
+
runtime?: {
|
|
1499
|
+
kind: 'devcontainer';
|
|
1500
|
+
config?: string;
|
|
1501
|
+
} | {
|
|
1502
|
+
kind: 'managed';
|
|
1503
|
+
id: 'bun1' | 'node24';
|
|
1504
|
+
} | {
|
|
1505
|
+
kind: 'host';
|
|
1506
|
+
};
|
|
1507
|
+
envJson?: Array<{
|
|
1508
|
+
name: string;
|
|
1509
|
+
source: 'value';
|
|
1510
|
+
value: string;
|
|
1511
|
+
secret: boolean;
|
|
1512
|
+
applies: 'agent' | 'setup' | 'both';
|
|
1513
|
+
} | {
|
|
1514
|
+
name: string;
|
|
1515
|
+
source: 'inherit';
|
|
1516
|
+
from: string;
|
|
1517
|
+
secret: boolean;
|
|
1518
|
+
optional: boolean;
|
|
1519
|
+
default?: string;
|
|
1520
|
+
mcp?: string;
|
|
1521
|
+
applies: 'agent' | 'setup' | 'both';
|
|
1522
|
+
} | {
|
|
1523
|
+
name: string;
|
|
1524
|
+
source: 'secret';
|
|
1525
|
+
secretName: string;
|
|
1526
|
+
applies: 'agent' | 'setup' | 'both';
|
|
1527
|
+
}> | null;
|
|
1528
|
+
connectors?: Array<string>;
|
|
1529
|
+
} | null;
|
|
1494
1530
|
inputSchemaJson: {
|
|
1495
1531
|
[key: string]: unknown;
|
|
1496
1532
|
};
|
|
@@ -1554,6 +1590,16 @@ export type GetApiStepDefinitionsResponses = {
|
|
|
1554
1590
|
execution?: number;
|
|
1555
1591
|
};
|
|
1556
1592
|
protocol?: 'legacy' | 'auto' | '2026-07-28';
|
|
1593
|
+
workerVars?: Array<{
|
|
1594
|
+
name: string;
|
|
1595
|
+
source: 'inherit';
|
|
1596
|
+
from: string;
|
|
1597
|
+
secret: boolean;
|
|
1598
|
+
optional: boolean;
|
|
1599
|
+
default?: string;
|
|
1600
|
+
mcp?: string;
|
|
1601
|
+
applies: 'agent';
|
|
1602
|
+
}>;
|
|
1557
1603
|
} | {
|
|
1558
1604
|
type: 'remote';
|
|
1559
1605
|
url: string;
|
|
@@ -1576,9 +1622,29 @@ export type GetApiStepDefinitionsResponses = {
|
|
|
1576
1622
|
execution?: number;
|
|
1577
1623
|
};
|
|
1578
1624
|
protocol?: 'legacy' | 'auto' | '2026-07-28';
|
|
1625
|
+
workerVars?: Array<{
|
|
1626
|
+
name: string;
|
|
1627
|
+
source: 'inherit';
|
|
1628
|
+
from: string;
|
|
1629
|
+
secret: boolean;
|
|
1630
|
+
optional: boolean;
|
|
1631
|
+
default?: string;
|
|
1632
|
+
mcp?: string;
|
|
1633
|
+
applies: 'agent';
|
|
1634
|
+
}>;
|
|
1579
1635
|
} | {
|
|
1580
1636
|
type: 'ref';
|
|
1581
1637
|
name?: string;
|
|
1638
|
+
workerVars?: Array<{
|
|
1639
|
+
name: string;
|
|
1640
|
+
source: 'inherit';
|
|
1641
|
+
from: string;
|
|
1642
|
+
secret: boolean;
|
|
1643
|
+
optional: boolean;
|
|
1644
|
+
default?: string;
|
|
1645
|
+
mcp?: string;
|
|
1646
|
+
applies: 'agent';
|
|
1647
|
+
}>;
|
|
1582
1648
|
disabled?: boolean;
|
|
1583
1649
|
codemode?: boolean;
|
|
1584
1650
|
timeout?: {
|
|
@@ -1609,34 +1675,21 @@ export type GetApiStepDefinitionsResponses = {
|
|
|
1609
1675
|
command: Array<string>;
|
|
1610
1676
|
expectExitCode: number;
|
|
1611
1677
|
}> | null;
|
|
1612
|
-
envJson: Array<{
|
|
1613
|
-
name: string;
|
|
1614
|
-
source: 'value';
|
|
1615
|
-
value: string;
|
|
1616
|
-
secret: boolean;
|
|
1617
|
-
applies: 'agent' | 'setup' | 'both';
|
|
1618
|
-
} | {
|
|
1619
|
-
name: string;
|
|
1620
|
-
source: 'inherit';
|
|
1621
|
-
from: string;
|
|
1622
|
-
secret: boolean;
|
|
1623
|
-
optional: boolean;
|
|
1624
|
-
default?: string;
|
|
1625
|
-
mcp?: string;
|
|
1626
|
-
applies: 'agent' | 'setup' | 'both';
|
|
1627
|
-
}> | null;
|
|
1628
|
-
devcontainerConfigPath: string | null;
|
|
1629
|
-
managedRuntime: 'bun1' | 'node24' | null;
|
|
1630
1678
|
repo: {
|
|
1631
|
-
mode: 'none';
|
|
1632
|
-
} | {
|
|
1633
1679
|
mode: 'readOnly';
|
|
1634
1680
|
gitCredentials: 'auto' | 'none';
|
|
1681
|
+
baseBranch: string | null;
|
|
1635
1682
|
} | {
|
|
1636
1683
|
mode: 'readWrite';
|
|
1637
1684
|
message: string | null;
|
|
1638
1685
|
onPushFailure: 'fail' | 'warn';
|
|
1639
1686
|
gitCredentials: 'auto' | 'none';
|
|
1687
|
+
baseBranch: string | null;
|
|
1688
|
+
workBranch: {
|
|
1689
|
+
kind: 'create';
|
|
1690
|
+
} | {
|
|
1691
|
+
kind: 'base';
|
|
1692
|
+
};
|
|
1640
1693
|
};
|
|
1641
1694
|
status: 'draft' | 'active' | 'archived';
|
|
1642
1695
|
createdAt: string;
|
|
@@ -1656,7 +1709,43 @@ export type PostApiStepDefinitionsData = {
|
|
|
1656
1709
|
entrypointJson?: {
|
|
1657
1710
|
sourceFile: string;
|
|
1658
1711
|
} | null;
|
|
1659
|
-
|
|
1712
|
+
environment?: {
|
|
1713
|
+
kind: 'named';
|
|
1714
|
+
name: string;
|
|
1715
|
+
} | {
|
|
1716
|
+
kind: 'inline';
|
|
1717
|
+
runtime?: {
|
|
1718
|
+
kind: 'devcontainer';
|
|
1719
|
+
config?: string;
|
|
1720
|
+
} | {
|
|
1721
|
+
kind: 'managed';
|
|
1722
|
+
id: 'bun1' | 'node24';
|
|
1723
|
+
} | {
|
|
1724
|
+
kind: 'host';
|
|
1725
|
+
};
|
|
1726
|
+
envJson?: Array<{
|
|
1727
|
+
name: string;
|
|
1728
|
+
source: 'value';
|
|
1729
|
+
value: string;
|
|
1730
|
+
secret: boolean;
|
|
1731
|
+
applies?: 'agent' | 'setup' | 'both';
|
|
1732
|
+
} | {
|
|
1733
|
+
name: string;
|
|
1734
|
+
source: 'inherit';
|
|
1735
|
+
from: string;
|
|
1736
|
+
secret: boolean;
|
|
1737
|
+
optional: boolean;
|
|
1738
|
+
default?: string;
|
|
1739
|
+
mcp?: string;
|
|
1740
|
+
applies?: 'agent' | 'setup' | 'both';
|
|
1741
|
+
} | {
|
|
1742
|
+
name: string;
|
|
1743
|
+
source: 'secret';
|
|
1744
|
+
secretName: string;
|
|
1745
|
+
applies?: 'agent' | 'setup' | 'both';
|
|
1746
|
+
}> | null;
|
|
1747
|
+
connectors?: Array<string>;
|
|
1748
|
+
} | null;
|
|
1660
1749
|
inputSchemaJson: {
|
|
1661
1750
|
[key: string]: unknown;
|
|
1662
1751
|
};
|
|
@@ -1720,6 +1809,16 @@ export type PostApiStepDefinitionsData = {
|
|
|
1720
1809
|
execution?: number;
|
|
1721
1810
|
};
|
|
1722
1811
|
protocol?: 'legacy' | 'auto' | '2026-07-28';
|
|
1812
|
+
workerVars?: Array<{
|
|
1813
|
+
name: string;
|
|
1814
|
+
source: 'inherit';
|
|
1815
|
+
from: string;
|
|
1816
|
+
secret: boolean;
|
|
1817
|
+
optional: boolean;
|
|
1818
|
+
default?: string;
|
|
1819
|
+
mcp?: string;
|
|
1820
|
+
applies: 'agent';
|
|
1821
|
+
}>;
|
|
1723
1822
|
} | {
|
|
1724
1823
|
type: 'remote';
|
|
1725
1824
|
url: string;
|
|
@@ -1742,9 +1841,29 @@ export type PostApiStepDefinitionsData = {
|
|
|
1742
1841
|
execution?: number;
|
|
1743
1842
|
};
|
|
1744
1843
|
protocol?: 'legacy' | 'auto' | '2026-07-28';
|
|
1844
|
+
workerVars?: Array<{
|
|
1845
|
+
name: string;
|
|
1846
|
+
source: 'inherit';
|
|
1847
|
+
from: string;
|
|
1848
|
+
secret: boolean;
|
|
1849
|
+
optional: boolean;
|
|
1850
|
+
default?: string;
|
|
1851
|
+
mcp?: string;
|
|
1852
|
+
applies: 'agent';
|
|
1853
|
+
}>;
|
|
1745
1854
|
} | {
|
|
1746
1855
|
type: 'ref';
|
|
1747
1856
|
name?: string;
|
|
1857
|
+
workerVars?: Array<{
|
|
1858
|
+
name: string;
|
|
1859
|
+
source: 'inherit';
|
|
1860
|
+
from: string;
|
|
1861
|
+
secret: boolean;
|
|
1862
|
+
optional: boolean;
|
|
1863
|
+
default?: string;
|
|
1864
|
+
mcp?: string;
|
|
1865
|
+
applies: 'agent';
|
|
1866
|
+
}>;
|
|
1748
1867
|
disabled?: boolean;
|
|
1749
1868
|
codemode?: boolean;
|
|
1750
1869
|
timeout?: {
|
|
@@ -1775,34 +1894,21 @@ export type PostApiStepDefinitionsData = {
|
|
|
1775
1894
|
command: Array<string>;
|
|
1776
1895
|
expectExitCode?: number;
|
|
1777
1896
|
}> | null;
|
|
1778
|
-
envJson?: Array<{
|
|
1779
|
-
name: string;
|
|
1780
|
-
source: 'value';
|
|
1781
|
-
value: string;
|
|
1782
|
-
secret: boolean;
|
|
1783
|
-
applies?: 'agent' | 'setup' | 'both';
|
|
1784
|
-
} | {
|
|
1785
|
-
name: string;
|
|
1786
|
-
source: 'inherit';
|
|
1787
|
-
from: string;
|
|
1788
|
-
secret: boolean;
|
|
1789
|
-
optional: boolean;
|
|
1790
|
-
default?: string;
|
|
1791
|
-
mcp?: string;
|
|
1792
|
-
applies?: 'agent' | 'setup' | 'both';
|
|
1793
|
-
}> | null;
|
|
1794
|
-
devcontainerConfigPath?: string | null;
|
|
1795
|
-
managedRuntime?: 'bun1' | 'node24' | null;
|
|
1796
1897
|
repo?: {
|
|
1797
|
-
mode: 'none';
|
|
1798
|
-
} | {
|
|
1799
1898
|
mode: 'readOnly';
|
|
1800
1899
|
gitCredentials?: 'auto' | 'none';
|
|
1900
|
+
baseBranch?: string | null;
|
|
1801
1901
|
} | {
|
|
1802
1902
|
mode: 'readWrite';
|
|
1803
1903
|
message?: string | null;
|
|
1804
1904
|
onPushFailure?: 'fail' | 'warn';
|
|
1805
1905
|
gitCredentials?: 'auto' | 'none';
|
|
1906
|
+
baseBranch?: string | null;
|
|
1907
|
+
workBranch?: {
|
|
1908
|
+
kind: 'create';
|
|
1909
|
+
} | {
|
|
1910
|
+
kind: 'base';
|
|
1911
|
+
};
|
|
1806
1912
|
};
|
|
1807
1913
|
status: 'draft' | 'active' | 'archived';
|
|
1808
1914
|
};
|
|
@@ -1962,7 +2068,43 @@ export type PostApiStepDefinitionsResponses = {
|
|
|
1962
2068
|
entrypointJson: {
|
|
1963
2069
|
sourceFile: string;
|
|
1964
2070
|
} | null;
|
|
1965
|
-
|
|
2071
|
+
environment: {
|
|
2072
|
+
kind: 'named';
|
|
2073
|
+
name: string;
|
|
2074
|
+
} | {
|
|
2075
|
+
kind: 'inline';
|
|
2076
|
+
runtime?: {
|
|
2077
|
+
kind: 'devcontainer';
|
|
2078
|
+
config?: string;
|
|
2079
|
+
} | {
|
|
2080
|
+
kind: 'managed';
|
|
2081
|
+
id: 'bun1' | 'node24';
|
|
2082
|
+
} | {
|
|
2083
|
+
kind: 'host';
|
|
2084
|
+
};
|
|
2085
|
+
envJson?: Array<{
|
|
2086
|
+
name: string;
|
|
2087
|
+
source: 'value';
|
|
2088
|
+
value: string;
|
|
2089
|
+
secret: boolean;
|
|
2090
|
+
applies: 'agent' | 'setup' | 'both';
|
|
2091
|
+
} | {
|
|
2092
|
+
name: string;
|
|
2093
|
+
source: 'inherit';
|
|
2094
|
+
from: string;
|
|
2095
|
+
secret: boolean;
|
|
2096
|
+
optional: boolean;
|
|
2097
|
+
default?: string;
|
|
2098
|
+
mcp?: string;
|
|
2099
|
+
applies: 'agent' | 'setup' | 'both';
|
|
2100
|
+
} | {
|
|
2101
|
+
name: string;
|
|
2102
|
+
source: 'secret';
|
|
2103
|
+
secretName: string;
|
|
2104
|
+
applies: 'agent' | 'setup' | 'both';
|
|
2105
|
+
}> | null;
|
|
2106
|
+
connectors?: Array<string>;
|
|
2107
|
+
} | null;
|
|
1966
2108
|
inputSchemaJson: {
|
|
1967
2109
|
[key: string]: unknown;
|
|
1968
2110
|
};
|
|
@@ -2026,6 +2168,16 @@ export type PostApiStepDefinitionsResponses = {
|
|
|
2026
2168
|
execution?: number;
|
|
2027
2169
|
};
|
|
2028
2170
|
protocol?: 'legacy' | 'auto' | '2026-07-28';
|
|
2171
|
+
workerVars?: Array<{
|
|
2172
|
+
name: string;
|
|
2173
|
+
source: 'inherit';
|
|
2174
|
+
from: string;
|
|
2175
|
+
secret: boolean;
|
|
2176
|
+
optional: boolean;
|
|
2177
|
+
default?: string;
|
|
2178
|
+
mcp?: string;
|
|
2179
|
+
applies: 'agent';
|
|
2180
|
+
}>;
|
|
2029
2181
|
} | {
|
|
2030
2182
|
type: 'remote';
|
|
2031
2183
|
url: string;
|
|
@@ -2048,9 +2200,29 @@ export type PostApiStepDefinitionsResponses = {
|
|
|
2048
2200
|
execution?: number;
|
|
2049
2201
|
};
|
|
2050
2202
|
protocol?: 'legacy' | 'auto' | '2026-07-28';
|
|
2203
|
+
workerVars?: Array<{
|
|
2204
|
+
name: string;
|
|
2205
|
+
source: 'inherit';
|
|
2206
|
+
from: string;
|
|
2207
|
+
secret: boolean;
|
|
2208
|
+
optional: boolean;
|
|
2209
|
+
default?: string;
|
|
2210
|
+
mcp?: string;
|
|
2211
|
+
applies: 'agent';
|
|
2212
|
+
}>;
|
|
2051
2213
|
} | {
|
|
2052
2214
|
type: 'ref';
|
|
2053
2215
|
name?: string;
|
|
2216
|
+
workerVars?: Array<{
|
|
2217
|
+
name: string;
|
|
2218
|
+
source: 'inherit';
|
|
2219
|
+
from: string;
|
|
2220
|
+
secret: boolean;
|
|
2221
|
+
optional: boolean;
|
|
2222
|
+
default?: string;
|
|
2223
|
+
mcp?: string;
|
|
2224
|
+
applies: 'agent';
|
|
2225
|
+
}>;
|
|
2054
2226
|
disabled?: boolean;
|
|
2055
2227
|
codemode?: boolean;
|
|
2056
2228
|
timeout?: {
|
|
@@ -2081,34 +2253,21 @@ export type PostApiStepDefinitionsResponses = {
|
|
|
2081
2253
|
command: Array<string>;
|
|
2082
2254
|
expectExitCode: number;
|
|
2083
2255
|
}> | null;
|
|
2084
|
-
envJson: Array<{
|
|
2085
|
-
name: string;
|
|
2086
|
-
source: 'value';
|
|
2087
|
-
value: string;
|
|
2088
|
-
secret: boolean;
|
|
2089
|
-
applies: 'agent' | 'setup' | 'both';
|
|
2090
|
-
} | {
|
|
2091
|
-
name: string;
|
|
2092
|
-
source: 'inherit';
|
|
2093
|
-
from: string;
|
|
2094
|
-
secret: boolean;
|
|
2095
|
-
optional: boolean;
|
|
2096
|
-
default?: string;
|
|
2097
|
-
mcp?: string;
|
|
2098
|
-
applies: 'agent' | 'setup' | 'both';
|
|
2099
|
-
}> | null;
|
|
2100
|
-
devcontainerConfigPath: string | null;
|
|
2101
|
-
managedRuntime: 'bun1' | 'node24' | null;
|
|
2102
2256
|
repo: {
|
|
2103
|
-
mode: 'none';
|
|
2104
|
-
} | {
|
|
2105
2257
|
mode: 'readOnly';
|
|
2106
2258
|
gitCredentials: 'auto' | 'none';
|
|
2259
|
+
baseBranch: string | null;
|
|
2107
2260
|
} | {
|
|
2108
2261
|
mode: 'readWrite';
|
|
2109
2262
|
message: string | null;
|
|
2110
2263
|
onPushFailure: 'fail' | 'warn';
|
|
2111
2264
|
gitCredentials: 'auto' | 'none';
|
|
2265
|
+
baseBranch: string | null;
|
|
2266
|
+
workBranch: {
|
|
2267
|
+
kind: 'create';
|
|
2268
|
+
} | {
|
|
2269
|
+
kind: 'base';
|
|
2270
|
+
};
|
|
2112
2271
|
};
|
|
2113
2272
|
status: 'draft' | 'active' | 'archived';
|
|
2114
2273
|
createdAt: string;
|
|
@@ -2128,7 +2287,43 @@ export type PutApiStepDefinitionsData = {
|
|
|
2128
2287
|
entrypointJson?: {
|
|
2129
2288
|
sourceFile: string;
|
|
2130
2289
|
} | null;
|
|
2131
|
-
|
|
2290
|
+
environment?: {
|
|
2291
|
+
kind: 'named';
|
|
2292
|
+
name: string;
|
|
2293
|
+
} | {
|
|
2294
|
+
kind: 'inline';
|
|
2295
|
+
runtime?: {
|
|
2296
|
+
kind: 'devcontainer';
|
|
2297
|
+
config?: string;
|
|
2298
|
+
} | {
|
|
2299
|
+
kind: 'managed';
|
|
2300
|
+
id: 'bun1' | 'node24';
|
|
2301
|
+
} | {
|
|
2302
|
+
kind: 'host';
|
|
2303
|
+
};
|
|
2304
|
+
envJson?: Array<{
|
|
2305
|
+
name: string;
|
|
2306
|
+
source: 'value';
|
|
2307
|
+
value: string;
|
|
2308
|
+
secret: boolean;
|
|
2309
|
+
applies?: 'agent' | 'setup' | 'both';
|
|
2310
|
+
} | {
|
|
2311
|
+
name: string;
|
|
2312
|
+
source: 'inherit';
|
|
2313
|
+
from: string;
|
|
2314
|
+
secret: boolean;
|
|
2315
|
+
optional: boolean;
|
|
2316
|
+
default?: string;
|
|
2317
|
+
mcp?: string;
|
|
2318
|
+
applies?: 'agent' | 'setup' | 'both';
|
|
2319
|
+
} | {
|
|
2320
|
+
name: string;
|
|
2321
|
+
source: 'secret';
|
|
2322
|
+
secretName: string;
|
|
2323
|
+
applies?: 'agent' | 'setup' | 'both';
|
|
2324
|
+
}> | null;
|
|
2325
|
+
connectors?: Array<string>;
|
|
2326
|
+
} | null;
|
|
2132
2327
|
inputSchemaJson: {
|
|
2133
2328
|
[key: string]: unknown;
|
|
2134
2329
|
};
|
|
@@ -2192,6 +2387,16 @@ export type PutApiStepDefinitionsData = {
|
|
|
2192
2387
|
execution?: number;
|
|
2193
2388
|
};
|
|
2194
2389
|
protocol?: 'legacy' | 'auto' | '2026-07-28';
|
|
2390
|
+
workerVars?: Array<{
|
|
2391
|
+
name: string;
|
|
2392
|
+
source: 'inherit';
|
|
2393
|
+
from: string;
|
|
2394
|
+
secret: boolean;
|
|
2395
|
+
optional: boolean;
|
|
2396
|
+
default?: string;
|
|
2397
|
+
mcp?: string;
|
|
2398
|
+
applies: 'agent';
|
|
2399
|
+
}>;
|
|
2195
2400
|
} | {
|
|
2196
2401
|
type: 'remote';
|
|
2197
2402
|
url: string;
|
|
@@ -2214,9 +2419,29 @@ export type PutApiStepDefinitionsData = {
|
|
|
2214
2419
|
execution?: number;
|
|
2215
2420
|
};
|
|
2216
2421
|
protocol?: 'legacy' | 'auto' | '2026-07-28';
|
|
2422
|
+
workerVars?: Array<{
|
|
2423
|
+
name: string;
|
|
2424
|
+
source: 'inherit';
|
|
2425
|
+
from: string;
|
|
2426
|
+
secret: boolean;
|
|
2427
|
+
optional: boolean;
|
|
2428
|
+
default?: string;
|
|
2429
|
+
mcp?: string;
|
|
2430
|
+
applies: 'agent';
|
|
2431
|
+
}>;
|
|
2217
2432
|
} | {
|
|
2218
2433
|
type: 'ref';
|
|
2219
2434
|
name?: string;
|
|
2435
|
+
workerVars?: Array<{
|
|
2436
|
+
name: string;
|
|
2437
|
+
source: 'inherit';
|
|
2438
|
+
from: string;
|
|
2439
|
+
secret: boolean;
|
|
2440
|
+
optional: boolean;
|
|
2441
|
+
default?: string;
|
|
2442
|
+
mcp?: string;
|
|
2443
|
+
applies: 'agent';
|
|
2444
|
+
}>;
|
|
2220
2445
|
disabled?: boolean;
|
|
2221
2446
|
codemode?: boolean;
|
|
2222
2447
|
timeout?: {
|
|
@@ -2247,34 +2472,21 @@ export type PutApiStepDefinitionsData = {
|
|
|
2247
2472
|
command: Array<string>;
|
|
2248
2473
|
expectExitCode?: number;
|
|
2249
2474
|
}> | null;
|
|
2250
|
-
envJson?: Array<{
|
|
2251
|
-
name: string;
|
|
2252
|
-
source: 'value';
|
|
2253
|
-
value: string;
|
|
2254
|
-
secret: boolean;
|
|
2255
|
-
applies?: 'agent' | 'setup' | 'both';
|
|
2256
|
-
} | {
|
|
2257
|
-
name: string;
|
|
2258
|
-
source: 'inherit';
|
|
2259
|
-
from: string;
|
|
2260
|
-
secret: boolean;
|
|
2261
|
-
optional: boolean;
|
|
2262
|
-
default?: string;
|
|
2263
|
-
mcp?: string;
|
|
2264
|
-
applies?: 'agent' | 'setup' | 'both';
|
|
2265
|
-
}> | null;
|
|
2266
|
-
devcontainerConfigPath?: string | null;
|
|
2267
|
-
managedRuntime?: 'bun1' | 'node24' | null;
|
|
2268
2475
|
repo?: {
|
|
2269
|
-
mode: 'none';
|
|
2270
|
-
} | {
|
|
2271
2476
|
mode: 'readOnly';
|
|
2272
2477
|
gitCredentials?: 'auto' | 'none';
|
|
2478
|
+
baseBranch?: string | null;
|
|
2273
2479
|
} | {
|
|
2274
2480
|
mode: 'readWrite';
|
|
2275
2481
|
message?: string | null;
|
|
2276
2482
|
onPushFailure?: 'fail' | 'warn';
|
|
2277
2483
|
gitCredentials?: 'auto' | 'none';
|
|
2484
|
+
baseBranch?: string | null;
|
|
2485
|
+
workBranch?: {
|
|
2486
|
+
kind: 'create';
|
|
2487
|
+
} | {
|
|
2488
|
+
kind: 'base';
|
|
2489
|
+
};
|
|
2278
2490
|
};
|
|
2279
2491
|
status: 'draft' | 'active' | 'archived';
|
|
2280
2492
|
};
|
|
@@ -2396,7 +2608,43 @@ export type PutApiStepDefinitionsResponses = {
|
|
|
2396
2608
|
entrypointJson: {
|
|
2397
2609
|
sourceFile: string;
|
|
2398
2610
|
} | null;
|
|
2399
|
-
|
|
2611
|
+
environment: {
|
|
2612
|
+
kind: 'named';
|
|
2613
|
+
name: string;
|
|
2614
|
+
} | {
|
|
2615
|
+
kind: 'inline';
|
|
2616
|
+
runtime?: {
|
|
2617
|
+
kind: 'devcontainer';
|
|
2618
|
+
config?: string;
|
|
2619
|
+
} | {
|
|
2620
|
+
kind: 'managed';
|
|
2621
|
+
id: 'bun1' | 'node24';
|
|
2622
|
+
} | {
|
|
2623
|
+
kind: 'host';
|
|
2624
|
+
};
|
|
2625
|
+
envJson?: Array<{
|
|
2626
|
+
name: string;
|
|
2627
|
+
source: 'value';
|
|
2628
|
+
value: string;
|
|
2629
|
+
secret: boolean;
|
|
2630
|
+
applies: 'agent' | 'setup' | 'both';
|
|
2631
|
+
} | {
|
|
2632
|
+
name: string;
|
|
2633
|
+
source: 'inherit';
|
|
2634
|
+
from: string;
|
|
2635
|
+
secret: boolean;
|
|
2636
|
+
optional: boolean;
|
|
2637
|
+
default?: string;
|
|
2638
|
+
mcp?: string;
|
|
2639
|
+
applies: 'agent' | 'setup' | 'both';
|
|
2640
|
+
} | {
|
|
2641
|
+
name: string;
|
|
2642
|
+
source: 'secret';
|
|
2643
|
+
secretName: string;
|
|
2644
|
+
applies: 'agent' | 'setup' | 'both';
|
|
2645
|
+
}> | null;
|
|
2646
|
+
connectors?: Array<string>;
|
|
2647
|
+
} | null;
|
|
2400
2648
|
inputSchemaJson: {
|
|
2401
2649
|
[key: string]: unknown;
|
|
2402
2650
|
};
|
|
@@ -2460,6 +2708,16 @@ export type PutApiStepDefinitionsResponses = {
|
|
|
2460
2708
|
execution?: number;
|
|
2461
2709
|
};
|
|
2462
2710
|
protocol?: 'legacy' | 'auto' | '2026-07-28';
|
|
2711
|
+
workerVars?: Array<{
|
|
2712
|
+
name: string;
|
|
2713
|
+
source: 'inherit';
|
|
2714
|
+
from: string;
|
|
2715
|
+
secret: boolean;
|
|
2716
|
+
optional: boolean;
|
|
2717
|
+
default?: string;
|
|
2718
|
+
mcp?: string;
|
|
2719
|
+
applies: 'agent';
|
|
2720
|
+
}>;
|
|
2463
2721
|
} | {
|
|
2464
2722
|
type: 'remote';
|
|
2465
2723
|
url: string;
|
|
@@ -2482,9 +2740,29 @@ export type PutApiStepDefinitionsResponses = {
|
|
|
2482
2740
|
execution?: number;
|
|
2483
2741
|
};
|
|
2484
2742
|
protocol?: 'legacy' | 'auto' | '2026-07-28';
|
|
2743
|
+
workerVars?: Array<{
|
|
2744
|
+
name: string;
|
|
2745
|
+
source: 'inherit';
|
|
2746
|
+
from: string;
|
|
2747
|
+
secret: boolean;
|
|
2748
|
+
optional: boolean;
|
|
2749
|
+
default?: string;
|
|
2750
|
+
mcp?: string;
|
|
2751
|
+
applies: 'agent';
|
|
2752
|
+
}>;
|
|
2485
2753
|
} | {
|
|
2486
2754
|
type: 'ref';
|
|
2487
2755
|
name?: string;
|
|
2756
|
+
workerVars?: Array<{
|
|
2757
|
+
name: string;
|
|
2758
|
+
source: 'inherit';
|
|
2759
|
+
from: string;
|
|
2760
|
+
secret: boolean;
|
|
2761
|
+
optional: boolean;
|
|
2762
|
+
default?: string;
|
|
2763
|
+
mcp?: string;
|
|
2764
|
+
applies: 'agent';
|
|
2765
|
+
}>;
|
|
2488
2766
|
disabled?: boolean;
|
|
2489
2767
|
codemode?: boolean;
|
|
2490
2768
|
timeout?: {
|
|
@@ -2515,34 +2793,21 @@ export type PutApiStepDefinitionsResponses = {
|
|
|
2515
2793
|
command: Array<string>;
|
|
2516
2794
|
expectExitCode: number;
|
|
2517
2795
|
}> | null;
|
|
2518
|
-
envJson: Array<{
|
|
2519
|
-
name: string;
|
|
2520
|
-
source: 'value';
|
|
2521
|
-
value: string;
|
|
2522
|
-
secret: boolean;
|
|
2523
|
-
applies: 'agent' | 'setup' | 'both';
|
|
2524
|
-
} | {
|
|
2525
|
-
name: string;
|
|
2526
|
-
source: 'inherit';
|
|
2527
|
-
from: string;
|
|
2528
|
-
secret: boolean;
|
|
2529
|
-
optional: boolean;
|
|
2530
|
-
default?: string;
|
|
2531
|
-
mcp?: string;
|
|
2532
|
-
applies: 'agent' | 'setup' | 'both';
|
|
2533
|
-
}> | null;
|
|
2534
|
-
devcontainerConfigPath: string | null;
|
|
2535
|
-
managedRuntime: 'bun1' | 'node24' | null;
|
|
2536
2796
|
repo: {
|
|
2537
|
-
mode: 'none';
|
|
2538
|
-
} | {
|
|
2539
2797
|
mode: 'readOnly';
|
|
2540
2798
|
gitCredentials: 'auto' | 'none';
|
|
2799
|
+
baseBranch: string | null;
|
|
2541
2800
|
} | {
|
|
2542
2801
|
mode: 'readWrite';
|
|
2543
2802
|
message: string | null;
|
|
2544
2803
|
onPushFailure: 'fail' | 'warn';
|
|
2545
2804
|
gitCredentials: 'auto' | 'none';
|
|
2805
|
+
baseBranch: string | null;
|
|
2806
|
+
workBranch: {
|
|
2807
|
+
kind: 'create';
|
|
2808
|
+
} | {
|
|
2809
|
+
kind: 'base';
|
|
2810
|
+
};
|
|
2546
2811
|
};
|
|
2547
2812
|
status: 'draft' | 'active' | 'archived';
|
|
2548
2813
|
createdAt: string;
|
|
@@ -2672,7 +2937,43 @@ export type GetApiStepDefinitionsByStepDefinitionIdResponses = {
|
|
|
2672
2937
|
entrypointJson: {
|
|
2673
2938
|
sourceFile: string;
|
|
2674
2939
|
} | null;
|
|
2675
|
-
|
|
2940
|
+
environment: {
|
|
2941
|
+
kind: 'named';
|
|
2942
|
+
name: string;
|
|
2943
|
+
} | {
|
|
2944
|
+
kind: 'inline';
|
|
2945
|
+
runtime?: {
|
|
2946
|
+
kind: 'devcontainer';
|
|
2947
|
+
config?: string;
|
|
2948
|
+
} | {
|
|
2949
|
+
kind: 'managed';
|
|
2950
|
+
id: 'bun1' | 'node24';
|
|
2951
|
+
} | {
|
|
2952
|
+
kind: 'host';
|
|
2953
|
+
};
|
|
2954
|
+
envJson?: Array<{
|
|
2955
|
+
name: string;
|
|
2956
|
+
source: 'value';
|
|
2957
|
+
value: string;
|
|
2958
|
+
secret: boolean;
|
|
2959
|
+
applies: 'agent' | 'setup' | 'both';
|
|
2960
|
+
} | {
|
|
2961
|
+
name: string;
|
|
2962
|
+
source: 'inherit';
|
|
2963
|
+
from: string;
|
|
2964
|
+
secret: boolean;
|
|
2965
|
+
optional: boolean;
|
|
2966
|
+
default?: string;
|
|
2967
|
+
mcp?: string;
|
|
2968
|
+
applies: 'agent' | 'setup' | 'both';
|
|
2969
|
+
} | {
|
|
2970
|
+
name: string;
|
|
2971
|
+
source: 'secret';
|
|
2972
|
+
secretName: string;
|
|
2973
|
+
applies: 'agent' | 'setup' | 'both';
|
|
2974
|
+
}> | null;
|
|
2975
|
+
connectors?: Array<string>;
|
|
2976
|
+
} | null;
|
|
2676
2977
|
inputSchemaJson: {
|
|
2677
2978
|
[key: string]: unknown;
|
|
2678
2979
|
};
|
|
@@ -2736,6 +3037,16 @@ export type GetApiStepDefinitionsByStepDefinitionIdResponses = {
|
|
|
2736
3037
|
execution?: number;
|
|
2737
3038
|
};
|
|
2738
3039
|
protocol?: 'legacy' | 'auto' | '2026-07-28';
|
|
3040
|
+
workerVars?: Array<{
|
|
3041
|
+
name: string;
|
|
3042
|
+
source: 'inherit';
|
|
3043
|
+
from: string;
|
|
3044
|
+
secret: boolean;
|
|
3045
|
+
optional: boolean;
|
|
3046
|
+
default?: string;
|
|
3047
|
+
mcp?: string;
|
|
3048
|
+
applies: 'agent';
|
|
3049
|
+
}>;
|
|
2739
3050
|
} | {
|
|
2740
3051
|
type: 'remote';
|
|
2741
3052
|
url: string;
|
|
@@ -2758,9 +3069,29 @@ export type GetApiStepDefinitionsByStepDefinitionIdResponses = {
|
|
|
2758
3069
|
execution?: number;
|
|
2759
3070
|
};
|
|
2760
3071
|
protocol?: 'legacy' | 'auto' | '2026-07-28';
|
|
3072
|
+
workerVars?: Array<{
|
|
3073
|
+
name: string;
|
|
3074
|
+
source: 'inherit';
|
|
3075
|
+
from: string;
|
|
3076
|
+
secret: boolean;
|
|
3077
|
+
optional: boolean;
|
|
3078
|
+
default?: string;
|
|
3079
|
+
mcp?: string;
|
|
3080
|
+
applies: 'agent';
|
|
3081
|
+
}>;
|
|
2761
3082
|
} | {
|
|
2762
3083
|
type: 'ref';
|
|
2763
3084
|
name?: string;
|
|
3085
|
+
workerVars?: Array<{
|
|
3086
|
+
name: string;
|
|
3087
|
+
source: 'inherit';
|
|
3088
|
+
from: string;
|
|
3089
|
+
secret: boolean;
|
|
3090
|
+
optional: boolean;
|
|
3091
|
+
default?: string;
|
|
3092
|
+
mcp?: string;
|
|
3093
|
+
applies: 'agent';
|
|
3094
|
+
}>;
|
|
2764
3095
|
disabled?: boolean;
|
|
2765
3096
|
codemode?: boolean;
|
|
2766
3097
|
timeout?: {
|
|
@@ -2791,34 +3122,21 @@ export type GetApiStepDefinitionsByStepDefinitionIdResponses = {
|
|
|
2791
3122
|
command: Array<string>;
|
|
2792
3123
|
expectExitCode: number;
|
|
2793
3124
|
}> | null;
|
|
2794
|
-
envJson: Array<{
|
|
2795
|
-
name: string;
|
|
2796
|
-
source: 'value';
|
|
2797
|
-
value: string;
|
|
2798
|
-
secret: boolean;
|
|
2799
|
-
applies: 'agent' | 'setup' | 'both';
|
|
2800
|
-
} | {
|
|
2801
|
-
name: string;
|
|
2802
|
-
source: 'inherit';
|
|
2803
|
-
from: string;
|
|
2804
|
-
secret: boolean;
|
|
2805
|
-
optional: boolean;
|
|
2806
|
-
default?: string;
|
|
2807
|
-
mcp?: string;
|
|
2808
|
-
applies: 'agent' | 'setup' | 'both';
|
|
2809
|
-
}> | null;
|
|
2810
|
-
devcontainerConfigPath: string | null;
|
|
2811
|
-
managedRuntime: 'bun1' | 'node24' | null;
|
|
2812
3125
|
repo: {
|
|
2813
|
-
mode: 'none';
|
|
2814
|
-
} | {
|
|
2815
3126
|
mode: 'readOnly';
|
|
2816
3127
|
gitCredentials: 'auto' | 'none';
|
|
3128
|
+
baseBranch: string | null;
|
|
2817
3129
|
} | {
|
|
2818
3130
|
mode: 'readWrite';
|
|
2819
3131
|
message: string | null;
|
|
2820
3132
|
onPushFailure: 'fail' | 'warn';
|
|
2821
3133
|
gitCredentials: 'auto' | 'none';
|
|
3134
|
+
baseBranch: string | null;
|
|
3135
|
+
workBranch: {
|
|
3136
|
+
kind: 'create';
|
|
3137
|
+
} | {
|
|
3138
|
+
kind: 'base';
|
|
3139
|
+
};
|
|
2822
3140
|
};
|
|
2823
3141
|
status: 'draft' | 'active' | 'archived';
|
|
2824
3142
|
createdAt: string;
|
|
@@ -2948,26 +3266,62 @@ export type PutApiStepDefinitionsByStepDefinitionIdArchiveResponses = {
|
|
|
2948
3266
|
entrypointJson: {
|
|
2949
3267
|
sourceFile: string;
|
|
2950
3268
|
} | null;
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
}
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
3269
|
+
environment: {
|
|
3270
|
+
kind: 'named';
|
|
3271
|
+
name: string;
|
|
3272
|
+
} | {
|
|
3273
|
+
kind: 'inline';
|
|
3274
|
+
runtime?: {
|
|
3275
|
+
kind: 'devcontainer';
|
|
3276
|
+
config?: string;
|
|
3277
|
+
} | {
|
|
3278
|
+
kind: 'managed';
|
|
3279
|
+
id: 'bun1' | 'node24';
|
|
3280
|
+
} | {
|
|
3281
|
+
kind: 'host';
|
|
3282
|
+
};
|
|
3283
|
+
envJson?: Array<{
|
|
3284
|
+
name: string;
|
|
3285
|
+
source: 'value';
|
|
3286
|
+
value: string;
|
|
3287
|
+
secret: boolean;
|
|
3288
|
+
applies: 'agent' | 'setup' | 'both';
|
|
3289
|
+
} | {
|
|
3290
|
+
name: string;
|
|
3291
|
+
source: 'inherit';
|
|
3292
|
+
from: string;
|
|
3293
|
+
secret: boolean;
|
|
3294
|
+
optional: boolean;
|
|
3295
|
+
default?: string;
|
|
3296
|
+
mcp?: string;
|
|
3297
|
+
applies: 'agent' | 'setup' | 'both';
|
|
3298
|
+
} | {
|
|
3299
|
+
name: string;
|
|
3300
|
+
source: 'secret';
|
|
3301
|
+
secretName: string;
|
|
3302
|
+
applies: 'agent' | 'setup' | 'both';
|
|
3303
|
+
}> | null;
|
|
3304
|
+
connectors?: Array<string>;
|
|
3305
|
+
} | null;
|
|
3306
|
+
inputSchemaJson: {
|
|
3307
|
+
[key: string]: unknown;
|
|
3308
|
+
};
|
|
3309
|
+
resultSchemaJson: {
|
|
3310
|
+
[key: string]: unknown;
|
|
3311
|
+
} | null;
|
|
3312
|
+
errors: Array<string>;
|
|
3313
|
+
retry: Array<{
|
|
3314
|
+
on: Array<string>;
|
|
3315
|
+
maxAttempts: number;
|
|
3316
|
+
}>;
|
|
3317
|
+
grants: Array<{
|
|
3318
|
+
resource: 'workItem';
|
|
3319
|
+
action: 'read';
|
|
3320
|
+
scope: 'self' | 'children' | 'project';
|
|
3321
|
+
} | {
|
|
3322
|
+
resource: 'workItem';
|
|
3323
|
+
action: 'update';
|
|
3324
|
+
scope: 'self' | 'children';
|
|
2971
3325
|
} | {
|
|
2972
3326
|
resource: 'workItem';
|
|
2973
3327
|
action: 'comment';
|
|
@@ -3012,6 +3366,16 @@ export type PutApiStepDefinitionsByStepDefinitionIdArchiveResponses = {
|
|
|
3012
3366
|
execution?: number;
|
|
3013
3367
|
};
|
|
3014
3368
|
protocol?: 'legacy' | 'auto' | '2026-07-28';
|
|
3369
|
+
workerVars?: Array<{
|
|
3370
|
+
name: string;
|
|
3371
|
+
source: 'inherit';
|
|
3372
|
+
from: string;
|
|
3373
|
+
secret: boolean;
|
|
3374
|
+
optional: boolean;
|
|
3375
|
+
default?: string;
|
|
3376
|
+
mcp?: string;
|
|
3377
|
+
applies: 'agent';
|
|
3378
|
+
}>;
|
|
3015
3379
|
} | {
|
|
3016
3380
|
type: 'remote';
|
|
3017
3381
|
url: string;
|
|
@@ -3034,9 +3398,29 @@ export type PutApiStepDefinitionsByStepDefinitionIdArchiveResponses = {
|
|
|
3034
3398
|
execution?: number;
|
|
3035
3399
|
};
|
|
3036
3400
|
protocol?: 'legacy' | 'auto' | '2026-07-28';
|
|
3401
|
+
workerVars?: Array<{
|
|
3402
|
+
name: string;
|
|
3403
|
+
source: 'inherit';
|
|
3404
|
+
from: string;
|
|
3405
|
+
secret: boolean;
|
|
3406
|
+
optional: boolean;
|
|
3407
|
+
default?: string;
|
|
3408
|
+
mcp?: string;
|
|
3409
|
+
applies: 'agent';
|
|
3410
|
+
}>;
|
|
3037
3411
|
} | {
|
|
3038
3412
|
type: 'ref';
|
|
3039
3413
|
name?: string;
|
|
3414
|
+
workerVars?: Array<{
|
|
3415
|
+
name: string;
|
|
3416
|
+
source: 'inherit';
|
|
3417
|
+
from: string;
|
|
3418
|
+
secret: boolean;
|
|
3419
|
+
optional: boolean;
|
|
3420
|
+
default?: string;
|
|
3421
|
+
mcp?: string;
|
|
3422
|
+
applies: 'agent';
|
|
3423
|
+
}>;
|
|
3040
3424
|
disabled?: boolean;
|
|
3041
3425
|
codemode?: boolean;
|
|
3042
3426
|
timeout?: {
|
|
@@ -3067,34 +3451,21 @@ export type PutApiStepDefinitionsByStepDefinitionIdArchiveResponses = {
|
|
|
3067
3451
|
command: Array<string>;
|
|
3068
3452
|
expectExitCode: number;
|
|
3069
3453
|
}> | null;
|
|
3070
|
-
envJson: Array<{
|
|
3071
|
-
name: string;
|
|
3072
|
-
source: 'value';
|
|
3073
|
-
value: string;
|
|
3074
|
-
secret: boolean;
|
|
3075
|
-
applies: 'agent' | 'setup' | 'both';
|
|
3076
|
-
} | {
|
|
3077
|
-
name: string;
|
|
3078
|
-
source: 'inherit';
|
|
3079
|
-
from: string;
|
|
3080
|
-
secret: boolean;
|
|
3081
|
-
optional: boolean;
|
|
3082
|
-
default?: string;
|
|
3083
|
-
mcp?: string;
|
|
3084
|
-
applies: 'agent' | 'setup' | 'both';
|
|
3085
|
-
}> | null;
|
|
3086
|
-
devcontainerConfigPath: string | null;
|
|
3087
|
-
managedRuntime: 'bun1' | 'node24' | null;
|
|
3088
3454
|
repo: {
|
|
3089
|
-
mode: 'none';
|
|
3090
|
-
} | {
|
|
3091
3455
|
mode: 'readOnly';
|
|
3092
3456
|
gitCredentials: 'auto' | 'none';
|
|
3457
|
+
baseBranch: string | null;
|
|
3093
3458
|
} | {
|
|
3094
3459
|
mode: 'readWrite';
|
|
3095
3460
|
message: string | null;
|
|
3096
3461
|
onPushFailure: 'fail' | 'warn';
|
|
3097
3462
|
gitCredentials: 'auto' | 'none';
|
|
3463
|
+
baseBranch: string | null;
|
|
3464
|
+
workBranch: {
|
|
3465
|
+
kind: 'create';
|
|
3466
|
+
} | {
|
|
3467
|
+
kind: 'base';
|
|
3468
|
+
};
|
|
3098
3469
|
};
|
|
3099
3470
|
status: 'draft' | 'active' | 'archived';
|
|
3100
3471
|
createdAt: string;
|
|
@@ -4829,36 +5200,98 @@ export type PostApiTaskRunsByTaskRunIdWorkerContextResponses = {
|
|
|
4829
5200
|
}>;
|
|
4830
5201
|
};
|
|
4831
5202
|
runtime: {
|
|
4832
|
-
|
|
4833
|
-
|
|
4834
|
-
|
|
4835
|
-
|
|
4836
|
-
|
|
5203
|
+
environment: {
|
|
5204
|
+
kind: 'inline';
|
|
5205
|
+
runtime?: {
|
|
5206
|
+
kind: 'devcontainer';
|
|
5207
|
+
config?: string;
|
|
5208
|
+
} | {
|
|
5209
|
+
kind: 'managed';
|
|
5210
|
+
id: 'bun1' | 'node24';
|
|
5211
|
+
} | {
|
|
5212
|
+
kind: 'host';
|
|
5213
|
+
};
|
|
5214
|
+
envJson?: Array<{
|
|
5215
|
+
name: string;
|
|
5216
|
+
source: 'value';
|
|
5217
|
+
value: string;
|
|
5218
|
+
secret: boolean;
|
|
5219
|
+
applies: 'agent' | 'setup' | 'both';
|
|
5220
|
+
} | {
|
|
5221
|
+
name: string;
|
|
5222
|
+
source: 'inherit';
|
|
5223
|
+
from: string;
|
|
5224
|
+
secret: boolean;
|
|
5225
|
+
optional: boolean;
|
|
5226
|
+
default?: string;
|
|
5227
|
+
mcp?: string;
|
|
5228
|
+
applies: 'agent' | 'setup' | 'both';
|
|
5229
|
+
} | {
|
|
5230
|
+
name: string;
|
|
5231
|
+
source: 'secret';
|
|
5232
|
+
secretName: string;
|
|
5233
|
+
applies: 'agent' | 'setup' | 'both';
|
|
5234
|
+
}> | null;
|
|
5235
|
+
connectors?: Array<string>;
|
|
5236
|
+
} | {
|
|
5237
|
+
kind: 'named';
|
|
5238
|
+
name: string;
|
|
5239
|
+
version: number;
|
|
5240
|
+
content: {
|
|
5241
|
+
runtime?: {
|
|
5242
|
+
kind: 'devcontainer';
|
|
5243
|
+
config?: string;
|
|
5244
|
+
} | {
|
|
5245
|
+
kind: 'managed';
|
|
5246
|
+
id: 'bun1' | 'node24';
|
|
5247
|
+
} | {
|
|
5248
|
+
kind: 'host';
|
|
5249
|
+
};
|
|
5250
|
+
vars?: Array<{
|
|
5251
|
+
name: string;
|
|
5252
|
+
source: 'value';
|
|
5253
|
+
value: string;
|
|
5254
|
+
secret: boolean;
|
|
5255
|
+
applies: 'agent' | 'setup' | 'both';
|
|
5256
|
+
} | {
|
|
5257
|
+
name: string;
|
|
5258
|
+
source: 'inherit';
|
|
5259
|
+
from: string;
|
|
5260
|
+
secret: boolean;
|
|
5261
|
+
optional: boolean;
|
|
5262
|
+
default?: string;
|
|
5263
|
+
mcp?: string;
|
|
5264
|
+
applies: 'agent' | 'setup' | 'both';
|
|
5265
|
+
} | {
|
|
5266
|
+
name: string;
|
|
5267
|
+
source: 'secret';
|
|
5268
|
+
secretName: string;
|
|
5269
|
+
applies: 'agent' | 'setup' | 'both';
|
|
5270
|
+
}>;
|
|
5271
|
+
connectors?: Array<string>;
|
|
5272
|
+
description?: string;
|
|
5273
|
+
};
|
|
4837
5274
|
} | {
|
|
5275
|
+
kind: 'named';
|
|
5276
|
+
name: string;
|
|
5277
|
+
notFound: true;
|
|
5278
|
+
} | null;
|
|
5279
|
+
repo: {
|
|
4838
5280
|
mode: 'readOnly';
|
|
4839
5281
|
gitCredentials: 'auto' | 'none';
|
|
5282
|
+
baseBranch: string | null;
|
|
4840
5283
|
} | {
|
|
4841
5284
|
mode: 'readWrite';
|
|
4842
5285
|
message: string | null;
|
|
4843
5286
|
onPushFailure: 'fail' | 'warn';
|
|
4844
5287
|
gitCredentials: 'auto' | 'none';
|
|
5288
|
+
baseBranch: string | null;
|
|
5289
|
+
workBranch: {
|
|
5290
|
+
kind: 'create';
|
|
5291
|
+
} | {
|
|
5292
|
+
kind: 'base';
|
|
5293
|
+
};
|
|
4845
5294
|
};
|
|
4846
|
-
envJson: Array<{
|
|
4847
|
-
name: string;
|
|
4848
|
-
source: 'value';
|
|
4849
|
-
value: string;
|
|
4850
|
-
secret: boolean;
|
|
4851
|
-
applies: 'agent' | 'setup' | 'both';
|
|
4852
|
-
} | {
|
|
4853
|
-
name: string;
|
|
4854
|
-
source: 'inherit';
|
|
4855
|
-
from: string;
|
|
4856
|
-
secret: boolean;
|
|
4857
|
-
optional: boolean;
|
|
4858
|
-
default?: string;
|
|
4859
|
-
mcp?: string;
|
|
4860
|
-
applies: 'agent' | 'setup' | 'both';
|
|
4861
|
-
}> | null;
|
|
4862
5295
|
healthChecksJson: Array<{
|
|
4863
5296
|
name?: string;
|
|
4864
5297
|
severity: 'required' | 'warn';
|
|
@@ -4895,6 +5328,16 @@ export type PostApiTaskRunsByTaskRunIdWorkerContextResponses = {
|
|
|
4895
5328
|
execution?: number;
|
|
4896
5329
|
};
|
|
4897
5330
|
protocol?: 'legacy' | 'auto' | '2026-07-28';
|
|
5331
|
+
workerVars?: Array<{
|
|
5332
|
+
name: string;
|
|
5333
|
+
source: 'inherit';
|
|
5334
|
+
from: string;
|
|
5335
|
+
secret: boolean;
|
|
5336
|
+
optional: boolean;
|
|
5337
|
+
default?: string;
|
|
5338
|
+
mcp?: string;
|
|
5339
|
+
applies: 'agent';
|
|
5340
|
+
}>;
|
|
4898
5341
|
} | {
|
|
4899
5342
|
type: 'remote';
|
|
4900
5343
|
url: string;
|
|
@@ -4917,9 +5360,29 @@ export type PostApiTaskRunsByTaskRunIdWorkerContextResponses = {
|
|
|
4917
5360
|
execution?: number;
|
|
4918
5361
|
};
|
|
4919
5362
|
protocol?: 'legacy' | 'auto' | '2026-07-28';
|
|
5363
|
+
workerVars?: Array<{
|
|
5364
|
+
name: string;
|
|
5365
|
+
source: 'inherit';
|
|
5366
|
+
from: string;
|
|
5367
|
+
secret: boolean;
|
|
5368
|
+
optional: boolean;
|
|
5369
|
+
default?: string;
|
|
5370
|
+
mcp?: string;
|
|
5371
|
+
applies: 'agent';
|
|
5372
|
+
}>;
|
|
4920
5373
|
} | {
|
|
4921
5374
|
type: 'ref';
|
|
4922
5375
|
name?: string;
|
|
5376
|
+
workerVars?: Array<{
|
|
5377
|
+
name: string;
|
|
5378
|
+
source: 'inherit';
|
|
5379
|
+
from: string;
|
|
5380
|
+
secret: boolean;
|
|
5381
|
+
optional: boolean;
|
|
5382
|
+
default?: string;
|
|
5383
|
+
mcp?: string;
|
|
5384
|
+
applies: 'agent';
|
|
5385
|
+
}>;
|
|
4923
5386
|
disabled?: boolean;
|
|
4924
5387
|
codemode?: boolean;
|
|
4925
5388
|
timeout?: {
|
|
@@ -23916,3 +24379,1443 @@ export type DeleteApiMeSecretsBySecretIdUsesByIntegrationIdResponses = {
|
|
|
23916
24379
|
};
|
|
23917
24380
|
};
|
|
23918
24381
|
export type DeleteApiMeSecretsBySecretIdUsesByIntegrationIdResponse = DeleteApiMeSecretsBySecretIdUsesByIntegrationIdResponses[keyof DeleteApiMeSecretsBySecretIdUsesByIntegrationIdResponses];
|
|
24382
|
+
export type GetApiProjectsByProjectIdSecretsData = {
|
|
24383
|
+
body?: never;
|
|
24384
|
+
path: {
|
|
24385
|
+
projectId: string;
|
|
24386
|
+
};
|
|
24387
|
+
query?: never;
|
|
24388
|
+
url: '/api/projects/{projectId}/secrets';
|
|
24389
|
+
};
|
|
24390
|
+
export type GetApiProjectsByProjectIdSecretsErrors = {
|
|
24391
|
+
/**
|
|
24392
|
+
* Response for status 401
|
|
24393
|
+
*/
|
|
24394
|
+
401: {
|
|
24395
|
+
type: string;
|
|
24396
|
+
title: string;
|
|
24397
|
+
status: number;
|
|
24398
|
+
detail?: string;
|
|
24399
|
+
instance?: string;
|
|
24400
|
+
code?: string;
|
|
24401
|
+
errors?: Array<{
|
|
24402
|
+
path: string;
|
|
24403
|
+
message: string;
|
|
24404
|
+
summary?: string;
|
|
24405
|
+
}>;
|
|
24406
|
+
meta?: {
|
|
24407
|
+
[key: string]: unknown;
|
|
24408
|
+
};
|
|
24409
|
+
};
|
|
24410
|
+
/**
|
|
24411
|
+
* Response for status 403
|
|
24412
|
+
*/
|
|
24413
|
+
403: {
|
|
24414
|
+
type: string;
|
|
24415
|
+
title: string;
|
|
24416
|
+
status: number;
|
|
24417
|
+
detail?: string;
|
|
24418
|
+
instance?: string;
|
|
24419
|
+
code?: string;
|
|
24420
|
+
errors?: Array<{
|
|
24421
|
+
path: string;
|
|
24422
|
+
message: string;
|
|
24423
|
+
summary?: string;
|
|
24424
|
+
}>;
|
|
24425
|
+
meta?: {
|
|
24426
|
+
[key: string]: unknown;
|
|
24427
|
+
};
|
|
24428
|
+
};
|
|
24429
|
+
/**
|
|
24430
|
+
* Response for status 404
|
|
24431
|
+
*/
|
|
24432
|
+
404: {
|
|
24433
|
+
type: string;
|
|
24434
|
+
title: string;
|
|
24435
|
+
status: number;
|
|
24436
|
+
detail?: string;
|
|
24437
|
+
instance?: string;
|
|
24438
|
+
code?: string;
|
|
24439
|
+
errors?: Array<{
|
|
24440
|
+
path: string;
|
|
24441
|
+
message: string;
|
|
24442
|
+
summary?: string;
|
|
24443
|
+
}>;
|
|
24444
|
+
meta?: {
|
|
24445
|
+
[key: string]: unknown;
|
|
24446
|
+
};
|
|
24447
|
+
};
|
|
24448
|
+
/**
|
|
24449
|
+
* Response for status 422
|
|
24450
|
+
*/
|
|
24451
|
+
422: {
|
|
24452
|
+
type: string;
|
|
24453
|
+
title: string;
|
|
24454
|
+
status: number;
|
|
24455
|
+
detail?: string;
|
|
24456
|
+
instance?: string;
|
|
24457
|
+
code?: string;
|
|
24458
|
+
errors?: Array<{
|
|
24459
|
+
path: string;
|
|
24460
|
+
message: string;
|
|
24461
|
+
summary?: string;
|
|
24462
|
+
}>;
|
|
24463
|
+
meta?: {
|
|
24464
|
+
[key: string]: unknown;
|
|
24465
|
+
};
|
|
24466
|
+
};
|
|
24467
|
+
/**
|
|
24468
|
+
* Response for status 500
|
|
24469
|
+
*/
|
|
24470
|
+
500: {
|
|
24471
|
+
type: string;
|
|
24472
|
+
title: string;
|
|
24473
|
+
status: number;
|
|
24474
|
+
detail?: string;
|
|
24475
|
+
instance?: string;
|
|
24476
|
+
code?: string;
|
|
24477
|
+
errors?: Array<{
|
|
24478
|
+
path: string;
|
|
24479
|
+
message: string;
|
|
24480
|
+
summary?: string;
|
|
24481
|
+
}>;
|
|
24482
|
+
meta?: {
|
|
24483
|
+
[key: string]: unknown;
|
|
24484
|
+
};
|
|
24485
|
+
};
|
|
24486
|
+
};
|
|
24487
|
+
export type GetApiProjectsByProjectIdSecretsError = GetApiProjectsByProjectIdSecretsErrors[keyof GetApiProjectsByProjectIdSecretsErrors];
|
|
24488
|
+
export type GetApiProjectsByProjectIdSecretsResponses = {
|
|
24489
|
+
/**
|
|
24490
|
+
* Response for status 200
|
|
24491
|
+
*/
|
|
24492
|
+
200: Array<{
|
|
24493
|
+
id: string;
|
|
24494
|
+
projectId: string;
|
|
24495
|
+
name: string;
|
|
24496
|
+
lastFour: string;
|
|
24497
|
+
updatedBy: {
|
|
24498
|
+
userId: string;
|
|
24499
|
+
username: string | null;
|
|
24500
|
+
} | null;
|
|
24501
|
+
lastUsedAt: string | null;
|
|
24502
|
+
createdAt: string;
|
|
24503
|
+
updatedAt: string;
|
|
24504
|
+
}>;
|
|
24505
|
+
};
|
|
24506
|
+
export type GetApiProjectsByProjectIdSecretsResponse = GetApiProjectsByProjectIdSecretsResponses[keyof GetApiProjectsByProjectIdSecretsResponses];
|
|
24507
|
+
export type PostApiProjectsByProjectIdSecretsData = {
|
|
24508
|
+
body: {
|
|
24509
|
+
name: string;
|
|
24510
|
+
value: string;
|
|
24511
|
+
};
|
|
24512
|
+
path: {
|
|
24513
|
+
projectId: string;
|
|
24514
|
+
};
|
|
24515
|
+
query?: never;
|
|
24516
|
+
url: '/api/projects/{projectId}/secrets';
|
|
24517
|
+
};
|
|
24518
|
+
export type PostApiProjectsByProjectIdSecretsErrors = {
|
|
24519
|
+
/**
|
|
24520
|
+
* Response for status 401
|
|
24521
|
+
*/
|
|
24522
|
+
401: {
|
|
24523
|
+
type: string;
|
|
24524
|
+
title: string;
|
|
24525
|
+
status: number;
|
|
24526
|
+
detail?: string;
|
|
24527
|
+
instance?: string;
|
|
24528
|
+
code?: string;
|
|
24529
|
+
errors?: Array<{
|
|
24530
|
+
path: string;
|
|
24531
|
+
message: string;
|
|
24532
|
+
summary?: string;
|
|
24533
|
+
}>;
|
|
24534
|
+
meta?: {
|
|
24535
|
+
[key: string]: unknown;
|
|
24536
|
+
};
|
|
24537
|
+
};
|
|
24538
|
+
/**
|
|
24539
|
+
* Response for status 403
|
|
24540
|
+
*/
|
|
24541
|
+
403: {
|
|
24542
|
+
type: string;
|
|
24543
|
+
title: string;
|
|
24544
|
+
status: number;
|
|
24545
|
+
detail?: string;
|
|
24546
|
+
instance?: string;
|
|
24547
|
+
code?: string;
|
|
24548
|
+
errors?: Array<{
|
|
24549
|
+
path: string;
|
|
24550
|
+
message: string;
|
|
24551
|
+
summary?: string;
|
|
24552
|
+
}>;
|
|
24553
|
+
meta?: {
|
|
24554
|
+
[key: string]: unknown;
|
|
24555
|
+
};
|
|
24556
|
+
};
|
|
24557
|
+
/**
|
|
24558
|
+
* Response for status 404
|
|
24559
|
+
*/
|
|
24560
|
+
404: {
|
|
24561
|
+
type: string;
|
|
24562
|
+
title: string;
|
|
24563
|
+
status: number;
|
|
24564
|
+
detail?: string;
|
|
24565
|
+
instance?: string;
|
|
24566
|
+
code?: string;
|
|
24567
|
+
errors?: Array<{
|
|
24568
|
+
path: string;
|
|
24569
|
+
message: string;
|
|
24570
|
+
summary?: string;
|
|
24571
|
+
}>;
|
|
24572
|
+
meta?: {
|
|
24573
|
+
[key: string]: unknown;
|
|
24574
|
+
};
|
|
24575
|
+
};
|
|
24576
|
+
/**
|
|
24577
|
+
* Response for status 409
|
|
24578
|
+
*/
|
|
24579
|
+
409: {
|
|
24580
|
+
type: string;
|
|
24581
|
+
title: string;
|
|
24582
|
+
status: number;
|
|
24583
|
+
detail?: string;
|
|
24584
|
+
instance?: string;
|
|
24585
|
+
code?: string;
|
|
24586
|
+
errors?: Array<{
|
|
24587
|
+
path: string;
|
|
24588
|
+
message: string;
|
|
24589
|
+
summary?: string;
|
|
24590
|
+
}>;
|
|
24591
|
+
meta?: {
|
|
24592
|
+
[key: string]: unknown;
|
|
24593
|
+
};
|
|
24594
|
+
};
|
|
24595
|
+
/**
|
|
24596
|
+
* Response for status 422
|
|
24597
|
+
*/
|
|
24598
|
+
422: {
|
|
24599
|
+
type: string;
|
|
24600
|
+
title: string;
|
|
24601
|
+
status: number;
|
|
24602
|
+
detail?: string;
|
|
24603
|
+
instance?: string;
|
|
24604
|
+
code?: string;
|
|
24605
|
+
errors?: Array<{
|
|
24606
|
+
path: string;
|
|
24607
|
+
message: string;
|
|
24608
|
+
summary?: string;
|
|
24609
|
+
}>;
|
|
24610
|
+
meta?: {
|
|
24611
|
+
[key: string]: unknown;
|
|
24612
|
+
};
|
|
24613
|
+
};
|
|
24614
|
+
/**
|
|
24615
|
+
* Response for status 500
|
|
24616
|
+
*/
|
|
24617
|
+
500: {
|
|
24618
|
+
type: string;
|
|
24619
|
+
title: string;
|
|
24620
|
+
status: number;
|
|
24621
|
+
detail?: string;
|
|
24622
|
+
instance?: string;
|
|
24623
|
+
code?: string;
|
|
24624
|
+
errors?: Array<{
|
|
24625
|
+
path: string;
|
|
24626
|
+
message: string;
|
|
24627
|
+
summary?: string;
|
|
24628
|
+
}>;
|
|
24629
|
+
meta?: {
|
|
24630
|
+
[key: string]: unknown;
|
|
24631
|
+
};
|
|
24632
|
+
};
|
|
24633
|
+
};
|
|
24634
|
+
export type PostApiProjectsByProjectIdSecretsError = PostApiProjectsByProjectIdSecretsErrors[keyof PostApiProjectsByProjectIdSecretsErrors];
|
|
24635
|
+
export type PostApiProjectsByProjectIdSecretsResponses = {
|
|
24636
|
+
/**
|
|
24637
|
+
* Response for status 201
|
|
24638
|
+
*/
|
|
24639
|
+
201: {
|
|
24640
|
+
id: string;
|
|
24641
|
+
projectId: string;
|
|
24642
|
+
name: string;
|
|
24643
|
+
lastFour: string;
|
|
24644
|
+
updatedBy: {
|
|
24645
|
+
userId: string;
|
|
24646
|
+
username: string | null;
|
|
24647
|
+
} | null;
|
|
24648
|
+
lastUsedAt: string | null;
|
|
24649
|
+
createdAt: string;
|
|
24650
|
+
updatedAt: string;
|
|
24651
|
+
};
|
|
24652
|
+
};
|
|
24653
|
+
export type PostApiProjectsByProjectIdSecretsResponse = PostApiProjectsByProjectIdSecretsResponses[keyof PostApiProjectsByProjectIdSecretsResponses];
|
|
24654
|
+
export type DeleteApiProjectsByProjectIdSecretsBySecretIdData = {
|
|
24655
|
+
body?: never;
|
|
24656
|
+
path: {
|
|
24657
|
+
projectId: string;
|
|
24658
|
+
secretId: string;
|
|
24659
|
+
};
|
|
24660
|
+
query?: never;
|
|
24661
|
+
url: '/api/projects/{projectId}/secrets/{secretId}';
|
|
24662
|
+
};
|
|
24663
|
+
export type DeleteApiProjectsByProjectIdSecretsBySecretIdErrors = {
|
|
24664
|
+
/**
|
|
24665
|
+
* Response for status 401
|
|
24666
|
+
*/
|
|
24667
|
+
401: {
|
|
24668
|
+
type: string;
|
|
24669
|
+
title: string;
|
|
24670
|
+
status: number;
|
|
24671
|
+
detail?: string;
|
|
24672
|
+
instance?: string;
|
|
24673
|
+
code?: string;
|
|
24674
|
+
errors?: Array<{
|
|
24675
|
+
path: string;
|
|
24676
|
+
message: string;
|
|
24677
|
+
summary?: string;
|
|
24678
|
+
}>;
|
|
24679
|
+
meta?: {
|
|
24680
|
+
[key: string]: unknown;
|
|
24681
|
+
};
|
|
24682
|
+
};
|
|
24683
|
+
/**
|
|
24684
|
+
* Response for status 403
|
|
24685
|
+
*/
|
|
24686
|
+
403: {
|
|
24687
|
+
type: string;
|
|
24688
|
+
title: string;
|
|
24689
|
+
status: number;
|
|
24690
|
+
detail?: string;
|
|
24691
|
+
instance?: string;
|
|
24692
|
+
code?: string;
|
|
24693
|
+
errors?: Array<{
|
|
24694
|
+
path: string;
|
|
24695
|
+
message: string;
|
|
24696
|
+
summary?: string;
|
|
24697
|
+
}>;
|
|
24698
|
+
meta?: {
|
|
24699
|
+
[key: string]: unknown;
|
|
24700
|
+
};
|
|
24701
|
+
};
|
|
24702
|
+
/**
|
|
24703
|
+
* Response for status 404
|
|
24704
|
+
*/
|
|
24705
|
+
404: {
|
|
24706
|
+
type: string;
|
|
24707
|
+
title: string;
|
|
24708
|
+
status: number;
|
|
24709
|
+
detail?: string;
|
|
24710
|
+
instance?: string;
|
|
24711
|
+
code?: string;
|
|
24712
|
+
errors?: Array<{
|
|
24713
|
+
path: string;
|
|
24714
|
+
message: string;
|
|
24715
|
+
summary?: string;
|
|
24716
|
+
}>;
|
|
24717
|
+
meta?: {
|
|
24718
|
+
[key: string]: unknown;
|
|
24719
|
+
};
|
|
24720
|
+
};
|
|
24721
|
+
/**
|
|
24722
|
+
* Response for status 422
|
|
24723
|
+
*/
|
|
24724
|
+
422: {
|
|
24725
|
+
type: string;
|
|
24726
|
+
title: string;
|
|
24727
|
+
status: number;
|
|
24728
|
+
detail?: string;
|
|
24729
|
+
instance?: string;
|
|
24730
|
+
code?: string;
|
|
24731
|
+
errors?: Array<{
|
|
24732
|
+
path: string;
|
|
24733
|
+
message: string;
|
|
24734
|
+
summary?: string;
|
|
24735
|
+
}>;
|
|
24736
|
+
meta?: {
|
|
24737
|
+
[key: string]: unknown;
|
|
24738
|
+
};
|
|
24739
|
+
};
|
|
24740
|
+
/**
|
|
24741
|
+
* Response for status 500
|
|
24742
|
+
*/
|
|
24743
|
+
500: {
|
|
24744
|
+
type: string;
|
|
24745
|
+
title: string;
|
|
24746
|
+
status: number;
|
|
24747
|
+
detail?: string;
|
|
24748
|
+
instance?: string;
|
|
24749
|
+
code?: string;
|
|
24750
|
+
errors?: Array<{
|
|
24751
|
+
path: string;
|
|
24752
|
+
message: string;
|
|
24753
|
+
summary?: string;
|
|
24754
|
+
}>;
|
|
24755
|
+
meta?: {
|
|
24756
|
+
[key: string]: unknown;
|
|
24757
|
+
};
|
|
24758
|
+
};
|
|
24759
|
+
};
|
|
24760
|
+
export type DeleteApiProjectsByProjectIdSecretsBySecretIdError = DeleteApiProjectsByProjectIdSecretsBySecretIdErrors[keyof DeleteApiProjectsByProjectIdSecretsBySecretIdErrors];
|
|
24761
|
+
export type DeleteApiProjectsByProjectIdSecretsBySecretIdResponses = {
|
|
24762
|
+
/**
|
|
24763
|
+
* Response for status 200
|
|
24764
|
+
*/
|
|
24765
|
+
200: {
|
|
24766
|
+
deleted: true;
|
|
24767
|
+
};
|
|
24768
|
+
};
|
|
24769
|
+
export type DeleteApiProjectsByProjectIdSecretsBySecretIdResponse = DeleteApiProjectsByProjectIdSecretsBySecretIdResponses[keyof DeleteApiProjectsByProjectIdSecretsBySecretIdResponses];
|
|
24770
|
+
export type PatchApiProjectsByProjectIdSecretsBySecretIdData = {
|
|
24771
|
+
body: {
|
|
24772
|
+
name?: string;
|
|
24773
|
+
value?: string;
|
|
24774
|
+
};
|
|
24775
|
+
path: {
|
|
24776
|
+
projectId: string;
|
|
24777
|
+
secretId: string;
|
|
24778
|
+
};
|
|
24779
|
+
query?: never;
|
|
24780
|
+
url: '/api/projects/{projectId}/secrets/{secretId}';
|
|
24781
|
+
};
|
|
24782
|
+
export type PatchApiProjectsByProjectIdSecretsBySecretIdErrors = {
|
|
24783
|
+
/**
|
|
24784
|
+
* Response for status 401
|
|
24785
|
+
*/
|
|
24786
|
+
401: {
|
|
24787
|
+
type: string;
|
|
24788
|
+
title: string;
|
|
24789
|
+
status: number;
|
|
24790
|
+
detail?: string;
|
|
24791
|
+
instance?: string;
|
|
24792
|
+
code?: string;
|
|
24793
|
+
errors?: Array<{
|
|
24794
|
+
path: string;
|
|
24795
|
+
message: string;
|
|
24796
|
+
summary?: string;
|
|
24797
|
+
}>;
|
|
24798
|
+
meta?: {
|
|
24799
|
+
[key: string]: unknown;
|
|
24800
|
+
};
|
|
24801
|
+
};
|
|
24802
|
+
/**
|
|
24803
|
+
* Response for status 403
|
|
24804
|
+
*/
|
|
24805
|
+
403: {
|
|
24806
|
+
type: string;
|
|
24807
|
+
title: string;
|
|
24808
|
+
status: number;
|
|
24809
|
+
detail?: string;
|
|
24810
|
+
instance?: string;
|
|
24811
|
+
code?: string;
|
|
24812
|
+
errors?: Array<{
|
|
24813
|
+
path: string;
|
|
24814
|
+
message: string;
|
|
24815
|
+
summary?: string;
|
|
24816
|
+
}>;
|
|
24817
|
+
meta?: {
|
|
24818
|
+
[key: string]: unknown;
|
|
24819
|
+
};
|
|
24820
|
+
};
|
|
24821
|
+
/**
|
|
24822
|
+
* Response for status 404
|
|
24823
|
+
*/
|
|
24824
|
+
404: {
|
|
24825
|
+
type: string;
|
|
24826
|
+
title: string;
|
|
24827
|
+
status: number;
|
|
24828
|
+
detail?: string;
|
|
24829
|
+
instance?: string;
|
|
24830
|
+
code?: string;
|
|
24831
|
+
errors?: Array<{
|
|
24832
|
+
path: string;
|
|
24833
|
+
message: string;
|
|
24834
|
+
summary?: string;
|
|
24835
|
+
}>;
|
|
24836
|
+
meta?: {
|
|
24837
|
+
[key: string]: unknown;
|
|
24838
|
+
};
|
|
24839
|
+
};
|
|
24840
|
+
/**
|
|
24841
|
+
* Response for status 409
|
|
24842
|
+
*/
|
|
24843
|
+
409: {
|
|
24844
|
+
type: string;
|
|
24845
|
+
title: string;
|
|
24846
|
+
status: number;
|
|
24847
|
+
detail?: string;
|
|
24848
|
+
instance?: string;
|
|
24849
|
+
code?: string;
|
|
24850
|
+
errors?: Array<{
|
|
24851
|
+
path: string;
|
|
24852
|
+
message: string;
|
|
24853
|
+
summary?: string;
|
|
24854
|
+
}>;
|
|
24855
|
+
meta?: {
|
|
24856
|
+
[key: string]: unknown;
|
|
24857
|
+
};
|
|
24858
|
+
};
|
|
24859
|
+
/**
|
|
24860
|
+
* Response for status 422
|
|
24861
|
+
*/
|
|
24862
|
+
422: {
|
|
24863
|
+
type: string;
|
|
24864
|
+
title: string;
|
|
24865
|
+
status: number;
|
|
24866
|
+
detail?: string;
|
|
24867
|
+
instance?: string;
|
|
24868
|
+
code?: string;
|
|
24869
|
+
errors?: Array<{
|
|
24870
|
+
path: string;
|
|
24871
|
+
message: string;
|
|
24872
|
+
summary?: string;
|
|
24873
|
+
}>;
|
|
24874
|
+
meta?: {
|
|
24875
|
+
[key: string]: unknown;
|
|
24876
|
+
};
|
|
24877
|
+
};
|
|
24878
|
+
/**
|
|
24879
|
+
* Response for status 500
|
|
24880
|
+
*/
|
|
24881
|
+
500: {
|
|
24882
|
+
type: string;
|
|
24883
|
+
title: string;
|
|
24884
|
+
status: number;
|
|
24885
|
+
detail?: string;
|
|
24886
|
+
instance?: string;
|
|
24887
|
+
code?: string;
|
|
24888
|
+
errors?: Array<{
|
|
24889
|
+
path: string;
|
|
24890
|
+
message: string;
|
|
24891
|
+
summary?: string;
|
|
24892
|
+
}>;
|
|
24893
|
+
meta?: {
|
|
24894
|
+
[key: string]: unknown;
|
|
24895
|
+
};
|
|
24896
|
+
};
|
|
24897
|
+
};
|
|
24898
|
+
export type PatchApiProjectsByProjectIdSecretsBySecretIdError = PatchApiProjectsByProjectIdSecretsBySecretIdErrors[keyof PatchApiProjectsByProjectIdSecretsBySecretIdErrors];
|
|
24899
|
+
export type PatchApiProjectsByProjectIdSecretsBySecretIdResponses = {
|
|
24900
|
+
/**
|
|
24901
|
+
* Response for status 200
|
|
24902
|
+
*/
|
|
24903
|
+
200: {
|
|
24904
|
+
id: string;
|
|
24905
|
+
projectId: string;
|
|
24906
|
+
name: string;
|
|
24907
|
+
lastFour: string;
|
|
24908
|
+
updatedBy: {
|
|
24909
|
+
userId: string;
|
|
24910
|
+
username: string | null;
|
|
24911
|
+
} | null;
|
|
24912
|
+
lastUsedAt: string | null;
|
|
24913
|
+
createdAt: string;
|
|
24914
|
+
updatedAt: string;
|
|
24915
|
+
};
|
|
24916
|
+
};
|
|
24917
|
+
export type PatchApiProjectsByProjectIdSecretsBySecretIdResponse = PatchApiProjectsByProjectIdSecretsBySecretIdResponses[keyof PatchApiProjectsByProjectIdSecretsBySecretIdResponses];
|
|
24918
|
+
export type GetApiProjectsByProjectIdEnvironmentsData = {
|
|
24919
|
+
body?: never;
|
|
24920
|
+
path: {
|
|
24921
|
+
projectId: string;
|
|
24922
|
+
};
|
|
24923
|
+
query?: never;
|
|
24924
|
+
url: '/api/projects/{projectId}/environments';
|
|
24925
|
+
};
|
|
24926
|
+
export type GetApiProjectsByProjectIdEnvironmentsErrors = {
|
|
24927
|
+
/**
|
|
24928
|
+
* Response for status 401
|
|
24929
|
+
*/
|
|
24930
|
+
401: {
|
|
24931
|
+
type: string;
|
|
24932
|
+
title: string;
|
|
24933
|
+
status: number;
|
|
24934
|
+
detail?: string;
|
|
24935
|
+
instance?: string;
|
|
24936
|
+
code?: string;
|
|
24937
|
+
errors?: Array<{
|
|
24938
|
+
path: string;
|
|
24939
|
+
message: string;
|
|
24940
|
+
summary?: string;
|
|
24941
|
+
}>;
|
|
24942
|
+
meta?: {
|
|
24943
|
+
[key: string]: unknown;
|
|
24944
|
+
};
|
|
24945
|
+
};
|
|
24946
|
+
/**
|
|
24947
|
+
* Response for status 403
|
|
24948
|
+
*/
|
|
24949
|
+
403: {
|
|
24950
|
+
type: string;
|
|
24951
|
+
title: string;
|
|
24952
|
+
status: number;
|
|
24953
|
+
detail?: string;
|
|
24954
|
+
instance?: string;
|
|
24955
|
+
code?: string;
|
|
24956
|
+
errors?: Array<{
|
|
24957
|
+
path: string;
|
|
24958
|
+
message: string;
|
|
24959
|
+
summary?: string;
|
|
24960
|
+
}>;
|
|
24961
|
+
meta?: {
|
|
24962
|
+
[key: string]: unknown;
|
|
24963
|
+
};
|
|
24964
|
+
};
|
|
24965
|
+
/**
|
|
24966
|
+
* Response for status 404
|
|
24967
|
+
*/
|
|
24968
|
+
404: {
|
|
24969
|
+
type: string;
|
|
24970
|
+
title: string;
|
|
24971
|
+
status: number;
|
|
24972
|
+
detail?: string;
|
|
24973
|
+
instance?: string;
|
|
24974
|
+
code?: string;
|
|
24975
|
+
errors?: Array<{
|
|
24976
|
+
path: string;
|
|
24977
|
+
message: string;
|
|
24978
|
+
summary?: string;
|
|
24979
|
+
}>;
|
|
24980
|
+
meta?: {
|
|
24981
|
+
[key: string]: unknown;
|
|
24982
|
+
};
|
|
24983
|
+
};
|
|
24984
|
+
/**
|
|
24985
|
+
* Response for status 422
|
|
24986
|
+
*/
|
|
24987
|
+
422: {
|
|
24988
|
+
type: string;
|
|
24989
|
+
title: string;
|
|
24990
|
+
status: number;
|
|
24991
|
+
detail?: string;
|
|
24992
|
+
instance?: string;
|
|
24993
|
+
code?: string;
|
|
24994
|
+
errors?: Array<{
|
|
24995
|
+
path: string;
|
|
24996
|
+
message: string;
|
|
24997
|
+
summary?: string;
|
|
24998
|
+
}>;
|
|
24999
|
+
meta?: {
|
|
25000
|
+
[key: string]: unknown;
|
|
25001
|
+
};
|
|
25002
|
+
};
|
|
25003
|
+
/**
|
|
25004
|
+
* Response for status 500
|
|
25005
|
+
*/
|
|
25006
|
+
500: {
|
|
25007
|
+
type: string;
|
|
25008
|
+
title: string;
|
|
25009
|
+
status: number;
|
|
25010
|
+
detail?: string;
|
|
25011
|
+
instance?: string;
|
|
25012
|
+
code?: string;
|
|
25013
|
+
errors?: Array<{
|
|
25014
|
+
path: string;
|
|
25015
|
+
message: string;
|
|
25016
|
+
summary?: string;
|
|
25017
|
+
}>;
|
|
25018
|
+
meta?: {
|
|
25019
|
+
[key: string]: unknown;
|
|
25020
|
+
};
|
|
25021
|
+
};
|
|
25022
|
+
};
|
|
25023
|
+
export type GetApiProjectsByProjectIdEnvironmentsError = GetApiProjectsByProjectIdEnvironmentsErrors[keyof GetApiProjectsByProjectIdEnvironmentsErrors];
|
|
25024
|
+
export type GetApiProjectsByProjectIdEnvironmentsResponses = {
|
|
25025
|
+
/**
|
|
25026
|
+
* Response for status 200
|
|
25027
|
+
*/
|
|
25028
|
+
200: Array<{
|
|
25029
|
+
id: string;
|
|
25030
|
+
projectId: string;
|
|
25031
|
+
name: string;
|
|
25032
|
+
description: string | null;
|
|
25033
|
+
latestVersion: number;
|
|
25034
|
+
updatedBy: {
|
|
25035
|
+
userId: string;
|
|
25036
|
+
username: string | null;
|
|
25037
|
+
};
|
|
25038
|
+
updatedAt: string;
|
|
25039
|
+
}>;
|
|
25040
|
+
};
|
|
25041
|
+
export type GetApiProjectsByProjectIdEnvironmentsResponse = GetApiProjectsByProjectIdEnvironmentsResponses[keyof GetApiProjectsByProjectIdEnvironmentsResponses];
|
|
25042
|
+
export type DeleteApiProjectsByProjectIdEnvironmentsByNameData = {
|
|
25043
|
+
body?: never;
|
|
25044
|
+
path: {
|
|
25045
|
+
projectId: string;
|
|
25046
|
+
name: string;
|
|
25047
|
+
};
|
|
25048
|
+
query?: never;
|
|
25049
|
+
url: '/api/projects/{projectId}/environments/{name}';
|
|
25050
|
+
};
|
|
25051
|
+
export type DeleteApiProjectsByProjectIdEnvironmentsByNameErrors = {
|
|
25052
|
+
/**
|
|
25053
|
+
* Response for status 401
|
|
25054
|
+
*/
|
|
25055
|
+
401: {
|
|
25056
|
+
type: string;
|
|
25057
|
+
title: string;
|
|
25058
|
+
status: number;
|
|
25059
|
+
detail?: string;
|
|
25060
|
+
instance?: string;
|
|
25061
|
+
code?: string;
|
|
25062
|
+
errors?: Array<{
|
|
25063
|
+
path: string;
|
|
25064
|
+
message: string;
|
|
25065
|
+
summary?: string;
|
|
25066
|
+
}>;
|
|
25067
|
+
meta?: {
|
|
25068
|
+
[key: string]: unknown;
|
|
25069
|
+
};
|
|
25070
|
+
};
|
|
25071
|
+
/**
|
|
25072
|
+
* Response for status 403
|
|
25073
|
+
*/
|
|
25074
|
+
403: {
|
|
25075
|
+
type: string;
|
|
25076
|
+
title: string;
|
|
25077
|
+
status: number;
|
|
25078
|
+
detail?: string;
|
|
25079
|
+
instance?: string;
|
|
25080
|
+
code?: string;
|
|
25081
|
+
errors?: Array<{
|
|
25082
|
+
path: string;
|
|
25083
|
+
message: string;
|
|
25084
|
+
summary?: string;
|
|
25085
|
+
}>;
|
|
25086
|
+
meta?: {
|
|
25087
|
+
[key: string]: unknown;
|
|
25088
|
+
};
|
|
25089
|
+
};
|
|
25090
|
+
/**
|
|
25091
|
+
* Response for status 404
|
|
25092
|
+
*/
|
|
25093
|
+
404: {
|
|
25094
|
+
type: string;
|
|
25095
|
+
title: string;
|
|
25096
|
+
status: number;
|
|
25097
|
+
detail?: string;
|
|
25098
|
+
instance?: string;
|
|
25099
|
+
code?: string;
|
|
25100
|
+
errors?: Array<{
|
|
25101
|
+
path: string;
|
|
25102
|
+
message: string;
|
|
25103
|
+
summary?: string;
|
|
25104
|
+
}>;
|
|
25105
|
+
meta?: {
|
|
25106
|
+
[key: string]: unknown;
|
|
25107
|
+
};
|
|
25108
|
+
};
|
|
25109
|
+
/**
|
|
25110
|
+
* Response for status 409
|
|
25111
|
+
*/
|
|
25112
|
+
409: {
|
|
25113
|
+
type: string;
|
|
25114
|
+
title: string;
|
|
25115
|
+
status: number;
|
|
25116
|
+
detail?: string;
|
|
25117
|
+
instance?: string;
|
|
25118
|
+
code?: string;
|
|
25119
|
+
errors?: Array<{
|
|
25120
|
+
path: string;
|
|
25121
|
+
message: string;
|
|
25122
|
+
summary?: string;
|
|
25123
|
+
}>;
|
|
25124
|
+
meta?: {
|
|
25125
|
+
[key: string]: unknown;
|
|
25126
|
+
};
|
|
25127
|
+
};
|
|
25128
|
+
/**
|
|
25129
|
+
* Response for status 422
|
|
25130
|
+
*/
|
|
25131
|
+
422: {
|
|
25132
|
+
type: string;
|
|
25133
|
+
title: string;
|
|
25134
|
+
status: number;
|
|
25135
|
+
detail?: string;
|
|
25136
|
+
instance?: string;
|
|
25137
|
+
code?: string;
|
|
25138
|
+
errors?: Array<{
|
|
25139
|
+
path: string;
|
|
25140
|
+
message: string;
|
|
25141
|
+
summary?: string;
|
|
25142
|
+
}>;
|
|
25143
|
+
meta?: {
|
|
25144
|
+
[key: string]: unknown;
|
|
25145
|
+
};
|
|
25146
|
+
};
|
|
25147
|
+
/**
|
|
25148
|
+
* Response for status 500
|
|
25149
|
+
*/
|
|
25150
|
+
500: {
|
|
25151
|
+
type: string;
|
|
25152
|
+
title: string;
|
|
25153
|
+
status: number;
|
|
25154
|
+
detail?: string;
|
|
25155
|
+
instance?: string;
|
|
25156
|
+
code?: string;
|
|
25157
|
+
errors?: Array<{
|
|
25158
|
+
path: string;
|
|
25159
|
+
message: string;
|
|
25160
|
+
summary?: string;
|
|
25161
|
+
}>;
|
|
25162
|
+
meta?: {
|
|
25163
|
+
[key: string]: unknown;
|
|
25164
|
+
};
|
|
25165
|
+
};
|
|
25166
|
+
};
|
|
25167
|
+
export type DeleteApiProjectsByProjectIdEnvironmentsByNameError = DeleteApiProjectsByProjectIdEnvironmentsByNameErrors[keyof DeleteApiProjectsByProjectIdEnvironmentsByNameErrors];
|
|
25168
|
+
export type DeleteApiProjectsByProjectIdEnvironmentsByNameResponses = {
|
|
25169
|
+
/**
|
|
25170
|
+
* Response for status 200
|
|
25171
|
+
*/
|
|
25172
|
+
200: {
|
|
25173
|
+
deleted: true;
|
|
25174
|
+
};
|
|
25175
|
+
};
|
|
25176
|
+
export type DeleteApiProjectsByProjectIdEnvironmentsByNameResponse = DeleteApiProjectsByProjectIdEnvironmentsByNameResponses[keyof DeleteApiProjectsByProjectIdEnvironmentsByNameResponses];
|
|
25177
|
+
export type GetApiProjectsByProjectIdEnvironmentsByNameData = {
|
|
25178
|
+
body?: never;
|
|
25179
|
+
path: {
|
|
25180
|
+
projectId: string;
|
|
25181
|
+
name: string;
|
|
25182
|
+
};
|
|
25183
|
+
query?: {
|
|
25184
|
+
version?: number;
|
|
25185
|
+
};
|
|
25186
|
+
url: '/api/projects/{projectId}/environments/{name}';
|
|
25187
|
+
};
|
|
25188
|
+
export type GetApiProjectsByProjectIdEnvironmentsByNameErrors = {
|
|
25189
|
+
/**
|
|
25190
|
+
* Response for status 401
|
|
25191
|
+
*/
|
|
25192
|
+
401: {
|
|
25193
|
+
type: string;
|
|
25194
|
+
title: string;
|
|
25195
|
+
status: number;
|
|
25196
|
+
detail?: string;
|
|
25197
|
+
instance?: string;
|
|
25198
|
+
code?: string;
|
|
25199
|
+
errors?: Array<{
|
|
25200
|
+
path: string;
|
|
25201
|
+
message: string;
|
|
25202
|
+
summary?: string;
|
|
25203
|
+
}>;
|
|
25204
|
+
meta?: {
|
|
25205
|
+
[key: string]: unknown;
|
|
25206
|
+
};
|
|
25207
|
+
};
|
|
25208
|
+
/**
|
|
25209
|
+
* Response for status 403
|
|
25210
|
+
*/
|
|
25211
|
+
403: {
|
|
25212
|
+
type: string;
|
|
25213
|
+
title: string;
|
|
25214
|
+
status: number;
|
|
25215
|
+
detail?: string;
|
|
25216
|
+
instance?: string;
|
|
25217
|
+
code?: string;
|
|
25218
|
+
errors?: Array<{
|
|
25219
|
+
path: string;
|
|
25220
|
+
message: string;
|
|
25221
|
+
summary?: string;
|
|
25222
|
+
}>;
|
|
25223
|
+
meta?: {
|
|
25224
|
+
[key: string]: unknown;
|
|
25225
|
+
};
|
|
25226
|
+
};
|
|
25227
|
+
/**
|
|
25228
|
+
* Response for status 404
|
|
25229
|
+
*/
|
|
25230
|
+
404: {
|
|
25231
|
+
type: string;
|
|
25232
|
+
title: string;
|
|
25233
|
+
status: number;
|
|
25234
|
+
detail?: string;
|
|
25235
|
+
instance?: string;
|
|
25236
|
+
code?: string;
|
|
25237
|
+
errors?: Array<{
|
|
25238
|
+
path: string;
|
|
25239
|
+
message: string;
|
|
25240
|
+
summary?: string;
|
|
25241
|
+
}>;
|
|
25242
|
+
meta?: {
|
|
25243
|
+
[key: string]: unknown;
|
|
25244
|
+
};
|
|
25245
|
+
};
|
|
25246
|
+
/**
|
|
25247
|
+
* Response for status 422
|
|
25248
|
+
*/
|
|
25249
|
+
422: {
|
|
25250
|
+
type: string;
|
|
25251
|
+
title: string;
|
|
25252
|
+
status: number;
|
|
25253
|
+
detail?: string;
|
|
25254
|
+
instance?: string;
|
|
25255
|
+
code?: string;
|
|
25256
|
+
errors?: Array<{
|
|
25257
|
+
path: string;
|
|
25258
|
+
message: string;
|
|
25259
|
+
summary?: string;
|
|
25260
|
+
}>;
|
|
25261
|
+
meta?: {
|
|
25262
|
+
[key: string]: unknown;
|
|
25263
|
+
};
|
|
25264
|
+
};
|
|
25265
|
+
/**
|
|
25266
|
+
* Response for status 500
|
|
25267
|
+
*/
|
|
25268
|
+
500: {
|
|
25269
|
+
type: string;
|
|
25270
|
+
title: string;
|
|
25271
|
+
status: number;
|
|
25272
|
+
detail?: string;
|
|
25273
|
+
instance?: string;
|
|
25274
|
+
code?: string;
|
|
25275
|
+
errors?: Array<{
|
|
25276
|
+
path: string;
|
|
25277
|
+
message: string;
|
|
25278
|
+
summary?: string;
|
|
25279
|
+
}>;
|
|
25280
|
+
meta?: {
|
|
25281
|
+
[key: string]: unknown;
|
|
25282
|
+
};
|
|
25283
|
+
};
|
|
25284
|
+
};
|
|
25285
|
+
export type GetApiProjectsByProjectIdEnvironmentsByNameError = GetApiProjectsByProjectIdEnvironmentsByNameErrors[keyof GetApiProjectsByProjectIdEnvironmentsByNameErrors];
|
|
25286
|
+
export type GetApiProjectsByProjectIdEnvironmentsByNameResponses = {
|
|
25287
|
+
/**
|
|
25288
|
+
* Response for status 200
|
|
25289
|
+
*/
|
|
25290
|
+
200: {
|
|
25291
|
+
environment: {
|
|
25292
|
+
id: string;
|
|
25293
|
+
projectId: string;
|
|
25294
|
+
name: string;
|
|
25295
|
+
description: string | null;
|
|
25296
|
+
latestVersion: number;
|
|
25297
|
+
updatedBy: {
|
|
25298
|
+
userId: string;
|
|
25299
|
+
username: string | null;
|
|
25300
|
+
};
|
|
25301
|
+
updatedAt: string;
|
|
25302
|
+
};
|
|
25303
|
+
version: {
|
|
25304
|
+
id: string;
|
|
25305
|
+
environmentId: string;
|
|
25306
|
+
version: number;
|
|
25307
|
+
content: {
|
|
25308
|
+
runtime?: {
|
|
25309
|
+
kind: 'devcontainer';
|
|
25310
|
+
config?: string;
|
|
25311
|
+
} | {
|
|
25312
|
+
kind: 'managed';
|
|
25313
|
+
id: 'bun1' | 'node24';
|
|
25314
|
+
} | {
|
|
25315
|
+
kind: 'host';
|
|
25316
|
+
};
|
|
25317
|
+
vars?: Array<{
|
|
25318
|
+
name: string;
|
|
25319
|
+
source: 'value';
|
|
25320
|
+
value: string;
|
|
25321
|
+
secret: boolean;
|
|
25322
|
+
applies: 'agent' | 'setup' | 'both';
|
|
25323
|
+
} | {
|
|
25324
|
+
name: string;
|
|
25325
|
+
source: 'inherit';
|
|
25326
|
+
from: string;
|
|
25327
|
+
secret: boolean;
|
|
25328
|
+
optional: boolean;
|
|
25329
|
+
default?: string;
|
|
25330
|
+
mcp?: string;
|
|
25331
|
+
applies: 'agent' | 'setup' | 'both';
|
|
25332
|
+
} | {
|
|
25333
|
+
name: string;
|
|
25334
|
+
source: 'secret';
|
|
25335
|
+
secretName: string;
|
|
25336
|
+
applies: 'agent' | 'setup' | 'both';
|
|
25337
|
+
}>;
|
|
25338
|
+
connectors?: Array<string>;
|
|
25339
|
+
description?: string;
|
|
25340
|
+
};
|
|
25341
|
+
contentHash: string;
|
|
25342
|
+
createdBy: {
|
|
25343
|
+
userId: string;
|
|
25344
|
+
username: string | null;
|
|
25345
|
+
};
|
|
25346
|
+
createdAt: string;
|
|
25347
|
+
};
|
|
25348
|
+
};
|
|
25349
|
+
};
|
|
25350
|
+
export type GetApiProjectsByProjectIdEnvironmentsByNameResponse = GetApiProjectsByProjectIdEnvironmentsByNameResponses[keyof GetApiProjectsByProjectIdEnvironmentsByNameResponses];
|
|
25351
|
+
export type PutApiProjectsByProjectIdEnvironmentsByNameData = {
|
|
25352
|
+
body: {
|
|
25353
|
+
content: {
|
|
25354
|
+
runtime?: {
|
|
25355
|
+
kind: 'devcontainer';
|
|
25356
|
+
config?: string;
|
|
25357
|
+
} | {
|
|
25358
|
+
kind: 'managed';
|
|
25359
|
+
id: 'bun1' | 'node24';
|
|
25360
|
+
} | {
|
|
25361
|
+
kind: 'host';
|
|
25362
|
+
};
|
|
25363
|
+
vars?: Array<{
|
|
25364
|
+
name: string;
|
|
25365
|
+
source: 'value';
|
|
25366
|
+
value: string;
|
|
25367
|
+
secret: boolean;
|
|
25368
|
+
applies?: 'agent' | 'setup' | 'both';
|
|
25369
|
+
} | {
|
|
25370
|
+
name: string;
|
|
25371
|
+
source: 'inherit';
|
|
25372
|
+
from: string;
|
|
25373
|
+
secret: boolean;
|
|
25374
|
+
optional: boolean;
|
|
25375
|
+
default?: string;
|
|
25376
|
+
mcp?: string;
|
|
25377
|
+
applies?: 'agent' | 'setup' | 'both';
|
|
25378
|
+
} | {
|
|
25379
|
+
name: string;
|
|
25380
|
+
source: 'secret';
|
|
25381
|
+
secretName: string;
|
|
25382
|
+
applies?: 'agent' | 'setup' | 'both';
|
|
25383
|
+
}>;
|
|
25384
|
+
connectors?: Array<string>;
|
|
25385
|
+
description?: string;
|
|
25386
|
+
};
|
|
25387
|
+
};
|
|
25388
|
+
path: {
|
|
25389
|
+
projectId: string;
|
|
25390
|
+
name: string;
|
|
25391
|
+
};
|
|
25392
|
+
query?: never;
|
|
25393
|
+
url: '/api/projects/{projectId}/environments/{name}';
|
|
25394
|
+
};
|
|
25395
|
+
export type PutApiProjectsByProjectIdEnvironmentsByNameErrors = {
|
|
25396
|
+
/**
|
|
25397
|
+
* Response for status 401
|
|
25398
|
+
*/
|
|
25399
|
+
401: {
|
|
25400
|
+
type: string;
|
|
25401
|
+
title: string;
|
|
25402
|
+
status: number;
|
|
25403
|
+
detail?: string;
|
|
25404
|
+
instance?: string;
|
|
25405
|
+
code?: string;
|
|
25406
|
+
errors?: Array<{
|
|
25407
|
+
path: string;
|
|
25408
|
+
message: string;
|
|
25409
|
+
summary?: string;
|
|
25410
|
+
}>;
|
|
25411
|
+
meta?: {
|
|
25412
|
+
[key: string]: unknown;
|
|
25413
|
+
};
|
|
25414
|
+
};
|
|
25415
|
+
/**
|
|
25416
|
+
* Response for status 403
|
|
25417
|
+
*/
|
|
25418
|
+
403: {
|
|
25419
|
+
type: string;
|
|
25420
|
+
title: string;
|
|
25421
|
+
status: number;
|
|
25422
|
+
detail?: string;
|
|
25423
|
+
instance?: string;
|
|
25424
|
+
code?: string;
|
|
25425
|
+
errors?: Array<{
|
|
25426
|
+
path: string;
|
|
25427
|
+
message: string;
|
|
25428
|
+
summary?: string;
|
|
25429
|
+
}>;
|
|
25430
|
+
meta?: {
|
|
25431
|
+
[key: string]: unknown;
|
|
25432
|
+
};
|
|
25433
|
+
};
|
|
25434
|
+
/**
|
|
25435
|
+
* Response for status 404
|
|
25436
|
+
*/
|
|
25437
|
+
404: {
|
|
25438
|
+
type: string;
|
|
25439
|
+
title: string;
|
|
25440
|
+
status: number;
|
|
25441
|
+
detail?: string;
|
|
25442
|
+
instance?: string;
|
|
25443
|
+
code?: string;
|
|
25444
|
+
errors?: Array<{
|
|
25445
|
+
path: string;
|
|
25446
|
+
message: string;
|
|
25447
|
+
summary?: string;
|
|
25448
|
+
}>;
|
|
25449
|
+
meta?: {
|
|
25450
|
+
[key: string]: unknown;
|
|
25451
|
+
};
|
|
25452
|
+
};
|
|
25453
|
+
/**
|
|
25454
|
+
* Response for status 422
|
|
25455
|
+
*/
|
|
25456
|
+
422: {
|
|
25457
|
+
type: string;
|
|
25458
|
+
title: string;
|
|
25459
|
+
status: number;
|
|
25460
|
+
detail?: string;
|
|
25461
|
+
instance?: string;
|
|
25462
|
+
code?: string;
|
|
25463
|
+
errors?: Array<{
|
|
25464
|
+
path: string;
|
|
25465
|
+
message: string;
|
|
25466
|
+
summary?: string;
|
|
25467
|
+
}>;
|
|
25468
|
+
meta?: {
|
|
25469
|
+
[key: string]: unknown;
|
|
25470
|
+
};
|
|
25471
|
+
};
|
|
25472
|
+
/**
|
|
25473
|
+
* Response for status 500
|
|
25474
|
+
*/
|
|
25475
|
+
500: {
|
|
25476
|
+
type: string;
|
|
25477
|
+
title: string;
|
|
25478
|
+
status: number;
|
|
25479
|
+
detail?: string;
|
|
25480
|
+
instance?: string;
|
|
25481
|
+
code?: string;
|
|
25482
|
+
errors?: Array<{
|
|
25483
|
+
path: string;
|
|
25484
|
+
message: string;
|
|
25485
|
+
summary?: string;
|
|
25486
|
+
}>;
|
|
25487
|
+
meta?: {
|
|
25488
|
+
[key: string]: unknown;
|
|
25489
|
+
};
|
|
25490
|
+
};
|
|
25491
|
+
};
|
|
25492
|
+
export type PutApiProjectsByProjectIdEnvironmentsByNameError = PutApiProjectsByProjectIdEnvironmentsByNameErrors[keyof PutApiProjectsByProjectIdEnvironmentsByNameErrors];
|
|
25493
|
+
export type PutApiProjectsByProjectIdEnvironmentsByNameResponses = {
|
|
25494
|
+
/**
|
|
25495
|
+
* Response for status 200
|
|
25496
|
+
*/
|
|
25497
|
+
200: {
|
|
25498
|
+
environment: {
|
|
25499
|
+
id: string;
|
|
25500
|
+
projectId: string;
|
|
25501
|
+
name: string;
|
|
25502
|
+
description: string | null;
|
|
25503
|
+
latestVersion: number;
|
|
25504
|
+
updatedBy: {
|
|
25505
|
+
userId: string;
|
|
25506
|
+
username: string | null;
|
|
25507
|
+
};
|
|
25508
|
+
updatedAt: string;
|
|
25509
|
+
};
|
|
25510
|
+
version: {
|
|
25511
|
+
id: string;
|
|
25512
|
+
environmentId: string;
|
|
25513
|
+
version: number;
|
|
25514
|
+
content: {
|
|
25515
|
+
runtime?: {
|
|
25516
|
+
kind: 'devcontainer';
|
|
25517
|
+
config?: string;
|
|
25518
|
+
} | {
|
|
25519
|
+
kind: 'managed';
|
|
25520
|
+
id: 'bun1' | 'node24';
|
|
25521
|
+
} | {
|
|
25522
|
+
kind: 'host';
|
|
25523
|
+
};
|
|
25524
|
+
vars?: Array<{
|
|
25525
|
+
name: string;
|
|
25526
|
+
source: 'value';
|
|
25527
|
+
value: string;
|
|
25528
|
+
secret: boolean;
|
|
25529
|
+
applies: 'agent' | 'setup' | 'both';
|
|
25530
|
+
} | {
|
|
25531
|
+
name: string;
|
|
25532
|
+
source: 'inherit';
|
|
25533
|
+
from: string;
|
|
25534
|
+
secret: boolean;
|
|
25535
|
+
optional: boolean;
|
|
25536
|
+
default?: string;
|
|
25537
|
+
mcp?: string;
|
|
25538
|
+
applies: 'agent' | 'setup' | 'both';
|
|
25539
|
+
} | {
|
|
25540
|
+
name: string;
|
|
25541
|
+
source: 'secret';
|
|
25542
|
+
secretName: string;
|
|
25543
|
+
applies: 'agent' | 'setup' | 'both';
|
|
25544
|
+
}>;
|
|
25545
|
+
connectors?: Array<string>;
|
|
25546
|
+
description?: string;
|
|
25547
|
+
};
|
|
25548
|
+
contentHash: string;
|
|
25549
|
+
createdBy: {
|
|
25550
|
+
userId: string;
|
|
25551
|
+
username: string | null;
|
|
25552
|
+
};
|
|
25553
|
+
createdAt: string;
|
|
25554
|
+
};
|
|
25555
|
+
published: boolean;
|
|
25556
|
+
};
|
|
25557
|
+
};
|
|
25558
|
+
export type PutApiProjectsByProjectIdEnvironmentsByNameResponse = PutApiProjectsByProjectIdEnvironmentsByNameResponses[keyof PutApiProjectsByProjectIdEnvironmentsByNameResponses];
|
|
25559
|
+
export type PostApiTaskRunsByTaskRunIdEnvironmentData = {
|
|
25560
|
+
body: {
|
|
25561
|
+
claimToken: string;
|
|
25562
|
+
secretNames: Array<string>;
|
|
25563
|
+
};
|
|
25564
|
+
path: {
|
|
25565
|
+
taskRunId: string;
|
|
25566
|
+
};
|
|
25567
|
+
query?: never;
|
|
25568
|
+
url: '/api/task-runs/{taskRunId}/environment';
|
|
25569
|
+
};
|
|
25570
|
+
export type PostApiTaskRunsByTaskRunIdEnvironmentErrors = {
|
|
25571
|
+
/**
|
|
25572
|
+
* Response for status 400
|
|
25573
|
+
*/
|
|
25574
|
+
400: {
|
|
25575
|
+
type: string;
|
|
25576
|
+
title: string;
|
|
25577
|
+
status: number;
|
|
25578
|
+
detail?: string;
|
|
25579
|
+
instance?: string;
|
|
25580
|
+
code?: string;
|
|
25581
|
+
errors?: Array<{
|
|
25582
|
+
path: string;
|
|
25583
|
+
message: string;
|
|
25584
|
+
summary?: string;
|
|
25585
|
+
}>;
|
|
25586
|
+
meta?: {
|
|
25587
|
+
[key: string]: unknown;
|
|
25588
|
+
};
|
|
25589
|
+
};
|
|
25590
|
+
/**
|
|
25591
|
+
* Response for status 401
|
|
25592
|
+
*/
|
|
25593
|
+
401: {
|
|
25594
|
+
type: string;
|
|
25595
|
+
title: string;
|
|
25596
|
+
status: number;
|
|
25597
|
+
detail?: string;
|
|
25598
|
+
instance?: string;
|
|
25599
|
+
code?: string;
|
|
25600
|
+
errors?: Array<{
|
|
25601
|
+
path: string;
|
|
25602
|
+
message: string;
|
|
25603
|
+
summary?: string;
|
|
25604
|
+
}>;
|
|
25605
|
+
meta?: {
|
|
25606
|
+
[key: string]: unknown;
|
|
25607
|
+
};
|
|
25608
|
+
};
|
|
25609
|
+
/**
|
|
25610
|
+
* Response for status 403
|
|
25611
|
+
*/
|
|
25612
|
+
403: {
|
|
25613
|
+
type: string;
|
|
25614
|
+
title: string;
|
|
25615
|
+
status: number;
|
|
25616
|
+
detail?: string;
|
|
25617
|
+
instance?: string;
|
|
25618
|
+
code?: string;
|
|
25619
|
+
errors?: Array<{
|
|
25620
|
+
path: string;
|
|
25621
|
+
message: string;
|
|
25622
|
+
summary?: string;
|
|
25623
|
+
}>;
|
|
25624
|
+
meta?: {
|
|
25625
|
+
[key: string]: unknown;
|
|
25626
|
+
};
|
|
25627
|
+
};
|
|
25628
|
+
/**
|
|
25629
|
+
* Response for status 404
|
|
25630
|
+
*/
|
|
25631
|
+
404: {
|
|
25632
|
+
type: string;
|
|
25633
|
+
title: string;
|
|
25634
|
+
status: number;
|
|
25635
|
+
detail?: string;
|
|
25636
|
+
instance?: string;
|
|
25637
|
+
code?: string;
|
|
25638
|
+
errors?: Array<{
|
|
25639
|
+
path: string;
|
|
25640
|
+
message: string;
|
|
25641
|
+
summary?: string;
|
|
25642
|
+
}>;
|
|
25643
|
+
meta?: {
|
|
25644
|
+
[key: string]: unknown;
|
|
25645
|
+
};
|
|
25646
|
+
};
|
|
25647
|
+
/**
|
|
25648
|
+
* Response for status 409
|
|
25649
|
+
*/
|
|
25650
|
+
409: {
|
|
25651
|
+
type: string;
|
|
25652
|
+
title: string;
|
|
25653
|
+
status: number;
|
|
25654
|
+
detail?: string;
|
|
25655
|
+
instance?: string;
|
|
25656
|
+
code?: string;
|
|
25657
|
+
errors?: Array<{
|
|
25658
|
+
path: string;
|
|
25659
|
+
message: string;
|
|
25660
|
+
summary?: string;
|
|
25661
|
+
}>;
|
|
25662
|
+
meta?: {
|
|
25663
|
+
[key: string]: unknown;
|
|
25664
|
+
};
|
|
25665
|
+
};
|
|
25666
|
+
/**
|
|
25667
|
+
* Response for status 422
|
|
25668
|
+
*/
|
|
25669
|
+
422: {
|
|
25670
|
+
type: string;
|
|
25671
|
+
title: string;
|
|
25672
|
+
status: number;
|
|
25673
|
+
detail?: string;
|
|
25674
|
+
instance?: string;
|
|
25675
|
+
code?: string;
|
|
25676
|
+
errors?: Array<{
|
|
25677
|
+
path: string;
|
|
25678
|
+
message: string;
|
|
25679
|
+
summary?: string;
|
|
25680
|
+
}>;
|
|
25681
|
+
meta?: {
|
|
25682
|
+
[key: string]: unknown;
|
|
25683
|
+
};
|
|
25684
|
+
};
|
|
25685
|
+
/**
|
|
25686
|
+
* Response for status 500
|
|
25687
|
+
*/
|
|
25688
|
+
500: {
|
|
25689
|
+
type: string;
|
|
25690
|
+
title: string;
|
|
25691
|
+
status: number;
|
|
25692
|
+
detail?: string;
|
|
25693
|
+
instance?: string;
|
|
25694
|
+
code?: string;
|
|
25695
|
+
errors?: Array<{
|
|
25696
|
+
path: string;
|
|
25697
|
+
message: string;
|
|
25698
|
+
summary?: string;
|
|
25699
|
+
}>;
|
|
25700
|
+
meta?: {
|
|
25701
|
+
[key: string]: unknown;
|
|
25702
|
+
};
|
|
25703
|
+
};
|
|
25704
|
+
};
|
|
25705
|
+
export type PostApiTaskRunsByTaskRunIdEnvironmentError = PostApiTaskRunsByTaskRunIdEnvironmentErrors[keyof PostApiTaskRunsByTaskRunIdEnvironmentErrors];
|
|
25706
|
+
export type PostApiTaskRunsByTaskRunIdEnvironmentResponses = {
|
|
25707
|
+
/**
|
|
25708
|
+
* Response for status 200
|
|
25709
|
+
*/
|
|
25710
|
+
200: {
|
|
25711
|
+
secrets: {
|
|
25712
|
+
[key: string]: {
|
|
25713
|
+
value: string;
|
|
25714
|
+
expiresAt: string | null;
|
|
25715
|
+
};
|
|
25716
|
+
};
|
|
25717
|
+
missing: Array<string>;
|
|
25718
|
+
};
|
|
25719
|
+
};
|
|
25720
|
+
export type PostApiTaskRunsByTaskRunIdEnvironmentResponse = PostApiTaskRunsByTaskRunIdEnvironmentResponses[keyof PostApiTaskRunsByTaskRunIdEnvironmentResponses];
|
|
25721
|
+
export type GetApiConnectorsData = {
|
|
25722
|
+
body?: never;
|
|
25723
|
+
path?: never;
|
|
25724
|
+
query?: never;
|
|
25725
|
+
url: '/api/connectors';
|
|
25726
|
+
};
|
|
25727
|
+
export type GetApiConnectorsErrors = {
|
|
25728
|
+
/**
|
|
25729
|
+
* Response for status 401
|
|
25730
|
+
*/
|
|
25731
|
+
401: {
|
|
25732
|
+
type: string;
|
|
25733
|
+
title: string;
|
|
25734
|
+
status: number;
|
|
25735
|
+
detail?: string;
|
|
25736
|
+
instance?: string;
|
|
25737
|
+
code?: string;
|
|
25738
|
+
errors?: Array<{
|
|
25739
|
+
path: string;
|
|
25740
|
+
message: string;
|
|
25741
|
+
summary?: string;
|
|
25742
|
+
}>;
|
|
25743
|
+
meta?: {
|
|
25744
|
+
[key: string]: unknown;
|
|
25745
|
+
};
|
|
25746
|
+
};
|
|
25747
|
+
/**
|
|
25748
|
+
* Response for status 403
|
|
25749
|
+
*/
|
|
25750
|
+
403: {
|
|
25751
|
+
type: string;
|
|
25752
|
+
title: string;
|
|
25753
|
+
status: number;
|
|
25754
|
+
detail?: string;
|
|
25755
|
+
instance?: string;
|
|
25756
|
+
code?: string;
|
|
25757
|
+
errors?: Array<{
|
|
25758
|
+
path: string;
|
|
25759
|
+
message: string;
|
|
25760
|
+
summary?: string;
|
|
25761
|
+
}>;
|
|
25762
|
+
meta?: {
|
|
25763
|
+
[key: string]: unknown;
|
|
25764
|
+
};
|
|
25765
|
+
};
|
|
25766
|
+
/**
|
|
25767
|
+
* Response for status 422
|
|
25768
|
+
*/
|
|
25769
|
+
422: {
|
|
25770
|
+
type: string;
|
|
25771
|
+
title: string;
|
|
25772
|
+
status: number;
|
|
25773
|
+
detail?: string;
|
|
25774
|
+
instance?: string;
|
|
25775
|
+
code?: string;
|
|
25776
|
+
errors?: Array<{
|
|
25777
|
+
path: string;
|
|
25778
|
+
message: string;
|
|
25779
|
+
summary?: string;
|
|
25780
|
+
}>;
|
|
25781
|
+
meta?: {
|
|
25782
|
+
[key: string]: unknown;
|
|
25783
|
+
};
|
|
25784
|
+
};
|
|
25785
|
+
/**
|
|
25786
|
+
* Response for status 500
|
|
25787
|
+
*/
|
|
25788
|
+
500: {
|
|
25789
|
+
type: string;
|
|
25790
|
+
title: string;
|
|
25791
|
+
status: number;
|
|
25792
|
+
detail?: string;
|
|
25793
|
+
instance?: string;
|
|
25794
|
+
code?: string;
|
|
25795
|
+
errors?: Array<{
|
|
25796
|
+
path: string;
|
|
25797
|
+
message: string;
|
|
25798
|
+
summary?: string;
|
|
25799
|
+
}>;
|
|
25800
|
+
meta?: {
|
|
25801
|
+
[key: string]: unknown;
|
|
25802
|
+
};
|
|
25803
|
+
};
|
|
25804
|
+
};
|
|
25805
|
+
export type GetApiConnectorsError = GetApiConnectorsErrors[keyof GetApiConnectorsErrors];
|
|
25806
|
+
export type GetApiConnectorsResponses = {
|
|
25807
|
+
/**
|
|
25808
|
+
* Response for status 200
|
|
25809
|
+
*/
|
|
25810
|
+
200: Array<{
|
|
25811
|
+
id: string;
|
|
25812
|
+
name: string;
|
|
25813
|
+
description: string;
|
|
25814
|
+
auth: 'none' | 'apiKey';
|
|
25815
|
+
requiredVars: Array<{
|
|
25816
|
+
name: string;
|
|
25817
|
+
description: string;
|
|
25818
|
+
}>;
|
|
25819
|
+
}>;
|
|
25820
|
+
};
|
|
25821
|
+
export type GetApiConnectorsResponse = GetApiConnectorsResponses[keyof GetApiConnectorsResponses];
|