@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,4 @@
1
+ export type Supplier<T> = T | Promise<T> | (() => T | Promise<T>);
2
+ export declare const Supplier: {
3
+ get: <T>(supplier: Supplier<T>) => Promise<T>;
4
+ };
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.Supplier = void 0;
13
+ exports.Supplier = {
14
+ get: (supplier) => __awaiter(void 0, void 0, void 0, function* () {
15
+ if (typeof supplier === "function") {
16
+ return supplier();
17
+ }
18
+ else {
19
+ return supplier;
20
+ }
21
+ }),
22
+ };
@@ -0,0 +1 @@
1
+ export declare function createRequestUrl(baseUrl: string, queryParameters?: Record<string, unknown>): string;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.createRequestUrl = createRequestUrl;
4
+ const qs_js_1 = require("../url/qs.js");
5
+ function createRequestUrl(baseUrl, queryParameters) {
6
+ const queryString = (0, qs_js_1.toQueryString)(queryParameters, { arrayFormat: "repeat" });
7
+ return queryString ? `${baseUrl}?${queryString}` : baseUrl;
8
+ }
@@ -0,0 +1 @@
1
+ export declare function getErrorResponseBody(response: Response): Promise<unknown>;
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.getErrorResponseBody = getErrorResponseBody;
13
+ const json_js_1 = require("../json.js");
14
+ const getResponseBody_js_1 = require("./getResponseBody.js");
15
+ function getErrorResponseBody(response) {
16
+ return __awaiter(this, void 0, void 0, function* () {
17
+ var _a, _b, _c;
18
+ let contentType = (_a = response.headers.get("Content-Type")) === null || _a === void 0 ? void 0 : _a.toLowerCase();
19
+ if (contentType == null || contentType.length === 0) {
20
+ return (0, getResponseBody_js_1.getResponseBody)(response);
21
+ }
22
+ if (contentType.indexOf(";") !== -1) {
23
+ contentType = (_c = (_b = contentType.split(";")[0]) === null || _b === void 0 ? void 0 : _b.trim()) !== null && _c !== void 0 ? _c : "";
24
+ }
25
+ switch (contentType) {
26
+ case "application/hal+json":
27
+ case "application/json":
28
+ case "application/ld+json":
29
+ case "application/problem+json":
30
+ case "application/vnd.api+json":
31
+ case "text/json": {
32
+ const text = yield response.text();
33
+ return text.length > 0 ? (0, json_js_1.fromJson)(text) : undefined;
34
+ }
35
+ default:
36
+ if (contentType.startsWith("application/vnd.") && contentType.endsWith("+json")) {
37
+ const text = yield response.text();
38
+ return text.length > 0 ? (0, json_js_1.fromJson)(text) : undefined;
39
+ }
40
+ // Fallback to plain text if content type is not recognized
41
+ // Even if no body is present, the response will be an empty string
42
+ return yield response.text();
43
+ }
44
+ });
45
+ }
@@ -0,0 +1 @@
1
+ export declare function getFetchFn(): Promise<typeof fetch>;
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.getFetchFn = getFetchFn;
13
+ function getFetchFn() {
14
+ return __awaiter(this, void 0, void 0, function* () {
15
+ return fetch;
16
+ });
17
+ }
@@ -0,0 +1 @@
1
+ export declare function getHeader(headers: Record<string, any>, header: string): string | undefined;
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getHeader = getHeader;
4
+ function getHeader(headers, header) {
5
+ for (const [headerKey, headerValue] of Object.entries(headers)) {
6
+ if (headerKey.toLowerCase() === header.toLowerCase()) {
7
+ return headerValue;
8
+ }
9
+ }
10
+ return undefined;
11
+ }
@@ -0,0 +1,7 @@
1
+ export declare namespace GetRequestBody {
2
+ interface Args {
3
+ body: unknown;
4
+ type: "json" | "file" | "bytes" | "form" | "other";
5
+ }
6
+ }
7
+ export declare function getRequestBody({ body, type }: GetRequestBody.Args): Promise<BodyInit | undefined>;
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.getRequestBody = getRequestBody;
13
+ const json_js_1 = require("../json.js");
14
+ const qs_js_1 = require("../url/qs.js");
15
+ function getRequestBody(_a) {
16
+ return __awaiter(this, arguments, void 0, function* ({ body, type }) {
17
+ if (type === "form") {
18
+ return (0, qs_js_1.toQueryString)(body, { arrayFormat: "repeat", encode: true });
19
+ }
20
+ if (type.includes("json")) {
21
+ return (0, json_js_1.toJson)(body);
22
+ }
23
+ else {
24
+ return body;
25
+ }
26
+ });
27
+ }
@@ -0,0 +1 @@
1
+ export declare function getResponseBody(response: Response, responseType?: string): Promise<unknown>;
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.getResponseBody = getResponseBody;
13
+ const json_js_1 = require("../json.js");
14
+ const BinaryResponse_js_1 = require("./BinaryResponse.js");
15
+ function getResponseBody(response, responseType) {
16
+ return __awaiter(this, void 0, void 0, function* () {
17
+ switch (responseType) {
18
+ case "binary-response":
19
+ return (0, BinaryResponse_js_1.getBinaryResponse)(response);
20
+ case "blob":
21
+ return yield response.blob();
22
+ case "arrayBuffer":
23
+ return yield response.arrayBuffer();
24
+ case "sse":
25
+ if (response.body == null) {
26
+ return {
27
+ ok: false,
28
+ error: {
29
+ reason: "body-is-null",
30
+ statusCode: response.status,
31
+ },
32
+ };
33
+ }
34
+ return response.body;
35
+ case "streaming":
36
+ if (response.body == null) {
37
+ return {
38
+ ok: false,
39
+ error: {
40
+ reason: "body-is-null",
41
+ statusCode: response.status,
42
+ },
43
+ };
44
+ }
45
+ return response.body;
46
+ case "text":
47
+ return yield response.text();
48
+ }
49
+ // if responseType is "json" or not specified, try to parse as JSON
50
+ const text = yield response.text();
51
+ if (text.length > 0) {
52
+ try {
53
+ const responseBody = (0, json_js_1.fromJson)(text);
54
+ return responseBody;
55
+ }
56
+ catch (_err) {
57
+ return {
58
+ ok: false,
59
+ error: {
60
+ reason: "non-json",
61
+ statusCode: response.status,
62
+ rawBody: text,
63
+ },
64
+ };
65
+ }
66
+ }
67
+ return undefined;
68
+ });
69
+ }
@@ -0,0 +1,11 @@
1
+ export type { APIResponse } from "./APIResponse.js";
2
+ export type { BinaryResponse } from "./BinaryResponse.js";
3
+ export type { EndpointMetadata } from "./EndpointMetadata.js";
4
+ export { EndpointSupplier } from "./EndpointSupplier.js";
5
+ export type { Fetcher, FetchFunction } from "./Fetcher.js";
6
+ export { fetcher } from "./Fetcher.js";
7
+ export { getHeader } from "./getHeader.js";
8
+ export { HttpResponsePromise } from "./HttpResponsePromise.js";
9
+ export type { RawResponse, WithRawResponse } from "./RawResponse.js";
10
+ export { abortRawResponse, toRawResponse, unknownRawResponse } from "./RawResponse.js";
11
+ export { Supplier } from "./Supplier.js";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Supplier = exports.unknownRawResponse = exports.toRawResponse = exports.abortRawResponse = exports.HttpResponsePromise = exports.getHeader = exports.fetcher = exports.EndpointSupplier = void 0;
4
+ var EndpointSupplier_js_1 = require("./EndpointSupplier.js");
5
+ Object.defineProperty(exports, "EndpointSupplier", { enumerable: true, get: function () { return EndpointSupplier_js_1.EndpointSupplier; } });
6
+ var Fetcher_js_1 = require("./Fetcher.js");
7
+ Object.defineProperty(exports, "fetcher", { enumerable: true, get: function () { return Fetcher_js_1.fetcher; } });
8
+ var getHeader_js_1 = require("./getHeader.js");
9
+ Object.defineProperty(exports, "getHeader", { enumerable: true, get: function () { return getHeader_js_1.getHeader; } });
10
+ var HttpResponsePromise_js_1 = require("./HttpResponsePromise.js");
11
+ Object.defineProperty(exports, "HttpResponsePromise", { enumerable: true, get: function () { return HttpResponsePromise_js_1.HttpResponsePromise; } });
12
+ var RawResponse_js_1 = require("./RawResponse.js");
13
+ Object.defineProperty(exports, "abortRawResponse", { enumerable: true, get: function () { return RawResponse_js_1.abortRawResponse; } });
14
+ Object.defineProperty(exports, "toRawResponse", { enumerable: true, get: function () { return RawResponse_js_1.toRawResponse; } });
15
+ Object.defineProperty(exports, "unknownRawResponse", { enumerable: true, get: function () { return RawResponse_js_1.unknownRawResponse; } });
16
+ var Supplier_js_1 = require("./Supplier.js");
17
+ Object.defineProperty(exports, "Supplier", { enumerable: true, get: function () { return Supplier_js_1.Supplier; } });
@@ -0,0 +1 @@
1
+ export declare const makeRequest: (fetchFn: (url: string, init: RequestInit) => Promise<Response>, url: string, method: string, headers: Headers | Record<string, string>, requestBody: BodyInit | undefined, timeoutMs?: number, abortSignal?: AbortSignal, withCredentials?: boolean, duplex?: "half") => Promise<Response>;
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.makeRequest = void 0;
13
+ const signals_js_1 = require("./signals.js");
14
+ const makeRequest = (fetchFn, url, method, headers, requestBody, timeoutMs, abortSignal, withCredentials, duplex) => __awaiter(void 0, void 0, void 0, function* () {
15
+ const signals = [];
16
+ let timeoutAbortId;
17
+ if (timeoutMs != null) {
18
+ const { signal, abortId } = (0, signals_js_1.getTimeoutSignal)(timeoutMs);
19
+ timeoutAbortId = abortId;
20
+ signals.push(signal);
21
+ }
22
+ if (abortSignal != null) {
23
+ signals.push(abortSignal);
24
+ }
25
+ const newSignals = (0, signals_js_1.anySignal)(signals);
26
+ const response = yield fetchFn(url, {
27
+ method: method,
28
+ headers,
29
+ body: requestBody,
30
+ signal: newSignals,
31
+ credentials: withCredentials ? "include" : undefined,
32
+ // @ts-ignore
33
+ duplex,
34
+ });
35
+ if (timeoutAbortId != null) {
36
+ clearTimeout(timeoutAbortId);
37
+ }
38
+ return response;
39
+ });
40
+ exports.makeRequest = makeRequest;
@@ -0,0 +1 @@
1
+ export declare function requestWithRetries(requestFn: () => Promise<Response>, maxRetries?: number): Promise<Response>;
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.requestWithRetries = requestWithRetries;
13
+ const INITIAL_RETRY_DELAY = 1000; // in milliseconds
14
+ const MAX_RETRY_DELAY = 60000; // in milliseconds
15
+ const DEFAULT_MAX_RETRIES = 2;
16
+ const JITTER_FACTOR = 0.2; // 20% random jitter
17
+ function addPositiveJitter(delay) {
18
+ const jitterMultiplier = 1 + Math.random() * JITTER_FACTOR;
19
+ return delay * jitterMultiplier;
20
+ }
21
+ function addSymmetricJitter(delay) {
22
+ const jitterMultiplier = 1 + (Math.random() - 0.5) * JITTER_FACTOR;
23
+ return delay * jitterMultiplier;
24
+ }
25
+ function getRetryDelayFromHeaders(response, retryAttempt) {
26
+ const retryAfter = response.headers.get("Retry-After");
27
+ if (retryAfter) {
28
+ const retryAfterSeconds = parseInt(retryAfter, 10);
29
+ if (!Number.isNaN(retryAfterSeconds) && retryAfterSeconds > 0) {
30
+ return Math.min(retryAfterSeconds * 1000, MAX_RETRY_DELAY);
31
+ }
32
+ const retryAfterDate = new Date(retryAfter);
33
+ if (!Number.isNaN(retryAfterDate.getTime())) {
34
+ const delay = retryAfterDate.getTime() - Date.now();
35
+ if (delay > 0) {
36
+ return Math.min(Math.max(delay, 0), MAX_RETRY_DELAY);
37
+ }
38
+ }
39
+ }
40
+ const rateLimitReset = response.headers.get("X-RateLimit-Reset");
41
+ if (rateLimitReset) {
42
+ const resetTime = parseInt(rateLimitReset, 10);
43
+ if (!Number.isNaN(resetTime)) {
44
+ const delay = resetTime * 1000 - Date.now();
45
+ if (delay > 0) {
46
+ return addPositiveJitter(Math.min(delay, MAX_RETRY_DELAY));
47
+ }
48
+ }
49
+ }
50
+ return addSymmetricJitter(Math.min(INITIAL_RETRY_DELAY * Math.pow(2, retryAttempt), MAX_RETRY_DELAY));
51
+ }
52
+ function requestWithRetries(requestFn_1) {
53
+ return __awaiter(this, arguments, void 0, function* (requestFn, maxRetries = DEFAULT_MAX_RETRIES) {
54
+ let response = yield requestFn();
55
+ for (let i = 0; i < maxRetries; ++i) {
56
+ if ([408, 429].includes(response.status) || response.status >= 500) {
57
+ const delay = getRetryDelayFromHeaders(response, i);
58
+ yield new Promise((resolve) => setTimeout(resolve, delay));
59
+ response = yield requestFn();
60
+ }
61
+ else {
62
+ break;
63
+ }
64
+ }
65
+ return response;
66
+ });
67
+ }
@@ -0,0 +1,5 @@
1
+ export declare function getTimeoutSignal(timeoutMs: number): {
2
+ signal: AbortSignal;
3
+ abortId: ReturnType<typeof setTimeout>;
4
+ };
5
+ export declare function anySignal(...args: AbortSignal[] | [AbortSignal[]]): AbortSignal;
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getTimeoutSignal = getTimeoutSignal;
4
+ exports.anySignal = anySignal;
5
+ const TIMEOUT = "timeout";
6
+ function getTimeoutSignal(timeoutMs) {
7
+ const controller = new AbortController();
8
+ const abortId = setTimeout(() => controller.abort(TIMEOUT), timeoutMs);
9
+ return { signal: controller.signal, abortId };
10
+ }
11
+ function anySignal(...args) {
12
+ const signals = (args.length === 1 && Array.isArray(args[0]) ? args[0] : args);
13
+ const controller = new AbortController();
14
+ for (const signal of signals) {
15
+ if (signal.aborted) {
16
+ controller.abort(signal === null || signal === void 0 ? void 0 : signal.reason);
17
+ break;
18
+ }
19
+ signal.addEventListener("abort", () => controller.abort(signal === null || signal === void 0 ? void 0 : signal.reason), {
20
+ signal: controller.signal,
21
+ });
22
+ }
23
+ return controller.signal;
24
+ }
@@ -0,0 +1,2 @@
1
+ export declare function mergeHeaders<THeaderValue>(...headersArray: (Record<string, THeaderValue> | null | undefined)[]): Record<string, string | THeaderValue>;
2
+ export declare function mergeOnlyDefinedHeaders<THeaderValue>(...headersArray: (Record<string, THeaderValue> | null | undefined)[]): Record<string, THeaderValue>;
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.mergeHeaders = mergeHeaders;
4
+ exports.mergeOnlyDefinedHeaders = mergeOnlyDefinedHeaders;
5
+ function mergeHeaders(...headersArray) {
6
+ const result = {};
7
+ for (const [key, value] of headersArray
8
+ .filter((headers) => headers != null)
9
+ .flatMap((headers) => Object.entries(headers))) {
10
+ const insensitiveKey = key.toLowerCase();
11
+ if (value != null) {
12
+ result[insensitiveKey] = value;
13
+ }
14
+ else if (insensitiveKey in result) {
15
+ delete result[insensitiveKey];
16
+ }
17
+ }
18
+ return result;
19
+ }
20
+ function mergeOnlyDefinedHeaders(...headersArray) {
21
+ const result = {};
22
+ for (const [key, value] of headersArray
23
+ .filter((headers) => headers != null)
24
+ .flatMap((headers) => Object.entries(headers))) {
25
+ const insensitiveKey = key.toLowerCase();
26
+ if (value != null) {
27
+ result[insensitiveKey] = value;
28
+ }
29
+ }
30
+ return result;
31
+ }
@@ -0,0 +1,6 @@
1
+ export * from "./auth/index.js";
2
+ export * from "./base64.js";
3
+ export * from "./fetcher/index.js";
4
+ export * as logging from "./logging/index.js";
5
+ export * from "./runtime/index.js";
6
+ export * as url from "./url/index.js";
@@ -0,0 +1,45 @@
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
19
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
20
+ };
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.url = exports.logging = void 0;
40
+ __exportStar(require("./auth/index.js"), exports);
41
+ __exportStar(require("./base64.js"), exports);
42
+ __exportStar(require("./fetcher/index.js"), exports);
43
+ exports.logging = __importStar(require("./logging/index.js"));
44
+ __exportStar(require("./runtime/index.js"), exports);
45
+ exports.url = __importStar(require("./url/index.js"));
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Serialize a value to JSON
3
+ * @param value A JavaScript value, usually an object or array, to be converted.
4
+ * @param replacer A function that transforms the results.
5
+ * @param space Adds indentation, white space, and line break characters to the return-value JSON text to make it easier to read.
6
+ * @returns JSON string
7
+ */
8
+ export declare const toJson: (value: unknown, replacer?: (this: unknown, key: string, value: unknown) => unknown, space?: string | number) => string;
9
+ /**
10
+ * Parse JSON string to object, array, or other type
11
+ * @param text A valid JSON string.
12
+ * @param reviver A function that transforms the results. This function is called for each member of the object. If a member contains nested objects, the nested objects are transformed before the parent object is.
13
+ * @returns Parsed object, array, or other type
14
+ */
15
+ export declare function fromJson<T = unknown>(text: string, reviver?: (this: unknown, key: string, value: unknown) => unknown): T;
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.toJson = void 0;
4
+ exports.fromJson = fromJson;
5
+ /**
6
+ * Serialize a value to JSON
7
+ * @param value A JavaScript value, usually an object or array, to be converted.
8
+ * @param replacer A function that transforms the results.
9
+ * @param space Adds indentation, white space, and line break characters to the return-value JSON text to make it easier to read.
10
+ * @returns JSON string
11
+ */
12
+ const toJson = (value, replacer, space) => {
13
+ return JSON.stringify(value, replacer, space);
14
+ };
15
+ exports.toJson = toJson;
16
+ /**
17
+ * Parse JSON string to object, array, or other type
18
+ * @param text A valid JSON string.
19
+ * @param reviver A function that transforms the results. This function is called for each member of the object. If a member contains nested objects, the nested objects are transformed before the parent object is.
20
+ * @returns Parsed object, array, or other type
21
+ */
22
+ function fromJson(text, reviver) {
23
+ return JSON.parse(text, reviver);
24
+ }
@@ -0,0 +1,18 @@
1
+ import * as logger from "./logger.js";
2
+ export declare namespace logging {
3
+ /**
4
+ * Configuration for logger instances.
5
+ */
6
+ type LogConfig = logger.LogConfig;
7
+ type LogLevel = logger.LogLevel;
8
+ const LogLevel: typeof logger.LogLevel;
9
+ type ILogger = logger.ILogger;
10
+ /**
11
+ * Console logger implementation that outputs to the console.
12
+ */
13
+ type ConsoleLogger = logger.ConsoleLogger;
14
+ /**
15
+ * Console logger implementation that outputs to the console.
16
+ */
17
+ const ConsoleLogger: typeof logger.ConsoleLogger;
18
+ }
@@ -0,0 +1,45 @@
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.logging = void 0;
37
+ const logger = __importStar(require("./logger.js"));
38
+ var logging;
39
+ (function (logging) {
40
+ logging.LogLevel = logger.LogLevel;
41
+ /**
42
+ * Console logger implementation that outputs to the console.
43
+ */
44
+ logging.ConsoleLogger = logger.ConsoleLogger;
45
+ })(logging || (exports.logging = logging = {}));
@@ -0,0 +1 @@
1
+ export * from "./logger.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("./logger.js"), exports);