公众号验证码功能完成 yeah!!!
This commit is contained in:
213
node_modules/openai/resources/conversations/conversations.d.mts
generated
vendored
213
node_modules/openai/resources/conversations/conversations.d.mts
generated
vendored
@@ -10,20 +10,23 @@ export declare class Conversations extends APIResource {
|
||||
/**
|
||||
* Create a conversation.
|
||||
*/
|
||||
create(body: ConversationCreateParams, options?: RequestOptions): APIPromise<Conversation>;
|
||||
create(body?: ConversationCreateParams | null | undefined, options?: RequestOptions): APIPromise<Conversation>;
|
||||
/**
|
||||
* Get a conversation with the given ID.
|
||||
* Get a conversation
|
||||
*/
|
||||
retrieve(conversationID: string, options?: RequestOptions): APIPromise<Conversation>;
|
||||
/**
|
||||
* Update a conversation's metadata with the given ID.
|
||||
* Update a conversation
|
||||
*/
|
||||
update(conversationID: string, body: ConversationUpdateParams, options?: RequestOptions): APIPromise<Conversation>;
|
||||
/**
|
||||
* Delete a conversation with the given ID.
|
||||
* Delete a conversation. Items in the conversation will not be deleted.
|
||||
*/
|
||||
delete(conversationID: string, options?: RequestOptions): APIPromise<ConversationDeletedResource>;
|
||||
}
|
||||
/**
|
||||
* A screenshot of a computer.
|
||||
*/
|
||||
export interface ComputerScreenshotContent {
|
||||
/**
|
||||
* The identifier of an uploaded file that contains the screenshot.
|
||||
@@ -39,32 +42,6 @@ export interface ComputerScreenshotContent {
|
||||
*/
|
||||
type: 'computer_screenshot';
|
||||
}
|
||||
export interface ContainerFileCitationBody {
|
||||
/**
|
||||
* The ID of the container file.
|
||||
*/
|
||||
container_id: string;
|
||||
/**
|
||||
* The index of the last character of the container file citation in the message.
|
||||
*/
|
||||
end_index: number;
|
||||
/**
|
||||
* The ID of the file.
|
||||
*/
|
||||
file_id: string;
|
||||
/**
|
||||
* The filename of the container file cited.
|
||||
*/
|
||||
filename: string;
|
||||
/**
|
||||
* The index of the first character of the container file citation in the message.
|
||||
*/
|
||||
start_index: number;
|
||||
/**
|
||||
* The type of the container file citation. Always `container_file_citation`.
|
||||
*/
|
||||
type: 'container_file_citation';
|
||||
}
|
||||
export interface Conversation {
|
||||
/**
|
||||
* The unique ID of the conversation.
|
||||
@@ -98,78 +75,9 @@ export interface ConversationDeletedResource {
|
||||
deleted: boolean;
|
||||
object: 'conversation.deleted';
|
||||
}
|
||||
export interface FileCitationBody {
|
||||
/**
|
||||
* The ID of the file.
|
||||
*/
|
||||
file_id: string;
|
||||
/**
|
||||
* The filename of the file cited.
|
||||
*/
|
||||
filename: string;
|
||||
/**
|
||||
* The index of the file in the list of files.
|
||||
*/
|
||||
index: number;
|
||||
/**
|
||||
* The type of the file citation. Always `file_citation`.
|
||||
*/
|
||||
type: 'file_citation';
|
||||
}
|
||||
export interface InputFileContent {
|
||||
/**
|
||||
* The ID of the file to be sent to the model.
|
||||
*/
|
||||
file_id: string | null;
|
||||
/**
|
||||
* The type of the input item. Always `input_file`.
|
||||
*/
|
||||
type: 'input_file';
|
||||
/**
|
||||
* The URL of the file to be sent to the model.
|
||||
*/
|
||||
file_url?: string;
|
||||
/**
|
||||
* The name of the file to be sent to the model.
|
||||
*/
|
||||
filename?: string;
|
||||
}
|
||||
export interface InputImageContent {
|
||||
/**
|
||||
* The detail level of the image to be sent to the model. One of `high`, `low`, or
|
||||
* `auto`. Defaults to `auto`.
|
||||
*/
|
||||
detail: 'low' | 'high' | 'auto';
|
||||
/**
|
||||
* The ID of the file to be sent to the model.
|
||||
*/
|
||||
file_id: string | null;
|
||||
/**
|
||||
* The URL of the image to be sent to the model. A fully qualified URL or base64
|
||||
* encoded image in a data URL.
|
||||
*/
|
||||
image_url: string | null;
|
||||
/**
|
||||
* The type of the input item. Always `input_image`.
|
||||
*/
|
||||
type: 'input_image';
|
||||
}
|
||||
export interface InputTextContent {
|
||||
/**
|
||||
* The text input to the model.
|
||||
*/
|
||||
text: string;
|
||||
/**
|
||||
* The type of the input item. Always `input_text`.
|
||||
*/
|
||||
type: 'input_text';
|
||||
}
|
||||
export interface LobProb {
|
||||
token: string;
|
||||
bytes: Array<number>;
|
||||
logprob: number;
|
||||
top_logprobs: Array<TopLogProb>;
|
||||
}
|
||||
/**
|
||||
* A message to or from the model.
|
||||
*/
|
||||
export interface Message {
|
||||
/**
|
||||
* The unique ID of the message.
|
||||
@@ -178,7 +86,7 @@ export interface Message {
|
||||
/**
|
||||
* The content of the message
|
||||
*/
|
||||
content: Array<InputTextContent | OutputTextContent | TextContent | SummaryTextContent | RefusalContent | InputImageContent | ComputerScreenshotContent | InputFileContent>;
|
||||
content: Array<ResponsesAPI.ResponseInputText | ResponsesAPI.ResponseOutputText | TextContent | SummaryTextContent | Message.ReasoningText | ResponsesAPI.ResponseOutputRefusal | ResponsesAPI.ResponseInputImage | ComputerScreenshotContent | ResponsesAPI.ResponseInputFile>;
|
||||
/**
|
||||
* The role of the message. One of `unknown`, `user`, `assistant`, `system`,
|
||||
* `critic`, `discriminator`, `developer`, or `tool`.
|
||||
@@ -194,66 +102,46 @@ export interface Message {
|
||||
*/
|
||||
type: 'message';
|
||||
}
|
||||
export interface OutputTextContent {
|
||||
export declare namespace Message {
|
||||
/**
|
||||
* The annotations of the text output.
|
||||
* Reasoning text from the model.
|
||||
*/
|
||||
annotations: Array<FileCitationBody | URLCitationBody | ContainerFileCitationBody>;
|
||||
/**
|
||||
* The text output from the model.
|
||||
*/
|
||||
text: string;
|
||||
/**
|
||||
* The type of the output text. Always `output_text`.
|
||||
*/
|
||||
type: 'output_text';
|
||||
logprobs?: Array<LobProb>;
|
||||
}
|
||||
export interface RefusalContent {
|
||||
/**
|
||||
* The refusal explanation from the model.
|
||||
*/
|
||||
refusal: string;
|
||||
/**
|
||||
* The type of the refusal. Always `refusal`.
|
||||
*/
|
||||
type: 'refusal';
|
||||
interface ReasoningText {
|
||||
/**
|
||||
* The reasoning text from the model.
|
||||
*/
|
||||
text: string;
|
||||
/**
|
||||
* The type of the reasoning text. Always `reasoning_text`.
|
||||
*/
|
||||
type: 'reasoning_text';
|
||||
}
|
||||
}
|
||||
/**
|
||||
* A summary text from the model.
|
||||
*/
|
||||
export interface SummaryTextContent {
|
||||
/**
|
||||
* A summary of the reasoning output from the model so far.
|
||||
*/
|
||||
text: string;
|
||||
/**
|
||||
* The type of the object. Always `summary_text`.
|
||||
*/
|
||||
type: 'summary_text';
|
||||
}
|
||||
/**
|
||||
* A text content.
|
||||
*/
|
||||
export interface TextContent {
|
||||
text: string;
|
||||
type: 'text';
|
||||
}
|
||||
export interface TopLogProb {
|
||||
token: string;
|
||||
bytes: Array<number>;
|
||||
logprob: number;
|
||||
}
|
||||
export interface URLCitationBody {
|
||||
/**
|
||||
* The index of the last character of the URL citation in the message.
|
||||
*/
|
||||
end_index: number;
|
||||
/**
|
||||
* The index of the first character of the URL citation in the message.
|
||||
*/
|
||||
start_index: number;
|
||||
/**
|
||||
* The title of the web resource.
|
||||
*/
|
||||
title: string;
|
||||
/**
|
||||
* The type of the URL citation. Always `url_citation`.
|
||||
*/
|
||||
type: 'url_citation';
|
||||
/**
|
||||
* The URL of the web resource.
|
||||
*/
|
||||
url: string;
|
||||
}
|
||||
export type InputTextContent = ResponsesAPI.ResponseInputText;
|
||||
export type OutputTextContent = ResponsesAPI.ResponseOutputText;
|
||||
export type RefusalContent = ResponsesAPI.ResponseOutputRefusal;
|
||||
export type InputImageContent = ResponsesAPI.ResponseInputImage;
|
||||
export type InputFileContent = ResponsesAPI.ResponseInputFile;
|
||||
export interface ConversationCreateParams {
|
||||
/**
|
||||
* Initial items to include in the conversation context. You may add up to 20 items
|
||||
@@ -261,8 +149,12 @@ export interface ConversationCreateParams {
|
||||
*/
|
||||
items?: Array<ResponsesAPI.ResponseInputItem> | null;
|
||||
/**
|
||||
* Set of 16 key-value pairs that can be attached to an object. Useful for storing
|
||||
* additional information about the object in a structured format.
|
||||
* Set of 16 key-value pairs that can be attached to an object. This can be useful
|
||||
* for storing additional information about the object in a structured format, and
|
||||
* querying for objects via API or the dashboard.
|
||||
*
|
||||
* Keys are strings with a maximum length of 64 characters. Values are strings with
|
||||
* a maximum length of 512 characters.
|
||||
*/
|
||||
metadata?: Shared.Metadata | null;
|
||||
}
|
||||
@@ -270,16 +162,15 @@ export interface ConversationUpdateParams {
|
||||
/**
|
||||
* Set of 16 key-value pairs that can be attached to an object. This can be useful
|
||||
* for storing additional information about the object in a structured format, and
|
||||
* querying for objects via API or the dashboard. Keys are strings with a maximum
|
||||
* length of 64 characters. Values are strings with a maximum length of 512
|
||||
* characters.
|
||||
* querying for objects via API or the dashboard.
|
||||
*
|
||||
* Keys are strings with a maximum length of 64 characters. Values are strings with
|
||||
* a maximum length of 512 characters.
|
||||
*/
|
||||
metadata: {
|
||||
[key: string]: string;
|
||||
};
|
||||
metadata: Shared.Metadata | null;
|
||||
}
|
||||
export declare namespace Conversations {
|
||||
export { type ComputerScreenshotContent as ComputerScreenshotContent, type ContainerFileCitationBody as ContainerFileCitationBody, type Conversation as Conversation, type ConversationDeleted as ConversationDeleted, type ConversationDeletedResource as ConversationDeletedResource, type FileCitationBody as FileCitationBody, type InputFileContent as InputFileContent, type InputImageContent as InputImageContent, type InputTextContent as InputTextContent, type LobProb as LobProb, type Message as Message, type OutputTextContent as OutputTextContent, type RefusalContent as RefusalContent, type SummaryTextContent as SummaryTextContent, type TextContent as TextContent, type TopLogProb as TopLogProb, type URLCitationBody as URLCitationBody, type ConversationCreateParams as ConversationCreateParams, type ConversationUpdateParams as ConversationUpdateParams, };
|
||||
export { type ComputerScreenshotContent as ComputerScreenshotContent, type Conversation as Conversation, type ConversationDeleted as ConversationDeleted, type ConversationDeletedResource as ConversationDeletedResource, type Message as Message, type SummaryTextContent as SummaryTextContent, type TextContent as TextContent, type InputTextContent as InputTextContent, type OutputTextContent as OutputTextContent, type RefusalContent as RefusalContent, type InputImageContent as InputImageContent, type InputFileContent as InputFileContent, type ConversationCreateParams as ConversationCreateParams, type ConversationUpdateParams as ConversationUpdateParams, };
|
||||
export { Items as Items, type ConversationItem as ConversationItem, type ConversationItemList as ConversationItemList, type ConversationItemsPage as ConversationItemsPage, type ItemCreateParams as ItemCreateParams, type ItemRetrieveParams as ItemRetrieveParams, type ItemListParams as ItemListParams, type ItemDeleteParams as ItemDeleteParams, };
|
||||
}
|
||||
//# sourceMappingURL=conversations.d.mts.map
|
||||
2
node_modules/openai/resources/conversations/conversations.d.mts.map
generated
vendored
2
node_modules/openai/resources/conversations/conversations.d.mts.map
generated
vendored
@@ -1 +1 @@
|
||||
{"version":3,"file":"conversations.d.mts","sourceRoot":"","sources":["../../src/resources/conversations/conversations.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,KAAK,QAAQ;OACb,EACL,gBAAgB,EAChB,oBAAoB,EACpB,qBAAqB,EACrB,gBAAgB,EAChB,gBAAgB,EAChB,cAAc,EACd,kBAAkB,EAClB,KAAK,EACN;OACM,KAAK,YAAY;OACjB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,aAAc,SAAQ,WAAW;IAC5C,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAoC;IAEzD;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,wBAAwB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,YAAY,CAAC;IAI1F;;OAEG;IACH,QAAQ,CAAC,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,YAAY,CAAC;IAIpF;;OAEG;IACH,MAAM,CACJ,cAAc,EAAE,MAAM,EACtB,IAAI,EAAE,wBAAwB,EAC9B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,YAAY,CAAC;IAI3B;;OAEG;IACH,MAAM,CAAC,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,2BAA2B,CAAC;CAGlG;AAED,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAEvB;;OAEG;IACH,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAEzB;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IAAI,mBAAmB,EAC/C,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,UAAU,IAAI,UAAU,EAC7B,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;IAEF,OAAO,EACL,KAAK,IAAI,KAAK,EACd,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
|
||||
{"version":3,"file":"conversations.d.mts","sourceRoot":"","sources":["../../src/resources/conversations/conversations.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,KAAK,QAAQ;OACb,EACL,gBAAgB,EAChB,oBAAoB,EACpB,qBAAqB,EACrB,gBAAgB,EAChB,gBAAgB,EAChB,cAAc,EACd,kBAAkB,EAClB,KAAK,EACN;OACM,KAAK,YAAY;OACjB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,aAAc,SAAQ,WAAW;IAC5C,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAoC;IAEzD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C,EAAE,KAAK,CAAC,YAAY,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC;IAErD;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,QAAQ,GAAG,IAAI,CAAC;CACnC;AAED,MAAM,WAAW,wBAAwB;IACvC;;;;;;;OAOG;IACH,QAAQ,EAAE,MAAM,CAAC,QAAQ,GAAG,IAAI,CAAC;CAClC;AAID,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EACL,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;IAEF,OAAO,EACL,KAAK,IAAI,KAAK,EACd,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
|
||||
213
node_modules/openai/resources/conversations/conversations.d.ts
generated
vendored
213
node_modules/openai/resources/conversations/conversations.d.ts
generated
vendored
@@ -10,20 +10,23 @@ export declare class Conversations extends APIResource {
|
||||
/**
|
||||
* Create a conversation.
|
||||
*/
|
||||
create(body: ConversationCreateParams, options?: RequestOptions): APIPromise<Conversation>;
|
||||
create(body?: ConversationCreateParams | null | undefined, options?: RequestOptions): APIPromise<Conversation>;
|
||||
/**
|
||||
* Get a conversation with the given ID.
|
||||
* Get a conversation
|
||||
*/
|
||||
retrieve(conversationID: string, options?: RequestOptions): APIPromise<Conversation>;
|
||||
/**
|
||||
* Update a conversation's metadata with the given ID.
|
||||
* Update a conversation
|
||||
*/
|
||||
update(conversationID: string, body: ConversationUpdateParams, options?: RequestOptions): APIPromise<Conversation>;
|
||||
/**
|
||||
* Delete a conversation with the given ID.
|
||||
* Delete a conversation. Items in the conversation will not be deleted.
|
||||
*/
|
||||
delete(conversationID: string, options?: RequestOptions): APIPromise<ConversationDeletedResource>;
|
||||
}
|
||||
/**
|
||||
* A screenshot of a computer.
|
||||
*/
|
||||
export interface ComputerScreenshotContent {
|
||||
/**
|
||||
* The identifier of an uploaded file that contains the screenshot.
|
||||
@@ -39,32 +42,6 @@ export interface ComputerScreenshotContent {
|
||||
*/
|
||||
type: 'computer_screenshot';
|
||||
}
|
||||
export interface ContainerFileCitationBody {
|
||||
/**
|
||||
* The ID of the container file.
|
||||
*/
|
||||
container_id: string;
|
||||
/**
|
||||
* The index of the last character of the container file citation in the message.
|
||||
*/
|
||||
end_index: number;
|
||||
/**
|
||||
* The ID of the file.
|
||||
*/
|
||||
file_id: string;
|
||||
/**
|
||||
* The filename of the container file cited.
|
||||
*/
|
||||
filename: string;
|
||||
/**
|
||||
* The index of the first character of the container file citation in the message.
|
||||
*/
|
||||
start_index: number;
|
||||
/**
|
||||
* The type of the container file citation. Always `container_file_citation`.
|
||||
*/
|
||||
type: 'container_file_citation';
|
||||
}
|
||||
export interface Conversation {
|
||||
/**
|
||||
* The unique ID of the conversation.
|
||||
@@ -98,78 +75,9 @@ export interface ConversationDeletedResource {
|
||||
deleted: boolean;
|
||||
object: 'conversation.deleted';
|
||||
}
|
||||
export interface FileCitationBody {
|
||||
/**
|
||||
* The ID of the file.
|
||||
*/
|
||||
file_id: string;
|
||||
/**
|
||||
* The filename of the file cited.
|
||||
*/
|
||||
filename: string;
|
||||
/**
|
||||
* The index of the file in the list of files.
|
||||
*/
|
||||
index: number;
|
||||
/**
|
||||
* The type of the file citation. Always `file_citation`.
|
||||
*/
|
||||
type: 'file_citation';
|
||||
}
|
||||
export interface InputFileContent {
|
||||
/**
|
||||
* The ID of the file to be sent to the model.
|
||||
*/
|
||||
file_id: string | null;
|
||||
/**
|
||||
* The type of the input item. Always `input_file`.
|
||||
*/
|
||||
type: 'input_file';
|
||||
/**
|
||||
* The URL of the file to be sent to the model.
|
||||
*/
|
||||
file_url?: string;
|
||||
/**
|
||||
* The name of the file to be sent to the model.
|
||||
*/
|
||||
filename?: string;
|
||||
}
|
||||
export interface InputImageContent {
|
||||
/**
|
||||
* The detail level of the image to be sent to the model. One of `high`, `low`, or
|
||||
* `auto`. Defaults to `auto`.
|
||||
*/
|
||||
detail: 'low' | 'high' | 'auto';
|
||||
/**
|
||||
* The ID of the file to be sent to the model.
|
||||
*/
|
||||
file_id: string | null;
|
||||
/**
|
||||
* The URL of the image to be sent to the model. A fully qualified URL or base64
|
||||
* encoded image in a data URL.
|
||||
*/
|
||||
image_url: string | null;
|
||||
/**
|
||||
* The type of the input item. Always `input_image`.
|
||||
*/
|
||||
type: 'input_image';
|
||||
}
|
||||
export interface InputTextContent {
|
||||
/**
|
||||
* The text input to the model.
|
||||
*/
|
||||
text: string;
|
||||
/**
|
||||
* The type of the input item. Always `input_text`.
|
||||
*/
|
||||
type: 'input_text';
|
||||
}
|
||||
export interface LobProb {
|
||||
token: string;
|
||||
bytes: Array<number>;
|
||||
logprob: number;
|
||||
top_logprobs: Array<TopLogProb>;
|
||||
}
|
||||
/**
|
||||
* A message to or from the model.
|
||||
*/
|
||||
export interface Message {
|
||||
/**
|
||||
* The unique ID of the message.
|
||||
@@ -178,7 +86,7 @@ export interface Message {
|
||||
/**
|
||||
* The content of the message
|
||||
*/
|
||||
content: Array<InputTextContent | OutputTextContent | TextContent | SummaryTextContent | RefusalContent | InputImageContent | ComputerScreenshotContent | InputFileContent>;
|
||||
content: Array<ResponsesAPI.ResponseInputText | ResponsesAPI.ResponseOutputText | TextContent | SummaryTextContent | Message.ReasoningText | ResponsesAPI.ResponseOutputRefusal | ResponsesAPI.ResponseInputImage | ComputerScreenshotContent | ResponsesAPI.ResponseInputFile>;
|
||||
/**
|
||||
* The role of the message. One of `unknown`, `user`, `assistant`, `system`,
|
||||
* `critic`, `discriminator`, `developer`, or `tool`.
|
||||
@@ -194,66 +102,46 @@ export interface Message {
|
||||
*/
|
||||
type: 'message';
|
||||
}
|
||||
export interface OutputTextContent {
|
||||
export declare namespace Message {
|
||||
/**
|
||||
* The annotations of the text output.
|
||||
* Reasoning text from the model.
|
||||
*/
|
||||
annotations: Array<FileCitationBody | URLCitationBody | ContainerFileCitationBody>;
|
||||
/**
|
||||
* The text output from the model.
|
||||
*/
|
||||
text: string;
|
||||
/**
|
||||
* The type of the output text. Always `output_text`.
|
||||
*/
|
||||
type: 'output_text';
|
||||
logprobs?: Array<LobProb>;
|
||||
}
|
||||
export interface RefusalContent {
|
||||
/**
|
||||
* The refusal explanation from the model.
|
||||
*/
|
||||
refusal: string;
|
||||
/**
|
||||
* The type of the refusal. Always `refusal`.
|
||||
*/
|
||||
type: 'refusal';
|
||||
interface ReasoningText {
|
||||
/**
|
||||
* The reasoning text from the model.
|
||||
*/
|
||||
text: string;
|
||||
/**
|
||||
* The type of the reasoning text. Always `reasoning_text`.
|
||||
*/
|
||||
type: 'reasoning_text';
|
||||
}
|
||||
}
|
||||
/**
|
||||
* A summary text from the model.
|
||||
*/
|
||||
export interface SummaryTextContent {
|
||||
/**
|
||||
* A summary of the reasoning output from the model so far.
|
||||
*/
|
||||
text: string;
|
||||
/**
|
||||
* The type of the object. Always `summary_text`.
|
||||
*/
|
||||
type: 'summary_text';
|
||||
}
|
||||
/**
|
||||
* A text content.
|
||||
*/
|
||||
export interface TextContent {
|
||||
text: string;
|
||||
type: 'text';
|
||||
}
|
||||
export interface TopLogProb {
|
||||
token: string;
|
||||
bytes: Array<number>;
|
||||
logprob: number;
|
||||
}
|
||||
export interface URLCitationBody {
|
||||
/**
|
||||
* The index of the last character of the URL citation in the message.
|
||||
*/
|
||||
end_index: number;
|
||||
/**
|
||||
* The index of the first character of the URL citation in the message.
|
||||
*/
|
||||
start_index: number;
|
||||
/**
|
||||
* The title of the web resource.
|
||||
*/
|
||||
title: string;
|
||||
/**
|
||||
* The type of the URL citation. Always `url_citation`.
|
||||
*/
|
||||
type: 'url_citation';
|
||||
/**
|
||||
* The URL of the web resource.
|
||||
*/
|
||||
url: string;
|
||||
}
|
||||
export type InputTextContent = ResponsesAPI.ResponseInputText;
|
||||
export type OutputTextContent = ResponsesAPI.ResponseOutputText;
|
||||
export type RefusalContent = ResponsesAPI.ResponseOutputRefusal;
|
||||
export type InputImageContent = ResponsesAPI.ResponseInputImage;
|
||||
export type InputFileContent = ResponsesAPI.ResponseInputFile;
|
||||
export interface ConversationCreateParams {
|
||||
/**
|
||||
* Initial items to include in the conversation context. You may add up to 20 items
|
||||
@@ -261,8 +149,12 @@ export interface ConversationCreateParams {
|
||||
*/
|
||||
items?: Array<ResponsesAPI.ResponseInputItem> | null;
|
||||
/**
|
||||
* Set of 16 key-value pairs that can be attached to an object. Useful for storing
|
||||
* additional information about the object in a structured format.
|
||||
* Set of 16 key-value pairs that can be attached to an object. This can be useful
|
||||
* for storing additional information about the object in a structured format, and
|
||||
* querying for objects via API or the dashboard.
|
||||
*
|
||||
* Keys are strings with a maximum length of 64 characters. Values are strings with
|
||||
* a maximum length of 512 characters.
|
||||
*/
|
||||
metadata?: Shared.Metadata | null;
|
||||
}
|
||||
@@ -270,16 +162,15 @@ export interface ConversationUpdateParams {
|
||||
/**
|
||||
* Set of 16 key-value pairs that can be attached to an object. This can be useful
|
||||
* for storing additional information about the object in a structured format, and
|
||||
* querying for objects via API or the dashboard. Keys are strings with a maximum
|
||||
* length of 64 characters. Values are strings with a maximum length of 512
|
||||
* characters.
|
||||
* querying for objects via API or the dashboard.
|
||||
*
|
||||
* Keys are strings with a maximum length of 64 characters. Values are strings with
|
||||
* a maximum length of 512 characters.
|
||||
*/
|
||||
metadata: {
|
||||
[key: string]: string;
|
||||
};
|
||||
metadata: Shared.Metadata | null;
|
||||
}
|
||||
export declare namespace Conversations {
|
||||
export { type ComputerScreenshotContent as ComputerScreenshotContent, type ContainerFileCitationBody as ContainerFileCitationBody, type Conversation as Conversation, type ConversationDeleted as ConversationDeleted, type ConversationDeletedResource as ConversationDeletedResource, type FileCitationBody as FileCitationBody, type InputFileContent as InputFileContent, type InputImageContent as InputImageContent, type InputTextContent as InputTextContent, type LobProb as LobProb, type Message as Message, type OutputTextContent as OutputTextContent, type RefusalContent as RefusalContent, type SummaryTextContent as SummaryTextContent, type TextContent as TextContent, type TopLogProb as TopLogProb, type URLCitationBody as URLCitationBody, type ConversationCreateParams as ConversationCreateParams, type ConversationUpdateParams as ConversationUpdateParams, };
|
||||
export { type ComputerScreenshotContent as ComputerScreenshotContent, type Conversation as Conversation, type ConversationDeleted as ConversationDeleted, type ConversationDeletedResource as ConversationDeletedResource, type Message as Message, type SummaryTextContent as SummaryTextContent, type TextContent as TextContent, type InputTextContent as InputTextContent, type OutputTextContent as OutputTextContent, type RefusalContent as RefusalContent, type InputImageContent as InputImageContent, type InputFileContent as InputFileContent, type ConversationCreateParams as ConversationCreateParams, type ConversationUpdateParams as ConversationUpdateParams, };
|
||||
export { Items as Items, type ConversationItem as ConversationItem, type ConversationItemList as ConversationItemList, type ConversationItemsPage as ConversationItemsPage, type ItemCreateParams as ItemCreateParams, type ItemRetrieveParams as ItemRetrieveParams, type ItemListParams as ItemListParams, type ItemDeleteParams as ItemDeleteParams, };
|
||||
}
|
||||
//# sourceMappingURL=conversations.d.ts.map
|
||||
2
node_modules/openai/resources/conversations/conversations.d.ts.map
generated
vendored
2
node_modules/openai/resources/conversations/conversations.d.ts.map
generated
vendored
@@ -1 +1 @@
|
||||
{"version":3,"file":"conversations.d.ts","sourceRoot":"","sources":["../../src/resources/conversations/conversations.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,KAAK,QAAQ;OACb,EACL,gBAAgB,EAChB,oBAAoB,EACpB,qBAAqB,EACrB,gBAAgB,EAChB,gBAAgB,EAChB,cAAc,EACd,kBAAkB,EAClB,KAAK,EACN;OACM,KAAK,YAAY;OACjB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,aAAc,SAAQ,WAAW;IAC5C,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAoC;IAEzD;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,wBAAwB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,YAAY,CAAC;IAI1F;;OAEG;IACH,QAAQ,CAAC,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,YAAY,CAAC;IAIpF;;OAEG;IACH,MAAM,CACJ,cAAc,EAAE,MAAM,EACtB,IAAI,EAAE,wBAAwB,EAC9B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,YAAY,CAAC;IAI3B;;OAEG;IACH,MAAM,CAAC,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,2BAA2B,CAAC;CAGlG;AAED,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAEvB;;OAEG;IACH,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAEzB;;;OAGG;IACH,IAAI,EAAE,qBAAqB,CAAC;CAC7B;AAED,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;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KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,UAAU,IAAI,UAAU,EAC7B,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;IAEF,OAAO,EACL,KAAK,IAAI,KAAK,EACd,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
|
||||
{"version":3,"file":"conversations.d.ts","sourceRoot":"","sources":["../../src/resources/conversations/conversations.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,KAAK,QAAQ;OACb,EACL,gBAAgB,EAChB,oBAAoB,EACpB,qBAAqB,EACrB,gBAAgB,EAChB,gBAAgB,EAChB,cAAc,EACd,kBAAkB,EAClB,KAAK,EACN;OACM,KAAK,YAAY;OACjB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,aAAc,SAAQ,WAAW;IAC5C,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAoC;IAEzD;;OAEG;IACH,MAAM,CACJ,IAAI,GAAE,wBAAwB,GAAG,IAAI,GAAG,SAAc,EACtD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,YAAY,CAAC;IAI3B;;OAEG;IACH,QAAQ,CAAC,c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AAW,wBAAwB;IACvC;;;;;;;OAOG;IACH,QAAQ,EAAE,MAAM,CAAC,QAAQ,GAAG,IAAI,CAAC;CAClC;AAID,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EACL,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;IAEF,OAAO,EACL,KAAK,IAAI,KAAK,EACd,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
|
||||
8
node_modules/openai/resources/conversations/conversations.js
generated
vendored
8
node_modules/openai/resources/conversations/conversations.js
generated
vendored
@@ -15,23 +15,23 @@ class Conversations extends resource_1.APIResource {
|
||||
/**
|
||||
* Create a conversation.
|
||||
*/
|
||||
create(body, options) {
|
||||
create(body = {}, options) {
|
||||
return this._client.post('/conversations', { body, ...options });
|
||||
}
|
||||
/**
|
||||
* Get a conversation with the given ID.
|
||||
* Get a conversation
|
||||
*/
|
||||
retrieve(conversationID, options) {
|
||||
return this._client.get((0, path_1.path) `/conversations/${conversationID}`, options);
|
||||
}
|
||||
/**
|
||||
* Update a conversation's metadata with the given ID.
|
||||
* Update a conversation
|
||||
*/
|
||||
update(conversationID, body, options) {
|
||||
return this._client.post((0, path_1.path) `/conversations/${conversationID}`, { body, ...options });
|
||||
}
|
||||
/**
|
||||
* Delete a conversation with the given ID.
|
||||
* Delete a conversation. Items in the conversation will not be deleted.
|
||||
*/
|
||||
delete(conversationID, options) {
|
||||
return this._client.delete((0, path_1.path) `/conversations/${conversationID}`, options);
|
||||
|
||||
2
node_modules/openai/resources/conversations/conversations.js.map
generated
vendored
2
node_modules/openai/resources/conversations/conversations.js.map
generated
vendored
@@ -1 +1 @@
|
||||
{"version":3,"file":"conversations.js","sourceRoot":"","sources":["../../src/resources/conversations/conversations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAElD,6DAAoC;AACpC,sCASiB;AAIjB,uDAAiD;AAEjD,MAAa,aAAc,SAAQ,sBAAW;IAA9C;;QACE,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAiC3D,CAAC;IA/BC;;OAEG;IACH,MAAM,CAAC,IAA8B,EAAE,OAAwB;QAC7D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnE,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,cAAsB,EAAE,OAAwB;QACvD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,kBAAkB,cAAc,EAAE,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,cAAsB,EACtB,IAA8B,EAC9B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,kBAAkB,cAAc,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzF,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,cAAsB,EAAE,OAAwB;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,kBAAkB,cAAc,EAAE,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;CACF;AAlCD,sCAkCC;AAsUD,aAAa,CAAC,KAAK,GAAG,aAAK,CAAC"}
|
||||
{"version":3,"file":"conversations.js","sourceRoot":"","sources":["../../src/resources/conversations/conversations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAElD,6DAAoC;AACpC,sCASiB;AAIjB,uDAAiD;AAEjD,MAAa,aAAc,SAAQ,sBAAW;IAA9C;;QACE,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAoC3D,CAAC;IAlCC;;OAEG;IACH,MAAM,CACJ,OAAoD,EAAE,EACtD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnE,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,cAAsB,EAAE,OAAwB;QACvD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,kBAAkB,cAAc,EAAE,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,cAAsB,EACtB,IAA8B,EAC9B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,kBAAkB,cAAc,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzF,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,cAAsB,EAAE,OAAwB;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,kBAAkB,cAAc,EAAE,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;CACF;AArCD,sCAqCC;AA6LD,aAAa,CAAC,KAAK,GAAG,aAAK,CAAC"}
|
||||
8
node_modules/openai/resources/conversations/conversations.mjs
generated
vendored
8
node_modules/openai/resources/conversations/conversations.mjs
generated
vendored
@@ -11,23 +11,23 @@ export class Conversations extends APIResource {
|
||||
/**
|
||||
* Create a conversation.
|
||||
*/
|
||||
create(body, options) {
|
||||
create(body = {}, options) {
|
||||
return this._client.post('/conversations', { body, ...options });
|
||||
}
|
||||
/**
|
||||
* Get a conversation with the given ID.
|
||||
* Get a conversation
|
||||
*/
|
||||
retrieve(conversationID, options) {
|
||||
return this._client.get(path `/conversations/${conversationID}`, options);
|
||||
}
|
||||
/**
|
||||
* Update a conversation's metadata with the given ID.
|
||||
* Update a conversation
|
||||
*/
|
||||
update(conversationID, body, options) {
|
||||
return this._client.post(path `/conversations/${conversationID}`, { body, ...options });
|
||||
}
|
||||
/**
|
||||
* Delete a conversation with the given ID.
|
||||
* Delete a conversation. Items in the conversation will not be deleted.
|
||||
*/
|
||||
delete(conversationID, options) {
|
||||
return this._client.delete(path `/conversations/${conversationID}`, options);
|
||||
|
||||
2
node_modules/openai/resources/conversations/conversations.mjs.map
generated
vendored
2
node_modules/openai/resources/conversations/conversations.mjs.map
generated
vendored
@@ -1 +1 @@
|
||||
{"version":3,"file":"conversations.mjs","sourceRoot":"","sources":["../../src/resources/conversations/conversations.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,KAAK,QAAQ;OACb,EAQL,KAAK,GACN;OAIM,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,aAAc,SAAQ,WAAW;IAA9C;;QACE,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAiC3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AAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnE,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,cAAsB,EAAE,OAAwB;QACvD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,kBAAkB,cAAc,EAAE,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,cAAsB,EACtB,IAA8B,EAC9B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,kBAAkB,cAAc,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzF,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,cAAsB,EAAE,OAAwB;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,kBAAkB,cAAc,EAAE,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;CACF;AA6LD,aAAa,CAAC,KAAK,GAAG,KAAK,CAAC"}
|
||||
13
node_modules/openai/resources/conversations/items.d.mts
generated
vendored
13
node_modules/openai/resources/conversations/items.d.mts
generated
vendored
@@ -28,7 +28,7 @@ export type ConversationItemsPage = ConversationCursorPage<ConversationItem>;
|
||||
* the `output` type of a
|
||||
* [Response object](https://platform.openai.com/docs/api-reference/responses/object#responses/object-output).
|
||||
*/
|
||||
export type ConversationItem = ConversationsAPI.Message | ResponsesAPI.ResponseFunctionToolCallItem | ResponsesAPI.ResponseFunctionToolCallOutputItem | ResponsesAPI.ResponseFileSearchToolCall | ResponsesAPI.ResponseFunctionWebSearch | ConversationItem.ImageGenerationCall | ResponsesAPI.ResponseComputerToolCall | ResponsesAPI.ResponseComputerToolCallOutputItem | ResponsesAPI.ResponseReasoningItem | ResponsesAPI.ResponseCodeInterpreterToolCall | ConversationItem.LocalShellCall | ConversationItem.LocalShellCallOutput | ConversationItem.McpListTools | ConversationItem.McpApprovalRequest | ConversationItem.McpApprovalResponse | ConversationItem.McpCall | ResponsesAPI.ResponseCustomToolCall | ResponsesAPI.ResponseCustomToolCallOutput;
|
||||
export type ConversationItem = ConversationsAPI.Message | ResponsesAPI.ResponseFunctionToolCallItem | ResponsesAPI.ResponseFunctionToolCallOutputItem | ResponsesAPI.ResponseFileSearchToolCall | ResponsesAPI.ResponseFunctionWebSearch | ConversationItem.ImageGenerationCall | ResponsesAPI.ResponseComputerToolCall | ResponsesAPI.ResponseComputerToolCallOutputItem | ResponsesAPI.ResponseReasoningItem | ResponsesAPI.ResponseCodeInterpreterToolCall | ConversationItem.LocalShellCall | ConversationItem.LocalShellCallOutput | ResponsesAPI.ResponseFunctionShellToolCall | ResponsesAPI.ResponseFunctionShellToolCallOutput | ResponsesAPI.ResponseApplyPatchToolCall | ResponsesAPI.ResponseApplyPatchToolCallOutput | ConversationItem.McpListTools | ConversationItem.McpApprovalRequest | ConversationItem.McpApprovalResponse | ConversationItem.McpCall | ResponsesAPI.ResponseCustomToolCall | ResponsesAPI.ResponseCustomToolCallOutput;
|
||||
export declare namespace ConversationItem {
|
||||
/**
|
||||
* An image generation request made by the model.
|
||||
@@ -252,6 +252,12 @@ export declare namespace ConversationItem {
|
||||
* The type of the item. Always `mcp_call`.
|
||||
*/
|
||||
type: 'mcp_call';
|
||||
/**
|
||||
* Unique identifier for the MCP tool call approval request. Include this value in
|
||||
* a subsequent `mcp_approval_response` input to approve or reject the
|
||||
* corresponding tool call.
|
||||
*/
|
||||
approval_request_id?: string | null;
|
||||
/**
|
||||
* The error from the tool call, if any.
|
||||
*/
|
||||
@@ -260,6 +266,11 @@ export declare namespace ConversationItem {
|
||||
* The output from the tool call.
|
||||
*/
|
||||
output?: string | null;
|
||||
/**
|
||||
* The status of the tool call. One of `in_progress`, `completed`, `incomplete`,
|
||||
* `calling`, or `failed`.
|
||||
*/
|
||||
status?: 'in_progress' | 'completed' | 'incomplete' | 'calling' | 'failed';
|
||||
}
|
||||
}
|
||||
/**
|
||||
|
||||
2
node_modules/openai/resources/conversations/items.d.mts.map
generated
vendored
2
node_modules/openai/resources/conversations/items.d.mts.map
generated
vendored
File diff suppressed because one or more lines are too long
13
node_modules/openai/resources/conversations/items.d.ts
generated
vendored
13
node_modules/openai/resources/conversations/items.d.ts
generated
vendored
@@ -28,7 +28,7 @@ export type ConversationItemsPage = ConversationCursorPage<ConversationItem>;
|
||||
* the `output` type of a
|
||||
* [Response object](https://platform.openai.com/docs/api-reference/responses/object#responses/object-output).
|
||||
*/
|
||||
export type ConversationItem = ConversationsAPI.Message | ResponsesAPI.ResponseFunctionToolCallItem | ResponsesAPI.ResponseFunctionToolCallOutputItem | ResponsesAPI.ResponseFileSearchToolCall | ResponsesAPI.ResponseFunctionWebSearch | ConversationItem.ImageGenerationCall | ResponsesAPI.ResponseComputerToolCall | ResponsesAPI.ResponseComputerToolCallOutputItem | ResponsesAPI.ResponseReasoningItem | ResponsesAPI.ResponseCodeInterpreterToolCall | ConversationItem.LocalShellCall | ConversationItem.LocalShellCallOutput | ConversationItem.McpListTools | ConversationItem.McpApprovalRequest | ConversationItem.McpApprovalResponse | ConversationItem.McpCall | ResponsesAPI.ResponseCustomToolCall | ResponsesAPI.ResponseCustomToolCallOutput;
|
||||
export type ConversationItem = ConversationsAPI.Message | ResponsesAPI.ResponseFunctionToolCallItem | ResponsesAPI.ResponseFunctionToolCallOutputItem | ResponsesAPI.ResponseFileSearchToolCall | ResponsesAPI.ResponseFunctionWebSearch | ConversationItem.ImageGenerationCall | ResponsesAPI.ResponseComputerToolCall | ResponsesAPI.ResponseComputerToolCallOutputItem | ResponsesAPI.ResponseReasoningItem | ResponsesAPI.ResponseCodeInterpreterToolCall | ConversationItem.LocalShellCall | ConversationItem.LocalShellCallOutput | ResponsesAPI.ResponseFunctionShellToolCall | ResponsesAPI.ResponseFunctionShellToolCallOutput | ResponsesAPI.ResponseApplyPatchToolCall | ResponsesAPI.ResponseApplyPatchToolCallOutput | ConversationItem.McpListTools | ConversationItem.McpApprovalRequest | ConversationItem.McpApprovalResponse | ConversationItem.McpCall | ResponsesAPI.ResponseCustomToolCall | ResponsesAPI.ResponseCustomToolCallOutput;
|
||||
export declare namespace ConversationItem {
|
||||
/**
|
||||
* An image generation request made by the model.
|
||||
@@ -252,6 +252,12 @@ export declare namespace ConversationItem {
|
||||
* The type of the item. Always `mcp_call`.
|
||||
*/
|
||||
type: 'mcp_call';
|
||||
/**
|
||||
* Unique identifier for the MCP tool call approval request. Include this value in
|
||||
* a subsequent `mcp_approval_response` input to approve or reject the
|
||||
* corresponding tool call.
|
||||
*/
|
||||
approval_request_id?: string | null;
|
||||
/**
|
||||
* The error from the tool call, if any.
|
||||
*/
|
||||
@@ -260,6 +266,11 @@ export declare namespace ConversationItem {
|
||||
* The output from the tool call.
|
||||
*/
|
||||
output?: string | null;
|
||||
/**
|
||||
* The status of the tool call. One of `in_progress`, `completed`, `incomplete`,
|
||||
* `calling`, or `failed`.
|
||||
*/
|
||||
status?: 'in_progress' | 'completed' | 'incomplete' | 'calling' | 'failed';
|
||||
}
|
||||
}
|
||||
/**
|
||||
|
||||
2
node_modules/openai/resources/conversations/items.d.ts.map
generated
vendored
2
node_modules/openai/resources/conversations/items.d.ts.map
generated
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user