@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,36 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { ResponsesCustomTool, ResponsesCustomTool$Outbound } from "./responsescustomtool.js";
|
|
5
|
+
import { ResponsesToolFunction, ResponsesToolFunction$Outbound } from "./responsestoolfunction.js";
|
|
6
|
+
export type ResponsesNamespaceToolTool = ResponsesToolFunction | ResponsesCustomTool;
|
|
7
|
+
export type ResponsesNamespaceTool = {
|
|
8
|
+
description: string;
|
|
9
|
+
name: string;
|
|
10
|
+
tools: Array<ResponsesToolFunction | ResponsesCustomTool>;
|
|
11
|
+
type: "namespace";
|
|
12
|
+
[additionalProperties: string]: unknown;
|
|
13
|
+
};
|
|
14
|
+
/** @internal */
|
|
15
|
+
export declare const ResponsesNamespaceToolTool$inboundSchema: z.ZodType<ResponsesNamespaceToolTool, unknown>;
|
|
16
|
+
/** @internal */
|
|
17
|
+
export type ResponsesNamespaceToolTool$Outbound = ResponsesToolFunction$Outbound | ResponsesCustomTool$Outbound;
|
|
18
|
+
/** @internal */
|
|
19
|
+
export declare const ResponsesNamespaceToolTool$outboundSchema: z.ZodType<ResponsesNamespaceToolTool$Outbound, ResponsesNamespaceToolTool>;
|
|
20
|
+
export declare function responsesNamespaceToolToolToJSON(responsesNamespaceToolTool: ResponsesNamespaceToolTool): string;
|
|
21
|
+
export declare function responsesNamespaceToolToolFromJSON(jsonString: string): SafeParseResult<ResponsesNamespaceToolTool, SDKValidationError>;
|
|
22
|
+
/** @internal */
|
|
23
|
+
export declare const ResponsesNamespaceTool$inboundSchema: z.ZodType<ResponsesNamespaceTool, unknown>;
|
|
24
|
+
/** @internal */
|
|
25
|
+
export type ResponsesNamespaceTool$Outbound = {
|
|
26
|
+
description: string;
|
|
27
|
+
name: string;
|
|
28
|
+
tools: Array<ResponsesToolFunction$Outbound | ResponsesCustomTool$Outbound>;
|
|
29
|
+
type: "namespace";
|
|
30
|
+
[additionalProperties: string]: unknown;
|
|
31
|
+
};
|
|
32
|
+
/** @internal */
|
|
33
|
+
export declare const ResponsesNamespaceTool$outboundSchema: z.ZodType<ResponsesNamespaceTool$Outbound, ResponsesNamespaceTool>;
|
|
34
|
+
export declare function responsesNamespaceToolToJSON(responsesNamespaceTool: ResponsesNamespaceTool): string;
|
|
35
|
+
export declare function responsesNamespaceToolFromJSON(jsonString: string): SafeParseResult<ResponsesNamespaceTool, SDKValidationError>;
|
|
36
|
+
//# sourceMappingURL=responsesnamespacetool.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsesnamespacetool.d.ts","sourceRoot":"","sources":["../../../src/models/components/responsesnamespacetool.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,mBAAmB,EAEnB,4BAA4B,EAE7B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,qBAAqB,EAErB,8BAA8B,EAE/B,MAAM,4BAA4B,CAAC;AAEpC,MAAM,MAAM,0BAA0B,GAClC,qBAAqB,GACrB,mBAAmB,CAAC;AAExB,MAAM,MAAM,sBAAsB,GAAG;IACnC,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,KAAK,CAAC,qBAAqB,GAAG,mBAAmB,CAAC,CAAC;IAC1D,IAAI,EAAE,WAAW,CAAC;IAClB,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAA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.js";
|
|
6
|
+
import { ResponsesCustomTool$inboundSchema, ResponsesCustomTool$outboundSchema, } from "./responsescustomtool.js";
|
|
7
|
+
import { ResponsesToolFunction$inboundSchema, ResponsesToolFunction$outboundSchema, } from "./responsestoolfunction.js";
|
|
8
|
+
/** @internal */
|
|
9
|
+
export const ResponsesNamespaceToolTool$inboundSchema = z.union([
|
|
10
|
+
ResponsesToolFunction$inboundSchema,
|
|
11
|
+
ResponsesCustomTool$inboundSchema,
|
|
12
|
+
]);
|
|
13
|
+
/** @internal */
|
|
14
|
+
export const ResponsesNamespaceToolTool$outboundSchema = z.union([
|
|
15
|
+
ResponsesToolFunction$outboundSchema,
|
|
16
|
+
ResponsesCustomTool$outboundSchema,
|
|
17
|
+
]);
|
|
18
|
+
export function responsesNamespaceToolToolToJSON(responsesNamespaceToolTool) {
|
|
19
|
+
return JSON.stringify(ResponsesNamespaceToolTool$outboundSchema.parse(responsesNamespaceToolTool));
|
|
20
|
+
}
|
|
21
|
+
export function responsesNamespaceToolToolFromJSON(jsonString) {
|
|
22
|
+
return safeParse(jsonString, (x) => ResponsesNamespaceToolTool$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponsesNamespaceToolTool' from JSON`);
|
|
23
|
+
}
|
|
24
|
+
/** @internal */
|
|
25
|
+
export const ResponsesNamespaceTool$inboundSchema = z.object({
|
|
26
|
+
description: z.string(),
|
|
27
|
+
name: z.string(),
|
|
28
|
+
tools: z.array(z.union([
|
|
29
|
+
ResponsesToolFunction$inboundSchema,
|
|
30
|
+
ResponsesCustomTool$inboundSchema,
|
|
31
|
+
])),
|
|
32
|
+
type: z.literal("namespace"),
|
|
33
|
+
}).catchall(z.any());
|
|
34
|
+
/** @internal */
|
|
35
|
+
export const ResponsesNamespaceTool$outboundSchema = z.object({
|
|
36
|
+
description: z.string(),
|
|
37
|
+
name: z.string(),
|
|
38
|
+
tools: z.array(z.union([
|
|
39
|
+
ResponsesToolFunction$outboundSchema,
|
|
40
|
+
ResponsesCustomTool$outboundSchema,
|
|
41
|
+
])),
|
|
42
|
+
type: z.literal("namespace"),
|
|
43
|
+
}).catchall(z.any());
|
|
44
|
+
export function responsesNamespaceToolToJSON(responsesNamespaceTool) {
|
|
45
|
+
return JSON.stringify(ResponsesNamespaceTool$outboundSchema.parse(responsesNamespaceTool));
|
|
46
|
+
}
|
|
47
|
+
export function responsesNamespaceToolFromJSON(jsonString) {
|
|
48
|
+
return safeParse(jsonString, (x) => ResponsesNamespaceTool$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponsesNamespaceTool' from JSON`);
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=responsesnamespacetool.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsesnamespacetool.js","sourceRoot":"","sources":["../../../src/models/components/responsesnamespacetool.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EAEL,iCAAiC,EAEjC,kCAAkC,GACnC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAEL,mCAAmC,EAEnC,oCAAoC,GACrC,MAAM,4BAA4B,CAAC;AAcpC,gBAAgB;AAChB,MAAM,CAAC,MAAM,wCAAwC,GAGjD,CAAC,CAAC,KAAK,CAAC;IACV,mCAAmC;IACnC,iCAAiC;CAClC,CAAC,CAAC;AAMH,gBAAgB;AAChB,MAAM,CAAC,MAAM,yCAAyC,GAGlD,CAAC,CAAC,KAAK,CAAC;IACV,oCAAoC;IACpC,kCAAkC;CACnC,CAAC,CAAC;AAEH,MAAM,UAAU,gCAAgC,CAC9C,0BAAsD,EAC9C;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,yCAAyC,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAC5E,CAAC;AAAA,CACH;AACD,MAAM,UAAU,kCAAkC,CAChD,UAAkB,EAC+C;IACjE,OA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,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAChE,oDAAoD,CACrD,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { ResponsesFunctionToolCall } from "./responsesfunctiontoolcall.js";
|
|
5
|
+
import { ResponsesOutputMessage } from "./responsesoutputmessage.js";
|
|
6
|
+
import { ResponsesReasoningItem } from "./responsesreasoningitem.js";
|
|
7
|
+
export type ResponsesOutputItemAddedEventItem = ResponsesOutputMessage | ResponsesFunctionToolCall | ResponsesReasoningItem;
|
|
8
|
+
export type ResponsesOutputItemAddedEvent = {
|
|
9
|
+
item: ResponsesOutputMessage | ResponsesFunctionToolCall | ResponsesReasoningItem;
|
|
10
|
+
outputIndex: number;
|
|
11
|
+
sequenceNumber: number;
|
|
12
|
+
type: "response.output_item.added";
|
|
13
|
+
[additionalProperties: string]: unknown;
|
|
14
|
+
};
|
|
15
|
+
/** @internal */
|
|
16
|
+
export declare const ResponsesOutputItemAddedEventItem$inboundSchema: z.ZodType<ResponsesOutputItemAddedEventItem, unknown>;
|
|
17
|
+
export declare function responsesOutputItemAddedEventItemFromJSON(jsonString: string): SafeParseResult<ResponsesOutputItemAddedEventItem, SDKValidationError>;
|
|
18
|
+
/** @internal */
|
|
19
|
+
export declare const ResponsesOutputItemAddedEvent$inboundSchema: z.ZodType<ResponsesOutputItemAddedEvent, unknown>;
|
|
20
|
+
export declare function responsesOutputItemAddedEventFromJSON(jsonString: string): SafeParseResult<ResponsesOutputItemAddedEvent, SDKValidationError>;
|
|
21
|
+
//# sourceMappingURL=responsesoutputitemaddedevent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsesoutputitemaddedevent.d.ts","sourceRoot":"","sources":["../../../src/models/components/responsesoutputitemaddedev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remap as remap$ } from "../../lib/primitives.js";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { ResponsesFunctionToolCall$inboundSchema, } from "./responsesfunctiontoolcall.js";
|
|
8
|
+
import { ResponsesOutputMessage$inboundSchema, } from "./responsesoutputmessage.js";
|
|
9
|
+
import { ResponsesReasoningItem$inboundSchema, } from "./responsesreasoningitem.js";
|
|
10
|
+
/** @internal */
|
|
11
|
+
export const ResponsesOutputItemAddedEventItem$inboundSchema = z.union([
|
|
12
|
+
ResponsesOutputMessage$inboundSchema,
|
|
13
|
+
ResponsesFunctionToolCall$inboundSchema,
|
|
14
|
+
ResponsesReasoningItem$inboundSchema,
|
|
15
|
+
]);
|
|
16
|
+
export function responsesOutputItemAddedEventItemFromJSON(jsonString) {
|
|
17
|
+
return safeParse(jsonString, (x) => ResponsesOutputItemAddedEventItem$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponsesOutputItemAddedEventItem' from JSON`);
|
|
18
|
+
}
|
|
19
|
+
/** @internal */
|
|
20
|
+
export const ResponsesOutputItemAddedEvent$inboundSchema = z.object({
|
|
21
|
+
item: z.union([
|
|
22
|
+
ResponsesOutputMessage$inboundSchema,
|
|
23
|
+
ResponsesFunctionToolCall$inboundSchema,
|
|
24
|
+
ResponsesReasoningItem$inboundSchema,
|
|
25
|
+
]),
|
|
26
|
+
output_index: z.int(),
|
|
27
|
+
sequence_number: z.int(),
|
|
28
|
+
type: z.literal("response.output_item.added"),
|
|
29
|
+
}).catchall(z.any()).transform((v) => {
|
|
30
|
+
return remap$(v, {
|
|
31
|
+
"output_index": "outputIndex",
|
|
32
|
+
"sequence_number": "sequenceNumber",
|
|
33
|
+
});
|
|
34
|
+
});
|
|
35
|
+
export function responsesOutputItemAddedEventFromJSON(jsonString) {
|
|
36
|
+
return safeParse(jsonString, (x) => ResponsesOutputItemAddedEvent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponsesOutputItemAddedEvent' from JSON`);
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=responsesoutputitemaddedevent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsesoutputitemaddedevent.js","sourceRoot":"","sources":["../../../src/models/components/responsesoutputitemaddedevent.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EAEL,uCAAuC,GACxC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAEL,oCAAoC,GACrC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAEL,oCAAoC,GACrC,MAAM,6BAA6B,CAAC;AAkBrC,gBAAgB;AAChB,MAAM,CAAC,MAAM,+CAA+C,GAGxD,CAAC,CAAC,KAAK,CAAC;IACV,oCAAoC;IACpC,uCAAuC;IACvC,oCAAoC;CACrC,CAAC,CAAC;AAEH,MAAM,UAAU,yCAAyC,CACvD,UAAkB,EACsD;IACxE,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,+CAA+C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC3E,+DAA+D,CAChE,CAAC;AAAA,CACH;AAED,gBAAgB;AAChB,MAAM,CAAC,MAAM,2CAA2C,GAGpD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC;QACZ,oCAAoC;QACpC,uCAAuC;QACvC,oCAAoC;KACrC,CAAC;IACF,YAAY,EAAE,CAAC,CAAC,GAAG,EAAE;IACrB,eAAe,EAAE,CAAC,CAAC,GAAG,EAAE;IACxB,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,4BAA4B,CAAC;CAC9C,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACpC,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,cAAc,EAAE,aAAa;QAC7B,iBAAiB,EAAE,gBAAgB;KACpC,CAAC,CAAC;AAAA,CACJ,CAAC,CAAC;AAEH,MAAM,UAAU,qCAAqC,CACnD,UAAkB,EACkD;IACpE,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,2CAA2C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACvE,2DAA2D,CAC5D,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { ResponsesFunctionToolCall } from "./responsesfunctiontoolcall.js";
|
|
5
|
+
import { ResponsesOutputMessage } from "./responsesoutputmessage.js";
|
|
6
|
+
import { ResponsesReasoningItem } from "./responsesreasoningitem.js";
|
|
7
|
+
export type ResponsesOutputItemDoneEventItem = ResponsesOutputMessage | ResponsesFunctionToolCall | ResponsesReasoningItem;
|
|
8
|
+
export type ResponsesOutputItemDoneEvent = {
|
|
9
|
+
item: ResponsesOutputMessage | ResponsesFunctionToolCall | ResponsesReasoningItem;
|
|
10
|
+
outputIndex: number;
|
|
11
|
+
sequenceNumber: number;
|
|
12
|
+
type: "response.output_item.done";
|
|
13
|
+
[additionalProperties: string]: unknown;
|
|
14
|
+
};
|
|
15
|
+
/** @internal */
|
|
16
|
+
export declare const ResponsesOutputItemDoneEventItem$inboundSchema: z.ZodType<ResponsesOutputItemDoneEventItem, unknown>;
|
|
17
|
+
export declare function responsesOutputItemDoneEventItemFromJSON(jsonString: string): SafeParseResult<ResponsesOutputItemDoneEventItem, SDKValidationError>;
|
|
18
|
+
/** @internal */
|
|
19
|
+
export declare const ResponsesOutputItemDoneEvent$inboundSchema: z.ZodType<ResponsesOutputItemDoneEvent, unknown>;
|
|
20
|
+
export declare function responsesOutputItemDoneEventFromJSON(jsonString: string): SafeParseResult<ResponsesOutputItemDoneEvent, SDKValidationError>;
|
|
21
|
+
//# sourceMappingURL=responsesoutputitemdoneevent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsesoutputitemdoneevent.d.ts","sourceRoot":"","sources":["../../../src/models/components/responsesoutputitemdoneevent.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,yBAAyB,EAE1B,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,sBAAsB,EAEvB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,sBAAsB,EAEvB,MAAM,6BAA6B,CAAC;AAErC,MAAM,MAAM,gCAAgC,GACxC,sBAAsB,GACtB,yBAAyB,GACzB,sBAAsB,CAAC;AAE3B,MAAM,MAAM,4BAA4B,GAAG;IACzC,IAAI,EACA,sBAAsB,GACtB,yBAAyB,GACzB,sBAAsB,CAAC;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IACvB,IAAI,EAAE,2BAA2B,CAAC;IAClC,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8CAA8C,EAAE,CAAC,CAAC,OAAO,CACpE,gCAAgC,EAChC,OAAO,CAKP,CAAC;AAEH,wBAAgB,wCAAwC,CACtD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,gCAAgC,EAAE,kBAAkB,CAAC,CAMvE;AAED,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,OAAO,CAChE,4BAA4B,EAC5B,OAAO,CAeP,CAAC;AAEH,wBAAgB,oCAAoC,CAClD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,4BAA4B,EAAE,kBAAkB,CAAC,CAMnE"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4";
|
|
5
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { ResponsesFunctionToolCall$inboundSchema, } from "./responsesfunctiontoolcall.js";
|
|
8
|
+
import { ResponsesOutputMessage$inboundSchema, } from "./responsesoutputmessage.js";
|
|
9
|
+
import { ResponsesReasoningItem$inboundSchema, } from "./responsesreasoningitem.js";
|
|
10
|
+
/** @internal */
|
|
11
|
+
export const ResponsesOutputItemDoneEventItem$inboundSchema = z.union([
|
|
12
|
+
ResponsesOutputMessage$inboundSchema,
|
|
13
|
+
ResponsesFunctionToolCall$inboundSchema,
|
|
14
|
+
ResponsesReasoningItem$inboundSchema,
|
|
15
|
+
]);
|
|
16
|
+
export function responsesOutputItemDoneEventItemFromJSON(jsonString) {
|
|
17
|
+
return safeParse(jsonString, (x) => ResponsesOutputItemDoneEventItem$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponsesOutputItemDoneEventItem' from JSON`);
|
|
18
|
+
}
|
|
19
|
+
/** @internal */
|
|
20
|
+
export const ResponsesOutputItemDoneEvent$inboundSchema = z.object({
|
|
21
|
+
item: z.union([
|
|
22
|
+
ResponsesOutputMessage$inboundSchema,
|
|
23
|
+
ResponsesFunctionToolCall$inboundSchema,
|
|
24
|
+
ResponsesReasoningItem$inboundSchema,
|
|
25
|
+
]),
|
|
26
|
+
output_index: z.int(),
|
|
27
|
+
sequence_number: z.int(),
|
|
28
|
+
type: z.literal("response.output_item.done"),
|
|
29
|
+
}).catchall(z.any()).transform((v) => {
|
|
30
|
+
return remap$(v, {
|
|
31
|
+
"output_index": "outputIndex",
|
|
32
|
+
"sequence_number": "sequenceNumber",
|
|
33
|
+
});
|
|
34
|
+
});
|
|
35
|
+
export function responsesOutputItemDoneEventFromJSON(jsonString) {
|
|
36
|
+
return safeParse(jsonString, (x) => ResponsesOutputItemDoneEvent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponsesOutputItemDoneEvent' from JSON`);
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=responsesoutputitemdoneevent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsesoutputitemdoneevent.js","sourceRoot":"","sources":["../../../src/models/components/responsesoutputitemdoneevent.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EAEL,uCAAuC,GACxC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAEL,oCAAoC,GACrC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAEL,oCAAoC,GACrC,MAAM,6BAA6B,CAAC;AAkBrC,gBAAgB;AAChB,MAAM,CAAC,MAAM,8CAA8C,GAGvD,CAAC,CAAC,KAAK,CAAC;IACV,oCAAoC;IACpC,uCAAuC;IACvC,oCAAoC;CACrC,CAAC,CAAC;AAEH,MAAM,UAAU,wCAAwC,CACtD,UAAkB,EACqD;IACvE,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,8CAA8C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC1E,8DAA8D,CAC/D,CAAC;AAAA,CACH;AAED,gBAAgB;AAChB,MAAM,CAAC,MAAM,0CAA0C,GAGnD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC;QACZ,oCAAoC;QACpC,uCAAuC;QACvC,oCAAoC;KACrC,CAAC;IACF,YAAY,EAAE,CAAC,CAAC,GAAG,EAAE;IACrB,eAAe,EAAE,CAAC,CAAC,GAAG,EAAE;IACxB,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,2BAA2B,CAAC;CAC7C,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACpC,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,cAAc,EAAE,aAAa;QAC7B,iBAAiB,EAAE,gBAAgB;KACpC,CAAC,CAAC;AAAA,CACJ,CAAC,CAAC;AAEH,MAAM,UAAU,oCAAoC,CAClD,UAAkB,EACiD;IACnE,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,0CAA0C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACtE,0DAA0D,CAC3D,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
+
import { ResponsesOutputRefusal, ResponsesOutputRefusal$Outbound } from "./responsesoutputrefusal.js";
|
|
6
|
+
import { ResponsesOutputText, ResponsesOutputText$Outbound } from "./responsesoutputtext.js";
|
|
7
|
+
export type ResponsesOutputMessageContent = ResponsesOutputText | ResponsesOutputRefusal;
|
|
8
|
+
export declare const ResponsesOutputMessageStatus: {
|
|
9
|
+
readonly InProgress: "in_progress";
|
|
10
|
+
readonly Completed: "completed";
|
|
11
|
+
readonly Incomplete: "incomplete";
|
|
12
|
+
};
|
|
13
|
+
export type ResponsesOutputMessageStatus = ClosedEnum<typeof ResponsesOutputMessageStatus>;
|
|
14
|
+
export declare const ResponsesOutputMessagePhase: {
|
|
15
|
+
readonly Commentary: "commentary";
|
|
16
|
+
readonly FinalAnswer: "final_answer";
|
|
17
|
+
};
|
|
18
|
+
export type ResponsesOutputMessagePhase = ClosedEnum<typeof ResponsesOutputMessagePhase>;
|
|
19
|
+
export type ResponsesOutputMessage = {
|
|
20
|
+
id: string;
|
|
21
|
+
content: Array<ResponsesOutputText | ResponsesOutputRefusal>;
|
|
22
|
+
role: "assistant";
|
|
23
|
+
status: ResponsesOutputMessageStatus;
|
|
24
|
+
type: "message";
|
|
25
|
+
phase?: ResponsesOutputMessagePhase | null | undefined;
|
|
26
|
+
[additionalProperties: string]: unknown;
|
|
27
|
+
};
|
|
28
|
+
/** @internal */
|
|
29
|
+
export declare const ResponsesOutputMessageContent$inboundSchema: z.ZodType<ResponsesOutputMessageContent, unknown>;
|
|
30
|
+
/** @internal */
|
|
31
|
+
export type ResponsesOutputMessageContent$Outbound = ResponsesOutputText$Outbound | ResponsesOutputRefusal$Outbound;
|
|
32
|
+
/** @internal */
|
|
33
|
+
export declare const ResponsesOutputMessageContent$outboundSchema: z.ZodType<ResponsesOutputMessageContent$Outbound, ResponsesOutputMessageContent>;
|
|
34
|
+
export declare function responsesOutputMessageContentToJSON(responsesOutputMessageContent: ResponsesOutputMessageContent): string;
|
|
35
|
+
export declare function responsesOutputMessageContentFromJSON(jsonString: string): SafeParseResult<ResponsesOutputMessageContent, SDKValidationError>;
|
|
36
|
+
/** @internal */
|
|
37
|
+
export declare const ResponsesOutputMessageStatus$inboundSchema: z.ZodEnum<typeof ResponsesOutputMessageStatus>;
|
|
38
|
+
/** @internal */
|
|
39
|
+
export declare const ResponsesOutputMessageStatus$outboundSchema: z.ZodEnum<typeof ResponsesOutputMessageStatus>;
|
|
40
|
+
/** @internal */
|
|
41
|
+
export declare const ResponsesOutputMessagePhase$inboundSchema: z.ZodEnum<typeof ResponsesOutputMessagePhase>;
|
|
42
|
+
/** @internal */
|
|
43
|
+
export declare const ResponsesOutputMessagePhase$outboundSchema: z.ZodEnum<typeof ResponsesOutputMessagePhase>;
|
|
44
|
+
/** @internal */
|
|
45
|
+
export declare const ResponsesOutputMessage$inboundSchema: z.ZodType<ResponsesOutputMessage, unknown>;
|
|
46
|
+
/** @internal */
|
|
47
|
+
export type ResponsesOutputMessage$Outbound = {
|
|
48
|
+
id: string;
|
|
49
|
+
content: Array<ResponsesOutputText$Outbound | ResponsesOutputRefusal$Outbound>;
|
|
50
|
+
role: "assistant";
|
|
51
|
+
status: string;
|
|
52
|
+
type: "message";
|
|
53
|
+
phase: string | null;
|
|
54
|
+
[additionalProperties: string]: unknown;
|
|
55
|
+
};
|
|
56
|
+
/** @internal */
|
|
57
|
+
export declare const ResponsesOutputMessage$outboundSchema: z.ZodType<ResponsesOutputMessage$Outbound, ResponsesOutputMessage>;
|
|
58
|
+
export declare function responsesOutputMessageToJSON(responsesOutputMessage: ResponsesOutputMessage): string;
|
|
59
|
+
export declare function responsesOutputMessageFromJSON(jsonString: string): SafeParseResult<ResponsesOutputMessage, SDKValidationError>;
|
|
60
|
+
//# sourceMappingURL=responsesoutputmessage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsesoutputmessage.d.ts","sourceRoot":"","sources":["../../../src/models/components/responsesoutputmessage.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,sBAAsB,EAEtB,+BAA+B,EAEhC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,m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,CAAC;AACzC,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,OAAO,CACjE,OAAO,4BAA4B,CACS,CAAC;AAE/C,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,OAAO,CAC/D,OAAO,2BAA2B,CACG,CAAC;AACxC,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,OAAO,CAChE,OAAO,2BAA2B,CACS,CAAC;AAE9C,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,sBAAsB,EACtB,OAAO,CAaW,CAAC;AACrB,gBAAgB;AAChB,MAAM,MAAM,+BAA+B,GAAG;IAC5C,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,KAAK,CACZ,4BAA4B,GAAG,+BAA+B,CAC/D,CAAC;IACF,IAAI,EAAE,WAAW,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,OAAO,CAC3D,+BAA+B,EAC/B,sBAAsB,CAaJ,CAAC;AAErB,wBAAgB,4BAA4B,CAC1C,sBAAsB,EAAE,sBAAsB,GAC7C,MAAM,CAIR;AACD,wBAAgB,8BAA8B,CAC5C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAM7D"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4";
|
|
5
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
6
|
+
import { ResponsesOutputRefusal$inboundSchema, ResponsesOutputRefusal$outboundSchema, } from "./responsesoutputrefusal.js";
|
|
7
|
+
import { ResponsesOutputText$inboundSchema, ResponsesOutputText$outboundSchema, } from "./responsesoutputtext.js";
|
|
8
|
+
export const ResponsesOutputMessageStatus = {
|
|
9
|
+
InProgress: "in_progress",
|
|
10
|
+
Completed: "completed",
|
|
11
|
+
Incomplete: "incomplete",
|
|
12
|
+
};
|
|
13
|
+
export const ResponsesOutputMessagePhase = {
|
|
14
|
+
Commentary: "commentary",
|
|
15
|
+
FinalAnswer: "final_answer",
|
|
16
|
+
};
|
|
17
|
+
/** @internal */
|
|
18
|
+
export const ResponsesOutputMessageContent$inboundSchema = z.union([
|
|
19
|
+
ResponsesOutputText$inboundSchema,
|
|
20
|
+
ResponsesOutputRefusal$inboundSchema,
|
|
21
|
+
]);
|
|
22
|
+
/** @internal */
|
|
23
|
+
export const ResponsesOutputMessageContent$outboundSchema = z.union([
|
|
24
|
+
ResponsesOutputText$outboundSchema,
|
|
25
|
+
ResponsesOutputRefusal$outboundSchema,
|
|
26
|
+
]);
|
|
27
|
+
export function responsesOutputMessageContentToJSON(responsesOutputMessageContent) {
|
|
28
|
+
return JSON.stringify(ResponsesOutputMessageContent$outboundSchema.parse(responsesOutputMessageContent));
|
|
29
|
+
}
|
|
30
|
+
export function responsesOutputMessageContentFromJSON(jsonString) {
|
|
31
|
+
return safeParse(jsonString, (x) => ResponsesOutputMessageContent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponsesOutputMessageContent' from JSON`);
|
|
32
|
+
}
|
|
33
|
+
/** @internal */
|
|
34
|
+
export const ResponsesOutputMessageStatus$inboundSchema = z.enum(ResponsesOutputMessageStatus);
|
|
35
|
+
/** @internal */
|
|
36
|
+
export const ResponsesOutputMessageStatus$outboundSchema = ResponsesOutputMessageStatus$inboundSchema;
|
|
37
|
+
/** @internal */
|
|
38
|
+
export const ResponsesOutputMessagePhase$inboundSchema = z.enum(ResponsesOutputMessagePhase);
|
|
39
|
+
/** @internal */
|
|
40
|
+
export const ResponsesOutputMessagePhase$outboundSchema = ResponsesOutputMessagePhase$inboundSchema;
|
|
41
|
+
/** @internal */
|
|
42
|
+
export const ResponsesOutputMessage$inboundSchema = z.object({
|
|
43
|
+
id: z.string(),
|
|
44
|
+
content: z.array(z.union([
|
|
45
|
+
ResponsesOutputText$inboundSchema,
|
|
46
|
+
ResponsesOutputRefusal$inboundSchema,
|
|
47
|
+
])),
|
|
48
|
+
role: z.literal("assistant"),
|
|
49
|
+
status: ResponsesOutputMessageStatus$inboundSchema,
|
|
50
|
+
type: z.literal("message"),
|
|
51
|
+
phase: z.nullable(ResponsesOutputMessagePhase$inboundSchema).default(null),
|
|
52
|
+
}).catchall(z.any());
|
|
53
|
+
/** @internal */
|
|
54
|
+
export const ResponsesOutputMessage$outboundSchema = z.object({
|
|
55
|
+
id: z.string(),
|
|
56
|
+
content: z.array(z.union([
|
|
57
|
+
ResponsesOutputText$outboundSchema,
|
|
58
|
+
ResponsesOutputRefusal$outboundSchema,
|
|
59
|
+
])),
|
|
60
|
+
role: z.literal("assistant"),
|
|
61
|
+
status: ResponsesOutputMessageStatus$outboundSchema,
|
|
62
|
+
type: z.literal("message"),
|
|
63
|
+
phase: z.nullable(ResponsesOutputMessagePhase$outboundSchema).default(null),
|
|
64
|
+
}).catchall(z.any());
|
|
65
|
+
export function responsesOutputMessageToJSON(responsesOutputMessage) {
|
|
66
|
+
return JSON.stringify(ResponsesOutputMessage$outboundSchema.parse(responsesOutputMessage));
|
|
67
|
+
}
|
|
68
|
+
export function responsesOutputMessageFromJSON(jsonString) {
|
|
69
|
+
return safeParse(jsonString, (x) => ResponsesOutputMessage$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponsesOutputMessage' from JSON`);
|
|
70
|
+
}
|
|
71
|
+
//# sourceMappingURL=responsesoutputmessage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsesoutputmessage.js","sourceRoot":"","sources":["../../../src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C,GAAG,EAAE,CAAC,CAAC;AAErB,MAAM,UAAU,4BAA4B,CAC1C,sBAA8C,EACtC;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,qCAAqC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CACpE,CAAC;AAAA,CACH;AACD,MAAM,UAAU,8BAA8B,CAC5C,UAAkB,EAC2C;IAC7D,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,oCAAoC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAChE,oDAAoD,CACrD,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
export type ResponsesOutputRefusal = {
|
|
5
|
+
refusal: string;
|
|
6
|
+
type: "refusal";
|
|
7
|
+
[additionalProperties: string]: unknown;
|
|
8
|
+
};
|
|
9
|
+
/** @internal */
|
|
10
|
+
export declare const ResponsesOutputRefusal$inboundSchema: z.ZodType<ResponsesOutputRefusal, unknown>;
|
|
11
|
+
/** @internal */
|
|
12
|
+
export type ResponsesOutputRefusal$Outbound = {
|
|
13
|
+
refusal: string;
|
|
14
|
+
type: "refusal";
|
|
15
|
+
[additionalProperties: string]: unknown;
|
|
16
|
+
};
|
|
17
|
+
/** @internal */
|
|
18
|
+
export declare const ResponsesOutputRefusal$outboundSchema: z.ZodType<ResponsesOutputRefusal$Outbound, ResponsesOutputRefusal>;
|
|
19
|
+
export declare function responsesOutputRefusalToJSON(responsesOutputRefusal: ResponsesOutputRefusal): string;
|
|
20
|
+
export declare function responsesOutputRefusalFromJSON(jsonString: string): SafeParseResult<ResponsesOutputRefusal, SDKValidationError>;
|
|
21
|
+
//# sourceMappingURL=responsesoutputrefusal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsesoutputrefusal.d.ts","sourceRoot":"","sources":["../../../src/models/components/responsesoutputrefusal.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,sBAAsB,GAAG;IACnC,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,SAAS,CAAC;IAChB,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,sBAAsB,EACtB,OAAO,CAIW,CAAC;AACrB,gBAAgB;AAChB,MAAM,MAAM,+BAA+B,GAAG;IAC5C,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,SAAS,CAAC;IAChB,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,OAAO,CAC3D,+BAA+B,EAC/B,sBAAsB,CAIJ,CAAC;AAErB,wBAAgB,4BAA4B,CAC1C,sBAAsB,EAAE,sBAAsB,GAC7C,MAAM,CAIR;AACD,wBAAgB,8BAA8B,CAC5C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAM7D"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4";
|
|
5
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
6
|
+
/** @internal */
|
|
7
|
+
export const ResponsesOutputRefusal$inboundSchema = z.object({
|
|
8
|
+
refusal: z.string(),
|
|
9
|
+
type: z.literal("refusal"),
|
|
10
|
+
}).catchall(z.any());
|
|
11
|
+
/** @internal */
|
|
12
|
+
export const ResponsesOutputRefusal$outboundSchema = z.object({
|
|
13
|
+
refusal: z.string(),
|
|
14
|
+
type: z.literal("refusal"),
|
|
15
|
+
}).catchall(z.any());
|
|
16
|
+
export function responsesOutputRefusalToJSON(responsesOutputRefusal) {
|
|
17
|
+
return JSON.stringify(ResponsesOutputRefusal$outboundSchema.parse(responsesOutputRefusal));
|
|
18
|
+
}
|
|
19
|
+
export function responsesOutputRefusalFromJSON(jsonString) {
|
|
20
|
+
return safeParse(jsonString, (x) => ResponsesOutputRefusal$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponsesOutputRefusal' from JSON`);
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=responsesoutputrefusal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsesoutputrefusal.js","sourceRoot":"","sources":["../../../src/models/components/responsesoutputrefusal.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAUjD,gBAAgB;AAChB,MAAM,CAAC,MAAM,oCAAoC,GAG7C,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC;CAC3B,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC;AAQrB,gBAAgB;AAChB,MAAM,CAAC,MAAM,qCAAqC,GAG9C,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC;CAC3B,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC;AAErB,MAAM,UAAU,4BAA4B,CAC1C,sBAA8C,EACtC;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,qCAAqC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CACpE,CAAC;AAAA,CACH;AACD,MAAM,UAAU,8BAA8B,CAC5C,UAAkB,EAC2C;IAC7D,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,oCAAoC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAChE,oDAAoD,CACrD,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { ResponsesAnnotationContainerFileCitation, ResponsesAnnotationContainerFileCitation$Outbound } from "./responsesannotationcontainerfilecitation.js";
|
|
5
|
+
import { ResponsesAnnotationFileCitation, ResponsesAnnotationFileCitation$Outbound } from "./responsesannotationfilecitation.js";
|
|
6
|
+
import { ResponsesAnnotationFilePath, ResponsesAnnotationFilePath$Outbound } from "./responsesannotationfilepath.js";
|
|
7
|
+
import { ResponsesAnnotationURLCitation, ResponsesAnnotationURLCitation$Outbound } from "./responsesannotationurlcitation.js";
|
|
8
|
+
import { ResponsesOutputTextLogprob, ResponsesOutputTextLogprob$Outbound } from "./responsesoutputtextlogprob.js";
|
|
9
|
+
export type Annotation = ResponsesAnnotationFileCitation | ResponsesAnnotationURLCitation | ResponsesAnnotationContainerFileCitation | ResponsesAnnotationFilePath;
|
|
10
|
+
export type ResponsesOutputText = {
|
|
11
|
+
annotations: Array<ResponsesAnnotationFileCitation | ResponsesAnnotationURLCitation | ResponsesAnnotationContainerFileCitation | ResponsesAnnotationFilePath>;
|
|
12
|
+
text: string;
|
|
13
|
+
type: "output_text";
|
|
14
|
+
logprobs?: Array<ResponsesOutputTextLogprob> | null | undefined;
|
|
15
|
+
[additionalProperties: string]: unknown;
|
|
16
|
+
};
|
|
17
|
+
/** @internal */
|
|
18
|
+
export declare const Annotation$inboundSchema: z.ZodType<Annotation, unknown>;
|
|
19
|
+
/** @internal */
|
|
20
|
+
export type Annotation$Outbound = ResponsesAnnotationFileCitation$Outbound | ResponsesAnnotationURLCitation$Outbound | ResponsesAnnotationContainerFileCitation$Outbound | ResponsesAnnotationFilePath$Outbound;
|
|
21
|
+
/** @internal */
|
|
22
|
+
export declare const Annotation$outboundSchema: z.ZodType<Annotation$Outbound, Annotation>;
|
|
23
|
+
export declare function annotationToJSON(annotation: Annotation): string;
|
|
24
|
+
export declare function annotationFromJSON(jsonString: string): SafeParseResult<Annotation, SDKValidationError>;
|
|
25
|
+
/** @internal */
|
|
26
|
+
export declare const ResponsesOutputText$inboundSchema: z.ZodType<ResponsesOutputText, unknown>;
|
|
27
|
+
/** @internal */
|
|
28
|
+
export type ResponsesOutputText$Outbound = {
|
|
29
|
+
annotations: Array<ResponsesAnnotationFileCitation$Outbound | ResponsesAnnotationURLCitation$Outbound | ResponsesAnnotationContainerFileCitation$Outbound | ResponsesAnnotationFilePath$Outbound>;
|
|
30
|
+
text: string;
|
|
31
|
+
type: "output_text";
|
|
32
|
+
logprobs?: Array<ResponsesOutputTextLogprob$Outbound> | null | undefined;
|
|
33
|
+
[additionalProperties: string]: unknown;
|
|
34
|
+
};
|
|
35
|
+
/** @internal */
|
|
36
|
+
export declare const ResponsesOutputText$outboundSchema: z.ZodType<ResponsesOutputText$Outbound, ResponsesOutputText>;
|
|
37
|
+
export declare function responsesOutputTextToJSON(responsesOutputText: ResponsesOutputText): string;
|
|
38
|
+
export declare function responsesOutputTextFromJSON(jsonString: string): SafeParseResult<ResponsesOutputText, SDKValidationError>;
|
|
39
|
+
//# sourceMappingURL=responsesoutputtext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsesoutputtext.d.ts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EAAE,CAAC,CAAC,OAAO,CAC/C,mBAAmB,EACnB,UAAU,CAMV,CAAC;AAEH,wBAAgB,gBAAgB,CAAC,UAAU,EAAE,UAAU,GAAG,MAAM,CAE/D;AACD,wBAAgB,kBAAkB,CAChC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,UAAU,EAAE,kBAAkB,CAAC,CAMjD;AAED,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,mBAAmB,EACnB,OAAO,CAcW,CAAC;AACrB,gBAAgB;AAChB,MAAM,MAAM,4BAA4B,GAAG;IACzC,WAAW,EAAE,KAAK,CACd,wCAAwC,GACxC,uCAAuC,GACvC,iDAAiD,GACjD,oCAAoC,CACvC,CAAC;IACF,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,aAAa,CAAC;IACpB,QAAQ,CAAC,EAAE,KAAK,CAAC,mCAAmC,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;IACzE,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,4BAA4B,EAC5B,mBAAmB,CAcD,CAAC;AAErB,wBAAgB,yBAAyB,CACvC,mBAAmB,EAAE,mBAAmB,GACvC,MAAM,CAIR;AACD,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mBAAmB,EAAE,kBAAkB,CAAC,CAM1D"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4";
|
|
5
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
6
|
+
import { ResponsesAnnotationContainerFileCitation$inboundSchema, ResponsesAnnotationContainerFileCitation$outboundSchema, } from "./responsesannotationcontainerfilecitation.js";
|
|
7
|
+
import { ResponsesAnnotationFileCitation$inboundSchema, ResponsesAnnotationFileCitation$outboundSchema, } from "./responsesannotationfilecitation.js";
|
|
8
|
+
import { ResponsesAnnotationFilePath$inboundSchema, ResponsesAnnotationFilePath$outboundSchema, } from "./responsesannotationfilepath.js";
|
|
9
|
+
import { ResponsesAnnotationURLCitation$inboundSchema, ResponsesAnnotationURLCitation$outboundSchema, } from "./responsesannotationurlcitation.js";
|
|
10
|
+
import { ResponsesOutputTextLogprob$inboundSchema, ResponsesOutputTextLogprob$outboundSchema, } from "./responsesoutputtextlogprob.js";
|
|
11
|
+
/** @internal */
|
|
12
|
+
export const Annotation$inboundSchema = z.union([
|
|
13
|
+
ResponsesAnnotationFileCitation$inboundSchema,
|
|
14
|
+
ResponsesAnnotationURLCitation$inboundSchema,
|
|
15
|
+
ResponsesAnnotationContainerFileCitation$inboundSchema,
|
|
16
|
+
ResponsesAnnotationFilePath$inboundSchema,
|
|
17
|
+
]);
|
|
18
|
+
/** @internal */
|
|
19
|
+
export const Annotation$outboundSchema = z.union([
|
|
20
|
+
ResponsesAnnotationFileCitation$outboundSchema,
|
|
21
|
+
ResponsesAnnotationURLCitation$outboundSchema,
|
|
22
|
+
ResponsesAnnotationContainerFileCitation$outboundSchema,
|
|
23
|
+
ResponsesAnnotationFilePath$outboundSchema,
|
|
24
|
+
]);
|
|
25
|
+
export function annotationToJSON(annotation) {
|
|
26
|
+
return JSON.stringify(Annotation$outboundSchema.parse(annotation));
|
|
27
|
+
}
|
|
28
|
+
export function annotationFromJSON(jsonString) {
|
|
29
|
+
return safeParse(jsonString, (x) => Annotation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Annotation' from JSON`);
|
|
30
|
+
}
|
|
31
|
+
/** @internal */
|
|
32
|
+
export const ResponsesOutputText$inboundSchema = z.object({
|
|
33
|
+
annotations: z.array(z.union([
|
|
34
|
+
ResponsesAnnotationFileCitation$inboundSchema,
|
|
35
|
+
ResponsesAnnotationURLCitation$inboundSchema,
|
|
36
|
+
ResponsesAnnotationContainerFileCitation$inboundSchema,
|
|
37
|
+
ResponsesAnnotationFilePath$inboundSchema,
|
|
38
|
+
])),
|
|
39
|
+
text: z.string(),
|
|
40
|
+
type: z.literal("output_text"),
|
|
41
|
+
logprobs: z.nullable(z.array(ResponsesOutputTextLogprob$inboundSchema))
|
|
42
|
+
.optional(),
|
|
43
|
+
}).catchall(z.any());
|
|
44
|
+
/** @internal */
|
|
45
|
+
export const ResponsesOutputText$outboundSchema = z.object({
|
|
46
|
+
annotations: z.array(z.union([
|
|
47
|
+
ResponsesAnnotationFileCitation$outboundSchema,
|
|
48
|
+
ResponsesAnnotationURLCitation$outboundSchema,
|
|
49
|
+
ResponsesAnnotationContainerFileCitation$outboundSchema,
|
|
50
|
+
ResponsesAnnotationFilePath$outboundSchema,
|
|
51
|
+
])),
|
|
52
|
+
text: z.string(),
|
|
53
|
+
type: z.literal("output_text"),
|
|
54
|
+
logprobs: z.nullable(z.array(ResponsesOutputTextLogprob$outboundSchema))
|
|
55
|
+
.optional(),
|
|
56
|
+
}).catchall(z.any());
|
|
57
|
+
export function responsesOutputTextToJSON(responsesOutputText) {
|
|
58
|
+
return JSON.stringify(ResponsesOutputText$outboundSchema.parse(responsesOutputText));
|
|
59
|
+
}
|
|
60
|
+
export function responsesOutputTextFromJSON(jsonString) {
|
|
61
|
+
return safeParse(jsonString, (x) => ResponsesOutputText$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponsesOutputText' from JSON`);
|
|
62
|
+
}
|
|
63
|
+
//# sourceMappingURL=responsesoutputtext.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsesoutputtext.js","sourceRoot":"","sources":["../../../src/models/components/responsesoutputtext.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EAEL,sDA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KValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { ResponsesOutputTextLogprobTopLogprob, ResponsesOutputTextLogprobTopLogprob$Outbound } from "./responsesoutputtextlogprobtoplogprob.js";
|
|
5
|
+
export type ResponsesOutputTextLogprob = {
|
|
6
|
+
token: string;
|
|
7
|
+
bytes: Array<number>;
|
|
8
|
+
logprob: number;
|
|
9
|
+
topLogprobs: Array<ResponsesOutputTextLogprobTopLogprob>;
|
|
10
|
+
[additionalProperties: string]: unknown;
|
|
11
|
+
};
|
|
12
|
+
/** @internal */
|
|
13
|
+
export declare const ResponsesOutputTextLogprob$inboundSchema: z.ZodType<ResponsesOutputTextLogprob, unknown>;
|
|
14
|
+
/** @internal */
|
|
15
|
+
export type ResponsesOutputTextLogprob$Outbound = {
|
|
16
|
+
token: string;
|
|
17
|
+
bytes: Array<number>;
|
|
18
|
+
logprob: number;
|
|
19
|
+
top_logprobs: Array<ResponsesOutputTextLogprobTopLogprob$Outbound>;
|
|
20
|
+
[additionalProperties: string]: unknown;
|
|
21
|
+
};
|
|
22
|
+
/** @internal */
|
|
23
|
+
export declare const ResponsesOutputTextLogprob$outboundSchema: z.ZodType<ResponsesOutputTextLogprob$Outbound, ResponsesOutputTextLogprob>;
|
|
24
|
+
export declare function responsesOutputTextLogprobToJSON(responsesOutputTextLogprob: ResponsesOutputTextLogprob): string;
|
|
25
|
+
export declare function responsesOutputTextLogprobFromJSON(jsonString: string): SafeParseResult<ResponsesOutputTextLogprob, SDKValidationError>;
|
|
26
|
+
//# sourceMappingURL=responsesoutputtextlogprob.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsesoutputtextlogprob.d.ts","sourceRoot":"","sources":["../../../src/models/components/responsesoutputtextlogprob.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,oCAAoC,EAEpC,6CAA6C,EAE9C,MAAM,2CAA2C,CAAC;AAEnD,MAAM,MAAM,0BAA0B,GAAG;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,KAAK,CAAC,oCAAoC,CAAC,CAAC;IACzD,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,0BAA0B,EAC1B,OAAO,CAUP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,mCAAmC,GAAG;IAChD,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,KAAK,CAAC,6CAA6C,CAAC,CAAC;IACnE,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,OAAO,CAC/D,mCAAmC,EACnC,0BAA0B,CAY1B,CAAC;AAEH,wBAAgB,gCAAgC,CAC9C,0BAA0B,EAAE,0BAA0B,GACrD,MAAM,CAIR;AACD,wBAAgB,kCAAkC,CAChD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,0BAA0B,EAAE,kBAAkB,CAAC,CAMjE"}
|