@mistralai/mistralai 3.1.0 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -10
- package/esm/funcs/betaRagManagedIndexesCreate.d.ts +1 -1
- package/esm/funcs/betaRagManagedIndexesCreate.d.ts.map +1 -1
- package/esm/funcs/betaRagManagedIndexesCreate.js +3 -3
- package/esm/funcs/betaRagManagedIndexesCreate.js.map +1 -1
- package/esm/funcs/betaRagManagedIndexesDelete.d.ts +1 -1
- package/esm/funcs/betaRagManagedIndexesDelete.d.ts.map +1 -1
- package/esm/funcs/betaRagManagedIndexesDelete.js +3 -3
- package/esm/funcs/betaRagManagedIndexesDelete.js.map +1 -1
- package/esm/funcs/betaRagManagedIndexesDeleteDocuments.d.ts +1 -1
- package/esm/funcs/betaRagManagedIndexesDeleteDocuments.d.ts.map +1 -1
- package/esm/funcs/betaRagManagedIndexesDeleteDocuments.js +3 -3
- package/esm/funcs/betaRagManagedIndexesDeleteDocuments.js.map +1 -1
- package/esm/funcs/betaRagManagedIndexesGenerateIndexSummary.d.ts +1 -1
- package/esm/funcs/betaRagManagedIndexesGenerateIndexSummary.d.ts.map +1 -1
- package/esm/funcs/betaRagManagedIndexesGenerateIndexSummary.js +3 -3
- package/esm/funcs/betaRagManagedIndexesGenerateIndexSummary.js.map +1 -1
- package/esm/funcs/betaRagManagedIndexesGet.d.ts +1 -1
- package/esm/funcs/betaRagManagedIndexesGet.d.ts.map +1 -1
- package/esm/funcs/betaRagManagedIndexesGet.js +4 -4
- package/esm/funcs/betaRagManagedIndexesGet.js.map +1 -1
- package/esm/funcs/betaRagManagedIndexesGetChunk.d.ts +1 -1
- package/esm/funcs/betaRagManagedIndexesGetChunk.d.ts.map +1 -1
- package/esm/funcs/betaRagManagedIndexesGetChunk.js +3 -3
- package/esm/funcs/betaRagManagedIndexesGetChunk.js.map +1 -1
- package/esm/funcs/betaRagManagedIndexesGetIndexSummary.d.ts +1 -1
- package/esm/funcs/betaRagManagedIndexesGetIndexSummary.d.ts.map +1 -1
- package/esm/funcs/betaRagManagedIndexesGetIndexSummary.js +3 -3
- package/esm/funcs/betaRagManagedIndexesGetIndexSummary.js.map +1 -1
- package/esm/funcs/betaRagManagedIndexesGrep.d.ts +1 -1
- package/esm/funcs/betaRagManagedIndexesGrep.d.ts.map +1 -1
- package/esm/funcs/betaRagManagedIndexesGrep.js +3 -3
- package/esm/funcs/betaRagManagedIndexesGrep.js.map +1 -1
- package/esm/funcs/betaRagManagedIndexesIngestDocuments.d.ts +1 -1
- package/esm/funcs/betaRagManagedIndexesIngestDocuments.d.ts.map +1 -1
- package/esm/funcs/betaRagManagedIndexesIngestDocuments.js +3 -3
- package/esm/funcs/betaRagManagedIndexesIngestDocuments.js.map +1 -1
- package/esm/funcs/betaRagManagedIndexesList.d.ts +1 -1
- package/esm/funcs/betaRagManagedIndexesList.d.ts.map +1 -1
- package/esm/funcs/betaRagManagedIndexesList.js +4 -4
- package/esm/funcs/betaRagManagedIndexesList.js.map +1 -1
- package/esm/funcs/betaRagManagedIndexesNavigate.d.ts +1 -1
- package/esm/funcs/betaRagManagedIndexesNavigate.d.ts.map +1 -1
- package/esm/funcs/betaRagManagedIndexesNavigate.js +3 -3
- package/esm/funcs/betaRagManagedIndexesNavigate.js.map +1 -1
- package/esm/funcs/betaRagManagedIndexesRead.d.ts +1 -1
- package/esm/funcs/betaRagManagedIndexesRead.d.ts.map +1 -1
- package/esm/funcs/betaRagManagedIndexesRead.js +3 -3
- package/esm/funcs/betaRagManagedIndexesRead.js.map +1 -1
- package/esm/funcs/betaRagManagedIndexesSearch.d.ts +1 -1
- package/esm/funcs/betaRagManagedIndexesSearch.d.ts.map +1 -1
- package/esm/funcs/betaRagManagedIndexesSearch.js +3 -3
- package/esm/funcs/betaRagManagedIndexesSearch.js.map +1 -1
- package/esm/funcs/betaRagManagedIndexesSetIndexSummary.d.ts +1 -1
- package/esm/funcs/betaRagManagedIndexesSetIndexSummary.d.ts.map +1 -1
- package/esm/funcs/betaRagManagedIndexesSetIndexSummary.js +3 -3
- package/esm/funcs/betaRagManagedIndexesSetIndexSummary.js.map +1 -1
- package/esm/funcs/betaRagManagedIndexesUpdate.d.ts +1 -1
- package/esm/funcs/betaRagManagedIndexesUpdate.d.ts.map +1 -1
- package/esm/funcs/betaRagManagedIndexesUpdate.js +4 -3
- package/esm/funcs/betaRagManagedIndexesUpdate.js.map +1 -1
- package/esm/funcs/responsesCountInputTokens.d.ts +25 -0
- package/esm/funcs/responsesCountInputTokens.d.ts.map +1 -0
- package/esm/funcs/responsesCountInputTokens.js +87 -0
- package/esm/funcs/responsesCountInputTokens.js.map +1 -0
- package/esm/funcs/responsesCreate.d.ts +43 -0
- package/esm/funcs/responsesCreate.d.ts.map +1 -0
- package/esm/funcs/responsesCreate.js +81 -0
- package/esm/funcs/responsesCreate.js.map +1 -0
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/models/components/audioagentcreaterequest.d.ts +2 -2
- package/esm/models/components/audioagentcreaterequest.d.ts.map +1 -1
- package/esm/models/components/audioagentcreaterequest.js +1 -2
- package/esm/models/components/audioagentcreaterequest.js.map +1 -1
- package/esm/models/components/audiottsconfig.d.ts +2 -0
- package/esm/models/components/audiottsconfig.d.ts.map +1 -1
- package/esm/models/components/audiottsconfig.js +2 -0
- package/esm/models/components/audiottsconfig.js.map +1 -1
- package/esm/models/components/countresponseinputtokensrequest.d.ts +189 -0
- package/esm/models/components/countresponseinputtokensrequest.d.ts.map +1 -0
- package/esm/models/components/countresponseinputtokensrequest.js +191 -0
- package/esm/models/components/countresponseinputtokensrequest.js.map +1 -0
- package/esm/models/components/countresponseinputtokensresponse.d.ts +12 -0
- package/esm/models/components/countresponseinputtokensresponse.d.ts.map +1 -0
- package/esm/models/components/countresponseinputtokensresponse.js +19 -0
- package/esm/models/components/countresponseinputtokensresponse.js.map +1 -0
- package/esm/models/components/createresponserequest.d.ts +215 -0
- package/esm/models/components/createresponserequest.d.ts.map +1 -0
- package/esm/models/components/createresponserequest.js +203 -0
- package/esm/models/components/createresponserequest.js.map +1 -0
- package/esm/models/components/createresponseresponse.d.ts +228 -0
- package/esm/models/components/createresponseresponse.d.ts.map +1 -0
- package/esm/models/components/createresponseresponse.js +281 -0
- package/esm/models/components/createresponseresponse.js.map +1 -0
- package/esm/models/components/index.d.ts +57 -0
- package/esm/models/components/index.d.ts.map +1 -1
- package/esm/models/components/index.js +57 -0
- package/esm/models/components/index.js.map +1 -1
- package/esm/models/components/ipaphoneme.d.ts +27 -0
- package/esm/models/components/ipaphoneme.d.ts.map +1 -1
- package/esm/models/components/ipaphoneme.js +27 -0
- package/esm/models/components/ipaphoneme.js.map +1 -1
- package/esm/models/components/keywordretriever.d.ts +14 -0
- package/esm/models/components/keywordretriever.d.ts.map +1 -1
- package/esm/models/components/keywordretriever.js +7 -0
- package/esm/models/components/keywordretriever.js.map +1 -1
- package/esm/models/components/ocrtableobject.d.ts +4 -4
- package/esm/models/components/ocrtableobject.d.ts.map +1 -1
- package/esm/models/components/ocrtableobject.js +3 -4
- package/esm/models/components/ocrtableobject.js.map +1 -1
- package/esm/models/components/publicauthenticationmethod.d.ts +5 -0
- package/esm/models/components/publicauthenticationmethod.d.ts.map +1 -1
- package/esm/models/components/publicauthenticationmethod.js +1 -1
- package/esm/models/components/publicauthenticationmethod.js.map +1 -1
- package/esm/models/components/reasoningeffort.d.ts +1 -0
- package/esm/models/components/reasoningeffort.d.ts.map +1 -1
- package/esm/models/components/reasoningeffort.js +1 -0
- package/esm/models/components/reasoningeffort.js.map +1 -1
- package/esm/models/components/responsesannotationcontainerfilecitation.d.ts +29 -0
- package/esm/models/components/responsesannotationcontainerfilecitation.d.ts.map +1 -0
- package/esm/models/components/responsesannotationcontainerfilecitation.js +47 -0
- package/esm/models/components/responsesannotationcontainerfilecitation.js.map +1 -0
- package/esm/models/components/responsesannotationfilecitation.d.ts +25 -0
- package/esm/models/components/responsesannotationfilecitation.d.ts.map +1 -0
- package/esm/models/components/responsesannotationfilecitation.js +37 -0
- package/esm/models/components/responsesannotationfilecitation.js.map +1 -0
- package/esm/models/components/responsesannotationfilepath.d.ts +23 -0
- package/esm/models/components/responsesannotationfilepath.d.ts.map +1 -0
- package/esm/models/components/responsesannotationfilepath.js +35 -0
- package/esm/models/components/responsesannotationfilepath.js.map +1 -0
- package/esm/models/components/responsesannotationurlcitation.d.ts +27 -0
- package/esm/models/components/responsesannotationurlcitation.d.ts.map +1 -0
- package/esm/models/components/responsesannotationurlcitation.js +41 -0
- package/esm/models/components/responsesannotationurlcitation.js.map +1 -0
- package/esm/models/components/responsescompletedevent.d.ts +14 -0
- package/esm/models/components/responsescompletedevent.d.ts.map +1 -0
- package/esm/models/components/responsescompletedevent.js +21 -0
- package/esm/models/components/responsescompletedevent.js.map +1 -0
- package/esm/models/components/responsescontent.d.ts +21 -0
- package/esm/models/components/responsescontent.d.ts.map +1 -0
- package/esm/models/components/responsescontent.js +22 -0
- package/esm/models/components/responsescontent.js.map +1 -0
- package/esm/models/components/responsescontentpartaddedevent.d.ts +23 -0
- package/esm/models/components/responsescontentpartaddedevent.d.ts.map +1 -0
- package/esm/models/components/responsescontentpartaddedevent.js +42 -0
- package/esm/models/components/responsescontentpartaddedevent.js.map +1 -0
- package/esm/models/components/responsescontentpartdoneevent.d.ts +23 -0
- package/esm/models/components/responsescontentpartdoneevent.d.ts.map +1 -0
- package/esm/models/components/responsescontentpartdoneevent.js +42 -0
- package/esm/models/components/responsescontentpartdoneevent.js.map +1 -0
- package/esm/models/components/responsescreatedevent.d.ts +14 -0
- package/esm/models/components/responsescreatedevent.d.ts.map +1 -0
- package/esm/models/components/responsescreatedevent.js +21 -0
- package/esm/models/components/responsescreatedevent.js.map +1 -0
- package/esm/models/components/responsescustomtool.d.ts +91 -0
- package/esm/models/components/responsescustomtool.d.ts.map +1 -0
- package/esm/models/components/responsescustomtool.js +114 -0
- package/esm/models/components/responsescustomtool.js.map +1 -0
- package/esm/models/components/responseseasyinputmessage.d.ts +52 -0
- package/esm/models/components/responseseasyinputmessage.d.ts.map +1 -0
- package/esm/models/components/responseseasyinputmessage.js +61 -0
- package/esm/models/components/responseseasyinputmessage.js.map +1 -0
- package/esm/models/components/responseserrorevent.d.ts +15 -0
- package/esm/models/components/responseserrorevent.d.ts.map +1 -0
- package/esm/models/components/responseserrorevent.js +22 -0
- package/esm/models/components/responseserrorevent.js.map +1 -0
- package/esm/models/components/responsesfailedevent.d.ts +14 -0
- package/esm/models/components/responsesfailedevent.d.ts.map +1 -0
- package/esm/models/components/responsesfailedevent.js +21 -0
- package/esm/models/components/responsesfailedevent.js.map +1 -0
- package/esm/models/components/responsesfunctioncallargumentsdeltaevent.d.ts +15 -0
- package/esm/models/components/responsesfunctioncallargumentsdeltaevent.d.ts.map +1 -0
- package/esm/models/components/responsesfunctioncallargumentsdeltaevent.js +24 -0
- package/esm/models/components/responsesfunctioncallargumentsdeltaevent.js.map +1 -0
- package/esm/models/components/responsesfunctioncallargumentsdoneevent.d.ts +16 -0
- package/esm/models/components/responsesfunctioncallargumentsdoneevent.d.ts.map +1 -0
- package/esm/models/components/responsesfunctioncallargumentsdoneevent.js +25 -0
- package/esm/models/components/responsesfunctioncallargumentsdoneevent.js.map +1 -0
- package/esm/models/components/responsesfunctioncalloutput.d.ts +56 -0
- package/esm/models/components/responsesfunctioncalloutput.d.ts.map +1 -0
- package/esm/models/components/responsesfunctioncalloutput.js +77 -0
- package/esm/models/components/responsesfunctioncalloutput.js.map +1 -0
- package/esm/models/components/responsesfunctioncalloutputcallerdirect.d.ts +14 -0
- package/esm/models/components/responsesfunctioncalloutputcallerdirect.d.ts.map +1 -0
- package/esm/models/components/responsesfunctioncalloutputcallerdirect.js +12 -0
- package/esm/models/components/responsesfunctioncalloutputcallerdirect.js.map +1 -0
- package/esm/models/components/responsesfunctioncalloutputcallerprogram.d.ts +16 -0
- package/esm/models/components/responsesfunctioncalloutputcallerprogram.d.ts.map +1 -0
- package/esm/models/components/responsesfunctioncalloutputcallerprogram.js +20 -0
- package/esm/models/components/responsesfunctioncalloutputcallerprogram.js.map +1 -0
- package/esm/models/components/responsesfunctiontool.d.ts +51 -0
- package/esm/models/components/responsesfunctiontool.d.ts.map +1 -0
- package/esm/models/components/responsesfunctiontool.js +57 -0
- package/esm/models/components/responsesfunctiontool.js.map +1 -0
- package/esm/models/components/responsesfunctiontoolcall.d.ts +85 -0
- package/esm/models/components/responsesfunctiontoolcall.d.ts.map +1 -0
- package/esm/models/components/responsesfunctiontoolcall.js +116 -0
- package/esm/models/components/responsesfunctiontoolcall.js.map +1 -0
- package/esm/models/components/responsesincompleteevent.d.ts +14 -0
- package/esm/models/components/responsesincompleteevent.d.ts.map +1 -0
- package/esm/models/components/responsesincompleteevent.js +21 -0
- package/esm/models/components/responsesincompleteevent.js.map +1 -0
- package/esm/models/components/responsesinprogressevent.d.ts +14 -0
- package/esm/models/components/responsesinprogressevent.d.ts.map +1 -0
- package/esm/models/components/responsesinprogressevent.js +21 -0
- package/esm/models/components/responsesinprogressevent.js.map +1 -0
- package/esm/models/components/responsesinputfile.d.ts +47 -0
- package/esm/models/components/responsesinputfile.d.ts.map +1 -0
- package/esm/models/components/responsesinputfile.js +42 -0
- package/esm/models/components/responsesinputfile.js.map +1 -0
- package/esm/models/components/responsesinputfilecontent.d.ts +47 -0
- package/esm/models/components/responsesinputfilecontent.d.ts.map +1 -0
- package/esm/models/components/responsesinputfilecontent.js +43 -0
- package/esm/models/components/responsesinputfilecontent.js.map +1 -0
- package/esm/models/components/responsesinputimage.d.ts +44 -0
- package/esm/models/components/responsesinputimage.d.ts.map +1 -0
- package/esm/models/components/responsesinputimage.js +40 -0
- package/esm/models/components/responsesinputimage.js.map +1 -0
- package/esm/models/components/responsesinputimagecontent.d.ts +44 -0
- package/esm/models/components/responsesinputimagecontent.d.ts.map +1 -0
- package/esm/models/components/responsesinputimagecontent.js +42 -0
- package/esm/models/components/responsesinputimagecontent.js.map +1 -0
- package/esm/models/components/responsesinputtext.d.ts +30 -0
- package/esm/models/components/responsesinputtext.d.ts.map +1 -0
- package/esm/models/components/responsesinputtext.js +28 -0
- package/esm/models/components/responsesinputtext.js.map +1 -0
- package/esm/models/components/responsesinputtextcontent.d.ts +30 -0
- package/esm/models/components/responsesinputtextcontent.d.ts.map +1 -0
- package/esm/models/components/responsesinputtextcontent.js +29 -0
- package/esm/models/components/responsesinputtextcontent.js.map +1 -0
- package/esm/models/components/responsesinputtokensdetails.d.ts +12 -0
- package/esm/models/components/responsesinputtokensdetails.d.ts.map +1 -0
- package/esm/models/components/responsesinputtokensdetails.js +20 -0
- package/esm/models/components/responsesinputtokensdetails.js.map +1 -0
- package/esm/models/components/responsesmessage.d.ts +46 -0
- package/esm/models/components/responsesmessage.d.ts.map +1 -0
- package/esm/models/components/responsesmessage.js +45 -0
- package/esm/models/components/responsesmessage.js.map +1 -0
- package/esm/models/components/responsesnamespacetool.d.ts +36 -0
- package/esm/models/components/responsesnamespacetool.d.ts.map +1 -0
- package/esm/models/components/responsesnamespacetool.js +50 -0
- package/esm/models/components/responsesnamespacetool.js.map +1 -0
- package/esm/models/components/responsesoutputitemaddedevent.d.ts +21 -0
- package/esm/models/components/responsesoutputitemaddedevent.d.ts.map +1 -0
- package/esm/models/components/responsesoutputitemaddedevent.js +38 -0
- package/esm/models/components/responsesoutputitemaddedevent.js.map +1 -0
- package/esm/models/components/responsesoutputitemdoneevent.d.ts +21 -0
- package/esm/models/components/responsesoutputitemdoneevent.d.ts.map +1 -0
- package/esm/models/components/responsesoutputitemdoneevent.js +38 -0
- package/esm/models/components/responsesoutputitemdoneevent.js.map +1 -0
- package/esm/models/components/responsesoutputmessage.d.ts +60 -0
- package/esm/models/components/responsesoutputmessage.d.ts.map +1 -0
- package/esm/models/components/responsesoutputmessage.js +71 -0
- package/esm/models/components/responsesoutputmessage.js.map +1 -0
- package/esm/models/components/responsesoutputrefusal.d.ts +21 -0
- package/esm/models/components/responsesoutputrefusal.d.ts.map +1 -0
- package/esm/models/components/responsesoutputrefusal.js +22 -0
- package/esm/models/components/responsesoutputrefusal.js.map +1 -0
- package/esm/models/components/responsesoutputtext.d.ts +39 -0
- package/esm/models/components/responsesoutputtext.d.ts.map +1 -0
- package/esm/models/components/responsesoutputtext.js +63 -0
- package/esm/models/components/responsesoutputtext.js.map +1 -0
- package/esm/models/components/responsesoutputtextlogprob.d.ts +26 -0
- package/esm/models/components/responsesoutputtextlogprob.d.ts.map +1 -0
- package/esm/models/components/responsesoutputtextlogprob.js +38 -0
- package/esm/models/components/responsesoutputtextlogprob.js.map +1 -0
- package/esm/models/components/responsesoutputtextlogprobtoplogprob.d.ts +23 -0
- package/esm/models/components/responsesoutputtextlogprobtoplogprob.d.ts.map +1 -0
- package/esm/models/components/responsesoutputtextlogprobtoplogprob.js +24 -0
- package/esm/models/components/responsesoutputtextlogprobtoplogprob.js.map +1 -0
- package/esm/models/components/responsesoutputtokensdetails.d.ts +11 -0
- package/esm/models/components/responsesoutputtokensdetails.d.ts.map +1 -0
- package/esm/models/components/responsesoutputtokensdetails.js +18 -0
- package/esm/models/components/responsesoutputtokensdetails.js.map +1 -0
- package/esm/models/components/responsespartreasoningtext.d.ts +12 -0
- package/esm/models/components/responsespartreasoningtext.d.ts.map +1 -0
- package/esm/models/components/responsespartreasoningtext.js +14 -0
- package/esm/models/components/responsespartreasoningtext.js.map +1 -0
- package/esm/models/components/responsesreasoningitem.d.ts +42 -0
- package/esm/models/components/responsesreasoningitem.d.ts.map +1 -0
- package/esm/models/components/responsesreasoningitem.js +52 -0
- package/esm/models/components/responsesreasoningitem.js.map +1 -0
- package/esm/models/components/responsesreasoningtextdeltaevent.d.ts +16 -0
- package/esm/models/components/responsesreasoningtextdeltaevent.d.ts.map +1 -0
- package/esm/models/components/responsesreasoningtextdeltaevent.js +26 -0
- package/esm/models/components/responsesreasoningtextdeltaevent.js.map +1 -0
- package/esm/models/components/responsesreasoningtextdoneevent.d.ts +16 -0
- package/esm/models/components/responsesreasoningtextdoneevent.d.ts.map +1 -0
- package/esm/models/components/responsesreasoningtextdoneevent.js +26 -0
- package/esm/models/components/responsesreasoningtextdoneevent.js.map +1 -0
- package/esm/models/components/responsesstreamframe.d.ts +31 -0
- package/esm/models/components/responsesstreamframe.d.ts.map +1 -0
- package/esm/models/components/responsesstreamframe.js +83 -0
- package/esm/models/components/responsesstreamframe.js.map +1 -0
- package/esm/models/components/responsessummary.d.ts +21 -0
- package/esm/models/components/responsessummary.d.ts.map +1 -0
- package/esm/models/components/responsessummary.js +22 -0
- package/esm/models/components/responsessummary.js.map +1 -0
- package/esm/models/components/responsestextdeltaevent.d.ts +18 -0
- package/esm/models/components/responsestextdeltaevent.d.ts.map +1 -0
- package/esm/models/components/responsestextdeltaevent.js +28 -0
- package/esm/models/components/responsestextdeltaevent.js.map +1 -0
- package/esm/models/components/responsestextdeltaeventlogprob.d.ts +14 -0
- package/esm/models/components/responsestextdeltaeventlogprob.d.ts.map +1 -0
- package/esm/models/components/responsestextdeltaeventlogprob.js +21 -0
- package/esm/models/components/responsestextdeltaeventlogprob.js.map +1 -0
- package/esm/models/components/responsestextdeltaeventlogprobtoplogprob.d.ts +12 -0
- package/esm/models/components/responsestextdeltaeventlogprobtoplogprob.d.ts.map +1 -0
- package/esm/models/components/responsestextdeltaeventlogprobtoplogprob.js +14 -0
- package/esm/models/components/responsestextdeltaeventlogprobtoplogprob.js.map +1 -0
- package/esm/models/components/responsestextdoneevent.d.ts +18 -0
- package/esm/models/components/responsestextdoneevent.d.ts.map +1 -0
- package/esm/models/components/responsestextdoneevent.js +28 -0
- package/esm/models/components/responsestextdoneevent.js.map +1 -0
- package/esm/models/components/responsestextdoneeventlogprob.d.ts +14 -0
- package/esm/models/components/responsestextdoneeventlogprob.d.ts.map +1 -0
- package/esm/models/components/responsestextdoneeventlogprob.js +21 -0
- package/esm/models/components/responsestextdoneeventlogprob.js.map +1 -0
- package/esm/models/components/responsestextdoneeventlogprobtoplogprob.d.ts +12 -0
- package/esm/models/components/responsestextdoneeventlogprobtoplogprob.d.ts.map +1 -0
- package/esm/models/components/responsestextdoneeventlogprobtoplogprob.js +14 -0
- package/esm/models/components/responsestextdoneeventlogprobtoplogprob.js.map +1 -0
- package/esm/models/components/responsestoolchoicefunction.d.ts +12 -0
- package/esm/models/components/responsestoolchoicefunction.d.ts.map +1 -0
- package/esm/models/components/responsestoolchoicefunction.js +14 -0
- package/esm/models/components/responsestoolchoicefunction.js.map +1 -0
- package/esm/models/components/responsestoolfunction.d.ts +47 -0
- package/esm/models/components/responsestoolfunction.d.ts.map +1 -0
- package/esm/models/components/responsestoolfunction.js +57 -0
- package/esm/models/components/responsestoolfunction.js.map +1 -0
- package/esm/models/operations/createindexv1contextsearchindexespost.d.ts +14 -0
- package/esm/models/operations/createindexv1contextsearchindexespost.d.ts.map +1 -0
- package/esm/models/operations/{createindexv1ragmanagedindexespost.js → createindexv1contextsearchindexespost.js} +4 -4
- package/esm/models/operations/createindexv1contextsearchindexespost.js.map +1 -0
- package/esm/models/operations/createresponsev1responsespost.d.ts +10 -0
- package/esm/models/operations/createresponsev1responsespost.d.ts.map +1 -0
- package/esm/models/operations/createresponsev1responsespost.js +25 -0
- package/esm/models/operations/createresponsev1responsespost.js.map +1 -0
- package/esm/models/operations/deletedocumentsv1contextsearchindexesindexnamedocumentsdelete.d.ts +15 -0
- package/esm/models/operations/deletedocumentsv1contextsearchindexesindexnamedocumentsdelete.d.ts.map +1 -0
- package/esm/models/operations/deletedocumentsv1contextsearchindexesindexnamedocumentsdelete.js +21 -0
- package/esm/models/operations/deletedocumentsv1contextsearchindexesindexnamedocumentsdelete.js.map +1 -0
- package/esm/models/operations/deleteindexv1contextsearchindexesindexnamedelete.d.ts +12 -0
- package/esm/models/operations/deleteindexv1contextsearchindexesindexnamedelete.d.ts.map +1 -0
- package/esm/models/operations/deleteindexv1contextsearchindexesindexnamedelete.js +18 -0
- package/esm/models/operations/deleteindexv1contextsearchindexesindexnamedelete.js.map +1 -0
- package/esm/models/operations/generatemanagedindexsummarypostv1contextsearchindexesindexnamesummaryfieldlanguagepost.d.ts +44 -0
- package/esm/models/operations/generatemanagedindexsummarypostv1contextsearchindexesindexnamesummaryfieldlanguagepost.d.ts.map +1 -0
- package/esm/models/operations/generatemanagedindexsummarypostv1contextsearchindexesindexnamesummaryfieldlanguagepost.js +45 -0
- package/esm/models/operations/generatemanagedindexsummarypostv1contextsearchindexesindexnamesummaryfieldlanguagepost.js.map +1 -0
- package/esm/models/operations/getchunkindexv1contextsearchindexesindexnamechunkschunkidget.d.ts +14 -0
- package/esm/models/operations/getchunkindexv1contextsearchindexesindexnamechunkschunkidget.d.ts.map +1 -0
- package/esm/models/operations/getchunkindexv1contextsearchindexesindexnamechunkschunkidget.js +20 -0
- package/esm/models/operations/getchunkindexv1contextsearchindexesindexnamechunkschunkidget.js.map +1 -0
- package/esm/models/operations/getindexv1contextsearchindexesindexnameget.d.ts +12 -0
- package/esm/models/operations/getindexv1contextsearchindexesindexnameget.d.ts.map +1 -0
- package/esm/models/operations/getindexv1contextsearchindexesindexnameget.js +17 -0
- package/esm/models/operations/getindexv1contextsearchindexesindexnameget.js.map +1 -0
- package/esm/models/operations/getmanagedindexsummaryv1contextsearchindexesindexnamesummaryfieldlanguageget.d.ts +29 -0
- package/esm/models/operations/getmanagedindexsummaryv1contextsearchindexesindexnamesummaryfieldlanguageget.d.ts.map +1 -0
- package/esm/models/operations/getmanagedindexsummaryv1contextsearchindexesindexnamesummaryfieldlanguageget.js +32 -0
- package/esm/models/operations/getmanagedindexsummaryv1contextsearchindexesindexnamesummaryfieldlanguageget.js.map +1 -0
- package/esm/models/operations/grepindexv1contextsearchindexesindexnamegreppost.d.ts +15 -0
- package/esm/models/operations/grepindexv1contextsearchindexesindexnamegreppost.d.ts.map +1 -0
- package/esm/models/operations/grepindexv1contextsearchindexesindexnamegreppost.js +21 -0
- package/esm/models/operations/grepindexv1contextsearchindexesindexnamegreppost.js.map +1 -0
- package/esm/models/operations/index.d.ts +16 -15
- package/esm/models/operations/index.d.ts.map +1 -1
- package/esm/models/operations/index.js +16 -15
- package/esm/models/operations/index.js.map +1 -1
- package/esm/models/operations/ingestdocumentsv1contextsearchindexesindexnamedocumentspost.d.ts +15 -0
- package/esm/models/operations/ingestdocumentsv1contextsearchindexesindexnamedocumentspost.d.ts.map +1 -0
- package/esm/models/operations/ingestdocumentsv1contextsearchindexesindexnamedocumentspost.js +21 -0
- package/esm/models/operations/ingestdocumentsv1contextsearchindexesindexnamedocumentspost.js.map +1 -0
- package/esm/models/operations/{listindexesv1ragmanagedindexesget.d.ts → listindexesv1contextsearchindexesget.d.ts} +8 -8
- package/esm/models/operations/listindexesv1contextsearchindexesget.d.ts.map +1 -0
- package/esm/models/operations/{listindexesv1ragmanagedindexesget.js → listindexesv1contextsearchindexesget.js} +7 -7
- package/esm/models/operations/listindexesv1contextsearchindexesget.js.map +1 -0
- package/esm/models/operations/navigateindexv1contextsearchindexesindexnamenavigatepost.d.ts +15 -0
- package/esm/models/operations/navigateindexv1contextsearchindexesindexnamenavigatepost.d.ts.map +1 -0
- package/esm/models/operations/navigateindexv1contextsearchindexesindexnamenavigatepost.js +21 -0
- package/esm/models/operations/navigateindexv1contextsearchindexesindexnamenavigatepost.js.map +1 -0
- package/esm/models/operations/readindexv1contextsearchindexesindexnamereadpost.d.ts +15 -0
- package/esm/models/operations/readindexv1contextsearchindexesindexnamereadpost.d.ts.map +1 -0
- package/esm/models/operations/readindexv1contextsearchindexesindexnamereadpost.js +21 -0
- package/esm/models/operations/readindexv1contextsearchindexesindexnamereadpost.js.map +1 -0
- package/esm/models/operations/searchindexv1contextsearchindexesindexnamesearchpost.d.ts +15 -0
- package/esm/models/operations/searchindexv1contextsearchindexesindexnamesearchpost.d.ts.map +1 -0
- package/esm/models/operations/searchindexv1contextsearchindexesindexnamesearchpost.js +21 -0
- package/esm/models/operations/searchindexv1contextsearchindexesindexnamesearchpost.js.map +1 -0
- package/esm/models/operations/setmanagedindexsummaryv1contextsearchindexesindexnamesummaryfieldlanguageput.d.ts +32 -0
- package/esm/models/operations/setmanagedindexsummaryv1contextsearchindexesindexnamesummaryfieldlanguageput.d.ts.map +1 -0
- package/esm/models/operations/setmanagedindexsummaryv1contextsearchindexesindexnamesummaryfieldlanguageput.js +35 -0
- package/esm/models/operations/setmanagedindexsummaryv1contextsearchindexesindexnamesummaryfieldlanguageput.js.map +1 -0
- package/esm/models/operations/updateindexv1contextsearchindexesindexnameput.d.ts +15 -0
- package/esm/models/operations/updateindexv1contextsearchindexesindexnameput.d.ts.map +1 -0
- package/esm/models/operations/{updateindexv1ragmanagedindexesindexnameput.js → updateindexv1contextsearchindexesindexnameput.js} +4 -4
- package/esm/models/operations/updateindexv1contextsearchindexesindexnameput.js.map +1 -0
- package/esm/sdk/managedindexes.d.ts +15 -15
- package/esm/sdk/managedindexes.d.ts.map +1 -1
- package/esm/sdk/managedindexes.js.map +1 -1
- package/esm/sdk/responses.d.ts +51 -0
- package/esm/sdk/responses.d.ts.map +1 -0
- package/esm/sdk/responses.js +31 -0
- package/esm/sdk/responses.js.map +1 -0
- package/esm/sdk/sdk.d.ts +3 -0
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +5 -0
- package/esm/sdk/sdk.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +11 -11
- package/src/funcs/betaRagManagedIndexesCreate.ts +6 -6
- package/src/funcs/betaRagManagedIndexesDelete.ts +7 -5
- package/src/funcs/betaRagManagedIndexesDeleteDocuments.ts +5 -5
- package/src/funcs/betaRagManagedIndexesGenerateIndexSummary.ts +5 -5
- package/src/funcs/betaRagManagedIndexesGet.ts +10 -6
- package/src/funcs/betaRagManagedIndexesGetChunk.ts +5 -5
- package/src/funcs/betaRagManagedIndexesGetIndexSummary.ts +5 -5
- package/src/funcs/betaRagManagedIndexesGrep.ts +5 -5
- package/src/funcs/betaRagManagedIndexesIngestDocuments.ts +5 -5
- package/src/funcs/betaRagManagedIndexesList.ts +10 -10
- package/src/funcs/betaRagManagedIndexesNavigate.ts +5 -5
- package/src/funcs/betaRagManagedIndexesRead.ts +5 -5
- package/src/funcs/betaRagManagedIndexesSearch.ts +8 -5
- package/src/funcs/betaRagManagedIndexesSetIndexSummary.ts +5 -5
- package/src/funcs/betaRagManagedIndexesUpdate.ts +8 -7
- package/src/funcs/responsesCountInputTokens.ts +171 -0
- package/src/funcs/responsesCreate.ts +230 -0
- package/src/lib/config.ts +2 -2
- package/src/models/components/audioagentcreaterequest.ts +3 -4
- package/src/models/components/audiottsconfig.ts +4 -0
- package/src/models/components/countresponseinputtokensrequest.ts +648 -0
- package/src/models/components/countresponseinputtokensresponse.ts +38 -0
- package/src/models/components/createresponserequest.ts +662 -0
- package/src/models/components/createresponseresponse.ts +647 -0
- package/src/models/components/index.ts +57 -0
- package/src/models/components/ipaphoneme.ts +27 -0
- package/src/models/components/keywordretriever.ts +19 -0
- package/src/models/components/ocrtableobject.ts +6 -6
- package/src/models/components/publicauthenticationmethod.ts +6 -1
- package/src/models/components/reasoningeffort.ts +1 -0
- package/src/models/components/responsesannotationcontainerfilecitation.ts +97 -0
- package/src/models/components/responsesannotationfilecitation.ts +76 -0
- package/src/models/components/responsesannotationfilepath.ts +72 -0
- package/src/models/components/responsesannotationurlcitation.ts +82 -0
- package/src/models/components/responsescompletedevent.ts +44 -0
- package/src/models/components/responsescontent.ts +55 -0
- package/src/models/components/responsescontentpartaddedevent.ts +94 -0
- package/src/models/components/responsescontentpartdoneevent.ts +93 -0
- package/src/models/components/responsescreatedevent.ts +44 -0
- package/src/models/components/responsescustomtool.ts +261 -0
- package/src/models/components/responseseasyinputmessage.ts +172 -0
- package/src/models/components/responseserrorevent.ts +44 -0
- package/src/models/components/responsesfailedevent.ts +44 -0
- package/src/models/components/responsesfunctioncallargumentsdeltaevent.ts +52 -0
- package/src/models/components/responsesfunctioncallargumentsdoneevent.ts +54 -0
- package/src/models/components/responsesfunctioncalloutput.ts +233 -0
- package/src/models/components/responsesfunctioncalloutputcallerdirect.ts +35 -0
- package/src/models/components/responsesfunctioncalloutputcallerprogram.ts +45 -0
- package/src/models/components/responsesfunctiontool.ts +116 -0
- package/src/models/components/responsesfunctiontoolcall.ts +272 -0
- package/src/models/components/responsesincompleteevent.ts +44 -0
- package/src/models/components/responsesinprogressevent.ts +44 -0
- package/src/models/components/responsesinputfile.ts +116 -0
- package/src/models/components/responsesinputfilecontent.ts +115 -0
- package/src/models/components/responsesinputimage.ts +110 -0
- package/src/models/components/responsesinputimagecontent.ts +111 -0
- package/src/models/components/responsesinputtext.ts +86 -0
- package/src/models/components/responsesinputtextcontent.ts +85 -0
- package/src/models/components/responsesinputtokensdetails.ts +39 -0
- package/src/models/components/responsesmessage.ts +120 -0
- package/src/models/components/responsesnamespacetool.ts +128 -0
- package/src/models/components/responsesoutputitemaddedevent.ts +87 -0
- package/src/models/components/responsesoutputitemdoneevent.ts +87 -0
- package/src/models/components/responsesoutputmessage.ts +176 -0
- package/src/models/components/responsesoutputrefusal.ts +55 -0
- package/src/models/components/responsesoutputtext.ts +165 -0
- package/src/models/components/responsesoutputtextlogprob.ts +80 -0
- package/src/models/components/responsesoutputtextlogprobtoplogprob.ts +62 -0
- package/src/models/components/responsesoutputtokensdetails.ts +36 -0
- package/src/models/components/responsespartreasoningtext.ts +33 -0
- package/src/models/components/responsesreasoningitem.ts +113 -0
- package/src/models/components/responsesreasoningtextdeltaevent.ts +49 -0
- package/src/models/components/responsesreasoningtextdoneevent.ts +49 -0
- package/src/models/components/responsesstreamframe.ts +194 -0
- package/src/models/components/responsessummary.ts +55 -0
- package/src/models/components/responsestextdeltaevent.ts +55 -0
- package/src/models/components/responsestextdeltaeventlogprob.ts +49 -0
- package/src/models/components/responsestextdeltaeventlogprobtoplogprob.ts +39 -0
- package/src/models/components/responsestextdoneevent.ts +55 -0
- package/src/models/components/responsestextdoneeventlogprob.ts +49 -0
- package/src/models/components/responsestextdoneeventlogprobtoplogprob.ts +39 -0
- package/src/models/components/responsestoolchoicefunction.ts +33 -0
- package/src/models/components/responsestoolfunction.ts +116 -0
- package/src/models/operations/{createindexv1ragmanagedindexespost.ts → createindexv1contextsearchindexespost.ts} +7 -7
- package/src/models/operations/createresponsev1responsespost.ts +43 -0
- package/src/models/operations/deletedocumentsv1contextsearchindexesindexnamedocumentsdelete.ts +47 -0
- package/src/models/operations/deleteindexv1contextsearchindexesindexnamedelete.ts +38 -0
- package/src/models/operations/{generatemanagedindexsummarypostv1ragmanagedindexesindexnamesummaryfieldlanguagepost.ts → generatemanagedindexsummarypostv1contextsearchindexesindexnamesummaryfieldlanguagepost.ts} +18 -18
- package/src/models/operations/getchunkindexv1contextsearchindexesindexnamechunkschunkidget.ts +46 -0
- package/src/models/operations/getindexv1contextsearchindexesindexnameget.ts +39 -0
- package/src/models/operations/getmanagedindexsummaryv1contextsearchindexesindexnamesummaryfieldlanguageget.ts +73 -0
- package/src/models/operations/grepindexv1contextsearchindexesindexnamegreppost.ts +43 -0
- package/src/models/operations/index.ts +16 -15
- package/src/models/operations/ingestdocumentsv1contextsearchindexesindexnamedocumentspost.ts +47 -0
- package/src/models/operations/listindexesv1contextsearchindexesget.ts +102 -0
- package/src/models/operations/navigateindexv1contextsearchindexesindexnamenavigatepost.ts +44 -0
- package/src/models/operations/readindexv1contextsearchindexesindexnamereadpost.ts +43 -0
- package/src/models/operations/searchindexv1contextsearchindexesindexnamesearchpost.ts +44 -0
- package/src/models/operations/setmanagedindexsummaryv1contextsearchindexesindexnamesummaryfieldlanguageput.ts +80 -0
- package/src/models/operations/{updateindexv1ragmanagedindexesindexnameput.ts → updateindexv1contextsearchindexesindexnameput.ts} +10 -10
- package/src/sdk/managedindexes.ts +18 -16
- package/src/sdk/responses.ts +77 -0
- package/src/sdk/sdk.ts +6 -0
- package/esm/models/operations/createindexv1ragmanagedindexespost.d.ts +0 -14
- package/esm/models/operations/createindexv1ragmanagedindexespost.d.ts.map +0 -1
- package/esm/models/operations/createindexv1ragmanagedindexespost.js.map +0 -1
- package/esm/models/operations/deletedocumentsv1ragmanagedindexesindexnamedocumentsdelete.d.ts +0 -15
- package/esm/models/operations/deletedocumentsv1ragmanagedindexesindexnamedocumentsdelete.d.ts.map +0 -1
- package/esm/models/operations/deletedocumentsv1ragmanagedindexesindexnamedocumentsdelete.js +0 -21
- package/esm/models/operations/deletedocumentsv1ragmanagedindexesindexnamedocumentsdelete.js.map +0 -1
- package/esm/models/operations/deleteindexv1ragmanagedindexesindexnamedelete.d.ts +0 -12
- package/esm/models/operations/deleteindexv1ragmanagedindexesindexnamedelete.d.ts.map +0 -1
- package/esm/models/operations/deleteindexv1ragmanagedindexesindexnamedelete.js +0 -17
- package/esm/models/operations/deleteindexv1ragmanagedindexesindexnamedelete.js.map +0 -1
- package/esm/models/operations/generatemanagedindexsummarypostv1ragmanagedindexesindexnamesummaryfieldlanguagepost.d.ts +0 -44
- package/esm/models/operations/generatemanagedindexsummarypostv1ragmanagedindexesindexnamesummaryfieldlanguagepost.d.ts.map +0 -1
- package/esm/models/operations/generatemanagedindexsummarypostv1ragmanagedindexesindexnamesummaryfieldlanguagepost.js +0 -45
- package/esm/models/operations/generatemanagedindexsummarypostv1ragmanagedindexesindexnamesummaryfieldlanguagepost.js.map +0 -1
- package/esm/models/operations/getchunkindexv1ragmanagedindexesindexnamechunkschunkidget.d.ts +0 -14
- package/esm/models/operations/getchunkindexv1ragmanagedindexesindexnamechunkschunkidget.d.ts.map +0 -1
- package/esm/models/operations/getchunkindexv1ragmanagedindexesindexnamechunkschunkidget.js +0 -20
- package/esm/models/operations/getchunkindexv1ragmanagedindexesindexnamechunkschunkidget.js.map +0 -1
- package/esm/models/operations/getindexv1ragmanagedindexesindexnameget.d.ts +0 -12
- package/esm/models/operations/getindexv1ragmanagedindexesindexnameget.d.ts.map +0 -1
- package/esm/models/operations/getindexv1ragmanagedindexesindexnameget.js +0 -17
- package/esm/models/operations/getindexv1ragmanagedindexesindexnameget.js.map +0 -1
- package/esm/models/operations/getmanagedindexsummaryv1ragmanagedindexesindexnamesummaryfieldlanguageget.d.ts +0 -29
- package/esm/models/operations/getmanagedindexsummaryv1ragmanagedindexesindexnamesummaryfieldlanguageget.d.ts.map +0 -1
- package/esm/models/operations/getmanagedindexsummaryv1ragmanagedindexesindexnamesummaryfieldlanguageget.js +0 -32
- package/esm/models/operations/getmanagedindexsummaryv1ragmanagedindexesindexnamesummaryfieldlanguageget.js.map +0 -1
- package/esm/models/operations/grepindexv1ragmanagedindexesindexnamegreppost.d.ts +0 -15
- package/esm/models/operations/grepindexv1ragmanagedindexesindexnamegreppost.d.ts.map +0 -1
- package/esm/models/operations/grepindexv1ragmanagedindexesindexnamegreppost.js +0 -20
- package/esm/models/operations/grepindexv1ragmanagedindexesindexnamegreppost.js.map +0 -1
- package/esm/models/operations/ingestdocumentsv1ragmanagedindexesindexnamedocumentspost.d.ts +0 -15
- package/esm/models/operations/ingestdocumentsv1ragmanagedindexesindexnamedocumentspost.d.ts.map +0 -1
- package/esm/models/operations/ingestdocumentsv1ragmanagedindexesindexnamedocumentspost.js +0 -21
- package/esm/models/operations/ingestdocumentsv1ragmanagedindexesindexnamedocumentspost.js.map +0 -1
- package/esm/models/operations/listindexesv1ragmanagedindexesget.d.ts.map +0 -1
- package/esm/models/operations/listindexesv1ragmanagedindexesget.js.map +0 -1
- package/esm/models/operations/navigateindexv1ragmanagedindexesindexnamenavigatepost.d.ts +0 -15
- package/esm/models/operations/navigateindexv1ragmanagedindexesindexnamenavigatepost.d.ts.map +0 -1
- package/esm/models/operations/navigateindexv1ragmanagedindexesindexnamenavigatepost.js +0 -21
- package/esm/models/operations/navigateindexv1ragmanagedindexesindexnamenavigatepost.js.map +0 -1
- package/esm/models/operations/readindexv1ragmanagedindexesindexnamereadpost.d.ts +0 -15
- package/esm/models/operations/readindexv1ragmanagedindexesindexnamereadpost.d.ts.map +0 -1
- package/esm/models/operations/readindexv1ragmanagedindexesindexnamereadpost.js +0 -20
- package/esm/models/operations/readindexv1ragmanagedindexesindexnamereadpost.js.map +0 -1
- package/esm/models/operations/searchindexv1ragmanagedindexesindexnamesearchpost.d.ts +0 -15
- package/esm/models/operations/searchindexv1ragmanagedindexesindexnamesearchpost.d.ts.map +0 -1
- package/esm/models/operations/searchindexv1ragmanagedindexesindexnamesearchpost.js +0 -21
- package/esm/models/operations/searchindexv1ragmanagedindexesindexnamesearchpost.js.map +0 -1
- package/esm/models/operations/setmanagedindexsummaryv1ragmanagedindexesindexnamesummaryfieldlanguageput.d.ts +0 -32
- package/esm/models/operations/setmanagedindexsummaryv1ragmanagedindexesindexnamesummaryfieldlanguageput.d.ts.map +0 -1
- package/esm/models/operations/setmanagedindexsummaryv1ragmanagedindexesindexnamesummaryfieldlanguageput.js +0 -35
- package/esm/models/operations/setmanagedindexsummaryv1ragmanagedindexesindexnamesummaryfieldlanguageput.js.map +0 -1
- package/esm/models/operations/updateindexv1ragmanagedindexesindexnameput.d.ts +0 -15
- package/esm/models/operations/updateindexv1ragmanagedindexesindexnameput.d.ts.map +0 -1
- package/esm/models/operations/updateindexv1ragmanagedindexesindexnameput.js.map +0 -1
- package/src/models/operations/deletedocumentsv1ragmanagedindexesindexnamedocumentsdelete.ts +0 -45
- package/src/models/operations/deleteindexv1ragmanagedindexesindexnamedelete.ts +0 -39
- package/src/models/operations/getchunkindexv1ragmanagedindexesindexnamechunkschunkidget.ts +0 -43
- package/src/models/operations/getindexv1ragmanagedindexesindexnameget.ts +0 -39
- package/src/models/operations/getmanagedindexsummaryv1ragmanagedindexesindexnamesummaryfieldlanguageget.ts +0 -73
- package/src/models/operations/grepindexv1ragmanagedindexesindexnamegreppost.ts +0 -44
- package/src/models/operations/ingestdocumentsv1ragmanagedindexesindexnamedocumentspost.ts +0 -44
- package/src/models/operations/listindexesv1ragmanagedindexesget.ts +0 -103
- package/src/models/operations/navigateindexv1ragmanagedindexesindexnamenavigatepost.ts +0 -44
- package/src/models/operations/readindexv1ragmanagedindexesindexnamereadpost.ts +0 -44
- package/src/models/operations/searchindexv1ragmanagedindexesindexnamesearchpost.ts +0 -44
- package/src/models/operations/setmanagedindexsummaryv1ragmanagedindexesindexnamesummaryfieldlanguageput.ts +0 -80
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import {
|
|
11
|
+
ResponsesFunctionToolCall,
|
|
12
|
+
ResponsesFunctionToolCall$inboundSchema,
|
|
13
|
+
} from "./responsesfunctiontoolcall.js";
|
|
14
|
+
import {
|
|
15
|
+
ResponsesOutputMessage,
|
|
16
|
+
ResponsesOutputMessage$inboundSchema,
|
|
17
|
+
} from "./responsesoutputmessage.js";
|
|
18
|
+
import {
|
|
19
|
+
ResponsesReasoningItem,
|
|
20
|
+
ResponsesReasoningItem$inboundSchema,
|
|
21
|
+
} from "./responsesreasoningitem.js";
|
|
22
|
+
|
|
23
|
+
export type ResponsesOutputItemDoneEventItem =
|
|
24
|
+
| ResponsesOutputMessage
|
|
25
|
+
| ResponsesFunctionToolCall
|
|
26
|
+
| ResponsesReasoningItem;
|
|
27
|
+
|
|
28
|
+
export type ResponsesOutputItemDoneEvent = {
|
|
29
|
+
item:
|
|
30
|
+
| ResponsesOutputMessage
|
|
31
|
+
| ResponsesFunctionToolCall
|
|
32
|
+
| ResponsesReasoningItem;
|
|
33
|
+
outputIndex: number;
|
|
34
|
+
sequenceNumber: number;
|
|
35
|
+
type: "response.output_item.done";
|
|
36
|
+
[additionalProperties: string]: unknown;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
/** @internal */
|
|
40
|
+
export const ResponsesOutputItemDoneEventItem$inboundSchema: z.ZodType<
|
|
41
|
+
ResponsesOutputItemDoneEventItem,
|
|
42
|
+
unknown
|
|
43
|
+
> = z.union([
|
|
44
|
+
ResponsesOutputMessage$inboundSchema,
|
|
45
|
+
ResponsesFunctionToolCall$inboundSchema,
|
|
46
|
+
ResponsesReasoningItem$inboundSchema,
|
|
47
|
+
]);
|
|
48
|
+
|
|
49
|
+
export function responsesOutputItemDoneEventItemFromJSON(
|
|
50
|
+
jsonString: string,
|
|
51
|
+
): SafeParseResult<ResponsesOutputItemDoneEventItem, SDKValidationError> {
|
|
52
|
+
return safeParse(
|
|
53
|
+
jsonString,
|
|
54
|
+
(x) => ResponsesOutputItemDoneEventItem$inboundSchema.parse(JSON.parse(x)),
|
|
55
|
+
`Failed to parse 'ResponsesOutputItemDoneEventItem' from JSON`,
|
|
56
|
+
);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/** @internal */
|
|
60
|
+
export const ResponsesOutputItemDoneEvent$inboundSchema: z.ZodType<
|
|
61
|
+
ResponsesOutputItemDoneEvent,
|
|
62
|
+
unknown
|
|
63
|
+
> = z.object({
|
|
64
|
+
item: z.union([
|
|
65
|
+
ResponsesOutputMessage$inboundSchema,
|
|
66
|
+
ResponsesFunctionToolCall$inboundSchema,
|
|
67
|
+
ResponsesReasoningItem$inboundSchema,
|
|
68
|
+
]),
|
|
69
|
+
output_index: z.int(),
|
|
70
|
+
sequence_number: z.int(),
|
|
71
|
+
type: z.literal("response.output_item.done"),
|
|
72
|
+
}).catchall(z.any()).transform((v) => {
|
|
73
|
+
return remap$(v, {
|
|
74
|
+
"output_index": "outputIndex",
|
|
75
|
+
"sequence_number": "sequenceNumber",
|
|
76
|
+
});
|
|
77
|
+
});
|
|
78
|
+
|
|
79
|
+
export function responsesOutputItemDoneEventFromJSON(
|
|
80
|
+
jsonString: string,
|
|
81
|
+
): SafeParseResult<ResponsesOutputItemDoneEvent, SDKValidationError> {
|
|
82
|
+
return safeParse(
|
|
83
|
+
jsonString,
|
|
84
|
+
(x) => ResponsesOutputItemDoneEvent$inboundSchema.parse(JSON.parse(x)),
|
|
85
|
+
`Failed to parse 'ResponsesOutputItemDoneEvent' from JSON`,
|
|
86
|
+
);
|
|
87
|
+
}
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import {
|
|
11
|
+
ResponsesOutputRefusal,
|
|
12
|
+
ResponsesOutputRefusal$inboundSchema,
|
|
13
|
+
ResponsesOutputRefusal$Outbound,
|
|
14
|
+
ResponsesOutputRefusal$outboundSchema,
|
|
15
|
+
} from "./responsesoutputrefusal.js";
|
|
16
|
+
import {
|
|
17
|
+
ResponsesOutputText,
|
|
18
|
+
ResponsesOutputText$inboundSchema,
|
|
19
|
+
ResponsesOutputText$Outbound,
|
|
20
|
+
ResponsesOutputText$outboundSchema,
|
|
21
|
+
} from "./responsesoutputtext.js";
|
|
22
|
+
|
|
23
|
+
export type ResponsesOutputMessageContent =
|
|
24
|
+
| ResponsesOutputText
|
|
25
|
+
| ResponsesOutputRefusal;
|
|
26
|
+
|
|
27
|
+
export const ResponsesOutputMessageStatus = {
|
|
28
|
+
InProgress: "in_progress",
|
|
29
|
+
Completed: "completed",
|
|
30
|
+
Incomplete: "incomplete",
|
|
31
|
+
} as const;
|
|
32
|
+
export type ResponsesOutputMessageStatus = ClosedEnum<
|
|
33
|
+
typeof ResponsesOutputMessageStatus
|
|
34
|
+
>;
|
|
35
|
+
|
|
36
|
+
export const ResponsesOutputMessagePhase = {
|
|
37
|
+
Commentary: "commentary",
|
|
38
|
+
FinalAnswer: "final_answer",
|
|
39
|
+
} as const;
|
|
40
|
+
export type ResponsesOutputMessagePhase = ClosedEnum<
|
|
41
|
+
typeof ResponsesOutputMessagePhase
|
|
42
|
+
>;
|
|
43
|
+
|
|
44
|
+
export type ResponsesOutputMessage = {
|
|
45
|
+
id: string;
|
|
46
|
+
content: Array<ResponsesOutputText | ResponsesOutputRefusal>;
|
|
47
|
+
role: "assistant";
|
|
48
|
+
status: ResponsesOutputMessageStatus;
|
|
49
|
+
type: "message";
|
|
50
|
+
phase?: ResponsesOutputMessagePhase | null | undefined;
|
|
51
|
+
[additionalProperties: string]: unknown;
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
/** @internal */
|
|
55
|
+
export const ResponsesOutputMessageContent$inboundSchema: z.ZodType<
|
|
56
|
+
ResponsesOutputMessageContent,
|
|
57
|
+
unknown
|
|
58
|
+
> = z.union([
|
|
59
|
+
ResponsesOutputText$inboundSchema,
|
|
60
|
+
ResponsesOutputRefusal$inboundSchema,
|
|
61
|
+
]);
|
|
62
|
+
/** @internal */
|
|
63
|
+
export type ResponsesOutputMessageContent$Outbound =
|
|
64
|
+
| ResponsesOutputText$Outbound
|
|
65
|
+
| ResponsesOutputRefusal$Outbound;
|
|
66
|
+
|
|
67
|
+
/** @internal */
|
|
68
|
+
export const ResponsesOutputMessageContent$outboundSchema: z.ZodType<
|
|
69
|
+
ResponsesOutputMessageContent$Outbound,
|
|
70
|
+
ResponsesOutputMessageContent
|
|
71
|
+
> = z.union([
|
|
72
|
+
ResponsesOutputText$outboundSchema,
|
|
73
|
+
ResponsesOutputRefusal$outboundSchema,
|
|
74
|
+
]);
|
|
75
|
+
|
|
76
|
+
export function responsesOutputMessageContentToJSON(
|
|
77
|
+
responsesOutputMessageContent: ResponsesOutputMessageContent,
|
|
78
|
+
): string {
|
|
79
|
+
return JSON.stringify(
|
|
80
|
+
ResponsesOutputMessageContent$outboundSchema.parse(
|
|
81
|
+
responsesOutputMessageContent,
|
|
82
|
+
),
|
|
83
|
+
);
|
|
84
|
+
}
|
|
85
|
+
export function responsesOutputMessageContentFromJSON(
|
|
86
|
+
jsonString: string,
|
|
87
|
+
): SafeParseResult<ResponsesOutputMessageContent, SDKValidationError> {
|
|
88
|
+
return safeParse(
|
|
89
|
+
jsonString,
|
|
90
|
+
(x) => ResponsesOutputMessageContent$inboundSchema.parse(JSON.parse(x)),
|
|
91
|
+
`Failed to parse 'ResponsesOutputMessageContent' from JSON`,
|
|
92
|
+
);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/** @internal */
|
|
96
|
+
export const ResponsesOutputMessageStatus$inboundSchema: z.ZodEnum<
|
|
97
|
+
typeof ResponsesOutputMessageStatus
|
|
98
|
+
> = z.enum(ResponsesOutputMessageStatus);
|
|
99
|
+
/** @internal */
|
|
100
|
+
export const ResponsesOutputMessageStatus$outboundSchema: z.ZodEnum<
|
|
101
|
+
typeof ResponsesOutputMessageStatus
|
|
102
|
+
> = ResponsesOutputMessageStatus$inboundSchema;
|
|
103
|
+
|
|
104
|
+
/** @internal */
|
|
105
|
+
export const ResponsesOutputMessagePhase$inboundSchema: z.ZodEnum<
|
|
106
|
+
typeof ResponsesOutputMessagePhase
|
|
107
|
+
> = z.enum(ResponsesOutputMessagePhase);
|
|
108
|
+
/** @internal */
|
|
109
|
+
export const ResponsesOutputMessagePhase$outboundSchema: z.ZodEnum<
|
|
110
|
+
typeof ResponsesOutputMessagePhase
|
|
111
|
+
> = ResponsesOutputMessagePhase$inboundSchema;
|
|
112
|
+
|
|
113
|
+
/** @internal */
|
|
114
|
+
export const ResponsesOutputMessage$inboundSchema: z.ZodType<
|
|
115
|
+
ResponsesOutputMessage,
|
|
116
|
+
unknown
|
|
117
|
+
> = z.object({
|
|
118
|
+
id: z.string(),
|
|
119
|
+
content: z.array(
|
|
120
|
+
z.union([
|
|
121
|
+
ResponsesOutputText$inboundSchema,
|
|
122
|
+
ResponsesOutputRefusal$inboundSchema,
|
|
123
|
+
]),
|
|
124
|
+
),
|
|
125
|
+
role: z.literal("assistant"),
|
|
126
|
+
status: ResponsesOutputMessageStatus$inboundSchema,
|
|
127
|
+
type: z.literal("message"),
|
|
128
|
+
phase: z.nullable(ResponsesOutputMessagePhase$inboundSchema).default(null),
|
|
129
|
+
}).catchall(z.any());
|
|
130
|
+
/** @internal */
|
|
131
|
+
export type ResponsesOutputMessage$Outbound = {
|
|
132
|
+
id: string;
|
|
133
|
+
content: Array<
|
|
134
|
+
ResponsesOutputText$Outbound | ResponsesOutputRefusal$Outbound
|
|
135
|
+
>;
|
|
136
|
+
role: "assistant";
|
|
137
|
+
status: string;
|
|
138
|
+
type: "message";
|
|
139
|
+
phase: string | null;
|
|
140
|
+
[additionalProperties: string]: unknown;
|
|
141
|
+
};
|
|
142
|
+
|
|
143
|
+
/** @internal */
|
|
144
|
+
export const ResponsesOutputMessage$outboundSchema: z.ZodType<
|
|
145
|
+
ResponsesOutputMessage$Outbound,
|
|
146
|
+
ResponsesOutputMessage
|
|
147
|
+
> = z.object({
|
|
148
|
+
id: z.string(),
|
|
149
|
+
content: z.array(
|
|
150
|
+
z.union([
|
|
151
|
+
ResponsesOutputText$outboundSchema,
|
|
152
|
+
ResponsesOutputRefusal$outboundSchema,
|
|
153
|
+
]),
|
|
154
|
+
),
|
|
155
|
+
role: z.literal("assistant"),
|
|
156
|
+
status: ResponsesOutputMessageStatus$outboundSchema,
|
|
157
|
+
type: z.literal("message"),
|
|
158
|
+
phase: z.nullable(ResponsesOutputMessagePhase$outboundSchema).default(null),
|
|
159
|
+
}).catchall(z.any());
|
|
160
|
+
|
|
161
|
+
export function responsesOutputMessageToJSON(
|
|
162
|
+
responsesOutputMessage: ResponsesOutputMessage,
|
|
163
|
+
): string {
|
|
164
|
+
return JSON.stringify(
|
|
165
|
+
ResponsesOutputMessage$outboundSchema.parse(responsesOutputMessage),
|
|
166
|
+
);
|
|
167
|
+
}
|
|
168
|
+
export function responsesOutputMessageFromJSON(
|
|
169
|
+
jsonString: string,
|
|
170
|
+
): SafeParseResult<ResponsesOutputMessage, SDKValidationError> {
|
|
171
|
+
return safeParse(
|
|
172
|
+
jsonString,
|
|
173
|
+
(x) => ResponsesOutputMessage$inboundSchema.parse(JSON.parse(x)),
|
|
174
|
+
`Failed to parse 'ResponsesOutputMessage' from JSON`,
|
|
175
|
+
);
|
|
176
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
|
|
10
|
+
export type ResponsesOutputRefusal = {
|
|
11
|
+
refusal: string;
|
|
12
|
+
type: "refusal";
|
|
13
|
+
[additionalProperties: string]: unknown;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/** @internal */
|
|
17
|
+
export const ResponsesOutputRefusal$inboundSchema: z.ZodType<
|
|
18
|
+
ResponsesOutputRefusal,
|
|
19
|
+
unknown
|
|
20
|
+
> = z.object({
|
|
21
|
+
refusal: z.string(),
|
|
22
|
+
type: z.literal("refusal"),
|
|
23
|
+
}).catchall(z.any());
|
|
24
|
+
/** @internal */
|
|
25
|
+
export type ResponsesOutputRefusal$Outbound = {
|
|
26
|
+
refusal: string;
|
|
27
|
+
type: "refusal";
|
|
28
|
+
[additionalProperties: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
/** @internal */
|
|
32
|
+
export const ResponsesOutputRefusal$outboundSchema: z.ZodType<
|
|
33
|
+
ResponsesOutputRefusal$Outbound,
|
|
34
|
+
ResponsesOutputRefusal
|
|
35
|
+
> = z.object({
|
|
36
|
+
refusal: z.string(),
|
|
37
|
+
type: z.literal("refusal"),
|
|
38
|
+
}).catchall(z.any());
|
|
39
|
+
|
|
40
|
+
export function responsesOutputRefusalToJSON(
|
|
41
|
+
responsesOutputRefusal: ResponsesOutputRefusal,
|
|
42
|
+
): string {
|
|
43
|
+
return JSON.stringify(
|
|
44
|
+
ResponsesOutputRefusal$outboundSchema.parse(responsesOutputRefusal),
|
|
45
|
+
);
|
|
46
|
+
}
|
|
47
|
+
export function responsesOutputRefusalFromJSON(
|
|
48
|
+
jsonString: string,
|
|
49
|
+
): SafeParseResult<ResponsesOutputRefusal, SDKValidationError> {
|
|
50
|
+
return safeParse(
|
|
51
|
+
jsonString,
|
|
52
|
+
(x) => ResponsesOutputRefusal$inboundSchema.parse(JSON.parse(x)),
|
|
53
|
+
`Failed to parse 'ResponsesOutputRefusal' from JSON`,
|
|
54
|
+
);
|
|
55
|
+
}
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
import {
|
|
10
|
+
ResponsesAnnotationContainerFileCitation,
|
|
11
|
+
ResponsesAnnotationContainerFileCitation$inboundSchema,
|
|
12
|
+
ResponsesAnnotationContainerFileCitation$Outbound,
|
|
13
|
+
ResponsesAnnotationContainerFileCitation$outboundSchema,
|
|
14
|
+
} from "./responsesannotationcontainerfilecitation.js";
|
|
15
|
+
import {
|
|
16
|
+
ResponsesAnnotationFileCitation,
|
|
17
|
+
ResponsesAnnotationFileCitation$inboundSchema,
|
|
18
|
+
ResponsesAnnotationFileCitation$Outbound,
|
|
19
|
+
ResponsesAnnotationFileCitation$outboundSchema,
|
|
20
|
+
} from "./responsesannotationfilecitation.js";
|
|
21
|
+
import {
|
|
22
|
+
ResponsesAnnotationFilePath,
|
|
23
|
+
ResponsesAnnotationFilePath$inboundSchema,
|
|
24
|
+
ResponsesAnnotationFilePath$Outbound,
|
|
25
|
+
ResponsesAnnotationFilePath$outboundSchema,
|
|
26
|
+
} from "./responsesannotationfilepath.js";
|
|
27
|
+
import {
|
|
28
|
+
ResponsesAnnotationURLCitation,
|
|
29
|
+
ResponsesAnnotationURLCitation$inboundSchema,
|
|
30
|
+
ResponsesAnnotationURLCitation$Outbound,
|
|
31
|
+
ResponsesAnnotationURLCitation$outboundSchema,
|
|
32
|
+
} from "./responsesannotationurlcitation.js";
|
|
33
|
+
import {
|
|
34
|
+
ResponsesOutputTextLogprob,
|
|
35
|
+
ResponsesOutputTextLogprob$inboundSchema,
|
|
36
|
+
ResponsesOutputTextLogprob$Outbound,
|
|
37
|
+
ResponsesOutputTextLogprob$outboundSchema,
|
|
38
|
+
} from "./responsesoutputtextlogprob.js";
|
|
39
|
+
|
|
40
|
+
export type Annotation =
|
|
41
|
+
| ResponsesAnnotationFileCitation
|
|
42
|
+
| ResponsesAnnotationURLCitation
|
|
43
|
+
| ResponsesAnnotationContainerFileCitation
|
|
44
|
+
| ResponsesAnnotationFilePath;
|
|
45
|
+
|
|
46
|
+
export type ResponsesOutputText = {
|
|
47
|
+
annotations: Array<
|
|
48
|
+
| ResponsesAnnotationFileCitation
|
|
49
|
+
| ResponsesAnnotationURLCitation
|
|
50
|
+
| ResponsesAnnotationContainerFileCitation
|
|
51
|
+
| ResponsesAnnotationFilePath
|
|
52
|
+
>;
|
|
53
|
+
text: string;
|
|
54
|
+
type: "output_text";
|
|
55
|
+
logprobs?: Array<ResponsesOutputTextLogprob> | null | undefined;
|
|
56
|
+
[additionalProperties: string]: unknown;
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
/** @internal */
|
|
60
|
+
export const Annotation$inboundSchema: z.ZodType<Annotation, unknown> = z.union(
|
|
61
|
+
[
|
|
62
|
+
ResponsesAnnotationFileCitation$inboundSchema,
|
|
63
|
+
ResponsesAnnotationURLCitation$inboundSchema,
|
|
64
|
+
ResponsesAnnotationContainerFileCitation$inboundSchema,
|
|
65
|
+
ResponsesAnnotationFilePath$inboundSchema,
|
|
66
|
+
],
|
|
67
|
+
);
|
|
68
|
+
/** @internal */
|
|
69
|
+
export type Annotation$Outbound =
|
|
70
|
+
| ResponsesAnnotationFileCitation$Outbound
|
|
71
|
+
| ResponsesAnnotationURLCitation$Outbound
|
|
72
|
+
| ResponsesAnnotationContainerFileCitation$Outbound
|
|
73
|
+
| ResponsesAnnotationFilePath$Outbound;
|
|
74
|
+
|
|
75
|
+
/** @internal */
|
|
76
|
+
export const Annotation$outboundSchema: z.ZodType<
|
|
77
|
+
Annotation$Outbound,
|
|
78
|
+
Annotation
|
|
79
|
+
> = z.union([
|
|
80
|
+
ResponsesAnnotationFileCitation$outboundSchema,
|
|
81
|
+
ResponsesAnnotationURLCitation$outboundSchema,
|
|
82
|
+
ResponsesAnnotationContainerFileCitation$outboundSchema,
|
|
83
|
+
ResponsesAnnotationFilePath$outboundSchema,
|
|
84
|
+
]);
|
|
85
|
+
|
|
86
|
+
export function annotationToJSON(annotation: Annotation): string {
|
|
87
|
+
return JSON.stringify(Annotation$outboundSchema.parse(annotation));
|
|
88
|
+
}
|
|
89
|
+
export function annotationFromJSON(
|
|
90
|
+
jsonString: string,
|
|
91
|
+
): SafeParseResult<Annotation, SDKValidationError> {
|
|
92
|
+
return safeParse(
|
|
93
|
+
jsonString,
|
|
94
|
+
(x) => Annotation$inboundSchema.parse(JSON.parse(x)),
|
|
95
|
+
`Failed to parse 'Annotation' from JSON`,
|
|
96
|
+
);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/** @internal */
|
|
100
|
+
export const ResponsesOutputText$inboundSchema: z.ZodType<
|
|
101
|
+
ResponsesOutputText,
|
|
102
|
+
unknown
|
|
103
|
+
> = z.object({
|
|
104
|
+
annotations: z.array(
|
|
105
|
+
z.union([
|
|
106
|
+
ResponsesAnnotationFileCitation$inboundSchema,
|
|
107
|
+
ResponsesAnnotationURLCitation$inboundSchema,
|
|
108
|
+
ResponsesAnnotationContainerFileCitation$inboundSchema,
|
|
109
|
+
ResponsesAnnotationFilePath$inboundSchema,
|
|
110
|
+
]),
|
|
111
|
+
),
|
|
112
|
+
text: z.string(),
|
|
113
|
+
type: z.literal("output_text"),
|
|
114
|
+
logprobs: z.nullable(z.array(ResponsesOutputTextLogprob$inboundSchema))
|
|
115
|
+
.optional(),
|
|
116
|
+
}).catchall(z.any());
|
|
117
|
+
/** @internal */
|
|
118
|
+
export type ResponsesOutputText$Outbound = {
|
|
119
|
+
annotations: Array<
|
|
120
|
+
| ResponsesAnnotationFileCitation$Outbound
|
|
121
|
+
| ResponsesAnnotationURLCitation$Outbound
|
|
122
|
+
| ResponsesAnnotationContainerFileCitation$Outbound
|
|
123
|
+
| ResponsesAnnotationFilePath$Outbound
|
|
124
|
+
>;
|
|
125
|
+
text: string;
|
|
126
|
+
type: "output_text";
|
|
127
|
+
logprobs?: Array<ResponsesOutputTextLogprob$Outbound> | null | undefined;
|
|
128
|
+
[additionalProperties: string]: unknown;
|
|
129
|
+
};
|
|
130
|
+
|
|
131
|
+
/** @internal */
|
|
132
|
+
export const ResponsesOutputText$outboundSchema: z.ZodType<
|
|
133
|
+
ResponsesOutputText$Outbound,
|
|
134
|
+
ResponsesOutputText
|
|
135
|
+
> = z.object({
|
|
136
|
+
annotations: z.array(
|
|
137
|
+
z.union([
|
|
138
|
+
ResponsesAnnotationFileCitation$outboundSchema,
|
|
139
|
+
ResponsesAnnotationURLCitation$outboundSchema,
|
|
140
|
+
ResponsesAnnotationContainerFileCitation$outboundSchema,
|
|
141
|
+
ResponsesAnnotationFilePath$outboundSchema,
|
|
142
|
+
]),
|
|
143
|
+
),
|
|
144
|
+
text: z.string(),
|
|
145
|
+
type: z.literal("output_text"),
|
|
146
|
+
logprobs: z.nullable(z.array(ResponsesOutputTextLogprob$outboundSchema))
|
|
147
|
+
.optional(),
|
|
148
|
+
}).catchall(z.any());
|
|
149
|
+
|
|
150
|
+
export function responsesOutputTextToJSON(
|
|
151
|
+
responsesOutputText: ResponsesOutputText,
|
|
152
|
+
): string {
|
|
153
|
+
return JSON.stringify(
|
|
154
|
+
ResponsesOutputText$outboundSchema.parse(responsesOutputText),
|
|
155
|
+
);
|
|
156
|
+
}
|
|
157
|
+
export function responsesOutputTextFromJSON(
|
|
158
|
+
jsonString: string,
|
|
159
|
+
): SafeParseResult<ResponsesOutputText, SDKValidationError> {
|
|
160
|
+
return safeParse(
|
|
161
|
+
jsonString,
|
|
162
|
+
(x) => ResponsesOutputText$inboundSchema.parse(JSON.parse(x)),
|
|
163
|
+
`Failed to parse 'ResponsesOutputText' from JSON`,
|
|
164
|
+
);
|
|
165
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import {
|
|
11
|
+
ResponsesOutputTextLogprobTopLogprob,
|
|
12
|
+
ResponsesOutputTextLogprobTopLogprob$inboundSchema,
|
|
13
|
+
ResponsesOutputTextLogprobTopLogprob$Outbound,
|
|
14
|
+
ResponsesOutputTextLogprobTopLogprob$outboundSchema,
|
|
15
|
+
} from "./responsesoutputtextlogprobtoplogprob.js";
|
|
16
|
+
|
|
17
|
+
export type ResponsesOutputTextLogprob = {
|
|
18
|
+
token: string;
|
|
19
|
+
bytes: Array<number>;
|
|
20
|
+
logprob: number;
|
|
21
|
+
topLogprobs: Array<ResponsesOutputTextLogprobTopLogprob>;
|
|
22
|
+
[additionalProperties: string]: unknown;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
/** @internal */
|
|
26
|
+
export const ResponsesOutputTextLogprob$inboundSchema: z.ZodType<
|
|
27
|
+
ResponsesOutputTextLogprob,
|
|
28
|
+
unknown
|
|
29
|
+
> = z.object({
|
|
30
|
+
token: z.string(),
|
|
31
|
+
bytes: z.array(z.int()),
|
|
32
|
+
logprob: z.number(),
|
|
33
|
+
top_logprobs: z.array(ResponsesOutputTextLogprobTopLogprob$inboundSchema),
|
|
34
|
+
}).catchall(z.any()).transform((v) => {
|
|
35
|
+
return remap$(v, {
|
|
36
|
+
"top_logprobs": "topLogprobs",
|
|
37
|
+
});
|
|
38
|
+
});
|
|
39
|
+
/** @internal */
|
|
40
|
+
export type ResponsesOutputTextLogprob$Outbound = {
|
|
41
|
+
token: string;
|
|
42
|
+
bytes: Array<number>;
|
|
43
|
+
logprob: number;
|
|
44
|
+
top_logprobs: Array<ResponsesOutputTextLogprobTopLogprob$Outbound>;
|
|
45
|
+
[additionalProperties: string]: unknown;
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
/** @internal */
|
|
49
|
+
export const ResponsesOutputTextLogprob$outboundSchema: z.ZodType<
|
|
50
|
+
ResponsesOutputTextLogprob$Outbound,
|
|
51
|
+
ResponsesOutputTextLogprob
|
|
52
|
+
> = z.object({
|
|
53
|
+
token: z.string(),
|
|
54
|
+
bytes: z.array(z.int()),
|
|
55
|
+
logprob: z.number(),
|
|
56
|
+
topLogprobs: z.array(ResponsesOutputTextLogprobTopLogprob$outboundSchema),
|
|
57
|
+
}).catchall(z.any()).transform((v) => {
|
|
58
|
+
return {
|
|
59
|
+
...remap$(v, {
|
|
60
|
+
topLogprobs: "top_logprobs",
|
|
61
|
+
}),
|
|
62
|
+
};
|
|
63
|
+
});
|
|
64
|
+
|
|
65
|
+
export function responsesOutputTextLogprobToJSON(
|
|
66
|
+
responsesOutputTextLogprob: ResponsesOutputTextLogprob,
|
|
67
|
+
): string {
|
|
68
|
+
return JSON.stringify(
|
|
69
|
+
ResponsesOutputTextLogprob$outboundSchema.parse(responsesOutputTextLogprob),
|
|
70
|
+
);
|
|
71
|
+
}
|
|
72
|
+
export function responsesOutputTextLogprobFromJSON(
|
|
73
|
+
jsonString: string,
|
|
74
|
+
): SafeParseResult<ResponsesOutputTextLogprob, SDKValidationError> {
|
|
75
|
+
return safeParse(
|
|
76
|
+
jsonString,
|
|
77
|
+
(x) => ResponsesOutputTextLogprob$inboundSchema.parse(JSON.parse(x)),
|
|
78
|
+
`Failed to parse 'ResponsesOutputTextLogprob' from JSON`,
|
|
79
|
+
);
|
|
80
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
|
|
10
|
+
export type ResponsesOutputTextLogprobTopLogprob = {
|
|
11
|
+
token: string;
|
|
12
|
+
bytes: Array<number>;
|
|
13
|
+
logprob: number;
|
|
14
|
+
[additionalProperties: string]: unknown;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
/** @internal */
|
|
18
|
+
export const ResponsesOutputTextLogprobTopLogprob$inboundSchema: z.ZodType<
|
|
19
|
+
ResponsesOutputTextLogprobTopLogprob,
|
|
20
|
+
unknown
|
|
21
|
+
> = z.object({
|
|
22
|
+
token: z.string(),
|
|
23
|
+
bytes: z.array(z.int()),
|
|
24
|
+
logprob: z.number(),
|
|
25
|
+
}).catchall(z.any());
|
|
26
|
+
/** @internal */
|
|
27
|
+
export type ResponsesOutputTextLogprobTopLogprob$Outbound = {
|
|
28
|
+
token: string;
|
|
29
|
+
bytes: Array<number>;
|
|
30
|
+
logprob: number;
|
|
31
|
+
[additionalProperties: string]: unknown;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
/** @internal */
|
|
35
|
+
export const ResponsesOutputTextLogprobTopLogprob$outboundSchema: z.ZodType<
|
|
36
|
+
ResponsesOutputTextLogprobTopLogprob$Outbound,
|
|
37
|
+
ResponsesOutputTextLogprobTopLogprob
|
|
38
|
+
> = z.object({
|
|
39
|
+
token: z.string(),
|
|
40
|
+
bytes: z.array(z.int()),
|
|
41
|
+
logprob: z.number(),
|
|
42
|
+
}).catchall(z.any());
|
|
43
|
+
|
|
44
|
+
export function responsesOutputTextLogprobTopLogprobToJSON(
|
|
45
|
+
responsesOutputTextLogprobTopLogprob: ResponsesOutputTextLogprobTopLogprob,
|
|
46
|
+
): string {
|
|
47
|
+
return JSON.stringify(
|
|
48
|
+
ResponsesOutputTextLogprobTopLogprob$outboundSchema.parse(
|
|
49
|
+
responsesOutputTextLogprobTopLogprob,
|
|
50
|
+
),
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
export function responsesOutputTextLogprobTopLogprobFromJSON(
|
|
54
|
+
jsonString: string,
|
|
55
|
+
): SafeParseResult<ResponsesOutputTextLogprobTopLogprob, SDKValidationError> {
|
|
56
|
+
return safeParse(
|
|
57
|
+
jsonString,
|
|
58
|
+
(x) =>
|
|
59
|
+
ResponsesOutputTextLogprobTopLogprob$inboundSchema.parse(JSON.parse(x)),
|
|
60
|
+
`Failed to parse 'ResponsesOutputTextLogprobTopLogprob' from JSON`,
|
|
61
|
+
);
|
|
62
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type ResponsesOutputTokensDetails = {
|
|
12
|
+
reasoningTokens: number;
|
|
13
|
+
[additionalProperties: string]: unknown;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/** @internal */
|
|
17
|
+
export const ResponsesOutputTokensDetails$inboundSchema: z.ZodType<
|
|
18
|
+
ResponsesOutputTokensDetails,
|
|
19
|
+
unknown
|
|
20
|
+
> = z.object({
|
|
21
|
+
reasoning_tokens: z.int(),
|
|
22
|
+
}).catchall(z.any()).transform((v) => {
|
|
23
|
+
return remap$(v, {
|
|
24
|
+
"reasoning_tokens": "reasoningTokens",
|
|
25
|
+
});
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
export function responsesOutputTokensDetailsFromJSON(
|
|
29
|
+
jsonString: string,
|
|
30
|
+
): SafeParseResult<ResponsesOutputTokensDetails, SDKValidationError> {
|
|
31
|
+
return safeParse(
|
|
32
|
+
jsonString,
|
|
33
|
+
(x) => ResponsesOutputTokensDetails$inboundSchema.parse(JSON.parse(x)),
|
|
34
|
+
`Failed to parse 'ResponsesOutputTokensDetails' from JSON`,
|
|
35
|
+
);
|
|
36
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
|
|
10
|
+
export type ResponsesPartReasoningText = {
|
|
11
|
+
text: string;
|
|
12
|
+
type: "reasoning_text";
|
|
13
|
+
[additionalProperties: string]: unknown;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/** @internal */
|
|
17
|
+
export const ResponsesPartReasoningText$inboundSchema: z.ZodType<
|
|
18
|
+
ResponsesPartReasoningText,
|
|
19
|
+
unknown
|
|
20
|
+
> = z.object({
|
|
21
|
+
text: z.string(),
|
|
22
|
+
type: z.literal("reasoning_text"),
|
|
23
|
+
}).catchall(z.any());
|
|
24
|
+
|
|
25
|
+
export function responsesPartReasoningTextFromJSON(
|
|
26
|
+
jsonString: string,
|
|
27
|
+
): SafeParseResult<ResponsesPartReasoningText, SDKValidationError> {
|
|
28
|
+
return safeParse(
|
|
29
|
+
jsonString,
|
|
30
|
+
(x) => ResponsesPartReasoningText$inboundSchema.parse(JSON.parse(x)),
|
|
31
|
+
`Failed to parse 'ResponsesPartReasoningText' from JSON`,
|
|
32
|
+
);
|
|
33
|
+
}
|