@orq-ai/node 4.13.0-rc.41 → 4.13.0-rc.43

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 (469) hide show
  1. package/README.md +36 -55
  2. package/jsr.json +1 -1
  3. package/lib/config.d.ts +2 -2
  4. package/lib/config.js +2 -2
  5. package/models/components/evaluatorresponsefunction.js +2 -2
  6. package/models/components/evaluatorresponsehttp.js +2 -2
  7. package/models/components/evaluatorresponsejsonschema.js +2 -2
  8. package/models/components/evaluatorresponsellm.js +2 -2
  9. package/models/components/evaluatorresponsepython.js +2 -2
  10. package/models/components/evaluatorresponseragas.js +2 -2
  11. package/models/components/evaluatorresponsetypescript.js +2 -2
  12. package/models/components/index.d.ts +0 -17
  13. package/models/components/index.d.ts.map +1 -1
  14. package/models/components/index.js +0 -17
  15. package/models/components/index.js.map +1 -1
  16. package/models/components/modeldocument.d.ts +1 -0
  17. package/models/components/modeldocument.d.ts.map +1 -1
  18. package/models/components/modeldocument.js +2 -0
  19. package/models/components/modeldocument.js.map +1 -1
  20. package/models/components/queryreportrequest.d.ts +10 -10
  21. package/models/components/queryreportrequest.d.ts.map +1 -1
  22. package/models/components/queryreportrequest.js +11 -11
  23. package/models/components/queryreportrequest.js.map +1 -1
  24. package/models/components/reasoningpart.js +1 -1
  25. package/models/operations/billing.js +1 -1
  26. package/models/operations/createannotationqueue.js +1 -1
  27. package/models/operations/createdataset.js +1 -1
  28. package/models/operations/createdatasetitem.js +5 -5
  29. package/models/operations/createdatasource.js +1 -1
  30. package/models/operations/createtool.js +6 -6
  31. package/models/operations/getalltools.js +6 -6
  32. package/models/operations/geteval.js +16 -16
  33. package/models/operations/getv2humanevalsets.js +2 -2
  34. package/models/operations/getv2humanevalsetsid.js +2 -2
  35. package/models/operations/index.d.ts +0 -6
  36. package/models/operations/index.d.ts.map +1 -1
  37. package/models/operations/index.js +0 -6
  38. package/models/operations/index.js.map +1 -1
  39. package/models/operations/listannotationqueues.js +1 -1
  40. package/models/operations/listdatasetdatapoints.js +5 -5
  41. package/models/operations/listdatasets.js +1 -1
  42. package/models/operations/listdatasources.js +1 -1
  43. package/models/operations/modelcreate.d.ts +1 -0
  44. package/models/operations/modelcreate.d.ts.map +1 -1
  45. package/models/operations/modelcreate.js +2 -0
  46. package/models/operations/modelcreate.js.map +1 -1
  47. package/models/operations/modelcreateawsbedrock.d.ts +1 -0
  48. package/models/operations/modelcreateawsbedrock.d.ts.map +1 -1
  49. package/models/operations/modelcreateawsbedrock.js +2 -0
  50. package/models/operations/modelcreateawsbedrock.js.map +1 -1
  51. package/models/operations/modelcreateopenailike.d.ts +1 -0
  52. package/models/operations/modelcreateopenailike.d.ts.map +1 -1
  53. package/models/operations/modelcreateopenailike.js +2 -0
  54. package/models/operations/modelcreateopenailike.js.map +1 -1
  55. package/models/operations/modelcreatevertex.d.ts +1 -0
  56. package/models/operations/modelcreatevertex.d.ts.map +1 -1
  57. package/models/operations/modelcreatevertex.js +2 -0
  58. package/models/operations/modelcreatevertex.js.map +1 -1
  59. package/models/operations/modelupdate.d.ts +1 -0
  60. package/models/operations/modelupdate.d.ts.map +1 -1
  61. package/models/operations/modelupdate.js +2 -0
  62. package/models/operations/modelupdate.js.map +1 -1
  63. package/models/operations/modelupdateawsbedrock.d.ts +1 -0
  64. package/models/operations/modelupdateawsbedrock.d.ts.map +1 -1
  65. package/models/operations/modelupdateawsbedrock.js +2 -0
  66. package/models/operations/modelupdateawsbedrock.js.map +1 -1
  67. package/models/operations/modelupdateopenailike.d.ts +1 -0
  68. package/models/operations/modelupdateopenailike.d.ts.map +1 -1
  69. package/models/operations/modelupdateopenailike.js +2 -0
  70. package/models/operations/modelupdateopenailike.js.map +1 -1
  71. package/models/operations/patchv2humanevalsetsid.js +2 -2
  72. package/models/operations/postv2feedbackevaluation.js +4 -4
  73. package/models/operations/postv2humanevalsets.js +2 -2
  74. package/models/operations/retrieveannotationqueue.js +1 -1
  75. package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjson2.js +28 -28
  76. package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody14attributes2.js +28 -28
  77. package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody22attributesopenresponsesdetail.js +6 -6
  78. package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody23annotations.js +26 -26
  79. package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody27attributesopenresponsesoutput3type.js +6 -6
  80. package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody314.js +31 -31
  81. package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody5attributestype.js +22 -22
  82. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody11attributestoplogprobs.js +14 -14
  83. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody15attributesopenresponsesoutput4type.js +14 -14
  84. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody17attributesopenresponsesoutput44type.js +16 -16
  85. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody18type.js +24 -24
  86. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody1attributestype.js +2 -2
  87. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody21attributestoplogprobs.js +14 -14
  88. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody29attributestoplogprobs.js +14 -14
  89. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody32attributesopenresponsesoutput48type.js +18 -18
  90. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody66.js +2 -2
  91. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody7attributes5.js +16 -16
  92. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody9attributes8.js +18 -18
  93. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1017.js +4 -4
  94. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody11attributesorq7evaluatorconfigtype.js +21 -21
  95. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody12attributesorq15annotator.js +5 -5
  96. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody136.js +25 -25
  97. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody14attributesorq14type.js +7 -7
  98. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody15attributesorq7outputschema.js +21 -21
  99. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1618.js +3 -3
  100. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody17attributesorq8kind.js +18 -18
  101. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody18attributesorq12evaluatorconfigtype.js +11 -11
  102. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody19attributesorq5kind.js +24 -24
  103. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody20attributesorq14annotator.js +7 -7
  104. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody21attributesorq7evaluatorconfigtype.js +21 -21
  105. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody22attributesorqevaluatorconfigtype.js +28 -28
  106. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody23attributesorq13evaluationtype.js +9 -9
  107. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody24attributesorq7status.js +21 -21
  108. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody25attributesorq18type.js +2 -2
  109. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2611.js +15 -15
  110. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody27attributesorqevaluationtype.js +28 -28
  111. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody28attributesorq14annotator.js +7 -7
  112. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody29attributesorq7evaluatorconfigtype.js +21 -21
  113. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2attributesorq14type.js +7 -7
  114. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody30attributesorq18evaluationtype.js +2 -2
  115. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody31attributesorq16kind.js +4 -4
  116. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody32attributesorq9evaluatorconfigtype.js +17 -17
  117. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody33attributesannotator.js +30 -30
  118. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody34attributesorq12evaluationtype.js +11 -11
  119. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody35attributesorq5annotator.js +24 -24
  120. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody3attributesorq14evaluationtype.js +7 -7
  121. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody4attributesorq4kind.js +26 -26
  122. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody5attributesorq11evaluatorconfigtype.js +13 -13
  123. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6attributesorq19annotator.js +1 -1
  124. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6value.js +32 -32
  125. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody7attributesorq8evaluatorconfigtype.js +19 -19
  126. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody8attributesorq18annotator.js +2 -2
  127. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody9attributesorq9kind.js +17 -17
  128. package/models/operations/retrieveannotationqueueitemevaluationsannotator.js +32 -32
  129. package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody20attributesopenresponses6role.js +28 -28
  130. package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody26content.js +20 -20
  131. package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody28attributesopenresponses6role.js +28 -28
  132. package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody34attributesrole.js +24 -24
  133. package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200status.js +28 -28
  134. package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody12attributes1.js +30 -30
  135. package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody24attributescontent.js +14 -14
  136. package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody332.js +4 -4
  137. package/models/operations/retrieveannotationqueueitemresponsebody.js +1 -1
  138. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson10http.js +31 -31
  139. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson16settings.js +32 -32
  140. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson17context.js +1 -1
  141. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson22call.js +1 -1
  142. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson25engine.js +33 -33
  143. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson27conversation.js +1 -1
  144. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson30nodes.js +33 -33
  145. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson33token.js +1 -1
  146. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson8trace.js +33 -33
  147. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjsonresponse.js +1 -1
  148. package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse1.js +8 -8
  149. package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody13attributesopenresponsesoutputtype.js +10 -10
  150. package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody193.js +10 -10
  151. package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody35attributestype.js +10 -10
  152. package/models/operations/retrievedatapoint.js +5 -5
  153. package/models/operations/retrievedataset.js +1 -1
  154. package/models/operations/retrievedatasource.js +1 -1
  155. package/models/operations/retrievetool.js +6 -6
  156. package/models/operations/runagent.js +1 -1
  157. package/models/operations/streamrunagent.js +1 -1
  158. package/models/operations/twenty.js +1 -1
  159. package/models/operations/updateannotationqueue.js +1 -1
  160. package/models/operations/updatedatapoint.js +5 -5
  161. package/models/operations/updatedataset.js +1 -1
  162. package/models/operations/updatedatasource.js +1 -1
  163. package/models/operations/updatetool.js +7 -7
  164. package/package.json +6 -6
  165. package/sdk/alerts.d.ts +0 -7
  166. package/sdk/alerts.d.ts.map +1 -1
  167. package/sdk/alerts.js +0 -10
  168. package/sdk/alerts.js.map +1 -1
  169. package/sdk/budgets.d.ts +0 -7
  170. package/sdk/budgets.d.ts.map +1 -1
  171. package/sdk/budgets.js +0 -10
  172. package/sdk/budgets.js.map +1 -1
  173. package/sdk/feedback.d.ts +2 -2
  174. package/sdk/feedback.js +2 -2
  175. package/sdk/sdk.d.ts +0 -3
  176. package/sdk/sdk.d.ts.map +1 -1
  177. package/sdk/sdk.js +0 -4
  178. package/sdk/sdk.js.map +1 -1
  179. package/src/lib/config.ts +2 -2
  180. package/src/models/components/evaluatorresponsefunction.ts +2 -2
  181. package/src/models/components/evaluatorresponsehttp.ts +2 -2
  182. package/src/models/components/evaluatorresponsejsonschema.ts +2 -2
  183. package/src/models/components/evaluatorresponsellm.ts +2 -2
  184. package/src/models/components/evaluatorresponsepython.ts +2 -2
  185. package/src/models/components/evaluatorresponseragas.ts +2 -2
  186. package/src/models/components/evaluatorresponsetypescript.ts +2 -2
  187. package/src/models/components/index.ts +0 -17
  188. package/src/models/components/modeldocument.ts +3 -0
  189. package/src/models/components/queryreportrequest.ts +20 -24
  190. package/src/models/components/reasoningpart.ts +1 -1
  191. package/src/models/operations/billing.ts +1 -1
  192. package/src/models/operations/createannotationqueue.ts +1 -1
  193. package/src/models/operations/createdataset.ts +1 -1
  194. package/src/models/operations/createdatasetitem.ts +5 -5
  195. package/src/models/operations/createdatasource.ts +1 -1
  196. package/src/models/operations/createtool.ts +6 -6
  197. package/src/models/operations/getalltools.ts +6 -6
  198. package/src/models/operations/geteval.ts +16 -16
  199. package/src/models/operations/getv2humanevalsets.ts +2 -2
  200. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  201. package/src/models/operations/index.ts +0 -6
  202. package/src/models/operations/listannotationqueues.ts +1 -1
  203. package/src/models/operations/listdatasetdatapoints.ts +5 -5
  204. package/src/models/operations/listdatasets.ts +1 -1
  205. package/src/models/operations/listdatasources.ts +1 -1
  206. package/src/models/operations/modelcreate.ts +3 -0
  207. package/src/models/operations/modelcreateawsbedrock.ts +3 -0
  208. package/src/models/operations/modelcreateopenailike.ts +3 -0
  209. package/src/models/operations/modelcreatevertex.ts +3 -0
  210. package/src/models/operations/modelupdate.ts +3 -0
  211. package/src/models/operations/modelupdateawsbedrock.ts +3 -0
  212. package/src/models/operations/modelupdateopenailike.ts +3 -0
  213. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  214. package/src/models/operations/postv2feedbackevaluation.ts +4 -4
  215. package/src/models/operations/postv2humanevalsets.ts +2 -2
  216. package/src/models/operations/retrieveannotationqueue.ts +1 -1
  217. package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjson2.ts +28 -28
  218. package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody14attributes2.ts +28 -28
  219. package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody22attributesopenresponsesdetail.ts +6 -6
  220. package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody23annotations.ts +26 -26
  221. package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody27attributesopenresponsesoutput3type.ts +6 -6
  222. package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody314.ts +31 -31
  223. package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody5attributestype.ts +22 -22
  224. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody11attributestoplogprobs.ts +14 -14
  225. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody15attributesopenresponsesoutput4type.ts +14 -14
  226. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody17attributesopenresponsesoutput44type.ts +16 -16
  227. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody18type.ts +24 -24
  228. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody1attributestype.ts +2 -2
  229. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody21attributestoplogprobs.ts +14 -14
  230. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody29attributestoplogprobs.ts +14 -14
  231. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody32attributesopenresponsesoutput48type.ts +18 -18
  232. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody66.ts +2 -2
  233. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody7attributes5.ts +16 -16
  234. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody9attributes8.ts +18 -18
  235. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1017.ts +4 -4
  236. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody11attributesorq7evaluatorconfigtype.ts +21 -21
  237. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody12attributesorq15annotator.ts +5 -5
  238. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody136.ts +25 -25
  239. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody14attributesorq14type.ts +7 -7
  240. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody15attributesorq7outputschema.ts +21 -21
  241. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1618.ts +3 -3
  242. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody17attributesorq8kind.ts +18 -18
  243. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody18attributesorq12evaluatorconfigtype.ts +11 -11
  244. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody19attributesorq5kind.ts +24 -24
  245. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody20attributesorq14annotator.ts +7 -7
  246. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody21attributesorq7evaluatorconfigtype.ts +21 -21
  247. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody22attributesorqevaluatorconfigtype.ts +28 -28
  248. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody23attributesorq13evaluationtype.ts +9 -9
  249. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody24attributesorq7status.ts +21 -21
  250. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody25attributesorq18type.ts +2 -2
  251. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2611.ts +15 -15
  252. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody27attributesorqevaluationtype.ts +28 -28
  253. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody28attributesorq14annotator.ts +7 -7
  254. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody29attributesorq7evaluatorconfigtype.ts +21 -21
  255. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2attributesorq14type.ts +7 -7
  256. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody30attributesorq18evaluationtype.ts +2 -2
  257. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody31attributesorq16kind.ts +4 -4
  258. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody32attributesorq9evaluatorconfigtype.ts +17 -17
  259. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody33attributesannotator.ts +30 -30
  260. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody34attributesorq12evaluationtype.ts +11 -11
  261. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody35attributesorq5annotator.ts +24 -24
  262. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody3attributesorq14evaluationtype.ts +7 -7
  263. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody4attributesorq4kind.ts +26 -26
  264. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody5attributesorq11evaluatorconfigtype.ts +13 -13
  265. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6attributesorq19annotator.ts +1 -1
  266. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6value.ts +32 -32
  267. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody7attributesorq8evaluatorconfigtype.ts +19 -19
  268. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody8attributesorq18annotator.ts +2 -2
  269. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody9attributesorq9kind.ts +17 -17
  270. package/src/models/operations/retrieveannotationqueueitemevaluationsannotator.ts +32 -32
  271. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody20attributesopenresponses6role.ts +28 -28
  272. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody26content.ts +20 -20
  273. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody28attributesopenresponses6role.ts +28 -28
  274. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody34attributesrole.ts +24 -24
  275. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200status.ts +28 -28
  276. package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody12attributes1.ts +30 -30
  277. package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody24attributescontent.ts +14 -14
  278. package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody332.ts +4 -4
  279. package/src/models/operations/retrieveannotationqueueitemresponsebody.ts +1 -1
  280. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson10http.ts +31 -31
  281. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson16settings.ts +32 -32
  282. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson17context.ts +1 -1
  283. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson22call.ts +1 -1
  284. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson25engine.ts +33 -33
  285. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson27conversation.ts +1 -1
  286. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson30nodes.ts +33 -33
  287. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson33token.ts +1 -1
  288. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson8trace.ts +33 -33
  289. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjsonresponse.ts +1 -1
  290. package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse1.ts +8 -8
  291. package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody13attributesopenresponsesoutputtype.ts +10 -10
  292. package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody193.ts +10 -10
  293. package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody35attributestype.ts +10 -10
  294. package/src/models/operations/retrievedatapoint.ts +5 -5
  295. package/src/models/operations/retrievedataset.ts +1 -1
  296. package/src/models/operations/retrievedatasource.ts +1 -1
  297. package/src/models/operations/retrievetool.ts +6 -6
  298. package/src/models/operations/runagent.ts +1 -1
  299. package/src/models/operations/streamrunagent.ts +1 -1
  300. package/src/models/operations/twenty.ts +1 -1
  301. package/src/models/operations/updateannotationqueue.ts +1 -1
  302. package/src/models/operations/updatedatapoint.ts +5 -5
  303. package/src/models/operations/updatedataset.ts +1 -1
  304. package/src/models/operations/updatedatasource.ts +1 -1
  305. package/src/models/operations/updatetool.ts +7 -7
  306. package/src/sdk/alerts.ts +0 -18
  307. package/src/sdk/budgets.ts +0 -18
  308. package/src/sdk/feedback.ts +2 -2
  309. package/src/sdk/sdk.ts +0 -6
  310. package/funcs/alertsCheckNow.d.ts +0 -18
  311. package/funcs/alertsCheckNow.d.ts.map +0 -1
  312. package/funcs/alertsCheckNow.js +0 -124
  313. package/funcs/alertsCheckNow.js.map +0 -1
  314. package/funcs/budgetsGetConsumption.d.ts +0 -18
  315. package/funcs/budgetsGetConsumption.d.ts.map +0 -1
  316. package/funcs/budgetsGetConsumption.js +0 -121
  317. package/funcs/budgetsGetConsumption.js.map +0 -1
  318. package/funcs/monitorsCreate.d.ts +0 -17
  319. package/funcs/monitorsCreate.d.ts.map +0 -1
  320. package/funcs/monitorsCreate.js +0 -115
  321. package/funcs/monitorsCreate.js.map +0 -1
  322. package/funcs/monitorsDelete.d.ts +0 -18
  323. package/funcs/monitorsDelete.d.ts.map +0 -1
  324. package/funcs/monitorsDelete.js +0 -121
  325. package/funcs/monitorsDelete.js.map +0 -1
  326. package/funcs/monitorsGet.d.ts +0 -18
  327. package/funcs/monitorsGet.d.ts.map +0 -1
  328. package/funcs/monitorsGet.js +0 -121
  329. package/funcs/monitorsGet.js.map +0 -1
  330. package/funcs/monitorsList.d.ts +0 -18
  331. package/funcs/monitorsList.d.ts.map +0 -1
  332. package/funcs/monitorsList.js +0 -122
  333. package/funcs/monitorsList.js.map +0 -1
  334. package/funcs/monitorsListPresets.d.ts +0 -17
  335. package/funcs/monitorsListPresets.d.ts.map +0 -1
  336. package/funcs/monitorsListPresets.js +0 -105
  337. package/funcs/monitorsListPresets.js.map +0 -1
  338. package/funcs/monitorsUpdate.d.ts +0 -18
  339. package/funcs/monitorsUpdate.d.ts.map +0 -1
  340. package/funcs/monitorsUpdate.js +0 -124
  341. package/funcs/monitorsUpdate.js.map +0 -1
  342. package/models/components/checkalertnowrequest.d.ts +0 -8
  343. package/models/components/checkalertnowrequest.d.ts.map +0 -1
  344. package/models/components/checkalertnowrequest.js +0 -47
  345. package/models/components/checkalertnowrequest.js.map +0 -1
  346. package/models/components/checkalertnowresponse.d.ts +0 -8
  347. package/models/components/checkalertnowresponse.d.ts.map +0 -1
  348. package/models/components/checkalertnowresponse.js +0 -48
  349. package/models/components/checkalertnowresponse.js.map +0 -1
  350. package/models/components/createmonitorrequest.d.ts +0 -44
  351. package/models/components/createmonitorrequest.d.ts.map +0 -1
  352. package/models/components/createmonitorrequest.js +0 -63
  353. package/models/components/createmonitorrequest.js.map +0 -1
  354. package/models/components/createmonitorresponse.d.ts +0 -14
  355. package/models/components/createmonitorresponse.d.ts.map +0 -1
  356. package/models/components/createmonitorresponse.js +0 -51
  357. package/models/components/createmonitorresponse.js.map +0 -1
  358. package/models/components/deletemonitorresponse.d.ts +0 -8
  359. package/models/components/deletemonitorresponse.d.ts.map +0 -1
  360. package/models/components/deletemonitorresponse.js +0 -48
  361. package/models/components/deletemonitorresponse.js.map +0 -1
  362. package/models/components/getbudgetconsumptionresponse.d.ts +0 -38
  363. package/models/components/getbudgetconsumptionresponse.d.ts.map +0 -1
  364. package/models/components/getbudgetconsumptionresponse.js +0 -63
  365. package/models/components/getbudgetconsumptionresponse.js.map +0 -1
  366. package/models/components/getmonitorresponse.d.ts +0 -14
  367. package/models/components/getmonitorresponse.d.ts.map +0 -1
  368. package/models/components/getmonitorresponse.js +0 -51
  369. package/models/components/getmonitorresponse.js.map +0 -1
  370. package/models/components/listmonitorpresetsresponse.d.ts +0 -18
  371. package/models/components/listmonitorpresetsresponse.d.ts.map +0 -1
  372. package/models/components/listmonitorpresetsresponse.js +0 -52
  373. package/models/components/listmonitorpresetsresponse.js.map +0 -1
  374. package/models/components/listmonitorsresponse.d.ts +0 -25
  375. package/models/components/listmonitorsresponse.d.ts.map +0 -1
  376. package/models/components/listmonitorsresponse.js +0 -58
  377. package/models/components/listmonitorsresponse.js.map +0 -1
  378. package/models/components/monitor.d.ts +0 -82
  379. package/models/components/monitor.d.ts.map +0 -1
  380. package/models/components/monitor.js +0 -90
  381. package/models/components/monitor.js.map +0 -1
  382. package/models/components/monitorpreset.d.ts +0 -54
  383. package/models/components/monitorpreset.d.ts.map +0 -1
  384. package/models/components/monitorpreset.js +0 -72
  385. package/models/components/monitorpreset.js.map +0 -1
  386. package/models/components/monitorwidget.d.ts +0 -72
  387. package/models/components/monitorwidget.d.ts.map +0 -1
  388. package/models/components/monitorwidget.js +0 -92
  389. package/models/components/monitorwidget.js.map +0 -1
  390. package/models/components/monitorwidgetdisplay.d.ts +0 -97
  391. package/models/components/monitorwidgetdisplay.d.ts.map +0 -1
  392. package/models/components/monitorwidgetdisplay.js +0 -113
  393. package/models/components/monitorwidgetdisplay.js.map +0 -1
  394. package/models/components/monitorwidgetlayout.d.ts +0 -35
  395. package/models/components/monitorwidgetlayout.d.ts.map +0 -1
  396. package/models/components/monitorwidgetlayout.js +0 -64
  397. package/models/components/monitorwidgetlayout.js.map +0 -1
  398. package/models/components/monitorwidgetquery.d.ts +0 -66
  399. package/models/components/monitorwidgetquery.d.ts.map +0 -1
  400. package/models/components/monitorwidgetquery.js +0 -89
  401. package/models/components/monitorwidgetquery.js.map +0 -1
  402. package/models/components/updatemonitorrequest.d.ts +0 -34
  403. package/models/components/updatemonitorrequest.d.ts.map +0 -1
  404. package/models/components/updatemonitorrequest.js +0 -59
  405. package/models/components/updatemonitorrequest.js.map +0 -1
  406. package/models/components/updatemonitorresponse.d.ts +0 -14
  407. package/models/components/updatemonitorresponse.d.ts.map +0 -1
  408. package/models/components/updatemonitorresponse.js +0 -51
  409. package/models/components/updatemonitorresponse.js.map +0 -1
  410. package/models/operations/alertchecknow.d.ts +0 -18
  411. package/models/operations/alertchecknow.d.ts.map +0 -1
  412. package/models/operations/alertchecknow.js +0 -57
  413. package/models/operations/alertchecknow.js.map +0 -1
  414. package/models/operations/budgetgetconsumption.d.ts +0 -15
  415. package/models/operations/budgetgetconsumption.d.ts.map +0 -1
  416. package/models/operations/budgetgetconsumption.js +0 -54
  417. package/models/operations/budgetgetconsumption.js.map +0 -1
  418. package/models/operations/monitordelete.d.ts +0 -15
  419. package/models/operations/monitordelete.d.ts.map +0 -1
  420. package/models/operations/monitordelete.js +0 -54
  421. package/models/operations/monitordelete.js.map +0 -1
  422. package/models/operations/monitorget.d.ts +0 -15
  423. package/models/operations/monitorget.d.ts.map +0 -1
  424. package/models/operations/monitorget.js +0 -54
  425. package/models/operations/monitorget.js.map +0 -1
  426. package/models/operations/monitorlist.d.ts +0 -39
  427. package/models/operations/monitorlist.d.ts.map +0 -1
  428. package/models/operations/monitorlist.js +0 -59
  429. package/models/operations/monitorlist.js.map +0 -1
  430. package/models/operations/monitorupdate.d.ts +0 -18
  431. package/models/operations/monitorupdate.d.ts.map +0 -1
  432. package/models/operations/monitorupdate.js +0 -57
  433. package/models/operations/monitorupdate.js.map +0 -1
  434. package/sdk/monitors.d.ts +0 -48
  435. package/sdk/monitors.d.ts.map +0 -1
  436. package/sdk/monitors.js +0 -72
  437. package/sdk/monitors.js.map +0 -1
  438. package/src/funcs/alertsCheckNow.ts +0 -171
  439. package/src/funcs/budgetsGetConsumption.ts +0 -169
  440. package/src/funcs/monitorsCreate.ts +0 -162
  441. package/src/funcs/monitorsDelete.ts +0 -168
  442. package/src/funcs/monitorsGet.ts +0 -168
  443. package/src/funcs/monitorsList.ts +0 -171
  444. package/src/funcs/monitorsListPresets.ts +0 -144
  445. package/src/funcs/monitorsUpdate.ts +0 -171
  446. package/src/models/components/checkalertnowrequest.ts +0 -25
  447. package/src/models/components/checkalertnowresponse.ts +0 -27
  448. package/src/models/components/createmonitorrequest.ts +0 -80
  449. package/src/models/components/createmonitorresponse.ts +0 -35
  450. package/src/models/components/deletemonitorresponse.ts +0 -27
  451. package/src/models/components/getbudgetconsumptionresponse.ts +0 -71
  452. package/src/models/components/getmonitorresponse.ts +0 -35
  453. package/src/models/components/listmonitorpresetsresponse.ts +0 -40
  454. package/src/models/components/listmonitorsresponse.ts +0 -53
  455. package/src/models/components/monitor.ts +0 -130
  456. package/src/models/components/monitorpreset.ts +0 -91
  457. package/src/models/components/monitorwidget.ts +0 -142
  458. package/src/models/components/monitorwidgetdisplay.ts +0 -166
  459. package/src/models/components/monitorwidgetlayout.ts +0 -75
  460. package/src/models/components/monitorwidgetquery.ts +0 -127
  461. package/src/models/components/updatemonitorrequest.ts +0 -66
  462. package/src/models/components/updatemonitorresponse.ts +0 -35
  463. package/src/models/operations/alertchecknow.ts +0 -44
  464. package/src/models/operations/budgetgetconsumption.ts +0 -41
  465. package/src/models/operations/monitordelete.ts +0 -39
  466. package/src/models/operations/monitorget.ts +0 -39
  467. package/src/models/operations/monitorlist.ts +0 -68
  468. package/src/models/operations/monitorupdate.ts +0 -44
  469. package/src/sdk/monitors.ts +0 -116
@@ -1,82 +0,0 @@
1
- import * as z from "zod/v3";
2
- import { ClosedEnum } from "../../types/enums.js";
3
- import { Result as SafeParseResult } from "../../types/fp.js";
4
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
- import { MonitorWidget } from "./monitorwidget.js";
6
- /**
7
- * Default relative time range applied when the monitor opens.
8
- */
9
- export declare const DefaultRange: {
10
- readonly Fifteenm: "15m";
11
- readonly Oneh: "1h";
12
- readonly Fourh: "4h";
13
- readonly Oned: "1d";
14
- readonly Threed: "3d";
15
- readonly Sevend: "7d";
16
- readonly Fourteend: "14d";
17
- readonly Thirtyd: "30d";
18
- readonly Ninetyd: "90d";
19
- };
20
- /**
21
- * Default relative time range applied when the monitor opens.
22
- */
23
- export type DefaultRange = ClosedEnum<typeof DefaultRange>;
24
- export type Monitor = {
25
- /**
26
- * Unique monitor identifier assigned by ORQ, for example
27
- *
28
- * @remarks
29
- * `monitor_01H...`. Use this value in retrieve, update, and delete
30
- * requests.
31
- */
32
- monitorId: string;
33
- /**
34
- * Workspace-unique display name.
35
- */
36
- displayName: string;
37
- /**
38
- * Short human-readable summary of what the monitor tracks.
39
- */
40
- description: string;
41
- /**
42
- * Project that owns the monitor. Empty for workspace-wide monitors (admin-managed). Immutable after creation.
43
- */
44
- projectId: string;
45
- /**
46
- * Widgets rendered on the monitor, each carrying its own query and
47
- *
48
- * @remarks
49
- * layout position.
50
- */
51
- widgets: Array<MonitorWidget>;
52
- /**
53
- * Default relative time range applied when the monitor opens.
54
- */
55
- defaultRange?: DefaultRange | undefined;
56
- /**
57
- * Preset this monitor was created from. Empty when built from scratch.
58
- */
59
- presetKey: string;
60
- /**
61
- * Time when the monitor was created.
62
- */
63
- createdAt: Date;
64
- /**
65
- * Time when the monitor was last updated.
66
- */
67
- updatedAt: Date;
68
- /**
69
- * User ID that created the monitor.
70
- */
71
- createdById: string;
72
- /**
73
- * User ID that last updated the monitor.
74
- */
75
- updatedById: string;
76
- };
77
- /** @internal */
78
- export declare const DefaultRange$inboundSchema: z.ZodNativeEnum<typeof DefaultRange>;
79
- /** @internal */
80
- export declare const Monitor$inboundSchema: z.ZodType<Monitor, z.ZodTypeDef, unknown>;
81
- export declare function monitorFromJSON(jsonString: string): SafeParseResult<Monitor, SDKValidationError>;
82
- //# sourceMappingURL=monitor.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"monitor.d.ts","sourceRoot":"","sources":["../../src/models/components/monitor.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,aAAa,EAA+B,MAAM,oBAAoB,CAAC;AAEhF;;GAEG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;CAUf,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC;AAE3D,MAAM,MAAM,OAAO,GAAG;IACpB;;;;;;OAMG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;;OAKG;IACH,OAAO,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;IAC9B;;OAEG;IACH,YAAY,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;IACxC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0BAA0B,EAAE,CAAC,CAAC,aAAa,CAAC,OAAO,YAAY,CAChD,CAAC;AAE7B,gBAAgB;AAChB,eAAO,MAAM,qBAAqB,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC,UAAU,EAAE,OAAO,CA6BxE,CAAC;AAEL,wBAAgB,eAAe,CAC7B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,OAAO,EAAE,kBAAkB,CAAC,CAM9C"}
@@ -1,90 +0,0 @@
1
- "use strict";
2
- /*
3
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || (function () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.Monitor$inboundSchema = exports.DefaultRange$inboundSchema = exports.DefaultRange = void 0;
40
- exports.monitorFromJSON = monitorFromJSON;
41
- const z = __importStar(require("zod/v3"));
42
- const primitives_js_1 = require("../../lib/primitives.js");
43
- const schemas_js_1 = require("../../lib/schemas.js");
44
- const monitorwidget_js_1 = require("./monitorwidget.js");
45
- /**
46
- * Default relative time range applied when the monitor opens.
47
- */
48
- exports.DefaultRange = {
49
- Fifteenm: "15m",
50
- Oneh: "1h",
51
- Fourh: "4h",
52
- Oned: "1d",
53
- Threed: "3d",
54
- Sevend: "7d",
55
- Fourteend: "14d",
56
- Thirtyd: "30d",
57
- Ninetyd: "90d",
58
- };
59
- /** @internal */
60
- exports.DefaultRange$inboundSchema = z.nativeEnum(exports.DefaultRange);
61
- /** @internal */
62
- exports.Monitor$inboundSchema = z.object({
63
- monitor_id: z.string(),
64
- display_name: z.string(),
65
- description: z.string(),
66
- project_id: z.string(),
67
- widgets: z.array(monitorwidget_js_1.MonitorWidget$inboundSchema),
68
- default_range: exports.DefaultRange$inboundSchema.optional(),
69
- preset_key: z.string(),
70
- created_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
71
- updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
72
- created_by_id: z.string(),
73
- updated_by_id: z.string(),
74
- }).transform((v) => {
75
- return (0, primitives_js_1.remap)(v, {
76
- "monitor_id": "monitorId",
77
- "display_name": "displayName",
78
- "project_id": "projectId",
79
- "default_range": "defaultRange",
80
- "preset_key": "presetKey",
81
- "created_at": "createdAt",
82
- "updated_at": "updatedAt",
83
- "created_by_id": "createdById",
84
- "updated_by_id": "updatedById",
85
- });
86
- });
87
- function monitorFromJSON(jsonString) {
88
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Monitor$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Monitor' from JSON`);
89
- }
90
- //# sourceMappingURL=monitor.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"monitor.js","sourceRoot":"","sources":["../../src/models/components/monitor.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuHH,0CAQC;AA7HD,0CAA4B;AAC5B,2DA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CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,YAAY,EAAE,WAAW;QACzB,cAAc,EAAE,aAAa;QAC7B,YAAY,EAAE,WAAW;QACzB,eAAe,EAAE,cAAc;QAC/B,YAAY,EAAE,WAAW;QACzB,YAAY,EAAE,WAAW;QACzB,YAAY,EAAE,WAAW;QACzB,eAAe,EAAE,aAAa;QAC9B,eAAe,EAAE,aAAa;KAC/B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEL,SAAgB,eAAe,CAC7B,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,6BAAqB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACjD,qCAAqC,CACtC,CAAC;AACJ,CAAC"}
@@ -1,54 +0,0 @@
1
- import * as z from "zod/v3";
2
- import { ClosedEnum } from "../../types/enums.js";
3
- import { Result as SafeParseResult } from "../../types/fp.js";
4
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
- import { MonitorWidget } from "./monitorwidget.js";
6
- /**
7
- * Preset kind.
8
- */
9
- export declare const MonitorPresetKind: {
10
- readonly Dashboard: "dashboard";
11
- readonly Widget: "widget";
12
- };
13
- /**
14
- * Preset kind.
15
- */
16
- export type MonitorPresetKind = ClosedEnum<typeof MonitorPresetKind>;
17
- export type MonitorPreset = {
18
- /**
19
- * Stable identifier for the preset, e.g. `genai-overview` or
20
- *
21
- * @remarks
22
- * `widget-cost-by-model`.
23
- */
24
- presetKey: string;
25
- /**
26
- * Human-readable preset name shown in galleries.
27
- */
28
- displayName: string;
29
- /**
30
- * What the preset shows and when to use it.
31
- */
32
- description: string;
33
- /**
34
- * Preset kind.
35
- */
36
- kind: MonitorPresetKind;
37
- /**
38
- * Widgets the preset materializes into a create request. Widget
39
- *
40
- * @remarks
41
- * presets carry exactly one entry.
42
- */
43
- widgets: Array<MonitorWidget>;
44
- /**
45
- * Default relative time range suggested by the preset.
46
- */
47
- defaultRange?: string | undefined;
48
- };
49
- /** @internal */
50
- export declare const MonitorPresetKind$inboundSchema: z.ZodNativeEnum<typeof MonitorPresetKind>;
51
- /** @internal */
52
- export declare const MonitorPreset$inboundSchema: z.ZodType<MonitorPreset, z.ZodTypeDef, unknown>;
53
- export declare function monitorPresetFromJSON(jsonString: string): SafeParseResult<MonitorPreset, SDKValidationError>;
54
- //# sourceMappingURL=monitorpreset.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"monitorpreset.d.ts","sourceRoot":"","sources":["../../src/models/components/monitorpreset.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,aAAa,EAA+B,MAAM,oBAAoB,CAAC;AAEhF;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;CAGpB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAErE,MAAM,MAAM,aAAa,GAAG;IAC1B;;;;;OAKG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,IAAI,EAAE,iBAAiB,CAAC;IACxB;;;;;OAKG;IACH,OAAO,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;IAC9B;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACnC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,aAAa,CAC3D,OAAO,iBAAiB,CACS,CAAC;AAEpC,gBAAgB;AAChB,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,OAAO,CACjD,aAAa,EACb,CAAC,CAAC,UAAU,EACZ,OAAO,CAcP,CAAC;AAEH,wBAAgB,qBAAqB,CACnC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,aAAa,EAAE,kBAAkB,CAAC,CAMpD"}
@@ -1,72 +0,0 @@
1
- "use strict";
2
- /*
3
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || (function () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.MonitorPreset$inboundSchema = exports.MonitorPresetKind$inboundSchema = exports.MonitorPresetKind = void 0;
40
- exports.monitorPresetFromJSON = monitorPresetFromJSON;
41
- const z = __importStar(require("zod/v3"));
42
- const primitives_js_1 = require("../../lib/primitives.js");
43
- const schemas_js_1 = require("../../lib/schemas.js");
44
- const monitorwidget_js_1 = require("./monitorwidget.js");
45
- /**
46
- * Preset kind.
47
- */
48
- exports.MonitorPresetKind = {
49
- Dashboard: "dashboard",
50
- Widget: "widget",
51
- };
52
- /** @internal */
53
- exports.MonitorPresetKind$inboundSchema = z.nativeEnum(exports.MonitorPresetKind);
54
- /** @internal */
55
- exports.MonitorPreset$inboundSchema = z.object({
56
- preset_key: z.string(),
57
- display_name: z.string(),
58
- description: z.string(),
59
- kind: exports.MonitorPresetKind$inboundSchema,
60
- widgets: z.array(monitorwidget_js_1.MonitorWidget$inboundSchema),
61
- default_range: z.string().optional(),
62
- }).transform((v) => {
63
- return (0, primitives_js_1.remap)(v, {
64
- "preset_key": "presetKey",
65
- "display_name": "displayName",
66
- "default_range": "defaultRange",
67
- });
68
- });
69
- function monitorPresetFromJSON(jsonString) {
70
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.MonitorPreset$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'MonitorPreset' from JSON`);
71
- }
72
- //# sourceMappingURL=monitorpreset.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"monitorpreset.js","sourceRoot":"","sources":["../../src/models/components/monitorpreset.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgFH,sDAQC;AAtFD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAIjD,yDAAgF;AAEhF;;GAEG;AACU,QAAA,iBAAiB,GAAG;IAC/B,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;CACR,CAAC;AAuCX,gBAAgB;AACH,QAAA,+BAA+B,GAExC,CAAC,CAAC,UAAU,CAAC,yBAAiB,CAAC,CAAC;AAEpC,gBAAgB;AACH,QAAA,2BAA2B,GAIpC,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,IAAI,EAAE,uCAA+B;IACrC,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,8CAA2B,CAAC;IAC7C,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACrC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,YAAY,EAAE,WAAW;QACzB,cAAc,EAAE,aAAa;QAC7B,eAAe,EAAE,cAAc;KAChC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,qBAAqB,CACnC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,mCAA2B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACvD,2CAA2C,CAC5C,CAAC;AACJ,CAAC"}
@@ -1,72 +0,0 @@
1
- import * as z from "zod/v3";
2
- import { ClosedEnum } from "../../types/enums.js";
3
- import { Result as SafeParseResult } from "../../types/fp.js";
4
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
- import { MonitorWidgetDisplay, MonitorWidgetDisplay$Outbound } from "./monitorwidgetdisplay.js";
6
- import { MonitorWidgetLayout, MonitorWidgetLayout$Outbound } from "./monitorwidgetlayout.js";
7
- import { MonitorWidgetQuery, MonitorWidgetQuery$Outbound } from "./monitorwidgetquery.js";
8
- /**
9
- * Widget rendering type.
10
- */
11
- export declare const MonitorWidgetType: {
12
- readonly Timeseries: "timeseries";
13
- readonly Toplist: "toplist";
14
- readonly Bignumber: "bignumber";
15
- };
16
- /**
17
- * Widget rendering type.
18
- */
19
- export type MonitorWidgetType = ClosedEnum<typeof MonitorWidgetType>;
20
- export type MonitorWidget = {
21
- /**
22
- * Widget identifier, unique within the monitor. Provide your own or
23
- *
24
- * @remarks
25
- * leave empty to have the server assign one.
26
- */
27
- widgetId: string;
28
- /**
29
- * Widget rendering type.
30
- */
31
- type: MonitorWidgetType;
32
- /**
33
- * Title shown in the widget header.
34
- */
35
- title: string;
36
- /**
37
- * Queries feeding the widget. Each maps 1:1 onto a Reporting API
38
- *
39
- * @remarks
40
- * request; the viewer's time range, time zone, and the query mode
41
- * derived from the widget type are supplied at render time.
42
- */
43
- queries: Array<MonitorWidgetQuery>;
44
- /**
45
- * Display options such as visualization style and unit.
46
- */
47
- display?: MonitorWidgetDisplay | undefined;
48
- /**
49
- * Position and size on the monitor grid.
50
- */
51
- layout: MonitorWidgetLayout;
52
- };
53
- /** @internal */
54
- export declare const MonitorWidgetType$inboundSchema: z.ZodNativeEnum<typeof MonitorWidgetType>;
55
- /** @internal */
56
- export declare const MonitorWidgetType$outboundSchema: z.ZodNativeEnum<typeof MonitorWidgetType>;
57
- /** @internal */
58
- export declare const MonitorWidget$inboundSchema: z.ZodType<MonitorWidget, z.ZodTypeDef, unknown>;
59
- /** @internal */
60
- export type MonitorWidget$Outbound = {
61
- widget_id: string;
62
- type: string;
63
- title: string;
64
- queries: Array<MonitorWidgetQuery$Outbound>;
65
- display?: MonitorWidgetDisplay$Outbound | undefined;
66
- layout: MonitorWidgetLayout$Outbound;
67
- };
68
- /** @internal */
69
- export declare const MonitorWidget$outboundSchema: z.ZodType<MonitorWidget$Outbound, z.ZodTypeDef, MonitorWidget>;
70
- export declare function monitorWidgetToJSON(monitorWidget: MonitorWidget): string;
71
- export declare function monitorWidgetFromJSON(jsonString: string): SafeParseResult<MonitorWidget, SDKValidationError>;
72
- //# sourceMappingURL=monitorwidget.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"monitorwidget.d.ts","sourceRoot":"","sources":["../../src/models/components/monitorwidget.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,C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,MAAM,sBAAsB,GAAG;IACnC,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,KAAK,CAAC,2BAA2B,CAAC,CAAC;IAC5C,OAAO,CAAC,EAAE,6BAA6B,GAAG,SAAS,CAAC;IACpD,MAAM,EAAE,4BAA4B,CAAC;CACtC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,OAAO,CAClD,sBAAsB,EACtB,CAAC,CAAC,UAAU,EACZ,aAAa,CAYb,CAAC;AAEH,wBAAgB,mBAAmB,CAAC,aAAa,EAAE,aAAa,GAAG,MAAM,CAExE;AACD,wBAAgB,qBAAqB,CACnC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,aAAa,EAAE,kBAAkB,CAAC,CAMpD"}
@@ -1,92 +0,0 @@
1
- "use strict";
2
- /*
3
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || (function () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.MonitorWidget$outboundSchema = exports.MonitorWidget$inboundSchema = exports.MonitorWidgetType$outboundSchema = exports.MonitorWidgetType$inboundSchema = exports.MonitorWidgetType = void 0;
40
- exports.monitorWidgetToJSON = monitorWidgetToJSON;
41
- exports.monitorWidgetFromJSON = monitorWidgetFromJSON;
42
- const z = __importStar(require("zod/v3"));
43
- const primitives_js_1 = require("../../lib/primitives.js");
44
- const schemas_js_1 = require("../../lib/schemas.js");
45
- const monitorwidgetdisplay_js_1 = require("./monitorwidgetdisplay.js");
46
- const monitorwidgetlayout_js_1 = require("./monitorwidgetlayout.js");
47
- const monitorwidgetquery_js_1 = require("./monitorwidgetquery.js");
48
- /**
49
- * Widget rendering type.
50
- */
51
- exports.MonitorWidgetType = {
52
- Timeseries: "timeseries",
53
- Toplist: "toplist",
54
- Bignumber: "bignumber",
55
- };
56
- /** @internal */
57
- exports.MonitorWidgetType$inboundSchema = z.nativeEnum(exports.MonitorWidgetType);
58
- /** @internal */
59
- exports.MonitorWidgetType$outboundSchema = exports.MonitorWidgetType$inboundSchema;
60
- /** @internal */
61
- exports.MonitorWidget$inboundSchema = z.object({
62
- widget_id: z.string(),
63
- type: exports.MonitorWidgetType$inboundSchema,
64
- title: z.string(),
65
- queries: z.array(monitorwidgetquery_js_1.MonitorWidgetQuery$inboundSchema),
66
- display: monitorwidgetdisplay_js_1.MonitorWidgetDisplay$inboundSchema.optional(),
67
- layout: monitorwidgetlayout_js_1.MonitorWidgetLayout$inboundSchema,
68
- }).transform((v) => {
69
- return (0, primitives_js_1.remap)(v, {
70
- "widget_id": "widgetId",
71
- });
72
- });
73
- /** @internal */
74
- exports.MonitorWidget$outboundSchema = z.object({
75
- widgetId: z.string(),
76
- type: exports.MonitorWidgetType$outboundSchema,
77
- title: z.string(),
78
- queries: z.array(monitorwidgetquery_js_1.MonitorWidgetQuery$outboundSchema),
79
- display: monitorwidgetdisplay_js_1.MonitorWidgetDisplay$outboundSchema.optional(),
80
- layout: monitorwidgetlayout_js_1.MonitorWidgetLayout$outboundSchema,
81
- }).transform((v) => {
82
- return (0, primitives_js_1.remap)(v, {
83
- widgetId: "widget_id",
84
- });
85
- });
86
- function monitorWidgetToJSON(monitorWidget) {
87
- return JSON.stringify(exports.MonitorWidget$outboundSchema.parse(monitorWidget));
88
- }
89
- function monitorWidgetFromJSON(jsonString) {
90
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.MonitorWidget$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'MonitorWidget' from JSON`);
91
- }
92
- //# sourceMappingURL=monitorwidget.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"monitorwidget.js","sourceRoot":"","sources":["../../src/models/components/monitorwidget.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgIH,kDAEC;AACD,sDAQC;AAzID,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAIjD,uEAKmC;AACnC,qEAKkC;AAClC,mEAKiC;AAEjC;;GAEG;AACU,QAAA,iBAAiB,GAAG;IAC/B,UAAU,EAAE,YAAY;IACxB,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;CACd,CAAC;AAwCX,gBAAgB;AACH,QAAA,+BAA+B,GAExC,CAAC,CAAC,UAAU,CAAC,yBAAiB,CAAC,CAAC;AACpC,gBAAgB;AACH,QAAA,gCAAgC,GAEzC,uCAA+B,CAAC;AAEpC,gBAAgB;AACH,QAAA,2BAA2B,GAIpC,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,IAAI,EA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
3
- import { Result as SafeParseResult } from "../../types/fp.js";
4
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
- /**
6
- * Chart style for timeseries widgets.
7
- */
8
- export declare const Visualization: {
9
- readonly Lines: "lines";
10
- readonly Bars: "bars";
11
- };
12
- /**
13
- * Chart style for timeseries widgets.
14
- */
15
- export type Visualization = ClosedEnum<typeof Visualization>;
16
- /**
17
- * Unit used for axis and value formatting.
18
- */
19
- export declare const Unit: {
20
- readonly Count: "count";
21
- readonly Cost: "cost";
22
- readonly Duration: "duration";
23
- readonly Percent: "percent";
24
- readonly Bytes: "bytes";
25
- };
26
- /**
27
- * Unit used for axis and value formatting.
28
- */
29
- export type Unit = ClosedEnum<typeof Unit>;
30
- /**
31
- * Value ordering for toplist widgets.
32
- */
33
- export declare const Sort: {
34
- readonly Desc: "desc";
35
- readonly Asc: "asc";
36
- };
37
- /**
38
- * Value ordering for toplist widgets.
39
- */
40
- export type Sort = ClosedEnum<typeof Sort>;
41
- export type MonitorWidgetDisplay = {
42
- /**
43
- * Chart style for timeseries widgets.
44
- */
45
- visualization?: Visualization | undefined;
46
- /**
47
- * Unit used for axis and value formatting.
48
- */
49
- unit?: Unit | undefined;
50
- /**
51
- * Value ordering for toplist widgets.
52
- */
53
- sort?: Sort | undefined;
54
- /**
55
- * When true, toplist widgets also show the overall total across all
56
- *
57
- * @remarks
58
- * groups for the window.
59
- */
60
- showOverall?: boolean | undefined;
61
- /**
62
- * Optional threshold line rendered on timeseries widgets.
63
- */
64
- target?: number | undefined;
65
- /**
66
- * Decimal places used when formatting values.
67
- */
68
- decimals?: number | undefined;
69
- };
70
- /** @internal */
71
- export declare const Visualization$inboundSchema: z.ZodNativeEnum<typeof Visualization>;
72
- /** @internal */
73
- export declare const Visualization$outboundSchema: z.ZodNativeEnum<typeof Visualization>;
74
- /** @internal */
75
- export declare const Unit$inboundSchema: z.ZodNativeEnum<typeof Unit>;
76
- /** @internal */
77
- export declare const Unit$outboundSchema: z.ZodNativeEnum<typeof Unit>;
78
- /** @internal */
79
- export declare const Sort$inboundSchema: z.ZodNativeEnum<typeof Sort>;
80
- /** @internal */
81
- export declare const Sort$outboundSchema: z.ZodNativeEnum<typeof Sort>;
82
- /** @internal */
83
- export declare const MonitorWidgetDisplay$inboundSchema: z.ZodType<MonitorWidgetDisplay, z.ZodTypeDef, unknown>;
84
- /** @internal */
85
- export type MonitorWidgetDisplay$Outbound = {
86
- visualization?: string | undefined;
87
- unit?: string | undefined;
88
- sort?: string | undefined;
89
- show_overall?: boolean | undefined;
90
- target?: number | undefined;
91
- decimals?: number | undefined;
92
- };
93
- /** @internal */
94
- export declare const MonitorWidgetDisplay$outboundSchema: z.ZodType<MonitorWidgetDisplay$Outbound, z.ZodTypeDef, MonitorWidgetDisplay>;
95
- export declare function monitorWidgetDisplayToJSON(monitorWidgetDisplay: MonitorWidgetDisplay): string;
96
- export declare function monitorWidgetDisplayFromJSON(jsonString: string): SafeParseResult<MonitorWidgetDisplay, SDKValidationError>;
97
- //# sourceMappingURL=monitorwidgetdisplay.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"monitorwidgetdisplay.d.ts","sourceRoot":"","sources":["../../src/models/components/monitorwidgetdisplay.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,aAAa;;;CAGhB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC;AAE7D;;GAEG;AACH,eAAO,MAAM,IAAI;;;;;;CAMP,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,IAAI,GAAG,UAAU,CAAC,OAAO,IAAI,CAAC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