@orq-ai/node 4.14.0-rc.1 → 4.14.0-rc.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -10
- package/funcs/guardrailRulesCreate.d.ts +4 -4
- package/funcs/guardrailRulesCreate.d.ts.map +1 -1
- package/funcs/guardrailRulesCreate.js +5 -5
- package/funcs/guardrailRulesCreate.js.map +1 -1
- package/funcs/guardrailRulesDelete.d.ts +4 -3
- package/funcs/guardrailRulesDelete.d.ts.map +1 -1
- package/funcs/guardrailRulesDelete.js +5 -5
- package/funcs/guardrailRulesDelete.js.map +1 -1
- package/funcs/guardrailRulesList.d.ts +3 -2
- package/funcs/guardrailRulesList.d.ts.map +1 -1
- package/funcs/guardrailRulesList.js +4 -3
- package/funcs/guardrailRulesList.js.map +1 -1
- package/funcs/guardrailRulesListUsedGuardrails.d.ts +4 -3
- package/funcs/guardrailRulesListUsedGuardrails.d.ts.map +1 -1
- package/funcs/guardrailRulesListUsedGuardrails.js +21 -6
- package/funcs/guardrailRulesListUsedGuardrails.js.map +1 -1
- package/funcs/guardrailRulesRetrieve.d.ts +4 -3
- package/funcs/guardrailRulesRetrieve.d.ts.map +1 -1
- package/funcs/guardrailRulesRetrieve.js +4 -3
- package/funcs/guardrailRulesRetrieve.js.map +1 -1
- package/funcs/guardrailRulesUpdate.d.ts +4 -3
- package/funcs/guardrailRulesUpdate.d.ts.map +1 -1
- package/funcs/guardrailRulesUpdate.js +7 -4
- package/funcs/guardrailRulesUpdate.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/advisortoolinput.d.ts +29 -0
- package/models/components/advisortoolinput.d.ts.map +1 -0
- package/models/components/{expressioninput.js → advisortoolinput.js} +14 -7
- package/models/components/advisortoolinput.js.map +1 -0
- package/models/components/agenttoolinputcrud.d.ts +16 -465
- package/models/components/agenttoolinputcrud.d.ts.map +1 -1
- package/models/components/agenttoolinputcrud.js +29 -268
- package/models/components/agenttoolinputcrud.js.map +1 -1
- package/models/components/callsubagenttoolinput.d.ts +29 -0
- package/models/components/callsubagenttoolinput.d.ts.map +1 -0
- package/models/components/callsubagenttoolinput.js +56 -0
- package/models/components/callsubagenttoolinput.js.map +1 -0
- package/models/components/codeinterpretertoolinput.d.ts +29 -0
- package/models/components/codeinterpretertoolinput.d.ts.map +1 -0
- package/models/components/codeinterpretertoolinput.js +56 -0
- package/models/components/codeinterpretertoolinput.js.map +1 -0
- package/models/components/createguardrailrulerequest.d.ts +35 -0
- package/models/components/createguardrailrulerequest.d.ts.map +1 -0
- package/models/components/createguardrailrulerequest.js +65 -0
- package/models/components/createguardrailrulerequest.js.map +1 -0
- package/models/components/createguardrailruleresponse.d.ts +11 -0
- package/models/components/createguardrailruleresponse.d.ts.map +1 -0
- package/models/components/{plugin.js → createguardrailruleresponse.js} +9 -16
- package/models/components/createguardrailruleresponse.js.map +1 -0
- package/models/components/currentdatetoolinput.d.ts +29 -0
- package/models/components/currentdatetoolinput.d.ts.map +1 -0
- package/models/components/currentdatetoolinput.js +56 -0
- package/models/components/currentdatetoolinput.js.map +1 -0
- package/models/components/deleteguardrailruleresponse.d.ts +8 -0
- package/models/components/deleteguardrailruleresponse.d.ts.map +1 -0
- package/models/components/{expression.js → deleteguardrailruleresponse.js} +6 -9
- package/models/components/deleteguardrailruleresponse.js.map +1 -0
- package/models/components/deletememorydocumenttoolinput.d.ts +29 -0
- package/models/components/deletememorydocumenttoolinput.d.ts.map +1 -0
- package/models/components/deletememorydocumenttoolinput.js +56 -0
- package/models/components/deletememorydocumenttoolinput.js.map +1 -0
- package/models/components/evaluatorref.d.ts +5 -5
- package/models/components/evaluatorref.d.ts.map +1 -1
- package/models/components/evaluatorref.js +7 -6
- package/models/components/evaluatorref.js.map +1 -1
- package/models/components/evaluatorresponsefunction.js +2 -2
- package/models/components/evaluatorresponsehttp.js +2 -2
- package/models/components/evaluatorresponsejsonschema.js +2 -2
- package/models/components/evaluatorresponsellm.js +2 -2
- package/models/components/evaluatorresponsepython.js +2 -2
- package/models/components/evaluatorresponseragas.js +2 -2
- package/models/components/evaluatorresponsetypescript.js +2 -2
- package/models/components/getguardrailruleresponse.d.ts +11 -0
- package/models/components/getguardrailruleresponse.d.ts.map +1 -0
- package/models/components/{piiredactionplugin.js → getguardrailruleresponse.js} +9 -12
- package/models/components/getguardrailruleresponse.js.map +1 -0
- package/models/components/googlesearchtoolinput.d.ts +29 -0
- package/models/components/googlesearchtoolinput.d.ts.map +1 -0
- package/models/components/googlesearchtoolinput.js +56 -0
- package/models/components/googlesearchtoolinput.js.map +1 -0
- package/models/components/guardrailrule.d.ts +20 -11
- package/models/components/guardrailrule.d.ts.map +1 -1
- package/models/components/guardrailrule.js +15 -16
- package/models/components/guardrailrule.js.map +1 -1
- package/models/components/guardrailruleexpression.d.ts +31 -0
- package/models/components/guardrailruleexpression.d.ts.map +1 -0
- package/models/components/guardrailruleexpression.js +73 -0
- package/models/components/guardrailruleexpression.js.map +1 -0
- package/models/components/guardrailruleguardrail.d.ts +34 -0
- package/models/components/guardrailruleguardrail.d.ts.map +1 -0
- package/models/components/{guardrailref.js → guardrailruleguardrail.js} +28 -26
- package/models/components/guardrailruleguardrail.js.map +1 -0
- package/models/components/guardrailruleplugin.d.ts +28 -0
- package/models/components/guardrailruleplugin.d.ts.map +1 -0
- package/models/components/guardrailruleplugin.js +75 -0
- package/models/components/guardrailruleplugin.js.map +1 -0
- package/models/components/index.d.ts +25 -5
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +25 -5
- package/models/components/index.js.map +1 -1
- package/models/components/listguardrailrulesresponse.d.ts +13 -0
- package/models/components/listguardrailrulesresponse.d.ts.map +1 -0
- package/models/components/listguardrailrulesresponse.js +58 -0
- package/models/components/listguardrailrulesresponse.js.map +1 -0
- package/models/components/listguardrailruleusedguardrailsresponse.d.ts +11 -0
- package/models/components/listguardrailruleusedguardrailsresponse.d.ts.map +1 -0
- package/models/components/listguardrailruleusedguardrailsresponse.js +56 -0
- package/models/components/listguardrailruleusedguardrailsresponse.js.map +1 -0
- package/models/components/queryknowledgebasetoolinput.d.ts +29 -0
- package/models/components/queryknowledgebasetoolinput.d.ts.map +1 -0
- package/models/components/queryknowledgebasetoolinput.js +56 -0
- package/models/components/queryknowledgebasetoolinput.js.map +1 -0
- package/models/components/querymemorystoretoolinput.d.ts +29 -0
- package/models/components/querymemorystoretoolinput.d.ts.map +1 -0
- package/models/components/querymemorystoretoolinput.js +56 -0
- package/models/components/querymemorystoretoolinput.js.map +1 -0
- package/models/components/reasoningpart.js +1 -1
- package/models/components/retrieveagentstoolinput.d.ts +29 -0
- package/models/components/retrieveagentstoolinput.d.ts.map +1 -0
- package/models/components/retrieveagentstoolinput.js +56 -0
- package/models/components/retrieveagentstoolinput.js.map +1 -0
- package/models/components/retrieveknowledgebasestoolinput.d.ts +29 -0
- package/models/components/retrieveknowledgebasestoolinput.d.ts.map +1 -0
- package/models/components/retrieveknowledgebasestoolinput.js +56 -0
- package/models/components/retrieveknowledgebasestoolinput.js.map +1 -0
- package/models/components/retrievememorystorestoolinput.d.ts +29 -0
- package/models/components/retrievememorystorestoolinput.d.ts.map +1 -0
- package/models/components/retrievememorystorestoolinput.js +56 -0
- package/models/components/retrievememorystorestoolinput.js.map +1 -0
- package/models/components/routingruleexpression.d.ts +8 -8
- package/models/components/routingruleexpression.d.ts.map +1 -1
- package/models/components/routingruleexpression.js +11 -12
- package/models/components/routingruleexpression.js.map +1 -1
- package/models/components/sidekicktoolinput.d.ts +29 -0
- package/models/components/sidekicktoolinput.d.ts.map +1 -0
- package/models/components/sidekicktoolinput.js +56 -0
- package/models/components/sidekicktoolinput.js.map +1 -0
- package/models/components/updateguardrailrulerequest.d.ts +27 -0
- package/models/components/updateguardrailrulerequest.d.ts.map +1 -0
- package/models/components/updateguardrailrulerequest.js +63 -0
- package/models/components/updateguardrailrulerequest.js.map +1 -0
- package/models/components/updateguardrailruleresponse.d.ts +11 -0
- package/models/components/updateguardrailruleresponse.d.ts.map +1 -0
- package/models/components/updateguardrailruleresponse.js +56 -0
- package/models/components/updateguardrailruleresponse.js.map +1 -0
- package/models/components/webscrapertoolinput.d.ts +29 -0
- package/models/components/webscrapertoolinput.d.ts.map +1 -0
- package/models/components/webscrapertoolinput.js +56 -0
- package/models/components/webscrapertoolinput.js.map +1 -0
- package/models/components/writememorystoretoolinput.d.ts +29 -0
- package/models/components/writememorystoretoolinput.d.ts.map +1 -0
- package/models/components/writememorystoretoolinput.js +56 -0
- package/models/components/writememorystoretoolinput.js.map +1 -0
- package/models/operations/createannotationqueue.js +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +5 -5
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/creatererank.d.ts +5 -0
- package/models/operations/creatererank.d.ts.map +1 -1
- package/models/operations/creatererank.js +3 -1
- package/models/operations/creatererank.js.map +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/getalltools.js +6 -6
- package/models/operations/geteval.js +16 -16
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/guardrailruledelete.d.ts +0 -3
- package/models/operations/guardrailruledelete.d.ts.map +1 -1
- package/models/operations/guardrailruledelete.js.map +1 -1
- package/models/operations/guardrailruleget.d.ts +0 -27
- package/models/operations/guardrailruleget.d.ts.map +1 -1
- package/models/operations/guardrailruleget.js +1 -34
- package/models/operations/guardrailruleget.js.map +1 -1
- package/models/operations/guardrailrulelist.d.ts +6 -56
- package/models/operations/guardrailrulelist.d.ts.map +1 -1
- package/models/operations/guardrailrulelist.js +5 -32
- package/models/operations/guardrailrulelist.js.map +1 -1
- package/models/operations/guardrailrulelistusedguardrails.d.ts +8 -10
- package/models/operations/guardrailrulelistusedguardrails.d.ts.map +1 -1
- package/models/operations/guardrailrulelistusedguardrails.js +7 -9
- package/models/operations/guardrailrulelistusedguardrails.js.map +1 -1
- package/models/operations/guardrailruleupdate.d.ts +2 -48
- package/models/operations/guardrailruleupdate.d.ts.map +1 -1
- package/models/operations/guardrailruleupdate.js +3 -52
- package/models/operations/guardrailruleupdate.js.map +1 -1
- package/models/operations/index.d.ts +0 -1
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +0 -1
- package/models/operations/index.js.map +1 -1
- package/models/operations/listannotationqueues.js +1 -1
- package/models/operations/listdatasetdatapoints.js +5 -5
- 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 +4 -4
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/responsebodynodes.js +33 -33
- package/models/operations/retrieveannotationqueue.js +1 -1
- package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody204.js +31 -31
- package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody8attributesopenresponsesoutput2.js +6 -6
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody13attributes5.js +16 -16
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody19attributeslogprobs.js +14 -14
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody21attributes8.js +18 -18
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody24attributesopenresponsesoutput44type.js +16 -16
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody257.js +2 -2
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody29attributesopenresponsesoutput44type.js +16 -16
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody307.js +2 -2
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody44.js +16 -16
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse1.js +34 -34
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse20015.js +7 -7
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody102.js +32 -32
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody11attributesorq10kind.js +15 -15
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody12attributesorqsource.js +2 -2
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody13attributesorq8kind.js +19 -19
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1417.js +4 -4
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody15attributesorq9evaluationtype.js +17 -17
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody16attributesstatus.js +30 -30
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody17attributesorq10evaluatorconfigtype.js +15 -15
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody18attributesorq14outputschema.js +7 -7
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody19attributesorq7annotator.js +21 -21
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody20attributesorq16annotator.js +4 -4
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody21attributesorq9annotator.js +17 -17
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody22attributesorq5outputschema.js +24 -24
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody23attributesorq15outputschema.js +5 -5
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody24attributesorq8annotator.js +19 -19
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody25attributesorq19kind.js +1 -1
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody25status.js +32 -32
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody26attributesorq12status.js +11 -11
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody27attributesorq4evaluationtype.js +26 -26
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody28attributesorq15outputschema.js +5 -5
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody29attributesorq8annotator.js +19 -19
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2source.js +2 -2
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody30attributesorq19kind.js +1 -1
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody30status.js +32 -32
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody31attributesorq17type.js +3 -3
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody32attributesorqvalue.js +15 -15
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody33attributesevaluatorconfigtype.js +30 -30
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody3413.js +11 -11
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody35attributesorq5annotator.js +24 -24
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody3attributesorq19outputschema.js +1 -1
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody4attributesorq8outputschema.js +19 -19
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6attributesorq4kind.js +26 -26
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody7attributesorq12status.js +11 -11
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody8attributesorqannotator.js +28 -28
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody9attributesorq12evaluatorconfigtype.d.ts +4 -0
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody9attributesorq12evaluatorconfigtype.d.ts.map +1 -1
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody9attributesorq12evaluatorconfigtype.js +14 -12
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody9attributesorq12evaluatorconfigtype.js.map +1 -1
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponseevaluatorconfigtype.js +25 -25
- package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse2008.js +28 -28
- package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody11attributestype.js +20 -20
- package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody173.js +20 -20
- package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody18attributesopenresponses6role.js +28 -28
- package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody26attributesopenresponsestype.js +24 -24
- package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody321.js +20 -20
- package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody345.js +24 -24
- package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody7attributesopenresponsestype.js +24 -24
- package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody9attributesrole.js +24 -24
- package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody10role.js +2 -2
- package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody155.js +18 -18
- package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody16status.js +4 -4
- package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody23attributes1.js +30 -30
- package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody28attributes1.js +30 -30
- package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody333.js +4 -4
- package/models/operations/retrieveannotationqueueitemresponsebody.js +1 -1
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson10evaluation.js +1 -1
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson12nodes.js +33 -33
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson14attributesresponse.js +31 -31
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson16score.js +1 -1
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson27choice.js +1 -1
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson31otlp.js +32 -32
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson33provider.js +1 -1
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson6response.js +1 -1
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson8tool.js +1 -1
- package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody22attributestype.js +10 -10
- package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody27logprobs.js +8 -8
- package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody353.js +10 -10
- package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody6type.js +8 -8
- package/models/operations/retrievedatapoint.js +5 -5
- 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.d.ts +16 -394
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +42 -237
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +16 -394
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +42 -237
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/summary4.js +10 -10
- package/models/operations/twentythree.js +1 -1
- package/models/operations/updateannotationqueue.js +1 -1
- package/models/operations/updatedatapoint.js +5 -5
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +1 -1
- package/sdk/feedback.d.ts +1 -4
- package/sdk/feedback.d.ts.map +1 -1
- package/sdk/feedback.js +1 -4
- package/sdk/feedback.js.map +1 -1
- package/sdk/guardrailrules.d.ts +18 -17
- package/sdk/guardrailrules.d.ts.map +1 -1
- package/sdk/guardrailrules.js +17 -17
- package/sdk/guardrailrules.js.map +1 -1
- package/sdk/sdk.d.ts +2 -2
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +3 -3
- package/sdk/sdk.js.map +1 -1
- package/src/funcs/guardrailRulesCreate.ts +11 -11
- package/src/funcs/guardrailRulesDelete.ts +9 -9
- package/src/funcs/guardrailRulesList.ts +7 -6
- package/src/funcs/guardrailRulesListUsedGuardrails.ts +31 -6
- package/src/funcs/guardrailRulesRetrieve.ts +8 -7
- package/src/funcs/guardrailRulesUpdate.ts +11 -8
- package/src/lib/config.ts +2 -2
- package/src/models/components/advisortoolinput.ts +51 -0
- package/src/models/components/agenttoolinputcrud.ts +112 -784
- package/src/models/components/callsubagenttoolinput.ts +51 -0
- package/src/models/components/codeinterpretertoolinput.ts +51 -0
- package/src/models/components/createguardrailrulerequest.ts +79 -0
- package/src/models/components/createguardrailruleresponse.ts +37 -0
- package/src/models/components/currentdatetoolinput.ts +51 -0
- package/src/models/components/deleteguardrailruleresponse.ts +27 -0
- package/src/models/components/deletememorydocumenttoolinput.ts +53 -0
- package/src/models/components/evaluatorref.ts +9 -11
- package/src/models/components/evaluatorresponsefunction.ts +2 -2
- package/src/models/components/evaluatorresponsehttp.ts +2 -2
- package/src/models/components/evaluatorresponsejsonschema.ts +2 -2
- package/src/models/components/evaluatorresponsellm.ts +2 -2
- package/src/models/components/evaluatorresponsepython.ts +2 -2
- package/src/models/components/evaluatorresponseragas.ts +2 -2
- package/src/models/components/evaluatorresponsetypescript.ts +2 -2
- package/src/models/components/getguardrailruleresponse.ts +37 -0
- package/src/models/components/googlesearchtoolinput.ts +51 -0
- package/src/models/components/guardrailrule.ts +41 -24
- package/src/models/components/guardrailruleexpression.ts +86 -0
- package/src/models/components/guardrailruleguardrail.ts +108 -0
- package/src/models/components/guardrailruleplugin.ts +79 -0
- package/src/models/components/index.ts +25 -5
- package/src/models/components/listguardrailrulesresponse.ts +41 -0
- package/src/models/components/listguardrailruleusedguardrailsresponse.ts +44 -0
- package/src/models/components/queryknowledgebasetoolinput.ts +53 -0
- package/src/models/components/querymemorystoretoolinput.ts +51 -0
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/components/retrieveagentstoolinput.ts +51 -0
- package/src/models/components/retrieveknowledgebasestoolinput.ts +53 -0
- package/src/models/components/retrievememorystorestoolinput.ts +53 -0
- package/src/models/components/routingruleexpression.ts +26 -17
- package/src/models/components/sidekicktoolinput.ts +51 -0
- package/src/models/components/updateguardrailrulerequest.ts +69 -0
- package/src/models/components/updateguardrailruleresponse.ts +37 -0
- package/src/models/components/webscrapertoolinput.ts +51 -0
- package/src/models/components/writememorystoretoolinput.ts +51 -0
- package/src/models/operations/createannotationqueue.ts +1 -1
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +5 -5
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/creatererank.ts +8 -1
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/geteval.ts +16 -16
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/guardrailruledelete.ts +0 -3
- package/src/models/operations/guardrailruleget.ts +0 -68
- package/src/models/operations/guardrailrulelist.ts +10 -87
- package/src/models/operations/guardrailrulelistusedguardrails.ts +25 -34
- package/src/models/operations/guardrailruleupdate.ts +5 -118
- package/src/models/operations/index.ts +0 -1
- package/src/models/operations/listannotationqueues.ts +1 -1
- package/src/models/operations/listdatasetdatapoints.ts +5 -5
- 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 +4 -4
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/responsebodynodes.ts +33 -33
- package/src/models/operations/retrieveannotationqueue.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody204.ts +31 -31
- package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody8attributesopenresponsesoutput2.ts +6 -6
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody13attributes5.ts +16 -16
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody19attributeslogprobs.ts +14 -14
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody21attributes8.ts +18 -18
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody24attributesopenresponsesoutput44type.ts +16 -16
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody257.ts +2 -2
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody29attributesopenresponsesoutput44type.ts +16 -16
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody307.ts +2 -2
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody44.ts +16 -16
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse1.ts +34 -34
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse20015.ts +7 -7
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody102.ts +32 -32
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody11attributesorq10kind.ts +15 -15
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody12attributesorqsource.ts +2 -2
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody13attributesorq8kind.ts +19 -19
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1417.ts +4 -4
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody15attributesorq9evaluationtype.ts +17 -17
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody16attributesstatus.ts +30 -30
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody17attributesorq10evaluatorconfigtype.ts +15 -15
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody18attributesorq14outputschema.ts +7 -7
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody19attributesorq7annotator.ts +21 -21
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody20attributesorq16annotator.ts +4 -4
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody21attributesorq9annotator.ts +17 -17
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody22attributesorq5outputschema.ts +24 -24
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody23attributesorq15outputschema.ts +5 -5
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody24attributesorq8annotator.ts +19 -19
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody25attributesorq19kind.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody25status.ts +32 -32
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody26attributesorq12status.ts +11 -11
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody27attributesorq4evaluationtype.ts +26 -26
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody28attributesorq15outputschema.ts +5 -5
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody29attributesorq8annotator.ts +19 -19
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2source.ts +2 -2
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody30attributesorq19kind.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody30status.ts +32 -32
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody31attributesorq17type.ts +3 -3
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody32attributesorqvalue.ts +15 -15
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody33attributesevaluatorconfigtype.ts +30 -30
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody3413.ts +11 -11
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody35attributesorq5annotator.ts +24 -24
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody3attributesorq19outputschema.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody4attributesorq8outputschema.ts +19 -19
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6attributesorq4kind.ts +26 -26
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody7attributesorq12status.ts +11 -11
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody8attributesorqannotator.ts +28 -28
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody9attributesorq12evaluatorconfigtype.ts +18 -12
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponseevaluatorconfigtype.ts +25 -25
- package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse2008.ts +28 -28
- package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody11attributestype.ts +20 -20
- package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody173.ts +20 -20
- package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody18attributesopenresponses6role.ts +28 -28
- package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody26attributesopenresponsestype.ts +24 -24
- package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody321.ts +20 -20
- package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody345.ts +24 -24
- package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody7attributesopenresponsestype.ts +24 -24
- package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody9attributesrole.ts +24 -24
- package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody10role.ts +2 -2
- package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody155.ts +18 -18
- package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody16status.ts +4 -4
- package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody23attributes1.ts +30 -30
- package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody28attributes1.ts +30 -30
- package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody333.ts +4 -4
- package/src/models/operations/retrieveannotationqueueitemresponsebody.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson10evaluation.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson12nodes.ts +33 -33
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson14attributesresponse.ts +31 -31
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson16score.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson27choice.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson31otlp.ts +32 -32
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson33provider.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson6response.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson8tool.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody22attributestype.ts +10 -10
- package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody27logprobs.ts +8 -8
- package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody353.ts +10 -10
- package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody6type.ts +8 -8
- package/src/models/operations/retrievedatapoint.ts +5 -5
- 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 +119 -751
- package/src/models/operations/streamrunagent.ts +116 -792
- package/src/models/operations/summary4.ts +10 -10
- package/src/models/operations/twentythree.ts +1 -1
- package/src/models/operations/updateannotationqueue.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +5 -5
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/feedback.ts +1 -4
- package/src/sdk/guardrailrules.ts +27 -24
- package/src/sdk/sdk.ts +5 -5
- package/models/components/expression.d.ts +0 -13
- package/models/components/expression.d.ts.map +0 -1
- package/models/components/expression.js.map +0 -1
- package/models/components/expressioninput.d.ts +0 -12
- package/models/components/expressioninput.d.ts.map +0 -1
- package/models/components/expressioninput.js.map +0 -1
- package/models/components/guardrailref.d.ts +0 -40
- package/models/components/guardrailref.d.ts.map +0 -1
- package/models/components/guardrailref.js.map +0 -1
- package/models/components/piiredactionplugin.d.ts +0 -14
- package/models/components/piiredactionplugin.d.ts.map +0 -1
- package/models/components/piiredactionplugin.js.map +0 -1
- package/models/components/plugin.d.ts +0 -15
- package/models/components/plugin.d.ts.map +0 -1
- package/models/components/plugin.js.map +0 -1
- package/models/operations/guardrailrulecreate.d.ts +0 -51
- package/models/operations/guardrailrulecreate.d.ts.map +0 -1
- package/models/operations/guardrailrulecreate.js +0 -95
- package/models/operations/guardrailrulecreate.js.map +0 -1
- package/src/models/components/expression.ts +0 -33
- package/src/models/components/expressioninput.ts +0 -29
- package/src/models/components/guardrailref.ts +0 -91
- package/src/models/components/piiredactionplugin.ts +0 -44
- package/src/models/components/plugin.ts +0 -51
- package/src/models/operations/guardrailrulecreate.ts +0 -126
|
@@ -0,0 +1,56 @@
|
|
|
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.RetrieveAgentsToolInput$outboundSchema = void 0;
|
|
40
|
+
exports.retrieveAgentsToolInputToJSON = retrieveAgentsToolInputToJSON;
|
|
41
|
+
const z = __importStar(require("zod/v3"));
|
|
42
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
43
|
+
/** @internal */
|
|
44
|
+
exports.RetrieveAgentsToolInput$outboundSchema = z.object({
|
|
45
|
+
type: z.literal("retrieve_agents"),
|
|
46
|
+
requiresApproval: z.boolean().optional(),
|
|
47
|
+
configuration: z.record(z.any()).optional(),
|
|
48
|
+
}).transform((v) => {
|
|
49
|
+
return (0, primitives_js_1.remap)(v, {
|
|
50
|
+
requiresApproval: "requires_approval",
|
|
51
|
+
});
|
|
52
|
+
});
|
|
53
|
+
function retrieveAgentsToolInputToJSON(retrieveAgentsToolInput) {
|
|
54
|
+
return JSON.stringify(exports.RetrieveAgentsToolInput$outboundSchema.parse(retrieveAgentsToolInput));
|
|
55
|
+
}
|
|
56
|
+
//# sourceMappingURL=retrieveagentstoolinput.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retrieveagentstoolinput.js","sourceRoot":"","sources":["../../src/models/components/retrieveagentstoolinput.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0CH,sEAMC;AA9CD,0CAA4B;AAC5B,2DAA0D;AAwB1D,gBAAgB;AACH,QAAA,sCAAsC,GAI/C,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,iBAAiB,CAAC;IAClC,gBAAgB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACxC,aAAa,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;CAC5C,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,gBAAgB,EAAE,mBAAmB;KACtC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,6BAA6B,CAC3C,uBAAgD;IAEhD,OAAO,IAAI,CAAC,SAAS,CACnB,8CAAsC,CAAC,KAAK,CAAC,uBAAuB,CAAC,CACtE,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
/**
|
|
3
|
+
* Lists available knowledge bases
|
|
4
|
+
*/
|
|
5
|
+
export type RetrieveKnowledgeBasesToolInput = {
|
|
6
|
+
type: "retrieve_knowledge_bases";
|
|
7
|
+
/**
|
|
8
|
+
* Whether this tool requires approval before execution
|
|
9
|
+
*/
|
|
10
|
+
requiresApproval?: boolean | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
|
|
13
|
+
*/
|
|
14
|
+
configuration?: {
|
|
15
|
+
[k: string]: any;
|
|
16
|
+
} | undefined;
|
|
17
|
+
};
|
|
18
|
+
/** @internal */
|
|
19
|
+
export type RetrieveKnowledgeBasesToolInput$Outbound = {
|
|
20
|
+
type: "retrieve_knowledge_bases";
|
|
21
|
+
requires_approval?: boolean | undefined;
|
|
22
|
+
configuration?: {
|
|
23
|
+
[k: string]: any;
|
|
24
|
+
} | undefined;
|
|
25
|
+
};
|
|
26
|
+
/** @internal */
|
|
27
|
+
export declare const RetrieveKnowledgeBasesToolInput$outboundSchema: z.ZodType<RetrieveKnowledgeBasesToolInput$Outbound, z.ZodTypeDef, RetrieveKnowledgeBasesToolInput>;
|
|
28
|
+
export declare function retrieveKnowledgeBasesToolInputToJSON(retrieveKnowledgeBasesToolInput: RetrieveKnowledgeBasesToolInput): string;
|
|
29
|
+
//# sourceMappingURL=retrieveknowledgebasestoolinput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retrieveknowledgebasestoolinput.d.ts","sourceRoot":"","sources":["../../src/models/components/retrieveknowledgebasestoolinput.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B;;GAEG;AACH,MAAM,MAAM,+BAA+B,GAAG;IAC5C,IAAI,EAAE,0BAA0B,CAAC;IACjC;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACvC;;OAEG;IACH,aAAa,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;CAClD,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,wCAAwC,GAAG;IACrD,IAAI,EAAE,0BAA0B,CAAC;IACjC,iBAAiB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACxC,aAAa,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;CAClD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8CAA8C,EAAE,CAAC,CAAC,OAAO,CACpE,wCAAwC,EACxC,CAAC,CAAC,UAAU,EACZ,+BAA+B,CAS/B,CAAC;AAEH,wBAAgB,qCAAqC,CACnD,+BAA+B,EAAE,+BAA+B,GAC/D,MAAM,CAMR"}
|
|
@@ -0,0 +1,56 @@
|
|
|
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.RetrieveKnowledgeBasesToolInput$outboundSchema = void 0;
|
|
40
|
+
exports.retrieveKnowledgeBasesToolInputToJSON = retrieveKnowledgeBasesToolInputToJSON;
|
|
41
|
+
const z = __importStar(require("zod/v3"));
|
|
42
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
43
|
+
/** @internal */
|
|
44
|
+
exports.RetrieveKnowledgeBasesToolInput$outboundSchema = z.object({
|
|
45
|
+
type: z.literal("retrieve_knowledge_bases"),
|
|
46
|
+
requiresApproval: z.boolean().optional(),
|
|
47
|
+
configuration: z.record(z.any()).optional(),
|
|
48
|
+
}).transform((v) => {
|
|
49
|
+
return (0, primitives_js_1.remap)(v, {
|
|
50
|
+
requiresApproval: "requires_approval",
|
|
51
|
+
});
|
|
52
|
+
});
|
|
53
|
+
function retrieveKnowledgeBasesToolInputToJSON(retrieveKnowledgeBasesToolInput) {
|
|
54
|
+
return JSON.stringify(exports.RetrieveKnowledgeBasesToolInput$outboundSchema.parse(retrieveKnowledgeBasesToolInput));
|
|
55
|
+
}
|
|
56
|
+
//# sourceMappingURL=retrieveknowledgebasestoolinput.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retrieveknowledgebasestoolinput.js","sourceRoot":"","sources":["../../src/models/components/retrieveknowledgebasestoolinput.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0CH,sFAQC;AAhDD,0CAA4B;AAC5B,2DAA0D;AAwB1D,gBAAgB;AACH,QAAA,8CAA8C,GAIvD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,0BAA0B,CAAC;IAC3C,gBAAgB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACxC,aAAa,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;CAC5C,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,gBAAgB,EAAE,mBAAmB;KACtC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,qCAAqC,CACnD,+BAAgE;IAEhE,OAAO,IAAI,CAAC,SAAS,CACnB,sDAA8C,CAAC,KAAK,CAClD,+BAA+B,CAChC,CACF,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
/**
|
|
3
|
+
* Lists available memory stores
|
|
4
|
+
*/
|
|
5
|
+
export type RetrieveMemoryStoresToolInput = {
|
|
6
|
+
type: "retrieve_memory_stores";
|
|
7
|
+
/**
|
|
8
|
+
* Whether this tool requires approval before execution
|
|
9
|
+
*/
|
|
10
|
+
requiresApproval?: boolean | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
|
|
13
|
+
*/
|
|
14
|
+
configuration?: {
|
|
15
|
+
[k: string]: any;
|
|
16
|
+
} | undefined;
|
|
17
|
+
};
|
|
18
|
+
/** @internal */
|
|
19
|
+
export type RetrieveMemoryStoresToolInput$Outbound = {
|
|
20
|
+
type: "retrieve_memory_stores";
|
|
21
|
+
requires_approval?: boolean | undefined;
|
|
22
|
+
configuration?: {
|
|
23
|
+
[k: string]: any;
|
|
24
|
+
} | undefined;
|
|
25
|
+
};
|
|
26
|
+
/** @internal */
|
|
27
|
+
export declare const RetrieveMemoryStoresToolInput$outboundSchema: z.ZodType<RetrieveMemoryStoresToolInput$Outbound, z.ZodTypeDef, RetrieveMemoryStoresToolInput>;
|
|
28
|
+
export declare function retrieveMemoryStoresToolInputToJSON(retrieveMemoryStoresToolInput: RetrieveMemoryStoresToolInput): string;
|
|
29
|
+
//# sourceMappingURL=retrievememorystorestoolinput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retrievememorystorestoolinput.d.ts","sourceRoot":"","sources":["../../src/models/components/retrievememorystorestoolinput.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG;IAC1C,IAAI,EAAE,wBAAwB,CAAC;IAC/B;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACvC;;OAEG;IACH,aAAa,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;CAClD,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,sCAAsC,GAAG;IACnD,IAAI,EAAE,wBAAwB,CAAC;IAC/B,iBAAiB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACxC,aAAa,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;CAClD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4CAA4C,EAAE,CAAC,CAAC,OAAO,CAClE,sCAAsC,EACtC,CAAC,CAAC,UAAU,EACZ,6BAA6B,CAS7B,CAAC;AAEH,wBAAgB,mCAAmC,CACjD,6BAA6B,EAAE,6BAA6B,GAC3D,MAAM,CAMR"}
|
|
@@ -0,0 +1,56 @@
|
|
|
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.RetrieveMemoryStoresToolInput$outboundSchema = void 0;
|
|
40
|
+
exports.retrieveMemoryStoresToolInputToJSON = retrieveMemoryStoresToolInputToJSON;
|
|
41
|
+
const z = __importStar(require("zod/v3"));
|
|
42
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
43
|
+
/** @internal */
|
|
44
|
+
exports.RetrieveMemoryStoresToolInput$outboundSchema = z.object({
|
|
45
|
+
type: z.literal("retrieve_memory_stores"),
|
|
46
|
+
requiresApproval: z.boolean().optional(),
|
|
47
|
+
configuration: z.record(z.any()).optional(),
|
|
48
|
+
}).transform((v) => {
|
|
49
|
+
return (0, primitives_js_1.remap)(v, {
|
|
50
|
+
requiresApproval: "requires_approval",
|
|
51
|
+
});
|
|
52
|
+
});
|
|
53
|
+
function retrieveMemoryStoresToolInputToJSON(retrieveMemoryStoresToolInput) {
|
|
54
|
+
return JSON.stringify(exports.RetrieveMemoryStoresToolInput$outboundSchema.parse(retrieveMemoryStoresToolInput));
|
|
55
|
+
}
|
|
56
|
+
//# sourceMappingURL=retrievememorystorestoolinput.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retrievememorystorestoolinput.js","sourceRoot":"","sources":["../../src/models/components/retrievememorystorestoolinput.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0CH,kFAQC;AAhDD,0CAA4B;AAC5B,2DAA0D;AAwB1D,gBAAgB;AACH,QAAA,4CAA4C,GAIrD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,wBAAwB,CAAC;IACzC,gBAAgB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACxC,aAAa,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;CAC5C,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,gBAAgB,EAAE,mBAAmB;KACtC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,mCAAmC,CACjD,6BAA4D;IAE5D,OAAO,IAAI,CAAC,SAAS,CACnB,oDAA4C,CAAC,KAAK,CAChD,6BAA6B,CAC9B,CACF,CAAC;AACJ,CAAC"}
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import * as z from "zod/v3";
|
|
2
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
-
export type
|
|
4
|
+
export type RoutingRuleExpressionConfig = {};
|
|
5
5
|
export type RoutingRuleExpression = {
|
|
6
|
-
config?:
|
|
6
|
+
config?: RoutingRuleExpressionConfig | undefined;
|
|
7
7
|
/**
|
|
8
8
|
* CEL expression used to match requests. Empty means the rule always matches.
|
|
9
9
|
*/
|
|
10
10
|
cel?: string | undefined;
|
|
11
11
|
};
|
|
12
12
|
/** @internal */
|
|
13
|
-
export declare const
|
|
13
|
+
export declare const RoutingRuleExpressionConfig$inboundSchema: z.ZodType<RoutingRuleExpressionConfig, z.ZodTypeDef, unknown>;
|
|
14
14
|
/** @internal */
|
|
15
|
-
export type
|
|
15
|
+
export type RoutingRuleExpressionConfig$Outbound = {};
|
|
16
16
|
/** @internal */
|
|
17
|
-
export declare const
|
|
18
|
-
export declare function
|
|
19
|
-
export declare function
|
|
17
|
+
export declare const RoutingRuleExpressionConfig$outboundSchema: z.ZodType<RoutingRuleExpressionConfig$Outbound, z.ZodTypeDef, RoutingRuleExpressionConfig>;
|
|
18
|
+
export declare function routingRuleExpressionConfigToJSON(routingRuleExpressionConfig: RoutingRuleExpressionConfig): string;
|
|
19
|
+
export declare function routingRuleExpressionConfigFromJSON(jsonString: string): SafeParseResult<RoutingRuleExpressionConfig, SDKValidationError>;
|
|
20
20
|
/** @internal */
|
|
21
21
|
export declare const RoutingRuleExpression$inboundSchema: z.ZodType<RoutingRuleExpression, z.ZodTypeDef, unknown>;
|
|
22
22
|
/** @internal */
|
|
23
23
|
export type RoutingRuleExpression$Outbound = {
|
|
24
|
-
config?:
|
|
24
|
+
config?: RoutingRuleExpressionConfig$Outbound | undefined;
|
|
25
25
|
cel?: string | undefined;
|
|
26
26
|
};
|
|
27
27
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routingruleexpression.d.ts","sourceRoot":"","sources":["../../src/models/components/routingruleexpression.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"routingruleexpression.d.ts","sourceRoot":"","sources":["../../src/models/components/routingruleexpression.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,2BAA2B,GAAG,EAAE,CAAC;AAE7C,MAAM,MAAM,qBAAqB,GAAG;IAClC,MAAM,CAAC,EAAE,2BAA2B,GAAG,SAAS,CAAC;IACjD;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC1B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,OAAO,CAC/D,2BAA2B,EAC3B,CAAC,CAAC,UAAU,EACZ,OAAO,CACO,CAAC;AACjB,gBAAgB;AAChB,MAAM,MAAM,oCAAoC,GAAG,EAAE,CAAC;AAEtD,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,OAAO,CAChE,oCAAoC,EACpC,CAAC,CAAC,UAAU,EACZ,2BAA2B,CACb,CAAC;AAEjB,wBAAgB,iCAAiC,CAC/C,2BAA2B,EAAE,2BAA2B,GACvD,MAAM,CAMR;AACD,wBAAgB,mCAAmC,CACjD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,2BAA2B,EAAE,kBAAkB,CAAC,CAMlE;AAED,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,qBAAqB,EACrB,CAAC,CAAC,UAAU,EACZ,OAAO,CAIP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,8BAA8B,GAAG;IAC3C,MAAM,CAAC,EAAE,oCAAoC,GAAG,SAAS,CAAC;IAC1D,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC1B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,8BAA8B,EAC9B,CAAC,CAAC,UAAU,EACZ,qBAAqB,CAIrB,CAAC;AAEH,wBAAgB,2BAA2B,CACzC,qBAAqB,EAAE,qBAAqB,GAC3C,MAAM,CAIR;AACD,wBAAgB,6BAA6B,CAC3C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,qBAAqB,EAAE,kBAAkB,CAAC,CAM5D"}
|
|
@@ -36,32 +36,31 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.RoutingRuleExpression$outboundSchema = exports.RoutingRuleExpression$inboundSchema = exports.
|
|
40
|
-
exports.
|
|
41
|
-
exports.
|
|
39
|
+
exports.RoutingRuleExpression$outboundSchema = exports.RoutingRuleExpression$inboundSchema = exports.RoutingRuleExpressionConfig$outboundSchema = exports.RoutingRuleExpressionConfig$inboundSchema = void 0;
|
|
40
|
+
exports.routingRuleExpressionConfigToJSON = routingRuleExpressionConfigToJSON;
|
|
41
|
+
exports.routingRuleExpressionConfigFromJSON = routingRuleExpressionConfigFromJSON;
|
|
42
42
|
exports.routingRuleExpressionToJSON = routingRuleExpressionToJSON;
|
|
43
43
|
exports.routingRuleExpressionFromJSON = routingRuleExpressionFromJSON;
|
|
44
44
|
const z = __importStar(require("zod/v3"));
|
|
45
45
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
46
46
|
/** @internal */
|
|
47
|
-
exports.
|
|
48
|
-
.object({});
|
|
47
|
+
exports.RoutingRuleExpressionConfig$inboundSchema = z.object({});
|
|
49
48
|
/** @internal */
|
|
50
|
-
exports.
|
|
51
|
-
function
|
|
52
|
-
return JSON.stringify(exports.
|
|
49
|
+
exports.RoutingRuleExpressionConfig$outboundSchema = z.object({});
|
|
50
|
+
function routingRuleExpressionConfigToJSON(routingRuleExpressionConfig) {
|
|
51
|
+
return JSON.stringify(exports.RoutingRuleExpressionConfig$outboundSchema.parse(routingRuleExpressionConfig));
|
|
53
52
|
}
|
|
54
|
-
function
|
|
55
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
53
|
+
function routingRuleExpressionConfigFromJSON(jsonString) {
|
|
54
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.RoutingRuleExpressionConfig$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'RoutingRuleExpressionConfig' from JSON`);
|
|
56
55
|
}
|
|
57
56
|
/** @internal */
|
|
58
57
|
exports.RoutingRuleExpression$inboundSchema = z.object({
|
|
59
|
-
config: z.lazy(() => exports.
|
|
58
|
+
config: z.lazy(() => exports.RoutingRuleExpressionConfig$inboundSchema).optional(),
|
|
60
59
|
cel: z.string().optional(),
|
|
61
60
|
});
|
|
62
61
|
/** @internal */
|
|
63
62
|
exports.RoutingRuleExpression$outboundSchema = z.object({
|
|
64
|
-
config: z.lazy(() => exports.
|
|
63
|
+
config: z.lazy(() => exports.RoutingRuleExpressionConfig$outboundSchema).optional(),
|
|
65
64
|
cel: z.string().optional(),
|
|
66
65
|
});
|
|
67
66
|
function routingRuleExpressionToJSON(routingRuleExpression) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routingruleexpression.js","sourceRoot":"","sources":["../../src/models/components/routingruleexpression.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"routingruleexpression.js","sourceRoot":"","sources":["../../src/models/components/routingruleexpression.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiCH,8EAQC;AACD,kFAQC;AA2BD,kEAMC;AACD,sEAQC;AA1FD,0CAA4B;AAC5B,qDAAiD;AAcjD,gBAAgB;AACH,QAAA,yCAAyC,GAIlD,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAIjB,gBAAgB;AACH,QAAA,0CAA0C,GAInD,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAEjB,SAAgB,iCAAiC,CAC/C,2BAAwD;IAExD,OAAO,IAAI,CAAC,SAAS,CACnB,kDAA0C,CAAC,KAAK,CAC9C,2BAA2B,CAC5B,CACF,CAAC;AACJ,CAAC;AACD,SAAgB,mCAAmC,CACjD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,iDAAyC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACrE,yDAAyD,CAC1D,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,iDAAyC,CAAC,CAAC,QAAQ,EAAE;IAC1E,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC3B,CAAC,CAAC;AAOH,gBAAgB;AACH,QAAA,oCAAoC,GAI7C,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,kDAA0C,CAAC,CAAC,QAAQ,EAAE;IAC3E,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC3B,CAAC,CAAC;AAEH,SAAgB,2BAA2B,CACzC,qBAA4C;IAE5C,OAAO,IAAI,CAAC,SAAS,CACnB,4CAAoC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAClE,CAAC;AACJ,CAAC;AACD,SAAgB,6BAA6B,CAC3C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,2CAAmC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC/D,mDAAmD,CACpD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
/**
|
|
3
|
+
* Delegate a subtask to a secondary model for execution
|
|
4
|
+
*/
|
|
5
|
+
export type SidekickToolInput = {
|
|
6
|
+
type: "sidekick";
|
|
7
|
+
/**
|
|
8
|
+
* Whether this tool requires approval before execution
|
|
9
|
+
*/
|
|
10
|
+
requiresApproval?: boolean | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
|
|
13
|
+
*/
|
|
14
|
+
configuration?: {
|
|
15
|
+
[k: string]: any;
|
|
16
|
+
} | undefined;
|
|
17
|
+
};
|
|
18
|
+
/** @internal */
|
|
19
|
+
export type SidekickToolInput$Outbound = {
|
|
20
|
+
type: "sidekick";
|
|
21
|
+
requires_approval?: boolean | undefined;
|
|
22
|
+
configuration?: {
|
|
23
|
+
[k: string]: any;
|
|
24
|
+
} | undefined;
|
|
25
|
+
};
|
|
26
|
+
/** @internal */
|
|
27
|
+
export declare const SidekickToolInput$outboundSchema: z.ZodType<SidekickToolInput$Outbound, z.ZodTypeDef, SidekickToolInput>;
|
|
28
|
+
export declare function sidekickToolInputToJSON(sidekickToolInput: SidekickToolInput): string;
|
|
29
|
+
//# sourceMappingURL=sidekicktoolinput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sidekicktoolinput.d.ts","sourceRoot":"","sources":["../../src/models/components/sidekicktoolinput.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,UAAU,CAAC;IACjB;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACvC;;OAEG;IACH,aAAa,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;CAClD,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,0BAA0B,GAAG;IACvC,IAAI,EAAE,UAAU,CAAC;IACjB,iBAAiB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACxC,aAAa,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;CAClD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,0BAA0B,EAC1B,CAAC,CAAC,UAAU,EACZ,iBAAiB,CASjB,CAAC;AAEH,wBAAgB,uBAAuB,CACrC,iBAAiB,EAAE,iBAAiB,GACnC,MAAM,CAIR"}
|
|
@@ -0,0 +1,56 @@
|
|
|
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.SidekickToolInput$outboundSchema = void 0;
|
|
40
|
+
exports.sidekickToolInputToJSON = sidekickToolInputToJSON;
|
|
41
|
+
const z = __importStar(require("zod/v3"));
|
|
42
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
43
|
+
/** @internal */
|
|
44
|
+
exports.SidekickToolInput$outboundSchema = z.object({
|
|
45
|
+
type: z.literal("sidekick"),
|
|
46
|
+
requiresApproval: z.boolean().optional(),
|
|
47
|
+
configuration: z.record(z.any()).optional(),
|
|
48
|
+
}).transform((v) => {
|
|
49
|
+
return (0, primitives_js_1.remap)(v, {
|
|
50
|
+
requiresApproval: "requires_approval",
|
|
51
|
+
});
|
|
52
|
+
});
|
|
53
|
+
function sidekickToolInputToJSON(sidekickToolInput) {
|
|
54
|
+
return JSON.stringify(exports.SidekickToolInput$outboundSchema.parse(sidekickToolInput));
|
|
55
|
+
}
|
|
56
|
+
//# sourceMappingURL=sidekicktoolinput.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sidekicktoolinput.js","sourceRoot":"","sources":["../../src/models/components/sidekicktoolinput.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0CH,0DAMC;AA9CD,0CAA4B;AAC5B,2DAA0D;AAwB1D,gBAAgB;AACH,QAAA,gCAAgC,GAIzC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC;IAC3B,gBAAgB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACxC,aAAa,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;CAC5C,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,gBAAgB,EAAE,mBAAmB;KACtC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,uBAAuB,CACrC,iBAAoC;IAEpC,OAAO,IAAI,CAAC,SAAS,CACnB,wCAAgC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAC1D,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { GuardrailRuleExpression, GuardrailRuleExpression$Outbound } from "./guardrailruleexpression.js";
|
|
3
|
+
import { GuardrailRuleGuardrail, GuardrailRuleGuardrail$Outbound } from "./guardrailruleguardrail.js";
|
|
4
|
+
import { GuardrailRulePlugin, GuardrailRulePlugin$Outbound } from "./guardrailruleplugin.js";
|
|
5
|
+
export type UpdateGuardrailRuleRequest = {
|
|
6
|
+
displayName?: string | undefined;
|
|
7
|
+
description?: string | undefined;
|
|
8
|
+
enabled?: boolean | undefined;
|
|
9
|
+
expression?: GuardrailRuleExpression | undefined;
|
|
10
|
+
guardrails?: Array<GuardrailRuleGuardrail> | undefined;
|
|
11
|
+
plugins?: Array<GuardrailRulePlugin> | undefined;
|
|
12
|
+
timeout?: number | undefined;
|
|
13
|
+
};
|
|
14
|
+
/** @internal */
|
|
15
|
+
export type UpdateGuardrailRuleRequest$Outbound = {
|
|
16
|
+
display_name?: string | undefined;
|
|
17
|
+
description?: string | undefined;
|
|
18
|
+
enabled?: boolean | undefined;
|
|
19
|
+
expression?: GuardrailRuleExpression$Outbound | undefined;
|
|
20
|
+
guardrails?: Array<GuardrailRuleGuardrail$Outbound> | undefined;
|
|
21
|
+
plugins?: Array<GuardrailRulePlugin$Outbound> | undefined;
|
|
22
|
+
timeout?: number | undefined;
|
|
23
|
+
};
|
|
24
|
+
/** @internal */
|
|
25
|
+
export declare const UpdateGuardrailRuleRequest$outboundSchema: z.ZodType<UpdateGuardrailRuleRequest$Outbound, z.ZodTypeDef, UpdateGuardrailRuleRequest>;
|
|
26
|
+
export declare function updateGuardrailRuleRequestToJSON(updateGuardrailRuleRequest: UpdateGuardrailRuleRequest): string;
|
|
27
|
+
//# sourceMappingURL=updateguardrailrulerequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateguardrailrulerequest.d.ts","sourceRoot":"","sources":["../../src/models/components/updateguardrailrulerequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EACL,uBAAuB,EACvB,gCAAgC,EAEjC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,sBAAsB,EACtB,+BAA+B,EAEhC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,mBAAmB,EACnB,4BAA4B,EAE7B,MAAM,0BAA0B,CAAC;AAElC,MAAM,MAAM,0BAA0B,GAAG;IACvC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,UAAU,CAAC,EAAE,uBAAuB,GAAG,SAAS,CAAC;IACjD,UAAU,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,GAAG,SAAS,CAAC;IACvD,OAAO,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC;IACjD,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,mCAAmC,GAAG;IAChD,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,UAAU,CAAC,EAAE,gCAAgC,GAAG,SAAS,CAAC;IAC1D,UAAU,CAAC,EAAE,KAAK,CAAC,+BAA+B,CAAC,GAAG,SAAS,CAAC;IAChE,OAAO,CAAC,EAAE,KAAK,CAAC,4BAA4B,CAAC,GAAG,SAAS,CAAC;IAC1D,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,OAAO,CAC/D,mCAAmC,EACnC,CAAC,CAAC,UAAU,EACZ,0BAA0B,CAa1B,CAAC;AAEH,wBAAgB,gCAAgC,CAC9C,0BAA0B,EAAE,0BAA0B,GACrD,MAAM,CAIR"}
|
|
@@ -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.UpdateGuardrailRuleRequest$outboundSchema = void 0;
|
|
40
|
+
exports.updateGuardrailRuleRequestToJSON = updateGuardrailRuleRequestToJSON;
|
|
41
|
+
const z = __importStar(require("zod/v3"));
|
|
42
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
43
|
+
const guardrailruleexpression_js_1 = require("./guardrailruleexpression.js");
|
|
44
|
+
const guardrailruleguardrail_js_1 = require("./guardrailruleguardrail.js");
|
|
45
|
+
const guardrailruleplugin_js_1 = require("./guardrailruleplugin.js");
|
|
46
|
+
/** @internal */
|
|
47
|
+
exports.UpdateGuardrailRuleRequest$outboundSchema = z.object({
|
|
48
|
+
displayName: z.string().optional(),
|
|
49
|
+
description: z.string().optional(),
|
|
50
|
+
enabled: z.boolean().optional(),
|
|
51
|
+
expression: guardrailruleexpression_js_1.GuardrailRuleExpression$outboundSchema.optional(),
|
|
52
|
+
guardrails: z.array(guardrailruleguardrail_js_1.GuardrailRuleGuardrail$outboundSchema).optional(),
|
|
53
|
+
plugins: z.array(guardrailruleplugin_js_1.GuardrailRulePlugin$outboundSchema).optional(),
|
|
54
|
+
timeout: z.number().int().optional(),
|
|
55
|
+
}).transform((v) => {
|
|
56
|
+
return (0, primitives_js_1.remap)(v, {
|
|
57
|
+
displayName: "display_name",
|
|
58
|
+
});
|
|
59
|
+
});
|
|
60
|
+
function updateGuardrailRuleRequestToJSON(updateGuardrailRuleRequest) {
|
|
61
|
+
return JSON.stringify(exports.UpdateGuardrailRuleRequest$outboundSchema.parse(updateGuardrailRuleRequest));
|
|
62
|
+
}
|
|
63
|
+
//# sourceMappingURL=updateguardrailrulerequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateguardrailrulerequest.js","sourceRoot":"","sources":["../../src/models/components/updateguardrailrulerequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4DH,4EAMC;AAhED,0CAA4B;AAC5B,2DAA0D;AAC1D,6EAIsC;AACtC,2EAIqC;AACrC,qEAIkC;AAuBlC,gBAAgB;AACH,QAAA,yCAAyC,GAIlD,CAAC,CAAC,MAAM,CAAC;IACX,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC/B,UAAU,EAAE,mEAAsC,CAAC,QAAQ,EAAE;IAC7D,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,iEAAqC,CAAC,CAAC,QAAQ,EAAE;IACrE,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,2DAAkC,CAAC,CAAC,QAAQ,EAAE;IAC/D,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;CACrC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,WAAW,EAAE,cAAc;KAC5B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,gCAAgC,CAC9C,0BAAsD;IAEtD,OAAO,IAAI,CAAC,SAAS,CACnB,iDAAyC,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAC5E,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { GuardrailRule } from "./guardrailrule.js";
|
|
5
|
+
export type UpdateGuardrailRuleResponse = {
|
|
6
|
+
guardrailRule: GuardrailRule;
|
|
7
|
+
};
|
|
8
|
+
/** @internal */
|
|
9
|
+
export declare const UpdateGuardrailRuleResponse$inboundSchema: z.ZodType<UpdateGuardrailRuleResponse, z.ZodTypeDef, unknown>;
|
|
10
|
+
export declare function updateGuardrailRuleResponseFromJSON(jsonString: string): SafeParseResult<UpdateGuardrailRuleResponse, SDKValidationError>;
|
|
11
|
+
//# sourceMappingURL=updateguardrailruleresponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateguardrailruleresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/updateguardrailruleresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,aAAa,EAA+B,MAAM,oBAAoB,CAAC;AAEhF,MAAM,MAAM,2BAA2B,GAAG;IACxC,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,OAAO,CAC/D,2BAA2B,EAC3B,CAAC,CAAC,UAAU,EACZ,OAAO,CAOP,CAAC;AAEH,wBAAgB,mCAAmC,CACjD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,2BAA2B,EAAE,kBAAkB,CAAC,CAMlE"}
|
|
@@ -0,0 +1,56 @@
|
|
|
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.UpdateGuardrailRuleResponse$inboundSchema = void 0;
|
|
40
|
+
exports.updateGuardrailRuleResponseFromJSON = updateGuardrailRuleResponseFromJSON;
|
|
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
|
+
const guardrailrule_js_1 = require("./guardrailrule.js");
|
|
45
|
+
/** @internal */
|
|
46
|
+
exports.UpdateGuardrailRuleResponse$inboundSchema = z.object({
|
|
47
|
+
guardrail_rule: guardrailrule_js_1.GuardrailRule$inboundSchema,
|
|
48
|
+
}).transform((v) => {
|
|
49
|
+
return (0, primitives_js_1.remap)(v, {
|
|
50
|
+
"guardrail_rule": "guardrailRule",
|
|
51
|
+
});
|
|
52
|
+
});
|
|
53
|
+
function updateGuardrailRuleResponseFromJSON(jsonString) {
|
|
54
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdateGuardrailRuleResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateGuardrailRuleResponse' from JSON`);
|
|
55
|
+
}
|
|
56
|
+
//# sourceMappingURL=updateguardrailruleresponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateguardrailruleresponse.js","sourceRoot":"","sources":["../../src/models/components/updateguardrailruleresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0BH,kFAQC;AAhCD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAGjD,yDAAgF;AAMhF,gBAAgB;AACH,QAAA,yCAAyC,GAIlD,CAAC,CAAC,MAAM,CAAC;IACX,cAAc,EAAE,8CAA2B;CAC5C,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,gBAAgB,EAAE,eAAe;KAClC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,mCAAmC,CACjD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,iDAAyC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACrE,yDAAyD,CAC1D,CAAC;AACJ,CAAC"}
|