@selfcommunity/types 0.5.9-alpha.0 → 0.5.9-alpha.10

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.
@@ -1,13 +1,13 @@
1
1
  /**
2
2
  * Types
3
3
  */
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';
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 SCNotificationGroupActivityType, 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, type SCGroupType } from './types';
5
5
  /**
6
6
  * Import enums
7
7
  */
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';
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, SCGroupPrivacyType, SCGroupSubscriptionStatusType, SCPrivateMessageType } from './types';
9
9
  /**
10
10
  * List all exports enums and types
11
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 };
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, SCGroupPrivacyType, SCGroupSubscriptionStatusType, SCPrivateMessageType };
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 SCNotificationGroupActivityType, 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, type SCGroupType };
package/lib/cjs/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SCMetadataTypeFieldType = exports.SCPrivateMessageStatusType = exports.SuggestionType = exports.SCUserStatus = exports.SCPrizeUserStatusType = exports.SCMessageFileType = exports.SCPreferenceName = exports.SCPreferenceSection = exports.SCNotificationTopicType = exports.SCNotificationTypologyType = exports.SCLanguageType = exports.SCLegalPagePoliciesType = exports.SCIncubatorStatusType = exports.SCConnectionStatus = exports.SCFlagModerationStatusType = exports.SCFlagTypeEnum = exports.SCFeedUnitActivityTypologyType = exports.SCFeedTypologyType = exports.SCFeatureName = exports.SCDeviceApnsTypeEnum = exports.SCDeviceTypeEnum = exports.SCCustomPageTypeEnum = exports.SCCustomAdvPosition = exports.SCCommentsOrderBy = exports.SCCategoryAutoFollowType = exports.SCBroadcastMessageBannerType = exports.SCContributionType = void 0;
3
+ exports.SCPrivateMessageType = exports.SCGroupSubscriptionStatusType = exports.SCGroupPrivacyType = exports.SCMetadataTypeFieldType = exports.SCPrivateMessageStatusType = exports.SuggestionType = exports.SCUserStatus = exports.SCPrizeUserStatusType = exports.SCMessageFileType = exports.SCPreferenceName = exports.SCPreferenceSection = exports.SCNotificationTopicType = exports.SCNotificationTypologyType = exports.SCLanguageType = exports.SCLegalPagePoliciesType = exports.SCIncubatorStatusType = exports.SCConnectionStatus = exports.SCFlagModerationStatusType = exports.SCFlagTypeEnum = exports.SCFeedUnitActivityTypologyType = exports.SCFeedTypologyType = exports.SCFeatureName = exports.SCDeviceApnsTypeEnum = exports.SCDeviceTypeEnum = exports.SCCustomPageTypeEnum = exports.SCCustomAdvPosition = exports.SCCommentsOrderBy = exports.SCCategoryAutoFollowType = exports.SCBroadcastMessageBannerType = exports.SCContributionType = void 0;
4
4
  /**
5
5
  * Import enums
6
6
  */
@@ -32,3 +32,6 @@ Object.defineProperty(exports, "SCUserStatus", { enumerable: true, get: function
32
32
  Object.defineProperty(exports, "SuggestionType", { enumerable: true, get: function () { return types_1.SuggestionType; } });
33
33
  Object.defineProperty(exports, "SCPrivateMessageStatusType", { enumerable: true, get: function () { return types_1.SCPrivateMessageStatusType; } });
34
34
  Object.defineProperty(exports, "SCMetadataTypeFieldType", { enumerable: true, get: function () { return types_1.SCMetadataTypeFieldType; } });
35
+ Object.defineProperty(exports, "SCGroupPrivacyType", { enumerable: true, get: function () { return types_1.SCGroupPrivacyType; } });
36
+ Object.defineProperty(exports, "SCGroupSubscriptionStatusType", { enumerable: true, get: function () { return types_1.SCGroupSubscriptionStatusType; } });
37
+ Object.defineProperty(exports, "SCPrivateMessageType", { enumerable: true, get: function () { return types_1.SCPrivateMessageType; } });
@@ -1,5 +1,6 @@
1
1
  import { SCUserType } from './user';
2
2
  import { SCReactionType } from './reaction';
3
+ import { SCGroupType } from './group';
3
4
  /**
4
5
  * Interface SCCommentType.
5
6
  * Comment Schema.
@@ -97,6 +98,10 @@ export interface SCCommentType {
97
98
  * Reaction obj
98
99
  */
99
100
  reaction: SCReactionType;
101
+ /**
102
+ * The group obj
103
+ */
104
+ group?: SCGroupType;
100
105
  }
101
106
  /**
102
107
  * Type of comments ordering
@@ -40,7 +40,8 @@ export declare enum SCFeatureName {
40
40
  CUSTOMIZE_HEADLESS = "customize_headless",
41
41
  SYSTEM_PAGES = "system_pages",
42
42
  REACTION = "reaction",
43
- PRIVATE_MESSAGING = "private_messaging"
43
+ PRIVATE_MESSAGING = "private_messaging",
44
+ GROUPING = "grouping"
44
45
  }
45
46
  /**
46
47
  * SCFeatureType interface
@@ -45,4 +45,5 @@ var SCFeatureName;
45
45
  SCFeatureName["SYSTEM_PAGES"] = "system_pages";
46
46
  SCFeatureName["REACTION"] = "reaction";
47
47
  SCFeatureName["PRIVATE_MESSAGING"] = "private_messaging";
48
+ SCFeatureName["GROUPING"] = "grouping";
48
49
  })(SCFeatureName = exports.SCFeatureName || (exports.SCFeatureName = {}));
@@ -6,6 +6,7 @@ import { SCMediaType } from './media';
6
6
  import { SCTagType } from './tag';
7
7
  import { SCReactionType } from './reaction';
8
8
  import { SCContributionType } from './contribution';
9
+ import { SCGroupType } from './group';
9
10
  /**
10
11
  * Typology of feed
11
12
  */
@@ -93,6 +94,10 @@ export interface SCFeedObjectType {
93
94
  * List of categories.
94
95
  */
95
96
  categories?: SCCategoryType[];
97
+ /**
98
+ * The id of the group.
99
+ */
100
+ group?: SCGroupType;
96
101
  /**
97
102
  * List of medias
98
103
  */
@@ -0,0 +1,102 @@
1
+ /**
2
+ * Interface SCGroupType.
3
+ * Group Schema.
4
+ */
5
+ import { SCUserType } from './user';
6
+ /**
7
+ * SCGroupPrivacyType enum
8
+ */
9
+ export declare enum SCGroupPrivacyType {
10
+ PUBLIC = "public",
11
+ PRIVATE = "private"
12
+ }
13
+ /**
14
+ * SCGroupSubscriptionStatusType enum
15
+ */
16
+ export declare enum SCGroupSubscriptionStatusType {
17
+ SUBSCRIBED = "subscribed",
18
+ REQUESTED = "requested",
19
+ INVITED = "invited"
20
+ }
21
+ export interface SCGroupType {
22
+ /**
23
+ * The ID of the group.
24
+ */
25
+ id: number;
26
+ /**
27
+ * The name of the group.
28
+ */
29
+ name: string;
30
+ /**
31
+ * The description of the group.
32
+ */
33
+ description: string;
34
+ /**
35
+ * The slug for the group.
36
+ */
37
+ slug: string;
38
+ /**
39
+ * The color of the group.
40
+ */
41
+ color: string;
42
+ /**
43
+ * The group privacy.
44
+ */
45
+ privacy: SCGroupPrivacyType;
46
+ /**
47
+ * The group visibility.
48
+ */
49
+ visible: boolean;
50
+ /**
51
+ * The group actie status.
52
+ */
53
+ active: boolean;
54
+ /**
55
+ * The group subscription status.
56
+ */
57
+ subscription_status: SCGroupSubscriptionStatusType;
58
+ /**
59
+ * The group subscription status.
60
+ */
61
+ subscribed: boolean;
62
+ /**
63
+ * The group image, bigger format.
64
+ */
65
+ image_bigger: string;
66
+ /**
67
+ * The group image, big format.
68
+ */
69
+ image_big: string;
70
+ /**
71
+ * The group image, medium format.
72
+ */
73
+ image_medium: string;
74
+ /**
75
+ * The group image, small format.
76
+ */
77
+ image_small: string;
78
+ /**
79
+ * The group emotional image.
80
+ */
81
+ emotional_image: string;
82
+ /**
83
+ * The group emotional image position.
84
+ */
85
+ emotional_image_position: number;
86
+ /**
87
+ * The group creation date.
88
+ */
89
+ created_at: string;
90
+ /**
91
+ * The group creator.
92
+ */
93
+ created_by: SCUserType;
94
+ /**
95
+ * The group admin.
96
+ */
97
+ managed_by: SCUserType;
98
+ /**
99
+ * The number of group members
100
+ */
101
+ subscribers_counter: number;
102
+ }
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SCGroupSubscriptionStatusType = exports.SCGroupPrivacyType = void 0;
4
+ /**
5
+ * SCGroupPrivacyType enum
6
+ */
7
+ var SCGroupPrivacyType;
8
+ (function (SCGroupPrivacyType) {
9
+ SCGroupPrivacyType["PUBLIC"] = "public";
10
+ SCGroupPrivacyType["PRIVATE"] = "private";
11
+ })(SCGroupPrivacyType = exports.SCGroupPrivacyType || (exports.SCGroupPrivacyType = {}));
12
+ /**
13
+ * SCGroupSubscriptionStatusType enum
14
+ */
15
+ var SCGroupSubscriptionStatusType;
16
+ (function (SCGroupSubscriptionStatusType) {
17
+ SCGroupSubscriptionStatusType["SUBSCRIBED"] = "subscribed";
18
+ SCGroupSubscriptionStatusType["REQUESTED"] = "requested";
19
+ SCGroupSubscriptionStatusType["INVITED"] = "invited";
20
+ })(SCGroupSubscriptionStatusType = exports.SCGroupSubscriptionStatusType || (exports.SCGroupSubscriptionStatusType = {}));
@@ -12,12 +12,12 @@ import { SCMetadataTypeFieldType, type SCMetadataType } from './metadata';
12
12
  import { type SCContributionLocation, type SCLocalityType } from './location';
13
13
  import { type SCPollChoiceType, type SCPollType, type SCPollVoteType } from './poll';
14
14
  import { SCCommentsOrderBy, type SCCommentType } from './comment';
15
- import { SCMessageFileType, type SCPrivateMessageFileType, SCPrivateMessageStatusType, type SCPrivateMessageThreadType, type SCPrivateMessageSnippetType, type SCPrivateMessageUploadMediaChunkType, type SCPrivateMessageUploadMediaType, type SCPrivateMessageUploadThumbnailType } from './privateMessage';
15
+ import { SCMessageFileType, type SCPrivateMessageFileType, SCPrivateMessageStatusType, type SCPrivateMessageThreadType, type SCPrivateMessageSnippetType, type SCPrivateMessageUploadMediaChunkType, type SCPrivateMessageUploadMediaType, type SCPrivateMessageUploadThumbnailType, SCPrivateMessageType } from './privateMessage';
16
16
  import { SCIncubatorStatusType, type SCIncubatorSubscriptionType, type SCIncubatorType } from './incubator';
17
17
  import { type SCCustomNotificationType } from './customNotification';
18
18
  import { type SCPrizeType, SCPrizeUserStatusType, type SCPrizeUserType, type SCUserLoyaltyPointsType } from './prize';
19
19
  import { type SCCountByCategoryType, type SCFeedDiscussionType, type SCFeedObjectFollowingStatusType, type SCFeedObjectHideStatusType, type SCFeedObjectSuspendedStatusType, type SCFeedObjectType, type SCFeedPostType, type SCFeedStatusType, SCFeedTypologyType, type SCFeedUnitActivityType, SCFeedUnitActivityTypologyType, type SCFeedUnitType, type SCFeedUnseenCountType } from './feed';
20
- import { type SCNotificationAggregatedType, type SCNotificationBlockedUserType, type SCNotificationCollapsedForType, type SCNotificationCommentType, type SCNotificationConnectionAcceptType, type SCNotificationConnectionRequestType, type SCNotificationContributionType, type SCNotificationCustomNotificationType, type SCNotificationDeletedForType, type SCNotificationFollowType, type SCNotificationIncubatorType, type SCNotificationKindlyNoticeType, type SCNotificationMentionType, type SCNotificationPrivateMessageType, SCNotificationTopicType, type SCNotificationType, SCNotificationTypologyType, type SCNotificationUnBlockedUserType, type SCNotificationUnDeletedForType, type SCNotificationUnseenCountType, type SCNotificationUserFollowType, type SCNotificationVoteUpType } from './notification';
20
+ import { type SCNotificationAggregatedType, type SCNotificationBlockedUserType, type SCNotificationCollapsedForType, type SCNotificationCommentType, type SCNotificationConnectionAcceptType, type SCNotificationConnectionRequestType, type SCNotificationContributionType, type SCNotificationCustomNotificationType, type SCNotificationDeletedForType, type SCNotificationFollowType, type SCNotificationIncubatorType, type SCNotificationKindlyNoticeType, type SCNotificationMentionType, type SCNotificationPrivateMessageType, SCNotificationTopicType, type SCNotificationType, SCNotificationTypologyType, type SCNotificationUnBlockedUserType, type SCNotificationUnDeletedForType, type SCNotificationUnseenCountType, type SCNotificationUserFollowType, type SCNotificationVoteUpType, type SCNotificationGroupActivityType } from './notification';
21
21
  import { type SCWebhookEndpointAttemptType, type SCWebhookEndpointSecretType, type SCWebhookEndpointType, type SCWebhookEventsType } from './webhook';
22
22
  import { type SCVoteType } from './vote';
23
23
  import { SCFlagModerationStatusType, type SCFlagType, SCFlagTypeEnum } from './flag';
@@ -37,7 +37,8 @@ import { type SCReactionType } from './reaction';
37
37
  import { type SCSuggestionType, SuggestionType } from './suggestion';
38
38
  import { SCConnectionStatus } from './friendship';
39
39
  import { type SCDeviceType, type SCApnsDeviceType, type SCGcmDeviceType, SCDeviceApnsTypeEnum, type SCDeviceGcmTypeEnum, SCDeviceTypeEnum } from './device';
40
+ import { type SCGroupType, SCGroupPrivacyType, SCGroupSubscriptionStatusType } from './group';
40
41
  /**
41
42
  * Exports all types
42
43
  */
43
- export { type SCBannerType, SCBroadcastMessageBannerType, type SCBroadcastMessageType, type SCAuthTokenType, SCLanguageType, type SCUserType, type SCUserSettingsType, SCUserStatus, type SCUserBlockedSettingsType, type SCUserModerationType, type SCUserScoreVariation, type SCUserScoreType, 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, SCMetadataTypeFieldType, type SCMetadataType, type SCTagType, type SCCategoryType, SCCategoryAutoFollowType, type SCCategoryAudienceType, type SCCategoryFollowedStatusType, SCCustomAdvPosition, type SCCustomAdvType, type SCCustomMenuItemType, type SCCustomMenuType, 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, SCFeedUnitActivityTypologyType, SCFeedTypologyType, type SCFeedUnseenCountType, type SCFeedObjectSuspendedStatusType, type SCFeedObjectHideStatusType, type SCFeedObjectFollowingStatusType, type SCCountByCategoryType, SCCommentsOrderBy, type SCCommentType, type SCPrivateMessageThreadType, type SCPrivateMessageSnippetType, SCPrivateMessageStatusType, type SCPrivateMessageFileType, SCMessageFileType, type SCPrivateMessageUploadMediaType, type SCPrivateMessageUploadThumbnailType, type SCPrivateMessageUploadMediaChunkType, type SCPromoType, SCNotificationTypologyType, 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, SCNotificationTopicType, type SCNotificationUnseenCountType, type SCIncubatorType, type SCIncubatorSubscriptionType, SCIncubatorStatusType, type SCInviteType, type SCNotificationIncubatorType, type SCNotificationContributionType, type SCPrizeType, type SCPrizeUserType, SCPrizeUserStatusType, type SCUserLoyaltyPointsType, type SCWebhookEndpointType, type SCWebhookEndpointAttemptType, type SCWebhookEndpointSecretType, type SCWebhookEventsType, type SCVoteType, type SCFlagType, SCFlagTypeEnum, SCFlagModerationStatusType, SCCustomPageTypeEnum, type SCCustomPageType, type SCDataPortabilityType, SCPreferenceSection, SCPreferenceName, type SCPreferenceType, SCFeatureName, type SCFeatureType, type SSOSignInType, type SSOSignUpType, type SCLegalPageType, SCLegalPagePoliciesType, type SCLegalPageAckType, type SCContributionInsightCountersType, type SCContributionInsightType, type SCEmbedInsightType, type SCEmbedInsightCountersType, type SCUsersInsightType, type SCUsersInsightCountersType, type SCFlaggedContributionType, SCContributionType, type SCContributionStatus, SCContributeStatusType, type SCPlatformType, type SCAvatarType, type SCReactionType, type SCSuggestionType, SuggestionType, SCConnectionStatus, type SCDeviceType, type SCApnsDeviceType, type SCGcmDeviceType, SCDeviceApnsTypeEnum, type SCDeviceGcmTypeEnum, SCDeviceTypeEnum };
44
+ export { type SCBannerType, SCBroadcastMessageBannerType, type SCBroadcastMessageType, type SCAuthTokenType, SCLanguageType, type SCUserType, type SCUserSettingsType, SCUserStatus, type SCUserBlockedSettingsType, type SCUserModerationType, type SCUserScoreVariation, type SCUserScoreType, 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, SCMetadataTypeFieldType, type SCMetadataType, type SCTagType, type SCCategoryType, SCCategoryAutoFollowType, type SCCategoryAudienceType, type SCCategoryFollowedStatusType, SCCustomAdvPosition, type SCCustomAdvType, type SCCustomMenuItemType, type SCCustomMenuType, 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, SCFeedUnitActivityTypologyType, SCFeedTypologyType, type SCFeedUnseenCountType, type SCFeedObjectSuspendedStatusType, type SCFeedObjectHideStatusType, type SCFeedObjectFollowingStatusType, type SCCountByCategoryType, SCCommentsOrderBy, type SCCommentType, type SCPrivateMessageThreadType, type SCPrivateMessageSnippetType, SCPrivateMessageStatusType, type SCPrivateMessageFileType, SCMessageFileType, type SCPrivateMessageUploadMediaType, type SCPrivateMessageUploadThumbnailType, type SCPrivateMessageUploadMediaChunkType, SCPrivateMessageType, type SCPromoType, SCNotificationTypologyType, 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, SCNotificationTopicType, type SCNotificationUnseenCountType, type SCIncubatorType, type SCIncubatorSubscriptionType, SCIncubatorStatusType, type SCInviteType, type SCNotificationIncubatorType, type SCNotificationContributionType, type SCNotificationGroupActivityType, type SCPrizeType, type SCPrizeUserType, SCPrizeUserStatusType, type SCUserLoyaltyPointsType, type SCWebhookEndpointType, type SCWebhookEndpointAttemptType, type SCWebhookEndpointSecretType, type SCWebhookEventsType, type SCVoteType, type SCFlagType, SCFlagTypeEnum, SCFlagModerationStatusType, SCCustomPageTypeEnum, type SCCustomPageType, type SCDataPortabilityType, SCPreferenceSection, SCPreferenceName, type SCPreferenceType, SCFeatureName, type SCFeatureType, type SSOSignInType, type SSOSignUpType, type SCLegalPageType, SCLegalPagePoliciesType, type SCLegalPageAckType, type SCContributionInsightCountersType, type SCContributionInsightType, type SCEmbedInsightType, type SCEmbedInsightCountersType, type SCUsersInsightType, type SCUsersInsightCountersType, type SCFlaggedContributionType, SCContributionType, type SCContributionStatus, SCContributeStatusType, type SCPlatformType, type SCAvatarType, type SCReactionType, type SCSuggestionType, SuggestionType, SCConnectionStatus, type SCDeviceType, type SCApnsDeviceType, type SCGcmDeviceType, SCDeviceApnsTypeEnum, type SCDeviceGcmTypeEnum, SCDeviceTypeEnum, type SCGroupType, SCGroupPrivacyType, SCGroupSubscriptionStatusType };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SCDeviceTypeEnum = exports.SCDeviceApnsTypeEnum = exports.SCConnectionStatus = exports.SuggestionType = exports.SCContributeStatusType = exports.SCContributionType = exports.SCLegalPagePoliciesType = exports.SCFeatureName = exports.SCPreferenceName = exports.SCPreferenceSection = exports.SCCustomPageTypeEnum = exports.SCFlagModerationStatusType = exports.SCFlagTypeEnum = exports.SCPrizeUserStatusType = exports.SCIncubatorStatusType = exports.SCNotificationTopicType = exports.SCNotificationTypologyType = exports.SCMessageFileType = exports.SCPrivateMessageStatusType = exports.SCCommentsOrderBy = exports.SCFeedTypologyType = exports.SCFeedUnitActivityTypologyType = exports.SCCustomAdvPosition = exports.SCCategoryAutoFollowType = exports.SCMetadataTypeFieldType = exports.SCUserReputationType = exports.SCUserStatus = exports.SCLanguageType = exports.SCBroadcastMessageBannerType = void 0;
3
+ exports.SCGroupSubscriptionStatusType = exports.SCGroupPrivacyType = exports.SCDeviceTypeEnum = exports.SCDeviceApnsTypeEnum = exports.SCConnectionStatus = exports.SuggestionType = exports.SCContributeStatusType = exports.SCContributionType = exports.SCLegalPagePoliciesType = exports.SCFeatureName = exports.SCPreferenceName = exports.SCPreferenceSection = exports.SCCustomPageTypeEnum = exports.SCFlagModerationStatusType = exports.SCFlagTypeEnum = exports.SCPrizeUserStatusType = exports.SCIncubatorStatusType = exports.SCNotificationTopicType = exports.SCNotificationTypologyType = exports.SCPrivateMessageType = exports.SCMessageFileType = exports.SCPrivateMessageStatusType = exports.SCCommentsOrderBy = exports.SCFeedTypologyType = exports.SCFeedUnitActivityTypologyType = exports.SCCustomAdvPosition = exports.SCCategoryAutoFollowType = exports.SCMetadataTypeFieldType = exports.SCUserReputationType = exports.SCUserStatus = exports.SCLanguageType = exports.SCBroadcastMessageBannerType = void 0;
4
4
  const broadcastMessage_1 = require("./broadcastMessage");
5
5
  Object.defineProperty(exports, "SCBroadcastMessageBannerType", { enumerable: true, get: function () { return broadcastMessage_1.SCBroadcastMessageBannerType; } });
6
6
  const customAdv_1 = require("./customAdv");
@@ -19,6 +19,7 @@ Object.defineProperty(exports, "SCCommentsOrderBy", { enumerable: true, get: fun
19
19
  const privateMessage_1 = require("./privateMessage");
20
20
  Object.defineProperty(exports, "SCMessageFileType", { enumerable: true, get: function () { return privateMessage_1.SCMessageFileType; } });
21
21
  Object.defineProperty(exports, "SCPrivateMessageStatusType", { enumerable: true, get: function () { return privateMessage_1.SCPrivateMessageStatusType; } });
22
+ Object.defineProperty(exports, "SCPrivateMessageType", { enumerable: true, get: function () { return privateMessage_1.SCPrivateMessageType; } });
22
23
  const incubator_1 = require("./incubator");
23
24
  Object.defineProperty(exports, "SCIncubatorStatusType", { enumerable: true, get: function () { return incubator_1.SCIncubatorStatusType; } });
24
25
  const prize_1 = require("./prize");
@@ -51,3 +52,6 @@ Object.defineProperty(exports, "SCConnectionStatus", { enumerable: true, get: fu
51
52
  const device_1 = require("./device");
52
53
  Object.defineProperty(exports, "SCDeviceApnsTypeEnum", { enumerable: true, get: function () { return device_1.SCDeviceApnsTypeEnum; } });
53
54
  Object.defineProperty(exports, "SCDeviceTypeEnum", { enumerable: true, get: function () { return device_1.SCDeviceTypeEnum; } });
55
+ const group_1 = require("./group");
56
+ Object.defineProperty(exports, "SCGroupPrivacyType", { enumerable: true, get: function () { return group_1.SCGroupPrivacyType; } });
57
+ Object.defineProperty(exports, "SCGroupSubscriptionStatusType", { enumerable: true, get: function () { return group_1.SCGroupSubscriptionStatusType; } });
@@ -1,4 +1,4 @@
1
- import { SCCommentType, SCFeedDiscussionType, SCFeedPostType, SCFeedStatusType, SCUserType } from '../index';
1
+ import { SCCommentType, SCFeedDiscussionType, SCFeedPostType, SCFeedStatusType, SCGroupType, SCUserType } from '../index';
2
2
  import { SCPrivateMessageThreadType } from './privateMessage';
3
3
  import { SCUserBlockedSettingsType } from './user';
4
4
  import { SCCustomNotificationType } from './customNotification';
@@ -44,7 +44,11 @@ export declare enum SCNotificationTypologyType {
44
44
  INCUBATOR_APPROVED = "incubator_approved",
45
45
  CUSTOM_NOTIFICATION = "custom_notification",
46
46
  NOTIFICATION_BANNER = "notification_banner",
47
- CONTRIBUTION = "contribution"
47
+ CONTRIBUTION = "contribution",
48
+ USER_INVITED_TO_JOIN_GROUP = "user_invited_to_join_group",
49
+ USER_REQUESTED_TO_JOIN_GROUP = "user_requested_to_join_group",
50
+ USER_ACCEPTED_TO_JOIN_GROUP = "user_accepted_to_join_group",
51
+ USER_ADDED_TO_GROUP = "user_added_to_group"
48
52
  }
49
53
  /**
50
54
  * Define topic for notifications
@@ -83,6 +87,11 @@ export interface SCNotificationAggregatedType {
83
87
  * if it is a status. For some types of notifications it will not be present.
84
88
  */
85
89
  status?: SCFeedStatusType;
90
+ /**
91
+ * Primary object involved (object that is common to notifications group)
92
+ * if it is a group. For some types of notifications it will not be present.
93
+ */
94
+ group?: SCGroupType;
86
95
  /**
87
96
  * List of aggregated notifications by type.
88
97
  * Types Object: NotificationTypeComment, NotificationTypeMention,
@@ -438,3 +447,16 @@ export interface SCNotificationContributionType extends SCNotificationType {
438
447
  */
439
448
  status?: SCFeedStatusType;
440
449
  }
450
+ /**
451
+ * Interface SCNotificationGroupActivityType.
452
+ */
453
+ export interface SCNotificationGroupActivityType extends SCNotificationType {
454
+ /**
455
+ * The user who performed the action
456
+ */
457
+ user: SCUserType;
458
+ /**
459
+ * The Group obj
460
+ */
461
+ group: Partial<SCGroupType>;
462
+ }
@@ -44,6 +44,10 @@ var SCNotificationTypologyType;
44
44
  SCNotificationTypologyType["CUSTOM_NOTIFICATION"] = "custom_notification";
45
45
  SCNotificationTypologyType["NOTIFICATION_BANNER"] = "notification_banner";
46
46
  SCNotificationTypologyType["CONTRIBUTION"] = "contribution";
47
+ SCNotificationTypologyType["USER_INVITED_TO_JOIN_GROUP"] = "user_invited_to_join_group";
48
+ SCNotificationTypologyType["USER_REQUESTED_TO_JOIN_GROUP"] = "user_requested_to_join_group";
49
+ SCNotificationTypologyType["USER_ACCEPTED_TO_JOIN_GROUP"] = "user_accepted_to_join_group";
50
+ SCNotificationTypologyType["USER_ADDED_TO_GROUP"] = "user_added_to_group";
47
51
  })(SCNotificationTypologyType = exports.SCNotificationTypologyType || (exports.SCNotificationTypologyType = {}));
48
52
  /**
49
53
  * Define topic for notifications
@@ -3,6 +3,7 @@
3
3
  * Thread Private Message Schema.
4
4
  */
5
5
  import { SCUserType } from './user';
6
+ import { SCGroupType } from './group';
6
7
  export interface SCPrivateMessageThreadType {
7
8
  /**
8
9
  * Id of the message
@@ -12,6 +13,10 @@ export interface SCPrivateMessageThreadType {
12
13
  * Sender User
13
14
  */
14
15
  sender: SCUserType;
16
+ /**
17
+ * Group obj
18
+ */
19
+ group: SCGroupType;
15
20
  /**
16
21
  *Receiver User
17
22
  */
@@ -58,6 +63,10 @@ export interface SCPrivateMessageSnippetType {
58
63
  *Receiver User
59
64
  */
60
65
  receiver: SCUserType;
66
+ /**
67
+ *Group item
68
+ */
69
+ group?: SCGroupType;
61
70
  /**
62
71
  * Send date time
63
72
  */
@@ -81,6 +90,15 @@ export declare enum SCPrivateMessageStatusType {
81
90
  HIDDEN = "hidden",
82
91
  NEW = "new"
83
92
  }
93
+ /**
94
+ * Private Message type:
95
+ * it can be user or group type
96
+ */
97
+ export declare enum SCPrivateMessageType {
98
+ GROUP = "group",
99
+ USER = "user",
100
+ NEW = "new"
101
+ }
84
102
  export interface SCPrivateMessageFileType {
85
103
  /**
86
104
  * The file id
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SCMessageFileType = exports.SCPrivateMessageStatusType = void 0;
3
+ exports.SCMessageFileType = exports.SCPrivateMessageType = exports.SCPrivateMessageStatusType = void 0;
4
4
  /**
5
5
  * Private Message status:
6
6
  * created, deleted or hidden message
@@ -12,6 +12,16 @@ var SCPrivateMessageStatusType;
12
12
  SCPrivateMessageStatusType["HIDDEN"] = "hidden";
13
13
  SCPrivateMessageStatusType["NEW"] = "new";
14
14
  })(SCPrivateMessageStatusType = exports.SCPrivateMessageStatusType || (exports.SCPrivateMessageStatusType = {}));
15
+ /**
16
+ * Private Message type:
17
+ * it can be user or group type
18
+ */
19
+ var SCPrivateMessageType;
20
+ (function (SCPrivateMessageType) {
21
+ SCPrivateMessageType["GROUP"] = "group";
22
+ SCPrivateMessageType["USER"] = "user";
23
+ SCPrivateMessageType["NEW"] = "new";
24
+ })(SCPrivateMessageType = exports.SCPrivateMessageType || (exports.SCPrivateMessageType = {}));
15
25
  /**
16
26
  * Private Message status:
17
27
  * created, deleted or hidden message
@@ -3,9 +3,11 @@
3
3
  */
4
4
  import { SCCategoryType } from './category';
5
5
  import { SCUserType } from './user';
6
+ import { SCGroupType } from './group';
6
7
  export declare enum SuggestionType {
7
8
  USER = "user",
8
- CATEGORY = "category"
9
+ CATEGORY = "category",
10
+ GROUP = "group"
9
11
  }
10
12
  /**
11
13
  * Interface SCSuggestionType.
@@ -16,4 +18,5 @@ export interface SCSuggestionType {
16
18
  score?: number;
17
19
  category?: SCCategoryType;
18
20
  user?: SCUserType;
21
+ group?: SCGroupType;
19
22
  }
@@ -5,4 +5,5 @@ var SuggestionType;
5
5
  (function (SuggestionType) {
6
6
  SuggestionType["USER"] = "user";
7
7
  SuggestionType["CATEGORY"] = "category";
8
+ SuggestionType["GROUP"] = "group";
8
9
  })(SuggestionType = exports.SuggestionType || (exports.SuggestionType = {}));
@@ -1,13 +1,13 @@
1
1
  /**
2
2
  * Types
3
3
  */
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';
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 SCNotificationGroupActivityType, 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, type SCGroupType } from './types';
5
5
  /**
6
6
  * Import enums
7
7
  */
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';
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, SCGroupPrivacyType, SCGroupSubscriptionStatusType, SCPrivateMessageType } from './types';
9
9
  /**
10
10
  * List all exports enums and types
11
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 };
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, SCGroupPrivacyType, SCGroupSubscriptionStatusType, SCPrivateMessageType };
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 SCNotificationGroupActivityType, 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, type SCGroupType };
package/lib/esm/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Import enums
3
3
  */
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';
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, SCGroupPrivacyType, SCGroupSubscriptionStatusType, SCPrivateMessageType } from './types';
5
5
  /**
6
6
  * List all exports enums and types
7
7
  */
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 };
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, SCGroupPrivacyType, SCGroupSubscriptionStatusType, SCPrivateMessageType };
@@ -1,5 +1,6 @@
1
1
  import { SCUserType } from './user';
2
2
  import { SCReactionType } from './reaction';
3
+ import { SCGroupType } from './group';
3
4
  /**
4
5
  * Interface SCCommentType.
5
6
  * Comment Schema.
@@ -97,6 +98,10 @@ export interface SCCommentType {
97
98
  * Reaction obj
98
99
  */
99
100
  reaction: SCReactionType;
101
+ /**
102
+ * The group obj
103
+ */
104
+ group?: SCGroupType;
100
105
  }
101
106
  /**
102
107
  * Type of comments ordering
@@ -40,7 +40,8 @@ export declare enum SCFeatureName {
40
40
  CUSTOMIZE_HEADLESS = "customize_headless",
41
41
  SYSTEM_PAGES = "system_pages",
42
42
  REACTION = "reaction",
43
- PRIVATE_MESSAGING = "private_messaging"
43
+ PRIVATE_MESSAGING = "private_messaging",
44
+ GROUPING = "grouping"
44
45
  }
45
46
  /**
46
47
  * SCFeatureType interface
@@ -42,4 +42,5 @@ export var SCFeatureName;
42
42
  SCFeatureName["SYSTEM_PAGES"] = "system_pages";
43
43
  SCFeatureName["REACTION"] = "reaction";
44
44
  SCFeatureName["PRIVATE_MESSAGING"] = "private_messaging";
45
+ SCFeatureName["GROUPING"] = "grouping";
45
46
  })(SCFeatureName || (SCFeatureName = {}));
@@ -6,6 +6,7 @@ import { SCMediaType } from './media';
6
6
  import { SCTagType } from './tag';
7
7
  import { SCReactionType } from './reaction';
8
8
  import { SCContributionType } from './contribution';
9
+ import { SCGroupType } from './group';
9
10
  /**
10
11
  * Typology of feed
11
12
  */
@@ -93,6 +94,10 @@ export interface SCFeedObjectType {
93
94
  * List of categories.
94
95
  */
95
96
  categories?: SCCategoryType[];
97
+ /**
98
+ * The id of the group.
99
+ */
100
+ group?: SCGroupType;
96
101
  /**
97
102
  * List of medias
98
103
  */
@@ -0,0 +1,102 @@
1
+ /**
2
+ * Interface SCGroupType.
3
+ * Group Schema.
4
+ */
5
+ import { SCUserType } from './user';
6
+ /**
7
+ * SCGroupPrivacyType enum
8
+ */
9
+ export declare enum SCGroupPrivacyType {
10
+ PUBLIC = "public",
11
+ PRIVATE = "private"
12
+ }
13
+ /**
14
+ * SCGroupSubscriptionStatusType enum
15
+ */
16
+ export declare enum SCGroupSubscriptionStatusType {
17
+ SUBSCRIBED = "subscribed",
18
+ REQUESTED = "requested",
19
+ INVITED = "invited"
20
+ }
21
+ export interface SCGroupType {
22
+ /**
23
+ * The ID of the group.
24
+ */
25
+ id: number;
26
+ /**
27
+ * The name of the group.
28
+ */
29
+ name: string;
30
+ /**
31
+ * The description of the group.
32
+ */
33
+ description: string;
34
+ /**
35
+ * The slug for the group.
36
+ */
37
+ slug: string;
38
+ /**
39
+ * The color of the group.
40
+ */
41
+ color: string;
42
+ /**
43
+ * The group privacy.
44
+ */
45
+ privacy: SCGroupPrivacyType;
46
+ /**
47
+ * The group visibility.
48
+ */
49
+ visible: boolean;
50
+ /**
51
+ * The group actie status.
52
+ */
53
+ active: boolean;
54
+ /**
55
+ * The group subscription status.
56
+ */
57
+ subscription_status: SCGroupSubscriptionStatusType;
58
+ /**
59
+ * The group subscription status.
60
+ */
61
+ subscribed: boolean;
62
+ /**
63
+ * The group image, bigger format.
64
+ */
65
+ image_bigger: string;
66
+ /**
67
+ * The group image, big format.
68
+ */
69
+ image_big: string;
70
+ /**
71
+ * The group image, medium format.
72
+ */
73
+ image_medium: string;
74
+ /**
75
+ * The group image, small format.
76
+ */
77
+ image_small: string;
78
+ /**
79
+ * The group emotional image.
80
+ */
81
+ emotional_image: string;
82
+ /**
83
+ * The group emotional image position.
84
+ */
85
+ emotional_image_position: number;
86
+ /**
87
+ * The group creation date.
88
+ */
89
+ created_at: string;
90
+ /**
91
+ * The group creator.
92
+ */
93
+ created_by: SCUserType;
94
+ /**
95
+ * The group admin.
96
+ */
97
+ managed_by: SCUserType;
98
+ /**
99
+ * The number of group members
100
+ */
101
+ subscribers_counter: number;
102
+ }
@@ -0,0 +1,17 @@
1
+ /**
2
+ * SCGroupPrivacyType enum
3
+ */
4
+ export var SCGroupPrivacyType;
5
+ (function (SCGroupPrivacyType) {
6
+ SCGroupPrivacyType["PUBLIC"] = "public";
7
+ SCGroupPrivacyType["PRIVATE"] = "private";
8
+ })(SCGroupPrivacyType || (SCGroupPrivacyType = {}));
9
+ /**
10
+ * SCGroupSubscriptionStatusType enum
11
+ */
12
+ export var SCGroupSubscriptionStatusType;
13
+ (function (SCGroupSubscriptionStatusType) {
14
+ SCGroupSubscriptionStatusType["SUBSCRIBED"] = "subscribed";
15
+ SCGroupSubscriptionStatusType["REQUESTED"] = "requested";
16
+ SCGroupSubscriptionStatusType["INVITED"] = "invited";
17
+ })(SCGroupSubscriptionStatusType || (SCGroupSubscriptionStatusType = {}));
@@ -12,12 +12,12 @@ import { SCMetadataTypeFieldType, type SCMetadataType } from './metadata';
12
12
  import { type SCContributionLocation, type SCLocalityType } from './location';
13
13
  import { type SCPollChoiceType, type SCPollType, type SCPollVoteType } from './poll';
14
14
  import { SCCommentsOrderBy, type SCCommentType } from './comment';
15
- import { SCMessageFileType, type SCPrivateMessageFileType, SCPrivateMessageStatusType, type SCPrivateMessageThreadType, type SCPrivateMessageSnippetType, type SCPrivateMessageUploadMediaChunkType, type SCPrivateMessageUploadMediaType, type SCPrivateMessageUploadThumbnailType } from './privateMessage';
15
+ import { SCMessageFileType, type SCPrivateMessageFileType, SCPrivateMessageStatusType, type SCPrivateMessageThreadType, type SCPrivateMessageSnippetType, type SCPrivateMessageUploadMediaChunkType, type SCPrivateMessageUploadMediaType, type SCPrivateMessageUploadThumbnailType, SCPrivateMessageType } from './privateMessage';
16
16
  import { SCIncubatorStatusType, type SCIncubatorSubscriptionType, type SCIncubatorType } from './incubator';
17
17
  import { type SCCustomNotificationType } from './customNotification';
18
18
  import { type SCPrizeType, SCPrizeUserStatusType, type SCPrizeUserType, type SCUserLoyaltyPointsType } from './prize';
19
19
  import { type SCCountByCategoryType, type SCFeedDiscussionType, type SCFeedObjectFollowingStatusType, type SCFeedObjectHideStatusType, type SCFeedObjectSuspendedStatusType, type SCFeedObjectType, type SCFeedPostType, type SCFeedStatusType, SCFeedTypologyType, type SCFeedUnitActivityType, SCFeedUnitActivityTypologyType, type SCFeedUnitType, type SCFeedUnseenCountType } from './feed';
20
- import { type SCNotificationAggregatedType, type SCNotificationBlockedUserType, type SCNotificationCollapsedForType, type SCNotificationCommentType, type SCNotificationConnectionAcceptType, type SCNotificationConnectionRequestType, type SCNotificationContributionType, type SCNotificationCustomNotificationType, type SCNotificationDeletedForType, type SCNotificationFollowType, type SCNotificationIncubatorType, type SCNotificationKindlyNoticeType, type SCNotificationMentionType, type SCNotificationPrivateMessageType, SCNotificationTopicType, type SCNotificationType, SCNotificationTypologyType, type SCNotificationUnBlockedUserType, type SCNotificationUnDeletedForType, type SCNotificationUnseenCountType, type SCNotificationUserFollowType, type SCNotificationVoteUpType } from './notification';
20
+ import { type SCNotificationAggregatedType, type SCNotificationBlockedUserType, type SCNotificationCollapsedForType, type SCNotificationCommentType, type SCNotificationConnectionAcceptType, type SCNotificationConnectionRequestType, type SCNotificationContributionType, type SCNotificationCustomNotificationType, type SCNotificationDeletedForType, type SCNotificationFollowType, type SCNotificationIncubatorType, type SCNotificationKindlyNoticeType, type SCNotificationMentionType, type SCNotificationPrivateMessageType, SCNotificationTopicType, type SCNotificationType, SCNotificationTypologyType, type SCNotificationUnBlockedUserType, type SCNotificationUnDeletedForType, type SCNotificationUnseenCountType, type SCNotificationUserFollowType, type SCNotificationVoteUpType, type SCNotificationGroupActivityType } from './notification';
21
21
  import { type SCWebhookEndpointAttemptType, type SCWebhookEndpointSecretType, type SCWebhookEndpointType, type SCWebhookEventsType } from './webhook';
22
22
  import { type SCVoteType } from './vote';
23
23
  import { SCFlagModerationStatusType, type SCFlagType, SCFlagTypeEnum } from './flag';
@@ -37,7 +37,8 @@ import { type SCReactionType } from './reaction';
37
37
  import { type SCSuggestionType, SuggestionType } from './suggestion';
38
38
  import { SCConnectionStatus } from './friendship';
39
39
  import { type SCDeviceType, type SCApnsDeviceType, type SCGcmDeviceType, SCDeviceApnsTypeEnum, type SCDeviceGcmTypeEnum, SCDeviceTypeEnum } from './device';
40
+ import { type SCGroupType, SCGroupPrivacyType, SCGroupSubscriptionStatusType } from './group';
40
41
  /**
41
42
  * Exports all types
42
43
  */
43
- export { type SCBannerType, SCBroadcastMessageBannerType, type SCBroadcastMessageType, type SCAuthTokenType, SCLanguageType, type SCUserType, type SCUserSettingsType, SCUserStatus, type SCUserBlockedSettingsType, type SCUserModerationType, type SCUserScoreVariation, type SCUserScoreType, 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, SCMetadataTypeFieldType, type SCMetadataType, type SCTagType, type SCCategoryType, SCCategoryAutoFollowType, type SCCategoryAudienceType, type SCCategoryFollowedStatusType, SCCustomAdvPosition, type SCCustomAdvType, type SCCustomMenuItemType, type SCCustomMenuType, 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, SCFeedUnitActivityTypologyType, SCFeedTypologyType, type SCFeedUnseenCountType, type SCFeedObjectSuspendedStatusType, type SCFeedObjectHideStatusType, type SCFeedObjectFollowingStatusType, type SCCountByCategoryType, SCCommentsOrderBy, type SCCommentType, type SCPrivateMessageThreadType, type SCPrivateMessageSnippetType, SCPrivateMessageStatusType, type SCPrivateMessageFileType, SCMessageFileType, type SCPrivateMessageUploadMediaType, type SCPrivateMessageUploadThumbnailType, type SCPrivateMessageUploadMediaChunkType, type SCPromoType, SCNotificationTypologyType, 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, SCNotificationTopicType, type SCNotificationUnseenCountType, type SCIncubatorType, type SCIncubatorSubscriptionType, SCIncubatorStatusType, type SCInviteType, type SCNotificationIncubatorType, type SCNotificationContributionType, type SCPrizeType, type SCPrizeUserType, SCPrizeUserStatusType, type SCUserLoyaltyPointsType, type SCWebhookEndpointType, type SCWebhookEndpointAttemptType, type SCWebhookEndpointSecretType, type SCWebhookEventsType, type SCVoteType, type SCFlagType, SCFlagTypeEnum, SCFlagModerationStatusType, SCCustomPageTypeEnum, type SCCustomPageType, type SCDataPortabilityType, SCPreferenceSection, SCPreferenceName, type SCPreferenceType, SCFeatureName, type SCFeatureType, type SSOSignInType, type SSOSignUpType, type SCLegalPageType, SCLegalPagePoliciesType, type SCLegalPageAckType, type SCContributionInsightCountersType, type SCContributionInsightType, type SCEmbedInsightType, type SCEmbedInsightCountersType, type SCUsersInsightType, type SCUsersInsightCountersType, type SCFlaggedContributionType, SCContributionType, type SCContributionStatus, SCContributeStatusType, type SCPlatformType, type SCAvatarType, type SCReactionType, type SCSuggestionType, SuggestionType, SCConnectionStatus, type SCDeviceType, type SCApnsDeviceType, type SCGcmDeviceType, SCDeviceApnsTypeEnum, type SCDeviceGcmTypeEnum, SCDeviceTypeEnum };
44
+ export { type SCBannerType, SCBroadcastMessageBannerType, type SCBroadcastMessageType, type SCAuthTokenType, SCLanguageType, type SCUserType, type SCUserSettingsType, SCUserStatus, type SCUserBlockedSettingsType, type SCUserModerationType, type SCUserScoreVariation, type SCUserScoreType, 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, SCMetadataTypeFieldType, type SCMetadataType, type SCTagType, type SCCategoryType, SCCategoryAutoFollowType, type SCCategoryAudienceType, type SCCategoryFollowedStatusType, SCCustomAdvPosition, type SCCustomAdvType, type SCCustomMenuItemType, type SCCustomMenuType, 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, SCFeedUnitActivityTypologyType, SCFeedTypologyType, type SCFeedUnseenCountType, type SCFeedObjectSuspendedStatusType, type SCFeedObjectHideStatusType, type SCFeedObjectFollowingStatusType, type SCCountByCategoryType, SCCommentsOrderBy, type SCCommentType, type SCPrivateMessageThreadType, type SCPrivateMessageSnippetType, SCPrivateMessageStatusType, type SCPrivateMessageFileType, SCMessageFileType, type SCPrivateMessageUploadMediaType, type SCPrivateMessageUploadThumbnailType, type SCPrivateMessageUploadMediaChunkType, SCPrivateMessageType, type SCPromoType, SCNotificationTypologyType, 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, SCNotificationTopicType, type SCNotificationUnseenCountType, type SCIncubatorType, type SCIncubatorSubscriptionType, SCIncubatorStatusType, type SCInviteType, type SCNotificationIncubatorType, type SCNotificationContributionType, type SCNotificationGroupActivityType, type SCPrizeType, type SCPrizeUserType, SCPrizeUserStatusType, type SCUserLoyaltyPointsType, type SCWebhookEndpointType, type SCWebhookEndpointAttemptType, type SCWebhookEndpointSecretType, type SCWebhookEventsType, type SCVoteType, type SCFlagType, SCFlagTypeEnum, SCFlagModerationStatusType, SCCustomPageTypeEnum, type SCCustomPageType, type SCDataPortabilityType, SCPreferenceSection, SCPreferenceName, type SCPreferenceType, SCFeatureName, type SCFeatureType, type SSOSignInType, type SSOSignUpType, type SCLegalPageType, SCLegalPagePoliciesType, type SCLegalPageAckType, type SCContributionInsightCountersType, type SCContributionInsightType, type SCEmbedInsightType, type SCEmbedInsightCountersType, type SCUsersInsightType, type SCUsersInsightCountersType, type SCFlaggedContributionType, SCContributionType, type SCContributionStatus, SCContributeStatusType, type SCPlatformType, type SCAvatarType, type SCReactionType, type SCSuggestionType, SuggestionType, SCConnectionStatus, type SCDeviceType, type SCApnsDeviceType, type SCGcmDeviceType, SCDeviceApnsTypeEnum, type SCDeviceGcmTypeEnum, SCDeviceTypeEnum, type SCGroupType, SCGroupPrivacyType, SCGroupSubscriptionStatusType };
@@ -5,7 +5,7 @@ import { SCUserReputationType, SCUserStatus } from './user';
5
5
  import { SCCategoryAutoFollowType } from './category';
6
6
  import { SCMetadataTypeFieldType } from './metadata';
7
7
  import { SCCommentsOrderBy } from './comment';
8
- import { SCMessageFileType, SCPrivateMessageStatusType } from './privateMessage';
8
+ import { SCMessageFileType, SCPrivateMessageStatusType, SCPrivateMessageType } from './privateMessage';
9
9
  import { SCIncubatorStatusType } from './incubator';
10
10
  import { SCPrizeUserStatusType } from './prize';
11
11
  import { SCFeedTypologyType, SCFeedUnitActivityTypologyType } from './feed';
@@ -19,7 +19,8 @@ import { SCContributeStatusType, SCContributionType } from './contribution';
19
19
  import { SuggestionType } from './suggestion';
20
20
  import { SCConnectionStatus } from './friendship';
21
21
  import { SCDeviceApnsTypeEnum, SCDeviceTypeEnum } from './device';
22
+ import { SCGroupPrivacyType, SCGroupSubscriptionStatusType } from './group';
22
23
  /**
23
24
  * Exports all types
24
25
  */
25
- export { SCBroadcastMessageBannerType, SCLanguageType, SCUserStatus, SCUserReputationType, SCMetadataTypeFieldType, SCCategoryAutoFollowType, SCCustomAdvPosition, SCFeedUnitActivityTypologyType, SCFeedTypologyType, SCCommentsOrderBy, SCPrivateMessageStatusType, SCMessageFileType, SCNotificationTypologyType, SCNotificationTopicType, SCIncubatorStatusType, SCPrizeUserStatusType, SCFlagTypeEnum, SCFlagModerationStatusType, SCCustomPageTypeEnum, SCPreferenceSection, SCPreferenceName, SCFeatureName, SCLegalPagePoliciesType, SCContributionType, SCContributeStatusType, SuggestionType, SCConnectionStatus, SCDeviceApnsTypeEnum, SCDeviceTypeEnum };
26
+ export { SCBroadcastMessageBannerType, SCLanguageType, SCUserStatus, SCUserReputationType, SCMetadataTypeFieldType, SCCategoryAutoFollowType, SCCustomAdvPosition, SCFeedUnitActivityTypologyType, SCFeedTypologyType, SCCommentsOrderBy, SCPrivateMessageStatusType, SCMessageFileType, SCPrivateMessageType, SCNotificationTypologyType, SCNotificationTopicType, SCIncubatorStatusType, SCPrizeUserStatusType, SCFlagTypeEnum, SCFlagModerationStatusType, SCCustomPageTypeEnum, SCPreferenceSection, SCPreferenceName, SCFeatureName, SCLegalPagePoliciesType, SCContributionType, SCContributeStatusType, SuggestionType, SCConnectionStatus, SCDeviceApnsTypeEnum, SCDeviceTypeEnum, SCGroupPrivacyType, SCGroupSubscriptionStatusType };
@@ -1,4 +1,4 @@
1
- import { SCCommentType, SCFeedDiscussionType, SCFeedPostType, SCFeedStatusType, SCUserType } from '../index';
1
+ import { SCCommentType, SCFeedDiscussionType, SCFeedPostType, SCFeedStatusType, SCGroupType, SCUserType } from '../index';
2
2
  import { SCPrivateMessageThreadType } from './privateMessage';
3
3
  import { SCUserBlockedSettingsType } from './user';
4
4
  import { SCCustomNotificationType } from './customNotification';
@@ -44,7 +44,11 @@ export declare enum SCNotificationTypologyType {
44
44
  INCUBATOR_APPROVED = "incubator_approved",
45
45
  CUSTOM_NOTIFICATION = "custom_notification",
46
46
  NOTIFICATION_BANNER = "notification_banner",
47
- CONTRIBUTION = "contribution"
47
+ CONTRIBUTION = "contribution",
48
+ USER_INVITED_TO_JOIN_GROUP = "user_invited_to_join_group",
49
+ USER_REQUESTED_TO_JOIN_GROUP = "user_requested_to_join_group",
50
+ USER_ACCEPTED_TO_JOIN_GROUP = "user_accepted_to_join_group",
51
+ USER_ADDED_TO_GROUP = "user_added_to_group"
48
52
  }
49
53
  /**
50
54
  * Define topic for notifications
@@ -83,6 +87,11 @@ export interface SCNotificationAggregatedType {
83
87
  * if it is a status. For some types of notifications it will not be present.
84
88
  */
85
89
  status?: SCFeedStatusType;
90
+ /**
91
+ * Primary object involved (object that is common to notifications group)
92
+ * if it is a group. For some types of notifications it will not be present.
93
+ */
94
+ group?: SCGroupType;
86
95
  /**
87
96
  * List of aggregated notifications by type.
88
97
  * Types Object: NotificationTypeComment, NotificationTypeMention,
@@ -438,3 +447,16 @@ export interface SCNotificationContributionType extends SCNotificationType {
438
447
  */
439
448
  status?: SCFeedStatusType;
440
449
  }
450
+ /**
451
+ * Interface SCNotificationGroupActivityType.
452
+ */
453
+ export interface SCNotificationGroupActivityType extends SCNotificationType {
454
+ /**
455
+ * The user who performed the action
456
+ */
457
+ user: SCUserType;
458
+ /**
459
+ * The Group obj
460
+ */
461
+ group: Partial<SCGroupType>;
462
+ }
@@ -41,6 +41,10 @@ export var SCNotificationTypologyType;
41
41
  SCNotificationTypologyType["CUSTOM_NOTIFICATION"] = "custom_notification";
42
42
  SCNotificationTypologyType["NOTIFICATION_BANNER"] = "notification_banner";
43
43
  SCNotificationTypologyType["CONTRIBUTION"] = "contribution";
44
+ SCNotificationTypologyType["USER_INVITED_TO_JOIN_GROUP"] = "user_invited_to_join_group";
45
+ SCNotificationTypologyType["USER_REQUESTED_TO_JOIN_GROUP"] = "user_requested_to_join_group";
46
+ SCNotificationTypologyType["USER_ACCEPTED_TO_JOIN_GROUP"] = "user_accepted_to_join_group";
47
+ SCNotificationTypologyType["USER_ADDED_TO_GROUP"] = "user_added_to_group";
44
48
  })(SCNotificationTypologyType || (SCNotificationTypologyType = {}));
45
49
  /**
46
50
  * Define topic for notifications
@@ -3,6 +3,7 @@
3
3
  * Thread Private Message Schema.
4
4
  */
5
5
  import { SCUserType } from './user';
6
+ import { SCGroupType } from './group';
6
7
  export interface SCPrivateMessageThreadType {
7
8
  /**
8
9
  * Id of the message
@@ -12,6 +13,10 @@ export interface SCPrivateMessageThreadType {
12
13
  * Sender User
13
14
  */
14
15
  sender: SCUserType;
16
+ /**
17
+ * Group obj
18
+ */
19
+ group: SCGroupType;
15
20
  /**
16
21
  *Receiver User
17
22
  */
@@ -58,6 +63,10 @@ export interface SCPrivateMessageSnippetType {
58
63
  *Receiver User
59
64
  */
60
65
  receiver: SCUserType;
66
+ /**
67
+ *Group item
68
+ */
69
+ group?: SCGroupType;
61
70
  /**
62
71
  * Send date time
63
72
  */
@@ -81,6 +90,15 @@ export declare enum SCPrivateMessageStatusType {
81
90
  HIDDEN = "hidden",
82
91
  NEW = "new"
83
92
  }
93
+ /**
94
+ * Private Message type:
95
+ * it can be user or group type
96
+ */
97
+ export declare enum SCPrivateMessageType {
98
+ GROUP = "group",
99
+ USER = "user",
100
+ NEW = "new"
101
+ }
84
102
  export interface SCPrivateMessageFileType {
85
103
  /**
86
104
  * The file id
@@ -9,6 +9,16 @@ export var SCPrivateMessageStatusType;
9
9
  SCPrivateMessageStatusType["HIDDEN"] = "hidden";
10
10
  SCPrivateMessageStatusType["NEW"] = "new";
11
11
  })(SCPrivateMessageStatusType || (SCPrivateMessageStatusType = {}));
12
+ /**
13
+ * Private Message type:
14
+ * it can be user or group type
15
+ */
16
+ export var SCPrivateMessageType;
17
+ (function (SCPrivateMessageType) {
18
+ SCPrivateMessageType["GROUP"] = "group";
19
+ SCPrivateMessageType["USER"] = "user";
20
+ SCPrivateMessageType["NEW"] = "new";
21
+ })(SCPrivateMessageType || (SCPrivateMessageType = {}));
12
22
  /**
13
23
  * Private Message status:
14
24
  * created, deleted or hidden message
@@ -3,9 +3,11 @@
3
3
  */
4
4
  import { SCCategoryType } from './category';
5
5
  import { SCUserType } from './user';
6
+ import { SCGroupType } from './group';
6
7
  export declare enum SuggestionType {
7
8
  USER = "user",
8
- CATEGORY = "category"
9
+ CATEGORY = "category",
10
+ GROUP = "group"
9
11
  }
10
12
  /**
11
13
  * Interface SCSuggestionType.
@@ -16,4 +18,5 @@ export interface SCSuggestionType {
16
18
  score?: number;
17
19
  category?: SCCategoryType;
18
20
  user?: SCUserType;
21
+ group?: SCGroupType;
19
22
  }
@@ -2,4 +2,5 @@ export var SuggestionType;
2
2
  (function (SuggestionType) {
3
3
  SuggestionType["USER"] = "user";
4
4
  SuggestionType["CATEGORY"] = "category";
5
+ SuggestionType["GROUP"] = "group";
5
6
  })(SuggestionType || (SuggestionType = {}));
package/lib/umd/types.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see types.js.LICENSE.txt */
2
- !function(e,_){"object"==typeof exports&&"object"==typeof module?module.exports=_():"function"==typeof define&&define.amd?define([],_):"object"==typeof exports?exports.SelfCommunityTypes=_():e.SelfCommunityTypes=_()}(self,(()=>(()=>{"use strict";var e={665:(e,_)=>{let o;_.__esModule=!0,_.SCBroadcastMessageBannerType=void 0,_.SCBroadcastMessageBannerType=o,function(e){e.HTML="html_banner",e.NOTIFICATION="notification_banner"}(o||(_.SCBroadcastMessageBannerType=o={}))},511:(e,_)=>{let o;_.__esModule=!0,_.SCCategoryAutoFollowType=void 0,_.SCCategoryAutoFollowType=o,function(e){e.NONE="none",e.DEFAULT="default",e.FORCED="forced"}(o||(_.SCCategoryAutoFollowType=o={}))},444:(e,_)=>{let o;_.__esModule=!0,_.SCCommentsOrderBy=void 0,_.SCCommentsOrderBy=o,function(e){e.ADDED_AT_DESC="-added_at",e.ADDED_AT_ASC="added_at",e.CONNECTION_DESC="-connection",e.CONNECTION_ASC="connection"}(o||(_.SCCommentsOrderBy=o={}))},275:(e,_)=>{let o,t;_.__esModule=!0,_.SCContributionType=_.SCContributeStatusType=void 0,_.SCContributionType=o,function(e){e.DISCUSSION="discussion",e.POST="post",e.STATUS="status",e.COMMENT="comment"}(o||(_.SCContributionType=o={})),_.SCContributeStatusType=t,function(e){e.OPEN="open",e.IGNORED="ignored",e.HIDDEN="hidden",e.DELETED="deleted"}(t||(_.SCContributeStatusType=t={}))},386:(e,_)=>{let o;_.__esModule=!0,_.SCCustomAdvPosition=void 0,_.SCCustomAdvPosition=o,function(e){e.POSITION_BELOW_TOPBAR="BELOW_TOPBAR",e.POSITION_BELOW_FEED_OBJECT="BELOW_THE_POST",e.POSITION_ABOVE_FOOTER_BAR="ABOVE_FOOTER_BAR",e.POSITION_FOOTER_STICKY="FOOTER_STICKY",e.POSITION_IN_COMMENTS="IN_POST_COMMENTS",e.POSITION_RELATED_POSTS_COLUMN="RELATED_POSTS_COLUMN",e.POSITION_FEED_SIDEBAR="TOOLS_COLUMN",e.POSITION_FEED="IN_STREAM"}(o||(_.SCCustomAdvPosition=o={}))},767:(e,_)=>{let o;_.__esModule=!0,_.SCCustomPageTypeEnum=void 0,_.SCCustomPageTypeEnum=o,function(e){e.NORMAL="normal",e.LEGAL="legal"}(o||(_.SCCustomPageTypeEnum=o={}))},402:(e,_)=>{let o,t,E;_.__esModule=!0,_.SCDeviceTypeEnum=_.SCDeviceGcmTypeEnum=_.SCDeviceApnsTypeEnum=void 0,_.SCDeviceTypeEnum=o,function(e){e.ANDROID="Android",e.IOS="iOS"}(o||(_.SCDeviceTypeEnum=o={})),_.SCDeviceGcmTypeEnum=t,function(e){e.GCM="GCM",e.FCM="FCM"}(t||(_.SCDeviceGcmTypeEnum=t={})),_.SCDeviceApnsTypeEnum=E,function(e){e.APNS="APNS"}(E||(_.SCDeviceApnsTypeEnum=E={}))},22:(e,_)=>{let o;_.__esModule=!0,_.SCFeatureName=void 0,_.SCFeatureName=o,function(e){e.INTERESTS="interests",e.CUSTOMIZE="customize",e.ADDONS="addons",e.DOMAIN="domain",e.SOCIAL_PROVIDERS="social_providers",e.COMMUNITY_SUBSCRIPTION="community_subscription",e.SEO="seo",e.ADVERTISING="advertising",e.GOOGLE_CLOUD_API="google_cloud_api",e.HOTJAR="hotjar",e.SQREEN="sqreen",e.INCUBATORS="incubators",e.CMS="cms",e.LEGAL_PAGES="legal_pages",e.SCORING="scoring",e.USER_ROLES="user_roles",e.EMAIL_MANAGER="email_manager",e.LOYALTY="loyalty",e.BROADCAST="broadcast",e.INVITATION="invitation",e.APP_SETTINGS="app_settings",e.MODERATION_FLAGS="moderation_flags",e.MODERATION_CONTENTS="moderation_contents",e.MODERATION_USERS_BLOCKED="moderation_users_blocked",e.MODERATION_USERS="moderation_users",e.DATA_PROVISIONING_DASHBOARD="data_provisioning_dashboard",e.DATA_PROVISIONING_USERS="data_provisioning_users",e.DATA_PROVISIONING_CONTENTS="data_provisioning_contents",e.DATA_PROVISIONING_INTERESTS="data_provisioning_interests",e.DATA_PROVISIONING_POLLS="data_provisioning_polls",e.DATA_PROVISIONING_REPORTS="data_provisioning_reports",e.REGISTRATION_ALERTS="registration_alerts",e.SOCIAL_SHARE="social_share",e.FEED_SETTINGS="stream_settings",e.TAGGING="tagging",e.API_V2="api_v2",e.WEBHOOK="webhook",e.HEADLESS="headless",e.CUSTOMIZE_HEADLESS="customize_headless",e.SYSTEM_PAGES="system_pages",e.REACTION="reaction",e.PRIVATE_MESSAGING="private_messaging"}(o||(_.SCFeatureName=o={}))},505:(e,_)=>{let o,t;_.__esModule=!0,_.SCFeedUnitActivityTypologyType=_.SCFeedTypologyType=void 0,_.SCFeedTypologyType=o,function(e){e.HOME="home",e.EXPLORE="explore"}(o||(_.SCFeedTypologyType=o={})),_.SCFeedUnitActivityTypologyType=t,function(e){e.COMMENT="comment",e.VOTE="vote",e.POLLVOTE="pollvote",e.FOLLOW="follow"}(t||(_.SCFeedUnitActivityTypologyType=t={}))},561:(e,_)=>{let o,t;_.__esModule=!0,_.SCFlagTypeEnum=_.SCFlagModerationStatusType=void 0,_.SCFlagTypeEnum=o,function(e){e[e.SPAM=0]="SPAM",e[e.AGGRESSIVE=1]="AGGRESSIVE",e[e.VULGAR=2]="VULGAR",e[e.POOR=3]="POOR",e[e.OFFTOPIC=4]="OFFTOPIC"}(o||(_.SCFlagTypeEnum=o={})),_.SCFlagModerationStatusType=t,function(e){e.IGNORED="ignored",e.DELETED="deleted",e.HIDDEN="hidden"}(t||(_.SCFlagModerationStatusType=t={}))},554:(e,_)=>{let o;_.__esModule=!0,_.SCConnectionStatus=void 0,_.SCConnectionStatus=o,function(e){e.CONNECTED="connected",e.CONNECTION_REQUEST_SENT="sent_connection_request",e.CONNECTION_REQUEST_RECEIVED="received_connection_request"}(o||(_.SCConnectionStatus=o={}))},947:(e,_)=>{let o;_.__esModule=!0,_.SCIncubatorStatusType=void 0,_.SCIncubatorStatusType=o,function(e){e[e.PENDING=0]="PENDING",e[e.PROPOSAL=1]="PROPOSAL",e[e.APPROVED=2]="APPROVED",e[e.IGNORED=3]="IGNORED"}(o||(_.SCIncubatorStatusType=o={}))},994:(e,_,o)=>{_.__esModule=!0;var t=o(665);_.SCBroadcastMessageBannerType=t.SCBroadcastMessageBannerType;var E=o(386);_.SCCustomAdvPosition=E.SCCustomAdvPosition;var S=o(851);_.SCLanguageType=S.SCLanguageType;var T=o(967);_.SCUserReputationType=T.SCUserReputationType,_.SCUserStatus=T.SCUserStatus;var a=o(511);_.SCCategoryAutoFollowType=a.SCCategoryAutoFollowType;var n=o(584);_.SCMetadataTypeFieldType=n.SCMetadataTypeFieldType;var i=o(444);_.SCCommentsOrderBy=i.SCCommentsOrderBy;var O=o(461);_.SCMessageFileType=O.SCMessageFileType,_.SCPrivateMessageStatusType=O.SCPrivateMessageStatusType;var C=o(947);_.SCIncubatorStatusType=C.SCIncubatorStatusType;var s=o(303);_.SCPrizeUserStatusType=s.SCPrizeUserStatusType;var r=o(505);_.SCFeedTypologyType=r.SCFeedTypologyType,_.SCFeedUnitActivityTypologyType=r.SCFeedUnitActivityTypologyType;var N=o(768);_.SCNotificationTopicType=N.SCNotificationTopicType,_.SCNotificationTypologyType=N.SCNotificationTypologyType;var p=o(561);_.SCFlagModerationStatusType=p.SCFlagModerationStatusType,_.SCFlagTypeEnum=p.SCFlagTypeEnum;var A=o(767);_.SCCustomPageTypeEnum=A.SCCustomPageTypeEnum;var I=o(903);_.SCPreferenceSection=I.SCPreferenceSection,_.SCPreferenceName=I.SCPreferenceName;var l=o(22);_.SCFeatureName=l.SCFeatureName;var u=o(460);_.SCLegalPagePoliciesType=u.SCLegalPagePoliciesType;var L=o(275);_.SCContributeStatusType=L.SCContributeStatusType,_.SCContributionType=L.SCContributionType;var c=o(579);_.SuggestionType=c.SuggestionType;var y=o(554);_.SCConnectionStatus=y.SCConnectionStatus;var R=o(402);_.SCDeviceApnsTypeEnum=R.SCDeviceApnsTypeEnum,_.SCDeviceTypeEnum=R.SCDeviceTypeEnum},460:(e,_)=>{let o;_.__esModule=!0,_.SCLegalPagePoliciesType=void 0,_.SCLegalPagePoliciesType=o,function(e){e.TERMS_AND_CONDITIONS="tec",e.PRIVACY="privacy"}(o||(_.SCLegalPagePoliciesType=o={}))},851:(e,_)=>{let o;_.__esModule=!0,_.SCLanguageType=void 0,_.SCLanguageType=o,function(e){e.EN="en",e.IT="it"}(o||(_.SCLanguageType=o={}))},584:(e,_)=>{let o;_.__esModule=!0,_.SCMetadataTypeFieldType=void 0,_.SCMetadataTypeFieldType=o,function(e){e.STRING="string",e.EMAIL="email",e.URL="url",e.ENUM="enum",e.PHONE_NUMBER="phone_number",e.CHECKBOX="checkbox"}(o||(_.SCMetadataTypeFieldType=o={}))},768:(e,_)=>{let o,t;_.__esModule=!0,_.SCNotificationTypologyType=_.SCNotificationTopicType=void 0,_.SCNotificationTypologyType=o,function(e){e.COMMENT="comment",e.NESTED_COMMENT="nested_comment",e.CONNECTION_REQUEST="connection_request",e.CONNECTION_ACCEPT="connection_accept",e.CONNECTION_REMOVE="connection_remove",e.CONNECTION_REJECT="connection_reject",e.CONNECTION_CANCEL_REJECT="connection_cancel_reject",e.CONNECTION_CANCEL_REQUEST="connection_cancel_request",e.MENTION="mention",e.VOTE_UP="vote_up",e.FOLLOW="follow",e.PRIVATE_MESSAGE="private_message",e.DELETE_PRIVATE_MESSAGE="delete_private_message",e.DELETED_FOR_ADVERTISING="deleted_for_advertising",e.DELETED_FOR_AGGRESSIVE="deleted_for_aggressive",e.DELETED_FOR_VULGAR="deleted_for_vulgar",e.DELETED_FOR_POOR="deleted_for_poor",e.DELETED_FOR_OFFTOPIC="deleted_for_offtopic",e.UNDELETED_FOR="undeleted_for",e.COLLAPSED_FOR_ADVERTISING="collapsed_for_advertising",e.COLLAPSED_FOR_AGGRESSIVE="collapsed_for_aggressive",e.COLLAPSED_FOR_VULGAR="collapsed_for_vulgar",e.COLLAPSED_FOR_POOR="collapsed_for_poor",e.COLLAPSED_FOR_OFFTOPIC="collapsed_for_offtopic",e.USER_FOLLOW="user_follow",e.USER_UNFOLLOW="user_unfollow",e.KINDLY_NOTICE_ADVERTISING="kindly_notice_advertising",e.KINDLY_NOTICE_AGGRESSIVE="kindly_notice_aggressive",e.KINDLY_NOTICE_VULGAR="kindly_notice_vulgar",e.KINDLY_NOTICE_POOR="kindly_notice_poor",e.KINDLY_NOTICE_OFFTOPIC="kindly_notice_offtopic",e.KINDLY_NOTICE_FLAG="kindly_notice_flag",e.BLOCKED_USER="blocked_user",e.UNBLOCKED_USER="unblocked_user",e.INCUBATOR_APPROVED="incubator_approved",e.CUSTOM_NOTIFICATION="custom_notification",e.NOTIFICATION_BANNER="notification_banner",e.CONTRIBUTION="contribution"}(o||(_.SCNotificationTypologyType=o={})),_.SCNotificationTopicType=t,function(e){e.INTERACTION="interaction",e.NEWS="news"}(t||(_.SCNotificationTopicType=t={}))},903:(e,_)=>{let o,t;_.__esModule=!0,_.SCPreferenceSection=_.SCPreferenceName=void 0,_.SCPreferenceSection=o,function(e){e.TEXT="text",e.STYLE="style",e.LOGO="logo",e.COLORS="colors",e.COVERS="covers",e.IMAGES="images",e.STAFF="staff",e.LOYALTY="loyalty",e.ADDONS="addons",e.ADVERTISING="advertising",e.CONFIGURATIONS="configurations",e.PROVIDERS="providers",e.WEBMASTER="webmaster"}(o||(_.SCPreferenceSection=o={})),_.SCPreferenceName=t,function(e){e.APPLICATION_NAME="application_name",e.APPLICATION_SLOGAN1="application_slogan1",e.APPLICATION_SLOGAN2="application_slogan2",e.APPLICATION_COPYRIGHT="application_copyright",e.FONT_FAMILY="font_family",e.NAVBAR_LOGO="navbar_logo",e.NAVBAR_LOGO_MOBILE="navbar_logo_mobile",e.COLORBACK="colorback",e.COLORPRIMARY="colorprimary",e.COLORSECONDARY="colorsecondary",e.NAVBARBACK="navbarback",e.SUBMENUBACK="submenuback",e.COLORFONT="font_color",e.COVER_1_HP_M1920="cover_1_hp_m1920",e.COVER_2_HP_M1920="cover_2_hp_m1920",e.COVER_3_HP_M1920="cover_3_hp_m1920",e.COVER_4_HP_M1920="cover_4_hp_m1920",e.COVERS_VISIBILITY="covers_visibility",e.APP_ICON="app_icon",e.USER_DEFAULT_COVER="user_default_cover",e.ERROR_404="error_404",e.ERROR_503="error_503",e.ERRORPAGES_IMAGE="errorpages_image",e.STAFF_BADGE_ICON="staff_badge_icon",e.STAFF_BADGE_LABEL="staff_badge_label",e.PRIZE_A_IMAGE="prize_a_image",e.PRIZE_B_IMAGE="prize_b_image",e.PRIZE_C_IMAGE="prize_c_image",e.POINTS_MAKE_DISCUSSION="points_make_discussion",e.POINTS_MAKE_POST="points_make_post",e.POINTS_MAKE_COMMENT="points_make_comment",e.POINTS_RECEIVE_VOTE="points_receive_vote",e.POINTS_CONNECTION_OR_FOLLOWER="points_connection_or_follower",e.POINTS_SOCIAL_SHARE="points_social_share",e.POINTS_APP_USED="points_app_used",e.POINTS_DAILY_VISIT="points_daily_visit",e.AFFINIDY_ENABLED="affinity_enabled",e.CLOSED_COMMUNITY="closed_community",e.INCUBATOR_ENABLED="incubator_enabled",e.INCUBATOR_SUBSCRIBERS="incubator_subscribers",e.LOYALTY_POINTS_COLLECTION="loyalty_points_collection",e.POLLS_ENABLED="polls_enabled",e.REGISTRATION_WIZARD="registration_wizard",e.VIDEO_UPLOAD_ENABLED="video_upload_enabled",e.VIMEO_TOKEN_UPLOAD="vimeo_token_upload",e.VIMEO_TOKEN_DELETE="vimeo_token_delete",e.VIDEO_UPLOAD_ONLY_FOR_STAFF="video_upload_only_for_staff",e.POST_GEOLOCATION_ENABLED="post_geolocation_enabled",e.SHARE_POST_ON_FACEBOOK_ENABLED="share_post_on_facebook_enabled",e.SHARE_POST_ON_TWITTER_ENABLED="share_post_on_twitter_enabled",e.SHARE_POST_ON_LINKEDIN_ENABLED="share_post_on_linkedin_enabled",e.CUSTOM_ADV_ENABLED="custom_adv_enabled",e.CUSTOM_ADV_ONLY_FOR_ANONYMOUS_USERS_ENABLED="custom_adv_only_for_anonymous_users_enabled",e.FOLLOW_ENABLED="follow_enabled",e.EXPLORE_STREAM_ENABLED="explore_stream_enabled",e.EXPLORE_STREAM_ORDER_BY="explore_stream_order_by",e.HOME_STREAM_ORDER_BY="home_stream_order_by",e.MANUAL_CATEGORIES_ORDER_ENABLED="manual_categories_order_enabled",e.PEOPLE_SEARCH_ENABLED="people_search_enabled",e.POST_ONLY_STAFF_ENABLED="post_only_staff_enabled",e.STREAM_QUALITY="stream_quality",e.CONTENT_AVAILABILITY="content_availability",e.USERS_APPROVAL_ENABLED="users_approval_enabled",e.POST_TYPE_ENABLED="post_type_enabled",e.DISCUSSION_TYPE_ENABLED="discussion_type_enabled",e.STATUS_TYPE_ENABLED="status_type_enabled",e.URL_TEMPLATE_EMAIL_SETTINGS="url_template_email_settings",e.URL_TEMPLATE_EMAIL_UNSUBSCRIBE="url_template_email_unsubscribe",e.URL_TEMPLATE_PASSWORD_RECOVER="url_template_password_recover",e.URL_TEMPLATE_VERIFY_EMAIL="url_template_verify_email",e.URL_TEMPLATE_POST="url_template_post",e.URL_TEMPLATE_DISCUSSION="url_template_discussion",e.URL_TEMPLATE_STATUS="url_template_status",e.URL_TEMPLATE_COMMENT="url_template_comment",e.URL_TEMPLATE_CATEGORY="url_template_category",e.URL_TEMPLATE_CATEGORIES_LIST="url_template_categories_list",e.URL_TEMPLATE_USER_PROFILE="url_template_profile",e.URL_TEMPLATE_USER_PROFILE_SETTINGS="url_template_profile_settings",e.URL_TEMPLATE_NOTIFICATIONS="url_template_notifications",e.URL_TEMPLATE_USER_PRIVATE_MESSAGES="url_template_private_message",e.URL_TEMPLATE_INCUBATOR="url_template_incubator",e.USER_METADATA_DEFINITIONS="user_metadata_definition",e.TAG_MANAGER_CONTAINER_ID="tag_manager_container_id",e.GDPR_COOKIE_CONSENT_EXTERNAL_HTML="gdpr_cookie_consent_external_html",e.GDPR_SIGNUP_ACCEPT_HTML="gdpr_signup_accept_html",e.APP_URL_ON_APP_STORE="app_url_on_app_store",e.APP_URL_ON_GOOGLE_PLAY="app_url_on_google_play",e.FACEBOOK_SIGNIN_ENABLED="facebook_signin_enabled",e.FACEBOOK_APP_KEY="facebook_app_key",e.FACEBOOK_APP_SECRET="facebook_app_secret",e.LINKEDIN_SIGNIN_ENABLED="linkedin_signin_enabled",e.LINKEDIN_APP_KEY="linkedin_app_key",e.LINKEDIN_APP_SECRET="linkedin_app_secret",e.TWITTER_SIGNIN_ENABLED="twitter_signin_enabled",e.TWITTER_APP_KEY="twitter_app_key",e.TWITTER_APP_SECRET="twitter_app_secret",e.GOOGLE_GEOCODING_API_KEY="google_geocoding_api_key",e.GOOGLE_SIGNIN_ENABLED="google_signin_enabled",e.GOOGLE_APP_KEY="google_app_key",e.GOOGLE_APP_SECRET="google_app_secret",e.WEB_PUSH_PUBLIC_KEY="web_push_public_key",e.WEB_PUSH_ENABLED="web_push_enabled",e.META_ROBOTS="meta_robots",e.META_TITLE_HOME_NOT_LOGGED="meta_title_home_not_logged",e.META_DESCRIPTION="meta_description"}(t||(_.SCPreferenceName=t={}))},461:(e,_)=>{let o,t;_.__esModule=!0,_.SCPrivateMessageStatusType=_.SCMessageFileType=void 0,_.SCPrivateMessageStatusType=o,function(e){e.CREATED="created",e.DELETED="deleted",e.HIDDEN="hidden",e.NEW="new"}(o||(_.SCPrivateMessageStatusType=o={})),_.SCMessageFileType=t,function(e){e.DOCUMENT="application/",e.IMAGE="image/",e.VIDEO="video/",e.PDF="application/pdf",e.AUDIO="audio/"}(t||(_.SCMessageFileType=t={}))},303:(e,_)=>{let o;_.__esModule=!0,_.SCPrizeUserStatusType=void 0,_.SCPrizeUserStatusType=o,function(e){e[e.PENDING=0]="PENDING",e[e.REFUSED=1]="REFUSED",e[e.SENT=2]="SENT"}(o||(_.SCPrizeUserStatusType=o={}))},579:(e,_)=>{let o;_.__esModule=!0,_.SuggestionType=void 0,_.SuggestionType=o,function(e){e.USER="user",e.CATEGORY="category"}(o||(_.SuggestionType=o={}))},967:(e,_)=>{let o,t;_.__esModule=!0,_.SCUserStatus=_.SCUserReputationType=void 0,_.SCUserStatus=o,function(e){e.APPROVED="a",e.BLOCKED="b",e.DELETED="d",e.UNREGISTERED="u"}(o||(_.SCUserStatus=o={})),_.SCUserReputationType=t,function(e){e[e.GAIN_BY_UPVOTED=1]="GAIN_BY_UPVOTED",e[e.ASSIGNED_BY_MODERATOR=10]="ASSIGNED_BY_MODERATOR",e[e.GAIN_BY_CANCELLING_CONTRIBUTE_MODERATION=11]="GAIN_BY_CANCELLING_CONTRIBUTE_MODERATION",e[e.GAIN_BY_MAKE_POST=12]="GAIN_BY_MAKE_POST",e[e.GAIN_BY_MAKE_FIRST_LEVEL_COMMENT=13]="GAIN_BY_MAKE_FIRST_LEVEL_COMMENT",e[e.GAIN_BY_MAKE_SECOND_LEVEL_COMMENT=14]="GAIN_BY_MAKE_SECOND_LEVEL_COMMENT",e[e.GAIN_BY_CONNECTION=15]="GAIN_BY_CONNECTION",e[e.GAIN_BY_APP_USED=17]="GAIN_BY_APP_USED",e[e.GAIN_BY_DAILY_VISIT=18]="GAIN_BY_DAILY_VISIT",e[e.GAIN_BY_FOLLOWER=19]="GAIN_BY_FOLLOWER",e[e.GAIN_BY_UNBLOCK_ACCOUNT=20]="GAIN_BY_UNBLOCK_ACCOUNT",e[e.LOSE_BY_UPVOTE_CANCELED=-1]="LOSE_BY_UPVOTE_CANCELED",e[e.LOSE_BY_CONTRIBUTE_MODERATION=-11]="LOSE_BY_CONTRIBUTE_MODERATION",e[e.LOSE_BY_DELETE_POST=-12]="LOSE_BY_DELETE_POST",e[e.LOSE_BY_DELETE_FIRST_LEVEL_COMMENT=-13]="LOSE_BY_DELETE_FIRST_LEVEL_COMMENT",e[e.LOSE_BY_DELETE_SECOND_LEVEL_COMMENT=-14]="LOSE_BY_DELETE_SECOND_LEVEL_COMMENT",e[e.LOSE_BY_CONNECTION=-15]="LOSE_BY_CONNECTION",e[e.LOSE_BY_FOLLOWER=-19]="LOSE_BY_FOLLOWER",e[e.LOSE_BY_BLOCK_ACCOUNT=-20]="LOSE_BY_BLOCK_ACCOUNT"}(t||(_.SCUserReputationType=t={}))}},_={};function o(t){var E=_[t];if(void 0!==E)return E.exports;var S=_[t]={exports:{}};return e[t](S,S.exports,o),S.exports}var t={};return(()=>{var e=t;e.__esModule=!0;var _=o(994);e.SCContributionType=_.SCContributionType,e.SCBroadcastMessageBannerType=_.SCBroadcastMessageBannerType,e.SCCategoryAutoFollowType=_.SCCategoryAutoFollowType,e.SCCommentsOrderBy=_.SCCommentsOrderBy,e.SCCustomAdvPosition=_.SCCustomAdvPosition,e.SCCustomPageTypeEnum=_.SCCustomPageTypeEnum,e.SCDeviceTypeEnum=_.SCDeviceTypeEnum,e.SCDeviceApnsTypeEnum=_.SCDeviceApnsTypeEnum,e.SCFeatureName=_.SCFeatureName,e.SCFeedTypologyType=_.SCFeedTypologyType,e.SCFeedUnitActivityTypologyType=_.SCFeedUnitActivityTypologyType,e.SCFlagTypeEnum=_.SCFlagTypeEnum,e.SCFlagModerationStatusType=_.SCFlagModerationStatusType,e.SCConnectionStatus=_.SCConnectionStatus,e.SCIncubatorStatusType=_.SCIncubatorStatusType,e.SCLegalPagePoliciesType=_.SCLegalPagePoliciesType,e.SCLanguageType=_.SCLanguageType,e.SCNotificationTypologyType=_.SCNotificationTypologyType,e.SCNotificationTopicType=_.SCNotificationTopicType,e.SCPreferenceSection=_.SCPreferenceSection,e.SCPreferenceName=_.SCPreferenceName,e.SCMessageFileType=_.SCMessageFileType,e.SCPrizeUserStatusType=_.SCPrizeUserStatusType,e.SCUserStatus=_.SCUserStatus,e.SuggestionType=_.SuggestionType,e.SCPrivateMessageStatusType=_.SCPrivateMessageStatusType,e.SCMetadataTypeFieldType=_.SCMetadataTypeFieldType})(),t})()));
2
+ !function(e,_){"object"==typeof exports&&"object"==typeof module?module.exports=_():"function"==typeof define&&define.amd?define([],_):"object"==typeof exports?exports.SelfCommunityTypes=_():e.SelfCommunityTypes=_()}(self,(()=>(()=>{"use strict";var e={665:(e,_)=>{let o;_.__esModule=!0,_.SCBroadcastMessageBannerType=void 0,_.SCBroadcastMessageBannerType=o,function(e){e.HTML="html_banner",e.NOTIFICATION="notification_banner"}(o||(_.SCBroadcastMessageBannerType=o={}))},511:(e,_)=>{let o;_.__esModule=!0,_.SCCategoryAutoFollowType=void 0,_.SCCategoryAutoFollowType=o,function(e){e.NONE="none",e.DEFAULT="default",e.FORCED="forced"}(o||(_.SCCategoryAutoFollowType=o={}))},444:(e,_)=>{let o;_.__esModule=!0,_.SCCommentsOrderBy=void 0,_.SCCommentsOrderBy=o,function(e){e.ADDED_AT_DESC="-added_at",e.ADDED_AT_ASC="added_at",e.CONNECTION_DESC="-connection",e.CONNECTION_ASC="connection"}(o||(_.SCCommentsOrderBy=o={}))},275:(e,_)=>{let o,t;_.__esModule=!0,_.SCContributionType=_.SCContributeStatusType=void 0,_.SCContributionType=o,function(e){e.DISCUSSION="discussion",e.POST="post",e.STATUS="status",e.COMMENT="comment"}(o||(_.SCContributionType=o={})),_.SCContributeStatusType=t,function(e){e.OPEN="open",e.IGNORED="ignored",e.HIDDEN="hidden",e.DELETED="deleted"}(t||(_.SCContributeStatusType=t={}))},386:(e,_)=>{let o;_.__esModule=!0,_.SCCustomAdvPosition=void 0,_.SCCustomAdvPosition=o,function(e){e.POSITION_BELOW_TOPBAR="BELOW_TOPBAR",e.POSITION_BELOW_FEED_OBJECT="BELOW_THE_POST",e.POSITION_ABOVE_FOOTER_BAR="ABOVE_FOOTER_BAR",e.POSITION_FOOTER_STICKY="FOOTER_STICKY",e.POSITION_IN_COMMENTS="IN_POST_COMMENTS",e.POSITION_RELATED_POSTS_COLUMN="RELATED_POSTS_COLUMN",e.POSITION_FEED_SIDEBAR="TOOLS_COLUMN",e.POSITION_FEED="IN_STREAM"}(o||(_.SCCustomAdvPosition=o={}))},767:(e,_)=>{let o;_.__esModule=!0,_.SCCustomPageTypeEnum=void 0,_.SCCustomPageTypeEnum=o,function(e){e.NORMAL="normal",e.LEGAL="legal"}(o||(_.SCCustomPageTypeEnum=o={}))},402:(e,_)=>{let o,t,E;_.__esModule=!0,_.SCDeviceTypeEnum=_.SCDeviceGcmTypeEnum=_.SCDeviceApnsTypeEnum=void 0,_.SCDeviceTypeEnum=o,function(e){e.ANDROID="Android",e.IOS="iOS"}(o||(_.SCDeviceTypeEnum=o={})),_.SCDeviceGcmTypeEnum=t,function(e){e.GCM="GCM",e.FCM="FCM"}(t||(_.SCDeviceGcmTypeEnum=t={})),_.SCDeviceApnsTypeEnum=E,function(e){e.APNS="APNS"}(E||(_.SCDeviceApnsTypeEnum=E={}))},22:(e,_)=>{let o;_.__esModule=!0,_.SCFeatureName=void 0,_.SCFeatureName=o,function(e){e.INTERESTS="interests",e.CUSTOMIZE="customize",e.ADDONS="addons",e.DOMAIN="domain",e.SOCIAL_PROVIDERS="social_providers",e.COMMUNITY_SUBSCRIPTION="community_subscription",e.SEO="seo",e.ADVERTISING="advertising",e.GOOGLE_CLOUD_API="google_cloud_api",e.HOTJAR="hotjar",e.SQREEN="sqreen",e.INCUBATORS="incubators",e.CMS="cms",e.LEGAL_PAGES="legal_pages",e.SCORING="scoring",e.USER_ROLES="user_roles",e.EMAIL_MANAGER="email_manager",e.LOYALTY="loyalty",e.BROADCAST="broadcast",e.INVITATION="invitation",e.APP_SETTINGS="app_settings",e.MODERATION_FLAGS="moderation_flags",e.MODERATION_CONTENTS="moderation_contents",e.MODERATION_USERS_BLOCKED="moderation_users_blocked",e.MODERATION_USERS="moderation_users",e.DATA_PROVISIONING_DASHBOARD="data_provisioning_dashboard",e.DATA_PROVISIONING_USERS="data_provisioning_users",e.DATA_PROVISIONING_CONTENTS="data_provisioning_contents",e.DATA_PROVISIONING_INTERESTS="data_provisioning_interests",e.DATA_PROVISIONING_POLLS="data_provisioning_polls",e.DATA_PROVISIONING_REPORTS="data_provisioning_reports",e.REGISTRATION_ALERTS="registration_alerts",e.SOCIAL_SHARE="social_share",e.FEED_SETTINGS="stream_settings",e.TAGGING="tagging",e.API_V2="api_v2",e.WEBHOOK="webhook",e.HEADLESS="headless",e.CUSTOMIZE_HEADLESS="customize_headless",e.SYSTEM_PAGES="system_pages",e.REACTION="reaction",e.PRIVATE_MESSAGING="private_messaging",e.GROUPING="grouping"}(o||(_.SCFeatureName=o={}))},505:(e,_)=>{let o,t;_.__esModule=!0,_.SCFeedUnitActivityTypologyType=_.SCFeedTypologyType=void 0,_.SCFeedTypologyType=o,function(e){e.HOME="home",e.EXPLORE="explore"}(o||(_.SCFeedTypologyType=o={})),_.SCFeedUnitActivityTypologyType=t,function(e){e.COMMENT="comment",e.VOTE="vote",e.POLLVOTE="pollvote",e.FOLLOW="follow"}(t||(_.SCFeedUnitActivityTypologyType=t={}))},561:(e,_)=>{let o,t;_.__esModule=!0,_.SCFlagTypeEnum=_.SCFlagModerationStatusType=void 0,_.SCFlagTypeEnum=o,function(e){e[e.SPAM=0]="SPAM",e[e.AGGRESSIVE=1]="AGGRESSIVE",e[e.VULGAR=2]="VULGAR",e[e.POOR=3]="POOR",e[e.OFFTOPIC=4]="OFFTOPIC"}(o||(_.SCFlagTypeEnum=o={})),_.SCFlagModerationStatusType=t,function(e){e.IGNORED="ignored",e.DELETED="deleted",e.HIDDEN="hidden"}(t||(_.SCFlagModerationStatusType=t={}))},554:(e,_)=>{let o;_.__esModule=!0,_.SCConnectionStatus=void 0,_.SCConnectionStatus=o,function(e){e.CONNECTED="connected",e.CONNECTION_REQUEST_SENT="sent_connection_request",e.CONNECTION_REQUEST_RECEIVED="received_connection_request"}(o||(_.SCConnectionStatus=o={}))},56:(e,_)=>{let o,t;_.__esModule=!0,_.SCGroupSubscriptionStatusType=_.SCGroupPrivacyType=void 0,_.SCGroupPrivacyType=o,function(e){e.PUBLIC="public",e.PRIVATE="private"}(o||(_.SCGroupPrivacyType=o={})),_.SCGroupSubscriptionStatusType=t,function(e){e.SUBSCRIBED="subscribed",e.REQUESTED="requested",e.INVITED="invited"}(t||(_.SCGroupSubscriptionStatusType=t={}))},947:(e,_)=>{let o;_.__esModule=!0,_.SCIncubatorStatusType=void 0,_.SCIncubatorStatusType=o,function(e){e[e.PENDING=0]="PENDING",e[e.PROPOSAL=1]="PROPOSAL",e[e.APPROVED=2]="APPROVED",e[e.IGNORED=3]="IGNORED"}(o||(_.SCIncubatorStatusType=o={}))},994:(e,_,o)=>{_.__esModule=!0;var t=o(665);_.SCBroadcastMessageBannerType=t.SCBroadcastMessageBannerType;var E=o(386);_.SCCustomAdvPosition=E.SCCustomAdvPosition;var S=o(851);_.SCLanguageType=S.SCLanguageType;var T=o(967);_.SCUserReputationType=T.SCUserReputationType,_.SCUserStatus=T.SCUserStatus;var a=o(511);_.SCCategoryAutoFollowType=a.SCCategoryAutoFollowType;var i=o(584);_.SCMetadataTypeFieldType=i.SCMetadataTypeFieldType;var n=o(444);_.SCCommentsOrderBy=n.SCCommentsOrderBy;var C=o(461);_.SCMessageFileType=C.SCMessageFileType,_.SCPrivateMessageStatusType=C.SCPrivateMessageStatusType,_.SCPrivateMessageType=C.SCPrivateMessageType;var O=o(947);_.SCIncubatorStatusType=O.SCIncubatorStatusType;var s=o(303);_.SCPrizeUserStatusType=s.SCPrizeUserStatusType;var r=o(505);_.SCFeedTypologyType=r.SCFeedTypologyType,_.SCFeedUnitActivityTypologyType=r.SCFeedUnitActivityTypologyType;var p=o(768);_.SCNotificationTopicType=p.SCNotificationTopicType,_.SCNotificationTypologyType=p.SCNotificationTypologyType;var N=o(561);_.SCFlagModerationStatusType=N.SCFlagModerationStatusType,_.SCFlagTypeEnum=N.SCFlagTypeEnum;var A=o(767);_.SCCustomPageTypeEnum=A.SCCustomPageTypeEnum;var u=o(903);_.SCPreferenceSection=u.SCPreferenceSection,_.SCPreferenceName=u.SCPreferenceName;var I=o(22);_.SCFeatureName=I.SCFeatureName;var l=o(460);_.SCLegalPagePoliciesType=l.SCLegalPagePoliciesType;var c=o(275);_.SCContributeStatusType=c.SCContributeStatusType,_.SCContributionType=c.SCContributionType;var y=o(579);_.SuggestionType=y.SuggestionType;var L=o(554);_.SCConnectionStatus=L.SCConnectionStatus;var R=o(402);_.SCDeviceApnsTypeEnum=R.SCDeviceApnsTypeEnum,_.SCDeviceTypeEnum=R.SCDeviceTypeEnum;var P=o(56);_.SCGroupPrivacyType=P.SCGroupPrivacyType,_.SCGroupSubscriptionStatusType=P.SCGroupSubscriptionStatusType},460:(e,_)=>{let o;_.__esModule=!0,_.SCLegalPagePoliciesType=void 0,_.SCLegalPagePoliciesType=o,function(e){e.TERMS_AND_CONDITIONS="tec",e.PRIVACY="privacy"}(o||(_.SCLegalPagePoliciesType=o={}))},851:(e,_)=>{let o;_.__esModule=!0,_.SCLanguageType=void 0,_.SCLanguageType=o,function(e){e.EN="en",e.IT="it"}(o||(_.SCLanguageType=o={}))},584:(e,_)=>{let o;_.__esModule=!0,_.SCMetadataTypeFieldType=void 0,_.SCMetadataTypeFieldType=o,function(e){e.STRING="string",e.EMAIL="email",e.URL="url",e.ENUM="enum",e.PHONE_NUMBER="phone_number",e.CHECKBOX="checkbox"}(o||(_.SCMetadataTypeFieldType=o={}))},768:(e,_)=>{let o,t;_.__esModule=!0,_.SCNotificationTypologyType=_.SCNotificationTopicType=void 0,_.SCNotificationTypologyType=o,function(e){e.COMMENT="comment",e.NESTED_COMMENT="nested_comment",e.CONNECTION_REQUEST="connection_request",e.CONNECTION_ACCEPT="connection_accept",e.CONNECTION_REMOVE="connection_remove",e.CONNECTION_REJECT="connection_reject",e.CONNECTION_CANCEL_REJECT="connection_cancel_reject",e.CONNECTION_CANCEL_REQUEST="connection_cancel_request",e.MENTION="mention",e.VOTE_UP="vote_up",e.FOLLOW="follow",e.PRIVATE_MESSAGE="private_message",e.DELETE_PRIVATE_MESSAGE="delete_private_message",e.DELETED_FOR_ADVERTISING="deleted_for_advertising",e.DELETED_FOR_AGGRESSIVE="deleted_for_aggressive",e.DELETED_FOR_VULGAR="deleted_for_vulgar",e.DELETED_FOR_POOR="deleted_for_poor",e.DELETED_FOR_OFFTOPIC="deleted_for_offtopic",e.UNDELETED_FOR="undeleted_for",e.COLLAPSED_FOR_ADVERTISING="collapsed_for_advertising",e.COLLAPSED_FOR_AGGRESSIVE="collapsed_for_aggressive",e.COLLAPSED_FOR_VULGAR="collapsed_for_vulgar",e.COLLAPSED_FOR_POOR="collapsed_for_poor",e.COLLAPSED_FOR_OFFTOPIC="collapsed_for_offtopic",e.USER_FOLLOW="user_follow",e.USER_UNFOLLOW="user_unfollow",e.KINDLY_NOTICE_ADVERTISING="kindly_notice_advertising",e.KINDLY_NOTICE_AGGRESSIVE="kindly_notice_aggressive",e.KINDLY_NOTICE_VULGAR="kindly_notice_vulgar",e.KINDLY_NOTICE_POOR="kindly_notice_poor",e.KINDLY_NOTICE_OFFTOPIC="kindly_notice_offtopic",e.KINDLY_NOTICE_FLAG="kindly_notice_flag",e.BLOCKED_USER="blocked_user",e.UNBLOCKED_USER="unblocked_user",e.INCUBATOR_APPROVED="incubator_approved",e.CUSTOM_NOTIFICATION="custom_notification",e.NOTIFICATION_BANNER="notification_banner",e.CONTRIBUTION="contribution",e.USER_INVITED_TO_JOIN_GROUP="user_invited_to_join_group",e.USER_REQUESTED_TO_JOIN_GROUP="user_requested_to_join_group",e.USER_ACCEPTED_TO_JOIN_GROUP="user_accepted_to_join_group",e.USER_ADDED_TO_GROUP="user_added_to_group"}(o||(_.SCNotificationTypologyType=o={})),_.SCNotificationTopicType=t,function(e){e.INTERACTION="interaction",e.NEWS="news"}(t||(_.SCNotificationTopicType=t={}))},903:(e,_)=>{let o,t;_.__esModule=!0,_.SCPreferenceSection=_.SCPreferenceName=void 0,_.SCPreferenceSection=o,function(e){e.TEXT="text",e.STYLE="style",e.LOGO="logo",e.COLORS="colors",e.COVERS="covers",e.IMAGES="images",e.STAFF="staff",e.LOYALTY="loyalty",e.ADDONS="addons",e.ADVERTISING="advertising",e.CONFIGURATIONS="configurations",e.PROVIDERS="providers",e.WEBMASTER="webmaster"}(o||(_.SCPreferenceSection=o={})),_.SCPreferenceName=t,function(e){e.APPLICATION_NAME="application_name",e.APPLICATION_SLOGAN1="application_slogan1",e.APPLICATION_SLOGAN2="application_slogan2",e.APPLICATION_COPYRIGHT="application_copyright",e.FONT_FAMILY="font_family",e.NAVBAR_LOGO="navbar_logo",e.NAVBAR_LOGO_MOBILE="navbar_logo_mobile",e.COLORBACK="colorback",e.COLORPRIMARY="colorprimary",e.COLORSECONDARY="colorsecondary",e.NAVBARBACK="navbarback",e.SUBMENUBACK="submenuback",e.COLORFONT="font_color",e.COVER_1_HP_M1920="cover_1_hp_m1920",e.COVER_2_HP_M1920="cover_2_hp_m1920",e.COVER_3_HP_M1920="cover_3_hp_m1920",e.COVER_4_HP_M1920="cover_4_hp_m1920",e.COVERS_VISIBILITY="covers_visibility",e.APP_ICON="app_icon",e.USER_DEFAULT_COVER="user_default_cover",e.ERROR_404="error_404",e.ERROR_503="error_503",e.ERRORPAGES_IMAGE="errorpages_image",e.STAFF_BADGE_ICON="staff_badge_icon",e.STAFF_BADGE_LABEL="staff_badge_label",e.PRIZE_A_IMAGE="prize_a_image",e.PRIZE_B_IMAGE="prize_b_image",e.PRIZE_C_IMAGE="prize_c_image",e.POINTS_MAKE_DISCUSSION="points_make_discussion",e.POINTS_MAKE_POST="points_make_post",e.POINTS_MAKE_COMMENT="points_make_comment",e.POINTS_RECEIVE_VOTE="points_receive_vote",e.POINTS_CONNECTION_OR_FOLLOWER="points_connection_or_follower",e.POINTS_SOCIAL_SHARE="points_social_share",e.POINTS_APP_USED="points_app_used",e.POINTS_DAILY_VISIT="points_daily_visit",e.AFFINIDY_ENABLED="affinity_enabled",e.CLOSED_COMMUNITY="closed_community",e.INCUBATOR_ENABLED="incubator_enabled",e.INCUBATOR_SUBSCRIBERS="incubator_subscribers",e.LOYALTY_POINTS_COLLECTION="loyalty_points_collection",e.POLLS_ENABLED="polls_enabled",e.REGISTRATION_WIZARD="registration_wizard",e.VIDEO_UPLOAD_ENABLED="video_upload_enabled",e.VIMEO_TOKEN_UPLOAD="vimeo_token_upload",e.VIMEO_TOKEN_DELETE="vimeo_token_delete",e.VIDEO_UPLOAD_ONLY_FOR_STAFF="video_upload_only_for_staff",e.POST_GEOLOCATION_ENABLED="post_geolocation_enabled",e.SHARE_POST_ON_FACEBOOK_ENABLED="share_post_on_facebook_enabled",e.SHARE_POST_ON_TWITTER_ENABLED="share_post_on_twitter_enabled",e.SHARE_POST_ON_LINKEDIN_ENABLED="share_post_on_linkedin_enabled",e.CUSTOM_ADV_ENABLED="custom_adv_enabled",e.CUSTOM_ADV_ONLY_FOR_ANONYMOUS_USERS_ENABLED="custom_adv_only_for_anonymous_users_enabled",e.FOLLOW_ENABLED="follow_enabled",e.EXPLORE_STREAM_ENABLED="explore_stream_enabled",e.EXPLORE_STREAM_ORDER_BY="explore_stream_order_by",e.HOME_STREAM_ORDER_BY="home_stream_order_by",e.MANUAL_CATEGORIES_ORDER_ENABLED="manual_categories_order_enabled",e.PEOPLE_SEARCH_ENABLED="people_search_enabled",e.POST_ONLY_STAFF_ENABLED="post_only_staff_enabled",e.STREAM_QUALITY="stream_quality",e.CONTENT_AVAILABILITY="content_availability",e.USERS_APPROVAL_ENABLED="users_approval_enabled",e.POST_TYPE_ENABLED="post_type_enabled",e.DISCUSSION_TYPE_ENABLED="discussion_type_enabled",e.STATUS_TYPE_ENABLED="status_type_enabled",e.URL_TEMPLATE_EMAIL_SETTINGS="url_template_email_settings",e.URL_TEMPLATE_EMAIL_UNSUBSCRIBE="url_template_email_unsubscribe",e.URL_TEMPLATE_PASSWORD_RECOVER="url_template_password_recover",e.URL_TEMPLATE_VERIFY_EMAIL="url_template_verify_email",e.URL_TEMPLATE_POST="url_template_post",e.URL_TEMPLATE_DISCUSSION="url_template_discussion",e.URL_TEMPLATE_STATUS="url_template_status",e.URL_TEMPLATE_COMMENT="url_template_comment",e.URL_TEMPLATE_CATEGORY="url_template_category",e.URL_TEMPLATE_CATEGORIES_LIST="url_template_categories_list",e.URL_TEMPLATE_USER_PROFILE="url_template_profile",e.URL_TEMPLATE_USER_PROFILE_SETTINGS="url_template_profile_settings",e.URL_TEMPLATE_NOTIFICATIONS="url_template_notifications",e.URL_TEMPLATE_USER_PRIVATE_MESSAGES="url_template_private_message",e.URL_TEMPLATE_INCUBATOR="url_template_incubator",e.USER_METADATA_DEFINITIONS="user_metadata_definition",e.TAG_MANAGER_CONTAINER_ID="tag_manager_container_id",e.GDPR_COOKIE_CONSENT_EXTERNAL_HTML="gdpr_cookie_consent_external_html",e.GDPR_SIGNUP_ACCEPT_HTML="gdpr_signup_accept_html",e.APP_URL_ON_APP_STORE="app_url_on_app_store",e.APP_URL_ON_GOOGLE_PLAY="app_url_on_google_play",e.FACEBOOK_SIGNIN_ENABLED="facebook_signin_enabled",e.FACEBOOK_APP_KEY="facebook_app_key",e.FACEBOOK_APP_SECRET="facebook_app_secret",e.LINKEDIN_SIGNIN_ENABLED="linkedin_signin_enabled",e.LINKEDIN_APP_KEY="linkedin_app_key",e.LINKEDIN_APP_SECRET="linkedin_app_secret",e.TWITTER_SIGNIN_ENABLED="twitter_signin_enabled",e.TWITTER_APP_KEY="twitter_app_key",e.TWITTER_APP_SECRET="twitter_app_secret",e.GOOGLE_GEOCODING_API_KEY="google_geocoding_api_key",e.GOOGLE_SIGNIN_ENABLED="google_signin_enabled",e.GOOGLE_APP_KEY="google_app_key",e.GOOGLE_APP_SECRET="google_app_secret",e.WEB_PUSH_PUBLIC_KEY="web_push_public_key",e.WEB_PUSH_ENABLED="web_push_enabled",e.META_ROBOTS="meta_robots",e.META_TITLE_HOME_NOT_LOGGED="meta_title_home_not_logged",e.META_DESCRIPTION="meta_description"}(t||(_.SCPreferenceName=t={}))},461:(e,_)=>{let o,t,E;_.__esModule=!0,_.SCPrivateMessageType=_.SCPrivateMessageStatusType=_.SCMessageFileType=void 0,_.SCPrivateMessageStatusType=o,function(e){e.CREATED="created",e.DELETED="deleted",e.HIDDEN="hidden",e.NEW="new"}(o||(_.SCPrivateMessageStatusType=o={})),_.SCPrivateMessageType=t,function(e){e.GROUP="group",e.USER="user",e.NEW="new"}(t||(_.SCPrivateMessageType=t={})),_.SCMessageFileType=E,function(e){e.DOCUMENT="application/",e.IMAGE="image/",e.VIDEO="video/",e.PDF="application/pdf",e.AUDIO="audio/"}(E||(_.SCMessageFileType=E={}))},303:(e,_)=>{let o;_.__esModule=!0,_.SCPrizeUserStatusType=void 0,_.SCPrizeUserStatusType=o,function(e){e[e.PENDING=0]="PENDING",e[e.REFUSED=1]="REFUSED",e[e.SENT=2]="SENT"}(o||(_.SCPrizeUserStatusType=o={}))},579:(e,_)=>{let o;_.__esModule=!0,_.SuggestionType=void 0,_.SuggestionType=o,function(e){e.USER="user",e.CATEGORY="category",e.GROUP="group"}(o||(_.SuggestionType=o={}))},967:(e,_)=>{let o,t;_.__esModule=!0,_.SCUserStatus=_.SCUserReputationType=void 0,_.SCUserStatus=o,function(e){e.APPROVED="a",e.BLOCKED="b",e.DELETED="d",e.UNREGISTERED="u"}(o||(_.SCUserStatus=o={})),_.SCUserReputationType=t,function(e){e[e.GAIN_BY_UPVOTED=1]="GAIN_BY_UPVOTED",e[e.ASSIGNED_BY_MODERATOR=10]="ASSIGNED_BY_MODERATOR",e[e.GAIN_BY_CANCELLING_CONTRIBUTE_MODERATION=11]="GAIN_BY_CANCELLING_CONTRIBUTE_MODERATION",e[e.GAIN_BY_MAKE_POST=12]="GAIN_BY_MAKE_POST",e[e.GAIN_BY_MAKE_FIRST_LEVEL_COMMENT=13]="GAIN_BY_MAKE_FIRST_LEVEL_COMMENT",e[e.GAIN_BY_MAKE_SECOND_LEVEL_COMMENT=14]="GAIN_BY_MAKE_SECOND_LEVEL_COMMENT",e[e.GAIN_BY_CONNECTION=15]="GAIN_BY_CONNECTION",e[e.GAIN_BY_APP_USED=17]="GAIN_BY_APP_USED",e[e.GAIN_BY_DAILY_VISIT=18]="GAIN_BY_DAILY_VISIT",e[e.GAIN_BY_FOLLOWER=19]="GAIN_BY_FOLLOWER",e[e.GAIN_BY_UNBLOCK_ACCOUNT=20]="GAIN_BY_UNBLOCK_ACCOUNT",e[e.LOSE_BY_UPVOTE_CANCELED=-1]="LOSE_BY_UPVOTE_CANCELED",e[e.LOSE_BY_CONTRIBUTE_MODERATION=-11]="LOSE_BY_CONTRIBUTE_MODERATION",e[e.LOSE_BY_DELETE_POST=-12]="LOSE_BY_DELETE_POST",e[e.LOSE_BY_DELETE_FIRST_LEVEL_COMMENT=-13]="LOSE_BY_DELETE_FIRST_LEVEL_COMMENT",e[e.LOSE_BY_DELETE_SECOND_LEVEL_COMMENT=-14]="LOSE_BY_DELETE_SECOND_LEVEL_COMMENT",e[e.LOSE_BY_CONNECTION=-15]="LOSE_BY_CONNECTION",e[e.LOSE_BY_FOLLOWER=-19]="LOSE_BY_FOLLOWER",e[e.LOSE_BY_BLOCK_ACCOUNT=-20]="LOSE_BY_BLOCK_ACCOUNT"}(t||(_.SCUserReputationType=t={}))}},_={};function o(t){var E=_[t];if(void 0!==E)return E.exports;var S=_[t]={exports:{}};return e[t](S,S.exports,o),S.exports}var t={};return(()=>{var e=t;e.__esModule=!0;var _=o(994);e.SCContributionType=_.SCContributionType,e.SCBroadcastMessageBannerType=_.SCBroadcastMessageBannerType,e.SCCategoryAutoFollowType=_.SCCategoryAutoFollowType,e.SCCommentsOrderBy=_.SCCommentsOrderBy,e.SCCustomAdvPosition=_.SCCustomAdvPosition,e.SCCustomPageTypeEnum=_.SCCustomPageTypeEnum,e.SCDeviceTypeEnum=_.SCDeviceTypeEnum,e.SCDeviceApnsTypeEnum=_.SCDeviceApnsTypeEnum,e.SCFeatureName=_.SCFeatureName,e.SCFeedTypologyType=_.SCFeedTypologyType,e.SCFeedUnitActivityTypologyType=_.SCFeedUnitActivityTypologyType,e.SCFlagTypeEnum=_.SCFlagTypeEnum,e.SCFlagModerationStatusType=_.SCFlagModerationStatusType,e.SCConnectionStatus=_.SCConnectionStatus,e.SCIncubatorStatusType=_.SCIncubatorStatusType,e.SCLegalPagePoliciesType=_.SCLegalPagePoliciesType,e.SCLanguageType=_.SCLanguageType,e.SCNotificationTypologyType=_.SCNotificationTypologyType,e.SCNotificationTopicType=_.SCNotificationTopicType,e.SCPreferenceSection=_.SCPreferenceSection,e.SCPreferenceName=_.SCPreferenceName,e.SCMessageFileType=_.SCMessageFileType,e.SCPrizeUserStatusType=_.SCPrizeUserStatusType,e.SCUserStatus=_.SCUserStatus,e.SuggestionType=_.SuggestionType,e.SCPrivateMessageStatusType=_.SCPrivateMessageStatusType,e.SCMetadataTypeFieldType=_.SCMetadataTypeFieldType,e.SCGroupPrivacyType=_.SCGroupPrivacyType,e.SCGroupSubscriptionStatusType=_.SCGroupSubscriptionStatusType,e.SCPrivateMessageType=_.SCPrivateMessageType})(),t})()));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@selfcommunity/types",
3
- "version": "0.5.9-alpha.0",
3
+ "version": "0.5.9-alpha.10",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "./lib/cjs/index.js",
@@ -101,5 +101,5 @@
101
101
  "bugs": {
102
102
  "url": "https://github.com/selfcommunity/community-js/issues"
103
103
  },
104
- "gitHead": "392b2a58461cc6bb506f820b73bf51640eee2a4b"
104
+ "gitHead": "89017a925ca888dc3eb0092da922aae90edb1001"
105
105
  }