@orq-ai/node 4.13.12 → 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 (394) 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/geteval.ts +373 -410
  151. package/packages/orq-rc/src/models/operations/getoneknowledge.ts +2 -2
  152. package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +2 -2
  153. package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
  154. package/packages/orq-rc/src/models/operations/index.ts +1 -91
  155. package/packages/orq-rc/src/models/operations/listagents.ts +1 -1
  156. package/packages/orq-rc/src/models/operations/listannotationqueues.ts +1 -1
  157. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +5 -5
  158. package/packages/orq-rc/src/models/operations/listdatasets.ts +1 -1
  159. package/packages/orq-rc/src/models/operations/listdatasources.ts +1 -1
  160. package/packages/orq-rc/src/models/operations/listknowledgebases.ts +2 -2
  161. package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  162. package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +4 -4
  163. package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
  164. package/packages/orq-rc/src/models/operations/retrieveagentrequest.ts +1 -1
  165. package/packages/orq-rc/src/models/operations/retrieveannotationqueue.ts +1 -1
  166. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitem.ts +42 -0
  167. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +5 -5
  168. package/packages/orq-rc/src/models/operations/retrievedataset.ts +1 -1
  169. package/packages/orq-rc/src/models/operations/retrievedatasource.ts +1 -1
  170. package/packages/orq-rc/src/models/operations/retrievetool.ts +42 -336
  171. package/packages/orq-rc/src/models/operations/runagent.ts +2 -2
  172. package/packages/orq-rc/src/models/operations/streamrunagent.ts +2 -2
  173. package/packages/orq-rc/src/models/operations/updateagent.ts +2 -2
  174. package/packages/orq-rc/src/models/operations/updateannotationqueue.ts +1 -1
  175. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +5 -5
  176. package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
  177. package/packages/orq-rc/src/models/operations/updatedatasource.ts +1 -1
  178. package/packages/orq-rc/src/models/operations/updateknowledge.ts +4 -4
  179. package/packages/orq-rc/src/models/operations/updateprompt.ts +1 -1
  180. package/packages/orq-rc/src/models/operations/updatetool.ts +78 -674
  181. package/packages/orq-rc/src/sdk/annotationqueues.ts +2 -1
  182. package/packages/orq-rc/src/sdk/feedback.ts +4 -1
  183. package/sdk/feedback.d.ts +0 -6
  184. package/sdk/feedback.d.ts.map +1 -1
  185. package/sdk/feedback.js +0 -6
  186. package/sdk/feedback.js.map +1 -1
  187. package/src/lib/config.ts +3 -3
  188. package/src/models/components/evaluatorresponsefunction.ts +2 -2
  189. package/src/models/components/evaluatorresponsehttp.ts +2 -2
  190. package/src/models/components/evaluatorresponsejsonschema.ts +2 -2
  191. package/src/models/components/evaluatorresponsellm.ts +2 -2
  192. package/src/models/components/evaluatorresponsepython.ts +2 -2
  193. package/src/models/components/evaluatorresponseragas.ts +2 -2
  194. package/src/models/components/evaluatorresponsetypescript.ts +2 -2
  195. package/src/models/components/reasoningpart.ts +1 -1
  196. package/src/models/operations/billing.ts +1 -1
  197. package/src/models/operations/createannotationqueue.ts +1 -1
  198. package/src/models/operations/createdataset.ts +1 -1
  199. package/src/models/operations/createdatasetitem.ts +5 -5
  200. package/src/models/operations/createdatasource.ts +1 -1
  201. package/src/models/operations/createtool.ts +6 -6
  202. package/src/models/operations/getalltools.ts +6 -6
  203. package/src/models/operations/geteval.ts +16 -16
  204. package/src/models/operations/getv2humanevalsets.ts +2 -2
  205. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  206. package/src/models/operations/listannotationqueues.ts +1 -1
  207. package/src/models/operations/listdatasetdatapoints.ts +5 -5
  208. package/src/models/operations/listdatasets.ts +1 -1
  209. package/src/models/operations/listdatasources.ts +1 -1
  210. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  211. package/src/models/operations/postv2feedbackevaluation.ts +4 -4
  212. package/src/models/operations/postv2humanevalsets.ts +2 -2
  213. package/src/models/operations/retrieveannotationqueue.ts +1 -1
  214. package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjson2.ts +28 -28
  215. package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody14attributes2.ts +28 -28
  216. package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody22attributesopenresponsesdetail.ts +6 -6
  217. package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody23annotations.ts +26 -26
  218. package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody27attributesopenresponsesoutput3type.ts +6 -6
  219. package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody314.ts +31 -31
  220. package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody5attributestype.ts +22 -22
  221. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody11attributestoplogprobs.ts +14 -14
  222. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody15attributesopenresponsesoutput4type.ts +14 -14
  223. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody17attributesopenresponsesoutput44type.ts +16 -16
  224. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody18type.ts +24 -24
  225. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody1attributestype.ts +2 -2
  226. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody21attributestoplogprobs.ts +14 -14
  227. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody29attributestoplogprobs.ts +14 -14
  228. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody32attributesopenresponsesoutput48type.ts +18 -18
  229. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody66.ts +2 -2
  230. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody7attributes5.ts +16 -16
  231. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody9attributes8.ts +18 -18
  232. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1017.ts +4 -4
  233. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody11attributesorq7evaluatorconfigtype.ts +21 -21
  234. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody12attributesorq15annotator.ts +5 -5
  235. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody136.ts +25 -25
  236. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody14attributesorq14type.ts +7 -7
  237. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody15attributesorq7outputschema.ts +21 -21
  238. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1618.ts +3 -3
  239. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody17attributesorq8kind.ts +18 -18
  240. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody18attributesorq12evaluatorconfigtype.ts +11 -11
  241. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody19attributesorq5kind.ts +24 -24
  242. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody20attributesorq14annotator.ts +7 -7
  243. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody21attributesorq7evaluatorconfigtype.ts +21 -21
  244. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody22attributesorqevaluatorconfigtype.ts +28 -28
  245. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody23attributesorq13evaluationtype.ts +9 -9
  246. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody24attributesorq7status.ts +21 -21
  247. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody25attributesorq18type.ts +2 -2
  248. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2611.ts +15 -15
  249. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody27attributesorqevaluationtype.ts +28 -28
  250. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody28attributesorq14annotator.ts +7 -7
  251. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody29attributesorq7evaluatorconfigtype.ts +21 -21
  252. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2attributesorq14type.ts +7 -7
  253. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody30attributesorq18evaluationtype.ts +2 -2
  254. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody31attributesorq16kind.ts +4 -4
  255. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody32attributesorq9evaluatorconfigtype.ts +17 -17
  256. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody33attributesannotator.ts +30 -30
  257. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody34attributesorq12evaluationtype.ts +11 -11
  258. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody35attributesorq5annotator.ts +24 -24
  259. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody3attributesorq14evaluationtype.ts +7 -7
  260. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody4attributesorq4kind.ts +26 -26
  261. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody5attributesorq11evaluatorconfigtype.ts +13 -13
  262. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6attributesorq19annotator.ts +1 -1
  263. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6value.ts +32 -32
  264. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody7attributesorq8evaluatorconfigtype.ts +19 -19
  265. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody8attributesorq18annotator.ts +2 -2
  266. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody9attributesorq9kind.ts +17 -17
  267. package/src/models/operations/retrieveannotationqueueitemevaluationsannotator.ts +32 -32
  268. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody20attributesopenresponses6role.ts +28 -28
  269. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody26content.ts +20 -20
  270. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody28attributesopenresponses6role.ts +28 -28
  271. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody34attributesrole.ts +24 -24
  272. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200status.ts +28 -28
  273. package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody12attributes1.ts +30 -30
  274. package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody24attributescontent.ts +14 -14
  275. package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody332.ts +4 -4
  276. package/src/models/operations/retrieveannotationqueueitemresponsebody.ts +1 -1
  277. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson10http.ts +31 -31
  278. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson16settings.ts +32 -32
  279. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson17context.ts +1 -1
  280. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson22call.ts +1 -1
  281. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson25engine.ts +33 -33
  282. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson27conversation.ts +1 -1
  283. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson30nodes.ts +33 -33
  284. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson33token.ts +1 -1
  285. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson8trace.ts +33 -33
  286. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjsonresponse.ts +1 -1
  287. package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse1.ts +8 -8
  288. package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody13attributesopenresponsesoutputtype.ts +10 -10
  289. package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody193.ts +10 -10
  290. package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody35attributestype.ts +10 -10
  291. package/src/models/operations/retrievedatapoint.ts +5 -5
  292. package/src/models/operations/retrievedataset.ts +1 -1
  293. package/src/models/operations/retrievedatasource.ts +1 -1
  294. package/src/models/operations/retrievetool.ts +6 -6
  295. package/src/models/operations/runagent.ts +1 -1
  296. package/src/models/operations/streamrunagent.ts +1 -1
  297. package/src/models/operations/twenty.ts +1 -1
  298. package/src/models/operations/updateannotationqueue.ts +1 -1
  299. package/src/models/operations/updatedatapoint.ts +5 -5
  300. package/src/models/operations/updatedataset.ts +1 -1
  301. package/src/models/operations/updatedatasource.ts +1 -1
  302. package/src/models/operations/updatetool.ts +7 -7
  303. package/src/sdk/feedback.ts +0 -6
  304. package/packages/orq-rc/src/models/operations/responsebodynodes.ts +0 -5682
  305. package/packages/orq-rc/src/models/operations/responsebodyusage.ts +0 -5962
  306. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody204.ts +0 -5914
  307. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody8attributesopenresponsesoutput2.ts +0 -5888
  308. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemcontentannotationqueues4.ts +0 -5322
  309. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse2006.ts +0 -5735
  310. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody124.ts +0 -5691
  311. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody13attributes5.ts +0 -5820
  312. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody19attributeslogprobs.ts +0 -5790
  313. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody21attributes8.ts +0 -5855
  314. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody24attributesopenresponsesoutput44type.ts +0 -5796
  315. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody257.ts +0 -5903
  316. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody29attributesopenresponsesoutput44type.ts +0 -5796
  317. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody307.ts +0 -5903
  318. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody44.ts +0 -5783
  319. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse1.ts +0 -5687
  320. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse20015.ts +0 -6320
  321. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody102.ts +0 -5798
  322. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody11attributesorq10kind.ts +0 -6188
  323. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody12attributesorqsource.ts +0 -6233
  324. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody13attributesorq8kind.ts +0 -6039
  325. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1417.ts +0 -6128
  326. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody15attributesorq9evaluationtype.ts +0 -6072
  327. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody16attributesstatus.ts +0 -5730
  328. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody17attributesorq10evaluatorconfigtype.ts +0 -5847
  329. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody18attributesorq14outputschema.ts +0 -6173
  330. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody19attributesorq7annotator.ts +0 -6082
  331. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody20attributesorq16annotator.ts +0 -6113
  332. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody21attributesorq9annotator.ts +0 -6050
  333. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody22attributesorq5outputschema.ts +0 -5797
  334. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody23attributesorq15outputschema.ts +0 -6161
  335. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody24attributesorq8annotator.ts +0 -6120
  336. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody25attributesorq19kind.ts +0 -6104
  337. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody25status.ts +0 -5627
  338. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody26attributesorq12status.ts +0 -6117
  339. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody27attributesorq4evaluationtype.ts +0 -5851
  340. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody28attributesorq15outputschema.ts +0 -6161
  341. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody29attributesorq8annotator.ts +0 -6117
  342. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2source.ts +0 -5733
  343. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody30attributesorq19kind.ts +0 -5994
  344. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody30status.ts +0 -5627
  345. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody31attributesorq17type.ts +0 -6099
  346. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody32attributesorqvalue.ts +0 -5993
  347. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody33attributesevaluatorconfigtype.ts +0 -5757
  348. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody3413.ts +0 -6209
  349. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody35attributesorq5annotator.ts +0 -5807
  350. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody3attributesorq19outputschema.ts +0 -6079
  351. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody4attributesorq8outputschema.ts +0 -6018
  352. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6attributesorq4kind.ts +0 -5777
  353. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody7attributesorq12status.ts +0 -6337
  354. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody8attributesorqannotator.ts +0 -5748
  355. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody9attributesorq12evaluatorconfigtype.ts +0 -6199
  356. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponseevaluatorconfigtype.ts +0 -5519
  357. package/packages/orq-rc/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse2008.ts +0 -5879
  358. package/packages/orq-rc/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody11attributestype.ts +0 -5858
  359. package/packages/orq-rc/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody173.ts +0 -5859
  360. package/packages/orq-rc/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody18attributesopenresponses6role.ts +0 -5893
  361. package/packages/orq-rc/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody26attributesopenresponsestype.ts +0 -5925
  362. package/packages/orq-rc/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody321.ts +0 -5912
  363. package/packages/orq-rc/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody345.ts +0 -5860
  364. package/packages/orq-rc/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody7attributesopenresponsestype.ts +0 -5925
  365. package/packages/orq-rc/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody9attributesrole.ts +0 -5861
  366. package/packages/orq-rc/src/models/operations/retrieveannotationqueueiteminputorq.ts +0 -5827
  367. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody10role.ts +0 -5834
  368. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody141.ts +0 -5658
  369. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody155.ts +0 -5851
  370. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody16status.ts +0 -5945
  371. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody23attributes1.ts +0 -5893
  372. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody28attributes1.ts +0 -5893
  373. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody31content.ts +0 -5592
  374. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody333.ts +0 -5913
  375. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemresponsebody.ts +0 -2673
  376. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesencodingformat.ts +0 -5519
  377. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesfallbacks.ts +0 -5714
  378. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson10evaluation.ts +0 -6143
  379. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson12nodes.ts +0 -5752
  380. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson14attributesresponse.ts +0 -5896
  381. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson16score.ts +0 -6074
  382. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson20attributesopenresponsestype.ts +0 -5643
  383. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson27choice.ts +0 -5926
  384. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson31otlp.ts +0 -5983
  385. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson33provider.ts +0 -5950
  386. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson6response.ts +0 -6117
  387. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson8tool.ts +0 -6043
  388. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemretrievalconfigprovider.ts +0 -5968
  389. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody22attributestype.ts +0 -5766
  390. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody27logprobs.ts +0 -5757
  391. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody353.ts +0 -5767
  392. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody6type.ts +0 -5795
  393. package/packages/orq-rc/src/models/operations/summary4.ts +0 -5069
  394. package/packages/orq-rc/src/models/operations/twentythree.ts +0 -5979
@@ -1,2673 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v3";
6
- import { remap as remap$ } from "../../lib/primitives.js";
7
- import {
8
- collectExtraKeys as collectExtraKeys$,
9
- safeParse,
10
- } from "../../lib/schemas.js";
11
- import { ClosedEnum } from "../../types/enums.js";
12
- import { Result as SafeParseResult } from "../../types/fp.js";
13
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
14
- import {
15
- Six,
16
- Six$inboundSchema,
17
- } from "./retrieveannotationqueueitemevaluationsannotationqueuesresponse20015.js";
18
- import {
19
- Twelve,
20
- Twelve$inboundSchema,
21
- } from "./retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody11attributesorq10kind.js";
22
- import {
23
- Thirteen,
24
- Thirteen$inboundSchema,
25
- } from "./retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody12attributesorqsource.js";
26
- import {
27
- Fourteen,
28
- Fourteen$inboundSchema,
29
- } from "./retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody13attributesorq8kind.js";
30
- import {
31
- Fifteen,
32
- Fifteen$inboundSchema,
33
- } from "./retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1417.js";
34
- import {
35
- Sixteen,
36
- Sixteen$inboundSchema,
37
- } from "./retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody15attributesorq9evaluationtype.js";
38
- import {
39
- Eighteen,
40
- Eighteen$inboundSchema,
41
- } from "./retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody17attributesorq10evaluatorconfigtype.js";
42
- import {
43
- Nineteen,
44
- Nineteen$inboundSchema,
45
- } from "./retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody18attributesorq14outputschema.js";
46
- import {
47
- Twenty,
48
- Twenty$inboundSchema,
49
- } from "./retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody19attributesorq7annotator.js";
50
- import {
51
- TwentyOne,
52
- TwentyOne$inboundSchema,
53
- } from "./retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody20attributesorq16annotator.js";
54
- import {
55
- TwentyTwo,
56
- TwentyTwo$inboundSchema,
57
- } from "./retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody21attributesorq9annotator.js";
58
- import {
59
- TwentyFour,
60
- TwentyFour$inboundSchema,
61
- } from "./retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody23attributesorq15outputschema.js";
62
- import {
63
- TwentyFive,
64
- TwentyFive$inboundSchema,
65
- } from "./retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody24attributesorq8annotator.js";
66
- import {
67
- TwentySix,
68
- TwentySix$inboundSchema,
69
- } from "./retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody25attributesorq19kind.js";
70
- import {
71
- TwentySeven,
72
- TwentySeven$inboundSchema,
73
- } from "./retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody26attributesorq12status.js";
74
- import {
75
- TwentyNine,
76
- TwentyNine$inboundSchema,
77
- } from "./retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody28attributesorq15outputschema.js";
78
- import {
79
- Thirty,
80
- Thirty$inboundSchema,
81
- } from "./retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody29attributesorq8annotator.js";
82
- import {
83
- ResponseBody3,
84
- ResponseBody3$inboundSchema,
85
- } from "./retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2source.js";
86
- import {
87
- ThirtyOne,
88
- ThirtyOne$inboundSchema,
89
- } from "./retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody30attributesorq19kind.js";
90
- import {
91
- ThirtyTwo,
92
- ThirtyTwo$inboundSchema,
93
- } from "./retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody31attributesorq17type.js";
94
- import {
95
- ThirtyThree,
96
- ThirtyThree$inboundSchema,
97
- } from "./retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody32attributesorqvalue.js";
98
- import {
99
- ThirtyFive,
100
- ThirtyFive$inboundSchema,
101
- } from "./retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody3413.js";
102
- import {
103
- ResponseBody4,
104
- ResponseBody4$inboundSchema,
105
- } from "./retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody3attributesorq19outputschema.js";
106
- import {
107
- Five,
108
- Five$inboundSchema,
109
- } from "./retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody4attributesorq8outputschema.js";
110
- import {
111
- Eight,
112
- Eight$inboundSchema,
113
- } from "./retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody7attributesorq12status.js";
114
- import {
115
- Ten,
116
- Ten$inboundSchema,
117
- } from "./retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody9attributesorq12evaluatorconfigtype.js";
118
- import {
119
- Agent,
120
- Agent$inboundSchema,
121
- Context,
122
- Context$inboundSchema,
123
- GenAi,
124
- GenAi$inboundSchema,
125
- RetrieveAnnotationQueueItemResponseBody2,
126
- RetrieveAnnotationQueueItemResponseBody2$inboundSchema,
127
- RetrieveAnnotationQueueItemResponseBodyAnnotationQueuesResponse200ApplicationJson1Type,
128
- RetrieveAnnotationQueueItemResponseBodyAnnotationQueuesResponse200ApplicationJson1Type$inboundSchema,
129
- } from "./retrieveannotationqueueitemevaluationsannotationqueuesresponseevaluatorconfigtype.js";
130
- import {
131
- Eleven,
132
- Eleven$inboundSchema,
133
- } from "./retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson10evaluation.js";
134
- import {
135
- Seventeen,
136
- Seventeen$inboundSchema,
137
- } from "./retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson16score.js";
138
- import {
139
- TwentyEight,
140
- TwentyEight$inboundSchema,
141
- } from "./retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson27choice.js";
142
- import {
143
- ThirtyFour,
144
- ThirtyFour$inboundSchema,
145
- } from "./retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson33provider.js";
146
- import {
147
- Seven,
148
- Seven$inboundSchema,
149
- } from "./retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson6response.js";
150
- import {
151
- Nine,
152
- Nine$inboundSchema,
153
- } from "./retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson8tool.js";
154
- import {
155
- Otel,
156
- Otel$inboundSchema,
157
- Otlp,
158
- Otlp$inboundSchema,
159
- ResponseBodyOrq,
160
- ResponseBodyOrq$inboundSchema,
161
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody15,
162
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody15$inboundSchema,
163
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponses4Type,
164
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponses4Type$inboundSchema,
165
- RetrieveAnnotationQueueItemOutputContent,
166
- RetrieveAnnotationQueueItemOutputContent$inboundSchema,
167
- RetrieveAnnotationQueueItemResponseBodyAnnotationQueuesResponse200ApplicationJson1Input,
168
- RetrieveAnnotationQueueItemResponseBodyAnnotationQueuesResponse200ApplicationJson1Input$inboundSchema,
169
- RetrieveAnnotationQueueItemResponseBodyHttp,
170
- RetrieveAnnotationQueueItemResponseBodyHttp$inboundSchema,
171
- Summary4,
172
- Summary4$inboundSchema,
173
- Summary5,
174
- Summary5$inboundSchema,
175
- Summary6,
176
- Summary6$inboundSchema,
177
- Summary7,
178
- Summary7$inboundSchema,
179
- Summary8,
180
- Summary8$inboundSchema,
181
- } from "./summary4.js";
182
- import { TwentyThree, TwentyThree$inboundSchema } from "./twentythree.js";
183
-
184
- export const RetrieveAnnotationQueueItemSummaryAnnotationQueuesType = {
185
- Text: "text",
186
- } as const;
187
- export type RetrieveAnnotationQueueItemSummaryAnnotationQueuesType = ClosedEnum<
188
- typeof RetrieveAnnotationQueueItemSummaryAnnotationQueuesType
189
- >;
190
-
191
- /**
192
- * A text content.
193
- */
194
- export type Summary3 = {
195
- type: RetrieveAnnotationQueueItemSummaryAnnotationQueuesType;
196
- text: string;
197
- };
198
-
199
- /**
200
- * The type of the output text. Always `output_text`.
201
- */
202
- export const RetrieveAnnotationQueueItemSummaryType = {
203
- OutputText: "output_text",
204
- } as const;
205
- /**
206
- * The type of the output text. Always `output_text`.
207
- */
208
- export type RetrieveAnnotationQueueItemSummaryType = ClosedEnum<
209
- typeof RetrieveAnnotationQueueItemSummaryType
210
- >;
211
-
212
- /**
213
- * The type of the URL citation. Always `url_citation`.
214
- */
215
- export const RetrieveAnnotationQueueItemSummaryAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesType =
216
- {
217
- UrlCitation: "url_citation",
218
- } as const;
219
- /**
220
- * The type of the URL citation. Always `url_citation`.
221
- */
222
- export type RetrieveAnnotationQueueItemSummaryAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesType =
223
- ClosedEnum<
224
- typeof RetrieveAnnotationQueueItemSummaryAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesType
225
- >;
226
-
227
- /**
228
- * An annotation that applies to a span of output text.
229
- */
230
- export type SummaryAnnotations = {
231
- /**
232
- * The type of the URL citation. Always `url_citation`.
233
- */
234
- type:
235
- RetrieveAnnotationQueueItemSummaryAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesType;
236
- /**
237
- * The URL of the web resource.
238
- */
239
- url: string;
240
- /**
241
- * The index of the first character of the URL citation in the message.
242
- */
243
- startIndex: number;
244
- /**
245
- * The index of the last character of the URL citation in the message.
246
- */
247
- endIndex: number;
248
- /**
249
- * The title of the web resource.
250
- */
251
- title: string;
252
- };
253
-
254
- /**
255
- * The top log probability of a token.
256
- */
257
- export type SummaryTopLogprobs = {
258
- token: string;
259
- logprob: number;
260
- bytes: Array<number>;
261
- };
262
-
263
- /**
264
- * The log probability of a token.
265
- */
266
- export type SummaryLogprobs = {
267
- token: string;
268
- logprob: number;
269
- bytes: Array<number>;
270
- topLogprobs: Array<SummaryTopLogprobs>;
271
- };
272
-
273
- /**
274
- * A text output from the model.
275
- */
276
- export type Summary2 = {
277
- /**
278
- * The type of the output text. Always `output_text`.
279
- */
280
- type: RetrieveAnnotationQueueItemSummaryType;
281
- /**
282
- * The text output from the model.
283
- */
284
- text: string;
285
- /**
286
- * The annotations of the text output.
287
- */
288
- annotations: Array<SummaryAnnotations>;
289
- logprobs: Array<SummaryLogprobs>;
290
- };
291
-
292
- /**
293
- * The type of the input item. Always `input_text`.
294
- */
295
- export const SummaryType = {
296
- InputText: "input_text",
297
- } as const;
298
- /**
299
- * The type of the input item. Always `input_text`.
300
- */
301
- export type SummaryType = ClosedEnum<typeof SummaryType>;
302
-
303
- /**
304
- * A text input to the model.
305
- */
306
- export type Summary1 = {
307
- /**
308
- * The type of the input item. Always `input_text`.
309
- */
310
- type: SummaryType;
311
- /**
312
- * The text input to the model.
313
- */
314
- text: string;
315
- };
316
-
317
- /**
318
- * A content part that makes up an input or output item.
319
- */
320
- export type RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1Summary =
321
- | Summary2
322
- | Summary7
323
- | Summary1
324
- | Summary3
325
- | Summary4
326
- | Summary5
327
- | Summary6
328
- | Summary8;
329
-
330
- /**
331
- * A reasoning item that was generated by the model.
332
- */
333
- export type RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody14 =
334
- {
335
- /**
336
- * The type of the item. Always `reasoning`.
337
- */
338
- type:
339
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponses4Type;
340
- /**
341
- * The unique ID of the reasoning item.
342
- */
343
- id: string;
344
- /**
345
- * The reasoning content that was generated.
346
- */
347
- content?: Array<RetrieveAnnotationQueueItemOutputContent> | undefined;
348
- /**
349
- * The reasoning summary content that was generated.
350
- */
351
- summary: Array<
352
- | Summary2
353
- | Summary7
354
- | Summary1
355
- | Summary3
356
- | Summary4
357
- | Summary5
358
- | Summary6
359
- | Summary8
360
- >;
361
- /**
362
- * The encrypted reasoning content that was generated.
363
- */
364
- encryptedContent?: string | undefined;
365
- /**
366
- * The signature of the reasoning content that was generated.
367
- */
368
- signature?: string | undefined;
369
- /**
370
- * The identifier of the actor that created the item.
371
- */
372
- createdBy?: string | undefined;
373
- };
374
-
375
- /**
376
- * The type of the function tool call output. Always `function_call_output`.
377
- */
378
- export const RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesType =
379
- {
380
- FunctionCallOutput: "function_call_output",
381
- } as const;
382
- /**
383
- * The type of the function tool call output. Always `function_call_output`.
384
- */
385
- export type RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesType =
386
- ClosedEnum<
387
- typeof RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesType
388
- >;
389
-
390
- /**
391
- * The type of the input item. Always `input_file`.
392
- */
393
- export const RetrieveAnnotationQueueItem1AnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesOutput3OutputType =
394
- {
395
- InputFile: "input_file",
396
- } as const;
397
- /**
398
- * The type of the input item. Always `input_file`.
399
- */
400
- export type RetrieveAnnotationQueueItem1AnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesOutput3OutputType =
401
- ClosedEnum<
402
- typeof RetrieveAnnotationQueueItem1AnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesOutput3OutputType
403
- >;
404
-
405
- /**
406
- * A file input to the model.
407
- */
408
- export type RetrieveAnnotationQueueItem1AnnotationQueues3 = {
409
- /**
410
- * The type of the input item. Always `input_file`.
411
- */
412
- type:
413
- RetrieveAnnotationQueueItem1AnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesOutput3OutputType;
414
- /**
415
- * The name of the file to be sent to the model.
416
- */
417
- filename?: string | undefined;
418
- /**
419
- * The URL of the file to be sent to the model.
420
- */
421
- fileUrl?: string | undefined;
422
- };
423
-
424
- /**
425
- * The type of the input item. Always `input_image`.
426
- */
427
- export const RetrieveAnnotationQueueItem1AnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesOutput3Type =
428
- {
429
- InputImage: "input_image",
430
- } as const;
431
- /**
432
- * The type of the input item. Always `input_image`.
433
- */
434
- export type RetrieveAnnotationQueueItem1AnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesOutput3Type =
435
- ClosedEnum<
436
- typeof RetrieveAnnotationQueueItem1AnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesOutput3Type
437
- >;
438
-
439
- export const RetrieveAnnotationQueueItem1AnnotationQueuesDetail = {
440
- Low: "low",
441
- High: "high",
442
- Auto: "auto",
443
- } as const;
444
- export type RetrieveAnnotationQueueItem1AnnotationQueuesDetail = ClosedEnum<
445
- typeof RetrieveAnnotationQueueItem1AnnotationQueuesDetail
446
- >;
447
-
448
- /**
449
- * An image input to the model. Learn about [image inputs](/docs/guides/vision).
450
- */
451
- export type RetrieveAnnotationQueueItem1AnnotationQueuesResponse2 = {
452
- /**
453
- * The type of the input item. Always `input_image`.
454
- */
455
- type:
456
- RetrieveAnnotationQueueItem1AnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesOutput3Type;
457
- imageUrl: string | null;
458
- detail: RetrieveAnnotationQueueItem1AnnotationQueuesDetail;
459
- };
460
-
461
- /**
462
- * The type of the input item. Always `input_text`.
463
- */
464
- export const RetrieveAnnotationQueueItem1AnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesOutputType =
465
- {
466
- InputText: "input_text",
467
- } as const;
468
- /**
469
- * The type of the input item. Always `input_text`.
470
- */
471
- export type RetrieveAnnotationQueueItem1AnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesOutputType =
472
- ClosedEnum<
473
- typeof RetrieveAnnotationQueueItem1AnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesOutputType
474
- >;
475
-
476
- /**
477
- * A text input to the model.
478
- */
479
- export type RetrieveAnnotationQueueItem1AnnotationQueuesResponse1 = {
480
- /**
481
- * The type of the input item. Always `input_text`.
482
- */
483
- type:
484
- RetrieveAnnotationQueueItem1AnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesOutputType;
485
- /**
486
- * The text input to the model.
487
- */
488
- text: string;
489
- };
490
-
491
- /**
492
- * A content part that makes up an input or output item.
493
- */
494
- export type RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponses1 =
495
- | RetrieveAnnotationQueueItem1AnnotationQueuesResponse2
496
- | RetrieveAnnotationQueueItem1AnnotationQueuesResponse1
497
- | RetrieveAnnotationQueueItem1AnnotationQueues3;
498
-
499
- export type OutputOutput =
500
- | Array<
501
- | RetrieveAnnotationQueueItem1AnnotationQueuesResponse2
502
- | RetrieveAnnotationQueueItem1AnnotationQueuesResponse1
503
- | RetrieveAnnotationQueueItem1AnnotationQueues3
504
- >
505
- | string;
506
-
507
- /**
508
- * Similar to `FunctionCallStatus`. All three options are allowed here for compatibility, but because in practice these items will be provided by developers, only `completed` should be used.
509
- */
510
- export const RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesStatus =
511
- {
512
- InProgress: "in_progress",
513
- Completed: "completed",
514
- Incomplete: "incomplete",
515
- } as const;
516
- /**
517
- * Similar to `FunctionCallStatus`. All three options are allowed here for compatibility, but because in practice these items will be provided by developers, only `completed` should be used.
518
- */
519
- export type RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesStatus =
520
- ClosedEnum<
521
- typeof RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesStatus
522
- >;
523
-
524
- /**
525
- * A function tool call output that was returned by the tool.
526
- */
527
- export type RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody13 =
528
- {
529
- /**
530
- * The type of the function tool call output. Always `function_call_output`.
531
- */
532
- type:
533
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesType;
534
- /**
535
- * The unique ID of the function tool call output. Populated when this item is returned via API.
536
- */
537
- id: string;
538
- /**
539
- * The unique ID of the function tool call generated by the model.
540
- */
541
- callId: string;
542
- output:
543
- | Array<
544
- | RetrieveAnnotationQueueItem1AnnotationQueuesResponse2
545
- | RetrieveAnnotationQueueItem1AnnotationQueuesResponse1
546
- | RetrieveAnnotationQueueItem1AnnotationQueues3
547
- >
548
- | string;
549
- status:
550
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesStatus;
551
- /**
552
- * The identifier of the actor that created the item.
553
- */
554
- createdBy?: string | undefined;
555
- };
556
-
557
- /**
558
- * The type of the item. Always `function_call`.
559
- */
560
- export const RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesType =
561
- {
562
- FunctionCall: "function_call",
563
- } as const;
564
- /**
565
- * The type of the item. Always `function_call`.
566
- */
567
- export type RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesType =
568
- ClosedEnum<
569
- typeof RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesType
570
- >;
571
-
572
- export const RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesStatus =
573
- {
574
- InProgress: "in_progress",
575
- Completed: "completed",
576
- Incomplete: "incomplete",
577
- } as const;
578
- export type RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesStatus =
579
- ClosedEnum<
580
- typeof RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesStatus
581
- >;
582
-
583
- /**
584
- * A function tool call that was generated by the model.
585
- */
586
- export type RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody12 =
587
- {
588
- /**
589
- * The type of the item. Always `function_call`.
590
- */
591
- type:
592
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesType;
593
- /**
594
- * The unique ID of the function call item.
595
- */
596
- id: string;
597
- /**
598
- * The unique ID of the function tool call that was generated.
599
- */
600
- callId: string;
601
- /**
602
- * The name of the function that was called.
603
- */
604
- name: string;
605
- /**
606
- * The arguments JSON string that was generated.
607
- */
608
- arguments: string;
609
- status:
610
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesStatus;
611
- /**
612
- * The identifier of the actor that created the item.
613
- */
614
- createdBy?: string | undefined;
615
- };
616
-
617
- /**
618
- * The type of the message. Always set to `message`.
619
- */
620
- export const RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1Type =
621
- {
622
- Message: "message",
623
- } as const;
624
- /**
625
- * The type of the message. Always set to `message`.
626
- */
627
- export type RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1Type =
628
- ClosedEnum<
629
- typeof RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1Type
630
- >;
631
-
632
- export const RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1Status =
633
- {
634
- InProgress: "in_progress",
635
- Completed: "completed",
636
- Incomplete: "incomplete",
637
- } as const;
638
- export type RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1Status =
639
- ClosedEnum<
640
- typeof RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1Status
641
- >;
642
-
643
- export const RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1Role =
644
- {
645
- User: "user",
646
- Assistant: "assistant",
647
- System: "system",
648
- Developer: "developer",
649
- } as const;
650
- export type RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1Role =
651
- ClosedEnum<
652
- typeof RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1Role
653
- >;
654
-
655
- /**
656
- * The type of the input content. Always `input_video`.
657
- */
658
- export const RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesOutputType =
659
- {
660
- InputVideo: "input_video",
661
- } as const;
662
- /**
663
- * The type of the input content. Always `input_video`.
664
- */
665
- export type RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesOutputType =
666
- ClosedEnum<
667
- typeof RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesOutputType
668
- >;
669
-
670
- /**
671
- * A content block representing a video input to the model.
672
- */
673
- export type Content9 = {
674
- /**
675
- * The type of the input content. Always `input_video`.
676
- */
677
- type:
678
- RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesOutputType;
679
- /**
680
- * A base64 or remote url that resolves to a video file.
681
- */
682
- videoUrl: string;
683
- };
684
-
685
- /**
686
- * The type of the input item. Always `input_file`.
687
- */
688
- export const RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesType =
689
- {
690
- InputFile: "input_file",
691
- } as const;
692
- /**
693
- * The type of the input item. Always `input_file`.
694
- */
695
- export type RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesType =
696
- ClosedEnum<
697
- typeof RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesType
698
- >;
699
-
700
- /**
701
- * A file input to the model.
702
- */
703
- export type Content8 = {
704
- /**
705
- * The type of the input item. Always `input_file`.
706
- */
707
- type:
708
- RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesType;
709
- /**
710
- * The name of the file to be sent to the model.
711
- */
712
- filename?: string | undefined;
713
- /**
714
- * The URL of the file to be sent to the model.
715
- */
716
- fileUrl?: string | undefined;
717
- };
718
-
719
- /**
720
- * The type of the input item. Always `input_image`.
721
- */
722
- export const RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesType =
723
- {
724
- InputImage: "input_image",
725
- } as const;
726
- /**
727
- * The type of the input item. Always `input_image`.
728
- */
729
- export type RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesType =
730
- ClosedEnum<
731
- typeof RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesType
732
- >;
733
-
734
- export const RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1Detail =
735
- {
736
- Low: "low",
737
- High: "high",
738
- Auto: "auto",
739
- } as const;
740
- export type RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1Detail =
741
- ClosedEnum<
742
- typeof RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1Detail
743
- >;
744
-
745
- /**
746
- * An image input to the model. Learn about [image inputs](/docs/guides/vision).
747
- */
748
- export type Content7 = {
749
- /**
750
- * The type of the input item. Always `input_image`.
751
- */
752
- type:
753
- RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesType;
754
- imageUrl: string | null;
755
- detail:
756
- RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1Detail;
757
- };
758
-
759
- /**
760
- * The type of the refusal. Always `refusal`.
761
- */
762
- export const RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1Type =
763
- {
764
- Refusal: "refusal",
765
- } as const;
766
- /**
767
- * The type of the refusal. Always `refusal`.
768
- */
769
- export type RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1Type =
770
- ClosedEnum<
771
- typeof RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1Type
772
- >;
773
-
774
- /**
775
- * A refusal from the model.
776
- */
777
- export type Content6 = {
778
- /**
779
- * The type of the refusal. Always `refusal`.
780
- */
781
- type:
782
- RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1Type;
783
- /**
784
- * The refusal explanation from the model.
785
- */
786
- refusal: string;
787
- };
788
-
789
- /**
790
- * The type of the reasoning text. Always `reasoning_text`.
791
- */
792
- export const RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBodyType =
793
- {
794
- ReasoningText: "reasoning_text",
795
- } as const;
796
- /**
797
- * The type of the reasoning text. Always `reasoning_text`.
798
- */
799
- export type RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBodyType =
800
- ClosedEnum<
801
- typeof RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBodyType
802
- >;
803
-
804
- /**
805
- * Reasoning text from the model.
806
- */
807
- export type Content5 = {
808
- /**
809
- * The type of the reasoning text. Always `reasoning_text`.
810
- */
811
- type:
812
- RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBodyType;
813
- /**
814
- * The reasoning text from the model.
815
- */
816
- text: string;
817
- };
818
-
819
- /**
820
- * The type of the object. Always `summary_text`.
821
- */
822
- export const RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONType =
823
- {
824
- SummaryText: "summary_text",
825
- } as const;
826
- /**
827
- * The type of the object. Always `summary_text`.
828
- */
829
- export type RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONType =
830
- ClosedEnum<
831
- typeof RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONType
832
- >;
833
-
834
- /**
835
- * A summary text from the model.
836
- */
837
- export type Content4 = {
838
- /**
839
- * The type of the object. Always `summary_text`.
840
- */
841
- type:
842
- RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONType;
843
- /**
844
- * A summary of the reasoning output from the model so far.
845
- */
846
- text: string;
847
- };
848
-
849
- export const RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200Type =
850
- {
851
- Text: "text",
852
- } as const;
853
- export type RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200Type =
854
- ClosedEnum<
855
- typeof RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200Type
856
- >;
857
-
858
- /**
859
- * A text content.
860
- */
861
- export type Content3 = {
862
- type: RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200Type;
863
- text: string;
864
- };
865
-
866
- /**
867
- * The type of the output text. Always `output_text`.
868
- */
869
- export const RetrieveAnnotationQueueItemContentAnnotationQueuesResponseType = {
870
- OutputText: "output_text",
871
- } as const;
872
- /**
873
- * The type of the output text. Always `output_text`.
874
- */
875
- export type RetrieveAnnotationQueueItemContentAnnotationQueuesResponseType =
876
- ClosedEnum<
877
- typeof RetrieveAnnotationQueueItemContentAnnotationQueuesResponseType
878
- >;
879
-
880
- /**
881
- * The type of the URL citation. Always `url_citation`.
882
- */
883
- export const RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesOutput1Type =
884
- {
885
- UrlCitation: "url_citation",
886
- } as const;
887
- /**
888
- * The type of the URL citation. Always `url_citation`.
889
- */
890
- export type RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesOutput1Type =
891
- ClosedEnum<
892
- typeof RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesOutput1Type
893
- >;
894
-
895
- /**
896
- * An annotation that applies to a span of output text.
897
- */
898
- export type RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1Annotations =
899
- {
900
- /**
901
- * The type of the URL citation. Always `url_citation`.
902
- */
903
- type:
904
- RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesOutput1Type;
905
- /**
906
- * The URL of the web resource.
907
- */
908
- url: string;
909
- /**
910
- * The index of the first character of the URL citation in the message.
911
- */
912
- startIndex: number;
913
- /**
914
- * The index of the last character of the URL citation in the message.
915
- */
916
- endIndex: number;
917
- /**
918
- * The title of the web resource.
919
- */
920
- title: string;
921
- };
922
-
923
- /**
924
- * The top log probability of a token.
925
- */
926
- export type ContentTopLogprobs = {
927
- token: string;
928
- logprob: number;
929
- bytes: Array<number>;
930
- };
931
-
932
- /**
933
- * The log probability of a token.
934
- */
935
- export type ContentLogprobs = {
936
- token: string;
937
- logprob: number;
938
- bytes: Array<number>;
939
- topLogprobs: Array<ContentTopLogprobs>;
940
- };
941
-
942
- /**
943
- * A text output from the model.
944
- */
945
- export type RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody12 =
946
- {
947
- /**
948
- * The type of the output text. Always `output_text`.
949
- */
950
- type: RetrieveAnnotationQueueItemContentAnnotationQueuesResponseType;
951
- /**
952
- * The text output from the model.
953
- */
954
- text: string;
955
- /**
956
- * The annotations of the text output.
957
- */
958
- annotations: Array<
959
- RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1Annotations
960
- >;
961
- logprobs: Array<ContentLogprobs>;
962
- };
963
-
964
- /**
965
- * The type of the input item. Always `input_text`.
966
- */
967
- export const RetrieveAnnotationQueueItemContentAnnotationQueuesType = {
968
- InputText: "input_text",
969
- } as const;
970
- /**
971
- * The type of the input item. Always `input_text`.
972
- */
973
- export type RetrieveAnnotationQueueItemContentAnnotationQueuesType = ClosedEnum<
974
- typeof RetrieveAnnotationQueueItemContentAnnotationQueuesType
975
- >;
976
-
977
- /**
978
- * A text input to the model.
979
- */
980
- export type RetrieveAnnotationQueueItemContentAnnotationQueuesResponse2001 = {
981
- /**
982
- * The type of the input item. Always `input_text`.
983
- */
984
- type: RetrieveAnnotationQueueItemContentAnnotationQueuesType;
985
- /**
986
- * The text input to the model.
987
- */
988
- text: string;
989
- };
990
-
991
- /**
992
- * A content part that makes up an input or output item.
993
- */
994
- export type RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1Content =
995
- | RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody12
996
- | Content7
997
- | Content9
998
- | RetrieveAnnotationQueueItemContentAnnotationQueuesResponse2001
999
- | Content3
1000
- | Content4
1001
- | Content5
1002
- | Content6
1003
- | Content8;
1004
-
1005
- /**
1006
- * A message to or from the model.
1007
- */
1008
- export type RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody11 =
1009
- {
1010
- /**
1011
- * The type of the message. Always set to `message`.
1012
- */
1013
- type:
1014
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1Type;
1015
- /**
1016
- * The unique ID of the message.
1017
- */
1018
- id: string;
1019
- status:
1020
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1Status;
1021
- role:
1022
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1Role;
1023
- /**
1024
- * The content of the message
1025
- */
1026
- content: Array<
1027
- | RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody12
1028
- | Content7
1029
- | Content9
1030
- | RetrieveAnnotationQueueItemContentAnnotationQueuesResponse2001
1031
- | Content3
1032
- | Content4
1033
- | Content5
1034
- | Content6
1035
- | Content8
1036
- >;
1037
- };
1038
-
1039
- /**
1040
- * An item representing a message, tool call, tool output, reasoning, or other response element.
1041
- */
1042
- export type RetrieveAnnotationQueueItemResponseBodyAnnotationQueuesResponse200ApplicationJson1Output =
1043
- | RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody12
1044
- | RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody11
1045
- | RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody13
1046
- | RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody15
1047
- | RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody14;
1048
-
1049
- export const RetrieveAnnotationQueueItemResponseBodyAnnotationQueuesResponse200ApplicationJson1Truncation =
1050
- {
1051
- Auto: "auto",
1052
- Disabled: "disabled",
1053
- } as const;
1054
- export type RetrieveAnnotationQueueItemResponseBodyAnnotationQueuesResponse200ApplicationJson1Truncation =
1055
- ClosedEnum<
1056
- typeof RetrieveAnnotationQueueItemResponseBodyAnnotationQueuesResponse200ApplicationJson1Truncation
1057
- >;
1058
-
1059
- export const RetrieveAnnotationQueueItemResponseBodyAnnotationQueuesResponse200ApplicationJson1ServiceTier =
1060
- {
1061
- Auto: "auto",
1062
- Default: "default",
1063
- Flex: "flex",
1064
- Priority: "priority",
1065
- } as const;
1066
- export type RetrieveAnnotationQueueItemResponseBodyAnnotationQueuesResponse200ApplicationJson1ServiceTier =
1067
- ClosedEnum<
1068
- typeof RetrieveAnnotationQueueItemResponseBodyAnnotationQueuesResponse200ApplicationJson1ServiceTier
1069
- >;
1070
-
1071
- /**
1072
- * The type of the function tool. Always `function`.
1073
- */
1074
- export const RetrieveAnnotationQueueItemResponseBodyAnnotationQueuesResponse200ApplicationJson1AttributesOpenresponsesType =
1075
- {
1076
- Function: "function",
1077
- } as const;
1078
- /**
1079
- * The type of the function tool. Always `function`.
1080
- */
1081
- export type RetrieveAnnotationQueueItemResponseBodyAnnotationQueuesResponse200ApplicationJson1AttributesOpenresponsesType =
1082
- ClosedEnum<
1083
- typeof RetrieveAnnotationQueueItemResponseBodyAnnotationQueuesResponse200ApplicationJson1AttributesOpenresponsesType
1084
- >;
1085
-
1086
- /**
1087
- * A tool that can be used to generate a response.
1088
- */
1089
- export type RetrieveAnnotationQueueItemResponseBodyAnnotationQueuesResponse200ApplicationJson1Tools =
1090
- {
1091
- /**
1092
- * The type of the function tool. Always `function`.
1093
- */
1094
- type:
1095
- RetrieveAnnotationQueueItemResponseBodyAnnotationQueuesResponse200ApplicationJson1AttributesOpenresponsesType;
1096
- /**
1097
- * The name of the function to call.
1098
- */
1099
- name: string;
1100
- description: string | null;
1101
- parameters: { [k: string]: any } | null;
1102
- strict: boolean | null;
1103
- };
1104
-
1105
- export type Openresponses = {
1106
- input?:
1107
- | Array<
1108
- RetrieveAnnotationQueueItemResponseBodyAnnotationQueuesResponse200ApplicationJson1Input
1109
- >
1110
- | undefined;
1111
- output?:
1112
- | Array<
1113
- | RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody12
1114
- | RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody11
1115
- | RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody13
1116
- | RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody15
1117
- | RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody14
1118
- >
1119
- | undefined;
1120
- object?: string | undefined;
1121
- createdAt?: number | undefined;
1122
- status?: string | undefined;
1123
- completedAt?: string | undefined;
1124
- incompleteDetails?: string | undefined;
1125
- error?: string | undefined;
1126
- previousResponseId?: string | undefined;
1127
- instructions?: string | undefined;
1128
- truncation?:
1129
- | RetrieveAnnotationQueueItemResponseBodyAnnotationQueuesResponse200ApplicationJson1Truncation
1130
- | undefined;
1131
- serviceTier?:
1132
- | RetrieveAnnotationQueueItemResponseBodyAnnotationQueuesResponse200ApplicationJson1ServiceTier
1133
- | undefined;
1134
- safetyIdentifier?: string | undefined;
1135
- promptCacheKey?: string | undefined;
1136
- user?: string | undefined;
1137
- temperature?: number | undefined;
1138
- topP?: number | undefined;
1139
- presencePenalty?: number | undefined;
1140
- frequencyPenalty?: number | undefined;
1141
- parallelToolCalls?: boolean | undefined;
1142
- stream?: boolean | undefined;
1143
- background?: boolean | undefined;
1144
- store?: boolean | undefined;
1145
- topLogprobs?: number | undefined;
1146
- maxOutputTokens?: number | undefined;
1147
- maxToolCalls?: number | undefined;
1148
- tools?:
1149
- | Array<
1150
- RetrieveAnnotationQueueItemResponseBodyAnnotationQueuesResponse200ApplicationJson1Tools
1151
- >
1152
- | undefined;
1153
- toolsCount?: number | undefined;
1154
- toolChoice?: string | undefined;
1155
- metadata?: { [k: string]: any } | undefined;
1156
- text?: string | undefined;
1157
- streamOptions?: string | undefined;
1158
- reasoning?: string | undefined;
1159
- include?: string | undefined;
1160
- includeCount?: number | undefined;
1161
- additionalProperties?: { [k: string]: any } | undefined;
1162
- };
1163
-
1164
- export type Attributes = {
1165
- type:
1166
- RetrieveAnnotationQueueItemResponseBodyAnnotationQueuesResponse200ApplicationJson1Type;
1167
- genAi?: GenAi | undefined;
1168
- agent?: Agent | undefined;
1169
- /**
1170
- * Orquesta-related attributes
1171
- */
1172
- orq?: ResponseBodyOrq | undefined;
1173
- otel?: Otel | undefined;
1174
- otlp?: Otlp | undefined;
1175
- http?: RetrieveAnnotationQueueItemResponseBodyHttp | undefined;
1176
- openresponses?: Openresponses | undefined;
1177
- metadata?: { [k: string]: any } | null | undefined;
1178
- };
1179
-
1180
- export type RetrieveAnnotationQueueItemResponseBody1 = {
1181
- id: string;
1182
- /**
1183
- * Name of the trace or block
1184
- */
1185
- name?: string | undefined;
1186
- /**
1187
- * Unique trace ID
1188
- */
1189
- traceId: string;
1190
- /**
1191
- * Total time elapsed between the trace start and end timestamp
1192
- */
1193
- duration?: number | undefined;
1194
- /**
1195
- * Total number of tokens used by the trace
1196
- */
1197
- totalTokens?: number | undefined;
1198
- /**
1199
- * Total cost of the trace
1200
- */
1201
- totalCost?: number | undefined;
1202
- /**
1203
- * Whether the trace is billable
1204
- */
1205
- billable?: boolean | undefined;
1206
- /**
1207
- * Unique ID to relate multiple traces together
1208
- */
1209
- sessionId?: string | null | undefined;
1210
- /**
1211
- * Context information for the trace
1212
- */
1213
- context?: Context | undefined;
1214
- /**
1215
- * Parent trace ID, if applicable
1216
- */
1217
- parentId?: string | null | undefined;
1218
- /**
1219
- * ISO timestamp indicating when the trace started
1220
- */
1221
- startTime?: string | undefined;
1222
- /**
1223
- * ISO timestamp indicating when the trace ended
1224
- */
1225
- endTime?: string | undefined;
1226
- /**
1227
- * List of events associated with this trace
1228
- */
1229
- events?: Array<{ [k: string]: any }> | undefined;
1230
- attributes?: Attributes | undefined;
1231
- type: "span.generic";
1232
- input: { [k: string]: any };
1233
- output: { [k: string]: any };
1234
- };
1235
-
1236
- /**
1237
- * Annotation queue item retrieved.
1238
- */
1239
- export type RetrieveAnnotationQueueItemResponseBody =
1240
- | RetrieveAnnotationQueueItemResponseBody1
1241
- | RetrieveAnnotationQueueItemResponseBody2
1242
- | ResponseBody3
1243
- | ResponseBody4
1244
- | Five
1245
- | Six
1246
- | Seven
1247
- | Eight
1248
- | Nine
1249
- | Ten
1250
- | Eleven
1251
- | Twelve
1252
- | Thirteen
1253
- | Fourteen
1254
- | Fifteen
1255
- | Sixteen
1256
- | Seventeen
1257
- | Eighteen
1258
- | Nineteen
1259
- | Twenty
1260
- | TwentyOne
1261
- | TwentyTwo
1262
- | TwentyThree
1263
- | TwentyFour
1264
- | TwentyFive
1265
- | TwentySix
1266
- | TwentySeven
1267
- | TwentyEight
1268
- | TwentyNine
1269
- | Thirty
1270
- | ThirtyOne
1271
- | ThirtyTwo
1272
- | ThirtyThree
1273
- | ThirtyFour
1274
- | ThirtyFive;
1275
-
1276
- /** @internal */
1277
- export const RetrieveAnnotationQueueItemSummaryAnnotationQueuesType$inboundSchema:
1278
- z.ZodNativeEnum<
1279
- typeof RetrieveAnnotationQueueItemSummaryAnnotationQueuesType
1280
- > = z.nativeEnum(RetrieveAnnotationQueueItemSummaryAnnotationQueuesType);
1281
-
1282
- /** @internal */
1283
- export const Summary3$inboundSchema: z.ZodType<
1284
- Summary3,
1285
- z.ZodTypeDef,
1286
- unknown
1287
- > = z.object({
1288
- type: RetrieveAnnotationQueueItemSummaryAnnotationQueuesType$inboundSchema
1289
- .default("text"),
1290
- text: z.string(),
1291
- });
1292
-
1293
- export function summary3FromJSON(
1294
- jsonString: string,
1295
- ): SafeParseResult<Summary3, SDKValidationError> {
1296
- return safeParse(
1297
- jsonString,
1298
- (x) => Summary3$inboundSchema.parse(JSON.parse(x)),
1299
- `Failed to parse 'Summary3' from JSON`,
1300
- );
1301
- }
1302
-
1303
- /** @internal */
1304
- export const RetrieveAnnotationQueueItemSummaryType$inboundSchema:
1305
- z.ZodNativeEnum<typeof RetrieveAnnotationQueueItemSummaryType> = z.nativeEnum(
1306
- RetrieveAnnotationQueueItemSummaryType,
1307
- );
1308
-
1309
- /** @internal */
1310
- export const RetrieveAnnotationQueueItemSummaryAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesType$inboundSchema:
1311
- z.ZodNativeEnum<
1312
- typeof RetrieveAnnotationQueueItemSummaryAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesType
1313
- > = z.nativeEnum(
1314
- RetrieveAnnotationQueueItemSummaryAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesType,
1315
- );
1316
-
1317
- /** @internal */
1318
- export const SummaryAnnotations$inboundSchema: z.ZodType<
1319
- SummaryAnnotations,
1320
- z.ZodTypeDef,
1321
- unknown
1322
- > = z.object({
1323
- type:
1324
- RetrieveAnnotationQueueItemSummaryAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesType$inboundSchema
1325
- .default("url_citation"),
1326
- url: z.string(),
1327
- start_index: z.number().int(),
1328
- end_index: z.number().int(),
1329
- title: z.string(),
1330
- }).transform((v) => {
1331
- return remap$(v, {
1332
- "start_index": "startIndex",
1333
- "end_index": "endIndex",
1334
- });
1335
- });
1336
-
1337
- export function summaryAnnotationsFromJSON(
1338
- jsonString: string,
1339
- ): SafeParseResult<SummaryAnnotations, SDKValidationError> {
1340
- return safeParse(
1341
- jsonString,
1342
- (x) => SummaryAnnotations$inboundSchema.parse(JSON.parse(x)),
1343
- `Failed to parse 'SummaryAnnotations' from JSON`,
1344
- );
1345
- }
1346
-
1347
- /** @internal */
1348
- export const SummaryTopLogprobs$inboundSchema: z.ZodType<
1349
- SummaryTopLogprobs,
1350
- z.ZodTypeDef,
1351
- unknown
1352
- > = z.object({
1353
- token: z.string(),
1354
- logprob: z.number(),
1355
- bytes: z.array(z.number().int()),
1356
- });
1357
-
1358
- export function summaryTopLogprobsFromJSON(
1359
- jsonString: string,
1360
- ): SafeParseResult<SummaryTopLogprobs, SDKValidationError> {
1361
- return safeParse(
1362
- jsonString,
1363
- (x) => SummaryTopLogprobs$inboundSchema.parse(JSON.parse(x)),
1364
- `Failed to parse 'SummaryTopLogprobs' from JSON`,
1365
- );
1366
- }
1367
-
1368
- /** @internal */
1369
- export const SummaryLogprobs$inboundSchema: z.ZodType<
1370
- SummaryLogprobs,
1371
- z.ZodTypeDef,
1372
- unknown
1373
- > = z.object({
1374
- token: z.string(),
1375
- logprob: z.number(),
1376
- bytes: z.array(z.number().int()),
1377
- top_logprobs: z.array(z.lazy(() => SummaryTopLogprobs$inboundSchema)),
1378
- }).transform((v) => {
1379
- return remap$(v, {
1380
- "top_logprobs": "topLogprobs",
1381
- });
1382
- });
1383
-
1384
- export function summaryLogprobsFromJSON(
1385
- jsonString: string,
1386
- ): SafeParseResult<SummaryLogprobs, SDKValidationError> {
1387
- return safeParse(
1388
- jsonString,
1389
- (x) => SummaryLogprobs$inboundSchema.parse(JSON.parse(x)),
1390
- `Failed to parse 'SummaryLogprobs' from JSON`,
1391
- );
1392
- }
1393
-
1394
- /** @internal */
1395
- export const Summary2$inboundSchema: z.ZodType<
1396
- Summary2,
1397
- z.ZodTypeDef,
1398
- unknown
1399
- > = z.object({
1400
- type: RetrieveAnnotationQueueItemSummaryType$inboundSchema.default(
1401
- "output_text",
1402
- ),
1403
- text: z.string(),
1404
- annotations: z.array(z.lazy(() => SummaryAnnotations$inboundSchema)),
1405
- logprobs: z.array(z.lazy(() => SummaryLogprobs$inboundSchema)),
1406
- });
1407
-
1408
- export function summary2FromJSON(
1409
- jsonString: string,
1410
- ): SafeParseResult<Summary2, SDKValidationError> {
1411
- return safeParse(
1412
- jsonString,
1413
- (x) => Summary2$inboundSchema.parse(JSON.parse(x)),
1414
- `Failed to parse 'Summary2' from JSON`,
1415
- );
1416
- }
1417
-
1418
- /** @internal */
1419
- export const SummaryType$inboundSchema: z.ZodNativeEnum<typeof SummaryType> = z
1420
- .nativeEnum(SummaryType);
1421
-
1422
- /** @internal */
1423
- export const Summary1$inboundSchema: z.ZodType<
1424
- Summary1,
1425
- z.ZodTypeDef,
1426
- unknown
1427
- > = z.object({
1428
- type: SummaryType$inboundSchema.default("input_text"),
1429
- text: z.string(),
1430
- });
1431
-
1432
- export function summary1FromJSON(
1433
- jsonString: string,
1434
- ): SafeParseResult<Summary1, SDKValidationError> {
1435
- return safeParse(
1436
- jsonString,
1437
- (x) => Summary1$inboundSchema.parse(JSON.parse(x)),
1438
- `Failed to parse 'Summary1' from JSON`,
1439
- );
1440
- }
1441
-
1442
- /** @internal */
1443
- export const RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1Summary$inboundSchema:
1444
- z.ZodType<
1445
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1Summary,
1446
- z.ZodTypeDef,
1447
- unknown
1448
- > = z.union([
1449
- z.lazy(() => Summary2$inboundSchema),
1450
- Summary7$inboundSchema,
1451
- z.lazy(() => Summary1$inboundSchema),
1452
- z.lazy(() => Summary3$inboundSchema),
1453
- Summary4$inboundSchema,
1454
- Summary5$inboundSchema,
1455
- Summary6$inboundSchema,
1456
- Summary8$inboundSchema,
1457
- ]);
1458
-
1459
- export function retrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1SummaryFromJSON(
1460
- jsonString: string,
1461
- ): SafeParseResult<
1462
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1Summary,
1463
- SDKValidationError
1464
- > {
1465
- return safeParse(
1466
- jsonString,
1467
- (x) =>
1468
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1Summary$inboundSchema
1469
- .parse(JSON.parse(x)),
1470
- `Failed to parse 'RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1Summary' from JSON`,
1471
- );
1472
- }
1473
-
1474
- /** @internal */
1475
- export const RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody14$inboundSchema:
1476
- z.ZodType<
1477
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody14,
1478
- z.ZodTypeDef,
1479
- unknown
1480
- > = z.object({
1481
- type:
1482
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponses4Type$inboundSchema
1483
- .default("reasoning"),
1484
- id: z.string(),
1485
- content: z.array(RetrieveAnnotationQueueItemOutputContent$inboundSchema)
1486
- .optional(),
1487
- summary: z.array(
1488
- z.union([
1489
- z.lazy(() => Summary2$inboundSchema),
1490
- Summary7$inboundSchema,
1491
- z.lazy(() => Summary1$inboundSchema),
1492
- z.lazy(() => Summary3$inboundSchema),
1493
- Summary4$inboundSchema,
1494
- Summary5$inboundSchema,
1495
- Summary6$inboundSchema,
1496
- Summary8$inboundSchema,
1497
- ]),
1498
- ),
1499
- encrypted_content: z.string().optional(),
1500
- signature: z.string().optional(),
1501
- created_by: z.string().optional(),
1502
- }).transform((v) => {
1503
- return remap$(v, {
1504
- "encrypted_content": "encryptedContent",
1505
- "created_by": "createdBy",
1506
- });
1507
- });
1508
-
1509
- export function retrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody14FromJSON(
1510
- jsonString: string,
1511
- ): SafeParseResult<
1512
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody14,
1513
- SDKValidationError
1514
- > {
1515
- return safeParse(
1516
- jsonString,
1517
- (x) =>
1518
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody14$inboundSchema
1519
- .parse(JSON.parse(x)),
1520
- `Failed to parse 'RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody14' from JSON`,
1521
- );
1522
- }
1523
-
1524
- /** @internal */
1525
- export const RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesType$inboundSchema:
1526
- z.ZodNativeEnum<
1527
- typeof RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesType
1528
- > = z.nativeEnum(
1529
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesType,
1530
- );
1531
-
1532
- /** @internal */
1533
- export const RetrieveAnnotationQueueItem1AnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesOutput3OutputType$inboundSchema:
1534
- z.ZodNativeEnum<
1535
- typeof RetrieveAnnotationQueueItem1AnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesOutput3OutputType
1536
- > = z.nativeEnum(
1537
- RetrieveAnnotationQueueItem1AnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesOutput3OutputType,
1538
- );
1539
-
1540
- /** @internal */
1541
- export const RetrieveAnnotationQueueItem1AnnotationQueues3$inboundSchema:
1542
- z.ZodType<
1543
- RetrieveAnnotationQueueItem1AnnotationQueues3,
1544
- z.ZodTypeDef,
1545
- unknown
1546
- > = z.object({
1547
- type:
1548
- RetrieveAnnotationQueueItem1AnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesOutput3OutputType$inboundSchema
1549
- .default("input_file"),
1550
- filename: z.string().optional(),
1551
- file_url: z.string().optional(),
1552
- }).transform((v) => {
1553
- return remap$(v, {
1554
- "file_url": "fileUrl",
1555
- });
1556
- });
1557
-
1558
- export function retrieveAnnotationQueueItem1AnnotationQueues3FromJSON(
1559
- jsonString: string,
1560
- ): SafeParseResult<
1561
- RetrieveAnnotationQueueItem1AnnotationQueues3,
1562
- SDKValidationError
1563
- > {
1564
- return safeParse(
1565
- jsonString,
1566
- (x) =>
1567
- RetrieveAnnotationQueueItem1AnnotationQueues3$inboundSchema.parse(
1568
- JSON.parse(x),
1569
- ),
1570
- `Failed to parse 'RetrieveAnnotationQueueItem1AnnotationQueues3' from JSON`,
1571
- );
1572
- }
1573
-
1574
- /** @internal */
1575
- export const RetrieveAnnotationQueueItem1AnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesOutput3Type$inboundSchema:
1576
- z.ZodNativeEnum<
1577
- typeof RetrieveAnnotationQueueItem1AnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesOutput3Type
1578
- > = z.nativeEnum(
1579
- RetrieveAnnotationQueueItem1AnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesOutput3Type,
1580
- );
1581
-
1582
- /** @internal */
1583
- export const RetrieveAnnotationQueueItem1AnnotationQueuesDetail$inboundSchema:
1584
- z.ZodNativeEnum<typeof RetrieveAnnotationQueueItem1AnnotationQueuesDetail> = z
1585
- .nativeEnum(RetrieveAnnotationQueueItem1AnnotationQueuesDetail);
1586
-
1587
- /** @internal */
1588
- export const RetrieveAnnotationQueueItem1AnnotationQueuesResponse2$inboundSchema:
1589
- z.ZodType<
1590
- RetrieveAnnotationQueueItem1AnnotationQueuesResponse2,
1591
- z.ZodTypeDef,
1592
- unknown
1593
- > = z.object({
1594
- type:
1595
- RetrieveAnnotationQueueItem1AnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesOutput3Type$inboundSchema
1596
- .default("input_image"),
1597
- image_url: z.nullable(z.string()),
1598
- detail: RetrieveAnnotationQueueItem1AnnotationQueuesDetail$inboundSchema,
1599
- }).transform((v) => {
1600
- return remap$(v, {
1601
- "image_url": "imageUrl",
1602
- });
1603
- });
1604
-
1605
- export function retrieveAnnotationQueueItem1AnnotationQueuesResponse2FromJSON(
1606
- jsonString: string,
1607
- ): SafeParseResult<
1608
- RetrieveAnnotationQueueItem1AnnotationQueuesResponse2,
1609
- SDKValidationError
1610
- > {
1611
- return safeParse(
1612
- jsonString,
1613
- (x) =>
1614
- RetrieveAnnotationQueueItem1AnnotationQueuesResponse2$inboundSchema.parse(
1615
- JSON.parse(x),
1616
- ),
1617
- `Failed to parse 'RetrieveAnnotationQueueItem1AnnotationQueuesResponse2' from JSON`,
1618
- );
1619
- }
1620
-
1621
- /** @internal */
1622
- export const RetrieveAnnotationQueueItem1AnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesOutputType$inboundSchema:
1623
- z.ZodNativeEnum<
1624
- typeof RetrieveAnnotationQueueItem1AnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesOutputType
1625
- > = z.nativeEnum(
1626
- RetrieveAnnotationQueueItem1AnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesOutputType,
1627
- );
1628
-
1629
- /** @internal */
1630
- export const RetrieveAnnotationQueueItem1AnnotationQueuesResponse1$inboundSchema:
1631
- z.ZodType<
1632
- RetrieveAnnotationQueueItem1AnnotationQueuesResponse1,
1633
- z.ZodTypeDef,
1634
- unknown
1635
- > = z.object({
1636
- type:
1637
- RetrieveAnnotationQueueItem1AnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesOutputType$inboundSchema
1638
- .default("input_text"),
1639
- text: z.string(),
1640
- });
1641
-
1642
- export function retrieveAnnotationQueueItem1AnnotationQueuesResponse1FromJSON(
1643
- jsonString: string,
1644
- ): SafeParseResult<
1645
- RetrieveAnnotationQueueItem1AnnotationQueuesResponse1,
1646
- SDKValidationError
1647
- > {
1648
- return safeParse(
1649
- jsonString,
1650
- (x) =>
1651
- RetrieveAnnotationQueueItem1AnnotationQueuesResponse1$inboundSchema.parse(
1652
- JSON.parse(x),
1653
- ),
1654
- `Failed to parse 'RetrieveAnnotationQueueItem1AnnotationQueuesResponse1' from JSON`,
1655
- );
1656
- }
1657
-
1658
- /** @internal */
1659
- export const RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponses1$inboundSchema:
1660
- z.ZodType<
1661
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponses1,
1662
- z.ZodTypeDef,
1663
- unknown
1664
- > = z.union([
1665
- z.lazy(() =>
1666
- RetrieveAnnotationQueueItem1AnnotationQueuesResponse2$inboundSchema
1667
- ),
1668
- z.lazy(() =>
1669
- RetrieveAnnotationQueueItem1AnnotationQueuesResponse1$inboundSchema
1670
- ),
1671
- z.lazy(() => RetrieveAnnotationQueueItem1AnnotationQueues3$inboundSchema),
1672
- ]);
1673
-
1674
- export function retrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponses1FromJSON(
1675
- jsonString: string,
1676
- ): SafeParseResult<
1677
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponses1,
1678
- SDKValidationError
1679
- > {
1680
- return safeParse(
1681
- jsonString,
1682
- (x) =>
1683
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponses1$inboundSchema
1684
- .parse(JSON.parse(x)),
1685
- `Failed to parse 'RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponses1' from JSON`,
1686
- );
1687
- }
1688
-
1689
- /** @internal */
1690
- export const OutputOutput$inboundSchema: z.ZodType<
1691
- OutputOutput,
1692
- z.ZodTypeDef,
1693
- unknown
1694
- > = z.union([
1695
- z.array(z.union([
1696
- z.lazy(() =>
1697
- RetrieveAnnotationQueueItem1AnnotationQueuesResponse2$inboundSchema
1698
- ),
1699
- z.lazy(() =>
1700
- RetrieveAnnotationQueueItem1AnnotationQueuesResponse1$inboundSchema
1701
- ),
1702
- z.lazy(() => RetrieveAnnotationQueueItem1AnnotationQueues3$inboundSchema),
1703
- ])),
1704
- z.string(),
1705
- ]);
1706
-
1707
- export function outputOutputFromJSON(
1708
- jsonString: string,
1709
- ): SafeParseResult<OutputOutput, SDKValidationError> {
1710
- return safeParse(
1711
- jsonString,
1712
- (x) => OutputOutput$inboundSchema.parse(JSON.parse(x)),
1713
- `Failed to parse 'OutputOutput' from JSON`,
1714
- );
1715
- }
1716
-
1717
- /** @internal */
1718
- export const RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesStatus$inboundSchema:
1719
- z.ZodNativeEnum<
1720
- typeof RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesStatus
1721
- > = z.nativeEnum(
1722
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesStatus,
1723
- );
1724
-
1725
- /** @internal */
1726
- export const RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody13$inboundSchema:
1727
- z.ZodType<
1728
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody13,
1729
- z.ZodTypeDef,
1730
- unknown
1731
- > = z.object({
1732
- type:
1733
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesType$inboundSchema
1734
- .default("function_call_output"),
1735
- id: z.string(),
1736
- call_id: z.string(),
1737
- output: z.union([
1738
- z.array(z.union([
1739
- z.lazy(() =>
1740
- RetrieveAnnotationQueueItem1AnnotationQueuesResponse2$inboundSchema
1741
- ),
1742
- z.lazy(() =>
1743
- RetrieveAnnotationQueueItem1AnnotationQueuesResponse1$inboundSchema
1744
- ),
1745
- z.lazy(() =>
1746
- RetrieveAnnotationQueueItem1AnnotationQueues3$inboundSchema
1747
- ),
1748
- ])),
1749
- z.string(),
1750
- ]),
1751
- status:
1752
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesStatus$inboundSchema,
1753
- created_by: z.string().optional(),
1754
- }).transform((v) => {
1755
- return remap$(v, {
1756
- "call_id": "callId",
1757
- "created_by": "createdBy",
1758
- });
1759
- });
1760
-
1761
- export function retrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody13FromJSON(
1762
- jsonString: string,
1763
- ): SafeParseResult<
1764
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody13,
1765
- SDKValidationError
1766
- > {
1767
- return safeParse(
1768
- jsonString,
1769
- (x) =>
1770
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody13$inboundSchema
1771
- .parse(JSON.parse(x)),
1772
- `Failed to parse 'RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody13' from JSON`,
1773
- );
1774
- }
1775
-
1776
- /** @internal */
1777
- export const RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesType$inboundSchema:
1778
- z.ZodNativeEnum<
1779
- typeof RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesType
1780
- > = z.nativeEnum(
1781
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesType,
1782
- );
1783
-
1784
- /** @internal */
1785
- export const RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesStatus$inboundSchema:
1786
- z.ZodNativeEnum<
1787
- typeof RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesStatus
1788
- > = z.nativeEnum(
1789
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesStatus,
1790
- );
1791
-
1792
- /** @internal */
1793
- export const RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody12$inboundSchema:
1794
- z.ZodType<
1795
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody12,
1796
- z.ZodTypeDef,
1797
- unknown
1798
- > = z.object({
1799
- type:
1800
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesType$inboundSchema
1801
- .default("function_call"),
1802
- id: z.string(),
1803
- call_id: z.string(),
1804
- name: z.string(),
1805
- arguments: z.string(),
1806
- status:
1807
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesStatus$inboundSchema,
1808
- created_by: z.string().optional(),
1809
- }).transform((v) => {
1810
- return remap$(v, {
1811
- "call_id": "callId",
1812
- "created_by": "createdBy",
1813
- });
1814
- });
1815
-
1816
- export function retrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody12FromJSON(
1817
- jsonString: string,
1818
- ): SafeParseResult<
1819
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody12,
1820
- SDKValidationError
1821
- > {
1822
- return safeParse(
1823
- jsonString,
1824
- (x) =>
1825
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody12$inboundSchema
1826
- .parse(JSON.parse(x)),
1827
- `Failed to parse 'RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody12' from JSON`,
1828
- );
1829
- }
1830
-
1831
- /** @internal */
1832
- export const RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1Type$inboundSchema:
1833
- z.ZodNativeEnum<
1834
- typeof RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1Type
1835
- > = z.nativeEnum(
1836
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1Type,
1837
- );
1838
-
1839
- /** @internal */
1840
- export const RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1Status$inboundSchema:
1841
- z.ZodNativeEnum<
1842
- typeof RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1Status
1843
- > = z.nativeEnum(
1844
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1Status,
1845
- );
1846
-
1847
- /** @internal */
1848
- export const RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1Role$inboundSchema:
1849
- z.ZodNativeEnum<
1850
- typeof RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1Role
1851
- > = z.nativeEnum(
1852
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1Role,
1853
- );
1854
-
1855
- /** @internal */
1856
- export const RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesOutputType$inboundSchema:
1857
- z.ZodNativeEnum<
1858
- typeof RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesOutputType
1859
- > = z.nativeEnum(
1860
- RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesOutputType,
1861
- );
1862
-
1863
- /** @internal */
1864
- export const Content9$inboundSchema: z.ZodType<
1865
- Content9,
1866
- z.ZodTypeDef,
1867
- unknown
1868
- > = z.object({
1869
- type:
1870
- RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesOutputType$inboundSchema,
1871
- video_url: z.string(),
1872
- }).transform((v) => {
1873
- return remap$(v, {
1874
- "video_url": "videoUrl",
1875
- });
1876
- });
1877
-
1878
- export function content9FromJSON(
1879
- jsonString: string,
1880
- ): SafeParseResult<Content9, SDKValidationError> {
1881
- return safeParse(
1882
- jsonString,
1883
- (x) => Content9$inboundSchema.parse(JSON.parse(x)),
1884
- `Failed to parse 'Content9' from JSON`,
1885
- );
1886
- }
1887
-
1888
- /** @internal */
1889
- export const RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesType$inboundSchema:
1890
- z.ZodNativeEnum<
1891
- typeof RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesType
1892
- > = z.nativeEnum(
1893
- RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesType,
1894
- );
1895
-
1896
- /** @internal */
1897
- export const Content8$inboundSchema: z.ZodType<
1898
- Content8,
1899
- z.ZodTypeDef,
1900
- unknown
1901
- > = z.object({
1902
- type:
1903
- RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesType$inboundSchema
1904
- .default("input_file"),
1905
- filename: z.string().optional(),
1906
- file_url: z.string().optional(),
1907
- }).transform((v) => {
1908
- return remap$(v, {
1909
- "file_url": "fileUrl",
1910
- });
1911
- });
1912
-
1913
- export function content8FromJSON(
1914
- jsonString: string,
1915
- ): SafeParseResult<Content8, SDKValidationError> {
1916
- return safeParse(
1917
- jsonString,
1918
- (x) => Content8$inboundSchema.parse(JSON.parse(x)),
1919
- `Failed to parse 'Content8' from JSON`,
1920
- );
1921
- }
1922
-
1923
- /** @internal */
1924
- export const RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesType$inboundSchema:
1925
- z.ZodNativeEnum<
1926
- typeof RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesType
1927
- > = z.nativeEnum(
1928
- RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesType,
1929
- );
1930
-
1931
- /** @internal */
1932
- export const RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1Detail$inboundSchema:
1933
- z.ZodNativeEnum<
1934
- typeof RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1Detail
1935
- > = z.nativeEnum(
1936
- RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1Detail,
1937
- );
1938
-
1939
- /** @internal */
1940
- export const Content7$inboundSchema: z.ZodType<
1941
- Content7,
1942
- z.ZodTypeDef,
1943
- unknown
1944
- > = z.object({
1945
- type:
1946
- RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesType$inboundSchema
1947
- .default("input_image"),
1948
- image_url: z.nullable(z.string()),
1949
- detail:
1950
- RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1Detail$inboundSchema,
1951
- }).transform((v) => {
1952
- return remap$(v, {
1953
- "image_url": "imageUrl",
1954
- });
1955
- });
1956
-
1957
- export function content7FromJSON(
1958
- jsonString: string,
1959
- ): SafeParseResult<Content7, SDKValidationError> {
1960
- return safeParse(
1961
- jsonString,
1962
- (x) => Content7$inboundSchema.parse(JSON.parse(x)),
1963
- `Failed to parse 'Content7' from JSON`,
1964
- );
1965
- }
1966
-
1967
- /** @internal */
1968
- export const RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1Type$inboundSchema:
1969
- z.ZodNativeEnum<
1970
- typeof RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1Type
1971
- > = z.nativeEnum(
1972
- RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1Type,
1973
- );
1974
-
1975
- /** @internal */
1976
- export const Content6$inboundSchema: z.ZodType<
1977
- Content6,
1978
- z.ZodTypeDef,
1979
- unknown
1980
- > = z.object({
1981
- type:
1982
- RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1Type$inboundSchema
1983
- .default("refusal"),
1984
- refusal: z.string(),
1985
- });
1986
-
1987
- export function content6FromJSON(
1988
- jsonString: string,
1989
- ): SafeParseResult<Content6, SDKValidationError> {
1990
- return safeParse(
1991
- jsonString,
1992
- (x) => Content6$inboundSchema.parse(JSON.parse(x)),
1993
- `Failed to parse 'Content6' from JSON`,
1994
- );
1995
- }
1996
-
1997
- /** @internal */
1998
- export const RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBodyType$inboundSchema:
1999
- z.ZodNativeEnum<
2000
- typeof RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBodyType
2001
- > = z.nativeEnum(
2002
- RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBodyType,
2003
- );
2004
-
2005
- /** @internal */
2006
- export const Content5$inboundSchema: z.ZodType<
2007
- Content5,
2008
- z.ZodTypeDef,
2009
- unknown
2010
- > = z.object({
2011
- type:
2012
- RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBodyType$inboundSchema
2013
- .default("reasoning_text"),
2014
- text: z.string(),
2015
- });
2016
-
2017
- export function content5FromJSON(
2018
- jsonString: string,
2019
- ): SafeParseResult<Content5, SDKValidationError> {
2020
- return safeParse(
2021
- jsonString,
2022
- (x) => Content5$inboundSchema.parse(JSON.parse(x)),
2023
- `Failed to parse 'Content5' from JSON`,
2024
- );
2025
- }
2026
-
2027
- /** @internal */
2028
- export const RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONType$inboundSchema:
2029
- z.ZodNativeEnum<
2030
- typeof RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONType
2031
- > = z.nativeEnum(
2032
- RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONType,
2033
- );
2034
-
2035
- /** @internal */
2036
- export const Content4$inboundSchema: z.ZodType<
2037
- Content4,
2038
- z.ZodTypeDef,
2039
- unknown
2040
- > = z.object({
2041
- type:
2042
- RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONType$inboundSchema
2043
- .default("summary_text"),
2044
- text: z.string(),
2045
- });
2046
-
2047
- export function content4FromJSON(
2048
- jsonString: string,
2049
- ): SafeParseResult<Content4, SDKValidationError> {
2050
- return safeParse(
2051
- jsonString,
2052
- (x) => Content4$inboundSchema.parse(JSON.parse(x)),
2053
- `Failed to parse 'Content4' from JSON`,
2054
- );
2055
- }
2056
-
2057
- /** @internal */
2058
- export const RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200Type$inboundSchema:
2059
- z.ZodNativeEnum<
2060
- typeof RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200Type
2061
- > = z.nativeEnum(
2062
- RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200Type,
2063
- );
2064
-
2065
- /** @internal */
2066
- export const Content3$inboundSchema: z.ZodType<
2067
- Content3,
2068
- z.ZodTypeDef,
2069
- unknown
2070
- > = z.object({
2071
- type:
2072
- RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200Type$inboundSchema
2073
- .default("text"),
2074
- text: z.string(),
2075
- });
2076
-
2077
- export function content3FromJSON(
2078
- jsonString: string,
2079
- ): SafeParseResult<Content3, SDKValidationError> {
2080
- return safeParse(
2081
- jsonString,
2082
- (x) => Content3$inboundSchema.parse(JSON.parse(x)),
2083
- `Failed to parse 'Content3' from JSON`,
2084
- );
2085
- }
2086
-
2087
- /** @internal */
2088
- export const RetrieveAnnotationQueueItemContentAnnotationQueuesResponseType$inboundSchema:
2089
- z.ZodNativeEnum<
2090
- typeof RetrieveAnnotationQueueItemContentAnnotationQueuesResponseType
2091
- > = z.nativeEnum(
2092
- RetrieveAnnotationQueueItemContentAnnotationQueuesResponseType,
2093
- );
2094
-
2095
- /** @internal */
2096
- export const RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesOutput1Type$inboundSchema:
2097
- z.ZodNativeEnum<
2098
- typeof RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesOutput1Type
2099
- > = z.nativeEnum(
2100
- RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesOutput1Type,
2101
- );
2102
-
2103
- /** @internal */
2104
- export const RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1Annotations$inboundSchema:
2105
- z.ZodType<
2106
- RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1Annotations,
2107
- z.ZodTypeDef,
2108
- unknown
2109
- > = z.object({
2110
- type:
2111
- RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1AttributesOpenresponsesOutput1Type$inboundSchema
2112
- .default("url_citation"),
2113
- url: z.string(),
2114
- start_index: z.number().int(),
2115
- end_index: z.number().int(),
2116
- title: z.string(),
2117
- }).transform((v) => {
2118
- return remap$(v, {
2119
- "start_index": "startIndex",
2120
- "end_index": "endIndex",
2121
- });
2122
- });
2123
-
2124
- export function retrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1AnnotationsFromJSON(
2125
- jsonString: string,
2126
- ): SafeParseResult<
2127
- RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1Annotations,
2128
- SDKValidationError
2129
- > {
2130
- return safeParse(
2131
- jsonString,
2132
- (x) =>
2133
- RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1Annotations$inboundSchema
2134
- .parse(JSON.parse(x)),
2135
- `Failed to parse 'RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1Annotations' from JSON`,
2136
- );
2137
- }
2138
-
2139
- /** @internal */
2140
- export const ContentTopLogprobs$inboundSchema: z.ZodType<
2141
- ContentTopLogprobs,
2142
- z.ZodTypeDef,
2143
- unknown
2144
- > = z.object({
2145
- token: z.string(),
2146
- logprob: z.number(),
2147
- bytes: z.array(z.number().int()),
2148
- });
2149
-
2150
- export function contentTopLogprobsFromJSON(
2151
- jsonString: string,
2152
- ): SafeParseResult<ContentTopLogprobs, SDKValidationError> {
2153
- return safeParse(
2154
- jsonString,
2155
- (x) => ContentTopLogprobs$inboundSchema.parse(JSON.parse(x)),
2156
- `Failed to parse 'ContentTopLogprobs' from JSON`,
2157
- );
2158
- }
2159
-
2160
- /** @internal */
2161
- export const ContentLogprobs$inboundSchema: z.ZodType<
2162
- ContentLogprobs,
2163
- z.ZodTypeDef,
2164
- unknown
2165
- > = z.object({
2166
- token: z.string(),
2167
- logprob: z.number(),
2168
- bytes: z.array(z.number().int()),
2169
- top_logprobs: z.array(z.lazy(() => ContentTopLogprobs$inboundSchema)),
2170
- }).transform((v) => {
2171
- return remap$(v, {
2172
- "top_logprobs": "topLogprobs",
2173
- });
2174
- });
2175
-
2176
- export function contentLogprobsFromJSON(
2177
- jsonString: string,
2178
- ): SafeParseResult<ContentLogprobs, SDKValidationError> {
2179
- return safeParse(
2180
- jsonString,
2181
- (x) => ContentLogprobs$inboundSchema.parse(JSON.parse(x)),
2182
- `Failed to parse 'ContentLogprobs' from JSON`,
2183
- );
2184
- }
2185
-
2186
- /** @internal */
2187
- export const RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody12$inboundSchema:
2188
- z.ZodType<
2189
- RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody12,
2190
- z.ZodTypeDef,
2191
- unknown
2192
- > = z.object({
2193
- type:
2194
- RetrieveAnnotationQueueItemContentAnnotationQueuesResponseType$inboundSchema
2195
- .default("output_text"),
2196
- text: z.string(),
2197
- annotations: z.array(
2198
- z.lazy(() =>
2199
- RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody1Annotations$inboundSchema
2200
- ),
2201
- ),
2202
- logprobs: z.array(z.lazy(() => ContentLogprobs$inboundSchema)),
2203
- });
2204
-
2205
- export function retrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody12FromJSON(
2206
- jsonString: string,
2207
- ): SafeParseResult<
2208
- RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody12,
2209
- SDKValidationError
2210
- > {
2211
- return safeParse(
2212
- jsonString,
2213
- (x) =>
2214
- RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody12$inboundSchema
2215
- .parse(JSON.parse(x)),
2216
- `Failed to parse 'RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody12' from JSON`,
2217
- );
2218
- }
2219
-
2220
- /** @internal */
2221
- export const RetrieveAnnotationQueueItemContentAnnotationQueuesType$inboundSchema:
2222
- z.ZodNativeEnum<
2223
- typeof RetrieveAnnotationQueueItemContentAnnotationQueuesType
2224
- > = z.nativeEnum(RetrieveAnnotationQueueItemContentAnnotationQueuesType);
2225
-
2226
- /** @internal */
2227
- export const RetrieveAnnotationQueueItemContentAnnotationQueuesResponse2001$inboundSchema:
2228
- z.ZodType<
2229
- RetrieveAnnotationQueueItemContentAnnotationQueuesResponse2001,
2230
- z.ZodTypeDef,
2231
- unknown
2232
- > = z.object({
2233
- type: RetrieveAnnotationQueueItemContentAnnotationQueuesType$inboundSchema
2234
- .default("input_text"),
2235
- text: z.string(),
2236
- });
2237
-
2238
- export function retrieveAnnotationQueueItemContentAnnotationQueuesResponse2001FromJSON(
2239
- jsonString: string,
2240
- ): SafeParseResult<
2241
- RetrieveAnnotationQueueItemContentAnnotationQueuesResponse2001,
2242
- SDKValidationError
2243
- > {
2244
- return safeParse(
2245
- jsonString,
2246
- (x) =>
2247
- RetrieveAnnotationQueueItemContentAnnotationQueuesResponse2001$inboundSchema
2248
- .parse(JSON.parse(x)),
2249
- `Failed to parse 'RetrieveAnnotationQueueItemContentAnnotationQueuesResponse2001' from JSON`,
2250
- );
2251
- }
2252
-
2253
- /** @internal */
2254
- export const RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1Content$inboundSchema:
2255
- z.ZodType<
2256
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1Content,
2257
- z.ZodTypeDef,
2258
- unknown
2259
- > = z.union([
2260
- z.lazy(() =>
2261
- RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody12$inboundSchema
2262
- ),
2263
- z.lazy(() => Content7$inboundSchema),
2264
- z.lazy(() => Content9$inboundSchema),
2265
- z.lazy(() =>
2266
- RetrieveAnnotationQueueItemContentAnnotationQueuesResponse2001$inboundSchema
2267
- ),
2268
- z.lazy(() => Content3$inboundSchema),
2269
- z.lazy(() => Content4$inboundSchema),
2270
- z.lazy(() => Content5$inboundSchema),
2271
- z.lazy(() => Content6$inboundSchema),
2272
- z.lazy(() => Content8$inboundSchema),
2273
- ]);
2274
-
2275
- export function retrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1ContentFromJSON(
2276
- jsonString: string,
2277
- ): SafeParseResult<
2278
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1Content,
2279
- SDKValidationError
2280
- > {
2281
- return safeParse(
2282
- jsonString,
2283
- (x) =>
2284
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1Content$inboundSchema
2285
- .parse(JSON.parse(x)),
2286
- `Failed to parse 'RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1Content' from JSON`,
2287
- );
2288
- }
2289
-
2290
- /** @internal */
2291
- export const RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody11$inboundSchema:
2292
- z.ZodType<
2293
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody11,
2294
- z.ZodTypeDef,
2295
- unknown
2296
- > = z.object({
2297
- type:
2298
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1Type$inboundSchema
2299
- .default("message"),
2300
- id: z.string(),
2301
- status:
2302
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1Status$inboundSchema,
2303
- role:
2304
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody1Role$inboundSchema,
2305
- content: z.array(
2306
- z.union([
2307
- z.lazy(() =>
2308
- RetrieveAnnotationQueueItemContentAnnotationQueuesResponse200ApplicationJSONResponseBody12$inboundSchema
2309
- ),
2310
- z.lazy(() => Content7$inboundSchema),
2311
- z.lazy(() => Content9$inboundSchema),
2312
- z.lazy(() =>
2313
- RetrieveAnnotationQueueItemContentAnnotationQueuesResponse2001$inboundSchema
2314
- ),
2315
- z.lazy(() => Content3$inboundSchema),
2316
- z.lazy(() => Content4$inboundSchema),
2317
- z.lazy(() => Content5$inboundSchema),
2318
- z.lazy(() => Content6$inboundSchema),
2319
- z.lazy(() => Content8$inboundSchema),
2320
- ]),
2321
- ),
2322
- });
2323
-
2324
- export function retrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody11FromJSON(
2325
- jsonString: string,
2326
- ): SafeParseResult<
2327
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody11,
2328
- SDKValidationError
2329
- > {
2330
- return safeParse(
2331
- jsonString,
2332
- (x) =>
2333
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody11$inboundSchema
2334
- .parse(JSON.parse(x)),
2335
- `Failed to parse 'RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody11' from JSON`,
2336
- );
2337
- }
2338
-
2339
- /** @internal */
2340
- export const RetrieveAnnotationQueueItemResponseBodyAnnotationQueuesResponse200ApplicationJson1Output$inboundSchema:
2341
- z.ZodType<
2342
- RetrieveAnnotationQueueItemResponseBodyAnnotationQueuesResponse200ApplicationJson1Output,
2343
- z.ZodTypeDef,
2344
- unknown
2345
- > = z.union([
2346
- z.lazy(() =>
2347
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody12$inboundSchema
2348
- ),
2349
- z.lazy(() =>
2350
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody11$inboundSchema
2351
- ),
2352
- z.lazy(() =>
2353
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody13$inboundSchema
2354
- ),
2355
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody15$inboundSchema,
2356
- z.lazy(() =>
2357
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody14$inboundSchema
2358
- ),
2359
- ]);
2360
-
2361
- export function retrieveAnnotationQueueItemResponseBodyAnnotationQueuesResponse200ApplicationJSON1OutputFromJSON(
2362
- jsonString: string,
2363
- ): SafeParseResult<
2364
- RetrieveAnnotationQueueItemResponseBodyAnnotationQueuesResponse200ApplicationJson1Output,
2365
- SDKValidationError
2366
- > {
2367
- return safeParse(
2368
- jsonString,
2369
- (x) =>
2370
- RetrieveAnnotationQueueItemResponseBodyAnnotationQueuesResponse200ApplicationJson1Output$inboundSchema
2371
- .parse(JSON.parse(x)),
2372
- `Failed to parse 'RetrieveAnnotationQueueItemResponseBodyAnnotationQueuesResponse200ApplicationJson1Output' from JSON`,
2373
- );
2374
- }
2375
-
2376
- /** @internal */
2377
- export const RetrieveAnnotationQueueItemResponseBodyAnnotationQueuesResponse200ApplicationJson1Truncation$inboundSchema:
2378
- z.ZodNativeEnum<
2379
- typeof RetrieveAnnotationQueueItemResponseBodyAnnotationQueuesResponse200ApplicationJson1Truncation
2380
- > = z.nativeEnum(
2381
- RetrieveAnnotationQueueItemResponseBodyAnnotationQueuesResponse200ApplicationJson1Truncation,
2382
- );
2383
-
2384
- /** @internal */
2385
- export const RetrieveAnnotationQueueItemResponseBodyAnnotationQueuesResponse200ApplicationJson1ServiceTier$inboundSchema:
2386
- z.ZodNativeEnum<
2387
- typeof RetrieveAnnotationQueueItemResponseBodyAnnotationQueuesResponse200ApplicationJson1ServiceTier
2388
- > = z.nativeEnum(
2389
- RetrieveAnnotationQueueItemResponseBodyAnnotationQueuesResponse200ApplicationJson1ServiceTier,
2390
- );
2391
-
2392
- /** @internal */
2393
- export const RetrieveAnnotationQueueItemResponseBodyAnnotationQueuesResponse200ApplicationJson1AttributesOpenresponsesType$inboundSchema:
2394
- z.ZodNativeEnum<
2395
- typeof RetrieveAnnotationQueueItemResponseBodyAnnotationQueuesResponse200ApplicationJson1AttributesOpenresponsesType
2396
- > = z.nativeEnum(
2397
- RetrieveAnnotationQueueItemResponseBodyAnnotationQueuesResponse200ApplicationJson1AttributesOpenresponsesType,
2398
- );
2399
-
2400
- /** @internal */
2401
- export const RetrieveAnnotationQueueItemResponseBodyAnnotationQueuesResponse200ApplicationJson1Tools$inboundSchema:
2402
- z.ZodType<
2403
- RetrieveAnnotationQueueItemResponseBodyAnnotationQueuesResponse200ApplicationJson1Tools,
2404
- z.ZodTypeDef,
2405
- unknown
2406
- > = z.object({
2407
- type:
2408
- RetrieveAnnotationQueueItemResponseBodyAnnotationQueuesResponse200ApplicationJson1AttributesOpenresponsesType$inboundSchema
2409
- .default("function"),
2410
- name: z.string(),
2411
- description: z.nullable(z.string()),
2412
- parameters: z.nullable(z.record(z.any())),
2413
- strict: z.nullable(z.boolean()),
2414
- });
2415
-
2416
- export function retrieveAnnotationQueueItemResponseBodyAnnotationQueuesResponse200ApplicationJSON1ToolsFromJSON(
2417
- jsonString: string,
2418
- ): SafeParseResult<
2419
- RetrieveAnnotationQueueItemResponseBodyAnnotationQueuesResponse200ApplicationJson1Tools,
2420
- SDKValidationError
2421
- > {
2422
- return safeParse(
2423
- jsonString,
2424
- (x) =>
2425
- RetrieveAnnotationQueueItemResponseBodyAnnotationQueuesResponse200ApplicationJson1Tools$inboundSchema
2426
- .parse(JSON.parse(x)),
2427
- `Failed to parse 'RetrieveAnnotationQueueItemResponseBodyAnnotationQueuesResponse200ApplicationJson1Tools' from JSON`,
2428
- );
2429
- }
2430
-
2431
- /** @internal */
2432
- export const Openresponses$inboundSchema: z.ZodType<
2433
- Openresponses,
2434
- z.ZodTypeDef,
2435
- unknown
2436
- > = collectExtraKeys$(
2437
- z.object({
2438
- input: z.array(
2439
- RetrieveAnnotationQueueItemResponseBodyAnnotationQueuesResponse200ApplicationJson1Input$inboundSchema,
2440
- ).optional(),
2441
- output: z.array(z.union([
2442
- z.lazy(() =>
2443
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody12$inboundSchema
2444
- ),
2445
- z.lazy(() =>
2446
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody11$inboundSchema
2447
- ),
2448
- z.lazy(() =>
2449
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody13$inboundSchema
2450
- ),
2451
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody15$inboundSchema,
2452
- z.lazy(() =>
2453
- RetrieveAnnotationQueueItemOutputAnnotationQueuesResponse200ApplicationJSONResponseBody14$inboundSchema
2454
- ),
2455
- ])).optional(),
2456
- object: z.string().optional(),
2457
- created_at: z.number().optional(),
2458
- status: z.string().optional(),
2459
- completed_at: z.string().optional(),
2460
- incomplete_details: z.string().optional(),
2461
- error: z.string().optional(),
2462
- previous_response_id: z.string().optional(),
2463
- instructions: z.string().optional(),
2464
- truncation:
2465
- RetrieveAnnotationQueueItemResponseBodyAnnotationQueuesResponse200ApplicationJson1Truncation$inboundSchema
2466
- .optional(),
2467
- service_tier:
2468
- RetrieveAnnotationQueueItemResponseBodyAnnotationQueuesResponse200ApplicationJson1ServiceTier$inboundSchema
2469
- .optional(),
2470
- safety_identifier: z.string().optional(),
2471
- prompt_cache_key: z.string().optional(),
2472
- user: z.string().optional(),
2473
- temperature: z.number().optional(),
2474
- top_p: z.number().optional(),
2475
- presence_penalty: z.number().optional(),
2476
- frequency_penalty: z.number().optional(),
2477
- parallel_tool_calls: z.boolean().optional(),
2478
- stream: z.boolean().optional(),
2479
- background: z.boolean().optional(),
2480
- store: z.boolean().optional(),
2481
- top_logprobs: z.number().optional(),
2482
- max_output_tokens: z.number().optional(),
2483
- max_tool_calls: z.number().optional(),
2484
- tools: z.array(z.lazy(() =>
2485
- RetrieveAnnotationQueueItemResponseBodyAnnotationQueuesResponse200ApplicationJson1Tools$inboundSchema
2486
- )).optional(),
2487
- tools_count: z.number().optional(),
2488
- tool_choice: z.string().optional(),
2489
- metadata: z.record(z.any()).optional(),
2490
- text: z.string().optional(),
2491
- stream_options: z.string().optional(),
2492
- reasoning: z.string().optional(),
2493
- include: z.string().optional(),
2494
- include_count: z.number().optional(),
2495
- }).catchall(z.any()),
2496
- "additionalProperties",
2497
- true,
2498
- ).transform((v) => {
2499
- return remap$(v, {
2500
- "created_at": "createdAt",
2501
- "completed_at": "completedAt",
2502
- "incomplete_details": "incompleteDetails",
2503
- "previous_response_id": "previousResponseId",
2504
- "service_tier": "serviceTier",
2505
- "safety_identifier": "safetyIdentifier",
2506
- "prompt_cache_key": "promptCacheKey",
2507
- "top_p": "topP",
2508
- "presence_penalty": "presencePenalty",
2509
- "frequency_penalty": "frequencyPenalty",
2510
- "parallel_tool_calls": "parallelToolCalls",
2511
- "top_logprobs": "topLogprobs",
2512
- "max_output_tokens": "maxOutputTokens",
2513
- "max_tool_calls": "maxToolCalls",
2514
- "tools_count": "toolsCount",
2515
- "tool_choice": "toolChoice",
2516
- "stream_options": "streamOptions",
2517
- "include_count": "includeCount",
2518
- });
2519
- });
2520
-
2521
- export function openresponsesFromJSON(
2522
- jsonString: string,
2523
- ): SafeParseResult<Openresponses, SDKValidationError> {
2524
- return safeParse(
2525
- jsonString,
2526
- (x) => Openresponses$inboundSchema.parse(JSON.parse(x)),
2527
- `Failed to parse 'Openresponses' from JSON`,
2528
- );
2529
- }
2530
-
2531
- /** @internal */
2532
- export const Attributes$inboundSchema: z.ZodType<
2533
- Attributes,
2534
- z.ZodTypeDef,
2535
- unknown
2536
- > = z.object({
2537
- type:
2538
- RetrieveAnnotationQueueItemResponseBodyAnnotationQueuesResponse200ApplicationJson1Type$inboundSchema
2539
- .default("generic"),
2540
- gen_ai: GenAi$inboundSchema.optional(),
2541
- agent: Agent$inboundSchema.optional(),
2542
- orq: ResponseBodyOrq$inboundSchema.optional(),
2543
- otel: Otel$inboundSchema.optional(),
2544
- otlp: Otlp$inboundSchema.optional(),
2545
- http: RetrieveAnnotationQueueItemResponseBodyHttp$inboundSchema.optional(),
2546
- openresponses: z.lazy(() => Openresponses$inboundSchema).optional(),
2547
- metadata: z.nullable(z.record(z.any())).optional(),
2548
- }).transform((v) => {
2549
- return remap$(v, {
2550
- "gen_ai": "genAi",
2551
- });
2552
- });
2553
-
2554
- export function attributesFromJSON(
2555
- jsonString: string,
2556
- ): SafeParseResult<Attributes, SDKValidationError> {
2557
- return safeParse(
2558
- jsonString,
2559
- (x) => Attributes$inboundSchema.parse(JSON.parse(x)),
2560
- `Failed to parse 'Attributes' from JSON`,
2561
- );
2562
- }
2563
-
2564
- /** @internal */
2565
- export const RetrieveAnnotationQueueItemResponseBody1$inboundSchema: z.ZodType<
2566
- RetrieveAnnotationQueueItemResponseBody1,
2567
- z.ZodTypeDef,
2568
- unknown
2569
- > = z.object({
2570
- _id: z.string().default("01KZZ6SK2TEB7CEKJA8A339VYD"),
2571
- name: z.string().optional(),
2572
- trace_id: z.string(),
2573
- duration: z.number().optional(),
2574
- total_tokens: z.number().optional(),
2575
- total_cost: z.number().optional(),
2576
- billable: z.boolean().optional(),
2577
- session_id: z.nullable(z.string()).optional(),
2578
- context: Context$inboundSchema.optional(),
2579
- parent_id: z.nullable(z.string()).optional(),
2580
- start_time: z.string().optional(),
2581
- end_time: z.string().optional(),
2582
- events: z.array(z.record(z.any())).optional(),
2583
- attributes: z.lazy(() => Attributes$inboundSchema).optional(),
2584
- type: z.literal("span.generic"),
2585
- input: z.record(z.any()),
2586
- output: z.record(z.any()),
2587
- }).transform((v) => {
2588
- return remap$(v, {
2589
- "_id": "id",
2590
- "trace_id": "traceId",
2591
- "total_tokens": "totalTokens",
2592
- "total_cost": "totalCost",
2593
- "session_id": "sessionId",
2594
- "parent_id": "parentId",
2595
- "start_time": "startTime",
2596
- "end_time": "endTime",
2597
- });
2598
- });
2599
-
2600
- export function retrieveAnnotationQueueItemResponseBody1FromJSON(
2601
- jsonString: string,
2602
- ): SafeParseResult<
2603
- RetrieveAnnotationQueueItemResponseBody1,
2604
- SDKValidationError
2605
- > {
2606
- return safeParse(
2607
- jsonString,
2608
- (x) =>
2609
- RetrieveAnnotationQueueItemResponseBody1$inboundSchema.parse(
2610
- JSON.parse(x),
2611
- ),
2612
- `Failed to parse 'RetrieveAnnotationQueueItemResponseBody1' from JSON`,
2613
- );
2614
- }
2615
-
2616
- /** @internal */
2617
- export const RetrieveAnnotationQueueItemResponseBody$inboundSchema: z.ZodType<
2618
- RetrieveAnnotationQueueItemResponseBody,
2619
- z.ZodTypeDef,
2620
- unknown
2621
- > = z.union([
2622
- z.lazy(() => RetrieveAnnotationQueueItemResponseBody1$inboundSchema),
2623
- RetrieveAnnotationQueueItemResponseBody2$inboundSchema,
2624
- ResponseBody3$inboundSchema,
2625
- ResponseBody4$inboundSchema,
2626
- Five$inboundSchema,
2627
- Six$inboundSchema,
2628
- Seven$inboundSchema,
2629
- Eight$inboundSchema,
2630
- Nine$inboundSchema,
2631
- Ten$inboundSchema,
2632
- Eleven$inboundSchema,
2633
- Twelve$inboundSchema,
2634
- Thirteen$inboundSchema,
2635
- Fourteen$inboundSchema,
2636
- Fifteen$inboundSchema,
2637
- Sixteen$inboundSchema,
2638
- Seventeen$inboundSchema,
2639
- Eighteen$inboundSchema,
2640
- Nineteen$inboundSchema,
2641
- Twenty$inboundSchema,
2642
- TwentyOne$inboundSchema,
2643
- TwentyTwo$inboundSchema,
2644
- TwentyThree$inboundSchema,
2645
- TwentyFour$inboundSchema,
2646
- TwentyFive$inboundSchema,
2647
- TwentySix$inboundSchema,
2648
- TwentySeven$inboundSchema,
2649
- TwentyEight$inboundSchema,
2650
- TwentyNine$inboundSchema,
2651
- Thirty$inboundSchema,
2652
- ThirtyOne$inboundSchema,
2653
- ThirtyTwo$inboundSchema,
2654
- ThirtyThree$inboundSchema,
2655
- ThirtyFour$inboundSchema,
2656
- ThirtyFive$inboundSchema,
2657
- ]);
2658
-
2659
- export function retrieveAnnotationQueueItemResponseBodyFromJSON(
2660
- jsonString: string,
2661
- ): SafeParseResult<
2662
- RetrieveAnnotationQueueItemResponseBody,
2663
- SDKValidationError
2664
- > {
2665
- return safeParse(
2666
- jsonString,
2667
- (x) =>
2668
- RetrieveAnnotationQueueItemResponseBody$inboundSchema.parse(
2669
- JSON.parse(x),
2670
- ),
2671
- `Failed to parse 'RetrieveAnnotationQueueItemResponseBody' from JSON`,
2672
- );
2673
- }