tako-sdk 1.0.1 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -183,6 +183,42 @@ declare class TextApiResponse {
183
183
  value(): Promise<string>;
184
184
  }
185
185
 
186
+ /**
187
+ * Knowledge Search API
188
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
189
+ *
190
+ * The version of the OpenAPI document: 1.0.0
191
+ *
192
+ *
193
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
194
+ * https://openapi-generator.tech
195
+ * Do not edit the class manually.
196
+ */
197
+ /**
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.
202
+ * @export
203
+ * @interface AgentUsage
204
+ */
205
+ interface AgentUsage {
206
+ /**
207
+ *
208
+ * @type {number}
209
+ * @memberof AgentUsage
210
+ */
211
+ usd_cost?: number | null;
212
+ }
213
+ /**
214
+ * Check if a given object implements the AgentUsage interface.
215
+ */
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;
221
+
186
222
  /**
187
223
  * Knowledge Search API
188
224
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
@@ -609,6 +645,12 @@ interface TakoCard {
609
645
  * @memberof TakoCard
610
646
  */
611
647
  content?: ResultContent | null;
648
+ /**
649
+ * Numeric relevance of this card to the query on a 1.0-5.0 scale (5.0 = exact match; higher is more relevant). Only populated for entitled accounts; null otherwise.
650
+ * @type {number}
651
+ * @memberof TakoCard
652
+ */
653
+ relevance_score?: number | null;
612
654
  }
613
655
  /**
614
656
  * Check if a given object implements the TakoCard interface.
@@ -758,21 +800,21 @@ declare function AgentResultToJSONTyped(value?: AgentResult | null, ignoreDiscri
758
800
  * Do not edit the class manually.
759
801
  */
760
802
  /**
761
- *
803
+ * Public effort taxonomy for the Agent API. `low` runs the fast data-pipeline
804
+ * retriever (the default); `medium` runs the analytical orchestrator. `high` is
805
+ * not yet exposed.
762
806
  * @export
763
807
  */
764
- declare const AgentRunStatus: {
765
- readonly Queued: "queued";
766
- readonly Running: "running";
767
- readonly Completed: "completed";
768
- readonly Failed: "failed";
808
+ declare const AgentEffortLevel: {
809
+ readonly Low: "low";
810
+ readonly Medium: "medium";
769
811
  };
770
- type AgentRunStatus = typeof AgentRunStatus[keyof typeof AgentRunStatus];
771
- declare function instanceOfAgentRunStatus(value: any): boolean;
772
- declare function AgentRunStatusFromJSON(json: any): AgentRunStatus;
773
- declare function AgentRunStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentRunStatus;
774
- declare function AgentRunStatusToJSON(value?: AgentRunStatus | null): any;
775
- declare function AgentRunStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): AgentRunStatus;
812
+ type AgentEffortLevel = typeof AgentEffortLevel[keyof typeof AgentEffortLevel];
813
+ declare function instanceOfAgentEffortLevel(value: any): boolean;
814
+ declare function AgentEffortLevelFromJSON(json: any): AgentEffortLevel;
815
+ declare function AgentEffortLevelFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentEffortLevel;
816
+ declare function AgentEffortLevelToJSON(value?: AgentEffortLevel | null): any;
817
+ declare function AgentEffortLevelToJSONTyped(value: any, ignoreDiscriminator: boolean): AgentEffortLevel;
776
818
 
777
819
  /**
778
820
  * Knowledge Search API
@@ -788,30 +830,24 @@ declare function AgentRunStatusToJSONTyped(value: any, ignoreDiscriminator: bool
788
830
  /**
789
831
  *
790
832
  * @export
791
- * @interface ErrorObject
833
+ * @interface AgentOutputSettings
792
834
  */
793
- interface ErrorObject {
794
- /**
795
- *
796
- * @type {string}
797
- * @memberof ErrorObject
798
- */
799
- code: string;
835
+ interface AgentOutputSettings {
800
836
  /**
801
- *
802
- * @type {string}
803
- * @memberof ErrorObject
837
+ * Render card preview images in dark mode. Omit to use the default (dark).
838
+ * @type {boolean}
839
+ * @memberof AgentOutputSettings
804
840
  */
805
- message: string;
841
+ image_dark_mode?: boolean | null;
806
842
  }
807
843
  /**
808
- * Check if a given object implements the ErrorObject interface.
844
+ * Check if a given object implements the AgentOutputSettings interface.
809
845
  */
810
- declare function instanceOfErrorObject(value: object): value is ErrorObject;
811
- declare function ErrorObjectFromJSON(json: any): ErrorObject;
812
- declare function ErrorObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): ErrorObject;
813
- declare function ErrorObjectToJSON(json: any): ErrorObject;
814
- declare function ErrorObjectToJSONTyped(value?: ErrorObject | null, ignoreDiscriminator?: boolean): any;
846
+ declare function instanceOfAgentOutputSettings(value: object): value is AgentOutputSettings;
847
+ declare function AgentOutputSettingsFromJSON(json: any): AgentOutputSettings;
848
+ declare function AgentOutputSettingsFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentOutputSettings;
849
+ declare function AgentOutputSettingsToJSON(json: any): AgentOutputSettings;
850
+ declare function AgentOutputSettingsToJSONTyped(value?: AgentOutputSettings | null, ignoreDiscriminator?: boolean): any;
815
851
 
816
852
  /**
817
853
  * Knowledge Search API
@@ -826,75 +862,70 @@ declare function ErrorObjectToJSONTyped(value?: ErrorObject | null, ignoreDiscri
826
862
  */
827
863
 
828
864
  /**
829
- * The run resource returned by dispatch (202) and poll (GET).
865
+ * Request body for POST /api/v1/agent/runs.
830
866
  * @export
831
- * @interface AgentRun
867
+ * @interface AgentRunRequest
832
868
  */
833
- interface AgentRun {
869
+ interface AgentRunRequest {
834
870
  /**
835
- *
871
+ * Natural-language request for the agent.
836
872
  * @type {string}
837
- * @memberof AgentRun
838
- */
839
- run_id: string;
840
- /**
841
- *
842
- * @type {AgentRunObjectEnum}
843
- * @memberof AgentRun
873
+ * @memberof AgentRunRequest
844
874
  */
845
- object?: AgentRunObjectEnum;
875
+ query: string;
846
876
  /**
847
- *
877
+ * Existing thread to continue (follow-up). Omit to start a new thread.
848
878
  * @type {string}
849
- * @memberof AgentRun
879
+ * @memberof AgentRunRequest
850
880
  */
851
881
  thread_id?: string | null;
852
882
  /**
853
- *
854
- * @type {AgentRunStatus}
855
- * @memberof AgentRun
883
+ * Agent effort. 'low' (default) returns fast factual results; 'medium' returns deeper analytical answers (slower).
884
+ * @type {AgentEffortLevel}
885
+ * @memberof AgentRunRequest
856
886
  */
857
- status: AgentRunStatus;
887
+ effort?: AgentEffortLevel;
858
888
  /**
859
- *
860
- * @type {string}
861
- * @memberof AgentRun
889
+ * 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'.
890
+ * @type {Array<AgentRunRequestSourceIndexesEnum>}
891
+ * @memberof AgentRunRequest
862
892
  */
863
- created_at: string;
893
+ source_indexes?: Array<AgentRunRequestSourceIndexesEnum>;
864
894
  /**
865
- *
895
+ * 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.
866
896
  * @type {string}
867
- * @memberof AgentRun
897
+ * @memberof AgentRunRequest
868
898
  */
869
- completed_at?: string | null;
899
+ locale?: string;
870
900
  /**
871
- *
872
- * @type {AgentResult}
873
- * @memberof AgentRun
901
+ * IANA timezone (e.g. 'America/New_York') used to render dates/times in card preview images. Does not affect the returned data.
902
+ * @type {string}
903
+ * @memberof AgentRunRequest
874
904
  */
875
- result?: AgentResult | null;
905
+ timezone?: string | null;
876
906
  /**
877
- *
878
- * @type {ErrorObject}
879
- * @memberof AgentRun
907
+ * Settings controlling the response/rendering.
908
+ * @type {AgentOutputSettings}
909
+ * @memberof AgentRunRequest
880
910
  */
881
- error?: ErrorObject | null;
911
+ output_settings?: AgentOutputSettings | null;
882
912
  }
883
913
  /**
884
914
  * @export
885
915
  */
886
- declare const AgentRunObjectEnum: {
887
- readonly AgentRun: "agent.run";
916
+ declare const AgentRunRequestSourceIndexesEnum: {
917
+ readonly Data: "data";
918
+ readonly Web: "web";
888
919
  };
889
- type AgentRunObjectEnum = typeof AgentRunObjectEnum[keyof typeof AgentRunObjectEnum];
920
+ type AgentRunRequestSourceIndexesEnum = typeof AgentRunRequestSourceIndexesEnum[keyof typeof AgentRunRequestSourceIndexesEnum];
890
921
  /**
891
- * Check if a given object implements the AgentRun interface.
922
+ * Check if a given object implements the AgentRunRequest interface.
892
923
  */
893
- declare function instanceOfAgentRun(value: object): value is AgentRun;
894
- declare function AgentRunFromJSON(json: any): AgentRun;
895
- declare function AgentRunFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentRun;
896
- declare function AgentRunToJSON(json: any): AgentRun;
897
- declare function AgentRunToJSONTyped(value?: AgentRun | null, ignoreDiscriminator?: boolean): any;
924
+ declare function instanceOfAgentRunRequest(value: object): value is AgentRunRequest;
925
+ declare function AgentRunRequestFromJSON(json: any): AgentRunRequest;
926
+ declare function AgentRunRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentRunRequest;
927
+ declare function AgentRunRequestToJSON(json: any): AgentRunRequest;
928
+ declare function AgentRunRequestToJSONTyped(value?: AgentRunRequest | null, ignoreDiscriminator?: boolean): any;
898
929
 
899
930
  /**
900
931
  * Knowledge Search API
@@ -908,20 +939,21 @@ declare function AgentRunToJSONTyped(value?: AgentRun | null, ignoreDiscriminato
908
939
  * Do not edit the class manually.
909
940
  */
910
941
  /**
911
- * Public effort taxonomy for the Agent API. Only MEDIUM is supported in v1;
912
- * the generated OpenAPI/SDK advertises exactly these members, so we add values
913
- * (low/high) only as the agent gains public support for them.
942
+ *
914
943
  * @export
915
944
  */
916
- declare const AgentEffortLevel: {
917
- readonly Medium: "medium";
945
+ declare const AgentRunStatus: {
946
+ readonly Queued: "queued";
947
+ readonly Running: "running";
948
+ readonly Completed: "completed";
949
+ readonly Failed: "failed";
918
950
  };
919
- type AgentEffortLevel = typeof AgentEffortLevel[keyof typeof AgentEffortLevel];
920
- declare function instanceOfAgentEffortLevel(value: any): boolean;
921
- declare function AgentEffortLevelFromJSON(json: any): AgentEffortLevel;
922
- declare function AgentEffortLevelFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentEffortLevel;
923
- declare function AgentEffortLevelToJSON(value?: AgentEffortLevel | null): any;
924
- declare function AgentEffortLevelToJSONTyped(value: any, ignoreDiscriminator: boolean): AgentEffortLevel;
951
+ type AgentRunStatus = typeof AgentRunStatus[keyof typeof AgentRunStatus];
952
+ declare function instanceOfAgentRunStatus(value: any): boolean;
953
+ declare function AgentRunStatusFromJSON(json: any): AgentRunStatus;
954
+ declare function AgentRunStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentRunStatus;
955
+ declare function AgentRunStatusToJSON(value?: AgentRunStatus | null): any;
956
+ declare function AgentRunStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): AgentRunStatus;
925
957
 
926
958
  /**
927
959
  * Knowledge Search API
@@ -937,24 +969,30 @@ declare function AgentEffortLevelToJSONTyped(value: any, ignoreDiscriminator: bo
937
969
  /**
938
970
  *
939
971
  * @export
940
- * @interface AgentOutputSettings
972
+ * @interface ErrorObject
941
973
  */
942
- interface AgentOutputSettings {
974
+ interface ErrorObject {
943
975
  /**
944
- * Render card preview images in dark mode. Omit to use the default (dark).
945
- * @type {boolean}
946
- * @memberof AgentOutputSettings
976
+ *
977
+ * @type {string}
978
+ * @memberof ErrorObject
947
979
  */
948
- image_dark_mode?: boolean | null;
980
+ code: string;
981
+ /**
982
+ *
983
+ * @type {string}
984
+ * @memberof ErrorObject
985
+ */
986
+ message: string;
949
987
  }
950
988
  /**
951
- * Check if a given object implements the AgentOutputSettings interface.
989
+ * Check if a given object implements the ErrorObject interface.
952
990
  */
953
- declare function instanceOfAgentOutputSettings(value: object): value is AgentOutputSettings;
954
- declare function AgentOutputSettingsFromJSON(json: any): AgentOutputSettings;
955
- declare function AgentOutputSettingsFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentOutputSettings;
956
- declare function AgentOutputSettingsToJSON(json: any): AgentOutputSettings;
957
- declare function AgentOutputSettingsToJSONTyped(value?: AgentOutputSettings | null, ignoreDiscriminator?: boolean): any;
991
+ declare function instanceOfErrorObject(value: object): value is ErrorObject;
992
+ declare function ErrorObjectFromJSON(json: any): ErrorObject;
993
+ declare function ErrorObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): ErrorObject;
994
+ declare function ErrorObjectToJSON(json: any): ErrorObject;
995
+ declare function ErrorObjectToJSONTyped(value?: ErrorObject | null, ignoreDiscriminator?: boolean): any;
958
996
 
959
997
  /**
960
998
  * Knowledge Search API
@@ -969,70 +1007,87 @@ declare function AgentOutputSettingsToJSONTyped(value?: AgentOutputSettings | nu
969
1007
  */
970
1008
 
971
1009
  /**
972
- *
1010
+ * The run resource returned by dispatch (202) and poll (GET).
973
1011
  * @export
974
- * @interface AgentRunRequest
1012
+ * @interface AgentRun
975
1013
  */
976
- interface AgentRunRequest {
1014
+ interface AgentRun {
977
1015
  /**
978
- * Natural-language request for the agent.
1016
+ *
979
1017
  * @type {string}
980
- * @memberof AgentRunRequest
1018
+ * @memberof AgentRun
981
1019
  */
982
- query: string;
1020
+ run_id: string;
983
1021
  /**
984
- * Existing thread to continue (follow-up). Omit to start a new thread.
1022
+ *
1023
+ * @type {AgentRunObjectEnum}
1024
+ * @memberof AgentRun
1025
+ */
1026
+ object?: AgentRunObjectEnum;
1027
+ /**
1028
+ *
985
1029
  * @type {string}
986
- * @memberof AgentRunRequest
1030
+ * @memberof AgentRun
987
1031
  */
988
1032
  thread_id?: string | null;
989
1033
  /**
990
- * Agent effort level. Only 'medium' is currently supported.
991
- * @type {AgentEffortLevel}
992
- * @memberof AgentRunRequest
1034
+ *
1035
+ * @type {AgentRunStatus}
1036
+ * @memberof AgentRun
993
1037
  */
994
- effort?: AgentEffortLevel;
1038
+ status: AgentRunStatus;
995
1039
  /**
996
- * Which sources the agent may use: 'tako' (connected data) and/or 'web' (open-web search). Defaults to ['tako'].
997
- * @type {Array<AgentRunRequestSourceIndexesEnum>}
998
- * @memberof AgentRunRequest
1040
+ *
1041
+ * @type {string}
1042
+ * @memberof AgentRun
999
1043
  */
1000
- source_indexes?: Array<AgentRunRequestSourceIndexesEnum>;
1044
+ created_at: string;
1001
1045
  /**
1002
- * 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.
1046
+ *
1003
1047
  * @type {string}
1004
- * @memberof AgentRunRequest
1048
+ * @memberof AgentRun
1005
1049
  */
1006
- locale?: string;
1050
+ completed_at?: string | null;
1007
1051
  /**
1008
- * IANA timezone (e.g. 'America/New_York') used to render dates/times in card preview images. Does not affect the returned data.
1009
- * @type {string}
1010
- * @memberof AgentRunRequest
1052
+ *
1053
+ * @type {AgentResult}
1054
+ * @memberof AgentRun
1011
1055
  */
1012
- timezone?: string | null;
1056
+ result?: AgentResult | null;
1013
1057
  /**
1014
- * Settings controlling the response/rendering.
1015
- * @type {AgentOutputSettings}
1016
- * @memberof AgentRunRequest
1058
+ *
1059
+ * @type {ErrorObject}
1060
+ * @memberof AgentRun
1017
1061
  */
1018
- output_settings?: AgentOutputSettings | null;
1062
+ error?: ErrorObject | null;
1063
+ /**
1064
+ *
1065
+ * @type {AgentUsage}
1066
+ * @memberof AgentRun
1067
+ */
1068
+ usage?: AgentUsage | null;
1069
+ /**
1070
+ *
1071
+ * @type {AgentRunRequest}
1072
+ * @memberof AgentRun
1073
+ */
1074
+ request?: AgentRunRequest | null;
1019
1075
  }
1020
1076
  /**
1021
1077
  * @export
1022
1078
  */
1023
- declare const AgentRunRequestSourceIndexesEnum: {
1024
- readonly Tako: "tako";
1025
- readonly Web: "web";
1079
+ declare const AgentRunObjectEnum: {
1080
+ readonly AgentRun: "agent.run";
1026
1081
  };
1027
- type AgentRunRequestSourceIndexesEnum = typeof AgentRunRequestSourceIndexesEnum[keyof typeof AgentRunRequestSourceIndexesEnum];
1082
+ type AgentRunObjectEnum = typeof AgentRunObjectEnum[keyof typeof AgentRunObjectEnum];
1028
1083
  /**
1029
- * Check if a given object implements the AgentRunRequest interface.
1084
+ * Check if a given object implements the AgentRun interface.
1030
1085
  */
1031
- declare function instanceOfAgentRunRequest(value: object): value is AgentRunRequest;
1032
- declare function AgentRunRequestFromJSON(json: any): AgentRunRequest;
1033
- declare function AgentRunRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentRunRequest;
1034
- declare function AgentRunRequestToJSON(json: any): AgentRunRequest;
1035
- declare function AgentRunRequestToJSONTyped(value?: AgentRunRequest | null, ignoreDiscriminator?: boolean): any;
1086
+ declare function instanceOfAgentRun(value: object): value is AgentRun;
1087
+ declare function AgentRunFromJSON(json: any): AgentRun;
1088
+ declare function AgentRunFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentRun;
1089
+ declare function AgentRunToJSON(json: any): AgentRun;
1090
+ declare function AgentRunToJSONTyped(value?: AgentRun | null, ignoreDiscriminator?: boolean): any;
1036
1091
 
1037
1092
  /**
1038
1093
  * Knowledge Search API
@@ -1197,6 +1252,119 @@ declare function AnswerResponseFromJSONTyped(json: any, ignoreDiscriminator: boo
1197
1252
  declare function AnswerResponseToJSON(json: any): AnswerResponse;
1198
1253
  declare function AnswerResponseToJSONTyped(value?: AnswerResponse | null, ignoreDiscriminator?: boolean): any;
1199
1254
 
1255
+ /**
1256
+ * Knowledge Search API
1257
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
1258
+ *
1259
+ * The version of the OpenAPI document: 1.0.0
1260
+ *
1261
+ *
1262
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1263
+ * https://openapi-generator.tech
1264
+ * Do not edit the class manually.
1265
+ */
1266
+ /**
1267
+ * Request for POST /api/v1/classify — a batch of queries to score.
1268
+ * @export
1269
+ * @interface ClassifyRequest
1270
+ */
1271
+ interface ClassifyRequest {
1272
+ /**
1273
+ * Queries to classify (1..200). Each is scored independently.
1274
+ * @type {Array<string>}
1275
+ * @memberof ClassifyRequest
1276
+ */
1277
+ queries: Array<string>;
1278
+ }
1279
+ /**
1280
+ * Check if a given object implements the ClassifyRequest interface.
1281
+ */
1282
+ declare function instanceOfClassifyRequest(value: object): value is ClassifyRequest;
1283
+ declare function ClassifyRequestFromJSON(json: any): ClassifyRequest;
1284
+ declare function ClassifyRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ClassifyRequest;
1285
+ declare function ClassifyRequestToJSON(json: any): ClassifyRequest;
1286
+ declare function ClassifyRequestToJSONTyped(value?: ClassifyRequest | null, ignoreDiscriminator?: boolean): any;
1287
+
1288
+ /**
1289
+ * Knowledge Search API
1290
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
1291
+ *
1292
+ * The version of the OpenAPI document: 1.0.0
1293
+ *
1294
+ *
1295
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1296
+ * https://openapi-generator.tech
1297
+ * Do not edit the class manually.
1298
+ */
1299
+ /**
1300
+ *
1301
+ * @export
1302
+ * @interface QueryClassification
1303
+ */
1304
+ interface QueryClassification {
1305
+ /**
1306
+ *
1307
+ * @type {string}
1308
+ * @memberof QueryClassification
1309
+ */
1310
+ query: string;
1311
+ /**
1312
+ *
1313
+ * @type {number}
1314
+ * @memberof QueryClassification
1315
+ */
1316
+ score: number;
1317
+ /**
1318
+ *
1319
+ * @type {boolean}
1320
+ * @memberof QueryClassification
1321
+ */
1322
+ keep: boolean;
1323
+ }
1324
+ /**
1325
+ * Check if a given object implements the QueryClassification interface.
1326
+ */
1327
+ declare function instanceOfQueryClassification(value: object): value is QueryClassification;
1328
+ declare function QueryClassificationFromJSON(json: any): QueryClassification;
1329
+ declare function QueryClassificationFromJSONTyped(json: any, ignoreDiscriminator: boolean): QueryClassification;
1330
+ declare function QueryClassificationToJSON(json: any): QueryClassification;
1331
+ declare function QueryClassificationToJSONTyped(value?: QueryClassification | null, ignoreDiscriminator?: boolean): any;
1332
+
1333
+ /**
1334
+ * Knowledge Search API
1335
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
1336
+ *
1337
+ * The version of the OpenAPI document: 1.0.0
1338
+ *
1339
+ *
1340
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1341
+ * https://openapi-generator.tech
1342
+ * Do not edit the class manually.
1343
+ */
1344
+
1345
+ /**
1346
+ * Response for POST /api/v1/classify — one classification per input query,
1347
+ * in request order.
1348
+ * @export
1349
+ * @interface ClassifyResponse
1350
+ */
1351
+ interface ClassifyResponse {
1352
+ /**
1353
+ *
1354
+ * @type {Array<QueryClassification>}
1355
+ * @memberof ClassifyResponse
1356
+ */
1357
+ results?: Array<QueryClassification>;
1358
+ }
1359
+ /**
1360
+ * Check if a given object implements the ClassifyResponse interface.
1361
+ */
1362
+ declare function instanceOfClassifyResponse(value: object): value is ClassifyResponse;
1363
+ declare function ClassifyResponseFromJSON(json: any): ClassifyResponse;
1364
+ declare function ClassifyResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ClassifyResponse;
1365
+ declare function ClassifyResponseToJSON(json: any): ClassifyResponse;
1366
+ declare function ClassifyResponseToJSONTyped(value?: ClassifyResponse | null, ignoreDiscriminator?: boolean): any;
1367
+
1200
1368
  /**
1201
1369
  * Knowledge Search API
1202
1370
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
@@ -1790,14 +1958,16 @@ declare function KnowledgeCardToJSONTyped(value?: KnowledgeCard | null, ignoreDi
1790
1958
  /**
1791
1959
  * Public effort taxonomy for the new endpoints. FAST is the default. INSTANT
1792
1960
  * serves cached embeds without re-running data retrieval and is available in all
1793
- * environments. Cannot be combined with sources.tako.defer_data_retrieval.
1794
- * The generated OpenAPI/SDK advertises exactly these members, so we add values
1795
- * only as the pipeline gains support.
1961
+ * environments (cannot be combined with sources.data.defer_data_retrieval).
1962
+ * DEEP widens TAKO retrieval and adds an LLM rerank for higher-quality results
1963
+ * (slower; billed at a premium tier). The generated OpenAPI/SDK advertises
1964
+ * exactly these members, so we add values only as the pipeline gains support.
1796
1965
  * @export
1797
1966
  */
1798
1967
  declare const SearchEffortLevel: {
1799
1968
  readonly Fast: "fast";
1800
1969
  readonly Instant: "instant";
1970
+ readonly Deep: "deep";
1801
1971
  };
1802
1972
  type SearchEffortLevel = typeof SearchEffortLevel[keyof typeof SearchEffortLevel];
1803
1973
  declare function instanceOfSearchEffortLevel(value: any): boolean;
@@ -1943,16 +2113,19 @@ declare function SourceSettingsToJSONTyped(value?: SourceSettings | null, ignore
1943
2113
 
1944
2114
  /**
1945
2115
  * Per-source settings. An index is searched iff its field is present.
2116
+ *
2117
+ * The Tako data source is named `data`. The legacy key `tako` is still
2118
+ * accepted as a synonym (mapped to `data` before validation).
1946
2119
  * @export
1947
2120
  * @interface Sources
1948
2121
  */
1949
2122
  interface Sources {
1950
2123
  /**
1951
- * Tako card source. Searched iff present.
2124
+ * Tako data source (curated knowledge). Searched iff present. The legacy key 'tako' is accepted as a synonym.
1952
2125
  * @type {TakoSourceSettings}
1953
2126
  * @memberof Sources
1954
2127
  */
1955
- tako?: TakoSourceSettings | null;
2128
+ data?: TakoSourceSettings | null;
1956
2129
  /**
1957
2130
  * Web source. Searched iff present.
1958
2131
  * @type {SourceSettings}
@@ -1994,13 +2167,13 @@ interface SearchRequest {
1994
2167
  */
1995
2168
  query: string;
1996
2169
  /**
1997
- * Search effort level. Only 'fast' is currently supported.
2170
+ * Search effort level: 'fast' (default), 'instant', or 'deep'.
1998
2171
  * @type {SearchEffortLevel}
1999
2172
  * @memberof SearchRequest
2000
2173
  */
2001
2174
  effort?: SearchEffortLevel;
2002
2175
  /**
2003
- * Per-source settings. An index is searched iff its key is present; defaults to {tako:{}} (tako-only, count 5).
2176
+ * Per-source settings. An index is searched iff its key is present; defaults to {data:{}, web:{}} (data + web, count 5 each). The legacy key 'tako' is accepted as a synonym for 'data'.
2004
2177
  * @type {Sources}
2005
2178
  * @memberof SearchRequest
2006
2179
  */
@@ -2106,6 +2279,9 @@ declare function SearchResponseToJSONTyped(value?: SearchResponse | null, ignore
2106
2279
  interface AnswerRequest {
2107
2280
  searchRequest?: SearchRequest;
2108
2281
  }
2282
+ interface ClassifyOperationRequest {
2283
+ classifyRequest?: ClassifyRequest;
2284
+ }
2109
2285
  interface ContentsOperationRequest {
2110
2286
  contentsRequest?: ContentsRequest;
2111
2287
  }
@@ -2143,6 +2319,27 @@ interface TakoApiInterface {
2143
2319
  * Answer
2144
2320
  */
2145
2321
  answer(requestParameters: AnswerRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<AnswerResponse>;
2322
+ /**
2323
+ * Creates request options for classify without sending the request
2324
+ * @param {ClassifyRequest} [classifyRequest]
2325
+ * @throws {RequiredError}
2326
+ * @memberof TakoApiInterface
2327
+ */
2328
+ classifyRequestOpts(requestParameters: ClassifyOperationRequest): Promise<RequestOpts>;
2329
+ /**
2330
+ * Score a batch of queries for whether Tako search will return a result. Returns a probability and a recall-skewed keep flag per query. Free; intended for pre-filtering before /v3/search.
2331
+ * @summary Classify queries
2332
+ * @param {ClassifyRequest} [classifyRequest]
2333
+ * @param {*} [options] Override http request option.
2334
+ * @throws {RequiredError}
2335
+ * @memberof TakoApiInterface
2336
+ */
2337
+ classifyRaw(requestParameters: ClassifyOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<ClassifyResponse>>;
2338
+ /**
2339
+ * Score a batch of queries for whether Tako search will return a result. Returns a probability and a recall-skewed keep flag per query. Free; intended for pre-filtering before /v3/search.
2340
+ * Classify queries
2341
+ */
2342
+ classify(requestParameters: ClassifyOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ClassifyResponse>;
2146
2343
  /**
2147
2344
  * Creates request options for contents without sending the request
2148
2345
  * @param {ContentsRequest} [contentsRequest]
@@ -2223,6 +2420,20 @@ declare class TakoApi extends BaseAPI implements TakoApiInterface {
2223
2420
  * Answer
2224
2421
  */
2225
2422
  answer(requestParameters?: AnswerRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<AnswerResponse>;
2423
+ /**
2424
+ * Creates request options for classify without sending the request
2425
+ */
2426
+ classifyRequestOpts(requestParameters: ClassifyOperationRequest): Promise<RequestOpts>;
2427
+ /**
2428
+ * Score a batch of queries for whether Tako search will return a result. Returns a probability and a recall-skewed keep flag per query. Free; intended for pre-filtering before /v3/search.
2429
+ * Classify queries
2430
+ */
2431
+ classifyRaw(requestParameters: ClassifyOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<ClassifyResponse>>;
2432
+ /**
2433
+ * Score a batch of queries for whether Tako search will return a result. Returns a probability and a recall-skewed keep flag per query. Free; intended for pre-filtering before /v3/search.
2434
+ * Classify queries
2435
+ */
2436
+ classify(requestParameters?: ClassifyOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ClassifyResponse>;
2226
2437
  /**
2227
2438
  * Creates request options for contents without sending the request
2228
2439
  */
@@ -2290,6 +2501,7 @@ declare const APIErrorType: {
2290
2501
  readonly RequestTimeout: "REQUEST_TIMEOUT";
2291
2502
  readonly Forbidden: "FORBIDDEN";
2292
2503
  readonly NotFound: "NOT_FOUND";
2504
+ readonly ServiceUnavailable: "SERVICE_UNAVAILABLE";
2293
2505
  };
2294
2506
  type APIErrorType = typeof APIErrorType[keyof typeof APIErrorType];
2295
2507
  declare function instanceOfAPIErrorType(value: any): boolean;
@@ -3416,4 +3628,4 @@ declare class Tako {
3416
3628
  createCard(request: CreateCardRequest): Promise<KnowledgeCard>;
3417
3629
  }
3418
3630
 
3419
- 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 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 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, instanceOfComponentConfig, instanceOfComponentTypeEnum, instanceOfContentFormat, instanceOfContentItem, instanceOfContentsDeliveryMode, instanceOfContentsRequest, instanceOfContentsResponse, instanceOfCreateCard400Response, instanceOfCreateCardRequest, instanceOfDataPipelineAnswerEvent, instanceOfErrorObject, instanceOfHeartbeatEvent, instanceOfIdealVizDecision, instanceOfKnowledgeCard, instanceOfKnowledgeCardMethodology, instanceOfKnowledgeCardRelevance, instanceOfKnowledgeCardSource, instanceOfKnowledgeCardSourceIndexesInner, instanceOfOutputSettings, instanceOfReasoningEvent, instanceOfResultContent, instanceOfSearchEffortLevel, instanceOfSearchRequest, instanceOfSearchResponse, instanceOfSourceIndex, instanceOfSourceSettings, instanceOfSources, instanceOfStatusEvent, instanceOfStreamCategory, instanceOfStreamDoneEvent, instanceOfStreamResetEvent, instanceOfSubagentEvent, instanceOfTakoCard, instanceOfTakoSourceSettings, instanceOfTextEvent, instanceOfToolCallEvent, instanceOfToolErrorEvent, instanceOfToolResultEvent, instanceOfToolRetryEvent, instanceOfWebResult, mapValues, querystring };
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 };