@sixb/client 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser.js +2 -2
- package/dist/{chunk-5vp5zr0d.js → chunk-6esh0dxx.js} +1 -1
- package/dist/{chunk-tsdnw994.js → chunk-7ts981a8.js} +2 -2
- package/dist/{chunk-skkt217g.js → chunk-eyd61e4t.js} +7 -2
- package/dist/chunk-eyd61e4t.js.map +19 -0
- package/dist/{chunk-ctf97s25.js → chunk-heqezbjc.js} +2 -2
- package/dist/{chunk-v4jdc1nb.js → chunk-hfk246y4.js} +3 -3
- package/dist/{chunk-zfne7wxr.js → chunk-yjank04c.js} +1 -1
- package/dist/connectors/queries.d.ts.map +1 -1
- package/dist/generated/@tanstack/react-query.gen.d.ts +2123 -26
- 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 +9 -1
- package/dist/generated/sdk.gen.d.ts.map +1 -1
- package/dist/generated/types.gen.d.ts +498 -7
- package/dist/generated/types.gen.d.ts.map +1 -1
- package/dist/hooks.js +59 -6
- package/dist/hooks.js.map +3 -3
- package/dist/index.js +10 -6
- package/dist/index.js.map +1 -1
- package/dist/logs.js +3 -3
- package/dist/models.js +6 -2
- package/dist/models.js.map +1 -1
- package/dist/query.js +3 -3
- package/package.json +2 -2
- package/src/generated/@tanstack/react-query.gen.ts +101 -0
- package/src/generated/index.ts +12 -0
- package/src/generated/sdk.gen.ts +29 -0
- package/src/generated/types.gen.ts +609 -2
- package/dist/chunk-skkt217g.js.map +0 -19
- /package/dist/{chunk-5vp5zr0d.js.map → chunk-6esh0dxx.js.map} +0 -0
- /package/dist/{chunk-tsdnw994.js.map → chunk-7ts981a8.js.map} +0 -0
- /package/dist/{chunk-ctf97s25.js.map → chunk-heqezbjc.js.map} +0 -0
- /package/dist/{chunk-v4jdc1nb.js.map → chunk-hfk246y4.js.map} +0 -0
- /package/dist/{chunk-zfne7wxr.js.map → chunk-yjank04c.js.map} +0 -0
|
@@ -1584,6 +1584,344 @@ export type ReactivateAuthMemberResponses = {
|
|
|
1584
1584
|
export type ReactivateAuthMemberResponse =
|
|
1585
1585
|
ReactivateAuthMemberResponses[keyof ReactivateAuthMemberResponses]
|
|
1586
1586
|
|
|
1587
|
+
export type GetAiAccountingOverviewData = {
|
|
1588
|
+
body?: never
|
|
1589
|
+
path?: never
|
|
1590
|
+
query: {
|
|
1591
|
+
from: string
|
|
1592
|
+
to: string
|
|
1593
|
+
providerId?: string
|
|
1594
|
+
modelId?: string
|
|
1595
|
+
bucket: "hour" | "day" | "week"
|
|
1596
|
+
}
|
|
1597
|
+
url: "/api/ai/accounting/overview"
|
|
1598
|
+
}
|
|
1599
|
+
|
|
1600
|
+
export type GetAiAccountingOverviewErrors = {
|
|
1601
|
+
/**
|
|
1602
|
+
* Response for status 400
|
|
1603
|
+
*/
|
|
1604
|
+
400: {
|
|
1605
|
+
error: string
|
|
1606
|
+
}
|
|
1607
|
+
/**
|
|
1608
|
+
* Response for status 501
|
|
1609
|
+
*/
|
|
1610
|
+
501: {
|
|
1611
|
+
error: string
|
|
1612
|
+
}
|
|
1613
|
+
}
|
|
1614
|
+
|
|
1615
|
+
export type GetAiAccountingOverviewError =
|
|
1616
|
+
GetAiAccountingOverviewErrors[keyof GetAiAccountingOverviewErrors]
|
|
1617
|
+
|
|
1618
|
+
export type GetAiAccountingOverviewResponses = {
|
|
1619
|
+
/**
|
|
1620
|
+
* Response for status 200
|
|
1621
|
+
*/
|
|
1622
|
+
200: {
|
|
1623
|
+
range: {
|
|
1624
|
+
from: string
|
|
1625
|
+
to: string
|
|
1626
|
+
}
|
|
1627
|
+
bucket: "hour" | "day" | "week"
|
|
1628
|
+
totals: {
|
|
1629
|
+
modelCallCount: number
|
|
1630
|
+
usage: {
|
|
1631
|
+
inputTokens?: number
|
|
1632
|
+
outputTokens?: number
|
|
1633
|
+
totalTokens?: number
|
|
1634
|
+
uncachedInputTokens?: number
|
|
1635
|
+
cacheReadInputTokens?: number
|
|
1636
|
+
cacheWriteInputTokens?: number
|
|
1637
|
+
textOutputTokens?: number
|
|
1638
|
+
reasoningOutputTokens?: number
|
|
1639
|
+
reportingStatus: "complete" | "partial" | "unavailable"
|
|
1640
|
+
}
|
|
1641
|
+
costs: {
|
|
1642
|
+
amounts: Array<{
|
|
1643
|
+
currency: string
|
|
1644
|
+
amountNanos: string
|
|
1645
|
+
}>
|
|
1646
|
+
ratedCallCount: number
|
|
1647
|
+
unpriceableCallCount: number
|
|
1648
|
+
unvaluedCallCount: number
|
|
1649
|
+
}
|
|
1650
|
+
}
|
|
1651
|
+
series: Array<{
|
|
1652
|
+
modelCallCount: number
|
|
1653
|
+
usage: {
|
|
1654
|
+
inputTokens?: number
|
|
1655
|
+
outputTokens?: number
|
|
1656
|
+
totalTokens?: number
|
|
1657
|
+
uncachedInputTokens?: number
|
|
1658
|
+
cacheReadInputTokens?: number
|
|
1659
|
+
cacheWriteInputTokens?: number
|
|
1660
|
+
textOutputTokens?: number
|
|
1661
|
+
reasoningOutputTokens?: number
|
|
1662
|
+
reportingStatus: "complete" | "partial" | "unavailable"
|
|
1663
|
+
}
|
|
1664
|
+
costs: {
|
|
1665
|
+
amounts: Array<{
|
|
1666
|
+
currency: string
|
|
1667
|
+
amountNanos: string
|
|
1668
|
+
}>
|
|
1669
|
+
ratedCallCount: number
|
|
1670
|
+
unpriceableCallCount: number
|
|
1671
|
+
unvaluedCallCount: number
|
|
1672
|
+
}
|
|
1673
|
+
start: string
|
|
1674
|
+
end: string
|
|
1675
|
+
}>
|
|
1676
|
+
models: Array<{
|
|
1677
|
+
modelCallCount: number
|
|
1678
|
+
usage: {
|
|
1679
|
+
inputTokens?: number
|
|
1680
|
+
outputTokens?: number
|
|
1681
|
+
totalTokens?: number
|
|
1682
|
+
uncachedInputTokens?: number
|
|
1683
|
+
cacheReadInputTokens?: number
|
|
1684
|
+
cacheWriteInputTokens?: number
|
|
1685
|
+
textOutputTokens?: number
|
|
1686
|
+
reasoningOutputTokens?: number
|
|
1687
|
+
reportingStatus: "complete" | "partial" | "unavailable"
|
|
1688
|
+
}
|
|
1689
|
+
costs: {
|
|
1690
|
+
amounts: Array<{
|
|
1691
|
+
currency: string
|
|
1692
|
+
amountNanos: string
|
|
1693
|
+
}>
|
|
1694
|
+
ratedCallCount: number
|
|
1695
|
+
unpriceableCallCount: number
|
|
1696
|
+
unvaluedCallCount: number
|
|
1697
|
+
}
|
|
1698
|
+
providerId: string
|
|
1699
|
+
modelId: string
|
|
1700
|
+
}>
|
|
1701
|
+
agents: Array<{
|
|
1702
|
+
modelCallCount: number
|
|
1703
|
+
usage: {
|
|
1704
|
+
inputTokens?: number
|
|
1705
|
+
outputTokens?: number
|
|
1706
|
+
totalTokens?: number
|
|
1707
|
+
uncachedInputTokens?: number
|
|
1708
|
+
cacheReadInputTokens?: number
|
|
1709
|
+
cacheWriteInputTokens?: number
|
|
1710
|
+
textOutputTokens?: number
|
|
1711
|
+
reasoningOutputTokens?: number
|
|
1712
|
+
reportingStatus: "complete" | "partial" | "unavailable"
|
|
1713
|
+
}
|
|
1714
|
+
costs: {
|
|
1715
|
+
amounts: Array<{
|
|
1716
|
+
currency: string
|
|
1717
|
+
amountNanos: string
|
|
1718
|
+
}>
|
|
1719
|
+
ratedCallCount: number
|
|
1720
|
+
unpriceableCallCount: number
|
|
1721
|
+
unvaluedCallCount: number
|
|
1722
|
+
}
|
|
1723
|
+
agentId: string
|
|
1724
|
+
}>
|
|
1725
|
+
workflows: Array<{
|
|
1726
|
+
modelCallCount: number
|
|
1727
|
+
usage: {
|
|
1728
|
+
inputTokens?: number
|
|
1729
|
+
outputTokens?: number
|
|
1730
|
+
totalTokens?: number
|
|
1731
|
+
uncachedInputTokens?: number
|
|
1732
|
+
cacheReadInputTokens?: number
|
|
1733
|
+
cacheWriteInputTokens?: number
|
|
1734
|
+
textOutputTokens?: number
|
|
1735
|
+
reasoningOutputTokens?: number
|
|
1736
|
+
reportingStatus: "complete" | "partial" | "unavailable"
|
|
1737
|
+
}
|
|
1738
|
+
costs: {
|
|
1739
|
+
amounts: Array<{
|
|
1740
|
+
currency: string
|
|
1741
|
+
amountNanos: string
|
|
1742
|
+
}>
|
|
1743
|
+
ratedCallCount: number
|
|
1744
|
+
unpriceableCallCount: number
|
|
1745
|
+
unvaluedCallCount: number
|
|
1746
|
+
}
|
|
1747
|
+
workflowId: string
|
|
1748
|
+
}>
|
|
1749
|
+
}
|
|
1750
|
+
}
|
|
1751
|
+
|
|
1752
|
+
export type GetAiAccountingOverviewResponse =
|
|
1753
|
+
GetAiAccountingOverviewResponses[keyof GetAiAccountingOverviewResponses]
|
|
1754
|
+
|
|
1755
|
+
export type ListAiModelCallsData = {
|
|
1756
|
+
body?: never
|
|
1757
|
+
path?: never
|
|
1758
|
+
query: {
|
|
1759
|
+
from: string
|
|
1760
|
+
to: string
|
|
1761
|
+
providerId?: string
|
|
1762
|
+
modelId?: string
|
|
1763
|
+
executionId?: string
|
|
1764
|
+
valuationStatus?: "rated" | "unpriceable" | "unvalued"
|
|
1765
|
+
limit?: string
|
|
1766
|
+
offset?: string
|
|
1767
|
+
}
|
|
1768
|
+
url: "/api/ai/model-calls"
|
|
1769
|
+
}
|
|
1770
|
+
|
|
1771
|
+
export type ListAiModelCallsErrors = {
|
|
1772
|
+
/**
|
|
1773
|
+
* Response for status 400
|
|
1774
|
+
*/
|
|
1775
|
+
400: {
|
|
1776
|
+
error: string
|
|
1777
|
+
}
|
|
1778
|
+
/**
|
|
1779
|
+
* Response for status 501
|
|
1780
|
+
*/
|
|
1781
|
+
501: {
|
|
1782
|
+
error: string
|
|
1783
|
+
}
|
|
1784
|
+
}
|
|
1785
|
+
|
|
1786
|
+
export type ListAiModelCallsError = ListAiModelCallsErrors[keyof ListAiModelCallsErrors]
|
|
1787
|
+
|
|
1788
|
+
export type ListAiModelCallsResponses = {
|
|
1789
|
+
/**
|
|
1790
|
+
* Response for status 200
|
|
1791
|
+
*/
|
|
1792
|
+
200: {
|
|
1793
|
+
items: Array<{
|
|
1794
|
+
usage: {
|
|
1795
|
+
id: string
|
|
1796
|
+
executionId: string
|
|
1797
|
+
attempt: number
|
|
1798
|
+
callId: string
|
|
1799
|
+
providerId: string
|
|
1800
|
+
requestedModelId: string
|
|
1801
|
+
responseModelId?: string
|
|
1802
|
+
responseId: string
|
|
1803
|
+
usage: {
|
|
1804
|
+
inputTokens?: number
|
|
1805
|
+
outputTokens?: number
|
|
1806
|
+
totalTokens?: number
|
|
1807
|
+
uncachedInputTokens?: number
|
|
1808
|
+
cacheReadInputTokens?: number
|
|
1809
|
+
cacheWriteInputTokens?: number
|
|
1810
|
+
textOutputTokens?: number
|
|
1811
|
+
reasoningOutputTokens?: number
|
|
1812
|
+
reportingStatus: "complete" | "partial" | "unavailable"
|
|
1813
|
+
}
|
|
1814
|
+
occurredAt: string
|
|
1815
|
+
recordedAt: string
|
|
1816
|
+
}
|
|
1817
|
+
attribution?:
|
|
1818
|
+
| {
|
|
1819
|
+
kind: "agent"
|
|
1820
|
+
agentId: string
|
|
1821
|
+
agentRunId: string
|
|
1822
|
+
threadId: string
|
|
1823
|
+
}
|
|
1824
|
+
| {
|
|
1825
|
+
kind: "workflowAgent"
|
|
1826
|
+
agentId: string
|
|
1827
|
+
nodeRunId: string
|
|
1828
|
+
workflowId: string
|
|
1829
|
+
workflowRunId: string
|
|
1830
|
+
}
|
|
1831
|
+
cost?:
|
|
1832
|
+
| {
|
|
1833
|
+
status: "rated"
|
|
1834
|
+
billingIdentity: {
|
|
1835
|
+
providerId: string
|
|
1836
|
+
modelId: string
|
|
1837
|
+
}
|
|
1838
|
+
pricingContext: {
|
|
1839
|
+
serviceTier?: string
|
|
1840
|
+
batch?: boolean
|
|
1841
|
+
region?: string
|
|
1842
|
+
inferenceGeo?: string
|
|
1843
|
+
routedProviderId?: string
|
|
1844
|
+
deploymentId?: string
|
|
1845
|
+
inferenceProfileId?: string
|
|
1846
|
+
cacheWriteTtlSeconds?: number
|
|
1847
|
+
mode?: string
|
|
1848
|
+
}
|
|
1849
|
+
priceSource: {
|
|
1850
|
+
sourceId: string
|
|
1851
|
+
sourceEntryId: string
|
|
1852
|
+
sourceVersion: string
|
|
1853
|
+
sourceUrl: string
|
|
1854
|
+
observedAt: string
|
|
1855
|
+
}
|
|
1856
|
+
money: {
|
|
1857
|
+
currency: string
|
|
1858
|
+
amountNanos: string
|
|
1859
|
+
}
|
|
1860
|
+
components: Array<{
|
|
1861
|
+
meter:
|
|
1862
|
+
| "tokens.input.total"
|
|
1863
|
+
| "tokens.input.uncached"
|
|
1864
|
+
| "tokens.input.cacheRead"
|
|
1865
|
+
| "tokens.input.cacheWrite"
|
|
1866
|
+
| "tokens.output.total"
|
|
1867
|
+
| "tokens.output.text"
|
|
1868
|
+
| "tokens.output.reasoning"
|
|
1869
|
+
quantity: string
|
|
1870
|
+
rateAmountNanosPerMillion: string
|
|
1871
|
+
chargeAmountNanos: string
|
|
1872
|
+
}>
|
|
1873
|
+
ratedAt: string
|
|
1874
|
+
}
|
|
1875
|
+
| {
|
|
1876
|
+
status: "unpriceable"
|
|
1877
|
+
billingIdentity?: {
|
|
1878
|
+
providerId: string
|
|
1879
|
+
modelId: string
|
|
1880
|
+
}
|
|
1881
|
+
pricingContext: {
|
|
1882
|
+
serviceTier?: string
|
|
1883
|
+
batch?: boolean
|
|
1884
|
+
region?: string
|
|
1885
|
+
inferenceGeo?: string
|
|
1886
|
+
routedProviderId?: string
|
|
1887
|
+
deploymentId?: string
|
|
1888
|
+
inferenceProfileId?: string
|
|
1889
|
+
cacheWriteTtlSeconds?: number
|
|
1890
|
+
mode?: string
|
|
1891
|
+
}
|
|
1892
|
+
priceSource: {
|
|
1893
|
+
sourceId: string
|
|
1894
|
+
sourceEntryId: string
|
|
1895
|
+
sourceVersion: string
|
|
1896
|
+
sourceUrl: string
|
|
1897
|
+
observedAt: string
|
|
1898
|
+
}
|
|
1899
|
+
reason:
|
|
1900
|
+
| "missingBillingIdentity"
|
|
1901
|
+
| "missingCatalogEntry"
|
|
1902
|
+
| "missingUsageMeter"
|
|
1903
|
+
| "unsupportedPricingDimension"
|
|
1904
|
+
| "invalidUsageForFormula"
|
|
1905
|
+
missingMeters?: Array<
|
|
1906
|
+
| "tokens.input.total"
|
|
1907
|
+
| "tokens.input.uncached"
|
|
1908
|
+
| "tokens.input.cacheRead"
|
|
1909
|
+
| "tokens.input.cacheWrite"
|
|
1910
|
+
| "tokens.output.total"
|
|
1911
|
+
| "tokens.output.text"
|
|
1912
|
+
| "tokens.output.reasoning"
|
|
1913
|
+
>
|
|
1914
|
+
ratedAt: string
|
|
1915
|
+
}
|
|
1916
|
+
valuationStatus: "rated" | "unpriceable" | "unvalued"
|
|
1917
|
+
}>
|
|
1918
|
+
hasMore: boolean
|
|
1919
|
+
total: number
|
|
1920
|
+
}
|
|
1921
|
+
}
|
|
1922
|
+
|
|
1923
|
+
export type ListAiModelCallsResponse = ListAiModelCallsResponses[keyof ListAiModelCallsResponses]
|
|
1924
|
+
|
|
1587
1925
|
export type GetProjectInfoData = {
|
|
1588
1926
|
body?: never
|
|
1589
1927
|
path?: never
|
|
@@ -5058,6 +5396,15 @@ export type GetWorkflowRunResponses = {
|
|
|
5058
5396
|
reasoningOutputTokens?: number
|
|
5059
5397
|
reportingStatus: "complete" | "partial" | "unavailable"
|
|
5060
5398
|
}
|
|
5399
|
+
cost?: {
|
|
5400
|
+
amounts: Array<{
|
|
5401
|
+
currency: string
|
|
5402
|
+
amountNanos: string
|
|
5403
|
+
}>
|
|
5404
|
+
ratedCallCount: number
|
|
5405
|
+
unpriceableCallCount: number
|
|
5406
|
+
unvaluedCallCount: number
|
|
5407
|
+
}
|
|
5061
5408
|
startedAt?: string
|
|
5062
5409
|
completedAt?: string
|
|
5063
5410
|
}
|
|
@@ -5122,12 +5469,197 @@ export type GetWorkflowAgentNodeExecutionResponses = {
|
|
|
5122
5469
|
reasoningOutputTokens?: number
|
|
5123
5470
|
reportingStatus: "complete" | "partial" | "unavailable"
|
|
5124
5471
|
}
|
|
5472
|
+
cost?: {
|
|
5473
|
+
amounts: Array<{
|
|
5474
|
+
currency: string
|
|
5475
|
+
amountNanos: string
|
|
5476
|
+
}>
|
|
5477
|
+
ratedCallCount: number
|
|
5478
|
+
unpriceableCallCount: number
|
|
5479
|
+
unvaluedCallCount: number
|
|
5480
|
+
}
|
|
5125
5481
|
startedAt?: string
|
|
5126
5482
|
completedAt?: string
|
|
5127
5483
|
nodeRunId: string
|
|
5128
5484
|
prompt: string
|
|
5129
|
-
trace?: Array<
|
|
5130
|
-
|
|
5485
|
+
trace?: Array<
|
|
5486
|
+
| {
|
|
5487
|
+
type: "text"
|
|
5488
|
+
text: string
|
|
5489
|
+
/**
|
|
5490
|
+
* Any JSON-compatible value.
|
|
5491
|
+
*/
|
|
5492
|
+
providerMetadata?:
|
|
5493
|
+
| string
|
|
5494
|
+
| number
|
|
5495
|
+
| boolean
|
|
5496
|
+
| Array<unknown>
|
|
5497
|
+
| {
|
|
5498
|
+
[key: string]: unknown
|
|
5499
|
+
}
|
|
5500
|
+
| null
|
|
5501
|
+
}
|
|
5502
|
+
| {
|
|
5503
|
+
type: "reasoning"
|
|
5504
|
+
text: string
|
|
5505
|
+
/**
|
|
5506
|
+
* Any JSON-compatible value.
|
|
5507
|
+
*/
|
|
5508
|
+
providerMetadata?:
|
|
5509
|
+
| string
|
|
5510
|
+
| number
|
|
5511
|
+
| boolean
|
|
5512
|
+
| Array<unknown>
|
|
5513
|
+
| {
|
|
5514
|
+
[key: string]: unknown
|
|
5515
|
+
}
|
|
5516
|
+
| null
|
|
5517
|
+
}
|
|
5518
|
+
| {
|
|
5519
|
+
type: "step-start"
|
|
5520
|
+
}
|
|
5521
|
+
| {
|
|
5522
|
+
type: "file"
|
|
5523
|
+
fileRef: {
|
|
5524
|
+
blobId: string
|
|
5525
|
+
digest: string
|
|
5526
|
+
sizeBytes: number
|
|
5527
|
+
fileName?: string
|
|
5528
|
+
mediaType?: string
|
|
5529
|
+
logicalPath?: string
|
|
5530
|
+
}
|
|
5531
|
+
/**
|
|
5532
|
+
* Any JSON-compatible value.
|
|
5533
|
+
*/
|
|
5534
|
+
providerMetadata?:
|
|
5535
|
+
| string
|
|
5536
|
+
| number
|
|
5537
|
+
| boolean
|
|
5538
|
+
| Array<unknown>
|
|
5539
|
+
| {
|
|
5540
|
+
[key: string]: unknown
|
|
5541
|
+
}
|
|
5542
|
+
| null
|
|
5543
|
+
}
|
|
5544
|
+
| {
|
|
5545
|
+
context:
|
|
5546
|
+
| {
|
|
5547
|
+
kind: "object"
|
|
5548
|
+
ref: {
|
|
5549
|
+
objectTypeId: string
|
|
5550
|
+
primaryId: string
|
|
5551
|
+
}
|
|
5552
|
+
}
|
|
5553
|
+
| {
|
|
5554
|
+
kind: "app-state"
|
|
5555
|
+
id: string
|
|
5556
|
+
label: string
|
|
5557
|
+
description: string
|
|
5558
|
+
/**
|
|
5559
|
+
* Any JSON-compatible value.
|
|
5560
|
+
*/
|
|
5561
|
+
value:
|
|
5562
|
+
| string
|
|
5563
|
+
| number
|
|
5564
|
+
| boolean
|
|
5565
|
+
| Array<unknown>
|
|
5566
|
+
| {
|
|
5567
|
+
[key: string]: unknown
|
|
5568
|
+
}
|
|
5569
|
+
| null
|
|
5570
|
+
}
|
|
5571
|
+
origin: "ambient" | "explicit"
|
|
5572
|
+
type: "context"
|
|
5573
|
+
}
|
|
5574
|
+
| {
|
|
5575
|
+
type: "tool-call"
|
|
5576
|
+
toolCallId: string
|
|
5577
|
+
toolName: string
|
|
5578
|
+
dynamic?: boolean
|
|
5579
|
+
providerExecuted?: boolean
|
|
5580
|
+
/**
|
|
5581
|
+
* Any JSON-compatible value.
|
|
5582
|
+
*/
|
|
5583
|
+
input:
|
|
5584
|
+
| string
|
|
5585
|
+
| number
|
|
5586
|
+
| boolean
|
|
5587
|
+
| Array<unknown>
|
|
5588
|
+
| {
|
|
5589
|
+
[key: string]: unknown
|
|
5590
|
+
}
|
|
5591
|
+
| null
|
|
5592
|
+
/**
|
|
5593
|
+
* Any JSON-compatible value.
|
|
5594
|
+
*/
|
|
5595
|
+
providerMetadata?:
|
|
5596
|
+
| string
|
|
5597
|
+
| number
|
|
5598
|
+
| boolean
|
|
5599
|
+
| Array<unknown>
|
|
5600
|
+
| {
|
|
5601
|
+
[key: string]: unknown
|
|
5602
|
+
}
|
|
5603
|
+
| null
|
|
5604
|
+
state: "output-available"
|
|
5605
|
+
/**
|
|
5606
|
+
* Any JSON-compatible value.
|
|
5607
|
+
*/
|
|
5608
|
+
output:
|
|
5609
|
+
| string
|
|
5610
|
+
| number
|
|
5611
|
+
| boolean
|
|
5612
|
+
| Array<unknown>
|
|
5613
|
+
| {
|
|
5614
|
+
[key: string]: unknown
|
|
5615
|
+
}
|
|
5616
|
+
| null
|
|
5617
|
+
}
|
|
5618
|
+
| {
|
|
5619
|
+
type: "tool-call"
|
|
5620
|
+
toolCallId: string
|
|
5621
|
+
toolName: string
|
|
5622
|
+
dynamic?: boolean
|
|
5623
|
+
providerExecuted?: boolean
|
|
5624
|
+
/**
|
|
5625
|
+
* Any JSON-compatible value.
|
|
5626
|
+
*/
|
|
5627
|
+
input:
|
|
5628
|
+
| string
|
|
5629
|
+
| number
|
|
5630
|
+
| boolean
|
|
5631
|
+
| Array<unknown>
|
|
5632
|
+
| {
|
|
5633
|
+
[key: string]: unknown
|
|
5634
|
+
}
|
|
5635
|
+
| null
|
|
5636
|
+
/**
|
|
5637
|
+
* Any JSON-compatible value.
|
|
5638
|
+
*/
|
|
5639
|
+
providerMetadata?:
|
|
5640
|
+
| string
|
|
5641
|
+
| number
|
|
5642
|
+
| boolean
|
|
5643
|
+
| Array<unknown>
|
|
5644
|
+
| {
|
|
5645
|
+
[key: string]: unknown
|
|
5646
|
+
}
|
|
5647
|
+
| null
|
|
5648
|
+
state: "output-error"
|
|
5649
|
+
errorText: string
|
|
5650
|
+
}
|
|
5651
|
+
>
|
|
5652
|
+
diagnostics?: Array<
|
|
5653
|
+
| string
|
|
5654
|
+
| number
|
|
5655
|
+
| boolean
|
|
5656
|
+
| Array<unknown>
|
|
5657
|
+
| {
|
|
5658
|
+
[key: string]: unknown
|
|
5659
|
+
}
|
|
5660
|
+
| null
|
|
5661
|
+
>
|
|
5662
|
+
failurePhase?: "agent-loop" | "structured-finalizer"
|
|
5131
5663
|
error?: {
|
|
5132
5664
|
code: "internal.unexpected" | "runtime.cancelled" | "agent.execution_failed"
|
|
5133
5665
|
message: string
|
|
@@ -5317,6 +5849,15 @@ export type CancelWorkflowRunResponses = {
|
|
|
5317
5849
|
reasoningOutputTokens?: number
|
|
5318
5850
|
reportingStatus: "complete" | "partial" | "unavailable"
|
|
5319
5851
|
}
|
|
5852
|
+
cost?: {
|
|
5853
|
+
amounts: Array<{
|
|
5854
|
+
currency: string
|
|
5855
|
+
amountNanos: string
|
|
5856
|
+
}>
|
|
5857
|
+
ratedCallCount: number
|
|
5858
|
+
unpriceableCallCount: number
|
|
5859
|
+
unvaluedCallCount: number
|
|
5860
|
+
}
|
|
5320
5861
|
startedAt?: string
|
|
5321
5862
|
completedAt?: string
|
|
5322
5863
|
}
|
|
@@ -7936,6 +8477,7 @@ export type PostAgentThreadMessageResponses = {
|
|
|
7936
8477
|
| "length"
|
|
7937
8478
|
| "content-filter"
|
|
7938
8479
|
| "tool-calls"
|
|
8480
|
+
| "timeout"
|
|
7939
8481
|
| "error"
|
|
7940
8482
|
| "other"
|
|
7941
8483
|
| "unknown"
|
|
@@ -7950,6 +8492,15 @@ export type PostAgentThreadMessageResponses = {
|
|
|
7950
8492
|
reasoningOutputTokens?: number
|
|
7951
8493
|
reportingStatus: "complete" | "partial" | "unavailable"
|
|
7952
8494
|
}
|
|
8495
|
+
cost?: {
|
|
8496
|
+
amounts: Array<{
|
|
8497
|
+
currency: string
|
|
8498
|
+
amountNanos: string
|
|
8499
|
+
}>
|
|
8500
|
+
ratedCallCount: number
|
|
8501
|
+
unpriceableCallCount: number
|
|
8502
|
+
unvaluedCallCount: number
|
|
8503
|
+
}
|
|
7953
8504
|
diagnostics?: Array<{
|
|
7954
8505
|
code:
|
|
7955
8506
|
| "output_file_limit_exceeded"
|
|
@@ -8151,6 +8702,7 @@ export type CancelAgentRunResponses = {
|
|
|
8151
8702
|
| "length"
|
|
8152
8703
|
| "content-filter"
|
|
8153
8704
|
| "tool-calls"
|
|
8705
|
+
| "timeout"
|
|
8154
8706
|
| "error"
|
|
8155
8707
|
| "other"
|
|
8156
8708
|
| "unknown"
|
|
@@ -8165,6 +8717,15 @@ export type CancelAgentRunResponses = {
|
|
|
8165
8717
|
reasoningOutputTokens?: number
|
|
8166
8718
|
reportingStatus: "complete" | "partial" | "unavailable"
|
|
8167
8719
|
}
|
|
8720
|
+
cost?: {
|
|
8721
|
+
amounts: Array<{
|
|
8722
|
+
currency: string
|
|
8723
|
+
amountNanos: string
|
|
8724
|
+
}>
|
|
8725
|
+
ratedCallCount: number
|
|
8726
|
+
unpriceableCallCount: number
|
|
8727
|
+
unvaluedCallCount: number
|
|
8728
|
+
}
|
|
8168
8729
|
diagnostics?: Array<{
|
|
8169
8730
|
code:
|
|
8170
8731
|
| "output_file_limit_exceeded"
|
|
@@ -8269,6 +8830,7 @@ export type RetryAgentRunResponses = {
|
|
|
8269
8830
|
| "length"
|
|
8270
8831
|
| "content-filter"
|
|
8271
8832
|
| "tool-calls"
|
|
8833
|
+
| "timeout"
|
|
8272
8834
|
| "error"
|
|
8273
8835
|
| "other"
|
|
8274
8836
|
| "unknown"
|
|
@@ -8283,6 +8845,15 @@ export type RetryAgentRunResponses = {
|
|
|
8283
8845
|
reasoningOutputTokens?: number
|
|
8284
8846
|
reportingStatus: "complete" | "partial" | "unavailable"
|
|
8285
8847
|
}
|
|
8848
|
+
cost?: {
|
|
8849
|
+
amounts: Array<{
|
|
8850
|
+
currency: string
|
|
8851
|
+
amountNanos: string
|
|
8852
|
+
}>
|
|
8853
|
+
ratedCallCount: number
|
|
8854
|
+
unpriceableCallCount: number
|
|
8855
|
+
unvaluedCallCount: number
|
|
8856
|
+
}
|
|
8286
8857
|
diagnostics?: Array<{
|
|
8287
8858
|
code:
|
|
8288
8859
|
| "output_file_limit_exceeded"
|
|
@@ -8385,6 +8956,7 @@ export type ListAgentThreadRunsResponses = {
|
|
|
8385
8956
|
| "length"
|
|
8386
8957
|
| "content-filter"
|
|
8387
8958
|
| "tool-calls"
|
|
8959
|
+
| "timeout"
|
|
8388
8960
|
| "error"
|
|
8389
8961
|
| "other"
|
|
8390
8962
|
| "unknown"
|
|
@@ -8399,6 +8971,15 @@ export type ListAgentThreadRunsResponses = {
|
|
|
8399
8971
|
reasoningOutputTokens?: number
|
|
8400
8972
|
reportingStatus: "complete" | "partial" | "unavailable"
|
|
8401
8973
|
}
|
|
8974
|
+
cost?: {
|
|
8975
|
+
amounts: Array<{
|
|
8976
|
+
currency: string
|
|
8977
|
+
amountNanos: string
|
|
8978
|
+
}>
|
|
8979
|
+
ratedCallCount: number
|
|
8980
|
+
unpriceableCallCount: number
|
|
8981
|
+
unvaluedCallCount: number
|
|
8982
|
+
}
|
|
8402
8983
|
diagnostics?: Array<{
|
|
8403
8984
|
code:
|
|
8404
8985
|
| "output_file_limit_exceeded"
|
|
@@ -8498,6 +9079,7 @@ export type GetAgentRunResponses = {
|
|
|
8498
9079
|
| "length"
|
|
8499
9080
|
| "content-filter"
|
|
8500
9081
|
| "tool-calls"
|
|
9082
|
+
| "timeout"
|
|
8501
9083
|
| "error"
|
|
8502
9084
|
| "other"
|
|
8503
9085
|
| "unknown"
|
|
@@ -8512,6 +9094,15 @@ export type GetAgentRunResponses = {
|
|
|
8512
9094
|
reasoningOutputTokens?: number
|
|
8513
9095
|
reportingStatus: "complete" | "partial" | "unavailable"
|
|
8514
9096
|
}
|
|
9097
|
+
cost?: {
|
|
9098
|
+
amounts: Array<{
|
|
9099
|
+
currency: string
|
|
9100
|
+
amountNanos: string
|
|
9101
|
+
}>
|
|
9102
|
+
ratedCallCount: number
|
|
9103
|
+
unpriceableCallCount: number
|
|
9104
|
+
unvaluedCallCount: number
|
|
9105
|
+
}
|
|
8515
9106
|
diagnostics?: Array<{
|
|
8516
9107
|
code:
|
|
8517
9108
|
| "output_file_limit_exceeded"
|
|
@@ -9987,6 +10578,14 @@ export type ListProjectionsResponses = {
|
|
|
9987
10578
|
targetObjectTypeId: string
|
|
9988
10579
|
}
|
|
9989
10580
|
}
|
|
10581
|
+
conflictResolution:
|
|
10582
|
+
| {
|
|
10583
|
+
strategy: "editsWin"
|
|
10584
|
+
}
|
|
10585
|
+
| {
|
|
10586
|
+
strategy: "mostRecent"
|
|
10587
|
+
sourceTimestamp: string
|
|
10588
|
+
}
|
|
9990
10589
|
latestRun:
|
|
9991
10590
|
| {
|
|
9992
10591
|
id: string
|
|
@@ -10541,6 +11140,14 @@ export type GetProjectionResponses = {
|
|
|
10541
11140
|
targetObjectTypeId: string
|
|
10542
11141
|
}
|
|
10543
11142
|
}
|
|
11143
|
+
conflictResolution:
|
|
11144
|
+
| {
|
|
11145
|
+
strategy: "editsWin"
|
|
11146
|
+
}
|
|
11147
|
+
| {
|
|
11148
|
+
strategy: "mostRecent"
|
|
11149
|
+
sourceTimestamp: string
|
|
11150
|
+
}
|
|
10544
11151
|
latestRun:
|
|
10545
11152
|
| {
|
|
10546
11153
|
id: string
|