@selfcommunity/api-services 0.4.0-alpha.8 → 0.4.0

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 (518) hide show
  1. package/lib/cjs/client/index.d.ts +2 -10
  2. package/lib/cjs/client/index.js +3 -6
  3. package/lib/cjs/constants/Endpoints.d.ts +1 -2
  4. package/lib/cjs/constants/Endpoints.js +15 -4
  5. package/lib/cjs/constants/Errors.d.ts +0 -1
  6. package/lib/cjs/constants/Errors.js +0 -1
  7. package/lib/cjs/index.d.ts +3 -4
  8. package/lib/cjs/index.js +36 -61
  9. package/lib/cjs/services/account/index.d.ts +7 -1
  10. package/lib/cjs/services/account/index.js +20 -19
  11. package/lib/cjs/services/category/index.d.ts +0 -1
  12. package/lib/cjs/services/category/index.js +18 -30
  13. package/lib/cjs/services/comment/index.d.ts +0 -1
  14. package/lib/cjs/services/comment/index.js +13 -25
  15. package/lib/cjs/services/custom_adv/index.d.ts +0 -1
  16. package/lib/cjs/services/custom_adv/index.js +5 -17
  17. package/lib/cjs/services/custom_menu/index.d.ts +0 -1
  18. package/lib/cjs/services/custom_menu/index.js +6 -18
  19. package/lib/cjs/services/custom_page/index.d.ts +0 -1
  20. package/lib/cjs/services/custom_page/index.js +5 -17
  21. package/lib/cjs/services/data_portability/index.d.ts +0 -1
  22. package/lib/cjs/services/data_portability/index.js +5 -17
  23. package/lib/cjs/services/embed/index.d.ts +0 -1
  24. package/lib/cjs/services/embed/index.js +10 -22
  25. package/lib/cjs/services/feature/index.d.ts +0 -1
  26. package/lib/cjs/services/feature/index.js +3 -15
  27. package/lib/cjs/services/feed/index.d.ts +0 -1
  28. package/lib/cjs/services/feed/index.js +7 -19
  29. package/lib/cjs/services/feed_object/index.d.ts +0 -1
  30. package/lib/cjs/services/feed_object/index.js +29 -41
  31. package/lib/cjs/services/incubator/index.d.ts +0 -1
  32. package/lib/cjs/services/incubator/index.js +9 -21
  33. package/lib/cjs/services/insight/index.d.ts +0 -1
  34. package/lib/cjs/services/insight/index.js +8 -20
  35. package/lib/cjs/services/invite/index.d.ts +0 -1
  36. package/lib/cjs/services/invite/index.js +3 -15
  37. package/lib/cjs/services/legal_page/index.d.ts +0 -1
  38. package/lib/cjs/services/legal_page/index.js +11 -23
  39. package/lib/cjs/services/locality/index.d.ts +0 -1
  40. package/lib/cjs/services/locality/index.js +4 -16
  41. package/lib/cjs/services/loyalty/index.d.ts +5 -5
  42. package/lib/cjs/services/loyalty/index.js +16 -27
  43. package/lib/cjs/services/media/index.d.ts +0 -1
  44. package/lib/cjs/services/media/index.js +9 -21
  45. package/lib/cjs/services/moderation/index.d.ts +0 -1
  46. package/lib/cjs/services/moderation/index.js +8 -20
  47. package/lib/cjs/services/notification/index.d.ts +0 -1
  48. package/lib/cjs/services/notification/index.js +11 -23
  49. package/lib/cjs/services/preference/index.d.ts +0 -1
  50. package/lib/cjs/services/preference/index.js +5 -17
  51. package/lib/cjs/services/private_message/index.d.ts +0 -1
  52. package/lib/cjs/services/private_message/index.js +13 -25
  53. package/lib/cjs/services/promo/index.d.ts +0 -1
  54. package/lib/cjs/services/promo/index.js +3 -15
  55. package/lib/cjs/services/reactions/index.d.ts +7 -1
  56. package/lib/cjs/services/reactions/index.js +24 -16
  57. package/lib/cjs/services/score/index.d.ts +0 -1
  58. package/lib/cjs/services/score/index.js +5 -17
  59. package/lib/cjs/services/sso/index.d.ts +0 -1
  60. package/lib/cjs/services/sso/index.js +4 -16
  61. package/lib/cjs/services/suggestion/index.d.ts +0 -1
  62. package/lib/cjs/services/suggestion/index.js +7 -19
  63. package/lib/cjs/services/tag/index.d.ts +0 -1
  64. package/lib/cjs/services/tag/index.js +9 -21
  65. package/lib/cjs/services/user/index.d.ts +20 -13
  66. package/lib/cjs/services/user/index.js +82 -84
  67. package/lib/cjs/services/webhook/index.d.ts +0 -1
  68. package/lib/cjs/services/webhook/index.js +14 -26
  69. package/lib/cjs/types/account.d.ts +0 -1
  70. package/lib/cjs/types/account.js +0 -1
  71. package/lib/cjs/types/baseParams.d.ts +0 -1
  72. package/lib/cjs/types/baseParams.js +0 -1
  73. package/lib/cjs/types/category.d.ts +0 -1
  74. package/lib/cjs/types/category.js +0 -1
  75. package/lib/cjs/types/comment.d.ts +0 -1
  76. package/lib/cjs/types/comment.js +0 -1
  77. package/lib/cjs/types/customAdv.d.ts +0 -1
  78. package/lib/cjs/types/customAdv.js +0 -1
  79. package/lib/cjs/types/customPage.d.ts +0 -1
  80. package/lib/cjs/types/customPage.js +0 -1
  81. package/lib/cjs/types/embed.d.ts +0 -1
  82. package/lib/cjs/types/embed.js +0 -1
  83. package/lib/cjs/types/feature.d.ts +0 -1
  84. package/lib/cjs/types/feature.js +0 -1
  85. package/lib/cjs/types/feed.d.ts +0 -1
  86. package/lib/cjs/types/feed.js +0 -1
  87. package/lib/cjs/types/feedObject.d.ts +0 -1
  88. package/lib/cjs/types/feedObject.js +0 -1
  89. package/lib/cjs/types/incubator.d.ts +0 -1
  90. package/lib/cjs/types/incubator.js +0 -1
  91. package/lib/cjs/types/index.d.ts +2 -3
  92. package/lib/cjs/types/index.js +0 -1
  93. package/lib/cjs/types/insight.d.ts +0 -1
  94. package/lib/cjs/types/insight.js +0 -1
  95. package/lib/cjs/types/legalPage.d.ts +0 -1
  96. package/lib/cjs/types/legalPage.js +0 -1
  97. package/lib/cjs/types/media.d.ts +0 -1
  98. package/lib/cjs/types/media.js +0 -1
  99. package/lib/cjs/types/moderation.d.ts +0 -1
  100. package/lib/cjs/types/moderation.js +0 -1
  101. package/lib/cjs/types/notification.d.ts +0 -1
  102. package/lib/cjs/types/notification.js +0 -1
  103. package/lib/cjs/types/paginatedResponse.d.ts +0 -1
  104. package/lib/cjs/types/paginatedResponse.js +0 -1
  105. package/lib/cjs/types/privateMessage.d.ts +0 -1
  106. package/lib/cjs/types/privateMessage.js +0 -1
  107. package/lib/cjs/types/prize.d.ts +14 -1
  108. package/lib/cjs/types/prize.js +0 -1
  109. package/lib/cjs/types/reaction.d.ts +0 -1
  110. package/lib/cjs/types/reaction.js +0 -1
  111. package/lib/cjs/types/score.d.ts +0 -1
  112. package/lib/cjs/types/score.js +0 -1
  113. package/lib/cjs/types/sso.d.ts +0 -1
  114. package/lib/cjs/types/sso.js +0 -1
  115. package/lib/cjs/types/tag.d.ts +0 -1
  116. package/lib/cjs/types/tag.js +0 -1
  117. package/lib/cjs/types/user.d.ts +0 -1
  118. package/lib/cjs/types/user.js +0 -1
  119. package/lib/cjs/types/webhook.d.ts +0 -1
  120. package/lib/cjs/types/webhook.js +0 -1
  121. package/lib/cjs/utils/apiRequest.d.ts +0 -1
  122. package/lib/cjs/utils/apiRequest.js +3 -6
  123. package/lib/cjs/utils/http.d.ts +2 -2
  124. package/lib/cjs/utils/http.js +32 -6
  125. package/lib/cjs/utils/token.d.ts +0 -1
  126. package/lib/cjs/utils/token.js +3 -35
  127. package/lib/cjs/utils/url.d.ts +0 -1
  128. package/lib/cjs/utils/url.js +0 -1
  129. package/lib/esm/client/index.d.ts +2 -10
  130. package/lib/esm/client/index.js +1 -2
  131. package/lib/esm/constants/Endpoints.d.ts +1 -2
  132. package/lib/esm/constants/Endpoints.js +15 -4
  133. package/lib/esm/constants/Errors.d.ts +0 -1
  134. package/lib/esm/constants/Errors.js +0 -1
  135. package/lib/esm/index.d.ts +3 -4
  136. package/lib/esm/index.js +2 -3
  137. package/lib/esm/services/account/index.d.ts +7 -1
  138. package/lib/esm/services/account/index.js +14 -10
  139. package/lib/esm/services/category/index.d.ts +0 -1
  140. package/lib/esm/services/category/index.js +1 -10
  141. package/lib/esm/services/comment/index.d.ts +0 -1
  142. package/lib/esm/services/comment/index.js +1 -10
  143. package/lib/esm/services/custom_adv/index.d.ts +0 -1
  144. package/lib/esm/services/custom_adv/index.js +1 -10
  145. package/lib/esm/services/custom_menu/index.d.ts +0 -1
  146. package/lib/esm/services/custom_menu/index.js +1 -10
  147. package/lib/esm/services/custom_page/index.d.ts +0 -1
  148. package/lib/esm/services/custom_page/index.js +1 -10
  149. package/lib/esm/services/data_portability/index.d.ts +0 -1
  150. package/lib/esm/services/data_portability/index.js +1 -10
  151. package/lib/esm/services/embed/index.d.ts +0 -1
  152. package/lib/esm/services/embed/index.js +1 -10
  153. package/lib/esm/services/feature/index.d.ts +0 -1
  154. package/lib/esm/services/feature/index.js +1 -10
  155. package/lib/esm/services/feed/index.d.ts +0 -1
  156. package/lib/esm/services/feed/index.js +1 -10
  157. package/lib/esm/services/feed_object/index.d.ts +0 -1
  158. package/lib/esm/services/feed_object/index.js +1 -10
  159. package/lib/esm/services/incubator/index.d.ts +0 -1
  160. package/lib/esm/services/incubator/index.js +1 -10
  161. package/lib/esm/services/insight/index.d.ts +0 -1
  162. package/lib/esm/services/insight/index.js +1 -10
  163. package/lib/esm/services/invite/index.d.ts +0 -1
  164. package/lib/esm/services/invite/index.js +1 -10
  165. package/lib/esm/services/legal_page/index.d.ts +0 -1
  166. package/lib/esm/services/legal_page/index.js +1 -10
  167. package/lib/esm/services/locality/index.d.ts +0 -1
  168. package/lib/esm/services/locality/index.js +1 -10
  169. package/lib/esm/services/loyalty/index.d.ts +5 -5
  170. package/lib/esm/services/loyalty/index.js +6 -14
  171. package/lib/esm/services/media/index.d.ts +0 -1
  172. package/lib/esm/services/media/index.js +1 -10
  173. package/lib/esm/services/moderation/index.d.ts +0 -1
  174. package/lib/esm/services/moderation/index.js +1 -10
  175. package/lib/esm/services/notification/index.d.ts +0 -1
  176. package/lib/esm/services/notification/index.js +1 -10
  177. package/lib/esm/services/preference/index.d.ts +0 -1
  178. package/lib/esm/services/preference/index.js +1 -10
  179. package/lib/esm/services/private_message/index.d.ts +0 -1
  180. package/lib/esm/services/private_message/index.js +1 -10
  181. package/lib/esm/services/promo/index.d.ts +0 -1
  182. package/lib/esm/services/promo/index.js +1 -10
  183. package/lib/esm/services/reactions/index.d.ts +7 -1
  184. package/lib/esm/services/reactions/index.js +21 -10
  185. package/lib/esm/services/score/index.d.ts +0 -1
  186. package/lib/esm/services/score/index.js +1 -10
  187. package/lib/esm/services/sso/index.d.ts +0 -1
  188. package/lib/esm/services/sso/index.js +1 -10
  189. package/lib/esm/services/suggestion/index.d.ts +0 -1
  190. package/lib/esm/services/suggestion/index.js +1 -10
  191. package/lib/esm/services/tag/index.d.ts +0 -1
  192. package/lib/esm/services/tag/index.js +1 -10
  193. package/lib/esm/services/user/index.d.ts +20 -13
  194. package/lib/esm/services/user/index.js +31 -30
  195. package/lib/esm/services/webhook/index.d.ts +0 -1
  196. package/lib/esm/services/webhook/index.js +1 -10
  197. package/lib/esm/types/account.d.ts +0 -1
  198. package/lib/esm/types/account.js +0 -1
  199. package/lib/esm/types/baseParams.d.ts +0 -1
  200. package/lib/esm/types/baseParams.js +0 -1
  201. package/lib/esm/types/category.d.ts +0 -1
  202. package/lib/esm/types/category.js +0 -1
  203. package/lib/esm/types/comment.d.ts +0 -1
  204. package/lib/esm/types/comment.js +0 -1
  205. package/lib/esm/types/customAdv.d.ts +0 -1
  206. package/lib/esm/types/customAdv.js +0 -1
  207. package/lib/esm/types/customPage.d.ts +0 -1
  208. package/lib/esm/types/customPage.js +0 -1
  209. package/lib/esm/types/embed.d.ts +0 -1
  210. package/lib/esm/types/embed.js +0 -1
  211. package/lib/esm/types/feature.d.ts +0 -1
  212. package/lib/esm/types/feature.js +0 -1
  213. package/lib/esm/types/feed.d.ts +0 -1
  214. package/lib/esm/types/feed.js +0 -1
  215. package/lib/esm/types/feedObject.d.ts +0 -1
  216. package/lib/esm/types/feedObject.js +0 -1
  217. package/lib/esm/types/incubator.d.ts +0 -1
  218. package/lib/esm/types/incubator.js +0 -1
  219. package/lib/esm/types/index.d.ts +2 -3
  220. package/lib/esm/types/index.js +0 -1
  221. package/lib/esm/types/insight.d.ts +0 -1
  222. package/lib/esm/types/insight.js +0 -1
  223. package/lib/esm/types/legalPage.d.ts +0 -1
  224. package/lib/esm/types/legalPage.js +0 -1
  225. package/lib/esm/types/media.d.ts +0 -1
  226. package/lib/esm/types/media.js +0 -1
  227. package/lib/esm/types/moderation.d.ts +0 -1
  228. package/lib/esm/types/moderation.js +0 -1
  229. package/lib/esm/types/notification.d.ts +0 -1
  230. package/lib/esm/types/notification.js +0 -1
  231. package/lib/esm/types/paginatedResponse.d.ts +0 -1
  232. package/lib/esm/types/paginatedResponse.js +0 -1
  233. package/lib/esm/types/privateMessage.d.ts +0 -1
  234. package/lib/esm/types/privateMessage.js +0 -1
  235. package/lib/esm/types/prize.d.ts +14 -1
  236. package/lib/esm/types/prize.js +0 -1
  237. package/lib/esm/types/reaction.d.ts +0 -1
  238. package/lib/esm/types/reaction.js +0 -1
  239. package/lib/esm/types/score.d.ts +0 -1
  240. package/lib/esm/types/score.js +0 -1
  241. package/lib/esm/types/sso.d.ts +0 -1
  242. package/lib/esm/types/sso.js +0 -1
  243. package/lib/esm/types/tag.d.ts +0 -1
  244. package/lib/esm/types/tag.js +0 -1
  245. package/lib/esm/types/user.d.ts +0 -1
  246. package/lib/esm/types/user.js +0 -1
  247. package/lib/esm/types/webhook.d.ts +0 -1
  248. package/lib/esm/types/webhook.js +0 -1
  249. package/lib/esm/utils/apiRequest.d.ts +0 -1
  250. package/lib/esm/utils/apiRequest.js +1 -2
  251. package/lib/esm/utils/http.d.ts +2 -2
  252. package/lib/esm/utils/http.js +29 -2
  253. package/lib/esm/utils/token.d.ts +0 -1
  254. package/lib/esm/utils/token.js +1 -10
  255. package/lib/esm/utils/url.d.ts +0 -1
  256. package/lib/esm/utils/url.js +0 -1
  257. package/lib/umd/956.js +2 -0
  258. package/lib/umd/956.js.LICENSE.txt +1 -0
  259. package/lib/umd/api-services.js +1 -2
  260. package/lib/umd/api-services.js.LICENSE.txt +1 -1
  261. package/package.json +20 -19
  262. package/lib/cjs/client/index.d.ts.map +0 -1
  263. package/lib/cjs/client/index.js.map +0 -1
  264. package/lib/cjs/constants/Endpoints.d.ts.map +0 -1
  265. package/lib/cjs/constants/Endpoints.js.map +0 -1
  266. package/lib/cjs/constants/Errors.d.ts.map +0 -1
  267. package/lib/cjs/constants/Errors.js.map +0 -1
  268. package/lib/cjs/index.d.ts.map +0 -1
  269. package/lib/cjs/index.js.map +0 -1
  270. package/lib/cjs/services/account/index.d.ts.map +0 -1
  271. package/lib/cjs/services/account/index.js.map +0 -1
  272. package/lib/cjs/services/category/index.d.ts.map +0 -1
  273. package/lib/cjs/services/category/index.js.map +0 -1
  274. package/lib/cjs/services/comment/index.d.ts.map +0 -1
  275. package/lib/cjs/services/comment/index.js.map +0 -1
  276. package/lib/cjs/services/custom_adv/index.d.ts.map +0 -1
  277. package/lib/cjs/services/custom_adv/index.js.map +0 -1
  278. package/lib/cjs/services/custom_menu/index.d.ts.map +0 -1
  279. package/lib/cjs/services/custom_menu/index.js.map +0 -1
  280. package/lib/cjs/services/custom_page/index.d.ts.map +0 -1
  281. package/lib/cjs/services/custom_page/index.js.map +0 -1
  282. package/lib/cjs/services/data_portability/index.d.ts.map +0 -1
  283. package/lib/cjs/services/data_portability/index.js.map +0 -1
  284. package/lib/cjs/services/embed/index.d.ts.map +0 -1
  285. package/lib/cjs/services/embed/index.js.map +0 -1
  286. package/lib/cjs/services/feature/index.d.ts.map +0 -1
  287. package/lib/cjs/services/feature/index.js.map +0 -1
  288. package/lib/cjs/services/feed/index.d.ts.map +0 -1
  289. package/lib/cjs/services/feed/index.js.map +0 -1
  290. package/lib/cjs/services/feed_object/index.d.ts.map +0 -1
  291. package/lib/cjs/services/feed_object/index.js.map +0 -1
  292. package/lib/cjs/services/incubator/index.d.ts.map +0 -1
  293. package/lib/cjs/services/incubator/index.js.map +0 -1
  294. package/lib/cjs/services/insight/index.d.ts.map +0 -1
  295. package/lib/cjs/services/insight/index.js.map +0 -1
  296. package/lib/cjs/services/invite/index.d.ts.map +0 -1
  297. package/lib/cjs/services/invite/index.js.map +0 -1
  298. package/lib/cjs/services/legal_page/index.d.ts.map +0 -1
  299. package/lib/cjs/services/legal_page/index.js.map +0 -1
  300. package/lib/cjs/services/locality/index.d.ts.map +0 -1
  301. package/lib/cjs/services/locality/index.js.map +0 -1
  302. package/lib/cjs/services/loyalty/index.d.ts.map +0 -1
  303. package/lib/cjs/services/loyalty/index.js.map +0 -1
  304. package/lib/cjs/services/media/index.d.ts.map +0 -1
  305. package/lib/cjs/services/media/index.js.map +0 -1
  306. package/lib/cjs/services/moderation/index.d.ts.map +0 -1
  307. package/lib/cjs/services/moderation/index.js.map +0 -1
  308. package/lib/cjs/services/notification/index.d.ts.map +0 -1
  309. package/lib/cjs/services/notification/index.js.map +0 -1
  310. package/lib/cjs/services/preference/index.d.ts.map +0 -1
  311. package/lib/cjs/services/preference/index.js.map +0 -1
  312. package/lib/cjs/services/private_message/index.d.ts.map +0 -1
  313. package/lib/cjs/services/private_message/index.js.map +0 -1
  314. package/lib/cjs/services/promo/index.d.ts.map +0 -1
  315. package/lib/cjs/services/promo/index.js.map +0 -1
  316. package/lib/cjs/services/reactions/index.d.ts.map +0 -1
  317. package/lib/cjs/services/reactions/index.js.map +0 -1
  318. package/lib/cjs/services/score/index.d.ts.map +0 -1
  319. package/lib/cjs/services/score/index.js.map +0 -1
  320. package/lib/cjs/services/sso/index.d.ts.map +0 -1
  321. package/lib/cjs/services/sso/index.js.map +0 -1
  322. package/lib/cjs/services/suggestion/index.d.ts.map +0 -1
  323. package/lib/cjs/services/suggestion/index.js.map +0 -1
  324. package/lib/cjs/services/tag/index.d.ts.map +0 -1
  325. package/lib/cjs/services/tag/index.js.map +0 -1
  326. package/lib/cjs/services/user/index.d.ts.map +0 -1
  327. package/lib/cjs/services/user/index.js.map +0 -1
  328. package/lib/cjs/services/webhook/index.d.ts.map +0 -1
  329. package/lib/cjs/services/webhook/index.js.map +0 -1
  330. package/lib/cjs/types/account.d.ts.map +0 -1
  331. package/lib/cjs/types/account.js.map +0 -1
  332. package/lib/cjs/types/baseParams.d.ts.map +0 -1
  333. package/lib/cjs/types/baseParams.js.map +0 -1
  334. package/lib/cjs/types/category.d.ts.map +0 -1
  335. package/lib/cjs/types/category.js.map +0 -1
  336. package/lib/cjs/types/comment.d.ts.map +0 -1
  337. package/lib/cjs/types/comment.js.map +0 -1
  338. package/lib/cjs/types/customAdv.d.ts.map +0 -1
  339. package/lib/cjs/types/customAdv.js.map +0 -1
  340. package/lib/cjs/types/customPage.d.ts.map +0 -1
  341. package/lib/cjs/types/customPage.js.map +0 -1
  342. package/lib/cjs/types/embed.d.ts.map +0 -1
  343. package/lib/cjs/types/embed.js.map +0 -1
  344. package/lib/cjs/types/feature.d.ts.map +0 -1
  345. package/lib/cjs/types/feature.js.map +0 -1
  346. package/lib/cjs/types/feed.d.ts.map +0 -1
  347. package/lib/cjs/types/feed.js.map +0 -1
  348. package/lib/cjs/types/feedObject.d.ts.map +0 -1
  349. package/lib/cjs/types/feedObject.js.map +0 -1
  350. package/lib/cjs/types/incubator.d.ts.map +0 -1
  351. package/lib/cjs/types/incubator.js.map +0 -1
  352. package/lib/cjs/types/index.d.ts.map +0 -1
  353. package/lib/cjs/types/index.js.map +0 -1
  354. package/lib/cjs/types/insight.d.ts.map +0 -1
  355. package/lib/cjs/types/insight.js.map +0 -1
  356. package/lib/cjs/types/legalPage.d.ts.map +0 -1
  357. package/lib/cjs/types/legalPage.js.map +0 -1
  358. package/lib/cjs/types/media.d.ts.map +0 -1
  359. package/lib/cjs/types/media.js.map +0 -1
  360. package/lib/cjs/types/moderation.d.ts.map +0 -1
  361. package/lib/cjs/types/moderation.js.map +0 -1
  362. package/lib/cjs/types/notification.d.ts.map +0 -1
  363. package/lib/cjs/types/notification.js.map +0 -1
  364. package/lib/cjs/types/paginatedResponse.d.ts.map +0 -1
  365. package/lib/cjs/types/paginatedResponse.js.map +0 -1
  366. package/lib/cjs/types/privateMessage.d.ts.map +0 -1
  367. package/lib/cjs/types/privateMessage.js.map +0 -1
  368. package/lib/cjs/types/prize.d.ts.map +0 -1
  369. package/lib/cjs/types/prize.js.map +0 -1
  370. package/lib/cjs/types/reaction.d.ts.map +0 -1
  371. package/lib/cjs/types/reaction.js.map +0 -1
  372. package/lib/cjs/types/score.d.ts.map +0 -1
  373. package/lib/cjs/types/score.js.map +0 -1
  374. package/lib/cjs/types/sso.d.ts.map +0 -1
  375. package/lib/cjs/types/sso.js.map +0 -1
  376. package/lib/cjs/types/tag.d.ts.map +0 -1
  377. package/lib/cjs/types/tag.js.map +0 -1
  378. package/lib/cjs/types/user.d.ts.map +0 -1
  379. package/lib/cjs/types/user.js.map +0 -1
  380. package/lib/cjs/types/webhook.d.ts.map +0 -1
  381. package/lib/cjs/types/webhook.js.map +0 -1
  382. package/lib/cjs/utils/apiRequest.d.ts.map +0 -1
  383. package/lib/cjs/utils/apiRequest.js.map +0 -1
  384. package/lib/cjs/utils/http.d.ts.map +0 -1
  385. package/lib/cjs/utils/http.js.map +0 -1
  386. package/lib/cjs/utils/token.d.ts.map +0 -1
  387. package/lib/cjs/utils/token.js.map +0 -1
  388. package/lib/cjs/utils/url.d.ts.map +0 -1
  389. package/lib/cjs/utils/url.js.map +0 -1
  390. package/lib/esm/client/index.d.ts.map +0 -1
  391. package/lib/esm/client/index.js.map +0 -1
  392. package/lib/esm/constants/Endpoints.d.ts.map +0 -1
  393. package/lib/esm/constants/Endpoints.js.map +0 -1
  394. package/lib/esm/constants/Errors.d.ts.map +0 -1
  395. package/lib/esm/constants/Errors.js.map +0 -1
  396. package/lib/esm/index.d.ts.map +0 -1
  397. package/lib/esm/index.js.map +0 -1
  398. package/lib/esm/services/account/index.d.ts.map +0 -1
  399. package/lib/esm/services/account/index.js.map +0 -1
  400. package/lib/esm/services/category/index.d.ts.map +0 -1
  401. package/lib/esm/services/category/index.js.map +0 -1
  402. package/lib/esm/services/comment/index.d.ts.map +0 -1
  403. package/lib/esm/services/comment/index.js.map +0 -1
  404. package/lib/esm/services/custom_adv/index.d.ts.map +0 -1
  405. package/lib/esm/services/custom_adv/index.js.map +0 -1
  406. package/lib/esm/services/custom_menu/index.d.ts.map +0 -1
  407. package/lib/esm/services/custom_menu/index.js.map +0 -1
  408. package/lib/esm/services/custom_page/index.d.ts.map +0 -1
  409. package/lib/esm/services/custom_page/index.js.map +0 -1
  410. package/lib/esm/services/data_portability/index.d.ts.map +0 -1
  411. package/lib/esm/services/data_portability/index.js.map +0 -1
  412. package/lib/esm/services/embed/index.d.ts.map +0 -1
  413. package/lib/esm/services/embed/index.js.map +0 -1
  414. package/lib/esm/services/feature/index.d.ts.map +0 -1
  415. package/lib/esm/services/feature/index.js.map +0 -1
  416. package/lib/esm/services/feed/index.d.ts.map +0 -1
  417. package/lib/esm/services/feed/index.js.map +0 -1
  418. package/lib/esm/services/feed_object/index.d.ts.map +0 -1
  419. package/lib/esm/services/feed_object/index.js.map +0 -1
  420. package/lib/esm/services/incubator/index.d.ts.map +0 -1
  421. package/lib/esm/services/incubator/index.js.map +0 -1
  422. package/lib/esm/services/insight/index.d.ts.map +0 -1
  423. package/lib/esm/services/insight/index.js.map +0 -1
  424. package/lib/esm/services/invite/index.d.ts.map +0 -1
  425. package/lib/esm/services/invite/index.js.map +0 -1
  426. package/lib/esm/services/legal_page/index.d.ts.map +0 -1
  427. package/lib/esm/services/legal_page/index.js.map +0 -1
  428. package/lib/esm/services/locality/index.d.ts.map +0 -1
  429. package/lib/esm/services/locality/index.js.map +0 -1
  430. package/lib/esm/services/loyalty/index.d.ts.map +0 -1
  431. package/lib/esm/services/loyalty/index.js.map +0 -1
  432. package/lib/esm/services/media/index.d.ts.map +0 -1
  433. package/lib/esm/services/media/index.js.map +0 -1
  434. package/lib/esm/services/moderation/index.d.ts.map +0 -1
  435. package/lib/esm/services/moderation/index.js.map +0 -1
  436. package/lib/esm/services/notification/index.d.ts.map +0 -1
  437. package/lib/esm/services/notification/index.js.map +0 -1
  438. package/lib/esm/services/preference/index.d.ts.map +0 -1
  439. package/lib/esm/services/preference/index.js.map +0 -1
  440. package/lib/esm/services/private_message/index.d.ts.map +0 -1
  441. package/lib/esm/services/private_message/index.js.map +0 -1
  442. package/lib/esm/services/promo/index.d.ts.map +0 -1
  443. package/lib/esm/services/promo/index.js.map +0 -1
  444. package/lib/esm/services/reactions/index.d.ts.map +0 -1
  445. package/lib/esm/services/reactions/index.js.map +0 -1
  446. package/lib/esm/services/score/index.d.ts.map +0 -1
  447. package/lib/esm/services/score/index.js.map +0 -1
  448. package/lib/esm/services/sso/index.d.ts.map +0 -1
  449. package/lib/esm/services/sso/index.js.map +0 -1
  450. package/lib/esm/services/suggestion/index.d.ts.map +0 -1
  451. package/lib/esm/services/suggestion/index.js.map +0 -1
  452. package/lib/esm/services/tag/index.d.ts.map +0 -1
  453. package/lib/esm/services/tag/index.js.map +0 -1
  454. package/lib/esm/services/user/index.d.ts.map +0 -1
  455. package/lib/esm/services/user/index.js.map +0 -1
  456. package/lib/esm/services/webhook/index.d.ts.map +0 -1
  457. package/lib/esm/services/webhook/index.js.map +0 -1
  458. package/lib/esm/types/account.d.ts.map +0 -1
  459. package/lib/esm/types/account.js.map +0 -1
  460. package/lib/esm/types/baseParams.d.ts.map +0 -1
  461. package/lib/esm/types/baseParams.js.map +0 -1
  462. package/lib/esm/types/category.d.ts.map +0 -1
  463. package/lib/esm/types/category.js.map +0 -1
  464. package/lib/esm/types/comment.d.ts.map +0 -1
  465. package/lib/esm/types/comment.js.map +0 -1
  466. package/lib/esm/types/customAdv.d.ts.map +0 -1
  467. package/lib/esm/types/customAdv.js.map +0 -1
  468. package/lib/esm/types/customPage.d.ts.map +0 -1
  469. package/lib/esm/types/customPage.js.map +0 -1
  470. package/lib/esm/types/embed.d.ts.map +0 -1
  471. package/lib/esm/types/embed.js.map +0 -1
  472. package/lib/esm/types/feature.d.ts.map +0 -1
  473. package/lib/esm/types/feature.js.map +0 -1
  474. package/lib/esm/types/feed.d.ts.map +0 -1
  475. package/lib/esm/types/feed.js.map +0 -1
  476. package/lib/esm/types/feedObject.d.ts.map +0 -1
  477. package/lib/esm/types/feedObject.js.map +0 -1
  478. package/lib/esm/types/incubator.d.ts.map +0 -1
  479. package/lib/esm/types/incubator.js.map +0 -1
  480. package/lib/esm/types/index.d.ts.map +0 -1
  481. package/lib/esm/types/index.js.map +0 -1
  482. package/lib/esm/types/insight.d.ts.map +0 -1
  483. package/lib/esm/types/insight.js.map +0 -1
  484. package/lib/esm/types/legalPage.d.ts.map +0 -1
  485. package/lib/esm/types/legalPage.js.map +0 -1
  486. package/lib/esm/types/media.d.ts.map +0 -1
  487. package/lib/esm/types/media.js.map +0 -1
  488. package/lib/esm/types/moderation.d.ts.map +0 -1
  489. package/lib/esm/types/moderation.js.map +0 -1
  490. package/lib/esm/types/notification.d.ts.map +0 -1
  491. package/lib/esm/types/notification.js.map +0 -1
  492. package/lib/esm/types/paginatedResponse.d.ts.map +0 -1
  493. package/lib/esm/types/paginatedResponse.js.map +0 -1
  494. package/lib/esm/types/privateMessage.d.ts.map +0 -1
  495. package/lib/esm/types/privateMessage.js.map +0 -1
  496. package/lib/esm/types/prize.d.ts.map +0 -1
  497. package/lib/esm/types/prize.js.map +0 -1
  498. package/lib/esm/types/reaction.d.ts.map +0 -1
  499. package/lib/esm/types/reaction.js.map +0 -1
  500. package/lib/esm/types/score.d.ts.map +0 -1
  501. package/lib/esm/types/score.js.map +0 -1
  502. package/lib/esm/types/sso.d.ts.map +0 -1
  503. package/lib/esm/types/sso.js.map +0 -1
  504. package/lib/esm/types/tag.d.ts.map +0 -1
  505. package/lib/esm/types/tag.js.map +0 -1
  506. package/lib/esm/types/user.d.ts.map +0 -1
  507. package/lib/esm/types/user.js.map +0 -1
  508. package/lib/esm/types/webhook.d.ts.map +0 -1
  509. package/lib/esm/types/webhook.js.map +0 -1
  510. package/lib/esm/utils/apiRequest.d.ts.map +0 -1
  511. package/lib/esm/utils/apiRequest.js.map +0 -1
  512. package/lib/esm/utils/http.d.ts.map +0 -1
  513. package/lib/esm/utils/http.js.map +0 -1
  514. package/lib/esm/utils/token.d.ts.map +0 -1
  515. package/lib/esm/utils/token.js.map +0 -1
  516. package/lib/esm/utils/url.d.ts.map +0 -1
  517. package/lib/esm/utils/url.js.map +0 -1
  518. package/lib/umd/api-services.js.map +0 -1
@@ -102,4 +102,3 @@ export default class MediaService {
102
102
  static updateMedia(id: number | string, image: string, config?: AxiosRequestConfig): Promise<SCMediaType>;
103
103
  static deleteMedia(id: number | string, config?: AxiosRequestConfig): Promise<any>;
104
104
  }
105
- //# sourceMappingURL=index.d.ts.map
@@ -1,20 +1,9 @@
1
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
- var __importDefault = (this && this.__importDefault) || function (mod) {
12
- return (mod && mod.__esModule) ? mod : { "default": mod };
13
- };
14
2
  Object.defineProperty(exports, "__esModule", { value: true });
15
3
  exports.MediaApiClient = void 0;
4
+ const tslib_1 = require("tslib");
16
5
  const apiRequest_1 = require("../../utils/apiRequest");
17
- const Endpoints_1 = __importDefault(require("../../constants/Endpoints"));
6
+ const Endpoints_1 = tslib_1.__importDefault(require("../../constants/Endpoints"));
18
7
  /**
19
8
  * Contains all the endpoints needed to manage medias.
20
9
  */
@@ -116,40 +105,39 @@ exports.MediaApiClient = MediaApiClient;
116
105
  */
117
106
  class MediaService {
118
107
  static chunkUploadMedia(data, bytesStart, bytesEnd, bytesTotal, config) {
119
- return __awaiter(this, void 0, void 0, function* () {
108
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
120
109
  return MediaApiClient.chunkUploadMedia(data, bytesStart, bytesEnd, bytesTotal, config);
121
110
  });
122
111
  }
123
112
  static chunkUploadMediaComplete(data, config) {
124
- return __awaiter(this, void 0, void 0, function* () {
113
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
125
114
  return MediaApiClient.chunkUploadMediaComplete(data, config);
126
115
  });
127
116
  }
128
117
  static createMedia(data, config) {
129
- return __awaiter(this, void 0, void 0, function* () {
118
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
130
119
  return MediaApiClient.createMedia(data, config);
131
120
  });
132
121
  }
133
122
  static clickMedia(id, ip, config) {
134
- return __awaiter(this, void 0, void 0, function* () {
123
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
135
124
  return MediaApiClient.clickMedia(id, ip, config);
136
125
  });
137
126
  }
138
127
  static getSpecificMedia(id, config) {
139
- return __awaiter(this, void 0, void 0, function* () {
128
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
140
129
  return MediaApiClient.getSpecificMedia(id, config);
141
130
  });
142
131
  }
143
132
  static updateMedia(id, image, config) {
144
- return __awaiter(this, void 0, void 0, function* () {
133
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
145
134
  return MediaApiClient.updateMedia(id, image, config);
146
135
  });
147
136
  }
148
137
  static deleteMedia(id, config) {
149
- return __awaiter(this, void 0, void 0, function* () {
138
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
150
139
  return MediaApiClient.deleteMedia(id, config);
151
140
  });
152
141
  }
153
142
  }
154
143
  exports.default = MediaService;
155
- //# sourceMappingURL=index.js.map
@@ -101,4 +101,3 @@ export default class ModerationService {
101
101
  static moderateAContribution(id: number | string, data: ModerateContributionParams, config?: AxiosRequestConfig): Promise<any>;
102
102
  static getContributionModerationStatus(id: number | string, contribution_type: SCContributionType, config?: AxiosRequestConfig): Promise<SCContributionStatus>;
103
103
  }
104
- //# sourceMappingURL=index.d.ts.map
@@ -1,20 +1,9 @@
1
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
- var __importDefault = (this && this.__importDefault) || function (mod) {
12
- return (mod && mod.__esModule) ? mod : { "default": mod };
13
- };
14
2
  Object.defineProperty(exports, "__esModule", { value: true });
15
3
  exports.ModerationApiClient = void 0;
4
+ const tslib_1 = require("tslib");
16
5
  const apiRequest_1 = require("../../utils/apiRequest");
17
- const Endpoints_1 = __importDefault(require("../../constants/Endpoints"));
6
+ const Endpoints_1 = tslib_1.__importDefault(require("../../constants/Endpoints"));
18
7
  const url_1 = require("../../utils/url");
19
8
  /**
20
9
  * Contains all the endpoints needed to manage moderation.
@@ -119,35 +108,34 @@ exports.ModerationApiClient = ModerationApiClient;
119
108
  */
120
109
  class ModerationService {
121
110
  static getUsersForModeration(params, config) {
122
- return __awaiter(this, void 0, void 0, function* () {
111
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
123
112
  return ModerationApiClient.getUsersForModeration(params, config);
124
113
  });
125
114
  }
126
115
  static moderateASpecificUser(id, status, days_blocked, hard, config) {
127
- return __awaiter(this, void 0, void 0, function* () {
116
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
128
117
  return ModerationApiClient.moderateASpecificUser(id, status, days_blocked, hard, config);
129
118
  });
130
119
  }
131
120
  static getAllFlaggedContributions(params, config) {
132
- return __awaiter(this, void 0, void 0, function* () {
121
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
133
122
  return ModerationApiClient.getAllFlaggedContributions(params, config);
134
123
  });
135
124
  }
136
125
  static getAllFlagsForSpecificContribution(id, contribution_type, flag_type, config) {
137
- return __awaiter(this, void 0, void 0, function* () {
126
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
138
127
  return ModerationApiClient.getAllFlagsForSpecificContribution(id, contribution_type, flag_type, config);
139
128
  });
140
129
  }
141
130
  static moderateAContribution(id, data, config) {
142
- return __awaiter(this, void 0, void 0, function* () {
131
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
143
132
  return ModerationApiClient.moderateAContribution(id, data, config);
144
133
  });
145
134
  }
146
135
  static getContributionModerationStatus(id, contribution_type, config) {
147
- return __awaiter(this, void 0, void 0, function* () {
136
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
148
137
  return ModerationApiClient.getContributionModerationStatus(id, contribution_type, config);
149
138
  });
150
139
  }
151
140
  }
152
141
  exports.default = ModerationService;
153
- //# sourceMappingURL=index.js.map
@@ -112,4 +112,3 @@ export default class NotificationService {
112
112
  static disposeBroadcastMessages(banner_ids: number[], config?: AxiosRequestConfig): Promise<any>;
113
113
  static markReadBroadcastMessages(banner_ids: number[], config?: AxiosRequestConfig): Promise<any>;
114
114
  }
115
- //# sourceMappingURL=index.d.ts.map
@@ -1,20 +1,9 @@
1
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
- var __importDefault = (this && this.__importDefault) || function (mod) {
12
- return (mod && mod.__esModule) ? mod : { "default": mod };
13
- };
14
2
  Object.defineProperty(exports, "__esModule", { value: true });
15
3
  exports.NotificationApiClient = void 0;
4
+ const tslib_1 = require("tslib");
16
5
  const apiRequest_1 = require("../../utils/apiRequest");
17
- const Endpoints_1 = __importDefault(require("../../constants/Endpoints"));
6
+ const Endpoints_1 = tslib_1.__importDefault(require("../../constants/Endpoints"));
18
7
  /**
19
8
  * Contains all the endpoints needed to manage notifications.
20
9
  */
@@ -125,50 +114,49 @@ exports.NotificationApiClient = NotificationApiClient;
125
114
  */
126
115
  class NotificationService {
127
116
  static listUserNotification(config) {
128
- return __awaiter(this, void 0, void 0, function* () {
117
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
129
118
  return NotificationApiClient.listUserNotification(config);
130
119
  });
131
120
  }
132
121
  static markReadNotification(sids, config) {
133
- return __awaiter(this, void 0, void 0, function* () {
122
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
134
123
  return NotificationApiClient.markReadNotification(sids, config);
135
124
  });
136
125
  }
137
126
  static getUnseenNotification(config) {
138
- return __awaiter(this, void 0, void 0, function* () {
127
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
139
128
  return NotificationApiClient.getUnseenNotification(config);
140
129
  });
141
130
  }
142
131
  static createCustomNotification(data, config) {
143
- return __awaiter(this, void 0, void 0, function* () {
132
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
144
133
  return NotificationApiClient.createCustomNotification(data, config);
145
134
  });
146
135
  }
147
136
  static listBroadcastMessages(config) {
148
- return __awaiter(this, void 0, void 0, function* () {
137
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
149
138
  return NotificationApiClient.listBroadcastMessages(config);
150
139
  });
151
140
  }
152
141
  static listBroadcastMessagesUnseenCount(config) {
153
- return __awaiter(this, void 0, void 0, function* () {
142
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
154
143
  return NotificationApiClient.listBroadcastMessagesUnseenCount(config);
155
144
  });
156
145
  }
157
146
  static listBroadcastMessagesUndisposedCount(config) {
158
- return __awaiter(this, void 0, void 0, function* () {
147
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
159
148
  return NotificationApiClient.listBroadcastMessagesUndisposedCount(config);
160
149
  });
161
150
  }
162
151
  static disposeBroadcastMessages(banner_ids, config) {
163
- return __awaiter(this, void 0, void 0, function* () {
152
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
164
153
  return NotificationApiClient.disposeBroadcastMessages(banner_ids, config);
165
154
  });
166
155
  }
167
156
  static markReadBroadcastMessages(banner_ids, config) {
168
- return __awaiter(this, void 0, void 0, function* () {
157
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
169
158
  return NotificationApiClient.markReadBroadcastMessages(banner_ids, config);
170
159
  });
171
160
  }
172
161
  }
173
162
  exports.default = NotificationService;
174
- //# sourceMappingURL=index.js.map
@@ -71,4 +71,3 @@ export default class PreferenceService {
71
71
  static searchPreferences(search?: string, section?: string, keys?: string, ordering?: string, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCPreferenceType>>;
72
72
  static getSpecificPreference(id: number | string, config?: AxiosRequestConfig): Promise<SCPreferenceType>;
73
73
  }
74
- //# sourceMappingURL=index.d.ts.map
@@ -1,20 +1,9 @@
1
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
- var __importDefault = (this && this.__importDefault) || function (mod) {
12
- return (mod && mod.__esModule) ? mod : { "default": mod };
13
- };
14
2
  Object.defineProperty(exports, "__esModule", { value: true });
15
3
  exports.PreferenceApiClient = void 0;
4
+ const tslib_1 = require("tslib");
16
5
  const apiRequest_1 = require("../../utils/apiRequest");
17
- const Endpoints_1 = __importDefault(require("../../constants/Endpoints"));
6
+ const Endpoints_1 = tslib_1.__importDefault(require("../../constants/Endpoints"));
18
7
  const url_1 = require("../../utils/url");
19
8
  /**
20
9
  * Contains all the endpoints needed to manage dynamic preferences.
@@ -86,20 +75,19 @@ exports.PreferenceApiClient = PreferenceApiClient;
86
75
  */
87
76
  class PreferenceService {
88
77
  static getAllPreferences(config) {
89
- return __awaiter(this, void 0, void 0, function* () {
78
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
90
79
  return PreferenceApiClient.getAllPreferences(config);
91
80
  });
92
81
  }
93
82
  static searchPreferences(search, section, keys, ordering, config) {
94
- return __awaiter(this, void 0, void 0, function* () {
83
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
95
84
  return PreferenceApiClient.searchPreferences(search, section, keys, ordering, config);
96
85
  });
97
86
  }
98
87
  static getSpecificPreference(id, config) {
99
- return __awaiter(this, void 0, void 0, function* () {
88
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
100
89
  return PreferenceApiClient.getSpecificPreference(id, config);
101
90
  });
102
91
  }
103
92
  }
104
93
  exports.default = PreferenceService;
105
- //# sourceMappingURL=index.js.map
@@ -132,4 +132,3 @@ export default class PrivateMessageService {
132
132
  static chunkUploadDone(data: MessageChunkUploadDoneParams, config?: AxiosRequestConfig): Promise<SCPrivateMessageUploadMediaType>;
133
133
  static searchUser(search: string, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCUserType>>;
134
134
  }
135
- //# sourceMappingURL=index.d.ts.map
@@ -1,20 +1,9 @@
1
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
- var __importDefault = (this && this.__importDefault) || function (mod) {
12
- return (mod && mod.__esModule) ? mod : { "default": mod };
13
- };
14
2
  Object.defineProperty(exports, "__esModule", { value: true });
15
3
  exports.PrivateMessageApiClient = void 0;
4
+ const tslib_1 = require("tslib");
16
5
  const apiRequest_1 = require("../../utils/apiRequest");
17
- const Endpoints_1 = __importDefault(require("../../constants/Endpoints"));
6
+ const Endpoints_1 = tslib_1.__importDefault(require("../../constants/Endpoints"));
18
7
  const url_1 = require("../../utils/url");
19
8
  /**
20
9
  * Contains all the endpoints needed to manage private messages.
@@ -148,60 +137,59 @@ exports.PrivateMessageApiClient = PrivateMessageApiClient;
148
137
  */
149
138
  class PrivateMessageService {
150
139
  static getAllSnippets(config) {
151
- return __awaiter(this, void 0, void 0, function* () {
140
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
152
141
  return PrivateMessageApiClient.getAllSnippets(config);
153
142
  });
154
143
  }
155
144
  static getAThread(params, config) {
156
- return __awaiter(this, void 0, void 0, function* () {
145
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
157
146
  return PrivateMessageApiClient.getAThread(params, config);
158
147
  });
159
148
  }
160
149
  static getASingleMessage(id, config) {
161
- return __awaiter(this, void 0, void 0, function* () {
150
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
162
151
  return PrivateMessageApiClient.getASingleMessage(id, config);
163
152
  });
164
153
  }
165
154
  static sendAMessage(data, config) {
166
- return __awaiter(this, void 0, void 0, function* () {
155
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
167
156
  return PrivateMessageApiClient.sendAMessage(data, config);
168
157
  });
169
158
  }
170
159
  static deleteAMessage(id, config) {
171
- return __awaiter(this, void 0, void 0, function* () {
160
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
172
161
  return PrivateMessageApiClient.deleteAMessage(id, config);
173
162
  });
174
163
  }
175
164
  static deleteAThread(params, config) {
176
- return __awaiter(this, void 0, void 0, function* () {
165
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
177
166
  return PrivateMessageApiClient.deleteAThread(params, config);
178
167
  });
179
168
  }
180
169
  static uploadMedia(data, config) {
181
- return __awaiter(this, void 0, void 0, function* () {
170
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
182
171
  return PrivateMessageApiClient.uploadMedia(data, config);
183
172
  });
184
173
  }
185
174
  static uploadThumbnail(data, config) {
186
- return __awaiter(this, void 0, void 0, function* () {
175
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
187
176
  return PrivateMessageApiClient.uploadThumbnail(data, config);
188
177
  });
189
178
  }
190
179
  static uploadMediaInChunks(data, config) {
191
- return __awaiter(this, void 0, void 0, function* () {
180
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
192
181
  return PrivateMessageApiClient.uploadMediaInChunks(data, config);
193
182
  });
194
183
  }
195
184
  static chunkUploadDone(data, config) {
196
- return __awaiter(this, void 0, void 0, function* () {
185
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
197
186
  return PrivateMessageApiClient.chunkUploadDone(data, config);
198
187
  });
199
188
  }
200
189
  static searchUser(search, config) {
201
- return __awaiter(this, void 0, void 0, function* () {
190
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
202
191
  return PrivateMessageApiClient.searchUser(search, config);
203
192
  });
204
193
  }
205
194
  }
206
195
  exports.default = PrivateMessageService;
207
- //# sourceMappingURL=index.js.map
@@ -51,4 +51,3 @@ export declare class PromoApiClient {
51
51
  export default class PromoService {
52
52
  static getSpecificPromo(code: string, config?: AxiosRequestConfig): Promise<SCPromoType>;
53
53
  }
54
- //# sourceMappingURL=index.d.ts.map
@@ -1,19 +1,8 @@
1
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
- var __importDefault = (this && this.__importDefault) || function (mod) {
12
- return (mod && mod.__esModule) ? mod : { "default": mod };
13
- };
14
2
  Object.defineProperty(exports, "__esModule", { value: true });
15
3
  exports.PromoApiClient = void 0;
16
- const Endpoints_1 = __importDefault(require("../../constants/Endpoints"));
4
+ const tslib_1 = require("tslib");
5
+ const Endpoints_1 = tslib_1.__importDefault(require("../../constants/Endpoints"));
17
6
  const apiRequest_1 = require("../../utils/apiRequest");
18
7
  /**
19
8
  * Contains all the endpoints needed to manage Promo codes.
@@ -65,10 +54,9 @@ exports.PromoApiClient = PromoApiClient;
65
54
  */
66
55
  class PromoService {
67
56
  static getSpecificPromo(code, config) {
68
- return __awaiter(this, void 0, void 0, function* () {
57
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
69
58
  return PromoApiClient.getSpecificPromo(code, config);
70
59
  });
71
60
  }
72
61
  }
73
62
  exports.default = PromoService;
74
- //# sourceMappingURL=index.js.map
@@ -15,6 +15,12 @@ export declare class ReactionApiClient {
15
15
  * @param config
16
16
  */
17
17
  static getAllReactions(params?: ReactionParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCReactionType>>;
18
+ /**
19
+ * This endpoint retrieves all reactions data without pagination.
20
+ * @param params
21
+ * @param config
22
+ */
23
+ static getAllReactionsList(params?: ReactionParams, config?: AxiosRequestConfig): Promise<SCReactionType[]>;
18
24
  /**
19
25
  * This endpoint retrieves a specific reaction.
20
26
  * @param id
@@ -52,6 +58,6 @@ export declare class ReactionApiClient {
52
58
  */
53
59
  export default class ReactionService {
54
60
  static getAllReactions(params?: ReactionParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCReactionType>>;
61
+ static getAllReactionsList(params?: ReactionParams, config?: AxiosRequestConfig): Promise<SCReactionType[]>;
55
62
  static getSpecificReaction(id: number, config?: AxiosRequestConfig): Promise<SCReactionType>;
56
63
  }
57
- //# sourceMappingURL=index.d.ts.map
@@ -1,20 +1,9 @@
1
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
- var __importDefault = (this && this.__importDefault) || function (mod) {
12
- return (mod && mod.__esModule) ? mod : { "default": mod };
13
- };
14
2
  Object.defineProperty(exports, "__esModule", { value: true });
15
3
  exports.ReactionApiClient = void 0;
4
+ const tslib_1 = require("tslib");
16
5
  const apiRequest_1 = require("../../utils/apiRequest");
17
- const Endpoints_1 = __importDefault(require("../../constants/Endpoints"));
6
+ const Endpoints_1 = tslib_1.__importDefault(require("../../constants/Endpoints"));
18
7
  const url_1 = require("../../utils/url");
19
8
  /**
20
9
  * Contains all the endpoints needed to manage features.
@@ -29,6 +18,21 @@ class ReactionApiClient {
29
18
  const p = (0, url_1.urlParams)(params);
30
19
  return (0, apiRequest_1.apiRequest)(Object.assign(Object.assign({}, config), { url: `${Endpoints_1.default.GetReactions.url({})}?${p.toString()}`, method: Endpoints_1.default.GetReactions.method }));
31
20
  }
21
+ /**
22
+ * This endpoint retrieves all reactions data without pagination.
23
+ * @param params
24
+ * @param config
25
+ */
26
+ static getAllReactionsList(params, config) {
27
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
28
+ const p = (0, url_1.urlParams)(params);
29
+ const response = yield (0, apiRequest_1.apiRequest)(Object.assign(Object.assign({}, config), { url: `${Endpoints_1.default.GetReactions.url({})}?${p.toString()}`, method: Endpoints_1.default.GetReactions.method }));
30
+ if (response.next) {
31
+ return response.results.concat(yield ReactionApiClient.getAllReactionsList(params, Object.assign(Object.assign({}, config), { url: response.next, method: Endpoints_1.default.GetReactions.method })));
32
+ }
33
+ return response.results;
34
+ });
35
+ }
32
36
  /**
33
37
  * This endpoint retrieves a specific reaction.
34
38
  * @param id
@@ -69,15 +73,19 @@ exports.ReactionApiClient = ReactionApiClient;
69
73
  */
70
74
  class ReactionService {
71
75
  static getAllReactions(params, config) {
72
- return __awaiter(this, void 0, void 0, function* () {
76
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
73
77
  return ReactionApiClient.getAllReactions(params, config);
74
78
  });
75
79
  }
80
+ static getAllReactionsList(params, config) {
81
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
82
+ return ReactionApiClient.getAllReactionsList(params, config);
83
+ });
84
+ }
76
85
  static getSpecificReaction(id, config) {
77
- return __awaiter(this, void 0, void 0, function* () {
86
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
78
87
  return ReactionApiClient.getSpecificReaction(id, config);
79
88
  });
80
89
  }
81
90
  }
82
91
  exports.default = ReactionService;
83
- //# sourceMappingURL=index.js.map
@@ -62,4 +62,3 @@ export default class ScoreService {
62
62
  static searchScore(params?: ScoreParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCUserScoreType>>;
63
63
  static addScore(data: UserScoreParams, config?: AxiosRequestConfig): Promise<SCUserScoreType>;
64
64
  }
65
- //# sourceMappingURL=index.d.ts.map
@@ -1,20 +1,9 @@
1
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
- var __importDefault = (this && this.__importDefault) || function (mod) {
12
- return (mod && mod.__esModule) ? mod : { "default": mod };
13
- };
14
2
  Object.defineProperty(exports, "__esModule", { value: true });
15
3
  exports.ScoreApiClient = void 0;
4
+ const tslib_1 = require("tslib");
16
5
  const apiRequest_1 = require("../../utils/apiRequest");
17
- const Endpoints_1 = __importDefault(require("../../constants/Endpoints"));
6
+ const Endpoints_1 = tslib_1.__importDefault(require("../../constants/Endpoints"));
18
7
  const url_1 = require("../../utils/url");
19
8
  /**
20
9
  * Contains all the endpoints needed to manage user scores.
@@ -78,20 +67,19 @@ exports.ScoreApiClient = ScoreApiClient;
78
67
  */
79
68
  class ScoreService {
80
69
  static getAllScores(params, config) {
81
- return __awaiter(this, void 0, void 0, function* () {
70
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
82
71
  return ScoreApiClient.getAllScores(params, config);
83
72
  });
84
73
  }
85
74
  static searchScore(params, config) {
86
- return __awaiter(this, void 0, void 0, function* () {
75
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
87
76
  return ScoreApiClient.searchScore(params, config);
88
77
  });
89
78
  }
90
79
  static addScore(data, config) {
91
- return __awaiter(this, void 0, void 0, function* () {
80
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
92
81
  return ScoreApiClient.addScore(data, config);
93
82
  });
94
83
  }
95
84
  }
96
85
  exports.default = ScoreService;
97
- //# sourceMappingURL=index.js.map
@@ -55,4 +55,3 @@ export default class SSOService {
55
55
  static SignIn(config?: AxiosRequestConfig): Promise<SSOSignInType>;
56
56
  static SignUp(data: SSOSignUpParams, config?: AxiosRequestConfig): Promise<SSOSignUpType>;
57
57
  }
58
- //# sourceMappingURL=index.d.ts.map
@@ -1,20 +1,9 @@
1
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
- var __importDefault = (this && this.__importDefault) || function (mod) {
12
- return (mod && mod.__esModule) ? mod : { "default": mod };
13
- };
14
2
  Object.defineProperty(exports, "__esModule", { value: true });
15
3
  exports.SSOApiClient = void 0;
4
+ const tslib_1 = require("tslib");
16
5
  const apiRequest_1 = require("../../utils/apiRequest");
17
- const Endpoints_1 = __importDefault(require("../../constants/Endpoints"));
6
+ const Endpoints_1 = tslib_1.__importDefault(require("../../constants/Endpoints"));
18
7
  /**
19
8
  * Contains all the endpoints needed to manage sso.
20
9
  */
@@ -68,15 +57,14 @@ exports.SSOApiClient = SSOApiClient;
68
57
  */
69
58
  class SSOService {
70
59
  static SignIn(config) {
71
- return __awaiter(this, void 0, void 0, function* () {
60
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
72
61
  return SSOApiClient.SignIn(config);
73
62
  });
74
63
  }
75
64
  static SignUp(data, config) {
76
- return __awaiter(this, void 0, void 0, function* () {
65
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
77
66
  return SSOApiClient.SignUp(data, config);
78
67
  });
79
68
  }
80
69
  }
81
70
  exports.default = SSOService;
82
- //# sourceMappingURL=index.js.map
@@ -79,4 +79,3 @@ export default class SuggestionService {
79
79
  static getUserSuggestion(params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCUserType>>;
80
80
  static getSearchSuggestion(search: string, params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCSuggestionType>>;
81
81
  }
82
- //# sourceMappingURL=index.d.ts.map