@orq-ai/node 4.13.11 → 4.13.13

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 (396) hide show
  1. package/jsr.json +1 -1
  2. package/lib/config.d.ts +3 -3
  3. package/lib/config.js +3 -3
  4. package/models/components/evaluatorresponsefunction.js +2 -2
  5. package/models/components/evaluatorresponsehttp.js +2 -2
  6. package/models/components/evaluatorresponsejsonschema.js +2 -2
  7. package/models/components/evaluatorresponsellm.js +2 -2
  8. package/models/components/evaluatorresponsepython.js +2 -2
  9. package/models/components/evaluatorresponseragas.js +2 -2
  10. package/models/components/evaluatorresponsetypescript.js +2 -2
  11. package/models/components/reasoningpart.js +1 -1
  12. package/models/operations/billing.js +1 -1
  13. package/models/operations/createannotationqueue.js +1 -1
  14. package/models/operations/createdataset.js +1 -1
  15. package/models/operations/createdatasetitem.js +5 -5
  16. package/models/operations/createdatasource.js +1 -1
  17. package/models/operations/createtool.js +6 -6
  18. package/models/operations/getalltools.js +6 -6
  19. package/models/operations/geteval.js +16 -16
  20. package/models/operations/getv2humanevalsets.js +2 -2
  21. package/models/operations/getv2humanevalsetsid.js +2 -2
  22. package/models/operations/listannotationqueues.js +1 -1
  23. package/models/operations/listdatasetdatapoints.js +5 -5
  24. package/models/operations/listdatasets.js +1 -1
  25. package/models/operations/listdatasources.js +1 -1
  26. package/models/operations/patchv2humanevalsetsid.js +2 -2
  27. package/models/operations/postv2feedbackevaluation.js +4 -4
  28. package/models/operations/postv2humanevalsets.js +2 -2
  29. package/models/operations/retrieveannotationqueue.js +1 -1
  30. package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjson2.js +28 -28
  31. package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody14attributes2.js +28 -28
  32. package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody22attributesopenresponsesdetail.js +6 -6
  33. package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody23annotations.js +26 -26
  34. package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody27attributesopenresponsesoutput3type.js +6 -6
  35. package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody314.js +31 -31
  36. package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody5attributestype.js +22 -22
  37. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody11attributestoplogprobs.js +14 -14
  38. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody15attributesopenresponsesoutput4type.js +14 -14
  39. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody17attributesopenresponsesoutput44type.js +16 -16
  40. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody18type.js +24 -24
  41. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody1attributestype.js +2 -2
  42. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody21attributestoplogprobs.js +14 -14
  43. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody29attributestoplogprobs.js +14 -14
  44. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody32attributesopenresponsesoutput48type.js +18 -18
  45. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody66.js +2 -2
  46. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody7attributes5.js +16 -16
  47. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody9attributes8.js +18 -18
  48. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1017.js +4 -4
  49. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody11attributesorq7evaluatorconfigtype.js +21 -21
  50. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody12attributesorq15annotator.js +5 -5
  51. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody136.js +25 -25
  52. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody14attributesorq14type.js +7 -7
  53. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody15attributesorq7outputschema.js +21 -21
  54. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1618.js +3 -3
  55. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody17attributesorq8kind.js +18 -18
  56. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody18attributesorq12evaluatorconfigtype.js +11 -11
  57. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody19attributesorq5kind.js +24 -24
  58. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody20attributesorq14annotator.js +7 -7
  59. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody21attributesorq7evaluatorconfigtype.js +21 -21
  60. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody22attributesorqevaluatorconfigtype.js +28 -28
  61. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody23attributesorq13evaluationtype.js +9 -9
  62. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody24attributesorq7status.js +21 -21
  63. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody25attributesorq18type.js +2 -2
  64. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2611.js +15 -15
  65. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody27attributesorqevaluationtype.js +28 -28
  66. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody28attributesorq14annotator.js +7 -7
  67. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody29attributesorq7evaluatorconfigtype.js +21 -21
  68. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2attributesorq14type.js +7 -7
  69. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody30attributesorq18evaluationtype.js +2 -2
  70. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody31attributesorq16kind.js +4 -4
  71. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody32attributesorq9evaluatorconfigtype.js +17 -17
  72. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody33attributesannotator.js +30 -30
  73. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody34attributesorq12evaluationtype.js +11 -11
  74. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody35attributesorq5annotator.js +24 -24
  75. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody3attributesorq14evaluationtype.js +7 -7
  76. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody4attributesorq4kind.js +26 -26
  77. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody5attributesorq11evaluatorconfigtype.js +13 -13
  78. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6attributesorq19annotator.js +1 -1
  79. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6value.js +32 -32
  80. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody7attributesorq8evaluatorconfigtype.js +19 -19
  81. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody8attributesorq18annotator.js +2 -2
  82. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody9attributesorq9kind.js +17 -17
  83. package/models/operations/retrieveannotationqueueitemevaluationsannotator.js +32 -32
  84. package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody20attributesopenresponses6role.js +28 -28
  85. package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody26content.js +20 -20
  86. package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody28attributesopenresponses6role.js +28 -28
  87. package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody34attributesrole.js +24 -24
  88. package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200status.js +28 -28
  89. package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody12attributes1.js +30 -30
  90. package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody24attributescontent.js +14 -14
  91. package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody332.js +4 -4
  92. package/models/operations/retrieveannotationqueueitemresponsebody.js +1 -1
  93. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson10http.js +31 -31
  94. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson16settings.js +32 -32
  95. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson17context.js +1 -1
  96. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson22call.js +1 -1
  97. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson25engine.js +33 -33
  98. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson27conversation.js +1 -1
  99. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson30nodes.js +33 -33
  100. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson33token.js +1 -1
  101. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson8trace.js +33 -33
  102. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjsonresponse.js +1 -1
  103. package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse1.js +8 -8
  104. package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody13attributesopenresponsesoutputtype.js +10 -10
  105. package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody193.js +10 -10
  106. package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody35attributestype.js +10 -10
  107. package/models/operations/retrievedatapoint.js +5 -5
  108. package/models/operations/retrievedataset.js +1 -1
  109. package/models/operations/retrievedatasource.js +1 -1
  110. package/models/operations/retrievetool.js +6 -6
  111. package/models/operations/runagent.js +1 -1
  112. package/models/operations/streamrunagent.js +1 -1
  113. package/models/operations/twenty.js +1 -1
  114. package/models/operations/updateannotationqueue.js +1 -1
  115. package/models/operations/updatedatapoint.js +5 -5
  116. package/models/operations/updatedataset.js +1 -1
  117. package/models/operations/updatedatasource.js +1 -1
  118. package/models/operations/updatetool.js +7 -7
  119. package/package.json +3 -3
  120. package/packages/orq-rc/src/funcs/annotationQueuesRetrieveItem.ts +5 -7
  121. package/packages/orq-rc/src/lib/config.ts +3 -3
  122. package/packages/orq-rc/src/models/components/alert.ts +6 -0
  123. package/packages/orq-rc/src/models/components/alertcondition.ts +3 -3
  124. package/packages/orq-rc/src/models/components/alertdisplay.ts +109 -0
  125. package/packages/orq-rc/src/models/components/createalertrequest.ts +11 -0
  126. package/packages/orq-rc/src/models/components/evaluatorresponsefunction.ts +2 -2
  127. package/packages/orq-rc/src/models/components/evaluatorresponsehttp.ts +2 -2
  128. package/packages/orq-rc/src/models/components/evaluatorresponsejsonschema.ts +2 -2
  129. package/packages/orq-rc/src/models/components/evaluatorresponsellm.ts +2 -2
  130. package/packages/orq-rc/src/models/components/evaluatorresponsepython.ts +2 -2
  131. package/packages/orq-rc/src/models/components/evaluatorresponseragas.ts +2 -2
  132. package/packages/orq-rc/src/models/components/evaluatorresponsetypescript.ts +2 -2
  133. package/packages/orq-rc/src/models/components/index.ts +2 -0
  134. package/packages/orq-rc/src/models/components/invokedeploymentrequest.ts +13 -1854
  135. package/packages/orq-rc/src/models/components/publiccontact.ts +0 -30
  136. package/packages/orq-rc/src/models/components/publicidentity.ts +0 -30
  137. package/packages/orq-rc/src/models/components/publicspan.ts +135 -0
  138. package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
  139. package/packages/orq-rc/src/models/components/updatealertrequest.ts +11 -0
  140. package/packages/orq-rc/src/models/operations/createagentrequest.ts +1 -1
  141. package/packages/orq-rc/src/models/operations/createannotationqueue.ts +1 -1
  142. package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
  143. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +5 -5
  144. package/packages/orq-rc/src/models/operations/createdatasource.ts +1 -1
  145. package/packages/orq-rc/src/models/operations/createknowledge.ts +4 -4
  146. package/packages/orq-rc/src/models/operations/creatememorystore.ts +1 -1
  147. package/packages/orq-rc/src/models/operations/createprompt.ts +1 -1
  148. package/packages/orq-rc/src/models/operations/createtool.ts +75 -550
  149. package/packages/orq-rc/src/models/operations/getalltools.ts +41 -327
  150. package/packages/orq-rc/src/models/operations/getchunkscount.ts +50 -11
  151. package/packages/orq-rc/src/models/operations/geteval.ts +373 -410
  152. package/packages/orq-rc/src/models/operations/getoneknowledge.ts +2 -2
  153. package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +2 -2
  154. package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
  155. package/packages/orq-rc/src/models/operations/index.ts +1 -91
  156. package/packages/orq-rc/src/models/operations/listagents.ts +1 -1
  157. package/packages/orq-rc/src/models/operations/listannotationqueues.ts +1 -1
  158. package/packages/orq-rc/src/models/operations/listchunkspaginated.ts +37 -10
  159. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +5 -5
  160. package/packages/orq-rc/src/models/operations/listdatasets.ts +1 -1
  161. package/packages/orq-rc/src/models/operations/listdatasources.ts +1 -1
  162. package/packages/orq-rc/src/models/operations/listknowledgebases.ts +2 -2
  163. package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  164. package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +4 -4
  165. package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
  166. package/packages/orq-rc/src/models/operations/retrieveagentrequest.ts +1 -1
  167. package/packages/orq-rc/src/models/operations/retrieveannotationqueue.ts +1 -1
  168. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitem.ts +42 -0
  169. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +5 -5
  170. package/packages/orq-rc/src/models/operations/retrievedataset.ts +1 -1
  171. package/packages/orq-rc/src/models/operations/retrievedatasource.ts +1 -1
  172. package/packages/orq-rc/src/models/operations/retrievetool.ts +42 -336
  173. package/packages/orq-rc/src/models/operations/runagent.ts +2 -2
  174. package/packages/orq-rc/src/models/operations/streamrunagent.ts +2 -2
  175. package/packages/orq-rc/src/models/operations/updateagent.ts +2 -2
  176. package/packages/orq-rc/src/models/operations/updateannotationqueue.ts +1 -1
  177. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +5 -5
  178. package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
  179. package/packages/orq-rc/src/models/operations/updatedatasource.ts +1 -1
  180. package/packages/orq-rc/src/models/operations/updateknowledge.ts +4 -4
  181. package/packages/orq-rc/src/models/operations/updateprompt.ts +1 -1
  182. package/packages/orq-rc/src/models/operations/updatetool.ts +78 -674
  183. package/packages/orq-rc/src/sdk/annotationqueues.ts +2 -1
  184. package/packages/orq-rc/src/sdk/feedback.ts +4 -1
  185. package/sdk/feedback.d.ts +0 -6
  186. package/sdk/feedback.d.ts.map +1 -1
  187. package/sdk/feedback.js +0 -6
  188. package/sdk/feedback.js.map +1 -1
  189. package/src/lib/config.ts +3 -3
  190. package/src/models/components/evaluatorresponsefunction.ts +2 -2
  191. package/src/models/components/evaluatorresponsehttp.ts +2 -2
  192. package/src/models/components/evaluatorresponsejsonschema.ts +2 -2
  193. package/src/models/components/evaluatorresponsellm.ts +2 -2
  194. package/src/models/components/evaluatorresponsepython.ts +2 -2
  195. package/src/models/components/evaluatorresponseragas.ts +2 -2
  196. package/src/models/components/evaluatorresponsetypescript.ts +2 -2
  197. package/src/models/components/reasoningpart.ts +1 -1
  198. package/src/models/operations/billing.ts +1 -1
  199. package/src/models/operations/createannotationqueue.ts +1 -1
  200. package/src/models/operations/createdataset.ts +1 -1
  201. package/src/models/operations/createdatasetitem.ts +5 -5
  202. package/src/models/operations/createdatasource.ts +1 -1
  203. package/src/models/operations/createtool.ts +6 -6
  204. package/src/models/operations/getalltools.ts +6 -6
  205. package/src/models/operations/geteval.ts +16 -16
  206. package/src/models/operations/getv2humanevalsets.ts +2 -2
  207. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  208. package/src/models/operations/listannotationqueues.ts +1 -1
  209. package/src/models/operations/listdatasetdatapoints.ts +5 -5
  210. package/src/models/operations/listdatasets.ts +1 -1
  211. package/src/models/operations/listdatasources.ts +1 -1
  212. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  213. package/src/models/operations/postv2feedbackevaluation.ts +4 -4
  214. package/src/models/operations/postv2humanevalsets.ts +2 -2
  215. package/src/models/operations/retrieveannotationqueue.ts +1 -1
  216. package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjson2.ts +28 -28
  217. package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody14attributes2.ts +28 -28
  218. package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody22attributesopenresponsesdetail.ts +6 -6
  219. package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody23annotations.ts +26 -26
  220. package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody27attributesopenresponsesoutput3type.ts +6 -6
  221. package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody314.ts +31 -31
  222. package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody5attributestype.ts +22 -22
  223. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody11attributestoplogprobs.ts +14 -14
  224. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody15attributesopenresponsesoutput4type.ts +14 -14
  225. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody17attributesopenresponsesoutput44type.ts +16 -16
  226. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody18type.ts +24 -24
  227. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody1attributestype.ts +2 -2
  228. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody21attributestoplogprobs.ts +14 -14
  229. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody29attributestoplogprobs.ts +14 -14
  230. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody32attributesopenresponsesoutput48type.ts +18 -18
  231. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody66.ts +2 -2
  232. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody7attributes5.ts +16 -16
  233. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody9attributes8.ts +18 -18
  234. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1017.ts +4 -4
  235. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody11attributesorq7evaluatorconfigtype.ts +21 -21
  236. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody12attributesorq15annotator.ts +5 -5
  237. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody136.ts +25 -25
  238. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody14attributesorq14type.ts +7 -7
  239. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody15attributesorq7outputschema.ts +21 -21
  240. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1618.ts +3 -3
  241. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody17attributesorq8kind.ts +18 -18
  242. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody18attributesorq12evaluatorconfigtype.ts +11 -11
  243. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody19attributesorq5kind.ts +24 -24
  244. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody20attributesorq14annotator.ts +7 -7
  245. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody21attributesorq7evaluatorconfigtype.ts +21 -21
  246. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody22attributesorqevaluatorconfigtype.ts +28 -28
  247. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody23attributesorq13evaluationtype.ts +9 -9
  248. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody24attributesorq7status.ts +21 -21
  249. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody25attributesorq18type.ts +2 -2
  250. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2611.ts +15 -15
  251. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody27attributesorqevaluationtype.ts +28 -28
  252. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody28attributesorq14annotator.ts +7 -7
  253. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody29attributesorq7evaluatorconfigtype.ts +21 -21
  254. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2attributesorq14type.ts +7 -7
  255. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody30attributesorq18evaluationtype.ts +2 -2
  256. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody31attributesorq16kind.ts +4 -4
  257. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody32attributesorq9evaluatorconfigtype.ts +17 -17
  258. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody33attributesannotator.ts +30 -30
  259. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody34attributesorq12evaluationtype.ts +11 -11
  260. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody35attributesorq5annotator.ts +24 -24
  261. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody3attributesorq14evaluationtype.ts +7 -7
  262. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody4attributesorq4kind.ts +26 -26
  263. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody5attributesorq11evaluatorconfigtype.ts +13 -13
  264. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6attributesorq19annotator.ts +1 -1
  265. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6value.ts +32 -32
  266. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody7attributesorq8evaluatorconfigtype.ts +19 -19
  267. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody8attributesorq18annotator.ts +2 -2
  268. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody9attributesorq9kind.ts +17 -17
  269. package/src/models/operations/retrieveannotationqueueitemevaluationsannotator.ts +32 -32
  270. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody20attributesopenresponses6role.ts +28 -28
  271. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody26content.ts +20 -20
  272. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody28attributesopenresponses6role.ts +28 -28
  273. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody34attributesrole.ts +24 -24
  274. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200status.ts +28 -28
  275. package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody12attributes1.ts +30 -30
  276. package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody24attributescontent.ts +14 -14
  277. package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody332.ts +4 -4
  278. package/src/models/operations/retrieveannotationqueueitemresponsebody.ts +1 -1
  279. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson10http.ts +31 -31
  280. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson16settings.ts +32 -32
  281. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson17context.ts +1 -1
  282. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson22call.ts +1 -1
  283. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson25engine.ts +33 -33
  284. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson27conversation.ts +1 -1
  285. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson30nodes.ts +33 -33
  286. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson33token.ts +1 -1
  287. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson8trace.ts +33 -33
  288. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjsonresponse.ts +1 -1
  289. package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse1.ts +8 -8
  290. package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody13attributesopenresponsesoutputtype.ts +10 -10
  291. package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody193.ts +10 -10
  292. package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody35attributestype.ts +10 -10
  293. package/src/models/operations/retrievedatapoint.ts +5 -5
  294. package/src/models/operations/retrievedataset.ts +1 -1
  295. package/src/models/operations/retrievedatasource.ts +1 -1
  296. package/src/models/operations/retrievetool.ts +6 -6
  297. package/src/models/operations/runagent.ts +1 -1
  298. package/src/models/operations/streamrunagent.ts +1 -1
  299. package/src/models/operations/twenty.ts +1 -1
  300. package/src/models/operations/updateannotationqueue.ts +1 -1
  301. package/src/models/operations/updatedatapoint.ts +5 -5
  302. package/src/models/operations/updatedataset.ts +1 -1
  303. package/src/models/operations/updatedatasource.ts +1 -1
  304. package/src/models/operations/updatetool.ts +7 -7
  305. package/src/sdk/feedback.ts +0 -6
  306. package/packages/orq-rc/src/models/operations/responsebodynodes.ts +0 -5682
  307. package/packages/orq-rc/src/models/operations/responsebodyusage.ts +0 -5962
  308. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody204.ts +0 -5914
  309. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody8attributesopenresponsesoutput2.ts +0 -5888
  310. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemcontentannotationqueues4.ts +0 -5322
  311. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse2006.ts +0 -5735
  312. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody124.ts +0 -5691
  313. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody13attributes5.ts +0 -5820
  314. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody19attributeslogprobs.ts +0 -5790
  315. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody21attributes8.ts +0 -5855
  316. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody24attributesopenresponsesoutput44type.ts +0 -5796
  317. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody257.ts +0 -5903
  318. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody29attributesopenresponsesoutput44type.ts +0 -5796
  319. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody307.ts +0 -5903
  320. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody44.ts +0 -5783
  321. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse1.ts +0 -5687
  322. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse20015.ts +0 -6320
  323. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody102.ts +0 -5798
  324. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody11attributesorq10kind.ts +0 -6188
  325. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody12attributesorqsource.ts +0 -6233
  326. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody13attributesorq8kind.ts +0 -6039
  327. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1417.ts +0 -6128
  328. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody15attributesorq9evaluationtype.ts +0 -6072
  329. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody16attributesstatus.ts +0 -5730
  330. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody17attributesorq10evaluatorconfigtype.ts +0 -5847
  331. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody18attributesorq14outputschema.ts +0 -6173
  332. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody19attributesorq7annotator.ts +0 -6082
  333. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody20attributesorq16annotator.ts +0 -6113
  334. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody21attributesorq9annotator.ts +0 -6050
  335. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody22attributesorq5outputschema.ts +0 -5797
  336. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody23attributesorq15outputschema.ts +0 -6161
  337. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody24attributesorq8annotator.ts +0 -6120
  338. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody25attributesorq19kind.ts +0 -6104
  339. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody25status.ts +0 -5627
  340. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody26attributesorq12status.ts +0 -6117
  341. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody27attributesorq4evaluationtype.ts +0 -5851
  342. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody28attributesorq15outputschema.ts +0 -6161
  343. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody29attributesorq8annotator.ts +0 -6117
  344. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2source.ts +0 -5733
  345. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody30attributesorq19kind.ts +0 -5994
  346. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody30status.ts +0 -5627
  347. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody31attributesorq17type.ts +0 -6099
  348. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody32attributesorqvalue.ts +0 -5993
  349. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody33attributesevaluatorconfigtype.ts +0 -5757
  350. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody3413.ts +0 -6209
  351. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody35attributesorq5annotator.ts +0 -5807
  352. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody3attributesorq19outputschema.ts +0 -6079
  353. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody4attributesorq8outputschema.ts +0 -6018
  354. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6attributesorq4kind.ts +0 -5777
  355. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody7attributesorq12status.ts +0 -6337
  356. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody8attributesorqannotator.ts +0 -5748
  357. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody9attributesorq12evaluatorconfigtype.ts +0 -6199
  358. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponseevaluatorconfigtype.ts +0 -5519
  359. package/packages/orq-rc/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse2008.ts +0 -5879
  360. package/packages/orq-rc/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody11attributestype.ts +0 -5858
  361. package/packages/orq-rc/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody173.ts +0 -5859
  362. package/packages/orq-rc/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody18attributesopenresponses6role.ts +0 -5893
  363. package/packages/orq-rc/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody26attributesopenresponsestype.ts +0 -5925
  364. package/packages/orq-rc/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody321.ts +0 -5912
  365. package/packages/orq-rc/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody345.ts +0 -5860
  366. package/packages/orq-rc/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody7attributesopenresponsestype.ts +0 -5925
  367. package/packages/orq-rc/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody9attributesrole.ts +0 -5861
  368. package/packages/orq-rc/src/models/operations/retrieveannotationqueueiteminputorq.ts +0 -5827
  369. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody10role.ts +0 -5834
  370. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody141.ts +0 -5658
  371. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody155.ts +0 -5851
  372. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody16status.ts +0 -5945
  373. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody23attributes1.ts +0 -5893
  374. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody28attributes1.ts +0 -5893
  375. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody31content.ts +0 -5592
  376. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody333.ts +0 -5913
  377. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemresponsebody.ts +0 -2673
  378. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesencodingformat.ts +0 -5519
  379. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesfallbacks.ts +0 -5714
  380. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson10evaluation.ts +0 -6143
  381. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson12nodes.ts +0 -5752
  382. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson14attributesresponse.ts +0 -5896
  383. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson16score.ts +0 -6074
  384. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson20attributesopenresponsestype.ts +0 -5643
  385. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson27choice.ts +0 -5926
  386. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson31otlp.ts +0 -5983
  387. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson33provider.ts +0 -5950
  388. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson6response.ts +0 -6117
  389. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson8tool.ts +0 -6043
  390. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemretrievalconfigprovider.ts +0 -5968
  391. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody22attributestype.ts +0 -5766
  392. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody27logprobs.ts +0 -5757
  393. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody353.ts +0 -5767
  394. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody6type.ts +0 -5795
  395. package/packages/orq-rc/src/models/operations/summary4.ts +0 -5069
  396. package/packages/orq-rc/src/models/operations/twentythree.ts +0 -5979
@@ -4,55 +4,44 @@
4
4
 
5
5
  import * as z from "zod/v3";
6
6
  import { remap as remap$ } from "../../lib/primitives.js";
7
- import { safeParse } from "../../lib/schemas.js";
8
7
  import { ClosedEnum } from "../../types/enums.js";
9
- import { Result as SafeParseResult } from "../../types/fp.js";
10
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
8
  import {
12
9
  AudioContentPartSchema,
13
- AudioContentPartSchema$inboundSchema,
14
10
  AudioContentPartSchema$Outbound,
15
11
  AudioContentPartSchema$outboundSchema,
16
12
  } from "./audiocontentpartschema.js";
17
13
  import {
18
14
  FileContentPartSchema,
19
- FileContentPartSchema$inboundSchema,
20
15
  FileContentPartSchema$Outbound,
21
16
  FileContentPartSchema$outboundSchema,
22
17
  } from "./filecontentpartschema.js";
23
18
  import {
24
19
  ImageContentPartSchema,
25
- ImageContentPartSchema$inboundSchema,
26
20
  ImageContentPartSchema$Outbound,
27
21
  ImageContentPartSchema$outboundSchema,
28
22
  } from "./imagecontentpartschema.js";
29
23
  import {
30
24
  PublicIdentity,
31
- PublicIdentity$inboundSchema,
32
25
  PublicIdentity$Outbound,
33
26
  PublicIdentity$outboundSchema,
34
27
  } from "./publicidentity.js";
35
28
  import {
36
29
  ReasoningPartSchema,
37
- ReasoningPartSchema$inboundSchema,
38
30
  ReasoningPartSchema$Outbound,
39
31
  ReasoningPartSchema$outboundSchema,
40
32
  } from "./reasoningpartschema.js";
41
33
  import {
42
34
  RedactedReasoningPartSchema,
43
- RedactedReasoningPartSchema$inboundSchema,
44
35
  RedactedReasoningPartSchema$Outbound,
45
36
  RedactedReasoningPartSchema$outboundSchema,
46
37
  } from "./redactedreasoningpartschema.js";
47
38
  import {
48
39
  RefusalPartSchema,
49
- RefusalPartSchema$inboundSchema,
50
40
  RefusalPartSchema$Outbound,
51
41
  RefusalPartSchema$outboundSchema,
52
42
  } from "./refusalpartschema.js";
53
43
  import {
54
44
  TextContentPartSchema,
55
- TextContentPartSchema$inboundSchema,
56
45
  TextContentPartSchema$Outbound,
57
46
  TextContentPartSchema$outboundSchema,
58
47
  } from "./textcontentpartschema.js";
@@ -1170,13 +1159,6 @@ export type InvokeDeploymentRequest = {
1170
1159
  } | undefined;
1171
1160
  };
1172
1161
 
1173
- /** @internal */
1174
- export const InvokeDeploymentRequestContentPrefixMessages2$inboundSchema:
1175
- z.ZodType<
1176
- InvokeDeploymentRequestContentPrefixMessages2,
1177
- z.ZodTypeDef,
1178
- unknown
1179
- > = TextContentPartSchema$inboundSchema;
1180
1162
  /** @internal */
1181
1163
  export type InvokeDeploymentRequestContentPrefixMessages2$Outbound =
1182
1164
  TextContentPartSchema$Outbound;
@@ -1199,29 +1181,7 @@ export function invokeDeploymentRequestContentPrefixMessages2ToJSON(
1199
1181
  ),
1200
1182
  );
1201
1183
  }
1202
- export function invokeDeploymentRequestContentPrefixMessages2FromJSON(
1203
- jsonString: string,
1204
- ): SafeParseResult<
1205
- InvokeDeploymentRequestContentPrefixMessages2,
1206
- SDKValidationError
1207
- > {
1208
- return safeParse(
1209
- jsonString,
1210
- (x) =>
1211
- InvokeDeploymentRequestContentPrefixMessages2$inboundSchema.parse(
1212
- JSON.parse(x),
1213
- ),
1214
- `Failed to parse 'InvokeDeploymentRequestContentPrefixMessages2' from JSON`,
1215
- );
1216
- }
1217
1184
 
1218
- /** @internal */
1219
- export const InvokeDeploymentRequestPrefixMessages5Content$inboundSchema:
1220
- z.ZodType<
1221
- InvokeDeploymentRequestPrefixMessages5Content,
1222
- z.ZodTypeDef,
1223
- unknown
1224
- > = z.union([z.string(), z.array(TextContentPartSchema$inboundSchema)]);
1225
1185
  /** @internal */
1226
1186
  export type InvokeDeploymentRequestPrefixMessages5Content$Outbound =
1227
1187
  | string
@@ -1245,49 +1205,17 @@ export function invokeDeploymentRequestPrefixMessages5ContentToJSON(
1245
1205
  ),
1246
1206
  );
1247
1207
  }
1248
- export function invokeDeploymentRequestPrefixMessages5ContentFromJSON(
1249
- jsonString: string,
1250
- ): SafeParseResult<
1251
- InvokeDeploymentRequestPrefixMessages5Content,
1252
- SDKValidationError
1253
- > {
1254
- return safeParse(
1255
- jsonString,
1256
- (x) =>
1257
- InvokeDeploymentRequestPrefixMessages5Content$inboundSchema.parse(
1258
- JSON.parse(x),
1259
- ),
1260
- `Failed to parse 'InvokeDeploymentRequestPrefixMessages5Content' from JSON`,
1261
- );
1262
- }
1263
1208
 
1264
1209
  /** @internal */
1265
- export const InvokeDeploymentRequestPrefixMessagesType$inboundSchema:
1210
+ export const InvokeDeploymentRequestPrefixMessagesType$outboundSchema:
1266
1211
  z.ZodNativeEnum<typeof InvokeDeploymentRequestPrefixMessagesType> = z
1267
1212
  .nativeEnum(InvokeDeploymentRequestPrefixMessagesType);
1268
- /** @internal */
1269
- export const InvokeDeploymentRequestPrefixMessagesType$outboundSchema:
1270
- z.ZodNativeEnum<typeof InvokeDeploymentRequestPrefixMessagesType> =
1271
- InvokeDeploymentRequestPrefixMessagesType$inboundSchema;
1272
1213
 
1273
- /** @internal */
1274
- export const PrefixMessagesTtl$inboundSchema: z.ZodNativeEnum<
1275
- typeof PrefixMessagesTtl
1276
- > = z.nativeEnum(PrefixMessagesTtl);
1277
1214
  /** @internal */
1278
1215
  export const PrefixMessagesTtl$outboundSchema: z.ZodNativeEnum<
1279
1216
  typeof PrefixMessagesTtl
1280
- > = PrefixMessagesTtl$inboundSchema;
1217
+ > = z.nativeEnum(PrefixMessagesTtl);
1281
1218
 
1282
- /** @internal */
1283
- export const PrefixMessagesCacheControl$inboundSchema: z.ZodType<
1284
- PrefixMessagesCacheControl,
1285
- z.ZodTypeDef,
1286
- unknown
1287
- > = z.object({
1288
- type: InvokeDeploymentRequestPrefixMessagesType$inboundSchema,
1289
- ttl: PrefixMessagesTtl$inboundSchema.default("5m"),
1290
- });
1291
1219
  /** @internal */
1292
1220
  export type PrefixMessagesCacheControl$Outbound = {
1293
1221
  type: string;
@@ -1311,33 +1239,7 @@ export function prefixMessagesCacheControlToJSON(
1311
1239
  PrefixMessagesCacheControl$outboundSchema.parse(prefixMessagesCacheControl),
1312
1240
  );
1313
1241
  }
1314
- export function prefixMessagesCacheControlFromJSON(
1315
- jsonString: string,
1316
- ): SafeParseResult<PrefixMessagesCacheControl, SDKValidationError> {
1317
- return safeParse(
1318
- jsonString,
1319
- (x) => PrefixMessagesCacheControl$inboundSchema.parse(JSON.parse(x)),
1320
- `Failed to parse 'PrefixMessagesCacheControl' from JSON`,
1321
- );
1322
- }
1323
1242
 
1324
- /** @internal */
1325
- export const ToolMessage$inboundSchema: z.ZodType<
1326
- ToolMessage,
1327
- z.ZodTypeDef,
1328
- unknown
1329
- > = z.object({
1330
- role: z.literal("tool"),
1331
- content: z.union([z.string(), z.array(TextContentPartSchema$inboundSchema)]),
1332
- tool_call_id: z.nullable(z.string()),
1333
- cache_control: z.lazy(() => PrefixMessagesCacheControl$inboundSchema)
1334
- .optional(),
1335
- }).transform((v) => {
1336
- return remap$(v, {
1337
- "tool_call_id": "toolCallId",
1338
- "cache_control": "cacheControl",
1339
- });
1340
- });
1341
1243
  /** @internal */
1342
1244
  export type ToolMessage$Outbound = {
1343
1245
  role: "tool";
@@ -1367,29 +1269,7 @@ export const ToolMessage$outboundSchema: z.ZodType<
1367
1269
  export function toolMessageToJSON(toolMessage: ToolMessage): string {
1368
1270
  return JSON.stringify(ToolMessage$outboundSchema.parse(toolMessage));
1369
1271
  }
1370
- export function toolMessageFromJSON(
1371
- jsonString: string,
1372
- ): SafeParseResult<ToolMessage, SDKValidationError> {
1373
- return safeParse(
1374
- jsonString,
1375
- (x) => ToolMessage$inboundSchema.parse(JSON.parse(x)),
1376
- `Failed to parse 'ToolMessage' from JSON`,
1377
- );
1378
- }
1379
1272
 
1380
- /** @internal */
1381
- export const InvokeDeploymentRequestContent2$inboundSchema: z.ZodType<
1382
- InvokeDeploymentRequestContent2,
1383
- z.ZodTypeDef,
1384
- unknown
1385
- > = z.union([
1386
- TextContentPartSchema$inboundSchema.and(
1387
- z.object({ type: z.literal("text") }),
1388
- ),
1389
- RefusalPartSchema$inboundSchema,
1390
- ReasoningPartSchema$inboundSchema,
1391
- RedactedReasoningPartSchema$inboundSchema,
1392
- ]);
1393
1273
  /** @internal */
1394
1274
  export type InvokeDeploymentRequestContent2$Outbound =
1395
1275
  | (TextContentPartSchema$Outbound & { type: "text" })
@@ -1420,35 +1300,7 @@ export function invokeDeploymentRequestContent2ToJSON(
1420
1300
  ),
1421
1301
  );
1422
1302
  }
1423
- export function invokeDeploymentRequestContent2FromJSON(
1424
- jsonString: string,
1425
- ): SafeParseResult<InvokeDeploymentRequestContent2, SDKValidationError> {
1426
- return safeParse(
1427
- jsonString,
1428
- (x) => InvokeDeploymentRequestContent2$inboundSchema.parse(JSON.parse(x)),
1429
- `Failed to parse 'InvokeDeploymentRequestContent2' from JSON`,
1430
- );
1431
- }
1432
1303
 
1433
- /** @internal */
1434
- export const InvokeDeploymentRequestPrefixMessages4Content$inboundSchema:
1435
- z.ZodType<
1436
- InvokeDeploymentRequestPrefixMessages4Content,
1437
- z.ZodTypeDef,
1438
- unknown
1439
- > = z.union([
1440
- z.string(),
1441
- z.array(
1442
- z.union([
1443
- TextContentPartSchema$inboundSchema.and(
1444
- z.object({ type: z.literal("text") }),
1445
- ),
1446
- RefusalPartSchema$inboundSchema,
1447
- ReasoningPartSchema$inboundSchema,
1448
- RedactedReasoningPartSchema$inboundSchema,
1449
- ]),
1450
- ),
1451
- ]);
1452
1304
  /** @internal */
1453
1305
  export type InvokeDeploymentRequestPrefixMessages4Content$Outbound =
1454
1306
  | string
@@ -1489,27 +1341,7 @@ export function invokeDeploymentRequestPrefixMessages4ContentToJSON(
1489
1341
  ),
1490
1342
  );
1491
1343
  }
1492
- export function invokeDeploymentRequestPrefixMessages4ContentFromJSON(
1493
- jsonString: string,
1494
- ): SafeParseResult<
1495
- InvokeDeploymentRequestPrefixMessages4Content,
1496
- SDKValidationError
1497
- > {
1498
- return safeParse(
1499
- jsonString,
1500
- (x) =>
1501
- InvokeDeploymentRequestPrefixMessages4Content$inboundSchema.parse(
1502
- JSON.parse(x),
1503
- ),
1504
- `Failed to parse 'InvokeDeploymentRequestPrefixMessages4Content' from JSON`,
1505
- );
1506
- }
1507
1344
 
1508
- /** @internal */
1509
- export const Audio$inboundSchema: z.ZodType<Audio, z.ZodTypeDef, unknown> = z
1510
- .object({
1511
- id: z.string(),
1512
- });
1513
1345
  /** @internal */
1514
1346
  export type Audio$Outbound = {
1515
1347
  id: string;
@@ -1527,34 +1359,12 @@ export const Audio$outboundSchema: z.ZodType<
1527
1359
  export function audioToJSON(audio: Audio): string {
1528
1360
  return JSON.stringify(Audio$outboundSchema.parse(audio));
1529
1361
  }
1530
- export function audioFromJSON(
1531
- jsonString: string,
1532
- ): SafeParseResult<Audio, SDKValidationError> {
1533
- return safeParse(
1534
- jsonString,
1535
- (x) => Audio$inboundSchema.parse(JSON.parse(x)),
1536
- `Failed to parse 'Audio' from JSON`,
1537
- );
1538
- }
1539
1362
 
1540
- /** @internal */
1541
- export const PrefixMessagesType$inboundSchema: z.ZodNativeEnum<
1542
- typeof PrefixMessagesType
1543
- > = z.nativeEnum(PrefixMessagesType);
1544
1363
  /** @internal */
1545
1364
  export const PrefixMessagesType$outboundSchema: z.ZodNativeEnum<
1546
1365
  typeof PrefixMessagesType
1547
- > = PrefixMessagesType$inboundSchema;
1366
+ > = z.nativeEnum(PrefixMessagesType);
1548
1367
 
1549
- /** @internal */
1550
- export const PrefixMessagesFunction$inboundSchema: z.ZodType<
1551
- PrefixMessagesFunction,
1552
- z.ZodTypeDef,
1553
- unknown
1554
- > = z.object({
1555
- name: z.string().optional(),
1556
- arguments: z.string().optional(),
1557
- });
1558
1368
  /** @internal */
1559
1369
  export type PrefixMessagesFunction$Outbound = {
1560
1370
  name?: string | undefined;
@@ -1578,31 +1388,7 @@ export function prefixMessagesFunctionToJSON(
1578
1388
  PrefixMessagesFunction$outboundSchema.parse(prefixMessagesFunction),
1579
1389
  );
1580
1390
  }
1581
- export function prefixMessagesFunctionFromJSON(
1582
- jsonString: string,
1583
- ): SafeParseResult<PrefixMessagesFunction, SDKValidationError> {
1584
- return safeParse(
1585
- jsonString,
1586
- (x) => PrefixMessagesFunction$inboundSchema.parse(JSON.parse(x)),
1587
- `Failed to parse 'PrefixMessagesFunction' from JSON`,
1588
- );
1589
- }
1590
1391
 
1591
- /** @internal */
1592
- export const ToolCalls$inboundSchema: z.ZodType<
1593
- ToolCalls,
1594
- z.ZodTypeDef,
1595
- unknown
1596
- > = z.object({
1597
- id: z.string(),
1598
- type: PrefixMessagesType$inboundSchema,
1599
- function: z.lazy(() => PrefixMessagesFunction$inboundSchema),
1600
- thought_signature: z.string().optional(),
1601
- }).transform((v) => {
1602
- return remap$(v, {
1603
- "thought_signature": "thoughtSignature",
1604
- });
1605
- });
1606
1392
  /** @internal */
1607
1393
  export type ToolCalls$Outbound = {
1608
1394
  id: string;
@@ -1630,47 +1416,7 @@ export const ToolCalls$outboundSchema: z.ZodType<
1630
1416
  export function toolCallsToJSON(toolCalls: ToolCalls): string {
1631
1417
  return JSON.stringify(ToolCalls$outboundSchema.parse(toolCalls));
1632
1418
  }
1633
- export function toolCallsFromJSON(
1634
- jsonString: string,
1635
- ): SafeParseResult<ToolCalls, SDKValidationError> {
1636
- return safeParse(
1637
- jsonString,
1638
- (x) => ToolCalls$inboundSchema.parse(JSON.parse(x)),
1639
- `Failed to parse 'ToolCalls' from JSON`,
1640
- );
1641
- }
1642
1419
 
1643
- /** @internal */
1644
- export const AssistantMessage$inboundSchema: z.ZodType<
1645
- AssistantMessage,
1646
- z.ZodTypeDef,
1647
- unknown
1648
- > = z.object({
1649
- content: z.nullable(
1650
- z.union([
1651
- z.string(),
1652
- z.array(
1653
- z.union([
1654
- TextContentPartSchema$inboundSchema.and(
1655
- z.object({ type: z.literal("text") }),
1656
- ),
1657
- RefusalPartSchema$inboundSchema,
1658
- ReasoningPartSchema$inboundSchema,
1659
- RedactedReasoningPartSchema$inboundSchema,
1660
- ]),
1661
- ),
1662
- ]),
1663
- ).optional(),
1664
- refusal: z.nullable(z.string()).optional(),
1665
- role: z.literal("assistant"),
1666
- name: z.string().optional(),
1667
- audio: z.nullable(z.lazy(() => Audio$inboundSchema)).optional(),
1668
- tool_calls: z.array(z.lazy(() => ToolCalls$inboundSchema)).optional(),
1669
- }).transform((v) => {
1670
- return remap$(v, {
1671
- "tool_calls": "toolCalls",
1672
- });
1673
- });
1674
1420
  /** @internal */
1675
1421
  export type AssistantMessage$Outbound = {
1676
1422
  content?:
@@ -1729,41 +1475,16 @@ export function assistantMessageToJSON(
1729
1475
  AssistantMessage$outboundSchema.parse(assistantMessage),
1730
1476
  );
1731
1477
  }
1732
- export function assistantMessageFromJSON(
1733
- jsonString: string,
1734
- ): SafeParseResult<AssistantMessage, SDKValidationError> {
1735
- return safeParse(
1736
- jsonString,
1737
- (x) => AssistantMessage$inboundSchema.parse(JSON.parse(x)),
1738
- `Failed to parse 'AssistantMessage' from JSON`,
1739
- );
1740
- }
1741
1478
 
1742
1479
  /** @internal */
1743
- export const InvokeDeploymentRequest2PrefixMessagesType$inboundSchema:
1480
+ export const InvokeDeploymentRequest2PrefixMessagesType$outboundSchema:
1744
1481
  z.ZodNativeEnum<typeof InvokeDeploymentRequest2PrefixMessagesType> = z
1745
1482
  .nativeEnum(InvokeDeploymentRequest2PrefixMessagesType);
1746
- /** @internal */
1747
- export const InvokeDeploymentRequest2PrefixMessagesType$outboundSchema:
1748
- z.ZodNativeEnum<typeof InvokeDeploymentRequest2PrefixMessagesType> =
1749
- InvokeDeploymentRequest2PrefixMessagesType$inboundSchema;
1750
1483
 
1751
1484
  /** @internal */
1752
- export const TwoTtl$inboundSchema: z.ZodNativeEnum<typeof TwoTtl> = z
1485
+ export const TwoTtl$outboundSchema: z.ZodNativeEnum<typeof TwoTtl> = z
1753
1486
  .nativeEnum(TwoTtl);
1754
- /** @internal */
1755
- export const TwoTtl$outboundSchema: z.ZodNativeEnum<typeof TwoTtl> =
1756
- TwoTtl$inboundSchema;
1757
1487
 
1758
- /** @internal */
1759
- export const TwoCacheControl$inboundSchema: z.ZodType<
1760
- TwoCacheControl,
1761
- z.ZodTypeDef,
1762
- unknown
1763
- > = z.object({
1764
- type: InvokeDeploymentRequest2PrefixMessagesType$inboundSchema,
1765
- ttl: TwoTtl$inboundSchema.default("5m"),
1766
- });
1767
1488
  /** @internal */
1768
1489
  export type TwoCacheControl$Outbound = {
1769
1490
  type: string;
@@ -1785,27 +1506,7 @@ export function twoCacheControlToJSON(
1785
1506
  ): string {
1786
1507
  return JSON.stringify(TwoCacheControl$outboundSchema.parse(twoCacheControl));
1787
1508
  }
1788
- export function twoCacheControlFromJSON(
1789
- jsonString: string,
1790
- ): SafeParseResult<TwoCacheControl, SDKValidationError> {
1791
- return safeParse(
1792
- jsonString,
1793
- (x) => TwoCacheControl$inboundSchema.parse(JSON.parse(x)),
1794
- `Failed to parse 'TwoCacheControl' from JSON`,
1795
- );
1796
- }
1797
1509
 
1798
- /** @internal */
1799
- export const Two4$inboundSchema: z.ZodType<Two4, z.ZodTypeDef, unknown> = z
1800
- .object({
1801
- type: z.literal("file"),
1802
- cache_control: z.lazy(() => TwoCacheControl$inboundSchema).optional(),
1803
- file: FileContentPartSchema$inboundSchema,
1804
- }).transform((v) => {
1805
- return remap$(v, {
1806
- "cache_control": "cacheControl",
1807
- });
1808
- });
1809
1510
  /** @internal */
1810
1511
  export type Two4$Outbound = {
1811
1512
  type: "file";
@@ -1828,29 +1529,7 @@ export const Two4$outboundSchema: z.ZodType<Two4$Outbound, z.ZodTypeDef, Two4> =
1828
1529
  export function two4ToJSON(two4: Two4): string {
1829
1530
  return JSON.stringify(Two4$outboundSchema.parse(two4));
1830
1531
  }
1831
- export function two4FromJSON(
1832
- jsonString: string,
1833
- ): SafeParseResult<Two4, SDKValidationError> {
1834
- return safeParse(
1835
- jsonString,
1836
- (x) => Two4$inboundSchema.parse(JSON.parse(x)),
1837
- `Failed to parse 'Two4' from JSON`,
1838
- );
1839
- }
1840
1532
 
1841
- /** @internal */
1842
- export const Content2$inboundSchema: z.ZodType<
1843
- Content2,
1844
- z.ZodTypeDef,
1845
- unknown
1846
- > = z.union([
1847
- TextContentPartSchema$inboundSchema.and(
1848
- z.object({ type: z.literal("text") }),
1849
- ),
1850
- ImageContentPartSchema$inboundSchema,
1851
- AudioContentPartSchema$inboundSchema,
1852
- z.lazy(() => Two4$inboundSchema),
1853
- ]);
1854
1533
  /** @internal */
1855
1534
  export type Content2$Outbound =
1856
1535
  | (TextContentPartSchema$Outbound & { type: "text" })
@@ -1875,35 +1554,7 @@ export const Content2$outboundSchema: z.ZodType<
1875
1554
  export function content2ToJSON(content2: Content2): string {
1876
1555
  return JSON.stringify(Content2$outboundSchema.parse(content2));
1877
1556
  }
1878
- export function content2FromJSON(
1879
- jsonString: string,
1880
- ): SafeParseResult<Content2, SDKValidationError> {
1881
- return safeParse(
1882
- jsonString,
1883
- (x) => Content2$inboundSchema.parse(JSON.parse(x)),
1884
- `Failed to parse 'Content2' from JSON`,
1885
- );
1886
- }
1887
1557
 
1888
- /** @internal */
1889
- export const InvokeDeploymentRequestPrefixMessagesContent$inboundSchema:
1890
- z.ZodType<
1891
- InvokeDeploymentRequestPrefixMessagesContent,
1892
- z.ZodTypeDef,
1893
- unknown
1894
- > = z.union([
1895
- z.string(),
1896
- z.array(
1897
- z.union([
1898
- TextContentPartSchema$inboundSchema.and(
1899
- z.object({ type: z.literal("text") }),
1900
- ),
1901
- ImageContentPartSchema$inboundSchema,
1902
- AudioContentPartSchema$inboundSchema,
1903
- z.lazy(() => Two4$inboundSchema),
1904
- ]),
1905
- ),
1906
- ]);
1907
1558
  /** @internal */
1908
1559
  export type InvokeDeploymentRequestPrefixMessagesContent$Outbound =
1909
1560
  | string
@@ -1944,44 +1595,7 @@ export function invokeDeploymentRequestPrefixMessagesContentToJSON(
1944
1595
  ),
1945
1596
  );
1946
1597
  }
1947
- export function invokeDeploymentRequestPrefixMessagesContentFromJSON(
1948
- jsonString: string,
1949
- ): SafeParseResult<
1950
- InvokeDeploymentRequestPrefixMessagesContent,
1951
- SDKValidationError
1952
- > {
1953
- return safeParse(
1954
- jsonString,
1955
- (x) =>
1956
- InvokeDeploymentRequestPrefixMessagesContent$inboundSchema.parse(
1957
- JSON.parse(x),
1958
- ),
1959
- `Failed to parse 'InvokeDeploymentRequestPrefixMessagesContent' from JSON`,
1960
- );
1961
- }
1962
1598
 
1963
- /** @internal */
1964
- export const UserMessage$inboundSchema: z.ZodType<
1965
- UserMessage,
1966
- z.ZodTypeDef,
1967
- unknown
1968
- > = z.object({
1969
- role: z.literal("user"),
1970
- name: z.string().optional(),
1971
- content: z.union([
1972
- z.string(),
1973
- z.array(
1974
- z.union([
1975
- TextContentPartSchema$inboundSchema.and(
1976
- z.object({ type: z.literal("text") }),
1977
- ),
1978
- ImageContentPartSchema$inboundSchema,
1979
- AudioContentPartSchema$inboundSchema,
1980
- z.lazy(() => Two4$inboundSchema),
1981
- ]),
1982
- ),
1983
- ]),
1984
- });
1985
1599
  /** @internal */
1986
1600
  export type UserMessage$Outbound = {
1987
1601
  role: "user";
@@ -2022,22 +1636,7 @@ export const UserMessage$outboundSchema: z.ZodType<
2022
1636
  export function userMessageToJSON(userMessage: UserMessage): string {
2023
1637
  return JSON.stringify(UserMessage$outboundSchema.parse(userMessage));
2024
1638
  }
2025
- export function userMessageFromJSON(
2026
- jsonString: string,
2027
- ): SafeParseResult<UserMessage, SDKValidationError> {
2028
- return safeParse(
2029
- jsonString,
2030
- (x) => UserMessage$inboundSchema.parse(JSON.parse(x)),
2031
- `Failed to parse 'UserMessage' from JSON`,
2032
- );
2033
- }
2034
1639
 
2035
- /** @internal */
2036
- export const PrefixMessagesContent$inboundSchema: z.ZodType<
2037
- PrefixMessagesContent,
2038
- z.ZodTypeDef,
2039
- unknown
2040
- > = z.union([z.string(), z.array(TextContentPartSchema$inboundSchema)]);
2041
1640
  /** @internal */
2042
1641
  export type PrefixMessagesContent$Outbound =
2043
1642
  | string
@@ -2057,26 +1656,7 @@ export function prefixMessagesContentToJSON(
2057
1656
  PrefixMessagesContent$outboundSchema.parse(prefixMessagesContent),
2058
1657
  );
2059
1658
  }
2060
- export function prefixMessagesContentFromJSON(
2061
- jsonString: string,
2062
- ): SafeParseResult<PrefixMessagesContent, SDKValidationError> {
2063
- return safeParse(
2064
- jsonString,
2065
- (x) => PrefixMessagesContent$inboundSchema.parse(JSON.parse(x)),
2066
- `Failed to parse 'PrefixMessagesContent' from JSON`,
2067
- );
2068
- }
2069
1659
 
2070
- /** @internal */
2071
- export const DeveloperMessage$inboundSchema: z.ZodType<
2072
- DeveloperMessage,
2073
- z.ZodTypeDef,
2074
- unknown
2075
- > = z.object({
2076
- role: z.literal("developer"),
2077
- content: z.union([z.string(), z.array(TextContentPartSchema$inboundSchema)]),
2078
- name: z.string().optional(),
2079
- });
2080
1660
  /** @internal */
2081
1661
  export type DeveloperMessage$Outbound = {
2082
1662
  role: "developer";
@@ -2102,19 +1682,7 @@ export function developerMessageToJSON(
2102
1682
  DeveloperMessage$outboundSchema.parse(developerMessage),
2103
1683
  );
2104
1684
  }
2105
- export function developerMessageFromJSON(
2106
- jsonString: string,
2107
- ): SafeParseResult<DeveloperMessage, SDKValidationError> {
2108
- return safeParse(
2109
- jsonString,
2110
- (x) => DeveloperMessage$inboundSchema.parse(JSON.parse(x)),
2111
- `Failed to parse 'DeveloperMessage' from JSON`,
2112
- );
2113
- }
2114
1685
 
2115
- /** @internal */
2116
- export const Content$inboundSchema: z.ZodType<Content, z.ZodTypeDef, unknown> =
2117
- z.union([z.string(), z.array(TextContentPartSchema$inboundSchema)]);
2118
1686
  /** @internal */
2119
1687
  export type Content$Outbound = string | Array<TextContentPartSchema$Outbound>;
2120
1688
 
@@ -2128,26 +1696,7 @@ export const Content$outboundSchema: z.ZodType<
2128
1696
  export function contentToJSON(content: Content): string {
2129
1697
  return JSON.stringify(Content$outboundSchema.parse(content));
2130
1698
  }
2131
- export function contentFromJSON(
2132
- jsonString: string,
2133
- ): SafeParseResult<Content, SDKValidationError> {
2134
- return safeParse(
2135
- jsonString,
2136
- (x) => Content$inboundSchema.parse(JSON.parse(x)),
2137
- `Failed to parse 'Content' from JSON`,
2138
- );
2139
- }
2140
1699
 
2141
- /** @internal */
2142
- export const SystemMessage$inboundSchema: z.ZodType<
2143
- SystemMessage,
2144
- z.ZodTypeDef,
2145
- unknown
2146
- > = z.object({
2147
- role: z.literal("system"),
2148
- content: z.union([z.string(), z.array(TextContentPartSchema$inboundSchema)]),
2149
- name: z.string().optional(),
2150
- });
2151
1700
  /** @internal */
2152
1701
  export type SystemMessage$Outbound = {
2153
1702
  role: "system";
@@ -2169,28 +1718,7 @@ export const SystemMessage$outboundSchema: z.ZodType<
2169
1718
  export function systemMessageToJSON(systemMessage: SystemMessage): string {
2170
1719
  return JSON.stringify(SystemMessage$outboundSchema.parse(systemMessage));
2171
1720
  }
2172
- export function systemMessageFromJSON(
2173
- jsonString: string,
2174
- ): SafeParseResult<SystemMessage, SDKValidationError> {
2175
- return safeParse(
2176
- jsonString,
2177
- (x) => SystemMessage$inboundSchema.parse(JSON.parse(x)),
2178
- `Failed to parse 'SystemMessage' from JSON`,
2179
- );
2180
- }
2181
1721
 
2182
- /** @internal */
2183
- export const PrefixMessages$inboundSchema: z.ZodType<
2184
- PrefixMessages,
2185
- z.ZodTypeDef,
2186
- unknown
2187
- > = z.union([
2188
- z.lazy(() => SystemMessage$inboundSchema),
2189
- z.lazy(() => DeveloperMessage$inboundSchema),
2190
- z.lazy(() => UserMessage$inboundSchema),
2191
- z.lazy(() => AssistantMessage$inboundSchema),
2192
- z.lazy(() => ToolMessage$inboundSchema),
2193
- ]);
2194
1722
  /** @internal */
2195
1723
  export type PrefixMessages$Outbound =
2196
1724
  | SystemMessage$Outbound
@@ -2215,22 +1743,7 @@ export const PrefixMessages$outboundSchema: z.ZodType<
2215
1743
  export function prefixMessagesToJSON(prefixMessages: PrefixMessages): string {
2216
1744
  return JSON.stringify(PrefixMessages$outboundSchema.parse(prefixMessages));
2217
1745
  }
2218
- export function prefixMessagesFromJSON(
2219
- jsonString: string,
2220
- ): SafeParseResult<PrefixMessages, SDKValidationError> {
2221
- return safeParse(
2222
- jsonString,
2223
- (x) => PrefixMessages$inboundSchema.parse(JSON.parse(x)),
2224
- `Failed to parse 'PrefixMessages' from JSON`,
2225
- );
2226
- }
2227
1746
 
2228
- /** @internal */
2229
- export const InvokeDeploymentRequestContentMessages52$inboundSchema: z.ZodType<
2230
- InvokeDeploymentRequestContentMessages52,
2231
- z.ZodTypeDef,
2232
- unknown
2233
- > = TextContentPartSchema$inboundSchema;
2234
1747
  /** @internal */
2235
1748
  export type InvokeDeploymentRequestContentMessages52$Outbound =
2236
1749
  TextContentPartSchema$Outbound;
@@ -2252,28 +1765,7 @@ export function invokeDeploymentRequestContentMessages52ToJSON(
2252
1765
  ),
2253
1766
  );
2254
1767
  }
2255
- export function invokeDeploymentRequestContentMessages52FromJSON(
2256
- jsonString: string,
2257
- ): SafeParseResult<
2258
- InvokeDeploymentRequestContentMessages52,
2259
- SDKValidationError
2260
- > {
2261
- return safeParse(
2262
- jsonString,
2263
- (x) =>
2264
- InvokeDeploymentRequestContentMessages52$inboundSchema.parse(
2265
- JSON.parse(x),
2266
- ),
2267
- `Failed to parse 'InvokeDeploymentRequestContentMessages52' from JSON`,
2268
- );
2269
- }
2270
1768
 
2271
- /** @internal */
2272
- export const InvokeDeploymentRequestMessages5Content$inboundSchema: z.ZodType<
2273
- InvokeDeploymentRequestMessages5Content,
2274
- z.ZodTypeDef,
2275
- unknown
2276
- > = z.union([z.string(), z.array(TextContentPartSchema$inboundSchema)]);
2277
1769
  /** @internal */
2278
1770
  export type InvokeDeploymentRequestMessages5Content$Outbound =
2279
1771
  | string
@@ -2296,47 +1788,17 @@ export function invokeDeploymentRequestMessages5ContentToJSON(
2296
1788
  ),
2297
1789
  );
2298
1790
  }
2299
- export function invokeDeploymentRequestMessages5ContentFromJSON(
2300
- jsonString: string,
2301
- ): SafeParseResult<
2302
- InvokeDeploymentRequestMessages5Content,
2303
- SDKValidationError
2304
- > {
2305
- return safeParse(
2306
- jsonString,
2307
- (x) =>
2308
- InvokeDeploymentRequestMessages5Content$inboundSchema.parse(
2309
- JSON.parse(x),
2310
- ),
2311
- `Failed to parse 'InvokeDeploymentRequestMessages5Content' from JSON`,
2312
- );
2313
- }
2314
1791
 
2315
- /** @internal */
2316
- export const InvokeDeploymentRequestMessagesType$inboundSchema: z.ZodNativeEnum<
2317
- typeof InvokeDeploymentRequestMessagesType
2318
- > = z.nativeEnum(InvokeDeploymentRequestMessagesType);
2319
1792
  /** @internal */
2320
1793
  export const InvokeDeploymentRequestMessagesType$outboundSchema:
2321
- z.ZodNativeEnum<typeof InvokeDeploymentRequestMessagesType> =
2322
- InvokeDeploymentRequestMessagesType$inboundSchema;
1794
+ z.ZodNativeEnum<typeof InvokeDeploymentRequestMessagesType> = z.nativeEnum(
1795
+ InvokeDeploymentRequestMessagesType,
1796
+ );
2323
1797
 
2324
1798
  /** @internal */
2325
- export const MessagesTtl$inboundSchema: z.ZodNativeEnum<typeof MessagesTtl> = z
1799
+ export const MessagesTtl$outboundSchema: z.ZodNativeEnum<typeof MessagesTtl> = z
2326
1800
  .nativeEnum(MessagesTtl);
2327
- /** @internal */
2328
- export const MessagesTtl$outboundSchema: z.ZodNativeEnum<typeof MessagesTtl> =
2329
- MessagesTtl$inboundSchema;
2330
1801
 
2331
- /** @internal */
2332
- export const MessagesCacheControl$inboundSchema: z.ZodType<
2333
- MessagesCacheControl,
2334
- z.ZodTypeDef,
2335
- unknown
2336
- > = z.object({
2337
- type: InvokeDeploymentRequestMessagesType$inboundSchema,
2338
- ttl: MessagesTtl$inboundSchema.default("5m"),
2339
- });
2340
1802
  /** @internal */
2341
1803
  export type MessagesCacheControl$Outbound = {
2342
1804
  type: string;
@@ -2360,32 +1822,7 @@ export function messagesCacheControlToJSON(
2360
1822
  MessagesCacheControl$outboundSchema.parse(messagesCacheControl),
2361
1823
  );
2362
1824
  }
2363
- export function messagesCacheControlFromJSON(
2364
- jsonString: string,
2365
- ): SafeParseResult<MessagesCacheControl, SDKValidationError> {
2366
- return safeParse(
2367
- jsonString,
2368
- (x) => MessagesCacheControl$inboundSchema.parse(JSON.parse(x)),
2369
- `Failed to parse 'MessagesCacheControl' from JSON`,
2370
- );
2371
- }
2372
1825
 
2373
- /** @internal */
2374
- export const MessagesToolMessage$inboundSchema: z.ZodType<
2375
- MessagesToolMessage,
2376
- z.ZodTypeDef,
2377
- unknown
2378
- > = z.object({
2379
- role: z.literal("tool"),
2380
- content: z.union([z.string(), z.array(TextContentPartSchema$inboundSchema)]),
2381
- tool_call_id: z.nullable(z.string()),
2382
- cache_control: z.lazy(() => MessagesCacheControl$inboundSchema).optional(),
2383
- }).transform((v) => {
2384
- return remap$(v, {
2385
- "tool_call_id": "toolCallId",
2386
- "cache_control": "cacheControl",
2387
- });
2388
- });
2389
1826
  /** @internal */
2390
1827
  export type MessagesToolMessage$Outbound = {
2391
1828
  role: "tool";
@@ -2418,29 +1855,7 @@ export function messagesToolMessageToJSON(
2418
1855
  MessagesToolMessage$outboundSchema.parse(messagesToolMessage),
2419
1856
  );
2420
1857
  }
2421
- export function messagesToolMessageFromJSON(
2422
- jsonString: string,
2423
- ): SafeParseResult<MessagesToolMessage, SDKValidationError> {
2424
- return safeParse(
2425
- jsonString,
2426
- (x) => MessagesToolMessage$inboundSchema.parse(JSON.parse(x)),
2427
- `Failed to parse 'MessagesToolMessage' from JSON`,
2428
- );
2429
- }
2430
1858
 
2431
- /** @internal */
2432
- export const InvokeDeploymentRequestContentMessages42$inboundSchema: z.ZodType<
2433
- InvokeDeploymentRequestContentMessages42,
2434
- z.ZodTypeDef,
2435
- unknown
2436
- > = z.union([
2437
- TextContentPartSchema$inboundSchema.and(
2438
- z.object({ type: z.literal("text") }),
2439
- ),
2440
- RefusalPartSchema$inboundSchema,
2441
- ReasoningPartSchema$inboundSchema,
2442
- RedactedReasoningPartSchema$inboundSchema,
2443
- ]);
2444
1859
  /** @internal */
2445
1860
  export type InvokeDeploymentRequestContentMessages42$Outbound =
2446
1861
  | (TextContentPartSchema$Outbound & { type: "text" })
@@ -2472,40 +1887,7 @@ export function invokeDeploymentRequestContentMessages42ToJSON(
2472
1887
  ),
2473
1888
  );
2474
1889
  }
2475
- export function invokeDeploymentRequestContentMessages42FromJSON(
2476
- jsonString: string,
2477
- ): SafeParseResult<
2478
- InvokeDeploymentRequestContentMessages42,
2479
- SDKValidationError
2480
- > {
2481
- return safeParse(
2482
- jsonString,
2483
- (x) =>
2484
- InvokeDeploymentRequestContentMessages42$inboundSchema.parse(
2485
- JSON.parse(x),
2486
- ),
2487
- `Failed to parse 'InvokeDeploymentRequestContentMessages42' from JSON`,
2488
- );
2489
- }
2490
1890
 
2491
- /** @internal */
2492
- export const InvokeDeploymentRequestMessages4Content$inboundSchema: z.ZodType<
2493
- InvokeDeploymentRequestMessages4Content,
2494
- z.ZodTypeDef,
2495
- unknown
2496
- > = z.union([
2497
- z.string(),
2498
- z.array(
2499
- z.union([
2500
- TextContentPartSchema$inboundSchema.and(
2501
- z.object({ type: z.literal("text") }),
2502
- ),
2503
- RefusalPartSchema$inboundSchema,
2504
- ReasoningPartSchema$inboundSchema,
2505
- RedactedReasoningPartSchema$inboundSchema,
2506
- ]),
2507
- ),
2508
- ]);
2509
1891
  /** @internal */
2510
1892
  export type InvokeDeploymentRequestMessages4Content$Outbound =
2511
1893
  | string
@@ -2545,30 +1927,7 @@ export function invokeDeploymentRequestMessages4ContentToJSON(
2545
1927
  ),
2546
1928
  );
2547
1929
  }
2548
- export function invokeDeploymentRequestMessages4ContentFromJSON(
2549
- jsonString: string,
2550
- ): SafeParseResult<
2551
- InvokeDeploymentRequestMessages4Content,
2552
- SDKValidationError
2553
- > {
2554
- return safeParse(
2555
- jsonString,
2556
- (x) =>
2557
- InvokeDeploymentRequestMessages4Content$inboundSchema.parse(
2558
- JSON.parse(x),
2559
- ),
2560
- `Failed to parse 'InvokeDeploymentRequestMessages4Content' from JSON`,
2561
- );
2562
- }
2563
1930
 
2564
- /** @internal */
2565
- export const MessagesAudio$inboundSchema: z.ZodType<
2566
- MessagesAudio,
2567
- z.ZodTypeDef,
2568
- unknown
2569
- > = z.object({
2570
- id: z.string(),
2571
- });
2572
1931
  /** @internal */
2573
1932
  export type MessagesAudio$Outbound = {
2574
1933
  id: string;
@@ -2586,32 +1945,11 @@ export const MessagesAudio$outboundSchema: z.ZodType<
2586
1945
  export function messagesAudioToJSON(messagesAudio: MessagesAudio): string {
2587
1946
  return JSON.stringify(MessagesAudio$outboundSchema.parse(messagesAudio));
2588
1947
  }
2589
- export function messagesAudioFromJSON(
2590
- jsonString: string,
2591
- ): SafeParseResult<MessagesAudio, SDKValidationError> {
2592
- return safeParse(
2593
- jsonString,
2594
- (x) => MessagesAudio$inboundSchema.parse(JSON.parse(x)),
2595
- `Failed to parse 'MessagesAudio' from JSON`,
2596
- );
2597
- }
2598
1948
 
2599
- /** @internal */
2600
- export const MessagesType$inboundSchema: z.ZodNativeEnum<typeof MessagesType> =
2601
- z.nativeEnum(MessagesType);
2602
1949
  /** @internal */
2603
1950
  export const MessagesType$outboundSchema: z.ZodNativeEnum<typeof MessagesType> =
2604
- MessagesType$inboundSchema;
1951
+ z.nativeEnum(MessagesType);
2605
1952
 
2606
- /** @internal */
2607
- export const MessagesFunction$inboundSchema: z.ZodType<
2608
- MessagesFunction,
2609
- z.ZodTypeDef,
2610
- unknown
2611
- > = z.object({
2612
- name: z.string().optional(),
2613
- arguments: z.string().optional(),
2614
- });
2615
1953
  /** @internal */
2616
1954
  export type MessagesFunction$Outbound = {
2617
1955
  name?: string | undefined;
@@ -2635,31 +1973,7 @@ export function messagesFunctionToJSON(
2635
1973
  MessagesFunction$outboundSchema.parse(messagesFunction),
2636
1974
  );
2637
1975
  }
2638
- export function messagesFunctionFromJSON(
2639
- jsonString: string,
2640
- ): SafeParseResult<MessagesFunction, SDKValidationError> {
2641
- return safeParse(
2642
- jsonString,
2643
- (x) => MessagesFunction$inboundSchema.parse(JSON.parse(x)),
2644
- `Failed to parse 'MessagesFunction' from JSON`,
2645
- );
2646
- }
2647
1976
 
2648
- /** @internal */
2649
- export const MessagesToolCalls$inboundSchema: z.ZodType<
2650
- MessagesToolCalls,
2651
- z.ZodTypeDef,
2652
- unknown
2653
- > = z.object({
2654
- id: z.string(),
2655
- type: MessagesType$inboundSchema,
2656
- function: z.lazy(() => MessagesFunction$inboundSchema),
2657
- thought_signature: z.string().optional(),
2658
- }).transform((v) => {
2659
- return remap$(v, {
2660
- "thought_signature": "thoughtSignature",
2661
- });
2662
- });
2663
1977
  /** @internal */
2664
1978
  export type MessagesToolCalls$Outbound = {
2665
1979
  id: string;
@@ -2691,47 +2005,7 @@ export function messagesToolCallsToJSON(
2691
2005
  MessagesToolCalls$outboundSchema.parse(messagesToolCalls),
2692
2006
  );
2693
2007
  }
2694
- export function messagesToolCallsFromJSON(
2695
- jsonString: string,
2696
- ): SafeParseResult<MessagesToolCalls, SDKValidationError> {
2697
- return safeParse(
2698
- jsonString,
2699
- (x) => MessagesToolCalls$inboundSchema.parse(JSON.parse(x)),
2700
- `Failed to parse 'MessagesToolCalls' from JSON`,
2701
- );
2702
- }
2703
2008
 
2704
- /** @internal */
2705
- export const MessagesAssistantMessage$inboundSchema: z.ZodType<
2706
- MessagesAssistantMessage,
2707
- z.ZodTypeDef,
2708
- unknown
2709
- > = z.object({
2710
- content: z.nullable(
2711
- z.union([
2712
- z.string(),
2713
- z.array(
2714
- z.union([
2715
- TextContentPartSchema$inboundSchema.and(
2716
- z.object({ type: z.literal("text") }),
2717
- ),
2718
- RefusalPartSchema$inboundSchema,
2719
- ReasoningPartSchema$inboundSchema,
2720
- RedactedReasoningPartSchema$inboundSchema,
2721
- ]),
2722
- ),
2723
- ]),
2724
- ).optional(),
2725
- refusal: z.nullable(z.string()).optional(),
2726
- role: z.literal("assistant"),
2727
- name: z.string().optional(),
2728
- audio: z.nullable(z.lazy(() => MessagesAudio$inboundSchema)).optional(),
2729
- tool_calls: z.array(z.lazy(() => MessagesToolCalls$inboundSchema)).optional(),
2730
- }).transform((v) => {
2731
- return remap$(v, {
2732
- "tool_calls": "toolCalls",
2733
- });
2734
- });
2735
2009
  /** @internal */
2736
2010
  export type MessagesAssistantMessage$Outbound = {
2737
2011
  content?:
@@ -2790,44 +2064,18 @@ export function messagesAssistantMessageToJSON(
2790
2064
  MessagesAssistantMessage$outboundSchema.parse(messagesAssistantMessage),
2791
2065
  );
2792
2066
  }
2793
- export function messagesAssistantMessageFromJSON(
2794
- jsonString: string,
2795
- ): SafeParseResult<MessagesAssistantMessage, SDKValidationError> {
2796
- return safeParse(
2797
- jsonString,
2798
- (x) => MessagesAssistantMessage$inboundSchema.parse(JSON.parse(x)),
2799
- `Failed to parse 'MessagesAssistantMessage' from JSON`,
2800
- );
2801
- }
2802
2067
 
2803
2068
  /** @internal */
2804
- export const InvokeDeploymentRequest2MessagesType$inboundSchema:
2069
+ export const InvokeDeploymentRequest2MessagesType$outboundSchema:
2805
2070
  z.ZodNativeEnum<typeof InvokeDeploymentRequest2MessagesType> = z.nativeEnum(
2806
2071
  InvokeDeploymentRequest2MessagesType,
2807
2072
  );
2808
- /** @internal */
2809
- export const InvokeDeploymentRequest2MessagesType$outboundSchema:
2810
- z.ZodNativeEnum<typeof InvokeDeploymentRequest2MessagesType> =
2811
- InvokeDeploymentRequest2MessagesType$inboundSchema;
2812
2073
 
2813
- /** @internal */
2814
- export const InvokeDeploymentRequest2Ttl$inboundSchema: z.ZodNativeEnum<
2815
- typeof InvokeDeploymentRequest2Ttl
2816
- > = z.nativeEnum(InvokeDeploymentRequest2Ttl);
2817
2074
  /** @internal */
2818
2075
  export const InvokeDeploymentRequest2Ttl$outboundSchema: z.ZodNativeEnum<
2819
2076
  typeof InvokeDeploymentRequest2Ttl
2820
- > = InvokeDeploymentRequest2Ttl$inboundSchema;
2077
+ > = z.nativeEnum(InvokeDeploymentRequest2Ttl);
2821
2078
 
2822
- /** @internal */
2823
- export const InvokeDeploymentRequest2CacheControl$inboundSchema: z.ZodType<
2824
- InvokeDeploymentRequest2CacheControl,
2825
- z.ZodTypeDef,
2826
- unknown
2827
- > = z.object({
2828
- type: InvokeDeploymentRequest2MessagesType$inboundSchema,
2829
- ttl: InvokeDeploymentRequest2Ttl$inboundSchema.default("5m"),
2830
- });
2831
2079
  /** @internal */
2832
2080
  export type InvokeDeploymentRequest2CacheControl$Outbound = {
2833
2081
  type: string;
@@ -2853,33 +2101,7 @@ export function invokeDeploymentRequest2CacheControlToJSON(
2853
2101
  ),
2854
2102
  );
2855
2103
  }
2856
- export function invokeDeploymentRequest2CacheControlFromJSON(
2857
- jsonString: string,
2858
- ): SafeParseResult<InvokeDeploymentRequest2CacheControl, SDKValidationError> {
2859
- return safeParse(
2860
- jsonString,
2861
- (x) =>
2862
- InvokeDeploymentRequest2CacheControl$inboundSchema.parse(JSON.parse(x)),
2863
- `Failed to parse 'InvokeDeploymentRequest2CacheControl' from JSON`,
2864
- );
2865
- }
2866
2104
 
2867
- /** @internal */
2868
- export const InvokeDeploymentRequest24$inboundSchema: z.ZodType<
2869
- InvokeDeploymentRequest24,
2870
- z.ZodTypeDef,
2871
- unknown
2872
- > = z.object({
2873
- type: z.literal("file"),
2874
- cache_control: z.lazy(() =>
2875
- InvokeDeploymentRequest2CacheControl$inboundSchema
2876
- ).optional(),
2877
- file: FileContentPartSchema$inboundSchema,
2878
- }).transform((v) => {
2879
- return remap$(v, {
2880
- "cache_control": "cacheControl",
2881
- });
2882
- });
2883
2105
  /** @internal */
2884
2106
  export type InvokeDeploymentRequest24$Outbound = {
2885
2107
  type: "file";
@@ -2911,29 +2133,7 @@ export function invokeDeploymentRequest24ToJSON(
2911
2133
  InvokeDeploymentRequest24$outboundSchema.parse(invokeDeploymentRequest24),
2912
2134
  );
2913
2135
  }
2914
- export function invokeDeploymentRequest24FromJSON(
2915
- jsonString: string,
2916
- ): SafeParseResult<InvokeDeploymentRequest24, SDKValidationError> {
2917
- return safeParse(
2918
- jsonString,
2919
- (x) => InvokeDeploymentRequest24$inboundSchema.parse(JSON.parse(x)),
2920
- `Failed to parse 'InvokeDeploymentRequest24' from JSON`,
2921
- );
2922
- }
2923
2136
 
2924
- /** @internal */
2925
- export const InvokeDeploymentRequestContentMessages2$inboundSchema: z.ZodType<
2926
- InvokeDeploymentRequestContentMessages2,
2927
- z.ZodTypeDef,
2928
- unknown
2929
- > = z.union([
2930
- TextContentPartSchema$inboundSchema.and(
2931
- z.object({ type: z.literal("text") }),
2932
- ),
2933
- ImageContentPartSchema$inboundSchema,
2934
- AudioContentPartSchema$inboundSchema,
2935
- z.lazy(() => InvokeDeploymentRequest24$inboundSchema),
2936
- ]);
2937
2137
  /** @internal */
2938
2138
  export type InvokeDeploymentRequestContentMessages2$Outbound =
2939
2139
  | (TextContentPartSchema$Outbound & { type: "text" })
@@ -2965,40 +2165,7 @@ export function invokeDeploymentRequestContentMessages2ToJSON(
2965
2165
  ),
2966
2166
  );
2967
2167
  }
2968
- export function invokeDeploymentRequestContentMessages2FromJSON(
2969
- jsonString: string,
2970
- ): SafeParseResult<
2971
- InvokeDeploymentRequestContentMessages2,
2972
- SDKValidationError
2973
- > {
2974
- return safeParse(
2975
- jsonString,
2976
- (x) =>
2977
- InvokeDeploymentRequestContentMessages2$inboundSchema.parse(
2978
- JSON.parse(x),
2979
- ),
2980
- `Failed to parse 'InvokeDeploymentRequestContentMessages2' from JSON`,
2981
- );
2982
- }
2983
2168
 
2984
- /** @internal */
2985
- export const InvokeDeploymentRequestMessages3Content$inboundSchema: z.ZodType<
2986
- InvokeDeploymentRequestMessages3Content,
2987
- z.ZodTypeDef,
2988
- unknown
2989
- > = z.union([
2990
- z.string(),
2991
- z.array(
2992
- z.union([
2993
- TextContentPartSchema$inboundSchema.and(
2994
- z.object({ type: z.literal("text") }),
2995
- ),
2996
- ImageContentPartSchema$inboundSchema,
2997
- AudioContentPartSchema$inboundSchema,
2998
- z.lazy(() => InvokeDeploymentRequest24$inboundSchema),
2999
- ]),
3000
- ),
3001
- ]);
3002
2169
  /** @internal */
3003
2170
  export type InvokeDeploymentRequestMessages3Content$Outbound =
3004
2171
  | string
@@ -3038,44 +2205,7 @@ export function invokeDeploymentRequestMessages3ContentToJSON(
3038
2205
  ),
3039
2206
  );
3040
2207
  }
3041
- export function invokeDeploymentRequestMessages3ContentFromJSON(
3042
- jsonString: string,
3043
- ): SafeParseResult<
3044
- InvokeDeploymentRequestMessages3Content,
3045
- SDKValidationError
3046
- > {
3047
- return safeParse(
3048
- jsonString,
3049
- (x) =>
3050
- InvokeDeploymentRequestMessages3Content$inboundSchema.parse(
3051
- JSON.parse(x),
3052
- ),
3053
- `Failed to parse 'InvokeDeploymentRequestMessages3Content' from JSON`,
3054
- );
3055
- }
3056
2208
 
3057
- /** @internal */
3058
- export const MessagesUserMessage$inboundSchema: z.ZodType<
3059
- MessagesUserMessage,
3060
- z.ZodTypeDef,
3061
- unknown
3062
- > = z.object({
3063
- role: z.literal("user"),
3064
- name: z.string().optional(),
3065
- content: z.union([
3066
- z.string(),
3067
- z.array(
3068
- z.union([
3069
- TextContentPartSchema$inboundSchema.and(
3070
- z.object({ type: z.literal("text") }),
3071
- ),
3072
- ImageContentPartSchema$inboundSchema,
3073
- AudioContentPartSchema$inboundSchema,
3074
- z.lazy(() => InvokeDeploymentRequest24$inboundSchema),
3075
- ]),
3076
- ),
3077
- ]),
3078
- });
3079
2209
  /** @internal */
3080
2210
  export type MessagesUserMessage$Outbound = {
3081
2211
  role: "user";
@@ -3120,22 +2250,7 @@ export function messagesUserMessageToJSON(
3120
2250
  MessagesUserMessage$outboundSchema.parse(messagesUserMessage),
3121
2251
  );
3122
2252
  }
3123
- export function messagesUserMessageFromJSON(
3124
- jsonString: string,
3125
- ): SafeParseResult<MessagesUserMessage, SDKValidationError> {
3126
- return safeParse(
3127
- jsonString,
3128
- (x) => MessagesUserMessage$inboundSchema.parse(JSON.parse(x)),
3129
- `Failed to parse 'MessagesUserMessage' from JSON`,
3130
- );
3131
- }
3132
2253
 
3133
- /** @internal */
3134
- export const InvokeDeploymentRequestMessagesContent$inboundSchema: z.ZodType<
3135
- InvokeDeploymentRequestMessagesContent,
3136
- z.ZodTypeDef,
3137
- unknown
3138
- > = z.union([z.string(), z.array(TextContentPartSchema$inboundSchema)]);
3139
2254
  /** @internal */
3140
2255
  export type InvokeDeploymentRequestMessagesContent$Outbound =
3141
2256
  | string
@@ -3158,27 +2273,7 @@ export function invokeDeploymentRequestMessagesContentToJSON(
3158
2273
  ),
3159
2274
  );
3160
2275
  }
3161
- export function invokeDeploymentRequestMessagesContentFromJSON(
3162
- jsonString: string,
3163
- ): SafeParseResult<InvokeDeploymentRequestMessagesContent, SDKValidationError> {
3164
- return safeParse(
3165
- jsonString,
3166
- (x) =>
3167
- InvokeDeploymentRequestMessagesContent$inboundSchema.parse(JSON.parse(x)),
3168
- `Failed to parse 'InvokeDeploymentRequestMessagesContent' from JSON`,
3169
- );
3170
- }
3171
2276
 
3172
- /** @internal */
3173
- export const MessagesDeveloperMessage$inboundSchema: z.ZodType<
3174
- MessagesDeveloperMessage,
3175
- z.ZodTypeDef,
3176
- unknown
3177
- > = z.object({
3178
- role: z.literal("developer"),
3179
- content: z.union([z.string(), z.array(TextContentPartSchema$inboundSchema)]),
3180
- name: z.string().optional(),
3181
- });
3182
2277
  /** @internal */
3183
2278
  export type MessagesDeveloperMessage$Outbound = {
3184
2279
  role: "developer";
@@ -3204,22 +2299,7 @@ export function messagesDeveloperMessageToJSON(
3204
2299
  MessagesDeveloperMessage$outboundSchema.parse(messagesDeveloperMessage),
3205
2300
  );
3206
2301
  }
3207
- export function messagesDeveloperMessageFromJSON(
3208
- jsonString: string,
3209
- ): SafeParseResult<MessagesDeveloperMessage, SDKValidationError> {
3210
- return safeParse(
3211
- jsonString,
3212
- (x) => MessagesDeveloperMessage$inboundSchema.parse(JSON.parse(x)),
3213
- `Failed to parse 'MessagesDeveloperMessage' from JSON`,
3214
- );
3215
- }
3216
2302
 
3217
- /** @internal */
3218
- export const MessagesContent$inboundSchema: z.ZodType<
3219
- MessagesContent,
3220
- z.ZodTypeDef,
3221
- unknown
3222
- > = z.union([z.string(), z.array(TextContentPartSchema$inboundSchema)]);
3223
2303
  /** @internal */
3224
2304
  export type MessagesContent$Outbound =
3225
2305
  | string
@@ -3237,26 +2317,7 @@ export function messagesContentToJSON(
3237
2317
  ): string {
3238
2318
  return JSON.stringify(MessagesContent$outboundSchema.parse(messagesContent));
3239
2319
  }
3240
- export function messagesContentFromJSON(
3241
- jsonString: string,
3242
- ): SafeParseResult<MessagesContent, SDKValidationError> {
3243
- return safeParse(
3244
- jsonString,
3245
- (x) => MessagesContent$inboundSchema.parse(JSON.parse(x)),
3246
- `Failed to parse 'MessagesContent' from JSON`,
3247
- );
3248
- }
3249
2320
 
3250
- /** @internal */
3251
- export const MessagesSystemMessage$inboundSchema: z.ZodType<
3252
- MessagesSystemMessage,
3253
- z.ZodTypeDef,
3254
- unknown
3255
- > = z.object({
3256
- role: z.literal("system"),
3257
- content: z.union([z.string(), z.array(TextContentPartSchema$inboundSchema)]),
3258
- name: z.string().optional(),
3259
- });
3260
2321
  /** @internal */
3261
2322
  export type MessagesSystemMessage$Outbound = {
3262
2323
  role: "system";
@@ -3282,28 +2343,7 @@ export function messagesSystemMessageToJSON(
3282
2343
  MessagesSystemMessage$outboundSchema.parse(messagesSystemMessage),
3283
2344
  );
3284
2345
  }
3285
- export function messagesSystemMessageFromJSON(
3286
- jsonString: string,
3287
- ): SafeParseResult<MessagesSystemMessage, SDKValidationError> {
3288
- return safeParse(
3289
- jsonString,
3290
- (x) => MessagesSystemMessage$inboundSchema.parse(JSON.parse(x)),
3291
- `Failed to parse 'MessagesSystemMessage' from JSON`,
3292
- );
3293
- }
3294
2346
 
3295
- /** @internal */
3296
- export const Messages$inboundSchema: z.ZodType<
3297
- Messages,
3298
- z.ZodTypeDef,
3299
- unknown
3300
- > = z.union([
3301
- z.lazy(() => MessagesSystemMessage$inboundSchema),
3302
- z.lazy(() => MessagesDeveloperMessage$inboundSchema),
3303
- z.lazy(() => MessagesUserMessage$inboundSchema),
3304
- z.lazy(() => MessagesAssistantMessage$inboundSchema),
3305
- z.lazy(() => MessagesToolMessage$inboundSchema),
3306
- ]);
3307
2347
  /** @internal */
3308
2348
  export type Messages$Outbound =
3309
2349
  | MessagesSystemMessage$Outbound
@@ -3328,32 +2368,7 @@ export const Messages$outboundSchema: z.ZodType<
3328
2368
  export function messagesToJSON(messages: Messages): string {
3329
2369
  return JSON.stringify(Messages$outboundSchema.parse(messages));
3330
2370
  }
3331
- export function messagesFromJSON(
3332
- jsonString: string,
3333
- ): SafeParseResult<Messages, SDKValidationError> {
3334
- return safeParse(
3335
- jsonString,
3336
- (x) => Messages$inboundSchema.parse(JSON.parse(x)),
3337
- `Failed to parse 'Messages' from JSON`,
3338
- );
3339
- }
3340
2371
 
3341
- /** @internal */
3342
- export const InvokeDeploymentRequestMetadata$inboundSchema: z.ZodType<
3343
- InvokeDeploymentRequestMetadata,
3344
- z.ZodTypeDef,
3345
- unknown
3346
- > = z.object({
3347
- file_name: z.string().optional(),
3348
- file_type: z.string().optional(),
3349
- page_number: z.number().optional(),
3350
- }).transform((v) => {
3351
- return remap$(v, {
3352
- "file_name": "fileName",
3353
- "file_type": "fileType",
3354
- "page_number": "pageNumber",
3355
- });
3356
- });
3357
2372
  /** @internal */
3358
2373
  export type InvokeDeploymentRequestMetadata$Outbound = {
3359
2374
  file_name?: string | undefined;
@@ -3387,26 +2402,7 @@ export function invokeDeploymentRequestMetadataToJSON(
3387
2402
  ),
3388
2403
  );
3389
2404
  }
3390
- export function invokeDeploymentRequestMetadataFromJSON(
3391
- jsonString: string,
3392
- ): SafeParseResult<InvokeDeploymentRequestMetadata, SDKValidationError> {
3393
- return safeParse(
3394
- jsonString,
3395
- (x) => InvokeDeploymentRequestMetadata$inboundSchema.parse(JSON.parse(x)),
3396
- `Failed to parse 'InvokeDeploymentRequestMetadata' from JSON`,
3397
- );
3398
- }
3399
2405
 
3400
- /** @internal */
3401
- export const Documents$inboundSchema: z.ZodType<
3402
- Documents,
3403
- z.ZodTypeDef,
3404
- unknown
3405
- > = z.object({
3406
- text: z.string(),
3407
- metadata: z.lazy(() => InvokeDeploymentRequestMetadata$inboundSchema)
3408
- .optional(),
3409
- });
3410
2406
  /** @internal */
3411
2407
  export type Documents$Outbound = {
3412
2408
  text: string;
@@ -3427,32 +2423,7 @@ export const Documents$outboundSchema: z.ZodType<
3427
2423
  export function documentsToJSON(documents: Documents): string {
3428
2424
  return JSON.stringify(Documents$outboundSchema.parse(documents));
3429
2425
  }
3430
- export function documentsFromJSON(
3431
- jsonString: string,
3432
- ): SafeParseResult<Documents, SDKValidationError> {
3433
- return safeParse(
3434
- jsonString,
3435
- (x) => Documents$inboundSchema.parse(JSON.parse(x)),
3436
- `Failed to parse 'Documents' from JSON`,
3437
- );
3438
- }
3439
2426
 
3440
- /** @internal */
3441
- export const InvokeOptions$inboundSchema: z.ZodType<
3442
- InvokeOptions,
3443
- z.ZodTypeDef,
3444
- unknown
3445
- > = z.object({
3446
- include_retrievals: z.boolean().default(false),
3447
- include_usage: z.boolean().default(false),
3448
- mock_response: z.string().optional(),
3449
- }).transform((v) => {
3450
- return remap$(v, {
3451
- "include_retrievals": "includeRetrievals",
3452
- "include_usage": "includeUsage",
3453
- "mock_response": "mockResponse",
3454
- });
3455
- });
3456
2427
  /** @internal */
3457
2428
  export type InvokeOptions$Outbound = {
3458
2429
  include_retrievals: boolean;
@@ -3480,22 +2451,7 @@ export const InvokeOptions$outboundSchema: z.ZodType<
3480
2451
  export function invokeOptionsToJSON(invokeOptions: InvokeOptions): string {
3481
2452
  return JSON.stringify(InvokeOptions$outboundSchema.parse(invokeOptions));
3482
2453
  }
3483
- export function invokeOptionsFromJSON(
3484
- jsonString: string,
3485
- ): SafeParseResult<InvokeOptions, SDKValidationError> {
3486
- return safeParse(
3487
- jsonString,
3488
- (x) => InvokeOptions$inboundSchema.parse(JSON.parse(x)),
3489
- `Failed to parse 'InvokeOptions' from JSON`,
3490
- );
3491
- }
3492
2454
 
3493
- /** @internal */
3494
- export const Thread$inboundSchema: z.ZodType<Thread, z.ZodTypeDef, unknown> = z
3495
- .object({
3496
- id: z.string(),
3497
- tags: z.array(z.string()).optional(),
3498
- });
3499
2455
  /** @internal */
3500
2456
  export type Thread$Outbound = {
3501
2457
  id: string;
@@ -3515,24 +2471,7 @@ export const Thread$outboundSchema: z.ZodType<
3515
2471
  export function threadToJSON(thread: Thread): string {
3516
2472
  return JSON.stringify(Thread$outboundSchema.parse(thread));
3517
2473
  }
3518
- export function threadFromJSON(
3519
- jsonString: string,
3520
- ): SafeParseResult<Thread, SDKValidationError> {
3521
- return safeParse(
3522
- jsonString,
3523
- (x) => Thread$inboundSchema.parse(JSON.parse(x)),
3524
- `Failed to parse 'Thread' from JSON`,
3525
- );
3526
- }
3527
2474
 
3528
- /** @internal */
3529
- export const OrExists$inboundSchema: z.ZodType<
3530
- OrExists,
3531
- z.ZodTypeDef,
3532
- unknown
3533
- > = z.object({
3534
- exists: z.boolean(),
3535
- });
3536
2475
  /** @internal */
3537
2476
  export type OrExists$Outbound = {
3538
2477
  exists: boolean;
@@ -3550,19 +2489,7 @@ export const OrExists$outboundSchema: z.ZodType<
3550
2489
  export function orExistsToJSON(orExists: OrExists): string {
3551
2490
  return JSON.stringify(OrExists$outboundSchema.parse(orExists));
3552
2491
  }
3553
- export function orExistsFromJSON(
3554
- jsonString: string,
3555
- ): SafeParseResult<OrExists, SDKValidationError> {
3556
- return safeParse(
3557
- jsonString,
3558
- (x) => OrExists$inboundSchema.parse(JSON.parse(x)),
3559
- `Failed to parse 'OrExists' from JSON`,
3560
- );
3561
- }
3562
2492
 
3563
- /** @internal */
3564
- export const OrNin$inboundSchema: z.ZodType<OrNin, z.ZodTypeDef, unknown> = z
3565
- .union([z.string(), z.number(), z.boolean()]);
3566
2493
  /** @internal */
3567
2494
  export type OrNin$Outbound = string | number | boolean;
3568
2495
 
@@ -3576,24 +2503,7 @@ export const OrNin$outboundSchema: z.ZodType<
3576
2503
  export function orNinToJSON(orNin: OrNin): string {
3577
2504
  return JSON.stringify(OrNin$outboundSchema.parse(orNin));
3578
2505
  }
3579
- export function orNinFromJSON(
3580
- jsonString: string,
3581
- ): SafeParseResult<OrNin, SDKValidationError> {
3582
- return safeParse(
3583
- jsonString,
3584
- (x) => OrNin$inboundSchema.parse(JSON.parse(x)),
3585
- `Failed to parse 'OrNin' from JSON`,
3586
- );
3587
- }
3588
2506
 
3589
- /** @internal */
3590
- export const InvokeDeploymentRequestOrNin$inboundSchema: z.ZodType<
3591
- InvokeDeploymentRequestOrNin,
3592
- z.ZodTypeDef,
3593
- unknown
3594
- > = z.object({
3595
- nin: z.array(z.union([z.string(), z.number(), z.boolean()])),
3596
- });
3597
2507
  /** @internal */
3598
2508
  export type InvokeDeploymentRequestOrNin$Outbound = {
3599
2509
  nin: Array<string | number | boolean>;
@@ -3617,19 +2527,7 @@ export function invokeDeploymentRequestOrNinToJSON(
3617
2527
  ),
3618
2528
  );
3619
2529
  }
3620
- export function invokeDeploymentRequestOrNinFromJSON(
3621
- jsonString: string,
3622
- ): SafeParseResult<InvokeDeploymentRequestOrNin, SDKValidationError> {
3623
- return safeParse(
3624
- jsonString,
3625
- (x) => InvokeDeploymentRequestOrNin$inboundSchema.parse(JSON.parse(x)),
3626
- `Failed to parse 'InvokeDeploymentRequestOrNin' from JSON`,
3627
- );
3628
- }
3629
2530
 
3630
- /** @internal */
3631
- export const OrIn$inboundSchema: z.ZodType<OrIn, z.ZodTypeDef, unknown> = z
3632
- .union([z.string(), z.number(), z.boolean()]);
3633
2531
  /** @internal */
3634
2532
  export type OrIn$Outbound = string | number | boolean;
3635
2533
 
@@ -3640,24 +2538,7 @@ export const OrIn$outboundSchema: z.ZodType<OrIn$Outbound, z.ZodTypeDef, OrIn> =
3640
2538
  export function orInToJSON(orIn: OrIn): string {
3641
2539
  return JSON.stringify(OrIn$outboundSchema.parse(orIn));
3642
2540
  }
3643
- export function orInFromJSON(
3644
- jsonString: string,
3645
- ): SafeParseResult<OrIn, SDKValidationError> {
3646
- return safeParse(
3647
- jsonString,
3648
- (x) => OrIn$inboundSchema.parse(JSON.parse(x)),
3649
- `Failed to parse 'OrIn' from JSON`,
3650
- );
3651
- }
3652
2541
 
3653
- /** @internal */
3654
- export const InvokeDeploymentRequestOrIn$inboundSchema: z.ZodType<
3655
- InvokeDeploymentRequestOrIn,
3656
- z.ZodTypeDef,
3657
- unknown
3658
- > = z.object({
3659
- in: z.array(z.union([z.string(), z.number(), z.boolean()])),
3660
- });
3661
2542
  /** @internal */
3662
2543
  export type InvokeDeploymentRequestOrIn$Outbound = {
3663
2544
  in: Array<string | number | boolean>;
@@ -3678,24 +2559,10 @@ export function invokeDeploymentRequestOrInToJSON(
3678
2559
  return JSON.stringify(
3679
2560
  InvokeDeploymentRequestOrIn$outboundSchema.parse(
3680
2561
  invokeDeploymentRequestOrIn,
3681
- ),
3682
- );
3683
- }
3684
- export function invokeDeploymentRequestOrInFromJSON(
3685
- jsonString: string,
3686
- ): SafeParseResult<InvokeDeploymentRequestOrIn, SDKValidationError> {
3687
- return safeParse(
3688
- jsonString,
3689
- (x) => InvokeDeploymentRequestOrIn$inboundSchema.parse(JSON.parse(x)),
3690
- `Failed to parse 'InvokeDeploymentRequestOrIn' from JSON`,
2562
+ ),
3691
2563
  );
3692
2564
  }
3693
2565
 
3694
- /** @internal */
3695
- export const OrLte$inboundSchema: z.ZodType<OrLte, z.ZodTypeDef, unknown> = z
3696
- .object({
3697
- lte: z.number(),
3698
- });
3699
2566
  /** @internal */
3700
2567
  export type OrLte$Outbound = {
3701
2568
  lte: number;
@@ -3713,21 +2580,7 @@ export const OrLte$outboundSchema: z.ZodType<
3713
2580
  export function orLteToJSON(orLte: OrLte): string {
3714
2581
  return JSON.stringify(OrLte$outboundSchema.parse(orLte));
3715
2582
  }
3716
- export function orLteFromJSON(
3717
- jsonString: string,
3718
- ): SafeParseResult<OrLte, SDKValidationError> {
3719
- return safeParse(
3720
- jsonString,
3721
- (x) => OrLte$inboundSchema.parse(JSON.parse(x)),
3722
- `Failed to parse 'OrLte' from JSON`,
3723
- );
3724
- }
3725
2583
 
3726
- /** @internal */
3727
- export const OrLt$inboundSchema: z.ZodType<OrLt, z.ZodTypeDef, unknown> = z
3728
- .object({
3729
- lt: z.number(),
3730
- });
3731
2584
  /** @internal */
3732
2585
  export type OrLt$Outbound = {
3733
2586
  lt: number;
@@ -3742,21 +2595,7 @@ export const OrLt$outboundSchema: z.ZodType<OrLt$Outbound, z.ZodTypeDef, OrLt> =
3742
2595
  export function orLtToJSON(orLt: OrLt): string {
3743
2596
  return JSON.stringify(OrLt$outboundSchema.parse(orLt));
3744
2597
  }
3745
- export function orLtFromJSON(
3746
- jsonString: string,
3747
- ): SafeParseResult<OrLt, SDKValidationError> {
3748
- return safeParse(
3749
- jsonString,
3750
- (x) => OrLt$inboundSchema.parse(JSON.parse(x)),
3751
- `Failed to parse 'OrLt' from JSON`,
3752
- );
3753
- }
3754
2598
 
3755
- /** @internal */
3756
- export const OrGte$inboundSchema: z.ZodType<OrGte, z.ZodTypeDef, unknown> = z
3757
- .object({
3758
- gte: z.number(),
3759
- });
3760
2599
  /** @internal */
3761
2600
  export type OrGte$Outbound = {
3762
2601
  gte: number;
@@ -3774,21 +2613,7 @@ export const OrGte$outboundSchema: z.ZodType<
3774
2613
  export function orGteToJSON(orGte: OrGte): string {
3775
2614
  return JSON.stringify(OrGte$outboundSchema.parse(orGte));
3776
2615
  }
3777
- export function orGteFromJSON(
3778
- jsonString: string,
3779
- ): SafeParseResult<OrGte, SDKValidationError> {
3780
- return safeParse(
3781
- jsonString,
3782
- (x) => OrGte$inboundSchema.parse(JSON.parse(x)),
3783
- `Failed to parse 'OrGte' from JSON`,
3784
- );
3785
- }
3786
2616
 
3787
- /** @internal */
3788
- export const OrGt$inboundSchema: z.ZodType<OrGt, z.ZodTypeDef, unknown> = z
3789
- .object({
3790
- gt: z.number(),
3791
- });
3792
2617
  /** @internal */
3793
2618
  export type OrGt$Outbound = {
3794
2619
  gt: number;
@@ -3803,19 +2628,7 @@ export const OrGt$outboundSchema: z.ZodType<OrGt$Outbound, z.ZodTypeDef, OrGt> =
3803
2628
  export function orGtToJSON(orGt: OrGt): string {
3804
2629
  return JSON.stringify(OrGt$outboundSchema.parse(orGt));
3805
2630
  }
3806
- export function orGtFromJSON(
3807
- jsonString: string,
3808
- ): SafeParseResult<OrGt, SDKValidationError> {
3809
- return safeParse(
3810
- jsonString,
3811
- (x) => OrGt$inboundSchema.parse(JSON.parse(x)),
3812
- `Failed to parse 'OrGt' from JSON`,
3813
- );
3814
- }
3815
2631
 
3816
- /** @internal */
3817
- export const OrNe$inboundSchema: z.ZodType<OrNe, z.ZodTypeDef, unknown> = z
3818
- .union([z.string(), z.number(), z.boolean()]);
3819
2632
  /** @internal */
3820
2633
  export type OrNe$Outbound = string | number | boolean;
3821
2634
 
@@ -3826,24 +2639,7 @@ export const OrNe$outboundSchema: z.ZodType<OrNe$Outbound, z.ZodTypeDef, OrNe> =
3826
2639
  export function orNeToJSON(orNe: OrNe): string {
3827
2640
  return JSON.stringify(OrNe$outboundSchema.parse(orNe));
3828
2641
  }
3829
- export function orNeFromJSON(
3830
- jsonString: string,
3831
- ): SafeParseResult<OrNe, SDKValidationError> {
3832
- return safeParse(
3833
- jsonString,
3834
- (x) => OrNe$inboundSchema.parse(JSON.parse(x)),
3835
- `Failed to parse 'OrNe' from JSON`,
3836
- );
3837
- }
3838
2642
 
3839
- /** @internal */
3840
- export const InvokeDeploymentRequestOrNe$inboundSchema: z.ZodType<
3841
- InvokeDeploymentRequestOrNe,
3842
- z.ZodTypeDef,
3843
- unknown
3844
- > = z.object({
3845
- ne: z.union([z.string(), z.number(), z.boolean()]),
3846
- });
3847
2643
  /** @internal */
3848
2644
  export type InvokeDeploymentRequestOrNe$Outbound = {
3849
2645
  ne: string | number | boolean;
@@ -3867,19 +2663,7 @@ export function invokeDeploymentRequestOrNeToJSON(
3867
2663
  ),
3868
2664
  );
3869
2665
  }
3870
- export function invokeDeploymentRequestOrNeFromJSON(
3871
- jsonString: string,
3872
- ): SafeParseResult<InvokeDeploymentRequestOrNe, SDKValidationError> {
3873
- return safeParse(
3874
- jsonString,
3875
- (x) => InvokeDeploymentRequestOrNe$inboundSchema.parse(JSON.parse(x)),
3876
- `Failed to parse 'InvokeDeploymentRequestOrNe' from JSON`,
3877
- );
3878
- }
3879
2666
 
3880
- /** @internal */
3881
- export const OrEq$inboundSchema: z.ZodType<OrEq, z.ZodTypeDef, unknown> = z
3882
- .union([z.string(), z.number(), z.boolean()]);
3883
2667
  /** @internal */
3884
2668
  export type OrEq$Outbound = string | number | boolean;
3885
2669
 
@@ -3890,24 +2674,7 @@ export const OrEq$outboundSchema: z.ZodType<OrEq$Outbound, z.ZodTypeDef, OrEq> =
3890
2674
  export function orEqToJSON(orEq: OrEq): string {
3891
2675
  return JSON.stringify(OrEq$outboundSchema.parse(orEq));
3892
2676
  }
3893
- export function orEqFromJSON(
3894
- jsonString: string,
3895
- ): SafeParseResult<OrEq, SDKValidationError> {
3896
- return safeParse(
3897
- jsonString,
3898
- (x) => OrEq$inboundSchema.parse(JSON.parse(x)),
3899
- `Failed to parse 'OrEq' from JSON`,
3900
- );
3901
- }
3902
2677
 
3903
- /** @internal */
3904
- export const InvokeDeploymentRequestOrEq$inboundSchema: z.ZodType<
3905
- InvokeDeploymentRequestOrEq,
3906
- z.ZodTypeDef,
3907
- unknown
3908
- > = z.object({
3909
- eq: z.union([z.string(), z.number(), z.boolean()]),
3910
- });
3911
2678
  /** @internal */
3912
2679
  export type InvokeDeploymentRequestOrEq$Outbound = {
3913
2680
  eq: string | number | boolean;
@@ -3931,28 +2698,7 @@ export function invokeDeploymentRequestOrEqToJSON(
3931
2698
  ),
3932
2699
  );
3933
2700
  }
3934
- export function invokeDeploymentRequestOrEqFromJSON(
3935
- jsonString: string,
3936
- ): SafeParseResult<InvokeDeploymentRequestOrEq, SDKValidationError> {
3937
- return safeParse(
3938
- jsonString,
3939
- (x) => InvokeDeploymentRequestOrEq$inboundSchema.parse(JSON.parse(x)),
3940
- `Failed to parse 'InvokeDeploymentRequestOrEq' from JSON`,
3941
- );
3942
- }
3943
2701
 
3944
- /** @internal */
3945
- export const Or$inboundSchema: z.ZodType<Or, z.ZodTypeDef, unknown> = z.union([
3946
- z.lazy(() => InvokeDeploymentRequestOrEq$inboundSchema),
3947
- z.lazy(() => InvokeDeploymentRequestOrNe$inboundSchema),
3948
- z.lazy(() => OrGt$inboundSchema),
3949
- z.lazy(() => OrGte$inboundSchema),
3950
- z.lazy(() => OrLt$inboundSchema),
3951
- z.lazy(() => OrLte$inboundSchema),
3952
- z.lazy(() => InvokeDeploymentRequestOrIn$inboundSchema),
3953
- z.lazy(() => InvokeDeploymentRequestOrNin$inboundSchema),
3954
- z.lazy(() => OrExists$inboundSchema),
3955
- ]);
3956
2702
  /** @internal */
3957
2703
  export type Or$Outbound =
3958
2704
  | InvokeDeploymentRequestOrEq$Outbound
@@ -3982,38 +2728,7 @@ export const Or$outboundSchema: z.ZodType<Or$Outbound, z.ZodTypeDef, Or> = z
3982
2728
  export function orToJSON(or: Or): string {
3983
2729
  return JSON.stringify(Or$outboundSchema.parse(or));
3984
2730
  }
3985
- export function orFromJSON(
3986
- jsonString: string,
3987
- ): SafeParseResult<Or, SDKValidationError> {
3988
- return safeParse(
3989
- jsonString,
3990
- (x) => Or$inboundSchema.parse(JSON.parse(x)),
3991
- `Failed to parse 'Or' from JSON`,
3992
- );
3993
- }
3994
2731
 
3995
- /** @internal */
3996
- export const KnowledgeFilterOr$inboundSchema: z.ZodType<
3997
- KnowledgeFilterOr,
3998
- z.ZodTypeDef,
3999
- unknown
4000
- > = z.object({
4001
- or: z.array(
4002
- z.record(z.union([
4003
- z.lazy(() => InvokeDeploymentRequestOrEq$inboundSchema),
4004
- z.lazy(() =>
4005
- InvokeDeploymentRequestOrNe$inboundSchema
4006
- ),
4007
- z.lazy(() => OrGt$inboundSchema),
4008
- z.lazy(() => OrGte$inboundSchema),
4009
- z.lazy(() => OrLt$inboundSchema),
4010
- z.lazy(() => OrLte$inboundSchema),
4011
- z.lazy(() => InvokeDeploymentRequestOrIn$inboundSchema),
4012
- z.lazy(() => InvokeDeploymentRequestOrNin$inboundSchema),
4013
- z.lazy(() => OrExists$inboundSchema),
4014
- ])),
4015
- ),
4016
- });
4017
2732
  /** @internal */
4018
2733
  export type KnowledgeFilterOr$Outbound = {
4019
2734
  or: Array<
@@ -4062,24 +2777,7 @@ export function knowledgeFilterOrToJSON(
4062
2777
  KnowledgeFilterOr$outboundSchema.parse(knowledgeFilterOr),
4063
2778
  );
4064
2779
  }
4065
- export function knowledgeFilterOrFromJSON(
4066
- jsonString: string,
4067
- ): SafeParseResult<KnowledgeFilterOr, SDKValidationError> {
4068
- return safeParse(
4069
- jsonString,
4070
- (x) => KnowledgeFilterOr$inboundSchema.parse(JSON.parse(x)),
4071
- `Failed to parse 'KnowledgeFilterOr' from JSON`,
4072
- );
4073
- }
4074
2780
 
4075
- /** @internal */
4076
- export const AndExists$inboundSchema: z.ZodType<
4077
- AndExists,
4078
- z.ZodTypeDef,
4079
- unknown
4080
- > = z.object({
4081
- exists: z.boolean(),
4082
- });
4083
2781
  /** @internal */
4084
2782
  export type AndExists$Outbound = {
4085
2783
  exists: boolean;
@@ -4097,19 +2795,7 @@ export const AndExists$outboundSchema: z.ZodType<
4097
2795
  export function andExistsToJSON(andExists: AndExists): string {
4098
2796
  return JSON.stringify(AndExists$outboundSchema.parse(andExists));
4099
2797
  }
4100
- export function andExistsFromJSON(
4101
- jsonString: string,
4102
- ): SafeParseResult<AndExists, SDKValidationError> {
4103
- return safeParse(
4104
- jsonString,
4105
- (x) => AndExists$inboundSchema.parse(JSON.parse(x)),
4106
- `Failed to parse 'AndExists' from JSON`,
4107
- );
4108
- }
4109
2798
 
4110
- /** @internal */
4111
- export const AndNin$inboundSchema: z.ZodType<AndNin, z.ZodTypeDef, unknown> = z
4112
- .union([z.string(), z.number(), z.boolean()]);
4113
2799
  /** @internal */
4114
2800
  export type AndNin$Outbound = string | number | boolean;
4115
2801
 
@@ -4123,24 +2809,7 @@ export const AndNin$outboundSchema: z.ZodType<
4123
2809
  export function andNinToJSON(andNin: AndNin): string {
4124
2810
  return JSON.stringify(AndNin$outboundSchema.parse(andNin));
4125
2811
  }
4126
- export function andNinFromJSON(
4127
- jsonString: string,
4128
- ): SafeParseResult<AndNin, SDKValidationError> {
4129
- return safeParse(
4130
- jsonString,
4131
- (x) => AndNin$inboundSchema.parse(JSON.parse(x)),
4132
- `Failed to parse 'AndNin' from JSON`,
4133
- );
4134
- }
4135
2812
 
4136
- /** @internal */
4137
- export const InvokeDeploymentRequestAndNin$inboundSchema: z.ZodType<
4138
- InvokeDeploymentRequestAndNin,
4139
- z.ZodTypeDef,
4140
- unknown
4141
- > = z.object({
4142
- nin: z.array(z.union([z.string(), z.number(), z.boolean()])),
4143
- });
4144
2813
  /** @internal */
4145
2814
  export type InvokeDeploymentRequestAndNin$Outbound = {
4146
2815
  nin: Array<string | number | boolean>;
@@ -4164,19 +2833,7 @@ export function invokeDeploymentRequestAndNinToJSON(
4164
2833
  ),
4165
2834
  );
4166
2835
  }
4167
- export function invokeDeploymentRequestAndNinFromJSON(
4168
- jsonString: string,
4169
- ): SafeParseResult<InvokeDeploymentRequestAndNin, SDKValidationError> {
4170
- return safeParse(
4171
- jsonString,
4172
- (x) => InvokeDeploymentRequestAndNin$inboundSchema.parse(JSON.parse(x)),
4173
- `Failed to parse 'InvokeDeploymentRequestAndNin' from JSON`,
4174
- );
4175
- }
4176
2836
 
4177
- /** @internal */
4178
- export const AndIn$inboundSchema: z.ZodType<AndIn, z.ZodTypeDef, unknown> = z
4179
- .union([z.string(), z.number(), z.boolean()]);
4180
2837
  /** @internal */
4181
2838
  export type AndIn$Outbound = string | number | boolean;
4182
2839
 
@@ -4190,24 +2847,7 @@ export const AndIn$outboundSchema: z.ZodType<
4190
2847
  export function andInToJSON(andIn: AndIn): string {
4191
2848
  return JSON.stringify(AndIn$outboundSchema.parse(andIn));
4192
2849
  }
4193
- export function andInFromJSON(
4194
- jsonString: string,
4195
- ): SafeParseResult<AndIn, SDKValidationError> {
4196
- return safeParse(
4197
- jsonString,
4198
- (x) => AndIn$inboundSchema.parse(JSON.parse(x)),
4199
- `Failed to parse 'AndIn' from JSON`,
4200
- );
4201
- }
4202
2850
 
4203
- /** @internal */
4204
- export const InvokeDeploymentRequestAndIn$inboundSchema: z.ZodType<
4205
- InvokeDeploymentRequestAndIn,
4206
- z.ZodTypeDef,
4207
- unknown
4208
- > = z.object({
4209
- in: z.array(z.union([z.string(), z.number(), z.boolean()])),
4210
- });
4211
2851
  /** @internal */
4212
2852
  export type InvokeDeploymentRequestAndIn$Outbound = {
4213
2853
  in: Array<string | number | boolean>;
@@ -4231,21 +2871,7 @@ export function invokeDeploymentRequestAndInToJSON(
4231
2871
  ),
4232
2872
  );
4233
2873
  }
4234
- export function invokeDeploymentRequestAndInFromJSON(
4235
- jsonString: string,
4236
- ): SafeParseResult<InvokeDeploymentRequestAndIn, SDKValidationError> {
4237
- return safeParse(
4238
- jsonString,
4239
- (x) => InvokeDeploymentRequestAndIn$inboundSchema.parse(JSON.parse(x)),
4240
- `Failed to parse 'InvokeDeploymentRequestAndIn' from JSON`,
4241
- );
4242
- }
4243
2874
 
4244
- /** @internal */
4245
- export const AndLte$inboundSchema: z.ZodType<AndLte, z.ZodTypeDef, unknown> = z
4246
- .object({
4247
- lte: z.number(),
4248
- });
4249
2875
  /** @internal */
4250
2876
  export type AndLte$Outbound = {
4251
2877
  lte: number;
@@ -4263,21 +2889,7 @@ export const AndLte$outboundSchema: z.ZodType<
4263
2889
  export function andLteToJSON(andLte: AndLte): string {
4264
2890
  return JSON.stringify(AndLte$outboundSchema.parse(andLte));
4265
2891
  }
4266
- export function andLteFromJSON(
4267
- jsonString: string,
4268
- ): SafeParseResult<AndLte, SDKValidationError> {
4269
- return safeParse(
4270
- jsonString,
4271
- (x) => AndLte$inboundSchema.parse(JSON.parse(x)),
4272
- `Failed to parse 'AndLte' from JSON`,
4273
- );
4274
- }
4275
2892
 
4276
- /** @internal */
4277
- export const AndLt$inboundSchema: z.ZodType<AndLt, z.ZodTypeDef, unknown> = z
4278
- .object({
4279
- lt: z.number(),
4280
- });
4281
2893
  /** @internal */
4282
2894
  export type AndLt$Outbound = {
4283
2895
  lt: number;
@@ -4295,21 +2907,7 @@ export const AndLt$outboundSchema: z.ZodType<
4295
2907
  export function andLtToJSON(andLt: AndLt): string {
4296
2908
  return JSON.stringify(AndLt$outboundSchema.parse(andLt));
4297
2909
  }
4298
- export function andLtFromJSON(
4299
- jsonString: string,
4300
- ): SafeParseResult<AndLt, SDKValidationError> {
4301
- return safeParse(
4302
- jsonString,
4303
- (x) => AndLt$inboundSchema.parse(JSON.parse(x)),
4304
- `Failed to parse 'AndLt' from JSON`,
4305
- );
4306
- }
4307
2910
 
4308
- /** @internal */
4309
- export const AndGte$inboundSchema: z.ZodType<AndGte, z.ZodTypeDef, unknown> = z
4310
- .object({
4311
- gte: z.number(),
4312
- });
4313
2911
  /** @internal */
4314
2912
  export type AndGte$Outbound = {
4315
2913
  gte: number;
@@ -4327,21 +2925,7 @@ export const AndGte$outboundSchema: z.ZodType<
4327
2925
  export function andGteToJSON(andGte: AndGte): string {
4328
2926
  return JSON.stringify(AndGte$outboundSchema.parse(andGte));
4329
2927
  }
4330
- export function andGteFromJSON(
4331
- jsonString: string,
4332
- ): SafeParseResult<AndGte, SDKValidationError> {
4333
- return safeParse(
4334
- jsonString,
4335
- (x) => AndGte$inboundSchema.parse(JSON.parse(x)),
4336
- `Failed to parse 'AndGte' from JSON`,
4337
- );
4338
- }
4339
2928
 
4340
- /** @internal */
4341
- export const AndGt$inboundSchema: z.ZodType<AndGt, z.ZodTypeDef, unknown> = z
4342
- .object({
4343
- gt: z.number(),
4344
- });
4345
2929
  /** @internal */
4346
2930
  export type AndGt$Outbound = {
4347
2931
  gt: number;
@@ -4359,19 +2943,7 @@ export const AndGt$outboundSchema: z.ZodType<
4359
2943
  export function andGtToJSON(andGt: AndGt): string {
4360
2944
  return JSON.stringify(AndGt$outboundSchema.parse(andGt));
4361
2945
  }
4362
- export function andGtFromJSON(
4363
- jsonString: string,
4364
- ): SafeParseResult<AndGt, SDKValidationError> {
4365
- return safeParse(
4366
- jsonString,
4367
- (x) => AndGt$inboundSchema.parse(JSON.parse(x)),
4368
- `Failed to parse 'AndGt' from JSON`,
4369
- );
4370
- }
4371
2946
 
4372
- /** @internal */
4373
- export const AndNe$inboundSchema: z.ZodType<AndNe, z.ZodTypeDef, unknown> = z
4374
- .union([z.string(), z.number(), z.boolean()]);
4375
2947
  /** @internal */
4376
2948
  export type AndNe$Outbound = string | number | boolean;
4377
2949
 
@@ -4385,24 +2957,7 @@ export const AndNe$outboundSchema: z.ZodType<
4385
2957
  export function andNeToJSON(andNe: AndNe): string {
4386
2958
  return JSON.stringify(AndNe$outboundSchema.parse(andNe));
4387
2959
  }
4388
- export function andNeFromJSON(
4389
- jsonString: string,
4390
- ): SafeParseResult<AndNe, SDKValidationError> {
4391
- return safeParse(
4392
- jsonString,
4393
- (x) => AndNe$inboundSchema.parse(JSON.parse(x)),
4394
- `Failed to parse 'AndNe' from JSON`,
4395
- );
4396
- }
4397
2960
 
4398
- /** @internal */
4399
- export const InvokeDeploymentRequestAndNe$inboundSchema: z.ZodType<
4400
- InvokeDeploymentRequestAndNe,
4401
- z.ZodTypeDef,
4402
- unknown
4403
- > = z.object({
4404
- ne: z.union([z.string(), z.number(), z.boolean()]),
4405
- });
4406
2961
  /** @internal */
4407
2962
  export type InvokeDeploymentRequestAndNe$Outbound = {
4408
2963
  ne: string | number | boolean;
@@ -4426,19 +2981,7 @@ export function invokeDeploymentRequestAndNeToJSON(
4426
2981
  ),
4427
2982
  );
4428
2983
  }
4429
- export function invokeDeploymentRequestAndNeFromJSON(
4430
- jsonString: string,
4431
- ): SafeParseResult<InvokeDeploymentRequestAndNe, SDKValidationError> {
4432
- return safeParse(
4433
- jsonString,
4434
- (x) => InvokeDeploymentRequestAndNe$inboundSchema.parse(JSON.parse(x)),
4435
- `Failed to parse 'InvokeDeploymentRequestAndNe' from JSON`,
4436
- );
4437
- }
4438
2984
 
4439
- /** @internal */
4440
- export const AndEq$inboundSchema: z.ZodType<AndEq, z.ZodTypeDef, unknown> = z
4441
- .union([z.string(), z.number(), z.boolean()]);
4442
2985
  /** @internal */
4443
2986
  export type AndEq$Outbound = string | number | boolean;
4444
2987
 
@@ -4452,24 +2995,7 @@ export const AndEq$outboundSchema: z.ZodType<
4452
2995
  export function andEqToJSON(andEq: AndEq): string {
4453
2996
  return JSON.stringify(AndEq$outboundSchema.parse(andEq));
4454
2997
  }
4455
- export function andEqFromJSON(
4456
- jsonString: string,
4457
- ): SafeParseResult<AndEq, SDKValidationError> {
4458
- return safeParse(
4459
- jsonString,
4460
- (x) => AndEq$inboundSchema.parse(JSON.parse(x)),
4461
- `Failed to parse 'AndEq' from JSON`,
4462
- );
4463
- }
4464
2998
 
4465
- /** @internal */
4466
- export const InvokeDeploymentRequestAndEq$inboundSchema: z.ZodType<
4467
- InvokeDeploymentRequestAndEq,
4468
- z.ZodTypeDef,
4469
- unknown
4470
- > = z.object({
4471
- eq: z.union([z.string(), z.number(), z.boolean()]),
4472
- });
4473
2999
  /** @internal */
4474
3000
  export type InvokeDeploymentRequestAndEq$Outbound = {
4475
3001
  eq: string | number | boolean;
@@ -4493,30 +3019,7 @@ export function invokeDeploymentRequestAndEqToJSON(
4493
3019
  ),
4494
3020
  );
4495
3021
  }
4496
- export function invokeDeploymentRequestAndEqFromJSON(
4497
- jsonString: string,
4498
- ): SafeParseResult<InvokeDeploymentRequestAndEq, SDKValidationError> {
4499
- return safeParse(
4500
- jsonString,
4501
- (x) => InvokeDeploymentRequestAndEq$inboundSchema.parse(JSON.parse(x)),
4502
- `Failed to parse 'InvokeDeploymentRequestAndEq' from JSON`,
4503
- );
4504
- }
4505
3022
 
4506
- /** @internal */
4507
- export const And$inboundSchema: z.ZodType<And, z.ZodTypeDef, unknown> = z.union(
4508
- [
4509
- z.lazy(() => InvokeDeploymentRequestAndEq$inboundSchema),
4510
- z.lazy(() => InvokeDeploymentRequestAndNe$inboundSchema),
4511
- z.lazy(() => AndGt$inboundSchema),
4512
- z.lazy(() => AndGte$inboundSchema),
4513
- z.lazy(() => AndLt$inboundSchema),
4514
- z.lazy(() => AndLte$inboundSchema),
4515
- z.lazy(() => InvokeDeploymentRequestAndIn$inboundSchema),
4516
- z.lazy(() => InvokeDeploymentRequestAndNin$inboundSchema),
4517
- z.lazy(() => AndExists$inboundSchema),
4518
- ],
4519
- );
4520
3023
  /** @internal */
4521
3024
  export type And$Outbound =
4522
3025
  | InvokeDeploymentRequestAndEq$Outbound
@@ -4546,38 +3049,7 @@ export const And$outboundSchema: z.ZodType<And$Outbound, z.ZodTypeDef, And> = z
4546
3049
  export function andToJSON(and: And): string {
4547
3050
  return JSON.stringify(And$outboundSchema.parse(and));
4548
3051
  }
4549
- export function andFromJSON(
4550
- jsonString: string,
4551
- ): SafeParseResult<And, SDKValidationError> {
4552
- return safeParse(
4553
- jsonString,
4554
- (x) => And$inboundSchema.parse(JSON.parse(x)),
4555
- `Failed to parse 'And' from JSON`,
4556
- );
4557
- }
4558
3052
 
4559
- /** @internal */
4560
- export const KnowledgeFilterAnd$inboundSchema: z.ZodType<
4561
- KnowledgeFilterAnd,
4562
- z.ZodTypeDef,
4563
- unknown
4564
- > = z.object({
4565
- and: z.array(
4566
- z.record(z.union([
4567
- z.lazy(() => InvokeDeploymentRequestAndEq$inboundSchema),
4568
- z.lazy(() =>
4569
- InvokeDeploymentRequestAndNe$inboundSchema
4570
- ),
4571
- z.lazy(() => AndGt$inboundSchema),
4572
- z.lazy(() => AndGte$inboundSchema),
4573
- z.lazy(() => AndLt$inboundSchema),
4574
- z.lazy(() => AndLte$inboundSchema),
4575
- z.lazy(() => InvokeDeploymentRequestAndIn$inboundSchema),
4576
- z.lazy(() => InvokeDeploymentRequestAndNin$inboundSchema),
4577
- z.lazy(() => AndExists$inboundSchema),
4578
- ])),
4579
- ),
4580
- });
4581
3053
  /** @internal */
4582
3054
  export type KnowledgeFilterAnd$Outbound = {
4583
3055
  and: Array<
@@ -4626,21 +3098,7 @@ export function knowledgeFilterAndToJSON(
4626
3098
  KnowledgeFilterAnd$outboundSchema.parse(knowledgeFilterAnd),
4627
3099
  );
4628
3100
  }
4629
- export function knowledgeFilterAndFromJSON(
4630
- jsonString: string,
4631
- ): SafeParseResult<KnowledgeFilterAnd, SDKValidationError> {
4632
- return safeParse(
4633
- jsonString,
4634
- (x) => KnowledgeFilterAnd$inboundSchema.parse(JSON.parse(x)),
4635
- `Failed to parse 'KnowledgeFilterAnd' from JSON`,
4636
- );
4637
- }
4638
3101
 
4639
- /** @internal */
4640
- export const Exists$inboundSchema: z.ZodType<Exists, z.ZodTypeDef, unknown> = z
4641
- .object({
4642
- exists: z.boolean(),
4643
- });
4644
3102
  /** @internal */
4645
3103
  export type Exists$Outbound = {
4646
3104
  exists: boolean;
@@ -4658,20 +3116,7 @@ export const Exists$outboundSchema: z.ZodType<
4658
3116
  export function existsToJSON(exists: Exists): string {
4659
3117
  return JSON.stringify(Exists$outboundSchema.parse(exists));
4660
3118
  }
4661
- export function existsFromJSON(
4662
- jsonString: string,
4663
- ): SafeParseResult<Exists, SDKValidationError> {
4664
- return safeParse(
4665
- jsonString,
4666
- (x) => Exists$inboundSchema.parse(JSON.parse(x)),
4667
- `Failed to parse 'Exists' from JSON`,
4668
- );
4669
- }
4670
3119
 
4671
- /** @internal */
4672
- export const Nin$inboundSchema: z.ZodType<Nin, z.ZodTypeDef, unknown> = z.union(
4673
- [z.string(), z.number(), z.boolean()],
4674
- );
4675
3120
  /** @internal */
4676
3121
  export type Nin$Outbound = string | number | boolean;
4677
3122
 
@@ -4682,21 +3127,7 @@ export const Nin$outboundSchema: z.ZodType<Nin$Outbound, z.ZodTypeDef, Nin> = z
4682
3127
  export function ninToJSON(nin: Nin): string {
4683
3128
  return JSON.stringify(Nin$outboundSchema.parse(nin));
4684
3129
  }
4685
- export function ninFromJSON(
4686
- jsonString: string,
4687
- ): SafeParseResult<Nin, SDKValidationError> {
4688
- return safeParse(
4689
- jsonString,
4690
- (x) => Nin$inboundSchema.parse(JSON.parse(x)),
4691
- `Failed to parse 'Nin' from JSON`,
4692
- );
4693
- }
4694
3130
 
4695
- /** @internal */
4696
- export const OneNin$inboundSchema: z.ZodType<OneNin, z.ZodTypeDef, unknown> = z
4697
- .object({
4698
- nin: z.array(z.union([z.string(), z.number(), z.boolean()])),
4699
- });
4700
3131
  /** @internal */
4701
3132
  export type OneNin$Outbound = {
4702
3133
  nin: Array<string | number | boolean>;
@@ -4714,22 +3145,7 @@ export const OneNin$outboundSchema: z.ZodType<
4714
3145
  export function oneNinToJSON(oneNin: OneNin): string {
4715
3146
  return JSON.stringify(OneNin$outboundSchema.parse(oneNin));
4716
3147
  }
4717
- export function oneNinFromJSON(
4718
- jsonString: string,
4719
- ): SafeParseResult<OneNin, SDKValidationError> {
4720
- return safeParse(
4721
- jsonString,
4722
- (x) => OneNin$inboundSchema.parse(JSON.parse(x)),
4723
- `Failed to parse 'OneNin' from JSON`,
4724
- );
4725
- }
4726
3148
 
4727
- /** @internal */
4728
- export const In$inboundSchema: z.ZodType<In, z.ZodTypeDef, unknown> = z.union([
4729
- z.string(),
4730
- z.number(),
4731
- z.boolean(),
4732
- ]);
4733
3149
  /** @internal */
4734
3150
  export type In$Outbound = string | number | boolean;
4735
3151
 
@@ -4740,21 +3156,7 @@ export const In$outboundSchema: z.ZodType<In$Outbound, z.ZodTypeDef, In> = z
4740
3156
  export function inToJSON(value: In): string {
4741
3157
  return JSON.stringify(In$outboundSchema.parse(value));
4742
3158
  }
4743
- export function inFromJSON(
4744
- jsonString: string,
4745
- ): SafeParseResult<In, SDKValidationError> {
4746
- return safeParse(
4747
- jsonString,
4748
- (x) => In$inboundSchema.parse(JSON.parse(x)),
4749
- `Failed to parse 'In' from JSON`,
4750
- );
4751
- }
4752
3159
 
4753
- /** @internal */
4754
- export const OneIn$inboundSchema: z.ZodType<OneIn, z.ZodTypeDef, unknown> = z
4755
- .object({
4756
- in: z.array(z.union([z.string(), z.number(), z.boolean()])),
4757
- });
4758
3160
  /** @internal */
4759
3161
  export type OneIn$Outbound = {
4760
3162
  in: Array<string | number | boolean>;
@@ -4772,21 +3174,7 @@ export const OneIn$outboundSchema: z.ZodType<
4772
3174
  export function oneInToJSON(oneIn: OneIn): string {
4773
3175
  return JSON.stringify(OneIn$outboundSchema.parse(oneIn));
4774
3176
  }
4775
- export function oneInFromJSON(
4776
- jsonString: string,
4777
- ): SafeParseResult<OneIn, SDKValidationError> {
4778
- return safeParse(
4779
- jsonString,
4780
- (x) => OneIn$inboundSchema.parse(JSON.parse(x)),
4781
- `Failed to parse 'OneIn' from JSON`,
4782
- );
4783
- }
4784
3177
 
4785
- /** @internal */
4786
- export const Lte$inboundSchema: z.ZodType<Lte, z.ZodTypeDef, unknown> = z
4787
- .object({
4788
- lte: z.number(),
4789
- });
4790
3178
  /** @internal */
4791
3179
  export type Lte$Outbound = {
4792
3180
  lte: number;
@@ -4801,20 +3189,7 @@ export const Lte$outboundSchema: z.ZodType<Lte$Outbound, z.ZodTypeDef, Lte> = z
4801
3189
  export function lteToJSON(lte: Lte): string {
4802
3190
  return JSON.stringify(Lte$outboundSchema.parse(lte));
4803
3191
  }
4804
- export function lteFromJSON(
4805
- jsonString: string,
4806
- ): SafeParseResult<Lte, SDKValidationError> {
4807
- return safeParse(
4808
- jsonString,
4809
- (x) => Lte$inboundSchema.parse(JSON.parse(x)),
4810
- `Failed to parse 'Lte' from JSON`,
4811
- );
4812
- }
4813
3192
 
4814
- /** @internal */
4815
- export const Lt$inboundSchema: z.ZodType<Lt, z.ZodTypeDef, unknown> = z.object({
4816
- lt: z.number(),
4817
- });
4818
3193
  /** @internal */
4819
3194
  export type Lt$Outbound = {
4820
3195
  lt: number;
@@ -4829,21 +3204,7 @@ export const Lt$outboundSchema: z.ZodType<Lt$Outbound, z.ZodTypeDef, Lt> = z
4829
3204
  export function ltToJSON(lt: Lt): string {
4830
3205
  return JSON.stringify(Lt$outboundSchema.parse(lt));
4831
3206
  }
4832
- export function ltFromJSON(
4833
- jsonString: string,
4834
- ): SafeParseResult<Lt, SDKValidationError> {
4835
- return safeParse(
4836
- jsonString,
4837
- (x) => Lt$inboundSchema.parse(JSON.parse(x)),
4838
- `Failed to parse 'Lt' from JSON`,
4839
- );
4840
- }
4841
3207
 
4842
- /** @internal */
4843
- export const Gte$inboundSchema: z.ZodType<Gte, z.ZodTypeDef, unknown> = z
4844
- .object({
4845
- gte: z.number(),
4846
- });
4847
3208
  /** @internal */
4848
3209
  export type Gte$Outbound = {
4849
3210
  gte: number;
@@ -4858,20 +3219,7 @@ export const Gte$outboundSchema: z.ZodType<Gte$Outbound, z.ZodTypeDef, Gte> = z
4858
3219
  export function gteToJSON(gte: Gte): string {
4859
3220
  return JSON.stringify(Gte$outboundSchema.parse(gte));
4860
3221
  }
4861
- export function gteFromJSON(
4862
- jsonString: string,
4863
- ): SafeParseResult<Gte, SDKValidationError> {
4864
- return safeParse(
4865
- jsonString,
4866
- (x) => Gte$inboundSchema.parse(JSON.parse(x)),
4867
- `Failed to parse 'Gte' from JSON`,
4868
- );
4869
- }
4870
3222
 
4871
- /** @internal */
4872
- export const Gt$inboundSchema: z.ZodType<Gt, z.ZodTypeDef, unknown> = z.object({
4873
- gt: z.number(),
4874
- });
4875
3223
  /** @internal */
4876
3224
  export type Gt$Outbound = {
4877
3225
  gt: number;
@@ -4886,22 +3234,7 @@ export const Gt$outboundSchema: z.ZodType<Gt$Outbound, z.ZodTypeDef, Gt> = z
4886
3234
  export function gtToJSON(gt: Gt): string {
4887
3235
  return JSON.stringify(Gt$outboundSchema.parse(gt));
4888
3236
  }
4889
- export function gtFromJSON(
4890
- jsonString: string,
4891
- ): SafeParseResult<Gt, SDKValidationError> {
4892
- return safeParse(
4893
- jsonString,
4894
- (x) => Gt$inboundSchema.parse(JSON.parse(x)),
4895
- `Failed to parse 'Gt' from JSON`,
4896
- );
4897
- }
4898
3237
 
4899
- /** @internal */
4900
- export const Ne$inboundSchema: z.ZodType<Ne, z.ZodTypeDef, unknown> = z.union([
4901
- z.string(),
4902
- z.number(),
4903
- z.boolean(),
4904
- ]);
4905
3238
  /** @internal */
4906
3239
  export type Ne$Outbound = string | number | boolean;
4907
3240
 
@@ -4912,21 +3245,7 @@ export const Ne$outboundSchema: z.ZodType<Ne$Outbound, z.ZodTypeDef, Ne> = z
4912
3245
  export function neToJSON(ne: Ne): string {
4913
3246
  return JSON.stringify(Ne$outboundSchema.parse(ne));
4914
3247
  }
4915
- export function neFromJSON(
4916
- jsonString: string,
4917
- ): SafeParseResult<Ne, SDKValidationError> {
4918
- return safeParse(
4919
- jsonString,
4920
- (x) => Ne$inboundSchema.parse(JSON.parse(x)),
4921
- `Failed to parse 'Ne' from JSON`,
4922
- );
4923
- }
4924
3248
 
4925
- /** @internal */
4926
- export const OneNe$inboundSchema: z.ZodType<OneNe, z.ZodTypeDef, unknown> = z
4927
- .object({
4928
- ne: z.union([z.string(), z.number(), z.boolean()]),
4929
- });
4930
3249
  /** @internal */
4931
3250
  export type OneNe$Outbound = {
4932
3251
  ne: string | number | boolean;
@@ -4944,22 +3263,7 @@ export const OneNe$outboundSchema: z.ZodType<
4944
3263
  export function oneNeToJSON(oneNe: OneNe): string {
4945
3264
  return JSON.stringify(OneNe$outboundSchema.parse(oneNe));
4946
3265
  }
4947
- export function oneNeFromJSON(
4948
- jsonString: string,
4949
- ): SafeParseResult<OneNe, SDKValidationError> {
4950
- return safeParse(
4951
- jsonString,
4952
- (x) => OneNe$inboundSchema.parse(JSON.parse(x)),
4953
- `Failed to parse 'OneNe' from JSON`,
4954
- );
4955
- }
4956
3266
 
4957
- /** @internal */
4958
- export const Eq$inboundSchema: z.ZodType<Eq, z.ZodTypeDef, unknown> = z.union([
4959
- z.string(),
4960
- z.number(),
4961
- z.boolean(),
4962
- ]);
4963
3267
  /** @internal */
4964
3268
  export type Eq$Outbound = string | number | boolean;
4965
3269
 
@@ -4970,21 +3274,7 @@ export const Eq$outboundSchema: z.ZodType<Eq$Outbound, z.ZodTypeDef, Eq> = z
4970
3274
  export function eqToJSON(eq: Eq): string {
4971
3275
  return JSON.stringify(Eq$outboundSchema.parse(eq));
4972
3276
  }
4973
- export function eqFromJSON(
4974
- jsonString: string,
4975
- ): SafeParseResult<Eq, SDKValidationError> {
4976
- return safeParse(
4977
- jsonString,
4978
- (x) => Eq$inboundSchema.parse(JSON.parse(x)),
4979
- `Failed to parse 'Eq' from JSON`,
4980
- );
4981
- }
4982
3277
 
4983
- /** @internal */
4984
- export const OneEq$inboundSchema: z.ZodType<OneEq, z.ZodTypeDef, unknown> = z
4985
- .object({
4986
- eq: z.union([z.string(), z.number(), z.boolean()]),
4987
- });
4988
3278
  /** @internal */
4989
3279
  export type OneEq$Outbound = {
4990
3280
  eq: string | number | boolean;
@@ -5002,32 +3292,7 @@ export const OneEq$outboundSchema: z.ZodType<
5002
3292
  export function oneEqToJSON(oneEq: OneEq): string {
5003
3293
  return JSON.stringify(OneEq$outboundSchema.parse(oneEq));
5004
3294
  }
5005
- export function oneEqFromJSON(
5006
- jsonString: string,
5007
- ): SafeParseResult<OneEq, SDKValidationError> {
5008
- return safeParse(
5009
- jsonString,
5010
- (x) => OneEq$inboundSchema.parse(JSON.parse(x)),
5011
- `Failed to parse 'OneEq' from JSON`,
5012
- );
5013
- }
5014
3295
 
5015
- /** @internal */
5016
- export const KnowledgeFilter1$inboundSchema: z.ZodType<
5017
- KnowledgeFilter1,
5018
- z.ZodTypeDef,
5019
- unknown
5020
- > = z.union([
5021
- z.lazy(() => OneEq$inboundSchema),
5022
- z.lazy(() => OneNe$inboundSchema),
5023
- z.lazy(() => Gt$inboundSchema),
5024
- z.lazy(() => Gte$inboundSchema),
5025
- z.lazy(() => Lt$inboundSchema),
5026
- z.lazy(() => Lte$inboundSchema),
5027
- z.lazy(() => OneIn$inboundSchema),
5028
- z.lazy(() => OneNin$inboundSchema),
5029
- z.lazy(() => Exists$inboundSchema),
5030
- ]);
5031
3296
  /** @internal */
5032
3297
  export type KnowledgeFilter1$Outbound =
5033
3298
  | OneEq$Outbound
@@ -5064,36 +3329,7 @@ export function knowledgeFilter1ToJSON(
5064
3329
  KnowledgeFilter1$outboundSchema.parse(knowledgeFilter1),
5065
3330
  );
5066
3331
  }
5067
- export function knowledgeFilter1FromJSON(
5068
- jsonString: string,
5069
- ): SafeParseResult<KnowledgeFilter1, SDKValidationError> {
5070
- return safeParse(
5071
- jsonString,
5072
- (x) => KnowledgeFilter1$inboundSchema.parse(JSON.parse(x)),
5073
- `Failed to parse 'KnowledgeFilter1' from JSON`,
5074
- );
5075
- }
5076
3332
 
5077
- /** @internal */
5078
- export const KnowledgeFilter$inboundSchema: z.ZodType<
5079
- KnowledgeFilter,
5080
- z.ZodTypeDef,
5081
- unknown
5082
- > = z.union([
5083
- z.lazy(() => KnowledgeFilterAnd$inboundSchema),
5084
- z.lazy(() => KnowledgeFilterOr$inboundSchema),
5085
- z.record(z.union([
5086
- z.lazy(() => OneEq$inboundSchema),
5087
- z.lazy(() => OneNe$inboundSchema),
5088
- z.lazy(() => Gt$inboundSchema),
5089
- z.lazy(() => Gte$inboundSchema),
5090
- z.lazy(() => Lt$inboundSchema),
5091
- z.lazy(() => Lte$inboundSchema),
5092
- z.lazy(() => OneIn$inboundSchema),
5093
- z.lazy(() => OneNin$inboundSchema),
5094
- z.lazy(() => Exists$inboundSchema),
5095
- ])),
5096
- ]);
5097
3333
  /** @internal */
5098
3334
  export type KnowledgeFilter$Outbound =
5099
3335
  | KnowledgeFilterAnd$Outbound
@@ -5137,75 +3373,7 @@ export function knowledgeFilterToJSON(
5137
3373
  ): string {
5138
3374
  return JSON.stringify(KnowledgeFilter$outboundSchema.parse(knowledgeFilter));
5139
3375
  }
5140
- export function knowledgeFilterFromJSON(
5141
- jsonString: string,
5142
- ): SafeParseResult<KnowledgeFilter, SDKValidationError> {
5143
- return safeParse(
5144
- jsonString,
5145
- (x) => KnowledgeFilter$inboundSchema.parse(JSON.parse(x)),
5146
- `Failed to parse 'KnowledgeFilter' from JSON`,
5147
- );
5148
- }
5149
3376
 
5150
- /** @internal */
5151
- export const InvokeDeploymentRequest$inboundSchema: z.ZodType<
5152
- InvokeDeploymentRequest,
5153
- z.ZodTypeDef,
5154
- unknown
5155
- > = z.object({
5156
- key: z.string(),
5157
- stream: z.boolean().default(false),
5158
- inputs: z.record(z.any()).optional(),
5159
- context: z.record(z.any()).optional(),
5160
- prefix_messages: z.array(
5161
- z.union([
5162
- z.lazy(() => SystemMessage$inboundSchema),
5163
- z.lazy(() => DeveloperMessage$inboundSchema),
5164
- z.lazy(() => UserMessage$inboundSchema),
5165
- z.lazy(() => AssistantMessage$inboundSchema),
5166
- z.lazy(() => ToolMessage$inboundSchema),
5167
- ]),
5168
- ).optional(),
5169
- messages: z.array(
5170
- z.union([
5171
- z.lazy(() => MessagesSystemMessage$inboundSchema),
5172
- z.lazy(() => MessagesDeveloperMessage$inboundSchema),
5173
- z.lazy(() => MessagesUserMessage$inboundSchema),
5174
- z.lazy(() => MessagesAssistantMessage$inboundSchema),
5175
- z.lazy(() => MessagesToolMessage$inboundSchema),
5176
- ]),
5177
- ).optional(),
5178
- identity: PublicIdentity$inboundSchema.optional(),
5179
- file_ids: z.array(z.string()).optional(),
5180
- metadata: z.record(z.any()).optional(),
5181
- extra_params: z.record(z.any()).optional(),
5182
- documents: z.array(z.lazy(() => Documents$inboundSchema)).optional(),
5183
- invoke_options: z.lazy(() => InvokeOptions$inboundSchema).optional(),
5184
- thread: z.lazy(() => Thread$inboundSchema).optional(),
5185
- knowledge_filter: z.union([
5186
- z.lazy(() => KnowledgeFilterAnd$inboundSchema),
5187
- z.lazy(() => KnowledgeFilterOr$inboundSchema),
5188
- z.record(z.union([
5189
- z.lazy(() => OneEq$inboundSchema),
5190
- z.lazy(() => OneNe$inboundSchema),
5191
- z.lazy(() => Gt$inboundSchema),
5192
- z.lazy(() => Gte$inboundSchema),
5193
- z.lazy(() => Lt$inboundSchema),
5194
- z.lazy(() => Lte$inboundSchema),
5195
- z.lazy(() => OneIn$inboundSchema),
5196
- z.lazy(() => OneNin$inboundSchema),
5197
- z.lazy(() => Exists$inboundSchema),
5198
- ])),
5199
- ]).optional(),
5200
- }).transform((v) => {
5201
- return remap$(v, {
5202
- "prefix_messages": "prefixMessages",
5203
- "file_ids": "fileIds",
5204
- "extra_params": "extraParams",
5205
- "invoke_options": "invokeOptions",
5206
- "knowledge_filter": "knowledgeFilter",
5207
- });
5208
- });
5209
3377
  /** @internal */
5210
3378
  export type InvokeDeploymentRequest$Outbound = {
5211
3379
  key: string;
@@ -5322,12 +3490,3 @@ export function invokeDeploymentRequestToJSON(
5322
3490
  InvokeDeploymentRequest$outboundSchema.parse(invokeDeploymentRequest),
5323
3491
  );
5324
3492
  }
5325
- export function invokeDeploymentRequestFromJSON(
5326
- jsonString: string,
5327
- ): SafeParseResult<InvokeDeploymentRequest, SDKValidationError> {
5328
- return safeParse(
5329
- jsonString,
5330
- (x) => InvokeDeploymentRequest$inboundSchema.parse(JSON.parse(x)),
5331
- `Failed to parse 'InvokeDeploymentRequest' from JSON`,
5332
- );
5333
- }