@selfcommunity/types 0.5.56-alpha.0 → 0.6.0-alpha.1

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 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';
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 SCNotificationEventActivityType, 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, type SCEventType, type SCStepType } 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, SCGroupPrivacyType, SCGroupSubscriptionStatusType, SCPrivateMessageType } 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, SCEventPrivacyType, SCEventSubscriptionStatusType, SCEventRecurrenceType, SCEventLocationType, SCEventDateFilterType, SCOnBoardingStepType, SCOnBoardingStepStatusType } 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, 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 };
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, SCEventPrivacyType, SCEventSubscriptionStatusType, SCEventRecurrenceType, SCEventLocationType, SCEventDateFilterType, SCOnBoardingStepType, SCOnBoardingStepStatusType };
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 SCNotificationEventActivityType, 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, type SCEventType, type SCStepType };
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, SCGroupPrivacyType, SCGroupSubscriptionStatusType, SCPrivateMessageType } 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, SCEventPrivacyType, SCEventSubscriptionStatusType, SCEventRecurrenceType, SCEventLocationType, SCEventDateFilterType, SCOnBoardingStepType, SCOnBoardingStepStatusType } 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, SCGroupPrivacyType, SCGroupSubscriptionStatusType, SCPrivateMessageType };
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, SCEventPrivacyType, SCEventSubscriptionStatusType, SCEventRecurrenceType, SCEventLocationType, SCEventDateFilterType, SCOnBoardingStepType, SCOnBoardingStepStatusType };
@@ -0,0 +1,180 @@
1
+ /**
2
+ * Interface SCGroupEventType.
3
+ * Event Schema.
4
+ */
5
+ import { SCUserType } from './user';
6
+ /**
7
+ * SCEventPrivacyType enum
8
+ */
9
+ export declare enum SCEventPrivacyType {
10
+ PUBLIC = "public",
11
+ PRIVATE = "private"
12
+ }
13
+ /**
14
+ * SCGroupSubscriptionStatusType enum
15
+ */
16
+ export declare enum SCEventSubscriptionStatusType {
17
+ SUBSCRIBED = "subscribed",
18
+ REQUESTED = "requested",
19
+ INVITED = "invited",
20
+ GOING = "going",
21
+ NOT_GOING = "not_going"
22
+ }
23
+ /**
24
+ * SCEventLocationType enum
25
+ */
26
+ export declare enum SCEventLocationType {
27
+ PERSON = "in person",
28
+ ONLINE = "virtual"
29
+ }
30
+ /**
31
+ * SCEventRecurrenceType enum
32
+ */
33
+ export declare enum SCEventRecurrenceType {
34
+ NEVER = "never",
35
+ DAILY = "daily",
36
+ WEEKLY = "weekly",
37
+ MONTHLY = "monthly"
38
+ }
39
+ /**
40
+ * SCEventRecurrenceType enum
41
+ */
42
+ export declare enum SCEventDateFilterType {
43
+ ANY = "any",
44
+ TODAY = "today",
45
+ TOMORROW = "tomorrow",
46
+ THIS_WEEK = "this_week",
47
+ NEXT_WEEK = "next_week",
48
+ THIS_MONTH = "this_month",
49
+ PAST = "past"
50
+ }
51
+ export interface SCEventType {
52
+ /**
53
+ * The ID of the event.
54
+ */
55
+ id: number;
56
+ /**
57
+ * The name of the event.
58
+ */
59
+ name: string;
60
+ /**
61
+ * The description of the event.
62
+ */
63
+ description: string;
64
+ /**
65
+ * The slug for the event.
66
+ */
67
+ slug: string;
68
+ /**
69
+ * The color of the event.
70
+ */
71
+ color: string;
72
+ /**
73
+ * The event privacy.
74
+ */
75
+ privacy: SCEventPrivacyType;
76
+ /**
77
+ * The event visibility.
78
+ */
79
+ visible: boolean;
80
+ /**
81
+ * The event active status.
82
+ */
83
+ active: boolean;
84
+ /**
85
+ * If the event is showed in the feed.
86
+ */
87
+ show_on_feed: boolean;
88
+ /**
89
+ * The event subscription status.
90
+ */
91
+ subscription_status: SCEventSubscriptionStatusType;
92
+ /**
93
+ * The event image, bigger format.
94
+ */
95
+ image_bigger: string;
96
+ /**
97
+ * The event image, big format.
98
+ */
99
+ image_big: string;
100
+ /**
101
+ * The event image, medium format.
102
+ */
103
+ image_medium: string;
104
+ /**
105
+ * The event image, small format.
106
+ */
107
+ image_small: string;
108
+ /**
109
+ * The number of event members
110
+ */
111
+ subscribers_counter: number;
112
+ /**
113
+ * The number of participating members
114
+ */
115
+ goings_counter: number;
116
+ /**
117
+ * The event start date.
118
+ */
119
+ start_date: string;
120
+ /**
121
+ * The event end date.
122
+ */
123
+ end_date: string | null;
124
+ /**
125
+ * If the event is currently running
126
+ */
127
+ running: boolean;
128
+ /**
129
+ * The start date and time when the event running period began.
130
+ */
131
+ running_start_date: string;
132
+ /**
133
+ * The expected or actual end date and time for the event running period.
134
+ */
135
+ running_end_date: string;
136
+ /**
137
+ * The start date when the next event running period is scheduled to begin (for recurrent events).
138
+ */
139
+ next_start_date: string;
140
+ /**
141
+ * The end date for the next event running period (for recurrent events).
142
+ */
143
+ next_end_date: string;
144
+ /**
145
+ * The event recurrence
146
+ */
147
+ recurring: SCEventRecurrenceType;
148
+ /**
149
+ * The event location (in person, online)
150
+ */
151
+ location: SCEventLocationType;
152
+ /**
153
+ * The event place
154
+ */
155
+ geolocation: string | null;
156
+ /**
157
+ * The event latitude
158
+ */
159
+ geolocation_lat: number | null;
160
+ /**
161
+ * The event longitude
162
+ */
163
+ geolocation_lng: number | null;
164
+ /**
165
+ * The event link(if virtual)
166
+ */
167
+ link: string | null;
168
+ /**
169
+ * The event creation date.
170
+ */
171
+ created_at: string;
172
+ /**
173
+ * The event creator.
174
+ */
175
+ created_by: SCUserType;
176
+ /**
177
+ * The event admin.
178
+ */
179
+ managed_by: SCUserType;
180
+ }
@@ -0,0 +1,50 @@
1
+ /**
2
+ * SCEventPrivacyType enum
3
+ */
4
+ export var SCEventPrivacyType;
5
+ (function (SCEventPrivacyType) {
6
+ SCEventPrivacyType["PUBLIC"] = "public";
7
+ SCEventPrivacyType["PRIVATE"] = "private";
8
+ })(SCEventPrivacyType || (SCEventPrivacyType = {}));
9
+ /**
10
+ * SCGroupSubscriptionStatusType enum
11
+ */
12
+ export var SCEventSubscriptionStatusType;
13
+ (function (SCEventSubscriptionStatusType) {
14
+ SCEventSubscriptionStatusType["SUBSCRIBED"] = "subscribed";
15
+ SCEventSubscriptionStatusType["REQUESTED"] = "requested";
16
+ SCEventSubscriptionStatusType["INVITED"] = "invited";
17
+ SCEventSubscriptionStatusType["GOING"] = "going";
18
+ SCEventSubscriptionStatusType["NOT_GOING"] = "not_going";
19
+ })(SCEventSubscriptionStatusType || (SCEventSubscriptionStatusType = {}));
20
+ /**
21
+ * SCEventLocationType enum
22
+ */
23
+ export var SCEventLocationType;
24
+ (function (SCEventLocationType) {
25
+ SCEventLocationType["PERSON"] = "in person";
26
+ SCEventLocationType["ONLINE"] = "virtual";
27
+ })(SCEventLocationType || (SCEventLocationType = {}));
28
+ /**
29
+ * SCEventRecurrenceType enum
30
+ */
31
+ export var SCEventRecurrenceType;
32
+ (function (SCEventRecurrenceType) {
33
+ SCEventRecurrenceType["NEVER"] = "never";
34
+ SCEventRecurrenceType["DAILY"] = "daily";
35
+ SCEventRecurrenceType["WEEKLY"] = "weekly";
36
+ SCEventRecurrenceType["MONTHLY"] = "monthly";
37
+ })(SCEventRecurrenceType || (SCEventRecurrenceType = {}));
38
+ /**
39
+ * SCEventRecurrenceType enum
40
+ */
41
+ export var SCEventDateFilterType;
42
+ (function (SCEventDateFilterType) {
43
+ SCEventDateFilterType["ANY"] = "any";
44
+ SCEventDateFilterType["TODAY"] = "today";
45
+ SCEventDateFilterType["TOMORROW"] = "tomorrow";
46
+ SCEventDateFilterType["THIS_WEEK"] = "this_week";
47
+ SCEventDateFilterType["NEXT_WEEK"] = "next_week";
48
+ SCEventDateFilterType["THIS_MONTH"] = "this_month";
49
+ SCEventDateFilterType["PAST"] = "past";
50
+ })(SCEventDateFilterType || (SCEventDateFilterType = {}));
@@ -41,7 +41,8 @@ export declare enum SCFeatureName {
41
41
  SYSTEM_PAGES = "system_pages",
42
42
  REACTION = "reaction",
43
43
  PRIVATE_MESSAGING = "private_messaging",
44
- GROUPING = "grouping"
44
+ GROUPING = "grouping",
45
+ EVENT = "event"
45
46
  }
46
47
  /**
47
48
  * SCFeatureType interface
@@ -43,4 +43,5 @@ export var SCFeatureName;
43
43
  SCFeatureName["REACTION"] = "reaction";
44
44
  SCFeatureName["PRIVATE_MESSAGING"] = "private_messaging";
45
45
  SCFeatureName["GROUPING"] = "grouping";
46
+ SCFeatureName["EVENT"] = "event";
46
47
  })(SCFeatureName || (SCFeatureName = {}));
@@ -7,6 +7,7 @@ import { SCTagType } from './tag';
7
7
  import { SCReactionType } from './reaction';
8
8
  import { SCContributionType } from './contribution';
9
9
  import { SCGroupType } from './group';
10
+ import { SCEventType } from './event';
10
11
  /**
11
12
  * Typology of feed
12
13
  */
@@ -14,7 +15,8 @@ export declare enum SCFeedTypologyType {
14
15
  HOME = "home",
15
16
  EXPLORE = "explore",
16
17
  CATEGORY = "category",
17
- GROUP = "group"
18
+ GROUP = "group",
19
+ EVENT = "event"
18
20
  }
19
21
  /**
20
22
  * Interface SCFeedUnitType.
@@ -100,6 +102,10 @@ export interface SCFeedObjectType {
100
102
  * The id of the group.
101
103
  */
102
104
  group?: SCGroupType;
105
+ /**
106
+ * The id of the event.
107
+ */
108
+ event?: SCEventType;
103
109
  /**
104
110
  * List of medias
105
111
  */
@@ -7,6 +7,7 @@ export var SCFeedTypologyType;
7
7
  SCFeedTypologyType["EXPLORE"] = "explore";
8
8
  SCFeedTypologyType["CATEGORY"] = "category";
9
9
  SCFeedTypologyType["GROUP"] = "group";
10
+ SCFeedTypologyType["EVENT"] = "event";
10
11
  })(SCFeedTypologyType || (SCFeedTypologyType = {}));
11
12
  export var SCFeedUnitActivityTypologyType;
12
13
  (function (SCFeedUnitActivityTypologyType) {
@@ -17,7 +17,7 @@ import { SCIncubatorStatusType, type SCIncubatorSubscriptionType, type SCIncubat
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, type SCNotificationGroupActivityType } 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, SCNotificationEventActivityType } 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';
@@ -38,7 +38,9 @@ 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
40
  import { type SCGroupType, SCGroupPrivacyType, SCGroupSubscriptionStatusType } from './group';
41
+ import { type SCEventType, SCEventPrivacyType, SCEventRecurrenceType, SCEventLocationType, SCEventDateFilterType, SCEventSubscriptionStatusType } from './event';
42
+ import { type SCStepType, SCOnBoardingStepType, SCOnBoardingStepStatusType } from './onboarding';
41
43
  /**
42
44
  * Exports all types
43
45
  */
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 };
46
+ 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 SCNotificationEventActivityType, 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, type SCEventType, SCEventPrivacyType, SCEventSubscriptionStatusType, SCEventRecurrenceType, SCEventLocationType, SCEventDateFilterType, type SCStepType, SCOnBoardingStepType, SCOnBoardingStepStatusType };
@@ -20,7 +20,9 @@ import { SuggestionType } from './suggestion';
20
20
  import { SCConnectionStatus } from './friendship';
21
21
  import { SCDeviceApnsTypeEnum, SCDeviceTypeEnum } from './device';
22
22
  import { SCGroupPrivacyType, SCGroupSubscriptionStatusType } from './group';
23
+ import { SCEventPrivacyType, SCEventRecurrenceType, SCEventLocationType, SCEventDateFilterType, SCEventSubscriptionStatusType } from './event';
24
+ import { SCOnBoardingStepType, SCOnBoardingStepStatusType } from './onboarding';
23
25
  /**
24
26
  * Exports all types
25
27
  */
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 };
28
+ 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, SCEventPrivacyType, SCEventSubscriptionStatusType, SCEventRecurrenceType, SCEventLocationType, SCEventDateFilterType, SCOnBoardingStepType, SCOnBoardingStepStatusType };
@@ -1,4 +1,4 @@
1
- import { SCCommentType, SCFeedDiscussionType, SCFeedPostType, SCFeedStatusType, SCGroupType, SCUserType } from '../index';
1
+ import { SCCommentType, SCEventType, 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';
@@ -48,7 +48,11 @@ export declare enum SCNotificationTypologyType {
48
48
  USER_INVITED_TO_JOIN_GROUP = "user_invited_to_join_group",
49
49
  USER_REQUESTED_TO_JOIN_GROUP = "user_requested_to_join_group",
50
50
  USER_ACCEPTED_TO_JOIN_GROUP = "user_accepted_to_join_group",
51
- USER_ADDED_TO_GROUP = "user_added_to_group"
51
+ USER_ADDED_TO_GROUP = "user_added_to_group",
52
+ USER_INVITED_TO_JOIN_EVENT = "user_invited_to_join_event",
53
+ USER_REQUESTED_TO_JOIN_EVENT = "user_requested_to_join_event",
54
+ USER_ACCEPTED_TO_JOIN_EVENT = "user_accepted_to_join_event",
55
+ USER_ADDED_TO_EVENT = "user_added_to_event"
52
56
  }
53
57
  /**
54
58
  * Define topic for notifications
@@ -92,6 +96,11 @@ export interface SCNotificationAggregatedType {
92
96
  * if it is a group. For some types of notifications it will not be present.
93
97
  */
94
98
  group?: SCGroupType;
99
+ /**
100
+ * Primary object involved (object that is common to notifications group)
101
+ * if it is an event. For some types of notifications it will not be present.
102
+ */
103
+ event?: SCEventType;
95
104
  /**
96
105
  * List of aggregated notifications by type.
97
106
  * Types Object: NotificationTypeComment, NotificationTypeMention,
@@ -460,3 +469,16 @@ export interface SCNotificationGroupActivityType extends SCNotificationType {
460
469
  */
461
470
  group: Partial<SCGroupType>;
462
471
  }
472
+ /**
473
+ * Interface SCNotificationGroupActivityType.
474
+ */
475
+ export interface SCNotificationEventActivityType extends SCNotificationType {
476
+ /**
477
+ * The user who performed the action
478
+ */
479
+ user: SCUserType;
480
+ /**
481
+ * The Group obj
482
+ */
483
+ event: Partial<SCEventType>;
484
+ }
@@ -45,6 +45,10 @@ export var SCNotificationTypologyType;
45
45
  SCNotificationTypologyType["USER_REQUESTED_TO_JOIN_GROUP"] = "user_requested_to_join_group";
46
46
  SCNotificationTypologyType["USER_ACCEPTED_TO_JOIN_GROUP"] = "user_accepted_to_join_group";
47
47
  SCNotificationTypologyType["USER_ADDED_TO_GROUP"] = "user_added_to_group";
48
+ SCNotificationTypologyType["USER_INVITED_TO_JOIN_EVENT"] = "user_invited_to_join_event";
49
+ SCNotificationTypologyType["USER_REQUESTED_TO_JOIN_EVENT"] = "user_requested_to_join_event";
50
+ SCNotificationTypologyType["USER_ACCEPTED_TO_JOIN_EVENT"] = "user_accepted_to_join_event";
51
+ SCNotificationTypologyType["USER_ADDED_TO_EVENT"] = "user_added_to_event";
48
52
  })(SCNotificationTypologyType || (SCNotificationTypologyType = {}));
49
53
  /**
50
54
  * Define topic for notifications
@@ -0,0 +1,48 @@
1
+ /**
2
+ * SCOnBoardingStepType enum
3
+ */
4
+ import { SCFeedObjectType } from './feed';
5
+ import { SCCategoryType } from './category';
6
+ export declare enum SCOnBoardingStepType {
7
+ CONTENTS = "contents",
8
+ CATEGORIES = "categories",
9
+ APPEARANCE = "appearance",
10
+ PROFILE = "profile",
11
+ INVITE = "invite",
12
+ APP = "app"
13
+ }
14
+ /**
15
+ * SCOnBoardingStepStatusType enum
16
+ */
17
+ export declare enum SCOnBoardingStepStatusType {
18
+ IN_PROGRESS = "in_progress",
19
+ COMPLETED = "completed",
20
+ NOT_STARTED = "not_started",
21
+ FAILED = "failed"
22
+ }
23
+ /**
24
+ * Interface SCStepType.
25
+ * Step Schema.
26
+ */
27
+ export interface SCStepType {
28
+ /**
29
+ * The ID of the step.
30
+ */
31
+ id: number;
32
+ /**
33
+ * The onboarding step
34
+ */
35
+ step: SCOnBoardingStepType;
36
+ /**
37
+ * The step status
38
+ */
39
+ status: SCOnBoardingStepStatusType;
40
+ /**
41
+ * The step completion percentage
42
+ */
43
+ completion_percentage: number;
44
+ /**
45
+ * The ids of the generated content
46
+ */
47
+ results?: SCFeedObjectType[] | SCCategoryType[];
48
+ }
@@ -0,0 +1,19 @@
1
+ export var SCOnBoardingStepType;
2
+ (function (SCOnBoardingStepType) {
3
+ SCOnBoardingStepType["CONTENTS"] = "contents";
4
+ SCOnBoardingStepType["CATEGORIES"] = "categories";
5
+ SCOnBoardingStepType["APPEARANCE"] = "appearance";
6
+ SCOnBoardingStepType["PROFILE"] = "profile";
7
+ SCOnBoardingStepType["INVITE"] = "invite";
8
+ SCOnBoardingStepType["APP"] = "app";
9
+ })(SCOnBoardingStepType || (SCOnBoardingStepType = {}));
10
+ /**
11
+ * SCOnBoardingStepStatusType enum
12
+ */
13
+ export var SCOnBoardingStepStatusType;
14
+ (function (SCOnBoardingStepStatusType) {
15
+ SCOnBoardingStepStatusType["IN_PROGRESS"] = "in_progress";
16
+ SCOnBoardingStepStatusType["COMPLETED"] = "completed";
17
+ SCOnBoardingStepStatusType["NOT_STARTED"] = "not_started";
18
+ SCOnBoardingStepStatusType["FAILED"] = "failed";
19
+ })(SCOnBoardingStepStatusType || (SCOnBoardingStepStatusType = {}));
@@ -128,9 +128,14 @@ export declare enum SCPreferenceName {
128
128
  META_ROBOTS = "meta_robots",
129
129
  META_TITLE_HOME_NOT_LOGGED = "meta_title_home_not_logged",
130
130
  META_DESCRIPTION = "meta_description",
131
+ GROUPS_ENABLED = "groups_enabled",
131
132
  GROUPS_VISIBILITY_ENABLED = "groups_visibility_enabled",
132
133
  GROUPS_PRIVATE_ENABLED = "groups_private_enabled",
133
- GROUPS_ONLY_STAFF_ENABLED = "groups_only_staff_enabled"
134
+ GROUPS_ONLY_STAFF_ENABLED = "groups_only_staff_enabled",
135
+ EVENTS_ENABLED = "events_enabled",
136
+ EVENTS_VISIBILITY_ENABLED = "events_visibility_enabled",
137
+ EVENTS_PRIVATE_ENABLED = "events_private_enabled",
138
+ EVENTS_ONLY_STAFF_ENABLED = "events_only_staff_enabled"
134
139
  }
135
140
  /**
136
141
  * SCPreferenceType interface
@@ -152,4 +157,12 @@ export interface SCPreferenceType {
152
157
  * The value of the dynamic preference (can be an integer or a string)
153
158
  */
154
159
  value: string;
160
+ /**
161
+ * The type of the dynamic preference
162
+ */
163
+ type?: string;
164
+ /**
165
+ * A description string for the dynamic preference
166
+ */
167
+ help?: string;
155
168
  }
@@ -130,7 +130,12 @@ export var SCPreferenceName;
130
130
  SCPreferenceName["META_ROBOTS"] = "meta_robots";
131
131
  SCPreferenceName["META_TITLE_HOME_NOT_LOGGED"] = "meta_title_home_not_logged";
132
132
  SCPreferenceName["META_DESCRIPTION"] = "meta_description";
133
+ SCPreferenceName["GROUPS_ENABLED"] = "groups_enabled";
133
134
  SCPreferenceName["GROUPS_VISIBILITY_ENABLED"] = "groups_visibility_enabled";
134
135
  SCPreferenceName["GROUPS_PRIVATE_ENABLED"] = "groups_private_enabled";
135
136
  SCPreferenceName["GROUPS_ONLY_STAFF_ENABLED"] = "groups_only_staff_enabled";
137
+ SCPreferenceName["EVENTS_ENABLED"] = "events_enabled";
138
+ SCPreferenceName["EVENTS_VISIBILITY_ENABLED"] = "events_visibility_enabled";
139
+ SCPreferenceName["EVENTS_PRIVATE_ENABLED"] = "events_private_enabled";
140
+ SCPreferenceName["EVENTS_ONLY_STAFF_ENABLED"] = "events_only_staff_enabled";
136
141
  })(SCPreferenceName || (SCPreferenceName = {}));