@sixb/client 0.1.1 → 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-2vsyqn32.js → chunk-5vp5zr0d.js} +1 -1
- package/dist/{chunk-1mnf48s9.js → chunk-ctf97s25.js} +2 -2
- package/dist/{chunk-w527w02k.js → chunk-mpgzkmwc.js} +2 -74
- package/dist/chunk-mpgzkmwc.js.map +10 -0
- package/dist/{chunk-h8bd95xf.js → chunk-skkt217g.js} +50 -2
- package/dist/chunk-skkt217g.js.map +19 -0
- package/dist/{chunk-hkrfakyt.js → chunk-tsdnw994.js} +2 -2
- package/dist/{chunk-dkd2wgva.js → chunk-v4jdc1nb.js} +40 -28
- package/dist/{chunk-dkd2wgva.js.map → chunk-v4jdc1nb.js.map} +3 -3
- package/dist/{chunk-6w5w9e75.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 +3508 -735
- 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 +1819 -198
- 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 +160 -0
- package/src/generated/types.gen.ts +2417 -230
- 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-6w5w9e75.js.map +0 -10
- package/dist/chunk-h8bd95xf.js.map +0 -19
- package/dist/chunk-w527w02k.js.map +0 -10
- /package/dist/{chunk-2vsyqn32.js.map → chunk-5vp5zr0d.js.map} +0 -0
- /package/dist/{chunk-1mnf48s9.js.map → chunk-ctf97s25.js.map} +0 -0
- /package/dist/{chunk-hkrfakyt.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
|
|
@@ -1671,48 +1674,1160 @@ export type ListConnectorsResponses = {
|
|
|
1671
1674
|
}>
|
|
1672
1675
|
}
|
|
1673
1676
|
|
|
1674
|
-
export type ListConnectorsResponse = ListConnectorsResponses[keyof ListConnectorsResponses]
|
|
1677
|
+
export type ListConnectorsResponse = ListConnectorsResponses[keyof ListConnectorsResponses]
|
|
1678
|
+
|
|
1679
|
+
export type GetConnectorData = {
|
|
1680
|
+
body?: never
|
|
1681
|
+
path: {
|
|
1682
|
+
connectorId: string
|
|
1683
|
+
}
|
|
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]
|
|
1675
2366
|
|
|
1676
|
-
export type
|
|
1677
|
-
|
|
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
|
+
}
|
|
1678
2511
|
path: {
|
|
1679
2512
|
connectorId: string
|
|
2513
|
+
runId: string
|
|
1680
2514
|
}
|
|
1681
2515
|
query?: never
|
|
1682
|
-
url: "/api/connectors/{connectorId}"
|
|
2516
|
+
url: "/api/connectors/{connectorId}/connection-runs/{runId}/selection"
|
|
1683
2517
|
}
|
|
1684
2518
|
|
|
1685
|
-
export type
|
|
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
|
+
}
|
|
1686
2536
|
/**
|
|
1687
2537
|
* Response for status 404
|
|
1688
2538
|
*/
|
|
1689
2539
|
404: {
|
|
1690
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"
|
|
1691
2570
|
}
|
|
1692
2571
|
}
|
|
1693
2572
|
|
|
1694
|
-
export type
|
|
2573
|
+
export type SelectConnectorConnectionRunAccountError =
|
|
2574
|
+
SelectConnectorConnectionRunAccountErrors[keyof SelectConnectorConnectionRunAccountErrors]
|
|
1695
2575
|
|
|
1696
|
-
export type
|
|
2576
|
+
export type SelectConnectorConnectionRunAccountResponses = {
|
|
1697
2577
|
/**
|
|
1698
2578
|
* Response for status 200
|
|
1699
2579
|
*/
|
|
1700
|
-
200:
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
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
|
+
}
|
|
2789
|
+
/**
|
|
2790
|
+
* Response for status 503
|
|
2791
|
+
*/
|
|
2792
|
+
503: {
|
|
2793
|
+
error: string
|
|
2794
|
+
/**
|
|
2795
|
+
* Stable machine-readable failure code for programmatic handling.
|
|
2796
|
+
*/
|
|
2797
|
+
code?: "connector.credentials_unavailable" | "connector.provider_unavailable"
|
|
2798
|
+
}
|
|
2799
|
+
}
|
|
2800
|
+
|
|
2801
|
+
export type ReauthorizeConnectorConnectionError =
|
|
2802
|
+
ReauthorizeConnectorConnectionErrors[keyof ReauthorizeConnectorConnectionErrors]
|
|
2803
|
+
|
|
2804
|
+
export type ReauthorizeConnectorConnectionResponses = {
|
|
2805
|
+
/**
|
|
2806
|
+
* Response for status 201
|
|
2807
|
+
*/
|
|
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
|
|
@@ -1796,6 +2911,10 @@ export type GetDatasetErrors = {
|
|
|
1796
2911
|
*/
|
|
1797
2912
|
404: {
|
|
1798
2913
|
error: string
|
|
2914
|
+
/**
|
|
2915
|
+
* Stable machine-readable failure code for programmatic handling.
|
|
2916
|
+
*/
|
|
2917
|
+
code: "dataset.not_found"
|
|
1799
2918
|
}
|
|
1800
2919
|
}
|
|
1801
2920
|
|
|
@@ -1867,6 +2986,10 @@ export type ListDatasetVersionsErrors = {
|
|
|
1867
2986
|
*/
|
|
1868
2987
|
404: {
|
|
1869
2988
|
error: string
|
|
2989
|
+
/**
|
|
2990
|
+
* Stable machine-readable failure code for programmatic handling.
|
|
2991
|
+
*/
|
|
2992
|
+
code: "dataset.not_found"
|
|
1870
2993
|
}
|
|
1871
2994
|
}
|
|
1872
2995
|
|
|
@@ -1940,6 +3063,10 @@ export type GetDatasetVersionErrors = {
|
|
|
1940
3063
|
*/
|
|
1941
3064
|
404: {
|
|
1942
3065
|
error: string
|
|
3066
|
+
/**
|
|
3067
|
+
* Stable machine-readable failure code for programmatic handling.
|
|
3068
|
+
*/
|
|
3069
|
+
code: "dataset.not_found" | "dataset.version_not_found"
|
|
1943
3070
|
}
|
|
1944
3071
|
}
|
|
1945
3072
|
|
|
@@ -2013,6 +3140,10 @@ export type ListDatasetRowsErrors = {
|
|
|
2013
3140
|
*/
|
|
2014
3141
|
404: {
|
|
2015
3142
|
error: string
|
|
3143
|
+
/**
|
|
3144
|
+
* Stable machine-readable failure code for programmatic handling.
|
|
3145
|
+
*/
|
|
3146
|
+
code: "dataset.not_found" | "dataset.version_not_found"
|
|
2016
3147
|
}
|
|
2017
3148
|
}
|
|
2018
3149
|
|
|
@@ -2126,8 +3257,9 @@ export type ListSyncsResponses = {
|
|
|
2126
3257
|
syncId: string
|
|
2127
3258
|
datasetId: string
|
|
2128
3259
|
mode: "snapshot" | "append" | "merge"
|
|
2129
|
-
status: "running" | "succeeded" | "failed" | "cancelled"
|
|
2130
|
-
|
|
3260
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
3261
|
+
queuedAt: string
|
|
3262
|
+
startedAt?: string
|
|
2131
3263
|
finishedAt?: string
|
|
2132
3264
|
rowsRead?: number
|
|
2133
3265
|
output?: {
|
|
@@ -2137,8 +3269,27 @@ export type ListSyncsResponses = {
|
|
|
2137
3269
|
expectedLatestVersionId?: string
|
|
2138
3270
|
commitMessage?: string
|
|
2139
3271
|
error?: {
|
|
2140
|
-
|
|
3272
|
+
code:
|
|
3273
|
+
| "internal.unexpected"
|
|
3274
|
+
| "runtime.cancelled"
|
|
3275
|
+
| "queue.enqueue_failed"
|
|
3276
|
+
| "sync.execution_failed"
|
|
2141
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
|
|
2142
3293
|
}
|
|
2143
3294
|
} | null
|
|
2144
3295
|
}>
|
|
@@ -2212,8 +3363,9 @@ export type GetSyncResponses = {
|
|
|
2212
3363
|
syncId: string
|
|
2213
3364
|
datasetId: string
|
|
2214
3365
|
mode: "snapshot" | "append" | "merge"
|
|
2215
|
-
status: "running" | "succeeded" | "failed" | "cancelled"
|
|
2216
|
-
|
|
3366
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
3367
|
+
queuedAt: string
|
|
3368
|
+
startedAt?: string
|
|
2217
3369
|
finishedAt?: string
|
|
2218
3370
|
rowsRead?: number
|
|
2219
3371
|
output?: {
|
|
@@ -2223,8 +3375,27 @@ export type GetSyncResponses = {
|
|
|
2223
3375
|
expectedLatestVersionId?: string
|
|
2224
3376
|
commitMessage?: string
|
|
2225
3377
|
error?: {
|
|
2226
|
-
|
|
3378
|
+
code:
|
|
3379
|
+
| "internal.unexpected"
|
|
3380
|
+
| "runtime.cancelled"
|
|
3381
|
+
| "queue.enqueue_failed"
|
|
3382
|
+
| "sync.execution_failed"
|
|
2227
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
|
|
2228
3399
|
}
|
|
2229
3400
|
} | null
|
|
2230
3401
|
}
|
|
@@ -2238,7 +3409,7 @@ export type ListSyncRunsData = {
|
|
|
2238
3409
|
query?: {
|
|
2239
3410
|
syncId?: string
|
|
2240
3411
|
datasetId?: string
|
|
2241
|
-
status?: "running" | "succeeded" | "failed" | "cancelled"
|
|
3412
|
+
status?: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
2242
3413
|
startedAfter?: string
|
|
2243
3414
|
startedBefore?: string
|
|
2244
3415
|
limit?: string
|
|
@@ -2276,8 +3447,9 @@ export type ListSyncRunsResponses = {
|
|
|
2276
3447
|
syncId: string
|
|
2277
3448
|
datasetId: string
|
|
2278
3449
|
mode: "snapshot" | "append" | "merge"
|
|
2279
|
-
status: "running" | "succeeded" | "failed" | "cancelled"
|
|
2280
|
-
|
|
3450
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
3451
|
+
queuedAt: string
|
|
3452
|
+
startedAt?: string
|
|
2281
3453
|
finishedAt?: string
|
|
2282
3454
|
rowsRead?: number
|
|
2283
3455
|
output?: {
|
|
@@ -2287,8 +3459,27 @@ export type ListSyncRunsResponses = {
|
|
|
2287
3459
|
expectedLatestVersionId?: string
|
|
2288
3460
|
commitMessage?: string
|
|
2289
3461
|
error?: {
|
|
2290
|
-
|
|
3462
|
+
code:
|
|
3463
|
+
| "internal.unexpected"
|
|
3464
|
+
| "runtime.cancelled"
|
|
3465
|
+
| "queue.enqueue_failed"
|
|
3466
|
+
| "sync.execution_failed"
|
|
2291
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
|
|
2292
3483
|
}
|
|
2293
3484
|
}>
|
|
2294
3485
|
hasMore: boolean
|
|
@@ -2433,16 +3624,36 @@ export type ListPipelinesResponses = {
|
|
|
2433
3624
|
id: string
|
|
2434
3625
|
projectId: string
|
|
2435
3626
|
pipelineId: string
|
|
2436
|
-
status: "running" | "succeeded" | "failed" | "cancelled"
|
|
2437
|
-
|
|
3627
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
3628
|
+
queuedAt: string
|
|
3629
|
+
startedAt?: string
|
|
2438
3630
|
finishedAt?: string
|
|
2439
3631
|
output?: {
|
|
2440
3632
|
datasetId: string
|
|
2441
3633
|
versionId: string
|
|
2442
3634
|
}
|
|
2443
3635
|
error?: {
|
|
2444
|
-
|
|
3636
|
+
code:
|
|
3637
|
+
| "internal.unexpected"
|
|
3638
|
+
| "runtime.cancelled"
|
|
3639
|
+
| "queue.enqueue_failed"
|
|
3640
|
+
| "pipeline.step_failed"
|
|
2445
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
|
|
2446
3657
|
}
|
|
2447
3658
|
} | null
|
|
2448
3659
|
}>
|
|
@@ -2549,16 +3760,36 @@ export type GetPipelineResponses = {
|
|
|
2549
3760
|
id: string
|
|
2550
3761
|
projectId: string
|
|
2551
3762
|
pipelineId: string
|
|
2552
|
-
status: "running" | "succeeded" | "failed" | "cancelled"
|
|
2553
|
-
|
|
3763
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
3764
|
+
queuedAt: string
|
|
3765
|
+
startedAt?: string
|
|
2554
3766
|
finishedAt?: string
|
|
2555
3767
|
output?: {
|
|
2556
3768
|
datasetId: string
|
|
2557
3769
|
versionId: string
|
|
2558
3770
|
}
|
|
2559
3771
|
error?: {
|
|
2560
|
-
|
|
3772
|
+
code:
|
|
3773
|
+
| "internal.unexpected"
|
|
3774
|
+
| "runtime.cancelled"
|
|
3775
|
+
| "queue.enqueue_failed"
|
|
3776
|
+
| "pipeline.step_failed"
|
|
2561
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
|
|
2562
3793
|
}
|
|
2563
3794
|
} | null
|
|
2564
3795
|
}
|
|
@@ -2571,7 +3802,7 @@ export type ListPipelineRunsData = {
|
|
|
2571
3802
|
path?: never
|
|
2572
3803
|
query?: {
|
|
2573
3804
|
pipelineId?: string
|
|
2574
|
-
status?: "running" | "succeeded" | "failed" | "cancelled"
|
|
3805
|
+
status?: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
2575
3806
|
startedAfter?: string
|
|
2576
3807
|
startedBefore?: string
|
|
2577
3808
|
limit?: string
|
|
@@ -2607,16 +3838,36 @@ export type ListPipelineRunsResponses = {
|
|
|
2607
3838
|
id: string
|
|
2608
3839
|
projectId: string
|
|
2609
3840
|
pipelineId: string
|
|
2610
|
-
status: "running" | "succeeded" | "failed" | "cancelled"
|
|
2611
|
-
|
|
3841
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
3842
|
+
queuedAt: string
|
|
3843
|
+
startedAt?: string
|
|
2612
3844
|
finishedAt?: string
|
|
2613
3845
|
output?: {
|
|
2614
3846
|
datasetId: string
|
|
2615
3847
|
versionId: string
|
|
2616
3848
|
}
|
|
2617
3849
|
error?: {
|
|
2618
|
-
|
|
3850
|
+
code:
|
|
3851
|
+
| "internal.unexpected"
|
|
3852
|
+
| "runtime.cancelled"
|
|
3853
|
+
| "queue.enqueue_failed"
|
|
3854
|
+
| "pipeline.step_failed"
|
|
2619
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
|
|
2620
3871
|
}
|
|
2621
3872
|
}>
|
|
2622
3873
|
hasMore: boolean
|
|
@@ -2667,16 +3918,36 @@ export type GetPipelineRunResponses = {
|
|
|
2667
3918
|
id: string
|
|
2668
3919
|
projectId: string
|
|
2669
3920
|
pipelineId: string
|
|
2670
|
-
status: "running" | "succeeded" | "failed" | "cancelled"
|
|
2671
|
-
|
|
3921
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
3922
|
+
queuedAt: string
|
|
3923
|
+
startedAt?: string
|
|
2672
3924
|
finishedAt?: string
|
|
2673
3925
|
output?: {
|
|
2674
3926
|
datasetId: string
|
|
2675
3927
|
versionId: string
|
|
2676
3928
|
}
|
|
2677
3929
|
error?: {
|
|
2678
|
-
|
|
3930
|
+
code:
|
|
3931
|
+
| "internal.unexpected"
|
|
3932
|
+
| "runtime.cancelled"
|
|
3933
|
+
| "queue.enqueue_failed"
|
|
3934
|
+
| "pipeline.step_failed"
|
|
2679
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
|
|
2680
3951
|
}
|
|
2681
3952
|
}
|
|
2682
3953
|
steps: Array<{
|
|
@@ -2700,8 +3971,27 @@ export type GetPipelineRunResponses = {
|
|
|
2700
3971
|
}
|
|
2701
3972
|
rowsWritten?: number
|
|
2702
3973
|
error?: {
|
|
2703
|
-
|
|
3974
|
+
code:
|
|
3975
|
+
| "internal.unexpected"
|
|
3976
|
+
| "runtime.cancelled"
|
|
3977
|
+
| "queue.enqueue_failed"
|
|
3978
|
+
| "pipeline.step_failed"
|
|
2704
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
|
|
2705
3995
|
}
|
|
2706
3996
|
}>
|
|
2707
3997
|
}
|
|
@@ -2894,7 +4184,25 @@ export type ListWorkflowsResponses = {
|
|
|
2894
4184
|
queuedAt?: string
|
|
2895
4185
|
startedAt: string
|
|
2896
4186
|
finishedAt?: string
|
|
2897
|
-
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
|
+
}
|
|
2898
4206
|
requestedBy: {
|
|
2899
4207
|
principalType: "user" | "serviceAccount" | "system"
|
|
2900
4208
|
principalId: string
|
|
@@ -3056,7 +4364,25 @@ export type GetWorkflowResponses = {
|
|
|
3056
4364
|
queuedAt?: string
|
|
3057
4365
|
startedAt: string
|
|
3058
4366
|
finishedAt?: string
|
|
3059
|
-
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
|
+
}
|
|
3060
4386
|
requestedBy: {
|
|
3061
4387
|
principalType: "user" | "serviceAccount" | "system"
|
|
3062
4388
|
principalId: string
|
|
@@ -3540,7 +4866,25 @@ export type ListWorkflowRunsResponses = {
|
|
|
3540
4866
|
queuedAt?: string
|
|
3541
4867
|
startedAt: string
|
|
3542
4868
|
finishedAt?: string
|
|
3543
|
-
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
|
+
}
|
|
3544
4888
|
requestedBy: {
|
|
3545
4889
|
principalType: "user" | "serviceAccount" | "system"
|
|
3546
4890
|
principalId: string
|
|
@@ -3598,7 +4942,25 @@ export type GetWorkflowRunResponses = {
|
|
|
3598
4942
|
queuedAt?: string
|
|
3599
4943
|
startedAt: string
|
|
3600
4944
|
finishedAt?: string
|
|
3601
|
-
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
|
+
}
|
|
3602
4964
|
requestedBy: {
|
|
3603
4965
|
principalType: "user" | "serviceAccount" | "system"
|
|
3604
4966
|
principalId: string
|
|
@@ -3660,7 +5022,25 @@ export type GetWorkflowRunResponses = {
|
|
|
3660
5022
|
}
|
|
3661
5023
|
| null
|
|
3662
5024
|
}
|
|
3663
|
-
error?:
|
|
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
|
|
5043
|
+
}
|
|
3664
5044
|
agentExecution?: {
|
|
3665
5045
|
agentId: string
|
|
3666
5046
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
@@ -3668,7 +5048,15 @@ export type GetWorkflowRunResponses = {
|
|
|
3668
5048
|
modelId?: string
|
|
3669
5049
|
finishReason?: string
|
|
3670
5050
|
usage?: {
|
|
3671
|
-
|
|
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"
|
|
3672
5060
|
}
|
|
3673
5061
|
startedAt?: string
|
|
3674
5062
|
completedAt?: string
|
|
@@ -3724,19 +5112,41 @@ export type GetWorkflowAgentNodeExecutionResponses = {
|
|
|
3724
5112
|
modelId?: string
|
|
3725
5113
|
finishReason?: string
|
|
3726
5114
|
usage?: {
|
|
3727
|
-
|
|
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"
|
|
3728
5124
|
}
|
|
3729
5125
|
startedAt?: string
|
|
3730
5126
|
completedAt?: string
|
|
3731
5127
|
nodeRunId: string
|
|
3732
5128
|
prompt: string
|
|
3733
|
-
executionPrincipal?: {
|
|
3734
|
-
principalType: "user" | "serviceAccount" | "system"
|
|
3735
|
-
principalId: string
|
|
3736
|
-
}
|
|
3737
5129
|
trace?: Array<unknown>
|
|
3738
5130
|
diagnostics?: Array<unknown>
|
|
3739
|
-
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
|
+
}
|
|
3740
5150
|
createdAt: string
|
|
3741
5151
|
}
|
|
3742
5152
|
}
|
|
@@ -3791,7 +5201,25 @@ export type CancelWorkflowRunResponses = {
|
|
|
3791
5201
|
queuedAt?: string
|
|
3792
5202
|
startedAt: string
|
|
3793
5203
|
finishedAt?: string
|
|
3794
|
-
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
|
+
}
|
|
3795
5223
|
requestedBy: {
|
|
3796
5224
|
principalType: "user" | "serviceAccount" | "system"
|
|
3797
5225
|
principalId: string
|
|
@@ -3853,7 +5281,25 @@ export type CancelWorkflowRunResponses = {
|
|
|
3853
5281
|
}
|
|
3854
5282
|
| null
|
|
3855
5283
|
}
|
|
3856
|
-
error?:
|
|
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
|
|
5302
|
+
}
|
|
3857
5303
|
agentExecution?: {
|
|
3858
5304
|
agentId: string
|
|
3859
5305
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
@@ -3861,7 +5307,15 @@ export type CancelWorkflowRunResponses = {
|
|
|
3861
5307
|
modelId?: string
|
|
3862
5308
|
finishReason?: string
|
|
3863
5309
|
usage?: {
|
|
3864
|
-
|
|
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"
|
|
3865
5319
|
}
|
|
3866
5320
|
startedAt?: string
|
|
3867
5321
|
completedAt?: string
|
|
@@ -5588,17 +7042,28 @@ export type ListActionRunsResponses = {
|
|
|
5588
7042
|
startedAt?: string
|
|
5589
7043
|
finishedAt?: string
|
|
5590
7044
|
error?: {
|
|
5591
|
-
|
|
7045
|
+
code:
|
|
7046
|
+
| "internal.unexpected"
|
|
7047
|
+
| "runtime.cancelled"
|
|
7048
|
+
| "queue.enqueue_failed"
|
|
7049
|
+
| "action.phase_failed"
|
|
5592
7050
|
message: string
|
|
5593
|
-
|
|
5594
|
-
|
|
5595
|
-
|
|
5596
|
-
|
|
5597
|
-
|
|
5598
|
-
|
|
5599
|
-
|
|
5600
|
-
|
|
5601
|
-
|
|
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
|
|
5602
7067
|
}
|
|
5603
7068
|
}>
|
|
5604
7069
|
hasMore: boolean
|
|
@@ -5671,29 +7136,18 @@ export type GetActionRunResponses = {
|
|
|
5671
7136
|
startedAt?: string
|
|
5672
7137
|
finishedAt?: string
|
|
5673
7138
|
error?: {
|
|
5674
|
-
|
|
7139
|
+
code:
|
|
7140
|
+
| "internal.unexpected"
|
|
7141
|
+
| "runtime.cancelled"
|
|
7142
|
+
| "queue.enqueue_failed"
|
|
7143
|
+
| "action.phase_failed"
|
|
5675
7144
|
message: string
|
|
5676
|
-
|
|
5677
|
-
|
|
5678
|
-
|
|
5679
|
-
|
|
5680
|
-
|
|
5681
|
-
|
|
5682
|
-
| "commit"
|
|
5683
|
-
| "effects"
|
|
5684
|
-
| "cancelled"
|
|
5685
|
-
}
|
|
5686
|
-
params: {
|
|
5687
|
-
[key: string]: unknown
|
|
5688
|
-
}
|
|
5689
|
-
writeback?: {
|
|
5690
|
-
status: "succeeded" | "failed"
|
|
5691
|
-
completedAt: string
|
|
5692
|
-
result?: unknown
|
|
5693
|
-
error?: {
|
|
5694
|
-
name?: string
|
|
5695
|
-
message: string
|
|
5696
|
-
phase?:
|
|
7145
|
+
retryable: boolean
|
|
7146
|
+
at: string
|
|
7147
|
+
details: {
|
|
7148
|
+
actionId: string
|
|
7149
|
+
runId: string
|
|
7150
|
+
phase:
|
|
5697
7151
|
| "request"
|
|
5698
7152
|
| "enqueue"
|
|
5699
7153
|
| "validation"
|
|
@@ -5703,24 +7157,73 @@ export type GetActionRunResponses = {
|
|
|
5703
7157
|
| "effects"
|
|
5704
7158
|
| "cancelled"
|
|
5705
7159
|
}
|
|
7160
|
+
truncated?: true
|
|
5706
7161
|
}
|
|
5707
|
-
|
|
5708
|
-
|
|
5709
|
-
completedAt: string
|
|
5710
|
-
error?: {
|
|
5711
|
-
name?: string
|
|
5712
|
-
message: string
|
|
5713
|
-
phase?:
|
|
5714
|
-
| "request"
|
|
5715
|
-
| "enqueue"
|
|
5716
|
-
| "validation"
|
|
5717
|
-
| "writeback"
|
|
5718
|
-
| "edits"
|
|
5719
|
-
| "commit"
|
|
5720
|
-
| "effects"
|
|
5721
|
-
| "cancelled"
|
|
5722
|
-
}
|
|
7162
|
+
params: {
|
|
7163
|
+
[key: string]: unknown
|
|
5723
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
|
+
}
|
|
5724
7227
|
}
|
|
5725
7228
|
}
|
|
5726
7229
|
|
|
@@ -6420,14 +7923,10 @@ export type PostAgentThreadMessageResponses = {
|
|
|
6420
7923
|
id: string
|
|
6421
7924
|
projectId: string
|
|
6422
7925
|
threadId: string
|
|
6423
|
-
agentId: string
|
|
6424
|
-
triggerMessageId: string
|
|
6425
|
-
|
|
6426
|
-
type: "user" | "serviceAccount"
|
|
6427
|
-
id: string
|
|
6428
|
-
}
|
|
6429
|
-
executionPrincipal?: {
|
|
6430
|
-
type: "user" | "serviceAccount" | "system"
|
|
7926
|
+
agentId: string
|
|
7927
|
+
triggerMessageId: string
|
|
7928
|
+
requestedBy?: {
|
|
7929
|
+
type: "user" | "serviceAccount"
|
|
6431
7930
|
id: string
|
|
6432
7931
|
}
|
|
6433
7932
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
@@ -6444,8 +7943,12 @@ export type PostAgentThreadMessageResponses = {
|
|
|
6444
7943
|
inputTokens?: number
|
|
6445
7944
|
outputTokens?: number
|
|
6446
7945
|
totalTokens?: number
|
|
6447
|
-
|
|
6448
|
-
|
|
7946
|
+
uncachedInputTokens?: number
|
|
7947
|
+
cacheReadInputTokens?: number
|
|
7948
|
+
cacheWriteInputTokens?: number
|
|
7949
|
+
textOutputTokens?: number
|
|
7950
|
+
reasoningOutputTokens?: number
|
|
7951
|
+
reportingStatus: "complete" | "partial" | "unavailable"
|
|
6449
7952
|
}
|
|
6450
7953
|
diagnostics?: Array<{
|
|
6451
7954
|
code:
|
|
@@ -6460,7 +7963,25 @@ export type PostAgentThreadMessageResponses = {
|
|
|
6460
7963
|
path?: string
|
|
6461
7964
|
message: string
|
|
6462
7965
|
}>
|
|
6463
|
-
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
|
+
}
|
|
6464
7985
|
attempt: number
|
|
6465
7986
|
streamId: string
|
|
6466
7987
|
createdAt: string
|
|
@@ -6619,12 +8140,8 @@ export type CancelAgentRunResponses = {
|
|
|
6619
8140
|
threadId: string
|
|
6620
8141
|
agentId: string
|
|
6621
8142
|
triggerMessageId: string
|
|
6622
|
-
|
|
6623
|
-
type: "user" | "serviceAccount"
|
|
6624
|
-
id: string
|
|
6625
|
-
}
|
|
6626
|
-
executionPrincipal?: {
|
|
6627
|
-
type: "user" | "serviceAccount" | "system"
|
|
8143
|
+
requestedBy?: {
|
|
8144
|
+
type: "user" | "serviceAccount"
|
|
6628
8145
|
id: string
|
|
6629
8146
|
}
|
|
6630
8147
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
@@ -6641,8 +8158,12 @@ export type CancelAgentRunResponses = {
|
|
|
6641
8158
|
inputTokens?: number
|
|
6642
8159
|
outputTokens?: number
|
|
6643
8160
|
totalTokens?: number
|
|
6644
|
-
|
|
6645
|
-
|
|
8161
|
+
uncachedInputTokens?: number
|
|
8162
|
+
cacheReadInputTokens?: number
|
|
8163
|
+
cacheWriteInputTokens?: number
|
|
8164
|
+
textOutputTokens?: number
|
|
8165
|
+
reasoningOutputTokens?: number
|
|
8166
|
+
reportingStatus: "complete" | "partial" | "unavailable"
|
|
6646
8167
|
}
|
|
6647
8168
|
diagnostics?: Array<{
|
|
6648
8169
|
code:
|
|
@@ -6657,7 +8178,25 @@ export type CancelAgentRunResponses = {
|
|
|
6657
8178
|
path?: string
|
|
6658
8179
|
message: string
|
|
6659
8180
|
}>
|
|
6660
|
-
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
|
+
}
|
|
6661
8200
|
attempt: number
|
|
6662
8201
|
streamId: string
|
|
6663
8202
|
createdAt: string
|
|
@@ -6719,12 +8258,8 @@ export type RetryAgentRunResponses = {
|
|
|
6719
8258
|
threadId: string
|
|
6720
8259
|
agentId: string
|
|
6721
8260
|
triggerMessageId: string
|
|
6722
|
-
|
|
6723
|
-
type: "user" | "serviceAccount"
|
|
6724
|
-
id: string
|
|
6725
|
-
}
|
|
6726
|
-
executionPrincipal?: {
|
|
6727
|
-
type: "user" | "serviceAccount" | "system"
|
|
8261
|
+
requestedBy?: {
|
|
8262
|
+
type: "user" | "serviceAccount"
|
|
6728
8263
|
id: string
|
|
6729
8264
|
}
|
|
6730
8265
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
@@ -6741,8 +8276,12 @@ export type RetryAgentRunResponses = {
|
|
|
6741
8276
|
inputTokens?: number
|
|
6742
8277
|
outputTokens?: number
|
|
6743
8278
|
totalTokens?: number
|
|
6744
|
-
|
|
6745
|
-
|
|
8279
|
+
uncachedInputTokens?: number
|
|
8280
|
+
cacheReadInputTokens?: number
|
|
8281
|
+
cacheWriteInputTokens?: number
|
|
8282
|
+
textOutputTokens?: number
|
|
8283
|
+
reasoningOutputTokens?: number
|
|
8284
|
+
reportingStatus: "complete" | "partial" | "unavailable"
|
|
6746
8285
|
}
|
|
6747
8286
|
diagnostics?: Array<{
|
|
6748
8287
|
code:
|
|
@@ -6757,7 +8296,25 @@ export type RetryAgentRunResponses = {
|
|
|
6757
8296
|
path?: string
|
|
6758
8297
|
message: string
|
|
6759
8298
|
}>
|
|
6760
|
-
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
|
+
}
|
|
6761
8318
|
attempt: number
|
|
6762
8319
|
streamId: string
|
|
6763
8320
|
createdAt: string
|
|
@@ -6817,12 +8374,8 @@ export type ListAgentThreadRunsResponses = {
|
|
|
6817
8374
|
threadId: string
|
|
6818
8375
|
agentId: string
|
|
6819
8376
|
triggerMessageId: string
|
|
6820
|
-
|
|
6821
|
-
type: "user" | "serviceAccount"
|
|
6822
|
-
id: string
|
|
6823
|
-
}
|
|
6824
|
-
executionPrincipal?: {
|
|
6825
|
-
type: "user" | "serviceAccount" | "system"
|
|
8377
|
+
requestedBy?: {
|
|
8378
|
+
type: "user" | "serviceAccount"
|
|
6826
8379
|
id: string
|
|
6827
8380
|
}
|
|
6828
8381
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
@@ -6839,8 +8392,12 @@ export type ListAgentThreadRunsResponses = {
|
|
|
6839
8392
|
inputTokens?: number
|
|
6840
8393
|
outputTokens?: number
|
|
6841
8394
|
totalTokens?: number
|
|
6842
|
-
|
|
6843
|
-
|
|
8395
|
+
uncachedInputTokens?: number
|
|
8396
|
+
cacheReadInputTokens?: number
|
|
8397
|
+
cacheWriteInputTokens?: number
|
|
8398
|
+
textOutputTokens?: number
|
|
8399
|
+
reasoningOutputTokens?: number
|
|
8400
|
+
reportingStatus: "complete" | "partial" | "unavailable"
|
|
6844
8401
|
}
|
|
6845
8402
|
diagnostics?: Array<{
|
|
6846
8403
|
code:
|
|
@@ -6855,7 +8412,25 @@ export type ListAgentThreadRunsResponses = {
|
|
|
6855
8412
|
path?: string
|
|
6856
8413
|
message: string
|
|
6857
8414
|
}>
|
|
6858
|
-
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
|
+
}
|
|
6859
8434
|
attempt: number
|
|
6860
8435
|
streamId: string
|
|
6861
8436
|
createdAt: string
|
|
@@ -6912,12 +8487,8 @@ export type GetAgentRunResponses = {
|
|
|
6912
8487
|
threadId: string
|
|
6913
8488
|
agentId: string
|
|
6914
8489
|
triggerMessageId: string
|
|
6915
|
-
|
|
6916
|
-
type: "user" | "serviceAccount"
|
|
6917
|
-
id: string
|
|
6918
|
-
}
|
|
6919
|
-
executionPrincipal?: {
|
|
6920
|
-
type: "user" | "serviceAccount" | "system"
|
|
8490
|
+
requestedBy?: {
|
|
8491
|
+
type: "user" | "serviceAccount"
|
|
6921
8492
|
id: string
|
|
6922
8493
|
}
|
|
6923
8494
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
@@ -6934,8 +8505,12 @@ export type GetAgentRunResponses = {
|
|
|
6934
8505
|
inputTokens?: number
|
|
6935
8506
|
outputTokens?: number
|
|
6936
8507
|
totalTokens?: number
|
|
6937
|
-
|
|
6938
|
-
|
|
8508
|
+
uncachedInputTokens?: number
|
|
8509
|
+
cacheReadInputTokens?: number
|
|
8510
|
+
cacheWriteInputTokens?: number
|
|
8511
|
+
textOutputTokens?: number
|
|
8512
|
+
reasoningOutputTokens?: number
|
|
8513
|
+
reportingStatus: "complete" | "partial" | "unavailable"
|
|
6939
8514
|
}
|
|
6940
8515
|
diagnostics?: Array<{
|
|
6941
8516
|
code:
|
|
@@ -6950,7 +8525,25 @@ export type GetAgentRunResponses = {
|
|
|
6950
8525
|
path?: string
|
|
6951
8526
|
message: string
|
|
6952
8527
|
}>
|
|
6953
|
-
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
|
+
}
|
|
6954
8547
|
attempt: number
|
|
6955
8548
|
streamId: string
|
|
6956
8549
|
createdAt: string
|
|
@@ -8398,15 +9991,39 @@ export type ListProjectionsResponses = {
|
|
|
8398
9991
|
| {
|
|
8399
9992
|
id: string
|
|
8400
9993
|
projectId: string
|
|
8401
|
-
|
|
9994
|
+
executionId: string
|
|
9995
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
8402
9996
|
attempt: number
|
|
8403
9997
|
progress: {
|
|
8404
9998
|
sourceRowsRead: number
|
|
8405
9999
|
sourceRowsSkipped: number
|
|
8406
10000
|
}
|
|
8407
|
-
|
|
10001
|
+
queuedAt: string
|
|
10002
|
+
startedAt?: string
|
|
8408
10003
|
finishedAt?: string
|
|
8409
|
-
|
|
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
|
+
}
|
|
8410
10027
|
identity: {
|
|
8411
10028
|
projectionId: string
|
|
8412
10029
|
datasetVersion: {
|
|
@@ -8427,15 +10044,39 @@ export type ListProjectionsResponses = {
|
|
|
8427
10044
|
| {
|
|
8428
10045
|
id: string
|
|
8429
10046
|
projectId: string
|
|
8430
|
-
|
|
10047
|
+
executionId: string
|
|
10048
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
8431
10049
|
attempt: number
|
|
8432
10050
|
progress: {
|
|
8433
10051
|
sourceRowsRead: number
|
|
8434
10052
|
sourceRowsSkipped: number
|
|
8435
10053
|
}
|
|
8436
|
-
|
|
10054
|
+
queuedAt: string
|
|
10055
|
+
startedAt?: string
|
|
8437
10056
|
finishedAt?: string
|
|
8438
|
-
|
|
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
|
+
}
|
|
8439
10080
|
identity: {
|
|
8440
10081
|
projectionId: string
|
|
8441
10082
|
datasetVersion: {
|
|
@@ -8457,15 +10098,39 @@ export type ListProjectionsResponses = {
|
|
|
8457
10098
|
| {
|
|
8458
10099
|
id: string
|
|
8459
10100
|
projectId: string
|
|
8460
|
-
|
|
10101
|
+
executionId: string
|
|
10102
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
8461
10103
|
attempt: number
|
|
8462
10104
|
progress: {
|
|
8463
10105
|
sourceRowsRead: number
|
|
8464
10106
|
sourceRowsSkipped: number
|
|
8465
10107
|
}
|
|
8466
|
-
|
|
10108
|
+
queuedAt: string
|
|
10109
|
+
startedAt?: string
|
|
8467
10110
|
finishedAt?: string
|
|
8468
|
-
|
|
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
|
+
}
|
|
8469
10134
|
identity: {
|
|
8470
10135
|
projectionId: string
|
|
8471
10136
|
datasetVersion: {
|
|
@@ -8498,15 +10163,39 @@ export type ListProjectionsResponses = {
|
|
|
8498
10163
|
| {
|
|
8499
10164
|
id: string
|
|
8500
10165
|
projectId: string
|
|
8501
|
-
|
|
10166
|
+
executionId: string
|
|
10167
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
8502
10168
|
attempt: number
|
|
8503
10169
|
progress: {
|
|
8504
10170
|
sourceRowsRead: number
|
|
8505
10171
|
sourceRowsSkipped: number
|
|
8506
10172
|
}
|
|
8507
|
-
|
|
10173
|
+
queuedAt: string
|
|
10174
|
+
startedAt?: string
|
|
8508
10175
|
finishedAt?: string
|
|
8509
|
-
|
|
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
|
+
}
|
|
8510
10199
|
identity: {
|
|
8511
10200
|
projectionId: string
|
|
8512
10201
|
datasetVersion: {
|
|
@@ -8527,15 +10216,39 @@ export type ListProjectionsResponses = {
|
|
|
8527
10216
|
| {
|
|
8528
10217
|
id: string
|
|
8529
10218
|
projectId: string
|
|
8530
|
-
|
|
10219
|
+
executionId: string
|
|
10220
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
8531
10221
|
attempt: number
|
|
8532
10222
|
progress: {
|
|
8533
10223
|
sourceRowsRead: number
|
|
8534
10224
|
sourceRowsSkipped: number
|
|
8535
10225
|
}
|
|
8536
|
-
|
|
10226
|
+
queuedAt: string
|
|
10227
|
+
startedAt?: string
|
|
8537
10228
|
finishedAt?: string
|
|
8538
|
-
|
|
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
|
+
}
|
|
8539
10252
|
identity: {
|
|
8540
10253
|
projectionId: string
|
|
8541
10254
|
datasetVersion: {
|
|
@@ -8557,15 +10270,39 @@ export type ListProjectionsResponses = {
|
|
|
8557
10270
|
| {
|
|
8558
10271
|
id: string
|
|
8559
10272
|
projectId: string
|
|
8560
|
-
|
|
10273
|
+
executionId: string
|
|
10274
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
8561
10275
|
attempt: number
|
|
8562
10276
|
progress: {
|
|
8563
10277
|
sourceRowsRead: number
|
|
8564
10278
|
sourceRowsSkipped: number
|
|
8565
10279
|
}
|
|
8566
|
-
|
|
10280
|
+
queuedAt: string
|
|
10281
|
+
startedAt?: string
|
|
8567
10282
|
finishedAt?: string
|
|
8568
|
-
|
|
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
|
+
}
|
|
8569
10306
|
identity: {
|
|
8570
10307
|
projectionId: string
|
|
8571
10308
|
datasetVersion: {
|
|
@@ -8599,15 +10336,39 @@ export type ListProjectionsResponses = {
|
|
|
8599
10336
|
| {
|
|
8600
10337
|
id: string
|
|
8601
10338
|
projectId: string
|
|
8602
|
-
|
|
10339
|
+
executionId: string
|
|
10340
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
8603
10341
|
attempt: number
|
|
8604
10342
|
progress: {
|
|
8605
10343
|
sourceRowsRead: number
|
|
8606
10344
|
sourceRowsSkipped: number
|
|
8607
10345
|
}
|
|
8608
|
-
|
|
10346
|
+
queuedAt: string
|
|
10347
|
+
startedAt?: string
|
|
8609
10348
|
finishedAt?: string
|
|
8610
|
-
|
|
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
|
+
}
|
|
8611
10372
|
identity: {
|
|
8612
10373
|
projectionId: string
|
|
8613
10374
|
datasetVersion: {
|
|
@@ -8628,15 +10389,39 @@ export type ListProjectionsResponses = {
|
|
|
8628
10389
|
| {
|
|
8629
10390
|
id: string
|
|
8630
10391
|
projectId: string
|
|
8631
|
-
|
|
10392
|
+
executionId: string
|
|
10393
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
8632
10394
|
attempt: number
|
|
8633
10395
|
progress: {
|
|
8634
10396
|
sourceRowsRead: number
|
|
8635
10397
|
sourceRowsSkipped: number
|
|
8636
10398
|
}
|
|
8637
|
-
|
|
10399
|
+
queuedAt: string
|
|
10400
|
+
startedAt?: string
|
|
8638
10401
|
finishedAt?: string
|
|
8639
|
-
|
|
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
|
+
}
|
|
8640
10425
|
identity: {
|
|
8641
10426
|
projectionId: string
|
|
8642
10427
|
datasetVersion: {
|
|
@@ -8658,15 +10443,39 @@ export type ListProjectionsResponses = {
|
|
|
8658
10443
|
| {
|
|
8659
10444
|
id: string
|
|
8660
10445
|
projectId: string
|
|
8661
|
-
|
|
10446
|
+
executionId: string
|
|
10447
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
8662
10448
|
attempt: number
|
|
8663
10449
|
progress: {
|
|
8664
10450
|
sourceRowsRead: number
|
|
8665
10451
|
sourceRowsSkipped: number
|
|
8666
10452
|
}
|
|
8667
|
-
|
|
10453
|
+
queuedAt: string
|
|
10454
|
+
startedAt?: string
|
|
8668
10455
|
finishedAt?: string
|
|
8669
|
-
|
|
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
|
+
}
|
|
8670
10479
|
identity: {
|
|
8671
10480
|
projectionId: string
|
|
8672
10481
|
datasetVersion: {
|
|
@@ -8736,15 +10545,39 @@ export type GetProjectionResponses = {
|
|
|
8736
10545
|
| {
|
|
8737
10546
|
id: string
|
|
8738
10547
|
projectId: string
|
|
8739
|
-
|
|
10548
|
+
executionId: string
|
|
10549
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
8740
10550
|
attempt: number
|
|
8741
10551
|
progress: {
|
|
8742
10552
|
sourceRowsRead: number
|
|
8743
10553
|
sourceRowsSkipped: number
|
|
8744
10554
|
}
|
|
8745
|
-
|
|
10555
|
+
queuedAt: string
|
|
10556
|
+
startedAt?: string
|
|
8746
10557
|
finishedAt?: string
|
|
8747
|
-
|
|
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
|
+
}
|
|
8748
10581
|
identity: {
|
|
8749
10582
|
projectionId: string
|
|
8750
10583
|
datasetVersion: {
|
|
@@ -8765,15 +10598,39 @@ export type GetProjectionResponses = {
|
|
|
8765
10598
|
| {
|
|
8766
10599
|
id: string
|
|
8767
10600
|
projectId: string
|
|
8768
|
-
|
|
10601
|
+
executionId: string
|
|
10602
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
8769
10603
|
attempt: number
|
|
8770
10604
|
progress: {
|
|
8771
10605
|
sourceRowsRead: number
|
|
8772
10606
|
sourceRowsSkipped: number
|
|
8773
10607
|
}
|
|
8774
|
-
|
|
10608
|
+
queuedAt: string
|
|
10609
|
+
startedAt?: string
|
|
8775
10610
|
finishedAt?: string
|
|
8776
|
-
|
|
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
|
+
}
|
|
8777
10634
|
identity: {
|
|
8778
10635
|
projectionId: string
|
|
8779
10636
|
datasetVersion: {
|
|
@@ -8795,15 +10652,39 @@ export type GetProjectionResponses = {
|
|
|
8795
10652
|
| {
|
|
8796
10653
|
id: string
|
|
8797
10654
|
projectId: string
|
|
8798
|
-
|
|
10655
|
+
executionId: string
|
|
10656
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
8799
10657
|
attempt: number
|
|
8800
10658
|
progress: {
|
|
8801
10659
|
sourceRowsRead: number
|
|
8802
10660
|
sourceRowsSkipped: number
|
|
8803
10661
|
}
|
|
8804
|
-
|
|
10662
|
+
queuedAt: string
|
|
10663
|
+
startedAt?: string
|
|
8805
10664
|
finishedAt?: string
|
|
8806
|
-
|
|
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
|
+
}
|
|
8807
10688
|
identity: {
|
|
8808
10689
|
projectionId: string
|
|
8809
10690
|
datasetVersion: {
|
|
@@ -8836,15 +10717,39 @@ export type GetProjectionResponses = {
|
|
|
8836
10717
|
| {
|
|
8837
10718
|
id: string
|
|
8838
10719
|
projectId: string
|
|
8839
|
-
|
|
10720
|
+
executionId: string
|
|
10721
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
8840
10722
|
attempt: number
|
|
8841
10723
|
progress: {
|
|
8842
10724
|
sourceRowsRead: number
|
|
8843
10725
|
sourceRowsSkipped: number
|
|
8844
10726
|
}
|
|
8845
|
-
|
|
10727
|
+
queuedAt: string
|
|
10728
|
+
startedAt?: string
|
|
8846
10729
|
finishedAt?: string
|
|
8847
|
-
|
|
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
|
+
}
|
|
8848
10753
|
identity: {
|
|
8849
10754
|
projectionId: string
|
|
8850
10755
|
datasetVersion: {
|
|
@@ -8865,15 +10770,39 @@ export type GetProjectionResponses = {
|
|
|
8865
10770
|
| {
|
|
8866
10771
|
id: string
|
|
8867
10772
|
projectId: string
|
|
8868
|
-
|
|
10773
|
+
executionId: string
|
|
10774
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
8869
10775
|
attempt: number
|
|
8870
10776
|
progress: {
|
|
8871
10777
|
sourceRowsRead: number
|
|
8872
10778
|
sourceRowsSkipped: number
|
|
8873
10779
|
}
|
|
8874
|
-
|
|
10780
|
+
queuedAt: string
|
|
10781
|
+
startedAt?: string
|
|
8875
10782
|
finishedAt?: string
|
|
8876
|
-
|
|
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
|
+
}
|
|
8877
10806
|
identity: {
|
|
8878
10807
|
projectionId: string
|
|
8879
10808
|
datasetVersion: {
|
|
@@ -8895,15 +10824,39 @@ export type GetProjectionResponses = {
|
|
|
8895
10824
|
| {
|
|
8896
10825
|
id: string
|
|
8897
10826
|
projectId: string
|
|
8898
|
-
|
|
10827
|
+
executionId: string
|
|
10828
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
8899
10829
|
attempt: number
|
|
8900
10830
|
progress: {
|
|
8901
10831
|
sourceRowsRead: number
|
|
8902
10832
|
sourceRowsSkipped: number
|
|
8903
10833
|
}
|
|
8904
|
-
|
|
10834
|
+
queuedAt: string
|
|
10835
|
+
startedAt?: string
|
|
8905
10836
|
finishedAt?: string
|
|
8906
|
-
|
|
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
|
+
}
|
|
8907
10860
|
identity: {
|
|
8908
10861
|
projectionId: string
|
|
8909
10862
|
datasetVersion: {
|
|
@@ -8937,15 +10890,39 @@ export type GetProjectionResponses = {
|
|
|
8937
10890
|
| {
|
|
8938
10891
|
id: string
|
|
8939
10892
|
projectId: string
|
|
8940
|
-
|
|
10893
|
+
executionId: string
|
|
10894
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
8941
10895
|
attempt: number
|
|
8942
10896
|
progress: {
|
|
8943
10897
|
sourceRowsRead: number
|
|
8944
10898
|
sourceRowsSkipped: number
|
|
8945
10899
|
}
|
|
8946
|
-
|
|
10900
|
+
queuedAt: string
|
|
10901
|
+
startedAt?: string
|
|
8947
10902
|
finishedAt?: string
|
|
8948
|
-
|
|
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
|
+
}
|
|
8949
10926
|
identity: {
|
|
8950
10927
|
projectionId: string
|
|
8951
10928
|
datasetVersion: {
|
|
@@ -8966,15 +10943,39 @@ export type GetProjectionResponses = {
|
|
|
8966
10943
|
| {
|
|
8967
10944
|
id: string
|
|
8968
10945
|
projectId: string
|
|
8969
|
-
|
|
10946
|
+
executionId: string
|
|
10947
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
8970
10948
|
attempt: number
|
|
8971
10949
|
progress: {
|
|
8972
10950
|
sourceRowsRead: number
|
|
8973
10951
|
sourceRowsSkipped: number
|
|
8974
10952
|
}
|
|
8975
|
-
|
|
10953
|
+
queuedAt: string
|
|
10954
|
+
startedAt?: string
|
|
8976
10955
|
finishedAt?: string
|
|
8977
|
-
|
|
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
|
+
}
|
|
8978
10979
|
identity: {
|
|
8979
10980
|
projectionId: string
|
|
8980
10981
|
datasetVersion: {
|
|
@@ -8996,15 +10997,39 @@ export type GetProjectionResponses = {
|
|
|
8996
10997
|
| {
|
|
8997
10998
|
id: string
|
|
8998
10999
|
projectId: string
|
|
8999
|
-
|
|
11000
|
+
executionId: string
|
|
11001
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
9000
11002
|
attempt: number
|
|
9001
11003
|
progress: {
|
|
9002
11004
|
sourceRowsRead: number
|
|
9003
11005
|
sourceRowsSkipped: number
|
|
9004
11006
|
}
|
|
9005
|
-
|
|
11007
|
+
queuedAt: string
|
|
11008
|
+
startedAt?: string
|
|
9006
11009
|
finishedAt?: string
|
|
9007
|
-
|
|
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
|
+
}
|
|
9008
11033
|
identity: {
|
|
9009
11034
|
projectionId: string
|
|
9010
11035
|
datasetVersion: {
|
|
@@ -9036,7 +11061,7 @@ export type ListProjectionRunsData = {
|
|
|
9036
11061
|
projectionKind?: "object" | "link" | "telemetry"
|
|
9037
11062
|
datasetId?: string
|
|
9038
11063
|
datasetVersionId?: string
|
|
9039
|
-
status?: "running" | "succeeded" | "failed" | "cancelled"
|
|
11064
|
+
status?: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
9040
11065
|
startedAfter?: string
|
|
9041
11066
|
startedBefore?: string
|
|
9042
11067
|
limit?: string
|
|
@@ -9072,15 +11097,39 @@ export type ListProjectionRunsResponses = {
|
|
|
9072
11097
|
| {
|
|
9073
11098
|
id: string
|
|
9074
11099
|
projectId: string
|
|
9075
|
-
|
|
11100
|
+
executionId: string
|
|
11101
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
9076
11102
|
attempt: number
|
|
9077
11103
|
progress: {
|
|
9078
11104
|
sourceRowsRead: number
|
|
9079
11105
|
sourceRowsSkipped: number
|
|
9080
11106
|
}
|
|
9081
|
-
|
|
11107
|
+
queuedAt: string
|
|
11108
|
+
startedAt?: string
|
|
9082
11109
|
finishedAt?: string
|
|
9083
|
-
|
|
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
|
+
}
|
|
9084
11133
|
identity: {
|
|
9085
11134
|
projectionId: string
|
|
9086
11135
|
datasetVersion: {
|
|
@@ -9101,15 +11150,39 @@ export type ListProjectionRunsResponses = {
|
|
|
9101
11150
|
| {
|
|
9102
11151
|
id: string
|
|
9103
11152
|
projectId: string
|
|
9104
|
-
|
|
11153
|
+
executionId: string
|
|
11154
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
9105
11155
|
attempt: number
|
|
9106
11156
|
progress: {
|
|
9107
11157
|
sourceRowsRead: number
|
|
9108
11158
|
sourceRowsSkipped: number
|
|
9109
11159
|
}
|
|
9110
|
-
|
|
11160
|
+
queuedAt: string
|
|
11161
|
+
startedAt?: string
|
|
9111
11162
|
finishedAt?: string
|
|
9112
|
-
|
|
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
|
+
}
|
|
9113
11186
|
identity: {
|
|
9114
11187
|
projectionId: string
|
|
9115
11188
|
datasetVersion: {
|
|
@@ -9131,15 +11204,39 @@ export type ListProjectionRunsResponses = {
|
|
|
9131
11204
|
| {
|
|
9132
11205
|
id: string
|
|
9133
11206
|
projectId: string
|
|
9134
|
-
|
|
11207
|
+
executionId: string
|
|
11208
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
9135
11209
|
attempt: number
|
|
9136
11210
|
progress: {
|
|
9137
11211
|
sourceRowsRead: number
|
|
9138
11212
|
sourceRowsSkipped: number
|
|
9139
11213
|
}
|
|
9140
|
-
|
|
11214
|
+
queuedAt: string
|
|
11215
|
+
startedAt?: string
|
|
9141
11216
|
finishedAt?: string
|
|
9142
|
-
|
|
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
|
+
}
|
|
9143
11240
|
identity: {
|
|
9144
11241
|
projectionId: string
|
|
9145
11242
|
datasetVersion: {
|
|
@@ -9206,15 +11303,39 @@ export type GetProjectionRunResponses = {
|
|
|
9206
11303
|
| {
|
|
9207
11304
|
id: string
|
|
9208
11305
|
projectId: string
|
|
9209
|
-
|
|
11306
|
+
executionId: string
|
|
11307
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
9210
11308
|
attempt: number
|
|
9211
11309
|
progress: {
|
|
9212
11310
|
sourceRowsRead: number
|
|
9213
11311
|
sourceRowsSkipped: number
|
|
9214
11312
|
}
|
|
9215
|
-
|
|
11313
|
+
queuedAt: string
|
|
11314
|
+
startedAt?: string
|
|
9216
11315
|
finishedAt?: string
|
|
9217
|
-
|
|
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
|
+
}
|
|
9218
11339
|
identity: {
|
|
9219
11340
|
projectionId: string
|
|
9220
11341
|
datasetVersion: {
|
|
@@ -9235,15 +11356,39 @@ export type GetProjectionRunResponses = {
|
|
|
9235
11356
|
| {
|
|
9236
11357
|
id: string
|
|
9237
11358
|
projectId: string
|
|
9238
|
-
|
|
11359
|
+
executionId: string
|
|
11360
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
9239
11361
|
attempt: number
|
|
9240
11362
|
progress: {
|
|
9241
11363
|
sourceRowsRead: number
|
|
9242
11364
|
sourceRowsSkipped: number
|
|
9243
11365
|
}
|
|
9244
|
-
|
|
11366
|
+
queuedAt: string
|
|
11367
|
+
startedAt?: string
|
|
9245
11368
|
finishedAt?: string
|
|
9246
|
-
|
|
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
|
+
}
|
|
9247
11392
|
identity: {
|
|
9248
11393
|
projectionId: string
|
|
9249
11394
|
datasetVersion: {
|
|
@@ -9265,15 +11410,39 @@ export type GetProjectionRunResponses = {
|
|
|
9265
11410
|
| {
|
|
9266
11411
|
id: string
|
|
9267
11412
|
projectId: string
|
|
9268
|
-
|
|
11413
|
+
executionId: string
|
|
11414
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
|
|
9269
11415
|
attempt: number
|
|
9270
11416
|
progress: {
|
|
9271
11417
|
sourceRowsRead: number
|
|
9272
11418
|
sourceRowsSkipped: number
|
|
9273
11419
|
}
|
|
9274
|
-
|
|
11420
|
+
queuedAt: string
|
|
11421
|
+
startedAt?: string
|
|
9275
11422
|
finishedAt?: string
|
|
9276
|
-
|
|
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
|
+
}
|
|
9277
11446
|
identity: {
|
|
9278
11447
|
projectionId: string
|
|
9279
11448
|
datasetVersion: {
|
|
@@ -9301,7 +11470,7 @@ export type ListWebhookRunsData = {
|
|
|
9301
11470
|
query?: {
|
|
9302
11471
|
connectorId?: string
|
|
9303
11472
|
webhookId?: string
|
|
9304
|
-
status?: "running" | "succeeded" | "failed"
|
|
11473
|
+
status?: "running" | "succeeded" | "failed"
|
|
9305
11474
|
idempotencyKey?: string
|
|
9306
11475
|
startedAfter?: string
|
|
9307
11476
|
startedBefore?: string
|
|
@@ -9337,18 +11506,36 @@ export type ListWebhookRunsResponses = {
|
|
|
9337
11506
|
runs: Array<{
|
|
9338
11507
|
id: string
|
|
9339
11508
|
projectId: string
|
|
11509
|
+
executionId: string
|
|
9340
11510
|
connectorId: string
|
|
9341
11511
|
webhookId: string
|
|
9342
|
-
status: "running" | "succeeded" | "failed"
|
|
11512
|
+
status: "running" | "succeeded" | "failed"
|
|
9343
11513
|
method: string
|
|
9344
11514
|
route: string
|
|
9345
11515
|
startedAt: string
|
|
9346
11516
|
finishedAt?: string
|
|
9347
|
-
requestBodyBytes
|
|
11517
|
+
requestBodyBytes: number
|
|
9348
11518
|
responseStatus?: number
|
|
9349
11519
|
idempotencyKey?: string
|
|
9350
|
-
|
|
9351
|
-
|
|
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
|
+
}
|
|
9352
11539
|
}>
|
|
9353
11540
|
hasMore: boolean
|
|
9354
11541
|
total: number
|