@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,12 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4";
|
|
5
|
+
/** @internal */
|
|
6
|
+
export const ResponsesFunctionCallOutputCallerDirect$outboundSchema = z.object({
|
|
7
|
+
type: z.literal("direct"),
|
|
8
|
+
}).catchall(z.any());
|
|
9
|
+
export function responsesFunctionCallOutputCallerDirectToJSON(responsesFunctionCallOutputCallerDirect) {
|
|
10
|
+
return JSON.stringify(ResponsesFunctionCallOutputCallerDirect$outboundSchema.parse(responsesFunctionCallOutputCallerDirect));
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=responsesfunctioncalloutputcallerdirect.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsesfunctioncalloutputcallerdirect.js","sourceRoot":"","sources":["../../../src/models/components/responsesfunctioncalloutputcallerdirect.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAa5B,gBAAgB;AAChB,MAAM,CAAC,MAAM,sDAAsD,GAG/D,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC;CAC1B,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC;AAErB,MAAM,UAAU,6CAA6C,CAC3D,uCACyC,EACjC;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,sDAAsD,CAAC,KAAK,CAC1D,uCAAuC,CACxC,CACF,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
export type ResponsesFunctionCallOutputCallerProgram = {
|
|
3
|
+
callerId: string;
|
|
4
|
+
type: "program";
|
|
5
|
+
[additionalProperties: string]: unknown;
|
|
6
|
+
};
|
|
7
|
+
/** @internal */
|
|
8
|
+
export type ResponsesFunctionCallOutputCallerProgram$Outbound = {
|
|
9
|
+
caller_id: string;
|
|
10
|
+
type: "program";
|
|
11
|
+
[additionalProperties: string]: unknown;
|
|
12
|
+
};
|
|
13
|
+
/** @internal */
|
|
14
|
+
export declare const ResponsesFunctionCallOutputCallerProgram$outboundSchema: z.ZodType<ResponsesFunctionCallOutputCallerProgram$Outbound, ResponsesFunctionCallOutputCallerProgram>;
|
|
15
|
+
export declare function responsesFunctionCallOutputCallerProgramToJSON(responsesFunctionCallOutputCallerProgram: ResponsesFunctionCallOutputCallerProgram): string;
|
|
16
|
+
//# sourceMappingURL=responsesfunctioncalloutputcallerprogram.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsesfunctioncalloutputcallerprogram.d.ts","sourceRoot":"","sources":["../../../src/models/components/responsesfunctioncalloutputcallerprogram.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,MAAM,MAAM,wCAAwC,GAAG;IACrD,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,SAAS,CAAC;IAChB,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,iDAAiD,GAAG;IAC9D,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,SAAS,CAAC;IAChB,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uDAAuD,EAAE,CAAC,CAAC,OAAO,CAC7E,iDAAiD,EACjD,wCAAwC,CAUxC,CAAC;AAEH,wBAAgB,8CAA8C,CAC5D,wCAAwC,EACtC,wCAAwC,GACzC,MAAM,CAMR"}
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
/** @internal */
|
|
7
|
+
export const ResponsesFunctionCallOutputCallerProgram$outboundSchema = z.object({
|
|
8
|
+
callerId: z.string(),
|
|
9
|
+
type: z.literal("program"),
|
|
10
|
+
}).catchall(z.any()).transform((v) => {
|
|
11
|
+
return {
|
|
12
|
+
...remap$(v, {
|
|
13
|
+
callerId: "caller_id",
|
|
14
|
+
}),
|
|
15
|
+
};
|
|
16
|
+
});
|
|
17
|
+
export function responsesFunctionCallOutputCallerProgramToJSON(responsesFunctionCallOutputCallerProgram) {
|
|
18
|
+
return JSON.stringify(ResponsesFunctionCallOutputCallerProgram$outboundSchema.parse(responsesFunctionCallOutputCallerProgram));
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=responsesfunctioncalloutputcallerprogram.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsesfunctioncalloutputcallerprogram.js","sourceRoot":"","sources":["../../../src/models/components/responsesfunctioncalloutputcallerprogram.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAe1D,gBAAgB;AAChB,MAAM,CAAC,MAAM,uDAAuD,GAGhE,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC;CAC3B,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,QAAQ,EAAE,WAAW;SACtB,CAAC;KACH,CAAC;AAAA,CACH,CAAC,CAAC;AAEH,MAAM,UAAU,8CAA8C,CAC5D,wCAC0C,EAClC;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,uDAAuD,CAAC,KAAK,CAC3D,wCAAwC,CACzC,CACF,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,51 @@
|
|
|
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
|
+
export declare const ResponsesFunctionToolAllowedCaller: {
|
|
6
|
+
readonly Direct: "direct";
|
|
7
|
+
readonly Programmatic: "programmatic";
|
|
8
|
+
};
|
|
9
|
+
export type ResponsesFunctionToolAllowedCaller = ClosedEnum<typeof ResponsesFunctionToolAllowedCaller>;
|
|
10
|
+
export type ResponsesFunctionTool = {
|
|
11
|
+
name: string;
|
|
12
|
+
parameters?: {
|
|
13
|
+
[k: string]: any;
|
|
14
|
+
} | null | undefined;
|
|
15
|
+
strict?: boolean | null | undefined;
|
|
16
|
+
type: "function";
|
|
17
|
+
allowedCallers?: Array<ResponsesFunctionToolAllowedCaller> | null | undefined;
|
|
18
|
+
deferLoading?: boolean | null | undefined;
|
|
19
|
+
description?: string | null | undefined;
|
|
20
|
+
outputSchema?: {
|
|
21
|
+
[k: string]: any;
|
|
22
|
+
} | null | undefined;
|
|
23
|
+
[additionalProperties: string]: unknown;
|
|
24
|
+
};
|
|
25
|
+
/** @internal */
|
|
26
|
+
export declare const ResponsesFunctionToolAllowedCaller$inboundSchema: z.ZodEnum<typeof ResponsesFunctionToolAllowedCaller>;
|
|
27
|
+
/** @internal */
|
|
28
|
+
export declare const ResponsesFunctionToolAllowedCaller$outboundSchema: z.ZodEnum<typeof ResponsesFunctionToolAllowedCaller>;
|
|
29
|
+
/** @internal */
|
|
30
|
+
export declare const ResponsesFunctionTool$inboundSchema: z.ZodType<ResponsesFunctionTool, unknown>;
|
|
31
|
+
/** @internal */
|
|
32
|
+
export type ResponsesFunctionTool$Outbound = {
|
|
33
|
+
name: string;
|
|
34
|
+
parameters?: {
|
|
35
|
+
[k: string]: any;
|
|
36
|
+
} | null | undefined;
|
|
37
|
+
strict: boolean | null;
|
|
38
|
+
type: "function";
|
|
39
|
+
allowed_callers?: Array<string> | null | undefined;
|
|
40
|
+
defer_loading: boolean | null;
|
|
41
|
+
description: string | null;
|
|
42
|
+
output_schema?: {
|
|
43
|
+
[k: string]: any;
|
|
44
|
+
} | null | undefined;
|
|
45
|
+
[additionalProperties: string]: unknown;
|
|
46
|
+
};
|
|
47
|
+
/** @internal */
|
|
48
|
+
export declare const ResponsesFunctionTool$outboundSchema: z.ZodType<ResponsesFunctionTool$Outbound, ResponsesFunctionTool>;
|
|
49
|
+
export declare function responsesFunctionToolToJSON(responsesFunctionTool: ResponsesFunctionTool): string;
|
|
50
|
+
export declare function responsesFunctionToolFromJSON(jsonString: string): SafeParseResult<ResponsesFunctionTool, SDKValidationError>;
|
|
51
|
+
//# sourceMappingURL=responsesfunctiontool.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsesfunctiontool.d.ts","sourceRoot":"","sources":["../../../src/models/components/responsesfunctiontool.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,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;AAErE,eAAO,MAAM,kCAAkC;;;CAGrC,CAAC;AACX,MAAM,MAAM,kCAAkC,GAAG,UAAU,CACzD,OAAO,kCAAkC,CAC1C,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,IAAI,EAAE,MAAM,C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,GAAG,IAAI,CAAC;IAC9B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,aAAa,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,IAAI,GAAG,SAAS,CAAC;IACxD,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,8BAA8B,EAC9B,qBAAqB,CAoBrB,CAAC;AAEH,wBAAgB,2BAA2B,CACzC,qBAAqB,EAAE,qBAAqB,GAC3C,MAAM,CAIR;AACD,wBAAgB,6BAA6B,CAC3C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,qBAAqB,EAAE,kBAAkB,CAAC,CAM5D"}
|
|
@@ -0,0 +1,57 @@
|
|
|
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 ResponsesFunctionToolAllowedCaller = {
|
|
8
|
+
Direct: "direct",
|
|
9
|
+
Programmatic: "programmatic",
|
|
10
|
+
};
|
|
11
|
+
/** @internal */
|
|
12
|
+
export const ResponsesFunctionToolAllowedCaller$inboundSchema = z.enum(ResponsesFunctionToolAllowedCaller);
|
|
13
|
+
/** @internal */
|
|
14
|
+
export const ResponsesFunctionToolAllowedCaller$outboundSchema = ResponsesFunctionToolAllowedCaller$inboundSchema;
|
|
15
|
+
/** @internal */
|
|
16
|
+
export const ResponsesFunctionTool$inboundSchema = z.object({
|
|
17
|
+
name: z.string(),
|
|
18
|
+
parameters: z.nullable(z.record(z.string(), z.any())).optional(),
|
|
19
|
+
strict: z.nullable(z.boolean()).default(null),
|
|
20
|
+
type: z.literal("function"),
|
|
21
|
+
allowed_callers: z.nullable(z.array(ResponsesFunctionToolAllowedCaller$inboundSchema)).optional(),
|
|
22
|
+
defer_loading: z.nullable(z.boolean()).default(null),
|
|
23
|
+
description: z.nullable(z.string()).default(null),
|
|
24
|
+
output_schema: z.nullable(z.record(z.string(), z.any())).optional(),
|
|
25
|
+
}).catchall(z.any()).transform((v) => {
|
|
26
|
+
return remap$(v, {
|
|
27
|
+
"allowed_callers": "allowedCallers",
|
|
28
|
+
"defer_loading": "deferLoading",
|
|
29
|
+
"output_schema": "outputSchema",
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
/** @internal */
|
|
33
|
+
export const ResponsesFunctionTool$outboundSchema = z.object({
|
|
34
|
+
name: z.string(),
|
|
35
|
+
parameters: z.nullable(z.record(z.string(), z.any())).optional(),
|
|
36
|
+
strict: z.nullable(z.boolean()).default(null),
|
|
37
|
+
type: z.literal("function"),
|
|
38
|
+
allowedCallers: z.nullable(z.array(ResponsesFunctionToolAllowedCaller$outboundSchema)).optional(),
|
|
39
|
+
deferLoading: z.nullable(z.boolean()).default(null),
|
|
40
|
+
description: z.nullable(z.string()).default(null),
|
|
41
|
+
outputSchema: z.nullable(z.record(z.string(), z.any())).optional(),
|
|
42
|
+
}).catchall(z.any()).transform((v) => {
|
|
43
|
+
return {
|
|
44
|
+
...remap$(v, {
|
|
45
|
+
allowedCallers: "allowed_callers",
|
|
46
|
+
deferLoading: "defer_loading",
|
|
47
|
+
outputSchema: "output_schema",
|
|
48
|
+
}),
|
|
49
|
+
};
|
|
50
|
+
});
|
|
51
|
+
export function responsesFunctionToolToJSON(responsesFunctionTool) {
|
|
52
|
+
return JSON.stringify(ResponsesFunctionTool$outboundSchema.parse(responsesFunctionTool));
|
|
53
|
+
}
|
|
54
|
+
export function responsesFunctionToolFromJSON(jsonString) {
|
|
55
|
+
return safeParse(jsonString, (x) => ResponsesFunctionTool$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponsesFunctionTool' from JSON`);
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=responsesfunctiontool.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsesfunctiontool.js","sourceRoot":"","sources":["../../../src/models/components/responsesfunctiontool.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,kCAAkC,GAAG;IAChD,MAAM,EAAE,QAAQ;IAChB,YAAY,EAAE,cAAc;CACpB,CAAC;AAiBX,gBAAgB;AAChB,MAAM,CAAC,MAAM,gDAAgD,GAEzD,CAAC,CAAC,IAAI,CAAC,kCAAkC,CAAC,CAAC;AAC/C,gBAAgB;AAChB,MAAM,CAAC,MAAM,iDAAiD,GAE1D,gDAAgD,CAAC;AAErD,gBAAgB;AAChB,MAAM,CAAC,MAAM,mCAAmC,GAG5C,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE;IAChE,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;IAC7C,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC;IAC3B,eAAe,EAAE,CAAC,CAAC,QAAQ,CACzB,CAAC,CAAC,KAAK,CAAC,gDAAgD,CAAC,CAC1D,CAAC,QAAQ,EAAE;IACZ,aAAa,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,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CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;IACjD,YAAY,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE;CACnE,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;YAC7B,YAAY,EAAE,eAAe;SAC9B,CAAC;KACH,CAAC;AAAA,CACH,CAAC,CAAC;AAEH,MAAM,UAAU,2BAA2B,CACzC,qBAA4C,EACpC;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,oCAAoC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAClE,CAAC;AAAA,CACH;AACD,MAAM,UAAU,6BAA6B,CAC3C,UAAkB,EAC0C;IAC5D,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,mCAAmC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC/D,mDAAmD,CACpD,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,85 @@
|
|
|
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
|
+
export type ResponsesCallerProgram = {
|
|
6
|
+
callerId: string;
|
|
7
|
+
type: "program";
|
|
8
|
+
[additionalProperties: string]: unknown;
|
|
9
|
+
};
|
|
10
|
+
export type ResponsesCallerDirect = {
|
|
11
|
+
type: "direct";
|
|
12
|
+
[additionalProperties: string]: unknown;
|
|
13
|
+
};
|
|
14
|
+
export type ResponsesFunctionToolCallCaller = ResponsesCallerDirect | ResponsesCallerProgram;
|
|
15
|
+
export declare const ResponsesFunctionToolCallStatus: {
|
|
16
|
+
readonly InProgress: "in_progress";
|
|
17
|
+
readonly Completed: "completed";
|
|
18
|
+
readonly Incomplete: "incomplete";
|
|
19
|
+
};
|
|
20
|
+
export type ResponsesFunctionToolCallStatus = ClosedEnum<typeof ResponsesFunctionToolCallStatus>;
|
|
21
|
+
export type ResponsesFunctionToolCall = {
|
|
22
|
+
arguments: string;
|
|
23
|
+
callId: string;
|
|
24
|
+
name: string;
|
|
25
|
+
type: "function_call";
|
|
26
|
+
id?: string | null | undefined;
|
|
27
|
+
caller?: ResponsesCallerDirect | ResponsesCallerProgram | null | undefined;
|
|
28
|
+
namespace?: string | null | undefined;
|
|
29
|
+
status?: ResponsesFunctionToolCallStatus | null | undefined;
|
|
30
|
+
[additionalProperties: string]: unknown;
|
|
31
|
+
};
|
|
32
|
+
/** @internal */
|
|
33
|
+
export declare const ResponsesCallerProgram$inboundSchema: z.ZodType<ResponsesCallerProgram, unknown>;
|
|
34
|
+
/** @internal */
|
|
35
|
+
export type ResponsesCallerProgram$Outbound = {
|
|
36
|
+
caller_id: string;
|
|
37
|
+
type: "program";
|
|
38
|
+
[additionalProperties: string]: unknown;
|
|
39
|
+
};
|
|
40
|
+
/** @internal */
|
|
41
|
+
export declare const ResponsesCallerProgram$outboundSchema: z.ZodType<ResponsesCallerProgram$Outbound, ResponsesCallerProgram>;
|
|
42
|
+
export declare function responsesCallerProgramToJSON(responsesCallerProgram: ResponsesCallerProgram): string;
|
|
43
|
+
export declare function responsesCallerProgramFromJSON(jsonString: string): SafeParseResult<ResponsesCallerProgram, SDKValidationError>;
|
|
44
|
+
/** @internal */
|
|
45
|
+
export declare const ResponsesCallerDirect$inboundSchema: z.ZodType<ResponsesCallerDirect, unknown>;
|
|
46
|
+
/** @internal */
|
|
47
|
+
export type ResponsesCallerDirect$Outbound = {
|
|
48
|
+
type: "direct";
|
|
49
|
+
[additionalProperties: string]: unknown;
|
|
50
|
+
};
|
|
51
|
+
/** @internal */
|
|
52
|
+
export declare const ResponsesCallerDirect$outboundSchema: z.ZodType<ResponsesCallerDirect$Outbound, ResponsesCallerDirect>;
|
|
53
|
+
export declare function responsesCallerDirectToJSON(responsesCallerDirect: ResponsesCallerDirect): string;
|
|
54
|
+
export declare function responsesCallerDirectFromJSON(jsonString: string): SafeParseResult<ResponsesCallerDirect, SDKValidationError>;
|
|
55
|
+
/** @internal */
|
|
56
|
+
export declare const ResponsesFunctionToolCallCaller$inboundSchema: z.ZodType<ResponsesFunctionToolCallCaller, unknown>;
|
|
57
|
+
/** @internal */
|
|
58
|
+
export type ResponsesFunctionToolCallCaller$Outbound = ResponsesCallerDirect$Outbound | ResponsesCallerProgram$Outbound;
|
|
59
|
+
/** @internal */
|
|
60
|
+
export declare const ResponsesFunctionToolCallCaller$outboundSchema: z.ZodType<ResponsesFunctionToolCallCaller$Outbound, ResponsesFunctionToolCallCaller>;
|
|
61
|
+
export declare function responsesFunctionToolCallCallerToJSON(responsesFunctionToolCallCaller: ResponsesFunctionToolCallCaller): string;
|
|
62
|
+
export declare function responsesFunctionToolCallCallerFromJSON(jsonString: string): SafeParseResult<ResponsesFunctionToolCallCaller, SDKValidationError>;
|
|
63
|
+
/** @internal */
|
|
64
|
+
export declare const ResponsesFunctionToolCallStatus$inboundSchema: z.ZodEnum<typeof ResponsesFunctionToolCallStatus>;
|
|
65
|
+
/** @internal */
|
|
66
|
+
export declare const ResponsesFunctionToolCallStatus$outboundSchema: z.ZodEnum<typeof ResponsesFunctionToolCallStatus>;
|
|
67
|
+
/** @internal */
|
|
68
|
+
export declare const ResponsesFunctionToolCall$inboundSchema: z.ZodType<ResponsesFunctionToolCall, unknown>;
|
|
69
|
+
/** @internal */
|
|
70
|
+
export type ResponsesFunctionToolCall$Outbound = {
|
|
71
|
+
arguments: string;
|
|
72
|
+
call_id: string;
|
|
73
|
+
name: string;
|
|
74
|
+
type: "function_call";
|
|
75
|
+
id: string | null;
|
|
76
|
+
caller?: ResponsesCallerDirect$Outbound | ResponsesCallerProgram$Outbound | null | undefined;
|
|
77
|
+
namespace: string | null;
|
|
78
|
+
status: string | null;
|
|
79
|
+
[additionalProperties: string]: unknown;
|
|
80
|
+
};
|
|
81
|
+
/** @internal */
|
|
82
|
+
export declare const ResponsesFunctionToolCall$outboundSchema: z.ZodType<ResponsesFunctionToolCall$Outbound, ResponsesFunctionToolCall>;
|
|
83
|
+
export declare function responsesFunctionToolCallToJSON(responsesFunctionToolCall: ResponsesFunctionToolCall): string;
|
|
84
|
+
export declare function responsesFunctionToolCallFromJSON(jsonString: string): SafeParseResult<ResponsesFunctionToolCall, SDKValidationError>;
|
|
85
|
+
//# sourceMappingURL=responsesfunctiontoolcall.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsesfunctiontoolcall.d.ts","sourceRoot":"","sources":["../../../src/models/components/responsesfunctiontoolcall.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,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;AAErE,MAAM,MAAM,sBAAsB,GAAG;IACnC,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,SAAS,CAAC;IAChB,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC;CACzC,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,IAAI,EAAE,QAAQ,CAAC;IACf,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC;CACzC,CAAC;AAEF,MAAM,MAAM,+BAA+B,GACvC,qBAAqB,GACrB,sBAAsB,CAAC;AAE3B,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G;IAC/C,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,eAAe,CAAC;IACtB,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAClB,MAAM,CAAC,EACH,8BAA8B,GAC9B,+BAA+B,GAC/B,IAAI,GACJ,SAAS,CAAC;IACd,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,kCAAkC,EAClC,yBAAyB,CAuBzB,CAAC;AAEH,wBAAgB,+BAA+B,CAC7C,yBAAyB,EAAE,yBAAyB,GACnD,MAAM,CAIR;AACD,wBAAgB,iCAAiC,CAC/C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,yBAAyB,EAAE,kBAAkB,CAAC,CAMhE"}
|
|
@@ -0,0 +1,116 @@
|
|
|
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 ResponsesFunctionToolCallStatus = {
|
|
8
|
+
InProgress: "in_progress",
|
|
9
|
+
Completed: "completed",
|
|
10
|
+
Incomplete: "incomplete",
|
|
11
|
+
};
|
|
12
|
+
/** @internal */
|
|
13
|
+
export const ResponsesCallerProgram$inboundSchema = z.object({
|
|
14
|
+
caller_id: z.string(),
|
|
15
|
+
type: z.literal("program"),
|
|
16
|
+
}).catchall(z.any()).transform((v) => {
|
|
17
|
+
return remap$(v, {
|
|
18
|
+
"caller_id": "callerId",
|
|
19
|
+
});
|
|
20
|
+
});
|
|
21
|
+
/** @internal */
|
|
22
|
+
export const ResponsesCallerProgram$outboundSchema = z.object({
|
|
23
|
+
callerId: z.string(),
|
|
24
|
+
type: z.literal("program"),
|
|
25
|
+
}).catchall(z.any()).transform((v) => {
|
|
26
|
+
return {
|
|
27
|
+
...remap$(v, {
|
|
28
|
+
callerId: "caller_id",
|
|
29
|
+
}),
|
|
30
|
+
};
|
|
31
|
+
});
|
|
32
|
+
export function responsesCallerProgramToJSON(responsesCallerProgram) {
|
|
33
|
+
return JSON.stringify(ResponsesCallerProgram$outboundSchema.parse(responsesCallerProgram));
|
|
34
|
+
}
|
|
35
|
+
export function responsesCallerProgramFromJSON(jsonString) {
|
|
36
|
+
return safeParse(jsonString, (x) => ResponsesCallerProgram$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponsesCallerProgram' from JSON`);
|
|
37
|
+
}
|
|
38
|
+
/** @internal */
|
|
39
|
+
export const ResponsesCallerDirect$inboundSchema = z.object({
|
|
40
|
+
type: z.literal("direct"),
|
|
41
|
+
}).catchall(z.any());
|
|
42
|
+
/** @internal */
|
|
43
|
+
export const ResponsesCallerDirect$outboundSchema = z.object({
|
|
44
|
+
type: z.literal("direct"),
|
|
45
|
+
}).catchall(z.any());
|
|
46
|
+
export function responsesCallerDirectToJSON(responsesCallerDirect) {
|
|
47
|
+
return JSON.stringify(ResponsesCallerDirect$outboundSchema.parse(responsesCallerDirect));
|
|
48
|
+
}
|
|
49
|
+
export function responsesCallerDirectFromJSON(jsonString) {
|
|
50
|
+
return safeParse(jsonString, (x) => ResponsesCallerDirect$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponsesCallerDirect' from JSON`);
|
|
51
|
+
}
|
|
52
|
+
/** @internal */
|
|
53
|
+
export const ResponsesFunctionToolCallCaller$inboundSchema = z.union([
|
|
54
|
+
z.lazy(() => ResponsesCallerDirect$inboundSchema),
|
|
55
|
+
z.lazy(() => ResponsesCallerProgram$inboundSchema),
|
|
56
|
+
]);
|
|
57
|
+
/** @internal */
|
|
58
|
+
export const ResponsesFunctionToolCallCaller$outboundSchema = z.union([
|
|
59
|
+
z.lazy(() => ResponsesCallerDirect$outboundSchema),
|
|
60
|
+
z.lazy(() => ResponsesCallerProgram$outboundSchema),
|
|
61
|
+
]);
|
|
62
|
+
export function responsesFunctionToolCallCallerToJSON(responsesFunctionToolCallCaller) {
|
|
63
|
+
return JSON.stringify(ResponsesFunctionToolCallCaller$outboundSchema.parse(responsesFunctionToolCallCaller));
|
|
64
|
+
}
|
|
65
|
+
export function responsesFunctionToolCallCallerFromJSON(jsonString) {
|
|
66
|
+
return safeParse(jsonString, (x) => ResponsesFunctionToolCallCaller$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponsesFunctionToolCallCaller' from JSON`);
|
|
67
|
+
}
|
|
68
|
+
/** @internal */
|
|
69
|
+
export const ResponsesFunctionToolCallStatus$inboundSchema = z.enum(ResponsesFunctionToolCallStatus);
|
|
70
|
+
/** @internal */
|
|
71
|
+
export const ResponsesFunctionToolCallStatus$outboundSchema = ResponsesFunctionToolCallStatus$inboundSchema;
|
|
72
|
+
/** @internal */
|
|
73
|
+
export const ResponsesFunctionToolCall$inboundSchema = z.object({
|
|
74
|
+
arguments: z.string(),
|
|
75
|
+
call_id: z.string(),
|
|
76
|
+
name: z.string(),
|
|
77
|
+
type: z.literal("function_call"),
|
|
78
|
+
id: z.nullable(z.string()).default(null),
|
|
79
|
+
caller: z.nullable(z.union([
|
|
80
|
+
z.lazy(() => ResponsesCallerDirect$inboundSchema),
|
|
81
|
+
z.lazy(() => ResponsesCallerProgram$inboundSchema),
|
|
82
|
+
])).optional(),
|
|
83
|
+
namespace: z.nullable(z.string()).default(null),
|
|
84
|
+
status: z.nullable(ResponsesFunctionToolCallStatus$inboundSchema).default(null),
|
|
85
|
+
}).catchall(z.any()).transform((v) => {
|
|
86
|
+
return remap$(v, {
|
|
87
|
+
"call_id": "callId",
|
|
88
|
+
});
|
|
89
|
+
});
|
|
90
|
+
/** @internal */
|
|
91
|
+
export const ResponsesFunctionToolCall$outboundSchema = z.object({
|
|
92
|
+
arguments: z.string(),
|
|
93
|
+
callId: z.string(),
|
|
94
|
+
name: z.string(),
|
|
95
|
+
type: z.literal("function_call"),
|
|
96
|
+
id: z.nullable(z.string()).default(null),
|
|
97
|
+
caller: z.nullable(z.union([
|
|
98
|
+
z.lazy(() => ResponsesCallerDirect$outboundSchema),
|
|
99
|
+
z.lazy(() => ResponsesCallerProgram$outboundSchema),
|
|
100
|
+
])).optional(),
|
|
101
|
+
namespace: z.nullable(z.string()).default(null),
|
|
102
|
+
status: z.nullable(ResponsesFunctionToolCallStatus$outboundSchema).default(null),
|
|
103
|
+
}).catchall(z.any()).transform((v) => {
|
|
104
|
+
return {
|
|
105
|
+
...remap$(v, {
|
|
106
|
+
callId: "call_id",
|
|
107
|
+
}),
|
|
108
|
+
};
|
|
109
|
+
});
|
|
110
|
+
export function responsesFunctionToolCallToJSON(responsesFunctionToolCall) {
|
|
111
|
+
return JSON.stringify(ResponsesFunctionToolCall$outboundSchema.parse(responsesFunctionToolCall));
|
|
112
|
+
}
|
|
113
|
+
export function responsesFunctionToolCallFromJSON(jsonString) {
|
|
114
|
+
return safeParse(jsonString, (x) => ResponsesFunctionToolCall$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponsesFunctionToolCall' from JSON`);
|
|
115
|
+
}
|
|
116
|
+
//# sourceMappingURL=responsesfunctiontoolcall.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsesfunctiontoolcall.js","sourceRoot":"","sources":["../../../src/models/components/responsesfunctiontoolcall.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;AAoBjD,MAAM,CAAC,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EAAE,SAAS;SAClB,CAAC;KACH,CAAC;AAAA,CACH,CAAC,CAAC;AAEH,MAAM,UAAU,+BAA+B,CAC7C,yBAAoD,EAC5C;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,wCAAwC,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAC1E,CAAC;AAAA,CACH;AACD,MAAM,UAAU,iCAAiC,CAC/C,UAAkB,EAC8C;IAChE,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,uCAAuC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACnE,uDAAuD,CACxD,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 ResponsesIncompleteEvent = {
|
|
6
|
+
response: CreateResponseResponse;
|
|
7
|
+
sequenceNumber: number;
|
|
8
|
+
type: "response.incomplete";
|
|
9
|
+
[additionalProperties: string]: unknown;
|
|
10
|
+
};
|
|
11
|
+
/** @internal */
|
|
12
|
+
export declare const ResponsesIncompleteEvent$inboundSchema: z.ZodType<ResponsesIncompleteEvent, unknown>;
|
|
13
|
+
export declare function responsesIncompleteEventFromJSON(jsonString: string): SafeParseResult<ResponsesIncompleteEvent, SDKValidationError>;
|
|
14
|
+
//# sourceMappingURL=responsesincompleteevent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsesincompleteevent.d.ts","sourceRoot":"","sources":["../../../src/models/components/responsesincompleteevent.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,wBAAwB,GAAG;IACrC,QAAQ,EAAE,sBAAsB,CAAC;IACjC,cAAc,EAAE,MAAM,CAAC;IACvB,IAAI,EAAE,qBAAqB,CAAC;IAC5B,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,OAAO,CAC5D,wBAAwB,EACxB,OAAO,CASP,CAAC;AAEH,wBAAgB,gCAAgC,CAC9C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,wBAAwB,EAAE,kBAAkB,CAAC,CAM/D"}
|
|
@@ -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 ResponsesIncompleteEvent$inboundSchema = z.object({
|
|
10
|
+
response: CreateResponseResponse$inboundSchema,
|
|
11
|
+
sequence_number: z.int(),
|
|
12
|
+
type: z.literal("response.incomplete"),
|
|
13
|
+
}).catchall(z.any()).transform((v) => {
|
|
14
|
+
return remap$(v, {
|
|
15
|
+
"sequence_number": "sequenceNumber",
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
export function responsesIncompleteEventFromJSON(jsonString) {
|
|
19
|
+
return safeParse(jsonString, (x) => ResponsesIncompleteEvent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponsesIncompleteEvent' from JSON`);
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=responsesincompleteevent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsesincompleteevent.js","sourceRoot":"","sources":["../../../src/models/components/responsesincompleteevent.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,sCAAsC,GAG/C,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,oCAAoC;IAC9C,eAAe,EAAE,CAAC,CAAC,GAAG,EAAE;IACxB,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,qBAAqB,CAAC;CACvC,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,gCAAgC,CAC9C,UAAkB,EAC6C;IAC/D,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,sCAAsC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAClE,sDAAsD,CACvD,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 ResponsesInProgressEvent = {
|
|
6
|
+
response: CreateResponseResponse;
|
|
7
|
+
sequenceNumber: number;
|
|
8
|
+
type: "response.in_progress";
|
|
9
|
+
[additionalProperties: string]: unknown;
|
|
10
|
+
};
|
|
11
|
+
/** @internal */
|
|
12
|
+
export declare const ResponsesInProgressEvent$inboundSchema: z.ZodType<ResponsesInProgressEvent, unknown>;
|
|
13
|
+
export declare function responsesInProgressEventFromJSON(jsonString: string): SafeParseResult<ResponsesInProgressEvent, SDKValidationError>;
|
|
14
|
+
//# sourceMappingURL=responsesinprogressevent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsesinprogressevent.d.ts","sourceRoot":"","sources":["../../../src/models/components/responsesinprogressevent.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,wBAAwB,GAAG;IACrC,QAAQ,EAAE,sBAAsB,CAAC;IACjC,cAAc,EAAE,MAAM,CAAC;IACvB,IAAI,EAAE,sBAAsB,CAAC;IAC7B,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,OAAO,CAC5D,wBAAwB,EACxB,OAAO,CASP,CAAC;AAEH,wBAAgB,gCAAgC,CAC9C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,wBAAwB,EAAE,kBAAkB,CAAC,CAM/D"}
|
|
@@ -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 ResponsesInProgressEvent$inboundSchema = z.object({
|
|
10
|
+
response: CreateResponseResponse$inboundSchema,
|
|
11
|
+
sequence_number: z.int(),
|
|
12
|
+
type: z.literal("response.in_progress"),
|
|
13
|
+
}).catchall(z.any()).transform((v) => {
|
|
14
|
+
return remap$(v, {
|
|
15
|
+
"sequence_number": "sequenceNumber",
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
export function responsesInProgressEventFromJSON(jsonString) {
|
|
19
|
+
return safeParse(jsonString, (x) => ResponsesInProgressEvent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponsesInProgressEvent' from JSON`);
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=responsesinprogressevent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsesinprogressevent.js","sourceRoot":"","sources":["../../../src/models/components/responsesinprogressevent.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,sCAAsC,GAG/C,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,oCAAoC;IAC9C,eAAe,EAAE,CAAC,CAAC,GAAG,EAAE;IACxB,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,sBAAsB,CAAC;CACxC,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,gCAAgC,CAC9C,UAAkB,EAC6C;IAC/D,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,sCAAsC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAClE,sDAAsD,CACvD,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
export declare const ResponsesInputFileDetail: {
|
|
4
|
+
readonly Auto: "auto";
|
|
5
|
+
readonly Low: "low";
|
|
6
|
+
readonly High: "high";
|
|
7
|
+
};
|
|
8
|
+
export type ResponsesInputFileDetail = ClosedEnum<typeof ResponsesInputFileDetail>;
|
|
9
|
+
export type ResponsesInputFileResponsesPromptCacheBreakpoint = {
|
|
10
|
+
mode: "explicit";
|
|
11
|
+
[additionalProperties: string]: unknown;
|
|
12
|
+
};
|
|
13
|
+
export type ResponsesInputFile = {
|
|
14
|
+
type: "input_file";
|
|
15
|
+
detail?: ResponsesInputFileDetail | null | undefined;
|
|
16
|
+
fileData?: string | null | undefined;
|
|
17
|
+
fileId?: string | null | undefined;
|
|
18
|
+
fileUrl?: string | null | undefined;
|
|
19
|
+
filename?: string | null | undefined;
|
|
20
|
+
promptCacheBreakpoint?: ResponsesInputFileResponsesPromptCacheBreakpoint | null | undefined;
|
|
21
|
+
[additionalProperties: string]: unknown;
|
|
22
|
+
};
|
|
23
|
+
/** @internal */
|
|
24
|
+
export declare const ResponsesInputFileDetail$outboundSchema: z.ZodEnum<typeof ResponsesInputFileDetail>;
|
|
25
|
+
/** @internal */
|
|
26
|
+
export type ResponsesInputFileResponsesPromptCacheBreakpoint$Outbound = {
|
|
27
|
+
mode: "explicit";
|
|
28
|
+
[additionalProperties: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
/** @internal */
|
|
31
|
+
export declare const ResponsesInputFileResponsesPromptCacheBreakpoint$outboundSchema: z.ZodType<ResponsesInputFileResponsesPromptCacheBreakpoint$Outbound, ResponsesInputFileResponsesPromptCacheBreakpoint>;
|
|
32
|
+
export declare function responsesInputFileResponsesPromptCacheBreakpointToJSON(responsesInputFileResponsesPromptCacheBreakpoint: ResponsesInputFileResponsesPromptCacheBreakpoint): string;
|
|
33
|
+
/** @internal */
|
|
34
|
+
export type ResponsesInputFile$Outbound = {
|
|
35
|
+
type: "input_file";
|
|
36
|
+
detail?: string | null | undefined;
|
|
37
|
+
file_data?: string | null | undefined;
|
|
38
|
+
file_id?: string | null | undefined;
|
|
39
|
+
file_url?: string | null | undefined;
|
|
40
|
+
filename?: string | null | undefined;
|
|
41
|
+
prompt_cache_breakpoint?: ResponsesInputFileResponsesPromptCacheBreakpoint$Outbound | null | undefined;
|
|
42
|
+
[additionalProperties: string]: unknown;
|
|
43
|
+
};
|
|
44
|
+
/** @internal */
|
|
45
|
+
export declare const ResponsesInputFile$outboundSchema: z.ZodType<ResponsesInputFile$Outbound, ResponsesInputFile>;
|
|
46
|
+
export declare function responsesInputFileToJSON(responsesInputFile: ResponsesInputFile): string;
|
|
47
|
+
//# sourceMappingURL=responsesinputfile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsesinputfile.d.ts","sourceRoot":"","sources":["../../../src/models/components/responsesinputfile.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,wBAAwB;;;;CAI3B,CAAC;AACX,MAAM,MAAM,wBAAwB,GAAG,UAAU,CAC/C,OAAO,wBAAwB,CAChC,CAAC;AAEF,MAAM,MAAM,gDAAgD,GAA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M,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACrC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACrC,uBAAuB,CAAC,EACpB,yDAAyD,GACzD,IAAI,GACJ,SAAS,CAAC;IACd,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,2BAA2B,EAC3B,kBAAkB,CAsBlB,CAAC;AAEH,wBAAgB,wBAAwB,CACtC,kBAAkB,EAAE,kBAAkB,GACrC,MAAM,CAIR"}
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
export const ResponsesInputFileDetail = {
|
|
7
|
+
Auto: "auto",
|
|
8
|
+
Low: "low",
|
|
9
|
+
High: "high",
|
|
10
|
+
};
|
|
11
|
+
/** @internal */
|
|
12
|
+
export const ResponsesInputFileDetail$outboundSchema = z.enum(ResponsesInputFileDetail);
|
|
13
|
+
/** @internal */
|
|
14
|
+
export const ResponsesInputFileResponsesPromptCacheBreakpoint$outboundSchema = z.object({
|
|
15
|
+
mode: z.literal("explicit"),
|
|
16
|
+
}).catchall(z.any());
|
|
17
|
+
export function responsesInputFileResponsesPromptCacheBreakpointToJSON(responsesInputFileResponsesPromptCacheBreakpoint) {
|
|
18
|
+
return JSON.stringify(ResponsesInputFileResponsesPromptCacheBreakpoint$outboundSchema.parse(responsesInputFileResponsesPromptCacheBreakpoint));
|
|
19
|
+
}
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const ResponsesInputFile$outboundSchema = z.object({
|
|
22
|
+
type: z.literal("input_file"),
|
|
23
|
+
detail: z.nullable(ResponsesInputFileDetail$outboundSchema).optional(),
|
|
24
|
+
fileData: z.nullable(z.string()).optional(),
|
|
25
|
+
fileId: z.nullable(z.string()).optional(),
|
|
26
|
+
fileUrl: z.nullable(z.string()).optional(),
|
|
27
|
+
filename: z.nullable(z.string()).optional(),
|
|
28
|
+
promptCacheBreakpoint: z.nullable(z.lazy(() => ResponsesInputFileResponsesPromptCacheBreakpoint$outboundSchema)).optional(),
|
|
29
|
+
}).catchall(z.any()).transform((v) => {
|
|
30
|
+
return {
|
|
31
|
+
...remap$(v, {
|
|
32
|
+
fileData: "file_data",
|
|
33
|
+
fileId: "file_id",
|
|
34
|
+
fileUrl: "file_url",
|
|
35
|
+
promptCacheBreakpoint: "prompt_cache_breakpoint",
|
|
36
|
+
}),
|
|
37
|
+
};
|
|
38
|
+
});
|
|
39
|
+
export function responsesInputFileToJSON(responsesInputFile) {
|
|
40
|
+
return JSON.stringify(ResponsesInputFile$outboundSchema.parse(responsesInputFile));
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=responsesinputfile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsesinputfile.js","sourceRoot":"","sources":["../../../src/models/components/responsesinputfile.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAG1D,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;CACJ,CAAC;AAwBX,gBAAgB;AAChB,MAAM,CAAC,MAAM,uCAAuC,GAEhD,CAAC,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC;AAQrC,gBAAgB;AAChB,MAAM,CAAC,MAAM,+DAA+D,GAItE,CAAC,CAAC,MAAM,CAAC;IACX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