@selfcommunity/types 0.1.5-alpha.1 → 0.1.6-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.
package/lib/cjs/index.js CHANGED
@@ -61,4 +61,8 @@ exports.SCCustomNotificationType = _types.SCCustomNotificationType;
61
61
  exports.SCIncubatorType = _types.SCIncubatorType;
62
62
  exports.SCNotificationIncubatorType = _types.SCNotificationIncubatorType;
63
63
  exports.SCNotificationTopicType = _types.SCNotificationTopicType;
64
- exports.SCPrizeType = _types.SCPrizeType;
64
+ exports.SCPrizeType = _types.SCPrizeType;
65
+ exports.SCWebhookEndpointType = _types.SCWebhookEndpointType;
66
+ exports.SCWebhookEndpointAttemptType = _types.SCWebhookEndpointAttemptType;
67
+ exports.SCWebhookEndpointSecretType = _types.SCWebhookEndpointSecretType;
68
+ exports.SCWebhookEventsType = _types.SCWebhookEventsType;
@@ -109,4 +109,11 @@ exports.SCNotificationUnDeletedForType = _notification.SCNotificationUnDeletedFo
109
109
  exports.SCNotificationUserFollowType = _notification.SCNotificationUserFollowType;
110
110
  exports.SCNotificationVoteUpType = _notification.SCNotificationVoteUpType;
111
111
  exports.SCNotificationIncubatorType = _notification.SCNotificationIncubatorType;
112
- exports.SCNotificationTopicType = _notification.SCNotificationTopicType;
112
+ exports.SCNotificationTopicType = _notification.SCNotificationTopicType;
113
+
114
+ var _webhook = require("./webhook");
115
+
116
+ exports.SCWebhookEndpointType = _webhook.SCWebhookEndpointType;
117
+ exports.SCWebhookEndpointAttemptType = _webhook.SCWebhookEndpointAttemptType;
118
+ exports.SCWebhookEndpointSecretType = _webhook.SCWebhookEndpointSecretType;
119
+ exports.SCWebhookEventsType = _webhook.SCWebhookEventsType;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * Types
3
3
  */
4
- import { SCBroadcastMessageBannerType, SCBannerType, SCBroadcastMessageType, SCAuthTokenType, SCCustomAdvPosition, SCCustomAdvType, SCUserFields, SCUserType, SCUserSettingsType, SCUserStatus, SCUserBlockedSettingsType, SCTagType, SCCategoryType, SCEmbedType, SCMediaType, SCContributionLocation, SCLocalityType, SCPollChoiceType, SCPollType, SCFeedUnitType, SCFeedUnitActivityType, SCFeedObjectType, SCFeedPostType, SCFeedDiscussionType, SCFeedStatusType, SCFeedObjectTypologyType, SCFeedUnitActivityTypologyType, SCFeedTypologyType, SCCommentTypologyType, SCCommentsOrderBy, SCCommentType, SCPrivateMessageType, SCPrivateMessageStatusType, SCPrivateMessageFileType, SCMessageFileType, SCNotificationTypologyType, SCNotificationAggregatedType, SCNotificationCommentType, SCNotificationConnectionAcceptType, SCNotificationConnectionRequestType, SCNotificationPrivateMessageType, SCNotificationMentionType, SCNotificationType, SCNotificationBlockedUserType, SCNotificationCollapsedForType, SCNotificationCustomNotificationType, SCNotificationDeletedForType, SCNotificationFollowType, SCNotificationKindlyNoticeType, SCNotificationUnBlockedUserType, SCNotificationUnDeletedForType, SCNotificationUserFollowType, SCNotificationVoteUpType, SCCustomNotificationType, SCIncubatorType, SCNotificationIncubatorType, SCNotificationTopicType, SCPrizeType } from './types';
4
+ import { SCBroadcastMessageBannerType, SCBannerType, SCBroadcastMessageType, SCAuthTokenType, SCCustomAdvPosition, SCCustomAdvType, SCUserFields, SCUserType, SCUserSettingsType, SCUserStatus, SCUserBlockedSettingsType, SCTagType, SCCategoryType, SCEmbedType, SCMediaType, SCContributionLocation, SCLocalityType, SCPollChoiceType, SCPollType, SCFeedUnitType, SCFeedUnitActivityType, SCFeedObjectType, SCFeedPostType, SCFeedDiscussionType, SCFeedStatusType, SCFeedObjectTypologyType, SCFeedUnitActivityTypologyType, SCFeedTypologyType, SCCommentTypologyType, SCCommentsOrderBy, SCCommentType, SCPrivateMessageType, SCPrivateMessageStatusType, SCPrivateMessageFileType, SCMessageFileType, SCNotificationTypologyType, SCNotificationAggregatedType, SCNotificationCommentType, SCNotificationConnectionAcceptType, SCNotificationConnectionRequestType, SCNotificationPrivateMessageType, SCNotificationMentionType, SCNotificationType, SCNotificationBlockedUserType, SCNotificationCollapsedForType, SCNotificationCustomNotificationType, SCNotificationDeletedForType, SCNotificationFollowType, SCNotificationKindlyNoticeType, SCNotificationUnBlockedUserType, SCNotificationUnDeletedForType, SCNotificationUserFollowType, SCNotificationVoteUpType, SCCustomNotificationType, SCIncubatorType, SCNotificationIncubatorType, SCNotificationTopicType, SCPrizeType, SCWebhookEndpointType, SCWebhookEndpointAttemptType, SCWebhookEndpointSecretType, SCWebhookEventsType } from './types';
5
5
  /**
6
6
  * List all exports
7
7
  */
8
- export { SCBroadcastMessageBannerType, SCBannerType, SCBroadcastMessageType, SCCustomAdvPosition, SCCustomAdvType, SCAuthTokenType, SCUserFields, SCUserType, SCUserSettingsType, SCUserStatus, SCUserBlockedSettingsType, SCTagType, SCCategoryType, SCEmbedType, SCMediaType, SCContributionLocation, SCLocalityType, SCPollChoiceType, SCPollType, SCFeedUnitType, SCFeedUnitActivityType, SCFeedObjectType, SCFeedPostType, SCFeedDiscussionType, SCFeedStatusType, SCFeedObjectTypologyType, SCFeedUnitActivityTypologyType, SCFeedTypologyType, SCCommentTypologyType, SCCommentsOrderBy, SCCommentType, SCPrivateMessageType, SCPrivateMessageStatusType, SCPrivateMessageFileType, SCMessageFileType, SCNotificationTypologyType, SCNotificationAggregatedType, SCNotificationCommentType, SCNotificationConnectionAcceptType, SCNotificationConnectionRequestType, SCNotificationPrivateMessageType, SCNotificationMentionType, SCNotificationType, SCNotificationBlockedUserType, SCNotificationCollapsedForType, SCNotificationCustomNotificationType, SCNotificationDeletedForType, SCNotificationFollowType, SCNotificationKindlyNoticeType, SCNotificationUnBlockedUserType, SCNotificationUnDeletedForType, SCNotificationUserFollowType, SCNotificationVoteUpType, SCCustomNotificationType, SCNotificationTopicType, SCIncubatorType, SCNotificationIncubatorType, SCPrizeType };
8
+ export { SCBroadcastMessageBannerType, SCBannerType, SCBroadcastMessageType, SCCustomAdvPosition, SCCustomAdvType, SCAuthTokenType, SCUserFields, SCUserType, SCUserSettingsType, SCUserStatus, SCUserBlockedSettingsType, SCTagType, SCCategoryType, SCEmbedType, SCMediaType, SCContributionLocation, SCLocalityType, SCPollChoiceType, SCPollType, SCFeedUnitType, SCFeedUnitActivityType, SCFeedObjectType, SCFeedPostType, SCFeedDiscussionType, SCFeedStatusType, SCFeedObjectTypologyType, SCFeedUnitActivityTypologyType, SCFeedTypologyType, SCCommentTypologyType, SCCommentsOrderBy, SCCommentType, SCPrivateMessageType, SCPrivateMessageStatusType, SCPrivateMessageFileType, SCMessageFileType, SCNotificationTypologyType, SCNotificationAggregatedType, SCNotificationCommentType, SCNotificationConnectionAcceptType, SCNotificationConnectionRequestType, SCNotificationPrivateMessageType, SCNotificationMentionType, SCNotificationType, SCNotificationBlockedUserType, SCNotificationCollapsedForType, SCNotificationCustomNotificationType, SCNotificationDeletedForType, SCNotificationFollowType, SCNotificationKindlyNoticeType, SCNotificationUnBlockedUserType, SCNotificationUnDeletedForType, SCNotificationUserFollowType, SCNotificationVoteUpType, SCCustomNotificationType, SCNotificationTopicType, SCIncubatorType, SCNotificationIncubatorType, SCPrizeType, SCWebhookEndpointType, SCWebhookEndpointAttemptType, SCWebhookEndpointSecretType, SCWebhookEventsType };
9
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,4BAA4B,EAC5B,YAAY,EACZ,sBAAsB,EACtB,eAAe,EACf,mBAAmB,EACnB,eAAe,EACf,YAAY,EACZ,UAAU,EACV,kBAAkB,EAClB,YAAY,EACZ,yBAAyB,EACzB,SAAS,EACT,cAAc,EACd,WAAW,EACX,WAAW,EACX,sBAAsB,EACtB,cAAc,EACd,gBAAgB,EAChB,UAAU,EACV,cAAc,EACd,sBAAsB,EACtB,gBAAgB,EAChB,cAAc,EACd,oBAAoB,EACpB,gBAAgB,EAChB,wBAAwB,EACxB,8BAA8B,EAC9B,kBAAkB,EAClB,qBAAqB,EACrB,iBAAiB,EACjB,aAAa,EACb,oBAAoB,EACpB,0BAA0B,EAC1B,wBAAwB,EACxB,iBAAiB,EACjB,0BAA0B,EAC1B,4BAA4B,EAC5B,yBAAyB,EACzB,kCAAkC,EAClC,mCAAmC,EACnC,gCAAgC,EAChC,yBAAyB,EACzB,kBAAkB,EAClB,6BAA6B,EAC7B,8BAA8B,EAC9B,oCAAoC,EACpC,4BAA4B,EAC5B,wBAAwB,EACxB,8BAA8B,EAC9B,+BAA+B,EAC/B,8BAA8B,EAC9B,4BAA4B,EAC5B,wBAAwB,EACxB,wBAAwB,EACxB,eAAe,EACf,2BAA2B,EAC3B,uBAAuB,EACvB,WAAW,EACZ,MAAM,SAAS,CAAC;AAEjB;;GAEG;AACH,OAAO,EACL,4BAA4B,EAC5B,YAAY,EACZ,sBAAsB,EACtB,mBAAmB,EACnB,eAAe,EACf,eAAe,EACf,YAAY,EACZ,UAAU,EACV,kBAAkB,EAClB,YAAY,EACZ,yBAAyB,EACzB,SAAS,EACT,cAAc,EACd,WAAW,EACX,WAAW,EACX,sBAAsB,EACtB,cAAc,EACd,gBAAgB,EAChB,UAAU,EACV,cAAc,EACd,sBAAsB,EACtB,gBAAgB,EAChB,cAAc,EACd,oBAAoB,EACpB,gBAAgB,EAChB,wBAAwB,EACxB,8BAA8B,EAC9B,kBAAkB,EAClB,qBAAqB,EACrB,iBAAiB,EACjB,aAAa,EACb,oBAAoB,EACpB,0BAA0B,EAC1B,wBAAwB,EACxB,iBAAiB,EACjB,0BAA0B,EAC1B,4BAA4B,EAC5B,yBAAyB,EACzB,kCAAkC,EAClC,mCAAmC,EACnC,gCAAgC,EAChC,yBAAyB,EACzB,kBAAkB,EAClB,6BAA6B,EAC7B,8BAA8B,EAC9B,oCAAoC,EACpC,4BAA4B,EAC5B,wBAAwB,EACxB,8BAA8B,EAC9B,+BAA+B,EAC/B,8BAA8B,EAC9B,4BAA4B,EAC5B,wBAAwB,EACxB,wBAAwB,EACxB,uBAAuB,EACvB,eAAe,EACf,2BAA2B,EAC3B,WAAW,EACZ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,4BAA4B,EAC5B,YAAY,EACZ,sBAAsB,EACtB,eAAe,EACf,mBAAmB,EACnB,eAAe,EACf,YAAY,EACZ,UAAU,EACV,kBAAkB,EAClB,YAAY,EACZ,yBAAyB,EACzB,SAAS,EACT,cAAc,EACd,WAAW,EACX,WAAW,EACX,sBAAsB,EACtB,cAAc,EACd,gBAAgB,EAChB,UAAU,EACV,cAAc,EACd,sBAAsB,EACtB,gBAAgB,EAChB,cAAc,EACd,oBAAoB,EACpB,gBAAgB,EAChB,wBAAwB,EACxB,8BAA8B,EAC9B,kBAAkB,EAClB,qBAAqB,EACrB,iBAAiB,EACjB,aAAa,EACb,oBAAoB,EACpB,0BAA0B,EAC1B,wBAAwB,EACxB,iBAAiB,EACjB,0BAA0B,EAC1B,4BAA4B,EAC5B,yBAAyB,EACzB,kCAAkC,EAClC,mCAAmC,EACnC,gCAAgC,EAChC,yBAAyB,EACzB,kBAAkB,EAClB,6BAA6B,EAC7B,8BAA8B,EAC9B,oCAAoC,EACpC,4BAA4B,EAC5B,wBAAwB,EACxB,8BAA8B,EAC9B,+BAA+B,EAC/B,8BAA8B,EAC9B,4BAA4B,EAC5B,wBAAwB,EACxB,wBAAwB,EACxB,eAAe,EACf,2BAA2B,EAC3B,uBAAuB,EACvB,WAAW,EACX,qBAAqB,EACrB,4BAA4B,EAC5B,2BAA2B,EAC3B,mBAAmB,EACpB,MAAM,SAAS,CAAC;AAEjB;;GAEG;AACH,OAAO,EACL,4BAA4B,EAC5B,YAAY,EACZ,sBAAsB,EACtB,mBAAmB,EACnB,eAAe,EACf,eAAe,EACf,YAAY,EACZ,UAAU,EACV,kBAAkB,EAClB,YAAY,EACZ,yBAAyB,EACzB,SAAS,EACT,cAAc,EACd,WAAW,EACX,WAAW,EACX,sBAAsB,EACtB,cAAc,EACd,gBAAgB,EAChB,UAAU,EACV,cAAc,EACd,sBAAsB,EACtB,gBAAgB,EAChB,cAAc,EACd,oBAAoB,EACpB,gBAAgB,EAChB,wBAAwB,EACxB,8BAA8B,EAC9B,kBAAkB,EAClB,qBAAqB,EACrB,iBAAiB,EACjB,aAAa,EACb,oBAAoB,EACpB,0BAA0B,EAC1B,wBAAwB,EACxB,iBAAiB,EACjB,0BAA0B,EAC1B,4BAA4B,EAC5B,yBAAyB,EACzB,kCAAkC,EAClC,mCAAmC,EACnC,gCAAgC,EAChC,yBAAyB,EACzB,kBAAkB,EAClB,6BAA6B,EAC7B,8BAA8B,EAC9B,oCAAoC,EACpC,4BAA4B,EAC5B,wBAAwB,EACxB,8BAA8B,EAC9B,+BAA+B,EAC/B,8BAA8B,EAC9B,4BAA4B,EAC5B,wBAAwB,EACxB,wBAAwB,EACxB,uBAAuB,EACvB,eAAe,EACf,2BAA2B,EAC3B,WAAW,EACX,qBAAqB,EACrB,4BAA4B,EAC5B,2BAA2B,EAC3B,mBAAmB,EACpB,CAAC"}
package/lib/esm/index.js CHANGED
@@ -61,4 +61,8 @@ exports.SCCustomNotificationType = _types.SCCustomNotificationType;
61
61
  exports.SCIncubatorType = _types.SCIncubatorType;
62
62
  exports.SCNotificationIncubatorType = _types.SCNotificationIncubatorType;
63
63
  exports.SCNotificationTopicType = _types.SCNotificationTopicType;
64
- exports.SCPrizeType = _types.SCPrizeType;
64
+ exports.SCPrizeType = _types.SCPrizeType;
65
+ exports.SCWebhookEndpointType = _types.SCWebhookEndpointType;
66
+ exports.SCWebhookEndpointAttemptType = _types.SCWebhookEndpointAttemptType;
67
+ exports.SCWebhookEndpointSecretType = _types.SCWebhookEndpointSecretType;
68
+ exports.SCWebhookEventsType = _types.SCWebhookEventsType;
@@ -15,8 +15,9 @@ import { SCCustomNotificationType } from './customNotification';
15
15
  import { SCPrizeType } from './prize';
16
16
  import { SCFeedUnitType, SCFeedUnitActivityType, SCFeedObjectType, SCFeedPostType, SCFeedDiscussionType, SCFeedStatusType, SCFeedObjectTypologyType, SCFeedUnitActivityTypologyType, SCFeedTypologyType } from './feed';
17
17
  import { SCNotificationTypologyType, SCNotificationAggregatedType, SCNotificationCommentType, SCNotificationConnectionAcceptType, SCNotificationConnectionRequestType, SCNotificationPrivateMessageType, SCNotificationMentionType, SCNotificationType, SCNotificationBlockedUserType, SCNotificationCollapsedForType, SCNotificationCustomNotificationType, SCNotificationDeletedForType, SCNotificationFollowType, SCNotificationKindlyNoticeType, SCNotificationUnBlockedUserType, SCNotificationUnDeletedForType, SCNotificationUserFollowType, SCNotificationVoteUpType, SCNotificationIncubatorType, SCNotificationTopicType } from './notification';
18
+ import { SCWebhookEndpointType, SCWebhookEndpointAttemptType, SCWebhookEndpointSecretType, SCWebhookEventsType } from './webhook';
18
19
  /**
19
20
  * Exports all types
20
21
  */
21
- export { SCBannerType, SCBroadcastMessageBannerType, SCBroadcastMessageType, SCAuthTokenType, SCUserFields, SCUserType, SCUserSettingsType, SCUserStatus, SCUserBlockedSettingsType, SCTagType, SCCategoryType, SCCustomAdvPosition, SCCustomAdvType, SCEmbedType, SCMediaType, SCContributionLocation, SCLocalityType, SCPollChoiceType, SCPollType, SCFeedUnitType, SCFeedUnitActivityType, SCFeedObjectType, SCFeedPostType, SCFeedDiscussionType, SCFeedStatusType, SCFeedObjectTypologyType, SCFeedUnitActivityTypologyType, SCFeedTypologyType, SCCommentTypologyType, SCCommentsOrderBy, SCCommentType, SCPrivateMessageType, SCPrivateMessageStatusType, SCPrivateMessageFileType, SCMessageFileType, SCNotificationTypologyType, SCNotificationAggregatedType, SCNotificationCommentType, SCNotificationConnectionAcceptType, SCNotificationConnectionRequestType, SCNotificationPrivateMessageType, SCNotificationMentionType, SCNotificationType, SCNotificationBlockedUserType, SCNotificationCollapsedForType, SCNotificationCustomNotificationType, SCNotificationDeletedForType, SCNotificationFollowType, SCNotificationKindlyNoticeType, SCNotificationUnBlockedUserType, SCNotificationUnDeletedForType, SCNotificationUserFollowType, SCNotificationVoteUpType, SCCustomNotificationType, SCNotificationTopicType, SCIncubatorType, SCNotificationIncubatorType, SCPrizeType };
22
+ export { SCBannerType, SCBroadcastMessageBannerType, SCBroadcastMessageType, SCAuthTokenType, SCUserFields, SCUserType, SCUserSettingsType, SCUserStatus, SCUserBlockedSettingsType, SCTagType, SCCategoryType, SCCustomAdvPosition, SCCustomAdvType, SCEmbedType, SCMediaType, SCContributionLocation, SCLocalityType, SCPollChoiceType, SCPollType, SCFeedUnitType, SCFeedUnitActivityType, SCFeedObjectType, SCFeedPostType, SCFeedDiscussionType, SCFeedStatusType, SCFeedObjectTypologyType, SCFeedUnitActivityTypologyType, SCFeedTypologyType, SCCommentTypologyType, SCCommentsOrderBy, SCCommentType, SCPrivateMessageType, SCPrivateMessageStatusType, SCPrivateMessageFileType, SCMessageFileType, SCNotificationTypologyType, SCNotificationAggregatedType, SCNotificationCommentType, SCNotificationConnectionAcceptType, SCNotificationConnectionRequestType, SCNotificationPrivateMessageType, SCNotificationMentionType, SCNotificationType, SCNotificationBlockedUserType, SCNotificationCollapsedForType, SCNotificationCustomNotificationType, SCNotificationDeletedForType, SCNotificationFollowType, SCNotificationKindlyNoticeType, SCNotificationUnBlockedUserType, SCNotificationUnDeletedForType, SCNotificationUserFollowType, SCNotificationVoteUpType, SCCustomNotificationType, SCNotificationTopicType, SCIncubatorType, SCNotificationIncubatorType, SCPrizeType, SCWebhookEndpointType, SCWebhookEndpointAttemptType, SCWebhookEndpointSecretType, SCWebhookEventsType };
22
23
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,QAAQ,CAAC;AACvC,OAAO,EAAC,YAAY,EAAE,4BAA4B,EAAE,sBAAsB,EAAC,MAAM,oBAAoB,CAAC;AACtG,OAAO,EAAC,mBAAmB,EAAE,eAAe,EAAC,MAAM,aAAa,CAAC;AACjE,OAAO,EAAC,UAAU,EAAE,yBAAyB,EAAE,YAAY,EAAE,kBAAkB,EAAE,YAAY,EAAC,MAAM,QAAQ,CAAC;AAC7G,OAAO,EAAC,SAAS,EAAC,MAAM,OAAO,CAAC;AAChC,OAAO,EAAC,cAAc,EAAC,MAAM,YAAY,CAAC;AAC1C,OAAO,EAAC,WAAW,EAAC,MAAM,SAAS,CAAC;AACpC,OAAO,EAAC,WAAW,EAAC,MAAM,SAAS,CAAC;AACpC,OAAO,EAAC,sBAAsB,EAAE,cAAc,EAAC,MAAM,YAAY,CAAC;AAClE,OAAO,EAAC,gBAAgB,EAAE,UAAU,EAAC,MAAM,QAAQ,CAAC;AACpD,OAAO,EAAC,aAAa,EAAE,qBAAqB,EAAE,iBAAiB,EAAC,MAAM,WAAW,CAAC;AAClF,OAAO,EAAC,oBAAoB,EAAE,0BAA0B,EAAE,wBAAwB,EAAE,iBAAiB,EAAC,MAAM,kBAAkB,CAAC;AAC/H,OAAO,EAAC,eAAe,EAAC,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAC,wBAAwB,EAAC,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAAC,WAAW,EAAC,MAAM,SAAS,CAAC;AACpC,OAAO,EACL,cAAc,EACd,sBAAsB,EACtB,gBAAgB,EAChB,cAAc,EACd,oBAAoB,EACpB,gBAAgB,EAChB,wBAAwB,EACxB,8BAA8B,EAC9B,kBAAkB,EACnB,MAAM,QAAQ,CAAC;AAChB,OAAO,EACL,0BAA0B,EAC1B,4BAA4B,EAC5B,yBAAyB,EACzB,kCAAkC,EAClC,mCAAmC,EACnC,gCAAgC,EAChC,yBAAyB,EACzB,kBAAkB,EAClB,6BAA6B,EAC7B,8BAA8B,EAC9B,oCAAoC,EACpC,4BAA4B,EAC5B,wBAAwB,EACxB,8BAA8B,EAC9B,+BAA+B,EAC/B,8BAA8B,EAC9B,4BAA4B,EAC5B,wBAAwB,EACxB,2BAA2B,EAC3B,uBAAuB,EACxB,MAAM,gBAAgB,CAAC;AAExB;;GAEG;AACH,OAAO,EACL,YAAY,EACZ,4BAA4B,EAC5B,sBAAsB,EACtB,eAAe,EACf,YAAY,EACZ,UAAU,EACV,kBAAkB,EAClB,YAAY,EACZ,yBAAyB,EACzB,SAAS,EACT,cAAc,EACd,mBAAmB,EACnB,eAAe,EACf,WAAW,EACX,WAAW,EACX,sBAAsB,EACtB,cAAc,EACd,gBAAgB,EAChB,UAAU,EACV,cAAc,EACd,sBAAsB,EACtB,gBAAgB,EAChB,cAAc,EACd,oBAAoB,EACpB,gBAAgB,EAChB,wBAAwB,EACxB,8BAA8B,EAC9B,kBAAkB,EAClB,qBAAqB,EACrB,iBAAiB,EACjB,aAAa,EACb,oBAAoB,EACpB,0BAA0B,EAC1B,wBAAwB,EACxB,iBAAiB,EACjB,0BAA0B,EAC1B,4BAA4B,EAC5B,yBAAyB,EACzB,kCAAkC,EAClC,mCAAmC,EACnC,gCAAgC,EAChC,yBAAyB,EACzB,kBAAkB,EAClB,6BAA6B,EAC7B,8BAA8B,EAC9B,oCAAoC,EACpC,4BAA4B,EAC5B,wBAAwB,EACxB,8BAA8B,EAC9B,+BAA+B,EAC/B,8BAA8B,EAC9B,4BAA4B,EAC5B,wBAAwB,EACxB,wBAAwB,EACxB,uBAAuB,EACvB,eAAe,EACf,2BAA2B,EAC3B,WAAW,EACZ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,QAAQ,CAAC;AACvC,OAAO,EAAC,YAAY,EAAE,4BAA4B,EAAE,sBAAsB,EAAC,MAAM,oBAAoB,CAAC;AACtG,OAAO,EAAC,mBAAmB,EAAE,eAAe,EAAC,MAAM,aAAa,CAAC;AACjE,OAAO,EAAC,UAAU,EAAE,yBAAyB,EAAE,YAAY,EAAE,kBAAkB,EAAE,YAAY,EAAC,MAAM,QAAQ,CAAC;AAC7G,OAAO,EAAC,SAAS,EAAC,MAAM,OAAO,CAAC;AAChC,OAAO,EAAC,cAAc,EAAC,MAAM,YAAY,CAAC;AAC1C,OAAO,EAAC,WAAW,EAAC,MAAM,SAAS,CAAC;AACpC,OAAO,EAAC,WAAW,EAAC,MAAM,SAAS,CAAC;AACpC,OAAO,EAAC,sBAAsB,EAAE,cAAc,EAAC,MAAM,YAAY,CAAC;AAClE,OAAO,EAAC,gBAAgB,EAAE,UAAU,EAAC,MAAM,QAAQ,CAAC;AACpD,OAAO,EAAC,aAAa,EAAE,qBAAqB,EAAE,iBAAiB,EAAC,MAAM,WAAW,CAAC;AAClF,OAAO,EAAC,oBAAoB,EAAE,0BAA0B,EAAE,wBAAwB,EAAE,iBAAiB,EAAC,MAAM,kBAAkB,CAAC;AAC/H,OAAO,EAAC,eAAe,EAAC,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAC,wBAAwB,EAAC,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAAC,WAAW,EAAC,MAAM,SAAS,CAAC;AACpC,OAAO,EACL,cAAc,EACd,sBAAsB,EACtB,gBAAgB,EAChB,cAAc,EACd,oBAAoB,EACpB,gBAAgB,EAChB,wBAAwB,EACxB,8BAA8B,EAC9B,kBAAkB,EACnB,MAAM,QAAQ,CAAC;AAChB,OAAO,EACL,0BAA0B,EAC1B,4BAA4B,EAC5B,yBAAyB,EACzB,kCAAkC,EAClC,mCAAmC,EACnC,gCAAgC,EAChC,yBAAyB,EACzB,kBAAkB,EAClB,6BAA6B,EAC7B,8BAA8B,EAC9B,oCAAoC,EACpC,4BAA4B,EAC5B,wBAAwB,EACxB,8BAA8B,EAC9B,+BAA+B,EAC/B,8BAA8B,EAC9B,4BAA4B,EAC5B,wBAAwB,EACxB,2BAA2B,EAC3B,uBAAuB,EACxB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAC,qBAAqB,EAAE,4BAA4B,EAAE,2BAA2B,EAAE,mBAAmB,EAAC,MAAM,WAAW,CAAC;AAChI;;GAEG;AACH,OAAO,EACL,YAAY,EACZ,4BAA4B,EAC5B,sBAAsB,EACtB,eAAe,EACf,YAAY,EACZ,UAAU,EACV,kBAAkB,EAClB,YAAY,EACZ,yBAAyB,EACzB,SAAS,EACT,cAAc,EACd,mBAAmB,EACnB,eAAe,EACf,WAAW,EACX,WAAW,EACX,sBAAsB,EACtB,cAAc,EACd,gBAAgB,EAChB,UAAU,EACV,cAAc,EACd,sBAAsB,EACtB,gBAAgB,EAChB,cAAc,EACd,oBAAoB,EACpB,gBAAgB,EAChB,wBAAwB,EACxB,8BAA8B,EAC9B,kBAAkB,EAClB,qBAAqB,EACrB,iBAAiB,EACjB,aAAa,EACb,oBAAoB,EACpB,0BAA0B,EAC1B,wBAAwB,EACxB,iBAAiB,EACjB,0BAA0B,EAC1B,4BAA4B,EAC5B,yBAAyB,EACzB,kCAAkC,EAClC,mCAAmC,EACnC,gCAAgC,EAChC,yBAAyB,EACzB,kBAAkB,EAClB,6BAA6B,EAC7B,8BAA8B,EAC9B,oCAAoC,EACpC,4BAA4B,EAC5B,wBAAwB,EACxB,8BAA8B,EAC9B,+BAA+B,EAC/B,8BAA8B,EAC9B,4BAA4B,EAC5B,wBAAwB,EACxB,wBAAwB,EACxB,uBAAuB,EACvB,eAAe,EACf,2BAA2B,EAC3B,WAAW,EACX,qBAAqB,EACrB,4BAA4B,EAC5B,2BAA2B,EAC3B,mBAAmB,EACpB,CAAC"}
@@ -109,4 +109,11 @@ exports.SCNotificationUnDeletedForType = _notification.SCNotificationUnDeletedFo
109
109
  exports.SCNotificationUserFollowType = _notification.SCNotificationUserFollowType;
110
110
  exports.SCNotificationVoteUpType = _notification.SCNotificationVoteUpType;
111
111
  exports.SCNotificationIncubatorType = _notification.SCNotificationIncubatorType;
112
- exports.SCNotificationTopicType = _notification.SCNotificationTopicType;
112
+ exports.SCNotificationTopicType = _notification.SCNotificationTopicType;
113
+
114
+ var _webhook = require("./webhook");
115
+
116
+ exports.SCWebhookEndpointType = _webhook.SCWebhookEndpointType;
117
+ exports.SCWebhookEndpointAttemptType = _webhook.SCWebhookEndpointAttemptType;
118
+ exports.SCWebhookEndpointSecretType = _webhook.SCWebhookEndpointSecretType;
119
+ exports.SCWebhookEventsType = _webhook.SCWebhookEventsType;
@@ -0,0 +1,91 @@
1
+ /**
2
+ * Interface SCWebhookEndpointType
3
+ * Webhook Schema
4
+ */
5
+ export interface SCWebhookEndpointType {
6
+ /**
7
+ * Webhook id
8
+ */
9
+ id: number;
10
+ /**
11
+ * Webhook creation date-time
12
+ */
13
+ created_at: Date | string;
14
+ /**
15
+ * Webhook update date-time
16
+ */
17
+ updated_at: Date | string;
18
+ /**
19
+ * Active status
20
+ */
21
+ is_active: boolean;
22
+ /**
23
+ * Webhook target
24
+ */
25
+ target: string;
26
+ /**
27
+ * Webhook description
28
+ */
29
+ description: string;
30
+ /**
31
+ * Webhook events
32
+ */
33
+ events: SCWebhookEventsType[];
34
+ /**
35
+ * Webhook SSL certificates for HTTPS requests.
36
+ */
37
+ ssl_cert_verification: boolean;
38
+ }
39
+ export interface SCWebhookEndpointAttemptType {
40
+ /**
41
+ * Webhook attempt id
42
+ */
43
+ id: number;
44
+ /**
45
+ * Webhook attempt creation date-time
46
+ */
47
+ created_at: Date | string;
48
+ /**
49
+ * Webhook attempt event
50
+ */
51
+ event: SCWebhookEventsType[];
52
+ /**
53
+ * Webhook attempt sent date-time
54
+ */
55
+ sent_at: Date | string;
56
+ /**
57
+ * Active status
58
+ */
59
+ http_request_body: string;
60
+ /**
61
+ * Http request signature header
62
+ */
63
+ http_request_signature_header: string;
64
+ /**
65
+ * Http response code
66
+ */
67
+ http_response_code: number;
68
+ /**
69
+ * Http response body
70
+ */
71
+ http_response_body: string;
72
+ /**
73
+ * Date time of next retry
74
+ */
75
+ next_retry: Date | string;
76
+ }
77
+ export interface SCWebhookEndpointSecretType {
78
+ signing_secret: string;
79
+ }
80
+ export interface SCWebhookEventsType {
81
+ /**
82
+ * Webhook event type: contains the name of the event that triggered the webhook
83
+ * example: "category.follow"
84
+ */
85
+ type: string;
86
+ /**
87
+ * Creation date time
88
+ */
89
+ added_at: Date | string;
90
+ }
91
+ //# sourceMappingURL=webhook.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webhook.d.ts","sourceRoot":"","sources":["../../../src/types/webhook.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,MAAM,CAAC;IAC1B;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,MAAM,CAAC;IAC1B;;OAEG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,MAAM,EAAE,mBAAmB,EAAE,CAAC;IAC9B;;OAEG;IACH,qBAAqB,EAAE,OAAO,CAAC;CAChC;AAED,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,MAAM,CAAC;IAC1B;;OAEG;IACH,KAAK,EAAE,mBAAmB,EAAE,CAAC;IAC7B;;OAEG;IACH,OAAO,EAAE,IAAI,GAAG,MAAM,CAAC;IACvB;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,6BAA6B,EAAE,MAAM,CAAC;IACtC;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,MAAM,CAAC;CAC3B;AAED,MAAM,WAAW,2BAA2B;IAC1C,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,mBAAmB;IAClC;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,QAAQ,EAAE,IAAI,GAAG,MAAM,CAAC;CACzB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
package/lib/umd/types.js CHANGED
@@ -1,3 +1,3 @@
1
1
  /*! For license information please see types.js.LICENSE.txt */
2
- !function(e,o){"object"==typeof exports&&"object"==typeof module?module.exports=o():"function"==typeof define&&define.amd?define([],o):"object"==typeof exports?exports.SelfCommunityTypes=o():e.SelfCommunityTypes=o()}(self,(()=>(()=>{"use strict";var e={852:(e,o)=>{o.__esModule=!0},665:(e,o)=>{let t;o.__esModule=!0,o.SCBroadcastMessageBannerType=void 0,o.SCBroadcastMessageBannerType=t,function(e){e.HTML="html_banner",e.NOTIFICATION="notification_banner"}(t||(o.SCBroadcastMessageBannerType=t={}))},511:(e,o)=>{o.__esModule=!0},444:(e,o)=>{let t;o.__esModule=!0,o.SCCommentsOrderBy=o.SCCommentTypologyType=void 0,o.SCCommentTypologyType="comment",o.SCCommentsOrderBy=t,function(e){e.ADDED_AT_DESC="-added_at",e.ADDED_AT_ASC="added_at",e.CONNECTION_DESC="-connection",e.CONNECTION_ASC="connection"}(t||(o.SCCommentsOrderBy=t={}))},386:(e,o)=>{let t;o.__esModule=!0,o.SCCustomAdvPosition=void 0,o.SCCustomAdvPosition=t,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"}(t||(o.SCCustomAdvPosition=t={}))},82:(e,o)=>{o.__esModule=!0},797:(e,o)=>{o.__esModule=!0},505:(e,o)=>{let t,i,C;o.__esModule=!0,o.SCFeedUnitActivityTypologyType=o.SCFeedTypologyType=o.SCFeedObjectTypologyType=void 0,o.SCFeedTypologyType=t,function(e){e.HOME="home",e.EXPLORE="explore"}(t||(o.SCFeedTypologyType=t={})),o.SCFeedObjectTypologyType=i,function(e){e.DISCUSSION="discussion",e.POST="post",e.STATUS="status"}(i||(o.SCFeedObjectTypologyType=i={})),o.SCFeedUnitActivityTypologyType=C,function(e){e.COMMENT="comment",e.VOTE="vote",e.POLLVOTE="pollvote",e.FOLLOW="follow"}(C||(o.SCFeedUnitActivityTypologyType=C={}))},947:(e,o)=>{o.__esModule=!0},994:(e,o,t)=>{o.__esModule=!0;var i=t(852);o.SCAuthTokenType=i.SCAuthTokenType;var C=t(665);o.SCBannerType=C.SCBannerType,o.SCBroadcastMessageBannerType=C.SCBroadcastMessageBannerType,o.SCBroadcastMessageType=C.SCBroadcastMessageType;var T=t(386);o.SCCustomAdvPosition=T.SCCustomAdvPosition,o.SCCustomAdvType=T.SCCustomAdvType;var S=t(967);o.SCUserType=S.SCUserType,o.SCUserBlockedSettingsType=S.SCUserBlockedSettingsType,o.SCUserFields=S.SCUserFields,o.SCUserSettingsType=S.SCUserSettingsType,o.SCUserStatus=S.SCUserStatus;var n=t(549);o.SCTagType=n.SCTagType;var y=t(511);o.SCCategoryType=y.SCCategoryType;var p=t(797);o.SCEmbedType=p.SCEmbedType;var a=t(398);o.SCMediaType=a.SCMediaType;var s=t(714);o.SCContributionLocation=s.SCContributionLocation,o.SCLocalityType=s.SCLocalityType;var c=t(3);o.SCPollChoiceType=c.SCPollChoiceType,o.SCPollType=c.SCPollType;var r=t(444);o.SCCommentType=r.SCCommentType,o.SCCommentTypologyType=r.SCCommentTypologyType,o.SCCommentsOrderBy=r.SCCommentsOrderBy;var d=t(461);o.SCPrivateMessageType=d.SCPrivateMessageType,o.SCPrivateMessageStatusType=d.SCPrivateMessageStatusType,o.SCPrivateMessageFileType=d.SCPrivateMessageFileType,o.SCMessageFileType=d.SCMessageFileType;var l=t(947);o.SCIncubatorType=l.SCIncubatorType;var _=t(82);o.SCCustomNotificationType=_.SCCustomNotificationType;var N=t(303);o.SCPrizeType=N.SCPrizeType;var O=t(505);o.SCFeedUnitType=O.SCFeedUnitType,o.SCFeedUnitActivityType=O.SCFeedUnitActivityType,o.SCFeedObjectType=O.SCFeedObjectType,o.SCFeedPostType=O.SCFeedPostType,o.SCFeedDiscussionType=O.SCFeedDiscussionType,o.SCFeedStatusType=O.SCFeedStatusType,o.SCFeedObjectTypologyType=O.SCFeedObjectTypologyType,o.SCFeedUnitActivityTypologyType=O.SCFeedUnitActivityTypologyType,o.SCFeedTypologyType=O.SCFeedTypologyType;var E=t(768);o.SCNotificationTypologyType=E.SCNotificationTypologyType,o.SCNotificationAggregatedType=E.SCNotificationAggregatedType,o.SCNotificationCommentType=E.SCNotificationCommentType,o.SCNotificationConnectionAcceptType=E.SCNotificationConnectionAcceptType,o.SCNotificationConnectionRequestType=E.SCNotificationConnectionRequestType,o.SCNotificationPrivateMessageType=E.SCNotificationPrivateMessageType,o.SCNotificationMentionType=E.SCNotificationMentionType,o.SCNotificationType=E.SCNotificationType,o.SCNotificationBlockedUserType=E.SCNotificationBlockedUserType,o.SCNotificationCollapsedForType=E.SCNotificationCollapsedForType,o.SCNotificationCustomNotificationType=E.SCNotificationCustomNotificationType,o.SCNotificationDeletedForType=E.SCNotificationDeletedForType,o.SCNotificationFollowType=E.SCNotificationFollowType,o.SCNotificationKindlyNoticeType=E.SCNotificationKindlyNoticeType,o.SCNotificationUnBlockedUserType=E.SCNotificationUnBlockedUserType,o.SCNotificationUnDeletedForType=E.SCNotificationUnDeletedForType,o.SCNotificationUserFollowType=E.SCNotificationUserFollowType,o.SCNotificationVoteUpType=E.SCNotificationVoteUpType,o.SCNotificationIncubatorType=E.SCNotificationIncubatorType,o.SCNotificationTopicType=E.SCNotificationTopicType},714:(e,o)=>{o.__esModule=!0},398:(e,o)=>{o.__esModule=!0},768:(e,o)=>{let t,i;o.__esModule=!0,o.SCNotificationTypologyType=o.SCNotificationTopicType=void 0,o.SCNotificationTypologyType=t,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_reject",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"}(t||(o.SCNotificationTypologyType=t={})),o.SCNotificationTopicType=i,function(e){e.INTERACTION="interaction",e.NEWS="news"}(i||(o.SCNotificationTopicType=i={}))},3:(e,o)=>{o.__esModule=!0},461:(e,o)=>{let t,i;o.__esModule=!0,o.SCPrivateMessageStatusType=o.SCMessageFileType=void 0,o.SCPrivateMessageStatusType=t,function(e){e.CREATED="created",e.DELETED="deleted",e.HIDDEN="hidden",e.NEW="new"}(t||(o.SCPrivateMessageStatusType=t={})),o.SCMessageFileType=i,function(e){e.DOCUMENT="application/",e.IMAGE="image/",e.VIDEO="video/"}(i||(o.SCMessageFileType=i={}))},303:(e,o)=>{o.__esModule=!0},549:(e,o)=>{o.__esModule=!0},967:(e,o)=>{let t,i;o.__esModule=!0,o.SCUserStatus=o.SCUserFields=void 0,o.SCUserFields=t,function(e){e.USERNAME="username",e.REAL_NAME="real_name",e.DATE_JOINED="date_joined",e.BIO="bio",e.LOCATION="location",e.DATE_OF_BIRTH="date_of_birth",e.DESCRIPTION="description",e.GENDER="gender",e.WEBSITE="website"}(t||(o.SCUserFields=t={})),o.SCUserStatus=i,function(e){e.APPROVED="a",e.BLOCKED="b",e.DELETED="d",e.UNREGISTERED="u"}(i||(o.SCUserStatus=i={}))}},o={};function t(i){var C=o[i];if(void 0!==C)return C.exports;var T=o[i]={exports:{}};return e[i](T,T.exports,t),T.exports}var i={};return(()=>{var e=i;e.__esModule=!0;var o=t(994);e.SCBroadcastMessageBannerType=o.SCBroadcastMessageBannerType,e.SCBannerType=o.SCBannerType,e.SCBroadcastMessageType=o.SCBroadcastMessageType,e.SCAuthTokenType=o.SCAuthTokenType,e.SCCustomAdvPosition=o.SCCustomAdvPosition,e.SCCustomAdvType=o.SCCustomAdvType,e.SCUserFields=o.SCUserFields,e.SCUserType=o.SCUserType,e.SCUserSettingsType=o.SCUserSettingsType,e.SCUserStatus=o.SCUserStatus,e.SCUserBlockedSettingsType=o.SCUserBlockedSettingsType,e.SCTagType=o.SCTagType,e.SCCategoryType=o.SCCategoryType,e.SCEmbedType=o.SCEmbedType,e.SCMediaType=o.SCMediaType,e.SCContributionLocation=o.SCContributionLocation,e.SCLocalityType=o.SCLocalityType,e.SCPollChoiceType=o.SCPollChoiceType,e.SCPollType=o.SCPollType,e.SCFeedUnitType=o.SCFeedUnitType,e.SCFeedUnitActivityType=o.SCFeedUnitActivityType,e.SCFeedObjectType=o.SCFeedObjectType,e.SCFeedPostType=o.SCFeedPostType,e.SCFeedDiscussionType=o.SCFeedDiscussionType,e.SCFeedStatusType=o.SCFeedStatusType,e.SCFeedObjectTypologyType=o.SCFeedObjectTypologyType,e.SCFeedUnitActivityTypologyType=o.SCFeedUnitActivityTypologyType,e.SCFeedTypologyType=o.SCFeedTypologyType,e.SCCommentTypologyType=o.SCCommentTypologyType,e.SCCommentsOrderBy=o.SCCommentsOrderBy,e.SCCommentType=o.SCCommentType,e.SCPrivateMessageType=o.SCPrivateMessageType,e.SCPrivateMessageStatusType=o.SCPrivateMessageStatusType,e.SCPrivateMessageFileType=o.SCPrivateMessageFileType,e.SCMessageFileType=o.SCMessageFileType,e.SCNotificationTypologyType=o.SCNotificationTypologyType,e.SCNotificationAggregatedType=o.SCNotificationAggregatedType,e.SCNotificationCommentType=o.SCNotificationCommentType,e.SCNotificationConnectionAcceptType=o.SCNotificationConnectionAcceptType,e.SCNotificationConnectionRequestType=o.SCNotificationConnectionRequestType,e.SCNotificationPrivateMessageType=o.SCNotificationPrivateMessageType,e.SCNotificationMentionType=o.SCNotificationMentionType,e.SCNotificationType=o.SCNotificationType,e.SCNotificationBlockedUserType=o.SCNotificationBlockedUserType,e.SCNotificationCollapsedForType=o.SCNotificationCollapsedForType,e.SCNotificationCustomNotificationType=o.SCNotificationCustomNotificationType,e.SCNotificationDeletedForType=o.SCNotificationDeletedForType,e.SCNotificationFollowType=o.SCNotificationFollowType,e.SCNotificationKindlyNoticeType=o.SCNotificationKindlyNoticeType,e.SCNotificationUnBlockedUserType=o.SCNotificationUnBlockedUserType,e.SCNotificationUnDeletedForType=o.SCNotificationUnDeletedForType,e.SCNotificationUserFollowType=o.SCNotificationUserFollowType,e.SCNotificationVoteUpType=o.SCNotificationVoteUpType,e.SCCustomNotificationType=o.SCCustomNotificationType,e.SCIncubatorType=o.SCIncubatorType,e.SCNotificationIncubatorType=o.SCNotificationIncubatorType,e.SCNotificationTopicType=o.SCNotificationTopicType,e.SCPrizeType=o.SCPrizeType})(),i})()));
2
+ !function(e,o){"object"==typeof exports&&"object"==typeof module?module.exports=o():"function"==typeof define&&define.amd?define([],o):"object"==typeof exports?exports.SelfCommunityTypes=o():e.SelfCommunityTypes=o()}(self,(()=>(()=>{"use strict";var e={852:(e,o)=>{o.__esModule=!0},665:(e,o)=>{let t;o.__esModule=!0,o.SCBroadcastMessageBannerType=void 0,o.SCBroadcastMessageBannerType=t,function(e){e.HTML="html_banner",e.NOTIFICATION="notification_banner"}(t||(o.SCBroadcastMessageBannerType=t={}))},511:(e,o)=>{o.__esModule=!0},444:(e,o)=>{let t;o.__esModule=!0,o.SCCommentsOrderBy=o.SCCommentTypologyType=void 0,o.SCCommentTypologyType="comment",o.SCCommentsOrderBy=t,function(e){e.ADDED_AT_DESC="-added_at",e.ADDED_AT_ASC="added_at",e.CONNECTION_DESC="-connection",e.CONNECTION_ASC="connection"}(t||(o.SCCommentsOrderBy=t={}))},386:(e,o)=>{let t;o.__esModule=!0,o.SCCustomAdvPosition=void 0,o.SCCustomAdvPosition=t,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"}(t||(o.SCCustomAdvPosition=t={}))},82:(e,o)=>{o.__esModule=!0},797:(e,o)=>{o.__esModule=!0},505:(e,o)=>{let t,i,C;o.__esModule=!0,o.SCFeedUnitActivityTypologyType=o.SCFeedTypologyType=o.SCFeedObjectTypologyType=void 0,o.SCFeedTypologyType=t,function(e){e.HOME="home",e.EXPLORE="explore"}(t||(o.SCFeedTypologyType=t={})),o.SCFeedObjectTypologyType=i,function(e){e.DISCUSSION="discussion",e.POST="post",e.STATUS="status"}(i||(o.SCFeedObjectTypologyType=i={})),o.SCFeedUnitActivityTypologyType=C,function(e){e.COMMENT="comment",e.VOTE="vote",e.POLLVOTE="pollvote",e.FOLLOW="follow"}(C||(o.SCFeedUnitActivityTypologyType=C={}))},947:(e,o)=>{o.__esModule=!0},994:(e,o,t)=>{o.__esModule=!0;var i=t(852);o.SCAuthTokenType=i.SCAuthTokenType;var C=t(665);o.SCBannerType=C.SCBannerType,o.SCBroadcastMessageBannerType=C.SCBroadcastMessageBannerType,o.SCBroadcastMessageType=C.SCBroadcastMessageType;var T=t(386);o.SCCustomAdvPosition=T.SCCustomAdvPosition,o.SCCustomAdvType=T.SCCustomAdvType;var n=t(967);o.SCUserType=n.SCUserType,o.SCUserBlockedSettingsType=n.SCUserBlockedSettingsType,o.SCUserFields=n.SCUserFields,o.SCUserSettingsType=n.SCUserSettingsType,o.SCUserStatus=n.SCUserStatus;var S=t(549);o.SCTagType=S.SCTagType;var y=t(511);o.SCCategoryType=y.SCCategoryType;var p=t(797);o.SCEmbedType=p.SCEmbedType;var a=t(398);o.SCMediaType=a.SCMediaType;var s=t(714);o.SCContributionLocation=s.SCContributionLocation,o.SCLocalityType=s.SCLocalityType;var c=t(3);o.SCPollChoiceType=c.SCPollChoiceType,o.SCPollType=c.SCPollType;var r=t(444);o.SCCommentType=r.SCCommentType,o.SCCommentTypologyType=r.SCCommentTypologyType,o.SCCommentsOrderBy=r.SCCommentsOrderBy;var d=t(461);o.SCPrivateMessageType=d.SCPrivateMessageType,o.SCPrivateMessageStatusType=d.SCPrivateMessageStatusType,o.SCPrivateMessageFileType=d.SCPrivateMessageFileType,o.SCMessageFileType=d.SCMessageFileType;var l=t(947);o.SCIncubatorType=l.SCIncubatorType;var _=t(82);o.SCCustomNotificationType=_.SCCustomNotificationType;var N=t(303);o.SCPrizeType=N.SCPrizeType;var E=t(505);o.SCFeedUnitType=E.SCFeedUnitType,o.SCFeedUnitActivityType=E.SCFeedUnitActivityType,o.SCFeedObjectType=E.SCFeedObjectType,o.SCFeedPostType=E.SCFeedPostType,o.SCFeedDiscussionType=E.SCFeedDiscussionType,o.SCFeedStatusType=E.SCFeedStatusType,o.SCFeedObjectTypologyType=E.SCFeedObjectTypologyType,o.SCFeedUnitActivityTypologyType=E.SCFeedUnitActivityTypologyType,o.SCFeedTypologyType=E.SCFeedTypologyType;var O=t(768);o.SCNotificationTypologyType=O.SCNotificationTypologyType,o.SCNotificationAggregatedType=O.SCNotificationAggregatedType,o.SCNotificationCommentType=O.SCNotificationCommentType,o.SCNotificationConnectionAcceptType=O.SCNotificationConnectionAcceptType,o.SCNotificationConnectionRequestType=O.SCNotificationConnectionRequestType,o.SCNotificationPrivateMessageType=O.SCNotificationPrivateMessageType,o.SCNotificationMentionType=O.SCNotificationMentionType,o.SCNotificationType=O.SCNotificationType,o.SCNotificationBlockedUserType=O.SCNotificationBlockedUserType,o.SCNotificationCollapsedForType=O.SCNotificationCollapsedForType,o.SCNotificationCustomNotificationType=O.SCNotificationCustomNotificationType,o.SCNotificationDeletedForType=O.SCNotificationDeletedForType,o.SCNotificationFollowType=O.SCNotificationFollowType,o.SCNotificationKindlyNoticeType=O.SCNotificationKindlyNoticeType,o.SCNotificationUnBlockedUserType=O.SCNotificationUnBlockedUserType,o.SCNotificationUnDeletedForType=O.SCNotificationUnDeletedForType,o.SCNotificationUserFollowType=O.SCNotificationUserFollowType,o.SCNotificationVoteUpType=O.SCNotificationVoteUpType,o.SCNotificationIncubatorType=O.SCNotificationIncubatorType,o.SCNotificationTopicType=O.SCNotificationTopicType;var f=t(419);o.SCWebhookEndpointType=f.SCWebhookEndpointType,o.SCWebhookEndpointAttemptType=f.SCWebhookEndpointAttemptType,o.SCWebhookEndpointSecretType=f.SCWebhookEndpointSecretType,o.SCWebhookEventsType=f.SCWebhookEventsType},714:(e,o)=>{o.__esModule=!0},398:(e,o)=>{o.__esModule=!0},768:(e,o)=>{let t,i;o.__esModule=!0,o.SCNotificationTypologyType=o.SCNotificationTopicType=void 0,o.SCNotificationTypologyType=t,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_reject",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"}(t||(o.SCNotificationTypologyType=t={})),o.SCNotificationTopicType=i,function(e){e.INTERACTION="interaction",e.NEWS="news"}(i||(o.SCNotificationTopicType=i={}))},3:(e,o)=>{o.__esModule=!0},461:(e,o)=>{let t,i;o.__esModule=!0,o.SCPrivateMessageStatusType=o.SCMessageFileType=void 0,o.SCPrivateMessageStatusType=t,function(e){e.CREATED="created",e.DELETED="deleted",e.HIDDEN="hidden",e.NEW="new"}(t||(o.SCPrivateMessageStatusType=t={})),o.SCMessageFileType=i,function(e){e.DOCUMENT="application/",e.IMAGE="image/",e.VIDEO="video/"}(i||(o.SCMessageFileType=i={}))},303:(e,o)=>{o.__esModule=!0},549:(e,o)=>{o.__esModule=!0},967:(e,o)=>{let t,i;o.__esModule=!0,o.SCUserStatus=o.SCUserFields=void 0,o.SCUserFields=t,function(e){e.USERNAME="username",e.REAL_NAME="real_name",e.DATE_JOINED="date_joined",e.BIO="bio",e.LOCATION="location",e.DATE_OF_BIRTH="date_of_birth",e.DESCRIPTION="description",e.GENDER="gender",e.WEBSITE="website"}(t||(o.SCUserFields=t={})),o.SCUserStatus=i,function(e){e.APPROVED="a",e.BLOCKED="b",e.DELETED="d",e.UNREGISTERED="u"}(i||(o.SCUserStatus=i={}))},419:(e,o)=>{o.__esModule=!0}},o={};function t(i){var C=o[i];if(void 0!==C)return C.exports;var T=o[i]={exports:{}};return e[i](T,T.exports,t),T.exports}var i={};return(()=>{var e=i;e.__esModule=!0;var o=t(994);e.SCBroadcastMessageBannerType=o.SCBroadcastMessageBannerType,e.SCBannerType=o.SCBannerType,e.SCBroadcastMessageType=o.SCBroadcastMessageType,e.SCAuthTokenType=o.SCAuthTokenType,e.SCCustomAdvPosition=o.SCCustomAdvPosition,e.SCCustomAdvType=o.SCCustomAdvType,e.SCUserFields=o.SCUserFields,e.SCUserType=o.SCUserType,e.SCUserSettingsType=o.SCUserSettingsType,e.SCUserStatus=o.SCUserStatus,e.SCUserBlockedSettingsType=o.SCUserBlockedSettingsType,e.SCTagType=o.SCTagType,e.SCCategoryType=o.SCCategoryType,e.SCEmbedType=o.SCEmbedType,e.SCMediaType=o.SCMediaType,e.SCContributionLocation=o.SCContributionLocation,e.SCLocalityType=o.SCLocalityType,e.SCPollChoiceType=o.SCPollChoiceType,e.SCPollType=o.SCPollType,e.SCFeedUnitType=o.SCFeedUnitType,e.SCFeedUnitActivityType=o.SCFeedUnitActivityType,e.SCFeedObjectType=o.SCFeedObjectType,e.SCFeedPostType=o.SCFeedPostType,e.SCFeedDiscussionType=o.SCFeedDiscussionType,e.SCFeedStatusType=o.SCFeedStatusType,e.SCFeedObjectTypologyType=o.SCFeedObjectTypologyType,e.SCFeedUnitActivityTypologyType=o.SCFeedUnitActivityTypologyType,e.SCFeedTypologyType=o.SCFeedTypologyType,e.SCCommentTypologyType=o.SCCommentTypologyType,e.SCCommentsOrderBy=o.SCCommentsOrderBy,e.SCCommentType=o.SCCommentType,e.SCPrivateMessageType=o.SCPrivateMessageType,e.SCPrivateMessageStatusType=o.SCPrivateMessageStatusType,e.SCPrivateMessageFileType=o.SCPrivateMessageFileType,e.SCMessageFileType=o.SCMessageFileType,e.SCNotificationTypologyType=o.SCNotificationTypologyType,e.SCNotificationAggregatedType=o.SCNotificationAggregatedType,e.SCNotificationCommentType=o.SCNotificationCommentType,e.SCNotificationConnectionAcceptType=o.SCNotificationConnectionAcceptType,e.SCNotificationConnectionRequestType=o.SCNotificationConnectionRequestType,e.SCNotificationPrivateMessageType=o.SCNotificationPrivateMessageType,e.SCNotificationMentionType=o.SCNotificationMentionType,e.SCNotificationType=o.SCNotificationType,e.SCNotificationBlockedUserType=o.SCNotificationBlockedUserType,e.SCNotificationCollapsedForType=o.SCNotificationCollapsedForType,e.SCNotificationCustomNotificationType=o.SCNotificationCustomNotificationType,e.SCNotificationDeletedForType=o.SCNotificationDeletedForType,e.SCNotificationFollowType=o.SCNotificationFollowType,e.SCNotificationKindlyNoticeType=o.SCNotificationKindlyNoticeType,e.SCNotificationUnBlockedUserType=o.SCNotificationUnBlockedUserType,e.SCNotificationUnDeletedForType=o.SCNotificationUnDeletedForType,e.SCNotificationUserFollowType=o.SCNotificationUserFollowType,e.SCNotificationVoteUpType=o.SCNotificationVoteUpType,e.SCCustomNotificationType=o.SCCustomNotificationType,e.SCIncubatorType=o.SCIncubatorType,e.SCNotificationIncubatorType=o.SCNotificationIncubatorType,e.SCNotificationTopicType=o.SCNotificationTopicType,e.SCPrizeType=o.SCPrizeType,e.SCWebhookEndpointType=o.SCWebhookEndpointType,e.SCWebhookEndpointAttemptType=o.SCWebhookEndpointAttemptType,e.SCWebhookEndpointSecretType=o.SCWebhookEndpointSecretType,e.SCWebhookEventsType=o.SCWebhookEventsType})(),i})()));
3
3
  //# sourceMappingURL=types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","mappings":"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","sources":["webpack://SelfCommunityTypes/webpack/universalModuleDefinition","webpack://SelfCommunityTypes/./src/types/broadcastMessage.ts","webpack://SelfCommunityTypes/./src/types/comment.ts","webpack://SelfCommunityTypes/./src/types/customAdv.ts","webpack://SelfCommunityTypes/./src/types/feed.ts","webpack://SelfCommunityTypes/./src/types/index.ts","webpack://SelfCommunityTypes/./src/types/notification.ts","webpack://SelfCommunityTypes/./src/types/privateMessage.ts","webpack://SelfCommunityTypes/./src/types/user.ts","webpack://SelfCommunityTypes/webpack/bootstrap","webpack://SelfCommunityTypes/./src/index.ts"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"SelfCommunityTypes\"] = factory();\n\telse\n\t\troot[\"SelfCommunityTypes\"] = factory();\n})(self, () => {\nreturn ","/**\n * Define the various types of banners\n */\nexport enum SCBroadcastMessageBannerType {\n HTML = 'html_banner',\n NOTIFICATION = 'notification_banner',\n}\n\nexport interface SCBannerType {\n /**\n * The type of the banner, based on it the behaviour of the render component must be different\n */\n type_banner: SCBroadcastMessageBannerType;\n\n /**\n * The html to insert into the DOM\n * This field is used when type_banner is html_banner\n */\n html?: string;\n\n /**\n * The title of the banner\n */\n title?: string;\n\n /**\n * The text of the banner\n */\n body_text?: string;\n\n /**\n * The text of the link associated to the banner\n */\n link_text?: string;\n /**\n * The action link of the banner\n */\n link?: string;\n /**\n * The image url to insert into the banner\n */\n image?: string;\n /**\n * The date the Banner was created\n */\n added_at: Date;\n /**\n * If true tell to open the banner in new tab\n */\n open_in_new_tab: boolean;\n}\n\n/**\n * Interface SCBroadcastMessageType.\n * Broadcast Message object\n */\nexport interface SCBroadcastMessageType {\n /**\n * The ID of the category.\n */\n id: number;\n\n /**\n * The Banner associated to the Broadcast messages\n */\n banner: SCBannerType;\n\n /**\n * The date the BroadcastMessage was added\n */\n added_at: Date;\n\n /**\n * The date the BroadcastMessage was disposed\n */\n disposed_at: Date | null;\n\n /**\n * The date the BroadcastMessage was viewed the first time\n */\n viewed_at: Date | null;\n}\n","import {SCUserType } from './index';\n\n/**\n * Typology Comment\n */\nexport const SCCommentTypologyType = 'comment';\n\n/**\n * Interface SCCommentType.\n * Comment Schema.\n */\nexport interface SCCommentType {\n /**\n * Id of the comment\n */\n id: number;\n\n /**\n * Id of the Discussion object\n */\n discussion?: number;\n\n /**\n * Id of the Post object\n */\n post?: number;\n\n /**\n * Id of the Status object\n */\n status?: number;\n\n /**\n * User who commented\n */\n author?: SCUserType;\n\n /**\n * Added at\n */\n added_at: Date;\n\n /**\n * Html of the comment\n */\n html: string;\n\n /**\n * Summary\n */\n summary: string;\n\n /**\n * If the comments is deleted\n */\n deleted: boolean;\n\n /**\n * If the comments is hidden\n */\n collapsed: boolean;\n\n /**\n * Id of the parent\n */\n parent: number;\n\n /**\n * Id of the reply Comment, it must have the same parent\n */\n in_reply_to?: number;\n\n /**\n * Number of votes\n */\n vote_count: number;\n\n /**\n * True if the logged user has already voted the comment\n */\n voted: boolean;\n\n /**\n * Number of flags\n */\n flag_count: number;\n\n /**\n * Number of comments\n */\n comment_count: number;\n\n /**\n * Text of the comment\n */\n text: string;\n\n /**\n * Comments childs\n */\n latest_comments?: SCCommentType[];\n\n /**\n * Type: comment\n */\n type: string;\n}\n\n/**\n * Type of comments ordering\n */\nexport enum SCCommentsOrderBy {\n ADDED_AT_DESC = '-added_at',\n ADDED_AT_ASC = 'added_at',\n CONNECTION_DESC = '-connection',\n CONNECTION_ASC = 'connection',\n}\n","export enum SCCustomAdvPosition {\n POSITION_BELOW_TOPBAR = 'BELOW_TOPBAR',\n POSITION_BELOW_FEED_OBJECT = 'BELOW_THE_POST',\n POSITION_ABOVE_FOOTER_BAR = 'ABOVE_FOOTER_BAR',\n POSITION_FOOTER_STICKY = 'FOOTER_STICKY',\n POSITION_IN_COMMENTS = 'IN_POST_COMMENTS',\n POSITION_RELATED_POSTS_COLUMN = 'RELATED_POSTS_COLUMN',\n POSITION_FEED_SIDEBAR = 'TOOLS_COLUMN',\n POSITION_FEED = 'IN_STREAM',\n}\n\nexport interface SCCustomAdvType {\n /**\n * Unique integer value identifying this adv\n */\n id: number;\n\n /**\n * A string code representing the display position of the adv\n */\n position: SCCustomAdvPosition;\n\n /**\n * The title of the adv\n */\n title: string | null;\n\n /**\n * The link/url of the adv\n */\n link: string | null;\n\n /**\n * An image banner for the adv\n */\n image: string | null;\n\n /**\n * Html/js embeddable code\n */\n embed_code: string | null;\n\n /**\n * A flag to activate or deactivate this adv\n */\n active: boolean;\n\n /**\n * datetime of creation\n */\n created_at: string;\n\n /**\n * last modify datetime\n */\n lastmod_datetime: string;\n\n /**\n * The id of the category connected to this adv\n */\n category: number | null;\n}\n","import {SCUserType} from './user';\nimport {SCCategoryType} from './category';\nimport {SCContributionLocation} from './location';\nimport {SCPollType} from './poll';\nimport {SCMediaType} from './media';\nimport {SCTagType} from './tag';\n\n/**\n * Typology of feed\n */\nexport enum SCFeedTypologyType {\n HOME = 'home',\n EXPLORE = 'explore',\n}\n\n/**\n * Typology of feedObject\n */\nexport enum SCFeedObjectTypologyType {\n DISCUSSION = 'discussion',\n POST = 'post',\n STATUS = 'status',\n}\n\n/**\n * Interface SCFeedUnitType.\n * FeedUnit Schema.\n */\nexport interface SCFeedUnitType {\n /**\n * The type of the object, can be discussion, post or status\n */\n type: SCFeedObjectTypologyType;\n\n /**\n * Discussion object\n */\n discussion?: SCFeedDiscussionType;\n\n /**\n * Post object\n */\n post?: SCFeedPostType;\n\n /**\n * Status object\n */\n status?: SCFeedStatusType;\n\n /**\n * Id of User that have seen this object\n */\n seen_by_id?: number[];\n\n /**\n * True if this object has the visibility boost\n */\n has_boost?: boolean;\n\n /**\n * List of feed activities. This field is returned only for relevance feed\n */\n activities?: SCFeedUnitActivityType[];\n}\n\nexport enum SCFeedUnitActivityTypologyType {\n COMMENT = 'comment',\n VOTE = 'vote',\n POLLVOTE = 'pollvote',\n FOLLOW = 'follow',\n}\n\n/**\n * Interface SCFeedUnitActivityType.\n * FeedUnit Activity Schema.\n */\nexport interface SCFeedUnitActivityType {\n /**\n * The type of the activity.\n */\n type: SCFeedUnitActivityTypologyType;\n\n /**\n * The comment if type == SCFeedUnitActivityTypologyType.COMMENT.\n */\n comment?: any;\n\n /**\n * The user involved.\n */\n author: SCUserType;\n\n /**\n * Time of activity\n */\n active_at: Date;\n\n /**\n * Id of Users that have seen this activity\n */\n seen_by_id?: number[];\n}\n\n/**\n * Interface SCFeedObjectType.\n * FeedObject Schema.\n * General object.\n */\nexport interface SCFeedObjectType {\n /**\n * The ID of the post.\n */\n id: number;\n\n /**\n * List of categories.\n */\n categories?: SCCategoryType[];\n\n /**\n * List of medias\n */\n medias?: SCMediaType[];\n\n /**\n * Location (contribution geolocation)\n */\n location?: SCContributionLocation;\n\n /**\n * Author of the contribute\n */\n author?: SCUserType;\n\n /**\n * Last activity at\n */\n last_activity_at: Date;\n\n /**\n * Added at\n */\n added_at: Date;\n\n /**\n * Slug\n */\n slug: string;\n\n /**\n * Html\n */\n html: string;\n\n /**\n * Summary\n */\n summary: string;\n\n /**\n * True if the object is deleted\n */\n deleted: boolean;\n\n /**\n * True if the object is hidden\n */\n collapsed: boolean;\n\n /**\n * Number of comment\n */\n comment_count: number;\n\n /**\n * Number of internal share\n */\n share_count: number;\n\n /**\n * True if the logged user follow this object\n */\n followed?: boolean;\n\n /**\n * Number of votes\n */\n vote_count: number;\n\n /**\n * True if the logged user has already voted this object\n */\n voted?: boolean;\n\n /**\n * Number of flags\n */\n flag_count: number;\n\n /**\n * Tags adderssing\n */\n addressing: SCTagType[];\n\n /**\n * Type: discussion, post, status\n */\n type: SCFeedObjectTypologyType;\n\n /**\n * Suspended notification\n */\n suspended?: boolean;\n}\n\n/**\n * Interface SCFeedDiscussionType.\n * FeedDiscussion Schema.\n */\nexport interface SCFeedDiscussionType extends SCFeedObjectType {\n /**\n * Title of the discussion\n */\n title: string;\n\n /**\n * Poll\n */\n poll?: SCPollType;\n}\n\n/**\n * Interface SCFeedPostType.\n * Post Schema.\n */\nexport interface SCFeedPostType extends SCFeedObjectType {\n /**\n * Poll\n */\n poll?: SCPollType;\n}\n\n/**\n * Interface SCFeedStatusType.\n * Status Schema.\n */\nexport type SCFeedStatusType = SCFeedObjectType;\n","import {SCAuthTokenType} from './auth';\nimport {SCBannerType, SCBroadcastMessageBannerType, SCBroadcastMessageType} from './broadcastMessage';\nimport {SCCustomAdvPosition, SCCustomAdvType} from './customAdv';\nimport {SCUserType, SCUserBlockedSettingsType, SCUserFields, SCUserSettingsType, SCUserStatus} from './user';\nimport {SCTagType} from './tag';\nimport {SCCategoryType} from './category';\nimport {SCEmbedType} from './embed';\nimport {SCMediaType} from './media';\nimport {SCContributionLocation, SCLocalityType} from './location';\nimport {SCPollChoiceType, SCPollType} from './poll';\nimport {SCCommentType, SCCommentTypologyType, SCCommentsOrderBy} from './comment';\nimport {SCPrivateMessageType, SCPrivateMessageStatusType, SCPrivateMessageFileType, SCMessageFileType} from './privateMessage';\nimport {SCIncubatorType} from './incubator';\nimport {SCCustomNotificationType} from './customNotification';\nimport {SCPrizeType} from './prize';\nimport {\n SCFeedUnitType,\n SCFeedUnitActivityType,\n SCFeedObjectType,\n SCFeedPostType,\n SCFeedDiscussionType,\n SCFeedStatusType,\n SCFeedObjectTypologyType,\n SCFeedUnitActivityTypologyType,\n SCFeedTypologyType\n} from './feed';\nimport {\n SCNotificationTypologyType,\n SCNotificationAggregatedType,\n SCNotificationCommentType,\n SCNotificationConnectionAcceptType,\n SCNotificationConnectionRequestType,\n SCNotificationPrivateMessageType,\n SCNotificationMentionType,\n SCNotificationType,\n SCNotificationBlockedUserType,\n SCNotificationCollapsedForType,\n SCNotificationCustomNotificationType,\n SCNotificationDeletedForType,\n SCNotificationFollowType,\n SCNotificationKindlyNoticeType,\n SCNotificationUnBlockedUserType,\n SCNotificationUnDeletedForType,\n SCNotificationUserFollowType,\n SCNotificationVoteUpType,\n SCNotificationIncubatorType,\n SCNotificationTopicType\n} from './notification';\n\n/**\n * Exports all types\n */\nexport {\n SCBannerType,\n SCBroadcastMessageBannerType,\n SCBroadcastMessageType,\n SCAuthTokenType,\n SCUserFields,\n SCUserType,\n SCUserSettingsType,\n SCUserStatus,\n SCUserBlockedSettingsType,\n SCTagType,\n SCCategoryType,\n SCCustomAdvPosition,\n SCCustomAdvType,\n SCEmbedType,\n SCMediaType,\n SCContributionLocation,\n SCLocalityType,\n SCPollChoiceType,\n SCPollType,\n SCFeedUnitType,\n SCFeedUnitActivityType,\n SCFeedObjectType,\n SCFeedPostType,\n SCFeedDiscussionType,\n SCFeedStatusType,\n SCFeedObjectTypologyType,\n SCFeedUnitActivityTypologyType,\n SCFeedTypologyType,\n SCCommentTypologyType,\n SCCommentsOrderBy,\n SCCommentType,\n SCPrivateMessageType,\n SCPrivateMessageStatusType,\n SCPrivateMessageFileType,\n SCMessageFileType,\n SCNotificationTypologyType,\n SCNotificationAggregatedType,\n SCNotificationCommentType,\n SCNotificationConnectionAcceptType,\n SCNotificationConnectionRequestType,\n SCNotificationPrivateMessageType,\n SCNotificationMentionType,\n SCNotificationType,\n SCNotificationBlockedUserType,\n SCNotificationCollapsedForType,\n SCNotificationCustomNotificationType,\n SCNotificationDeletedForType,\n SCNotificationFollowType,\n SCNotificationKindlyNoticeType,\n SCNotificationUnBlockedUserType,\n SCNotificationUnDeletedForType,\n SCNotificationUserFollowType,\n SCNotificationVoteUpType,\n SCCustomNotificationType,\n SCNotificationTopicType,\n SCIncubatorType,\n SCNotificationIncubatorType,\n SCPrizeType\n};\n","import {SCCategoryType, SCCommentType, SCFeedDiscussionType, SCFeedPostType, SCFeedStatusType, SCUserType} from '../index';\nimport {SCPrivateMessageType} from './privateMessage';\nimport {SCUserBlockedSettingsType} from './user';\nimport {SCCustomNotificationType} from './customNotification';\nimport {SCIncubatorType} from './incubator';\n\n/**\n * Notification types\n */\nexport enum SCNotificationTypologyType {\n COMMENT = 'comment',\n NESTED_COMMENT = 'nested_comment',\n CONNECTION_REQUEST = 'connection_request',\n CONNECTION_ACCEPT = 'connection_accept',\n CONNECTION_REMOVE = 'connection_remove',\n CONNECTION_REJECT = 'connection_reject',\n CONNECTION_CANCEL_REJECT = 'connection_cancel_reject',\n CONNECTION_CANCEL_REQUEST = 'connection_cancel_reject',\n MENTION = 'mention',\n VOTE_UP = 'vote_up',\n FOLLOW = 'follow',\n PRIVATE_MESSAGE = 'private_message',\n DELETE_PRIVATE_MESSAGE = 'delete_private_message',\n DELETED_FOR_ADVERTISING = 'deleted_for_advertising',\n DELETED_FOR_AGGRESSIVE = 'deleted_for_aggressive',\n DELETED_FOR_VULGAR = 'deleted_for_vulgar',\n DELETED_FOR_POOR = 'deleted_for_poor',\n DELETED_FOR_OFFTOPIC = 'deleted_for_offtopic',\n UNDELETED_FOR = 'undeleted_for',\n COLLAPSED_FOR_ADVERTISING = 'collapsed_for_advertising',\n COLLAPSED_FOR_AGGRESSIVE = 'collapsed_for_aggressive',\n COLLAPSED_FOR_VULGAR = 'collapsed_for_vulgar',\n COLLAPSED_FOR_POOR = 'collapsed_for_poor',\n COLLAPSED_FOR_OFFTOPIC = 'collapsed_for_offtopic',\n USER_FOLLOW = 'user_follow',\n USER_UNFOLLOW = 'user_unfollow',\n KINDLY_NOTICE_ADVERTISING = 'kindly_notice_advertising',\n KINDLY_NOTICE_AGGRESSIVE = 'kindly_notice_aggressive',\n KINDLY_NOTICE_VULGAR = 'kindly_notice_vulgar',\n KINDLY_NOTICE_POOR = 'kindly_notice_poor',\n KINDLY_NOTICE_OFFTOPIC = 'kindly_notice_offtopic',\n KINDLY_NOTICE_FLAG = 'kindly_notice_flag',\n BLOCKED_USER = 'blocked_user',\n UNBLOCKED_USER = 'unblocked_user',\n INCUBATOR_APPROVED = 'incubator_approved',\n CUSTOM_NOTIFICATION = 'custom_notification',\n NOTIFICATION_BANNER = 'notification_banner',\n}\n\n/**\n * Define topic for notifications\n * Usefull for websocket\n */\nexport enum SCNotificationTopicType {\n INTERACTION = 'interaction',\n NEWS = 'news',\n}\n\n/**\n * Interface SCNotificationAggregatedType.\n * Notification aggregated Schema.\n */\nexport interface SCNotificationAggregatedType {\n /**\n * Serialization id of the macro notification aggregate block\n */\n sid: string;\n\n /**\n * It's true if in the aggregated group there is at least one\n * notification not yet seen by the user making the request\n */\n is_new: boolean;\n\n /**\n * Primary object involved (object that is common to notifications group)\n * if it is a discusssion. For some types of notifications it will not be present.\n */\n discussion?: SCFeedDiscussionType;\n\n /**\n * Primary object involved (object that is common to notifications group)\n * if it is a post. For some types of notifications it will not be present.\n */\n post?: SCFeedPostType;\n\n /**\n * Primary object involved (object that is common to notifications group)\n * if it is a status. For some types of notifications it will not be present.\n */\n status?: SCFeedStatusType;\n\n /**\n * List of aggregated notifications by type.\n * Types Object: NotificationTypeComment, NotificationTypeMention,\n * NotificationTypeConnectionAccept, NotificationTypeConnectionRequest,\n * NotificationTypePrivateMessage, NotificationTypeFollow, NotificationTypeVoteUp,\n * NotificationTypeBlockedUser, NotificationTypeUnBlockedUser,\n * NotificationTypeKindlyNotice, NotificationTypeCollapsedFor,\n * NotificationTypeDeletedFor, NotificationTypeCustomNotification\n */\n aggregated: SCNotificationType[];\n}\n\n/**\n * Interface SCNotificationType.\n * Notification Schema.\n */\nexport interface SCNotificationType {\n /**\n * True if the notification has been read, otherwise false\n */\n is_new: boolean;\n\n /**\n * Serialization id of the single notification\n */\n sid: string;\n\n /**\n * Type of the notification\n */\n type: SCNotificationTypologyType;\n\n /**\n * Time when the notification was generated\n */\n active_at: Date;\n}\n\n/**\n * Interface SCNotificationCommentType.\n * Comment Notification Schema.\n */\nexport interface SCNotificationCommentType extends SCNotificationType {\n /**\n * Comment of first/second level\n */\n comment: SCCommentType;\n\n /**\n * Type Comment or Nested_comment\n */\n type: SCNotificationTypologyType.COMMENT | SCNotificationTypologyType.NESTED_COMMENT;\n}\n\n/**\n * Interface SCNotificationMentionType.\n * Mention Notification Schema.\n */\nexport interface SCNotificationMentionType extends SCNotificationType {\n /**\n * Type Mention\n */\n type: SCNotificationTypologyType.MENTION;\n\n /**\n * If user is mentioned in a discussion\n */\n discussion?: SCFeedDiscussionType;\n\n /**\n * If the user is mentioned in a post\n */\n post?: SCFeedPostType;\n\n /**\n * If user is mentioned in a status\n */\n status?: SCFeedStatusType;\n\n /**\n * If user is mentioned in a comment\n */\n comment?: SCCommentType;\n}\n\n/**\n * Interface SCNotificationConnectionRequestType.\n * Connection Request Notification Schema.\n */\nexport interface SCNotificationConnectionRequestType extends SCNotificationType {\n /**\n * Type Connection request\n */\n type: SCNotificationTypologyType.CONNECTION_REQUEST;\n\n /**\n * User request the connection\n */\n request_user: SCUserType;\n}\n\n/**\n * Interface SCNotificationConnectionAcceptType.\n * Connection Accept Notification Schema.\n */\nexport interface SCNotificationConnectionAcceptType extends SCNotificationType {\n /**\n * Type Connection accept\n */\n type: SCNotificationTypologyType.CONNECTION_ACCEPT;\n\n /**\n * User accepted the connection request\n */\n accept_user: SCUserType;\n}\n\n/**\n * Interface SCNotificationPrivateMessageType.\n * Private Message Notification Schema.\n */\nexport interface SCNotificationPrivateMessageType extends SCNotificationType {\n /**\n * Type Private message\n */\n type: SCNotificationTypologyType.PRIVATE_MESSAGE;\n\n /**\n * Private message\n */\n message: SCPrivateMessageType;\n}\n\n/**\n * Interface SCNotificationFollowType.\n * Follow Notification Schema.\n * (discussion, post, status)\n */\nexport interface SCNotificationFollowType extends SCNotificationType {\n /**\n * Type Follow\n */\n type: SCNotificationTypologyType.FOLLOW;\n\n /**\n * If user is mentioned in a discussion\n */\n discussion?: SCFeedDiscussionType;\n\n /**\n * If the user is mentioned in a post\n */\n post?: SCFeedPostType;\n\n /**\n * If user is mentioned in a status\n */\n status?: SCFeedStatusType;\n}\n\n/**\n * Interface SCNotificationVoteUpType.\n * VoteUp Notification Schema.\n */\nexport interface SCNotificationVoteUpType extends SCNotificationType {\n /**\n * Type VoteUp\n */\n type: SCNotificationTypologyType.VOTE_UP;\n\n /**\n * If user is mentioned in a discussion\n */\n discussion?: SCFeedDiscussionType;\n\n /**\n * If the user is mentioned in a post\n */\n post?: SCFeedPostType;\n\n /**\n * If user is mentioned in a status\n */\n status?: SCFeedStatusType;\n\n /**\n * If user is mentioned in a comment\n */\n comment?: SCCommentType;\n\n /**\n * User voted up\n */\n user?: SCUserType;\n}\n\n/**\n * Interface SCNotificationBlockedUserType.\n * Blocked User Notification Schema.\n */\nexport interface SCNotificationBlockedUserType extends SCNotificationType {\n /**\n * Type Blocked User\n */\n type: SCNotificationTypologyType.BLOCKED_USER;\n\n /**\n * Data of user block\n */\n blocked_settings: SCUserBlockedSettingsType;\n}\n\n/**\n * Interface SCNotificationUnBlockedUserType.\n * UnBlocked User Notification Schema.\n */\nexport interface SCNotificationUnBlockedUserType extends SCNotificationType {\n /**\n * Type UnBlocked User\n */\n type: SCNotificationTypologyType.UNBLOCKED_USER;\n}\n\n/**\n * Interface SCNotificationKindlyNoticeType.\n * Kindly notice User Notification Schema.\n */\nexport interface SCNotificationKindlyNoticeType extends SCNotificationType {\n /**\n * Type Kindly Notice User\n */\n type:\n | SCNotificationTypologyType.KINDLY_NOTICE_ADVERTISING\n | SCNotificationTypologyType.KINDLY_NOTICE_FLAG\n | SCNotificationTypologyType.KINDLY_NOTICE_VULGAR\n | SCNotificationTypologyType.KINDLY_NOTICE_AGGRESSIVE\n | SCNotificationTypologyType.KINDLY_NOTICE_POOR\n | SCNotificationTypologyType.KINDLY_NOTICE_OFFTOPIC;\n\n /**\n * If the contribute is a discussion\n */\n discussion?: SCFeedDiscussionType;\n\n /**\n * If the contribute is a post\n */\n post?: SCFeedPostType;\n\n /**\n * If the contribute is a status\n */\n status?: SCFeedStatusType;\n\n /**\n * If the contribute is a comment\n */\n comment?: SCCommentType;\n}\n\n/**\n * Interface SCNotificationCollapsedForType.\n * Collapsed for Notification Schema.\n * Only for comments.\n */\nexport interface SCNotificationCollapsedForType extends SCNotificationType {\n /**\n * Type Kindly Notice User\n */\n type:\n | SCNotificationTypologyType.COLLAPSED_FOR_ADVERTISING\n | SCNotificationTypologyType.COLLAPSED_FOR_AGGRESSIVE\n | SCNotificationTypologyType.COLLAPSED_FOR_POOR\n | SCNotificationTypologyType.COLLAPSED_FOR_OFFTOPIC\n | SCNotificationTypologyType.COLLAPSED_FOR_VULGAR;\n\n /**\n * comment collapsed\n */\n comment: SCCommentType;\n}\n\n/**\n * Interface SCNotificationDeletedForType.\n * Deleted for Notification Schema.\n */\nexport interface SCNotificationDeletedForType extends SCNotificationType {\n /**\n * Type Deleted for\n */\n type:\n | SCNotificationTypologyType.DELETED_FOR_ADVERTISING\n | SCNotificationTypologyType.DELETED_FOR_AGGRESSIVE\n | SCNotificationTypologyType.DELETED_FOR_VULGAR\n | SCNotificationTypologyType.DELETED_FOR_POOR\n | SCNotificationTypologyType.DELETED_FOR_OFFTOPIC;\n\n /**\n * If a discussion is deleted\n */\n discussion?: SCFeedDiscussionType;\n\n /**\n * If a post is deleted\n */\n post?: SCFeedPostType;\n\n /**\n * If a comment is deleted\n */\n status?: SCFeedStatusType;\n\n /**\n * If a status is deleted\n */\n comment?: SCCommentType;\n}\n\n/**\n * Interface SCNotificationUnDeletedForType.\n * Undeleted for Notification Schema.\n */\nexport interface SCNotificationUnDeletedForType extends SCNotificationType {\n /**\n * Type Undeleted for\n */\n type: SCNotificationTypologyType.UNDELETED_FOR;\n\n /**\n * If a discussion is undeleted\n */\n discussion?: SCFeedDiscussionType;\n\n /**\n * If a post is undeleted\n */\n post?: SCFeedPostType;\n\n /**\n * If a comment is undeleted\n */\n status?: SCFeedStatusType;\n\n /**\n * If a status is undeleted\n */\n comment?: SCCommentType;\n}\n\n/**\n * Interface SCNotificationUserFollowType.\n * User Follow Notification Schema.\n */\nexport interface SCNotificationUserFollowType extends SCNotificationType {\n /**\n * Type User Follow\n */\n type: SCNotificationTypologyType.USER_FOLLOW;\n\n /**\n * Follower\n */\n follower: SCUserType;\n}\n\n/**\n * Interface SCNotificationIncubatorType.\n * The incubator proposed by the user has been approved\n */\nexport interface SCNotificationIncubatorType extends SCNotificationType {\n /**\n * Type Incubator Approved\n */\n type: SCNotificationTypologyType.INCUBATOR_APPROVED;\n\n /**\n * Incubator\n */\n incubator: SCIncubatorType;\n}\n\n/**\n * Interface SCNotificationCustomNotificationType.\n * CustomNotification Notification Schema.\n */\nexport interface SCNotificationCustomNotificationType extends SCNotificationType {\n /**\n * Type User Follow\n */\n type: SCNotificationTypologyType.CUSTOM_NOTIFICATION;\n\n /**\n * User generate the custom notification\n */\n user: SCUserType;\n\n /**\n * Custom notification data\n */\n custom_notification: SCCustomNotificationType;\n}\n","/**\n * Interface SCPrivateMessageType.\n * Private Message Schema.\n */\nimport {SCUserType} from './user';\n\nexport interface SCPrivateMessageType {\n /**\n * Message status: created, deleted or hidden message\n */\n status: string;\n /**\n * Id of the message\n */\n id: number;\n\n /**\n * Sender User\n */\n sender: SCUserType;\n /**\n *Receiver User\n */\n receiver: SCUserType;\n\n /**\n * Message\n */\n html: string;\n\n /**\n * Send date time\n */\n created_at: Date | string;\n /**\n * Last interaction date time\n */\n last_message_at: Date;\n\n /**\n * Message status: created, deleted or hidden message\n */\n thread_status: SCPrivateMessageStatusType;\n\n /**\n * file\n */\n file?: SCPrivateMessageFileType;\n /**\n * Headline\n */\n headline: string;\n /**\n * Message content\n */\n message: string;\n}\n\n/**\n * Private Message status:\n * created, deleted or hidden message\n */\nexport enum SCPrivateMessageStatusType {\n CREATED = 'created',\n DELETED = 'deleted',\n HIDDEN = 'hidden',\n NEW = 'new',\n}\n\nexport interface SCPrivateMessageFileType {\n /**\n * The file id\n */\n uuid?: string;\n\n /**\n * File name\n */\n filename?: string;\n\n /**\n * File size\n */\n filesize?: number;\n\n /**\n * The type of the file\n */\n mimetype?: SCMessageFileType;\n\n /**\n * The duration (in seconds) of the file\n */\n duration?: number;\n\n /**\n * File Url\n */\n url?: string;\n /**\n * File thumbnail\n */\n thumbnail?: string;\n /**\n * File Url(response)\n */\n file_url?: string;\n /**\n * The file id(response)\n */\n file_uuid?: string;\n}\n\n/**\n * Private Message status:\n * created, deleted or hidden message\n */\nexport enum SCMessageFileType {\n DOCUMENT = 'application/',\n IMAGE = 'image/',\n VIDEO = 'video/',\n}\n","/**\n * Interface SCUserType.\n * User Schema.\n */\nimport {SCTagType} from './tag';\n\n/**\n * User Fields\n */\nexport enum SCUserFields {\n USERNAME = 'username',\n REAL_NAME = 'real_name',\n DATE_JOINED = 'date_joined',\n BIO = 'bio',\n LOCATION = 'location',\n DATE_OF_BIRTH = 'date_of_birth',\n DESCRIPTION = 'description',\n GENDER = 'gender',\n WEBSITE = 'website'\n}\n\n/**\n * User status\n */\nexport enum SCUserStatus {\n APPROVED = 'a',\n BLOCKED = 'b',\n DELETED = 'd',\n UNREGISTERED = 'u',\n}\n\nexport interface SCUserType {\n /**\n * The ID of the user.\n */\n id: number;\n\n /**\n * The username of the user.\n */\n username: string;\n\n /**\n * Real name of the user.\n */\n real_name: string;\n\n /**\n * Email of the user.\n */\n email?: string;\n\n /**\n * Email is valid. Default: False.\n */\n email_isvalid?: boolean;\n\n /**\n * Date joined to the community.\n */\n date_joined: Date;\n\n /**\n * User biography.\n */\n bio: string;\n\n /**\n * Location\n */\n location: string;\n\n /**\n * Location in coordinates. Format: lat,lng.\n */\n location_lat_lng?: string;\n\n /**\n * User current position. Format: lat,lng.\n */\n position_lat_lng?: string;\n\n /**\n * Date of birth. Format: YYYY-MM-DD (ISO 8601).\n */\n date_of_birth?: Date;\n\n /**\n * User description.\n */\n description: string;\n\n /**\n * Gender of the user. Values: Male, Female, Unspecified. Default: Unspecified.\n */\n gender: string;\n\n /**\n * User status. Values: a (approved), b (blocked), d (deleted; soft deleted), u (unregistered). Default: a.\n * A blocked user can't:\n * - create contribution (post/discussion/status)\n * - create comment\n * - vote/unvote contribution\n * - follow/connect user\n * - edit contribution\n * - suggest an incubator\n * - flag a contribution\n * - send a private message\n * - edit info profile\n * but he can't:\n * - follow/unfollow a post/discussion/status\n * - follow/unfollow a category\n * - unfollow user\n */\n status: string;\n\n /**\n * User website.\n */\n website: string;\n\n /**\n * Avatar of the user.\n */\n avatar: string;\n\n /**\n * Image Cover of the user.\n */\n cover?: string;\n\n /**\n * The external ID of the user. It is assigned only during signup if necessary.\n */\n ext_id?: number;\n\n /**\n * User's tag list. List of Tag.\n */\n tags: Array<SCTagType>;\n\n /**\n * User reputation.\n */\n reputation: number;\n\n /**\n * List of user permission. Only for the resource /user/me/.\n */\n permission?: Array<string>;\n\n /**\n * The connection status between the request user and this user.\n */\n connection_status?: string;\n\n /**\n * Number of connection requests sent by the user.\n */\n connection_requests_sent_counter?: number;\n\n /**\n * Number of connection requests received by the user.\n */\n connection_requests_received_counter?: number;\n\n /**\n * Number of connections of the user.\n */\n connections_counter?: number;\n\n /**\n * Number of followings of the user\n */\n followings_counter?: number;\n\n /**\n * Number of followers of the user\n */\n followers_counter?: number;\n\n /**\n * Number of posts created by the user.\n */\n posts_counter?: number;\n\n /**\n * Number of discussions created by the user.\n */\n discussions_counter?: number;\n\n /**\n * Number of statuses created by the user.\n */\n statuses_counter?: number;\n\n /**\n * Number of polls created by the user.\n */\n polls_counter?: number;\n\n /**\n * Number of categories followed by the user.\n */\n categories_counter?: number;\n\n /**\n * User role\n */\n role: string;\n\n /**\n * interactions counter\n */\n unseen_interactions_counter?: number;\n\n /**\n * notification banner counter\n */\n unseen_notification_banners_counter?: number;\n}\n\n/**\n * User Settings\n */\nexport interface SCUserSettingsType {\n /**\n * Frequency of the email notifications for all interactions (except for private messages notifications)\n */\n qa_frequency: number;\n\n /**\n * Enable private messages notifications also via mail\n */\n email_notification_not_qa: number;\n\n /**\n * Enable mobile app/PWA notifications\n */\n mobile_notifications_scmty: number;\n\n /**\n * Shows a popup when the user receive a notification\n */\n show_toast_notifications: number;\n\n /**\n * Emit a sound when the notification popup is shown. See 'show_toast_notifications'\n */\n toast_notifications_emit_sound: number;\n}\n\n/**\n * User Blocked Settings\n */\nexport interface SCUserBlockedSettingsType {\n /**\n * N° days of block\n */\n days_blocked: number;\n\n /**\n * Reputation stolen\n */\n reputation_delta: number;\n\n /**\n * Start User Block datetime\n */\n blocked_at?: Date;\n\n /**\n * End User Block datetime\n */\n expire_at?: Date;\n}\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","/**\n * Types\n */\nimport {\n SCBroadcastMessageBannerType,\n SCBannerType,\n SCBroadcastMessageType,\n SCAuthTokenType,\n SCCustomAdvPosition,\n SCCustomAdvType,\n SCUserFields,\n SCUserType,\n SCUserSettingsType,\n SCUserStatus,\n SCUserBlockedSettingsType,\n SCTagType,\n SCCategoryType,\n SCEmbedType,\n SCMediaType,\n SCContributionLocation,\n SCLocalityType,\n SCPollChoiceType,\n SCPollType,\n SCFeedUnitType,\n SCFeedUnitActivityType,\n SCFeedObjectType,\n SCFeedPostType,\n SCFeedDiscussionType,\n SCFeedStatusType,\n SCFeedObjectTypologyType,\n SCFeedUnitActivityTypologyType,\n SCFeedTypologyType,\n SCCommentTypologyType,\n SCCommentsOrderBy,\n SCCommentType,\n SCPrivateMessageType,\n SCPrivateMessageStatusType,\n SCPrivateMessageFileType,\n SCMessageFileType,\n SCNotificationTypologyType,\n SCNotificationAggregatedType,\n SCNotificationCommentType,\n SCNotificationConnectionAcceptType,\n SCNotificationConnectionRequestType,\n SCNotificationPrivateMessageType,\n SCNotificationMentionType,\n SCNotificationType,\n SCNotificationBlockedUserType,\n SCNotificationCollapsedForType,\n SCNotificationCustomNotificationType,\n SCNotificationDeletedForType,\n SCNotificationFollowType,\n SCNotificationKindlyNoticeType,\n SCNotificationUnBlockedUserType,\n SCNotificationUnDeletedForType,\n SCNotificationUserFollowType,\n SCNotificationVoteUpType,\n SCCustomNotificationType,\n SCIncubatorType,\n SCNotificationIncubatorType,\n SCNotificationTopicType,\n SCPrizeType\n} from './types';\n\n/**\n * List all exports\n */\nexport {\n SCBroadcastMessageBannerType,\n SCBannerType,\n SCBroadcastMessageType,\n SCCustomAdvPosition,\n SCCustomAdvType,\n SCAuthTokenType,\n SCUserFields,\n SCUserType,\n SCUserSettingsType,\n SCUserStatus,\n SCUserBlockedSettingsType,\n SCTagType,\n SCCategoryType,\n SCEmbedType,\n SCMediaType,\n SCContributionLocation,\n SCLocalityType,\n SCPollChoiceType,\n SCPollType,\n SCFeedUnitType,\n SCFeedUnitActivityType,\n SCFeedObjectType,\n SCFeedPostType,\n SCFeedDiscussionType,\n SCFeedStatusType,\n SCFeedObjectTypologyType,\n SCFeedUnitActivityTypologyType,\n SCFeedTypologyType,\n SCCommentTypologyType,\n SCCommentsOrderBy,\n SCCommentType,\n SCPrivateMessageType,\n SCPrivateMessageStatusType,\n SCPrivateMessageFileType,\n SCMessageFileType,\n SCNotificationTypologyType,\n SCNotificationAggregatedType,\n SCNotificationCommentType,\n SCNotificationConnectionAcceptType,\n SCNotificationConnectionRequestType,\n SCNotificationPrivateMessageType,\n SCNotificationMentionType,\n SCNotificationType,\n SCNotificationBlockedUserType,\n SCNotificationCollapsedForType,\n SCNotificationCustomNotificationType,\n SCNotificationDeletedForType,\n SCNotificationFollowType,\n SCNotificationKindlyNoticeType,\n SCNotificationUnBlockedUserType,\n SCNotificationUnDeletedForType,\n SCNotificationUserFollowType,\n SCNotificationVoteUpType,\n SCCustomNotificationType,\n SCNotificationTopicType,\n SCIncubatorType,\n SCNotificationIncubatorType,\n SCPrizeType\n};\n"],"names":["root","factory","exports","module","define","amd","self","SCBroadcastMessageBannerType","SCCommentsOrderBy","SCCustomAdvPosition","SCFeedTypologyType","SCFeedObjectTypologyType","SCFeedUnitActivityTypologyType","SCNotificationTypologyType","SCNotificationTopicType","SCPrivateMessageStatusType","SCMessageFileType","SCUserFields","SCUserStatus","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__"],"sourceRoot":""}
1
+ {"version":3,"file":"types.js","mappings":"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","sources":["webpack://SelfCommunityTypes/webpack/universalModuleDefinition","webpack://SelfCommunityTypes/./src/types/broadcastMessage.ts","webpack://SelfCommunityTypes/./src/types/comment.ts","webpack://SelfCommunityTypes/./src/types/customAdv.ts","webpack://SelfCommunityTypes/./src/types/feed.ts","webpack://SelfCommunityTypes/./src/types/index.ts","webpack://SelfCommunityTypes/./src/types/notification.ts","webpack://SelfCommunityTypes/./src/types/privateMessage.ts","webpack://SelfCommunityTypes/./src/types/user.ts","webpack://SelfCommunityTypes/webpack/bootstrap","webpack://SelfCommunityTypes/./src/index.ts"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"SelfCommunityTypes\"] = factory();\n\telse\n\t\troot[\"SelfCommunityTypes\"] = factory();\n})(self, () => {\nreturn ","/**\n * Define the various types of banners\n */\nexport enum SCBroadcastMessageBannerType {\n HTML = 'html_banner',\n NOTIFICATION = 'notification_banner',\n}\n\nexport interface SCBannerType {\n /**\n * The type of the banner, based on it the behaviour of the render component must be different\n */\n type_banner: SCBroadcastMessageBannerType;\n\n /**\n * The html to insert into the DOM\n * This field is used when type_banner is html_banner\n */\n html?: string;\n\n /**\n * The title of the banner\n */\n title?: string;\n\n /**\n * The text of the banner\n */\n body_text?: string;\n\n /**\n * The text of the link associated to the banner\n */\n link_text?: string;\n /**\n * The action link of the banner\n */\n link?: string;\n /**\n * The image url to insert into the banner\n */\n image?: string;\n /**\n * The date the Banner was created\n */\n added_at: Date;\n /**\n * If true tell to open the banner in new tab\n */\n open_in_new_tab: boolean;\n}\n\n/**\n * Interface SCBroadcastMessageType.\n * Broadcast Message object\n */\nexport interface SCBroadcastMessageType {\n /**\n * The ID of the category.\n */\n id: number;\n\n /**\n * The Banner associated to the Broadcast messages\n */\n banner: SCBannerType;\n\n /**\n * The date the BroadcastMessage was added\n */\n added_at: Date;\n\n /**\n * The date the BroadcastMessage was disposed\n */\n disposed_at: Date | null;\n\n /**\n * The date the BroadcastMessage was viewed the first time\n */\n viewed_at: Date | null;\n}\n","import {SCUserType } from './index';\n\n/**\n * Typology Comment\n */\nexport const SCCommentTypologyType = 'comment';\n\n/**\n * Interface SCCommentType.\n * Comment Schema.\n */\nexport interface SCCommentType {\n /**\n * Id of the comment\n */\n id: number;\n\n /**\n * Id of the Discussion object\n */\n discussion?: number;\n\n /**\n * Id of the Post object\n */\n post?: number;\n\n /**\n * Id of the Status object\n */\n status?: number;\n\n /**\n * User who commented\n */\n author?: SCUserType;\n\n /**\n * Added at\n */\n added_at: Date;\n\n /**\n * Html of the comment\n */\n html: string;\n\n /**\n * Summary\n */\n summary: string;\n\n /**\n * If the comments is deleted\n */\n deleted: boolean;\n\n /**\n * If the comments is hidden\n */\n collapsed: boolean;\n\n /**\n * Id of the parent\n */\n parent: number;\n\n /**\n * Id of the reply Comment, it must have the same parent\n */\n in_reply_to?: number;\n\n /**\n * Number of votes\n */\n vote_count: number;\n\n /**\n * True if the logged user has already voted the comment\n */\n voted: boolean;\n\n /**\n * Number of flags\n */\n flag_count: number;\n\n /**\n * Number of comments\n */\n comment_count: number;\n\n /**\n * Text of the comment\n */\n text: string;\n\n /**\n * Comments childs\n */\n latest_comments?: SCCommentType[];\n\n /**\n * Type: comment\n */\n type: string;\n}\n\n/**\n * Type of comments ordering\n */\nexport enum SCCommentsOrderBy {\n ADDED_AT_DESC = '-added_at',\n ADDED_AT_ASC = 'added_at',\n CONNECTION_DESC = '-connection',\n CONNECTION_ASC = 'connection',\n}\n","export enum SCCustomAdvPosition {\n POSITION_BELOW_TOPBAR = 'BELOW_TOPBAR',\n POSITION_BELOW_FEED_OBJECT = 'BELOW_THE_POST',\n POSITION_ABOVE_FOOTER_BAR = 'ABOVE_FOOTER_BAR',\n POSITION_FOOTER_STICKY = 'FOOTER_STICKY',\n POSITION_IN_COMMENTS = 'IN_POST_COMMENTS',\n POSITION_RELATED_POSTS_COLUMN = 'RELATED_POSTS_COLUMN',\n POSITION_FEED_SIDEBAR = 'TOOLS_COLUMN',\n POSITION_FEED = 'IN_STREAM',\n}\n\nexport interface SCCustomAdvType {\n /**\n * Unique integer value identifying this adv\n */\n id: number;\n\n /**\n * A string code representing the display position of the adv\n */\n position: SCCustomAdvPosition;\n\n /**\n * The title of the adv\n */\n title: string | null;\n\n /**\n * The link/url of the adv\n */\n link: string | null;\n\n /**\n * An image banner for the adv\n */\n image: string | null;\n\n /**\n * Html/js embeddable code\n */\n embed_code: string | null;\n\n /**\n * A flag to activate or deactivate this adv\n */\n active: boolean;\n\n /**\n * datetime of creation\n */\n created_at: string;\n\n /**\n * last modify datetime\n */\n lastmod_datetime: string;\n\n /**\n * The id of the category connected to this adv\n */\n category: number | null;\n}\n","import {SCUserType} from './user';\nimport {SCCategoryType} from './category';\nimport {SCContributionLocation} from './location';\nimport {SCPollType} from './poll';\nimport {SCMediaType} from './media';\nimport {SCTagType} from './tag';\n\n/**\n * Typology of feed\n */\nexport enum SCFeedTypologyType {\n HOME = 'home',\n EXPLORE = 'explore',\n}\n\n/**\n * Typology of feedObject\n */\nexport enum SCFeedObjectTypologyType {\n DISCUSSION = 'discussion',\n POST = 'post',\n STATUS = 'status',\n}\n\n/**\n * Interface SCFeedUnitType.\n * FeedUnit Schema.\n */\nexport interface SCFeedUnitType {\n /**\n * The type of the object, can be discussion, post or status\n */\n type: SCFeedObjectTypologyType;\n\n /**\n * Discussion object\n */\n discussion?: SCFeedDiscussionType;\n\n /**\n * Post object\n */\n post?: SCFeedPostType;\n\n /**\n * Status object\n */\n status?: SCFeedStatusType;\n\n /**\n * Id of User that have seen this object\n */\n seen_by_id?: number[];\n\n /**\n * True if this object has the visibility boost\n */\n has_boost?: boolean;\n\n /**\n * List of feed activities. This field is returned only for relevance feed\n */\n activities?: SCFeedUnitActivityType[];\n}\n\nexport enum SCFeedUnitActivityTypologyType {\n COMMENT = 'comment',\n VOTE = 'vote',\n POLLVOTE = 'pollvote',\n FOLLOW = 'follow',\n}\n\n/**\n * Interface SCFeedUnitActivityType.\n * FeedUnit Activity Schema.\n */\nexport interface SCFeedUnitActivityType {\n /**\n * The type of the activity.\n */\n type: SCFeedUnitActivityTypologyType;\n\n /**\n * The comment if type == SCFeedUnitActivityTypologyType.COMMENT.\n */\n comment?: any;\n\n /**\n * The user involved.\n */\n author: SCUserType;\n\n /**\n * Time of activity\n */\n active_at: Date;\n\n /**\n * Id of Users that have seen this activity\n */\n seen_by_id?: number[];\n}\n\n/**\n * Interface SCFeedObjectType.\n * FeedObject Schema.\n * General object.\n */\nexport interface SCFeedObjectType {\n /**\n * The ID of the post.\n */\n id: number;\n\n /**\n * List of categories.\n */\n categories?: SCCategoryType[];\n\n /**\n * List of medias\n */\n medias?: SCMediaType[];\n\n /**\n * Location (contribution geolocation)\n */\n location?: SCContributionLocation;\n\n /**\n * Author of the contribute\n */\n author?: SCUserType;\n\n /**\n * Last activity at\n */\n last_activity_at: Date;\n\n /**\n * Added at\n */\n added_at: Date;\n\n /**\n * Slug\n */\n slug: string;\n\n /**\n * Html\n */\n html: string;\n\n /**\n * Summary\n */\n summary: string;\n\n /**\n * True if the object is deleted\n */\n deleted: boolean;\n\n /**\n * True if the object is hidden\n */\n collapsed: boolean;\n\n /**\n * Number of comment\n */\n comment_count: number;\n\n /**\n * Number of internal share\n */\n share_count: number;\n\n /**\n * True if the logged user follow this object\n */\n followed?: boolean;\n\n /**\n * Number of votes\n */\n vote_count: number;\n\n /**\n * True if the logged user has already voted this object\n */\n voted?: boolean;\n\n /**\n * Number of flags\n */\n flag_count: number;\n\n /**\n * Tags adderssing\n */\n addressing: SCTagType[];\n\n /**\n * Type: discussion, post, status\n */\n type: SCFeedObjectTypologyType;\n\n /**\n * Suspended notification\n */\n suspended?: boolean;\n}\n\n/**\n * Interface SCFeedDiscussionType.\n * FeedDiscussion Schema.\n */\nexport interface SCFeedDiscussionType extends SCFeedObjectType {\n /**\n * Title of the discussion\n */\n title: string;\n\n /**\n * Poll\n */\n poll?: SCPollType;\n}\n\n/**\n * Interface SCFeedPostType.\n * Post Schema.\n */\nexport interface SCFeedPostType extends SCFeedObjectType {\n /**\n * Poll\n */\n poll?: SCPollType;\n}\n\n/**\n * Interface SCFeedStatusType.\n * Status Schema.\n */\nexport type SCFeedStatusType = SCFeedObjectType;\n","import {SCAuthTokenType} from './auth';\nimport {SCBannerType, SCBroadcastMessageBannerType, SCBroadcastMessageType} from './broadcastMessage';\nimport {SCCustomAdvPosition, SCCustomAdvType} from './customAdv';\nimport {SCUserType, SCUserBlockedSettingsType, SCUserFields, SCUserSettingsType, SCUserStatus} from './user';\nimport {SCTagType} from './tag';\nimport {SCCategoryType} from './category';\nimport {SCEmbedType} from './embed';\nimport {SCMediaType} from './media';\nimport {SCContributionLocation, SCLocalityType} from './location';\nimport {SCPollChoiceType, SCPollType} from './poll';\nimport {SCCommentType, SCCommentTypologyType, SCCommentsOrderBy} from './comment';\nimport {SCPrivateMessageType, SCPrivateMessageStatusType, SCPrivateMessageFileType, SCMessageFileType} from './privateMessage';\nimport {SCIncubatorType} from './incubator';\nimport {SCCustomNotificationType} from './customNotification';\nimport {SCPrizeType} from './prize';\nimport {\n SCFeedUnitType,\n SCFeedUnitActivityType,\n SCFeedObjectType,\n SCFeedPostType,\n SCFeedDiscussionType,\n SCFeedStatusType,\n SCFeedObjectTypologyType,\n SCFeedUnitActivityTypologyType,\n SCFeedTypologyType\n} from './feed';\nimport {\n SCNotificationTypologyType,\n SCNotificationAggregatedType,\n SCNotificationCommentType,\n SCNotificationConnectionAcceptType,\n SCNotificationConnectionRequestType,\n SCNotificationPrivateMessageType,\n SCNotificationMentionType,\n SCNotificationType,\n SCNotificationBlockedUserType,\n SCNotificationCollapsedForType,\n SCNotificationCustomNotificationType,\n SCNotificationDeletedForType,\n SCNotificationFollowType,\n SCNotificationKindlyNoticeType,\n SCNotificationUnBlockedUserType,\n SCNotificationUnDeletedForType,\n SCNotificationUserFollowType,\n SCNotificationVoteUpType,\n SCNotificationIncubatorType,\n SCNotificationTopicType\n} from './notification';\nimport {SCWebhookEndpointType, SCWebhookEndpointAttemptType, SCWebhookEndpointSecretType, SCWebhookEventsType} from './webhook';\n/**\n * Exports all types\n */\nexport {\n SCBannerType,\n SCBroadcastMessageBannerType,\n SCBroadcastMessageType,\n SCAuthTokenType,\n SCUserFields,\n SCUserType,\n SCUserSettingsType,\n SCUserStatus,\n SCUserBlockedSettingsType,\n SCTagType,\n SCCategoryType,\n SCCustomAdvPosition,\n SCCustomAdvType,\n SCEmbedType,\n SCMediaType,\n SCContributionLocation,\n SCLocalityType,\n SCPollChoiceType,\n SCPollType,\n SCFeedUnitType,\n SCFeedUnitActivityType,\n SCFeedObjectType,\n SCFeedPostType,\n SCFeedDiscussionType,\n SCFeedStatusType,\n SCFeedObjectTypologyType,\n SCFeedUnitActivityTypologyType,\n SCFeedTypologyType,\n SCCommentTypologyType,\n SCCommentsOrderBy,\n SCCommentType,\n SCPrivateMessageType,\n SCPrivateMessageStatusType,\n SCPrivateMessageFileType,\n SCMessageFileType,\n SCNotificationTypologyType,\n SCNotificationAggregatedType,\n SCNotificationCommentType,\n SCNotificationConnectionAcceptType,\n SCNotificationConnectionRequestType,\n SCNotificationPrivateMessageType,\n SCNotificationMentionType,\n SCNotificationType,\n SCNotificationBlockedUserType,\n SCNotificationCollapsedForType,\n SCNotificationCustomNotificationType,\n SCNotificationDeletedForType,\n SCNotificationFollowType,\n SCNotificationKindlyNoticeType,\n SCNotificationUnBlockedUserType,\n SCNotificationUnDeletedForType,\n SCNotificationUserFollowType,\n SCNotificationVoteUpType,\n SCCustomNotificationType,\n SCNotificationTopicType,\n SCIncubatorType,\n SCNotificationIncubatorType,\n SCPrizeType,\n SCWebhookEndpointType,\n SCWebhookEndpointAttemptType,\n SCWebhookEndpointSecretType,\n SCWebhookEventsType\n};\n","import {SCCategoryType, SCCommentType, SCFeedDiscussionType, SCFeedPostType, SCFeedStatusType, SCUserType} from '../index';\nimport {SCPrivateMessageType} from './privateMessage';\nimport {SCUserBlockedSettingsType} from './user';\nimport {SCCustomNotificationType} from './customNotification';\nimport {SCIncubatorType} from './incubator';\n\n/**\n * Notification types\n */\nexport enum SCNotificationTypologyType {\n COMMENT = 'comment',\n NESTED_COMMENT = 'nested_comment',\n CONNECTION_REQUEST = 'connection_request',\n CONNECTION_ACCEPT = 'connection_accept',\n CONNECTION_REMOVE = 'connection_remove',\n CONNECTION_REJECT = 'connection_reject',\n CONNECTION_CANCEL_REJECT = 'connection_cancel_reject',\n CONNECTION_CANCEL_REQUEST = 'connection_cancel_reject',\n MENTION = 'mention',\n VOTE_UP = 'vote_up',\n FOLLOW = 'follow',\n PRIVATE_MESSAGE = 'private_message',\n DELETE_PRIVATE_MESSAGE = 'delete_private_message',\n DELETED_FOR_ADVERTISING = 'deleted_for_advertising',\n DELETED_FOR_AGGRESSIVE = 'deleted_for_aggressive',\n DELETED_FOR_VULGAR = 'deleted_for_vulgar',\n DELETED_FOR_POOR = 'deleted_for_poor',\n DELETED_FOR_OFFTOPIC = 'deleted_for_offtopic',\n UNDELETED_FOR = 'undeleted_for',\n COLLAPSED_FOR_ADVERTISING = 'collapsed_for_advertising',\n COLLAPSED_FOR_AGGRESSIVE = 'collapsed_for_aggressive',\n COLLAPSED_FOR_VULGAR = 'collapsed_for_vulgar',\n COLLAPSED_FOR_POOR = 'collapsed_for_poor',\n COLLAPSED_FOR_OFFTOPIC = 'collapsed_for_offtopic',\n USER_FOLLOW = 'user_follow',\n USER_UNFOLLOW = 'user_unfollow',\n KINDLY_NOTICE_ADVERTISING = 'kindly_notice_advertising',\n KINDLY_NOTICE_AGGRESSIVE = 'kindly_notice_aggressive',\n KINDLY_NOTICE_VULGAR = 'kindly_notice_vulgar',\n KINDLY_NOTICE_POOR = 'kindly_notice_poor',\n KINDLY_NOTICE_OFFTOPIC = 'kindly_notice_offtopic',\n KINDLY_NOTICE_FLAG = 'kindly_notice_flag',\n BLOCKED_USER = 'blocked_user',\n UNBLOCKED_USER = 'unblocked_user',\n INCUBATOR_APPROVED = 'incubator_approved',\n CUSTOM_NOTIFICATION = 'custom_notification',\n NOTIFICATION_BANNER = 'notification_banner',\n}\n\n/**\n * Define topic for notifications\n * Usefull for websocket\n */\nexport enum SCNotificationTopicType {\n INTERACTION = 'interaction',\n NEWS = 'news',\n}\n\n/**\n * Interface SCNotificationAggregatedType.\n * Notification aggregated Schema.\n */\nexport interface SCNotificationAggregatedType {\n /**\n * Serialization id of the macro notification aggregate block\n */\n sid: string;\n\n /**\n * It's true if in the aggregated group there is at least one\n * notification not yet seen by the user making the request\n */\n is_new: boolean;\n\n /**\n * Primary object involved (object that is common to notifications group)\n * if it is a discusssion. For some types of notifications it will not be present.\n */\n discussion?: SCFeedDiscussionType;\n\n /**\n * Primary object involved (object that is common to notifications group)\n * if it is a post. For some types of notifications it will not be present.\n */\n post?: SCFeedPostType;\n\n /**\n * Primary object involved (object that is common to notifications group)\n * if it is a status. For some types of notifications it will not be present.\n */\n status?: SCFeedStatusType;\n\n /**\n * List of aggregated notifications by type.\n * Types Object: NotificationTypeComment, NotificationTypeMention,\n * NotificationTypeConnectionAccept, NotificationTypeConnectionRequest,\n * NotificationTypePrivateMessage, NotificationTypeFollow, NotificationTypeVoteUp,\n * NotificationTypeBlockedUser, NotificationTypeUnBlockedUser,\n * NotificationTypeKindlyNotice, NotificationTypeCollapsedFor,\n * NotificationTypeDeletedFor, NotificationTypeCustomNotification\n */\n aggregated: SCNotificationType[];\n}\n\n/**\n * Interface SCNotificationType.\n * Notification Schema.\n */\nexport interface SCNotificationType {\n /**\n * True if the notification has been read, otherwise false\n */\n is_new: boolean;\n\n /**\n * Serialization id of the single notification\n */\n sid: string;\n\n /**\n * Type of the notification\n */\n type: SCNotificationTypologyType;\n\n /**\n * Time when the notification was generated\n */\n active_at: Date;\n}\n\n/**\n * Interface SCNotificationCommentType.\n * Comment Notification Schema.\n */\nexport interface SCNotificationCommentType extends SCNotificationType {\n /**\n * Comment of first/second level\n */\n comment: SCCommentType;\n\n /**\n * Type Comment or Nested_comment\n */\n type: SCNotificationTypologyType.COMMENT | SCNotificationTypologyType.NESTED_COMMENT;\n}\n\n/**\n * Interface SCNotificationMentionType.\n * Mention Notification Schema.\n */\nexport interface SCNotificationMentionType extends SCNotificationType {\n /**\n * Type Mention\n */\n type: SCNotificationTypologyType.MENTION;\n\n /**\n * If user is mentioned in a discussion\n */\n discussion?: SCFeedDiscussionType;\n\n /**\n * If the user is mentioned in a post\n */\n post?: SCFeedPostType;\n\n /**\n * If user is mentioned in a status\n */\n status?: SCFeedStatusType;\n\n /**\n * If user is mentioned in a comment\n */\n comment?: SCCommentType;\n}\n\n/**\n * Interface SCNotificationConnectionRequestType.\n * Connection Request Notification Schema.\n */\nexport interface SCNotificationConnectionRequestType extends SCNotificationType {\n /**\n * Type Connection request\n */\n type: SCNotificationTypologyType.CONNECTION_REQUEST;\n\n /**\n * User request the connection\n */\n request_user: SCUserType;\n}\n\n/**\n * Interface SCNotificationConnectionAcceptType.\n * Connection Accept Notification Schema.\n */\nexport interface SCNotificationConnectionAcceptType extends SCNotificationType {\n /**\n * Type Connection accept\n */\n type: SCNotificationTypologyType.CONNECTION_ACCEPT;\n\n /**\n * User accepted the connection request\n */\n accept_user: SCUserType;\n}\n\n/**\n * Interface SCNotificationPrivateMessageType.\n * Private Message Notification Schema.\n */\nexport interface SCNotificationPrivateMessageType extends SCNotificationType {\n /**\n * Type Private message\n */\n type: SCNotificationTypologyType.PRIVATE_MESSAGE;\n\n /**\n * Private message\n */\n message: SCPrivateMessageType;\n}\n\n/**\n * Interface SCNotificationFollowType.\n * Follow Notification Schema.\n * (discussion, post, status)\n */\nexport interface SCNotificationFollowType extends SCNotificationType {\n /**\n * Type Follow\n */\n type: SCNotificationTypologyType.FOLLOW;\n\n /**\n * If user is mentioned in a discussion\n */\n discussion?: SCFeedDiscussionType;\n\n /**\n * If the user is mentioned in a post\n */\n post?: SCFeedPostType;\n\n /**\n * If user is mentioned in a status\n */\n status?: SCFeedStatusType;\n}\n\n/**\n * Interface SCNotificationVoteUpType.\n * VoteUp Notification Schema.\n */\nexport interface SCNotificationVoteUpType extends SCNotificationType {\n /**\n * Type VoteUp\n */\n type: SCNotificationTypologyType.VOTE_UP;\n\n /**\n * If user is mentioned in a discussion\n */\n discussion?: SCFeedDiscussionType;\n\n /**\n * If the user is mentioned in a post\n */\n post?: SCFeedPostType;\n\n /**\n * If user is mentioned in a status\n */\n status?: SCFeedStatusType;\n\n /**\n * If user is mentioned in a comment\n */\n comment?: SCCommentType;\n\n /**\n * User voted up\n */\n user?: SCUserType;\n}\n\n/**\n * Interface SCNotificationBlockedUserType.\n * Blocked User Notification Schema.\n */\nexport interface SCNotificationBlockedUserType extends SCNotificationType {\n /**\n * Type Blocked User\n */\n type: SCNotificationTypologyType.BLOCKED_USER;\n\n /**\n * Data of user block\n */\n blocked_settings: SCUserBlockedSettingsType;\n}\n\n/**\n * Interface SCNotificationUnBlockedUserType.\n * UnBlocked User Notification Schema.\n */\nexport interface SCNotificationUnBlockedUserType extends SCNotificationType {\n /**\n * Type UnBlocked User\n */\n type: SCNotificationTypologyType.UNBLOCKED_USER;\n}\n\n/**\n * Interface SCNotificationKindlyNoticeType.\n * Kindly notice User Notification Schema.\n */\nexport interface SCNotificationKindlyNoticeType extends SCNotificationType {\n /**\n * Type Kindly Notice User\n */\n type:\n | SCNotificationTypologyType.KINDLY_NOTICE_ADVERTISING\n | SCNotificationTypologyType.KINDLY_NOTICE_FLAG\n | SCNotificationTypologyType.KINDLY_NOTICE_VULGAR\n | SCNotificationTypologyType.KINDLY_NOTICE_AGGRESSIVE\n | SCNotificationTypologyType.KINDLY_NOTICE_POOR\n | SCNotificationTypologyType.KINDLY_NOTICE_OFFTOPIC;\n\n /**\n * If the contribute is a discussion\n */\n discussion?: SCFeedDiscussionType;\n\n /**\n * If the contribute is a post\n */\n post?: SCFeedPostType;\n\n /**\n * If the contribute is a status\n */\n status?: SCFeedStatusType;\n\n /**\n * If the contribute is a comment\n */\n comment?: SCCommentType;\n}\n\n/**\n * Interface SCNotificationCollapsedForType.\n * Collapsed for Notification Schema.\n * Only for comments.\n */\nexport interface SCNotificationCollapsedForType extends SCNotificationType {\n /**\n * Type Kindly Notice User\n */\n type:\n | SCNotificationTypologyType.COLLAPSED_FOR_ADVERTISING\n | SCNotificationTypologyType.COLLAPSED_FOR_AGGRESSIVE\n | SCNotificationTypologyType.COLLAPSED_FOR_POOR\n | SCNotificationTypologyType.COLLAPSED_FOR_OFFTOPIC\n | SCNotificationTypologyType.COLLAPSED_FOR_VULGAR;\n\n /**\n * comment collapsed\n */\n comment: SCCommentType;\n}\n\n/**\n * Interface SCNotificationDeletedForType.\n * Deleted for Notification Schema.\n */\nexport interface SCNotificationDeletedForType extends SCNotificationType {\n /**\n * Type Deleted for\n */\n type:\n | SCNotificationTypologyType.DELETED_FOR_ADVERTISING\n | SCNotificationTypologyType.DELETED_FOR_AGGRESSIVE\n | SCNotificationTypologyType.DELETED_FOR_VULGAR\n | SCNotificationTypologyType.DELETED_FOR_POOR\n | SCNotificationTypologyType.DELETED_FOR_OFFTOPIC;\n\n /**\n * If a discussion is deleted\n */\n discussion?: SCFeedDiscussionType;\n\n /**\n * If a post is deleted\n */\n post?: SCFeedPostType;\n\n /**\n * If a comment is deleted\n */\n status?: SCFeedStatusType;\n\n /**\n * If a status is deleted\n */\n comment?: SCCommentType;\n}\n\n/**\n * Interface SCNotificationUnDeletedForType.\n * Undeleted for Notification Schema.\n */\nexport interface SCNotificationUnDeletedForType extends SCNotificationType {\n /**\n * Type Undeleted for\n */\n type: SCNotificationTypologyType.UNDELETED_FOR;\n\n /**\n * If a discussion is undeleted\n */\n discussion?: SCFeedDiscussionType;\n\n /**\n * If a post is undeleted\n */\n post?: SCFeedPostType;\n\n /**\n * If a comment is undeleted\n */\n status?: SCFeedStatusType;\n\n /**\n * If a status is undeleted\n */\n comment?: SCCommentType;\n}\n\n/**\n * Interface SCNotificationUserFollowType.\n * User Follow Notification Schema.\n */\nexport interface SCNotificationUserFollowType extends SCNotificationType {\n /**\n * Type User Follow\n */\n type: SCNotificationTypologyType.USER_FOLLOW;\n\n /**\n * Follower\n */\n follower: SCUserType;\n}\n\n/**\n * Interface SCNotificationIncubatorType.\n * The incubator proposed by the user has been approved\n */\nexport interface SCNotificationIncubatorType extends SCNotificationType {\n /**\n * Type Incubator Approved\n */\n type: SCNotificationTypologyType.INCUBATOR_APPROVED;\n\n /**\n * Incubator\n */\n incubator: SCIncubatorType;\n}\n\n/**\n * Interface SCNotificationCustomNotificationType.\n * CustomNotification Notification Schema.\n */\nexport interface SCNotificationCustomNotificationType extends SCNotificationType {\n /**\n * Type User Follow\n */\n type: SCNotificationTypologyType.CUSTOM_NOTIFICATION;\n\n /**\n * User generate the custom notification\n */\n user: SCUserType;\n\n /**\n * Custom notification data\n */\n custom_notification: SCCustomNotificationType;\n}\n","/**\n * Interface SCPrivateMessageType.\n * Private Message Schema.\n */\nimport {SCUserType} from './user';\n\nexport interface SCPrivateMessageType {\n /**\n * Message status: created, deleted or hidden message\n */\n status: string;\n /**\n * Id of the message\n */\n id: number;\n\n /**\n * Sender User\n */\n sender: SCUserType;\n /**\n *Receiver User\n */\n receiver: SCUserType;\n\n /**\n * Message\n */\n html: string;\n\n /**\n * Send date time\n */\n created_at: Date | string;\n /**\n * Last interaction date time\n */\n last_message_at: Date;\n\n /**\n * Message status: created, deleted or hidden message\n */\n thread_status: SCPrivateMessageStatusType;\n\n /**\n * file\n */\n file?: SCPrivateMessageFileType;\n /**\n * Headline\n */\n headline: string;\n /**\n * Message content\n */\n message: string;\n}\n\n/**\n * Private Message status:\n * created, deleted or hidden message\n */\nexport enum SCPrivateMessageStatusType {\n CREATED = 'created',\n DELETED = 'deleted',\n HIDDEN = 'hidden',\n NEW = 'new',\n}\n\nexport interface SCPrivateMessageFileType {\n /**\n * The file id\n */\n uuid?: string;\n\n /**\n * File name\n */\n filename?: string;\n\n /**\n * File size\n */\n filesize?: number;\n\n /**\n * The type of the file\n */\n mimetype?: SCMessageFileType;\n\n /**\n * The duration (in seconds) of the file\n */\n duration?: number;\n\n /**\n * File Url\n */\n url?: string;\n /**\n * File thumbnail\n */\n thumbnail?: string;\n /**\n * File Url(response)\n */\n file_url?: string;\n /**\n * The file id(response)\n */\n file_uuid?: string;\n}\n\n/**\n * Private Message status:\n * created, deleted or hidden message\n */\nexport enum SCMessageFileType {\n DOCUMENT = 'application/',\n IMAGE = 'image/',\n VIDEO = 'video/',\n}\n","/**\n * Interface SCUserType.\n * User Schema.\n */\nimport {SCTagType} from './tag';\n\n/**\n * User Fields\n */\nexport enum SCUserFields {\n USERNAME = 'username',\n REAL_NAME = 'real_name',\n DATE_JOINED = 'date_joined',\n BIO = 'bio',\n LOCATION = 'location',\n DATE_OF_BIRTH = 'date_of_birth',\n DESCRIPTION = 'description',\n GENDER = 'gender',\n WEBSITE = 'website'\n}\n\n/**\n * User status\n */\nexport enum SCUserStatus {\n APPROVED = 'a',\n BLOCKED = 'b',\n DELETED = 'd',\n UNREGISTERED = 'u',\n}\n\nexport interface SCUserType {\n /**\n * The ID of the user.\n */\n id: number;\n\n /**\n * The username of the user.\n */\n username: string;\n\n /**\n * Real name of the user.\n */\n real_name: string;\n\n /**\n * Email of the user.\n */\n email?: string;\n\n /**\n * Email is valid. Default: False.\n */\n email_isvalid?: boolean;\n\n /**\n * Date joined to the community.\n */\n date_joined: Date;\n\n /**\n * User biography.\n */\n bio: string;\n\n /**\n * Location\n */\n location: string;\n\n /**\n * Location in coordinates. Format: lat,lng.\n */\n location_lat_lng?: string;\n\n /**\n * User current position. Format: lat,lng.\n */\n position_lat_lng?: string;\n\n /**\n * Date of birth. Format: YYYY-MM-DD (ISO 8601).\n */\n date_of_birth?: Date;\n\n /**\n * User description.\n */\n description: string;\n\n /**\n * Gender of the user. Values: Male, Female, Unspecified. Default: Unspecified.\n */\n gender: string;\n\n /**\n * User status. Values: a (approved), b (blocked), d (deleted; soft deleted), u (unregistered). Default: a.\n * A blocked user can't:\n * - create contribution (post/discussion/status)\n * - create comment\n * - vote/unvote contribution\n * - follow/connect user\n * - edit contribution\n * - suggest an incubator\n * - flag a contribution\n * - send a private message\n * - edit info profile\n * but he can't:\n * - follow/unfollow a post/discussion/status\n * - follow/unfollow a category\n * - unfollow user\n */\n status: string;\n\n /**\n * User website.\n */\n website: string;\n\n /**\n * Avatar of the user.\n */\n avatar: string;\n\n /**\n * Image Cover of the user.\n */\n cover?: string;\n\n /**\n * The external ID of the user. It is assigned only during signup if necessary.\n */\n ext_id?: number;\n\n /**\n * User's tag list. List of Tag.\n */\n tags: Array<SCTagType>;\n\n /**\n * User reputation.\n */\n reputation: number;\n\n /**\n * List of user permission. Only for the resource /user/me/.\n */\n permission?: Array<string>;\n\n /**\n * The connection status between the request user and this user.\n */\n connection_status?: string;\n\n /**\n * Number of connection requests sent by the user.\n */\n connection_requests_sent_counter?: number;\n\n /**\n * Number of connection requests received by the user.\n */\n connection_requests_received_counter?: number;\n\n /**\n * Number of connections of the user.\n */\n connections_counter?: number;\n\n /**\n * Number of followings of the user\n */\n followings_counter?: number;\n\n /**\n * Number of followers of the user\n */\n followers_counter?: number;\n\n /**\n * Number of posts created by the user.\n */\n posts_counter?: number;\n\n /**\n * Number of discussions created by the user.\n */\n discussions_counter?: number;\n\n /**\n * Number of statuses created by the user.\n */\n statuses_counter?: number;\n\n /**\n * Number of polls created by the user.\n */\n polls_counter?: number;\n\n /**\n * Number of categories followed by the user.\n */\n categories_counter?: number;\n\n /**\n * User role\n */\n role: string;\n\n /**\n * interactions counter\n */\n unseen_interactions_counter?: number;\n\n /**\n * notification banner counter\n */\n unseen_notification_banners_counter?: number;\n}\n\n/**\n * User Settings\n */\nexport interface SCUserSettingsType {\n /**\n * Frequency of the email notifications for all interactions (except for private messages notifications)\n */\n qa_frequency: number;\n\n /**\n * Enable private messages notifications also via mail\n */\n email_notification_not_qa: number;\n\n /**\n * Enable mobile app/PWA notifications\n */\n mobile_notifications_scmty: number;\n\n /**\n * Shows a popup when the user receive a notification\n */\n show_toast_notifications: number;\n\n /**\n * Emit a sound when the notification popup is shown. See 'show_toast_notifications'\n */\n toast_notifications_emit_sound: number;\n}\n\n/**\n * User Blocked Settings\n */\nexport interface SCUserBlockedSettingsType {\n /**\n * N° days of block\n */\n days_blocked: number;\n\n /**\n * Reputation stolen\n */\n reputation_delta: number;\n\n /**\n * Start User Block datetime\n */\n blocked_at?: Date;\n\n /**\n * End User Block datetime\n */\n expire_at?: Date;\n}\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","/**\n * Types\n */\nimport {\n SCBroadcastMessageBannerType,\n SCBannerType,\n SCBroadcastMessageType,\n SCAuthTokenType,\n SCCustomAdvPosition,\n SCCustomAdvType,\n SCUserFields,\n SCUserType,\n SCUserSettingsType,\n SCUserStatus,\n SCUserBlockedSettingsType,\n SCTagType,\n SCCategoryType,\n SCEmbedType,\n SCMediaType,\n SCContributionLocation,\n SCLocalityType,\n SCPollChoiceType,\n SCPollType,\n SCFeedUnitType,\n SCFeedUnitActivityType,\n SCFeedObjectType,\n SCFeedPostType,\n SCFeedDiscussionType,\n SCFeedStatusType,\n SCFeedObjectTypologyType,\n SCFeedUnitActivityTypologyType,\n SCFeedTypologyType,\n SCCommentTypologyType,\n SCCommentsOrderBy,\n SCCommentType,\n SCPrivateMessageType,\n SCPrivateMessageStatusType,\n SCPrivateMessageFileType,\n SCMessageFileType,\n SCNotificationTypologyType,\n SCNotificationAggregatedType,\n SCNotificationCommentType,\n SCNotificationConnectionAcceptType,\n SCNotificationConnectionRequestType,\n SCNotificationPrivateMessageType,\n SCNotificationMentionType,\n SCNotificationType,\n SCNotificationBlockedUserType,\n SCNotificationCollapsedForType,\n SCNotificationCustomNotificationType,\n SCNotificationDeletedForType,\n SCNotificationFollowType,\n SCNotificationKindlyNoticeType,\n SCNotificationUnBlockedUserType,\n SCNotificationUnDeletedForType,\n SCNotificationUserFollowType,\n SCNotificationVoteUpType,\n SCCustomNotificationType,\n SCIncubatorType,\n SCNotificationIncubatorType,\n SCNotificationTopicType,\n SCPrizeType,\n SCWebhookEndpointType,\n SCWebhookEndpointAttemptType,\n SCWebhookEndpointSecretType,\n SCWebhookEventsType\n} from './types';\n\n/**\n * List all exports\n */\nexport {\n SCBroadcastMessageBannerType,\n SCBannerType,\n SCBroadcastMessageType,\n SCCustomAdvPosition,\n SCCustomAdvType,\n SCAuthTokenType,\n SCUserFields,\n SCUserType,\n SCUserSettingsType,\n SCUserStatus,\n SCUserBlockedSettingsType,\n SCTagType,\n SCCategoryType,\n SCEmbedType,\n SCMediaType,\n SCContributionLocation,\n SCLocalityType,\n SCPollChoiceType,\n SCPollType,\n SCFeedUnitType,\n SCFeedUnitActivityType,\n SCFeedObjectType,\n SCFeedPostType,\n SCFeedDiscussionType,\n SCFeedStatusType,\n SCFeedObjectTypologyType,\n SCFeedUnitActivityTypologyType,\n SCFeedTypologyType,\n SCCommentTypologyType,\n SCCommentsOrderBy,\n SCCommentType,\n SCPrivateMessageType,\n SCPrivateMessageStatusType,\n SCPrivateMessageFileType,\n SCMessageFileType,\n SCNotificationTypologyType,\n SCNotificationAggregatedType,\n SCNotificationCommentType,\n SCNotificationConnectionAcceptType,\n SCNotificationConnectionRequestType,\n SCNotificationPrivateMessageType,\n SCNotificationMentionType,\n SCNotificationType,\n SCNotificationBlockedUserType,\n SCNotificationCollapsedForType,\n SCNotificationCustomNotificationType,\n SCNotificationDeletedForType,\n SCNotificationFollowType,\n SCNotificationKindlyNoticeType,\n SCNotificationUnBlockedUserType,\n SCNotificationUnDeletedForType,\n SCNotificationUserFollowType,\n SCNotificationVoteUpType,\n SCCustomNotificationType,\n SCNotificationTopicType,\n SCIncubatorType,\n SCNotificationIncubatorType,\n SCPrizeType,\n SCWebhookEndpointType,\n SCWebhookEndpointAttemptType,\n SCWebhookEndpointSecretType,\n SCWebhookEventsType\n};\n"],"names":["root","factory","exports","module","define","amd","self","SCBroadcastMessageBannerType","SCCommentsOrderBy","SCCustomAdvPosition","SCFeedTypologyType","SCFeedObjectTypologyType","SCFeedUnitActivityTypologyType","SCNotificationTypologyType","SCNotificationTopicType","SCPrivateMessageStatusType","SCMessageFileType","SCUserFields","SCUserStatus","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__"],"sourceRoot":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@selfcommunity/types",
3
- "version": "0.1.5-alpha.1",
3
+ "version": "0.1.6-alpha.1",
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": "be29de2b9a9b2babb4a2d7529a8381b955da729d"
104
+ "gitHead": "bdc1e3211d469f59c082bfda4b44110384b2c4f2"
105
105
  }