declare module "wix-forum.v2" { interface Post { /** * Post ID. * @readonly */ _id?: string | null; /** Category ID the post is listed under. */ categoryId?: string; /** * Post owner's member ID. * @readonly */ ownerId?: string | null; /** Post title. */ title?: string | null; /** The post content in plain text. */ contentText?: string | null; /** * Total number of post comments. * @readonly */ commentCount?: number | null; /** * Total number of post likes. * @readonly */ likeCount?: number | null; /** * Total number of post views. * @readonly */ viewCount?: number | null; /** * Date post was created. * @readonly */ _createdDate?: Date | null; /** * Date of latest activity on this post (e.g., date the latest comment was added to post). * @readonly */ lastActivityDate?: Date | null; /** * Post URL. * @readonly */ url?: string; /** * Post slug. * @readonly */ slug?: string | null; /** * Images from post content. * @readonly */ images?: string[]; /** * Videos from post content. * @readonly */ videos?: string[]; /** Whether the post is pinned. Places the post at the top of the post list. */ pinned?: boolean | null; /** Whether post is closed and commenting is disabled. */ closed?: boolean | null; /** Date post was updated. */ _updatedDate?: Date | null; /** Defines what interactions may be applied on the comment under the post, vote or like. */ commentInteraction?: Interaction$1; /** * IDs of the marked comments for this post. Posts are marked by the forum admin or the post owner. * @readonly */ markedComments?: string[]; /** * Recent activity of post. For example, a comment added to a post. * @readonly */ recentActivity?: RecentActivity; /** * List of reaction identities grouped by reaction code. * @readonly */ reactionIdentities?: ReactionIdentity[]; } enum PostType$1 { DISCUSSION = "DISCUSSION", QUESTION = "QUESTION" } interface FocalPoint$1 { /** X-coordinate of the focal point. */ x?: number; /** Y-coordinate of the focal point. */ y?: number; /** crop by height */ height?: number | null; /** crop by width */ width?: number | null; } interface VideoResolution { /** Video URL. */ url?: string; /** Video height. */ height?: number; /** Video width. */ width?: number; /** Video format for example, mp4, hls. */ format?: string; } enum Interaction$1 { UNKNOWN = "UNKNOWN", REACTION = "REACTION", VOTE = "VOTE", NONE = "NONE" } interface RecentActivity extends RecentActivityInitiatorOneOf { /** Site member ID. */ memberId?: string; /** ID of recent activity entity. */ entityId?: string; /** Type of entity. */ type?: EntityType; /** Date activity was created. */ activityDate?: string; } /** @oneof */ interface RecentActivityInitiatorOneOf { /** Site member ID. */ memberId?: string; } enum EntityType { UNKNOWN = "UNKNOWN", COMMENT = "COMMENT", REPLY = "REPLY" } interface ReactionCodeCount { /** Reaction code. */ reactionCode?: string; /** Total number of reaction. */ count?: number; } interface ReactionIdentity { /** Reaction code. */ reactionCode?: string; /** * Reacted identities. * @readonly */ identities?: Identity[]; /** Total number of reacted identities count. */ count?: number; } enum IdentityType { UNKNOWN = "UNKNOWN", VISITOR = "VISITOR", MEMBER = "MEMBER" } interface Identity { /** Identity id. */ identityId?: string; /** Reacted identity type. */ identityType?: IdentityType; } interface Moved { /** Old category ID. */ oldCategoryId?: string; /** New current category ID. */ currentCategoryId?: string; /** ID of the moved post. */ postId?: string; } interface Liked { /** ID of the liked post. */ postId?: string; } interface Unliked { /** ID of the unliked post. */ postId?: string; } interface Pinned { /** ID of the pinned post. */ postId?: string; } interface Unpinned { /** ID of the unpinned post. */ postId?: string; } interface Closed { /** ID of the closed post. */ postId?: string; } interface Opened { /** ID of the opened post. */ postId?: string; } interface Reported { /** Type of report. */ reportType?: ReportType; /** ID of the reported post. */ postId?: string; } enum ReportType { OFFENSIVE_CONTENT = "OFFENSIVE_CONTENT", OFFENSIVE_MEDIA = "OFFENSIVE_MEDIA", SPAM = "SPAM" } interface Reacted { postId?: string; reactionCode?: string; } interface Unreacted { postId?: string; reactionCode?: string; } interface PostRequest { /** Post ID. */ postId: string; /** Array of extra post fields to be added in the response. */ extraFields?: Field$1[]; } enum PostFieldField { UNKNOWN = "UNKNOWN", /** Includes Post content as a stringified DraftJS document (internal only). */ CONTENT = "CONTENT", /** Includes images from Post content (internal only). */ IMAGES = "IMAGES", /** Includes videos from Post content (internal only). */ VIDEOS = "VIDEOS", /** Includes Post URL. */ URL = "URL", /** Includes Post content as a stringified Rich Content document (internal only). */ RICH_CONTENT = "RICH_CONTENT" } enum Field$1 { /** Undefined field type. */ UNKNOWN = "UNKNOWN", /** Include images from post content. */ IMAGES = "IMAGES", /** Include videos from post content. */ VIDEOS = "VIDEOS", /** Include post URL. */ URL = "URL", /** Include reaction identities. */ REACTION_IDENTITIES = "REACTION_IDENTITIES" } interface PostResponse { /** Post for the provided post ID. */ post?: Post; } interface PostSlugRequest { /** URL slug. */ slug: string; /** Array of extra post fields to be added in the response. */ extraFields?: Field$1[]; } interface QueryPostsRequest { /** Paging object (e.g., { limit: 10, offset: 100 } ). */ paging?: PostsPaging; /** Filter object (e.g., { $and: [{ ownerId: { eq: 'ownerId' } }, { likeCount: { $gt: 0 }] } ). */ filter?: Record | null; /** Array of sort objects (e.g., [{ fieldName: createdDate, order: Order.ASC }] ). */ sort?: PostsSort[]; /** Array of extra post fields to be added in the response. */ extraFields?: Field$1[]; } interface PostsPaging { /** The number of items to load. */ limit?: number; /** Number of items to skip in the current sort order. */ offset?: number; } interface PostsSort { /** * Records can be sorted by: * lastActivityDate * createdDate * commentCount * viewCount * likeCount * isPinned */ fieldName?: string; /** Records can be sorted in ascending (default) or descending order. */ order?: Order$1; } enum Order$1 { /** Sort by ascending order. */ ASC = "ASC", /** Sort by descending order. */ DESC = "DESC" } interface QueryPostsResponse { /** List of posts. */ posts?: Post[]; /** Pagination. */ metaData?: QueryPostsResponseMetaData; } interface QueryPostsResponseMetaData { /** Total number of records returned. */ count?: number; /** Offset of records. */ offset?: number; /** Total number of records that match the filters. */ total?: number; } interface ViewPostRequest { /** ID of the read post. */ postId: string; } interface ViewPostResponse { } interface MarkPostReadRequest { /** ID of the read post. */ postId: string; } interface MarkPostReadResponse { } interface MarkPostsSeenRequest { /** IDs of the seen posts. */ postsIds?: string[]; } interface MarkPostsSeenResponse { } interface MarkPostUnreadRequest { /** ID of the unread post. */ postId: string; } interface MarkPostUnreadResponse { } interface CreatePostRequest { /** New post to create. */ post?: Post; } interface CreatePostResponse { /** Created post. */ post?: Post; } interface UpdatePostRequest { /** ID of the post to update. */ postId: string; /** Field mask of fields to update. */ fieldMask?: string[]; /** Post data with partial data to update. */ post?: Post; } interface UpdatePostResponse { /** Updated post. */ post?: Post; } interface DeletePostRequest { /** ID of the post to delete. */ postId: string; } interface DeletePostResponse { /** Deleted post. */ post?: Post; } interface SetBestAnswerRequest { /** Post ID. */ postId: string; /** ID of the "best answer" comment on the post. */ commentId: string; } interface SetBestAnswerResponse { } interface RemoveBestAnswerRequest { /** Post ID */ postId: string; } interface RemoveBestAnswerResponse { } interface PinPostRequest { /** Post ID */ postId: string; /** The amount of minutes after which the pin will be removed (unpinned) */ expiresInMinutes?: number | null; } interface PinPostResponse { } interface UnpinPostRequest { /** Post ID */ postId: string; } interface UnpinPostResponse { } interface AddReactionRequest { /** Post ID */ postId: string; /** Code of reaction to add. */ reactionCode: string; } interface AddReactionResponse { /** * Total number of comment reactions. * @readonly */ reactionCount?: number; /** * List of reacted identities grouped by reaction code. * @readonly */ reactionIdentities?: ReactionIdentity[]; } interface RemoveReactionRequest { /** Post ID */ postId: string; /** Code of reaction to remove. */ reactionCode: string; } interface RemoveReactionResponse { /** * Total number of comment reactions. * @readonly */ reactionCount?: number; /** * List of reacted identities grouped by reaction code. * @readonly */ reactionIdentities?: ReactionIdentity[]; } interface ReportPostRequest { /** Post ID */ postId: string; /** Type of report. */ reportType?: ReportType; } interface ReportPostResponse { } interface DomainEvent$1 extends DomainEventBodyOneOf$1 { createdEvent?: EntityCreatedEvent$1; updatedEvent?: EntityUpdatedEvent$1; deletedEvent?: EntityDeletedEvent$1; actionEvent?: ActionEvent$1; /** * Unique event ID. * Allows clients to ignore duplicate webhooks. */ _id?: string; /** * Assumes actions are also always typed to an entity_type * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction */ entityFqdn?: string; /** * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug) * This is although the created/updated/deleted notion is duplication of the oneof types * Example: created/updated/deleted/started/completed/email_opened */ slug?: string; /** ID of the entity associated with the event. */ entityId?: string; /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */ eventTime?: Date | null; /** * Whether the event was triggered as a result of a privacy regulation application * (for example, GDPR). */ triggeredByAnonymizeRequest?: boolean | null; /** If present, indicates the action that triggered the event. */ originatedFrom?: string | null; /** * A sequence number defining the order of updates to the underlying entity. * For example, given that some entity was updated at 16:00 and than again at 16:01, * it is guaranteed that the sequence number of the second update is strictly higher than the first. * As the consumer, you can use this value to ensure that you handle messages in the correct order. * To do so, you will need to persist this number on your end, and compare the sequence number from the * message against the one you have stored. Given that the stored number is higher, you should ignore the message. */ entityEventSequence?: string | null; } /** @oneof */ interface DomainEventBodyOneOf$1 { createdEvent?: EntityCreatedEvent$1; updatedEvent?: EntityUpdatedEvent$1; deletedEvent?: EntityDeletedEvent$1; actionEvent?: ActionEvent$1; } interface EntityCreatedEvent$1 { entityAsJson?: string; /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */ restoreInfo?: RestoreInfo$1; } interface RestoreInfo$1 { deletedDate?: Date | null; } interface EntityUpdatedEvent$1 { /** * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff. * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects. * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it. */ currentEntityAsJson?: string; } interface EntityDeletedEvent$1 { /** Entity that was deleted */ deletedEntityAsJson?: string | null; } interface ActionEvent$1 { bodyAsJson?: string; } interface MessageEnvelope$1 { /** App instance ID. */ instanceId?: string | null; /** Event type. */ eventType?: string; /** The identification type and identity data. */ identity?: IdentificationData$1; /** Stringify payload. */ data?: string; } interface IdentificationData$1 extends IdentificationDataIdOneOf$1 { /** ID of a site visitor that has not logged in to the site. */ anonymousVisitorId?: string; /** ID of a site visitor that has logged in to the site. */ memberId?: string; /** ID of a Wix user (site owner, contributor, etc.). */ wixUserId?: string; /** ID of an app. */ appId?: string; /** @readonly */ identityType?: WebhookIdentityType$1; } /** @oneof */ interface IdentificationDataIdOneOf$1 { /** ID of a site visitor that has not logged in to the site. */ anonymousVisitorId?: string; /** ID of a site visitor that has logged in to the site. */ memberId?: string; /** ID of a Wix user (site owner, contributor, etc.). */ wixUserId?: string; /** ID of an app. */ appId?: string; } enum WebhookIdentityType$1 { UNKNOWN = "UNKNOWN", ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR", MEMBER = "MEMBER", WIX_USER = "WIX_USER", APP = "APP" } /** * Retrieves a single post by ID. * @param postId - Post ID. * @public * @documentationMaturity preview * @requiredField postId * @param options - Options specifying which additional fields to return. * @permissionId WIX_FORUM.POST_READ * @permissionScope Read Forums * @permissionScopeId SCOPE.DC-FORUM.READ-FORUM * @permissionScope Manage Forums * @permissionScopeId SCOPE.DC-FORUM.MANAGE-FORUM * @applicableIdentity APP * @adminMethod * @returns Post for the provided post ID. * @fqn com.wixpress.npm.communities.forum.api.PostManagementService.GetPost */ function getPost(postId: string, options?: GetPostOptions): Promise; interface GetPostOptions { /** Array of extra post fields to be added in the response. */ extraFields?: Field$1[]; } /** * Retrieves a single post by URL slug. * @param slug - URL slug. * @public * @documentationMaturity preview * @requiredField slug * @param options - Options specifying which additional fields to return. * @permissionId WIX_FORUM.POST_READ * @permissionScope Read Forums * @permissionScopeId SCOPE.DC-FORUM.READ-FORUM * @permissionScope Manage Forums * @permissionScopeId SCOPE.DC-FORUM.MANAGE-FORUM * @applicableIdentity APP * @adminMethod * @fqn com.wixpress.npm.communities.forum.api.PostManagementService.GetPostBySlug */ function getPostBySlug(slug: string, options?: GetPostBySlugOptions): Promise; interface GetPostBySlugOptions { /** Array of extra post fields to be added in the response. */ extraFields?: Field$1[]; } /** * Returns a list of posts by query. * * Paging * - limit: default - 10, min - 0, max - 100 * - offset: default - 0, min - 0 * * Filterable fields: * - id * - categoryId * - ownerId * - title * - contentText * - bestAnswerCommentId * - pinned * - commentingEnabled * - commentCount * - likeCount * - viewCount * - createdDate * - editedDate * - lastActivityDate * - slug * * Sortable fields: * - lastActivityDate * - createdDate * - commentCount * - viewCount * - likeCount * - pinned * @public * @documentationMaturity preview * @param options - Options for sorting, filtering, paging, and specifying return fields. * @permissionId WIX_FORUM.POST_READ * @permissionScope Read Forums * @permissionScopeId SCOPE.DC-FORUM.READ-FORUM * @permissionScope Manage Forums * @permissionScopeId SCOPE.DC-FORUM.MANAGE-FORUM * @applicableIdentity APP * @adminMethod * @fqn com.wixpress.npm.communities.forum.api.PostManagementService.QueryPosts */ function queryPosts(options?: QueryPostsOptions): Promise; interface QueryPostsOptions { /** Paging object (e.g., { limit: 10, offset: 100 } ). */ paging?: PostsPaging; /** Filter object (e.g., { $and: [{ ownerId: { eq: 'ownerId' } }, { likeCount: { $gt: 0 }] } ). */ filter?: Record | null; /** Array of sort objects (e.g., [{ fieldName: createdDate, order: Order.ASC }] ). */ sort?: PostsSort[]; /** Array of extra post fields to be included in the response. */ extraFields?: Field$1[]; } interface MarkPostsSeenOptions { /** IDs of the seen posts. */ postsIds?: string[]; } interface CreatePostOptions { /** New post to create. */ post?: Post; } interface UpdatePostOptions { /** Field mask of fields to update. */ fieldMask?: string[]; /** Post data with partial data to update. */ post?: Post; } interface PinPostOptions { /** The amount of minutes after which the pin will be removed (unpinned) */ expiresInMinutes?: number | null; } interface ReportPostOptions { /** Type of report. */ reportType?: ReportType; } type forumV1PostPosts_universal_d_Post = Post; type forumV1PostPosts_universal_d_VideoResolution = VideoResolution; type forumV1PostPosts_universal_d_RecentActivity = RecentActivity; type forumV1PostPosts_universal_d_RecentActivityInitiatorOneOf = RecentActivityInitiatorOneOf; type forumV1PostPosts_universal_d_EntityType = EntityType; const forumV1PostPosts_universal_d_EntityType: typeof EntityType; type forumV1PostPosts_universal_d_ReactionCodeCount = ReactionCodeCount; type forumV1PostPosts_universal_d_ReactionIdentity = ReactionIdentity; type forumV1PostPosts_universal_d_IdentityType = IdentityType; const forumV1PostPosts_universal_d_IdentityType: typeof IdentityType; type forumV1PostPosts_universal_d_Identity = Identity; type forumV1PostPosts_universal_d_Moved = Moved; type forumV1PostPosts_universal_d_Liked = Liked; type forumV1PostPosts_universal_d_Unliked = Unliked; type forumV1PostPosts_universal_d_Pinned = Pinned; type forumV1PostPosts_universal_d_Unpinned = Unpinned; type forumV1PostPosts_universal_d_Closed = Closed; type forumV1PostPosts_universal_d_Opened = Opened; type forumV1PostPosts_universal_d_Reported = Reported; type forumV1PostPosts_universal_d_ReportType = ReportType; const forumV1PostPosts_universal_d_ReportType: typeof ReportType; type forumV1PostPosts_universal_d_Reacted = Reacted; type forumV1PostPosts_universal_d_Unreacted = Unreacted; type forumV1PostPosts_universal_d_PostRequest = PostRequest; type forumV1PostPosts_universal_d_PostFieldField = PostFieldField; const forumV1PostPosts_universal_d_PostFieldField: typeof PostFieldField; type forumV1PostPosts_universal_d_PostResponse = PostResponse; type forumV1PostPosts_universal_d_PostSlugRequest = PostSlugRequest; type forumV1PostPosts_universal_d_QueryPostsRequest = QueryPostsRequest; type forumV1PostPosts_universal_d_PostsPaging = PostsPaging; type forumV1PostPosts_universal_d_PostsSort = PostsSort; type forumV1PostPosts_universal_d_QueryPostsResponse = QueryPostsResponse; type forumV1PostPosts_universal_d_QueryPostsResponseMetaData = QueryPostsResponseMetaData; type forumV1PostPosts_universal_d_ViewPostRequest = ViewPostRequest; type forumV1PostPosts_universal_d_ViewPostResponse = ViewPostResponse; type forumV1PostPosts_universal_d_MarkPostReadRequest = MarkPostReadRequest; type forumV1PostPosts_universal_d_MarkPostReadResponse = MarkPostReadResponse; type forumV1PostPosts_universal_d_MarkPostsSeenRequest = MarkPostsSeenRequest; type forumV1PostPosts_universal_d_MarkPostsSeenResponse = MarkPostsSeenResponse; type forumV1PostPosts_universal_d_MarkPostUnreadRequest = MarkPostUnreadRequest; type forumV1PostPosts_universal_d_MarkPostUnreadResponse = MarkPostUnreadResponse; type forumV1PostPosts_universal_d_CreatePostRequest = CreatePostRequest; type forumV1PostPosts_universal_d_CreatePostResponse = CreatePostResponse; type forumV1PostPosts_universal_d_UpdatePostRequest = UpdatePostRequest; type forumV1PostPosts_universal_d_UpdatePostResponse = UpdatePostResponse; type forumV1PostPosts_universal_d_DeletePostRequest = DeletePostRequest; type forumV1PostPosts_universal_d_DeletePostResponse = DeletePostResponse; type forumV1PostPosts_universal_d_SetBestAnswerRequest = SetBestAnswerRequest; type forumV1PostPosts_universal_d_SetBestAnswerResponse = SetBestAnswerResponse; type forumV1PostPosts_universal_d_RemoveBestAnswerRequest = RemoveBestAnswerRequest; type forumV1PostPosts_universal_d_RemoveBestAnswerResponse = RemoveBestAnswerResponse; type forumV1PostPosts_universal_d_PinPostRequest = PinPostRequest; type forumV1PostPosts_universal_d_PinPostResponse = PinPostResponse; type forumV1PostPosts_universal_d_UnpinPostRequest = UnpinPostRequest; type forumV1PostPosts_universal_d_UnpinPostResponse = UnpinPostResponse; type forumV1PostPosts_universal_d_AddReactionRequest = AddReactionRequest; type forumV1PostPosts_universal_d_AddReactionResponse = AddReactionResponse; type forumV1PostPosts_universal_d_RemoveReactionRequest = RemoveReactionRequest; type forumV1PostPosts_universal_d_RemoveReactionResponse = RemoveReactionResponse; type forumV1PostPosts_universal_d_ReportPostRequest = ReportPostRequest; type forumV1PostPosts_universal_d_ReportPostResponse = ReportPostResponse; const forumV1PostPosts_universal_d_getPost: typeof getPost; type forumV1PostPosts_universal_d_GetPostOptions = GetPostOptions; const forumV1PostPosts_universal_d_getPostBySlug: typeof getPostBySlug; type forumV1PostPosts_universal_d_GetPostBySlugOptions = GetPostBySlugOptions; const forumV1PostPosts_universal_d_queryPosts: typeof queryPosts; type forumV1PostPosts_universal_d_QueryPostsOptions = QueryPostsOptions; type forumV1PostPosts_universal_d_MarkPostsSeenOptions = MarkPostsSeenOptions; type forumV1PostPosts_universal_d_CreatePostOptions = CreatePostOptions; type forumV1PostPosts_universal_d_UpdatePostOptions = UpdatePostOptions; type forumV1PostPosts_universal_d_PinPostOptions = PinPostOptions; type forumV1PostPosts_universal_d_ReportPostOptions = ReportPostOptions; namespace forumV1PostPosts_universal_d { export { forumV1PostPosts_universal_d_Post as Post, PostType$1 as PostType, FocalPoint$1 as FocalPoint, forumV1PostPosts_universal_d_VideoResolution as VideoResolution, Interaction$1 as Interaction, forumV1PostPosts_universal_d_RecentActivity as RecentActivity, forumV1PostPosts_universal_d_RecentActivityInitiatorOneOf as RecentActivityInitiatorOneOf, forumV1PostPosts_universal_d_EntityType as EntityType, forumV1PostPosts_universal_d_ReactionCodeCount as ReactionCodeCount, forumV1PostPosts_universal_d_ReactionIdentity as ReactionIdentity, forumV1PostPosts_universal_d_IdentityType as IdentityType, forumV1PostPosts_universal_d_Identity as Identity, forumV1PostPosts_universal_d_Moved as Moved, forumV1PostPosts_universal_d_Liked as Liked, forumV1PostPosts_universal_d_Unliked as Unliked, forumV1PostPosts_universal_d_Pinned as Pinned, forumV1PostPosts_universal_d_Unpinned as Unpinned, forumV1PostPosts_universal_d_Closed as Closed, forumV1PostPosts_universal_d_Opened as Opened, forumV1PostPosts_universal_d_Reported as Reported, forumV1PostPosts_universal_d_ReportType as ReportType, forumV1PostPosts_universal_d_Reacted as Reacted, forumV1PostPosts_universal_d_Unreacted as Unreacted, forumV1PostPosts_universal_d_PostRequest as PostRequest, forumV1PostPosts_universal_d_PostFieldField as PostFieldField, Field$1 as Field, forumV1PostPosts_universal_d_PostResponse as PostResponse, forumV1PostPosts_universal_d_PostSlugRequest as PostSlugRequest, forumV1PostPosts_universal_d_QueryPostsRequest as QueryPostsRequest, forumV1PostPosts_universal_d_PostsPaging as PostsPaging, forumV1PostPosts_universal_d_PostsSort as PostsSort, Order$1 as Order, forumV1PostPosts_universal_d_QueryPostsResponse as QueryPostsResponse, forumV1PostPosts_universal_d_QueryPostsResponseMetaData as QueryPostsResponseMetaData, forumV1PostPosts_universal_d_ViewPostRequest as ViewPostRequest, forumV1PostPosts_universal_d_ViewPostResponse as ViewPostResponse, forumV1PostPosts_universal_d_MarkPostReadRequest as MarkPostReadRequest, forumV1PostPosts_universal_d_MarkPostReadResponse as MarkPostReadResponse, forumV1PostPosts_universal_d_MarkPostsSeenRequest as MarkPostsSeenRequest, forumV1PostPosts_universal_d_MarkPostsSeenResponse as MarkPostsSeenResponse, forumV1PostPosts_universal_d_MarkPostUnreadRequest as MarkPostUnreadRequest, forumV1PostPosts_universal_d_MarkPostUnreadResponse as MarkPostUnreadResponse, forumV1PostPosts_universal_d_CreatePostRequest as CreatePostRequest, forumV1PostPosts_universal_d_CreatePostResponse as CreatePostResponse, forumV1PostPosts_universal_d_UpdatePostRequest as UpdatePostRequest, forumV1PostPosts_universal_d_UpdatePostResponse as UpdatePostResponse, forumV1PostPosts_universal_d_DeletePostRequest as DeletePostRequest, forumV1PostPosts_universal_d_DeletePostResponse as DeletePostResponse, forumV1PostPosts_universal_d_SetBestAnswerRequest as SetBestAnswerRequest, forumV1PostPosts_universal_d_SetBestAnswerResponse as SetBestAnswerResponse, forumV1PostPosts_universal_d_RemoveBestAnswerRequest as RemoveBestAnswerRequest, forumV1PostPosts_universal_d_RemoveBestAnswerResponse as RemoveBestAnswerResponse, forumV1PostPosts_universal_d_PinPostRequest as PinPostRequest, forumV1PostPosts_universal_d_PinPostResponse as PinPostResponse, forumV1PostPosts_universal_d_UnpinPostRequest as UnpinPostRequest, forumV1PostPosts_universal_d_UnpinPostResponse as UnpinPostResponse, forumV1PostPosts_universal_d_AddReactionRequest as AddReactionRequest, forumV1PostPosts_universal_d_AddReactionResponse as AddReactionResponse, forumV1PostPosts_universal_d_RemoveReactionRequest as RemoveReactionRequest, forumV1PostPosts_universal_d_RemoveReactionResponse as RemoveReactionResponse, forumV1PostPosts_universal_d_ReportPostRequest as ReportPostRequest, forumV1PostPosts_universal_d_ReportPostResponse as ReportPostResponse, DomainEvent$1 as DomainEvent, DomainEventBodyOneOf$1 as DomainEventBodyOneOf, EntityCreatedEvent$1 as EntityCreatedEvent, RestoreInfo$1 as RestoreInfo, EntityUpdatedEvent$1 as EntityUpdatedEvent, EntityDeletedEvent$1 as EntityDeletedEvent, ActionEvent$1 as ActionEvent, MessageEnvelope$1 as MessageEnvelope, IdentificationData$1 as IdentificationData, IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, WebhookIdentityType$1 as WebhookIdentityType, forumV1PostPosts_universal_d_getPost as getPost, forumV1PostPosts_universal_d_GetPostOptions as GetPostOptions, forumV1PostPosts_universal_d_getPostBySlug as getPostBySlug, forumV1PostPosts_universal_d_GetPostBySlugOptions as GetPostBySlugOptions, forumV1PostPosts_universal_d_queryPosts as queryPosts, forumV1PostPosts_universal_d_QueryPostsOptions as QueryPostsOptions, forumV1PostPosts_universal_d_MarkPostsSeenOptions as MarkPostsSeenOptions, forumV1PostPosts_universal_d_CreatePostOptions as CreatePostOptions, forumV1PostPosts_universal_d_UpdatePostOptions as UpdatePostOptions, forumV1PostPosts_universal_d_PinPostOptions as PinPostOptions, forumV1PostPosts_universal_d_ReportPostOptions as ReportPostOptions, }; } interface Category { /** * Category ID. * @readonly */ _id?: string | null; /** Category parent ID. */ parentId?: string | null; /** Category name. */ name?: string | null; /** Category header title. */ headerTitle?: string | null; /** Category header type. */ headerType?: HeaderType; /** Category header image. */ headerImage?: string; /** * Category rank (display order). * @readonly */ rank?: number | null; /** * Total number of posts in category. * @readonly */ postCount?: number | null; /** * Total number of post views in category. * @readonly */ postViewCount?: number | null; /** * Category slug. * @readonly */ slug?: string | null; /** * Category URL. * @readonly */ url?: string; /** Category description. */ description?: string; /** * Date category was created. * @readonly */ _createdDate?: Date | null; /** * Whether all site visitors and members (`PUBLIC`), all members (`MEMBERS_ONLY`), or only specific members and groups of members with roles, badges or paid subscriptions (`PRIVATE`) can access posts in category. * @readonly */ categoryAccess?: Access; /** Date category was updated. */ _updatedDate?: Date | null; /** Whether only admins and moderators can write posts in category. */ noMemberPosting?: boolean; /** * IDs of groups which can access this category if `categoryAccess` is `PRIVATE`. * @readonly */ groups?: string[]; /** Defines what interactions may be applied on the comment under the posts created in this category, vote or like. */ commentInteraction?: Interaction; /** * Defines which icon will be used for the main reaction on the comment under the posts created in this category. * * Default `type`: `"LIKE"`. */ mainCommentReaction?: Reaction; /** Defines what additional reactions may be applied on the comment under the posts created in this category. */ additionalCommentReactions?: Reaction[]; /** Defines what interactions may be applied on the posts created in this category, like or multiple reactions. */ postInteraction?: PostInteraction; /** * Defines which icon will be used for main reaction on the posts created in this category. * * Default `type`: `"LIKE"`. */ mainPostReaction?: Reaction; /** Defines what additional reactions may be applied on the posts created in this category. */ additionalPostReactions?: Reaction[]; } enum HeaderType { NONE = "NONE", COLOR = "COLOR", IMAGE = "IMAGE" } interface FocalPoint { /** X-coordinate of the focal point. */ x?: number; /** Y-coordinate of the focal point. */ y?: number; /** crop by height */ height?: number | null; /** crop by width */ width?: number | null; } interface ColorComponent { /** Hex Color Code */ color?: string | null; /** Opacity (from 0 to 1) */ opacity?: number | null; } enum PostType { DISCUSSION = "DISCUSSION", QUESTION = "QUESTION" } enum Access { UNKNOWN = "UNKNOWN", PUBLIC = "PUBLIC", MEMBERS_ONLY = "MEMBERS_ONLY", PRIVATE = "PRIVATE" } enum Interaction { UNKNOWN = "UNKNOWN", REACTION = "REACTION", VOTE = "VOTE", NONE = "NONE" } interface Reaction extends ReactionReactionOneOf { type?: Type; /** @readonly */ code?: string | null; } /** @oneof */ interface ReactionReactionOneOf { type?: Type; } enum Type { LIKE = "LIKE", ANGRY = "ANGRY", CLAP = "CLAP", LOVE = "LOVE", HAHA = "HAHA", SAD = "SAD", SMILE = "SMILE", WOW = "WOW", THINKING = "THINKING", THUMBS_UP = "THUMBS_UP", THUMBS_DOWN = "THUMBS_DOWN" } enum PostInteraction { UNKNOWN = "UNKNOWN", REACTION = "REACTION", NONE = "NONE" } enum CommentOrder { UNKNOWN = "UNKNOWN", OLDEST = "OLDEST", NEWEST = "NEWEST", MOST_VOTES = "MOST_VOTES", LEAST_VOTES = "LEAST_VOTES", LOWEST_RATED = "LOWEST_RATED", HIGHEST_RATED = "HIGHEST_RATED", MOST_REACTIONS = "MOST_REACTIONS" } /** * The SEO schema object contains data about different types of meta tags. It makes sure that the information about your page is presented properly to search engines. * The search engines use this information for ranking purposes, or to display snippets in the search results. * This data will override other sources of tags (for example patterns) and will be included in the section of the HTML document, while not being displayed on the page itself. */ interface SeoSchema { /** SEO tag information. */ tags?: Tag[]; /** SEO general settings. */ settings?: Settings; } interface Keyword { /** Keyword value. */ term?: string; /** Whether the keyword is the main focus keyword. */ isMain?: boolean; /** The source that added the keyword terms to the SEO settings. */ origin?: string | null; } interface Tag { /** * SEO tag type. * * * Supported values: `title`, `meta`, `script`, `link`. */ type?: string; /** * A `{"key": "value"}` pair object where each SEO tag property (`"name"`, `"content"`, `"rel"`, `"href"`) contains a value. * For example: `{"name": "description", "content": "the description itself"}`. */ props?: Record | null; /** SEO tag meta data. For example, `{"height": 300, "width": 240}`. */ meta?: Record | null; /** SEO tag inner content. For example, ` inner content `. */ children?: string; /** Whether the tag is a custom tag. */ custom?: boolean; /** Whether the tag is disabled. */ disabled?: boolean; } interface Settings { /** * Whether the Auto Redirect feature, which creates `301 redirects` on a slug change, is enabled. * * * Default: `false` (Auto Redirect is enabled.) */ preventAutoRedirect?: boolean; /** User-selected keyword terms for a specific page. */ keywords?: Keyword[]; } interface CategoryRequest { /** ID of the retrieved category. */ categoryId: string; /** Array of extra category fields to be added in the response. `UNKNOWN` must not be passed. */ extraFields?: Field[]; } enum CategoryFieldField { UNKNOWN = "UNKNOWN", /** Includes the category's URL. */ URL = "URL" } enum Field { /** Undefined field. */ UNKNOWN = "UNKNOWN", /** Include the category's URL. */ URL = "URL" } interface CategoryResponse { /** Retrieved category for the provided category ID. */ category?: Category; } interface CategorySlugRequest { /** URL slug. */ slug: string; /** Array of extra category fields to be added in the response. `UNKNOWN` must not be passed. */ extraFields?: Field[]; } interface QueryCategoriesRequest { /** Paging object (e.g., {limit: 10, offset: 100 } ) */ paging?: CategoriesPaging; /** Filter object (e.g., { $and: [{ postViewCount: { $gt: 0 } }, { postCount: { $gt: 0 }] } ) */ filter?: Record | null; /** Array of sort objects (e.g., [{ fieldName: rank, order: Order.ASC }] ) */ sort?: CategoriesSort[]; /** Array of extra category fields to be added in the response. `UNKNOWN` must not be passed. */ extraFields?: Field[]; } interface CategoriesPaging { /** The number of items to load. */ limit?: number; /** Number of items to skip in the current sort order. */ offset?: number; } interface CategoriesSort { /** * Records can be sorted by: * rank * postCount * postViewCount */ fieldName?: string; /** Records can be sorted in ascending (default) or descending order. */ order?: Order; } enum Order { /** Sort by ascending order. */ ASC = "ASC", /** Sort by descending order. */ DESC = "DESC" } interface QueryCategoriesResponse { /** List of categories. */ categories?: Category[]; /** Pagination. */ metaData?: QueryCategoriesResponseMetaData; } interface QueryCategoriesResponseMetaData { /** Total number of records returned. */ count?: number; /** Offset of records. */ offset?: number; /** Total number of records that match the filters. */ total?: number; } interface MarkCategoryReadRequest { /** ID of the read category. */ categoryId: string; } interface MarkCategoryReadResponse { } interface MarkAllPostsAsReadRequest { /** ID of the read posts category. */ categoryId?: string; } interface MarkAllPostsAsReadResponse { } interface CreateCategoryRequest { category?: Category; } interface UpdateCategoryRequest { /** ID of category. */ categoryId: string; /** Field mask of fields to update. */ fieldMask?: string[]; /** Editable category data. */ category?: Category; } interface DeleteCategoryRequest { /** ID of category. */ categoryId: string; } interface DeleteCategoryResponse { category?: Category; } interface SubscribeContactToCategoryRequest { /** Category ID. */ categoryId: string; /** Contact ID. */ contactId?: string | null; } interface SubscribeContactToCategoryResponse { } interface UnsubscribeContactFromCategoryRequest { /** Category ID. */ categoryId: string; /** Contact ID. */ contactId?: string | null; } interface UnsubscribeContactFromCategoryResponse { } interface DomainEvent extends DomainEventBodyOneOf { createdEvent?: EntityCreatedEvent; updatedEvent?: EntityUpdatedEvent; deletedEvent?: EntityDeletedEvent; actionEvent?: ActionEvent; /** * Unique event ID. * Allows clients to ignore duplicate webhooks. */ _id?: string; /** * Assumes actions are also always typed to an entity_type * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction */ entityFqdn?: string; /** * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug) * This is although the created/updated/deleted notion is duplication of the oneof types * Example: created/updated/deleted/started/completed/email_opened */ slug?: string; /** ID of the entity associated with the event. */ entityId?: string; /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */ eventTime?: Date | null; /** * Whether the event was triggered as a result of a privacy regulation application * (for example, GDPR). */ triggeredByAnonymizeRequest?: boolean | null; /** If present, indicates the action that triggered the event. */ originatedFrom?: string | null; /** * A sequence number defining the order of updates to the underlying entity. * For example, given that some entity was updated at 16:00 and than again at 16:01, * it is guaranteed that the sequence number of the second update is strictly higher than the first. * As the consumer, you can use this value to ensure that you handle messages in the correct order. * To do so, you will need to persist this number on your end, and compare the sequence number from the * message against the one you have stored. Given that the stored number is higher, you should ignore the message. */ entityEventSequence?: string | null; } /** @oneof */ interface DomainEventBodyOneOf { createdEvent?: EntityCreatedEvent; updatedEvent?: EntityUpdatedEvent; deletedEvent?: EntityDeletedEvent; actionEvent?: ActionEvent; } interface EntityCreatedEvent { entityAsJson?: string; /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */ restoreInfo?: RestoreInfo; } interface RestoreInfo { deletedDate?: Date | null; } interface EntityUpdatedEvent { /** * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff. * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects. * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it. */ currentEntityAsJson?: string; } interface EntityDeletedEvent { /** Entity that was deleted */ deletedEntityAsJson?: string | null; } interface ActionEvent { bodyAsJson?: string; } interface MessageEnvelope { /** App instance ID. */ instanceId?: string | null; /** Event type. */ eventType?: string; /** The identification type and identity data. */ identity?: IdentificationData; /** Stringify payload. */ data?: string; } interface IdentificationData extends IdentificationDataIdOneOf { /** ID of a site visitor that has not logged in to the site. */ anonymousVisitorId?: string; /** ID of a site visitor that has logged in to the site. */ memberId?: string; /** ID of a Wix user (site owner, contributor, etc.). */ wixUserId?: string; /** ID of an app. */ appId?: string; /** @readonly */ identityType?: WebhookIdentityType; } /** @oneof */ interface IdentificationDataIdOneOf { /** ID of a site visitor that has not logged in to the site. */ anonymousVisitorId?: string; /** ID of a site visitor that has logged in to the site. */ memberId?: string; /** ID of a Wix user (site owner, contributor, etc.). */ wixUserId?: string; /** ID of an app. */ appId?: string; } enum WebhookIdentityType { UNKNOWN = "UNKNOWN", ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR", MEMBER = "MEMBER", WIX_USER = "WIX_USER", APP = "APP" } /** * Returns a single category by ID. * @param categoryId - ID of the retrieved category. * @public * @documentationMaturity preview * @requiredField categoryId * @param options - Options specifying which fields to return. * @permissionId WIX_FORUM.CATEGORY_READ * @permissionScope Read Forums * @permissionScopeId SCOPE.DC-FORUM.READ-FORUM * @permissionScope Manage Forums * @permissionScopeId SCOPE.DC-FORUM.MANAGE-FORUM * @applicableIdentity APP * @adminMethod * @returns Retrieved category for the provided category ID. * @fqn com.wixpress.npm.communities.forum.api.CategoryManagementService.GetCategory */ function getCategory(categoryId: string, options?: GetCategoryOptions): Promise; interface GetCategoryOptions { /** Array of extra category fields to be added in the response. `UNKNOWN` must not be passed. */ extraFields?: Field[]; } /** * Returns a single category by URL slug. * @param slug - URL slug. * @public * @documentationMaturity preview * @requiredField slug * @param options - Options specifying which fields to return. * @permissionId WIX_FORUM.CATEGORY_READ * @permissionScope Read Forums * @permissionScopeId SCOPE.DC-FORUM.READ-FORUM * @permissionScope Manage Forums * @permissionScopeId SCOPE.DC-FORUM.MANAGE-FORUM * @applicableIdentity APP * @adminMethod * @fqn com.wixpress.npm.communities.forum.api.CategoryManagementService.GetCategoryBySlug */ function getCategoryBySlug(slug: string, options?: GetCategoryBySlugOptions): Promise; interface GetCategoryBySlugOptions { /** Array of extra category fields to be added in the response. `UNKNOWN` must not be passed. */ extraFields?: Field[]; } /** * Retrieves a list of categories, given the provided paging, filtering, and sorting. * * Query Categories runs with these defaults, which you can override: * * - `paging.limit` is `10` * - `paging.offset` is `0` * * For field support for filters and sorting, * see [Categories: Supported Filters and Sorting](https://dev.wix.com/docs/rest/api-reference/wix-forum/wix-forum/filter-and-sort#category-api-supported-filters-and-sorting). * * To learn about working with _Query_ endpoints, see * [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language), * [Sorting and Paging](https://dev.wix.com/docs/rest/articles/getting-started/sorting-and-paging), * and [Field Projection](https://dev.wix.com/api/rest/getting-started/field-projection). * @public * @documentationMaturity preview * @param options - Options for sorting, filtering, paging, and specifying return fields. * @permissionId WIX_FORUM.CATEGORY_READ * @permissionScope Read Forums * @permissionScopeId SCOPE.DC-FORUM.READ-FORUM * @permissionScope Manage Forums * @permissionScopeId SCOPE.DC-FORUM.MANAGE-FORUM * @applicableIdentity APP * @adminMethod * @fqn com.wixpress.npm.communities.forum.api.CategoryManagementService.QueryCategories */ function queryCategories(options?: QueryCategoriesOptions): Promise; interface QueryCategoriesOptions { /** Paging object (e.g., {limit: 10, offset: 100 } ) */ paging?: CategoriesPaging; /** Filter object (e.g., { $and: [{ postViewCount: { $gt: 0 } }, { postCount: { $gt: 0 }] } ) */ filter?: Record | null; /** Array of sort objects (e.g., [{ fieldName: rank, order: Order.ASC }] ) */ sort?: CategoriesSort[]; /** Array of extra category fields to be included in the response. */ extraFields?: Field[]; } interface MarkAllPostsAsReadOptions { /** ID of the read posts category. */ categoryId?: string; } interface CreateCategoryOptions { category?: Category; } interface UpdateCategoryOptions { /** Field mask of fields to update. */ fieldMask?: string[]; /** Editable category data. */ category?: Category; } /** * Subscribes a contact to a specific forum category. * * By default a contact isn't subscribed to any forum categories. * * By subscribing a contact to a category, the contact receives notifications for that category. * * If `contactId` is not provided, it is implicitly resolved from the caller's context. * @param categoryId - Category ID. * @public * @documentationMaturity preview * @requiredField categoryId * @param options - Options for subscribing the contact. * @permissionId WIX_FORUM.CATEGORY_SUBSCRIBE * @permissionId WIX_FORUM.CATEGORY_SUBSCRIBE_OVERRIDE_CONTACT_ID * @permissionScope Manage Forums * @permissionScopeId SCOPE.DC-FORUM.MANAGE-FORUM * @permissionScope Manage Forums * @permissionScopeId SCOPE.DC-FORUM.MANAGE-FORUM * @applicableIdentity APP * @adminMethod * @fqn com.wixpress.npm.communities.forum.api.CategoryManagementService.SubscribeContactToCategory */ function subscribeContactToCategory(categoryId: string, options?: SubscribeContactToCategoryOptions): Promise; interface SubscribeContactToCategoryOptions { /** Contact ID. */ contactId?: string | null; } /** * Unsubscribes a contact from a specific forum category. * * By default a contact isn't subscribed to any forum categories. * * By unsubscribing a contact from a category, the contact won’t receive notifications for that category. * * If `contactId` is not provided, it is implicitly resolved from the caller's context. * @param categoryId - Category ID. * @public * @documentationMaturity preview * @requiredField categoryId * @param options - Options for unsubscribing the contact. * @permissionId WIX_FORUM.CATEGORY_SUBSCRIBE * @permissionId WIX_FORUM.CATEGORY_SUBSCRIBE_OVERRIDE_CONTACT_ID * @permissionScope Manage Forums * @permissionScopeId SCOPE.DC-FORUM.MANAGE-FORUM * @permissionScope Manage Forums * @permissionScopeId SCOPE.DC-FORUM.MANAGE-FORUM * @applicableIdentity APP * @adminMethod * @fqn com.wixpress.npm.communities.forum.api.CategoryManagementService.UnsubscribeContactFromCategory */ function unsubscribeContactFromCategory(categoryId: string, options?: UnsubscribeContactFromCategoryOptions): Promise; interface UnsubscribeContactFromCategoryOptions { /** Contact ID. */ contactId?: string | null; } type forumV1CategoryCategories_universal_d_Category = Category; type forumV1CategoryCategories_universal_d_HeaderType = HeaderType; const forumV1CategoryCategories_universal_d_HeaderType: typeof HeaderType; type forumV1CategoryCategories_universal_d_FocalPoint = FocalPoint; type forumV1CategoryCategories_universal_d_ColorComponent = ColorComponent; type forumV1CategoryCategories_universal_d_PostType = PostType; const forumV1CategoryCategories_universal_d_PostType: typeof PostType; type forumV1CategoryCategories_universal_d_Access = Access; const forumV1CategoryCategories_universal_d_Access: typeof Access; type forumV1CategoryCategories_universal_d_Interaction = Interaction; const forumV1CategoryCategories_universal_d_Interaction: typeof Interaction; type forumV1CategoryCategories_universal_d_Reaction = Reaction; type forumV1CategoryCategories_universal_d_ReactionReactionOneOf = ReactionReactionOneOf; type forumV1CategoryCategories_universal_d_Type = Type; const forumV1CategoryCategories_universal_d_Type: typeof Type; type forumV1CategoryCategories_universal_d_PostInteraction = PostInteraction; const forumV1CategoryCategories_universal_d_PostInteraction: typeof PostInteraction; type forumV1CategoryCategories_universal_d_CommentOrder = CommentOrder; const forumV1CategoryCategories_universal_d_CommentOrder: typeof CommentOrder; type forumV1CategoryCategories_universal_d_SeoSchema = SeoSchema; type forumV1CategoryCategories_universal_d_Keyword = Keyword; type forumV1CategoryCategories_universal_d_Tag = Tag; type forumV1CategoryCategories_universal_d_Settings = Settings; type forumV1CategoryCategories_universal_d_CategoryRequest = CategoryRequest; type forumV1CategoryCategories_universal_d_CategoryFieldField = CategoryFieldField; const forumV1CategoryCategories_universal_d_CategoryFieldField: typeof CategoryFieldField; type forumV1CategoryCategories_universal_d_Field = Field; const forumV1CategoryCategories_universal_d_Field: typeof Field; type forumV1CategoryCategories_universal_d_CategoryResponse = CategoryResponse; type forumV1CategoryCategories_universal_d_CategorySlugRequest = CategorySlugRequest; type forumV1CategoryCategories_universal_d_QueryCategoriesRequest = QueryCategoriesRequest; type forumV1CategoryCategories_universal_d_CategoriesPaging = CategoriesPaging; type forumV1CategoryCategories_universal_d_CategoriesSort = CategoriesSort; type forumV1CategoryCategories_universal_d_Order = Order; const forumV1CategoryCategories_universal_d_Order: typeof Order; type forumV1CategoryCategories_universal_d_QueryCategoriesResponse = QueryCategoriesResponse; type forumV1CategoryCategories_universal_d_QueryCategoriesResponseMetaData = QueryCategoriesResponseMetaData; type forumV1CategoryCategories_universal_d_MarkCategoryReadRequest = MarkCategoryReadRequest; type forumV1CategoryCategories_universal_d_MarkCategoryReadResponse = MarkCategoryReadResponse; type forumV1CategoryCategories_universal_d_MarkAllPostsAsReadRequest = MarkAllPostsAsReadRequest; type forumV1CategoryCategories_universal_d_MarkAllPostsAsReadResponse = MarkAllPostsAsReadResponse; type forumV1CategoryCategories_universal_d_CreateCategoryRequest = CreateCategoryRequest; type forumV1CategoryCategories_universal_d_UpdateCategoryRequest = UpdateCategoryRequest; type forumV1CategoryCategories_universal_d_DeleteCategoryRequest = DeleteCategoryRequest; type forumV1CategoryCategories_universal_d_DeleteCategoryResponse = DeleteCategoryResponse; type forumV1CategoryCategories_universal_d_SubscribeContactToCategoryRequest = SubscribeContactToCategoryRequest; type forumV1CategoryCategories_universal_d_SubscribeContactToCategoryResponse = SubscribeContactToCategoryResponse; type forumV1CategoryCategories_universal_d_UnsubscribeContactFromCategoryRequest = UnsubscribeContactFromCategoryRequest; type forumV1CategoryCategories_universal_d_UnsubscribeContactFromCategoryResponse = UnsubscribeContactFromCategoryResponse; type forumV1CategoryCategories_universal_d_DomainEvent = DomainEvent; type forumV1CategoryCategories_universal_d_DomainEventBodyOneOf = DomainEventBodyOneOf; type forumV1CategoryCategories_universal_d_EntityCreatedEvent = EntityCreatedEvent; type forumV1CategoryCategories_universal_d_RestoreInfo = RestoreInfo; type forumV1CategoryCategories_universal_d_EntityUpdatedEvent = EntityUpdatedEvent; type forumV1CategoryCategories_universal_d_EntityDeletedEvent = EntityDeletedEvent; type forumV1CategoryCategories_universal_d_ActionEvent = ActionEvent; type forumV1CategoryCategories_universal_d_MessageEnvelope = MessageEnvelope; type forumV1CategoryCategories_universal_d_IdentificationData = IdentificationData; type forumV1CategoryCategories_universal_d_IdentificationDataIdOneOf = IdentificationDataIdOneOf; type forumV1CategoryCategories_universal_d_WebhookIdentityType = WebhookIdentityType; const forumV1CategoryCategories_universal_d_WebhookIdentityType: typeof WebhookIdentityType; const forumV1CategoryCategories_universal_d_getCategory: typeof getCategory; type forumV1CategoryCategories_universal_d_GetCategoryOptions = GetCategoryOptions; const forumV1CategoryCategories_universal_d_getCategoryBySlug: typeof getCategoryBySlug; type forumV1CategoryCategories_universal_d_GetCategoryBySlugOptions = GetCategoryBySlugOptions; const forumV1CategoryCategories_universal_d_queryCategories: typeof queryCategories; type forumV1CategoryCategories_universal_d_QueryCategoriesOptions = QueryCategoriesOptions; type forumV1CategoryCategories_universal_d_MarkAllPostsAsReadOptions = MarkAllPostsAsReadOptions; type forumV1CategoryCategories_universal_d_CreateCategoryOptions = CreateCategoryOptions; type forumV1CategoryCategories_universal_d_UpdateCategoryOptions = UpdateCategoryOptions; const forumV1CategoryCategories_universal_d_subscribeContactToCategory: typeof subscribeContactToCategory; type forumV1CategoryCategories_universal_d_SubscribeContactToCategoryOptions = SubscribeContactToCategoryOptions; const forumV1CategoryCategories_universal_d_unsubscribeContactFromCategory: typeof unsubscribeContactFromCategory; type forumV1CategoryCategories_universal_d_UnsubscribeContactFromCategoryOptions = UnsubscribeContactFromCategoryOptions; namespace forumV1CategoryCategories_universal_d { export { forumV1CategoryCategories_universal_d_Category as Category, forumV1CategoryCategories_universal_d_HeaderType as HeaderType, forumV1CategoryCategories_universal_d_FocalPoint as FocalPoint, forumV1CategoryCategories_universal_d_ColorComponent as ColorComponent, forumV1CategoryCategories_universal_d_PostType as PostType, forumV1CategoryCategories_universal_d_Access as Access, forumV1CategoryCategories_universal_d_Interaction as Interaction, forumV1CategoryCategories_universal_d_Reaction as Reaction, forumV1CategoryCategories_universal_d_ReactionReactionOneOf as ReactionReactionOneOf, forumV1CategoryCategories_universal_d_Type as Type, forumV1CategoryCategories_universal_d_PostInteraction as PostInteraction, forumV1CategoryCategories_universal_d_CommentOrder as CommentOrder, forumV1CategoryCategories_universal_d_SeoSchema as SeoSchema, forumV1CategoryCategories_universal_d_Keyword as Keyword, forumV1CategoryCategories_universal_d_Tag as Tag, forumV1CategoryCategories_universal_d_Settings as Settings, forumV1CategoryCategories_universal_d_CategoryRequest as CategoryRequest, forumV1CategoryCategories_universal_d_CategoryFieldField as CategoryFieldField, forumV1CategoryCategories_universal_d_Field as Field, forumV1CategoryCategories_universal_d_CategoryResponse as CategoryResponse, forumV1CategoryCategories_universal_d_CategorySlugRequest as CategorySlugRequest, forumV1CategoryCategories_universal_d_QueryCategoriesRequest as QueryCategoriesRequest, forumV1CategoryCategories_universal_d_CategoriesPaging as CategoriesPaging, forumV1CategoryCategories_universal_d_CategoriesSort as CategoriesSort, forumV1CategoryCategories_universal_d_Order as Order, forumV1CategoryCategories_universal_d_QueryCategoriesResponse as QueryCategoriesResponse, forumV1CategoryCategories_universal_d_QueryCategoriesResponseMetaData as QueryCategoriesResponseMetaData, forumV1CategoryCategories_universal_d_MarkCategoryReadRequest as MarkCategoryReadRequest, forumV1CategoryCategories_universal_d_MarkCategoryReadResponse as MarkCategoryReadResponse, forumV1CategoryCategories_universal_d_MarkAllPostsAsReadRequest as MarkAllPostsAsReadRequest, forumV1CategoryCategories_universal_d_MarkAllPostsAsReadResponse as MarkAllPostsAsReadResponse, forumV1CategoryCategories_universal_d_CreateCategoryRequest as CreateCategoryRequest, forumV1CategoryCategories_universal_d_UpdateCategoryRequest as UpdateCategoryRequest, forumV1CategoryCategories_universal_d_DeleteCategoryRequest as DeleteCategoryRequest, forumV1CategoryCategories_universal_d_DeleteCategoryResponse as DeleteCategoryResponse, forumV1CategoryCategories_universal_d_SubscribeContactToCategoryRequest as SubscribeContactToCategoryRequest, forumV1CategoryCategories_universal_d_SubscribeContactToCategoryResponse as SubscribeContactToCategoryResponse, forumV1CategoryCategories_universal_d_UnsubscribeContactFromCategoryRequest as UnsubscribeContactFromCategoryRequest, forumV1CategoryCategories_universal_d_UnsubscribeContactFromCategoryResponse as UnsubscribeContactFromCategoryResponse, forumV1CategoryCategories_universal_d_DomainEvent as DomainEvent, forumV1CategoryCategories_universal_d_DomainEventBodyOneOf as DomainEventBodyOneOf, forumV1CategoryCategories_universal_d_EntityCreatedEvent as EntityCreatedEvent, forumV1CategoryCategories_universal_d_RestoreInfo as RestoreInfo, forumV1CategoryCategories_universal_d_EntityUpdatedEvent as EntityUpdatedEvent, forumV1CategoryCategories_universal_d_EntityDeletedEvent as EntityDeletedEvent, forumV1CategoryCategories_universal_d_ActionEvent as ActionEvent, forumV1CategoryCategories_universal_d_MessageEnvelope as MessageEnvelope, forumV1CategoryCategories_universal_d_IdentificationData as IdentificationData, forumV1CategoryCategories_universal_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, forumV1CategoryCategories_universal_d_WebhookIdentityType as WebhookIdentityType, forumV1CategoryCategories_universal_d_getCategory as getCategory, forumV1CategoryCategories_universal_d_GetCategoryOptions as GetCategoryOptions, forumV1CategoryCategories_universal_d_getCategoryBySlug as getCategoryBySlug, forumV1CategoryCategories_universal_d_GetCategoryBySlugOptions as GetCategoryBySlugOptions, forumV1CategoryCategories_universal_d_queryCategories as queryCategories, forumV1CategoryCategories_universal_d_QueryCategoriesOptions as QueryCategoriesOptions, forumV1CategoryCategories_universal_d_MarkAllPostsAsReadOptions as MarkAllPostsAsReadOptions, forumV1CategoryCategories_universal_d_CreateCategoryOptions as CreateCategoryOptions, forumV1CategoryCategories_universal_d_UpdateCategoryOptions as UpdateCategoryOptions, forumV1CategoryCategories_universal_d_subscribeContactToCategory as subscribeContactToCategory, forumV1CategoryCategories_universal_d_SubscribeContactToCategoryOptions as SubscribeContactToCategoryOptions, forumV1CategoryCategories_universal_d_unsubscribeContactFromCategory as unsubscribeContactFromCategory, forumV1CategoryCategories_universal_d_UnsubscribeContactFromCategoryOptions as UnsubscribeContactFromCategoryOptions, }; } export { forumV1CategoryCategories_universal_d as categories, forumV1PostPosts_universal_d as posts }; }