@orq-ai/node 4.14.0-rc.1 → 4.14.0-rc.4

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.
Files changed (504) hide show
  1. package/README.md +11 -11
  2. package/funcs/guardrailRulesCreate.d.ts +4 -4
  3. package/funcs/guardrailRulesCreate.d.ts.map +1 -1
  4. package/funcs/guardrailRulesCreate.js +5 -5
  5. package/funcs/guardrailRulesCreate.js.map +1 -1
  6. package/funcs/guardrailRulesDelete.d.ts +4 -3
  7. package/funcs/guardrailRulesDelete.d.ts.map +1 -1
  8. package/funcs/guardrailRulesDelete.js +5 -5
  9. package/funcs/guardrailRulesDelete.js.map +1 -1
  10. package/funcs/guardrailRulesList.d.ts +3 -2
  11. package/funcs/guardrailRulesList.d.ts.map +1 -1
  12. package/funcs/guardrailRulesList.js +4 -3
  13. package/funcs/guardrailRulesList.js.map +1 -1
  14. package/funcs/guardrailRulesListUsedGuardrails.d.ts +4 -3
  15. package/funcs/guardrailRulesListUsedGuardrails.d.ts.map +1 -1
  16. package/funcs/guardrailRulesListUsedGuardrails.js +21 -6
  17. package/funcs/guardrailRulesListUsedGuardrails.js.map +1 -1
  18. package/funcs/guardrailRulesRetrieve.d.ts +4 -3
  19. package/funcs/guardrailRulesRetrieve.d.ts.map +1 -1
  20. package/funcs/guardrailRulesRetrieve.js +4 -3
  21. package/funcs/guardrailRulesRetrieve.js.map +1 -1
  22. package/funcs/guardrailRulesUpdate.d.ts +4 -3
  23. package/funcs/guardrailRulesUpdate.d.ts.map +1 -1
  24. package/funcs/guardrailRulesUpdate.js +7 -4
  25. package/funcs/guardrailRulesUpdate.js.map +1 -1
  26. package/jsr.json +1 -1
  27. package/lib/config.d.ts +3 -3
  28. package/lib/config.js +3 -3
  29. package/models/components/advisortoolinput.d.ts +29 -0
  30. package/models/components/advisortoolinput.d.ts.map +1 -0
  31. package/models/components/{expressioninput.js → advisortoolinput.js} +14 -7
  32. package/models/components/advisortoolinput.js.map +1 -0
  33. package/models/components/agenttoolinputcrud.d.ts +16 -465
  34. package/models/components/agenttoolinputcrud.d.ts.map +1 -1
  35. package/models/components/agenttoolinputcrud.js +29 -268
  36. package/models/components/agenttoolinputcrud.js.map +1 -1
  37. package/models/components/callsubagenttoolinput.d.ts +29 -0
  38. package/models/components/callsubagenttoolinput.d.ts.map +1 -0
  39. package/models/components/callsubagenttoolinput.js +56 -0
  40. package/models/components/callsubagenttoolinput.js.map +1 -0
  41. package/models/components/codeinterpretertoolinput.d.ts +29 -0
  42. package/models/components/codeinterpretertoolinput.d.ts.map +1 -0
  43. package/models/components/codeinterpretertoolinput.js +56 -0
  44. package/models/components/codeinterpretertoolinput.js.map +1 -0
  45. package/models/components/createguardrailrulerequest.d.ts +35 -0
  46. package/models/components/createguardrailrulerequest.d.ts.map +1 -0
  47. package/models/components/createguardrailrulerequest.js +65 -0
  48. package/models/components/createguardrailrulerequest.js.map +1 -0
  49. package/models/components/createguardrailruleresponse.d.ts +11 -0
  50. package/models/components/createguardrailruleresponse.d.ts.map +1 -0
  51. package/models/components/{plugin.js → createguardrailruleresponse.js} +9 -16
  52. package/models/components/createguardrailruleresponse.js.map +1 -0
  53. package/models/components/currentdatetoolinput.d.ts +29 -0
  54. package/models/components/currentdatetoolinput.d.ts.map +1 -0
  55. package/models/components/currentdatetoolinput.js +56 -0
  56. package/models/components/currentdatetoolinput.js.map +1 -0
  57. package/models/components/deleteguardrailruleresponse.d.ts +8 -0
  58. package/models/components/deleteguardrailruleresponse.d.ts.map +1 -0
  59. package/models/components/{expression.js → deleteguardrailruleresponse.js} +6 -9
  60. package/models/components/deleteguardrailruleresponse.js.map +1 -0
  61. package/models/components/deletememorydocumenttoolinput.d.ts +29 -0
  62. package/models/components/deletememorydocumenttoolinput.d.ts.map +1 -0
  63. package/models/components/deletememorydocumenttoolinput.js +56 -0
  64. package/models/components/deletememorydocumenttoolinput.js.map +1 -0
  65. package/models/components/evaluatorref.d.ts +5 -5
  66. package/models/components/evaluatorref.d.ts.map +1 -1
  67. package/models/components/evaluatorref.js +7 -6
  68. package/models/components/evaluatorref.js.map +1 -1
  69. package/models/components/evaluatorresponsefunction.js +2 -2
  70. package/models/components/evaluatorresponsehttp.js +2 -2
  71. package/models/components/evaluatorresponsejsonschema.js +2 -2
  72. package/models/components/evaluatorresponsellm.js +2 -2
  73. package/models/components/evaluatorresponsepython.js +2 -2
  74. package/models/components/evaluatorresponseragas.js +2 -2
  75. package/models/components/evaluatorresponsetypescript.js +2 -2
  76. package/models/components/getguardrailruleresponse.d.ts +11 -0
  77. package/models/components/getguardrailruleresponse.d.ts.map +1 -0
  78. package/models/components/{piiredactionplugin.js → getguardrailruleresponse.js} +9 -12
  79. package/models/components/getguardrailruleresponse.js.map +1 -0
  80. package/models/components/googlesearchtoolinput.d.ts +29 -0
  81. package/models/components/googlesearchtoolinput.d.ts.map +1 -0
  82. package/models/components/googlesearchtoolinput.js +56 -0
  83. package/models/components/googlesearchtoolinput.js.map +1 -0
  84. package/models/components/guardrailrule.d.ts +20 -11
  85. package/models/components/guardrailrule.d.ts.map +1 -1
  86. package/models/components/guardrailrule.js +15 -16
  87. package/models/components/guardrailrule.js.map +1 -1
  88. package/models/components/guardrailruleexpression.d.ts +31 -0
  89. package/models/components/guardrailruleexpression.d.ts.map +1 -0
  90. package/models/components/guardrailruleexpression.js +73 -0
  91. package/models/components/guardrailruleexpression.js.map +1 -0
  92. package/models/components/guardrailruleguardrail.d.ts +34 -0
  93. package/models/components/guardrailruleguardrail.d.ts.map +1 -0
  94. package/models/components/{guardrailref.js → guardrailruleguardrail.js} +28 -26
  95. package/models/components/guardrailruleguardrail.js.map +1 -0
  96. package/models/components/guardrailruleplugin.d.ts +28 -0
  97. package/models/components/guardrailruleplugin.d.ts.map +1 -0
  98. package/models/components/guardrailruleplugin.js +75 -0
  99. package/models/components/guardrailruleplugin.js.map +1 -0
  100. package/models/components/index.d.ts +25 -5
  101. package/models/components/index.d.ts.map +1 -1
  102. package/models/components/index.js +25 -5
  103. package/models/components/index.js.map +1 -1
  104. package/models/components/listguardrailrulesresponse.d.ts +13 -0
  105. package/models/components/listguardrailrulesresponse.d.ts.map +1 -0
  106. package/models/components/listguardrailrulesresponse.js +58 -0
  107. package/models/components/listguardrailrulesresponse.js.map +1 -0
  108. package/models/components/listguardrailruleusedguardrailsresponse.d.ts +11 -0
  109. package/models/components/listguardrailruleusedguardrailsresponse.d.ts.map +1 -0
  110. package/models/components/listguardrailruleusedguardrailsresponse.js +56 -0
  111. package/models/components/listguardrailruleusedguardrailsresponse.js.map +1 -0
  112. package/models/components/queryknowledgebasetoolinput.d.ts +29 -0
  113. package/models/components/queryknowledgebasetoolinput.d.ts.map +1 -0
  114. package/models/components/queryknowledgebasetoolinput.js +56 -0
  115. package/models/components/queryknowledgebasetoolinput.js.map +1 -0
  116. package/models/components/querymemorystoretoolinput.d.ts +29 -0
  117. package/models/components/querymemorystoretoolinput.d.ts.map +1 -0
  118. package/models/components/querymemorystoretoolinput.js +56 -0
  119. package/models/components/querymemorystoretoolinput.js.map +1 -0
  120. package/models/components/reasoningpart.js +1 -1
  121. package/models/components/retrieveagentstoolinput.d.ts +29 -0
  122. package/models/components/retrieveagentstoolinput.d.ts.map +1 -0
  123. package/models/components/retrieveagentstoolinput.js +56 -0
  124. package/models/components/retrieveagentstoolinput.js.map +1 -0
  125. package/models/components/retrieveknowledgebasestoolinput.d.ts +29 -0
  126. package/models/components/retrieveknowledgebasestoolinput.d.ts.map +1 -0
  127. package/models/components/retrieveknowledgebasestoolinput.js +56 -0
  128. package/models/components/retrieveknowledgebasestoolinput.js.map +1 -0
  129. package/models/components/retrievememorystorestoolinput.d.ts +29 -0
  130. package/models/components/retrievememorystorestoolinput.d.ts.map +1 -0
  131. package/models/components/retrievememorystorestoolinput.js +56 -0
  132. package/models/components/retrievememorystorestoolinput.js.map +1 -0
  133. package/models/components/routingruleexpression.d.ts +8 -8
  134. package/models/components/routingruleexpression.d.ts.map +1 -1
  135. package/models/components/routingruleexpression.js +11 -12
  136. package/models/components/routingruleexpression.js.map +1 -1
  137. package/models/components/sidekicktoolinput.d.ts +29 -0
  138. package/models/components/sidekicktoolinput.d.ts.map +1 -0
  139. package/models/components/sidekicktoolinput.js +56 -0
  140. package/models/components/sidekicktoolinput.js.map +1 -0
  141. package/models/components/updateguardrailrulerequest.d.ts +27 -0
  142. package/models/components/updateguardrailrulerequest.d.ts.map +1 -0
  143. package/models/components/updateguardrailrulerequest.js +63 -0
  144. package/models/components/updateguardrailrulerequest.js.map +1 -0
  145. package/models/components/updateguardrailruleresponse.d.ts +11 -0
  146. package/models/components/updateguardrailruleresponse.d.ts.map +1 -0
  147. package/models/components/updateguardrailruleresponse.js +56 -0
  148. package/models/components/updateguardrailruleresponse.js.map +1 -0
  149. package/models/components/webscrapertoolinput.d.ts +29 -0
  150. package/models/components/webscrapertoolinput.d.ts.map +1 -0
  151. package/models/components/webscrapertoolinput.js +56 -0
  152. package/models/components/webscrapertoolinput.js.map +1 -0
  153. package/models/components/writememorystoretoolinput.d.ts +29 -0
  154. package/models/components/writememorystoretoolinput.d.ts.map +1 -0
  155. package/models/components/writememorystoretoolinput.js +56 -0
  156. package/models/components/writememorystoretoolinput.js.map +1 -0
  157. package/models/errors/postv2feedback.d.ts +2 -2
  158. package/models/errors/postv2feedback.js +1 -1
  159. package/models/operations/createannotationqueue.js +1 -1
  160. package/models/operations/createdataset.js +1 -1
  161. package/models/operations/createdatasetitem.js +5 -5
  162. package/models/operations/createdatasource.js +1 -1
  163. package/models/operations/creatererank.d.ts +5 -0
  164. package/models/operations/creatererank.d.ts.map +1 -1
  165. package/models/operations/creatererank.js +3 -1
  166. package/models/operations/creatererank.js.map +1 -1
  167. package/models/operations/createtool.js +6 -6
  168. package/models/operations/getalltools.js +6 -6
  169. package/models/operations/geteval.js +16 -16
  170. package/models/operations/getv2humanevalsets.js +2 -2
  171. package/models/operations/getv2humanevalsetsid.js +2 -2
  172. package/models/operations/guardrailruledelete.d.ts +0 -3
  173. package/models/operations/guardrailruledelete.d.ts.map +1 -1
  174. package/models/operations/guardrailruledelete.js.map +1 -1
  175. package/models/operations/guardrailruleget.d.ts +0 -27
  176. package/models/operations/guardrailruleget.d.ts.map +1 -1
  177. package/models/operations/guardrailruleget.js +1 -34
  178. package/models/operations/guardrailruleget.js.map +1 -1
  179. package/models/operations/guardrailrulelist.d.ts +6 -56
  180. package/models/operations/guardrailrulelist.d.ts.map +1 -1
  181. package/models/operations/guardrailrulelist.js +5 -32
  182. package/models/operations/guardrailrulelist.js.map +1 -1
  183. package/models/operations/guardrailrulelistusedguardrails.d.ts +8 -10
  184. package/models/operations/guardrailrulelistusedguardrails.d.ts.map +1 -1
  185. package/models/operations/guardrailrulelistusedguardrails.js +7 -9
  186. package/models/operations/guardrailrulelistusedguardrails.js.map +1 -1
  187. package/models/operations/guardrailruleupdate.d.ts +2 -48
  188. package/models/operations/guardrailruleupdate.d.ts.map +1 -1
  189. package/models/operations/guardrailruleupdate.js +3 -52
  190. package/models/operations/guardrailruleupdate.js.map +1 -1
  191. package/models/operations/index.d.ts +0 -1
  192. package/models/operations/index.d.ts.map +1 -1
  193. package/models/operations/index.js +0 -1
  194. package/models/operations/index.js.map +1 -1
  195. package/models/operations/listannotationqueues.js +1 -1
  196. package/models/operations/listdatasetdatapoints.js +5 -5
  197. package/models/operations/listdatasets.js +1 -1
  198. package/models/operations/listdatasources.js +1 -1
  199. package/models/operations/patchv2humanevalsetsid.js +2 -2
  200. package/models/operations/postv2feedback.d.ts +1 -1
  201. package/models/operations/postv2feedbackevaluation.js +4 -4
  202. package/models/operations/postv2humanevalsets.js +2 -2
  203. package/models/operations/responsebodynodes.js +33 -33
  204. package/models/operations/retrieveannotationqueue.js +1 -1
  205. package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody204.js +31 -31
  206. package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody8attributesopenresponsesoutput2.js +6 -6
  207. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody13attributes5.js +16 -16
  208. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody19attributeslogprobs.js +14 -14
  209. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody21attributes8.js +18 -18
  210. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody24attributesopenresponsesoutput44type.js +16 -16
  211. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody257.js +2 -2
  212. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody29attributesopenresponsesoutput44type.js +16 -16
  213. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody307.js +2 -2
  214. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody44.js +16 -16
  215. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse1.js +34 -34
  216. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse20015.js +7 -7
  217. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody102.js +32 -32
  218. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody11attributesorq10kind.js +15 -15
  219. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody12attributesorqsource.js +2 -2
  220. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody13attributesorq8kind.js +19 -19
  221. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1417.js +4 -4
  222. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody15attributesorq9evaluationtype.js +17 -17
  223. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody16attributesstatus.js +30 -30
  224. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody17attributesorq10evaluatorconfigtype.js +15 -15
  225. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody18attributesorq14outputschema.js +7 -7
  226. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody19attributesorq7annotator.js +21 -21
  227. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody20attributesorq16annotator.js +4 -4
  228. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody21attributesorq9annotator.js +17 -17
  229. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody22attributesorq5outputschema.js +24 -24
  230. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody23attributesorq15outputschema.js +5 -5
  231. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody24attributesorq8annotator.js +19 -19
  232. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody25attributesorq19kind.js +1 -1
  233. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody25status.js +32 -32
  234. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody26attributesorq12status.js +11 -11
  235. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody27attributesorq4evaluationtype.js +26 -26
  236. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody28attributesorq15outputschema.js +5 -5
  237. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody29attributesorq8annotator.js +19 -19
  238. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2source.js +2 -2
  239. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody30attributesorq19kind.js +1 -1
  240. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody30status.js +32 -32
  241. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody31attributesorq17type.js +3 -3
  242. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody32attributesorqvalue.js +15 -15
  243. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody33attributesevaluatorconfigtype.js +30 -30
  244. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody3413.js +11 -11
  245. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody35attributesorq5annotator.js +24 -24
  246. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody3attributesorq19outputschema.js +1 -1
  247. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody4attributesorq8outputschema.js +19 -19
  248. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6attributesorq4kind.js +26 -26
  249. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody7attributesorq12status.js +11 -11
  250. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody8attributesorqannotator.js +28 -28
  251. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody9attributesorq12evaluatorconfigtype.d.ts +4 -0
  252. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody9attributesorq12evaluatorconfigtype.d.ts.map +1 -1
  253. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody9attributesorq12evaluatorconfigtype.js +14 -12
  254. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody9attributesorq12evaluatorconfigtype.js.map +1 -1
  255. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponseevaluatorconfigtype.js +25 -25
  256. package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse2008.js +28 -28
  257. package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody11attributestype.js +20 -20
  258. package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody173.js +20 -20
  259. package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody18attributesopenresponses6role.js +28 -28
  260. package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody26attributesopenresponsestype.js +24 -24
  261. package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody321.js +20 -20
  262. package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody345.js +24 -24
  263. package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody7attributesopenresponsestype.js +24 -24
  264. package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody9attributesrole.js +24 -24
  265. package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody10role.js +2 -2
  266. package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody155.js +18 -18
  267. package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody16status.js +4 -4
  268. package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody23attributes1.js +30 -30
  269. package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody28attributes1.js +30 -30
  270. package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody333.js +4 -4
  271. package/models/operations/retrieveannotationqueueitemresponsebody.js +1 -1
  272. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson10evaluation.js +1 -1
  273. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson12nodes.js +33 -33
  274. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson14attributesresponse.js +31 -31
  275. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson16score.js +1 -1
  276. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson27choice.js +1 -1
  277. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson31otlp.js +32 -32
  278. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson33provider.js +1 -1
  279. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson6response.js +1 -1
  280. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson8tool.js +1 -1
  281. package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody22attributestype.js +10 -10
  282. package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody27logprobs.js +8 -8
  283. package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody353.js +10 -10
  284. package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody6type.js +8 -8
  285. package/models/operations/retrievedatapoint.js +5 -5
  286. package/models/operations/retrievedataset.js +1 -1
  287. package/models/operations/retrievedatasource.js +1 -1
  288. package/models/operations/retrievetool.js +6 -6
  289. package/models/operations/runagent.d.ts +16 -394
  290. package/models/operations/runagent.d.ts.map +1 -1
  291. package/models/operations/runagent.js +42 -237
  292. package/models/operations/runagent.js.map +1 -1
  293. package/models/operations/streamrunagent.d.ts +16 -394
  294. package/models/operations/streamrunagent.d.ts.map +1 -1
  295. package/models/operations/streamrunagent.js +42 -237
  296. package/models/operations/streamrunagent.js.map +1 -1
  297. package/models/operations/summary4.js +10 -10
  298. package/models/operations/twentythree.js +1 -1
  299. package/models/operations/updateannotationqueue.js +1 -1
  300. package/models/operations/updatedatapoint.js +5 -5
  301. package/models/operations/updatedataset.js +1 -1
  302. package/models/operations/updatedatasource.js +1 -1
  303. package/models/operations/updatetool.js +7 -7
  304. package/package.json +3 -3
  305. package/sdk/feedback.d.ts +2 -2
  306. package/sdk/feedback.js +2 -2
  307. package/sdk/guardrailrules.d.ts +18 -17
  308. package/sdk/guardrailrules.d.ts.map +1 -1
  309. package/sdk/guardrailrules.js +17 -17
  310. package/sdk/guardrailrules.js.map +1 -1
  311. package/sdk/sdk.d.ts +2 -2
  312. package/sdk/sdk.d.ts.map +1 -1
  313. package/sdk/sdk.js +3 -3
  314. package/sdk/sdk.js.map +1 -1
  315. package/src/funcs/guardrailRulesCreate.ts +11 -11
  316. package/src/funcs/guardrailRulesDelete.ts +9 -9
  317. package/src/funcs/guardrailRulesList.ts +7 -6
  318. package/src/funcs/guardrailRulesListUsedGuardrails.ts +31 -6
  319. package/src/funcs/guardrailRulesRetrieve.ts +8 -7
  320. package/src/funcs/guardrailRulesUpdate.ts +11 -8
  321. package/src/lib/config.ts +3 -3
  322. package/src/models/components/advisortoolinput.ts +51 -0
  323. package/src/models/components/agenttoolinputcrud.ts +112 -784
  324. package/src/models/components/callsubagenttoolinput.ts +51 -0
  325. package/src/models/components/codeinterpretertoolinput.ts +51 -0
  326. package/src/models/components/createguardrailrulerequest.ts +79 -0
  327. package/src/models/components/createguardrailruleresponse.ts +37 -0
  328. package/src/models/components/currentdatetoolinput.ts +51 -0
  329. package/src/models/components/deleteguardrailruleresponse.ts +27 -0
  330. package/src/models/components/deletememorydocumenttoolinput.ts +53 -0
  331. package/src/models/components/evaluatorref.ts +9 -11
  332. package/src/models/components/evaluatorresponsefunction.ts +2 -2
  333. package/src/models/components/evaluatorresponsehttp.ts +2 -2
  334. package/src/models/components/evaluatorresponsejsonschema.ts +2 -2
  335. package/src/models/components/evaluatorresponsellm.ts +2 -2
  336. package/src/models/components/evaluatorresponsepython.ts +2 -2
  337. package/src/models/components/evaluatorresponseragas.ts +2 -2
  338. package/src/models/components/evaluatorresponsetypescript.ts +2 -2
  339. package/src/models/components/getguardrailruleresponse.ts +37 -0
  340. package/src/models/components/googlesearchtoolinput.ts +51 -0
  341. package/src/models/components/guardrailrule.ts +41 -24
  342. package/src/models/components/guardrailruleexpression.ts +86 -0
  343. package/src/models/components/guardrailruleguardrail.ts +108 -0
  344. package/src/models/components/guardrailruleplugin.ts +79 -0
  345. package/src/models/components/index.ts +25 -5
  346. package/src/models/components/listguardrailrulesresponse.ts +41 -0
  347. package/src/models/components/listguardrailruleusedguardrailsresponse.ts +44 -0
  348. package/src/models/components/queryknowledgebasetoolinput.ts +53 -0
  349. package/src/models/components/querymemorystoretoolinput.ts +51 -0
  350. package/src/models/components/reasoningpart.ts +1 -1
  351. package/src/models/components/retrieveagentstoolinput.ts +51 -0
  352. package/src/models/components/retrieveknowledgebasestoolinput.ts +53 -0
  353. package/src/models/components/retrievememorystorestoolinput.ts +53 -0
  354. package/src/models/components/routingruleexpression.ts +26 -17
  355. package/src/models/components/sidekicktoolinput.ts +51 -0
  356. package/src/models/components/updateguardrailrulerequest.ts +69 -0
  357. package/src/models/components/updateguardrailruleresponse.ts +37 -0
  358. package/src/models/components/webscrapertoolinput.ts +51 -0
  359. package/src/models/components/writememorystoretoolinput.ts +51 -0
  360. package/src/models/errors/postv2feedback.ts +2 -2
  361. package/src/models/operations/createannotationqueue.ts +1 -1
  362. package/src/models/operations/createdataset.ts +1 -1
  363. package/src/models/operations/createdatasetitem.ts +5 -5
  364. package/src/models/operations/createdatasource.ts +1 -1
  365. package/src/models/operations/creatererank.ts +8 -1
  366. package/src/models/operations/createtool.ts +6 -6
  367. package/src/models/operations/getalltools.ts +6 -6
  368. package/src/models/operations/geteval.ts +16 -16
  369. package/src/models/operations/getv2humanevalsets.ts +2 -2
  370. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  371. package/src/models/operations/guardrailruledelete.ts +0 -3
  372. package/src/models/operations/guardrailruleget.ts +0 -68
  373. package/src/models/operations/guardrailrulelist.ts +10 -87
  374. package/src/models/operations/guardrailrulelistusedguardrails.ts +25 -34
  375. package/src/models/operations/guardrailruleupdate.ts +5 -118
  376. package/src/models/operations/index.ts +0 -1
  377. package/src/models/operations/listannotationqueues.ts +1 -1
  378. package/src/models/operations/listdatasetdatapoints.ts +5 -5
  379. package/src/models/operations/listdatasets.ts +1 -1
  380. package/src/models/operations/listdatasources.ts +1 -1
  381. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  382. package/src/models/operations/postv2feedback.ts +1 -1
  383. package/src/models/operations/postv2feedbackevaluation.ts +4 -4
  384. package/src/models/operations/postv2humanevalsets.ts +2 -2
  385. package/src/models/operations/responsebodynodes.ts +33 -33
  386. package/src/models/operations/retrieveannotationqueue.ts +1 -1
  387. package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody204.ts +31 -31
  388. package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody8attributesopenresponsesoutput2.ts +6 -6
  389. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody13attributes5.ts +16 -16
  390. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody19attributeslogprobs.ts +14 -14
  391. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody21attributes8.ts +18 -18
  392. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody24attributesopenresponsesoutput44type.ts +16 -16
  393. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody257.ts +2 -2
  394. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody29attributesopenresponsesoutput44type.ts +16 -16
  395. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody307.ts +2 -2
  396. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody44.ts +16 -16
  397. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse1.ts +34 -34
  398. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse20015.ts +7 -7
  399. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody102.ts +32 -32
  400. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody11attributesorq10kind.ts +15 -15
  401. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody12attributesorqsource.ts +2 -2
  402. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody13attributesorq8kind.ts +19 -19
  403. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1417.ts +4 -4
  404. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody15attributesorq9evaluationtype.ts +17 -17
  405. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody16attributesstatus.ts +30 -30
  406. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody17attributesorq10evaluatorconfigtype.ts +15 -15
  407. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody18attributesorq14outputschema.ts +7 -7
  408. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody19attributesorq7annotator.ts +21 -21
  409. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody20attributesorq16annotator.ts +4 -4
  410. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody21attributesorq9annotator.ts +17 -17
  411. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody22attributesorq5outputschema.ts +24 -24
  412. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody23attributesorq15outputschema.ts +5 -5
  413. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody24attributesorq8annotator.ts +19 -19
  414. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody25attributesorq19kind.ts +1 -1
  415. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody25status.ts +32 -32
  416. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody26attributesorq12status.ts +11 -11
  417. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody27attributesorq4evaluationtype.ts +26 -26
  418. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody28attributesorq15outputschema.ts +5 -5
  419. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody29attributesorq8annotator.ts +19 -19
  420. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2source.ts +2 -2
  421. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody30attributesorq19kind.ts +1 -1
  422. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody30status.ts +32 -32
  423. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody31attributesorq17type.ts +3 -3
  424. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody32attributesorqvalue.ts +15 -15
  425. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody33attributesevaluatorconfigtype.ts +30 -30
  426. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody3413.ts +11 -11
  427. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody35attributesorq5annotator.ts +24 -24
  428. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody3attributesorq19outputschema.ts +1 -1
  429. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody4attributesorq8outputschema.ts +19 -19
  430. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6attributesorq4kind.ts +26 -26
  431. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody7attributesorq12status.ts +11 -11
  432. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody8attributesorqannotator.ts +28 -28
  433. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody9attributesorq12evaluatorconfigtype.ts +18 -12
  434. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponseevaluatorconfigtype.ts +25 -25
  435. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse2008.ts +28 -28
  436. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody11attributestype.ts +20 -20
  437. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody173.ts +20 -20
  438. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody18attributesopenresponses6role.ts +28 -28
  439. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody26attributesopenresponsestype.ts +24 -24
  440. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody321.ts +20 -20
  441. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody345.ts +24 -24
  442. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody7attributesopenresponsestype.ts +24 -24
  443. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody9attributesrole.ts +24 -24
  444. package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody10role.ts +2 -2
  445. package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody155.ts +18 -18
  446. package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody16status.ts +4 -4
  447. package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody23attributes1.ts +30 -30
  448. package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody28attributes1.ts +30 -30
  449. package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody333.ts +4 -4
  450. package/src/models/operations/retrieveannotationqueueitemresponsebody.ts +1 -1
  451. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson10evaluation.ts +1 -1
  452. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson12nodes.ts +33 -33
  453. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson14attributesresponse.ts +31 -31
  454. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson16score.ts +1 -1
  455. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson27choice.ts +1 -1
  456. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson31otlp.ts +32 -32
  457. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson33provider.ts +1 -1
  458. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson6response.ts +1 -1
  459. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson8tool.ts +1 -1
  460. package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody22attributestype.ts +10 -10
  461. package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody27logprobs.ts +8 -8
  462. package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody353.ts +10 -10
  463. package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody6type.ts +8 -8
  464. package/src/models/operations/retrievedatapoint.ts +5 -5
  465. package/src/models/operations/retrievedataset.ts +1 -1
  466. package/src/models/operations/retrievedatasource.ts +1 -1
  467. package/src/models/operations/retrievetool.ts +6 -6
  468. package/src/models/operations/runagent.ts +119 -751
  469. package/src/models/operations/streamrunagent.ts +116 -792
  470. package/src/models/operations/summary4.ts +10 -10
  471. package/src/models/operations/twentythree.ts +1 -1
  472. package/src/models/operations/updateannotationqueue.ts +1 -1
  473. package/src/models/operations/updatedatapoint.ts +5 -5
  474. package/src/models/operations/updatedataset.ts +1 -1
  475. package/src/models/operations/updatedatasource.ts +1 -1
  476. package/src/models/operations/updatetool.ts +7 -7
  477. package/src/sdk/feedback.ts +2 -2
  478. package/src/sdk/guardrailrules.ts +27 -24
  479. package/src/sdk/sdk.ts +5 -5
  480. package/models/components/expression.d.ts +0 -13
  481. package/models/components/expression.d.ts.map +0 -1
  482. package/models/components/expression.js.map +0 -1
  483. package/models/components/expressioninput.d.ts +0 -12
  484. package/models/components/expressioninput.d.ts.map +0 -1
  485. package/models/components/expressioninput.js.map +0 -1
  486. package/models/components/guardrailref.d.ts +0 -40
  487. package/models/components/guardrailref.d.ts.map +0 -1
  488. package/models/components/guardrailref.js.map +0 -1
  489. package/models/components/piiredactionplugin.d.ts +0 -14
  490. package/models/components/piiredactionplugin.d.ts.map +0 -1
  491. package/models/components/piiredactionplugin.js.map +0 -1
  492. package/models/components/plugin.d.ts +0 -15
  493. package/models/components/plugin.d.ts.map +0 -1
  494. package/models/components/plugin.js.map +0 -1
  495. package/models/operations/guardrailrulecreate.d.ts +0 -51
  496. package/models/operations/guardrailrulecreate.d.ts.map +0 -1
  497. package/models/operations/guardrailrulecreate.js +0 -95
  498. package/models/operations/guardrailrulecreate.js.map +0 -1
  499. package/src/models/components/expression.ts +0 -33
  500. package/src/models/components/expressioninput.ts +0 -29
  501. package/src/models/components/guardrailref.ts +0 -91
  502. package/src/models/components/piiredactionplugin.ts +0 -44
  503. package/src/models/components/plugin.ts +0 -51
  504. 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 Config = {};
4
+ export type RoutingRuleExpressionConfig = {};
5
5
  export type RoutingRuleExpression = {
6
- config?: Config | undefined;
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 Config$inboundSchema: z.ZodType<Config, z.ZodTypeDef, unknown>;
13
+ export declare const RoutingRuleExpressionConfig$inboundSchema: z.ZodType<RoutingRuleExpressionConfig, z.ZodTypeDef, unknown>;
14
14
  /** @internal */
15
- export type Config$Outbound = {};
15
+ export type RoutingRuleExpressionConfig$Outbound = {};
16
16
  /** @internal */
17
- export declare const Config$outboundSchema: z.ZodType<Config$Outbound, z.ZodTypeDef, Config>;
18
- export declare function configToJSON(config: Config): string;
19
- export declare function configFromJSON(jsonString: string): SafeParseResult<Config, SDKValidationError>;
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?: Config$Outbound | undefined;
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,MAAM,GAAG,EAAE,CAAC;AAExB,MAAM,MAAM,qBAAqB,GAAG;IAClC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC1B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oBAAoB,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC,UAAU,EAAE,OAAO,CAC7D,CAAC;AACd,gBAAgB;AAChB,MAAM,MAAM,eAAe,GAAG,EAAE,CAAC;AAEjC,gBAAgB;AAChB,eAAO,MAAM,qBAAqB,EAAE,CAAC,CAAC,OAAO,CAC3C,eAAe,EACf,CAAC,CAAC,UAAU,EACZ,MAAM,CACQ,CAAC;AAEjB,wBAAgB,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAEnD;AACD,wBAAgB,cAAc,CAC5B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAM7C;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,eAAe,GAAG,SAAS,CAAC;IACrC,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"}
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.Config$outboundSchema = exports.Config$inboundSchema = void 0;
40
- exports.configToJSON = configToJSON;
41
- exports.configFromJSON = configFromJSON;
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.Config$inboundSchema = z
48
- .object({});
47
+ exports.RoutingRuleExpressionConfig$inboundSchema = z.object({});
49
48
  /** @internal */
50
- exports.Config$outboundSchema = z.object({});
51
- function configToJSON(config) {
52
- return JSON.stringify(exports.Config$outboundSchema.parse(config));
49
+ exports.RoutingRuleExpressionConfig$outboundSchema = z.object({});
50
+ function routingRuleExpressionConfigToJSON(routingRuleExpressionConfig) {
51
+ return JSON.stringify(exports.RoutingRuleExpressionConfig$outboundSchema.parse(routingRuleExpressionConfig));
53
52
  }
54
- function configFromJSON(jsonString) {
55
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Config$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Config' from JSON`);
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.Config$inboundSchema).optional(),
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.Config$outboundSchema).optional(),
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8BH,oCAEC;AACD,wCAQC;AA2BD,kEAMC;AACD,sEAQC;AAjFD,0CAA4B;AAC5B,qDAAiD;AAcjD,gBAAgB;AACH,QAAA,oBAAoB,GAA6C,CAAC;KAC5E,MAAM,CAAC,EAAE,CAAC,CAAC;AAId,gBAAgB;AACH,QAAA,qBAAqB,GAI9B,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAEjB,SAAgB,YAAY,CAAC,MAAc;IACzC,OAAO,IAAI,CAAC,SAAS,CAAC,6BAAqB,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;AAC7D,CAAC;AACD,SAAgB,cAAc,CAC5B,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,4BAAoB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAChD,oCAAoC,CACrC,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,4BAAoB,CAAC,CAAC,QAAQ,EAAE;IACrD,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,6BAAqB,CAAC,CAAC,QAAQ,EAAE;IACtD,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"}
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"}