@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,122 +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.monitorsList = monitorsList;
40
- const encodings_js_1 = require("../lib/encodings.js");
41
- const http_js_1 = require("../lib/http.js");
42
- const M = __importStar(require("../lib/matchers.js"));
43
- const primitives_js_1 = require("../lib/primitives.js");
44
- const schemas_js_1 = require("../lib/schemas.js");
45
- const security_js_1 = require("../lib/security.js");
46
- const url_js_1 = require("../lib/url.js");
47
- const components = __importStar(require("../models/components/index.js"));
48
- const operations = __importStar(require("../models/operations/index.js"));
49
- const async_js_1 = require("../types/async.js");
50
- /**
51
- * List monitors
52
- *
53
- * @remarks
54
- * Returns the monitors visible to the caller, newest first. Project-restricted callers see monitors of their projects plus workspace-wide monitors. Use `starting_after` or `ending_before` to page.
55
- */
56
- function monitorsList(client, request, options) {
57
- return new async_js_1.APIPromise($do(client, request, options));
58
- }
59
- async function $do(client, request, options) {
60
- const parsed = (0, schemas_js_1.safeParse)(request, (value) => operations.MonitorListRequest$outboundSchema.optional().parse(value), "Input validation failed");
61
- if (!parsed.ok) {
62
- return [parsed, { status: "invalid" }];
63
- }
64
- const payload = parsed.value;
65
- const body = null;
66
- const path = (0, url_js_1.pathToFunc)("/v2/monitors")();
67
- const query = (0, encodings_js_1.encodeFormQuery)({
68
- "ending_before": payload?.ending_before,
69
- "limit": payload?.limit,
70
- "project_id": payload?.project_id,
71
- "starting_after": payload?.starting_after,
72
- });
73
- const headers = new Headers((0, primitives_js_1.compactMap)({
74
- Accept: "application/json",
75
- }));
76
- const secConfig = await (0, security_js_1.extractSecurity)(client._options.apiKey);
77
- const securityInput = secConfig == null ? {} : { apiKey: secConfig };
78
- const requestSecurity = (0, security_js_1.resolveGlobalSecurity)(securityInput);
79
- const context = {
80
- options: client._options,
81
- baseURL: options?.serverURL ?? client._baseURL ?? "",
82
- operationID: "MonitorList",
83
- oAuth2Scopes: null,
84
- resolvedSecurity: requestSecurity,
85
- securitySource: client._options.apiKey,
86
- retryConfig: options?.retries
87
- || client._options.retryConfig
88
- || { strategy: "none" },
89
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
90
- };
91
- const requestRes = client._createRequest(context, {
92
- security: requestSecurity,
93
- method: "GET",
94
- baseURL: options?.serverURL,
95
- path: path,
96
- headers: headers,
97
- query: query,
98
- body: body,
99
- userAgent: client._options.userAgent,
100
- timeoutMs: options?.timeoutMs || client._options.timeoutMs || 600000,
101
- }, options);
102
- if (!requestRes.ok) {
103
- return [requestRes, { status: "invalid" }];
104
- }
105
- const req = requestRes.value;
106
- const doResult = await client._do(req, {
107
- context,
108
- isErrorStatusCode: (statusCode) => (0, http_js_1.matchStatusCode)({ status: statusCode }, ["4XX", "5XX"]),
109
- retryConfig: context.retryConfig,
110
- retryCodes: context.retryCodes,
111
- });
112
- if (!doResult.ok) {
113
- return [doResult, { status: "request-error", request: req }];
114
- }
115
- const response = doResult.value;
116
- const [result] = await M.match(M.json(200, components.ListMonitorsResponse$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req);
117
- if (!result.ok) {
118
- return [result, { status: "complete", request: req, response }];
119
- }
120
- return [result, { status: "complete", request: req, response }];
121
- }
122
- //# sourceMappingURL=monitorsList.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"monitorsList.js","sourceRoot":"","sources":["../src/funcs/monitorsList.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCH,oCAsBC;AAnDD,sDAAsD;AACtD,4CAAiD;AACjD,sDAAwC;AACxC,wDAAkD;AAClD,kDAA8C;AAE9C,oDAA4E;AAC5E,0CAA2C;AAC3C,0EAA4D;AAW5D,0EAA4D;AAC5D,gDAAwD;AAGxD;;;;;GAKG;AACH,SAAgB,YAAY,CAC1B,MAAe,EACf,OAAmD,EACnD,OAAwB;IAcxB,OAAO,IAAI,qBAAU,CAAC,GAAG,CACvB,MAAM,EACN,OAAO,EACP,OAAO,CACR,CAAC,CAAC;AACL,CAAC;AAED,KAAK,UAAU,GAAG,CAChB,MAAe,EACf,OAAmD,EACnD,OAAwB;IAiBxB,MAAM,MAAM,GAAG,IAAA,sBAAS,EACtB,OAAO,EACP,CAAC,KAAK,EAAE,EAAE,CACR,UAAU,CAAC,iCAAiC,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,EACtE,yBAAyB,CAC1B,CAAC;IACF,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC,CAAC;IACzC,CAAC;IACD,MAAM,OAAO,GAAG,MAAM,CAAC,KAAK,CAAC;IAC7B,MAAM,IAAI,GAAG,IAAI,CAAC;IAElB,MAAM,IAAI,GAAG,IAAA,mBAAU,EAAC,cAAc,CAAC,EAAE,CAAC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B,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAClE,CAAC"}
@@ -1,17 +0,0 @@
1
- import { OrqCore } from "../core.js";
2
- import { RequestOptions } from "../lib/sdks.js";
3
- import * as components from "../models/components/index.js";
4
- import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
5
- import { OrqError } from "../models/errors/orqerror.js";
6
- import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
7
- import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
8
- import { APIPromise } from "../types/async.js";
9
- import { Result } from "../types/fp.js";
10
- /**
11
- * List monitor presets
12
- *
13
- * @remarks
14
- * Returns the built-in monitor templates (preset dashboards and preset widgets). Presets are defined by the platform and versioned with it; create a monitor from a preset by copying its widgets into a create request and stamping `preset_key`.
15
- */
16
- export declare function monitorsListPresets(client: OrqCore, options?: RequestOptions): APIPromise<Result<components.ListMonitorPresetsResponse, OrqError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
17
- //# sourceMappingURL=monitorsListPresets.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"monitorsListPresets.d.ts","sourceRoot":"","sources":["../src/funcs/monitorsListPresets.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAIrC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAgB,mBAAmB,CACjC,MAAM,EAAE,OAAO,EACf,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,0BAA0B,EACnC,QAAQ,GACR,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAKA"}
@@ -1,105 +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.monitorsListPresets = monitorsListPresets;
40
- const http_js_1 = require("../lib/http.js");
41
- const M = __importStar(require("../lib/matchers.js"));
42
- const primitives_js_1 = require("../lib/primitives.js");
43
- const security_js_1 = require("../lib/security.js");
44
- const url_js_1 = require("../lib/url.js");
45
- const components = __importStar(require("../models/components/index.js"));
46
- const async_js_1 = require("../types/async.js");
47
- /**
48
- * List monitor presets
49
- *
50
- * @remarks
51
- * Returns the built-in monitor templates (preset dashboards and preset widgets). Presets are defined by the platform and versioned with it; create a monitor from a preset by copying its widgets into a create request and stamping `preset_key`.
52
- */
53
- function monitorsListPresets(client, options) {
54
- return new async_js_1.APIPromise($do(client, options));
55
- }
56
- async function $do(client, options) {
57
- const path = (0, url_js_1.pathToFunc)("/v2/monitors/presets")();
58
- const headers = new Headers((0, primitives_js_1.compactMap)({
59
- Accept: "application/json",
60
- }));
61
- const secConfig = await (0, security_js_1.extractSecurity)(client._options.apiKey);
62
- const securityInput = secConfig == null ? {} : { apiKey: secConfig };
63
- const requestSecurity = (0, security_js_1.resolveGlobalSecurity)(securityInput);
64
- const context = {
65
- options: client._options,
66
- baseURL: options?.serverURL ?? client._baseURL ?? "",
67
- operationID: "MonitorListPresets",
68
- oAuth2Scopes: null,
69
- resolvedSecurity: requestSecurity,
70
- securitySource: client._options.apiKey,
71
- retryConfig: options?.retries
72
- || client._options.retryConfig
73
- || { strategy: "none" },
74
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
75
- };
76
- const requestRes = client._createRequest(context, {
77
- security: requestSecurity,
78
- method: "GET",
79
- baseURL: options?.serverURL,
80
- path: path,
81
- headers: headers,
82
- userAgent: client._options.userAgent,
83
- timeoutMs: options?.timeoutMs || client._options.timeoutMs || 600000,
84
- }, options);
85
- if (!requestRes.ok) {
86
- return [requestRes, { status: "invalid" }];
87
- }
88
- const req = requestRes.value;
89
- const doResult = await client._do(req, {
90
- context,
91
- isErrorStatusCode: (statusCode) => (0, http_js_1.matchStatusCode)({ status: statusCode }, ["4XX", "5XX"]),
92
- retryConfig: context.retryConfig,
93
- retryCodes: context.retryCodes,
94
- });
95
- if (!doResult.ok) {
96
- return [doResult, { status: "request-error", request: req }];
97
- }
98
- const response = doResult.value;
99
- const [result] = await M.match(M.json(200, components.ListMonitorPresetsResponse$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req);
100
- if (!result.ok) {
101
- return [result, { status: "complete", request: req, response }];
102
- }
103
- return [result, { status: "complete", request: req, response }];
104
- }
105
- //# sourceMappingURL=monitorsListPresets.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"monitorsListPresets.js","sourceRoot":"","sources":["../src/funcs/monitorsListPresets.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6BH,kDAoBC;AA9CD,4CAAiD;AACjD,sDAAwC;AACxC,wDAAkD;AAElD,oDAA4E;AAC5E,0CAA2C;AAC3C,0EAA4D;AAW5D,gDAAwD;AAGxD;;;;;GAKG;AACH,SAAgB,mBAAmB,CACjC,MAAe,EACf,OAAwB;IAcxB,OAAO,IAAI,qBAAU,CAAC,GAAG,CACvB,MAAM,EACN,OAAO,CACR,CAAC,CAAC;AACL,CAAC;AAED,KAAK,UAAU,GAAG,CAChB,MAAe,EACf,OAAwB;IAiBxB,MAAM,IAAI,GAAG,IAAA,mBAAU,EAAC,sBAAsB,CAAC,EAAE,CAAC;IAElD,MAAM,OAAO,GAAG,IAAI,OAAO,CAAC,IAAA,0BAAU,EAAC;QACrC,MAA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
- import { RequestOptions } from "../lib/sdks.js";
3
- import * as components from "../models/components/index.js";
4
- import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
5
- import { OrqError } from "../models/errors/orqerror.js";
6
- import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
7
- import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
8
- import * as operations from "../models/operations/index.js";
9
- import { APIPromise } from "../types/async.js";
10
- import { Result } from "../types/fp.js";
11
- /**
12
- * Update a monitor
13
- *
14
- * @remarks
15
- * Updates monitor metadata and widgets. A non-empty `widgets` array replaces the whole widget set; omit `widgets` to keep the current set. `project_id` is immutable.
16
- */
17
- export declare function monitorsUpdate(client: OrqCore, request: operations.MonitorUpdateRequest, options?: RequestOptions): APIPromise<Result<components.UpdateMonitorResponse, OrqError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
18
- //# sourceMappingURL=monitorsUpdate.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"monitorsUpdate.d.ts","sourceRoot":"","sources":["../src/funcs/monitorsUpdate.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAMrC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAgB,cAAc,CAC5B,MAAM,EAAE,OAAO,EACf,OAAO,EAAE,UAAU,CAAC,oBAAoB,EACxC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,qBAAqB,EAC9B,QAAQ,GACR,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
@@ -1,124 +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.monitorsUpdate = monitorsUpdate;
40
- const encodings_js_1 = require("../lib/encodings.js");
41
- const http_js_1 = require("../lib/http.js");
42
- const M = __importStar(require("../lib/matchers.js"));
43
- const primitives_js_1 = require("../lib/primitives.js");
44
- const schemas_js_1 = require("../lib/schemas.js");
45
- const security_js_1 = require("../lib/security.js");
46
- const url_js_1 = require("../lib/url.js");
47
- const components = __importStar(require("../models/components/index.js"));
48
- const operations = __importStar(require("../models/operations/index.js"));
49
- const async_js_1 = require("../types/async.js");
50
- /**
51
- * Update a monitor
52
- *
53
- * @remarks
54
- * Updates monitor metadata and widgets. A non-empty `widgets` array replaces the whole widget set; omit `widgets` to keep the current set. `project_id` is immutable.
55
- */
56
- function monitorsUpdate(client, request, options) {
57
- return new async_js_1.APIPromise($do(client, request, options));
58
- }
59
- async function $do(client, request, options) {
60
- const parsed = (0, schemas_js_1.safeParse)(request, (value) => operations.MonitorUpdateRequest$outboundSchema.parse(value), "Input validation failed");
61
- if (!parsed.ok) {
62
- return [parsed, { status: "invalid" }];
63
- }
64
- const payload = parsed.value;
65
- const body = (0, encodings_js_1.encodeJSON)("body", payload.UpdateMonitorRequest, {
66
- explode: true,
67
- });
68
- const pathParams = {
69
- monitor_id: (0, encodings_js_1.encodeSimple)("monitor_id", payload.monitor_id, {
70
- explode: false,
71
- charEncoding: "percent",
72
- }),
73
- };
74
- const path = (0, url_js_1.pathToFunc)("/v2/monitors/{monitor_id}")(pathParams);
75
- const headers = new Headers((0, primitives_js_1.compactMap)({
76
- "Content-Type": "application/json",
77
- Accept: "application/json",
78
- }));
79
- const secConfig = await (0, security_js_1.extractSecurity)(client._options.apiKey);
80
- const securityInput = secConfig == null ? {} : { apiKey: secConfig };
81
- const requestSecurity = (0, security_js_1.resolveGlobalSecurity)(securityInput);
82
- const context = {
83
- options: client._options,
84
- baseURL: options?.serverURL ?? client._baseURL ?? "",
85
- operationID: "MonitorUpdate",
86
- oAuth2Scopes: null,
87
- resolvedSecurity: requestSecurity,
88
- securitySource: client._options.apiKey,
89
- retryConfig: options?.retries
90
- || client._options.retryConfig
91
- || { strategy: "none" },
92
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
93
- };
94
- const requestRes = client._createRequest(context, {
95
- security: requestSecurity,
96
- method: "PATCH",
97
- baseURL: options?.serverURL,
98
- path: path,
99
- headers: headers,
100
- body: body,
101
- userAgent: client._options.userAgent,
102
- timeoutMs: options?.timeoutMs || client._options.timeoutMs || 600000,
103
- }, options);
104
- if (!requestRes.ok) {
105
- return [requestRes, { status: "invalid" }];
106
- }
107
- const req = requestRes.value;
108
- const doResult = await client._do(req, {
109
- context,
110
- isErrorStatusCode: (statusCode) => (0, http_js_1.matchStatusCode)({ status: statusCode }, ["4XX", "5XX"]),
111
- retryConfig: context.retryConfig,
112
- retryCodes: context.retryCodes,
113
- });
114
- if (!doResult.ok) {
115
- return [doResult, { status: "request-error", request: req }];
116
- }
117
- const response = doResult.value;
118
- const [result] = await M.match(M.json(200, components.UpdateMonitorResponse$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req);
119
- if (!result.ok) {
120
- return [result, { status: "complete", request: req, response }];
121
- }
122
- return [result, { status: "complete", request: req, response }];
123
- }
124
- //# sourceMappingURL=monitorsUpdate.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"monitorsUpdate.js","sourceRoot":"","sources":["../src/funcs/monitorsUpdate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCH,wCAsBC;AAnDD,sDAA+D;AAC/D,4CAAiD;AACjD,sDAAwC;AACxC,wDAAkD;AAClD,kDAA8C;AAE9C,oDAA4E;AAC5E,0CAA2C;AAC3C,0EAA4D;AAW5D,0EAA4D;AAC5D,gDAAwD;AAGxD;;;;;GAKG;AACH,SAAgB,cAAc,CAC5B,MAAe,EACf,OAAwC,EACxC,O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,EAAE,EAAE,CACxC,IAAA,yBAAe,EAAC,EAAE,MAAM,EAAE,UAAU,EAAc,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;QACrE,WAAW,EAAE,OAAO,CAAC,WAAW;QAChC,UAAU,EAAE,OAAO,CAAC,UAAU;KAC/B,CAAC,CAAC;IACH,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC;QACjB,OAAO,CAAC,QAAQ,EAAE,EAAE,MAAM,EAAE,eAAe,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC;IAC/D,CAAC;IACD,MAAM,QAAQ,GAAG,QAAQ,CAAC,KAAK,CAAC;IAEhC,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,KAAK,CAW5B,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,UAAU,CAAC,mCAAmC,CAAC,EAC3D,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC;IACjB,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAClE,CAAC"}
@@ -1,8 +0,0 @@
1
- import * as z from "zod/v3";
2
- export type CheckAlertNowRequest = {};
3
- /** @internal */
4
- export type CheckAlertNowRequest$Outbound = {};
5
- /** @internal */
6
- export declare const CheckAlertNowRequest$outboundSchema: z.ZodType<CheckAlertNowRequest$Outbound, z.ZodTypeDef, CheckAlertNowRequest>;
7
- export declare function checkAlertNowRequestToJSON(checkAlertNowRequest: CheckAlertNowRequest): string;
8
- //# sourceMappingURL=checkalertnowrequest.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"checkalertnowrequest.d.ts","sourceRoot":"","sources":["../../src/models/components/checkalertnowrequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,MAAM,MAAM,oBAAoB,GAAG,EAAE,CAAC;AAEtC,gBAAgB;AAChB,MAAM,MAAM,6BAA6B,GAAG,EAAE,CAAC;AAE/C,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,6BAA6B,EAC7B,CAAC,CAAC,UAAU,EACZ,oBAAoB,CACN,CAAC;AAEjB,wBAAgB,0BAA0B,CACxC,oBAAoB,EAAE,oBAAoB,GACzC,MAAM,CAIR"}
@@ -1,47 +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.CheckAlertNowRequest$outboundSchema = void 0;
40
- exports.checkAlertNowRequestToJSON = checkAlertNowRequestToJSON;
41
- const z = __importStar(require("zod/v3"));
42
- /** @internal */
43
- exports.CheckAlertNowRequest$outboundSchema = z.object({});
44
- function checkAlertNowRequestToJSON(checkAlertNowRequest) {
45
- return JSON.stringify(exports.CheckAlertNowRequest$outboundSchema.parse(checkAlertNowRequest));
46
- }
47
- //# sourceMappingURL=checkalertnowrequest.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"checkalertnowrequest.js","sourceRoot":"","sources":["../../src/models/components/checkalertnowrequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBH,gEAMC;AApBD,0CAA4B;AAO5B,gBAAgB;AACH,QAAA,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAEjB,SAAgB,0BAA0B,CACxC,oBAA0C;IAE1C,OAAO,IAAI,CAAC,SAAS,CACnB,2CAAmC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAChE,CAAC;AACJ,CAAC"}
@@ -1,8 +0,0 @@
1
- import * as z from "zod/v3";
2
- import { Result as SafeParseResult } from "../../types/fp.js";
3
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
- export type CheckAlertNowResponse = {};
5
- /** @internal */
6
- export declare const CheckAlertNowResponse$inboundSchema: z.ZodType<CheckAlertNowResponse, z.ZodTypeDef, unknown>;
7
- export declare function checkAlertNowResponseFromJSON(jsonString: string): SafeParseResult<CheckAlertNowResponse, SDKValidationError>;
8
- //# sourceMappingURL=checkalertnowresponse.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"checkalertnowresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/checkalertnowresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,qBAAqB,GAAG,EAAE,CAAC;AAEvC,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,qBAAqB,EACrB,CAAC,CAAC,UAAU,EACZ,OAAO,CACO,CAAC;AAEjB,wBAAgB,6BAA6B,CAC3C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,qBAAqB,EAAE,kBAAkB,CAAC,CAM5D"}
@@ -1,48 +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.CheckAlertNowResponse$inboundSchema = void 0;
40
- exports.checkAlertNowResponseFromJSON = checkAlertNowResponseFromJSON;
41
- const z = __importStar(require("zod/v3"));
42
- const schemas_js_1 = require("../../lib/schemas.js");
43
- /** @internal */
44
- exports.CheckAlertNowResponse$inboundSchema = z.object({});
45
- function checkAlertNowResponseFromJSON(jsonString) {
46
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CheckAlertNowResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CheckAlertNowResponse' from JSON`);
47
- }
48
- //# sourceMappingURL=checkalertnowresponse.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"checkalertnowresponse.js","sourceRoot":"","sources":["../../src/models/components/checkalertnowresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBH,sEAQC;AAtBD,0CAA4B;AAC5B,qDAAiD;AAMjD,gBAAgB;AACH,QAAA,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAEjB,SAAgB,6BAA6B,CAC3C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,2CAAmC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC/D,mDAAmD,CACpD,CAAC;AACJ,CAAC"}
@@ -1,44 +0,0 @@
1
- import * as z from "zod/v3";
2
- import { MonitorWidget, MonitorWidget$Outbound } from "./monitorwidget.js";
3
- export type CreateMonitorRequest = {
4
- /**
5
- * Workspace-unique display name.
6
- */
7
- displayName: string;
8
- /**
9
- * Short human-readable summary of what the monitor tracks.
10
- */
11
- description?: string | undefined;
12
- /**
13
- * Project that should own the monitor. Omit to create a
14
- *
15
- * @remarks
16
- * workspace-wide monitor (requires admin access).
17
- */
18
- projectId?: string | undefined;
19
- /**
20
- * Widgets to render on the monitor.
21
- */
22
- widgets: Array<MonitorWidget>;
23
- /**
24
- * Default relative time range applied when the monitor opens.
25
- */
26
- defaultRange?: string | undefined;
27
- /**
28
- * Preset the monitor is created from, stamped for provenance.
29
- */
30
- presetKey?: string | undefined;
31
- };
32
- /** @internal */
33
- export type CreateMonitorRequest$Outbound = {
34
- display_name: string;
35
- description?: string | undefined;
36
- project_id?: string | undefined;
37
- widgets: Array<MonitorWidget$Outbound>;
38
- default_range?: string | undefined;
39
- preset_key?: string | undefined;
40
- };
41
- /** @internal */
42
- export declare const CreateMonitorRequest$outboundSchema: z.ZodType<CreateMonitorRequest$Outbound, z.ZodTypeDef, CreateMonitorRequest>;
43
- export declare function createMonitorRequestToJSON(createMonitorRequest: CreateMonitorRequest): string;
44
- //# sourceMappingURL=createmonitorrequest.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createmonitorrequest.d.ts","sourceRoot":"","sources":["../../src/models/components/createmonitorrequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EACL,aAAa,EACb,sBAAsB,EAEvB,MAAM,oBAAoB,CAAC;AAE5B,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,OAAO,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;IAC9B;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,6BAA6B,GAAG;IAC1C,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,OAAO,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;IACvC,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACjC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,6BAA6B,EAC7B,CAAC,CAAC,UAAU,EACZ,oBAAoB,CAepB,CAAC;AAEH,wBAAgB,0BAA0B,CACxC,oBAAoB,EAAE,oBAAoB,GACzC,MAAM,CAIR"}