@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,121 +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.budgetsGetConsumption = budgetsGetConsumption;
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
- * Get current-period consumption
52
- *
53
- * @remarks
54
- * Returns the current-period cost, token, and per-minute request counters for the budget. Values reflect the live Redis state for the active period bucket.
55
- */
56
- function budgetsGetConsumption(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.BudgetGetConsumptionRequest$outboundSchema.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 pathParams = {
67
- budget_id: (0, encodings_js_1.encodeSimple)("budget_id", payload.budget_id, {
68
- explode: false,
69
- charEncoding: "percent",
70
- }),
71
- };
72
- const path = (0, url_js_1.pathToFunc)("/v2/budgets/{budget_id}/consumption")(pathParams);
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: "BudgetGetConsumption",
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
- body: body,
98
- userAgent: client._options.userAgent,
99
- timeoutMs: options?.timeoutMs || client._options.timeoutMs || 600000,
100
- }, options);
101
- if (!requestRes.ok) {
102
- return [requestRes, { status: "invalid" }];
103
- }
104
- const req = requestRes.value;
105
- const doResult = await client._do(req, {
106
- context,
107
- isErrorStatusCode: (statusCode) => (0, http_js_1.matchStatusCode)({ status: statusCode }, ["4XX", "5XX"]),
108
- retryConfig: context.retryConfig,
109
- retryCodes: context.retryCodes,
110
- });
111
- if (!doResult.ok) {
112
- return [doResult, { status: "request-error", request: req }];
113
- }
114
- const response = doResult.value;
115
- const [result] = await M.match(M.json(200, components.GetBudgetConsumptionResponse$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req);
116
- if (!result.ok) {
117
- return [result, { status: "complete", request: req, response }];
118
- }
119
- return [result, { status: "complete", request: req, response }];
120
- }
121
- //# sourceMappingURL=budgetsGetConsumption.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"budgetsGetConsumption.js","sourceRoot":"","sources":["../src/funcs/budgetsGetConsumption.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCH,sDAsBC;AAnDD,sDAAmD;AACnD,4CAAiD;AACjD,sDAAwC;AACxC,wDAAkD;AAClD,kDAA8C;AAE9C,oDAA4E;AAC5E,0CAA2C;AAC3C,0EAA4D;AAW5D,0EAA4D;AAC5D,gDAAwD;AAGxD;;;;;GAKG;AACH,SAAgB,qBAAqB,CACnC,MAAe,EACf,OAA+C,EAC/C,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,OAA+C,EAC/C,OAAwB;IAiBxB,MAAM,MAAM,GAAG,IAAA,sBAAS,EACtB,OAAO,EACP,CAAC,KAAK,EAAE,EAAE,CACR,UAAU,CAAC,0CAA0C,CAAC,KAAK,CAAC,KAAK,CAAC,EACpE,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,UAAU,GAAG;QACjB,SAAS,EAAE,IAAA,2BAAY,EAAC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,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
- * Create a monitor
12
- *
13
- * @remarks
14
- * Creates a monitor (custom observability dashboard) in the workspace. Set `project_id` to scope the monitor to a project; omit it to create a workspace-wide monitor, which requires admin access.
15
- */
16
- export declare function monitorsCreate(client: OrqCore, request: components.CreateMonitorRequest, options?: RequestOptions): APIPromise<Result<components.CreateMonitorResponse, OrqError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
17
- //# sourceMappingURL=monitorsCreate.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"monitorsCreate.d.ts","sourceRoot":"","sources":["../src/funcs/monitorsCreate.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,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,115 +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.monitorsCreate = monitorsCreate;
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 async_js_1 = require("../types/async.js");
49
- /**
50
- * Create a monitor
51
- *
52
- * @remarks
53
- * Creates a monitor (custom observability dashboard) in the workspace. Set `project_id` to scope the monitor to a project; omit it to create a workspace-wide monitor, which requires admin access.
54
- */
55
- function monitorsCreate(client, request, options) {
56
- return new async_js_1.APIPromise($do(client, request, options));
57
- }
58
- async function $do(client, request, options) {
59
- const parsed = (0, schemas_js_1.safeParse)(request, (value) => components.CreateMonitorRequest$outboundSchema.parse(value), "Input validation failed");
60
- if (!parsed.ok) {
61
- return [parsed, { status: "invalid" }];
62
- }
63
- const payload = parsed.value;
64
- const body = (0, encodings_js_1.encodeJSON)("body", payload, { explode: true });
65
- const path = (0, url_js_1.pathToFunc)("/v2/monitors")();
66
- const headers = new Headers((0, primitives_js_1.compactMap)({
67
- "Content-Type": "application/json",
68
- Accept: "application/json",
69
- }));
70
- const secConfig = await (0, security_js_1.extractSecurity)(client._options.apiKey);
71
- const securityInput = secConfig == null ? {} : { apiKey: secConfig };
72
- const requestSecurity = (0, security_js_1.resolveGlobalSecurity)(securityInput);
73
- const context = {
74
- options: client._options,
75
- baseURL: options?.serverURL ?? client._baseURL ?? "",
76
- operationID: "MonitorCreate",
77
- oAuth2Scopes: null,
78
- resolvedSecurity: requestSecurity,
79
- securitySource: client._options.apiKey,
80
- retryConfig: options?.retries
81
- || client._options.retryConfig
82
- || { strategy: "none" },
83
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
84
- };
85
- const requestRes = client._createRequest(context, {
86
- security: requestSecurity,
87
- method: "POST",
88
- baseURL: options?.serverURL,
89
- path: path,
90
- headers: headers,
91
- body: body,
92
- userAgent: client._options.userAgent,
93
- timeoutMs: options?.timeoutMs || client._options.timeoutMs || 600000,
94
- }, options);
95
- if (!requestRes.ok) {
96
- return [requestRes, { status: "invalid" }];
97
- }
98
- const req = requestRes.value;
99
- const doResult = await client._do(req, {
100
- context,
101
- isErrorStatusCode: (statusCode) => (0, http_js_1.matchStatusCode)({ status: statusCode }, ["4XX", "5XX"]),
102
- retryConfig: context.retryConfig,
103
- retryCodes: context.retryCodes,
104
- });
105
- if (!doResult.ok) {
106
- return [doResult, { status: "request-error", request: req }];
107
- }
108
- const response = doResult.value;
109
- const [result] = await M.match(M.json(200, components.CreateMonitorResponse$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req);
110
- if (!result.ok) {
111
- return [result, { status: "complete", request: req, response }];
112
- }
113
- return [result, { status: "complete", request: req, response }];
114
- }
115
- //# sourceMappingURL=monitorsCreate.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"monitorsCreate.js","sourceRoot":"","sources":["../src/funcs/monitorsCreate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BH,wCAsBC;AAlDD,sDAAiD;AACjD,4CAAiD;AACjD,sDAAwC;AACxC,wDAAkD;AAClD,kDAA8C;AAE9C,oDAA4E;AAC5E,0CAA2C;AAC3C,0EAA4D;AAW5D,gDAAwD;AAGxD;;;;;GAKG;AACH,SAAgB,cAAc,CAC5B,MAAe,EACf,OAAwC,EACx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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,18 +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 * as operations from "../models/operations/index.js";
9
- import { APIPromise } from "../types/async.js";
10
- import { Result } from "../types/fp.js";
11
- /**
12
- * Delete a monitor
13
- *
14
- * @remarks
15
- * Permanently deletes a monitor. Widgets are stored inline, so no other resources are affected.
16
- */
17
- export declare function monitorsDelete(client: OrqCore, request: operations.MonitorDeleteRequest, options?: RequestOptions): APIPromise<Result<components.DeleteMonitorResponse, OrqError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
18
- //# sourceMappingURL=monitorsDelete.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"monitorsDelete.d.ts","sourceRoot":"","sources":["../src/funcs/monitorsDelete.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,121 +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.monitorsDelete = monitorsDelete;
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
- * Delete a monitor
52
- *
53
- * @remarks
54
- * Permanently deletes a monitor. Widgets are stored inline, so no other resources are affected.
55
- */
56
- function monitorsDelete(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.MonitorDeleteRequest$outboundSchema.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 pathParams = {
67
- monitor_id: (0, encodings_js_1.encodeSimple)("monitor_id", payload.monitor_id, {
68
- explode: false,
69
- charEncoding: "percent",
70
- }),
71
- };
72
- const path = (0, url_js_1.pathToFunc)("/v2/monitors/{monitor_id}")(pathParams);
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: "MonitorDelete",
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: "DELETE",
94
- baseURL: options?.serverURL,
95
- path: path,
96
- headers: headers,
97
- body: body,
98
- userAgent: client._options.userAgent,
99
- timeoutMs: options?.timeoutMs || client._options.timeoutMs || 600000,
100
- }, options);
101
- if (!requestRes.ok) {
102
- return [requestRes, { status: "invalid" }];
103
- }
104
- const req = requestRes.value;
105
- const doResult = await client._do(req, {
106
- context,
107
- isErrorStatusCode: (statusCode) => (0, http_js_1.matchStatusCode)({ status: statusCode }, ["4XX", "5XX"]),
108
- retryConfig: context.retryConfig,
109
- retryCodes: context.retryCodes,
110
- });
111
- if (!doResult.ok) {
112
- return [doResult, { status: "request-error", request: req }];
113
- }
114
- const response = doResult.value;
115
- const [result] = await M.match(M.json(200, components.DeleteMonitorResponse$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req);
116
- if (!result.ok) {
117
- return [result, { status: "complete", request: req, response }];
118
- }
119
- return [result, { status: "complete", request: req, response }];
120
- }
121
- //# sourceMappingURL=monitorsDelete.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"monitorsDelete.js","sourceRoot":"","sources":["../src/funcs/monitorsDelete.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCH,wCAsBC;AAnDD,sDAAmD;AACnD,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,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,OAAwC,EACxC,OAAwB;IAiBxB,MAAM,MAAM,GAAG,IAAA,sBAAS,EACtB,OAAO,EACP,CAAC,KAAK,EAAE,EAAE,CAAC,UAAU,CAAC,mCAAmC,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,UAAU,GAAG;QACjB,UA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M,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,18 +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 * as operations from "../models/operations/index.js";
9
- import { APIPromise } from "../types/async.js";
10
- import { Result } from "../types/fp.js";
11
- /**
12
- * Retrieve a monitor
13
- *
14
- * @remarks
15
- * Retrieves a monitor by ID.
16
- */
17
- export declare function monitorsGet(client: OrqCore, request: operations.MonitorGetRequest, options?: RequestOptions): APIPromise<Result<components.GetMonitorResponse, OrqError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
18
- //# sourceMappingURL=monitorsGet.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"monitorsGet.d.ts","sourceRoot":"","sources":["../src/funcs/monitorsGet.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,WAAW,CACzB,MAAM,EAAE,OAAO,EACf,OAAO,EAAE,UAAU,CAAC,iBAAiB,EACrC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,kBAAkB,EAC3B,QAAQ,GACR,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
@@ -1,121 +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.monitorsGet = monitorsGet;
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
- * Retrieve a monitor
52
- *
53
- * @remarks
54
- * Retrieves a monitor by ID.
55
- */
56
- function monitorsGet(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.MonitorGetRequest$outboundSchema.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 pathParams = {
67
- monitor_id: (0, encodings_js_1.encodeSimple)("monitor_id", payload.monitor_id, {
68
- explode: false,
69
- charEncoding: "percent",
70
- }),
71
- };
72
- const path = (0, url_js_1.pathToFunc)("/v2/monitors/{monitor_id}")(pathParams);
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: "MonitorGet",
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
- body: body,
98
- userAgent: client._options.userAgent,
99
- timeoutMs: options?.timeoutMs || client._options.timeoutMs || 600000,
100
- }, options);
101
- if (!requestRes.ok) {
102
- return [requestRes, { status: "invalid" }];
103
- }
104
- const req = requestRes.value;
105
- const doResult = await client._do(req, {
106
- context,
107
- isErrorStatusCode: (statusCode) => (0, http_js_1.matchStatusCode)({ status: statusCode }, ["4XX", "5XX"]),
108
- retryConfig: context.retryConfig,
109
- retryCodes: context.retryCodes,
110
- });
111
- if (!doResult.ok) {
112
- return [doResult, { status: "request-error", request: req }];
113
- }
114
- const response = doResult.value;
115
- const [result] = await M.match(M.json(200, components.GetMonitorResponse$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req);
116
- if (!result.ok) {
117
- return [result, { status: "complete", request: req, response }];
118
- }
119
- return [result, { status: "complete", request: req, response }];
120
- }
121
- //# sourceMappingURL=monitorsGet.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"monitorsGet.js","sourceRoot":"","sources":["../src/funcs/monitorsGet.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCH,kCAsBC;AAnDD,sDAAmD;AACnD,4CAAiD;AACjD,sDAAwC;AACxC,wDAAkD;AAClD,kDAA8C;AAE9C,oDAA4E;AAC5E,0CAA2C;AAC3C,0EAA4D;AAW5D,0E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BAAe,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,gCAAgC,CAAC,EACxD,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,18 +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 * as operations from "../models/operations/index.js";
9
- import { APIPromise } from "../types/async.js";
10
- import { Result } from "../types/fp.js";
11
- /**
12
- * List monitors
13
- *
14
- * @remarks
15
- * 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.
16
- */
17
- export declare function monitorsList(client: OrqCore, request?: operations.MonitorListRequest | undefined, options?: RequestOptions): APIPromise<Result<components.ListMonitorsResponse, OrqError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
18
- //# sourceMappingURL=monitorsList.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"monitorsList.d.ts","sourceRoot":"","sources":["../src/funcs/monitorsList.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,YAAY,CAC1B,MAAM,EAAE,OAAO,EACf,OAAO,CAAC,EAAE,UAAU,CAAC,kBAAkB,GAAG,SAAS,EACnD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,oBAAoB,EAC7B,QAAQ,GACR,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}