tako-sdk 1.0.2 → 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 +256 -449
- package/dist/index.d.cts +331 -542
- package/dist/index.d.ts +331 -542
- package/dist/index.js +234 -408
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -195,60 +195,29 @@ declare class TextApiResponse {
|
|
|
195
195
|
* Do not edit the class manually.
|
|
196
196
|
*/
|
|
197
197
|
/**
|
|
198
|
-
*
|
|
198
|
+
* Cost-plus usage for an agent run. usd_cost is the run's COGS x the agent
|
|
199
|
+
* multiplier — the price the run was charged. Present only on metered/PAYG runs that
|
|
200
|
+
* were actually billed; absent for subscription/enterprise/free runs. No
|
|
201
|
+
* token/tool-call/latency telemetry.
|
|
199
202
|
* @export
|
|
200
|
-
* @interface
|
|
203
|
+
* @interface AgentUsage
|
|
201
204
|
*/
|
|
202
|
-
interface
|
|
203
|
-
/**
|
|
204
|
-
* The name of the methodology
|
|
205
|
-
* @type {string}
|
|
206
|
-
* @memberof KnowledgeCardMethodology
|
|
207
|
-
*/
|
|
208
|
-
methodology_name: string | null;
|
|
205
|
+
interface AgentUsage {
|
|
209
206
|
/**
|
|
210
|
-
*
|
|
211
|
-
* @type {
|
|
212
|
-
* @memberof
|
|
207
|
+
*
|
|
208
|
+
* @type {number}
|
|
209
|
+
* @memberof AgentUsage
|
|
213
210
|
*/
|
|
214
|
-
|
|
211
|
+
usd_cost?: number | null;
|
|
215
212
|
}
|
|
216
213
|
/**
|
|
217
|
-
* Check if a given object implements the
|
|
218
|
-
*/
|
|
219
|
-
declare function instanceOfKnowledgeCardMethodology(value: object): value is KnowledgeCardMethodology;
|
|
220
|
-
declare function KnowledgeCardMethodologyFromJSON(json: any): KnowledgeCardMethodology;
|
|
221
|
-
declare function KnowledgeCardMethodologyFromJSONTyped(json: any, ignoreDiscriminator: boolean): KnowledgeCardMethodology;
|
|
222
|
-
declare function KnowledgeCardMethodologyToJSON(json: any): KnowledgeCardMethodology;
|
|
223
|
-
declare function KnowledgeCardMethodologyToJSONTyped(value?: KnowledgeCardMethodology | null, ignoreDiscriminator?: boolean): any;
|
|
224
|
-
|
|
225
|
-
/**
|
|
226
|
-
* Knowledge Search API
|
|
227
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
228
|
-
*
|
|
229
|
-
* The version of the OpenAPI document: 1.0.0
|
|
230
|
-
*
|
|
231
|
-
*
|
|
232
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
233
|
-
* https://openapi-generator.tech
|
|
234
|
-
* Do not edit the class manually.
|
|
235
|
-
*/
|
|
236
|
-
/**
|
|
237
|
-
*
|
|
238
|
-
* @export
|
|
214
|
+
* Check if a given object implements the AgentUsage interface.
|
|
239
215
|
*/
|
|
240
|
-
declare
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
};
|
|
246
|
-
type CardSourceIndex = typeof CardSourceIndex[keyof typeof CardSourceIndex];
|
|
247
|
-
declare function instanceOfCardSourceIndex(value: any): boolean;
|
|
248
|
-
declare function CardSourceIndexFromJSON(json: any): CardSourceIndex;
|
|
249
|
-
declare function CardSourceIndexFromJSONTyped(json: any, ignoreDiscriminator: boolean): CardSourceIndex;
|
|
250
|
-
declare function CardSourceIndexToJSON(value?: CardSourceIndex | null): any;
|
|
251
|
-
declare function CardSourceIndexToJSONTyped(value: any, ignoreDiscriminator: boolean): CardSourceIndex;
|
|
216
|
+
declare function instanceOfAgentUsage(value: object): value is AgentUsage;
|
|
217
|
+
declare function AgentUsageFromJSON(json: any): AgentUsage;
|
|
218
|
+
declare function AgentUsageFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentUsage;
|
|
219
|
+
declare function AgentUsageToJSON(json: any): AgentUsage;
|
|
220
|
+
declare function AgentUsageToJSONTyped(value?: AgentUsage | null, ignoreDiscriminator?: boolean): any;
|
|
252
221
|
|
|
253
222
|
/**
|
|
254
223
|
* Knowledge Search API
|
|
@@ -261,34 +230,33 @@ declare function CardSourceIndexToJSONTyped(value: any, ignoreDiscriminator: boo
|
|
|
261
230
|
* https://openapi-generator.tech
|
|
262
231
|
* Do not edit the class manually.
|
|
263
232
|
*/
|
|
264
|
-
|
|
265
233
|
/**
|
|
266
234
|
*
|
|
267
235
|
* @export
|
|
268
|
-
* @interface
|
|
236
|
+
* @interface KnowledgeCardMethodology
|
|
269
237
|
*/
|
|
270
|
-
interface
|
|
238
|
+
interface KnowledgeCardMethodology {
|
|
271
239
|
/**
|
|
272
|
-
*
|
|
273
|
-
* @type {
|
|
274
|
-
* @memberof
|
|
240
|
+
* The name of the methodology
|
|
241
|
+
* @type {string}
|
|
242
|
+
* @memberof KnowledgeCardMethodology
|
|
275
243
|
*/
|
|
276
|
-
|
|
244
|
+
methodology_name: string | null;
|
|
277
245
|
/**
|
|
278
|
-
*
|
|
246
|
+
* The description of the methodology
|
|
279
247
|
* @type {string}
|
|
280
|
-
* @memberof
|
|
248
|
+
* @memberof KnowledgeCardMethodology
|
|
281
249
|
*/
|
|
282
|
-
|
|
250
|
+
methodology_description: string | null;
|
|
283
251
|
}
|
|
284
252
|
/**
|
|
285
|
-
* Check if a given object implements the
|
|
253
|
+
* Check if a given object implements the KnowledgeCardMethodology interface.
|
|
286
254
|
*/
|
|
287
|
-
declare function
|
|
288
|
-
declare function
|
|
289
|
-
declare function
|
|
290
|
-
declare function
|
|
291
|
-
declare function
|
|
255
|
+
declare function instanceOfKnowledgeCardMethodology(value: object): value is KnowledgeCardMethodology;
|
|
256
|
+
declare function KnowledgeCardMethodologyFromJSON(json: any): KnowledgeCardMethodology;
|
|
257
|
+
declare function KnowledgeCardMethodologyFromJSONTyped(json: any, ignoreDiscriminator: boolean): KnowledgeCardMethodology;
|
|
258
|
+
declare function KnowledgeCardMethodologyToJSON(json: any): KnowledgeCardMethodology;
|
|
259
|
+
declare function KnowledgeCardMethodologyToJSONTyped(value?: KnowledgeCardMethodology | null, ignoreDiscriminator?: boolean): any;
|
|
292
260
|
|
|
293
261
|
/**
|
|
294
262
|
* Knowledge Search API
|
|
@@ -301,40 +269,23 @@ declare function KnowledgeCardSourceIndexesInnerToJSONTyped(value?: KnowledgeCar
|
|
|
301
269
|
* https://openapi-generator.tech
|
|
302
270
|
* Do not edit the class manually.
|
|
303
271
|
*/
|
|
304
|
-
|
|
305
272
|
/**
|
|
306
|
-
*
|
|
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.
|
|
307
277
|
* @export
|
|
308
|
-
* @interface SourceIndex
|
|
309
|
-
*/
|
|
310
|
-
interface SourceIndex {
|
|
311
|
-
/**
|
|
312
|
-
*
|
|
313
|
-
* @type {CardSourceIndex}
|
|
314
|
-
* @memberof SourceIndex
|
|
315
|
-
*/
|
|
316
|
-
index_type: CardSourceIndex;
|
|
317
|
-
/**
|
|
318
|
-
* An ID for a segment of a source index (optional for private indexes)
|
|
319
|
-
* @type {string}
|
|
320
|
-
* @memberof SourceIndex
|
|
321
|
-
*/
|
|
322
|
-
segment_id: string;
|
|
323
|
-
/**
|
|
324
|
-
* An ID for a private index
|
|
325
|
-
* @type {string}
|
|
326
|
-
* @memberof SourceIndex
|
|
327
|
-
*/
|
|
328
|
-
private_index_id: string;
|
|
329
|
-
}
|
|
330
|
-
/**
|
|
331
|
-
* Check if a given object implements the SourceIndex interface.
|
|
332
278
|
*/
|
|
333
|
-
declare
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
279
|
+
declare const TakoSourceIndex: {
|
|
280
|
+
readonly Data: "data";
|
|
281
|
+
readonly Web: "web";
|
|
282
|
+
};
|
|
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;
|
|
338
289
|
|
|
339
290
|
/**
|
|
340
291
|
* Knowledge Search API
|
|
@@ -349,50 +300,52 @@ declare function SourceIndexToJSONTyped(value?: SourceIndex | null, ignoreDiscri
|
|
|
349
300
|
*/
|
|
350
301
|
|
|
351
302
|
/**
|
|
352
|
-
*
|
|
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.
|
|
353
306
|
* @export
|
|
354
|
-
* @interface
|
|
307
|
+
* @interface TakoCardSource
|
|
355
308
|
*/
|
|
356
|
-
interface
|
|
309
|
+
interface TakoCardSource {
|
|
357
310
|
/**
|
|
358
311
|
* The name of the source
|
|
359
312
|
* @type {string}
|
|
360
|
-
* @memberof
|
|
313
|
+
* @memberof TakoCardSource
|
|
361
314
|
*/
|
|
362
|
-
source_name
|
|
315
|
+
source_name?: string | null;
|
|
363
316
|
/**
|
|
364
317
|
* The description of the source
|
|
365
318
|
* @type {string}
|
|
366
|
-
* @memberof
|
|
319
|
+
* @memberof TakoCardSource
|
|
367
320
|
*/
|
|
368
|
-
source_description
|
|
321
|
+
source_description?: string | null;
|
|
369
322
|
/**
|
|
370
|
-
*
|
|
371
|
-
* @type {
|
|
372
|
-
* @memberof
|
|
323
|
+
* The index of the source
|
|
324
|
+
* @type {TakoSourceIndex}
|
|
325
|
+
* @memberof TakoCardSource
|
|
373
326
|
*/
|
|
374
|
-
source_index:
|
|
327
|
+
source_index: TakoSourceIndex;
|
|
375
328
|
/**
|
|
376
329
|
* The URL of the source
|
|
377
330
|
* @type {string}
|
|
378
|
-
* @memberof
|
|
331
|
+
* @memberof TakoCardSource
|
|
379
332
|
*/
|
|
380
|
-
url
|
|
333
|
+
url?: string | null;
|
|
381
334
|
/**
|
|
382
|
-
* 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.
|
|
383
336
|
* @type {string}
|
|
384
|
-
* @memberof
|
|
337
|
+
* @memberof TakoCardSource
|
|
385
338
|
*/
|
|
386
339
|
source_text?: string | null;
|
|
387
340
|
}
|
|
388
341
|
/**
|
|
389
|
-
* Check if a given object implements the
|
|
342
|
+
* Check if a given object implements the TakoCardSource interface.
|
|
390
343
|
*/
|
|
391
|
-
declare function
|
|
392
|
-
declare function
|
|
393
|
-
declare function
|
|
394
|
-
declare function
|
|
395
|
-
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;
|
|
396
349
|
|
|
397
350
|
/**
|
|
398
351
|
* Knowledge Search API
|
|
@@ -575,10 +528,10 @@ interface TakoCard {
|
|
|
575
528
|
embed_url?: string | null;
|
|
576
529
|
/**
|
|
577
530
|
*
|
|
578
|
-
* @type {Array<
|
|
531
|
+
* @type {Array<TakoCardSource>}
|
|
579
532
|
* @memberof TakoCard
|
|
580
533
|
*/
|
|
581
|
-
sources?: Array<
|
|
534
|
+
sources?: Array<TakoCardSource> | null;
|
|
582
535
|
/**
|
|
583
536
|
*
|
|
584
537
|
* @type {Array<KnowledgeCardMethodology>}
|
|
@@ -587,10 +540,10 @@ interface TakoCard {
|
|
|
587
540
|
methodologies?: Array<KnowledgeCardMethodology> | null;
|
|
588
541
|
/**
|
|
589
542
|
*
|
|
590
|
-
* @type {Array<
|
|
543
|
+
* @type {Array<TakoSourceIndex>}
|
|
591
544
|
* @memberof TakoCard
|
|
592
545
|
*/
|
|
593
|
-
source_indexes?: Array<
|
|
546
|
+
source_indexes?: Array<TakoSourceIndex> | null;
|
|
594
547
|
/**
|
|
595
548
|
*
|
|
596
549
|
* @type {string}
|
|
@@ -764,21 +717,21 @@ declare function AgentResultToJSONTyped(value?: AgentResult | null, ignoreDiscri
|
|
|
764
717
|
* Do not edit the class manually.
|
|
765
718
|
*/
|
|
766
719
|
/**
|
|
767
|
-
*
|
|
720
|
+
* Public effort taxonomy for the Agent API. `low` runs the fast data-pipeline
|
|
721
|
+
* retriever (the default); `medium` runs the analytical orchestrator. `high` is
|
|
722
|
+
* not yet exposed.
|
|
768
723
|
* @export
|
|
769
724
|
*/
|
|
770
|
-
declare const
|
|
771
|
-
readonly
|
|
772
|
-
readonly
|
|
773
|
-
readonly Completed: "completed";
|
|
774
|
-
readonly Failed: "failed";
|
|
725
|
+
declare const AgentEffortLevel: {
|
|
726
|
+
readonly Low: "low";
|
|
727
|
+
readonly Medium: "medium";
|
|
775
728
|
};
|
|
776
|
-
type
|
|
777
|
-
declare function
|
|
778
|
-
declare function
|
|
779
|
-
declare function
|
|
780
|
-
declare function
|
|
781
|
-
declare function
|
|
729
|
+
type AgentEffortLevel = typeof AgentEffortLevel[keyof typeof AgentEffortLevel];
|
|
730
|
+
declare function instanceOfAgentEffortLevel(value: any): boolean;
|
|
731
|
+
declare function AgentEffortLevelFromJSON(json: any): AgentEffortLevel;
|
|
732
|
+
declare function AgentEffortLevelFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentEffortLevel;
|
|
733
|
+
declare function AgentEffortLevelToJSON(value?: AgentEffortLevel | null): any;
|
|
734
|
+
declare function AgentEffortLevelToJSONTyped(value: any, ignoreDiscriminator: boolean): AgentEffortLevel;
|
|
782
735
|
|
|
783
736
|
/**
|
|
784
737
|
* Knowledge Search API
|
|
@@ -794,30 +747,24 @@ declare function AgentRunStatusToJSONTyped(value: any, ignoreDiscriminator: bool
|
|
|
794
747
|
/**
|
|
795
748
|
*
|
|
796
749
|
* @export
|
|
797
|
-
* @interface
|
|
750
|
+
* @interface AgentOutputSettings
|
|
798
751
|
*/
|
|
799
|
-
interface
|
|
800
|
-
/**
|
|
801
|
-
*
|
|
802
|
-
* @type {string}
|
|
803
|
-
* @memberof ErrorObject
|
|
804
|
-
*/
|
|
805
|
-
code: string;
|
|
752
|
+
interface AgentOutputSettings {
|
|
806
753
|
/**
|
|
807
|
-
*
|
|
808
|
-
* @type {
|
|
809
|
-
* @memberof
|
|
754
|
+
* Render card preview images in dark mode. Omit to use the default (dark).
|
|
755
|
+
* @type {boolean}
|
|
756
|
+
* @memberof AgentOutputSettings
|
|
810
757
|
*/
|
|
811
|
-
|
|
758
|
+
image_dark_mode?: boolean | null;
|
|
812
759
|
}
|
|
813
760
|
/**
|
|
814
|
-
* Check if a given object implements the
|
|
761
|
+
* Check if a given object implements the AgentOutputSettings interface.
|
|
815
762
|
*/
|
|
816
|
-
declare function
|
|
817
|
-
declare function
|
|
818
|
-
declare function
|
|
819
|
-
declare function
|
|
820
|
-
declare function
|
|
763
|
+
declare function instanceOfAgentOutputSettings(value: object): value is AgentOutputSettings;
|
|
764
|
+
declare function AgentOutputSettingsFromJSON(json: any): AgentOutputSettings;
|
|
765
|
+
declare function AgentOutputSettingsFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentOutputSettings;
|
|
766
|
+
declare function AgentOutputSettingsToJSON(json: any): AgentOutputSettings;
|
|
767
|
+
declare function AgentOutputSettingsToJSONTyped(value?: AgentOutputSettings | null, ignoreDiscriminator?: boolean): any;
|
|
821
768
|
|
|
822
769
|
/**
|
|
823
770
|
* Knowledge Search API
|
|
@@ -832,75 +779,70 @@ declare function ErrorObjectToJSONTyped(value?: ErrorObject | null, ignoreDiscri
|
|
|
832
779
|
*/
|
|
833
780
|
|
|
834
781
|
/**
|
|
835
|
-
*
|
|
782
|
+
* Request body for POST /api/v1/agent/runs.
|
|
836
783
|
* @export
|
|
837
|
-
* @interface
|
|
784
|
+
* @interface AgentRunRequest
|
|
838
785
|
*/
|
|
839
|
-
interface
|
|
786
|
+
interface AgentRunRequest {
|
|
840
787
|
/**
|
|
841
|
-
*
|
|
788
|
+
* Natural-language request for the agent.
|
|
842
789
|
* @type {string}
|
|
843
|
-
* @memberof
|
|
844
|
-
*/
|
|
845
|
-
run_id: string;
|
|
846
|
-
/**
|
|
847
|
-
*
|
|
848
|
-
* @type {AgentRunObjectEnum}
|
|
849
|
-
* @memberof AgentRun
|
|
790
|
+
* @memberof AgentRunRequest
|
|
850
791
|
*/
|
|
851
|
-
|
|
792
|
+
query: string;
|
|
852
793
|
/**
|
|
853
|
-
*
|
|
794
|
+
* Existing thread to continue (follow-up). Omit to start a new thread.
|
|
854
795
|
* @type {string}
|
|
855
|
-
* @memberof
|
|
796
|
+
* @memberof AgentRunRequest
|
|
856
797
|
*/
|
|
857
798
|
thread_id?: string | null;
|
|
858
799
|
/**
|
|
859
|
-
*
|
|
860
|
-
* @type {
|
|
861
|
-
* @memberof
|
|
800
|
+
* Agent effort. 'low' (default) returns fast factual results; 'medium' returns deeper analytical answers (slower).
|
|
801
|
+
* @type {AgentEffortLevel}
|
|
802
|
+
* @memberof AgentRunRequest
|
|
862
803
|
*/
|
|
863
|
-
|
|
804
|
+
effort?: AgentEffortLevel;
|
|
864
805
|
/**
|
|
865
|
-
*
|
|
866
|
-
* @type {
|
|
867
|
-
* @memberof
|
|
806
|
+
* Which sources the agent may use: 'data' (curated knowledge) and/or 'web' (open-web search). Defaults to ['data', 'web']. The legacy value 'tako' is accepted as a synonym for 'data'.
|
|
807
|
+
* @type {Array<AgentRunRequestSourceIndexesEnum>}
|
|
808
|
+
* @memberof AgentRunRequest
|
|
868
809
|
*/
|
|
869
|
-
|
|
810
|
+
source_indexes?: Array<AgentRunRequestSourceIndexesEnum>;
|
|
870
811
|
/**
|
|
871
|
-
*
|
|
812
|
+
* BCP-47 locale. Drives the language of the agent's answer (a non-English locale makes the agent respond in that language) and the locale used when rendering card preview images. Defaults to en-US.
|
|
872
813
|
* @type {string}
|
|
873
|
-
* @memberof
|
|
814
|
+
* @memberof AgentRunRequest
|
|
874
815
|
*/
|
|
875
|
-
|
|
816
|
+
locale?: string;
|
|
876
817
|
/**
|
|
877
|
-
*
|
|
878
|
-
* @type {
|
|
879
|
-
* @memberof
|
|
818
|
+
* IANA timezone (e.g. 'America/New_York') used to render dates/times in card preview images. Does not affect the returned data.
|
|
819
|
+
* @type {string}
|
|
820
|
+
* @memberof AgentRunRequest
|
|
880
821
|
*/
|
|
881
|
-
|
|
822
|
+
timezone?: string | null;
|
|
882
823
|
/**
|
|
883
|
-
*
|
|
884
|
-
* @type {
|
|
885
|
-
* @memberof
|
|
824
|
+
* Settings controlling the response/rendering.
|
|
825
|
+
* @type {AgentOutputSettings}
|
|
826
|
+
* @memberof AgentRunRequest
|
|
886
827
|
*/
|
|
887
|
-
|
|
828
|
+
output_settings?: AgentOutputSettings | null;
|
|
888
829
|
}
|
|
889
830
|
/**
|
|
890
831
|
* @export
|
|
891
832
|
*/
|
|
892
|
-
declare const
|
|
893
|
-
readonly
|
|
833
|
+
declare const AgentRunRequestSourceIndexesEnum: {
|
|
834
|
+
readonly Data: "data";
|
|
835
|
+
readonly Web: "web";
|
|
894
836
|
};
|
|
895
|
-
type
|
|
837
|
+
type AgentRunRequestSourceIndexesEnum = typeof AgentRunRequestSourceIndexesEnum[keyof typeof AgentRunRequestSourceIndexesEnum];
|
|
896
838
|
/**
|
|
897
|
-
* Check if a given object implements the
|
|
839
|
+
* Check if a given object implements the AgentRunRequest interface.
|
|
898
840
|
*/
|
|
899
|
-
declare function
|
|
900
|
-
declare function
|
|
901
|
-
declare function
|
|
902
|
-
declare function
|
|
903
|
-
declare function
|
|
841
|
+
declare function instanceOfAgentRunRequest(value: object): value is AgentRunRequest;
|
|
842
|
+
declare function AgentRunRequestFromJSON(json: any): AgentRunRequest;
|
|
843
|
+
declare function AgentRunRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentRunRequest;
|
|
844
|
+
declare function AgentRunRequestToJSON(json: any): AgentRunRequest;
|
|
845
|
+
declare function AgentRunRequestToJSONTyped(value?: AgentRunRequest | null, ignoreDiscriminator?: boolean): any;
|
|
904
846
|
|
|
905
847
|
/**
|
|
906
848
|
* Knowledge Search API
|
|
@@ -914,20 +856,21 @@ declare function AgentRunToJSONTyped(value?: AgentRun | null, ignoreDiscriminato
|
|
|
914
856
|
* Do not edit the class manually.
|
|
915
857
|
*/
|
|
916
858
|
/**
|
|
917
|
-
*
|
|
918
|
-
* the generated OpenAPI/SDK advertises exactly these members, so we add values
|
|
919
|
-
* (low/high) only as the agent gains public support for them.
|
|
859
|
+
*
|
|
920
860
|
* @export
|
|
921
861
|
*/
|
|
922
|
-
declare const
|
|
923
|
-
readonly
|
|
862
|
+
declare const AgentRunStatus: {
|
|
863
|
+
readonly Queued: "queued";
|
|
864
|
+
readonly Running: "running";
|
|
865
|
+
readonly Completed: "completed";
|
|
866
|
+
readonly Failed: "failed";
|
|
924
867
|
};
|
|
925
|
-
type
|
|
926
|
-
declare function
|
|
927
|
-
declare function
|
|
928
|
-
declare function
|
|
929
|
-
declare function
|
|
930
|
-
declare function
|
|
868
|
+
type AgentRunStatus = typeof AgentRunStatus[keyof typeof AgentRunStatus];
|
|
869
|
+
declare function instanceOfAgentRunStatus(value: any): boolean;
|
|
870
|
+
declare function AgentRunStatusFromJSON(json: any): AgentRunStatus;
|
|
871
|
+
declare function AgentRunStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentRunStatus;
|
|
872
|
+
declare function AgentRunStatusToJSON(value?: AgentRunStatus | null): any;
|
|
873
|
+
declare function AgentRunStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): AgentRunStatus;
|
|
931
874
|
|
|
932
875
|
/**
|
|
933
876
|
* Knowledge Search API
|
|
@@ -943,24 +886,30 @@ declare function AgentEffortLevelToJSONTyped(value: any, ignoreDiscriminator: bo
|
|
|
943
886
|
/**
|
|
944
887
|
*
|
|
945
888
|
* @export
|
|
946
|
-
* @interface
|
|
889
|
+
* @interface ErrorObject
|
|
947
890
|
*/
|
|
948
|
-
interface
|
|
891
|
+
interface ErrorObject {
|
|
949
892
|
/**
|
|
950
|
-
*
|
|
951
|
-
* @type {
|
|
952
|
-
* @memberof
|
|
893
|
+
*
|
|
894
|
+
* @type {string}
|
|
895
|
+
* @memberof ErrorObject
|
|
953
896
|
*/
|
|
954
|
-
|
|
897
|
+
code: string;
|
|
898
|
+
/**
|
|
899
|
+
*
|
|
900
|
+
* @type {string}
|
|
901
|
+
* @memberof ErrorObject
|
|
902
|
+
*/
|
|
903
|
+
message: string;
|
|
955
904
|
}
|
|
956
905
|
/**
|
|
957
|
-
* Check if a given object implements the
|
|
906
|
+
* Check if a given object implements the ErrorObject interface.
|
|
958
907
|
*/
|
|
959
|
-
declare function
|
|
960
|
-
declare function
|
|
961
|
-
declare function
|
|
962
|
-
declare function
|
|
963
|
-
declare function
|
|
908
|
+
declare function instanceOfErrorObject(value: object): value is ErrorObject;
|
|
909
|
+
declare function ErrorObjectFromJSON(json: any): ErrorObject;
|
|
910
|
+
declare function ErrorObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): ErrorObject;
|
|
911
|
+
declare function ErrorObjectToJSON(json: any): ErrorObject;
|
|
912
|
+
declare function ErrorObjectToJSONTyped(value?: ErrorObject | null, ignoreDiscriminator?: boolean): any;
|
|
964
913
|
|
|
965
914
|
/**
|
|
966
915
|
* Knowledge Search API
|
|
@@ -975,70 +924,87 @@ declare function AgentOutputSettingsToJSONTyped(value?: AgentOutputSettings | nu
|
|
|
975
924
|
*/
|
|
976
925
|
|
|
977
926
|
/**
|
|
978
|
-
*
|
|
927
|
+
* The run resource returned by dispatch (202) and poll (GET).
|
|
979
928
|
* @export
|
|
980
|
-
* @interface
|
|
929
|
+
* @interface AgentRun
|
|
981
930
|
*/
|
|
982
|
-
interface
|
|
931
|
+
interface AgentRun {
|
|
983
932
|
/**
|
|
984
|
-
*
|
|
933
|
+
*
|
|
985
934
|
* @type {string}
|
|
986
|
-
* @memberof
|
|
935
|
+
* @memberof AgentRun
|
|
987
936
|
*/
|
|
988
|
-
|
|
937
|
+
run_id: string;
|
|
989
938
|
/**
|
|
990
|
-
*
|
|
939
|
+
*
|
|
940
|
+
* @type {AgentRunObjectEnum}
|
|
941
|
+
* @memberof AgentRun
|
|
942
|
+
*/
|
|
943
|
+
object?: AgentRunObjectEnum;
|
|
944
|
+
/**
|
|
945
|
+
*
|
|
991
946
|
* @type {string}
|
|
992
|
-
* @memberof
|
|
947
|
+
* @memberof AgentRun
|
|
993
948
|
*/
|
|
994
949
|
thread_id?: string | null;
|
|
995
950
|
/**
|
|
996
|
-
*
|
|
997
|
-
* @type {
|
|
998
|
-
* @memberof
|
|
951
|
+
*
|
|
952
|
+
* @type {AgentRunStatus}
|
|
953
|
+
* @memberof AgentRun
|
|
999
954
|
*/
|
|
1000
|
-
|
|
955
|
+
status: AgentRunStatus;
|
|
1001
956
|
/**
|
|
1002
|
-
*
|
|
1003
|
-
* @type {
|
|
1004
|
-
* @memberof
|
|
957
|
+
*
|
|
958
|
+
* @type {string}
|
|
959
|
+
* @memberof AgentRun
|
|
960
|
+
*/
|
|
961
|
+
created_at: string;
|
|
962
|
+
/**
|
|
963
|
+
*
|
|
964
|
+
* @type {string}
|
|
965
|
+
* @memberof AgentRun
|
|
966
|
+
*/
|
|
967
|
+
completed_at?: string | null;
|
|
968
|
+
/**
|
|
969
|
+
*
|
|
970
|
+
* @type {AgentResult}
|
|
971
|
+
* @memberof AgentRun
|
|
1005
972
|
*/
|
|
1006
|
-
|
|
973
|
+
result?: AgentResult | null;
|
|
1007
974
|
/**
|
|
1008
|
-
*
|
|
1009
|
-
* @type {
|
|
1010
|
-
* @memberof
|
|
975
|
+
*
|
|
976
|
+
* @type {ErrorObject}
|
|
977
|
+
* @memberof AgentRun
|
|
1011
978
|
*/
|
|
1012
|
-
|
|
979
|
+
error?: ErrorObject | null;
|
|
1013
980
|
/**
|
|
1014
|
-
*
|
|
1015
|
-
* @type {
|
|
1016
|
-
* @memberof
|
|
981
|
+
*
|
|
982
|
+
* @type {AgentUsage}
|
|
983
|
+
* @memberof AgentRun
|
|
1017
984
|
*/
|
|
1018
|
-
|
|
985
|
+
usage?: AgentUsage | null;
|
|
1019
986
|
/**
|
|
1020
|
-
*
|
|
1021
|
-
* @type {
|
|
1022
|
-
* @memberof
|
|
987
|
+
*
|
|
988
|
+
* @type {AgentRunRequest}
|
|
989
|
+
* @memberof AgentRun
|
|
1023
990
|
*/
|
|
1024
|
-
|
|
991
|
+
request?: AgentRunRequest | null;
|
|
1025
992
|
}
|
|
1026
993
|
/**
|
|
1027
994
|
* @export
|
|
1028
995
|
*/
|
|
1029
|
-
declare const
|
|
1030
|
-
readonly
|
|
1031
|
-
readonly Web: "web";
|
|
996
|
+
declare const AgentRunObjectEnum: {
|
|
997
|
+
readonly AgentRun: "agent.run";
|
|
1032
998
|
};
|
|
1033
|
-
type
|
|
999
|
+
type AgentRunObjectEnum = typeof AgentRunObjectEnum[keyof typeof AgentRunObjectEnum];
|
|
1034
1000
|
/**
|
|
1035
|
-
* Check if a given object implements the
|
|
1001
|
+
* Check if a given object implements the AgentRun interface.
|
|
1036
1002
|
*/
|
|
1037
|
-
declare function
|
|
1038
|
-
declare function
|
|
1039
|
-
declare function
|
|
1040
|
-
declare function
|
|
1041
|
-
declare function
|
|
1003
|
+
declare function instanceOfAgentRun(value: object): value is AgentRun;
|
|
1004
|
+
declare function AgentRunFromJSON(json: any): AgentRun;
|
|
1005
|
+
declare function AgentRunFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentRun;
|
|
1006
|
+
declare function AgentRunToJSON(json: any): AgentRun;
|
|
1007
|
+
declare function AgentRunToJSONTyped(value?: AgentRun | null, ignoreDiscriminator?: boolean): any;
|
|
1042
1008
|
|
|
1043
1009
|
/**
|
|
1044
1010
|
* Knowledge Search API
|
|
@@ -1056,7 +1022,7 @@ interface CreateAgentRunRequest {
|
|
|
1056
1022
|
agentRunRequest?: AgentRunRequest;
|
|
1057
1023
|
}
|
|
1058
1024
|
interface GetAgentRunRequest {
|
|
1059
|
-
runId: string
|
|
1025
|
+
runId: string;
|
|
1060
1026
|
startingAfter?: number;
|
|
1061
1027
|
}
|
|
1062
1028
|
/**
|
|
@@ -1702,199 +1668,6 @@ declare function CreateCardRequestFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
1702
1668
|
declare function CreateCardRequestToJSON(json: any): CreateCardRequest;
|
|
1703
1669
|
declare function CreateCardRequestToJSONTyped(value?: CreateCardRequest | null, ignoreDiscriminator?: boolean): any;
|
|
1704
1670
|
|
|
1705
|
-
/**
|
|
1706
|
-
* Knowledge Search API
|
|
1707
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
1708
|
-
*
|
|
1709
|
-
* The version of the OpenAPI document: 1.0.0
|
|
1710
|
-
*
|
|
1711
|
-
*
|
|
1712
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1713
|
-
* https://openapi-generator.tech
|
|
1714
|
-
* Do not edit the class manually.
|
|
1715
|
-
*/
|
|
1716
|
-
/**
|
|
1717
|
-
* Documents a decision made by Tako's ideal viz logic for a specific ChartJS property.
|
|
1718
|
-
*
|
|
1719
|
-
* .. deprecated::
|
|
1720
|
-
* This class is deprecated in favor of the structured VizDecisions system.
|
|
1721
|
-
* Use VizDecisions with specific decision types (AggregationDecision, VizTypeDecision, etc.)
|
|
1722
|
-
* instead. The new system provides:
|
|
1723
|
-
* - Structured decision tracking with typed fields
|
|
1724
|
-
* - Override support (apply_override, reset_to_default)
|
|
1725
|
-
* - Better LLM context generation (get_summary_for_llm)
|
|
1726
|
-
*
|
|
1727
|
-
* Example migration:
|
|
1728
|
-
* # Old way (deprecated):
|
|
1729
|
-
* decisions.append(IdealVizDecision(
|
|
1730
|
-
* property_path="y_aggregation",
|
|
1731
|
-
* reason="Applied PCSS due to different units"
|
|
1732
|
-
* ))
|
|
1733
|
-
*
|
|
1734
|
-
* # New way:
|
|
1735
|
-
* viz_decisions.set_decision(
|
|
1736
|
-
* DecisionType.LEFT_AXIS_AGGREGATION,
|
|
1737
|
-
* AggregationDecision(
|
|
1738
|
-
* value="pcss",
|
|
1739
|
-
* source=DecisionSource.DATA_DRIVEN,
|
|
1740
|
-
* reason_code="different_units",
|
|
1741
|
-
* reason_display="Applied PCSS due to different units",
|
|
1742
|
-
* )
|
|
1743
|
-
* )
|
|
1744
|
-
*
|
|
1745
|
-
* This class will be removed in a future version.
|
|
1746
|
-
* @export
|
|
1747
|
-
* @interface IdealVizDecision
|
|
1748
|
-
*/
|
|
1749
|
-
interface IdealVizDecision {
|
|
1750
|
-
/**
|
|
1751
|
-
* ChartJS property path
|
|
1752
|
-
* @type {string}
|
|
1753
|
-
* @memberof IdealVizDecision
|
|
1754
|
-
*/
|
|
1755
|
-
property_path: string;
|
|
1756
|
-
/**
|
|
1757
|
-
* Human-friendly display name for the property path
|
|
1758
|
-
* @type {string}
|
|
1759
|
-
* @memberof IdealVizDecision
|
|
1760
|
-
*/
|
|
1761
|
-
property_path_display_name?: string | null;
|
|
1762
|
-
/**
|
|
1763
|
-
* Why this decision was made
|
|
1764
|
-
* @type {string}
|
|
1765
|
-
* @memberof IdealVizDecision
|
|
1766
|
-
*/
|
|
1767
|
-
reason: string;
|
|
1768
|
-
}
|
|
1769
|
-
/**
|
|
1770
|
-
* Check if a given object implements the IdealVizDecision interface.
|
|
1771
|
-
*/
|
|
1772
|
-
declare function instanceOfIdealVizDecision(value: object): value is IdealVizDecision;
|
|
1773
|
-
declare function IdealVizDecisionFromJSON(json: any): IdealVizDecision;
|
|
1774
|
-
declare function IdealVizDecisionFromJSONTyped(json: any, ignoreDiscriminator: boolean): IdealVizDecision;
|
|
1775
|
-
declare function IdealVizDecisionToJSON(json: any): IdealVizDecision;
|
|
1776
|
-
declare function IdealVizDecisionToJSONTyped(value?: IdealVizDecision | null, ignoreDiscriminator?: boolean): any;
|
|
1777
|
-
|
|
1778
|
-
/**
|
|
1779
|
-
* Knowledge Search API
|
|
1780
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
1781
|
-
*
|
|
1782
|
-
* The version of the OpenAPI document: 1.0.0
|
|
1783
|
-
*
|
|
1784
|
-
*
|
|
1785
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1786
|
-
* https://openapi-generator.tech
|
|
1787
|
-
* Do not edit the class manually.
|
|
1788
|
-
*/
|
|
1789
|
-
|
|
1790
|
-
/**
|
|
1791
|
-
*
|
|
1792
|
-
* @export
|
|
1793
|
-
* @interface KnowledgeCard
|
|
1794
|
-
*/
|
|
1795
|
-
interface KnowledgeCard {
|
|
1796
|
-
/**
|
|
1797
|
-
* The unique ID of the knowledge card
|
|
1798
|
-
* @type {string}
|
|
1799
|
-
* @memberof KnowledgeCard
|
|
1800
|
-
*/
|
|
1801
|
-
card_id: string | null;
|
|
1802
|
-
/**
|
|
1803
|
-
* The unique ID of the knowledge card
|
|
1804
|
-
* @type {string}
|
|
1805
|
-
* @memberof KnowledgeCard
|
|
1806
|
-
*/
|
|
1807
|
-
title: string | null;
|
|
1808
|
-
/**
|
|
1809
|
-
* The unique ID of the knowledge card
|
|
1810
|
-
* @type {string}
|
|
1811
|
-
* @memberof KnowledgeCard
|
|
1812
|
-
*/
|
|
1813
|
-
description: string | null;
|
|
1814
|
-
/**
|
|
1815
|
-
* The unique ID of the knowledge card
|
|
1816
|
-
* @type {string}
|
|
1817
|
-
* @memberof KnowledgeCard
|
|
1818
|
-
*/
|
|
1819
|
-
semantic_description?: string | null;
|
|
1820
|
-
/**
|
|
1821
|
-
* The unique ID of the knowledge card
|
|
1822
|
-
* @type {string}
|
|
1823
|
-
* @memberof KnowledgeCard
|
|
1824
|
-
*/
|
|
1825
|
-
webpage_url: string | null;
|
|
1826
|
-
/**
|
|
1827
|
-
* The unique ID of the knowledge card
|
|
1828
|
-
* @type {string}
|
|
1829
|
-
* @memberof KnowledgeCard
|
|
1830
|
-
*/
|
|
1831
|
-
image_url: string | null;
|
|
1832
|
-
/**
|
|
1833
|
-
* The unique ID of the knowledge card
|
|
1834
|
-
* @type {string}
|
|
1835
|
-
* @memberof KnowledgeCard
|
|
1836
|
-
*/
|
|
1837
|
-
embed_url: string | null;
|
|
1838
|
-
/**
|
|
1839
|
-
* The sources of the knowledge card
|
|
1840
|
-
* @type {Array<KnowledgeCardSource>}
|
|
1841
|
-
* @memberof KnowledgeCard
|
|
1842
|
-
*/
|
|
1843
|
-
sources: Array<KnowledgeCardSource> | null;
|
|
1844
|
-
/**
|
|
1845
|
-
* The methodologies of the knowledge card
|
|
1846
|
-
* @type {Array<KnowledgeCardMethodology>}
|
|
1847
|
-
* @memberof KnowledgeCard
|
|
1848
|
-
*/
|
|
1849
|
-
methodologies: Array<KnowledgeCardMethodology> | null;
|
|
1850
|
-
/**
|
|
1851
|
-
* The source indexes of the knowledge card
|
|
1852
|
-
* @type {Array<KnowledgeCardSourceIndexesInner>}
|
|
1853
|
-
* @memberof KnowledgeCard
|
|
1854
|
-
*/
|
|
1855
|
-
source_indexes: Array<KnowledgeCardSourceIndexesInner> | null;
|
|
1856
|
-
/**
|
|
1857
|
-
* The unique ID of the knowledge card
|
|
1858
|
-
* @type {string}
|
|
1859
|
-
* @memberof KnowledgeCard
|
|
1860
|
-
*/
|
|
1861
|
-
card_type: string | null;
|
|
1862
|
-
/**
|
|
1863
|
-
* URL of downloadable data of the knowledge card. This needs to be enabled on an account level. Contact support to enable this feature.
|
|
1864
|
-
* @type {string}
|
|
1865
|
-
* @memberof KnowledgeCard
|
|
1866
|
-
*/
|
|
1867
|
-
data_url: string | null;
|
|
1868
|
-
/**
|
|
1869
|
-
* How relevant this knowledge card is to the search query
|
|
1870
|
-
* @type {KnowledgeCardRelevance}
|
|
1871
|
-
* @memberof KnowledgeCard
|
|
1872
|
-
*/
|
|
1873
|
-
relevance: KnowledgeCardRelevance | null;
|
|
1874
|
-
/**
|
|
1875
|
-
* 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.
|
|
1876
|
-
* @type {{ [key: string]: any; }}
|
|
1877
|
-
* @memberof KnowledgeCard
|
|
1878
|
-
*/
|
|
1879
|
-
visualization_data: {
|
|
1880
|
-
[key: string]: any;
|
|
1881
|
-
} | null;
|
|
1882
|
-
/**
|
|
1883
|
-
* 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.
|
|
1884
|
-
* @type {Array<IdealVizDecision>}
|
|
1885
|
-
* @memberof KnowledgeCard
|
|
1886
|
-
*/
|
|
1887
|
-
ideal_viz_decisions?: Array<IdealVizDecision> | null;
|
|
1888
|
-
}
|
|
1889
|
-
/**
|
|
1890
|
-
* Check if a given object implements the KnowledgeCard interface.
|
|
1891
|
-
*/
|
|
1892
|
-
declare function instanceOfKnowledgeCard(value: object): value is KnowledgeCard;
|
|
1893
|
-
declare function KnowledgeCardFromJSON(json: any): KnowledgeCard;
|
|
1894
|
-
declare function KnowledgeCardFromJSONTyped(json: any, ignoreDiscriminator: boolean): KnowledgeCard;
|
|
1895
|
-
declare function KnowledgeCardToJSON(json: any): KnowledgeCard;
|
|
1896
|
-
declare function KnowledgeCardToJSONTyped(value?: KnowledgeCard | null, ignoreDiscriminator?: boolean): any;
|
|
1897
|
-
|
|
1898
1671
|
/**
|
|
1899
1672
|
* Knowledge Search API
|
|
1900
1673
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
@@ -2215,6 +1988,109 @@ declare function SearchResponseFromJSONTyped(json: any, ignoreDiscriminator: boo
|
|
|
2215
1988
|
declare function SearchResponseToJSON(json: any): SearchResponse;
|
|
2216
1989
|
declare function SearchResponseToJSONTyped(value?: SearchResponse | null, ignoreDiscriminator?: boolean): any;
|
|
2217
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
|
+
|
|
2218
2094
|
/**
|
|
2219
2095
|
* Knowledge Search API
|
|
2220
2096
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
@@ -2326,11 +2202,11 @@ interface TakoApiInterface {
|
|
|
2326
2202
|
* @throws {RequiredError}
|
|
2327
2203
|
* @memberof TakoApiInterface
|
|
2328
2204
|
*/
|
|
2329
|
-
createCardRaw(requestParameters: CreateCardOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<
|
|
2205
|
+
createCardRaw(requestParameters: CreateCardOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<ThinVizCard>>;
|
|
2330
2206
|
/**
|
|
2331
2207
|
* Create a visualization card directly from component configurations. Supported component types: header, generic_timeseries, categorical_bar, stock_boxes, financial_boxes, table.
|
|
2332
2208
|
*/
|
|
2333
|
-
createCard(requestParameters: CreateCardOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<
|
|
2209
|
+
createCard(requestParameters: CreateCardOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ThinVizCard>;
|
|
2334
2210
|
/**
|
|
2335
2211
|
* Creates request options for search without sending the request
|
|
2336
2212
|
* @param {SearchRequest} [searchRequest]
|
|
@@ -2406,11 +2282,11 @@ declare class TakoApi extends BaseAPI implements TakoApiInterface {
|
|
|
2406
2282
|
/**
|
|
2407
2283
|
* Create a visualization card directly from component configurations. Supported component types: header, generic_timeseries, categorical_bar, stock_boxes, financial_boxes, table.
|
|
2408
2284
|
*/
|
|
2409
|
-
createCardRaw(requestParameters: CreateCardOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<
|
|
2285
|
+
createCardRaw(requestParameters: CreateCardOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<ThinVizCard>>;
|
|
2410
2286
|
/**
|
|
2411
2287
|
* Create a visualization card directly from component configurations. Supported component types: header, generic_timeseries, categorical_bar, stock_boxes, financial_boxes, table.
|
|
2412
2288
|
*/
|
|
2413
|
-
createCard(requestParameters?: CreateCardOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<
|
|
2289
|
+
createCard(requestParameters?: CreateCardOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ThinVizCard>;
|
|
2414
2290
|
/**
|
|
2415
2291
|
* Creates request options for search without sending the request
|
|
2416
2292
|
*/
|
|
@@ -2452,6 +2328,7 @@ declare const APIErrorType: {
|
|
|
2452
2328
|
readonly RequestTimeout: "REQUEST_TIMEOUT";
|
|
2453
2329
|
readonly Forbidden: "FORBIDDEN";
|
|
2454
2330
|
readonly NotFound: "NOT_FOUND";
|
|
2331
|
+
readonly ServiceUnavailable: "SERVICE_UNAVAILABLE";
|
|
2455
2332
|
};
|
|
2456
2333
|
type APIErrorType = typeof APIErrorType[keyof typeof APIErrorType];
|
|
2457
2334
|
declare function instanceOfAPIErrorType(value: any): boolean;
|
|
@@ -3381,94 +3258,6 @@ declare function BaseAPIErrorFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
3381
3258
|
declare function BaseAPIErrorToJSON(json: any): BaseAPIError;
|
|
3382
3259
|
declare function BaseAPIErrorToJSONTyped(value?: BaseAPIError | null, ignoreDiscriminator?: boolean): any;
|
|
3383
3260
|
|
|
3384
|
-
/**
|
|
3385
|
-
* Knowledge Search API
|
|
3386
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
3387
|
-
*
|
|
3388
|
-
* The version of the OpenAPI document: 1.0.0
|
|
3389
|
-
*
|
|
3390
|
-
*
|
|
3391
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3392
|
-
* https://openapi-generator.tech
|
|
3393
|
-
* Do not edit the class manually.
|
|
3394
|
-
*/
|
|
3395
|
-
|
|
3396
|
-
/**
|
|
3397
|
-
* A segment of a source index. Within a source index, a segment is a subset of the data.
|
|
3398
|
-
* For connected data, a segment is a subset of connected files. A segment may be used for
|
|
3399
|
-
* multi-tenant data e.g. using a segment per customer.
|
|
3400
|
-
* @export
|
|
3401
|
-
* @interface CardSourceIndexSegment
|
|
3402
|
-
*/
|
|
3403
|
-
interface CardSourceIndexSegment {
|
|
3404
|
-
/**
|
|
3405
|
-
*
|
|
3406
|
-
* @type {CardSourceIndex}
|
|
3407
|
-
* @memberof CardSourceIndexSegment
|
|
3408
|
-
*/
|
|
3409
|
-
index_type: CardSourceIndex;
|
|
3410
|
-
/**
|
|
3411
|
-
* An ID for a segment of a source index
|
|
3412
|
-
* @type {string}
|
|
3413
|
-
* @memberof CardSourceIndexSegment
|
|
3414
|
-
*/
|
|
3415
|
-
segment_id: string;
|
|
3416
|
-
}
|
|
3417
|
-
/**
|
|
3418
|
-
* Check if a given object implements the CardSourceIndexSegment interface.
|
|
3419
|
-
*/
|
|
3420
|
-
declare function instanceOfCardSourceIndexSegment(value: object): value is CardSourceIndexSegment;
|
|
3421
|
-
declare function CardSourceIndexSegmentFromJSON(json: any): CardSourceIndexSegment;
|
|
3422
|
-
declare function CardSourceIndexSegmentFromJSONTyped(json: any, ignoreDiscriminator: boolean): CardSourceIndexSegment;
|
|
3423
|
-
declare function CardSourceIndexSegmentToJSON(json: any): CardSourceIndexSegment;
|
|
3424
|
-
declare function CardSourceIndexSegmentToJSONTyped(value?: CardSourceIndexSegment | null, ignoreDiscriminator?: boolean): any;
|
|
3425
|
-
|
|
3426
|
-
/**
|
|
3427
|
-
* Knowledge Search API
|
|
3428
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
3429
|
-
*
|
|
3430
|
-
* The version of the OpenAPI document: 1.0.0
|
|
3431
|
-
*
|
|
3432
|
-
*
|
|
3433
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3434
|
-
* https://openapi-generator.tech
|
|
3435
|
-
* Do not edit the class manually.
|
|
3436
|
-
*/
|
|
3437
|
-
|
|
3438
|
-
/**
|
|
3439
|
-
*
|
|
3440
|
-
* @export
|
|
3441
|
-
* @interface CardSourcePrivateIndex
|
|
3442
|
-
*/
|
|
3443
|
-
interface CardSourcePrivateIndex {
|
|
3444
|
-
/**
|
|
3445
|
-
*
|
|
3446
|
-
* @type {CardSourceIndex}
|
|
3447
|
-
* @memberof CardSourcePrivateIndex
|
|
3448
|
-
*/
|
|
3449
|
-
index_type: CardSourceIndex;
|
|
3450
|
-
/**
|
|
3451
|
-
* An ID for a segment of a source index (optional for private indexes)
|
|
3452
|
-
* @type {string}
|
|
3453
|
-
* @memberof CardSourcePrivateIndex
|
|
3454
|
-
*/
|
|
3455
|
-
segment_id?: string | null;
|
|
3456
|
-
/**
|
|
3457
|
-
* An ID for a private index
|
|
3458
|
-
* @type {string}
|
|
3459
|
-
* @memberof CardSourcePrivateIndex
|
|
3460
|
-
*/
|
|
3461
|
-
private_index_id: string;
|
|
3462
|
-
}
|
|
3463
|
-
/**
|
|
3464
|
-
* Check if a given object implements the CardSourcePrivateIndex interface.
|
|
3465
|
-
*/
|
|
3466
|
-
declare function instanceOfCardSourcePrivateIndex(value: object): value is CardSourcePrivateIndex;
|
|
3467
|
-
declare function CardSourcePrivateIndexFromJSON(json: any): CardSourcePrivateIndex;
|
|
3468
|
-
declare function CardSourcePrivateIndexFromJSONTyped(json: any, ignoreDiscriminator: boolean): CardSourcePrivateIndex;
|
|
3469
|
-
declare function CardSourcePrivateIndexToJSON(json: any): CardSourcePrivateIndex;
|
|
3470
|
-
declare function CardSourcePrivateIndexToJSONTyped(value?: CardSourcePrivateIndex | null, ignoreDiscriminator?: boolean): any;
|
|
3471
|
-
|
|
3472
3261
|
/**
|
|
3473
3262
|
* Knowledge Search API
|
|
3474
3263
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
@@ -3487,11 +3276,11 @@ declare function CardSourcePrivateIndexToJSONTyped(value?: CardSourcePrivateInde
|
|
|
3487
3276
|
*/
|
|
3488
3277
|
interface CreateCard400Response {
|
|
3489
3278
|
/**
|
|
3490
|
-
*
|
|
3279
|
+
*
|
|
3491
3280
|
* @type {string}
|
|
3492
3281
|
* @memberof CreateCard400Response
|
|
3493
3282
|
*/
|
|
3494
|
-
error: string
|
|
3283
|
+
error: string;
|
|
3495
3284
|
}
|
|
3496
3285
|
/**
|
|
3497
3286
|
* Check if a given object implements the CreateCard400Response interface.
|
|
@@ -3575,7 +3364,7 @@ declare class Tako {
|
|
|
3575
3364
|
search(request: SearchRequest): Promise<SearchResponse>;
|
|
3576
3365
|
answer(request: SearchRequest): Promise<AnswerResponse>;
|
|
3577
3366
|
contents(request: ContentsRequest): Promise<ContentsResponse>;
|
|
3578
|
-
createCard(request: CreateCardRequest): Promise<
|
|
3367
|
+
createCard(request: CreateCardRequest): Promise<ThinVizCard>;
|
|
3579
3368
|
}
|
|
3580
3369
|
|
|
3581
|
-
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 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, 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 };
|