tekimax-ts 0.1.7 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +113 -26
- package/dist/adapter-BtbeHotF.d.cts +81 -0
- package/dist/adapter-BtbeHotF.d.ts +81 -0
- package/dist/adapter-C5iFgx6o.d.cts +162 -0
- package/dist/adapter-C5iFgx6o.d.ts +162 -0
- package/dist/adapter-CMu9Gvvm.d.cts +81 -0
- package/dist/adapter-CMu9Gvvm.d.ts +81 -0
- package/dist/adapter-DeUJcFAn.d.cts +43 -0
- package/dist/adapter-DeUJcFAn.d.ts +43 -0
- package/dist/adapter-K9NFtBg8.d.cts +81 -0
- package/dist/adapter-K9NFtBg8.d.ts +81 -0
- package/dist/adapter-TuDzMu0Y.d.cts +43 -0
- package/dist/adapter-TuDzMu0Y.d.ts +43 -0
- package/dist/adapter-YcdKK3By.d.cts +63 -0
- package/dist/adapter-YcdKK3By.d.ts +63 -0
- package/dist/adapter-xdRwibId.d.cts +144 -0
- package/dist/adapter-xdRwibId.d.ts +144 -0
- package/dist/adapter-zXqUGXCx.d.cts +81 -0
- package/dist/adapter-zXqUGXCx.d.ts +81 -0
- package/dist/chunk-MLKGABMK.js +9 -0
- package/dist/gen/index.js +1572 -378
- package/dist/gen/types.js +290 -201
- package/dist/gen/zod/allowedToolChoiceSchema.js +17 -13
- package/dist/gen/zod/allowedToolsParamSchema.js +28 -13
- package/dist/gen/zod/annotationSchema.js +16 -11
- package/dist/gen/zod/assistantMessageItemParamSchema.js +52 -19
- package/dist/gen/zod/createResponseBodySchema.js +142 -44
- package/dist/gen/zod/createresponseSchema.js +23 -12
- package/dist/gen/zod/detailEnumSchema.js +8 -8
- package/dist/gen/zod/developerMessageItemParamSchema.js +35 -16
- package/dist/gen/zod/emptyModelParamSchema.js +8 -8
- package/dist/gen/zod/errorPayloadSchema.js +27 -14
- package/dist/gen/zod/errorSchema.js +17 -11
- package/dist/gen/zod/errorStreamingEventSchema.js +23 -13
- package/dist/gen/zod/functionCallItemParamSchema.js +38 -15
- package/dist/gen/zod/functionCallItemStatusSchema.js +12 -8
- package/dist/gen/zod/functionCallOutputItemParamSchema.js +90 -27
- package/dist/gen/zod/functionCallOutputSchema.js +67 -24
- package/dist/gen/zod/functionCallOutputStatusEnumSchema.js +12 -8
- package/dist/gen/zod/functionCallSchema.js +29 -16
- package/dist/gen/zod/functionCallStatusSchema.js +12 -8
- package/dist/gen/zod/functionToolChoiceSchema.js +10 -10
- package/dist/gen/zod/functionToolParamSchema.js +25 -14
- package/dist/gen/zod/functionToolSchema.js +24 -14
- package/dist/gen/zod/imageDetailSchema.js +8 -8
- package/dist/gen/zod/includeEnumSchema.js +11 -8
- package/dist/gen/zod/incompleteDetailsSchema.js +14 -10
- package/dist/gen/zod/index.js +871 -213
- package/dist/gen/zod/inputFileContentParamSchema.js +24 -13
- package/dist/gen/zod/inputFileContentSchema.js +23 -12
- package/dist/gen/zod/inputImageContentParamAutoParamSchema.js +29 -13
- package/dist/gen/zod/inputImageContentSchema.js +22 -13
- package/dist/gen/zod/inputTextContentParamSchema.js +19 -11
- package/dist/gen/zod/inputTextContentSchema.js +16 -11
- package/dist/gen/zod/inputTokensDetailsSchema.js +15 -10
- package/dist/gen/zod/inputVideoContentSchema.js +17 -11
- package/dist/gen/zod/itemFieldSchema.js +45 -20
- package/dist/gen/zod/itemParamSchema.js +55 -23
- package/dist/gen/zod/itemReferenceParamSchema.js +15 -11
- package/dist/gen/zod/jsonObjectResponseFormatSchema.js +9 -9
- package/dist/gen/zod/jsonSchemaResponseFormatParamSchema.js +38 -13
- package/dist/gen/zod/jsonSchemaResponseFormatSchema.js +13 -13
- package/dist/gen/zod/logProbSchema.js +20 -14
- package/dist/gen/zod/messageRoleSchema.js +13 -8
- package/dist/gen/zod/messageSchema.js +109 -43
- package/dist/gen/zod/messageStatusSchema.js +12 -8
- package/dist/gen/zod/metadataParamSchema.js +13 -8
- package/dist/gen/zod/outputTextContentParamSchema.js +21 -12
- package/dist/gen/zod/outputTextContentSchema.js +30 -15
- package/dist/gen/zod/outputTokensDetailsSchema.js +17 -10
- package/dist/gen/zod/reasoningBodySchema.js +173 -54
- package/dist/gen/zod/reasoningEffortEnumSchema.js +14 -8
- package/dist/gen/zod/reasoningItemParamSchema.js +26 -14
- package/dist/gen/zod/reasoningParamSchema.js +33 -13
- package/dist/gen/zod/reasoningSchema.js +27 -13
- package/dist/gen/zod/reasoningSummaryContentParamSchema.js +13 -10
- package/dist/gen/zod/reasoningSummaryEnumSchema.js +12 -8
- package/dist/gen/zod/reasoningTextContentSchema.js +16 -11
- package/dist/gen/zod/refusalContentParamSchema.js +13 -10
- package/dist/gen/zod/refusalContentSchema.js +18 -11
- package/dist/gen/zod/responseCompletedStreamingEventSchema.js +23 -13
- package/dist/gen/zod/responseContentPartAddedStreamingEventSchema.js +98 -39
- package/dist/gen/zod/responseContentPartDoneStreamingEventSchema.js +98 -39
- package/dist/gen/zod/responseCreatedStreamingEventSchema.js +23 -13
- package/dist/gen/zod/responseFailedStreamingEventSchema.js +23 -13
- package/dist/gen/zod/responseFunctionCallArgumentsDeltaStreamingEventSchema.js +38 -15
- package/dist/gen/zod/responseFunctionCallArgumentsDoneStreamingEventSchema.js +33 -14
- package/dist/gen/zod/responseInProgressStreamingEventSchema.js +23 -13
- package/dist/gen/zod/responseIncompleteStreamingEventSchema.js +23 -13
- package/dist/gen/zod/responseOutputItemAddedStreamingEventSchema.js +32 -14
- package/dist/gen/zod/responseOutputItemDoneStreamingEventSchema.js +30 -14
- package/dist/gen/zod/responseOutputTextAnnotationAddedStreamingEventSchema.js +43 -17
- package/dist/gen/zod/responseOutputTextDeltaStreamingEventSchema.js +48 -18
- package/dist/gen/zod/responseOutputTextDoneStreamingEventSchema.js +39 -17
- package/dist/gen/zod/responseQueuedStreamingEventSchema.js +23 -13
- package/dist/gen/zod/responseReasoningDeltaStreamingEventSchema.js +40 -16
- package/dist/gen/zod/responseReasoningDoneStreamingEventSchema.js +31 -15
- package/dist/gen/zod/responseReasoningSummaryDeltaStreamingEventSchema.js +42 -16
- package/dist/gen/zod/responseReasoningSummaryDoneStreamingEventSchema.js +33 -15
- package/dist/gen/zod/responseReasoningSummaryPartAddedStreamingEventSchema.js +102 -39
- package/dist/gen/zod/responseReasoningSummaryPartDoneStreamingEventSchema.js +102 -39
- package/dist/gen/zod/responseRefusalDeltaStreamingEventSchema.js +33 -15
- package/dist/gen/zod/responseRefusalDoneStreamingEventSchema.js +31 -15
- package/dist/gen/zod/responseResourceSchema.js +146 -51
- package/dist/gen/zod/responsesToolParamSchema.js +15 -11
- package/dist/gen/zod/serviceTierEnumSchema.js +13 -8
- package/dist/gen/zod/specificFunctionParamSchema.js +13 -10
- package/dist/gen/zod/specificToolChoiceParamSchema.js +11 -9
- package/dist/gen/zod/streamOptionsParamSchema.js +18 -10
- package/dist/gen/zod/summaryTextContentSchema.js +18 -11
- package/dist/gen/zod/systemMessageItemParamSchema.js +35 -16
- package/dist/gen/zod/textContentSchema.js +13 -11
- package/dist/gen/zod/textFieldSchema.js +24 -14
- package/dist/gen/zod/textFormatParamSchema.js +16 -10
- package/dist/gen/zod/textParamSchema.js +23 -12
- package/dist/gen/zod/textResponseFormatSchema.js +9 -9
- package/dist/gen/zod/toolChoiceParamSchema.js +21 -11
- package/dist/gen/zod/toolChoiceValueEnumSchema.js +8 -8
- package/dist/gen/zod/toolSchema.js +16 -11
- package/dist/gen/zod/topLogProbSchema.js +14 -12
- package/dist/gen/zod/truncationEnumSchema.js +8 -8
- package/dist/gen/zod/urlCitationBodySchema.js +29 -14
- package/dist/gen/zod/urlCitationParamSchema.js +28 -13
- package/dist/gen/zod/usageSchema.js +35 -16
- package/dist/gen/zod/userMessageItemParamSchema.js +64 -22
- package/dist/gen/zod/verbosityEnumSchema.js +8 -8
- package/dist/index.cjs +1574 -0
- package/dist/index.d.cts +2823 -0
- package/dist/index.d.mts +51000 -31111
- package/dist/index.d.ts +407 -29296
- package/dist/index.js +1136 -1405
- package/dist/index.mjs +2441 -1010
- package/dist/react/index.cjs +216 -0
- package/dist/react/index.d.cts +25 -0
- package/dist/react/index.d.ts +25 -0
- package/dist/react/index.js +191 -0
- package/dist/tekimax-C-DJ0z27.d.cts +283 -0
- package/dist/tekimax-C-DJ0z27.d.ts +283 -0
- package/package.json +47 -9
- package/.dockerignore +0 -5
- package/Dockerfile +0 -25
- package/kubb.config.js +0 -30
- package/kubb.config.ts +0 -35
- package/public/logos/tekimax-logo-ScreenRGB-2.png +0 -0
- package/spec/openapi.json +0 -3876
- package/src/client.ts +0 -129
- package/src/gen/.kubb/config.ts +0 -43
- package/src/gen/client/createresponse.ts +0 -27
- package/src/gen/client/index.ts +0 -1
- package/src/gen/index.ts +0 -187
- package/src/gen/schemas/allowedToolChoice.json +0 -1
- package/src/gen/schemas/allowedToolsParam.json +0 -1
- package/src/gen/schemas/annotation.json +0 -1
- package/src/gen/schemas/assistantMessageItemParam.json +0 -1
- package/src/gen/schemas/createResponseBody.json +0 -1
- package/src/gen/schemas/detailEnum.json +0 -1
- package/src/gen/schemas/developerMessageItemParam.json +0 -1
- package/src/gen/schemas/emptyModelParam.json +0 -1
- package/src/gen/schemas/error.json +0 -1
- package/src/gen/schemas/errorPayload.json +0 -1
- package/src/gen/schemas/errorStreamingEvent.json +0 -1
- package/src/gen/schemas/functionCall.json +0 -1
- package/src/gen/schemas/functionCallItemParam.json +0 -1
- package/src/gen/schemas/functionCallItemStatus.json +0 -1
- package/src/gen/schemas/functionCallOutput.json +0 -1
- package/src/gen/schemas/functionCallOutputItemParam.json +0 -1
- package/src/gen/schemas/functionCallOutputStatusEnum.json +0 -1
- package/src/gen/schemas/functionCallStatus.json +0 -1
- package/src/gen/schemas/functionTool.json +0 -1
- package/src/gen/schemas/functionToolChoice.json +0 -1
- package/src/gen/schemas/functionToolParam.json +0 -1
- package/src/gen/schemas/imageDetail.json +0 -1
- package/src/gen/schemas/includeEnum.json +0 -1
- package/src/gen/schemas/incompleteDetails.json +0 -1
- package/src/gen/schemas/inputFileContent.json +0 -1
- package/src/gen/schemas/inputFileContentParam.json +0 -1
- package/src/gen/schemas/inputImageContent.json +0 -1
- package/src/gen/schemas/inputImageContentParamAutoParam.json +0 -1
- package/src/gen/schemas/inputTextContent.json +0 -1
- package/src/gen/schemas/inputTextContentParam.json +0 -1
- package/src/gen/schemas/inputTokensDetails.json +0 -1
- package/src/gen/schemas/inputVideoContent.json +0 -1
- package/src/gen/schemas/itemField.json +0 -1
- package/src/gen/schemas/itemParam.json +0 -1
- package/src/gen/schemas/itemReferenceParam.json +0 -1
- package/src/gen/schemas/jsonObjectResponseFormat.json +0 -1
- package/src/gen/schemas/jsonSchemaResponseFormat.json +0 -1
- package/src/gen/schemas/jsonSchemaResponseFormatParam.json +0 -1
- package/src/gen/schemas/logProb.json +0 -1
- package/src/gen/schemas/message.json +0 -1
- package/src/gen/schemas/messageRole.json +0 -1
- package/src/gen/schemas/messageStatus.json +0 -1
- package/src/gen/schemas/metadataParam.json +0 -1
- package/src/gen/schemas/outputTextContent.json +0 -1
- package/src/gen/schemas/outputTextContentParam.json +0 -1
- package/src/gen/schemas/outputTokensDetails.json +0 -1
- package/src/gen/schemas/reasoning.json +0 -1
- package/src/gen/schemas/reasoningBody.json +0 -1
- package/src/gen/schemas/reasoningEffortEnum.json +0 -1
- package/src/gen/schemas/reasoningItemParam.json +0 -1
- package/src/gen/schemas/reasoningParam.json +0 -1
- package/src/gen/schemas/reasoningSummaryContentParam.json +0 -1
- package/src/gen/schemas/reasoningSummaryEnum.json +0 -1
- package/src/gen/schemas/reasoningTextContent.json +0 -1
- package/src/gen/schemas/refusalContent.json +0 -1
- package/src/gen/schemas/refusalContentParam.json +0 -1
- package/src/gen/schemas/responseCompletedStreamingEvent.json +0 -1
- package/src/gen/schemas/responseContentPartAddedStreamingEvent.json +0 -1
- package/src/gen/schemas/responseContentPartDoneStreamingEvent.json +0 -1
- package/src/gen/schemas/responseCreatedStreamingEvent.json +0 -1
- package/src/gen/schemas/responseFailedStreamingEvent.json +0 -1
- package/src/gen/schemas/responseFunctionCallArgumentsDeltaStreamingEvent.json +0 -1
- package/src/gen/schemas/responseFunctionCallArgumentsDoneStreamingEvent.json +0 -1
- package/src/gen/schemas/responseInProgressStreamingEvent.json +0 -1
- package/src/gen/schemas/responseIncompleteStreamingEvent.json +0 -1
- package/src/gen/schemas/responseOutputItemAddedStreamingEvent.json +0 -1
- package/src/gen/schemas/responseOutputItemDoneStreamingEvent.json +0 -1
- package/src/gen/schemas/responseOutputTextAnnotationAddedStreamingEvent.json +0 -1
- package/src/gen/schemas/responseOutputTextDeltaStreamingEvent.json +0 -1
- package/src/gen/schemas/responseOutputTextDoneStreamingEvent.json +0 -1
- package/src/gen/schemas/responseQueuedStreamingEvent.json +0 -1
- package/src/gen/schemas/responseReasoningDeltaStreamingEvent.json +0 -1
- package/src/gen/schemas/responseReasoningDoneStreamingEvent.json +0 -1
- package/src/gen/schemas/responseReasoningSummaryDeltaStreamingEvent.json +0 -1
- package/src/gen/schemas/responseReasoningSummaryDoneStreamingEvent.json +0 -1
- package/src/gen/schemas/responseReasoningSummaryPartAddedStreamingEvent.json +0 -1
- package/src/gen/schemas/responseReasoningSummaryPartDoneStreamingEvent.json +0 -1
- package/src/gen/schemas/responseRefusalDeltaStreamingEvent.json +0 -1
- package/src/gen/schemas/responseRefusalDoneStreamingEvent.json +0 -1
- package/src/gen/schemas/responseResource.json +0 -1
- package/src/gen/schemas/responsesToolParam.json +0 -1
- package/src/gen/schemas/serviceTierEnum.json +0 -1
- package/src/gen/schemas/specificFunctionParam.json +0 -1
- package/src/gen/schemas/specificToolChoiceParam.json +0 -1
- package/src/gen/schemas/streamOptionsParam.json +0 -1
- package/src/gen/schemas/summaryTextContent.json +0 -1
- package/src/gen/schemas/systemMessageItemParam.json +0 -1
- package/src/gen/schemas/textContent.json +0 -1
- package/src/gen/schemas/textField.json +0 -1
- package/src/gen/schemas/textFormatParam.json +0 -1
- package/src/gen/schemas/textParam.json +0 -1
- package/src/gen/schemas/textResponseFormat.json +0 -1
- package/src/gen/schemas/tool.json +0 -1
- package/src/gen/schemas/toolChoiceParam.json +0 -1
- package/src/gen/schemas/toolChoiceValueEnum.json +0 -1
- package/src/gen/schemas/topLogProb.json +0 -1
- package/src/gen/schemas/truncationEnum.json +0 -1
- package/src/gen/schemas/urlCitationBody.json +0 -1
- package/src/gen/schemas/urlCitationParam.json +0 -1
- package/src/gen/schemas/usage.json +0 -1
- package/src/gen/schemas/userMessageItemParam.json +0 -1
- package/src/gen/schemas/verbosityEnum.json +0 -1
- package/src/gen/types.ts +0 -2613
- package/src/gen/zod/allowedToolChoiceSchema.ts +0 -14
- package/src/gen/zod/allowedToolsParamSchema.ts +0 -14
- package/src/gen/zod/annotationSchema.ts +0 -14
- package/src/gen/zod/assistantMessageItemParamSchema.ts +0 -20
- package/src/gen/zod/createResponseBodySchema.ts +0 -45
- package/src/gen/zod/createresponseSchema.ts +0 -17
- package/src/gen/zod/detailEnumSchema.ts +0 -8
- package/src/gen/zod/developerMessageItemParamSchema.ts +0 -17
- package/src/gen/zod/emptyModelParamSchema.ts +0 -10
- package/src/gen/zod/errorPayloadSchema.ts +0 -19
- package/src/gen/zod/errorSchema.ts +0 -14
- package/src/gen/zod/errorStreamingEventSchema.ts +0 -16
- package/src/gen/zod/functionCallItemParamSchema.ts +0 -16
- package/src/gen/zod/functionCallItemStatusSchema.ts +0 -8
- package/src/gen/zod/functionCallOutputItemParamSchema.ts +0 -30
- package/src/gen/zod/functionCallOutputSchema.ts +0 -27
- package/src/gen/zod/functionCallOutputStatusEnumSchema.ts +0 -11
- package/src/gen/zod/functionCallSchema.ts +0 -19
- package/src/gen/zod/functionCallStatusSchema.ts +0 -8
- package/src/gen/zod/functionToolChoiceSchema.ts +0 -11
- package/src/gen/zod/functionToolParamSchema.ts +0 -15
- package/src/gen/zod/functionToolSchema.ts +0 -19
- package/src/gen/zod/imageDetailSchema.ts +0 -8
- package/src/gen/zod/includeEnumSchema.ts +0 -8
- package/src/gen/zod/incompleteDetailsSchema.ts +0 -13
- package/src/gen/zod/index.ts +0 -103
- package/src/gen/zod/inputFileContentParamSchema.ts +0 -16
- package/src/gen/zod/inputFileContentSchema.ts +0 -15
- package/src/gen/zod/inputImageContentParamAutoParamSchema.ts +0 -16
- package/src/gen/zod/inputImageContentSchema.ts +0 -16
- package/src/gen/zod/inputTextContentParamSchema.ts +0 -14
- package/src/gen/zod/inputTextContentSchema.ts +0 -14
- package/src/gen/zod/inputTokensDetailsSchema.ts +0 -13
- package/src/gen/zod/inputVideoContentSchema.ts +0 -14
- package/src/gen/zod/itemFieldSchema.ts +0 -23
- package/src/gen/zod/itemParamSchema.ts +0 -23
- package/src/gen/zod/itemReferenceParamSchema.ts +0 -14
- package/src/gen/zod/jsonObjectResponseFormatSchema.ts +0 -10
- package/src/gen/zod/jsonSchemaResponseFormatParamSchema.ts +0 -16
- package/src/gen/zod/jsonSchemaResponseFormatSchema.ts +0 -14
- package/src/gen/zod/logProbSchema.ts +0 -17
- package/src/gen/zod/messageRoleSchema.ts +0 -8
- package/src/gen/zod/messageSchema.ts +0 -46
- package/src/gen/zod/messageStatusSchema.ts +0 -8
- package/src/gen/zod/metadataParamSchema.ts +0 -13
- package/src/gen/zod/outputTextContentParamSchema.ts +0 -13
- package/src/gen/zod/outputTextContentSchema.ts +0 -18
- package/src/gen/zod/outputTokensDetailsSchema.ts +0 -13
- package/src/gen/zod/reasoningBodySchema.ts +0 -57
- package/src/gen/zod/reasoningEffortEnumSchema.ts +0 -8
- package/src/gen/zod/reasoningItemParamSchema.ts +0 -15
- package/src/gen/zod/reasoningParamSchema.ts +0 -16
- package/src/gen/zod/reasoningSchema.ts +0 -16
- package/src/gen/zod/reasoningSummaryContentParamSchema.ts +0 -11
- package/src/gen/zod/reasoningSummaryEnumSchema.ts +0 -8
- package/src/gen/zod/reasoningTextContentSchema.ts +0 -14
- package/src/gen/zod/refusalContentParamSchema.ts +0 -11
- package/src/gen/zod/refusalContentSchema.ts +0 -14
- package/src/gen/zod/responseCompletedStreamingEventSchema.ts +0 -16
- package/src/gen/zod/responseContentPartAddedStreamingEventSchema.ts +0 -42
- package/src/gen/zod/responseContentPartDoneStreamingEventSchema.ts +0 -42
- package/src/gen/zod/responseCreatedStreamingEventSchema.ts +0 -16
- package/src/gen/zod/responseFailedStreamingEventSchema.ts +0 -16
- package/src/gen/zod/responseFunctionCallArgumentsDeltaStreamingEventSchema.ts +0 -18
- package/src/gen/zod/responseFunctionCallArgumentsDoneStreamingEventSchema.ts +0 -17
- package/src/gen/zod/responseInProgressStreamingEventSchema.ts +0 -16
- package/src/gen/zod/responseIncompleteStreamingEventSchema.ts +0 -16
- package/src/gen/zod/responseOutputItemAddedStreamingEventSchema.ts +0 -17
- package/src/gen/zod/responseOutputItemDoneStreamingEventSchema.ts +0 -17
- package/src/gen/zod/responseOutputTextAnnotationAddedStreamingEventSchema.ts +0 -20
- package/src/gen/zod/responseOutputTextDeltaStreamingEventSchema.ts +0 -21
- package/src/gen/zod/responseOutputTextDoneStreamingEventSchema.ts +0 -20
- package/src/gen/zod/responseQueuedStreamingEventSchema.ts +0 -16
- package/src/gen/zod/responseReasoningDeltaStreamingEventSchema.ts +0 -19
- package/src/gen/zod/responseReasoningDoneStreamingEventSchema.ts +0 -18
- package/src/gen/zod/responseReasoningSummaryDeltaStreamingEventSchema.ts +0 -19
- package/src/gen/zod/responseReasoningSummaryDoneStreamingEventSchema.ts +0 -18
- package/src/gen/zod/responseReasoningSummaryPartAddedStreamingEventSchema.ts +0 -42
- package/src/gen/zod/responseReasoningSummaryPartDoneStreamingEventSchema.ts +0 -42
- package/src/gen/zod/responseRefusalDeltaStreamingEventSchema.ts +0 -18
- package/src/gen/zod/responseRefusalDoneStreamingEventSchema.ts +0 -18
- package/src/gen/zod/responseResourceSchema.ts +0 -54
- package/src/gen/zod/responsesToolParamSchema.ts +0 -11
- package/src/gen/zod/serviceTierEnumSchema.ts +0 -8
- package/src/gen/zod/specificFunctionParamSchema.ts +0 -11
- package/src/gen/zod/specificToolChoiceParamSchema.ts +0 -9
- package/src/gen/zod/streamOptionsParamSchema.ts +0 -13
- package/src/gen/zod/summaryTextContentSchema.ts +0 -14
- package/src/gen/zod/systemMessageItemParamSchema.ts +0 -17
- package/src/gen/zod/textContentSchema.ts +0 -14
- package/src/gen/zod/textFieldSchema.ts +0 -15
- package/src/gen/zod/textFormatParamSchema.ts +0 -10
- package/src/gen/zod/textParamSchema.ts +0 -13
- package/src/gen/zod/textResponseFormatSchema.ts +0 -10
- package/src/gen/zod/toolChoiceParamSchema.ts +0 -14
- package/src/gen/zod/toolChoiceValueEnumSchema.ts +0 -8
- package/src/gen/zod/toolSchema.ts +0 -14
- package/src/gen/zod/topLogProbSchema.ts +0 -15
- package/src/gen/zod/truncationEnumSchema.ts +0 -8
- package/src/gen/zod/urlCitationBodySchema.ts +0 -17
- package/src/gen/zod/urlCitationParamSchema.ts +0 -14
- package/src/gen/zod/usageSchema.ts +0 -19
- package/src/gen/zod/userMessageItemParamSchema.ts +0 -23
- package/src/gen/zod/verbosityEnumSchema.ts +0 -8
- package/src/index.ts +0 -3
- package/tsconfig.json +0 -21
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict'
|
|
2
2
|
/**
|
|
3
|
-
* Generated by Kubb (https://kubb.dev/).
|
|
4
|
-
* Do not edit manually.
|
|
5
|
-
*/
|
|
6
|
-
Object.defineProperty(exports,
|
|
7
|
-
exports.messageRoleSchema = void 0
|
|
8
|
-
const zod_1 = require(
|
|
9
|
-
exports.messageRoleSchema = zod_1.z.enum([
|
|
3
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
*/
|
|
6
|
+
Object.defineProperty(exports, '__esModule', { value: true })
|
|
7
|
+
exports.messageRoleSchema = void 0
|
|
8
|
+
const zod_1 = require('zod')
|
|
9
|
+
exports.messageRoleSchema = zod_1.z.enum([
|
|
10
|
+
'user',
|
|
11
|
+
'assistant',
|
|
12
|
+
'system',
|
|
13
|
+
'developer',
|
|
14
|
+
])
|
|
@@ -1,47 +1,113 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict'
|
|
2
2
|
/**
|
|
3
|
-
* Generated by Kubb (https://kubb.dev/).
|
|
4
|
-
* Do not edit manually.
|
|
5
|
-
*/
|
|
6
|
-
Object.defineProperty(exports,
|
|
7
|
-
exports.messageSchema = void 0
|
|
8
|
-
const inputFileContentSchema_ts_1 = require(
|
|
9
|
-
const inputImageContentSchema_ts_1 = require(
|
|
10
|
-
const inputTextContentSchema_ts_1 = require(
|
|
11
|
-
const inputVideoContentSchema_ts_1 = require(
|
|
12
|
-
const messageRoleSchema_ts_1 = require(
|
|
13
|
-
const messageStatusSchema_ts_1 = require(
|
|
14
|
-
const outputTextContentSchema_ts_1 = require(
|
|
15
|
-
const reasoningTextContentSchema_ts_1 = require(
|
|
16
|
-
const refusalContentSchema_ts_1 = require(
|
|
17
|
-
const summaryTextContentSchema_ts_1 = require(
|
|
18
|
-
const textContentSchema_ts_1 = require(
|
|
19
|
-
const zod_1 = require(
|
|
3
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
*/
|
|
6
|
+
Object.defineProperty(exports, '__esModule', { value: true })
|
|
7
|
+
exports.messageSchema = void 0
|
|
8
|
+
const inputFileContentSchema_ts_1 = require('./inputFileContentSchema.ts')
|
|
9
|
+
const inputImageContentSchema_ts_1 = require('./inputImageContentSchema.ts')
|
|
10
|
+
const inputTextContentSchema_ts_1 = require('./inputTextContentSchema.ts')
|
|
11
|
+
const inputVideoContentSchema_ts_1 = require('./inputVideoContentSchema.ts')
|
|
12
|
+
const messageRoleSchema_ts_1 = require('./messageRoleSchema.ts')
|
|
13
|
+
const messageStatusSchema_ts_1 = require('./messageStatusSchema.ts')
|
|
14
|
+
const outputTextContentSchema_ts_1 = require('./outputTextContentSchema.ts')
|
|
15
|
+
const reasoningTextContentSchema_ts_1 = require('./reasoningTextContentSchema.ts')
|
|
16
|
+
const refusalContentSchema_ts_1 = require('./refusalContentSchema.ts')
|
|
17
|
+
const summaryTextContentSchema_ts_1 = require('./summaryTextContentSchema.ts')
|
|
18
|
+
const textContentSchema_ts_1 = require('./textContentSchema.ts')
|
|
19
|
+
const zod_1 = require('zod')
|
|
20
20
|
/**
|
|
21
21
|
* @description A message to or from the model.
|
|
22
22
|
*/
|
|
23
|
-
exports.messageSchema = zod_1.z
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
23
|
+
exports.messageSchema = zod_1.z
|
|
24
|
+
.object({
|
|
25
|
+
type: zod_1.z
|
|
26
|
+
.enum(['message'])
|
|
27
|
+
.default('message')
|
|
28
|
+
.describe('The type of the message. Always set to `message`.'),
|
|
29
|
+
id: zod_1.z.string().describe('The unique ID of the message.'),
|
|
30
|
+
status: zod_1.z
|
|
31
|
+
.lazy(() => messageStatusSchema_ts_1.messageStatusSchema)
|
|
32
|
+
.and(zod_1.z.any()),
|
|
33
|
+
role: zod_1.z
|
|
34
|
+
.lazy(() => messageRoleSchema_ts_1.messageRoleSchema)
|
|
35
|
+
.and(zod_1.z.any()),
|
|
36
|
+
content: zod_1.z
|
|
37
|
+
.array(
|
|
38
|
+
zod_1.z
|
|
39
|
+
.union([
|
|
40
|
+
zod_1.z
|
|
41
|
+
.lazy(() => inputTextContentSchema_ts_1.inputTextContentSchema)
|
|
42
|
+
.and(
|
|
43
|
+
zod_1.z.object({
|
|
44
|
+
type: zod_1.z.literal('input_text'),
|
|
45
|
+
}),
|
|
46
|
+
),
|
|
47
|
+
zod_1.z
|
|
48
|
+
.lazy(() => outputTextContentSchema_ts_1.outputTextContentSchema)
|
|
49
|
+
.and(
|
|
50
|
+
zod_1.z.object({
|
|
51
|
+
type: zod_1.z.literal('output_text'),
|
|
52
|
+
}),
|
|
53
|
+
),
|
|
54
|
+
zod_1.z
|
|
55
|
+
.lazy(() => textContentSchema_ts_1.textContentSchema)
|
|
56
|
+
.and(
|
|
57
|
+
zod_1.z.object({
|
|
58
|
+
type: zod_1.z.literal('text'),
|
|
59
|
+
}),
|
|
60
|
+
),
|
|
61
|
+
zod_1.z
|
|
62
|
+
.lazy(
|
|
63
|
+
() => summaryTextContentSchema_ts_1.summaryTextContentSchema,
|
|
64
|
+
)
|
|
65
|
+
.and(
|
|
66
|
+
zod_1.z.object({
|
|
67
|
+
type: zod_1.z.literal('summary_text'),
|
|
68
|
+
}),
|
|
69
|
+
),
|
|
70
|
+
zod_1.z
|
|
71
|
+
.lazy(
|
|
72
|
+
() =>
|
|
73
|
+
reasoningTextContentSchema_ts_1.reasoningTextContentSchema,
|
|
74
|
+
)
|
|
75
|
+
.and(
|
|
76
|
+
zod_1.z.object({
|
|
77
|
+
type: zod_1.z.literal('reasoning_text'),
|
|
78
|
+
}),
|
|
79
|
+
),
|
|
80
|
+
zod_1.z
|
|
81
|
+
.lazy(() => refusalContentSchema_ts_1.refusalContentSchema)
|
|
82
|
+
.and(
|
|
83
|
+
zod_1.z.object({
|
|
84
|
+
type: zod_1.z.literal('refusal'),
|
|
85
|
+
}),
|
|
86
|
+
),
|
|
87
|
+
zod_1.z
|
|
88
|
+
.lazy(() => inputImageContentSchema_ts_1.inputImageContentSchema)
|
|
89
|
+
.and(
|
|
90
|
+
zod_1.z.object({
|
|
91
|
+
type: zod_1.z.literal('input_image'),
|
|
92
|
+
}),
|
|
93
|
+
),
|
|
94
|
+
zod_1.z
|
|
95
|
+
.lazy(() => inputFileContentSchema_ts_1.inputFileContentSchema)
|
|
96
|
+
.and(
|
|
97
|
+
zod_1.z.object({
|
|
98
|
+
type: zod_1.z.literal('input_file'),
|
|
99
|
+
}),
|
|
100
|
+
),
|
|
101
|
+
zod_1.z
|
|
102
|
+
.lazy(() => inputVideoContentSchema_ts_1.inputVideoContentSchema)
|
|
103
|
+
.and(
|
|
104
|
+
zod_1.z.object({
|
|
105
|
+
type: zod_1.z.literal('input_video'),
|
|
106
|
+
}),
|
|
107
|
+
),
|
|
108
|
+
])
|
|
109
|
+
.describe('A content part that makes up an input or output item.'),
|
|
110
|
+
)
|
|
111
|
+
.describe('The content of the message'),
|
|
112
|
+
})
|
|
113
|
+
.describe('A message to or from the model.')
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict'
|
|
2
2
|
/**
|
|
3
|
-
* Generated by Kubb (https://kubb.dev/).
|
|
4
|
-
* Do not edit manually.
|
|
5
|
-
*/
|
|
6
|
-
Object.defineProperty(exports,
|
|
7
|
-
exports.messageStatusSchema = void 0
|
|
8
|
-
const zod_1 = require(
|
|
9
|
-
exports.messageStatusSchema = zod_1.z.enum([
|
|
3
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
*/
|
|
6
|
+
Object.defineProperty(exports, '__esModule', { value: true })
|
|
7
|
+
exports.messageStatusSchema = void 0
|
|
8
|
+
const zod_1 = require('zod')
|
|
9
|
+
exports.messageStatusSchema = zod_1.z.enum([
|
|
10
|
+
'in_progress',
|
|
11
|
+
'completed',
|
|
12
|
+
'incomplete',
|
|
13
|
+
])
|
|
@@ -1,12 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict'
|
|
2
2
|
/**
|
|
3
|
-
* Generated by Kubb (https://kubb.dev/).
|
|
4
|
-
* Do not edit manually.
|
|
5
|
-
*/
|
|
6
|
-
Object.defineProperty(exports,
|
|
7
|
-
exports.metadataParamSchema = void 0
|
|
8
|
-
const zod_1 = require(
|
|
3
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
*/
|
|
6
|
+
Object.defineProperty(exports, '__esModule', { value: true })
|
|
7
|
+
exports.metadataParamSchema = void 0
|
|
8
|
+
const zod_1 = require('zod')
|
|
9
9
|
/**
|
|
10
10
|
* @description 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.
|
|
11
11
|
*/
|
|
12
|
-
exports.metadataParamSchema = zod_1.z
|
|
12
|
+
exports.metadataParamSchema = zod_1.z
|
|
13
|
+
.object({})
|
|
14
|
+
.catchall(zod_1.z.string().max(512))
|
|
15
|
+
.describe(
|
|
16
|
+
'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.',
|
|
17
|
+
)
|
|
@@ -1,14 +1,23 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict'
|
|
2
2
|
/**
|
|
3
|
-
* Generated by Kubb (https://kubb.dev/).
|
|
4
|
-
* Do not edit manually.
|
|
5
|
-
*/
|
|
6
|
-
Object.defineProperty(exports,
|
|
7
|
-
exports.outputTextContentParamSchema = void 0
|
|
8
|
-
const urlCitationParamSchema_ts_1 = require(
|
|
9
|
-
const zod_1 = require(
|
|
3
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
*/
|
|
6
|
+
Object.defineProperty(exports, '__esModule', { value: true })
|
|
7
|
+
exports.outputTextContentParamSchema = void 0
|
|
8
|
+
const urlCitationParamSchema_ts_1 = require('./urlCitationParamSchema.ts')
|
|
9
|
+
const zod_1 = require('zod')
|
|
10
10
|
exports.outputTextContentParamSchema = zod_1.z.object({
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
type: zod_1.z
|
|
12
|
+
.enum(['output_text'])
|
|
13
|
+
.default('output_text')
|
|
14
|
+
.describe('The content type. Always `output_text`.'),
|
|
15
|
+
text: zod_1.z.string().max(10485760).describe('The text content.'),
|
|
16
|
+
annotations: zod_1.z.optional(
|
|
17
|
+
zod_1.z
|
|
18
|
+
.array(
|
|
19
|
+
zod_1.z.lazy(() => urlCitationParamSchema_ts_1.urlCitationParamSchema),
|
|
20
|
+
)
|
|
21
|
+
.describe('Citations associated with the text content.'),
|
|
22
|
+
),
|
|
23
|
+
})
|
|
@@ -1,19 +1,34 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict'
|
|
2
2
|
/**
|
|
3
|
-
* Generated by Kubb (https://kubb.dev/).
|
|
4
|
-
* Do not edit manually.
|
|
5
|
-
*/
|
|
6
|
-
Object.defineProperty(exports,
|
|
7
|
-
exports.outputTextContentSchema = void 0
|
|
8
|
-
const annotationSchema_ts_1 = require(
|
|
9
|
-
const logProbSchema_ts_1 = require(
|
|
10
|
-
const zod_1 = require(
|
|
3
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
*/
|
|
6
|
+
Object.defineProperty(exports, '__esModule', { value: true })
|
|
7
|
+
exports.outputTextContentSchema = void 0
|
|
8
|
+
const annotationSchema_ts_1 = require('./annotationSchema.ts')
|
|
9
|
+
const logProbSchema_ts_1 = require('./logProbSchema.ts')
|
|
10
|
+
const zod_1 = require('zod')
|
|
11
11
|
/**
|
|
12
12
|
* @description A text output from the model.
|
|
13
13
|
*/
|
|
14
|
-
exports.outputTextContentSchema = zod_1.z
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
14
|
+
exports.outputTextContentSchema = zod_1.z
|
|
15
|
+
.object({
|
|
16
|
+
type: zod_1.z
|
|
17
|
+
.enum(['output_text'])
|
|
18
|
+
.default('output_text')
|
|
19
|
+
.describe('The type of the output text. Always `output_text`.'),
|
|
20
|
+
text: zod_1.z.string().describe('The text output from the model.'),
|
|
21
|
+
annotations: zod_1.z
|
|
22
|
+
.array(
|
|
23
|
+
zod_1.z
|
|
24
|
+
.lazy(() => annotationSchema_ts_1.annotationSchema)
|
|
25
|
+
.describe('An annotation that applies to a span of output text.'),
|
|
26
|
+
)
|
|
27
|
+
.describe('The annotations of the text output.'),
|
|
28
|
+
logprobs: zod_1.z.array(
|
|
29
|
+
zod_1.z
|
|
30
|
+
.lazy(() => logProbSchema_ts_1.logProbSchema)
|
|
31
|
+
.describe('The log probability of a token.'),
|
|
32
|
+
),
|
|
33
|
+
})
|
|
34
|
+
.describe('A text output from the model.')
|
|
@@ -1,14 +1,21 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict'
|
|
2
2
|
/**
|
|
3
|
-
* Generated by Kubb (https://kubb.dev/).
|
|
4
|
-
* Do not edit manually.
|
|
5
|
-
*/
|
|
6
|
-
Object.defineProperty(exports,
|
|
7
|
-
exports.outputTokensDetailsSchema = void 0
|
|
8
|
-
const zod_1 = require(
|
|
3
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
*/
|
|
6
|
+
Object.defineProperty(exports, '__esModule', { value: true })
|
|
7
|
+
exports.outputTokensDetailsSchema = void 0
|
|
8
|
+
const zod_1 = require('zod')
|
|
9
9
|
/**
|
|
10
10
|
* @description A breakdown of output token usage that was recorded.
|
|
11
11
|
*/
|
|
12
|
-
exports.outputTokensDetailsSchema = zod_1.z
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
exports.outputTokensDetailsSchema = zod_1.z
|
|
13
|
+
.object({
|
|
14
|
+
reasoning_tokens: zod_1.z
|
|
15
|
+
.number()
|
|
16
|
+
.int()
|
|
17
|
+
.describe(
|
|
18
|
+
'The number of output tokens that were attributed to reasoning.',
|
|
19
|
+
),
|
|
20
|
+
})
|
|
21
|
+
.describe('A breakdown of output token usage that was recorded.')
|
|
@@ -1,58 +1,177 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict'
|
|
2
2
|
/**
|
|
3
|
-
* Generated by Kubb (https://kubb.dev/).
|
|
4
|
-
* Do not edit manually.
|
|
5
|
-
*/
|
|
6
|
-
Object.defineProperty(exports,
|
|
7
|
-
exports.reasoningBodySchema = void 0
|
|
8
|
-
const inputFileContentSchema_ts_1 = require(
|
|
9
|
-
const inputImageContentSchema_ts_1 = require(
|
|
10
|
-
const inputTextContentSchema_ts_1 = require(
|
|
11
|
-
const outputTextContentSchema_ts_1 = require(
|
|
12
|
-
const reasoningTextContentSchema_ts_1 = require(
|
|
13
|
-
const refusalContentSchema_ts_1 = require(
|
|
14
|
-
const summaryTextContentSchema_ts_1 = require(
|
|
15
|
-
const textContentSchema_ts_1 = require(
|
|
16
|
-
const zod_1 = require(
|
|
3
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
*/
|
|
6
|
+
Object.defineProperty(exports, '__esModule', { value: true })
|
|
7
|
+
exports.reasoningBodySchema = void 0
|
|
8
|
+
const inputFileContentSchema_ts_1 = require('./inputFileContentSchema.ts')
|
|
9
|
+
const inputImageContentSchema_ts_1 = require('./inputImageContentSchema.ts')
|
|
10
|
+
const inputTextContentSchema_ts_1 = require('./inputTextContentSchema.ts')
|
|
11
|
+
const outputTextContentSchema_ts_1 = require('./outputTextContentSchema.ts')
|
|
12
|
+
const reasoningTextContentSchema_ts_1 = require('./reasoningTextContentSchema.ts')
|
|
13
|
+
const refusalContentSchema_ts_1 = require('./refusalContentSchema.ts')
|
|
14
|
+
const summaryTextContentSchema_ts_1 = require('./summaryTextContentSchema.ts')
|
|
15
|
+
const textContentSchema_ts_1 = require('./textContentSchema.ts')
|
|
16
|
+
const zod_1 = require('zod')
|
|
17
17
|
/**
|
|
18
18
|
* @description A reasoning item that was generated by the model.
|
|
19
19
|
*/
|
|
20
|
-
exports.reasoningBodySchema = zod_1.z
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
20
|
+
exports.reasoningBodySchema = zod_1.z
|
|
21
|
+
.object({
|
|
22
|
+
type: zod_1.z
|
|
23
|
+
.enum(['reasoning'])
|
|
24
|
+
.default('reasoning')
|
|
25
|
+
.describe('The type of the item. Always `reasoning`.'),
|
|
26
|
+
id: zod_1.z.string().describe('The unique ID of the reasoning item.'),
|
|
27
|
+
content: zod_1.z.optional(
|
|
28
|
+
zod_1.z
|
|
29
|
+
.array(
|
|
30
|
+
zod_1.z
|
|
31
|
+
.union([
|
|
32
|
+
zod_1.z
|
|
33
|
+
.lazy(() => inputTextContentSchema_ts_1.inputTextContentSchema)
|
|
34
|
+
.and(
|
|
35
|
+
zod_1.z.object({
|
|
36
|
+
type: zod_1.z.literal('input_text'),
|
|
37
|
+
}),
|
|
38
|
+
),
|
|
39
|
+
zod_1.z
|
|
40
|
+
.lazy(
|
|
41
|
+
() => outputTextContentSchema_ts_1.outputTextContentSchema,
|
|
42
|
+
)
|
|
43
|
+
.and(
|
|
44
|
+
zod_1.z.object({
|
|
45
|
+
type: zod_1.z.literal('output_text'),
|
|
46
|
+
}),
|
|
47
|
+
),
|
|
48
|
+
zod_1.z
|
|
49
|
+
.lazy(() => textContentSchema_ts_1.textContentSchema)
|
|
50
|
+
.and(
|
|
51
|
+
zod_1.z.object({
|
|
52
|
+
type: zod_1.z.literal('text'),
|
|
53
|
+
}),
|
|
54
|
+
),
|
|
55
|
+
zod_1.z
|
|
56
|
+
.lazy(
|
|
57
|
+
() => summaryTextContentSchema_ts_1.summaryTextContentSchema,
|
|
58
|
+
)
|
|
59
|
+
.and(
|
|
60
|
+
zod_1.z.object({
|
|
61
|
+
type: zod_1.z.literal('summary_text'),
|
|
62
|
+
}),
|
|
63
|
+
),
|
|
64
|
+
zod_1.z
|
|
65
|
+
.lazy(
|
|
66
|
+
() =>
|
|
67
|
+
reasoningTextContentSchema_ts_1.reasoningTextContentSchema,
|
|
68
|
+
)
|
|
69
|
+
.and(
|
|
70
|
+
zod_1.z.object({
|
|
71
|
+
type: zod_1.z.literal('reasoning_text'),
|
|
72
|
+
}),
|
|
73
|
+
),
|
|
74
|
+
zod_1.z
|
|
75
|
+
.lazy(() => refusalContentSchema_ts_1.refusalContentSchema)
|
|
76
|
+
.and(
|
|
77
|
+
zod_1.z.object({
|
|
78
|
+
type: zod_1.z.literal('refusal'),
|
|
79
|
+
}),
|
|
80
|
+
),
|
|
81
|
+
zod_1.z
|
|
82
|
+
.lazy(
|
|
83
|
+
() => inputImageContentSchema_ts_1.inputImageContentSchema,
|
|
84
|
+
)
|
|
85
|
+
.and(
|
|
86
|
+
zod_1.z.object({
|
|
87
|
+
type: zod_1.z.literal('input_image'),
|
|
88
|
+
}),
|
|
89
|
+
),
|
|
90
|
+
zod_1.z
|
|
91
|
+
.lazy(() => inputFileContentSchema_ts_1.inputFileContentSchema)
|
|
92
|
+
.and(
|
|
93
|
+
zod_1.z.object({
|
|
94
|
+
type: zod_1.z.literal('input_file'),
|
|
95
|
+
}),
|
|
96
|
+
),
|
|
97
|
+
])
|
|
98
|
+
.describe('A content part that makes up an input or output item.'),
|
|
99
|
+
)
|
|
100
|
+
.describe('The reasoning content that was generated.'),
|
|
101
|
+
),
|
|
102
|
+
summary: zod_1.z
|
|
103
|
+
.array(
|
|
104
|
+
zod_1.z
|
|
105
|
+
.union([
|
|
106
|
+
zod_1.z
|
|
107
|
+
.lazy(() => inputTextContentSchema_ts_1.inputTextContentSchema)
|
|
108
|
+
.and(
|
|
109
|
+
zod_1.z.object({
|
|
110
|
+
type: zod_1.z.literal('input_text'),
|
|
111
|
+
}),
|
|
112
|
+
),
|
|
113
|
+
zod_1.z
|
|
114
|
+
.lazy(() => outputTextContentSchema_ts_1.outputTextContentSchema)
|
|
115
|
+
.and(
|
|
116
|
+
zod_1.z.object({
|
|
117
|
+
type: zod_1.z.literal('output_text'),
|
|
118
|
+
}),
|
|
119
|
+
),
|
|
120
|
+
zod_1.z
|
|
121
|
+
.lazy(() => textContentSchema_ts_1.textContentSchema)
|
|
122
|
+
.and(
|
|
123
|
+
zod_1.z.object({
|
|
124
|
+
type: zod_1.z.literal('text'),
|
|
125
|
+
}),
|
|
126
|
+
),
|
|
127
|
+
zod_1.z
|
|
128
|
+
.lazy(
|
|
129
|
+
() => summaryTextContentSchema_ts_1.summaryTextContentSchema,
|
|
130
|
+
)
|
|
131
|
+
.and(
|
|
132
|
+
zod_1.z.object({
|
|
133
|
+
type: zod_1.z.literal('summary_text'),
|
|
134
|
+
}),
|
|
135
|
+
),
|
|
136
|
+
zod_1.z
|
|
137
|
+
.lazy(
|
|
138
|
+
() =>
|
|
139
|
+
reasoningTextContentSchema_ts_1.reasoningTextContentSchema,
|
|
140
|
+
)
|
|
141
|
+
.and(
|
|
142
|
+
zod_1.z.object({
|
|
143
|
+
type: zod_1.z.literal('reasoning_text'),
|
|
144
|
+
}),
|
|
145
|
+
),
|
|
146
|
+
zod_1.z
|
|
147
|
+
.lazy(() => refusalContentSchema_ts_1.refusalContentSchema)
|
|
148
|
+
.and(
|
|
149
|
+
zod_1.z.object({
|
|
150
|
+
type: zod_1.z.literal('refusal'),
|
|
151
|
+
}),
|
|
152
|
+
),
|
|
153
|
+
zod_1.z
|
|
154
|
+
.lazy(() => inputImageContentSchema_ts_1.inputImageContentSchema)
|
|
155
|
+
.and(
|
|
156
|
+
zod_1.z.object({
|
|
157
|
+
type: zod_1.z.literal('input_image'),
|
|
158
|
+
}),
|
|
159
|
+
),
|
|
160
|
+
zod_1.z
|
|
161
|
+
.lazy(() => inputFileContentSchema_ts_1.inputFileContentSchema)
|
|
162
|
+
.and(
|
|
163
|
+
zod_1.z.object({
|
|
164
|
+
type: zod_1.z.literal('input_file'),
|
|
165
|
+
}),
|
|
166
|
+
),
|
|
167
|
+
])
|
|
168
|
+
.describe('A content part that makes up an input or output item.'),
|
|
169
|
+
)
|
|
170
|
+
.describe('The reasoning summary content that was generated.'),
|
|
171
|
+
encrypted_content: zod_1.z.optional(
|
|
172
|
+
zod_1.z
|
|
173
|
+
.string()
|
|
174
|
+
.describe('The encrypted reasoning content that was generated.'),
|
|
175
|
+
),
|
|
176
|
+
})
|
|
177
|
+
.describe('A reasoning item that was generated by the model.')
|
|
@@ -1,9 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict'
|
|
2
2
|
/**
|
|
3
|
-
* Generated by Kubb (https://kubb.dev/).
|
|
4
|
-
* Do not edit manually.
|
|
5
|
-
*/
|
|
6
|
-
Object.defineProperty(exports,
|
|
7
|
-
exports.reasoningEffortEnumSchema = void 0
|
|
8
|
-
const zod_1 = require(
|
|
9
|
-
exports.reasoningEffortEnumSchema = zod_1.z.enum([
|
|
3
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
*/
|
|
6
|
+
Object.defineProperty(exports, '__esModule', { value: true })
|
|
7
|
+
exports.reasoningEffortEnumSchema = void 0
|
|
8
|
+
const zod_1 = require('zod')
|
|
9
|
+
exports.reasoningEffortEnumSchema = zod_1.z.enum([
|
|
10
|
+
'none',
|
|
11
|
+
'low',
|
|
12
|
+
'medium',
|
|
13
|
+
'high',
|
|
14
|
+
'xhigh',
|
|
15
|
+
])
|