@mistralai/mistralai 3.1.0 → 3.2.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/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 +9 -9
- 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/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,114 @@
|
|
|
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
|
+
export const ResponsesCustomToolAllowedCaller = {
|
|
8
|
+
Direct: "direct",
|
|
9
|
+
Programmatic: "programmatic",
|
|
10
|
+
};
|
|
11
|
+
export const Syntax = {
|
|
12
|
+
Lark: "lark",
|
|
13
|
+
Regex: "regex",
|
|
14
|
+
};
|
|
15
|
+
/** @internal */
|
|
16
|
+
export const ResponsesCustomToolAllowedCaller$inboundSchema = z.enum(ResponsesCustomToolAllowedCaller);
|
|
17
|
+
/** @internal */
|
|
18
|
+
export const ResponsesCustomToolAllowedCaller$outboundSchema = ResponsesCustomToolAllowedCaller$inboundSchema;
|
|
19
|
+
/** @internal */
|
|
20
|
+
export const Syntax$inboundSchema = z.enum(Syntax);
|
|
21
|
+
/** @internal */
|
|
22
|
+
export const Syntax$outboundSchema = Syntax$inboundSchema;
|
|
23
|
+
/** @internal */
|
|
24
|
+
export const ResponsesGrammar$inboundSchema = z.object({
|
|
25
|
+
definition: z.string(),
|
|
26
|
+
syntax: Syntax$inboundSchema,
|
|
27
|
+
type: z.literal("grammar"),
|
|
28
|
+
}).catchall(z.any());
|
|
29
|
+
/** @internal */
|
|
30
|
+
export const ResponsesGrammar$outboundSchema = z.object({
|
|
31
|
+
definition: z.string(),
|
|
32
|
+
syntax: Syntax$outboundSchema,
|
|
33
|
+
type: z.literal("grammar"),
|
|
34
|
+
}).catchall(z.any());
|
|
35
|
+
export function responsesGrammarToJSON(responsesGrammar) {
|
|
36
|
+
return JSON.stringify(ResponsesGrammar$outboundSchema.parse(responsesGrammar));
|
|
37
|
+
}
|
|
38
|
+
export function responsesGrammarFromJSON(jsonString) {
|
|
39
|
+
return safeParse(jsonString, (x) => ResponsesGrammar$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponsesGrammar' from JSON`);
|
|
40
|
+
}
|
|
41
|
+
/** @internal */
|
|
42
|
+
export const ResponsesText$inboundSchema = z
|
|
43
|
+
.object({
|
|
44
|
+
type: z.literal("text"),
|
|
45
|
+
}).catchall(z.any());
|
|
46
|
+
/** @internal */
|
|
47
|
+
export const ResponsesText$outboundSchema = z.object({
|
|
48
|
+
type: z.literal("text"),
|
|
49
|
+
}).catchall(z.any());
|
|
50
|
+
export function responsesTextToJSON(responsesText) {
|
|
51
|
+
return JSON.stringify(ResponsesText$outboundSchema.parse(responsesText));
|
|
52
|
+
}
|
|
53
|
+
export function responsesTextFromJSON(jsonString) {
|
|
54
|
+
return safeParse(jsonString, (x) => ResponsesText$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponsesText' from JSON`);
|
|
55
|
+
}
|
|
56
|
+
/** @internal */
|
|
57
|
+
export const ResponsesCustomToolFormat$inboundSchema = z.union([
|
|
58
|
+
z.lazy(() => ResponsesText$inboundSchema),
|
|
59
|
+
z.lazy(() => ResponsesGrammar$inboundSchema),
|
|
60
|
+
]);
|
|
61
|
+
/** @internal */
|
|
62
|
+
export const ResponsesCustomToolFormat$outboundSchema = z.union([
|
|
63
|
+
z.lazy(() => ResponsesText$outboundSchema),
|
|
64
|
+
z.lazy(() => ResponsesGrammar$outboundSchema),
|
|
65
|
+
]);
|
|
66
|
+
export function responsesCustomToolFormatToJSON(responsesCustomToolFormat) {
|
|
67
|
+
return JSON.stringify(ResponsesCustomToolFormat$outboundSchema.parse(responsesCustomToolFormat));
|
|
68
|
+
}
|
|
69
|
+
export function responsesCustomToolFormatFromJSON(jsonString) {
|
|
70
|
+
return safeParse(jsonString, (x) => ResponsesCustomToolFormat$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponsesCustomToolFormat' from JSON`);
|
|
71
|
+
}
|
|
72
|
+
/** @internal */
|
|
73
|
+
export const ResponsesCustomTool$inboundSchema = z.object({
|
|
74
|
+
name: z.string(),
|
|
75
|
+
type: z.literal("custom"),
|
|
76
|
+
allowed_callers: z.nullable(z.array(ResponsesCustomToolAllowedCaller$inboundSchema)).optional(),
|
|
77
|
+
defer_loading: z.nullable(z.boolean()).default(null),
|
|
78
|
+
description: z.nullable(z.string()).default(null),
|
|
79
|
+
format: z.nullable(z.union([
|
|
80
|
+
z.lazy(() => ResponsesText$inboundSchema),
|
|
81
|
+
z.lazy(() => ResponsesGrammar$inboundSchema),
|
|
82
|
+
])).optional(),
|
|
83
|
+
}).catchall(z.any()).transform((v) => {
|
|
84
|
+
return remap$(v, {
|
|
85
|
+
"allowed_callers": "allowedCallers",
|
|
86
|
+
"defer_loading": "deferLoading",
|
|
87
|
+
});
|
|
88
|
+
});
|
|
89
|
+
/** @internal */
|
|
90
|
+
export const ResponsesCustomTool$outboundSchema = z.object({
|
|
91
|
+
name: z.string(),
|
|
92
|
+
type: z.literal("custom"),
|
|
93
|
+
allowedCallers: z.nullable(z.array(ResponsesCustomToolAllowedCaller$outboundSchema)).optional(),
|
|
94
|
+
deferLoading: z.nullable(z.boolean()).default(null),
|
|
95
|
+
description: z.nullable(z.string()).default(null),
|
|
96
|
+
format: z.nullable(z.union([
|
|
97
|
+
z.lazy(() => ResponsesText$outboundSchema),
|
|
98
|
+
z.lazy(() => ResponsesGrammar$outboundSchema),
|
|
99
|
+
])).optional(),
|
|
100
|
+
}).catchall(z.any()).transform((v) => {
|
|
101
|
+
return {
|
|
102
|
+
...remap$(v, {
|
|
103
|
+
allowedCallers: "allowed_callers",
|
|
104
|
+
deferLoading: "defer_loading",
|
|
105
|
+
}),
|
|
106
|
+
};
|
|
107
|
+
});
|
|
108
|
+
export function responsesCustomToolToJSON(responsesCustomTool) {
|
|
109
|
+
return JSON.stringify(ResponsesCustomTool$outboundSchema.parse(responsesCustomTool));
|
|
110
|
+
}
|
|
111
|
+
export function responsesCustomToolFromJSON(jsonString) {
|
|
112
|
+
return safeParse(jsonString, (x) => ResponsesCustomTool$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponsesCustomTool' from JSON`);
|
|
113
|
+
}
|
|
114
|
+
//# sourceMappingURL=responsescustomtool.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsescustomtool.js","sourceRoot":"","sources":["../../../src/models/components/responsescustomtool.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;AAKjD,MAAM,CAAC,MAAM,gCAAgC,GAAG;IAC9C,MAAM,EAAE,QAAQ;IAChB,YAAY,EAAE,cAAc;CACpB,CAAC;AAKX,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;CACN,CAAC;AA2BX,gBAAgB;AAChB,MAAM,CAAC,MAAM,8CAA8C,GAEvD,CAAC,CAAC,IAAI,CAAC,gCAAgC,CAAC,CAAC;AAC7C,gBAAgB;AAChB,MAAM,CAAC,MAAM,+CAA+C,GAExD,8CAA8C,CAAC;AAEnD,gBAAgB;AAChB,MAAM,CAAC,MAAM,oBAAoB,GAA6B,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;AAC7E,gBAAgB;AAChB,MAAM,CAAC,MAAM,qBAAqB,GAChC,oBAAoB,CAAC;AAEvB,gBAAgB;AAChB,MAAM,CAAC,MAAM,8BAA8B,GAGvC,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,MAAM,EAAE,oBAAoB;IAC5B,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC;CAC3B,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC;AASrB,gBAAgB;AAChB,MAAM,CAAC,MAAM,+BAA+B,GAGxC,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CAAC,CAA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AC,GAAG,EAAE,CAAC,+BAA+B,CAAC;KAC9C,CAAC,CACH,CAAC,QAAQ,EAAE;CACb,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACpC,OAAO;QACL,GAAG,MAAM,CAAC,CAAC,EAAE;YACX,cAAc,EAAE,iBAAiB;YACjC,YAAY,EAAE,eAAe;SAC9B,CAAC;KACH,CAAC;AAAA,CACH,CAAC,CAAC;AAEH,MAAM,UAAU,yBAAyB,CACvC,mBAAwC,EAChC;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,kCAAkC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAC9D,CAAC;AAAA,CACH;AACD,MAAM,UAAU,2BAA2B,CACzC,UAAkB,EACwC;IAC1D,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,iCAAiC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC7D,iDAAiD,CAClD,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
import { ResponsesInputFile, ResponsesInputFile$Outbound } from "./responsesinputfile.js";
|
|
4
|
+
import { ResponsesInputImage, ResponsesInputImage$Outbound } from "./responsesinputimage.js";
|
|
5
|
+
import { ResponsesInputText, ResponsesInputText$Outbound } from "./responsesinputtext.js";
|
|
6
|
+
export type ResponsesEasyInputMessageContent1 = ResponsesInputText | ResponsesInputImage | ResponsesInputFile;
|
|
7
|
+
export type ResponsesEasyInputMessageContent2 = string | Array<ResponsesInputText | ResponsesInputImage | ResponsesInputFile>;
|
|
8
|
+
export declare const ResponsesEasyInputMessageRole: {
|
|
9
|
+
readonly User: "user";
|
|
10
|
+
readonly Assistant: "assistant";
|
|
11
|
+
readonly System: "system";
|
|
12
|
+
readonly Developer: "developer";
|
|
13
|
+
};
|
|
14
|
+
export type ResponsesEasyInputMessageRole = ClosedEnum<typeof ResponsesEasyInputMessageRole>;
|
|
15
|
+
export declare const ResponsesEasyInputMessagePhase: {
|
|
16
|
+
readonly Commentary: "commentary";
|
|
17
|
+
readonly FinalAnswer: "final_answer";
|
|
18
|
+
};
|
|
19
|
+
export type ResponsesEasyInputMessagePhase = ClosedEnum<typeof ResponsesEasyInputMessagePhase>;
|
|
20
|
+
export type ResponsesEasyInputMessage = {
|
|
21
|
+
content: string | Array<ResponsesInputText | ResponsesInputImage | ResponsesInputFile>;
|
|
22
|
+
role: ResponsesEasyInputMessageRole;
|
|
23
|
+
phase?: ResponsesEasyInputMessagePhase | null | undefined;
|
|
24
|
+
type?: "message" | null | undefined;
|
|
25
|
+
[additionalProperties: string]: unknown;
|
|
26
|
+
};
|
|
27
|
+
/** @internal */
|
|
28
|
+
export type ResponsesEasyInputMessageContent1$Outbound = ResponsesInputText$Outbound | ResponsesInputImage$Outbound | ResponsesInputFile$Outbound;
|
|
29
|
+
/** @internal */
|
|
30
|
+
export declare const ResponsesEasyInputMessageContent1$outboundSchema: z.ZodType<ResponsesEasyInputMessageContent1$Outbound, ResponsesEasyInputMessageContent1>;
|
|
31
|
+
export declare function responsesEasyInputMessageContent1ToJSON(responsesEasyInputMessageContent1: ResponsesEasyInputMessageContent1): string;
|
|
32
|
+
/** @internal */
|
|
33
|
+
export type ResponsesEasyInputMessageContent2$Outbound = string | Array<ResponsesInputText$Outbound | ResponsesInputImage$Outbound | ResponsesInputFile$Outbound>;
|
|
34
|
+
/** @internal */
|
|
35
|
+
export declare const ResponsesEasyInputMessageContent2$outboundSchema: z.ZodType<ResponsesEasyInputMessageContent2$Outbound, ResponsesEasyInputMessageContent2>;
|
|
36
|
+
export declare function responsesEasyInputMessageContent2ToJSON(responsesEasyInputMessageContent2: ResponsesEasyInputMessageContent2): string;
|
|
37
|
+
/** @internal */
|
|
38
|
+
export declare const ResponsesEasyInputMessageRole$outboundSchema: z.ZodEnum<typeof ResponsesEasyInputMessageRole>;
|
|
39
|
+
/** @internal */
|
|
40
|
+
export declare const ResponsesEasyInputMessagePhase$outboundSchema: z.ZodEnum<typeof ResponsesEasyInputMessagePhase>;
|
|
41
|
+
/** @internal */
|
|
42
|
+
export type ResponsesEasyInputMessage$Outbound = {
|
|
43
|
+
content: string | Array<ResponsesInputText$Outbound | ResponsesInputImage$Outbound | ResponsesInputFile$Outbound>;
|
|
44
|
+
role: string;
|
|
45
|
+
phase?: string | null | undefined;
|
|
46
|
+
type?: "message" | null | undefined;
|
|
47
|
+
[additionalProperties: string]: unknown;
|
|
48
|
+
};
|
|
49
|
+
/** @internal */
|
|
50
|
+
export declare const ResponsesEasyInputMessage$outboundSchema: z.ZodType<ResponsesEasyInputMessage$Outbound, ResponsesEasyInputMessage>;
|
|
51
|
+
export declare function responsesEasyInputMessageToJSON(responsesEasyInputMessage: ResponsesEasyInputMessage): string;
|
|
52
|
+
//# sourceMappingURL=responseseasyinputmessage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responseseasyinputmessage.d.ts","sourceRoot":"","sources":["../../../src/models/components/responseseasyinputmessage.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,OAAO,EACL,kBAAkB,EAClB,2BAA2B,EAE5B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,mBAAmB,EACnB,4BAA4B,EAE7B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,kBAAkB,EAClB,2BAA2B,EAE5B,MAAM,yBAAyB,CAAC;AAEjC,MAAM,MAAM,iCAAiC,GACzC,kBAAkB,GAClB,mBAAmB,GACnB,kBAAkB,CAAC;AAEvB,MAAM,MAAM,iCAAiC,GACzC,MAAM,GACN,KAAK,CAAC,kBAAkB,GAAG,mBAAmB,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ClE,OAAO,6BAA6B,CACG,CAAC;AAE1C,gBAAgB;AAChB,eAAO,MAAM,6CAA6C,EAAE,CAAC,CAAC,OAAO,CACnE,OAAO,8BAA8B,CACG,CAAC;AAE3C,gBAAgB;AAChB,MAAM,MAAM,kCAAkC,GAAG;IAC/C,OAAO,EACH,MAAM,GACN,KAAK,CACH,2BAA2B,GAC3B,4BAA4B,GAC5B,2BAA2B,CAC9B,CAAC;IACJ,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClC,IAAI,CAAC,EAAE,SAAS,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,kCAAkC,EAClC,yBAAyB,CAeP,CAAC;AAErB,wBAAgB,+BAA+B,CAC7C,yBAAyB,EAAE,yBAAyB,GACnD,MAAM,CAIR"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4";
|
|
5
|
+
import { smartUnion } from "../../types/smartUnion.js";
|
|
6
|
+
import { ResponsesInputFile$outboundSchema, } from "./responsesinputfile.js";
|
|
7
|
+
import { ResponsesInputImage$outboundSchema, } from "./responsesinputimage.js";
|
|
8
|
+
import { ResponsesInputText$outboundSchema, } from "./responsesinputtext.js";
|
|
9
|
+
export const ResponsesEasyInputMessageRole = {
|
|
10
|
+
User: "user",
|
|
11
|
+
Assistant: "assistant",
|
|
12
|
+
System: "system",
|
|
13
|
+
Developer: "developer",
|
|
14
|
+
};
|
|
15
|
+
export const ResponsesEasyInputMessagePhase = {
|
|
16
|
+
Commentary: "commentary",
|
|
17
|
+
FinalAnswer: "final_answer",
|
|
18
|
+
};
|
|
19
|
+
/** @internal */
|
|
20
|
+
export const ResponsesEasyInputMessageContent1$outboundSchema = z.union([
|
|
21
|
+
ResponsesInputText$outboundSchema,
|
|
22
|
+
ResponsesInputImage$outboundSchema,
|
|
23
|
+
ResponsesInputFile$outboundSchema,
|
|
24
|
+
]);
|
|
25
|
+
export function responsesEasyInputMessageContent1ToJSON(responsesEasyInputMessageContent1) {
|
|
26
|
+
return JSON.stringify(ResponsesEasyInputMessageContent1$outboundSchema.parse(responsesEasyInputMessageContent1));
|
|
27
|
+
}
|
|
28
|
+
/** @internal */
|
|
29
|
+
export const ResponsesEasyInputMessageContent2$outboundSchema = smartUnion([
|
|
30
|
+
z.string(),
|
|
31
|
+
z.array(z.union([
|
|
32
|
+
ResponsesInputText$outboundSchema,
|
|
33
|
+
ResponsesInputImage$outboundSchema,
|
|
34
|
+
ResponsesInputFile$outboundSchema,
|
|
35
|
+
])),
|
|
36
|
+
]);
|
|
37
|
+
export function responsesEasyInputMessageContent2ToJSON(responsesEasyInputMessageContent2) {
|
|
38
|
+
return JSON.stringify(ResponsesEasyInputMessageContent2$outboundSchema.parse(responsesEasyInputMessageContent2));
|
|
39
|
+
}
|
|
40
|
+
/** @internal */
|
|
41
|
+
export const ResponsesEasyInputMessageRole$outboundSchema = z.enum(ResponsesEasyInputMessageRole);
|
|
42
|
+
/** @internal */
|
|
43
|
+
export const ResponsesEasyInputMessagePhase$outboundSchema = z.enum(ResponsesEasyInputMessagePhase);
|
|
44
|
+
/** @internal */
|
|
45
|
+
export const ResponsesEasyInputMessage$outboundSchema = z.object({
|
|
46
|
+
content: smartUnion([
|
|
47
|
+
z.string(),
|
|
48
|
+
z.array(z.union([
|
|
49
|
+
ResponsesInputText$outboundSchema,
|
|
50
|
+
ResponsesInputImage$outboundSchema,
|
|
51
|
+
ResponsesInputFile$outboundSchema,
|
|
52
|
+
])),
|
|
53
|
+
]),
|
|
54
|
+
role: ResponsesEasyInputMessageRole$outboundSchema,
|
|
55
|
+
phase: z.nullable(ResponsesEasyInputMessagePhase$outboundSchema).optional(),
|
|
56
|
+
type: z.nullable(z.literal("message")).optional(),
|
|
57
|
+
}).catchall(z.any());
|
|
58
|
+
export function responsesEasyInputMessageToJSON(responsesEasyInputMessage) {
|
|
59
|
+
return JSON.stringify(ResponsesEasyInputMessage$outboundSchema.parse(responsesEasyInputMessage));
|
|
60
|
+
}
|
|
61
|
+
//# sourceMappingURL=responseseasyinputmessage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responseseasyinputmessage.js","sourceRoot":"","sources":["../../../src/models/components/responseseasyinputmessage.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAGL,iCAAiC,GAClC,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAGL,kCAAkC,GACnC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAGL,iCAAiC,GAClC,MAAM,yBAAyB,CAAC;AAWjC,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC3C,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;IAChB,SAAS,EAAE,WAAW;CACd,CAAC;AAKX,MAAM,CAAC,MAAM,8BAA8B,GAAG;IAC5C,UAAU,EAAE,YAAY;IACxB,WAAW,EAAE,cAAc;CACnB,CAAC;AAqBX,gBAAgB;AAChB,MAAM,CAAC,MAAM,gDAAgD,GAGzD,CAAC,CAAC,KAAK,CAAC;IACV,iCAAiC;IACjC,kCAAkC;IAClC,iCAAiC;CAClC,CAAC,CAAC;AAEH,MAAM,UAAU,uCAAuC,CACrD,iCAAoE,EAC5D;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,gDAAgD,CAAC,KAAK,CACpD,iCAAiC,CAClC,CACF,CAAC;AAAA,CACH;AAWD,gBAAgB;AAChB,MAAM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@@ -0,0 +1,15 @@
|
|
|
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 ResponsesErrorEvent = {
|
|
5
|
+
code: string | null;
|
|
6
|
+
message: string;
|
|
7
|
+
param: string | null;
|
|
8
|
+
sequenceNumber: number;
|
|
9
|
+
type: "error";
|
|
10
|
+
[additionalProperties: string]: unknown;
|
|
11
|
+
};
|
|
12
|
+
/** @internal */
|
|
13
|
+
export declare const ResponsesErrorEvent$inboundSchema: z.ZodType<ResponsesErrorEvent, unknown>;
|
|
14
|
+
export declare function responsesErrorEventFromJSON(jsonString: string): SafeParseResult<ResponsesErrorEvent, SDKValidationError>;
|
|
15
|
+
//# sourceMappingURL=responseserrorevent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responseserrorevent.d.ts","sourceRoot":"","sources":["../../../src/models/components/responseserrorevent.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;AAErE,MAAM,MAAM,mBAAmB,GAAG;IAChC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,IAAI,EAAE,OAAO,CAAC;IACd,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,mBAAmB,EACnB,OAAO,CAWP,CAAC;AAEH,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mBAAmB,EAAE,kBAAkB,CAAC,CAM1D"}
|
|
@@ -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 { remap as remap$ } from "../../lib/primitives.js";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
/** @internal */
|
|
8
|
+
export const ResponsesErrorEvent$inboundSchema = z.object({
|
|
9
|
+
code: z.nullable(z.string()).default(null),
|
|
10
|
+
message: z.string(),
|
|
11
|
+
param: z.nullable(z.string()).default(null),
|
|
12
|
+
sequence_number: z.int(),
|
|
13
|
+
type: z.literal("error"),
|
|
14
|
+
}).catchall(z.any()).transform((v) => {
|
|
15
|
+
return remap$(v, {
|
|
16
|
+
"sequence_number": "sequenceNumber",
|
|
17
|
+
});
|
|
18
|
+
});
|
|
19
|
+
export function responsesErrorEventFromJSON(jsonString) {
|
|
20
|
+
return safeParse(jsonString, (x) => ResponsesErrorEvent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponsesErrorEvent' from JSON`);
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=responseserrorevent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responseserrorevent.js","sourceRoot":"","sources":["../../../src/models/components/responseserrorevent.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;AAajD,gBAAgB;AAChB,MAAM,CAAC,MAAM,iCAAiC,GAG1C,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;IAC1C,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,KAAK,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;IAC3C,eAAe,EAAE,CAAC,CAAC,GAAG,EAAE;IACxB,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC;CACzB,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACpC,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,iBAAiB,EAAE,gBAAgB;KACpC,CAAC,CAAC;AAAA,CACJ,CAAC,CAAC;AAEH,MAAM,UAAU,2BAA2B,CACzC,UAAkB,EACwC;IAC1D,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,iCAAiC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC7D,iDAAiD,CAClD,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,14 @@
|
|
|
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 { CreateResponseResponse } from "./createresponseresponse.js";
|
|
5
|
+
export type ResponsesFailedEvent = {
|
|
6
|
+
response: CreateResponseResponse;
|
|
7
|
+
sequenceNumber: number;
|
|
8
|
+
type: "response.failed";
|
|
9
|
+
[additionalProperties: string]: unknown;
|
|
10
|
+
};
|
|
11
|
+
/** @internal */
|
|
12
|
+
export declare const ResponsesFailedEvent$inboundSchema: z.ZodType<ResponsesFailedEvent, unknown>;
|
|
13
|
+
export declare function responsesFailedEventFromJSON(jsonString: string): SafeParseResult<ResponsesFailedEvent, SDKValidationError>;
|
|
14
|
+
//# sourceMappingURL=responsesfailedevent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsesfailedevent.d.ts","sourceRoot":"","sources":["../../../src/models/components/responsesfailedevent.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,sBAAsB,EAEvB,MAAM,6BAA6B,CAAC;AAErC,MAAM,MAAM,oBAAoB,GAAG;IACjC,QAAQ,EAAE,sBAAsB,CAAC;IACjC,cAAc,EAAE,MAAM,CAAC;IACvB,IAAI,EAAE,iBAAiB,CAAC;IACxB,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,oBAAoB,EACpB,OAAO,CASP,CAAC;AAEH,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,oBAAoB,EAAE,kBAAkB,CAAC,CAM3D"}
|
|
@@ -0,0 +1,21 @@
|
|
|
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 { CreateResponseResponse$inboundSchema, } from "./createresponseresponse.js";
|
|
8
|
+
/** @internal */
|
|
9
|
+
export const ResponsesFailedEvent$inboundSchema = z.object({
|
|
10
|
+
response: CreateResponseResponse$inboundSchema,
|
|
11
|
+
sequence_number: z.int(),
|
|
12
|
+
type: z.literal("response.failed"),
|
|
13
|
+
}).catchall(z.any()).transform((v) => {
|
|
14
|
+
return remap$(v, {
|
|
15
|
+
"sequence_number": "sequenceNumber",
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
export function responsesFailedEventFromJSON(jsonString) {
|
|
19
|
+
return safeParse(jsonString, (x) => ResponsesFailedEvent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponsesFailedEvent' from JSON`);
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=responsesfailedevent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsesfailedevent.js","sourceRoot":"","sources":["../../../src/models/components/responsesfailedevent.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,oCAAoC,GACrC,MAAM,6BAA6B,CAAC;AASrC,gBAAgB;AAChB,MAAM,CAAC,MAAM,kCAAkC,GAG3C,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,oCAAoC;IAC9C,eAAe,EAAE,CAAC,CAAC,GAAG,EAAE;IACxB,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,iBAAiB,CAAC;CACnC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACpC,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,iBAAiB,EAAE,gBAAgB;KACpC,CAAC,CAAC;AAAA,CACJ,CAAC,CAAC;AAEH,MAAM,UAAU,4BAA4B,CAC1C,UAAkB,EACyC;IAC3D,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,kCAAkC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9D,kDAAkD,CACnD,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,15 @@
|
|
|
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 ResponsesFunctionCallArgumentsDeltaEvent = {
|
|
5
|
+
delta: string;
|
|
6
|
+
itemId: string;
|
|
7
|
+
outputIndex: number;
|
|
8
|
+
sequenceNumber: number;
|
|
9
|
+
type: "response.function_call_arguments.delta";
|
|
10
|
+
[additionalProperties: string]: unknown;
|
|
11
|
+
};
|
|
12
|
+
/** @internal */
|
|
13
|
+
export declare const ResponsesFunctionCallArgumentsDeltaEvent$inboundSchema: z.ZodType<ResponsesFunctionCallArgumentsDeltaEvent, unknown>;
|
|
14
|
+
export declare function responsesFunctionCallArgumentsDeltaEventFromJSON(jsonString: string): SafeParseResult<ResponsesFunctionCallArgumentsDeltaEvent, SDKValidationError>;
|
|
15
|
+
//# sourceMappingURL=responsesfunctioncallargumentsdeltaevent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsesfunctioncallargumentsdeltaevent.d.ts","sourceRoot":"","sources":["../../../src/models/components/responsesfunctioncallargumentsdeltaevent.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;AAErE,MAAM,MAAM,wCAAwC,GAAG;IACrD,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IACvB,IAAI,EAAE,wCAAwC,CAAC;IAC/C,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sDAAsD,EAAE,CAAC,CAAC,OAAO,CAC5E,wCAAwC,EACxC,OAAO,CAaP,CAAC;AAEH,wBAAgB,gDAAgD,CAC9D,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,wCAAwC,EACxC,kBAAkB,CACnB,CASA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
/** @internal */
|
|
8
|
+
export const ResponsesFunctionCallArgumentsDeltaEvent$inboundSchema = z.object({
|
|
9
|
+
delta: z.string(),
|
|
10
|
+
item_id: z.string(),
|
|
11
|
+
output_index: z.int(),
|
|
12
|
+
sequence_number: z.int(),
|
|
13
|
+
type: z.literal("response.function_call_arguments.delta"),
|
|
14
|
+
}).catchall(z.any()).transform((v) => {
|
|
15
|
+
return remap$(v, {
|
|
16
|
+
"item_id": "itemId",
|
|
17
|
+
"output_index": "outputIndex",
|
|
18
|
+
"sequence_number": "sequenceNumber",
|
|
19
|
+
});
|
|
20
|
+
});
|
|
21
|
+
export function responsesFunctionCallArgumentsDeltaEventFromJSON(jsonString) {
|
|
22
|
+
return safeParse(jsonString, (x) => ResponsesFunctionCallArgumentsDeltaEvent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponsesFunctionCallArgumentsDeltaEvent' from JSON`);
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=responsesfunctioncallargumentsdeltaevent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsesfunctioncallargumentsdeltaevent.js","sourceRoot":"","sources":["../../../src/models/components/responsesfunctioncallargumentsdeltaevent.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;AAajD,gBAAgB;AAChB,MAAM,CAAC,MAAM,sDAAsD,GAG/D,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,YAAY,EAAE,CAAC,CAAC,GAAG,EAAE;IACrB,eAAe,EAAE,CAAC,CAAC,GAAG,EAAE;IACxB,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,wCAAwC,CAAC;CAC1D,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACpC,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,SAAS,EAAE,QAAQ;QACnB,cAAc,EAAE,aAAa;QAC7B,iBAAiB,EAAE,gBAAgB;KACpC,CAAC,CAAC;AAAA,CACJ,CAAC,CAAC;AAEH,MAAM,UAAU,gDAAgD,CAC9D,UAAkB,EAIlB;IACA,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,sDAAsD,CAAC,KAAK,CAC1D,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,EACH,sEAAsE,CACvE,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,16 @@
|
|
|
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 ResponsesFunctionCallArgumentsDoneEvent = {
|
|
5
|
+
arguments: string;
|
|
6
|
+
itemId: string;
|
|
7
|
+
name: string;
|
|
8
|
+
outputIndex: number;
|
|
9
|
+
sequenceNumber: number;
|
|
10
|
+
type: "response.function_call_arguments.done";
|
|
11
|
+
[additionalProperties: string]: unknown;
|
|
12
|
+
};
|
|
13
|
+
/** @internal */
|
|
14
|
+
export declare const ResponsesFunctionCallArgumentsDoneEvent$inboundSchema: z.ZodType<ResponsesFunctionCallArgumentsDoneEvent, unknown>;
|
|
15
|
+
export declare function responsesFunctionCallArgumentsDoneEventFromJSON(jsonString: string): SafeParseResult<ResponsesFunctionCallArgumentsDoneEvent, SDKValidationError>;
|
|
16
|
+
//# sourceMappingURL=responsesfunctioncallargumentsdoneevent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsesfunctioncallargumentsdoneevent.d.ts","sourceRoot":"","sources":["../../../src/models/components/responsesfunctioncallargumentsdoneevent.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;AAErE,MAAM,MAAM,uCAAuC,GAAG;IACpD,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IACvB,IAAI,EAAE,uCAAuC,CAAC;IAC9C,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qDAAqD,EAAE,CAAC,CAAC,OAAO,CAC3E,uCAAuC,EACvC,OAAO,CAcP,CAAC;AAEH,wBAAgB,+CAA+C,CAC7D,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,uCAAuC,EACvC,kBAAkB,CACnB,CASA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
/** @internal */
|
|
8
|
+
export const ResponsesFunctionCallArgumentsDoneEvent$inboundSchema = z.object({
|
|
9
|
+
arguments: z.string(),
|
|
10
|
+
item_id: z.string(),
|
|
11
|
+
name: z.string(),
|
|
12
|
+
output_index: z.int(),
|
|
13
|
+
sequence_number: z.int(),
|
|
14
|
+
type: z.literal("response.function_call_arguments.done"),
|
|
15
|
+
}).catchall(z.any()).transform((v) => {
|
|
16
|
+
return remap$(v, {
|
|
17
|
+
"item_id": "itemId",
|
|
18
|
+
"output_index": "outputIndex",
|
|
19
|
+
"sequence_number": "sequenceNumber",
|
|
20
|
+
});
|
|
21
|
+
});
|
|
22
|
+
export function responsesFunctionCallArgumentsDoneEventFromJSON(jsonString) {
|
|
23
|
+
return safeParse(jsonString, (x) => ResponsesFunctionCallArgumentsDoneEvent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponsesFunctionCallArgumentsDoneEvent' from JSON`);
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=responsesfunctioncallargumentsdoneevent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsesfunctioncallargumentsdoneevent.js","sourceRoot":"","sources":["../../../src/models/components/responsesfunctioncallargumentsdoneevent.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;AAcjD,gBAAgB;AAChB,MAAM,CAAC,MAAM,qDAAqD,GAG9D,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,YAAY,EAAE,CAAC,CAAC,GAAG,EAAE;IACrB,eAAe,EAAE,CAAC,CAAC,GAAG,EAAE;IACxB,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,uCAAuC,CAAC;CACzD,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACpC,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,SAAS,EAAE,QAAQ;QACnB,cAAc,EAAE,aAAa;QAC7B,iBAAiB,EAAE,gBAAgB;KACpC,CAAC,CAAC;AAAA,CACJ,CAAC,CAAC;AAEH,MAAM,UAAU,+CAA+C,CAC7D,UAAkB,EAIlB;IACA,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,qDAAqD,CAAC,KAAK,CACzD,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,EACH,qEAAqE,CACtE,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
import { ResponsesFunctionCallOutputCallerDirect, ResponsesFunctionCallOutputCallerDirect$Outbound } from "./responsesfunctioncalloutputcallerdirect.js";
|
|
4
|
+
import { ResponsesFunctionCallOutputCallerProgram, ResponsesFunctionCallOutputCallerProgram$Outbound } from "./responsesfunctioncalloutputcallerprogram.js";
|
|
5
|
+
import { ResponsesInputFileContent, ResponsesInputFileContent$Outbound } from "./responsesinputfilecontent.js";
|
|
6
|
+
import { ResponsesInputImageContent, ResponsesInputImageContent$Outbound } from "./responsesinputimagecontent.js";
|
|
7
|
+
import { ResponsesInputTextContent, ResponsesInputTextContent$Outbound } from "./responsesinputtextcontent.js";
|
|
8
|
+
export type ResponsesFunctionCallOutputOutput1 = ResponsesInputTextContent | ResponsesInputImageContent | ResponsesInputFileContent;
|
|
9
|
+
export type ResponsesFunctionCallOutputOutput2 = string | Array<ResponsesInputTextContent | ResponsesInputImageContent | ResponsesInputFileContent>;
|
|
10
|
+
export type ResponsesFunctionCallOutputCaller = ResponsesFunctionCallOutputCallerDirect | ResponsesFunctionCallOutputCallerProgram;
|
|
11
|
+
export declare const ResponsesFunctionCallOutputStatus: {
|
|
12
|
+
readonly InProgress: "in_progress";
|
|
13
|
+
readonly Completed: "completed";
|
|
14
|
+
readonly Incomplete: "incomplete";
|
|
15
|
+
};
|
|
16
|
+
export type ResponsesFunctionCallOutputStatus = ClosedEnum<typeof ResponsesFunctionCallOutputStatus>;
|
|
17
|
+
export type ResponsesFunctionCallOutput = {
|
|
18
|
+
callId: string;
|
|
19
|
+
output: string | Array<ResponsesInputTextContent | ResponsesInputImageContent | ResponsesInputFileContent>;
|
|
20
|
+
type: "function_call_output";
|
|
21
|
+
id?: string | null | undefined;
|
|
22
|
+
caller?: ResponsesFunctionCallOutputCallerDirect | ResponsesFunctionCallOutputCallerProgram | null | undefined;
|
|
23
|
+
status?: ResponsesFunctionCallOutputStatus | null | undefined;
|
|
24
|
+
[additionalProperties: string]: unknown;
|
|
25
|
+
};
|
|
26
|
+
/** @internal */
|
|
27
|
+
export type ResponsesFunctionCallOutputOutput1$Outbound = ResponsesInputTextContent$Outbound | ResponsesInputImageContent$Outbound | ResponsesInputFileContent$Outbound;
|
|
28
|
+
/** @internal */
|
|
29
|
+
export declare const ResponsesFunctionCallOutputOutput1$outboundSchema: z.ZodType<ResponsesFunctionCallOutputOutput1$Outbound, ResponsesFunctionCallOutputOutput1>;
|
|
30
|
+
export declare function responsesFunctionCallOutputOutput1ToJSON(responsesFunctionCallOutputOutput1: ResponsesFunctionCallOutputOutput1): string;
|
|
31
|
+
/** @internal */
|
|
32
|
+
export type ResponsesFunctionCallOutputOutput2$Outbound = string | Array<ResponsesInputTextContent$Outbound | ResponsesInputImageContent$Outbound | ResponsesInputFileContent$Outbound>;
|
|
33
|
+
/** @internal */
|
|
34
|
+
export declare const ResponsesFunctionCallOutputOutput2$outboundSchema: z.ZodType<ResponsesFunctionCallOutputOutput2$Outbound, ResponsesFunctionCallOutputOutput2>;
|
|
35
|
+
export declare function responsesFunctionCallOutputOutput2ToJSON(responsesFunctionCallOutputOutput2: ResponsesFunctionCallOutputOutput2): string;
|
|
36
|
+
/** @internal */
|
|
37
|
+
export type ResponsesFunctionCallOutputCaller$Outbound = ResponsesFunctionCallOutputCallerDirect$Outbound | ResponsesFunctionCallOutputCallerProgram$Outbound;
|
|
38
|
+
/** @internal */
|
|
39
|
+
export declare const ResponsesFunctionCallOutputCaller$outboundSchema: z.ZodType<ResponsesFunctionCallOutputCaller$Outbound, ResponsesFunctionCallOutputCaller>;
|
|
40
|
+
export declare function responsesFunctionCallOutputCallerToJSON(responsesFunctionCallOutputCaller: ResponsesFunctionCallOutputCaller): string;
|
|
41
|
+
/** @internal */
|
|
42
|
+
export declare const ResponsesFunctionCallOutputStatus$outboundSchema: z.ZodEnum<typeof ResponsesFunctionCallOutputStatus>;
|
|
43
|
+
/** @internal */
|
|
44
|
+
export type ResponsesFunctionCallOutput$Outbound = {
|
|
45
|
+
call_id: string;
|
|
46
|
+
output: string | Array<ResponsesInputTextContent$Outbound | ResponsesInputImageContent$Outbound | ResponsesInputFileContent$Outbound>;
|
|
47
|
+
type: "function_call_output";
|
|
48
|
+
id?: string | null | undefined;
|
|
49
|
+
caller?: ResponsesFunctionCallOutputCallerDirect$Outbound | ResponsesFunctionCallOutputCallerProgram$Outbound | null | undefined;
|
|
50
|
+
status?: string | null | undefined;
|
|
51
|
+
[additionalProperties: string]: unknown;
|
|
52
|
+
};
|
|
53
|
+
/** @internal */
|
|
54
|
+
export declare const ResponsesFunctionCallOutput$outboundSchema: z.ZodType<ResponsesFunctionCallOutput$Outbound, ResponsesFunctionCallOutput>;
|
|
55
|
+
export declare function responsesFunctionCallOutputToJSON(responsesFunctionCallOutput: ResponsesFunctionCallOutput): string;
|
|
56
|
+
//# sourceMappingURL=responsesfunctioncalloutput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsesfunctioncalloutput.d.ts","sourceRoot":"","sources":["../../../src/models/components/responsesfunctioncalloutput.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,OAAO,EACL,uCAAuC,EACvC,gDAAgD,EAEjD,MAAM,8CAA8C,CAAC;AACtD,OAAO,EACL,wCAAwC,EACxC,iDAAiD,EAElD,MAAM,+CAA+C,CAAC;AACvD,OAAO,EACL,yBAAyB,EACzB,kCAAkC,EAEnC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,0BAA0B,EAC1B,mCAAmC,EAEpC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,yBAAyB,EACzB,kCAAkC,EAEnC,MAAM,gCAAgC,CAAC;AAExC,MAAM,MAAM,kCAAkC,GAC1C,yBAAyB,GACzB,0BAA0B,GAC1B,yBAAyB,CAAC;AAE9B,MAAM,MAAM,kCAAkC,GAC1C,MAAM,GACN,KAAK,CACH,yBAAyB,GACzB,0BAA0B,GAC1B,yBAAyB,CAC5B,CAAC;AAEJ,MAAM,MAAM,iCAAiC,GACzC,uCAAuC,GACvC,wCAAwC,CAAC;AAE7C,eAAO,MAAM,iCAAiC;;;;CAIpC,CAAC;AACX,MAAM,MAAM,iCAAiC,GAAG,UAAU,CACxD,OAAO,iCAAiC,CACzC,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG;IACxC,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EACF,MAAM,GACN,KAAK,CACH,yBAAyB,GACzB,0BAA0B,GAC1B,yBAAyB,CAC5B,CAAC;IACJ,IAAI,EAAE,sBAAsB,CAAC;IAC7B,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC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AAkC,GAClC,mCAAmC,GACnC,kCAAkC,CACrC,CAAC;IACJ,IAAI,EAAE,sBAAsB,CAAC;IAC7B,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC/B,MAAM,CAAC,EACH,gDAAgD,GAChD,iDAAiD,GACjD,IAAI,GACJ,SAAS,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACnC,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,OAAO,CAChE,oCAAoC,EACpC,2BAA2B,CA6B3B,CAAC;AAEH,wBAAgB,iCAAiC,CAC/C,2BAA2B,EAAE,2BAA2B,GACvD,MAAM,CAMR"}
|
|
@@ -0,0 +1,77 @@
|
|
|
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 { smartUnion } from "../../types/smartUnion.js";
|
|
7
|
+
import { ResponsesFunctionCallOutputCallerDirect$outboundSchema, } from "./responsesfunctioncalloutputcallerdirect.js";
|
|
8
|
+
import { ResponsesFunctionCallOutputCallerProgram$outboundSchema, } from "./responsesfunctioncalloutputcallerprogram.js";
|
|
9
|
+
import { ResponsesInputFileContent$outboundSchema, } from "./responsesinputfilecontent.js";
|
|
10
|
+
import { ResponsesInputImageContent$outboundSchema, } from "./responsesinputimagecontent.js";
|
|
11
|
+
import { ResponsesInputTextContent$outboundSchema, } from "./responsesinputtextcontent.js";
|
|
12
|
+
export const ResponsesFunctionCallOutputStatus = {
|
|
13
|
+
InProgress: "in_progress",
|
|
14
|
+
Completed: "completed",
|
|
15
|
+
Incomplete: "incomplete",
|
|
16
|
+
};
|
|
17
|
+
/** @internal */
|
|
18
|
+
export const ResponsesFunctionCallOutputOutput1$outboundSchema = z.union([
|
|
19
|
+
ResponsesInputTextContent$outboundSchema,
|
|
20
|
+
ResponsesInputImageContent$outboundSchema,
|
|
21
|
+
ResponsesInputFileContent$outboundSchema,
|
|
22
|
+
]);
|
|
23
|
+
export function responsesFunctionCallOutputOutput1ToJSON(responsesFunctionCallOutputOutput1) {
|
|
24
|
+
return JSON.stringify(ResponsesFunctionCallOutputOutput1$outboundSchema.parse(responsesFunctionCallOutputOutput1));
|
|
25
|
+
}
|
|
26
|
+
/** @internal */
|
|
27
|
+
export const ResponsesFunctionCallOutputOutput2$outboundSchema = smartUnion([
|
|
28
|
+
z.string(),
|
|
29
|
+
z.array(z.union([
|
|
30
|
+
ResponsesInputTextContent$outboundSchema,
|
|
31
|
+
ResponsesInputImageContent$outboundSchema,
|
|
32
|
+
ResponsesInputFileContent$outboundSchema,
|
|
33
|
+
])),
|
|
34
|
+
]);
|
|
35
|
+
export function responsesFunctionCallOutputOutput2ToJSON(responsesFunctionCallOutputOutput2) {
|
|
36
|
+
return JSON.stringify(ResponsesFunctionCallOutputOutput2$outboundSchema.parse(responsesFunctionCallOutputOutput2));
|
|
37
|
+
}
|
|
38
|
+
/** @internal */
|
|
39
|
+
export const ResponsesFunctionCallOutputCaller$outboundSchema = z.union([
|
|
40
|
+
ResponsesFunctionCallOutputCallerDirect$outboundSchema,
|
|
41
|
+
ResponsesFunctionCallOutputCallerProgram$outboundSchema,
|
|
42
|
+
]);
|
|
43
|
+
export function responsesFunctionCallOutputCallerToJSON(responsesFunctionCallOutputCaller) {
|
|
44
|
+
return JSON.stringify(ResponsesFunctionCallOutputCaller$outboundSchema.parse(responsesFunctionCallOutputCaller));
|
|
45
|
+
}
|
|
46
|
+
/** @internal */
|
|
47
|
+
export const ResponsesFunctionCallOutputStatus$outboundSchema = z.enum(ResponsesFunctionCallOutputStatus);
|
|
48
|
+
/** @internal */
|
|
49
|
+
export const ResponsesFunctionCallOutput$outboundSchema = z.object({
|
|
50
|
+
callId: z.string(),
|
|
51
|
+
output: smartUnion([
|
|
52
|
+
z.string(),
|
|
53
|
+
z.array(z.union([
|
|
54
|
+
ResponsesInputTextContent$outboundSchema,
|
|
55
|
+
ResponsesInputImageContent$outboundSchema,
|
|
56
|
+
ResponsesInputFileContent$outboundSchema,
|
|
57
|
+
])),
|
|
58
|
+
]),
|
|
59
|
+
type: z.literal("function_call_output"),
|
|
60
|
+
id: z.nullable(z.string()).optional(),
|
|
61
|
+
caller: z.nullable(z.union([
|
|
62
|
+
ResponsesFunctionCallOutputCallerDirect$outboundSchema,
|
|
63
|
+
ResponsesFunctionCallOutputCallerProgram$outboundSchema,
|
|
64
|
+
])).optional(),
|
|
65
|
+
status: z.nullable(ResponsesFunctionCallOutputStatus$outboundSchema)
|
|
66
|
+
.optional(),
|
|
67
|
+
}).catchall(z.any()).transform((v) => {
|
|
68
|
+
return {
|
|
69
|
+
...remap$(v, {
|
|
70
|
+
callId: "call_id",
|
|
71
|
+
}),
|
|
72
|
+
};
|
|
73
|
+
});
|
|
74
|
+
export function responsesFunctionCallOutputToJSON(responsesFunctionCallOutput) {
|
|
75
|
+
return JSON.stringify(ResponsesFunctionCallOutput$outboundSchema.parse(responsesFunctionCallOutput));
|
|
76
|
+
}
|
|
77
|
+
//# sourceMappingURL=responsesfunctioncalloutput.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsesfunctioncalloutput.js","sourceRoot":"","sources":["../../../src/models/components/responsesfunctioncalloutput.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAGL,sDAAsD,GACvD,MAAM,8CAA8C,CAAC;AACtD,OAAO,EAGL,uDAAuD,GACxD,MAAM,+CAA+C,C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|
4
|
+
[additionalProperties: string]: unknown;
|
|
5
|
+
};
|
|
6
|
+
/** @internal */
|
|
7
|
+
export type ResponsesFunctionCallOutputCallerDirect$Outbound = {
|
|
8
|
+
type: "direct";
|
|
9
|
+
[additionalProperties: string]: unknown;
|
|
10
|
+
};
|
|
11
|
+
/** @internal */
|
|
12
|
+
export declare const ResponsesFunctionCallOutputCallerDirect$outboundSchema: z.ZodType<ResponsesFunctionCallOutputCallerDirect$Outbound, ResponsesFunctionCallOutputCallerDirect>;
|
|
13
|
+
export declare function responsesFunctionCallOutputCallerDirectToJSON(responsesFunctionCallOutputCallerDirect: ResponsesFunctionCallOutputCallerDirect): string;
|
|
14
|
+
//# sourceMappingURL=responsesfunctioncalloutputcallerdirect.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsesfunctioncalloutputcallerdirect.d.ts","sourceRoot":"","sources":["../../../src/models/components/responsesfunctioncalloutputcallerdirect.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,MAAM,MAAM,uCAAuC,GAAG;IACpD,IAAI,EAAE,QAAQ,CAAC;IACf,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,gDAAgD,GAAG;IAC7D,IAAI,EAAE,QAAQ,CAAC;IACf,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sDAAsD,EAAE,CAAC,CAAC,OAAO,CAC5E,gDAAgD,EAChD,uCAAuC,CAGrB,CAAC;AAErB,wBAAgB,6CAA6C,CAC3D,uCAAuC,EACrC,uCAAuC,GACxC,MAAM,CAMR"}
|