@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,97 @@
1
+ import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.mjs";
2
+ import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.mjs";
3
+ import * as core from "../../../../core/index.mjs";
4
+ import * as Forum from "../../../index.mjs";
5
+ export declare namespace NotificationsClient {
6
+ type Options = BaseClientOptions;
7
+ interface RequestOptions extends BaseRequestOptions {
8
+ }
9
+ }
10
+ export declare class NotificationsClient {
11
+ protected readonly _options: NormalizedClientOptionsWithAuth<NotificationsClient.Options>;
12
+ constructor(options?: NotificationsClient.Options);
13
+ /**
14
+ * @param {Forum.GetNotificationsRequest} request
15
+ * @param {NotificationsClient.RequestOptions} requestOptions - Request-specific configuration.
16
+ *
17
+ * @throws {@link Forum.UnauthorizedError}
18
+ * @throws {@link Forum.PaymentRequiredError}
19
+ * @throws {@link Forum.TooManyRequestsError}
20
+ * @throws {@link Forum.InternalServerError}
21
+ *
22
+ * @example
23
+ * await client.notifications.listAllNotifications()
24
+ */
25
+ listAllNotifications(request?: Forum.GetNotificationsRequest, requestOptions?: NotificationsClient.RequestOptions): core.HttpResponsePromise<Forum.GetNotificationsResponse>;
26
+ private __listAllNotifications;
27
+ /**
28
+ * @param {Forum.PostNotificationsRequest} request
29
+ * @param {NotificationsClient.RequestOptions} requestOptions - Request-specific configuration.
30
+ *
31
+ * @throws {@link Forum.BadRequestError}
32
+ * @throws {@link Forum.UnauthorizedError}
33
+ * @throws {@link Forum.PaymentRequiredError}
34
+ * @throws {@link Forum.TooManyRequestsError}
35
+ * @throws {@link Forum.InternalServerError}
36
+ *
37
+ * @example
38
+ * await client.notifications.createANotification({
39
+ * userId: "userId",
40
+ * type: "type"
41
+ * })
42
+ */
43
+ createANotification(request: Forum.PostNotificationsRequest, requestOptions?: NotificationsClient.RequestOptions): core.HttpResponsePromise<Forum.PostNotificationsResponse>;
44
+ private __createANotification;
45
+ /**
46
+ * @param {Forum.GetNotificationsIdRequest} request
47
+ * @param {NotificationsClient.RequestOptions} requestOptions - Request-specific configuration.
48
+ *
49
+ * @throws {@link Forum.UnauthorizedError}
50
+ * @throws {@link Forum.PaymentRequiredError}
51
+ * @throws {@link Forum.NotFoundError}
52
+ * @throws {@link Forum.TooManyRequestsError}
53
+ * @throws {@link Forum.InternalServerError}
54
+ *
55
+ * @example
56
+ * await client.notifications.getANotification({
57
+ * id: "id"
58
+ * })
59
+ */
60
+ getANotification(request: Forum.GetNotificationsIdRequest, requestOptions?: NotificationsClient.RequestOptions): core.HttpResponsePromise<Forum.GetNotificationsIdResponse>;
61
+ private __getANotification;
62
+ /**
63
+ * @param {Forum.DeleteNotificationsIdRequest} request
64
+ * @param {NotificationsClient.RequestOptions} requestOptions - Request-specific configuration.
65
+ *
66
+ * @throws {@link Forum.UnauthorizedError}
67
+ * @throws {@link Forum.PaymentRequiredError}
68
+ * @throws {@link Forum.NotFoundError}
69
+ * @throws {@link Forum.TooManyRequestsError}
70
+ * @throws {@link Forum.InternalServerError}
71
+ *
72
+ * @example
73
+ * await client.notifications.deleteANotification({
74
+ * id: "id"
75
+ * })
76
+ */
77
+ deleteANotification(request: Forum.DeleteNotificationsIdRequest, requestOptions?: NotificationsClient.RequestOptions): core.HttpResponsePromise<Forum.DeleteNotificationsIdResponse>;
78
+ private __deleteANotification;
79
+ /**
80
+ * @param {Forum.PatchNotificationsIdRequest} request
81
+ * @param {NotificationsClient.RequestOptions} requestOptions - Request-specific configuration.
82
+ *
83
+ * @throws {@link Forum.BadRequestError}
84
+ * @throws {@link Forum.UnauthorizedError}
85
+ * @throws {@link Forum.PaymentRequiredError}
86
+ * @throws {@link Forum.NotFoundError}
87
+ * @throws {@link Forum.TooManyRequestsError}
88
+ * @throws {@link Forum.InternalServerError}
89
+ *
90
+ * @example
91
+ * await client.notifications.updateANotification({
92
+ * id: "id"
93
+ * })
94
+ */
95
+ updateANotification(request: Forum.PatchNotificationsIdRequest, requestOptions?: NotificationsClient.RequestOptions): core.HttpResponsePromise<Forum.PatchNotificationsIdResponse>;
96
+ private __updateANotification;
97
+ }
@@ -0,0 +1,352 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ var __rest = (this && this.__rest) || function (s, e) {
12
+ var t = {};
13
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
14
+ t[p] = s[p];
15
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
16
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
17
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
18
+ t[p[i]] = s[p[i]];
19
+ }
20
+ return t;
21
+ };
22
+ import { normalizeClientOptionsWithAuth } from "../../../../BaseClient.mjs";
23
+ import { mergeHeaders } from "../../../../core/headers.mjs";
24
+ import * as core from "../../../../core/index.mjs";
25
+ import * as environments from "../../../../environments.mjs";
26
+ import { handleNonStatusCodeError } from "../../../../errors/handleNonStatusCodeError.mjs";
27
+ import * as errors from "../../../../errors/index.mjs";
28
+ import * as Forum from "../../../index.mjs";
29
+ export class NotificationsClient {
30
+ constructor(options = {}) {
31
+ this._options = normalizeClientOptionsWithAuth(options);
32
+ }
33
+ /**
34
+ * @param {Forum.GetNotificationsRequest} request
35
+ * @param {NotificationsClient.RequestOptions} requestOptions - Request-specific configuration.
36
+ *
37
+ * @throws {@link Forum.UnauthorizedError}
38
+ * @throws {@link Forum.PaymentRequiredError}
39
+ * @throws {@link Forum.TooManyRequestsError}
40
+ * @throws {@link Forum.InternalServerError}
41
+ *
42
+ * @example
43
+ * await client.notifications.listAllNotifications()
44
+ */
45
+ listAllNotifications(request = {}, requestOptions) {
46
+ return core.HttpResponsePromise.fromPromise(this.__listAllNotifications(request, requestOptions));
47
+ }
48
+ __listAllNotifications() {
49
+ return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
50
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
51
+ const { page, limit, search } = request;
52
+ const _queryParams = {};
53
+ if (page != null) {
54
+ _queryParams.page = page.toString();
55
+ }
56
+ if (limit != null) {
57
+ _queryParams.limit = limit.toString();
58
+ }
59
+ if (search != null) {
60
+ _queryParams.search = search;
61
+ }
62
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
63
+ const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
64
+ const _response = yield core.fetcher({
65
+ 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, "notifications"),
66
+ method: "GET",
67
+ headers: _headers,
68
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
69
+ 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,
70
+ 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,
71
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
72
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
73
+ logging: this._options.logging,
74
+ });
75
+ if (_response.ok) {
76
+ return { data: _response.body, rawResponse: _response.rawResponse };
77
+ }
78
+ if (_response.error.reason === "status-code") {
79
+ switch (_response.error.statusCode) {
80
+ case 401:
81
+ throw new Forum.UnauthorizedError(_response.error.body, _response.rawResponse);
82
+ case 402:
83
+ throw new Forum.PaymentRequiredError(_response.error.body, _response.rawResponse);
84
+ case 429:
85
+ throw new Forum.TooManyRequestsError(_response.error.body, _response.rawResponse);
86
+ case 500:
87
+ throw new Forum.InternalServerError(_response.error.body, _response.rawResponse);
88
+ default:
89
+ throw new errors.ForumError({
90
+ statusCode: _response.error.statusCode,
91
+ body: _response.error.body,
92
+ rawResponse: _response.rawResponse,
93
+ });
94
+ }
95
+ }
96
+ return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/notifications");
97
+ });
98
+ }
99
+ /**
100
+ * @param {Forum.PostNotificationsRequest} request
101
+ * @param {NotificationsClient.RequestOptions} requestOptions - Request-specific configuration.
102
+ *
103
+ * @throws {@link Forum.BadRequestError}
104
+ * @throws {@link Forum.UnauthorizedError}
105
+ * @throws {@link Forum.PaymentRequiredError}
106
+ * @throws {@link Forum.TooManyRequestsError}
107
+ * @throws {@link Forum.InternalServerError}
108
+ *
109
+ * @example
110
+ * await client.notifications.createANotification({
111
+ * userId: "userId",
112
+ * type: "type"
113
+ * })
114
+ */
115
+ createANotification(request, requestOptions) {
116
+ return core.HttpResponsePromise.fromPromise(this.__createANotification(request, requestOptions));
117
+ }
118
+ __createANotification(request, requestOptions) {
119
+ return __awaiter(this, void 0, void 0, function* () {
120
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
121
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
122
+ const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
123
+ const _response = yield core.fetcher({
124
+ 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, "notifications"),
125
+ method: "POST",
126
+ headers: _headers,
127
+ contentType: "application/json",
128
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
129
+ requestType: "json",
130
+ body: request,
131
+ 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,
132
+ 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,
133
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
134
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
135
+ logging: this._options.logging,
136
+ });
137
+ if (_response.ok) {
138
+ return { data: _response.body, rawResponse: _response.rawResponse };
139
+ }
140
+ if (_response.error.reason === "status-code") {
141
+ switch (_response.error.statusCode) {
142
+ case 400:
143
+ throw new Forum.BadRequestError(_response.error.body, _response.rawResponse);
144
+ case 401:
145
+ throw new Forum.UnauthorizedError(_response.error.body, _response.rawResponse);
146
+ case 402:
147
+ throw new Forum.PaymentRequiredError(_response.error.body, _response.rawResponse);
148
+ case 429:
149
+ throw new Forum.TooManyRequestsError(_response.error.body, _response.rawResponse);
150
+ case 500:
151
+ throw new Forum.InternalServerError(_response.error.body, _response.rawResponse);
152
+ default:
153
+ throw new errors.ForumError({
154
+ statusCode: _response.error.statusCode,
155
+ body: _response.error.body,
156
+ rawResponse: _response.rawResponse,
157
+ });
158
+ }
159
+ }
160
+ return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/notifications");
161
+ });
162
+ }
163
+ /**
164
+ * @param {Forum.GetNotificationsIdRequest} request
165
+ * @param {NotificationsClient.RequestOptions} requestOptions - Request-specific configuration.
166
+ *
167
+ * @throws {@link Forum.UnauthorizedError}
168
+ * @throws {@link Forum.PaymentRequiredError}
169
+ * @throws {@link Forum.NotFoundError}
170
+ * @throws {@link Forum.TooManyRequestsError}
171
+ * @throws {@link Forum.InternalServerError}
172
+ *
173
+ * @example
174
+ * await client.notifications.getANotification({
175
+ * id: "id"
176
+ * })
177
+ */
178
+ getANotification(request, requestOptions) {
179
+ return core.HttpResponsePromise.fromPromise(this.__getANotification(request, requestOptions));
180
+ }
181
+ __getANotification(request, requestOptions) {
182
+ return __awaiter(this, void 0, void 0, function* () {
183
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
184
+ const { id } = request;
185
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
186
+ const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
187
+ const _response = yield core.fetcher({
188
+ 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, `notifications/${core.url.encodePathParam(id)}`),
189
+ method: "GET",
190
+ headers: _headers,
191
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
192
+ 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,
193
+ 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,
194
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
195
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
196
+ logging: this._options.logging,
197
+ });
198
+ if (_response.ok) {
199
+ return { data: _response.body, rawResponse: _response.rawResponse };
200
+ }
201
+ if (_response.error.reason === "status-code") {
202
+ switch (_response.error.statusCode) {
203
+ case 401:
204
+ throw new Forum.UnauthorizedError(_response.error.body, _response.rawResponse);
205
+ case 402:
206
+ throw new Forum.PaymentRequiredError(_response.error.body, _response.rawResponse);
207
+ case 404:
208
+ throw new Forum.NotFoundError(_response.error.body, _response.rawResponse);
209
+ case 429:
210
+ throw new Forum.TooManyRequestsError(_response.error.body, _response.rawResponse);
211
+ case 500:
212
+ throw new Forum.InternalServerError(_response.error.body, _response.rawResponse);
213
+ default:
214
+ throw new errors.ForumError({
215
+ statusCode: _response.error.statusCode,
216
+ body: _response.error.body,
217
+ rawResponse: _response.rawResponse,
218
+ });
219
+ }
220
+ }
221
+ return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/notifications/{id}");
222
+ });
223
+ }
224
+ /**
225
+ * @param {Forum.DeleteNotificationsIdRequest} request
226
+ * @param {NotificationsClient.RequestOptions} requestOptions - Request-specific configuration.
227
+ *
228
+ * @throws {@link Forum.UnauthorizedError}
229
+ * @throws {@link Forum.PaymentRequiredError}
230
+ * @throws {@link Forum.NotFoundError}
231
+ * @throws {@link Forum.TooManyRequestsError}
232
+ * @throws {@link Forum.InternalServerError}
233
+ *
234
+ * @example
235
+ * await client.notifications.deleteANotification({
236
+ * id: "id"
237
+ * })
238
+ */
239
+ deleteANotification(request, requestOptions) {
240
+ return core.HttpResponsePromise.fromPromise(this.__deleteANotification(request, requestOptions));
241
+ }
242
+ __deleteANotification(request, requestOptions) {
243
+ return __awaiter(this, void 0, void 0, function* () {
244
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
245
+ const { id } = request;
246
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
247
+ const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
248
+ const _response = yield core.fetcher({
249
+ 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, `notifications/${core.url.encodePathParam(id)}`),
250
+ method: "DELETE",
251
+ headers: _headers,
252
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
253
+ 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,
254
+ 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,
255
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
256
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
257
+ logging: this._options.logging,
258
+ });
259
+ if (_response.ok) {
260
+ return { data: _response.body, rawResponse: _response.rawResponse };
261
+ }
262
+ if (_response.error.reason === "status-code") {
263
+ switch (_response.error.statusCode) {
264
+ case 401:
265
+ throw new Forum.UnauthorizedError(_response.error.body, _response.rawResponse);
266
+ case 402:
267
+ throw new Forum.PaymentRequiredError(_response.error.body, _response.rawResponse);
268
+ case 404:
269
+ throw new Forum.NotFoundError(_response.error.body, _response.rawResponse);
270
+ case 429:
271
+ throw new Forum.TooManyRequestsError(_response.error.body, _response.rawResponse);
272
+ case 500:
273
+ throw new Forum.InternalServerError(_response.error.body, _response.rawResponse);
274
+ default:
275
+ throw new errors.ForumError({
276
+ statusCode: _response.error.statusCode,
277
+ body: _response.error.body,
278
+ rawResponse: _response.rawResponse,
279
+ });
280
+ }
281
+ }
282
+ return handleNonStatusCodeError(_response.error, _response.rawResponse, "DELETE", "/notifications/{id}");
283
+ });
284
+ }
285
+ /**
286
+ * @param {Forum.PatchNotificationsIdRequest} request
287
+ * @param {NotificationsClient.RequestOptions} requestOptions - Request-specific configuration.
288
+ *
289
+ * @throws {@link Forum.BadRequestError}
290
+ * @throws {@link Forum.UnauthorizedError}
291
+ * @throws {@link Forum.PaymentRequiredError}
292
+ * @throws {@link Forum.NotFoundError}
293
+ * @throws {@link Forum.TooManyRequestsError}
294
+ * @throws {@link Forum.InternalServerError}
295
+ *
296
+ * @example
297
+ * await client.notifications.updateANotification({
298
+ * id: "id"
299
+ * })
300
+ */
301
+ updateANotification(request, requestOptions) {
302
+ return core.HttpResponsePromise.fromPromise(this.__updateANotification(request, requestOptions));
303
+ }
304
+ __updateANotification(request, requestOptions) {
305
+ return __awaiter(this, void 0, void 0, function* () {
306
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
307
+ const { id } = request, _body = __rest(request, ["id"]);
308
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
309
+ const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
310
+ const _response = yield core.fetcher({
311
+ 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, `notifications/${core.url.encodePathParam(id)}`),
312
+ method: "PATCH",
313
+ headers: _headers,
314
+ contentType: "application/json",
315
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
316
+ requestType: "json",
317
+ body: _body,
318
+ 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,
319
+ 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,
320
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
321
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
322
+ logging: this._options.logging,
323
+ });
324
+ if (_response.ok) {
325
+ return { data: _response.body, rawResponse: _response.rawResponse };
326
+ }
327
+ if (_response.error.reason === "status-code") {
328
+ switch (_response.error.statusCode) {
329
+ case 400:
330
+ throw new Forum.BadRequestError(_response.error.body, _response.rawResponse);
331
+ case 401:
332
+ throw new Forum.UnauthorizedError(_response.error.body, _response.rawResponse);
333
+ case 402:
334
+ throw new Forum.PaymentRequiredError(_response.error.body, _response.rawResponse);
335
+ case 404:
336
+ throw new Forum.NotFoundError(_response.error.body, _response.rawResponse);
337
+ case 429:
338
+ throw new Forum.TooManyRequestsError(_response.error.body, _response.rawResponse);
339
+ case 500:
340
+ throw new Forum.InternalServerError(_response.error.body, _response.rawResponse);
341
+ default:
342
+ throw new errors.ForumError({
343
+ statusCode: _response.error.statusCode,
344
+ body: _response.error.body,
345
+ rawResponse: _response.rawResponse,
346
+ });
347
+ }
348
+ }
349
+ return handleNonStatusCodeError(_response.error, _response.rawResponse, "PATCH", "/notifications/{id}");
350
+ });
351
+ }
352
+ }
@@ -0,0 +1 @@
1
+ export * from "./requests/index.mjs";
@@ -0,0 +1 @@
1
+ export * from "./requests/index.mjs";
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * id: "id"
5
+ * }
6
+ */
7
+ export interface DeleteNotificationsIdRequest {
8
+ id: string;
9
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * id: "id"
5
+ * }
6
+ */
7
+ export interface GetNotificationsIdRequest {
8
+ id: string;
9
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @example
3
+ * {}
4
+ */
5
+ export interface GetNotificationsRequest {
6
+ page?: number;
7
+ limit?: number;
8
+ search?: string;
9
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,23 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * id: "id"
5
+ * }
6
+ */
7
+ export interface PatchNotificationsIdRequest {
8
+ id: string;
9
+ /** Notification status */
10
+ status?: PatchNotificationsIdRequest.Status;
11
+ /** Update extended data */
12
+ extendedData?: Record<string, unknown>;
13
+ }
14
+ export declare namespace PatchNotificationsIdRequest {
15
+ /** Notification status */
16
+ const Status: {
17
+ readonly Read: "read";
18
+ readonly Unread: "unread";
19
+ readonly Dismissed: "dismissed";
20
+ readonly Archived: "archived";
21
+ };
22
+ type Status = (typeof Status)[keyof typeof Status];
23
+ }
@@ -0,0 +1,11 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export var PatchNotificationsIdRequest;
3
+ (function (PatchNotificationsIdRequest) {
4
+ /** Notification status */
5
+ PatchNotificationsIdRequest.Status = {
6
+ Read: "read",
7
+ Unread: "unread",
8
+ Dismissed: "dismissed",
9
+ Archived: "archived",
10
+ };
11
+ })(PatchNotificationsIdRequest || (PatchNotificationsIdRequest = {}));
@@ -0,0 +1,21 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * userId: "userId",
5
+ * type: "type"
6
+ * }
7
+ */
8
+ export interface PostNotificationsRequest {
9
+ /** Target user ID to receive notification */
10
+ userId: string;
11
+ /** Notification type (e.g. mention, reply, follow) */
12
+ type: string;
13
+ /** Notification title */
14
+ title?: string;
15
+ /** Notification content */
16
+ body?: string;
17
+ /** Link URL for the notification */
18
+ link?: string;
19
+ /** Additional notification data */
20
+ extendedData?: Record<string, unknown>;
21
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,5 @@
1
+ export type { DeleteNotificationsIdRequest } from "./DeleteNotificationsIdRequest.mjs";
2
+ export type { GetNotificationsIdRequest } from "./GetNotificationsIdRequest.mjs";
3
+ export type { GetNotificationsRequest } from "./GetNotificationsRequest.mjs";
4
+ export type { PatchNotificationsIdRequest } from "./PatchNotificationsIdRequest.mjs";
5
+ export type { PostNotificationsRequest } from "./PostNotificationsRequest.mjs";
@@ -0,0 +1,2 @@
1
+ export * from "./client/index.mjs";
2
+ export * from "./types/index.mjs";
@@ -0,0 +1,2 @@
1
+ export * from "./client/index.mjs";
2
+ export * from "./types/index.mjs";
@@ -0,0 +1,3 @@
1
+ export interface DeleteNotificationsIdResponse {
2
+ success: boolean;
3
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,6 @@
1
+ export interface GetNotificationsIdResponse {
2
+ data: GetNotificationsIdResponse.Data;
3
+ }
4
+ export declare namespace GetNotificationsIdResponse {
5
+ type Data = {};
6
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,15 @@
1
+ export interface GetNotificationsResponse {
2
+ data: GetNotificationsResponse.Data.Item[];
3
+ meta: GetNotificationsResponse.Meta;
4
+ }
5
+ export declare namespace GetNotificationsResponse {
6
+ type Data = Data.Item[];
7
+ namespace Data {
8
+ type Item = {};
9
+ }
10
+ interface Meta {
11
+ total: number;
12
+ page: number;
13
+ limit: number;
14
+ }
15
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,6 @@
1
+ export interface PatchNotificationsIdResponse {
2
+ data: PatchNotificationsIdResponse.Data;
3
+ }
4
+ export declare namespace PatchNotificationsIdResponse {
5
+ type Data = {};
6
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,6 @@
1
+ export interface PostNotificationsResponse {
2
+ data: PostNotificationsResponse.Data;
3
+ }
4
+ export declare namespace PostNotificationsResponse {
5
+ type Data = {};
6
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};