@foru-ms/sdk 1.3.2 → 2.0.2

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 (1133) hide show
  1. package/README.md +268 -618
  2. package/dist/cjs/BaseClient.d.ts +39 -0
  3. package/dist/cjs/BaseClient.js +62 -0
  4. package/dist/cjs/Client.d.ts +47 -0
  5. package/dist/cjs/Client.js +71 -0
  6. package/dist/cjs/api/errors/BadRequestError.d.ts +6 -0
  7. package/dist/cjs/api/errors/BadRequestError.js +54 -0
  8. package/dist/cjs/api/errors/InternalServerError.d.ts +6 -0
  9. package/dist/cjs/api/errors/InternalServerError.js +54 -0
  10. package/dist/cjs/api/errors/NotFoundError.d.ts +6 -0
  11. package/dist/cjs/api/errors/NotFoundError.js +54 -0
  12. package/dist/cjs/api/errors/PaymentRequiredError.d.ts +6 -0
  13. package/dist/cjs/api/errors/PaymentRequiredError.js +54 -0
  14. package/dist/cjs/api/errors/TooManyRequestsError.d.ts +6 -0
  15. package/dist/cjs/api/errors/TooManyRequestsError.js +54 -0
  16. package/dist/cjs/api/errors/UnauthorizedError.d.ts +6 -0
  17. package/dist/cjs/api/errors/UnauthorizedError.js +54 -0
  18. package/dist/cjs/api/errors/index.d.ts +6 -0
  19. package/dist/cjs/api/errors/index.js +22 -0
  20. package/dist/cjs/api/index.d.ts +3 -0
  21. package/dist/cjs/api/index.js +19 -0
  22. package/dist/cjs/api/resources/auth/client/Client.d.ts +93 -0
  23. package/dist/cjs/api/resources/auth/client/Client.js +352 -0
  24. package/dist/cjs/api/resources/auth/client/index.d.ts +1 -0
  25. package/dist/cjs/api/resources/auth/client/index.js +17 -0
  26. package/dist/cjs/api/resources/auth/client/requests/PostAuthForgotPasswordRequest.d.ts +10 -0
  27. package/dist/cjs/api/resources/auth/client/requests/PostAuthForgotPasswordRequest.js +3 -0
  28. package/dist/cjs/api/resources/auth/client/requests/PostAuthLoginRequest.d.ts +13 -0
  29. package/dist/cjs/api/resources/auth/client/requests/PostAuthLoginRequest.js +3 -0
  30. package/dist/cjs/api/resources/auth/client/requests/PostAuthRegisterRequest.d.ts +24 -0
  31. package/dist/cjs/api/resources/auth/client/requests/PostAuthRegisterRequest.js +3 -0
  32. package/dist/cjs/api/resources/auth/client/requests/PostAuthResetPasswordRequest.d.ts +16 -0
  33. package/dist/cjs/api/resources/auth/client/requests/PostAuthResetPasswordRequest.js +3 -0
  34. package/dist/cjs/api/resources/auth/client/requests/index.d.ts +4 -0
  35. package/dist/{response-types.js → cjs/api/resources/auth/client/requests/index.js} +2 -2
  36. package/dist/cjs/api/resources/auth/index.d.ts +2 -0
  37. package/dist/cjs/api/resources/auth/index.js +18 -0
  38. package/dist/cjs/api/resources/auth/types/GetAuthMeResponse.d.ts +4 -0
  39. package/dist/cjs/api/resources/auth/types/GetAuthMeResponse.js +3 -0
  40. package/dist/cjs/api/resources/auth/types/PostAuthForgotPasswordResponse.d.ts +4 -0
  41. package/dist/cjs/api/resources/auth/types/PostAuthForgotPasswordResponse.js +3 -0
  42. package/dist/cjs/api/resources/auth/types/PostAuthLoginResponse.d.ts +3 -0
  43. package/dist/cjs/api/resources/auth/types/PostAuthLoginResponse.js +3 -0
  44. package/dist/cjs/api/resources/auth/types/PostAuthRegisterResponse.d.ts +3 -0
  45. package/dist/cjs/api/resources/auth/types/PostAuthRegisterResponse.js +3 -0
  46. package/dist/cjs/api/resources/auth/types/PostAuthResetPasswordResponse.d.ts +3 -0
  47. package/dist/cjs/api/resources/auth/types/PostAuthResetPasswordResponse.js +3 -0
  48. package/dist/cjs/api/resources/auth/types/index.d.ts +5 -0
  49. package/dist/cjs/api/resources/auth/types/index.js +21 -0
  50. package/dist/cjs/api/resources/index.d.ts +36 -0
  51. package/dist/cjs/api/resources/index.js +75 -0
  52. package/dist/cjs/api/resources/integrations/client/Client.d.ts +99 -0
  53. package/dist/cjs/api/resources/integrations/client/Client.js +391 -0
  54. package/dist/cjs/api/resources/integrations/client/index.d.ts +1 -0
  55. package/dist/cjs/api/resources/integrations/client/index.js +17 -0
  56. package/dist/cjs/api/resources/integrations/client/requests/DeleteIntegrationsIdRequest.d.ts +9 -0
  57. package/dist/cjs/api/resources/integrations/client/requests/DeleteIntegrationsIdRequest.js +3 -0
  58. package/dist/cjs/api/resources/integrations/client/requests/GetIntegrationsIdRequest.d.ts +9 -0
  59. package/dist/cjs/api/resources/integrations/client/requests/GetIntegrationsIdRequest.js +3 -0
  60. package/dist/cjs/api/resources/integrations/client/requests/GetIntegrationsRequest.d.ts +9 -0
  61. package/dist/cjs/api/resources/integrations/client/requests/GetIntegrationsRequest.js +3 -0
  62. package/dist/cjs/api/resources/integrations/client/requests/PatchIntegrationsIdRequest.d.ts +15 -0
  63. package/dist/cjs/api/resources/integrations/client/requests/PatchIntegrationsIdRequest.js +3 -0
  64. package/dist/cjs/api/resources/integrations/client/requests/PostIntegrationsRequest.d.ts +16 -0
  65. package/dist/cjs/api/resources/integrations/client/requests/PostIntegrationsRequest.js +3 -0
  66. package/dist/cjs/api/resources/integrations/client/requests/index.d.ts +5 -0
  67. package/dist/{types.js → cjs/api/resources/integrations/client/requests/index.js} +2 -2
  68. package/dist/cjs/api/resources/integrations/index.d.ts +2 -0
  69. package/dist/cjs/api/resources/integrations/index.js +18 -0
  70. package/dist/cjs/api/resources/integrations/types/DeleteIntegrationsIdResponse.d.ts +3 -0
  71. package/dist/cjs/api/resources/integrations/types/DeleteIntegrationsIdResponse.js +3 -0
  72. package/dist/cjs/api/resources/integrations/types/GetIntegrationsIdResponse.d.ts +6 -0
  73. package/dist/cjs/api/resources/integrations/types/GetIntegrationsIdResponse.js +3 -0
  74. package/dist/cjs/api/resources/integrations/types/GetIntegrationsResponse.d.ts +15 -0
  75. package/dist/cjs/api/resources/integrations/types/GetIntegrationsResponse.js +3 -0
  76. package/dist/cjs/api/resources/integrations/types/PatchIntegrationsIdResponse.d.ts +6 -0
  77. package/dist/cjs/api/resources/integrations/types/PatchIntegrationsIdResponse.js +3 -0
  78. package/dist/cjs/api/resources/integrations/types/PostIntegrationsResponse.d.ts +6 -0
  79. package/dist/cjs/api/resources/integrations/types/PostIntegrationsResponse.js +3 -0
  80. package/dist/cjs/api/resources/integrations/types/index.d.ts +5 -0
  81. package/dist/cjs/api/resources/integrations/types/index.js +21 -0
  82. package/dist/cjs/api/resources/notifications/client/Client.d.ts +97 -0
  83. package/dist/cjs/api/resources/notifications/client/Client.js +389 -0
  84. package/dist/cjs/api/resources/notifications/client/index.d.ts +1 -0
  85. package/dist/cjs/api/resources/notifications/client/index.js +17 -0
  86. package/dist/cjs/api/resources/notifications/client/requests/DeleteNotificationsIdRequest.d.ts +9 -0
  87. package/dist/cjs/api/resources/notifications/client/requests/DeleteNotificationsIdRequest.js +3 -0
  88. package/dist/cjs/api/resources/notifications/client/requests/GetNotificationsIdRequest.d.ts +9 -0
  89. package/dist/cjs/api/resources/notifications/client/requests/GetNotificationsIdRequest.js +3 -0
  90. package/dist/cjs/api/resources/notifications/client/requests/GetNotificationsRequest.d.ts +9 -0
  91. package/dist/cjs/api/resources/notifications/client/requests/GetNotificationsRequest.js +3 -0
  92. package/dist/cjs/api/resources/notifications/client/requests/PatchNotificationsIdRequest.d.ts +23 -0
  93. package/dist/cjs/api/resources/notifications/client/requests/PatchNotificationsIdRequest.js +14 -0
  94. package/dist/cjs/api/resources/notifications/client/requests/PostNotificationsRequest.d.ts +21 -0
  95. package/dist/cjs/api/resources/notifications/client/requests/PostNotificationsRequest.js +3 -0
  96. package/dist/cjs/api/resources/notifications/client/requests/index.d.ts +5 -0
  97. package/dist/cjs/api/resources/notifications/client/requests/index.js +2 -0
  98. package/dist/cjs/api/resources/notifications/index.d.ts +2 -0
  99. package/dist/cjs/api/resources/notifications/index.js +18 -0
  100. package/dist/cjs/api/resources/notifications/types/DeleteNotificationsIdResponse.d.ts +3 -0
  101. package/dist/cjs/api/resources/notifications/types/DeleteNotificationsIdResponse.js +3 -0
  102. package/dist/cjs/api/resources/notifications/types/GetNotificationsIdResponse.d.ts +6 -0
  103. package/dist/cjs/api/resources/notifications/types/GetNotificationsIdResponse.js +3 -0
  104. package/dist/cjs/api/resources/notifications/types/GetNotificationsResponse.d.ts +15 -0
  105. package/dist/cjs/api/resources/notifications/types/GetNotificationsResponse.js +3 -0
  106. package/dist/cjs/api/resources/notifications/types/PatchNotificationsIdResponse.d.ts +6 -0
  107. package/dist/cjs/api/resources/notifications/types/PatchNotificationsIdResponse.js +3 -0
  108. package/dist/cjs/api/resources/notifications/types/PostNotificationsResponse.d.ts +6 -0
  109. package/dist/cjs/api/resources/notifications/types/PostNotificationsResponse.js +3 -0
  110. package/dist/cjs/api/resources/notifications/types/index.d.ts +5 -0
  111. package/dist/cjs/api/resources/notifications/types/index.js +21 -0
  112. package/dist/cjs/api/resources/posts/client/Client.d.ts +97 -0
  113. package/dist/cjs/api/resources/posts/client/Client.js +389 -0
  114. package/dist/cjs/api/resources/posts/client/index.d.ts +1 -0
  115. package/dist/cjs/api/resources/posts/client/index.js +17 -0
  116. package/dist/cjs/api/resources/posts/client/requests/DeletePostsIdRequest.d.ts +9 -0
  117. package/dist/cjs/api/resources/posts/client/requests/DeletePostsIdRequest.js +3 -0
  118. package/dist/cjs/api/resources/posts/client/requests/GetPostsIdRequest.d.ts +9 -0
  119. package/dist/cjs/api/resources/posts/client/requests/GetPostsIdRequest.js +3 -0
  120. package/dist/cjs/api/resources/posts/client/requests/GetPostsRequest.d.ts +9 -0
  121. package/dist/cjs/api/resources/posts/client/requests/GetPostsRequest.js +3 -0
  122. package/dist/cjs/api/resources/posts/client/requests/PatchPostsIdRequest.d.ts +17 -0
  123. package/dist/cjs/api/resources/posts/client/requests/PatchPostsIdRequest.js +3 -0
  124. package/dist/cjs/api/resources/posts/client/requests/PostPostsRequest.d.ts +18 -0
  125. package/dist/cjs/api/resources/posts/client/requests/PostPostsRequest.js +3 -0
  126. package/dist/cjs/api/resources/posts/client/requests/index.d.ts +5 -0
  127. package/dist/cjs/api/resources/posts/client/requests/index.js +2 -0
  128. package/dist/cjs/api/resources/posts/index.d.ts +2 -0
  129. package/dist/cjs/api/resources/posts/index.js +18 -0
  130. package/dist/cjs/api/resources/posts/types/DeletePostsIdResponse.d.ts +3 -0
  131. package/dist/cjs/api/resources/posts/types/DeletePostsIdResponse.js +3 -0
  132. package/dist/cjs/api/resources/posts/types/GetPostsIdResponse.d.ts +17 -0
  133. package/dist/cjs/api/resources/posts/types/GetPostsIdResponse.js +3 -0
  134. package/dist/cjs/api/resources/posts/types/GetPostsResponse.d.ts +26 -0
  135. package/dist/cjs/api/resources/posts/types/GetPostsResponse.js +3 -0
  136. package/dist/cjs/api/resources/posts/types/PatchPostsIdResponse.d.ts +17 -0
  137. package/dist/cjs/api/resources/posts/types/PatchPostsIdResponse.js +3 -0
  138. package/dist/cjs/api/resources/posts/types/PostPostsResponse.d.ts +17 -0
  139. package/dist/cjs/api/resources/posts/types/PostPostsResponse.js +3 -0
  140. package/dist/cjs/api/resources/posts/types/index.d.ts +5 -0
  141. package/dist/cjs/api/resources/posts/types/index.js +21 -0
  142. package/dist/cjs/api/resources/privateMessages/client/Client.d.ts +79 -0
  143. package/dist/cjs/api/resources/privateMessages/client/Client.js +314 -0
  144. package/dist/cjs/api/resources/privateMessages/client/index.d.ts +1 -0
  145. package/dist/cjs/api/resources/privateMessages/client/index.js +17 -0
  146. package/dist/cjs/api/resources/privateMessages/client/requests/DeletePrivateMessagesIdRequest.d.ts +9 -0
  147. package/dist/cjs/api/resources/privateMessages/client/requests/DeletePrivateMessagesIdRequest.js +3 -0
  148. package/dist/cjs/api/resources/privateMessages/client/requests/GetPrivateMessagesIdRequest.d.ts +9 -0
  149. package/dist/cjs/api/resources/privateMessages/client/requests/GetPrivateMessagesIdRequest.js +3 -0
  150. package/dist/cjs/api/resources/privateMessages/client/requests/GetPrivateMessagesRequest.d.ts +9 -0
  151. package/dist/cjs/api/resources/privateMessages/client/requests/GetPrivateMessagesRequest.js +3 -0
  152. package/dist/cjs/api/resources/privateMessages/client/requests/PostPrivateMessagesRequest.d.ts +21 -0
  153. package/dist/cjs/api/resources/privateMessages/client/requests/PostPrivateMessagesRequest.js +3 -0
  154. package/dist/cjs/api/resources/privateMessages/client/requests/index.d.ts +4 -0
  155. package/dist/cjs/api/resources/privateMessages/client/requests/index.js +2 -0
  156. package/dist/cjs/api/resources/privateMessages/index.d.ts +2 -0
  157. package/dist/cjs/api/resources/privateMessages/index.js +18 -0
  158. package/dist/cjs/api/resources/privateMessages/types/DeletePrivateMessagesIdResponse.d.ts +3 -0
  159. package/dist/cjs/api/resources/privateMessages/types/DeletePrivateMessagesIdResponse.js +3 -0
  160. package/dist/cjs/api/resources/privateMessages/types/GetPrivateMessagesIdResponse.d.ts +6 -0
  161. package/dist/cjs/api/resources/privateMessages/types/GetPrivateMessagesIdResponse.js +3 -0
  162. package/dist/cjs/api/resources/privateMessages/types/GetPrivateMessagesResponse.d.ts +15 -0
  163. package/dist/cjs/api/resources/privateMessages/types/GetPrivateMessagesResponse.js +3 -0
  164. package/dist/cjs/api/resources/privateMessages/types/PostPrivateMessagesResponse.d.ts +6 -0
  165. package/dist/cjs/api/resources/privateMessages/types/PostPrivateMessagesResponse.js +3 -0
  166. package/dist/cjs/api/resources/privateMessages/types/index.d.ts +4 -0
  167. package/dist/cjs/api/resources/privateMessages/types/index.js +20 -0
  168. package/dist/cjs/api/resources/reports/client/Client.d.ts +78 -0
  169. package/dist/cjs/api/resources/reports/client/Client.js +310 -0
  170. package/dist/cjs/api/resources/reports/client/index.d.ts +1 -0
  171. package/dist/cjs/api/resources/reports/client/index.js +17 -0
  172. package/dist/cjs/api/resources/reports/client/requests/DeleteReportsIdRequest.d.ts +9 -0
  173. package/dist/cjs/api/resources/reports/client/requests/DeleteReportsIdRequest.js +3 -0
  174. package/dist/cjs/api/resources/reports/client/requests/GetReportsIdRequest.d.ts +9 -0
  175. package/dist/cjs/api/resources/reports/client/requests/GetReportsIdRequest.js +3 -0
  176. package/dist/cjs/api/resources/reports/client/requests/GetReportsRequest.d.ts +9 -0
  177. package/dist/cjs/api/resources/reports/client/requests/GetReportsRequest.js +3 -0
  178. package/dist/cjs/api/resources/reports/client/requests/PostReportsRequest.d.ts +22 -0
  179. package/dist/cjs/api/resources/reports/client/requests/PostReportsRequest.js +3 -0
  180. package/dist/cjs/api/resources/reports/client/requests/index.d.ts +4 -0
  181. package/dist/cjs/api/resources/reports/client/requests/index.js +2 -0
  182. package/dist/cjs/api/resources/reports/index.d.ts +2 -0
  183. package/dist/cjs/api/resources/reports/index.js +18 -0
  184. package/dist/cjs/api/resources/reports/types/DeleteReportsIdResponse.d.ts +3 -0
  185. package/dist/cjs/api/resources/reports/types/DeleteReportsIdResponse.js +3 -0
  186. package/dist/cjs/api/resources/reports/types/GetReportsIdResponse.d.ts +22 -0
  187. package/dist/cjs/api/resources/reports/types/GetReportsIdResponse.js +3 -0
  188. package/dist/cjs/api/resources/reports/types/GetReportsResponse.d.ts +31 -0
  189. package/dist/cjs/api/resources/reports/types/GetReportsResponse.js +3 -0
  190. package/dist/cjs/api/resources/reports/types/PostReportsResponse.d.ts +22 -0
  191. package/dist/cjs/api/resources/reports/types/PostReportsResponse.js +3 -0
  192. package/dist/cjs/api/resources/reports/types/index.d.ts +4 -0
  193. package/dist/cjs/api/resources/reports/types/index.js +20 -0
  194. package/dist/cjs/api/resources/roles/client/Client.d.ts +96 -0
  195. package/dist/cjs/api/resources/roles/client/Client.js +388 -0
  196. package/dist/cjs/api/resources/roles/client/index.d.ts +1 -0
  197. package/dist/cjs/api/resources/roles/client/index.js +17 -0
  198. package/dist/cjs/api/resources/roles/client/requests/DeleteRolesIdRequest.d.ts +9 -0
  199. package/dist/cjs/api/resources/roles/client/requests/DeleteRolesIdRequest.js +3 -0
  200. package/dist/cjs/api/resources/roles/client/requests/GetRolesIdRequest.d.ts +9 -0
  201. package/dist/cjs/api/resources/roles/client/requests/GetRolesIdRequest.js +3 -0
  202. package/dist/cjs/api/resources/roles/client/requests/GetRolesRequest.d.ts +9 -0
  203. package/dist/cjs/api/resources/roles/client/requests/GetRolesRequest.js +3 -0
  204. package/dist/cjs/api/resources/roles/client/requests/PatchRolesIdRequest.d.ts +19 -0
  205. package/dist/cjs/api/resources/roles/client/requests/PatchRolesIdRequest.js +3 -0
  206. package/dist/cjs/api/resources/roles/client/requests/PostRolesRequest.d.ts +18 -0
  207. package/dist/cjs/api/resources/roles/client/requests/PostRolesRequest.js +3 -0
  208. package/dist/cjs/api/resources/roles/client/requests/index.d.ts +5 -0
  209. package/dist/cjs/api/resources/roles/client/requests/index.js +2 -0
  210. package/dist/cjs/api/resources/roles/index.d.ts +2 -0
  211. package/dist/cjs/api/resources/roles/index.js +18 -0
  212. package/dist/cjs/api/resources/roles/types/DeleteRolesIdResponse.d.ts +3 -0
  213. package/dist/cjs/api/resources/roles/types/DeleteRolesIdResponse.js +3 -0
  214. package/dist/cjs/api/resources/roles/types/GetRolesIdResponse.d.ts +18 -0
  215. package/dist/cjs/api/resources/roles/types/GetRolesIdResponse.js +3 -0
  216. package/dist/cjs/api/resources/roles/types/GetRolesResponse.d.ts +27 -0
  217. package/dist/cjs/api/resources/roles/types/GetRolesResponse.js +3 -0
  218. package/dist/cjs/api/resources/roles/types/PatchRolesIdResponse.d.ts +18 -0
  219. package/dist/cjs/api/resources/roles/types/PatchRolesIdResponse.js +3 -0
  220. package/dist/cjs/api/resources/roles/types/PostRolesResponse.d.ts +18 -0
  221. package/dist/cjs/api/resources/roles/types/PostRolesResponse.js +3 -0
  222. package/dist/cjs/api/resources/roles/types/index.d.ts +5 -0
  223. package/dist/cjs/api/resources/roles/types/index.js +21 -0
  224. package/dist/cjs/api/resources/ssOs/client/Client.d.ts +102 -0
  225. package/dist/cjs/api/resources/ssOs/client/Client.js +394 -0
  226. package/dist/cjs/api/resources/ssOs/client/index.d.ts +1 -0
  227. package/dist/cjs/api/resources/ssOs/client/index.js +17 -0
  228. package/dist/cjs/api/resources/ssOs/client/requests/DeleteSsoIdRequest.d.ts +9 -0
  229. package/dist/cjs/api/resources/ssOs/client/requests/DeleteSsoIdRequest.js +3 -0
  230. package/dist/cjs/api/resources/ssOs/client/requests/GetSsoIdRequest.d.ts +9 -0
  231. package/dist/cjs/api/resources/ssOs/client/requests/GetSsoIdRequest.js +3 -0
  232. package/dist/cjs/api/resources/ssOs/client/requests/GetSsoRequest.d.ts +9 -0
  233. package/dist/cjs/api/resources/ssOs/client/requests/GetSsoRequest.js +3 -0
  234. package/dist/cjs/api/resources/ssOs/client/requests/PatchSsoIdRequest.d.ts +21 -0
  235. package/dist/cjs/api/resources/ssOs/client/requests/PatchSsoIdRequest.js +3 -0
  236. package/dist/cjs/api/resources/ssOs/client/requests/PostSsoRequest.d.ts +22 -0
  237. package/dist/cjs/api/resources/ssOs/client/requests/PostSsoRequest.js +3 -0
  238. package/dist/cjs/api/resources/ssOs/client/requests/index.d.ts +5 -0
  239. package/dist/cjs/api/resources/ssOs/client/requests/index.js +2 -0
  240. package/dist/cjs/api/resources/ssOs/index.d.ts +2 -0
  241. package/dist/cjs/api/resources/ssOs/index.js +18 -0
  242. package/dist/cjs/api/resources/ssOs/types/DeleteSsoIdResponse.d.ts +3 -0
  243. package/dist/cjs/api/resources/ssOs/types/DeleteSsoIdResponse.js +3 -0
  244. package/dist/cjs/api/resources/ssOs/types/GetSsoIdResponse.d.ts +6 -0
  245. package/dist/cjs/api/resources/ssOs/types/GetSsoIdResponse.js +3 -0
  246. package/dist/cjs/api/resources/ssOs/types/GetSsoResponse.d.ts +15 -0
  247. package/dist/cjs/api/resources/ssOs/types/GetSsoResponse.js +3 -0
  248. package/dist/cjs/api/resources/ssOs/types/PatchSsoIdResponse.d.ts +6 -0
  249. package/dist/cjs/api/resources/ssOs/types/PatchSsoIdResponse.js +3 -0
  250. package/dist/cjs/api/resources/ssOs/types/PostSsoResponse.d.ts +6 -0
  251. package/dist/cjs/api/resources/ssOs/types/PostSsoResponse.js +3 -0
  252. package/dist/cjs/api/resources/ssOs/types/index.d.ts +5 -0
  253. package/dist/cjs/api/resources/ssOs/types/index.js +21 -0
  254. package/dist/cjs/api/resources/tags/client/Client.d.ts +96 -0
  255. package/dist/cjs/api/resources/tags/client/Client.js +388 -0
  256. package/dist/cjs/api/resources/tags/client/index.d.ts +1 -0
  257. package/dist/cjs/api/resources/tags/client/index.js +17 -0
  258. package/dist/cjs/api/resources/tags/client/requests/DeleteTagsIdRequest.d.ts +9 -0
  259. package/dist/cjs/api/resources/tags/client/requests/DeleteTagsIdRequest.js +3 -0
  260. package/dist/cjs/api/resources/tags/client/requests/GetTagsIdRequest.d.ts +9 -0
  261. package/dist/cjs/api/resources/tags/client/requests/GetTagsIdRequest.js +3 -0
  262. package/dist/cjs/api/resources/tags/client/requests/GetTagsRequest.d.ts +9 -0
  263. package/dist/cjs/api/resources/tags/client/requests/GetTagsRequest.js +3 -0
  264. package/dist/cjs/api/resources/tags/client/requests/PatchTagsIdRequest.d.ts +19 -0
  265. package/dist/cjs/api/resources/tags/client/requests/PatchTagsIdRequest.js +3 -0
  266. package/dist/cjs/api/resources/tags/client/requests/PostTagsRequest.d.ts +18 -0
  267. package/dist/cjs/api/resources/tags/client/requests/PostTagsRequest.js +3 -0
  268. package/dist/cjs/api/resources/tags/client/requests/index.d.ts +5 -0
  269. package/dist/cjs/api/resources/tags/client/requests/index.js +2 -0
  270. package/dist/cjs/api/resources/tags/index.d.ts +2 -0
  271. package/dist/cjs/api/resources/tags/index.js +18 -0
  272. package/dist/cjs/api/resources/tags/types/DeleteTagsIdResponse.d.ts +3 -0
  273. package/dist/cjs/api/resources/tags/types/DeleteTagsIdResponse.js +3 -0
  274. package/dist/cjs/api/resources/tags/types/GetTagsIdResponse.d.ts +18 -0
  275. package/dist/cjs/api/resources/tags/types/GetTagsIdResponse.js +3 -0
  276. package/dist/cjs/api/resources/tags/types/GetTagsResponse.d.ts +27 -0
  277. package/dist/cjs/api/resources/tags/types/GetTagsResponse.js +3 -0
  278. package/dist/cjs/api/resources/tags/types/PatchTagsIdResponse.d.ts +18 -0
  279. package/dist/cjs/api/resources/tags/types/PatchTagsIdResponse.js +3 -0
  280. package/dist/cjs/api/resources/tags/types/PostTagsResponse.d.ts +18 -0
  281. package/dist/cjs/api/resources/tags/types/PostTagsResponse.js +3 -0
  282. package/dist/cjs/api/resources/tags/types/index.d.ts +5 -0
  283. package/dist/cjs/api/resources/tags/types/index.js +21 -0
  284. package/dist/cjs/api/resources/threads/client/Client.d.ts +97 -0
  285. package/dist/cjs/api/resources/threads/client/Client.js +389 -0
  286. package/dist/cjs/api/resources/threads/client/index.d.ts +1 -0
  287. package/dist/cjs/api/resources/threads/client/index.js +17 -0
  288. package/dist/cjs/api/resources/threads/client/requests/DeleteThreadsIdRequest.d.ts +9 -0
  289. package/dist/cjs/api/resources/threads/client/requests/DeleteThreadsIdRequest.js +3 -0
  290. package/dist/cjs/api/resources/threads/client/requests/GetThreadsIdRequest.d.ts +9 -0
  291. package/dist/cjs/api/resources/threads/client/requests/GetThreadsIdRequest.js +3 -0
  292. package/dist/cjs/api/resources/threads/client/requests/GetThreadsRequest.d.ts +9 -0
  293. package/dist/cjs/api/resources/threads/client/requests/GetThreadsRequest.js +3 -0
  294. package/dist/cjs/api/resources/threads/client/requests/PatchThreadsIdRequest.d.ts +21 -0
  295. package/dist/cjs/api/resources/threads/client/requests/PatchThreadsIdRequest.js +3 -0
  296. package/dist/cjs/api/resources/threads/client/requests/PostThreadsRequest.d.ts +40 -0
  297. package/dist/cjs/api/resources/threads/client/requests/PostThreadsRequest.js +3 -0
  298. package/dist/cjs/api/resources/threads/client/requests/index.d.ts +5 -0
  299. package/dist/cjs/api/resources/threads/client/requests/index.js +2 -0
  300. package/dist/cjs/api/resources/threads/index.d.ts +2 -0
  301. package/dist/cjs/api/resources/threads/index.js +18 -0
  302. package/dist/cjs/api/resources/threads/types/DeleteThreadsIdResponse.d.ts +3 -0
  303. package/dist/cjs/api/resources/threads/types/DeleteThreadsIdResponse.js +3 -0
  304. package/dist/cjs/api/resources/threads/types/GetThreadsIdResponse.d.ts +41 -0
  305. package/dist/cjs/api/resources/threads/types/GetThreadsIdResponse.js +3 -0
  306. package/dist/cjs/api/resources/threads/types/GetThreadsResponse.d.ts +50 -0
  307. package/dist/cjs/api/resources/threads/types/GetThreadsResponse.js +3 -0
  308. package/dist/cjs/api/resources/threads/types/PatchThreadsIdResponse.d.ts +41 -0
  309. package/dist/cjs/api/resources/threads/types/PatchThreadsIdResponse.js +3 -0
  310. package/dist/cjs/api/resources/threads/types/PostThreadsResponse.d.ts +41 -0
  311. package/dist/cjs/api/resources/threads/types/PostThreadsResponse.js +3 -0
  312. package/dist/cjs/api/resources/threads/types/index.d.ts +5 -0
  313. package/dist/cjs/api/resources/threads/types/index.js +21 -0
  314. package/dist/cjs/api/resources/users/client/Client.d.ts +79 -0
  315. package/dist/cjs/api/resources/users/client/Client.js +325 -0
  316. package/dist/cjs/api/resources/users/client/index.d.ts +1 -0
  317. package/dist/cjs/api/resources/users/client/index.js +17 -0
  318. package/dist/cjs/api/resources/users/client/requests/DeleteUsersIdRequest.d.ts +9 -0
  319. package/dist/cjs/api/resources/users/client/requests/DeleteUsersIdRequest.js +3 -0
  320. package/dist/cjs/api/resources/users/client/requests/GetUsersIdRequest.d.ts +9 -0
  321. package/dist/cjs/api/resources/users/client/requests/GetUsersIdRequest.js +3 -0
  322. package/dist/cjs/api/resources/users/client/requests/GetUsersRequest.d.ts +9 -0
  323. package/dist/cjs/api/resources/users/client/requests/GetUsersRequest.js +3 -0
  324. package/dist/cjs/api/resources/users/client/requests/PatchUsersIdRequest.d.ts +27 -0
  325. package/dist/cjs/api/resources/users/client/requests/PatchUsersIdRequest.js +3 -0
  326. package/dist/cjs/api/resources/users/client/requests/index.d.ts +4 -0
  327. package/dist/cjs/api/resources/users/client/requests/index.js +2 -0
  328. package/dist/cjs/api/resources/users/index.d.ts +2 -0
  329. package/dist/cjs/api/resources/users/index.js +18 -0
  330. package/dist/cjs/api/resources/users/types/DeleteUsersIdResponse.d.ts +3 -0
  331. package/dist/cjs/api/resources/users/types/DeleteUsersIdResponse.js +3 -0
  332. package/dist/cjs/api/resources/users/types/GetUsersIdResponse.d.ts +23 -0
  333. package/dist/cjs/api/resources/users/types/GetUsersIdResponse.js +15 -0
  334. package/dist/cjs/api/resources/users/types/GetUsersResponse.d.ts +32 -0
  335. package/dist/cjs/api/resources/users/types/GetUsersResponse.js +18 -0
  336. package/dist/cjs/api/resources/users/types/PatchUsersIdResponse.d.ts +23 -0
  337. package/dist/cjs/api/resources/users/types/PatchUsersIdResponse.js +15 -0
  338. package/dist/cjs/api/resources/users/types/index.d.ts +4 -0
  339. package/dist/cjs/api/resources/users/types/index.js +20 -0
  340. package/dist/cjs/api/resources/webhooks/client/Client.d.ts +80 -0
  341. package/dist/cjs/api/resources/webhooks/client/Client.js +312 -0
  342. package/dist/cjs/api/resources/webhooks/client/index.d.ts +1 -0
  343. package/dist/cjs/api/resources/webhooks/client/index.js +17 -0
  344. package/dist/cjs/api/resources/webhooks/client/requests/DeleteWebhooksIdRequest.d.ts +9 -0
  345. package/dist/cjs/api/resources/webhooks/client/requests/DeleteWebhooksIdRequest.js +3 -0
  346. package/dist/cjs/api/resources/webhooks/client/requests/GetWebhooksIdRequest.d.ts +9 -0
  347. package/dist/cjs/api/resources/webhooks/client/requests/GetWebhooksIdRequest.js +3 -0
  348. package/dist/cjs/api/resources/webhooks/client/requests/GetWebhooksRequest.d.ts +9 -0
  349. package/dist/cjs/api/resources/webhooks/client/requests/GetWebhooksRequest.js +3 -0
  350. package/dist/cjs/api/resources/webhooks/client/requests/PostWebhooksRequest.d.ts +18 -0
  351. package/dist/cjs/api/resources/webhooks/client/requests/PostWebhooksRequest.js +3 -0
  352. package/dist/cjs/api/resources/webhooks/client/requests/index.d.ts +4 -0
  353. package/dist/cjs/api/resources/webhooks/client/requests/index.js +2 -0
  354. package/dist/cjs/api/resources/webhooks/index.d.ts +2 -0
  355. package/dist/cjs/api/resources/webhooks/index.js +18 -0
  356. package/dist/cjs/api/resources/webhooks/types/DeleteWebhooksIdResponse.d.ts +3 -0
  357. package/dist/cjs/api/resources/webhooks/types/DeleteWebhooksIdResponse.js +3 -0
  358. package/dist/cjs/api/resources/webhooks/types/GetWebhooksIdResponse.d.ts +6 -0
  359. package/dist/cjs/api/resources/webhooks/types/GetWebhooksIdResponse.js +3 -0
  360. package/dist/cjs/api/resources/webhooks/types/GetWebhooksResponse.d.ts +15 -0
  361. package/dist/cjs/api/resources/webhooks/types/GetWebhooksResponse.js +3 -0
  362. package/dist/cjs/api/resources/webhooks/types/PostWebhooksResponse.d.ts +6 -0
  363. package/dist/cjs/api/resources/webhooks/types/PostWebhooksResponse.js +3 -0
  364. package/dist/cjs/api/resources/webhooks/types/index.d.ts +4 -0
  365. package/dist/cjs/api/resources/webhooks/types/index.js +20 -0
  366. package/dist/cjs/api/types/AuthResponse.d.ts +1 -0
  367. package/dist/cjs/api/types/AuthResponse.js +3 -0
  368. package/dist/cjs/api/types/ErrorResponse.d.ts +10 -0
  369. package/dist/cjs/api/types/ErrorResponse.js +3 -0
  370. package/dist/cjs/api/types/IntegrationCreate.d.ts +7 -0
  371. package/dist/cjs/api/types/IntegrationCreate.js +3 -0
  372. package/dist/cjs/api/types/IntegrationUpdate.d.ts +8 -0
  373. package/dist/cjs/api/types/IntegrationUpdate.js +3 -0
  374. package/dist/cjs/api/types/NotificationCreate.d.ts +14 -0
  375. package/dist/cjs/api/types/NotificationCreate.js +3 -0
  376. package/dist/cjs/api/types/NotificationList.d.ts +18 -0
  377. package/dist/cjs/api/types/NotificationList.js +12 -0
  378. package/dist/cjs/api/types/NotificationUpdate.d.ts +16 -0
  379. package/dist/cjs/api/types/NotificationUpdate.js +14 -0
  380. package/dist/cjs/api/types/PostCreate.d.ts +11 -0
  381. package/dist/cjs/api/types/PostCreate.js +3 -0
  382. package/dist/cjs/api/types/PostList.d.ts +31 -0
  383. package/dist/cjs/api/types/PostList.js +20 -0
  384. package/dist/cjs/api/types/PostResponse.d.ts +12 -0
  385. package/dist/cjs/api/types/PostResponse.js +3 -0
  386. package/dist/cjs/api/types/PostUpdate.d.ts +10 -0
  387. package/dist/cjs/api/types/PostUpdate.js +3 -0
  388. package/dist/cjs/api/types/PrivateMessageCreate.d.ts +14 -0
  389. package/dist/cjs/api/types/PrivateMessageCreate.js +3 -0
  390. package/dist/cjs/api/types/PrivateMessageList.d.ts +8 -0
  391. package/dist/cjs/api/types/PrivateMessageList.js +3 -0
  392. package/dist/cjs/api/types/ReportCreate.d.ts +16 -0
  393. package/dist/cjs/api/types/ReportCreate.js +3 -0
  394. package/dist/cjs/api/types/ReportList.d.ts +12 -0
  395. package/dist/cjs/api/types/ReportList.js +3 -0
  396. package/dist/cjs/api/types/ReportResponse.d.ts +17 -0
  397. package/dist/cjs/api/types/ReportResponse.js +3 -0
  398. package/dist/cjs/api/types/RoleCreate.d.ts +12 -0
  399. package/dist/cjs/api/types/RoleCreate.js +3 -0
  400. package/dist/cjs/api/types/RoleResponse.d.ts +13 -0
  401. package/dist/cjs/api/types/RoleResponse.js +3 -0
  402. package/dist/cjs/api/types/RoleUpdate.d.ts +12 -0
  403. package/dist/cjs/api/types/RoleUpdate.js +3 -0
  404. package/dist/cjs/api/types/SsoCreate.d.ts +13 -0
  405. package/dist/cjs/api/types/SsoCreate.js +3 -0
  406. package/dist/cjs/api/types/SsoUpdate.d.ts +17 -0
  407. package/dist/cjs/api/types/SsoUpdate.js +3 -0
  408. package/dist/cjs/api/types/TagCreate.d.ts +12 -0
  409. package/dist/cjs/api/types/TagCreate.js +3 -0
  410. package/dist/cjs/api/types/TagList.d.ts +8 -0
  411. package/dist/cjs/api/types/TagList.js +3 -0
  412. package/dist/cjs/api/types/TagResponse.d.ts +13 -0
  413. package/dist/cjs/api/types/TagResponse.js +3 -0
  414. package/dist/cjs/api/types/TagUpdate.d.ts +12 -0
  415. package/dist/cjs/api/types/TagUpdate.js +3 -0
  416. package/dist/cjs/api/types/ThreadCreate.d.ts +33 -0
  417. package/dist/cjs/api/types/ThreadCreate.js +3 -0
  418. package/dist/cjs/api/types/ThreadList.d.ts +23 -0
  419. package/dist/cjs/api/types/ThreadList.js +13 -0
  420. package/dist/cjs/api/types/ThreadResponse.d.ts +36 -0
  421. package/dist/cjs/api/types/ThreadResponse.js +3 -0
  422. package/dist/cjs/api/types/ThreadUpdate.d.ts +14 -0
  423. package/dist/cjs/api/types/ThreadUpdate.js +3 -0
  424. package/dist/cjs/api/types/UserList.d.ts +18 -0
  425. package/dist/cjs/api/types/UserList.js +12 -0
  426. package/dist/cjs/api/types/UserResponse.d.ts +18 -0
  427. package/dist/cjs/api/types/UserResponse.js +12 -0
  428. package/dist/cjs/api/types/UserUpdate.d.ts +20 -0
  429. package/dist/cjs/api/types/UserUpdate.js +3 -0
  430. package/dist/cjs/api/types/WebhookCreate.d.ts +10 -0
  431. package/dist/cjs/api/types/WebhookCreate.js +3 -0
  432. package/dist/cjs/api/types/WebhookList.d.ts +6 -0
  433. package/dist/cjs/api/types/WebhookList.js +3 -0
  434. package/dist/cjs/api/types/index.d.ts +34 -0
  435. package/dist/cjs/api/types/index.js +50 -0
  436. package/dist/cjs/auth/HeaderAuthProvider.d.ts +16 -0
  437. package/dist/cjs/auth/HeaderAuthProvider.js +71 -0
  438. package/dist/cjs/auth/index.d.ts +1 -0
  439. package/dist/cjs/auth/index.js +5 -0
  440. package/dist/cjs/core/auth/AuthProvider.d.ts +7 -0
  441. package/dist/cjs/core/auth/AuthProvider.js +2 -0
  442. package/dist/cjs/core/auth/AuthRequest.d.ts +9 -0
  443. package/dist/cjs/core/auth/AuthRequest.js +2 -0
  444. package/dist/cjs/core/auth/BasicAuth.d.ts +8 -0
  445. package/dist/cjs/core/auth/BasicAuth.js +27 -0
  446. package/dist/cjs/core/auth/BearerToken.d.ts +7 -0
  447. package/dist/cjs/core/auth/BearerToken.js +16 -0
  448. package/dist/cjs/core/auth/NoOpAuthProvider.d.ts +5 -0
  449. package/dist/cjs/core/auth/NoOpAuthProvider.js +9 -0
  450. package/dist/cjs/core/auth/index.d.ts +5 -0
  451. package/dist/cjs/core/auth/index.js +9 -0
  452. package/dist/cjs/core/base64.d.ts +2 -0
  453. package/dist/cjs/core/base64.js +26 -0
  454. package/dist/cjs/core/exports.d.ts +1 -0
  455. package/dist/cjs/core/exports.js +17 -0
  456. package/dist/cjs/core/fetcher/APIResponse.d.ts +20 -0
  457. package/dist/cjs/core/fetcher/APIResponse.js +2 -0
  458. package/dist/cjs/core/fetcher/BinaryResponse.d.ts +19 -0
  459. package/dist/cjs/core/fetcher/BinaryResponse.js +17 -0
  460. package/dist/cjs/core/fetcher/EndpointMetadata.d.ts +13 -0
  461. package/dist/cjs/core/fetcher/EndpointMetadata.js +2 -0
  462. package/dist/cjs/core/fetcher/EndpointSupplier.d.ts +12 -0
  463. package/dist/cjs/core/fetcher/EndpointSupplier.js +22 -0
  464. package/dist/cjs/core/fetcher/Fetcher.d.ts +49 -0
  465. package/dist/cjs/core/fetcher/Fetcher.js +316 -0
  466. package/dist/cjs/core/fetcher/Headers.d.ts +2 -0
  467. package/dist/cjs/core/fetcher/Headers.js +84 -0
  468. package/dist/cjs/core/fetcher/HttpResponsePromise.d.ts +58 -0
  469. package/dist/cjs/core/fetcher/HttpResponsePromise.js +103 -0
  470. package/dist/cjs/core/fetcher/RawResponse.d.ts +29 -0
  471. package/dist/cjs/core/fetcher/RawResponse.js +44 -0
  472. package/dist/cjs/core/fetcher/Supplier.d.ts +4 -0
  473. package/dist/cjs/core/fetcher/Supplier.js +22 -0
  474. package/dist/cjs/core/fetcher/createRequestUrl.d.ts +1 -0
  475. package/dist/cjs/core/fetcher/createRequestUrl.js +8 -0
  476. package/dist/cjs/core/fetcher/getErrorResponseBody.d.ts +1 -0
  477. package/dist/cjs/core/fetcher/getErrorResponseBody.js +45 -0
  478. package/dist/cjs/core/fetcher/getFetchFn.d.ts +1 -0
  479. package/dist/cjs/core/fetcher/getFetchFn.js +17 -0
  480. package/dist/cjs/core/fetcher/getHeader.d.ts +1 -0
  481. package/dist/cjs/core/fetcher/getHeader.js +11 -0
  482. package/dist/cjs/core/fetcher/getRequestBody.d.ts +7 -0
  483. package/dist/cjs/core/fetcher/getRequestBody.js +27 -0
  484. package/dist/cjs/core/fetcher/getResponseBody.d.ts +1 -0
  485. package/dist/cjs/core/fetcher/getResponseBody.js +69 -0
  486. package/dist/cjs/core/fetcher/index.d.ts +11 -0
  487. package/dist/cjs/core/fetcher/index.js +17 -0
  488. package/dist/cjs/core/fetcher/makeRequest.d.ts +1 -0
  489. package/dist/cjs/core/fetcher/makeRequest.js +40 -0
  490. package/dist/cjs/core/fetcher/requestWithRetries.d.ts +1 -0
  491. package/dist/cjs/core/fetcher/requestWithRetries.js +67 -0
  492. package/dist/cjs/core/fetcher/signals.d.ts +5 -0
  493. package/dist/cjs/core/fetcher/signals.js +24 -0
  494. package/dist/cjs/core/headers.d.ts +2 -0
  495. package/dist/cjs/core/headers.js +31 -0
  496. package/dist/cjs/core/index.d.ts +6 -0
  497. package/dist/cjs/core/index.js +45 -0
  498. package/dist/cjs/core/json.d.ts +15 -0
  499. package/dist/cjs/core/json.js +24 -0
  500. package/dist/cjs/core/logging/exports.d.ts +18 -0
  501. package/dist/cjs/core/logging/exports.js +45 -0
  502. package/dist/cjs/core/logging/index.d.ts +1 -0
  503. package/dist/cjs/core/logging/index.js +17 -0
  504. package/dist/cjs/core/logging/logger.d.ts +126 -0
  505. package/dist/cjs/core/logging/logger.js +144 -0
  506. package/dist/cjs/core/runtime/index.d.ts +1 -0
  507. package/dist/cjs/core/runtime/index.js +5 -0
  508. package/dist/cjs/core/runtime/runtime.d.ts +9 -0
  509. package/dist/cjs/core/runtime/runtime.js +103 -0
  510. package/dist/cjs/core/url/encodePathParam.d.ts +1 -0
  511. package/dist/cjs/core/url/encodePathParam.js +21 -0
  512. package/dist/cjs/core/url/index.d.ts +3 -0
  513. package/dist/cjs/core/url/index.js +9 -0
  514. package/dist/cjs/core/url/join.d.ts +1 -0
  515. package/dist/cjs/core/url/join.js +68 -0
  516. package/dist/cjs/core/url/qs.d.ts +6 -0
  517. package/dist/cjs/core/url/qs.js +64 -0
  518. package/dist/cjs/environments.d.ts +4 -0
  519. package/dist/cjs/environments.js +7 -0
  520. package/dist/cjs/errors/ForumError.d.ts +12 -0
  521. package/dist/cjs/errors/ForumError.js +32 -0
  522. package/dist/cjs/errors/ForumTimeoutError.d.ts +3 -0
  523. package/dist/cjs/errors/ForumTimeoutError.js +15 -0
  524. package/dist/cjs/errors/handleNonStatusCodeError.d.ts +2 -0
  525. package/dist/cjs/errors/handleNonStatusCodeError.js +65 -0
  526. package/dist/cjs/errors/index.d.ts +2 -0
  527. package/dist/cjs/errors/index.js +7 -0
  528. package/dist/cjs/exports.d.ts +1 -0
  529. package/dist/cjs/exports.js +17 -0
  530. package/dist/cjs/index.d.ts +6 -0
  531. package/dist/cjs/index.js +48 -0
  532. package/dist/cjs/version.d.ts +1 -0
  533. package/dist/cjs/version.js +4 -0
  534. package/dist/esm/BaseClient.d.mts +39 -0
  535. package/dist/esm/BaseClient.mjs +25 -0
  536. package/dist/esm/Client.d.mts +47 -0
  537. package/dist/esm/Client.mjs +67 -0
  538. package/dist/esm/api/errors/BadRequestError.d.mts +6 -0
  539. package/dist/esm/api/errors/BadRequestError.mjs +17 -0
  540. package/dist/esm/api/errors/InternalServerError.d.mts +6 -0
  541. package/dist/esm/api/errors/InternalServerError.mjs +17 -0
  542. package/dist/esm/api/errors/NotFoundError.d.mts +6 -0
  543. package/dist/esm/api/errors/NotFoundError.mjs +17 -0
  544. package/dist/esm/api/errors/PaymentRequiredError.d.mts +6 -0
  545. package/dist/esm/api/errors/PaymentRequiredError.mjs +17 -0
  546. package/dist/esm/api/errors/TooManyRequestsError.d.mts +6 -0
  547. package/dist/esm/api/errors/TooManyRequestsError.mjs +17 -0
  548. package/dist/esm/api/errors/UnauthorizedError.d.mts +6 -0
  549. package/dist/esm/api/errors/UnauthorizedError.mjs +17 -0
  550. package/dist/esm/api/errors/index.d.mts +6 -0
  551. package/dist/esm/api/errors/index.mjs +6 -0
  552. package/dist/esm/api/index.d.mts +3 -0
  553. package/dist/esm/api/index.mjs +3 -0
  554. package/dist/esm/api/resources/auth/client/Client.d.mts +93 -0
  555. package/dist/esm/api/resources/auth/client/Client.mjs +315 -0
  556. package/dist/esm/api/resources/auth/client/index.d.mts +1 -0
  557. package/dist/esm/api/resources/auth/client/index.mjs +1 -0
  558. package/dist/esm/api/resources/auth/client/requests/PostAuthForgotPasswordRequest.d.mts +10 -0
  559. package/dist/esm/api/resources/auth/client/requests/PostAuthForgotPasswordRequest.mjs +2 -0
  560. package/dist/esm/api/resources/auth/client/requests/PostAuthLoginRequest.d.mts +13 -0
  561. package/dist/esm/api/resources/auth/client/requests/PostAuthLoginRequest.mjs +2 -0
  562. package/dist/esm/api/resources/auth/client/requests/PostAuthRegisterRequest.d.mts +24 -0
  563. package/dist/esm/api/resources/auth/client/requests/PostAuthRegisterRequest.mjs +2 -0
  564. package/dist/esm/api/resources/auth/client/requests/PostAuthResetPasswordRequest.d.mts +16 -0
  565. package/dist/esm/api/resources/auth/client/requests/PostAuthResetPasswordRequest.mjs +2 -0
  566. package/dist/esm/api/resources/auth/client/requests/index.d.mts +4 -0
  567. package/dist/esm/api/resources/auth/client/requests/index.mjs +1 -0
  568. package/dist/esm/api/resources/auth/index.d.mts +2 -0
  569. package/dist/esm/api/resources/auth/index.mjs +2 -0
  570. package/dist/esm/api/resources/auth/types/GetAuthMeResponse.d.mts +4 -0
  571. package/dist/esm/api/resources/auth/types/GetAuthMeResponse.mjs +2 -0
  572. package/dist/esm/api/resources/auth/types/PostAuthForgotPasswordResponse.d.mts +4 -0
  573. package/dist/esm/api/resources/auth/types/PostAuthForgotPasswordResponse.mjs +2 -0
  574. package/dist/esm/api/resources/auth/types/PostAuthLoginResponse.d.mts +3 -0
  575. package/dist/esm/api/resources/auth/types/PostAuthLoginResponse.mjs +2 -0
  576. package/dist/esm/api/resources/auth/types/PostAuthRegisterResponse.d.mts +3 -0
  577. package/dist/esm/api/resources/auth/types/PostAuthRegisterResponse.mjs +2 -0
  578. package/dist/esm/api/resources/auth/types/PostAuthResetPasswordResponse.d.mts +3 -0
  579. package/dist/esm/api/resources/auth/types/PostAuthResetPasswordResponse.mjs +2 -0
  580. package/dist/esm/api/resources/auth/types/index.d.mts +5 -0
  581. package/dist/esm/api/resources/auth/types/index.mjs +5 -0
  582. package/dist/esm/api/resources/index.d.mts +36 -0
  583. package/dist/esm/api/resources/index.mjs +36 -0
  584. package/dist/esm/api/resources/integrations/client/Client.d.mts +99 -0
  585. package/dist/esm/api/resources/integrations/client/Client.mjs +354 -0
  586. package/dist/esm/api/resources/integrations/client/index.d.mts +1 -0
  587. package/dist/esm/api/resources/integrations/client/index.mjs +1 -0
  588. package/dist/esm/api/resources/integrations/client/requests/DeleteIntegrationsIdRequest.d.mts +9 -0
  589. package/dist/esm/api/resources/integrations/client/requests/DeleteIntegrationsIdRequest.mjs +2 -0
  590. package/dist/esm/api/resources/integrations/client/requests/GetIntegrationsIdRequest.d.mts +9 -0
  591. package/dist/esm/api/resources/integrations/client/requests/GetIntegrationsIdRequest.mjs +2 -0
  592. package/dist/esm/api/resources/integrations/client/requests/GetIntegrationsRequest.d.mts +9 -0
  593. package/dist/esm/api/resources/integrations/client/requests/GetIntegrationsRequest.mjs +2 -0
  594. package/dist/esm/api/resources/integrations/client/requests/PatchIntegrationsIdRequest.d.mts +15 -0
  595. package/dist/esm/api/resources/integrations/client/requests/PatchIntegrationsIdRequest.mjs +2 -0
  596. package/dist/esm/api/resources/integrations/client/requests/PostIntegrationsRequest.d.mts +16 -0
  597. package/dist/esm/api/resources/integrations/client/requests/PostIntegrationsRequest.mjs +2 -0
  598. package/dist/esm/api/resources/integrations/client/requests/index.d.mts +5 -0
  599. package/dist/esm/api/resources/integrations/client/requests/index.mjs +1 -0
  600. package/dist/esm/api/resources/integrations/index.d.mts +2 -0
  601. package/dist/esm/api/resources/integrations/index.mjs +2 -0
  602. package/dist/esm/api/resources/integrations/types/DeleteIntegrationsIdResponse.d.mts +3 -0
  603. package/dist/esm/api/resources/integrations/types/DeleteIntegrationsIdResponse.mjs +2 -0
  604. package/dist/esm/api/resources/integrations/types/GetIntegrationsIdResponse.d.mts +6 -0
  605. package/dist/esm/api/resources/integrations/types/GetIntegrationsIdResponse.mjs +2 -0
  606. package/dist/esm/api/resources/integrations/types/GetIntegrationsResponse.d.mts +15 -0
  607. package/dist/esm/api/resources/integrations/types/GetIntegrationsResponse.mjs +2 -0
  608. package/dist/esm/api/resources/integrations/types/PatchIntegrationsIdResponse.d.mts +6 -0
  609. package/dist/esm/api/resources/integrations/types/PatchIntegrationsIdResponse.mjs +2 -0
  610. package/dist/esm/api/resources/integrations/types/PostIntegrationsResponse.d.mts +6 -0
  611. package/dist/esm/api/resources/integrations/types/PostIntegrationsResponse.mjs +2 -0
  612. package/dist/esm/api/resources/integrations/types/index.d.mts +5 -0
  613. package/dist/esm/api/resources/integrations/types/index.mjs +5 -0
  614. package/dist/esm/api/resources/notifications/client/Client.d.mts +97 -0
  615. package/dist/esm/api/resources/notifications/client/Client.mjs +352 -0
  616. package/dist/esm/api/resources/notifications/client/index.d.mts +1 -0
  617. package/dist/esm/api/resources/notifications/client/index.mjs +1 -0
  618. package/dist/esm/api/resources/notifications/client/requests/DeleteNotificationsIdRequest.d.mts +9 -0
  619. package/dist/esm/api/resources/notifications/client/requests/DeleteNotificationsIdRequest.mjs +2 -0
  620. package/dist/esm/api/resources/notifications/client/requests/GetNotificationsIdRequest.d.mts +9 -0
  621. package/dist/esm/api/resources/notifications/client/requests/GetNotificationsIdRequest.mjs +2 -0
  622. package/dist/esm/api/resources/notifications/client/requests/GetNotificationsRequest.d.mts +9 -0
  623. package/dist/esm/api/resources/notifications/client/requests/GetNotificationsRequest.mjs +2 -0
  624. package/dist/esm/api/resources/notifications/client/requests/PatchNotificationsIdRequest.d.mts +23 -0
  625. package/dist/esm/api/resources/notifications/client/requests/PatchNotificationsIdRequest.mjs +11 -0
  626. package/dist/esm/api/resources/notifications/client/requests/PostNotificationsRequest.d.mts +21 -0
  627. package/dist/esm/api/resources/notifications/client/requests/PostNotificationsRequest.mjs +2 -0
  628. package/dist/esm/api/resources/notifications/client/requests/index.d.mts +5 -0
  629. package/dist/esm/api/resources/notifications/client/requests/index.mjs +1 -0
  630. package/dist/esm/api/resources/notifications/index.d.mts +2 -0
  631. package/dist/esm/api/resources/notifications/index.mjs +2 -0
  632. package/dist/esm/api/resources/notifications/types/DeleteNotificationsIdResponse.d.mts +3 -0
  633. package/dist/esm/api/resources/notifications/types/DeleteNotificationsIdResponse.mjs +2 -0
  634. package/dist/esm/api/resources/notifications/types/GetNotificationsIdResponse.d.mts +6 -0
  635. package/dist/esm/api/resources/notifications/types/GetNotificationsIdResponse.mjs +2 -0
  636. package/dist/esm/api/resources/notifications/types/GetNotificationsResponse.d.mts +15 -0
  637. package/dist/esm/api/resources/notifications/types/GetNotificationsResponse.mjs +2 -0
  638. package/dist/esm/api/resources/notifications/types/PatchNotificationsIdResponse.d.mts +6 -0
  639. package/dist/esm/api/resources/notifications/types/PatchNotificationsIdResponse.mjs +2 -0
  640. package/dist/esm/api/resources/notifications/types/PostNotificationsResponse.d.mts +6 -0
  641. package/dist/esm/api/resources/notifications/types/PostNotificationsResponse.mjs +2 -0
  642. package/dist/esm/api/resources/notifications/types/index.d.mts +5 -0
  643. package/dist/esm/api/resources/notifications/types/index.mjs +5 -0
  644. package/dist/esm/api/resources/posts/client/Client.d.mts +97 -0
  645. package/dist/esm/api/resources/posts/client/Client.mjs +352 -0
  646. package/dist/esm/api/resources/posts/client/index.d.mts +1 -0
  647. package/dist/esm/api/resources/posts/client/index.mjs +1 -0
  648. package/dist/esm/api/resources/posts/client/requests/DeletePostsIdRequest.d.mts +9 -0
  649. package/dist/esm/api/resources/posts/client/requests/DeletePostsIdRequest.mjs +2 -0
  650. package/dist/esm/api/resources/posts/client/requests/GetPostsIdRequest.d.mts +9 -0
  651. package/dist/esm/api/resources/posts/client/requests/GetPostsIdRequest.mjs +2 -0
  652. package/dist/esm/api/resources/posts/client/requests/GetPostsRequest.d.mts +9 -0
  653. package/dist/esm/api/resources/posts/client/requests/GetPostsRequest.mjs +2 -0
  654. package/dist/esm/api/resources/posts/client/requests/PatchPostsIdRequest.d.mts +17 -0
  655. package/dist/esm/api/resources/posts/client/requests/PatchPostsIdRequest.mjs +2 -0
  656. package/dist/esm/api/resources/posts/client/requests/PostPostsRequest.d.mts +18 -0
  657. package/dist/esm/api/resources/posts/client/requests/PostPostsRequest.mjs +2 -0
  658. package/dist/esm/api/resources/posts/client/requests/index.d.mts +5 -0
  659. package/dist/esm/api/resources/posts/client/requests/index.mjs +1 -0
  660. package/dist/esm/api/resources/posts/index.d.mts +2 -0
  661. package/dist/esm/api/resources/posts/index.mjs +2 -0
  662. package/dist/esm/api/resources/posts/types/DeletePostsIdResponse.d.mts +3 -0
  663. package/dist/esm/api/resources/posts/types/DeletePostsIdResponse.mjs +2 -0
  664. package/dist/esm/api/resources/posts/types/GetPostsIdResponse.d.mts +17 -0
  665. package/dist/esm/api/resources/posts/types/GetPostsIdResponse.mjs +2 -0
  666. package/dist/esm/api/resources/posts/types/GetPostsResponse.d.mts +26 -0
  667. package/dist/esm/api/resources/posts/types/GetPostsResponse.mjs +2 -0
  668. package/dist/esm/api/resources/posts/types/PatchPostsIdResponse.d.mts +17 -0
  669. package/dist/esm/api/resources/posts/types/PatchPostsIdResponse.mjs +2 -0
  670. package/dist/esm/api/resources/posts/types/PostPostsResponse.d.mts +17 -0
  671. package/dist/esm/api/resources/posts/types/PostPostsResponse.mjs +2 -0
  672. package/dist/esm/api/resources/posts/types/index.d.mts +5 -0
  673. package/dist/esm/api/resources/posts/types/index.mjs +5 -0
  674. package/dist/esm/api/resources/privateMessages/client/Client.d.mts +79 -0
  675. package/dist/esm/api/resources/privateMessages/client/Client.mjs +277 -0
  676. package/dist/esm/api/resources/privateMessages/client/index.d.mts +1 -0
  677. package/dist/esm/api/resources/privateMessages/client/index.mjs +1 -0
  678. package/dist/esm/api/resources/privateMessages/client/requests/DeletePrivateMessagesIdRequest.d.mts +9 -0
  679. package/dist/esm/api/resources/privateMessages/client/requests/DeletePrivateMessagesIdRequest.mjs +2 -0
  680. package/dist/esm/api/resources/privateMessages/client/requests/GetPrivateMessagesIdRequest.d.mts +9 -0
  681. package/dist/esm/api/resources/privateMessages/client/requests/GetPrivateMessagesIdRequest.mjs +2 -0
  682. package/dist/esm/api/resources/privateMessages/client/requests/GetPrivateMessagesRequest.d.mts +9 -0
  683. package/dist/esm/api/resources/privateMessages/client/requests/GetPrivateMessagesRequest.mjs +2 -0
  684. package/dist/esm/api/resources/privateMessages/client/requests/PostPrivateMessagesRequest.d.mts +21 -0
  685. package/dist/esm/api/resources/privateMessages/client/requests/PostPrivateMessagesRequest.mjs +2 -0
  686. package/dist/esm/api/resources/privateMessages/client/requests/index.d.mts +4 -0
  687. package/dist/esm/api/resources/privateMessages/client/requests/index.mjs +1 -0
  688. package/dist/esm/api/resources/privateMessages/index.d.mts +2 -0
  689. package/dist/esm/api/resources/privateMessages/index.mjs +2 -0
  690. package/dist/esm/api/resources/privateMessages/types/DeletePrivateMessagesIdResponse.d.mts +3 -0
  691. package/dist/esm/api/resources/privateMessages/types/DeletePrivateMessagesIdResponse.mjs +2 -0
  692. package/dist/esm/api/resources/privateMessages/types/GetPrivateMessagesIdResponse.d.mts +6 -0
  693. package/dist/esm/api/resources/privateMessages/types/GetPrivateMessagesIdResponse.mjs +2 -0
  694. package/dist/esm/api/resources/privateMessages/types/GetPrivateMessagesResponse.d.mts +15 -0
  695. package/dist/esm/api/resources/privateMessages/types/GetPrivateMessagesResponse.mjs +2 -0
  696. package/dist/esm/api/resources/privateMessages/types/PostPrivateMessagesResponse.d.mts +6 -0
  697. package/dist/esm/api/resources/privateMessages/types/PostPrivateMessagesResponse.mjs +2 -0
  698. package/dist/esm/api/resources/privateMessages/types/index.d.mts +4 -0
  699. package/dist/esm/api/resources/privateMessages/types/index.mjs +4 -0
  700. package/dist/esm/api/resources/reports/client/Client.d.mts +78 -0
  701. package/dist/esm/api/resources/reports/client/Client.mjs +273 -0
  702. package/dist/esm/api/resources/reports/client/index.d.mts +1 -0
  703. package/dist/esm/api/resources/reports/client/index.mjs +1 -0
  704. package/dist/esm/api/resources/reports/client/requests/DeleteReportsIdRequest.d.mts +9 -0
  705. package/dist/esm/api/resources/reports/client/requests/DeleteReportsIdRequest.mjs +2 -0
  706. package/dist/esm/api/resources/reports/client/requests/GetReportsIdRequest.d.mts +9 -0
  707. package/dist/esm/api/resources/reports/client/requests/GetReportsIdRequest.mjs +2 -0
  708. package/dist/esm/api/resources/reports/client/requests/GetReportsRequest.d.mts +9 -0
  709. package/dist/esm/api/resources/reports/client/requests/GetReportsRequest.mjs +2 -0
  710. package/dist/esm/api/resources/reports/client/requests/PostReportsRequest.d.mts +22 -0
  711. package/dist/esm/api/resources/reports/client/requests/PostReportsRequest.mjs +2 -0
  712. package/dist/esm/api/resources/reports/client/requests/index.d.mts +4 -0
  713. package/dist/esm/api/resources/reports/client/requests/index.mjs +1 -0
  714. package/dist/esm/api/resources/reports/index.d.mts +2 -0
  715. package/dist/esm/api/resources/reports/index.mjs +2 -0
  716. package/dist/esm/api/resources/reports/types/DeleteReportsIdResponse.d.mts +3 -0
  717. package/dist/esm/api/resources/reports/types/DeleteReportsIdResponse.mjs +2 -0
  718. package/dist/esm/api/resources/reports/types/GetReportsIdResponse.d.mts +22 -0
  719. package/dist/esm/api/resources/reports/types/GetReportsIdResponse.mjs +2 -0
  720. package/dist/esm/api/resources/reports/types/GetReportsResponse.d.mts +31 -0
  721. package/dist/esm/api/resources/reports/types/GetReportsResponse.mjs +2 -0
  722. package/dist/esm/api/resources/reports/types/PostReportsResponse.d.mts +22 -0
  723. package/dist/esm/api/resources/reports/types/PostReportsResponse.mjs +2 -0
  724. package/dist/esm/api/resources/reports/types/index.d.mts +4 -0
  725. package/dist/esm/api/resources/reports/types/index.mjs +4 -0
  726. package/dist/esm/api/resources/roles/client/Client.d.mts +96 -0
  727. package/dist/esm/api/resources/roles/client/Client.mjs +351 -0
  728. package/dist/esm/api/resources/roles/client/index.d.mts +1 -0
  729. package/dist/esm/api/resources/roles/client/index.mjs +1 -0
  730. package/dist/esm/api/resources/roles/client/requests/DeleteRolesIdRequest.d.mts +9 -0
  731. package/dist/esm/api/resources/roles/client/requests/DeleteRolesIdRequest.mjs +2 -0
  732. package/dist/esm/api/resources/roles/client/requests/GetRolesIdRequest.d.mts +9 -0
  733. package/dist/esm/api/resources/roles/client/requests/GetRolesIdRequest.mjs +2 -0
  734. package/dist/esm/api/resources/roles/client/requests/GetRolesRequest.d.mts +9 -0
  735. package/dist/esm/api/resources/roles/client/requests/GetRolesRequest.mjs +2 -0
  736. package/dist/esm/api/resources/roles/client/requests/PatchRolesIdRequest.d.mts +19 -0
  737. package/dist/esm/api/resources/roles/client/requests/PatchRolesIdRequest.mjs +2 -0
  738. package/dist/esm/api/resources/roles/client/requests/PostRolesRequest.d.mts +18 -0
  739. package/dist/esm/api/resources/roles/client/requests/PostRolesRequest.mjs +2 -0
  740. package/dist/esm/api/resources/roles/client/requests/index.d.mts +5 -0
  741. package/dist/esm/api/resources/roles/client/requests/index.mjs +1 -0
  742. package/dist/esm/api/resources/roles/index.d.mts +2 -0
  743. package/dist/esm/api/resources/roles/index.mjs +2 -0
  744. package/dist/esm/api/resources/roles/types/DeleteRolesIdResponse.d.mts +3 -0
  745. package/dist/esm/api/resources/roles/types/DeleteRolesIdResponse.mjs +2 -0
  746. package/dist/esm/api/resources/roles/types/GetRolesIdResponse.d.mts +18 -0
  747. package/dist/esm/api/resources/roles/types/GetRolesIdResponse.mjs +2 -0
  748. package/dist/esm/api/resources/roles/types/GetRolesResponse.d.mts +27 -0
  749. package/dist/esm/api/resources/roles/types/GetRolesResponse.mjs +2 -0
  750. package/dist/esm/api/resources/roles/types/PatchRolesIdResponse.d.mts +18 -0
  751. package/dist/esm/api/resources/roles/types/PatchRolesIdResponse.mjs +2 -0
  752. package/dist/esm/api/resources/roles/types/PostRolesResponse.d.mts +18 -0
  753. package/dist/esm/api/resources/roles/types/PostRolesResponse.mjs +2 -0
  754. package/dist/esm/api/resources/roles/types/index.d.mts +5 -0
  755. package/dist/esm/api/resources/roles/types/index.mjs +5 -0
  756. package/dist/esm/api/resources/ssOs/client/Client.d.mts +102 -0
  757. package/dist/esm/api/resources/ssOs/client/Client.mjs +357 -0
  758. package/dist/esm/api/resources/ssOs/client/index.d.mts +1 -0
  759. package/dist/esm/api/resources/ssOs/client/index.mjs +1 -0
  760. package/dist/esm/api/resources/ssOs/client/requests/DeleteSsoIdRequest.d.mts +9 -0
  761. package/dist/esm/api/resources/ssOs/client/requests/DeleteSsoIdRequest.mjs +2 -0
  762. package/dist/esm/api/resources/ssOs/client/requests/GetSsoIdRequest.d.mts +9 -0
  763. package/dist/esm/api/resources/ssOs/client/requests/GetSsoIdRequest.mjs +2 -0
  764. package/dist/esm/api/resources/ssOs/client/requests/GetSsoRequest.d.mts +9 -0
  765. package/dist/esm/api/resources/ssOs/client/requests/GetSsoRequest.mjs +2 -0
  766. package/dist/esm/api/resources/ssOs/client/requests/PatchSsoIdRequest.d.mts +21 -0
  767. package/dist/esm/api/resources/ssOs/client/requests/PatchSsoIdRequest.mjs +2 -0
  768. package/dist/esm/api/resources/ssOs/client/requests/PostSsoRequest.d.mts +22 -0
  769. package/dist/esm/api/resources/ssOs/client/requests/PostSsoRequest.mjs +2 -0
  770. package/dist/esm/api/resources/ssOs/client/requests/index.d.mts +5 -0
  771. package/dist/esm/api/resources/ssOs/client/requests/index.mjs +1 -0
  772. package/dist/esm/api/resources/ssOs/index.d.mts +2 -0
  773. package/dist/esm/api/resources/ssOs/index.mjs +2 -0
  774. package/dist/esm/api/resources/ssOs/types/DeleteSsoIdResponse.d.mts +3 -0
  775. package/dist/esm/api/resources/ssOs/types/DeleteSsoIdResponse.mjs +2 -0
  776. package/dist/esm/api/resources/ssOs/types/GetSsoIdResponse.d.mts +6 -0
  777. package/dist/esm/api/resources/ssOs/types/GetSsoIdResponse.mjs +2 -0
  778. package/dist/esm/api/resources/ssOs/types/GetSsoResponse.d.mts +15 -0
  779. package/dist/esm/api/resources/ssOs/types/GetSsoResponse.mjs +2 -0
  780. package/dist/esm/api/resources/ssOs/types/PatchSsoIdResponse.d.mts +6 -0
  781. package/dist/esm/api/resources/ssOs/types/PatchSsoIdResponse.mjs +2 -0
  782. package/dist/esm/api/resources/ssOs/types/PostSsoResponse.d.mts +6 -0
  783. package/dist/esm/api/resources/ssOs/types/PostSsoResponse.mjs +2 -0
  784. package/dist/esm/api/resources/ssOs/types/index.d.mts +5 -0
  785. package/dist/esm/api/resources/ssOs/types/index.mjs +5 -0
  786. package/dist/esm/api/resources/tags/client/Client.d.mts +96 -0
  787. package/dist/esm/api/resources/tags/client/Client.mjs +351 -0
  788. package/dist/esm/api/resources/tags/client/index.d.mts +1 -0
  789. package/dist/esm/api/resources/tags/client/index.mjs +1 -0
  790. package/dist/esm/api/resources/tags/client/requests/DeleteTagsIdRequest.d.mts +9 -0
  791. package/dist/esm/api/resources/tags/client/requests/DeleteTagsIdRequest.mjs +2 -0
  792. package/dist/esm/api/resources/tags/client/requests/GetTagsIdRequest.d.mts +9 -0
  793. package/dist/esm/api/resources/tags/client/requests/GetTagsIdRequest.mjs +2 -0
  794. package/dist/esm/api/resources/tags/client/requests/GetTagsRequest.d.mts +9 -0
  795. package/dist/esm/api/resources/tags/client/requests/GetTagsRequest.mjs +2 -0
  796. package/dist/esm/api/resources/tags/client/requests/PatchTagsIdRequest.d.mts +19 -0
  797. package/dist/esm/api/resources/tags/client/requests/PatchTagsIdRequest.mjs +2 -0
  798. package/dist/esm/api/resources/tags/client/requests/PostTagsRequest.d.mts +18 -0
  799. package/dist/esm/api/resources/tags/client/requests/PostTagsRequest.mjs +2 -0
  800. package/dist/esm/api/resources/tags/client/requests/index.d.mts +5 -0
  801. package/dist/esm/api/resources/tags/client/requests/index.mjs +1 -0
  802. package/dist/esm/api/resources/tags/index.d.mts +2 -0
  803. package/dist/esm/api/resources/tags/index.mjs +2 -0
  804. package/dist/esm/api/resources/tags/types/DeleteTagsIdResponse.d.mts +3 -0
  805. package/dist/esm/api/resources/tags/types/DeleteTagsIdResponse.mjs +2 -0
  806. package/dist/esm/api/resources/tags/types/GetTagsIdResponse.d.mts +18 -0
  807. package/dist/esm/api/resources/tags/types/GetTagsIdResponse.mjs +2 -0
  808. package/dist/esm/api/resources/tags/types/GetTagsResponse.d.mts +27 -0
  809. package/dist/esm/api/resources/tags/types/GetTagsResponse.mjs +2 -0
  810. package/dist/esm/api/resources/tags/types/PatchTagsIdResponse.d.mts +18 -0
  811. package/dist/esm/api/resources/tags/types/PatchTagsIdResponse.mjs +2 -0
  812. package/dist/esm/api/resources/tags/types/PostTagsResponse.d.mts +18 -0
  813. package/dist/esm/api/resources/tags/types/PostTagsResponse.mjs +2 -0
  814. package/dist/esm/api/resources/tags/types/index.d.mts +5 -0
  815. package/dist/esm/api/resources/tags/types/index.mjs +5 -0
  816. package/dist/esm/api/resources/threads/client/Client.d.mts +97 -0
  817. package/dist/esm/api/resources/threads/client/Client.mjs +352 -0
  818. package/dist/esm/api/resources/threads/client/index.d.mts +1 -0
  819. package/dist/esm/api/resources/threads/client/index.mjs +1 -0
  820. package/dist/esm/api/resources/threads/client/requests/DeleteThreadsIdRequest.d.mts +9 -0
  821. package/dist/esm/api/resources/threads/client/requests/DeleteThreadsIdRequest.mjs +2 -0
  822. package/dist/esm/api/resources/threads/client/requests/GetThreadsIdRequest.d.mts +9 -0
  823. package/dist/esm/api/resources/threads/client/requests/GetThreadsIdRequest.mjs +2 -0
  824. package/dist/esm/api/resources/threads/client/requests/GetThreadsRequest.d.mts +9 -0
  825. package/dist/esm/api/resources/threads/client/requests/GetThreadsRequest.mjs +2 -0
  826. package/dist/esm/api/resources/threads/client/requests/PatchThreadsIdRequest.d.mts +21 -0
  827. package/dist/esm/api/resources/threads/client/requests/PatchThreadsIdRequest.mjs +2 -0
  828. package/dist/esm/api/resources/threads/client/requests/PostThreadsRequest.d.mts +40 -0
  829. package/dist/esm/api/resources/threads/client/requests/PostThreadsRequest.mjs +2 -0
  830. package/dist/esm/api/resources/threads/client/requests/index.d.mts +5 -0
  831. package/dist/esm/api/resources/threads/client/requests/index.mjs +1 -0
  832. package/dist/esm/api/resources/threads/index.d.mts +2 -0
  833. package/dist/esm/api/resources/threads/index.mjs +2 -0
  834. package/dist/esm/api/resources/threads/types/DeleteThreadsIdResponse.d.mts +3 -0
  835. package/dist/esm/api/resources/threads/types/DeleteThreadsIdResponse.mjs +2 -0
  836. package/dist/esm/api/resources/threads/types/GetThreadsIdResponse.d.mts +41 -0
  837. package/dist/esm/api/resources/threads/types/GetThreadsIdResponse.mjs +2 -0
  838. package/dist/esm/api/resources/threads/types/GetThreadsResponse.d.mts +50 -0
  839. package/dist/esm/api/resources/threads/types/GetThreadsResponse.mjs +2 -0
  840. package/dist/esm/api/resources/threads/types/PatchThreadsIdResponse.d.mts +41 -0
  841. package/dist/esm/api/resources/threads/types/PatchThreadsIdResponse.mjs +2 -0
  842. package/dist/esm/api/resources/threads/types/PostThreadsResponse.d.mts +41 -0
  843. package/dist/esm/api/resources/threads/types/PostThreadsResponse.mjs +2 -0
  844. package/dist/esm/api/resources/threads/types/index.d.mts +5 -0
  845. package/dist/esm/api/resources/threads/types/index.mjs +5 -0
  846. package/dist/esm/api/resources/users/client/Client.d.mts +79 -0
  847. package/dist/esm/api/resources/users/client/Client.mjs +288 -0
  848. package/dist/esm/api/resources/users/client/index.d.mts +1 -0
  849. package/dist/esm/api/resources/users/client/index.mjs +1 -0
  850. package/dist/esm/api/resources/users/client/requests/DeleteUsersIdRequest.d.mts +9 -0
  851. package/dist/esm/api/resources/users/client/requests/DeleteUsersIdRequest.mjs +2 -0
  852. package/dist/esm/api/resources/users/client/requests/GetUsersIdRequest.d.mts +9 -0
  853. package/dist/esm/api/resources/users/client/requests/GetUsersIdRequest.mjs +2 -0
  854. package/dist/esm/api/resources/users/client/requests/GetUsersRequest.d.mts +9 -0
  855. package/dist/esm/api/resources/users/client/requests/GetUsersRequest.mjs +2 -0
  856. package/dist/esm/api/resources/users/client/requests/PatchUsersIdRequest.d.mts +27 -0
  857. package/dist/esm/api/resources/users/client/requests/PatchUsersIdRequest.mjs +2 -0
  858. package/dist/esm/api/resources/users/client/requests/index.d.mts +4 -0
  859. package/dist/esm/api/resources/users/client/requests/index.mjs +1 -0
  860. package/dist/esm/api/resources/users/index.d.mts +2 -0
  861. package/dist/esm/api/resources/users/index.mjs +2 -0
  862. package/dist/esm/api/resources/users/types/DeleteUsersIdResponse.d.mts +3 -0
  863. package/dist/esm/api/resources/users/types/DeleteUsersIdResponse.mjs +2 -0
  864. package/dist/esm/api/resources/users/types/GetUsersIdResponse.d.mts +23 -0
  865. package/dist/esm/api/resources/users/types/GetUsersIdResponse.mjs +12 -0
  866. package/dist/esm/api/resources/users/types/GetUsersResponse.d.mts +32 -0
  867. package/dist/esm/api/resources/users/types/GetUsersResponse.mjs +15 -0
  868. package/dist/esm/api/resources/users/types/PatchUsersIdResponse.d.mts +23 -0
  869. package/dist/esm/api/resources/users/types/PatchUsersIdResponse.mjs +12 -0
  870. package/dist/esm/api/resources/users/types/index.d.mts +4 -0
  871. package/dist/esm/api/resources/users/types/index.mjs +4 -0
  872. package/dist/esm/api/resources/webhooks/client/Client.d.mts +80 -0
  873. package/dist/esm/api/resources/webhooks/client/Client.mjs +275 -0
  874. package/dist/esm/api/resources/webhooks/client/index.d.mts +1 -0
  875. package/dist/esm/api/resources/webhooks/client/index.mjs +1 -0
  876. package/dist/esm/api/resources/webhooks/client/requests/DeleteWebhooksIdRequest.d.mts +9 -0
  877. package/dist/esm/api/resources/webhooks/client/requests/DeleteWebhooksIdRequest.mjs +2 -0
  878. package/dist/esm/api/resources/webhooks/client/requests/GetWebhooksIdRequest.d.mts +9 -0
  879. package/dist/esm/api/resources/webhooks/client/requests/GetWebhooksIdRequest.mjs +2 -0
  880. package/dist/esm/api/resources/webhooks/client/requests/GetWebhooksRequest.d.mts +9 -0
  881. package/dist/esm/api/resources/webhooks/client/requests/GetWebhooksRequest.mjs +2 -0
  882. package/dist/esm/api/resources/webhooks/client/requests/PostWebhooksRequest.d.mts +18 -0
  883. package/dist/esm/api/resources/webhooks/client/requests/PostWebhooksRequest.mjs +2 -0
  884. package/dist/esm/api/resources/webhooks/client/requests/index.d.mts +4 -0
  885. package/dist/esm/api/resources/webhooks/client/requests/index.mjs +1 -0
  886. package/dist/esm/api/resources/webhooks/index.d.mts +2 -0
  887. package/dist/esm/api/resources/webhooks/index.mjs +2 -0
  888. package/dist/esm/api/resources/webhooks/types/DeleteWebhooksIdResponse.d.mts +3 -0
  889. package/dist/esm/api/resources/webhooks/types/DeleteWebhooksIdResponse.mjs +2 -0
  890. package/dist/esm/api/resources/webhooks/types/GetWebhooksIdResponse.d.mts +6 -0
  891. package/dist/esm/api/resources/webhooks/types/GetWebhooksIdResponse.mjs +2 -0
  892. package/dist/esm/api/resources/webhooks/types/GetWebhooksResponse.d.mts +15 -0
  893. package/dist/esm/api/resources/webhooks/types/GetWebhooksResponse.mjs +2 -0
  894. package/dist/esm/api/resources/webhooks/types/PostWebhooksResponse.d.mts +6 -0
  895. package/dist/esm/api/resources/webhooks/types/PostWebhooksResponse.mjs +2 -0
  896. package/dist/esm/api/resources/webhooks/types/index.d.mts +4 -0
  897. package/dist/esm/api/resources/webhooks/types/index.mjs +4 -0
  898. package/dist/esm/api/types/AuthResponse.d.mts +1 -0
  899. package/dist/esm/api/types/AuthResponse.mjs +2 -0
  900. package/dist/esm/api/types/ErrorResponse.d.mts +10 -0
  901. package/dist/esm/api/types/ErrorResponse.mjs +2 -0
  902. package/dist/esm/api/types/IntegrationCreate.d.mts +7 -0
  903. package/dist/esm/api/types/IntegrationCreate.mjs +2 -0
  904. package/dist/esm/api/types/IntegrationUpdate.d.mts +8 -0
  905. package/dist/esm/api/types/IntegrationUpdate.mjs +2 -0
  906. package/dist/esm/api/types/NotificationCreate.d.mts +14 -0
  907. package/dist/esm/api/types/NotificationCreate.mjs +2 -0
  908. package/dist/esm/api/types/NotificationList.d.mts +18 -0
  909. package/dist/esm/api/types/NotificationList.mjs +9 -0
  910. package/dist/esm/api/types/NotificationUpdate.d.mts +16 -0
  911. package/dist/esm/api/types/NotificationUpdate.mjs +11 -0
  912. package/dist/esm/api/types/PostCreate.d.mts +11 -0
  913. package/dist/esm/api/types/PostCreate.mjs +2 -0
  914. package/dist/esm/api/types/PostList.d.mts +31 -0
  915. package/dist/esm/api/types/PostList.mjs +17 -0
  916. package/dist/esm/api/types/PostResponse.d.mts +12 -0
  917. package/dist/esm/api/types/PostResponse.mjs +2 -0
  918. package/dist/esm/api/types/PostUpdate.d.mts +10 -0
  919. package/dist/esm/api/types/PostUpdate.mjs +2 -0
  920. package/dist/esm/api/types/PrivateMessageCreate.d.mts +14 -0
  921. package/dist/esm/api/types/PrivateMessageCreate.mjs +2 -0
  922. package/dist/esm/api/types/PrivateMessageList.d.mts +8 -0
  923. package/dist/esm/api/types/PrivateMessageList.mjs +2 -0
  924. package/dist/esm/api/types/ReportCreate.d.mts +16 -0
  925. package/dist/esm/api/types/ReportCreate.mjs +2 -0
  926. package/dist/esm/api/types/ReportList.d.mts +12 -0
  927. package/dist/esm/api/types/ReportList.mjs +2 -0
  928. package/dist/esm/api/types/ReportResponse.d.mts +17 -0
  929. package/dist/esm/api/types/ReportResponse.mjs +2 -0
  930. package/dist/esm/api/types/RoleCreate.d.mts +12 -0
  931. package/dist/esm/api/types/RoleCreate.mjs +2 -0
  932. package/dist/esm/api/types/RoleResponse.d.mts +13 -0
  933. package/dist/esm/api/types/RoleResponse.mjs +2 -0
  934. package/dist/esm/api/types/RoleUpdate.d.mts +12 -0
  935. package/dist/esm/api/types/RoleUpdate.mjs +2 -0
  936. package/dist/esm/api/types/SsoCreate.d.mts +13 -0
  937. package/dist/esm/api/types/SsoCreate.mjs +2 -0
  938. package/dist/esm/api/types/SsoUpdate.d.mts +17 -0
  939. package/dist/esm/api/types/SsoUpdate.mjs +2 -0
  940. package/dist/esm/api/types/TagCreate.d.mts +12 -0
  941. package/dist/esm/api/types/TagCreate.mjs +2 -0
  942. package/dist/esm/api/types/TagList.d.mts +8 -0
  943. package/dist/esm/api/types/TagList.mjs +2 -0
  944. package/dist/esm/api/types/TagResponse.d.mts +13 -0
  945. package/dist/esm/api/types/TagResponse.mjs +2 -0
  946. package/dist/esm/api/types/TagUpdate.d.mts +12 -0
  947. package/dist/esm/api/types/TagUpdate.mjs +2 -0
  948. package/dist/esm/api/types/ThreadCreate.d.mts +33 -0
  949. package/dist/esm/api/types/ThreadCreate.mjs +2 -0
  950. package/dist/esm/api/types/ThreadList.d.mts +23 -0
  951. package/dist/esm/api/types/ThreadList.mjs +10 -0
  952. package/dist/esm/api/types/ThreadResponse.d.mts +36 -0
  953. package/dist/esm/api/types/ThreadResponse.mjs +2 -0
  954. package/dist/esm/api/types/ThreadUpdate.d.mts +14 -0
  955. package/dist/esm/api/types/ThreadUpdate.mjs +2 -0
  956. package/dist/esm/api/types/UserList.d.mts +18 -0
  957. package/dist/esm/api/types/UserList.mjs +9 -0
  958. package/dist/esm/api/types/UserResponse.d.mts +18 -0
  959. package/dist/esm/api/types/UserResponse.mjs +9 -0
  960. package/dist/esm/api/types/UserUpdate.d.mts +20 -0
  961. package/dist/esm/api/types/UserUpdate.mjs +2 -0
  962. package/dist/esm/api/types/WebhookCreate.d.mts +10 -0
  963. package/dist/esm/api/types/WebhookCreate.mjs +2 -0
  964. package/dist/esm/api/types/WebhookList.d.mts +6 -0
  965. package/dist/esm/api/types/WebhookList.mjs +2 -0
  966. package/dist/esm/api/types/index.d.mts +34 -0
  967. package/dist/esm/api/types/index.mjs +34 -0
  968. package/dist/esm/auth/HeaderAuthProvider.d.mts +16 -0
  969. package/dist/esm/auth/HeaderAuthProvider.mjs +34 -0
  970. package/dist/esm/auth/index.d.mts +1 -0
  971. package/dist/esm/auth/index.mjs +1 -0
  972. package/dist/esm/core/auth/AuthProvider.d.mts +7 -0
  973. package/dist/esm/core/auth/AuthProvider.mjs +1 -0
  974. package/dist/esm/core/auth/AuthRequest.d.mts +9 -0
  975. package/dist/esm/core/auth/AuthRequest.mjs +1 -0
  976. package/dist/esm/core/auth/BasicAuth.d.mts +8 -0
  977. package/dist/esm/core/auth/BasicAuth.mjs +24 -0
  978. package/dist/esm/core/auth/BearerToken.d.mts +7 -0
  979. package/dist/esm/core/auth/BearerToken.mjs +13 -0
  980. package/dist/esm/core/auth/NoOpAuthProvider.d.mts +5 -0
  981. package/dist/esm/core/auth/NoOpAuthProvider.mjs +5 -0
  982. package/dist/esm/core/auth/index.d.mts +5 -0
  983. package/dist/esm/core/auth/index.mjs +3 -0
  984. package/dist/esm/core/base64.d.mts +2 -0
  985. package/dist/esm/core/base64.mjs +22 -0
  986. package/dist/esm/core/exports.d.mts +1 -0
  987. package/dist/esm/core/exports.mjs +1 -0
  988. package/dist/esm/core/fetcher/APIResponse.d.mts +20 -0
  989. package/dist/esm/core/fetcher/APIResponse.mjs +1 -0
  990. package/dist/esm/core/fetcher/BinaryResponse.d.mts +19 -0
  991. package/dist/esm/core/fetcher/BinaryResponse.mjs +14 -0
  992. package/dist/esm/core/fetcher/EndpointMetadata.d.mts +13 -0
  993. package/dist/esm/core/fetcher/EndpointMetadata.mjs +1 -0
  994. package/dist/esm/core/fetcher/EndpointSupplier.d.mts +12 -0
  995. package/dist/esm/core/fetcher/EndpointSupplier.mjs +19 -0
  996. package/dist/esm/core/fetcher/Fetcher.d.mts +49 -0
  997. package/dist/esm/core/fetcher/Fetcher.mjs +312 -0
  998. package/dist/esm/core/fetcher/Headers.d.mts +2 -0
  999. package/dist/esm/core/fetcher/Headers.mjs +82 -0
  1000. package/dist/esm/core/fetcher/HttpResponsePromise.d.mts +58 -0
  1001. package/dist/esm/core/fetcher/HttpResponsePromise.mjs +99 -0
  1002. package/dist/esm/core/fetcher/RawResponse.d.mts +29 -0
  1003. package/dist/esm/core/fetcher/RawResponse.mjs +40 -0
  1004. package/dist/esm/core/fetcher/Supplier.d.mts +4 -0
  1005. package/dist/esm/core/fetcher/Supplier.mjs +19 -0
  1006. package/dist/esm/core/fetcher/createRequestUrl.d.mts +1 -0
  1007. package/dist/esm/core/fetcher/createRequestUrl.mjs +5 -0
  1008. package/dist/esm/core/fetcher/getErrorResponseBody.d.mts +1 -0
  1009. package/dist/esm/core/fetcher/getErrorResponseBody.mjs +42 -0
  1010. package/dist/esm/core/fetcher/getFetchFn.d.mts +1 -0
  1011. package/dist/esm/core/fetcher/getFetchFn.mjs +14 -0
  1012. package/dist/esm/core/fetcher/getHeader.d.mts +1 -0
  1013. package/dist/esm/core/fetcher/getHeader.mjs +8 -0
  1014. package/dist/esm/core/fetcher/getRequestBody.d.mts +7 -0
  1015. package/dist/esm/core/fetcher/getRequestBody.mjs +24 -0
  1016. package/dist/esm/core/fetcher/getResponseBody.d.mts +1 -0
  1017. package/dist/esm/core/fetcher/getResponseBody.mjs +66 -0
  1018. package/dist/esm/core/fetcher/index.d.mts +11 -0
  1019. package/dist/esm/core/fetcher/index.mjs +6 -0
  1020. package/dist/esm/core/fetcher/makeRequest.d.mts +1 -0
  1021. package/dist/esm/core/fetcher/makeRequest.mjs +36 -0
  1022. package/dist/esm/core/fetcher/requestWithRetries.d.mts +1 -0
  1023. package/dist/esm/core/fetcher/requestWithRetries.mjs +64 -0
  1024. package/dist/esm/core/fetcher/signals.d.mts +5 -0
  1025. package/dist/esm/core/fetcher/signals.mjs +20 -0
  1026. package/dist/esm/core/headers.d.mts +2 -0
  1027. package/dist/esm/core/headers.mjs +27 -0
  1028. package/dist/esm/core/index.d.mts +6 -0
  1029. package/dist/esm/core/index.mjs +6 -0
  1030. package/dist/esm/core/json.d.mts +15 -0
  1031. package/dist/esm/core/json.mjs +19 -0
  1032. package/dist/esm/core/logging/exports.d.mts +18 -0
  1033. package/dist/esm/core/logging/exports.mjs +9 -0
  1034. package/dist/esm/core/logging/index.d.mts +1 -0
  1035. package/dist/esm/core/logging/index.mjs +1 -0
  1036. package/dist/esm/core/logging/logger.d.mts +126 -0
  1037. package/dist/esm/core/logging/logger.mjs +138 -0
  1038. package/dist/esm/core/runtime/index.d.mts +1 -0
  1039. package/dist/esm/core/runtime/index.mjs +1 -0
  1040. package/dist/esm/core/runtime/runtime.d.mts +9 -0
  1041. package/dist/esm/core/runtime/runtime.mjs +100 -0
  1042. package/dist/esm/core/url/encodePathParam.d.mts +1 -0
  1043. package/dist/esm/core/url/encodePathParam.mjs +18 -0
  1044. package/dist/esm/core/url/index.d.mts +3 -0
  1045. package/dist/esm/core/url/index.mjs +3 -0
  1046. package/dist/esm/core/url/join.d.mts +1 -0
  1047. package/dist/esm/core/url/join.mjs +65 -0
  1048. package/dist/esm/core/url/qs.d.mts +6 -0
  1049. package/dist/esm/core/url/qs.mjs +61 -0
  1050. package/dist/esm/environments.d.mts +4 -0
  1051. package/dist/esm/environments.mjs +4 -0
  1052. package/dist/esm/errors/ForumError.d.mts +12 -0
  1053. package/dist/esm/errors/ForumError.mjs +28 -0
  1054. package/dist/esm/errors/ForumTimeoutError.d.mts +3 -0
  1055. package/dist/esm/errors/ForumTimeoutError.mjs +11 -0
  1056. package/dist/esm/errors/handleNonStatusCodeError.d.mts +2 -0
  1057. package/dist/esm/errors/handleNonStatusCodeError.mjs +29 -0
  1058. package/dist/esm/errors/index.d.mts +2 -0
  1059. package/dist/esm/errors/index.mjs +2 -0
  1060. package/dist/esm/exports.d.mts +1 -0
  1061. package/dist/esm/exports.mjs +1 -0
  1062. package/dist/esm/index.d.mts +6 -0
  1063. package/dist/esm/index.mjs +5 -0
  1064. package/dist/esm/version.d.mts +1 -0
  1065. package/dist/esm/version.mjs +1 -0
  1066. package/package.json +69 -33
  1067. package/reference.md +2854 -0
  1068. package/LICENSE +0 -21
  1069. package/dist/Client.d.ts +0 -98
  1070. package/dist/Client.js +0 -172
  1071. package/dist/errors.d.ts +0 -52
  1072. package/dist/errors.js +0 -95
  1073. package/dist/index.d.ts +0 -19
  1074. package/dist/index.js +0 -35
  1075. package/dist/resources/Auth.d.ts +0 -33
  1076. package/dist/resources/Auth.js +0 -66
  1077. package/dist/resources/Integrations.d.ts +0 -27
  1078. package/dist/resources/Integrations.js +0 -36
  1079. package/dist/resources/Notifications.d.ts +0 -33
  1080. package/dist/resources/Notifications.js +0 -50
  1081. package/dist/resources/Posts.d.ts +0 -52
  1082. package/dist/resources/Posts.js +0 -152
  1083. package/dist/resources/PrivateMessages.d.ts +0 -34
  1084. package/dist/resources/PrivateMessages.js +0 -50
  1085. package/dist/resources/Reports.d.ts +0 -47
  1086. package/dist/resources/Reports.js +0 -56
  1087. package/dist/resources/Roles.d.ts +0 -27
  1088. package/dist/resources/Roles.js +0 -44
  1089. package/dist/resources/SSO.d.ts +0 -27
  1090. package/dist/resources/SSO.js +0 -36
  1091. package/dist/resources/Search.d.ts +0 -12
  1092. package/dist/resources/Search.js +0 -20
  1093. package/dist/resources/Stats.d.ts +0 -13
  1094. package/dist/resources/Stats.js +0 -22
  1095. package/dist/resources/Tags.d.ts +0 -49
  1096. package/dist/resources/Tags.js +0 -96
  1097. package/dist/resources/Threads.d.ts +0 -65
  1098. package/dist/resources/Threads.js +0 -205
  1099. package/dist/resources/Users.d.ts +0 -74
  1100. package/dist/resources/Users.js +0 -108
  1101. package/dist/resources/Webhooks.d.ts +0 -105
  1102. package/dist/resources/Webhooks.js +0 -161
  1103. package/dist/response-types.d.ts +0 -127
  1104. package/dist/types.d.ts +0 -301
  1105. package/dist/utils.d.ts +0 -80
  1106. package/dist/utils.js +0 -138
  1107. package/examples/README.md +0 -38
  1108. package/examples/authentication.ts +0 -91
  1109. package/examples/error-handling.ts +0 -132
  1110. package/examples/managing-threads.ts +0 -133
  1111. package/examples/pagination.ts +0 -80
  1112. package/examples/webhooks.ts +0 -176
  1113. package/src/Client.ts +0 -233
  1114. package/src/errors.ts +0 -95
  1115. package/src/index.ts +0 -19
  1116. package/src/resources/Auth.ts +0 -84
  1117. package/src/resources/Integrations.ts +0 -50
  1118. package/src/resources/Notifications.ts +0 -72
  1119. package/src/resources/Posts.ts +0 -195
  1120. package/src/resources/PrivateMessages.ts +0 -78
  1121. package/src/resources/Reports.ts +0 -94
  1122. package/src/resources/Roles.ts +0 -65
  1123. package/src/resources/SSO.ts +0 -50
  1124. package/src/resources/Search.ts +0 -28
  1125. package/src/resources/Stats.ts +0 -31
  1126. package/src/resources/Tags.ts +0 -135
  1127. package/src/resources/Threads.ts +0 -269
  1128. package/src/resources/Users.ts +0 -168
  1129. package/src/resources/Webhooks.ts +0 -192
  1130. package/src/response-types.ts +0 -137
  1131. package/src/types.ts +0 -337
  1132. package/src/utils.ts +0 -182
  1133. package/tsconfig.json +0 -21
@@ -0,0 +1,93 @@
1
+ import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js";
2
+ import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js";
3
+ import * as core from "../../../../core/index.js";
4
+ import * as Forum from "../../../index.js";
5
+ export declare namespace AuthClient {
6
+ type Options = BaseClientOptions;
7
+ interface RequestOptions extends BaseRequestOptions {
8
+ }
9
+ }
10
+ export declare class AuthClient {
11
+ protected readonly _options: NormalizedClientOptionsWithAuth<AuthClient.Options>;
12
+ constructor(options?: AuthClient.Options);
13
+ /**
14
+ * @param {Forum.PostAuthRegisterRequest} request
15
+ * @param {AuthClient.RequestOptions} requestOptions - Request-specific configuration.
16
+ *
17
+ * @throws {@link Forum.BadRequestError}
18
+ * @throws {@link Forum.PaymentRequiredError}
19
+ * @throws {@link Forum.TooManyRequestsError}
20
+ * @throws {@link Forum.InternalServerError}
21
+ *
22
+ * @example
23
+ * await client.auth.register({
24
+ * username: "username",
25
+ * email: "email",
26
+ * password: "password"
27
+ * })
28
+ */
29
+ register(request: Forum.PostAuthRegisterRequest, requestOptions?: AuthClient.RequestOptions): core.HttpResponsePromise<Forum.PostAuthRegisterResponse>;
30
+ private __register;
31
+ /**
32
+ * @param {Forum.PostAuthLoginRequest} request
33
+ * @param {AuthClient.RequestOptions} requestOptions - Request-specific configuration.
34
+ *
35
+ * @throws {@link Forum.BadRequestError}
36
+ * @throws {@link Forum.PaymentRequiredError}
37
+ * @throws {@link Forum.TooManyRequestsError}
38
+ * @throws {@link Forum.InternalServerError}
39
+ *
40
+ * @example
41
+ * await client.auth.login({
42
+ * login: "login",
43
+ * password: "password"
44
+ * })
45
+ */
46
+ login(request: Forum.PostAuthLoginRequest, requestOptions?: AuthClient.RequestOptions): core.HttpResponsePromise<Forum.PostAuthLoginResponse>;
47
+ private __login;
48
+ /**
49
+ * @param {AuthClient.RequestOptions} requestOptions - Request-specific configuration.
50
+ *
51
+ * @throws {@link Forum.UnauthorizedError}
52
+ * @throws {@link Forum.PaymentRequiredError}
53
+ * @throws {@link Forum.TooManyRequestsError}
54
+ * @throws {@link Forum.InternalServerError}
55
+ *
56
+ * @example
57
+ * await client.auth.getCurrentUser()
58
+ */
59
+ getCurrentUser(requestOptions?: AuthClient.RequestOptions): core.HttpResponsePromise<Forum.GetAuthMeResponse>;
60
+ private __getCurrentUser;
61
+ /**
62
+ * @param {Forum.PostAuthForgotPasswordRequest} request
63
+ * @param {AuthClient.RequestOptions} requestOptions - Request-specific configuration.
64
+ *
65
+ * @throws {@link Forum.BadRequestError}
66
+ * @throws {@link Forum.PaymentRequiredError}
67
+ * @throws {@link Forum.TooManyRequestsError}
68
+ * @throws {@link Forum.InternalServerError}
69
+ *
70
+ * @example
71
+ * await client.auth.requestPasswordReset({
72
+ * email: "email"
73
+ * })
74
+ */
75
+ requestPasswordReset(request: Forum.PostAuthForgotPasswordRequest, requestOptions?: AuthClient.RequestOptions): core.HttpResponsePromise<Forum.PostAuthForgotPasswordResponse>;
76
+ private __requestPasswordReset;
77
+ /**
78
+ * @param {Forum.PostAuthResetPasswordRequest} request
79
+ * @param {AuthClient.RequestOptions} requestOptions - Request-specific configuration.
80
+ *
81
+ * @throws {@link Forum.BadRequestError}
82
+ * @throws {@link Forum.PaymentRequiredError}
83
+ * @throws {@link Forum.TooManyRequestsError}
84
+ * @throws {@link Forum.InternalServerError}
85
+ *
86
+ * @example
87
+ * await client.auth.resetPassword({
88
+ * password: "password"
89
+ * })
90
+ */
91
+ resetPassword(request: Forum.PostAuthResetPasswordRequest, requestOptions?: AuthClient.RequestOptions): core.HttpResponsePromise<Forum.PostAuthResetPasswordResponse>;
92
+ private __resetPassword;
93
+ }
@@ -0,0 +1,352 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
37
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
38
+ return new (P || (P = Promise))(function (resolve, reject) {
39
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
40
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
41
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
42
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
43
+ });
44
+ };
45
+ Object.defineProperty(exports, "__esModule", { value: true });
46
+ exports.AuthClient = void 0;
47
+ const BaseClient_js_1 = require("../../../../BaseClient.js");
48
+ const headers_js_1 = require("../../../../core/headers.js");
49
+ const core = __importStar(require("../../../../core/index.js"));
50
+ const environments = __importStar(require("../../../../environments.js"));
51
+ const handleNonStatusCodeError_js_1 = require("../../../../errors/handleNonStatusCodeError.js");
52
+ const errors = __importStar(require("../../../../errors/index.js"));
53
+ const Forum = __importStar(require("../../../index.js"));
54
+ class AuthClient {
55
+ constructor(options = {}) {
56
+ this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
57
+ }
58
+ /**
59
+ * @param {Forum.PostAuthRegisterRequest} request
60
+ * @param {AuthClient.RequestOptions} requestOptions - Request-specific configuration.
61
+ *
62
+ * @throws {@link Forum.BadRequestError}
63
+ * @throws {@link Forum.PaymentRequiredError}
64
+ * @throws {@link Forum.TooManyRequestsError}
65
+ * @throws {@link Forum.InternalServerError}
66
+ *
67
+ * @example
68
+ * await client.auth.register({
69
+ * username: "username",
70
+ * email: "email",
71
+ * password: "password"
72
+ * })
73
+ */
74
+ register(request, requestOptions) {
75
+ return core.HttpResponsePromise.fromPromise(this.__register(request, requestOptions));
76
+ }
77
+ __register(request, requestOptions) {
78
+ return __awaiter(this, void 0, void 0, function* () {
79
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
80
+ const _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
81
+ const _response = yield core.fetcher({
82
+ url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ForumEnvironment.Production, "auth/register"),
83
+ method: "POST",
84
+ headers: _headers,
85
+ contentType: "application/json",
86
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
87
+ requestType: "json",
88
+ body: request,
89
+ timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
90
+ maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
91
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
92
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
93
+ logging: this._options.logging,
94
+ });
95
+ if (_response.ok) {
96
+ return { data: _response.body, rawResponse: _response.rawResponse };
97
+ }
98
+ if (_response.error.reason === "status-code") {
99
+ switch (_response.error.statusCode) {
100
+ case 400:
101
+ throw new Forum.BadRequestError(_response.error.body, _response.rawResponse);
102
+ case 402:
103
+ throw new Forum.PaymentRequiredError(_response.error.body, _response.rawResponse);
104
+ case 429:
105
+ throw new Forum.TooManyRequestsError(_response.error.body, _response.rawResponse);
106
+ case 500:
107
+ throw new Forum.InternalServerError(_response.error.body, _response.rawResponse);
108
+ default:
109
+ throw new errors.ForumError({
110
+ statusCode: _response.error.statusCode,
111
+ body: _response.error.body,
112
+ rawResponse: _response.rawResponse,
113
+ });
114
+ }
115
+ }
116
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/auth/register");
117
+ });
118
+ }
119
+ /**
120
+ * @param {Forum.PostAuthLoginRequest} request
121
+ * @param {AuthClient.RequestOptions} requestOptions - Request-specific configuration.
122
+ *
123
+ * @throws {@link Forum.BadRequestError}
124
+ * @throws {@link Forum.PaymentRequiredError}
125
+ * @throws {@link Forum.TooManyRequestsError}
126
+ * @throws {@link Forum.InternalServerError}
127
+ *
128
+ * @example
129
+ * await client.auth.login({
130
+ * login: "login",
131
+ * password: "password"
132
+ * })
133
+ */
134
+ login(request, requestOptions) {
135
+ return core.HttpResponsePromise.fromPromise(this.__login(request, requestOptions));
136
+ }
137
+ __login(request, requestOptions) {
138
+ return __awaiter(this, void 0, void 0, function* () {
139
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
140
+ const _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
141
+ const _response = yield core.fetcher({
142
+ url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ForumEnvironment.Production, "auth/login"),
143
+ method: "POST",
144
+ headers: _headers,
145
+ contentType: "application/json",
146
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
147
+ requestType: "json",
148
+ body: request,
149
+ timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
150
+ maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
151
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
152
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
153
+ logging: this._options.logging,
154
+ });
155
+ if (_response.ok) {
156
+ return { data: _response.body, rawResponse: _response.rawResponse };
157
+ }
158
+ if (_response.error.reason === "status-code") {
159
+ switch (_response.error.statusCode) {
160
+ case 400:
161
+ throw new Forum.BadRequestError(_response.error.body, _response.rawResponse);
162
+ case 402:
163
+ throw new Forum.PaymentRequiredError(_response.error.body, _response.rawResponse);
164
+ case 429:
165
+ throw new Forum.TooManyRequestsError(_response.error.body, _response.rawResponse);
166
+ case 500:
167
+ throw new Forum.InternalServerError(_response.error.body, _response.rawResponse);
168
+ default:
169
+ throw new errors.ForumError({
170
+ statusCode: _response.error.statusCode,
171
+ body: _response.error.body,
172
+ rawResponse: _response.rawResponse,
173
+ });
174
+ }
175
+ }
176
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/auth/login");
177
+ });
178
+ }
179
+ /**
180
+ * @param {AuthClient.RequestOptions} requestOptions - Request-specific configuration.
181
+ *
182
+ * @throws {@link Forum.UnauthorizedError}
183
+ * @throws {@link Forum.PaymentRequiredError}
184
+ * @throws {@link Forum.TooManyRequestsError}
185
+ * @throws {@link Forum.InternalServerError}
186
+ *
187
+ * @example
188
+ * await client.auth.getCurrentUser()
189
+ */
190
+ getCurrentUser(requestOptions) {
191
+ return core.HttpResponsePromise.fromPromise(this.__getCurrentUser(requestOptions));
192
+ }
193
+ __getCurrentUser(requestOptions) {
194
+ return __awaiter(this, void 0, void 0, function* () {
195
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
196
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
197
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
198
+ const _response = yield core.fetcher({
199
+ url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ForumEnvironment.Production, "auth/me"),
200
+ method: "GET",
201
+ headers: _headers,
202
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
203
+ timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
204
+ maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
205
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
206
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
207
+ logging: this._options.logging,
208
+ });
209
+ if (_response.ok) {
210
+ return { data: _response.body, rawResponse: _response.rawResponse };
211
+ }
212
+ if (_response.error.reason === "status-code") {
213
+ switch (_response.error.statusCode) {
214
+ case 401:
215
+ throw new Forum.UnauthorizedError(_response.error.body, _response.rawResponse);
216
+ case 402:
217
+ throw new Forum.PaymentRequiredError(_response.error.body, _response.rawResponse);
218
+ case 429:
219
+ throw new Forum.TooManyRequestsError(_response.error.body, _response.rawResponse);
220
+ case 500:
221
+ throw new Forum.InternalServerError(_response.error.body, _response.rawResponse);
222
+ default:
223
+ throw new errors.ForumError({
224
+ statusCode: _response.error.statusCode,
225
+ body: _response.error.body,
226
+ rawResponse: _response.rawResponse,
227
+ });
228
+ }
229
+ }
230
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/auth/me");
231
+ });
232
+ }
233
+ /**
234
+ * @param {Forum.PostAuthForgotPasswordRequest} request
235
+ * @param {AuthClient.RequestOptions} requestOptions - Request-specific configuration.
236
+ *
237
+ * @throws {@link Forum.BadRequestError}
238
+ * @throws {@link Forum.PaymentRequiredError}
239
+ * @throws {@link Forum.TooManyRequestsError}
240
+ * @throws {@link Forum.InternalServerError}
241
+ *
242
+ * @example
243
+ * await client.auth.requestPasswordReset({
244
+ * email: "email"
245
+ * })
246
+ */
247
+ requestPasswordReset(request, requestOptions) {
248
+ return core.HttpResponsePromise.fromPromise(this.__requestPasswordReset(request, requestOptions));
249
+ }
250
+ __requestPasswordReset(request, requestOptions) {
251
+ return __awaiter(this, void 0, void 0, function* () {
252
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
253
+ const _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
254
+ const _response = yield core.fetcher({
255
+ url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ForumEnvironment.Production, "auth/forgot-password"),
256
+ method: "POST",
257
+ headers: _headers,
258
+ contentType: "application/json",
259
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
260
+ requestType: "json",
261
+ body: request,
262
+ timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
263
+ maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
264
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
265
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
266
+ logging: this._options.logging,
267
+ });
268
+ if (_response.ok) {
269
+ return { data: _response.body, rawResponse: _response.rawResponse };
270
+ }
271
+ if (_response.error.reason === "status-code") {
272
+ switch (_response.error.statusCode) {
273
+ case 400:
274
+ throw new Forum.BadRequestError(_response.error.body, _response.rawResponse);
275
+ case 402:
276
+ throw new Forum.PaymentRequiredError(_response.error.body, _response.rawResponse);
277
+ case 429:
278
+ throw new Forum.TooManyRequestsError(_response.error.body, _response.rawResponse);
279
+ case 500:
280
+ throw new Forum.InternalServerError(_response.error.body, _response.rawResponse);
281
+ default:
282
+ throw new errors.ForumError({
283
+ statusCode: _response.error.statusCode,
284
+ body: _response.error.body,
285
+ rawResponse: _response.rawResponse,
286
+ });
287
+ }
288
+ }
289
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/auth/forgot-password");
290
+ });
291
+ }
292
+ /**
293
+ * @param {Forum.PostAuthResetPasswordRequest} request
294
+ * @param {AuthClient.RequestOptions} requestOptions - Request-specific configuration.
295
+ *
296
+ * @throws {@link Forum.BadRequestError}
297
+ * @throws {@link Forum.PaymentRequiredError}
298
+ * @throws {@link Forum.TooManyRequestsError}
299
+ * @throws {@link Forum.InternalServerError}
300
+ *
301
+ * @example
302
+ * await client.auth.resetPassword({
303
+ * password: "password"
304
+ * })
305
+ */
306
+ resetPassword(request, requestOptions) {
307
+ return core.HttpResponsePromise.fromPromise(this.__resetPassword(request, requestOptions));
308
+ }
309
+ __resetPassword(request, requestOptions) {
310
+ return __awaiter(this, void 0, void 0, function* () {
311
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
312
+ const _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
313
+ const _response = yield core.fetcher({
314
+ url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ForumEnvironment.Production, "auth/reset-password"),
315
+ method: "POST",
316
+ headers: _headers,
317
+ contentType: "application/json",
318
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
319
+ requestType: "json",
320
+ body: request,
321
+ timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
322
+ maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
323
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
324
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
325
+ logging: this._options.logging,
326
+ });
327
+ if (_response.ok) {
328
+ return { data: _response.body, rawResponse: _response.rawResponse };
329
+ }
330
+ if (_response.error.reason === "status-code") {
331
+ switch (_response.error.statusCode) {
332
+ case 400:
333
+ throw new Forum.BadRequestError(_response.error.body, _response.rawResponse);
334
+ case 402:
335
+ throw new Forum.PaymentRequiredError(_response.error.body, _response.rawResponse);
336
+ case 429:
337
+ throw new Forum.TooManyRequestsError(_response.error.body, _response.rawResponse);
338
+ case 500:
339
+ throw new Forum.InternalServerError(_response.error.body, _response.rawResponse);
340
+ default:
341
+ throw new errors.ForumError({
342
+ statusCode: _response.error.statusCode,
343
+ body: _response.error.body,
344
+ rawResponse: _response.rawResponse,
345
+ });
346
+ }
347
+ }
348
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/auth/reset-password");
349
+ });
350
+ }
351
+ }
352
+ exports.AuthClient = AuthClient;
@@ -0,0 +1 @@
1
+ export * from "./requests/index.js";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./requests/index.js"), exports);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * email: "email"
5
+ * }
6
+ */
7
+ export interface PostAuthForgotPasswordRequest {
8
+ /** User Email */
9
+ email: string;
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * login: "login",
5
+ * password: "password"
6
+ * }
7
+ */
8
+ export interface PostAuthLoginRequest {
9
+ /** Username or Email */
10
+ login: string;
11
+ /** Password */
12
+ password: string;
13
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * username: "username",
5
+ * email: "email",
6
+ * password: "password"
7
+ * }
8
+ */
9
+ export interface PostAuthRegisterRequest {
10
+ /** Username */
11
+ username: string;
12
+ /** Email */
13
+ email: string;
14
+ /** Display Name */
15
+ displayName?: string;
16
+ /** Password (min 8 chars) */
17
+ password: string;
18
+ /** Roles */
19
+ roles?: string[];
20
+ /** Bio */
21
+ bio?: string;
22
+ /** Extended data */
23
+ extendedData?: Record<string, unknown>;
24
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * password: "password"
5
+ * }
6
+ */
7
+ export interface PostAuthResetPasswordRequest {
8
+ /** New Password (min 8 chars) */
9
+ password: string;
10
+ /** Old Password (for change password) */
11
+ oldPassword?: string;
12
+ /** Email (required if using oldPassword) */
13
+ email?: string;
14
+ /** Reset Token */
15
+ token?: string;
16
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ export type { PostAuthForgotPasswordRequest } from "./PostAuthForgotPasswordRequest.js";
2
+ export type { PostAuthLoginRequest } from "./PostAuthLoginRequest.js";
3
+ export type { PostAuthRegisterRequest } from "./PostAuthRegisterRequest.js";
4
+ export type { PostAuthResetPasswordRequest } from "./PostAuthResetPasswordRequest.js";
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export * from "./client/index.js";
2
+ export * from "./types/index.js";
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./client/index.js"), exports);
18
+ __exportStar(require("./types/index.js"), exports);
@@ -0,0 +1,4 @@
1
+ export interface GetAuthMeResponse {
2
+ id: string;
3
+ username: string;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ export interface PostAuthForgotPasswordResponse {
2
+ message: string;
3
+ resetToken?: string;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ export interface PostAuthLoginResponse {
2
+ token: string;
3
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ export interface PostAuthRegisterResponse {
2
+ token: string;
3
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ export interface PostAuthResetPasswordResponse {
2
+ message: string;
3
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ export * from "./GetAuthMeResponse.js";
2
+ export * from "./PostAuthForgotPasswordResponse.js";
3
+ export * from "./PostAuthLoginResponse.js";
4
+ export * from "./PostAuthRegisterResponse.js";
5
+ export * from "./PostAuthResetPasswordResponse.js";