@selfcommunity/types 0.5.0-alpha.8 → 0.5.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 (328) hide show
  1. package/lib/cjs/index.d.ts +8 -4
  2. package/lib/cjs/index.js +21 -21
  3. package/lib/cjs/types/auth.d.ts +0 -1
  4. package/lib/cjs/types/auth.js +0 -1
  5. package/lib/cjs/types/avatar.d.ts +0 -1
  6. package/lib/cjs/types/avatar.js +0 -1
  7. package/lib/cjs/types/broadcastMessage.d.ts +0 -1
  8. package/lib/cjs/types/broadcastMessage.js +0 -1
  9. package/lib/cjs/types/category.d.ts +0 -1
  10. package/lib/cjs/types/category.js +0 -1
  11. package/lib/cjs/types/comment.d.ts +8 -1
  12. package/lib/cjs/types/comment.js +0 -1
  13. package/lib/cjs/types/contribution.d.ts +0 -1
  14. package/lib/cjs/types/contribution.js +0 -1
  15. package/lib/cjs/types/customAdv.d.ts +0 -1
  16. package/lib/cjs/types/customAdv.js +0 -1
  17. package/lib/cjs/types/customMenu.d.ts +0 -1
  18. package/lib/cjs/types/customMenu.js +0 -1
  19. package/lib/cjs/types/customNotification.d.ts +0 -1
  20. package/lib/cjs/types/customNotification.js +0 -1
  21. package/lib/cjs/types/customPage.d.ts +0 -1
  22. package/lib/cjs/types/customPage.js +0 -1
  23. package/lib/cjs/types/dataPortability.d.ts +0 -1
  24. package/lib/cjs/types/dataPortability.js +0 -1
  25. package/lib/cjs/types/device.d.ts +0 -1
  26. package/lib/cjs/types/device.js +0 -1
  27. package/lib/cjs/types/embed.d.ts +1 -2
  28. package/lib/cjs/types/embed.js +0 -1
  29. package/lib/cjs/types/feature.d.ts +0 -1
  30. package/lib/cjs/types/feature.js +0 -1
  31. package/lib/cjs/types/feed.d.ts +17 -2
  32. package/lib/cjs/types/feed.js +0 -1
  33. package/lib/cjs/types/flag.d.ts +0 -1
  34. package/lib/cjs/types/flag.js +0 -1
  35. package/lib/cjs/types/friendship.d.ts +0 -1
  36. package/lib/cjs/types/friendship.js +0 -1
  37. package/lib/cjs/types/incubator.d.ts +0 -1
  38. package/lib/cjs/types/incubator.js +0 -1
  39. package/lib/cjs/types/index.d.ts +39 -39
  40. package/lib/cjs/types/index.js +3 -3
  41. package/lib/cjs/types/insight.d.ts +0 -1
  42. package/lib/cjs/types/insight.js +0 -1
  43. package/lib/cjs/types/invite.d.ts +0 -1
  44. package/lib/cjs/types/invite.js +0 -1
  45. package/lib/cjs/types/legalPage.d.ts +0 -1
  46. package/lib/cjs/types/legalPage.js +0 -1
  47. package/lib/cjs/types/locale.d.ts +7 -0
  48. package/lib/cjs/types/locale.js +11 -0
  49. package/lib/cjs/types/location.d.ts +1 -2
  50. package/lib/cjs/types/location.js +0 -1
  51. package/lib/cjs/types/media.d.ts +9 -1
  52. package/lib/cjs/types/media.js +0 -1
  53. package/lib/cjs/types/metadata.d.ts +0 -1
  54. package/lib/cjs/types/metadata.js +0 -1
  55. package/lib/cjs/types/notification.d.ts +0 -1
  56. package/lib/cjs/types/notification.js +0 -1
  57. package/lib/cjs/types/platform.d.ts +0 -1
  58. package/lib/cjs/types/platform.js +0 -1
  59. package/lib/cjs/types/poll.d.ts +0 -1
  60. package/lib/cjs/types/poll.js +0 -1
  61. package/lib/cjs/types/preference.d.ts +0 -1
  62. package/lib/cjs/types/preference.js +0 -1
  63. package/lib/cjs/types/privateMessage.d.ts +2 -2
  64. package/lib/cjs/types/privateMessage.js +1 -1
  65. package/lib/cjs/types/prize.d.ts +0 -1
  66. package/lib/cjs/types/prize.js +0 -1
  67. package/lib/cjs/types/promo.d.ts +0 -1
  68. package/lib/cjs/types/promo.js +0 -1
  69. package/lib/cjs/types/reaction.d.ts +0 -1
  70. package/lib/cjs/types/reaction.js +0 -1
  71. package/lib/cjs/types/sso.d.ts +0 -1
  72. package/lib/cjs/types/sso.js +0 -1
  73. package/lib/cjs/types/suggestion.d.ts +0 -1
  74. package/lib/cjs/types/suggestion.js +0 -1
  75. package/lib/cjs/types/tag.d.ts +0 -1
  76. package/lib/cjs/types/tag.js +0 -1
  77. package/lib/cjs/types/user.d.ts +15 -3
  78. package/lib/cjs/types/user.js +0 -1
  79. package/lib/cjs/types/vote.d.ts +0 -1
  80. package/lib/cjs/types/vote.js +0 -1
  81. package/lib/cjs/types/webhook.d.ts +0 -1
  82. package/lib/cjs/types/webhook.js +0 -1
  83. package/lib/esm/index.d.ts +8 -4
  84. package/lib/esm/index.js +4 -5
  85. package/lib/esm/types/auth.d.ts +0 -1
  86. package/lib/esm/types/auth.js +0 -1
  87. package/lib/esm/types/avatar.d.ts +0 -1
  88. package/lib/esm/types/avatar.js +0 -1
  89. package/lib/esm/types/broadcastMessage.d.ts +0 -1
  90. package/lib/esm/types/broadcastMessage.js +0 -1
  91. package/lib/esm/types/category.d.ts +0 -1
  92. package/lib/esm/types/category.js +0 -1
  93. package/lib/esm/types/comment.d.ts +8 -1
  94. package/lib/esm/types/comment.js +0 -1
  95. package/lib/esm/types/contribution.d.ts +0 -1
  96. package/lib/esm/types/contribution.js +0 -1
  97. package/lib/esm/types/customAdv.d.ts +0 -1
  98. package/lib/esm/types/customAdv.js +0 -1
  99. package/lib/esm/types/customMenu.d.ts +0 -1
  100. package/lib/esm/types/customMenu.js +0 -1
  101. package/lib/esm/types/customNotification.d.ts +0 -1
  102. package/lib/esm/types/customNotification.js +0 -1
  103. package/lib/esm/types/customPage.d.ts +0 -1
  104. package/lib/esm/types/customPage.js +0 -1
  105. package/lib/esm/types/dataPortability.d.ts +0 -1
  106. package/lib/esm/types/dataPortability.js +0 -1
  107. package/lib/esm/types/device.d.ts +0 -1
  108. package/lib/esm/types/device.js +0 -1
  109. package/lib/esm/types/embed.d.ts +1 -2
  110. package/lib/esm/types/embed.js +0 -1
  111. package/lib/esm/types/feature.d.ts +0 -1
  112. package/lib/esm/types/feature.js +0 -1
  113. package/lib/esm/types/feed.d.ts +17 -2
  114. package/lib/esm/types/feed.js +0 -1
  115. package/lib/esm/types/flag.d.ts +0 -1
  116. package/lib/esm/types/flag.js +0 -1
  117. package/lib/esm/types/friendship.d.ts +0 -1
  118. package/lib/esm/types/friendship.js +0 -1
  119. package/lib/esm/types/incubator.d.ts +0 -1
  120. package/lib/esm/types/incubator.js +0 -1
  121. package/lib/esm/types/index.d.ts +39 -39
  122. package/lib/esm/types/index.js +3 -3
  123. package/lib/esm/types/insight.d.ts +0 -1
  124. package/lib/esm/types/insight.js +0 -1
  125. package/lib/esm/types/invite.d.ts +0 -1
  126. package/lib/esm/types/invite.js +0 -1
  127. package/lib/esm/types/legalPage.d.ts +0 -1
  128. package/lib/esm/types/legalPage.js +0 -1
  129. package/lib/esm/types/locale.d.ts +7 -0
  130. package/lib/esm/types/locale.js +8 -0
  131. package/lib/esm/types/location.d.ts +1 -2
  132. package/lib/esm/types/location.js +0 -1
  133. package/lib/esm/types/media.d.ts +9 -1
  134. package/lib/esm/types/media.js +0 -1
  135. package/lib/esm/types/metadata.d.ts +0 -1
  136. package/lib/esm/types/metadata.js +0 -1
  137. package/lib/esm/types/notification.d.ts +0 -1
  138. package/lib/esm/types/notification.js +0 -1
  139. package/lib/esm/types/platform.d.ts +0 -1
  140. package/lib/esm/types/platform.js +0 -1
  141. package/lib/esm/types/poll.d.ts +0 -1
  142. package/lib/esm/types/poll.js +0 -1
  143. package/lib/esm/types/preference.d.ts +0 -1
  144. package/lib/esm/types/preference.js +0 -1
  145. package/lib/esm/types/privateMessage.d.ts +2 -2
  146. package/lib/esm/types/privateMessage.js +1 -1
  147. package/lib/esm/types/prize.d.ts +0 -1
  148. package/lib/esm/types/prize.js +0 -1
  149. package/lib/esm/types/promo.d.ts +0 -1
  150. package/lib/esm/types/promo.js +0 -1
  151. package/lib/esm/types/reaction.d.ts +0 -1
  152. package/lib/esm/types/reaction.js +0 -1
  153. package/lib/esm/types/sso.d.ts +0 -1
  154. package/lib/esm/types/sso.js +0 -1
  155. package/lib/esm/types/suggestion.d.ts +0 -1
  156. package/lib/esm/types/suggestion.js +0 -1
  157. package/lib/esm/types/tag.d.ts +0 -1
  158. package/lib/esm/types/tag.js +0 -1
  159. package/lib/esm/types/user.d.ts +15 -3
  160. package/lib/esm/types/user.js +0 -1
  161. package/lib/esm/types/vote.d.ts +0 -1
  162. package/lib/esm/types/vote.js +0 -1
  163. package/lib/esm/types/webhook.d.ts +0 -1
  164. package/lib/esm/types/webhook.js +0 -1
  165. package/lib/umd/types.js +1 -2
  166. package/lib/umd/types.js.LICENSE.txt +1 -1
  167. package/package.json +16 -15
  168. package/lib/cjs/index.d.ts.map +0 -1
  169. package/lib/cjs/index.js.map +0 -1
  170. package/lib/cjs/types/auth.d.ts.map +0 -1
  171. package/lib/cjs/types/auth.js.map +0 -1
  172. package/lib/cjs/types/avatar.d.ts.map +0 -1
  173. package/lib/cjs/types/avatar.js.map +0 -1
  174. package/lib/cjs/types/broadcastMessage.d.ts.map +0 -1
  175. package/lib/cjs/types/broadcastMessage.js.map +0 -1
  176. package/lib/cjs/types/category.d.ts.map +0 -1
  177. package/lib/cjs/types/category.js.map +0 -1
  178. package/lib/cjs/types/comment.d.ts.map +0 -1
  179. package/lib/cjs/types/comment.js.map +0 -1
  180. package/lib/cjs/types/contribution.d.ts.map +0 -1
  181. package/lib/cjs/types/contribution.js.map +0 -1
  182. package/lib/cjs/types/customAdv.d.ts.map +0 -1
  183. package/lib/cjs/types/customAdv.js.map +0 -1
  184. package/lib/cjs/types/customMenu.d.ts.map +0 -1
  185. package/lib/cjs/types/customMenu.js.map +0 -1
  186. package/lib/cjs/types/customNotification.d.ts.map +0 -1
  187. package/lib/cjs/types/customNotification.js.map +0 -1
  188. package/lib/cjs/types/customPage.d.ts.map +0 -1
  189. package/lib/cjs/types/customPage.js.map +0 -1
  190. package/lib/cjs/types/dataPortability.d.ts.map +0 -1
  191. package/lib/cjs/types/dataPortability.js.map +0 -1
  192. package/lib/cjs/types/device.d.ts.map +0 -1
  193. package/lib/cjs/types/device.js.map +0 -1
  194. package/lib/cjs/types/embed.d.ts.map +0 -1
  195. package/lib/cjs/types/embed.js.map +0 -1
  196. package/lib/cjs/types/feature.d.ts.map +0 -1
  197. package/lib/cjs/types/feature.js.map +0 -1
  198. package/lib/cjs/types/feed.d.ts.map +0 -1
  199. package/lib/cjs/types/feed.js.map +0 -1
  200. package/lib/cjs/types/flag.d.ts.map +0 -1
  201. package/lib/cjs/types/flag.js.map +0 -1
  202. package/lib/cjs/types/friendship.d.ts.map +0 -1
  203. package/lib/cjs/types/friendship.js.map +0 -1
  204. package/lib/cjs/types/incubator.d.ts.map +0 -1
  205. package/lib/cjs/types/incubator.js.map +0 -1
  206. package/lib/cjs/types/index.d.ts.map +0 -1
  207. package/lib/cjs/types/index.js.map +0 -1
  208. package/lib/cjs/types/insight.d.ts.map +0 -1
  209. package/lib/cjs/types/insight.js.map +0 -1
  210. package/lib/cjs/types/invite.d.ts.map +0 -1
  211. package/lib/cjs/types/invite.js.map +0 -1
  212. package/lib/cjs/types/legalPage.d.ts.map +0 -1
  213. package/lib/cjs/types/legalPage.js.map +0 -1
  214. package/lib/cjs/types/location.d.ts.map +0 -1
  215. package/lib/cjs/types/location.js.map +0 -1
  216. package/lib/cjs/types/media.d.ts.map +0 -1
  217. package/lib/cjs/types/media.js.map +0 -1
  218. package/lib/cjs/types/metadata.d.ts.map +0 -1
  219. package/lib/cjs/types/metadata.js.map +0 -1
  220. package/lib/cjs/types/notification.d.ts.map +0 -1
  221. package/lib/cjs/types/notification.js.map +0 -1
  222. package/lib/cjs/types/platform.d.ts.map +0 -1
  223. package/lib/cjs/types/platform.js.map +0 -1
  224. package/lib/cjs/types/poll.d.ts.map +0 -1
  225. package/lib/cjs/types/poll.js.map +0 -1
  226. package/lib/cjs/types/preference.d.ts.map +0 -1
  227. package/lib/cjs/types/preference.js.map +0 -1
  228. package/lib/cjs/types/privateMessage.d.ts.map +0 -1
  229. package/lib/cjs/types/privateMessage.js.map +0 -1
  230. package/lib/cjs/types/prize.d.ts.map +0 -1
  231. package/lib/cjs/types/prize.js.map +0 -1
  232. package/lib/cjs/types/promo.d.ts.map +0 -1
  233. package/lib/cjs/types/promo.js.map +0 -1
  234. package/lib/cjs/types/reaction.d.ts.map +0 -1
  235. package/lib/cjs/types/reaction.js.map +0 -1
  236. package/lib/cjs/types/sso.d.ts.map +0 -1
  237. package/lib/cjs/types/sso.js.map +0 -1
  238. package/lib/cjs/types/suggestion.d.ts.map +0 -1
  239. package/lib/cjs/types/suggestion.js.map +0 -1
  240. package/lib/cjs/types/tag.d.ts.map +0 -1
  241. package/lib/cjs/types/tag.js.map +0 -1
  242. package/lib/cjs/types/user.d.ts.map +0 -1
  243. package/lib/cjs/types/user.js.map +0 -1
  244. package/lib/cjs/types/vote.d.ts.map +0 -1
  245. package/lib/cjs/types/vote.js.map +0 -1
  246. package/lib/cjs/types/webhook.d.ts.map +0 -1
  247. package/lib/cjs/types/webhook.js.map +0 -1
  248. package/lib/esm/index.d.ts.map +0 -1
  249. package/lib/esm/index.js.map +0 -1
  250. package/lib/esm/types/auth.d.ts.map +0 -1
  251. package/lib/esm/types/auth.js.map +0 -1
  252. package/lib/esm/types/avatar.d.ts.map +0 -1
  253. package/lib/esm/types/avatar.js.map +0 -1
  254. package/lib/esm/types/broadcastMessage.d.ts.map +0 -1
  255. package/lib/esm/types/broadcastMessage.js.map +0 -1
  256. package/lib/esm/types/category.d.ts.map +0 -1
  257. package/lib/esm/types/category.js.map +0 -1
  258. package/lib/esm/types/comment.d.ts.map +0 -1
  259. package/lib/esm/types/comment.js.map +0 -1
  260. package/lib/esm/types/contribution.d.ts.map +0 -1
  261. package/lib/esm/types/contribution.js.map +0 -1
  262. package/lib/esm/types/customAdv.d.ts.map +0 -1
  263. package/lib/esm/types/customAdv.js.map +0 -1
  264. package/lib/esm/types/customMenu.d.ts.map +0 -1
  265. package/lib/esm/types/customMenu.js.map +0 -1
  266. package/lib/esm/types/customNotification.d.ts.map +0 -1
  267. package/lib/esm/types/customNotification.js.map +0 -1
  268. package/lib/esm/types/customPage.d.ts.map +0 -1
  269. package/lib/esm/types/customPage.js.map +0 -1
  270. package/lib/esm/types/dataPortability.d.ts.map +0 -1
  271. package/lib/esm/types/dataPortability.js.map +0 -1
  272. package/lib/esm/types/device.d.ts.map +0 -1
  273. package/lib/esm/types/device.js.map +0 -1
  274. package/lib/esm/types/embed.d.ts.map +0 -1
  275. package/lib/esm/types/embed.js.map +0 -1
  276. package/lib/esm/types/feature.d.ts.map +0 -1
  277. package/lib/esm/types/feature.js.map +0 -1
  278. package/lib/esm/types/feed.d.ts.map +0 -1
  279. package/lib/esm/types/feed.js.map +0 -1
  280. package/lib/esm/types/flag.d.ts.map +0 -1
  281. package/lib/esm/types/flag.js.map +0 -1
  282. package/lib/esm/types/friendship.d.ts.map +0 -1
  283. package/lib/esm/types/friendship.js.map +0 -1
  284. package/lib/esm/types/incubator.d.ts.map +0 -1
  285. package/lib/esm/types/incubator.js.map +0 -1
  286. package/lib/esm/types/index.d.ts.map +0 -1
  287. package/lib/esm/types/index.js.map +0 -1
  288. package/lib/esm/types/insight.d.ts.map +0 -1
  289. package/lib/esm/types/insight.js.map +0 -1
  290. package/lib/esm/types/invite.d.ts.map +0 -1
  291. package/lib/esm/types/invite.js.map +0 -1
  292. package/lib/esm/types/legalPage.d.ts.map +0 -1
  293. package/lib/esm/types/legalPage.js.map +0 -1
  294. package/lib/esm/types/location.d.ts.map +0 -1
  295. package/lib/esm/types/location.js.map +0 -1
  296. package/lib/esm/types/media.d.ts.map +0 -1
  297. package/lib/esm/types/media.js.map +0 -1
  298. package/lib/esm/types/metadata.d.ts.map +0 -1
  299. package/lib/esm/types/metadata.js.map +0 -1
  300. package/lib/esm/types/notification.d.ts.map +0 -1
  301. package/lib/esm/types/notification.js.map +0 -1
  302. package/lib/esm/types/platform.d.ts.map +0 -1
  303. package/lib/esm/types/platform.js.map +0 -1
  304. package/lib/esm/types/poll.d.ts.map +0 -1
  305. package/lib/esm/types/poll.js.map +0 -1
  306. package/lib/esm/types/preference.d.ts.map +0 -1
  307. package/lib/esm/types/preference.js.map +0 -1
  308. package/lib/esm/types/privateMessage.d.ts.map +0 -1
  309. package/lib/esm/types/privateMessage.js.map +0 -1
  310. package/lib/esm/types/prize.d.ts.map +0 -1
  311. package/lib/esm/types/prize.js.map +0 -1
  312. package/lib/esm/types/promo.d.ts.map +0 -1
  313. package/lib/esm/types/promo.js.map +0 -1
  314. package/lib/esm/types/reaction.d.ts.map +0 -1
  315. package/lib/esm/types/reaction.js.map +0 -1
  316. package/lib/esm/types/sso.d.ts.map +0 -1
  317. package/lib/esm/types/sso.js.map +0 -1
  318. package/lib/esm/types/suggestion.d.ts.map +0 -1
  319. package/lib/esm/types/suggestion.js.map +0 -1
  320. package/lib/esm/types/tag.d.ts.map +0 -1
  321. package/lib/esm/types/tag.js.map +0 -1
  322. package/lib/esm/types/user.d.ts.map +0 -1
  323. package/lib/esm/types/user.js.map +0 -1
  324. package/lib/esm/types/vote.d.ts.map +0 -1
  325. package/lib/esm/types/vote.js.map +0 -1
  326. package/lib/esm/types/webhook.d.ts.map +0 -1
  327. package/lib/esm/types/webhook.js.map +0 -1
  328. package/lib/umd/types.js.map +0 -1
@@ -14,7 +14,7 @@ export interface SCContributionLocation {
14
14
  /**
15
15
  * Longitude
16
16
  */
17
- lon?: number;
17
+ lng?: number;
18
18
  }
19
19
  /**
20
20
  * Interface SCLocalityType.
@@ -58,4 +58,3 @@ export interface SCLocalityType {
58
58
  */
59
59
  town: string;
60
60
  }
61
- //# sourceMappingURL=location.d.ts.map
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=location.js.map
@@ -40,6 +40,15 @@ export interface SCMediaType {
40
40
  * Media image height
41
41
  */
42
42
  image_height?: number;
43
+ /**
44
+ * Media image thumbnail
45
+ */
46
+ image_thumbnail?: {
47
+ color?: string | null;
48
+ width: number;
49
+ height: number;
50
+ url: string;
51
+ };
43
52
  /**
44
53
  * Order in the list of medias
45
54
  */
@@ -66,4 +75,3 @@ export interface SCChunkMediaType {
66
75
  */
67
76
  expires: string;
68
77
  }
69
- //# sourceMappingURL=media.d.ts.map
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=media.js.map
@@ -38,4 +38,3 @@ export interface SCMetadataType {
38
38
  */
39
39
  type_options?: string[];
40
40
  }
41
- //# sourceMappingURL=metadata.d.ts.map
@@ -13,4 +13,3 @@ var SCMetadataTypeFieldType;
13
13
  SCMetadataTypeFieldType["PHONE_NUMBER"] = "phone_number";
14
14
  SCMetadataTypeFieldType["CHECKBOX"] = "checkbox";
15
15
  })(SCMetadataTypeFieldType = exports.SCMetadataTypeFieldType || (exports.SCMetadataTypeFieldType = {}));
16
- //# sourceMappingURL=metadata.js.map
@@ -438,4 +438,3 @@ export interface SCNotificationContributionType extends SCNotificationType {
438
438
  */
439
439
  status?: SCFeedStatusType;
440
440
  }
441
- //# sourceMappingURL=notification.d.ts.map
@@ -54,4 +54,3 @@ var SCNotificationTopicType;
54
54
  SCNotificationTopicType["INTERACTION"] = "interaction";
55
55
  SCNotificationTopicType["NEWS"] = "news";
56
56
  })(SCNotificationTopicType = exports.SCNotificationTopicType || (exports.SCNotificationTopicType = {}));
57
- //# sourceMappingURL=notification.js.map
@@ -6,4 +6,3 @@ export interface SCPlatformType {
6
6
  platform_url: string;
7
7
  token_details: SCAuthTokenType;
8
8
  }
9
- //# sourceMappingURL=platform.d.ts.map
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=platform.js.map
@@ -84,4 +84,3 @@ export interface SCPollVoteType {
84
84
  choice?: number;
85
85
  user?: SCUserType;
86
86
  }
87
- //# sourceMappingURL=poll.d.ts.map
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=poll.js.map
@@ -147,4 +147,3 @@ export interface SCPreferenceType {
147
147
  */
148
148
  value: string;
149
149
  }
150
- //# sourceMappingURL=preference.d.ts.map
@@ -131,4 +131,3 @@ var SCPreferenceName;
131
131
  SCPreferenceName["META_TITLE_HOME_NOT_LOGGED"] = "meta_title_home_not_logged";
132
132
  SCPreferenceName["META_DESCRIPTION"] = "meta_description";
133
133
  })(SCPreferenceName = exports.SCPreferenceName || (exports.SCPreferenceName = {}));
134
- //# sourceMappingURL=preference.js.map
@@ -127,7 +127,8 @@ export declare enum SCMessageFileType {
127
127
  DOCUMENT = "application/",
128
128
  IMAGE = "image/",
129
129
  VIDEO = "video/",
130
- PDF = "application/pdf"
130
+ PDF = "application/pdf",
131
+ AUDIO = "audio/"
131
132
  }
132
133
  /**
133
134
  * SCPrivateMessageUploadMediaType interface
@@ -150,4 +151,3 @@ export interface SCPrivateMessageUploadThumbnailType {
150
151
  export interface SCPrivateMessageUploadMediaChunkType {
151
152
  file_uuid: string;
152
153
  }
153
- //# sourceMappingURL=privateMessage.d.ts.map
@@ -22,5 +22,5 @@ var SCMessageFileType;
22
22
  SCMessageFileType["IMAGE"] = "image/";
23
23
  SCMessageFileType["VIDEO"] = "video/";
24
24
  SCMessageFileType["PDF"] = "application/pdf";
25
+ SCMessageFileType["AUDIO"] = "audio/";
25
26
  })(SCMessageFileType = exports.SCMessageFileType || (exports.SCMessageFileType = {}));
26
- //# sourceMappingURL=privateMessage.js.map
@@ -90,4 +90,3 @@ export declare enum SCPrizeUserStatusType {
90
90
  export interface SCUserLoyaltyPointsType {
91
91
  points: number;
92
92
  }
93
- //# sourceMappingURL=prize.d.ts.map
@@ -7,4 +7,3 @@ var SCPrizeUserStatusType;
7
7
  SCPrizeUserStatusType[SCPrizeUserStatusType["REFUSED"] = 1] = "REFUSED";
8
8
  SCPrizeUserStatusType[SCPrizeUserStatusType["SENT"] = 2] = "SENT";
9
9
  })(SCPrizeUserStatusType = exports.SCPrizeUserStatusType || (exports.SCPrizeUserStatusType = {}));
10
- //# sourceMappingURL=prize.js.map
@@ -24,4 +24,3 @@ export interface SCPromoType {
24
24
  */
25
25
  valid_to: Date;
26
26
  }
27
- //# sourceMappingURL=promo.d.ts.map
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=promo.js.map
@@ -23,4 +23,3 @@ export interface SCReactionType {
23
23
  */
24
24
  active?: boolean;
25
25
  }
26
- //# sourceMappingURL=reaction.d.ts.map
@@ -3,4 +3,3 @@
3
3
  * SCReactionType interface
4
4
  */
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- //# sourceMappingURL=reaction.js.map
@@ -19,4 +19,3 @@ export interface SSOSignUpType {
19
19
  role?: string | null;
20
20
  tags?: number[] | null;
21
21
  }
22
- //# sourceMappingURL=sso.d.ts.map
@@ -3,4 +3,3 @@
3
3
  * SSOSigninType interface
4
4
  */
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- //# sourceMappingURL=sso.js.map
@@ -17,4 +17,3 @@ export interface SCSuggestionType {
17
17
  category?: SCCategoryType;
18
18
  user?: SCUserType;
19
19
  }
20
- //# sourceMappingURL=suggestion.d.ts.map
@@ -6,4 +6,3 @@ var SuggestionType;
6
6
  SuggestionType["USER"] = "user";
7
7
  SuggestionType["CATEGORY"] = "category";
8
8
  })(SuggestionType = exports.SuggestionType || (exports.SuggestionType = {}));
9
- //# sourceMappingURL=suggestion.js.map
@@ -44,4 +44,3 @@ export interface SCTagType {
44
44
  */
45
45
  deleted: boolean;
46
46
  }
47
- //# sourceMappingURL=tag.d.ts.map
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=tag.js.map
@@ -3,6 +3,7 @@
3
3
  * User Schema.
4
4
  */
5
5
  import { SCTagType } from './tag';
6
+ import { SCLanguageType } from './locale';
6
7
  /**
7
8
  * User status
8
9
  */
@@ -69,6 +70,10 @@ export interface SCUserType {
69
70
  * Gender of the user. Values: Male, Female, Unspecified. Default: Unspecified.
70
71
  */
71
72
  gender: string;
73
+ /**
74
+ * User language
75
+ */
76
+ language?: SCLanguageType;
72
77
  /**
73
78
  * User status. Values: a (approved), b (blocked), d (deleted; soft deleted), u (unregistered). Default: a.
74
79
  * A blocked user can't:
@@ -86,7 +91,7 @@ export interface SCUserType {
86
91
  * - follow/unfollow a category
87
92
  * - unfollow user
88
93
  */
89
- status: string;
94
+ status?: string;
90
95
  /**
91
96
  * User website.
92
97
  */
@@ -166,7 +171,7 @@ export interface SCUserType {
166
171
  /**
167
172
  * User role
168
173
  */
169
- role: string;
174
+ role?: string;
170
175
  /**
171
176
  * interactions counter
172
177
  */
@@ -183,6 +188,14 @@ export interface SCUserType {
183
188
  * Datetime of the account deletion
184
189
  */
185
190
  deleted_at?: Date;
191
+ /**
192
+ * If the logged user is able to send a private message to the requested user (visible only in the get a specific user api response).
193
+ */
194
+ can_send_pm_to?: boolean;
195
+ /**
196
+ * Custom user metadata fields
197
+ */
198
+ [p: string]: any;
186
199
  }
187
200
  /**
188
201
  * User Settings
@@ -565,4 +578,3 @@ export interface SCUserProviderAssociationType {
565
578
  */
566
579
  metadata?: any;
567
580
  }
568
- //# sourceMappingURL=user.d.ts.map
@@ -33,4 +33,3 @@ var SCUserReputationType;
33
33
  SCUserReputationType[SCUserReputationType["LOSE_BY_FOLLOWER"] = -19] = "LOSE_BY_FOLLOWER";
34
34
  SCUserReputationType[SCUserReputationType["LOSE_BY_BLOCK_ACCOUNT"] = -20] = "LOSE_BY_BLOCK_ACCOUNT";
35
35
  })(SCUserReputationType = exports.SCUserReputationType || (exports.SCUserReputationType = {}));
36
- //# sourceMappingURL=user.js.map
@@ -17,4 +17,3 @@ export interface SCVoteType {
17
17
  */
18
18
  voted_at?: Date | string;
19
19
  }
20
- //# sourceMappingURL=vote.d.ts.map
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=vote.js.map
@@ -88,4 +88,3 @@ export interface SCWebhookEventsType {
88
88
  */
89
89
  added_at: Date | string;
90
90
  }
91
- //# sourceMappingURL=webhook.d.ts.map
@@ -4,4 +4,3 @@
4
4
  * Webhook Schema
5
5
  */
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
- //# sourceMappingURL=webhook.js.map
@@ -1,9 +1,13 @@
1
1
  /**
2
2
  * Types
3
3
  */
4
- import { SCBroadcastMessageBannerType, SCBannerType, SCBroadcastMessageType, SCAuthTokenType, SCCustomAdvPosition, SCCustomAdvType, SCCustomMenuItemType, SCCustomMenuType, SCUserType, SCUserSettingsType, SCUserStatus, SCUserBlockedSettingsType, SCUserModerationType, SCUserScoreVariation, SCUserScoreType, SCUserReputationType, SCUserAutocompleteType, SCUserCounterType, SCUserChangeEmailType, SCUserAvatarType, SCUserPermissionType, SCUserFollowedStatusType, SCUserFollowerStatusType, SCUserConnectionStatusType, SCUserHiddenStatusType, SCUserHiddenByStatusType, SCUserConnectionRequestType, SCUserEmailTokenType, SCUserProviderAssociationType, SCMetadataTypeFieldType, SCMetadataType, SCTagType, SCCategoryType, SCCategoryAudienceType, SCCategoryFollowedStatusType, SCCategoryAutoFollowType, SCEmbedType, SCMediaType, SCChunkMediaType, SCContributionLocation, SCLocalityType, SCPollChoiceType, SCPollType, SCPollVoteType, SCFeedUnitType, SCFeedUnitActivityType, SCFeedObjectType, SCFeedPostType, SCFeedDiscussionType, SCFeedStatusType, SCFeedUnitActivityTypologyType, SCFeedTypologyType, SCFeedUnseenCountType, SCFeedObjectSuspendedStatusType, SCFeedObjectHideStatusType, SCFeedObjectFollowingStatusType, SCCommentsOrderBy, SCCommentType, SCPrivateMessageThreadType, SCPrivateMessageSnippetType, SCPrivateMessageStatusType, SCPrivateMessageFileType, SCMessageFileType, SCPrivateMessageUploadMediaType, SCPrivateMessageUploadThumbnailType, SCPrivateMessageUploadMediaChunkType, SCNotificationTypologyType, SCNotificationAggregatedType, SCNotificationCommentType, SCNotificationConnectionAcceptType, SCNotificationConnectionRequestType, SCNotificationPrivateMessageType, SCNotificationMentionType, SCNotificationType, SCNotificationBlockedUserType, SCNotificationCollapsedForType, SCNotificationCustomNotificationType, SCNotificationDeletedForType, SCNotificationFollowType, SCNotificationKindlyNoticeType, SCNotificationUnBlockedUserType, SCNotificationUnDeletedForType, SCNotificationUserFollowType, SCNotificationVoteUpType, SCCustomNotificationType, SCNotificationUnseenCountType, SCNotificationContributionType, SCIncubatorType, SCIncubatorSubscriptionType, SCIncubatorStatusType, SCInviteType, SCNotificationIncubatorType, SCNotificationTopicType, SCPrizeType, SCPrizeUserType, SCPrizeUserStatusType, SCPromoType, SCUserLoyaltyPointsType, SCWebhookEndpointType, SCWebhookEndpointAttemptType, SCWebhookEndpointSecretType, SCWebhookEventsType, SCVoteType, SCFlagType, SCFlagTypeEnum, SCFlagModerationStatusType, SCCustomPageTypeEnum, SCCustomPageType, SCDataPortabilityType, SCPreferenceSection, SCPreferenceName, SCPreferenceType, SCFeatureName, SCFeatureType, SSOSignInType, SSOSignUpType, SCLegalPagePoliciesType, SCLegalPageType, SCLegalPageAckType, SCContributionInsightCountersType, SCContributionInsightType, SCEmbedInsightType, SCEmbedInsightCountersType, SCUsersInsightType, SCUsersInsightCountersType, SCFlaggedContributionType, SCContributionType, SCContributionStatus, SCContributeStatusType, SCPlatformType, SCAvatarType, SCReactionType, SCSuggestionType, SuggestionType, SCConnectionStatus, SCDeviceType, SCApnsDeviceType, SCGcmDeviceType } from './types';
4
+ import { type SCBannerType, type SCBroadcastMessageType, type SCAuthTokenType, type SCCustomAdvType, type SCCustomMenuItemType, type SCCustomMenuType, type SCUserType, type SCUserSettingsType, type SCUserBlockedSettingsType, type SCUserModerationType, type SCUserScoreVariation, type SCUserScoreType, type SCUserReputationType, type SCUserAutocompleteType, type SCUserCounterType, type SCUserChangeEmailType, type SCUserAvatarType, type SCUserPermissionType, type SCUserFollowedStatusType, type SCUserFollowerStatusType, type SCUserConnectionStatusType, type SCUserHiddenStatusType, type SCUserHiddenByStatusType, type SCUserConnectionRequestType, type SCUserEmailTokenType, type SCUserProviderAssociationType, type SCMetadataType, type SCTagType, type SCCategoryType, type SCCategoryAudienceType, type SCCategoryFollowedStatusType, type SCEmbedType, type SCMediaType, type SCChunkMediaType, type SCContributionLocation, type SCLocalityType, type SCPollChoiceType, type SCPollType, type SCPollVoteType, type SCFeedUnitType, type SCFeedUnitActivityType, type SCFeedObjectType, type SCFeedPostType, type SCFeedDiscussionType, type SCFeedStatusType, type SCFeedUnseenCountType, type SCFeedObjectSuspendedStatusType, type SCFeedObjectHideStatusType, type SCFeedObjectFollowingStatusType, type SCCommentType, type SCPrivateMessageThreadType, type SCPrivateMessageSnippetType, type SCPrivateMessageFileType, type SCPrivateMessageUploadMediaType, type SCPrivateMessageUploadThumbnailType, type SCPrivateMessageUploadMediaChunkType, type SCNotificationAggregatedType, type SCNotificationCommentType, type SCNotificationConnectionAcceptType, type SCNotificationConnectionRequestType, type SCNotificationPrivateMessageType, type SCNotificationMentionType, type SCNotificationType, type SCNotificationBlockedUserType, type SCNotificationCollapsedForType, type SCNotificationCustomNotificationType, type SCNotificationDeletedForType, type SCNotificationFollowType, type SCNotificationKindlyNoticeType, type SCNotificationUnBlockedUserType, type SCNotificationUnDeletedForType, type SCNotificationUserFollowType, type SCNotificationVoteUpType, type SCCustomNotificationType, type SCNotificationUnseenCountType, type SCNotificationContributionType, type SCIncubatorType, type SCIncubatorSubscriptionType, type SCInviteType, type SCNotificationIncubatorType, type SCPrizeType, type SCPrizeUserType, type SCPromoType, type SCUserLoyaltyPointsType, type SCWebhookEndpointType, type SCWebhookEndpointAttemptType, type SCWebhookEndpointSecretType, type SCWebhookEventsType, type SCVoteType, type SCFlagType, type SCCustomPageType, type SCDataPortabilityType, type SCPreferenceType, type SCFeatureType, type SSOSignInType, type SSOSignUpType, type SCLegalPageType, type SCLegalPageAckType, type SCContributionInsightCountersType, type SCContributionInsightType, type SCEmbedInsightType, type SCEmbedInsightCountersType, type SCUsersInsightType, type SCUsersInsightCountersType, type SCFlaggedContributionType, type SCPlatformType, type SCAvatarType, type SCReactionType, type SCDeviceType, type SCApnsDeviceType, type SCGcmDeviceType, type SCSuggestionType, type SCContributionStatus } from './types';
5
5
  /**
6
- * List all exports
6
+ * Import enums
7
7
  */
8
- export { SCBroadcastMessageBannerType, SCBannerType, SCBroadcastMessageType, SCCustomAdvPosition, SCCustomAdvType, SCCustomMenuItemType, SCCustomMenuType, SCAuthTokenType, SCUserType, SCUserSettingsType, SCUserStatus, SCUserBlockedSettingsType, SCUserModerationType, SCUserScoreVariation, SCUserScoreType, SCUserReputationType, SCUserAutocompleteType, SCUserCounterType, SCUserAvatarType, SCUserChangeEmailType, SCUserPermissionType, SCUserFollowedStatusType, SCUserFollowerStatusType, SCUserConnectionStatusType, SCUserHiddenStatusType, SCUserHiddenByStatusType, SCUserConnectionRequestType, SCUserEmailTokenType, SCUserProviderAssociationType, SCMetadataTypeFieldType, SCMetadataType, SCTagType, SCCategoryType, SCCategoryAudienceType, SCCategoryFollowedStatusType, SCCategoryAutoFollowType, SCEmbedType, SCMediaType, SCChunkMediaType, SCContributionLocation, SCLocalityType, SCPollChoiceType, SCPollType, SCPollVoteType, SCFeedUnitType, SCFeedUnitActivityType, SCFeedObjectType, SCFeedPostType, SCFeedDiscussionType, SCFeedStatusType, SCFeedUnitActivityTypologyType, SCFeedTypologyType, SCFeedUnseenCountType, SCFeedObjectSuspendedStatusType, SCFeedObjectHideStatusType, SCFeedObjectFollowingStatusType, SCCommentsOrderBy, SCCommentType, SCPrivateMessageThreadType, SCPrivateMessageSnippetType, SCPrivateMessageStatusType, SCPrivateMessageFileType, SCMessageFileType, SCPrivateMessageUploadMediaType, SCPrivateMessageUploadThumbnailType, SCPrivateMessageUploadMediaChunkType, SCPromoType, SCNotificationTypologyType, SCNotificationAggregatedType, SCNotificationCommentType, SCNotificationConnectionAcceptType, SCNotificationConnectionRequestType, SCNotificationPrivateMessageType, SCNotificationMentionType, SCNotificationType, SCNotificationBlockedUserType, SCNotificationCollapsedForType, SCNotificationCustomNotificationType, SCNotificationDeletedForType, SCNotificationFollowType, SCNotificationKindlyNoticeType, SCNotificationUnBlockedUserType, SCNotificationUnDeletedForType, SCNotificationUserFollowType, SCNotificationVoteUpType, SCCustomNotificationType, SCNotificationTopicType, SCNotificationContributionType, SCIncubatorType, SCIncubatorSubscriptionType, SCIncubatorStatusType, SCInviteType, SCNotificationIncubatorType, SCNotificationUnseenCountType, SCPrizeType, SCPrizeUserType, SCPrizeUserStatusType, SCUserLoyaltyPointsType, SCWebhookEndpointType, SCWebhookEndpointAttemptType, SCWebhookEndpointSecretType, SCWebhookEventsType, SCVoteType, SCFlagType, SCFlagTypeEnum, SCFlagModerationStatusType, SCCustomPageTypeEnum, SCCustomPageType, SCDataPortabilityType, SCPreferenceSection, SCPreferenceName, SCPreferenceType, SCFeatureName, SCFeatureType, SSOSignInType, SSOSignUpType, SCLegalPagePoliciesType, SCLegalPageType, SCLegalPageAckType, SCContributionInsightCountersType, SCContributionInsightType, SCEmbedInsightType, SCEmbedInsightCountersType, SCUsersInsightType, SCUsersInsightCountersType, SCFlaggedContributionType, SCContributionType, SCContributeStatusType, SCContributionStatus, SCPlatformType, SCAvatarType, SCReactionType, SCSuggestionType, SuggestionType, SCConnectionStatus, SCDeviceType, SCApnsDeviceType, SCGcmDeviceType };
9
- //# sourceMappingURL=index.d.ts.map
8
+ import { SCContributionType, SCBroadcastMessageBannerType, SCCategoryAutoFollowType, SCCommentsOrderBy, SCCustomAdvPosition, SCCustomPageTypeEnum, SCDeviceTypeEnum, SCDeviceApnsTypeEnum, SCFeatureName, SCFeedTypologyType, SCFeedUnitActivityTypologyType, SCFlagTypeEnum, SCFlagModerationStatusType, SCConnectionStatus, SCIncubatorStatusType, SCLegalPagePoliciesType, SCLanguageType, SCNotificationTypologyType, SCNotificationTopicType, SCPreferenceSection, SCPreferenceName, SCMessageFileType, SCPrizeUserStatusType, SCUserStatus, SuggestionType, SCPrivateMessageStatusType, SCMetadataTypeFieldType } from './types';
9
+ /**
10
+ * List all exports enums and types
11
+ */
12
+ export { SCContributionType, SCBroadcastMessageBannerType, SCCategoryAutoFollowType, SCCommentsOrderBy, SCCustomAdvPosition, SCCustomPageTypeEnum, SCDeviceTypeEnum, SCDeviceApnsTypeEnum, SCFeatureName, SCFeedTypologyType, SCFeedUnitActivityTypologyType, SCFlagTypeEnum, SCFlagModerationStatusType, SCConnectionStatus, SCIncubatorStatusType, SCLegalPagePoliciesType, SCLanguageType, SCNotificationTypologyType, SCNotificationTopicType, SCPreferenceSection, SCPreferenceName, SCMessageFileType, SCPrizeUserStatusType, SCUserStatus, SuggestionType, SCPrivateMessageStatusType, SCMetadataTypeFieldType };
13
+ export { type SCBannerType, type SCBroadcastMessageType, type SCCustomAdvType, type SCCustomMenuItemType, type SCCustomMenuType, type SCAuthTokenType, type SCUserType, type SCUserSettingsType, type SCUserBlockedSettingsType, type SCUserModerationType, type SCUserScoreVariation, type SCUserScoreType, type SCUserReputationType, type SCUserAutocompleteType, type SCUserCounterType, type SCUserAvatarType, type SCUserChangeEmailType, type SCUserPermissionType, type SCUserFollowedStatusType, type SCUserFollowerStatusType, type SCUserConnectionStatusType, type SCUserHiddenStatusType, type SCUserHiddenByStatusType, type SCUserConnectionRequestType, type SCUserEmailTokenType, type SCUserProviderAssociationType, type SCMetadataType, type SCTagType, type SCCategoryType, type SCCategoryAudienceType, type SCCategoryFollowedStatusType, type SCEmbedType, type SCMediaType, type SCChunkMediaType, type SCContributionLocation, type SCLocalityType, type SCPollChoiceType, type SCPollType, type SCPollVoteType, type SCFeedUnitType, type SCFeedUnitActivityType, type SCFeedObjectType, type SCFeedPostType, type SCFeedDiscussionType, type SCFeedStatusType, type SCFeedUnseenCountType, type SCFeedObjectSuspendedStatusType, type SCFeedObjectHideStatusType, type SCFeedObjectFollowingStatusType, type SCCommentType, type SCPrivateMessageThreadType, type SCPrivateMessageSnippetType, type SCPrivateMessageFileType, type SCPrivateMessageUploadMediaType, type SCPrivateMessageUploadThumbnailType, type SCPrivateMessageUploadMediaChunkType, type SCPromoType, type SCNotificationAggregatedType, type SCNotificationCommentType, type SCNotificationConnectionAcceptType, type SCNotificationConnectionRequestType, type SCNotificationPrivateMessageType, type SCNotificationMentionType, type SCNotificationType, type SCNotificationBlockedUserType, type SCNotificationCollapsedForType, type SCNotificationCustomNotificationType, type SCNotificationDeletedForType, type SCNotificationFollowType, type SCNotificationKindlyNoticeType, type SCNotificationUnBlockedUserType, type SCNotificationUnDeletedForType, type SCNotificationUserFollowType, type SCNotificationVoteUpType, type SCCustomNotificationType, type SCNotificationContributionType, type SCIncubatorType, type SCIncubatorSubscriptionType, type SCInviteType, type SCNotificationIncubatorType, type SCNotificationUnseenCountType, type SCPrizeType, type SCPrizeUserType, type SCUserLoyaltyPointsType, type SCWebhookEndpointType, type SCWebhookEndpointAttemptType, type SCWebhookEndpointSecretType, type SCWebhookEventsType, type SCContributionStatus, type SCVoteType, type SCFlagType, type SCCustomPageType, type SCDataPortabilityType, type SCPreferenceType, type SCFeatureType, type SSOSignInType, type SSOSignUpType, type SCLegalPageType, type SCLegalPageAckType, type SCContributionInsightCountersType, type SCContributionInsightType, type SCEmbedInsightType, type SCEmbedInsightCountersType, type SCUsersInsightType, type SCUsersInsightCountersType, type SCFlaggedContributionType, type SCPlatformType, type SCAvatarType, type SCReactionType, type SCDeviceType, type SCApnsDeviceType, type SCGcmDeviceType, type SCSuggestionType };
package/lib/esm/index.js CHANGED
@@ -1,9 +1,8 @@
1
1
  /**
2
- * Types
2
+ * Import enums
3
3
  */
4
- import { SCBroadcastMessageBannerType, SCCustomAdvPosition, SCUserStatus, SCUserReputationType, SCMetadataTypeFieldType, SCCategoryAutoFollowType, SCFeedUnitActivityTypologyType, SCFeedTypologyType, SCCommentsOrderBy, SCPrivateMessageStatusType, SCMessageFileType, SCNotificationTypologyType, SCIncubatorStatusType, SCNotificationTopicType, SCPrizeUserStatusType, SCFlagTypeEnum, SCFlagModerationStatusType, SCCustomPageTypeEnum, SCPreferenceSection, SCPreferenceName, SCFeatureName, SCLegalPagePoliciesType, SCContributionType, SCContributeStatusType, SuggestionType, SCConnectionStatus } from './types';
4
+ import { SCContributionType, SCBroadcastMessageBannerType, SCCategoryAutoFollowType, SCCommentsOrderBy, SCCustomAdvPosition, SCCustomPageTypeEnum, SCDeviceTypeEnum, SCDeviceApnsTypeEnum, SCFeatureName, SCFeedTypologyType, SCFeedUnitActivityTypologyType, SCFlagTypeEnum, SCFlagModerationStatusType, SCConnectionStatus, SCIncubatorStatusType, SCLegalPagePoliciesType, SCLanguageType, SCNotificationTypologyType, SCNotificationTopicType, SCPreferenceSection, SCPreferenceName, SCMessageFileType, SCPrizeUserStatusType, SCUserStatus, SuggestionType, SCPrivateMessageStatusType, SCMetadataTypeFieldType } from './types';
5
5
  /**
6
- * List all exports
6
+ * List all exports enums and types
7
7
  */
8
- export { SCBroadcastMessageBannerType, SCCustomAdvPosition, SCUserStatus, SCUserReputationType, SCMetadataTypeFieldType, SCCategoryAutoFollowType, SCFeedUnitActivityTypologyType, SCFeedTypologyType, SCCommentsOrderBy, SCPrivateMessageStatusType, SCMessageFileType, SCNotificationTypologyType, SCNotificationTopicType, SCIncubatorStatusType, SCPrizeUserStatusType, SCFlagTypeEnum, SCFlagModerationStatusType, SCCustomPageTypeEnum, SCPreferenceSection, SCPreferenceName, SCFeatureName, SCLegalPagePoliciesType, SCContributionType, SCContributeStatusType, SuggestionType, SCConnectionStatus };
9
- //# sourceMappingURL=index.js.map
8
+ export { SCContributionType, SCBroadcastMessageBannerType, SCCategoryAutoFollowType, SCCommentsOrderBy, SCCustomAdvPosition, SCCustomPageTypeEnum, SCDeviceTypeEnum, SCDeviceApnsTypeEnum, SCFeatureName, SCFeedTypologyType, SCFeedUnitActivityTypologyType, SCFlagTypeEnum, SCFlagModerationStatusType, SCConnectionStatus, SCIncubatorStatusType, SCLegalPagePoliciesType, SCLanguageType, SCNotificationTypologyType, SCNotificationTopicType, SCPreferenceSection, SCPreferenceName, SCMessageFileType, SCPrizeUserStatusType, SCUserStatus, SuggestionType, SCPrivateMessageStatusType, SCMetadataTypeFieldType };
@@ -23,4 +23,3 @@ export interface SCAuthTokenType {
23
23
  */
24
24
  scope?: Array<string>;
25
25
  }
26
- //# sourceMappingURL=auth.d.ts.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=auth.js.map
@@ -23,4 +23,3 @@ export interface SCAvatarType {
23
23
  */
24
24
  user: number;
25
25
  }
26
- //# sourceMappingURL=avatar.d.ts.map
@@ -2,4 +2,3 @@
2
2
  * SCAvatarType interface
3
3
  */
4
4
  export {};
5
- //# sourceMappingURL=avatar.js.map
@@ -70,4 +70,3 @@ export interface SCBroadcastMessageType {
70
70
  */
71
71
  viewed_at: Date | null;
72
72
  }
73
- //# sourceMappingURL=broadcastMessage.d.ts.map
@@ -6,4 +6,3 @@ export var SCBroadcastMessageBannerType;
6
6
  SCBroadcastMessageBannerType["HTML"] = "html_banner";
7
7
  SCBroadcastMessageBannerType["NOTIFICATION"] = "notification_banner";
8
8
  })(SCBroadcastMessageBannerType || (SCBroadcastMessageBannerType = {}));
9
- //# sourceMappingURL=broadcastMessage.js.map
@@ -113,4 +113,3 @@ export declare enum SCCategoryAutoFollowType {
113
113
  DEFAULT = "default",
114
114
  FORCED = "forced"
115
115
  }
116
- //# sourceMappingURL=category.d.ts.map
@@ -4,4 +4,3 @@ export var SCCategoryAutoFollowType;
4
4
  SCCategoryAutoFollowType["DEFAULT"] = "default";
5
5
  SCCategoryAutoFollowType["FORCED"] = "forced";
6
6
  })(SCCategoryAutoFollowType || (SCCategoryAutoFollowType = {}));
7
- //# sourceMappingURL=category.js.map
@@ -37,6 +37,14 @@ export interface SCCommentType {
37
37
  * Summary
38
38
  */
39
39
  summary: string;
40
+ /**
41
+ * Summary html
42
+ */
43
+ summary_html?: string;
44
+ /**
45
+ * True if summary_html is truncated
46
+ */
47
+ summary_truncated?: boolean;
40
48
  /**
41
49
  * If the comments is deleted
42
50
  */
@@ -99,4 +107,3 @@ export declare enum SCCommentsOrderBy {
99
107
  CONNECTION_DESC = "-connection",
100
108
  CONNECTION_ASC = "connection"
101
109
  }
102
- //# sourceMappingURL=comment.d.ts.map
@@ -8,4 +8,3 @@ export var SCCommentsOrderBy;
8
8
  SCCommentsOrderBy["CONNECTION_DESC"] = "-connection";
9
9
  SCCommentsOrderBy["CONNECTION_ASC"] = "connection";
10
10
  })(SCCommentsOrderBy || (SCCommentsOrderBy = {}));
11
- //# sourceMappingURL=comment.js.map
@@ -61,4 +61,3 @@ export declare enum SCContributeStatusType {
61
61
  HIDDEN = "hidden",
62
62
  DELETED = "deleted"
63
63
  }
64
- //# sourceMappingURL=contribution.d.ts.map
@@ -18,4 +18,3 @@ export var SCContributeStatusType;
18
18
  SCContributeStatusType["HIDDEN"] = "hidden";
19
19
  SCContributeStatusType["DELETED"] = "deleted";
20
20
  })(SCContributeStatusType || (SCContributeStatusType = {}));
21
- //# sourceMappingURL=contribution.js.map
@@ -50,4 +50,3 @@ export interface SCCustomAdvType {
50
50
  */
51
51
  category: number | null;
52
52
  }
53
- //# sourceMappingURL=customAdv.d.ts.map
@@ -9,4 +9,3 @@ export var SCCustomAdvPosition;
9
9
  SCCustomAdvPosition["POSITION_FEED_SIDEBAR"] = "TOOLS_COLUMN";
10
10
  SCCustomAdvPosition["POSITION_FEED"] = "IN_STREAM";
11
11
  })(SCCustomAdvPosition || (SCCustomAdvPosition = {}));
12
- //# sourceMappingURL=customAdv.js.map
@@ -19,4 +19,3 @@ export interface SCCustomMenuType {
19
19
  created_at?: Date | string;
20
20
  updated_at?: Date | string;
21
21
  }
22
- //# sourceMappingURL=customMenu.d.ts.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=customMenu.js.map
@@ -25,4 +25,3 @@ export interface SCCustomNotificationType {
25
25
  */
26
26
  description?: string;
27
27
  }
28
- //# sourceMappingURL=customNotification.d.ts.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=customNotification.js.map
@@ -20,4 +20,3 @@ export interface SCCustomPageType {
20
20
  created_by?: number;
21
21
  updated_by?: number;
22
22
  }
23
- //# sourceMappingURL=customPage.d.ts.map
@@ -3,4 +3,3 @@ export var SCCustomPageTypeEnum;
3
3
  SCCustomPageTypeEnum["NORMAL"] = "normal";
4
4
  SCCustomPageTypeEnum["LEGAL"] = "legal";
5
5
  })(SCCustomPageTypeEnum || (SCCustomPageTypeEnum = {}));
6
- //# sourceMappingURL=customPage.js.map
@@ -27,4 +27,3 @@ export interface SCDataPortabilityType {
27
27
  */
28
28
  downloaded_at?: Date | string;
29
29
  }
30
- //# sourceMappingURL=dataPortability.d.ts.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=dataPortability.js.map
@@ -78,4 +78,3 @@ export interface SCGcmDeviceType extends SCDeviceType {
78
78
  * APNSDevice Schema.
79
79
  */
80
80
  export declare type SCApnsDeviceType = SCDeviceType;
81
- //# sourceMappingURL=device.d.ts.map
@@ -21,4 +21,3 @@ export var SCDeviceApnsTypeEnum;
21
21
  (function (SCDeviceApnsTypeEnum) {
22
22
  SCDeviceApnsTypeEnum["APNS"] = "APNS";
23
23
  })(SCDeviceApnsTypeEnum || (SCDeviceApnsTypeEnum = {}));
24
- //# sourceMappingURL=device.js.map
@@ -16,7 +16,7 @@ export interface SCEmbedType {
16
16
  /**
17
17
  * External id for the embed object
18
18
  */
19
- embed_id: number;
19
+ embed_id: number | string;
20
20
  /**
21
21
  * Url for the resource, if any
22
22
  */
@@ -30,4 +30,3 @@ export interface SCEmbedType {
30
30
  */
31
31
  metadata: Record<string, any>;
32
32
  }
33
- //# sourceMappingURL=embed.d.ts.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=embed.js.map
@@ -59,4 +59,3 @@ export interface SCFeatureType {
59
59
  */
60
60
  enabled?: boolean;
61
61
  }
62
- //# sourceMappingURL=feature.d.ts.map
@@ -43,4 +43,3 @@ export var SCFeatureName;
43
43
  SCFeatureName["REACTION"] = "reaction";
44
44
  SCFeatureName["PRIVATE_MESSAGING"] = "private_messaging";
45
45
  })(SCFeatureName || (SCFeatureName = {}));
46
- //# sourceMappingURL=feature.js.map
@@ -125,6 +125,14 @@ export interface SCFeedObjectType {
125
125
  * Summary
126
126
  */
127
127
  summary: string;
128
+ /**
129
+ * Summary html
130
+ */
131
+ summary_html?: string;
132
+ /**
133
+ * True if summary_html is truncated
134
+ */
135
+ summary_truncated?: boolean;
128
136
  /**
129
137
  * True if the object is deleted
130
138
  */
@@ -145,10 +153,18 @@ export interface SCFeedObjectType {
145
153
  * True if the logged user follow this object
146
154
  */
147
155
  followed?: boolean;
156
+ /**
157
+ * Number of views
158
+ */
159
+ view_count: number;
148
160
  /**
149
161
  * Number of votes
150
162
  */
151
163
  vote_count: number;
164
+ /**
165
+ * Number of followers
166
+ */
167
+ follower_count: number;
152
168
  /**
153
169
  * Reaction obj
154
170
  */
@@ -156,7 +172,7 @@ export interface SCFeedObjectType {
156
172
  /**
157
173
  * Reactions number and objs
158
174
  */
159
- reactions_count: [];
175
+ reactions_count: any[];
160
176
  /**
161
177
  * True if the logged user has already voted this object
162
178
  */
@@ -236,4 +252,3 @@ export interface SCFeedObjectFollowingStatusType {
236
252
  export interface SCFeedObjectHideStatusType {
237
253
  hidden: boolean;
238
254
  }
239
- //# sourceMappingURL=feed.d.ts.map
@@ -13,4 +13,3 @@ export var SCFeedUnitActivityTypologyType;
13
13
  SCFeedUnitActivityTypologyType["POLLVOTE"] = "pollvote";
14
14
  SCFeedUnitActivityTypologyType["FOLLOW"] = "follow";
15
15
  })(SCFeedUnitActivityTypologyType || (SCFeedUnitActivityTypologyType = {}));
16
- //# sourceMappingURL=feed.js.map
@@ -35,4 +35,3 @@ export declare enum SCFlagModerationStatusType {
35
35
  DELETED = "deleted",
36
36
  HIDDEN = "hidden"
37
37
  }
38
- //# sourceMappingURL=flag.d.ts.map
@@ -15,4 +15,3 @@ export var SCFlagModerationStatusType;
15
15
  SCFlagModerationStatusType["DELETED"] = "deleted";
16
16
  SCFlagModerationStatusType["HIDDEN"] = "hidden";
17
17
  })(SCFlagModerationStatusType || (SCFlagModerationStatusType = {}));
18
- //# sourceMappingURL=flag.js.map
@@ -6,4 +6,3 @@ export declare enum SCConnectionStatus {
6
6
  CONNECTION_REQUEST_SENT = "sent_connection_request",
7
7
  CONNECTION_REQUEST_RECEIVED = "received_connection_request"
8
8
  }
9
- //# sourceMappingURL=friendship.d.ts.map
@@ -7,4 +7,3 @@ export var SCConnectionStatus;
7
7
  SCConnectionStatus["CONNECTION_REQUEST_SENT"] = "sent_connection_request";
8
8
  SCConnectionStatus["CONNECTION_REQUEST_RECEIVED"] = "received_connection_request";
9
9
  })(SCConnectionStatus || (SCConnectionStatus = {}));
10
- //# sourceMappingURL=friendship.js.map