/opt/canhelp/node_modules/openai/resources
NameSizeModeActions
audio/-0755rm
beta/-0755rm
chat/-0755rm
containers/-0755rm
conversations/-0755rm
evals/-0755rm
fine-tuning/-0755rm
graders/-0755rm
realtime/-0755rm
responses/-0755rm
skills/-0755rm
uploads/-0755rm
vector-stores/-0755rm
webhooks/-0755rm
audio.d.mts710644editdlrm
audio.d.mts.map1150644editdlrm
audio.d.ts690644editdlrm
audio.d.ts.map1140644editdlrm
audio.js3060644editdlrm
audio.js.map1390644editdlrm
audio.mjs1560644editdlrm
audio.mjs.map1240644editdlrm
batches.d.mts96670644editdlrm
batches.d.mts.map34990644editdlrm
batches.d.ts96600644editdlrm
batches.d.ts.map34980644editdlrm
batches.js14420644editdlrm
batches.js.map8340644editdlrm
batches.mjs12690644editdlrm
batches.mjs.map8350644editdlrm
beta.d.mts690644editdlrm
beta.d.mts.map1130644editdlrm
beta.d.ts670644editdlrm
beta.d.ts.map1120644editdlrm
beta.js3040644editdlrm
beta.js.map1370644editdlrm
beta.mjs1540644editdlrm
beta.mjs.map1220644editdlrm
chat.d.mts690644editdlrm
chat.d.mts.map1130644editdlrm
chat.d.ts670644editdlrm
chat.d.ts.map1120644editdlrm
chat.js3040644editdlrm
chat.js.map1370644editdlrm
chat.mjs1540644editdlrm
chat.mjs.map1220644editdlrm
completions.d.mts137800644editdlrm
completions.d.mts.map38290644editdlrm
completions.d.ts137730644editdlrm
completions.d.ts.map38280644editdlrm
completions.js6700644editdlrm
completions.js.map3850644editdlrm
completions.mjs5260644editdlrm
completions.mjs.map3820644editdlrm
containers.d.mts810644editdlrm
containers.d.mts.map1250644editdlrm
containers.d.ts790644editdlrm
containers.d.ts.map1240644editdlrm
containers.js3160644editdlrm
containers.js.map1490644editdlrm
containers.mjs1660644editdlrm
containers.mjs.map1340644editdlrm
conversations.d.mts870644editdlrm
conversations.d.mts.map1310644editdlrm
conversations.d.ts850644editdlrm
conversations.d.ts.map1300644editdlrm
conversations.js3220644editdlrm
conversations.js.map1550644editdlrm
conversations.mjs1720644editdlrm
conversations.mjs.map1400644editdlrm
embeddings.d.mts42480644editdlrm
embeddings.d.mts.map14440644editdlrm
embeddings.d.ts42440644editdlrm
embeddings.d.ts.map14430644editdlrm
embeddings.js26100644editdlrm
embeddings.js.map12640644editdlrm
embeddings.mjs24480644editdlrm
embeddings.mjs.map12600644editdlrm
evals.d.mts710644editdlrm
evals.d.mts.map1150644editdlrm
evals.d.ts690644editdlrm
evals.d.ts.map1140644editdlrm
evals.js3060644editdlrm
evals.js.map1390644editdlrm
evals.mjs1560644editdlrm
evals.mjs.map1240644editdlrm
files.d.mts66190644editdlrm
files.d.mts.map24350644editdlrm
files.d.ts66130644editdlrm
files.d.ts.map24340644editdlrm
files.js37700644editdlrm
files.js.map19190644editdlrm
files.mjs35770644editdlrm
files.mjs.map19340644editdlrm
fine-tuning.d.mts830644editdlrm
fine-tuning.d.mts.map1270644editdlrm
fine-tuning.d.ts810644editdlrm
fine-tuning.d.ts.map1260644editdlrm
fine-tuning.js3180644editdlrm
fine-tuning.js.map1510644editdlrm
fine-tuning.mjs1680644editdlrm
fine-tuning.mjs.map1360644editdlrm
graders.d.mts750644editdlrm
graders.d.mts.map1190644editdlrm
graders.d.ts730644editdlrm
graders.d.ts.map1180644editdlrm
graders.js3100644editdlrm
graders.js.map1430644editdlrm
graders.mjs1600644editdlrm
graders.mjs.map1280644editdlrm
images.d.mts261750644editdlrm
images.d.mts.map84160644editdlrm
images.d.ts261680644editdlrm
images.d.ts.map84150644editdlrm
images.js12800644editdlrm
images.js.map8080644editdlrm
images.mjs11390644editdlrm
images.mjs.map8040644editdlrm
index.d.mts39670644editdlrm
index.d.mts.map24540644editdlrm
index.d.ts39430644editdlrm
index.d.ts.map24530644editdlrm
index.js42100644editdlrm
index.js.map8820644editdlrm
index.mjs12070644editdlrm
index.mjs.map5570644editdlrm
models.d.mts17790644editdlrm
models.d.mts.map9950644editdlrm
models.d.ts17740644editdlrm
models.d.ts.map9940644editdlrm
models.js12800644editdlrm
models.js.map6450644editdlrm
models.mjs11040644editdlrm
models.mjs.map6450644editdlrm
moderations.d.mts103030644editdlrm
moderations.d.mts.map35270644editdlrm
moderations.d.ts102990644editdlrm
moderations.d.ts.map35260644editdlrm
moderations.js7570644editdlrm
moderations.js.map3520644editdlrm
moderations.mjs6130644editdlrm
moderations.mjs.map3510644editdlrm
realtime.d.mts770644editdlrm
realtime.d.mts.map1210644editdlrm
realtime.d.ts750644editdlrm
realtime.d.ts.map1200644editdlrm
realtime.js3120644editdlrm
realtime.js.map1450644editdlrm
realtime.mjs1620644editdlrm
realtime.mjs.map1300644editdlrm
responses.d.mts790644editdlrm
responses.d.mts.map1230644editdlrm
responses.d.ts770644editdlrm
responses.d.ts.map1220644editdlrm
responses.js3140644editdlrm
responses.js.map1470644editdlrm
responses.mjs1640644editdlrm
responses.mjs.map1320644editdlrm
shared.d.mts125110644editdlrm
shared.d.mts.map39900644editdlrm
shared.d.ts125100644editdlrm
shared.d.ts.map39890644editdlrm
shared.js1980644editdlrm
shared.js.map1260644editdlrm
shared.mjs1330644editdlrm
shared.mjs.map1260644editdlrm
skills.d.mts730644editdlrm
skills.d.mts.map1170644editdlrm
skills.d.ts710644editdlrm
skills.d.ts.map1160644editdlrm
skills.js3080644editdlrm
skills.js.map1410644editdlrm
skills.mjs1580644editdlrm
skills.mjs.map1260644editdlrm
uploads.d.mts750644editdlrm
uploads.d.mts.map1190644editdlrm
uploads.d.ts730644editdlrm
uploads.d.ts.map1180644editdlrm
uploads.js3100644editdlrm
uploads.js.map1430644editdlrm
uploads.mjs1600644editdlrm
uploads.mjs.map1280644editdlrm
vector-stores.d.mts870644editdlrm
vector-stores.d.mts.map1310644editdlrm
vector-stores.d.ts850644editdlrm
vector-stores.d.ts.map1300644editdlrm
vector-stores.js3220644editdlrm
vector-stores.js.map1550644editdlrm
vector-stores.mjs1720644editdlrm
vector-stores.mjs.map1400644editdlrm
videos.d.mts91520644editdlrm
videos.d.mts.map45430644editdlrm
videos.d.ts91460644editdlrm
videos.d.ts.map45420644editdlrm
videos.js31940644editdlrm
videos.js.map21350644editdlrm
videos.mjs29650644editdlrm
videos.mjs.map21230644editdlrm
webhooks.d.mts770644editdlrm
webhooks.d.mts.map1210644editdlrm
webhooks.d.ts750644editdlrm
webhooks.d.ts.map1200644editdlrm
webhooks.js3120644editdlrm
webhooks.js.map1450644editdlrm
webhooks.mjs1620644editdlrm
webhooks.mjs.map1300644editdlrm
Edit: /opt/canhelp/node_modules/openai/resources/shared.d.mts (12511B)
export type AllModels = (string & {}) | ChatModel | 'o1-pro' | 'o1-pro-2025-03-19' | 'o3-pro' | 'o3-pro-2025-06-10' | 'o3-deep-research' | 'o3-deep-research-2025-06-26' | 'o4-mini-deep-research' | 'o4-mini-deep-research-2025-06-26' | 'computer-use-preview' | 'computer-use-preview-2025-03-11' | 'gpt-5-codex' | 'gpt-5-pro' | 'gpt-5-pro-2025-10-06' | 'gpt-5.1-codex-max'; export type ChatModel = 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.4-mini-2026-03-17' | 'gpt-5.4-nano-2026-03-17' | 'gpt-5.3-chat-latest' | 'gpt-5.2' | 'gpt-5.2-2025-12-11' | 'gpt-5.2-chat-latest' | 'gpt-5.2-pro' | 'gpt-5.2-pro-2025-12-11' | 'gpt-5.1' | 'gpt-5.1-2025-11-13' | 'gpt-5.1-codex' | 'gpt-5.1-mini' | 'gpt-5.1-chat-latest' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5-2025-08-07' | 'gpt-5-mini-2025-08-07' | 'gpt-5-nano-2025-08-07' | 'gpt-5-chat-latest' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-4.1-2025-04-14' | 'gpt-4.1-mini-2025-04-14' | 'gpt-4.1-nano-2025-04-14' | 'o4-mini' | 'o4-mini-2025-04-16' | 'o3' | 'o3-2025-04-16' | 'o3-mini' | 'o3-mini-2025-01-31' | 'o1' | 'o1-2024-12-17' | 'o1-preview' | 'o1-preview-2024-09-12' | 'o1-mini' | 'o1-mini-2024-09-12' | 'gpt-4o' | 'gpt-4o-2024-11-20' | 'gpt-4o-2024-08-06' | 'gpt-4o-2024-05-13' | 'gpt-4o-audio-preview' | 'gpt-4o-audio-preview-2024-10-01' | 'gpt-4o-audio-preview-2024-12-17' | 'gpt-4o-audio-preview-2025-06-03' | 'gpt-4o-mini-audio-preview' | 'gpt-4o-mini-audio-preview-2024-12-17' | 'gpt-4o-search-preview' | 'gpt-4o-mini-search-preview' | 'gpt-4o-search-preview-2025-03-11' | 'gpt-4o-mini-search-preview-2025-03-11' | 'chatgpt-4o-latest' | 'codex-mini-latest' | 'gpt-4o-mini' | 'gpt-4o-mini-2024-07-18' | 'gpt-4-turbo' | 'gpt-4-turbo-2024-04-09' | 'gpt-4-0125-preview' | 'gpt-4-turbo-preview' | 'gpt-4-1106-preview' | 'gpt-4-vision-preview' | 'gpt-4' | 'gpt-4-0314' | 'gpt-4-0613' | 'gpt-4-32k' | 'gpt-4-32k-0314' | 'gpt-4-32k-0613' | 'gpt-3.5-turbo' | 'gpt-3.5-turbo-16k' | 'gpt-3.5-turbo-0301' | 'gpt-3.5-turbo-0613' | 'gpt-3.5-turbo-1106' | 'gpt-3.5-turbo-0125' | 'gpt-3.5-turbo-16k-0613'; /** * A filter used to compare a specified attribute key to a given value using a * defined comparison operation. */ export interface ComparisonFilter { /** * The key to compare against the value. */ key: string; /** * Specifies the comparison operator: `eq`, `ne`, `gt`, `gte`, `lt`, `lte`, `in`, * `nin`. * * - `eq`: equals * - `ne`: not equal * - `gt`: greater than * - `gte`: greater than or equal * - `lt`: less than * - `lte`: less than or equal * - `in`: in * - `nin`: not in */ type: 'eq' | 'ne' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'nin'; /** * The value to compare against the attribute key; supports string, number, or * boolean types. */ value: string | number | boolean | Array; } /** * Combine multiple filters using `and` or `or`. */ export interface CompoundFilter { /** * Array of filters to combine. Items can be `ComparisonFilter` or * `CompoundFilter`. */ filters: Array; /** * Type of operation: `and` or `or`. */ type: 'and' | 'or'; } /** * The input format for the custom tool. Default is unconstrained text. */ export type CustomToolInputFormat = CustomToolInputFormat.Text | CustomToolInputFormat.Grammar; export declare namespace CustomToolInputFormat { /** * Unconstrained free-form text. */ interface Text { /** * Unconstrained text format. Always `text`. */ type: 'text'; } /** * A grammar defined by the user. */ interface Grammar { /** * The grammar definition. */ definition: string; /** * The syntax of the grammar definition. One of `lark` or `regex`. */ syntax: 'lark' | 'regex'; /** * Grammar format. Always `grammar`. */ type: 'grammar'; } } export interface ErrorObject { code: string | null; message: string; param: string | null; type: string; } export interface FunctionDefinition { /** * The name of the function to be called. Must be a-z, A-Z, 0-9, or contain * underscores and dashes, with a maximum length of 64. */ name: string; /** * A description of what the function does, used by the model to choose when and * how to call the function. */ description?: string; /** * The parameters the functions accepts, described as a JSON Schema object. See the * [guide](https://platform.openai.com/docs/guides/function-calling) for examples, * and the * [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for * documentation about the format. * * Omitting `parameters` defines a function with an empty parameter list. */ parameters?: FunctionParameters; /** * Whether to enable strict schema adherence when generating the function call. If * set to true, the model will follow the exact schema defined in the `parameters` * field. Only a subset of JSON Schema is supported when `strict` is `true`. Learn * more about Structured Outputs in the * [function calling guide](https://platform.openai.com/docs/guides/function-calling). */ strict?: boolean | null; } /** * The parameters the functions accepts, described as a JSON Schema object. See the * [guide](https://platform.openai.com/docs/guides/function-calling) for examples, * and the * [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for * documentation about the format. * * Omitting `parameters` defines a function with an empty parameter list. */ export type FunctionParameters = { [key: string]: unknown; }; /** * 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. */ export type Metadata = { [key: string]: string; }; /** * **gpt-5 and o-series models only** * * Configuration options for * [reasoning models](https://platform.openai.com/docs/guides/reasoning). */ export interface Reasoning { /** * Constrains effort on reasoning for * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently * supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. * Reducing reasoning effort can result in faster responses and fewer tokens used * on reasoning in a response. * * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool * calls are supported for all reasoning values in gpt-5.1. * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not * support `none`. * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort. * - `xhigh` is supported for all models after `gpt-5.1-codex-max`. */ effort?: ReasoningEffort | null; /** * @deprecated **Deprecated:** use `summary` instead. * * A summary of the reasoning performed by the model. This can be useful for * debugging and understanding the model's reasoning process. One of `auto`, * `concise`, or `detailed`. */ generate_summary?: 'auto' | 'concise' | 'detailed' | null; /** * A summary of the reasoning performed by the model. This can be useful for * debugging and understanding the model's reasoning process. One of `auto`, * `concise`, or `detailed`. * * `concise` is supported for `computer-use-preview` models and all reasoning * models after `gpt-5`. */ summary?: 'auto' | 'concise' | 'detailed' | null; } /** * Constrains effort on reasoning for * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently * supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. * Reducing reasoning effort can result in faster responses and fewer tokens used * on reasoning in a response. * * - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported * reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool * calls are supported for all reasoning values in gpt-5.1. * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not * support `none`. * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort. * - `xhigh` is supported for all models after `gpt-5.1-codex-max`. */ export type ReasoningEffort = 'none' | 'minimal' | 'low' | 'medium' | 'high' | 'xhigh' | null; /** * JSON object response format. An older method of generating JSON responses. Using * `json_schema` is recommended for models that support it. Note that the model * will not generate JSON without a system or user message instructing it to do so. */ export interface ResponseFormatJSONObject { /** * The type of response format being defined. Always `json_object`. */ type: 'json_object'; } /** * JSON Schema response format. Used to generate structured JSON responses. Learn * more about * [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs). */ export interface ResponseFormatJSONSchema { /** * Structured Outputs configuration options, including a JSON Schema. */ json_schema: ResponseFormatJSONSchema.JSONSchema; /** * The type of response format being defined. Always `json_schema`. */ type: 'json_schema'; } export declare namespace ResponseFormatJSONSchema { /** * Structured Outputs configuration options, including a JSON Schema. */ interface JSONSchema { /** * The name of the response format. Must be a-z, A-Z, 0-9, or contain underscores * and dashes, with a maximum length of 64. */ name: string; /** * A description of what the response format is for, used by the model to determine * how to respond in the format. */ description?: string; /** * The schema for the response format, described as a JSON Schema object. Learn how * to build JSON schemas [here](https://json-schema.org/). */ schema?: { [key: string]: unknown; }; /** * Whether to enable strict schema adherence when generating the output. If set to * true, the model will always follow the exact schema defined in the `schema` * field. Only a subset of JSON Schema is supported when `strict` is `true`. To * learn more, read the * [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs). */ strict?: boolean | null; } } /** * Default response format. Used to generate text responses. */ export interface ResponseFormatText { /** * The type of response format being defined. Always `text`. */ type: 'text'; } /** * A custom grammar for the model to follow when generating text. Learn more in the * [custom grammars guide](https://platform.openai.com/docs/guides/custom-grammars). */ export interface ResponseFormatTextGrammar { /** * The custom grammar for the model to follow. */ grammar: string; /** * The type of response format being defined. Always `grammar`. */ type: 'grammar'; } /** * Configure the model to generate valid Python code. See the * [custom grammars guide](https://platform.openai.com/docs/guides/custom-grammars) * for more details. */ export interface ResponseFormatTextPython { /** * The type of response format being defined. Always `python`. */ type: 'python'; } export type ResponsesModel = (string & {}) | ChatModel | 'o1-pro' | 'o1-pro-2025-03-19' | 'o3-pro' | 'o3-pro-2025-06-10' | 'o3-deep-research' | 'o3-deep-research-2025-06-26' | 'o4-mini-deep-research' | 'o4-mini-deep-research-2025-06-26' | 'computer-use-preview' | 'computer-use-preview-2025-03-11' | 'gpt-5-codex' | 'gpt-5-pro' | 'gpt-5-pro-2025-10-06' | 'gpt-5.1-codex-max'; //# sourceMappingURL=shared.d.mts.map