@tai42/api-client 23.0.0 → 25.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/dist/client/conversations-client.d.ts +190 -20
  2. package/dist/client/conversations-client.d.ts.map +1 -1
  3. package/dist/client/index.d.ts +197 -27
  4. package/dist/client/index.d.ts.map +1 -1
  5. package/dist/client/marketplace-client.d.ts +3 -3
  6. package/dist/client/states-client.d.ts +2 -2
  7. package/dist/client/tools-client.d.ts +2 -2
  8. package/dist/generated/api-routes.d.ts +12 -0
  9. package/dist/generated/api-routes.d.ts.map +1 -1
  10. package/dist/generated/api-routes.js +3 -0
  11. package/dist/generated/api-routes.js.map +1 -1
  12. package/dist/generated/openapi-schemas.d.ts +1090 -72
  13. package/dist/generated/openapi-schemas.d.ts.map +1 -1
  14. package/dist/generated/openapi-schemas.js +29 -16
  15. package/dist/generated/openapi-schemas.js.map +1 -1
  16. package/dist/generated/served-schemas.d.ts +537 -75
  17. package/dist/generated/served-schemas.d.ts.map +1 -1
  18. package/dist/generated/served-schemas.js +504 -83
  19. package/dist/generated/served-schemas.js.map +1 -1
  20. package/dist/schemas/connectors.d.ts +4 -4
  21. package/dist/schemas/connectors.d.ts.map +1 -1
  22. package/dist/schemas/conversations.d.ts +360 -23
  23. package/dist/schemas/conversations.d.ts.map +1 -1
  24. package/dist/schemas/conversations.js +24 -9
  25. package/dist/schemas/conversations.js.map +1 -1
  26. package/dist/schemas/interactions.d.ts +47 -9
  27. package/dist/schemas/interactions.d.ts.map +1 -1
  28. package/dist/schemas/interactions.js +28 -7
  29. package/dist/schemas/interactions.js.map +1 -1
  30. package/dist/schemas/marketplace.d.ts +5 -5
  31. package/dist/schemas/marketplace.d.ts.map +1 -1
  32. package/dist/schemas/marketplace.js +5 -7
  33. package/dist/schemas/marketplace.js.map +1 -1
  34. package/dist/schemas/presets.d.ts +2 -2
  35. package/dist/schemas/served.d.ts +494 -73
  36. package/dist/schemas/served.d.ts.map +1 -1
  37. package/dist/schemas/states.d.ts +4 -4
  38. package/dist/schemas/tools.d.ts +4 -4
  39. package/dist/tool-runs.d.ts +2 -2
  40. package/package.json +1 -1
  41. package/src/generated/api-routes.ts +3 -0
  42. package/src/generated/openapi-schemas.ts +49 -16
  43. package/src/generated/served-schemas.ts +506 -83
  44. package/src/schemas/conversations.ts +24 -9
  45. package/src/schemas/interactions.ts +28 -7
  46. package/src/schemas/marketplace.ts +5 -7
@@ -37,6 +37,7 @@ export declare function createApiClient(config: ApiConfig): {
37
37
  tags: string[];
38
38
  trust_tier: string;
39
39
  pricing: string;
40
+ premium: boolean;
40
41
  latest_version: string | null;
41
42
  downloads: number;
42
43
  updated_at: string;
@@ -49,7 +50,6 @@ export declare function createApiClient(config: ApiConfig): {
49
50
  name: string;
50
51
  count: number;
51
52
  }[];
52
- premium?: boolean | null | undefined;
53
53
  }[];
54
54
  total: number;
55
55
  page: number;
@@ -61,6 +61,7 @@ export declare function createApiClient(config: ApiConfig): {
61
61
  display_name: string | null;
62
62
  icon_url: string | null;
63
63
  package: string | null;
64
+ source: "pypi" | "github" | "spec";
64
65
  description: string;
65
66
  readme_md: string | null;
66
67
  license: string | null;
@@ -70,6 +71,7 @@ export declare function createApiClient(config: ApiConfig): {
70
71
  tags: string[];
71
72
  trust_tier: string;
72
73
  pricing: string;
74
+ premium: boolean;
73
75
  downloads: number;
74
76
  latest: {
75
77
  version: string;
@@ -102,9 +104,7 @@ export declare function createApiClient(config: ApiConfig): {
102
104
  status: string;
103
105
  published_at: string | null;
104
106
  }[];
105
- source?: "pypi" | "github" | "spec" | null | undefined;
106
107
  docs_url?: string | null | undefined;
107
- premium?: boolean | null | undefined;
108
108
  }>;
109
109
  readonly listMarketplaceCategories: (signal?: AbortSignal) => Promise<string[]>;
110
110
  readonly listMarketplaceKinds: (signal?: AbortSignal) => Promise<string[]>;
@@ -1168,7 +1168,6 @@ export declare function createApiClient(config: ApiConfig): {
1168
1168
  } | null;
1169
1169
  channel: null;
1170
1170
  door: "api";
1171
- error_reply_text: string | null;
1172
1171
  execution_key: string;
1173
1172
  execution_key_fingerprint: string;
1174
1173
  extras_expr: {
@@ -1189,6 +1188,20 @@ export declare function createApiClient(config: ApiConfig): {
1189
1188
  id?: string | undefined;
1190
1189
  kwargs?: Record<string, unknown> | undefined;
1191
1190
  } | null;
1191
+ reply_texts: {
1192
+ error: string | null;
1193
+ pairing_code: string | null;
1194
+ pairing_code_invalid: string | null;
1195
+ pairing_link_unavailable: string | null;
1196
+ pairing_linked: string | null;
1197
+ pairing_not_linked: string | null;
1198
+ pairing_unlink_unavailable: string | null;
1199
+ pairing_unlinked: string | null;
1200
+ rejected_could_not_receive: string | null;
1201
+ rejected_too_large: string | null;
1202
+ rejected_unsupported_type: string | null;
1203
+ slow_down: string | null;
1204
+ } | null;
1192
1205
  resume_expr: {
1193
1206
  content?: string | undefined;
1194
1207
  id?: string | undefined;
@@ -1212,7 +1225,6 @@ export declare function createApiClient(config: ApiConfig): {
1212
1225
  } | null;
1213
1226
  channel: string;
1214
1227
  door: "channel";
1215
- error_reply_text: string | null;
1216
1228
  execution_key: string;
1217
1229
  execution_key_fingerprint: string;
1218
1230
  extras_expr: {
@@ -1233,6 +1245,20 @@ export declare function createApiClient(config: ApiConfig): {
1233
1245
  id?: string | undefined;
1234
1246
  kwargs?: Record<string, unknown> | undefined;
1235
1247
  } | null;
1248
+ reply_texts: {
1249
+ error: string | null;
1250
+ pairing_code: string | null;
1251
+ pairing_code_invalid: string | null;
1252
+ pairing_link_unavailable: string | null;
1253
+ pairing_linked: string | null;
1254
+ pairing_not_linked: string | null;
1255
+ pairing_unlink_unavailable: string | null;
1256
+ pairing_unlinked: string | null;
1257
+ rejected_could_not_receive: string | null;
1258
+ rejected_too_large: string | null;
1259
+ rejected_unsupported_type: string | null;
1260
+ slow_down: string | null;
1261
+ } | null;
1236
1262
  resume_expr: {
1237
1263
  content?: string | undefined;
1238
1264
  id?: string | undefined;
@@ -1263,7 +1289,6 @@ export declare function createApiClient(config: ApiConfig): {
1263
1289
  } | null;
1264
1290
  channel: null;
1265
1291
  door: "api";
1266
- error_reply_text: string | null;
1267
1292
  execution_key: string;
1268
1293
  execution_key_fingerprint: string;
1269
1294
  extras_expr: {
@@ -1284,6 +1309,20 @@ export declare function createApiClient(config: ApiConfig): {
1284
1309
  id?: string | undefined;
1285
1310
  kwargs?: Record<string, unknown> | undefined;
1286
1311
  } | null;
1312
+ reply_texts: {
1313
+ error: string | null;
1314
+ pairing_code: string | null;
1315
+ pairing_code_invalid: string | null;
1316
+ pairing_link_unavailable: string | null;
1317
+ pairing_linked: string | null;
1318
+ pairing_not_linked: string | null;
1319
+ pairing_unlink_unavailable: string | null;
1320
+ pairing_unlinked: string | null;
1321
+ rejected_could_not_receive: string | null;
1322
+ rejected_too_large: string | null;
1323
+ rejected_unsupported_type: string | null;
1324
+ slow_down: string | null;
1325
+ } | null;
1287
1326
  resume_expr: {
1288
1327
  content?: string | undefined;
1289
1328
  id?: string | undefined;
@@ -1307,7 +1346,6 @@ export declare function createApiClient(config: ApiConfig): {
1307
1346
  } | null;
1308
1347
  channel: string;
1309
1348
  door: "channel";
1310
- error_reply_text: string | null;
1311
1349
  execution_key: string;
1312
1350
  execution_key_fingerprint: string;
1313
1351
  extras_expr: {
@@ -1328,6 +1366,20 @@ export declare function createApiClient(config: ApiConfig): {
1328
1366
  id?: string | undefined;
1329
1367
  kwargs?: Record<string, unknown> | undefined;
1330
1368
  } | null;
1369
+ reply_texts: {
1370
+ error: string | null;
1371
+ pairing_code: string | null;
1372
+ pairing_code_invalid: string | null;
1373
+ pairing_link_unavailable: string | null;
1374
+ pairing_linked: string | null;
1375
+ pairing_not_linked: string | null;
1376
+ pairing_unlink_unavailable: string | null;
1377
+ pairing_unlinked: string | null;
1378
+ rejected_could_not_receive: string | null;
1379
+ rejected_too_large: string | null;
1380
+ rejected_unsupported_type: string | null;
1381
+ slow_down: string | null;
1382
+ } | null;
1331
1383
  resume_expr: {
1332
1384
  content?: string | undefined;
1333
1385
  id?: string | undefined;
@@ -1353,7 +1405,7 @@ export declare function createApiClient(config: ApiConfig): {
1353
1405
  items: {
1354
1406
  client_address: string;
1355
1407
  last_activity_at: number;
1356
- last_delivery_status: "superseded" | "failed" | "silent" | "merged" | "accepted" | "pending_delivery" | "provisional" | "delivered" | "shed";
1408
+ last_delivery_status: "superseded" | "failed" | "sending" | "silent" | "merged" | "accepted" | "pending_delivery" | "provisional" | "delivered" | "shed" | "outcome_unknown";
1357
1409
  message_count: number;
1358
1410
  thread_id: string;
1359
1411
  }[];
@@ -1463,7 +1515,6 @@ export declare function createApiClient(config: ApiConfig): {
1463
1515
  date_unavailable: string | null;
1464
1516
  failed: string | null;
1465
1517
  network_error: string | null;
1466
- update_failed: string | null;
1467
1518
  } | null;
1468
1519
  submitted: {
1469
1520
  heading: string | null;
@@ -1478,14 +1529,25 @@ export declare function createApiClient(config: ApiConfig): {
1478
1529
  form: {
1479
1530
  back: string | null;
1480
1531
  cancel: string | null;
1532
+ error_line: string | null;
1481
1533
  fields: Record<string, {
1534
+ add_item: string | null;
1482
1535
  choice_label: string | null;
1536
+ false_label: string | null;
1483
1537
  invalid: string | null;
1538
+ item_label: string | null;
1539
+ length_hint: string | null;
1540
+ no_items: string | null;
1541
+ remove_item: string | null;
1542
+ required: string | null;
1543
+ true_label: string | null;
1484
1544
  }>;
1485
1545
  open: string | null;
1486
1546
  review_empty: string | null;
1547
+ step_progress: string | null;
1487
1548
  submit: string | null;
1488
1549
  title: string | null;
1550
+ update_failed: string | null;
1489
1551
  } | null;
1490
1552
  lines: {
1491
1553
  answer_link: string | null;
@@ -1511,13 +1573,30 @@ export declare function createApiClient(config: ApiConfig): {
1511
1573
  } | null;
1512
1574
  }[] | null;
1513
1575
  answer_status: "error" | "superseded" | "answered" | "silent" | "merged" | null;
1576
+ ask: {
1577
+ answer_format: string | null;
1578
+ attempts: number | null;
1579
+ interaction_id: string | null;
1580
+ sensitive: boolean;
1581
+ timed_out_attempts: number[] | null;
1582
+ } | null;
1583
+ ask_reply: {
1584
+ answer: unknown;
1585
+ answered_at: string | null;
1586
+ medium_message_id: string | null;
1587
+ reply_to: {
1588
+ message_id: string;
1589
+ status: "found" | "not_found" | "sensitive" | "no_text";
1590
+ text: string | null;
1591
+ } | null;
1592
+ } | null;
1514
1593
  attempts: number | null;
1515
1594
  callback_url: string | null;
1516
1595
  caller_principal: string | null;
1517
1596
  channel: string | null;
1518
1597
  client_address: string;
1519
1598
  created_at: number;
1520
- delivery_status: "superseded" | "failed" | "silent" | "merged" | "accepted" | "pending_delivery" | "provisional" | "delivered" | "shed";
1599
+ delivery_status: "superseded" | "failed" | "sending" | "silent" | "merged" | "accepted" | "pending_delivery" | "provisional" | "delivered" | "shed" | "outcome_unknown";
1521
1600
  door: "channel" | "api";
1522
1601
  error: string | null;
1523
1602
  inbound_attachments: {
@@ -1537,19 +1616,31 @@ export declare function createApiClient(config: ApiConfig): {
1537
1616
  longitude: number;
1538
1617
  name: string | null;
1539
1618
  } | null;
1619
+ inbound_message_id: string | null;
1620
+ inbound_reply_to: {
1621
+ message_id: string;
1622
+ status: "found" | "not_found" | "sensitive" | "no_text";
1623
+ text: string | null;
1624
+ } | null;
1540
1625
  inbound_text: string;
1541
1626
  message_id: string;
1542
1627
  operator_send: boolean;
1543
- origin: "operator" | "client";
1628
+ origin: "operator" | "client" | "send";
1544
1629
  our_identity: string | null;
1545
- outbound_message_ids: string[] | null;
1546
- pending_receipt: "superseded" | "failed" | "silent" | "merged" | "accepted" | "pending_delivery" | "provisional" | "delivered" | "shed" | null;
1630
+ pending_receipt: "superseded" | "failed" | "sending" | "silent" | "merged" | "accepted" | "pending_delivery" | "provisional" | "delivered" | "shed" | "outcome_unknown" | null;
1547
1631
  provider_message_id: string | null;
1548
1632
  route_missing: boolean;
1549
1633
  route_name: string;
1634
+ sends: {
1635
+ chars: number;
1636
+ part: number;
1637
+ provider_message_ids: string[];
1638
+ }[];
1639
+ sent_by: "channel" | "ask" | "notify" | "notice" | null;
1550
1640
  submitted_by: string | null;
1551
1641
  successor_id: string | null;
1552
1642
  thread_id: string;
1643
+ turn_message_id: string | null;
1553
1644
  updated_at: number;
1554
1645
  }[];
1555
1646
  next_page: number | null;
@@ -1660,7 +1751,6 @@ export declare function createApiClient(config: ApiConfig): {
1660
1751
  date_unavailable: string | null;
1661
1752
  failed: string | null;
1662
1753
  network_error: string | null;
1663
- update_failed: string | null;
1664
1754
  } | null;
1665
1755
  submitted: {
1666
1756
  heading: string | null;
@@ -1675,14 +1765,25 @@ export declare function createApiClient(config: ApiConfig): {
1675
1765
  form: {
1676
1766
  back: string | null;
1677
1767
  cancel: string | null;
1768
+ error_line: string | null;
1678
1769
  fields: Record<string, {
1770
+ add_item: string | null;
1679
1771
  choice_label: string | null;
1772
+ false_label: string | null;
1680
1773
  invalid: string | null;
1774
+ item_label: string | null;
1775
+ length_hint: string | null;
1776
+ no_items: string | null;
1777
+ remove_item: string | null;
1778
+ required: string | null;
1779
+ true_label: string | null;
1681
1780
  }>;
1682
1781
  open: string | null;
1683
1782
  review_empty: string | null;
1783
+ step_progress: string | null;
1684
1784
  submit: string | null;
1685
1785
  title: string | null;
1786
+ update_failed: string | null;
1686
1787
  } | null;
1687
1788
  lines: {
1688
1789
  answer_link: string | null;
@@ -1708,13 +1809,30 @@ export declare function createApiClient(config: ApiConfig): {
1708
1809
  } | null;
1709
1810
  }[] | null;
1710
1811
  answer_status: "error" | "superseded" | "answered" | "silent" | "merged" | null;
1812
+ ask: {
1813
+ answer_format: string | null;
1814
+ attempts: number | null;
1815
+ interaction_id: string | null;
1816
+ sensitive: boolean;
1817
+ timed_out_attempts: number[] | null;
1818
+ } | null;
1819
+ ask_reply: {
1820
+ answer: unknown;
1821
+ answered_at: string | null;
1822
+ medium_message_id: string | null;
1823
+ reply_to: {
1824
+ message_id: string;
1825
+ status: "found" | "not_found" | "sensitive" | "no_text";
1826
+ text: string | null;
1827
+ } | null;
1828
+ } | null;
1711
1829
  attempts: number | null;
1712
1830
  callback_url: string | null;
1713
1831
  caller_principal: string | null;
1714
1832
  channel: string | null;
1715
1833
  client_address: string;
1716
1834
  created_at: number;
1717
- delivery_status: "superseded" | "failed" | "silent" | "merged" | "accepted" | "pending_delivery" | "provisional" | "delivered" | "shed";
1835
+ delivery_status: "superseded" | "failed" | "sending" | "silent" | "merged" | "accepted" | "pending_delivery" | "provisional" | "delivered" | "shed" | "outcome_unknown";
1718
1836
  door: "channel" | "api";
1719
1837
  error: string | null;
1720
1838
  inbound_attachments: {
@@ -1734,19 +1852,31 @@ export declare function createApiClient(config: ApiConfig): {
1734
1852
  longitude: number;
1735
1853
  name: string | null;
1736
1854
  } | null;
1855
+ inbound_message_id: string | null;
1856
+ inbound_reply_to: {
1857
+ message_id: string;
1858
+ status: "found" | "not_found" | "sensitive" | "no_text";
1859
+ text: string | null;
1860
+ } | null;
1737
1861
  inbound_text: string;
1738
1862
  message_id: string;
1739
1863
  operator_send: boolean;
1740
- origin: "operator" | "client";
1864
+ origin: "operator" | "client" | "send";
1741
1865
  our_identity: string | null;
1742
- outbound_message_ids: string[] | null;
1743
- pending_receipt: "superseded" | "failed" | "silent" | "merged" | "accepted" | "pending_delivery" | "provisional" | "delivered" | "shed" | null;
1866
+ pending_receipt: "superseded" | "failed" | "sending" | "silent" | "merged" | "accepted" | "pending_delivery" | "provisional" | "delivered" | "shed" | "outcome_unknown" | null;
1744
1867
  provider_message_id: string | null;
1745
1868
  route_missing: boolean;
1746
1869
  route_name: string;
1870
+ sends: {
1871
+ chars: number;
1872
+ part: number;
1873
+ provider_message_ids: string[];
1874
+ }[];
1875
+ sent_by: "channel" | "ask" | "notify" | "notice" | null;
1747
1876
  submitted_by: string | null;
1748
1877
  successor_id: string | null;
1749
1878
  thread_id: string;
1879
+ turn_message_id: string | null;
1750
1880
  updated_at: number;
1751
1881
  }[];
1752
1882
  next_page: number | null;
@@ -2028,7 +2158,6 @@ export declare function createApiClient(config: ApiConfig): {
2028
2158
  date_unavailable: string | null;
2029
2159
  failed: string | null;
2030
2160
  network_error: string | null;
2031
- update_failed: string | null;
2032
2161
  } | null;
2033
2162
  submitted: {
2034
2163
  heading: string | null;
@@ -2043,14 +2172,25 @@ export declare function createApiClient(config: ApiConfig): {
2043
2172
  form: {
2044
2173
  back: string | null;
2045
2174
  cancel: string | null;
2175
+ error_line: string | null;
2046
2176
  fields: Record<string, {
2177
+ add_item: string | null;
2047
2178
  choice_label: string | null;
2179
+ false_label: string | null;
2048
2180
  invalid: string | null;
2181
+ item_label: string | null;
2182
+ length_hint: string | null;
2183
+ no_items: string | null;
2184
+ remove_item: string | null;
2185
+ required: string | null;
2186
+ true_label: string | null;
2049
2187
  }>;
2050
2188
  open: string | null;
2051
2189
  review_empty: string | null;
2190
+ step_progress: string | null;
2052
2191
  submit: string | null;
2053
2192
  title: string | null;
2193
+ update_failed: string | null;
2054
2194
  } | null;
2055
2195
  lines: {
2056
2196
  answer_link: string | null;
@@ -2076,13 +2216,30 @@ export declare function createApiClient(config: ApiConfig): {
2076
2216
  } | null;
2077
2217
  }[] | null;
2078
2218
  answer_status: "error" | "superseded" | "answered" | "silent" | "merged" | null;
2219
+ ask: {
2220
+ answer_format: string | null;
2221
+ attempts: number | null;
2222
+ interaction_id: string | null;
2223
+ sensitive: boolean;
2224
+ timed_out_attempts: number[] | null;
2225
+ } | null;
2226
+ ask_reply: {
2227
+ answer: unknown;
2228
+ answered_at: string | null;
2229
+ medium_message_id: string | null;
2230
+ reply_to: {
2231
+ message_id: string;
2232
+ status: "found" | "not_found" | "sensitive" | "no_text";
2233
+ text: string | null;
2234
+ } | null;
2235
+ } | null;
2079
2236
  attempts: number | null;
2080
2237
  callback_url: string | null;
2081
2238
  caller_principal: string | null;
2082
2239
  channel: string | null;
2083
2240
  client_address: string;
2084
2241
  created_at: number;
2085
- delivery_status: "superseded" | "failed" | "silent" | "merged" | "accepted" | "pending_delivery" | "provisional" | "delivered" | "shed";
2242
+ delivery_status: "superseded" | "failed" | "sending" | "silent" | "merged" | "accepted" | "pending_delivery" | "provisional" | "delivered" | "shed" | "outcome_unknown";
2086
2243
  door: "channel" | "api";
2087
2244
  error: string | null;
2088
2245
  inbound_attachments: {
@@ -2102,19 +2259,31 @@ export declare function createApiClient(config: ApiConfig): {
2102
2259
  longitude: number;
2103
2260
  name: string | null;
2104
2261
  } | null;
2262
+ inbound_message_id: string | null;
2263
+ inbound_reply_to: {
2264
+ message_id: string;
2265
+ status: "found" | "not_found" | "sensitive" | "no_text";
2266
+ text: string | null;
2267
+ } | null;
2105
2268
  inbound_text: string;
2106
2269
  message_id: string;
2107
2270
  operator_send: boolean;
2108
- origin: "operator" | "client";
2271
+ origin: "operator" | "client" | "send";
2109
2272
  our_identity: string | null;
2110
- outbound_message_ids: string[] | null;
2111
- pending_receipt: "superseded" | "failed" | "silent" | "merged" | "accepted" | "pending_delivery" | "provisional" | "delivered" | "shed" | null;
2273
+ pending_receipt: "superseded" | "failed" | "sending" | "silent" | "merged" | "accepted" | "pending_delivery" | "provisional" | "delivered" | "shed" | "outcome_unknown" | null;
2112
2274
  provider_message_id: string | null;
2113
2275
  route_missing: boolean;
2114
2276
  route_name: string;
2277
+ sends: {
2278
+ chars: number;
2279
+ part: number;
2280
+ provider_message_ids: string[];
2281
+ }[];
2282
+ sent_by: "channel" | "ask" | "notify" | "notice" | null;
2115
2283
  submitted_by: string | null;
2116
2284
  successor_id: string | null;
2117
2285
  thread_id: string;
2286
+ turn_message_id: string | null;
2118
2287
  updated_at: number;
2119
2288
  }[];
2120
2289
  total: number;
@@ -2127,6 +2296,7 @@ export declare function createApiClient(config: ApiConfig): {
2127
2296
  thread_id: string;
2128
2297
  }>;
2129
2298
  readonly deleteConversationPerson: (personId: string) => Promise<{
2299
+ absorbed_person_ids: string[];
2130
2300
  erased: boolean;
2131
2301
  person_id: string;
2132
2302
  removed: number;
@@ -4096,7 +4266,7 @@ export declare function createApiClient(config: ApiConfig): {
4096
4266
  last_error: string | null;
4097
4267
  run_id: string | null;
4098
4268
  states: string[];
4099
- status: "running" | "failed" | "calls" | "pending";
4269
+ status: "running" | "failed" | "pending" | "calls";
4100
4270
  subjects: {
4101
4271
  state: string;
4102
4272
  subject: {
@@ -4113,7 +4283,7 @@ export declare function createApiClient(config: ApiConfig): {
4113
4283
  readonly retryPendingSave: (id: string) => Promise<{
4114
4284
  id: string;
4115
4285
  last_error: string | null;
4116
- status: "running" | "failed" | "applied" | "calls" | "pending";
4286
+ status: "running" | "failed" | "applied" | "pending" | "calls";
4117
4287
  }>;
4118
4288
  readonly discardPendingSave: (id: string) => Promise<{
4119
4289
  discarded: string;
@@ -4457,7 +4627,7 @@ export declare function createApiClient(config: ApiConfig): {
4457
4627
  group_id: string | null;
4458
4628
  id: string;
4459
4629
  media: Record<string, unknown>[] | null;
4460
- on_expiry: "kill" | "resume" | null;
4630
+ on_expiry: "resume" | "kill" | null;
4461
4631
  payload: Record<string, unknown> | null;
4462
4632
  question: string | null;
4463
4633
  recipient: string | null;
@@ -4582,7 +4752,7 @@ export declare function createApiClient(config: ApiConfig): {
4582
4752
  group_id: string | null;
4583
4753
  id: string;
4584
4754
  media: Record<string, unknown>[] | null;
4585
- on_expiry: "kill" | "resume" | null;
4755
+ on_expiry: "resume" | "kill" | null;
4586
4756
  payload: Record<string, unknown> | null;
4587
4757
  question: string | null;
4588
4758
  recipient: string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/client/index.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAoCzC,YAAY,EACV,iBAAiB,EACjB,UAAU,EACV,aAAa,EACb,kBAAkB,EAClB,cAAc,EACd,cAAc,GACf,MAAM,eAAe,CAAC;AACvB,YAAY,EACV,aAAa,EACb,oBAAoB,EACpB,qBAAqB,EACrB,gBAAgB,GACjB,MAAM,qBAAqB,CAAC;AAC7B,YAAY,EACV,8BAA8B,EAC9B,yBA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAjDhnU;;;OAGG;;;;;;IAEH;;iCAE6B;;EAuChC;AAED,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC"}
@@ -69,6 +69,7 @@ export declare function marketplaceClient(t: Transport): {
69
69
  tags: string[];
70
70
  trust_tier: string;
71
71
  pricing: string;
72
+ premium: boolean;
72
73
  latest_version: string | null;
73
74
  downloads: number;
74
75
  updated_at: string;
@@ -81,7 +82,6 @@ export declare function marketplaceClient(t: Transport): {
81
82
  name: string;
82
83
  count: number;
83
84
  }[];
84
- premium?: boolean | null | undefined;
85
85
  }[];
86
86
  total: number;
87
87
  page: number;
@@ -93,6 +93,7 @@ export declare function marketplaceClient(t: Transport): {
93
93
  display_name: string | null;
94
94
  icon_url: string | null;
95
95
  package: string | null;
96
+ source: "pypi" | "github" | "spec";
96
97
  description: string;
97
98
  readme_md: string | null;
98
99
  license: string | null;
@@ -102,6 +103,7 @@ export declare function marketplaceClient(t: Transport): {
102
103
  tags: string[];
103
104
  trust_tier: string;
104
105
  pricing: string;
106
+ premium: boolean;
105
107
  downloads: number;
106
108
  latest: {
107
109
  version: string;
@@ -134,9 +136,7 @@ export declare function marketplaceClient(t: Transport): {
134
136
  status: string;
135
137
  published_at: string | null;
136
138
  }[];
137
- source?: "pypi" | "github" | "spec" | null | undefined;
138
139
  docs_url?: string | null | undefined;
139
- premium?: boolean | null | undefined;
140
140
  }>;
141
141
  listMarketplaceCategories: (signal?: AbortSignal) => Promise<string[]>;
142
142
  listMarketplaceKinds: (signal?: AbortSignal) => Promise<string[]>;
@@ -608,7 +608,7 @@ export declare function statesClient(t: Transport): {
608
608
  last_error: string | null;
609
609
  run_id: string | null;
610
610
  states: string[];
611
- status: "running" | "failed" | "calls" | "pending";
611
+ status: "running" | "failed" | "pending" | "calls";
612
612
  subjects: {
613
613
  state: string;
614
614
  subject: {
@@ -625,7 +625,7 @@ export declare function statesClient(t: Transport): {
625
625
  retryPendingSave: (id: string) => Promise<{
626
626
  id: string;
627
627
  last_error: string | null;
628
- status: "running" | "failed" | "applied" | "calls" | "pending";
628
+ status: "running" | "failed" | "applied" | "pending" | "calls";
629
629
  }>;
630
630
  discardPendingSave: (id: string) => Promise<{
631
631
  discarded: string;
@@ -44,7 +44,7 @@ export declare function toolsClient(t: Transport): {
44
44
  group_id: string | null;
45
45
  id: string;
46
46
  media: Record<string, unknown>[] | null;
47
- on_expiry: "kill" | "resume" | null;
47
+ on_expiry: "resume" | "kill" | null;
48
48
  payload: Record<string, unknown> | null;
49
49
  question: string | null;
50
50
  recipient: string | null;
@@ -169,7 +169,7 @@ export declare function toolsClient(t: Transport): {
169
169
  group_id: string | null;
170
170
  id: string;
171
171
  media: Record<string, unknown>[] | null;
172
- on_expiry: "kill" | "resume" | null;
172
+ on_expiry: "resume" | "kill" | null;
173
173
  payload: Record<string, unknown> | null;
174
174
  question: string | null;
175
175
  recipient: string | null;
@@ -55,6 +55,10 @@ export declare const apiRoutes: {
55
55
  readonly method: "DELETE";
56
56
  readonly path: "/api/conversations/{route_name}/thread";
57
57
  };
58
+ readonly delete_api_hook_runs_id: {
59
+ readonly method: "DELETE";
60
+ readonly path: "/api/hook-runs/{id}";
61
+ };
58
62
  readonly delete_api_hooks_name: {
59
63
  readonly method: "DELETE";
60
64
  readonly path: "/api/hooks/{name}";
@@ -283,6 +287,10 @@ export declare const apiRoutes: {
283
287
  readonly method: "GET";
284
288
  readonly path: "/api/fleet/workers";
285
289
  };
290
+ readonly get_api_hook_runs: {
291
+ readonly method: "GET";
292
+ readonly path: "/api/hook-runs";
293
+ };
286
294
  readonly get_api_hooks: {
287
295
  readonly method: "GET";
288
296
  readonly path: "/api/hooks";
@@ -743,6 +751,10 @@ export declare const apiRoutes: {
743
751
  readonly method: "POST";
744
752
  readonly path: "/api/fleet/reload-config";
745
753
  };
754
+ readonly post_api_hook_runs_id_retry: {
755
+ readonly method: "POST";
756
+ readonly path: "/api/hook-runs/{id}/retry";
757
+ };
746
758
  readonly post_api_hooks: {
747
759
  readonly method: "POST";
748
760
  readonly path: "/api/hooks";
@@ -1 +1 @@
1
- {"version":3,"file":"api-routes.d.ts","sourceRoot":"","sources":["../../src/generated/api-routes.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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