@wix/auto_sdk_comments_comments 1.0.22 → 1.0.24

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.
@@ -2959,7 +2959,6 @@ interface CommentHiddenEnvelope {
2959
2959
  * @eventType wix.comments.v2.comment_comment_hidden
2960
2960
  * @serviceIdentifier wix.comments.ng.v1.CommentsNg
2961
2961
  * @slug comment_hidden
2962
- * @documentationMaturity preview
2963
2962
  */
2964
2963
  declare function onCommentHidden(handler: (event: CommentHiddenEnvelope) => void | Promise<void>): void;
2965
2964
  interface CommentMarkedEnvelope {
@@ -2998,7 +2997,6 @@ interface CommentMovedEnvelope {
2998
2997
  * @eventType wix.comments.v2.comment_comment_moved
2999
2998
  * @serviceIdentifier wix.comments.ng.v1.CommentsNg
3000
2999
  * @slug comment_moved
3001
- * @documentationMaturity preview
3002
3000
  */
3003
3001
  declare function onCommentMoved(handler: (event: CommentMovedEnvelope) => void | Promise<void>): void;
3004
3002
  interface CommentPublishedEnvelope {
@@ -3018,7 +3016,6 @@ interface CommentPublishedEnvelope {
3018
3016
  * @eventType wix.comments.v2.comment_comment_published
3019
3017
  * @serviceIdentifier wix.comments.ng.v1.CommentsNg
3020
3018
  * @slug comment_published
3021
- * @documentationMaturity preview
3022
3019
  */
3023
3020
  declare function onCommentPublished(handler: (event: CommentPublishedEnvelope) => void | Promise<void>): void;
3024
3021
  interface CommentUnmarkedEnvelope {
@@ -3059,6 +3056,22 @@ interface CommentCreatedEnvelope {
3059
3056
  * @slug created
3060
3057
  */
3061
3058
  declare function onCommentCreated(handler: (event: CommentCreatedEnvelope) => void | Promise<void>): void;
3059
+ interface CommentDeletedEnvelope {
3060
+ metadata: EventMetadata;
3061
+ }
3062
+ /** @permissionScope Read Comments
3063
+ * @permissionScopeId SCOPE.DC_COMMENTS.READ.COMMENTS
3064
+ * @permissionScope Manage Blog
3065
+ * @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
3066
+ * @permissionScope Manage Comments
3067
+ * @permissionScopeId SCOPE.DC_COMMENTS.MANAGE.COMMENTS
3068
+ * @permissionId WIX_COMMENTS.COMMENT_READ
3069
+ * @webhook
3070
+ * @eventType wix.comments.v2.comment_deleted
3071
+ * @serviceIdentifier wix.comments.ng.v1.CommentsNg
3072
+ * @slug deleted
3073
+ */
3074
+ declare function onCommentDeleted(handler: (event: CommentDeletedEnvelope) => void | Promise<void>): void;
3062
3075
  interface CommentResourceCommentCountChangedEnvelope {
3063
3076
  data: ResourceCommentCountChanged;
3064
3077
  metadata: EventMetadata;
@@ -3283,7 +3296,6 @@ declare function deleteComment(commentId: string): Promise<void>;
3283
3296
  *
3284
3297
  * To prevent conflicting changes, the current `revision` must be passed when updating the comment.
3285
3298
  * @public
3286
- * @documentationMaturity preview
3287
3299
  * @requiredField commentId
3288
3300
  * @requiredField revision
3289
3301
  * @permissionId WIX_COMMENTS.COMMENT_MODERATE_DRAFT_CONTENT
@@ -3408,7 +3420,6 @@ declare function unmarkComment(commentId: string): Promise<NonNullablePaths<Unma
3408
3420
  * Hides a comment in a widget. The comment status becomes `HIDDEN`.
3409
3421
  * @param commentId - ID of the comment to hide.
3410
3422
  * @public
3411
- * @documentationMaturity preview
3412
3423
  * @requiredField commentId
3413
3424
  * @permissionId WIX_COMMENTS.COMMENT_HIDE
3414
3425
  * @applicableIdentity APP
@@ -3423,7 +3434,6 @@ declare function hideComment(commentId: string): Promise<NonNullablePaths<HideCo
3423
3434
  * To publish a new comment, call Create Comment.
3424
3435
  * @param commentId - ID of the comment to publish.
3425
3436
  * @public
3426
- * @documentationMaturity preview
3427
3437
  * @requiredField commentId
3428
3438
  * @permissionId WIX_COMMENTS.COMMENT_PUBLISH
3429
3439
  * @applicableIdentity APP
@@ -3452,7 +3462,6 @@ interface CountCommentsOptions {
3452
3462
  * Lists published comments and replies from a specified resource, such as a blog post.
3453
3463
  * @param appId - ID of the app from which the comments are listed.
3454
3464
  * @public
3455
- * @documentationMaturity preview
3456
3465
  * @requiredField appId
3457
3466
  * @requiredField options.contextId
3458
3467
  * @requiredField options.resourceId
@@ -3498,7 +3507,6 @@ interface ListCommentsByResourceOptions {
3498
3507
  * 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.
3499
3508
  * @param commentId - Comment ID.
3500
3509
  * @public
3501
- * @documentationMaturity preview
3502
3510
  * @requiredField commentId
3503
3511
  * @permissionId WIX_COMMENTS.COMMENT_THREAD
3504
3512
  * @applicableIdentity APP
@@ -3524,7 +3532,6 @@ interface GetCommentThreadOptions {
3524
3532
  * Publishes multiple comments with the `HIDDEN` status. The comment status becomes `PUBLISHED`.
3525
3533
  * @param appId - ID of the app where to publish the comment.
3526
3534
  * @public
3527
- * @documentationMaturity preview
3528
3535
  * @requiredField appId
3529
3536
  * @requiredField options
3530
3537
  * @requiredField options.filter
@@ -3541,7 +3548,6 @@ interface BulkPublishCommentOptions {
3541
3548
  * Hides multiple comments. The comment status becomes `HIDDEN`.
3542
3549
  * @param appId - ID of the app where to hide the comments.
3543
3550
  * @public
3544
- * @documentationMaturity preview
3545
3551
  * @requiredField appId
3546
3552
  * @requiredField options
3547
3553
  * @requiredField options.filter
@@ -3558,7 +3564,6 @@ interface BulkHideCommentOptions {
3558
3564
  * Deletes multiple comments.
3559
3565
  * @param appId - ID of the app where to delete the comments.
3560
3566
  * @public
3561
- * @documentationMaturity preview
3562
3567
  * @requiredField appId
3563
3568
  * @requiredField options
3564
3569
  * @requiredField options.filter
@@ -3584,7 +3589,6 @@ interface BulkDeleteCommentOptions {
3584
3589
  * To moderate a single comment, call Moderate Draft Content.
3585
3590
  * @param appId - ID of the app where to moderate the comments.
3586
3591
  * @public
3587
- * @documentationMaturity preview
3588
3592
  * @requiredField appId
3589
3593
  * @requiredField options
3590
3594
  * @requiredField options.draftContentAction
@@ -3604,7 +3608,6 @@ interface BulkModerateDraftContentOptions {
3604
3608
  * Moves multiple comments to another resource.
3605
3609
  * @param appId - ID of the app from which to move the comments.
3606
3610
  * @public
3607
- * @documentationMaturity preview
3608
3611
  * @requiredField appId
3609
3612
  * @requiredField options.destination.contextId
3610
3613
  * @requiredField options.destination.resourceId
@@ -3621,4 +3624,4 @@ interface BulkMoveCommentByFilterOptions {
3621
3624
  destination?: Destination;
3622
3625
  }
3623
3626
 
3624
- export { Action, type ActionEvent, type ActionWithLiterals, Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, AspectRatio, type AspectRatioWithLiterals, type Attachment, type AttachmentMediaOneOf, type AudioData, type Background, type BackgroundBackgroundOneOf, BackgroundType, type BackgroundTypeWithLiterals, type BaseEventMetadata, type BlockquoteData, type BookingData, type Border, type BorderColors, type BulkDeleteCommentOptions, type BulkDeleteCommentRequest, type BulkDeleteCommentResponse, type BulkHideCommentOptions, type BulkHideCommentRequest, type BulkHideCommentResponse, type BulkModerateDraftContentOptions, type BulkModerateDraftContentRequest, type BulkModerateDraftContentResponse, type BulkMoveCommentByFilterOptions, type BulkMoveCommentByFilterRequest, type BulkMoveCommentByFilterResponse, type BulkPublishCommentOptions, type BulkPublishCommentRequest, type BulkPublishCommentResponse, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardStyles, type CellStyle, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, type Comment, type CommentAuthor, type CommentAuthorIdentityOneOf, type CommentContent, type CommentContentChanged, type CommentContentChangedEnvelope, type CommentCreatedEnvelope, type CommentDeleted, type CommentHidden, type CommentHiddenEnvelope, type CommentMarked, type CommentMarkedEnvelope, type CommentModerated, type CommentMoved, type CommentMovedEnvelope, type CommentPublished, type CommentPublishedEnvelope, type CommentReactionSummary, type CommentResourceCommentCountChangedEnvelope, type CommentSort, type CommentUnmarked, type CommentUnmarkedEnvelope, type CommentUpdatedEnvelope, type CommentsQueryBuilder, type CommentsQueryResult, type ContactDetails, type ContentAuthor, type ContentAuthorAuthorOneOf, type CountCommentsApplicationErrors, type CountCommentsOptions, type CountCommentsRequest, type CountCommentsResponse, type CreateCommentApplicationErrors, type CreateCommentRequest, type CreateCommentResponse, Crop, type CropWithLiterals, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeleteByFilterOperation, type DeleteByIdsOperation, type DeleteCommentRequest, type DeleteCommentResponse, type Design, type Destination, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type EmbedData, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventData, type EventMetadata, type FileData, type FileSource, type FileSourceDataOneOf, type FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type GetCommentRequest, type GetCommentResponse, type GetCommentThreadOptions, type GetCommentThreadRequest, type GetCommentThreadResponse, type Gradient, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type HideCommentRequest, type HideCommentResponse, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageData, type ImageDataStyles, type ImageStyles, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type InternalDocument, type InternalDocumentUpdateByFilterOperation, type InternalDocumentUpdateOperation, type InternalUpdateExistingOperation, type Item, type ItemDataOneOf, type ItemStyle, Layout, type LayoutCellData, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListCommentsByResourceCursorPaging, type ListCommentsByResourceOptions, type ListCommentsByResourceRequest, type ListCommentsByResourceResponse, type ListValue, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type MarkCommentRequest, type MarkCommentResponse, type Media, type Mention, type MentionData, type MentionIdentityOneOf, type MessageEnvelope, type Metadata, type ModerateDraftContentOptions, type ModerateDraftContentRequest, type ModerateDraftContentResponse, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Oembed, type Option, type OptionDesign, type OptionLayout, Order, type OrderWithLiterals, type OrderedListData, Orientation, type OrientationWithLiterals, type PDFSettings, type ParagraphData, type ParentComment, type Permissions, Placement, type PlacementWithLiterals, type PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type Poll, type PollData, type PollDataLayout, type PollDesign, type PollLayout, PollLayoutDirection, type PollLayoutDirectionWithLiterals, PollLayoutType, type PollLayoutTypeWithLiterals, Position, type PositionWithLiterals, type PublishCommentRequest, type PublishCommentResponse, type QueryCommentsRequest, type QueryCommentsResponse, type Rel, type RepliesListResponse, type ReplySort, ReplySortOrder, type ReplySortOrderWithLiterals, Resizing, type ResizingWithLiterals, type ResourceCommentCountChanged, type RestoreInfo, type RibbonStyles, type RichContent, type Settings, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, Status, type StatusWithLiterals, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type TableCellData, type TableData, Target, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, Type, type TypeWithLiterals, type UnmarkCommentRequest, type UnmarkCommentResponse, type UpdateComment, type UpdateCommentApplicationErrors, type UpdateCommentRequest, type UpdateCommentResponse, type UpdateInternalDocumentsEvent, type UpdateInternalDocumentsEventOperationOneOf, type VersionedDeleteByIdsOperation, type VersionedDocumentId, type VersionedDocumentUpdateOperation, VersioningMode, type VersioningModeWithLiterals, VerticalAlignment, type VerticalAlignmentWithLiterals, type Video, type VideoData, type VideoResolution, ViewMode, type ViewModeWithLiterals, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, type VoteSummary, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, bulkDeleteComment, bulkHideComment, bulkModerateDraftContent, bulkMoveCommentByFilter, bulkPublishComment, countComments, createComment, deleteComment, getComment, getCommentThread, hideComment, listCommentsByResource, markComment, moderateDraftContent, onCommentContentChanged, onCommentCreated, onCommentHidden, onCommentMarked, onCommentMoved, onCommentPublished, onCommentResourceCommentCountChanged, onCommentUnmarked, onCommentUpdated, publishComment, queryComments, unmarkComment, updateComment };
3627
+ export { Action, type ActionEvent, type ActionWithLiterals, Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, AspectRatio, type AspectRatioWithLiterals, type Attachment, type AttachmentMediaOneOf, type AudioData, type Background, type BackgroundBackgroundOneOf, BackgroundType, type BackgroundTypeWithLiterals, type BaseEventMetadata, type BlockquoteData, type BookingData, type Border, type BorderColors, type BulkDeleteCommentOptions, type BulkDeleteCommentRequest, type BulkDeleteCommentResponse, type BulkHideCommentOptions, type BulkHideCommentRequest, type BulkHideCommentResponse, type BulkModerateDraftContentOptions, type BulkModerateDraftContentRequest, type BulkModerateDraftContentResponse, type BulkMoveCommentByFilterOptions, type BulkMoveCommentByFilterRequest, type BulkMoveCommentByFilterResponse, type BulkPublishCommentOptions, type BulkPublishCommentRequest, type BulkPublishCommentResponse, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardStyles, type CellStyle, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, type Comment, type CommentAuthor, type CommentAuthorIdentityOneOf, type CommentContent, type CommentContentChanged, type CommentContentChangedEnvelope, type CommentCreatedEnvelope, type CommentDeleted, type CommentDeletedEnvelope, type CommentHidden, type CommentHiddenEnvelope, type CommentMarked, type CommentMarkedEnvelope, type CommentModerated, type CommentMoved, type CommentMovedEnvelope, type CommentPublished, type CommentPublishedEnvelope, type CommentReactionSummary, type CommentResourceCommentCountChangedEnvelope, type CommentSort, type CommentUnmarked, type CommentUnmarkedEnvelope, type CommentUpdatedEnvelope, type CommentsQueryBuilder, type CommentsQueryResult, type ContactDetails, type ContentAuthor, type ContentAuthorAuthorOneOf, type CountCommentsApplicationErrors, type CountCommentsOptions, type CountCommentsRequest, type CountCommentsResponse, type CreateCommentApplicationErrors, type CreateCommentRequest, type CreateCommentResponse, Crop, type CropWithLiterals, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeleteByFilterOperation, type DeleteByIdsOperation, type DeleteCommentRequest, type DeleteCommentResponse, type Design, type Destination, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type EmbedData, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventData, type EventMetadata, type FileData, type FileSource, type FileSourceDataOneOf, type FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type GetCommentRequest, type GetCommentResponse, type GetCommentThreadOptions, type GetCommentThreadRequest, type GetCommentThreadResponse, type Gradient, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type HideCommentRequest, type HideCommentResponse, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageData, type ImageDataStyles, type ImageStyles, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type InternalDocument, type InternalDocumentUpdateByFilterOperation, type InternalDocumentUpdateOperation, type InternalUpdateExistingOperation, type Item, type ItemDataOneOf, type ItemStyle, Layout, type LayoutCellData, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListCommentsByResourceCursorPaging, type ListCommentsByResourceOptions, type ListCommentsByResourceRequest, type ListCommentsByResourceResponse, type ListValue, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type MarkCommentRequest, type MarkCommentResponse, type Media, type Mention, type MentionData, type MentionIdentityOneOf, type MessageEnvelope, type Metadata, type ModerateDraftContentOptions, type ModerateDraftContentRequest, type ModerateDraftContentResponse, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Oembed, type Option, type OptionDesign, type OptionLayout, Order, type OrderWithLiterals, type OrderedListData, Orientation, type OrientationWithLiterals, type PDFSettings, type ParagraphData, type ParentComment, type Permissions, Placement, type PlacementWithLiterals, type PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type Poll, type PollData, type PollDataLayout, type PollDesign, type PollLayout, PollLayoutDirection, type PollLayoutDirectionWithLiterals, PollLayoutType, type PollLayoutTypeWithLiterals, Position, type PositionWithLiterals, type PublishCommentRequest, type PublishCommentResponse, type QueryCommentsRequest, type QueryCommentsResponse, type Rel, type RepliesListResponse, type ReplySort, ReplySortOrder, type ReplySortOrderWithLiterals, Resizing, type ResizingWithLiterals, type ResourceCommentCountChanged, type RestoreInfo, type RibbonStyles, type RichContent, type Settings, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, Status, type StatusWithLiterals, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type TableCellData, type TableData, Target, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, Type, type TypeWithLiterals, type UnmarkCommentRequest, type UnmarkCommentResponse, type UpdateComment, type UpdateCommentApplicationErrors, type UpdateCommentRequest, type UpdateCommentResponse, type UpdateInternalDocumentsEvent, type UpdateInternalDocumentsEventOperationOneOf, type VersionedDeleteByIdsOperation, type VersionedDocumentId, type VersionedDocumentUpdateOperation, VersioningMode, type VersioningModeWithLiterals, VerticalAlignment, type VerticalAlignmentWithLiterals, type Video, type VideoData, type VideoResolution, ViewMode, type ViewModeWithLiterals, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, type VoteSummary, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, 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 };