@openrouter/sdk 0.8.0 → 0.10.2
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/FUNCTIONS.md +2 -1
- package/_speakeasy/.github/action-inputs-config.json +4 -0
- package/esm/funcs/analyticsGetUserActivity.js +2 -1
- package/esm/funcs/apiKeysCreate.js +2 -1
- package/esm/funcs/apiKeysDelete.js +2 -1
- package/esm/funcs/apiKeysGet.js +2 -1
- package/esm/funcs/apiKeysGetCurrentKeyMetadata.js +2 -1
- package/esm/funcs/apiKeysList.js +2 -1
- package/esm/funcs/apiKeysUpdate.js +2 -1
- package/esm/funcs/betaResponsesSend.js +2 -1
- package/esm/funcs/call-model.d.ts +19 -70
- package/esm/funcs/call-model.js +29 -71
- package/esm/funcs/chatSend.d.ts +3 -3
- package/esm/funcs/chatSend.js +20 -3
- package/esm/funcs/creditsCreateCoinbaseCharge.js +2 -1
- package/esm/funcs/creditsGetCredits.js +2 -1
- package/esm/funcs/embeddingsGenerate.js +2 -1
- package/esm/funcs/embeddingsListModels.js +2 -1
- package/esm/funcs/endpointsList.js +2 -1
- package/esm/funcs/endpointsListZdrEndpoints.js +2 -1
- package/esm/funcs/generationsGetGeneration.js +2 -1
- package/esm/funcs/guardrailsBulkAssignKeys.js +2 -1
- package/esm/funcs/guardrailsBulkAssignMembers.js +2 -1
- package/esm/funcs/guardrailsBulkUnassignKeys.js +2 -1
- package/esm/funcs/guardrailsBulkUnassignMembers.js +2 -1
- package/esm/funcs/guardrailsCreate.js +2 -1
- package/esm/funcs/guardrailsDelete.js +2 -1
- package/esm/funcs/guardrailsGet.js +2 -1
- package/esm/funcs/guardrailsList.js +2 -1
- package/esm/funcs/guardrailsListGuardrailKeyAssignments.js +2 -1
- package/esm/funcs/guardrailsListGuardrailMemberAssignments.js +2 -1
- package/esm/funcs/guardrailsListKeyAssignments.js +2 -1
- package/esm/funcs/guardrailsListMemberAssignments.js +2 -1
- package/esm/funcs/guardrailsUpdate.js +2 -1
- package/esm/funcs/modelsCount.d.ts +1 -1
- package/esm/funcs/modelsCount.js +9 -4
- package/esm/funcs/modelsList.js +3 -1
- package/esm/funcs/modelsListForUser.js +2 -1
- package/esm/funcs/oAuthCreateAuthCode.d.ts +1 -1
- package/esm/funcs/oAuthCreateAuthCode.js +4 -3
- package/esm/funcs/oAuthExchangeAuthCodeForAPIKey.js +2 -1
- package/esm/funcs/providersList.js +2 -1
- package/esm/index.d.ts +22 -23
- package/esm/index.js +20 -17
- package/esm/lib/anthropic-compat.d.ts +2 -1
- package/esm/lib/anthropic-compat.js +1 -2
- package/esm/lib/async-params.d.ts +19 -5
- package/esm/lib/async-params.js +5 -1
- package/esm/lib/chat-compat.d.ts +1 -1
- package/esm/lib/chat-compat.js +1 -2
- package/esm/lib/claude-type-guards.d.ts +2 -2
- package/esm/lib/config.d.ts +8 -10
- package/esm/lib/config.js +2 -2
- package/esm/lib/conversation-state.d.ts +1 -1
- package/esm/lib/conversation-state.js +35 -32
- package/esm/lib/env.d.ts +6 -2
- package/esm/lib/env.js +7 -3
- package/esm/lib/model-result.d.ts +73 -17
- package/esm/lib/model-result.js +329 -125
- package/esm/lib/sdks.d.ts +1 -1
- package/esm/lib/sdks.js +8 -28
- package/esm/lib/stream-transformers.d.ts +5 -4
- package/esm/lib/stream-transformers.js +24 -29
- package/esm/lib/stream-type-guards.js +8 -32
- package/esm/lib/tool-context.d.ts +68 -0
- package/esm/lib/tool-context.js +175 -0
- package/esm/lib/tool-executor.d.ts +9 -5
- package/esm/lib/tool-executor.js +26 -16
- package/esm/lib/tool-orchestrator.d.ts +2 -2
- package/esm/lib/tool-types.d.ts +101 -14
- package/esm/lib/tool-types.js +17 -0
- package/esm/lib/tool.d.ts +49 -60
- package/esm/lib/tool.js +15 -19
- package/esm/lib/turn-context.d.ts +1 -1
- package/esm/models/assistantmessage.d.ts +53 -36
- package/esm/models/assistantmessage.js +38 -47
- package/esm/models/assistantmessageimages.d.ts +33 -0
- package/esm/models/assistantmessageimages.js +44 -0
- package/esm/models/chatcompletionaudiooutput.d.ts +38 -0
- package/esm/models/chatcompletionaudiooutput.js +36 -0
- package/esm/models/chatgenerationparams.d.ts +527 -131
- package/esm/models/chatgenerationparams.js +280 -97
- package/esm/models/chatgenerationtokenusage.d.ts +48 -0
- package/esm/models/chatmessagecontentitem.d.ts +16 -10
- package/esm/models/chatmessagecontentitem.js +28 -4
- package/esm/models/chatmessagecontentitemaudio.d.ts +20 -2
- package/esm/models/chatmessagecontentitemaudio.js +9 -2
- package/esm/models/chatmessagecontentitemcachecontrol.d.ts +19 -8
- package/esm/models/chatmessagecontentitemcachecontrol.js +14 -9
- package/esm/models/chatmessagecontentitemfile.d.ts +57 -0
- package/esm/models/chatmessagecontentitemfile.js +59 -0
- package/esm/models/chatmessagecontentitemimage.d.ts +26 -3
- package/esm/models/chatmessagecontentitemimage.js +12 -2
- package/esm/models/chatmessagecontentitemtext.d.ts +17 -2
- package/esm/models/chatmessagecontentitemtext.js +9 -2
- package/esm/models/chatmessagecontentitemvideo.d.ts +12 -55
- package/esm/models/chatmessagecontentitemvideo.js +5 -72
- package/esm/models/chatmessagecontentitemvideolegacy.d.ts +28 -0
- package/esm/models/chatmessagecontentitemvideolegacy.js +33 -0
- package/esm/models/chatmessagetokenlogprob.d.ts +15 -0
- package/esm/models/chatmessagetokenlogprobs.d.ts +10 -1
- package/esm/models/chatmessagetokenlogprobs.js +2 -1
- package/esm/models/chatmessagetoolcall.d.ts +23 -2
- package/esm/models/chatmessagetoolcall.js +9 -2
- package/esm/models/chatresponse.d.ts +30 -2
- package/esm/models/chatresponse.js +7 -2
- package/esm/models/chatresponsechoice.d.ts +13 -2
- package/esm/models/chatresponsechoice.js +1 -2
- package/esm/models/chatstreamingchoice.d.ts +13 -2
- package/esm/models/chatstreamingchoice.js +1 -2
- package/esm/models/chatstreamingmessagechunk.d.ts +31 -2
- package/esm/models/chatstreamingmessagechunk.js +7 -2
- package/esm/models/chatstreamingmessagetoolcall.d.ts +38 -1
- package/esm/models/chatstreamingmessagetoolcall.js +9 -1
- package/esm/models/chatstreamingresponsechunk.d.ts +46 -12
- package/esm/models/chatstreamingresponsechunk.js +12 -26
- package/esm/models/chatstreamoptions.d.ts +8 -0
- package/esm/models/compoundfilter.d.ts +36 -0
- package/esm/models/compoundfilter.js +32 -0
- package/esm/models/conflictresponseerrordata.d.ts +17 -0
- package/esm/models/conflictresponseerrordata.js +16 -0
- package/esm/models/contextcompressionengine.d.ts +15 -0
- package/esm/models/contextcompressionengine.js +14 -0
- package/esm/models/datetimeservertool.d.ts +30 -0
- package/esm/models/datetimeservertool.js +22 -0
- package/esm/models/debugoptions.d.ts +18 -0
- package/esm/models/debugoptions.js +18 -0
- package/esm/models/defaultparameters.d.ts +3 -0
- package/esm/models/defaultparameters.js +6 -0
- package/esm/models/developermessage.d.ts +12 -0
- package/esm/models/errors/conflictresponseerror.d.ts +33 -0
- package/esm/models/errors/{chaterror.js → conflictresponseerror.js} +17 -7
- package/esm/models/errors/index.d.ts +1 -1
- package/esm/models/errors/index.js +1 -1
- package/esm/models/index.d.ts +35 -12
- package/esm/models/index.js +35 -12
- package/esm/models/jsonschemaconfig.d.ts +17 -2
- package/esm/models/jsonschemaconfig.js +1 -1
- package/esm/models/message.d.ts +9 -2
- package/esm/models/message.js +1 -1
- package/esm/models/modelscountresponse.d.ts +4 -4
- package/esm/models/modelscountresponse.js +4 -4
- package/esm/models/namedtoolchoice.d.ts +15 -2
- package/esm/models/namedtoolchoice.js +6 -1
- package/esm/models/openairesponsesinputunion.d.ts +32 -1
- package/esm/models/openairesponsesinputunion.js +53 -1
- package/esm/models/openairesponsesreasoningconfig.d.ts +1 -1
- package/esm/models/openairesponsesreasoningconfig.js +1 -1
- package/esm/models/openresponsesapplypatchtool.d.ts +20 -0
- package/esm/models/openresponsesapplypatchtool.js +21 -0
- package/esm/models/openresponsescodeinterpretertool.d.ts +68 -0
- package/esm/models/openresponsescodeinterpretertool.js +85 -0
- package/esm/models/openresponsescomputertool.d.ts +39 -0
- package/esm/models/openresponsescomputertool.js +50 -0
- package/esm/models/openresponsescustomtool.d.ts +75 -0
- package/esm/models/openresponsescustomtool.js +95 -0
- package/esm/models/openresponseseasyinputmessage.d.ts +30 -4
- package/esm/models/openresponseseasyinputmessage.js +28 -2
- package/esm/models/openresponsesfilesearchtool.d.ts +111 -0
- package/esm/models/openresponsesfilesearchtool.js +180 -0
- package/esm/models/openresponsesfunctioncalloutput.d.ts +46 -7
- package/esm/models/openresponsesfunctioncalloutput.js +56 -4
- package/esm/models/openresponsesfunctionshelltool.d.ts +20 -0
- package/esm/models/openresponsesfunctionshelltool.js +21 -0
- package/esm/models/openresponsesimagegenerationtool.d.ts +125 -0
- package/esm/models/openresponsesimagegenerationtool.js +153 -0
- package/esm/models/openresponsesinputmessageitem.d.ts +2 -2
- package/esm/models/openresponsesinputmessageitem.js +2 -2
- package/esm/models/openresponsesinputunion.d.ts +207 -0
- package/esm/models/openresponsesinputunion.js +225 -0
- package/esm/models/openresponseslocalshelltool.d.ts +20 -0
- package/esm/models/openresponseslocalshelltool.js +21 -0
- package/esm/models/openresponsesmcptool.d.ts +128 -0
- package/esm/models/openresponsesmcptool.js +173 -0
- package/esm/models/openresponsesnonstreamingresponse.d.ts +15 -6
- package/esm/models/openresponsesnonstreamingresponse.js +30 -3
- package/esm/models/openresponsesreasoning.d.ts +2 -2
- package/esm/models/openresponsesreasoning.js +1 -1
- package/esm/models/openresponsesreasoningconfig.d.ts +2 -2
- package/esm/models/openresponsesreasoningconfig.js +1 -1
- package/esm/models/openresponsesrequest.d.ts +111 -39
- package/esm/models/openresponsesrequest.js +112 -38
- package/esm/models/openresponsesstreamevent.d.ts +52 -4
- package/esm/models/openresponsesstreamevent.js +54 -3
- package/esm/models/openresponseswebsearch20250826tool.d.ts +29 -0
- package/esm/models/openresponseswebsearch20250826tool.js +23 -0
- package/esm/models/openresponseswebsearchcallcompleted.d.ts +16 -0
- package/esm/models/openresponseswebsearchcallcompleted.js +24 -0
- package/esm/models/openresponseswebsearchcallinprogress.d.ts +16 -0
- package/esm/models/openresponseswebsearchcallinprogress.js +24 -0
- package/esm/models/openresponseswebsearchcallsearching.d.ts +16 -0
- package/esm/models/openresponseswebsearchcallsearching.js +24 -0
- package/esm/models/openresponseswebsearchpreview20250311tool.d.ts +44 -0
- package/esm/models/openresponseswebsearchpreview20250311tool.js +51 -0
- package/esm/models/openresponseswebsearchpreviewtool.d.ts +44 -0
- package/esm/models/openresponseswebsearchpreviewtool.js +47 -0
- package/esm/models/openresponseswebsearchtool.d.ts +29 -0
- package/esm/models/openresponseswebsearchtool.js +23 -0
- package/esm/models/operations/bulkassignkeystoguardrail.d.ts +16 -3
- package/esm/models/operations/bulkassignkeystoguardrail.js +2 -2
- package/esm/models/operations/bulkassignmemberstoguardrail.d.ts +16 -3
- package/esm/models/operations/bulkassignmemberstoguardrail.js +2 -2
- package/esm/models/operations/bulkunassignkeysfromguardrail.d.ts +16 -3
- package/esm/models/operations/bulkunassignkeysfromguardrail.js +2 -2
- package/esm/models/operations/bulkunassignmembersfromguardrail.d.ts +16 -3
- package/esm/models/operations/bulkunassignmembersfromguardrail.js +2 -2
- package/esm/models/operations/createauthkeyscode.d.ts +40 -3
- package/esm/models/operations/createauthkeyscode.js +16 -2
- package/esm/models/operations/createcoinbasecharge.d.ts +16 -3
- package/esm/models/operations/createcoinbasecharge.js +2 -2
- package/esm/models/operations/createembeddings.d.ts +16 -3
- package/esm/models/operations/createembeddings.js +2 -2
- package/esm/models/operations/createguardrail.d.ts +25 -3
- package/esm/models/operations/createguardrail.js +6 -2
- package/esm/models/operations/createkeys.d.ts +16 -3
- package/esm/models/operations/createkeys.js +2 -2
- package/esm/models/operations/createresponses.d.ts +16 -3
- package/esm/models/operations/createresponses.js +2 -2
- package/esm/models/operations/deleteguardrail.d.ts +16 -3
- package/esm/models/operations/deleteguardrail.js +2 -2
- package/esm/models/operations/deletekeys.d.ts +16 -3
- package/esm/models/operations/deletekeys.js +2 -2
- package/esm/models/operations/exchangeauthcodeforapikey.d.ts +16 -3
- package/esm/models/operations/exchangeauthcodeforapikey.js +2 -2
- package/esm/models/operations/getcredits.d.ts +16 -3
- package/esm/models/operations/getcredits.js +2 -2
- package/esm/models/operations/getcurrentkey.d.ts +16 -3
- package/esm/models/operations/getcurrentkey.js +2 -2
- package/esm/models/operations/getgeneration.d.ts +27 -3
- package/esm/models/operations/getgeneration.js +9 -2
- package/esm/models/operations/getguardrail.d.ts +20 -3
- package/esm/models/operations/getguardrail.js +4 -2
- package/esm/models/operations/getkey.d.ts +16 -3
- package/esm/models/operations/getkey.js +2 -2
- package/esm/models/operations/getmodels.d.ts +21 -3
- package/esm/models/operations/getmodels.js +4 -2
- package/esm/models/operations/getuseractivity.d.ts +16 -3
- package/esm/models/operations/getuseractivity.js +2 -2
- package/esm/models/operations/list.d.ts +16 -3
- package/esm/models/operations/list.js +2 -2
- package/esm/models/operations/listembeddingsmodels.d.ts +16 -3
- package/esm/models/operations/listembeddingsmodels.js +2 -2
- package/esm/models/operations/listendpoints.d.ts +16 -3
- package/esm/models/operations/listendpoints.js +2 -2
- package/esm/models/operations/listendpointszdr.d.ts +16 -3
- package/esm/models/operations/listendpointszdr.js +2 -2
- package/esm/models/operations/listguardrailkeyassignments.d.ts +16 -3
- package/esm/models/operations/listguardrailkeyassignments.js +2 -2
- package/esm/models/operations/listguardrailmemberassignments.d.ts +16 -3
- package/esm/models/operations/listguardrailmemberassignments.js +2 -2
- package/esm/models/operations/listguardrails.d.ts +20 -3
- package/esm/models/operations/listguardrails.js +4 -2
- package/esm/models/operations/listkeyassignments.d.ts +16 -3
- package/esm/models/operations/listkeyassignments.js +2 -2
- package/esm/models/operations/listmemberassignments.d.ts +16 -3
- package/esm/models/operations/listmemberassignments.js +2 -2
- package/esm/models/operations/listmodelscount.d.ts +21 -3
- package/esm/models/operations/listmodelscount.js +4 -2
- package/esm/models/operations/listmodelsuser.d.ts +16 -3
- package/esm/models/operations/listmodelsuser.js +2 -2
- package/esm/models/operations/listproviders.d.ts +16 -3
- package/esm/models/operations/listproviders.js +2 -2
- package/esm/models/operations/sendchatcompletionrequest.d.ts +27 -5
- package/esm/models/operations/sendchatcompletionrequest.js +22 -4
- package/esm/models/operations/updateguardrail.d.ts +25 -3
- package/esm/models/operations/updateguardrail.js +6 -2
- package/esm/models/operations/updatekeys.d.ts +16 -3
- package/esm/models/operations/updatekeys.js +2 -2
- package/esm/models/outputmessage.d.ts +23 -0
- package/esm/models/outputmessage.js +24 -0
- package/esm/models/outputmodality.d.ts +1 -0
- package/esm/models/outputmodality.js +1 -0
- package/esm/models/providername.d.ts +3 -0
- package/esm/models/providername.js +3 -0
- package/esm/models/providerpreferences.d.ts +49 -14
- package/esm/models/providerpreferences.js +33 -15
- package/esm/models/providersort.d.ts +7 -0
- package/esm/models/providersort.js +4 -0
- package/esm/models/providersortconfig.d.ts +31 -2
- package/esm/models/providersortconfig.js +16 -2
- package/esm/models/reasoningdetailencrypted.d.ts +42 -0
- package/esm/models/reasoningdetailencrypted.js +42 -0
- package/esm/models/reasoningdetailsummary.d.ts +42 -0
- package/esm/models/reasoningdetailsummary.js +42 -0
- package/esm/models/reasoningdetailtext.d.ts +44 -0
- package/esm/models/reasoningdetailtext.js +44 -0
- package/esm/models/reasoningdetailunion.d.ts +19 -0
- package/esm/models/reasoningdetailunion.js +28 -0
- package/esm/models/responseformatjsonobject.d.ts +20 -0
- package/esm/models/responseformatjsonobject.js +21 -0
- package/esm/models/responseformatjsonschema.d.ts +6 -0
- package/esm/models/responseformattext.d.ts +15 -0
- package/esm/models/responseformattext.js +13 -0
- package/esm/models/responseformattextconfig.d.ts +3 -3
- package/esm/models/responseformattextconfig.js +3 -3
- package/esm/models/responseformattextgrammar.d.ts +6 -0
- package/esm/models/responseformattextpython.d.ts +15 -0
- package/esm/models/responseformattextpython.js +13 -0
- package/esm/models/responseoutputtext.d.ts +8 -8
- package/esm/models/responseoutputtext.js +10 -9
- package/esm/models/responseserrorfield.d.ts +4 -4
- package/esm/models/responseserrorfield.js +4 -4
- package/esm/models/responsesoutputitem.d.ts +2 -13
- package/esm/models/responsesoutputitem.js +8 -6
- package/esm/models/responsesoutputitemreasoning.d.ts +3 -32
- package/esm/models/responsesoutputitemreasoning.js +3 -45
- package/esm/models/responsesoutputmessage.d.ts +24 -32
- package/esm/models/responsesoutputmessage.js +26 -47
- package/esm/models/responsesservertooloutput.d.ts +42 -0
- package/esm/models/responsesservertooloutput.js +44 -0
- package/esm/models/responseswebsearchcalloutput.d.ts +90 -5
- package/esm/models/responseswebsearchcalloutput.js +113 -5
- package/esm/models/responseswebsearchservertool.d.ts +35 -0
- package/esm/models/responseswebsearchservertool.js +28 -0
- package/esm/models/systemmessage.d.ts +12 -0
- package/esm/models/toolchoiceoption.d.ts +31 -0
- package/esm/models/toolchoiceoption.js +32 -0
- package/esm/models/tooldefinitionjson.d.ts +62 -10
- package/esm/models/tooldefinitionjson.js +29 -6
- package/esm/models/toolresponsemessage.d.ts +12 -0
- package/esm/models/usermessage.d.ts +12 -0
- package/esm/models/videoinput.d.ts +23 -0
- package/esm/models/videoinput.js +22 -0
- package/esm/models/websearchengine.d.ts +2 -0
- package/esm/models/websearchengine.js +2 -0
- package/esm/models/websearchservertool.d.ts +116 -0
- package/esm/models/websearchservertool.js +77 -0
- package/esm/models/websearchshorthand.d.ts +215 -0
- package/esm/models/websearchshorthand.js +138 -0
- package/esm/sdk/chat.d.ts +1 -1
- package/esm/sdk/sdk.d.ts +6 -3
- package/esm/sdk/sdk.js +3 -4
- package/esm/types/index.d.ts +0 -2
- package/esm/types/index.js +0 -1
- package/jsr.json +1 -1
- package/package.json +11 -6
- package/turbo.json +10 -0
- package/esm/models/chaterror.d.ts +0 -17
- package/esm/models/chaterror.js +0 -25
- package/esm/models/errors/chaterror.d.ts +0 -19
- package/esm/models/openresponsesinput.d.ts +0 -28
- package/esm/models/openresponsesinput.js +0 -54
- package/esm/models/openresponseslogprobs.d.ts +0 -16
- package/esm/models/openresponseslogprobs.js +0 -22
- package/esm/models/openresponsestoplogprobs.d.ts +0 -14
- package/esm/models/openresponsestoplogprobs.js +0 -15
- package/esm/models/providersortunion.d.ts +0 -10
- package/esm/models/providersortunion.js +0 -13
- package/esm/models/responsesformatjsonobject.d.ts +0 -20
- package/esm/models/responsesformatjsonobject.js +0 -21
- package/esm/models/schema10.d.ts +0 -33
- package/esm/models/schema10.js +0 -30
- package/esm/models/schema14.d.ts +0 -8
- package/esm/models/schema14.js +0 -12
- package/esm/models/schema17.d.ts +0 -102
- package/esm/models/schema17.js +0 -95
- package/esm/models/schema19.d.ts +0 -92
- package/esm/models/schema19.js +0 -109
- package/esm/models/schema5.d.ts +0 -86
- package/esm/models/schema5.js +0 -89
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
import { OpenEnum } from "../types/enums.js";
|
|
3
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
4
|
+
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
5
|
+
export declare const CompoundFilterType: {
|
|
6
|
+
readonly And: "and";
|
|
7
|
+
readonly Or: "or";
|
|
8
|
+
};
|
|
9
|
+
export type CompoundFilterType = OpenEnum<typeof CompoundFilterType>;
|
|
10
|
+
/**
|
|
11
|
+
* A compound filter that combines multiple comparison or compound filters
|
|
12
|
+
*/
|
|
13
|
+
export type CompoundFilter = {
|
|
14
|
+
type: CompoundFilterType;
|
|
15
|
+
filters: Array<{
|
|
16
|
+
[k: string]: any | null;
|
|
17
|
+
}>;
|
|
18
|
+
};
|
|
19
|
+
/** @internal */
|
|
20
|
+
export declare const CompoundFilterType$inboundSchema: z.ZodType<CompoundFilterType, unknown>;
|
|
21
|
+
/** @internal */
|
|
22
|
+
export declare const CompoundFilterType$outboundSchema: z.ZodType<string, CompoundFilterType>;
|
|
23
|
+
/** @internal */
|
|
24
|
+
export declare const CompoundFilter$inboundSchema: z.ZodType<CompoundFilter, unknown>;
|
|
25
|
+
/** @internal */
|
|
26
|
+
export type CompoundFilter$Outbound = {
|
|
27
|
+
type: string;
|
|
28
|
+
filters: Array<{
|
|
29
|
+
[k: string]: any | null;
|
|
30
|
+
}>;
|
|
31
|
+
};
|
|
32
|
+
/** @internal */
|
|
33
|
+
export declare const CompoundFilter$outboundSchema: z.ZodType<CompoundFilter$Outbound, CompoundFilter>;
|
|
34
|
+
export declare function compoundFilterToJSON(compoundFilter: CompoundFilter): string;
|
|
35
|
+
export declare function compoundFilterFromJSON(jsonString: string): SafeParseResult<CompoundFilter, SDKValidationError>;
|
|
36
|
+
//# sourceMappingURL=compoundfilter.d.ts.map
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: beca2c6f6a75
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { safeParse } from "../lib/schemas.js";
|
|
7
|
+
import * as openEnums from "../types/enums.js";
|
|
8
|
+
export const CompoundFilterType = {
|
|
9
|
+
And: "and",
|
|
10
|
+
Or: "or",
|
|
11
|
+
};
|
|
12
|
+
/** @internal */
|
|
13
|
+
export const CompoundFilterType$inboundSchema = openEnums.inboundSchema(CompoundFilterType);
|
|
14
|
+
/** @internal */
|
|
15
|
+
export const CompoundFilterType$outboundSchema = openEnums.outboundSchema(CompoundFilterType);
|
|
16
|
+
/** @internal */
|
|
17
|
+
export const CompoundFilter$inboundSchema = z.object({
|
|
18
|
+
type: CompoundFilterType$inboundSchema,
|
|
19
|
+
filters: z.array(z.record(z.string(), z.nullable(z.any()))),
|
|
20
|
+
});
|
|
21
|
+
/** @internal */
|
|
22
|
+
export const CompoundFilter$outboundSchema = z.object({
|
|
23
|
+
type: CompoundFilterType$outboundSchema,
|
|
24
|
+
filters: z.array(z.record(z.string(), z.nullable(z.any()))),
|
|
25
|
+
});
|
|
26
|
+
export function compoundFilterToJSON(compoundFilter) {
|
|
27
|
+
return JSON.stringify(CompoundFilter$outboundSchema.parse(compoundFilter));
|
|
28
|
+
}
|
|
29
|
+
export function compoundFilterFromJSON(jsonString) {
|
|
30
|
+
return safeParse(jsonString, (x) => CompoundFilter$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CompoundFilter' from JSON`);
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=compoundfilter.js.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
4
|
+
/**
|
|
5
|
+
* Error data for ConflictResponse
|
|
6
|
+
*/
|
|
7
|
+
export type ConflictResponseErrorData = {
|
|
8
|
+
code: number;
|
|
9
|
+
message: string;
|
|
10
|
+
metadata?: {
|
|
11
|
+
[k: string]: any | null;
|
|
12
|
+
} | null | undefined;
|
|
13
|
+
};
|
|
14
|
+
/** @internal */
|
|
15
|
+
export declare const ConflictResponseErrorData$inboundSchema: z.ZodType<ConflictResponseErrorData, unknown>;
|
|
16
|
+
export declare function conflictResponseErrorDataFromJSON(jsonString: string): SafeParseResult<ConflictResponseErrorData, SDKValidationError>;
|
|
17
|
+
//# sourceMappingURL=conflictresponseerrordata.d.ts.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 6c8ea4c00fd1
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { safeParse } from "../lib/schemas.js";
|
|
7
|
+
/** @internal */
|
|
8
|
+
export const ConflictResponseErrorData$inboundSchema = z.object({
|
|
9
|
+
code: z.int(),
|
|
10
|
+
message: z.string(),
|
|
11
|
+
metadata: z.nullable(z.record(z.string(), z.nullable(z.any()))).optional(),
|
|
12
|
+
});
|
|
13
|
+
export function conflictResponseErrorDataFromJSON(jsonString) {
|
|
14
|
+
return safeParse(jsonString, (x) => ConflictResponseErrorData$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ConflictResponseErrorData' from JSON`);
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=conflictresponseerrordata.js.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
3
|
+
/**
|
|
4
|
+
* The compression engine to use. Defaults to "middle-out".
|
|
5
|
+
*/
|
|
6
|
+
export declare const ContextCompressionEngine: {
|
|
7
|
+
readonly MiddleOut: "middle-out";
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* The compression engine to use. Defaults to "middle-out".
|
|
11
|
+
*/
|
|
12
|
+
export type ContextCompressionEngine = ClosedEnum<typeof ContextCompressionEngine>;
|
|
13
|
+
/** @internal */
|
|
14
|
+
export declare const ContextCompressionEngine$outboundSchema: z.ZodEnum<typeof ContextCompressionEngine>;
|
|
15
|
+
//# sourceMappingURL=contextcompressionengine.d.ts.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: c80f6c3a6e09
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
/**
|
|
7
|
+
* The compression engine to use. Defaults to "middle-out".
|
|
8
|
+
*/
|
|
9
|
+
export const ContextCompressionEngine = {
|
|
10
|
+
MiddleOut: "middle-out",
|
|
11
|
+
};
|
|
12
|
+
/** @internal */
|
|
13
|
+
export const ContextCompressionEngine$outboundSchema = z.enum(ContextCompressionEngine);
|
|
14
|
+
//# sourceMappingURL=contextcompressionengine.js.map
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
export type DatetimeServerToolParameters = {
|
|
3
|
+
/**
|
|
4
|
+
* IANA timezone name (e.g. "America/New_York"). Defaults to UTC.
|
|
5
|
+
*/
|
|
6
|
+
timezone?: string | undefined;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* OpenRouter built-in server tool: returns the current date and time
|
|
10
|
+
*/
|
|
11
|
+
export type DatetimeServerTool = {
|
|
12
|
+
type: "openrouter:datetime";
|
|
13
|
+
parameters?: DatetimeServerToolParameters | undefined;
|
|
14
|
+
};
|
|
15
|
+
/** @internal */
|
|
16
|
+
export type DatetimeServerToolParameters$Outbound = {
|
|
17
|
+
timezone?: string | undefined;
|
|
18
|
+
};
|
|
19
|
+
/** @internal */
|
|
20
|
+
export declare const DatetimeServerToolParameters$outboundSchema: z.ZodType<DatetimeServerToolParameters$Outbound, DatetimeServerToolParameters>;
|
|
21
|
+
export declare function datetimeServerToolParametersToJSON(datetimeServerToolParameters: DatetimeServerToolParameters): string;
|
|
22
|
+
/** @internal */
|
|
23
|
+
export type DatetimeServerTool$Outbound = {
|
|
24
|
+
type: "openrouter:datetime";
|
|
25
|
+
parameters?: DatetimeServerToolParameters$Outbound | undefined;
|
|
26
|
+
};
|
|
27
|
+
/** @internal */
|
|
28
|
+
export declare const DatetimeServerTool$outboundSchema: z.ZodType<DatetimeServerTool$Outbound, DatetimeServerTool>;
|
|
29
|
+
export declare function datetimeServerToolToJSON(datetimeServerTool: DatetimeServerTool): string;
|
|
30
|
+
//# sourceMappingURL=datetimeservertool.d.ts.map
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: e4d8b08fcbb5
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
/** @internal */
|
|
7
|
+
export const DatetimeServerToolParameters$outboundSchema = z.object({
|
|
8
|
+
timezone: z.string().optional(),
|
|
9
|
+
});
|
|
10
|
+
export function datetimeServerToolParametersToJSON(datetimeServerToolParameters) {
|
|
11
|
+
return JSON.stringify(DatetimeServerToolParameters$outboundSchema.parse(datetimeServerToolParameters));
|
|
12
|
+
}
|
|
13
|
+
/** @internal */
|
|
14
|
+
export const DatetimeServerTool$outboundSchema = z.object({
|
|
15
|
+
type: z.literal("openrouter:datetime"),
|
|
16
|
+
parameters: z.lazy(() => DatetimeServerToolParameters$outboundSchema)
|
|
17
|
+
.optional(),
|
|
18
|
+
});
|
|
19
|
+
export function datetimeServerToolToJSON(datetimeServerTool) {
|
|
20
|
+
return JSON.stringify(DatetimeServerTool$outboundSchema.parse(datetimeServerTool));
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=datetimeservertool.js.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* Debug options for inspecting request transformations (streaming only)
|
|
4
|
+
*/
|
|
5
|
+
export type DebugOptions = {
|
|
6
|
+
/**
|
|
7
|
+
* If true, includes the transformed upstream request body in a debug chunk at the start of the stream. Only works with streaming mode.
|
|
8
|
+
*/
|
|
9
|
+
echoUpstreamBody?: boolean | undefined;
|
|
10
|
+
};
|
|
11
|
+
/** @internal */
|
|
12
|
+
export type DebugOptions$Outbound = {
|
|
13
|
+
echo_upstream_body?: boolean | undefined;
|
|
14
|
+
};
|
|
15
|
+
/** @internal */
|
|
16
|
+
export declare const DebugOptions$outboundSchema: z.ZodType<DebugOptions$Outbound, DebugOptions>;
|
|
17
|
+
export declare function debugOptionsToJSON(debugOptions: DebugOptions): string;
|
|
18
|
+
//# sourceMappingURL=debugoptions.d.ts.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 12d8bc710ea7
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { remap as remap$ } from "../lib/primitives.js";
|
|
7
|
+
/** @internal */
|
|
8
|
+
export const DebugOptions$outboundSchema = z.object({
|
|
9
|
+
echoUpstreamBody: z.boolean().optional(),
|
|
10
|
+
}).transform((v) => {
|
|
11
|
+
return remap$(v, {
|
|
12
|
+
echoUpstreamBody: "echo_upstream_body",
|
|
13
|
+
});
|
|
14
|
+
});
|
|
15
|
+
export function debugOptionsToJSON(debugOptions) {
|
|
16
|
+
return JSON.stringify(DebugOptions$outboundSchema.parse(debugOptions));
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=debugoptions.js.map
|
|
@@ -7,7 +7,10 @@ import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
|
7
7
|
export type DefaultParameters = {
|
|
8
8
|
temperature?: number | null | undefined;
|
|
9
9
|
topP?: number | null | undefined;
|
|
10
|
+
topK?: number | null | undefined;
|
|
10
11
|
frequencyPenalty?: number | null | undefined;
|
|
12
|
+
presencePenalty?: number | null | undefined;
|
|
13
|
+
repetitionPenalty?: number | null | undefined;
|
|
11
14
|
};
|
|
12
15
|
/** @internal */
|
|
13
16
|
export declare const DefaultParameters$inboundSchema: z.ZodType<DefaultParameters, unknown>;
|
|
@@ -9,11 +9,17 @@ import { safeParse } from "../lib/schemas.js";
|
|
|
9
9
|
export const DefaultParameters$inboundSchema = z.object({
|
|
10
10
|
temperature: z.nullable(z.number()).optional(),
|
|
11
11
|
top_p: z.nullable(z.number()).optional(),
|
|
12
|
+
top_k: z.nullable(z.int()).optional(),
|
|
12
13
|
frequency_penalty: z.nullable(z.number()).optional(),
|
|
14
|
+
presence_penalty: z.nullable(z.number()).optional(),
|
|
15
|
+
repetition_penalty: z.nullable(z.number()).optional(),
|
|
13
16
|
}).transform((v) => {
|
|
14
17
|
return remap$(v, {
|
|
15
18
|
"top_p": "topP",
|
|
19
|
+
"top_k": "topK",
|
|
16
20
|
"frequency_penalty": "frequencyPenalty",
|
|
21
|
+
"presence_penalty": "presencePenalty",
|
|
22
|
+
"repetition_penalty": "repetitionPenalty",
|
|
17
23
|
});
|
|
18
24
|
});
|
|
19
25
|
export function defaultParametersFromJSON(jsonString) {
|
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
import * as z from "zod/v4";
|
|
2
2
|
import { ChatMessageContentItemText, ChatMessageContentItemText$Outbound } from "./chatmessagecontentitemtext.js";
|
|
3
|
+
/**
|
|
4
|
+
* Developer message content
|
|
5
|
+
*/
|
|
3
6
|
export type DeveloperMessageContent = string | Array<ChatMessageContentItemText>;
|
|
7
|
+
/**
|
|
8
|
+
* Developer message
|
|
9
|
+
*/
|
|
4
10
|
export type DeveloperMessage = {
|
|
5
11
|
role: "developer";
|
|
12
|
+
/**
|
|
13
|
+
* Developer message content
|
|
14
|
+
*/
|
|
6
15
|
content: string | Array<ChatMessageContentItemText>;
|
|
16
|
+
/**
|
|
17
|
+
* Optional name for the developer message
|
|
18
|
+
*/
|
|
7
19
|
name?: string | undefined;
|
|
8
20
|
};
|
|
9
21
|
/** @internal */
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
import * as models from "../index.js";
|
|
3
|
+
import { OpenRouterError } from "./openroutererror.js";
|
|
4
|
+
/**
|
|
5
|
+
* Conflict - Resource conflict or concurrent modification
|
|
6
|
+
*/
|
|
7
|
+
export type ConflictResponseErrorData = {
|
|
8
|
+
/**
|
|
9
|
+
* Error data for ConflictResponse
|
|
10
|
+
*/
|
|
11
|
+
error: models.ConflictResponseErrorData;
|
|
12
|
+
userId?: string | null | undefined;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Conflict - Resource conflict or concurrent modification
|
|
16
|
+
*/
|
|
17
|
+
export declare class ConflictResponseError extends OpenRouterError {
|
|
18
|
+
/**
|
|
19
|
+
* Error data for ConflictResponse
|
|
20
|
+
*/
|
|
21
|
+
error: models.ConflictResponseErrorData;
|
|
22
|
+
userId?: string | null | undefined;
|
|
23
|
+
/** The original data that was passed to this error instance. */
|
|
24
|
+
data$: ConflictResponseErrorData;
|
|
25
|
+
constructor(err: ConflictResponseErrorData, httpMeta: {
|
|
26
|
+
response: Response;
|
|
27
|
+
request: Request;
|
|
28
|
+
body: string;
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
/** @internal */
|
|
32
|
+
export declare const ConflictResponseError$inboundSchema: z.ZodType<ConflictResponseError, unknown>;
|
|
33
|
+
//# sourceMappingURL=conflictresponseerror.d.ts.map
|
|
@@ -1,32 +1,42 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
* @generated-id:
|
|
3
|
+
* @generated-id: 3d49b17cca5f
|
|
4
4
|
*/
|
|
5
5
|
import * as z from "zod/v4";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
7
|
import * as models from "../index.js";
|
|
7
8
|
import { OpenRouterError } from "./openroutererror.js";
|
|
8
|
-
|
|
9
|
+
/**
|
|
10
|
+
* Conflict - Resource conflict or concurrent modification
|
|
11
|
+
*/
|
|
12
|
+
export class ConflictResponseError extends OpenRouterError {
|
|
9
13
|
constructor(err, httpMeta) {
|
|
10
14
|
const message = err.error?.message
|
|
11
15
|
|| `API error occurred: ${JSON.stringify(err)}`;
|
|
12
16
|
super(message, httpMeta);
|
|
13
17
|
this.data$ = err;
|
|
14
18
|
this.error = err.error;
|
|
15
|
-
|
|
19
|
+
if (err.userId != null)
|
|
20
|
+
this.userId = err.userId;
|
|
21
|
+
this.name = "ConflictResponseError";
|
|
16
22
|
}
|
|
17
23
|
}
|
|
18
24
|
/** @internal */
|
|
19
|
-
export const
|
|
20
|
-
error:
|
|
25
|
+
export const ConflictResponseError$inboundSchema = z.object({
|
|
26
|
+
error: models.ConflictResponseErrorData$inboundSchema,
|
|
27
|
+
user_id: z.nullable(z.string()).optional(),
|
|
21
28
|
request$: z.custom(x => x instanceof Request),
|
|
22
29
|
response$: z.custom(x => x instanceof Response),
|
|
23
30
|
body$: z.string(),
|
|
24
31
|
})
|
|
25
32
|
.transform((v) => {
|
|
26
|
-
|
|
33
|
+
const remapped = remap$(v, {
|
|
34
|
+
"user_id": "userId",
|
|
35
|
+
});
|
|
36
|
+
return new ConflictResponseError(remapped, {
|
|
27
37
|
request: v.request$,
|
|
28
38
|
response: v.response$,
|
|
29
39
|
body: v.body$,
|
|
30
40
|
});
|
|
31
41
|
});
|
|
32
|
-
//# sourceMappingURL=
|
|
42
|
+
//# sourceMappingURL=conflictresponseerror.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * from "./badgatewayresponseerror.js";
|
|
2
2
|
export * from "./badrequestresponseerror.js";
|
|
3
|
-
export * from "./
|
|
3
|
+
export * from "./conflictresponseerror.js";
|
|
4
4
|
export * from "./edgenetworktimeoutresponseerror.js";
|
|
5
5
|
export * from "./forbiddenresponseerror.js";
|
|
6
6
|
export * from "./httpclienterrors.js";
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
export * from "./badgatewayresponseerror.js";
|
|
6
6
|
export * from "./badrequestresponseerror.js";
|
|
7
|
-
export * from "./
|
|
7
|
+
export * from "./conflictresponseerror.js";
|
|
8
8
|
export * from "./edgenetworktimeoutresponseerror.js";
|
|
9
9
|
export * from "./forbiddenresponseerror.js";
|
|
10
10
|
export * from "./httpclienterrors.js";
|
package/esm/models/index.d.ts
CHANGED
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
export * from "./activityitem.js";
|
|
2
2
|
export * from "./assistantmessage.js";
|
|
3
|
+
export * from "./assistantmessageimages.js";
|
|
3
4
|
export * from "./badgatewayresponseerrordata.js";
|
|
4
5
|
export * from "./badrequestresponseerrordata.js";
|
|
6
|
+
export * from "./chatcompletionaudiooutput.js";
|
|
5
7
|
export * from "./chatcompletionfinishreason.js";
|
|
6
|
-
export * from "./chaterror.js";
|
|
7
8
|
export * from "./chatgenerationparams.js";
|
|
8
9
|
export * from "./chatgenerationtokenusage.js";
|
|
9
10
|
export * from "./chatmessagecontentitem.js";
|
|
10
11
|
export * from "./chatmessagecontentitemaudio.js";
|
|
11
12
|
export * from "./chatmessagecontentitemcachecontrol.js";
|
|
13
|
+
export * from "./chatmessagecontentitemfile.js";
|
|
12
14
|
export * from "./chatmessagecontentitemimage.js";
|
|
13
15
|
export * from "./chatmessagecontentitemtext.js";
|
|
14
16
|
export * from "./chatmessagecontentitemvideo.js";
|
|
17
|
+
export * from "./chatmessagecontentitemvideolegacy.js";
|
|
15
18
|
export * from "./chatmessagetokenlogprob.js";
|
|
16
19
|
export * from "./chatmessagetokenlogprobs.js";
|
|
17
20
|
export * from "./chatmessagetoolcall.js";
|
|
@@ -22,8 +25,13 @@ export * from "./chatstreamingmessagechunk.js";
|
|
|
22
25
|
export * from "./chatstreamingmessagetoolcall.js";
|
|
23
26
|
export * from "./chatstreamingresponsechunk.js";
|
|
24
27
|
export * from "./chatstreamoptions.js";
|
|
28
|
+
export * from "./compoundfilter.js";
|
|
29
|
+
export * from "./conflictresponseerrordata.js";
|
|
30
|
+
export * from "./contextcompressionengine.js";
|
|
25
31
|
export * from "./createchargerequest.js";
|
|
26
32
|
export * from "./datacollection.js";
|
|
33
|
+
export * from "./datetimeservertool.js";
|
|
34
|
+
export * from "./debugoptions.js";
|
|
27
35
|
export * from "./defaultparameters.js";
|
|
28
36
|
export * from "./developermessage.js";
|
|
29
37
|
export * from "./edgenetworktimeoutresponseerrordata.js";
|
|
@@ -57,17 +65,25 @@ export * from "./openairesponsesresponsestatus.js";
|
|
|
57
65
|
export * from "./openairesponsesservicetier.js";
|
|
58
66
|
export * from "./openairesponsestoolchoiceunion.js";
|
|
59
67
|
export * from "./openairesponsestruncation.js";
|
|
68
|
+
export * from "./openresponsesapplypatchtool.js";
|
|
69
|
+
export * from "./openresponsescodeinterpretertool.js";
|
|
70
|
+
export * from "./openresponsescomputertool.js";
|
|
71
|
+
export * from "./openresponsescustomtool.js";
|
|
60
72
|
export * from "./openresponseseasyinputmessage.js";
|
|
61
73
|
export * from "./openresponseserrorevent.js";
|
|
74
|
+
export * from "./openresponsesfilesearchtool.js";
|
|
62
75
|
export * from "./openresponsesfunctioncalloutput.js";
|
|
76
|
+
export * from "./openresponsesfunctionshelltool.js";
|
|
63
77
|
export * from "./openresponsesfunctiontoolcall.js";
|
|
64
78
|
export * from "./openresponsesimagegencallcompleted.js";
|
|
65
79
|
export * from "./openresponsesimagegencallgenerating.js";
|
|
66
80
|
export * from "./openresponsesimagegencallinprogress.js";
|
|
67
81
|
export * from "./openresponsesimagegencallpartialimage.js";
|
|
68
|
-
export * from "./
|
|
82
|
+
export * from "./openresponsesimagegenerationtool.js";
|
|
69
83
|
export * from "./openresponsesinputmessageitem.js";
|
|
70
|
-
export * from "./
|
|
84
|
+
export * from "./openresponsesinputunion.js";
|
|
85
|
+
export * from "./openresponseslocalshelltool.js";
|
|
86
|
+
export * from "./openresponsesmcptool.js";
|
|
71
87
|
export * from "./openresponsesnonstreamingresponse.js";
|
|
72
88
|
export * from "./openresponsesreasoning.js";
|
|
73
89
|
export * from "./openresponsesreasoningconfig.js";
|
|
@@ -79,9 +95,11 @@ export * from "./openresponsesreasoningsummarytextdoneevent.js";
|
|
|
79
95
|
export * from "./openresponsesrequest.js";
|
|
80
96
|
export * from "./openresponsesresponsetext.js";
|
|
81
97
|
export * from "./openresponsesstreamevent.js";
|
|
82
|
-
export * from "./openresponsestoplogprobs.js";
|
|
83
98
|
export * from "./openresponsesusage.js";
|
|
84
99
|
export * from "./openresponseswebsearch20250826tool.js";
|
|
100
|
+
export * from "./openresponseswebsearchcallcompleted.js";
|
|
101
|
+
export * from "./openresponseswebsearchcallinprogress.js";
|
|
102
|
+
export * from "./openresponseswebsearchcallsearching.js";
|
|
85
103
|
export * from "./openresponseswebsearchpreview20250311tool.js";
|
|
86
104
|
export * from "./openresponseswebsearchpreviewtool.js";
|
|
87
105
|
export * from "./openresponseswebsearchtool.js";
|
|
@@ -104,17 +122,23 @@ export * from "./provideroverloadedresponseerrordata.js";
|
|
|
104
122
|
export * from "./providerpreferences.js";
|
|
105
123
|
export * from "./providersort.js";
|
|
106
124
|
export * from "./providersortconfig.js";
|
|
107
|
-
export * from "./providersortunion.js";
|
|
108
125
|
export * from "./publicendpoint.js";
|
|
109
126
|
export * from "./publicpricing.js";
|
|
110
127
|
export * from "./quantization.js";
|
|
128
|
+
export * from "./reasoningdetailencrypted.js";
|
|
129
|
+
export * from "./reasoningdetailsummary.js";
|
|
130
|
+
export * from "./reasoningdetailtext.js";
|
|
131
|
+
export * from "./reasoningdetailunion.js";
|
|
111
132
|
export * from "./reasoningsummarytext.js";
|
|
112
133
|
export * from "./reasoningsummaryverbosity.js";
|
|
113
134
|
export * from "./reasoningtextcontent.js";
|
|
114
135
|
export * from "./requesttimeoutresponseerrordata.js";
|
|
136
|
+
export * from "./responseformatjsonobject.js";
|
|
115
137
|
export * from "./responseformatjsonschema.js";
|
|
138
|
+
export * from "./responseformattext.js";
|
|
116
139
|
export * from "./responseformattextconfig.js";
|
|
117
140
|
export * from "./responseformattextgrammar.js";
|
|
141
|
+
export * from "./responseformattextpython.js";
|
|
118
142
|
export * from "./responseinputaudio.js";
|
|
119
143
|
export * from "./responseinputfile.js";
|
|
120
144
|
export * from "./responseinputimage.js";
|
|
@@ -122,7 +146,6 @@ export * from "./responseinputtext.js";
|
|
|
122
146
|
export * from "./responseinputvideo.js";
|
|
123
147
|
export * from "./responseoutputtext.js";
|
|
124
148
|
export * from "./responseserrorfield.js";
|
|
125
|
-
export * from "./responsesformatjsonobject.js";
|
|
126
149
|
export * from "./responsesformattext.js";
|
|
127
150
|
export * from "./responsesformattextjsonschemaconfig.js";
|
|
128
151
|
export * from "./responsesimagegenerationcall.js";
|
|
@@ -133,18 +156,16 @@ export * from "./responsesoutputitemreasoning.js";
|
|
|
133
156
|
export * from "./responsesoutputmessage.js";
|
|
134
157
|
export * from "./responsesoutputmodality.js";
|
|
135
158
|
export * from "./responsessearchcontextsize.js";
|
|
159
|
+
export * from "./responsesservertooloutput.js";
|
|
136
160
|
export * from "./responseswebsearchcalloutput.js";
|
|
161
|
+
export * from "./responseswebsearchservertool.js";
|
|
137
162
|
export * from "./responseswebsearchuserlocation.js";
|
|
138
163
|
export * from "./responsetextconfig.js";
|
|
139
|
-
export * from "./schema10.js";
|
|
140
|
-
export * from "./schema14.js";
|
|
141
|
-
export * from "./schema17.js";
|
|
142
|
-
export * from "./schema19.js";
|
|
143
|
-
export * from "./schema5.js";
|
|
144
164
|
export * from "./security.js";
|
|
145
165
|
export * from "./serviceunavailableresponseerrordata.js";
|
|
146
166
|
export * from "./systemmessage.js";
|
|
147
167
|
export * from "./toolcallstatus.js";
|
|
168
|
+
export * from "./toolchoiceoption.js";
|
|
148
169
|
export * from "./tooldefinitionjson.js";
|
|
149
170
|
export * from "./toolresponsemessage.js";
|
|
150
171
|
export * from "./toomanyrequestsresponseerrordata.js";
|
|
@@ -153,8 +174,10 @@ export * from "./unauthorizedresponseerrordata.js";
|
|
|
153
174
|
export * from "./unprocessableentityresponseerrordata.js";
|
|
154
175
|
export * from "./urlcitation.js";
|
|
155
176
|
export * from "./usermessage.js";
|
|
177
|
+
export * from "./videoinput.js";
|
|
156
178
|
export * from "./websearchengine.js";
|
|
157
179
|
export * from "./websearchpreviewtooluserlocation.js";
|
|
180
|
+
export * from "./websearchservertool.js";
|
|
181
|
+
export * from "./websearchshorthand.js";
|
|
158
182
|
export * from "./websearchstatus.js";
|
|
159
|
-
export * from "./claude-message.js";
|
|
160
183
|
//# sourceMappingURL=index.d.ts.map
|