@wix/auto_sdk_comments_comments 1.0.25 → 1.0.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,7 @@
1
1
  import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
2
  import { Comment, CreateCommentApplicationErrors, UpdateComment, UpdateCommentApplicationErrors, ModerateDraftContentOptions, ModerateDraftContentResponse, CommentsQueryBuilder, MarkCommentResponse, UnmarkCommentResponse, HideCommentResponse, PublishCommentResponse, CountCommentsOptions, CountCommentsResponse, CountCommentsApplicationErrors, ListCommentsByResourceOptions, ListCommentsByResourceResponse, GetCommentThreadOptions, GetCommentThreadResponse, BulkPublishCommentOptions, BulkPublishCommentResponse, BulkHideCommentOptions, BulkHideCommentResponse, BulkDeleteCommentOptions, BulkDeleteCommentResponse, BulkModerateDraftContentOptions, BulkModerateDraftContentResponse, BulkMoveCommentByFilterOptions, BulkMoveCommentByFilterResponse, CommentContentChangedEnvelope, CommentHiddenEnvelope, CommentMarkedEnvelope, CommentMovedEnvelope, CommentPublishedEnvelope, CommentUnmarkedEnvelope, CommentCreatedEnvelope, CommentDeletedEnvelope, CommentResourceCommentCountChangedEnvelope, CommentUpdatedEnvelope } from './index.typings.js';
3
- export { Action, ActionEvent, Alignment, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AspectRatio, Attachment, AttachmentMediaOneOf, AudioData, Background, BackgroundBackgroundOneOf, BackgroundType, BaseEventMetadata, BlockquoteData, BookingData, Border, BorderColors, BulkDeleteCommentRequest, BulkHideCommentRequest, BulkModerateDraftContentRequest, BulkMoveCommentByFilterRequest, BulkPublishCommentRequest, BulletedListData, ButtonData, ButtonDataType, ButtonStyles, CaptionData, CardStyles, CellStyle, CodeBlockData, CollapsibleListData, ColorData, Colors, CommentAuthor, CommentAuthorIdentityOneOf, CommentContent, CommentContentChanged, CommentDeleted, CommentHidden, CommentMarked, CommentModerated, CommentMoved, CommentPublished, CommentReactionSummary, CommentSort, CommentUnmarked, CommentsQueryResult, ContactDetails, ContentAuthor, ContentAuthorAuthorOneOf, CountCommentsRequest, CreateCommentRequest, CreateCommentResponse, Crop, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, Decoration, DecorationDataOneOf, DecorationType, DeleteByFilterOperation, DeleteByIdsOperation, DeleteCommentRequest, DeleteCommentResponse, Design, Destination, Dimensions, Direction, DividerData, DividerDataAlignment, DocumentStyle, DomainEvent, DomainEventBodyOneOf, EmbedData, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventData, EventMetadata, FileData, FileSource, FileSourceDataOneOf, FontSizeData, FontType, GIF, GIFData, GIFType, GalleryData, GalleryOptions, GalleryOptionsLayout, GetCommentRequest, GetCommentResponse, GetCommentThreadRequest, Gradient, HTMLData, HTMLDataDataOneOf, HeadingData, Height, HideCommentRequest, IdentificationData, IdentificationDataIdOneOf, Image, ImageData, ImageDataStyles, ImageStyles, InitialExpandedItems, InternalDocument, InternalDocumentUpdateByFilterOperation, InternalDocumentUpdateOperation, InternalUpdateExistingOperation, Item, ItemDataOneOf, ItemStyle, Layout, LayoutCellData, LayoutType, LineStyle, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListCommentsByResourceCursorPaging, ListCommentsByResourceRequest, ListValue, MapData, MapSettings, MapType, MarkCommentRequest, Media, Mention, MentionData, MentionIdentityOneOf, MessageEnvelope, Metadata, ModerateDraftContentRequest, Node, NodeDataOneOf, NodeStyle, NodeType, NullValue, Oembed, Option, OptionDesign, OptionLayout, Order, OrderedListData, Orientation, PDFSettings, ParagraphData, ParentComment, Permissions, Placement, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollLayout, PollLayoutDirection, PollLayoutType, Position, PublishCommentRequest, QueryCommentsRequest, QueryCommentsResponse, Rel, RepliesListResponse, ReplySort, ReplySortOrder, Resizing, ResourceCommentCountChanged, RestoreInfo, RibbonStyles, RichContent, Settings, SortOrder, Sorting, Source, Spoiler, SpoilerData, Status, Styles, StylesBorder, StylesPosition, TableCellData, TableData, Target, TextAlignment, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, Type, UnmarkCommentRequest, UpdateCommentRequest, UpdateCommentResponse, UpdateInternalDocumentsEvent, UpdateInternalDocumentsEventOperationOneOf, VersionedDeleteByIdsOperation, VersionedDocumentId, VersionedDocumentUpdateOperation, VersioningMode, VerticalAlignment, Video, VideoData, VideoResolution, ViewMode, ViewRole, VoteRole, VoteSummary, WebhookIdentityType, Width, WidthType } from './index.typings.js';
3
+ export { Action, ActionEvent, ActionWithLiterals, Alignment, AlignmentWithLiterals, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AppTypeWithLiterals, AspectRatio, AspectRatioWithLiterals, Attachment, AttachmentMediaOneOf, AudioData, Background, BackgroundBackgroundOneOf, BackgroundType, BackgroundTypeWithLiterals, BaseEventMetadata, BlockquoteData, BookingData, Border, BorderColors, BulkDeleteCommentRequest, BulkHideCommentRequest, BulkModerateDraftContentRequest, BulkMoveCommentByFilterRequest, BulkPublishCommentRequest, BulletedListData, ButtonData, ButtonDataType, ButtonDataTypeWithLiterals, ButtonStyles, CaptionData, CardStyles, CellStyle, CodeBlockData, CollapsibleListData, ColorData, Colors, CommentAuthor, CommentAuthorIdentityOneOf, CommentContent, CommentContentChanged, CommentDeleted, CommentHidden, CommentMarked, CommentModerated, CommentMoved, CommentPublished, CommentReactionSummary, CommentSort, CommentUnmarked, CommentsQueryResult, ContactDetails, ContentAuthor, ContentAuthorAuthorOneOf, CountCommentsRequest, CreateCommentRequest, CreateCommentResponse, Crop, CropWithLiterals, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, Decoration, DecorationDataOneOf, DecorationType, DecorationTypeWithLiterals, DeleteByFilterOperation, DeleteByIdsOperation, DeleteCommentRequest, DeleteCommentResponse, Design, Destination, Dimensions, Direction, DirectionWithLiterals, DividerData, DividerDataAlignment, DividerDataAlignmentWithLiterals, DocumentStyle, DomainEvent, DomainEventBodyOneOf, EmbedData, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventData, EventMetadata, FileData, FileSource, FileSourceDataOneOf, FontSizeData, FontType, FontTypeWithLiterals, GIF, GIFData, GIFType, GIFTypeWithLiterals, GalleryData, GalleryOptions, GalleryOptionsLayout, GetCommentRequest, GetCommentResponse, GetCommentThreadRequest, Gradient, HTMLData, HTMLDataDataOneOf, HeadingData, Height, HideCommentRequest, IdentificationData, IdentificationDataIdOneOf, Image, ImageData, ImageDataStyles, ImageStyles, InitialExpandedItems, InitialExpandedItemsWithLiterals, InternalDocument, InternalDocumentUpdateByFilterOperation, InternalDocumentUpdateOperation, InternalUpdateExistingOperation, Item, ItemDataOneOf, ItemStyle, Layout, LayoutCellData, LayoutType, LayoutTypeWithLiterals, LayoutWithLiterals, LineStyle, LineStyleWithLiterals, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListCommentsByResourceCursorPaging, ListCommentsByResourceRequest, ListValue, MapData, MapSettings, MapType, MapTypeWithLiterals, MarkCommentRequest, Media, Mention, MentionData, MentionIdentityOneOf, MessageEnvelope, Metadata, ModerateDraftContentRequest, Node, NodeDataOneOf, NodeStyle, NodeType, NodeTypeWithLiterals, NullValue, NullValueWithLiterals, Oembed, Option, OptionDesign, OptionLayout, Order, OrderWithLiterals, OrderedListData, Orientation, OrientationWithLiterals, PDFSettings, ParagraphData, ParentComment, Permissions, Placement, PlacementWithLiterals, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataAlignmentWithLiterals, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollLayout, PollLayoutDirection, PollLayoutDirectionWithLiterals, PollLayoutType, PollLayoutTypeWithLiterals, Position, PositionWithLiterals, PricingData, PublishCommentRequest, QueryCommentsRequest, QueryCommentsResponse, Rel, RepliesListResponse, ReplySort, ReplySortOrder, ReplySortOrderWithLiterals, Resizing, ResizingWithLiterals, ResourceCommentCountChanged, RestoreInfo, RibbonStyles, RichContent, Settings, SortOrder, SortOrderWithLiterals, Sorting, Source, SourceWithLiterals, Spoiler, SpoilerData, Status, StatusWithLiterals, Styles, StylesBorder, StylesPosition, StylesPositionWithLiterals, TableCellData, TableData, Target, TargetWithLiterals, TextAlignment, TextAlignmentWithLiterals, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, ThumbnailsAlignmentWithLiterals, Type, TypeWithLiterals, UnmarkCommentRequest, UpdateCommentRequest, UpdateCommentResponse, UpdateInternalDocumentsEvent, UpdateInternalDocumentsEventOperationOneOf, VersionedDeleteByIdsOperation, VersionedDocumentId, VersionedDocumentUpdateOperation, VersioningMode, VersioningModeWithLiterals, VerticalAlignment, VerticalAlignmentWithLiterals, Video, VideoData, VideoResolution, ViewMode, ViewModeWithLiterals, ViewRole, ViewRoleWithLiterals, VoteRole, VoteRoleWithLiterals, VoteSummary, WebhookIdentityType, WebhookIdentityTypeWithLiterals, Width, WidthType, WidthTypeWithLiterals, WidthWithLiterals } from './index.typings.js';
4
4
 
5
- type CommentNonNullablePaths = `content.mentions` | `content.attachments` | `parentComment.status` | `replyCount` | `voteSummary.netVoteCount` | `voteSummary.upvoteCount` | `voteSummary.downvoteCount` | `status` | `reactionSummary.total` | `marked`;
6
5
  declare function createComment$1(httpClient: HttpClient): CreateCommentSignature;
7
6
  interface CreateCommentSignature {
8
7
  /**
@@ -16,7 +15,7 @@ interface CreateCommentSignature {
16
15
  * @param - Comment to create.
17
16
  * @returns Created comment.
18
17
  */
19
- (comment: NonNullablePaths<Comment, `appId` | `content` | `contextId` | `resourceId`>): Promise<NonNullablePaths<Comment, CommentNonNullablePaths> & {
18
+ (comment: NonNullablePaths<Comment, `appId` | `content` | `contextId` | `resourceId`, 2>): Promise<NonNullablePaths<Comment, `content.mentions` | `content.attachments` | `parentComment.status` | `replyCount` | `voteSummary.netVoteCount` | `voteSummary.upvoteCount` | `voteSummary.downvoteCount` | `status` | `reactionSummary.total` | `marked`, 3> & {
20
19
  __applicationErrorsType?: CreateCommentApplicationErrors;
21
20
  }>;
22
21
  }
@@ -27,7 +26,7 @@ interface GetCommentSignature {
27
26
  * @param - ID of the comment to retrieve.
28
27
  * @returns Retrieved comment.
29
28
  */
30
- (commentId: string): Promise<NonNullablePaths<Comment, CommentNonNullablePaths>>;
29
+ (commentId: string): Promise<NonNullablePaths<Comment, `content.mentions` | `content.attachments` | `parentComment.status` | `replyCount` | `voteSummary.netVoteCount` | `voteSummary.upvoteCount` | `voteSummary.downvoteCount` | `status` | `reactionSummary.total` | `marked`, 3>>;
31
30
  }
32
31
  declare function updateComment$1(httpClient: HttpClient): UpdateCommentSignature;
33
32
  interface UpdateCommentSignature {
@@ -40,7 +39,7 @@ interface UpdateCommentSignature {
40
39
  * @param - Comment ID.
41
40
  * @returns Updated comment.
42
41
  */
43
- (_id: string, comment: NonNullablePaths<UpdateComment, `revision`>): Promise<NonNullablePaths<Comment, CommentNonNullablePaths> & {
42
+ (_id: string, comment: NonNullablePaths<UpdateComment, `revision`, 2>): Promise<NonNullablePaths<Comment, `content.mentions` | `content.attachments` | `parentComment.status` | `replyCount` | `voteSummary.netVoteCount` | `voteSummary.upvoteCount` | `voteSummary.downvoteCount` | `status` | `reactionSummary.total` | `marked`, 3> & {
44
43
  __applicationErrorsType?: UpdateCommentApplicationErrors;
45
44
  }>;
46
45
  }
@@ -71,9 +70,7 @@ interface ModerateDraftContentSignature {
71
70
  *
72
71
  * To prevent conflicting changes, the current `revision` must be passed when updating the comment.
73
72
  */
74
- (commentId: string, revision: string, options?: ModerateDraftContentOptions): Promise<NonNullablePaths<ModerateDraftContentResponse, {
75
- [P in CommentNonNullablePaths]: `comment.${P}`;
76
- }[CommentNonNullablePaths]>>;
73
+ (commentId: string, revision: string, options?: ModerateDraftContentOptions): Promise<NonNullablePaths<ModerateDraftContentResponse, `comment.content.mentions` | `comment.content.attachments` | `comment.parentComment.status` | `comment.replyCount` | `comment.voteSummary.netVoteCount` | `comment.voteSummary.upvoteCount` | `comment.voteSummary.downvoteCount` | `comment.status` | `comment.reactionSummary.total` | `comment.marked`, 4>>;
77
74
  }
78
75
  declare function queryComments$1(httpClient: HttpClient): QueryCommentsSignature;
79
76
  interface QueryCommentsSignature {
@@ -105,9 +102,7 @@ interface MarkCommentSignature {
105
102
  * See Sample Flows for an example.
106
103
  * @param - ID of the comment to mark.
107
104
  */
108
- (commentId: string): Promise<NonNullablePaths<MarkCommentResponse, {
109
- [P in CommentNonNullablePaths]: `comment.${P}`;
110
- }[CommentNonNullablePaths]>>;
105
+ (commentId: string): Promise<NonNullablePaths<MarkCommentResponse, `comment.content.mentions` | `comment.content.attachments` | `comment.parentComment.status` | `comment.replyCount` | `comment.voteSummary.netVoteCount` | `comment.voteSummary.upvoteCount` | `comment.voteSummary.downvoteCount` | `comment.status` | `comment.reactionSummary.total` | `comment.marked`, 4>>;
111
106
  }
112
107
  declare function unmarkComment$1(httpClient: HttpClient): UnmarkCommentSignature;
113
108
  interface UnmarkCommentSignature {
@@ -115,9 +110,7 @@ interface UnmarkCommentSignature {
115
110
  * Sets `marked` to `FALSE` to unmark a comment.
116
111
  * @param - ID of the comment to unmark.
117
112
  */
118
- (commentId: string): Promise<NonNullablePaths<UnmarkCommentResponse, {
119
- [P in CommentNonNullablePaths]: `comment.${P}`;
120
- }[CommentNonNullablePaths]>>;
113
+ (commentId: string): Promise<NonNullablePaths<UnmarkCommentResponse, `comment.content.mentions` | `comment.content.attachments` | `comment.parentComment.status` | `comment.replyCount` | `comment.voteSummary.netVoteCount` | `comment.voteSummary.upvoteCount` | `comment.voteSummary.downvoteCount` | `comment.status` | `comment.reactionSummary.total` | `comment.marked`, 4>>;
121
114
  }
122
115
  declare function hideComment$1(httpClient: HttpClient): HideCommentSignature;
123
116
  interface HideCommentSignature {
@@ -125,9 +118,7 @@ interface HideCommentSignature {
125
118
  * Hides a comment in a widget. The comment status becomes `HIDDEN`.
126
119
  * @param - ID of the comment to hide.
127
120
  */
128
- (commentId: string): Promise<NonNullablePaths<HideCommentResponse, {
129
- [P in CommentNonNullablePaths]: `comment.${P}`;
130
- }[CommentNonNullablePaths]>>;
121
+ (commentId: string): Promise<NonNullablePaths<HideCommentResponse, `comment.content.mentions` | `comment.content.attachments` | `comment.parentComment.status` | `comment.replyCount` | `comment.voteSummary.netVoteCount` | `comment.voteSummary.upvoteCount` | `comment.voteSummary.downvoteCount` | `comment.status` | `comment.reactionSummary.total` | `comment.marked`, 4>>;
131
122
  }
132
123
  declare function publishComment$1(httpClient: HttpClient): PublishCommentSignature;
133
124
  interface PublishCommentSignature {
@@ -137,9 +128,7 @@ interface PublishCommentSignature {
137
128
  * To publish a new comment, call Create Comment.
138
129
  * @param - ID of the comment to publish.
139
130
  */
140
- (commentId: string): Promise<NonNullablePaths<PublishCommentResponse, {
141
- [P in CommentNonNullablePaths]: `comment.${P}`;
142
- }[CommentNonNullablePaths]>>;
131
+ (commentId: string): Promise<NonNullablePaths<PublishCommentResponse, `comment.content.mentions` | `comment.content.attachments` | `comment.parentComment.status` | `comment.replyCount` | `comment.voteSummary.netVoteCount` | `comment.voteSummary.upvoteCount` | `comment.voteSummary.downvoteCount` | `comment.status` | `comment.reactionSummary.total` | `comment.marked`, 4>>;
143
132
  }
144
133
  declare function countComments$1(httpClient: HttpClient): CountCommentsSignature;
145
134
  interface CountCommentsSignature {
@@ -147,7 +136,7 @@ interface CountCommentsSignature {
147
136
  * Counts comments, given the specified filtering. Comments with the `HIDDEN` status are not included in the response.
148
137
  * @param - App ID to count the comments of.
149
138
  */
150
- (appId: string, options?: CountCommentsOptions): Promise<NonNullablePaths<CountCommentsResponse, `count`> & {
139
+ (appId: string, options?: CountCommentsOptions): Promise<NonNullablePaths<CountCommentsResponse, `count`, 2> & {
151
140
  __applicationErrorsType?: CountCommentsApplicationErrors;
152
141
  }>;
153
142
  }
@@ -157,9 +146,7 @@ interface ListCommentsByResourceSignature {
157
146
  * Lists published comments and replies from a specified resource, such as a blog post.
158
147
  * @param - ID of the app from which the comments are listed.
159
148
  */
160
- (appId: string, options?: NonNullablePaths<ListCommentsByResourceOptions, `contextId` | `resourceId`>): Promise<NonNullablePaths<ListCommentsByResourceResponse, {
161
- [P in CommentNonNullablePaths]: `comments.${number}.${P}`;
162
- }[CommentNonNullablePaths]>>;
149
+ (appId: string, options?: NonNullablePaths<ListCommentsByResourceOptions, `contextId` | `resourceId`, 2>): Promise<NonNullablePaths<ListCommentsByResourceResponse, `comments` | `comments.${number}.parentComment.status` | `comments.${number}.replyCount` | `comments.${number}.voteSummary.netVoteCount` | `comments.${number}.voteSummary.upvoteCount` | `comments.${number}.voteSummary.downvoteCount` | `comments.${number}.status` | `comments.${number}.reactionSummary.total` | `comments.${number}.marked`, 5>>;
163
150
  }
164
151
  declare function getCommentThread$1(httpClient: HttpClient): GetCommentThreadSignature;
165
152
  interface GetCommentThreadSignature {
@@ -171,9 +158,7 @@ interface GetCommentThreadSignature {
171
158
  * If you request a reply thread, the method returns a reply with its parent comment. With cursors (`pagingMetadata.cursors.next` or `pagingMetadata.cursors.prev`) you can load replies by calling the List Comments by Resource method.
172
159
  * @param - Comment ID.
173
160
  */
174
- (commentId: string, options?: GetCommentThreadOptions): Promise<NonNullablePaths<GetCommentThreadResponse, {
175
- [P in CommentNonNullablePaths]: `comments.${number}.${P}`;
176
- }[CommentNonNullablePaths]>>;
161
+ (commentId: string, options?: GetCommentThreadOptions): Promise<NonNullablePaths<GetCommentThreadResponse, `comments` | `comments.${number}.parentComment.status` | `comments.${number}.replyCount` | `comments.${number}.voteSummary.netVoteCount` | `comments.${number}.voteSummary.upvoteCount` | `comments.${number}.voteSummary.downvoteCount` | `comments.${number}.status` | `comments.${number}.reactionSummary.total` | `comments.${number}.marked`, 5>>;
177
162
  }
178
163
  declare function bulkPublishComment$1(httpClient: HttpClient): BulkPublishCommentSignature;
179
164
  interface BulkPublishCommentSignature {
@@ -181,7 +166,7 @@ interface BulkPublishCommentSignature {
181
166
  * Publishes multiple comments with the `HIDDEN` status. The comment status becomes `PUBLISHED`.
182
167
  * @param - ID of the app where to publish the comment.
183
168
  */
184
- (appId: string, options: NonNullablePaths<BulkPublishCommentOptions, `filter`>): Promise<NonNullablePaths<BulkPublishCommentResponse, `jobId`>>;
169
+ (appId: string, options: NonNullablePaths<BulkPublishCommentOptions, `filter`, 2>): Promise<NonNullablePaths<BulkPublishCommentResponse, `jobId`, 2>>;
185
170
  }
186
171
  declare function bulkHideComment$1(httpClient: HttpClient): BulkHideCommentSignature;
187
172
  interface BulkHideCommentSignature {
@@ -189,7 +174,7 @@ interface BulkHideCommentSignature {
189
174
  * Hides multiple comments. The comment status becomes `HIDDEN`.
190
175
  * @param - ID of the app where to hide the comments.
191
176
  */
192
- (appId: string, options: NonNullablePaths<BulkHideCommentOptions, `filter`>): Promise<NonNullablePaths<BulkHideCommentResponse, `jobId`>>;
177
+ (appId: string, options: NonNullablePaths<BulkHideCommentOptions, `filter`, 2>): Promise<NonNullablePaths<BulkHideCommentResponse, `jobId`, 2>>;
193
178
  }
194
179
  declare function bulkDeleteComment$1(httpClient: HttpClient): BulkDeleteCommentSignature;
195
180
  interface BulkDeleteCommentSignature {
@@ -197,7 +182,7 @@ interface BulkDeleteCommentSignature {
197
182
  * Deletes multiple comments.
198
183
  * @param - ID of the app where to delete the comments.
199
184
  */
200
- (appId: string, options: NonNullablePaths<BulkDeleteCommentOptions, `filter`>): Promise<NonNullablePaths<BulkDeleteCommentResponse, `jobId`>>;
185
+ (appId: string, options: NonNullablePaths<BulkDeleteCommentOptions, `filter`, 2>): Promise<NonNullablePaths<BulkDeleteCommentResponse, `jobId`, 2>>;
201
186
  }
202
187
  declare function bulkModerateDraftContent$1(httpClient: HttpClient): BulkModerateDraftContentSignature;
203
188
  interface BulkModerateDraftContentSignature {
@@ -214,7 +199,7 @@ interface BulkModerateDraftContentSignature {
214
199
  * To moderate a single comment, call Moderate Draft Content.
215
200
  * @param - ID of the app where to moderate the comments.
216
201
  */
217
- (appId: string, options: NonNullablePaths<BulkModerateDraftContentOptions, `draftContentAction` | `filter`>): Promise<NonNullablePaths<BulkModerateDraftContentResponse, `jobId`>>;
202
+ (appId: string, options: NonNullablePaths<BulkModerateDraftContentOptions, `draftContentAction` | `filter`, 2>): Promise<NonNullablePaths<BulkModerateDraftContentResponse, `jobId`, 2>>;
218
203
  }
219
204
  declare function bulkMoveCommentByFilter$1(httpClient: HttpClient): BulkMoveCommentByFilterSignature;
220
205
  interface BulkMoveCommentByFilterSignature {
@@ -222,7 +207,7 @@ interface BulkMoveCommentByFilterSignature {
222
207
  * Moves multiple comments to another resource.
223
208
  * @param - ID of the app from which to move the comments.
224
209
  */
225
- (appId: string, options?: NonNullablePaths<BulkMoveCommentByFilterOptions, `destination.contextId` | `destination.resourceId` | `filter`>): Promise<NonNullablePaths<BulkMoveCommentByFilterResponse, `jobId`>>;
210
+ (appId: string, options?: NonNullablePaths<BulkMoveCommentByFilterOptions, `destination.contextId` | `destination.resourceId` | `filter`, 3>): Promise<NonNullablePaths<BulkMoveCommentByFilterResponse, `jobId`, 2>>;
226
211
  }
227
212
  declare const onCommentContentChanged$1: EventDefinition<CommentContentChangedEnvelope, "wix.comments.v2.comment_comment_content_changed">;
228
213
  declare const onCommentHidden$1: EventDefinition<CommentHiddenEnvelope, "wix.comments.v2.comment_comment_hidden">;
@@ -256,40 +241,40 @@ declare const bulkMoveCommentByFilter: MaybeContext<BuildRESTFunction<typeof bul
256
241
  /**
257
242
  * Triggered when comment content is updated.
258
243
  */
259
- declare const onCommentContentChanged: BuildEventDefinition<typeof onCommentContentChanged$1>;
244
+ declare const onCommentContentChanged: BuildEventDefinition<typeof onCommentContentChanged$1> & typeof onCommentContentChanged$1;
260
245
  /**
261
246
  * Triggered when a comment is hidden.
262
247
  */
263
- declare const onCommentHidden: BuildEventDefinition<typeof onCommentHidden$1>;
248
+ declare const onCommentHidden: BuildEventDefinition<typeof onCommentHidden$1> & typeof onCommentHidden$1;
264
249
  /**
265
250
  * Triggered when a comment is marked.
266
251
  */
267
- declare const onCommentMarked: BuildEventDefinition<typeof onCommentMarked$1>;
252
+ declare const onCommentMarked: BuildEventDefinition<typeof onCommentMarked$1> & typeof onCommentMarked$1;
268
253
  /**
269
254
  * Triggered when a comment is moved.
270
255
  */
271
- declare const onCommentMoved: BuildEventDefinition<typeof onCommentMoved$1>;
256
+ declare const onCommentMoved: BuildEventDefinition<typeof onCommentMoved$1> & typeof onCommentMoved$1;
272
257
  /**
273
258
  * Triggered when a comment is published.
274
259
  */
275
- declare const onCommentPublished: BuildEventDefinition<typeof onCommentPublished$1>;
260
+ declare const onCommentPublished: BuildEventDefinition<typeof onCommentPublished$1> & typeof onCommentPublished$1;
276
261
  /**
277
262
  * Triggered when a comment is unmarked.
278
263
  */
279
- declare const onCommentUnmarked: BuildEventDefinition<typeof onCommentUnmarked$1>;
264
+ declare const onCommentUnmarked: BuildEventDefinition<typeof onCommentUnmarked$1> & typeof onCommentUnmarked$1;
280
265
  /**
281
266
  * Triggered when a comment is created.
282
267
  */
283
- declare const onCommentCreated: BuildEventDefinition<typeof onCommentCreated$1>;
268
+ declare const onCommentCreated: BuildEventDefinition<typeof onCommentCreated$1> & typeof onCommentCreated$1;
284
269
  /** */
285
- declare const onCommentDeleted: BuildEventDefinition<typeof onCommentDeleted$1>;
270
+ declare const onCommentDeleted: BuildEventDefinition<typeof onCommentDeleted$1> & typeof onCommentDeleted$1;
286
271
  /**
287
272
  * Triggered when the total number of comments has changed in a resource.
288
273
  */
289
- declare const onCommentResourceCommentCountChanged: BuildEventDefinition<typeof onCommentResourceCommentCountChanged$1>;
274
+ declare const onCommentResourceCommentCountChanged: BuildEventDefinition<typeof onCommentResourceCommentCountChanged$1> & typeof onCommentResourceCommentCountChanged$1;
290
275
  /**
291
276
  * Triggered when a comment is updated.
292
277
  */
293
- declare const onCommentUpdated: BuildEventDefinition<typeof onCommentUpdated$1>;
278
+ declare const onCommentUpdated: BuildEventDefinition<typeof onCommentUpdated$1> & typeof onCommentUpdated$1;
294
279
 
295
- export { BulkDeleteCommentOptions, BulkDeleteCommentResponse, BulkHideCommentOptions, BulkHideCommentResponse, BulkModerateDraftContentOptions, BulkModerateDraftContentResponse, BulkMoveCommentByFilterOptions, BulkMoveCommentByFilterResponse, BulkPublishCommentOptions, BulkPublishCommentResponse, Comment, CommentContentChangedEnvelope, CommentCreatedEnvelope, CommentDeletedEnvelope, CommentHiddenEnvelope, CommentMarkedEnvelope, CommentMovedEnvelope, CommentPublishedEnvelope, CommentResourceCommentCountChangedEnvelope, CommentUnmarkedEnvelope, CommentUpdatedEnvelope, CommentsQueryBuilder, CountCommentsOptions, CountCommentsResponse, GetCommentThreadOptions, GetCommentThreadResponse, HideCommentResponse, ListCommentsByResourceOptions, ListCommentsByResourceResponse, MarkCommentResponse, ModerateDraftContentOptions, ModerateDraftContentResponse, PublishCommentResponse, UnmarkCommentResponse, UpdateComment, bulkDeleteComment, bulkHideComment, bulkModerateDraftContent, bulkMoveCommentByFilter, bulkPublishComment, countComments, createComment, deleteComment, getComment, getCommentThread, hideComment, listCommentsByResource, markComment, moderateDraftContent, onCommentContentChanged, onCommentCreated, onCommentDeleted, onCommentHidden, onCommentMarked, onCommentMoved, onCommentPublished, onCommentResourceCommentCountChanged, onCommentUnmarked, onCommentUpdated, publishComment, queryComments, unmarkComment, updateComment };
280
+ export { BulkDeleteCommentOptions, BulkDeleteCommentResponse, BulkHideCommentOptions, BulkHideCommentResponse, BulkModerateDraftContentOptions, BulkModerateDraftContentResponse, BulkMoveCommentByFilterOptions, BulkMoveCommentByFilterResponse, BulkPublishCommentOptions, BulkPublishCommentResponse, Comment, CommentContentChangedEnvelope, CommentCreatedEnvelope, CommentDeletedEnvelope, CommentHiddenEnvelope, CommentMarkedEnvelope, CommentMovedEnvelope, CommentPublishedEnvelope, CommentResourceCommentCountChangedEnvelope, CommentUnmarkedEnvelope, CommentUpdatedEnvelope, CommentsQueryBuilder, CountCommentsApplicationErrors, CountCommentsOptions, CountCommentsResponse, CreateCommentApplicationErrors, GetCommentThreadOptions, GetCommentThreadResponse, HideCommentResponse, ListCommentsByResourceOptions, ListCommentsByResourceResponse, MarkCommentResponse, ModerateDraftContentOptions, ModerateDraftContentResponse, PublishCommentResponse, UnmarkCommentResponse, UpdateComment, UpdateCommentApplicationErrors, bulkDeleteComment, bulkHideComment, bulkModerateDraftContent, bulkMoveCommentByFilter, bulkPublishComment, countComments, createComment, deleteComment, getComment, getCommentThread, hideComment, listCommentsByResource, markComment, moderateDraftContent, onCommentContentChanged, onCommentCreated, onCommentDeleted, onCommentHidden, onCommentMarked, onCommentMoved, onCommentPublished, onCommentResourceCommentCountChanged, onCommentUnmarked, onCommentUpdated, publishComment, queryComments, unmarkComment, updateComment };
@@ -5387,7 +5387,9 @@ var bulkHideComment4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule
5387
5387
  var bulkDeleteComment4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(bulkDeleteComment3);
5388
5388
  var bulkModerateDraftContent4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(bulkModerateDraftContent3);
5389
5389
  var bulkMoveCommentByFilter4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(bulkMoveCommentByFilter3);
5390
- var onCommentContentChanged2 = (0, import_event_definition_modules.createEventModule)(onCommentContentChanged);
5390
+ var onCommentContentChanged2 = (0, import_event_definition_modules.createEventModule)(
5391
+ onCommentContentChanged
5392
+ );
5391
5393
  var onCommentHidden2 = (0, import_event_definition_modules.createEventModule)(onCommentHidden);
5392
5394
  var onCommentMarked2 = (0, import_event_definition_modules.createEventModule)(onCommentMarked);
5393
5395
  var onCommentMoved2 = (0, import_event_definition_modules.createEventModule)(onCommentMoved);
@@ -5395,7 +5397,9 @@ var onCommentPublished2 = (0, import_event_definition_modules.createEventModule)
5395
5397
  var onCommentUnmarked2 = (0, import_event_definition_modules.createEventModule)(onCommentUnmarked);
5396
5398
  var onCommentCreated2 = (0, import_event_definition_modules.createEventModule)(onCommentCreated);
5397
5399
  var onCommentDeleted2 = (0, import_event_definition_modules.createEventModule)(onCommentDeleted);
5398
- var onCommentResourceCommentCountChanged2 = (0, import_event_definition_modules.createEventModule)(onCommentResourceCommentCountChanged);
5400
+ var onCommentResourceCommentCountChanged2 = (0, import_event_definition_modules.createEventModule)(
5401
+ onCommentResourceCommentCountChanged
5402
+ );
5399
5403
  var onCommentUpdated2 = (0, import_event_definition_modules.createEventModule)(onCommentUpdated);
5400
5404
  // Annotate the CommonJS export names for ESM import in node:
5401
5405
  0 && (module.exports = {