tekimax-ts 0.1.0
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/.dockerignore +5 -0
- package/Dockerfile +25 -0
- package/README.md +146 -0
- package/dist/gen/index.js +378 -0
- package/dist/gen/types.js +284 -0
- package/dist/gen/zod/allowedToolChoiceSchema.js +15 -0
- package/dist/gen/zod/allowedToolsParamSchema.js +15 -0
- package/dist/gen/zod/annotationSchema.js +15 -0
- package/dist/gen/zod/assistantMessageItemParamSchema.js +21 -0
- package/dist/gen/zod/createResponseBodySchema.js +46 -0
- package/dist/gen/zod/createresponseSchema.js +16 -0
- package/dist/gen/zod/detailEnumSchema.js +9 -0
- package/dist/gen/zod/developerMessageItemParamSchema.js +18 -0
- package/dist/gen/zod/emptyModelParamSchema.js +9 -0
- package/dist/gen/zod/errorPayloadSchema.js +18 -0
- package/dist/gen/zod/errorSchema.js +15 -0
- package/dist/gen/zod/errorStreamingEventSchema.js +17 -0
- package/dist/gen/zod/functionCallItemParamSchema.js +17 -0
- package/dist/gen/zod/functionCallItemStatusSchema.js +9 -0
- package/dist/gen/zod/functionCallOutputItemParamSchema.js +31 -0
- package/dist/gen/zod/functionCallOutputSchema.js +28 -0
- package/dist/gen/zod/functionCallOutputStatusEnumSchema.js +12 -0
- package/dist/gen/zod/functionCallSchema.js +20 -0
- package/dist/gen/zod/functionCallStatusSchema.js +9 -0
- package/dist/gen/zod/functionToolChoiceSchema.js +12 -0
- package/dist/gen/zod/functionToolParamSchema.js +16 -0
- package/dist/gen/zod/functionToolSchema.js +18 -0
- package/dist/gen/zod/imageDetailSchema.js +9 -0
- package/dist/gen/zod/includeEnumSchema.js +9 -0
- package/dist/gen/zod/incompleteDetailsSchema.js +14 -0
- package/dist/gen/zod/index.js +213 -0
- package/dist/gen/zod/inputFileContentParamSchema.js +17 -0
- package/dist/gen/zod/inputFileContentSchema.js +16 -0
- package/dist/gen/zod/inputImageContentParamAutoParamSchema.js +17 -0
- package/dist/gen/zod/inputImageContentSchema.js +17 -0
- package/dist/gen/zod/inputTextContentParamSchema.js +15 -0
- package/dist/gen/zod/inputTextContentSchema.js +15 -0
- package/dist/gen/zod/inputTokensDetailsSchema.js +14 -0
- package/dist/gen/zod/inputVideoContentSchema.js +15 -0
- package/dist/gen/zod/itemFieldSchema.js +24 -0
- package/dist/gen/zod/itemParamSchema.js +24 -0
- package/dist/gen/zod/itemReferenceParamSchema.js +15 -0
- package/dist/gen/zod/jsonObjectResponseFormatSchema.js +11 -0
- package/dist/gen/zod/jsonSchemaResponseFormatParamSchema.js +15 -0
- package/dist/gen/zod/jsonSchemaResponseFormatSchema.js +15 -0
- package/dist/gen/zod/logProbSchema.js +18 -0
- package/dist/gen/zod/messageRoleSchema.js +9 -0
- package/dist/gen/zod/messageSchema.js +47 -0
- package/dist/gen/zod/messageStatusSchema.js +9 -0
- package/dist/gen/zod/metadataParamSchema.js +12 -0
- package/dist/gen/zod/outputTextContentParamSchema.js +14 -0
- package/dist/gen/zod/outputTextContentSchema.js +19 -0
- package/dist/gen/zod/outputTokensDetailsSchema.js +14 -0
- package/dist/gen/zod/reasoningBodySchema.js +58 -0
- package/dist/gen/zod/reasoningEffortEnumSchema.js +9 -0
- package/dist/gen/zod/reasoningItemParamSchema.js +16 -0
- package/dist/gen/zod/reasoningParamSchema.js +17 -0
- package/dist/gen/zod/reasoningSchema.js +17 -0
- package/dist/gen/zod/reasoningSummaryContentParamSchema.js +12 -0
- package/dist/gen/zod/reasoningSummaryEnumSchema.js +9 -0
- package/dist/gen/zod/reasoningTextContentSchema.js +15 -0
- package/dist/gen/zod/refusalContentParamSchema.js +12 -0
- package/dist/gen/zod/refusalContentSchema.js +15 -0
- package/dist/gen/zod/responseCompletedStreamingEventSchema.js +17 -0
- package/dist/gen/zod/responseContentPartAddedStreamingEventSchema.js +43 -0
- package/dist/gen/zod/responseContentPartDoneStreamingEventSchema.js +43 -0
- package/dist/gen/zod/responseCreatedStreamingEventSchema.js +17 -0
- package/dist/gen/zod/responseFailedStreamingEventSchema.js +17 -0
- package/dist/gen/zod/responseFunctionCallArgumentsDeltaStreamingEventSchema.js +19 -0
- package/dist/gen/zod/responseFunctionCallArgumentsDoneStreamingEventSchema.js +18 -0
- package/dist/gen/zod/responseInProgressStreamingEventSchema.js +17 -0
- package/dist/gen/zod/responseIncompleteStreamingEventSchema.js +17 -0
- package/dist/gen/zod/responseOutputItemAddedStreamingEventSchema.js +18 -0
- package/dist/gen/zod/responseOutputItemDoneStreamingEventSchema.js +18 -0
- package/dist/gen/zod/responseOutputTextAnnotationAddedStreamingEventSchema.js +21 -0
- package/dist/gen/zod/responseOutputTextDeltaStreamingEventSchema.js +22 -0
- package/dist/gen/zod/responseOutputTextDoneStreamingEventSchema.js +21 -0
- package/dist/gen/zod/responseQueuedStreamingEventSchema.js +17 -0
- package/dist/gen/zod/responseReasoningDeltaStreamingEventSchema.js +20 -0
- package/dist/gen/zod/responseReasoningDoneStreamingEventSchema.js +19 -0
- package/dist/gen/zod/responseReasoningSummaryDeltaStreamingEventSchema.js +20 -0
- package/dist/gen/zod/responseReasoningSummaryDoneStreamingEventSchema.js +19 -0
- package/dist/gen/zod/responseReasoningSummaryPartAddedStreamingEventSchema.js +43 -0
- package/dist/gen/zod/responseReasoningSummaryPartDoneStreamingEventSchema.js +43 -0
- package/dist/gen/zod/responseRefusalDeltaStreamingEventSchema.js +19 -0
- package/dist/gen/zod/responseRefusalDoneStreamingEventSchema.js +19 -0
- package/dist/gen/zod/responseResourceSchema.js +55 -0
- package/dist/gen/zod/responsesToolParamSchema.js +12 -0
- package/dist/gen/zod/serviceTierEnumSchema.js +9 -0
- package/dist/gen/zod/specificFunctionParamSchema.js +12 -0
- package/dist/gen/zod/specificToolChoiceParamSchema.js +10 -0
- package/dist/gen/zod/streamOptionsParamSchema.js +14 -0
- package/dist/gen/zod/summaryTextContentSchema.js +15 -0
- package/dist/gen/zod/systemMessageItemParamSchema.js +18 -0
- package/dist/gen/zod/textContentSchema.js +15 -0
- package/dist/gen/zod/textFieldSchema.js +16 -0
- package/dist/gen/zod/textFormatParamSchema.js +11 -0
- package/dist/gen/zod/textParamSchema.js +14 -0
- package/dist/gen/zod/textResponseFormatSchema.js +11 -0
- package/dist/gen/zod/toolChoiceParamSchema.js +15 -0
- package/dist/gen/zod/toolChoiceValueEnumSchema.js +9 -0
- package/dist/gen/zod/toolSchema.js +15 -0
- package/dist/gen/zod/topLogProbSchema.js +16 -0
- package/dist/gen/zod/truncationEnumSchema.js +9 -0
- package/dist/gen/zod/urlCitationBodySchema.js +18 -0
- package/dist/gen/zod/urlCitationParamSchema.js +15 -0
- package/dist/gen/zod/usageSchema.js +20 -0
- package/dist/gen/zod/userMessageItemParamSchema.js +24 -0
- package/dist/gen/zod/verbosityEnumSchema.js +9 -0
- package/dist/index.d.mts +31636 -0
- package/dist/index.d.ts +31636 -0
- package/dist/index.js +1688 -0
- package/dist/index.mjs +1475 -0
- package/kubb.config.js +30 -0
- package/kubb.config.ts +29 -0
- package/package.json +48 -0
- package/public/logos/tekimax-logo-ScreenRGB-2.png +0 -0
- package/spec/openapi.json +3876 -0
- package/src/gen/index.ts +186 -0
- package/src/gen/schemas/allowedToolChoice.json +1 -0
- package/src/gen/schemas/allowedToolsParam.json +1 -0
- package/src/gen/schemas/annotation.json +1 -0
- package/src/gen/schemas/assistantMessageItemParam.json +1 -0
- package/src/gen/schemas/createResponseBody.json +1 -0
- package/src/gen/schemas/detailEnum.json +1 -0
- package/src/gen/schemas/developerMessageItemParam.json +1 -0
- package/src/gen/schemas/emptyModelParam.json +1 -0
- package/src/gen/schemas/error.json +1 -0
- package/src/gen/schemas/errorPayload.json +1 -0
- package/src/gen/schemas/errorStreamingEvent.json +1 -0
- package/src/gen/schemas/functionCall.json +1 -0
- package/src/gen/schemas/functionCallItemParam.json +1 -0
- package/src/gen/schemas/functionCallItemStatus.json +1 -0
- package/src/gen/schemas/functionCallOutput.json +1 -0
- package/src/gen/schemas/functionCallOutputItemParam.json +1 -0
- package/src/gen/schemas/functionCallOutputStatusEnum.json +1 -0
- package/src/gen/schemas/functionCallStatus.json +1 -0
- package/src/gen/schemas/functionTool.json +1 -0
- package/src/gen/schemas/functionToolChoice.json +1 -0
- package/src/gen/schemas/functionToolParam.json +1 -0
- package/src/gen/schemas/imageDetail.json +1 -0
- package/src/gen/schemas/includeEnum.json +1 -0
- package/src/gen/schemas/incompleteDetails.json +1 -0
- package/src/gen/schemas/inputFileContent.json +1 -0
- package/src/gen/schemas/inputFileContentParam.json +1 -0
- package/src/gen/schemas/inputImageContent.json +1 -0
- package/src/gen/schemas/inputImageContentParamAutoParam.json +1 -0
- package/src/gen/schemas/inputTextContent.json +1 -0
- package/src/gen/schemas/inputTextContentParam.json +1 -0
- package/src/gen/schemas/inputTokensDetails.json +1 -0
- package/src/gen/schemas/inputVideoContent.json +1 -0
- package/src/gen/schemas/itemField.json +1 -0
- package/src/gen/schemas/itemParam.json +1 -0
- package/src/gen/schemas/itemReferenceParam.json +1 -0
- package/src/gen/schemas/jsonObjectResponseFormat.json +1 -0
- package/src/gen/schemas/jsonSchemaResponseFormat.json +1 -0
- package/src/gen/schemas/jsonSchemaResponseFormatParam.json +1 -0
- package/src/gen/schemas/logProb.json +1 -0
- package/src/gen/schemas/message.json +1 -0
- package/src/gen/schemas/messageRole.json +1 -0
- package/src/gen/schemas/messageStatus.json +1 -0
- package/src/gen/schemas/metadataParam.json +1 -0
- package/src/gen/schemas/outputTextContent.json +1 -0
- package/src/gen/schemas/outputTextContentParam.json +1 -0
- package/src/gen/schemas/outputTokensDetails.json +1 -0
- package/src/gen/schemas/reasoning.json +1 -0
- package/src/gen/schemas/reasoningBody.json +1 -0
- package/src/gen/schemas/reasoningEffortEnum.json +1 -0
- package/src/gen/schemas/reasoningItemParam.json +1 -0
- package/src/gen/schemas/reasoningParam.json +1 -0
- package/src/gen/schemas/reasoningSummaryContentParam.json +1 -0
- package/src/gen/schemas/reasoningSummaryEnum.json +1 -0
- package/src/gen/schemas/reasoningTextContent.json +1 -0
- package/src/gen/schemas/refusalContent.json +1 -0
- package/src/gen/schemas/refusalContentParam.json +1 -0
- package/src/gen/schemas/responseCompletedStreamingEvent.json +1 -0
- package/src/gen/schemas/responseContentPartAddedStreamingEvent.json +1 -0
- package/src/gen/schemas/responseContentPartDoneStreamingEvent.json +1 -0
- package/src/gen/schemas/responseCreatedStreamingEvent.json +1 -0
- package/src/gen/schemas/responseFailedStreamingEvent.json +1 -0
- package/src/gen/schemas/responseFunctionCallArgumentsDeltaStreamingEvent.json +1 -0
- package/src/gen/schemas/responseFunctionCallArgumentsDoneStreamingEvent.json +1 -0
- package/src/gen/schemas/responseInProgressStreamingEvent.json +1 -0
- package/src/gen/schemas/responseIncompleteStreamingEvent.json +1 -0
- package/src/gen/schemas/responseOutputItemAddedStreamingEvent.json +1 -0
- package/src/gen/schemas/responseOutputItemDoneStreamingEvent.json +1 -0
- package/src/gen/schemas/responseOutputTextAnnotationAddedStreamingEvent.json +1 -0
- package/src/gen/schemas/responseOutputTextDeltaStreamingEvent.json +1 -0
- package/src/gen/schemas/responseOutputTextDoneStreamingEvent.json +1 -0
- package/src/gen/schemas/responseQueuedStreamingEvent.json +1 -0
- package/src/gen/schemas/responseReasoningDeltaStreamingEvent.json +1 -0
- package/src/gen/schemas/responseReasoningDoneStreamingEvent.json +1 -0
- package/src/gen/schemas/responseReasoningSummaryDeltaStreamingEvent.json +1 -0
- package/src/gen/schemas/responseReasoningSummaryDoneStreamingEvent.json +1 -0
- package/src/gen/schemas/responseReasoningSummaryPartAddedStreamingEvent.json +1 -0
- package/src/gen/schemas/responseReasoningSummaryPartDoneStreamingEvent.json +1 -0
- package/src/gen/schemas/responseRefusalDeltaStreamingEvent.json +1 -0
- package/src/gen/schemas/responseRefusalDoneStreamingEvent.json +1 -0
- package/src/gen/schemas/responseResource.json +1 -0
- package/src/gen/schemas/responsesToolParam.json +1 -0
- package/src/gen/schemas/serviceTierEnum.json +1 -0
- package/src/gen/schemas/specificFunctionParam.json +1 -0
- package/src/gen/schemas/specificToolChoiceParam.json +1 -0
- package/src/gen/schemas/streamOptionsParam.json +1 -0
- package/src/gen/schemas/summaryTextContent.json +1 -0
- package/src/gen/schemas/systemMessageItemParam.json +1 -0
- package/src/gen/schemas/textContent.json +1 -0
- package/src/gen/schemas/textField.json +1 -0
- package/src/gen/schemas/textFormatParam.json +1 -0
- package/src/gen/schemas/textParam.json +1 -0
- package/src/gen/schemas/textResponseFormat.json +1 -0
- package/src/gen/schemas/tool.json +1 -0
- package/src/gen/schemas/toolChoiceParam.json +1 -0
- package/src/gen/schemas/toolChoiceValueEnum.json +1 -0
- package/src/gen/schemas/topLogProb.json +1 -0
- package/src/gen/schemas/truncationEnum.json +1 -0
- package/src/gen/schemas/urlCitationBody.json +1 -0
- package/src/gen/schemas/urlCitationParam.json +1 -0
- package/src/gen/schemas/usage.json +1 -0
- package/src/gen/schemas/userMessageItemParam.json +1 -0
- package/src/gen/schemas/verbosityEnum.json +1 -0
- package/src/gen/types.ts +2613 -0
- package/src/gen/zod/allowedToolChoiceSchema.ts +14 -0
- package/src/gen/zod/allowedToolsParamSchema.ts +14 -0
- package/src/gen/zod/annotationSchema.ts +14 -0
- package/src/gen/zod/assistantMessageItemParamSchema.ts +20 -0
- package/src/gen/zod/createResponseBodySchema.ts +45 -0
- package/src/gen/zod/createresponseSchema.ts +17 -0
- package/src/gen/zod/detailEnumSchema.ts +8 -0
- package/src/gen/zod/developerMessageItemParamSchema.ts +17 -0
- package/src/gen/zod/emptyModelParamSchema.ts +10 -0
- package/src/gen/zod/errorPayloadSchema.ts +19 -0
- package/src/gen/zod/errorSchema.ts +14 -0
- package/src/gen/zod/errorStreamingEventSchema.ts +16 -0
- package/src/gen/zod/functionCallItemParamSchema.ts +16 -0
- package/src/gen/zod/functionCallItemStatusSchema.ts +8 -0
- package/src/gen/zod/functionCallOutputItemParamSchema.ts +30 -0
- package/src/gen/zod/functionCallOutputSchema.ts +27 -0
- package/src/gen/zod/functionCallOutputStatusEnumSchema.ts +11 -0
- package/src/gen/zod/functionCallSchema.ts +19 -0
- package/src/gen/zod/functionCallStatusSchema.ts +8 -0
- package/src/gen/zod/functionToolChoiceSchema.ts +11 -0
- package/src/gen/zod/functionToolParamSchema.ts +15 -0
- package/src/gen/zod/functionToolSchema.ts +19 -0
- package/src/gen/zod/imageDetailSchema.ts +8 -0
- package/src/gen/zod/includeEnumSchema.ts +8 -0
- package/src/gen/zod/incompleteDetailsSchema.ts +13 -0
- package/src/gen/zod/index.ts +103 -0
- package/src/gen/zod/inputFileContentParamSchema.ts +16 -0
- package/src/gen/zod/inputFileContentSchema.ts +15 -0
- package/src/gen/zod/inputImageContentParamAutoParamSchema.ts +16 -0
- package/src/gen/zod/inputImageContentSchema.ts +16 -0
- package/src/gen/zod/inputTextContentParamSchema.ts +14 -0
- package/src/gen/zod/inputTextContentSchema.ts +14 -0
- package/src/gen/zod/inputTokensDetailsSchema.ts +13 -0
- package/src/gen/zod/inputVideoContentSchema.ts +14 -0
- package/src/gen/zod/itemFieldSchema.ts +23 -0
- package/src/gen/zod/itemParamSchema.ts +23 -0
- package/src/gen/zod/itemReferenceParamSchema.ts +14 -0
- package/src/gen/zod/jsonObjectResponseFormatSchema.ts +10 -0
- package/src/gen/zod/jsonSchemaResponseFormatParamSchema.ts +16 -0
- package/src/gen/zod/jsonSchemaResponseFormatSchema.ts +14 -0
- package/src/gen/zod/logProbSchema.ts +17 -0
- package/src/gen/zod/messageRoleSchema.ts +8 -0
- package/src/gen/zod/messageSchema.ts +46 -0
- package/src/gen/zod/messageStatusSchema.ts +8 -0
- package/src/gen/zod/metadataParamSchema.ts +13 -0
- package/src/gen/zod/outputTextContentParamSchema.ts +13 -0
- package/src/gen/zod/outputTextContentSchema.ts +18 -0
- package/src/gen/zod/outputTokensDetailsSchema.ts +13 -0
- package/src/gen/zod/reasoningBodySchema.ts +57 -0
- package/src/gen/zod/reasoningEffortEnumSchema.ts +8 -0
- package/src/gen/zod/reasoningItemParamSchema.ts +15 -0
- package/src/gen/zod/reasoningParamSchema.ts +16 -0
- package/src/gen/zod/reasoningSchema.ts +16 -0
- package/src/gen/zod/reasoningSummaryContentParamSchema.ts +11 -0
- package/src/gen/zod/reasoningSummaryEnumSchema.ts +8 -0
- package/src/gen/zod/reasoningTextContentSchema.ts +14 -0
- package/src/gen/zod/refusalContentParamSchema.ts +11 -0
- package/src/gen/zod/refusalContentSchema.ts +14 -0
- package/src/gen/zod/responseCompletedStreamingEventSchema.ts +16 -0
- package/src/gen/zod/responseContentPartAddedStreamingEventSchema.ts +42 -0
- package/src/gen/zod/responseContentPartDoneStreamingEventSchema.ts +42 -0
- package/src/gen/zod/responseCreatedStreamingEventSchema.ts +16 -0
- package/src/gen/zod/responseFailedStreamingEventSchema.ts +16 -0
- package/src/gen/zod/responseFunctionCallArgumentsDeltaStreamingEventSchema.ts +18 -0
- package/src/gen/zod/responseFunctionCallArgumentsDoneStreamingEventSchema.ts +17 -0
- package/src/gen/zod/responseInProgressStreamingEventSchema.ts +16 -0
- package/src/gen/zod/responseIncompleteStreamingEventSchema.ts +16 -0
- package/src/gen/zod/responseOutputItemAddedStreamingEventSchema.ts +17 -0
- package/src/gen/zod/responseOutputItemDoneStreamingEventSchema.ts +17 -0
- package/src/gen/zod/responseOutputTextAnnotationAddedStreamingEventSchema.ts +20 -0
- package/src/gen/zod/responseOutputTextDeltaStreamingEventSchema.ts +21 -0
- package/src/gen/zod/responseOutputTextDoneStreamingEventSchema.ts +20 -0
- package/src/gen/zod/responseQueuedStreamingEventSchema.ts +16 -0
- package/src/gen/zod/responseReasoningDeltaStreamingEventSchema.ts +19 -0
- package/src/gen/zod/responseReasoningDoneStreamingEventSchema.ts +18 -0
- package/src/gen/zod/responseReasoningSummaryDeltaStreamingEventSchema.ts +19 -0
- package/src/gen/zod/responseReasoningSummaryDoneStreamingEventSchema.ts +18 -0
- package/src/gen/zod/responseReasoningSummaryPartAddedStreamingEventSchema.ts +42 -0
- package/src/gen/zod/responseReasoningSummaryPartDoneStreamingEventSchema.ts +42 -0
- package/src/gen/zod/responseRefusalDeltaStreamingEventSchema.ts +18 -0
- package/src/gen/zod/responseRefusalDoneStreamingEventSchema.ts +18 -0
- package/src/gen/zod/responseResourceSchema.ts +54 -0
- package/src/gen/zod/responsesToolParamSchema.ts +11 -0
- package/src/gen/zod/serviceTierEnumSchema.ts +8 -0
- package/src/gen/zod/specificFunctionParamSchema.ts +11 -0
- package/src/gen/zod/specificToolChoiceParamSchema.ts +9 -0
- package/src/gen/zod/streamOptionsParamSchema.ts +13 -0
- package/src/gen/zod/summaryTextContentSchema.ts +14 -0
- package/src/gen/zod/systemMessageItemParamSchema.ts +17 -0
- package/src/gen/zod/textContentSchema.ts +14 -0
- package/src/gen/zod/textFieldSchema.ts +15 -0
- package/src/gen/zod/textFormatParamSchema.ts +10 -0
- package/src/gen/zod/textParamSchema.ts +13 -0
- package/src/gen/zod/textResponseFormatSchema.ts +10 -0
- package/src/gen/zod/toolChoiceParamSchema.ts +14 -0
- package/src/gen/zod/toolChoiceValueEnumSchema.ts +8 -0
- package/src/gen/zod/toolSchema.ts +14 -0
- package/src/gen/zod/topLogProbSchema.ts +15 -0
- package/src/gen/zod/truncationEnumSchema.ts +8 -0
- package/src/gen/zod/urlCitationBodySchema.ts +17 -0
- package/src/gen/zod/urlCitationParamSchema.ts +14 -0
- package/src/gen/zod/usageSchema.ts +19 -0
- package/src/gen/zod/userMessageItemParamSchema.ts +23 -0
- package/src/gen/zod/verbosityEnumSchema.ts +8 -0
- package/tsconfig.json +21 -0
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,1475 @@
|
|
|
1
|
+
// src/gen/types.ts
|
|
2
|
+
var itemReferenceParamTypeEnum = {
|
|
3
|
+
item_reference: "item_reference"
|
|
4
|
+
};
|
|
5
|
+
var reasoningSummaryContentParamTypeEnum = {
|
|
6
|
+
summary_text: "summary_text"
|
|
7
|
+
};
|
|
8
|
+
var reasoningItemParamTypeEnum = {
|
|
9
|
+
reasoning: "reasoning"
|
|
10
|
+
};
|
|
11
|
+
var inputTextContentParamTypeEnum = {
|
|
12
|
+
input_text: "input_text"
|
|
13
|
+
};
|
|
14
|
+
var detailEnumEnum = {
|
|
15
|
+
low: "low",
|
|
16
|
+
high: "high",
|
|
17
|
+
auto: "auto"
|
|
18
|
+
};
|
|
19
|
+
var imageDetailEnum = {
|
|
20
|
+
low: "low",
|
|
21
|
+
high: "high",
|
|
22
|
+
auto: "auto"
|
|
23
|
+
};
|
|
24
|
+
var inputImageContentParamAutoParamTypeEnum = {
|
|
25
|
+
input_image: "input_image"
|
|
26
|
+
};
|
|
27
|
+
var inputFileContentParamTypeEnum = {
|
|
28
|
+
input_file: "input_file"
|
|
29
|
+
};
|
|
30
|
+
var userMessageItemParamTypeEnum = {
|
|
31
|
+
message: "message"
|
|
32
|
+
};
|
|
33
|
+
var userMessageItemParamRoleEnum = {
|
|
34
|
+
user: "user"
|
|
35
|
+
};
|
|
36
|
+
var systemMessageItemParamTypeEnum = {
|
|
37
|
+
message: "message"
|
|
38
|
+
};
|
|
39
|
+
var systemMessageItemParamRoleEnum = {
|
|
40
|
+
system: "system"
|
|
41
|
+
};
|
|
42
|
+
var developerMessageItemParamTypeEnum = {
|
|
43
|
+
message: "message"
|
|
44
|
+
};
|
|
45
|
+
var developerMessageItemParamRoleEnum = {
|
|
46
|
+
developer: "developer"
|
|
47
|
+
};
|
|
48
|
+
var urlCitationParamTypeEnum = {
|
|
49
|
+
url_citation: "url_citation"
|
|
50
|
+
};
|
|
51
|
+
var outputTextContentParamTypeEnum = {
|
|
52
|
+
output_text: "output_text"
|
|
53
|
+
};
|
|
54
|
+
var refusalContentParamTypeEnum = {
|
|
55
|
+
refusal: "refusal"
|
|
56
|
+
};
|
|
57
|
+
var assistantMessageItemParamTypeEnum = {
|
|
58
|
+
message: "message"
|
|
59
|
+
};
|
|
60
|
+
var assistantMessageItemParamRoleEnum = {
|
|
61
|
+
assistant: "assistant"
|
|
62
|
+
};
|
|
63
|
+
var functionCallItemStatusEnum = {
|
|
64
|
+
in_progress: "in_progress",
|
|
65
|
+
completed: "completed",
|
|
66
|
+
incomplete: "incomplete"
|
|
67
|
+
};
|
|
68
|
+
var functionCallStatusEnum = {
|
|
69
|
+
in_progress: "in_progress",
|
|
70
|
+
completed: "completed",
|
|
71
|
+
incomplete: "incomplete"
|
|
72
|
+
};
|
|
73
|
+
var functionCallItemParamTypeEnum = {
|
|
74
|
+
function_call: "function_call"
|
|
75
|
+
};
|
|
76
|
+
var inputVideoContentTypeEnum = {
|
|
77
|
+
input_video: "input_video"
|
|
78
|
+
};
|
|
79
|
+
var functionCallOutputItemParamTypeEnum = {
|
|
80
|
+
function_call_output: "function_call_output"
|
|
81
|
+
};
|
|
82
|
+
var includeEnumEnum = {
|
|
83
|
+
"reasoning.encrypted_content": "reasoning.encrypted_content",
|
|
84
|
+
"message.output_text.logprobs": "message.output_text.logprobs"
|
|
85
|
+
};
|
|
86
|
+
var functionToolParamTypeEnum = {
|
|
87
|
+
function: "function"
|
|
88
|
+
};
|
|
89
|
+
var specificFunctionParamTypeEnum = {
|
|
90
|
+
function: "function"
|
|
91
|
+
};
|
|
92
|
+
var toolChoiceValueEnumEnum = {
|
|
93
|
+
none: "none",
|
|
94
|
+
auto: "auto",
|
|
95
|
+
required: "required"
|
|
96
|
+
};
|
|
97
|
+
var allowedToolsParamTypeEnum = {
|
|
98
|
+
allowed_tools: "allowed_tools"
|
|
99
|
+
};
|
|
100
|
+
var verbosityEnumEnum = {
|
|
101
|
+
low: "low",
|
|
102
|
+
medium: "medium",
|
|
103
|
+
high: "high"
|
|
104
|
+
};
|
|
105
|
+
var textResponseFormatTypeEnum = {
|
|
106
|
+
text: "text"
|
|
107
|
+
};
|
|
108
|
+
var jsonSchemaResponseFormatParamTypeEnum = {
|
|
109
|
+
json_schema: "json_schema"
|
|
110
|
+
};
|
|
111
|
+
var reasoningEffortEnumEnum = {
|
|
112
|
+
none: "none",
|
|
113
|
+
low: "low",
|
|
114
|
+
medium: "medium",
|
|
115
|
+
high: "high",
|
|
116
|
+
xhigh: "xhigh"
|
|
117
|
+
};
|
|
118
|
+
var reasoningSummaryEnumEnum = {
|
|
119
|
+
concise: "concise",
|
|
120
|
+
detailed: "detailed",
|
|
121
|
+
auto: "auto"
|
|
122
|
+
};
|
|
123
|
+
var truncationEnumEnum = {
|
|
124
|
+
auto: "auto",
|
|
125
|
+
disabled: "disabled"
|
|
126
|
+
};
|
|
127
|
+
var serviceTierEnumEnum = {
|
|
128
|
+
auto: "auto",
|
|
129
|
+
default: "default",
|
|
130
|
+
flex: "flex",
|
|
131
|
+
priority: "priority"
|
|
132
|
+
};
|
|
133
|
+
var messageRoleEnum = {
|
|
134
|
+
user: "user",
|
|
135
|
+
assistant: "assistant",
|
|
136
|
+
system: "system",
|
|
137
|
+
developer: "developer"
|
|
138
|
+
};
|
|
139
|
+
var inputTextContentTypeEnum = {
|
|
140
|
+
input_text: "input_text"
|
|
141
|
+
};
|
|
142
|
+
var urlCitationBodyTypeEnum = {
|
|
143
|
+
url_citation: "url_citation"
|
|
144
|
+
};
|
|
145
|
+
var outputTextContentTypeEnum = {
|
|
146
|
+
output_text: "output_text"
|
|
147
|
+
};
|
|
148
|
+
var textContentTypeEnum = {
|
|
149
|
+
text: "text"
|
|
150
|
+
};
|
|
151
|
+
var summaryTextContentTypeEnum = {
|
|
152
|
+
summary_text: "summary_text"
|
|
153
|
+
};
|
|
154
|
+
var reasoningTextContentTypeEnum = {
|
|
155
|
+
reasoning_text: "reasoning_text"
|
|
156
|
+
};
|
|
157
|
+
var refusalContentTypeEnum = {
|
|
158
|
+
refusal: "refusal"
|
|
159
|
+
};
|
|
160
|
+
var inputImageContentTypeEnum = {
|
|
161
|
+
input_image: "input_image"
|
|
162
|
+
};
|
|
163
|
+
var inputFileContentTypeEnum = {
|
|
164
|
+
input_file: "input_file"
|
|
165
|
+
};
|
|
166
|
+
var messageStatusEnum = {
|
|
167
|
+
in_progress: "in_progress",
|
|
168
|
+
completed: "completed",
|
|
169
|
+
incomplete: "incomplete"
|
|
170
|
+
};
|
|
171
|
+
var messageTypeEnum = {
|
|
172
|
+
message: "message"
|
|
173
|
+
};
|
|
174
|
+
var functionCallTypeEnum = {
|
|
175
|
+
function_call: "function_call"
|
|
176
|
+
};
|
|
177
|
+
var functionCallOutputStatusEnumEnum = {
|
|
178
|
+
in_progress: "in_progress",
|
|
179
|
+
completed: "completed",
|
|
180
|
+
incomplete: "incomplete"
|
|
181
|
+
};
|
|
182
|
+
var functionCallOutputTypeEnum = {
|
|
183
|
+
function_call_output: "function_call_output"
|
|
184
|
+
};
|
|
185
|
+
var reasoningBodyTypeEnum = {
|
|
186
|
+
reasoning: "reasoning"
|
|
187
|
+
};
|
|
188
|
+
var functionToolTypeEnum = {
|
|
189
|
+
function: "function"
|
|
190
|
+
};
|
|
191
|
+
var functionToolChoiceTypeEnum = {
|
|
192
|
+
function: "function"
|
|
193
|
+
};
|
|
194
|
+
var allowedToolChoiceTypeEnum = {
|
|
195
|
+
allowed_tools: "allowed_tools"
|
|
196
|
+
};
|
|
197
|
+
var jsonObjectResponseFormatTypeEnum = {
|
|
198
|
+
json_object: "json_object"
|
|
199
|
+
};
|
|
200
|
+
var jsonSchemaResponseFormatTypeEnum = {
|
|
201
|
+
json_schema: "json_schema"
|
|
202
|
+
};
|
|
203
|
+
var responseResourceObjectEnum = {
|
|
204
|
+
response: "response"
|
|
205
|
+
};
|
|
206
|
+
var responseCreatedStreamingEventTypeEnum = {
|
|
207
|
+
"response.created": "response.created"
|
|
208
|
+
};
|
|
209
|
+
var responseQueuedStreamingEventTypeEnum = {
|
|
210
|
+
"response.queued": "response.queued"
|
|
211
|
+
};
|
|
212
|
+
var responseInProgressStreamingEventTypeEnum = {
|
|
213
|
+
"response.in_progress": "response.in_progress"
|
|
214
|
+
};
|
|
215
|
+
var responseCompletedStreamingEventTypeEnum = {
|
|
216
|
+
"response.completed": "response.completed"
|
|
217
|
+
};
|
|
218
|
+
var responseFailedStreamingEventTypeEnum = {
|
|
219
|
+
"response.failed": "response.failed"
|
|
220
|
+
};
|
|
221
|
+
var responseIncompleteStreamingEventTypeEnum = {
|
|
222
|
+
"response.incomplete": "response.incomplete"
|
|
223
|
+
};
|
|
224
|
+
var responseOutputItemAddedStreamingEventTypeEnum = {
|
|
225
|
+
"response.output_item.added": "response.output_item.added"
|
|
226
|
+
};
|
|
227
|
+
var responseOutputItemDoneStreamingEventTypeEnum = {
|
|
228
|
+
"response.output_item.done": "response.output_item.done"
|
|
229
|
+
};
|
|
230
|
+
var responseReasoningSummaryPartAddedStreamingEventTypeEnum = {
|
|
231
|
+
"response.reasoning_summary_part.added": "response.reasoning_summary_part.added"
|
|
232
|
+
};
|
|
233
|
+
var responseReasoningSummaryPartDoneStreamingEventTypeEnum = {
|
|
234
|
+
"response.reasoning_summary_part.done": "response.reasoning_summary_part.done"
|
|
235
|
+
};
|
|
236
|
+
var responseContentPartAddedStreamingEventTypeEnum = {
|
|
237
|
+
"response.content_part.added": "response.content_part.added"
|
|
238
|
+
};
|
|
239
|
+
var responseContentPartDoneStreamingEventTypeEnum = {
|
|
240
|
+
"response.content_part.done": "response.content_part.done"
|
|
241
|
+
};
|
|
242
|
+
var responseOutputTextDeltaStreamingEventTypeEnum = {
|
|
243
|
+
"response.output_text.delta": "response.output_text.delta"
|
|
244
|
+
};
|
|
245
|
+
var responseOutputTextDoneStreamingEventTypeEnum = {
|
|
246
|
+
"response.output_text.done": "response.output_text.done"
|
|
247
|
+
};
|
|
248
|
+
var responseRefusalDeltaStreamingEventTypeEnum = {
|
|
249
|
+
"response.refusal.delta": "response.refusal.delta"
|
|
250
|
+
};
|
|
251
|
+
var responseRefusalDoneStreamingEventTypeEnum = {
|
|
252
|
+
"response.refusal.done": "response.refusal.done"
|
|
253
|
+
};
|
|
254
|
+
var responseReasoningDeltaStreamingEventTypeEnum = {
|
|
255
|
+
"response.reasoning.delta": "response.reasoning.delta"
|
|
256
|
+
};
|
|
257
|
+
var responseReasoningDoneStreamingEventTypeEnum = {
|
|
258
|
+
"response.reasoning.done": "response.reasoning.done"
|
|
259
|
+
};
|
|
260
|
+
var responseReasoningSummaryDeltaStreamingEventTypeEnum = {
|
|
261
|
+
"response.reasoning_summary_text.delta": "response.reasoning_summary_text.delta"
|
|
262
|
+
};
|
|
263
|
+
var responseReasoningSummaryDoneStreamingEventTypeEnum = {
|
|
264
|
+
"response.reasoning_summary_text.done": "response.reasoning_summary_text.done"
|
|
265
|
+
};
|
|
266
|
+
var responseOutputTextAnnotationAddedStreamingEventTypeEnum = {
|
|
267
|
+
"response.output_text.annotation.added": "response.output_text.annotation.added"
|
|
268
|
+
};
|
|
269
|
+
var responseFunctionCallArgumentsDeltaStreamingEventTypeEnum = {
|
|
270
|
+
"response.function_call_arguments.delta": "response.function_call_arguments.delta"
|
|
271
|
+
};
|
|
272
|
+
var responseFunctionCallArgumentsDoneStreamingEventTypeEnum = {
|
|
273
|
+
"response.function_call_arguments.done": "response.function_call_arguments.done"
|
|
274
|
+
};
|
|
275
|
+
var errorStreamingEventTypeEnum = {
|
|
276
|
+
error: "error"
|
|
277
|
+
};
|
|
278
|
+
|
|
279
|
+
// src/gen/zod/functionToolChoiceSchema.ts
|
|
280
|
+
import { z } from "zod";
|
|
281
|
+
var functionToolChoiceSchema = z.object({
|
|
282
|
+
"type": z.enum(["function"]).default("function"),
|
|
283
|
+
"name": z.optional(z.string())
|
|
284
|
+
});
|
|
285
|
+
|
|
286
|
+
// src/gen/zod/toolChoiceValueEnumSchema.ts
|
|
287
|
+
import { z as z2 } from "zod";
|
|
288
|
+
var toolChoiceValueEnumSchema = z2.enum(["none", "auto", "required"]);
|
|
289
|
+
|
|
290
|
+
// src/gen/zod/allowedToolChoiceSchema.ts
|
|
291
|
+
import { z as z3 } from "zod";
|
|
292
|
+
var allowedToolChoiceSchema = z3.object({
|
|
293
|
+
"type": z3.enum(["allowed_tools"]).default("allowed_tools"),
|
|
294
|
+
"tools": z3.array(z3.lazy(() => functionToolChoiceSchema)),
|
|
295
|
+
"mode": z3.lazy(() => toolChoiceValueEnumSchema)
|
|
296
|
+
});
|
|
297
|
+
|
|
298
|
+
// src/gen/zod/specificFunctionParamSchema.ts
|
|
299
|
+
import { z as z4 } from "zod";
|
|
300
|
+
var specificFunctionParamSchema = z4.object({
|
|
301
|
+
"type": z4.enum(["function"]).default("function").describe("The tool to call. Always `function`."),
|
|
302
|
+
"name": z4.string().describe("The name of the function tool to call.")
|
|
303
|
+
});
|
|
304
|
+
|
|
305
|
+
// src/gen/zod/specificToolChoiceParamSchema.ts
|
|
306
|
+
import { z as z5 } from "zod";
|
|
307
|
+
var specificToolChoiceParamSchema = z5.lazy(() => specificFunctionParamSchema);
|
|
308
|
+
|
|
309
|
+
// src/gen/zod/allowedToolsParamSchema.ts
|
|
310
|
+
import { z as z6 } from "zod";
|
|
311
|
+
var allowedToolsParamSchema = z6.object({
|
|
312
|
+
"type": z6.enum(["allowed_tools"]).default("allowed_tools").describe("The tool choice type. Always `allowed_tools`."),
|
|
313
|
+
"tools": z6.array(z6.lazy(() => specificToolChoiceParamSchema)).min(1).max(128).describe("The list of tools that are permitted for this request."),
|
|
314
|
+
"mode": z6.optional(z6.lazy(() => toolChoiceValueEnumSchema).and(z6.any()))
|
|
315
|
+
});
|
|
316
|
+
|
|
317
|
+
// src/gen/zod/urlCitationBodySchema.ts
|
|
318
|
+
import { z as z7 } from "zod";
|
|
319
|
+
var urlCitationBodySchema = z7.object({
|
|
320
|
+
"type": z7.enum(["url_citation"]).default("url_citation").describe("The type of the URL citation. Always `url_citation`."),
|
|
321
|
+
"url": z7.string().describe("The URL of the web resource."),
|
|
322
|
+
"start_index": z7.number().int().describe("The index of the first character of the URL citation in the message."),
|
|
323
|
+
"end_index": z7.number().int().describe("The index of the last character of the URL citation in the message."),
|
|
324
|
+
"title": z7.string().describe("The title of the web resource.")
|
|
325
|
+
}).describe("A citation for a web resource used to generate a model response.");
|
|
326
|
+
|
|
327
|
+
// src/gen/zod/annotationSchema.ts
|
|
328
|
+
import { z as z8 } from "zod";
|
|
329
|
+
var annotationSchema = z8.lazy(() => urlCitationBodySchema).and(z8.object({
|
|
330
|
+
"type": z8.literal("url_citation")
|
|
331
|
+
})).describe("An annotation that applies to a span of output text.");
|
|
332
|
+
|
|
333
|
+
// src/gen/zod/urlCitationParamSchema.ts
|
|
334
|
+
import { z as z9 } from "zod";
|
|
335
|
+
var urlCitationParamSchema = z9.object({
|
|
336
|
+
"type": z9.enum(["url_citation"]).default("url_citation").describe("The citation type. Always `url_citation`."),
|
|
337
|
+
"start_index": z9.number().int().min(0).describe("The index of the first character of the citation in the message."),
|
|
338
|
+
"end_index": z9.number().int().min(0).describe("The index of the last character of the citation in the message."),
|
|
339
|
+
"url": z9.string().describe("The URL of the cited resource."),
|
|
340
|
+
"title": z9.string().describe("The title of the cited resource.")
|
|
341
|
+
});
|
|
342
|
+
|
|
343
|
+
// src/gen/zod/outputTextContentParamSchema.ts
|
|
344
|
+
import { z as z10 } from "zod";
|
|
345
|
+
var outputTextContentParamSchema = z10.object({
|
|
346
|
+
"type": z10.enum(["output_text"]).default("output_text").describe("The content type. Always `output_text`."),
|
|
347
|
+
"text": z10.string().max(10485760).describe("The text content."),
|
|
348
|
+
"annotations": z10.optional(z10.array(z10.lazy(() => urlCitationParamSchema)).describe("Citations associated with the text content."))
|
|
349
|
+
});
|
|
350
|
+
|
|
351
|
+
// src/gen/zod/refusalContentParamSchema.ts
|
|
352
|
+
import { z as z11 } from "zod";
|
|
353
|
+
var refusalContentParamSchema = z11.object({
|
|
354
|
+
"type": z11.enum(["refusal"]).default("refusal").describe("The content type. Always `refusal`."),
|
|
355
|
+
"refusal": z11.string().max(10485760).describe("The refusal text.")
|
|
356
|
+
});
|
|
357
|
+
|
|
358
|
+
// src/gen/zod/assistantMessageItemParamSchema.ts
|
|
359
|
+
import { z as z12 } from "zod";
|
|
360
|
+
var assistantMessageItemParamSchema = z12.object({
|
|
361
|
+
"id": z12.optional(z12.union([z12.string(), z12.null()])),
|
|
362
|
+
"type": z12.enum(["message"]).default("message").describe("The item type. Always `message`."),
|
|
363
|
+
"role": z12.enum(["assistant"]).default("assistant").describe("The role of the message author. Always `assistant`."),
|
|
364
|
+
"content": z12.union([z12.array(z12.union([z12.lazy(() => outputTextContentParamSchema).and(z12.object({
|
|
365
|
+
"type": z12.literal("output_text")
|
|
366
|
+
})), z12.lazy(() => refusalContentParamSchema).and(z12.object({
|
|
367
|
+
"type": z12.literal("refusal")
|
|
368
|
+
}))]).describe("A piece of assistant message content, such as text or a refusal.")), z12.string()]).describe("The message content, as an array of content parts."),
|
|
369
|
+
"status": z12.optional(z12.union([z12.string(), z12.null()]))
|
|
370
|
+
});
|
|
371
|
+
|
|
372
|
+
// src/gen/zod/includeEnumSchema.ts
|
|
373
|
+
import { z as z13 } from "zod";
|
|
374
|
+
var includeEnumSchema = z13.enum(["reasoning.encrypted_content", "message.output_text.logprobs"]);
|
|
375
|
+
|
|
376
|
+
// src/gen/zod/functionCallStatusSchema.ts
|
|
377
|
+
import { z as z14 } from "zod";
|
|
378
|
+
var functionCallStatusSchema = z14.enum(["in_progress", "completed", "incomplete"]);
|
|
379
|
+
|
|
380
|
+
// src/gen/zod/functionCallItemParamSchema.ts
|
|
381
|
+
import { z as z15 } from "zod";
|
|
382
|
+
var functionCallItemParamSchema = z15.object({
|
|
383
|
+
"id": z15.optional(z15.union([z15.string(), z15.null()])),
|
|
384
|
+
"call_id": z15.string().min(1).max(64).describe("The unique ID of the function tool call generated by the model."),
|
|
385
|
+
"type": z15.enum(["function_call"]).default("function_call").describe("The item type. Always `function_call`."),
|
|
386
|
+
"name": z15.string().min(1).max(64).regex(/^[a-zA-Z0-9_-]+$/).describe("The name of the function to call."),
|
|
387
|
+
"arguments": z15.string().describe("The function arguments as a JSON string."),
|
|
388
|
+
"status": z15.optional(z15.union([z15.lazy(() => functionCallStatusSchema).and(z15.any()), z15.null()]))
|
|
389
|
+
});
|
|
390
|
+
|
|
391
|
+
// src/gen/zod/inputFileContentParamSchema.ts
|
|
392
|
+
import { z as z16 } from "zod";
|
|
393
|
+
var inputFileContentParamSchema = z16.object({
|
|
394
|
+
"type": z16.enum(["input_file"]).default("input_file").describe("The type of the input item. Always `input_file`."),
|
|
395
|
+
"filename": z16.optional(z16.union([z16.string(), z16.null()])),
|
|
396
|
+
"file_data": z16.optional(z16.union([z16.string(), z16.null()])),
|
|
397
|
+
"file_url": z16.optional(z16.union([z16.string(), z16.null()]))
|
|
398
|
+
}).describe("A file input to the model.");
|
|
399
|
+
|
|
400
|
+
// src/gen/zod/imageDetailSchema.ts
|
|
401
|
+
import { z as z17 } from "zod";
|
|
402
|
+
var imageDetailSchema = z17.enum(["low", "high", "auto"]);
|
|
403
|
+
|
|
404
|
+
// src/gen/zod/inputImageContentParamAutoParamSchema.ts
|
|
405
|
+
import { z as z18 } from "zod";
|
|
406
|
+
var inputImageContentParamAutoParamSchema = z18.object({
|
|
407
|
+
"type": z18.enum(["input_image"]).default("input_image").describe("The type of the input item. Always `input_image`."),
|
|
408
|
+
"image_url": z18.optional(z18.union([z18.string(), z18.null()])),
|
|
409
|
+
"detail": z18.optional(z18.union([z18.lazy(() => imageDetailSchema).and(z18.any()), z18.null()]))
|
|
410
|
+
}).describe("An image input to the model. Learn about [image inputs](/docs/guides/vision)");
|
|
411
|
+
|
|
412
|
+
// src/gen/zod/inputTextContentParamSchema.ts
|
|
413
|
+
import { z as z19 } from "zod";
|
|
414
|
+
var inputTextContentParamSchema = z19.object({
|
|
415
|
+
"type": z19.enum(["input_text"]).default("input_text").describe("The type of the input item. Always `input_text`."),
|
|
416
|
+
"text": z19.string().max(10485760).describe("The text input to the model.")
|
|
417
|
+
}).describe("A text input to the model.");
|
|
418
|
+
|
|
419
|
+
// src/gen/zod/inputVideoContentSchema.ts
|
|
420
|
+
import { z as z20 } from "zod";
|
|
421
|
+
var inputVideoContentSchema = z20.object({
|
|
422
|
+
"type": z20.enum(["input_video"]).describe("The type of the input content. Always `input_video`."),
|
|
423
|
+
"video_url": z20.string().describe("A base64 or remote url that resolves to a video file.")
|
|
424
|
+
}).describe("A content block representing a video input to the model.");
|
|
425
|
+
|
|
426
|
+
// src/gen/zod/functionCallOutputItemParamSchema.ts
|
|
427
|
+
import { z as z21 } from "zod";
|
|
428
|
+
var functionCallOutputItemParamSchema = z21.object({
|
|
429
|
+
"id": z21.optional(z21.union([z21.string(), z21.null()])),
|
|
430
|
+
"call_id": z21.string().min(1).max(64).describe("The unique ID of the function tool call generated by the model."),
|
|
431
|
+
"type": z21.enum(["function_call_output"]).default("function_call_output").describe("The type of the function tool call output. Always `function_call_output`."),
|
|
432
|
+
"output": z21.union([z21.array(z21.union([z21.lazy(() => inputTextContentParamSchema).and(z21.object({
|
|
433
|
+
"type": z21.literal("input_text")
|
|
434
|
+
})), z21.lazy(() => inputImageContentParamAutoParamSchema).and(z21.object({
|
|
435
|
+
"type": z21.literal("input_image")
|
|
436
|
+
})), z21.lazy(() => inputFileContentParamSchema).and(z21.object({
|
|
437
|
+
"type": z21.literal("input_file")
|
|
438
|
+
})), z21.lazy(() => inputVideoContentSchema).and(z21.object({
|
|
439
|
+
"type": z21.literal("input_video")
|
|
440
|
+
}))]).describe("A piece of message content, such as text, an image, or a file.")), z21.string()]).describe("Text, image, or file output of the function tool call."),
|
|
441
|
+
"status": z21.optional(z21.union([z21.lazy(() => functionCallStatusSchema).and(z21.any()), z21.null()]))
|
|
442
|
+
}).describe("The output of a function tool call.");
|
|
443
|
+
|
|
444
|
+
// src/gen/zod/itemReferenceParamSchema.ts
|
|
445
|
+
import { z as z22 } from "zod";
|
|
446
|
+
var itemReferenceParamSchema = z22.object({
|
|
447
|
+
"type": z22.optional(z22.union([z22.enum(["item_reference"]), z22.null()])),
|
|
448
|
+
"id": z22.string().describe("The ID of the item to reference.")
|
|
449
|
+
}).describe("An internal identifier for an item to reference.");
|
|
450
|
+
|
|
451
|
+
// src/gen/zod/reasoningSummaryContentParamSchema.ts
|
|
452
|
+
import { z as z23 } from "zod";
|
|
453
|
+
var reasoningSummaryContentParamSchema = z23.object({
|
|
454
|
+
"type": z23.enum(["summary_text"]).default("summary_text").describe("The content type. Always `summary_text`."),
|
|
455
|
+
"text": z23.string().max(10485760).describe("The reasoning summary text.")
|
|
456
|
+
});
|
|
457
|
+
|
|
458
|
+
// src/gen/zod/reasoningItemParamSchema.ts
|
|
459
|
+
import { z as z24 } from "zod";
|
|
460
|
+
var reasoningItemParamSchema = z24.object({
|
|
461
|
+
"id": z24.optional(z24.union([z24.string(), z24.null()])),
|
|
462
|
+
"type": z24.enum(["reasoning"]).default("reasoning").describe("The item type. Always `reasoning`."),
|
|
463
|
+
"summary": z24.array(z24.lazy(() => reasoningSummaryContentParamSchema)).describe("Reasoning summary content associated with this item."),
|
|
464
|
+
"content": z24.optional(z24.null()),
|
|
465
|
+
"encrypted_content": z24.optional(z24.union([z24.string(), z24.null()]))
|
|
466
|
+
});
|
|
467
|
+
|
|
468
|
+
// src/gen/zod/itemParamSchema.ts
|
|
469
|
+
import { z as z25 } from "zod";
|
|
470
|
+
var itemParamSchema = z25.union([z25.lazy(() => itemReferenceParamSchema).and(z25.object({
|
|
471
|
+
"type": z25.literal("Item reference")
|
|
472
|
+
})), z25.lazy(() => reasoningItemParamSchema).and(z25.object({
|
|
473
|
+
"type": z25.literal("reasoning")
|
|
474
|
+
})), z25.lazy(() => assistantMessageItemParamSchema).and(z25.object({
|
|
475
|
+
"type": z25.literal("message")
|
|
476
|
+
})), z25.lazy(() => functionCallItemParamSchema).and(z25.object({
|
|
477
|
+
"type": z25.literal("function_call")
|
|
478
|
+
})), z25.lazy(() => functionCallOutputItemParamSchema).and(z25.object({
|
|
479
|
+
"type": z25.literal("function_call_output")
|
|
480
|
+
}))]);
|
|
481
|
+
|
|
482
|
+
// src/gen/zod/metadataParamSchema.ts
|
|
483
|
+
import { z as z26 } from "zod";
|
|
484
|
+
var metadataParamSchema = z26.object({}).catchall(z26.string().max(512)).describe("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.\n Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.");
|
|
485
|
+
|
|
486
|
+
// src/gen/zod/reasoningEffortEnumSchema.ts
|
|
487
|
+
import { z as z27 } from "zod";
|
|
488
|
+
var reasoningEffortEnumSchema = z27.enum(["none", "low", "medium", "high", "xhigh"]);
|
|
489
|
+
|
|
490
|
+
// src/gen/zod/reasoningSummaryEnumSchema.ts
|
|
491
|
+
import { z as z28 } from "zod";
|
|
492
|
+
var reasoningSummaryEnumSchema = z28.enum(["concise", "detailed", "auto"]);
|
|
493
|
+
|
|
494
|
+
// src/gen/zod/reasoningParamSchema.ts
|
|
495
|
+
import { z as z29 } from "zod";
|
|
496
|
+
var reasoningParamSchema = z29.object({
|
|
497
|
+
"effort": z29.optional(z29.union([z29.lazy(() => reasoningEffortEnumSchema), z29.null()])),
|
|
498
|
+
"summary": z29.optional(z29.union([z29.lazy(() => reasoningSummaryEnumSchema).and(z29.any()), z29.null()]))
|
|
499
|
+
}).describe("**gpt-5 and o-series models only** Configuration options for [reasoning models](https://platform.openai.com/docs/guides/reasoning).");
|
|
500
|
+
|
|
501
|
+
// src/gen/zod/emptyModelParamSchema.ts
|
|
502
|
+
import { z as z30 } from "zod";
|
|
503
|
+
var emptyModelParamSchema = z30.object({});
|
|
504
|
+
|
|
505
|
+
// src/gen/zod/functionToolParamSchema.ts
|
|
506
|
+
import { z as z31 } from "zod";
|
|
507
|
+
var functionToolParamSchema = z31.object({
|
|
508
|
+
"name": z31.string().min(1).max(64).regex(/^[a-zA-Z0-9_-]+$/),
|
|
509
|
+
"description": z31.optional(z31.union([z31.string(), z31.null()])),
|
|
510
|
+
"parameters": z31.optional(z31.union([z31.lazy(() => emptyModelParamSchema), z31.null()])),
|
|
511
|
+
"strict": z31.optional(z31.boolean()),
|
|
512
|
+
"type": z31.enum(["function"]).default("function")
|
|
513
|
+
});
|
|
514
|
+
|
|
515
|
+
// src/gen/zod/responsesToolParamSchema.ts
|
|
516
|
+
import { z as z32 } from "zod";
|
|
517
|
+
var responsesToolParamSchema = z32.lazy(() => functionToolParamSchema).and(z32.object({
|
|
518
|
+
"type": z32.literal("function")
|
|
519
|
+
}));
|
|
520
|
+
|
|
521
|
+
// src/gen/zod/serviceTierEnumSchema.ts
|
|
522
|
+
import { z as z33 } from "zod";
|
|
523
|
+
var serviceTierEnumSchema = z33.enum(["auto", "default", "flex", "priority"]);
|
|
524
|
+
|
|
525
|
+
// src/gen/zod/streamOptionsParamSchema.ts
|
|
526
|
+
import { z as z34 } from "zod";
|
|
527
|
+
var streamOptionsParamSchema = z34.object({
|
|
528
|
+
"include_obfuscation": z34.optional(z34.boolean().describe("Whether to obfuscate sensitive information in streamed output. Defaults to `true`."))
|
|
529
|
+
}).describe("Options that control streamed response behavior.");
|
|
530
|
+
|
|
531
|
+
// src/gen/zod/jsonSchemaResponseFormatParamSchema.ts
|
|
532
|
+
import { z as z35 } from "zod";
|
|
533
|
+
var jsonSchemaResponseFormatParamSchema = z35.object({
|
|
534
|
+
"type": z35.optional(z35.enum(["json_schema"]).describe("The type of response format being defined. Always `json_schema`.")),
|
|
535
|
+
"description": z35.optional(z35.string().describe("A description of what the response format is for, used by the model to\ndetermine how to respond in the format.\n")),
|
|
536
|
+
"name": z35.optional(z35.string().describe("The name of the response format. Must be a-z, A-Z, 0-9, or contain\nunderscores and dashes, with a maximum length of 64.\n")),
|
|
537
|
+
"schema": z35.optional(z35.object({}).catchall(z35.any()).describe("The schema for the response format, described as a JSON Schema object.\n")),
|
|
538
|
+
"strict": z35.optional(z35.union([z35.boolean(), z35.null()]))
|
|
539
|
+
});
|
|
540
|
+
|
|
541
|
+
// src/gen/zod/textResponseFormatSchema.ts
|
|
542
|
+
import { z as z36 } from "zod";
|
|
543
|
+
var textResponseFormatSchema = z36.object({
|
|
544
|
+
"type": z36.enum(["text"]).default("text")
|
|
545
|
+
});
|
|
546
|
+
|
|
547
|
+
// src/gen/zod/textFormatParamSchema.ts
|
|
548
|
+
import { z as z37 } from "zod";
|
|
549
|
+
var textFormatParamSchema = z37.union([z37.lazy(() => textResponseFormatSchema), z37.lazy(() => jsonSchemaResponseFormatParamSchema)]);
|
|
550
|
+
|
|
551
|
+
// src/gen/zod/verbosityEnumSchema.ts
|
|
552
|
+
import { z as z38 } from "zod";
|
|
553
|
+
var verbosityEnumSchema = z38.enum(["low", "medium", "high"]);
|
|
554
|
+
|
|
555
|
+
// src/gen/zod/textParamSchema.ts
|
|
556
|
+
import { z as z39 } from "zod";
|
|
557
|
+
var textParamSchema = z39.object({
|
|
558
|
+
"format": z39.optional(z39.union([z39.lazy(() => textFormatParamSchema), z39.null()]).describe("The format configuration for text output.")),
|
|
559
|
+
"verbosity": z39.optional(z39.lazy(() => verbosityEnumSchema).and(z39.any()))
|
|
560
|
+
});
|
|
561
|
+
|
|
562
|
+
// src/gen/zod/toolChoiceParamSchema.ts
|
|
563
|
+
import { z as z40 } from "zod";
|
|
564
|
+
var toolChoiceParamSchema = z40.union([z40.lazy(() => specificToolChoiceParamSchema), z40.lazy(() => toolChoiceValueEnumSchema), z40.lazy(() => allowedToolsParamSchema)]).describe("Controls which tool the model should use, if any.");
|
|
565
|
+
|
|
566
|
+
// src/gen/zod/truncationEnumSchema.ts
|
|
567
|
+
import { z as z41 } from "zod";
|
|
568
|
+
var truncationEnumSchema = z41.enum(["auto", "disabled"]);
|
|
569
|
+
|
|
570
|
+
// src/gen/zod/createResponseBodySchema.ts
|
|
571
|
+
import { z as z42 } from "zod";
|
|
572
|
+
var createResponseBodySchema = z42.object({
|
|
573
|
+
"model": z42.optional(z42.union([z42.string(), z42.null()])),
|
|
574
|
+
"input": z42.optional(z42.union([z42.union([z42.array(z42.lazy(() => itemParamSchema)), z42.string()]), z42.null()])),
|
|
575
|
+
"previous_response_id": z42.optional(z42.union([z42.string(), z42.null()])),
|
|
576
|
+
"include": z42.optional(z42.array(z42.lazy(() => includeEnumSchema))),
|
|
577
|
+
"tools": z42.optional(z42.union([z42.array(z42.lazy(() => responsesToolParamSchema)), z42.null()])),
|
|
578
|
+
"tool_choice": z42.optional(z42.union([z42.lazy(() => toolChoiceParamSchema).and(z42.any()), z42.null()])),
|
|
579
|
+
"metadata": z42.optional(z42.union([z42.lazy(() => metadataParamSchema).and(z42.any()), z42.null()])),
|
|
580
|
+
"text": z42.optional(z42.union([z42.lazy(() => textParamSchema).and(z42.any()), z42.null()])),
|
|
581
|
+
"temperature": z42.optional(z42.union([z42.number(), z42.null()])),
|
|
582
|
+
"top_p": z42.optional(z42.union([z42.number(), z42.null()])),
|
|
583
|
+
"presence_penalty": z42.optional(z42.union([z42.number(), z42.null()])),
|
|
584
|
+
"frequency_penalty": z42.optional(z42.union([z42.number(), z42.null()])),
|
|
585
|
+
"parallel_tool_calls": z42.optional(z42.union([z42.boolean(), z42.null()])),
|
|
586
|
+
"stream": z42.optional(z42.boolean().describe("Whether to stream response events as server-sent events.")),
|
|
587
|
+
"stream_options": z42.optional(z42.union([z42.lazy(() => streamOptionsParamSchema).and(z42.any()), z42.null()])),
|
|
588
|
+
"background": z42.optional(z42.boolean().describe("Whether to run the request in the background and return immediately.")),
|
|
589
|
+
"max_output_tokens": z42.optional(z42.union([z42.number().int(), z42.null()])),
|
|
590
|
+
"max_tool_calls": z42.optional(z42.union([z42.number().int(), z42.null()])),
|
|
591
|
+
"reasoning": z42.optional(z42.union([z42.lazy(() => reasoningParamSchema).and(z42.any()), z42.null()])),
|
|
592
|
+
"safety_identifier": z42.optional(z42.union([z42.string(), z42.null()])),
|
|
593
|
+
"prompt_cache_key": z42.optional(z42.union([z42.string(), z42.null()])),
|
|
594
|
+
"truncation": z42.optional(z42.lazy(() => truncationEnumSchema).and(z42.any())),
|
|
595
|
+
"instructions": z42.optional(z42.union([z42.string(), z42.null()])),
|
|
596
|
+
"store": z42.optional(z42.boolean().describe("Whether to store the response so it can be retrieved later.")),
|
|
597
|
+
"service_tier": z42.optional(z42.lazy(() => serviceTierEnumSchema).and(z42.any())),
|
|
598
|
+
"top_logprobs": z42.optional(z42.union([z42.number().int(), z42.null()]))
|
|
599
|
+
});
|
|
600
|
+
|
|
601
|
+
// src/gen/zod/errorSchema.ts
|
|
602
|
+
import { z as z43 } from "zod";
|
|
603
|
+
var errorSchema = z43.object({
|
|
604
|
+
"code": z43.string().describe("A machine-readable error code that was returned."),
|
|
605
|
+
"message": z43.string().describe("A human-readable description of the error that was returned.")
|
|
606
|
+
}).describe("An error that occurred while generating the response.");
|
|
607
|
+
|
|
608
|
+
// src/gen/zod/incompleteDetailsSchema.ts
|
|
609
|
+
import { z as z44 } from "zod";
|
|
610
|
+
var incompleteDetailsSchema = z44.object({
|
|
611
|
+
"reason": z44.string().describe("The reason the response could not be completed.")
|
|
612
|
+
}).describe("Details about why the response was incomplete.");
|
|
613
|
+
|
|
614
|
+
// src/gen/zod/functionCallOutputStatusEnumSchema.ts
|
|
615
|
+
import { z as z45 } from "zod";
|
|
616
|
+
var functionCallOutputStatusEnumSchema = z45.enum(["in_progress", "completed", "incomplete"]).describe("Similar to `FunctionCallStatus`. All three options are allowed here for compatibility, but because in practice these items will be provided by developers, only `completed` should be used.");
|
|
617
|
+
|
|
618
|
+
// src/gen/zod/inputFileContentSchema.ts
|
|
619
|
+
import { z as z46 } from "zod";
|
|
620
|
+
var inputFileContentSchema = z46.object({
|
|
621
|
+
"type": z46.enum(["input_file"]).default("input_file").describe("The type of the input item. Always `input_file`."),
|
|
622
|
+
"filename": z46.optional(z46.string().describe("The name of the file to be sent to the model.")),
|
|
623
|
+
"file_url": z46.optional(z46.string().describe("The URL of the file to be sent to the model."))
|
|
624
|
+
}).describe("A file input to the model.");
|
|
625
|
+
|
|
626
|
+
// src/gen/zod/inputImageContentSchema.ts
|
|
627
|
+
import { z as z47 } from "zod";
|
|
628
|
+
var inputImageContentSchema = z47.object({
|
|
629
|
+
"type": z47.enum(["input_image"]).default("input_image").describe("The type of the input item. Always `input_image`."),
|
|
630
|
+
"image_url": z47.union([z47.string(), z47.null()]),
|
|
631
|
+
"detail": z47.lazy(() => imageDetailSchema).and(z47.any())
|
|
632
|
+
}).describe("An image input to the model. Learn about [image inputs](/docs/guides/vision).");
|
|
633
|
+
|
|
634
|
+
// src/gen/zod/inputTextContentSchema.ts
|
|
635
|
+
import { z as z48 } from "zod";
|
|
636
|
+
var inputTextContentSchema = z48.object({
|
|
637
|
+
"type": z48.enum(["input_text"]).default("input_text").describe("The type of the input item. Always `input_text`."),
|
|
638
|
+
"text": z48.string().describe("The text input to the model.")
|
|
639
|
+
}).describe("A text input to the model.");
|
|
640
|
+
|
|
641
|
+
// src/gen/zod/functionCallOutputSchema.ts
|
|
642
|
+
import { z as z49 } from "zod";
|
|
643
|
+
var functionCallOutputSchema = z49.object({
|
|
644
|
+
"type": z49.enum(["function_call_output"]).default("function_call_output").describe("The type of the function tool call output. Always `function_call_output`."),
|
|
645
|
+
"id": z49.string().describe("The unique ID of the function tool call output. Populated when this item is returned via API."),
|
|
646
|
+
"call_id": z49.string().describe("The unique ID of the function tool call generated by the model."),
|
|
647
|
+
"output": z49.union([z49.array(z49.union([z49.lazy(() => inputTextContentSchema).and(z49.object({
|
|
648
|
+
"type": z49.literal("input_text")
|
|
649
|
+
})), z49.lazy(() => inputImageContentSchema).and(z49.object({
|
|
650
|
+
"type": z49.literal("input_image")
|
|
651
|
+
})), z49.lazy(() => inputFileContentSchema).and(z49.object({
|
|
652
|
+
"type": z49.literal("input_file")
|
|
653
|
+
}))]).describe("A content part that makes up an input or output item.")), z49.string()]),
|
|
654
|
+
"status": z49.lazy(() => functionCallOutputStatusEnumSchema).and(z49.any())
|
|
655
|
+
}).describe("A function tool call output that was returned by the tool.");
|
|
656
|
+
|
|
657
|
+
// src/gen/zod/functionCallSchema.ts
|
|
658
|
+
import { z as z50 } from "zod";
|
|
659
|
+
var functionCallSchema = z50.object({
|
|
660
|
+
"type": z50.enum(["function_call"]).default("function_call").describe("The type of the item. Always `function_call`."),
|
|
661
|
+
"id": z50.string().describe("The unique ID of the function call item."),
|
|
662
|
+
"call_id": z50.string().describe("The unique ID of the function tool call that was generated."),
|
|
663
|
+
"name": z50.string().describe("The name of the function that was called."),
|
|
664
|
+
"arguments": z50.string().describe("The arguments JSON string that was generated."),
|
|
665
|
+
"status": z50.lazy(() => functionCallStatusSchema).and(z50.any())
|
|
666
|
+
}).describe("A function tool call that was generated by the model.");
|
|
667
|
+
|
|
668
|
+
// src/gen/zod/messageRoleSchema.ts
|
|
669
|
+
import { z as z51 } from "zod";
|
|
670
|
+
var messageRoleSchema = z51.enum(["user", "assistant", "system", "developer"]);
|
|
671
|
+
|
|
672
|
+
// src/gen/zod/messageStatusSchema.ts
|
|
673
|
+
import { z as z52 } from "zod";
|
|
674
|
+
var messageStatusSchema = z52.enum(["in_progress", "completed", "incomplete"]);
|
|
675
|
+
|
|
676
|
+
// src/gen/zod/topLogProbSchema.ts
|
|
677
|
+
import { z as z53 } from "zod";
|
|
678
|
+
var topLogProbSchema = z53.object({
|
|
679
|
+
"token": z53.string(),
|
|
680
|
+
"logprob": z53.number(),
|
|
681
|
+
"bytes": z53.array(z53.number().int())
|
|
682
|
+
}).describe("The top log probability of a token.");
|
|
683
|
+
|
|
684
|
+
// src/gen/zod/logProbSchema.ts
|
|
685
|
+
import { z as z54 } from "zod";
|
|
686
|
+
var logProbSchema = z54.object({
|
|
687
|
+
"token": z54.string(),
|
|
688
|
+
"logprob": z54.number(),
|
|
689
|
+
"bytes": z54.array(z54.number().int()),
|
|
690
|
+
"top_logprobs": z54.array(z54.lazy(() => topLogProbSchema).describe("The top log probability of a token."))
|
|
691
|
+
}).describe("The log probability of a token.");
|
|
692
|
+
|
|
693
|
+
// src/gen/zod/outputTextContentSchema.ts
|
|
694
|
+
import { z as z55 } from "zod";
|
|
695
|
+
var outputTextContentSchema = z55.object({
|
|
696
|
+
"type": z55.enum(["output_text"]).default("output_text").describe("The type of the output text. Always `output_text`."),
|
|
697
|
+
"text": z55.string().describe("The text output from the model."),
|
|
698
|
+
"annotations": z55.array(z55.lazy(() => annotationSchema).describe("An annotation that applies to a span of output text.")).describe("The annotations of the text output."),
|
|
699
|
+
"logprobs": z55.array(z55.lazy(() => logProbSchema).describe("The log probability of a token."))
|
|
700
|
+
}).describe("A text output from the model.");
|
|
701
|
+
|
|
702
|
+
// src/gen/zod/reasoningTextContentSchema.ts
|
|
703
|
+
import { z as z56 } from "zod";
|
|
704
|
+
var reasoningTextContentSchema = z56.object({
|
|
705
|
+
"type": z56.enum(["reasoning_text"]).default("reasoning_text").describe("The type of the reasoning text. Always `reasoning_text`."),
|
|
706
|
+
"text": z56.string().describe("The reasoning text from the model.")
|
|
707
|
+
}).describe("Reasoning text from the model.");
|
|
708
|
+
|
|
709
|
+
// src/gen/zod/refusalContentSchema.ts
|
|
710
|
+
import { z as z57 } from "zod";
|
|
711
|
+
var refusalContentSchema = z57.object({
|
|
712
|
+
"type": z57.enum(["refusal"]).default("refusal").describe("The type of the refusal. Always `refusal`."),
|
|
713
|
+
"refusal": z57.string().describe("The refusal explanation from the model.")
|
|
714
|
+
}).describe("A refusal from the model.");
|
|
715
|
+
|
|
716
|
+
// src/gen/zod/summaryTextContentSchema.ts
|
|
717
|
+
import { z as z58 } from "zod";
|
|
718
|
+
var summaryTextContentSchema = z58.object({
|
|
719
|
+
"type": z58.enum(["summary_text"]).default("summary_text").describe("The type of the object. Always `summary_text`."),
|
|
720
|
+
"text": z58.string().describe("A summary of the reasoning output from the model so far.")
|
|
721
|
+
}).describe("A summary text from the model.");
|
|
722
|
+
|
|
723
|
+
// src/gen/zod/textContentSchema.ts
|
|
724
|
+
import { z as z59 } from "zod";
|
|
725
|
+
var textContentSchema = z59.object({
|
|
726
|
+
"type": z59.enum(["text"]).default("text"),
|
|
727
|
+
"text": z59.string()
|
|
728
|
+
}).describe("A text content.");
|
|
729
|
+
|
|
730
|
+
// src/gen/zod/messageSchema.ts
|
|
731
|
+
import { z as z60 } from "zod";
|
|
732
|
+
var messageSchema = z60.object({
|
|
733
|
+
"type": z60.enum(["message"]).default("message").describe("The type of the message. Always set to `message`."),
|
|
734
|
+
"id": z60.string().describe("The unique ID of the message."),
|
|
735
|
+
"status": z60.lazy(() => messageStatusSchema).and(z60.any()),
|
|
736
|
+
"role": z60.lazy(() => messageRoleSchema).and(z60.any()),
|
|
737
|
+
"content": z60.array(z60.union([z60.lazy(() => inputTextContentSchema).and(z60.object({
|
|
738
|
+
"type": z60.literal("input_text")
|
|
739
|
+
})), z60.lazy(() => outputTextContentSchema).and(z60.object({
|
|
740
|
+
"type": z60.literal("output_text")
|
|
741
|
+
})), z60.lazy(() => textContentSchema).and(z60.object({
|
|
742
|
+
"type": z60.literal("text")
|
|
743
|
+
})), z60.lazy(() => summaryTextContentSchema).and(z60.object({
|
|
744
|
+
"type": z60.literal("summary_text")
|
|
745
|
+
})), z60.lazy(() => reasoningTextContentSchema).and(z60.object({
|
|
746
|
+
"type": z60.literal("reasoning_text")
|
|
747
|
+
})), z60.lazy(() => refusalContentSchema).and(z60.object({
|
|
748
|
+
"type": z60.literal("refusal")
|
|
749
|
+
})), z60.lazy(() => inputImageContentSchema).and(z60.object({
|
|
750
|
+
"type": z60.literal("input_image")
|
|
751
|
+
})), z60.lazy(() => inputFileContentSchema).and(z60.object({
|
|
752
|
+
"type": z60.literal("input_file")
|
|
753
|
+
})), z60.lazy(() => inputVideoContentSchema).and(z60.object({
|
|
754
|
+
"type": z60.literal("input_video")
|
|
755
|
+
}))]).describe("A content part that makes up an input or output item.")).describe("The content of the message")
|
|
756
|
+
}).describe("A message to or from the model.");
|
|
757
|
+
|
|
758
|
+
// src/gen/zod/reasoningBodySchema.ts
|
|
759
|
+
import { z as z61 } from "zod";
|
|
760
|
+
var reasoningBodySchema = z61.object({
|
|
761
|
+
"type": z61.enum(["reasoning"]).default("reasoning").describe("The type of the item. Always `reasoning`."),
|
|
762
|
+
"id": z61.string().describe("The unique ID of the reasoning item."),
|
|
763
|
+
"content": z61.optional(z61.array(z61.union([z61.lazy(() => inputTextContentSchema).and(z61.object({
|
|
764
|
+
"type": z61.literal("input_text")
|
|
765
|
+
})), z61.lazy(() => outputTextContentSchema).and(z61.object({
|
|
766
|
+
"type": z61.literal("output_text")
|
|
767
|
+
})), z61.lazy(() => textContentSchema).and(z61.object({
|
|
768
|
+
"type": z61.literal("text")
|
|
769
|
+
})), z61.lazy(() => summaryTextContentSchema).and(z61.object({
|
|
770
|
+
"type": z61.literal("summary_text")
|
|
771
|
+
})), z61.lazy(() => reasoningTextContentSchema).and(z61.object({
|
|
772
|
+
"type": z61.literal("reasoning_text")
|
|
773
|
+
})), z61.lazy(() => refusalContentSchema).and(z61.object({
|
|
774
|
+
"type": z61.literal("refusal")
|
|
775
|
+
})), z61.lazy(() => inputImageContentSchema).and(z61.object({
|
|
776
|
+
"type": z61.literal("input_image")
|
|
777
|
+
})), z61.lazy(() => inputFileContentSchema).and(z61.object({
|
|
778
|
+
"type": z61.literal("input_file")
|
|
779
|
+
}))]).describe("A content part that makes up an input or output item.")).describe("The reasoning content that was generated.")),
|
|
780
|
+
"summary": z61.array(z61.union([z61.lazy(() => inputTextContentSchema).and(z61.object({
|
|
781
|
+
"type": z61.literal("input_text")
|
|
782
|
+
})), z61.lazy(() => outputTextContentSchema).and(z61.object({
|
|
783
|
+
"type": z61.literal("output_text")
|
|
784
|
+
})), z61.lazy(() => textContentSchema).and(z61.object({
|
|
785
|
+
"type": z61.literal("text")
|
|
786
|
+
})), z61.lazy(() => summaryTextContentSchema).and(z61.object({
|
|
787
|
+
"type": z61.literal("summary_text")
|
|
788
|
+
})), z61.lazy(() => reasoningTextContentSchema).and(z61.object({
|
|
789
|
+
"type": z61.literal("reasoning_text")
|
|
790
|
+
})), z61.lazy(() => refusalContentSchema).and(z61.object({
|
|
791
|
+
"type": z61.literal("refusal")
|
|
792
|
+
})), z61.lazy(() => inputImageContentSchema).and(z61.object({
|
|
793
|
+
"type": z61.literal("input_image")
|
|
794
|
+
})), z61.lazy(() => inputFileContentSchema).and(z61.object({
|
|
795
|
+
"type": z61.literal("input_file")
|
|
796
|
+
}))]).describe("A content part that makes up an input or output item.")).describe("The reasoning summary content that was generated."),
|
|
797
|
+
"encrypted_content": z61.optional(z61.string().describe("The encrypted reasoning content that was generated."))
|
|
798
|
+
}).describe("A reasoning item that was generated by the model.");
|
|
799
|
+
|
|
800
|
+
// src/gen/zod/itemFieldSchema.ts
|
|
801
|
+
import { z as z62 } from "zod";
|
|
802
|
+
var itemFieldSchema = z62.union([z62.lazy(() => messageSchema).and(z62.object({
|
|
803
|
+
"type": z62.literal("message")
|
|
804
|
+
})), z62.lazy(() => functionCallSchema).and(z62.object({
|
|
805
|
+
"type": z62.literal("function_call")
|
|
806
|
+
})), z62.lazy(() => functionCallOutputSchema).and(z62.object({
|
|
807
|
+
"type": z62.literal("function_call_output")
|
|
808
|
+
})), z62.lazy(() => reasoningBodySchema).and(z62.object({
|
|
809
|
+
"type": z62.literal("reasoning")
|
|
810
|
+
}))]).describe("An item representing a message, tool call, tool output, reasoning, or other response element.");
|
|
811
|
+
|
|
812
|
+
// src/gen/zod/reasoningSchema.ts
|
|
813
|
+
import { z as z63 } from "zod";
|
|
814
|
+
var reasoningSchema = z63.object({
|
|
815
|
+
"effort": z63.union([z63.lazy(() => reasoningEffortEnumSchema), z63.null()]),
|
|
816
|
+
"summary": z63.union([z63.lazy(() => reasoningSummaryEnumSchema).and(z63.any()), z63.null()])
|
|
817
|
+
}).describe("Reasoning configuration and metadata that were used for the response.");
|
|
818
|
+
|
|
819
|
+
// src/gen/zod/jsonObjectResponseFormatSchema.ts
|
|
820
|
+
import { z as z64 } from "zod";
|
|
821
|
+
var jsonObjectResponseFormatSchema = z64.object({
|
|
822
|
+
"type": z64.enum(["json_object"]).default("json_object")
|
|
823
|
+
});
|
|
824
|
+
|
|
825
|
+
// src/gen/zod/jsonSchemaResponseFormatSchema.ts
|
|
826
|
+
import { z as z65 } from "zod";
|
|
827
|
+
var jsonSchemaResponseFormatSchema = z65.object({
|
|
828
|
+
"type": z65.enum(["json_schema"]).default("json_schema"),
|
|
829
|
+
"name": z65.string(),
|
|
830
|
+
"description": z65.union([z65.string(), z65.null()]),
|
|
831
|
+
"schema": z65.null(),
|
|
832
|
+
"strict": z65.boolean()
|
|
833
|
+
});
|
|
834
|
+
|
|
835
|
+
// src/gen/zod/textFieldSchema.ts
|
|
836
|
+
import { z as z66 } from "zod";
|
|
837
|
+
var textFieldSchema = z66.object({
|
|
838
|
+
"format": z66.union([z66.lazy(() => textResponseFormatSchema), z66.lazy(() => jsonObjectResponseFormatSchema), z66.lazy(() => jsonSchemaResponseFormatSchema)]),
|
|
839
|
+
"verbosity": z66.optional(z66.lazy(() => verbosityEnumSchema))
|
|
840
|
+
});
|
|
841
|
+
|
|
842
|
+
// src/gen/zod/functionToolSchema.ts
|
|
843
|
+
import { z as z67 } from "zod";
|
|
844
|
+
var functionToolSchema = z67.object({
|
|
845
|
+
"type": z67.enum(["function"]).default("function").describe("The type of the function tool. Always `function`."),
|
|
846
|
+
"name": z67.string().describe("The name of the function to call."),
|
|
847
|
+
"description": z67.union([z67.string(), z67.null()]),
|
|
848
|
+
"parameters": z67.union([z67.object({}).catchall(z67.any()), z67.null()]),
|
|
849
|
+
"strict": z67.union([z67.boolean(), z67.null()])
|
|
850
|
+
}).describe("Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).");
|
|
851
|
+
|
|
852
|
+
// src/gen/zod/toolSchema.ts
|
|
853
|
+
import { z as z68 } from "zod";
|
|
854
|
+
var toolSchema = z68.lazy(() => functionToolSchema).and(z68.object({
|
|
855
|
+
"type": z68.literal("function")
|
|
856
|
+
})).describe("A tool that can be used to generate a response.");
|
|
857
|
+
|
|
858
|
+
// src/gen/zod/inputTokensDetailsSchema.ts
|
|
859
|
+
import { z as z69 } from "zod";
|
|
860
|
+
var inputTokensDetailsSchema = z69.object({
|
|
861
|
+
"cached_tokens": z69.number().int().describe("The number of input tokens that were served from cache.")
|
|
862
|
+
}).describe("A breakdown of input token usage that was recorded.");
|
|
863
|
+
|
|
864
|
+
// src/gen/zod/outputTokensDetailsSchema.ts
|
|
865
|
+
import { z as z70 } from "zod";
|
|
866
|
+
var outputTokensDetailsSchema = z70.object({
|
|
867
|
+
"reasoning_tokens": z70.number().int().describe("The number of output tokens that were attributed to reasoning.")
|
|
868
|
+
}).describe("A breakdown of output token usage that was recorded.");
|
|
869
|
+
|
|
870
|
+
// src/gen/zod/usageSchema.ts
|
|
871
|
+
import { z as z71 } from "zod";
|
|
872
|
+
var usageSchema = z71.object({
|
|
873
|
+
"input_tokens": z71.number().int().describe("The number of input tokens that were used to generate the response."),
|
|
874
|
+
"output_tokens": z71.number().int().describe("The number of output tokens that were generated by the model."),
|
|
875
|
+
"total_tokens": z71.number().int().describe("The total number of tokens that were used."),
|
|
876
|
+
"input_tokens_details": z71.lazy(() => inputTokensDetailsSchema).and(z71.any()),
|
|
877
|
+
"output_tokens_details": z71.lazy(() => outputTokensDetailsSchema).and(z71.any())
|
|
878
|
+
}).describe("Token usage statistics that were recorded for the response.");
|
|
879
|
+
|
|
880
|
+
// src/gen/zod/responseResourceSchema.ts
|
|
881
|
+
import { z as z72 } from "zod";
|
|
882
|
+
var responseResourceSchema = z72.object({
|
|
883
|
+
"id": z72.string().describe("The unique ID of the response that was created."),
|
|
884
|
+
"object": z72.enum(["response"]).default("response").describe("The object type, which was always `response`."),
|
|
885
|
+
"created_at": z72.number().int().describe("The Unix timestamp (in seconds) for when the response was created."),
|
|
886
|
+
"completed_at": z72.union([z72.number().int(), z72.null()]),
|
|
887
|
+
"status": z72.string().describe("The status that was set for the response."),
|
|
888
|
+
"incomplete_details": z72.union([z72.lazy(() => incompleteDetailsSchema).and(z72.any()), z72.null()]),
|
|
889
|
+
"model": z72.string().describe("The model that generated this response."),
|
|
890
|
+
"previous_response_id": z72.union([z72.string(), z72.null()]),
|
|
891
|
+
"instructions": z72.union([z72.string(), z72.null()]),
|
|
892
|
+
"output": z72.array(z72.lazy(() => itemFieldSchema).describe("An item representing a message, tool call, tool output, reasoning, or other response element.")).describe("The output items that were generated by the model."),
|
|
893
|
+
"error": z72.union([z72.lazy(() => errorSchema).and(z72.any()), z72.null()]),
|
|
894
|
+
"tools": z72.array(z72.lazy(() => toolSchema).describe("A tool that can be used to generate a response.")).describe("The tools that were available to the model during response generation."),
|
|
895
|
+
"tool_choice": z72.union([z72.lazy(() => functionToolChoiceSchema), z72.lazy(() => toolChoiceValueEnumSchema), z72.lazy(() => allowedToolChoiceSchema)]),
|
|
896
|
+
"truncation": z72.lazy(() => truncationEnumSchema).and(z72.any()),
|
|
897
|
+
"parallel_tool_calls": z72.boolean().describe("Whether the model was allowed to call multiple tools in parallel."),
|
|
898
|
+
"text": z72.lazy(() => textFieldSchema).and(z72.any()),
|
|
899
|
+
"top_p": z72.number().describe("The nucleus sampling parameter that was used for this response."),
|
|
900
|
+
"presence_penalty": z72.number().describe("The presence penalty that was used to penalize new tokens based on whether they appear in the text so far."),
|
|
901
|
+
"frequency_penalty": z72.number().describe("The frequency penalty that was used to penalize new tokens based on their frequency in the text so far."),
|
|
902
|
+
"top_logprobs": z72.number().int().describe("The number of most likely tokens that were returned at each position, along with their log probabilities."),
|
|
903
|
+
"temperature": z72.number().describe("The sampling temperature that was used for this response."),
|
|
904
|
+
"reasoning": z72.union([z72.lazy(() => reasoningSchema).and(z72.any()), z72.null()]),
|
|
905
|
+
"usage": z72.union([z72.lazy(() => usageSchema).and(z72.any()), z72.null()]),
|
|
906
|
+
"max_output_tokens": z72.union([z72.number().int(), z72.null()]),
|
|
907
|
+
"max_tool_calls": z72.union([z72.number().int(), z72.null()]),
|
|
908
|
+
"store": z72.boolean().describe("Whether this response was stored so it can be retrieved later."),
|
|
909
|
+
"background": z72.boolean().describe("Whether this request was run in the background."),
|
|
910
|
+
"service_tier": z72.string().describe("The service tier that was used for this response."),
|
|
911
|
+
"metadata": z72.any().describe("Developer-defined metadata that was associated with the response."),
|
|
912
|
+
"safety_identifier": z72.union([z72.string(), z72.null()]),
|
|
913
|
+
"prompt_cache_key": z72.union([z72.string(), z72.null()])
|
|
914
|
+
}).describe("The complete response object that was returned by the Responses API.");
|
|
915
|
+
|
|
916
|
+
// src/gen/zod/createresponseSchema.ts
|
|
917
|
+
import { z as z73 } from "zod";
|
|
918
|
+
var createresponse200Schema = z73.lazy(() => responseResourceSchema).describe("The complete response object that was returned by the Responses API.");
|
|
919
|
+
var createresponseMutationRequestSchema = z73.lazy(() => createResponseBodySchema);
|
|
920
|
+
var createresponseMutationResponseSchema = z73.lazy(() => createresponse200Schema);
|
|
921
|
+
|
|
922
|
+
// src/gen/zod/detailEnumSchema.ts
|
|
923
|
+
import { z as z74 } from "zod";
|
|
924
|
+
var detailEnumSchema = z74.enum(["low", "high", "auto"]);
|
|
925
|
+
|
|
926
|
+
// src/gen/zod/developerMessageItemParamSchema.ts
|
|
927
|
+
import { z as z75 } from "zod";
|
|
928
|
+
var developerMessageItemParamSchema = z75.object({
|
|
929
|
+
"id": z75.optional(z75.union([z75.string(), z75.null()])),
|
|
930
|
+
"type": z75.enum(["message"]).default("message").describe("The item type. Always `message`."),
|
|
931
|
+
"role": z75.enum(["developer"]).default("developer").describe("The message role. Always `developer`."),
|
|
932
|
+
"content": z75.union([z75.array(z75.lazy(() => inputTextContentParamSchema).and(z75.object({
|
|
933
|
+
"type": z75.literal("input_text")
|
|
934
|
+
}))), z75.string()]).describe("The message content, as an array of content parts."),
|
|
935
|
+
"status": z75.optional(z75.union([z75.string(), z75.null()]))
|
|
936
|
+
});
|
|
937
|
+
|
|
938
|
+
// src/gen/zod/errorPayloadSchema.ts
|
|
939
|
+
import { z as z76 } from "zod";
|
|
940
|
+
var errorPayloadSchema = z76.object({
|
|
941
|
+
"type": z76.string().describe("The error type that was emitted."),
|
|
942
|
+
"code": z76.union([z76.string(), z76.null()]),
|
|
943
|
+
"message": z76.string().describe("The human-readable error message that was emitted."),
|
|
944
|
+
"param": z76.union([z76.string(), z76.null()]),
|
|
945
|
+
"headers": z76.optional(z76.object({}).catchall(z76.string().describe("The header value that was emitted.")).describe("The response headers that were emitted with the error, if any."))
|
|
946
|
+
}).describe("An error payload that was emitted for a streaming error event.");
|
|
947
|
+
|
|
948
|
+
// src/gen/zod/errorStreamingEventSchema.ts
|
|
949
|
+
import { z as z77 } from "zod";
|
|
950
|
+
var errorStreamingEventSchema = z77.object({
|
|
951
|
+
"type": z77.enum(["error"]).default("error").describe("The type of the event, always `error`."),
|
|
952
|
+
"sequence_number": z77.number().int().describe("The sequence number of the event that was emitted."),
|
|
953
|
+
"error": z77.lazy(() => errorPayloadSchema).and(z77.any())
|
|
954
|
+
}).describe("A streaming event that indicated an error was emitted.");
|
|
955
|
+
|
|
956
|
+
// src/gen/zod/functionCallItemStatusSchema.ts
|
|
957
|
+
import { z as z78 } from "zod";
|
|
958
|
+
var functionCallItemStatusSchema = z78.enum(["in_progress", "completed", "incomplete"]);
|
|
959
|
+
|
|
960
|
+
// src/gen/zod/responseCompletedStreamingEventSchema.ts
|
|
961
|
+
import { z as z79 } from "zod";
|
|
962
|
+
var responseCompletedStreamingEventSchema = z79.object({
|
|
963
|
+
"type": z79.enum(["response.completed"]).default("response.completed").describe("The type of the event, always `response.completed`."),
|
|
964
|
+
"sequence_number": z79.number().int().describe("The sequence number of the event that was emitted."),
|
|
965
|
+
"response": z79.lazy(() => responseResourceSchema).and(z79.any())
|
|
966
|
+
}).describe("A streaming event that indicated the response was completed.");
|
|
967
|
+
|
|
968
|
+
// src/gen/zod/responseContentPartAddedStreamingEventSchema.ts
|
|
969
|
+
import { z as z80 } from "zod";
|
|
970
|
+
var responseContentPartAddedStreamingEventSchema = z80.object({
|
|
971
|
+
"type": z80.enum(["response.content_part.added"]).default("response.content_part.added").describe("The type of the event, always `response.content_part.added`."),
|
|
972
|
+
"sequence_number": z80.number().int().describe("The sequence number of the event that was emitted."),
|
|
973
|
+
"item_id": z80.string().describe("The ID of the item that was updated."),
|
|
974
|
+
"output_index": z80.number().int().describe("The index of the output item that was updated."),
|
|
975
|
+
"content_index": z80.number().int().describe("The index of the content part that was added."),
|
|
976
|
+
"part": z80.union([z80.lazy(() => inputTextContentSchema).and(z80.object({
|
|
977
|
+
"type": z80.literal("input_text")
|
|
978
|
+
})), z80.lazy(() => outputTextContentSchema).and(z80.object({
|
|
979
|
+
"type": z80.literal("output_text")
|
|
980
|
+
})), z80.lazy(() => textContentSchema).and(z80.object({
|
|
981
|
+
"type": z80.literal("text")
|
|
982
|
+
})), z80.lazy(() => summaryTextContentSchema).and(z80.object({
|
|
983
|
+
"type": z80.literal("summary_text")
|
|
984
|
+
})), z80.lazy(() => reasoningTextContentSchema).and(z80.object({
|
|
985
|
+
"type": z80.literal("reasoning_text")
|
|
986
|
+
})), z80.lazy(() => refusalContentSchema).and(z80.object({
|
|
987
|
+
"type": z80.literal("refusal")
|
|
988
|
+
})), z80.lazy(() => inputImageContentSchema).and(z80.object({
|
|
989
|
+
"type": z80.literal("input_image")
|
|
990
|
+
})), z80.lazy(() => inputFileContentSchema).and(z80.object({
|
|
991
|
+
"type": z80.literal("input_file")
|
|
992
|
+
}))]).describe("A content part that makes up an input or output item.")
|
|
993
|
+
}).describe("A streaming event that indicated a content part was added.");
|
|
994
|
+
|
|
995
|
+
// src/gen/zod/responseContentPartDoneStreamingEventSchema.ts
|
|
996
|
+
import { z as z81 } from "zod";
|
|
997
|
+
var responseContentPartDoneStreamingEventSchema = z81.object({
|
|
998
|
+
"type": z81.enum(["response.content_part.done"]).default("response.content_part.done").describe("The type of the event, always `response.content_part.done`."),
|
|
999
|
+
"sequence_number": z81.number().int().describe("The sequence number of the event that was emitted."),
|
|
1000
|
+
"item_id": z81.string().describe("The ID of the item that was updated."),
|
|
1001
|
+
"output_index": z81.number().int().describe("The index of the output item that was updated."),
|
|
1002
|
+
"content_index": z81.number().int().describe("The index of the content part that was completed."),
|
|
1003
|
+
"part": z81.union([z81.lazy(() => inputTextContentSchema).and(z81.object({
|
|
1004
|
+
"type": z81.literal("input_text")
|
|
1005
|
+
})), z81.lazy(() => outputTextContentSchema).and(z81.object({
|
|
1006
|
+
"type": z81.literal("output_text")
|
|
1007
|
+
})), z81.lazy(() => textContentSchema).and(z81.object({
|
|
1008
|
+
"type": z81.literal("text")
|
|
1009
|
+
})), z81.lazy(() => summaryTextContentSchema).and(z81.object({
|
|
1010
|
+
"type": z81.literal("summary_text")
|
|
1011
|
+
})), z81.lazy(() => reasoningTextContentSchema).and(z81.object({
|
|
1012
|
+
"type": z81.literal("reasoning_text")
|
|
1013
|
+
})), z81.lazy(() => refusalContentSchema).and(z81.object({
|
|
1014
|
+
"type": z81.literal("refusal")
|
|
1015
|
+
})), z81.lazy(() => inputImageContentSchema).and(z81.object({
|
|
1016
|
+
"type": z81.literal("input_image")
|
|
1017
|
+
})), z81.lazy(() => inputFileContentSchema).and(z81.object({
|
|
1018
|
+
"type": z81.literal("input_file")
|
|
1019
|
+
}))]).describe("A content part that makes up an input or output item.")
|
|
1020
|
+
}).describe("A streaming event that indicated a content part was completed.");
|
|
1021
|
+
|
|
1022
|
+
// src/gen/zod/responseCreatedStreamingEventSchema.ts
|
|
1023
|
+
import { z as z82 } from "zod";
|
|
1024
|
+
var responseCreatedStreamingEventSchema = z82.object({
|
|
1025
|
+
"type": z82.enum(["response.created"]).default("response.created").describe("The type of the event, always `response.created`."),
|
|
1026
|
+
"sequence_number": z82.number().int().describe("The sequence number of the event that was emitted."),
|
|
1027
|
+
"response": z82.lazy(() => responseResourceSchema).and(z82.any())
|
|
1028
|
+
}).describe("A streaming event that indicated the response was created.");
|
|
1029
|
+
|
|
1030
|
+
// src/gen/zod/responseFailedStreamingEventSchema.ts
|
|
1031
|
+
import { z as z83 } from "zod";
|
|
1032
|
+
var responseFailedStreamingEventSchema = z83.object({
|
|
1033
|
+
"type": z83.enum(["response.failed"]).default("response.failed").describe("The type of the event, always `response.failed`."),
|
|
1034
|
+
"sequence_number": z83.number().int().describe("The sequence number of the event that was emitted."),
|
|
1035
|
+
"response": z83.lazy(() => responseResourceSchema).and(z83.any())
|
|
1036
|
+
}).describe("A streaming event that indicated the response had failed.");
|
|
1037
|
+
|
|
1038
|
+
// src/gen/zod/responseFunctionCallArgumentsDeltaStreamingEventSchema.ts
|
|
1039
|
+
import { z as z84 } from "zod";
|
|
1040
|
+
var responseFunctionCallArgumentsDeltaStreamingEventSchema = z84.object({
|
|
1041
|
+
"type": z84.enum(["response.function_call_arguments.delta"]).default("response.function_call_arguments.delta").describe("The type of the event, always `response.function_call_arguments.delta`."),
|
|
1042
|
+
"sequence_number": z84.number().int().describe("The sequence number of the event that was emitted."),
|
|
1043
|
+
"item_id": z84.string().describe("The ID of the tool call item that was updated."),
|
|
1044
|
+
"output_index": z84.number().int().describe("The index of the output item that was updated."),
|
|
1045
|
+
"delta": z84.string().describe("The arguments delta that was appended."),
|
|
1046
|
+
"obfuscation": z84.optional(z84.string().describe("An obfuscation string that was added to pad the event payload."))
|
|
1047
|
+
}).describe("A streaming event that indicated function call arguments were incrementally added.");
|
|
1048
|
+
|
|
1049
|
+
// src/gen/zod/responseFunctionCallArgumentsDoneStreamingEventSchema.ts
|
|
1050
|
+
import { z as z85 } from "zod";
|
|
1051
|
+
var responseFunctionCallArgumentsDoneStreamingEventSchema = z85.object({
|
|
1052
|
+
"type": z85.enum(["response.function_call_arguments.done"]).default("response.function_call_arguments.done").describe("The type of the event, always `response.function_call_arguments.done`."),
|
|
1053
|
+
"sequence_number": z85.number().int().describe("The sequence number of the event that was emitted."),
|
|
1054
|
+
"item_id": z85.string().describe("The ID of the tool call item that was updated."),
|
|
1055
|
+
"output_index": z85.number().int().describe("The index of the output item that was updated."),
|
|
1056
|
+
"arguments": z85.string().describe("The final arguments string that was emitted.")
|
|
1057
|
+
}).describe("A streaming event that indicated function call arguments were completed.");
|
|
1058
|
+
|
|
1059
|
+
// src/gen/zod/responseIncompleteStreamingEventSchema.ts
|
|
1060
|
+
import { z as z86 } from "zod";
|
|
1061
|
+
var responseIncompleteStreamingEventSchema = z86.object({
|
|
1062
|
+
"type": z86.enum(["response.incomplete"]).default("response.incomplete").describe("The type of the event, always `response.incomplete`."),
|
|
1063
|
+
"sequence_number": z86.number().int().describe("The sequence number of the event that was emitted."),
|
|
1064
|
+
"response": z86.lazy(() => responseResourceSchema).and(z86.any())
|
|
1065
|
+
}).describe("A streaming event that indicated the response was incomplete.");
|
|
1066
|
+
|
|
1067
|
+
// src/gen/zod/responseInProgressStreamingEventSchema.ts
|
|
1068
|
+
import { z as z87 } from "zod";
|
|
1069
|
+
var responseInProgressStreamingEventSchema = z87.object({
|
|
1070
|
+
"type": z87.enum(["response.in_progress"]).default("response.in_progress").describe("The type of the event, always `response.in_progress`."),
|
|
1071
|
+
"sequence_number": z87.number().int().describe("The sequence number of the event that was emitted."),
|
|
1072
|
+
"response": z87.lazy(() => responseResourceSchema).and(z87.any())
|
|
1073
|
+
}).describe("A streaming event that indicated the response was in progress.");
|
|
1074
|
+
|
|
1075
|
+
// src/gen/zod/responseOutputItemAddedStreamingEventSchema.ts
|
|
1076
|
+
import { z as z88 } from "zod";
|
|
1077
|
+
var responseOutputItemAddedStreamingEventSchema = z88.object({
|
|
1078
|
+
"type": z88.enum(["response.output_item.added"]).default("response.output_item.added").describe("The type of the event, always `response.output_item.added`."),
|
|
1079
|
+
"sequence_number": z88.number().int().describe("The sequence number of the event that was emitted."),
|
|
1080
|
+
"output_index": z88.number().int().describe("The index of the output item that was added."),
|
|
1081
|
+
"item": z88.union([z88.lazy(() => itemFieldSchema).and(z88.any()), z88.null()])
|
|
1082
|
+
}).describe("A streaming event that indicated an output item was added to the response.");
|
|
1083
|
+
|
|
1084
|
+
// src/gen/zod/responseOutputItemDoneStreamingEventSchema.ts
|
|
1085
|
+
import { z as z89 } from "zod";
|
|
1086
|
+
var responseOutputItemDoneStreamingEventSchema = z89.object({
|
|
1087
|
+
"type": z89.enum(["response.output_item.done"]).default("response.output_item.done").describe("The type of the event, always `response.output_item.done`."),
|
|
1088
|
+
"sequence_number": z89.number().int().describe("The sequence number of the event that was emitted."),
|
|
1089
|
+
"output_index": z89.number().int().describe("The index of the output item that was completed."),
|
|
1090
|
+
"item": z89.union([z89.lazy(() => itemFieldSchema).and(z89.any()), z89.null()])
|
|
1091
|
+
}).describe("A streaming event that indicated an output item was completed.");
|
|
1092
|
+
|
|
1093
|
+
// src/gen/zod/responseOutputTextAnnotationAddedStreamingEventSchema.ts
|
|
1094
|
+
import { z as z90 } from "zod";
|
|
1095
|
+
var responseOutputTextAnnotationAddedStreamingEventSchema = z90.object({
|
|
1096
|
+
"type": z90.enum(["response.output_text.annotation.added"]).default("response.output_text.annotation.added").describe("The type of the event, always `response.output_text.annotation.added`."),
|
|
1097
|
+
"sequence_number": z90.number().int().describe("The sequence number of the event that was emitted."),
|
|
1098
|
+
"item_id": z90.string().describe("The ID of the item that was updated."),
|
|
1099
|
+
"output_index": z90.number().int().describe("The index of the output item that was updated."),
|
|
1100
|
+
"content_index": z90.number().int().describe("The index of the output text content that was updated."),
|
|
1101
|
+
"annotation_index": z90.number().int().describe("The index of the annotation that was added."),
|
|
1102
|
+
"annotation": z90.union([z90.lazy(() => annotationSchema).and(z90.any()), z90.null()])
|
|
1103
|
+
}).describe("A streaming event that indicated an output text annotation was added.");
|
|
1104
|
+
|
|
1105
|
+
// src/gen/zod/responseOutputTextDeltaStreamingEventSchema.ts
|
|
1106
|
+
import { z as z91 } from "zod";
|
|
1107
|
+
var responseOutputTextDeltaStreamingEventSchema = z91.object({
|
|
1108
|
+
"type": z91.enum(["response.output_text.delta"]).default("response.output_text.delta").describe("The type of the event, always `response.output_text.delta`."),
|
|
1109
|
+
"sequence_number": z91.number().int().describe("The sequence number of the event that was emitted."),
|
|
1110
|
+
"item_id": z91.string().describe("The ID of the item that was updated."),
|
|
1111
|
+
"output_index": z91.number().int().describe("The index of the output item that was updated."),
|
|
1112
|
+
"content_index": z91.number().int().describe("The index of the content part that was updated."),
|
|
1113
|
+
"delta": z91.string().describe("The text delta that was appended."),
|
|
1114
|
+
"logprobs": z91.array(z91.lazy(() => logProbSchema).describe("The log probability of a token.")).describe("The token log probabilities that were emitted with the delta, if any."),
|
|
1115
|
+
"obfuscation": z91.optional(z91.string().describe("An obfuscation string that was added to pad the event payload."))
|
|
1116
|
+
}).describe("A streaming event that indicated output text was incrementally added.");
|
|
1117
|
+
|
|
1118
|
+
// src/gen/zod/responseOutputTextDoneStreamingEventSchema.ts
|
|
1119
|
+
import { z as z92 } from "zod";
|
|
1120
|
+
var responseOutputTextDoneStreamingEventSchema = z92.object({
|
|
1121
|
+
"type": z92.enum(["response.output_text.done"]).default("response.output_text.done").describe("The type of the event, always `response.output_text.done`."),
|
|
1122
|
+
"sequence_number": z92.number().int().describe("The sequence number of the event that was emitted."),
|
|
1123
|
+
"item_id": z92.string().describe("The ID of the item that was updated."),
|
|
1124
|
+
"output_index": z92.number().int().describe("The index of the output item that was updated."),
|
|
1125
|
+
"content_index": z92.number().int().describe("The index of the content part that was completed."),
|
|
1126
|
+
"text": z92.string().describe("The final text that was emitted."),
|
|
1127
|
+
"logprobs": z92.array(z92.lazy(() => logProbSchema).describe("The log probability of a token.")).describe("The token log probabilities that were emitted with the final text, if any.")
|
|
1128
|
+
}).describe("A streaming event that indicated output text was completed.");
|
|
1129
|
+
|
|
1130
|
+
// src/gen/zod/responseQueuedStreamingEventSchema.ts
|
|
1131
|
+
import { z as z93 } from "zod";
|
|
1132
|
+
var responseQueuedStreamingEventSchema = z93.object({
|
|
1133
|
+
"type": z93.enum(["response.queued"]).default("response.queued").describe("The type of the event, always `response.queued`."),
|
|
1134
|
+
"sequence_number": z93.number().int().describe("The sequence number of the event that was emitted."),
|
|
1135
|
+
"response": z93.lazy(() => responseResourceSchema).and(z93.any())
|
|
1136
|
+
}).describe("A streaming event that indicated the response was queued.");
|
|
1137
|
+
|
|
1138
|
+
// src/gen/zod/responseReasoningDeltaStreamingEventSchema.ts
|
|
1139
|
+
import { z as z94 } from "zod";
|
|
1140
|
+
var responseReasoningDeltaStreamingEventSchema = z94.object({
|
|
1141
|
+
"type": z94.enum(["response.reasoning.delta"]).default("response.reasoning.delta").describe("The type of the event, always `response.reasoning.delta`."),
|
|
1142
|
+
"sequence_number": z94.number().int().describe("The sequence number of the event that was emitted."),
|
|
1143
|
+
"item_id": z94.string().describe("The ID of the item that was updated."),
|
|
1144
|
+
"output_index": z94.number().int().describe("The index of the output item that was updated."),
|
|
1145
|
+
"content_index": z94.number().int().describe("The index of the reasoning content that was updated."),
|
|
1146
|
+
"delta": z94.string().describe("The reasoning text delta that was appended."),
|
|
1147
|
+
"obfuscation": z94.optional(z94.string().describe("An obfuscation string that was added to pad the event payload."))
|
|
1148
|
+
}).describe("A streaming event that indicated reasoning text was incrementally added.");
|
|
1149
|
+
|
|
1150
|
+
// src/gen/zod/responseReasoningDoneStreamingEventSchema.ts
|
|
1151
|
+
import { z as z95 } from "zod";
|
|
1152
|
+
var responseReasoningDoneStreamingEventSchema = z95.object({
|
|
1153
|
+
"type": z95.enum(["response.reasoning.done"]).default("response.reasoning.done").describe("The type of the event, always `response.reasoning.done`."),
|
|
1154
|
+
"sequence_number": z95.number().int().describe("The sequence number of the event that was emitted."),
|
|
1155
|
+
"item_id": z95.string().describe("The ID of the item that was updated."),
|
|
1156
|
+
"output_index": z95.number().int().describe("The index of the output item that was updated."),
|
|
1157
|
+
"content_index": z95.number().int().describe("The index of the reasoning content that was completed."),
|
|
1158
|
+
"text": z95.string().describe("The final reasoning text that was emitted.")
|
|
1159
|
+
}).describe("A streaming event that indicated reasoning text was completed.");
|
|
1160
|
+
|
|
1161
|
+
// src/gen/zod/responseReasoningSummaryDeltaStreamingEventSchema.ts
|
|
1162
|
+
import { z as z96 } from "zod";
|
|
1163
|
+
var responseReasoningSummaryDeltaStreamingEventSchema = z96.object({
|
|
1164
|
+
"type": z96.enum(["response.reasoning_summary_text.delta"]).default("response.reasoning_summary_text.delta").describe("The type of the event, always `response.reasoning_summary.delta`."),
|
|
1165
|
+
"sequence_number": z96.number().int().describe("The sequence number of the event that was emitted."),
|
|
1166
|
+
"item_id": z96.string().describe("The ID of the item that was updated."),
|
|
1167
|
+
"output_index": z96.number().int().describe("The index of the output item that was updated."),
|
|
1168
|
+
"summary_index": z96.number().int().describe("The index of the summary content that was updated."),
|
|
1169
|
+
"delta": z96.string().describe("The summary text delta that was appended."),
|
|
1170
|
+
"obfuscation": z96.optional(z96.string().describe("An obfuscation string that was added to pad the event payload."))
|
|
1171
|
+
}).describe("A streaming event that indicated a reasoning summary was incrementally added.");
|
|
1172
|
+
|
|
1173
|
+
// src/gen/zod/responseReasoningSummaryDoneStreamingEventSchema.ts
|
|
1174
|
+
import { z as z97 } from "zod";
|
|
1175
|
+
var responseReasoningSummaryDoneStreamingEventSchema = z97.object({
|
|
1176
|
+
"type": z97.enum(["response.reasoning_summary_text.done"]).default("response.reasoning_summary_text.done").describe("The type of the event, always `response.reasoning_summary.done`."),
|
|
1177
|
+
"sequence_number": z97.number().int().describe("The sequence number of the event that was emitted."),
|
|
1178
|
+
"item_id": z97.string().describe("The ID of the item that was updated."),
|
|
1179
|
+
"output_index": z97.number().int().describe("The index of the output item that was updated."),
|
|
1180
|
+
"summary_index": z97.number().int().describe("The index of the summary content that was completed."),
|
|
1181
|
+
"text": z97.string().describe("The final summary text that was emitted.")
|
|
1182
|
+
}).describe("A streaming event that indicated a reasoning summary was completed.");
|
|
1183
|
+
|
|
1184
|
+
// src/gen/zod/responseReasoningSummaryPartAddedStreamingEventSchema.ts
|
|
1185
|
+
import { z as z98 } from "zod";
|
|
1186
|
+
var responseReasoningSummaryPartAddedStreamingEventSchema = z98.object({
|
|
1187
|
+
"type": z98.enum(["response.reasoning_summary_part.added"]).default("response.reasoning_summary_part.added").describe("The type of the event, always `response.reasoning_summary_part.added`."),
|
|
1188
|
+
"sequence_number": z98.number().int().describe("The sequence number of the event that was emitted."),
|
|
1189
|
+
"item_id": z98.string().describe("The ID of the item that was updated."),
|
|
1190
|
+
"output_index": z98.number().int().describe("The index of the output item that was updated."),
|
|
1191
|
+
"summary_index": z98.number().int().describe("The index of the summary part that was added."),
|
|
1192
|
+
"part": z98.union([z98.lazy(() => inputTextContentSchema).and(z98.object({
|
|
1193
|
+
"type": z98.literal("input_text")
|
|
1194
|
+
})), z98.lazy(() => outputTextContentSchema).and(z98.object({
|
|
1195
|
+
"type": z98.literal("output_text")
|
|
1196
|
+
})), z98.lazy(() => textContentSchema).and(z98.object({
|
|
1197
|
+
"type": z98.literal("text")
|
|
1198
|
+
})), z98.lazy(() => summaryTextContentSchema).and(z98.object({
|
|
1199
|
+
"type": z98.literal("summary_text")
|
|
1200
|
+
})), z98.lazy(() => reasoningTextContentSchema).and(z98.object({
|
|
1201
|
+
"type": z98.literal("reasoning_text")
|
|
1202
|
+
})), z98.lazy(() => refusalContentSchema).and(z98.object({
|
|
1203
|
+
"type": z98.literal("refusal")
|
|
1204
|
+
})), z98.lazy(() => inputImageContentSchema).and(z98.object({
|
|
1205
|
+
"type": z98.literal("input_image")
|
|
1206
|
+
})), z98.lazy(() => inputFileContentSchema).and(z98.object({
|
|
1207
|
+
"type": z98.literal("input_file")
|
|
1208
|
+
}))]).describe("A content part that makes up an input or output item.")
|
|
1209
|
+
}).describe("A streaming event that indicated a reasoning summary part was added.");
|
|
1210
|
+
|
|
1211
|
+
// src/gen/zod/responseReasoningSummaryPartDoneStreamingEventSchema.ts
|
|
1212
|
+
import { z as z99 } from "zod";
|
|
1213
|
+
var responseReasoningSummaryPartDoneStreamingEventSchema = z99.object({
|
|
1214
|
+
"type": z99.enum(["response.reasoning_summary_part.done"]).default("response.reasoning_summary_part.done").describe("The type of the event, always `response.reasoning_summary_part.done`."),
|
|
1215
|
+
"sequence_number": z99.number().int().describe("The sequence number of the event that was emitted."),
|
|
1216
|
+
"item_id": z99.string().describe("The ID of the item that was updated."),
|
|
1217
|
+
"output_index": z99.number().int().describe("The index of the output item that was updated."),
|
|
1218
|
+
"summary_index": z99.number().int().describe("The index of the summary part that was completed."),
|
|
1219
|
+
"part": z99.union([z99.lazy(() => inputTextContentSchema).and(z99.object({
|
|
1220
|
+
"type": z99.literal("input_text")
|
|
1221
|
+
})), z99.lazy(() => outputTextContentSchema).and(z99.object({
|
|
1222
|
+
"type": z99.literal("output_text")
|
|
1223
|
+
})), z99.lazy(() => textContentSchema).and(z99.object({
|
|
1224
|
+
"type": z99.literal("text")
|
|
1225
|
+
})), z99.lazy(() => summaryTextContentSchema).and(z99.object({
|
|
1226
|
+
"type": z99.literal("summary_text")
|
|
1227
|
+
})), z99.lazy(() => reasoningTextContentSchema).and(z99.object({
|
|
1228
|
+
"type": z99.literal("reasoning_text")
|
|
1229
|
+
})), z99.lazy(() => refusalContentSchema).and(z99.object({
|
|
1230
|
+
"type": z99.literal("refusal")
|
|
1231
|
+
})), z99.lazy(() => inputImageContentSchema).and(z99.object({
|
|
1232
|
+
"type": z99.literal("input_image")
|
|
1233
|
+
})), z99.lazy(() => inputFileContentSchema).and(z99.object({
|
|
1234
|
+
"type": z99.literal("input_file")
|
|
1235
|
+
}))]).describe("A content part that makes up an input or output item.")
|
|
1236
|
+
}).describe("A streaming event that indicated a reasoning summary part was completed.");
|
|
1237
|
+
|
|
1238
|
+
// src/gen/zod/responseRefusalDeltaStreamingEventSchema.ts
|
|
1239
|
+
import { z as z100 } from "zod";
|
|
1240
|
+
var responseRefusalDeltaStreamingEventSchema = z100.object({
|
|
1241
|
+
"type": z100.enum(["response.refusal.delta"]).default("response.refusal.delta").describe("The type of the event, always `response.refusal.delta`."),
|
|
1242
|
+
"sequence_number": z100.number().int().describe("The sequence number of the event that was emitted."),
|
|
1243
|
+
"item_id": z100.string().describe("The ID of the item that was updated."),
|
|
1244
|
+
"output_index": z100.number().int().describe("The index of the output item that was updated."),
|
|
1245
|
+
"content_index": z100.number().int().describe("The index of the refusal content that was updated."),
|
|
1246
|
+
"delta": z100.string().describe("The refusal text delta that was appended.")
|
|
1247
|
+
}).describe("A streaming event that indicated refusal text was incrementally added.");
|
|
1248
|
+
|
|
1249
|
+
// src/gen/zod/responseRefusalDoneStreamingEventSchema.ts
|
|
1250
|
+
import { z as z101 } from "zod";
|
|
1251
|
+
var responseRefusalDoneStreamingEventSchema = z101.object({
|
|
1252
|
+
"type": z101.enum(["response.refusal.done"]).default("response.refusal.done").describe("The type of the event, always `response.refusal.done`."),
|
|
1253
|
+
"sequence_number": z101.number().int().describe("The sequence number of the event that was emitted."),
|
|
1254
|
+
"item_id": z101.string().describe("The ID of the item that was updated."),
|
|
1255
|
+
"output_index": z101.number().int().describe("The index of the output item that was updated."),
|
|
1256
|
+
"content_index": z101.number().int().describe("The index of the refusal content that was completed."),
|
|
1257
|
+
"refusal": z101.string().describe("The final refusal text that was emitted.")
|
|
1258
|
+
}).describe("A streaming event that indicated refusal text was completed.");
|
|
1259
|
+
|
|
1260
|
+
// src/gen/zod/systemMessageItemParamSchema.ts
|
|
1261
|
+
import { z as z102 } from "zod";
|
|
1262
|
+
var systemMessageItemParamSchema = z102.object({
|
|
1263
|
+
"id": z102.optional(z102.union([z102.string(), z102.null()])),
|
|
1264
|
+
"type": z102.enum(["message"]).default("message").describe("The item type. Always `message`."),
|
|
1265
|
+
"role": z102.enum(["system"]).default("system").describe("The message role. Always `system`."),
|
|
1266
|
+
"content": z102.union([z102.array(z102.lazy(() => inputTextContentParamSchema).and(z102.object({
|
|
1267
|
+
"type": z102.literal("input_text")
|
|
1268
|
+
}))), z102.string()]).describe("The message content, as an array of content parts."),
|
|
1269
|
+
"status": z102.optional(z102.union([z102.string(), z102.null()]))
|
|
1270
|
+
});
|
|
1271
|
+
|
|
1272
|
+
// src/gen/zod/userMessageItemParamSchema.ts
|
|
1273
|
+
import { z as z103 } from "zod";
|
|
1274
|
+
var userMessageItemParamSchema = z103.object({
|
|
1275
|
+
"id": z103.optional(z103.union([z103.string(), z103.null()])),
|
|
1276
|
+
"type": z103.enum(["message"]).default("message").describe("The item type. Always `message`."),
|
|
1277
|
+
"role": z103.enum(["user"]).default("user").describe("The message role. Always `user`."),
|
|
1278
|
+
"content": z103.union([z103.array(z103.union([z103.lazy(() => inputTextContentParamSchema).and(z103.object({
|
|
1279
|
+
"type": z103.literal("input_text")
|
|
1280
|
+
})), z103.lazy(() => inputImageContentParamAutoParamSchema).and(z103.object({
|
|
1281
|
+
"type": z103.literal("input_image")
|
|
1282
|
+
})), z103.lazy(() => inputFileContentParamSchema).and(z103.object({
|
|
1283
|
+
"type": z103.literal("input_file")
|
|
1284
|
+
}))]).describe("A piece of message content, such as text, an image, or a file.")), z103.string()]).describe("The message content, as an array of content parts."),
|
|
1285
|
+
"status": z103.optional(z103.union([z103.string(), z103.null()]))
|
|
1286
|
+
});
|
|
1287
|
+
export {
|
|
1288
|
+
allowedToolChoiceSchema,
|
|
1289
|
+
allowedToolChoiceTypeEnum,
|
|
1290
|
+
allowedToolsParamSchema,
|
|
1291
|
+
allowedToolsParamTypeEnum,
|
|
1292
|
+
annotationSchema,
|
|
1293
|
+
assistantMessageItemParamRoleEnum,
|
|
1294
|
+
assistantMessageItemParamSchema,
|
|
1295
|
+
assistantMessageItemParamTypeEnum,
|
|
1296
|
+
createResponseBodySchema,
|
|
1297
|
+
createresponse200Schema,
|
|
1298
|
+
createresponseMutationRequestSchema,
|
|
1299
|
+
createresponseMutationResponseSchema,
|
|
1300
|
+
detailEnumEnum,
|
|
1301
|
+
detailEnumSchema,
|
|
1302
|
+
developerMessageItemParamRoleEnum,
|
|
1303
|
+
developerMessageItemParamSchema,
|
|
1304
|
+
developerMessageItemParamTypeEnum,
|
|
1305
|
+
emptyModelParamSchema,
|
|
1306
|
+
errorPayloadSchema,
|
|
1307
|
+
errorSchema,
|
|
1308
|
+
errorStreamingEventSchema,
|
|
1309
|
+
errorStreamingEventTypeEnum,
|
|
1310
|
+
functionCallItemParamSchema,
|
|
1311
|
+
functionCallItemParamTypeEnum,
|
|
1312
|
+
functionCallItemStatusEnum,
|
|
1313
|
+
functionCallItemStatusSchema,
|
|
1314
|
+
functionCallOutputItemParamSchema,
|
|
1315
|
+
functionCallOutputItemParamTypeEnum,
|
|
1316
|
+
functionCallOutputSchema,
|
|
1317
|
+
functionCallOutputStatusEnumEnum,
|
|
1318
|
+
functionCallOutputStatusEnumSchema,
|
|
1319
|
+
functionCallOutputTypeEnum,
|
|
1320
|
+
functionCallSchema,
|
|
1321
|
+
functionCallStatusEnum,
|
|
1322
|
+
functionCallStatusSchema,
|
|
1323
|
+
functionCallTypeEnum,
|
|
1324
|
+
functionToolChoiceSchema,
|
|
1325
|
+
functionToolChoiceTypeEnum,
|
|
1326
|
+
functionToolParamSchema,
|
|
1327
|
+
functionToolParamTypeEnum,
|
|
1328
|
+
functionToolSchema,
|
|
1329
|
+
functionToolTypeEnum,
|
|
1330
|
+
imageDetailEnum,
|
|
1331
|
+
imageDetailSchema,
|
|
1332
|
+
includeEnumEnum,
|
|
1333
|
+
includeEnumSchema,
|
|
1334
|
+
incompleteDetailsSchema,
|
|
1335
|
+
inputFileContentParamSchema,
|
|
1336
|
+
inputFileContentParamTypeEnum,
|
|
1337
|
+
inputFileContentSchema,
|
|
1338
|
+
inputFileContentTypeEnum,
|
|
1339
|
+
inputImageContentParamAutoParamSchema,
|
|
1340
|
+
inputImageContentParamAutoParamTypeEnum,
|
|
1341
|
+
inputImageContentSchema,
|
|
1342
|
+
inputImageContentTypeEnum,
|
|
1343
|
+
inputTextContentParamSchema,
|
|
1344
|
+
inputTextContentParamTypeEnum,
|
|
1345
|
+
inputTextContentSchema,
|
|
1346
|
+
inputTextContentTypeEnum,
|
|
1347
|
+
inputTokensDetailsSchema,
|
|
1348
|
+
inputVideoContentSchema,
|
|
1349
|
+
inputVideoContentTypeEnum,
|
|
1350
|
+
itemFieldSchema,
|
|
1351
|
+
itemParamSchema,
|
|
1352
|
+
itemReferenceParamSchema,
|
|
1353
|
+
itemReferenceParamTypeEnum,
|
|
1354
|
+
jsonObjectResponseFormatSchema,
|
|
1355
|
+
jsonObjectResponseFormatTypeEnum,
|
|
1356
|
+
jsonSchemaResponseFormatParamSchema,
|
|
1357
|
+
jsonSchemaResponseFormatParamTypeEnum,
|
|
1358
|
+
jsonSchemaResponseFormatSchema,
|
|
1359
|
+
jsonSchemaResponseFormatTypeEnum,
|
|
1360
|
+
logProbSchema,
|
|
1361
|
+
messageRoleEnum,
|
|
1362
|
+
messageRoleSchema,
|
|
1363
|
+
messageSchema,
|
|
1364
|
+
messageStatusEnum,
|
|
1365
|
+
messageStatusSchema,
|
|
1366
|
+
messageTypeEnum,
|
|
1367
|
+
metadataParamSchema,
|
|
1368
|
+
outputTextContentParamSchema,
|
|
1369
|
+
outputTextContentParamTypeEnum,
|
|
1370
|
+
outputTextContentSchema,
|
|
1371
|
+
outputTextContentTypeEnum,
|
|
1372
|
+
outputTokensDetailsSchema,
|
|
1373
|
+
reasoningBodySchema,
|
|
1374
|
+
reasoningBodyTypeEnum,
|
|
1375
|
+
reasoningEffortEnumEnum,
|
|
1376
|
+
reasoningEffortEnumSchema,
|
|
1377
|
+
reasoningItemParamSchema,
|
|
1378
|
+
reasoningItemParamTypeEnum,
|
|
1379
|
+
reasoningParamSchema,
|
|
1380
|
+
reasoningSchema,
|
|
1381
|
+
reasoningSummaryContentParamSchema,
|
|
1382
|
+
reasoningSummaryContentParamTypeEnum,
|
|
1383
|
+
reasoningSummaryEnumEnum,
|
|
1384
|
+
reasoningSummaryEnumSchema,
|
|
1385
|
+
reasoningTextContentSchema,
|
|
1386
|
+
reasoningTextContentTypeEnum,
|
|
1387
|
+
refusalContentParamSchema,
|
|
1388
|
+
refusalContentParamTypeEnum,
|
|
1389
|
+
refusalContentSchema,
|
|
1390
|
+
refusalContentTypeEnum,
|
|
1391
|
+
responseCompletedStreamingEventSchema,
|
|
1392
|
+
responseCompletedStreamingEventTypeEnum,
|
|
1393
|
+
responseContentPartAddedStreamingEventSchema,
|
|
1394
|
+
responseContentPartAddedStreamingEventTypeEnum,
|
|
1395
|
+
responseContentPartDoneStreamingEventSchema,
|
|
1396
|
+
responseContentPartDoneStreamingEventTypeEnum,
|
|
1397
|
+
responseCreatedStreamingEventSchema,
|
|
1398
|
+
responseCreatedStreamingEventTypeEnum,
|
|
1399
|
+
responseFailedStreamingEventSchema,
|
|
1400
|
+
responseFailedStreamingEventTypeEnum,
|
|
1401
|
+
responseFunctionCallArgumentsDeltaStreamingEventSchema,
|
|
1402
|
+
responseFunctionCallArgumentsDeltaStreamingEventTypeEnum,
|
|
1403
|
+
responseFunctionCallArgumentsDoneStreamingEventSchema,
|
|
1404
|
+
responseFunctionCallArgumentsDoneStreamingEventTypeEnum,
|
|
1405
|
+
responseInProgressStreamingEventSchema,
|
|
1406
|
+
responseInProgressStreamingEventTypeEnum,
|
|
1407
|
+
responseIncompleteStreamingEventSchema,
|
|
1408
|
+
responseIncompleteStreamingEventTypeEnum,
|
|
1409
|
+
responseOutputItemAddedStreamingEventSchema,
|
|
1410
|
+
responseOutputItemAddedStreamingEventTypeEnum,
|
|
1411
|
+
responseOutputItemDoneStreamingEventSchema,
|
|
1412
|
+
responseOutputItemDoneStreamingEventTypeEnum,
|
|
1413
|
+
responseOutputTextAnnotationAddedStreamingEventSchema,
|
|
1414
|
+
responseOutputTextAnnotationAddedStreamingEventTypeEnum,
|
|
1415
|
+
responseOutputTextDeltaStreamingEventSchema,
|
|
1416
|
+
responseOutputTextDeltaStreamingEventTypeEnum,
|
|
1417
|
+
responseOutputTextDoneStreamingEventSchema,
|
|
1418
|
+
responseOutputTextDoneStreamingEventTypeEnum,
|
|
1419
|
+
responseQueuedStreamingEventSchema,
|
|
1420
|
+
responseQueuedStreamingEventTypeEnum,
|
|
1421
|
+
responseReasoningDeltaStreamingEventSchema,
|
|
1422
|
+
responseReasoningDeltaStreamingEventTypeEnum,
|
|
1423
|
+
responseReasoningDoneStreamingEventSchema,
|
|
1424
|
+
responseReasoningDoneStreamingEventTypeEnum,
|
|
1425
|
+
responseReasoningSummaryDeltaStreamingEventSchema,
|
|
1426
|
+
responseReasoningSummaryDeltaStreamingEventTypeEnum,
|
|
1427
|
+
responseReasoningSummaryDoneStreamingEventSchema,
|
|
1428
|
+
responseReasoningSummaryDoneStreamingEventTypeEnum,
|
|
1429
|
+
responseReasoningSummaryPartAddedStreamingEventSchema,
|
|
1430
|
+
responseReasoningSummaryPartAddedStreamingEventTypeEnum,
|
|
1431
|
+
responseReasoningSummaryPartDoneStreamingEventSchema,
|
|
1432
|
+
responseReasoningSummaryPartDoneStreamingEventTypeEnum,
|
|
1433
|
+
responseRefusalDeltaStreamingEventSchema,
|
|
1434
|
+
responseRefusalDeltaStreamingEventTypeEnum,
|
|
1435
|
+
responseRefusalDoneStreamingEventSchema,
|
|
1436
|
+
responseRefusalDoneStreamingEventTypeEnum,
|
|
1437
|
+
responseResourceObjectEnum,
|
|
1438
|
+
responseResourceSchema,
|
|
1439
|
+
responsesToolParamSchema,
|
|
1440
|
+
serviceTierEnumEnum,
|
|
1441
|
+
serviceTierEnumSchema,
|
|
1442
|
+
specificFunctionParamSchema,
|
|
1443
|
+
specificFunctionParamTypeEnum,
|
|
1444
|
+
specificToolChoiceParamSchema,
|
|
1445
|
+
streamOptionsParamSchema,
|
|
1446
|
+
summaryTextContentSchema,
|
|
1447
|
+
summaryTextContentTypeEnum,
|
|
1448
|
+
systemMessageItemParamRoleEnum,
|
|
1449
|
+
systemMessageItemParamSchema,
|
|
1450
|
+
systemMessageItemParamTypeEnum,
|
|
1451
|
+
textContentSchema,
|
|
1452
|
+
textContentTypeEnum,
|
|
1453
|
+
textFieldSchema,
|
|
1454
|
+
textFormatParamSchema,
|
|
1455
|
+
textParamSchema,
|
|
1456
|
+
textResponseFormatSchema,
|
|
1457
|
+
textResponseFormatTypeEnum,
|
|
1458
|
+
toolChoiceParamSchema,
|
|
1459
|
+
toolChoiceValueEnumEnum,
|
|
1460
|
+
toolChoiceValueEnumSchema,
|
|
1461
|
+
toolSchema,
|
|
1462
|
+
topLogProbSchema,
|
|
1463
|
+
truncationEnumEnum,
|
|
1464
|
+
truncationEnumSchema,
|
|
1465
|
+
urlCitationBodySchema,
|
|
1466
|
+
urlCitationBodyTypeEnum,
|
|
1467
|
+
urlCitationParamSchema,
|
|
1468
|
+
urlCitationParamTypeEnum,
|
|
1469
|
+
usageSchema,
|
|
1470
|
+
userMessageItemParamRoleEnum,
|
|
1471
|
+
userMessageItemParamSchema,
|
|
1472
|
+
userMessageItemParamTypeEnum,
|
|
1473
|
+
verbosityEnumEnum,
|
|
1474
|
+
verbosityEnumSchema
|
|
1475
|
+
};
|