@orq-ai/node 4.10.0-rc.1 → 4.10.0-rc.11

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 (477) hide show
  1. package/README.md +46 -55
  2. package/funcs/identitiesCreate.d.ts +3 -3
  3. package/funcs/identitiesCreate.d.ts.map +1 -1
  4. package/funcs/identitiesCreate.js +5 -7
  5. package/funcs/identitiesCreate.js.map +1 -1
  6. package/funcs/identitiesDelete.d.ts +3 -3
  7. package/funcs/identitiesDelete.d.ts.map +1 -1
  8. package/funcs/identitiesDelete.js +3 -7
  9. package/funcs/identitiesDelete.js.map +1 -1
  10. package/funcs/identitiesList.d.ts +2 -1
  11. package/funcs/identitiesList.d.ts.map +1 -1
  12. package/funcs/identitiesList.js +3 -2
  13. package/funcs/identitiesList.js.map +1 -1
  14. package/funcs/identitiesRetrieve.d.ts +2 -2
  15. package/funcs/identitiesRetrieve.d.ts.map +1 -1
  16. package/funcs/identitiesRetrieve.js +2 -5
  17. package/funcs/identitiesRetrieve.js.map +1 -1
  18. package/funcs/identitiesUpdate.d.ts +2 -2
  19. package/funcs/identitiesUpdate.d.ts.map +1 -1
  20. package/funcs/identitiesUpdate.js +5 -6
  21. package/funcs/identitiesUpdate.js.map +1 -1
  22. package/funcs/projectsCreate.d.ts +1 -1
  23. package/funcs/projectsCreate.js +1 -1
  24. package/funcs/projectsDelete.d.ts +3 -0
  25. package/funcs/projectsDelete.d.ts.map +1 -1
  26. package/funcs/projectsDelete.js +3 -0
  27. package/funcs/projectsDelete.js.map +1 -1
  28. package/funcs/projectsList.d.ts +1 -1
  29. package/funcs/projectsList.js +1 -1
  30. package/funcs/reportingQuery.d.ts +17 -0
  31. package/funcs/reportingQuery.d.ts.map +1 -0
  32. package/funcs/{contactsCreate.js → reportingQuery.js} +10 -10
  33. package/funcs/reportingQuery.js.map +1 -0
  34. package/funcs/skillsCreate.d.ts +1 -1
  35. package/funcs/skillsCreate.js +1 -1
  36. package/funcs/skillsDelete.d.ts +3 -0
  37. package/funcs/skillsDelete.d.ts.map +1 -1
  38. package/funcs/skillsDelete.js +3 -0
  39. package/funcs/skillsDelete.js.map +1 -1
  40. package/funcs/skillsGet.d.ts +1 -1
  41. package/funcs/skillsGet.js +1 -1
  42. package/funcs/skillsList.d.ts +1 -1
  43. package/funcs/skillsList.js +1 -1
  44. package/funcs/skillsUpdate.d.ts +1 -1
  45. package/funcs/skillsUpdate.js +1 -1
  46. package/jsr.json +1 -1
  47. package/langchain/async-handler.d.mts.map +1 -1
  48. package/langchain/async-handler.mjs +8 -11
  49. package/langchain/async-handler.mjs.map +1 -1
  50. package/langchain/events.d.mts.map +1 -1
  51. package/langchain/events.mjs +12 -0
  52. package/langchain/events.mjs.map +1 -1
  53. package/langchain/handler.d.mts.map +1 -1
  54. package/langchain/handler.mjs +8 -11
  55. package/langchain/handler.mjs.map +1 -1
  56. package/langchain/span-builder.mjs +3 -3
  57. package/langchain/span-builder.mjs.map +1 -1
  58. package/langchain/utils.d.mts.map +1 -1
  59. package/langchain/utils.mjs +115 -0
  60. package/langchain/utils.mjs.map +1 -1
  61. package/lib/config.d.ts +3 -3
  62. package/lib/config.js +3 -3
  63. package/lib/config.js.map +1 -1
  64. package/models/components/createidentityrequest.d.ts +28 -0
  65. package/models/components/createidentityrequest.d.ts.map +1 -0
  66. package/models/{operations/createidentity.js → components/createidentityrequest.js} +18 -38
  67. package/models/components/createidentityrequest.js.map +1 -0
  68. package/models/components/createidentityresponse.d.ts +11 -0
  69. package/models/components/createidentityresponse.d.ts.map +1 -0
  70. package/models/components/createidentityresponse.js +51 -0
  71. package/models/components/createidentityresponse.js.map +1 -0
  72. package/models/components/createprojectrequest.d.ts +6 -0
  73. package/models/components/createprojectrequest.d.ts.map +1 -1
  74. package/models/components/createprojectrequest.js.map +1 -1
  75. package/models/components/createprojectresponse.d.ts +3 -0
  76. package/models/components/createprojectresponse.d.ts.map +1 -1
  77. package/models/components/createprojectresponse.js.map +1 -1
  78. package/models/components/createskillrequest.d.ts +18 -0
  79. package/models/components/createskillrequest.d.ts.map +1 -1
  80. package/models/components/createskillrequest.js.map +1 -1
  81. package/models/components/createskillresponse.d.ts +3 -0
  82. package/models/components/createskillresponse.d.ts.map +1 -1
  83. package/models/components/createskillresponse.js.map +1 -1
  84. package/models/components/datapoint.d.ts +40 -0
  85. package/models/components/datapoint.d.ts.map +1 -0
  86. package/models/components/datapoint.js +53 -0
  87. package/models/components/datapoint.js.map +1 -0
  88. package/models/components/deleteidentityresponse.d.ts +8 -0
  89. package/models/components/deleteidentityresponse.d.ts.map +1 -0
  90. package/models/components/deleteidentityresponse.js +48 -0
  91. package/models/components/deleteidentityresponse.js.map +1 -0
  92. package/models/components/file.d.ts +0 -1
  93. package/models/components/file.d.ts.map +1 -1
  94. package/models/components/file.js +0 -2
  95. package/models/components/file.js.map +1 -1
  96. package/models/components/filter.d.ts +99 -0
  97. package/models/components/filter.d.ts.map +1 -0
  98. package/models/components/filter.js +120 -0
  99. package/models/components/filter.js.map +1 -0
  100. package/models/components/getprojectresponse.d.ts +3 -0
  101. package/models/components/getprojectresponse.d.ts.map +1 -1
  102. package/models/components/getprojectresponse.js.map +1 -1
  103. package/models/components/getskillresponse.d.ts +3 -0
  104. package/models/components/getskillresponse.d.ts.map +1 -1
  105. package/models/components/getskillresponse.js.map +1 -1
  106. package/models/components/identity.d.ts +25 -0
  107. package/models/components/identity.d.ts.map +1 -0
  108. package/models/{operations/createcontact.js → components/identity.js} +22 -32
  109. package/models/components/identity.js.map +1 -0
  110. package/models/components/identitymetrics.d.ts +13 -0
  111. package/models/components/identitymetrics.d.ts.map +1 -0
  112. package/models/{errors/updateidentity.js → components/identitymetrics.js} +19 -26
  113. package/models/components/identitymetrics.js.map +1 -0
  114. package/models/components/index.d.ts +15 -0
  115. package/models/components/index.d.ts.map +1 -1
  116. package/models/components/index.js +15 -0
  117. package/models/components/index.js.map +1 -1
  118. package/models/components/invokedeploymentrequest.d.ts +6 -6
  119. package/models/components/invokedeploymentrequest.d.ts.map +1 -1
  120. package/models/components/invokedeploymentrequest.js +7 -6
  121. package/models/components/invokedeploymentrequest.js.map +1 -1
  122. package/models/components/listidentitiesresponse.d.ts +13 -0
  123. package/models/components/listidentitiesresponse.d.ts.map +1 -0
  124. package/models/{errors/deleteidentity.js → components/listidentitiesresponse.js} +16 -29
  125. package/models/components/listidentitiesresponse.js.map +1 -0
  126. package/models/components/listprojectsresponse.d.ts +12 -0
  127. package/models/components/listprojectsresponse.d.ts.map +1 -1
  128. package/models/components/listprojectsresponse.js.map +1 -1
  129. package/models/components/listskillsresponse.d.ts +12 -0
  130. package/models/components/listskillsresponse.d.ts.map +1 -1
  131. package/models/components/listskillsresponse.js.map +1 -1
  132. package/models/components/modelref.d.ts +2 -0
  133. package/models/components/modelref.d.ts.map +1 -1
  134. package/models/components/modelref.js +4 -0
  135. package/models/components/modelref.js.map +1 -1
  136. package/models/components/project.d.ts +42 -1
  137. package/models/components/project.d.ts.map +1 -1
  138. package/models/components/project.js +0 -2
  139. package/models/components/project.js.map +1 -1
  140. package/models/components/queryreportrequest.d.ts +156 -0
  141. package/models/components/queryreportrequest.d.ts.map +1 -0
  142. package/models/components/queryreportrequest.js +166 -0
  143. package/models/components/queryreportrequest.js.map +1 -0
  144. package/models/components/queryreportresponse.d.ts +59 -0
  145. package/models/components/queryreportresponse.d.ts.map +1 -0
  146. package/models/components/queryreportresponse.js +73 -0
  147. package/models/components/queryreportresponse.js.map +1 -0
  148. package/models/components/reasoningpart.js +1 -1
  149. package/models/components/responsemeta.d.ts +63 -0
  150. package/models/components/responsemeta.d.ts.map +1 -0
  151. package/models/{operations/remoteconfigsgetconfig.js → components/responsemeta.js} +31 -27
  152. package/models/components/responsemeta.js.map +1 -0
  153. package/models/components/retrieveidentityresponse.d.ts +11 -0
  154. package/models/components/retrieveidentityresponse.d.ts.map +1 -0
  155. package/models/components/retrieveidentityresponse.js +51 -0
  156. package/models/components/retrieveidentityresponse.js.map +1 -0
  157. package/models/components/skill.d.ts +37 -1
  158. package/models/components/skill.d.ts.map +1 -1
  159. package/models/components/skill.js +0 -2
  160. package/models/components/skill.js.map +1 -1
  161. package/models/components/totals.d.ts +18 -0
  162. package/models/components/totals.d.ts.map +1 -0
  163. package/models/components/totals.js +51 -0
  164. package/models/components/totals.js.map +1 -0
  165. package/models/components/updateidentityrequest.d.ts +28 -0
  166. package/models/components/updateidentityrequest.d.ts.map +1 -0
  167. package/models/components/updateidentityrequest.js +67 -0
  168. package/models/components/updateidentityrequest.js.map +1 -0
  169. package/models/components/updateidentityresponse.d.ts +11 -0
  170. package/models/components/updateidentityresponse.d.ts.map +1 -0
  171. package/models/components/updateidentityresponse.js +51 -0
  172. package/models/components/updateidentityresponse.js.map +1 -0
  173. package/models/components/updateprojectrequest.d.ts +12 -0
  174. package/models/components/updateprojectrequest.d.ts.map +1 -1
  175. package/models/components/updateprojectrequest.js.map +1 -1
  176. package/models/components/updateprojectresponse.d.ts +3 -0
  177. package/models/components/updateprojectresponse.d.ts.map +1 -1
  178. package/models/components/updateprojectresponse.js.map +1 -1
  179. package/models/components/updateskillrequest.d.ts +21 -0
  180. package/models/components/updateskillrequest.d.ts.map +1 -1
  181. package/models/components/updateskillrequest.js.map +1 -1
  182. package/models/components/updateskillresponse.d.ts +3 -0
  183. package/models/components/updateskillresponse.d.ts.map +1 -1
  184. package/models/components/updateskillresponse.js.map +1 -1
  185. package/models/errors/index.d.ts +0 -3
  186. package/models/errors/index.d.ts.map +1 -1
  187. package/models/errors/index.js +0 -3
  188. package/models/errors/index.js.map +1 -1
  189. package/models/operations/createagentrequest.d.ts +3 -3
  190. package/models/operations/createannotation.d.ts +4 -4
  191. package/models/operations/createannotation.d.ts.map +1 -1
  192. package/models/operations/createannotation.js +5 -5
  193. package/models/operations/createannotation.js.map +1 -1
  194. package/models/operations/createdataset.d.ts +3 -3
  195. package/models/operations/createdataset.js +1 -1
  196. package/models/operations/createdatasetitem.js +4 -4
  197. package/models/operations/createdatasource.js +1 -1
  198. package/models/operations/createeval.d.ts +15 -15
  199. package/models/operations/createeval.js +16 -16
  200. package/models/operations/createknowledge.d.ts +9 -9
  201. package/models/operations/creatememorystore.d.ts +3 -3
  202. package/models/operations/createprompt.d.ts +3 -3
  203. package/models/operations/createrouterresponse.d.ts +6 -11
  204. package/models/operations/createrouterresponse.d.ts.map +1 -1
  205. package/models/operations/createrouterresponse.js +2 -8
  206. package/models/operations/createrouterresponse.js.map +1 -1
  207. package/models/operations/createtool.d.ts +30 -30
  208. package/models/operations/createtool.js +6 -6
  209. package/models/operations/deleteidentity.d.ts +0 -3
  210. package/models/operations/deleteidentity.d.ts.map +1 -1
  211. package/models/operations/deleteidentity.js.map +1 -1
  212. package/models/operations/getalltools.d.ts +15 -15
  213. package/models/operations/getalltools.js +6 -6
  214. package/models/operations/getevals.js +16 -16
  215. package/models/operations/getoneknowledge.d.ts +6 -6
  216. package/models/operations/getv2humanevalsets.js +2 -2
  217. package/models/operations/getv2humanevalsetsid.js +2 -2
  218. package/models/operations/index.d.ts +0 -3
  219. package/models/operations/index.d.ts.map +1 -1
  220. package/models/operations/index.js +0 -3
  221. package/models/operations/index.js.map +1 -1
  222. package/models/operations/invokeeval.d.ts +28 -28
  223. package/models/operations/invokeeval.d.ts.map +1 -1
  224. package/models/operations/invokeeval.js +40 -40
  225. package/models/operations/invokeeval.js.map +1 -1
  226. package/models/operations/listagents.d.ts +3 -3
  227. package/models/operations/listdatasetdatapoints.js +4 -4
  228. package/models/operations/listdatasets.js +1 -1
  229. package/models/operations/listdatasources.js +1 -1
  230. package/models/operations/listidentities.d.ts +5 -121
  231. package/models/operations/listidentities.d.ts.map +1 -1
  232. package/models/operations/listidentities.js +5 -76
  233. package/models/operations/listidentities.js.map +1 -1
  234. package/models/operations/listknowledgebases.d.ts +6 -6
  235. package/models/operations/patchv2humanevalsetsid.js +2 -2
  236. package/models/operations/postv2agentsa2a.d.ts +4 -4
  237. package/models/operations/postv2agentsa2a.d.ts.map +1 -1
  238. package/models/operations/postv2agentsa2a.js +6 -6
  239. package/models/operations/postv2agentsa2a.js.map +1 -1
  240. package/models/operations/postv2feedback.d.ts +15 -15
  241. package/models/operations/postv2feedback.d.ts.map +1 -1
  242. package/models/operations/postv2feedback.js +15 -16
  243. package/models/operations/postv2feedback.js.map +1 -1
  244. package/models/operations/postv2feedbackevaluation.js +3 -3
  245. package/models/operations/postv2feedbackremove.d.ts +8 -8
  246. package/models/operations/postv2feedbackremove.d.ts.map +1 -1
  247. package/models/operations/postv2feedbackremove.js +8 -7
  248. package/models/operations/postv2feedbackremove.js.map +1 -1
  249. package/models/operations/postv2humanevalsets.js +2 -2
  250. package/models/operations/projectdelete.d.ts +3 -0
  251. package/models/operations/projectdelete.d.ts.map +1 -1
  252. package/models/operations/projectdelete.js.map +1 -1
  253. package/models/operations/projectget.d.ts +3 -0
  254. package/models/operations/projectget.d.ts.map +1 -1
  255. package/models/operations/projectget.js.map +1 -1
  256. package/models/operations/projectlist.d.ts +15 -0
  257. package/models/operations/projectlist.d.ts.map +1 -1
  258. package/models/operations/projectlist.js.map +1 -1
  259. package/models/operations/projectupdate.d.ts +3 -0
  260. package/models/operations/projectupdate.d.ts.map +1 -1
  261. package/models/operations/projectupdate.js.map +1 -1
  262. package/models/operations/retrieveagentrequest.d.ts +3 -3
  263. package/models/operations/retrievedatapoint.js +4 -4
  264. package/models/operations/retrievedataset.js +1 -1
  265. package/models/operations/retrievedatasource.js +1 -1
  266. package/models/operations/retrieveidentity.d.ts +2 -78
  267. package/models/operations/retrieveidentity.d.ts.map +1 -1
  268. package/models/operations/retrieveidentity.js +2 -46
  269. package/models/operations/retrieveidentity.js.map +1 -1
  270. package/models/operations/retrievetool.d.ts +15 -15
  271. package/models/operations/retrievetool.js +6 -6
  272. package/models/operations/runagent.d.ts +3 -3
  273. package/models/operations/runagent.js +1 -1
  274. package/models/operations/skilldelete.d.ts +3 -0
  275. package/models/operations/skilldelete.d.ts.map +1 -1
  276. package/models/operations/skilldelete.js.map +1 -1
  277. package/models/operations/skilllist.d.ts +12 -0
  278. package/models/operations/skilllist.d.ts.map +1 -1
  279. package/models/operations/skilllist.js.map +1 -1
  280. package/models/operations/skillupdate.d.ts +3 -0
  281. package/models/operations/skillupdate.d.ts.map +1 -1
  282. package/models/operations/skillupdate.js.map +1 -1
  283. package/models/operations/streamrunagent.d.ts +3 -3
  284. package/models/operations/streamrunagent.js +1 -1
  285. package/models/operations/updateagent.d.ts +6 -6
  286. package/models/operations/updatedatapoint.js +4 -4
  287. package/models/operations/updatedataset.d.ts +3 -3
  288. package/models/operations/updatedataset.js +1 -1
  289. package/models/operations/updatedatasource.js +1 -1
  290. package/models/operations/updateeval.js +16 -16
  291. package/models/operations/updateidentity.d.ts +3 -96
  292. package/models/operations/updateidentity.d.ts.map +1 -1
  293. package/models/operations/updateidentity.js +4 -46
  294. package/models/operations/updateidentity.js.map +1 -1
  295. package/models/operations/updateknowledge.d.ts +12 -12
  296. package/models/operations/updateprompt.d.ts +3 -3
  297. package/models/operations/updatetool.d.ts +30 -30
  298. package/models/operations/updatetool.js +7 -7
  299. package/package.json +6 -6
  300. package/sdk/feedback.d.ts +1 -1
  301. package/sdk/feedback.d.ts.map +1 -1
  302. package/sdk/feedback.js +3 -3
  303. package/sdk/feedback.js.map +1 -1
  304. package/sdk/identities.d.ts +11 -10
  305. package/sdk/identities.d.ts.map +1 -1
  306. package/sdk/identities.js +9 -9
  307. package/sdk/identities.js.map +1 -1
  308. package/sdk/projects.d.ts +5 -2
  309. package/sdk/projects.d.ts.map +1 -1
  310. package/sdk/projects.js +5 -2
  311. package/sdk/projects.js.map +1 -1
  312. package/sdk/reporting.d.ts +12 -0
  313. package/sdk/reporting.d.ts.map +1 -0
  314. package/sdk/reporting.js +22 -0
  315. package/sdk/reporting.js.map +1 -0
  316. package/sdk/sdk.d.ts +7 -10
  317. package/sdk/sdk.d.ts.map +1 -1
  318. package/sdk/sdk.js +10 -14
  319. package/sdk/sdk.js.map +1 -1
  320. package/sdk/skills.d.ts +7 -4
  321. package/sdk/skills.d.ts.map +1 -1
  322. package/sdk/skills.js +7 -4
  323. package/sdk/skills.js.map +1 -1
  324. package/src/funcs/identitiesCreate.ts +10 -15
  325. package/src/funcs/identitiesDelete.ts +7 -16
  326. package/src/funcs/identitiesList.ts +6 -5
  327. package/src/funcs/identitiesRetrieve.ts +6 -18
  328. package/src/funcs/identitiesUpdate.ts +9 -15
  329. package/src/funcs/projectsCreate.ts +1 -1
  330. package/src/funcs/projectsDelete.ts +3 -0
  331. package/src/funcs/projectsList.ts +1 -1
  332. package/src/funcs/{contactsCreate.ts → reportingQuery.ts} +13 -13
  333. package/src/funcs/skillsCreate.ts +1 -1
  334. package/src/funcs/skillsDelete.ts +3 -0
  335. package/src/funcs/skillsGet.ts +1 -1
  336. package/src/funcs/skillsList.ts +1 -1
  337. package/src/funcs/skillsUpdate.ts +1 -1
  338. package/src/lib/config.ts +3 -3
  339. package/src/models/components/createidentityrequest.ts +76 -0
  340. package/src/models/components/createidentityresponse.ts +32 -0
  341. package/src/models/components/createprojectrequest.ts +6 -0
  342. package/src/models/components/createprojectresponse.ts +3 -0
  343. package/src/models/components/createskillrequest.ts +18 -0
  344. package/src/models/components/createskillresponse.ts +3 -0
  345. package/src/models/components/datapoint.ts +60 -0
  346. package/src/models/components/deleteidentityresponse.ts +27 -0
  347. package/src/models/components/file.ts +0 -3
  348. package/src/models/components/filter.ts +137 -0
  349. package/src/models/components/getprojectresponse.ts +3 -0
  350. package/src/models/components/getskillresponse.ts +3 -0
  351. package/src/models/components/identity.ts +83 -0
  352. package/src/models/components/identitymetrics.ts +45 -0
  353. package/src/models/components/index.ts +15 -0
  354. package/src/models/components/invokedeploymentrequest.ts +17 -10
  355. package/src/models/components/listidentitiesresponse.ts +41 -0
  356. package/src/models/components/listprojectsresponse.ts +12 -0
  357. package/src/models/components/listskillsresponse.ts +12 -0
  358. package/src/models/components/modelref.ts +6 -0
  359. package/src/models/components/project.ts +42 -3
  360. package/src/models/components/queryreportrequest.ts +237 -0
  361. package/src/models/components/queryreportresponse.ts +96 -0
  362. package/src/models/components/reasoningpart.ts +1 -1
  363. package/src/models/components/responsemeta.ts +103 -0
  364. package/src/models/components/retrieveidentityresponse.ts +32 -0
  365. package/src/models/components/skill.ts +37 -3
  366. package/src/models/components/totals.ts +34 -0
  367. package/src/models/components/updateidentityrequest.ts +75 -0
  368. package/src/models/components/updateidentityresponse.ts +32 -0
  369. package/src/models/components/updateprojectrequest.ts +12 -0
  370. package/src/models/components/updateprojectresponse.ts +3 -0
  371. package/src/models/components/updateskillrequest.ts +21 -0
  372. package/src/models/components/updateskillresponse.ts +3 -0
  373. package/src/models/errors/index.ts +0 -3
  374. package/src/models/operations/createagentrequest.ts +3 -3
  375. package/src/models/operations/createannotation.ts +7 -11
  376. package/src/models/operations/createdataset.ts +4 -4
  377. package/src/models/operations/createdatasetitem.ts +4 -4
  378. package/src/models/operations/createdatasource.ts +1 -1
  379. package/src/models/operations/createeval.ts +31 -31
  380. package/src/models/operations/createknowledge.ts +9 -9
  381. package/src/models/operations/creatememorystore.ts +3 -3
  382. package/src/models/operations/createprompt.ts +3 -3
  383. package/src/models/operations/createrouterresponse.ts +3 -24
  384. package/src/models/operations/createtool.ts +36 -36
  385. package/src/models/operations/deleteidentity.ts +0 -3
  386. package/src/models/operations/getalltools.ts +21 -21
  387. package/src/models/operations/getevals.ts +16 -16
  388. package/src/models/operations/getoneknowledge.ts +6 -6
  389. package/src/models/operations/getv2humanevalsets.ts +2 -2
  390. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  391. package/src/models/operations/index.ts +0 -3
  392. package/src/models/operations/invokeeval.ts +83 -80
  393. package/src/models/operations/listagents.ts +3 -3
  394. package/src/models/operations/listdatasetdatapoints.ts +4 -4
  395. package/src/models/operations/listdatasets.ts +1 -1
  396. package/src/models/operations/listdatasources.ts +1 -1
  397. package/src/models/operations/listidentities.ts +9 -230
  398. package/src/models/operations/listknowledgebases.ts +6 -6
  399. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  400. package/src/models/operations/postv2agentsa2a.ts +14 -17
  401. package/src/models/operations/postv2feedback.ts +34 -27
  402. package/src/models/operations/postv2feedbackevaluation.ts +3 -3
  403. package/src/models/operations/postv2feedbackremove.ts +14 -17
  404. package/src/models/operations/postv2humanevalsets.ts +2 -2
  405. package/src/models/operations/projectdelete.ts +3 -0
  406. package/src/models/operations/projectget.ts +3 -0
  407. package/src/models/operations/projectlist.ts +15 -0
  408. package/src/models/operations/projectupdate.ts +3 -0
  409. package/src/models/operations/retrieveagentrequest.ts +3 -3
  410. package/src/models/operations/retrievedatapoint.ts +4 -4
  411. package/src/models/operations/retrievedataset.ts +1 -1
  412. package/src/models/operations/retrievedatasource.ts +1 -1
  413. package/src/models/operations/retrieveidentity.ts +3 -138
  414. package/src/models/operations/retrievetool.ts +21 -21
  415. package/src/models/operations/runagent.ts +4 -4
  416. package/src/models/operations/skilldelete.ts +3 -0
  417. package/src/models/operations/skilllist.ts +12 -0
  418. package/src/models/operations/skillupdate.ts +3 -0
  419. package/src/models/operations/streamrunagent.ts +4 -4
  420. package/src/models/operations/updateagent.ts +6 -6
  421. package/src/models/operations/updatedatapoint.ts +4 -4
  422. package/src/models/operations/updatedataset.ts +4 -4
  423. package/src/models/operations/updatedatasource.ts +1 -1
  424. package/src/models/operations/updateeval.ts +16 -16
  425. package/src/models/operations/updateidentity.ts +5 -154
  426. package/src/models/operations/updateknowledge.ts +12 -12
  427. package/src/models/operations/updateprompt.ts +3 -3
  428. package/src/models/operations/updatetool.ts +37 -37
  429. package/src/sdk/feedback.ts +8 -8
  430. package/src/sdk/identities.ts +18 -17
  431. package/src/sdk/projects.ts +5 -2
  432. package/src/sdk/reporting.ts +27 -0
  433. package/src/sdk/sdk.ts +16 -22
  434. package/src/sdk/skills.ts +7 -4
  435. package/funcs/contactsCreate.d.ts +0 -17
  436. package/funcs/contactsCreate.d.ts.map +0 -1
  437. package/funcs/contactsCreate.js.map +0 -1
  438. package/funcs/remoteconfigsRetrieve.d.ts +0 -14
  439. package/funcs/remoteconfigsRetrieve.d.ts.map +0 -1
  440. package/funcs/remoteconfigsRetrieve.js +0 -115
  441. package/funcs/remoteconfigsRetrieve.js.map +0 -1
  442. package/models/errors/deleteidentity.d.ts +0 -30
  443. package/models/errors/deleteidentity.d.ts.map +0 -1
  444. package/models/errors/deleteidentity.js.map +0 -1
  445. package/models/errors/retrieveidentity.d.ts +0 -57
  446. package/models/errors/retrieveidentity.d.ts.map +0 -1
  447. package/models/errors/retrieveidentity.js +0 -100
  448. package/models/errors/retrieveidentity.js.map +0 -1
  449. package/models/errors/updateidentity.d.ts +0 -26
  450. package/models/errors/updateidentity.d.ts.map +0 -1
  451. package/models/errors/updateidentity.js.map +0 -1
  452. package/models/operations/createcontact.d.ts +0 -95
  453. package/models/operations/createcontact.d.ts.map +0 -1
  454. package/models/operations/createcontact.js.map +0 -1
  455. package/models/operations/createidentity.d.ts +0 -99
  456. package/models/operations/createidentity.d.ts.map +0 -1
  457. package/models/operations/createidentity.js.map +0 -1
  458. package/models/operations/remoteconfigsgetconfig.d.ts +0 -67
  459. package/models/operations/remoteconfigsgetconfig.d.ts.map +0 -1
  460. package/models/operations/remoteconfigsgetconfig.js.map +0 -1
  461. package/sdk/contacts.d.ts +0 -12
  462. package/sdk/contacts.d.ts.map +0 -1
  463. package/sdk/contacts.js +0 -22
  464. package/sdk/contacts.js.map +0 -1
  465. package/sdk/remoteconfigs.d.ts +0 -9
  466. package/sdk/remoteconfigs.d.ts.map +0 -1
  467. package/sdk/remoteconfigs.js +0 -19
  468. package/sdk/remoteconfigs.js.map +0 -1
  469. package/src/funcs/remoteconfigsRetrieve.ts +0 -163
  470. package/src/models/errors/deleteidentity.ts +0 -62
  471. package/src/models/errors/retrieveidentity.ts +0 -118
  472. package/src/models/errors/updateidentity.ts +0 -54
  473. package/src/models/operations/createcontact.ts +0 -156
  474. package/src/models/operations/createidentity.ts +0 -162
  475. package/src/models/operations/remoteconfigsgetconfig.ts +0 -108
  476. package/src/sdk/contacts.ts +0 -27
  477. package/src/sdk/remoteconfigs.ts +0 -24
@@ -1 +0,0 @@
1
- {"version":3,"file":"retrieveidentity.js","sourceRoot":"","sources":["../../src/models/errors/retrieveidentity.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAC5B,+CAAyC;AAYzC;;GAEG;AACH,MAAa,sCAAuC,SAAQ,sBAAQ;IASlE,YACE,GAA+C,EAC/C,QAAgE;QAEhE,MAAM,OAAO,GAAG,SAAS,IAAI,GAAG,IAAI,OAAO,GAAG,CAAC,OAAO,KAAK,QAAQ;YACjE,CAAC,CAAC,GAAG,CAAC,OAAO;YACb,CAAC,CAAC,uBAAuB,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC;QACjD,KAAK,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;QACzB,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC;QACjB,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC;QAEvB,IAAI,CAAC,IAAI,GAAG,wCAAwC,CAAC;IACvD,CAAC;CACF;AAtBD,wFAsBC;AAYD;;GAEG;AACH,MAAa,4BAA6B,SAAQ,sBAAQ;IASxD,YACE,GAAqC,EACrC,QAAgE;QAEhE,MAAM,OAAO,GAAG,SAAS,IAAI,GAAG,IAAI,OAAO,GAAG,CAAC,OAAO,KAAK,QAAQ;YACjE,CAAC,CAAC,GAAG,CAAC,OAAO;YACb,CAAC,CAAC,uBAAuB,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC;QACjD,KAAK,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;QACzB,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC;QACjB,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC;QAEvB,IAAI,CAAC,IAAI,GAAG,8BAA8B,CAAC;IAC7C,CAAC;CACF;AAtBD,oEAsBC;AAED,gBAAgB;AACH,QAAA,oDAAoD,GAI7D,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,QAAQ,EAAE,CAAC,CAAC,UAAU,CAAC,OAAO,CAAC;IAC/B,SAAS,EAAE,CAAC,CAAC,UAAU,CAAC,QAAQ,CAAC;IACjC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC;KACC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACf,OAAO,IAAI,sCAAsC,CAAC,CAAC,EAAE;QACnD,OAAO,EAAE,CAAC,CAAC,QAAQ;QACnB,QAAQ,EAAE,CAAC,CAAC,SAAS;QACrB,IAAI,EAAE,CAAC,CAAC,KAAK;KACd,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEL,gBAAgB;AACH,QAAA,0CAA0C,GAInD,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,QAAQ,EAAE,CAAC,CAAC,UAAU,CAAC,OAAO,CAAC;IAC/B,SAAS,EAAE,CAAC,CAAC,UAAU,CAAC,QAAQ,CAAC;IACjC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC;KACC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACf,OAAO,IAAI,4BAA4B,CAAC,CAAC,EAAE;QACzC,OAAO,EAAE,CAAC,CAAC,QAAQ;QACnB,QAAQ,EAAE,CAAC,CAAC,SAAS;QACrB,IAAI,EAAE,CAAC,CAAC,KAAK;KACd,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -1,26 +0,0 @@
1
- import * as z from "zod/v3";
2
- import { OrqError } from "./orqerror.js";
3
- /**
4
- * Identity not found
5
- */
6
- export type UpdateIdentityResponseBodyData = {
7
- /**
8
- * Error message
9
- */
10
- message: string;
11
- };
12
- /**
13
- * Identity not found
14
- */
15
- export declare class UpdateIdentityResponseBody extends OrqError {
16
- /** The original data that was passed to this error instance. */
17
- data$: UpdateIdentityResponseBodyData;
18
- constructor(err: UpdateIdentityResponseBodyData, httpMeta: {
19
- response: Response;
20
- request: Request;
21
- body: string;
22
- });
23
- }
24
- /** @internal */
25
- export declare const UpdateIdentityResponseBody$inboundSchema: z.ZodType<UpdateIdentityResponseBody, z.ZodTypeDef, unknown>;
26
- //# sourceMappingURL=updateidentity.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"updateidentity.d.ts","sourceRoot":"","sources":["../../src/models/errors/updateidentity.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC;;GAEG;AACH,MAAM,MAAM,8BAA8B,GAAG;IAC3C;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF;;GAEG;AACH,qBAAa,0BAA2B,SAAQ,QAAQ;IACtD,gEAAgE;IAChE,KAAK,EAAE,8BAA8B,CAAC;gBAGpC,GAAG,EAAE,8BAA8B,EACnC,QAAQ,EAAE;QAAE,QAAQ,EAAE,QAAQ,CAAC;QAAC,OAAO,EAAE,OAAO,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE;CAQnE;AAED,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,0BAA0B,EAC1B,CAAC,CAAC,UAAU,EACZ,OAAO,CAaL,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"updateidentity.js","sourceRoot":"","sources":["../../src/models/errors/updateidentity.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAC5B,+CAAyC;AAYzC;;GAEG;AACH,MAAa,0BAA2B,SAAQ,sBAAQ;IAItD,YACE,GAAmC,EACnC,QAAgE;QAEhE,MAAM,OAAO,GAAG,GAAG,CAAC,OAAO,IAAI,uBAAuB,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC;QAC5E,KAAK,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;QACzB,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC;QAEjB,IAAI,CAAC,IAAI,GAAG,4BAA4B,CAAC;IAC3C,CAAC;CACF;AAdD,gEAcC;AAED,gBAAgB;AACH,QAAA,wCAAwC,GAIjD,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,QAAQ,EAAE,CAAC,CAAC,UAAU,CAAC,OAAO,CAAC;IAC/B,SAAS,EAAE,CAAC,CAAC,UAAU,CAAC,QAAQ,CAAC;IACjC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC;KACC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACf,OAAO,IAAI,0BAA0B,CAAC,CAAC,EAAE;QACvC,OAAO,EAAE,CAAC,CAAC,QAAQ;QACnB,QAAQ,EAAE,CAAC,CAAC,SAAS;QACrB,IAAI,EAAE,CAAC,CAAC,KAAK;KACd,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -1,95 +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
- /**
5
- * Update user information payload
6
- */
7
- export type CreateContactRequestBody = {
8
- /**
9
- * Unique string value to identify the contact user in the customer's system. This should be the same ID you use in your system to reference this user.
10
- */
11
- externalId: string;
12
- /**
13
- * Display name or nickname of the contact user. This is typically shown in user interfaces.
14
- */
15
- displayName?: string | null | undefined;
16
- /**
17
- * Email address of the contact user
18
- */
19
- email?: string | null | undefined;
20
- /**
21
- * URL linking to the contact user's avatar image
22
- */
23
- avatarUrl?: string | null | undefined;
24
- /**
25
- * Array of tags associated with the contact. Useful for organizing and filtering contacts by categories, departments, or custom classifications.
26
- */
27
- tags?: Array<string> | undefined;
28
- /**
29
- * Additional custom metadata associated with the contact as key-value pairs. Use this to store any extra information specific to your application.
30
- */
31
- metadata?: {
32
- [k: string]: any;
33
- } | undefined;
34
- };
35
- /**
36
- * Successful operation
37
- */
38
- export type CreateContactResponseBody = {
39
- /**
40
- * Unique ULID (Universally Unique Lexicographically Sortable Identifier) for the contact
41
- */
42
- id: string;
43
- /**
44
- * Unique string value to identify the contact user in the customer's system. This should be the same ID you use in your system to reference this user.
45
- */
46
- externalId: string;
47
- /**
48
- * Display name or nickname of the contact user. This is typically shown in user interfaces.
49
- */
50
- displayName?: string | null | undefined;
51
- /**
52
- * Email address of the contact user
53
- */
54
- email?: string | null | undefined;
55
- /**
56
- * URL linking to the contact user's avatar image
57
- */
58
- avatarUrl?: string | null | undefined;
59
- /**
60
- * Array of tags associated with the contact. Useful for organizing and filtering contacts by categories, departments, or custom classifications.
61
- */
62
- tags?: Array<string> | undefined;
63
- /**
64
- * Additional custom metadata associated with the contact as key-value pairs. Use this to store any extra information specific to your application.
65
- */
66
- metadata?: {
67
- [k: string]: any;
68
- } | undefined;
69
- /**
70
- * The date and time the resource was created
71
- */
72
- created?: Date | undefined;
73
- /**
74
- * The date and time the resource was last updated
75
- */
76
- updated: Date;
77
- };
78
- /** @internal */
79
- export type CreateContactRequestBody$Outbound = {
80
- external_id: string;
81
- display_name?: string | null | undefined;
82
- email?: string | null | undefined;
83
- avatar_url?: string | null | undefined;
84
- tags?: Array<string> | undefined;
85
- metadata?: {
86
- [k: string]: any;
87
- } | undefined;
88
- };
89
- /** @internal */
90
- export declare const CreateContactRequestBody$outboundSchema: z.ZodType<CreateContactRequestBody$Outbound, z.ZodTypeDef, CreateContactRequestBody>;
91
- export declare function createContactRequestBodyToJSON(createContactRequestBody: CreateContactRequestBody): string;
92
- /** @internal */
93
- export declare const CreateContactResponseBody$inboundSchema: z.ZodType<CreateContactResponseBody, z.ZodTypeDef, unknown>;
94
- export declare function createContactResponseBodyFromJSON(jsonString: string): SafeParseResult<CreateContactResponseBody, SDKValidationError>;
95
- //# sourceMappingURL=createcontact.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createcontact.d.ts","sourceRoot":"","sources":["../../src/models/operations/createcontact.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACtC;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACjC;;OAEG;IACH,QAAQ,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;CAC7C,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACtC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACtC;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC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C,EACnE,uDAAuD,CACxD,CAAC;AACJ,CAAC"}
@@ -1,99 +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
- /**
5
- * Identity profile information
6
- */
7
- export type CreateIdentityRequestBody = {
8
- /**
9
- * Unique string value to identify the contact user in the customer's system. This should be the same ID you use in your system to reference this user.
10
- */
11
- externalId: string;
12
- /**
13
- * Display name or nickname of the contact user. This is typically shown in user interfaces.
14
- */
15
- displayName?: string | null | undefined;
16
- /**
17
- * Email address of the contact user
18
- */
19
- email?: string | null | undefined;
20
- /**
21
- * URL linking to the contact user's avatar image
22
- */
23
- avatarUrl?: string | null | undefined;
24
- /**
25
- * Array of tags associated with the contact. Useful for organizing and filtering contacts by categories, departments, or custom classifications.
26
- */
27
- tags?: Array<string> | undefined;
28
- /**
29
- * Additional custom metadata associated with the contact as key-value pairs. Use this to store any extra information specific to your application.
30
- */
31
- metadata?: {
32
- [k: string]: any;
33
- } | undefined;
34
- };
35
- /**
36
- * Created Identity
37
- */
38
- export type CreateIdentityResponseBody = {
39
- /**
40
- * Unique ULID (Universally Unique Lexicographically Sortable Identifier) for the contact
41
- */
42
- id: string;
43
- /**
44
- * Unique string value to identify the contact user in the customer's system. This should be the same ID you use in your system to reference this user.
45
- */
46
- externalId: string;
47
- /**
48
- * Unique identifier for the workspace to which the contact belongs
49
- */
50
- workspaceId: string;
51
- /**
52
- * Display name or nickname of the contact user. This is typically shown in user interfaces.
53
- */
54
- displayName?: string | null | undefined;
55
- /**
56
- * Email address of the contact user
57
- */
58
- email?: string | null | undefined;
59
- /**
60
- * URL linking to the contact user's avatar image
61
- */
62
- avatarUrl?: string | null | undefined;
63
- /**
64
- * Array of tags associated with the contact. Useful for organizing and filtering contacts by categories, departments, or custom classifications.
65
- */
66
- tags?: Array<string> | undefined;
67
- /**
68
- * Additional custom metadata associated with the contact as key-value pairs. Use this to store any extra information specific to your application.
69
- */
70
- metadata?: {
71
- [k: string]: any;
72
- } | undefined;
73
- /**
74
- * The date and time the resource was created
75
- */
76
- created?: Date | undefined;
77
- /**
78
- * The date and time the resource was last updated
79
- */
80
- updated: Date;
81
- };
82
- /** @internal */
83
- export type CreateIdentityRequestBody$Outbound = {
84
- external_id: string;
85
- display_name?: string | null | undefined;
86
- email?: string | null | undefined;
87
- avatar_url?: string | null | undefined;
88
- tags?: Array<string> | undefined;
89
- metadata?: {
90
- [k: string]: any;
91
- } | undefined;
92
- };
93
- /** @internal */
94
- export declare const CreateIdentityRequestBody$outboundSchema: z.ZodType<CreateIdentityRequestBody$Outbound, z.ZodTypeDef, CreateIdentityRequestBody>;
95
- export declare function createIdentityRequestBodyToJSON(createIdentityRequestBody: CreateIdentityRequestBody): string;
96
- /** @internal */
97
- export declare const CreateIdentityResponseBody$inboundSchema: z.ZodType<CreateIdentityResponseBody, z.ZodTypeDef, unknown>;
98
- export declare function createIdentityResponseBodyFromJSON(jsonString: string): SafeParseResult<CreateIdentityResponseBody, SDKValidationError>;
99
- //# sourceMappingURL=createidentity.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createidentity.d.ts","sourceRoot":"","sources":["../../src/models/operations/createidentity.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACtC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SA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,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC;SACvE,QAAQ,EAAE;IACb,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,OAAO,CACpD,0BAA0B,CAC3B,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC;CAC9B,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,KAAK,EAAE,IAAI;QACX,aAAa,EAAE,YAAY;QAC3B,cAAc,EAAE,aAAa;QAC7B,cAAc,EAAE,aAAa;QAC7B,YAAY,EAAE,WAAW;KAC1B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,kCAAkC,CAChD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,gDAAwC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACpE,wDAAwD,CACzD,CAAC;AACJ,CAAC"}
@@ -1,67 +0,0 @@
1
- import * as z from "zod/v3";
2
- import { ClosedEnum } from "../../types/enums.js";
3
- import { Result as SafeParseResult } from "../../types/fp.js";
4
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
- export type RemoteConfigsGetConfigRequestBody = {
6
- /**
7
- * Remote configuration key
8
- */
9
- key: string;
10
- /**
11
- * Key-value pairs matching your data model, applied to each prompt key.
12
- */
13
- context?: {
14
- [k: string]: any;
15
- } | undefined;
16
- /**
17
- * Key-value pairs to attach to the log generated by this request.
18
- */
19
- metadata?: {
20
- [k: string]: any;
21
- } | undefined;
22
- };
23
- /**
24
- * The return type of the rule
25
- */
26
- export declare const RemoteConfigsGetConfigType: {
27
- readonly Boolean: "boolean";
28
- readonly String: "string";
29
- readonly Integer: "integer";
30
- readonly Decimal: "decimal";
31
- readonly List: "list";
32
- readonly Json: "json";
33
- readonly Deployment: "deployment";
34
- };
35
- /**
36
- * The return type of the rule
37
- */
38
- export type RemoteConfigsGetConfigType = ClosedEnum<typeof RemoteConfigsGetConfigType>;
39
- /**
40
- * An individual remote config
41
- */
42
- export type RemoteConfigsGetConfigResponseBody = {
43
- /**
44
- * The return type of the rule
45
- */
46
- type: RemoteConfigsGetConfigType;
47
- value?: any | undefined;
48
- };
49
- /** @internal */
50
- export type RemoteConfigsGetConfigRequestBody$Outbound = {
51
- key: string;
52
- context?: {
53
- [k: string]: any;
54
- } | undefined;
55
- metadata?: {
56
- [k: string]: any;
57
- } | undefined;
58
- };
59
- /** @internal */
60
- export declare const RemoteConfigsGetConfigRequestBody$outboundSchema: z.ZodType<RemoteConfigsGetConfigRequestBody$Outbound, z.ZodTypeDef, RemoteConfigsGetConfigRequestBody>;
61
- export declare function remoteConfigsGetConfigRequestBodyToJSON(remoteConfigsGetConfigRequestBody: RemoteConfigsGetConfigRequestBody): string;
62
- /** @internal */
63
- export declare const RemoteConfigsGetConfigType$inboundSchema: z.ZodNativeEnum<typeof RemoteConfigsGetConfigType>;
64
- /** @internal */
65
- export declare const RemoteConfigsGetConfigResponseBody$inboundSchema: z.ZodType<RemoteConfigsGetConfigResponseBody, z.ZodTypeDef, unknown>;
66
- export declare function remoteConfigsGetConfigResponseBodyFromJSON(jsonString: string): SafeParseResult<RemoteConfigsGetConfigResponseBody, SDKValidationError>;
67
- //# sourceMappingURL=remoteconfigsgetconfig.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"remoteconfigsgetconfig.d.ts","sourceRoot":"","sources":["../../src/models/operations/remoteconfigsgetconfig.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM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O,0BAA0B,CACS,CAAC;AAE7C,gBAAgB;AAChB,eAAO,MAAM,gDAAgD,EAAE,CAAC,CAAC,OAAO,CACtE,kCAAkC,EAClC,CAAC,CAAC,UAAU,EACZ,OAAO,CAIP,CAAC;AAEH,wBAAgB,0CAA0C,CACxD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kCAAkC,EAAE,kBAAkB,CAAC,CAOzE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"remoteconfigsgetconfig.js","sourceRoot":"","sources":["../../src/models/operations/remoteconfigsgetconfig.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuEH,0FAQC;AAiBD,gGASC;AAvGD,0CAA4B;AAC5B,qDAAiD;AAoBjD;;GAEG;AACU,QAAA,0BAA0B,GAAG;IACxC,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,UAAU,EAAE,YAAY;CAChB,CAAC;AA0BX,gBAAgB;AACH,QAAA,gDAAgD,GAIzD,CAAC,CAAC,MAAM,CAAC;IACX,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;IACf,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;IACrC,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;CACvC,CAAC,CAAC;AAEH,SAAgB,uCAAuC,CACrD,iCAAoE;IAEpE,OAAO,IAAI,CAAC,SAAS,CACnB,wDAAgD,CAAC,KAAK,CACpD,iCAAiC,CAClC,CACF,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,wCAAwC,GAEjD,CAAC,CAAC,UAAU,CAAC,kCAA0B,CAAC,CAAC;AAE7C,gBAAgB;AACH,QAAA,gDAAgD,GAIzD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,gDAAwC;IAC9C,KAAK,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;CAC1B,CAAC,CAAC;AAEH,SAAgB,0CAA0C,CACxD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,wDAAgD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACvE,gEAAgE,CACjE,CAAC;AACJ,CAAC"}
package/sdk/contacts.d.ts DELETED
@@ -1,12 +0,0 @@
1
- import { ClientSDK, RequestOptions } from "../lib/sdks.js";
2
- import * as operations from "../models/operations/index.js";
3
- export declare class Contacts extends ClientSDK {
4
- /**
5
- * Update user information
6
- *
7
- * @remarks
8
- * Update or add user information to workspace
9
- */
10
- create(request: operations.CreateContactRequestBody, options?: RequestOptions): Promise<operations.CreateContactResponseBody>;
11
- }
12
- //# sourceMappingURL=contacts.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"contacts.d.ts","sourceRoot":"","sources":["../src/sdk/contacts.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,QAAS,SAAQ,SAAS;IACrC;;;;;OAKG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,wBAAwB,EAC5C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,yBAAyB,CAAC;CAOjD"}
package/sdk/contacts.js DELETED
@@ -1,22 +0,0 @@
1
- "use strict";
2
- /*
3
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.Contacts = void 0;
7
- const contactsCreate_js_1 = require("../funcs/contactsCreate.js");
8
- const sdks_js_1 = require("../lib/sdks.js");
9
- const fp_js_1 = require("../types/fp.js");
10
- class Contacts extends sdks_js_1.ClientSDK {
11
- /**
12
- * Update user information
13
- *
14
- * @remarks
15
- * Update or add user information to workspace
16
- */
17
- async create(request, options) {
18
- return (0, fp_js_1.unwrapAsync)((0, contactsCreate_js_1.contactsCreate)(this, request, options));
19
- }
20
- }
21
- exports.Contacts = Contacts;
22
- //# sourceMappingURL=contacts.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"contacts.js","sourceRoot":"","sources":["../src/sdk/contacts.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,kEAA4D;AAC5D,4CAA2D;AAE3D,0CAA6C;AAE7C,MAAa,QAAS,SAAQ,mBAAS;IACrC;;;;;OAKG;IACH,KAAK,CAAC,MAAM,CACV,OAA4C,EAC5C,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,kCAAc,EAC/B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF;AAjBD,4BAiBC"}
@@ -1,9 +0,0 @@
1
- import { ClientSDK, RequestOptions } from "../lib/sdks.js";
2
- import * as operations from "../models/operations/index.js";
3
- export declare class Remoteconfigs extends ClientSDK {
4
- /**
5
- * Retrieve a remote config
6
- */
7
- retrieve(request?: operations.RemoteConfigsGetConfigRequestBody | undefined, options?: RequestOptions): Promise<operations.RemoteConfigsGetConfigResponseBody>;
8
- }
9
- //# sourceMappingURL=remoteconfigs.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"remoteconfigs.d.ts","sourceRoot":"","sources":["../src/sdk/remoteconfigs.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,aAAc,SAAQ,SAAS;IAC1C;;OAEG;IACG,QAAQ,CACZ,OAAO,CAAC,EAAE,UAAU,CAAC,iCAAiC,GAAG,SAAS,EAClE,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,kCAAkC,CAAC;CAO1D"}
@@ -1,19 +0,0 @@
1
- "use strict";
2
- /*
3
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.Remoteconfigs = void 0;
7
- const remoteconfigsRetrieve_js_1 = require("../funcs/remoteconfigsRetrieve.js");
8
- const sdks_js_1 = require("../lib/sdks.js");
9
- const fp_js_1 = require("../types/fp.js");
10
- class Remoteconfigs extends sdks_js_1.ClientSDK {
11
- /**
12
- * Retrieve a remote config
13
- */
14
- async retrieve(request, options) {
15
- return (0, fp_js_1.unwrapAsync)((0, remoteconfigsRetrieve_js_1.remoteconfigsRetrieve)(this, request, options));
16
- }
17
- }
18
- exports.Remoteconfigs = Remoteconfigs;
19
- //# sourceMappingURL=remoteconfigs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"remoteconfigs.js","sourceRoot":"","sources":["../src/sdk/remoteconfigs.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,gFAA0E;AAC1E,4CAA2D;AAE3D,0CAA6C;AAE7C,MAAa,aAAc,SAAQ,mBAAS;IAC1C;;OAEG;IACH,KAAK,CAAC,QAAQ,CACZ,OAAkE,EAClE,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,gDAAqB,EACtC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF;AAdD,sCAcC"}
@@ -1,163 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import { OrqCore } from "../core.js";
6
- import { encodeJSON } from "../lib/encodings.js";
7
- import { matchStatusCode } from "../lib/http.js";
8
- import * as M from "../lib/matchers.js";
9
- import { compactMap } from "../lib/primitives.js";
10
- import { safeParse } from "../lib/schemas.js";
11
- import { RequestOptions } from "../lib/sdks.js";
12
- import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
13
- import { pathToFunc } from "../lib/url.js";
14
- import {
15
- ConnectionError,
16
- InvalidRequestError,
17
- RequestAbortedError,
18
- RequestTimeoutError,
19
- UnexpectedClientError,
20
- } from "../models/errors/httpclienterrors.js";
21
- import { OrqError } from "../models/errors/orqerror.js";
22
- import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
23
- import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
24
- import * as operations from "../models/operations/index.js";
25
- import { APICall, APIPromise } from "../types/async.js";
26
- import { Result } from "../types/fp.js";
27
-
28
- /**
29
- * Retrieve a remote config
30
- */
31
- export function remoteconfigsRetrieve(
32
- client: OrqCore,
33
- request?: operations.RemoteConfigsGetConfigRequestBody | undefined,
34
- options?: RequestOptions,
35
- ): APIPromise<
36
- Result<
37
- operations.RemoteConfigsGetConfigResponseBody,
38
- | OrqError
39
- | ResponseValidationError
40
- | ConnectionError
41
- | RequestAbortedError
42
- | RequestTimeoutError
43
- | InvalidRequestError
44
- | UnexpectedClientError
45
- | SDKValidationError
46
- >
47
- > {
48
- return new APIPromise($do(
49
- client,
50
- request,
51
- options,
52
- ));
53
- }
54
-
55
- async function $do(
56
- client: OrqCore,
57
- request?: operations.RemoteConfigsGetConfigRequestBody | undefined,
58
- options?: RequestOptions,
59
- ): Promise<
60
- [
61
- Result<
62
- operations.RemoteConfigsGetConfigResponseBody,
63
- | OrqError
64
- | ResponseValidationError
65
- | ConnectionError
66
- | RequestAbortedError
67
- | RequestTimeoutError
68
- | InvalidRequestError
69
- | UnexpectedClientError
70
- | SDKValidationError
71
- >,
72
- APICall,
73
- ]
74
- > {
75
- const parsed = safeParse(
76
- request,
77
- (value) =>
78
- operations.RemoteConfigsGetConfigRequestBody$outboundSchema.optional()
79
- .parse(value),
80
- "Input validation failed",
81
- );
82
- if (!parsed.ok) {
83
- return [parsed, { status: "invalid" }];
84
- }
85
- const payload = parsed.value;
86
- const body = payload === undefined
87
- ? null
88
- : encodeJSON("body", payload, { explode: true });
89
-
90
- const path = pathToFunc("/v2/remoteconfigs")();
91
-
92
- const headers = new Headers(compactMap({
93
- "Content-Type": "application/json",
94
- Accept: "application/json",
95
- }));
96
-
97
- const secConfig = await extractSecurity(client._options.apiKey);
98
- const securityInput = secConfig == null ? {} : { apiKey: secConfig };
99
- const requestSecurity = resolveGlobalSecurity(securityInput);
100
-
101
- const context = {
102
- options: client._options,
103
- baseURL: options?.serverURL ?? client._baseURL ?? "",
104
- operationID: "RemoteConfigsGetConfig",
105
- oAuth2Scopes: null,
106
-
107
- resolvedSecurity: requestSecurity,
108
-
109
- securitySource: client._options.apiKey,
110
- retryConfig: options?.retries
111
- || client._options.retryConfig
112
- || { strategy: "none" },
113
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
114
- };
115
-
116
- const requestRes = client._createRequest(context, {
117
- security: requestSecurity,
118
- method: "POST",
119
- baseURL: options?.serverURL,
120
- path: path,
121
- headers: headers,
122
- body: body,
123
- userAgent: client._options.userAgent,
124
- timeoutMs: options?.timeoutMs || client._options.timeoutMs || 600000,
125
- }, options);
126
- if (!requestRes.ok) {
127
- return [requestRes, { status: "invalid" }];
128
- }
129
- const req = requestRes.value;
130
-
131
- const doResult = await client._do(req, {
132
- context,
133
- isErrorStatusCode: (statusCode: number) =>
134
- matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
135
- retryConfig: context.retryConfig,
136
- retryCodes: context.retryCodes,
137
- });
138
- if (!doResult.ok) {
139
- return [doResult, { status: "request-error", request: req }];
140
- }
141
- const response = doResult.value;
142
-
143
- const [result] = await M.match<
144
- operations.RemoteConfigsGetConfigResponseBody,
145
- | OrqError
146
- | ResponseValidationError
147
- | ConnectionError
148
- | RequestAbortedError
149
- | RequestTimeoutError
150
- | InvalidRequestError
151
- | UnexpectedClientError
152
- | SDKValidationError
153
- >(
154
- M.json(200, operations.RemoteConfigsGetConfigResponseBody$inboundSchema),
155
- M.fail([400, 401, 404, "4XX"]),
156
- M.fail([500, "5XX"]),
157
- )(response, req);
158
- if (!result.ok) {
159
- return [result, { status: "complete", request: req, response }];
160
- }
161
-
162
- return [result, { status: "complete", request: req, response }];
163
- }
@@ -1,62 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v3";
6
- import { OrqError } from "./orqerror.js";
7
-
8
- /**
9
- * Identity not found
10
- */
11
- export type DeleteIdentityResponseBodyData = {
12
- /**
13
- * Error message
14
- */
15
- error: string;
16
- };
17
-
18
- /**
19
- * Identity not found
20
- */
21
- export class DeleteIdentityResponseBody extends OrqError {
22
- /**
23
- * Error message
24
- */
25
- error: string;
26
-
27
- /** The original data that was passed to this error instance. */
28
- data$: DeleteIdentityResponseBodyData;
29
-
30
- constructor(
31
- err: DeleteIdentityResponseBodyData,
32
- httpMeta: { response: Response; request: Request; body: string },
33
- ) {
34
- const message = "message" in err && typeof err.message === "string"
35
- ? err.message
36
- : `API error occurred: ${JSON.stringify(err)}`;
37
- super(message, httpMeta);
38
- this.data$ = err;
39
- this.error = err.error;
40
-
41
- this.name = "DeleteIdentityResponseBody";
42
- }
43
- }
44
-
45
- /** @internal */
46
- export const DeleteIdentityResponseBody$inboundSchema: z.ZodType<
47
- DeleteIdentityResponseBody,
48
- z.ZodTypeDef,
49
- unknown
50
- > = z.object({
51
- error: z.string(),
52
- request$: z.instanceof(Request),
53
- response$: z.instanceof(Response),
54
- body$: z.string(),
55
- })
56
- .transform((v) => {
57
- return new DeleteIdentityResponseBody(v, {
58
- request: v.request$,
59
- response: v.response$,
60
- body: v.body$,
61
- });
62
- });