@wix/auto_sdk_comments_comments 1.0.20 → 1.0.22

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.
Files changed (33) hide show
  1. package/build/cjs/index.d.ts +56 -21
  2. package/build/cjs/index.js +71 -18
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/{comments-v2-comment-comments.universal-kzUoSqmO.d.ts → index.typings.d.ts} +681 -21
  5. package/build/cjs/index.typings.js +3890 -0
  6. package/build/cjs/index.typings.js.map +1 -0
  7. package/build/cjs/meta.d.ts +234 -21
  8. package/build/cjs/meta.js.map +1 -1
  9. package/build/es/index.d.mts +56 -21
  10. package/build/es/index.mjs +64 -18
  11. package/build/es/index.mjs.map +1 -1
  12. package/build/es/{comments-v2-comment-comments.universal-kzUoSqmO.d.mts → index.typings.d.mts} +681 -21
  13. package/build/es/index.typings.mjs +3805 -0
  14. package/build/es/index.typings.mjs.map +1 -0
  15. package/build/es/meta.d.mts +234 -21
  16. package/build/es/meta.mjs.map +1 -1
  17. package/build/internal/cjs/index.d.ts +56 -21
  18. package/build/internal/cjs/index.js +71 -18
  19. package/build/internal/cjs/index.js.map +1 -1
  20. package/build/internal/cjs/{comments-v2-comment-comments.universal-kzUoSqmO.d.ts → index.typings.d.ts} +681 -21
  21. package/build/internal/cjs/index.typings.js +3890 -0
  22. package/build/internal/cjs/index.typings.js.map +1 -0
  23. package/build/internal/cjs/meta.d.ts +234 -21
  24. package/build/internal/cjs/meta.js.map +1 -1
  25. package/build/internal/es/index.d.mts +56 -21
  26. package/build/internal/es/index.mjs +64 -18
  27. package/build/internal/es/index.mjs.map +1 -1
  28. package/build/internal/es/{comments-v2-comment-comments.universal-kzUoSqmO.d.mts → index.typings.d.mts} +681 -21
  29. package/build/internal/es/index.typings.mjs +3805 -0
  30. package/build/internal/es/index.typings.mjs.map +1 -0
  31. package/build/internal/es/meta.d.mts +234 -21
  32. package/build/internal/es/meta.mjs.map +1 -1
  33. package/package.json +4 -3
@@ -1,7 +1,8 @@
1
- import { HttpClient, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
- import { C as Comment, U as UpdateComment, M as ModerateDraftContentOptions, a as ModerateDraftContentResponse, b as CommentsQueryBuilder, c as MarkCommentResponse, d as UnmarkCommentResponse, H as HideCommentResponse, P as PublishCommentResponse, e as CountCommentsOptions, f as CountCommentsResponse, L as ListCommentsByResourceOptions, g as ListCommentsByResourceResponse, G as GetCommentThreadOptions, h as GetCommentThreadResponse, B as BulkPublishCommentOptions, i as BulkPublishCommentResponse, j as BulkHideCommentOptions, k as BulkHideCommentResponse, l as BulkDeleteCommentOptions, m as BulkDeleteCommentResponse, n as BulkModerateDraftContentOptions, o as BulkModerateDraftContentResponse, p as BulkMoveCommentByFilterOptions, q as BulkMoveCommentByFilterResponse, r as CommentContentChangedEnvelope, s as CommentHiddenEnvelope, t as CommentMarkedEnvelope, u as CommentMovedEnvelope, v as CommentPublishedEnvelope, w as CommentUnmarkedEnvelope, x as CommentCreatedEnvelope, y as CommentResourceCommentCountChangedEnvelope, z as CommentUpdatedEnvelope } from './comments-v2-comment-comments.universal-kzUoSqmO.mjs';
3
- export { ac as Action, cU as ActionEvent, J as Alignment, bh as AnchorData, bn as AppEmbedData, bo as AppEmbedDataAppDataOneOf, a5 as AppType, bN as Attachment, bO as AttachmentMediaOneOf, bC as AudioData, b7 as Background, b8 as BackgroundBackgroundOneOf, a2 as BackgroundType, cY as BaseEventMetadata, bF as BlockquoteData, bp as BookingData, an as Border, bA as BorderColors, cJ as BulkDeleteCommentRequest, cI as BulkHideCommentRequest, cK as BulkModerateDraftContentRequest, cL as BulkMoveCommentByFilterRequest, cH as BulkPublishCommentRequest, bE as BulletedListData, am as ButtonData, bG as CaptionData, bz as CellStyle, ay as CodeBlockData, bv as CollapsibleListData, bi as ColorData, ao as Colors, bS as CommentAuthor, bT as CommentAuthorIdentityOneOf, ah as CommentContent, cf as CommentContentChanged, ci as CommentDeleted, cl as CommentHidden, cv as CommentMarked, c6 as CommentModerated, cN as CommentMoved, ck as CommentPublished, bW as CommentReactionSummary, cC as CommentSort, cx as CommentUnmarked, c_ as CommentsQueryResult, c8 as ContactDetails, bQ as ContentAuthor, bR as ContentAuthorAuthorOneOf, cA as CountCommentsRequest, c7 as CreateCommentRequest, c9 as CreateCommentResponse, Q as Crop, cq as CursorPaging, cs as CursorPagingMetadata, cn as CursorQuery, co as CursorQueryPagingMethodOneOf, ct as Cursors, bf as Decoration, bg as DecorationDataOneOf, a3 as DecorationType, c0 as DeleteByFilterOperation, b$ as DeleteByIdsOperation, cg as DeleteCommentRequest, ch as DeleteCommentResponse, bd as Design, cM as Destination, bx as Dimensions, a7 as Direction, aA as DividerData, bJ as DocumentStyle, cO as DomainEvent, cP as DomainEventBodyOneOf, bt as EmbedData, cQ as EntityCreatedEvent, cT as EntityDeletedEvent, cS as EntityUpdatedEvent, bq as EventData, cZ as EventMetadata, aB as FileData, aC as FileSource, aD as FileSourceDataOneOf, bl as FontSizeData, a4 as FontType, aQ as GIF, aP as GIFData, S as GIFType, aF as GalleryData, aL as GalleryOptions, cb as GetCommentRequest, cc as GetCommentResponse, cG as GetCommentThreadRequest, b6 as Gradient, aS as HTMLData, aT as HTMLDataDataOneOf, aR as HeadingData, at as Height, cy as HideCommentRequest, cW as IdentificationData, cX as IdentificationDataIdOneOf, aH as Image, aU as ImageData, aW as ImageDataStyles, a6 as InitialExpandedItems, bZ as InternalDocument, c1 as InternalDocumentUpdateByFilterOperation, b_ as InternalDocumentUpdateOperation, c2 as InternalUpdateExistingOperation, aJ as Item, aK as ItemDataOneOf, aN as ItemStyle, aM as Layout, bH as LayoutCellData, K as LayoutType, F as LineStyle, av as Link, bj as LinkData, aw as LinkDataOneOf, aX as LinkPreviewData, aY as LinkPreviewDataStyles, cE as ListCommentsByResourceCursorPaging, cB as ListCommentsByResourceRequest, bB as ListValue, aZ as MapData, a_ as MapSettings, Z as MapType, cu as MarkCommentRequest, aG as Media, bL as Mention, bk as MentionData, bM as MentionIdentityOneOf, cV as MessageEnvelope, bI as Metadata, cj as ModerateDraftContentRequest, aj as Node, ak as NodeDataOneOf, al as NodeStyle, N as NodeType, a9 as NullValue, bu as Oembed, b2 as Option, ba as OptionDesign, b5 as OptionLayout, ae as Order, bD as OrderedListData, O as Orientation, aE as PDFSettings, a$ as ParagraphData, bU as ParentComment, b1 as Permissions, bs as PlaybackOptions, ap as PluginContainerData, A as PluginContainerDataAlignment, aq as PluginContainerDataWidth, ar as PluginContainerDataWidthDataOneOf, bb as Poll, b0 as PollData, bc as PollDataLayout, b9 as PollDesign, b4 as PollLayout, a1 as PollLayoutDirection, a0 as PollLayoutType, Y as Position, cz as PublishCommentRequest, cm as QueryCommentsRequest, cr as QueryCommentsResponse, ax as Rel, cF as RepliesListResponse, cD as ReplySort, af as ReplySortOrder, ca as ResourceCommentCountChanged, cR as RestoreInfo, ai as RichContent, b3 as Settings, ad as SortOrder, cp as Sorting, X as Source, as as Spoiler, bm as SpoilerData, aa as Status, au as Styles, aV as StylesBorder, by as TableCellData, bw as TableData, D as Target, E as TextAlignment, be as TextData, bK as TextNodeStyle, az as TextStyle, aO as Thumbnails, R as ThumbnailsAlignment, T as Type, cw as UnmarkCommentRequest, cd as UpdateCommentRequest, ce as UpdateCommentResponse, bX as UpdateInternalDocumentsEvent, bY as UpdateInternalDocumentsEventOperationOneOf, c4 as VersionedDeleteByIdsOperation, c5 as VersionedDocumentId, c3 as VersionedDocumentUpdateOperation, ab as VersioningMode, a8 as VerticalAlignment, aI as Video, br as VideoData, bP as VideoResolution, V as ViewMode, _ as ViewRole, $ as VoteRole, bV as VoteSummary, ag as WebhookIdentityType, I as Width, W as WidthType } from './comments-v2-comment-comments.universal-kzUoSqmO.mjs';
1
+ import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
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, CommentResourceCommentCountChangedEnvelope, CommentUpdatedEnvelope } from './index.typings.mjs';
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.mjs';
4
4
 
5
+ type CommentNonNullablePaths = `content.mentions` | `content.attachments` | `parentComment.status` | `replyCount` | `voteSummary.netVoteCount` | `voteSummary.upvoteCount` | `voteSummary.downvoteCount` | `status` | `reactionSummary.total` | `marked`;
5
6
  declare function createComment$1(httpClient: HttpClient): CreateCommentSignature;
6
7
  interface CreateCommentSignature {
7
8
  /**
@@ -15,7 +16,9 @@ interface CreateCommentSignature {
15
16
  * @param - Comment to create.
16
17
  * @returns Created comment.
17
18
  */
18
- (comment: Comment): Promise<Comment>;
19
+ (comment: NonNullablePaths<Comment, `appId` | `content` | `contextId` | `resourceId`>): Promise<NonNullablePaths<Comment, CommentNonNullablePaths> & {
20
+ __applicationErrorsType?: CreateCommentApplicationErrors;
21
+ }>;
19
22
  }
20
23
  declare function getComment$1(httpClient: HttpClient): GetCommentSignature;
21
24
  interface GetCommentSignature {
@@ -24,7 +27,7 @@ interface GetCommentSignature {
24
27
  * @param - ID of the comment to retrieve.
25
28
  * @returns Retrieved comment.
26
29
  */
27
- (commentId: string): Promise<Comment>;
30
+ (commentId: string): Promise<NonNullablePaths<Comment, CommentNonNullablePaths>>;
28
31
  }
29
32
  declare function updateComment$1(httpClient: HttpClient): UpdateCommentSignature;
30
33
  interface UpdateCommentSignature {
@@ -37,7 +40,9 @@ interface UpdateCommentSignature {
37
40
  * @param - Comment ID.
38
41
  * @returns Updated comment.
39
42
  */
40
- (_id: string, comment: UpdateComment): Promise<Comment>;
43
+ (_id: string, comment: NonNullablePaths<UpdateComment, `revision`>): Promise<NonNullablePaths<Comment, CommentNonNullablePaths> & {
44
+ __applicationErrorsType?: UpdateCommentApplicationErrors;
45
+ }>;
41
46
  }
42
47
  declare function deleteComment$1(httpClient: HttpClient): DeleteCommentSignature;
43
48
  interface DeleteCommentSignature {
@@ -55,13 +60,20 @@ interface ModerateDraftContentSignature {
55
60
  * Moderates the draft content of a comment.
56
61
  *
57
62
  * - `APPROVE`: Moves `draftContent` to `content` and updates the comment `status` to `PUBLISHED`.
58
- * - `REJECT`: Clears `draftContent` if comment `status` is `PUBLISHED` or, if comment `status` is `PENDING` it will keep `draftContent` the same and change `status` to `HIDDEN`.
63
+ *
64
+ * - `REJECT`: Handles the draft content based on the current comment status:
65
+ * - If the comment `status` is `PUBLISHED`, clears `draftContent`.
66
+ * - If the comment `status` is `PENDING`, keeps `draftContent` unchanged and changes `status` to `HIDDEN`.
67
+ *
68
+ * To moderate multiple comments, call Bulk Moderate Draft Content.
59
69
  * @param - ID of the comment to moderate.
60
70
  * @param - Revision number, which increments by `1` each time the comment is updated.
61
71
  *
62
72
  * To prevent conflicting changes, the current `revision` must be passed when updating the comment.
63
73
  */
64
- (commentId: string, revision: string, options?: ModerateDraftContentOptions | undefined): Promise<ModerateDraftContentResponse>;
74
+ (commentId: string, revision: string, options?: ModerateDraftContentOptions): Promise<NonNullablePaths<ModerateDraftContentResponse, {
75
+ [P in CommentNonNullablePaths]: `comment.${P}`;
76
+ }[CommentNonNullablePaths]>>;
65
77
  }
66
78
  declare function queryComments$1(httpClient: HttpClient): QueryCommentsSignature;
67
79
  interface QueryCommentsSignature {
@@ -93,7 +105,9 @@ interface MarkCommentSignature {
93
105
  * See Sample Flows for an example.
94
106
  * @param - ID of the comment to mark.
95
107
  */
96
- (commentId: string): Promise<MarkCommentResponse>;
108
+ (commentId: string): Promise<NonNullablePaths<MarkCommentResponse, {
109
+ [P in CommentNonNullablePaths]: `comment.${P}`;
110
+ }[CommentNonNullablePaths]>>;
97
111
  }
98
112
  declare function unmarkComment$1(httpClient: HttpClient): UnmarkCommentSignature;
99
113
  interface UnmarkCommentSignature {
@@ -101,7 +115,9 @@ interface UnmarkCommentSignature {
101
115
  * Sets `marked` to `FALSE` to unmark a comment.
102
116
  * @param - ID of the comment to unmark.
103
117
  */
104
- (commentId: string): Promise<UnmarkCommentResponse>;
118
+ (commentId: string): Promise<NonNullablePaths<UnmarkCommentResponse, {
119
+ [P in CommentNonNullablePaths]: `comment.${P}`;
120
+ }[CommentNonNullablePaths]>>;
105
121
  }
106
122
  declare function hideComment$1(httpClient: HttpClient): HideCommentSignature;
107
123
  interface HideCommentSignature {
@@ -109,7 +125,9 @@ interface HideCommentSignature {
109
125
  * Hides a comment in a widget. The comment status becomes `HIDDEN`.
110
126
  * @param - ID of the comment to hide.
111
127
  */
112
- (commentId: string): Promise<HideCommentResponse>;
128
+ (commentId: string): Promise<NonNullablePaths<HideCommentResponse, {
129
+ [P in CommentNonNullablePaths]: `comment.${P}`;
130
+ }[CommentNonNullablePaths]>>;
113
131
  }
114
132
  declare function publishComment$1(httpClient: HttpClient): PublishCommentSignature;
115
133
  interface PublishCommentSignature {
@@ -119,7 +137,9 @@ interface PublishCommentSignature {
119
137
  * To publish a new comment, call Create Comment.
120
138
  * @param - ID of the comment to publish.
121
139
  */
122
- (commentId: string): Promise<PublishCommentResponse>;
140
+ (commentId: string): Promise<NonNullablePaths<PublishCommentResponse, {
141
+ [P in CommentNonNullablePaths]: `comment.${P}`;
142
+ }[CommentNonNullablePaths]>>;
123
143
  }
124
144
  declare function countComments$1(httpClient: HttpClient): CountCommentsSignature;
125
145
  interface CountCommentsSignature {
@@ -127,7 +147,9 @@ interface CountCommentsSignature {
127
147
  * Counts comments, given the specified filtering. Comments with the `HIDDEN` status are not included in the response.
128
148
  * @param - App ID to count the comments of.
129
149
  */
130
- (appId: string, options?: CountCommentsOptions | undefined): Promise<CountCommentsResponse>;
150
+ (appId: string, options?: CountCommentsOptions): Promise<NonNullablePaths<CountCommentsResponse, `count`> & {
151
+ __applicationErrorsType?: CountCommentsApplicationErrors;
152
+ }>;
131
153
  }
132
154
  declare function listCommentsByResource$1(httpClient: HttpClient): ListCommentsByResourceSignature;
133
155
  interface ListCommentsByResourceSignature {
@@ -135,7 +157,9 @@ interface ListCommentsByResourceSignature {
135
157
  * Lists published comments and replies from a specified resource, such as a blog post.
136
158
  * @param - ID of the app from which the comments are listed.
137
159
  */
138
- (appId: string, options?: ListCommentsByResourceOptions | undefined): Promise<ListCommentsByResourceResponse>;
160
+ (appId: string, options?: NonNullablePaths<ListCommentsByResourceOptions, `contextId` | `resourceId`>): Promise<NonNullablePaths<ListCommentsByResourceResponse, {
161
+ [P in CommentNonNullablePaths]: `comments.${number}.${P}`;
162
+ }[CommentNonNullablePaths]>>;
139
163
  }
140
164
  declare function getCommentThread$1(httpClient: HttpClient): GetCommentThreadSignature;
141
165
  interface GetCommentThreadSignature {
@@ -147,7 +171,9 @@ interface GetCommentThreadSignature {
147
171
  * 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.
148
172
  * @param - Comment ID.
149
173
  */
150
- (commentId: string, options?: GetCommentThreadOptions | undefined): Promise<GetCommentThreadResponse>;
174
+ (commentId: string, options?: GetCommentThreadOptions): Promise<NonNullablePaths<GetCommentThreadResponse, {
175
+ [P in CommentNonNullablePaths]: `comments.${number}.${P}`;
176
+ }[CommentNonNullablePaths]>>;
151
177
  }
152
178
  declare function bulkPublishComment$1(httpClient: HttpClient): BulkPublishCommentSignature;
153
179
  interface BulkPublishCommentSignature {
@@ -155,7 +181,7 @@ interface BulkPublishCommentSignature {
155
181
  * Publishes multiple comments with the `HIDDEN` status. The comment status becomes `PUBLISHED`.
156
182
  * @param - ID of the app where to publish the comment.
157
183
  */
158
- (appId: string, options: BulkPublishCommentOptions): Promise<BulkPublishCommentResponse>;
184
+ (appId: string, options: NonNullablePaths<BulkPublishCommentOptions, `filter`>): Promise<NonNullablePaths<BulkPublishCommentResponse, `jobId`>>;
159
185
  }
160
186
  declare function bulkHideComment$1(httpClient: HttpClient): BulkHideCommentSignature;
161
187
  interface BulkHideCommentSignature {
@@ -163,7 +189,7 @@ interface BulkHideCommentSignature {
163
189
  * Hides multiple comments. The comment status becomes `HIDDEN`.
164
190
  * @param - ID of the app where to hide the comments.
165
191
  */
166
- (appId: string, options: BulkHideCommentOptions): Promise<BulkHideCommentResponse>;
192
+ (appId: string, options: NonNullablePaths<BulkHideCommentOptions, `filter`>): Promise<NonNullablePaths<BulkHideCommentResponse, `jobId`>>;
167
193
  }
168
194
  declare function bulkDeleteComment$1(httpClient: HttpClient): BulkDeleteCommentSignature;
169
195
  interface BulkDeleteCommentSignature {
@@ -171,15 +197,24 @@ interface BulkDeleteCommentSignature {
171
197
  * Deletes multiple comments.
172
198
  * @param - ID of the app where to delete the comments.
173
199
  */
174
- (appId: string, options: BulkDeleteCommentOptions): Promise<BulkDeleteCommentResponse>;
200
+ (appId: string, options: NonNullablePaths<BulkDeleteCommentOptions, `filter`>): Promise<NonNullablePaths<BulkDeleteCommentResponse, `jobId`>>;
175
201
  }
176
202
  declare function bulkModerateDraftContent$1(httpClient: HttpClient): BulkModerateDraftContentSignature;
177
203
  interface BulkModerateDraftContentSignature {
178
204
  /**
179
- * Moderates the draft content of multiple comments.
205
+ * Moderates the draft content of multiple comments that match the specified filter.
206
+ *
207
+ * The same action, `APPROVE` or `REJECT`, applies to all comments that match the filter.
208
+ * - `APPROVE`: Moves `draftContent` to `content` and updates the comment `status` to `PUBLISHED`.
209
+ *
210
+ * - `REJECT`: Handles the draft content based on the current comment status:
211
+ * - If the comment `status` is `PUBLISHED`, clears `draftContent`.
212
+ * - If the comment `status` is `PENDING`, keeps `draftContent` unchanged and changes `status` to `HIDDEN`.
213
+ *
214
+ * To moderate a single comment, call Moderate Draft Content.
180
215
  * @param - ID of the app where to moderate the comments.
181
216
  */
182
- (appId: string, options: BulkModerateDraftContentOptions): Promise<BulkModerateDraftContentResponse>;
217
+ (appId: string, options: NonNullablePaths<BulkModerateDraftContentOptions, `draftContentAction` | `filter`>): Promise<NonNullablePaths<BulkModerateDraftContentResponse, `jobId`>>;
183
218
  }
184
219
  declare function bulkMoveCommentByFilter$1(httpClient: HttpClient): BulkMoveCommentByFilterSignature;
185
220
  interface BulkMoveCommentByFilterSignature {
@@ -187,7 +222,7 @@ interface BulkMoveCommentByFilterSignature {
187
222
  * Moves multiple comments to another resource.
188
223
  * @param - ID of the app from which to move the comments.
189
224
  */
190
- (appId: string, options?: BulkMoveCommentByFilterOptions | undefined): Promise<BulkMoveCommentByFilterResponse>;
225
+ (appId: string, options?: NonNullablePaths<BulkMoveCommentByFilterOptions, `destination.contextId` | `destination.resourceId` | `filter`>): Promise<NonNullablePaths<BulkMoveCommentByFilterResponse, `jobId`>>;
191
226
  }
192
227
  declare const onCommentContentChanged$1: EventDefinition<CommentContentChangedEnvelope, "wix.comments.v2.comment_comment_content_changed">;
193
228
  declare const onCommentHidden$1: EventDefinition<CommentHiddenEnvelope, "wix.comments.v2.comment_comment_hidden">;
@@ -2518,11 +2518,11 @@ var PluginContainerDataAlignment = /* @__PURE__ */ ((PluginContainerDataAlignmen
2518
2518
  PluginContainerDataAlignment2["RIGHT"] = "RIGHT";
2519
2519
  return PluginContainerDataAlignment2;
2520
2520
  })(PluginContainerDataAlignment || {});
2521
- var Type = /* @__PURE__ */ ((Type2) => {
2522
- Type2["LINK"] = "LINK";
2523
- Type2["ACTION"] = "ACTION";
2524
- return Type2;
2525
- })(Type || {});
2521
+ var ButtonDataType = /* @__PURE__ */ ((ButtonDataType2) => {
2522
+ ButtonDataType2["LINK"] = "LINK";
2523
+ ButtonDataType2["ACTION"] = "ACTION";
2524
+ return ButtonDataType2;
2525
+ })(ButtonDataType || {});
2526
2526
  var Target = /* @__PURE__ */ ((Target2) => {
2527
2527
  Target2["SELF"] = "SELF";
2528
2528
  Target2["BLANK"] = "BLANK";
@@ -2551,12 +2551,12 @@ var Width = /* @__PURE__ */ ((Width2) => {
2551
2551
  Width2["SMALL"] = "SMALL";
2552
2552
  return Width2;
2553
2553
  })(Width || {});
2554
- var Alignment = /* @__PURE__ */ ((Alignment2) => {
2555
- Alignment2["CENTER"] = "CENTER";
2556
- Alignment2["LEFT"] = "LEFT";
2557
- Alignment2["RIGHT"] = "RIGHT";
2558
- return Alignment2;
2559
- })(Alignment || {});
2554
+ var DividerDataAlignment = /* @__PURE__ */ ((DividerDataAlignment2) => {
2555
+ DividerDataAlignment2["CENTER"] = "CENTER";
2556
+ DividerDataAlignment2["LEFT"] = "LEFT";
2557
+ DividerDataAlignment2["RIGHT"] = "RIGHT";
2558
+ return DividerDataAlignment2;
2559
+ })(DividerDataAlignment || {});
2560
2560
  var ViewMode = /* @__PURE__ */ ((ViewMode2) => {
2561
2561
  ViewMode2["NONE"] = "NONE";
2562
2562
  ViewMode2["FULL"] = "FULL";
@@ -2604,13 +2604,13 @@ var Source = /* @__PURE__ */ ((Source2) => {
2604
2604
  Source2["ADSENSE"] = "ADSENSE";
2605
2605
  return Source2;
2606
2606
  })(Source || {});
2607
- var Position = /* @__PURE__ */ ((Position2) => {
2608
- Position2["START"] = "START";
2609
- Position2["END"] = "END";
2610
- Position2["TOP"] = "TOP";
2611
- Position2["HIDDEN"] = "HIDDEN";
2612
- return Position2;
2613
- })(Position || {});
2607
+ var StylesPosition = /* @__PURE__ */ ((StylesPosition2) => {
2608
+ StylesPosition2["START"] = "START";
2609
+ StylesPosition2["END"] = "END";
2610
+ StylesPosition2["TOP"] = "TOP";
2611
+ StylesPosition2["HIDDEN"] = "HIDDEN";
2612
+ return StylesPosition2;
2613
+ })(StylesPosition || {});
2614
2614
  var MapType = /* @__PURE__ */ ((MapType2) => {
2615
2615
  MapType2["ROADMAP"] = "ROADMAP";
2616
2616
  MapType2["SATELITE"] = "SATELITE";
@@ -2657,6 +2657,8 @@ var DecorationType = /* @__PURE__ */ ((DecorationType2) => {
2657
2657
  DecorationType2["FONT_SIZE"] = "FONT_SIZE";
2658
2658
  DecorationType2["EXTERNAL"] = "EXTERNAL";
2659
2659
  DecorationType2["STRIKETHROUGH"] = "STRIKETHROUGH";
2660
+ DecorationType2["SUPERSCRIPT"] = "SUPERSCRIPT";
2661
+ DecorationType2["SUBSCRIPT"] = "SUBSCRIPT";
2660
2662
  return DecorationType2;
2661
2663
  })(DecorationType || {});
2662
2664
  var FontType = /* @__PURE__ */ ((FontType2) => {
@@ -2664,6 +2666,43 @@ var FontType = /* @__PURE__ */ ((FontType2) => {
2664
2666
  FontType2["EM"] = "EM";
2665
2667
  return FontType2;
2666
2668
  })(FontType || {});
2669
+ var Position = /* @__PURE__ */ ((Position2) => {
2670
+ Position2["START"] = "START";
2671
+ Position2["END"] = "END";
2672
+ Position2["TOP"] = "TOP";
2673
+ return Position2;
2674
+ })(Position || {});
2675
+ var AspectRatio = /* @__PURE__ */ ((AspectRatio2) => {
2676
+ AspectRatio2["SQUARE"] = "SQUARE";
2677
+ AspectRatio2["RECTANGLE"] = "RECTANGLE";
2678
+ return AspectRatio2;
2679
+ })(AspectRatio || {});
2680
+ var Resizing = /* @__PURE__ */ ((Resizing2) => {
2681
+ Resizing2["FILL"] = "FILL";
2682
+ Resizing2["FIT"] = "FIT";
2683
+ return Resizing2;
2684
+ })(Resizing || {});
2685
+ var Placement = /* @__PURE__ */ ((Placement2) => {
2686
+ Placement2["IMAGE"] = "IMAGE";
2687
+ Placement2["PRODUCT_INFO"] = "PRODUCT_INFO";
2688
+ return Placement2;
2689
+ })(Placement || {});
2690
+ var Type = /* @__PURE__ */ ((Type2) => {
2691
+ Type2["CONTAINED"] = "CONTAINED";
2692
+ Type2["FRAMELESS"] = "FRAMELESS";
2693
+ return Type2;
2694
+ })(Type || {});
2695
+ var Alignment = /* @__PURE__ */ ((Alignment2) => {
2696
+ Alignment2["START"] = "START";
2697
+ Alignment2["CENTER"] = "CENTER";
2698
+ Alignment2["END"] = "END";
2699
+ return Alignment2;
2700
+ })(Alignment || {});
2701
+ var Layout = /* @__PURE__ */ ((Layout2) => {
2702
+ Layout2["STACKED"] = "STACKED";
2703
+ Layout2["SIDE_BY_SIDE"] = "SIDE_BY_SIDE";
2704
+ return Layout2;
2705
+ })(Layout || {});
2667
2706
  var AppType = /* @__PURE__ */ ((AppType2) => {
2668
2707
  AppType2["PRODUCT"] = "PRODUCT";
2669
2708
  AppType2["EVENT"] = "EVENT";
@@ -5117,13 +5156,17 @@ export {
5117
5156
  Action,
5118
5157
  Alignment,
5119
5158
  AppType,
5159
+ AspectRatio,
5120
5160
  BackgroundType,
5161
+ ButtonDataType,
5121
5162
  Crop,
5122
5163
  DecorationType,
5123
5164
  Direction,
5165
+ DividerDataAlignment,
5124
5166
  FontType,
5125
5167
  GIFType,
5126
5168
  InitialExpandedItems,
5169
+ Layout,
5127
5170
  LayoutType,
5128
5171
  LineStyle,
5129
5172
  MapType,
@@ -5131,14 +5174,17 @@ export {
5131
5174
  NullValue,
5132
5175
  Order,
5133
5176
  Orientation,
5177
+ Placement,
5134
5178
  PluginContainerDataAlignment,
5135
5179
  PollLayoutDirection,
5136
5180
  PollLayoutType,
5137
5181
  Position,
5138
5182
  ReplySortOrder,
5183
+ Resizing,
5139
5184
  SortOrder,
5140
5185
  Source,
5141
5186
  Status,
5187
+ StylesPosition,
5142
5188
  Target,
5143
5189
  TextAlignment,
5144
5190
  ThumbnailsAlignment,