@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,47 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
export declare const ResponsesInputFileContentDetail: {
|
|
4
|
+
readonly Auto: "auto";
|
|
5
|
+
readonly Low: "low";
|
|
6
|
+
readonly High: "high";
|
|
7
|
+
};
|
|
8
|
+
export type ResponsesInputFileContentDetail = ClosedEnum<typeof ResponsesInputFileContentDetail>;
|
|
9
|
+
export type ResponsesInputFileContentResponsesPromptCacheBreakpoint = {
|
|
10
|
+
mode: "explicit";
|
|
11
|
+
[additionalProperties: string]: unknown;
|
|
12
|
+
};
|
|
13
|
+
export type ResponsesInputFileContent = {
|
|
14
|
+
type: "input_file";
|
|
15
|
+
detail?: ResponsesInputFileContentDetail | null | undefined;
|
|
16
|
+
fileData?: string | null | undefined;
|
|
17
|
+
fileId?: string | null | undefined;
|
|
18
|
+
fileUrl?: string | null | undefined;
|
|
19
|
+
filename?: string | null | undefined;
|
|
20
|
+
promptCacheBreakpoint?: ResponsesInputFileContentResponsesPromptCacheBreakpoint | null | undefined;
|
|
21
|
+
[additionalProperties: string]: unknown;
|
|
22
|
+
};
|
|
23
|
+
/** @internal */
|
|
24
|
+
export declare const ResponsesInputFileContentDetail$outboundSchema: z.ZodEnum<typeof ResponsesInputFileContentDetail>;
|
|
25
|
+
/** @internal */
|
|
26
|
+
export type ResponsesInputFileContentResponsesPromptCacheBreakpoint$Outbound = {
|
|
27
|
+
mode: "explicit";
|
|
28
|
+
[additionalProperties: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
/** @internal */
|
|
31
|
+
export declare const ResponsesInputFileContentResponsesPromptCacheBreakpoint$outboundSchema: z.ZodType<ResponsesInputFileContentResponsesPromptCacheBreakpoint$Outbound, ResponsesInputFileContentResponsesPromptCacheBreakpoint>;
|
|
32
|
+
export declare function responsesInputFileContentResponsesPromptCacheBreakpointToJSON(responsesInputFileContentResponsesPromptCacheBreakpoint: ResponsesInputFileContentResponsesPromptCacheBreakpoint): string;
|
|
33
|
+
/** @internal */
|
|
34
|
+
export type ResponsesInputFileContent$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?: ResponsesInputFileContentResponsesPromptCacheBreakpoint$Outbound | null | undefined;
|
|
42
|
+
[additionalProperties: string]: unknown;
|
|
43
|
+
};
|
|
44
|
+
/** @internal */
|
|
45
|
+
export declare const ResponsesInputFileContent$outboundSchema: z.ZodType<ResponsesInputFileContent$Outbound, ResponsesInputFileContent>;
|
|
46
|
+
export declare function responsesInputFileContentToJSON(responsesInputFileContent: ResponsesInputFileContent): string;
|
|
47
|
+
//# sourceMappingURL=responsesinputfilecontent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsesinputfilecontent.d.ts","sourceRoot":"","sources":["../../../src/models/components/responsesinputfilecontent.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,+BAA+B;;;;CAIlC,CAAC;AACX,MAAM,MAAM,+BAA+B,GAAG,UAAU,CACtD,OAAO,+BAA+B,CACvC,CAAC;AAEF,MAAM,MAAM,uDAAuD,GAAG;IACpE,IAAI,EAAE,UAAU,CAAC;IACjB,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC;CACzC,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG;IACtC,IAAI,EAAE,YAAY,CAAC;IACnB,MAAM,CAAC,EAAE,+BAA+B,GAAG,IAAI,GAAG,SAAS,C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AAC;IACd,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,kCAAkC,EAClC,yBAAyB,CAsBzB,CAAC;AAEH,wBAAgB,+BAA+B,CAC7C,yBAAyB,EAAE,yBAAyB,GACnD,MAAM,CAIR"}
|
|
@@ -0,0 +1,43 @@
|
|
|
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 ResponsesInputFileContentDetail = {
|
|
7
|
+
Auto: "auto",
|
|
8
|
+
Low: "low",
|
|
9
|
+
High: "high",
|
|
10
|
+
};
|
|
11
|
+
/** @internal */
|
|
12
|
+
export const ResponsesInputFileContentDetail$outboundSchema = z.enum(ResponsesInputFileContentDetail);
|
|
13
|
+
/** @internal */
|
|
14
|
+
export const ResponsesInputFileContentResponsesPromptCacheBreakpoint$outboundSchema = z.object({
|
|
15
|
+
mode: z.literal("explicit"),
|
|
16
|
+
}).catchall(z.any());
|
|
17
|
+
export function responsesInputFileContentResponsesPromptCacheBreakpointToJSON(responsesInputFileContentResponsesPromptCacheBreakpoint) {
|
|
18
|
+
return JSON.stringify(ResponsesInputFileContentResponsesPromptCacheBreakpoint$outboundSchema
|
|
19
|
+
.parse(responsesInputFileContentResponsesPromptCacheBreakpoint));
|
|
20
|
+
}
|
|
21
|
+
/** @internal */
|
|
22
|
+
export const ResponsesInputFileContent$outboundSchema = z.object({
|
|
23
|
+
type: z.literal("input_file"),
|
|
24
|
+
detail: z.nullable(ResponsesInputFileContentDetail$outboundSchema).optional(),
|
|
25
|
+
fileData: z.nullable(z.string()).optional(),
|
|
26
|
+
fileId: z.nullable(z.string()).optional(),
|
|
27
|
+
fileUrl: z.nullable(z.string()).optional(),
|
|
28
|
+
filename: z.nullable(z.string()).optional(),
|
|
29
|
+
promptCacheBreakpoint: z.nullable(z.lazy(() => ResponsesInputFileContentResponsesPromptCacheBreakpoint$outboundSchema)).optional(),
|
|
30
|
+
}).catchall(z.any()).transform((v) => {
|
|
31
|
+
return {
|
|
32
|
+
...remap$(v, {
|
|
33
|
+
fileData: "file_data",
|
|
34
|
+
fileId: "file_id",
|
|
35
|
+
fileUrl: "file_url",
|
|
36
|
+
promptCacheBreakpoint: "prompt_cache_breakpoint",
|
|
37
|
+
}),
|
|
38
|
+
};
|
|
39
|
+
});
|
|
40
|
+
export function responsesInputFileContentToJSON(responsesInputFileContent) {
|
|
41
|
+
return JSON.stringify(ResponsesInputFileContent$outboundSchema.parse(responsesInputFileContent));
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=responsesinputfilecontent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsesinputfilecontent.js","sourceRoot":"","sources":["../../../src/models/components/responsesinputfilecontent.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,+BAA+B,GAAG;IAC7C,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;CACJ,CAAC;AAwBX,gBAAgB;AAChB,MAAM,CAAC,MAAM,8CAA8C,GAEvD,CAAC,CAAC,IAAI,CAAC,+BAA+B,CAAC,CAAC;AAQ5C,gBAAgB;AAChB,MAAM,CAAC,MAAM,sEAAsE,GAI7E,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC;CAC5B,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC;AAEvB,MAAM,UAAU,6DAA6D,CAC3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AK,CAAC,yBAAyB,CAAC,CAC1E,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
export declare const ResponsesInputImageDetail: {
|
|
4
|
+
readonly Low: "low";
|
|
5
|
+
readonly High: "high";
|
|
6
|
+
readonly Auto: "auto";
|
|
7
|
+
readonly Original: "original";
|
|
8
|
+
};
|
|
9
|
+
export type ResponsesInputImageDetail = ClosedEnum<typeof ResponsesInputImageDetail>;
|
|
10
|
+
export type ResponsesInputImageResponsesPromptCacheBreakpoint = {
|
|
11
|
+
mode: "explicit";
|
|
12
|
+
[additionalProperties: string]: unknown;
|
|
13
|
+
};
|
|
14
|
+
export type ResponsesInputImage = {
|
|
15
|
+
detail: ResponsesInputImageDetail;
|
|
16
|
+
type: "input_image";
|
|
17
|
+
fileId?: string | null | undefined;
|
|
18
|
+
imageUrl?: string | null | undefined;
|
|
19
|
+
promptCacheBreakpoint?: ResponsesInputImageResponsesPromptCacheBreakpoint | null | undefined;
|
|
20
|
+
[additionalProperties: string]: unknown;
|
|
21
|
+
};
|
|
22
|
+
/** @internal */
|
|
23
|
+
export declare const ResponsesInputImageDetail$outboundSchema: z.ZodEnum<typeof ResponsesInputImageDetail>;
|
|
24
|
+
/** @internal */
|
|
25
|
+
export type ResponsesInputImageResponsesPromptCacheBreakpoint$Outbound = {
|
|
26
|
+
mode: "explicit";
|
|
27
|
+
[additionalProperties: string]: unknown;
|
|
28
|
+
};
|
|
29
|
+
/** @internal */
|
|
30
|
+
export declare const ResponsesInputImageResponsesPromptCacheBreakpoint$outboundSchema: z.ZodType<ResponsesInputImageResponsesPromptCacheBreakpoint$Outbound, ResponsesInputImageResponsesPromptCacheBreakpoint>;
|
|
31
|
+
export declare function responsesInputImageResponsesPromptCacheBreakpointToJSON(responsesInputImageResponsesPromptCacheBreakpoint: ResponsesInputImageResponsesPromptCacheBreakpoint): string;
|
|
32
|
+
/** @internal */
|
|
33
|
+
export type ResponsesInputImage$Outbound = {
|
|
34
|
+
detail: string;
|
|
35
|
+
type: "input_image";
|
|
36
|
+
file_id?: string | null | undefined;
|
|
37
|
+
image_url?: string | null | undefined;
|
|
38
|
+
prompt_cache_breakpoint?: ResponsesInputImageResponsesPromptCacheBreakpoint$Outbound | null | undefined;
|
|
39
|
+
[additionalProperties: string]: unknown;
|
|
40
|
+
};
|
|
41
|
+
/** @internal */
|
|
42
|
+
export declare const ResponsesInputImage$outboundSchema: z.ZodType<ResponsesInputImage$Outbound, ResponsesInputImage>;
|
|
43
|
+
export declare function responsesInputImageToJSON(responsesInputImage: ResponsesInputImage): string;
|
|
44
|
+
//# sourceMappingURL=responsesinputimage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsesinputimage.d.ts","sourceRoot":"","sources":["../../../src/models/components/responsesinputimage.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,yBAAyB;;;;;CAK5B,CAAC;AACX,MAAM,MAAM,yBAAyB,GAAG,UAAU,CAChD,OAAO,yBAAyB,CACjC,CAAC;AAEF,MAAM,MAAM,iDAAiD,GAAG;IAC9D,IAAI,EAAE,UAAU,CAAC;IACjB,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC;CACzC,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,MAAM,EAAE,yBAAyB,CAAC;IAClC,IAAI,EAAE,aAAa,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACnC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACrC,qBAAqB,CAAC,EAClB,iDAAiD,GACjD,IAAI,GACJ,SAAS,CAAC;IACd,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,OAAO,yBAAyB,CACG,CAAC;AAEtC,gBAAgB;AAChB,MAAM,MAAM,0DAA0D,GAAG;IACvE,IAAI,EAAE,UAAU,CAAC;IACjB,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gEAAgE,EAC3E,CAAC,CAAC,OAAO,CACP,0DAA0D,EAC1D,iDAAiD,CAG/B,CAAC;AAEvB,wBAAgB,uDAAuD,CACrE,iDAAiD,EAC/C,iDAAiD,GAClD,MAAM,CAMR;AAED,gBAAgB;AAChB,MAAM,MAAM,4BAA4B,GAAG;IACzC,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,aAAa,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACtC,uBAAuB,CAAC,EACpB,0DAA0D,GAC1D,IAAI,GACJ,SAAS,CAAC;IACd,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,4BAA4B,EAC5B,mBAAmB,CAmBnB,CAAC;AAEH,wBAAgB,yBAAyB,CACvC,mBAAmB,EAAE,mBAAmB,GACvC,MAAM,CAIR"}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 ResponsesInputImageDetail = {
|
|
7
|
+
Low: "low",
|
|
8
|
+
High: "high",
|
|
9
|
+
Auto: "auto",
|
|
10
|
+
Original: "original",
|
|
11
|
+
};
|
|
12
|
+
/** @internal */
|
|
13
|
+
export const ResponsesInputImageDetail$outboundSchema = z.enum(ResponsesInputImageDetail);
|
|
14
|
+
/** @internal */
|
|
15
|
+
export const ResponsesInputImageResponsesPromptCacheBreakpoint$outboundSchema = z.object({
|
|
16
|
+
mode: z.literal("explicit"),
|
|
17
|
+
}).catchall(z.any());
|
|
18
|
+
export function responsesInputImageResponsesPromptCacheBreakpointToJSON(responsesInputImageResponsesPromptCacheBreakpoint) {
|
|
19
|
+
return JSON.stringify(ResponsesInputImageResponsesPromptCacheBreakpoint$outboundSchema.parse(responsesInputImageResponsesPromptCacheBreakpoint));
|
|
20
|
+
}
|
|
21
|
+
/** @internal */
|
|
22
|
+
export const ResponsesInputImage$outboundSchema = z.object({
|
|
23
|
+
detail: ResponsesInputImageDetail$outboundSchema,
|
|
24
|
+
type: z.literal("input_image"),
|
|
25
|
+
fileId: z.nullable(z.string()).optional(),
|
|
26
|
+
imageUrl: z.nullable(z.string()).optional(),
|
|
27
|
+
promptCacheBreakpoint: z.nullable(z.lazy(() => ResponsesInputImageResponsesPromptCacheBreakpoint$outboundSchema)).optional(),
|
|
28
|
+
}).catchall(z.any()).transform((v) => {
|
|
29
|
+
return {
|
|
30
|
+
...remap$(v, {
|
|
31
|
+
fileId: "file_id",
|
|
32
|
+
imageUrl: "image_url",
|
|
33
|
+
promptCacheBreakpoint: "prompt_cache_breakpoint",
|
|
34
|
+
}),
|
|
35
|
+
};
|
|
36
|
+
});
|
|
37
|
+
export function responsesInputImageToJSON(responsesInputImage) {
|
|
38
|
+
return JSON.stringify(ResponsesInputImage$outboundSchema.parse(responsesInputImage));
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=responsesinputimage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsesinputimage.js","sourceRoot":"","sources":["../../../src/models/components/responsesinputimage.ts"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CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACpC,OAAO;QACL,GAAG,MAAM,CAAC,CAAC,EAAE;YACX,MAAM,EAAE,SAAS;YACjB,QAAQ,EAAE,WAAW;YACrB,qBAAqB,EAAE,yBAAyB;SACjD,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"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
export declare const ResponsesInputImageContentDetail: {
|
|
4
|
+
readonly Low: "low";
|
|
5
|
+
readonly High: "high";
|
|
6
|
+
readonly Auto: "auto";
|
|
7
|
+
readonly Original: "original";
|
|
8
|
+
};
|
|
9
|
+
export type ResponsesInputImageContentDetail = ClosedEnum<typeof ResponsesInputImageContentDetail>;
|
|
10
|
+
export type ResponsesInputImageContentResponsesPromptCacheBreakpoint = {
|
|
11
|
+
mode: "explicit";
|
|
12
|
+
[additionalProperties: string]: unknown;
|
|
13
|
+
};
|
|
14
|
+
export type ResponsesInputImageContent = {
|
|
15
|
+
type: "input_image";
|
|
16
|
+
detail?: ResponsesInputImageContentDetail | null | undefined;
|
|
17
|
+
fileId?: string | null | undefined;
|
|
18
|
+
imageUrl?: string | null | undefined;
|
|
19
|
+
promptCacheBreakpoint?: ResponsesInputImageContentResponsesPromptCacheBreakpoint | null | undefined;
|
|
20
|
+
[additionalProperties: string]: unknown;
|
|
21
|
+
};
|
|
22
|
+
/** @internal */
|
|
23
|
+
export declare const ResponsesInputImageContentDetail$outboundSchema: z.ZodEnum<typeof ResponsesInputImageContentDetail>;
|
|
24
|
+
/** @internal */
|
|
25
|
+
export type ResponsesInputImageContentResponsesPromptCacheBreakpoint$Outbound = {
|
|
26
|
+
mode: "explicit";
|
|
27
|
+
[additionalProperties: string]: unknown;
|
|
28
|
+
};
|
|
29
|
+
/** @internal */
|
|
30
|
+
export declare const ResponsesInputImageContentResponsesPromptCacheBreakpoint$outboundSchema: z.ZodType<ResponsesInputImageContentResponsesPromptCacheBreakpoint$Outbound, ResponsesInputImageContentResponsesPromptCacheBreakpoint>;
|
|
31
|
+
export declare function responsesInputImageContentResponsesPromptCacheBreakpointToJSON(responsesInputImageContentResponsesPromptCacheBreakpoint: ResponsesInputImageContentResponsesPromptCacheBreakpoint): string;
|
|
32
|
+
/** @internal */
|
|
33
|
+
export type ResponsesInputImageContent$Outbound = {
|
|
34
|
+
type: "input_image";
|
|
35
|
+
detail?: string | null | undefined;
|
|
36
|
+
file_id?: string | null | undefined;
|
|
37
|
+
image_url?: string | null | undefined;
|
|
38
|
+
prompt_cache_breakpoint?: ResponsesInputImageContentResponsesPromptCacheBreakpoint$Outbound | null | undefined;
|
|
39
|
+
[additionalProperties: string]: unknown;
|
|
40
|
+
};
|
|
41
|
+
/** @internal */
|
|
42
|
+
export declare const ResponsesInputImageContent$outboundSchema: z.ZodType<ResponsesInputImageContent$Outbound, ResponsesInputImageContent>;
|
|
43
|
+
export declare function responsesInputImageContentToJSON(responsesInputImageContent: ResponsesInputImageContent): string;
|
|
44
|
+
//# sourceMappingURL=responsesinputimagecontent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsesinputimagecontent.d.ts","sourceRoot":"","sources":["../../../src/models/components/responsesinputimagecontent.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,gCAAgC;;;;;CAKnC,CAAC;AACX,MAAM,MAAM,gCAAgC,GAAG,UAAU,CACvD,OAAO,gCAAgC,CACxC,CAAC;A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AC;IACd,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,OAAO,CAC/D,mCAAmC,EACnC,0BAA0B,CAoB1B,CAAC;AAEH,wBAAgB,gCAAgC,CAC9C,0BAA0B,EAAE,0BAA0B,GACrD,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 ResponsesInputImageContentDetail = {
|
|
7
|
+
Low: "low",
|
|
8
|
+
High: "high",
|
|
9
|
+
Auto: "auto",
|
|
10
|
+
Original: "original",
|
|
11
|
+
};
|
|
12
|
+
/** @internal */
|
|
13
|
+
export const ResponsesInputImageContentDetail$outboundSchema = z.enum(ResponsesInputImageContentDetail);
|
|
14
|
+
/** @internal */
|
|
15
|
+
export const ResponsesInputImageContentResponsesPromptCacheBreakpoint$outboundSchema = z.object({
|
|
16
|
+
mode: z.literal("explicit"),
|
|
17
|
+
}).catchall(z.any());
|
|
18
|
+
export function responsesInputImageContentResponsesPromptCacheBreakpointToJSON(responsesInputImageContentResponsesPromptCacheBreakpoint) {
|
|
19
|
+
return JSON.stringify(ResponsesInputImageContentResponsesPromptCacheBreakpoint$outboundSchema
|
|
20
|
+
.parse(responsesInputImageContentResponsesPromptCacheBreakpoint));
|
|
21
|
+
}
|
|
22
|
+
/** @internal */
|
|
23
|
+
export const ResponsesInputImageContent$outboundSchema = z.object({
|
|
24
|
+
type: z.literal("input_image"),
|
|
25
|
+
detail: z.nullable(ResponsesInputImageContentDetail$outboundSchema)
|
|
26
|
+
.optional(),
|
|
27
|
+
fileId: z.nullable(z.string()).optional(),
|
|
28
|
+
imageUrl: z.nullable(z.string()).optional(),
|
|
29
|
+
promptCacheBreakpoint: z.nullable(z.lazy(() => ResponsesInputImageContentResponsesPromptCacheBreakpoint$outboundSchema)).optional(),
|
|
30
|
+
}).catchall(z.any()).transform((v) => {
|
|
31
|
+
return {
|
|
32
|
+
...remap$(v, {
|
|
33
|
+
fileId: "file_id",
|
|
34
|
+
imageUrl: "image_url",
|
|
35
|
+
promptCacheBreakpoint: "prompt_cache_breakpoint",
|
|
36
|
+
}),
|
|
37
|
+
};
|
|
38
|
+
});
|
|
39
|
+
export function responsesInputImageContentToJSON(responsesInputImageContent) {
|
|
40
|
+
return JSON.stringify(ResponsesInputImageContent$outboundSchema.parse(responsesInputImageContent));
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=responsesinputimagecontent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsesinputimagecontent.js","sourceRoot":"","sources":["../../../src/models/components/responsesinputimagecontent.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,gCAAgC,GAAG;IAC9C,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,QAAQ,EAAE,UAAU;CACZ,CAAC;AAsBX,gBAAgB;AAChB,MAAM,CAAC,MAAM,+CAA+C,GAExD,CAAC,CAAC,IAAI,CAAC,gCAAgC,CAAC,CAAC;AAS7C,gBAAgB;AAChB,MAAM,CAAC,MAAM,uEAAuE,GAI9E,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC;CAC5B,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC;AAEvB,MAAM,UAAU,8DAA8D,CAC5E,wDAC0D,EAClD;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,uEAAuE;SACpE,KAAK,CAAC,wDAAwD,CAAC,CACnE,CAAC;AAAA,CACH;AAeD,gBAAgB;AAChB,MAAM,CAAC,MAAM,yCAAyC,GAGlD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC;IAC9B,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,+CAA+C,CAAC;SAChE,QAAQ,EAAE;IACb,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACzC,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC3C,qBAAqB,EAAE,CAAC,CAAC,QAAQ,CAC/B,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CACV,uEAAuE,CACxE,CACF,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,MAAM,EAAE,SAAS;YACjB,QAAQ,EAAE,WAAW;YACrB,qBAAqB,EAAE,yBAAyB;SACjD,CAAC;KACH,CAAC;AAAA,CACH,CAAC,CAAC;AAEH,MAAM,UAAU,gCAAgC,CAC9C,0BAAsD,EAC9C;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,yCAAyC,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAC5E,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
export type ResponsesInputTextResponsesPromptCacheBreakpoint = {
|
|
3
|
+
mode: "explicit";
|
|
4
|
+
[additionalProperties: string]: unknown;
|
|
5
|
+
};
|
|
6
|
+
export type ResponsesInputText = {
|
|
7
|
+
text: string;
|
|
8
|
+
type: "input_text";
|
|
9
|
+
promptCacheBreakpoint?: ResponsesInputTextResponsesPromptCacheBreakpoint | null | undefined;
|
|
10
|
+
[additionalProperties: string]: unknown;
|
|
11
|
+
};
|
|
12
|
+
/** @internal */
|
|
13
|
+
export type ResponsesInputTextResponsesPromptCacheBreakpoint$Outbound = {
|
|
14
|
+
mode: "explicit";
|
|
15
|
+
[additionalProperties: string]: unknown;
|
|
16
|
+
};
|
|
17
|
+
/** @internal */
|
|
18
|
+
export declare const ResponsesInputTextResponsesPromptCacheBreakpoint$outboundSchema: z.ZodType<ResponsesInputTextResponsesPromptCacheBreakpoint$Outbound, ResponsesInputTextResponsesPromptCacheBreakpoint>;
|
|
19
|
+
export declare function responsesInputTextResponsesPromptCacheBreakpointToJSON(responsesInputTextResponsesPromptCacheBreakpoint: ResponsesInputTextResponsesPromptCacheBreakpoint): string;
|
|
20
|
+
/** @internal */
|
|
21
|
+
export type ResponsesInputText$Outbound = {
|
|
22
|
+
text: string;
|
|
23
|
+
type: "input_text";
|
|
24
|
+
prompt_cache_breakpoint?: ResponsesInputTextResponsesPromptCacheBreakpoint$Outbound | null | undefined;
|
|
25
|
+
[additionalProperties: string]: unknown;
|
|
26
|
+
};
|
|
27
|
+
/** @internal */
|
|
28
|
+
export declare const ResponsesInputText$outboundSchema: z.ZodType<ResponsesInputText$Outbound, ResponsesInputText>;
|
|
29
|
+
export declare function responsesInputTextToJSON(responsesInputText: ResponsesInputText): string;
|
|
30
|
+
//# sourceMappingURL=responsesinputtext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsesinputtext.d.ts","sourceRoot":"","sources":["../../../src/models/components/responsesinputtext.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,MAAM,MAAM,gDAAgD,GAAG;IAC7D,IAAI,EAAE,UAAU,CAAC;IACjB,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC;CACzC,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,YAAY,CAAC;IACnB,qBAAqB,CAAC,EAClB,gDAAgD,GAChD,IAAI,GACJ,SAAS,CAAC;IACd,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,yDAAyD,GAAG;IACtE,IAAI,EAAE,UAAU,CAAC;IACjB,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+DAA+D,EAC1E,CAAC,CAAC,OAAO,CACP,yDAAyD,EACzD,gDAAgD,CAG9B,CAAC;AAEvB,wBAAgB,sDAAsD,CACpE,gDAAgD,EAC9C,gDAAgD,GACjD,MAAM,CAMR;AAED,gBAAgB;AAChB,MAAM,MAAM,2BAA2B,GAAG;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,YAAY,CAAC;IACnB,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,CAelB,CAAC;AAEH,wBAAgB,wBAAwB,CACtC,kBAAkB,EAAE,kBAAkB,GACrC,MAAM,CAIR"}
|
|
@@ -0,0 +1,28 @@
|
|
|
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 ResponsesInputTextResponsesPromptCacheBreakpoint$outboundSchema = z.object({
|
|
8
|
+
mode: z.literal("explicit"),
|
|
9
|
+
}).catchall(z.any());
|
|
10
|
+
export function responsesInputTextResponsesPromptCacheBreakpointToJSON(responsesInputTextResponsesPromptCacheBreakpoint) {
|
|
11
|
+
return JSON.stringify(ResponsesInputTextResponsesPromptCacheBreakpoint$outboundSchema.parse(responsesInputTextResponsesPromptCacheBreakpoint));
|
|
12
|
+
}
|
|
13
|
+
/** @internal */
|
|
14
|
+
export const ResponsesInputText$outboundSchema = z.object({
|
|
15
|
+
text: z.string(),
|
|
16
|
+
type: z.literal("input_text"),
|
|
17
|
+
promptCacheBreakpoint: z.nullable(z.lazy(() => ResponsesInputTextResponsesPromptCacheBreakpoint$outboundSchema)).optional(),
|
|
18
|
+
}).catchall(z.any()).transform((v) => {
|
|
19
|
+
return {
|
|
20
|
+
...remap$(v, {
|
|
21
|
+
promptCacheBreakpoint: "prompt_cache_breakpoint",
|
|
22
|
+
}),
|
|
23
|
+
};
|
|
24
|
+
});
|
|
25
|
+
export function responsesInputTextToJSON(responsesInputText) {
|
|
26
|
+
return JSON.stringify(ResponsesInputText$outboundSchema.parse(responsesInputText));
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=responsesinputtext.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsesinputtext.js","sourceRoot":"","sources":["../../../src/models/components/responsesinputtext.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAuB1D,gBAAgB;AAChB,MAAM,CAAC,MAAM,+DAA+D,GAItE,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC;CAC5B,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC;AAEvB,MAAM,UAAU,sDAAsD,CACpE,gDACkD,EAC1C;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,+DAA+D,CAAC,KAAK,CACnE,gDAAgD,CACjD,CACF,CAAC;AAAA,CACH;AAaD,gBAAgB;AAChB,MAAM,CAAC,MAAM,iCAAiC,GAG1C,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,YAAY,CAAC;IAC7B,qBAAqB,EAAE,CAAC,CAAC,QAAQ,CAC/B,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CACV,+DAA+D,CAChE,CACF,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,qBAAqB,EAAE,yBAAyB;SACjD,CAAC;KACH,CAAC;AAAA,CACH,CAAC,CAAC;AAEH,MAAM,UAAU,wBAAwB,CACtC,kBAAsC,EAC9B;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,iCAAiC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAC5D,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
export type ResponsesInputTextContentResponsesPromptCacheBreakpoint = {
|
|
3
|
+
mode: "explicit";
|
|
4
|
+
[additionalProperties: string]: unknown;
|
|
5
|
+
};
|
|
6
|
+
export type ResponsesInputTextContent = {
|
|
7
|
+
text: string;
|
|
8
|
+
type: "input_text";
|
|
9
|
+
promptCacheBreakpoint?: ResponsesInputTextContentResponsesPromptCacheBreakpoint | null | undefined;
|
|
10
|
+
[additionalProperties: string]: unknown;
|
|
11
|
+
};
|
|
12
|
+
/** @internal */
|
|
13
|
+
export type ResponsesInputTextContentResponsesPromptCacheBreakpoint$Outbound = {
|
|
14
|
+
mode: "explicit";
|
|
15
|
+
[additionalProperties: string]: unknown;
|
|
16
|
+
};
|
|
17
|
+
/** @internal */
|
|
18
|
+
export declare const ResponsesInputTextContentResponsesPromptCacheBreakpoint$outboundSchema: z.ZodType<ResponsesInputTextContentResponsesPromptCacheBreakpoint$Outbound, ResponsesInputTextContentResponsesPromptCacheBreakpoint>;
|
|
19
|
+
export declare function responsesInputTextContentResponsesPromptCacheBreakpointToJSON(responsesInputTextContentResponsesPromptCacheBreakpoint: ResponsesInputTextContentResponsesPromptCacheBreakpoint): string;
|
|
20
|
+
/** @internal */
|
|
21
|
+
export type ResponsesInputTextContent$Outbound = {
|
|
22
|
+
text: string;
|
|
23
|
+
type: "input_text";
|
|
24
|
+
prompt_cache_breakpoint?: ResponsesInputTextContentResponsesPromptCacheBreakpoint$Outbound | null | undefined;
|
|
25
|
+
[additionalProperties: string]: unknown;
|
|
26
|
+
};
|
|
27
|
+
/** @internal */
|
|
28
|
+
export declare const ResponsesInputTextContent$outboundSchema: z.ZodType<ResponsesInputTextContent$Outbound, ResponsesInputTextContent>;
|
|
29
|
+
export declare function responsesInputTextContentToJSON(responsesInputTextContent: ResponsesInputTextContent): string;
|
|
30
|
+
//# sourceMappingURL=responsesinputtextcontent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsesinputtextcontent.d.ts","sourceRoot":"","sources":["../../../src/models/components/responsesinputtextcontent.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,MAAM,MAAM,uDAAuD,GAAG;IACpE,IAAI,EAAE,UAAU,CAAC;IACjB,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC;CACzC,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,YAAY,CAAC;IACnB,qBAAqB,CAAC,EAClB,uDAAuD,GACvD,IAAI,GACJ,SAAS,CAAC;IACd,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,gEAAgE,GAAG;IAC7E,IAAI,EAAE,UAAU,CAAC;IACjB,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sEAAsE,EACjF,CAAC,CAAC,OAAO,CACP,gEAAgE,EAChE,uDAAuD,CAGrC,CAAC;AAEvB,wBAAgB,6DAA6D,CAC3E,uDAAuD,EACrD,uDAAuD,GACxD,MAAM,CAKR;AAED,gBAAgB;AAChB,MAAM,MAAM,kCAAkC,GAAG;IAC/C,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,YAAY,CAAC;IACnB,uBAAuB,CAAC,EACpB,gEAAgE,GAChE,IAAI,GACJ,SAAS,CAAC;IACd,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,kCAAkC,EAClC,yBAAyB,CAezB,CAAC;AAEH,wBAAgB,+BAA+B,CAC7C,yBAAyB,EAAE,yBAAyB,GACnD,MAAM,CAIR"}
|
|
@@ -0,0 +1,29 @@
|
|
|
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 ResponsesInputTextContentResponsesPromptCacheBreakpoint$outboundSchema = z.object({
|
|
8
|
+
mode: z.literal("explicit"),
|
|
9
|
+
}).catchall(z.any());
|
|
10
|
+
export function responsesInputTextContentResponsesPromptCacheBreakpointToJSON(responsesInputTextContentResponsesPromptCacheBreakpoint) {
|
|
11
|
+
return JSON.stringify(ResponsesInputTextContentResponsesPromptCacheBreakpoint$outboundSchema
|
|
12
|
+
.parse(responsesInputTextContentResponsesPromptCacheBreakpoint));
|
|
13
|
+
}
|
|
14
|
+
/** @internal */
|
|
15
|
+
export const ResponsesInputTextContent$outboundSchema = z.object({
|
|
16
|
+
text: z.string(),
|
|
17
|
+
type: z.literal("input_text"),
|
|
18
|
+
promptCacheBreakpoint: z.nullable(z.lazy(() => ResponsesInputTextContentResponsesPromptCacheBreakpoint$outboundSchema)).optional(),
|
|
19
|
+
}).catchall(z.any()).transform((v) => {
|
|
20
|
+
return {
|
|
21
|
+
...remap$(v, {
|
|
22
|
+
promptCacheBreakpoint: "prompt_cache_breakpoint",
|
|
23
|
+
}),
|
|
24
|
+
};
|
|
25
|
+
});
|
|
26
|
+
export function responsesInputTextContentToJSON(responsesInputTextContent) {
|
|
27
|
+
return JSON.stringify(ResponsesInputTextContent$outboundSchema.parse(responsesInputTextContent));
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=responsesinputtextcontent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsesinputtextcontent.js","sourceRoot":"","sources":["../../../src/models/components/responsesinputtextcontent.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAuB1D,gBAAgB;AAChB,MAAM,CAAC,MAAM,sEAAsE,GAI7E,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC;CAC5B,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC;AAEvB,MAAM,UAAU,6DAA6D,CAC3E,uDACyD,EACjD;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,sEAAsE;SACnE,KAAK,CAAC,uDAAuD,CAAC,CAClE,CAAC;AAAA,CACH;AAaD,gBAAgB;AAChB,MAAM,CAAC,MAAM,wCAAwC,GAGjD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,YAAY,CAAC;IAC7B,qBAAqB,EAAE,CAAC,CAAC,QAAQ,CAC/B,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CACV,sEAAsE,CACvE,CACF,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,qBAAqB,EAAE,yBAAyB;SACjD,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"}
|
|
@@ -0,0 +1,12 @@
|
|
|
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 ResponsesInputTokensDetails = {
|
|
5
|
+
cacheWriteTokens: number;
|
|
6
|
+
cachedTokens: number;
|
|
7
|
+
[additionalProperties: string]: unknown;
|
|
8
|
+
};
|
|
9
|
+
/** @internal */
|
|
10
|
+
export declare const ResponsesInputTokensDetails$inboundSchema: z.ZodType<ResponsesInputTokensDetails, unknown>;
|
|
11
|
+
export declare function responsesInputTokensDetailsFromJSON(jsonString: string): SafeParseResult<ResponsesInputTokensDetails, SDKValidationError>;
|
|
12
|
+
//# sourceMappingURL=responsesinputtokensdetails.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsesinputtokensdetails.d.ts","sourceRoot":"","sources":["../../../src/models/components/responsesinputtokensdetails.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,2BAA2B,GAAG;IACxC,gBAAgB,EAAE,MAAM,CAAC;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,OAAO,CAC/D,2BAA2B,EAC3B,OAAO,CASP,CAAC;AAEH,wBAAgB,mCAAmC,CACjD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,2BAA2B,EAAE,kBAAkB,CAAC,CAMlE"}
|
|
@@ -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
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
/** @internal */
|
|
8
|
+
export const ResponsesInputTokensDetails$inboundSchema = z.object({
|
|
9
|
+
cache_write_tokens: z.int(),
|
|
10
|
+
cached_tokens: z.int(),
|
|
11
|
+
}).catchall(z.any()).transform((v) => {
|
|
12
|
+
return remap$(v, {
|
|
13
|
+
"cache_write_tokens": "cacheWriteTokens",
|
|
14
|
+
"cached_tokens": "cachedTokens",
|
|
15
|
+
});
|
|
16
|
+
});
|
|
17
|
+
export function responsesInputTokensDetailsFromJSON(jsonString) {
|
|
18
|
+
return safeParse(jsonString, (x) => ResponsesInputTokensDetails$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponsesInputTokensDetails' from JSON`);
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=responsesinputtokensdetails.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsesinputtokensdetails.js","sourceRoot":"","sources":["../../../src/models/components/responsesinputtokensdetails.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;AAUjD,gBAAgB;AAChB,MAAM,CAAC,MAAM,yCAAyC,GAGlD,CAAC,CAAC,MAAM,CAAC;IACX,kBAAkB,EAAE,CAAC,CAAC,GAAG,EAAE;IAC3B,aAAa,EAAE,CAAC,CAAC,GAAG,EAAE;CACvB,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACpC,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,oBAAoB,EAAE,kBAAkB;QACxC,eAAe,EAAE,cAAc;KAChC,CAAC,CAAC;AAAA,CACJ,CAAC,CAAC;AAEH,MAAM,UAAU,mCAAmC,CACjD,UAAkB,EACgD;IAClE,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,yCAAyC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACrE,yDAAyD,CAC1D,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,46 @@
|
|
|
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 ResponsesMessageContent = ResponsesInputText | ResponsesInputImage | ResponsesInputFile;
|
|
7
|
+
export declare const ResponsesMessageRole: {
|
|
8
|
+
readonly User: "user";
|
|
9
|
+
readonly System: "system";
|
|
10
|
+
readonly Developer: "developer";
|
|
11
|
+
};
|
|
12
|
+
export type ResponsesMessageRole = ClosedEnum<typeof ResponsesMessageRole>;
|
|
13
|
+
export declare const ResponsesMessageStatus: {
|
|
14
|
+
readonly InProgress: "in_progress";
|
|
15
|
+
readonly Completed: "completed";
|
|
16
|
+
readonly Incomplete: "incomplete";
|
|
17
|
+
};
|
|
18
|
+
export type ResponsesMessageStatus = ClosedEnum<typeof ResponsesMessageStatus>;
|
|
19
|
+
export type ResponsesMessage = {
|
|
20
|
+
content: Array<ResponsesInputText | ResponsesInputImage | ResponsesInputFile>;
|
|
21
|
+
role: ResponsesMessageRole;
|
|
22
|
+
status?: ResponsesMessageStatus | null | undefined;
|
|
23
|
+
type?: "message" | null | undefined;
|
|
24
|
+
[additionalProperties: string]: unknown;
|
|
25
|
+
};
|
|
26
|
+
/** @internal */
|
|
27
|
+
export type ResponsesMessageContent$Outbound = ResponsesInputText$Outbound | ResponsesInputImage$Outbound | ResponsesInputFile$Outbound;
|
|
28
|
+
/** @internal */
|
|
29
|
+
export declare const ResponsesMessageContent$outboundSchema: z.ZodType<ResponsesMessageContent$Outbound, ResponsesMessageContent>;
|
|
30
|
+
export declare function responsesMessageContentToJSON(responsesMessageContent: ResponsesMessageContent): string;
|
|
31
|
+
/** @internal */
|
|
32
|
+
export declare const ResponsesMessageRole$outboundSchema: z.ZodEnum<typeof ResponsesMessageRole>;
|
|
33
|
+
/** @internal */
|
|
34
|
+
export declare const ResponsesMessageStatus$outboundSchema: z.ZodEnum<typeof ResponsesMessageStatus>;
|
|
35
|
+
/** @internal */
|
|
36
|
+
export type ResponsesMessage$Outbound = {
|
|
37
|
+
content: Array<ResponsesInputText$Outbound | ResponsesInputImage$Outbound | ResponsesInputFile$Outbound>;
|
|
38
|
+
role: string;
|
|
39
|
+
status?: string | null | undefined;
|
|
40
|
+
type?: "message" | null | undefined;
|
|
41
|
+
[additionalProperties: string]: unknown;
|
|
42
|
+
};
|
|
43
|
+
/** @internal */
|
|
44
|
+
export declare const ResponsesMessage$outboundSchema: z.ZodType<ResponsesMessage$Outbound, ResponsesMessage>;
|
|
45
|
+
export declare function responsesMessageToJSON(responsesMessage: ResponsesMessage): string;
|
|
46
|
+
//# sourceMappingURL=responsesmessage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsesmessage.d.ts","sourceRoot":"","sources":["../../../src/models/components/responsesmessage.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,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,uBAAuB,GAC/B,kBAAkB,GAClB,mBAAmB,GACnB,kBAAkB,CAAC;AAEvB,eAAO,MAAM,oBAAoB;;;;CAIvB,CAAC;AACX,MAAM,MAAM,oBAAoB,GAAG,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAE3E,eAAO,MAAM,sBAAsB;;;;CAIzB,CAAC;AACX,MAAM,MAAM,sBAAsB,GAAG,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAE/E,MAAM,MAAM,gBAAgB,GAAG;IAC7B,OAAO,EAAE,KAAK,CAAC,kBAAkB,GAAG,mBAAmB,GAAG,kBAAkB,CAAC,CAAC;IAC9E,IAAI,EAAE,oBAAoB,CAAC;IAC3B,MAAM,CAAC,EAAE,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NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4";
|
|
5
|
+
import { ResponsesInputFile$outboundSchema, } from "./responsesinputfile.js";
|
|
6
|
+
import { ResponsesInputImage$outboundSchema, } from "./responsesinputimage.js";
|
|
7
|
+
import { ResponsesInputText$outboundSchema, } from "./responsesinputtext.js";
|
|
8
|
+
export const ResponsesMessageRole = {
|
|
9
|
+
User: "user",
|
|
10
|
+
System: "system",
|
|
11
|
+
Developer: "developer",
|
|
12
|
+
};
|
|
13
|
+
export const ResponsesMessageStatus = {
|
|
14
|
+
InProgress: "in_progress",
|
|
15
|
+
Completed: "completed",
|
|
16
|
+
Incomplete: "incomplete",
|
|
17
|
+
};
|
|
18
|
+
/** @internal */
|
|
19
|
+
export const ResponsesMessageContent$outboundSchema = z.union([
|
|
20
|
+
ResponsesInputText$outboundSchema,
|
|
21
|
+
ResponsesInputImage$outboundSchema,
|
|
22
|
+
ResponsesInputFile$outboundSchema,
|
|
23
|
+
]);
|
|
24
|
+
export function responsesMessageContentToJSON(responsesMessageContent) {
|
|
25
|
+
return JSON.stringify(ResponsesMessageContent$outboundSchema.parse(responsesMessageContent));
|
|
26
|
+
}
|
|
27
|
+
/** @internal */
|
|
28
|
+
export const ResponsesMessageRole$outboundSchema = z.enum(ResponsesMessageRole);
|
|
29
|
+
/** @internal */
|
|
30
|
+
export const ResponsesMessageStatus$outboundSchema = z.enum(ResponsesMessageStatus);
|
|
31
|
+
/** @internal */
|
|
32
|
+
export const ResponsesMessage$outboundSchema = z.object({
|
|
33
|
+
content: z.array(z.union([
|
|
34
|
+
ResponsesInputText$outboundSchema,
|
|
35
|
+
ResponsesInputImage$outboundSchema,
|
|
36
|
+
ResponsesInputFile$outboundSchema,
|
|
37
|
+
])),
|
|
38
|
+
role: ResponsesMessageRole$outboundSchema,
|
|
39
|
+
status: z.nullable(ResponsesMessageStatus$outboundSchema).optional(),
|
|
40
|
+
type: z.nullable(z.literal("message")).optional(),
|
|
41
|
+
}).catchall(z.any());
|
|
42
|
+
export function responsesMessageToJSON(responsesMessage) {
|
|
43
|
+
return JSON.stringify(ResponsesMessage$outboundSchema.parse(responsesMessage));
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=responsesmessage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsesmessage.js","sourceRoot":"","sources":["../../../src/models/components/responsesmessage.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAGL,iCAAiC,GAClC,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAGL,kCAAkC,GACnC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAGL,iCAAiC,GAClC,MAAM,yBAAyB,CAAC;AAOjC,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;IAChB,SAAS,EAAE,WAAW;CACd,CAAC;AAGX,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,UAAU,EAAE,aAAa;IACzB,SAAS,EAAE,WAAW;IACtB,UAAU,EAAE,YAAY;CAChB,CAAC;AAiBX,gBAAgB;AAChB,MAAM,CAAC,MAAM,sCAAsC,GAG/C,CAAC,CAAC,KAAK,CAAC;IACV,iCAAiC;IACjC,kCAAkC;IAClC,iCAAiC;CAClC,CAAC,CAAC;AAEH,MAAM,UAAU,6BAA6B,CAC3C,uBAAgD,EACxC;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,sCAAsC,CAAC,KAAK,CAAC,uBAAuB,CAAC,CACtE,CAAC;AAAA,CACH;AAED,gBAAgB;AAChB,MAAM,CAAC,MAAM,mCAAmC,GAE5C,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC;AAEjC,gBAAgB;AAChB,MAAM,CAAC,MAAM,qCAAqC,GAE9C,CAAC,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC;AAenC,gBAAgB;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