@selfcommunity/api-services 0.1.6-alpha.2 → 0.1.6-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (162) hide show
  1. package/lib/cjs/utils/apiRequest.js +1 -1
  2. package/lib/esm/utils/apiRequest.js +1 -1
  3. package/lib/{esm/api-services/src → types}/client/index.d.ts +0 -0
  4. package/lib/types/client/index.d.ts.map +1 -0
  5. package/lib/{esm/api-services/src → types}/constants/Endpoints.d.ts +0 -0
  6. package/lib/types/constants/Endpoints.d.ts.map +1 -0
  7. package/lib/{esm/api-services/src → types}/index.d.ts +0 -0
  8. package/lib/types/index.d.ts.map +1 -0
  9. package/lib/{esm/api-services/src → types}/services/category/index.d.ts +0 -0
  10. package/lib/types/services/category/index.d.ts.map +1 -0
  11. package/lib/{esm/api-services/src → types}/services/comment/index.d.ts +0 -0
  12. package/lib/types/services/comment/index.d.ts.map +1 -0
  13. package/lib/{esm/api-services/src → types}/services/custom_adv/index.d.ts +0 -0
  14. package/lib/types/services/custom_adv/index.d.ts.map +1 -0
  15. package/lib/{esm/api-services/src → types}/services/custom_page/index.d.ts +0 -0
  16. package/lib/types/services/custom_page/index.d.ts.map +1 -0
  17. package/lib/{esm/api-services/src → types}/services/data_portability/index.d.ts +0 -0
  18. package/lib/types/services/data_portability/index.d.ts.map +1 -0
  19. package/lib/{esm/api-services/src → types}/services/embed/index.d.ts +0 -0
  20. package/lib/types/services/embed/index.d.ts.map +1 -0
  21. package/lib/{esm/api-services/src → types}/services/feature/index.d.ts +0 -0
  22. package/lib/types/services/feature/index.d.ts.map +1 -0
  23. package/lib/{esm/api-services/src → types}/services/feed/index.d.ts +0 -0
  24. package/lib/types/services/feed/index.d.ts.map +1 -0
  25. package/lib/{esm/api-services/src → types}/services/feed_object/index.d.ts +0 -0
  26. package/lib/types/services/feed_object/index.d.ts.map +1 -0
  27. package/lib/{esm/api-services/src → types}/services/incubator/index.d.ts +0 -0
  28. package/lib/types/services/incubator/index.d.ts.map +1 -0
  29. package/lib/{esm/api-services/src → types}/services/insight/index.d.ts +0 -0
  30. package/lib/types/services/insight/index.d.ts.map +1 -0
  31. package/lib/{esm/api-services/src → types}/services/legal_page/index.d.ts +0 -0
  32. package/lib/types/services/legal_page/index.d.ts.map +1 -0
  33. package/lib/{esm/api-services/src → types}/services/locality/index.d.ts +0 -0
  34. package/lib/types/services/locality/index.d.ts.map +1 -0
  35. package/lib/{esm/api-services/src → types}/services/loyalty/index.d.ts +0 -0
  36. package/lib/types/services/loyalty/index.d.ts.map +1 -0
  37. package/lib/{esm/api-services/src → types}/services/media/index.d.ts +0 -0
  38. package/lib/types/services/media/index.d.ts.map +1 -0
  39. package/lib/{esm/api-services/src → types}/services/moderation/index.d.ts +0 -0
  40. package/lib/types/services/moderation/index.d.ts.map +1 -0
  41. package/lib/{esm/api-services/src → types}/services/notification/index.d.ts +0 -0
  42. package/lib/types/services/notification/index.d.ts.map +1 -0
  43. package/lib/{esm/api-services/src → types}/services/preference/index.d.ts +0 -0
  44. package/lib/types/services/preference/index.d.ts.map +1 -0
  45. package/lib/{esm/api-services/src → types}/services/private_message/index.d.ts +0 -0
  46. package/lib/types/services/private_message/index.d.ts.map +1 -0
  47. package/lib/{esm/api-services/src → types}/services/score/index.d.ts +0 -0
  48. package/lib/types/services/score/index.d.ts.map +1 -0
  49. package/lib/{esm/api-services/src → types}/services/sso/index.d.ts +0 -0
  50. package/lib/types/services/sso/index.d.ts.map +1 -0
  51. package/lib/{esm/api-services/src → types}/services/suggestion/index.d.ts +0 -0
  52. package/lib/types/services/suggestion/index.d.ts.map +1 -0
  53. package/lib/{esm/api-services/src → types}/services/tag/index.d.ts +0 -0
  54. package/lib/types/services/tag/index.d.ts.map +1 -0
  55. package/lib/{esm/api-services/src → types}/services/user/index.d.ts +0 -0
  56. package/lib/types/services/user/index.d.ts.map +1 -0
  57. package/lib/{esm/api-services/src → types}/services/webhook/index.d.ts +0 -0
  58. package/lib/types/services/webhook/index.d.ts.map +1 -0
  59. package/lib/types/tsconfig.build.tsbuildinfo +1 -0
  60. package/lib/{esm/api-services/src → types}/types/index.d.ts +0 -0
  61. package/lib/types/types/index.d.ts.map +1 -0
  62. package/lib/{esm/api-services/src → types}/types/paginatedResponse.d.ts +0 -0
  63. package/lib/types/types/paginatedResponse.d.ts.map +1 -0
  64. package/lib/{esm/api-services/src → types}/types/webhook.d.ts +0 -0
  65. package/lib/types/types/webhook.d.ts.map +1 -0
  66. package/lib/{esm/api-services/src → types}/utils/apiRequest.d.ts +0 -0
  67. package/lib/types/utils/apiRequest.d.ts.map +1 -0
  68. package/lib/{esm/api-services/src → types}/utils/http.d.ts +0 -0
  69. package/lib/types/utils/http.d.ts.map +1 -0
  70. package/lib/{esm/api-services/src → types}/utils/token.d.ts +0 -0
  71. package/lib/types/utils/token.d.ts.map +1 -0
  72. package/lib/umd/api-services.js +1 -1
  73. package/lib/umd/api-services.js.map +1 -1
  74. package/package.json +6 -5
  75. package/lib/esm/api-services/src/client/index.d.ts.map +0 -1
  76. package/lib/esm/api-services/src/constants/Endpoints.d.ts.map +0 -1
  77. package/lib/esm/api-services/src/index.d.ts.map +0 -1
  78. package/lib/esm/api-services/src/services/category/index.d.ts.map +0 -1
  79. package/lib/esm/api-services/src/services/comment/index.d.ts.map +0 -1
  80. package/lib/esm/api-services/src/services/custom_adv/index.d.ts.map +0 -1
  81. package/lib/esm/api-services/src/services/custom_page/index.d.ts.map +0 -1
  82. package/lib/esm/api-services/src/services/data_portability/index.d.ts.map +0 -1
  83. package/lib/esm/api-services/src/services/embed/index.d.ts.map +0 -1
  84. package/lib/esm/api-services/src/services/feature/index.d.ts.map +0 -1
  85. package/lib/esm/api-services/src/services/feed/index.d.ts.map +0 -1
  86. package/lib/esm/api-services/src/services/feed_object/index.d.ts.map +0 -1
  87. package/lib/esm/api-services/src/services/incubator/index.d.ts.map +0 -1
  88. package/lib/esm/api-services/src/services/insight/index.d.ts.map +0 -1
  89. package/lib/esm/api-services/src/services/legal_page/index.d.ts.map +0 -1
  90. package/lib/esm/api-services/src/services/locality/index.d.ts.map +0 -1
  91. package/lib/esm/api-services/src/services/loyalty/index.d.ts.map +0 -1
  92. package/lib/esm/api-services/src/services/media/index.d.ts.map +0 -1
  93. package/lib/esm/api-services/src/services/moderation/index.d.ts.map +0 -1
  94. package/lib/esm/api-services/src/services/notification/index.d.ts.map +0 -1
  95. package/lib/esm/api-services/src/services/preference/index.d.ts.map +0 -1
  96. package/lib/esm/api-services/src/services/private_message/index.d.ts.map +0 -1
  97. package/lib/esm/api-services/src/services/score/index.d.ts.map +0 -1
  98. package/lib/esm/api-services/src/services/sso/index.d.ts.map +0 -1
  99. package/lib/esm/api-services/src/services/suggestion/index.d.ts.map +0 -1
  100. package/lib/esm/api-services/src/services/tag/index.d.ts.map +0 -1
  101. package/lib/esm/api-services/src/services/user/index.d.ts.map +0 -1
  102. package/lib/esm/api-services/src/services/webhook/index.d.ts.map +0 -1
  103. package/lib/esm/api-services/src/types/index.d.ts.map +0 -1
  104. package/lib/esm/api-services/src/types/paginatedResponse.d.ts.map +0 -1
  105. package/lib/esm/api-services/src/types/webhook.d.ts.map +0 -1
  106. package/lib/esm/api-services/src/utils/apiRequest.d.ts.map +0 -1
  107. package/lib/esm/api-services/src/utils/http.d.ts.map +0 -1
  108. package/lib/esm/api-services/src/utils/token.d.ts.map +0 -1
  109. package/lib/esm/types/src/index.d.ts +0 -9
  110. package/lib/esm/types/src/index.d.ts.map +0 -1
  111. package/lib/esm/types/src/types/auth.d.ts +0 -26
  112. package/lib/esm/types/src/types/auth.d.ts.map +0 -1
  113. package/lib/esm/types/src/types/broadcastMessage.d.ts +0 -73
  114. package/lib/esm/types/src/types/broadcastMessage.d.ts.map +0 -1
  115. package/lib/esm/types/src/types/category.d.ts +0 -100
  116. package/lib/esm/types/src/types/category.d.ts.map +0 -1
  117. package/lib/esm/types/src/types/comment.d.ts +0 -97
  118. package/lib/esm/types/src/types/comment.d.ts.map +0 -1
  119. package/lib/esm/types/src/types/customAdv.d.ts +0 -53
  120. package/lib/esm/types/src/types/customAdv.d.ts.map +0 -1
  121. package/lib/esm/types/src/types/customNotification.d.ts +0 -28
  122. package/lib/esm/types/src/types/customNotification.d.ts.map +0 -1
  123. package/lib/esm/types/src/types/embed.d.ts +0 -33
  124. package/lib/esm/types/src/types/embed.d.ts.map +0 -1
  125. package/lib/esm/types/src/types/feed.d.ts +0 -208
  126. package/lib/esm/types/src/types/feed.d.ts.map +0 -1
  127. package/lib/esm/types/src/types/incubator.d.ts +0 -53
  128. package/lib/esm/types/src/types/incubator.d.ts.map +0 -1
  129. package/lib/esm/types/src/types/index.d.ts +0 -23
  130. package/lib/esm/types/src/types/index.d.ts.map +0 -1
  131. package/lib/esm/types/src/types/location.d.ts +0 -61
  132. package/lib/esm/types/src/types/location.d.ts.map +0 -1
  133. package/lib/esm/types/src/types/media.d.ts +0 -52
  134. package/lib/esm/types/src/types/media.d.ts.map +0 -1
  135. package/lib/esm/types/src/types/notification.d.ts +0 -416
  136. package/lib/esm/types/src/types/notification.d.ts.map +0 -1
  137. package/lib/esm/types/src/types/poll.d.ts +0 -77
  138. package/lib/esm/types/src/types/poll.d.ts.map +0 -1
  139. package/lib/esm/types/src/types/privateMessage.d.ts +0 -109
  140. package/lib/esm/types/src/types/privateMessage.d.ts.map +0 -1
  141. package/lib/esm/types/src/types/prize.d.ts +0 -48
  142. package/lib/esm/types/src/types/prize.d.ts.map +0 -1
  143. package/lib/esm/types/src/types/tag.d.ts +0 -47
  144. package/lib/esm/types/src/types/tag.d.ts.map +0 -1
  145. package/lib/esm/types/src/types/user.d.ts +0 -231
  146. package/lib/esm/types/src/types/user.d.ts.map +0 -1
  147. package/lib/esm/types/src/types/webhook.d.ts +0 -91
  148. package/lib/esm/types/src/types/webhook.d.ts.map +0 -1
  149. package/lib/esm/utils/src/index.d.ts +0 -12
  150. package/lib/esm/utils/src/index.d.ts.map +0 -1
  151. package/lib/esm/utils/src/utils/browser.d.ts +0 -9
  152. package/lib/esm/utils/src/utils/browser.d.ts.map +0 -1
  153. package/lib/esm/utils/src/utils/logger.d.ts +0 -11
  154. package/lib/esm/utils/src/utils/logger.d.ts.map +0 -1
  155. package/lib/esm/utils/src/utils/object.d.ts +0 -13
  156. package/lib/esm/utils/src/utils/object.d.ts.map +0 -1
  157. package/lib/esm/utils/src/utils/string.d.ts +0 -43
  158. package/lib/esm/utils/src/utils/string.d.ts.map +0 -1
  159. package/lib/esm/utils/src/utils/url.d.ts +0 -33
  160. package/lib/esm/utils/src/utils/url.d.ts.map +0 -1
  161. package/lib/esm/utils/src/utils/websocket.d.ts +0 -177
  162. package/lib/esm/utils/src/utils/websocket.d.ts.map +0 -1
@@ -1,53 +0,0 @@
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
@@ -1 +0,0 @@
1
- {"version":3,"file":"customAdv.d.ts","sourceRoot":"","sources":["../../../../../../types/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,28 +0,0 @@
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
@@ -1 +0,0 @@
1
- {"version":3,"file":"customNotification.d.ts","sourceRoot":"","sources":["../../../../../../types/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,33 +0,0 @@
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
@@ -1 +0,0 @@
1
- {"version":3,"file":"embed.d.ts","sourceRoot":"","sources":["../../../../../../types/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,208 +0,0 @@
1
- import { SCUserType } from './user';
2
- import { SCCategoryType } from './category';
3
- import { SCContributionLocation } from './location';
4
- import { SCPollType } from './poll';
5
- import { SCMediaType } from './media';
6
- import { SCTagType } from './tag';
7
- /**
8
- * Typology of feed
9
- */
10
- export declare enum SCFeedTypologyType {
11
- HOME = "home",
12
- EXPLORE = "explore"
13
- }
14
- /**
15
- * Typology of feedObject
16
- */
17
- export declare enum SCFeedObjectTypologyType {
18
- DISCUSSION = "discussion",
19
- POST = "post",
20
- STATUS = "status"
21
- }
22
- /**
23
- * Interface SCFeedUnitType.
24
- * FeedUnit Schema.
25
- */
26
- export interface SCFeedUnitType {
27
- /**
28
- * The type of the object, can be discussion, post or status
29
- */
30
- type: SCFeedObjectTypologyType;
31
- /**
32
- * Discussion object
33
- */
34
- discussion?: SCFeedDiscussionType;
35
- /**
36
- * Post object
37
- */
38
- post?: SCFeedPostType;
39
- /**
40
- * Status object
41
- */
42
- status?: SCFeedStatusType;
43
- /**
44
- * Id of User that have seen this object
45
- */
46
- seen_by_id?: number[];
47
- /**
48
- * True if this object has the visibility boost
49
- */
50
- has_boost?: boolean;
51
- /**
52
- * List of feed activities. This field is returned only for relevance feed
53
- */
54
- activities?: SCFeedUnitActivityType[];
55
- }
56
- export declare enum SCFeedUnitActivityTypologyType {
57
- COMMENT = "comment",
58
- VOTE = "vote",
59
- POLLVOTE = "pollvote",
60
- FOLLOW = "follow"
61
- }
62
- /**
63
- * Interface SCFeedUnitActivityType.
64
- * FeedUnit Activity Schema.
65
- */
66
- export interface SCFeedUnitActivityType {
67
- /**
68
- * The type of the activity.
69
- */
70
- type: SCFeedUnitActivityTypologyType;
71
- /**
72
- * The comment if type == SCFeedUnitActivityTypologyType.COMMENT.
73
- */
74
- comment?: any;
75
- /**
76
- * The user involved.
77
- */
78
- author: SCUserType;
79
- /**
80
- * Time of activity
81
- */
82
- active_at: Date;
83
- /**
84
- * Id of Users that have seen this activity
85
- */
86
- seen_by_id?: number[];
87
- }
88
- /**
89
- * Interface SCFeedObjectType.
90
- * FeedObject Schema.
91
- * General object.
92
- */
93
- export interface SCFeedObjectType {
94
- /**
95
- * The ID of the post.
96
- */
97
- id: number;
98
- /**
99
- * List of categories.
100
- */
101
- categories?: SCCategoryType[];
102
- /**
103
- * List of medias
104
- */
105
- medias?: SCMediaType[];
106
- /**
107
- * Location (contribution geolocation)
108
- */
109
- location?: SCContributionLocation;
110
- /**
111
- * Author of the contribute
112
- */
113
- author?: SCUserType;
114
- /**
115
- * Last activity at
116
- */
117
- last_activity_at: Date;
118
- /**
119
- * Added at
120
- */
121
- added_at: Date;
122
- /**
123
- * Slug
124
- */
125
- slug: string;
126
- /**
127
- * Html
128
- */
129
- html: string;
130
- /**
131
- * Summary
132
- */
133
- summary: string;
134
- /**
135
- * True if the object is deleted
136
- */
137
- deleted: boolean;
138
- /**
139
- * True if the object is hidden
140
- */
141
- collapsed: boolean;
142
- /**
143
- * Number of comment
144
- */
145
- comment_count: number;
146
- /**
147
- * Number of internal share
148
- */
149
- share_count: number;
150
- /**
151
- * True if the logged user follow this object
152
- */
153
- followed?: boolean;
154
- /**
155
- * Number of votes
156
- */
157
- vote_count: number;
158
- /**
159
- * True if the logged user has already voted this object
160
- */
161
- voted?: boolean;
162
- /**
163
- * Number of flags
164
- */
165
- flag_count: number;
166
- /**
167
- * Tags adderssing
168
- */
169
- addressing: SCTagType[];
170
- /**
171
- * Type: discussion, post, status
172
- */
173
- type: SCFeedObjectTypologyType;
174
- /**
175
- * Suspended notification
176
- */
177
- suspended?: boolean;
178
- }
179
- /**
180
- * Interface SCFeedDiscussionType.
181
- * FeedDiscussion Schema.
182
- */
183
- export interface SCFeedDiscussionType extends SCFeedObjectType {
184
- /**
185
- * Title of the discussion
186
- */
187
- title: string;
188
- /**
189
- * Poll
190
- */
191
- poll?: SCPollType;
192
- }
193
- /**
194
- * Interface SCFeedPostType.
195
- * Post Schema.
196
- */
197
- export interface SCFeedPostType extends SCFeedObjectType {
198
- /**
199
- * Poll
200
- */
201
- poll?: SCPollType;
202
- }
203
- /**
204
- * Interface SCFeedStatusType.
205
- * Status Schema.
206
- */
207
- export declare type SCFeedStatusType = SCFeedObjectType;
208
- //# sourceMappingURL=feed.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"feed.d.ts","sourceRoot":"","sources":["../../../../../../types/src/types/feed.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,QAAQ,CAAC;AAClC,OAAO,EAAC,cAAc,EAAC,MAAM,YAAY,CAAC;AAC1C,OAAO,EAAC,sBAAsB,EAAC,MAAM,YAAY,CAAC;AAClD,OAAO,EAAC,UAAU,EAAC,MAAM,QAAQ,CAAC;AAClC,OAAO,EAAC,WAAW,EAAC,MAAM,SAAS,CAAC;AACpC,OAAO,EAAC,SAAS,EAAC,MAAM,OAAO,CAAC;AAEhC;;GAEG;AACH,oBAAY,kBAAkB;IAC5B,IAAI,SAAS;IACb,OAAO,YAAY;CACpB;AAED;;GAEG;AACH,oBAAY,wBAAwB;IAClC,UAAU,eAAe;IACzB,IAAI,SAAS;IACb,MAAM,WAAW;CAClB;AAED;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,IAAI,EAAE,wBAAwB,CAAC;IAE/B;;OAEG;IACH,UAAU,CAAC,EAAE,oBAAoB,CAAC;IAElC;;OAEG;IACH,IAAI,CAAC,EAAE,cAAc,CAAC;IAEtB;;OAEG;IACH,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAE1B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IAEtB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;OAEG;IACH,UAAU,CAAC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AAC;IAEhB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,EAAE,SAAS,EAAE,CAAC;IAExB;;OAEG;IACH,IAAI,EAAE,wBAAwB,CAAC;IAE/B;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED;;;GAGG;AACH,MAAM,WAAW,oBAAqB,SAAQ,gBAAgB;IAC5D;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC;CACnB;AAED;;;GAGG;AACH,MAAM,WAAW,cAAe,SAAQ,gBAAgB;IACtD;;OAEG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC;CACnB;AAED;;;GAGG;AACH,oBAAY,gBAAgB,GAAG,gBAAgB,CAAC"}
@@ -1,53 +0,0 @@
1
- import { SCUserType } from './user';
2
- import { SCCategoryType } from './category';
3
- /**
4
- * Interface SCIncubatorType.
5
- * Incubator Schema.
6
- */
7
- export interface SCIncubatorType {
8
- /**
9
- * The ID of the incubator.
10
- */
11
- id: number;
12
- /**
13
- * The name of the incubator.
14
- */
15
- name: string;
16
- /**
17
- * The slug of the incubator.
18
- */
19
- slug?: string;
20
- /**
21
- * The slogan of the incubator.
22
- */
23
- slogan?: string;
24
- /**
25
- * Incubator status
26
- */
27
- status: number;
28
- /**
29
- * Subscribers count
30
- */
31
- subscribers_count: number;
32
- /**
33
- * Subscribers threshold
34
- */
35
- subscribers_threshold: number;
36
- /**
37
- * User who proposed the incubator
38
- */
39
- user: SCUserType;
40
- /**
41
- * Approved incubator
42
- */
43
- approved_category?: SCCategoryType;
44
- /**
45
- * Added at
46
- */
47
- added_at: Date;
48
- /**
49
- * If the logged user has subscribed to the incubator
50
- */
51
- subscribed: boolean;
52
- }
53
- //# sourceMappingURL=incubator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"incubator.d.ts","sourceRoot":"","sources":["../../../../../../types/src/types/incubator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,QAAQ,CAAC;AAClC,OAAO,EAAC,cAAc,EAAC,MAAM,YAAY,CAAC;AAE1C;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAE9B;;OAEG;IACH,IAAI,EAAE,UAAU,CAAC;IAEjB;;OAEG;IACH,iBAAiB,CAAC,EAAE,cAAc,CAAC;IAEnC;;OAEG;IACH,QAAQ,EAAE,IAAI,CAAC;IACf;;OAEG;IACH,UAAU,EAAE,OAAO,CAAC;CACrB"}
@@ -1,23 +0,0 @@
1
- import { SCAuthTokenType } from './auth';
2
- import { SCBannerType, SCBroadcastMessageBannerType, SCBroadcastMessageType } from './broadcastMessage';
3
- import { SCCustomAdvPosition, SCCustomAdvType } from './customAdv';
4
- import { SCUserType, SCUserBlockedSettingsType, SCUserFields, SCUserSettingsType, SCUserStatus } from './user';
5
- import { SCTagType } from './tag';
6
- import { SCCategoryType } from './category';
7
- import { SCEmbedType } from './embed';
8
- import { SCMediaType } from './media';
9
- import { SCContributionLocation, SCLocalityType } from './location';
10
- import { SCPollChoiceType, SCPollType } from './poll';
11
- import { SCCommentType, SCCommentTypologyType, SCCommentsOrderBy } from './comment';
12
- import { SCPrivateMessageType, SCPrivateMessageStatusType, SCPrivateMessageFileType, SCMessageFileType } from './privateMessage';
13
- import { SCIncubatorType } from './incubator';
14
- import { SCCustomNotificationType } from './customNotification';
15
- import { SCPrizeType } from './prize';
16
- import { SCFeedUnitType, SCFeedUnitActivityType, SCFeedObjectType, SCFeedPostType, SCFeedDiscussionType, SCFeedStatusType, SCFeedObjectTypologyType, SCFeedUnitActivityTypologyType, SCFeedTypologyType } from './feed';
17
- import { SCNotificationTypologyType, SCNotificationAggregatedType, SCNotificationCommentType, SCNotificationConnectionAcceptType, SCNotificationConnectionRequestType, SCNotificationPrivateMessageType, SCNotificationMentionType, SCNotificationType, SCNotificationBlockedUserType, SCNotificationCollapsedForType, SCNotificationCustomNotificationType, SCNotificationDeletedForType, SCNotificationFollowType, SCNotificationKindlyNoticeType, SCNotificationUnBlockedUserType, SCNotificationUnDeletedForType, SCNotificationUserFollowType, SCNotificationVoteUpType, SCNotificationIncubatorType, SCNotificationTopicType } from './notification';
18
- import { SCWebhookEndpointType, SCWebhookEndpointAttemptType, SCWebhookEndpointSecretType, SCWebhookEventsType } from './webhook';
19
- /**
20
- * Exports all types
21
- */
22
- export { SCBannerType, SCBroadcastMessageBannerType, SCBroadcastMessageType, SCAuthTokenType, SCUserFields, SCUserType, SCUserSettingsType, SCUserStatus, SCUserBlockedSettingsType, SCTagType, SCCategoryType, SCCustomAdvPosition, SCCustomAdvType, SCEmbedType, SCMediaType, SCContributionLocation, SCLocalityType, SCPollChoiceType, SCPollType, SCFeedUnitType, SCFeedUnitActivityType, SCFeedObjectType, SCFeedPostType, SCFeedDiscussionType, SCFeedStatusType, SCFeedObjectTypologyType, SCFeedUnitActivityTypologyType, SCFeedTypologyType, SCCommentTypologyType, SCCommentsOrderBy, SCCommentType, SCPrivateMessageType, SCPrivateMessageStatusType, SCPrivateMessageFileType, SCMessageFileType, SCNotificationTypologyType, SCNotificationAggregatedType, SCNotificationCommentType, SCNotificationConnectionAcceptType, SCNotificationConnectionRequestType, SCNotificationPrivateMessageType, SCNotificationMentionType, SCNotificationType, SCNotificationBlockedUserType, SCNotificationCollapsedForType, SCNotificationCustomNotificationType, SCNotificationDeletedForType, SCNotificationFollowType, SCNotificationKindlyNoticeType, SCNotificationUnBlockedUserType, SCNotificationUnDeletedForType, SCNotificationUserFollowType, SCNotificationVoteUpType, SCCustomNotificationType, SCNotificationTopicType, SCIncubatorType, SCNotificationIncubatorType, SCPrizeType, SCWebhookEndpointType, SCWebhookEndpointAttemptType, SCWebhookEndpointSecretType, SCWebhookEventsType };
23
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../types/src/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,QAAQ,CAAC;AACvC,OAAO,EAAC,YAAY,EAAE,4BAA4B,EAAE,sBAAsB,EAAC,MAAM,oBAAoB,CAAC;AACtG,OAAO,EAAC,mBAAmB,EAAE,eAAe,EAAC,MAAM,aAAa,CAAC;AACjE,OAAO,EAAC,UAAU,EAAE,yBAAyB,EAAE,YAAY,EAAE,kBAAkB,EAAE,YAAY,EAAC,MAAM,QAAQ,CAAC;AAC7G,OAAO,EAAC,SAAS,EAAC,MAAM,OAAO,CAAC;AAChC,OAAO,EAAC,cAAc,EAAC,MAAM,YAAY,CAAC;AAC1C,OAAO,EAAC,WAAW,EAAC,MAAM,SAAS,CAAC;AACpC,OAAO,EAAC,WAAW,EAAC,MAAM,SAAS,CAAC;AACpC,OAAO,EAAC,sBAAsB,EAAE,cAAc,EAAC,MAAM,YAAY,CAAC;AAClE,OAAO,EAAC,gBAAgB,EAAE,UAAU,EAAC,MAAM,QAAQ,CAAC;AACpD,OAAO,EAAC,aAAa,EAAE,qBAAqB,EAAE,iBAAiB,EAAC,MAAM,WAAW,CAAC;AAClF,OAAO,EAAC,oBAAoB,EAAE,0BAA0B,EAAE,wBAAwB,EAAE,iBAAiB,EAAC,MAAM,kBAAkB,CAAC;AAC/H,OAAO,EAAC,eAAe,EAAC,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAC,wBAAwB,EAAC,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAAC,WAAW,EAAC,MAAM,SAA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C9B,oCAAoC,EACpC,4BAA4B,EAC5B,wBAAwB,EACxB,8BAA8B,EAC9B,+BAA+B,EAC/B,8BAA8B,EAC9B,4BAA4B,EAC5B,wBAAwB,EACxB,wBAAwB,EACxB,uBAAuB,EACvB,eAAe,EACf,2BAA2B,EAC3B,WAAW,EACX,qBAAqB,EACrB,4BAA4B,EAC5B,2BAA2B,EAC3B,mBAAmB,EACpB,CAAC"}
@@ -1,61 +0,0 @@
1
- /**
2
- * Interface SCContributionLocation.
3
- * Location Schema.
4
- */
5
- export interface SCContributionLocation {
6
- /**
7
- * location
8
- */
9
- location: string;
10
- /**
11
- * Latitude
12
- */
13
- lat?: number;
14
- /**
15
- * Longitude
16
- */
17
- lon?: number;
18
- }
19
- /**
20
- * Interface SCLocalityType.
21
- * Locality Schema.
22
- */
23
- export interface SCLocalityType {
24
- /**
25
- * full_address
26
- */
27
- full_address: string;
28
- /**
29
- * country
30
- */
31
- country: string;
32
- /**
33
- * Latitude
34
- */
35
- lat: number;
36
- /**
37
- * Longitude
38
- */
39
- lng: number;
40
- /**
41
- * postal_code
42
- */
43
- postal_code: string;
44
- /**
45
- * province
46
- */
47
- province: string;
48
- /**
49
- * province_short
50
- */
51
- province_short: string;
52
- /**
53
- * region
54
- */
55
- region?: string;
56
- /**
57
- * town
58
- */
59
- town: string;
60
- }
61
- //# sourceMappingURL=location.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"location.d.ts","sourceRoot":"","sources":["../../../../../../types/src/types/location.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd"}
@@ -1,52 +0,0 @@
1
- import { SCEmbedType } from './embed';
2
- /**
3
- * Interface SCMediaType.
4
- * Media Schema.
5
- */
6
- export interface SCMediaType {
7
- /**
8
- * Id of the media
9
- */
10
- id: number;
11
- /**
12
- * Added at
13
- */
14
- added_at: Date;
15
- /**
16
- * Media type
17
- */
18
- type: string;
19
- /**
20
- * Title
21
- */
22
- title?: string;
23
- /**
24
- * Title
25
- */
26
- description?: string;
27
- /**
28
- * Media Url
29
- */
30
- url?: string;
31
- /**
32
- * Media image
33
- */
34
- image?: string;
35
- /**
36
- * Media image width
37
- */
38
- image_width?: number;
39
- /**
40
- * Media image height
41
- */
42
- image_height?: number;
43
- /**
44
- * Order in the list of medias
45
- */
46
- order?: number;
47
- /**
48
- * Embed associated
49
- */
50
- embed?: SCEmbedType;
51
- }
52
- //# sourceMappingURL=media.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"media.d.ts","sourceRoot":"","sources":["../../../../../../types/src/types/media.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,SAAS,CAAC;AAEpC;;;GAGG;AACH,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,QAAQ,EAAE,IAAI,CAAC;IAEf;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,KAAK,CAAC,EAAE,WAAW,CAAC;CACrB"}