@sixb/client 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/agent-streams.d.ts +26 -3
- package/dist/agent-streams.d.ts.map +1 -1
- package/dist/api.d.ts +6 -2
- package/dist/api.d.ts.map +1 -1
- package/dist/browser.d.ts +1 -1
- package/dist/browser.d.ts.map +1 -1
- package/dist/browser.js +2 -2
- package/dist/browser.js.map +1 -1
- package/dist/{chunk-3g6ad4jc.js → chunk-5vp5zr0d.js} +1 -1
- package/dist/{chunk-fxrh83wy.js → chunk-ctf97s25.js} +2 -2
- package/dist/{chunk-05yz32g0.js → chunk-mpgzkmwc.js} +2 -74
- package/dist/chunk-mpgzkmwc.js.map +10 -0
- package/dist/{chunk-ctsdm59b.js → chunk-skkt217g.js} +58 -3
- package/dist/chunk-skkt217g.js.map +19 -0
- package/dist/{chunk-pey7nh0d.js → chunk-tsdnw994.js} +2 -2
- package/dist/{chunk-2d7239yx.js → chunk-v4jdc1nb.js} +40 -28
- package/dist/{chunk-2d7239yx.js.map → chunk-v4jdc1nb.js.map} +3 -3
- package/dist/{chunk-aw8rcsq3.js → chunk-zfne7wxr.js} +27 -12
- package/dist/chunk-zfne7wxr.js.map +10 -0
- package/dist/client-provider.d.ts +8 -0
- package/dist/client-provider.d.ts.map +1 -0
- package/dist/connectors/connection.d.ts +50 -0
- package/dist/connectors/connection.d.ts.map +1 -0
- package/dist/connectors/index.d.ts +4 -0
- package/dist/connectors/index.d.ts.map +1 -0
- package/dist/connectors/mutations.d.ts +62 -0
- package/dist/connectors/mutations.d.ts.map +1 -0
- package/dist/connectors/queries.d.ts +536 -0
- package/dist/connectors/queries.d.ts.map +1 -0
- package/dist/generated/@tanstack/react-query.gen.d.ts +3954 -950
- package/dist/generated/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.d.ts.map +1 -1
- package/dist/generated/sdk.gen.d.ts +33 -1
- package/dist/generated/sdk.gen.d.ts.map +1 -1
- package/dist/generated/types.gen.d.ts +1953 -251
- package/dist/generated/types.gen.d.ts.map +1 -1
- package/dist/hooks.d.ts +2 -0
- package/dist/hooks.d.ts.map +1 -1
- package/dist/hooks.js +1118 -351
- package/dist/hooks.js.map +11 -6
- package/dist/index.js +25 -11
- package/dist/index.js.map +1 -1
- package/dist/logs.js +3 -3
- package/dist/models.d.ts +0 -31
- package/dist/models.d.ts.map +1 -1
- package/dist/models.js +19 -7
- package/dist/models.js.map +1 -1
- package/dist/query-hooks.d.ts +2 -6
- package/dist/query-hooks.d.ts.map +1 -1
- package/dist/query.js +3 -3
- package/dist/useAgentActivityStream.d.ts +14 -0
- package/dist/useAgentActivityStream.d.ts.map +1 -0
- package/package.json +6 -2
- package/src/agent-streams.ts +68 -45
- package/src/api.ts +26 -2
- package/src/browser.ts +1 -1
- package/src/client-provider.ts +12 -0
- package/src/connectors/connection.ts +443 -0
- package/src/connectors/index.ts +12 -0
- package/src/connectors/mutations.ts +417 -0
- package/src/connectors/queries.ts +150 -0
- package/src/generated/@tanstack/react-query.gen.ts +245 -0
- package/src/generated/index.ts +48 -0
- package/src/generated/sdk.gen.ts +168 -1
- package/src/generated/types.gen.ts +2789 -293
- package/src/hooks.ts +6 -0
- package/src/models.ts +0 -103
- package/src/query-hooks.ts +8 -14
- package/src/useAgentActivityStream.ts +48 -0
- package/dist/chunk-05yz32g0.js.map +0 -10
- package/dist/chunk-aw8rcsq3.js.map +0 -10
- package/dist/chunk-ctsdm59b.js.map +0 -19
- /package/dist/{chunk-3g6ad4jc.js.map → chunk-5vp5zr0d.js.map} +0 -0
- /package/dist/{chunk-fxrh83wy.js.map → chunk-ctf97s25.js.map} +0 -0
- /package/dist/{chunk-pey7nh0d.js.map → chunk-tsdnw994.js.map} +0 -0
|
@@ -1659,6 +1659,9 @@ export type ListConnectorsResponses = {
|
|
|
1659
1659
|
200: Array<{
|
|
1660
1660
|
id: string
|
|
1661
1661
|
type: string
|
|
1662
|
+
connection: {
|
|
1663
|
+
authentication: "oauth2"
|
|
1664
|
+
} | null
|
|
1662
1665
|
syncIds: Array<string>
|
|
1663
1666
|
webhooks: Array<{
|
|
1664
1667
|
id: string
|
|
@@ -1678,41 +1681,1153 @@ export type GetConnectorData = {
|
|
|
1678
1681
|
path: {
|
|
1679
1682
|
connectorId: string
|
|
1680
1683
|
}
|
|
1681
|
-
query?: never
|
|
1682
|
-
url: "/api/connectors/{connectorId}"
|
|
1683
|
-
}
|
|
1684
|
-
|
|
1685
|
-
export type GetConnectorErrors = {
|
|
1684
|
+
query?: never
|
|
1685
|
+
url: "/api/connectors/{connectorId}"
|
|
1686
|
+
}
|
|
1687
|
+
|
|
1688
|
+
export type GetConnectorErrors = {
|
|
1689
|
+
/**
|
|
1690
|
+
* Response for status 404
|
|
1691
|
+
*/
|
|
1692
|
+
404: {
|
|
1693
|
+
error: string
|
|
1694
|
+
}
|
|
1695
|
+
}
|
|
1696
|
+
|
|
1697
|
+
export type GetConnectorError = GetConnectorErrors[keyof GetConnectorErrors]
|
|
1698
|
+
|
|
1699
|
+
export type GetConnectorResponses = {
|
|
1700
|
+
/**
|
|
1701
|
+
* Response for status 200
|
|
1702
|
+
*/
|
|
1703
|
+
200: {
|
|
1704
|
+
id: string
|
|
1705
|
+
type: string
|
|
1706
|
+
connection: {
|
|
1707
|
+
authentication: "oauth2"
|
|
1708
|
+
} | null
|
|
1709
|
+
syncIds: Array<string>
|
|
1710
|
+
webhooks: Array<{
|
|
1711
|
+
id: string
|
|
1712
|
+
method: "POST"
|
|
1713
|
+
route: string
|
|
1714
|
+
bodyFormat: "json" | "text" | "raw"
|
|
1715
|
+
hasVerify: boolean
|
|
1716
|
+
hasIdempotency: boolean
|
|
1717
|
+
}>
|
|
1718
|
+
}
|
|
1719
|
+
}
|
|
1720
|
+
|
|
1721
|
+
export type GetConnectorResponse = GetConnectorResponses[keyof GetConnectorResponses]
|
|
1722
|
+
|
|
1723
|
+
export type ListConnectorConnectionsData = {
|
|
1724
|
+
body?: never
|
|
1725
|
+
path: {
|
|
1726
|
+
connectorId: string
|
|
1727
|
+
}
|
|
1728
|
+
query?: never
|
|
1729
|
+
url: "/api/connectors/{connectorId}/connections"
|
|
1730
|
+
}
|
|
1731
|
+
|
|
1732
|
+
export type ListConnectorConnectionsErrors = {
|
|
1733
|
+
/**
|
|
1734
|
+
* Response for status 400
|
|
1735
|
+
*/
|
|
1736
|
+
400: {
|
|
1737
|
+
error: string
|
|
1738
|
+
/**
|
|
1739
|
+
* Stable machine-readable failure code for programmatic handling.
|
|
1740
|
+
*/
|
|
1741
|
+
code?: "connector.authorization_invalid" | "connector.configuration_invalid"
|
|
1742
|
+
}
|
|
1743
|
+
/**
|
|
1744
|
+
* Response for status 403
|
|
1745
|
+
*/
|
|
1746
|
+
403: {
|
|
1747
|
+
error: string
|
|
1748
|
+
}
|
|
1749
|
+
/**
|
|
1750
|
+
* Response for status 404
|
|
1751
|
+
*/
|
|
1752
|
+
404: {
|
|
1753
|
+
error: string
|
|
1754
|
+
/**
|
|
1755
|
+
* Stable machine-readable failure code for programmatic handling.
|
|
1756
|
+
*/
|
|
1757
|
+
code?: "connector.not_found"
|
|
1758
|
+
}
|
|
1759
|
+
/**
|
|
1760
|
+
* Response for status 500
|
|
1761
|
+
*/
|
|
1762
|
+
500: {
|
|
1763
|
+
error: string
|
|
1764
|
+
/**
|
|
1765
|
+
* Stable machine-readable failure code for programmatic handling.
|
|
1766
|
+
*/
|
|
1767
|
+
code?: "internal.unexpected"
|
|
1768
|
+
}
|
|
1769
|
+
}
|
|
1770
|
+
|
|
1771
|
+
export type ListConnectorConnectionsError =
|
|
1772
|
+
ListConnectorConnectionsErrors[keyof ListConnectorConnectionsErrors]
|
|
1773
|
+
|
|
1774
|
+
export type ListConnectorConnectionsResponses = {
|
|
1775
|
+
/**
|
|
1776
|
+
* Response for status 200
|
|
1777
|
+
*/
|
|
1778
|
+
200: Array<{
|
|
1779
|
+
id: string
|
|
1780
|
+
connectorId: string
|
|
1781
|
+
owner: {
|
|
1782
|
+
type: "project"
|
|
1783
|
+
}
|
|
1784
|
+
slot: string
|
|
1785
|
+
account: {
|
|
1786
|
+
id: string
|
|
1787
|
+
label: string
|
|
1788
|
+
description?: string
|
|
1789
|
+
avatarUrl?: string
|
|
1790
|
+
}
|
|
1791
|
+
status: "connected" | "needs_reauthorization" | "disconnected"
|
|
1792
|
+
}>
|
|
1793
|
+
}
|
|
1794
|
+
|
|
1795
|
+
export type ListConnectorConnectionsResponse =
|
|
1796
|
+
ListConnectorConnectionsResponses[keyof ListConnectorConnectionsResponses]
|
|
1797
|
+
|
|
1798
|
+
export type DisconnectConnectorConnectionData = {
|
|
1799
|
+
body?: never
|
|
1800
|
+
path: {
|
|
1801
|
+
connectorId: string
|
|
1802
|
+
connectionId: string
|
|
1803
|
+
}
|
|
1804
|
+
query?: never
|
|
1805
|
+
url: "/api/connectors/{connectorId}/connections/{connectionId}"
|
|
1806
|
+
}
|
|
1807
|
+
|
|
1808
|
+
export type DisconnectConnectorConnectionErrors = {
|
|
1809
|
+
/**
|
|
1810
|
+
* Response for status 400
|
|
1811
|
+
*/
|
|
1812
|
+
400: {
|
|
1813
|
+
error: string
|
|
1814
|
+
/**
|
|
1815
|
+
* Stable machine-readable failure code for programmatic handling.
|
|
1816
|
+
*/
|
|
1817
|
+
code?: "connector.authorization_invalid" | "connector.configuration_invalid"
|
|
1818
|
+
}
|
|
1819
|
+
/**
|
|
1820
|
+
* Response for status 403
|
|
1821
|
+
*/
|
|
1822
|
+
403: {
|
|
1823
|
+
error: string
|
|
1824
|
+
}
|
|
1825
|
+
/**
|
|
1826
|
+
* Response for status 404
|
|
1827
|
+
*/
|
|
1828
|
+
404: {
|
|
1829
|
+
error: string
|
|
1830
|
+
/**
|
|
1831
|
+
* Stable machine-readable failure code for programmatic handling.
|
|
1832
|
+
*/
|
|
1833
|
+
code?: "connector.not_found"
|
|
1834
|
+
}
|
|
1835
|
+
/**
|
|
1836
|
+
* Response for status 409
|
|
1837
|
+
*/
|
|
1838
|
+
409: {
|
|
1839
|
+
error: string
|
|
1840
|
+
/**
|
|
1841
|
+
* Stable machine-readable failure code for programmatic handling.
|
|
1842
|
+
*/
|
|
1843
|
+
code?:
|
|
1844
|
+
| "connector.authorization_required"
|
|
1845
|
+
| "connector.operation_conflict"
|
|
1846
|
+
| "connector.operation_in_progress"
|
|
1847
|
+
| "connector.replacement_required"
|
|
1848
|
+
| "connector.revocation_pending"
|
|
1849
|
+
}
|
|
1850
|
+
/**
|
|
1851
|
+
* Response for status 500
|
|
1852
|
+
*/
|
|
1853
|
+
500: {
|
|
1854
|
+
error: string
|
|
1855
|
+
/**
|
|
1856
|
+
* Stable machine-readable failure code for programmatic handling.
|
|
1857
|
+
*/
|
|
1858
|
+
code?: "internal.unexpected"
|
|
1859
|
+
}
|
|
1860
|
+
}
|
|
1861
|
+
|
|
1862
|
+
export type DisconnectConnectorConnectionError =
|
|
1863
|
+
DisconnectConnectorConnectionErrors[keyof DisconnectConnectorConnectionErrors]
|
|
1864
|
+
|
|
1865
|
+
export type DisconnectConnectorConnectionResponses = {
|
|
1866
|
+
/**
|
|
1867
|
+
* Response for status 200
|
|
1868
|
+
*/
|
|
1869
|
+
200: {
|
|
1870
|
+
success: boolean
|
|
1871
|
+
}
|
|
1872
|
+
}
|
|
1873
|
+
|
|
1874
|
+
export type DisconnectConnectorConnectionResponse =
|
|
1875
|
+
DisconnectConnectorConnectionResponses[keyof DisconnectConnectorConnectionResponses]
|
|
1876
|
+
|
|
1877
|
+
export type RevokeConnectorConnectionData = {
|
|
1878
|
+
body?: never
|
|
1879
|
+
path: {
|
|
1880
|
+
connectorId: string
|
|
1881
|
+
connectionId: string
|
|
1882
|
+
}
|
|
1883
|
+
query?: never
|
|
1884
|
+
url: "/api/connectors/{connectorId}/connections/{connectionId}/revoke"
|
|
1885
|
+
}
|
|
1886
|
+
|
|
1887
|
+
export type RevokeConnectorConnectionErrors = {
|
|
1888
|
+
/**
|
|
1889
|
+
* Response for status 400
|
|
1890
|
+
*/
|
|
1891
|
+
400: {
|
|
1892
|
+
error: string
|
|
1893
|
+
/**
|
|
1894
|
+
* Stable machine-readable failure code for programmatic handling.
|
|
1895
|
+
*/
|
|
1896
|
+
code?: "connector.authorization_invalid" | "connector.configuration_invalid"
|
|
1897
|
+
}
|
|
1898
|
+
/**
|
|
1899
|
+
* Response for status 403
|
|
1900
|
+
*/
|
|
1901
|
+
403: {
|
|
1902
|
+
error: string
|
|
1903
|
+
}
|
|
1904
|
+
/**
|
|
1905
|
+
* Response for status 404
|
|
1906
|
+
*/
|
|
1907
|
+
404: {
|
|
1908
|
+
error: string
|
|
1909
|
+
/**
|
|
1910
|
+
* Stable machine-readable failure code for programmatic handling.
|
|
1911
|
+
*/
|
|
1912
|
+
code?: "connector.not_found"
|
|
1913
|
+
}
|
|
1914
|
+
/**
|
|
1915
|
+
* Response for status 409
|
|
1916
|
+
*/
|
|
1917
|
+
409: {
|
|
1918
|
+
error: string
|
|
1919
|
+
/**
|
|
1920
|
+
* Stable machine-readable failure code for programmatic handling.
|
|
1921
|
+
*/
|
|
1922
|
+
code?:
|
|
1923
|
+
| "connector.authorization_required"
|
|
1924
|
+
| "connector.operation_conflict"
|
|
1925
|
+
| "connector.operation_in_progress"
|
|
1926
|
+
| "connector.replacement_required"
|
|
1927
|
+
| "connector.revocation_pending"
|
|
1928
|
+
}
|
|
1929
|
+
/**
|
|
1930
|
+
* Response for status 500
|
|
1931
|
+
*/
|
|
1932
|
+
500: {
|
|
1933
|
+
error: string
|
|
1934
|
+
/**
|
|
1935
|
+
* Stable machine-readable failure code for programmatic handling.
|
|
1936
|
+
*/
|
|
1937
|
+
code?: "internal.unexpected"
|
|
1938
|
+
}
|
|
1939
|
+
/**
|
|
1940
|
+
* Response for status 502
|
|
1941
|
+
*/
|
|
1942
|
+
502: {
|
|
1943
|
+
error: string
|
|
1944
|
+
/**
|
|
1945
|
+
* Stable machine-readable failure code for programmatic handling.
|
|
1946
|
+
*/
|
|
1947
|
+
code?: "connector.adapter_invalid" | "connector.provider_failed"
|
|
1948
|
+
}
|
|
1949
|
+
/**
|
|
1950
|
+
* Response for status 503
|
|
1951
|
+
*/
|
|
1952
|
+
503: {
|
|
1953
|
+
error: string
|
|
1954
|
+
/**
|
|
1955
|
+
* Stable machine-readable failure code for programmatic handling.
|
|
1956
|
+
*/
|
|
1957
|
+
code?: "connector.credentials_unavailable" | "connector.provider_unavailable"
|
|
1958
|
+
}
|
|
1959
|
+
}
|
|
1960
|
+
|
|
1961
|
+
export type RevokeConnectorConnectionError =
|
|
1962
|
+
RevokeConnectorConnectionErrors[keyof RevokeConnectorConnectionErrors]
|
|
1963
|
+
|
|
1964
|
+
export type RevokeConnectorConnectionResponses = {
|
|
1965
|
+
/**
|
|
1966
|
+
* Response for status 200
|
|
1967
|
+
*/
|
|
1968
|
+
200: {
|
|
1969
|
+
affectedConnections: Array<{
|
|
1970
|
+
id: string
|
|
1971
|
+
connectorId: string
|
|
1972
|
+
owner: {
|
|
1973
|
+
type: "project"
|
|
1974
|
+
}
|
|
1975
|
+
slot: string
|
|
1976
|
+
account: {
|
|
1977
|
+
id: string
|
|
1978
|
+
label: string
|
|
1979
|
+
description?: string
|
|
1980
|
+
avatarUrl?: string
|
|
1981
|
+
}
|
|
1982
|
+
status: "connected" | "needs_reauthorization" | "disconnected"
|
|
1983
|
+
}>
|
|
1984
|
+
}
|
|
1985
|
+
}
|
|
1986
|
+
|
|
1987
|
+
export type RevokeConnectorConnectionResponse =
|
|
1988
|
+
RevokeConnectorConnectionResponses[keyof RevokeConnectorConnectionResponses]
|
|
1989
|
+
|
|
1990
|
+
export type StartConnectorConnectionRunData = {
|
|
1991
|
+
body: {
|
|
1992
|
+
slot: string
|
|
1993
|
+
returnTo: string
|
|
1994
|
+
}
|
|
1995
|
+
path: {
|
|
1996
|
+
connectorId: string
|
|
1997
|
+
}
|
|
1998
|
+
query?: never
|
|
1999
|
+
url: "/api/connectors/{connectorId}/connection-runs"
|
|
2000
|
+
}
|
|
2001
|
+
|
|
2002
|
+
export type StartConnectorConnectionRunErrors = {
|
|
2003
|
+
/**
|
|
2004
|
+
* Response for status 400
|
|
2005
|
+
*/
|
|
2006
|
+
400: {
|
|
2007
|
+
error: string
|
|
2008
|
+
/**
|
|
2009
|
+
* Stable machine-readable failure code for programmatic handling.
|
|
2010
|
+
*/
|
|
2011
|
+
code?: "connector.authorization_invalid" | "connector.configuration_invalid"
|
|
2012
|
+
}
|
|
2013
|
+
/**
|
|
2014
|
+
* Response for status 403
|
|
2015
|
+
*/
|
|
2016
|
+
403: {
|
|
2017
|
+
error: string
|
|
2018
|
+
}
|
|
2019
|
+
/**
|
|
2020
|
+
* Response for status 404
|
|
2021
|
+
*/
|
|
2022
|
+
404: {
|
|
2023
|
+
error: string
|
|
2024
|
+
/**
|
|
2025
|
+
* Stable machine-readable failure code for programmatic handling.
|
|
2026
|
+
*/
|
|
2027
|
+
code?: "connector.not_found"
|
|
2028
|
+
}
|
|
2029
|
+
/**
|
|
2030
|
+
* Response for status 409
|
|
2031
|
+
*/
|
|
2032
|
+
409: {
|
|
2033
|
+
error: string
|
|
2034
|
+
/**
|
|
2035
|
+
* Stable machine-readable failure code for programmatic handling.
|
|
2036
|
+
*/
|
|
2037
|
+
code?:
|
|
2038
|
+
| "connector.authorization_required"
|
|
2039
|
+
| "connector.operation_conflict"
|
|
2040
|
+
| "connector.operation_in_progress"
|
|
2041
|
+
| "connector.replacement_required"
|
|
2042
|
+
| "connector.revocation_pending"
|
|
2043
|
+
}
|
|
2044
|
+
/**
|
|
2045
|
+
* Response for status 500
|
|
2046
|
+
*/
|
|
2047
|
+
500: {
|
|
2048
|
+
error: string
|
|
2049
|
+
/**
|
|
2050
|
+
* Stable machine-readable failure code for programmatic handling.
|
|
2051
|
+
*/
|
|
2052
|
+
code?: "internal.unexpected"
|
|
2053
|
+
}
|
|
2054
|
+
/**
|
|
2055
|
+
* Response for status 502
|
|
2056
|
+
*/
|
|
2057
|
+
502: {
|
|
2058
|
+
error: string
|
|
2059
|
+
/**
|
|
2060
|
+
* Stable machine-readable failure code for programmatic handling.
|
|
2061
|
+
*/
|
|
2062
|
+
code?: "connector.adapter_invalid" | "connector.provider_failed"
|
|
2063
|
+
}
|
|
2064
|
+
/**
|
|
2065
|
+
* Response for status 503
|
|
2066
|
+
*/
|
|
2067
|
+
503: {
|
|
2068
|
+
error: string
|
|
2069
|
+
/**
|
|
2070
|
+
* Stable machine-readable failure code for programmatic handling.
|
|
2071
|
+
*/
|
|
2072
|
+
code?: "connector.credentials_unavailable" | "connector.provider_unavailable"
|
|
2073
|
+
}
|
|
2074
|
+
}
|
|
2075
|
+
|
|
2076
|
+
export type StartConnectorConnectionRunError =
|
|
2077
|
+
StartConnectorConnectionRunErrors[keyof StartConnectorConnectionRunErrors]
|
|
2078
|
+
|
|
2079
|
+
export type StartConnectorConnectionRunResponses = {
|
|
2080
|
+
/**
|
|
2081
|
+
* Response for status 201
|
|
2082
|
+
*/
|
|
2083
|
+
201: {
|
|
2084
|
+
runId: string
|
|
2085
|
+
authorizationUrl: string
|
|
2086
|
+
affectedConnections: Array<{
|
|
2087
|
+
id: string
|
|
2088
|
+
connectorId: string
|
|
2089
|
+
owner: {
|
|
2090
|
+
type: "project"
|
|
2091
|
+
}
|
|
2092
|
+
slot: string
|
|
2093
|
+
account: {
|
|
2094
|
+
id: string
|
|
2095
|
+
label: string
|
|
2096
|
+
description?: string
|
|
2097
|
+
avatarUrl?: string
|
|
2098
|
+
}
|
|
2099
|
+
status: "connected" | "needs_reauthorization" | "disconnected"
|
|
2100
|
+
}>
|
|
2101
|
+
}
|
|
2102
|
+
}
|
|
2103
|
+
|
|
2104
|
+
export type StartConnectorConnectionRunResponse =
|
|
2105
|
+
StartConnectorConnectionRunResponses[keyof StartConnectorConnectionRunResponses]
|
|
2106
|
+
|
|
2107
|
+
export type GetConnectorConnectionRunData = {
|
|
2108
|
+
body?: never
|
|
2109
|
+
path: {
|
|
2110
|
+
connectorId: string
|
|
2111
|
+
runId: string
|
|
2112
|
+
}
|
|
2113
|
+
query?: never
|
|
2114
|
+
url: "/api/connectors/{connectorId}/connection-runs/{runId}"
|
|
2115
|
+
}
|
|
2116
|
+
|
|
2117
|
+
export type GetConnectorConnectionRunErrors = {
|
|
2118
|
+
/**
|
|
2119
|
+
* Response for status 400
|
|
2120
|
+
*/
|
|
2121
|
+
400: {
|
|
2122
|
+
error: string
|
|
2123
|
+
/**
|
|
2124
|
+
* Stable machine-readable failure code for programmatic handling.
|
|
2125
|
+
*/
|
|
2126
|
+
code?: "connector.authorization_invalid" | "connector.configuration_invalid"
|
|
2127
|
+
}
|
|
2128
|
+
/**
|
|
2129
|
+
* Response for status 403
|
|
2130
|
+
*/
|
|
2131
|
+
403: {
|
|
2132
|
+
error: string
|
|
2133
|
+
}
|
|
2134
|
+
/**
|
|
2135
|
+
* Response for status 404
|
|
2136
|
+
*/
|
|
2137
|
+
404: {
|
|
2138
|
+
error: string
|
|
2139
|
+
/**
|
|
2140
|
+
* Stable machine-readable failure code for programmatic handling.
|
|
2141
|
+
*/
|
|
2142
|
+
code?: "connector.not_found"
|
|
2143
|
+
}
|
|
2144
|
+
/**
|
|
2145
|
+
* Response for status 500
|
|
2146
|
+
*/
|
|
2147
|
+
500: {
|
|
2148
|
+
error: string
|
|
2149
|
+
/**
|
|
2150
|
+
* Stable machine-readable failure code for programmatic handling.
|
|
2151
|
+
*/
|
|
2152
|
+
code?: "internal.unexpected"
|
|
2153
|
+
}
|
|
2154
|
+
}
|
|
2155
|
+
|
|
2156
|
+
export type GetConnectorConnectionRunError =
|
|
2157
|
+
GetConnectorConnectionRunErrors[keyof GetConnectorConnectionRunErrors]
|
|
2158
|
+
|
|
2159
|
+
export type GetConnectorConnectionRunResponses = {
|
|
2160
|
+
/**
|
|
2161
|
+
* Response for status 200
|
|
2162
|
+
*/
|
|
2163
|
+
200:
|
|
2164
|
+
| {
|
|
2165
|
+
id: string
|
|
2166
|
+
connectorId: string
|
|
2167
|
+
kind: "connect" | "reauthorize"
|
|
2168
|
+
owner: {
|
|
2169
|
+
type: "project"
|
|
2170
|
+
}
|
|
2171
|
+
slot: string
|
|
2172
|
+
createdAt: string
|
|
2173
|
+
updatedAt: string
|
|
2174
|
+
status: "waiting"
|
|
2175
|
+
waitingFor: "provider_authorization"
|
|
2176
|
+
expiresAt: string
|
|
2177
|
+
}
|
|
2178
|
+
| {
|
|
2179
|
+
id: string
|
|
2180
|
+
connectorId: string
|
|
2181
|
+
kind: "connect" | "reauthorize"
|
|
2182
|
+
owner: {
|
|
2183
|
+
type: "project"
|
|
2184
|
+
}
|
|
2185
|
+
slot: string
|
|
2186
|
+
createdAt: string
|
|
2187
|
+
updatedAt: string
|
|
2188
|
+
status: "running"
|
|
2189
|
+
}
|
|
2190
|
+
| {
|
|
2191
|
+
id: string
|
|
2192
|
+
connectorId: string
|
|
2193
|
+
kind: "connect" | "reauthorize"
|
|
2194
|
+
owner: {
|
|
2195
|
+
type: "project"
|
|
2196
|
+
}
|
|
2197
|
+
slot: string
|
|
2198
|
+
createdAt: string
|
|
2199
|
+
updatedAt: string
|
|
2200
|
+
status: "waiting"
|
|
2201
|
+
waitingFor: "account_selection"
|
|
2202
|
+
accounts: Array<{
|
|
2203
|
+
id: string
|
|
2204
|
+
label: string
|
|
2205
|
+
description?: string
|
|
2206
|
+
avatarUrl?: string
|
|
2207
|
+
}>
|
|
2208
|
+
expiresAt: string
|
|
2209
|
+
}
|
|
2210
|
+
| {
|
|
2211
|
+
id: string
|
|
2212
|
+
connectorId: string
|
|
2213
|
+
kind: "connect" | "reauthorize"
|
|
2214
|
+
owner: {
|
|
2215
|
+
type: "project"
|
|
2216
|
+
}
|
|
2217
|
+
slot: string
|
|
2218
|
+
createdAt: string
|
|
2219
|
+
updatedAt: string
|
|
2220
|
+
status: "succeeded"
|
|
2221
|
+
connections: Array<{
|
|
2222
|
+
id: string
|
|
2223
|
+
connectorId: string
|
|
2224
|
+
owner: {
|
|
2225
|
+
type: "project"
|
|
2226
|
+
}
|
|
2227
|
+
slot: string
|
|
2228
|
+
account: {
|
|
2229
|
+
id: string
|
|
2230
|
+
label: string
|
|
2231
|
+
description?: string
|
|
2232
|
+
avatarUrl?: string
|
|
2233
|
+
}
|
|
2234
|
+
status: "connected" | "needs_reauthorization" | "disconnected"
|
|
2235
|
+
}>
|
|
2236
|
+
finishedAt: string
|
|
2237
|
+
}
|
|
2238
|
+
| {
|
|
2239
|
+
id: string
|
|
2240
|
+
connectorId: string
|
|
2241
|
+
kind: "connect" | "reauthorize"
|
|
2242
|
+
owner: {
|
|
2243
|
+
type: "project"
|
|
2244
|
+
}
|
|
2245
|
+
slot: string
|
|
2246
|
+
createdAt: string
|
|
2247
|
+
updatedAt: string
|
|
2248
|
+
status: "failed"
|
|
2249
|
+
error: {
|
|
2250
|
+
code:
|
|
2251
|
+
| "internal.unexpected"
|
|
2252
|
+
| "connector.adapter_invalid"
|
|
2253
|
+
| "connector.authorization_invalid"
|
|
2254
|
+
| "connector.authorization_required"
|
|
2255
|
+
| "connector.credentials_unavailable"
|
|
2256
|
+
| "connector.not_found"
|
|
2257
|
+
| "connector.operation_conflict"
|
|
2258
|
+
| "connector.operation_in_progress"
|
|
2259
|
+
| "connector.provider_failed"
|
|
2260
|
+
| "connector.provider_unavailable"
|
|
2261
|
+
message: string
|
|
2262
|
+
retryable: boolean
|
|
2263
|
+
at: string
|
|
2264
|
+
/**
|
|
2265
|
+
* Any JSON-compatible value.
|
|
2266
|
+
*/
|
|
2267
|
+
details?:
|
|
2268
|
+
| string
|
|
2269
|
+
| number
|
|
2270
|
+
| boolean
|
|
2271
|
+
| Array<unknown>
|
|
2272
|
+
| {
|
|
2273
|
+
[key: string]: unknown
|
|
2274
|
+
}
|
|
2275
|
+
| null
|
|
2276
|
+
truncated?: true
|
|
2277
|
+
}
|
|
2278
|
+
finishedAt: string
|
|
2279
|
+
}
|
|
2280
|
+
| {
|
|
2281
|
+
id: string
|
|
2282
|
+
connectorId: string
|
|
2283
|
+
kind: "connect" | "reauthorize"
|
|
2284
|
+
owner: {
|
|
2285
|
+
type: "project"
|
|
2286
|
+
}
|
|
2287
|
+
slot: string
|
|
2288
|
+
createdAt: string
|
|
2289
|
+
updatedAt: string
|
|
2290
|
+
status: "cancelled" | "expired"
|
|
2291
|
+
finishedAt: string
|
|
2292
|
+
}
|
|
2293
|
+
}
|
|
2294
|
+
|
|
2295
|
+
export type GetConnectorConnectionRunResponse =
|
|
2296
|
+
GetConnectorConnectionRunResponses[keyof GetConnectorConnectionRunResponses]
|
|
2297
|
+
|
|
2298
|
+
export type AddConnectorConnectionData = {
|
|
2299
|
+
body: {
|
|
2300
|
+
slot: string
|
|
2301
|
+
}
|
|
2302
|
+
path: {
|
|
2303
|
+
connectorId: string
|
|
2304
|
+
connectionId: string
|
|
2305
|
+
}
|
|
2306
|
+
query?: never
|
|
2307
|
+
url: "/api/connectors/{connectorId}/connections/{connectionId}/connection-runs"
|
|
2308
|
+
}
|
|
2309
|
+
|
|
2310
|
+
export type AddConnectorConnectionErrors = {
|
|
2311
|
+
/**
|
|
2312
|
+
* Response for status 400
|
|
2313
|
+
*/
|
|
2314
|
+
400: {
|
|
2315
|
+
error: string
|
|
2316
|
+
/**
|
|
2317
|
+
* Stable machine-readable failure code for programmatic handling.
|
|
2318
|
+
*/
|
|
2319
|
+
code?: "connector.authorization_invalid" | "connector.configuration_invalid"
|
|
2320
|
+
}
|
|
2321
|
+
/**
|
|
2322
|
+
* Response for status 403
|
|
2323
|
+
*/
|
|
2324
|
+
403: {
|
|
2325
|
+
error: string
|
|
2326
|
+
}
|
|
2327
|
+
/**
|
|
2328
|
+
* Response for status 404
|
|
2329
|
+
*/
|
|
2330
|
+
404: {
|
|
2331
|
+
error: string
|
|
2332
|
+
/**
|
|
2333
|
+
* Stable machine-readable failure code for programmatic handling.
|
|
2334
|
+
*/
|
|
2335
|
+
code?: "connector.not_found"
|
|
2336
|
+
}
|
|
2337
|
+
/**
|
|
2338
|
+
* Response for status 409
|
|
2339
|
+
*/
|
|
2340
|
+
409: {
|
|
2341
|
+
error: string
|
|
2342
|
+
/**
|
|
2343
|
+
* Stable machine-readable failure code for programmatic handling.
|
|
2344
|
+
*/
|
|
2345
|
+
code?:
|
|
2346
|
+
| "connector.authorization_required"
|
|
2347
|
+
| "connector.operation_conflict"
|
|
2348
|
+
| "connector.operation_in_progress"
|
|
2349
|
+
| "connector.replacement_required"
|
|
2350
|
+
| "connector.revocation_pending"
|
|
2351
|
+
}
|
|
2352
|
+
/**
|
|
2353
|
+
* Response for status 500
|
|
2354
|
+
*/
|
|
2355
|
+
500: {
|
|
2356
|
+
error: string
|
|
2357
|
+
/**
|
|
2358
|
+
* Stable machine-readable failure code for programmatic handling.
|
|
2359
|
+
*/
|
|
2360
|
+
code?: "internal.unexpected"
|
|
2361
|
+
}
|
|
2362
|
+
}
|
|
2363
|
+
|
|
2364
|
+
export type AddConnectorConnectionError =
|
|
2365
|
+
AddConnectorConnectionErrors[keyof AddConnectorConnectionErrors]
|
|
2366
|
+
|
|
2367
|
+
export type AddConnectorConnectionResponses = {
|
|
2368
|
+
/**
|
|
2369
|
+
* Response for status 201
|
|
2370
|
+
*/
|
|
2371
|
+
201:
|
|
2372
|
+
| {
|
|
2373
|
+
id: string
|
|
2374
|
+
connectorId: string
|
|
2375
|
+
kind: "connect" | "reauthorize"
|
|
2376
|
+
owner: {
|
|
2377
|
+
type: "project"
|
|
2378
|
+
}
|
|
2379
|
+
slot: string
|
|
2380
|
+
createdAt: string
|
|
2381
|
+
updatedAt: string
|
|
2382
|
+
status: "waiting"
|
|
2383
|
+
waitingFor: "provider_authorization"
|
|
2384
|
+
expiresAt: string
|
|
2385
|
+
}
|
|
2386
|
+
| {
|
|
2387
|
+
id: string
|
|
2388
|
+
connectorId: string
|
|
2389
|
+
kind: "connect" | "reauthorize"
|
|
2390
|
+
owner: {
|
|
2391
|
+
type: "project"
|
|
2392
|
+
}
|
|
2393
|
+
slot: string
|
|
2394
|
+
createdAt: string
|
|
2395
|
+
updatedAt: string
|
|
2396
|
+
status: "running"
|
|
2397
|
+
}
|
|
2398
|
+
| {
|
|
2399
|
+
id: string
|
|
2400
|
+
connectorId: string
|
|
2401
|
+
kind: "connect" | "reauthorize"
|
|
2402
|
+
owner: {
|
|
2403
|
+
type: "project"
|
|
2404
|
+
}
|
|
2405
|
+
slot: string
|
|
2406
|
+
createdAt: string
|
|
2407
|
+
updatedAt: string
|
|
2408
|
+
status: "waiting"
|
|
2409
|
+
waitingFor: "account_selection"
|
|
2410
|
+
accounts: Array<{
|
|
2411
|
+
id: string
|
|
2412
|
+
label: string
|
|
2413
|
+
description?: string
|
|
2414
|
+
avatarUrl?: string
|
|
2415
|
+
}>
|
|
2416
|
+
expiresAt: string
|
|
2417
|
+
}
|
|
2418
|
+
| {
|
|
2419
|
+
id: string
|
|
2420
|
+
connectorId: string
|
|
2421
|
+
kind: "connect" | "reauthorize"
|
|
2422
|
+
owner: {
|
|
2423
|
+
type: "project"
|
|
2424
|
+
}
|
|
2425
|
+
slot: string
|
|
2426
|
+
createdAt: string
|
|
2427
|
+
updatedAt: string
|
|
2428
|
+
status: "succeeded"
|
|
2429
|
+
connections: Array<{
|
|
2430
|
+
id: string
|
|
2431
|
+
connectorId: string
|
|
2432
|
+
owner: {
|
|
2433
|
+
type: "project"
|
|
2434
|
+
}
|
|
2435
|
+
slot: string
|
|
2436
|
+
account: {
|
|
2437
|
+
id: string
|
|
2438
|
+
label: string
|
|
2439
|
+
description?: string
|
|
2440
|
+
avatarUrl?: string
|
|
2441
|
+
}
|
|
2442
|
+
status: "connected" | "needs_reauthorization" | "disconnected"
|
|
2443
|
+
}>
|
|
2444
|
+
finishedAt: string
|
|
2445
|
+
}
|
|
2446
|
+
| {
|
|
2447
|
+
id: string
|
|
2448
|
+
connectorId: string
|
|
2449
|
+
kind: "connect" | "reauthorize"
|
|
2450
|
+
owner: {
|
|
2451
|
+
type: "project"
|
|
2452
|
+
}
|
|
2453
|
+
slot: string
|
|
2454
|
+
createdAt: string
|
|
2455
|
+
updatedAt: string
|
|
2456
|
+
status: "failed"
|
|
2457
|
+
error: {
|
|
2458
|
+
code:
|
|
2459
|
+
| "internal.unexpected"
|
|
2460
|
+
| "connector.adapter_invalid"
|
|
2461
|
+
| "connector.authorization_invalid"
|
|
2462
|
+
| "connector.authorization_required"
|
|
2463
|
+
| "connector.credentials_unavailable"
|
|
2464
|
+
| "connector.not_found"
|
|
2465
|
+
| "connector.operation_conflict"
|
|
2466
|
+
| "connector.operation_in_progress"
|
|
2467
|
+
| "connector.provider_failed"
|
|
2468
|
+
| "connector.provider_unavailable"
|
|
2469
|
+
message: string
|
|
2470
|
+
retryable: boolean
|
|
2471
|
+
at: string
|
|
2472
|
+
/**
|
|
2473
|
+
* Any JSON-compatible value.
|
|
2474
|
+
*/
|
|
2475
|
+
details?:
|
|
2476
|
+
| string
|
|
2477
|
+
| number
|
|
2478
|
+
| boolean
|
|
2479
|
+
| Array<unknown>
|
|
2480
|
+
| {
|
|
2481
|
+
[key: string]: unknown
|
|
2482
|
+
}
|
|
2483
|
+
| null
|
|
2484
|
+
truncated?: true
|
|
2485
|
+
}
|
|
2486
|
+
finishedAt: string
|
|
2487
|
+
}
|
|
2488
|
+
| {
|
|
2489
|
+
id: string
|
|
2490
|
+
connectorId: string
|
|
2491
|
+
kind: "connect" | "reauthorize"
|
|
2492
|
+
owner: {
|
|
2493
|
+
type: "project"
|
|
2494
|
+
}
|
|
2495
|
+
slot: string
|
|
2496
|
+
createdAt: string
|
|
2497
|
+
updatedAt: string
|
|
2498
|
+
status: "cancelled" | "expired"
|
|
2499
|
+
finishedAt: string
|
|
2500
|
+
}
|
|
2501
|
+
}
|
|
2502
|
+
|
|
2503
|
+
export type AddConnectorConnectionResponse =
|
|
2504
|
+
AddConnectorConnectionResponses[keyof AddConnectorConnectionResponses]
|
|
2505
|
+
|
|
2506
|
+
export type SelectConnectorConnectionRunAccountData = {
|
|
2507
|
+
body: {
|
|
2508
|
+
accountId: string
|
|
2509
|
+
replace?: boolean
|
|
2510
|
+
}
|
|
2511
|
+
path: {
|
|
2512
|
+
connectorId: string
|
|
2513
|
+
runId: string
|
|
2514
|
+
}
|
|
2515
|
+
query?: never
|
|
2516
|
+
url: "/api/connectors/{connectorId}/connection-runs/{runId}/selection"
|
|
2517
|
+
}
|
|
2518
|
+
|
|
2519
|
+
export type SelectConnectorConnectionRunAccountErrors = {
|
|
2520
|
+
/**
|
|
2521
|
+
* Response for status 400
|
|
2522
|
+
*/
|
|
2523
|
+
400: {
|
|
2524
|
+
error: string
|
|
2525
|
+
/**
|
|
2526
|
+
* Stable machine-readable failure code for programmatic handling.
|
|
2527
|
+
*/
|
|
2528
|
+
code?: "connector.authorization_invalid" | "connector.configuration_invalid"
|
|
2529
|
+
}
|
|
2530
|
+
/**
|
|
2531
|
+
* Response for status 403
|
|
2532
|
+
*/
|
|
2533
|
+
403: {
|
|
2534
|
+
error: string
|
|
2535
|
+
}
|
|
2536
|
+
/**
|
|
2537
|
+
* Response for status 404
|
|
2538
|
+
*/
|
|
2539
|
+
404: {
|
|
2540
|
+
error: string
|
|
2541
|
+
/**
|
|
2542
|
+
* Stable machine-readable failure code for programmatic handling.
|
|
2543
|
+
*/
|
|
2544
|
+
code?: "connector.not_found"
|
|
2545
|
+
}
|
|
2546
|
+
/**
|
|
2547
|
+
* Response for status 409
|
|
2548
|
+
*/
|
|
2549
|
+
409: {
|
|
2550
|
+
error: string
|
|
2551
|
+
/**
|
|
2552
|
+
* Stable machine-readable failure code for programmatic handling.
|
|
2553
|
+
*/
|
|
2554
|
+
code?:
|
|
2555
|
+
| "connector.authorization_required"
|
|
2556
|
+
| "connector.operation_conflict"
|
|
2557
|
+
| "connector.operation_in_progress"
|
|
2558
|
+
| "connector.replacement_required"
|
|
2559
|
+
| "connector.revocation_pending"
|
|
2560
|
+
}
|
|
2561
|
+
/**
|
|
2562
|
+
* Response for status 500
|
|
2563
|
+
*/
|
|
2564
|
+
500: {
|
|
2565
|
+
error: string
|
|
2566
|
+
/**
|
|
2567
|
+
* Stable machine-readable failure code for programmatic handling.
|
|
2568
|
+
*/
|
|
2569
|
+
code?: "internal.unexpected"
|
|
2570
|
+
}
|
|
2571
|
+
}
|
|
2572
|
+
|
|
2573
|
+
export type SelectConnectorConnectionRunAccountError =
|
|
2574
|
+
SelectConnectorConnectionRunAccountErrors[keyof SelectConnectorConnectionRunAccountErrors]
|
|
2575
|
+
|
|
2576
|
+
export type SelectConnectorConnectionRunAccountResponses = {
|
|
2577
|
+
/**
|
|
2578
|
+
* Response for status 200
|
|
2579
|
+
*/
|
|
2580
|
+
200:
|
|
2581
|
+
| {
|
|
2582
|
+
id: string
|
|
2583
|
+
connectorId: string
|
|
2584
|
+
kind: "connect" | "reauthorize"
|
|
2585
|
+
owner: {
|
|
2586
|
+
type: "project"
|
|
2587
|
+
}
|
|
2588
|
+
slot: string
|
|
2589
|
+
createdAt: string
|
|
2590
|
+
updatedAt: string
|
|
2591
|
+
status: "waiting"
|
|
2592
|
+
waitingFor: "provider_authorization"
|
|
2593
|
+
expiresAt: string
|
|
2594
|
+
}
|
|
2595
|
+
| {
|
|
2596
|
+
id: string
|
|
2597
|
+
connectorId: string
|
|
2598
|
+
kind: "connect" | "reauthorize"
|
|
2599
|
+
owner: {
|
|
2600
|
+
type: "project"
|
|
2601
|
+
}
|
|
2602
|
+
slot: string
|
|
2603
|
+
createdAt: string
|
|
2604
|
+
updatedAt: string
|
|
2605
|
+
status: "running"
|
|
2606
|
+
}
|
|
2607
|
+
| {
|
|
2608
|
+
id: string
|
|
2609
|
+
connectorId: string
|
|
2610
|
+
kind: "connect" | "reauthorize"
|
|
2611
|
+
owner: {
|
|
2612
|
+
type: "project"
|
|
2613
|
+
}
|
|
2614
|
+
slot: string
|
|
2615
|
+
createdAt: string
|
|
2616
|
+
updatedAt: string
|
|
2617
|
+
status: "waiting"
|
|
2618
|
+
waitingFor: "account_selection"
|
|
2619
|
+
accounts: Array<{
|
|
2620
|
+
id: string
|
|
2621
|
+
label: string
|
|
2622
|
+
description?: string
|
|
2623
|
+
avatarUrl?: string
|
|
2624
|
+
}>
|
|
2625
|
+
expiresAt: string
|
|
2626
|
+
}
|
|
2627
|
+
| {
|
|
2628
|
+
id: string
|
|
2629
|
+
connectorId: string
|
|
2630
|
+
kind: "connect" | "reauthorize"
|
|
2631
|
+
owner: {
|
|
2632
|
+
type: "project"
|
|
2633
|
+
}
|
|
2634
|
+
slot: string
|
|
2635
|
+
createdAt: string
|
|
2636
|
+
updatedAt: string
|
|
2637
|
+
status: "succeeded"
|
|
2638
|
+
connections: Array<{
|
|
2639
|
+
id: string
|
|
2640
|
+
connectorId: string
|
|
2641
|
+
owner: {
|
|
2642
|
+
type: "project"
|
|
2643
|
+
}
|
|
2644
|
+
slot: string
|
|
2645
|
+
account: {
|
|
2646
|
+
id: string
|
|
2647
|
+
label: string
|
|
2648
|
+
description?: string
|
|
2649
|
+
avatarUrl?: string
|
|
2650
|
+
}
|
|
2651
|
+
status: "connected" | "needs_reauthorization" | "disconnected"
|
|
2652
|
+
}>
|
|
2653
|
+
finishedAt: string
|
|
2654
|
+
}
|
|
2655
|
+
| {
|
|
2656
|
+
id: string
|
|
2657
|
+
connectorId: string
|
|
2658
|
+
kind: "connect" | "reauthorize"
|
|
2659
|
+
owner: {
|
|
2660
|
+
type: "project"
|
|
2661
|
+
}
|
|
2662
|
+
slot: string
|
|
2663
|
+
createdAt: string
|
|
2664
|
+
updatedAt: string
|
|
2665
|
+
status: "failed"
|
|
2666
|
+
error: {
|
|
2667
|
+
code:
|
|
2668
|
+
| "internal.unexpected"
|
|
2669
|
+
| "connector.adapter_invalid"
|
|
2670
|
+
| "connector.authorization_invalid"
|
|
2671
|
+
| "connector.authorization_required"
|
|
2672
|
+
| "connector.credentials_unavailable"
|
|
2673
|
+
| "connector.not_found"
|
|
2674
|
+
| "connector.operation_conflict"
|
|
2675
|
+
| "connector.operation_in_progress"
|
|
2676
|
+
| "connector.provider_failed"
|
|
2677
|
+
| "connector.provider_unavailable"
|
|
2678
|
+
message: string
|
|
2679
|
+
retryable: boolean
|
|
2680
|
+
at: string
|
|
2681
|
+
/**
|
|
2682
|
+
* Any JSON-compatible value.
|
|
2683
|
+
*/
|
|
2684
|
+
details?:
|
|
2685
|
+
| string
|
|
2686
|
+
| number
|
|
2687
|
+
| boolean
|
|
2688
|
+
| Array<unknown>
|
|
2689
|
+
| {
|
|
2690
|
+
[key: string]: unknown
|
|
2691
|
+
}
|
|
2692
|
+
| null
|
|
2693
|
+
truncated?: true
|
|
2694
|
+
}
|
|
2695
|
+
finishedAt: string
|
|
2696
|
+
}
|
|
2697
|
+
| {
|
|
2698
|
+
id: string
|
|
2699
|
+
connectorId: string
|
|
2700
|
+
kind: "connect" | "reauthorize"
|
|
2701
|
+
owner: {
|
|
2702
|
+
type: "project"
|
|
2703
|
+
}
|
|
2704
|
+
slot: string
|
|
2705
|
+
createdAt: string
|
|
2706
|
+
updatedAt: string
|
|
2707
|
+
status: "cancelled" | "expired"
|
|
2708
|
+
finishedAt: string
|
|
2709
|
+
}
|
|
2710
|
+
}
|
|
2711
|
+
|
|
2712
|
+
export type SelectConnectorConnectionRunAccountResponse =
|
|
2713
|
+
SelectConnectorConnectionRunAccountResponses[keyof SelectConnectorConnectionRunAccountResponses]
|
|
2714
|
+
|
|
2715
|
+
export type ReauthorizeConnectorConnectionData = {
|
|
2716
|
+
body: {
|
|
2717
|
+
returnTo: string
|
|
2718
|
+
}
|
|
2719
|
+
path: {
|
|
2720
|
+
connectorId: string
|
|
2721
|
+
connectionId: string
|
|
2722
|
+
}
|
|
2723
|
+
query?: never
|
|
2724
|
+
url: "/api/connectors/{connectorId}/connections/{connectionId}/reauthorize"
|
|
2725
|
+
}
|
|
2726
|
+
|
|
2727
|
+
export type ReauthorizeConnectorConnectionErrors = {
|
|
2728
|
+
/**
|
|
2729
|
+
* Response for status 400
|
|
2730
|
+
*/
|
|
2731
|
+
400: {
|
|
2732
|
+
error: string
|
|
2733
|
+
/**
|
|
2734
|
+
* Stable machine-readable failure code for programmatic handling.
|
|
2735
|
+
*/
|
|
2736
|
+
code?: "connector.authorization_invalid" | "connector.configuration_invalid"
|
|
2737
|
+
}
|
|
2738
|
+
/**
|
|
2739
|
+
* Response for status 403
|
|
2740
|
+
*/
|
|
2741
|
+
403: {
|
|
2742
|
+
error: string
|
|
2743
|
+
}
|
|
2744
|
+
/**
|
|
2745
|
+
* Response for status 404
|
|
2746
|
+
*/
|
|
2747
|
+
404: {
|
|
2748
|
+
error: string
|
|
2749
|
+
/**
|
|
2750
|
+
* Stable machine-readable failure code for programmatic handling.
|
|
2751
|
+
*/
|
|
2752
|
+
code?: "connector.not_found"
|
|
2753
|
+
}
|
|
2754
|
+
/**
|
|
2755
|
+
* Response for status 409
|
|
2756
|
+
*/
|
|
2757
|
+
409: {
|
|
2758
|
+
error: string
|
|
2759
|
+
/**
|
|
2760
|
+
* Stable machine-readable failure code for programmatic handling.
|
|
2761
|
+
*/
|
|
2762
|
+
code?:
|
|
2763
|
+
| "connector.authorization_required"
|
|
2764
|
+
| "connector.operation_conflict"
|
|
2765
|
+
| "connector.operation_in_progress"
|
|
2766
|
+
| "connector.replacement_required"
|
|
2767
|
+
| "connector.revocation_pending"
|
|
2768
|
+
}
|
|
2769
|
+
/**
|
|
2770
|
+
* Response for status 500
|
|
2771
|
+
*/
|
|
2772
|
+
500: {
|
|
2773
|
+
error: string
|
|
2774
|
+
/**
|
|
2775
|
+
* Stable machine-readable failure code for programmatic handling.
|
|
2776
|
+
*/
|
|
2777
|
+
code?: "internal.unexpected"
|
|
2778
|
+
}
|
|
2779
|
+
/**
|
|
2780
|
+
* Response for status 502
|
|
2781
|
+
*/
|
|
2782
|
+
502: {
|
|
2783
|
+
error: string
|
|
2784
|
+
/**
|
|
2785
|
+
* Stable machine-readable failure code for programmatic handling.
|
|
2786
|
+
*/
|
|
2787
|
+
code?: "connector.adapter_invalid" | "connector.provider_failed"
|
|
2788
|
+
}
|
|
1686
2789
|
/**
|
|
1687
|
-
* Response for status
|
|
2790
|
+
* Response for status 503
|
|
1688
2791
|
*/
|
|
1689
|
-
|
|
2792
|
+
503: {
|
|
1690
2793
|
error: string
|
|
2794
|
+
/**
|
|
2795
|
+
* Stable machine-readable failure code for programmatic handling.
|
|
2796
|
+
*/
|
|
2797
|
+
code?: "connector.credentials_unavailable" | "connector.provider_unavailable"
|
|
1691
2798
|
}
|
|
1692
2799
|
}
|
|
1693
2800
|
|
|
1694
|
-
export type
|
|
2801
|
+
export type ReauthorizeConnectorConnectionError =
|
|
2802
|
+
ReauthorizeConnectorConnectionErrors[keyof ReauthorizeConnectorConnectionErrors]
|
|
1695
2803
|
|
|
1696
|
-
export type
|
|
2804
|
+
export type ReauthorizeConnectorConnectionResponses = {
|
|
1697
2805
|
/**
|
|
1698
|
-
* Response for status
|
|
2806
|
+
* Response for status 201
|
|
1699
2807
|
*/
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
webhooks: Array<{
|
|
2808
|
+
201: {
|
|
2809
|
+
runId: string
|
|
2810
|
+
authorizationUrl: string
|
|
2811
|
+
affectedConnections: Array<{
|
|
1705
2812
|
id: string
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
2813
|
+
connectorId: string
|
|
2814
|
+
owner: {
|
|
2815
|
+
type: "project"
|
|
2816
|
+
}
|
|
2817
|
+
slot: string
|
|
2818
|
+
account: {
|
|
2819
|
+
id: string
|
|
2820
|
+
label: string
|
|
2821
|
+
description?: string
|
|
2822
|
+
avatarUrl?: string
|
|
2823
|
+
}
|
|
2824
|
+
status: "connected" | "needs_reauthorization" | "disconnected"
|
|
1711
2825
|
}>
|
|
1712
2826
|
}
|
|
1713
2827
|
}
|
|
1714
2828
|
|
|
1715
|
-
export type
|
|
2829
|
+
export type ReauthorizeConnectorConnectionResponse =
|
|
2830
|
+
ReauthorizeConnectorConnectionResponses[keyof ReauthorizeConnectorConnectionResponses]
|
|
1716
2831
|
|
|
1717
2832
|
export type ListDatasetsData = {
|
|
1718
2833
|
body?: never
|
|
@@ -1739,6 +2854,7 @@ export type ListDatasetsResponses = {
|
|
|
1739
2854
|
200: Array<{
|
|
1740
2855
|
id: string
|
|
1741
2856
|
description?: string
|
|
2857
|
+
primaryKey?: string | Array<string>
|
|
1742
2858
|
partitionBy?: Array<string>
|
|
1743
2859
|
schema: {
|
|
1744
2860
|
columns: Array<{
|
|
@@ -1761,7 +2877,7 @@ export type ListDatasetsResponses = {
|
|
|
1761
2877
|
latestVersion: {
|
|
1762
2878
|
datasetId: string
|
|
1763
2879
|
versionId: string
|
|
1764
|
-
mode: "snapshot" | "append" | "schema"
|
|
2880
|
+
mode: "snapshot" | "append" | "merge" | "schema"
|
|
1765
2881
|
createdAt: string
|
|
1766
2882
|
rowCount?: number
|
|
1767
2883
|
} | null
|
|
@@ -1795,6 +2911,10 @@ export type GetDatasetErrors = {
|
|
|
1795
2911
|
*/
|
|
1796
2912
|
404: {
|
|
1797
2913
|
error: string
|
|
2914
|
+
/**
|
|
2915
|
+
* Stable machine-readable failure code for programmatic handling.
|
|
2916
|
+
*/
|
|
2917
|
+
code: "dataset.not_found"
|
|
1798
2918
|
}
|
|
1799
2919
|
}
|
|
1800
2920
|
|
|
@@ -1807,6 +2927,7 @@ export type GetDatasetResponses = {
|
|
|
1807
2927
|
200: {
|
|
1808
2928
|
id: string
|
|
1809
2929
|
description?: string
|
|
2930
|
+
primaryKey?: string | Array<string>
|
|
1810
2931
|
partitionBy?: Array<string>
|
|
1811
2932
|
schema: {
|
|
1812
2933
|
columns: Array<{
|
|
@@ -1829,7 +2950,7 @@ export type GetDatasetResponses = {
|
|
|
1829
2950
|
latestVersion: {
|
|
1830
2951
|
datasetId: string
|
|
1831
2952
|
versionId: string
|
|
1832
|
-
mode: "snapshot" | "append" | "schema"
|
|
2953
|
+
mode: "snapshot" | "append" | "merge" | "schema"
|
|
1833
2954
|
createdAt: string
|
|
1834
2955
|
rowCount?: number
|
|
1835
2956
|
} | null
|
|
@@ -1865,6 +2986,10 @@ export type ListDatasetVersionsErrors = {
|
|
|
1865
2986
|
*/
|
|
1866
2987
|
404: {
|
|
1867
2988
|
error: string
|
|
2989
|
+
/**
|
|
2990
|
+
* Stable machine-readable failure code for programmatic handling.
|
|
2991
|
+
*/
|
|
2992
|
+
code: "dataset.not_found"
|
|
1868
2993
|
}
|
|
1869
2994
|
}
|
|
1870
2995
|
|
|
@@ -1879,7 +3004,7 @@ export type ListDatasetVersionsResponses = {
|
|
|
1879
3004
|
datasetId: string
|
|
1880
3005
|
versionId: string
|
|
1881
3006
|
parentVersionId?: string
|
|
1882
|
-
mode: "snapshot" | "append" | "schema"
|
|
3007
|
+
mode: "snapshot" | "append" | "merge" | "schema"
|
|
1883
3008
|
createdAt: string
|
|
1884
3009
|
schema: {
|
|
1885
3010
|
columns: Array<{
|
|
@@ -1938,6 +3063,10 @@ export type GetDatasetVersionErrors = {
|
|
|
1938
3063
|
*/
|
|
1939
3064
|
404: {
|
|
1940
3065
|
error: string
|
|
3066
|
+
/**
|
|
3067
|
+
* Stable machine-readable failure code for programmatic handling.
|
|
3068
|
+
*/
|
|
3069
|
+
code: "dataset.not_found" | "dataset.version_not_found"
|
|
1941
3070
|
}
|
|
1942
3071
|
}
|
|
1943
3072
|
|
|
@@ -1951,7 +3080,7 @@ export type GetDatasetVersionResponses = {
|
|
|
1951
3080
|
datasetId: string
|
|
1952
3081
|
versionId: string
|
|
1953
3082
|
parentVersionId?: string
|
|
1954
|
-
mode: "snapshot" | "append" | "schema"
|
|
3083
|
+
mode: "snapshot" | "append" | "merge" | "schema"
|
|
1955
3084
|
createdAt: string
|
|
1956
3085
|
schema: {
|
|
1957
3086
|
columns: Array<{
|
|
@@ -2011,6 +3140,10 @@ export type ListDatasetRowsErrors = {
|
|
|
2011
3140
|
*/
|
|
2012
3141
|
404: {
|
|
2013
3142
|
error: string
|
|
3143
|
+
/**
|
|
3144
|
+
* Stable machine-readable failure code for programmatic handling.
|
|
3145
|
+
*/
|
|
3146
|
+
code: "dataset.not_found" | "dataset.version_not_found"
|
|
2014
3147
|
}
|
|
2015
3148
|
}
|
|
2016
3149
|
|
|
@@ -2027,7 +3160,7 @@ export type ListDatasetRowsResponses = {
|
|
|
2027
3160
|
datasetId: string
|
|
2028
3161
|
versionId: string
|
|
2029
3162
|
parentVersionId?: string
|
|
2030
|
-
mode: "snapshot" | "append" | "schema"
|
|
3163
|
+
mode: "snapshot" | "append" | "merge" | "schema"
|
|
2031
3164
|
createdAt: string
|
|
2032
3165
|
schema: {
|
|
2033
3166
|
columns: Array<{
|
|
@@ -2084,7 +3217,7 @@ export type ListSyncsResponses = {
|
|
|
2084
3217
|
*/
|
|
2085
3218
|
200: Array<{
|
|
2086
3219
|
id: string
|
|
2087
|
-
mode: "snapshot" | "append"
|
|
3220
|
+
mode: "snapshot" | "append" | "merge"
|
|
2088
3221
|
connector: {
|
|
2089
3222
|
id: string
|
|
2090
3223
|
type: string
|
|
@@ -2094,6 +3227,7 @@ export type ListSyncsResponses = {
|
|
|
2094
3227
|
dataset: {
|
|
2095
3228
|
id: string
|
|
2096
3229
|
description?: string
|
|
3230
|
+
primaryKey?: string | Array<string>
|
|
2097
3231
|
partitionBy?: Array<string>
|
|
2098
3232
|
schema: {
|
|
2099
3233
|
columns: Array<{
|
|
@@ -2122,9 +3256,10 @@ export type ListSyncsResponses = {
|
|
|
2122
3256
|
projectId: string
|
|
2123
3257
|
syncId: string
|
|
2124
3258
|
datasetId: string
|
|
2125
|
-
mode: "snapshot" | "append"
|
|
2126
|
-
status: "running" | "succeeded" | "failed" | "cancelled"
|
|
2127
|
-
|
|
3259
|
+
mode: "snapshot" | "append" | "merge"
|
|
3260
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
3261
|
+
queuedAt: string
|
|
3262
|
+
startedAt?: string
|
|
2128
3263
|
finishedAt?: string
|
|
2129
3264
|
rowsRead?: number
|
|
2130
3265
|
output?: {
|
|
@@ -2134,8 +3269,27 @@ export type ListSyncsResponses = {
|
|
|
2134
3269
|
expectedLatestVersionId?: string
|
|
2135
3270
|
commitMessage?: string
|
|
2136
3271
|
error?: {
|
|
2137
|
-
|
|
3272
|
+
code:
|
|
3273
|
+
| "internal.unexpected"
|
|
3274
|
+
| "runtime.cancelled"
|
|
3275
|
+
| "queue.enqueue_failed"
|
|
3276
|
+
| "sync.execution_failed"
|
|
2138
3277
|
message: string
|
|
3278
|
+
retryable: boolean
|
|
3279
|
+
at: string
|
|
3280
|
+
/**
|
|
3281
|
+
* Any JSON-compatible value.
|
|
3282
|
+
*/
|
|
3283
|
+
details?:
|
|
3284
|
+
| string
|
|
3285
|
+
| number
|
|
3286
|
+
| boolean
|
|
3287
|
+
| Array<unknown>
|
|
3288
|
+
| {
|
|
3289
|
+
[key: string]: unknown
|
|
3290
|
+
}
|
|
3291
|
+
| null
|
|
3292
|
+
truncated?: true
|
|
2139
3293
|
}
|
|
2140
3294
|
} | null
|
|
2141
3295
|
}>
|
|
@@ -2169,7 +3323,7 @@ export type GetSyncResponses = {
|
|
|
2169
3323
|
*/
|
|
2170
3324
|
200: {
|
|
2171
3325
|
id: string
|
|
2172
|
-
mode: "snapshot" | "append"
|
|
3326
|
+
mode: "snapshot" | "append" | "merge"
|
|
2173
3327
|
connector: {
|
|
2174
3328
|
id: string
|
|
2175
3329
|
type: string
|
|
@@ -2179,6 +3333,7 @@ export type GetSyncResponses = {
|
|
|
2179
3333
|
dataset: {
|
|
2180
3334
|
id: string
|
|
2181
3335
|
description?: string
|
|
3336
|
+
primaryKey?: string | Array<string>
|
|
2182
3337
|
partitionBy?: Array<string>
|
|
2183
3338
|
schema: {
|
|
2184
3339
|
columns: Array<{
|
|
@@ -2207,9 +3362,10 @@ export type GetSyncResponses = {
|
|
|
2207
3362
|
projectId: string
|
|
2208
3363
|
syncId: string
|
|
2209
3364
|
datasetId: string
|
|
2210
|
-
mode: "snapshot" | "append"
|
|
2211
|
-
status: "running" | "succeeded" | "failed" | "cancelled"
|
|
2212
|
-
|
|
3365
|
+
mode: "snapshot" | "append" | "merge"
|
|
3366
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
3367
|
+
queuedAt: string
|
|
3368
|
+
startedAt?: string
|
|
2213
3369
|
finishedAt?: string
|
|
2214
3370
|
rowsRead?: number
|
|
2215
3371
|
output?: {
|
|
@@ -2219,8 +3375,27 @@ export type GetSyncResponses = {
|
|
|
2219
3375
|
expectedLatestVersionId?: string
|
|
2220
3376
|
commitMessage?: string
|
|
2221
3377
|
error?: {
|
|
2222
|
-
|
|
3378
|
+
code:
|
|
3379
|
+
| "internal.unexpected"
|
|
3380
|
+
| "runtime.cancelled"
|
|
3381
|
+
| "queue.enqueue_failed"
|
|
3382
|
+
| "sync.execution_failed"
|
|
2223
3383
|
message: string
|
|
3384
|
+
retryable: boolean
|
|
3385
|
+
at: string
|
|
3386
|
+
/**
|
|
3387
|
+
* Any JSON-compatible value.
|
|
3388
|
+
*/
|
|
3389
|
+
details?:
|
|
3390
|
+
| string
|
|
3391
|
+
| number
|
|
3392
|
+
| boolean
|
|
3393
|
+
| Array<unknown>
|
|
3394
|
+
| {
|
|
3395
|
+
[key: string]: unknown
|
|
3396
|
+
}
|
|
3397
|
+
| null
|
|
3398
|
+
truncated?: true
|
|
2224
3399
|
}
|
|
2225
3400
|
} | null
|
|
2226
3401
|
}
|
|
@@ -2234,7 +3409,7 @@ export type ListSyncRunsData = {
|
|
|
2234
3409
|
query?: {
|
|
2235
3410
|
syncId?: string
|
|
2236
3411
|
datasetId?: string
|
|
2237
|
-
status?: "running" | "succeeded" | "failed" | "cancelled"
|
|
3412
|
+
status?: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
2238
3413
|
startedAfter?: string
|
|
2239
3414
|
startedBefore?: string
|
|
2240
3415
|
limit?: string
|
|
@@ -2271,9 +3446,10 @@ export type ListSyncRunsResponses = {
|
|
|
2271
3446
|
projectId: string
|
|
2272
3447
|
syncId: string
|
|
2273
3448
|
datasetId: string
|
|
2274
|
-
mode: "snapshot" | "append"
|
|
2275
|
-
status: "running" | "succeeded" | "failed" | "cancelled"
|
|
2276
|
-
|
|
3449
|
+
mode: "snapshot" | "append" | "merge"
|
|
3450
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
3451
|
+
queuedAt: string
|
|
3452
|
+
startedAt?: string
|
|
2277
3453
|
finishedAt?: string
|
|
2278
3454
|
rowsRead?: number
|
|
2279
3455
|
output?: {
|
|
@@ -2283,8 +3459,27 @@ export type ListSyncRunsResponses = {
|
|
|
2283
3459
|
expectedLatestVersionId?: string
|
|
2284
3460
|
commitMessage?: string
|
|
2285
3461
|
error?: {
|
|
2286
|
-
|
|
3462
|
+
code:
|
|
3463
|
+
| "internal.unexpected"
|
|
3464
|
+
| "runtime.cancelled"
|
|
3465
|
+
| "queue.enqueue_failed"
|
|
3466
|
+
| "sync.execution_failed"
|
|
2287
3467
|
message: string
|
|
3468
|
+
retryable: boolean
|
|
3469
|
+
at: string
|
|
3470
|
+
/**
|
|
3471
|
+
* Any JSON-compatible value.
|
|
3472
|
+
*/
|
|
3473
|
+
details?:
|
|
3474
|
+
| string
|
|
3475
|
+
| number
|
|
3476
|
+
| boolean
|
|
3477
|
+
| Array<unknown>
|
|
3478
|
+
| {
|
|
3479
|
+
[key: string]: unknown
|
|
3480
|
+
}
|
|
3481
|
+
| null
|
|
3482
|
+
truncated?: true
|
|
2288
3483
|
}
|
|
2289
3484
|
}>
|
|
2290
3485
|
hasMore: boolean
|
|
@@ -2380,6 +3575,7 @@ export type ListPipelinesResponses = {
|
|
|
2380
3575
|
dataset: {
|
|
2381
3576
|
id: string
|
|
2382
3577
|
description?: string
|
|
3578
|
+
primaryKey?: string | Array<string>
|
|
2383
3579
|
partitionBy?: Array<string>
|
|
2384
3580
|
schema: {
|
|
2385
3581
|
columns: Array<{
|
|
@@ -2402,6 +3598,7 @@ export type ListPipelinesResponses = {
|
|
|
2402
3598
|
output: {
|
|
2403
3599
|
id: string
|
|
2404
3600
|
description?: string
|
|
3601
|
+
primaryKey?: string | Array<string>
|
|
2405
3602
|
partitionBy?: Array<string>
|
|
2406
3603
|
schema: {
|
|
2407
3604
|
columns: Array<{
|
|
@@ -2427,16 +3624,36 @@ export type ListPipelinesResponses = {
|
|
|
2427
3624
|
id: string
|
|
2428
3625
|
projectId: string
|
|
2429
3626
|
pipelineId: string
|
|
2430
|
-
status: "running" | "succeeded" | "failed" | "cancelled"
|
|
2431
|
-
|
|
3627
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
3628
|
+
queuedAt: string
|
|
3629
|
+
startedAt?: string
|
|
2432
3630
|
finishedAt?: string
|
|
2433
3631
|
output?: {
|
|
2434
3632
|
datasetId: string
|
|
2435
3633
|
versionId: string
|
|
2436
3634
|
}
|
|
2437
3635
|
error?: {
|
|
2438
|
-
|
|
3636
|
+
code:
|
|
3637
|
+
| "internal.unexpected"
|
|
3638
|
+
| "runtime.cancelled"
|
|
3639
|
+
| "queue.enqueue_failed"
|
|
3640
|
+
| "pipeline.step_failed"
|
|
2439
3641
|
message: string
|
|
3642
|
+
retryable: boolean
|
|
3643
|
+
at: string
|
|
3644
|
+
/**
|
|
3645
|
+
* Any JSON-compatible value.
|
|
3646
|
+
*/
|
|
3647
|
+
details?:
|
|
3648
|
+
| string
|
|
3649
|
+
| number
|
|
3650
|
+
| boolean
|
|
3651
|
+
| Array<unknown>
|
|
3652
|
+
| {
|
|
3653
|
+
[key: string]: unknown
|
|
3654
|
+
}
|
|
3655
|
+
| null
|
|
3656
|
+
truncated?: true
|
|
2440
3657
|
}
|
|
2441
3658
|
} | null
|
|
2442
3659
|
}>
|
|
@@ -2494,6 +3711,7 @@ export type GetPipelineResponses = {
|
|
|
2494
3711
|
dataset: {
|
|
2495
3712
|
id: string
|
|
2496
3713
|
description?: string
|
|
3714
|
+
primaryKey?: string | Array<string>
|
|
2497
3715
|
partitionBy?: Array<string>
|
|
2498
3716
|
schema: {
|
|
2499
3717
|
columns: Array<{
|
|
@@ -2516,6 +3734,7 @@ export type GetPipelineResponses = {
|
|
|
2516
3734
|
output: {
|
|
2517
3735
|
id: string
|
|
2518
3736
|
description?: string
|
|
3737
|
+
primaryKey?: string | Array<string>
|
|
2519
3738
|
partitionBy?: Array<string>
|
|
2520
3739
|
schema: {
|
|
2521
3740
|
columns: Array<{
|
|
@@ -2541,16 +3760,36 @@ export type GetPipelineResponses = {
|
|
|
2541
3760
|
id: string
|
|
2542
3761
|
projectId: string
|
|
2543
3762
|
pipelineId: string
|
|
2544
|
-
status: "running" | "succeeded" | "failed" | "cancelled"
|
|
2545
|
-
|
|
3763
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
3764
|
+
queuedAt: string
|
|
3765
|
+
startedAt?: string
|
|
2546
3766
|
finishedAt?: string
|
|
2547
3767
|
output?: {
|
|
2548
3768
|
datasetId: string
|
|
2549
3769
|
versionId: string
|
|
2550
3770
|
}
|
|
2551
3771
|
error?: {
|
|
2552
|
-
|
|
3772
|
+
code:
|
|
3773
|
+
| "internal.unexpected"
|
|
3774
|
+
| "runtime.cancelled"
|
|
3775
|
+
| "queue.enqueue_failed"
|
|
3776
|
+
| "pipeline.step_failed"
|
|
2553
3777
|
message: string
|
|
3778
|
+
retryable: boolean
|
|
3779
|
+
at: string
|
|
3780
|
+
/**
|
|
3781
|
+
* Any JSON-compatible value.
|
|
3782
|
+
*/
|
|
3783
|
+
details?:
|
|
3784
|
+
| string
|
|
3785
|
+
| number
|
|
3786
|
+
| boolean
|
|
3787
|
+
| Array<unknown>
|
|
3788
|
+
| {
|
|
3789
|
+
[key: string]: unknown
|
|
3790
|
+
}
|
|
3791
|
+
| null
|
|
3792
|
+
truncated?: true
|
|
2554
3793
|
}
|
|
2555
3794
|
} | null
|
|
2556
3795
|
}
|
|
@@ -2563,7 +3802,7 @@ export type ListPipelineRunsData = {
|
|
|
2563
3802
|
path?: never
|
|
2564
3803
|
query?: {
|
|
2565
3804
|
pipelineId?: string
|
|
2566
|
-
status?: "running" | "succeeded" | "failed" | "cancelled"
|
|
3805
|
+
status?: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
2567
3806
|
startedAfter?: string
|
|
2568
3807
|
startedBefore?: string
|
|
2569
3808
|
limit?: string
|
|
@@ -2599,16 +3838,36 @@ export type ListPipelineRunsResponses = {
|
|
|
2599
3838
|
id: string
|
|
2600
3839
|
projectId: string
|
|
2601
3840
|
pipelineId: string
|
|
2602
|
-
status: "running" | "succeeded" | "failed" | "cancelled"
|
|
2603
|
-
|
|
3841
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
3842
|
+
queuedAt: string
|
|
3843
|
+
startedAt?: string
|
|
2604
3844
|
finishedAt?: string
|
|
2605
3845
|
output?: {
|
|
2606
3846
|
datasetId: string
|
|
2607
3847
|
versionId: string
|
|
2608
3848
|
}
|
|
2609
3849
|
error?: {
|
|
2610
|
-
|
|
3850
|
+
code:
|
|
3851
|
+
| "internal.unexpected"
|
|
3852
|
+
| "runtime.cancelled"
|
|
3853
|
+
| "queue.enqueue_failed"
|
|
3854
|
+
| "pipeline.step_failed"
|
|
2611
3855
|
message: string
|
|
3856
|
+
retryable: boolean
|
|
3857
|
+
at: string
|
|
3858
|
+
/**
|
|
3859
|
+
* Any JSON-compatible value.
|
|
3860
|
+
*/
|
|
3861
|
+
details?:
|
|
3862
|
+
| string
|
|
3863
|
+
| number
|
|
3864
|
+
| boolean
|
|
3865
|
+
| Array<unknown>
|
|
3866
|
+
| {
|
|
3867
|
+
[key: string]: unknown
|
|
3868
|
+
}
|
|
3869
|
+
| null
|
|
3870
|
+
truncated?: true
|
|
2612
3871
|
}
|
|
2613
3872
|
}>
|
|
2614
3873
|
hasMore: boolean
|
|
@@ -2659,16 +3918,36 @@ export type GetPipelineRunResponses = {
|
|
|
2659
3918
|
id: string
|
|
2660
3919
|
projectId: string
|
|
2661
3920
|
pipelineId: string
|
|
2662
|
-
status: "running" | "succeeded" | "failed" | "cancelled"
|
|
2663
|
-
|
|
3921
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
3922
|
+
queuedAt: string
|
|
3923
|
+
startedAt?: string
|
|
2664
3924
|
finishedAt?: string
|
|
2665
3925
|
output?: {
|
|
2666
3926
|
datasetId: string
|
|
2667
3927
|
versionId: string
|
|
2668
3928
|
}
|
|
2669
3929
|
error?: {
|
|
2670
|
-
|
|
3930
|
+
code:
|
|
3931
|
+
| "internal.unexpected"
|
|
3932
|
+
| "runtime.cancelled"
|
|
3933
|
+
| "queue.enqueue_failed"
|
|
3934
|
+
| "pipeline.step_failed"
|
|
2671
3935
|
message: string
|
|
3936
|
+
retryable: boolean
|
|
3937
|
+
at: string
|
|
3938
|
+
/**
|
|
3939
|
+
* Any JSON-compatible value.
|
|
3940
|
+
*/
|
|
3941
|
+
details?:
|
|
3942
|
+
| string
|
|
3943
|
+
| number
|
|
3944
|
+
| boolean
|
|
3945
|
+
| Array<unknown>
|
|
3946
|
+
| {
|
|
3947
|
+
[key: string]: unknown
|
|
3948
|
+
}
|
|
3949
|
+
| null
|
|
3950
|
+
truncated?: true
|
|
2672
3951
|
}
|
|
2673
3952
|
}
|
|
2674
3953
|
steps: Array<{
|
|
@@ -2692,8 +3971,27 @@ export type GetPipelineRunResponses = {
|
|
|
2692
3971
|
}
|
|
2693
3972
|
rowsWritten?: number
|
|
2694
3973
|
error?: {
|
|
2695
|
-
|
|
3974
|
+
code:
|
|
3975
|
+
| "internal.unexpected"
|
|
3976
|
+
| "runtime.cancelled"
|
|
3977
|
+
| "queue.enqueue_failed"
|
|
3978
|
+
| "pipeline.step_failed"
|
|
2696
3979
|
message: string
|
|
3980
|
+
retryable: boolean
|
|
3981
|
+
at: string
|
|
3982
|
+
/**
|
|
3983
|
+
* Any JSON-compatible value.
|
|
3984
|
+
*/
|
|
3985
|
+
details?:
|
|
3986
|
+
| string
|
|
3987
|
+
| number
|
|
3988
|
+
| boolean
|
|
3989
|
+
| Array<unknown>
|
|
3990
|
+
| {
|
|
3991
|
+
[key: string]: unknown
|
|
3992
|
+
}
|
|
3993
|
+
| null
|
|
3994
|
+
truncated?: true
|
|
2697
3995
|
}
|
|
2698
3996
|
}>
|
|
2699
3997
|
}
|
|
@@ -2762,7 +4060,15 @@ export type ListWorkflowsResponses = {
|
|
|
2762
4060
|
200: Array<{
|
|
2763
4061
|
id: string
|
|
2764
4062
|
input: {
|
|
2765
|
-
[key: string]:
|
|
4063
|
+
[key: string]:
|
|
4064
|
+
| string
|
|
4065
|
+
| number
|
|
4066
|
+
| boolean
|
|
4067
|
+
| Array<unknown>
|
|
4068
|
+
| {
|
|
4069
|
+
[key: string]: unknown
|
|
4070
|
+
}
|
|
4071
|
+
| null
|
|
2766
4072
|
}
|
|
2767
4073
|
triggers: Array<{
|
|
2768
4074
|
type: "schedule"
|
|
@@ -2774,10 +4080,26 @@ export type ListWorkflowsResponses = {
|
|
|
2774
4080
|
id: string
|
|
2775
4081
|
key: string
|
|
2776
4082
|
input: {
|
|
2777
|
-
[key: string]:
|
|
4083
|
+
[key: string]:
|
|
4084
|
+
| string
|
|
4085
|
+
| number
|
|
4086
|
+
| boolean
|
|
4087
|
+
| Array<unknown>
|
|
4088
|
+
| {
|
|
4089
|
+
[key: string]: unknown
|
|
4090
|
+
}
|
|
4091
|
+
| null
|
|
2778
4092
|
}
|
|
2779
4093
|
output: {
|
|
2780
|
-
[key: string]:
|
|
4094
|
+
[key: string]:
|
|
4095
|
+
| string
|
|
4096
|
+
| number
|
|
4097
|
+
| boolean
|
|
4098
|
+
| Array<unknown>
|
|
4099
|
+
| {
|
|
4100
|
+
[key: string]: unknown
|
|
4101
|
+
}
|
|
4102
|
+
| null
|
|
2781
4103
|
}
|
|
2782
4104
|
}
|
|
2783
4105
|
| {
|
|
@@ -2786,7 +4108,15 @@ export type ListWorkflowsResponses = {
|
|
|
2786
4108
|
key: string
|
|
2787
4109
|
objectTypeId?: string
|
|
2788
4110
|
params: {
|
|
2789
|
-
[key: string]:
|
|
4111
|
+
[key: string]:
|
|
4112
|
+
| string
|
|
4113
|
+
| number
|
|
4114
|
+
| boolean
|
|
4115
|
+
| Array<unknown>
|
|
4116
|
+
| {
|
|
4117
|
+
[key: string]: unknown
|
|
4118
|
+
}
|
|
4119
|
+
| null
|
|
2790
4120
|
}
|
|
2791
4121
|
}
|
|
2792
4122
|
| {
|
|
@@ -2794,10 +4124,26 @@ export type ListWorkflowsResponses = {
|
|
|
2794
4124
|
id: string
|
|
2795
4125
|
key: string
|
|
2796
4126
|
input: {
|
|
2797
|
-
[key: string]:
|
|
4127
|
+
[key: string]:
|
|
4128
|
+
| string
|
|
4129
|
+
| number
|
|
4130
|
+
| boolean
|
|
4131
|
+
| Array<unknown>
|
|
4132
|
+
| {
|
|
4133
|
+
[key: string]: unknown
|
|
4134
|
+
}
|
|
4135
|
+
| null
|
|
2798
4136
|
}
|
|
2799
4137
|
response: {
|
|
2800
|
-
[key: string]:
|
|
4138
|
+
[key: string]:
|
|
4139
|
+
| string
|
|
4140
|
+
| number
|
|
4141
|
+
| boolean
|
|
4142
|
+
| Array<unknown>
|
|
4143
|
+
| {
|
|
4144
|
+
[key: string]: unknown
|
|
4145
|
+
}
|
|
4146
|
+
| null
|
|
2801
4147
|
}
|
|
2802
4148
|
description?: string
|
|
2803
4149
|
}
|
|
@@ -2807,10 +4153,26 @@ export type ListWorkflowsResponses = {
|
|
|
2807
4153
|
key: string
|
|
2808
4154
|
agentId: string
|
|
2809
4155
|
input: {
|
|
2810
|
-
[key: string]:
|
|
4156
|
+
[key: string]:
|
|
4157
|
+
| string
|
|
4158
|
+
| number
|
|
4159
|
+
| boolean
|
|
4160
|
+
| Array<unknown>
|
|
4161
|
+
| {
|
|
4162
|
+
[key: string]: unknown
|
|
4163
|
+
}
|
|
4164
|
+
| null
|
|
2811
4165
|
}
|
|
2812
4166
|
output: {
|
|
2813
|
-
[key: string]:
|
|
4167
|
+
[key: string]:
|
|
4168
|
+
| string
|
|
4169
|
+
| number
|
|
4170
|
+
| boolean
|
|
4171
|
+
| Array<unknown>
|
|
4172
|
+
| {
|
|
4173
|
+
[key: string]: unknown
|
|
4174
|
+
}
|
|
4175
|
+
| null
|
|
2814
4176
|
}
|
|
2815
4177
|
}
|
|
2816
4178
|
>
|
|
@@ -2819,13 +4181,28 @@ export type ListWorkflowsResponses = {
|
|
|
2819
4181
|
projectId: string
|
|
2820
4182
|
workflowId: string
|
|
2821
4183
|
status: "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled"
|
|
2822
|
-
input: {
|
|
2823
|
-
[key: string]: unknown
|
|
2824
|
-
}
|
|
2825
4184
|
queuedAt?: string
|
|
2826
4185
|
startedAt: string
|
|
2827
4186
|
finishedAt?: string
|
|
2828
|
-
error?:
|
|
4187
|
+
error?: {
|
|
4188
|
+
code: "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"
|
|
4189
|
+
message: string
|
|
4190
|
+
retryable: boolean
|
|
4191
|
+
at: string
|
|
4192
|
+
/**
|
|
4193
|
+
* Any JSON-compatible value.
|
|
4194
|
+
*/
|
|
4195
|
+
details?:
|
|
4196
|
+
| string
|
|
4197
|
+
| number
|
|
4198
|
+
| boolean
|
|
4199
|
+
| Array<unknown>
|
|
4200
|
+
| {
|
|
4201
|
+
[key: string]: unknown
|
|
4202
|
+
}
|
|
4203
|
+
| null
|
|
4204
|
+
truncated?: true
|
|
4205
|
+
}
|
|
2829
4206
|
requestedBy: {
|
|
2830
4207
|
principalType: "user" | "serviceAccount" | "system"
|
|
2831
4208
|
principalId: string
|
|
@@ -2863,7 +4240,15 @@ export type GetWorkflowResponses = {
|
|
|
2863
4240
|
200: {
|
|
2864
4241
|
id: string
|
|
2865
4242
|
input: {
|
|
2866
|
-
[key: string]:
|
|
4243
|
+
[key: string]:
|
|
4244
|
+
| string
|
|
4245
|
+
| number
|
|
4246
|
+
| boolean
|
|
4247
|
+
| Array<unknown>
|
|
4248
|
+
| {
|
|
4249
|
+
[key: string]: unknown
|
|
4250
|
+
}
|
|
4251
|
+
| null
|
|
2867
4252
|
}
|
|
2868
4253
|
triggers: Array<{
|
|
2869
4254
|
type: "schedule"
|
|
@@ -2875,10 +4260,26 @@ export type GetWorkflowResponses = {
|
|
|
2875
4260
|
id: string
|
|
2876
4261
|
key: string
|
|
2877
4262
|
input: {
|
|
2878
|
-
[key: string]:
|
|
4263
|
+
[key: string]:
|
|
4264
|
+
| string
|
|
4265
|
+
| number
|
|
4266
|
+
| boolean
|
|
4267
|
+
| Array<unknown>
|
|
4268
|
+
| {
|
|
4269
|
+
[key: string]: unknown
|
|
4270
|
+
}
|
|
4271
|
+
| null
|
|
2879
4272
|
}
|
|
2880
4273
|
output: {
|
|
2881
|
-
[key: string]:
|
|
4274
|
+
[key: string]:
|
|
4275
|
+
| string
|
|
4276
|
+
| number
|
|
4277
|
+
| boolean
|
|
4278
|
+
| Array<unknown>
|
|
4279
|
+
| {
|
|
4280
|
+
[key: string]: unknown
|
|
4281
|
+
}
|
|
4282
|
+
| null
|
|
2882
4283
|
}
|
|
2883
4284
|
}
|
|
2884
4285
|
| {
|
|
@@ -2887,7 +4288,15 @@ export type GetWorkflowResponses = {
|
|
|
2887
4288
|
key: string
|
|
2888
4289
|
objectTypeId?: string
|
|
2889
4290
|
params: {
|
|
2890
|
-
[key: string]:
|
|
4291
|
+
[key: string]:
|
|
4292
|
+
| string
|
|
4293
|
+
| number
|
|
4294
|
+
| boolean
|
|
4295
|
+
| Array<unknown>
|
|
4296
|
+
| {
|
|
4297
|
+
[key: string]: unknown
|
|
4298
|
+
}
|
|
4299
|
+
| null
|
|
2891
4300
|
}
|
|
2892
4301
|
}
|
|
2893
4302
|
| {
|
|
@@ -2895,10 +4304,26 @@ export type GetWorkflowResponses = {
|
|
|
2895
4304
|
id: string
|
|
2896
4305
|
key: string
|
|
2897
4306
|
input: {
|
|
2898
|
-
[key: string]:
|
|
4307
|
+
[key: string]:
|
|
4308
|
+
| string
|
|
4309
|
+
| number
|
|
4310
|
+
| boolean
|
|
4311
|
+
| Array<unknown>
|
|
4312
|
+
| {
|
|
4313
|
+
[key: string]: unknown
|
|
4314
|
+
}
|
|
4315
|
+
| null
|
|
2899
4316
|
}
|
|
2900
4317
|
response: {
|
|
2901
|
-
[key: string]:
|
|
4318
|
+
[key: string]:
|
|
4319
|
+
| string
|
|
4320
|
+
| number
|
|
4321
|
+
| boolean
|
|
4322
|
+
| Array<unknown>
|
|
4323
|
+
| {
|
|
4324
|
+
[key: string]: unknown
|
|
4325
|
+
}
|
|
4326
|
+
| null
|
|
2902
4327
|
}
|
|
2903
4328
|
description?: string
|
|
2904
4329
|
}
|
|
@@ -2908,10 +4333,26 @@ export type GetWorkflowResponses = {
|
|
|
2908
4333
|
key: string
|
|
2909
4334
|
agentId: string
|
|
2910
4335
|
input: {
|
|
2911
|
-
[key: string]:
|
|
4336
|
+
[key: string]:
|
|
4337
|
+
| string
|
|
4338
|
+
| number
|
|
4339
|
+
| boolean
|
|
4340
|
+
| Array<unknown>
|
|
4341
|
+
| {
|
|
4342
|
+
[key: string]: unknown
|
|
4343
|
+
}
|
|
4344
|
+
| null
|
|
2912
4345
|
}
|
|
2913
4346
|
output: {
|
|
2914
|
-
[key: string]:
|
|
4347
|
+
[key: string]:
|
|
4348
|
+
| string
|
|
4349
|
+
| number
|
|
4350
|
+
| boolean
|
|
4351
|
+
| Array<unknown>
|
|
4352
|
+
| {
|
|
4353
|
+
[key: string]: unknown
|
|
4354
|
+
}
|
|
4355
|
+
| null
|
|
2915
4356
|
}
|
|
2916
4357
|
}
|
|
2917
4358
|
>
|
|
@@ -2920,13 +4361,28 @@ export type GetWorkflowResponses = {
|
|
|
2920
4361
|
projectId: string
|
|
2921
4362
|
workflowId: string
|
|
2922
4363
|
status: "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled"
|
|
2923
|
-
input: {
|
|
2924
|
-
[key: string]: unknown
|
|
2925
|
-
}
|
|
2926
4364
|
queuedAt?: string
|
|
2927
4365
|
startedAt: string
|
|
2928
4366
|
finishedAt?: string
|
|
2929
|
-
error?:
|
|
4367
|
+
error?: {
|
|
4368
|
+
code: "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"
|
|
4369
|
+
message: string
|
|
4370
|
+
retryable: boolean
|
|
4371
|
+
at: string
|
|
4372
|
+
/**
|
|
4373
|
+
* Any JSON-compatible value.
|
|
4374
|
+
*/
|
|
4375
|
+
details?:
|
|
4376
|
+
| string
|
|
4377
|
+
| number
|
|
4378
|
+
| boolean
|
|
4379
|
+
| Array<unknown>
|
|
4380
|
+
| {
|
|
4381
|
+
[key: string]: unknown
|
|
4382
|
+
}
|
|
4383
|
+
| null
|
|
4384
|
+
truncated?: true
|
|
4385
|
+
}
|
|
2930
4386
|
requestedBy: {
|
|
2931
4387
|
principalType: "user" | "serviceAccount" | "system"
|
|
2932
4388
|
principalId: string
|
|
@@ -2991,10 +4447,26 @@ export type ListWorkflowInterventionsResponses = {
|
|
|
2991
4447
|
nodeKey: string
|
|
2992
4448
|
interventionId: string
|
|
2993
4449
|
input: {
|
|
2994
|
-
[key: string]:
|
|
4450
|
+
[key: string]:
|
|
4451
|
+
| string
|
|
4452
|
+
| number
|
|
4453
|
+
| boolean
|
|
4454
|
+
| Array<unknown>
|
|
4455
|
+
| {
|
|
4456
|
+
[key: string]: unknown
|
|
4457
|
+
}
|
|
4458
|
+
| null
|
|
2995
4459
|
}
|
|
2996
4460
|
defaultResponse: {
|
|
2997
|
-
[key: string]:
|
|
4461
|
+
[key: string]:
|
|
4462
|
+
| string
|
|
4463
|
+
| number
|
|
4464
|
+
| boolean
|
|
4465
|
+
| Array<unknown>
|
|
4466
|
+
| {
|
|
4467
|
+
[key: string]: unknown
|
|
4468
|
+
}
|
|
4469
|
+
| null
|
|
2998
4470
|
}
|
|
2999
4471
|
status: "pending" | "submitted" | "cancelled" | "expired"
|
|
3000
4472
|
requestedAt: string
|
|
@@ -3005,7 +4477,15 @@ export type ListWorkflowInterventionsResponses = {
|
|
|
3005
4477
|
principalId: string
|
|
3006
4478
|
}
|
|
3007
4479
|
response?: {
|
|
3008
|
-
[key: string]:
|
|
4480
|
+
[key: string]:
|
|
4481
|
+
| string
|
|
4482
|
+
| number
|
|
4483
|
+
| boolean
|
|
4484
|
+
| Array<unknown>
|
|
4485
|
+
| {
|
|
4486
|
+
[key: string]: unknown
|
|
4487
|
+
}
|
|
4488
|
+
| null
|
|
3009
4489
|
}
|
|
3010
4490
|
cancelledAt?: string
|
|
3011
4491
|
cancelledBy?: {
|
|
@@ -3070,10 +4550,26 @@ export type GetWorkflowInterventionResponses = {
|
|
|
3070
4550
|
nodeKey: string
|
|
3071
4551
|
interventionId: string
|
|
3072
4552
|
input: {
|
|
3073
|
-
[key: string]:
|
|
4553
|
+
[key: string]:
|
|
4554
|
+
| string
|
|
4555
|
+
| number
|
|
4556
|
+
| boolean
|
|
4557
|
+
| Array<unknown>
|
|
4558
|
+
| {
|
|
4559
|
+
[key: string]: unknown
|
|
4560
|
+
}
|
|
4561
|
+
| null
|
|
3074
4562
|
}
|
|
3075
4563
|
defaultResponse: {
|
|
3076
|
-
[key: string]:
|
|
4564
|
+
[key: string]:
|
|
4565
|
+
| string
|
|
4566
|
+
| number
|
|
4567
|
+
| boolean
|
|
4568
|
+
| Array<unknown>
|
|
4569
|
+
| {
|
|
4570
|
+
[key: string]: unknown
|
|
4571
|
+
}
|
|
4572
|
+
| null
|
|
3077
4573
|
}
|
|
3078
4574
|
status: "pending" | "submitted" | "cancelled" | "expired"
|
|
3079
4575
|
requestedAt: string
|
|
@@ -3084,7 +4580,15 @@ export type GetWorkflowInterventionResponses = {
|
|
|
3084
4580
|
principalId: string
|
|
3085
4581
|
}
|
|
3086
4582
|
response?: {
|
|
3087
|
-
[key: string]:
|
|
4583
|
+
[key: string]:
|
|
4584
|
+
| string
|
|
4585
|
+
| number
|
|
4586
|
+
| boolean
|
|
4587
|
+
| Array<unknown>
|
|
4588
|
+
| {
|
|
4589
|
+
[key: string]: unknown
|
|
4590
|
+
}
|
|
4591
|
+
| null
|
|
3088
4592
|
}
|
|
3089
4593
|
cancelledAt?: string
|
|
3090
4594
|
cancelledBy?: {
|
|
@@ -3101,7 +4605,15 @@ export type GetWorkflowInterventionResponse =
|
|
|
3101
4605
|
export type SubmitWorkflowInterventionData = {
|
|
3102
4606
|
body: {
|
|
3103
4607
|
response: {
|
|
3104
|
-
[key: string]:
|
|
4608
|
+
[key: string]:
|
|
4609
|
+
| string
|
|
4610
|
+
| number
|
|
4611
|
+
| boolean
|
|
4612
|
+
| Array<unknown>
|
|
4613
|
+
| {
|
|
4614
|
+
[key: string]: unknown
|
|
4615
|
+
}
|
|
4616
|
+
| null
|
|
3105
4617
|
}
|
|
3106
4618
|
}
|
|
3107
4619
|
path: {
|
|
@@ -3151,10 +4663,26 @@ export type SubmitWorkflowInterventionResponses = {
|
|
|
3151
4663
|
nodeKey: string
|
|
3152
4664
|
interventionId: string
|
|
3153
4665
|
input: {
|
|
3154
|
-
[key: string]:
|
|
4666
|
+
[key: string]:
|
|
4667
|
+
| string
|
|
4668
|
+
| number
|
|
4669
|
+
| boolean
|
|
4670
|
+
| Array<unknown>
|
|
4671
|
+
| {
|
|
4672
|
+
[key: string]: unknown
|
|
4673
|
+
}
|
|
4674
|
+
| null
|
|
3155
4675
|
}
|
|
3156
4676
|
defaultResponse: {
|
|
3157
|
-
[key: string]:
|
|
4677
|
+
[key: string]:
|
|
4678
|
+
| string
|
|
4679
|
+
| number
|
|
4680
|
+
| boolean
|
|
4681
|
+
| Array<unknown>
|
|
4682
|
+
| {
|
|
4683
|
+
[key: string]: unknown
|
|
4684
|
+
}
|
|
4685
|
+
| null
|
|
3158
4686
|
}
|
|
3159
4687
|
status: "pending" | "submitted" | "cancelled" | "expired"
|
|
3160
4688
|
requestedAt: string
|
|
@@ -3165,7 +4693,15 @@ export type SubmitWorkflowInterventionResponses = {
|
|
|
3165
4693
|
principalId: string
|
|
3166
4694
|
}
|
|
3167
4695
|
response?: {
|
|
3168
|
-
[key: string]:
|
|
4696
|
+
[key: string]:
|
|
4697
|
+
| string
|
|
4698
|
+
| number
|
|
4699
|
+
| boolean
|
|
4700
|
+
| Array<unknown>
|
|
4701
|
+
| {
|
|
4702
|
+
[key: string]: unknown
|
|
4703
|
+
}
|
|
4704
|
+
| null
|
|
3169
4705
|
}
|
|
3170
4706
|
cancelledAt?: string
|
|
3171
4707
|
cancelledBy?: {
|
|
@@ -3232,10 +4768,26 @@ export type CancelWorkflowInterventionResponses = {
|
|
|
3232
4768
|
nodeKey: string
|
|
3233
4769
|
interventionId: string
|
|
3234
4770
|
input: {
|
|
3235
|
-
[key: string]:
|
|
4771
|
+
[key: string]:
|
|
4772
|
+
| string
|
|
4773
|
+
| number
|
|
4774
|
+
| boolean
|
|
4775
|
+
| Array<unknown>
|
|
4776
|
+
| {
|
|
4777
|
+
[key: string]: unknown
|
|
4778
|
+
}
|
|
4779
|
+
| null
|
|
3236
4780
|
}
|
|
3237
4781
|
defaultResponse: {
|
|
3238
|
-
[key: string]:
|
|
4782
|
+
[key: string]:
|
|
4783
|
+
| string
|
|
4784
|
+
| number
|
|
4785
|
+
| boolean
|
|
4786
|
+
| Array<unknown>
|
|
4787
|
+
| {
|
|
4788
|
+
[key: string]: unknown
|
|
4789
|
+
}
|
|
4790
|
+
| null
|
|
3239
4791
|
}
|
|
3240
4792
|
status: "pending" | "submitted" | "cancelled" | "expired"
|
|
3241
4793
|
requestedAt: string
|
|
@@ -3246,7 +4798,15 @@ export type CancelWorkflowInterventionResponses = {
|
|
|
3246
4798
|
principalId: string
|
|
3247
4799
|
}
|
|
3248
4800
|
response?: {
|
|
3249
|
-
[key: string]:
|
|
4801
|
+
[key: string]:
|
|
4802
|
+
| string
|
|
4803
|
+
| number
|
|
4804
|
+
| boolean
|
|
4805
|
+
| Array<unknown>
|
|
4806
|
+
| {
|
|
4807
|
+
[key: string]: unknown
|
|
4808
|
+
}
|
|
4809
|
+
| null
|
|
3250
4810
|
}
|
|
3251
4811
|
cancelledAt?: string
|
|
3252
4812
|
cancelledBy?: {
|
|
@@ -3303,13 +4863,28 @@ export type ListWorkflowRunsResponses = {
|
|
|
3303
4863
|
projectId: string
|
|
3304
4864
|
workflowId: string
|
|
3305
4865
|
status: "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled"
|
|
3306
|
-
input: {
|
|
3307
|
-
[key: string]: unknown
|
|
3308
|
-
}
|
|
3309
4866
|
queuedAt?: string
|
|
3310
4867
|
startedAt: string
|
|
3311
4868
|
finishedAt?: string
|
|
3312
|
-
error?:
|
|
4869
|
+
error?: {
|
|
4870
|
+
code: "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"
|
|
4871
|
+
message: string
|
|
4872
|
+
retryable: boolean
|
|
4873
|
+
at: string
|
|
4874
|
+
/**
|
|
4875
|
+
* Any JSON-compatible value.
|
|
4876
|
+
*/
|
|
4877
|
+
details?:
|
|
4878
|
+
| string
|
|
4879
|
+
| number
|
|
4880
|
+
| boolean
|
|
4881
|
+
| Array<unknown>
|
|
4882
|
+
| {
|
|
4883
|
+
[key: string]: unknown
|
|
4884
|
+
}
|
|
4885
|
+
| null
|
|
4886
|
+
truncated?: true
|
|
4887
|
+
}
|
|
3313
4888
|
requestedBy: {
|
|
3314
4889
|
principalType: "user" | "serviceAccount" | "system"
|
|
3315
4890
|
principalId: string
|
|
@@ -3364,17 +4939,54 @@ export type GetWorkflowRunResponses = {
|
|
|
3364
4939
|
projectId: string
|
|
3365
4940
|
workflowId: string
|
|
3366
4941
|
status: "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled"
|
|
3367
|
-
input: {
|
|
3368
|
-
[key: string]: unknown
|
|
3369
|
-
}
|
|
3370
4942
|
queuedAt?: string
|
|
3371
4943
|
startedAt: string
|
|
3372
4944
|
finishedAt?: string
|
|
3373
|
-
error?:
|
|
4945
|
+
error?: {
|
|
4946
|
+
code: "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"
|
|
4947
|
+
message: string
|
|
4948
|
+
retryable: boolean
|
|
4949
|
+
at: string
|
|
4950
|
+
/**
|
|
4951
|
+
* Any JSON-compatible value.
|
|
4952
|
+
*/
|
|
4953
|
+
details?:
|
|
4954
|
+
| string
|
|
4955
|
+
| number
|
|
4956
|
+
| boolean
|
|
4957
|
+
| Array<unknown>
|
|
4958
|
+
| {
|
|
4959
|
+
[key: string]: unknown
|
|
4960
|
+
}
|
|
4961
|
+
| null
|
|
4962
|
+
truncated?: true
|
|
4963
|
+
}
|
|
3374
4964
|
requestedBy: {
|
|
3375
4965
|
principalType: "user" | "serviceAccount" | "system"
|
|
3376
4966
|
principalId: string
|
|
3377
4967
|
}
|
|
4968
|
+
input: {
|
|
4969
|
+
[key: string]:
|
|
4970
|
+
| string
|
|
4971
|
+
| number
|
|
4972
|
+
| boolean
|
|
4973
|
+
| Array<unknown>
|
|
4974
|
+
| {
|
|
4975
|
+
[key: string]: unknown
|
|
4976
|
+
}
|
|
4977
|
+
| null
|
|
4978
|
+
}
|
|
4979
|
+
output?: {
|
|
4980
|
+
[key: string]:
|
|
4981
|
+
| string
|
|
4982
|
+
| number
|
|
4983
|
+
| boolean
|
|
4984
|
+
| Array<unknown>
|
|
4985
|
+
| {
|
|
4986
|
+
[key: string]: unknown
|
|
4987
|
+
}
|
|
4988
|
+
| null
|
|
4989
|
+
}
|
|
3378
4990
|
}
|
|
3379
4991
|
nodes: Array<{
|
|
3380
4992
|
id: string
|
|
@@ -3387,14 +4999,48 @@ export type GetWorkflowRunResponses = {
|
|
|
3387
4999
|
nodeKey: string
|
|
3388
5000
|
status: "running" | "waiting" | "succeeded" | "failed" | "cancelled"
|
|
3389
5001
|
input: {
|
|
3390
|
-
[key: string]:
|
|
5002
|
+
[key: string]:
|
|
5003
|
+
| string
|
|
5004
|
+
| number
|
|
5005
|
+
| boolean
|
|
5006
|
+
| Array<unknown>
|
|
5007
|
+
| {
|
|
5008
|
+
[key: string]: unknown
|
|
5009
|
+
}
|
|
5010
|
+
| null
|
|
3391
5011
|
}
|
|
3392
5012
|
startedAt: string
|
|
3393
5013
|
finishedAt?: string
|
|
3394
5014
|
output?: {
|
|
3395
|
-
[key: string]:
|
|
5015
|
+
[key: string]:
|
|
5016
|
+
| string
|
|
5017
|
+
| number
|
|
5018
|
+
| boolean
|
|
5019
|
+
| Array<unknown>
|
|
5020
|
+
| {
|
|
5021
|
+
[key: string]: unknown
|
|
5022
|
+
}
|
|
5023
|
+
| null
|
|
5024
|
+
}
|
|
5025
|
+
error?: {
|
|
5026
|
+
code: "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"
|
|
5027
|
+
message: string
|
|
5028
|
+
retryable: boolean
|
|
5029
|
+
at: string
|
|
5030
|
+
/**
|
|
5031
|
+
* Any JSON-compatible value.
|
|
5032
|
+
*/
|
|
5033
|
+
details?:
|
|
5034
|
+
| string
|
|
5035
|
+
| number
|
|
5036
|
+
| boolean
|
|
5037
|
+
| Array<unknown>
|
|
5038
|
+
| {
|
|
5039
|
+
[key: string]: unknown
|
|
5040
|
+
}
|
|
5041
|
+
| null
|
|
5042
|
+
truncated?: true
|
|
3396
5043
|
}
|
|
3397
|
-
error?: string
|
|
3398
5044
|
agentExecution?: {
|
|
3399
5045
|
agentId: string
|
|
3400
5046
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
@@ -3402,7 +5048,15 @@ export type GetWorkflowRunResponses = {
|
|
|
3402
5048
|
modelId?: string
|
|
3403
5049
|
finishReason?: string
|
|
3404
5050
|
usage?: {
|
|
3405
|
-
|
|
5051
|
+
inputTokens?: number
|
|
5052
|
+
outputTokens?: number
|
|
5053
|
+
totalTokens?: number
|
|
5054
|
+
uncachedInputTokens?: number
|
|
5055
|
+
cacheReadInputTokens?: number
|
|
5056
|
+
cacheWriteInputTokens?: number
|
|
5057
|
+
textOutputTokens?: number
|
|
5058
|
+
reasoningOutputTokens?: number
|
|
5059
|
+
reportingStatus: "complete" | "partial" | "unavailable"
|
|
3406
5060
|
}
|
|
3407
5061
|
startedAt?: string
|
|
3408
5062
|
completedAt?: string
|
|
@@ -3458,19 +5112,41 @@ export type GetWorkflowAgentNodeExecutionResponses = {
|
|
|
3458
5112
|
modelId?: string
|
|
3459
5113
|
finishReason?: string
|
|
3460
5114
|
usage?: {
|
|
3461
|
-
|
|
5115
|
+
inputTokens?: number
|
|
5116
|
+
outputTokens?: number
|
|
5117
|
+
totalTokens?: number
|
|
5118
|
+
uncachedInputTokens?: number
|
|
5119
|
+
cacheReadInputTokens?: number
|
|
5120
|
+
cacheWriteInputTokens?: number
|
|
5121
|
+
textOutputTokens?: number
|
|
5122
|
+
reasoningOutputTokens?: number
|
|
5123
|
+
reportingStatus: "complete" | "partial" | "unavailable"
|
|
3462
5124
|
}
|
|
3463
5125
|
startedAt?: string
|
|
3464
5126
|
completedAt?: string
|
|
3465
5127
|
nodeRunId: string
|
|
3466
5128
|
prompt: string
|
|
3467
|
-
executionPrincipal?: {
|
|
3468
|
-
principalType: "user" | "serviceAccount" | "system"
|
|
3469
|
-
principalId: string
|
|
3470
|
-
}
|
|
3471
5129
|
trace?: Array<unknown>
|
|
3472
5130
|
diagnostics?: Array<unknown>
|
|
3473
|
-
error?:
|
|
5131
|
+
error?: {
|
|
5132
|
+
code: "internal.unexpected" | "runtime.cancelled" | "agent.execution_failed"
|
|
5133
|
+
message: string
|
|
5134
|
+
retryable: boolean
|
|
5135
|
+
at: string
|
|
5136
|
+
/**
|
|
5137
|
+
* Any JSON-compatible value.
|
|
5138
|
+
*/
|
|
5139
|
+
details?:
|
|
5140
|
+
| string
|
|
5141
|
+
| number
|
|
5142
|
+
| boolean
|
|
5143
|
+
| Array<unknown>
|
|
5144
|
+
| {
|
|
5145
|
+
[key: string]: unknown
|
|
5146
|
+
}
|
|
5147
|
+
| null
|
|
5148
|
+
truncated?: true
|
|
5149
|
+
}
|
|
3474
5150
|
createdAt: string
|
|
3475
5151
|
}
|
|
3476
5152
|
}
|
|
@@ -3522,17 +5198,54 @@ export type CancelWorkflowRunResponses = {
|
|
|
3522
5198
|
projectId: string
|
|
3523
5199
|
workflowId: string
|
|
3524
5200
|
status: "queued" | "running" | "waiting" | "succeeded" | "failed" | "cancelled"
|
|
3525
|
-
input: {
|
|
3526
|
-
[key: string]: unknown
|
|
3527
|
-
}
|
|
3528
5201
|
queuedAt?: string
|
|
3529
5202
|
startedAt: string
|
|
3530
5203
|
finishedAt?: string
|
|
3531
|
-
error?:
|
|
5204
|
+
error?: {
|
|
5205
|
+
code: "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"
|
|
5206
|
+
message: string
|
|
5207
|
+
retryable: boolean
|
|
5208
|
+
at: string
|
|
5209
|
+
/**
|
|
5210
|
+
* Any JSON-compatible value.
|
|
5211
|
+
*/
|
|
5212
|
+
details?:
|
|
5213
|
+
| string
|
|
5214
|
+
| number
|
|
5215
|
+
| boolean
|
|
5216
|
+
| Array<unknown>
|
|
5217
|
+
| {
|
|
5218
|
+
[key: string]: unknown
|
|
5219
|
+
}
|
|
5220
|
+
| null
|
|
5221
|
+
truncated?: true
|
|
5222
|
+
}
|
|
3532
5223
|
requestedBy: {
|
|
3533
5224
|
principalType: "user" | "serviceAccount" | "system"
|
|
3534
5225
|
principalId: string
|
|
3535
5226
|
}
|
|
5227
|
+
input: {
|
|
5228
|
+
[key: string]:
|
|
5229
|
+
| string
|
|
5230
|
+
| number
|
|
5231
|
+
| boolean
|
|
5232
|
+
| Array<unknown>
|
|
5233
|
+
| {
|
|
5234
|
+
[key: string]: unknown
|
|
5235
|
+
}
|
|
5236
|
+
| null
|
|
5237
|
+
}
|
|
5238
|
+
output?: {
|
|
5239
|
+
[key: string]:
|
|
5240
|
+
| string
|
|
5241
|
+
| number
|
|
5242
|
+
| boolean
|
|
5243
|
+
| Array<unknown>
|
|
5244
|
+
| {
|
|
5245
|
+
[key: string]: unknown
|
|
5246
|
+
}
|
|
5247
|
+
| null
|
|
5248
|
+
}
|
|
3536
5249
|
}
|
|
3537
5250
|
nodes: Array<{
|
|
3538
5251
|
id: string
|
|
@@ -3545,14 +5258,48 @@ export type CancelWorkflowRunResponses = {
|
|
|
3545
5258
|
nodeKey: string
|
|
3546
5259
|
status: "running" | "waiting" | "succeeded" | "failed" | "cancelled"
|
|
3547
5260
|
input: {
|
|
3548
|
-
[key: string]:
|
|
5261
|
+
[key: string]:
|
|
5262
|
+
| string
|
|
5263
|
+
| number
|
|
5264
|
+
| boolean
|
|
5265
|
+
| Array<unknown>
|
|
5266
|
+
| {
|
|
5267
|
+
[key: string]: unknown
|
|
5268
|
+
}
|
|
5269
|
+
| null
|
|
3549
5270
|
}
|
|
3550
5271
|
startedAt: string
|
|
3551
5272
|
finishedAt?: string
|
|
3552
5273
|
output?: {
|
|
3553
|
-
[key: string]:
|
|
5274
|
+
[key: string]:
|
|
5275
|
+
| string
|
|
5276
|
+
| number
|
|
5277
|
+
| boolean
|
|
5278
|
+
| Array<unknown>
|
|
5279
|
+
| {
|
|
5280
|
+
[key: string]: unknown
|
|
5281
|
+
}
|
|
5282
|
+
| null
|
|
5283
|
+
}
|
|
5284
|
+
error?: {
|
|
5285
|
+
code: "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"
|
|
5286
|
+
message: string
|
|
5287
|
+
retryable: boolean
|
|
5288
|
+
at: string
|
|
5289
|
+
/**
|
|
5290
|
+
* Any JSON-compatible value.
|
|
5291
|
+
*/
|
|
5292
|
+
details?:
|
|
5293
|
+
| string
|
|
5294
|
+
| number
|
|
5295
|
+
| boolean
|
|
5296
|
+
| Array<unknown>
|
|
5297
|
+
| {
|
|
5298
|
+
[key: string]: unknown
|
|
5299
|
+
}
|
|
5300
|
+
| null
|
|
5301
|
+
truncated?: true
|
|
3554
5302
|
}
|
|
3555
|
-
error?: string
|
|
3556
5303
|
agentExecution?: {
|
|
3557
5304
|
agentId: string
|
|
3558
5305
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
@@ -3560,7 +5307,15 @@ export type CancelWorkflowRunResponses = {
|
|
|
3560
5307
|
modelId?: string
|
|
3561
5308
|
finishReason?: string
|
|
3562
5309
|
usage?: {
|
|
3563
|
-
|
|
5310
|
+
inputTokens?: number
|
|
5311
|
+
outputTokens?: number
|
|
5312
|
+
totalTokens?: number
|
|
5313
|
+
uncachedInputTokens?: number
|
|
5314
|
+
cacheReadInputTokens?: number
|
|
5315
|
+
cacheWriteInputTokens?: number
|
|
5316
|
+
textOutputTokens?: number
|
|
5317
|
+
reasoningOutputTokens?: number
|
|
5318
|
+
reportingStatus: "complete" | "partial" | "unavailable"
|
|
3564
5319
|
}
|
|
3565
5320
|
startedAt?: string
|
|
3566
5321
|
completedAt?: string
|
|
@@ -3762,7 +5517,15 @@ export type HeadWorkflowNodeRunFileContentResponses = {
|
|
|
3762
5517
|
export type RequestWorkflowRunData = {
|
|
3763
5518
|
body: {
|
|
3764
5519
|
input?: {
|
|
3765
|
-
[key: string]:
|
|
5520
|
+
[key: string]:
|
|
5521
|
+
| string
|
|
5522
|
+
| number
|
|
5523
|
+
| boolean
|
|
5524
|
+
| Array<unknown>
|
|
5525
|
+
| {
|
|
5526
|
+
[key: string]: unknown
|
|
5527
|
+
}
|
|
5528
|
+
| null
|
|
3766
5529
|
}
|
|
3767
5530
|
}
|
|
3768
5531
|
path: {
|
|
@@ -5279,17 +7042,28 @@ export type ListActionRunsResponses = {
|
|
|
5279
7042
|
startedAt?: string
|
|
5280
7043
|
finishedAt?: string
|
|
5281
7044
|
error?: {
|
|
5282
|
-
|
|
7045
|
+
code:
|
|
7046
|
+
| "internal.unexpected"
|
|
7047
|
+
| "runtime.cancelled"
|
|
7048
|
+
| "queue.enqueue_failed"
|
|
7049
|
+
| "action.phase_failed"
|
|
5283
7050
|
message: string
|
|
5284
|
-
|
|
5285
|
-
|
|
5286
|
-
|
|
5287
|
-
|
|
5288
|
-
|
|
5289
|
-
|
|
5290
|
-
|
|
5291
|
-
|
|
5292
|
-
|
|
7051
|
+
retryable: boolean
|
|
7052
|
+
at: string
|
|
7053
|
+
details: {
|
|
7054
|
+
actionId: string
|
|
7055
|
+
runId: string
|
|
7056
|
+
phase:
|
|
7057
|
+
| "request"
|
|
7058
|
+
| "enqueue"
|
|
7059
|
+
| "validation"
|
|
7060
|
+
| "writeback"
|
|
7061
|
+
| "edits"
|
|
7062
|
+
| "commit"
|
|
7063
|
+
| "effects"
|
|
7064
|
+
| "cancelled"
|
|
7065
|
+
}
|
|
7066
|
+
truncated?: true
|
|
5293
7067
|
}
|
|
5294
7068
|
}>
|
|
5295
7069
|
hasMore: boolean
|
|
@@ -5361,47 +7135,19 @@ export type GetActionRunResponses = {
|
|
|
5361
7135
|
queuedAt: string
|
|
5362
7136
|
startedAt?: string
|
|
5363
7137
|
finishedAt?: string
|
|
5364
|
-
error?: {
|
|
5365
|
-
|
|
5366
|
-
|
|
5367
|
-
|
|
5368
|
-
| "
|
|
5369
|
-
| "
|
|
5370
|
-
|
|
5371
|
-
|
|
5372
|
-
|
|
5373
|
-
|
|
5374
|
-
|
|
5375
|
-
|
|
5376
|
-
|
|
5377
|
-
params: {
|
|
5378
|
-
[key: string]: unknown
|
|
5379
|
-
}
|
|
5380
|
-
writeback?: {
|
|
5381
|
-
status: "succeeded" | "failed"
|
|
5382
|
-
completedAt: string
|
|
5383
|
-
result?: unknown
|
|
5384
|
-
error?: {
|
|
5385
|
-
name?: string
|
|
5386
|
-
message: string
|
|
5387
|
-
phase?:
|
|
5388
|
-
| "request"
|
|
5389
|
-
| "enqueue"
|
|
5390
|
-
| "validation"
|
|
5391
|
-
| "writeback"
|
|
5392
|
-
| "edits"
|
|
5393
|
-
| "commit"
|
|
5394
|
-
| "effects"
|
|
5395
|
-
| "cancelled"
|
|
5396
|
-
}
|
|
5397
|
-
}
|
|
5398
|
-
effects?: {
|
|
5399
|
-
status: "succeeded" | "failed"
|
|
5400
|
-
completedAt: string
|
|
5401
|
-
error?: {
|
|
5402
|
-
name?: string
|
|
5403
|
-
message: string
|
|
5404
|
-
phase?:
|
|
7138
|
+
error?: {
|
|
7139
|
+
code:
|
|
7140
|
+
| "internal.unexpected"
|
|
7141
|
+
| "runtime.cancelled"
|
|
7142
|
+
| "queue.enqueue_failed"
|
|
7143
|
+
| "action.phase_failed"
|
|
7144
|
+
message: string
|
|
7145
|
+
retryable: boolean
|
|
7146
|
+
at: string
|
|
7147
|
+
details: {
|
|
7148
|
+
actionId: string
|
|
7149
|
+
runId: string
|
|
7150
|
+
phase:
|
|
5405
7151
|
| "request"
|
|
5406
7152
|
| "enqueue"
|
|
5407
7153
|
| "validation"
|
|
@@ -5411,7 +7157,73 @@ export type GetActionRunResponses = {
|
|
|
5411
7157
|
| "effects"
|
|
5412
7158
|
| "cancelled"
|
|
5413
7159
|
}
|
|
7160
|
+
truncated?: true
|
|
5414
7161
|
}
|
|
7162
|
+
params: {
|
|
7163
|
+
[key: string]: unknown
|
|
7164
|
+
}
|
|
7165
|
+
writeback?:
|
|
7166
|
+
| {
|
|
7167
|
+
status: "succeeded"
|
|
7168
|
+
completedAt: string
|
|
7169
|
+
/**
|
|
7170
|
+
* Any JSON-compatible value.
|
|
7171
|
+
*/
|
|
7172
|
+
result:
|
|
7173
|
+
| string
|
|
7174
|
+
| number
|
|
7175
|
+
| boolean
|
|
7176
|
+
| Array<unknown>
|
|
7177
|
+
| {
|
|
7178
|
+
[key: string]: unknown
|
|
7179
|
+
}
|
|
7180
|
+
| null
|
|
7181
|
+
}
|
|
7182
|
+
| {
|
|
7183
|
+
status: "failed"
|
|
7184
|
+
completedAt: string
|
|
7185
|
+
error: {
|
|
7186
|
+
code:
|
|
7187
|
+
| "internal.unexpected"
|
|
7188
|
+
| "runtime.cancelled"
|
|
7189
|
+
| "queue.enqueue_failed"
|
|
7190
|
+
| "action.phase_failed"
|
|
7191
|
+
message: string
|
|
7192
|
+
retryable: boolean
|
|
7193
|
+
at: string
|
|
7194
|
+
details: {
|
|
7195
|
+
actionId: string
|
|
7196
|
+
runId: string
|
|
7197
|
+
phase: "writeback"
|
|
7198
|
+
}
|
|
7199
|
+
truncated?: true
|
|
7200
|
+
}
|
|
7201
|
+
}
|
|
7202
|
+
effects?:
|
|
7203
|
+
| {
|
|
7204
|
+
status: "succeeded"
|
|
7205
|
+
completedAt: string
|
|
7206
|
+
}
|
|
7207
|
+
| {
|
|
7208
|
+
status: "failed"
|
|
7209
|
+
completedAt: string
|
|
7210
|
+
error: {
|
|
7211
|
+
code:
|
|
7212
|
+
| "internal.unexpected"
|
|
7213
|
+
| "runtime.cancelled"
|
|
7214
|
+
| "queue.enqueue_failed"
|
|
7215
|
+
| "action.phase_failed"
|
|
7216
|
+
message: string
|
|
7217
|
+
retryable: boolean
|
|
7218
|
+
at: string
|
|
7219
|
+
details: {
|
|
7220
|
+
actionId: string
|
|
7221
|
+
runId: string
|
|
7222
|
+
phase: "effects"
|
|
7223
|
+
}
|
|
7224
|
+
truncated?: true
|
|
7225
|
+
}
|
|
7226
|
+
}
|
|
5415
7227
|
}
|
|
5416
7228
|
}
|
|
5417
7229
|
|
|
@@ -6113,12 +7925,8 @@ export type PostAgentThreadMessageResponses = {
|
|
|
6113
7925
|
threadId: string
|
|
6114
7926
|
agentId: string
|
|
6115
7927
|
triggerMessageId: string
|
|
6116
|
-
|
|
6117
|
-
type: "user" | "serviceAccount"
|
|
6118
|
-
id: string
|
|
6119
|
-
}
|
|
6120
|
-
executionPrincipal?: {
|
|
6121
|
-
type: "user" | "serviceAccount" | "system"
|
|
7928
|
+
requestedBy?: {
|
|
7929
|
+
type: "user" | "serviceAccount"
|
|
6122
7930
|
id: string
|
|
6123
7931
|
}
|
|
6124
7932
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
@@ -6135,8 +7943,12 @@ export type PostAgentThreadMessageResponses = {
|
|
|
6135
7943
|
inputTokens?: number
|
|
6136
7944
|
outputTokens?: number
|
|
6137
7945
|
totalTokens?: number
|
|
6138
|
-
|
|
6139
|
-
|
|
7946
|
+
uncachedInputTokens?: number
|
|
7947
|
+
cacheReadInputTokens?: number
|
|
7948
|
+
cacheWriteInputTokens?: number
|
|
7949
|
+
textOutputTokens?: number
|
|
7950
|
+
reasoningOutputTokens?: number
|
|
7951
|
+
reportingStatus: "complete" | "partial" | "unavailable"
|
|
6140
7952
|
}
|
|
6141
7953
|
diagnostics?: Array<{
|
|
6142
7954
|
code:
|
|
@@ -6151,7 +7963,25 @@ export type PostAgentThreadMessageResponses = {
|
|
|
6151
7963
|
path?: string
|
|
6152
7964
|
message: string
|
|
6153
7965
|
}>
|
|
6154
|
-
error?:
|
|
7966
|
+
error?: {
|
|
7967
|
+
code: "internal.unexpected" | "runtime.cancelled" | "agent.execution_failed"
|
|
7968
|
+
message: string
|
|
7969
|
+
retryable: boolean
|
|
7970
|
+
at: string
|
|
7971
|
+
/**
|
|
7972
|
+
* Any JSON-compatible value.
|
|
7973
|
+
*/
|
|
7974
|
+
details?:
|
|
7975
|
+
| string
|
|
7976
|
+
| number
|
|
7977
|
+
| boolean
|
|
7978
|
+
| Array<unknown>
|
|
7979
|
+
| {
|
|
7980
|
+
[key: string]: unknown
|
|
7981
|
+
}
|
|
7982
|
+
| null
|
|
7983
|
+
truncated?: true
|
|
7984
|
+
}
|
|
6155
7985
|
attempt: number
|
|
6156
7986
|
streamId: string
|
|
6157
7987
|
createdAt: string
|
|
@@ -6310,12 +8140,8 @@ export type CancelAgentRunResponses = {
|
|
|
6310
8140
|
threadId: string
|
|
6311
8141
|
agentId: string
|
|
6312
8142
|
triggerMessageId: string
|
|
6313
|
-
|
|
6314
|
-
type: "user" | "serviceAccount"
|
|
6315
|
-
id: string
|
|
6316
|
-
}
|
|
6317
|
-
executionPrincipal?: {
|
|
6318
|
-
type: "user" | "serviceAccount" | "system"
|
|
8143
|
+
requestedBy?: {
|
|
8144
|
+
type: "user" | "serviceAccount"
|
|
6319
8145
|
id: string
|
|
6320
8146
|
}
|
|
6321
8147
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
@@ -6332,8 +8158,12 @@ export type CancelAgentRunResponses = {
|
|
|
6332
8158
|
inputTokens?: number
|
|
6333
8159
|
outputTokens?: number
|
|
6334
8160
|
totalTokens?: number
|
|
6335
|
-
|
|
6336
|
-
|
|
8161
|
+
uncachedInputTokens?: number
|
|
8162
|
+
cacheReadInputTokens?: number
|
|
8163
|
+
cacheWriteInputTokens?: number
|
|
8164
|
+
textOutputTokens?: number
|
|
8165
|
+
reasoningOutputTokens?: number
|
|
8166
|
+
reportingStatus: "complete" | "partial" | "unavailable"
|
|
6337
8167
|
}
|
|
6338
8168
|
diagnostics?: Array<{
|
|
6339
8169
|
code:
|
|
@@ -6348,7 +8178,25 @@ export type CancelAgentRunResponses = {
|
|
|
6348
8178
|
path?: string
|
|
6349
8179
|
message: string
|
|
6350
8180
|
}>
|
|
6351
|
-
error?:
|
|
8181
|
+
error?: {
|
|
8182
|
+
code: "internal.unexpected" | "runtime.cancelled" | "agent.execution_failed"
|
|
8183
|
+
message: string
|
|
8184
|
+
retryable: boolean
|
|
8185
|
+
at: string
|
|
8186
|
+
/**
|
|
8187
|
+
* Any JSON-compatible value.
|
|
8188
|
+
*/
|
|
8189
|
+
details?:
|
|
8190
|
+
| string
|
|
8191
|
+
| number
|
|
8192
|
+
| boolean
|
|
8193
|
+
| Array<unknown>
|
|
8194
|
+
| {
|
|
8195
|
+
[key: string]: unknown
|
|
8196
|
+
}
|
|
8197
|
+
| null
|
|
8198
|
+
truncated?: true
|
|
8199
|
+
}
|
|
6352
8200
|
attempt: number
|
|
6353
8201
|
streamId: string
|
|
6354
8202
|
createdAt: string
|
|
@@ -6410,12 +8258,8 @@ export type RetryAgentRunResponses = {
|
|
|
6410
8258
|
threadId: string
|
|
6411
8259
|
agentId: string
|
|
6412
8260
|
triggerMessageId: string
|
|
6413
|
-
|
|
6414
|
-
type: "user" | "serviceAccount"
|
|
6415
|
-
id: string
|
|
6416
|
-
}
|
|
6417
|
-
executionPrincipal?: {
|
|
6418
|
-
type: "user" | "serviceAccount" | "system"
|
|
8261
|
+
requestedBy?: {
|
|
8262
|
+
type: "user" | "serviceAccount"
|
|
6419
8263
|
id: string
|
|
6420
8264
|
}
|
|
6421
8265
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
@@ -6432,8 +8276,12 @@ export type RetryAgentRunResponses = {
|
|
|
6432
8276
|
inputTokens?: number
|
|
6433
8277
|
outputTokens?: number
|
|
6434
8278
|
totalTokens?: number
|
|
6435
|
-
|
|
6436
|
-
|
|
8279
|
+
uncachedInputTokens?: number
|
|
8280
|
+
cacheReadInputTokens?: number
|
|
8281
|
+
cacheWriteInputTokens?: number
|
|
8282
|
+
textOutputTokens?: number
|
|
8283
|
+
reasoningOutputTokens?: number
|
|
8284
|
+
reportingStatus: "complete" | "partial" | "unavailable"
|
|
6437
8285
|
}
|
|
6438
8286
|
diagnostics?: Array<{
|
|
6439
8287
|
code:
|
|
@@ -6448,7 +8296,25 @@ export type RetryAgentRunResponses = {
|
|
|
6448
8296
|
path?: string
|
|
6449
8297
|
message: string
|
|
6450
8298
|
}>
|
|
6451
|
-
error?:
|
|
8299
|
+
error?: {
|
|
8300
|
+
code: "internal.unexpected" | "runtime.cancelled" | "agent.execution_failed"
|
|
8301
|
+
message: string
|
|
8302
|
+
retryable: boolean
|
|
8303
|
+
at: string
|
|
8304
|
+
/**
|
|
8305
|
+
* Any JSON-compatible value.
|
|
8306
|
+
*/
|
|
8307
|
+
details?:
|
|
8308
|
+
| string
|
|
8309
|
+
| number
|
|
8310
|
+
| boolean
|
|
8311
|
+
| Array<unknown>
|
|
8312
|
+
| {
|
|
8313
|
+
[key: string]: unknown
|
|
8314
|
+
}
|
|
8315
|
+
| null
|
|
8316
|
+
truncated?: true
|
|
8317
|
+
}
|
|
6452
8318
|
attempt: number
|
|
6453
8319
|
streamId: string
|
|
6454
8320
|
createdAt: string
|
|
@@ -6508,12 +8374,8 @@ export type ListAgentThreadRunsResponses = {
|
|
|
6508
8374
|
threadId: string
|
|
6509
8375
|
agentId: string
|
|
6510
8376
|
triggerMessageId: string
|
|
6511
|
-
|
|
6512
|
-
type: "user" | "serviceAccount"
|
|
6513
|
-
id: string
|
|
6514
|
-
}
|
|
6515
|
-
executionPrincipal?: {
|
|
6516
|
-
type: "user" | "serviceAccount" | "system"
|
|
8377
|
+
requestedBy?: {
|
|
8378
|
+
type: "user" | "serviceAccount"
|
|
6517
8379
|
id: string
|
|
6518
8380
|
}
|
|
6519
8381
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
@@ -6530,8 +8392,12 @@ export type ListAgentThreadRunsResponses = {
|
|
|
6530
8392
|
inputTokens?: number
|
|
6531
8393
|
outputTokens?: number
|
|
6532
8394
|
totalTokens?: number
|
|
6533
|
-
|
|
6534
|
-
|
|
8395
|
+
uncachedInputTokens?: number
|
|
8396
|
+
cacheReadInputTokens?: number
|
|
8397
|
+
cacheWriteInputTokens?: number
|
|
8398
|
+
textOutputTokens?: number
|
|
8399
|
+
reasoningOutputTokens?: number
|
|
8400
|
+
reportingStatus: "complete" | "partial" | "unavailable"
|
|
6535
8401
|
}
|
|
6536
8402
|
diagnostics?: Array<{
|
|
6537
8403
|
code:
|
|
@@ -6546,7 +8412,25 @@ export type ListAgentThreadRunsResponses = {
|
|
|
6546
8412
|
path?: string
|
|
6547
8413
|
message: string
|
|
6548
8414
|
}>
|
|
6549
|
-
error?:
|
|
8415
|
+
error?: {
|
|
8416
|
+
code: "internal.unexpected" | "runtime.cancelled" | "agent.execution_failed"
|
|
8417
|
+
message: string
|
|
8418
|
+
retryable: boolean
|
|
8419
|
+
at: string
|
|
8420
|
+
/**
|
|
8421
|
+
* Any JSON-compatible value.
|
|
8422
|
+
*/
|
|
8423
|
+
details?:
|
|
8424
|
+
| string
|
|
8425
|
+
| number
|
|
8426
|
+
| boolean
|
|
8427
|
+
| Array<unknown>
|
|
8428
|
+
| {
|
|
8429
|
+
[key: string]: unknown
|
|
8430
|
+
}
|
|
8431
|
+
| null
|
|
8432
|
+
truncated?: true
|
|
8433
|
+
}
|
|
6550
8434
|
attempt: number
|
|
6551
8435
|
streamId: string
|
|
6552
8436
|
createdAt: string
|
|
@@ -6603,12 +8487,8 @@ export type GetAgentRunResponses = {
|
|
|
6603
8487
|
threadId: string
|
|
6604
8488
|
agentId: string
|
|
6605
8489
|
triggerMessageId: string
|
|
6606
|
-
|
|
6607
|
-
type: "user" | "serviceAccount"
|
|
6608
|
-
id: string
|
|
6609
|
-
}
|
|
6610
|
-
executionPrincipal?: {
|
|
6611
|
-
type: "user" | "serviceAccount" | "system"
|
|
8490
|
+
requestedBy?: {
|
|
8491
|
+
type: "user" | "serviceAccount"
|
|
6612
8492
|
id: string
|
|
6613
8493
|
}
|
|
6614
8494
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
@@ -6625,8 +8505,12 @@ export type GetAgentRunResponses = {
|
|
|
6625
8505
|
inputTokens?: number
|
|
6626
8506
|
outputTokens?: number
|
|
6627
8507
|
totalTokens?: number
|
|
6628
|
-
|
|
6629
|
-
|
|
8508
|
+
uncachedInputTokens?: number
|
|
8509
|
+
cacheReadInputTokens?: number
|
|
8510
|
+
cacheWriteInputTokens?: number
|
|
8511
|
+
textOutputTokens?: number
|
|
8512
|
+
reasoningOutputTokens?: number
|
|
8513
|
+
reportingStatus: "complete" | "partial" | "unavailable"
|
|
6630
8514
|
}
|
|
6631
8515
|
diagnostics?: Array<{
|
|
6632
8516
|
code:
|
|
@@ -6641,7 +8525,25 @@ export type GetAgentRunResponses = {
|
|
|
6641
8525
|
path?: string
|
|
6642
8526
|
message: string
|
|
6643
8527
|
}>
|
|
6644
|
-
error?:
|
|
8528
|
+
error?: {
|
|
8529
|
+
code: "internal.unexpected" | "runtime.cancelled" | "agent.execution_failed"
|
|
8530
|
+
message: string
|
|
8531
|
+
retryable: boolean
|
|
8532
|
+
at: string
|
|
8533
|
+
/**
|
|
8534
|
+
* Any JSON-compatible value.
|
|
8535
|
+
*/
|
|
8536
|
+
details?:
|
|
8537
|
+
| string
|
|
8538
|
+
| number
|
|
8539
|
+
| boolean
|
|
8540
|
+
| Array<unknown>
|
|
8541
|
+
| {
|
|
8542
|
+
[key: string]: unknown
|
|
8543
|
+
}
|
|
8544
|
+
| null
|
|
8545
|
+
truncated?: true
|
|
8546
|
+
}
|
|
6645
8547
|
attempt: number
|
|
6646
8548
|
streamId: string
|
|
6647
8549
|
createdAt: string
|
|
@@ -8089,15 +9991,39 @@ export type ListProjectionsResponses = {
|
|
|
8089
9991
|
| {
|
|
8090
9992
|
id: string
|
|
8091
9993
|
projectId: string
|
|
8092
|
-
|
|
9994
|
+
executionId: string
|
|
9995
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
8093
9996
|
attempt: number
|
|
8094
9997
|
progress: {
|
|
8095
9998
|
sourceRowsRead: number
|
|
8096
9999
|
sourceRowsSkipped: number
|
|
8097
10000
|
}
|
|
8098
|
-
|
|
10001
|
+
queuedAt: string
|
|
10002
|
+
startedAt?: string
|
|
8099
10003
|
finishedAt?: string
|
|
8100
|
-
|
|
10004
|
+
error?: {
|
|
10005
|
+
code:
|
|
10006
|
+
| "internal.unexpected"
|
|
10007
|
+
| "runtime.cancelled"
|
|
10008
|
+
| "queue.enqueue_failed"
|
|
10009
|
+
| "projection.execution_failed"
|
|
10010
|
+
message: string
|
|
10011
|
+
retryable: boolean
|
|
10012
|
+
at: string
|
|
10013
|
+
/**
|
|
10014
|
+
* Any JSON-compatible value.
|
|
10015
|
+
*/
|
|
10016
|
+
details?:
|
|
10017
|
+
| string
|
|
10018
|
+
| number
|
|
10019
|
+
| boolean
|
|
10020
|
+
| Array<unknown>
|
|
10021
|
+
| {
|
|
10022
|
+
[key: string]: unknown
|
|
10023
|
+
}
|
|
10024
|
+
| null
|
|
10025
|
+
truncated?: true
|
|
10026
|
+
}
|
|
8101
10027
|
identity: {
|
|
8102
10028
|
projectionId: string
|
|
8103
10029
|
datasetVersion: {
|
|
@@ -8118,15 +10044,39 @@ export type ListProjectionsResponses = {
|
|
|
8118
10044
|
| {
|
|
8119
10045
|
id: string
|
|
8120
10046
|
projectId: string
|
|
8121
|
-
|
|
10047
|
+
executionId: string
|
|
10048
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
8122
10049
|
attempt: number
|
|
8123
10050
|
progress: {
|
|
8124
10051
|
sourceRowsRead: number
|
|
8125
10052
|
sourceRowsSkipped: number
|
|
8126
10053
|
}
|
|
8127
|
-
|
|
10054
|
+
queuedAt: string
|
|
10055
|
+
startedAt?: string
|
|
8128
10056
|
finishedAt?: string
|
|
8129
|
-
|
|
10057
|
+
error?: {
|
|
10058
|
+
code:
|
|
10059
|
+
| "internal.unexpected"
|
|
10060
|
+
| "runtime.cancelled"
|
|
10061
|
+
| "queue.enqueue_failed"
|
|
10062
|
+
| "projection.execution_failed"
|
|
10063
|
+
message: string
|
|
10064
|
+
retryable: boolean
|
|
10065
|
+
at: string
|
|
10066
|
+
/**
|
|
10067
|
+
* Any JSON-compatible value.
|
|
10068
|
+
*/
|
|
10069
|
+
details?:
|
|
10070
|
+
| string
|
|
10071
|
+
| number
|
|
10072
|
+
| boolean
|
|
10073
|
+
| Array<unknown>
|
|
10074
|
+
| {
|
|
10075
|
+
[key: string]: unknown
|
|
10076
|
+
}
|
|
10077
|
+
| null
|
|
10078
|
+
truncated?: true
|
|
10079
|
+
}
|
|
8130
10080
|
identity: {
|
|
8131
10081
|
projectionId: string
|
|
8132
10082
|
datasetVersion: {
|
|
@@ -8148,15 +10098,39 @@ export type ListProjectionsResponses = {
|
|
|
8148
10098
|
| {
|
|
8149
10099
|
id: string
|
|
8150
10100
|
projectId: string
|
|
8151
|
-
|
|
10101
|
+
executionId: string
|
|
10102
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
8152
10103
|
attempt: number
|
|
8153
10104
|
progress: {
|
|
8154
10105
|
sourceRowsRead: number
|
|
8155
10106
|
sourceRowsSkipped: number
|
|
8156
10107
|
}
|
|
8157
|
-
|
|
10108
|
+
queuedAt: string
|
|
10109
|
+
startedAt?: string
|
|
8158
10110
|
finishedAt?: string
|
|
8159
|
-
|
|
10111
|
+
error?: {
|
|
10112
|
+
code:
|
|
10113
|
+
| "internal.unexpected"
|
|
10114
|
+
| "runtime.cancelled"
|
|
10115
|
+
| "queue.enqueue_failed"
|
|
10116
|
+
| "projection.execution_failed"
|
|
10117
|
+
message: string
|
|
10118
|
+
retryable: boolean
|
|
10119
|
+
at: string
|
|
10120
|
+
/**
|
|
10121
|
+
* Any JSON-compatible value.
|
|
10122
|
+
*/
|
|
10123
|
+
details?:
|
|
10124
|
+
| string
|
|
10125
|
+
| number
|
|
10126
|
+
| boolean
|
|
10127
|
+
| Array<unknown>
|
|
10128
|
+
| {
|
|
10129
|
+
[key: string]: unknown
|
|
10130
|
+
}
|
|
10131
|
+
| null
|
|
10132
|
+
truncated?: true
|
|
10133
|
+
}
|
|
8160
10134
|
identity: {
|
|
8161
10135
|
projectionId: string
|
|
8162
10136
|
datasetVersion: {
|
|
@@ -8189,15 +10163,39 @@ export type ListProjectionsResponses = {
|
|
|
8189
10163
|
| {
|
|
8190
10164
|
id: string
|
|
8191
10165
|
projectId: string
|
|
8192
|
-
|
|
10166
|
+
executionId: string
|
|
10167
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
8193
10168
|
attempt: number
|
|
8194
10169
|
progress: {
|
|
8195
10170
|
sourceRowsRead: number
|
|
8196
10171
|
sourceRowsSkipped: number
|
|
8197
10172
|
}
|
|
8198
|
-
|
|
10173
|
+
queuedAt: string
|
|
10174
|
+
startedAt?: string
|
|
8199
10175
|
finishedAt?: string
|
|
8200
|
-
|
|
10176
|
+
error?: {
|
|
10177
|
+
code:
|
|
10178
|
+
| "internal.unexpected"
|
|
10179
|
+
| "runtime.cancelled"
|
|
10180
|
+
| "queue.enqueue_failed"
|
|
10181
|
+
| "projection.execution_failed"
|
|
10182
|
+
message: string
|
|
10183
|
+
retryable: boolean
|
|
10184
|
+
at: string
|
|
10185
|
+
/**
|
|
10186
|
+
* Any JSON-compatible value.
|
|
10187
|
+
*/
|
|
10188
|
+
details?:
|
|
10189
|
+
| string
|
|
10190
|
+
| number
|
|
10191
|
+
| boolean
|
|
10192
|
+
| Array<unknown>
|
|
10193
|
+
| {
|
|
10194
|
+
[key: string]: unknown
|
|
10195
|
+
}
|
|
10196
|
+
| null
|
|
10197
|
+
truncated?: true
|
|
10198
|
+
}
|
|
8201
10199
|
identity: {
|
|
8202
10200
|
projectionId: string
|
|
8203
10201
|
datasetVersion: {
|
|
@@ -8218,15 +10216,39 @@ export type ListProjectionsResponses = {
|
|
|
8218
10216
|
| {
|
|
8219
10217
|
id: string
|
|
8220
10218
|
projectId: string
|
|
8221
|
-
|
|
10219
|
+
executionId: string
|
|
10220
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
8222
10221
|
attempt: number
|
|
8223
10222
|
progress: {
|
|
8224
10223
|
sourceRowsRead: number
|
|
8225
10224
|
sourceRowsSkipped: number
|
|
8226
10225
|
}
|
|
8227
|
-
|
|
10226
|
+
queuedAt: string
|
|
10227
|
+
startedAt?: string
|
|
8228
10228
|
finishedAt?: string
|
|
8229
|
-
|
|
10229
|
+
error?: {
|
|
10230
|
+
code:
|
|
10231
|
+
| "internal.unexpected"
|
|
10232
|
+
| "runtime.cancelled"
|
|
10233
|
+
| "queue.enqueue_failed"
|
|
10234
|
+
| "projection.execution_failed"
|
|
10235
|
+
message: string
|
|
10236
|
+
retryable: boolean
|
|
10237
|
+
at: string
|
|
10238
|
+
/**
|
|
10239
|
+
* Any JSON-compatible value.
|
|
10240
|
+
*/
|
|
10241
|
+
details?:
|
|
10242
|
+
| string
|
|
10243
|
+
| number
|
|
10244
|
+
| boolean
|
|
10245
|
+
| Array<unknown>
|
|
10246
|
+
| {
|
|
10247
|
+
[key: string]: unknown
|
|
10248
|
+
}
|
|
10249
|
+
| null
|
|
10250
|
+
truncated?: true
|
|
10251
|
+
}
|
|
8230
10252
|
identity: {
|
|
8231
10253
|
projectionId: string
|
|
8232
10254
|
datasetVersion: {
|
|
@@ -8248,15 +10270,39 @@ export type ListProjectionsResponses = {
|
|
|
8248
10270
|
| {
|
|
8249
10271
|
id: string
|
|
8250
10272
|
projectId: string
|
|
8251
|
-
|
|
10273
|
+
executionId: string
|
|
10274
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
8252
10275
|
attempt: number
|
|
8253
10276
|
progress: {
|
|
8254
10277
|
sourceRowsRead: number
|
|
8255
10278
|
sourceRowsSkipped: number
|
|
8256
10279
|
}
|
|
8257
|
-
|
|
10280
|
+
queuedAt: string
|
|
10281
|
+
startedAt?: string
|
|
8258
10282
|
finishedAt?: string
|
|
8259
|
-
|
|
10283
|
+
error?: {
|
|
10284
|
+
code:
|
|
10285
|
+
| "internal.unexpected"
|
|
10286
|
+
| "runtime.cancelled"
|
|
10287
|
+
| "queue.enqueue_failed"
|
|
10288
|
+
| "projection.execution_failed"
|
|
10289
|
+
message: string
|
|
10290
|
+
retryable: boolean
|
|
10291
|
+
at: string
|
|
10292
|
+
/**
|
|
10293
|
+
* Any JSON-compatible value.
|
|
10294
|
+
*/
|
|
10295
|
+
details?:
|
|
10296
|
+
| string
|
|
10297
|
+
| number
|
|
10298
|
+
| boolean
|
|
10299
|
+
| Array<unknown>
|
|
10300
|
+
| {
|
|
10301
|
+
[key: string]: unknown
|
|
10302
|
+
}
|
|
10303
|
+
| null
|
|
10304
|
+
truncated?: true
|
|
10305
|
+
}
|
|
8260
10306
|
identity: {
|
|
8261
10307
|
projectionId: string
|
|
8262
10308
|
datasetVersion: {
|
|
@@ -8290,15 +10336,39 @@ export type ListProjectionsResponses = {
|
|
|
8290
10336
|
| {
|
|
8291
10337
|
id: string
|
|
8292
10338
|
projectId: string
|
|
8293
|
-
|
|
10339
|
+
executionId: string
|
|
10340
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
8294
10341
|
attempt: number
|
|
8295
10342
|
progress: {
|
|
8296
10343
|
sourceRowsRead: number
|
|
8297
10344
|
sourceRowsSkipped: number
|
|
8298
10345
|
}
|
|
8299
|
-
|
|
10346
|
+
queuedAt: string
|
|
10347
|
+
startedAt?: string
|
|
8300
10348
|
finishedAt?: string
|
|
8301
|
-
|
|
10349
|
+
error?: {
|
|
10350
|
+
code:
|
|
10351
|
+
| "internal.unexpected"
|
|
10352
|
+
| "runtime.cancelled"
|
|
10353
|
+
| "queue.enqueue_failed"
|
|
10354
|
+
| "projection.execution_failed"
|
|
10355
|
+
message: string
|
|
10356
|
+
retryable: boolean
|
|
10357
|
+
at: string
|
|
10358
|
+
/**
|
|
10359
|
+
* Any JSON-compatible value.
|
|
10360
|
+
*/
|
|
10361
|
+
details?:
|
|
10362
|
+
| string
|
|
10363
|
+
| number
|
|
10364
|
+
| boolean
|
|
10365
|
+
| Array<unknown>
|
|
10366
|
+
| {
|
|
10367
|
+
[key: string]: unknown
|
|
10368
|
+
}
|
|
10369
|
+
| null
|
|
10370
|
+
truncated?: true
|
|
10371
|
+
}
|
|
8302
10372
|
identity: {
|
|
8303
10373
|
projectionId: string
|
|
8304
10374
|
datasetVersion: {
|
|
@@ -8319,15 +10389,39 @@ export type ListProjectionsResponses = {
|
|
|
8319
10389
|
| {
|
|
8320
10390
|
id: string
|
|
8321
10391
|
projectId: string
|
|
8322
|
-
|
|
10392
|
+
executionId: string
|
|
10393
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
8323
10394
|
attempt: number
|
|
8324
10395
|
progress: {
|
|
8325
10396
|
sourceRowsRead: number
|
|
8326
10397
|
sourceRowsSkipped: number
|
|
8327
10398
|
}
|
|
8328
|
-
|
|
10399
|
+
queuedAt: string
|
|
10400
|
+
startedAt?: string
|
|
8329
10401
|
finishedAt?: string
|
|
8330
|
-
|
|
10402
|
+
error?: {
|
|
10403
|
+
code:
|
|
10404
|
+
| "internal.unexpected"
|
|
10405
|
+
| "runtime.cancelled"
|
|
10406
|
+
| "queue.enqueue_failed"
|
|
10407
|
+
| "projection.execution_failed"
|
|
10408
|
+
message: string
|
|
10409
|
+
retryable: boolean
|
|
10410
|
+
at: string
|
|
10411
|
+
/**
|
|
10412
|
+
* Any JSON-compatible value.
|
|
10413
|
+
*/
|
|
10414
|
+
details?:
|
|
10415
|
+
| string
|
|
10416
|
+
| number
|
|
10417
|
+
| boolean
|
|
10418
|
+
| Array<unknown>
|
|
10419
|
+
| {
|
|
10420
|
+
[key: string]: unknown
|
|
10421
|
+
}
|
|
10422
|
+
| null
|
|
10423
|
+
truncated?: true
|
|
10424
|
+
}
|
|
8331
10425
|
identity: {
|
|
8332
10426
|
projectionId: string
|
|
8333
10427
|
datasetVersion: {
|
|
@@ -8349,15 +10443,39 @@ export type ListProjectionsResponses = {
|
|
|
8349
10443
|
| {
|
|
8350
10444
|
id: string
|
|
8351
10445
|
projectId: string
|
|
8352
|
-
|
|
10446
|
+
executionId: string
|
|
10447
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
8353
10448
|
attempt: number
|
|
8354
10449
|
progress: {
|
|
8355
10450
|
sourceRowsRead: number
|
|
8356
10451
|
sourceRowsSkipped: number
|
|
8357
10452
|
}
|
|
8358
|
-
|
|
10453
|
+
queuedAt: string
|
|
10454
|
+
startedAt?: string
|
|
8359
10455
|
finishedAt?: string
|
|
8360
|
-
|
|
10456
|
+
error?: {
|
|
10457
|
+
code:
|
|
10458
|
+
| "internal.unexpected"
|
|
10459
|
+
| "runtime.cancelled"
|
|
10460
|
+
| "queue.enqueue_failed"
|
|
10461
|
+
| "projection.execution_failed"
|
|
10462
|
+
message: string
|
|
10463
|
+
retryable: boolean
|
|
10464
|
+
at: string
|
|
10465
|
+
/**
|
|
10466
|
+
* Any JSON-compatible value.
|
|
10467
|
+
*/
|
|
10468
|
+
details?:
|
|
10469
|
+
| string
|
|
10470
|
+
| number
|
|
10471
|
+
| boolean
|
|
10472
|
+
| Array<unknown>
|
|
10473
|
+
| {
|
|
10474
|
+
[key: string]: unknown
|
|
10475
|
+
}
|
|
10476
|
+
| null
|
|
10477
|
+
truncated?: true
|
|
10478
|
+
}
|
|
8361
10479
|
identity: {
|
|
8362
10480
|
projectionId: string
|
|
8363
10481
|
datasetVersion: {
|
|
@@ -8427,15 +10545,39 @@ export type GetProjectionResponses = {
|
|
|
8427
10545
|
| {
|
|
8428
10546
|
id: string
|
|
8429
10547
|
projectId: string
|
|
8430
|
-
|
|
10548
|
+
executionId: string
|
|
10549
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
8431
10550
|
attempt: number
|
|
8432
10551
|
progress: {
|
|
8433
10552
|
sourceRowsRead: number
|
|
8434
10553
|
sourceRowsSkipped: number
|
|
8435
10554
|
}
|
|
8436
|
-
|
|
10555
|
+
queuedAt: string
|
|
10556
|
+
startedAt?: string
|
|
8437
10557
|
finishedAt?: string
|
|
8438
|
-
|
|
10558
|
+
error?: {
|
|
10559
|
+
code:
|
|
10560
|
+
| "internal.unexpected"
|
|
10561
|
+
| "runtime.cancelled"
|
|
10562
|
+
| "queue.enqueue_failed"
|
|
10563
|
+
| "projection.execution_failed"
|
|
10564
|
+
message: string
|
|
10565
|
+
retryable: boolean
|
|
10566
|
+
at: string
|
|
10567
|
+
/**
|
|
10568
|
+
* Any JSON-compatible value.
|
|
10569
|
+
*/
|
|
10570
|
+
details?:
|
|
10571
|
+
| string
|
|
10572
|
+
| number
|
|
10573
|
+
| boolean
|
|
10574
|
+
| Array<unknown>
|
|
10575
|
+
| {
|
|
10576
|
+
[key: string]: unknown
|
|
10577
|
+
}
|
|
10578
|
+
| null
|
|
10579
|
+
truncated?: true
|
|
10580
|
+
}
|
|
8439
10581
|
identity: {
|
|
8440
10582
|
projectionId: string
|
|
8441
10583
|
datasetVersion: {
|
|
@@ -8456,15 +10598,39 @@ export type GetProjectionResponses = {
|
|
|
8456
10598
|
| {
|
|
8457
10599
|
id: string
|
|
8458
10600
|
projectId: string
|
|
8459
|
-
|
|
10601
|
+
executionId: string
|
|
10602
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
8460
10603
|
attempt: number
|
|
8461
10604
|
progress: {
|
|
8462
10605
|
sourceRowsRead: number
|
|
8463
10606
|
sourceRowsSkipped: number
|
|
8464
10607
|
}
|
|
8465
|
-
|
|
10608
|
+
queuedAt: string
|
|
10609
|
+
startedAt?: string
|
|
8466
10610
|
finishedAt?: string
|
|
8467
|
-
|
|
10611
|
+
error?: {
|
|
10612
|
+
code:
|
|
10613
|
+
| "internal.unexpected"
|
|
10614
|
+
| "runtime.cancelled"
|
|
10615
|
+
| "queue.enqueue_failed"
|
|
10616
|
+
| "projection.execution_failed"
|
|
10617
|
+
message: string
|
|
10618
|
+
retryable: boolean
|
|
10619
|
+
at: string
|
|
10620
|
+
/**
|
|
10621
|
+
* Any JSON-compatible value.
|
|
10622
|
+
*/
|
|
10623
|
+
details?:
|
|
10624
|
+
| string
|
|
10625
|
+
| number
|
|
10626
|
+
| boolean
|
|
10627
|
+
| Array<unknown>
|
|
10628
|
+
| {
|
|
10629
|
+
[key: string]: unknown
|
|
10630
|
+
}
|
|
10631
|
+
| null
|
|
10632
|
+
truncated?: true
|
|
10633
|
+
}
|
|
8468
10634
|
identity: {
|
|
8469
10635
|
projectionId: string
|
|
8470
10636
|
datasetVersion: {
|
|
@@ -8486,15 +10652,39 @@ export type GetProjectionResponses = {
|
|
|
8486
10652
|
| {
|
|
8487
10653
|
id: string
|
|
8488
10654
|
projectId: string
|
|
8489
|
-
|
|
10655
|
+
executionId: string
|
|
10656
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
8490
10657
|
attempt: number
|
|
8491
10658
|
progress: {
|
|
8492
10659
|
sourceRowsRead: number
|
|
8493
10660
|
sourceRowsSkipped: number
|
|
8494
10661
|
}
|
|
8495
|
-
|
|
10662
|
+
queuedAt: string
|
|
10663
|
+
startedAt?: string
|
|
8496
10664
|
finishedAt?: string
|
|
8497
|
-
|
|
10665
|
+
error?: {
|
|
10666
|
+
code:
|
|
10667
|
+
| "internal.unexpected"
|
|
10668
|
+
| "runtime.cancelled"
|
|
10669
|
+
| "queue.enqueue_failed"
|
|
10670
|
+
| "projection.execution_failed"
|
|
10671
|
+
message: string
|
|
10672
|
+
retryable: boolean
|
|
10673
|
+
at: string
|
|
10674
|
+
/**
|
|
10675
|
+
* Any JSON-compatible value.
|
|
10676
|
+
*/
|
|
10677
|
+
details?:
|
|
10678
|
+
| string
|
|
10679
|
+
| number
|
|
10680
|
+
| boolean
|
|
10681
|
+
| Array<unknown>
|
|
10682
|
+
| {
|
|
10683
|
+
[key: string]: unknown
|
|
10684
|
+
}
|
|
10685
|
+
| null
|
|
10686
|
+
truncated?: true
|
|
10687
|
+
}
|
|
8498
10688
|
identity: {
|
|
8499
10689
|
projectionId: string
|
|
8500
10690
|
datasetVersion: {
|
|
@@ -8527,15 +10717,39 @@ export type GetProjectionResponses = {
|
|
|
8527
10717
|
| {
|
|
8528
10718
|
id: string
|
|
8529
10719
|
projectId: string
|
|
8530
|
-
|
|
10720
|
+
executionId: string
|
|
10721
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
8531
10722
|
attempt: number
|
|
8532
10723
|
progress: {
|
|
8533
10724
|
sourceRowsRead: number
|
|
8534
10725
|
sourceRowsSkipped: number
|
|
8535
10726
|
}
|
|
8536
|
-
|
|
10727
|
+
queuedAt: string
|
|
10728
|
+
startedAt?: string
|
|
8537
10729
|
finishedAt?: string
|
|
8538
|
-
|
|
10730
|
+
error?: {
|
|
10731
|
+
code:
|
|
10732
|
+
| "internal.unexpected"
|
|
10733
|
+
| "runtime.cancelled"
|
|
10734
|
+
| "queue.enqueue_failed"
|
|
10735
|
+
| "projection.execution_failed"
|
|
10736
|
+
message: string
|
|
10737
|
+
retryable: boolean
|
|
10738
|
+
at: string
|
|
10739
|
+
/**
|
|
10740
|
+
* Any JSON-compatible value.
|
|
10741
|
+
*/
|
|
10742
|
+
details?:
|
|
10743
|
+
| string
|
|
10744
|
+
| number
|
|
10745
|
+
| boolean
|
|
10746
|
+
| Array<unknown>
|
|
10747
|
+
| {
|
|
10748
|
+
[key: string]: unknown
|
|
10749
|
+
}
|
|
10750
|
+
| null
|
|
10751
|
+
truncated?: true
|
|
10752
|
+
}
|
|
8539
10753
|
identity: {
|
|
8540
10754
|
projectionId: string
|
|
8541
10755
|
datasetVersion: {
|
|
@@ -8556,15 +10770,39 @@ export type GetProjectionResponses = {
|
|
|
8556
10770
|
| {
|
|
8557
10771
|
id: string
|
|
8558
10772
|
projectId: string
|
|
8559
|
-
|
|
10773
|
+
executionId: string
|
|
10774
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
8560
10775
|
attempt: number
|
|
8561
10776
|
progress: {
|
|
8562
10777
|
sourceRowsRead: number
|
|
8563
10778
|
sourceRowsSkipped: number
|
|
8564
10779
|
}
|
|
8565
|
-
|
|
10780
|
+
queuedAt: string
|
|
10781
|
+
startedAt?: string
|
|
8566
10782
|
finishedAt?: string
|
|
8567
|
-
|
|
10783
|
+
error?: {
|
|
10784
|
+
code:
|
|
10785
|
+
| "internal.unexpected"
|
|
10786
|
+
| "runtime.cancelled"
|
|
10787
|
+
| "queue.enqueue_failed"
|
|
10788
|
+
| "projection.execution_failed"
|
|
10789
|
+
message: string
|
|
10790
|
+
retryable: boolean
|
|
10791
|
+
at: string
|
|
10792
|
+
/**
|
|
10793
|
+
* Any JSON-compatible value.
|
|
10794
|
+
*/
|
|
10795
|
+
details?:
|
|
10796
|
+
| string
|
|
10797
|
+
| number
|
|
10798
|
+
| boolean
|
|
10799
|
+
| Array<unknown>
|
|
10800
|
+
| {
|
|
10801
|
+
[key: string]: unknown
|
|
10802
|
+
}
|
|
10803
|
+
| null
|
|
10804
|
+
truncated?: true
|
|
10805
|
+
}
|
|
8568
10806
|
identity: {
|
|
8569
10807
|
projectionId: string
|
|
8570
10808
|
datasetVersion: {
|
|
@@ -8586,15 +10824,39 @@ export type GetProjectionResponses = {
|
|
|
8586
10824
|
| {
|
|
8587
10825
|
id: string
|
|
8588
10826
|
projectId: string
|
|
8589
|
-
|
|
10827
|
+
executionId: string
|
|
10828
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
8590
10829
|
attempt: number
|
|
8591
10830
|
progress: {
|
|
8592
10831
|
sourceRowsRead: number
|
|
8593
10832
|
sourceRowsSkipped: number
|
|
8594
10833
|
}
|
|
8595
|
-
|
|
10834
|
+
queuedAt: string
|
|
10835
|
+
startedAt?: string
|
|
8596
10836
|
finishedAt?: string
|
|
8597
|
-
|
|
10837
|
+
error?: {
|
|
10838
|
+
code:
|
|
10839
|
+
| "internal.unexpected"
|
|
10840
|
+
| "runtime.cancelled"
|
|
10841
|
+
| "queue.enqueue_failed"
|
|
10842
|
+
| "projection.execution_failed"
|
|
10843
|
+
message: string
|
|
10844
|
+
retryable: boolean
|
|
10845
|
+
at: string
|
|
10846
|
+
/**
|
|
10847
|
+
* Any JSON-compatible value.
|
|
10848
|
+
*/
|
|
10849
|
+
details?:
|
|
10850
|
+
| string
|
|
10851
|
+
| number
|
|
10852
|
+
| boolean
|
|
10853
|
+
| Array<unknown>
|
|
10854
|
+
| {
|
|
10855
|
+
[key: string]: unknown
|
|
10856
|
+
}
|
|
10857
|
+
| null
|
|
10858
|
+
truncated?: true
|
|
10859
|
+
}
|
|
8598
10860
|
identity: {
|
|
8599
10861
|
projectionId: string
|
|
8600
10862
|
datasetVersion: {
|
|
@@ -8628,15 +10890,39 @@ export type GetProjectionResponses = {
|
|
|
8628
10890
|
| {
|
|
8629
10891
|
id: string
|
|
8630
10892
|
projectId: string
|
|
8631
|
-
|
|
10893
|
+
executionId: string
|
|
10894
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
8632
10895
|
attempt: number
|
|
8633
10896
|
progress: {
|
|
8634
10897
|
sourceRowsRead: number
|
|
8635
10898
|
sourceRowsSkipped: number
|
|
8636
10899
|
}
|
|
8637
|
-
|
|
10900
|
+
queuedAt: string
|
|
10901
|
+
startedAt?: string
|
|
8638
10902
|
finishedAt?: string
|
|
8639
|
-
|
|
10903
|
+
error?: {
|
|
10904
|
+
code:
|
|
10905
|
+
| "internal.unexpected"
|
|
10906
|
+
| "runtime.cancelled"
|
|
10907
|
+
| "queue.enqueue_failed"
|
|
10908
|
+
| "projection.execution_failed"
|
|
10909
|
+
message: string
|
|
10910
|
+
retryable: boolean
|
|
10911
|
+
at: string
|
|
10912
|
+
/**
|
|
10913
|
+
* Any JSON-compatible value.
|
|
10914
|
+
*/
|
|
10915
|
+
details?:
|
|
10916
|
+
| string
|
|
10917
|
+
| number
|
|
10918
|
+
| boolean
|
|
10919
|
+
| Array<unknown>
|
|
10920
|
+
| {
|
|
10921
|
+
[key: string]: unknown
|
|
10922
|
+
}
|
|
10923
|
+
| null
|
|
10924
|
+
truncated?: true
|
|
10925
|
+
}
|
|
8640
10926
|
identity: {
|
|
8641
10927
|
projectionId: string
|
|
8642
10928
|
datasetVersion: {
|
|
@@ -8657,15 +10943,39 @@ export type GetProjectionResponses = {
|
|
|
8657
10943
|
| {
|
|
8658
10944
|
id: string
|
|
8659
10945
|
projectId: string
|
|
8660
|
-
|
|
10946
|
+
executionId: string
|
|
10947
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
8661
10948
|
attempt: number
|
|
8662
10949
|
progress: {
|
|
8663
10950
|
sourceRowsRead: number
|
|
8664
10951
|
sourceRowsSkipped: number
|
|
8665
10952
|
}
|
|
8666
|
-
|
|
10953
|
+
queuedAt: string
|
|
10954
|
+
startedAt?: string
|
|
8667
10955
|
finishedAt?: string
|
|
8668
|
-
|
|
10956
|
+
error?: {
|
|
10957
|
+
code:
|
|
10958
|
+
| "internal.unexpected"
|
|
10959
|
+
| "runtime.cancelled"
|
|
10960
|
+
| "queue.enqueue_failed"
|
|
10961
|
+
| "projection.execution_failed"
|
|
10962
|
+
message: string
|
|
10963
|
+
retryable: boolean
|
|
10964
|
+
at: string
|
|
10965
|
+
/**
|
|
10966
|
+
* Any JSON-compatible value.
|
|
10967
|
+
*/
|
|
10968
|
+
details?:
|
|
10969
|
+
| string
|
|
10970
|
+
| number
|
|
10971
|
+
| boolean
|
|
10972
|
+
| Array<unknown>
|
|
10973
|
+
| {
|
|
10974
|
+
[key: string]: unknown
|
|
10975
|
+
}
|
|
10976
|
+
| null
|
|
10977
|
+
truncated?: true
|
|
10978
|
+
}
|
|
8669
10979
|
identity: {
|
|
8670
10980
|
projectionId: string
|
|
8671
10981
|
datasetVersion: {
|
|
@@ -8687,15 +10997,39 @@ export type GetProjectionResponses = {
|
|
|
8687
10997
|
| {
|
|
8688
10998
|
id: string
|
|
8689
10999
|
projectId: string
|
|
8690
|
-
|
|
11000
|
+
executionId: string
|
|
11001
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
8691
11002
|
attempt: number
|
|
8692
11003
|
progress: {
|
|
8693
11004
|
sourceRowsRead: number
|
|
8694
11005
|
sourceRowsSkipped: number
|
|
8695
11006
|
}
|
|
8696
|
-
|
|
11007
|
+
queuedAt: string
|
|
11008
|
+
startedAt?: string
|
|
8697
11009
|
finishedAt?: string
|
|
8698
|
-
|
|
11010
|
+
error?: {
|
|
11011
|
+
code:
|
|
11012
|
+
| "internal.unexpected"
|
|
11013
|
+
| "runtime.cancelled"
|
|
11014
|
+
| "queue.enqueue_failed"
|
|
11015
|
+
| "projection.execution_failed"
|
|
11016
|
+
message: string
|
|
11017
|
+
retryable: boolean
|
|
11018
|
+
at: string
|
|
11019
|
+
/**
|
|
11020
|
+
* Any JSON-compatible value.
|
|
11021
|
+
*/
|
|
11022
|
+
details?:
|
|
11023
|
+
| string
|
|
11024
|
+
| number
|
|
11025
|
+
| boolean
|
|
11026
|
+
| Array<unknown>
|
|
11027
|
+
| {
|
|
11028
|
+
[key: string]: unknown
|
|
11029
|
+
}
|
|
11030
|
+
| null
|
|
11031
|
+
truncated?: true
|
|
11032
|
+
}
|
|
8699
11033
|
identity: {
|
|
8700
11034
|
projectionId: string
|
|
8701
11035
|
datasetVersion: {
|
|
@@ -8727,7 +11061,7 @@ export type ListProjectionRunsData = {
|
|
|
8727
11061
|
projectionKind?: "object" | "link" | "telemetry"
|
|
8728
11062
|
datasetId?: string
|
|
8729
11063
|
datasetVersionId?: string
|
|
8730
|
-
status?: "running" | "succeeded" | "failed" | "cancelled"
|
|
11064
|
+
status?: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
8731
11065
|
startedAfter?: string
|
|
8732
11066
|
startedBefore?: string
|
|
8733
11067
|
limit?: string
|
|
@@ -8763,15 +11097,39 @@ export type ListProjectionRunsResponses = {
|
|
|
8763
11097
|
| {
|
|
8764
11098
|
id: string
|
|
8765
11099
|
projectId: string
|
|
8766
|
-
|
|
11100
|
+
executionId: string
|
|
11101
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
8767
11102
|
attempt: number
|
|
8768
11103
|
progress: {
|
|
8769
11104
|
sourceRowsRead: number
|
|
8770
11105
|
sourceRowsSkipped: number
|
|
8771
11106
|
}
|
|
8772
|
-
|
|
11107
|
+
queuedAt: string
|
|
11108
|
+
startedAt?: string
|
|
8773
11109
|
finishedAt?: string
|
|
8774
|
-
|
|
11110
|
+
error?: {
|
|
11111
|
+
code:
|
|
11112
|
+
| "internal.unexpected"
|
|
11113
|
+
| "runtime.cancelled"
|
|
11114
|
+
| "queue.enqueue_failed"
|
|
11115
|
+
| "projection.execution_failed"
|
|
11116
|
+
message: string
|
|
11117
|
+
retryable: boolean
|
|
11118
|
+
at: string
|
|
11119
|
+
/**
|
|
11120
|
+
* Any JSON-compatible value.
|
|
11121
|
+
*/
|
|
11122
|
+
details?:
|
|
11123
|
+
| string
|
|
11124
|
+
| number
|
|
11125
|
+
| boolean
|
|
11126
|
+
| Array<unknown>
|
|
11127
|
+
| {
|
|
11128
|
+
[key: string]: unknown
|
|
11129
|
+
}
|
|
11130
|
+
| null
|
|
11131
|
+
truncated?: true
|
|
11132
|
+
}
|
|
8775
11133
|
identity: {
|
|
8776
11134
|
projectionId: string
|
|
8777
11135
|
datasetVersion: {
|
|
@@ -8792,15 +11150,39 @@ export type ListProjectionRunsResponses = {
|
|
|
8792
11150
|
| {
|
|
8793
11151
|
id: string
|
|
8794
11152
|
projectId: string
|
|
8795
|
-
|
|
11153
|
+
executionId: string
|
|
11154
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
8796
11155
|
attempt: number
|
|
8797
11156
|
progress: {
|
|
8798
11157
|
sourceRowsRead: number
|
|
8799
11158
|
sourceRowsSkipped: number
|
|
8800
11159
|
}
|
|
8801
|
-
|
|
11160
|
+
queuedAt: string
|
|
11161
|
+
startedAt?: string
|
|
8802
11162
|
finishedAt?: string
|
|
8803
|
-
|
|
11163
|
+
error?: {
|
|
11164
|
+
code:
|
|
11165
|
+
| "internal.unexpected"
|
|
11166
|
+
| "runtime.cancelled"
|
|
11167
|
+
| "queue.enqueue_failed"
|
|
11168
|
+
| "projection.execution_failed"
|
|
11169
|
+
message: string
|
|
11170
|
+
retryable: boolean
|
|
11171
|
+
at: string
|
|
11172
|
+
/**
|
|
11173
|
+
* Any JSON-compatible value.
|
|
11174
|
+
*/
|
|
11175
|
+
details?:
|
|
11176
|
+
| string
|
|
11177
|
+
| number
|
|
11178
|
+
| boolean
|
|
11179
|
+
| Array<unknown>
|
|
11180
|
+
| {
|
|
11181
|
+
[key: string]: unknown
|
|
11182
|
+
}
|
|
11183
|
+
| null
|
|
11184
|
+
truncated?: true
|
|
11185
|
+
}
|
|
8804
11186
|
identity: {
|
|
8805
11187
|
projectionId: string
|
|
8806
11188
|
datasetVersion: {
|
|
@@ -8822,15 +11204,39 @@ export type ListProjectionRunsResponses = {
|
|
|
8822
11204
|
| {
|
|
8823
11205
|
id: string
|
|
8824
11206
|
projectId: string
|
|
8825
|
-
|
|
11207
|
+
executionId: string
|
|
11208
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
8826
11209
|
attempt: number
|
|
8827
11210
|
progress: {
|
|
8828
11211
|
sourceRowsRead: number
|
|
8829
11212
|
sourceRowsSkipped: number
|
|
8830
11213
|
}
|
|
8831
|
-
|
|
11214
|
+
queuedAt: string
|
|
11215
|
+
startedAt?: string
|
|
8832
11216
|
finishedAt?: string
|
|
8833
|
-
|
|
11217
|
+
error?: {
|
|
11218
|
+
code:
|
|
11219
|
+
| "internal.unexpected"
|
|
11220
|
+
| "runtime.cancelled"
|
|
11221
|
+
| "queue.enqueue_failed"
|
|
11222
|
+
| "projection.execution_failed"
|
|
11223
|
+
message: string
|
|
11224
|
+
retryable: boolean
|
|
11225
|
+
at: string
|
|
11226
|
+
/**
|
|
11227
|
+
* Any JSON-compatible value.
|
|
11228
|
+
*/
|
|
11229
|
+
details?:
|
|
11230
|
+
| string
|
|
11231
|
+
| number
|
|
11232
|
+
| boolean
|
|
11233
|
+
| Array<unknown>
|
|
11234
|
+
| {
|
|
11235
|
+
[key: string]: unknown
|
|
11236
|
+
}
|
|
11237
|
+
| null
|
|
11238
|
+
truncated?: true
|
|
11239
|
+
}
|
|
8834
11240
|
identity: {
|
|
8835
11241
|
projectionId: string
|
|
8836
11242
|
datasetVersion: {
|
|
@@ -8897,15 +11303,39 @@ export type GetProjectionRunResponses = {
|
|
|
8897
11303
|
| {
|
|
8898
11304
|
id: string
|
|
8899
11305
|
projectId: string
|
|
8900
|
-
|
|
11306
|
+
executionId: string
|
|
11307
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
8901
11308
|
attempt: number
|
|
8902
11309
|
progress: {
|
|
8903
11310
|
sourceRowsRead: number
|
|
8904
11311
|
sourceRowsSkipped: number
|
|
8905
11312
|
}
|
|
8906
|
-
|
|
11313
|
+
queuedAt: string
|
|
11314
|
+
startedAt?: string
|
|
8907
11315
|
finishedAt?: string
|
|
8908
|
-
|
|
11316
|
+
error?: {
|
|
11317
|
+
code:
|
|
11318
|
+
| "internal.unexpected"
|
|
11319
|
+
| "runtime.cancelled"
|
|
11320
|
+
| "queue.enqueue_failed"
|
|
11321
|
+
| "projection.execution_failed"
|
|
11322
|
+
message: string
|
|
11323
|
+
retryable: boolean
|
|
11324
|
+
at: string
|
|
11325
|
+
/**
|
|
11326
|
+
* Any JSON-compatible value.
|
|
11327
|
+
*/
|
|
11328
|
+
details?:
|
|
11329
|
+
| string
|
|
11330
|
+
| number
|
|
11331
|
+
| boolean
|
|
11332
|
+
| Array<unknown>
|
|
11333
|
+
| {
|
|
11334
|
+
[key: string]: unknown
|
|
11335
|
+
}
|
|
11336
|
+
| null
|
|
11337
|
+
truncated?: true
|
|
11338
|
+
}
|
|
8909
11339
|
identity: {
|
|
8910
11340
|
projectionId: string
|
|
8911
11341
|
datasetVersion: {
|
|
@@ -8926,15 +11356,39 @@ export type GetProjectionRunResponses = {
|
|
|
8926
11356
|
| {
|
|
8927
11357
|
id: string
|
|
8928
11358
|
projectId: string
|
|
8929
|
-
|
|
11359
|
+
executionId: string
|
|
11360
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
8930
11361
|
attempt: number
|
|
8931
11362
|
progress: {
|
|
8932
11363
|
sourceRowsRead: number
|
|
8933
11364
|
sourceRowsSkipped: number
|
|
8934
11365
|
}
|
|
8935
|
-
|
|
11366
|
+
queuedAt: string
|
|
11367
|
+
startedAt?: string
|
|
8936
11368
|
finishedAt?: string
|
|
8937
|
-
|
|
11369
|
+
error?: {
|
|
11370
|
+
code:
|
|
11371
|
+
| "internal.unexpected"
|
|
11372
|
+
| "runtime.cancelled"
|
|
11373
|
+
| "queue.enqueue_failed"
|
|
11374
|
+
| "projection.execution_failed"
|
|
11375
|
+
message: string
|
|
11376
|
+
retryable: boolean
|
|
11377
|
+
at: string
|
|
11378
|
+
/**
|
|
11379
|
+
* Any JSON-compatible value.
|
|
11380
|
+
*/
|
|
11381
|
+
details?:
|
|
11382
|
+
| string
|
|
11383
|
+
| number
|
|
11384
|
+
| boolean
|
|
11385
|
+
| Array<unknown>
|
|
11386
|
+
| {
|
|
11387
|
+
[key: string]: unknown
|
|
11388
|
+
}
|
|
11389
|
+
| null
|
|
11390
|
+
truncated?: true
|
|
11391
|
+
}
|
|
8938
11392
|
identity: {
|
|
8939
11393
|
projectionId: string
|
|
8940
11394
|
datasetVersion: {
|
|
@@ -8956,15 +11410,39 @@ export type GetProjectionRunResponses = {
|
|
|
8956
11410
|
| {
|
|
8957
11411
|
id: string
|
|
8958
11412
|
projectId: string
|
|
8959
|
-
|
|
11413
|
+
executionId: string
|
|
11414
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
8960
11415
|
attempt: number
|
|
8961
11416
|
progress: {
|
|
8962
11417
|
sourceRowsRead: number
|
|
8963
11418
|
sourceRowsSkipped: number
|
|
8964
11419
|
}
|
|
8965
|
-
|
|
11420
|
+
queuedAt: string
|
|
11421
|
+
startedAt?: string
|
|
8966
11422
|
finishedAt?: string
|
|
8967
|
-
|
|
11423
|
+
error?: {
|
|
11424
|
+
code:
|
|
11425
|
+
| "internal.unexpected"
|
|
11426
|
+
| "runtime.cancelled"
|
|
11427
|
+
| "queue.enqueue_failed"
|
|
11428
|
+
| "projection.execution_failed"
|
|
11429
|
+
message: string
|
|
11430
|
+
retryable: boolean
|
|
11431
|
+
at: string
|
|
11432
|
+
/**
|
|
11433
|
+
* Any JSON-compatible value.
|
|
11434
|
+
*/
|
|
11435
|
+
details?:
|
|
11436
|
+
| string
|
|
11437
|
+
| number
|
|
11438
|
+
| boolean
|
|
11439
|
+
| Array<unknown>
|
|
11440
|
+
| {
|
|
11441
|
+
[key: string]: unknown
|
|
11442
|
+
}
|
|
11443
|
+
| null
|
|
11444
|
+
truncated?: true
|
|
11445
|
+
}
|
|
8968
11446
|
identity: {
|
|
8969
11447
|
projectionId: string
|
|
8970
11448
|
datasetVersion: {
|
|
@@ -8992,7 +11470,7 @@ export type ListWebhookRunsData = {
|
|
|
8992
11470
|
query?: {
|
|
8993
11471
|
connectorId?: string
|
|
8994
11472
|
webhookId?: string
|
|
8995
|
-
status?: "running" | "succeeded" | "failed"
|
|
11473
|
+
status?: "running" | "succeeded" | "failed"
|
|
8996
11474
|
idempotencyKey?: string
|
|
8997
11475
|
startedAfter?: string
|
|
8998
11476
|
startedBefore?: string
|
|
@@ -9028,18 +11506,36 @@ export type ListWebhookRunsResponses = {
|
|
|
9028
11506
|
runs: Array<{
|
|
9029
11507
|
id: string
|
|
9030
11508
|
projectId: string
|
|
11509
|
+
executionId: string
|
|
9031
11510
|
connectorId: string
|
|
9032
11511
|
webhookId: string
|
|
9033
|
-
status: "running" | "succeeded" | "failed"
|
|
11512
|
+
status: "running" | "succeeded" | "failed"
|
|
9034
11513
|
method: string
|
|
9035
11514
|
route: string
|
|
9036
11515
|
startedAt: string
|
|
9037
11516
|
finishedAt?: string
|
|
9038
|
-
requestBodyBytes
|
|
11517
|
+
requestBodyBytes: number
|
|
9039
11518
|
responseStatus?: number
|
|
9040
11519
|
idempotencyKey?: string
|
|
9041
|
-
|
|
9042
|
-
|
|
11520
|
+
error?: {
|
|
11521
|
+
code: "internal.unexpected" | "webhook.delivery_failed" | "webhook.delivery_rejected"
|
|
11522
|
+
message: string
|
|
11523
|
+
retryable: boolean
|
|
11524
|
+
at: string
|
|
11525
|
+
/**
|
|
11526
|
+
* Any JSON-compatible value.
|
|
11527
|
+
*/
|
|
11528
|
+
details?:
|
|
11529
|
+
| string
|
|
11530
|
+
| number
|
|
11531
|
+
| boolean
|
|
11532
|
+
| Array<unknown>
|
|
11533
|
+
| {
|
|
11534
|
+
[key: string]: unknown
|
|
11535
|
+
}
|
|
11536
|
+
| null
|
|
11537
|
+
truncated?: true
|
|
11538
|
+
}
|
|
9043
11539
|
}>
|
|
9044
11540
|
hasMore: boolean
|
|
9045
11541
|
total: number
|