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
package/dist/gen/types.js
CHANGED
|
@@ -1,284 +1,373 @@
|
|
|
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.functionCallOutputStatusEnumEnum =
|
|
8
|
-
exports.
|
|
3
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
*/
|
|
6
|
+
Object.defineProperty(exports, '__esModule', { value: true })
|
|
7
|
+
exports.functionCallOutputStatusEnumEnum =
|
|
8
|
+
exports.functionCallTypeEnum =
|
|
9
|
+
exports.messageTypeEnum =
|
|
10
|
+
exports.messageStatusEnum =
|
|
11
|
+
exports.inputFileContentTypeEnum =
|
|
12
|
+
exports.inputImageContentTypeEnum =
|
|
13
|
+
exports.refusalContentTypeEnum =
|
|
14
|
+
exports.reasoningTextContentTypeEnum =
|
|
15
|
+
exports.summaryTextContentTypeEnum =
|
|
16
|
+
exports.textContentTypeEnum =
|
|
17
|
+
exports.outputTextContentTypeEnum =
|
|
18
|
+
exports.urlCitationBodyTypeEnum =
|
|
19
|
+
exports.inputTextContentTypeEnum =
|
|
20
|
+
exports.messageRoleEnum =
|
|
21
|
+
exports.serviceTierEnumEnum =
|
|
22
|
+
exports.truncationEnumEnum =
|
|
23
|
+
exports.reasoningSummaryEnumEnum =
|
|
24
|
+
exports.reasoningEffortEnumEnum =
|
|
25
|
+
exports.jsonSchemaResponseFormatParamTypeEnum =
|
|
26
|
+
exports.textResponseFormatTypeEnum =
|
|
27
|
+
exports.verbosityEnumEnum =
|
|
28
|
+
exports.allowedToolsParamTypeEnum =
|
|
29
|
+
exports.toolChoiceValueEnumEnum =
|
|
30
|
+
exports.specificFunctionParamTypeEnum =
|
|
31
|
+
exports.functionToolParamTypeEnum =
|
|
32
|
+
exports.includeEnumEnum =
|
|
33
|
+
exports.functionCallOutputItemParamTypeEnum =
|
|
34
|
+
exports.inputVideoContentTypeEnum =
|
|
35
|
+
exports.functionCallItemParamTypeEnum =
|
|
36
|
+
exports.functionCallStatusEnum =
|
|
37
|
+
exports.functionCallItemStatusEnum =
|
|
38
|
+
exports.assistantMessageItemParamRoleEnum =
|
|
39
|
+
exports.assistantMessageItemParamTypeEnum =
|
|
40
|
+
exports.refusalContentParamTypeEnum =
|
|
41
|
+
exports.outputTextContentParamTypeEnum =
|
|
42
|
+
exports.urlCitationParamTypeEnum =
|
|
43
|
+
exports.developerMessageItemParamRoleEnum =
|
|
44
|
+
exports.developerMessageItemParamTypeEnum =
|
|
45
|
+
exports.systemMessageItemParamRoleEnum =
|
|
46
|
+
exports.systemMessageItemParamTypeEnum =
|
|
47
|
+
exports.userMessageItemParamRoleEnum =
|
|
48
|
+
exports.userMessageItemParamTypeEnum =
|
|
49
|
+
exports.inputFileContentParamTypeEnum =
|
|
50
|
+
exports.inputImageContentParamAutoParamTypeEnum =
|
|
51
|
+
exports.imageDetailEnum =
|
|
52
|
+
exports.detailEnumEnum =
|
|
53
|
+
exports.inputTextContentParamTypeEnum =
|
|
54
|
+
exports.reasoningItemParamTypeEnum =
|
|
55
|
+
exports.reasoningSummaryContentParamTypeEnum =
|
|
56
|
+
exports.itemReferenceParamTypeEnum =
|
|
57
|
+
void 0
|
|
58
|
+
exports.errorStreamingEventTypeEnum =
|
|
59
|
+
exports.responseFunctionCallArgumentsDoneStreamingEventTypeEnum =
|
|
60
|
+
exports.responseFunctionCallArgumentsDeltaStreamingEventTypeEnum =
|
|
61
|
+
exports.responseOutputTextAnnotationAddedStreamingEventTypeEnum =
|
|
62
|
+
exports.responseReasoningSummaryDoneStreamingEventTypeEnum =
|
|
63
|
+
exports.responseReasoningSummaryDeltaStreamingEventTypeEnum =
|
|
64
|
+
exports.responseReasoningDoneStreamingEventTypeEnum =
|
|
65
|
+
exports.responseReasoningDeltaStreamingEventTypeEnum =
|
|
66
|
+
exports.responseRefusalDoneStreamingEventTypeEnum =
|
|
67
|
+
exports.responseRefusalDeltaStreamingEventTypeEnum =
|
|
68
|
+
exports.responseOutputTextDoneStreamingEventTypeEnum =
|
|
69
|
+
exports.responseOutputTextDeltaStreamingEventTypeEnum =
|
|
70
|
+
exports.responseContentPartDoneStreamingEventTypeEnum =
|
|
71
|
+
exports.responseContentPartAddedStreamingEventTypeEnum =
|
|
72
|
+
exports.responseReasoningSummaryPartDoneStreamingEventTypeEnum =
|
|
73
|
+
exports.responseReasoningSummaryPartAddedStreamingEventTypeEnum =
|
|
74
|
+
exports.responseOutputItemDoneStreamingEventTypeEnum =
|
|
75
|
+
exports.responseOutputItemAddedStreamingEventTypeEnum =
|
|
76
|
+
exports.responseIncompleteStreamingEventTypeEnum =
|
|
77
|
+
exports.responseFailedStreamingEventTypeEnum =
|
|
78
|
+
exports.responseCompletedStreamingEventTypeEnum =
|
|
79
|
+
exports.responseInProgressStreamingEventTypeEnum =
|
|
80
|
+
exports.responseQueuedStreamingEventTypeEnum =
|
|
81
|
+
exports.responseCreatedStreamingEventTypeEnum =
|
|
82
|
+
exports.responseResourceObjectEnum =
|
|
83
|
+
exports.jsonSchemaResponseFormatTypeEnum =
|
|
84
|
+
exports.jsonObjectResponseFormatTypeEnum =
|
|
85
|
+
exports.allowedToolChoiceTypeEnum =
|
|
86
|
+
exports.functionToolChoiceTypeEnum =
|
|
87
|
+
exports.functionToolTypeEnum =
|
|
88
|
+
exports.reasoningBodyTypeEnum =
|
|
89
|
+
exports.functionCallOutputTypeEnum =
|
|
90
|
+
void 0
|
|
9
91
|
exports.itemReferenceParamTypeEnum = {
|
|
10
|
-
|
|
11
|
-
}
|
|
92
|
+
item_reference: 'item_reference',
|
|
93
|
+
}
|
|
12
94
|
exports.reasoningSummaryContentParamTypeEnum = {
|
|
13
|
-
|
|
14
|
-
}
|
|
95
|
+
summary_text: 'summary_text',
|
|
96
|
+
}
|
|
15
97
|
exports.reasoningItemParamTypeEnum = {
|
|
16
|
-
|
|
17
|
-
}
|
|
98
|
+
reasoning: 'reasoning',
|
|
99
|
+
}
|
|
18
100
|
exports.inputTextContentParamTypeEnum = {
|
|
19
|
-
|
|
20
|
-
}
|
|
101
|
+
input_text: 'input_text',
|
|
102
|
+
}
|
|
21
103
|
exports.detailEnumEnum = {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
104
|
+
low: 'low',
|
|
105
|
+
high: 'high',
|
|
106
|
+
auto: 'auto',
|
|
107
|
+
}
|
|
26
108
|
exports.imageDetailEnum = {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}
|
|
109
|
+
low: 'low',
|
|
110
|
+
high: 'high',
|
|
111
|
+
auto: 'auto',
|
|
112
|
+
}
|
|
31
113
|
exports.inputImageContentParamAutoParamTypeEnum = {
|
|
32
|
-
|
|
33
|
-
}
|
|
114
|
+
input_image: 'input_image',
|
|
115
|
+
}
|
|
34
116
|
exports.inputFileContentParamTypeEnum = {
|
|
35
|
-
|
|
36
|
-
}
|
|
117
|
+
input_file: 'input_file',
|
|
118
|
+
}
|
|
37
119
|
exports.userMessageItemParamTypeEnum = {
|
|
38
|
-
|
|
39
|
-
}
|
|
120
|
+
message: 'message',
|
|
121
|
+
}
|
|
40
122
|
exports.userMessageItemParamRoleEnum = {
|
|
41
|
-
|
|
42
|
-
}
|
|
123
|
+
user: 'user',
|
|
124
|
+
}
|
|
43
125
|
exports.systemMessageItemParamTypeEnum = {
|
|
44
|
-
|
|
45
|
-
}
|
|
126
|
+
message: 'message',
|
|
127
|
+
}
|
|
46
128
|
exports.systemMessageItemParamRoleEnum = {
|
|
47
|
-
|
|
48
|
-
}
|
|
129
|
+
system: 'system',
|
|
130
|
+
}
|
|
49
131
|
exports.developerMessageItemParamTypeEnum = {
|
|
50
|
-
|
|
51
|
-
}
|
|
132
|
+
message: 'message',
|
|
133
|
+
}
|
|
52
134
|
exports.developerMessageItemParamRoleEnum = {
|
|
53
|
-
|
|
54
|
-
}
|
|
135
|
+
developer: 'developer',
|
|
136
|
+
}
|
|
55
137
|
exports.urlCitationParamTypeEnum = {
|
|
56
|
-
|
|
57
|
-
}
|
|
138
|
+
url_citation: 'url_citation',
|
|
139
|
+
}
|
|
58
140
|
exports.outputTextContentParamTypeEnum = {
|
|
59
|
-
|
|
60
|
-
}
|
|
141
|
+
output_text: 'output_text',
|
|
142
|
+
}
|
|
61
143
|
exports.refusalContentParamTypeEnum = {
|
|
62
|
-
|
|
63
|
-
}
|
|
144
|
+
refusal: 'refusal',
|
|
145
|
+
}
|
|
64
146
|
exports.assistantMessageItemParamTypeEnum = {
|
|
65
|
-
|
|
66
|
-
}
|
|
147
|
+
message: 'message',
|
|
148
|
+
}
|
|
67
149
|
exports.assistantMessageItemParamRoleEnum = {
|
|
68
|
-
|
|
69
|
-
}
|
|
150
|
+
assistant: 'assistant',
|
|
151
|
+
}
|
|
70
152
|
exports.functionCallItemStatusEnum = {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
}
|
|
153
|
+
in_progress: 'in_progress',
|
|
154
|
+
completed: 'completed',
|
|
155
|
+
incomplete: 'incomplete',
|
|
156
|
+
}
|
|
75
157
|
exports.functionCallStatusEnum = {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
}
|
|
158
|
+
in_progress: 'in_progress',
|
|
159
|
+
completed: 'completed',
|
|
160
|
+
incomplete: 'incomplete',
|
|
161
|
+
}
|
|
80
162
|
exports.functionCallItemParamTypeEnum = {
|
|
81
|
-
|
|
82
|
-
}
|
|
163
|
+
function_call: 'function_call',
|
|
164
|
+
}
|
|
83
165
|
exports.inputVideoContentTypeEnum = {
|
|
84
|
-
|
|
85
|
-
}
|
|
166
|
+
input_video: 'input_video',
|
|
167
|
+
}
|
|
86
168
|
exports.functionCallOutputItemParamTypeEnum = {
|
|
87
|
-
|
|
88
|
-
}
|
|
169
|
+
function_call_output: 'function_call_output',
|
|
170
|
+
}
|
|
89
171
|
exports.includeEnumEnum = {
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
}
|
|
172
|
+
'reasoning.encrypted_content': 'reasoning.encrypted_content',
|
|
173
|
+
'message.output_text.logprobs': 'message.output_text.logprobs',
|
|
174
|
+
}
|
|
93
175
|
exports.functionToolParamTypeEnum = {
|
|
94
|
-
|
|
95
|
-
}
|
|
176
|
+
function: 'function',
|
|
177
|
+
}
|
|
96
178
|
exports.specificFunctionParamTypeEnum = {
|
|
97
|
-
|
|
98
|
-
}
|
|
179
|
+
function: 'function',
|
|
180
|
+
}
|
|
99
181
|
exports.toolChoiceValueEnumEnum = {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
}
|
|
182
|
+
none: 'none',
|
|
183
|
+
auto: 'auto',
|
|
184
|
+
required: 'required',
|
|
185
|
+
}
|
|
104
186
|
exports.allowedToolsParamTypeEnum = {
|
|
105
|
-
|
|
106
|
-
}
|
|
187
|
+
allowed_tools: 'allowed_tools',
|
|
188
|
+
}
|
|
107
189
|
exports.verbosityEnumEnum = {
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
}
|
|
190
|
+
low: 'low',
|
|
191
|
+
medium: 'medium',
|
|
192
|
+
high: 'high',
|
|
193
|
+
}
|
|
112
194
|
exports.textResponseFormatTypeEnum = {
|
|
113
|
-
|
|
114
|
-
}
|
|
195
|
+
text: 'text',
|
|
196
|
+
}
|
|
115
197
|
exports.jsonSchemaResponseFormatParamTypeEnum = {
|
|
116
|
-
|
|
117
|
-
}
|
|
198
|
+
json_schema: 'json_schema',
|
|
199
|
+
}
|
|
118
200
|
exports.reasoningEffortEnumEnum = {
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
}
|
|
201
|
+
none: 'none',
|
|
202
|
+
low: 'low',
|
|
203
|
+
medium: 'medium',
|
|
204
|
+
high: 'high',
|
|
205
|
+
xhigh: 'xhigh',
|
|
206
|
+
}
|
|
125
207
|
exports.reasoningSummaryEnumEnum = {
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
}
|
|
208
|
+
concise: 'concise',
|
|
209
|
+
detailed: 'detailed',
|
|
210
|
+
auto: 'auto',
|
|
211
|
+
}
|
|
130
212
|
exports.truncationEnumEnum = {
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
}
|
|
213
|
+
auto: 'auto',
|
|
214
|
+
disabled: 'disabled',
|
|
215
|
+
}
|
|
134
216
|
exports.serviceTierEnumEnum = {
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
}
|
|
217
|
+
auto: 'auto',
|
|
218
|
+
default: 'default',
|
|
219
|
+
flex: 'flex',
|
|
220
|
+
priority: 'priority',
|
|
221
|
+
}
|
|
140
222
|
exports.messageRoleEnum = {
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
}
|
|
223
|
+
user: 'user',
|
|
224
|
+
assistant: 'assistant',
|
|
225
|
+
system: 'system',
|
|
226
|
+
developer: 'developer',
|
|
227
|
+
}
|
|
146
228
|
exports.inputTextContentTypeEnum = {
|
|
147
|
-
|
|
148
|
-
}
|
|
229
|
+
input_text: 'input_text',
|
|
230
|
+
}
|
|
149
231
|
exports.urlCitationBodyTypeEnum = {
|
|
150
|
-
|
|
151
|
-
}
|
|
232
|
+
url_citation: 'url_citation',
|
|
233
|
+
}
|
|
152
234
|
exports.outputTextContentTypeEnum = {
|
|
153
|
-
|
|
154
|
-
}
|
|
235
|
+
output_text: 'output_text',
|
|
236
|
+
}
|
|
155
237
|
exports.textContentTypeEnum = {
|
|
156
|
-
|
|
157
|
-
}
|
|
238
|
+
text: 'text',
|
|
239
|
+
}
|
|
158
240
|
exports.summaryTextContentTypeEnum = {
|
|
159
|
-
|
|
160
|
-
}
|
|
241
|
+
summary_text: 'summary_text',
|
|
242
|
+
}
|
|
161
243
|
exports.reasoningTextContentTypeEnum = {
|
|
162
|
-
|
|
163
|
-
}
|
|
244
|
+
reasoning_text: 'reasoning_text',
|
|
245
|
+
}
|
|
164
246
|
exports.refusalContentTypeEnum = {
|
|
165
|
-
|
|
166
|
-
}
|
|
247
|
+
refusal: 'refusal',
|
|
248
|
+
}
|
|
167
249
|
exports.inputImageContentTypeEnum = {
|
|
168
|
-
|
|
169
|
-
}
|
|
250
|
+
input_image: 'input_image',
|
|
251
|
+
}
|
|
170
252
|
exports.inputFileContentTypeEnum = {
|
|
171
|
-
|
|
172
|
-
}
|
|
253
|
+
input_file: 'input_file',
|
|
254
|
+
}
|
|
173
255
|
exports.messageStatusEnum = {
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
}
|
|
256
|
+
in_progress: 'in_progress',
|
|
257
|
+
completed: 'completed',
|
|
258
|
+
incomplete: 'incomplete',
|
|
259
|
+
}
|
|
178
260
|
exports.messageTypeEnum = {
|
|
179
|
-
|
|
180
|
-
}
|
|
261
|
+
message: 'message',
|
|
262
|
+
}
|
|
181
263
|
exports.functionCallTypeEnum = {
|
|
182
|
-
|
|
183
|
-
}
|
|
264
|
+
function_call: 'function_call',
|
|
265
|
+
}
|
|
184
266
|
exports.functionCallOutputStatusEnumEnum = {
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
}
|
|
267
|
+
in_progress: 'in_progress',
|
|
268
|
+
completed: 'completed',
|
|
269
|
+
incomplete: 'incomplete',
|
|
270
|
+
}
|
|
189
271
|
exports.functionCallOutputTypeEnum = {
|
|
190
|
-
|
|
191
|
-
}
|
|
272
|
+
function_call_output: 'function_call_output',
|
|
273
|
+
}
|
|
192
274
|
exports.reasoningBodyTypeEnum = {
|
|
193
|
-
|
|
194
|
-
}
|
|
275
|
+
reasoning: 'reasoning',
|
|
276
|
+
}
|
|
195
277
|
exports.functionToolTypeEnum = {
|
|
196
|
-
|
|
197
|
-
}
|
|
278
|
+
function: 'function',
|
|
279
|
+
}
|
|
198
280
|
exports.functionToolChoiceTypeEnum = {
|
|
199
|
-
|
|
200
|
-
}
|
|
281
|
+
function: 'function',
|
|
282
|
+
}
|
|
201
283
|
exports.allowedToolChoiceTypeEnum = {
|
|
202
|
-
|
|
203
|
-
}
|
|
284
|
+
allowed_tools: 'allowed_tools',
|
|
285
|
+
}
|
|
204
286
|
exports.jsonObjectResponseFormatTypeEnum = {
|
|
205
|
-
|
|
206
|
-
}
|
|
287
|
+
json_object: 'json_object',
|
|
288
|
+
}
|
|
207
289
|
exports.jsonSchemaResponseFormatTypeEnum = {
|
|
208
|
-
|
|
209
|
-
}
|
|
290
|
+
json_schema: 'json_schema',
|
|
291
|
+
}
|
|
210
292
|
exports.responseResourceObjectEnum = {
|
|
211
|
-
|
|
212
|
-
}
|
|
293
|
+
response: 'response',
|
|
294
|
+
}
|
|
213
295
|
exports.responseCreatedStreamingEventTypeEnum = {
|
|
214
|
-
|
|
215
|
-
}
|
|
296
|
+
'response.created': 'response.created',
|
|
297
|
+
}
|
|
216
298
|
exports.responseQueuedStreamingEventTypeEnum = {
|
|
217
|
-
|
|
218
|
-
}
|
|
299
|
+
'response.queued': 'response.queued',
|
|
300
|
+
}
|
|
219
301
|
exports.responseInProgressStreamingEventTypeEnum = {
|
|
220
|
-
|
|
221
|
-
}
|
|
302
|
+
'response.in_progress': 'response.in_progress',
|
|
303
|
+
}
|
|
222
304
|
exports.responseCompletedStreamingEventTypeEnum = {
|
|
223
|
-
|
|
224
|
-
}
|
|
305
|
+
'response.completed': 'response.completed',
|
|
306
|
+
}
|
|
225
307
|
exports.responseFailedStreamingEventTypeEnum = {
|
|
226
|
-
|
|
227
|
-
}
|
|
308
|
+
'response.failed': 'response.failed',
|
|
309
|
+
}
|
|
228
310
|
exports.responseIncompleteStreamingEventTypeEnum = {
|
|
229
|
-
|
|
230
|
-
}
|
|
311
|
+
'response.incomplete': 'response.incomplete',
|
|
312
|
+
}
|
|
231
313
|
exports.responseOutputItemAddedStreamingEventTypeEnum = {
|
|
232
|
-
|
|
233
|
-
}
|
|
314
|
+
'response.output_item.added': 'response.output_item.added',
|
|
315
|
+
}
|
|
234
316
|
exports.responseOutputItemDoneStreamingEventTypeEnum = {
|
|
235
|
-
|
|
236
|
-
}
|
|
317
|
+
'response.output_item.done': 'response.output_item.done',
|
|
318
|
+
}
|
|
237
319
|
exports.responseReasoningSummaryPartAddedStreamingEventTypeEnum = {
|
|
238
|
-
|
|
239
|
-
|
|
320
|
+
'response.reasoning_summary_part.added':
|
|
321
|
+
'response.reasoning_summary_part.added',
|
|
322
|
+
}
|
|
240
323
|
exports.responseReasoningSummaryPartDoneStreamingEventTypeEnum = {
|
|
241
|
-
|
|
242
|
-
|
|
324
|
+
'response.reasoning_summary_part.done':
|
|
325
|
+
'response.reasoning_summary_part.done',
|
|
326
|
+
}
|
|
243
327
|
exports.responseContentPartAddedStreamingEventTypeEnum = {
|
|
244
|
-
|
|
245
|
-
}
|
|
328
|
+
'response.content_part.added': 'response.content_part.added',
|
|
329
|
+
}
|
|
246
330
|
exports.responseContentPartDoneStreamingEventTypeEnum = {
|
|
247
|
-
|
|
248
|
-
}
|
|
331
|
+
'response.content_part.done': 'response.content_part.done',
|
|
332
|
+
}
|
|
249
333
|
exports.responseOutputTextDeltaStreamingEventTypeEnum = {
|
|
250
|
-
|
|
251
|
-
}
|
|
334
|
+
'response.output_text.delta': 'response.output_text.delta',
|
|
335
|
+
}
|
|
252
336
|
exports.responseOutputTextDoneStreamingEventTypeEnum = {
|
|
253
|
-
|
|
254
|
-
}
|
|
337
|
+
'response.output_text.done': 'response.output_text.done',
|
|
338
|
+
}
|
|
255
339
|
exports.responseRefusalDeltaStreamingEventTypeEnum = {
|
|
256
|
-
|
|
257
|
-
}
|
|
340
|
+
'response.refusal.delta': 'response.refusal.delta',
|
|
341
|
+
}
|
|
258
342
|
exports.responseRefusalDoneStreamingEventTypeEnum = {
|
|
259
|
-
|
|
260
|
-
}
|
|
343
|
+
'response.refusal.done': 'response.refusal.done',
|
|
344
|
+
}
|
|
261
345
|
exports.responseReasoningDeltaStreamingEventTypeEnum = {
|
|
262
|
-
|
|
263
|
-
}
|
|
346
|
+
'response.reasoning.delta': 'response.reasoning.delta',
|
|
347
|
+
}
|
|
264
348
|
exports.responseReasoningDoneStreamingEventTypeEnum = {
|
|
265
|
-
|
|
266
|
-
}
|
|
349
|
+
'response.reasoning.done': 'response.reasoning.done',
|
|
350
|
+
}
|
|
267
351
|
exports.responseReasoningSummaryDeltaStreamingEventTypeEnum = {
|
|
268
|
-
|
|
269
|
-
|
|
352
|
+
'response.reasoning_summary_text.delta':
|
|
353
|
+
'response.reasoning_summary_text.delta',
|
|
354
|
+
}
|
|
270
355
|
exports.responseReasoningSummaryDoneStreamingEventTypeEnum = {
|
|
271
|
-
|
|
272
|
-
|
|
356
|
+
'response.reasoning_summary_text.done':
|
|
357
|
+
'response.reasoning_summary_text.done',
|
|
358
|
+
}
|
|
273
359
|
exports.responseOutputTextAnnotationAddedStreamingEventTypeEnum = {
|
|
274
|
-
|
|
275
|
-
|
|
360
|
+
'response.output_text.annotation.added':
|
|
361
|
+
'response.output_text.annotation.added',
|
|
362
|
+
}
|
|
276
363
|
exports.responseFunctionCallArgumentsDeltaStreamingEventTypeEnum = {
|
|
277
|
-
|
|
278
|
-
|
|
364
|
+
'response.function_call_arguments.delta':
|
|
365
|
+
'response.function_call_arguments.delta',
|
|
366
|
+
}
|
|
279
367
|
exports.responseFunctionCallArgumentsDoneStreamingEventTypeEnum = {
|
|
280
|
-
|
|
281
|
-
|
|
368
|
+
'response.function_call_arguments.done':
|
|
369
|
+
'response.function_call_arguments.done',
|
|
370
|
+
}
|
|
282
371
|
exports.errorStreamingEventTypeEnum = {
|
|
283
|
-
|
|
284
|
-
}
|
|
372
|
+
error: 'error',
|
|
373
|
+
}
|
|
@@ -1,15 +1,19 @@
|
|
|
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.allowedToolChoiceSchema = void 0
|
|
8
|
-
const functionToolChoiceSchema_ts_1 = require(
|
|
9
|
-
const toolChoiceValueEnumSchema_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.allowedToolChoiceSchema = void 0
|
|
8
|
+
const functionToolChoiceSchema_ts_1 = require('./functionToolChoiceSchema.ts')
|
|
9
|
+
const toolChoiceValueEnumSchema_ts_1 = require('./toolChoiceValueEnumSchema.ts')
|
|
10
|
+
const zod_1 = require('zod')
|
|
11
11
|
exports.allowedToolChoiceSchema = zod_1.z.object({
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
type: zod_1.z.enum(['allowed_tools']).default('allowed_tools'),
|
|
13
|
+
tools: zod_1.z.array(
|
|
14
|
+
zod_1.z.lazy(() => functionToolChoiceSchema_ts_1.functionToolChoiceSchema),
|
|
15
|
+
),
|
|
16
|
+
mode: zod_1.z.lazy(
|
|
17
|
+
() => toolChoiceValueEnumSchema_ts_1.toolChoiceValueEnumSchema,
|
|
18
|
+
),
|
|
19
|
+
})
|
|
@@ -1,15 +1,30 @@
|
|
|
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.allowedToolsParamSchema = void 0
|
|
8
|
-
const specificToolChoiceParamSchema_ts_1 = require(
|
|
9
|
-
const toolChoiceValueEnumSchema_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.allowedToolsParamSchema = void 0
|
|
8
|
+
const specificToolChoiceParamSchema_ts_1 = require('./specificToolChoiceParamSchema.ts')
|
|
9
|
+
const toolChoiceValueEnumSchema_ts_1 = require('./toolChoiceValueEnumSchema.ts')
|
|
10
|
+
const zod_1 = require('zod')
|
|
11
11
|
exports.allowedToolsParamSchema = zod_1.z.object({
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
type: zod_1.z
|
|
13
|
+
.enum(['allowed_tools'])
|
|
14
|
+
.default('allowed_tools')
|
|
15
|
+
.describe('The tool choice type. Always `allowed_tools`.'),
|
|
16
|
+
tools: zod_1.z
|
|
17
|
+
.array(
|
|
18
|
+
zod_1.z.lazy(
|
|
19
|
+
() => specificToolChoiceParamSchema_ts_1.specificToolChoiceParamSchema,
|
|
20
|
+
),
|
|
21
|
+
)
|
|
22
|
+
.min(1)
|
|
23
|
+
.max(128)
|
|
24
|
+
.describe('The list of tools that are permitted for this request.'),
|
|
25
|
+
mode: zod_1.z.optional(
|
|
26
|
+
zod_1.z
|
|
27
|
+
.lazy(() => toolChoiceValueEnumSchema_ts_1.toolChoiceValueEnumSchema)
|
|
28
|
+
.and(zod_1.z.any()),
|
|
29
|
+
),
|
|
30
|
+
})
|