@orq-ai/node 4.11.0-rc.7 → 4.11.0-rc.8
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/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/index.d.ts +33 -8
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +33 -8
- package/models/components/index.js.map +1 -1
- package/models/components/publicresponseresource.d.ts +4 -4
- package/models/components/publicresponseresource.d.ts.map +1 -1
- package/models/components/publicresponseresource.js +4 -4
- package/models/components/publicresponseresource.js.map +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/components/responsecodeinterpretercallcodedeltastreamevent.d.ts +35 -0
- package/models/components/responsecodeinterpretercallcodedeltastreamevent.d.ts.map +1 -0
- package/models/components/{responsecodeinterpretercodedeltastreamevent.js → responsecodeinterpretercallcodedeltastreamevent.js} +7 -35
- package/models/components/responsecodeinterpretercallcodedeltastreamevent.js.map +1 -0
- package/models/components/responsecodeinterpretercallcodedonestreamevent.d.ts +35 -0
- package/models/components/responsecodeinterpretercallcodedonestreamevent.d.ts.map +1 -0
- package/models/components/{responsecodeinterpretercodedonestreamevent.js → responsecodeinterpretercallcodedonestreamevent.js} +7 -35
- package/models/components/responsecodeinterpretercallcodedonestreamevent.js.map +1 -0
- package/models/components/responsecodeinterpretercallcompletedstreamevent.d.ts +31 -0
- package/models/components/responsecodeinterpretercallcompletedstreamevent.d.ts.map +1 -0
- package/models/components/responsecodeinterpretercallcompletedstreamevent.js +60 -0
- package/models/components/responsecodeinterpretercallcompletedstreamevent.js.map +1 -0
- package/models/components/responsecodeinterpretercallinprogressstreamevent.d.ts +31 -0
- package/models/components/responsecodeinterpretercallinprogressstreamevent.d.ts.map +1 -0
- package/models/components/responsecodeinterpretercallinprogressstreamevent.js +60 -0
- package/models/components/responsecodeinterpretercallinprogressstreamevent.js.map +1 -0
- package/models/components/responsecodeinterpretercallinterpretingstreamevent.d.ts +31 -0
- package/models/components/responsecodeinterpretercallinterpretingstreamevent.d.ts.map +1 -0
- package/models/components/responsecodeinterpretercallinterpretingstreamevent.js +60 -0
- package/models/components/responsecodeinterpretercallinterpretingstreamevent.js.map +1 -0
- package/models/components/responsecompletedstreamevent.d.ts +25 -0
- package/models/components/responsecompletedstreamevent.d.ts.map +1 -0
- package/models/components/responsecompletedstreamevent.js +58 -0
- package/models/components/responsecompletedstreamevent.js.map +1 -0
- package/models/components/responsecontentpartaddedstreamevent.d.ts +41 -0
- package/models/components/responsecontentpartaddedstreamevent.d.ts.map +1 -0
- package/models/components/responsecontentpartaddedstreamevent.js +63 -0
- package/models/components/responsecontentpartaddedstreamevent.js.map +1 -0
- package/models/components/responsecontentpartdonestreamevent.d.ts +41 -0
- package/models/components/responsecontentpartdonestreamevent.d.ts.map +1 -0
- package/models/components/responsecontentpartdonestreamevent.js +63 -0
- package/models/components/responsecontentpartdonestreamevent.js.map +1 -0
- package/models/components/responsecreatedstreamevent.d.ts +25 -0
- package/models/components/responsecreatedstreamevent.d.ts.map +1 -0
- package/models/components/responsecreatedstreamevent.js +58 -0
- package/models/components/responsecreatedstreamevent.js.map +1 -0
- package/models/components/responseerrorstreamevent.d.ts +4 -30
- package/models/components/responseerrorstreamevent.d.ts.map +1 -1
- package/models/components/responseerrorstreamevent.js +3 -30
- package/models/components/responseerrorstreamevent.js.map +1 -1
- package/models/components/responsefailedstreamevent.d.ts +25 -0
- package/models/components/responsefailedstreamevent.d.ts.map +1 -0
- package/models/components/responsefailedstreamevent.js +58 -0
- package/models/components/responsefailedstreamevent.js.map +1 -0
- package/models/components/responsefilesearchcallcompletedstreamevent.d.ts +31 -0
- package/models/components/responsefilesearchcallcompletedstreamevent.d.ts.map +1 -0
- package/models/components/responsefilesearchcallcompletedstreamevent.js +60 -0
- package/models/components/responsefilesearchcallcompletedstreamevent.js.map +1 -0
- package/models/components/responsefilesearchcallinprogressstreamevent.d.ts +31 -0
- package/models/components/responsefilesearchcallinprogressstreamevent.d.ts.map +1 -0
- package/models/components/responsefilesearchcallinprogressstreamevent.js +60 -0
- package/models/components/responsefilesearchcallinprogressstreamevent.js.map +1 -0
- package/models/components/responsefilesearchcallsearchingstreamevent.d.ts +31 -0
- package/models/components/responsefilesearchcallsearchingstreamevent.d.ts.map +1 -0
- package/models/components/responsefilesearchcallsearchingstreamevent.js +60 -0
- package/models/components/responsefilesearchcallsearchingstreamevent.js.map +1 -0
- package/models/components/responsefunctioncallargumentsdeltastreamevent.d.ts +4 -30
- package/models/components/responsefunctioncallargumentsdeltastreamevent.d.ts.map +1 -1
- package/models/components/responsefunctioncallargumentsdeltastreamevent.js +3 -31
- package/models/components/responsefunctioncallargumentsdeltastreamevent.js.map +1 -1
- package/models/components/responsefunctioncallargumentsdonestreamevent.d.ts +4 -30
- package/models/components/responsefunctioncallargumentsdonestreamevent.d.ts.map +1 -1
- package/models/components/responsefunctioncallargumentsdonestreamevent.js +3 -31
- package/models/components/responsefunctioncallargumentsdonestreamevent.js.map +1 -1
- package/models/components/responseimagegenerationcallcompletedstreamevent.d.ts +31 -0
- package/models/components/responseimagegenerationcallcompletedstreamevent.d.ts.map +1 -0
- package/models/components/responseimagegenerationcallcompletedstreamevent.js +60 -0
- package/models/components/responseimagegenerationcallcompletedstreamevent.js.map +1 -0
- package/models/components/responseimagegenerationcallgeneratingstreamevent.d.ts +31 -0
- package/models/components/responseimagegenerationcallgeneratingstreamevent.d.ts.map +1 -0
- package/models/components/responseimagegenerationcallgeneratingstreamevent.js +60 -0
- package/models/components/responseimagegenerationcallgeneratingstreamevent.js.map +1 -0
- package/models/components/responseimagegenerationcallinprogressstreamevent.d.ts +31 -0
- package/models/components/responseimagegenerationcallinprogressstreamevent.d.ts.map +1 -0
- package/models/components/responseimagegenerationcallinprogressstreamevent.js +60 -0
- package/models/components/responseimagegenerationcallinprogressstreamevent.js.map +1 -0
- package/models/components/responseimagegenerationcallpartialimagestreamevent.d.ts +39 -0
- package/models/components/responseimagegenerationcallpartialimagestreamevent.d.ts.map +1 -0
- package/models/components/{responseimagegenerationpartialimagestreamevent.js → responseimagegenerationcallpartialimagestreamevent.js} +7 -35
- package/models/components/responseimagegenerationcallpartialimagestreamevent.js.map +1 -0
- package/models/components/responseincompletestreamevent.d.ts +25 -0
- package/models/components/responseincompletestreamevent.d.ts.map +1 -0
- package/models/components/responseincompletestreamevent.js +58 -0
- package/models/components/responseincompletestreamevent.js.map +1 -0
- package/models/components/responseinprogressstreamevent.d.ts +25 -0
- package/models/components/responseinprogressstreamevent.d.ts.map +1 -0
- package/models/components/responseinprogressstreamevent.js +58 -0
- package/models/components/responseinprogressstreamevent.js.map +1 -0
- package/models/components/responsemcpcallargumentsdeltastreamevent.d.ts +6 -32
- package/models/components/responsemcpcallargumentsdeltastreamevent.d.ts.map +1 -1
- package/models/components/responsemcpcallargumentsdeltastreamevent.js +6 -34
- package/models/components/responsemcpcallargumentsdeltastreamevent.js.map +1 -1
- package/models/components/responsemcpcallargumentsdonestreamevent.d.ts +6 -32
- package/models/components/responsemcpcallargumentsdonestreamevent.d.ts.map +1 -1
- package/models/components/responsemcpcallargumentsdonestreamevent.js +6 -34
- package/models/components/responsemcpcallargumentsdonestreamevent.js.map +1 -1
- package/models/components/responsemcpcallcompletedstreamevent.d.ts +31 -0
- package/models/components/responsemcpcallcompletedstreamevent.d.ts.map +1 -0
- package/models/components/responsemcpcallcompletedstreamevent.js +60 -0
- package/models/components/responsemcpcallcompletedstreamevent.js.map +1 -0
- package/models/components/responsemcpcallfailedstreamevent.d.ts +31 -0
- package/models/components/responsemcpcallfailedstreamevent.d.ts.map +1 -0
- package/models/components/responsemcpcallfailedstreamevent.js +60 -0
- package/models/components/responsemcpcallfailedstreamevent.js.map +1 -0
- package/models/components/responsemcpcallinprogressstreamevent.d.ts +31 -0
- package/models/components/responsemcpcallinprogressstreamevent.d.ts.map +1 -0
- package/models/components/responsemcpcallinprogressstreamevent.js +60 -0
- package/models/components/responsemcpcallinprogressstreamevent.js.map +1 -0
- package/models/components/responseoutputitemaddedstreamevent.d.ts +33 -0
- package/models/components/responseoutputitemaddedstreamevent.d.ts.map +1 -0
- package/models/components/responseoutputitemaddedstreamevent.js +59 -0
- package/models/components/responseoutputitemaddedstreamevent.js.map +1 -0
- package/models/components/responseoutputitemdonestreamevent.d.ts +33 -0
- package/models/components/responseoutputitemdonestreamevent.d.ts.map +1 -0
- package/models/components/responseoutputitemdonestreamevent.js +59 -0
- package/models/components/responseoutputitemdonestreamevent.js.map +1 -0
- package/models/components/responseoutputtextannotationaddedstreamevent.d.ts +4 -30
- package/models/components/responseoutputtextannotationaddedstreamevent.d.ts.map +1 -1
- package/models/components/responseoutputtextannotationaddedstreamevent.js +3 -31
- package/models/components/responseoutputtextannotationaddedstreamevent.js.map +1 -1
- package/models/components/responseoutputtextdeltastreamevent.d.ts +4 -30
- package/models/components/responseoutputtextdeltastreamevent.d.ts.map +1 -1
- package/models/components/responseoutputtextdeltastreamevent.js +3 -30
- package/models/components/responseoutputtextdeltastreamevent.js.map +1 -1
- package/models/components/responseoutputtextdonestreamevent.d.ts +4 -30
- package/models/components/responseoutputtextdonestreamevent.d.ts.map +1 -1
- package/models/components/responseoutputtextdonestreamevent.js +3 -30
- package/models/components/responseoutputtextdonestreamevent.js.map +1 -1
- package/models/components/responsequeuedstreamevent.d.ts +25 -0
- package/models/components/responsequeuedstreamevent.d.ts.map +1 -0
- package/models/components/responsequeuedstreamevent.js +58 -0
- package/models/components/responsequeuedstreamevent.js.map +1 -0
- package/models/components/responsereasoningdeltastreamevent.d.ts +4 -44
- package/models/components/responsereasoningdeltastreamevent.d.ts.map +1 -1
- package/models/components/responsereasoningdeltastreamevent.js +3 -40
- package/models/components/responsereasoningdeltastreamevent.js.map +1 -1
- package/models/components/responsereasoningdonestreamevent.d.ts +4 -44
- package/models/components/responsereasoningdonestreamevent.d.ts.map +1 -1
- package/models/components/responsereasoningdonestreamevent.js +3 -40
- package/models/components/responsereasoningdonestreamevent.js.map +1 -1
- package/models/components/responsereasoningsummarypartaddedstreamevent.d.ts +41 -0
- package/models/components/responsereasoningsummarypartaddedstreamevent.d.ts.map +1 -0
- package/models/components/responsereasoningsummarypartaddedstreamevent.js +63 -0
- package/models/components/responsereasoningsummarypartaddedstreamevent.js.map +1 -0
- package/models/components/responsereasoningsummarypartdonestreamevent.d.ts +41 -0
- package/models/components/responsereasoningsummarypartdonestreamevent.d.ts.map +1 -0
- package/models/components/responsereasoningsummarypartdonestreamevent.js +63 -0
- package/models/components/responsereasoningsummarypartdonestreamevent.js.map +1 -0
- package/models/components/responsereasoningsummarytextdeltastreamevent.d.ts +4 -30
- package/models/components/responsereasoningsummarytextdeltastreamevent.d.ts.map +1 -1
- package/models/components/responsereasoningsummarytextdeltastreamevent.js +3 -31
- package/models/components/responsereasoningsummarytextdeltastreamevent.js.map +1 -1
- package/models/components/responsereasoningsummarytextdonestreamevent.d.ts +4 -30
- package/models/components/responsereasoningsummarytextdonestreamevent.d.ts.map +1 -1
- package/models/components/responsereasoningsummarytextdonestreamevent.js +3 -31
- package/models/components/responsereasoningsummarytextdonestreamevent.js.map +1 -1
- package/models/components/responsereasoningtextdeltastreamevent.d.ts +43 -0
- package/models/components/responsereasoningtextdeltastreamevent.d.ts.map +1 -0
- package/models/components/responsereasoningtextdeltastreamevent.js +64 -0
- package/models/components/responsereasoningtextdeltastreamevent.js.map +1 -0
- package/models/components/responsereasoningtextdonestreamevent.d.ts +39 -0
- package/models/components/responsereasoningtextdonestreamevent.d.ts.map +1 -0
- package/models/components/responsereasoningtextdonestreamevent.js +63 -0
- package/models/components/responsereasoningtextdonestreamevent.js.map +1 -0
- package/models/components/responserefusaldeltastreamevent.d.ts +4 -30
- package/models/components/responserefusaldeltastreamevent.d.ts.map +1 -1
- package/models/components/responserefusaldeltastreamevent.js +3 -30
- package/models/components/responserefusaldeltastreamevent.js.map +1 -1
- package/models/components/responserefusaldonestreamevent.d.ts +4 -30
- package/models/components/responserefusaldonestreamevent.d.ts.map +1 -1
- package/models/components/responserefusaldonestreamevent.js +3 -30
- package/models/components/responserefusaldonestreamevent.js.map +1 -1
- package/models/components/responsestreamevent.d.ts +57 -0
- package/models/components/responsestreamevent.d.ts.map +1 -0
- package/models/components/responsestreamevent.js +141 -0
- package/models/components/responsestreamevent.js.map +1 -0
- package/models/components/responsewebsearchcallcompletedstreamevent.d.ts +31 -0
- package/models/components/responsewebsearchcallcompletedstreamevent.d.ts.map +1 -0
- package/models/components/responsewebsearchcallcompletedstreamevent.js +60 -0
- package/models/components/responsewebsearchcallcompletedstreamevent.js.map +1 -0
- package/models/components/responsewebsearchcallinprogressstreamevent.d.ts +31 -0
- package/models/components/responsewebsearchcallinprogressstreamevent.d.ts.map +1 -0
- package/models/components/responsewebsearchcallinprogressstreamevent.js +60 -0
- package/models/components/responsewebsearchcallinprogressstreamevent.js.map +1 -0
- package/models/components/responsewebsearchcallsearchingstreamevent.d.ts +31 -0
- package/models/components/responsewebsearchcallsearchingstreamevent.d.ts.map +1 -0
- package/models/components/responsewebsearchcallsearchingstreamevent.js +60 -0
- package/models/components/responsewebsearchcallsearchingstreamevent.js.map +1 -0
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +4 -4
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createeval.js +16 -16
- package/models/operations/createrouterresponse.d.ts +8 -127
- package/models/operations/createrouterresponse.d.ts.map +1 -1
- package/models/operations/createrouterresponse.js +17 -140
- package/models/operations/createrouterresponse.js.map +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getevals.js +16 -16
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/listdatasetdatapoints.js +4 -4
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +3 -3
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrievedatapoint.js +4 -4
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updatedatapoint.js +4 -4
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updateeval.js +16 -16
- package/models/operations/updatetool.js +7 -7
- package/package.json +3 -3
- package/sdk/feedback.d.ts +0 -3
- package/sdk/feedback.d.ts.map +1 -1
- package/sdk/feedback.js +0 -3
- package/sdk/feedback.js.map +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/index.ts +33 -8
- package/src/models/components/publicresponseresource.ts +8 -8
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/components/responsecodeinterpretercallcodedeltastreamevent.ts +79 -0
- package/src/models/components/responsecodeinterpretercallcodedonestreamevent.ts +79 -0
- package/src/models/components/responsecodeinterpretercallcompletedstreamevent.ts +74 -0
- package/src/models/components/responsecodeinterpretercallinprogressstreamevent.ts +74 -0
- package/src/models/components/responsecodeinterpretercallinterpretingstreamevent.ts +74 -0
- package/src/models/components/responsecompletedstreamevent.ts +61 -0
- package/src/models/components/responsecontentpartaddedstreamevent.ts +79 -0
- package/src/models/components/responsecontentpartdonestreamevent.ts +79 -0
- package/src/models/components/responsecreatedstreamevent.ts +61 -0
- package/src/models/components/responseerrorstreamevent.ts +7 -65
- package/src/models/components/responsefailedstreamevent.ts +61 -0
- package/src/models/components/responsefilesearchcallcompletedstreamevent.ts +71 -0
- package/src/models/components/responsefilesearchcallinprogressstreamevent.ts +74 -0
- package/src/models/components/responsefilesearchcallsearchingstreamevent.ts +71 -0
- package/src/models/components/responsefunctioncallargumentsdeltastreamevent.ts +7 -76
- package/src/models/components/responsefunctioncallargumentsdonestreamevent.ts +7 -76
- package/src/models/components/responseimagegenerationcallcompletedstreamevent.ts +74 -0
- package/src/models/components/responseimagegenerationcallgeneratingstreamevent.ts +74 -0
- package/src/models/components/responseimagegenerationcallinprogressstreamevent.ts +74 -0
- package/src/models/components/responseimagegenerationcallpartialimagestreamevent.ts +86 -0
- package/src/models/components/responseincompletestreamevent.ts +61 -0
- package/src/models/components/responseinprogressstreamevent.ts +61 -0
- package/src/models/components/responsemcpcallargumentsdeltastreamevent.ts +26 -93
- package/src/models/components/responsemcpcallargumentsdonestreamevent.ts +26 -93
- package/src/models/components/responsemcpcallcompletedstreamevent.ts +68 -0
- package/src/models/components/responsemcpcallfailedstreamevent.ts +67 -0
- package/src/models/components/responsemcpcallinprogressstreamevent.ts +68 -0
- package/src/models/components/responseoutputitemaddedstreamevent.ts +67 -0
- package/src/models/components/responseoutputitemdonestreamevent.ts +66 -0
- package/src/models/components/responseoutputtextannotationaddedstreamevent.ts +7 -76
- package/src/models/components/responseoutputtextdeltastreamevent.ts +7 -67
- package/src/models/components/responseoutputtextdonestreamevent.ts +7 -67
- package/src/models/components/responsequeuedstreamevent.ts +61 -0
- package/src/models/components/responsereasoningdeltastreamevent.ts +7 -88
- package/src/models/components/responsereasoningdonestreamevent.ts +7 -88
- package/src/models/components/responsereasoningsummarypartaddedstreamevent.ts +85 -0
- package/src/models/components/responsereasoningsummarypartdonestreamevent.ts +85 -0
- package/src/models/components/responsereasoningsummarytextdeltastreamevent.ts +7 -76
- package/src/models/components/responsereasoningsummarytextdonestreamevent.ts +7 -76
- package/src/models/components/responsereasoningtextdeltastreamevent.ts +84 -0
- package/src/models/components/responsereasoningtextdonestreamevent.ts +79 -0
- package/src/models/components/responserefusaldeltastreamevent.ts +7 -66
- package/src/models/components/responserefusaldonestreamevent.ts +7 -66
- package/src/models/components/responsestreamevent.ts +307 -0
- package/src/models/components/responsewebsearchcallcompletedstreamevent.ts +73 -0
- package/src/models/components/responsewebsearchcallinprogressstreamevent.ts +71 -0
- package/src/models/components/responsewebsearchcallsearchingstreamevent.ts +73 -0
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +4 -4
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createeval.ts +16 -16
- package/src/models/operations/createrouterresponse.ts +24 -468
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +16 -16
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +4 -4
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievedatasource.ts +1 -1
- package/src/models/operations/retrievetool.ts +6 -6
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +4 -4
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updateeval.ts +16 -16
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/feedback.ts +0 -3
- package/models/components/responsecodeinterpretercodedeltastreamevent.d.ts +0 -61
- package/models/components/responsecodeinterpretercodedeltastreamevent.d.ts.map +0 -1
- package/models/components/responsecodeinterpretercodedeltastreamevent.js.map +0 -1
- package/models/components/responsecodeinterpretercodedonestreamevent.d.ts +0 -61
- package/models/components/responsecodeinterpretercodedonestreamevent.d.ts.map +0 -1
- package/models/components/responsecodeinterpretercodedonestreamevent.js.map +0 -1
- package/models/components/responsecontentpartstreamevent.d.ts +0 -81
- package/models/components/responsecontentpartstreamevent.d.ts.map +0 -1
- package/models/components/responsecontentpartstreamevent.js +0 -100
- package/models/components/responsecontentpartstreamevent.js.map +0 -1
- package/models/components/responsehostedtoolcallstreamevent.d.ts +0 -97
- package/models/components/responsehostedtoolcallstreamevent.d.ts.map +0 -1
- package/models/components/responsehostedtoolcallstreamevent.js +0 -123
- package/models/components/responsehostedtoolcallstreamevent.js.map +0 -1
- package/models/components/responseimagegenerationpartialimagestreamevent.d.ts +0 -65
- package/models/components/responseimagegenerationpartialimagestreamevent.d.ts.map +0 -1
- package/models/components/responseimagegenerationpartialimagestreamevent.js.map +0 -1
- package/models/components/responselifecyclestreamevent.d.ts +0 -73
- package/models/components/responselifecyclestreamevent.d.ts.map +0 -1
- package/models/components/responselifecyclestreamevent.js +0 -103
- package/models/components/responselifecyclestreamevent.js.map +0 -1
- package/models/components/responseoutputitemstreamevent.d.ts +0 -73
- package/models/components/responseoutputitemstreamevent.d.ts.map +0 -1
- package/models/components/responseoutputitemstreamevent.js +0 -96
- package/models/components/responseoutputitemstreamevent.js.map +0 -1
- package/models/components/responsereasoningsummarypartstreamevent.d.ts +0 -81
- package/models/components/responsereasoningsummarypartstreamevent.d.ts.map +0 -1
- package/models/components/responsereasoningsummarypartstreamevent.js +0 -102
- package/models/components/responsereasoningsummarypartstreamevent.js.map +0 -1
- package/src/models/components/responsecodeinterpretercodedeltastreamevent.ts +0 -149
- package/src/models/components/responsecodeinterpretercodedonestreamevent.ts +0 -146
- package/src/models/components/responsecontentpartstreamevent.ts +0 -157
- package/src/models/components/responsehostedtoolcallstreamevent.ts +0 -186
- package/src/models/components/responseimagegenerationpartialimagestreamevent.ts +0 -156
- package/src/models/components/responselifecyclestreamevent.ts +0 -145
- package/src/models/components/responseoutputitemstreamevent.ts +0 -144
- package/src/models/components/responsereasoningsummarypartstreamevent.ts +0 -171
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
/**
|
|
5
|
+
* A `response.reasoning_summary_part.added` server-sent event.
|
|
6
|
+
*/
|
|
7
|
+
export type ResponseReasoningSummaryPartAddedStreamEvent = {
|
|
8
|
+
/**
|
|
9
|
+
* ID of the output item this event refers to.
|
|
10
|
+
*/
|
|
11
|
+
itemId: string;
|
|
12
|
+
/**
|
|
13
|
+
* Index of the output item in the response output array.
|
|
14
|
+
*/
|
|
15
|
+
outputIndex: number;
|
|
16
|
+
/**
|
|
17
|
+
* The reasoning summary part.
|
|
18
|
+
*/
|
|
19
|
+
part: {
|
|
20
|
+
[k: string]: any;
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Monotonically increasing sequence number for ordering events.
|
|
24
|
+
*/
|
|
25
|
+
sequenceNumber: number;
|
|
26
|
+
/**
|
|
27
|
+
* Index of the reasoning summary part.
|
|
28
|
+
*/
|
|
29
|
+
summaryIndex: number;
|
|
30
|
+
/**
|
|
31
|
+
* The event type. Discriminates the payload.
|
|
32
|
+
*/
|
|
33
|
+
type: "response.reasoning_summary_part.added";
|
|
34
|
+
additionalProperties?: {
|
|
35
|
+
[k: string]: any;
|
|
36
|
+
} | undefined;
|
|
37
|
+
};
|
|
38
|
+
/** @internal */
|
|
39
|
+
export declare const ResponseReasoningSummaryPartAddedStreamEvent$inboundSchema: z.ZodType<ResponseReasoningSummaryPartAddedStreamEvent, z.ZodTypeDef, unknown>;
|
|
40
|
+
export declare function responseReasoningSummaryPartAddedStreamEventFromJSON(jsonString: string): SafeParseResult<ResponseReasoningSummaryPartAddedStreamEvent, SDKValidationError>;
|
|
41
|
+
//# sourceMappingURL=responsereasoningsummarypartaddedstreamevent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsereasoningsummarypartaddedstreamevent.d.ts","sourceRoot":"","sources":["../../src/models/components/responsereasoningsummarypartaddedstreamevent.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAM5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,4CAA4C,GAAG;IACzD;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,IAAI,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IAC3B;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,IAAI,EAAE,uCAAuC,CAAC;IAC9C,oBAAoB,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;CACzD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0DAA0D,EACrE,CAAC,CAAC,OAAO,CACP,4CAA4C,EAC5C,CAAC,CAAC,UAAU,EACZ,OAAO,CAmBP,CAAC;AAEL,wBAAgB,oDAAoD,CAClE,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,4CAA4C,EAC5C,kBAAkB,CACnB,CASA"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ResponseReasoningSummaryPartAddedStreamEvent$inboundSchema = void 0;
|
|
40
|
+
exports.responseReasoningSummaryPartAddedStreamEventFromJSON = responseReasoningSummaryPartAddedStreamEventFromJSON;
|
|
41
|
+
const z = __importStar(require("zod/v3"));
|
|
42
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
43
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
+
/** @internal */
|
|
45
|
+
exports.ResponseReasoningSummaryPartAddedStreamEvent$inboundSchema = (0, schemas_js_1.collectExtraKeys)(z.object({
|
|
46
|
+
item_id: z.string(),
|
|
47
|
+
output_index: z.number().int(),
|
|
48
|
+
part: z.record(z.any()),
|
|
49
|
+
sequence_number: z.number().int(),
|
|
50
|
+
summary_index: z.number().int(),
|
|
51
|
+
type: z.literal("response.reasoning_summary_part.added"),
|
|
52
|
+
}).catchall(z.any()), "additionalProperties", true).transform((v) => {
|
|
53
|
+
return (0, primitives_js_1.remap)(v, {
|
|
54
|
+
"item_id": "itemId",
|
|
55
|
+
"output_index": "outputIndex",
|
|
56
|
+
"sequence_number": "sequenceNumber",
|
|
57
|
+
"summary_index": "summaryIndex",
|
|
58
|
+
});
|
|
59
|
+
});
|
|
60
|
+
function responseReasoningSummaryPartAddedStreamEventFromJSON(jsonString) {
|
|
61
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ResponseReasoningSummaryPartAddedStreamEvent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponseReasoningSummaryPartAddedStreamEvent' from JSON`);
|
|
62
|
+
}
|
|
63
|
+
//# sourceMappingURL=responsereasoningsummarypartaddedstreamevent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsereasoningsummarypartaddedstreamevent.js","sourceRoot":"","sources":["../../src/models/components/responsereasoningsummarypartaddedstreamevent.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoEH,oHAcC;AAhFD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAG8B;AAmC9B,gBAAgB;AACH,QAAA,0DAA0D,GAKjE,IAAA,6BAAiB,EACnB,CAAC,CAAC,MAAM,CAAC;IACP,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC9B,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC;IACvB,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACjC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC/B,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,uCAAuC,CAAC;CACzD,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,EACpB,sBAAsB,EACtB,IAAI,CACL,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IAChB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,SAAS,EAAE,QAAQ;QACnB,cAAc,EAAE,aAAa;QAC7B,iBAAiB,EAAE,gBAAgB;QACnC,eAAe,EAAE,cAAc;KAChC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEL,SAAgB,oDAAoD,CAClE,UAAkB;IAKlB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,kEAA0D,CAAC,KAAK,CAC9D,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,EACH,0EAA0E,CAC3E,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
/**
|
|
5
|
+
* A `response.reasoning_summary_part.done` server-sent event.
|
|
6
|
+
*/
|
|
7
|
+
export type ResponseReasoningSummaryPartDoneStreamEvent = {
|
|
8
|
+
/**
|
|
9
|
+
* ID of the output item this event refers to.
|
|
10
|
+
*/
|
|
11
|
+
itemId: string;
|
|
12
|
+
/**
|
|
13
|
+
* Index of the output item in the response output array.
|
|
14
|
+
*/
|
|
15
|
+
outputIndex: number;
|
|
16
|
+
/**
|
|
17
|
+
* The reasoning summary part.
|
|
18
|
+
*/
|
|
19
|
+
part: {
|
|
20
|
+
[k: string]: any;
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Monotonically increasing sequence number for ordering events.
|
|
24
|
+
*/
|
|
25
|
+
sequenceNumber: number;
|
|
26
|
+
/**
|
|
27
|
+
* Index of the reasoning summary part.
|
|
28
|
+
*/
|
|
29
|
+
summaryIndex: number;
|
|
30
|
+
/**
|
|
31
|
+
* The event type. Discriminates the payload.
|
|
32
|
+
*/
|
|
33
|
+
type: "response.reasoning_summary_part.done";
|
|
34
|
+
additionalProperties?: {
|
|
35
|
+
[k: string]: any;
|
|
36
|
+
} | undefined;
|
|
37
|
+
};
|
|
38
|
+
/** @internal */
|
|
39
|
+
export declare const ResponseReasoningSummaryPartDoneStreamEvent$inboundSchema: z.ZodType<ResponseReasoningSummaryPartDoneStreamEvent, z.ZodTypeDef, unknown>;
|
|
40
|
+
export declare function responseReasoningSummaryPartDoneStreamEventFromJSON(jsonString: string): SafeParseResult<ResponseReasoningSummaryPartDoneStreamEvent, SDKValidationError>;
|
|
41
|
+
//# sourceMappingURL=responsereasoningsummarypartdonestreamevent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsereasoningsummarypartdonestreamevent.d.ts","sourceRoot":"","sources":["../../src/models/components/responsereasoningsummarypartdonestreamevent.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAM5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,2CAA2C,GAAG;IACxD;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,IAAI,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IAC3B;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,IAAI,EAAE,sCAAsC,CAAC;IAC7C,oBAAoB,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;CACzD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yDAAyD,EACpE,CAAC,CAAC,OAAO,CACP,2CAA2C,EAC3C,CAAC,CAAC,UAAU,EACZ,OAAO,CAmBP,CAAC;AAEL,wBAAgB,mDAAmD,CACjE,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,2CAA2C,EAC3C,kBAAkB,CACnB,CASA"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ResponseReasoningSummaryPartDoneStreamEvent$inboundSchema = void 0;
|
|
40
|
+
exports.responseReasoningSummaryPartDoneStreamEventFromJSON = responseReasoningSummaryPartDoneStreamEventFromJSON;
|
|
41
|
+
const z = __importStar(require("zod/v3"));
|
|
42
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
43
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
+
/** @internal */
|
|
45
|
+
exports.ResponseReasoningSummaryPartDoneStreamEvent$inboundSchema = (0, schemas_js_1.collectExtraKeys)(z.object({
|
|
46
|
+
item_id: z.string(),
|
|
47
|
+
output_index: z.number().int(),
|
|
48
|
+
part: z.record(z.any()),
|
|
49
|
+
sequence_number: z.number().int(),
|
|
50
|
+
summary_index: z.number().int(),
|
|
51
|
+
type: z.literal("response.reasoning_summary_part.done"),
|
|
52
|
+
}).catchall(z.any()), "additionalProperties", true).transform((v) => {
|
|
53
|
+
return (0, primitives_js_1.remap)(v, {
|
|
54
|
+
"item_id": "itemId",
|
|
55
|
+
"output_index": "outputIndex",
|
|
56
|
+
"sequence_number": "sequenceNumber",
|
|
57
|
+
"summary_index": "summaryIndex",
|
|
58
|
+
});
|
|
59
|
+
});
|
|
60
|
+
function responseReasoningSummaryPartDoneStreamEventFromJSON(jsonString) {
|
|
61
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ResponseReasoningSummaryPartDoneStreamEvent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponseReasoningSummaryPartDoneStreamEvent' from JSON`);
|
|
62
|
+
}
|
|
63
|
+
//# sourceMappingURL=responsereasoningsummarypartdonestreamevent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsereasoningsummarypartdonestreamevent.js","sourceRoot":"","sources":["../../src/models/components/responsereasoningsummarypartdonestreamevent.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoEH,kHAcC;AAhFD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAG8B;AAmC9B,gBAAgB;AACH,QAAA,yDAAyD,GAKhE,IAAA,6BAAiB,EACnB,CAAC,CAAC,MAAM,CAAC;IACP,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC9B,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC;IACvB,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACjC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC/B,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,sCAAsC,CAAC;CACxD,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,EACpB,sBAAsB,EACtB,IAAI,CACL,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IAChB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,SAAS,EAAE,QAAQ;QACnB,cAAc,EAAE,aAAa;QAC7B,iBAAiB,EAAE,gBAAgB;QACnC,eAAe,EAAE,cAAc;KAChC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEL,SAAgB,mDAAmD,CACjE,UAAkB;IAKlB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,iEAAyD,CAAC,KAAK,CAC7D,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,EACH,yEAAyE,CAC1E,CAAC;AACJ,CAAC"}
|
|
@@ -1,21 +1,10 @@
|
|
|
1
1
|
import * as z from "zod/v3";
|
|
2
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
3
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
4
|
/**
|
|
6
|
-
*
|
|
5
|
+
* A `response.reasoning_summary_text.delta` server-sent event.
|
|
7
6
|
*/
|
|
8
|
-
export
|
|
9
|
-
readonly ResponseReasoningSummaryTextDelta: "response.reasoning_summary_text.delta";
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* The event type. Matches the SSE `event` field.
|
|
13
|
-
*/
|
|
14
|
-
export type ResponseReasoningSummaryTextDeltaStreamEventType = ClosedEnum<typeof ResponseReasoningSummaryTextDeltaStreamEventType>;
|
|
15
|
-
/**
|
|
16
|
-
* The event payload.
|
|
17
|
-
*/
|
|
18
|
-
export type ResponseReasoningSummaryTextDeltaStreamEventData = {
|
|
7
|
+
export type ResponseReasoningSummaryTextDeltaStreamEvent = {
|
|
19
8
|
/**
|
|
20
9
|
* Incremental text or argument chunk.
|
|
21
10
|
*/
|
|
@@ -41,28 +30,13 @@ export type ResponseReasoningSummaryTextDeltaStreamEventData = {
|
|
|
41
30
|
*/
|
|
42
31
|
summaryIndex: number;
|
|
43
32
|
/**
|
|
44
|
-
* The event type.
|
|
33
|
+
* The event type. Discriminates the payload.
|
|
45
34
|
*/
|
|
46
|
-
type:
|
|
35
|
+
type: "response.reasoning_summary_text.delta";
|
|
47
36
|
additionalProperties?: {
|
|
48
37
|
[k: string]: any;
|
|
49
38
|
} | undefined;
|
|
50
39
|
};
|
|
51
|
-
export type ResponseReasoningSummaryTextDeltaStreamEvent = {
|
|
52
|
-
/**
|
|
53
|
-
* The event payload.
|
|
54
|
-
*/
|
|
55
|
-
data: ResponseReasoningSummaryTextDeltaStreamEventData;
|
|
56
|
-
/**
|
|
57
|
-
* The SSE event name, equal to the payload's `type`.
|
|
58
|
-
*/
|
|
59
|
-
event: "response.reasoning_summary_text.delta";
|
|
60
|
-
};
|
|
61
|
-
/** @internal */
|
|
62
|
-
export declare const ResponseReasoningSummaryTextDeltaStreamEventType$inboundSchema: z.ZodNativeEnum<typeof ResponseReasoningSummaryTextDeltaStreamEventType>;
|
|
63
|
-
/** @internal */
|
|
64
|
-
export declare const ResponseReasoningSummaryTextDeltaStreamEventData$inboundSchema: z.ZodType<ResponseReasoningSummaryTextDeltaStreamEventData, z.ZodTypeDef, unknown>;
|
|
65
|
-
export declare function responseReasoningSummaryTextDeltaStreamEventDataFromJSON(jsonString: string): SafeParseResult<ResponseReasoningSummaryTextDeltaStreamEventData, SDKValidationError>;
|
|
66
40
|
/** @internal */
|
|
67
41
|
export declare const ResponseReasoningSummaryTextDeltaStreamEvent$inboundSchema: z.ZodType<ResponseReasoningSummaryTextDeltaStreamEvent, z.ZodTypeDef, unknown>;
|
|
68
42
|
export declare function responseReasoningSummaryTextDeltaStreamEventFromJSON(jsonString: string): SafeParseResult<ResponseReasoningSummaryTextDeltaStreamEvent, SDKValidationError>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"responsereasoningsummarytextdeltastreamevent.d.ts","sourceRoot":"","sources":["../../src/models/components/responsereasoningsummarytextdeltastreamevent.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAM5B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"responsereasoningsummarytextdeltastreamevent.d.ts","sourceRoot":"","sources":["../../src/models/components/responsereasoningsummarytextdeltastreamevent.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAM5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,4CAA4C,GAAG;IACzD;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,IAAI,EAAE,uCAAuC,CAAC;IAC9C,oBAAoB,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;CACzD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0DAA0D,EACrE,CAAC,CAAC,OAAO,CACP,4CAA4C,EAC5C,CAAC,CAAC,UAAU,EACZ,OAAO,CAoBP,CAAC;AAEL,wBAAgB,oDAAoD,CAClE,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,4CAA4C,EAC5C,kBAAkB,CACnB,CASA"}
|
|
@@ -36,30 +36,20 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.ResponseReasoningSummaryTextDeltaStreamEvent$inboundSchema =
|
|
40
|
-
exports.responseReasoningSummaryTextDeltaStreamEventDataFromJSON = responseReasoningSummaryTextDeltaStreamEventDataFromJSON;
|
|
39
|
+
exports.ResponseReasoningSummaryTextDeltaStreamEvent$inboundSchema = void 0;
|
|
41
40
|
exports.responseReasoningSummaryTextDeltaStreamEventFromJSON = responseReasoningSummaryTextDeltaStreamEventFromJSON;
|
|
42
41
|
const z = __importStar(require("zod/v3"));
|
|
43
42
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
44
43
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
45
|
-
/**
|
|
46
|
-
* The event type. Matches the SSE `event` field.
|
|
47
|
-
*/
|
|
48
|
-
exports.ResponseReasoningSummaryTextDeltaStreamEventType = {
|
|
49
|
-
ResponseReasoningSummaryTextDelta: "response.reasoning_summary_text.delta",
|
|
50
|
-
};
|
|
51
|
-
/** @internal */
|
|
52
|
-
exports.ResponseReasoningSummaryTextDeltaStreamEventType$inboundSchema = z
|
|
53
|
-
.nativeEnum(exports.ResponseReasoningSummaryTextDeltaStreamEventType);
|
|
54
44
|
/** @internal */
|
|
55
|
-
exports.
|
|
45
|
+
exports.ResponseReasoningSummaryTextDeltaStreamEvent$inboundSchema = (0, schemas_js_1.collectExtraKeys)(z.object({
|
|
56
46
|
delta: z.string(),
|
|
57
47
|
item_id: z.string(),
|
|
58
48
|
obfuscation: z.string().optional(),
|
|
59
49
|
output_index: z.number().int(),
|
|
60
50
|
sequence_number: z.number().int(),
|
|
61
51
|
summary_index: z.number().int(),
|
|
62
|
-
type:
|
|
52
|
+
type: z.literal("response.reasoning_summary_text.delta"),
|
|
63
53
|
}).catchall(z.any()), "additionalProperties", true).transform((v) => {
|
|
64
54
|
return (0, primitives_js_1.remap)(v, {
|
|
65
55
|
"item_id": "itemId",
|
|
@@ -68,24 +58,6 @@ exports.ResponseReasoningSummaryTextDeltaStreamEventData$inboundSchema = (0, sch
|
|
|
68
58
|
"summary_index": "summaryIndex",
|
|
69
59
|
});
|
|
70
60
|
});
|
|
71
|
-
function responseReasoningSummaryTextDeltaStreamEventDataFromJSON(jsonString) {
|
|
72
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ResponseReasoningSummaryTextDeltaStreamEventData$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponseReasoningSummaryTextDeltaStreamEventData' from JSON`);
|
|
73
|
-
}
|
|
74
|
-
/** @internal */
|
|
75
|
-
exports.ResponseReasoningSummaryTextDeltaStreamEvent$inboundSchema = z.object({
|
|
76
|
-
data: z.unknown().transform((v, ctx) => {
|
|
77
|
-
if (typeof v !== "string")
|
|
78
|
-
return v;
|
|
79
|
-
try {
|
|
80
|
-
return JSON.parse(v);
|
|
81
|
-
}
|
|
82
|
-
catch (err) {
|
|
83
|
-
ctx.addIssue({ code: "custom", message: `malformed json: ${err}` });
|
|
84
|
-
return z.NEVER;
|
|
85
|
-
}
|
|
86
|
-
}).pipe(z.lazy(() => exports.ResponseReasoningSummaryTextDeltaStreamEventData$inboundSchema)),
|
|
87
|
-
event: z.literal("response.reasoning_summary_text.delta"),
|
|
88
|
-
});
|
|
89
61
|
function responseReasoningSummaryTextDeltaStreamEventFromJSON(jsonString) {
|
|
90
62
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ResponseReasoningSummaryTextDeltaStreamEvent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponseReasoningSummaryTextDeltaStreamEvent' from JSON`);
|
|
91
63
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"responsereasoningsummarytextdeltastreamevent.js","sourceRoot":"","sources":["../../src/models/components/responsereasoningsummarytextdeltastreamevent.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"responsereasoningsummarytextdeltastreamevent.js","sourceRoot":"","sources":["../../src/models/components/responsereasoningsummarytextdeltastreamevent.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyEH,oHAcC;AArFD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAG8B;AAuC9B,gBAAgB;AACH,QAAA,0DAA0D,GAKjE,IAAA,6BAAiB,EACnB,CAAC,CAAC,MAAM,CAAC;IACP,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC9B,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACjC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC/B,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,uCAAuC,CAAC;CACzD,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,EACpB,sBAAsB,EACtB,IAAI,CACL,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IAChB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,SAAS,EAAE,QAAQ;QACnB,cAAc,EAAE,aAAa;QAC7B,iBAAiB,EAAE,gBAAgB;QACnC,eAAe,EAAE,cAAc;KAChC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEL,SAAgB,oDAAoD,CAClE,UAAkB;IAKlB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,kEAA0D,CAAC,KAAK,CAC9D,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,EACH,0EAA0E,CAC3E,CAAC;AACJ,CAAC"}
|
|
@@ -1,21 +1,10 @@
|
|
|
1
1
|
import * as z from "zod/v3";
|
|
2
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
3
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
4
|
/**
|
|
6
|
-
*
|
|
5
|
+
* A `response.reasoning_summary_text.done` server-sent event.
|
|
7
6
|
*/
|
|
8
|
-
export
|
|
9
|
-
readonly ResponseReasoningSummaryTextDone: "response.reasoning_summary_text.done";
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* The event type. Matches the SSE `event` field.
|
|
13
|
-
*/
|
|
14
|
-
export type ResponseReasoningSummaryTextDoneStreamEventType = ClosedEnum<typeof ResponseReasoningSummaryTextDoneStreamEventType>;
|
|
15
|
-
/**
|
|
16
|
-
* The event payload.
|
|
17
|
-
*/
|
|
18
|
-
export type ResponseReasoningSummaryTextDoneStreamEventData = {
|
|
7
|
+
export type ResponseReasoningSummaryTextDoneStreamEvent = {
|
|
19
8
|
/**
|
|
20
9
|
* ID of the output item this event refers to.
|
|
21
10
|
*/
|
|
@@ -37,28 +26,13 @@ export type ResponseReasoningSummaryTextDoneStreamEventData = {
|
|
|
37
26
|
*/
|
|
38
27
|
text: string;
|
|
39
28
|
/**
|
|
40
|
-
* The event type.
|
|
29
|
+
* The event type. Discriminates the payload.
|
|
41
30
|
*/
|
|
42
|
-
type:
|
|
31
|
+
type: "response.reasoning_summary_text.done";
|
|
43
32
|
additionalProperties?: {
|
|
44
33
|
[k: string]: any;
|
|
45
34
|
} | undefined;
|
|
46
35
|
};
|
|
47
|
-
export type ResponseReasoningSummaryTextDoneStreamEvent = {
|
|
48
|
-
/**
|
|
49
|
-
* The event payload.
|
|
50
|
-
*/
|
|
51
|
-
data: ResponseReasoningSummaryTextDoneStreamEventData;
|
|
52
|
-
/**
|
|
53
|
-
* The SSE event name, equal to the payload's `type`.
|
|
54
|
-
*/
|
|
55
|
-
event: "response.reasoning_summary_text.done";
|
|
56
|
-
};
|
|
57
|
-
/** @internal */
|
|
58
|
-
export declare const ResponseReasoningSummaryTextDoneStreamEventType$inboundSchema: z.ZodNativeEnum<typeof ResponseReasoningSummaryTextDoneStreamEventType>;
|
|
59
|
-
/** @internal */
|
|
60
|
-
export declare const ResponseReasoningSummaryTextDoneStreamEventData$inboundSchema: z.ZodType<ResponseReasoningSummaryTextDoneStreamEventData, z.ZodTypeDef, unknown>;
|
|
61
|
-
export declare function responseReasoningSummaryTextDoneStreamEventDataFromJSON(jsonString: string): SafeParseResult<ResponseReasoningSummaryTextDoneStreamEventData, SDKValidationError>;
|
|
62
36
|
/** @internal */
|
|
63
37
|
export declare const ResponseReasoningSummaryTextDoneStreamEvent$inboundSchema: z.ZodType<ResponseReasoningSummaryTextDoneStreamEvent, z.ZodTypeDef, unknown>;
|
|
64
38
|
export declare function responseReasoningSummaryTextDoneStreamEventFromJSON(jsonString: string): SafeParseResult<ResponseReasoningSummaryTextDoneStreamEvent, SDKValidationError>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"responsereasoningsummarytextdonestreamevent.d.ts","sourceRoot":"","sources":["../../src/models/components/responsereasoningsummarytextdonestreamevent.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAM5B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"responsereasoningsummarytextdonestreamevent.d.ts","sourceRoot":"","sources":["../../src/models/components/responsereasoningsummarytextdonestreamevent.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAM5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,2CAA2C,GAAG;IACxD;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,IAAI,EAAE,sCAAsC,CAAC;IAC7C,oBAAoB,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;CACzD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yDAAyD,EACpE,CAAC,CAAC,OAAO,CACP,2CAA2C,EAC3C,CAAC,CAAC,UAAU,EACZ,OAAO,CAmBP,CAAC;AAEL,wBAAgB,mDAAmD,CACjE,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,2CAA2C,EAC3C,kBAAkB,CACnB,CASA"}
|
|
@@ -36,29 +36,19 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.ResponseReasoningSummaryTextDoneStreamEvent$inboundSchema =
|
|
40
|
-
exports.responseReasoningSummaryTextDoneStreamEventDataFromJSON = responseReasoningSummaryTextDoneStreamEventDataFromJSON;
|
|
39
|
+
exports.ResponseReasoningSummaryTextDoneStreamEvent$inboundSchema = void 0;
|
|
41
40
|
exports.responseReasoningSummaryTextDoneStreamEventFromJSON = responseReasoningSummaryTextDoneStreamEventFromJSON;
|
|
42
41
|
const z = __importStar(require("zod/v3"));
|
|
43
42
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
44
43
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
45
|
-
/**
|
|
46
|
-
* The event type. Matches the SSE `event` field.
|
|
47
|
-
*/
|
|
48
|
-
exports.ResponseReasoningSummaryTextDoneStreamEventType = {
|
|
49
|
-
ResponseReasoningSummaryTextDone: "response.reasoning_summary_text.done",
|
|
50
|
-
};
|
|
51
|
-
/** @internal */
|
|
52
|
-
exports.ResponseReasoningSummaryTextDoneStreamEventType$inboundSchema = z
|
|
53
|
-
.nativeEnum(exports.ResponseReasoningSummaryTextDoneStreamEventType);
|
|
54
44
|
/** @internal */
|
|
55
|
-
exports.
|
|
45
|
+
exports.ResponseReasoningSummaryTextDoneStreamEvent$inboundSchema = (0, schemas_js_1.collectExtraKeys)(z.object({
|
|
56
46
|
item_id: z.string(),
|
|
57
47
|
output_index: z.number().int(),
|
|
58
48
|
sequence_number: z.number().int(),
|
|
59
49
|
summary_index: z.number().int(),
|
|
60
50
|
text: z.string(),
|
|
61
|
-
type:
|
|
51
|
+
type: z.literal("response.reasoning_summary_text.done"),
|
|
62
52
|
}).catchall(z.any()), "additionalProperties", true).transform((v) => {
|
|
63
53
|
return (0, primitives_js_1.remap)(v, {
|
|
64
54
|
"item_id": "itemId",
|
|
@@ -67,24 +57,6 @@ exports.ResponseReasoningSummaryTextDoneStreamEventData$inboundSchema = (0, sche
|
|
|
67
57
|
"summary_index": "summaryIndex",
|
|
68
58
|
});
|
|
69
59
|
});
|
|
70
|
-
function responseReasoningSummaryTextDoneStreamEventDataFromJSON(jsonString) {
|
|
71
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ResponseReasoningSummaryTextDoneStreamEventData$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponseReasoningSummaryTextDoneStreamEventData' from JSON`);
|
|
72
|
-
}
|
|
73
|
-
/** @internal */
|
|
74
|
-
exports.ResponseReasoningSummaryTextDoneStreamEvent$inboundSchema = z.object({
|
|
75
|
-
data: z.unknown().transform((v, ctx) => {
|
|
76
|
-
if (typeof v !== "string")
|
|
77
|
-
return v;
|
|
78
|
-
try {
|
|
79
|
-
return JSON.parse(v);
|
|
80
|
-
}
|
|
81
|
-
catch (err) {
|
|
82
|
-
ctx.addIssue({ code: "custom", message: `malformed json: ${err}` });
|
|
83
|
-
return z.NEVER;
|
|
84
|
-
}
|
|
85
|
-
}).pipe(z.lazy(() => exports.ResponseReasoningSummaryTextDoneStreamEventData$inboundSchema)),
|
|
86
|
-
event: z.literal("response.reasoning_summary_text.done"),
|
|
87
|
-
});
|
|
88
60
|
function responseReasoningSummaryTextDoneStreamEventFromJSON(jsonString) {
|
|
89
61
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ResponseReasoningSummaryTextDoneStreamEvent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponseReasoningSummaryTextDoneStreamEvent' from JSON`);
|
|
90
62
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"responsereasoningsummarytextdonestreamevent.js","sourceRoot":"","sources":["../../src/models/components/responsereasoningsummarytextdonestreamevent.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"responsereasoningsummarytextdonestreamevent.js","sourceRoot":"","sources":["../../src/models/components/responsereasoningsummarytextdonestreamevent.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoEH,kHAcC;AAhFD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAG8B;AAmC9B,gBAAgB;AACH,QAAA,yDAAyD,GAKhE,IAAA,6BAAiB,EACnB,CAAC,CAAC,MAAM,CAAC;IACP,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC9B,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACjC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC/B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,sCAAsC,CAAC;CACxD,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,EACpB,sBAAsB,EACtB,IAAI,CACL,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IAChB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,SAAS,EAAE,QAAQ;QACnB,cAAc,EAAE,aAAa;QAC7B,iBAAiB,EAAE,gBAAgB;QACnC,eAAe,EAAE,cAAc;KAChC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEL,SAAgB,mDAAmD,CACjE,UAAkB;IAKlB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,iEAAyD,CAAC,KAAK,CAC7D,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,EACH,yEAAyE,CAC1E,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
/**
|
|
5
|
+
* A `response.reasoning_text.delta` server-sent event.
|
|
6
|
+
*/
|
|
7
|
+
export type ResponseReasoningTextDeltaStreamEvent = {
|
|
8
|
+
/**
|
|
9
|
+
* Index of the content part within the output item.
|
|
10
|
+
*/
|
|
11
|
+
contentIndex: number;
|
|
12
|
+
/**
|
|
13
|
+
* Incremental text or argument chunk.
|
|
14
|
+
*/
|
|
15
|
+
delta: string;
|
|
16
|
+
/**
|
|
17
|
+
* ID of the output item this event refers to.
|
|
18
|
+
*/
|
|
19
|
+
itemId: string;
|
|
20
|
+
/**
|
|
21
|
+
* Obfuscation padding accompanying the delta, when present.
|
|
22
|
+
*/
|
|
23
|
+
obfuscation?: string | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* Index of the output item in the response output array.
|
|
26
|
+
*/
|
|
27
|
+
outputIndex: number;
|
|
28
|
+
/**
|
|
29
|
+
* Monotonically increasing sequence number for ordering events.
|
|
30
|
+
*/
|
|
31
|
+
sequenceNumber: number;
|
|
32
|
+
/**
|
|
33
|
+
* The event type. Discriminates the payload.
|
|
34
|
+
*/
|
|
35
|
+
type: "response.reasoning_text.delta";
|
|
36
|
+
additionalProperties?: {
|
|
37
|
+
[k: string]: any;
|
|
38
|
+
} | undefined;
|
|
39
|
+
};
|
|
40
|
+
/** @internal */
|
|
41
|
+
export declare const ResponseReasoningTextDeltaStreamEvent$inboundSchema: z.ZodType<ResponseReasoningTextDeltaStreamEvent, z.ZodTypeDef, unknown>;
|
|
42
|
+
export declare function responseReasoningTextDeltaStreamEventFromJSON(jsonString: string): SafeParseResult<ResponseReasoningTextDeltaStreamEvent, SDKValidationError>;
|
|
43
|
+
//# sourceMappingURL=responsereasoningtextdeltastreamevent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsereasoningtextdeltastreamevent.d.ts","sourceRoot":"","sources":["../../src/models/components/responsereasoningtextdeltastreamevent.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAM5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,qCAAqC,GAAG;IAClD;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,IAAI,EAAE,+BAA+B,CAAC;IACtC,oBAAoB,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;CACzD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mDAAmD,EAAE,CAAC,CAAC,OAAO,CACzE,qCAAqC,EACrC,CAAC,CAAC,UAAU,EACZ,OAAO,CAoBP,CAAC;AAEH,wBAAgB,6CAA6C,CAC3D,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,qCAAqC,EAAE,kBAAkB,CAAC,CAO5E"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ResponseReasoningTextDeltaStreamEvent$inboundSchema = void 0;
|
|
40
|
+
exports.responseReasoningTextDeltaStreamEventFromJSON = responseReasoningTextDeltaStreamEventFromJSON;
|
|
41
|
+
const z = __importStar(require("zod/v3"));
|
|
42
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
43
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
+
/** @internal */
|
|
45
|
+
exports.ResponseReasoningTextDeltaStreamEvent$inboundSchema = (0, schemas_js_1.collectExtraKeys)(z.object({
|
|
46
|
+
content_index: z.number().int(),
|
|
47
|
+
delta: z.string(),
|
|
48
|
+
item_id: z.string(),
|
|
49
|
+
obfuscation: z.string().optional(),
|
|
50
|
+
output_index: z.number().int(),
|
|
51
|
+
sequence_number: z.number().int(),
|
|
52
|
+
type: z.literal("response.reasoning_text.delta"),
|
|
53
|
+
}).catchall(z.any()), "additionalProperties", true).transform((v) => {
|
|
54
|
+
return (0, primitives_js_1.remap)(v, {
|
|
55
|
+
"content_index": "contentIndex",
|
|
56
|
+
"item_id": "itemId",
|
|
57
|
+
"output_index": "outputIndex",
|
|
58
|
+
"sequence_number": "sequenceNumber",
|
|
59
|
+
});
|
|
60
|
+
});
|
|
61
|
+
function responseReasoningTextDeltaStreamEventFromJSON(jsonString) {
|
|
62
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ResponseReasoningTextDeltaStreamEvent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponseReasoningTextDeltaStreamEvent' from JSON`);
|
|
63
|
+
}
|
|
64
|
+
//# sourceMappingURL=responsereasoningtextdeltastreamevent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responsereasoningtextdeltastreamevent.js","sourceRoot":"","sources":["../../src/models/components/responsereasoningtextdeltastreamevent.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwEH,sGASC;AA/ED,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAG8B;AAuC9B,gBAAgB;AACH,QAAA,mDAAmD,GAI5D,IAAA,6BAAiB,EACnB,CAAC,CAAC,MAAM,CAAC;IACP,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC/B,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC9B,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACjC,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,+BAA+B,CAAC;CACjD,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,EACpB,sBAAsB,EACtB,IAAI,CACL,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IAChB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,eAAe,EAAE,cAAc;QAC/B,SAAS,EAAE,QAAQ;QACnB,cAAc,EAAE,aAAa;QAC7B,iBAAiB,EAAE,gBAAgB;KACpC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,6CAA6C,CAC3D,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,2DAAmD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC1E,mEAAmE,CACpE,CAAC;AACJ,CAAC"}
|