@orq-ai/node 4.15.0-rc.21 → 4.15.0-rc.23
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 +54 -28
- package/funcs/hubGet.d.ts +18 -0
- package/funcs/hubGet.d.ts.map +1 -0
- package/funcs/hubGet.js +121 -0
- package/funcs/hubGet.js.map +1 -0
- package/funcs/hubSearch.d.ts +18 -0
- package/funcs/hubSearch.d.ts.map +1 -0
- package/funcs/hubSearch.js +120 -0
- package/funcs/hubSearch.js.map +1 -0
- package/funcs/piiCapabilities.d.ts +17 -0
- package/funcs/piiCapabilities.d.ts.map +1 -0
- package/funcs/piiCapabilities.js +105 -0
- package/funcs/piiCapabilities.js.map +1 -0
- package/funcs/sessionsCreate.d.ts +17 -0
- package/funcs/sessionsCreate.d.ts.map +1 -0
- package/funcs/sessionsCreate.js +115 -0
- package/funcs/sessionsCreate.js.map +1 -0
- package/funcs/sessionsDelete.d.ts +17 -0
- package/funcs/sessionsDelete.d.ts.map +1 -0
- package/funcs/sessionsDelete.js +121 -0
- package/funcs/sessionsDelete.js.map +1 -0
- package/funcs/sessionsGet.d.ts +18 -0
- package/funcs/sessionsGet.d.ts.map +1 -0
- package/funcs/sessionsGet.js +121 -0
- package/funcs/sessionsGet.js.map +1 -0
- package/funcs/sessionsGetCount.d.ts +17 -0
- package/funcs/sessionsGetCount.d.ts.map +1 -0
- package/funcs/sessionsGetCount.js +115 -0
- package/funcs/sessionsGetCount.js.map +1 -0
- package/funcs/sessionsList.d.ts +17 -0
- package/funcs/sessionsList.d.ts.map +1 -0
- package/funcs/sessionsList.js +115 -0
- package/funcs/sessionsList.js.map +1 -0
- package/funcs/sessionsListTags.d.ts +16 -0
- package/funcs/sessionsListTags.d.ts.map +1 -0
- package/funcs/sessionsListTags.js +105 -0
- package/funcs/sessionsListTags.js.map +1 -0
- package/funcs/sessionsUpdate.d.ts +18 -0
- package/funcs/sessionsUpdate.d.ts.map +1 -0
- package/funcs/sessionsUpdate.js +124 -0
- package/funcs/sessionsUpdate.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/agentresponserequest.d.ts +6 -6
- package/models/components/agentresponserequest.d.ts.map +1 -1
- package/models/components/agentresponserequest.js +6 -6
- package/models/components/agentresponserequest.js.map +1 -1
- package/models/components/agentstartedstreamingevent.d.ts +13 -1
- package/models/components/agentstartedstreamingevent.d.ts.map +1 -1
- package/models/components/agentstartedstreamingevent.js +2 -0
- package/models/components/agentstartedstreamingevent.js.map +1 -1
- package/models/components/capabilitiesresponse.d.ts +62 -0
- package/models/components/capabilitiesresponse.d.ts.map +1 -0
- package/models/components/capabilitiesresponse.js +68 -0
- package/models/components/capabilitiesresponse.js.map +1 -0
- package/models/components/createthreadrequest.d.ts +41 -0
- package/models/components/createthreadrequest.d.ts.map +1 -0
- package/models/components/createthreadrequest.js +75 -0
- package/models/components/createthreadrequest.js.map +1 -0
- package/models/components/detectrequest.d.ts +48 -0
- package/models/components/detectrequest.d.ts.map +1 -1
- package/models/components/detectrequest.js +4 -0
- package/models/components/detectrequest.js.map +1 -1
- package/models/components/entitylist.d.ts +16 -0
- package/models/components/entitylist.d.ts.map +1 -0
- package/models/components/entitylist.js +50 -0
- package/models/components/entitylist.js.map +1 -0
- package/models/components/gethubitemresponse.d.ts +11 -0
- package/models/components/gethubitemresponse.d.ts.map +1 -0
- package/models/components/gethubitemresponse.js +56 -0
- package/models/components/gethubitemresponse.js.map +1 -0
- package/models/components/getthreadcountrequest.d.ts +17 -0
- package/models/components/getthreadcountrequest.d.ts.map +1 -0
- package/models/components/getthreadcountrequest.js +52 -0
- package/models/components/getthreadcountrequest.js.map +1 -0
- package/models/components/getthreadcountresponse.d.ts +10 -0
- package/models/components/getthreadcountresponse.d.ts.map +1 -0
- package/models/components/getthreadcountresponse.js +50 -0
- package/models/components/getthreadcountresponse.js.map +1 -0
- package/models/components/guardrailruleplugin.d.ts +25 -0
- package/models/components/guardrailruleplugin.d.ts.map +1 -1
- package/models/components/guardrailruleplugin.js +6 -0
- package/models/components/guardrailruleplugin.js.map +1 -1
- package/models/components/hubitem.d.ts +71 -0
- package/models/components/hubitem.d.ts.map +1 -0
- package/models/components/hubitem.js +83 -0
- package/models/components/hubitem.js.map +1 -0
- package/models/components/hubitemsummary.d.ts +29 -0
- package/models/components/hubitemsummary.d.ts.map +1 -0
- package/models/components/hubitemsummary.js +60 -0
- package/models/components/hubitemsummary.js.map +1 -0
- package/models/components/hubsearchhit.d.ts +11 -0
- package/models/components/hubsearchhit.d.ts.map +1 -0
- package/models/components/hubsearchhit.js +51 -0
- package/models/components/hubsearchhit.js.map +1 -0
- package/models/components/index.d.ts +21 -3
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +21 -3
- package/models/components/index.js.map +1 -1
- package/models/components/listthreadsrequest.d.ts +17 -0
- package/models/components/listthreadsrequest.d.ts.map +1 -0
- package/models/components/listthreadsrequest.js +52 -0
- package/models/components/listthreadsrequest.js.map +1 -0
- package/models/components/listthreadsresponse.d.ts +13 -0
- package/models/components/listthreadsresponse.d.ts.map +1 -0
- package/models/components/listthreadsresponse.js +58 -0
- package/models/components/listthreadsresponse.js.map +1 -0
- package/models/components/openaipromptcacheoptions.d.ts +37 -0
- package/models/components/openaipromptcacheoptions.d.ts.map +1 -0
- package/models/components/openaipromptcacheoptions.js +75 -0
- package/models/components/openaipromptcacheoptions.js.map +1 -0
- package/models/components/piiredactionplugin.d.ts +84 -0
- package/models/components/piiredactionplugin.d.ts.map +1 -0
- package/models/components/piiredactionplugin.js +103 -0
- package/models/components/piiredactionplugin.js.map +1 -0
- package/models/components/publicplugin.d.ts +17 -16
- package/models/components/publicplugin.d.ts.map +1 -1
- package/models/components/publicplugin.js +5 -11
- package/models/components/publicplugin.js.map +1 -1
- package/models/components/publicresponseresource.d.ts +2 -0
- package/models/components/publicresponseresource.d.ts.map +1 -1
- package/models/components/publicresponseresource.js +3 -0
- package/models/components/publicresponseresource.js.map +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/components/redactrequest.d.ts +48 -0
- package/models/components/redactrequest.d.ts.map +1 -1
- package/models/components/redactrequest.js +8 -0
- package/models/components/redactrequest.js.map +1 -1
- package/models/components/responsehealingplugin.d.ts +2 -17
- package/models/components/responsehealingplugin.d.ts.map +1 -1
- package/models/components/responsehealingplugin.js +3 -13
- package/models/components/responsehealingplugin.js.map +1 -1
- package/models/components/routingruleplugin.d.ts +25 -0
- package/models/components/routingruleplugin.d.ts.map +1 -1
- package/models/components/routingruleplugin.js +6 -0
- package/models/components/routingruleplugin.js.map +1 -1
- package/models/components/searchhubitemsresponse.d.ts +11 -0
- package/models/components/searchhubitemsresponse.d.ts.map +1 -0
- package/models/components/searchhubitemsresponse.js +51 -0
- package/models/components/searchhubitemsresponse.js.map +1 -0
- package/models/components/sessioninterval.d.ts +19 -0
- package/models/components/sessioninterval.d.ts.map +1 -0
- package/models/components/sessioninterval.js +56 -0
- package/models/components/sessioninterval.js.map +1 -0
- package/models/components/textcontentpartschema.d.ts +5 -5
- package/models/components/textcontentpartschema.d.ts.map +1 -1
- package/models/components/textcontentpartschema.js +6 -6
- package/models/components/textcontentpartschema.js.map +1 -1
- package/models/components/thread.d.ts +54 -0
- package/models/components/thread.d.ts.map +1 -0
- package/models/components/thread.js +79 -0
- package/models/components/thread.js.map +1 -0
- package/models/components/threadbilling.d.ts +21 -0
- package/models/components/threadbilling.d.ts.map +1 -0
- package/models/components/threadbilling.js +75 -0
- package/models/components/threadbilling.js.map +1 -0
- package/models/components/threadfilters.d.ts +34 -0
- package/models/components/threadfilters.d.ts.map +1 -0
- package/models/components/threadfilters.js +65 -0
- package/models/components/threadfilters.js.map +1 -0
- package/models/components/threadkind.d.ts +13 -0
- package/models/components/threadkind.d.ts.map +1 -0
- package/models/components/threadkind.js +51 -0
- package/models/components/threadkind.js.map +1 -0
- package/models/components/threadusage.d.ts +21 -0
- package/models/components/threadusage.d.ts.map +1 -0
- package/models/components/threadusage.js +75 -0
- package/models/components/threadusage.js.map +1 -0
- package/models/components/tracescrubbingplugin.d.ts +2 -16
- package/models/components/tracescrubbingplugin.d.ts.map +1 -1
- package/models/components/tracescrubbingplugin.js +3 -13
- package/models/components/tracescrubbingplugin.js.map +1 -1
- package/models/components/updatethreadrequest.d.ts +51 -0
- package/models/components/updatethreadrequest.d.ts.map +1 -0
- package/models/components/updatethreadrequest.js +79 -0
- package/models/components/updatethreadrequest.js.map +1 -0
- package/models/operations/createagentrequest.d.ts +67 -13
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js +20 -32
- package/models/operations/createagentrequest.js.map +1 -1
- package/models/operations/createchatcompletion.d.ts +12 -4
- package/models/operations/createchatcompletion.d.ts.map +1 -1
- package/models/operations/createchatcompletion.js +4 -8
- package/models/operations/createchatcompletion.js.map +1 -1
- package/models/operations/createcompletion.d.ts +2 -8
- package/models/operations/createcompletion.d.ts.map +1 -1
- package/models/operations/createcompletion.js +3 -17
- package/models/operations/createcompletion.js.map +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +5 -5
- package/models/operations/createimage.d.ts +2 -8
- package/models/operations/createimage.d.ts.map +1 -1
- package/models/operations/createimage.js +2 -16
- package/models/operations/createimage.js.map +1 -1
- package/models/operations/createprompt.d.ts +18 -6
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +8 -16
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/creatererank.d.ts +2 -8
- package/models/operations/creatererank.d.ts.map +1 -1
- package/models/operations/creatererank.js +2 -16
- package/models/operations/creatererank.js.map +1 -1
- package/models/operations/createrouterresponse.d.ts +80 -8
- package/models/operations/createrouterresponse.d.ts.map +1 -1
- package/models/operations/createrouterresponse.js +48 -5
- package/models/operations/createrouterresponse.js.map +1 -1
- package/models/operations/createtool.js +4 -4
- package/models/operations/deletesession.d.ts +12 -0
- package/models/operations/deletesession.d.ts.map +1 -0
- package/models/operations/deletesession.js +54 -0
- package/models/operations/deletesession.js.map +1 -0
- package/models/operations/getallprompts.d.ts +6 -2
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +4 -8
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.js +4 -4
- package/models/operations/getoneprompt.d.ts +6 -2
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +4 -8
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +6 -2
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +4 -8
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/getsession.d.ts +12 -0
- package/models/operations/getsession.d.ts.map +1 -0
- package/models/operations/getsession.js +54 -0
- package/models/operations/getsession.js.map +1 -0
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/hubget.d.ts +12 -0
- package/models/operations/hubget.d.ts.map +1 -0
- package/models/operations/hubget.js +49 -0
- package/models/operations/hubget.js.map +1 -0
- package/models/operations/hubsearch.d.ts +14 -0
- package/models/operations/hubsearch.d.ts.map +1 -0
- package/models/operations/hubsearch.js +50 -0
- package/models/operations/hubsearch.js.map +1 -0
- package/models/operations/index.d.ts +5 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +5 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/listagents.d.ts +25 -5
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +10 -16
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listdatasetdatapoints.js +5 -5
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listpromptversions.d.ts +6 -2
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +4 -8
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/modelcreateopenailike.d.ts +4 -0
- package/models/operations/modelcreateopenailike.d.ts.map +1 -1
- package/models/operations/modelcreateopenailike.js +4 -0
- package/models/operations/modelcreateopenailike.js.map +1 -1
- package/models/operations/modelupdateopenailike.d.ts +4 -0
- package/models/operations/modelupdateopenailike.d.ts.map +1 -1
- package/models/operations/modelupdateopenailike.js +4 -0
- package/models/operations/modelupdateopenailike.js.map +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +4 -4
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/postv2routerocr.d.ts +24 -0
- package/models/operations/postv2routerocr.d.ts.map +1 -1
- package/models/operations/postv2routerocr.js +12 -0
- package/models/operations/postv2routerocr.js.map +1 -1
- package/models/operations/retrieveagentrequest.d.ts +25 -5
- package/models/operations/retrieveagentrequest.d.ts.map +1 -1
- package/models/operations/retrieveagentrequest.js +10 -16
- package/models/operations/retrieveagentrequest.js.map +1 -1
- package/models/operations/retrievedatapoint.js +5 -5
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrieveresponse.d.ts +1 -0
- package/models/operations/retrieveresponse.d.ts.map +1 -1
- package/models/operations/retrieveresponse.js +2 -0
- package/models/operations/retrieveresponse.js.map +1 -1
- package/models/operations/retrievetool.js +4 -4
- package/models/operations/runagent.d.ts +42 -8
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +11 -17
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +42 -8
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +11 -17
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +67 -13
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +20 -32
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updatedatapoint.js +5 -5
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updateprompt.d.ts +18 -6
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +8 -16
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatesession.d.ts +15 -0
- package/models/operations/updatesession.d.ts.map +1 -0
- package/models/operations/updatesession.js +57 -0
- package/models/operations/updatesession.js.map +1 -0
- package/models/operations/updatetool.js +4 -4
- package/package.json +1 -1
- package/sdk/hub.d.ts +20 -0
- package/sdk/hub.d.ts.map +1 -0
- package/sdk/hub.js +32 -0
- package/sdk/hub.js.map +1 -0
- package/sdk/pii.d.ts +7 -0
- package/sdk/pii.d.ts.map +1 -1
- package/sdk/pii.js +10 -0
- package/sdk/pii.js.map +1 -1
- package/sdk/sdk.d.ts +6 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +8 -0
- package/sdk/sdk.js.map +1 -1
- package/sdk/sessions.d.ts +55 -0
- package/sdk/sessions.d.ts.map +1 -0
- package/sdk/sessions.js +82 -0
- package/sdk/sessions.js.map +1 -0
- package/src/funcs/hubGet.ts +168 -0
- package/src/funcs/hubSearch.ts +169 -0
- package/src/funcs/piiCapabilities.ts +144 -0
- package/src/funcs/sessionsCreate.ts +162 -0
- package/src/funcs/sessionsDelete.ts +168 -0
- package/src/funcs/sessionsGet.ts +168 -0
- package/src/funcs/sessionsGetCount.ts +162 -0
- package/src/funcs/sessionsList.ts +162 -0
- package/src/funcs/sessionsListTags.ts +144 -0
- package/src/funcs/sessionsUpdate.ts +171 -0
- package/src/lib/config.ts +2 -2
- package/src/models/components/agentresponserequest.ts +14 -10
- package/src/models/components/agentstartedstreamingevent.ts +11 -1
- package/src/models/components/capabilitiesresponse.ts +96 -0
- package/src/models/components/createthreadrequest.ts +91 -0
- package/src/models/components/detectrequest.ts +48 -0
- package/src/models/components/entitylist.ts +37 -0
- package/src/models/components/gethubitemresponse.ts +37 -0
- package/src/models/components/getthreadcountrequest.ts +42 -0
- package/src/models/components/getthreadcountresponse.ts +31 -0
- package/src/models/components/guardrailruleplugin.ts +27 -0
- package/src/models/components/hubitem.ts +136 -0
- package/src/models/components/hubitemsummary.ts +60 -0
- package/src/models/components/hubsearchhit.ts +35 -0
- package/src/models/components/index.ts +21 -3
- package/src/models/components/listthreadsrequest.ts +42 -0
- package/src/models/components/listthreadsresponse.ts +41 -0
- package/src/models/components/openaipromptcacheoptions.ts +84 -0
- package/src/models/components/piiredactionplugin.ts +143 -0
- package/src/models/components/publicplugin.ts +17 -21
- package/src/models/components/publicresponseresource.ts +7 -0
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/components/redactrequest.ts +52 -0
- package/src/models/components/responsehealingplugin.ts +4 -27
- package/src/models/components/routingruleplugin.ts +27 -0
- package/src/models/components/searchhubitemsresponse.ts +32 -0
- package/src/models/components/sessioninterval.ts +26 -0
- package/src/models/components/textcontentpartschema.ts +13 -8
- package/src/models/components/thread.ts +101 -0
- package/src/models/components/threadbilling.ts +68 -0
- package/src/models/components/threadfilters.ts +66 -0
- package/src/models/components/threadkind.ts +20 -0
- package/src/models/components/threadusage.ts +68 -0
- package/src/models/components/tracescrubbingplugin.ts +4 -24
- package/src/models/components/updatethreadrequest.ts +105 -0
- package/src/models/operations/createagentrequest.ts +85 -87
- package/src/models/operations/createchatcompletion.ts +18 -26
- package/src/models/operations/createcompletion.ts +3 -51
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +5 -5
- package/src/models/operations/createimage.ts +3 -51
- package/src/models/operations/createprompt.ts +31 -43
- package/src/models/operations/creatererank.ts +3 -51
- package/src/models/operations/createrouterresponse.ts +128 -9
- package/src/models/operations/createtool.ts +4 -4
- package/src/models/operations/deletesession.ts +36 -0
- package/src/models/operations/getallprompts.ts +13 -17
- package/src/models/operations/getalltools.ts +4 -4
- package/src/models/operations/getoneprompt.ts +13 -17
- package/src/models/operations/getpromptversion.ts +13 -17
- package/src/models/operations/getsession.ts +36 -0
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/hubget.ts +27 -0
- package/src/models/operations/hubsearch.ts +34 -0
- package/src/models/operations/index.ts +5 -0
- package/src/models/operations/listagents.ts +37 -35
- package/src/models/operations/listdatasetdatapoints.ts +5 -5
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listpromptversions.ts +13 -17
- package/src/models/operations/modelcreateopenailike.ts +8 -0
- package/src/models/operations/modelupdateopenailike.ts +8 -0
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +4 -4
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/postv2routerocr.ts +36 -0
- package/src/models/operations/retrieveagentrequest.ts +37 -35
- package/src/models/operations/retrievedatapoint.ts +5 -5
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrieveresponse.ts +5 -0
- package/src/models/operations/retrievetool.ts +4 -4
- package/src/models/operations/runagent.ts +49 -53
- package/src/models/operations/streamrunagent.ts +49 -53
- package/src/models/operations/updateagent.ts +85 -87
- package/src/models/operations/updatedatapoint.ts +5 -5
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updateprompt.ts +31 -43
- package/src/models/operations/updatesession.ts +41 -0
- package/src/models/operations/updatetool.ts +4 -4
- package/src/sdk/hub.ts +46 -0
- package/src/sdk/pii.ts +16 -0
- package/src/sdk/sdk.ts +12 -0
- package/src/sdk/sessions.ts +134 -0
- package/models/components/piiredactionpluginauto.d.ts +0 -126
- package/models/components/piiredactionpluginauto.d.ts.map +0 -1
- package/models/components/piiredactionpluginauto.js +0 -156
- package/models/components/piiredactionpluginauto.js.map +0 -1
- package/models/components/piiredactionpluginen.d.ts +0 -145
- package/models/components/piiredactionpluginen.d.ts.map +0 -1
- package/models/components/piiredactionpluginen.js +0 -167
- package/models/components/piiredactionpluginen.js.map +0 -1
- package/models/components/piiredactionpluginnl.d.ts +0 -137
- package/models/components/piiredactionpluginnl.d.ts.map +0 -1
- package/models/components/piiredactionpluginnl.js +0 -158
- package/models/components/piiredactionpluginnl.js.map +0 -1
- package/src/models/components/piiredactionpluginauto.ts +0 -185
- package/src/models/components/piiredactionpluginen.ts +0 -222
- package/src/models/components/piiredactionpluginnl.ts +0 -218
|
@@ -1573,7 +1573,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
1573
1573
|
z.ZodTypeDef,
|
|
1574
1574
|
unknown
|
|
1575
1575
|
> = z.object({
|
|
1576
|
-
_id: z.string().default("
|
|
1576
|
+
_id: z.string().default("tool_01M1WJDP1H0WKJVRSQYTD2RT1M"),
|
|
1577
1577
|
path: z.string(),
|
|
1578
1578
|
key: z.string(),
|
|
1579
1579
|
display_name: z.string().optional(),
|
|
@@ -1759,7 +1759,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
1759
1759
|
z.ZodTypeDef,
|
|
1760
1760
|
unknown
|
|
1761
1761
|
> = z.object({
|
|
1762
|
-
_id: z.string().default("
|
|
1762
|
+
_id: z.string().default("tool_01M1WJDP1G6D1Y2VR4S8NRHEXE"),
|
|
1763
1763
|
path: z.string(),
|
|
1764
1764
|
key: z.string(),
|
|
1765
1765
|
display_name: z.string().optional(),
|
|
@@ -1852,7 +1852,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
1852
1852
|
z.ZodTypeDef,
|
|
1853
1853
|
unknown
|
|
1854
1854
|
> = z.object({
|
|
1855
|
-
_id: z.string().default("
|
|
1855
|
+
_id: z.string().default("tool_01M1WJDP1G62HCSJ0ZWDVV2DA5"),
|
|
1856
1856
|
path: z.string(),
|
|
1857
1857
|
key: z.string(),
|
|
1858
1858
|
display_name: z.string().optional(),
|
|
@@ -1953,7 +1953,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
1953
1953
|
z.ZodTypeDef,
|
|
1954
1954
|
unknown
|
|
1955
1955
|
> = z.object({
|
|
1956
|
-
_id: z.string().default("
|
|
1956
|
+
_id: z.string().default("tool_01M1WJDP1F3Q2CBWGF6F9K8TW9"),
|
|
1957
1957
|
path: z.string(),
|
|
1958
1958
|
key: z.string(),
|
|
1959
1959
|
display_name: z.string().optional(),
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
|
|
8
|
+
export type DeleteSessionRequest = {
|
|
9
|
+
sessionId: string;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
/** @internal */
|
|
13
|
+
export type DeleteSessionRequest$Outbound = {
|
|
14
|
+
session_id: string;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
/** @internal */
|
|
18
|
+
export const DeleteSessionRequest$outboundSchema: z.ZodType<
|
|
19
|
+
DeleteSessionRequest$Outbound,
|
|
20
|
+
z.ZodTypeDef,
|
|
21
|
+
DeleteSessionRequest
|
|
22
|
+
> = z.object({
|
|
23
|
+
sessionId: z.string(),
|
|
24
|
+
}).transform((v) => {
|
|
25
|
+
return remap$(v, {
|
|
26
|
+
sessionId: "session_id",
|
|
27
|
+
});
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
export function deleteSessionRequestToJSON(
|
|
31
|
+
deleteSessionRequest: DeleteSessionRequest,
|
|
32
|
+
): string {
|
|
33
|
+
return JSON.stringify(
|
|
34
|
+
DeleteSessionRequest$outboundSchema.parse(deleteSessionRequest),
|
|
35
|
+
);
|
|
36
|
+
}
|
|
@@ -854,11 +854,9 @@ export type GetAllPromptsGuardrails = {
|
|
|
854
854
|
};
|
|
855
855
|
|
|
856
856
|
export type GetAllPromptsPlugins =
|
|
857
|
-
| components.
|
|
858
|
-
| components.
|
|
859
|
-
| components.TraceScrubbingPlugin
|
|
860
|
-
| components.PIIRedactionPluginAuto
|
|
861
|
-
| components.ResponseHealingPlugin;
|
|
857
|
+
| (components.PIIRedactionPlugin & { id: "pii_redaction" })
|
|
858
|
+
| components.ResponseHealingPlugin
|
|
859
|
+
| components.TraceScrubbingPlugin;
|
|
862
860
|
|
|
863
861
|
export type GetAllPromptsFallbacks = {
|
|
864
862
|
/**
|
|
@@ -1449,11 +1447,9 @@ export type GetAllPromptsPromptField = {
|
|
|
1449
1447
|
*/
|
|
1450
1448
|
plugins?:
|
|
1451
1449
|
| Array<
|
|
1452
|
-
| components.
|
|
1453
|
-
| components.PIIRedactionPluginNl
|
|
1454
|
-
| components.TraceScrubbingPlugin
|
|
1455
|
-
| components.PIIRedactionPluginAuto
|
|
1450
|
+
| (components.PIIRedactionPlugin & { id: "pii_redaction" })
|
|
1456
1451
|
| components.ResponseHealingPlugin
|
|
1452
|
+
| components.TraceScrubbingPlugin
|
|
1457
1453
|
>
|
|
1458
1454
|
| undefined;
|
|
1459
1455
|
/**
|
|
@@ -2541,11 +2537,11 @@ export const GetAllPromptsPlugins$inboundSchema: z.ZodType<
|
|
|
2541
2537
|
z.ZodTypeDef,
|
|
2542
2538
|
unknown
|
|
2543
2539
|
> = z.union([
|
|
2544
|
-
components.
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
components.PIIRedactionPluginAuto$inboundSchema,
|
|
2540
|
+
components.PIIRedactionPlugin$inboundSchema.and(
|
|
2541
|
+
z.object({ id: z.literal("pii_redaction") }),
|
|
2542
|
+
),
|
|
2548
2543
|
components.ResponseHealingPlugin$inboundSchema,
|
|
2544
|
+
components.TraceScrubbingPlugin$inboundSchema,
|
|
2549
2545
|
]);
|
|
2550
2546
|
|
|
2551
2547
|
export function getAllPromptsPluginsFromJSON(
|
|
@@ -3287,11 +3283,11 @@ export const GetAllPromptsPromptField$inboundSchema: z.ZodType<
|
|
|
3287
3283
|
.optional(),
|
|
3288
3284
|
plugins: z.array(
|
|
3289
3285
|
z.union([
|
|
3290
|
-
components.
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
components.PIIRedactionPluginAuto$inboundSchema,
|
|
3286
|
+
components.PIIRedactionPlugin$inboundSchema.and(
|
|
3287
|
+
z.object({ id: z.literal("pii_redaction") }),
|
|
3288
|
+
),
|
|
3294
3289
|
components.ResponseHealingPlugin$inboundSchema,
|
|
3290
|
+
components.TraceScrubbingPlugin$inboundSchema,
|
|
3295
3291
|
]),
|
|
3296
3292
|
).optional(),
|
|
3297
3293
|
fallbacks: z.array(z.lazy(() => GetAllPromptsFallbacks$inboundSchema))
|
|
@@ -639,7 +639,7 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
639
639
|
z.ZodTypeDef,
|
|
640
640
|
unknown
|
|
641
641
|
> = z.object({
|
|
642
|
-
_id: z.string().default("
|
|
642
|
+
_id: z.string().default("tool_01M1WJDP1CXWVJV345VD2DBJGZ"),
|
|
643
643
|
path: z.string(),
|
|
644
644
|
key: z.string(),
|
|
645
645
|
display_name: z.string().optional(),
|
|
@@ -821,7 +821,7 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
|
|
|
821
821
|
z.ZodTypeDef,
|
|
822
822
|
unknown
|
|
823
823
|
> = z.object({
|
|
824
|
-
_id: z.string().default("
|
|
824
|
+
_id: z.string().default("tool_01M1WJDP1B43TRJX07FNQHJW25"),
|
|
825
825
|
path: z.string(),
|
|
826
826
|
key: z.string(),
|
|
827
827
|
display_name: z.string().optional(),
|
|
@@ -914,7 +914,7 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
914
914
|
z.ZodTypeDef,
|
|
915
915
|
unknown
|
|
916
916
|
> = z.object({
|
|
917
|
-
_id: z.string().default("
|
|
917
|
+
_id: z.string().default("tool_01M1WJDP1914CX4HZV0BF7E25V"),
|
|
918
918
|
path: z.string(),
|
|
919
919
|
key: z.string(),
|
|
920
920
|
display_name: z.string().optional(),
|
|
@@ -1012,7 +1012,7 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
|
|
|
1012
1012
|
z.ZodTypeDef,
|
|
1013
1013
|
unknown
|
|
1014
1014
|
> = z.object({
|
|
1015
|
-
_id: z.string().default("
|
|
1015
|
+
_id: z.string().default("tool_01M1WJDP18RERDQ7C96ZNEET50"),
|
|
1016
1016
|
path: z.string(),
|
|
1017
1017
|
key: z.string(),
|
|
1018
1018
|
display_name: z.string().optional(),
|
|
@@ -836,11 +836,9 @@ export type GetOnePromptGuardrails = {
|
|
|
836
836
|
};
|
|
837
837
|
|
|
838
838
|
export type GetOnePromptPlugins =
|
|
839
|
-
| components.
|
|
840
|
-
| components.
|
|
841
|
-
| components.TraceScrubbingPlugin
|
|
842
|
-
| components.PIIRedactionPluginAuto
|
|
843
|
-
| components.ResponseHealingPlugin;
|
|
839
|
+
| (components.PIIRedactionPlugin & { id: "pii_redaction" })
|
|
840
|
+
| components.ResponseHealingPlugin
|
|
841
|
+
| components.TraceScrubbingPlugin;
|
|
844
842
|
|
|
845
843
|
export type GetOnePromptFallbacks = {
|
|
846
844
|
/**
|
|
@@ -1431,11 +1429,9 @@ export type GetOnePromptPromptField = {
|
|
|
1431
1429
|
*/
|
|
1432
1430
|
plugins?:
|
|
1433
1431
|
| Array<
|
|
1434
|
-
| components.
|
|
1435
|
-
| components.PIIRedactionPluginNl
|
|
1436
|
-
| components.TraceScrubbingPlugin
|
|
1437
|
-
| components.PIIRedactionPluginAuto
|
|
1432
|
+
| (components.PIIRedactionPlugin & { id: "pii_redaction" })
|
|
1438
1433
|
| components.ResponseHealingPlugin
|
|
1434
|
+
| components.TraceScrubbingPlugin
|
|
1439
1435
|
>
|
|
1440
1436
|
| undefined;
|
|
1441
1437
|
/**
|
|
@@ -2499,11 +2495,11 @@ export const GetOnePromptPlugins$inboundSchema: z.ZodType<
|
|
|
2499
2495
|
z.ZodTypeDef,
|
|
2500
2496
|
unknown
|
|
2501
2497
|
> = z.union([
|
|
2502
|
-
components.
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
components.PIIRedactionPluginAuto$inboundSchema,
|
|
2498
|
+
components.PIIRedactionPlugin$inboundSchema.and(
|
|
2499
|
+
z.object({ id: z.literal("pii_redaction") }),
|
|
2500
|
+
),
|
|
2506
2501
|
components.ResponseHealingPlugin$inboundSchema,
|
|
2502
|
+
components.TraceScrubbingPlugin$inboundSchema,
|
|
2507
2503
|
]);
|
|
2508
2504
|
|
|
2509
2505
|
export function getOnePromptPluginsFromJSON(
|
|
@@ -3235,11 +3231,11 @@ export const GetOnePromptPromptField$inboundSchema: z.ZodType<
|
|
|
3235
3231
|
.optional(),
|
|
3236
3232
|
plugins: z.array(
|
|
3237
3233
|
z.union([
|
|
3238
|
-
components.
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
components.PIIRedactionPluginAuto$inboundSchema,
|
|
3234
|
+
components.PIIRedactionPlugin$inboundSchema.and(
|
|
3235
|
+
z.object({ id: z.literal("pii_redaction") }),
|
|
3236
|
+
),
|
|
3242
3237
|
components.ResponseHealingPlugin$inboundSchema,
|
|
3238
|
+
components.TraceScrubbingPlugin$inboundSchema,
|
|
3243
3239
|
]),
|
|
3244
3240
|
).optional(),
|
|
3245
3241
|
fallbacks: z.array(z.lazy(() => GetOnePromptFallbacks$inboundSchema))
|
|
@@ -848,11 +848,9 @@ export type GetPromptVersionGuardrails = {
|
|
|
848
848
|
};
|
|
849
849
|
|
|
850
850
|
export type GetPromptVersionPlugins =
|
|
851
|
-
| components.
|
|
852
|
-
| components.
|
|
853
|
-
| components.TraceScrubbingPlugin
|
|
854
|
-
| components.PIIRedactionPluginAuto
|
|
855
|
-
| components.ResponseHealingPlugin;
|
|
851
|
+
| (components.PIIRedactionPlugin & { id: "pii_redaction" })
|
|
852
|
+
| components.ResponseHealingPlugin
|
|
853
|
+
| components.TraceScrubbingPlugin;
|
|
856
854
|
|
|
857
855
|
export type GetPromptVersionFallbacks = {
|
|
858
856
|
/**
|
|
@@ -1444,11 +1442,9 @@ export type GetPromptVersionPromptField = {
|
|
|
1444
1442
|
*/
|
|
1445
1443
|
plugins?:
|
|
1446
1444
|
| Array<
|
|
1447
|
-
| components.
|
|
1448
|
-
| components.PIIRedactionPluginNl
|
|
1449
|
-
| components.TraceScrubbingPlugin
|
|
1450
|
-
| components.PIIRedactionPluginAuto
|
|
1445
|
+
| (components.PIIRedactionPlugin & { id: "pii_redaction" })
|
|
1451
1446
|
| components.ResponseHealingPlugin
|
|
1447
|
+
| components.TraceScrubbingPlugin
|
|
1452
1448
|
>
|
|
1453
1449
|
| undefined;
|
|
1454
1450
|
/**
|
|
@@ -2528,11 +2524,11 @@ export const GetPromptVersionPlugins$inboundSchema: z.ZodType<
|
|
|
2528
2524
|
z.ZodTypeDef,
|
|
2529
2525
|
unknown
|
|
2530
2526
|
> = z.union([
|
|
2531
|
-
components.
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
components.PIIRedactionPluginAuto$inboundSchema,
|
|
2527
|
+
components.PIIRedactionPlugin$inboundSchema.and(
|
|
2528
|
+
z.object({ id: z.literal("pii_redaction") }),
|
|
2529
|
+
),
|
|
2535
2530
|
components.ResponseHealingPlugin$inboundSchema,
|
|
2531
|
+
components.TraceScrubbingPlugin$inboundSchema,
|
|
2536
2532
|
]);
|
|
2537
2533
|
|
|
2538
2534
|
export function getPromptVersionPluginsFromJSON(
|
|
@@ -3291,11 +3287,11 @@ export const GetPromptVersionPromptField$inboundSchema: z.ZodType<
|
|
|
3291
3287
|
.optional(),
|
|
3292
3288
|
plugins: z.array(
|
|
3293
3289
|
z.union([
|
|
3294
|
-
components.
|
|
3295
|
-
|
|
3296
|
-
|
|
3297
|
-
components.PIIRedactionPluginAuto$inboundSchema,
|
|
3290
|
+
components.PIIRedactionPlugin$inboundSchema.and(
|
|
3291
|
+
z.object({ id: z.literal("pii_redaction") }),
|
|
3292
|
+
),
|
|
3298
3293
|
components.ResponseHealingPlugin$inboundSchema,
|
|
3294
|
+
components.TraceScrubbingPlugin$inboundSchema,
|
|
3299
3295
|
]),
|
|
3300
3296
|
).optional(),
|
|
3301
3297
|
fallbacks: z.array(z.lazy(() => GetPromptVersionFallbacks$inboundSchema))
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
|
|
8
|
+
export type GetSessionRequest = {
|
|
9
|
+
sessionId: string;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
/** @internal */
|
|
13
|
+
export type GetSessionRequest$Outbound = {
|
|
14
|
+
session_id: string;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
/** @internal */
|
|
18
|
+
export const GetSessionRequest$outboundSchema: z.ZodType<
|
|
19
|
+
GetSessionRequest$Outbound,
|
|
20
|
+
z.ZodTypeDef,
|
|
21
|
+
GetSessionRequest
|
|
22
|
+
> = z.object({
|
|
23
|
+
sessionId: z.string(),
|
|
24
|
+
}).transform((v) => {
|
|
25
|
+
return remap$(v, {
|
|
26
|
+
sessionId: "session_id",
|
|
27
|
+
});
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
export function getSessionRequestToJSON(
|
|
31
|
+
getSessionRequest: GetSessionRequest,
|
|
32
|
+
): string {
|
|
33
|
+
return JSON.stringify(
|
|
34
|
+
GetSessionRequest$outboundSchema.parse(getSessionRequest),
|
|
35
|
+
);
|
|
36
|
+
}
|
|
@@ -140,7 +140,7 @@ export const GetV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
|
|
|
140
140
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
141
141
|
.optional(),
|
|
142
142
|
updated: z.string().datetime({ offset: true }).default(
|
|
143
|
-
"2026-09-
|
|
143
|
+
"2026-09-06T23:56:17.054Z",
|
|
144
144
|
).transform(v => new Date(v)),
|
|
145
145
|
filter_type: z.literal("name"),
|
|
146
146
|
filter_value: z.string(),
|
|
@@ -185,7 +185,7 @@ export const GetV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
|
|
|
185
185
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
186
186
|
.optional(),
|
|
187
187
|
updated: z.string().datetime({ offset: true }).default(
|
|
188
|
-
"2026-09-
|
|
188
|
+
"2026-09-06T23:56:17.054Z",
|
|
189
189
|
).transform(v => new Date(v)),
|
|
190
190
|
filter_type: z.literal("span_type"),
|
|
191
191
|
filter_values: z.array(z.string()),
|
|
@@ -141,7 +141,7 @@ export const GetV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
|
|
|
141
141
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
142
142
|
.optional(),
|
|
143
143
|
updated: z.string().datetime({ offset: true }).default(
|
|
144
|
-
"2026-09-
|
|
144
|
+
"2026-09-06T23:56:17.054Z",
|
|
145
145
|
).transform(v => new Date(v)),
|
|
146
146
|
filter_type: z.literal("name"),
|
|
147
147
|
filter_value: z.string(),
|
|
@@ -186,7 +186,7 @@ export const GetV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
|
|
|
186
186
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
187
187
|
.optional(),
|
|
188
188
|
updated: z.string().datetime({ offset: true }).default(
|
|
189
|
-
"2026-09-
|
|
189
|
+
"2026-09-06T23:56:17.054Z",
|
|
190
190
|
).transform(v => new Date(v)),
|
|
191
191
|
filter_type: z.literal("span_type"),
|
|
192
192
|
filter_values: z.array(z.string()),
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
|
|
7
|
+
export type HubGetRequest = {
|
|
8
|
+
id: string;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
/** @internal */
|
|
12
|
+
export type HubGetRequest$Outbound = {
|
|
13
|
+
id: string;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/** @internal */
|
|
17
|
+
export const HubGetRequest$outboundSchema: z.ZodType<
|
|
18
|
+
HubGetRequest$Outbound,
|
|
19
|
+
z.ZodTypeDef,
|
|
20
|
+
HubGetRequest
|
|
21
|
+
> = z.object({
|
|
22
|
+
id: z.string(),
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
export function hubGetRequestToJSON(hubGetRequest: HubGetRequest): string {
|
|
26
|
+
return JSON.stringify(HubGetRequest$outboundSchema.parse(hubGetRequest));
|
|
27
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
|
|
7
|
+
export type HubSearchRequest = {
|
|
8
|
+
q?: string | undefined;
|
|
9
|
+
types?: Array<string> | undefined;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
/** @internal */
|
|
13
|
+
export type HubSearchRequest$Outbound = {
|
|
14
|
+
q?: string | undefined;
|
|
15
|
+
types?: Array<string> | undefined;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/** @internal */
|
|
19
|
+
export const HubSearchRequest$outboundSchema: z.ZodType<
|
|
20
|
+
HubSearchRequest$Outbound,
|
|
21
|
+
z.ZodTypeDef,
|
|
22
|
+
HubSearchRequest
|
|
23
|
+
> = z.object({
|
|
24
|
+
q: z.string().optional(),
|
|
25
|
+
types: z.array(z.string()).optional(),
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
export function hubSearchRequestToJSON(
|
|
29
|
+
hubSearchRequest: HubSearchRequest,
|
|
30
|
+
): string {
|
|
31
|
+
return JSON.stringify(
|
|
32
|
+
HubSearchRequest$outboundSchema.parse(hubSearchRequest),
|
|
33
|
+
);
|
|
34
|
+
}
|
|
@@ -65,6 +65,7 @@ export * from "./deletememory.js";
|
|
|
65
65
|
export * from "./deletememorydocument.js";
|
|
66
66
|
export * from "./deletememorystore.js";
|
|
67
67
|
export * from "./deleteprompt.js";
|
|
68
|
+
export * from "./deletesession.js";
|
|
68
69
|
export * from "./deletetool.js";
|
|
69
70
|
export * from "./deletev2humanevalsetsid.js";
|
|
70
71
|
export * from "./deploymentgetconfig.js";
|
|
@@ -92,6 +93,7 @@ export * from "./getonefileuploadurl.js";
|
|
|
92
93
|
export * from "./getoneknowledge.js";
|
|
93
94
|
export * from "./getoneprompt.js";
|
|
94
95
|
export * from "./getpromptversion.js";
|
|
96
|
+
export * from "./getsession.js";
|
|
95
97
|
export * from "./getv2humanevalsets.js";
|
|
96
98
|
export * from "./getv2humanevalsetsid.js";
|
|
97
99
|
export * from "./getv2toolstoolidversions.js";
|
|
@@ -101,6 +103,8 @@ export * from "./guardrailruleget.js";
|
|
|
101
103
|
export * from "./guardrailrulelist.js";
|
|
102
104
|
export * from "./guardrailrulelistusedguardrails.js";
|
|
103
105
|
export * from "./guardrailruleupdate.js";
|
|
106
|
+
export * from "./hubget.js";
|
|
107
|
+
export * from "./hubsearch.js";
|
|
104
108
|
export * from "./invokeagent.js";
|
|
105
109
|
export * from "./invokeeval.js";
|
|
106
110
|
export * from "./listagents.js";
|
|
@@ -229,6 +233,7 @@ export * from "./updatememory.js";
|
|
|
229
233
|
export * from "./updatememorydocument.js";
|
|
230
234
|
export * from "./updatememorystore.js";
|
|
231
235
|
export * from "./updateprompt.js";
|
|
236
|
+
export * from "./updatesession.js";
|
|
232
237
|
export * from "./updatetool.js";
|
|
233
238
|
export * from "./webhookdelete.js";
|
|
234
239
|
export * from "./webhookget.js";
|
|
@@ -193,6 +193,10 @@ export type ListAgentsEvaluators = {
|
|
|
193
193
|
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
194
194
|
*/
|
|
195
195
|
executeOn: ListAgentsExecuteOn;
|
|
196
|
+
/**
|
|
197
|
+
* Evaluator-specific configuration, passed through to the evaluator at run time. For orq_pii_detection this carries regions, entities, entity_thresholds, language and threshold, and is validated against PIIDetectionGuardrailOptions: regions and entities are two mutually exclusive coverage modes, and every entity_thresholds key must also appear in entities. on_failure is rejected: an evaluator acting as a guardrail always fails closed.
|
|
198
|
+
*/
|
|
199
|
+
options?: { [k: string]: any } | undefined;
|
|
196
200
|
};
|
|
197
201
|
|
|
198
202
|
/**
|
|
@@ -222,6 +226,10 @@ export type ListAgentsGuardrails = {
|
|
|
222
226
|
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
223
227
|
*/
|
|
224
228
|
executeOn: ListAgentsAgentsExecuteOn;
|
|
229
|
+
/**
|
|
230
|
+
* Evaluator-specific configuration, passed through to the evaluator at run time. For orq_pii_detection this carries regions, entities, entity_thresholds, language and threshold, and is validated against PIIDetectionGuardrailOptions: regions and entities are two mutually exclusive coverage modes, and every entity_thresholds key must also appear in entities. on_failure is rejected: an evaluator acting as a guardrail always fails closed.
|
|
231
|
+
*/
|
|
232
|
+
options?: { [k: string]: any } | undefined;
|
|
225
233
|
};
|
|
226
234
|
|
|
227
235
|
export type ListAgentsSettings = {
|
|
@@ -251,7 +259,7 @@ export type ListAgentsSettings = {
|
|
|
251
259
|
*/
|
|
252
260
|
evaluators?: Array<ListAgentsEvaluators> | undefined;
|
|
253
261
|
/**
|
|
254
|
-
* Configuration for a guardrail applied to the agent
|
|
262
|
+
* Configuration for a guardrail applied to the agent. sample_rate has no effect here: a guardrail is a gate rather than a measurement, so it runs on every request.
|
|
255
263
|
*/
|
|
256
264
|
guardrails?: Array<ListAgentsGuardrails> | undefined;
|
|
257
265
|
};
|
|
@@ -445,11 +453,9 @@ export type ListAgentsAgentsGuardrails = {
|
|
|
445
453
|
};
|
|
446
454
|
|
|
447
455
|
export type ListAgentsPlugins =
|
|
448
|
-
| components.
|
|
449
|
-
| components.
|
|
450
|
-
| components.TraceScrubbingPlugin
|
|
451
|
-
| components.PIIRedactionPluginAuto
|
|
452
|
-
| components.ResponseHealingPlugin;
|
|
456
|
+
| (components.PIIRedactionPlugin & { id: "pii_redaction" })
|
|
457
|
+
| components.ResponseHealingPlugin
|
|
458
|
+
| components.TraceScrubbingPlugin;
|
|
453
459
|
|
|
454
460
|
export type ListAgentsFallbacks = {
|
|
455
461
|
/**
|
|
@@ -671,11 +677,9 @@ export type ListAgentsParameters = {
|
|
|
671
677
|
*/
|
|
672
678
|
plugins?:
|
|
673
679
|
| Array<
|
|
674
|
-
| components.
|
|
675
|
-
| components.PIIRedactionPluginNl
|
|
676
|
-
| components.TraceScrubbingPlugin
|
|
677
|
-
| components.PIIRedactionPluginAuto
|
|
680
|
+
| (components.PIIRedactionPlugin & { id: "pii_redaction" })
|
|
678
681
|
| components.ResponseHealingPlugin
|
|
682
|
+
| components.TraceScrubbingPlugin
|
|
679
683
|
>
|
|
680
684
|
| undefined;
|
|
681
685
|
/**
|
|
@@ -913,11 +917,9 @@ export type ListAgentsFallbackModelConfigurationGuardrails = {
|
|
|
913
917
|
};
|
|
914
918
|
|
|
915
919
|
export type ListAgentsFallbackModelConfigurationPlugins =
|
|
916
|
-
| components.
|
|
917
|
-
| components.
|
|
918
|
-
| components.TraceScrubbingPlugin
|
|
919
|
-
| components.PIIRedactionPluginAuto
|
|
920
|
-
| components.ResponseHealingPlugin;
|
|
920
|
+
| (components.PIIRedactionPlugin & { id: "pii_redaction" })
|
|
921
|
+
| components.ResponseHealingPlugin
|
|
922
|
+
| components.TraceScrubbingPlugin;
|
|
921
923
|
|
|
922
924
|
export type ListAgentsFallbackModelConfigurationFallbacks = {
|
|
923
925
|
/**
|
|
@@ -1154,11 +1156,9 @@ export type ListAgentsFallbackModelConfigurationParameters = {
|
|
|
1154
1156
|
*/
|
|
1155
1157
|
plugins?:
|
|
1156
1158
|
| Array<
|
|
1157
|
-
| components.
|
|
1158
|
-
| components.PIIRedactionPluginNl
|
|
1159
|
-
| components.TraceScrubbingPlugin
|
|
1160
|
-
| components.PIIRedactionPluginAuto
|
|
1159
|
+
| (components.PIIRedactionPlugin & { id: "pii_redaction" })
|
|
1161
1160
|
| components.ResponseHealingPlugin
|
|
1161
|
+
| components.TraceScrubbingPlugin
|
|
1162
1162
|
>
|
|
1163
1163
|
| undefined;
|
|
1164
1164
|
/**
|
|
@@ -1530,6 +1530,7 @@ export const ListAgentsEvaluators$inboundSchema: z.ZodType<
|
|
|
1530
1530
|
id: z.string(),
|
|
1531
1531
|
sample_rate: z.number().default(50),
|
|
1532
1532
|
execute_on: ListAgentsExecuteOn$inboundSchema,
|
|
1533
|
+
options: z.record(z.any()).optional(),
|
|
1533
1534
|
}).transform((v) => {
|
|
1534
1535
|
return remap$(v, {
|
|
1535
1536
|
"sample_rate": "sampleRate",
|
|
@@ -1561,6 +1562,7 @@ export const ListAgentsGuardrails$inboundSchema: z.ZodType<
|
|
|
1561
1562
|
id: z.string(),
|
|
1562
1563
|
sample_rate: z.number().default(50),
|
|
1563
1564
|
execute_on: ListAgentsAgentsExecuteOn$inboundSchema,
|
|
1565
|
+
options: z.record(z.any()).optional(),
|
|
1564
1566
|
}).transform((v) => {
|
|
1565
1567
|
return remap$(v, {
|
|
1566
1568
|
"sample_rate": "sampleRate",
|
|
@@ -1903,11 +1905,11 @@ export const ListAgentsPlugins$inboundSchema: z.ZodType<
|
|
|
1903
1905
|
z.ZodTypeDef,
|
|
1904
1906
|
unknown
|
|
1905
1907
|
> = z.union([
|
|
1906
|
-
components.
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
components.PIIRedactionPluginAuto$inboundSchema,
|
|
1908
|
+
components.PIIRedactionPlugin$inboundSchema.and(
|
|
1909
|
+
z.object({ id: z.literal("pii_redaction") }),
|
|
1910
|
+
),
|
|
1910
1911
|
components.ResponseHealingPlugin$inboundSchema,
|
|
1912
|
+
components.TraceScrubbingPlugin$inboundSchema,
|
|
1911
1913
|
]);
|
|
1912
1914
|
|
|
1913
1915
|
export function listAgentsPluginsFromJSON(
|
|
@@ -2118,11 +2120,11 @@ export const ListAgentsParameters$inboundSchema: z.ZodType<
|
|
|
2118
2120
|
.optional(),
|
|
2119
2121
|
plugins: z.array(
|
|
2120
2122
|
z.union([
|
|
2121
|
-
components.
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
components.PIIRedactionPluginAuto$inboundSchema,
|
|
2123
|
+
components.PIIRedactionPlugin$inboundSchema.and(
|
|
2124
|
+
z.object({ id: z.literal("pii_redaction") }),
|
|
2125
|
+
),
|
|
2125
2126
|
components.ResponseHealingPlugin$inboundSchema,
|
|
2127
|
+
components.TraceScrubbingPlugin$inboundSchema,
|
|
2126
2128
|
]),
|
|
2127
2129
|
).optional(),
|
|
2128
2130
|
fallbacks: z.array(z.lazy(() => ListAgentsFallbacks$inboundSchema))
|
|
@@ -2525,11 +2527,11 @@ export const ListAgentsFallbackModelConfigurationPlugins$inboundSchema:
|
|
|
2525
2527
|
z.ZodTypeDef,
|
|
2526
2528
|
unknown
|
|
2527
2529
|
> = z.union([
|
|
2528
|
-
components.
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
components.PIIRedactionPluginAuto$inboundSchema,
|
|
2530
|
+
components.PIIRedactionPlugin$inboundSchema.and(
|
|
2531
|
+
z.object({ id: z.literal("pii_redaction") }),
|
|
2532
|
+
),
|
|
2532
2533
|
components.ResponseHealingPlugin$inboundSchema,
|
|
2534
|
+
components.TraceScrubbingPlugin$inboundSchema,
|
|
2533
2535
|
]);
|
|
2534
2536
|
|
|
2535
2537
|
export function listAgentsFallbackModelConfigurationPluginsFromJSON(
|
|
@@ -2792,11 +2794,11 @@ export const ListAgentsFallbackModelConfigurationParameters$inboundSchema:
|
|
|
2792
2794
|
).optional(),
|
|
2793
2795
|
plugins: z.array(
|
|
2794
2796
|
z.union([
|
|
2795
|
-
components.
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
components.PIIRedactionPluginAuto$inboundSchema,
|
|
2797
|
+
components.PIIRedactionPlugin$inboundSchema.and(
|
|
2798
|
+
z.object({ id: z.literal("pii_redaction") }),
|
|
2799
|
+
),
|
|
2799
2800
|
components.ResponseHealingPlugin$inboundSchema,
|
|
2801
|
+
components.TraceScrubbingPlugin$inboundSchema,
|
|
2800
2802
|
]),
|
|
2801
2803
|
).optional(),
|
|
2802
2804
|
fallbacks: z.array(
|
|
@@ -1653,7 +1653,7 @@ export const ListDatasetDatapointsEvaluations4$inboundSchema: z.ZodType<
|
|
|
1653
1653
|
explanation: z.string().optional(),
|
|
1654
1654
|
reviewed_by_id: z.string(),
|
|
1655
1655
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1656
|
-
"2026-09-
|
|
1656
|
+
"2026-09-06T23:56:24.006Z",
|
|
1657
1657
|
).transform(v => new Date(v)),
|
|
1658
1658
|
type: z.literal("string_array"),
|
|
1659
1659
|
values: z.array(z.string()),
|
|
@@ -1749,7 +1749,7 @@ export const ListDatasetDatapointsEvaluations3$inboundSchema: z.ZodType<
|
|
|
1749
1749
|
explanation: z.string().optional(),
|
|
1750
1750
|
reviewed_by_id: z.string(),
|
|
1751
1751
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1752
|
-
"2026-09-
|
|
1752
|
+
"2026-09-06T23:56:24.006Z",
|
|
1753
1753
|
).transform(v => new Date(v)),
|
|
1754
1754
|
type: z.literal("boolean"),
|
|
1755
1755
|
value: z.boolean(),
|
|
@@ -1853,7 +1853,7 @@ export const ListDatasetDatapointsEvaluations2$inboundSchema: z.ZodType<
|
|
|
1853
1853
|
explanation: z.string().optional(),
|
|
1854
1854
|
reviewed_by_id: z.string(),
|
|
1855
1855
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1856
|
-
"2026-09-
|
|
1856
|
+
"2026-09-06T23:56:24.005Z",
|
|
1857
1857
|
).transform(v => new Date(v)),
|
|
1858
1858
|
type: z.literal("number"),
|
|
1859
1859
|
value: z.number(),
|
|
@@ -1959,7 +1959,7 @@ export const ListDatasetDatapointsEvaluations1$inboundSchema: z.ZodType<
|
|
|
1959
1959
|
explanation: z.string().optional(),
|
|
1960
1960
|
reviewed_by_id: z.string(),
|
|
1961
1961
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1962
|
-
"2026-09-
|
|
1962
|
+
"2026-09-06T23:56:24.005Z",
|
|
1963
1963
|
).transform(v => new Date(v)),
|
|
1964
1964
|
type: z.literal("string"),
|
|
1965
1965
|
value: z.string(),
|
|
@@ -2042,7 +2042,7 @@ export const ListDatasetDatapointsData$inboundSchema: z.ZodType<
|
|
|
2042
2042
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2043
2043
|
.optional(),
|
|
2044
2044
|
updated: z.string().datetime({ offset: true }).default(
|
|
2045
|
-
"2026-09-
|
|
2045
|
+
"2026-09-06T23:56:17.054Z",
|
|
2046
2046
|
).transform(v => new Date(v)),
|
|
2047
2047
|
}).transform((v) => {
|
|
2048
2048
|
return remap$(v, {
|