tako-sdk 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/index.cjs +112 -348
- package/dist/index.d.cts +151 -412
- package/dist/index.d.ts +151 -412
- package/dist/index.js +95 -307
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -270,107 +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
|
|
277
|
-
readonly
|
|
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
|
|
283
|
-
declare function
|
|
284
|
-
declare function
|
|
285
|
-
declare function
|
|
286
|
-
declare function
|
|
287
|
-
declare function
|
|
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;
|
|
328
|
-
|
|
329
|
-
/**
|
|
330
|
-
* Knowledge Search API
|
|
331
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
332
|
-
*
|
|
333
|
-
* The version of the OpenAPI document: 1.0.0
|
|
334
|
-
*
|
|
335
|
-
*
|
|
336
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
337
|
-
* https://openapi-generator.tech
|
|
338
|
-
* Do not edit the class manually.
|
|
339
|
-
*/
|
|
340
|
-
|
|
341
|
-
/**
|
|
342
|
-
* The index of the source
|
|
343
|
-
* @export
|
|
344
|
-
* @interface SourceIndex
|
|
345
|
-
*/
|
|
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;
|
|
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;
|
|
374
289
|
|
|
375
290
|
/**
|
|
376
291
|
* Knowledge Search API
|
|
@@ -385,50 +300,52 @@ declare function SourceIndexToJSONTyped(value?: SourceIndex | null, ignoreDiscri
|
|
|
385
300
|
*/
|
|
386
301
|
|
|
387
302
|
/**
|
|
388
|
-
*
|
|
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.
|
|
389
306
|
* @export
|
|
390
|
-
* @interface
|
|
307
|
+
* @interface TakoCardSource
|
|
391
308
|
*/
|
|
392
|
-
interface
|
|
309
|
+
interface TakoCardSource {
|
|
393
310
|
/**
|
|
394
311
|
* The name of the source
|
|
395
312
|
* @type {string}
|
|
396
|
-
* @memberof
|
|
313
|
+
* @memberof TakoCardSource
|
|
397
314
|
*/
|
|
398
|
-
source_name
|
|
315
|
+
source_name?: string | null;
|
|
399
316
|
/**
|
|
400
317
|
* The description of the source
|
|
401
318
|
* @type {string}
|
|
402
|
-
* @memberof
|
|
319
|
+
* @memberof TakoCardSource
|
|
403
320
|
*/
|
|
404
|
-
source_description
|
|
321
|
+
source_description?: string | null;
|
|
405
322
|
/**
|
|
406
|
-
*
|
|
407
|
-
* @type {
|
|
408
|
-
* @memberof
|
|
323
|
+
* The index of the source
|
|
324
|
+
* @type {TakoSourceIndex}
|
|
325
|
+
* @memberof TakoCardSource
|
|
409
326
|
*/
|
|
410
|
-
source_index:
|
|
327
|
+
source_index: TakoSourceIndex;
|
|
411
328
|
/**
|
|
412
329
|
* The URL of the source
|
|
413
330
|
* @type {string}
|
|
414
|
-
* @memberof
|
|
331
|
+
* @memberof TakoCardSource
|
|
415
332
|
*/
|
|
416
|
-
url
|
|
333
|
+
url?: string | null;
|
|
417
334
|
/**
|
|
418
|
-
* Raw excerpt(s) retrieved from the source page — the unmodified web content the answer was grounded in
|
|
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
|
|
337
|
+
* @memberof TakoCardSource
|
|
421
338
|
*/
|
|
422
339
|
source_text?: string | null;
|
|
423
340
|
}
|
|
424
341
|
/**
|
|
425
|
-
* Check if a given object implements the
|
|
342
|
+
* Check if a given object implements the TakoCardSource interface.
|
|
426
343
|
*/
|
|
427
|
-
declare function
|
|
428
|
-
declare function
|
|
429
|
-
declare function
|
|
430
|
-
declare function
|
|
431
|
-
declare function
|
|
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<
|
|
531
|
+
* @type {Array<TakoCardSource>}
|
|
615
532
|
* @memberof TakoCard
|
|
616
533
|
*/
|
|
617
|
-
sources?: Array<
|
|
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<
|
|
543
|
+
* @type {Array<TakoSourceIndex>}
|
|
627
544
|
* @memberof TakoCard
|
|
628
545
|
*/
|
|
629
|
-
source_indexes?: Array<
|
|
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
|
|
1025
|
+
runId: string;
|
|
1109
1026
|
startingAfter?: number;
|
|
1110
1027
|
}
|
|
1111
1028
|
/**
|
|
@@ -1751,199 +1668,6 @@ declare function CreateCardRequestFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
1751
1668
|
declare function CreateCardRequestToJSON(json: any): CreateCardRequest;
|
|
1752
1669
|
declare function CreateCardRequestToJSONTyped(value?: CreateCardRequest | null, ignoreDiscriminator?: boolean): any;
|
|
1753
1670
|
|
|
1754
|
-
/**
|
|
1755
|
-
* Knowledge Search API
|
|
1756
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
1757
|
-
*
|
|
1758
|
-
* The version of the OpenAPI document: 1.0.0
|
|
1759
|
-
*
|
|
1760
|
-
*
|
|
1761
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1762
|
-
* https://openapi-generator.tech
|
|
1763
|
-
* Do not edit the class manually.
|
|
1764
|
-
*/
|
|
1765
|
-
/**
|
|
1766
|
-
* Documents a decision made by Tako's ideal viz logic for a specific ChartJS property.
|
|
1767
|
-
*
|
|
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)
|
|
1775
|
-
*
|
|
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
|
-
*
|
|
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
|
-
* )
|
|
1793
|
-
*
|
|
1794
|
-
* This class will be removed in a future version.
|
|
1795
|
-
* @export
|
|
1796
|
-
* @interface IdealVizDecision
|
|
1797
|
-
*/
|
|
1798
|
-
interface IdealVizDecision {
|
|
1799
|
-
/**
|
|
1800
|
-
* ChartJS property path
|
|
1801
|
-
* @type {string}
|
|
1802
|
-
* @memberof IdealVizDecision
|
|
1803
|
-
*/
|
|
1804
|
-
property_path: string;
|
|
1805
|
-
/**
|
|
1806
|
-
* Human-friendly display name for the property path
|
|
1807
|
-
* @type {string}
|
|
1808
|
-
* @memberof IdealVizDecision
|
|
1809
|
-
*/
|
|
1810
|
-
property_path_display_name?: string | null;
|
|
1811
|
-
/**
|
|
1812
|
-
* Why this decision was made
|
|
1813
|
-
* @type {string}
|
|
1814
|
-
* @memberof IdealVizDecision
|
|
1815
|
-
*/
|
|
1816
|
-
reason: string;
|
|
1817
|
-
}
|
|
1818
|
-
/**
|
|
1819
|
-
* Check if a given object implements the IdealVizDecision interface.
|
|
1820
|
-
*/
|
|
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;
|
|
1826
|
-
|
|
1827
|
-
/**
|
|
1828
|
-
* Knowledge Search API
|
|
1829
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
1830
|
-
*
|
|
1831
|
-
* The version of the OpenAPI document: 1.0.0
|
|
1832
|
-
*
|
|
1833
|
-
*
|
|
1834
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1835
|
-
* https://openapi-generator.tech
|
|
1836
|
-
* Do not edit the class manually.
|
|
1837
|
-
*/
|
|
1838
|
-
|
|
1839
|
-
/**
|
|
1840
|
-
*
|
|
1841
|
-
* @export
|
|
1842
|
-
* @interface KnowledgeCard
|
|
1843
|
-
*/
|
|
1844
|
-
interface KnowledgeCard {
|
|
1845
|
-
/**
|
|
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
|
|
1861
|
-
*/
|
|
1862
|
-
description: string | null;
|
|
1863
|
-
/**
|
|
1864
|
-
* The unique ID of the knowledge card
|
|
1865
|
-
* @type {string}
|
|
1866
|
-
* @memberof KnowledgeCard
|
|
1867
|
-
*/
|
|
1868
|
-
semantic_description?: string | null;
|
|
1869
|
-
/**
|
|
1870
|
-
* The unique ID of the knowledge card
|
|
1871
|
-
* @type {string}
|
|
1872
|
-
* @memberof KnowledgeCard
|
|
1873
|
-
*/
|
|
1874
|
-
webpage_url: string | null;
|
|
1875
|
-
/**
|
|
1876
|
-
* The unique ID of the knowledge card
|
|
1877
|
-
* @type {string}
|
|
1878
|
-
* @memberof KnowledgeCard
|
|
1879
|
-
*/
|
|
1880
|
-
image_url: string | null;
|
|
1881
|
-
/**
|
|
1882
|
-
* The unique ID of the knowledge card
|
|
1883
|
-
* @type {string}
|
|
1884
|
-
* @memberof KnowledgeCard
|
|
1885
|
-
*/
|
|
1886
|
-
embed_url: string | null;
|
|
1887
|
-
/**
|
|
1888
|
-
* The sources of the knowledge card
|
|
1889
|
-
* @type {Array<KnowledgeCardSource>}
|
|
1890
|
-
* @memberof KnowledgeCard
|
|
1891
|
-
*/
|
|
1892
|
-
sources: Array<KnowledgeCardSource> | null;
|
|
1893
|
-
/**
|
|
1894
|
-
* The methodologies of the knowledge card
|
|
1895
|
-
* @type {Array<KnowledgeCardMethodology>}
|
|
1896
|
-
* @memberof KnowledgeCard
|
|
1897
|
-
*/
|
|
1898
|
-
methodologies: Array<KnowledgeCardMethodology> | null;
|
|
1899
|
-
/**
|
|
1900
|
-
* The source indexes of the knowledge card
|
|
1901
|
-
* @type {Array<KnowledgeCardSourceIndexesInner>}
|
|
1902
|
-
* @memberof KnowledgeCard
|
|
1903
|
-
*/
|
|
1904
|
-
source_indexes: Array<KnowledgeCardSourceIndexesInner> | null;
|
|
1905
|
-
/**
|
|
1906
|
-
* The unique ID of the knowledge card
|
|
1907
|
-
* @type {string}
|
|
1908
|
-
* @memberof KnowledgeCard
|
|
1909
|
-
*/
|
|
1910
|
-
card_type: string | null;
|
|
1911
|
-
/**
|
|
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
|
|
1915
|
-
*/
|
|
1916
|
-
data_url: string | null;
|
|
1917
|
-
/**
|
|
1918
|
-
* How relevant this knowledge card is to the search query
|
|
1919
|
-
* @type {KnowledgeCardRelevance}
|
|
1920
|
-
* @memberof KnowledgeCard
|
|
1921
|
-
*/
|
|
1922
|
-
relevance: KnowledgeCardRelevance | null;
|
|
1923
|
-
/**
|
|
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
|
|
1927
|
-
*/
|
|
1928
|
-
visualization_data: {
|
|
1929
|
-
[key: string]: any;
|
|
1930
|
-
} | null;
|
|
1931
|
-
/**
|
|
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
|
|
1935
|
-
*/
|
|
1936
|
-
ideal_viz_decisions?: Array<IdealVizDecision> | null;
|
|
1937
|
-
}
|
|
1938
|
-
/**
|
|
1939
|
-
* Check if a given object implements the KnowledgeCard interface.
|
|
1940
|
-
*/
|
|
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;
|
|
1946
|
-
|
|
1947
1671
|
/**
|
|
1948
1672
|
* Knowledge Search API
|
|
1949
1673
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
@@ -2264,6 +1988,109 @@ declare function SearchResponseFromJSONTyped(json: any, ignoreDiscriminator: boo
|
|
|
2264
1988
|
declare function SearchResponseToJSON(json: any): SearchResponse;
|
|
2265
1989
|
declare function SearchResponseToJSONTyped(value?: SearchResponse | null, ignoreDiscriminator?: boolean): any;
|
|
2266
1990
|
|
|
1991
|
+
/**
|
|
1992
|
+
* Knowledge Search API
|
|
1993
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
1994
|
+
*
|
|
1995
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1996
|
+
*
|
|
1997
|
+
*
|
|
1998
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1999
|
+
* https://openapi-generator.tech
|
|
2000
|
+
* Do not edit the class manually.
|
|
2001
|
+
*/
|
|
2002
|
+
/**
|
|
2003
|
+
* Response for POST /api/v1/thin_viz/create — a created visualization card.
|
|
2004
|
+
*
|
|
2005
|
+
* Distinct from KnowledgeCard: thin_viz builds a self-contained chart from a
|
|
2006
|
+
* caller-supplied component schema, so it never carries retrieval provenance
|
|
2007
|
+
* (sources / source_indexes) or downloadable raw data. The card is rendered via
|
|
2008
|
+
* `embed_url` and previewed via `image_url`; `visualization_data` carries the
|
|
2009
|
+
* inline chart config + data.
|
|
2010
|
+
*
|
|
2011
|
+
* Documents the populated subset of the response. The view emits a full
|
|
2012
|
+
* KnowledgeCard dump, so the wire payload also includes the remaining
|
|
2013
|
+
* KnowledgeCard fields (sources, source_indexes, methodologies, data_url, etc.)
|
|
2014
|
+
* as null; those are intentionally undocumented here (always null for thin_viz)
|
|
2015
|
+
* so the public schema does not pull in the internal CardSourceIndex taxonomy.
|
|
2016
|
+
* @export
|
|
2017
|
+
* @interface ThinVizCard
|
|
2018
|
+
*/
|
|
2019
|
+
interface ThinVizCard {
|
|
2020
|
+
/**
|
|
2021
|
+
* Public ID of the created card.
|
|
2022
|
+
* @type {string}
|
|
2023
|
+
* @memberof ThinVizCard
|
|
2024
|
+
*/
|
|
2025
|
+
card_id?: string | null;
|
|
2026
|
+
/**
|
|
2027
|
+
* Card title.
|
|
2028
|
+
* @type {string}
|
|
2029
|
+
* @memberof ThinVizCard
|
|
2030
|
+
*/
|
|
2031
|
+
title?: string | null;
|
|
2032
|
+
/**
|
|
2033
|
+
* Card description.
|
|
2034
|
+
* @type {string}
|
|
2035
|
+
* @memberof ThinVizCard
|
|
2036
|
+
*/
|
|
2037
|
+
description?: string | null;
|
|
2038
|
+
/**
|
|
2039
|
+
* Hosted page URL for the card.
|
|
2040
|
+
* @type {string}
|
|
2041
|
+
* @memberof ThinVizCard
|
|
2042
|
+
*/
|
|
2043
|
+
webpage_url?: string | null;
|
|
2044
|
+
/**
|
|
2045
|
+
* Static preview image URL for the card.
|
|
2046
|
+
* @type {string}
|
|
2047
|
+
* @memberof ThinVizCard
|
|
2048
|
+
*/
|
|
2049
|
+
image_url?: string | null;
|
|
2050
|
+
/**
|
|
2051
|
+
* Embeddable URL for the card.
|
|
2052
|
+
* @type {string}
|
|
2053
|
+
* @memberof ThinVizCard
|
|
2054
|
+
*/
|
|
2055
|
+
embed_url?: string | null;
|
|
2056
|
+
/**
|
|
2057
|
+
* The card/chart type (e.g. 'bar').
|
|
2058
|
+
* @type {string}
|
|
2059
|
+
* @memberof ThinVizCard
|
|
2060
|
+
*/
|
|
2061
|
+
card_type?: string | null;
|
|
2062
|
+
/**
|
|
2063
|
+
* Inline chart config + data for rendering the card.
|
|
2064
|
+
* @type {{ [key: string]: any; }}
|
|
2065
|
+
* @memberof ThinVizCard
|
|
2066
|
+
*/
|
|
2067
|
+
visualization_data?: {
|
|
2068
|
+
[key: string]: any;
|
|
2069
|
+
} | null;
|
|
2070
|
+
/**
|
|
2071
|
+
* How the embed is delivered: 'postmessage' for postMessage embeds, 'post' otherwise.
|
|
2072
|
+
* @type {ThinVizCardEmbedModeEnum}
|
|
2073
|
+
* @memberof ThinVizCard
|
|
2074
|
+
*/
|
|
2075
|
+
embed_mode?: ThinVizCardEmbedModeEnum | null;
|
|
2076
|
+
}
|
|
2077
|
+
/**
|
|
2078
|
+
* @export
|
|
2079
|
+
*/
|
|
2080
|
+
declare const ThinVizCardEmbedModeEnum: {
|
|
2081
|
+
readonly Post: "post";
|
|
2082
|
+
readonly Postmessage: "postmessage";
|
|
2083
|
+
};
|
|
2084
|
+
type ThinVizCardEmbedModeEnum = typeof ThinVizCardEmbedModeEnum[keyof typeof ThinVizCardEmbedModeEnum];
|
|
2085
|
+
/**
|
|
2086
|
+
* Check if a given object implements the ThinVizCard interface.
|
|
2087
|
+
*/
|
|
2088
|
+
declare function instanceOfThinVizCard(value: object): value is ThinVizCard;
|
|
2089
|
+
declare function ThinVizCardFromJSON(json: any): ThinVizCard;
|
|
2090
|
+
declare function ThinVizCardFromJSONTyped(json: any, ignoreDiscriminator: boolean): ThinVizCard;
|
|
2091
|
+
declare function ThinVizCardToJSON(json: any): ThinVizCard;
|
|
2092
|
+
declare function ThinVizCardToJSONTyped(value?: ThinVizCard | null, ignoreDiscriminator?: boolean): any;
|
|
2093
|
+
|
|
2267
2094
|
/**
|
|
2268
2095
|
* Knowledge Search API
|
|
2269
2096
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
@@ -2375,11 +2202,11 @@ interface TakoApiInterface {
|
|
|
2375
2202
|
* @throws {RequiredError}
|
|
2376
2203
|
* @memberof TakoApiInterface
|
|
2377
2204
|
*/
|
|
2378
|
-
createCardRaw(requestParameters: CreateCardOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<
|
|
2205
|
+
createCardRaw(requestParameters: CreateCardOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<ThinVizCard>>;
|
|
2379
2206
|
/**
|
|
2380
2207
|
* Create a visualization card directly from component configurations. Supported component types: header, generic_timeseries, categorical_bar, stock_boxes, financial_boxes, table.
|
|
2381
2208
|
*/
|
|
2382
|
-
createCard(requestParameters: CreateCardOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<
|
|
2209
|
+
createCard(requestParameters: CreateCardOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ThinVizCard>;
|
|
2383
2210
|
/**
|
|
2384
2211
|
* Creates request options for search without sending the request
|
|
2385
2212
|
* @param {SearchRequest} [searchRequest]
|
|
@@ -2455,11 +2282,11 @@ declare class TakoApi extends BaseAPI implements TakoApiInterface {
|
|
|
2455
2282
|
/**
|
|
2456
2283
|
* Create a visualization card directly from component configurations. Supported component types: header, generic_timeseries, categorical_bar, stock_boxes, financial_boxes, table.
|
|
2457
2284
|
*/
|
|
2458
|
-
createCardRaw(requestParameters: CreateCardOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<
|
|
2285
|
+
createCardRaw(requestParameters: CreateCardOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<ThinVizCard>>;
|
|
2459
2286
|
/**
|
|
2460
2287
|
* Create a visualization card directly from component configurations. Supported component types: header, generic_timeseries, categorical_bar, stock_boxes, financial_boxes, table.
|
|
2461
2288
|
*/
|
|
2462
|
-
createCard(requestParameters?: CreateCardOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<
|
|
2289
|
+
createCard(requestParameters?: CreateCardOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ThinVizCard>;
|
|
2463
2290
|
/**
|
|
2464
2291
|
* Creates request options for search without sending the request
|
|
2465
2292
|
*/
|
|
@@ -3431,94 +3258,6 @@ declare function BaseAPIErrorFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
3431
3258
|
declare function BaseAPIErrorToJSON(json: any): BaseAPIError;
|
|
3432
3259
|
declare function BaseAPIErrorToJSONTyped(value?: BaseAPIError | null, ignoreDiscriminator?: boolean): any;
|
|
3433
3260
|
|
|
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
3261
|
/**
|
|
3523
3262
|
* Knowledge Search API
|
|
3524
3263
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
@@ -3537,11 +3276,11 @@ declare function CardSourcePrivateIndexToJSONTyped(value?: CardSourcePrivateInde
|
|
|
3537
3276
|
*/
|
|
3538
3277
|
interface CreateCard400Response {
|
|
3539
3278
|
/**
|
|
3540
|
-
*
|
|
3279
|
+
*
|
|
3541
3280
|
* @type {string}
|
|
3542
3281
|
* @memberof CreateCard400Response
|
|
3543
3282
|
*/
|
|
3544
|
-
error: string
|
|
3283
|
+
error: string;
|
|
3545
3284
|
}
|
|
3546
3285
|
/**
|
|
3547
3286
|
* Check if a given object implements the CreateCard400Response interface.
|
|
@@ -3625,7 +3364,7 @@ declare class Tako {
|
|
|
3625
3364
|
search(request: SearchRequest): Promise<SearchResponse>;
|
|
3626
3365
|
answer(request: SearchRequest): Promise<AnswerResponse>;
|
|
3627
3366
|
contents(request: ContentsRequest): Promise<ContentsResponse>;
|
|
3628
|
-
createCard(request: CreateCardRequest): Promise<
|
|
3367
|
+
createCard(request: CreateCardRequest): Promise<ThinVizCard>;
|
|
3629
3368
|
}
|
|
3630
3369
|
|
|
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 };
|
|
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 };
|