@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
@@ -0,0 +1,107 @@
1
+ import { SCTagType } from './tag';
2
+ /**
3
+ * Interface SCCategoryType.
4
+ * Category Schema.
5
+ */
6
+ export interface SCCategoryType {
7
+ /**
8
+ * The ID of the category.
9
+ */
10
+ id: number;
11
+ /**
12
+ * The manual ordering number of the category.
13
+ */
14
+ order?: number;
15
+ /**
16
+ * The name of the category.
17
+ */
18
+ name: string;
19
+ /**
20
+ * The synonyms/aliases of the category.
21
+ */
22
+ name_synonyms?: string;
23
+ /**
24
+ * The slug of the category.
25
+ */
26
+ slug?: string;
27
+ /**
28
+ * The slogan of the category.
29
+ */
30
+ slogan?: string;
31
+ /**
32
+ * The category's html text.
33
+ */
34
+ html_info?: string;
35
+ /**
36
+ * The category's html meta tag.
37
+ */
38
+ seo_title?: string;
39
+ /**
40
+ * The description for category's html meta tag.
41
+ */
42
+ seo_description?: string;
43
+ /**
44
+ * The category's auto follow behaviour.
45
+ */
46
+ auto_follow?: string;
47
+ /**
48
+ * The category status.
49
+ */
50
+ active?: boolean;
51
+ /**
52
+ * The category status.
53
+ */
54
+ deleted?: boolean;
55
+ /**
56
+ * The category's image with min size.
57
+ */
58
+ image_original?: string;
59
+ /**
60
+ * The category's auto generated bigger size.
61
+ */
62
+ image_bigger?: string;
63
+ /**
64
+ * The category's auto generated big size.
65
+ */
66
+ image_big?: string;
67
+ /**
68
+ * The category's auto generated medium size.
69
+ */
70
+ image_medium?: string;
71
+ /**
72
+ * The category's auto generated small size.
73
+ */
74
+ image_small?: string;
75
+ /**
76
+ * The landscape format image for category hub.
77
+ */
78
+ emotional_image_original?: string;
79
+ /**
80
+ * The css background-position.
81
+ */
82
+ emotional_image_position?: number;
83
+ /**
84
+ * The last modify (datetime)
85
+ */
86
+ lastmod_datetime?: string;
87
+ /**
88
+ * The order of the category feed.
89
+ */
90
+ stream_order_by?: string;
91
+ /**
92
+ * The category's tags.
93
+ */
94
+ tags?: Array<SCTagType>;
95
+ /**
96
+ * Followers counter for the category.
97
+ */
98
+ followers_counter?: number;
99
+ }
100
+ export interface SCCategoryAudienceType {
101
+ category_audience: number;
102
+ connections_audience: number;
103
+ }
104
+ export interface SCCategoryFollowedStatusType {
105
+ is_followed: boolean;
106
+ }
107
+ //# sourceMappingURL=category.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"category.d.ts","sourceRoot":"","sources":["../../../src/types/category.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,OAAO,CAAC;AAEhC;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAElC;;OAEG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAElC;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;IACxB;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,MAAM,WAAW,sBAAsB;IACrC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,oBAAoB,EAAE,MAAM,CAAC;CAC9B;AAED,MAAM,WAAW,4BAA4B;IAC3C,WAAW,EAAE,OAAO,CAAC;CACtB"}
@@ -1,3 +1,2 @@
1
- "use strict";
2
-
3
- exports.__esModule = true;
1
+ export {};
2
+ //# sourceMappingURL=category.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"category.js","sourceRoot":"","sources":["../../../src/types/category.ts"],"names":[],"mappings":""}
@@ -0,0 +1,97 @@
1
+ import { SCUserType } from './user';
2
+ /**
3
+ * Typology Comment
4
+ */
5
+ export declare const SCCommentTypologyType = "comment";
6
+ /**
7
+ * Interface SCCommentType.
8
+ * Comment Schema.
9
+ */
10
+ export interface SCCommentType {
11
+ /**
12
+ * Id of the comment
13
+ */
14
+ id: number;
15
+ /**
16
+ * Id of the Discussion object
17
+ */
18
+ discussion?: number;
19
+ /**
20
+ * Id of the Post object
21
+ */
22
+ post?: number;
23
+ /**
24
+ * Id of the Status object
25
+ */
26
+ status?: number;
27
+ /**
28
+ * User who commented
29
+ */
30
+ author?: SCUserType;
31
+ /**
32
+ * Added at
33
+ */
34
+ added_at: Date;
35
+ /**
36
+ * Html of the comment
37
+ */
38
+ html: string;
39
+ /**
40
+ * Summary
41
+ */
42
+ summary: string;
43
+ /**
44
+ * If the comments is deleted
45
+ */
46
+ deleted: boolean;
47
+ /**
48
+ * If the comments is hidden
49
+ */
50
+ collapsed: boolean;
51
+ /**
52
+ * Id of the parent
53
+ */
54
+ parent: number;
55
+ /**
56
+ * Id of the reply Comment, it must have the same parent
57
+ */
58
+ in_reply_to?: number;
59
+ /**
60
+ * Number of votes
61
+ */
62
+ vote_count: number;
63
+ /**
64
+ * True if the logged user has already voted the comment
65
+ */
66
+ voted: boolean;
67
+ /**
68
+ * Number of flags
69
+ */
70
+ flag_count: number;
71
+ /**
72
+ * Number of comments
73
+ */
74
+ comment_count: number;
75
+ /**
76
+ * Text of the comment
77
+ */
78
+ text: string;
79
+ /**
80
+ * Comments childs
81
+ */
82
+ latest_comments?: SCCommentType[];
83
+ /**
84
+ * Type: comment
85
+ */
86
+ type: string;
87
+ }
88
+ /**
89
+ * Type of comments ordering
90
+ */
91
+ export declare enum SCCommentsOrderBy {
92
+ ADDED_AT_DESC = "-added_at",
93
+ ADDED_AT_ASC = "added_at",
94
+ CONNECTION_DESC = "-connection",
95
+ CONNECTION_ASC = "connection"
96
+ }
97
+ //# sourceMappingURL=comment.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"comment.d.ts","sourceRoot":"","sources":["../../../src/types/comment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,QAAQ,CAAC;AAElC;;GAEG;AACH,eAAO,MAAM,qBAAqB,YAAY,CAAC;AAE/C;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,MAAM,CAAC,EAAE,UAAU,CAAC;IAEpB;;OAEG;IACH,QAAQ,EAAE,IAAI,CAAC;IAEf;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,SAAS,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,KAAK,EAAE,OAAO,CAAC;IAEf;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,eAAe,CAAC,EAAE,aAAa,EAAE,CAAC;IAElC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,oBAAY,iBAAiB;IAC3B,aAAa,cAAc;IAC3B,YAAY,aAAa;IACzB,eAAe,gBAAgB;IAC/B,cAAc,eAAe;CAC9B"}
@@ -1,28 +1,15 @@
1
- "use strict";
2
-
3
- exports.__esModule = true;
4
- exports.SCCommentsOrderBy = exports.SCCommentTypologyType = void 0;
5
-
6
1
  /**
7
2
  * Typology Comment
8
3
  */
9
- const SCCommentTypologyType = 'comment';
10
- /**
11
- * Interface SCCommentType.
12
- * Comment Schema.
13
- */
14
-
15
- exports.SCCommentTypologyType = SCCommentTypologyType;
16
-
4
+ export const SCCommentTypologyType = 'comment';
17
5
  /**
18
6
  * Type of comments ordering
19
7
  */
20
- let SCCommentsOrderBy;
21
- exports.SCCommentsOrderBy = SCCommentsOrderBy;
22
-
8
+ export var SCCommentsOrderBy;
23
9
  (function (SCCommentsOrderBy) {
24
- SCCommentsOrderBy["ADDED_AT_DESC"] = "-added_at";
25
- SCCommentsOrderBy["ADDED_AT_ASC"] = "added_at";
26
- SCCommentsOrderBy["CONNECTION_DESC"] = "-connection";
27
- SCCommentsOrderBy["CONNECTION_ASC"] = "connection";
28
- })(SCCommentsOrderBy || (exports.SCCommentsOrderBy = SCCommentsOrderBy = {}));
10
+ SCCommentsOrderBy["ADDED_AT_DESC"] = "-added_at";
11
+ SCCommentsOrderBy["ADDED_AT_ASC"] = "added_at";
12
+ SCCommentsOrderBy["CONNECTION_DESC"] = "-connection";
13
+ SCCommentsOrderBy["CONNECTION_ASC"] = "connection";
14
+ })(SCCommentsOrderBy || (SCCommentsOrderBy = {}));
15
+ //# sourceMappingURL=comment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"comment.js","sourceRoot":"","sources":["../../../src/types/comment.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,SAAS,CAAC;AAuG/C;;GAEG;AACH,MAAM,CAAN,IAAY,iBAKX;AALD,WAAY,iBAAiB;IAC3B,gDAA2B,CAAA;IAC3B,8CAAyB,CAAA;IACzB,oDAA+B,CAAA;IAC/B,kDAA6B,CAAA;AAC/B,CAAC,EALW,iBAAiB,KAAjB,iBAAiB,QAK5B"}
@@ -0,0 +1,64 @@
1
+ import { SCFlagModerationStatusType, SCFlagTypeEnum } from './flag';
2
+ import { SCUserType } from './user';
3
+ import { SCFeedObjectType } from './feed';
4
+ import { SCCommentType } from './comment';
5
+ /**
6
+ * SCFlaggedContributionType
7
+ */
8
+ export interface SCFlaggedContributionType {
9
+ /**
10
+ * The feed obj type(discussion, post, status)
11
+ */
12
+ contribution_type: SCContributionType;
13
+ /**
14
+ * The feed obj
15
+ */
16
+ contribution: SCFeedObjectType | SCCommentType;
17
+ /**
18
+ * Date time of the last flag
19
+ */
20
+ last_flagged_at: Date | string;
21
+ /**
22
+ * Moderation status
23
+ */
24
+ moderation_status: SCFlagModerationStatusType;
25
+ /**
26
+ * Cause of the moderation
27
+ */
28
+ moderation_type: SCFlagTypeEnum;
29
+ /**
30
+ * The moderator
31
+ */
32
+ moderation_by: SCUserType;
33
+ /**
34
+ * Date time of the moderation
35
+ */
36
+ moderation_at: Date | string;
37
+ }
38
+ /**
39
+ * Contribute types
40
+ */
41
+ export declare enum SCContributionType {
42
+ DISCUSSION = "discussion",
43
+ POST = "post",
44
+ STATUS = "status",
45
+ COMMENT = "comment"
46
+ }
47
+ /**
48
+ *
49
+ */
50
+ export interface SCContributionStatus {
51
+ status: SCContributeStatusType;
52
+ flag_type: SCFlagTypeEnum;
53
+ flag_type_description: string;
54
+ }
55
+ /**
56
+ * Contribute status types
57
+ */
58
+ export declare enum SCContributeStatusType {
59
+ OPEN = "open",
60
+ IGNORED = "ignored",
61
+ HIDDEN = "hidden",
62
+ DELETED = "deleted"
63
+ }
64
+ //# sourceMappingURL=contribution.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contribution.d.ts","sourceRoot":"","sources":["../../../src/types/contribution.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,0BAA0B,EAAE,cAAc,EAAC,MAAM,QAAQ,CAAC;AAClE,OAAO,EAAC,UAAU,EAAC,MAAM,QAAQ,CAAC;AAClC,OAAO,EAAC,gBAAgB,EAAC,MAAM,QAAQ,CAAC;AACxC,OAAO,EAAC,aAAa,EAAC,MAAM,WAAW,CAAC;AAExC;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,iBAAiB,EAAE,kBAAkB,CAAC;IACtC;;OAEG;IACH,YAAY,EAAE,gBAAgB,GAAG,aAAa,CAAC;IAC/C;;OAEG;IACH,eAAe,EAAE,IAAI,GAAG,MAAM,CAAC;IAC/B;;OAEG;IACH,iBAAiB,EAAE,0BAA0B,CAAC;IAC9C;;OAEG;IACH,eAAe,EAAE,cAAc,CAAC;IAChC;;OAEG;IACH,aAAa,EAAE,UAAU,CAAC;IAC1B;;OAEG;IACH,aAAa,EAAE,IAAI,GAAG,MAAM,CAAC;CAC9B;AAED;;GAEG;AACH,oBAAY,kBAAkB;IAC5B,UAAU,eAAe;IACzB,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,OAAO,YAAY;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,sBAAsB,CAAC;IAC/B,SAAS,EAAE,cAAc,CAAC;IAC1B,qBAAqB,EAAE,MAAM,CAAC;CAC/B;AAED;;GAEG;AACH,oBAAY,sBAAsB;IAChC,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,OAAO,YAAY;CACpB"}
@@ -1,38 +1,21 @@
1
- "use strict";
2
-
3
- exports.__esModule = true;
4
- exports.SCContributionType = exports.SCContributeStatusType = void 0;
5
-
6
- /**
7
- * SCFlaggedContributionType
8
- */
9
-
10
1
  /**
11
2
  * Contribute types
12
3
  */
13
- let SCContributionType;
14
- /**
15
- *
16
- */
17
-
18
- exports.SCContributionType = SCContributionType;
19
-
4
+ export var SCContributionType;
20
5
  (function (SCContributionType) {
21
- SCContributionType["DISCUSSION"] = "discussion";
22
- SCContributionType["POST"] = "post";
23
- SCContributionType["STATUS"] = "status";
24
- SCContributionType["COMMENT"] = "comment";
25
- })(SCContributionType || (exports.SCContributionType = SCContributionType = {}));
26
-
6
+ SCContributionType["DISCUSSION"] = "discussion";
7
+ SCContributionType["POST"] = "post";
8
+ SCContributionType["STATUS"] = "status";
9
+ SCContributionType["COMMENT"] = "comment";
10
+ })(SCContributionType || (SCContributionType = {}));
27
11
  /**
28
12
  * Contribute status types
29
13
  */
30
- let SCContributeStatusType;
31
- exports.SCContributeStatusType = SCContributeStatusType;
32
-
14
+ export var SCContributeStatusType;
33
15
  (function (SCContributeStatusType) {
34
- SCContributeStatusType["OPEN"] = "open";
35
- SCContributeStatusType["IGNORED"] = "ignored";
36
- SCContributeStatusType["HIDDEN"] = "hidden";
37
- SCContributeStatusType["DELETED"] = "deleted";
38
- })(SCContributeStatusType || (exports.SCContributeStatusType = SCContributeStatusType = {}));
16
+ SCContributeStatusType["OPEN"] = "open";
17
+ SCContributeStatusType["IGNORED"] = "ignored";
18
+ SCContributeStatusType["HIDDEN"] = "hidden";
19
+ SCContributeStatusType["DELETED"] = "deleted";
20
+ })(SCContributeStatusType || (SCContributeStatusType = {}));
21
+ //# sourceMappingURL=contribution.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contribution.js","sourceRoot":"","sources":["../../../src/types/contribution.ts"],"names":[],"mappings":"AAuCA;;GAEG;AACH,MAAM,CAAN,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC5B,+CAAyB,CAAA;IACzB,mCAAa,CAAA;IACb,uCAAiB,CAAA;IACjB,yCAAmB,CAAA;AACrB,CAAC,EALW,kBAAkB,KAAlB,kBAAkB,QAK7B;AAWD;;GAEG;AACH,MAAM,CAAN,IAAY,sBAKX;AALD,WAAY,sBAAsB;IAChC,uCAAa,CAAA;IACb,6CAAmB,CAAA;IACnB,2CAAiB,CAAA;IACjB,6CAAmB,CAAA;AACrB,CAAC,EALW,sBAAsB,KAAtB,sBAAsB,QAKjC"}
@@ -0,0 +1,53 @@
1
+ export declare enum SCCustomAdvPosition {
2
+ POSITION_BELOW_TOPBAR = "BELOW_TOPBAR",
3
+ POSITION_BELOW_FEED_OBJECT = "BELOW_THE_POST",
4
+ POSITION_ABOVE_FOOTER_BAR = "ABOVE_FOOTER_BAR",
5
+ POSITION_FOOTER_STICKY = "FOOTER_STICKY",
6
+ POSITION_IN_COMMENTS = "IN_POST_COMMENTS",
7
+ POSITION_RELATED_POSTS_COLUMN = "RELATED_POSTS_COLUMN",
8
+ POSITION_FEED_SIDEBAR = "TOOLS_COLUMN",
9
+ POSITION_FEED = "IN_STREAM"
10
+ }
11
+ export interface SCCustomAdvType {
12
+ /**
13
+ * Unique integer value identifying this adv
14
+ */
15
+ id: number;
16
+ /**
17
+ * A string code representing the display position of the adv
18
+ */
19
+ position: SCCustomAdvPosition;
20
+ /**
21
+ * The title of the adv
22
+ */
23
+ title: string | null;
24
+ /**
25
+ * The link/url of the adv
26
+ */
27
+ link: string | null;
28
+ /**
29
+ * An image banner for the adv
30
+ */
31
+ image: string | null;
32
+ /**
33
+ * Html/js embeddable code
34
+ */
35
+ embed_code: string | null;
36
+ /**
37
+ * A flag to activate or deactivate this adv
38
+ */
39
+ active: boolean;
40
+ /**
41
+ * datetime of creation
42
+ */
43
+ created_at: string;
44
+ /**
45
+ * last modify datetime
46
+ */
47
+ lastmod_datetime: string;
48
+ /**
49
+ * The id of the category connected to this adv
50
+ */
51
+ category: number | null;
52
+ }
53
+ //# sourceMappingURL=customAdv.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customAdv.d.ts","sourceRoot":"","sources":["../../../src/types/customAdv.ts"],"names":[],"mappings":"AAAA,oBAAY,mBAAmB;IAC7B,qBAAqB,iBAAiB;IACtC,0BAA0B,mBAAmB;IAC7C,yBAAyB,qBAAqB;IAC9C,sBAAsB,kBAAkB;IACxC,oBAAoB,qBAAqB;IACzC,6BAA6B,yBAAyB;IACtD,qBAAqB,iBAAiB;IACtC,aAAa,cAAc;CAC5B;AAED,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,QAAQ,EAAE,mBAAmB,CAAC;IAE9B;;OAEG;IACH,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAErB;;OAEG;IACH,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAEpB;;OAEG;IACH,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAErB;;OAEG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAE1B;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;IAEhB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB"}
@@ -1,17 +1,12 @@
1
- "use strict";
2
-
3
- exports.__esModule = true;
4
- exports.SCCustomAdvPosition = void 0;
5
- let SCCustomAdvPosition;
6
- exports.SCCustomAdvPosition = SCCustomAdvPosition;
7
-
1
+ export var SCCustomAdvPosition;
8
2
  (function (SCCustomAdvPosition) {
9
- SCCustomAdvPosition["POSITION_BELOW_TOPBAR"] = "BELOW_TOPBAR";
10
- SCCustomAdvPosition["POSITION_BELOW_FEED_OBJECT"] = "BELOW_THE_POST";
11
- SCCustomAdvPosition["POSITION_ABOVE_FOOTER_BAR"] = "ABOVE_FOOTER_BAR";
12
- SCCustomAdvPosition["POSITION_FOOTER_STICKY"] = "FOOTER_STICKY";
13
- SCCustomAdvPosition["POSITION_IN_COMMENTS"] = "IN_POST_COMMENTS";
14
- SCCustomAdvPosition["POSITION_RELATED_POSTS_COLUMN"] = "RELATED_POSTS_COLUMN";
15
- SCCustomAdvPosition["POSITION_FEED_SIDEBAR"] = "TOOLS_COLUMN";
16
- SCCustomAdvPosition["POSITION_FEED"] = "IN_STREAM";
17
- })(SCCustomAdvPosition || (exports.SCCustomAdvPosition = SCCustomAdvPosition = {}));
3
+ SCCustomAdvPosition["POSITION_BELOW_TOPBAR"] = "BELOW_TOPBAR";
4
+ SCCustomAdvPosition["POSITION_BELOW_FEED_OBJECT"] = "BELOW_THE_POST";
5
+ SCCustomAdvPosition["POSITION_ABOVE_FOOTER_BAR"] = "ABOVE_FOOTER_BAR";
6
+ SCCustomAdvPosition["POSITION_FOOTER_STICKY"] = "FOOTER_STICKY";
7
+ SCCustomAdvPosition["POSITION_IN_COMMENTS"] = "IN_POST_COMMENTS";
8
+ SCCustomAdvPosition["POSITION_RELATED_POSTS_COLUMN"] = "RELATED_POSTS_COLUMN";
9
+ SCCustomAdvPosition["POSITION_FEED_SIDEBAR"] = "TOOLS_COLUMN";
10
+ SCCustomAdvPosition["POSITION_FEED"] = "IN_STREAM";
11
+ })(SCCustomAdvPosition || (SCCustomAdvPosition = {}));
12
+ //# sourceMappingURL=customAdv.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customAdv.js","sourceRoot":"","sources":["../../../src/types/customAdv.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,mBASX;AATD,WAAY,mBAAmB;IAC7B,6DAAsC,CAAA;IACtC,oEAA6C,CAAA;IAC7C,qEAA8C,CAAA;IAC9C,+DAAwC,CAAA;IACxC,gEAAyC,CAAA;IACzC,6EAAsD,CAAA;IACtD,6DAAsC,CAAA;IACtC,kDAA2B,CAAA;AAC7B,CAAC,EATW,mBAAmB,KAAnB,mBAAmB,QAS9B"}
@@ -0,0 +1,28 @@
1
+ import { SCEmbedType } from './index';
2
+ /**
3
+ * Interface SCCustomNotificationType.
4
+ * Custom Notification Schema.
5
+ */
6
+ export interface SCCustomNotificationType {
7
+ /**
8
+ * Id of the custom notification
9
+ */
10
+ id: number;
11
+ /**
12
+ * Custom type notification
13
+ */
14
+ type: string;
15
+ /**
16
+ * Embed object if exist
17
+ */
18
+ embed?: SCEmbedType;
19
+ /**
20
+ * Notification title
21
+ */
22
+ title?: string;
23
+ /**
24
+ * Notification description
25
+ */
26
+ description?: string;
27
+ }
28
+ //# sourceMappingURL=customNotification.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customNotification.d.ts","sourceRoot":"","sources":["../../../src/types/customNotification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,SAAS,CAAC;AAEpC;;;GAGG;AACH,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,KAAK,CAAC,EAAE,WAAW,CAAC;IAEpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
@@ -1,3 +1,2 @@
1
- "use strict";
2
-
3
- exports.__esModule = true;
1
+ export {};
2
+ //# sourceMappingURL=customNotification.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customNotification.js","sourceRoot":"","sources":["../../../src/types/customNotification.ts"],"names":[],"mappings":""}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * SCCustomPageType interface
3
+ */
4
+ export interface SCCustomPageType {
5
+ id?: number;
6
+ slug?: string;
7
+ label: string;
8
+ title: string;
9
+ alternative_url?: string;
10
+ html_body?: string;
11
+ visible_in_menu?: boolean;
12
+ order?: number;
13
+ created_at?: Date | string;
14
+ lastmod_datetime?: Date | string;
15
+ active?: boolean;
16
+ created_by?: number;
17
+ }
18
+ //# sourceMappingURL=customPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customPage.d.ts","sourceRoot":"","sources":["../../../src/types/customPage.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IAC3B,gBAAgB,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IACjC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB"}
@@ -1,3 +1,2 @@
1
- "use strict";
2
-
3
- exports.__esModule = true;
1
+ export {};
2
+ //# sourceMappingURL=customPage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customPage.js","sourceRoot":"","sources":["../../../src/types/customPage.ts"],"names":[],"mappings":""}
@@ -0,0 +1,30 @@
1
+ /**
2
+ * SCDataPortabilityType interface
3
+ */
4
+ export interface SCDataPortabilityType {
5
+ /**
6
+ * Is still processing your data?
7
+ */
8
+ computing?: true;
9
+ /**
10
+ * Has already sent the email?
11
+ */
12
+ send_email?: true;
13
+ /**
14
+ * Request date time
15
+ */
16
+ requested_at?: Date | string;
17
+ /**
18
+ * Generation date time
19
+ */
20
+ generated_at?: Date | string;
21
+ /**
22
+ * Email sent date time
23
+ */
24
+ email_sent_at?: Date | string;
25
+ /**
26
+ * Download date time
27
+ */
28
+ downloaded_at?: Date | string;
29
+ }
30
+ //# sourceMappingURL=dataPortability.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dataPortability.d.ts","sourceRoot":"","sources":["../../../src/types/dataPortability.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB;;OAEG;IACH,UAAU,CAAC,EAAE,IAAI,CAAC;IAClB;;OAEG;IACH,YAAY,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IAC7B;;OAEG;IACH,YAAY,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IAC7B;;OAEG;IACH,aAAa,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IAC9B;;OAEG;IACH,aAAa,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;CAC/B"}
@@ -1,3 +1,2 @@
1
- "use strict";
2
-
3
- exports.__esModule = true;
1
+ export {};
2
+ //# sourceMappingURL=dataPortability.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dataPortability.js","sourceRoot":"","sources":["../../../src/types/dataPortability.ts"],"names":[],"mappings":""}
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Interface SCEmbedType.
3
+ * Embed Schema.
4
+ */
5
+ export interface SCEmbedType {
6
+ /**
7
+ * Id of the embed
8
+ */
9
+ id: number;
10
+ /**
11
+ * Type of the embed, can be any string except
12
+ * sc_vimeo, sc_link or sc_shared_object that are used
13
+ * for embedded objects automatically created by the community
14
+ */
15
+ embed_type: string;
16
+ /**
17
+ * External id for the embed object
18
+ */
19
+ embed_id: number;
20
+ /**
21
+ * Url for the resource, if any
22
+ */
23
+ url?: string;
24
+ /**
25
+ * Metadata associated to this embed. It mus be a valid json object.
26
+ * For embed_type sc_vimeo or sc_link it contains metadata associated
27
+ * with the external resource. For embed_type sc_shared_object it contains a field
28
+ * type that is the type of the object (Discussion or Post) and a field id
29
+ * that contains the id of the object shared
30
+ */
31
+ metadata: Record<string, any>;
32
+ }
33
+ //# sourceMappingURL=embed.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"embed.d.ts","sourceRoot":"","sources":["../../../src/types/embed.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;;;;;OAMG;IACH,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC/B"}
@@ -1,3 +1,2 @@
1
- "use strict";
2
-
3
- exports.__esModule = true;
1
+ export {};
2
+ //# sourceMappingURL=embed.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"embed.js","sourceRoot":"","sources":["../../../src/types/embed.ts"],"names":[],"mappings":""}