@orq-ai/node 4.14.0-rc.15 → 4.14.0-rc.16

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 (450) hide show
  1. package/README.md +37 -52
  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/accesslevel.d.ts +13 -0
  6. package/models/components/accesslevel.d.ts.map +1 -0
  7. package/models/components/{createpersonrequest.js → accesslevel.js} +11 -11
  8. package/models/components/accesslevel.js.map +1 -0
  9. package/models/components/createapikeyrequest.d.ts +3 -2
  10. package/models/components/createapikeyrequest.d.ts.map +1 -1
  11. package/models/components/createapikeyrequest.js +2 -1
  12. package/models/components/createapikeyrequest.js.map +1 -1
  13. package/models/components/createmanagementkeyrequest.d.ts +3 -2
  14. package/models/components/createmanagementkeyrequest.d.ts.map +1 -1
  15. package/models/components/createmanagementkeyrequest.js +2 -1
  16. package/models/components/createmanagementkeyrequest.js.map +1 -1
  17. package/models/components/domain.d.ts +13 -7
  18. package/models/components/domain.d.ts.map +1 -1
  19. package/models/components/domain.js +5 -1
  20. package/models/components/domain.js.map +1 -1
  21. package/models/components/domaingroup.d.ts +11 -0
  22. package/models/components/domaingroup.d.ts.map +1 -0
  23. package/models/components/{resendinvitationrequest.js → domaingroup.js} +9 -7
  24. package/models/components/domaingroup.js.map +1 -0
  25. package/models/components/embeddingorqparams.d.ts +3 -6
  26. package/models/components/embeddingorqparams.d.ts.map +1 -1
  27. package/models/components/embeddingorqparams.js +2 -2
  28. package/models/components/embeddingorqparams.js.map +1 -1
  29. package/models/components/evaluatorresponsefunction.js +2 -2
  30. package/models/components/evaluatorresponsehttp.js +2 -2
  31. package/models/components/evaluatorresponsejsonschema.js +2 -2
  32. package/models/components/evaluatorresponsellm.js +2 -2
  33. package/models/components/evaluatorresponsepython.js +2 -2
  34. package/models/components/evaluatorresponseragas.js +2 -2
  35. package/models/components/evaluatorresponsetypescript.js +2 -2
  36. package/models/components/index.d.ts +6 -11
  37. package/models/components/index.d.ts.map +1 -1
  38. package/models/components/index.js +6 -11
  39. package/models/components/index.js.map +1 -1
  40. package/models/components/listmanagementcapabilitiesresponse.d.ts +2 -2
  41. package/models/components/listmanagementcapabilitiesresponse.d.ts.map +1 -1
  42. package/models/components/listmanagementcapabilitiesresponse.js +2 -2
  43. package/models/components/listmanagementcapabilitiesresponse.js.map +1 -1
  44. package/models/components/managementdomain.d.ts +37 -0
  45. package/models/components/managementdomain.d.ts.map +1 -0
  46. package/models/components/{updatepersonrequest.js → managementdomain.js} +14 -12
  47. package/models/components/managementdomain.js.map +1 -0
  48. package/models/components/managementdomaingroup.d.ts +9 -0
  49. package/models/components/managementdomaingroup.d.ts.map +1 -0
  50. package/models/components/{personstatus.js → managementdomaingroup.js} +5 -7
  51. package/models/components/managementdomaingroup.js.map +1 -0
  52. package/models/components/managementkey.d.ts +2 -1
  53. package/models/components/managementkey.d.ts.map +1 -1
  54. package/models/components/managementkey.js +2 -1
  55. package/models/components/managementkey.js.map +1 -1
  56. package/models/components/publicresponseresource.d.ts +2 -5
  57. package/models/components/publicresponseresource.d.ts.map +1 -1
  58. package/models/components/publicresponseresource.js +2 -2
  59. package/models/components/publicresponseresource.js.map +1 -1
  60. package/models/components/reasoningpart.js +1 -1
  61. package/models/components/responsetelemetry.d.ts +11 -0
  62. package/models/components/responsetelemetry.d.ts.map +1 -0
  63. package/models/components/{listpeopleresponse.js → responsetelemetry.js} +10 -11
  64. package/models/components/responsetelemetry.js.map +1 -0
  65. package/models/components/scopemode.d.ts +10 -0
  66. package/models/components/scopemode.d.ts.map +1 -0
  67. package/models/components/{deletepersonresponse.js → scopemode.js} +8 -8
  68. package/models/components/scopemode.js.map +1 -0
  69. package/models/components/updateapikeyrequest.d.ts +3 -2
  70. package/models/components/updateapikeyrequest.d.ts.map +1 -1
  71. package/models/components/updateapikeyrequest.js +2 -1
  72. package/models/components/updateapikeyrequest.js.map +1 -1
  73. package/models/components/updatemanagementkeyrequest.d.ts +3 -2
  74. package/models/components/updatemanagementkeyrequest.d.ts.map +1 -1
  75. package/models/components/updatemanagementkeyrequest.js +2 -1
  76. package/models/components/updatemanagementkeyrequest.js.map +1 -1
  77. package/models/operations/createannotationqueue.js +1 -1
  78. package/models/operations/createdataset.js +1 -1
  79. package/models/operations/createdatasetitem.js +5 -5
  80. package/models/operations/createdatasource.js +1 -1
  81. package/models/operations/createrouterresponse.d.ts +1 -4
  82. package/models/operations/createrouterresponse.d.ts.map +1 -1
  83. package/models/operations/createrouterresponse.js +1 -1
  84. package/models/operations/createrouterresponse.js.map +1 -1
  85. package/models/operations/createtool.js +6 -6
  86. package/models/operations/getalltools.js +6 -6
  87. package/models/operations/geteval.js +16 -16
  88. package/models/operations/getv2humanevalsets.js +2 -2
  89. package/models/operations/getv2humanevalsetsid.js +2 -2
  90. package/models/operations/index.d.ts +0 -5
  91. package/models/operations/index.d.ts.map +1 -1
  92. package/models/operations/index.js +0 -5
  93. package/models/operations/index.js.map +1 -1
  94. package/models/operations/listannotationqueues.js +1 -1
  95. package/models/operations/listdatasetdatapoints.js +5 -5
  96. package/models/operations/listdatasets.js +1 -1
  97. package/models/operations/listdatasources.js +1 -1
  98. package/models/operations/patchv2humanevalsetsid.js +2 -2
  99. package/models/operations/postv2feedbackevaluation.js +4 -4
  100. package/models/operations/postv2humanevalsets.js +2 -2
  101. package/models/operations/responsebodynodes.js +33 -33
  102. package/models/operations/retrieveannotationqueue.js +1 -1
  103. package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody204.js +31 -31
  104. package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody8attributesopenresponsesoutput2.js +6 -6
  105. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody13attributes5.js +16 -16
  106. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody19attributeslogprobs.js +14 -14
  107. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody21attributes8.js +18 -18
  108. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody24attributesopenresponsesoutput44type.js +16 -16
  109. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody257.js +2 -2
  110. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody29attributesopenresponsesoutput44type.js +16 -16
  111. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody307.js +2 -2
  112. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody44.js +16 -16
  113. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse1.js +34 -34
  114. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse20015.js +7 -7
  115. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody102.js +32 -32
  116. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody11attributesorq10kind.js +15 -15
  117. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody12attributesorqsource.js +2 -2
  118. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody13attributesorq8kind.js +19 -19
  119. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1417.js +4 -4
  120. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody15attributesorq9evaluationtype.js +17 -17
  121. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody16attributesstatus.js +30 -30
  122. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody17attributesorq10evaluatorconfigtype.js +15 -15
  123. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody18attributesorq14outputschema.js +7 -7
  124. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody19attributesorq7annotator.js +21 -21
  125. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody20attributesorq16annotator.js +4 -4
  126. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody21attributesorq9annotator.js +17 -17
  127. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody22attributesorq5outputschema.js +24 -24
  128. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody23attributesorq15outputschema.js +5 -5
  129. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody24attributesorq8annotator.js +19 -19
  130. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody25attributesorq19kind.js +1 -1
  131. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody25status.js +32 -32
  132. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody26attributesorq12status.js +11 -11
  133. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody27attributesorq4evaluationtype.js +26 -26
  134. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody28attributesorq15outputschema.js +5 -5
  135. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody29attributesorq8annotator.js +19 -19
  136. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2source.js +2 -2
  137. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody30attributesorq19kind.js +1 -1
  138. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody30status.js +32 -32
  139. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody31attributesorq17type.js +3 -3
  140. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody32attributesorqvalue.js +15 -15
  141. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody33attributesevaluatorconfigtype.js +30 -30
  142. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody3413.js +11 -11
  143. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody35attributesorq5annotator.js +24 -24
  144. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody3attributesorq19outputschema.js +1 -1
  145. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody4attributesorq8outputschema.js +19 -19
  146. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6attributesorq4kind.js +26 -26
  147. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody7attributesorq12status.js +11 -11
  148. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody8attributesorqannotator.js +28 -28
  149. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody9attributesorq12evaluatorconfigtype.js +11 -11
  150. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponseevaluatorconfigtype.js +25 -25
  151. package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse2008.js +28 -28
  152. package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody11attributestype.js +20 -20
  153. package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody173.js +20 -20
  154. package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody18attributesopenresponses6role.js +28 -28
  155. package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody26attributesopenresponsestype.js +24 -24
  156. package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody321.js +20 -20
  157. package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody345.js +24 -24
  158. package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody7attributesopenresponsestype.js +24 -24
  159. package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody9attributesrole.js +24 -24
  160. package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody10role.js +2 -2
  161. package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody155.js +18 -18
  162. package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody16status.js +4 -4
  163. package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody23attributes1.js +30 -30
  164. package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody28attributes1.js +30 -30
  165. package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody333.js +4 -4
  166. package/models/operations/retrieveannotationqueueitemresponsebody.js +1 -1
  167. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson10evaluation.js +1 -1
  168. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson12nodes.js +33 -33
  169. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson14attributesresponse.js +31 -31
  170. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson16score.js +1 -1
  171. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson27choice.js +1 -1
  172. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson31otlp.js +32 -32
  173. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson33provider.js +1 -1
  174. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson6response.js +1 -1
  175. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson8tool.js +1 -1
  176. package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody22attributestype.js +10 -10
  177. package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody27logprobs.js +8 -8
  178. package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody353.js +10 -10
  179. package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody6type.js +8 -8
  180. package/models/operations/retrievedatapoint.js +5 -5
  181. package/models/operations/retrievedataset.js +1 -1
  182. package/models/operations/retrievedatasource.js +1 -1
  183. package/models/operations/retrieveresponse.d.ts +1 -4
  184. package/models/operations/retrieveresponse.d.ts.map +1 -1
  185. package/models/operations/retrieveresponse.js +1 -1
  186. package/models/operations/retrieveresponse.js.map +1 -1
  187. package/models/operations/retrievetool.js +6 -6
  188. package/models/operations/runagent.js +1 -1
  189. package/models/operations/streamrunagent.js +1 -1
  190. package/models/operations/summary4.js +10 -10
  191. package/models/operations/twentythree.js +1 -1
  192. package/models/operations/updateannotationqueue.js +1 -1
  193. package/models/operations/updatedatapoint.js +5 -5
  194. package/models/operations/updatedataset.js +1 -1
  195. package/models/operations/updatedatasource.js +1 -1
  196. package/models/operations/updatetool.js +7 -7
  197. package/package.json +9 -9
  198. package/sdk/feedback.d.ts +2 -2
  199. package/sdk/feedback.js +2 -2
  200. package/sdk/sdk.d.ts +0 -3
  201. package/sdk/sdk.d.ts.map +1 -1
  202. package/sdk/sdk.js +0 -4
  203. package/sdk/sdk.js.map +1 -1
  204. package/src/lib/config.ts +2 -2
  205. package/src/models/components/accesslevel.ts +20 -0
  206. package/src/models/components/createapikeyrequest.ts +4 -3
  207. package/src/models/components/createmanagementkeyrequest.ts +4 -3
  208. package/src/models/components/domain.ts +16 -8
  209. package/src/models/components/domaingroup.ts +17 -0
  210. package/src/models/components/embeddingorqparams.ts +7 -10
  211. package/src/models/components/evaluatorresponsefunction.ts +2 -2
  212. package/src/models/components/evaluatorresponsehttp.ts +2 -2
  213. package/src/models/components/evaluatorresponsejsonschema.ts +2 -2
  214. package/src/models/components/evaluatorresponsellm.ts +2 -2
  215. package/src/models/components/evaluatorresponsepython.ts +2 -2
  216. package/src/models/components/evaluatorresponseragas.ts +2 -2
  217. package/src/models/components/evaluatorresponsetypescript.ts +2 -2
  218. package/src/models/components/index.ts +6 -11
  219. package/src/models/components/listmanagementcapabilitiesresponse.ts +6 -3
  220. package/src/models/components/managementdomain.ts +70 -0
  221. package/src/models/components/managementdomaingroup.ts +16 -0
  222. package/src/models/components/managementkey.ts +3 -2
  223. package/src/models/components/publicresponseresource.ts +6 -6
  224. package/src/models/components/reasoningpart.ts +1 -1
  225. package/src/models/components/responsetelemetry.ts +39 -0
  226. package/src/models/components/scopemode.ts +16 -0
  227. package/src/models/components/updateapikeyrequest.ts +4 -3
  228. package/src/models/components/updatemanagementkeyrequest.ts +4 -3
  229. package/src/models/operations/createannotationqueue.ts +1 -1
  230. package/src/models/operations/createdataset.ts +1 -1
  231. package/src/models/operations/createdatasetitem.ts +5 -5
  232. package/src/models/operations/createdatasource.ts +1 -1
  233. package/src/models/operations/createrouterresponse.ts +2 -5
  234. package/src/models/operations/createtool.ts +6 -6
  235. package/src/models/operations/getalltools.ts +6 -6
  236. package/src/models/operations/geteval.ts +16 -16
  237. package/src/models/operations/getv2humanevalsets.ts +2 -2
  238. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  239. package/src/models/operations/index.ts +0 -5
  240. package/src/models/operations/listannotationqueues.ts +1 -1
  241. package/src/models/operations/listdatasetdatapoints.ts +5 -5
  242. package/src/models/operations/listdatasets.ts +1 -1
  243. package/src/models/operations/listdatasources.ts +1 -1
  244. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  245. package/src/models/operations/postv2feedbackevaluation.ts +4 -4
  246. package/src/models/operations/postv2humanevalsets.ts +2 -2
  247. package/src/models/operations/responsebodynodes.ts +33 -33
  248. package/src/models/operations/retrieveannotationqueue.ts +1 -1
  249. package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody204.ts +31 -31
  250. package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody8attributesopenresponsesoutput2.ts +6 -6
  251. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody13attributes5.ts +16 -16
  252. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody19attributeslogprobs.ts +14 -14
  253. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody21attributes8.ts +18 -18
  254. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody24attributesopenresponsesoutput44type.ts +16 -16
  255. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody257.ts +2 -2
  256. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody29attributesopenresponsesoutput44type.ts +16 -16
  257. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody307.ts +2 -2
  258. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody44.ts +16 -16
  259. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse1.ts +34 -34
  260. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse20015.ts +7 -7
  261. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody102.ts +32 -32
  262. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody11attributesorq10kind.ts +15 -15
  263. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody12attributesorqsource.ts +2 -2
  264. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody13attributesorq8kind.ts +19 -19
  265. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1417.ts +4 -4
  266. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody15attributesorq9evaluationtype.ts +17 -17
  267. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody16attributesstatus.ts +30 -30
  268. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody17attributesorq10evaluatorconfigtype.ts +15 -15
  269. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody18attributesorq14outputschema.ts +7 -7
  270. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody19attributesorq7annotator.ts +21 -21
  271. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody20attributesorq16annotator.ts +4 -4
  272. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody21attributesorq9annotator.ts +17 -17
  273. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody22attributesorq5outputschema.ts +24 -24
  274. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody23attributesorq15outputschema.ts +5 -5
  275. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody24attributesorq8annotator.ts +19 -19
  276. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody25attributesorq19kind.ts +1 -1
  277. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody25status.ts +32 -32
  278. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody26attributesorq12status.ts +11 -11
  279. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody27attributesorq4evaluationtype.ts +26 -26
  280. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody28attributesorq15outputschema.ts +5 -5
  281. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody29attributesorq8annotator.ts +19 -19
  282. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2source.ts +2 -2
  283. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody30attributesorq19kind.ts +1 -1
  284. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody30status.ts +32 -32
  285. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody31attributesorq17type.ts +3 -3
  286. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody32attributesorqvalue.ts +15 -15
  287. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody33attributesevaluatorconfigtype.ts +30 -30
  288. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody3413.ts +11 -11
  289. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody35attributesorq5annotator.ts +24 -24
  290. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody3attributesorq19outputschema.ts +1 -1
  291. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody4attributesorq8outputschema.ts +19 -19
  292. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6attributesorq4kind.ts +26 -26
  293. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody7attributesorq12status.ts +11 -11
  294. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody8attributesorqannotator.ts +28 -28
  295. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody9attributesorq12evaluatorconfigtype.ts +11 -11
  296. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponseevaluatorconfigtype.ts +25 -25
  297. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse2008.ts +28 -28
  298. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody11attributestype.ts +20 -20
  299. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody173.ts +20 -20
  300. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody18attributesopenresponses6role.ts +28 -28
  301. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody26attributesopenresponsestype.ts +24 -24
  302. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody321.ts +20 -20
  303. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody345.ts +24 -24
  304. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody7attributesopenresponsestype.ts +24 -24
  305. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody9attributesrole.ts +24 -24
  306. package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody10role.ts +2 -2
  307. package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody155.ts +18 -18
  308. package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody16status.ts +4 -4
  309. package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody23attributes1.ts +30 -30
  310. package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody28attributes1.ts +30 -30
  311. package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody333.ts +4 -4
  312. package/src/models/operations/retrieveannotationqueueitemresponsebody.ts +1 -1
  313. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson10evaluation.ts +1 -1
  314. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson12nodes.ts +33 -33
  315. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson14attributesresponse.ts +31 -31
  316. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson16score.ts +1 -1
  317. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson27choice.ts +1 -1
  318. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson31otlp.ts +32 -32
  319. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson33provider.ts +1 -1
  320. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson6response.ts +1 -1
  321. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson8tool.ts +1 -1
  322. package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody22attributestype.ts +10 -10
  323. package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody27logprobs.ts +8 -8
  324. package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody353.ts +10 -10
  325. package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody6type.ts +8 -8
  326. package/src/models/operations/retrievedatapoint.ts +5 -5
  327. package/src/models/operations/retrievedataset.ts +1 -1
  328. package/src/models/operations/retrievedatasource.ts +1 -1
  329. package/src/models/operations/retrieveresponse.ts +2 -5
  330. package/src/models/operations/retrievetool.ts +6 -6
  331. package/src/models/operations/runagent.ts +1 -1
  332. package/src/models/operations/streamrunagent.ts +1 -1
  333. package/src/models/operations/summary4.ts +10 -10
  334. package/src/models/operations/twentythree.ts +1 -1
  335. package/src/models/operations/updateannotationqueue.ts +1 -1
  336. package/src/models/operations/updatedatapoint.ts +5 -5
  337. package/src/models/operations/updatedataset.ts +1 -1
  338. package/src/models/operations/updatedatasource.ts +1 -1
  339. package/src/models/operations/updatetool.ts +7 -7
  340. package/src/sdk/feedback.ts +2 -2
  341. package/src/sdk/sdk.ts +0 -6
  342. package/funcs/peopleCreate.d.ts +0 -17
  343. package/funcs/peopleCreate.d.ts.map +0 -1
  344. package/funcs/peopleCreate.js +0 -115
  345. package/funcs/peopleCreate.js.map +0 -1
  346. package/funcs/peopleDelete.d.ts +0 -18
  347. package/funcs/peopleDelete.d.ts.map +0 -1
  348. package/funcs/peopleDelete.js +0 -121
  349. package/funcs/peopleDelete.js.map +0 -1
  350. package/funcs/peopleGet.d.ts +0 -18
  351. package/funcs/peopleGet.d.ts.map +0 -1
  352. package/funcs/peopleGet.js +0 -121
  353. package/funcs/peopleGet.js.map +0 -1
  354. package/funcs/peopleList.d.ts +0 -18
  355. package/funcs/peopleList.d.ts.map +0 -1
  356. package/funcs/peopleList.js +0 -121
  357. package/funcs/peopleList.js.map +0 -1
  358. package/funcs/peopleResendInvitation.d.ts +0 -18
  359. package/funcs/peopleResendInvitation.d.ts.map +0 -1
  360. package/funcs/peopleResendInvitation.js +0 -124
  361. package/funcs/peopleResendInvitation.js.map +0 -1
  362. package/funcs/peopleUpdate.d.ts +0 -18
  363. package/funcs/peopleUpdate.d.ts.map +0 -1
  364. package/funcs/peopleUpdate.js +0 -124
  365. package/funcs/peopleUpdate.js.map +0 -1
  366. package/models/components/createpersonrequest.d.ts +0 -25
  367. package/models/components/createpersonrequest.d.ts.map +0 -1
  368. package/models/components/createpersonrequest.js.map +0 -1
  369. package/models/components/createpersonresponse.d.ts +0 -14
  370. package/models/components/createpersonresponse.d.ts.map +0 -1
  371. package/models/components/createpersonresponse.js +0 -51
  372. package/models/components/createpersonresponse.js.map +0 -1
  373. package/models/components/deletepersonresponse.d.ts +0 -8
  374. package/models/components/deletepersonresponse.d.ts.map +0 -1
  375. package/models/components/deletepersonresponse.js.map +0 -1
  376. package/models/components/getpersonresponse.d.ts +0 -14
  377. package/models/components/getpersonresponse.d.ts.map +0 -1
  378. package/models/components/getpersonresponse.js +0 -51
  379. package/models/components/getpersonresponse.js.map +0 -1
  380. package/models/components/listpeopleresponse.d.ts +0 -25
  381. package/models/components/listpeopleresponse.d.ts.map +0 -1
  382. package/models/components/listpeopleresponse.js.map +0 -1
  383. package/models/components/person.d.ts +0 -51
  384. package/models/components/person.d.ts.map +0 -1
  385. package/models/components/person.js +0 -72
  386. package/models/components/person.js.map +0 -1
  387. package/models/components/personstatus.d.ts +0 -11
  388. package/models/components/personstatus.d.ts.map +0 -1
  389. package/models/components/personstatus.js.map +0 -1
  390. package/models/components/resendinvitationrequest.d.ts +0 -8
  391. package/models/components/resendinvitationrequest.d.ts.map +0 -1
  392. package/models/components/resendinvitationrequest.js.map +0 -1
  393. package/models/components/resendinvitationresponse.d.ts +0 -14
  394. package/models/components/resendinvitationresponse.d.ts.map +0 -1
  395. package/models/components/resendinvitationresponse.js +0 -51
  396. package/models/components/resendinvitationresponse.js.map +0 -1
  397. package/models/components/updatepersonrequest.d.ts +0 -30
  398. package/models/components/updatepersonrequest.d.ts.map +0 -1
  399. package/models/components/updatepersonrequest.js.map +0 -1
  400. package/models/components/updatepersonresponse.d.ts +0 -14
  401. package/models/components/updatepersonresponse.d.ts.map +0 -1
  402. package/models/components/updatepersonresponse.js +0 -51
  403. package/models/components/updatepersonresponse.js.map +0 -1
  404. package/models/operations/persondelete.d.ts +0 -15
  405. package/models/operations/persondelete.d.ts.map +0 -1
  406. package/models/operations/persondelete.js +0 -54
  407. package/models/operations/persondelete.js.map +0 -1
  408. package/models/operations/personget.d.ts +0 -15
  409. package/models/operations/personget.d.ts.map +0 -1
  410. package/models/operations/personget.js +0 -54
  411. package/models/operations/personget.js.map +0 -1
  412. package/models/operations/personlist.d.ts +0 -31
  413. package/models/operations/personlist.d.ts.map +0 -1
  414. package/models/operations/personlist.js +0 -57
  415. package/models/operations/personlist.js.map +0 -1
  416. package/models/operations/personresendinvitation.d.ts +0 -18
  417. package/models/operations/personresendinvitation.d.ts.map +0 -1
  418. package/models/operations/personresendinvitation.js +0 -57
  419. package/models/operations/personresendinvitation.js.map +0 -1
  420. package/models/operations/personupdate.d.ts +0 -18
  421. package/models/operations/personupdate.d.ts.map +0 -1
  422. package/models/operations/personupdate.js +0 -57
  423. package/models/operations/personupdate.js.map +0 -1
  424. package/sdk/people.d.ts +0 -48
  425. package/sdk/people.d.ts.map +0 -1
  426. package/sdk/people.js +0 -72
  427. package/sdk/people.js.map +0 -1
  428. package/src/funcs/peopleCreate.ts +0 -162
  429. package/src/funcs/peopleDelete.ts +0 -168
  430. package/src/funcs/peopleGet.ts +0 -168
  431. package/src/funcs/peopleList.ts +0 -170
  432. package/src/funcs/peopleResendInvitation.ts +0 -172
  433. package/src/funcs/peopleUpdate.ts +0 -171
  434. package/src/models/components/createpersonrequest.ts +0 -46
  435. package/src/models/components/createpersonresponse.ts +0 -35
  436. package/src/models/components/deletepersonresponse.ts +0 -27
  437. package/src/models/components/getpersonresponse.ts +0 -35
  438. package/src/models/components/listpeopleresponse.ts +0 -53
  439. package/src/models/components/person.ts +0 -95
  440. package/src/models/components/personstatus.ts +0 -17
  441. package/src/models/components/resendinvitationrequest.ts +0 -25
  442. package/src/models/components/resendinvitationresponse.ts +0 -35
  443. package/src/models/components/updatepersonrequest.ts +0 -58
  444. package/src/models/components/updatepersonresponse.ts +0 -35
  445. package/src/models/operations/persondelete.ts +0 -39
  446. package/src/models/operations/personget.ts +0 -39
  447. package/src/models/operations/personlist.ts +0 -58
  448. package/src/models/operations/personresendinvitation.ts +0 -46
  449. package/src/models/operations/personupdate.ts +0 -44
  450. package/src/sdk/people.ts +0 -118
@@ -1,15 +0,0 @@
1
- import * as z from "zod/v3";
2
- export type PersonGetRequest = {
3
- /**
4
- * Person ID to retrieve.
5
- */
6
- personId: string;
7
- };
8
- /** @internal */
9
- export type PersonGetRequest$Outbound = {
10
- person_id: string;
11
- };
12
- /** @internal */
13
- export declare const PersonGetRequest$outboundSchema: z.ZodType<PersonGetRequest$Outbound, z.ZodTypeDef, PersonGetRequest>;
14
- export declare function personGetRequestToJSON(personGetRequest: PersonGetRequest): string;
15
- //# sourceMappingURL=personget.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"personget.d.ts","sourceRoot":"","sources":["../../src/models/operations/personget.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,yBAAyB,GAAG;IACtC,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CACrD,yBAAyB,EACzB,CAAC,CAAC,UAAU,EACZ,gBAAgB,CAOhB,CAAC;AAEH,wBAAgB,sBAAsB,CACpC,gBAAgB,EAAE,gBAAgB,GACjC,MAAM,CAIR"}
@@ -1,54 +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.PersonGetRequest$outboundSchema = void 0;
40
- exports.personGetRequestToJSON = personGetRequestToJSON;
41
- const z = __importStar(require("zod/v3"));
42
- const primitives_js_1 = require("../../lib/primitives.js");
43
- /** @internal */
44
- exports.PersonGetRequest$outboundSchema = z.object({
45
- personId: z.string(),
46
- }).transform((v) => {
47
- return (0, primitives_js_1.remap)(v, {
48
- personId: "person_id",
49
- });
50
- });
51
- function personGetRequestToJSON(personGetRequest) {
52
- return JSON.stringify(exports.PersonGetRequest$outboundSchema.parse(personGetRequest));
53
- }
54
- //# sourceMappingURL=personget.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"personget.js","sourceRoot":"","sources":["../../src/models/operations/personget.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8BH,wDAMC;AAlCD,0CAA4B;AAC5B,2DAA0D;AAc1D,gBAAgB;AACH,QAAA,+BAA+B,GAIxC,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;CACrB,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,QAAQ,EAAE,WAAW;KACtB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,sBAAsB,CACpC,gBAAkC;IAElC,OAAO,IAAI,CAAC,SAAS,CACnB,uCAA+B,CAAC,KAAK,CAAC,gBAAgB,CAAC,CACxD,CAAC;AACJ,CAAC"}
@@ -1,31 +0,0 @@
1
- import * as z from "zod/v3";
2
- export type PersonListRequest = {
3
- /**
4
- * Page size, 1-200. Unset uses the server default.
5
- */
6
- limit?: number | undefined;
7
- /**
8
- * Cursor for forward pagination. Set to the `id` of the last
9
- *
10
- * @remarks
11
- * item from the previous page.
12
- */
13
- startingAfter?: string | undefined;
14
- /**
15
- * Cursor for backward pagination. Set to the `id` of the first
16
- *
17
- * @remarks
18
- * item from the previous page.
19
- */
20
- endingBefore?: string | undefined;
21
- };
22
- /** @internal */
23
- export type PersonListRequest$Outbound = {
24
- limit?: number | undefined;
25
- starting_after?: string | undefined;
26
- ending_before?: string | undefined;
27
- };
28
- /** @internal */
29
- export declare const PersonListRequest$outboundSchema: z.ZodType<PersonListRequest$Outbound, z.ZodTypeDef, PersonListRequest>;
30
- export declare function personListRequestToJSON(personListRequest: PersonListRequest): string;
31
- //# sourceMappingURL=personlist.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"personlist.d.ts","sourceRoot":"","sources":["../../src/models/operations/personlist.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B;;;;;OAKG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC;;;;;OAKG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACnC,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,0BAA0B,GAAG;IACvC,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACpC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,0BAA0B,EAC1B,CAAC,CAAC,UAAU,EACZ,iBAAiB,CAUjB,CAAC;AAEH,wBAAgB,uBAAuB,CACrC,iBAAiB,EAAE,iBAAiB,GACnC,MAAM,CAIR"}
@@ -1,57 +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.PersonListRequest$outboundSchema = void 0;
40
- exports.personListRequestToJSON = personListRequestToJSON;
41
- const z = __importStar(require("zod/v3"));
42
- const primitives_js_1 = require("../../lib/primitives.js");
43
- /** @internal */
44
- exports.PersonListRequest$outboundSchema = z.object({
45
- limit: z.number().int().optional(),
46
- startingAfter: z.string().optional(),
47
- endingBefore: z.string().optional(),
48
- }).transform((v) => {
49
- return (0, primitives_js_1.remap)(v, {
50
- startingAfter: "starting_after",
51
- endingBefore: "ending_before",
52
- });
53
- });
54
- function personListRequestToJSON(personListRequest) {
55
- return JSON.stringify(exports.PersonListRequest$outboundSchema.parse(personListRequest));
56
- }
57
- //# sourceMappingURL=personlist.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"personlist.js","sourceRoot":"","sources":["../../src/models/operations/personlist.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiDH,0DAMC;AArDD,0CAA4B;AAC5B,2DAA0D;AA8B1D,gBAAgB;AACH,QAAA,gCAAgC,GAIzC,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAClC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACpC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,aAAa,EAAE,gBAAgB;QAC/B,YAAY,EAAE,eAAe;KAC9B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,uBAAuB,CACrC,iBAAoC;IAEpC,OAAO,IAAI,CAAC,SAAS,CACnB,wCAAgC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAC1D,CAAC;AACJ,CAAC"}
@@ -1,18 +0,0 @@
1
- import * as z from "zod/v3";
2
- import * as components from "../components/index.js";
3
- export type PersonResendInvitationRequest = {
4
- /**
5
- * Person ID of the pending invite to resend.
6
- */
7
- personId: string;
8
- resendInvitationRequest: components.ResendInvitationRequest;
9
- };
10
- /** @internal */
11
- export type PersonResendInvitationRequest$Outbound = {
12
- person_id: string;
13
- ResendInvitationRequest: components.ResendInvitationRequest$Outbound;
14
- };
15
- /** @internal */
16
- export declare const PersonResendInvitationRequest$outboundSchema: z.ZodType<PersonResendInvitationRequest$Outbound, z.ZodTypeDef, PersonResendInvitationRequest>;
17
- export declare function personResendInvitationRequestToJSON(personResendInvitationRequest: PersonResendInvitationRequest): string;
18
- //# sourceMappingURL=personresendinvitation.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"personresendinvitation.d.ts","sourceRoot":"","sources":["../../src/models/operations/personresendinvitation.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AAErD,MAAM,MAAM,6BAA6B,GAAG;IAC1C;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB,uBAAuB,EAAE,UAAU,CAAC,uBAAuB,CAAC;CAC7D,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,sCAAsC,GAAG;IACnD,SAAS,EAAE,MAAM,CAAC;IAClB,uBAAuB,EAAE,UAAU,CAAC,gCAAgC,CAAC;CACtE,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4CAA4C,EAAE,CAAC,CAAC,OAAO,CAClE,sCAAsC,EACtC,CAAC,CAAC,UAAU,EACZ,6BAA6B,CAS7B,CAAC;AAEH,wBAAgB,mCAAmC,CACjD,6BAA6B,EAAE,6BAA6B,GAC3D,MAAM,CAMR"}
@@ -1,57 +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.PersonResendInvitationRequest$outboundSchema = void 0;
40
- exports.personResendInvitationRequestToJSON = personResendInvitationRequestToJSON;
41
- const z = __importStar(require("zod/v3"));
42
- const primitives_js_1 = require("../../lib/primitives.js");
43
- const components = __importStar(require("../components/index.js"));
44
- /** @internal */
45
- exports.PersonResendInvitationRequest$outboundSchema = z.object({
46
- personId: z.string(),
47
- resendInvitationRequest: components.ResendInvitationRequest$outboundSchema,
48
- }).transform((v) => {
49
- return (0, primitives_js_1.remap)(v, {
50
- personId: "person_id",
51
- resendInvitationRequest: "ResendInvitationRequest",
52
- });
53
- });
54
- function personResendInvitationRequestToJSON(personResendInvitationRequest) {
55
- return JSON.stringify(exports.PersonResendInvitationRequest$outboundSchema.parse(personResendInvitationRequest));
56
- }
57
- //# sourceMappingURL=personresendinvitation.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"personresendinvitation.js","sourceRoot":"","sources":["../../src/models/operations/personresendinvitation.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmCH,kFAQC;AAzCD,0CAA4B;AAC5B,2DAA0D;AAC1D,mEAAqD;AAgBrD,gBAAgB;AACH,QAAA,4CAA4C,GAIrD,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,uBAAuB,EAAE,UAAU,CAAC,sCAAsC;CAC3E,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,QAAQ,EAAE,WAAW;QACrB,uBAAuB,EAAE,yBAAyB;KACnD,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,mCAAmC,CACjD,6BAA4D;IAE5D,OAAO,IAAI,CAAC,SAAS,CACnB,oDAA4C,CAAC,KAAK,CAChD,6BAA6B,CAC9B,CACF,CAAC;AACJ,CAAC"}
@@ -1,18 +0,0 @@
1
- import * as z from "zod/v3";
2
- import * as components from "../components/index.js";
3
- export type PersonUpdateRequest = {
4
- /**
5
- * Person ID to update.
6
- */
7
- personId: string;
8
- updatePersonRequest: components.UpdatePersonRequest;
9
- };
10
- /** @internal */
11
- export type PersonUpdateRequest$Outbound = {
12
- person_id: string;
13
- UpdatePersonRequest: components.UpdatePersonRequest$Outbound;
14
- };
15
- /** @internal */
16
- export declare const PersonUpdateRequest$outboundSchema: z.ZodType<PersonUpdateRequest$Outbound, z.ZodTypeDef, PersonUpdateRequest>;
17
- export declare function personUpdateRequestToJSON(personUpdateRequest: PersonUpdateRequest): string;
18
- //# sourceMappingURL=personupdate.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"personupdate.d.ts","sourceRoot":"","sources":["../../src/models/operations/personupdate.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AAErD,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB,mBAAmB,EAAE,UAAU,CAAC,mBAAmB,CAAC;CACrD,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,4BAA4B,GAAG;IACzC,SAAS,EAAE,MAAM,CAAC;IAClB,mBAAmB,EAAE,UAAU,CAAC,4BAA4B,CAAC;CAC9D,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,4BAA4B,EAC5B,CAAC,CAAC,UAAU,EACZ,mBAAmB,CASnB,CAAC;AAEH,wBAAgB,yBAAyB,CACvC,mBAAmB,EAAE,mBAAmB,GACvC,MAAM,CAIR"}
@@ -1,57 +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.PersonUpdateRequest$outboundSchema = void 0;
40
- exports.personUpdateRequestToJSON = personUpdateRequestToJSON;
41
- const z = __importStar(require("zod/v3"));
42
- const primitives_js_1 = require("../../lib/primitives.js");
43
- const components = __importStar(require("../components/index.js"));
44
- /** @internal */
45
- exports.PersonUpdateRequest$outboundSchema = z.object({
46
- personId: z.string(),
47
- updatePersonRequest: components.UpdatePersonRequest$outboundSchema,
48
- }).transform((v) => {
49
- return (0, primitives_js_1.remap)(v, {
50
- personId: "person_id",
51
- updatePersonRequest: "UpdatePersonRequest",
52
- });
53
- });
54
- function personUpdateRequestToJSON(personUpdateRequest) {
55
- return JSON.stringify(exports.PersonUpdateRequest$outboundSchema.parse(personUpdateRequest));
56
- }
57
- //# sourceMappingURL=personupdate.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"personupdate.js","sourceRoot":"","sources":["../../src/models/operations/personupdate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmCH,8DAMC;AAvCD,0CAA4B;AAC5B,2DAA0D;AAC1D,mEAAqD;AAgBrD,gBAAgB;AACH,QAAA,kCAAkC,GAI3C,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,mBAAmB,EAAE,UAAU,CAAC,kCAAkC;CACnE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,QAAQ,EAAE,WAAW;QACrB,mBAAmB,EAAE,qBAAqB;KAC3C,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,yBAAyB,CACvC,mBAAwC;IAExC,OAAO,IAAI,CAAC,SAAS,CACnB,0CAAkC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAC9D,CAAC;AACJ,CAAC"}
package/sdk/people.d.ts DELETED
@@ -1,48 +0,0 @@
1
- import { ClientSDK, RequestOptions } from "../lib/sdks.js";
2
- import * as components from "../models/components/index.js";
3
- import * as operations from "../models/operations/index.js";
4
- export declare class People extends ClientSDK {
5
- /**
6
- * List all people
7
- *
8
- * @remarks
9
- * Returns a paginated list of people in the current workspace. Use `starting_after` or `ending_before` to page through large collections.
10
- */
11
- list(request?: operations.PersonListRequest | undefined, options?: RequestOptions): Promise<components.ListPeopleResponse>;
12
- /**
13
- * Invite people to a workspace
14
- *
15
- * @remarks
16
- * Invites one or more people to the current workspace. If an email is not already registered, a new account is created and an invitation email is sent. Existing accounts are linked directly to the workspace.
17
- */
18
- create(request: components.CreatePersonRequest, options?: RequestOptions): Promise<components.CreatePersonResponse>;
19
- /**
20
- * Retrieve a person
21
- *
22
- * @remarks
23
- * Retrieves the details of an existing workspace member or invited user by their person ID.
24
- */
25
- get(request: operations.PersonGetRequest, options?: RequestOptions): Promise<components.GetPersonResponse>;
26
- /**
27
- * Delete a person
28
- *
29
- * @remarks
30
- * Removes a member or invited user from the workspace. API keys owned by the removed user are cascade revoked. The response body is empty when the delete succeeds.
31
- */
32
- delete(request: operations.PersonDeleteRequest, options?: RequestOptions): Promise<components.DeletePersonResponse>;
33
- /**
34
- * Update a person
35
- *
36
- * @remarks
37
- * Updates the roles and group assignments of a workspace member. Omitted fields keep their current values.
38
- */
39
- update(request: operations.PersonUpdateRequest, options?: RequestOptions): Promise<components.UpdatePersonResponse>;
40
- /**
41
- * Resend invitation
42
- *
43
- * @remarks
44
- * Resends the invitation email to a pending workspace member. Has no effect if the person has already accepted.
45
- */
46
- resendInvitation(request: operations.PersonResendInvitationRequest, options?: RequestOptions): Promise<components.ResendInvitationResponse>;
47
- }
48
- //# sourceMappingURL=people.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"people.d.ts","sourceRoot":"","sources":["../src/sdk/people.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,MAAO,SAAQ,SAAS;IACnC;;;;;OAKG;IACG,IAAI,CACR,OAAO,CAAC,EAAE,UAAU,CAAC,iBAAiB,GAAG,SAAS,EAClD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC;IAQzC;;;;;OAKG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,mBAAmB,EACvC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,oBAAoB,CAAC;IAQ3C;;;;;OAKG;IACG,GAAG,CACP,OAAO,EAAE,UAAU,CAAC,gBAAgB,EACpC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,iBAAiB,CAAC;IAQxC;;;;;OAKG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,mBAAmB,EACvC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,oBAAoB,CAAC;IAQ3C;;;;;OAKG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,mBAAmB,EACvC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,oBAAoB,CAAC;IAQ3C;;;;;OAKG;IACG,gBAAgB,CACpB,OAAO,EAAE,UAAU,CAAC,6BAA6B,EACjD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,wBAAwB,CAAC;CAOhD"}
package/sdk/people.js DELETED
@@ -1,72 +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.People = void 0;
7
- const peopleCreate_js_1 = require("../funcs/peopleCreate.js");
8
- const peopleDelete_js_1 = require("../funcs/peopleDelete.js");
9
- const peopleGet_js_1 = require("../funcs/peopleGet.js");
10
- const peopleList_js_1 = require("../funcs/peopleList.js");
11
- const peopleResendInvitation_js_1 = require("../funcs/peopleResendInvitation.js");
12
- const peopleUpdate_js_1 = require("../funcs/peopleUpdate.js");
13
- const sdks_js_1 = require("../lib/sdks.js");
14
- const fp_js_1 = require("../types/fp.js");
15
- class People extends sdks_js_1.ClientSDK {
16
- /**
17
- * List all people
18
- *
19
- * @remarks
20
- * Returns a paginated list of people in the current workspace. Use `starting_after` or `ending_before` to page through large collections.
21
- */
22
- async list(request, options) {
23
- return (0, fp_js_1.unwrapAsync)((0, peopleList_js_1.peopleList)(this, request, options));
24
- }
25
- /**
26
- * Invite people to a workspace
27
- *
28
- * @remarks
29
- * Invites one or more people to the current workspace. If an email is not already registered, a new account is created and an invitation email is sent. Existing accounts are linked directly to the workspace.
30
- */
31
- async create(request, options) {
32
- return (0, fp_js_1.unwrapAsync)((0, peopleCreate_js_1.peopleCreate)(this, request, options));
33
- }
34
- /**
35
- * Retrieve a person
36
- *
37
- * @remarks
38
- * Retrieves the details of an existing workspace member or invited user by their person ID.
39
- */
40
- async get(request, options) {
41
- return (0, fp_js_1.unwrapAsync)((0, peopleGet_js_1.peopleGet)(this, request, options));
42
- }
43
- /**
44
- * Delete a person
45
- *
46
- * @remarks
47
- * Removes a member or invited user from the workspace. API keys owned by the removed user are cascade revoked. The response body is empty when the delete succeeds.
48
- */
49
- async delete(request, options) {
50
- return (0, fp_js_1.unwrapAsync)((0, peopleDelete_js_1.peopleDelete)(this, request, options));
51
- }
52
- /**
53
- * Update a person
54
- *
55
- * @remarks
56
- * Updates the roles and group assignments of a workspace member. Omitted fields keep their current values.
57
- */
58
- async update(request, options) {
59
- return (0, fp_js_1.unwrapAsync)((0, peopleUpdate_js_1.peopleUpdate)(this, request, options));
60
- }
61
- /**
62
- * Resend invitation
63
- *
64
- * @remarks
65
- * Resends the invitation email to a pending workspace member. Has no effect if the person has already accepted.
66
- */
67
- async resendInvitation(request, options) {
68
- return (0, fp_js_1.unwrapAsync)((0, peopleResendInvitation_js_1.peopleResendInvitation)(this, request, options));
69
- }
70
- }
71
- exports.People = People;
72
- //# sourceMappingURL=people.js.map
package/sdk/people.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"people.js","sourceRoot":"","sources":["../src/sdk/people.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,8DAAwD;AACxD,8DAAwD;AACxD,wDAAkD;AAClD,0DAAoD;AACpD,kFAA4E;AAC5E,8DAAwD;AACxD,4CAA2D;AAG3D,0CAA6C;AAE7C,MAAa,MAAO,SAAQ,mBAAS;IACnC;;;;;OAKG;IACH,KAAK,CAAC,IAAI,CACR,OAAkD,EAClD,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,0BAAU,EAC3B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,MAAM,CACV,OAAuC,EACvC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,8BAAY,EAC7B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,GAAG,CACP,OAAoC,EACpC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,wBAAS,EAC1B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,MAAM,CACV,OAAuC,EACvC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,8BAAY,EAC7B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,MAAM,CACV,OAAuC,EACvC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,8BAAY,EAC7B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,gBAAgB,CACpB,OAAiD,EACjD,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,kDAAsB,EACvC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF;AAtGD,wBAsGC"}
@@ -1,162 +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 * as components from "../models/components/index.js";
15
- import {
16
- ConnectionError,
17
- InvalidRequestError,
18
- RequestAbortedError,
19
- RequestTimeoutError,
20
- UnexpectedClientError,
21
- } from "../models/errors/httpclienterrors.js";
22
- import { OrqError } from "../models/errors/orqerror.js";
23
- import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
24
- import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
25
- import { APICall, APIPromise } from "../types/async.js";
26
- import { Result } from "../types/fp.js";
27
-
28
- /**
29
- * Invite people to a workspace
30
- *
31
- * @remarks
32
- * Invites one or more people to the current workspace. If an email is not already registered, a new account is created and an invitation email is sent. Existing accounts are linked directly to the workspace.
33
- */
34
- export function peopleCreate(
35
- client: OrqCore,
36
- request: components.CreatePersonRequest,
37
- options?: RequestOptions,
38
- ): APIPromise<
39
- Result<
40
- components.CreatePersonResponse,
41
- | OrqError
42
- | ResponseValidationError
43
- | ConnectionError
44
- | RequestAbortedError
45
- | RequestTimeoutError
46
- | InvalidRequestError
47
- | UnexpectedClientError
48
- | SDKValidationError
49
- >
50
- > {
51
- return new APIPromise($do(
52
- client,
53
- request,
54
- options,
55
- ));
56
- }
57
-
58
- async function $do(
59
- client: OrqCore,
60
- request: components.CreatePersonRequest,
61
- options?: RequestOptions,
62
- ): Promise<
63
- [
64
- Result<
65
- components.CreatePersonResponse,
66
- | OrqError
67
- | ResponseValidationError
68
- | ConnectionError
69
- | RequestAbortedError
70
- | RequestTimeoutError
71
- | InvalidRequestError
72
- | UnexpectedClientError
73
- | SDKValidationError
74
- >,
75
- APICall,
76
- ]
77
- > {
78
- const parsed = safeParse(
79
- request,
80
- (value) => components.CreatePersonRequest$outboundSchema.parse(value),
81
- "Input validation failed",
82
- );
83
- if (!parsed.ok) {
84
- return [parsed, { status: "invalid" }];
85
- }
86
- const payload = parsed.value;
87
- const body = encodeJSON("body", payload, { explode: true });
88
-
89
- const path = pathToFunc("/v2/people")();
90
-
91
- const headers = new Headers(compactMap({
92
- "Content-Type": "application/json",
93
- Accept: "application/json",
94
- }));
95
-
96
- const secConfig = await extractSecurity(client._options.apiKey);
97
- const securityInput = secConfig == null ? {} : { apiKey: secConfig };
98
- const requestSecurity = resolveGlobalSecurity(securityInput);
99
-
100
- const context = {
101
- options: client._options,
102
- baseURL: options?.serverURL ?? client._baseURL ?? "",
103
- operationID: "PersonCreate",
104
- oAuth2Scopes: null,
105
-
106
- resolvedSecurity: requestSecurity,
107
-
108
- securitySource: client._options.apiKey,
109
- retryConfig: options?.retries
110
- || client._options.retryConfig
111
- || { strategy: "none" },
112
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
113
- };
114
-
115
- const requestRes = client._createRequest(context, {
116
- security: requestSecurity,
117
- method: "POST",
118
- baseURL: options?.serverURL,
119
- path: path,
120
- headers: headers,
121
- body: body,
122
- userAgent: client._options.userAgent,
123
- timeoutMs: options?.timeoutMs || client._options.timeoutMs || 600000,
124
- }, options);
125
- if (!requestRes.ok) {
126
- return [requestRes, { status: "invalid" }];
127
- }
128
- const req = requestRes.value;
129
-
130
- const doResult = await client._do(req, {
131
- context,
132
- isErrorStatusCode: (statusCode: number) =>
133
- matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
134
- retryConfig: context.retryConfig,
135
- retryCodes: context.retryCodes,
136
- });
137
- if (!doResult.ok) {
138
- return [doResult, { status: "request-error", request: req }];
139
- }
140
- const response = doResult.value;
141
-
142
- const [result] = await M.match<
143
- components.CreatePersonResponse,
144
- | OrqError
145
- | ResponseValidationError
146
- | ConnectionError
147
- | RequestAbortedError
148
- | RequestTimeoutError
149
- | InvalidRequestError
150
- | UnexpectedClientError
151
- | SDKValidationError
152
- >(
153
- M.json(200, components.CreatePersonResponse$inboundSchema),
154
- M.fail("4XX"),
155
- M.fail("5XX"),
156
- )(response, req);
157
- if (!result.ok) {
158
- return [result, { status: "complete", request: req, response }];
159
- }
160
-
161
- return [result, { status: "complete", request: req, response }];
162
- }