@selfcommunity/types 0.1.7 → 0.1.8

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 (260) hide show
  1. package/lib/{types → cjs}/index.d.ts +0 -0
  2. package/lib/{types → cjs}/index.d.ts.map +0 -0
  3. package/lib/cjs/index.js +27 -124
  4. package/lib/cjs/index.js.map +1 -0
  5. package/lib/{types → cjs}/types/auth.d.ts +0 -0
  6. package/lib/{types → cjs}/types/auth.d.ts.map +0 -0
  7. package/lib/cjs/types/auth.js +2 -2
  8. package/lib/cjs/types/auth.js.map +1 -0
  9. package/lib/{types → cjs}/types/avatar.d.ts +0 -0
  10. package/lib/{types → cjs}/types/avatar.d.ts.map +0 -0
  11. package/lib/cjs/types/avatar.js +5 -2
  12. package/lib/cjs/types/avatar.js.map +1 -0
  13. package/lib/{types → cjs}/types/broadcastMessage.d.ts +0 -0
  14. package/lib/{types → cjs}/types/broadcastMessage.d.ts.map +0 -0
  15. package/lib/cjs/types/broadcastMessage.js +6 -9
  16. package/lib/cjs/types/broadcastMessage.js.map +1 -0
  17. package/lib/{types → cjs}/types/category.d.ts +0 -0
  18. package/lib/{types → cjs}/types/category.d.ts.map +0 -0
  19. package/lib/cjs/types/category.js +2 -2
  20. package/lib/cjs/types/category.js.map +1 -0
  21. package/lib/{types → cjs}/types/comment.d.ts +0 -0
  22. package/lib/{types → cjs}/types/comment.d.ts.map +0 -0
  23. package/lib/cjs/types/comment.js +9 -19
  24. package/lib/cjs/types/comment.js.map +1 -0
  25. package/lib/{types → cjs}/types/contribution.d.ts +0 -0
  26. package/lib/{types → cjs}/types/contribution.d.ts.map +0 -0
  27. package/lib/cjs/types/contribution.js +15 -29
  28. package/lib/cjs/types/contribution.js.map +1 -0
  29. package/lib/{types → cjs}/types/customAdv.d.ts +0 -0
  30. package/lib/{types → cjs}/types/customAdv.d.ts.map +0 -0
  31. package/lib/cjs/types/customAdv.js +12 -14
  32. package/lib/cjs/types/customAdv.js.map +1 -0
  33. package/lib/{types → cjs}/types/customNotification.d.ts +0 -0
  34. package/lib/{types → cjs}/types/customNotification.d.ts.map +0 -0
  35. package/lib/cjs/types/customNotification.js +2 -2
  36. package/lib/cjs/types/customNotification.js.map +1 -0
  37. package/lib/{types → cjs}/types/customPage.d.ts +0 -0
  38. package/lib/{types → cjs}/types/customPage.d.ts.map +0 -0
  39. package/lib/cjs/types/customPage.js +2 -2
  40. package/lib/cjs/types/customPage.js.map +1 -0
  41. package/lib/{types → cjs}/types/dataPortability.d.ts +0 -0
  42. package/lib/{types → cjs}/types/dataPortability.d.ts.map +0 -0
  43. package/lib/cjs/types/dataPortability.js +2 -2
  44. package/lib/cjs/types/dataPortability.js.map +1 -0
  45. package/lib/{types → cjs}/types/embed.d.ts +0 -0
  46. package/lib/{types → cjs}/types/embed.d.ts.map +0 -0
  47. package/lib/cjs/types/embed.js +2 -2
  48. package/lib/cjs/types/embed.js.map +1 -0
  49. package/lib/{types → cjs}/types/feature.d.ts +0 -0
  50. package/lib/{types → cjs}/types/feature.d.ts.map +0 -0
  51. package/lib/cjs/types/feature.js +5 -2
  52. package/lib/cjs/types/feature.js.map +1 -0
  53. package/lib/{types → cjs}/types/feed.d.ts +0 -0
  54. package/lib/{types → cjs}/types/feed.d.ts.map +0 -0
  55. package/lib/cjs/types/feed.js +19 -39
  56. package/lib/cjs/types/feed.js.map +1 -0
  57. package/lib/{types → cjs}/types/flag.d.ts +0 -0
  58. package/lib/{types → cjs}/types/flag.d.ts.map +0 -0
  59. package/lib/cjs/types/flag.js +15 -25
  60. package/lib/cjs/types/flag.js.map +1 -0
  61. package/lib/{types → cjs}/types/incubator.d.ts +0 -0
  62. package/lib/{types → cjs}/types/incubator.d.ts.map +0 -0
  63. package/lib/cjs/types/incubator.js +8 -20
  64. package/lib/cjs/types/incubator.js.map +1 -0
  65. package/lib/{types → cjs}/types/index.d.ts +0 -0
  66. package/lib/{types → cjs}/types/index.d.ts.map +0 -0
  67. package/lib/cjs/types/index.js +34 -212
  68. package/lib/cjs/types/index.js.map +1 -0
  69. package/lib/{types → cjs}/types/insight.d.ts +0 -0
  70. package/lib/{types → cjs}/types/insight.d.ts.map +0 -0
  71. package/lib/cjs/types/insight.js +2 -2
  72. package/lib/cjs/types/insight.js.map +1 -0
  73. package/lib/{types → cjs}/types/legalPage.d.ts +0 -0
  74. package/lib/{types → cjs}/types/legalPage.d.ts.map +0 -0
  75. package/lib/cjs/types/legalPage.js +5 -2
  76. package/lib/cjs/types/legalPage.js.map +1 -0
  77. package/lib/{types → cjs}/types/location.d.ts +0 -0
  78. package/lib/{types → cjs}/types/location.d.ts.map +0 -0
  79. package/lib/cjs/types/location.js +2 -2
  80. package/lib/cjs/types/location.js.map +1 -0
  81. package/lib/{types → cjs}/types/media.d.ts +0 -0
  82. package/lib/{types → cjs}/types/media.d.ts.map +0 -0
  83. package/lib/cjs/types/media.js +2 -2
  84. package/lib/cjs/types/media.js.map +1 -0
  85. package/lib/{types → cjs}/types/notification.d.ts +0 -0
  86. package/lib/{types → cjs}/types/notification.d.ts.map +0 -0
  87. package/lib/cjs/types/notification.js +47 -59
  88. package/lib/cjs/types/notification.js.map +1 -0
  89. package/lib/{types → cjs}/types/platform.d.ts +0 -0
  90. package/lib/{types → cjs}/types/platform.d.ts.map +0 -0
  91. package/lib/cjs/types/platform.js +2 -2
  92. package/lib/cjs/types/platform.js.map +1 -0
  93. package/lib/{types → cjs}/types/poll.d.ts +0 -0
  94. package/lib/{types → cjs}/types/poll.d.ts.map +0 -0
  95. package/lib/cjs/types/poll.js +2 -2
  96. package/lib/cjs/types/poll.js.map +1 -0
  97. package/lib/{types → cjs}/types/preference.d.ts +0 -0
  98. package/lib/{types → cjs}/types/preference.d.ts.map +0 -0
  99. package/lib/cjs/types/preference.js +2 -2
  100. package/lib/cjs/types/preference.js.map +1 -0
  101. package/lib/{types → cjs}/types/privateMessage.d.ts +0 -0
  102. package/lib/{types → cjs}/types/privateMessage.d.ts.map +0 -0
  103. package/lib/cjs/types/privateMessage.js +14 -29
  104. package/lib/cjs/types/privateMessage.js.map +1 -0
  105. package/lib/{types → cjs}/types/prize.d.ts +0 -0
  106. package/lib/{types → cjs}/types/prize.d.ts.map +0 -0
  107. package/lib/cjs/types/prize.js +7 -23
  108. package/lib/cjs/types/prize.js.map +1 -0
  109. package/lib/{types → cjs}/types/sso.d.ts +0 -0
  110. package/lib/{types → cjs}/types/sso.d.ts.map +0 -0
  111. package/lib/cjs/types/sso.js +5 -2
  112. package/lib/cjs/types/sso.js.map +1 -0
  113. package/lib/{types → cjs}/types/tag.d.ts +0 -0
  114. package/lib/{types → cjs}/types/tag.d.ts.map +0 -0
  115. package/lib/cjs/types/tag.js +2 -2
  116. package/lib/cjs/types/tag.js.map +1 -0
  117. package/lib/{types → cjs}/types/user.d.ts +0 -0
  118. package/lib/{types → cjs}/types/user.d.ts.map +0 -0
  119. package/lib/cjs/types/user.js +42 -61
  120. package/lib/cjs/types/user.js.map +1 -0
  121. package/lib/{types → cjs}/types/vote.d.ts +0 -0
  122. package/lib/{types → cjs}/types/vote.d.ts.map +0 -0
  123. package/lib/cjs/types/vote.js +2 -2
  124. package/lib/cjs/types/vote.js.map +1 -0
  125. package/lib/{types → cjs}/types/webhook.d.ts +0 -0
  126. package/lib/{types → cjs}/types/webhook.d.ts.map +0 -0
  127. package/lib/cjs/types/webhook.js +6 -2
  128. package/lib/cjs/types/webhook.js.map +1 -0
  129. package/lib/esm/index.d.ts +9 -0
  130. package/lib/esm/index.d.ts.map +1 -0
  131. package/lib/esm/index.js +9 -125
  132. package/lib/esm/index.js.map +1 -0
  133. package/lib/esm/types/auth.d.ts +26 -0
  134. package/lib/esm/types/auth.d.ts.map +1 -0
  135. package/lib/esm/types/auth.js +2 -3
  136. package/lib/esm/types/auth.js.map +1 -0
  137. package/lib/esm/types/avatar.d.ts +26 -0
  138. package/lib/esm/types/avatar.d.ts.map +1 -0
  139. package/lib/esm/types/avatar.js +5 -3
  140. package/lib/esm/types/avatar.js.map +1 -0
  141. package/lib/esm/types/broadcastMessage.d.ts +73 -0
  142. package/lib/esm/types/broadcastMessage.d.ts.map +1 -0
  143. package/lib/esm/types/broadcastMessage.js +5 -11
  144. package/lib/esm/types/broadcastMessage.js.map +1 -0
  145. package/lib/esm/types/category.d.ts +107 -0
  146. package/lib/esm/types/category.d.ts.map +1 -0
  147. package/lib/esm/types/category.js +2 -3
  148. package/lib/esm/types/category.js.map +1 -0
  149. package/lib/esm/types/comment.d.ts +97 -0
  150. package/lib/esm/types/comment.d.ts.map +1 -0
  151. package/lib/esm/types/comment.js +8 -21
  152. package/lib/esm/types/comment.js.map +1 -0
  153. package/lib/esm/types/contribution.d.ts +64 -0
  154. package/lib/esm/types/contribution.d.ts.map +1 -0
  155. package/lib/esm/types/contribution.js +13 -30
  156. package/lib/esm/types/contribution.js.map +1 -0
  157. package/lib/esm/types/customAdv.d.ts +53 -0
  158. package/lib/esm/types/customAdv.d.ts.map +1 -0
  159. package/lib/esm/types/customAdv.js +11 -16
  160. package/lib/esm/types/customAdv.js.map +1 -0
  161. package/lib/esm/types/customNotification.d.ts +28 -0
  162. package/lib/esm/types/customNotification.d.ts.map +1 -0
  163. package/lib/esm/types/customNotification.js +2 -3
  164. package/lib/esm/types/customNotification.js.map +1 -0
  165. package/lib/esm/types/customPage.d.ts +18 -0
  166. package/lib/esm/types/customPage.d.ts.map +1 -0
  167. package/lib/esm/types/customPage.js +2 -3
  168. package/lib/esm/types/customPage.js.map +1 -0
  169. package/lib/esm/types/dataPortability.d.ts +30 -0
  170. package/lib/esm/types/dataPortability.d.ts.map +1 -0
  171. package/lib/esm/types/dataPortability.js +2 -3
  172. package/lib/esm/types/dataPortability.js.map +1 -0
  173. package/lib/esm/types/embed.d.ts +33 -0
  174. package/lib/esm/types/embed.d.ts.map +1 -0
  175. package/lib/esm/types/embed.js +2 -3
  176. package/lib/esm/types/embed.js.map +1 -0
  177. package/lib/esm/types/feature.d.ts +18 -0
  178. package/lib/esm/types/feature.d.ts.map +1 -0
  179. package/lib/esm/types/feature.js +5 -3
  180. package/lib/esm/types/feature.js.map +1 -0
  181. package/lib/esm/types/feed.d.ts +237 -0
  182. package/lib/esm/types/feed.d.ts.map +1 -0
  183. package/lib/esm/types/feed.js +17 -40
  184. package/lib/esm/types/feed.js.map +1 -0
  185. package/lib/esm/types/flag.d.ts +38 -0
  186. package/lib/esm/types/flag.d.ts.map +1 -0
  187. package/lib/esm/types/flag.js +13 -26
  188. package/lib/esm/types/flag.js.map +1 -0
  189. package/lib/esm/types/incubator.d.ts +68 -0
  190. package/lib/esm/types/incubator.d.ts.map +1 -0
  191. package/lib/esm/types/incubator.js +7 -22
  192. package/lib/esm/types/incubator.js.map +1 -0
  193. package/lib/esm/types/index.d.ts +35 -0
  194. package/lib/esm/types/index.d.ts.map +1 -0
  195. package/lib/esm/types/index.js +16 -213
  196. package/lib/esm/types/index.js.map +1 -0
  197. package/lib/esm/types/insight.d.ts +127 -0
  198. package/lib/esm/types/insight.d.ts.map +1 -0
  199. package/lib/esm/types/insight.js +2 -3
  200. package/lib/esm/types/insight.js.map +1 -0
  201. package/lib/esm/types/legalPage.d.ts +79 -0
  202. package/lib/esm/types/legalPage.d.ts.map +1 -0
  203. package/lib/esm/types/legalPage.js +5 -3
  204. package/lib/esm/types/legalPage.js.map +1 -0
  205. package/lib/esm/types/location.d.ts +61 -0
  206. package/lib/esm/types/location.d.ts.map +1 -0
  207. package/lib/esm/types/location.js +2 -3
  208. package/lib/esm/types/location.js.map +1 -0
  209. package/lib/esm/types/media.d.ts +69 -0
  210. package/lib/esm/types/media.d.ts.map +1 -0
  211. package/lib/esm/types/media.js +2 -3
  212. package/lib/esm/types/media.js.map +1 -0
  213. package/lib/esm/types/notification.d.ts +422 -0
  214. package/lib/esm/types/notification.d.ts.map +1 -0
  215. package/lib/esm/types/notification.js +45 -60
  216. package/lib/esm/types/notification.js.map +1 -0
  217. package/lib/esm/types/platform.d.ts +9 -0
  218. package/lib/esm/types/platform.d.ts.map +1 -0
  219. package/lib/esm/types/platform.js +2 -3
  220. package/lib/esm/types/platform.js.map +1 -0
  221. package/lib/esm/types/poll.d.ts +87 -0
  222. package/lib/esm/types/poll.d.ts.map +1 -0
  223. package/lib/esm/types/poll.js +2 -3
  224. package/lib/esm/types/poll.js.map +1 -0
  225. package/lib/esm/types/preference.d.ts +22 -0
  226. package/lib/esm/types/preference.d.ts.map +1 -0
  227. package/lib/esm/types/preference.js +2 -3
  228. package/lib/esm/types/preference.js.map +1 -0
  229. package/lib/esm/types/privateMessage.d.ts +130 -0
  230. package/lib/esm/types/privateMessage.d.ts.map +1 -0
  231. package/lib/esm/types/privateMessage.js +12 -30
  232. package/lib/esm/types/privateMessage.js.map +1 -0
  233. package/lib/esm/types/prize.d.ts +93 -0
  234. package/lib/esm/types/prize.d.ts.map +1 -0
  235. package/lib/esm/types/prize.js +6 -25
  236. package/lib/esm/types/prize.js.map +1 -0
  237. package/lib/esm/types/sso.d.ts +22 -0
  238. package/lib/esm/types/sso.d.ts.map +1 -0
  239. package/lib/esm/types/sso.js +5 -3
  240. package/lib/esm/types/sso.js.map +1 -0
  241. package/lib/esm/types/tag.d.ts +47 -0
  242. package/lib/esm/types/tag.d.ts.map +1 -0
  243. package/lib/esm/types/tag.js +2 -3
  244. package/lib/esm/types/tag.js.map +1 -0
  245. package/lib/esm/types/user.d.ts +537 -0
  246. package/lib/esm/types/user.d.ts.map +1 -0
  247. package/lib/esm/types/user.js +40 -62
  248. package/lib/esm/types/user.js.map +1 -0
  249. package/lib/esm/types/vote.d.ts +15 -0
  250. package/lib/esm/types/vote.d.ts.map +1 -0
  251. package/lib/esm/types/vote.js +2 -3
  252. package/lib/esm/types/vote.js.map +1 -0
  253. package/lib/esm/types/webhook.d.ts +91 -0
  254. package/lib/esm/types/webhook.d.ts.map +1 -0
  255. package/lib/esm/types/webhook.js +6 -3
  256. package/lib/esm/types/webhook.js.map +1 -0
  257. package/package.json +5 -7
  258. package/lib/cjs/index.d.js +0 -2
  259. package/lib/esm/index.d.js +0 -2
  260. package/lib/types/tsconfig.build.tsbuildinfo +0 -1
@@ -1,26 +1,10 @@
1
1
  "use strict";
2
-
3
- exports.__esModule = true;
2
+ Object.defineProperty(exports, "__esModule", { value: true });
4
3
  exports.SCPrizeUserStatusType = void 0;
5
-
6
- /**
7
- * Interface SCPrizeType.
8
- * Prize Schema.
9
- */
10
-
11
- /**
12
- * SCPrizeUserType interface
13
- * Loyalty Prize User Schema
14
- */
15
- let SCPrizeUserStatusType;
16
- /**
17
- * Interface SCUserLoyaltyPointsType
18
- */
19
-
20
- exports.SCPrizeUserStatusType = SCPrizeUserStatusType;
21
-
4
+ var SCPrizeUserStatusType;
22
5
  (function (SCPrizeUserStatusType) {
23
- SCPrizeUserStatusType[SCPrizeUserStatusType["PENDING"] = 0] = "PENDING";
24
- SCPrizeUserStatusType[SCPrizeUserStatusType["REFUSED"] = 1] = "REFUSED";
25
- SCPrizeUserStatusType[SCPrizeUserStatusType["SENT"] = 2] = "SENT";
26
- })(SCPrizeUserStatusType || (exports.SCPrizeUserStatusType = SCPrizeUserStatusType = {}));
6
+ SCPrizeUserStatusType[SCPrizeUserStatusType["PENDING"] = 0] = "PENDING";
7
+ SCPrizeUserStatusType[SCPrizeUserStatusType["REFUSED"] = 1] = "REFUSED";
8
+ SCPrizeUserStatusType[SCPrizeUserStatusType["SENT"] = 2] = "SENT";
9
+ })(SCPrizeUserStatusType = exports.SCPrizeUserStatusType || (exports.SCPrizeUserStatusType = {}));
10
+ //# sourceMappingURL=prize.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prize.js","sourceRoot":"","sources":["../../../src/types/prize.ts"],"names":[],"mappings":";;;AA0FA,IAAY,qBAIX;AAJD,WAAY,qBAAqB;IAC/B,uEAAW,CAAA;IACX,uEAAW,CAAA;IACX,iEAAQ,CAAA;AACV,CAAC,EAJW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAIhC"}
File without changes
File without changes
@@ -1,3 +1,6 @@
1
1
  "use strict";
2
-
3
- exports.__esModule = true;
2
+ /**
3
+ * SSOSigninType interface
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ //# sourceMappingURL=sso.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sso.js","sourceRoot":"","sources":["../../../src/types/sso.ts"],"names":[],"mappings":";AAAA;;GAEG"}
File without changes
File without changes
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
-
3
- exports.__esModule = true;
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=tag.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tag.js","sourceRoot":"","sources":["../../../src/types/tag.ts"],"names":[],"mappings":""}
File without changes
File without changes
@@ -1,70 +1,51 @@
1
1
  "use strict";
2
-
3
- exports.__esModule = true;
4
- exports.SCUserStatus = exports.SCUserReputationType = exports.SCUserFields = void 0;
5
-
6
- /**
7
- * Interface SCUserType.
8
- * User Schema.
9
- */
10
-
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SCUserReputationType = exports.SCUserStatus = exports.SCUserFields = void 0;
11
4
  /**
12
5
  * User Fields
13
6
  */
14
- let SCUserFields;
7
+ var SCUserFields;
8
+ (function (SCUserFields) {
9
+ SCUserFields["USERNAME"] = "username";
10
+ SCUserFields["REAL_NAME"] = "real_name";
11
+ SCUserFields["DATE_JOINED"] = "date_joined";
12
+ SCUserFields["BIO"] = "bio";
13
+ SCUserFields["LOCATION"] = "location";
14
+ SCUserFields["DATE_OF_BIRTH"] = "date_of_birth";
15
+ SCUserFields["DESCRIPTION"] = "description";
16
+ SCUserFields["GENDER"] = "gender";
17
+ SCUserFields["WEBSITE"] = "website";
18
+ })(SCUserFields = exports.SCUserFields || (exports.SCUserFields = {}));
15
19
  /**
16
20
  * User status
17
21
  */
18
-
19
- exports.SCUserFields = SCUserFields;
20
-
21
- (function (SCUserFields) {
22
- SCUserFields["USERNAME"] = "username";
23
- SCUserFields["REAL_NAME"] = "real_name";
24
- SCUserFields["DATE_JOINED"] = "date_joined";
25
- SCUserFields["BIO"] = "bio";
26
- SCUserFields["LOCATION"] = "location";
27
- SCUserFields["DATE_OF_BIRTH"] = "date_of_birth";
28
- SCUserFields["DESCRIPTION"] = "description";
29
- SCUserFields["GENDER"] = "gender";
30
- SCUserFields["WEBSITE"] = "website";
31
- })(SCUserFields || (exports.SCUserFields = SCUserFields = {}));
32
-
33
- let SCUserStatus;
34
- exports.SCUserStatus = SCUserStatus;
35
-
22
+ var SCUserStatus;
36
23
  (function (SCUserStatus) {
37
- SCUserStatus["APPROVED"] = "a";
38
- SCUserStatus["BLOCKED"] = "b";
39
- SCUserStatus["DELETED"] = "d";
40
- SCUserStatus["UNREGISTERED"] = "u";
41
- })(SCUserStatus || (exports.SCUserStatus = SCUserStatus = {}));
42
-
43
- let SCUserReputationType;
44
- /**
45
- * SCUserScoreVariation interface
46
- */
47
-
48
- exports.SCUserReputationType = SCUserReputationType;
49
-
24
+ SCUserStatus["APPROVED"] = "a";
25
+ SCUserStatus["BLOCKED"] = "b";
26
+ SCUserStatus["DELETED"] = "d";
27
+ SCUserStatus["UNREGISTERED"] = "u";
28
+ })(SCUserStatus = exports.SCUserStatus || (exports.SCUserStatus = {}));
29
+ var SCUserReputationType;
50
30
  (function (SCUserReputationType) {
51
- SCUserReputationType[SCUserReputationType["GAIN_BY_UPVOTED"] = 1] = "GAIN_BY_UPVOTED";
52
- SCUserReputationType[SCUserReputationType["ASSIGNED_BY_MODERATOR"] = 10] = "ASSIGNED_BY_MODERATOR";
53
- SCUserReputationType[SCUserReputationType["GAIN_BY_CANCELLING_CONTRIBUTE_MODERATION"] = 11] = "GAIN_BY_CANCELLING_CONTRIBUTE_MODERATION";
54
- SCUserReputationType[SCUserReputationType["GAIN_BY_MAKE_POST"] = 12] = "GAIN_BY_MAKE_POST";
55
- SCUserReputationType[SCUserReputationType["GAIN_BY_MAKE_FIRST_LEVEL_COMMENT"] = 13] = "GAIN_BY_MAKE_FIRST_LEVEL_COMMENT";
56
- SCUserReputationType[SCUserReputationType["GAIN_BY_MAKE_SECOND_LEVEL_COMMENT"] = 14] = "GAIN_BY_MAKE_SECOND_LEVEL_COMMENT";
57
- SCUserReputationType[SCUserReputationType["GAIN_BY_CONNECTION"] = 15] = "GAIN_BY_CONNECTION";
58
- SCUserReputationType[SCUserReputationType["GAIN_BY_APP_USED"] = 17] = "GAIN_BY_APP_USED";
59
- SCUserReputationType[SCUserReputationType["GAIN_BY_DAILY_VISIT"] = 18] = "GAIN_BY_DAILY_VISIT";
60
- SCUserReputationType[SCUserReputationType["GAIN_BY_FOLLOWER"] = 19] = "GAIN_BY_FOLLOWER";
61
- SCUserReputationType[SCUserReputationType["GAIN_BY_UNBLOCK_ACCOUNT"] = 20] = "GAIN_BY_UNBLOCK_ACCOUNT";
62
- SCUserReputationType[SCUserReputationType["LOSE_BY_UPVOTE_CANCELED"] = -1] = "LOSE_BY_UPVOTE_CANCELED";
63
- SCUserReputationType[SCUserReputationType["LOSE_BY_CONTRIBUTE_MODERATION"] = -11] = "LOSE_BY_CONTRIBUTE_MODERATION";
64
- SCUserReputationType[SCUserReputationType["LOSE_BY_DELETE_POST"] = -12] = "LOSE_BY_DELETE_POST";
65
- SCUserReputationType[SCUserReputationType["LOSE_BY_DELETE_FIRST_LEVEL_COMMENT"] = -13] = "LOSE_BY_DELETE_FIRST_LEVEL_COMMENT";
66
- SCUserReputationType[SCUserReputationType["LOSE_BY_DELETE_SECOND_LEVEL_COMMENT"] = -14] = "LOSE_BY_DELETE_SECOND_LEVEL_COMMENT";
67
- SCUserReputationType[SCUserReputationType["LOSE_BY_CONNECTION"] = -15] = "LOSE_BY_CONNECTION";
68
- SCUserReputationType[SCUserReputationType["LOSE_BY_FOLLOWER"] = -19] = "LOSE_BY_FOLLOWER";
69
- SCUserReputationType[SCUserReputationType["LOSE_BY_BLOCK_ACCOUNT"] = -20] = "LOSE_BY_BLOCK_ACCOUNT";
70
- })(SCUserReputationType || (exports.SCUserReputationType = SCUserReputationType = {}));
31
+ SCUserReputationType[SCUserReputationType["GAIN_BY_UPVOTED"] = 1] = "GAIN_BY_UPVOTED";
32
+ SCUserReputationType[SCUserReputationType["ASSIGNED_BY_MODERATOR"] = 10] = "ASSIGNED_BY_MODERATOR";
33
+ SCUserReputationType[SCUserReputationType["GAIN_BY_CANCELLING_CONTRIBUTE_MODERATION"] = 11] = "GAIN_BY_CANCELLING_CONTRIBUTE_MODERATION";
34
+ SCUserReputationType[SCUserReputationType["GAIN_BY_MAKE_POST"] = 12] = "GAIN_BY_MAKE_POST";
35
+ SCUserReputationType[SCUserReputationType["GAIN_BY_MAKE_FIRST_LEVEL_COMMENT"] = 13] = "GAIN_BY_MAKE_FIRST_LEVEL_COMMENT";
36
+ SCUserReputationType[SCUserReputationType["GAIN_BY_MAKE_SECOND_LEVEL_COMMENT"] = 14] = "GAIN_BY_MAKE_SECOND_LEVEL_COMMENT";
37
+ SCUserReputationType[SCUserReputationType["GAIN_BY_CONNECTION"] = 15] = "GAIN_BY_CONNECTION";
38
+ SCUserReputationType[SCUserReputationType["GAIN_BY_APP_USED"] = 17] = "GAIN_BY_APP_USED";
39
+ SCUserReputationType[SCUserReputationType["GAIN_BY_DAILY_VISIT"] = 18] = "GAIN_BY_DAILY_VISIT";
40
+ SCUserReputationType[SCUserReputationType["GAIN_BY_FOLLOWER"] = 19] = "GAIN_BY_FOLLOWER";
41
+ SCUserReputationType[SCUserReputationType["GAIN_BY_UNBLOCK_ACCOUNT"] = 20] = "GAIN_BY_UNBLOCK_ACCOUNT";
42
+ SCUserReputationType[SCUserReputationType["LOSE_BY_UPVOTE_CANCELED"] = -1] = "LOSE_BY_UPVOTE_CANCELED";
43
+ SCUserReputationType[SCUserReputationType["LOSE_BY_CONTRIBUTE_MODERATION"] = -11] = "LOSE_BY_CONTRIBUTE_MODERATION";
44
+ SCUserReputationType[SCUserReputationType["LOSE_BY_DELETE_POST"] = -12] = "LOSE_BY_DELETE_POST";
45
+ SCUserReputationType[SCUserReputationType["LOSE_BY_DELETE_FIRST_LEVEL_COMMENT"] = -13] = "LOSE_BY_DELETE_FIRST_LEVEL_COMMENT";
46
+ SCUserReputationType[SCUserReputationType["LOSE_BY_DELETE_SECOND_LEVEL_COMMENT"] = -14] = "LOSE_BY_DELETE_SECOND_LEVEL_COMMENT";
47
+ SCUserReputationType[SCUserReputationType["LOSE_BY_CONNECTION"] = -15] = "LOSE_BY_CONNECTION";
48
+ SCUserReputationType[SCUserReputationType["LOSE_BY_FOLLOWER"] = -19] = "LOSE_BY_FOLLOWER";
49
+ SCUserReputationType[SCUserReputationType["LOSE_BY_BLOCK_ACCOUNT"] = -20] = "LOSE_BY_BLOCK_ACCOUNT";
50
+ })(SCUserReputationType = exports.SCUserReputationType || (exports.SCUserReputationType = {}));
51
+ //# sourceMappingURL=user.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user.js","sourceRoot":"","sources":["../../../src/types/user.ts"],"names":[],"mappings":";;;AAMA;;GAEG;AACH,IAAY,YAUX;AAVD,WAAY,YAAY;IACtB,qCAAqB,CAAA;IACrB,uCAAuB,CAAA;IACvB,2CAA2B,CAAA;IAC3B,2BAAW,CAAA;IACX,qCAAqB,CAAA;IACrB,+CAA+B,CAAA;IAC/B,2CAA2B,CAAA;IAC3B,iCAAiB,CAAA;IACjB,mCAAmB,CAAA;AACrB,CAAC,EAVW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAUvB;AAED;;GAEG;AACH,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,8BAAc,CAAA;IACd,6BAAa,CAAA;IACb,6BAAa,CAAA;IACb,kCAAkB,CAAA;AACpB,CAAC,EALW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAKvB;AAuTD,IAAY,oBAoBX;AApBD,WAAY,oBAAoB;IAC9B,qFAAmB,CAAA;IACnB,kGAA0B,CAAA;IAC1B,wIAA6C,CAAA;IAC7C,0FAAsB,CAAA;IACtB,wHAAqC,CAAA;IACrC,0HAAsC,CAAA;IACtC,4FAAuB,CAAA;IACvB,wFAAqB,CAAA;IACrB,8FAAwB,CAAA;IACxB,wFAAqB,CAAA;IACrB,sGAA4B,CAAA;IAC5B,sGAA4B,CAAA;IAC5B,mHAAmC,CAAA;IACnC,+FAAyB,CAAA;IACzB,6HAAwC,CAAA;IACxC,+HAAyC,CAAA;IACzC,6FAAwB,CAAA;IACxB,yFAAsB,CAAA;IACtB,mGAA2B,CAAA;AAC7B,CAAC,EApBW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAoB/B"}
File without changes
File without changes
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
-
3
- exports.__esModule = true;
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=vote.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vote.js","sourceRoot":"","sources":["../../../src/types/vote.ts"],"names":[],"mappings":""}
File without changes
File without changes
@@ -1,3 +1,7 @@
1
1
  "use strict";
2
-
3
- exports.__esModule = true;
2
+ /**
3
+ * Interface SCWebhookEndpointType
4
+ * Webhook Schema
5
+ */
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ //# sourceMappingURL=webhook.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webhook.js","sourceRoot":"","sources":["../../../src/types/webhook.ts"],"names":[],"mappings":";AAAA;;;GAGG"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Types
3
+ */
4
+ import { SCBroadcastMessageBannerType, SCBannerType, SCBroadcastMessageType, SCAuthTokenType, SCCustomAdvPosition, SCCustomAdvType, SCUserFields, SCUserType, SCUserSettingsType, SCUserStatus, SCUserBlockedSettingsType, SCUserModerationType, SCUserScoreVariation, SCUserScoreType, SCUserReputationType, SCUserAutocompleteType, SCUserCounterType, SCUserChangeEmailType, SCUserAvatarType, SCUserPermissionType, SCUserFollowedStatusType, SCUserFollowerStatusType, SCUserConnectionStatusType, SCUserHiddenStatusType, SCUserHiddenByStatusType, SCUserConnectionRequestType, SCUserEmailTokenType, SCTagType, SCCategoryType, SCCategoryAudienceType, SCCategoryFollowedStatusType, SCEmbedType, SCMediaType, SCChunkMediaType, SCContributionLocation, SCLocalityType, SCPollChoiceType, SCPollType, SCPollVoteType, SCFeedUnitType, SCFeedUnitActivityType, SCFeedObjectType, SCFeedPostType, SCFeedDiscussionType, SCFeedStatusType, SCFeedObjectTypologyType, SCFeedUnitActivityTypologyType, SCFeedTypologyType, SCFeedUnseenCountType, SCFeedObjectSuspendedStatusType, SCFeedObjectHideStatusType, SCFeedObjectFollowingStatusType, SCCommentTypologyType, SCCommentsOrderBy, SCCommentType, SCPrivateMessageType, 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, SCIncubatorType, SCIncubatorSubscriptionType, SCIncubatorStatusType, SCNotificationIncubatorType, SCNotificationTopicType, SCPrizeType, SCPrizeUserType, SCPrizeUserStatusType, SCUserLoyaltyPointsType, SCWebhookEndpointType, SCWebhookEndpointAttemptType, SCWebhookEndpointSecretType, SCWebhookEventsType, SCVoteType, SCFlagType, SCFlagTypeEnum, SCFlagModerationStatusType, SCCustomPageType, SCDataPortabilityType, SCPreferenceType, SCFeatureType, SSOSignInType, SSOSignUpType, SCLegalPageType, SCLegalPageAckType, SCContributionInsightCountersType, SCContributionInsightType, SCEmbedInsightType, SCEmbedInsightCountersType, SCUsersInsightType, SCUsersInsightCountersType, SCFlaggedContributionType, SCContributionType, SCContributionStatus, SCContributeStatusType, SCPlatformType, SCAvatarType } from './types';
5
+ /**
6
+ * List all exports
7
+ */
8
+ export { SCBroadcastMessageBannerType, SCBannerType, SCBroadcastMessageType, SCCustomAdvPosition, SCCustomAdvType, SCAuthTokenType, SCUserFields, SCUserType, SCUserSettingsType, SCUserStatus, SCUserBlockedSettingsType, SCUserModerationType, SCUserScoreVariation, SCUserScoreType, SCUserReputationType, SCUserAutocompleteType, SCUserCounterType, SCUserAvatarType, SCUserChangeEmailType, SCUserPermissionType, SCUserFollowedStatusType, SCUserFollowerStatusType, SCUserConnectionStatusType, SCUserHiddenStatusType, SCUserHiddenByStatusType, SCUserConnectionRequestType, SCUserEmailTokenType, SCTagType, SCCategoryType, SCCategoryAudienceType, SCCategoryFollowedStatusType, SCEmbedType, SCMediaType, SCChunkMediaType, SCContributionLocation, SCLocalityType, SCPollChoiceType, SCPollType, SCPollVoteType, SCFeedUnitType, SCFeedUnitActivityType, SCFeedObjectType, SCFeedPostType, SCFeedDiscussionType, SCFeedStatusType, SCFeedObjectTypologyType, SCFeedUnitActivityTypologyType, SCFeedTypologyType, SCFeedUnseenCountType, SCFeedObjectSuspendedStatusType, SCFeedObjectHideStatusType, SCFeedObjectFollowingStatusType, SCCommentTypologyType, SCCommentsOrderBy, SCCommentType, SCPrivateMessageType, 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, SCNotificationTopicType, SCIncubatorType, SCIncubatorSubscriptionType, SCIncubatorStatusType, SCNotificationIncubatorType, SCNotificationUnseenCountType, SCPrizeType, SCPrizeUserType, SCPrizeUserStatusType, SCUserLoyaltyPointsType, SCWebhookEndpointType, SCWebhookEndpointAttemptType, SCWebhookEndpointSecretType, SCWebhookEventsType, SCVoteType, SCFlagType, SCFlagTypeEnum, SCFlagModerationStatusType, SCCustomPageType, SCDataPortabilityType, SCPreferenceType, SCFeatureType, SSOSignInType, SSOSignUpType, SCLegalPageType, SCLegalPageAckType, SCContributionInsightCountersType, SCContributionInsightType, SCEmbedInsightType, SCEmbedInsightCountersType, SCUsersInsightType, SCUsersInsightCountersType, SCFlaggedContributionType, SCContributionType, SCContributeStatusType, SCContributionStatus, SCPlatformType, SCAvatarType };
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"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"}
package/lib/esm/index.js CHANGED
@@ -1,125 +1,9 @@
1
- "use strict";
2
-
3
- exports.__esModule = true;
4
-
5
- var _types = require("./types");
6
-
7
- exports.SCBroadcastMessageBannerType = _types.SCBroadcastMessageBannerType;
8
- exports.SCBannerType = _types.SCBannerType;
9
- exports.SCBroadcastMessageType = _types.SCBroadcastMessageType;
10
- exports.SCAuthTokenType = _types.SCAuthTokenType;
11
- exports.SCCustomAdvPosition = _types.SCCustomAdvPosition;
12
- exports.SCCustomAdvType = _types.SCCustomAdvType;
13
- exports.SCUserFields = _types.SCUserFields;
14
- exports.SCUserType = _types.SCUserType;
15
- exports.SCUserSettingsType = _types.SCUserSettingsType;
16
- exports.SCUserStatus = _types.SCUserStatus;
17
- exports.SCUserBlockedSettingsType = _types.SCUserBlockedSettingsType;
18
- exports.SCUserModerationType = _types.SCUserModerationType;
19
- exports.SCUserScoreVariation = _types.SCUserScoreVariation;
20
- exports.SCUserScoreType = _types.SCUserScoreType;
21
- exports.SCUserReputationType = _types.SCUserReputationType;
22
- exports.SCUserAutocompleteType = _types.SCUserAutocompleteType;
23
- exports.SCUserCounterType = _types.SCUserCounterType;
24
- exports.SCUserChangeEmailType = _types.SCUserChangeEmailType;
25
- exports.SCUserAvatarType = _types.SCUserAvatarType;
26
- exports.SCUserPermissionType = _types.SCUserPermissionType;
27
- exports.SCUserFollowedStatusType = _types.SCUserFollowedStatusType;
28
- exports.SCUserFollowerStatusType = _types.SCUserFollowerStatusType;
29
- exports.SCUserConnectionStatusType = _types.SCUserConnectionStatusType;
30
- exports.SCUserHiddenStatusType = _types.SCUserHiddenStatusType;
31
- exports.SCUserHiddenByStatusType = _types.SCUserHiddenByStatusType;
32
- exports.SCUserConnectionRequestType = _types.SCUserConnectionRequestType;
33
- exports.SCUserEmailTokenType = _types.SCUserEmailTokenType;
34
- exports.SCTagType = _types.SCTagType;
35
- exports.SCCategoryType = _types.SCCategoryType;
36
- exports.SCCategoryAudienceType = _types.SCCategoryAudienceType;
37
- exports.SCCategoryFollowedStatusType = _types.SCCategoryFollowedStatusType;
38
- exports.SCEmbedType = _types.SCEmbedType;
39
- exports.SCMediaType = _types.SCMediaType;
40
- exports.SCChunkMediaType = _types.SCChunkMediaType;
41
- exports.SCContributionLocation = _types.SCContributionLocation;
42
- exports.SCLocalityType = _types.SCLocalityType;
43
- exports.SCPollChoiceType = _types.SCPollChoiceType;
44
- exports.SCPollType = _types.SCPollType;
45
- exports.SCPollVoteType = _types.SCPollVoteType;
46
- exports.SCFeedUnitType = _types.SCFeedUnitType;
47
- exports.SCFeedUnitActivityType = _types.SCFeedUnitActivityType;
48
- exports.SCFeedObjectType = _types.SCFeedObjectType;
49
- exports.SCFeedPostType = _types.SCFeedPostType;
50
- exports.SCFeedDiscussionType = _types.SCFeedDiscussionType;
51
- exports.SCFeedStatusType = _types.SCFeedStatusType;
52
- exports.SCFeedObjectTypologyType = _types.SCFeedObjectTypologyType;
53
- exports.SCFeedUnitActivityTypologyType = _types.SCFeedUnitActivityTypologyType;
54
- exports.SCFeedTypologyType = _types.SCFeedTypologyType;
55
- exports.SCFeedUnseenCountType = _types.SCFeedUnseenCountType;
56
- exports.SCFeedObjectSuspendedStatusType = _types.SCFeedObjectSuspendedStatusType;
57
- exports.SCFeedObjectHideStatusType = _types.SCFeedObjectHideStatusType;
58
- exports.SCFeedObjectFollowingStatusType = _types.SCFeedObjectFollowingStatusType;
59
- exports.SCCommentTypologyType = _types.SCCommentTypologyType;
60
- exports.SCCommentsOrderBy = _types.SCCommentsOrderBy;
61
- exports.SCCommentType = _types.SCCommentType;
62
- exports.SCPrivateMessageType = _types.SCPrivateMessageType;
63
- exports.SCPrivateMessageStatusType = _types.SCPrivateMessageStatusType;
64
- exports.SCPrivateMessageFileType = _types.SCPrivateMessageFileType;
65
- exports.SCMessageFileType = _types.SCMessageFileType;
66
- exports.SCPrivateMessageUploadMediaType = _types.SCPrivateMessageUploadMediaType;
67
- exports.SCPrivateMessageUploadThumbnailType = _types.SCPrivateMessageUploadThumbnailType;
68
- exports.SCPrivateMessageUploadMediaChunkType = _types.SCPrivateMessageUploadMediaChunkType;
69
- exports.SCNotificationTypologyType = _types.SCNotificationTypologyType;
70
- exports.SCNotificationAggregatedType = _types.SCNotificationAggregatedType;
71
- exports.SCNotificationCommentType = _types.SCNotificationCommentType;
72
- exports.SCNotificationConnectionAcceptType = _types.SCNotificationConnectionAcceptType;
73
- exports.SCNotificationConnectionRequestType = _types.SCNotificationConnectionRequestType;
74
- exports.SCNotificationPrivateMessageType = _types.SCNotificationPrivateMessageType;
75
- exports.SCNotificationMentionType = _types.SCNotificationMentionType;
76
- exports.SCNotificationType = _types.SCNotificationType;
77
- exports.SCNotificationBlockedUserType = _types.SCNotificationBlockedUserType;
78
- exports.SCNotificationCollapsedForType = _types.SCNotificationCollapsedForType;
79
- exports.SCNotificationCustomNotificationType = _types.SCNotificationCustomNotificationType;
80
- exports.SCNotificationDeletedForType = _types.SCNotificationDeletedForType;
81
- exports.SCNotificationFollowType = _types.SCNotificationFollowType;
82
- exports.SCNotificationKindlyNoticeType = _types.SCNotificationKindlyNoticeType;
83
- exports.SCNotificationUnBlockedUserType = _types.SCNotificationUnBlockedUserType;
84
- exports.SCNotificationUnDeletedForType = _types.SCNotificationUnDeletedForType;
85
- exports.SCNotificationUserFollowType = _types.SCNotificationUserFollowType;
86
- exports.SCNotificationVoteUpType = _types.SCNotificationVoteUpType;
87
- exports.SCCustomNotificationType = _types.SCCustomNotificationType;
88
- exports.SCNotificationUnseenCountType = _types.SCNotificationUnseenCountType;
89
- exports.SCIncubatorType = _types.SCIncubatorType;
90
- exports.SCIncubatorSubscriptionType = _types.SCIncubatorSubscriptionType;
91
- exports.SCIncubatorStatusType = _types.SCIncubatorStatusType;
92
- exports.SCNotificationIncubatorType = _types.SCNotificationIncubatorType;
93
- exports.SCNotificationTopicType = _types.SCNotificationTopicType;
94
- exports.SCPrizeType = _types.SCPrizeType;
95
- exports.SCPrizeUserType = _types.SCPrizeUserType;
96
- exports.SCPrizeUserStatusType = _types.SCPrizeUserStatusType;
97
- exports.SCUserLoyaltyPointsType = _types.SCUserLoyaltyPointsType;
98
- exports.SCWebhookEndpointType = _types.SCWebhookEndpointType;
99
- exports.SCWebhookEndpointAttemptType = _types.SCWebhookEndpointAttemptType;
100
- exports.SCWebhookEndpointSecretType = _types.SCWebhookEndpointSecretType;
101
- exports.SCWebhookEventsType = _types.SCWebhookEventsType;
102
- exports.SCVoteType = _types.SCVoteType;
103
- exports.SCFlagType = _types.SCFlagType;
104
- exports.SCFlagTypeEnum = _types.SCFlagTypeEnum;
105
- exports.SCFlagModerationStatusType = _types.SCFlagModerationStatusType;
106
- exports.SCCustomPageType = _types.SCCustomPageType;
107
- exports.SCDataPortabilityType = _types.SCDataPortabilityType;
108
- exports.SCPreferenceType = _types.SCPreferenceType;
109
- exports.SCFeatureType = _types.SCFeatureType;
110
- exports.SSOSignInType = _types.SSOSignInType;
111
- exports.SSOSignUpType = _types.SSOSignUpType;
112
- exports.SCLegalPageType = _types.SCLegalPageType;
113
- exports.SCLegalPageAckType = _types.SCLegalPageAckType;
114
- exports.SCContributionInsightCountersType = _types.SCContributionInsightCountersType;
115
- exports.SCContributionInsightType = _types.SCContributionInsightType;
116
- exports.SCEmbedInsightType = _types.SCEmbedInsightType;
117
- exports.SCEmbedInsightCountersType = _types.SCEmbedInsightCountersType;
118
- exports.SCUsersInsightType = _types.SCUsersInsightType;
119
- exports.SCUsersInsightCountersType = _types.SCUsersInsightCountersType;
120
- exports.SCFlaggedContributionType = _types.SCFlaggedContributionType;
121
- exports.SCContributionType = _types.SCContributionType;
122
- exports.SCContributionStatus = _types.SCContributionStatus;
123
- exports.SCContributeStatusType = _types.SCContributeStatusType;
124
- exports.SCPlatformType = _types.SCPlatformType;
125
- exports.SCAvatarType = _types.SCAvatarType;
1
+ /**
2
+ * Types
3
+ */
4
+ import { SCBroadcastMessageBannerType, SCCustomAdvPosition, SCUserFields, SCUserStatus, SCUserReputationType, SCFeedObjectTypologyType, SCFeedUnitActivityTypologyType, SCFeedTypologyType, SCCommentTypologyType, SCCommentsOrderBy, SCPrivateMessageStatusType, SCMessageFileType, SCNotificationTypologyType, SCIncubatorStatusType, SCNotificationTopicType, SCPrizeUserStatusType, SCFlagTypeEnum, SCFlagModerationStatusType, SCContributionType, SCContributeStatusType } from './types';
5
+ /**
6
+ * List all exports
7
+ */
8
+ export { SCBroadcastMessageBannerType, SCCustomAdvPosition, SCUserFields, SCUserStatus, SCUserReputationType, SCFeedObjectTypologyType, SCFeedUnitActivityTypologyType, SCFeedTypologyType, SCCommentTypologyType, SCCommentsOrderBy, SCPrivateMessageStatusType, SCMessageFileType, SCNotificationTypologyType, SCNotificationTopicType, SCIncubatorStatusType, SCPrizeUserStatusType, SCFlagTypeEnum, SCFlagModerationStatusType, SCContributionType, SCContributeStatusType };
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,4BAA4B,EAI5B,mBAAmB,EAEnB,YAAY,EAGZ,YAAY,EAKZ,oBAAoB,EA+BpB,wBAAwB,EACxB,8BAA8B,EAC9B,kBAAkB,EAKlB,qBAAqB,EACrB,iBAAiB,EAGjB,0BAA0B,EAE1B,iBAAiB,EAIjB,0BAA0B,EAsB1B,qBAAqB,EAErB,uBAAuB,EAGvB,qBAAqB,EAQrB,cAAc,EACd,0BAA0B,EAgB1B,kBAAkB,EAElB,sBAAsB,EAGvB,MAAM,SAAS,CAAC;AAEjB;;GAEG;AACH,OAAO,EACL,4BAA4B,EAG5B,mBAAmB,EAGnB,YAAY,EAGZ,YAAY,EAKZ,oBAAoB,EA+BpB,wBAAwB,EACxB,8BAA8B,EAC9B,kBAAkB,EAKlB,qBAAqB,EACrB,iBAAiB,EAGjB,0BAA0B,EAE1B,iBAAiB,EAIjB,0BAA0B,EAmB1B,uBAAuB,EAGvB,qBAAqB,EAKrB,qBAAqB,EAQrB,cAAc,EACd,0BAA0B,EAgB1B,kBAAkB,EAClB,sBAAsB,EAIvB,CAAC"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Interface SCAuthTokenType
3
+ */
4
+ export interface SCAuthTokenType {
5
+ /**
6
+ * Access token.
7
+ */
8
+ accessToken: string;
9
+ /**
10
+ * Refresh token.
11
+ */
12
+ refreshToken?: string;
13
+ /**
14
+ * Token Type.
15
+ */
16
+ tokenType?: string;
17
+ /**
18
+ * Expire in.
19
+ */
20
+ expiresIn?: number;
21
+ /**
22
+ * Token scopes;
23
+ */
24
+ scope?: Array<string>;
25
+ }
26
+ //# sourceMappingURL=auth.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../../src/types/auth.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACvB"}
@@ -1,3 +1,2 @@
1
- "use strict";
2
-
3
- exports.__esModule = true;
1
+ export {};
2
+ //# sourceMappingURL=auth.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auth.js","sourceRoot":"","sources":["../../../src/types/auth.ts"],"names":[],"mappings":""}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * SCAvatarType interface
3
+ */
4
+ export interface SCAvatarType {
5
+ /**
6
+ * Id value identifying this avatar.
7
+ */
8
+ id: number;
9
+ /**
10
+ * Is the primary avatar for the user?
11
+ */
12
+ primary: boolean;
13
+ /**
14
+ * The avatar url.
15
+ */
16
+ avatar: string | null;
17
+ /**
18
+ * Upload datetime.
19
+ */
20
+ date_uploaded: Date | string;
21
+ /**
22
+ * The id of the user for this avatar.
23
+ */
24
+ user: number;
25
+ }
26
+ //# sourceMappingURL=avatar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../../src/types/avatar.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB;;OAEG;IACH,aAAa,EAAE,IAAI,GAAG,MAAM,CAAC;IAC7B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd"}
@@ -1,3 +1,5 @@
1
- "use strict";
2
-
3
- exports.__esModule = true;
1
+ /**
2
+ * SCAvatarType interface
3
+ */
4
+ export {};
5
+ //# sourceMappingURL=avatar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"avatar.js","sourceRoot":"","sources":["../../../src/types/avatar.ts"],"names":[],"mappings":"AAAA;;GAEG"}
@@ -0,0 +1,73 @@
1
+ /**
2
+ * Define the various types of banners
3
+ */
4
+ export declare enum SCBroadcastMessageBannerType {
5
+ HTML = "html_banner",
6
+ NOTIFICATION = "notification_banner"
7
+ }
8
+ export interface SCBannerType {
9
+ /**
10
+ * The type of the banner, based on it the behaviour of the render component must be different
11
+ */
12
+ type_banner: SCBroadcastMessageBannerType;
13
+ /**
14
+ * The html to insert into the DOM
15
+ * This field is used when type_banner is html_banner
16
+ */
17
+ html?: string;
18
+ /**
19
+ * The title of the banner
20
+ */
21
+ title?: string;
22
+ /**
23
+ * The text of the banner
24
+ */
25
+ body_text?: string;
26
+ /**
27
+ * The text of the link associated to the banner
28
+ */
29
+ link_text?: string;
30
+ /**
31
+ * The action link of the banner
32
+ */
33
+ link?: string;
34
+ /**
35
+ * The image url to insert into the banner
36
+ */
37
+ image?: string;
38
+ /**
39
+ * The date the Banner was created
40
+ */
41
+ added_at: Date;
42
+ /**
43
+ * If true tell to open the banner in new tab
44
+ */
45
+ open_in_new_tab: boolean;
46
+ }
47
+ /**
48
+ * Interface SCBroadcastMessageType.
49
+ * Broadcast Message object
50
+ */
51
+ export interface SCBroadcastMessageType {
52
+ /**
53
+ * The ID of the category.
54
+ */
55
+ id: number;
56
+ /**
57
+ * The Banner associated to the Broadcast messages
58
+ */
59
+ banner: SCBannerType;
60
+ /**
61
+ * The date the BroadcastMessage was added
62
+ */
63
+ added_at: Date;
64
+ /**
65
+ * The date the BroadcastMessage was disposed
66
+ */
67
+ disposed_at: Date | null;
68
+ /**
69
+ * The date the BroadcastMessage was viewed the first time
70
+ */
71
+ viewed_at: Date | null;
72
+ }
73
+ //# sourceMappingURL=broadcastMessage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"broadcastMessage.d.ts","sourceRoot":"","sources":["../../../src/types/broadcastMessage.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,4BAA4B;IACtC,IAAI,gBAAgB;IACpB,YAAY,wBAAwB;CACrC;AAED,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,WAAW,EAAE,4BAA4B,CAAC;IAE1C;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,EAAE,IAAI,CAAC;IACf;;OAEG;IACH,eAAe,EAAE,OAAO,CAAC;CAC1B;AAED;;;GAGG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,MAAM,EAAE,YAAY,CAAC;IAErB;;OAEG;IACH,QAAQ,EAAE,IAAI,CAAC;IAEf;;OAEG;IACH,WAAW,EAAE,IAAI,GAAG,IAAI,CAAC;IAEzB;;OAEG;IACH,SAAS,EAAE,IAAI,GAAG,IAAI,CAAC;CACxB"}
@@ -1,15 +1,9 @@
1
- "use strict";
2
-
3
- exports.__esModule = true;
4
- exports.SCBroadcastMessageBannerType = void 0;
5
-
6
1
  /**
7
2
  * Define the various types of banners
8
3
  */
9
- let SCBroadcastMessageBannerType;
10
- exports.SCBroadcastMessageBannerType = SCBroadcastMessageBannerType;
11
-
4
+ export var SCBroadcastMessageBannerType;
12
5
  (function (SCBroadcastMessageBannerType) {
13
- SCBroadcastMessageBannerType["HTML"] = "html_banner";
14
- SCBroadcastMessageBannerType["NOTIFICATION"] = "notification_banner";
15
- })(SCBroadcastMessageBannerType || (exports.SCBroadcastMessageBannerType = SCBroadcastMessageBannerType = {}));
6
+ SCBroadcastMessageBannerType["HTML"] = "html_banner";
7
+ SCBroadcastMessageBannerType["NOTIFICATION"] = "notification_banner";
8
+ })(SCBroadcastMessageBannerType || (SCBroadcastMessageBannerType = {}));
9
+ //# sourceMappingURL=broadcastMessage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"broadcastMessage.js","sourceRoot":"","sources":["../../../src/types/broadcastMessage.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAN,IAAY,4BAGX;AAHD,WAAY,4BAA4B;IACtC,oDAAoB,CAAA;IACpB,oEAAoC,CAAA;AACtC,CAAC,EAHW,4BAA4B,KAA5B,4BAA4B,QAGvC"}