tako-sdk 1.0.4 → 1.0.6
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.cjs +623 -198
- package/dist/index.d.cts +612 -203
- package/dist/index.d.ts +612 -203
- package/dist/index.js +580 -178
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -718,7 +718,7 @@ declare function AgentResultToJSONTyped(value?: AgentResult | null, ignoreDiscri
|
|
|
718
718
|
*/
|
|
719
719
|
/**
|
|
720
720
|
* Public effort taxonomy for the Agent API. `low` runs the fast data-pipeline
|
|
721
|
-
* retriever (the default)
|
|
721
|
+
* retriever; `medium` (the default) runs the analytical orchestrator. `high` is
|
|
722
722
|
* not yet exposed.
|
|
723
723
|
* @export
|
|
724
724
|
*/
|
|
@@ -797,7 +797,7 @@ interface AgentRunRequest {
|
|
|
797
797
|
*/
|
|
798
798
|
thread_id?: string | null;
|
|
799
799
|
/**
|
|
800
|
-
* Agent effort. 'low'
|
|
800
|
+
* Agent effort. 'low' returns fast results for simple queries; 'medium' (default) returns deeper analysis across multiple entities and metrics (slower).
|
|
801
801
|
* @type {AgentEffortLevel}
|
|
802
802
|
* @memberof AgentRunRequest
|
|
803
803
|
*/
|
|
@@ -1169,119 +1169,6 @@ declare function AnswerResponseFromJSONTyped(json: any, ignoreDiscriminator: boo
|
|
|
1169
1169
|
declare function AnswerResponseToJSON(json: any): AnswerResponse;
|
|
1170
1170
|
declare function AnswerResponseToJSONTyped(value?: AnswerResponse | null, ignoreDiscriminator?: boolean): any;
|
|
1171
1171
|
|
|
1172
|
-
/**
|
|
1173
|
-
* Knowledge Search API
|
|
1174
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
1175
|
-
*
|
|
1176
|
-
* The version of the OpenAPI document: 1.0.0
|
|
1177
|
-
*
|
|
1178
|
-
*
|
|
1179
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1180
|
-
* https://openapi-generator.tech
|
|
1181
|
-
* Do not edit the class manually.
|
|
1182
|
-
*/
|
|
1183
|
-
/**
|
|
1184
|
-
* Request for POST /api/v1/classify — a batch of queries to score.
|
|
1185
|
-
* @export
|
|
1186
|
-
* @interface ClassifyRequest
|
|
1187
|
-
*/
|
|
1188
|
-
interface ClassifyRequest {
|
|
1189
|
-
/**
|
|
1190
|
-
* Queries to classify (1..200). Each is scored independently.
|
|
1191
|
-
* @type {Array<string>}
|
|
1192
|
-
* @memberof ClassifyRequest
|
|
1193
|
-
*/
|
|
1194
|
-
queries: Array<string>;
|
|
1195
|
-
}
|
|
1196
|
-
/**
|
|
1197
|
-
* Check if a given object implements the ClassifyRequest interface.
|
|
1198
|
-
*/
|
|
1199
|
-
declare function instanceOfClassifyRequest(value: object): value is ClassifyRequest;
|
|
1200
|
-
declare function ClassifyRequestFromJSON(json: any): ClassifyRequest;
|
|
1201
|
-
declare function ClassifyRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ClassifyRequest;
|
|
1202
|
-
declare function ClassifyRequestToJSON(json: any): ClassifyRequest;
|
|
1203
|
-
declare function ClassifyRequestToJSONTyped(value?: ClassifyRequest | null, ignoreDiscriminator?: boolean): any;
|
|
1204
|
-
|
|
1205
|
-
/**
|
|
1206
|
-
* Knowledge Search API
|
|
1207
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
1208
|
-
*
|
|
1209
|
-
* The version of the OpenAPI document: 1.0.0
|
|
1210
|
-
*
|
|
1211
|
-
*
|
|
1212
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1213
|
-
* https://openapi-generator.tech
|
|
1214
|
-
* Do not edit the class manually.
|
|
1215
|
-
*/
|
|
1216
|
-
/**
|
|
1217
|
-
*
|
|
1218
|
-
* @export
|
|
1219
|
-
* @interface QueryClassification
|
|
1220
|
-
*/
|
|
1221
|
-
interface QueryClassification {
|
|
1222
|
-
/**
|
|
1223
|
-
*
|
|
1224
|
-
* @type {string}
|
|
1225
|
-
* @memberof QueryClassification
|
|
1226
|
-
*/
|
|
1227
|
-
query: string;
|
|
1228
|
-
/**
|
|
1229
|
-
*
|
|
1230
|
-
* @type {number}
|
|
1231
|
-
* @memberof QueryClassification
|
|
1232
|
-
*/
|
|
1233
|
-
score: number;
|
|
1234
|
-
/**
|
|
1235
|
-
*
|
|
1236
|
-
* @type {boolean}
|
|
1237
|
-
* @memberof QueryClassification
|
|
1238
|
-
*/
|
|
1239
|
-
keep: boolean;
|
|
1240
|
-
}
|
|
1241
|
-
/**
|
|
1242
|
-
* Check if a given object implements the QueryClassification interface.
|
|
1243
|
-
*/
|
|
1244
|
-
declare function instanceOfQueryClassification(value: object): value is QueryClassification;
|
|
1245
|
-
declare function QueryClassificationFromJSON(json: any): QueryClassification;
|
|
1246
|
-
declare function QueryClassificationFromJSONTyped(json: any, ignoreDiscriminator: boolean): QueryClassification;
|
|
1247
|
-
declare function QueryClassificationToJSON(json: any): QueryClassification;
|
|
1248
|
-
declare function QueryClassificationToJSONTyped(value?: QueryClassification | null, ignoreDiscriminator?: boolean): any;
|
|
1249
|
-
|
|
1250
|
-
/**
|
|
1251
|
-
* Knowledge Search API
|
|
1252
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
1253
|
-
*
|
|
1254
|
-
* The version of the OpenAPI document: 1.0.0
|
|
1255
|
-
*
|
|
1256
|
-
*
|
|
1257
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1258
|
-
* https://openapi-generator.tech
|
|
1259
|
-
* Do not edit the class manually.
|
|
1260
|
-
*/
|
|
1261
|
-
|
|
1262
|
-
/**
|
|
1263
|
-
* Response for POST /api/v1/classify — one classification per input query,
|
|
1264
|
-
* in request order.
|
|
1265
|
-
* @export
|
|
1266
|
-
* @interface ClassifyResponse
|
|
1267
|
-
*/
|
|
1268
|
-
interface ClassifyResponse {
|
|
1269
|
-
/**
|
|
1270
|
-
*
|
|
1271
|
-
* @type {Array<QueryClassification>}
|
|
1272
|
-
* @memberof ClassifyResponse
|
|
1273
|
-
*/
|
|
1274
|
-
results?: Array<QueryClassification>;
|
|
1275
|
-
}
|
|
1276
|
-
/**
|
|
1277
|
-
* Check if a given object implements the ClassifyResponse interface.
|
|
1278
|
-
*/
|
|
1279
|
-
declare function instanceOfClassifyResponse(value: object): value is ClassifyResponse;
|
|
1280
|
-
declare function ClassifyResponseFromJSON(json: any): ClassifyResponse;
|
|
1281
|
-
declare function ClassifyResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ClassifyResponse;
|
|
1282
|
-
declare function ClassifyResponseToJSON(json: any): ClassifyResponse;
|
|
1283
|
-
declare function ClassifyResponseToJSONTyped(value?: ClassifyResponse | null, ignoreDiscriminator?: boolean): any;
|
|
1284
|
-
|
|
1285
1172
|
/**
|
|
1286
1173
|
* Knowledge Search API
|
|
1287
1174
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
@@ -1668,6 +1555,423 @@ declare function CreateCardRequestFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
1668
1555
|
declare function CreateCardRequestToJSON(json: any): CreateCardRequest;
|
|
1669
1556
|
declare function CreateCardRequestToJSONTyped(value?: CreateCardRequest | null, ignoreDiscriminator?: boolean): any;
|
|
1670
1557
|
|
|
1558
|
+
/**
|
|
1559
|
+
* Knowledge Search API
|
|
1560
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
1561
|
+
*
|
|
1562
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1563
|
+
*
|
|
1564
|
+
*
|
|
1565
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1566
|
+
* https://openapi-generator.tech
|
|
1567
|
+
* Do not edit the class manually.
|
|
1568
|
+
*/
|
|
1569
|
+
/**
|
|
1570
|
+
*
|
|
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
|
|
1671
|
+
*
|
|
1672
|
+
*
|
|
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
|
+
/**
|
|
1678
|
+
*
|
|
1679
|
+
* @export
|
|
1680
|
+
*/
|
|
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 {
|
|
1711
|
+
/**
|
|
1712
|
+
* Opaque, human-friendly public id (<name-slug>-<token>).
|
|
1713
|
+
* @type {string}
|
|
1714
|
+
* @memberof GraphNode
|
|
1715
|
+
*/
|
|
1716
|
+
id: string;
|
|
1717
|
+
/**
|
|
1718
|
+
*
|
|
1719
|
+
* @type {GraphNodeType}
|
|
1720
|
+
* @memberof GraphNode
|
|
1721
|
+
*/
|
|
1722
|
+
type: GraphNodeType;
|
|
1723
|
+
/**
|
|
1724
|
+
*
|
|
1725
|
+
* @type {string}
|
|
1726
|
+
* @memberof GraphNode
|
|
1727
|
+
*/
|
|
1728
|
+
name: string;
|
|
1729
|
+
/**
|
|
1730
|
+
*
|
|
1731
|
+
* @type {Array<string>}
|
|
1732
|
+
* @memberof GraphNode
|
|
1733
|
+
*/
|
|
1734
|
+
aliases?: Array<string>;
|
|
1735
|
+
/**
|
|
1736
|
+
*
|
|
1737
|
+
* @type {string}
|
|
1738
|
+
* @memberof GraphNode
|
|
1739
|
+
*/
|
|
1740
|
+
description?: string | null;
|
|
1741
|
+
/**
|
|
1742
|
+
*
|
|
1743
|
+
* @type {EntityClassName}
|
|
1744
|
+
* @memberof GraphNode
|
|
1745
|
+
*/
|
|
1746
|
+
subtype?: EntityClassName | null;
|
|
1747
|
+
}
|
|
1748
|
+
/**
|
|
1749
|
+
* Check if a given object implements the GraphNode interface.
|
|
1750
|
+
*/
|
|
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;
|
|
1756
|
+
|
|
1757
|
+
/**
|
|
1758
|
+
* Knowledge Search API
|
|
1759
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
1760
|
+
*
|
|
1761
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1762
|
+
*
|
|
1763
|
+
*
|
|
1764
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1765
|
+
* https://openapi-generator.tech
|
|
1766
|
+
* Do not edit the class manually.
|
|
1767
|
+
*/
|
|
1768
|
+
|
|
1769
|
+
/**
|
|
1770
|
+
*
|
|
1771
|
+
* @export
|
|
1772
|
+
* @interface RelationGroup
|
|
1773
|
+
*/
|
|
1774
|
+
interface RelationGroup {
|
|
1775
|
+
/**
|
|
1776
|
+
*
|
|
1777
|
+
* @type {Array<GraphNode>}
|
|
1778
|
+
* @memberof RelationGroup
|
|
1779
|
+
*/
|
|
1780
|
+
items: Array<GraphNode>;
|
|
1781
|
+
/**
|
|
1782
|
+
*
|
|
1783
|
+
* @type {number}
|
|
1784
|
+
* @memberof RelationGroup
|
|
1785
|
+
*/
|
|
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 {
|
|
1815
|
+
/**
|
|
1816
|
+
*
|
|
1817
|
+
* @type {RelationGroup}
|
|
1818
|
+
* @memberof RelatedGroups
|
|
1819
|
+
*/
|
|
1820
|
+
sources: RelationGroup;
|
|
1821
|
+
/**
|
|
1822
|
+
*
|
|
1823
|
+
* @type {RelationGroup}
|
|
1824
|
+
* @memberof RelatedGroups
|
|
1825
|
+
*/
|
|
1826
|
+
metrics: RelationGroup;
|
|
1827
|
+
/**
|
|
1828
|
+
*
|
|
1829
|
+
* @type {RelationGroup}
|
|
1830
|
+
* @memberof RelatedGroups
|
|
1831
|
+
*/
|
|
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 {
|
|
1861
|
+
/**
|
|
1862
|
+
*
|
|
1863
|
+
* @type {GraphNodeType}
|
|
1864
|
+
* @memberof GraphRelationPage
|
|
1865
|
+
*/
|
|
1866
|
+
relation_type: GraphNodeType;
|
|
1867
|
+
/**
|
|
1868
|
+
*
|
|
1869
|
+
* @type {Array<GraphNode>}
|
|
1870
|
+
* @memberof GraphRelationPage
|
|
1871
|
+
*/
|
|
1872
|
+
items: Array<GraphNode>;
|
|
1873
|
+
/**
|
|
1874
|
+
*
|
|
1875
|
+
* @type {number}
|
|
1876
|
+
* @memberof GraphRelationPage
|
|
1877
|
+
*/
|
|
1878
|
+
total: number;
|
|
1879
|
+
/**
|
|
1880
|
+
*
|
|
1881
|
+
* @type {string}
|
|
1882
|
+
* @memberof GraphRelationPage
|
|
1883
|
+
*/
|
|
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 {
|
|
1913
|
+
/**
|
|
1914
|
+
*
|
|
1915
|
+
* @type {GraphNode}
|
|
1916
|
+
* @memberof GraphRelatedResponse
|
|
1917
|
+
*/
|
|
1918
|
+
node: GraphNode;
|
|
1919
|
+
/**
|
|
1920
|
+
*
|
|
1921
|
+
* @type {RelatedGroups}
|
|
1922
|
+
* @memberof GraphRelatedResponse
|
|
1923
|
+
*/
|
|
1924
|
+
related?: RelatedGroups | null;
|
|
1925
|
+
/**
|
|
1926
|
+
*
|
|
1927
|
+
* @type {GraphRelationPage}
|
|
1928
|
+
* @memberof GraphRelatedResponse
|
|
1929
|
+
*/
|
|
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 {
|
|
1959
|
+
/**
|
|
1960
|
+
*
|
|
1961
|
+
* @type {Array<GraphNode>}
|
|
1962
|
+
* @memberof GraphSearchResponse
|
|
1963
|
+
*/
|
|
1964
|
+
results: Array<GraphNode>;
|
|
1965
|
+
}
|
|
1966
|
+
/**
|
|
1967
|
+
* Check if a given object implements the GraphSearchResponse interface.
|
|
1968
|
+
*/
|
|
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;
|
|
1974
|
+
|
|
1671
1975
|
/**
|
|
1672
1976
|
* Knowledge Search API
|
|
1673
1977
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
@@ -1682,8 +1986,7 @@ declare function CreateCardRequestToJSONTyped(value?: CreateCardRequest | null,
|
|
|
1682
1986
|
/**
|
|
1683
1987
|
* Public effort taxonomy for the new endpoints. FAST is the default. INSTANT
|
|
1684
1988
|
* serves cached embeds without re-running data retrieval and is available in all
|
|
1685
|
-
* environments
|
|
1686
|
-
* 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
|
|
1687
1990
|
* (slower; billed at a premium tier). The generated OpenAPI/SDK advertises
|
|
1688
1991
|
* exactly these members, so we add values only as the pipeline gains support.
|
|
1689
1992
|
* @export
|
|
@@ -1739,51 +2042,6 @@ declare function OutputSettingsFromJSONTyped(json: any, ignoreDiscriminator: boo
|
|
|
1739
2042
|
declare function OutputSettingsToJSON(json: any): OutputSettings;
|
|
1740
2043
|
declare function OutputSettingsToJSONTyped(value?: OutputSettings | null, ignoreDiscriminator?: boolean): any;
|
|
1741
2044
|
|
|
1742
|
-
/**
|
|
1743
|
-
* Knowledge Search API
|
|
1744
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
1745
|
-
*
|
|
1746
|
-
* The version of the OpenAPI document: 1.0.0
|
|
1747
|
-
*
|
|
1748
|
-
*
|
|
1749
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1750
|
-
* https://openapi-generator.tech
|
|
1751
|
-
* Do not edit the class manually.
|
|
1752
|
-
*/
|
|
1753
|
-
/**
|
|
1754
|
-
*
|
|
1755
|
-
* @export
|
|
1756
|
-
* @interface TakoSourceSettings
|
|
1757
|
-
*/
|
|
1758
|
-
interface TakoSourceSettings {
|
|
1759
|
-
/**
|
|
1760
|
-
* Maximum number of results to return for this source. 1-20.
|
|
1761
|
-
* @type {number}
|
|
1762
|
-
* @memberof TakoSourceSettings
|
|
1763
|
-
*/
|
|
1764
|
-
count?: number;
|
|
1765
|
-
/**
|
|
1766
|
-
* Inline this source's underlying data (CSV for Tako cards, extracted text for web results) directly in the response.
|
|
1767
|
-
* @type {boolean}
|
|
1768
|
-
* @memberof TakoSourceSettings
|
|
1769
|
-
*/
|
|
1770
|
-
include_contents?: boolean;
|
|
1771
|
-
/**
|
|
1772
|
-
* 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).
|
|
1773
|
-
* @type {boolean}
|
|
1774
|
-
* @memberof TakoSourceSettings
|
|
1775
|
-
*/
|
|
1776
|
-
defer_data_retrieval?: boolean;
|
|
1777
|
-
}
|
|
1778
|
-
/**
|
|
1779
|
-
* Check if a given object implements the TakoSourceSettings interface.
|
|
1780
|
-
*/
|
|
1781
|
-
declare function instanceOfTakoSourceSettings(value: object): value is TakoSourceSettings;
|
|
1782
|
-
declare function TakoSourceSettingsFromJSON(json: any): TakoSourceSettings;
|
|
1783
|
-
declare function TakoSourceSettingsFromJSONTyped(json: any, ignoreDiscriminator: boolean): TakoSourceSettings;
|
|
1784
|
-
declare function TakoSourceSettingsToJSON(json: any): TakoSourceSettings;
|
|
1785
|
-
declare function TakoSourceSettingsToJSONTyped(value?: TakoSourceSettings | null, ignoreDiscriminator?: boolean): any;
|
|
1786
|
-
|
|
1787
2045
|
/**
|
|
1788
2046
|
* Knowledge Search API
|
|
1789
2047
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
@@ -1846,10 +2104,10 @@ declare function SourceSettingsToJSONTyped(value?: SourceSettings | null, ignore
|
|
|
1846
2104
|
interface Sources {
|
|
1847
2105
|
/**
|
|
1848
2106
|
* Tako data source (curated knowledge). Searched iff present. The legacy key 'tako' is accepted as a synonym.
|
|
1849
|
-
* @type {
|
|
2107
|
+
* @type {SourceSettings}
|
|
1850
2108
|
* @memberof Sources
|
|
1851
2109
|
*/
|
|
1852
|
-
data?:
|
|
2110
|
+
data?: SourceSettings | null;
|
|
1853
2111
|
/**
|
|
1854
2112
|
* Web source. Searched iff present.
|
|
1855
2113
|
* @type {SourceSettings}
|
|
@@ -2106,15 +2364,25 @@ declare function ThinVizCardToJSONTyped(value?: ThinVizCard | null, ignoreDiscri
|
|
|
2106
2364
|
interface AnswerRequest {
|
|
2107
2365
|
searchRequest?: SearchRequest;
|
|
2108
2366
|
}
|
|
2109
|
-
interface ClassifyOperationRequest {
|
|
2110
|
-
classifyRequest?: ClassifyRequest;
|
|
2111
|
-
}
|
|
2112
2367
|
interface ContentsOperationRequest {
|
|
2113
2368
|
contentsRequest?: ContentsRequest;
|
|
2114
2369
|
}
|
|
2115
2370
|
interface CreateCardOperationRequest {
|
|
2116
2371
|
createCardRequest?: CreateCardRequest;
|
|
2117
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
|
+
}
|
|
2118
2386
|
interface SearchOperationRequest {
|
|
2119
2387
|
searchRequest?: SearchRequest;
|
|
2120
2388
|
}
|
|
@@ -2146,27 +2414,6 @@ interface TakoApiInterface {
|
|
|
2146
2414
|
* Answer
|
|
2147
2415
|
*/
|
|
2148
2416
|
answer(requestParameters: AnswerRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<AnswerResponse>;
|
|
2149
|
-
/**
|
|
2150
|
-
* Creates request options for classify without sending the request
|
|
2151
|
-
* @param {ClassifyRequest} [classifyRequest]
|
|
2152
|
-
* @throws {RequiredError}
|
|
2153
|
-
* @memberof TakoApiInterface
|
|
2154
|
-
*/
|
|
2155
|
-
classifyRequestOpts(requestParameters: ClassifyOperationRequest): Promise<RequestOpts>;
|
|
2156
|
-
/**
|
|
2157
|
-
* 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.
|
|
2158
|
-
* @summary Classify queries
|
|
2159
|
-
* @param {ClassifyRequest} [classifyRequest]
|
|
2160
|
-
* @param {*} [options] Override http request option.
|
|
2161
|
-
* @throws {RequiredError}
|
|
2162
|
-
* @memberof TakoApiInterface
|
|
2163
|
-
*/
|
|
2164
|
-
classifyRaw(requestParameters: ClassifyOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<ClassifyResponse>>;
|
|
2165
|
-
/**
|
|
2166
|
-
* 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.
|
|
2167
|
-
* Classify queries
|
|
2168
|
-
*/
|
|
2169
|
-
classify(requestParameters: ClassifyOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ClassifyResponse>;
|
|
2170
2417
|
/**
|
|
2171
2418
|
* Creates request options for contents without sending the request
|
|
2172
2419
|
* @param {ContentsRequest} [contentsRequest]
|
|
@@ -2207,6 +2454,62 @@ interface TakoApiInterface {
|
|
|
2207
2454
|
* Create a visualization card directly from component configurations. Supported component types: header, generic_timeseries, categorical_bar, stock_boxes, financial_boxes, table.
|
|
2208
2455
|
*/
|
|
2209
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\' 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\' 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 \'types\' is a 400. Note: results are drawn from a bounded candidate window (min(limit*5, 200)) before filtering, so a response shorter than `limit` 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 \'types\' is a 400. Note: results are drawn from a bounded candidate window (min(limit*5, 200)) before filtering, so a response shorter than `limit` 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>;
|
|
2210
2513
|
/**
|
|
2211
2514
|
* Creates request options for search without sending the request
|
|
2212
2515
|
* @param {SearchRequest} [searchRequest]
|
|
@@ -2247,20 +2550,6 @@ declare class TakoApi extends BaseAPI implements TakoApiInterface {
|
|
|
2247
2550
|
* Answer
|
|
2248
2551
|
*/
|
|
2249
2552
|
answer(requestParameters?: AnswerRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<AnswerResponse>;
|
|
2250
|
-
/**
|
|
2251
|
-
* Creates request options for classify without sending the request
|
|
2252
|
-
*/
|
|
2253
|
-
classifyRequestOpts(requestParameters: ClassifyOperationRequest): Promise<RequestOpts>;
|
|
2254
|
-
/**
|
|
2255
|
-
* 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.
|
|
2256
|
-
* Classify queries
|
|
2257
|
-
*/
|
|
2258
|
-
classifyRaw(requestParameters: ClassifyOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<ClassifyResponse>>;
|
|
2259
|
-
/**
|
|
2260
|
-
* 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.
|
|
2261
|
-
* Classify queries
|
|
2262
|
-
*/
|
|
2263
|
-
classify(requestParameters?: ClassifyOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ClassifyResponse>;
|
|
2264
2553
|
/**
|
|
2265
2554
|
* Creates request options for contents without sending the request
|
|
2266
2555
|
*/
|
|
@@ -2287,6 +2576,34 @@ declare class TakoApi extends BaseAPI implements TakoApiInterface {
|
|
|
2287
2576
|
* Create a visualization card directly from component configurations. Supported component types: header, generic_timeseries, categorical_bar, stock_boxes, financial_boxes, table.
|
|
2288
2577
|
*/
|
|
2289
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>;
|
|
2290
2607
|
/**
|
|
2291
2608
|
* Creates request options for search without sending the request
|
|
2292
2609
|
*/
|
|
@@ -2302,6 +2619,96 @@ declare class TakoApi extends BaseAPI implements TakoApiInterface {
|
|
|
2302
2619
|
*/
|
|
2303
2620
|
search(requestParameters?: SearchOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<SearchResponse>;
|
|
2304
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];
|
|
2305
2712
|
|
|
2306
2713
|
/**
|
|
2307
2714
|
* Knowledge Search API
|
|
@@ -3365,6 +3772,8 @@ declare class Tako {
|
|
|
3365
3772
|
answer(request: SearchRequest): Promise<AnswerResponse>;
|
|
3366
3773
|
contents(request: ContentsRequest): Promise<ContentsResponse>;
|
|
3367
3774
|
createCard(request: CreateCardRequest): Promise<ThinVizCard>;
|
|
3775
|
+
graphSearch(request: GraphSearchRequest): Promise<GraphSearchResponse>;
|
|
3776
|
+
graphRelated(request: GraphRelatedRequest): Promise<GraphRelatedResponse>;
|
|
3368
3777
|
}
|
|
3369
3778
|
|
|
3370
|
-
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 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 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 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 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, type TakoSourceSettings, TakoSourceSettingsFromJSON, TakoSourceSettingsFromJSONTyped, TakoSourceSettingsToJSON, TakoSourceSettingsToJSONTyped, 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, instanceOfClassifyRequest, instanceOfClassifyResponse, instanceOfComponentConfig, instanceOfComponentTypeEnum, instanceOfContentFormat, instanceOfContentItem, instanceOfContentsDeliveryMode, instanceOfContentsRequest, instanceOfContentsResponse, instanceOfCreateCard400Response, instanceOfCreateCardRequest, instanceOfDataPipelineAnswerEvent, instanceOfErrorObject, instanceOfHeartbeatEvent, instanceOfKnowledgeCardMethodology, instanceOfKnowledgeCardRelevance, instanceOfOutputSettings, instanceOfQueryClassification, instanceOfReasoningEvent, instanceOfResultContent, instanceOfSearchEffortLevel, instanceOfSearchRequest, instanceOfSearchResponse, instanceOfSourceSettings, instanceOfSources, instanceOfStatusEvent, instanceOfStreamCategory, instanceOfStreamDoneEvent, instanceOfStreamResetEvent, instanceOfSubagentEvent, instanceOfTakoCard, instanceOfTakoCardSource, instanceOfTakoSourceIndex, instanceOfTakoSourceSettings, instanceOfTextEvent, instanceOfThinVizCard, 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 };
|