tako-sdk 1.0.3 → 1.0.5

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/index.d.cts CHANGED
@@ -270,61 +270,22 @@ declare function KnowledgeCardMethodologyToJSONTyped(value?: KnowledgeCardMethod
270
270
  * Do not edit the class manually.
271
271
  */
272
272
  /**
273
- *
273
+ * Public source taxonomy for the SDK card surfaces (v3 search, v1 answer,
274
+ * agent). Symmetric with the request taxonomy {data, web}. Distinct from the
275
+ * internal/legacy CardSourceIndex used by the internal /v1/knowledge_search
276
+ * path, which carries additional internal-only index names.
274
277
  * @export
275
278
  */
276
- declare const CardSourceIndex: {
277
- readonly Tako: "tako";
279
+ declare const TakoSourceIndex: {
280
+ readonly Data: "data";
278
281
  readonly Web: "web";
279
- readonly ConnectedData: "connected_data";
280
- readonly TakoDeepV2: "tako_deep_v2";
281
282
  };
282
- type CardSourceIndex = typeof CardSourceIndex[keyof typeof CardSourceIndex];
283
- declare function instanceOfCardSourceIndex(value: any): boolean;
284
- declare function CardSourceIndexFromJSON(json: any): CardSourceIndex;
285
- declare function CardSourceIndexFromJSONTyped(json: any, ignoreDiscriminator: boolean): CardSourceIndex;
286
- declare function CardSourceIndexToJSON(value?: CardSourceIndex | null): any;
287
- declare function CardSourceIndexToJSONTyped(value: any, ignoreDiscriminator: boolean): CardSourceIndex;
288
-
289
- /**
290
- * Knowledge Search API
291
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
292
- *
293
- * The version of the OpenAPI document: 1.0.0
294
- *
295
- *
296
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
297
- * https://openapi-generator.tech
298
- * Do not edit the class manually.
299
- */
300
-
301
- /**
302
- *
303
- * @export
304
- * @interface KnowledgeCardSourceIndexesInner
305
- */
306
- interface KnowledgeCardSourceIndexesInner {
307
- /**
308
- *
309
- * @type {CardSourceIndex}
310
- * @memberof KnowledgeCardSourceIndexesInner
311
- */
312
- index_type: CardSourceIndex;
313
- /**
314
- * An ID for a segment of a source index
315
- * @type {string}
316
- * @memberof KnowledgeCardSourceIndexesInner
317
- */
318
- segment_id: string;
319
- }
320
- /**
321
- * Check if a given object implements the KnowledgeCardSourceIndexesInner interface.
322
- */
323
- declare function instanceOfKnowledgeCardSourceIndexesInner(value: object): value is KnowledgeCardSourceIndexesInner;
324
- declare function KnowledgeCardSourceIndexesInnerFromJSON(json: any): KnowledgeCardSourceIndexesInner;
325
- declare function KnowledgeCardSourceIndexesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): KnowledgeCardSourceIndexesInner;
326
- declare function KnowledgeCardSourceIndexesInnerToJSON(json: any): KnowledgeCardSourceIndexesInner;
327
- declare function KnowledgeCardSourceIndexesInnerToJSONTyped(value?: KnowledgeCardSourceIndexesInner | null, ignoreDiscriminator?: boolean): any;
283
+ type TakoSourceIndex = typeof TakoSourceIndex[keyof typeof TakoSourceIndex];
284
+ declare function instanceOfTakoSourceIndex(value: any): boolean;
285
+ declare function TakoSourceIndexFromJSON(json: any): TakoSourceIndex;
286
+ declare function TakoSourceIndexFromJSONTyped(json: any, ignoreDiscriminator: boolean): TakoSourceIndex;
287
+ declare function TakoSourceIndexToJSON(value?: TakoSourceIndex | null): any;
288
+ declare function TakoSourceIndexToJSONTyped(value: any, ignoreDiscriminator: boolean): TakoSourceIndex;
328
289
 
329
290
  /**
330
291
  * Knowledge Search API
@@ -339,96 +300,52 @@ declare function KnowledgeCardSourceIndexesInnerToJSONTyped(value?: KnowledgeCar
339
300
  */
340
301
 
341
302
  /**
342
- * The index of the source
303
+ * A source backing a TakoCard, on the SDK surfaces. Mirrors the legacy
304
+ * KnowledgeCardSource minus the segment/private-index variants (unreachable on
305
+ * these surfaces) and using the {data, web} TakoSourceIndex taxonomy.
343
306
  * @export
344
- * @interface SourceIndex
307
+ * @interface TakoCardSource
345
308
  */
346
- interface SourceIndex {
347
- /**
348
- *
349
- * @type {CardSourceIndex}
350
- * @memberof SourceIndex
351
- */
352
- index_type: CardSourceIndex;
353
- /**
354
- * An ID for a segment of a source index (optional for private indexes)
355
- * @type {string}
356
- * @memberof SourceIndex
357
- */
358
- segment_id: string;
359
- /**
360
- * An ID for a private index
361
- * @type {string}
362
- * @memberof SourceIndex
363
- */
364
- private_index_id: string;
365
- }
366
- /**
367
- * Check if a given object implements the SourceIndex interface.
368
- */
369
- declare function instanceOfSourceIndex(value: object): value is SourceIndex;
370
- declare function SourceIndexFromJSON(json: any): SourceIndex;
371
- declare function SourceIndexFromJSONTyped(json: any, ignoreDiscriminator: boolean): SourceIndex;
372
- declare function SourceIndexToJSON(json: any): SourceIndex;
373
- declare function SourceIndexToJSONTyped(value?: SourceIndex | null, ignoreDiscriminator?: boolean): any;
374
-
375
- /**
376
- * Knowledge Search API
377
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
378
- *
379
- * The version of the OpenAPI document: 1.0.0
380
- *
381
- *
382
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
383
- * https://openapi-generator.tech
384
- * Do not edit the class manually.
385
- */
386
-
387
- /**
388
- *
389
- * @export
390
- * @interface KnowledgeCardSource
391
- */
392
- interface KnowledgeCardSource {
309
+ interface TakoCardSource {
393
310
  /**
394
311
  * The name of the source
395
312
  * @type {string}
396
- * @memberof KnowledgeCardSource
313
+ * @memberof TakoCardSource
397
314
  */
398
- source_name: string | null;
315
+ source_name?: string | null;
399
316
  /**
400
317
  * The description of the source
401
318
  * @type {string}
402
- * @memberof KnowledgeCardSource
319
+ * @memberof TakoCardSource
403
320
  */
404
- source_description: string | null;
321
+ source_description?: string | null;
405
322
  /**
406
- *
407
- * @type {SourceIndex}
408
- * @memberof KnowledgeCardSource
323
+ * The index of the source
324
+ * @type {TakoSourceIndex}
325
+ * @memberof TakoCardSource
409
326
  */
410
- source_index: SourceIndex;
327
+ source_index: TakoSourceIndex;
411
328
  /**
412
329
  * The URL of the source
413
330
  * @type {string}
414
- * @memberof KnowledgeCardSource
331
+ * @memberof TakoCardSource
415
332
  */
416
- url: string | null;
333
+ url?: string | null;
417
334
  /**
418
- * Raw excerpt(s) retrieved from the source page — the unmodified web content the answer was grounded in, NOT the synthesized answer. Populated for WEB sources; null for sources that don't carry an extracted excerpt (e.g. TAKO sources).
335
+ * Raw excerpt(s) retrieved from the source page — the unmodified web content the answer was grounded in. Populated for WEB sources; null for DATA sources.
419
336
  * @type {string}
420
- * @memberof KnowledgeCardSource
337
+ * @memberof TakoCardSource
421
338
  */
422
339
  source_text?: string | null;
423
340
  }
424
341
  /**
425
- * Check if a given object implements the KnowledgeCardSource interface.
342
+ * Check if a given object implements the TakoCardSource interface.
426
343
  */
427
- declare function instanceOfKnowledgeCardSource(value: object): value is KnowledgeCardSource;
428
- declare function KnowledgeCardSourceFromJSON(json: any): KnowledgeCardSource;
429
- declare function KnowledgeCardSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): KnowledgeCardSource;
430
- declare function KnowledgeCardSourceToJSON(json: any): KnowledgeCardSource;
431
- declare function KnowledgeCardSourceToJSONTyped(value?: KnowledgeCardSource | null, ignoreDiscriminator?: boolean): any;
344
+ declare function instanceOfTakoCardSource(value: object): value is TakoCardSource;
345
+ declare function TakoCardSourceFromJSON(json: any): TakoCardSource;
346
+ declare function TakoCardSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): TakoCardSource;
347
+ declare function TakoCardSourceToJSON(json: any): TakoCardSource;
348
+ declare function TakoCardSourceToJSONTyped(value?: TakoCardSource | null, ignoreDiscriminator?: boolean): any;
432
349
 
433
350
  /**
434
351
  * Knowledge Search API
@@ -611,10 +528,10 @@ interface TakoCard {
611
528
  embed_url?: string | null;
612
529
  /**
613
530
  *
614
- * @type {Array<KnowledgeCardSource>}
531
+ * @type {Array<TakoCardSource>}
615
532
  * @memberof TakoCard
616
533
  */
617
- sources?: Array<KnowledgeCardSource> | null;
534
+ sources?: Array<TakoCardSource> | null;
618
535
  /**
619
536
  *
620
537
  * @type {Array<KnowledgeCardMethodology>}
@@ -623,10 +540,10 @@ interface TakoCard {
623
540
  methodologies?: Array<KnowledgeCardMethodology> | null;
624
541
  /**
625
542
  *
626
- * @type {Array<KnowledgeCardSourceIndexesInner>}
543
+ * @type {Array<TakoSourceIndex>}
627
544
  * @memberof TakoCard
628
545
  */
629
- source_indexes?: Array<KnowledgeCardSourceIndexesInner> | null;
546
+ source_indexes?: Array<TakoSourceIndex> | null;
630
547
  /**
631
548
  *
632
549
  * @type {string}
@@ -1105,7 +1022,7 @@ interface CreateAgentRunRequest {
1105
1022
  agentRunRequest?: AgentRunRequest;
1106
1023
  }
1107
1024
  interface GetAgentRunRequest {
1108
- runId: string | null;
1025
+ runId: string;
1109
1026
  startingAfter?: number;
1110
1027
  }
1111
1028
  /**
@@ -1252,119 +1169,6 @@ declare function AnswerResponseFromJSONTyped(json: any, ignoreDiscriminator: boo
1252
1169
  declare function AnswerResponseToJSON(json: any): AnswerResponse;
1253
1170
  declare function AnswerResponseToJSONTyped(value?: AnswerResponse | null, ignoreDiscriminator?: boolean): any;
1254
1171
 
1255
- /**
1256
- * Knowledge Search API
1257
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
1258
- *
1259
- * The version of the OpenAPI document: 1.0.0
1260
- *
1261
- *
1262
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1263
- * https://openapi-generator.tech
1264
- * Do not edit the class manually.
1265
- */
1266
- /**
1267
- * Request for POST /api/v1/classify — a batch of queries to score.
1268
- * @export
1269
- * @interface ClassifyRequest
1270
- */
1271
- interface ClassifyRequest {
1272
- /**
1273
- * Queries to classify (1..200). Each is scored independently.
1274
- * @type {Array<string>}
1275
- * @memberof ClassifyRequest
1276
- */
1277
- queries: Array<string>;
1278
- }
1279
- /**
1280
- * Check if a given object implements the ClassifyRequest interface.
1281
- */
1282
- declare function instanceOfClassifyRequest(value: object): value is ClassifyRequest;
1283
- declare function ClassifyRequestFromJSON(json: any): ClassifyRequest;
1284
- declare function ClassifyRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ClassifyRequest;
1285
- declare function ClassifyRequestToJSON(json: any): ClassifyRequest;
1286
- declare function ClassifyRequestToJSONTyped(value?: ClassifyRequest | null, ignoreDiscriminator?: boolean): any;
1287
-
1288
- /**
1289
- * Knowledge Search API
1290
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
1291
- *
1292
- * The version of the OpenAPI document: 1.0.0
1293
- *
1294
- *
1295
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1296
- * https://openapi-generator.tech
1297
- * Do not edit the class manually.
1298
- */
1299
- /**
1300
- *
1301
- * @export
1302
- * @interface QueryClassification
1303
- */
1304
- interface QueryClassification {
1305
- /**
1306
- *
1307
- * @type {string}
1308
- * @memberof QueryClassification
1309
- */
1310
- query: string;
1311
- /**
1312
- *
1313
- * @type {number}
1314
- * @memberof QueryClassification
1315
- */
1316
- score: number;
1317
- /**
1318
- *
1319
- * @type {boolean}
1320
- * @memberof QueryClassification
1321
- */
1322
- keep: boolean;
1323
- }
1324
- /**
1325
- * Check if a given object implements the QueryClassification interface.
1326
- */
1327
- declare function instanceOfQueryClassification(value: object): value is QueryClassification;
1328
- declare function QueryClassificationFromJSON(json: any): QueryClassification;
1329
- declare function QueryClassificationFromJSONTyped(json: any, ignoreDiscriminator: boolean): QueryClassification;
1330
- declare function QueryClassificationToJSON(json: any): QueryClassification;
1331
- declare function QueryClassificationToJSONTyped(value?: QueryClassification | null, ignoreDiscriminator?: boolean): any;
1332
-
1333
- /**
1334
- * Knowledge Search API
1335
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
1336
- *
1337
- * The version of the OpenAPI document: 1.0.0
1338
- *
1339
- *
1340
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1341
- * https://openapi-generator.tech
1342
- * Do not edit the class manually.
1343
- */
1344
-
1345
- /**
1346
- * Response for POST /api/v1/classify — one classification per input query,
1347
- * in request order.
1348
- * @export
1349
- * @interface ClassifyResponse
1350
- */
1351
- interface ClassifyResponse {
1352
- /**
1353
- *
1354
- * @type {Array<QueryClassification>}
1355
- * @memberof ClassifyResponse
1356
- */
1357
- results?: Array<QueryClassification>;
1358
- }
1359
- /**
1360
- * Check if a given object implements the ClassifyResponse interface.
1361
- */
1362
- declare function instanceOfClassifyResponse(value: object): value is ClassifyResponse;
1363
- declare function ClassifyResponseFromJSON(json: any): ClassifyResponse;
1364
- declare function ClassifyResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ClassifyResponse;
1365
- declare function ClassifyResponseToJSON(json: any): ClassifyResponse;
1366
- declare function ClassifyResponseToJSONTyped(value?: ClassifyResponse | null, ignoreDiscriminator?: boolean): any;
1367
-
1368
1172
  /**
1369
1173
  * Knowledge Search API
1370
1174
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
@@ -1763,66 +1567,192 @@ declare function CreateCardRequestToJSONTyped(value?: CreateCardRequest | null,
1763
1567
  * Do not edit the class manually.
1764
1568
  */
1765
1569
  /**
1766
- * Documents a decision made by Tako's ideal viz logic for a specific ChartJS property.
1767
1570
  *
1768
- * .. deprecated::
1769
- * This class is deprecated in favor of the structured VizDecisions system.
1770
- * Use VizDecisions with specific decision types (AggregationDecision, VizTypeDecision, etc.)
1771
- * instead. The new system provides:
1772
- * - Structured decision tracking with typed fields
1773
- * - Override support (apply_override, reset_to_default)
1774
- * - Better LLM context generation (get_summary_for_llm)
1571
+ * @export
1572
+ */
1573
+ declare const EntityClassName: {
1574
+ readonly Companies: "Companies";
1575
+ readonly Cryptocurrencies: "Cryptocurrencies";
1576
+ readonly FinancialInstruments: "Financial Instruments";
1577
+ readonly InternetBrowsers: "Internet Browsers";
1578
+ readonly Commodities: "Commodities";
1579
+ readonly People: "People";
1580
+ readonly Currencies: "Currencies";
1581
+ readonly StockExchanges: "Stock Exchanges";
1582
+ readonly Securities: "Securities";
1583
+ readonly Ipos: "IPOs";
1584
+ readonly GovernmentDebtInstruments: "Government Debt Instruments";
1585
+ readonly TreasurySecurities: "Treasury Securities";
1586
+ readonly Airports: "Airports";
1587
+ readonly Airlines: "Airlines";
1588
+ readonly VehicleTypes: "Vehicle Types";
1589
+ readonly TransportationModes: "Transportation Modes";
1590
+ readonly Drugs: "Drugs";
1591
+ readonly DrugCategories: "Drug Categories";
1592
+ readonly Diseases: "Diseases";
1593
+ readonly ChemicalElements: "Chemical Elements";
1594
+ readonly ChemicalCompounds: "Chemical Compounds";
1595
+ readonly CelestialBodies: "Celestial Bodies";
1596
+ readonly Occupations: "Occupations";
1597
+ readonly SocialMediaPlatforms: "Social Media Platforms";
1598
+ readonly OperatingSystems: "Operating Systems";
1599
+ readonly SearchEngines: "Search Engines";
1600
+ readonly DeviceTypes: "Device Types";
1601
+ readonly Llms: "LLMs";
1602
+ readonly LlmFamilies: "LLM Families";
1603
+ readonly LlmBenchmarks: "LLM Benchmarks";
1604
+ readonly Industries: "Industries";
1605
+ readonly NaicsIndustries: "NAICS Industries";
1606
+ readonly BlsIndustries: "BLS Industries";
1607
+ readonly PscCategories: "PSC Categories";
1608
+ readonly FederalContractors: "Federal Contractors";
1609
+ readonly FederalAgencies: "Federal Agencies";
1610
+ readonly FederalSubagencies: "Federal Subagencies";
1611
+ readonly IceContracts: "ICE Contracts";
1612
+ readonly IceContractors: "ICE Contractors";
1613
+ readonly Elections: "Elections";
1614
+ readonly PoliticalOffices: "Political Offices";
1615
+ readonly Pollsters: "Pollsters";
1616
+ readonly AgriculturalProducts: "Agricultural Products";
1617
+ readonly TobaccoProducts: "Tobacco Products";
1618
+ readonly PredictionMarkets: "Prediction Markets";
1619
+ readonly PredictionEvents: "Prediction Events";
1620
+ readonly RealEstatePropertyTypes: "Real Estate Property Types";
1621
+ readonly Continents: "Continents";
1622
+ readonly WorldRegions: "World Regions";
1623
+ readonly Countries: "Countries";
1624
+ readonly States: "States";
1625
+ readonly Counties: "Counties";
1626
+ readonly MetroAreas: "Metro Areas";
1627
+ readonly Cities: "Cities";
1628
+ readonly F1Drivers: "F1 Drivers";
1629
+ readonly F1Teams: "F1 Teams";
1630
+ readonly F1Circuits: "F1 Circuits";
1631
+ readonly F1Events: "F1 Events";
1632
+ readonly NascarDrivers: "NASCAR Drivers";
1633
+ readonly NascarTeams: "NASCAR Teams";
1634
+ readonly NascarTracks: "NASCAR Tracks";
1635
+ readonly NascarEvents: "NASCAR Events";
1636
+ readonly NascarRaces: "NASCAR Races";
1637
+ readonly NascarOwners: "NASCAR Owners";
1638
+ readonly NascarManufacturers: "NASCAR Manufacturers";
1639
+ readonly SoccerTeams: "Soccer Teams";
1640
+ readonly SoccerPlayers: "Soccer Players";
1641
+ readonly SoccerCompetitions: "Soccer Competitions";
1642
+ readonly SoccerConferences: "Soccer Conferences";
1643
+ readonly BasketballTeams: "Basketball Teams";
1644
+ readonly BasketballPlayers: "Basketball Players";
1645
+ readonly BasketballConferences: "Basketball Conferences";
1646
+ readonly BasketballDivisions: "Basketball Divisions";
1647
+ readonly BaseballTeams: "Baseball Teams";
1648
+ readonly BaseballPlayers: "Baseball Players";
1649
+ readonly BaseballConferences: "Baseball Conferences";
1650
+ readonly BaseballDivisions: "Baseball Divisions";
1651
+ readonly BaseballCompetitions: "Baseball Competitions";
1652
+ readonly FootballTeams: "Football Teams";
1653
+ readonly FootballPlayers: "Football Players";
1654
+ readonly FootballConferences: "Football Conferences";
1655
+ readonly FootballDivisions: "Football Divisions";
1656
+ readonly Sports: "Sports";
1657
+ readonly SportsLeagues: "Sports Leagues";
1658
+ };
1659
+ type EntityClassName = typeof EntityClassName[keyof typeof EntityClassName];
1660
+ declare function instanceOfEntityClassName(value: any): boolean;
1661
+ declare function EntityClassNameFromJSON(json: any): EntityClassName;
1662
+ declare function EntityClassNameFromJSONTyped(json: any, ignoreDiscriminator: boolean): EntityClassName;
1663
+ declare function EntityClassNameToJSON(value?: EntityClassName | null): any;
1664
+ declare function EntityClassNameToJSONTyped(value: any, ignoreDiscriminator: boolean): EntityClassName;
1665
+
1666
+ /**
1667
+ * Knowledge Search API
1668
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
1669
+ *
1670
+ * The version of the OpenAPI document: 1.0.0
1775
1671
  *
1776
- * Example migration:
1777
- * # Old way (deprecated):
1778
- * decisions.append(IdealVizDecision(
1779
- * property_path="y_aggregation",
1780
- * reason="Applied PCSS due to different units"
1781
- * ))
1782
1672
  *
1783
- * # New way:
1784
- * viz_decisions.set_decision(
1785
- * DecisionType.LEFT_AXIS_AGGREGATION,
1786
- * AggregationDecision(
1787
- * value="pcss",
1788
- * source=DecisionSource.DATA_DRIVEN,
1789
- * reason_code="different_units",
1790
- * reason_display="Applied PCSS due to different units",
1791
- * )
1792
- * )
1673
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1674
+ * https://openapi-generator.tech
1675
+ * Do not edit the class manually.
1676
+ */
1677
+ /**
1793
1678
  *
1794
- * This class will be removed in a future version.
1795
1679
  * @export
1796
- * @interface IdealVizDecision
1797
1680
  */
1798
- interface IdealVizDecision {
1681
+ declare const GraphNodeType: {
1682
+ readonly Source: "source";
1683
+ readonly Metric: "metric";
1684
+ readonly Entity: "entity";
1685
+ };
1686
+ type GraphNodeType = typeof GraphNodeType[keyof typeof GraphNodeType];
1687
+ declare function instanceOfGraphNodeType(value: any): boolean;
1688
+ declare function GraphNodeTypeFromJSON(json: any): GraphNodeType;
1689
+ declare function GraphNodeTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): GraphNodeType;
1690
+ declare function GraphNodeTypeToJSON(value?: GraphNodeType | null): any;
1691
+ declare function GraphNodeTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): GraphNodeType;
1692
+
1693
+ /**
1694
+ * Knowledge Search API
1695
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
1696
+ *
1697
+ * The version of the OpenAPI document: 1.0.0
1698
+ *
1699
+ *
1700
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1701
+ * https://openapi-generator.tech
1702
+ * Do not edit the class manually.
1703
+ */
1704
+
1705
+ /**
1706
+ *
1707
+ * @export
1708
+ * @interface GraphNode
1709
+ */
1710
+ interface GraphNode {
1799
1711
  /**
1800
- * ChartJS property path
1712
+ * Opaque, human-friendly public id (<name-slug>-<token>).
1801
1713
  * @type {string}
1802
- * @memberof IdealVizDecision
1714
+ * @memberof GraphNode
1715
+ */
1716
+ id: string;
1717
+ /**
1718
+ *
1719
+ * @type {GraphNodeType}
1720
+ * @memberof GraphNode
1803
1721
  */
1804
- property_path: string;
1722
+ type: GraphNodeType;
1805
1723
  /**
1806
- * Human-friendly display name for the property path
1724
+ *
1807
1725
  * @type {string}
1808
- * @memberof IdealVizDecision
1726
+ * @memberof GraphNode
1809
1727
  */
1810
- property_path_display_name?: string | null;
1728
+ name: string;
1811
1729
  /**
1812
- * Why this decision was made
1730
+ *
1731
+ * @type {Array<string>}
1732
+ * @memberof GraphNode
1733
+ */
1734
+ aliases?: Array<string>;
1735
+ /**
1736
+ *
1813
1737
  * @type {string}
1814
- * @memberof IdealVizDecision
1738
+ * @memberof GraphNode
1739
+ */
1740
+ description?: string | null;
1741
+ /**
1742
+ *
1743
+ * @type {EntityClassName}
1744
+ * @memberof GraphNode
1815
1745
  */
1816
- reason: string;
1746
+ subtype?: EntityClassName | null;
1817
1747
  }
1818
1748
  /**
1819
- * Check if a given object implements the IdealVizDecision interface.
1749
+ * Check if a given object implements the GraphNode interface.
1820
1750
  */
1821
- declare function instanceOfIdealVizDecision(value: object): value is IdealVizDecision;
1822
- declare function IdealVizDecisionFromJSON(json: any): IdealVizDecision;
1823
- declare function IdealVizDecisionFromJSONTyped(json: any, ignoreDiscriminator: boolean): IdealVizDecision;
1824
- declare function IdealVizDecisionToJSON(json: any): IdealVizDecision;
1825
- declare function IdealVizDecisionToJSONTyped(value?: IdealVizDecision | null, ignoreDiscriminator?: boolean): any;
1751
+ declare function instanceOfGraphNode(value: object): value is GraphNode;
1752
+ declare function GraphNodeFromJSON(json: any): GraphNode;
1753
+ declare function GraphNodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): GraphNode;
1754
+ declare function GraphNodeToJSON(json: any): GraphNode;
1755
+ declare function GraphNodeToJSONTyped(value?: GraphNode | null, ignoreDiscriminator?: boolean): any;
1826
1756
 
1827
1757
  /**
1828
1758
  * Knowledge Search API
@@ -1839,110 +1769,208 @@ declare function IdealVizDecisionToJSONTyped(value?: IdealVizDecision | null, ig
1839
1769
  /**
1840
1770
  *
1841
1771
  * @export
1842
- * @interface KnowledgeCard
1772
+ * @interface RelationGroup
1843
1773
  */
1844
- interface KnowledgeCard {
1774
+ interface RelationGroup {
1845
1775
  /**
1846
- * The unique ID of the knowledge card
1847
- * @type {string}
1848
- * @memberof KnowledgeCard
1849
- */
1850
- card_id: string | null;
1851
- /**
1852
- * The unique ID of the knowledge card
1853
- * @type {string}
1854
- * @memberof KnowledgeCard
1855
- */
1856
- title: string | null;
1857
- /**
1858
- * The unique ID of the knowledge card
1859
- * @type {string}
1860
- * @memberof KnowledgeCard
1776
+ *
1777
+ * @type {Array<GraphNode>}
1778
+ * @memberof RelationGroup
1861
1779
  */
1862
- description: string | null;
1780
+ items: Array<GraphNode>;
1863
1781
  /**
1864
- * The unique ID of the knowledge card
1865
- * @type {string}
1866
- * @memberof KnowledgeCard
1782
+ *
1783
+ * @type {number}
1784
+ * @memberof RelationGroup
1867
1785
  */
1868
- semantic_description?: string | null;
1786
+ total: number;
1787
+ }
1788
+ /**
1789
+ * Check if a given object implements the RelationGroup interface.
1790
+ */
1791
+ declare function instanceOfRelationGroup(value: object): value is RelationGroup;
1792
+ declare function RelationGroupFromJSON(json: any): RelationGroup;
1793
+ declare function RelationGroupFromJSONTyped(json: any, ignoreDiscriminator: boolean): RelationGroup;
1794
+ declare function RelationGroupToJSON(json: any): RelationGroup;
1795
+ declare function RelationGroupToJSONTyped(value?: RelationGroup | null, ignoreDiscriminator?: boolean): any;
1796
+
1797
+ /**
1798
+ * Knowledge Search API
1799
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
1800
+ *
1801
+ * The version of the OpenAPI document: 1.0.0
1802
+ *
1803
+ *
1804
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1805
+ * https://openapi-generator.tech
1806
+ * Do not edit the class manually.
1807
+ */
1808
+
1809
+ /**
1810
+ *
1811
+ * @export
1812
+ * @interface RelatedGroups
1813
+ */
1814
+ interface RelatedGroups {
1869
1815
  /**
1870
- * The unique ID of the knowledge card
1871
- * @type {string}
1872
- * @memberof KnowledgeCard
1816
+ *
1817
+ * @type {RelationGroup}
1818
+ * @memberof RelatedGroups
1873
1819
  */
1874
- webpage_url: string | null;
1820
+ sources: RelationGroup;
1875
1821
  /**
1876
- * The unique ID of the knowledge card
1877
- * @type {string}
1878
- * @memberof KnowledgeCard
1822
+ *
1823
+ * @type {RelationGroup}
1824
+ * @memberof RelatedGroups
1879
1825
  */
1880
- image_url: string | null;
1826
+ metrics: RelationGroup;
1881
1827
  /**
1882
- * The unique ID of the knowledge card
1883
- * @type {string}
1884
- * @memberof KnowledgeCard
1828
+ *
1829
+ * @type {RelationGroup}
1830
+ * @memberof RelatedGroups
1885
1831
  */
1886
- embed_url: string | null;
1832
+ entities: RelationGroup;
1833
+ }
1834
+ /**
1835
+ * Check if a given object implements the RelatedGroups interface.
1836
+ */
1837
+ declare function instanceOfRelatedGroups(value: object): value is RelatedGroups;
1838
+ declare function RelatedGroupsFromJSON(json: any): RelatedGroups;
1839
+ declare function RelatedGroupsFromJSONTyped(json: any, ignoreDiscriminator: boolean): RelatedGroups;
1840
+ declare function RelatedGroupsToJSON(json: any): RelatedGroups;
1841
+ declare function RelatedGroupsToJSONTyped(value?: RelatedGroups | null, ignoreDiscriminator?: boolean): any;
1842
+
1843
+ /**
1844
+ * Knowledge Search API
1845
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
1846
+ *
1847
+ * The version of the OpenAPI document: 1.0.0
1848
+ *
1849
+ *
1850
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1851
+ * https://openapi-generator.tech
1852
+ * Do not edit the class manually.
1853
+ */
1854
+
1855
+ /**
1856
+ *
1857
+ * @export
1858
+ * @interface GraphRelationPage
1859
+ */
1860
+ interface GraphRelationPage {
1887
1861
  /**
1888
- * The sources of the knowledge card
1889
- * @type {Array<KnowledgeCardSource>}
1890
- * @memberof KnowledgeCard
1862
+ *
1863
+ * @type {GraphNodeType}
1864
+ * @memberof GraphRelationPage
1891
1865
  */
1892
- sources: Array<KnowledgeCardSource> | null;
1866
+ relation_type: GraphNodeType;
1893
1867
  /**
1894
- * The methodologies of the knowledge card
1895
- * @type {Array<KnowledgeCardMethodology>}
1896
- * @memberof KnowledgeCard
1868
+ *
1869
+ * @type {Array<GraphNode>}
1870
+ * @memberof GraphRelationPage
1897
1871
  */
1898
- methodologies: Array<KnowledgeCardMethodology> | null;
1872
+ items: Array<GraphNode>;
1899
1873
  /**
1900
- * The source indexes of the knowledge card
1901
- * @type {Array<KnowledgeCardSourceIndexesInner>}
1902
- * @memberof KnowledgeCard
1874
+ *
1875
+ * @type {number}
1876
+ * @memberof GraphRelationPage
1903
1877
  */
1904
- source_indexes: Array<KnowledgeCardSourceIndexesInner> | null;
1878
+ total: number;
1905
1879
  /**
1906
- * The unique ID of the knowledge card
1880
+ *
1907
1881
  * @type {string}
1908
- * @memberof KnowledgeCard
1882
+ * @memberof GraphRelationPage
1909
1883
  */
1910
- card_type: string | null;
1884
+ next_cursor?: string | null;
1885
+ }
1886
+ /**
1887
+ * Check if a given object implements the GraphRelationPage interface.
1888
+ */
1889
+ declare function instanceOfGraphRelationPage(value: object): value is GraphRelationPage;
1890
+ declare function GraphRelationPageFromJSON(json: any): GraphRelationPage;
1891
+ declare function GraphRelationPageFromJSONTyped(json: any, ignoreDiscriminator: boolean): GraphRelationPage;
1892
+ declare function GraphRelationPageToJSON(json: any): GraphRelationPage;
1893
+ declare function GraphRelationPageToJSONTyped(value?: GraphRelationPage | null, ignoreDiscriminator?: boolean): any;
1894
+
1895
+ /**
1896
+ * Knowledge Search API
1897
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
1898
+ *
1899
+ * The version of the OpenAPI document: 1.0.0
1900
+ *
1901
+ *
1902
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1903
+ * https://openapi-generator.tech
1904
+ * Do not edit the class manually.
1905
+ */
1906
+
1907
+ /**
1908
+ *
1909
+ * @export
1910
+ * @interface GraphRelatedResponse
1911
+ */
1912
+ interface GraphRelatedResponse {
1911
1913
  /**
1912
- * URL of downloadable data of the knowledge card. This needs to be enabled on an account level. Contact support to enable this feature.
1913
- * @type {string}
1914
- * @memberof KnowledgeCard
1914
+ *
1915
+ * @type {GraphNode}
1916
+ * @memberof GraphRelatedResponse
1915
1917
  */
1916
- data_url: string | null;
1918
+ node: GraphNode;
1917
1919
  /**
1918
- * How relevant this knowledge card is to the search query
1919
- * @type {KnowledgeCardRelevance}
1920
- * @memberof KnowledgeCard
1920
+ *
1921
+ * @type {RelatedGroups}
1922
+ * @memberof GraphRelatedResponse
1921
1923
  */
1922
- relevance: KnowledgeCardRelevance | null;
1924
+ related?: RelatedGroups | null;
1923
1925
  /**
1924
- * The visualization data of the knowledge card. Null when the card's sources do not permit raw data export (protected sources); the card remains renderable via embed_url.
1925
- * @type {{ [key: string]: any; }}
1926
- * @memberof KnowledgeCard
1926
+ *
1927
+ * @type {GraphRelationPage}
1928
+ * @memberof GraphRelatedResponse
1927
1929
  */
1928
- visualization_data: {
1929
- [key: string]: any;
1930
- } | null;
1930
+ relation?: GraphRelationPage | null;
1931
+ }
1932
+ /**
1933
+ * Check if a given object implements the GraphRelatedResponse interface.
1934
+ */
1935
+ declare function instanceOfGraphRelatedResponse(value: object): value is GraphRelatedResponse;
1936
+ declare function GraphRelatedResponseFromJSON(json: any): GraphRelatedResponse;
1937
+ declare function GraphRelatedResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GraphRelatedResponse;
1938
+ declare function GraphRelatedResponseToJSON(json: any): GraphRelatedResponse;
1939
+ declare function GraphRelatedResponseToJSONTyped(value?: GraphRelatedResponse | null, ignoreDiscriminator?: boolean): any;
1940
+
1941
+ /**
1942
+ * Knowledge Search API
1943
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
1944
+ *
1945
+ * The version of the OpenAPI document: 1.0.0
1946
+ *
1947
+ *
1948
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1949
+ * https://openapi-generator.tech
1950
+ * Do not edit the class manually.
1951
+ */
1952
+
1953
+ /**
1954
+ *
1955
+ * @export
1956
+ * @interface GraphSearchResponse
1957
+ */
1958
+ interface GraphSearchResponse {
1931
1959
  /**
1932
- * Decisions made by Tako's ideal viz logic when constructing this visualization. DEPRECATED: Use ChartConfig.viz_decisions for the new structured system with override support.
1933
- * @type {Array<IdealVizDecision>}
1934
- * @memberof KnowledgeCard
1960
+ *
1961
+ * @type {Array<GraphNode>}
1962
+ * @memberof GraphSearchResponse
1935
1963
  */
1936
- ideal_viz_decisions?: Array<IdealVizDecision> | null;
1964
+ results: Array<GraphNode>;
1937
1965
  }
1938
1966
  /**
1939
- * Check if a given object implements the KnowledgeCard interface.
1967
+ * Check if a given object implements the GraphSearchResponse interface.
1940
1968
  */
1941
- declare function instanceOfKnowledgeCard(value: object): value is KnowledgeCard;
1942
- declare function KnowledgeCardFromJSON(json: any): KnowledgeCard;
1943
- declare function KnowledgeCardFromJSONTyped(json: any, ignoreDiscriminator: boolean): KnowledgeCard;
1944
- declare function KnowledgeCardToJSON(json: any): KnowledgeCard;
1945
- declare function KnowledgeCardToJSONTyped(value?: KnowledgeCard | null, ignoreDiscriminator?: boolean): any;
1969
+ declare function instanceOfGraphSearchResponse(value: object): value is GraphSearchResponse;
1970
+ declare function GraphSearchResponseFromJSON(json: any): GraphSearchResponse;
1971
+ declare function GraphSearchResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GraphSearchResponse;
1972
+ declare function GraphSearchResponseToJSON(json: any): GraphSearchResponse;
1973
+ declare function GraphSearchResponseToJSONTyped(value?: GraphSearchResponse | null, ignoreDiscriminator?: boolean): any;
1946
1974
 
1947
1975
  /**
1948
1976
  * Knowledge Search API
@@ -1958,8 +1986,7 @@ declare function KnowledgeCardToJSONTyped(value?: KnowledgeCard | null, ignoreDi
1958
1986
  /**
1959
1987
  * Public effort taxonomy for the new endpoints. FAST is the default. INSTANT
1960
1988
  * serves cached embeds without re-running data retrieval and is available in all
1961
- * environments (cannot be combined with sources.data.defer_data_retrieval).
1962
- * DEEP widens TAKO retrieval and adds an LLM rerank for higher-quality results
1989
+ * environments. DEEP widens TAKO retrieval and adds an LLM rerank for higher-quality results
1963
1990
  * (slower; billed at a premium tier). The generated OpenAPI/SDK advertises
1964
1991
  * exactly these members, so we add values only as the pipeline gains support.
1965
1992
  * @export
@@ -2015,51 +2042,6 @@ declare function OutputSettingsFromJSONTyped(json: any, ignoreDiscriminator: boo
2015
2042
  declare function OutputSettingsToJSON(json: any): OutputSettings;
2016
2043
  declare function OutputSettingsToJSONTyped(value?: OutputSettings | null, ignoreDiscriminator?: boolean): any;
2017
2044
 
2018
- /**
2019
- * Knowledge Search API
2020
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
2021
- *
2022
- * The version of the OpenAPI document: 1.0.0
2023
- *
2024
- *
2025
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2026
- * https://openapi-generator.tech
2027
- * Do not edit the class manually.
2028
- */
2029
- /**
2030
- *
2031
- * @export
2032
- * @interface TakoSourceSettings
2033
- */
2034
- interface TakoSourceSettings {
2035
- /**
2036
- * Maximum number of results to return for this source. 1-20.
2037
- * @type {number}
2038
- * @memberof TakoSourceSettings
2039
- */
2040
- count?: number;
2041
- /**
2042
- * Inline this source's underlying data (CSV for Tako cards, extracted text for web results) directly in the response.
2043
- * @type {boolean}
2044
- * @memberof TakoSourceSettings
2045
- */
2046
- include_contents?: boolean;
2047
- /**
2048
- * Defer the expensive data-retrieval step: cards return faster with a semantic_description and a less detailed description. Mutually exclusive with include_contents (cannot inline data that was not fetched).
2049
- * @type {boolean}
2050
- * @memberof TakoSourceSettings
2051
- */
2052
- defer_data_retrieval?: boolean;
2053
- }
2054
- /**
2055
- * Check if a given object implements the TakoSourceSettings interface.
2056
- */
2057
- declare function instanceOfTakoSourceSettings(value: object): value is TakoSourceSettings;
2058
- declare function TakoSourceSettingsFromJSON(json: any): TakoSourceSettings;
2059
- declare function TakoSourceSettingsFromJSONTyped(json: any, ignoreDiscriminator: boolean): TakoSourceSettings;
2060
- declare function TakoSourceSettingsToJSON(json: any): TakoSourceSettings;
2061
- declare function TakoSourceSettingsToJSONTyped(value?: TakoSourceSettings | null, ignoreDiscriminator?: boolean): any;
2062
-
2063
2045
  /**
2064
2046
  * Knowledge Search API
2065
2047
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
@@ -2122,10 +2104,10 @@ declare function SourceSettingsToJSONTyped(value?: SourceSettings | null, ignore
2122
2104
  interface Sources {
2123
2105
  /**
2124
2106
  * Tako data source (curated knowledge). Searched iff present. The legacy key 'tako' is accepted as a synonym.
2125
- * @type {TakoSourceSettings}
2107
+ * @type {SourceSettings}
2126
2108
  * @memberof Sources
2127
2109
  */
2128
- data?: TakoSourceSettings | null;
2110
+ data?: SourceSettings | null;
2129
2111
  /**
2130
2112
  * Web source. Searched iff present.
2131
2113
  * @type {SourceSettings}
@@ -2264,6 +2246,109 @@ declare function SearchResponseFromJSONTyped(json: any, ignoreDiscriminator: boo
2264
2246
  declare function SearchResponseToJSON(json: any): SearchResponse;
2265
2247
  declare function SearchResponseToJSONTyped(value?: SearchResponse | null, ignoreDiscriminator?: boolean): any;
2266
2248
 
2249
+ /**
2250
+ * Knowledge Search API
2251
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
2252
+ *
2253
+ * The version of the OpenAPI document: 1.0.0
2254
+ *
2255
+ *
2256
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2257
+ * https://openapi-generator.tech
2258
+ * Do not edit the class manually.
2259
+ */
2260
+ /**
2261
+ * Response for POST /api/v1/thin_viz/create — a created visualization card.
2262
+ *
2263
+ * Distinct from KnowledgeCard: thin_viz builds a self-contained chart from a
2264
+ * caller-supplied component schema, so it never carries retrieval provenance
2265
+ * (sources / source_indexes) or downloadable raw data. The card is rendered via
2266
+ * `embed_url` and previewed via `image_url`; `visualization_data` carries the
2267
+ * inline chart config + data.
2268
+ *
2269
+ * Documents the populated subset of the response. The view emits a full
2270
+ * KnowledgeCard dump, so the wire payload also includes the remaining
2271
+ * KnowledgeCard fields (sources, source_indexes, methodologies, data_url, etc.)
2272
+ * as null; those are intentionally undocumented here (always null for thin_viz)
2273
+ * so the public schema does not pull in the internal CardSourceIndex taxonomy.
2274
+ * @export
2275
+ * @interface ThinVizCard
2276
+ */
2277
+ interface ThinVizCard {
2278
+ /**
2279
+ * Public ID of the created card.
2280
+ * @type {string}
2281
+ * @memberof ThinVizCard
2282
+ */
2283
+ card_id?: string | null;
2284
+ /**
2285
+ * Card title.
2286
+ * @type {string}
2287
+ * @memberof ThinVizCard
2288
+ */
2289
+ title?: string | null;
2290
+ /**
2291
+ * Card description.
2292
+ * @type {string}
2293
+ * @memberof ThinVizCard
2294
+ */
2295
+ description?: string | null;
2296
+ /**
2297
+ * Hosted page URL for the card.
2298
+ * @type {string}
2299
+ * @memberof ThinVizCard
2300
+ */
2301
+ webpage_url?: string | null;
2302
+ /**
2303
+ * Static preview image URL for the card.
2304
+ * @type {string}
2305
+ * @memberof ThinVizCard
2306
+ */
2307
+ image_url?: string | null;
2308
+ /**
2309
+ * Embeddable URL for the card.
2310
+ * @type {string}
2311
+ * @memberof ThinVizCard
2312
+ */
2313
+ embed_url?: string | null;
2314
+ /**
2315
+ * The card/chart type (e.g. 'bar').
2316
+ * @type {string}
2317
+ * @memberof ThinVizCard
2318
+ */
2319
+ card_type?: string | null;
2320
+ /**
2321
+ * Inline chart config + data for rendering the card.
2322
+ * @type {{ [key: string]: any; }}
2323
+ * @memberof ThinVizCard
2324
+ */
2325
+ visualization_data?: {
2326
+ [key: string]: any;
2327
+ } | null;
2328
+ /**
2329
+ * How the embed is delivered: 'postmessage' for postMessage embeds, 'post' otherwise.
2330
+ * @type {ThinVizCardEmbedModeEnum}
2331
+ * @memberof ThinVizCard
2332
+ */
2333
+ embed_mode?: ThinVizCardEmbedModeEnum | null;
2334
+ }
2335
+ /**
2336
+ * @export
2337
+ */
2338
+ declare const ThinVizCardEmbedModeEnum: {
2339
+ readonly Post: "post";
2340
+ readonly Postmessage: "postmessage";
2341
+ };
2342
+ type ThinVizCardEmbedModeEnum = typeof ThinVizCardEmbedModeEnum[keyof typeof ThinVizCardEmbedModeEnum];
2343
+ /**
2344
+ * Check if a given object implements the ThinVizCard interface.
2345
+ */
2346
+ declare function instanceOfThinVizCard(value: object): value is ThinVizCard;
2347
+ declare function ThinVizCardFromJSON(json: any): ThinVizCard;
2348
+ declare function ThinVizCardFromJSONTyped(json: any, ignoreDiscriminator: boolean): ThinVizCard;
2349
+ declare function ThinVizCardToJSON(json: any): ThinVizCard;
2350
+ declare function ThinVizCardToJSONTyped(value?: ThinVizCard | null, ignoreDiscriminator?: boolean): any;
2351
+
2267
2352
  /**
2268
2353
  * Knowledge Search API
2269
2354
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
@@ -2279,15 +2364,25 @@ declare function SearchResponseToJSONTyped(value?: SearchResponse | null, ignore
2279
2364
  interface AnswerRequest {
2280
2365
  searchRequest?: SearchRequest;
2281
2366
  }
2282
- interface ClassifyOperationRequest {
2283
- classifyRequest?: ClassifyRequest;
2284
- }
2285
2367
  interface ContentsOperationRequest {
2286
2368
  contentsRequest?: ContentsRequest;
2287
2369
  }
2288
2370
  interface CreateCardOperationRequest {
2289
2371
  createCardRequest?: CreateCardRequest;
2290
2372
  }
2373
+ interface GraphRelatedRequest {
2374
+ nodeId: string;
2375
+ relationType?: string;
2376
+ q?: string;
2377
+ cursor?: string;
2378
+ limit?: number;
2379
+ }
2380
+ interface GraphSearchRequest {
2381
+ q: string;
2382
+ types?: string;
2383
+ limit?: number;
2384
+ subtype?: GraphSearchSubtypeEnum;
2385
+ }
2291
2386
  interface SearchOperationRequest {
2292
2387
  searchRequest?: SearchRequest;
2293
2388
  }
@@ -2319,27 +2414,6 @@ interface TakoApiInterface {
2319
2414
  * Answer
2320
2415
  */
2321
2416
  answer(requestParameters: AnswerRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<AnswerResponse>;
2322
- /**
2323
- * Creates request options for classify without sending the request
2324
- * @param {ClassifyRequest} [classifyRequest]
2325
- * @throws {RequiredError}
2326
- * @memberof TakoApiInterface
2327
- */
2328
- classifyRequestOpts(requestParameters: ClassifyOperationRequest): Promise<RequestOpts>;
2329
- /**
2330
- * Score a batch of queries for whether Tako search will return a result. Returns a probability and a recall-skewed keep flag per query. Free; intended for pre-filtering before /v3/search.
2331
- * @summary Classify queries
2332
- * @param {ClassifyRequest} [classifyRequest]
2333
- * @param {*} [options] Override http request option.
2334
- * @throws {RequiredError}
2335
- * @memberof TakoApiInterface
2336
- */
2337
- classifyRaw(requestParameters: ClassifyOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<ClassifyResponse>>;
2338
- /**
2339
- * Score a batch of queries for whether Tako search will return a result. Returns a probability and a recall-skewed keep flag per query. Free; intended for pre-filtering before /v3/search.
2340
- * Classify queries
2341
- */
2342
- classify(requestParameters: ClassifyOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ClassifyResponse>;
2343
2417
  /**
2344
2418
  * Creates request options for contents without sending the request
2345
2419
  * @param {ContentsRequest} [contentsRequest]
@@ -2375,11 +2449,67 @@ interface TakoApiInterface {
2375
2449
  * @throws {RequiredError}
2376
2450
  * @memberof TakoApiInterface
2377
2451
  */
2378
- createCardRaw(requestParameters: CreateCardOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<KnowledgeCard>>;
2452
+ createCardRaw(requestParameters: CreateCardOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<ThinVizCard>>;
2379
2453
  /**
2380
2454
  * Create a visualization card directly from component configurations. Supported component types: header, generic_timeseries, categorical_bar, stock_boxes, financial_boxes, table.
2381
2455
  */
2382
- createCard(requestParameters: CreateCardOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<KnowledgeCard>;
2456
+ createCard(requestParameters: CreateCardOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ThinVizCard>;
2457
+ /**
2458
+ * Creates request options for graphRelated without sending the request
2459
+ * @param {string} nodeId Opaque public id of the node or source.
2460
+ * @param {string} [relationType] Paginate one facet: source, metric, or entity.
2461
+ * @param {string} [q] Optional case-insensitive substring filter on the related nodes\&#39; name/aliases. Filters every facet of the overview, or the single paginated facet when relation_type is set.
2462
+ * @param {string} [cursor] Opaque pagination cursor.
2463
+ * @param {number} [limit] Page size (default 50, max 100).
2464
+ * @throws {RequiredError}
2465
+ * @memberof TakoApiInterface
2466
+ */
2467
+ graphRelatedRequestOpts(requestParameters: GraphRelatedRequest): Promise<RequestOpts>;
2468
+ /**
2469
+ * Explore what a node connects to: a source\'s metrics and entities, a metric\'s sources and the entities it\'s tracked for, or an entity\'s available metrics. Use it to find which entity + metric combinations Tako covers, then query /v3/search or /v1/answer for that combination. Pass relation_type + cursor to paginate one facet, and the optional q to narrow that facet by a case-insensitive substring on name/aliases (e.g. metrics for an entity matching \'gdp\'). Public and unauthenticated.
2470
+ * @summary Get a graph node\'s related nodes
2471
+ * @param {string} nodeId Opaque public id of the node or source.
2472
+ * @param {string} [relationType] Paginate one facet: source, metric, or entity.
2473
+ * @param {string} [q] Optional case-insensitive substring filter on the related nodes\&#39; name/aliases. Filters every facet of the overview, or the single paginated facet when relation_type is set.
2474
+ * @param {string} [cursor] Opaque pagination cursor.
2475
+ * @param {number} [limit] Page size (default 50, max 100).
2476
+ * @param {*} [options] Override http request option.
2477
+ * @throws {RequiredError}
2478
+ * @memberof TakoApiInterface
2479
+ */
2480
+ graphRelatedRaw(requestParameters: GraphRelatedRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<GraphRelatedResponse>>;
2481
+ /**
2482
+ * Explore what a node connects to: a source\'s metrics and entities, a metric\'s sources and the entities it\'s tracked for, or an entity\'s available metrics. Use it to find which entity + metric combinations Tako covers, then query /v3/search or /v1/answer for that combination. Pass relation_type + cursor to paginate one facet, and the optional q to narrow that facet by a case-insensitive substring on name/aliases (e.g. metrics for an entity matching \'gdp\'). Public and unauthenticated.
2483
+ * Get a graph node\'s related nodes
2484
+ */
2485
+ graphRelated(requestParameters: GraphRelatedRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<GraphRelatedResponse>;
2486
+ /**
2487
+ * Creates request options for graphSearch without sending the request
2488
+ * @param {string} q Search text (min 2 chars).
2489
+ * @param {string} [types] Comma-separated facets: source,metric,entity.
2490
+ * @param {number} [limit] Max results (default 20, max 50).
2491
+ * @param {'Companies' | 'Cryptocurrencies' | 'Financial Instruments' | 'Internet Browsers' | 'Commodities' | 'People' | 'Currencies' | 'Stock Exchanges' | 'Securities' | 'IPOs' | 'Government Debt Instruments' | 'Treasury Securities' | 'Airports' | 'Airlines' | 'Vehicle Types' | 'Transportation Modes' | 'Drugs' | 'Drug Categories' | 'Diseases' | 'Chemical Elements' | 'Chemical Compounds' | 'Celestial Bodies' | 'Occupations' | 'Social Media Platforms' | 'Operating Systems' | 'Search Engines' | 'Device Types' | 'LLMs' | 'LLM Families' | 'LLM Benchmarks' | 'Industries' | 'NAICS Industries' | 'BLS Industries' | 'PSC Categories' | 'Federal Contractors' | 'Federal Agencies' | 'Federal Subagencies' | 'ICE Contracts' | 'ICE Contractors' | 'Elections' | 'Political Offices' | 'Pollsters' | 'Agricultural Products' | 'Tobacco Products' | 'Prediction Markets' | 'Prediction Events' | 'Real Estate Property Types' | 'Continents' | 'World Regions' | 'Countries' | 'States' | 'Counties' | 'Metro Areas' | 'Cities' | 'F1 Drivers' | 'F1 Teams' | 'F1 Circuits' | 'F1 Events' | 'NASCAR Drivers' | 'NASCAR Teams' | 'NASCAR Tracks' | 'NASCAR Events' | 'NASCAR Races' | 'NASCAR Owners' | 'NASCAR Manufacturers' | 'Soccer Teams' | 'Soccer Players' | 'Soccer Competitions' | 'Soccer Conferences' | 'Basketball Teams' | 'Basketball Players' | 'Basketball Conferences' | 'Basketball Divisions' | 'Baseball Teams' | 'Baseball Players' | 'Baseball Conferences' | 'Baseball Divisions' | 'Baseball Competitions' | 'Football Teams' | 'Football Players' | 'Football Conferences' | 'Football Divisions' | 'Sports' | 'Sports Leagues'} [subtype] Filter to a single entity class (e.g. Countries, Companies). Implies entity-only results; an explicit non-entity \&#39;types\&#39; is a 400. Note: results are drawn from a bounded candidate window (min(limit*5, 200)) before filtering, so a response shorter than &#x60;limit&#x60; does not imply no further matches exist.
2492
+ * @throws {RequiredError}
2493
+ * @memberof TakoApiInterface
2494
+ */
2495
+ graphSearchRequestOpts(requestParameters: GraphSearchRequest): Promise<RequestOpts>;
2496
+ /**
2497
+ * Resolve a data source, metric, or entity in Tako\'s data graph by name. Use this to discover and confirm what data exists before querying — e.g. resolve the metric and the entity you care about here, then ask /v3/search or /v1/answer for that specific entity + metric combination. Public and unauthenticated. Note: results are not yet filtered to the production-ready inventory, so a returned metric or entity that is not backed by a production fact table may 404 when passed to /beta/graph/related. Pass subtype to scope results to one entity class (see the subtype enum).
2498
+ * @summary Search the data graph
2499
+ * @param {string} q Search text (min 2 chars).
2500
+ * @param {string} [types] Comma-separated facets: source,metric,entity.
2501
+ * @param {number} [limit] Max results (default 20, max 50).
2502
+ * @param {'Companies' | 'Cryptocurrencies' | 'Financial Instruments' | 'Internet Browsers' | 'Commodities' | 'People' | 'Currencies' | 'Stock Exchanges' | 'Securities' | 'IPOs' | 'Government Debt Instruments' | 'Treasury Securities' | 'Airports' | 'Airlines' | 'Vehicle Types' | 'Transportation Modes' | 'Drugs' | 'Drug Categories' | 'Diseases' | 'Chemical Elements' | 'Chemical Compounds' | 'Celestial Bodies' | 'Occupations' | 'Social Media Platforms' | 'Operating Systems' | 'Search Engines' | 'Device Types' | 'LLMs' | 'LLM Families' | 'LLM Benchmarks' | 'Industries' | 'NAICS Industries' | 'BLS Industries' | 'PSC Categories' | 'Federal Contractors' | 'Federal Agencies' | 'Federal Subagencies' | 'ICE Contracts' | 'ICE Contractors' | 'Elections' | 'Political Offices' | 'Pollsters' | 'Agricultural Products' | 'Tobacco Products' | 'Prediction Markets' | 'Prediction Events' | 'Real Estate Property Types' | 'Continents' | 'World Regions' | 'Countries' | 'States' | 'Counties' | 'Metro Areas' | 'Cities' | 'F1 Drivers' | 'F1 Teams' | 'F1 Circuits' | 'F1 Events' | 'NASCAR Drivers' | 'NASCAR Teams' | 'NASCAR Tracks' | 'NASCAR Events' | 'NASCAR Races' | 'NASCAR Owners' | 'NASCAR Manufacturers' | 'Soccer Teams' | 'Soccer Players' | 'Soccer Competitions' | 'Soccer Conferences' | 'Basketball Teams' | 'Basketball Players' | 'Basketball Conferences' | 'Basketball Divisions' | 'Baseball Teams' | 'Baseball Players' | 'Baseball Conferences' | 'Baseball Divisions' | 'Baseball Competitions' | 'Football Teams' | 'Football Players' | 'Football Conferences' | 'Football Divisions' | 'Sports' | 'Sports Leagues'} [subtype] Filter to a single entity class (e.g. Countries, Companies). Implies entity-only results; an explicit non-entity \&#39;types\&#39; is a 400. Note: results are drawn from a bounded candidate window (min(limit*5, 200)) before filtering, so a response shorter than &#x60;limit&#x60; does not imply no further matches exist.
2503
+ * @param {*} [options] Override http request option.
2504
+ * @throws {RequiredError}
2505
+ * @memberof TakoApiInterface
2506
+ */
2507
+ graphSearchRaw(requestParameters: GraphSearchRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<GraphSearchResponse>>;
2508
+ /**
2509
+ * Resolve a data source, metric, or entity in Tako\'s data graph by name. Use this to discover and confirm what data exists before querying — e.g. resolve the metric and the entity you care about here, then ask /v3/search or /v1/answer for that specific entity + metric combination. Public and unauthenticated. Note: results are not yet filtered to the production-ready inventory, so a returned metric or entity that is not backed by a production fact table may 404 when passed to /beta/graph/related. Pass subtype to scope results to one entity class (see the subtype enum).
2510
+ * Search the data graph
2511
+ */
2512
+ graphSearch(requestParameters: GraphSearchRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<GraphSearchResponse>;
2383
2513
  /**
2384
2514
  * Creates request options for search without sending the request
2385
2515
  * @param {SearchRequest} [searchRequest]
@@ -2420,20 +2550,6 @@ declare class TakoApi extends BaseAPI implements TakoApiInterface {
2420
2550
  * Answer
2421
2551
  */
2422
2552
  answer(requestParameters?: AnswerRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<AnswerResponse>;
2423
- /**
2424
- * Creates request options for classify without sending the request
2425
- */
2426
- classifyRequestOpts(requestParameters: ClassifyOperationRequest): Promise<RequestOpts>;
2427
- /**
2428
- * Score a batch of queries for whether Tako search will return a result. Returns a probability and a recall-skewed keep flag per query. Free; intended for pre-filtering before /v3/search.
2429
- * Classify queries
2430
- */
2431
- classifyRaw(requestParameters: ClassifyOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<ClassifyResponse>>;
2432
- /**
2433
- * Score a batch of queries for whether Tako search will return a result. Returns a probability and a recall-skewed keep flag per query. Free; intended for pre-filtering before /v3/search.
2434
- * Classify queries
2435
- */
2436
- classify(requestParameters?: ClassifyOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ClassifyResponse>;
2437
2553
  /**
2438
2554
  * Creates request options for contents without sending the request
2439
2555
  */
@@ -2455,11 +2571,39 @@ declare class TakoApi extends BaseAPI implements TakoApiInterface {
2455
2571
  /**
2456
2572
  * Create a visualization card directly from component configurations. Supported component types: header, generic_timeseries, categorical_bar, stock_boxes, financial_boxes, table.
2457
2573
  */
2458
- createCardRaw(requestParameters: CreateCardOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<KnowledgeCard>>;
2574
+ createCardRaw(requestParameters: CreateCardOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<ThinVizCard>>;
2459
2575
  /**
2460
2576
  * Create a visualization card directly from component configurations. Supported component types: header, generic_timeseries, categorical_bar, stock_boxes, financial_boxes, table.
2461
2577
  */
2462
- createCard(requestParameters?: CreateCardOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<KnowledgeCard>;
2578
+ createCard(requestParameters?: CreateCardOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ThinVizCard>;
2579
+ /**
2580
+ * Creates request options for graphRelated without sending the request
2581
+ */
2582
+ graphRelatedRequestOpts(requestParameters: GraphRelatedRequest): Promise<RequestOpts>;
2583
+ /**
2584
+ * Explore what a node connects to: a source\'s metrics and entities, a metric\'s sources and the entities it\'s tracked for, or an entity\'s available metrics. Use it to find which entity + metric combinations Tako covers, then query /v3/search or /v1/answer for that combination. Pass relation_type + cursor to paginate one facet, and the optional q to narrow that facet by a case-insensitive substring on name/aliases (e.g. metrics for an entity matching \'gdp\'). Public and unauthenticated.
2585
+ * Get a graph node\'s related nodes
2586
+ */
2587
+ graphRelatedRaw(requestParameters: GraphRelatedRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<GraphRelatedResponse>>;
2588
+ /**
2589
+ * Explore what a node connects to: a source\'s metrics and entities, a metric\'s sources and the entities it\'s tracked for, or an entity\'s available metrics. Use it to find which entity + metric combinations Tako covers, then query /v3/search or /v1/answer for that combination. Pass relation_type + cursor to paginate one facet, and the optional q to narrow that facet by a case-insensitive substring on name/aliases (e.g. metrics for an entity matching \'gdp\'). Public and unauthenticated.
2590
+ * Get a graph node\'s related nodes
2591
+ */
2592
+ graphRelated(requestParameters: GraphRelatedRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<GraphRelatedResponse>;
2593
+ /**
2594
+ * Creates request options for graphSearch without sending the request
2595
+ */
2596
+ graphSearchRequestOpts(requestParameters: GraphSearchRequest): Promise<RequestOpts>;
2597
+ /**
2598
+ * Resolve a data source, metric, or entity in Tako\'s data graph by name. Use this to discover and confirm what data exists before querying — e.g. resolve the metric and the entity you care about here, then ask /v3/search or /v1/answer for that specific entity + metric combination. Public and unauthenticated. Note: results are not yet filtered to the production-ready inventory, so a returned metric or entity that is not backed by a production fact table may 404 when passed to /beta/graph/related. Pass subtype to scope results to one entity class (see the subtype enum).
2599
+ * Search the data graph
2600
+ */
2601
+ graphSearchRaw(requestParameters: GraphSearchRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<GraphSearchResponse>>;
2602
+ /**
2603
+ * Resolve a data source, metric, or entity in Tako\'s data graph by name. Use this to discover and confirm what data exists before querying — e.g. resolve the metric and the entity you care about here, then ask /v3/search or /v1/answer for that specific entity + metric combination. Public and unauthenticated. Note: results are not yet filtered to the production-ready inventory, so a returned metric or entity that is not backed by a production fact table may 404 when passed to /beta/graph/related. Pass subtype to scope results to one entity class (see the subtype enum).
2604
+ * Search the data graph
2605
+ */
2606
+ graphSearch(requestParameters: GraphSearchRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<GraphSearchResponse>;
2463
2607
  /**
2464
2608
  * Creates request options for search without sending the request
2465
2609
  */
@@ -2475,6 +2619,96 @@ declare class TakoApi extends BaseAPI implements TakoApiInterface {
2475
2619
  */
2476
2620
  search(requestParameters?: SearchOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<SearchResponse>;
2477
2621
  }
2622
+ /**
2623
+ * @export
2624
+ */
2625
+ declare const GraphSearchSubtypeEnum: {
2626
+ readonly Companies: "Companies";
2627
+ readonly Cryptocurrencies: "Cryptocurrencies";
2628
+ readonly FinancialInstruments: "Financial Instruments";
2629
+ readonly InternetBrowsers: "Internet Browsers";
2630
+ readonly Commodities: "Commodities";
2631
+ readonly People: "People";
2632
+ readonly Currencies: "Currencies";
2633
+ readonly StockExchanges: "Stock Exchanges";
2634
+ readonly Securities: "Securities";
2635
+ readonly Ipos: "IPOs";
2636
+ readonly GovernmentDebtInstruments: "Government Debt Instruments";
2637
+ readonly TreasurySecurities: "Treasury Securities";
2638
+ readonly Airports: "Airports";
2639
+ readonly Airlines: "Airlines";
2640
+ readonly VehicleTypes: "Vehicle Types";
2641
+ readonly TransportationModes: "Transportation Modes";
2642
+ readonly Drugs: "Drugs";
2643
+ readonly DrugCategories: "Drug Categories";
2644
+ readonly Diseases: "Diseases";
2645
+ readonly ChemicalElements: "Chemical Elements";
2646
+ readonly ChemicalCompounds: "Chemical Compounds";
2647
+ readonly CelestialBodies: "Celestial Bodies";
2648
+ readonly Occupations: "Occupations";
2649
+ readonly SocialMediaPlatforms: "Social Media Platforms";
2650
+ readonly OperatingSystems: "Operating Systems";
2651
+ readonly SearchEngines: "Search Engines";
2652
+ readonly DeviceTypes: "Device Types";
2653
+ readonly Llms: "LLMs";
2654
+ readonly LlmFamilies: "LLM Families";
2655
+ readonly LlmBenchmarks: "LLM Benchmarks";
2656
+ readonly Industries: "Industries";
2657
+ readonly NaicsIndustries: "NAICS Industries";
2658
+ readonly BlsIndustries: "BLS Industries";
2659
+ readonly PscCategories: "PSC Categories";
2660
+ readonly FederalContractors: "Federal Contractors";
2661
+ readonly FederalAgencies: "Federal Agencies";
2662
+ readonly FederalSubagencies: "Federal Subagencies";
2663
+ readonly IceContracts: "ICE Contracts";
2664
+ readonly IceContractors: "ICE Contractors";
2665
+ readonly Elections: "Elections";
2666
+ readonly PoliticalOffices: "Political Offices";
2667
+ readonly Pollsters: "Pollsters";
2668
+ readonly AgriculturalProducts: "Agricultural Products";
2669
+ readonly TobaccoProducts: "Tobacco Products";
2670
+ readonly PredictionMarkets: "Prediction Markets";
2671
+ readonly PredictionEvents: "Prediction Events";
2672
+ readonly RealEstatePropertyTypes: "Real Estate Property Types";
2673
+ readonly Continents: "Continents";
2674
+ readonly WorldRegions: "World Regions";
2675
+ readonly Countries: "Countries";
2676
+ readonly States: "States";
2677
+ readonly Counties: "Counties";
2678
+ readonly MetroAreas: "Metro Areas";
2679
+ readonly Cities: "Cities";
2680
+ readonly F1Drivers: "F1 Drivers";
2681
+ readonly F1Teams: "F1 Teams";
2682
+ readonly F1Circuits: "F1 Circuits";
2683
+ readonly F1Events: "F1 Events";
2684
+ readonly NascarDrivers: "NASCAR Drivers";
2685
+ readonly NascarTeams: "NASCAR Teams";
2686
+ readonly NascarTracks: "NASCAR Tracks";
2687
+ readonly NascarEvents: "NASCAR Events";
2688
+ readonly NascarRaces: "NASCAR Races";
2689
+ readonly NascarOwners: "NASCAR Owners";
2690
+ readonly NascarManufacturers: "NASCAR Manufacturers";
2691
+ readonly SoccerTeams: "Soccer Teams";
2692
+ readonly SoccerPlayers: "Soccer Players";
2693
+ readonly SoccerCompetitions: "Soccer Competitions";
2694
+ readonly SoccerConferences: "Soccer Conferences";
2695
+ readonly BasketballTeams: "Basketball Teams";
2696
+ readonly BasketballPlayers: "Basketball Players";
2697
+ readonly BasketballConferences: "Basketball Conferences";
2698
+ readonly BasketballDivisions: "Basketball Divisions";
2699
+ readonly BaseballTeams: "Baseball Teams";
2700
+ readonly BaseballPlayers: "Baseball Players";
2701
+ readonly BaseballConferences: "Baseball Conferences";
2702
+ readonly BaseballDivisions: "Baseball Divisions";
2703
+ readonly BaseballCompetitions: "Baseball Competitions";
2704
+ readonly FootballTeams: "Football Teams";
2705
+ readonly FootballPlayers: "Football Players";
2706
+ readonly FootballConferences: "Football Conferences";
2707
+ readonly FootballDivisions: "Football Divisions";
2708
+ readonly Sports: "Sports";
2709
+ readonly SportsLeagues: "Sports Leagues";
2710
+ };
2711
+ type GraphSearchSubtypeEnum = typeof GraphSearchSubtypeEnum[keyof typeof GraphSearchSubtypeEnum];
2478
2712
 
2479
2713
  /**
2480
2714
  * Knowledge Search API
@@ -3431,94 +3665,6 @@ declare function BaseAPIErrorFromJSONTyped(json: any, ignoreDiscriminator: boole
3431
3665
  declare function BaseAPIErrorToJSON(json: any): BaseAPIError;
3432
3666
  declare function BaseAPIErrorToJSONTyped(value?: BaseAPIError | null, ignoreDiscriminator?: boolean): any;
3433
3667
 
3434
- /**
3435
- * Knowledge Search API
3436
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
3437
- *
3438
- * The version of the OpenAPI document: 1.0.0
3439
- *
3440
- *
3441
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3442
- * https://openapi-generator.tech
3443
- * Do not edit the class manually.
3444
- */
3445
-
3446
- /**
3447
- * A segment of a source index. Within a source index, a segment is a subset of the data.
3448
- * For connected data, a segment is a subset of connected files. A segment may be used for
3449
- * multi-tenant data e.g. using a segment per customer.
3450
- * @export
3451
- * @interface CardSourceIndexSegment
3452
- */
3453
- interface CardSourceIndexSegment {
3454
- /**
3455
- *
3456
- * @type {CardSourceIndex}
3457
- * @memberof CardSourceIndexSegment
3458
- */
3459
- index_type: CardSourceIndex;
3460
- /**
3461
- * An ID for a segment of a source index
3462
- * @type {string}
3463
- * @memberof CardSourceIndexSegment
3464
- */
3465
- segment_id: string;
3466
- }
3467
- /**
3468
- * Check if a given object implements the CardSourceIndexSegment interface.
3469
- */
3470
- declare function instanceOfCardSourceIndexSegment(value: object): value is CardSourceIndexSegment;
3471
- declare function CardSourceIndexSegmentFromJSON(json: any): CardSourceIndexSegment;
3472
- declare function CardSourceIndexSegmentFromJSONTyped(json: any, ignoreDiscriminator: boolean): CardSourceIndexSegment;
3473
- declare function CardSourceIndexSegmentToJSON(json: any): CardSourceIndexSegment;
3474
- declare function CardSourceIndexSegmentToJSONTyped(value?: CardSourceIndexSegment | null, ignoreDiscriminator?: boolean): any;
3475
-
3476
- /**
3477
- * Knowledge Search API
3478
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
3479
- *
3480
- * The version of the OpenAPI document: 1.0.0
3481
- *
3482
- *
3483
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3484
- * https://openapi-generator.tech
3485
- * Do not edit the class manually.
3486
- */
3487
-
3488
- /**
3489
- *
3490
- * @export
3491
- * @interface CardSourcePrivateIndex
3492
- */
3493
- interface CardSourcePrivateIndex {
3494
- /**
3495
- *
3496
- * @type {CardSourceIndex}
3497
- * @memberof CardSourcePrivateIndex
3498
- */
3499
- index_type: CardSourceIndex;
3500
- /**
3501
- * An ID for a segment of a source index (optional for private indexes)
3502
- * @type {string}
3503
- * @memberof CardSourcePrivateIndex
3504
- */
3505
- segment_id?: string | null;
3506
- /**
3507
- * An ID for a private index
3508
- * @type {string}
3509
- * @memberof CardSourcePrivateIndex
3510
- */
3511
- private_index_id: string;
3512
- }
3513
- /**
3514
- * Check if a given object implements the CardSourcePrivateIndex interface.
3515
- */
3516
- declare function instanceOfCardSourcePrivateIndex(value: object): value is CardSourcePrivateIndex;
3517
- declare function CardSourcePrivateIndexFromJSON(json: any): CardSourcePrivateIndex;
3518
- declare function CardSourcePrivateIndexFromJSONTyped(json: any, ignoreDiscriminator: boolean): CardSourcePrivateIndex;
3519
- declare function CardSourcePrivateIndexToJSON(json: any): CardSourcePrivateIndex;
3520
- declare function CardSourcePrivateIndexToJSONTyped(value?: CardSourcePrivateIndex | null, ignoreDiscriminator?: boolean): any;
3521
-
3522
3668
  /**
3523
3669
  * Knowledge Search API
3524
3670
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
@@ -3537,11 +3683,11 @@ declare function CardSourcePrivateIndexToJSONTyped(value?: CardSourcePrivateInde
3537
3683
  */
3538
3684
  interface CreateCard400Response {
3539
3685
  /**
3540
- * The unique ID of the knowledge card
3686
+ *
3541
3687
  * @type {string}
3542
3688
  * @memberof CreateCard400Response
3543
3689
  */
3544
- error: string | null;
3690
+ error: string;
3545
3691
  }
3546
3692
  /**
3547
3693
  * Check if a given object implements the CreateCard400Response interface.
@@ -3625,7 +3771,9 @@ declare class Tako {
3625
3771
  search(request: SearchRequest): Promise<SearchResponse>;
3626
3772
  answer(request: SearchRequest): Promise<AnswerResponse>;
3627
3773
  contents(request: ContentsRequest): Promise<ContentsResponse>;
3628
- createCard(request: CreateCardRequest): Promise<KnowledgeCard>;
3774
+ createCard(request: CreateCardRequest): Promise<ThinVizCard>;
3775
+ graphSearch(request: GraphSearchRequest): Promise<GraphSearchResponse>;
3776
+ graphRelated(request: GraphRelatedRequest): Promise<GraphRelatedResponse>;
3629
3777
  }
3630
3778
 
3631
- export { APIErrorType, APIErrorTypeFromJSON, APIErrorTypeFromJSONTyped, APIErrorTypeToJSON, APIErrorTypeToJSONTyped, AgentApi, type AgentApiInterface, AgentEffortLevel, AgentEffortLevelFromJSON, AgentEffortLevelFromJSONTyped, AgentEffortLevelToJSON, AgentEffortLevelToJSONTyped, type AgentOutputSettings, AgentOutputSettingsFromJSON, AgentOutputSettingsFromJSONTyped, AgentOutputSettingsToJSON, AgentOutputSettingsToJSONTyped, AgentResource, type AgentResult, type AgentResultEvent, AgentResultEventFromJSON, AgentResultEventFromJSONTyped, AgentResultEventKindEnum, AgentResultEventToJSON, AgentResultEventToJSONTyped, AgentResultFromJSON, AgentResultFromJSONTyped, AgentResultToJSON, AgentResultToJSONTyped, type AgentRun, AgentRunFromJSON, AgentRunFromJSONTyped, AgentRunObjectEnum, type AgentRunRequest, AgentRunRequestFromJSON, AgentRunRequestFromJSONTyped, AgentRunRequestSourceIndexesEnum, AgentRunRequestToJSON, AgentRunRequestToJSONTyped, AgentRunStatus, AgentRunStatusFromJSON, AgentRunStatusFromJSONTyped, AgentRunStatusToJSON, AgentRunStatusToJSONTyped, AgentRunToJSON, AgentRunToJSONTyped, AgentStream, type AgentStreamEnvelope, AgentStreamEnvelopeFromJSON, AgentStreamEnvelopeFromJSONTyped, AgentStreamEnvelopeToJSON, AgentStreamEnvelopeToJSONTyped, type AgentStreamOptions, type AgentUsage, AgentUsageFromJSON, AgentUsageFromJSONTyped, AgentUsageToJSON, AgentUsageToJSONTyped, type AnswerRequest, type AnswerResponse, AnswerResponseFromJSON, AnswerResponseFromJSONTyped, AnswerResponseToJSON, AnswerResponseToJSONTyped, type ApiResponse, BASE_PATH, BaseAPI, type BaseAPIError, BaseAPIErrorFromJSON, BaseAPIErrorFromJSONTyped, BaseAPIErrorToJSON, BaseAPIErrorToJSONTyped, BlobApiResponse, type Block, BlockFromJSON, BlockFromJSONTyped, BlockToJSON, BlockToJSONTyped, COLLECTION_FORMATS, CardSourceIndex, CardSourceIndexFromJSON, CardSourceIndexFromJSONTyped, type CardSourceIndexSegment, CardSourceIndexSegmentFromJSON, CardSourceIndexSegmentFromJSONTyped, CardSourceIndexSegmentToJSON, CardSourceIndexSegmentToJSONTyped, CardSourceIndexToJSON, CardSourceIndexToJSONTyped, type CardSourcePrivateIndex, CardSourcePrivateIndexFromJSON, CardSourcePrivateIndexFromJSONTyped, CardSourcePrivateIndexToJSON, CardSourcePrivateIndexToJSONTyped, type ClassifyOperationRequest, type ClassifyRequest, ClassifyRequestFromJSON, ClassifyRequestFromJSONTyped, ClassifyRequestToJSON, ClassifyRequestToJSONTyped, type ClassifyResponse, ClassifyResponseFromJSON, ClassifyResponseFromJSONTyped, ClassifyResponseToJSON, ClassifyResponseToJSONTyped, type ComponentConfig, ComponentConfigFromJSON, ComponentConfigFromJSONTyped, ComponentConfigToJSON, ComponentConfigToJSONTyped, ComponentTypeEnum, ComponentTypeEnumFromJSON, ComponentTypeEnumFromJSONTyped, ComponentTypeEnumToJSON, ComponentTypeEnumToJSONTyped, Configuration, type ConfigurationParameters, type Consume, ContentFormat, ContentFormatFromJSON, ContentFormatFromJSONTyped, ContentFormatToJSON, ContentFormatToJSONTyped, type ContentItem, ContentItemFromJSON, ContentItemFromJSONTyped, ContentItemToJSON, ContentItemToJSONTyped, ContentsDeliveryMode, ContentsDeliveryModeFromJSON, ContentsDeliveryModeFromJSONTyped, ContentsDeliveryModeToJSON, ContentsDeliveryModeToJSONTyped, type ContentsOperationRequest, type ContentsRequest, ContentsRequestFromJSON, ContentsRequestFromJSONTyped, ContentsRequestToJSON, ContentsRequestToJSONTyped, type ContentsResponse, ContentsResponseFromJSON, ContentsResponseFromJSONTyped, ContentsResponseToJSON, ContentsResponseToJSONTyped, type CreateAgentRunRequest, type CreateCard400Response, CreateCard400ResponseFromJSON, CreateCard400ResponseFromJSONTyped, CreateCard400ResponseToJSON, CreateCard400ResponseToJSONTyped, type CreateCardOperationRequest, type CreateCardRequest, CreateCardRequestFromJSON, CreateCardRequestFromJSONTyped, CreateCardRequestToJSON, CreateCardRequestToJSONTyped, type DataPipelineAnswerEvent, DataPipelineAnswerEventFromJSON, DataPipelineAnswerEventFromJSONTyped, DataPipelineAnswerEventKindEnum, DataPipelineAnswerEventToJSON, DataPipelineAnswerEventToJSONTyped, DefaultConfig, type ErrorContext, type ErrorObject, ErrorObjectFromJSON, ErrorObjectFromJSONTyped, ErrorObjectToJSON, ErrorObjectToJSONTyped, type FetchAPI, FetchError, type FetchParams, type GetAgentRunRequest, type HTTPBody, type HTTPHeaders, type HTTPMethod, type HTTPQuery, type HTTPRequestInit, type HeartbeatEvent, HeartbeatEventFromJSON, HeartbeatEventFromJSONTyped, HeartbeatEventKindEnum, HeartbeatEventToJSON, HeartbeatEventToJSONTyped, type IdealVizDecision, IdealVizDecisionFromJSON, IdealVizDecisionFromJSONTyped, IdealVizDecisionToJSON, IdealVizDecisionToJSONTyped, type InitOverrideFunction, JSONApiResponse, type Json, type KnowledgeCard, KnowledgeCardFromJSON, KnowledgeCardFromJSONTyped, type KnowledgeCardMethodology, KnowledgeCardMethodologyFromJSON, KnowledgeCardMethodologyFromJSONTyped, KnowledgeCardMethodologyToJSON, KnowledgeCardMethodologyToJSONTyped, KnowledgeCardRelevance, KnowledgeCardRelevanceFromJSON, KnowledgeCardRelevanceFromJSONTyped, KnowledgeCardRelevanceToJSON, KnowledgeCardRelevanceToJSONTyped, type KnowledgeCardSource, KnowledgeCardSourceFromJSON, KnowledgeCardSourceFromJSONTyped, type KnowledgeCardSourceIndexesInner, KnowledgeCardSourceIndexesInnerFromJSON, KnowledgeCardSourceIndexesInnerFromJSONTyped, KnowledgeCardSourceIndexesInnerToJSON, KnowledgeCardSourceIndexesInnerToJSONTyped, KnowledgeCardSourceToJSON, KnowledgeCardSourceToJSONTyped, KnowledgeCardToJSON, KnowledgeCardToJSONTyped, type Middleware, type ModelPropertyNaming, type OutputSettings, OutputSettingsFromJSON, OutputSettingsFromJSONTyped, OutputSettingsToJSON, OutputSettingsToJSONTyped, type QueryClassification, QueryClassificationFromJSON, QueryClassificationFromJSONTyped, QueryClassificationToJSON, QueryClassificationToJSONTyped, type ReasoningEvent, ReasoningEventFromJSON, ReasoningEventFromJSONTyped, ReasoningEventKindEnum, ReasoningEventToJSON, ReasoningEventToJSONTyped, type RequestContext, type RequestOpts, RequiredError, type ResponseContext, ResponseError, type ResponseTransformer, type ResultContent, ResultContentFromJSON, ResultContentFromJSONTyped, ResultContentToJSON, ResultContentToJSONTyped, SearchEffortLevel, SearchEffortLevelFromJSON, SearchEffortLevelFromJSONTyped, SearchEffortLevelToJSON, SearchEffortLevelToJSONTyped, type SearchOperationRequest, type SearchRequest, SearchRequestFromJSON, SearchRequestFromJSONTyped, SearchRequestToJSON, SearchRequestToJSONTyped, type SearchResponse, SearchResponseFromJSON, SearchResponseFromJSONTyped, SearchResponseToJSON, SearchResponseToJSONTyped, type SourceIndex, SourceIndexFromJSON, SourceIndexFromJSONTyped, SourceIndexToJSON, SourceIndexToJSONTyped, type SourceSettings, SourceSettingsFromJSON, SourceSettingsFromJSONTyped, SourceSettingsToJSON, SourceSettingsToJSONTyped, type Sources, SourcesFromJSON, SourcesFromJSONTyped, SourcesToJSON, SourcesToJSONTyped, type StatusEvent, StatusEventFromJSON, StatusEventFromJSONTyped, StatusEventKindEnum, StatusEventToJSON, StatusEventToJSONTyped, StreamCategory, StreamCategoryFromJSON, StreamCategoryFromJSONTyped, StreamCategoryToJSON, StreamCategoryToJSONTyped, type StreamDoneEvent, StreamDoneEventFromJSON, StreamDoneEventFromJSONTyped, StreamDoneEventKindEnum, StreamDoneEventToJSON, StreamDoneEventToJSONTyped, type StreamResetEvent, StreamResetEventFromJSON, StreamResetEventFromJSONTyped, StreamResetEventKindEnum, StreamResetEventToJSON, StreamResetEventToJSONTyped, type SubagentEvent, SubagentEventEventEnum, SubagentEventFromJSON, SubagentEventFromJSONTyped, SubagentEventKindEnum, SubagentEventToJSON, SubagentEventToJSONTyped, Tako, TakoApi, type TakoApiInterface, type TakoCard, TakoCardFromJSON, TakoCardFromJSONTyped, TakoCardToJSON, TakoCardToJSONTyped, type TakoOptions, type TakoSourceSettings, TakoSourceSettingsFromJSON, TakoSourceSettingsFromJSONTyped, TakoSourceSettingsToJSON, TakoSourceSettingsToJSONTyped, TextApiResponse, type TextEvent, TextEventFromJSON, TextEventFromJSONTyped, TextEventKindEnum, TextEventToJSON, TextEventToJSONTyped, type ToolCallEvent, ToolCallEventFromJSON, ToolCallEventFromJSONTyped, ToolCallEventKindEnum, ToolCallEventToJSON, ToolCallEventToJSONTyped, type ToolErrorEvent, ToolErrorEventFromJSON, ToolErrorEventFromJSONTyped, ToolErrorEventKindEnum, ToolErrorEventToJSON, ToolErrorEventToJSONTyped, type ToolResultEvent, ToolResultEventFromJSON, ToolResultEventFromJSONTyped, ToolResultEventKindEnum, ToolResultEventToJSON, ToolResultEventToJSONTyped, type ToolRetryEvent, ToolRetryEventFromJSON, ToolRetryEventFromJSONTyped, ToolRetryEventKindEnum, ToolRetryEventToJSON, ToolRetryEventToJSONTyped, VoidApiResponse, type WebResult, WebResultFromJSON, WebResultFromJSONTyped, WebResultToJSON, WebResultToJSONTyped, canConsumeForm, exists, instanceOfAPIErrorType, instanceOfAgentEffortLevel, instanceOfAgentOutputSettings, instanceOfAgentResult, instanceOfAgentResultEvent, instanceOfAgentRun, instanceOfAgentRunRequest, instanceOfAgentRunStatus, instanceOfAgentStreamEnvelope, instanceOfAgentUsage, instanceOfAnswerResponse, instanceOfBaseAPIError, instanceOfCardSourceIndex, instanceOfCardSourceIndexSegment, instanceOfCardSourcePrivateIndex, instanceOfClassifyRequest, instanceOfClassifyResponse, instanceOfComponentConfig, instanceOfComponentTypeEnum, instanceOfContentFormat, instanceOfContentItem, instanceOfContentsDeliveryMode, instanceOfContentsRequest, instanceOfContentsResponse, instanceOfCreateCard400Response, instanceOfCreateCardRequest, instanceOfDataPipelineAnswerEvent, instanceOfErrorObject, instanceOfHeartbeatEvent, instanceOfIdealVizDecision, instanceOfKnowledgeCard, instanceOfKnowledgeCardMethodology, instanceOfKnowledgeCardRelevance, instanceOfKnowledgeCardSource, instanceOfKnowledgeCardSourceIndexesInner, instanceOfOutputSettings, instanceOfQueryClassification, instanceOfReasoningEvent, instanceOfResultContent, instanceOfSearchEffortLevel, instanceOfSearchRequest, instanceOfSearchResponse, instanceOfSourceIndex, instanceOfSourceSettings, instanceOfSources, instanceOfStatusEvent, instanceOfStreamCategory, instanceOfStreamDoneEvent, instanceOfStreamResetEvent, instanceOfSubagentEvent, instanceOfTakoCard, instanceOfTakoSourceSettings, instanceOfTextEvent, instanceOfToolCallEvent, instanceOfToolErrorEvent, instanceOfToolResultEvent, instanceOfToolRetryEvent, instanceOfWebResult, mapValues, querystring };
3779
+ export { APIErrorType, APIErrorTypeFromJSON, APIErrorTypeFromJSONTyped, APIErrorTypeToJSON, APIErrorTypeToJSONTyped, AgentApi, type AgentApiInterface, AgentEffortLevel, AgentEffortLevelFromJSON, AgentEffortLevelFromJSONTyped, AgentEffortLevelToJSON, AgentEffortLevelToJSONTyped, type AgentOutputSettings, AgentOutputSettingsFromJSON, AgentOutputSettingsFromJSONTyped, AgentOutputSettingsToJSON, AgentOutputSettingsToJSONTyped, AgentResource, type AgentResult, type AgentResultEvent, AgentResultEventFromJSON, AgentResultEventFromJSONTyped, AgentResultEventKindEnum, AgentResultEventToJSON, AgentResultEventToJSONTyped, AgentResultFromJSON, AgentResultFromJSONTyped, AgentResultToJSON, AgentResultToJSONTyped, type AgentRun, AgentRunFromJSON, AgentRunFromJSONTyped, AgentRunObjectEnum, type AgentRunRequest, AgentRunRequestFromJSON, AgentRunRequestFromJSONTyped, AgentRunRequestSourceIndexesEnum, AgentRunRequestToJSON, AgentRunRequestToJSONTyped, AgentRunStatus, AgentRunStatusFromJSON, AgentRunStatusFromJSONTyped, AgentRunStatusToJSON, AgentRunStatusToJSONTyped, AgentRunToJSON, AgentRunToJSONTyped, AgentStream, type AgentStreamEnvelope, AgentStreamEnvelopeFromJSON, AgentStreamEnvelopeFromJSONTyped, AgentStreamEnvelopeToJSON, AgentStreamEnvelopeToJSONTyped, type AgentStreamOptions, type AgentUsage, AgentUsageFromJSON, AgentUsageFromJSONTyped, AgentUsageToJSON, AgentUsageToJSONTyped, type AnswerRequest, type AnswerResponse, AnswerResponseFromJSON, AnswerResponseFromJSONTyped, AnswerResponseToJSON, AnswerResponseToJSONTyped, type ApiResponse, BASE_PATH, BaseAPI, type BaseAPIError, BaseAPIErrorFromJSON, BaseAPIErrorFromJSONTyped, BaseAPIErrorToJSON, BaseAPIErrorToJSONTyped, BlobApiResponse, type Block, BlockFromJSON, BlockFromJSONTyped, BlockToJSON, BlockToJSONTyped, COLLECTION_FORMATS, type ComponentConfig, ComponentConfigFromJSON, ComponentConfigFromJSONTyped, ComponentConfigToJSON, ComponentConfigToJSONTyped, ComponentTypeEnum, ComponentTypeEnumFromJSON, ComponentTypeEnumFromJSONTyped, ComponentTypeEnumToJSON, ComponentTypeEnumToJSONTyped, Configuration, type ConfigurationParameters, type Consume, ContentFormat, ContentFormatFromJSON, ContentFormatFromJSONTyped, ContentFormatToJSON, ContentFormatToJSONTyped, type ContentItem, ContentItemFromJSON, ContentItemFromJSONTyped, ContentItemToJSON, ContentItemToJSONTyped, ContentsDeliveryMode, ContentsDeliveryModeFromJSON, ContentsDeliveryModeFromJSONTyped, ContentsDeliveryModeToJSON, ContentsDeliveryModeToJSONTyped, type ContentsOperationRequest, type ContentsRequest, ContentsRequestFromJSON, ContentsRequestFromJSONTyped, ContentsRequestToJSON, ContentsRequestToJSONTyped, type ContentsResponse, ContentsResponseFromJSON, ContentsResponseFromJSONTyped, ContentsResponseToJSON, ContentsResponseToJSONTyped, type CreateAgentRunRequest, type CreateCard400Response, CreateCard400ResponseFromJSON, CreateCard400ResponseFromJSONTyped, CreateCard400ResponseToJSON, CreateCard400ResponseToJSONTyped, type CreateCardOperationRequest, type CreateCardRequest, CreateCardRequestFromJSON, CreateCardRequestFromJSONTyped, CreateCardRequestToJSON, CreateCardRequestToJSONTyped, type DataPipelineAnswerEvent, DataPipelineAnswerEventFromJSON, DataPipelineAnswerEventFromJSONTyped, DataPipelineAnswerEventKindEnum, DataPipelineAnswerEventToJSON, DataPipelineAnswerEventToJSONTyped, DefaultConfig, EntityClassName, EntityClassNameFromJSON, EntityClassNameFromJSONTyped, EntityClassNameToJSON, EntityClassNameToJSONTyped, type ErrorContext, type ErrorObject, ErrorObjectFromJSON, ErrorObjectFromJSONTyped, ErrorObjectToJSON, ErrorObjectToJSONTyped, type FetchAPI, FetchError, type FetchParams, type GetAgentRunRequest, type GraphNode, GraphNodeFromJSON, GraphNodeFromJSONTyped, GraphNodeToJSON, GraphNodeToJSONTyped, GraphNodeType, GraphNodeTypeFromJSON, GraphNodeTypeFromJSONTyped, GraphNodeTypeToJSON, GraphNodeTypeToJSONTyped, type GraphRelatedRequest, type GraphRelatedResponse, GraphRelatedResponseFromJSON, GraphRelatedResponseFromJSONTyped, GraphRelatedResponseToJSON, GraphRelatedResponseToJSONTyped, type GraphRelationPage, GraphRelationPageFromJSON, GraphRelationPageFromJSONTyped, GraphRelationPageToJSON, GraphRelationPageToJSONTyped, type GraphSearchRequest, type GraphSearchResponse, GraphSearchResponseFromJSON, GraphSearchResponseFromJSONTyped, GraphSearchResponseToJSON, GraphSearchResponseToJSONTyped, GraphSearchSubtypeEnum, type HTTPBody, type HTTPHeaders, type HTTPMethod, type HTTPQuery, type HTTPRequestInit, type HeartbeatEvent, HeartbeatEventFromJSON, HeartbeatEventFromJSONTyped, HeartbeatEventKindEnum, HeartbeatEventToJSON, HeartbeatEventToJSONTyped, type InitOverrideFunction, JSONApiResponse, type Json, type KnowledgeCardMethodology, KnowledgeCardMethodologyFromJSON, KnowledgeCardMethodologyFromJSONTyped, KnowledgeCardMethodologyToJSON, KnowledgeCardMethodologyToJSONTyped, KnowledgeCardRelevance, KnowledgeCardRelevanceFromJSON, KnowledgeCardRelevanceFromJSONTyped, KnowledgeCardRelevanceToJSON, KnowledgeCardRelevanceToJSONTyped, type Middleware, type ModelPropertyNaming, type OutputSettings, OutputSettingsFromJSON, OutputSettingsFromJSONTyped, OutputSettingsToJSON, OutputSettingsToJSONTyped, type ReasoningEvent, ReasoningEventFromJSON, ReasoningEventFromJSONTyped, ReasoningEventKindEnum, ReasoningEventToJSON, ReasoningEventToJSONTyped, type RelatedGroups, RelatedGroupsFromJSON, RelatedGroupsFromJSONTyped, RelatedGroupsToJSON, RelatedGroupsToJSONTyped, type RelationGroup, RelationGroupFromJSON, RelationGroupFromJSONTyped, RelationGroupToJSON, RelationGroupToJSONTyped, type RequestContext, type RequestOpts, RequiredError, type ResponseContext, ResponseError, type ResponseTransformer, type ResultContent, ResultContentFromJSON, ResultContentFromJSONTyped, ResultContentToJSON, ResultContentToJSONTyped, SearchEffortLevel, SearchEffortLevelFromJSON, SearchEffortLevelFromJSONTyped, SearchEffortLevelToJSON, SearchEffortLevelToJSONTyped, type SearchOperationRequest, type SearchRequest, SearchRequestFromJSON, SearchRequestFromJSONTyped, SearchRequestToJSON, SearchRequestToJSONTyped, type SearchResponse, SearchResponseFromJSON, SearchResponseFromJSONTyped, SearchResponseToJSON, SearchResponseToJSONTyped, type SourceSettings, SourceSettingsFromJSON, SourceSettingsFromJSONTyped, SourceSettingsToJSON, SourceSettingsToJSONTyped, type Sources, SourcesFromJSON, SourcesFromJSONTyped, SourcesToJSON, SourcesToJSONTyped, type StatusEvent, StatusEventFromJSON, StatusEventFromJSONTyped, StatusEventKindEnum, StatusEventToJSON, StatusEventToJSONTyped, StreamCategory, StreamCategoryFromJSON, StreamCategoryFromJSONTyped, StreamCategoryToJSON, StreamCategoryToJSONTyped, type StreamDoneEvent, StreamDoneEventFromJSON, StreamDoneEventFromJSONTyped, StreamDoneEventKindEnum, StreamDoneEventToJSON, StreamDoneEventToJSONTyped, type StreamResetEvent, StreamResetEventFromJSON, StreamResetEventFromJSONTyped, StreamResetEventKindEnum, StreamResetEventToJSON, StreamResetEventToJSONTyped, type SubagentEvent, SubagentEventEventEnum, SubagentEventFromJSON, SubagentEventFromJSONTyped, SubagentEventKindEnum, SubagentEventToJSON, SubagentEventToJSONTyped, Tako, TakoApi, type TakoApiInterface, type TakoCard, TakoCardFromJSON, TakoCardFromJSONTyped, type TakoCardSource, TakoCardSourceFromJSON, TakoCardSourceFromJSONTyped, TakoCardSourceToJSON, TakoCardSourceToJSONTyped, TakoCardToJSON, TakoCardToJSONTyped, type TakoOptions, TakoSourceIndex, TakoSourceIndexFromJSON, TakoSourceIndexFromJSONTyped, TakoSourceIndexToJSON, TakoSourceIndexToJSONTyped, TextApiResponse, type TextEvent, TextEventFromJSON, TextEventFromJSONTyped, TextEventKindEnum, TextEventToJSON, TextEventToJSONTyped, type ThinVizCard, ThinVizCardEmbedModeEnum, ThinVizCardFromJSON, ThinVizCardFromJSONTyped, ThinVizCardToJSON, ThinVizCardToJSONTyped, type ToolCallEvent, ToolCallEventFromJSON, ToolCallEventFromJSONTyped, ToolCallEventKindEnum, ToolCallEventToJSON, ToolCallEventToJSONTyped, type ToolErrorEvent, ToolErrorEventFromJSON, ToolErrorEventFromJSONTyped, ToolErrorEventKindEnum, ToolErrorEventToJSON, ToolErrorEventToJSONTyped, type ToolResultEvent, ToolResultEventFromJSON, ToolResultEventFromJSONTyped, ToolResultEventKindEnum, ToolResultEventToJSON, ToolResultEventToJSONTyped, type ToolRetryEvent, ToolRetryEventFromJSON, ToolRetryEventFromJSONTyped, ToolRetryEventKindEnum, ToolRetryEventToJSON, ToolRetryEventToJSONTyped, VoidApiResponse, type WebResult, WebResultFromJSON, WebResultFromJSONTyped, WebResultToJSON, WebResultToJSONTyped, canConsumeForm, exists, instanceOfAPIErrorType, instanceOfAgentEffortLevel, instanceOfAgentOutputSettings, instanceOfAgentResult, instanceOfAgentResultEvent, instanceOfAgentRun, instanceOfAgentRunRequest, instanceOfAgentRunStatus, instanceOfAgentStreamEnvelope, instanceOfAgentUsage, instanceOfAnswerResponse, instanceOfBaseAPIError, instanceOfComponentConfig, instanceOfComponentTypeEnum, instanceOfContentFormat, instanceOfContentItem, instanceOfContentsDeliveryMode, instanceOfContentsRequest, instanceOfContentsResponse, instanceOfCreateCard400Response, instanceOfCreateCardRequest, instanceOfDataPipelineAnswerEvent, instanceOfEntityClassName, instanceOfErrorObject, instanceOfGraphNode, instanceOfGraphNodeType, instanceOfGraphRelatedResponse, instanceOfGraphRelationPage, instanceOfGraphSearchResponse, instanceOfHeartbeatEvent, instanceOfKnowledgeCardMethodology, instanceOfKnowledgeCardRelevance, instanceOfOutputSettings, instanceOfReasoningEvent, instanceOfRelatedGroups, instanceOfRelationGroup, instanceOfResultContent, instanceOfSearchEffortLevel, instanceOfSearchRequest, instanceOfSearchResponse, instanceOfSourceSettings, instanceOfSources, instanceOfStatusEvent, instanceOfStreamCategory, instanceOfStreamDoneEvent, instanceOfStreamResetEvent, instanceOfSubagentEvent, instanceOfTakoCard, instanceOfTakoCardSource, instanceOfTakoSourceIndex, instanceOfTextEvent, instanceOfThinVizCard, instanceOfToolCallEvent, instanceOfToolErrorEvent, instanceOfToolResultEvent, instanceOfToolRetryEvent, instanceOfWebResult, mapValues, querystring };