@foru-ms/sdk 1.3.3 → 2.0.3

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 (1457) hide show
  1. package/README.md +268 -623
  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 +30 -0
  73. package/dist/cjs/api/resources/integrations/types/GetIntegrationsIdResponse.js +19 -0
  74. package/dist/cjs/api/resources/integrations/types/GetIntegrationsResponse.d.ts +39 -0
  75. package/dist/cjs/api/resources/integrations/types/GetIntegrationsResponse.js +22 -0
  76. package/dist/cjs/api/resources/integrations/types/PatchIntegrationsIdResponse.d.ts +30 -0
  77. package/dist/cjs/api/resources/integrations/types/PatchIntegrationsIdResponse.js +19 -0
  78. package/dist/cjs/api/resources/integrations/types/PostIntegrationsResponse.d.ts +30 -0
  79. package/dist/cjs/api/resources/integrations/types/PostIntegrationsResponse.js +19 -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 +37 -0
  95. package/dist/cjs/api/resources/notifications/client/requests/PostNotificationsRequest.js +14 -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 +30 -0
  103. package/dist/cjs/api/resources/notifications/types/GetNotificationsIdResponse.js +3 -0
  104. package/dist/cjs/api/resources/notifications/types/GetNotificationsResponse.d.ts +39 -0
  105. package/dist/cjs/api/resources/notifications/types/GetNotificationsResponse.js +3 -0
  106. package/dist/cjs/api/resources/notifications/types/PatchNotificationsIdResponse.d.ts +30 -0
  107. package/dist/cjs/api/resources/notifications/types/PatchNotificationsIdResponse.js +3 -0
  108. package/dist/cjs/api/resources/notifications/types/PostNotificationsResponse.d.ts +30 -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 +233 -0
  113. package/dist/cjs/api/resources/posts/client/Client.js +889 -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/DeletePostsIdPostsSubIdRequest.d.ts +13 -0
  117. package/dist/cjs/api/resources/posts/client/requests/DeletePostsIdPostsSubIdRequest.js +3 -0
  118. package/dist/cjs/api/resources/posts/client/requests/DeletePostsIdReactionsRequest.d.ts +10 -0
  119. package/dist/cjs/api/resources/posts/client/requests/DeletePostsIdReactionsRequest.js +3 -0
  120. package/dist/cjs/api/resources/posts/client/requests/DeletePostsIdReactionsSubIdRequest.d.ts +13 -0
  121. package/dist/cjs/api/resources/posts/client/requests/DeletePostsIdReactionsSubIdRequest.js +3 -0
  122. package/dist/cjs/api/resources/posts/client/requests/DeletePostsIdRequest.d.ts +9 -0
  123. package/dist/cjs/api/resources/posts/client/requests/DeletePostsIdRequest.js +3 -0
  124. package/dist/cjs/api/resources/posts/client/requests/GetPostsIdPostsRequest.d.ts +14 -0
  125. package/dist/cjs/api/resources/posts/client/requests/GetPostsIdPostsRequest.js +3 -0
  126. package/dist/cjs/api/resources/posts/client/requests/GetPostsIdPostsSubIdRequest.d.ts +13 -0
  127. package/dist/cjs/api/resources/posts/client/requests/GetPostsIdPostsSubIdRequest.js +3 -0
  128. package/dist/cjs/api/resources/posts/client/requests/GetPostsIdReactionsRequest.d.ts +14 -0
  129. package/dist/cjs/api/resources/posts/client/requests/GetPostsIdReactionsRequest.js +3 -0
  130. package/dist/cjs/api/resources/posts/client/requests/GetPostsIdReactionsSubIdRequest.d.ts +13 -0
  131. package/dist/cjs/api/resources/posts/client/requests/GetPostsIdReactionsSubIdRequest.js +3 -0
  132. package/dist/cjs/api/resources/posts/client/requests/GetPostsIdRequest.d.ts +9 -0
  133. package/dist/cjs/api/resources/posts/client/requests/GetPostsIdRequest.js +3 -0
  134. package/dist/cjs/api/resources/posts/client/requests/GetPostsRequest.d.ts +9 -0
  135. package/dist/cjs/api/resources/posts/client/requests/GetPostsRequest.js +3 -0
  136. package/dist/cjs/api/resources/posts/client/requests/PatchPostsIdRequest.d.ts +17 -0
  137. package/dist/cjs/api/resources/posts/client/requests/PatchPostsIdRequest.js +3 -0
  138. package/dist/cjs/api/resources/posts/client/requests/PostPostsIdReactionsRequest.d.ts +27 -0
  139. package/dist/cjs/api/resources/posts/client/requests/PostPostsIdReactionsRequest.js +14 -0
  140. package/dist/cjs/api/resources/posts/client/requests/PostPostsRequest.d.ts +18 -0
  141. package/dist/cjs/api/resources/posts/client/requests/PostPostsRequest.js +3 -0
  142. package/dist/cjs/api/resources/posts/client/requests/index.d.ts +13 -0
  143. package/dist/cjs/api/resources/posts/client/requests/index.js +2 -0
  144. package/dist/cjs/api/resources/posts/index.d.ts +2 -0
  145. package/dist/cjs/api/resources/posts/index.js +18 -0
  146. package/dist/cjs/api/resources/posts/types/DeletePostsIdPostsSubIdResponse.d.ts +3 -0
  147. package/dist/cjs/api/resources/posts/types/DeletePostsIdPostsSubIdResponse.js +3 -0
  148. package/dist/cjs/api/resources/posts/types/DeletePostsIdReactionsResponse.d.ts +3 -0
  149. package/dist/cjs/api/resources/posts/types/DeletePostsIdReactionsResponse.js +3 -0
  150. package/dist/cjs/api/resources/posts/types/DeletePostsIdReactionsSubIdResponse.d.ts +3 -0
  151. package/dist/cjs/api/resources/posts/types/DeletePostsIdReactionsSubIdResponse.js +3 -0
  152. package/dist/cjs/api/resources/posts/types/DeletePostsIdResponse.d.ts +3 -0
  153. package/dist/cjs/api/resources/posts/types/DeletePostsIdResponse.js +3 -0
  154. package/dist/cjs/api/resources/posts/types/GetPostsIdPostsResponse.d.ts +16 -0
  155. package/dist/cjs/api/resources/posts/types/GetPostsIdPostsResponse.js +3 -0
  156. package/dist/cjs/api/resources/posts/types/GetPostsIdPostsSubIdResponse.d.ts +6 -0
  157. package/dist/cjs/api/resources/posts/types/GetPostsIdPostsSubIdResponse.js +3 -0
  158. package/dist/cjs/api/resources/posts/types/GetPostsIdReactionsResponse.d.ts +16 -0
  159. package/dist/cjs/api/resources/posts/types/GetPostsIdReactionsResponse.js +3 -0
  160. package/dist/cjs/api/resources/posts/types/GetPostsIdReactionsSubIdResponse.d.ts +6 -0
  161. package/dist/cjs/api/resources/posts/types/GetPostsIdReactionsSubIdResponse.js +3 -0
  162. package/dist/cjs/api/resources/posts/types/GetPostsIdResponse.d.ts +23 -0
  163. package/dist/cjs/api/resources/posts/types/GetPostsIdResponse.js +3 -0
  164. package/dist/cjs/api/resources/posts/types/GetPostsResponse.d.ts +32 -0
  165. package/dist/cjs/api/resources/posts/types/GetPostsResponse.js +3 -0
  166. package/dist/cjs/api/resources/posts/types/PatchPostsIdResponse.d.ts +23 -0
  167. package/dist/cjs/api/resources/posts/types/PatchPostsIdResponse.js +3 -0
  168. package/dist/cjs/api/resources/posts/types/PostPostsIdReactionsResponse.d.ts +6 -0
  169. package/dist/cjs/api/resources/posts/types/PostPostsIdReactionsResponse.js +3 -0
  170. package/dist/cjs/api/resources/posts/types/PostPostsResponse.d.ts +23 -0
  171. package/dist/cjs/api/resources/posts/types/PostPostsResponse.js +3 -0
  172. package/dist/cjs/api/resources/posts/types/index.d.ts +13 -0
  173. package/dist/cjs/api/resources/posts/types/index.js +29 -0
  174. package/dist/cjs/api/resources/privateMessages/client/Client.d.ts +148 -0
  175. package/dist/cjs/api/resources/privateMessages/client/Client.js +586 -0
  176. package/dist/cjs/api/resources/privateMessages/client/index.d.ts +1 -0
  177. package/dist/cjs/api/resources/privateMessages/client/index.js +17 -0
  178. package/dist/cjs/api/resources/privateMessages/client/requests/DeletePrivateMessagesIdRepliesSubIdRequest.d.ts +13 -0
  179. package/dist/cjs/api/resources/privateMessages/client/requests/DeletePrivateMessagesIdRepliesSubIdRequest.js +3 -0
  180. package/dist/cjs/api/resources/privateMessages/client/requests/DeletePrivateMessagesIdRequest.d.ts +9 -0
  181. package/dist/cjs/api/resources/privateMessages/client/requests/DeletePrivateMessagesIdRequest.js +3 -0
  182. package/dist/cjs/api/resources/privateMessages/client/requests/GetPrivateMessagesIdRepliesRequest.d.ts +14 -0
  183. package/dist/cjs/api/resources/privateMessages/client/requests/GetPrivateMessagesIdRepliesRequest.js +3 -0
  184. package/dist/cjs/api/resources/privateMessages/client/requests/GetPrivateMessagesIdRepliesSubIdRequest.d.ts +13 -0
  185. package/dist/cjs/api/resources/privateMessages/client/requests/GetPrivateMessagesIdRepliesSubIdRequest.js +3 -0
  186. package/dist/cjs/api/resources/privateMessages/client/requests/GetPrivateMessagesIdRequest.d.ts +9 -0
  187. package/dist/cjs/api/resources/privateMessages/client/requests/GetPrivateMessagesIdRequest.js +3 -0
  188. package/dist/cjs/api/resources/privateMessages/client/requests/GetPrivateMessagesRequest.d.ts +9 -0
  189. package/dist/cjs/api/resources/privateMessages/client/requests/GetPrivateMessagesRequest.js +3 -0
  190. package/dist/cjs/api/resources/privateMessages/client/requests/PostPrivateMessagesIdRepliesRequest.d.ts +24 -0
  191. package/dist/cjs/api/resources/privateMessages/client/requests/PostPrivateMessagesIdRepliesRequest.js +3 -0
  192. package/dist/cjs/api/resources/privateMessages/client/requests/PostPrivateMessagesRequest.d.ts +21 -0
  193. package/dist/cjs/api/resources/privateMessages/client/requests/PostPrivateMessagesRequest.js +3 -0
  194. package/dist/cjs/api/resources/privateMessages/client/requests/index.d.ts +8 -0
  195. package/dist/cjs/api/resources/privateMessages/client/requests/index.js +2 -0
  196. package/dist/cjs/api/resources/privateMessages/index.d.ts +2 -0
  197. package/dist/cjs/api/resources/privateMessages/index.js +18 -0
  198. package/dist/cjs/api/resources/privateMessages/types/DeletePrivateMessagesIdRepliesSubIdResponse.d.ts +3 -0
  199. package/dist/cjs/api/resources/privateMessages/types/DeletePrivateMessagesIdRepliesSubIdResponse.js +3 -0
  200. package/dist/cjs/api/resources/privateMessages/types/DeletePrivateMessagesIdResponse.d.ts +3 -0
  201. package/dist/cjs/api/resources/privateMessages/types/DeletePrivateMessagesIdResponse.js +3 -0
  202. package/dist/cjs/api/resources/privateMessages/types/GetPrivateMessagesIdRepliesResponse.d.ts +16 -0
  203. package/dist/cjs/api/resources/privateMessages/types/GetPrivateMessagesIdRepliesResponse.js +3 -0
  204. package/dist/cjs/api/resources/privateMessages/types/GetPrivateMessagesIdRepliesSubIdResponse.d.ts +6 -0
  205. package/dist/cjs/api/resources/privateMessages/types/GetPrivateMessagesIdRepliesSubIdResponse.js +3 -0
  206. package/dist/cjs/api/resources/privateMessages/types/GetPrivateMessagesIdResponse.d.ts +26 -0
  207. package/dist/cjs/api/resources/privateMessages/types/GetPrivateMessagesIdResponse.js +3 -0
  208. package/dist/cjs/api/resources/privateMessages/types/GetPrivateMessagesResponse.d.ts +35 -0
  209. package/dist/cjs/api/resources/privateMessages/types/GetPrivateMessagesResponse.js +3 -0
  210. package/dist/cjs/api/resources/privateMessages/types/PostPrivateMessagesIdRepliesResponse.d.ts +6 -0
  211. package/dist/cjs/api/resources/privateMessages/types/PostPrivateMessagesIdRepliesResponse.js +3 -0
  212. package/dist/cjs/api/resources/privateMessages/types/PostPrivateMessagesResponse.d.ts +26 -0
  213. package/dist/cjs/api/resources/privateMessages/types/PostPrivateMessagesResponse.js +3 -0
  214. package/dist/cjs/api/resources/privateMessages/types/index.d.ts +8 -0
  215. package/dist/cjs/api/resources/privateMessages/types/index.js +24 -0
  216. package/dist/cjs/api/resources/reports/client/Client.d.ts +78 -0
  217. package/dist/cjs/api/resources/reports/client/Client.js +310 -0
  218. package/dist/cjs/api/resources/reports/client/index.d.ts +1 -0
  219. package/dist/cjs/api/resources/reports/client/index.js +17 -0
  220. package/dist/cjs/api/resources/reports/client/requests/DeleteReportsIdRequest.d.ts +9 -0
  221. package/dist/cjs/api/resources/reports/client/requests/DeleteReportsIdRequest.js +3 -0
  222. package/dist/cjs/api/resources/reports/client/requests/GetReportsIdRequest.d.ts +9 -0
  223. package/dist/cjs/api/resources/reports/client/requests/GetReportsIdRequest.js +3 -0
  224. package/dist/cjs/api/resources/reports/client/requests/GetReportsRequest.d.ts +9 -0
  225. package/dist/cjs/api/resources/reports/client/requests/GetReportsRequest.js +3 -0
  226. package/dist/cjs/api/resources/reports/client/requests/PostReportsRequest.d.ts +22 -0
  227. package/dist/cjs/api/resources/reports/client/requests/PostReportsRequest.js +3 -0
  228. package/dist/cjs/api/resources/reports/client/requests/index.d.ts +4 -0
  229. package/dist/cjs/api/resources/reports/client/requests/index.js +2 -0
  230. package/dist/cjs/api/resources/reports/index.d.ts +2 -0
  231. package/dist/cjs/api/resources/reports/index.js +18 -0
  232. package/dist/cjs/api/resources/reports/types/DeleteReportsIdResponse.d.ts +3 -0
  233. package/dist/cjs/api/resources/reports/types/DeleteReportsIdResponse.js +3 -0
  234. package/dist/cjs/api/resources/reports/types/GetReportsIdResponse.d.ts +28 -0
  235. package/dist/cjs/api/resources/reports/types/GetReportsIdResponse.js +3 -0
  236. package/dist/cjs/api/resources/reports/types/GetReportsResponse.d.ts +37 -0
  237. package/dist/cjs/api/resources/reports/types/GetReportsResponse.js +3 -0
  238. package/dist/cjs/api/resources/reports/types/PostReportsResponse.d.ts +28 -0
  239. package/dist/cjs/api/resources/reports/types/PostReportsResponse.js +3 -0
  240. package/dist/cjs/api/resources/reports/types/index.d.ts +4 -0
  241. package/dist/cjs/api/resources/reports/types/index.js +20 -0
  242. package/dist/cjs/api/resources/roles/client/Client.d.ts +96 -0
  243. package/dist/cjs/api/resources/roles/client/Client.js +388 -0
  244. package/dist/cjs/api/resources/roles/client/index.d.ts +1 -0
  245. package/dist/cjs/api/resources/roles/client/index.js +17 -0
  246. package/dist/cjs/api/resources/roles/client/requests/DeleteRolesIdRequest.d.ts +9 -0
  247. package/dist/cjs/api/resources/roles/client/requests/DeleteRolesIdRequest.js +3 -0
  248. package/dist/cjs/api/resources/roles/client/requests/GetRolesIdRequest.d.ts +9 -0
  249. package/dist/cjs/api/resources/roles/client/requests/GetRolesIdRequest.js +3 -0
  250. package/dist/cjs/api/resources/roles/client/requests/GetRolesRequest.d.ts +9 -0
  251. package/dist/cjs/api/resources/roles/client/requests/GetRolesRequest.js +3 -0
  252. package/dist/cjs/api/resources/roles/client/requests/PatchRolesIdRequest.d.ts +19 -0
  253. package/dist/cjs/api/resources/roles/client/requests/PatchRolesIdRequest.js +3 -0
  254. package/dist/cjs/api/resources/roles/client/requests/PostRolesRequest.d.ts +18 -0
  255. package/dist/cjs/api/resources/roles/client/requests/PostRolesRequest.js +3 -0
  256. package/dist/cjs/api/resources/roles/client/requests/index.d.ts +5 -0
  257. package/dist/cjs/api/resources/roles/client/requests/index.js +2 -0
  258. package/dist/cjs/api/resources/roles/index.d.ts +2 -0
  259. package/dist/cjs/api/resources/roles/index.js +18 -0
  260. package/dist/cjs/api/resources/roles/types/DeleteRolesIdResponse.d.ts +3 -0
  261. package/dist/cjs/api/resources/roles/types/DeleteRolesIdResponse.js +3 -0
  262. package/dist/cjs/api/resources/roles/types/GetRolesIdResponse.d.ts +22 -0
  263. package/dist/cjs/api/resources/roles/types/GetRolesIdResponse.js +3 -0
  264. package/dist/cjs/api/resources/roles/types/GetRolesResponse.d.ts +31 -0
  265. package/dist/cjs/api/resources/roles/types/GetRolesResponse.js +3 -0
  266. package/dist/cjs/api/resources/roles/types/PatchRolesIdResponse.d.ts +22 -0
  267. package/dist/cjs/api/resources/roles/types/PatchRolesIdResponse.js +3 -0
  268. package/dist/cjs/api/resources/roles/types/PostRolesResponse.d.ts +22 -0
  269. package/dist/cjs/api/resources/roles/types/PostRolesResponse.js +3 -0
  270. package/dist/cjs/api/resources/roles/types/index.d.ts +5 -0
  271. package/dist/cjs/api/resources/roles/types/index.js +21 -0
  272. package/dist/cjs/api/resources/ssOs/client/Client.d.ts +102 -0
  273. package/dist/cjs/api/resources/ssOs/client/Client.js +394 -0
  274. package/dist/cjs/api/resources/ssOs/client/index.d.ts +1 -0
  275. package/dist/cjs/api/resources/ssOs/client/index.js +17 -0
  276. package/dist/cjs/api/resources/ssOs/client/requests/DeleteSsoIdRequest.d.ts +9 -0
  277. package/dist/cjs/api/resources/ssOs/client/requests/DeleteSsoIdRequest.js +3 -0
  278. package/dist/cjs/api/resources/ssOs/client/requests/GetSsoIdRequest.d.ts +9 -0
  279. package/dist/cjs/api/resources/ssOs/client/requests/GetSsoIdRequest.js +3 -0
  280. package/dist/cjs/api/resources/ssOs/client/requests/GetSsoRequest.d.ts +9 -0
  281. package/dist/cjs/api/resources/ssOs/client/requests/GetSsoRequest.js +3 -0
  282. package/dist/cjs/api/resources/ssOs/client/requests/PatchSsoIdRequest.d.ts +21 -0
  283. package/dist/cjs/api/resources/ssOs/client/requests/PatchSsoIdRequest.js +3 -0
  284. package/dist/cjs/api/resources/ssOs/client/requests/PostSsoRequest.d.ts +22 -0
  285. package/dist/cjs/api/resources/ssOs/client/requests/PostSsoRequest.js +3 -0
  286. package/dist/cjs/api/resources/ssOs/client/requests/index.d.ts +5 -0
  287. package/dist/cjs/api/resources/ssOs/client/requests/index.js +2 -0
  288. package/dist/cjs/api/resources/ssOs/index.d.ts +2 -0
  289. package/dist/cjs/api/resources/ssOs/index.js +18 -0
  290. package/dist/cjs/api/resources/ssOs/types/DeleteSsoIdResponse.d.ts +3 -0
  291. package/dist/cjs/api/resources/ssOs/types/DeleteSsoIdResponse.js +3 -0
  292. package/dist/cjs/api/resources/ssOs/types/GetSsoIdResponse.d.ts +27 -0
  293. package/dist/cjs/api/resources/ssOs/types/GetSsoIdResponse.js +16 -0
  294. package/dist/cjs/api/resources/ssOs/types/GetSsoResponse.d.ts +36 -0
  295. package/dist/cjs/api/resources/ssOs/types/GetSsoResponse.js +19 -0
  296. package/dist/cjs/api/resources/ssOs/types/PatchSsoIdResponse.d.ts +27 -0
  297. package/dist/cjs/api/resources/ssOs/types/PatchSsoIdResponse.js +16 -0
  298. package/dist/cjs/api/resources/ssOs/types/PostSsoResponse.d.ts +27 -0
  299. package/dist/cjs/api/resources/ssOs/types/PostSsoResponse.js +16 -0
  300. package/dist/cjs/api/resources/ssOs/types/index.d.ts +5 -0
  301. package/dist/cjs/api/resources/ssOs/types/index.js +21 -0
  302. package/dist/cjs/api/resources/tags/client/Client.d.ts +146 -0
  303. package/dist/cjs/api/resources/tags/client/Client.js +577 -0
  304. package/dist/cjs/api/resources/tags/client/index.d.ts +1 -0
  305. package/dist/cjs/api/resources/tags/client/index.js +17 -0
  306. package/dist/cjs/api/resources/tags/client/requests/DeleteTagsIdRequest.d.ts +9 -0
  307. package/dist/cjs/api/resources/tags/client/requests/DeleteTagsIdRequest.js +3 -0
  308. package/dist/cjs/api/resources/tags/client/requests/DeleteTagsIdSubscribersSubIdRequest.d.ts +13 -0
  309. package/dist/cjs/api/resources/tags/client/requests/DeleteTagsIdSubscribersSubIdRequest.js +3 -0
  310. package/dist/cjs/api/resources/tags/client/requests/GetTagsIdRequest.d.ts +9 -0
  311. package/dist/cjs/api/resources/tags/client/requests/GetTagsIdRequest.js +3 -0
  312. package/dist/cjs/api/resources/tags/client/requests/GetTagsIdSubscribersRequest.d.ts +14 -0
  313. package/dist/cjs/api/resources/tags/client/requests/GetTagsIdSubscribersRequest.js +3 -0
  314. package/dist/cjs/api/resources/tags/client/requests/GetTagsIdSubscribersSubIdRequest.d.ts +13 -0
  315. package/dist/cjs/api/resources/tags/client/requests/GetTagsIdSubscribersSubIdRequest.js +3 -0
  316. package/dist/cjs/api/resources/tags/client/requests/GetTagsRequest.d.ts +9 -0
  317. package/dist/cjs/api/resources/tags/client/requests/GetTagsRequest.js +3 -0
  318. package/dist/cjs/api/resources/tags/client/requests/PatchTagsIdRequest.d.ts +19 -0
  319. package/dist/cjs/api/resources/tags/client/requests/PatchTagsIdRequest.js +3 -0
  320. package/dist/cjs/api/resources/tags/client/requests/PostTagsRequest.d.ts +18 -0
  321. package/dist/cjs/api/resources/tags/client/requests/PostTagsRequest.js +3 -0
  322. package/dist/cjs/api/resources/tags/client/requests/index.d.ts +8 -0
  323. package/dist/cjs/api/resources/tags/client/requests/index.js +2 -0
  324. package/dist/cjs/api/resources/tags/index.d.ts +2 -0
  325. package/dist/cjs/api/resources/tags/index.js +18 -0
  326. package/dist/cjs/api/resources/tags/types/DeleteTagsIdResponse.d.ts +3 -0
  327. package/dist/cjs/api/resources/tags/types/DeleteTagsIdResponse.js +3 -0
  328. package/dist/cjs/api/resources/tags/types/DeleteTagsIdSubscribersSubIdResponse.d.ts +3 -0
  329. package/dist/cjs/api/resources/tags/types/DeleteTagsIdSubscribersSubIdResponse.js +3 -0
  330. package/dist/cjs/api/resources/tags/types/GetTagsIdResponse.d.ts +22 -0
  331. package/dist/cjs/api/resources/tags/types/GetTagsIdResponse.js +3 -0
  332. package/dist/cjs/api/resources/tags/types/GetTagsIdSubscribersResponse.d.ts +16 -0
  333. package/dist/cjs/api/resources/tags/types/GetTagsIdSubscribersResponse.js +3 -0
  334. package/dist/cjs/api/resources/tags/types/GetTagsIdSubscribersSubIdResponse.d.ts +6 -0
  335. package/dist/cjs/api/resources/tags/types/GetTagsIdSubscribersSubIdResponse.js +3 -0
  336. package/dist/cjs/api/resources/tags/types/GetTagsResponse.d.ts +31 -0
  337. package/dist/cjs/api/resources/tags/types/GetTagsResponse.js +3 -0
  338. package/dist/cjs/api/resources/tags/types/PatchTagsIdResponse.d.ts +22 -0
  339. package/dist/cjs/api/resources/tags/types/PatchTagsIdResponse.js +3 -0
  340. package/dist/cjs/api/resources/tags/types/PostTagsResponse.d.ts +22 -0
  341. package/dist/cjs/api/resources/tags/types/PostTagsResponse.js +3 -0
  342. package/dist/cjs/api/resources/tags/types/index.d.ts +8 -0
  343. package/dist/cjs/api/resources/tags/types/index.js +24 -0
  344. package/dist/cjs/api/resources/threads/client/Client.d.ts +337 -0
  345. package/dist/cjs/api/resources/threads/client/Client.js +1274 -0
  346. package/dist/cjs/api/resources/threads/client/index.d.ts +1 -0
  347. package/dist/cjs/api/resources/threads/client/index.js +17 -0
  348. package/dist/cjs/api/resources/threads/client/requests/DeleteThreadsIdPostsSubIdRequest.d.ts +13 -0
  349. package/dist/cjs/api/resources/threads/client/requests/DeleteThreadsIdPostsSubIdRequest.js +3 -0
  350. package/dist/cjs/api/resources/threads/client/requests/DeleteThreadsIdReactionsRequest.d.ts +10 -0
  351. package/dist/cjs/api/resources/threads/client/requests/DeleteThreadsIdReactionsRequest.js +3 -0
  352. package/dist/cjs/api/resources/threads/client/requests/DeleteThreadsIdReactionsSubIdRequest.d.ts +13 -0
  353. package/dist/cjs/api/resources/threads/client/requests/DeleteThreadsIdReactionsSubIdRequest.js +3 -0
  354. package/dist/cjs/api/resources/threads/client/requests/DeleteThreadsIdRequest.d.ts +9 -0
  355. package/dist/cjs/api/resources/threads/client/requests/DeleteThreadsIdRequest.js +3 -0
  356. package/dist/cjs/api/resources/threads/client/requests/DeleteThreadsIdSubscribersSubIdRequest.d.ts +13 -0
  357. package/dist/cjs/api/resources/threads/client/requests/DeleteThreadsIdSubscribersSubIdRequest.js +3 -0
  358. package/dist/cjs/api/resources/threads/client/requests/GetThreadsIdPollRequest.d.ts +10 -0
  359. package/dist/cjs/api/resources/threads/client/requests/GetThreadsIdPollRequest.js +3 -0
  360. package/dist/cjs/api/resources/threads/client/requests/GetThreadsIdPostsRequest.d.ts +14 -0
  361. package/dist/cjs/api/resources/threads/client/requests/GetThreadsIdPostsRequest.js +3 -0
  362. package/dist/cjs/api/resources/threads/client/requests/GetThreadsIdPostsSubIdRequest.d.ts +13 -0
  363. package/dist/cjs/api/resources/threads/client/requests/GetThreadsIdPostsSubIdRequest.js +3 -0
  364. package/dist/cjs/api/resources/threads/client/requests/GetThreadsIdReactionsRequest.d.ts +14 -0
  365. package/dist/cjs/api/resources/threads/client/requests/GetThreadsIdReactionsRequest.js +3 -0
  366. package/dist/cjs/api/resources/threads/client/requests/GetThreadsIdReactionsSubIdRequest.d.ts +13 -0
  367. package/dist/cjs/api/resources/threads/client/requests/GetThreadsIdReactionsSubIdRequest.js +3 -0
  368. package/dist/cjs/api/resources/threads/client/requests/GetThreadsIdRequest.d.ts +9 -0
  369. package/dist/cjs/api/resources/threads/client/requests/GetThreadsIdRequest.js +3 -0
  370. package/dist/cjs/api/resources/threads/client/requests/GetThreadsIdSubscribersRequest.d.ts +14 -0
  371. package/dist/cjs/api/resources/threads/client/requests/GetThreadsIdSubscribersRequest.js +3 -0
  372. package/dist/cjs/api/resources/threads/client/requests/GetThreadsIdSubscribersSubIdRequest.d.ts +13 -0
  373. package/dist/cjs/api/resources/threads/client/requests/GetThreadsIdSubscribersSubIdRequest.js +3 -0
  374. package/dist/cjs/api/resources/threads/client/requests/GetThreadsRequest.d.ts +9 -0
  375. package/dist/cjs/api/resources/threads/client/requests/GetThreadsRequest.js +3 -0
  376. package/dist/cjs/api/resources/threads/client/requests/PatchThreadsIdPollRequest.d.ts +18 -0
  377. package/dist/cjs/api/resources/threads/client/requests/PatchThreadsIdPollRequest.js +3 -0
  378. package/dist/cjs/api/resources/threads/client/requests/PatchThreadsIdRequest.d.ts +21 -0
  379. package/dist/cjs/api/resources/threads/client/requests/PatchThreadsIdRequest.js +3 -0
  380. package/dist/cjs/api/resources/threads/client/requests/PostThreadsIdPollRequest.d.ts +35 -0
  381. package/dist/cjs/api/resources/threads/client/requests/PostThreadsIdPollRequest.js +3 -0
  382. package/dist/cjs/api/resources/threads/client/requests/PostThreadsIdReactionsRequest.d.ts +27 -0
  383. package/dist/cjs/api/resources/threads/client/requests/PostThreadsIdReactionsRequest.js +14 -0
  384. package/dist/cjs/api/resources/threads/client/requests/PostThreadsRequest.d.ts +40 -0
  385. package/dist/cjs/api/resources/threads/client/requests/PostThreadsRequest.js +3 -0
  386. package/dist/cjs/api/resources/threads/client/requests/index.d.ts +19 -0
  387. package/dist/cjs/api/resources/threads/client/requests/index.js +2 -0
  388. package/dist/cjs/api/resources/threads/index.d.ts +2 -0
  389. package/dist/cjs/api/resources/threads/index.js +18 -0
  390. package/dist/cjs/api/resources/threads/types/DeleteThreadsIdPostsSubIdResponse.d.ts +3 -0
  391. package/dist/cjs/api/resources/threads/types/DeleteThreadsIdPostsSubIdResponse.js +3 -0
  392. package/dist/cjs/api/resources/threads/types/DeleteThreadsIdReactionsResponse.d.ts +3 -0
  393. package/dist/cjs/api/resources/threads/types/DeleteThreadsIdReactionsResponse.js +3 -0
  394. package/dist/cjs/api/resources/threads/types/DeleteThreadsIdReactionsSubIdResponse.d.ts +3 -0
  395. package/dist/cjs/api/resources/threads/types/DeleteThreadsIdReactionsSubIdResponse.js +3 -0
  396. package/dist/cjs/api/resources/threads/types/DeleteThreadsIdResponse.d.ts +3 -0
  397. package/dist/cjs/api/resources/threads/types/DeleteThreadsIdResponse.js +3 -0
  398. package/dist/cjs/api/resources/threads/types/DeleteThreadsIdSubscribersSubIdResponse.d.ts +3 -0
  399. package/dist/cjs/api/resources/threads/types/DeleteThreadsIdSubscribersSubIdResponse.js +3 -0
  400. package/dist/cjs/api/resources/threads/types/GetThreadsIdPollResponse.d.ts +6 -0
  401. package/dist/cjs/api/resources/threads/types/GetThreadsIdPollResponse.js +3 -0
  402. package/dist/cjs/api/resources/threads/types/GetThreadsIdPostsResponse.d.ts +16 -0
  403. package/dist/cjs/api/resources/threads/types/GetThreadsIdPostsResponse.js +3 -0
  404. package/dist/cjs/api/resources/threads/types/GetThreadsIdPostsSubIdResponse.d.ts +6 -0
  405. package/dist/cjs/api/resources/threads/types/GetThreadsIdPostsSubIdResponse.js +3 -0
  406. package/dist/cjs/api/resources/threads/types/GetThreadsIdReactionsResponse.d.ts +16 -0
  407. package/dist/cjs/api/resources/threads/types/GetThreadsIdReactionsResponse.js +3 -0
  408. package/dist/cjs/api/resources/threads/types/GetThreadsIdReactionsSubIdResponse.d.ts +6 -0
  409. package/dist/cjs/api/resources/threads/types/GetThreadsIdReactionsSubIdResponse.js +3 -0
  410. package/dist/cjs/api/resources/threads/types/GetThreadsIdResponse.d.ts +55 -0
  411. package/dist/cjs/api/resources/threads/types/GetThreadsIdResponse.js +3 -0
  412. package/dist/cjs/api/resources/threads/types/GetThreadsIdSubscribersResponse.d.ts +16 -0
  413. package/dist/cjs/api/resources/threads/types/GetThreadsIdSubscribersResponse.js +3 -0
  414. package/dist/cjs/api/resources/threads/types/GetThreadsIdSubscribersSubIdResponse.d.ts +6 -0
  415. package/dist/cjs/api/resources/threads/types/GetThreadsIdSubscribersSubIdResponse.js +3 -0
  416. package/dist/cjs/api/resources/threads/types/GetThreadsResponse.d.ts +64 -0
  417. package/dist/cjs/api/resources/threads/types/GetThreadsResponse.js +3 -0
  418. package/dist/cjs/api/resources/threads/types/PatchThreadsIdPollResponse.d.ts +6 -0
  419. package/dist/cjs/api/resources/threads/types/PatchThreadsIdPollResponse.js +3 -0
  420. package/dist/cjs/api/resources/threads/types/PatchThreadsIdResponse.d.ts +55 -0
  421. package/dist/cjs/api/resources/threads/types/PatchThreadsIdResponse.js +3 -0
  422. package/dist/cjs/api/resources/threads/types/PostThreadsIdPollResponse.d.ts +6 -0
  423. package/dist/cjs/api/resources/threads/types/PostThreadsIdPollResponse.js +3 -0
  424. package/dist/cjs/api/resources/threads/types/PostThreadsIdReactionsResponse.d.ts +6 -0
  425. package/dist/cjs/api/resources/threads/types/PostThreadsIdReactionsResponse.js +3 -0
  426. package/dist/cjs/api/resources/threads/types/PostThreadsResponse.d.ts +55 -0
  427. package/dist/cjs/api/resources/threads/types/PostThreadsResponse.js +3 -0
  428. package/dist/cjs/api/resources/threads/types/index.d.ts +19 -0
  429. package/dist/cjs/api/resources/threads/types/index.js +35 -0
  430. package/dist/cjs/api/resources/users/client/Client.d.ts +179 -0
  431. package/dist/cjs/api/resources/users/client/Client.js +703 -0
  432. package/dist/cjs/api/resources/users/client/index.d.ts +1 -0
  433. package/dist/cjs/api/resources/users/client/index.js +17 -0
  434. package/dist/cjs/api/resources/users/client/requests/DeleteUsersIdFollowersSubIdRequest.d.ts +13 -0
  435. package/dist/cjs/api/resources/users/client/requests/DeleteUsersIdFollowersSubIdRequest.js +3 -0
  436. package/dist/cjs/api/resources/users/client/requests/DeleteUsersIdFollowingSubIdRequest.d.ts +13 -0
  437. package/dist/cjs/api/resources/users/client/requests/DeleteUsersIdFollowingSubIdRequest.js +3 -0
  438. package/dist/cjs/api/resources/users/client/requests/DeleteUsersIdRequest.d.ts +9 -0
  439. package/dist/cjs/api/resources/users/client/requests/DeleteUsersIdRequest.js +3 -0
  440. package/dist/cjs/api/resources/users/client/requests/GetUsersIdFollowersRequest.d.ts +14 -0
  441. package/dist/cjs/api/resources/users/client/requests/GetUsersIdFollowersRequest.js +3 -0
  442. package/dist/cjs/api/resources/users/client/requests/GetUsersIdFollowersSubIdRequest.d.ts +13 -0
  443. package/dist/cjs/api/resources/users/client/requests/GetUsersIdFollowersSubIdRequest.js +3 -0
  444. package/dist/cjs/api/resources/users/client/requests/GetUsersIdFollowingRequest.d.ts +14 -0
  445. package/dist/cjs/api/resources/users/client/requests/GetUsersIdFollowingRequest.js +3 -0
  446. package/dist/cjs/api/resources/users/client/requests/GetUsersIdFollowingSubIdRequest.d.ts +13 -0
  447. package/dist/cjs/api/resources/users/client/requests/GetUsersIdFollowingSubIdRequest.js +3 -0
  448. package/dist/cjs/api/resources/users/client/requests/GetUsersIdRequest.d.ts +9 -0
  449. package/dist/cjs/api/resources/users/client/requests/GetUsersIdRequest.js +3 -0
  450. package/dist/cjs/api/resources/users/client/requests/GetUsersRequest.d.ts +9 -0
  451. package/dist/cjs/api/resources/users/client/requests/GetUsersRequest.js +3 -0
  452. package/dist/cjs/api/resources/users/client/requests/PatchUsersIdRequest.d.ts +27 -0
  453. package/dist/cjs/api/resources/users/client/requests/PatchUsersIdRequest.js +3 -0
  454. package/dist/cjs/api/resources/users/client/requests/index.d.ts +10 -0
  455. package/dist/cjs/api/resources/users/client/requests/index.js +2 -0
  456. package/dist/cjs/api/resources/users/index.d.ts +2 -0
  457. package/dist/cjs/api/resources/users/index.js +18 -0
  458. package/dist/cjs/api/resources/users/types/DeleteUsersIdFollowersSubIdResponse.d.ts +3 -0
  459. package/dist/cjs/api/resources/users/types/DeleteUsersIdFollowersSubIdResponse.js +3 -0
  460. package/dist/cjs/api/resources/users/types/DeleteUsersIdFollowingSubIdResponse.d.ts +3 -0
  461. package/dist/cjs/api/resources/users/types/DeleteUsersIdFollowingSubIdResponse.js +3 -0
  462. package/dist/cjs/api/resources/users/types/DeleteUsersIdResponse.d.ts +3 -0
  463. package/dist/cjs/api/resources/users/types/DeleteUsersIdResponse.js +3 -0
  464. package/dist/cjs/api/resources/users/types/GetUsersIdFollowersResponse.d.ts +16 -0
  465. package/dist/cjs/api/resources/users/types/GetUsersIdFollowersResponse.js +3 -0
  466. package/dist/cjs/api/resources/users/types/GetUsersIdFollowersSubIdResponse.d.ts +6 -0
  467. package/dist/cjs/api/resources/users/types/GetUsersIdFollowersSubIdResponse.js +3 -0
  468. package/dist/cjs/api/resources/users/types/GetUsersIdFollowingResponse.d.ts +16 -0
  469. package/dist/cjs/api/resources/users/types/GetUsersIdFollowingResponse.js +3 -0
  470. package/dist/cjs/api/resources/users/types/GetUsersIdFollowingSubIdResponse.d.ts +6 -0
  471. package/dist/cjs/api/resources/users/types/GetUsersIdFollowingSubIdResponse.js +3 -0
  472. package/dist/cjs/api/resources/users/types/GetUsersIdResponse.d.ts +43 -0
  473. package/dist/cjs/api/resources/users/types/GetUsersIdResponse.js +3 -0
  474. package/dist/cjs/api/resources/users/types/GetUsersResponse.d.ts +52 -0
  475. package/dist/cjs/api/resources/users/types/GetUsersResponse.js +3 -0
  476. package/dist/cjs/api/resources/users/types/PatchUsersIdResponse.d.ts +43 -0
  477. package/dist/cjs/api/resources/users/types/PatchUsersIdResponse.js +3 -0
  478. package/dist/cjs/api/resources/users/types/index.d.ts +10 -0
  479. package/dist/cjs/api/resources/users/types/index.js +26 -0
  480. package/dist/cjs/api/resources/webhooks/client/Client.d.ts +130 -0
  481. package/dist/cjs/api/resources/webhooks/client/Client.js +504 -0
  482. package/dist/cjs/api/resources/webhooks/client/index.d.ts +1 -0
  483. package/dist/cjs/api/resources/webhooks/client/index.js +17 -0
  484. package/dist/cjs/api/resources/webhooks/client/requests/DeleteWebhooksIdDeliveriesSubIdRequest.d.ts +13 -0
  485. package/dist/cjs/api/resources/webhooks/client/requests/DeleteWebhooksIdDeliveriesSubIdRequest.js +3 -0
  486. package/dist/cjs/api/resources/webhooks/client/requests/DeleteWebhooksIdRequest.d.ts +9 -0
  487. package/dist/cjs/api/resources/webhooks/client/requests/DeleteWebhooksIdRequest.js +3 -0
  488. package/dist/cjs/api/resources/webhooks/client/requests/GetWebhooksIdDeliveriesRequest.d.ts +14 -0
  489. package/dist/cjs/api/resources/webhooks/client/requests/GetWebhooksIdDeliveriesRequest.js +3 -0
  490. package/dist/cjs/api/resources/webhooks/client/requests/GetWebhooksIdDeliveriesSubIdRequest.d.ts +13 -0
  491. package/dist/cjs/api/resources/webhooks/client/requests/GetWebhooksIdDeliveriesSubIdRequest.js +3 -0
  492. package/dist/cjs/api/resources/webhooks/client/requests/GetWebhooksIdRequest.d.ts +9 -0
  493. package/dist/cjs/api/resources/webhooks/client/requests/GetWebhooksIdRequest.js +3 -0
  494. package/dist/cjs/api/resources/webhooks/client/requests/GetWebhooksRequest.d.ts +9 -0
  495. package/dist/cjs/api/resources/webhooks/client/requests/GetWebhooksRequest.js +3 -0
  496. package/dist/cjs/api/resources/webhooks/client/requests/PostWebhooksRequest.d.ts +18 -0
  497. package/dist/cjs/api/resources/webhooks/client/requests/PostWebhooksRequest.js +3 -0
  498. package/dist/cjs/api/resources/webhooks/client/requests/index.d.ts +7 -0
  499. package/dist/cjs/api/resources/webhooks/client/requests/index.js +2 -0
  500. package/dist/cjs/api/resources/webhooks/index.d.ts +2 -0
  501. package/dist/cjs/api/resources/webhooks/index.js +18 -0
  502. package/dist/cjs/api/resources/webhooks/types/DeleteWebhooksIdDeliveriesSubIdResponse.d.ts +3 -0
  503. package/dist/cjs/api/resources/webhooks/types/DeleteWebhooksIdDeliveriesSubIdResponse.js +3 -0
  504. package/dist/cjs/api/resources/webhooks/types/DeleteWebhooksIdResponse.d.ts +3 -0
  505. package/dist/cjs/api/resources/webhooks/types/DeleteWebhooksIdResponse.js +3 -0
  506. package/dist/cjs/api/resources/webhooks/types/GetWebhooksIdDeliveriesResponse.d.ts +16 -0
  507. package/dist/cjs/api/resources/webhooks/types/GetWebhooksIdDeliveriesResponse.js +3 -0
  508. package/dist/cjs/api/resources/webhooks/types/GetWebhooksIdDeliveriesSubIdResponse.d.ts +6 -0
  509. package/dist/cjs/api/resources/webhooks/types/GetWebhooksIdDeliveriesSubIdResponse.js +3 -0
  510. package/dist/cjs/api/resources/webhooks/types/GetWebhooksIdResponse.d.ts +24 -0
  511. package/dist/cjs/api/resources/webhooks/types/GetWebhooksIdResponse.js +3 -0
  512. package/dist/cjs/api/resources/webhooks/types/GetWebhooksResponse.d.ts +33 -0
  513. package/dist/cjs/api/resources/webhooks/types/GetWebhooksResponse.js +3 -0
  514. package/dist/cjs/api/resources/webhooks/types/PostWebhooksResponse.d.ts +24 -0
  515. package/dist/cjs/api/resources/webhooks/types/PostWebhooksResponse.js +3 -0
  516. package/dist/cjs/api/resources/webhooks/types/index.d.ts +7 -0
  517. package/dist/cjs/api/resources/webhooks/types/index.js +23 -0
  518. package/dist/cjs/api/types/AuthResponse.d.ts +1 -0
  519. package/dist/cjs/api/types/AuthResponse.js +3 -0
  520. package/dist/cjs/api/types/ErrorResponse.d.ts +10 -0
  521. package/dist/cjs/api/types/ErrorResponse.js +3 -0
  522. package/dist/cjs/api/types/IntegrationCreate.d.ts +7 -0
  523. package/dist/cjs/api/types/IntegrationCreate.js +3 -0
  524. package/dist/cjs/api/types/IntegrationResponse.d.ts +25 -0
  525. package/dist/cjs/api/types/IntegrationResponse.js +16 -0
  526. package/dist/cjs/api/types/IntegrationUpdate.d.ts +8 -0
  527. package/dist/cjs/api/types/IntegrationUpdate.js +3 -0
  528. package/dist/cjs/api/types/NotificationCreate.d.ts +30 -0
  529. package/dist/cjs/api/types/NotificationCreate.js +14 -0
  530. package/dist/cjs/api/types/NotificationList.d.ts +20 -0
  531. package/dist/cjs/api/types/NotificationList.js +14 -0
  532. package/dist/cjs/api/types/NotificationResponse.d.ts +25 -0
  533. package/dist/cjs/api/types/NotificationResponse.js +3 -0
  534. package/dist/cjs/api/types/NotificationUpdate.d.ts +16 -0
  535. package/dist/cjs/api/types/NotificationUpdate.js +14 -0
  536. package/dist/cjs/api/types/PostCreate.d.ts +11 -0
  537. package/dist/cjs/api/types/PostCreate.js +3 -0
  538. package/dist/cjs/api/types/PostList.d.ts +31 -0
  539. package/dist/cjs/api/types/PostList.js +20 -0
  540. package/dist/cjs/api/types/PostResponse.d.ts +18 -0
  541. package/dist/cjs/api/types/PostResponse.js +3 -0
  542. package/dist/cjs/api/types/PostUpdate.d.ts +10 -0
  543. package/dist/cjs/api/types/PostUpdate.js +3 -0
  544. package/dist/cjs/api/types/PrivateMessageCreate.d.ts +14 -0
  545. package/dist/cjs/api/types/PrivateMessageCreate.js +3 -0
  546. package/dist/cjs/api/types/PrivateMessageList.d.ts +8 -0
  547. package/dist/cjs/api/types/PrivateMessageList.js +3 -0
  548. package/dist/cjs/api/types/PrivateMessageResponse.d.ts +21 -0
  549. package/dist/cjs/api/types/PrivateMessageResponse.js +3 -0
  550. package/dist/cjs/api/types/ReportCreate.d.ts +16 -0
  551. package/dist/cjs/api/types/ReportCreate.js +3 -0
  552. package/dist/cjs/api/types/ReportList.d.ts +12 -0
  553. package/dist/cjs/api/types/ReportList.js +3 -0
  554. package/dist/cjs/api/types/ReportResponse.d.ts +23 -0
  555. package/dist/cjs/api/types/ReportResponse.js +3 -0
  556. package/dist/cjs/api/types/RoleCreate.d.ts +12 -0
  557. package/dist/cjs/api/types/RoleCreate.js +3 -0
  558. package/dist/cjs/api/types/RoleResponse.d.ts +17 -0
  559. package/dist/cjs/api/types/RoleResponse.js +3 -0
  560. package/dist/cjs/api/types/RoleUpdate.d.ts +12 -0
  561. package/dist/cjs/api/types/RoleUpdate.js +3 -0
  562. package/dist/cjs/api/types/SsoCreate.d.ts +13 -0
  563. package/dist/cjs/api/types/SsoCreate.js +3 -0
  564. package/dist/cjs/api/types/SsoResponse.d.ts +22 -0
  565. package/dist/cjs/api/types/SsoResponse.js +13 -0
  566. package/dist/cjs/api/types/SsoUpdate.d.ts +17 -0
  567. package/dist/cjs/api/types/SsoUpdate.js +3 -0
  568. package/dist/cjs/api/types/TagCreate.d.ts +12 -0
  569. package/dist/cjs/api/types/TagCreate.js +3 -0
  570. package/dist/cjs/api/types/TagList.d.ts +8 -0
  571. package/dist/cjs/api/types/TagList.js +3 -0
  572. package/dist/cjs/api/types/TagResponse.d.ts +17 -0
  573. package/dist/cjs/api/types/TagResponse.js +3 -0
  574. package/dist/cjs/api/types/TagUpdate.d.ts +12 -0
  575. package/dist/cjs/api/types/TagUpdate.js +3 -0
  576. package/dist/cjs/api/types/ThreadCreate.d.ts +33 -0
  577. package/dist/cjs/api/types/ThreadCreate.js +3 -0
  578. package/dist/cjs/api/types/ThreadList.d.ts +23 -0
  579. package/dist/cjs/api/types/ThreadList.js +13 -0
  580. package/dist/cjs/api/types/ThreadResponse.d.ts +50 -0
  581. package/dist/cjs/api/types/ThreadResponse.js +3 -0
  582. package/dist/cjs/api/types/ThreadUpdate.d.ts +14 -0
  583. package/dist/cjs/api/types/ThreadUpdate.js +3 -0
  584. package/dist/cjs/api/types/UserList.d.ts +18 -0
  585. package/dist/cjs/api/types/UserList.js +12 -0
  586. package/dist/cjs/api/types/UserResponse.d.ts +38 -0
  587. package/dist/cjs/api/types/UserResponse.js +3 -0
  588. package/dist/cjs/api/types/UserUpdate.d.ts +20 -0
  589. package/dist/cjs/api/types/UserUpdate.js +3 -0
  590. package/dist/cjs/api/types/WebhookCreate.d.ts +10 -0
  591. package/dist/cjs/api/types/WebhookCreate.js +3 -0
  592. package/dist/cjs/api/types/WebhookList.d.ts +6 -0
  593. package/dist/cjs/api/types/WebhookList.js +3 -0
  594. package/dist/cjs/api/types/WebhookResponse.d.ts +19 -0
  595. package/dist/cjs/api/types/WebhookResponse.js +3 -0
  596. package/dist/cjs/api/types/index.d.ts +39 -0
  597. package/dist/cjs/api/types/index.js +55 -0
  598. package/dist/cjs/auth/HeaderAuthProvider.d.ts +16 -0
  599. package/dist/cjs/auth/HeaderAuthProvider.js +71 -0
  600. package/dist/cjs/auth/index.d.ts +1 -0
  601. package/dist/cjs/auth/index.js +5 -0
  602. package/dist/cjs/core/auth/AuthProvider.d.ts +7 -0
  603. package/dist/cjs/core/auth/AuthProvider.js +2 -0
  604. package/dist/cjs/core/auth/AuthRequest.d.ts +9 -0
  605. package/dist/cjs/core/auth/AuthRequest.js +2 -0
  606. package/dist/cjs/core/auth/BasicAuth.d.ts +8 -0
  607. package/dist/cjs/core/auth/BasicAuth.js +27 -0
  608. package/dist/cjs/core/auth/BearerToken.d.ts +7 -0
  609. package/dist/cjs/core/auth/BearerToken.js +16 -0
  610. package/dist/cjs/core/auth/NoOpAuthProvider.d.ts +5 -0
  611. package/dist/cjs/core/auth/NoOpAuthProvider.js +9 -0
  612. package/dist/cjs/core/auth/index.d.ts +5 -0
  613. package/dist/cjs/core/auth/index.js +9 -0
  614. package/dist/cjs/core/base64.d.ts +2 -0
  615. package/dist/cjs/core/base64.js +26 -0
  616. package/dist/cjs/core/exports.d.ts +1 -0
  617. package/dist/cjs/core/exports.js +17 -0
  618. package/dist/cjs/core/fetcher/APIResponse.d.ts +20 -0
  619. package/dist/cjs/core/fetcher/APIResponse.js +2 -0
  620. package/dist/cjs/core/fetcher/BinaryResponse.d.ts +19 -0
  621. package/dist/cjs/core/fetcher/BinaryResponse.js +17 -0
  622. package/dist/cjs/core/fetcher/EndpointMetadata.d.ts +13 -0
  623. package/dist/cjs/core/fetcher/EndpointMetadata.js +2 -0
  624. package/dist/cjs/core/fetcher/EndpointSupplier.d.ts +12 -0
  625. package/dist/cjs/core/fetcher/EndpointSupplier.js +22 -0
  626. package/dist/cjs/core/fetcher/Fetcher.d.ts +49 -0
  627. package/dist/cjs/core/fetcher/Fetcher.js +316 -0
  628. package/dist/cjs/core/fetcher/Headers.d.ts +2 -0
  629. package/dist/cjs/core/fetcher/Headers.js +84 -0
  630. package/dist/cjs/core/fetcher/HttpResponsePromise.d.ts +58 -0
  631. package/dist/cjs/core/fetcher/HttpResponsePromise.js +103 -0
  632. package/dist/cjs/core/fetcher/RawResponse.d.ts +29 -0
  633. package/dist/cjs/core/fetcher/RawResponse.js +44 -0
  634. package/dist/cjs/core/fetcher/Supplier.d.ts +4 -0
  635. package/dist/cjs/core/fetcher/Supplier.js +22 -0
  636. package/dist/cjs/core/fetcher/createRequestUrl.d.ts +1 -0
  637. package/dist/cjs/core/fetcher/createRequestUrl.js +8 -0
  638. package/dist/cjs/core/fetcher/getErrorResponseBody.d.ts +1 -0
  639. package/dist/cjs/core/fetcher/getErrorResponseBody.js +45 -0
  640. package/dist/cjs/core/fetcher/getFetchFn.d.ts +1 -0
  641. package/dist/cjs/core/fetcher/getFetchFn.js +17 -0
  642. package/dist/cjs/core/fetcher/getHeader.d.ts +1 -0
  643. package/dist/cjs/core/fetcher/getHeader.js +11 -0
  644. package/dist/cjs/core/fetcher/getRequestBody.d.ts +7 -0
  645. package/dist/cjs/core/fetcher/getRequestBody.js +27 -0
  646. package/dist/cjs/core/fetcher/getResponseBody.d.ts +1 -0
  647. package/dist/cjs/core/fetcher/getResponseBody.js +69 -0
  648. package/dist/cjs/core/fetcher/index.d.ts +11 -0
  649. package/dist/cjs/core/fetcher/index.js +17 -0
  650. package/dist/cjs/core/fetcher/makeRequest.d.ts +1 -0
  651. package/dist/cjs/core/fetcher/makeRequest.js +40 -0
  652. package/dist/cjs/core/fetcher/requestWithRetries.d.ts +1 -0
  653. package/dist/cjs/core/fetcher/requestWithRetries.js +67 -0
  654. package/dist/cjs/core/fetcher/signals.d.ts +5 -0
  655. package/dist/cjs/core/fetcher/signals.js +24 -0
  656. package/dist/cjs/core/headers.d.ts +2 -0
  657. package/dist/cjs/core/headers.js +31 -0
  658. package/dist/cjs/core/index.d.ts +6 -0
  659. package/dist/cjs/core/index.js +45 -0
  660. package/dist/cjs/core/json.d.ts +15 -0
  661. package/dist/cjs/core/json.js +24 -0
  662. package/dist/cjs/core/logging/exports.d.ts +18 -0
  663. package/dist/cjs/core/logging/exports.js +45 -0
  664. package/dist/cjs/core/logging/index.d.ts +1 -0
  665. package/dist/cjs/core/logging/index.js +17 -0
  666. package/dist/cjs/core/logging/logger.d.ts +126 -0
  667. package/dist/cjs/core/logging/logger.js +144 -0
  668. package/dist/cjs/core/runtime/index.d.ts +1 -0
  669. package/dist/cjs/core/runtime/index.js +5 -0
  670. package/dist/cjs/core/runtime/runtime.d.ts +9 -0
  671. package/dist/cjs/core/runtime/runtime.js +103 -0
  672. package/dist/cjs/core/url/encodePathParam.d.ts +1 -0
  673. package/dist/cjs/core/url/encodePathParam.js +21 -0
  674. package/dist/cjs/core/url/index.d.ts +3 -0
  675. package/dist/cjs/core/url/index.js +9 -0
  676. package/dist/cjs/core/url/join.d.ts +1 -0
  677. package/dist/cjs/core/url/join.js +68 -0
  678. package/dist/cjs/core/url/qs.d.ts +6 -0
  679. package/dist/cjs/core/url/qs.js +64 -0
  680. package/dist/cjs/environments.d.ts +4 -0
  681. package/dist/cjs/environments.js +7 -0
  682. package/dist/cjs/errors/ForumError.d.ts +12 -0
  683. package/dist/cjs/errors/ForumError.js +32 -0
  684. package/dist/cjs/errors/ForumTimeoutError.d.ts +3 -0
  685. package/dist/cjs/errors/ForumTimeoutError.js +15 -0
  686. package/dist/cjs/errors/handleNonStatusCodeError.d.ts +2 -0
  687. package/dist/cjs/errors/handleNonStatusCodeError.js +65 -0
  688. package/dist/cjs/errors/index.d.ts +2 -0
  689. package/dist/cjs/errors/index.js +7 -0
  690. package/dist/cjs/exports.d.ts +1 -0
  691. package/dist/cjs/exports.js +17 -0
  692. package/dist/cjs/index.d.ts +6 -0
  693. package/dist/cjs/index.js +48 -0
  694. package/dist/cjs/version.d.ts +1 -0
  695. package/dist/cjs/version.js +4 -0
  696. package/dist/esm/BaseClient.d.mts +39 -0
  697. package/dist/esm/BaseClient.mjs +25 -0
  698. package/dist/esm/Client.d.mts +47 -0
  699. package/dist/esm/Client.mjs +67 -0
  700. package/dist/esm/api/errors/BadRequestError.d.mts +6 -0
  701. package/dist/esm/api/errors/BadRequestError.mjs +17 -0
  702. package/dist/esm/api/errors/InternalServerError.d.mts +6 -0
  703. package/dist/esm/api/errors/InternalServerError.mjs +17 -0
  704. package/dist/esm/api/errors/NotFoundError.d.mts +6 -0
  705. package/dist/esm/api/errors/NotFoundError.mjs +17 -0
  706. package/dist/esm/api/errors/PaymentRequiredError.d.mts +6 -0
  707. package/dist/esm/api/errors/PaymentRequiredError.mjs +17 -0
  708. package/dist/esm/api/errors/TooManyRequestsError.d.mts +6 -0
  709. package/dist/esm/api/errors/TooManyRequestsError.mjs +17 -0
  710. package/dist/esm/api/errors/UnauthorizedError.d.mts +6 -0
  711. package/dist/esm/api/errors/UnauthorizedError.mjs +17 -0
  712. package/dist/esm/api/errors/index.d.mts +6 -0
  713. package/dist/esm/api/errors/index.mjs +6 -0
  714. package/dist/esm/api/index.d.mts +3 -0
  715. package/dist/esm/api/index.mjs +3 -0
  716. package/dist/esm/api/resources/auth/client/Client.d.mts +93 -0
  717. package/dist/esm/api/resources/auth/client/Client.mjs +315 -0
  718. package/dist/esm/api/resources/auth/client/index.d.mts +1 -0
  719. package/dist/esm/api/resources/auth/client/index.mjs +1 -0
  720. package/dist/esm/api/resources/auth/client/requests/PostAuthForgotPasswordRequest.d.mts +10 -0
  721. package/dist/esm/api/resources/auth/client/requests/PostAuthForgotPasswordRequest.mjs +2 -0
  722. package/dist/esm/api/resources/auth/client/requests/PostAuthLoginRequest.d.mts +13 -0
  723. package/dist/esm/api/resources/auth/client/requests/PostAuthLoginRequest.mjs +2 -0
  724. package/dist/esm/api/resources/auth/client/requests/PostAuthRegisterRequest.d.mts +24 -0
  725. package/dist/esm/api/resources/auth/client/requests/PostAuthRegisterRequest.mjs +2 -0
  726. package/dist/esm/api/resources/auth/client/requests/PostAuthResetPasswordRequest.d.mts +16 -0
  727. package/dist/esm/api/resources/auth/client/requests/PostAuthResetPasswordRequest.mjs +2 -0
  728. package/dist/esm/api/resources/auth/client/requests/index.d.mts +4 -0
  729. package/dist/esm/api/resources/auth/client/requests/index.mjs +1 -0
  730. package/dist/esm/api/resources/auth/index.d.mts +2 -0
  731. package/dist/esm/api/resources/auth/index.mjs +2 -0
  732. package/dist/esm/api/resources/auth/types/GetAuthMeResponse.d.mts +4 -0
  733. package/dist/esm/api/resources/auth/types/GetAuthMeResponse.mjs +2 -0
  734. package/dist/esm/api/resources/auth/types/PostAuthForgotPasswordResponse.d.mts +4 -0
  735. package/dist/esm/api/resources/auth/types/PostAuthForgotPasswordResponse.mjs +2 -0
  736. package/dist/esm/api/resources/auth/types/PostAuthLoginResponse.d.mts +3 -0
  737. package/dist/esm/api/resources/auth/types/PostAuthLoginResponse.mjs +2 -0
  738. package/dist/esm/api/resources/auth/types/PostAuthRegisterResponse.d.mts +3 -0
  739. package/dist/esm/api/resources/auth/types/PostAuthRegisterResponse.mjs +2 -0
  740. package/dist/esm/api/resources/auth/types/PostAuthResetPasswordResponse.d.mts +3 -0
  741. package/dist/esm/api/resources/auth/types/PostAuthResetPasswordResponse.mjs +2 -0
  742. package/dist/esm/api/resources/auth/types/index.d.mts +5 -0
  743. package/dist/esm/api/resources/auth/types/index.mjs +5 -0
  744. package/dist/esm/api/resources/index.d.mts +36 -0
  745. package/dist/esm/api/resources/index.mjs +36 -0
  746. package/dist/esm/api/resources/integrations/client/Client.d.mts +99 -0
  747. package/dist/esm/api/resources/integrations/client/Client.mjs +354 -0
  748. package/dist/esm/api/resources/integrations/client/index.d.mts +1 -0
  749. package/dist/esm/api/resources/integrations/client/index.mjs +1 -0
  750. package/dist/esm/api/resources/integrations/client/requests/DeleteIntegrationsIdRequest.d.mts +9 -0
  751. package/dist/esm/api/resources/integrations/client/requests/DeleteIntegrationsIdRequest.mjs +2 -0
  752. package/dist/esm/api/resources/integrations/client/requests/GetIntegrationsIdRequest.d.mts +9 -0
  753. package/dist/esm/api/resources/integrations/client/requests/GetIntegrationsIdRequest.mjs +2 -0
  754. package/dist/esm/api/resources/integrations/client/requests/GetIntegrationsRequest.d.mts +9 -0
  755. package/dist/esm/api/resources/integrations/client/requests/GetIntegrationsRequest.mjs +2 -0
  756. package/dist/esm/api/resources/integrations/client/requests/PatchIntegrationsIdRequest.d.mts +15 -0
  757. package/dist/esm/api/resources/integrations/client/requests/PatchIntegrationsIdRequest.mjs +2 -0
  758. package/dist/esm/api/resources/integrations/client/requests/PostIntegrationsRequest.d.mts +16 -0
  759. package/dist/esm/api/resources/integrations/client/requests/PostIntegrationsRequest.mjs +2 -0
  760. package/dist/esm/api/resources/integrations/client/requests/index.d.mts +5 -0
  761. package/dist/esm/api/resources/integrations/client/requests/index.mjs +1 -0
  762. package/dist/esm/api/resources/integrations/index.d.mts +2 -0
  763. package/dist/esm/api/resources/integrations/index.mjs +2 -0
  764. package/dist/esm/api/resources/integrations/types/DeleteIntegrationsIdResponse.d.mts +3 -0
  765. package/dist/esm/api/resources/integrations/types/DeleteIntegrationsIdResponse.mjs +2 -0
  766. package/dist/esm/api/resources/integrations/types/GetIntegrationsIdResponse.d.mts +30 -0
  767. package/dist/esm/api/resources/integrations/types/GetIntegrationsIdResponse.mjs +16 -0
  768. package/dist/esm/api/resources/integrations/types/GetIntegrationsResponse.d.mts +39 -0
  769. package/dist/esm/api/resources/integrations/types/GetIntegrationsResponse.mjs +19 -0
  770. package/dist/esm/api/resources/integrations/types/PatchIntegrationsIdResponse.d.mts +30 -0
  771. package/dist/esm/api/resources/integrations/types/PatchIntegrationsIdResponse.mjs +16 -0
  772. package/dist/esm/api/resources/integrations/types/PostIntegrationsResponse.d.mts +30 -0
  773. package/dist/esm/api/resources/integrations/types/PostIntegrationsResponse.mjs +16 -0
  774. package/dist/esm/api/resources/integrations/types/index.d.mts +5 -0
  775. package/dist/esm/api/resources/integrations/types/index.mjs +5 -0
  776. package/dist/esm/api/resources/notifications/client/Client.d.mts +97 -0
  777. package/dist/esm/api/resources/notifications/client/Client.mjs +352 -0
  778. package/dist/esm/api/resources/notifications/client/index.d.mts +1 -0
  779. package/dist/esm/api/resources/notifications/client/index.mjs +1 -0
  780. package/dist/esm/api/resources/notifications/client/requests/DeleteNotificationsIdRequest.d.mts +9 -0
  781. package/dist/esm/api/resources/notifications/client/requests/DeleteNotificationsIdRequest.mjs +2 -0
  782. package/dist/esm/api/resources/notifications/client/requests/GetNotificationsIdRequest.d.mts +9 -0
  783. package/dist/esm/api/resources/notifications/client/requests/GetNotificationsIdRequest.mjs +2 -0
  784. package/dist/esm/api/resources/notifications/client/requests/GetNotificationsRequest.d.mts +9 -0
  785. package/dist/esm/api/resources/notifications/client/requests/GetNotificationsRequest.mjs +2 -0
  786. package/dist/esm/api/resources/notifications/client/requests/PatchNotificationsIdRequest.d.mts +23 -0
  787. package/dist/esm/api/resources/notifications/client/requests/PatchNotificationsIdRequest.mjs +11 -0
  788. package/dist/esm/api/resources/notifications/client/requests/PostNotificationsRequest.d.mts +37 -0
  789. package/dist/esm/api/resources/notifications/client/requests/PostNotificationsRequest.mjs +11 -0
  790. package/dist/esm/api/resources/notifications/client/requests/index.d.mts +5 -0
  791. package/dist/esm/api/resources/notifications/client/requests/index.mjs +1 -0
  792. package/dist/esm/api/resources/notifications/index.d.mts +2 -0
  793. package/dist/esm/api/resources/notifications/index.mjs +2 -0
  794. package/dist/esm/api/resources/notifications/types/DeleteNotificationsIdResponse.d.mts +3 -0
  795. package/dist/esm/api/resources/notifications/types/DeleteNotificationsIdResponse.mjs +2 -0
  796. package/dist/esm/api/resources/notifications/types/GetNotificationsIdResponse.d.mts +30 -0
  797. package/dist/esm/api/resources/notifications/types/GetNotificationsIdResponse.mjs +2 -0
  798. package/dist/esm/api/resources/notifications/types/GetNotificationsResponse.d.mts +39 -0
  799. package/dist/esm/api/resources/notifications/types/GetNotificationsResponse.mjs +2 -0
  800. package/dist/esm/api/resources/notifications/types/PatchNotificationsIdResponse.d.mts +30 -0
  801. package/dist/esm/api/resources/notifications/types/PatchNotificationsIdResponse.mjs +2 -0
  802. package/dist/esm/api/resources/notifications/types/PostNotificationsResponse.d.mts +30 -0
  803. package/dist/esm/api/resources/notifications/types/PostNotificationsResponse.mjs +2 -0
  804. package/dist/esm/api/resources/notifications/types/index.d.mts +5 -0
  805. package/dist/esm/api/resources/notifications/types/index.mjs +5 -0
  806. package/dist/esm/api/resources/posts/client/Client.d.mts +233 -0
  807. package/dist/esm/api/resources/posts/client/Client.mjs +852 -0
  808. package/dist/esm/api/resources/posts/client/index.d.mts +1 -0
  809. package/dist/esm/api/resources/posts/client/index.mjs +1 -0
  810. package/dist/esm/api/resources/posts/client/requests/DeletePostsIdPostsSubIdRequest.d.mts +13 -0
  811. package/dist/esm/api/resources/posts/client/requests/DeletePostsIdPostsSubIdRequest.mjs +2 -0
  812. package/dist/esm/api/resources/posts/client/requests/DeletePostsIdReactionsRequest.d.mts +10 -0
  813. package/dist/esm/api/resources/posts/client/requests/DeletePostsIdReactionsRequest.mjs +2 -0
  814. package/dist/esm/api/resources/posts/client/requests/DeletePostsIdReactionsSubIdRequest.d.mts +13 -0
  815. package/dist/esm/api/resources/posts/client/requests/DeletePostsIdReactionsSubIdRequest.mjs +2 -0
  816. package/dist/esm/api/resources/posts/client/requests/DeletePostsIdRequest.d.mts +9 -0
  817. package/dist/esm/api/resources/posts/client/requests/DeletePostsIdRequest.mjs +2 -0
  818. package/dist/esm/api/resources/posts/client/requests/GetPostsIdPostsRequest.d.mts +14 -0
  819. package/dist/esm/api/resources/posts/client/requests/GetPostsIdPostsRequest.mjs +2 -0
  820. package/dist/esm/api/resources/posts/client/requests/GetPostsIdPostsSubIdRequest.d.mts +13 -0
  821. package/dist/esm/api/resources/posts/client/requests/GetPostsIdPostsSubIdRequest.mjs +2 -0
  822. package/dist/esm/api/resources/posts/client/requests/GetPostsIdReactionsRequest.d.mts +14 -0
  823. package/dist/esm/api/resources/posts/client/requests/GetPostsIdReactionsRequest.mjs +2 -0
  824. package/dist/esm/api/resources/posts/client/requests/GetPostsIdReactionsSubIdRequest.d.mts +13 -0
  825. package/dist/esm/api/resources/posts/client/requests/GetPostsIdReactionsSubIdRequest.mjs +2 -0
  826. package/dist/esm/api/resources/posts/client/requests/GetPostsIdRequest.d.mts +9 -0
  827. package/dist/esm/api/resources/posts/client/requests/GetPostsIdRequest.mjs +2 -0
  828. package/dist/esm/api/resources/posts/client/requests/GetPostsRequest.d.mts +9 -0
  829. package/dist/esm/api/resources/posts/client/requests/GetPostsRequest.mjs +2 -0
  830. package/dist/esm/api/resources/posts/client/requests/PatchPostsIdRequest.d.mts +17 -0
  831. package/dist/esm/api/resources/posts/client/requests/PatchPostsIdRequest.mjs +2 -0
  832. package/dist/esm/api/resources/posts/client/requests/PostPostsIdReactionsRequest.d.mts +27 -0
  833. package/dist/esm/api/resources/posts/client/requests/PostPostsIdReactionsRequest.mjs +11 -0
  834. package/dist/esm/api/resources/posts/client/requests/PostPostsRequest.d.mts +18 -0
  835. package/dist/esm/api/resources/posts/client/requests/PostPostsRequest.mjs +2 -0
  836. package/dist/esm/api/resources/posts/client/requests/index.d.mts +13 -0
  837. package/dist/esm/api/resources/posts/client/requests/index.mjs +1 -0
  838. package/dist/esm/api/resources/posts/index.d.mts +2 -0
  839. package/dist/esm/api/resources/posts/index.mjs +2 -0
  840. package/dist/esm/api/resources/posts/types/DeletePostsIdPostsSubIdResponse.d.mts +3 -0
  841. package/dist/esm/api/resources/posts/types/DeletePostsIdPostsSubIdResponse.mjs +2 -0
  842. package/dist/esm/api/resources/posts/types/DeletePostsIdReactionsResponse.d.mts +3 -0
  843. package/dist/esm/api/resources/posts/types/DeletePostsIdReactionsResponse.mjs +2 -0
  844. package/dist/esm/api/resources/posts/types/DeletePostsIdReactionsSubIdResponse.d.mts +3 -0
  845. package/dist/esm/api/resources/posts/types/DeletePostsIdReactionsSubIdResponse.mjs +2 -0
  846. package/dist/esm/api/resources/posts/types/DeletePostsIdResponse.d.mts +3 -0
  847. package/dist/esm/api/resources/posts/types/DeletePostsIdResponse.mjs +2 -0
  848. package/dist/esm/api/resources/posts/types/GetPostsIdPostsResponse.d.mts +16 -0
  849. package/dist/esm/api/resources/posts/types/GetPostsIdPostsResponse.mjs +2 -0
  850. package/dist/esm/api/resources/posts/types/GetPostsIdPostsSubIdResponse.d.mts +6 -0
  851. package/dist/esm/api/resources/posts/types/GetPostsIdPostsSubIdResponse.mjs +2 -0
  852. package/dist/esm/api/resources/posts/types/GetPostsIdReactionsResponse.d.mts +16 -0
  853. package/dist/esm/api/resources/posts/types/GetPostsIdReactionsResponse.mjs +2 -0
  854. package/dist/esm/api/resources/posts/types/GetPostsIdReactionsSubIdResponse.d.mts +6 -0
  855. package/dist/esm/api/resources/posts/types/GetPostsIdReactionsSubIdResponse.mjs +2 -0
  856. package/dist/esm/api/resources/posts/types/GetPostsIdResponse.d.mts +23 -0
  857. package/dist/esm/api/resources/posts/types/GetPostsIdResponse.mjs +2 -0
  858. package/dist/esm/api/resources/posts/types/GetPostsResponse.d.mts +32 -0
  859. package/dist/esm/api/resources/posts/types/GetPostsResponse.mjs +2 -0
  860. package/dist/esm/api/resources/posts/types/PatchPostsIdResponse.d.mts +23 -0
  861. package/dist/esm/api/resources/posts/types/PatchPostsIdResponse.mjs +2 -0
  862. package/dist/esm/api/resources/posts/types/PostPostsIdReactionsResponse.d.mts +6 -0
  863. package/dist/esm/api/resources/posts/types/PostPostsIdReactionsResponse.mjs +2 -0
  864. package/dist/esm/api/resources/posts/types/PostPostsResponse.d.mts +23 -0
  865. package/dist/esm/api/resources/posts/types/PostPostsResponse.mjs +2 -0
  866. package/dist/esm/api/resources/posts/types/index.d.mts +13 -0
  867. package/dist/esm/api/resources/posts/types/index.mjs +13 -0
  868. package/dist/esm/api/resources/privateMessages/client/Client.d.mts +148 -0
  869. package/dist/esm/api/resources/privateMessages/client/Client.mjs +549 -0
  870. package/dist/esm/api/resources/privateMessages/client/index.d.mts +1 -0
  871. package/dist/esm/api/resources/privateMessages/client/index.mjs +1 -0
  872. package/dist/esm/api/resources/privateMessages/client/requests/DeletePrivateMessagesIdRepliesSubIdRequest.d.mts +13 -0
  873. package/dist/esm/api/resources/privateMessages/client/requests/DeletePrivateMessagesIdRepliesSubIdRequest.mjs +2 -0
  874. package/dist/esm/api/resources/privateMessages/client/requests/DeletePrivateMessagesIdRequest.d.mts +9 -0
  875. package/dist/esm/api/resources/privateMessages/client/requests/DeletePrivateMessagesIdRequest.mjs +2 -0
  876. package/dist/esm/api/resources/privateMessages/client/requests/GetPrivateMessagesIdRepliesRequest.d.mts +14 -0
  877. package/dist/esm/api/resources/privateMessages/client/requests/GetPrivateMessagesIdRepliesRequest.mjs +2 -0
  878. package/dist/esm/api/resources/privateMessages/client/requests/GetPrivateMessagesIdRepliesSubIdRequest.d.mts +13 -0
  879. package/dist/esm/api/resources/privateMessages/client/requests/GetPrivateMessagesIdRepliesSubIdRequest.mjs +2 -0
  880. package/dist/esm/api/resources/privateMessages/client/requests/GetPrivateMessagesIdRequest.d.mts +9 -0
  881. package/dist/esm/api/resources/privateMessages/client/requests/GetPrivateMessagesIdRequest.mjs +2 -0
  882. package/dist/esm/api/resources/privateMessages/client/requests/GetPrivateMessagesRequest.d.mts +9 -0
  883. package/dist/esm/api/resources/privateMessages/client/requests/GetPrivateMessagesRequest.mjs +2 -0
  884. package/dist/esm/api/resources/privateMessages/client/requests/PostPrivateMessagesIdRepliesRequest.d.mts +24 -0
  885. package/dist/esm/api/resources/privateMessages/client/requests/PostPrivateMessagesIdRepliesRequest.mjs +2 -0
  886. package/dist/esm/api/resources/privateMessages/client/requests/PostPrivateMessagesRequest.d.mts +21 -0
  887. package/dist/esm/api/resources/privateMessages/client/requests/PostPrivateMessagesRequest.mjs +2 -0
  888. package/dist/esm/api/resources/privateMessages/client/requests/index.d.mts +8 -0
  889. package/dist/esm/api/resources/privateMessages/client/requests/index.mjs +1 -0
  890. package/dist/esm/api/resources/privateMessages/index.d.mts +2 -0
  891. package/dist/esm/api/resources/privateMessages/index.mjs +2 -0
  892. package/dist/esm/api/resources/privateMessages/types/DeletePrivateMessagesIdRepliesSubIdResponse.d.mts +3 -0
  893. package/dist/esm/api/resources/privateMessages/types/DeletePrivateMessagesIdRepliesSubIdResponse.mjs +2 -0
  894. package/dist/esm/api/resources/privateMessages/types/DeletePrivateMessagesIdResponse.d.mts +3 -0
  895. package/dist/esm/api/resources/privateMessages/types/DeletePrivateMessagesIdResponse.mjs +2 -0
  896. package/dist/esm/api/resources/privateMessages/types/GetPrivateMessagesIdRepliesResponse.d.mts +16 -0
  897. package/dist/esm/api/resources/privateMessages/types/GetPrivateMessagesIdRepliesResponse.mjs +2 -0
  898. package/dist/esm/api/resources/privateMessages/types/GetPrivateMessagesIdRepliesSubIdResponse.d.mts +6 -0
  899. package/dist/esm/api/resources/privateMessages/types/GetPrivateMessagesIdRepliesSubIdResponse.mjs +2 -0
  900. package/dist/esm/api/resources/privateMessages/types/GetPrivateMessagesIdResponse.d.mts +26 -0
  901. package/dist/esm/api/resources/privateMessages/types/GetPrivateMessagesIdResponse.mjs +2 -0
  902. package/dist/esm/api/resources/privateMessages/types/GetPrivateMessagesResponse.d.mts +35 -0
  903. package/dist/esm/api/resources/privateMessages/types/GetPrivateMessagesResponse.mjs +2 -0
  904. package/dist/esm/api/resources/privateMessages/types/PostPrivateMessagesIdRepliesResponse.d.mts +6 -0
  905. package/dist/esm/api/resources/privateMessages/types/PostPrivateMessagesIdRepliesResponse.mjs +2 -0
  906. package/dist/esm/api/resources/privateMessages/types/PostPrivateMessagesResponse.d.mts +26 -0
  907. package/dist/esm/api/resources/privateMessages/types/PostPrivateMessagesResponse.mjs +2 -0
  908. package/dist/esm/api/resources/privateMessages/types/index.d.mts +8 -0
  909. package/dist/esm/api/resources/privateMessages/types/index.mjs +8 -0
  910. package/dist/esm/api/resources/reports/client/Client.d.mts +78 -0
  911. package/dist/esm/api/resources/reports/client/Client.mjs +273 -0
  912. package/dist/esm/api/resources/reports/client/index.d.mts +1 -0
  913. package/dist/esm/api/resources/reports/client/index.mjs +1 -0
  914. package/dist/esm/api/resources/reports/client/requests/DeleteReportsIdRequest.d.mts +9 -0
  915. package/dist/esm/api/resources/reports/client/requests/DeleteReportsIdRequest.mjs +2 -0
  916. package/dist/esm/api/resources/reports/client/requests/GetReportsIdRequest.d.mts +9 -0
  917. package/dist/esm/api/resources/reports/client/requests/GetReportsIdRequest.mjs +2 -0
  918. package/dist/esm/api/resources/reports/client/requests/GetReportsRequest.d.mts +9 -0
  919. package/dist/esm/api/resources/reports/client/requests/GetReportsRequest.mjs +2 -0
  920. package/dist/esm/api/resources/reports/client/requests/PostReportsRequest.d.mts +22 -0
  921. package/dist/esm/api/resources/reports/client/requests/PostReportsRequest.mjs +2 -0
  922. package/dist/esm/api/resources/reports/client/requests/index.d.mts +4 -0
  923. package/dist/esm/api/resources/reports/client/requests/index.mjs +1 -0
  924. package/dist/esm/api/resources/reports/index.d.mts +2 -0
  925. package/dist/esm/api/resources/reports/index.mjs +2 -0
  926. package/dist/esm/api/resources/reports/types/DeleteReportsIdResponse.d.mts +3 -0
  927. package/dist/esm/api/resources/reports/types/DeleteReportsIdResponse.mjs +2 -0
  928. package/dist/esm/api/resources/reports/types/GetReportsIdResponse.d.mts +28 -0
  929. package/dist/esm/api/resources/reports/types/GetReportsIdResponse.mjs +2 -0
  930. package/dist/esm/api/resources/reports/types/GetReportsResponse.d.mts +37 -0
  931. package/dist/esm/api/resources/reports/types/GetReportsResponse.mjs +2 -0
  932. package/dist/esm/api/resources/reports/types/PostReportsResponse.d.mts +28 -0
  933. package/dist/esm/api/resources/reports/types/PostReportsResponse.mjs +2 -0
  934. package/dist/esm/api/resources/reports/types/index.d.mts +4 -0
  935. package/dist/esm/api/resources/reports/types/index.mjs +4 -0
  936. package/dist/esm/api/resources/roles/client/Client.d.mts +96 -0
  937. package/dist/esm/api/resources/roles/client/Client.mjs +351 -0
  938. package/dist/esm/api/resources/roles/client/index.d.mts +1 -0
  939. package/dist/esm/api/resources/roles/client/index.mjs +1 -0
  940. package/dist/esm/api/resources/roles/client/requests/DeleteRolesIdRequest.d.mts +9 -0
  941. package/dist/esm/api/resources/roles/client/requests/DeleteRolesIdRequest.mjs +2 -0
  942. package/dist/esm/api/resources/roles/client/requests/GetRolesIdRequest.d.mts +9 -0
  943. package/dist/esm/api/resources/roles/client/requests/GetRolesIdRequest.mjs +2 -0
  944. package/dist/esm/api/resources/roles/client/requests/GetRolesRequest.d.mts +9 -0
  945. package/dist/esm/api/resources/roles/client/requests/GetRolesRequest.mjs +2 -0
  946. package/dist/esm/api/resources/roles/client/requests/PatchRolesIdRequest.d.mts +19 -0
  947. package/dist/esm/api/resources/roles/client/requests/PatchRolesIdRequest.mjs +2 -0
  948. package/dist/esm/api/resources/roles/client/requests/PostRolesRequest.d.mts +18 -0
  949. package/dist/esm/api/resources/roles/client/requests/PostRolesRequest.mjs +2 -0
  950. package/dist/esm/api/resources/roles/client/requests/index.d.mts +5 -0
  951. package/dist/esm/api/resources/roles/client/requests/index.mjs +1 -0
  952. package/dist/esm/api/resources/roles/index.d.mts +2 -0
  953. package/dist/esm/api/resources/roles/index.mjs +2 -0
  954. package/dist/esm/api/resources/roles/types/DeleteRolesIdResponse.d.mts +3 -0
  955. package/dist/esm/api/resources/roles/types/DeleteRolesIdResponse.mjs +2 -0
  956. package/dist/esm/api/resources/roles/types/GetRolesIdResponse.d.mts +22 -0
  957. package/dist/esm/api/resources/roles/types/GetRolesIdResponse.mjs +2 -0
  958. package/dist/esm/api/resources/roles/types/GetRolesResponse.d.mts +31 -0
  959. package/dist/esm/api/resources/roles/types/GetRolesResponse.mjs +2 -0
  960. package/dist/esm/api/resources/roles/types/PatchRolesIdResponse.d.mts +22 -0
  961. package/dist/esm/api/resources/roles/types/PatchRolesIdResponse.mjs +2 -0
  962. package/dist/esm/api/resources/roles/types/PostRolesResponse.d.mts +22 -0
  963. package/dist/esm/api/resources/roles/types/PostRolesResponse.mjs +2 -0
  964. package/dist/esm/api/resources/roles/types/index.d.mts +5 -0
  965. package/dist/esm/api/resources/roles/types/index.mjs +5 -0
  966. package/dist/esm/api/resources/ssOs/client/Client.d.mts +102 -0
  967. package/dist/esm/api/resources/ssOs/client/Client.mjs +357 -0
  968. package/dist/esm/api/resources/ssOs/client/index.d.mts +1 -0
  969. package/dist/esm/api/resources/ssOs/client/index.mjs +1 -0
  970. package/dist/esm/api/resources/ssOs/client/requests/DeleteSsoIdRequest.d.mts +9 -0
  971. package/dist/esm/api/resources/ssOs/client/requests/DeleteSsoIdRequest.mjs +2 -0
  972. package/dist/esm/api/resources/ssOs/client/requests/GetSsoIdRequest.d.mts +9 -0
  973. package/dist/esm/api/resources/ssOs/client/requests/GetSsoIdRequest.mjs +2 -0
  974. package/dist/esm/api/resources/ssOs/client/requests/GetSsoRequest.d.mts +9 -0
  975. package/dist/esm/api/resources/ssOs/client/requests/GetSsoRequest.mjs +2 -0
  976. package/dist/esm/api/resources/ssOs/client/requests/PatchSsoIdRequest.d.mts +21 -0
  977. package/dist/esm/api/resources/ssOs/client/requests/PatchSsoIdRequest.mjs +2 -0
  978. package/dist/esm/api/resources/ssOs/client/requests/PostSsoRequest.d.mts +22 -0
  979. package/dist/esm/api/resources/ssOs/client/requests/PostSsoRequest.mjs +2 -0
  980. package/dist/esm/api/resources/ssOs/client/requests/index.d.mts +5 -0
  981. package/dist/esm/api/resources/ssOs/client/requests/index.mjs +1 -0
  982. package/dist/esm/api/resources/ssOs/index.d.mts +2 -0
  983. package/dist/esm/api/resources/ssOs/index.mjs +2 -0
  984. package/dist/esm/api/resources/ssOs/types/DeleteSsoIdResponse.d.mts +3 -0
  985. package/dist/esm/api/resources/ssOs/types/DeleteSsoIdResponse.mjs +2 -0
  986. package/dist/esm/api/resources/ssOs/types/GetSsoIdResponse.d.mts +27 -0
  987. package/dist/esm/api/resources/ssOs/types/GetSsoIdResponse.mjs +13 -0
  988. package/dist/esm/api/resources/ssOs/types/GetSsoResponse.d.mts +36 -0
  989. package/dist/esm/api/resources/ssOs/types/GetSsoResponse.mjs +16 -0
  990. package/dist/esm/api/resources/ssOs/types/PatchSsoIdResponse.d.mts +27 -0
  991. package/dist/esm/api/resources/ssOs/types/PatchSsoIdResponse.mjs +13 -0
  992. package/dist/esm/api/resources/ssOs/types/PostSsoResponse.d.mts +27 -0
  993. package/dist/esm/api/resources/ssOs/types/PostSsoResponse.mjs +13 -0
  994. package/dist/esm/api/resources/ssOs/types/index.d.mts +5 -0
  995. package/dist/esm/api/resources/ssOs/types/index.mjs +5 -0
  996. package/dist/esm/api/resources/tags/client/Client.d.mts +146 -0
  997. package/dist/esm/api/resources/tags/client/Client.mjs +540 -0
  998. package/dist/esm/api/resources/tags/client/index.d.mts +1 -0
  999. package/dist/esm/api/resources/tags/client/index.mjs +1 -0
  1000. package/dist/esm/api/resources/tags/client/requests/DeleteTagsIdRequest.d.mts +9 -0
  1001. package/dist/esm/api/resources/tags/client/requests/DeleteTagsIdRequest.mjs +2 -0
  1002. package/dist/esm/api/resources/tags/client/requests/DeleteTagsIdSubscribersSubIdRequest.d.mts +13 -0
  1003. package/dist/esm/api/resources/tags/client/requests/DeleteTagsIdSubscribersSubIdRequest.mjs +2 -0
  1004. package/dist/esm/api/resources/tags/client/requests/GetTagsIdRequest.d.mts +9 -0
  1005. package/dist/esm/api/resources/tags/client/requests/GetTagsIdRequest.mjs +2 -0
  1006. package/dist/esm/api/resources/tags/client/requests/GetTagsIdSubscribersRequest.d.mts +14 -0
  1007. package/dist/esm/api/resources/tags/client/requests/GetTagsIdSubscribersRequest.mjs +2 -0
  1008. package/dist/esm/api/resources/tags/client/requests/GetTagsIdSubscribersSubIdRequest.d.mts +13 -0
  1009. package/dist/esm/api/resources/tags/client/requests/GetTagsIdSubscribersSubIdRequest.mjs +2 -0
  1010. package/dist/esm/api/resources/tags/client/requests/GetTagsRequest.d.mts +9 -0
  1011. package/dist/esm/api/resources/tags/client/requests/GetTagsRequest.mjs +2 -0
  1012. package/dist/esm/api/resources/tags/client/requests/PatchTagsIdRequest.d.mts +19 -0
  1013. package/dist/esm/api/resources/tags/client/requests/PatchTagsIdRequest.mjs +2 -0
  1014. package/dist/esm/api/resources/tags/client/requests/PostTagsRequest.d.mts +18 -0
  1015. package/dist/esm/api/resources/tags/client/requests/PostTagsRequest.mjs +2 -0
  1016. package/dist/esm/api/resources/tags/client/requests/index.d.mts +8 -0
  1017. package/dist/esm/api/resources/tags/client/requests/index.mjs +1 -0
  1018. package/dist/esm/api/resources/tags/index.d.mts +2 -0
  1019. package/dist/esm/api/resources/tags/index.mjs +2 -0
  1020. package/dist/esm/api/resources/tags/types/DeleteTagsIdResponse.d.mts +3 -0
  1021. package/dist/esm/api/resources/tags/types/DeleteTagsIdResponse.mjs +2 -0
  1022. package/dist/esm/api/resources/tags/types/DeleteTagsIdSubscribersSubIdResponse.d.mts +3 -0
  1023. package/dist/esm/api/resources/tags/types/DeleteTagsIdSubscribersSubIdResponse.mjs +2 -0
  1024. package/dist/esm/api/resources/tags/types/GetTagsIdResponse.d.mts +22 -0
  1025. package/dist/esm/api/resources/tags/types/GetTagsIdResponse.mjs +2 -0
  1026. package/dist/esm/api/resources/tags/types/GetTagsIdSubscribersResponse.d.mts +16 -0
  1027. package/dist/esm/api/resources/tags/types/GetTagsIdSubscribersResponse.mjs +2 -0
  1028. package/dist/esm/api/resources/tags/types/GetTagsIdSubscribersSubIdResponse.d.mts +6 -0
  1029. package/dist/esm/api/resources/tags/types/GetTagsIdSubscribersSubIdResponse.mjs +2 -0
  1030. package/dist/esm/api/resources/tags/types/GetTagsResponse.d.mts +31 -0
  1031. package/dist/esm/api/resources/tags/types/GetTagsResponse.mjs +2 -0
  1032. package/dist/esm/api/resources/tags/types/PatchTagsIdResponse.d.mts +22 -0
  1033. package/dist/esm/api/resources/tags/types/PatchTagsIdResponse.mjs +2 -0
  1034. package/dist/esm/api/resources/tags/types/PostTagsResponse.d.mts +22 -0
  1035. package/dist/esm/api/resources/tags/types/PostTagsResponse.mjs +2 -0
  1036. package/dist/esm/api/resources/tags/types/index.d.mts +8 -0
  1037. package/dist/esm/api/resources/tags/types/index.mjs +8 -0
  1038. package/dist/esm/api/resources/threads/client/Client.d.mts +337 -0
  1039. package/dist/esm/api/resources/threads/client/Client.mjs +1237 -0
  1040. package/dist/esm/api/resources/threads/client/index.d.mts +1 -0
  1041. package/dist/esm/api/resources/threads/client/index.mjs +1 -0
  1042. package/dist/esm/api/resources/threads/client/requests/DeleteThreadsIdPostsSubIdRequest.d.mts +13 -0
  1043. package/dist/esm/api/resources/threads/client/requests/DeleteThreadsIdPostsSubIdRequest.mjs +2 -0
  1044. package/dist/esm/api/resources/threads/client/requests/DeleteThreadsIdReactionsRequest.d.mts +10 -0
  1045. package/dist/esm/api/resources/threads/client/requests/DeleteThreadsIdReactionsRequest.mjs +2 -0
  1046. package/dist/esm/api/resources/threads/client/requests/DeleteThreadsIdReactionsSubIdRequest.d.mts +13 -0
  1047. package/dist/esm/api/resources/threads/client/requests/DeleteThreadsIdReactionsSubIdRequest.mjs +2 -0
  1048. package/dist/esm/api/resources/threads/client/requests/DeleteThreadsIdRequest.d.mts +9 -0
  1049. package/dist/esm/api/resources/threads/client/requests/DeleteThreadsIdRequest.mjs +2 -0
  1050. package/dist/esm/api/resources/threads/client/requests/DeleteThreadsIdSubscribersSubIdRequest.d.mts +13 -0
  1051. package/dist/esm/api/resources/threads/client/requests/DeleteThreadsIdSubscribersSubIdRequest.mjs +2 -0
  1052. package/dist/esm/api/resources/threads/client/requests/GetThreadsIdPollRequest.d.mts +10 -0
  1053. package/dist/esm/api/resources/threads/client/requests/GetThreadsIdPollRequest.mjs +2 -0
  1054. package/dist/esm/api/resources/threads/client/requests/GetThreadsIdPostsRequest.d.mts +14 -0
  1055. package/dist/esm/api/resources/threads/client/requests/GetThreadsIdPostsRequest.mjs +2 -0
  1056. package/dist/esm/api/resources/threads/client/requests/GetThreadsIdPostsSubIdRequest.d.mts +13 -0
  1057. package/dist/esm/api/resources/threads/client/requests/GetThreadsIdPostsSubIdRequest.mjs +2 -0
  1058. package/dist/esm/api/resources/threads/client/requests/GetThreadsIdReactionsRequest.d.mts +14 -0
  1059. package/dist/esm/api/resources/threads/client/requests/GetThreadsIdReactionsRequest.mjs +2 -0
  1060. package/dist/esm/api/resources/threads/client/requests/GetThreadsIdReactionsSubIdRequest.d.mts +13 -0
  1061. package/dist/esm/api/resources/threads/client/requests/GetThreadsIdReactionsSubIdRequest.mjs +2 -0
  1062. package/dist/esm/api/resources/threads/client/requests/GetThreadsIdRequest.d.mts +9 -0
  1063. package/dist/esm/api/resources/threads/client/requests/GetThreadsIdRequest.mjs +2 -0
  1064. package/dist/esm/api/resources/threads/client/requests/GetThreadsIdSubscribersRequest.d.mts +14 -0
  1065. package/dist/esm/api/resources/threads/client/requests/GetThreadsIdSubscribersRequest.mjs +2 -0
  1066. package/dist/esm/api/resources/threads/client/requests/GetThreadsIdSubscribersSubIdRequest.d.mts +13 -0
  1067. package/dist/esm/api/resources/threads/client/requests/GetThreadsIdSubscribersSubIdRequest.mjs +2 -0
  1068. package/dist/esm/api/resources/threads/client/requests/GetThreadsRequest.d.mts +9 -0
  1069. package/dist/esm/api/resources/threads/client/requests/GetThreadsRequest.mjs +2 -0
  1070. package/dist/esm/api/resources/threads/client/requests/PatchThreadsIdPollRequest.d.mts +18 -0
  1071. package/dist/esm/api/resources/threads/client/requests/PatchThreadsIdPollRequest.mjs +2 -0
  1072. package/dist/esm/api/resources/threads/client/requests/PatchThreadsIdRequest.d.mts +21 -0
  1073. package/dist/esm/api/resources/threads/client/requests/PatchThreadsIdRequest.mjs +2 -0
  1074. package/dist/esm/api/resources/threads/client/requests/PostThreadsIdPollRequest.d.mts +35 -0
  1075. package/dist/esm/api/resources/threads/client/requests/PostThreadsIdPollRequest.mjs +2 -0
  1076. package/dist/esm/api/resources/threads/client/requests/PostThreadsIdReactionsRequest.d.mts +27 -0
  1077. package/dist/esm/api/resources/threads/client/requests/PostThreadsIdReactionsRequest.mjs +11 -0
  1078. package/dist/esm/api/resources/threads/client/requests/PostThreadsRequest.d.mts +40 -0
  1079. package/dist/esm/api/resources/threads/client/requests/PostThreadsRequest.mjs +2 -0
  1080. package/dist/esm/api/resources/threads/client/requests/index.d.mts +19 -0
  1081. package/dist/esm/api/resources/threads/client/requests/index.mjs +1 -0
  1082. package/dist/esm/api/resources/threads/index.d.mts +2 -0
  1083. package/dist/esm/api/resources/threads/index.mjs +2 -0
  1084. package/dist/esm/api/resources/threads/types/DeleteThreadsIdPostsSubIdResponse.d.mts +3 -0
  1085. package/dist/esm/api/resources/threads/types/DeleteThreadsIdPostsSubIdResponse.mjs +2 -0
  1086. package/dist/esm/api/resources/threads/types/DeleteThreadsIdReactionsResponse.d.mts +3 -0
  1087. package/dist/esm/api/resources/threads/types/DeleteThreadsIdReactionsResponse.mjs +2 -0
  1088. package/dist/esm/api/resources/threads/types/DeleteThreadsIdReactionsSubIdResponse.d.mts +3 -0
  1089. package/dist/esm/api/resources/threads/types/DeleteThreadsIdReactionsSubIdResponse.mjs +2 -0
  1090. package/dist/esm/api/resources/threads/types/DeleteThreadsIdResponse.d.mts +3 -0
  1091. package/dist/esm/api/resources/threads/types/DeleteThreadsIdResponse.mjs +2 -0
  1092. package/dist/esm/api/resources/threads/types/DeleteThreadsIdSubscribersSubIdResponse.d.mts +3 -0
  1093. package/dist/esm/api/resources/threads/types/DeleteThreadsIdSubscribersSubIdResponse.mjs +2 -0
  1094. package/dist/esm/api/resources/threads/types/GetThreadsIdPollResponse.d.mts +6 -0
  1095. package/dist/esm/api/resources/threads/types/GetThreadsIdPollResponse.mjs +2 -0
  1096. package/dist/esm/api/resources/threads/types/GetThreadsIdPostsResponse.d.mts +16 -0
  1097. package/dist/esm/api/resources/threads/types/GetThreadsIdPostsResponse.mjs +2 -0
  1098. package/dist/esm/api/resources/threads/types/GetThreadsIdPostsSubIdResponse.d.mts +6 -0
  1099. package/dist/esm/api/resources/threads/types/GetThreadsIdPostsSubIdResponse.mjs +2 -0
  1100. package/dist/esm/api/resources/threads/types/GetThreadsIdReactionsResponse.d.mts +16 -0
  1101. package/dist/esm/api/resources/threads/types/GetThreadsIdReactionsResponse.mjs +2 -0
  1102. package/dist/esm/api/resources/threads/types/GetThreadsIdReactionsSubIdResponse.d.mts +6 -0
  1103. package/dist/esm/api/resources/threads/types/GetThreadsIdReactionsSubIdResponse.mjs +2 -0
  1104. package/dist/esm/api/resources/threads/types/GetThreadsIdResponse.d.mts +55 -0
  1105. package/dist/esm/api/resources/threads/types/GetThreadsIdResponse.mjs +2 -0
  1106. package/dist/esm/api/resources/threads/types/GetThreadsIdSubscribersResponse.d.mts +16 -0
  1107. package/dist/esm/api/resources/threads/types/GetThreadsIdSubscribersResponse.mjs +2 -0
  1108. package/dist/esm/api/resources/threads/types/GetThreadsIdSubscribersSubIdResponse.d.mts +6 -0
  1109. package/dist/esm/api/resources/threads/types/GetThreadsIdSubscribersSubIdResponse.mjs +2 -0
  1110. package/dist/esm/api/resources/threads/types/GetThreadsResponse.d.mts +64 -0
  1111. package/dist/esm/api/resources/threads/types/GetThreadsResponse.mjs +2 -0
  1112. package/dist/esm/api/resources/threads/types/PatchThreadsIdPollResponse.d.mts +6 -0
  1113. package/dist/esm/api/resources/threads/types/PatchThreadsIdPollResponse.mjs +2 -0
  1114. package/dist/esm/api/resources/threads/types/PatchThreadsIdResponse.d.mts +55 -0
  1115. package/dist/esm/api/resources/threads/types/PatchThreadsIdResponse.mjs +2 -0
  1116. package/dist/esm/api/resources/threads/types/PostThreadsIdPollResponse.d.mts +6 -0
  1117. package/dist/esm/api/resources/threads/types/PostThreadsIdPollResponse.mjs +2 -0
  1118. package/dist/esm/api/resources/threads/types/PostThreadsIdReactionsResponse.d.mts +6 -0
  1119. package/dist/esm/api/resources/threads/types/PostThreadsIdReactionsResponse.mjs +2 -0
  1120. package/dist/esm/api/resources/threads/types/PostThreadsResponse.d.mts +55 -0
  1121. package/dist/esm/api/resources/threads/types/PostThreadsResponse.mjs +2 -0
  1122. package/dist/esm/api/resources/threads/types/index.d.mts +19 -0
  1123. package/dist/esm/api/resources/threads/types/index.mjs +19 -0
  1124. package/dist/esm/api/resources/users/client/Client.d.mts +179 -0
  1125. package/dist/esm/api/resources/users/client/Client.mjs +666 -0
  1126. package/dist/esm/api/resources/users/client/index.d.mts +1 -0
  1127. package/dist/esm/api/resources/users/client/index.mjs +1 -0
  1128. package/dist/esm/api/resources/users/client/requests/DeleteUsersIdFollowersSubIdRequest.d.mts +13 -0
  1129. package/dist/esm/api/resources/users/client/requests/DeleteUsersIdFollowersSubIdRequest.mjs +2 -0
  1130. package/dist/esm/api/resources/users/client/requests/DeleteUsersIdFollowingSubIdRequest.d.mts +13 -0
  1131. package/dist/esm/api/resources/users/client/requests/DeleteUsersIdFollowingSubIdRequest.mjs +2 -0
  1132. package/dist/esm/api/resources/users/client/requests/DeleteUsersIdRequest.d.mts +9 -0
  1133. package/dist/esm/api/resources/users/client/requests/DeleteUsersIdRequest.mjs +2 -0
  1134. package/dist/esm/api/resources/users/client/requests/GetUsersIdFollowersRequest.d.mts +14 -0
  1135. package/dist/esm/api/resources/users/client/requests/GetUsersIdFollowersRequest.mjs +2 -0
  1136. package/dist/esm/api/resources/users/client/requests/GetUsersIdFollowersSubIdRequest.d.mts +13 -0
  1137. package/dist/esm/api/resources/users/client/requests/GetUsersIdFollowersSubIdRequest.mjs +2 -0
  1138. package/dist/esm/api/resources/users/client/requests/GetUsersIdFollowingRequest.d.mts +14 -0
  1139. package/dist/esm/api/resources/users/client/requests/GetUsersIdFollowingRequest.mjs +2 -0
  1140. package/dist/esm/api/resources/users/client/requests/GetUsersIdFollowingSubIdRequest.d.mts +13 -0
  1141. package/dist/esm/api/resources/users/client/requests/GetUsersIdFollowingSubIdRequest.mjs +2 -0
  1142. package/dist/esm/api/resources/users/client/requests/GetUsersIdRequest.d.mts +9 -0
  1143. package/dist/esm/api/resources/users/client/requests/GetUsersIdRequest.mjs +2 -0
  1144. package/dist/esm/api/resources/users/client/requests/GetUsersRequest.d.mts +9 -0
  1145. package/dist/esm/api/resources/users/client/requests/GetUsersRequest.mjs +2 -0
  1146. package/dist/esm/api/resources/users/client/requests/PatchUsersIdRequest.d.mts +27 -0
  1147. package/dist/esm/api/resources/users/client/requests/PatchUsersIdRequest.mjs +2 -0
  1148. package/dist/esm/api/resources/users/client/requests/index.d.mts +10 -0
  1149. package/dist/esm/api/resources/users/client/requests/index.mjs +1 -0
  1150. package/dist/esm/api/resources/users/index.d.mts +2 -0
  1151. package/dist/esm/api/resources/users/index.mjs +2 -0
  1152. package/dist/esm/api/resources/users/types/DeleteUsersIdFollowersSubIdResponse.d.mts +3 -0
  1153. package/dist/esm/api/resources/users/types/DeleteUsersIdFollowersSubIdResponse.mjs +2 -0
  1154. package/dist/esm/api/resources/users/types/DeleteUsersIdFollowingSubIdResponse.d.mts +3 -0
  1155. package/dist/esm/api/resources/users/types/DeleteUsersIdFollowingSubIdResponse.mjs +2 -0
  1156. package/dist/esm/api/resources/users/types/DeleteUsersIdResponse.d.mts +3 -0
  1157. package/dist/esm/api/resources/users/types/DeleteUsersIdResponse.mjs +2 -0
  1158. package/dist/esm/api/resources/users/types/GetUsersIdFollowersResponse.d.mts +16 -0
  1159. package/dist/esm/api/resources/users/types/GetUsersIdFollowersResponse.mjs +2 -0
  1160. package/dist/esm/api/resources/users/types/GetUsersIdFollowersSubIdResponse.d.mts +6 -0
  1161. package/dist/esm/api/resources/users/types/GetUsersIdFollowersSubIdResponse.mjs +2 -0
  1162. package/dist/esm/api/resources/users/types/GetUsersIdFollowingResponse.d.mts +16 -0
  1163. package/dist/esm/api/resources/users/types/GetUsersIdFollowingResponse.mjs +2 -0
  1164. package/dist/esm/api/resources/users/types/GetUsersIdFollowingSubIdResponse.d.mts +6 -0
  1165. package/dist/esm/api/resources/users/types/GetUsersIdFollowingSubIdResponse.mjs +2 -0
  1166. package/dist/esm/api/resources/users/types/GetUsersIdResponse.d.mts +43 -0
  1167. package/dist/esm/api/resources/users/types/GetUsersIdResponse.mjs +2 -0
  1168. package/dist/esm/api/resources/users/types/GetUsersResponse.d.mts +52 -0
  1169. package/dist/esm/api/resources/users/types/GetUsersResponse.mjs +2 -0
  1170. package/dist/esm/api/resources/users/types/PatchUsersIdResponse.d.mts +43 -0
  1171. package/dist/esm/api/resources/users/types/PatchUsersIdResponse.mjs +2 -0
  1172. package/dist/esm/api/resources/users/types/index.d.mts +10 -0
  1173. package/dist/esm/api/resources/users/types/index.mjs +10 -0
  1174. package/dist/esm/api/resources/webhooks/client/Client.d.mts +130 -0
  1175. package/dist/esm/api/resources/webhooks/client/Client.mjs +467 -0
  1176. package/dist/esm/api/resources/webhooks/client/index.d.mts +1 -0
  1177. package/dist/esm/api/resources/webhooks/client/index.mjs +1 -0
  1178. package/dist/esm/api/resources/webhooks/client/requests/DeleteWebhooksIdDeliveriesSubIdRequest.d.mts +13 -0
  1179. package/dist/esm/api/resources/webhooks/client/requests/DeleteWebhooksIdDeliveriesSubIdRequest.mjs +2 -0
  1180. package/dist/esm/api/resources/webhooks/client/requests/DeleteWebhooksIdRequest.d.mts +9 -0
  1181. package/dist/esm/api/resources/webhooks/client/requests/DeleteWebhooksIdRequest.mjs +2 -0
  1182. package/dist/esm/api/resources/webhooks/client/requests/GetWebhooksIdDeliveriesRequest.d.mts +14 -0
  1183. package/dist/esm/api/resources/webhooks/client/requests/GetWebhooksIdDeliveriesRequest.mjs +2 -0
  1184. package/dist/esm/api/resources/webhooks/client/requests/GetWebhooksIdDeliveriesSubIdRequest.d.mts +13 -0
  1185. package/dist/esm/api/resources/webhooks/client/requests/GetWebhooksIdDeliveriesSubIdRequest.mjs +2 -0
  1186. package/dist/esm/api/resources/webhooks/client/requests/GetWebhooksIdRequest.d.mts +9 -0
  1187. package/dist/esm/api/resources/webhooks/client/requests/GetWebhooksIdRequest.mjs +2 -0
  1188. package/dist/esm/api/resources/webhooks/client/requests/GetWebhooksRequest.d.mts +9 -0
  1189. package/dist/esm/api/resources/webhooks/client/requests/GetWebhooksRequest.mjs +2 -0
  1190. package/dist/esm/api/resources/webhooks/client/requests/PostWebhooksRequest.d.mts +18 -0
  1191. package/dist/esm/api/resources/webhooks/client/requests/PostWebhooksRequest.mjs +2 -0
  1192. package/dist/esm/api/resources/webhooks/client/requests/index.d.mts +7 -0
  1193. package/dist/esm/api/resources/webhooks/client/requests/index.mjs +1 -0
  1194. package/dist/esm/api/resources/webhooks/index.d.mts +2 -0
  1195. package/dist/esm/api/resources/webhooks/index.mjs +2 -0
  1196. package/dist/esm/api/resources/webhooks/types/DeleteWebhooksIdDeliveriesSubIdResponse.d.mts +3 -0
  1197. package/dist/esm/api/resources/webhooks/types/DeleteWebhooksIdDeliveriesSubIdResponse.mjs +2 -0
  1198. package/dist/esm/api/resources/webhooks/types/DeleteWebhooksIdResponse.d.mts +3 -0
  1199. package/dist/esm/api/resources/webhooks/types/DeleteWebhooksIdResponse.mjs +2 -0
  1200. package/dist/esm/api/resources/webhooks/types/GetWebhooksIdDeliveriesResponse.d.mts +16 -0
  1201. package/dist/esm/api/resources/webhooks/types/GetWebhooksIdDeliveriesResponse.mjs +2 -0
  1202. package/dist/esm/api/resources/webhooks/types/GetWebhooksIdDeliveriesSubIdResponse.d.mts +6 -0
  1203. package/dist/esm/api/resources/webhooks/types/GetWebhooksIdDeliveriesSubIdResponse.mjs +2 -0
  1204. package/dist/esm/api/resources/webhooks/types/GetWebhooksIdResponse.d.mts +24 -0
  1205. package/dist/esm/api/resources/webhooks/types/GetWebhooksIdResponse.mjs +2 -0
  1206. package/dist/esm/api/resources/webhooks/types/GetWebhooksResponse.d.mts +33 -0
  1207. package/dist/esm/api/resources/webhooks/types/GetWebhooksResponse.mjs +2 -0
  1208. package/dist/esm/api/resources/webhooks/types/PostWebhooksResponse.d.mts +24 -0
  1209. package/dist/esm/api/resources/webhooks/types/PostWebhooksResponse.mjs +2 -0
  1210. package/dist/esm/api/resources/webhooks/types/index.d.mts +7 -0
  1211. package/dist/esm/api/resources/webhooks/types/index.mjs +7 -0
  1212. package/dist/esm/api/types/AuthResponse.d.mts +1 -0
  1213. package/dist/esm/api/types/AuthResponse.mjs +2 -0
  1214. package/dist/esm/api/types/ErrorResponse.d.mts +10 -0
  1215. package/dist/esm/api/types/ErrorResponse.mjs +2 -0
  1216. package/dist/esm/api/types/IntegrationCreate.d.mts +7 -0
  1217. package/dist/esm/api/types/IntegrationCreate.mjs +2 -0
  1218. package/dist/esm/api/types/IntegrationResponse.d.mts +25 -0
  1219. package/dist/esm/api/types/IntegrationResponse.mjs +13 -0
  1220. package/dist/esm/api/types/IntegrationUpdate.d.mts +8 -0
  1221. package/dist/esm/api/types/IntegrationUpdate.mjs +2 -0
  1222. package/dist/esm/api/types/NotificationCreate.d.mts +30 -0
  1223. package/dist/esm/api/types/NotificationCreate.mjs +11 -0
  1224. package/dist/esm/api/types/NotificationList.d.mts +20 -0
  1225. package/dist/esm/api/types/NotificationList.mjs +11 -0
  1226. package/dist/esm/api/types/NotificationResponse.d.mts +25 -0
  1227. package/dist/esm/api/types/NotificationResponse.mjs +2 -0
  1228. package/dist/esm/api/types/NotificationUpdate.d.mts +16 -0
  1229. package/dist/esm/api/types/NotificationUpdate.mjs +11 -0
  1230. package/dist/esm/api/types/PostCreate.d.mts +11 -0
  1231. package/dist/esm/api/types/PostCreate.mjs +2 -0
  1232. package/dist/esm/api/types/PostList.d.mts +31 -0
  1233. package/dist/esm/api/types/PostList.mjs +17 -0
  1234. package/dist/esm/api/types/PostResponse.d.mts +18 -0
  1235. package/dist/esm/api/types/PostResponse.mjs +2 -0
  1236. package/dist/esm/api/types/PostUpdate.d.mts +10 -0
  1237. package/dist/esm/api/types/PostUpdate.mjs +2 -0
  1238. package/dist/esm/api/types/PrivateMessageCreate.d.mts +14 -0
  1239. package/dist/esm/api/types/PrivateMessageCreate.mjs +2 -0
  1240. package/dist/esm/api/types/PrivateMessageList.d.mts +8 -0
  1241. package/dist/esm/api/types/PrivateMessageList.mjs +2 -0
  1242. package/dist/esm/api/types/PrivateMessageResponse.d.mts +21 -0
  1243. package/dist/esm/api/types/PrivateMessageResponse.mjs +2 -0
  1244. package/dist/esm/api/types/ReportCreate.d.mts +16 -0
  1245. package/dist/esm/api/types/ReportCreate.mjs +2 -0
  1246. package/dist/esm/api/types/ReportList.d.mts +12 -0
  1247. package/dist/esm/api/types/ReportList.mjs +2 -0
  1248. package/dist/esm/api/types/ReportResponse.d.mts +23 -0
  1249. package/dist/esm/api/types/ReportResponse.mjs +2 -0
  1250. package/dist/esm/api/types/RoleCreate.d.mts +12 -0
  1251. package/dist/esm/api/types/RoleCreate.mjs +2 -0
  1252. package/dist/esm/api/types/RoleResponse.d.mts +17 -0
  1253. package/dist/esm/api/types/RoleResponse.mjs +2 -0
  1254. package/dist/esm/api/types/RoleUpdate.d.mts +12 -0
  1255. package/dist/esm/api/types/RoleUpdate.mjs +2 -0
  1256. package/dist/esm/api/types/SsoCreate.d.mts +13 -0
  1257. package/dist/esm/api/types/SsoCreate.mjs +2 -0
  1258. package/dist/esm/api/types/SsoResponse.d.mts +22 -0
  1259. package/dist/esm/api/types/SsoResponse.mjs +10 -0
  1260. package/dist/esm/api/types/SsoUpdate.d.mts +17 -0
  1261. package/dist/esm/api/types/SsoUpdate.mjs +2 -0
  1262. package/dist/esm/api/types/TagCreate.d.mts +12 -0
  1263. package/dist/esm/api/types/TagCreate.mjs +2 -0
  1264. package/dist/esm/api/types/TagList.d.mts +8 -0
  1265. package/dist/esm/api/types/TagList.mjs +2 -0
  1266. package/dist/esm/api/types/TagResponse.d.mts +17 -0
  1267. package/dist/esm/api/types/TagResponse.mjs +2 -0
  1268. package/dist/esm/api/types/TagUpdate.d.mts +12 -0
  1269. package/dist/esm/api/types/TagUpdate.mjs +2 -0
  1270. package/dist/esm/api/types/ThreadCreate.d.mts +33 -0
  1271. package/dist/esm/api/types/ThreadCreate.mjs +2 -0
  1272. package/dist/esm/api/types/ThreadList.d.mts +23 -0
  1273. package/dist/esm/api/types/ThreadList.mjs +10 -0
  1274. package/dist/esm/api/types/ThreadResponse.d.mts +50 -0
  1275. package/dist/esm/api/types/ThreadResponse.mjs +2 -0
  1276. package/dist/esm/api/types/ThreadUpdate.d.mts +14 -0
  1277. package/dist/esm/api/types/ThreadUpdate.mjs +2 -0
  1278. package/dist/esm/api/types/UserList.d.mts +18 -0
  1279. package/dist/esm/api/types/UserList.mjs +9 -0
  1280. package/dist/esm/api/types/UserResponse.d.mts +38 -0
  1281. package/dist/esm/api/types/UserResponse.mjs +2 -0
  1282. package/dist/esm/api/types/UserUpdate.d.mts +20 -0
  1283. package/dist/esm/api/types/UserUpdate.mjs +2 -0
  1284. package/dist/esm/api/types/WebhookCreate.d.mts +10 -0
  1285. package/dist/esm/api/types/WebhookCreate.mjs +2 -0
  1286. package/dist/esm/api/types/WebhookList.d.mts +6 -0
  1287. package/dist/esm/api/types/WebhookList.mjs +2 -0
  1288. package/dist/esm/api/types/WebhookResponse.d.mts +19 -0
  1289. package/dist/esm/api/types/WebhookResponse.mjs +2 -0
  1290. package/dist/esm/api/types/index.d.mts +39 -0
  1291. package/dist/esm/api/types/index.mjs +39 -0
  1292. package/dist/esm/auth/HeaderAuthProvider.d.mts +16 -0
  1293. package/dist/esm/auth/HeaderAuthProvider.mjs +34 -0
  1294. package/dist/esm/auth/index.d.mts +1 -0
  1295. package/dist/esm/auth/index.mjs +1 -0
  1296. package/dist/esm/core/auth/AuthProvider.d.mts +7 -0
  1297. package/dist/esm/core/auth/AuthProvider.mjs +1 -0
  1298. package/dist/esm/core/auth/AuthRequest.d.mts +9 -0
  1299. package/dist/esm/core/auth/AuthRequest.mjs +1 -0
  1300. package/dist/esm/core/auth/BasicAuth.d.mts +8 -0
  1301. package/dist/esm/core/auth/BasicAuth.mjs +24 -0
  1302. package/dist/esm/core/auth/BearerToken.d.mts +7 -0
  1303. package/dist/esm/core/auth/BearerToken.mjs +13 -0
  1304. package/dist/esm/core/auth/NoOpAuthProvider.d.mts +5 -0
  1305. package/dist/esm/core/auth/NoOpAuthProvider.mjs +5 -0
  1306. package/dist/esm/core/auth/index.d.mts +5 -0
  1307. package/dist/esm/core/auth/index.mjs +3 -0
  1308. package/dist/esm/core/base64.d.mts +2 -0
  1309. package/dist/esm/core/base64.mjs +22 -0
  1310. package/dist/esm/core/exports.d.mts +1 -0
  1311. package/dist/esm/core/exports.mjs +1 -0
  1312. package/dist/esm/core/fetcher/APIResponse.d.mts +20 -0
  1313. package/dist/esm/core/fetcher/APIResponse.mjs +1 -0
  1314. package/dist/esm/core/fetcher/BinaryResponse.d.mts +19 -0
  1315. package/dist/esm/core/fetcher/BinaryResponse.mjs +14 -0
  1316. package/dist/esm/core/fetcher/EndpointMetadata.d.mts +13 -0
  1317. package/dist/esm/core/fetcher/EndpointMetadata.mjs +1 -0
  1318. package/dist/esm/core/fetcher/EndpointSupplier.d.mts +12 -0
  1319. package/dist/esm/core/fetcher/EndpointSupplier.mjs +19 -0
  1320. package/dist/esm/core/fetcher/Fetcher.d.mts +49 -0
  1321. package/dist/esm/core/fetcher/Fetcher.mjs +312 -0
  1322. package/dist/esm/core/fetcher/Headers.d.mts +2 -0
  1323. package/dist/esm/core/fetcher/Headers.mjs +82 -0
  1324. package/dist/esm/core/fetcher/HttpResponsePromise.d.mts +58 -0
  1325. package/dist/esm/core/fetcher/HttpResponsePromise.mjs +99 -0
  1326. package/dist/esm/core/fetcher/RawResponse.d.mts +29 -0
  1327. package/dist/esm/core/fetcher/RawResponse.mjs +40 -0
  1328. package/dist/esm/core/fetcher/Supplier.d.mts +4 -0
  1329. package/dist/esm/core/fetcher/Supplier.mjs +19 -0
  1330. package/dist/esm/core/fetcher/createRequestUrl.d.mts +1 -0
  1331. package/dist/esm/core/fetcher/createRequestUrl.mjs +5 -0
  1332. package/dist/esm/core/fetcher/getErrorResponseBody.d.mts +1 -0
  1333. package/dist/esm/core/fetcher/getErrorResponseBody.mjs +42 -0
  1334. package/dist/esm/core/fetcher/getFetchFn.d.mts +1 -0
  1335. package/dist/esm/core/fetcher/getFetchFn.mjs +14 -0
  1336. package/dist/esm/core/fetcher/getHeader.d.mts +1 -0
  1337. package/dist/esm/core/fetcher/getHeader.mjs +8 -0
  1338. package/dist/esm/core/fetcher/getRequestBody.d.mts +7 -0
  1339. package/dist/esm/core/fetcher/getRequestBody.mjs +24 -0
  1340. package/dist/esm/core/fetcher/getResponseBody.d.mts +1 -0
  1341. package/dist/esm/core/fetcher/getResponseBody.mjs +66 -0
  1342. package/dist/esm/core/fetcher/index.d.mts +11 -0
  1343. package/dist/esm/core/fetcher/index.mjs +6 -0
  1344. package/dist/esm/core/fetcher/makeRequest.d.mts +1 -0
  1345. package/dist/esm/core/fetcher/makeRequest.mjs +36 -0
  1346. package/dist/esm/core/fetcher/requestWithRetries.d.mts +1 -0
  1347. package/dist/esm/core/fetcher/requestWithRetries.mjs +64 -0
  1348. package/dist/esm/core/fetcher/signals.d.mts +5 -0
  1349. package/dist/esm/core/fetcher/signals.mjs +20 -0
  1350. package/dist/esm/core/headers.d.mts +2 -0
  1351. package/dist/esm/core/headers.mjs +27 -0
  1352. package/dist/esm/core/index.d.mts +6 -0
  1353. package/dist/esm/core/index.mjs +6 -0
  1354. package/dist/esm/core/json.d.mts +15 -0
  1355. package/dist/esm/core/json.mjs +19 -0
  1356. package/dist/esm/core/logging/exports.d.mts +18 -0
  1357. package/dist/esm/core/logging/exports.mjs +9 -0
  1358. package/dist/esm/core/logging/index.d.mts +1 -0
  1359. package/dist/esm/core/logging/index.mjs +1 -0
  1360. package/dist/esm/core/logging/logger.d.mts +126 -0
  1361. package/dist/esm/core/logging/logger.mjs +138 -0
  1362. package/dist/esm/core/runtime/index.d.mts +1 -0
  1363. package/dist/esm/core/runtime/index.mjs +1 -0
  1364. package/dist/esm/core/runtime/runtime.d.mts +9 -0
  1365. package/dist/esm/core/runtime/runtime.mjs +100 -0
  1366. package/dist/esm/core/url/encodePathParam.d.mts +1 -0
  1367. package/dist/esm/core/url/encodePathParam.mjs +18 -0
  1368. package/dist/esm/core/url/index.d.mts +3 -0
  1369. package/dist/esm/core/url/index.mjs +3 -0
  1370. package/dist/esm/core/url/join.d.mts +1 -0
  1371. package/dist/esm/core/url/join.mjs +65 -0
  1372. package/dist/esm/core/url/qs.d.mts +6 -0
  1373. package/dist/esm/core/url/qs.mjs +61 -0
  1374. package/dist/esm/environments.d.mts +4 -0
  1375. package/dist/esm/environments.mjs +4 -0
  1376. package/dist/esm/errors/ForumError.d.mts +12 -0
  1377. package/dist/esm/errors/ForumError.mjs +28 -0
  1378. package/dist/esm/errors/ForumTimeoutError.d.mts +3 -0
  1379. package/dist/esm/errors/ForumTimeoutError.mjs +11 -0
  1380. package/dist/esm/errors/handleNonStatusCodeError.d.mts +2 -0
  1381. package/dist/esm/errors/handleNonStatusCodeError.mjs +29 -0
  1382. package/dist/esm/errors/index.d.mts +2 -0
  1383. package/dist/esm/errors/index.mjs +2 -0
  1384. package/dist/esm/exports.d.mts +1 -0
  1385. package/dist/esm/exports.mjs +1 -0
  1386. package/dist/esm/index.d.mts +6 -0
  1387. package/dist/esm/index.mjs +5 -0
  1388. package/dist/esm/version.d.mts +1 -0
  1389. package/dist/esm/version.mjs +1 -0
  1390. package/package.json +69 -33
  1391. package/reference.md +4848 -0
  1392. package/LICENSE +0 -21
  1393. package/dist/Client.d.ts +0 -98
  1394. package/dist/Client.js +0 -172
  1395. package/dist/errors.d.ts +0 -52
  1396. package/dist/errors.js +0 -95
  1397. package/dist/index.d.ts +0 -19
  1398. package/dist/index.js +0 -35
  1399. package/dist/resources/Auth.d.ts +0 -33
  1400. package/dist/resources/Auth.js +0 -66
  1401. package/dist/resources/Integrations.d.ts +0 -27
  1402. package/dist/resources/Integrations.js +0 -36
  1403. package/dist/resources/Notifications.d.ts +0 -33
  1404. package/dist/resources/Notifications.js +0 -50
  1405. package/dist/resources/Posts.d.ts +0 -52
  1406. package/dist/resources/Posts.js +0 -152
  1407. package/dist/resources/PrivateMessages.d.ts +0 -34
  1408. package/dist/resources/PrivateMessages.js +0 -50
  1409. package/dist/resources/Reports.d.ts +0 -47
  1410. package/dist/resources/Reports.js +0 -56
  1411. package/dist/resources/Roles.d.ts +0 -27
  1412. package/dist/resources/Roles.js +0 -44
  1413. package/dist/resources/SSO.d.ts +0 -27
  1414. package/dist/resources/SSO.js +0 -36
  1415. package/dist/resources/Search.d.ts +0 -12
  1416. package/dist/resources/Search.js +0 -20
  1417. package/dist/resources/Stats.d.ts +0 -13
  1418. package/dist/resources/Stats.js +0 -22
  1419. package/dist/resources/Tags.d.ts +0 -49
  1420. package/dist/resources/Tags.js +0 -96
  1421. package/dist/resources/Threads.d.ts +0 -65
  1422. package/dist/resources/Threads.js +0 -205
  1423. package/dist/resources/Users.d.ts +0 -74
  1424. package/dist/resources/Users.js +0 -108
  1425. package/dist/resources/Webhooks.d.ts +0 -105
  1426. package/dist/resources/Webhooks.js +0 -161
  1427. package/dist/response-types.d.ts +0 -127
  1428. package/dist/types.d.ts +0 -306
  1429. package/dist/utils.d.ts +0 -80
  1430. package/dist/utils.js +0 -138
  1431. package/examples/README.md +0 -38
  1432. package/examples/authentication.ts +0 -91
  1433. package/examples/error-handling.ts +0 -132
  1434. package/examples/managing-threads.ts +0 -133
  1435. package/examples/pagination.ts +0 -80
  1436. package/examples/webhooks.ts +0 -176
  1437. package/src/Client.ts +0 -233
  1438. package/src/errors.ts +0 -95
  1439. package/src/index.ts +0 -19
  1440. package/src/resources/Auth.ts +0 -84
  1441. package/src/resources/Integrations.ts +0 -50
  1442. package/src/resources/Notifications.ts +0 -72
  1443. package/src/resources/Posts.ts +0 -195
  1444. package/src/resources/PrivateMessages.ts +0 -78
  1445. package/src/resources/Reports.ts +0 -94
  1446. package/src/resources/Roles.ts +0 -65
  1447. package/src/resources/SSO.ts +0 -50
  1448. package/src/resources/Search.ts +0 -28
  1449. package/src/resources/Stats.ts +0 -31
  1450. package/src/resources/Tags.ts +0 -135
  1451. package/src/resources/Threads.ts +0 -269
  1452. package/src/resources/Users.ts +0 -168
  1453. package/src/resources/Webhooks.ts +0 -192
  1454. package/src/response-types.ts +0 -137
  1455. package/src/types.ts +0 -342
  1456. package/src/utils.ts +0 -182
  1457. package/tsconfig.json +0 -21
@@ -0,0 +1,586 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
37
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
38
+ return new (P || (P = Promise))(function (resolve, reject) {
39
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
40
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
41
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
42
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
43
+ });
44
+ };
45
+ var __rest = (this && this.__rest) || function (s, e) {
46
+ var t = {};
47
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
48
+ t[p] = s[p];
49
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
50
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
51
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
52
+ t[p[i]] = s[p[i]];
53
+ }
54
+ return t;
55
+ };
56
+ Object.defineProperty(exports, "__esModule", { value: true });
57
+ exports.PrivateMessagesClient = void 0;
58
+ const BaseClient_js_1 = require("../../../../BaseClient.js");
59
+ const headers_js_1 = require("../../../../core/headers.js");
60
+ const core = __importStar(require("../../../../core/index.js"));
61
+ const environments = __importStar(require("../../../../environments.js"));
62
+ const handleNonStatusCodeError_js_1 = require("../../../../errors/handleNonStatusCodeError.js");
63
+ const errors = __importStar(require("../../../../errors/index.js"));
64
+ const Forum = __importStar(require("../../../index.js"));
65
+ class PrivateMessagesClient {
66
+ constructor(options = {}) {
67
+ this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
68
+ }
69
+ /**
70
+ * @param {Forum.GetPrivateMessagesRequest} request
71
+ * @param {PrivateMessagesClient.RequestOptions} requestOptions - Request-specific configuration.
72
+ *
73
+ * @throws {@link Forum.UnauthorizedError}
74
+ * @throws {@link Forum.PaymentRequiredError}
75
+ * @throws {@link Forum.TooManyRequestsError}
76
+ * @throws {@link Forum.InternalServerError}
77
+ *
78
+ * @example
79
+ * await client.privateMessages.listAllPrivateMessages()
80
+ */
81
+ listAllPrivateMessages(request = {}, requestOptions) {
82
+ return core.HttpResponsePromise.fromPromise(this.__listAllPrivateMessages(request, requestOptions));
83
+ }
84
+ __listAllPrivateMessages() {
85
+ return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
86
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
87
+ const { page, limit, search } = request;
88
+ const _queryParams = {};
89
+ if (page != null) {
90
+ _queryParams.page = page.toString();
91
+ }
92
+ if (limit != null) {
93
+ _queryParams.limit = limit.toString();
94
+ }
95
+ if (search != null) {
96
+ _queryParams.search = search;
97
+ }
98
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
99
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
100
+ const _response = yield core.fetcher({
101
+ 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, "private-messages"),
102
+ method: "GET",
103
+ headers: _headers,
104
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
105
+ 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,
106
+ 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,
107
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
108
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
109
+ logging: this._options.logging,
110
+ });
111
+ if (_response.ok) {
112
+ return { data: _response.body, rawResponse: _response.rawResponse };
113
+ }
114
+ if (_response.error.reason === "status-code") {
115
+ switch (_response.error.statusCode) {
116
+ case 401:
117
+ throw new Forum.UnauthorizedError(_response.error.body, _response.rawResponse);
118
+ case 402:
119
+ throw new Forum.PaymentRequiredError(_response.error.body, _response.rawResponse);
120
+ case 429:
121
+ throw new Forum.TooManyRequestsError(_response.error.body, _response.rawResponse);
122
+ case 500:
123
+ throw new Forum.InternalServerError(_response.error.body, _response.rawResponse);
124
+ default:
125
+ throw new errors.ForumError({
126
+ statusCode: _response.error.statusCode,
127
+ body: _response.error.body,
128
+ rawResponse: _response.rawResponse,
129
+ });
130
+ }
131
+ }
132
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/private-messages");
133
+ });
134
+ }
135
+ /**
136
+ * @param {Forum.PostPrivateMessagesRequest} request
137
+ * @param {PrivateMessagesClient.RequestOptions} requestOptions - Request-specific configuration.
138
+ *
139
+ * @throws {@link Forum.BadRequestError}
140
+ * @throws {@link Forum.UnauthorizedError}
141
+ * @throws {@link Forum.PaymentRequiredError}
142
+ * @throws {@link Forum.TooManyRequestsError}
143
+ * @throws {@link Forum.InternalServerError}
144
+ *
145
+ * @example
146
+ * await client.privateMessages.createAPrivateMessage({
147
+ * recipientId: "recipientId",
148
+ * body: "body"
149
+ * })
150
+ */
151
+ createAPrivateMessage(request, requestOptions) {
152
+ return core.HttpResponsePromise.fromPromise(this.__createAPrivateMessage(request, requestOptions));
153
+ }
154
+ __createAPrivateMessage(request, requestOptions) {
155
+ return __awaiter(this, void 0, void 0, function* () {
156
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
157
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
158
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
159
+ const _response = yield core.fetcher({
160
+ 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, "private-messages"),
161
+ method: "POST",
162
+ headers: _headers,
163
+ contentType: "application/json",
164
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
165
+ requestType: "json",
166
+ body: request,
167
+ 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,
168
+ 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,
169
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
170
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
171
+ logging: this._options.logging,
172
+ });
173
+ if (_response.ok) {
174
+ return { data: _response.body, rawResponse: _response.rawResponse };
175
+ }
176
+ if (_response.error.reason === "status-code") {
177
+ switch (_response.error.statusCode) {
178
+ case 400:
179
+ throw new Forum.BadRequestError(_response.error.body, _response.rawResponse);
180
+ case 401:
181
+ throw new Forum.UnauthorizedError(_response.error.body, _response.rawResponse);
182
+ case 402:
183
+ throw new Forum.PaymentRequiredError(_response.error.body, _response.rawResponse);
184
+ case 429:
185
+ throw new Forum.TooManyRequestsError(_response.error.body, _response.rawResponse);
186
+ case 500:
187
+ throw new Forum.InternalServerError(_response.error.body, _response.rawResponse);
188
+ default:
189
+ throw new errors.ForumError({
190
+ statusCode: _response.error.statusCode,
191
+ body: _response.error.body,
192
+ rawResponse: _response.rawResponse,
193
+ });
194
+ }
195
+ }
196
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/private-messages");
197
+ });
198
+ }
199
+ /**
200
+ * @param {Forum.GetPrivateMessagesIdRequest} request
201
+ * @param {PrivateMessagesClient.RequestOptions} requestOptions - Request-specific configuration.
202
+ *
203
+ * @throws {@link Forum.UnauthorizedError}
204
+ * @throws {@link Forum.PaymentRequiredError}
205
+ * @throws {@link Forum.NotFoundError}
206
+ * @throws {@link Forum.TooManyRequestsError}
207
+ * @throws {@link Forum.InternalServerError}
208
+ *
209
+ * @example
210
+ * await client.privateMessages.getAPrivateMessage({
211
+ * id: "id"
212
+ * })
213
+ */
214
+ getAPrivateMessage(request, requestOptions) {
215
+ return core.HttpResponsePromise.fromPromise(this.__getAPrivateMessage(request, requestOptions));
216
+ }
217
+ __getAPrivateMessage(request, requestOptions) {
218
+ return __awaiter(this, void 0, void 0, function* () {
219
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
220
+ const { id } = request;
221
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
222
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
223
+ const _response = yield core.fetcher({
224
+ 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, `private-messages/${core.url.encodePathParam(id)}`),
225
+ method: "GET",
226
+ headers: _headers,
227
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
228
+ 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,
229
+ 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,
230
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
231
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
232
+ logging: this._options.logging,
233
+ });
234
+ if (_response.ok) {
235
+ return { data: _response.body, rawResponse: _response.rawResponse };
236
+ }
237
+ if (_response.error.reason === "status-code") {
238
+ switch (_response.error.statusCode) {
239
+ case 401:
240
+ throw new Forum.UnauthorizedError(_response.error.body, _response.rawResponse);
241
+ case 402:
242
+ throw new Forum.PaymentRequiredError(_response.error.body, _response.rawResponse);
243
+ case 404:
244
+ throw new Forum.NotFoundError(_response.error.body, _response.rawResponse);
245
+ case 429:
246
+ throw new Forum.TooManyRequestsError(_response.error.body, _response.rawResponse);
247
+ case 500:
248
+ throw new Forum.InternalServerError(_response.error.body, _response.rawResponse);
249
+ default:
250
+ throw new errors.ForumError({
251
+ statusCode: _response.error.statusCode,
252
+ body: _response.error.body,
253
+ rawResponse: _response.rawResponse,
254
+ });
255
+ }
256
+ }
257
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/private-messages/{id}");
258
+ });
259
+ }
260
+ /**
261
+ * @param {Forum.DeletePrivateMessagesIdRequest} request
262
+ * @param {PrivateMessagesClient.RequestOptions} requestOptions - Request-specific configuration.
263
+ *
264
+ * @throws {@link Forum.UnauthorizedError}
265
+ * @throws {@link Forum.PaymentRequiredError}
266
+ * @throws {@link Forum.NotFoundError}
267
+ * @throws {@link Forum.TooManyRequestsError}
268
+ * @throws {@link Forum.InternalServerError}
269
+ *
270
+ * @example
271
+ * await client.privateMessages.deleteAPrivateMessage({
272
+ * id: "id"
273
+ * })
274
+ */
275
+ deleteAPrivateMessage(request, requestOptions) {
276
+ return core.HttpResponsePromise.fromPromise(this.__deleteAPrivateMessage(request, requestOptions));
277
+ }
278
+ __deleteAPrivateMessage(request, requestOptions) {
279
+ return __awaiter(this, void 0, void 0, function* () {
280
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
281
+ const { id } = request;
282
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
283
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
284
+ const _response = yield core.fetcher({
285
+ 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, `private-messages/${core.url.encodePathParam(id)}`),
286
+ method: "DELETE",
287
+ headers: _headers,
288
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
289
+ 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,
290
+ 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,
291
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
292
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
293
+ logging: this._options.logging,
294
+ });
295
+ if (_response.ok) {
296
+ return {
297
+ data: _response.body,
298
+ rawResponse: _response.rawResponse,
299
+ };
300
+ }
301
+ if (_response.error.reason === "status-code") {
302
+ switch (_response.error.statusCode) {
303
+ case 401:
304
+ throw new Forum.UnauthorizedError(_response.error.body, _response.rawResponse);
305
+ case 402:
306
+ throw new Forum.PaymentRequiredError(_response.error.body, _response.rawResponse);
307
+ case 404:
308
+ throw new Forum.NotFoundError(_response.error.body, _response.rawResponse);
309
+ case 429:
310
+ throw new Forum.TooManyRequestsError(_response.error.body, _response.rawResponse);
311
+ case 500:
312
+ throw new Forum.InternalServerError(_response.error.body, _response.rawResponse);
313
+ default:
314
+ throw new errors.ForumError({
315
+ statusCode: _response.error.statusCode,
316
+ body: _response.error.body,
317
+ rawResponse: _response.rawResponse,
318
+ });
319
+ }
320
+ }
321
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "DELETE", "/private-messages/{id}");
322
+ });
323
+ }
324
+ /**
325
+ * @param {Forum.GetPrivateMessagesIdRepliesRequest} request
326
+ * @param {PrivateMessagesClient.RequestOptions} requestOptions - Request-specific configuration.
327
+ *
328
+ * @throws {@link Forum.UnauthorizedError}
329
+ * @throws {@link Forum.NotFoundError}
330
+ * @throws {@link Forum.TooManyRequestsError}
331
+ * @throws {@link Forum.InternalServerError}
332
+ *
333
+ * @example
334
+ * await client.privateMessages.listPrivateMessageReplies({
335
+ * id: "id"
336
+ * })
337
+ */
338
+ listPrivateMessageReplies(request, requestOptions) {
339
+ return core.HttpResponsePromise.fromPromise(this.__listPrivateMessageReplies(request, requestOptions));
340
+ }
341
+ __listPrivateMessageReplies(request, requestOptions) {
342
+ return __awaiter(this, void 0, void 0, function* () {
343
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
344
+ const { id, cursor, limit } = request;
345
+ const _queryParams = {};
346
+ if (cursor != null) {
347
+ _queryParams.cursor = cursor;
348
+ }
349
+ if (limit != null) {
350
+ _queryParams.limit = limit.toString();
351
+ }
352
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
353
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
354
+ const _response = yield core.fetcher({
355
+ 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, `private-messages/${core.url.encodePathParam(id)}/replies`),
356
+ method: "GET",
357
+ headers: _headers,
358
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
359
+ 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,
360
+ 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,
361
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
362
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
363
+ logging: this._options.logging,
364
+ });
365
+ if (_response.ok) {
366
+ return {
367
+ data: _response.body,
368
+ rawResponse: _response.rawResponse,
369
+ };
370
+ }
371
+ if (_response.error.reason === "status-code") {
372
+ switch (_response.error.statusCode) {
373
+ case 401:
374
+ throw new Forum.UnauthorizedError(_response.error.body, _response.rawResponse);
375
+ case 404:
376
+ throw new Forum.NotFoundError(_response.error.body, _response.rawResponse);
377
+ case 429:
378
+ throw new Forum.TooManyRequestsError(_response.error.body, _response.rawResponse);
379
+ case 500:
380
+ throw new Forum.InternalServerError(_response.error.body, _response.rawResponse);
381
+ default:
382
+ throw new errors.ForumError({
383
+ statusCode: _response.error.statusCode,
384
+ body: _response.error.body,
385
+ rawResponse: _response.rawResponse,
386
+ });
387
+ }
388
+ }
389
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/private-messages/{id}/replies");
390
+ });
391
+ }
392
+ /**
393
+ * @param {Forum.PostPrivateMessagesIdRepliesRequest} request
394
+ * @param {PrivateMessagesClient.RequestOptions} requestOptions - Request-specific configuration.
395
+ *
396
+ * @throws {@link Forum.BadRequestError}
397
+ * @throws {@link Forum.UnauthorizedError}
398
+ * @throws {@link Forum.NotFoundError}
399
+ * @throws {@link Forum.TooManyRequestsError}
400
+ * @throws {@link Forum.InternalServerError}
401
+ *
402
+ * @example
403
+ * await client.privateMessages.createAReplieInPrivateMessage({
404
+ * id: "id",
405
+ * recipientId: "recipientId",
406
+ * body: "body"
407
+ * })
408
+ */
409
+ createAReplieInPrivateMessage(request, requestOptions) {
410
+ return core.HttpResponsePromise.fromPromise(this.__createAReplieInPrivateMessage(request, requestOptions));
411
+ }
412
+ __createAReplieInPrivateMessage(request, requestOptions) {
413
+ return __awaiter(this, void 0, void 0, function* () {
414
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
415
+ const { id } = request, _body = __rest(request, ["id"]);
416
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
417
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
418
+ const _response = yield core.fetcher({
419
+ 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, `private-messages/${core.url.encodePathParam(id)}/replies`),
420
+ method: "POST",
421
+ headers: _headers,
422
+ contentType: "application/json",
423
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
424
+ requestType: "json",
425
+ body: _body,
426
+ 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,
427
+ 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,
428
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
429
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
430
+ logging: this._options.logging,
431
+ });
432
+ if (_response.ok) {
433
+ return {
434
+ data: _response.body,
435
+ rawResponse: _response.rawResponse,
436
+ };
437
+ }
438
+ if (_response.error.reason === "status-code") {
439
+ switch (_response.error.statusCode) {
440
+ case 400:
441
+ throw new Forum.BadRequestError(_response.error.body, _response.rawResponse);
442
+ case 401:
443
+ throw new Forum.UnauthorizedError(_response.error.body, _response.rawResponse);
444
+ case 404:
445
+ throw new Forum.NotFoundError(_response.error.body, _response.rawResponse);
446
+ case 429:
447
+ throw new Forum.TooManyRequestsError(_response.error.body, _response.rawResponse);
448
+ case 500:
449
+ throw new Forum.InternalServerError(_response.error.body, _response.rawResponse);
450
+ default:
451
+ throw new errors.ForumError({
452
+ statusCode: _response.error.statusCode,
453
+ body: _response.error.body,
454
+ rawResponse: _response.rawResponse,
455
+ });
456
+ }
457
+ }
458
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/private-messages/{id}/replies");
459
+ });
460
+ }
461
+ /**
462
+ * @param {Forum.GetPrivateMessagesIdRepliesSubIdRequest} request
463
+ * @param {PrivateMessagesClient.RequestOptions} requestOptions - Request-specific configuration.
464
+ *
465
+ * @throws {@link Forum.UnauthorizedError}
466
+ * @throws {@link Forum.NotFoundError}
467
+ * @throws {@link Forum.TooManyRequestsError}
468
+ * @throws {@link Forum.InternalServerError}
469
+ *
470
+ * @example
471
+ * await client.privateMessages.getAReplieFromPrivateMessage({
472
+ * id: "id",
473
+ * subId: "subId"
474
+ * })
475
+ */
476
+ getAReplieFromPrivateMessage(request, requestOptions) {
477
+ return core.HttpResponsePromise.fromPromise(this.__getAReplieFromPrivateMessage(request, requestOptions));
478
+ }
479
+ __getAReplieFromPrivateMessage(request, requestOptions) {
480
+ return __awaiter(this, void 0, void 0, function* () {
481
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
482
+ const { id, subId } = request;
483
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
484
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
485
+ const _response = yield core.fetcher({
486
+ 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, `private-messages/${core.url.encodePathParam(id)}/replies/${core.url.encodePathParam(subId)}`),
487
+ method: "GET",
488
+ headers: _headers,
489
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
490
+ 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,
491
+ 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,
492
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
493
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
494
+ logging: this._options.logging,
495
+ });
496
+ if (_response.ok) {
497
+ return {
498
+ data: _response.body,
499
+ rawResponse: _response.rawResponse,
500
+ };
501
+ }
502
+ if (_response.error.reason === "status-code") {
503
+ switch (_response.error.statusCode) {
504
+ case 401:
505
+ throw new Forum.UnauthorizedError(_response.error.body, _response.rawResponse);
506
+ case 404:
507
+ throw new Forum.NotFoundError(_response.error.body, _response.rawResponse);
508
+ case 429:
509
+ throw new Forum.TooManyRequestsError(_response.error.body, _response.rawResponse);
510
+ case 500:
511
+ throw new Forum.InternalServerError(_response.error.body, _response.rawResponse);
512
+ default:
513
+ throw new errors.ForumError({
514
+ statusCode: _response.error.statusCode,
515
+ body: _response.error.body,
516
+ rawResponse: _response.rawResponse,
517
+ });
518
+ }
519
+ }
520
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/private-messages/{id}/replies/{subId}");
521
+ });
522
+ }
523
+ /**
524
+ * @param {Forum.DeletePrivateMessagesIdRepliesSubIdRequest} request
525
+ * @param {PrivateMessagesClient.RequestOptions} requestOptions - Request-specific configuration.
526
+ *
527
+ * @throws {@link Forum.UnauthorizedError}
528
+ * @throws {@link Forum.NotFoundError}
529
+ * @throws {@link Forum.TooManyRequestsError}
530
+ * @throws {@link Forum.InternalServerError}
531
+ *
532
+ * @example
533
+ * await client.privateMessages.deleteAReplieFromPrivateMessage({
534
+ * id: "id",
535
+ * subId: "subId"
536
+ * })
537
+ */
538
+ deleteAReplieFromPrivateMessage(request, requestOptions) {
539
+ return core.HttpResponsePromise.fromPromise(this.__deleteAReplieFromPrivateMessage(request, requestOptions));
540
+ }
541
+ __deleteAReplieFromPrivateMessage(request, requestOptions) {
542
+ return __awaiter(this, void 0, void 0, function* () {
543
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
544
+ const { id, subId } = request;
545
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
546
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
547
+ const _response = yield core.fetcher({
548
+ 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, `private-messages/${core.url.encodePathParam(id)}/replies/${core.url.encodePathParam(subId)}`),
549
+ method: "DELETE",
550
+ headers: _headers,
551
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
552
+ 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,
553
+ 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,
554
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
555
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
556
+ logging: this._options.logging,
557
+ });
558
+ if (_response.ok) {
559
+ return {
560
+ data: _response.body,
561
+ rawResponse: _response.rawResponse,
562
+ };
563
+ }
564
+ if (_response.error.reason === "status-code") {
565
+ switch (_response.error.statusCode) {
566
+ case 401:
567
+ throw new Forum.UnauthorizedError(_response.error.body, _response.rawResponse);
568
+ case 404:
569
+ throw new Forum.NotFoundError(_response.error.body, _response.rawResponse);
570
+ case 429:
571
+ throw new Forum.TooManyRequestsError(_response.error.body, _response.rawResponse);
572
+ case 500:
573
+ throw new Forum.InternalServerError(_response.error.body, _response.rawResponse);
574
+ default:
575
+ throw new errors.ForumError({
576
+ statusCode: _response.error.statusCode,
577
+ body: _response.error.body,
578
+ rawResponse: _response.rawResponse,
579
+ });
580
+ }
581
+ }
582
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "DELETE", "/private-messages/{id}/replies/{subId}");
583
+ });
584
+ }
585
+ }
586
+ exports.PrivateMessagesClient = PrivateMessagesClient;
@@ -0,0 +1 @@
1
+ export * from "./requests/index.js";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./requests/index.js"), exports);
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * id: "id",
5
+ * subId: "subId"
6
+ * }
7
+ */
8
+ export interface DeletePrivateMessagesIdRepliesSubIdRequest {
9
+ /** Private Message ID */
10
+ id: string;
11
+ /** Replie ID */
12
+ subId: string;
13
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * id: "id"
5
+ * }
6
+ */
7
+ export interface DeletePrivateMessagesIdRequest {
8
+ id: string;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * id: "id"
5
+ * }
6
+ */
7
+ export interface GetPrivateMessagesIdRepliesRequest {
8
+ /** Private Message ID */
9
+ id: string;
10
+ /** Pagination cursor */
11
+ cursor?: string;
12
+ /** Items per page */
13
+ limit?: number;
14
+ }