@perplexity-ai/perplexity_ai 0.38.6 → 0.38.8

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.
@@ -235,6 +235,22 @@ export type ApiSearchResponseOutput = {
235
235
  results: ApiSearchPageOutput[];
236
236
  server_time?: string | null;
237
237
  };
238
+ export type ApprovalFilterInput = {
239
+ read_only?: boolean | null;
240
+ tool_names?: string[] | null;
241
+ };
242
+ export type ApprovalFilterOutput = {
243
+ read_only?: boolean | null;
244
+ tool_names?: string[] | null;
245
+ };
246
+ export type ApprovalFiltersInput = {
247
+ always?: (ApprovalFilterInput) | null;
248
+ never?: (ApprovalFilterInput) | null;
249
+ };
250
+ export type ApprovalFiltersOutput = {
251
+ always?: (ApprovalFilterOutput) | null;
252
+ never?: (ApprovalFilterOutput) | null;
253
+ };
238
254
  export type AsyncApiChatCompletionsRequestInput = {
239
255
  idempotency_key?: string | null;
240
256
  request: ApiChatCompletionsRequestInput;
@@ -416,6 +432,7 @@ export type CompletionResponseTypeOutput = "message" | "info" | "end_of_stream";
416
432
  export type ConnectorToolInput = {
417
433
  allowed_tools?: string[];
418
434
  id: string;
435
+ require_approval?: RequireApprovalInput;
419
436
  server_description?: string;
420
437
  server_label: string;
421
438
  type: "connector";
@@ -423,6 +440,7 @@ export type ConnectorToolInput = {
423
440
  export type ConnectorToolOutput = {
424
441
  allowed_tools?: string[];
425
442
  id: string;
443
+ require_approval?: RequireApprovalOutput;
426
444
  server_description?: string;
427
445
  server_label: string;
428
446
  type: "connector";
@@ -583,8 +601,8 @@ export type ErrorInfoOutput = {
583
601
  message: string;
584
602
  type?: string;
585
603
  };
586
- export type EventTypeInput = "response.created" | "response.in_progress" | "response.completed" | "response.failed" | "response.output_item.added" | "response.output_item.done" | "response.output_text.delta" | "response.output_text.done" | "response.reasoning.started" | "response.reasoning.search_queries" | "response.reasoning.search_results" | "response.reasoning.fetch_url_queries" | "response.reasoning.fetch_url_results" | "response.reasoning.stopped" | "response.skill.loaded";
587
- export type EventTypeOutput = "response.created" | "response.in_progress" | "response.completed" | "response.failed" | "response.output_item.added" | "response.output_item.done" | "response.output_text.delta" | "response.output_text.done" | "response.reasoning.started" | "response.reasoning.search_queries" | "response.reasoning.search_results" | "response.reasoning.fetch_url_queries" | "response.reasoning.fetch_url_results" | "response.reasoning.stopped" | "response.skill.loaded";
604
+ export type EventTypeInput = "response.created" | "response.in_progress" | "response.completed" | "response.failed" | "response.output_item.added" | "response.output_item.done" | "response.output_text.delta" | "response.output_text.done" | "response.reasoning.started" | "response.reasoning.search_queries" | "response.reasoning.search_results" | "response.reasoning.image_search_queries" | "response.reasoning.image_search_results" | "response.reasoning.fetch_url_queries" | "response.reasoning.fetch_url_results" | "response.reasoning.stopped" | "response.skill.loaded";
605
+ export type EventTypeOutput = "response.created" | "response.in_progress" | "response.completed" | "response.failed" | "response.output_item.added" | "response.output_item.done" | "response.output_text.delta" | "response.output_text.done" | "response.reasoning.started" | "response.reasoning.search_queries" | "response.reasoning.search_results" | "response.reasoning.image_search_queries" | "response.reasoning.image_search_results" | "response.reasoning.fetch_url_queries" | "response.reasoning.fetch_url_results" | "response.reasoning.stopped" | "response.skill.loaded";
588
606
  export type ExecutePythonStepDetailsInput = {
589
607
  code: string;
590
608
  result: string;
@@ -745,6 +763,82 @@ export type HTTPValidationErrorInput = {
745
763
  export type HTTPValidationErrorOutput = {
746
764
  detail?: ValidationErrorOutput[];
747
765
  };
766
+ export type ImageResultInput = {
767
+ height: number;
768
+ image_url: string;
769
+ origin_url: string;
770
+ title?: string;
771
+ width: number;
772
+ };
773
+ export type ImageResultOutput = {
774
+ height: number;
775
+ image_url: string;
776
+ origin_url: string;
777
+ title?: string;
778
+ width: number;
779
+ };
780
+ export type ImageSearchFiltersInput = {
781
+ domain_filter?: string[];
782
+ format_filter?: ("bmp" | "gif" | "jpeg" | "png" | "webp" | "svg")[];
783
+ safe_search?: boolean;
784
+ };
785
+ export type ImageSearchFiltersOutput = {
786
+ domain_filter?: string[];
787
+ format_filter?: ("bmp" | "gif" | "jpeg" | "png" | "webp" | "svg")[];
788
+ safe_search?: boolean;
789
+ };
790
+ export type ImageSearchQueriesEventInput = {
791
+ call_id: string;
792
+ queries: string[];
793
+ sequence_number: number;
794
+ thought?: string;
795
+ type: "response.reasoning.image_search_queries";
796
+ };
797
+ export type ImageSearchQueriesEventOutput = {
798
+ call_id: string;
799
+ queries: string[];
800
+ sequence_number: number;
801
+ thought?: string;
802
+ type: "response.reasoning.image_search_queries";
803
+ };
804
+ export type ImageSearchResultsEventInput = {
805
+ call_id: string;
806
+ results: ImageResultInput[];
807
+ sequence_number: number;
808
+ thought?: string;
809
+ type: "response.reasoning.image_search_results";
810
+ usage?: ResponsesUsageInput;
811
+ };
812
+ export type ImageSearchResultsEventOutput = {
813
+ call_id: string;
814
+ results: ImageResultOutput[];
815
+ sequence_number: number;
816
+ thought?: string;
817
+ type: "response.reasoning.image_search_results";
818
+ usage?: ResponsesUsageOutput;
819
+ };
820
+ export type ImageSearchResultsOutputItemInput = {
821
+ error?: string;
822
+ queries?: string[];
823
+ results: ImageResultInput[];
824
+ type: "image_search_results";
825
+ };
826
+ export type ImageSearchResultsOutputItemOutput = {
827
+ error?: string;
828
+ queries?: string[];
829
+ results: ImageResultOutput[];
830
+ type: "image_search_results";
831
+ };
832
+ export type ImageSearchToolInput = {
833
+ filters?: ImageSearchFiltersInput;
834
+ max_results?: number;
835
+ type: "image_search";
836
+ };
837
+ export type ImageSearchToolOutput = {
838
+ filters?: ImageSearchFiltersOutput;
839
+ max_results?: number;
840
+ type: "image_search";
841
+ };
748
842
  export type InlineSkillInput = {
749
843
  description: string;
750
844
  instructions: string;
@@ -762,17 +856,23 @@ export type InputOutput = string | InputItemOutput[];
762
856
  export type InputContentInput = string | InputContentPartInput[];
763
857
  export type InputContentOutput = string | InputContentPartOutput[];
764
858
  export type InputContentPartInput = {
859
+ file_data?: string;
860
+ file_url?: string;
861
+ filename?: string;
765
862
  image_url?: string;
766
863
  text?: string;
767
- type: "input_text" | "input_image";
864
+ type: "input_text" | "input_image" | "input_file";
768
865
  };
769
866
  export type InputContentPartOutput = {
867
+ file_data?: string;
868
+ file_url?: string;
869
+ filename?: string;
770
870
  image_url?: string;
771
871
  text?: string;
772
- type: "input_text" | "input_image";
872
+ type: "input_text" | "input_image" | "input_file";
773
873
  };
774
- export type InputItemInput = InputMessageInput | FunctionCallOutputInputInput | FunctionCallInputInput | ReasoningInputItemInput;
775
- export type InputItemOutput = InputMessageOutput | FunctionCallOutputInputOutput | FunctionCallInputOutput | ReasoningInputItemOutput;
874
+ export type InputItemInput = InputMessageInput | FunctionCallOutputInputInput | FunctionCallInputInput | ReasoningInputItemInput | McpApprovalResponseInputInput | McpApprovalRequestInputInput | McpCallInputInput | McpListToolsInputInput;
875
+ export type InputItemOutput = InputMessageOutput | FunctionCallOutputInputOutput | FunctionCallInputOutput | ReasoningInputItemOutput | McpApprovalResponseInputOutput | McpApprovalRequestInputOutput | McpCallInputOutput | McpListToolsInputOutput;
776
876
  export type InputMessageInput = {
777
877
  content: InputContentInput;
778
878
  role: "user" | "assistant" | "system" | "developer";
@@ -815,7 +915,80 @@ export type ListAsyncApiChatCompletionsResponseOutput = {
815
915
  next_token?: string | null;
816
916
  requests: AsyncApiChatCompletionsResponseSummaryOutput[];
817
917
  };
918
+ export type McpApprovalRequestInputInput = {
919
+ arguments: string;
920
+ connector_id?: string;
921
+ id: string;
922
+ name: string;
923
+ server_label: string;
924
+ thought_signature?: string;
925
+ type: "mcp_approval_request";
926
+ };
927
+ export type McpApprovalRequestInputOutput = {
928
+ arguments: string;
929
+ connector_id?: string;
930
+ id: string;
931
+ name: string;
932
+ server_label: string;
933
+ thought_signature?: string;
934
+ type: "mcp_approval_request";
935
+ };
936
+ export type McpApprovalRequestOutputItemInput = {
937
+ arguments: string;
938
+ connector_id?: string;
939
+ id: string;
940
+ name: string;
941
+ server_label: string;
942
+ thought_signature?: string;
943
+ type: "mcp_approval_request";
944
+ };
945
+ export type McpApprovalRequestOutputItemOutput = {
946
+ arguments: string;
947
+ connector_id?: string;
948
+ id: string;
949
+ name: string;
950
+ server_label: string;
951
+ thought_signature?: string;
952
+ type: "mcp_approval_request";
953
+ };
954
+ export type McpApprovalResponseInputInput = {
955
+ approval_request_id: string;
956
+ approve: boolean;
957
+ id?: string | null;
958
+ reason?: string | null;
959
+ type: "mcp_approval_response";
960
+ };
961
+ export type McpApprovalResponseInputOutput = {
962
+ approval_request_id: string;
963
+ approve: boolean;
964
+ id?: string | null;
965
+ reason?: string | null;
966
+ type: "mcp_approval_response";
967
+ };
968
+ export type McpCallInputInput = {
969
+ approval_request_id?: string | null;
970
+ arguments: string;
971
+ connector_id?: string;
972
+ error?: string | null;
973
+ id: string;
974
+ name: string;
975
+ output?: string;
976
+ server_label: string;
977
+ type: "mcp_call";
978
+ };
979
+ export type McpCallInputOutput = {
980
+ approval_request_id?: string | null;
981
+ arguments: string;
982
+ connector_id?: string;
983
+ error?: string | null;
984
+ id: string;
985
+ name: string;
986
+ output?: string;
987
+ server_label: string;
988
+ type: "mcp_call";
989
+ };
818
990
  export type McpCallOutputItemInput = {
991
+ approval_request_id?: string | null;
819
992
  arguments: string;
820
993
  connector_id?: string;
821
994
  error?: string | null;
@@ -826,6 +999,7 @@ export type McpCallOutputItemInput = {
826
999
  type: "mcp_call";
827
1000
  };
828
1001
  export type McpCallOutputItemOutput = {
1002
+ approval_request_id?: string | null;
829
1003
  arguments: string;
830
1004
  connector_id?: string;
831
1005
  error?: string | null;
@@ -835,6 +1009,20 @@ export type McpCallOutputItemOutput = {
835
1009
  server_label: string;
836
1010
  type: "mcp_call";
837
1011
  };
1012
+ export type McpListToolsInputInput = {
1013
+ error?: string | null;
1014
+ id?: string;
1015
+ server_label?: string;
1016
+ tools?: McpToolDefInput[];
1017
+ type: "mcp_list_tools";
1018
+ };
1019
+ export type McpListToolsInputOutput = {
1020
+ error?: string | null;
1021
+ id?: string;
1022
+ server_label?: string;
1023
+ tools?: McpToolDefOutput[];
1024
+ type: "mcp_list_tools";
1025
+ };
838
1026
  export type McpListToolsOutputItemInput = {
839
1027
  connector_id?: string;
840
1028
  error?: string;
@@ -856,6 +1044,7 @@ export type McpToolInput = {
856
1044
  authorization?: string;
857
1045
  defer_loading?: boolean;
858
1046
  headers?: {} & Record<string, string>;
1047
+ require_approval?: RequireApprovalInput;
859
1048
  server_label: string;
860
1049
  server_url: string;
861
1050
  type: "mcp";
@@ -865,16 +1054,23 @@ export type McpToolOutput = {
865
1054
  authorization?: string;
866
1055
  defer_loading?: boolean;
867
1056
  headers?: {} & Record<string, string>;
1057
+ require_approval?: RequireApprovalOutput;
868
1058
  server_label: string;
869
1059
  server_url: string;
870
1060
  type: "mcp";
871
1061
  };
872
1062
  export type McpToolDefInput = {
1063
+ annotations?: ({
1064
+ read_only?: boolean;
1065
+ } & Record<string, unknown>) | null;
873
1066
  description?: string;
874
1067
  input_schema: {} & Record<string, unknown>;
875
1068
  name: string;
876
1069
  };
877
1070
  export type McpToolDefOutput = {
1071
+ annotations?: ({
1072
+ read_only?: boolean;
1073
+ } & Record<string, unknown>) | null;
878
1074
  description?: string;
879
1075
  input_schema: {} & Record<string, unknown>;
880
1076
  name: string;
@@ -917,8 +1113,8 @@ export type NamespaceToolDefOutput = {
917
1113
  parameters?: {} & Record<string, unknown>;
918
1114
  type: "function";
919
1115
  };
920
- export type OutputItemInput = MessageOutputItemInput | SearchResultsOutputItemInput | FetchUrlResultsOutputItemInput | FunctionCallOutputItemInput | McpListToolsOutputItemInput | McpCallOutputItemInput | ToolSearchOutputItemInput | SkillLoadedOutputItemInput | AdvisorResultOutputItemInput | SandboxResultsOutputItemInput | SandboxWriteFileOutputItemInput | SandboxReadFileOutputItemInput | SandboxEditFileOutputItemInput | SandboxGrepOutputItemInput | SandboxGlobOutputItemInput | SandboxApplyPatchOutputItemInput | ShareFileOutputItemInput | UnknownOutputItemInput;
921
- export type OutputItemOutput = MessageOutputItemOutput | SearchResultsOutputItemOutput | FetchUrlResultsOutputItemOutput | FunctionCallOutputItemOutput | McpListToolsOutputItemOutput | McpCallOutputItemOutput | ToolSearchOutputItemOutput | SkillLoadedOutputItemOutput | AdvisorResultOutputItemOutput | SandboxResultsOutputItemOutput | SandboxWriteFileOutputItemOutput | SandboxReadFileOutputItemOutput | SandboxEditFileOutputItemOutput | SandboxGrepOutputItemOutput | SandboxGlobOutputItemOutput | SandboxApplyPatchOutputItemOutput | ShareFileOutputItemOutput | UnknownOutputItemOutput;
1116
+ export type OutputItemInput = MessageOutputItemInput | SearchResultsOutputItemInput | ImageSearchResultsOutputItemInput | FetchUrlResultsOutputItemInput | FunctionCallOutputItemInput | McpListToolsOutputItemInput | McpCallOutputItemInput | McpApprovalRequestOutputItemInput | ToolSearchOutputItemInput | SkillLoadedOutputItemInput | AdvisorResultOutputItemInput | SandboxResultsOutputItemInput | SandboxWriteFileOutputItemInput | SandboxReadFileOutputItemInput | SandboxEditFileOutputItemInput | SandboxGrepOutputItemInput | SandboxGlobOutputItemInput | SandboxApplyPatchOutputItemInput | ShareFileOutputItemInput | UnknownOutputItemInput;
1117
+ export type OutputItemOutput = MessageOutputItemOutput | SearchResultsOutputItemOutput | ImageSearchResultsOutputItemOutput | FetchUrlResultsOutputItemOutput | FunctionCallOutputItemOutput | McpListToolsOutputItemOutput | McpCallOutputItemOutput | McpApprovalRequestOutputItemOutput | ToolSearchOutputItemOutput | SkillLoadedOutputItemOutput | AdvisorResultOutputItemOutput | SandboxResultsOutputItemOutput | SandboxWriteFileOutputItemOutput | SandboxReadFileOutputItemOutput | SandboxEditFileOutputItemOutput | SandboxGrepOutputItemOutput | SandboxGlobOutputItemOutput | SandboxApplyPatchOutputItemOutput | ShareFileOutputItemOutput | UnknownOutputItemOutput;
922
1118
  export type OutputItemAddedEventInput = {
923
1119
  item: OutputItemInput;
924
1120
  output_index: number;
@@ -1069,6 +1265,8 @@ export type RegexSchemaOutput = {
1069
1265
  regex: string;
1070
1266
  strict?: boolean | null;
1071
1267
  };
1268
+ export type RequireApprovalInput = ("always" | "never") | ApprovalFiltersInput;
1269
+ export type RequireApprovalOutput = ("always" | "never") | ApprovalFiltersOutput;
1072
1270
  export type ResponseCompletedEventInput = {
1073
1271
  response?: ResponsesResponseInput;
1074
1272
  sequence_number: number;
@@ -1209,6 +1407,7 @@ export type ResponsesRequestInput = {
1209
1407
  store?: boolean;
1210
1408
  stream?: boolean;
1211
1409
  temperature?: number;
1410
+ tool_choice?: ToolChoiceInput;
1212
1411
  tools?: ToolInput[];
1213
1412
  top_p?: number;
1214
1413
  };
@@ -1230,6 +1429,7 @@ export type ResponsesRequestOutput = {
1230
1429
  store?: boolean;
1231
1430
  stream?: boolean;
1232
1431
  temperature?: number;
1432
+ tool_choice?: ToolChoiceOutput;
1233
1433
  tools?: ToolOutput[];
1234
1434
  top_p?: number;
1235
1435
  };
@@ -1259,8 +1459,8 @@ export type ResponsesResponseOutput = {
1259
1459
  store?: boolean;
1260
1460
  usage?: ResponsesUsageOutput;
1261
1461
  };
1262
- export type ResponseStreamEventInput = ResponseCreatedEventInput | ResponseInProgressEventInput | ResponseCompletedEventInput | ResponseFailedEventInput | OutputItemAddedEventInput | OutputItemDoneEventInput | TextDeltaEventInput | TextDoneEventInput | ReasoningStartedEventInput | SearchQueriesEventInput | SearchResultsEventInput | FetchUrlQueriesEventInput | FetchUrlResultsEventInput | ReasoningStoppedEventInput | ResponseSkillLoadedEventInput;
1263
- export type ResponseStreamEventOutput = ResponseCreatedEventOutput | ResponseInProgressEventOutput | ResponseCompletedEventOutput | ResponseFailedEventOutput | OutputItemAddedEventOutput | OutputItemDoneEventOutput | TextDeltaEventOutput | TextDoneEventOutput | ReasoningStartedEventOutput | SearchQueriesEventOutput | SearchResultsEventOutput | FetchUrlQueriesEventOutput | FetchUrlResultsEventOutput | ReasoningStoppedEventOutput | ResponseSkillLoadedEventOutput;
1462
+ export type ResponseStreamEventInput = ResponseCreatedEventInput | ResponseInProgressEventInput | ResponseCompletedEventInput | ResponseFailedEventInput | OutputItemAddedEventInput | OutputItemDoneEventInput | TextDeltaEventInput | TextDoneEventInput | ReasoningStartedEventInput | SearchQueriesEventInput | SearchResultsEventInput | ImageSearchQueriesEventInput | ImageSearchResultsEventInput | FetchUrlQueriesEventInput | FetchUrlResultsEventInput | ReasoningStoppedEventInput | ResponseSkillLoadedEventInput;
1463
+ export type ResponseStreamEventOutput = ResponseCreatedEventOutput | ResponseInProgressEventOutput | ResponseCompletedEventOutput | ResponseFailedEventOutput | OutputItemAddedEventOutput | OutputItemDoneEventOutput | TextDeltaEventOutput | TextDoneEventOutput | ReasoningStartedEventOutput | SearchQueriesEventOutput | SearchResultsEventOutput | ImageSearchQueriesEventOutput | ImageSearchResultsEventOutput | FetchUrlQueriesEventOutput | FetchUrlResultsEventOutput | ReasoningStoppedEventOutput | ResponseSkillLoadedEventOutput;
1264
1464
  export type ResponsesUsageInput = {
1265
1465
  cost?: ResponsesCostInput;
1266
1466
  input_tokens: number;
@@ -1543,8 +1743,8 @@ export type TextDoneEventOutput = {
1543
1743
  text: string;
1544
1744
  type: "response.output_text.done";
1545
1745
  };
1546
- export type ToolInput = WebSearchToolInput | FetchUrlToolInput | PeopleSearchToolInput | FunctionToolInput | FinanceSearchToolInput | SandboxToolInput | McpToolInput | ConnectorToolInput;
1547
- export type ToolOutput = WebSearchToolOutput | FetchUrlToolOutput | PeopleSearchToolOutput | FunctionToolOutput | FinanceSearchToolOutput | SandboxToolOutput | McpToolOutput | ConnectorToolOutput;
1746
+ export type ToolInput = WebSearchToolInput | ImageSearchToolInput | FetchUrlToolInput | PeopleSearchToolInput | FunctionToolInput | FinanceSearchToolInput | SandboxToolInput | McpToolInput | ConnectorToolInput;
1747
+ export type ToolOutput = WebSearchToolOutput | ImageSearchToolOutput | FetchUrlToolOutput | PeopleSearchToolOutput | FunctionToolOutput | FinanceSearchToolOutput | SandboxToolOutput | McpToolOutput | ConnectorToolOutput;
1548
1748
  export type ToolCallInput = {
1549
1749
  function?: ToolCallFunctionInput | null;
1550
1750
  id?: string | null;
@@ -1569,6 +1769,8 @@ export type ToolCallFunctionOutput = {
1569
1769
  arguments?: string | null;
1570
1770
  name?: string | null;
1571
1771
  };
1772
+ export type ToolChoiceInput = ("none" | "auto" | "required") | ({} & Record<string, unknown>);
1773
+ export type ToolChoiceOutput = ("none" | "auto" | "required") | ({} & Record<string, unknown>);
1572
1774
  export type ToolSearchOutputItemInput = {
1573
1775
  arguments?: string;
1574
1776
  call_id: string | null;
@@ -2008,6 +2210,9 @@ export type EmbeddingsUsage = EmbeddingsUsageOutput;
2008
2210
  export type ErrorInfo = ErrorInfoOutput;
2009
2211
  export type FunctionCallOutputItem = FunctionCallOutputItemOutput;
2010
2212
  export type FunctionTool = FunctionToolInput;
2213
+ export type ImageResult = ImageResultOutput;
2214
+ export type ImageSearchResultsOutputItem = ImageSearchResultsOutputItemOutput;
2215
+ export type ImageSearchTool = ImageSearchToolInput;
2011
2216
  export type InputItem = InputItemInput;
2012
2217
  export type JsonSchemaFormat = JSONSchemaFormatInput;
2013
2218
  export type OutputItem = OutputItemOutput;
@@ -2098,6 +2303,9 @@ export namespace Responses {
2098
2303
  export type FileContentParams = NonNullable<Parameters<ResponsesFilesResource["content"]>[1]>;
2099
2304
  export type FunctionCallOutputItem = FunctionCallOutputItemOutput;
2100
2305
  export type FunctionTool = FunctionToolInput;
2306
+ export type ImageResult = ImageResultOutput;
2307
+ export type ImageSearchResultsOutputItem = ImageSearchResultsOutputItemOutput;
2308
+ export type ImageSearchTool = ImageSearchToolInput;
2101
2309
  export type InputItem = InputItemInput;
2102
2310
  export type OutputItem = OutputItemOutput;
2103
2311
  export type ResponseCancelResponse = Awaited<ReturnType<ResponsesResource["cancel"]>>;
@@ -54,6 +54,9 @@ declare module '../client.js' {
54
54
  export type FileContentParams = API.Responses.FileContentParams;
55
55
  export type FunctionCallOutputItem = API.Responses.FunctionCallOutputItem;
56
56
  export type FunctionTool = API.Responses.FunctionTool;
57
+ export type ImageResult = API.Responses.ImageResult;
58
+ export type ImageSearchResultsOutputItem = API.Responses.ImageSearchResultsOutputItem;
59
+ export type ImageSearchTool = API.Responses.ImageSearchTool;
57
60
  export type InputItem = API.Responses.InputItem;
58
61
  export type OutputItem = API.Responses.OutputItem;
59
62
  export type ResponseCancelResponse = API.Responses.ResponseCancelResponse;
@@ -4,5 +4,5 @@ export { Browser, type SessionCreateParams } from './browser/browser.js';
4
4
  export { Chat, type CompletionCreateParams, type CompletionCreateParamsBase, type CompletionCreateParamsNonStreaming, type CompletionCreateParamsStreaming, type StreamChunk } from './chat/chat.js';
5
5
  export { ContextualizedEmbeddings, type ContextualizedEmbeddingCreateParams, type ContextualizedEmbeddingCreateResponse } from './contextualized-embeddings.js';
6
6
  export { Embeddings, type EmbeddingCreateParams, type EmbeddingCreateResponse } from './embeddings.js';
7
- export { Responses, type Annotation, type ContentPart, type ErrorInfo, type FileContentParams, type FunctionCallOutputItem, type FunctionTool, type InputItem, type OutputItem, type ResponseCancelResponse, type ResponseCreateParams, type ResponseCreateParamsBase, type ResponseCreateParamsNonStreaming, type ResponseCreateParamsStreaming, type ResponseCreateResponse, type ResponseFile, type ResponseFileList, type ResponseRetrieveResponse, type ResponsesCreateParams, type ResponseStreamChunk, type ResponsesUsage } from './responses/responses.js';
7
+ export { Responses, type Annotation, type ContentPart, type ErrorInfo, type FileContentParams, type FunctionCallOutputItem, type FunctionTool, type ImageResult, type ImageSearchResultsOutputItem, type ImageSearchTool, type InputItem, type OutputItem, type ResponseCancelResponse, type ResponseCreateParams, type ResponseCreateParamsBase, type ResponseCreateParamsNonStreaming, type ResponseCreateParamsStreaming, type ResponseCreateResponse, type ResponseFile, type ResponseFileList, type ResponseRetrieveResponse, type ResponsesCreateParams, type ResponseStreamChunk, type ResponsesUsage } from './responses/responses.js';
8
8
  export { Search, type SearchCreateParams, type SearchCreateResponse } from './search.js';
@@ -1,2 +1,2 @@
1
- export { Responses, type Annotation, type ContentPart, type ErrorInfo, type FileContentParams, type FunctionCallOutputItem, type FunctionTool, type InputItem, type OutputItem, type ResponseCancelResponse, type ResponseCreateParams, type ResponseCreateParamsBase, type ResponseCreateParamsNonStreaming, type ResponseCreateParamsStreaming, type ResponseCreateResponse, type ResponseFile, type ResponseFileList, type ResponseRetrieveResponse, type ResponsesCreateParams, type ResponseStreamChunk, type ResponsesUsage } from './responses.js';
1
+ export { Responses, type Annotation, type ContentPart, type ErrorInfo, type FileContentParams, type FunctionCallOutputItem, type FunctionTool, type ImageResult, type ImageSearchResultsOutputItem, type ImageSearchTool, type InputItem, type OutputItem, type ResponseCancelResponse, type ResponseCreateParams, type ResponseCreateParamsBase, type ResponseCreateParamsNonStreaming, type ResponseCreateParamsStreaming, type ResponseCreateResponse, type ResponseFile, type ResponseFileList, type ResponseRetrieveResponse, type ResponsesCreateParams, type ResponseStreamChunk, type ResponsesUsage } from './responses.js';
2
2
  export { Files } from './files.js';
@@ -6,6 +6,9 @@ export type ErrorInfo = API.Responses.ErrorInfo;
6
6
  export type FileContentParams = API.Responses.FileContentParams;
7
7
  export type FunctionCallOutputItem = API.Responses.FunctionCallOutputItem;
8
8
  export type FunctionTool = API.Responses.FunctionTool;
9
+ export type ImageResult = API.Responses.ImageResult;
10
+ export type ImageSearchResultsOutputItem = API.Responses.ImageSearchResultsOutputItem;
11
+ export type ImageSearchTool = API.Responses.ImageSearchTool;
9
12
  export type InputItem = API.Responses.InputItem;
10
13
  export type OutputItem = API.Responses.OutputItem;
11
14
  export type ResponseCancelResponse = API.Responses.ResponseCancelResponse;
@@ -16,6 +16,9 @@ export type EmbeddingsUsage = API.EmbeddingsUsage;
16
16
  export type ErrorInfo = API.ErrorInfo;
17
17
  export type FunctionCallOutputItem = API.FunctionCallOutputItem;
18
18
  export type FunctionTool = API.FunctionTool;
19
+ export type ImageResult = API.ImageResult;
20
+ export type ImageSearchResultsOutputItem = API.ImageSearchResultsOutputItem;
21
+ export type ImageSearchTool = API.ImageSearchTool;
19
22
  export type InputItem = API.InputItem;
20
23
  export type JsonSchemaFormat = API.JsonSchemaFormat;
21
24
  export type OutputItem = API.OutputItem;
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.38.6'; // x-release-please-version
1
+ export const VERSION = '0.38.8'; // x-release-please-version