@selfcommunity/types 0.5.0-alpha.8 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.d.ts +8 -4
- package/lib/cjs/index.js +21 -21
- package/lib/cjs/types/auth.d.ts +0 -1
- package/lib/cjs/types/auth.js +0 -1
- package/lib/cjs/types/avatar.d.ts +0 -1
- package/lib/cjs/types/avatar.js +0 -1
- package/lib/cjs/types/broadcastMessage.d.ts +0 -1
- package/lib/cjs/types/broadcastMessage.js +0 -1
- package/lib/cjs/types/category.d.ts +0 -1
- package/lib/cjs/types/category.js +0 -1
- package/lib/cjs/types/comment.d.ts +8 -1
- package/lib/cjs/types/comment.js +0 -1
- package/lib/cjs/types/contribution.d.ts +0 -1
- package/lib/cjs/types/contribution.js +0 -1
- package/lib/cjs/types/customAdv.d.ts +0 -1
- package/lib/cjs/types/customAdv.js +0 -1
- package/lib/cjs/types/customMenu.d.ts +0 -1
- package/lib/cjs/types/customMenu.js +0 -1
- package/lib/cjs/types/customNotification.d.ts +0 -1
- package/lib/cjs/types/customNotification.js +0 -1
- package/lib/cjs/types/customPage.d.ts +0 -1
- package/lib/cjs/types/customPage.js +0 -1
- package/lib/cjs/types/dataPortability.d.ts +0 -1
- package/lib/cjs/types/dataPortability.js +0 -1
- package/lib/cjs/types/device.d.ts +0 -1
- package/lib/cjs/types/device.js +0 -1
- package/lib/cjs/types/embed.d.ts +1 -2
- package/lib/cjs/types/embed.js +0 -1
- package/lib/cjs/types/feature.d.ts +0 -1
- package/lib/cjs/types/feature.js +0 -1
- package/lib/cjs/types/feed.d.ts +17 -2
- package/lib/cjs/types/feed.js +0 -1
- package/lib/cjs/types/flag.d.ts +0 -1
- package/lib/cjs/types/flag.js +0 -1
- package/lib/cjs/types/friendship.d.ts +0 -1
- package/lib/cjs/types/friendship.js +0 -1
- package/lib/cjs/types/incubator.d.ts +0 -1
- package/lib/cjs/types/incubator.js +0 -1
- package/lib/cjs/types/index.d.ts +39 -39
- package/lib/cjs/types/index.js +3 -3
- package/lib/cjs/types/insight.d.ts +0 -1
- package/lib/cjs/types/insight.js +0 -1
- package/lib/cjs/types/invite.d.ts +0 -1
- package/lib/cjs/types/invite.js +0 -1
- package/lib/cjs/types/legalPage.d.ts +0 -1
- package/lib/cjs/types/legalPage.js +0 -1
- package/lib/cjs/types/locale.d.ts +7 -0
- package/lib/cjs/types/locale.js +11 -0
- package/lib/cjs/types/location.d.ts +1 -2
- package/lib/cjs/types/location.js +0 -1
- package/lib/cjs/types/media.d.ts +9 -1
- package/lib/cjs/types/media.js +0 -1
- package/lib/cjs/types/metadata.d.ts +0 -1
- package/lib/cjs/types/metadata.js +0 -1
- package/lib/cjs/types/notification.d.ts +0 -1
- package/lib/cjs/types/notification.js +0 -1
- package/lib/cjs/types/platform.d.ts +0 -1
- package/lib/cjs/types/platform.js +0 -1
- package/lib/cjs/types/poll.d.ts +0 -1
- package/lib/cjs/types/poll.js +0 -1
- package/lib/cjs/types/preference.d.ts +0 -1
- package/lib/cjs/types/preference.js +0 -1
- package/lib/cjs/types/privateMessage.d.ts +2 -2
- package/lib/cjs/types/privateMessage.js +1 -1
- package/lib/cjs/types/prize.d.ts +0 -1
- package/lib/cjs/types/prize.js +0 -1
- package/lib/cjs/types/promo.d.ts +0 -1
- package/lib/cjs/types/promo.js +0 -1
- package/lib/cjs/types/reaction.d.ts +0 -1
- package/lib/cjs/types/reaction.js +0 -1
- package/lib/cjs/types/sso.d.ts +0 -1
- package/lib/cjs/types/sso.js +0 -1
- package/lib/cjs/types/suggestion.d.ts +0 -1
- package/lib/cjs/types/suggestion.js +0 -1
- package/lib/cjs/types/tag.d.ts +0 -1
- package/lib/cjs/types/tag.js +0 -1
- package/lib/cjs/types/user.d.ts +15 -3
- package/lib/cjs/types/user.js +0 -1
- package/lib/cjs/types/vote.d.ts +0 -1
- package/lib/cjs/types/vote.js +0 -1
- package/lib/cjs/types/webhook.d.ts +0 -1
- package/lib/cjs/types/webhook.js +0 -1
- package/lib/esm/index.d.ts +8 -4
- package/lib/esm/index.js +4 -5
- package/lib/esm/types/auth.d.ts +0 -1
- package/lib/esm/types/auth.js +0 -1
- package/lib/esm/types/avatar.d.ts +0 -1
- package/lib/esm/types/avatar.js +0 -1
- package/lib/esm/types/broadcastMessage.d.ts +0 -1
- package/lib/esm/types/broadcastMessage.js +0 -1
- package/lib/esm/types/category.d.ts +0 -1
- package/lib/esm/types/category.js +0 -1
- package/lib/esm/types/comment.d.ts +8 -1
- package/lib/esm/types/comment.js +0 -1
- package/lib/esm/types/contribution.d.ts +0 -1
- package/lib/esm/types/contribution.js +0 -1
- package/lib/esm/types/customAdv.d.ts +0 -1
- package/lib/esm/types/customAdv.js +0 -1
- package/lib/esm/types/customMenu.d.ts +0 -1
- package/lib/esm/types/customMenu.js +0 -1
- package/lib/esm/types/customNotification.d.ts +0 -1
- package/lib/esm/types/customNotification.js +0 -1
- package/lib/esm/types/customPage.d.ts +0 -1
- package/lib/esm/types/customPage.js +0 -1
- package/lib/esm/types/dataPortability.d.ts +0 -1
- package/lib/esm/types/dataPortability.js +0 -1
- package/lib/esm/types/device.d.ts +0 -1
- package/lib/esm/types/device.js +0 -1
- package/lib/esm/types/embed.d.ts +1 -2
- package/lib/esm/types/embed.js +0 -1
- package/lib/esm/types/feature.d.ts +0 -1
- package/lib/esm/types/feature.js +0 -1
- package/lib/esm/types/feed.d.ts +17 -2
- package/lib/esm/types/feed.js +0 -1
- package/lib/esm/types/flag.d.ts +0 -1
- package/lib/esm/types/flag.js +0 -1
- package/lib/esm/types/friendship.d.ts +0 -1
- package/lib/esm/types/friendship.js +0 -1
- package/lib/esm/types/incubator.d.ts +0 -1
- package/lib/esm/types/incubator.js +0 -1
- package/lib/esm/types/index.d.ts +39 -39
- package/lib/esm/types/index.js +3 -3
- package/lib/esm/types/insight.d.ts +0 -1
- package/lib/esm/types/insight.js +0 -1
- package/lib/esm/types/invite.d.ts +0 -1
- package/lib/esm/types/invite.js +0 -1
- package/lib/esm/types/legalPage.d.ts +0 -1
- package/lib/esm/types/legalPage.js +0 -1
- package/lib/esm/types/locale.d.ts +7 -0
- package/lib/esm/types/locale.js +8 -0
- package/lib/esm/types/location.d.ts +1 -2
- package/lib/esm/types/location.js +0 -1
- package/lib/esm/types/media.d.ts +9 -1
- package/lib/esm/types/media.js +0 -1
- package/lib/esm/types/metadata.d.ts +0 -1
- package/lib/esm/types/metadata.js +0 -1
- package/lib/esm/types/notification.d.ts +0 -1
- package/lib/esm/types/notification.js +0 -1
- package/lib/esm/types/platform.d.ts +0 -1
- package/lib/esm/types/platform.js +0 -1
- package/lib/esm/types/poll.d.ts +0 -1
- package/lib/esm/types/poll.js +0 -1
- package/lib/esm/types/preference.d.ts +0 -1
- package/lib/esm/types/preference.js +0 -1
- package/lib/esm/types/privateMessage.d.ts +2 -2
- package/lib/esm/types/privateMessage.js +1 -1
- package/lib/esm/types/prize.d.ts +0 -1
- package/lib/esm/types/prize.js +0 -1
- package/lib/esm/types/promo.d.ts +0 -1
- package/lib/esm/types/promo.js +0 -1
- package/lib/esm/types/reaction.d.ts +0 -1
- package/lib/esm/types/reaction.js +0 -1
- package/lib/esm/types/sso.d.ts +0 -1
- package/lib/esm/types/sso.js +0 -1
- package/lib/esm/types/suggestion.d.ts +0 -1
- package/lib/esm/types/suggestion.js +0 -1
- package/lib/esm/types/tag.d.ts +0 -1
- package/lib/esm/types/tag.js +0 -1
- package/lib/esm/types/user.d.ts +15 -3
- package/lib/esm/types/user.js +0 -1
- package/lib/esm/types/vote.d.ts +0 -1
- package/lib/esm/types/vote.js +0 -1
- package/lib/esm/types/webhook.d.ts +0 -1
- package/lib/esm/types/webhook.js +0 -1
- package/lib/umd/types.js +1 -2
- package/lib/umd/types.js.LICENSE.txt +1 -1
- package/package.json +16 -15
- package/lib/cjs/index.d.ts.map +0 -1
- package/lib/cjs/index.js.map +0 -1
- package/lib/cjs/types/auth.d.ts.map +0 -1
- package/lib/cjs/types/auth.js.map +0 -1
- package/lib/cjs/types/avatar.d.ts.map +0 -1
- package/lib/cjs/types/avatar.js.map +0 -1
- package/lib/cjs/types/broadcastMessage.d.ts.map +0 -1
- package/lib/cjs/types/broadcastMessage.js.map +0 -1
- package/lib/cjs/types/category.d.ts.map +0 -1
- package/lib/cjs/types/category.js.map +0 -1
- package/lib/cjs/types/comment.d.ts.map +0 -1
- package/lib/cjs/types/comment.js.map +0 -1
- package/lib/cjs/types/contribution.d.ts.map +0 -1
- package/lib/cjs/types/contribution.js.map +0 -1
- package/lib/cjs/types/customAdv.d.ts.map +0 -1
- package/lib/cjs/types/customAdv.js.map +0 -1
- package/lib/cjs/types/customMenu.d.ts.map +0 -1
- package/lib/cjs/types/customMenu.js.map +0 -1
- package/lib/cjs/types/customNotification.d.ts.map +0 -1
- package/lib/cjs/types/customNotification.js.map +0 -1
- package/lib/cjs/types/customPage.d.ts.map +0 -1
- package/lib/cjs/types/customPage.js.map +0 -1
- package/lib/cjs/types/dataPortability.d.ts.map +0 -1
- package/lib/cjs/types/dataPortability.js.map +0 -1
- package/lib/cjs/types/device.d.ts.map +0 -1
- package/lib/cjs/types/device.js.map +0 -1
- package/lib/cjs/types/embed.d.ts.map +0 -1
- package/lib/cjs/types/embed.js.map +0 -1
- package/lib/cjs/types/feature.d.ts.map +0 -1
- package/lib/cjs/types/feature.js.map +0 -1
- package/lib/cjs/types/feed.d.ts.map +0 -1
- package/lib/cjs/types/feed.js.map +0 -1
- package/lib/cjs/types/flag.d.ts.map +0 -1
- package/lib/cjs/types/flag.js.map +0 -1
- package/lib/cjs/types/friendship.d.ts.map +0 -1
- package/lib/cjs/types/friendship.js.map +0 -1
- package/lib/cjs/types/incubator.d.ts.map +0 -1
- package/lib/cjs/types/incubator.js.map +0 -1
- package/lib/cjs/types/index.d.ts.map +0 -1
- package/lib/cjs/types/index.js.map +0 -1
- package/lib/cjs/types/insight.d.ts.map +0 -1
- package/lib/cjs/types/insight.js.map +0 -1
- package/lib/cjs/types/invite.d.ts.map +0 -1
- package/lib/cjs/types/invite.js.map +0 -1
- package/lib/cjs/types/legalPage.d.ts.map +0 -1
- package/lib/cjs/types/legalPage.js.map +0 -1
- package/lib/cjs/types/location.d.ts.map +0 -1
- package/lib/cjs/types/location.js.map +0 -1
- package/lib/cjs/types/media.d.ts.map +0 -1
- package/lib/cjs/types/media.js.map +0 -1
- package/lib/cjs/types/metadata.d.ts.map +0 -1
- package/lib/cjs/types/metadata.js.map +0 -1
- package/lib/cjs/types/notification.d.ts.map +0 -1
- package/lib/cjs/types/notification.js.map +0 -1
- package/lib/cjs/types/platform.d.ts.map +0 -1
- package/lib/cjs/types/platform.js.map +0 -1
- package/lib/cjs/types/poll.d.ts.map +0 -1
- package/lib/cjs/types/poll.js.map +0 -1
- package/lib/cjs/types/preference.d.ts.map +0 -1
- package/lib/cjs/types/preference.js.map +0 -1
- package/lib/cjs/types/privateMessage.d.ts.map +0 -1
- package/lib/cjs/types/privateMessage.js.map +0 -1
- package/lib/cjs/types/prize.d.ts.map +0 -1
- package/lib/cjs/types/prize.js.map +0 -1
- package/lib/cjs/types/promo.d.ts.map +0 -1
- package/lib/cjs/types/promo.js.map +0 -1
- package/lib/cjs/types/reaction.d.ts.map +0 -1
- package/lib/cjs/types/reaction.js.map +0 -1
- package/lib/cjs/types/sso.d.ts.map +0 -1
- package/lib/cjs/types/sso.js.map +0 -1
- package/lib/cjs/types/suggestion.d.ts.map +0 -1
- package/lib/cjs/types/suggestion.js.map +0 -1
- package/lib/cjs/types/tag.d.ts.map +0 -1
- package/lib/cjs/types/tag.js.map +0 -1
- package/lib/cjs/types/user.d.ts.map +0 -1
- package/lib/cjs/types/user.js.map +0 -1
- package/lib/cjs/types/vote.d.ts.map +0 -1
- package/lib/cjs/types/vote.js.map +0 -1
- package/lib/cjs/types/webhook.d.ts.map +0 -1
- package/lib/cjs/types/webhook.js.map +0 -1
- package/lib/esm/index.d.ts.map +0 -1
- package/lib/esm/index.js.map +0 -1
- package/lib/esm/types/auth.d.ts.map +0 -1
- package/lib/esm/types/auth.js.map +0 -1
- package/lib/esm/types/avatar.d.ts.map +0 -1
- package/lib/esm/types/avatar.js.map +0 -1
- package/lib/esm/types/broadcastMessage.d.ts.map +0 -1
- package/lib/esm/types/broadcastMessage.js.map +0 -1
- package/lib/esm/types/category.d.ts.map +0 -1
- package/lib/esm/types/category.js.map +0 -1
- package/lib/esm/types/comment.d.ts.map +0 -1
- package/lib/esm/types/comment.js.map +0 -1
- package/lib/esm/types/contribution.d.ts.map +0 -1
- package/lib/esm/types/contribution.js.map +0 -1
- package/lib/esm/types/customAdv.d.ts.map +0 -1
- package/lib/esm/types/customAdv.js.map +0 -1
- package/lib/esm/types/customMenu.d.ts.map +0 -1
- package/lib/esm/types/customMenu.js.map +0 -1
- package/lib/esm/types/customNotification.d.ts.map +0 -1
- package/lib/esm/types/customNotification.js.map +0 -1
- package/lib/esm/types/customPage.d.ts.map +0 -1
- package/lib/esm/types/customPage.js.map +0 -1
- package/lib/esm/types/dataPortability.d.ts.map +0 -1
- package/lib/esm/types/dataPortability.js.map +0 -1
- package/lib/esm/types/device.d.ts.map +0 -1
- package/lib/esm/types/device.js.map +0 -1
- package/lib/esm/types/embed.d.ts.map +0 -1
- package/lib/esm/types/embed.js.map +0 -1
- package/lib/esm/types/feature.d.ts.map +0 -1
- package/lib/esm/types/feature.js.map +0 -1
- package/lib/esm/types/feed.d.ts.map +0 -1
- package/lib/esm/types/feed.js.map +0 -1
- package/lib/esm/types/flag.d.ts.map +0 -1
- package/lib/esm/types/flag.js.map +0 -1
- package/lib/esm/types/friendship.d.ts.map +0 -1
- package/lib/esm/types/friendship.js.map +0 -1
- package/lib/esm/types/incubator.d.ts.map +0 -1
- package/lib/esm/types/incubator.js.map +0 -1
- package/lib/esm/types/index.d.ts.map +0 -1
- package/lib/esm/types/index.js.map +0 -1
- package/lib/esm/types/insight.d.ts.map +0 -1
- package/lib/esm/types/insight.js.map +0 -1
- package/lib/esm/types/invite.d.ts.map +0 -1
- package/lib/esm/types/invite.js.map +0 -1
- package/lib/esm/types/legalPage.d.ts.map +0 -1
- package/lib/esm/types/legalPage.js.map +0 -1
- package/lib/esm/types/location.d.ts.map +0 -1
- package/lib/esm/types/location.js.map +0 -1
- package/lib/esm/types/media.d.ts.map +0 -1
- package/lib/esm/types/media.js.map +0 -1
- package/lib/esm/types/metadata.d.ts.map +0 -1
- package/lib/esm/types/metadata.js.map +0 -1
- package/lib/esm/types/notification.d.ts.map +0 -1
- package/lib/esm/types/notification.js.map +0 -1
- package/lib/esm/types/platform.d.ts.map +0 -1
- package/lib/esm/types/platform.js.map +0 -1
- package/lib/esm/types/poll.d.ts.map +0 -1
- package/lib/esm/types/poll.js.map +0 -1
- package/lib/esm/types/preference.d.ts.map +0 -1
- package/lib/esm/types/preference.js.map +0 -1
- package/lib/esm/types/privateMessage.d.ts.map +0 -1
- package/lib/esm/types/privateMessage.js.map +0 -1
- package/lib/esm/types/prize.d.ts.map +0 -1
- package/lib/esm/types/prize.js.map +0 -1
- package/lib/esm/types/promo.d.ts.map +0 -1
- package/lib/esm/types/promo.js.map +0 -1
- package/lib/esm/types/reaction.d.ts.map +0 -1
- package/lib/esm/types/reaction.js.map +0 -1
- package/lib/esm/types/sso.d.ts.map +0 -1
- package/lib/esm/types/sso.js.map +0 -1
- package/lib/esm/types/suggestion.d.ts.map +0 -1
- package/lib/esm/types/suggestion.js.map +0 -1
- package/lib/esm/types/tag.d.ts.map +0 -1
- package/lib/esm/types/tag.js.map +0 -1
- package/lib/esm/types/user.d.ts.map +0 -1
- package/lib/esm/types/user.js.map +0 -1
- package/lib/esm/types/vote.d.ts.map +0 -1
- package/lib/esm/types/vote.js.map +0 -1
- package/lib/esm/types/webhook.d.ts.map +0 -1
- package/lib/esm/types/webhook.js.map +0 -1
- package/lib/umd/types.js.map +0 -1
|
@@ -14,7 +14,7 @@ export interface SCContributionLocation {
|
|
|
14
14
|
/**
|
|
15
15
|
* Longitude
|
|
16
16
|
*/
|
|
17
|
-
|
|
17
|
+
lng?: number;
|
|
18
18
|
}
|
|
19
19
|
/**
|
|
20
20
|
* Interface SCLocalityType.
|
|
@@ -58,4 +58,3 @@ export interface SCLocalityType {
|
|
|
58
58
|
*/
|
|
59
59
|
town: string;
|
|
60
60
|
}
|
|
61
|
-
//# sourceMappingURL=location.d.ts.map
|
package/lib/cjs/types/media.d.ts
CHANGED
|
@@ -40,6 +40,15 @@ export interface SCMediaType {
|
|
|
40
40
|
* Media image height
|
|
41
41
|
*/
|
|
42
42
|
image_height?: number;
|
|
43
|
+
/**
|
|
44
|
+
* Media image thumbnail
|
|
45
|
+
*/
|
|
46
|
+
image_thumbnail?: {
|
|
47
|
+
color?: string | null;
|
|
48
|
+
width: number;
|
|
49
|
+
height: number;
|
|
50
|
+
url: string;
|
|
51
|
+
};
|
|
43
52
|
/**
|
|
44
53
|
* Order in the list of medias
|
|
45
54
|
*/
|
|
@@ -66,4 +75,3 @@ export interface SCChunkMediaType {
|
|
|
66
75
|
*/
|
|
67
76
|
expires: string;
|
|
68
77
|
}
|
|
69
|
-
//# sourceMappingURL=media.d.ts.map
|
package/lib/cjs/types/media.js
CHANGED
|
@@ -13,4 +13,3 @@ var SCMetadataTypeFieldType;
|
|
|
13
13
|
SCMetadataTypeFieldType["PHONE_NUMBER"] = "phone_number";
|
|
14
14
|
SCMetadataTypeFieldType["CHECKBOX"] = "checkbox";
|
|
15
15
|
})(SCMetadataTypeFieldType = exports.SCMetadataTypeFieldType || (exports.SCMetadataTypeFieldType = {}));
|
|
16
|
-
//# sourceMappingURL=metadata.js.map
|
|
@@ -54,4 +54,3 @@ var SCNotificationTopicType;
|
|
|
54
54
|
SCNotificationTopicType["INTERACTION"] = "interaction";
|
|
55
55
|
SCNotificationTopicType["NEWS"] = "news";
|
|
56
56
|
})(SCNotificationTopicType = exports.SCNotificationTopicType || (exports.SCNotificationTopicType = {}));
|
|
57
|
-
//# sourceMappingURL=notification.js.map
|
package/lib/cjs/types/poll.d.ts
CHANGED
package/lib/cjs/types/poll.js
CHANGED
|
@@ -131,4 +131,3 @@ var SCPreferenceName;
|
|
|
131
131
|
SCPreferenceName["META_TITLE_HOME_NOT_LOGGED"] = "meta_title_home_not_logged";
|
|
132
132
|
SCPreferenceName["META_DESCRIPTION"] = "meta_description";
|
|
133
133
|
})(SCPreferenceName = exports.SCPreferenceName || (exports.SCPreferenceName = {}));
|
|
134
|
-
//# sourceMappingURL=preference.js.map
|
|
@@ -127,7 +127,8 @@ export declare enum SCMessageFileType {
|
|
|
127
127
|
DOCUMENT = "application/",
|
|
128
128
|
IMAGE = "image/",
|
|
129
129
|
VIDEO = "video/",
|
|
130
|
-
PDF = "application/pdf"
|
|
130
|
+
PDF = "application/pdf",
|
|
131
|
+
AUDIO = "audio/"
|
|
131
132
|
}
|
|
132
133
|
/**
|
|
133
134
|
* SCPrivateMessageUploadMediaType interface
|
|
@@ -150,4 +151,3 @@ export interface SCPrivateMessageUploadThumbnailType {
|
|
|
150
151
|
export interface SCPrivateMessageUploadMediaChunkType {
|
|
151
152
|
file_uuid: string;
|
|
152
153
|
}
|
|
153
|
-
//# sourceMappingURL=privateMessage.d.ts.map
|
|
@@ -22,5 +22,5 @@ var SCMessageFileType;
|
|
|
22
22
|
SCMessageFileType["IMAGE"] = "image/";
|
|
23
23
|
SCMessageFileType["VIDEO"] = "video/";
|
|
24
24
|
SCMessageFileType["PDF"] = "application/pdf";
|
|
25
|
+
SCMessageFileType["AUDIO"] = "audio/";
|
|
25
26
|
})(SCMessageFileType = exports.SCMessageFileType || (exports.SCMessageFileType = {}));
|
|
26
|
-
//# sourceMappingURL=privateMessage.js.map
|
package/lib/cjs/types/prize.d.ts
CHANGED
package/lib/cjs/types/prize.js
CHANGED
|
@@ -7,4 +7,3 @@ var SCPrizeUserStatusType;
|
|
|
7
7
|
SCPrizeUserStatusType[SCPrizeUserStatusType["REFUSED"] = 1] = "REFUSED";
|
|
8
8
|
SCPrizeUserStatusType[SCPrizeUserStatusType["SENT"] = 2] = "SENT";
|
|
9
9
|
})(SCPrizeUserStatusType = exports.SCPrizeUserStatusType || (exports.SCPrizeUserStatusType = {}));
|
|
10
|
-
//# sourceMappingURL=prize.js.map
|
package/lib/cjs/types/promo.d.ts
CHANGED
package/lib/cjs/types/promo.js
CHANGED
package/lib/cjs/types/sso.d.ts
CHANGED
package/lib/cjs/types/sso.js
CHANGED
package/lib/cjs/types/tag.d.ts
CHANGED
package/lib/cjs/types/tag.js
CHANGED
package/lib/cjs/types/user.d.ts
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* User Schema.
|
|
4
4
|
*/
|
|
5
5
|
import { SCTagType } from './tag';
|
|
6
|
+
import { SCLanguageType } from './locale';
|
|
6
7
|
/**
|
|
7
8
|
* User status
|
|
8
9
|
*/
|
|
@@ -69,6 +70,10 @@ export interface SCUserType {
|
|
|
69
70
|
* Gender of the user. Values: Male, Female, Unspecified. Default: Unspecified.
|
|
70
71
|
*/
|
|
71
72
|
gender: string;
|
|
73
|
+
/**
|
|
74
|
+
* User language
|
|
75
|
+
*/
|
|
76
|
+
language?: SCLanguageType;
|
|
72
77
|
/**
|
|
73
78
|
* User status. Values: a (approved), b (blocked), d (deleted; soft deleted), u (unregistered). Default: a.
|
|
74
79
|
* A blocked user can't:
|
|
@@ -86,7 +91,7 @@ export interface SCUserType {
|
|
|
86
91
|
* - follow/unfollow a category
|
|
87
92
|
* - unfollow user
|
|
88
93
|
*/
|
|
89
|
-
status
|
|
94
|
+
status?: string;
|
|
90
95
|
/**
|
|
91
96
|
* User website.
|
|
92
97
|
*/
|
|
@@ -166,7 +171,7 @@ export interface SCUserType {
|
|
|
166
171
|
/**
|
|
167
172
|
* User role
|
|
168
173
|
*/
|
|
169
|
-
role
|
|
174
|
+
role?: string;
|
|
170
175
|
/**
|
|
171
176
|
* interactions counter
|
|
172
177
|
*/
|
|
@@ -183,6 +188,14 @@ export interface SCUserType {
|
|
|
183
188
|
* Datetime of the account deletion
|
|
184
189
|
*/
|
|
185
190
|
deleted_at?: Date;
|
|
191
|
+
/**
|
|
192
|
+
* If the logged user is able to send a private message to the requested user (visible only in the get a specific user api response).
|
|
193
|
+
*/
|
|
194
|
+
can_send_pm_to?: boolean;
|
|
195
|
+
/**
|
|
196
|
+
* Custom user metadata fields
|
|
197
|
+
*/
|
|
198
|
+
[p: string]: any;
|
|
186
199
|
}
|
|
187
200
|
/**
|
|
188
201
|
* User Settings
|
|
@@ -565,4 +578,3 @@ export interface SCUserProviderAssociationType {
|
|
|
565
578
|
*/
|
|
566
579
|
metadata?: any;
|
|
567
580
|
}
|
|
568
|
-
//# sourceMappingURL=user.d.ts.map
|
package/lib/cjs/types/user.js
CHANGED
|
@@ -33,4 +33,3 @@ var SCUserReputationType;
|
|
|
33
33
|
SCUserReputationType[SCUserReputationType["LOSE_BY_FOLLOWER"] = -19] = "LOSE_BY_FOLLOWER";
|
|
34
34
|
SCUserReputationType[SCUserReputationType["LOSE_BY_BLOCK_ACCOUNT"] = -20] = "LOSE_BY_BLOCK_ACCOUNT";
|
|
35
35
|
})(SCUserReputationType = exports.SCUserReputationType || (exports.SCUserReputationType = {}));
|
|
36
|
-
//# sourceMappingURL=user.js.map
|
package/lib/cjs/types/vote.d.ts
CHANGED
package/lib/cjs/types/vote.js
CHANGED
package/lib/cjs/types/webhook.js
CHANGED
package/lib/esm/index.d.ts
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Types
|
|
3
3
|
*/
|
|
4
|
-
import {
|
|
4
|
+
import { type SCBannerType, type SCBroadcastMessageType, type SCAuthTokenType, type SCCustomAdvType, type SCCustomMenuItemType, type SCCustomMenuType, type SCUserType, type SCUserSettingsType, type SCUserBlockedSettingsType, type SCUserModerationType, type SCUserScoreVariation, type SCUserScoreType, type SCUserReputationType, type SCUserAutocompleteType, type SCUserCounterType, type SCUserChangeEmailType, type SCUserAvatarType, type SCUserPermissionType, type SCUserFollowedStatusType, type SCUserFollowerStatusType, type SCUserConnectionStatusType, type SCUserHiddenStatusType, type SCUserHiddenByStatusType, type SCUserConnectionRequestType, type SCUserEmailTokenType, type SCUserProviderAssociationType, type SCMetadataType, type SCTagType, type SCCategoryType, type SCCategoryAudienceType, type SCCategoryFollowedStatusType, type SCEmbedType, type SCMediaType, type SCChunkMediaType, type SCContributionLocation, type SCLocalityType, type SCPollChoiceType, type SCPollType, type SCPollVoteType, type SCFeedUnitType, type SCFeedUnitActivityType, type SCFeedObjectType, type SCFeedPostType, type SCFeedDiscussionType, type SCFeedStatusType, type SCFeedUnseenCountType, type SCFeedObjectSuspendedStatusType, type SCFeedObjectHideStatusType, type SCFeedObjectFollowingStatusType, type SCCommentType, type SCPrivateMessageThreadType, type SCPrivateMessageSnippetType, type SCPrivateMessageFileType, type SCPrivateMessageUploadMediaType, type SCPrivateMessageUploadThumbnailType, type SCPrivateMessageUploadMediaChunkType, type SCNotificationAggregatedType, type SCNotificationCommentType, type SCNotificationConnectionAcceptType, type SCNotificationConnectionRequestType, type SCNotificationPrivateMessageType, type SCNotificationMentionType, type SCNotificationType, type SCNotificationBlockedUserType, type SCNotificationCollapsedForType, type SCNotificationCustomNotificationType, type SCNotificationDeletedForType, type SCNotificationFollowType, type SCNotificationKindlyNoticeType, type SCNotificationUnBlockedUserType, type SCNotificationUnDeletedForType, type SCNotificationUserFollowType, type SCNotificationVoteUpType, type SCCustomNotificationType, type SCNotificationUnseenCountType, type SCNotificationContributionType, type SCIncubatorType, type SCIncubatorSubscriptionType, type SCInviteType, type SCNotificationIncubatorType, type SCPrizeType, type SCPrizeUserType, type SCPromoType, type SCUserLoyaltyPointsType, type SCWebhookEndpointType, type SCWebhookEndpointAttemptType, type SCWebhookEndpointSecretType, type SCWebhookEventsType, type SCVoteType, type SCFlagType, type SCCustomPageType, type SCDataPortabilityType, type SCPreferenceType, type SCFeatureType, type SSOSignInType, type SSOSignUpType, type SCLegalPageType, type SCLegalPageAckType, type SCContributionInsightCountersType, type SCContributionInsightType, type SCEmbedInsightType, type SCEmbedInsightCountersType, type SCUsersInsightType, type SCUsersInsightCountersType, type SCFlaggedContributionType, type SCPlatformType, type SCAvatarType, type SCReactionType, type SCDeviceType, type SCApnsDeviceType, type SCGcmDeviceType, type SCSuggestionType, type SCContributionStatus } from './types';
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Import enums
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
import { SCContributionType, SCBroadcastMessageBannerType, SCCategoryAutoFollowType, SCCommentsOrderBy, SCCustomAdvPosition, SCCustomPageTypeEnum, SCDeviceTypeEnum, SCDeviceApnsTypeEnum, SCFeatureName, SCFeedTypologyType, SCFeedUnitActivityTypologyType, SCFlagTypeEnum, SCFlagModerationStatusType, SCConnectionStatus, SCIncubatorStatusType, SCLegalPagePoliciesType, SCLanguageType, SCNotificationTypologyType, SCNotificationTopicType, SCPreferenceSection, SCPreferenceName, SCMessageFileType, SCPrizeUserStatusType, SCUserStatus, SuggestionType, SCPrivateMessageStatusType, SCMetadataTypeFieldType } from './types';
|
|
9
|
+
/**
|
|
10
|
+
* List all exports enums and types
|
|
11
|
+
*/
|
|
12
|
+
export { SCContributionType, SCBroadcastMessageBannerType, SCCategoryAutoFollowType, SCCommentsOrderBy, SCCustomAdvPosition, SCCustomPageTypeEnum, SCDeviceTypeEnum, SCDeviceApnsTypeEnum, SCFeatureName, SCFeedTypologyType, SCFeedUnitActivityTypologyType, SCFlagTypeEnum, SCFlagModerationStatusType, SCConnectionStatus, SCIncubatorStatusType, SCLegalPagePoliciesType, SCLanguageType, SCNotificationTypologyType, SCNotificationTopicType, SCPreferenceSection, SCPreferenceName, SCMessageFileType, SCPrizeUserStatusType, SCUserStatus, SuggestionType, SCPrivateMessageStatusType, SCMetadataTypeFieldType };
|
|
13
|
+
export { type SCBannerType, type SCBroadcastMessageType, type SCCustomAdvType, type SCCustomMenuItemType, type SCCustomMenuType, type SCAuthTokenType, type SCUserType, type SCUserSettingsType, type SCUserBlockedSettingsType, type SCUserModerationType, type SCUserScoreVariation, type SCUserScoreType, type SCUserReputationType, type SCUserAutocompleteType, type SCUserCounterType, type SCUserAvatarType, type SCUserChangeEmailType, type SCUserPermissionType, type SCUserFollowedStatusType, type SCUserFollowerStatusType, type SCUserConnectionStatusType, type SCUserHiddenStatusType, type SCUserHiddenByStatusType, type SCUserConnectionRequestType, type SCUserEmailTokenType, type SCUserProviderAssociationType, type SCMetadataType, type SCTagType, type SCCategoryType, type SCCategoryAudienceType, type SCCategoryFollowedStatusType, type SCEmbedType, type SCMediaType, type SCChunkMediaType, type SCContributionLocation, type SCLocalityType, type SCPollChoiceType, type SCPollType, type SCPollVoteType, type SCFeedUnitType, type SCFeedUnitActivityType, type SCFeedObjectType, type SCFeedPostType, type SCFeedDiscussionType, type SCFeedStatusType, type SCFeedUnseenCountType, type SCFeedObjectSuspendedStatusType, type SCFeedObjectHideStatusType, type SCFeedObjectFollowingStatusType, type SCCommentType, type SCPrivateMessageThreadType, type SCPrivateMessageSnippetType, type SCPrivateMessageFileType, type SCPrivateMessageUploadMediaType, type SCPrivateMessageUploadThumbnailType, type SCPrivateMessageUploadMediaChunkType, type SCPromoType, type SCNotificationAggregatedType, type SCNotificationCommentType, type SCNotificationConnectionAcceptType, type SCNotificationConnectionRequestType, type SCNotificationPrivateMessageType, type SCNotificationMentionType, type SCNotificationType, type SCNotificationBlockedUserType, type SCNotificationCollapsedForType, type SCNotificationCustomNotificationType, type SCNotificationDeletedForType, type SCNotificationFollowType, type SCNotificationKindlyNoticeType, type SCNotificationUnBlockedUserType, type SCNotificationUnDeletedForType, type SCNotificationUserFollowType, type SCNotificationVoteUpType, type SCCustomNotificationType, type SCNotificationContributionType, type SCIncubatorType, type SCIncubatorSubscriptionType, type SCInviteType, type SCNotificationIncubatorType, type SCNotificationUnseenCountType, type SCPrizeType, type SCPrizeUserType, type SCUserLoyaltyPointsType, type SCWebhookEndpointType, type SCWebhookEndpointAttemptType, type SCWebhookEndpointSecretType, type SCWebhookEventsType, type SCContributionStatus, type SCVoteType, type SCFlagType, type SCCustomPageType, type SCDataPortabilityType, type SCPreferenceType, type SCFeatureType, type SSOSignInType, type SSOSignUpType, type SCLegalPageType, type SCLegalPageAckType, type SCContributionInsightCountersType, type SCContributionInsightType, type SCEmbedInsightType, type SCEmbedInsightCountersType, type SCUsersInsightType, type SCUsersInsightCountersType, type SCFlaggedContributionType, type SCPlatformType, type SCAvatarType, type SCReactionType, type SCDeviceType, type SCApnsDeviceType, type SCGcmDeviceType, type SCSuggestionType };
|
package/lib/esm/index.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Import enums
|
|
3
3
|
*/
|
|
4
|
-
import { SCBroadcastMessageBannerType,
|
|
4
|
+
import { SCContributionType, SCBroadcastMessageBannerType, SCCategoryAutoFollowType, SCCommentsOrderBy, SCCustomAdvPosition, SCCustomPageTypeEnum, SCDeviceTypeEnum, SCDeviceApnsTypeEnum, SCFeatureName, SCFeedTypologyType, SCFeedUnitActivityTypologyType, SCFlagTypeEnum, SCFlagModerationStatusType, SCConnectionStatus, SCIncubatorStatusType, SCLegalPagePoliciesType, SCLanguageType, SCNotificationTypologyType, SCNotificationTopicType, SCPreferenceSection, SCPreferenceName, SCMessageFileType, SCPrizeUserStatusType, SCUserStatus, SuggestionType, SCPrivateMessageStatusType, SCMetadataTypeFieldType } from './types';
|
|
5
5
|
/**
|
|
6
|
-
* List all exports
|
|
6
|
+
* List all exports enums and types
|
|
7
7
|
*/
|
|
8
|
-
export { SCBroadcastMessageBannerType,
|
|
9
|
-
//# sourceMappingURL=index.js.map
|
|
8
|
+
export { SCContributionType, SCBroadcastMessageBannerType, SCCategoryAutoFollowType, SCCommentsOrderBy, SCCustomAdvPosition, SCCustomPageTypeEnum, SCDeviceTypeEnum, SCDeviceApnsTypeEnum, SCFeatureName, SCFeedTypologyType, SCFeedUnitActivityTypologyType, SCFlagTypeEnum, SCFlagModerationStatusType, SCConnectionStatus, SCIncubatorStatusType, SCLegalPagePoliciesType, SCLanguageType, SCNotificationTypologyType, SCNotificationTopicType, SCPreferenceSection, SCPreferenceName, SCMessageFileType, SCPrizeUserStatusType, SCUserStatus, SuggestionType, SCPrivateMessageStatusType, SCMetadataTypeFieldType };
|
package/lib/esm/types/auth.d.ts
CHANGED
package/lib/esm/types/auth.js
CHANGED
package/lib/esm/types/avatar.js
CHANGED
|
@@ -6,4 +6,3 @@ export var SCBroadcastMessageBannerType;
|
|
|
6
6
|
SCBroadcastMessageBannerType["HTML"] = "html_banner";
|
|
7
7
|
SCBroadcastMessageBannerType["NOTIFICATION"] = "notification_banner";
|
|
8
8
|
})(SCBroadcastMessageBannerType || (SCBroadcastMessageBannerType = {}));
|
|
9
|
-
//# sourceMappingURL=broadcastMessage.js.map
|
|
@@ -37,6 +37,14 @@ export interface SCCommentType {
|
|
|
37
37
|
* Summary
|
|
38
38
|
*/
|
|
39
39
|
summary: string;
|
|
40
|
+
/**
|
|
41
|
+
* Summary html
|
|
42
|
+
*/
|
|
43
|
+
summary_html?: string;
|
|
44
|
+
/**
|
|
45
|
+
* True if summary_html is truncated
|
|
46
|
+
*/
|
|
47
|
+
summary_truncated?: boolean;
|
|
40
48
|
/**
|
|
41
49
|
* If the comments is deleted
|
|
42
50
|
*/
|
|
@@ -99,4 +107,3 @@ export declare enum SCCommentsOrderBy {
|
|
|
99
107
|
CONNECTION_DESC = "-connection",
|
|
100
108
|
CONNECTION_ASC = "connection"
|
|
101
109
|
}
|
|
102
|
-
//# sourceMappingURL=comment.d.ts.map
|
package/lib/esm/types/comment.js
CHANGED
package/lib/esm/types/device.js
CHANGED
package/lib/esm/types/embed.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export interface SCEmbedType {
|
|
|
16
16
|
/**
|
|
17
17
|
* External id for the embed object
|
|
18
18
|
*/
|
|
19
|
-
embed_id: number;
|
|
19
|
+
embed_id: number | string;
|
|
20
20
|
/**
|
|
21
21
|
* Url for the resource, if any
|
|
22
22
|
*/
|
|
@@ -30,4 +30,3 @@ export interface SCEmbedType {
|
|
|
30
30
|
*/
|
|
31
31
|
metadata: Record<string, any>;
|
|
32
32
|
}
|
|
33
|
-
//# sourceMappingURL=embed.d.ts.map
|
package/lib/esm/types/embed.js
CHANGED
package/lib/esm/types/feature.js
CHANGED
package/lib/esm/types/feed.d.ts
CHANGED
|
@@ -125,6 +125,14 @@ export interface SCFeedObjectType {
|
|
|
125
125
|
* Summary
|
|
126
126
|
*/
|
|
127
127
|
summary: string;
|
|
128
|
+
/**
|
|
129
|
+
* Summary html
|
|
130
|
+
*/
|
|
131
|
+
summary_html?: string;
|
|
132
|
+
/**
|
|
133
|
+
* True if summary_html is truncated
|
|
134
|
+
*/
|
|
135
|
+
summary_truncated?: boolean;
|
|
128
136
|
/**
|
|
129
137
|
* True if the object is deleted
|
|
130
138
|
*/
|
|
@@ -145,10 +153,18 @@ export interface SCFeedObjectType {
|
|
|
145
153
|
* True if the logged user follow this object
|
|
146
154
|
*/
|
|
147
155
|
followed?: boolean;
|
|
156
|
+
/**
|
|
157
|
+
* Number of views
|
|
158
|
+
*/
|
|
159
|
+
view_count: number;
|
|
148
160
|
/**
|
|
149
161
|
* Number of votes
|
|
150
162
|
*/
|
|
151
163
|
vote_count: number;
|
|
164
|
+
/**
|
|
165
|
+
* Number of followers
|
|
166
|
+
*/
|
|
167
|
+
follower_count: number;
|
|
152
168
|
/**
|
|
153
169
|
* Reaction obj
|
|
154
170
|
*/
|
|
@@ -156,7 +172,7 @@ export interface SCFeedObjectType {
|
|
|
156
172
|
/**
|
|
157
173
|
* Reactions number and objs
|
|
158
174
|
*/
|
|
159
|
-
reactions_count: [];
|
|
175
|
+
reactions_count: any[];
|
|
160
176
|
/**
|
|
161
177
|
* True if the logged user has already voted this object
|
|
162
178
|
*/
|
|
@@ -236,4 +252,3 @@ export interface SCFeedObjectFollowingStatusType {
|
|
|
236
252
|
export interface SCFeedObjectHideStatusType {
|
|
237
253
|
hidden: boolean;
|
|
238
254
|
}
|
|
239
|
-
//# sourceMappingURL=feed.d.ts.map
|
package/lib/esm/types/feed.js
CHANGED
|
@@ -13,4 +13,3 @@ export var SCFeedUnitActivityTypologyType;
|
|
|
13
13
|
SCFeedUnitActivityTypologyType["POLLVOTE"] = "pollvote";
|
|
14
14
|
SCFeedUnitActivityTypologyType["FOLLOW"] = "follow";
|
|
15
15
|
})(SCFeedUnitActivityTypologyType || (SCFeedUnitActivityTypologyType = {}));
|
|
16
|
-
//# sourceMappingURL=feed.js.map
|
package/lib/esm/types/flag.d.ts
CHANGED
package/lib/esm/types/flag.js
CHANGED
|
@@ -7,4 +7,3 @@ export var SCConnectionStatus;
|
|
|
7
7
|
SCConnectionStatus["CONNECTION_REQUEST_SENT"] = "sent_connection_request";
|
|
8
8
|
SCConnectionStatus["CONNECTION_REQUEST_RECEIVED"] = "received_connection_request";
|
|
9
9
|
})(SCConnectionStatus || (SCConnectionStatus = {}));
|
|
10
|
-
//# sourceMappingURL=friendship.js.map
|