@selfcommunity/types 0.5.0-alpha.6 → 0.5.0-alpha.7
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/types/user.d.ts +8 -0
- package/lib/cjs/types/user.d.ts.map +1 -1
- package/lib/cjs/types/user.js.map +1 -1
- package/lib/esm/types/user.d.ts +8 -0
- package/lib/esm/types/user.d.ts.map +1 -1
- package/lib/esm/types/user.js.map +1 -1
- package/lib/umd/types.js.map +1 -1
- package/package.json +2 -2
package/lib/cjs/types/user.d.ts
CHANGED
|
@@ -175,6 +175,14 @@ export interface SCUserType {
|
|
|
175
175
|
* notification banner counter
|
|
176
176
|
*/
|
|
177
177
|
unseen_notification_banners_counter?: number;
|
|
178
|
+
/**
|
|
179
|
+
* If the user account has been deleted
|
|
180
|
+
*/
|
|
181
|
+
deleted?: boolean;
|
|
182
|
+
/**
|
|
183
|
+
* Datetime of the account deletion
|
|
184
|
+
*/
|
|
185
|
+
deleted_at?: Date;
|
|
178
186
|
}
|
|
179
187
|
/**
|
|
180
188
|
* User Settings
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../src/types/user.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAC,SAAS,EAAC,MAAM,OAAO,CAAC;AAEhC;;GAEG;AACH,oBAAY,YAAY;IACtB,QAAQ,MAAM;IACd,OAAO,MAAM;IACb,OAAO,MAAM;IACb,YAAY,MAAM;CACnB;AAED,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB;;OAEG;IACH,YAAY,CAAC,E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H,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,SAAS,EAAE,UAAU,CAAC;IACtB;;OAEG;IACH,OAAO,EAAE,UAAU,CAAC;IACpB;;OAEG;IACH,OAAO,EAAE,IAAI,GAAG,MAAM,CAAC;IACvB;;OAEG;IACH,QAAQ,EAAE,IAAI,GAAG,MAAM,CAAC;IACxB;;OAEG;IACH,MAAM,EAAE,IAAI,GAAG,MAAM,CAAC;CACvB;AAED;;GAEG;AAEH,MAAM,WAAW,6BAA6B;IAC5C;;OAEG;IACH,OAAO,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,EAAE,GAAG,CAAC;CAChB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.js","sourceRoot":"","sources":["../../../src/types/user.ts"],"names":[],"mappings":";;;AAMA;;GAEG;AACH,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,8BAAc,CAAA;IACd,6BAAa,CAAA;IACb,6BAAa,CAAA;IACb,kCAAkB,CAAA;AACpB,CAAC,EALW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAKvB;
|
|
1
|
+
{"version":3,"file":"user.js","sourceRoot":"","sources":["../../../src/types/user.ts"],"names":[],"mappings":";;;AAMA;;GAEG;AACH,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,8BAAc,CAAA;IACd,6BAAa,CAAA;IACb,6BAAa,CAAA;IACb,kCAAkB,CAAA;AACpB,CAAC,EALW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAKvB;AA2UD,IAAY,oBAoBX;AApBD,WAAY,oBAAoB;IAC9B,qFAAmB,CAAA;IACnB,kGAA0B,CAAA;IAC1B,wIAA6C,CAAA;IAC7C,0FAAsB,CAAA;IACtB,wHAAqC,CAAA;IACrC,0HAAsC,CAAA;IACtC,4FAAuB,CAAA;IACvB,wFAAqB,CAAA;IACrB,8FAAwB,CAAA;IACxB,wFAAqB,CAAA;IACrB,sGAA4B,CAAA;IAC5B,sGAA4B,CAAA;IAC5B,mHAAmC,CAAA;IACnC,+FAAyB,CAAA;IACzB,6HAAwC,CAAA;IACxC,+HAAyC,CAAA;IACzC,6FAAwB,CAAA;IACxB,yFAAsB,CAAA;IACtB,mGAA2B,CAAA;AAC7B,CAAC,EApBW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAoB/B"}
|
package/lib/esm/types/user.d.ts
CHANGED
|
@@ -175,6 +175,14 @@ export interface SCUserType {
|
|
|
175
175
|
* notification banner counter
|
|
176
176
|
*/
|
|
177
177
|
unseen_notification_banners_counter?: number;
|
|
178
|
+
/**
|
|
179
|
+
* If the user account has been deleted
|
|
180
|
+
*/
|
|
181
|
+
deleted?: boolean;
|
|
182
|
+
/**
|
|
183
|
+
* Datetime of the account deletion
|
|
184
|
+
*/
|
|
185
|
+
deleted_at?: Date;
|
|
178
186
|
}
|
|
179
187
|
/**
|
|
180
188
|
* User Settings
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../src/types/user.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAC,SAAS,EAAC,MAAM,OAAO,CAAC;AAEhC;;GAEG;AACH,oBAAY,YAAY;IACtB,QAAQ,MAAM;IACd,OAAO,MAAM;IACb,OAAO,MAAM;IACb,YAAY,MAAM;CACnB;AAED,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,C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AAY,EAAE,OAAO,CAAC;CACvB;AAED;;GAEG;AAEH,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,SAAS,EAAE,UAAU,CAAC;IACtB;;OAEG;IACH,OAAO,EAAE,UAAU,CAAC;IACpB;;OAEG;IACH,OAAO,EAAE,IAAI,GAAG,MAAM,CAAC;IACvB;;OAEG;IACH,QAAQ,EAAE,IAAI,GAAG,MAAM,CAAC;IACxB;;OAEG;IACH,MAAM,EAAE,IAAI,GAAG,MAAM,CAAC;CACvB;AAED;;GAEG;AAEH,MAAM,WAAW,6BAA6B;IAC5C;;OAEG;IACH,OAAO,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,EAAE,GAAG,CAAC;CAChB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.js","sourceRoot":"","sources":["../../../src/types/user.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,CAAN,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,8BAAc,CAAA;IACd,6BAAa,CAAA;IACb,6BAAa,CAAA;IACb,kCAAkB,CAAA;AACpB,CAAC,EALW,YAAY,KAAZ,YAAY,QAKvB;
|
|
1
|
+
{"version":3,"file":"user.js","sourceRoot":"","sources":["../../../src/types/user.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,CAAN,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,8BAAc,CAAA;IACd,6BAAa,CAAA;IACb,6BAAa,CAAA;IACb,kCAAkB,CAAA;AACpB,CAAC,EALW,YAAY,KAAZ,YAAY,QAKvB;AA2UD,MAAM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EAAY,aAAZA,EAAY,YAAZA,EAAY,YAAZA,EAAY,kBAAZA,IAAY,eAAZA,EAAY,KA4VxB,kCAtBYC,GAAAA,EAAAA,EAAoB,qCAApBA,EAAAA,EAAoB,kDAApBA,EAAAA,EAAoB,wFAApBA,EAAAA,EAAoB,0CAApBA,EAAAA,EAAoB,wEAApBA,EAAAA,EAAoB,0EAApBA,EAAAA,EAAoB,4CAApBA,EAAAA,EAAoB,wCAApBA,EAAAA,EAAoB,8CAApBA,EAAAA,EAAoB,wCAApBA,EAAAA,EAAoB,sDAApBA,EAAAA,EAAoB,sDAApBA,EAAAA,EAAoB,mEAApBA,EAAAA,EAAoB,+CAApBA,EAAAA,EAAoB,6EAApBA,EAAAA,EAAoB,+EAApBA,EAAAA,EAAoB,6CAApBA,EAAAA,EAAoB,yCAApBA,EAAAA,EAAoB,mDAsBhC,CAtBYA,IAAoB,uBAApBA,EAAoB,iEC9U5BC,EAA2B,CAAC,EAGhC,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAalC,QAGrB,IAAIC,EAAS8B,EAAyBE,GAAY,CAGjDjC,QAAS,CAAC,GAOX,OAHAoC,EAAoBH,GAAUhC,EAAQA,EAAOD,QAASgC,GAG/C/B,EAAOD,OACf,8CCnBA,aAwIiB,60MtBjIjB","sources":["webpack://SelfCommunityTypes/webpack/universalModuleDefinition","webpack://SelfCommunityTypes/./src/types/broadcastMessage.ts","webpack://SelfCommunityTypes/./src/types/category.ts","webpack://SelfCommunityTypes/./src/types/comment.ts","webpack://SelfCommunityTypes/./src/types/contribution.ts","webpack://SelfCommunityTypes/./src/types/customAdv.ts","webpack://SelfCommunityTypes/./src/types/customPage.ts","webpack://SelfCommunityTypes/./src/types/feature.ts","webpack://SelfCommunityTypes/./src/types/feed.ts","webpack://SelfCommunityTypes/./src/types/flag.ts","webpack://SelfCommunityTypes/./src/types/friendship.ts","webpack://SelfCommunityTypes/./src/types/incubator.ts","webpack://SelfCommunityTypes/./src/types/index.ts","webpack://SelfCommunityTypes/./src/types/legalPage.ts","webpack://SelfCommunityTypes/./src/types/metadata.ts","webpack://SelfCommunityTypes/./src/types/notification.ts","webpack://SelfCommunityTypes/./src/types/preference.ts","webpack://SelfCommunityTypes/./src/types/privateMessage.ts","webpack://SelfCommunityTypes/./src/types/prize.ts","webpack://SelfCommunityTypes/./src/types/suggestion.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 {SCTagType} from './tag';\n\n/**\n * Interface SCCategoryType.\n * Category Schema.\n */\nexport interface SCCategoryType {\n /**\n * The ID of the category.\n */\n id: number;\n\n /**\n * The manual ordering number of the category.\n */\n order?: number;\n\n /**\n * The name of the category.\n */\n name: string;\n\n /**\n * The synonyms/aliases of the category.\n */\n name_synonyms?: string;\n\n /**\n * The slug of the category.\n */\n slug?: string;\n\n /**\n * The slogan of the category.\n */\n slogan?: string;\n\n /**\n * The category's html text.\n */\n html_info?: string;\n\n /**\n * The category's html meta tag.\n */\n seo_title?: string;\n\n /**\n * The description for category's html meta tag.\n */\n seo_description?: string;\n\n /**\n * The category's auto follow behaviour.\n */\n auto_follow?: string;\n\n /**\n * The category status.\n */\n active?: boolean;\n\n /**\n * The category status.\n */\n deleted?: boolean;\n\n /**\n * The category's image with min size.\n */\n image_original?: string;\n\n /**\n * The category's auto generated bigger size.\n */\n image_bigger?: string;\n\n /**\n * The category's auto generated big size.\n */\n image_big?: string;\n\n /**\n * The category's auto generated medium size.\n */\n image_medium?: string;\n\n /**\n * The category's auto generated small size.\n */\n image_small?: string;\n\n /**\n * The landscape format image for category hub.\n */\n emotional_image_original?: string;\n\n /**\n * The css background-position.\n */\n emotional_image_position?: number;\n\n /**\n * The last modify (datetime)\n */\n lastmod_datetime?: string;\n\n /**\n * The order of the category feed.\n */\n stream_order_by?: string;\n\n /**\n * The category's tags.\n */\n tags?: Array<SCTagType>;\n\n /**\n * Followers counter for the category.\n */\n followers_counter?: number;\n\n /**\n * If the category is followed by the authenticated user\n */\n followed?: boolean;\n}\n\nexport interface SCCategoryAudienceType {\n category_audience: number;\n connections_audience: number;\n}\n\nexport interface SCCategoryFollowedStatusType {\n is_followed: boolean;\n}\n\nexport enum SCCategoryAutoFollowType {\n NONE = 'none',\n DEFAULT = 'default',\n FORCED = 'forced'\n}\n","import {SCUserType} from './user';\nimport {SCReactionType} from './reaction';\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 * Reactions number and objs\n */\n reactions_count: [];\n\n /**\n * Reaction obj\n */\n reaction: SCReactionType;\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","import {SCFlagModerationStatusType, SCFlagTypeEnum} from './flag';\nimport {SCUserType} from './user';\nimport {SCFeedObjectType} from './feed';\nimport {SCCommentType} from './comment';\n\n/**\n * SCFlaggedContributionType\n */\nexport interface SCFlaggedContributionType {\n /**\n * The feed obj type(discussion, post, status)\n */\n contribution_type: SCContributionType;\n /**\n * The feed obj\n */\n contribution: SCFeedObjectType | SCCommentType;\n /**\n * Date time of the last flag\n */\n last_flagged_at: Date | string;\n /**\n * Moderation status\n */\n moderation_status: SCFlagModerationStatusType;\n /**\n * Cause of the moderation\n */\n moderation_type: SCFlagTypeEnum;\n /**\n * The moderator\n */\n moderation_by: SCUserType;\n /**\n * Date time of the moderation\n */\n moderation_at: Date | string;\n}\n\n/**\n * Contribute types\n */\nexport enum SCContributionType {\n DISCUSSION = 'discussion',\n POST = 'post',\n STATUS = 'status',\n COMMENT = 'comment'\n}\n\n/**\n *\n */\nexport interface SCContributionStatus {\n status: SCContributeStatusType;\n flag_type: SCFlagTypeEnum;\n flag_type_description: string;\n}\n\n/**\n * Contribute status types\n */\nexport enum SCContributeStatusType {\n OPEN = 'open',\n IGNORED = 'ignored',\n HIDDEN = 'hidden',\n DELETED = 'deleted'\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","export enum SCCustomPageTypeEnum {\n NORMAL = 'normal',\n LEGAL = 'legal'\n}\n\n/**\n * SCCustomPageType interface\n */\nexport interface SCCustomPageType {\n id?: number;\n type?: SCCustomPageTypeEnum;\n slug?: string;\n title: string;\n html_summary?: string | null;\n html_body?: string | null;\n valid_from: Date | string;\n valid_to: Date | string;\n created_at?: Date | string;\n updated_at?: Date | string | null;\n active?: boolean;\n created_by?: number;\n updated_by?: number;\n}\n","export enum SCFeatureName {\n INTERESTS = 'interests',\n CUSTOMIZE = 'customize',\n ADDONS = 'addons',\n DOMAIN = 'domain',\n SOCIAL_PROVIDERS = 'social_providers',\n COMMUNITY_SUBSCRIPTION = 'community_subscription',\n SEO = 'seo',\n ADVERTISING = 'advertising',\n GOOGLE_CLOUD_API = 'google_cloud_api',\n HOTJAR = 'hotjar',\n SQREEN = 'sqreen',\n INCUBATORS = 'incubators',\n CMS = 'cms',\n LEGAL_PAGES = 'legal_pages',\n SCORING = 'scoring',\n USER_ROLES = 'user_roles',\n EMAIL_MANAGER = 'email_manager',\n LOYALTY = 'loyalty',\n BROADCAST = 'broadcast',\n INVITATION = 'invitation',\n APP_SETTINGS = 'app_settings',\n MODERATION_FLAGS = 'moderation_flags',\n MODERATION_CONTENTS = 'moderation_contents',\n MODERATION_USERS_BLOCKED = 'moderation_users_blocked',\n MODERATION_USERS = 'moderation_users',\n DATA_PROVISIONING_DASHBOARD = 'data_provisioning_dashboard',\n DATA_PROVISIONING_USERS = 'data_provisioning_users',\n DATA_PROVISIONING_CONTENTS = 'data_provisioning_contents',\n DATA_PROVISIONING_INTERESTS = 'data_provisioning_interests',\n DATA_PROVISIONING_POLLS = 'data_provisioning_polls',\n DATA_PROVISIONING_REPORTS = 'data_provisioning_reports',\n REGISTRATION_ALERTS = 'registration_alerts',\n SOCIAL_SHARE = 'social_share',\n FEED_SETTINGS = 'stream_settings',\n TAGGING = 'tagging',\n API_V2 = 'api_v2',\n WEBHOOK = 'webhook',\n HEADLESS = 'headless',\n CUSTOMIZE_HEADLESS = 'customize_headless',\n SYSTEM_PAGES = 'system_pages',\n REACTION = 'reaction',\n PRIVATE_MESSAGING = 'private_messaging'\n}\n\n/**\n * SCFeatureType interface\n */\n\nexport interface SCFeatureType {\n /**\n * The feature ID.\n */\n id?: number;\n /**\n * The name of the feature.\n */\n name?: SCFeatureName;\n /**\n * Is this feature enabled?\n */\n enabled?: boolean;\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';\nimport {SCReactionType} from './reaction';\nimport {SCContributionType} from './contribution';\n\n/**\n * Typology of feed\n */\nexport enum SCFeedTypologyType {\n HOME = 'home',\n EXPLORE = 'explore'\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: Exclude<SCContributionType, SCContributionType.COMMENT>;\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 * Reaction obj\n */\n reaction: SCReactionType;\n /**\n * Reactions number and objs\n */\n reactions_count: [];\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: Exclude<SCContributionType, SCContributionType.COMMENT>;\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\n/**\n * SCFeedUnseenCountType interface\n */\n\nexport interface SCFeedUnseenCountType {\n count_by_category?: SCCountByCategoryType[];\n total: number;\n}\n\nexport interface SCCountByCategoryType {\n id: number;\n count: number;\n}\n\n/**\n * Feed Object suspended status\n */\nexport interface SCFeedObjectSuspendedStatusType {\n suspended: boolean;\n}\n\n/**\n * Feed Object following status\n */\nexport interface SCFeedObjectFollowingStatusType {\n following: boolean;\n}\n/**\n * Feed Object hide status\n */\nexport interface SCFeedObjectHideStatusType {\n hidden: boolean;\n}\n","import {SCUserType} from './user';\n\n/**\n * SCFlagType interface\n */\nexport interface SCFlagType {\n /**\n * The user who has been flagged\n */\n user?: SCUserType;\n /**\n * Date time of flag.\n */\n added_at?: Date | string;\n /**\n * Type of flag\n */\n flag_type: SCFlagTypeEnum;\n /**\n * Flag description\n */\n flag_type_description?: string;\n}\n\n/**\n * Typology of flags\n */\nexport enum SCFlagTypeEnum {\n SPAM = 0,\n AGGRESSIVE = 1,\n VULGAR = 2,\n POOR = 3,\n OFFTOPIC = 4\n}\n\nexport enum SCFlagModerationStatusType {\n IGNORED = 'ignored',\n DELETED = 'deleted',\n HIDDEN = 'hidden'\n}\n","/**\n * Connection status\n */\nexport enum SCConnectionStatus {\n CONNECTED = 'connected',\n CONNECTION_REQUEST_SENT = 'sent_connection_request',\n CONNECTION_REQUEST_RECEIVED = 'received_connection_request'\n}\n","import {SCUserType} from './user';\nimport {SCCategoryType} from './category';\n\n/**\n * Interface SCIncubatorType.\n * Incubator Schema.\n */\nexport interface SCIncubatorType {\n /**\n * The ID of the incubator.\n */\n id: number;\n\n /**\n * The name of the incubator.\n */\n name: string;\n\n /**\n * The slug of the incubator.\n */\n slug?: string;\n\n /**\n * The slogan of the incubator.\n */\n slogan?: string;\n\n /**\n * Incubator status\n */\n status: number;\n\n /**\n * Subscribers count\n */\n subscribers_count: number;\n\n /**\n * Subscribers threshold\n */\n subscribers_threshold: number;\n\n /**\n * User who proposed the incubator\n */\n user: SCUserType;\n\n /**\n * Approved incubator\n */\n approved_category?: SCCategoryType;\n\n /**\n * Added at\n */\n added_at: Date;\n /**\n * If the logged user has subscribed to the incubator\n */\n subscribed: boolean;\n}\n\n/**\n * SCIncubatorSubscriptionType inerface\n */\nexport interface SCIncubatorSubscriptionType {\n subscribed: boolean;\n}\n\n/**\n * SCIncubatorStatusType enum\n */\n\nexport enum SCIncubatorStatusType {\n PENDING = 0,\n PROPOSAL = 1,\n APPROVED = 2,\n IGNORED = 3\n}\n","import {SCAuthTokenType} from './auth';\nimport {SCBannerType, SCBroadcastMessageBannerType, SCBroadcastMessageType} from './broadcastMessage';\nimport {SCCustomAdvPosition, SCCustomAdvType} from './customAdv';\nimport {SCCustomMenuItemType, SCCustomMenuType} from './customMenu';\nimport {\n SCUserAutocompleteType,\n SCUserAvatarType,\n SCUserBlockedSettingsType,\n SCUserChangeEmailType,\n SCUserConnectionRequestType,\n SCUserConnectionStatusType,\n SCUserCounterType,\n SCUserEmailTokenType,\n SCUserFollowedStatusType,\n SCUserFollowerStatusType,\n SCUserHiddenByStatusType,\n SCUserHiddenStatusType,\n SCUserModerationType,\n SCUserPermissionType,\n SCUserReputationType,\n SCUserScoreType,\n SCUserScoreVariation,\n SCUserSettingsType,\n SCUserStatus,\n SCUserType,\n SCUserProviderAssociationType\n} from './user';\nimport {SCTagType} from './tag';\nimport {SCCategoryAudienceType, SCCategoryFollowedStatusType, SCCategoryType, SCCategoryAutoFollowType} from './category';\nimport {SCEmbedType} from './embed';\nimport {SCChunkMediaType, SCMediaType} from './media';\nimport {SCMetadataTypeFieldType, SCMetadataType} from './metadata';\nimport {SCContributionLocation, SCLocalityType} from './location';\nimport {SCPollChoiceType, SCPollType, SCPollVoteType} from './poll';\nimport {SCCommentsOrderBy, SCCommentType} from './comment';\nimport {\n SCMessageFileType,\n SCPrivateMessageFileType,\n SCPrivateMessageStatusType,\n SCPrivateMessageThreadType,\n SCPrivateMessageSnippetType,\n SCPrivateMessageUploadMediaChunkType,\n SCPrivateMessageUploadMediaType,\n SCPrivateMessageUploadThumbnailType\n} from './privateMessage';\nimport {SCIncubatorStatusType, SCIncubatorSubscriptionType, SCIncubatorType} from './incubator';\nimport {SCCustomNotificationType} from './customNotification';\nimport {SCPrizeType, SCPrizeUserStatusType, SCPrizeUserType, SCUserLoyaltyPointsType} from './prize';\nimport {\n SCCountByCategoryType,\n SCFeedDiscussionType,\n SCFeedObjectFollowingStatusType,\n SCFeedObjectHideStatusType,\n SCFeedObjectSuspendedStatusType,\n SCFeedObjectType,\n SCFeedPostType,\n SCFeedStatusType,\n SCFeedTypologyType,\n SCFeedUnitActivityType,\n SCFeedUnitActivityTypologyType,\n SCFeedUnitType,\n SCFeedUnseenCountType\n} from './feed';\nimport {\n SCNotificationAggregatedType,\n SCNotificationBlockedUserType,\n SCNotificationCollapsedForType,\n SCNotificationCommentType,\n SCNotificationConnectionAcceptType,\n SCNotificationConnectionRequestType,\n SCNotificationContributionType,\n SCNotificationCustomNotificationType,\n SCNotificationDeletedForType,\n SCNotificationFollowType,\n SCNotificationIncubatorType,\n SCNotificationKindlyNoticeType,\n SCNotificationMentionType,\n SCNotificationPrivateMessageType,\n SCNotificationTopicType,\n SCNotificationType,\n SCNotificationTypologyType,\n SCNotificationUnBlockedUserType,\n SCNotificationUnDeletedForType,\n SCNotificationUnseenCountType,\n SCNotificationUserFollowType,\n SCNotificationVoteUpType\n} from './notification';\nimport {SCWebhookEndpointAttemptType, SCWebhookEndpointSecretType, SCWebhookEndpointType, SCWebhookEventsType} from './webhook';\nimport {SCVoteType} from './vote';\nimport {SCFlagModerationStatusType, SCFlagType, SCFlagTypeEnum} from './flag';\nimport {SCCustomPageTypeEnum, SCCustomPageType} from './customPage';\nimport {SCDataPortabilityType} from './dataPortability';\nimport {SCPreferenceSection, SCPreferenceName, SCPreferenceType} from './preference';\nimport {SCFeatureName, SCFeatureType} from './feature';\nimport {SSOSignInType, SSOSignUpType} from './sso';\nimport {SCLegalPagePoliciesType, SCLegalPageAckType, SCLegalPageType} from './legalPage';\nimport {\n SCContributionInsightCountersType,\n SCContributionInsightType,\n SCEmbedInsightCountersType,\n SCEmbedInsightType,\n SCUsersInsightCountersType,\n SCUsersInsightType\n} from './insight';\nimport {SCInviteType} from './invite';\nimport {SCPromoType} from './promo';\nimport {SCContributeStatusType, SCContributionStatus, SCContributionType, SCFlaggedContributionType} from './contribution';\nimport {SCPlatformType} from './platform';\nimport {SCAvatarType} from './avatar';\nimport {SCReactionType} from './reaction';\nimport {SCSuggestionType, SuggestionType} from './suggestion';\nimport {SCConnectionStatus} from './friendship';\n/**\n * Exports all types\n */\nexport {\n SCBannerType,\n SCBroadcastMessageBannerType,\n SCBroadcastMessageType,\n SCAuthTokenType,\n SCUserType,\n SCUserSettingsType,\n SCUserStatus,\n SCUserBlockedSettingsType,\n SCUserModerationType,\n SCUserScoreVariation,\n SCUserScoreType,\n SCUserReputationType,\n SCUserAutocompleteType,\n SCUserCounterType,\n SCUserChangeEmailType,\n SCUserAvatarType,\n SCUserPermissionType,\n SCUserFollowedStatusType,\n SCUserFollowerStatusType,\n SCUserConnectionStatusType,\n SCUserHiddenStatusType,\n SCUserHiddenByStatusType,\n SCUserConnectionRequestType,\n SCUserEmailTokenType,\n SCUserProviderAssociationType,\n SCMetadataTypeFieldType,\n SCMetadataType,\n SCTagType,\n SCCategoryType,\n SCCategoryAutoFollowType,\n SCCategoryAudienceType,\n SCCategoryFollowedStatusType,\n SCCustomAdvPosition,\n SCCustomAdvType,\n SCCustomMenuItemType,\n SCCustomMenuType,\n SCEmbedType,\n SCMediaType,\n SCChunkMediaType,\n SCContributionLocation,\n SCLocalityType,\n SCPollChoiceType,\n SCPollType,\n SCPollVoteType,\n SCFeedUnitType,\n SCFeedUnitActivityType,\n SCFeedObjectType,\n SCFeedPostType,\n SCFeedDiscussionType,\n SCFeedStatusType,\n SCFeedUnitActivityTypologyType,\n SCFeedTypologyType,\n SCFeedUnseenCountType,\n SCFeedObjectSuspendedStatusType,\n SCFeedObjectHideStatusType,\n SCFeedObjectFollowingStatusType,\n SCCountByCategoryType,\n SCCommentsOrderBy,\n SCCommentType,\n SCPrivateMessageThreadType,\n SCPrivateMessageSnippetType,\n SCPrivateMessageStatusType,\n SCPrivateMessageFileType,\n SCMessageFileType,\n SCPrivateMessageUploadMediaType,\n SCPrivateMessageUploadThumbnailType,\n SCPrivateMessageUploadMediaChunkType,\n SCPromoType,\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 SCNotificationUnseenCountType,\n SCIncubatorType,\n SCIncubatorSubscriptionType,\n SCIncubatorStatusType,\n SCInviteType,\n SCNotificationIncubatorType,\n SCNotificationContributionType,\n SCPrizeType,\n SCPrizeUserType,\n SCPrizeUserStatusType,\n SCUserLoyaltyPointsType,\n SCWebhookEndpointType,\n SCWebhookEndpointAttemptType,\n SCWebhookEndpointSecretType,\n SCWebhookEventsType,\n SCVoteType,\n SCFlagType,\n SCFlagTypeEnum,\n SCFlagModerationStatusType,\n SCCustomPageTypeEnum,\n SCCustomPageType,\n SCDataPortabilityType,\n SCPreferenceSection,\n SCPreferenceName,\n SCPreferenceType,\n SCFeatureName,\n SCFeatureType,\n SSOSignInType,\n SSOSignUpType,\n SCLegalPageType,\n SCLegalPagePoliciesType,\n SCLegalPageAckType,\n SCContributionInsightCountersType,\n SCContributionInsightType,\n SCEmbedInsightType,\n SCEmbedInsightCountersType,\n SCUsersInsightType,\n SCUsersInsightCountersType,\n SCFlaggedContributionType,\n SCContributionType,\n SCContributionStatus,\n SCContributeStatusType,\n SCPlatformType,\n SCAvatarType,\n SCReactionType,\n SCSuggestionType,\n SuggestionType,\n SCConnectionStatus\n};\n","export enum SCLegalPagePoliciesType {\n TERMS_AND_CONDITIONS = 'tec',\n PRIVACY = 'privacy'\n}\n\n/**\n * SCLegalPageType interface\n */\nexport interface SCLegalPageType {\n /**\n * Unique integer value identifying this page\n */\n id: number;\n /**\n * The name and version code for this page\n */\n slug: string;\n /**\n * Page title\n */\n title: string;\n /**\n * \tA short html summary\n */\n html_summary: string;\n /**\n * \tThe full html body for this page\n */\n html_body: string;\n /**\n * This page is valid from this date\n */\n valid_from: Date | string;\n /**\n * This page is valid till this date\n */\n valid_to: Date | string;\n /**\n * \tdatetime of creation\n */\n created_at: Date | string;\n /**\n * The id of the creator of this page\n */\n created_by: number;\n /**\n * Is this page active\n */\n active?: boolean;\n /**\n * User ack\n */\n ack?: SCLegalPageAckType;\n}\n\n/**\n * SCLegalPageAckType interface\n */\n\nexport interface SCLegalPageAckType {\n /**\n * Unique integer value identifying this ack\n */\n id: number;\n /**\n * This policy has been accepted in this datetime\n */\n accepted_at: Date | string;\n /**\n * \tThis policy has been refused in this datetime\n */\n not_accepted_at: Date | string;\n /**\n * The id of the policy page\n */\n custom_page: number;\n /**\n * \tThe id of the user\n */\n user: number;\n}\n","/**\n * Metadata type field\n */\nexport enum SCMetadataTypeFieldType {\n STRING = 'string',\n EMAIL = 'email',\n URL = 'url',\n ENUM = 'enum',\n PHONE_NUMBER = 'phone_number',\n CHECKBOX = 'checkbox'\n}\n\n/**\n * Metadata type used to render custom fields\n */\nexport interface SCMetadataType {\n /**\n * The label of the metadata\n */\n label: string;\n /**\n * Is the metadata mandatory for the user\n */\n mandatory?: boolean;\n /**\n * Is the metadata visible in signup form\n */\n in_signup?: boolean;\n /**\n * Is metadata visible in exports\n */\n in_export?: boolean;\n /**\n * Metadata type\n */\n type?: SCMetadataTypeFieldType;\n /**\n * Options for the enum type\n */\n type_options?: string[];\n}\n","import {SCCommentType, SCFeedDiscussionType, SCFeedPostType, SCFeedStatusType, SCUserType} from '../index';\nimport {SCPrivateMessageThreadType, SCPrivateMessageSnippetType} 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_request',\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 CONTRIBUTION = 'contribution'\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: SCPrivateMessageThreadType;\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/**\n * Interface SCNotificationUnseenCountType\n */\nexport interface SCNotificationUnseenCountType {\n count: number;\n}\n\n/**\n * Interface SCNotificationContributionType.\n * Contribution Notification Schema.\n */\nexport interface SCNotificationContributionType extends SCNotificationType {\n /**\n * If the contribution type is discussion\n */\n discussion?: SCFeedDiscussionType;\n\n /**\n * If the contribution type is post\n */\n post?: SCFeedPostType;\n\n /**\n * If the contribution type is status\n */\n status?: SCFeedStatusType;\n}\n","/**\n * Preferences section\n */\nexport enum SCPreferenceSection {\n TEXT = 'text',\n STYLE = 'style',\n LOGO = 'logo',\n COLORS = 'colors',\n COVERS = 'covers',\n IMAGES = 'images',\n STAFF = 'staff',\n LOYALTY = 'loyalty',\n ADDONS = 'addons',\n ADVERTISING = 'advertising',\n CONFIGURATIONS = 'configurations',\n PROVIDERS = 'providers',\n WEBMASTER = 'webmaster'\n}\n/**\n * Preferences name\n */\nexport enum SCPreferenceName {\n APPLICATION_NAME = 'application_name',\n APPLICATION_SLOGAN1 = 'application_slogan1',\n APPLICATION_SLOGAN2 = 'application_slogan2',\n APPLICATION_COPYRIGHT = 'application_copyright',\n FONT_FAMILY = 'font_family',\n NAVBAR_LOGO = 'navbar_logo',\n NAVBAR_LOGO_MOBILE = 'navbar_logo_mobile',\n COLORBACK = 'colorback',\n COLORPRIMARY = 'colorprimary',\n COLORSECONDARY = 'colorsecondary',\n NAVBARBACK = 'navbarback',\n SUBMENUBACK = 'submenuback',\n COLORFONT = 'font_color',\n COVER_1_HP_M1920 = 'cover_1_hp_m1920',\n COVER_2_HP_M1920 = 'cover_2_hp_m1920',\n COVER_3_HP_M1920 = 'cover_3_hp_m1920',\n COVER_4_HP_M1920 = 'cover_4_hp_m1920',\n COVERS_VISIBILITY = 'covers_visibility',\n APP_ICON = 'app_icon',\n USER_DEFAULT_COVER = 'user_default_cover',\n ERROR_404 = 'error_404',\n ERROR_503 = 'error_503',\n ERRORPAGES_IMAGE = 'errorpages_image',\n STAFF_BADGE_ICON = 'staff_badge_icon',\n STAFF_BADGE_LABEL = 'staff_badge_label',\n PRIZE_A_IMAGE = 'prize_a_image',\n PRIZE_B_IMAGE = 'prize_b_image',\n PRIZE_C_IMAGE = 'prize_c_image',\n POINTS_MAKE_DISCUSSION = 'points_make_discussion',\n POINTS_MAKE_POST = 'points_make_post',\n POINTS_MAKE_COMMENT = 'points_make_comment',\n POINTS_RECEIVE_VOTE = 'points_receive_vote',\n POINTS_CONNECTION_OR_FOLLOWER = 'points_connection_or_follower',\n POINTS_SOCIAL_SHARE = 'points_social_share',\n POINTS_APP_USED = 'points_app_used',\n POINTS_DAILY_VISIT = 'points_daily_visit',\n AFFINIDY_ENABLED = 'affinity_enabled',\n CLOSED_COMMUNITY = 'closed_community',\n INCUBATOR_ENABLED = 'incubator_enabled',\n INCUBATOR_SUBSCRIBERS = 'incubator_subscribers',\n LOYALTY_POINTS_COLLECTION = 'loyalty_points_collection',\n POLLS_ENABLED = 'polls_enabled',\n REGISTRATION_WIZARD = 'registration_wizard',\n VIDEO_UPLOAD_ENABLED = 'video_upload_enabled',\n VIMEO_TOKEN_UPLOAD = 'vimeo_token_upload',\n VIMEO_TOKEN_DELETE = 'vimeo_token_delete',\n VIDEO_UPLOAD_ONLY_FOR_STAFF = 'video_upload_only_for_staff',\n POST_GEOLOCATION_ENABLED = 'post_geolocation_enabled',\n SHARE_POST_ON_FACEBOOK_ENABLED = 'share_post_on_facebook_enabled',\n SHARE_POST_ON_TWITTER_ENABLED = 'share_post_on_twitter_enabled',\n SHARE_POST_ON_LINKEDIN_ENABLED = 'share_post_on_linkedin_enabled',\n CUSTOM_ADV_ENABLED = 'custom_adv_enabled',\n CUSTOM_ADV_ONLY_FOR_ANONYMOUS_USERS_ENABLED = 'custom_adv_only_for_anonymous_users_enabled',\n FOLLOW_ENABLED = 'follow_enabled',\n EXPLORE_STREAM_ENABLED = 'explore_stream_enabled',\n EXPLORE_STREAM_ORDER_BY = 'explore_stream_order_by',\n HOME_STREAM_ORDER_BY = 'home_stream_order_by',\n MANUAL_CATEGORIES_ORDER_ENABLED = 'manual_categories_order_enabled',\n PEOPLE_SEARCH_ENABLED = 'people_search_enabled',\n POST_ONLY_STAFF_ENABLED = 'post_only_staff_enabled',\n STREAM_QUALITY = 'stream_quality',\n CONTENT_AVAILABILITY = 'content_availability',\n USERS_APPROVAL_ENABLED = 'users_approval_enabled',\n POST_TYPE_ENABLED = 'post_type_enabled',\n DISCUSSION_TYPE_ENABLED = 'discussion_type_enabled',\n STATUS_TYPE_ENABLED = 'status_type_enabled',\n URL_TEMPLATE_EMAIL_SETTINGS = 'url_template_email_settings',\n URL_TEMPLATE_EMAIL_UNSUBSCRIBE = 'url_template_email_unsubscribe',\n URL_TEMPLATE_PASSWORD_RECOVER = 'url_template_password_recover',\n URL_TEMPLATE_VERIFY_EMAIL = 'url_template_verify_email',\n URL_TEMPLATE_POST = 'url_template_post',\n URL_TEMPLATE_DISCUSSION = 'url_template_discussion',\n URL_TEMPLATE_STATUS = 'url_template_status',\n URL_TEMPLATE_COMMENT = 'url_template_comment',\n URL_TEMPLATE_CATEGORY = 'url_template_category',\n URL_TEMPLATE_CATEGORIES_LIST = 'url_template_categories_list',\n URL_TEMPLATE_USER_PROFILE = 'url_template_profile',\n URL_TEMPLATE_USER_PROFILE_SETTINGS = 'url_template_profile_settings',\n URL_TEMPLATE_NOTIFICATIONS = 'url_template_notifications',\n URL_TEMPLATE_USER_PRIVATE_MESSAGES = 'url_template_private_message',\n URL_TEMPLATE_INCUBATOR = 'url_template_incubator',\n USER_METADATA_DEFINITIONS = 'user_metadata_definition',\n TAG_MANAGER_CONTAINER_ID = 'tag_manager_container_id',\n GDPR_COOKIE_CONSENT_EXTERNAL_HTML = 'gdpr_cookie_consent_external_html',\n GDPR_SIGNUP_ACCEPT_HTML = 'gdpr_signup_accept_html',\n APP_URL_ON_APP_STORE = 'app_url_on_app_store',\n APP_URL_ON_GOOGLE_PLAY = 'app_url_on_google_play',\n FACEBOOK_SIGNIN_ENABLED = 'facebook_signin_enabled',\n FACEBOOK_APP_KEY = 'facebook_app_key',\n FACEBOOK_APP_SECRET = 'facebook_app_secret',\n LINKEDIN_SIGNIN_ENABLED = 'linkedin_signin_enabled',\n LINKEDIN_APP_KEY = 'linkedin_app_key',\n LINKEDIN_APP_SECRET = 'linkedin_app_secret',\n TWITTER_SIGNIN_ENABLED = 'twitter_signin_enabled',\n TWITTER_APP_KEY = 'twitter_app_key',\n TWITTER_APP_SECRET = 'twitter_app_secret',\n GOOGLE_GEOCODING_API_KEY = 'google_geocoding_api_key',\n GOOGLE_SIGNIN_ENABLED = 'google_signin_enabled',\n GOOGLE_APP_KEY = 'google_app_key',\n GOOGLE_APP_SECRET = 'google_app_secret',\n WEB_PUSH_PUBLIC_KEY = 'web_push_public_key',\n WEB_PUSH_ENABLED = 'web_push_enabled',\n META_ROBOTS = 'meta_robots',\n META_TITLE_HOME_NOT_LOGGED = 'meta_title_home_not_logged',\n META_DESCRIPTION = 'meta_description'\n}\n\n/**\n * SCPreferenceType interface\n */\nexport interface SCPreferenceType {\n /**\n * Unique integer value identifying this dynamic preference\n */\n id?: number;\n /**\n * Grouping name\n */\n section?: SCPreferenceSection;\n /**\n * \tUnique name identifying this dynamic preference\n */\n name?: SCPreferenceName;\n /**\n * \tThe value of the dynamic preference (can be an integer or a string)\n */\n value: string;\n}\n","/**\n * Interface SCPrivateMessageThreadType.\n * Thread Private Message Schema.\n */\nimport {SCUserType} from './user';\n\nexport interface SCPrivateMessageThreadType {\n /**\n * Id of the message\n */\n id: number;\n\n /**\n * Sender User\n */\n sender: SCUserType;\n\n /**\n *Receiver User\n */\n receiver: SCUserType;\n\n /**\n * Message content\n */\n message: string;\n\n /**\n * Send date time\n */\n created_at: Date | string;\n\n /**\n * Message status: created, deleted or hidden message\n */\n status: string;\n\n /**\n * file\n */\n file?: SCPrivateMessageFileType;\n}\n/**\n * Interface SCPrivateMessageSnippetType.\n * Snippet Private Message Schema.\n */\nexport interface SCPrivateMessageSnippetType {\n /**\n * Id of the message\n */\n id: number;\n\n /**\n * Headline\n */\n headline: string;\n /**\n * Message\n */\n message: string;\n\n /**\n * Sender User\n */\n sender: SCUserType;\n /**\n *Receiver User\n */\n receiver: SCUserType;\n\n /**\n * Send date time\n */\n created_at: Date | string;\n\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/**\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 PDF = 'application/pdf'\n}\n\n/**\n * SCPrivateMessageUploadMediaType interface\n */\nexport interface SCPrivateMessageUploadMediaType {\n file_url: string;\n file_uuid: string;\n}\n\n/**\n * SCPrivateMessageUploadThumbnailType interface\n */\nexport interface SCPrivateMessageUploadThumbnailType {\n file_url: string;\n file_uuid: string;\n parent_file_uuid: string;\n}\n\n/**\n * SCPrivateMessageUploadMediaChunkType interface\n */\nexport interface SCPrivateMessageUploadMediaChunkType {\n file_uuid: string;\n}\n","import {SCUserType} from './user';\n\n/**\n * Interface SCPrizeType.\n * Prize Schema.\n */\nexport interface SCPrizeType {\n /**\n * The ID of the prize.\n */\n id: number;\n\n /**\n * The active status of the prize.\n */\n active?: boolean;\n\n /**\n * The title of the prize.\n */\n title?: string;\n\n /**\n * The prize description.\n */\n description?: string;\n /**\n * Points to request the prize.\n */\n points?: number;\n\n /**\n * Date of prize creation.\n */\n created_at?: Date;\n /**\n * Date of last modify.\n */\n lastmod_datetime?: Date;\n /**\n * The prize creator.\n */\n created_by?: SCUserType;\n\n /**\n * The prize image.\n */\n image?: string;\n /**\n * Link to a web resource for the prize.\n */\n link?: string;\n}\n\n/**\n * SCPrizeUserType interface\n * Loyalty Prize User Schema\n */\n\nexport interface SCPrizeUserType {\n /**\n * Unique integer value\n */\n id: number;\n /**\n * User obj\n */\n user: SCUserType;\n /**\n * Prize obj.\n */\n prize: SCPrizeType;\n /**\n * Prize points when the request was created\n */\n prize_points: number;\n /**\n * Date since it was in pending status.\n */\n pending_at: Date | string;\n /**\n * Integer value representing the status.\n */\n status: SCPrizeUserStatusType;\n /**\n * The string representation of the status.\n */\n status_description: string;\n}\n\nexport enum SCPrizeUserStatusType {\n PENDING = 0,\n REFUSED = 1,\n SENT = 2\n}\n\n/**\n * Interface SCUserLoyaltyPointsType\n */\nexport interface SCUserLoyaltyPointsType {\n points: number;\n}\n","/**\n * User status\n */\nimport {SCCategoryType} from './category';\nimport {SCUserType} from './user';\n\nexport enum SuggestionType {\n USER = 'user',\n CATEGORY = 'category'\n}\n\n/**\n * Interface SCSuggestionType.\n * Suggestion Schema.\n */\nexport interface SCSuggestionType {\n type?: SuggestionType;\n score?: number;\n category?: SCCategoryType;\n user?: SCUserType;\n}\n","/**\n * Interface SCUserType.\n * User Schema.\n */\nimport {SCTagType} from './tag';\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 * The user is approved and can access the community\n */\n reg_approved?: 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 * If the user has the community badge active.\n */\n community_badge?: boolean;\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\n/**\n * SCUserModerationType interface\n */\nexport interface SCUserModerationType extends SCUserType {\n /**\n * Block start date\n */\n blocked_at: Date | string;\n /**\n * Number of days of block duration (if none and block date set, it means forever)\n */\n days_blocked?: number;\n /**\n * \tDate on which the auto unblock will take place\n */\n expire_at: Date | string;\n /**\n * \tDate on which the user has been seen in the community\n */\n last_seen?: Date | string;\n /**\n *Number of flags given by the user\n */\n flags_given?: number;\n /**\n * Number of flags received by the user (in its contents)\n */\n flags_received?: number;\n /**\n * \tFull description of the last score variation made by a moderator.\n */\n last_score_variation?: SCUserScoreVariation[];\n}\n/**\n * SCUserScoreType interface\n */\nexport interface SCUserScoreType {\n /**\n * The id\n */\n id: number;\n /**\n * The user obj\n */\n user: SCUserType;\n /**\n * Positive or negative integer value\n */\n score: string;\n /**\n * Reputation types\n */\n reputation_type: SCUserReputationType;\n /**\n * Reputation types description\n */\n reputation_type_description: string;\n /**\n * comment\n */\n comment: string;\n}\n\nexport enum SCUserReputationType {\n GAIN_BY_UPVOTED = 1,\n ASSIGNED_BY_MODERATOR = 10,\n GAIN_BY_CANCELLING_CONTRIBUTE_MODERATION = 11,\n GAIN_BY_MAKE_POST = 12,\n GAIN_BY_MAKE_FIRST_LEVEL_COMMENT = 13,\n GAIN_BY_MAKE_SECOND_LEVEL_COMMENT = 14,\n GAIN_BY_CONNECTION = 15,\n GAIN_BY_APP_USED = 17,\n GAIN_BY_DAILY_VISIT = 18,\n GAIN_BY_FOLLOWER = 19,\n GAIN_BY_UNBLOCK_ACCOUNT = 20,\n LOSE_BY_UPVOTE_CANCELED = -1,\n LOSE_BY_CONTRIBUTE_MODERATION = -11,\n LOSE_BY_DELETE_POST = -12,\n LOSE_BY_DELETE_FIRST_LEVEL_COMMENT = -13,\n LOSE_BY_DELETE_SECOND_LEVEL_COMMENT = -14,\n LOSE_BY_CONNECTION = -15,\n LOSE_BY_FOLLOWER = -19,\n LOSE_BY_BLOCK_ACCOUNT = -20\n}\n\n/**\n * SCUserScoreVariation interface\n */\nexport interface SCUserScoreVariation {\n /**\n * comment\n */\n comment: string;\n /**\n * Reputed date-time\n */\n reputed_at: Date | string;\n}\n\n/**\n * SSCUserAutocompleteType Interface\n */\n\nexport interface SCUserAutocompleteType {\n /**\n * The ID of the user.\n */\n id: number;\n /**\n * The username of the user.\n */\n username: string;\n /**\n * The real name of the user.\n */\n real_name: string;\n /**\n * The user avatar.\n */\n avatar: string;\n /**\n * The external ID of the user. It is assigned only during signup.\n */\n ext_id: number;\n}\n\n/**\n * SCUserCountersType interface\n */\nexport interface SCUserCounterType {\n /**\n * Number of discussions created by the user.\n * Only if dynamic preference configurations.discussion_type_enabled is true\n */\n discussions: number;\n /**\n * Number of polls created by the user. Only if dynamic preference addons.polls_enabled is true or if the user has a staff role.\n */\n polls: number;\n /**\n * Number of posts created by the user.Only if dynamic preference configurations.post_type_enabled is true.\n */\n posts: number;\n /**\n * Number of statuses created by the user. Only if dynamic preference configurations.status_type_enabled is true.\n */\n statuses: number;\n /**\n * Number of followings of the user. Only if dynamic preference configurations.follow_enabled is true.\n */\n followings: number;\n /**\n * Number of followers of the user. Only if dynamic preference configurations.follow_enabled is true.\n */\n followers: number;\n /**\n * Number of connection requests sent by the user.\n * Only if dynamic preference configurations.follow_enabled is false.\n */\n connection_requests_sent_counter: number;\n /**\n * Number of connection requests received by the user. Only if dynamic preference configurations.follow_enabled is false.\n */\n connection_requests_received_counter: number;\n /**\n * Number of connections of the user. Only if dynamic preference configurations.follow_enabled is false.\n */\n connections_counter: number;\n}\n\n/**\n * SCUserChangeEmailType interface\n */\nexport interface SCUserChangeEmailType {\n /**\n * String returned when user changes its email with confirm.\n */\n validation_code: string;\n}\n/**\n * SCUserEmailTokenType interface\n */\nexport interface SCUserEmailTokenType {\n /**\n * String returned when user changes its email with confirm.\n */\n is_valid: boolean;\n}\n\n/**\n * SCUserAvatarType interface\n */\nexport interface SCUserAvatarType {\n /**\n * String returned when user checks its current avatar.\n */\n avatar: string;\n}\n\n/**\n * SCUserPermissionType interface\n */\n\nexport interface SCUserPermissionType {\n /**\n * If user can upload video when creating a post.\n */\n upload_video: boolean;\n /**\n * If user can create a contribute\n */\n create_contribute: boolean;\n /**\n * If user can add a poll when creating a contribute\n */\n create_poll: boolean;\n /**\n * If user can locate a contribute\n */\n locate_post: boolean;\n /**\n * If user can create a post\n */\n create_post: boolean;\n /**\n * If user can add categories when creating a post\n */\n create_post_with_category: boolean;\n /**\n * If user can follow users\n */\n follow_user: boolean;\n /**\n * If user can request a connection\n */\n request_connection: boolean;\n /**\n * If user can accept a connection\n */\n accept_connection: boolean;\n}\n\n/**\n * Interface SCUserFollowedStatusType\n */\nexport interface SCUserFollowedStatusType {\n /**\n * If the user il followed by the user specified by Id.\n */\n is_followed: boolean;\n}\n\n/**\n * Interface SCUserFollowerStatusType\n */\nexport interface SCUserFollowerStatusType {\n /**\n * If the user specified by Id is a follower.\n */\n is_follower: boolean;\n}\n\n/**\n * Interface SCUserConnectionStatusType\n */\nexport interface SCUserConnectionStatusType {\n /**\n * If the user specified by Id is a connection.\n */\n is_connection: boolean;\n}\n\n/**\n * Interface SCUserHiddenStatusType\n */\nexport interface SCUserHiddenStatusType {\n /**\n * If the user specified by Id is hidden.\n */\n is_hidden: boolean;\n}\n\n/**\n * Interface SCUserHiddenByStatusType\n */\nexport interface SCUserHiddenByStatusType {\n /**\n * If the user has been hidden by the user specified by Id.\n */\n is_hidden_by: boolean;\n}\n\n/**\n * Interface SCUserConnectionRequestType\n */\n\nexport interface SCUserConnectionRequestType {\n /**\n * The request id.\n */\n id: number;\n /**\n * The user who made the request.\n */\n from_user: SCUserType;\n /**\n * The user who received the request.\n */\n to_user: SCUserType;\n /**\n * Date-time of request creation.\n */\n created: Date | string;\n /**\n * Date-time of request rejection.\n */\n rejected: Date | string;\n /**\n * Date-time of request seen.\n */\n viewed: Date | string;\n}\n\n/**\n * Interface SCUserSocialAssociation\n */\n\nexport interface SCUserProviderAssociationType {\n /**\n * The user id of the association\n */\n user_id: number | string;\n /**\n * The provider of the social association\n */\n provider: string;\n /**\n * The external id of the user in the provider platform\n */\n ext_id: string;\n /**\n * Profile url of the user in the external provider\n */\n profile_url?: string;\n /**\n * An optional flag to indicate if the social association can be showed in the user profile.\n */\n show_in_profile?: boolean;\n /**\n * Optional json metadata\n */\n metadata?: any;\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 SCCustomMenuItemType,\n SCCustomMenuType,\n SCUserType,\n SCUserSettingsType,\n SCUserStatus,\n SCUserBlockedSettingsType,\n SCUserModerationType,\n SCUserScoreVariation,\n SCUserScoreType,\n SCUserReputationType,\n SCUserAutocompleteType,\n SCUserCounterType,\n SCUserChangeEmailType,\n SCUserAvatarType,\n SCUserPermissionType,\n SCUserFollowedStatusType,\n SCUserFollowerStatusType,\n SCUserConnectionStatusType,\n SCUserHiddenStatusType,\n SCUserHiddenByStatusType,\n SCUserConnectionRequestType,\n SCUserEmailTokenType,\n SCUserProviderAssociationType,\n SCMetadataTypeFieldType,\n SCMetadataType,\n SCTagType,\n SCCategoryType,\n SCCategoryAudienceType,\n SCCategoryFollowedStatusType,\n SCCategoryAutoFollowType,\n SCEmbedType,\n SCMediaType,\n SCChunkMediaType,\n SCContributionLocation,\n SCLocalityType,\n SCPollChoiceType,\n SCPollType,\n SCPollVoteType,\n SCFeedUnitType,\n SCFeedUnitActivityType,\n SCFeedObjectType,\n SCFeedPostType,\n SCFeedDiscussionType,\n SCFeedStatusType,\n SCFeedUnitActivityTypologyType,\n SCFeedTypologyType,\n SCFeedUnseenCountType,\n SCFeedObjectSuspendedStatusType,\n SCFeedObjectHideStatusType,\n SCFeedObjectFollowingStatusType,\n SCCommentsOrderBy,\n SCCommentType,\n SCPrivateMessageThreadType,\n SCPrivateMessageSnippetType,\n SCPrivateMessageStatusType,\n SCPrivateMessageFileType,\n SCMessageFileType,\n SCPrivateMessageUploadMediaType,\n SCPrivateMessageUploadThumbnailType,\n SCPrivateMessageUploadMediaChunkType,\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 SCNotificationUnseenCountType,\n SCNotificationContributionType,\n SCIncubatorType,\n SCIncubatorSubscriptionType,\n SCIncubatorStatusType,\n SCInviteType,\n SCNotificationIncubatorType,\n SCNotificationTopicType,\n SCPrizeType,\n SCPrizeUserType,\n SCPrizeUserStatusType,\n SCPromoType,\n SCUserLoyaltyPointsType,\n SCWebhookEndpointType,\n SCWebhookEndpointAttemptType,\n SCWebhookEndpointSecretType,\n SCWebhookEventsType,\n SCVoteType,\n SCFlagType,\n SCFlagTypeEnum,\n SCFlagModerationStatusType,\n SCCustomPageTypeEnum,\n SCCustomPageType,\n SCDataPortabilityType,\n SCPreferenceSection,\n SCPreferenceName,\n SCPreferenceType,\n SCFeatureName,\n SCFeatureType,\n SSOSignInType,\n SSOSignUpType,\n SCLegalPagePoliciesType,\n SCLegalPageType,\n SCLegalPageAckType,\n SCContributionInsightCountersType,\n SCContributionInsightType,\n SCEmbedInsightType,\n SCEmbedInsightCountersType,\n SCUsersInsightType,\n SCUsersInsightCountersType,\n SCFlaggedContributionType,\n SCContributionType,\n SCContributionStatus,\n SCContributeStatusType,\n SCPlatformType,\n SCAvatarType,\n SCReactionType,\n SCSuggestionType,\n SuggestionType,\n SCConnectionStatus\n} from './types';\n\n/**\n * List all exports\n */\nexport {\n SCBroadcastMessageBannerType,\n SCBannerType,\n SCBroadcastMessageType,\n SCCustomAdvPosition,\n SCCustomAdvType,\n SCCustomMenuItemType,\n SCCustomMenuType,\n SCAuthTokenType,\n SCUserType,\n SCUserSettingsType,\n SCUserStatus,\n SCUserBlockedSettingsType,\n SCUserModerationType,\n SCUserScoreVariation,\n SCUserScoreType,\n SCUserReputationType,\n SCUserAutocompleteType,\n SCUserCounterType,\n SCUserAvatarType,\n SCUserChangeEmailType,\n SCUserPermissionType,\n SCUserFollowedStatusType,\n SCUserFollowerStatusType,\n SCUserConnectionStatusType,\n SCUserHiddenStatusType,\n SCUserHiddenByStatusType,\n SCUserConnectionRequestType,\n SCUserEmailTokenType,\n SCUserProviderAssociationType,\n SCMetadataTypeFieldType,\n SCMetadataType,\n SCTagType,\n SCCategoryType,\n SCCategoryAudienceType,\n SCCategoryFollowedStatusType,\n SCCategoryAutoFollowType,\n SCEmbedType,\n SCMediaType,\n SCChunkMediaType,\n SCContributionLocation,\n SCLocalityType,\n SCPollChoiceType,\n SCPollType,\n SCPollVoteType,\n SCFeedUnitType,\n SCFeedUnitActivityType,\n SCFeedObjectType,\n SCFeedPostType,\n SCFeedDiscussionType,\n SCFeedStatusType,\n SCFeedUnitActivityTypologyType,\n SCFeedTypologyType,\n SCFeedUnseenCountType,\n SCFeedObjectSuspendedStatusType,\n SCFeedObjectHideStatusType,\n SCFeedObjectFollowingStatusType,\n SCCommentsOrderBy,\n SCCommentType,\n SCPrivateMessageThreadType,\n SCPrivateMessageSnippetType,\n SCPrivateMessageStatusType,\n SCPrivateMessageFileType,\n SCMessageFileType,\n SCPrivateMessageUploadMediaType,\n SCPrivateMessageUploadThumbnailType,\n SCPrivateMessageUploadMediaChunkType,\n SCPromoType,\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 SCNotificationContributionType,\n SCIncubatorType,\n SCIncubatorSubscriptionType,\n SCIncubatorStatusType,\n SCInviteType,\n SCNotificationIncubatorType,\n SCNotificationUnseenCountType,\n SCPrizeType,\n SCPrizeUserType,\n SCPrizeUserStatusType,\n SCUserLoyaltyPointsType,\n SCWebhookEndpointType,\n SCWebhookEndpointAttemptType,\n SCWebhookEndpointSecretType,\n SCWebhookEventsType,\n SCVoteType,\n SCFlagType,\n SCFlagTypeEnum,\n SCFlagModerationStatusType,\n SCCustomPageTypeEnum,\n SCCustomPageType,\n SCDataPortabilityType,\n SCPreferenceSection,\n SCPreferenceName,\n SCPreferenceType,\n SCFeatureName,\n SCFeatureType,\n SSOSignInType,\n SSOSignUpType,\n SCLegalPagePoliciesType,\n SCLegalPageType,\n SCLegalPageAckType,\n SCContributionInsightCountersType,\n SCContributionInsightType,\n SCEmbedInsightType,\n SCEmbedInsightCountersType,\n SCUsersInsightType,\n SCUsersInsightCountersType,\n SCFlaggedContributionType,\n SCContributionType,\n SCContributeStatusType,\n SCContributionStatus,\n SCPlatformType,\n SCAvatarType,\n SCReactionType,\n SCSuggestionType,\n SuggestionType,\n SCConnectionStatus\n};\n"],"names":["root","factory","exports","module","define","amd","self","SCBroadcastMessageBannerType","SCCategoryAutoFollowType","SCCommentsOrderBy","SCContributionType","SCContributeStatusType","SCCustomAdvPosition","SCCustomPageTypeEnum","SCFeatureName","SCFeedTypologyType","SCFeedUnitActivityTypologyType","SCFlagTypeEnum","SCFlagModerationStatusType","SCConnectionStatus","SCIncubatorStatusType","SCLegalPagePoliciesType","SCMetadataTypeFieldType","SCNotificationTypologyType","SCNotificationTopicType","SCPreferenceSection","SCPreferenceName","SCPrivateMessageStatusType","SCMessageFileType","SCPrizeUserStatusType","SuggestionType","SCUserStatus","SCUserReputationType","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"file":"types.js","mappings":";CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,GAAIH,GACe,iBAAZC,QACdA,QAA4B,mBAAID,IAEhCD,EAAyB,mBAAIC,GAC9B,CATD,CASGK,MAAM,IACT,gGCVA,IAGYC,wDAA4B,0CAA5BA,GAAAA,EAA4B,mBAA5BA,EAA4B,oCAA5BA,IAA4B,+BAA5BA,EAA4B,kBCDxC,IAuIYC,oDAAwB,sCAAxBA,GAAAA,EAAwB,YAAxBA,EAAwB,kBAAxBA,EAAwB,iBAAxBA,IAAwB,2BAAxBA,EAAwB,kBCvBpC,IA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qBAArBA,EAAAA,EAAqB,qBAArBA,EAAAA,EAAqB,eAMjC,CANYA,IAAqB,wBAArBA,EAAqB,yGC1FjC,IAMYC,0CAKZ,4BALYA,GAAAA,EAAc,YAAdA,EAAc,oBAK1B,CALYA,IAAc,iBAAdA,EAAc,+CCA1B,IAGYC,EAgVAC,+DAhVY,0BAAZD,GAAAA,EAAY,aAAZA,EAAY,YAAZA,EAAY,YAAZA,EAAY,kBAAZA,IAAY,eAAZA,EAAY,KAsWxB,kCAtBYC,GAAAA,EAAAA,EAAoB,qCAApBA,EAAAA,EAAoB,kDAApBA,EAAAA,EAAoB,wFAApBA,EAAAA,EAAoB,0CAApBA,EAAAA,EAAoB,wEAApBA,EAAAA,EAAoB,0EAApBA,EAAAA,EAAoB,4CAApBA,EAAAA,EAAoB,wCAApBA,EAAAA,EAAoB,8CAApBA,EAAAA,EAAoB,wCAApBA,EAAAA,EAAoB,sDAApBA,EAAAA,EAAoB,sDAApBA,EAAAA,EAAoB,mEAApBA,EAAAA,EAAoB,+CAApBA,EAAAA,EAAoB,6EAApBA,EAAAA,EAAoB,+EAApBA,EAAAA,EAAoB,6CAApBA,EAAAA,EAAoB,yCAApBA,EAAAA,EAAoB,mDAsBhC,CAtBYA,IAAoB,uBAApBA,EAAoB,iECxV5BC,EAA2B,CAAC,EAGhC,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAalC,QAGrB,IAAIC,EAAS8B,EAAyBE,GAAY,CAGjDjC,QAAS,CAAC,GAOX,OAHAoC,EAAoBH,GAAUhC,EAAQA,EAAOD,QAASgC,GAG/C/B,EAAOD,OACf,8CCnBA,aAwIiB,60MtBjIjB","sources":["webpack://SelfCommunityTypes/webpack/universalModuleDefinition","webpack://SelfCommunityTypes/./src/types/broadcastMessage.ts","webpack://SelfCommunityTypes/./src/types/category.ts","webpack://SelfCommunityTypes/./src/types/comment.ts","webpack://SelfCommunityTypes/./src/types/contribution.ts","webpack://SelfCommunityTypes/./src/types/customAdv.ts","webpack://SelfCommunityTypes/./src/types/customPage.ts","webpack://SelfCommunityTypes/./src/types/feature.ts","webpack://SelfCommunityTypes/./src/types/feed.ts","webpack://SelfCommunityTypes/./src/types/flag.ts","webpack://SelfCommunityTypes/./src/types/friendship.ts","webpack://SelfCommunityTypes/./src/types/incubator.ts","webpack://SelfCommunityTypes/./src/types/index.ts","webpack://SelfCommunityTypes/./src/types/legalPage.ts","webpack://SelfCommunityTypes/./src/types/metadata.ts","webpack://SelfCommunityTypes/./src/types/notification.ts","webpack://SelfCommunityTypes/./src/types/preference.ts","webpack://SelfCommunityTypes/./src/types/privateMessage.ts","webpack://SelfCommunityTypes/./src/types/prize.ts","webpack://SelfCommunityTypes/./src/types/suggestion.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 {SCTagType} from './tag';\n\n/**\n * Interface SCCategoryType.\n * Category Schema.\n */\nexport interface SCCategoryType {\n /**\n * The ID of the category.\n */\n id: number;\n\n /**\n * The manual ordering number of the category.\n */\n order?: number;\n\n /**\n * The name of the category.\n */\n name: string;\n\n /**\n * The synonyms/aliases of the category.\n */\n name_synonyms?: string;\n\n /**\n * The slug of the category.\n */\n slug?: string;\n\n /**\n * The slogan of the category.\n */\n slogan?: string;\n\n /**\n * The category's html text.\n */\n html_info?: string;\n\n /**\n * The category's html meta tag.\n */\n seo_title?: string;\n\n /**\n * The description for category's html meta tag.\n */\n seo_description?: string;\n\n /**\n * The category's auto follow behaviour.\n */\n auto_follow?: string;\n\n /**\n * The category status.\n */\n active?: boolean;\n\n /**\n * The category status.\n */\n deleted?: boolean;\n\n /**\n * The category's image with min size.\n */\n image_original?: string;\n\n /**\n * The category's auto generated bigger size.\n */\n image_bigger?: string;\n\n /**\n * The category's auto generated big size.\n */\n image_big?: string;\n\n /**\n * The category's auto generated medium size.\n */\n image_medium?: string;\n\n /**\n * The category's auto generated small size.\n */\n image_small?: string;\n\n /**\n * The landscape format image for category hub.\n */\n emotional_image_original?: string;\n\n /**\n * The css background-position.\n */\n emotional_image_position?: number;\n\n /**\n * The last modify (datetime)\n */\n lastmod_datetime?: string;\n\n /**\n * The order of the category feed.\n */\n stream_order_by?: string;\n\n /**\n * The category's tags.\n */\n tags?: Array<SCTagType>;\n\n /**\n * Followers counter for the category.\n */\n followers_counter?: number;\n\n /**\n * If the category is followed by the authenticated user\n */\n followed?: boolean;\n}\n\nexport interface SCCategoryAudienceType {\n category_audience: number;\n connections_audience: number;\n}\n\nexport interface SCCategoryFollowedStatusType {\n is_followed: boolean;\n}\n\nexport enum SCCategoryAutoFollowType {\n NONE = 'none',\n DEFAULT = 'default',\n FORCED = 'forced'\n}\n","import {SCUserType} from './user';\nimport {SCReactionType} from './reaction';\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 * Reactions number and objs\n */\n reactions_count: [];\n\n /**\n * Reaction obj\n */\n reaction: SCReactionType;\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","import {SCFlagModerationStatusType, SCFlagTypeEnum} from './flag';\nimport {SCUserType} from './user';\nimport {SCFeedObjectType} from './feed';\nimport {SCCommentType} from './comment';\n\n/**\n * SCFlaggedContributionType\n */\nexport interface SCFlaggedContributionType {\n /**\n * The feed obj type(discussion, post, status)\n */\n contribution_type: SCContributionType;\n /**\n * The feed obj\n */\n contribution: SCFeedObjectType | SCCommentType;\n /**\n * Date time of the last flag\n */\n last_flagged_at: Date | string;\n /**\n * Moderation status\n */\n moderation_status: SCFlagModerationStatusType;\n /**\n * Cause of the moderation\n */\n moderation_type: SCFlagTypeEnum;\n /**\n * The moderator\n */\n moderation_by: SCUserType;\n /**\n * Date time of the moderation\n */\n moderation_at: Date | string;\n}\n\n/**\n * Contribute types\n */\nexport enum SCContributionType {\n DISCUSSION = 'discussion',\n POST = 'post',\n STATUS = 'status',\n COMMENT = 'comment'\n}\n\n/**\n *\n */\nexport interface SCContributionStatus {\n status: SCContributeStatusType;\n flag_type: SCFlagTypeEnum;\n flag_type_description: string;\n}\n\n/**\n * Contribute status types\n */\nexport enum SCContributeStatusType {\n OPEN = 'open',\n IGNORED = 'ignored',\n HIDDEN = 'hidden',\n DELETED = 'deleted'\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","export enum SCCustomPageTypeEnum {\n NORMAL = 'normal',\n LEGAL = 'legal'\n}\n\n/**\n * SCCustomPageType interface\n */\nexport interface SCCustomPageType {\n id?: number;\n type?: SCCustomPageTypeEnum;\n slug?: string;\n title: string;\n html_summary?: string | null;\n html_body?: string | null;\n valid_from: Date | string;\n valid_to: Date | string;\n created_at?: Date | string;\n updated_at?: Date | string | null;\n active?: boolean;\n created_by?: number;\n updated_by?: number;\n}\n","export enum SCFeatureName {\n INTERESTS = 'interests',\n CUSTOMIZE = 'customize',\n ADDONS = 'addons',\n DOMAIN = 'domain',\n SOCIAL_PROVIDERS = 'social_providers',\n COMMUNITY_SUBSCRIPTION = 'community_subscription',\n SEO = 'seo',\n ADVERTISING = 'advertising',\n GOOGLE_CLOUD_API = 'google_cloud_api',\n HOTJAR = 'hotjar',\n SQREEN = 'sqreen',\n INCUBATORS = 'incubators',\n CMS = 'cms',\n LEGAL_PAGES = 'legal_pages',\n SCORING = 'scoring',\n USER_ROLES = 'user_roles',\n EMAIL_MANAGER = 'email_manager',\n LOYALTY = 'loyalty',\n BROADCAST = 'broadcast',\n INVITATION = 'invitation',\n APP_SETTINGS = 'app_settings',\n MODERATION_FLAGS = 'moderation_flags',\n MODERATION_CONTENTS = 'moderation_contents',\n MODERATION_USERS_BLOCKED = 'moderation_users_blocked',\n MODERATION_USERS = 'moderation_users',\n DATA_PROVISIONING_DASHBOARD = 'data_provisioning_dashboard',\n DATA_PROVISIONING_USERS = 'data_provisioning_users',\n DATA_PROVISIONING_CONTENTS = 'data_provisioning_contents',\n DATA_PROVISIONING_INTERESTS = 'data_provisioning_interests',\n DATA_PROVISIONING_POLLS = 'data_provisioning_polls',\n DATA_PROVISIONING_REPORTS = 'data_provisioning_reports',\n REGISTRATION_ALERTS = 'registration_alerts',\n SOCIAL_SHARE = 'social_share',\n FEED_SETTINGS = 'stream_settings',\n TAGGING = 'tagging',\n API_V2 = 'api_v2',\n WEBHOOK = 'webhook',\n HEADLESS = 'headless',\n CUSTOMIZE_HEADLESS = 'customize_headless',\n SYSTEM_PAGES = 'system_pages',\n REACTION = 'reaction',\n PRIVATE_MESSAGING = 'private_messaging'\n}\n\n/**\n * SCFeatureType interface\n */\n\nexport interface SCFeatureType {\n /**\n * The feature ID.\n */\n id?: number;\n /**\n * The name of the feature.\n */\n name?: SCFeatureName;\n /**\n * Is this feature enabled?\n */\n enabled?: boolean;\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';\nimport {SCReactionType} from './reaction';\nimport {SCContributionType} from './contribution';\n\n/**\n * Typology of feed\n */\nexport enum SCFeedTypologyType {\n HOME = 'home',\n EXPLORE = 'explore'\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: Exclude<SCContributionType, SCContributionType.COMMENT>;\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 * Reaction obj\n */\n reaction: SCReactionType;\n /**\n * Reactions number and objs\n */\n reactions_count: [];\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: Exclude<SCContributionType, SCContributionType.COMMENT>;\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\n/**\n * SCFeedUnseenCountType interface\n */\n\nexport interface SCFeedUnseenCountType {\n count_by_category?: SCCountByCategoryType[];\n total: number;\n}\n\nexport interface SCCountByCategoryType {\n id: number;\n count: number;\n}\n\n/**\n * Feed Object suspended status\n */\nexport interface SCFeedObjectSuspendedStatusType {\n suspended: boolean;\n}\n\n/**\n * Feed Object following status\n */\nexport interface SCFeedObjectFollowingStatusType {\n following: boolean;\n}\n/**\n * Feed Object hide status\n */\nexport interface SCFeedObjectHideStatusType {\n hidden: boolean;\n}\n","import {SCUserType} from './user';\n\n/**\n * SCFlagType interface\n */\nexport interface SCFlagType {\n /**\n * The user who has been flagged\n */\n user?: SCUserType;\n /**\n * Date time of flag.\n */\n added_at?: Date | string;\n /**\n * Type of flag\n */\n flag_type: SCFlagTypeEnum;\n /**\n * Flag description\n */\n flag_type_description?: string;\n}\n\n/**\n * Typology of flags\n */\nexport enum SCFlagTypeEnum {\n SPAM = 0,\n AGGRESSIVE = 1,\n VULGAR = 2,\n POOR = 3,\n OFFTOPIC = 4\n}\n\nexport enum SCFlagModerationStatusType {\n IGNORED = 'ignored',\n DELETED = 'deleted',\n HIDDEN = 'hidden'\n}\n","/**\n * Connection status\n */\nexport enum SCConnectionStatus {\n CONNECTED = 'connected',\n CONNECTION_REQUEST_SENT = 'sent_connection_request',\n CONNECTION_REQUEST_RECEIVED = 'received_connection_request'\n}\n","import {SCUserType} from './user';\nimport {SCCategoryType} from './category';\n\n/**\n * Interface SCIncubatorType.\n * Incubator Schema.\n */\nexport interface SCIncubatorType {\n /**\n * The ID of the incubator.\n */\n id: number;\n\n /**\n * The name of the incubator.\n */\n name: string;\n\n /**\n * The slug of the incubator.\n */\n slug?: string;\n\n /**\n * The slogan of the incubator.\n */\n slogan?: string;\n\n /**\n * Incubator status\n */\n status: number;\n\n /**\n * Subscribers count\n */\n subscribers_count: number;\n\n /**\n * Subscribers threshold\n */\n subscribers_threshold: number;\n\n /**\n * User who proposed the incubator\n */\n user: SCUserType;\n\n /**\n * Approved incubator\n */\n approved_category?: SCCategoryType;\n\n /**\n * Added at\n */\n added_at: Date;\n /**\n * If the logged user has subscribed to the incubator\n */\n subscribed: boolean;\n}\n\n/**\n * SCIncubatorSubscriptionType inerface\n */\nexport interface SCIncubatorSubscriptionType {\n subscribed: boolean;\n}\n\n/**\n * SCIncubatorStatusType enum\n */\n\nexport enum SCIncubatorStatusType {\n PENDING = 0,\n PROPOSAL = 1,\n APPROVED = 2,\n IGNORED = 3\n}\n","import {SCAuthTokenType} from './auth';\nimport {SCBannerType, SCBroadcastMessageBannerType, SCBroadcastMessageType} from './broadcastMessage';\nimport {SCCustomAdvPosition, SCCustomAdvType} from './customAdv';\nimport {SCCustomMenuItemType, SCCustomMenuType} from './customMenu';\nimport {\n SCUserAutocompleteType,\n SCUserAvatarType,\n SCUserBlockedSettingsType,\n SCUserChangeEmailType,\n SCUserConnectionRequestType,\n SCUserConnectionStatusType,\n SCUserCounterType,\n SCUserEmailTokenType,\n SCUserFollowedStatusType,\n SCUserFollowerStatusType,\n SCUserHiddenByStatusType,\n SCUserHiddenStatusType,\n SCUserModerationType,\n SCUserPermissionType,\n SCUserReputationType,\n SCUserScoreType,\n SCUserScoreVariation,\n SCUserSettingsType,\n SCUserStatus,\n SCUserType,\n SCUserProviderAssociationType\n} from './user';\nimport {SCTagType} from './tag';\nimport {SCCategoryAudienceType, SCCategoryFollowedStatusType, SCCategoryType, SCCategoryAutoFollowType} from './category';\nimport {SCEmbedType} from './embed';\nimport {SCChunkMediaType, SCMediaType} from './media';\nimport {SCMetadataTypeFieldType, SCMetadataType} from './metadata';\nimport {SCContributionLocation, SCLocalityType} from './location';\nimport {SCPollChoiceType, SCPollType, SCPollVoteType} from './poll';\nimport {SCCommentsOrderBy, SCCommentType} from './comment';\nimport {\n SCMessageFileType,\n SCPrivateMessageFileType,\n SCPrivateMessageStatusType,\n SCPrivateMessageThreadType,\n SCPrivateMessageSnippetType,\n SCPrivateMessageUploadMediaChunkType,\n SCPrivateMessageUploadMediaType,\n SCPrivateMessageUploadThumbnailType\n} from './privateMessage';\nimport {SCIncubatorStatusType, SCIncubatorSubscriptionType, SCIncubatorType} from './incubator';\nimport {SCCustomNotificationType} from './customNotification';\nimport {SCPrizeType, SCPrizeUserStatusType, SCPrizeUserType, SCUserLoyaltyPointsType} from './prize';\nimport {\n SCCountByCategoryType,\n SCFeedDiscussionType,\n SCFeedObjectFollowingStatusType,\n SCFeedObjectHideStatusType,\n SCFeedObjectSuspendedStatusType,\n SCFeedObjectType,\n SCFeedPostType,\n SCFeedStatusType,\n SCFeedTypologyType,\n SCFeedUnitActivityType,\n SCFeedUnitActivityTypologyType,\n SCFeedUnitType,\n SCFeedUnseenCountType\n} from './feed';\nimport {\n SCNotificationAggregatedType,\n SCNotificationBlockedUserType,\n SCNotificationCollapsedForType,\n SCNotificationCommentType,\n SCNotificationConnectionAcceptType,\n SCNotificationConnectionRequestType,\n SCNotificationContributionType,\n SCNotificationCustomNotificationType,\n SCNotificationDeletedForType,\n SCNotificationFollowType,\n SCNotificationIncubatorType,\n SCNotificationKindlyNoticeType,\n SCNotificationMentionType,\n SCNotificationPrivateMessageType,\n SCNotificationTopicType,\n SCNotificationType,\n SCNotificationTypologyType,\n SCNotificationUnBlockedUserType,\n SCNotificationUnDeletedForType,\n SCNotificationUnseenCountType,\n SCNotificationUserFollowType,\n SCNotificationVoteUpType\n} from './notification';\nimport {SCWebhookEndpointAttemptType, SCWebhookEndpointSecretType, SCWebhookEndpointType, SCWebhookEventsType} from './webhook';\nimport {SCVoteType} from './vote';\nimport {SCFlagModerationStatusType, SCFlagType, SCFlagTypeEnum} from './flag';\nimport {SCCustomPageTypeEnum, SCCustomPageType} from './customPage';\nimport {SCDataPortabilityType} from './dataPortability';\nimport {SCPreferenceSection, SCPreferenceName, SCPreferenceType} from './preference';\nimport {SCFeatureName, SCFeatureType} from './feature';\nimport {SSOSignInType, SSOSignUpType} from './sso';\nimport {SCLegalPagePoliciesType, SCLegalPageAckType, SCLegalPageType} from './legalPage';\nimport {\n SCContributionInsightCountersType,\n SCContributionInsightType,\n SCEmbedInsightCountersType,\n SCEmbedInsightType,\n SCUsersInsightCountersType,\n SCUsersInsightType\n} from './insight';\nimport {SCInviteType} from './invite';\nimport {SCPromoType} from './promo';\nimport {SCContributeStatusType, SCContributionStatus, SCContributionType, SCFlaggedContributionType} from './contribution';\nimport {SCPlatformType} from './platform';\nimport {SCAvatarType} from './avatar';\nimport {SCReactionType} from './reaction';\nimport {SCSuggestionType, SuggestionType} from './suggestion';\nimport {SCConnectionStatus} from './friendship';\n/**\n * Exports all types\n */\nexport {\n SCBannerType,\n SCBroadcastMessageBannerType,\n SCBroadcastMessageType,\n SCAuthTokenType,\n SCUserType,\n SCUserSettingsType,\n SCUserStatus,\n SCUserBlockedSettingsType,\n SCUserModerationType,\n SCUserScoreVariation,\n SCUserScoreType,\n SCUserReputationType,\n SCUserAutocompleteType,\n SCUserCounterType,\n SCUserChangeEmailType,\n SCUserAvatarType,\n SCUserPermissionType,\n SCUserFollowedStatusType,\n SCUserFollowerStatusType,\n SCUserConnectionStatusType,\n SCUserHiddenStatusType,\n SCUserHiddenByStatusType,\n SCUserConnectionRequestType,\n SCUserEmailTokenType,\n SCUserProviderAssociationType,\n SCMetadataTypeFieldType,\n SCMetadataType,\n SCTagType,\n SCCategoryType,\n SCCategoryAutoFollowType,\n SCCategoryAudienceType,\n SCCategoryFollowedStatusType,\n SCCustomAdvPosition,\n SCCustomAdvType,\n SCCustomMenuItemType,\n SCCustomMenuType,\n SCEmbedType,\n SCMediaType,\n SCChunkMediaType,\n SCContributionLocation,\n SCLocalityType,\n SCPollChoiceType,\n SCPollType,\n SCPollVoteType,\n SCFeedUnitType,\n SCFeedUnitActivityType,\n SCFeedObjectType,\n SCFeedPostType,\n SCFeedDiscussionType,\n SCFeedStatusType,\n SCFeedUnitActivityTypologyType,\n SCFeedTypologyType,\n SCFeedUnseenCountType,\n SCFeedObjectSuspendedStatusType,\n SCFeedObjectHideStatusType,\n SCFeedObjectFollowingStatusType,\n SCCountByCategoryType,\n SCCommentsOrderBy,\n SCCommentType,\n SCPrivateMessageThreadType,\n SCPrivateMessageSnippetType,\n SCPrivateMessageStatusType,\n SCPrivateMessageFileType,\n SCMessageFileType,\n SCPrivateMessageUploadMediaType,\n SCPrivateMessageUploadThumbnailType,\n SCPrivateMessageUploadMediaChunkType,\n SCPromoType,\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 SCNotificationUnseenCountType,\n SCIncubatorType,\n SCIncubatorSubscriptionType,\n SCIncubatorStatusType,\n SCInviteType,\n SCNotificationIncubatorType,\n SCNotificationContributionType,\n SCPrizeType,\n SCPrizeUserType,\n SCPrizeUserStatusType,\n SCUserLoyaltyPointsType,\n SCWebhookEndpointType,\n SCWebhookEndpointAttemptType,\n SCWebhookEndpointSecretType,\n SCWebhookEventsType,\n SCVoteType,\n SCFlagType,\n SCFlagTypeEnum,\n SCFlagModerationStatusType,\n SCCustomPageTypeEnum,\n SCCustomPageType,\n SCDataPortabilityType,\n SCPreferenceSection,\n SCPreferenceName,\n SCPreferenceType,\n SCFeatureName,\n SCFeatureType,\n SSOSignInType,\n SSOSignUpType,\n SCLegalPageType,\n SCLegalPagePoliciesType,\n SCLegalPageAckType,\n SCContributionInsightCountersType,\n SCContributionInsightType,\n SCEmbedInsightType,\n SCEmbedInsightCountersType,\n SCUsersInsightType,\n SCUsersInsightCountersType,\n SCFlaggedContributionType,\n SCContributionType,\n SCContributionStatus,\n SCContributeStatusType,\n SCPlatformType,\n SCAvatarType,\n SCReactionType,\n SCSuggestionType,\n SuggestionType,\n SCConnectionStatus\n};\n","export enum SCLegalPagePoliciesType {\n TERMS_AND_CONDITIONS = 'tec',\n PRIVACY = 'privacy'\n}\n\n/**\n * SCLegalPageType interface\n */\nexport interface SCLegalPageType {\n /**\n * Unique integer value identifying this page\n */\n id: number;\n /**\n * The name and version code for this page\n */\n slug: string;\n /**\n * Page title\n */\n title: string;\n /**\n * \tA short html summary\n */\n html_summary: string;\n /**\n * \tThe full html body for this page\n */\n html_body: string;\n /**\n * This page is valid from this date\n */\n valid_from: Date | string;\n /**\n * This page is valid till this date\n */\n valid_to: Date | string;\n /**\n * \tdatetime of creation\n */\n created_at: Date | string;\n /**\n * The id of the creator of this page\n */\n created_by: number;\n /**\n * Is this page active\n */\n active?: boolean;\n /**\n * User ack\n */\n ack?: SCLegalPageAckType;\n}\n\n/**\n * SCLegalPageAckType interface\n */\n\nexport interface SCLegalPageAckType {\n /**\n * Unique integer value identifying this ack\n */\n id: number;\n /**\n * This policy has been accepted in this datetime\n */\n accepted_at: Date | string;\n /**\n * \tThis policy has been refused in this datetime\n */\n not_accepted_at: Date | string;\n /**\n * The id of the policy page\n */\n custom_page: number;\n /**\n * \tThe id of the user\n */\n user: number;\n}\n","/**\n * Metadata type field\n */\nexport enum SCMetadataTypeFieldType {\n STRING = 'string',\n EMAIL = 'email',\n URL = 'url',\n ENUM = 'enum',\n PHONE_NUMBER = 'phone_number',\n CHECKBOX = 'checkbox'\n}\n\n/**\n * Metadata type used to render custom fields\n */\nexport interface SCMetadataType {\n /**\n * The label of the metadata\n */\n label: string;\n /**\n * Is the metadata mandatory for the user\n */\n mandatory?: boolean;\n /**\n * Is the metadata visible in signup form\n */\n in_signup?: boolean;\n /**\n * Is metadata visible in exports\n */\n in_export?: boolean;\n /**\n * Metadata type\n */\n type?: SCMetadataTypeFieldType;\n /**\n * Options for the enum type\n */\n type_options?: string[];\n}\n","import {SCCommentType, SCFeedDiscussionType, SCFeedPostType, SCFeedStatusType, SCUserType} from '../index';\nimport {SCPrivateMessageThreadType, SCPrivateMessageSnippetType} 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_request',\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 CONTRIBUTION = 'contribution'\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: SCPrivateMessageThreadType;\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/**\n * Interface SCNotificationUnseenCountType\n */\nexport interface SCNotificationUnseenCountType {\n count: number;\n}\n\n/**\n * Interface SCNotificationContributionType.\n * Contribution Notification Schema.\n */\nexport interface SCNotificationContributionType extends SCNotificationType {\n /**\n * If the contribution type is discussion\n */\n discussion?: SCFeedDiscussionType;\n\n /**\n * If the contribution type is post\n */\n post?: SCFeedPostType;\n\n /**\n * If the contribution type is status\n */\n status?: SCFeedStatusType;\n}\n","/**\n * Preferences section\n */\nexport enum SCPreferenceSection {\n TEXT = 'text',\n STYLE = 'style',\n LOGO = 'logo',\n COLORS = 'colors',\n COVERS = 'covers',\n IMAGES = 'images',\n STAFF = 'staff',\n LOYALTY = 'loyalty',\n ADDONS = 'addons',\n ADVERTISING = 'advertising',\n CONFIGURATIONS = 'configurations',\n PROVIDERS = 'providers',\n WEBMASTER = 'webmaster'\n}\n/**\n * Preferences name\n */\nexport enum SCPreferenceName {\n APPLICATION_NAME = 'application_name',\n APPLICATION_SLOGAN1 = 'application_slogan1',\n APPLICATION_SLOGAN2 = 'application_slogan2',\n APPLICATION_COPYRIGHT = 'application_copyright',\n FONT_FAMILY = 'font_family',\n NAVBAR_LOGO = 'navbar_logo',\n NAVBAR_LOGO_MOBILE = 'navbar_logo_mobile',\n COLORBACK = 'colorback',\n COLORPRIMARY = 'colorprimary',\n COLORSECONDARY = 'colorsecondary',\n NAVBARBACK = 'navbarback',\n SUBMENUBACK = 'submenuback',\n COLORFONT = 'font_color',\n COVER_1_HP_M1920 = 'cover_1_hp_m1920',\n COVER_2_HP_M1920 = 'cover_2_hp_m1920',\n COVER_3_HP_M1920 = 'cover_3_hp_m1920',\n COVER_4_HP_M1920 = 'cover_4_hp_m1920',\n COVERS_VISIBILITY = 'covers_visibility',\n APP_ICON = 'app_icon',\n USER_DEFAULT_COVER = 'user_default_cover',\n ERROR_404 = 'error_404',\n ERROR_503 = 'error_503',\n ERRORPAGES_IMAGE = 'errorpages_image',\n STAFF_BADGE_ICON = 'staff_badge_icon',\n STAFF_BADGE_LABEL = 'staff_badge_label',\n PRIZE_A_IMAGE = 'prize_a_image',\n PRIZE_B_IMAGE = 'prize_b_image',\n PRIZE_C_IMAGE = 'prize_c_image',\n POINTS_MAKE_DISCUSSION = 'points_make_discussion',\n POINTS_MAKE_POST = 'points_make_post',\n POINTS_MAKE_COMMENT = 'points_make_comment',\n POINTS_RECEIVE_VOTE = 'points_receive_vote',\n POINTS_CONNECTION_OR_FOLLOWER = 'points_connection_or_follower',\n POINTS_SOCIAL_SHARE = 'points_social_share',\n POINTS_APP_USED = 'points_app_used',\n POINTS_DAILY_VISIT = 'points_daily_visit',\n AFFINIDY_ENABLED = 'affinity_enabled',\n CLOSED_COMMUNITY = 'closed_community',\n INCUBATOR_ENABLED = 'incubator_enabled',\n INCUBATOR_SUBSCRIBERS = 'incubator_subscribers',\n LOYALTY_POINTS_COLLECTION = 'loyalty_points_collection',\n POLLS_ENABLED = 'polls_enabled',\n REGISTRATION_WIZARD = 'registration_wizard',\n VIDEO_UPLOAD_ENABLED = 'video_upload_enabled',\n VIMEO_TOKEN_UPLOAD = 'vimeo_token_upload',\n VIMEO_TOKEN_DELETE = 'vimeo_token_delete',\n VIDEO_UPLOAD_ONLY_FOR_STAFF = 'video_upload_only_for_staff',\n POST_GEOLOCATION_ENABLED = 'post_geolocation_enabled',\n SHARE_POST_ON_FACEBOOK_ENABLED = 'share_post_on_facebook_enabled',\n SHARE_POST_ON_TWITTER_ENABLED = 'share_post_on_twitter_enabled',\n SHARE_POST_ON_LINKEDIN_ENABLED = 'share_post_on_linkedin_enabled',\n CUSTOM_ADV_ENABLED = 'custom_adv_enabled',\n CUSTOM_ADV_ONLY_FOR_ANONYMOUS_USERS_ENABLED = 'custom_adv_only_for_anonymous_users_enabled',\n FOLLOW_ENABLED = 'follow_enabled',\n EXPLORE_STREAM_ENABLED = 'explore_stream_enabled',\n EXPLORE_STREAM_ORDER_BY = 'explore_stream_order_by',\n HOME_STREAM_ORDER_BY = 'home_stream_order_by',\n MANUAL_CATEGORIES_ORDER_ENABLED = 'manual_categories_order_enabled',\n PEOPLE_SEARCH_ENABLED = 'people_search_enabled',\n POST_ONLY_STAFF_ENABLED = 'post_only_staff_enabled',\n STREAM_QUALITY = 'stream_quality',\n CONTENT_AVAILABILITY = 'content_availability',\n USERS_APPROVAL_ENABLED = 'users_approval_enabled',\n POST_TYPE_ENABLED = 'post_type_enabled',\n DISCUSSION_TYPE_ENABLED = 'discussion_type_enabled',\n STATUS_TYPE_ENABLED = 'status_type_enabled',\n URL_TEMPLATE_EMAIL_SETTINGS = 'url_template_email_settings',\n URL_TEMPLATE_EMAIL_UNSUBSCRIBE = 'url_template_email_unsubscribe',\n URL_TEMPLATE_PASSWORD_RECOVER = 'url_template_password_recover',\n URL_TEMPLATE_VERIFY_EMAIL = 'url_template_verify_email',\n URL_TEMPLATE_POST = 'url_template_post',\n URL_TEMPLATE_DISCUSSION = 'url_template_discussion',\n URL_TEMPLATE_STATUS = 'url_template_status',\n URL_TEMPLATE_COMMENT = 'url_template_comment',\n URL_TEMPLATE_CATEGORY = 'url_template_category',\n URL_TEMPLATE_CATEGORIES_LIST = 'url_template_categories_list',\n URL_TEMPLATE_USER_PROFILE = 'url_template_profile',\n URL_TEMPLATE_USER_PROFILE_SETTINGS = 'url_template_profile_settings',\n URL_TEMPLATE_NOTIFICATIONS = 'url_template_notifications',\n URL_TEMPLATE_USER_PRIVATE_MESSAGES = 'url_template_private_message',\n URL_TEMPLATE_INCUBATOR = 'url_template_incubator',\n USER_METADATA_DEFINITIONS = 'user_metadata_definition',\n TAG_MANAGER_CONTAINER_ID = 'tag_manager_container_id',\n GDPR_COOKIE_CONSENT_EXTERNAL_HTML = 'gdpr_cookie_consent_external_html',\n GDPR_SIGNUP_ACCEPT_HTML = 'gdpr_signup_accept_html',\n APP_URL_ON_APP_STORE = 'app_url_on_app_store',\n APP_URL_ON_GOOGLE_PLAY = 'app_url_on_google_play',\n FACEBOOK_SIGNIN_ENABLED = 'facebook_signin_enabled',\n FACEBOOK_APP_KEY = 'facebook_app_key',\n FACEBOOK_APP_SECRET = 'facebook_app_secret',\n LINKEDIN_SIGNIN_ENABLED = 'linkedin_signin_enabled',\n LINKEDIN_APP_KEY = 'linkedin_app_key',\n LINKEDIN_APP_SECRET = 'linkedin_app_secret',\n TWITTER_SIGNIN_ENABLED = 'twitter_signin_enabled',\n TWITTER_APP_KEY = 'twitter_app_key',\n TWITTER_APP_SECRET = 'twitter_app_secret',\n GOOGLE_GEOCODING_API_KEY = 'google_geocoding_api_key',\n GOOGLE_SIGNIN_ENABLED = 'google_signin_enabled',\n GOOGLE_APP_KEY = 'google_app_key',\n GOOGLE_APP_SECRET = 'google_app_secret',\n WEB_PUSH_PUBLIC_KEY = 'web_push_public_key',\n WEB_PUSH_ENABLED = 'web_push_enabled',\n META_ROBOTS = 'meta_robots',\n META_TITLE_HOME_NOT_LOGGED = 'meta_title_home_not_logged',\n META_DESCRIPTION = 'meta_description'\n}\n\n/**\n * SCPreferenceType interface\n */\nexport interface SCPreferenceType {\n /**\n * Unique integer value identifying this dynamic preference\n */\n id?: number;\n /**\n * Grouping name\n */\n section?: SCPreferenceSection;\n /**\n * \tUnique name identifying this dynamic preference\n */\n name?: SCPreferenceName;\n /**\n * \tThe value of the dynamic preference (can be an integer or a string)\n */\n value: string;\n}\n","/**\n * Interface SCPrivateMessageThreadType.\n * Thread Private Message Schema.\n */\nimport {SCUserType} from './user';\n\nexport interface SCPrivateMessageThreadType {\n /**\n * Id of the message\n */\n id: number;\n\n /**\n * Sender User\n */\n sender: SCUserType;\n\n /**\n *Receiver User\n */\n receiver: SCUserType;\n\n /**\n * Message content\n */\n message: string;\n\n /**\n * Send date time\n */\n created_at: Date | string;\n\n /**\n * Message status: created, deleted or hidden message\n */\n status: string;\n\n /**\n * file\n */\n file?: SCPrivateMessageFileType;\n}\n/**\n * Interface SCPrivateMessageSnippetType.\n * Snippet Private Message Schema.\n */\nexport interface SCPrivateMessageSnippetType {\n /**\n * Id of the message\n */\n id: number;\n\n /**\n * Headline\n */\n headline: string;\n /**\n * Message\n */\n message: string;\n\n /**\n * Sender User\n */\n sender: SCUserType;\n /**\n *Receiver User\n */\n receiver: SCUserType;\n\n /**\n * Send date time\n */\n created_at: Date | string;\n\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/**\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 PDF = 'application/pdf'\n}\n\n/**\n * SCPrivateMessageUploadMediaType interface\n */\nexport interface SCPrivateMessageUploadMediaType {\n file_url: string;\n file_uuid: string;\n}\n\n/**\n * SCPrivateMessageUploadThumbnailType interface\n */\nexport interface SCPrivateMessageUploadThumbnailType {\n file_url: string;\n file_uuid: string;\n parent_file_uuid: string;\n}\n\n/**\n * SCPrivateMessageUploadMediaChunkType interface\n */\nexport interface SCPrivateMessageUploadMediaChunkType {\n file_uuid: string;\n}\n","import {SCUserType} from './user';\n\n/**\n * Interface SCPrizeType.\n * Prize Schema.\n */\nexport interface SCPrizeType {\n /**\n * The ID of the prize.\n */\n id: number;\n\n /**\n * The active status of the prize.\n */\n active?: boolean;\n\n /**\n * The title of the prize.\n */\n title?: string;\n\n /**\n * The prize description.\n */\n description?: string;\n /**\n * Points to request the prize.\n */\n points?: number;\n\n /**\n * Date of prize creation.\n */\n created_at?: Date;\n /**\n * Date of last modify.\n */\n lastmod_datetime?: Date;\n /**\n * The prize creator.\n */\n created_by?: SCUserType;\n\n /**\n * The prize image.\n */\n image?: string;\n /**\n * Link to a web resource for the prize.\n */\n link?: string;\n}\n\n/**\n * SCPrizeUserType interface\n * Loyalty Prize User Schema\n */\n\nexport interface SCPrizeUserType {\n /**\n * Unique integer value\n */\n id: number;\n /**\n * User obj\n */\n user: SCUserType;\n /**\n * Prize obj.\n */\n prize: SCPrizeType;\n /**\n * Prize points when the request was created\n */\n prize_points: number;\n /**\n * Date since it was in pending status.\n */\n pending_at: Date | string;\n /**\n * Integer value representing the status.\n */\n status: SCPrizeUserStatusType;\n /**\n * The string representation of the status.\n */\n status_description: string;\n}\n\nexport enum SCPrizeUserStatusType {\n PENDING = 0,\n REFUSED = 1,\n SENT = 2\n}\n\n/**\n * Interface SCUserLoyaltyPointsType\n */\nexport interface SCUserLoyaltyPointsType {\n points: number;\n}\n","/**\n * User status\n */\nimport {SCCategoryType} from './category';\nimport {SCUserType} from './user';\n\nexport enum SuggestionType {\n USER = 'user',\n CATEGORY = 'category'\n}\n\n/**\n * Interface SCSuggestionType.\n * Suggestion Schema.\n */\nexport interface SCSuggestionType {\n type?: SuggestionType;\n score?: number;\n category?: SCCategoryType;\n user?: SCUserType;\n}\n","/**\n * Interface SCUserType.\n * User Schema.\n */\nimport {SCTagType} from './tag';\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 * The user is approved and can access the community\n */\n reg_approved?: 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 * If the user has the community badge active.\n */\n community_badge?: boolean;\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 * If the user account has been deleted\n */\n deleted?: boolean;\n\n /**\n * Datetime of the account deletion\n */\n deleted_at?: Date;\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\n/**\n * SCUserModerationType interface\n */\nexport interface SCUserModerationType extends SCUserType {\n /**\n * Block start date\n */\n blocked_at: Date | string;\n /**\n * Number of days of block duration (if none and block date set, it means forever)\n */\n days_blocked?: number;\n /**\n * \tDate on which the auto unblock will take place\n */\n expire_at: Date | string;\n /**\n * \tDate on which the user has been seen in the community\n */\n last_seen?: Date | string;\n /**\n *Number of flags given by the user\n */\n flags_given?: number;\n /**\n * Number of flags received by the user (in its contents)\n */\n flags_received?: number;\n /**\n * \tFull description of the last score variation made by a moderator.\n */\n last_score_variation?: SCUserScoreVariation[];\n}\n/**\n * SCUserScoreType interface\n */\nexport interface SCUserScoreType {\n /**\n * The id\n */\n id: number;\n /**\n * The user obj\n */\n user: SCUserType;\n /**\n * Positive or negative integer value\n */\n score: string;\n /**\n * Reputation types\n */\n reputation_type: SCUserReputationType;\n /**\n * Reputation types description\n */\n reputation_type_description: string;\n /**\n * comment\n */\n comment: string;\n}\n\nexport enum SCUserReputationType {\n GAIN_BY_UPVOTED = 1,\n ASSIGNED_BY_MODERATOR = 10,\n GAIN_BY_CANCELLING_CONTRIBUTE_MODERATION = 11,\n GAIN_BY_MAKE_POST = 12,\n GAIN_BY_MAKE_FIRST_LEVEL_COMMENT = 13,\n GAIN_BY_MAKE_SECOND_LEVEL_COMMENT = 14,\n GAIN_BY_CONNECTION = 15,\n GAIN_BY_APP_USED = 17,\n GAIN_BY_DAILY_VISIT = 18,\n GAIN_BY_FOLLOWER = 19,\n GAIN_BY_UNBLOCK_ACCOUNT = 20,\n LOSE_BY_UPVOTE_CANCELED = -1,\n LOSE_BY_CONTRIBUTE_MODERATION = -11,\n LOSE_BY_DELETE_POST = -12,\n LOSE_BY_DELETE_FIRST_LEVEL_COMMENT = -13,\n LOSE_BY_DELETE_SECOND_LEVEL_COMMENT = -14,\n LOSE_BY_CONNECTION = -15,\n LOSE_BY_FOLLOWER = -19,\n LOSE_BY_BLOCK_ACCOUNT = -20\n}\n\n/**\n * SCUserScoreVariation interface\n */\nexport interface SCUserScoreVariation {\n /**\n * comment\n */\n comment: string;\n /**\n * Reputed date-time\n */\n reputed_at: Date | string;\n}\n\n/**\n * SSCUserAutocompleteType Interface\n */\n\nexport interface SCUserAutocompleteType {\n /**\n * The ID of the user.\n */\n id: number;\n /**\n * The username of the user.\n */\n username: string;\n /**\n * The real name of the user.\n */\n real_name: string;\n /**\n * The user avatar.\n */\n avatar: string;\n /**\n * The external ID of the user. It is assigned only during signup.\n */\n ext_id: number;\n}\n\n/**\n * SCUserCountersType interface\n */\nexport interface SCUserCounterType {\n /**\n * Number of discussions created by the user.\n * Only if dynamic preference configurations.discussion_type_enabled is true\n */\n discussions: number;\n /**\n * Number of polls created by the user. Only if dynamic preference addons.polls_enabled is true or if the user has a staff role.\n */\n polls: number;\n /**\n * Number of posts created by the user.Only if dynamic preference configurations.post_type_enabled is true.\n */\n posts: number;\n /**\n * Number of statuses created by the user. Only if dynamic preference configurations.status_type_enabled is true.\n */\n statuses: number;\n /**\n * Number of followings of the user. Only if dynamic preference configurations.follow_enabled is true.\n */\n followings: number;\n /**\n * Number of followers of the user. Only if dynamic preference configurations.follow_enabled is true.\n */\n followers: number;\n /**\n * Number of connection requests sent by the user.\n * Only if dynamic preference configurations.follow_enabled is false.\n */\n connection_requests_sent_counter: number;\n /**\n * Number of connection requests received by the user. Only if dynamic preference configurations.follow_enabled is false.\n */\n connection_requests_received_counter: number;\n /**\n * Number of connections of the user. Only if dynamic preference configurations.follow_enabled is false.\n */\n connections_counter: number;\n}\n\n/**\n * SCUserChangeEmailType interface\n */\nexport interface SCUserChangeEmailType {\n /**\n * String returned when user changes its email with confirm.\n */\n validation_code: string;\n}\n/**\n * SCUserEmailTokenType interface\n */\nexport interface SCUserEmailTokenType {\n /**\n * String returned when user changes its email with confirm.\n */\n is_valid: boolean;\n}\n\n/**\n * SCUserAvatarType interface\n */\nexport interface SCUserAvatarType {\n /**\n * String returned when user checks its current avatar.\n */\n avatar: string;\n}\n\n/**\n * SCUserPermissionType interface\n */\n\nexport interface SCUserPermissionType {\n /**\n * If user can upload video when creating a post.\n */\n upload_video: boolean;\n /**\n * If user can create a contribute\n */\n create_contribute: boolean;\n /**\n * If user can add a poll when creating a contribute\n */\n create_poll: boolean;\n /**\n * If user can locate a contribute\n */\n locate_post: boolean;\n /**\n * If user can create a post\n */\n create_post: boolean;\n /**\n * If user can add categories when creating a post\n */\n create_post_with_category: boolean;\n /**\n * If user can follow users\n */\n follow_user: boolean;\n /**\n * If user can request a connection\n */\n request_connection: boolean;\n /**\n * If user can accept a connection\n */\n accept_connection: boolean;\n}\n\n/**\n * Interface SCUserFollowedStatusType\n */\nexport interface SCUserFollowedStatusType {\n /**\n * If the user il followed by the user specified by Id.\n */\n is_followed: boolean;\n}\n\n/**\n * Interface SCUserFollowerStatusType\n */\nexport interface SCUserFollowerStatusType {\n /**\n * If the user specified by Id is a follower.\n */\n is_follower: boolean;\n}\n\n/**\n * Interface SCUserConnectionStatusType\n */\nexport interface SCUserConnectionStatusType {\n /**\n * If the user specified by Id is a connection.\n */\n is_connection: boolean;\n}\n\n/**\n * Interface SCUserHiddenStatusType\n */\nexport interface SCUserHiddenStatusType {\n /**\n * If the user specified by Id is hidden.\n */\n is_hidden: boolean;\n}\n\n/**\n * Interface SCUserHiddenByStatusType\n */\nexport interface SCUserHiddenByStatusType {\n /**\n * If the user has been hidden by the user specified by Id.\n */\n is_hidden_by: boolean;\n}\n\n/**\n * Interface SCUserConnectionRequestType\n */\n\nexport interface SCUserConnectionRequestType {\n /**\n * The request id.\n */\n id: number;\n /**\n * The user who made the request.\n */\n from_user: SCUserType;\n /**\n * The user who received the request.\n */\n to_user: SCUserType;\n /**\n * Date-time of request creation.\n */\n created: Date | string;\n /**\n * Date-time of request rejection.\n */\n rejected: Date | string;\n /**\n * Date-time of request seen.\n */\n viewed: Date | string;\n}\n\n/**\n * Interface SCUserSocialAssociation\n */\n\nexport interface SCUserProviderAssociationType {\n /**\n * The user id of the association\n */\n user_id: number | string;\n /**\n * The provider of the social association\n */\n provider: string;\n /**\n * The external id of the user in the provider platform\n */\n ext_id: string;\n /**\n * Profile url of the user in the external provider\n */\n profile_url?: string;\n /**\n * An optional flag to indicate if the social association can be showed in the user profile.\n */\n show_in_profile?: boolean;\n /**\n * Optional json metadata\n */\n metadata?: any;\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 SCCustomMenuItemType,\n SCCustomMenuType,\n SCUserType,\n SCUserSettingsType,\n SCUserStatus,\n SCUserBlockedSettingsType,\n SCUserModerationType,\n SCUserScoreVariation,\n SCUserScoreType,\n SCUserReputationType,\n SCUserAutocompleteType,\n SCUserCounterType,\n SCUserChangeEmailType,\n SCUserAvatarType,\n SCUserPermissionType,\n SCUserFollowedStatusType,\n SCUserFollowerStatusType,\n SCUserConnectionStatusType,\n SCUserHiddenStatusType,\n SCUserHiddenByStatusType,\n SCUserConnectionRequestType,\n SCUserEmailTokenType,\n SCUserProviderAssociationType,\n SCMetadataTypeFieldType,\n SCMetadataType,\n SCTagType,\n SCCategoryType,\n SCCategoryAudienceType,\n SCCategoryFollowedStatusType,\n SCCategoryAutoFollowType,\n SCEmbedType,\n SCMediaType,\n SCChunkMediaType,\n SCContributionLocation,\n SCLocalityType,\n SCPollChoiceType,\n SCPollType,\n SCPollVoteType,\n SCFeedUnitType,\n SCFeedUnitActivityType,\n SCFeedObjectType,\n SCFeedPostType,\n SCFeedDiscussionType,\n SCFeedStatusType,\n SCFeedUnitActivityTypologyType,\n SCFeedTypologyType,\n SCFeedUnseenCountType,\n SCFeedObjectSuspendedStatusType,\n SCFeedObjectHideStatusType,\n SCFeedObjectFollowingStatusType,\n SCCommentsOrderBy,\n SCCommentType,\n SCPrivateMessageThreadType,\n SCPrivateMessageSnippetType,\n SCPrivateMessageStatusType,\n SCPrivateMessageFileType,\n SCMessageFileType,\n SCPrivateMessageUploadMediaType,\n SCPrivateMessageUploadThumbnailType,\n SCPrivateMessageUploadMediaChunkType,\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 SCNotificationUnseenCountType,\n SCNotificationContributionType,\n SCIncubatorType,\n SCIncubatorSubscriptionType,\n SCIncubatorStatusType,\n SCInviteType,\n SCNotificationIncubatorType,\n SCNotificationTopicType,\n SCPrizeType,\n SCPrizeUserType,\n SCPrizeUserStatusType,\n SCPromoType,\n SCUserLoyaltyPointsType,\n SCWebhookEndpointType,\n SCWebhookEndpointAttemptType,\n SCWebhookEndpointSecretType,\n SCWebhookEventsType,\n SCVoteType,\n SCFlagType,\n SCFlagTypeEnum,\n SCFlagModerationStatusType,\n SCCustomPageTypeEnum,\n SCCustomPageType,\n SCDataPortabilityType,\n SCPreferenceSection,\n SCPreferenceName,\n SCPreferenceType,\n SCFeatureName,\n SCFeatureType,\n SSOSignInType,\n SSOSignUpType,\n SCLegalPagePoliciesType,\n SCLegalPageType,\n SCLegalPageAckType,\n SCContributionInsightCountersType,\n SCContributionInsightType,\n SCEmbedInsightType,\n SCEmbedInsightCountersType,\n SCUsersInsightType,\n SCUsersInsightCountersType,\n SCFlaggedContributionType,\n SCContributionType,\n SCContributionStatus,\n SCContributeStatusType,\n SCPlatformType,\n SCAvatarType,\n SCReactionType,\n SCSuggestionType,\n SuggestionType,\n SCConnectionStatus\n} from './types';\n\n/**\n * List all exports\n */\nexport {\n SCBroadcastMessageBannerType,\n SCBannerType,\n SCBroadcastMessageType,\n SCCustomAdvPosition,\n SCCustomAdvType,\n SCCustomMenuItemType,\n SCCustomMenuType,\n SCAuthTokenType,\n SCUserType,\n SCUserSettingsType,\n SCUserStatus,\n SCUserBlockedSettingsType,\n SCUserModerationType,\n SCUserScoreVariation,\n SCUserScoreType,\n SCUserReputationType,\n SCUserAutocompleteType,\n SCUserCounterType,\n SCUserAvatarType,\n SCUserChangeEmailType,\n SCUserPermissionType,\n SCUserFollowedStatusType,\n SCUserFollowerStatusType,\n SCUserConnectionStatusType,\n SCUserHiddenStatusType,\n SCUserHiddenByStatusType,\n SCUserConnectionRequestType,\n SCUserEmailTokenType,\n SCUserProviderAssociationType,\n SCMetadataTypeFieldType,\n SCMetadataType,\n SCTagType,\n SCCategoryType,\n SCCategoryAudienceType,\n SCCategoryFollowedStatusType,\n SCCategoryAutoFollowType,\n SCEmbedType,\n SCMediaType,\n SCChunkMediaType,\n SCContributionLocation,\n SCLocalityType,\n SCPollChoiceType,\n SCPollType,\n SCPollVoteType,\n SCFeedUnitType,\n SCFeedUnitActivityType,\n SCFeedObjectType,\n SCFeedPostType,\n SCFeedDiscussionType,\n SCFeedStatusType,\n SCFeedUnitActivityTypologyType,\n SCFeedTypologyType,\n SCFeedUnseenCountType,\n SCFeedObjectSuspendedStatusType,\n SCFeedObjectHideStatusType,\n SCFeedObjectFollowingStatusType,\n SCCommentsOrderBy,\n SCCommentType,\n SCPrivateMessageThreadType,\n SCPrivateMessageSnippetType,\n SCPrivateMessageStatusType,\n SCPrivateMessageFileType,\n SCMessageFileType,\n SCPrivateMessageUploadMediaType,\n SCPrivateMessageUploadThumbnailType,\n SCPrivateMessageUploadMediaChunkType,\n SCPromoType,\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 SCNotificationContributionType,\n SCIncubatorType,\n SCIncubatorSubscriptionType,\n SCIncubatorStatusType,\n SCInviteType,\n SCNotificationIncubatorType,\n SCNotificationUnseenCountType,\n SCPrizeType,\n SCPrizeUserType,\n SCPrizeUserStatusType,\n SCUserLoyaltyPointsType,\n SCWebhookEndpointType,\n SCWebhookEndpointAttemptType,\n SCWebhookEndpointSecretType,\n SCWebhookEventsType,\n SCVoteType,\n SCFlagType,\n SCFlagTypeEnum,\n SCFlagModerationStatusType,\n SCCustomPageTypeEnum,\n SCCustomPageType,\n SCDataPortabilityType,\n SCPreferenceSection,\n SCPreferenceName,\n SCPreferenceType,\n SCFeatureName,\n SCFeatureType,\n SSOSignInType,\n SSOSignUpType,\n SCLegalPagePoliciesType,\n SCLegalPageType,\n SCLegalPageAckType,\n SCContributionInsightCountersType,\n SCContributionInsightType,\n SCEmbedInsightType,\n SCEmbedInsightCountersType,\n SCUsersInsightType,\n SCUsersInsightCountersType,\n SCFlaggedContributionType,\n SCContributionType,\n SCContributeStatusType,\n SCContributionStatus,\n SCPlatformType,\n SCAvatarType,\n SCReactionType,\n SCSuggestionType,\n SuggestionType,\n SCConnectionStatus\n};\n"],"names":["root","factory","exports","module","define","amd","self","SCBroadcastMessageBannerType","SCCategoryAutoFollowType","SCCommentsOrderBy","SCContributionType","SCContributeStatusType","SCCustomAdvPosition","SCCustomPageTypeEnum","SCFeatureName","SCFeedTypologyType","SCFeedUnitActivityTypologyType","SCFlagTypeEnum","SCFlagModerationStatusType","SCConnectionStatus","SCIncubatorStatusType","SCLegalPagePoliciesType","SCMetadataTypeFieldType","SCNotificationTypologyType","SCNotificationTopicType","SCPreferenceSection","SCPreferenceName","SCPrivateMessageStatusType","SCMessageFileType","SCPrizeUserStatusType","SuggestionType","SCUserStatus","SCUserReputationType","__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.5.0-alpha.
|
|
3
|
+
"version": "0.5.0-alpha.7",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "./lib/cjs/index.js",
|
|
@@ -100,5 +100,5 @@
|
|
|
100
100
|
"bugs": {
|
|
101
101
|
"url": "https://github.com/selfcommunity/community-js/issues"
|
|
102
102
|
},
|
|
103
|
-
"gitHead": "
|
|
103
|
+
"gitHead": "78cb3ede0667187e60b2a41f338b2f2f66e75d46"
|
|
104
104
|
}
|