@wix/auto_sdk_comments_comments 1.0.9 → 1.0.11

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 (130) hide show
  1. package/build/cjs/index.d.ts +1 -0
  2. package/build/cjs/index.js +18 -0
  3. package/build/cjs/index.js.map +1 -0
  4. package/build/cjs/index.typings.d.ts +1 -0
  5. package/build/cjs/index.typings.js +18 -0
  6. package/build/cjs/index.typings.js.map +1 -0
  7. package/build/cjs/meta.d.ts +1 -0
  8. package/build/cjs/meta.js +18 -0
  9. package/build/cjs/meta.js.map +1 -0
  10. package/build/cjs/src/comments-v2-comment-comments.context.d.ts +68 -0
  11. package/build/cjs/src/comments-v2-comment-comments.context.js +109 -0
  12. package/build/cjs/src/comments-v2-comment-comments.context.js.map +1 -0
  13. package/build/cjs/src/comments-v2-comment-comments.http.d.ts +90 -0
  14. package/build/cjs/src/comments-v2-comment-comments.http.js +2533 -0
  15. package/build/cjs/src/comments-v2-comment-comments.http.js.map +1 -0
  16. package/build/cjs/src/comments-v2-comment-comments.meta.d.ts +48 -0
  17. package/build/cjs/src/comments-v2-comment-comments.meta.js +370 -0
  18. package/build/cjs/src/comments-v2-comment-comments.meta.js.map +1 -0
  19. package/build/cjs/src/comments-v2-comment-comments.public.d.ts +202 -0
  20. package/build/cjs/src/comments-v2-comment-comments.public.js +1341 -0
  21. package/build/cjs/src/comments-v2-comment-comments.public.js.map +1 -0
  22. package/build/{internal/meta.d.mts → cjs/src/comments-v2-comment-comments.types.d.ts} +558 -240
  23. package/build/cjs/src/comments-v2-comment-comments.types.js +386 -0
  24. package/build/cjs/src/comments-v2-comment-comments.types.js.map +1 -0
  25. package/build/{comments-v2-comment-comments.universal-Bt560XJw.d.mts → cjs/src/comments-v2-comment-comments.universal.d.ts} +686 -247
  26. package/build/cjs/src/comments-v2-comment-comments.universal.js +1599 -0
  27. package/build/cjs/src/comments-v2-comment-comments.universal.js.map +1 -0
  28. package/build/es/index.d.ts +1 -0
  29. package/build/es/index.js +2 -0
  30. package/build/es/index.js.map +1 -0
  31. package/build/es/index.typings.d.ts +1 -0
  32. package/build/es/index.typings.js +2 -0
  33. package/build/es/index.typings.js.map +1 -0
  34. package/build/es/meta.d.ts +1 -0
  35. package/build/es/meta.js +2 -0
  36. package/build/es/meta.js.map +1 -0
  37. package/build/es/package.json +3 -0
  38. package/build/es/src/comments-v2-comment-comments.context.d.ts +68 -0
  39. package/build/es/src/comments-v2-comment-comments.context.js +68 -0
  40. package/build/es/src/comments-v2-comment-comments.context.js.map +1 -0
  41. package/build/es/src/comments-v2-comment-comments.http.d.ts +90 -0
  42. package/build/es/src/comments-v2-comment-comments.http.js +2512 -0
  43. package/build/es/src/comments-v2-comment-comments.http.js.map +1 -0
  44. package/build/es/src/comments-v2-comment-comments.meta.d.ts +48 -0
  45. package/build/es/src/comments-v2-comment-comments.meta.js +326 -0
  46. package/build/es/src/comments-v2-comment-comments.meta.js.map +1 -0
  47. package/build/es/src/comments-v2-comment-comments.public.d.ts +202 -0
  48. package/build/es/src/comments-v2-comment-comments.public.js +1282 -0
  49. package/build/es/src/comments-v2-comment-comments.public.js.map +1 -0
  50. package/build/{internal/meta.d.ts → es/src/comments-v2-comment-comments.types.d.ts} +558 -240
  51. package/build/es/src/comments-v2-comment-comments.types.js +383 -0
  52. package/build/es/src/comments-v2-comment-comments.types.js.map +1 -0
  53. package/build/{comments-v2-comment-comments.universal-Bt560XJw.d.ts → es/src/comments-v2-comment-comments.universal.d.ts} +686 -247
  54. package/build/es/src/comments-v2-comment-comments.universal.js +1554 -0
  55. package/build/es/src/comments-v2-comment-comments.universal.js.map +1 -0
  56. package/build/internal/cjs/index.d.ts +1 -0
  57. package/build/internal/cjs/index.js +18 -0
  58. package/build/internal/cjs/index.js.map +1 -0
  59. package/build/internal/cjs/index.typings.d.ts +1 -0
  60. package/build/internal/cjs/index.typings.js +18 -0
  61. package/build/internal/cjs/index.typings.js.map +1 -0
  62. package/build/internal/cjs/meta.d.ts +1 -0
  63. package/build/internal/cjs/meta.js +18 -0
  64. package/build/internal/cjs/meta.js.map +1 -0
  65. package/build/internal/cjs/src/comments-v2-comment-comments.context.d.ts +68 -0
  66. package/build/internal/cjs/src/comments-v2-comment-comments.context.js +109 -0
  67. package/build/internal/cjs/src/comments-v2-comment-comments.context.js.map +1 -0
  68. package/build/internal/cjs/src/comments-v2-comment-comments.http.d.ts +90 -0
  69. package/build/internal/cjs/src/comments-v2-comment-comments.http.js +2533 -0
  70. package/build/internal/cjs/src/comments-v2-comment-comments.http.js.map +1 -0
  71. package/build/internal/cjs/src/comments-v2-comment-comments.meta.d.ts +48 -0
  72. package/build/internal/cjs/src/comments-v2-comment-comments.meta.js +370 -0
  73. package/build/internal/cjs/src/comments-v2-comment-comments.meta.js.map +1 -0
  74. package/build/internal/cjs/src/comments-v2-comment-comments.public.d.ts +202 -0
  75. package/build/internal/cjs/src/comments-v2-comment-comments.public.js +1341 -0
  76. package/build/internal/cjs/src/comments-v2-comment-comments.public.js.map +1 -0
  77. package/build/{meta.d.mts → internal/cjs/src/comments-v2-comment-comments.types.d.ts} +558 -240
  78. package/build/internal/cjs/src/comments-v2-comment-comments.types.js +386 -0
  79. package/build/internal/cjs/src/comments-v2-comment-comments.types.js.map +1 -0
  80. package/build/internal/{comments-v2-comment-comments.universal-Bt560XJw.d.ts → cjs/src/comments-v2-comment-comments.universal.d.ts} +686 -247
  81. package/build/internal/cjs/src/comments-v2-comment-comments.universal.js +1599 -0
  82. package/build/internal/cjs/src/comments-v2-comment-comments.universal.js.map +1 -0
  83. package/build/internal/es/index.d.ts +1 -0
  84. package/build/internal/es/index.js +2 -0
  85. package/build/internal/es/index.js.map +1 -0
  86. package/build/internal/es/index.typings.d.ts +1 -0
  87. package/build/internal/es/index.typings.js +2 -0
  88. package/build/internal/es/index.typings.js.map +1 -0
  89. package/build/internal/es/meta.d.ts +1 -0
  90. package/build/internal/es/meta.js +2 -0
  91. package/build/internal/es/meta.js.map +1 -0
  92. package/build/internal/es/src/comments-v2-comment-comments.context.d.ts +68 -0
  93. package/build/internal/es/src/comments-v2-comment-comments.context.js +68 -0
  94. package/build/internal/es/src/comments-v2-comment-comments.context.js.map +1 -0
  95. package/build/internal/es/src/comments-v2-comment-comments.http.d.ts +90 -0
  96. package/build/internal/es/src/comments-v2-comment-comments.http.js +2512 -0
  97. package/build/internal/es/src/comments-v2-comment-comments.http.js.map +1 -0
  98. package/build/internal/es/src/comments-v2-comment-comments.meta.d.ts +48 -0
  99. package/build/internal/es/src/comments-v2-comment-comments.meta.js +326 -0
  100. package/build/internal/es/src/comments-v2-comment-comments.meta.js.map +1 -0
  101. package/build/internal/es/src/comments-v2-comment-comments.public.d.ts +202 -0
  102. package/build/internal/es/src/comments-v2-comment-comments.public.js +1282 -0
  103. package/build/internal/es/src/comments-v2-comment-comments.public.js.map +1 -0
  104. package/build/{meta.d.ts → internal/es/src/comments-v2-comment-comments.types.d.ts} +558 -240
  105. package/build/internal/es/src/comments-v2-comment-comments.types.js +383 -0
  106. package/build/internal/es/src/comments-v2-comment-comments.types.js.map +1 -0
  107. package/build/internal/{comments-v2-comment-comments.universal-Bt560XJw.d.mts → es/src/comments-v2-comment-comments.universal.d.ts} +686 -247
  108. package/build/internal/es/src/comments-v2-comment-comments.universal.js +1554 -0
  109. package/build/internal/es/src/comments-v2-comment-comments.universal.js.map +1 -0
  110. package/package.json +11 -12
  111. package/build/index.d.mts +0 -249
  112. package/build/index.d.ts +0 -249
  113. package/build/index.js +0 -5232
  114. package/build/index.js.map +0 -1
  115. package/build/index.mjs +0 -5145
  116. package/build/index.mjs.map +0 -1
  117. package/build/internal/index.d.mts +0 -249
  118. package/build/internal/index.d.ts +0 -249
  119. package/build/internal/index.js +0 -5232
  120. package/build/internal/index.js.map +0 -1
  121. package/build/internal/index.mjs +0 -5145
  122. package/build/internal/index.mjs.map +0 -1
  123. package/build/internal/meta.js +0 -2832
  124. package/build/internal/meta.js.map +0 -1
  125. package/build/internal/meta.mjs +0 -2788
  126. package/build/internal/meta.mjs.map +0 -1
  127. package/build/meta.js +0 -2832
  128. package/build/meta.js.map +0 -1
  129. package/build/meta.mjs +0 -2788
  130. package/build/meta.mjs.map +0 -1
@@ -1,249 +0,0 @@
1
- import { HttpClient, MaybeContext, BuildRESTFunction } 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 } from './comments-v2-comment-comments.universal-Bt560XJw.mjs';
3
- export { a3 as Action, cL as ActionEvent, A as Alignment, b8 as AnchorData, be as AppEmbedData, bf as AppEmbedDataAppDataOneOf, Y as AppType, bE as Attachment, bF as AttachmentMediaOneOf, bt as AudioData, a_ as Background, a$ as BackgroundBackgroundOneOf, Q as BackgroundType, cP as BaseEventMetadata, bw as BlockquoteData, bg as BookingData, ae as Border, br as BorderColors, cA as BulkDeleteCommentRequest, cz as BulkHideCommentRequest, cB as BulkModerateDraftContentRequest, cC as BulkMoveCommentByFilterRequest, cy as BulkPublishCommentRequest, bv as BulletedListData, ad as ButtonData, bx as CaptionData, bq as CellStyle, ap as CodeBlockData, bm as CollapsibleListData, b9 as ColorData, af as Colors, bJ as CommentAuthor, bK as CommentAuthorIdentityOneOf, a8 as CommentContent, c6 as CommentContentChanged, cR as CommentContentChangedEnvelope, cX as CommentCreatedEnvelope, c9 as CommentDeleted, cc as CommentHidden, cS as CommentHiddenEnvelope, cm as CommentMarked, cT as CommentMarkedEnvelope, bZ as CommentModerated, cE as CommentMoved, cU as CommentMovedEnvelope, cb as CommentPublished, cV as CommentPublishedEnvelope, bN as CommentReactionSummary, cY as CommentResourceCommentCountChangedEnvelope, ct as CommentSort, co as CommentUnmarked, cW as CommentUnmarkedEnvelope, cZ as CommentUpdatedEnvelope, c_ as CommentsQueryResult, b$ as ContactDetails, bH as ContentAuthor, bI as ContentAuthorAuthorOneOf, cr as CountCommentsRequest, b_ as CreateCommentRequest, c0 as CreateCommentResponse, x as Crop, ch as CursorPaging, cj as CursorPagingMetadata, ce as CursorQuery, cf as CursorQueryPagingMethodOneOf, ck as Cursors, b6 as Decoration, b7 as DecorationDataOneOf, R as DecorationType, bT as DeleteByFilterOperation, bS as DeleteByIdsOperation, c7 as DeleteCommentRequest, c8 as DeleteCommentResponse, b4 as Design, cD as Destination, bo as Dimensions, _ as Direction, ar as DividerData, bA as DocumentStyle, cF as DomainEvent, cG as DomainEventBodyOneOf, bk as EmbedData, cH as EntityCreatedEvent, cK as EntityDeletedEvent, cJ as EntityUpdatedEvent, bh as EventData, cQ as EventMetadata, as as FileData, at as FileSource, au as FileSourceDataOneOf, bc as FontSizeData, X as FontType, aH as GIF, aG as GIFData, z as GIFType, aw as GalleryData, aC as GalleryOptions, c2 as GetCommentRequest, c3 as GetCommentResponse, cx as GetCommentThreadRequest, aZ as Gradient, aJ as HTMLData, aK as HTMLDataDataOneOf, aI as HeadingData, ak as Height, cp as HideCommentRequest, cN as IdentificationData, cO as IdentificationDataIdOneOf, ay as Image, aL as ImageData, aN as ImageDataStyles, Z as InitialExpandedItems, bQ as InternalDocument, bU as InternalDocumentUpdateByFilterOperation, bR as InternalDocumentUpdateOperation, bV as InternalUpdateExistingOperation, aA as Item, aB as ItemDataOneOf, aE as ItemStyle, aD as Layout, by as LayoutCellData, w as LayoutType, u as LineStyle, am as Link, ba as LinkData, an as LinkDataOneOf, aO as LinkPreviewData, aP as LinkPreviewDataStyles, cv as ListCommentsByResourceCursorPaging, cs as ListCommentsByResourceRequest, bs as ListValue, aQ as MapData, aR as MapSettings, E as MapType, cl as MarkCommentRequest, ax as Media, bC as Mention, bb as MentionData, bD as MentionIdentityOneOf, cM as MessageEnvelope, bz as Metadata, ca as ModerateDraftContentRequest, aa as Node, ab as NodeDataOneOf, ac as NodeStyle, N as NodeType, a0 as NullValue, bl as Oembed, aV as Option, b1 as OptionDesign, aY as OptionLayout, a5 as Order, bu as OrderedListData, O as Orientation, av as PDFSettings, aS as ParagraphData, bL as ParentComment, aU as Permissions, bj as PlaybackOptions, ag as PluginContainerData, r as PluginContainerDataAlignment, ah as PluginContainerDataWidth, ai as PluginContainerDataWidthDataOneOf, b2 as Poll, aT as PollData, b3 as PollDataLayout, b0 as PollDesign, aX as PollLayout, K as PollLayoutDirection, J as PollLayoutType, D as Position, cq as PublishCommentRequest, cd as QueryCommentsRequest, ci as QueryCommentsResponse, ao as Rel, cw as RepliesListResponse, cu as ReplySort, a6 as ReplySortOrder, c1 as ResourceCommentCountChanged, cI as RestoreInfo, a9 as RichContent, aW as Settings, a4 as SortOrder, cg as Sorting, S as Source, aj as Spoiler, bd as SpoilerData, a1 as Status, al as Styles, aM as StylesBorder, bp as TableCellData, bn as TableData, s as Target, t as TextAlignment, b5 as TextData, bB as TextNodeStyle, aq as TextStyle, aF as Thumbnails, y as ThumbnailsAlignment, T as Type, cn as UnmarkCommentRequest, c4 as UpdateCommentRequest, c5 as UpdateCommentResponse, bO as UpdateInternalDocumentsEvent, bP as UpdateInternalDocumentsEventOperationOneOf, bX as VersionedDeleteByIdsOperation, bY as VersionedDocumentId, bW as VersionedDocumentUpdateOperation, a2 as VersioningMode, $ as VerticalAlignment, az as Video, bi as VideoData, bG as VideoResolution, V as ViewMode, F as ViewRole, I as VoteRole, bM as VoteSummary, a7 as WebhookIdentityType, v as Width, W as WidthType } from './comments-v2-comment-comments.universal-Bt560XJw.mjs';
4
- import { createEventModule } from '@wix/sdk-runtime/event-definition-modules';
5
-
6
- declare function createComment$1(httpClient: HttpClient): CreateCommentSignature;
7
- interface CreateCommentSignature {
8
- /**
9
- * Creates a new comment and publishes it.
10
- *
11
- * The `appId`, `contextId`, and `resourceId` are all required and associate the created comment with the specific
12
- * resource it responds to. See **Integrations** in the Comments introduction for a list of integrated scopes for these fields.
13
- *
14
- * If the created comment is a direct response to another comment, the `commentId` of the parent comment should be passed
15
- * as `parentComment.id` in this comment's request. See **Terminology** in the Comments introduction for additional information on parent comments and replies.
16
- * @param - Comment to create.
17
- * @returns Created comment.
18
- */
19
- (comment: Comment): Promise<Comment>;
20
- }
21
- declare function getComment$1(httpClient: HttpClient): GetCommentSignature;
22
- interface GetCommentSignature {
23
- /**
24
- * Retrieves a comment.
25
- * @param - ID of the comment to retrieve.
26
- * @returns Retrieved comment.
27
- */
28
- (commentId: string): Promise<Comment>;
29
- }
30
- declare function updateComment$1(httpClient: HttpClient): UpdateCommentSignature;
31
- interface UpdateCommentSignature {
32
- /**
33
- * Updates a comment.
34
- *
35
- * Each time the comment is updated, `revision` increments by 1. The current `revision` must be
36
- * passed when updating the comment. This ensures you're working with the latest comment and
37
- * prevents unintended overwrites.
38
- * @param - Comment ID.
39
- * @returns Updated comment.
40
- */
41
- (_id: string, comment: UpdateComment): Promise<Comment>;
42
- }
43
- declare function deleteComment$1(httpClient: HttpClient): DeleteCommentSignature;
44
- interface DeleteCommentSignature {
45
- /**
46
- * Deletes a comment.
47
- *
48
- * This method deletes the `content` of the comment and sets its `status` to `DELETED`.
49
- * @param - ID of the comment to delete.
50
- */
51
- (commentId: string): Promise<void>;
52
- }
53
- declare function moderateDraftContent$1(httpClient: HttpClient): ModerateDraftContentSignature;
54
- interface ModerateDraftContentSignature {
55
- /**
56
- * Moderates the draft content of a comment.
57
- *
58
- * - `APPROVE`: Moves `draftContent` to `content` and updates the comment `status` to `PUBLISHED`.
59
- * - `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`.
60
- * @param - ID of the comment to moderate.
61
- * @param - Revision number, which increments by `1` each time the comment is updated.
62
- *
63
- * To prevent conflicting changes, the current `revision` must be passed when updating the comment.
64
- */
65
- (commentId: string, revision: string, options?: ModerateDraftContentOptions | undefined): Promise<ModerateDraftContentResponse>;
66
- }
67
- declare function queryComments$1(httpClient: HttpClient): QueryCommentsSignature;
68
- interface QueryCommentsSignature {
69
- /**
70
- * Creates a query to retrieve a list of comments.
71
- *
72
- * The `queryComments()` function builds a query to retrieve a list of comments and returns a [`CommentsQueryBuilder`](#commentsquerybuilder) object.
73
- *
74
- * The returned object contains the query definition, which is typically used to run the query using the [`find()`](#commentsquerybuilder/find) function.
75
- *
76
- * You can refine the query by chaining `CommentsQueryBuilder` functions onto the query. `CommentsQueryBuilder` functions enable you to sort, filter, and control the results that `queryComments()` returns.
77
- *
78
- * `queryComments()` runs with the following `CommentsQueryBuilder` default that you can override:
79
- * + `ascending("_id")`
80
- *
81
- * The functions that are chained to `queryComments()` are applied in the order they are called. For example, if you apply `ascending("voteSummary.netVoteCount")` and then `ascending("replyCount")`, the results are sorted first by the `"voteSummary.netVoteCount"`, and then, if there are multiple results with the same `"voteSummary.netVoteCount"`, the items are sorted by `"replyCount"`.
82
- *
83
- * The following `CommentsQueryBuilder` functions are supported for the `queryComments()` function. For a full description of the comment object, see the object returned for the [`items`](#commentsqueryresult/items) property in [`CommentsQueryResult`](#commentsqueryresult).
84
- * @param - App ID to query comments for.
85
- */
86
- (appId: string): CommentsQueryBuilder;
87
- }
88
- declare function markComment$1(httpClient: HttpClient): MarkCommentSignature;
89
- interface MarkCommentSignature {
90
- /**
91
- * Sets `marked` to `TRUE` to mark a comment.
92
- *
93
- * Call Query Comments to filter for marked comments to then apply customization to.
94
- * See Sample Flows for an example.
95
- * @param - ID of the comment to mark.
96
- */
97
- (commentId: string): Promise<MarkCommentResponse>;
98
- }
99
- declare function unmarkComment$1(httpClient: HttpClient): UnmarkCommentSignature;
100
- interface UnmarkCommentSignature {
101
- /**
102
- * Sets `marked` to `FALSE` to unmark a comment.
103
- * @param - ID of the comment to unmark.
104
- */
105
- (commentId: string): Promise<UnmarkCommentResponse>;
106
- }
107
- declare function hideComment$1(httpClient: HttpClient): HideCommentSignature;
108
- interface HideCommentSignature {
109
- /**
110
- * Hides a comment in a widget. The comment status becomes `HIDDEN`.
111
- * @param - ID of the comment to hide.
112
- */
113
- (commentId: string): Promise<HideCommentResponse>;
114
- }
115
- declare function publishComment$1(httpClient: HttpClient): PublishCommentSignature;
116
- interface PublishCommentSignature {
117
- /**
118
- * Publishes a comment with the `HIDDEN` status. The comment status becomes `PUBLISHED`.
119
- *
120
- * To publish a new comment, call Create Comment.
121
- * @param - ID of the comment to publish.
122
- */
123
- (commentId: string): Promise<PublishCommentResponse>;
124
- }
125
- declare function countComments$1(httpClient: HttpClient): CountCommentsSignature;
126
- interface CountCommentsSignature {
127
- /**
128
- * Counts comments, given the specified filtering. Comments with the `HIDDEN` status are not included in the response.
129
- * @param - App ID to count the comments of.
130
- */
131
- (appId: string, options?: CountCommentsOptions | undefined): Promise<CountCommentsResponse>;
132
- }
133
- declare function listCommentsByResource$1(httpClient: HttpClient): ListCommentsByResourceSignature;
134
- interface ListCommentsByResourceSignature {
135
- /**
136
- * Lists published comments and replies from a specified resource, such as a blog post.
137
- * @param - ID of the app from which the comments are listed.
138
- */
139
- (appId: string, options?: ListCommentsByResourceOptions | undefined): Promise<ListCommentsByResourceResponse>;
140
- }
141
- declare function getCommentThread$1(httpClient: HttpClient): GetCommentThreadSignature;
142
- interface GetCommentThreadSignature {
143
- /**
144
- * Returns a thread of a comment or a reply.
145
- *
146
- * If you request a comment thread, the method returns a single comment with cursors. With cursors (`pagingMetadata.cursors.next` or `pagingMetadata.cursors.prev`) you can load replies by calling the List Comments by Resource method.
147
- *
148
- * 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.
149
- * @param - Comment ID.
150
- */
151
- (commentId: string, options?: GetCommentThreadOptions | undefined): Promise<GetCommentThreadResponse>;
152
- }
153
- declare function bulkPublishComment$1(httpClient: HttpClient): BulkPublishCommentSignature;
154
- interface BulkPublishCommentSignature {
155
- /**
156
- * Publishes multiple comments with the `HIDDEN` status. The comment status becomes `PUBLISHED`.
157
- * @param - ID of the app where to publish the comment.
158
- */
159
- (appId: string, options: BulkPublishCommentOptions): Promise<BulkPublishCommentResponse>;
160
- }
161
- declare function bulkHideComment$1(httpClient: HttpClient): BulkHideCommentSignature;
162
- interface BulkHideCommentSignature {
163
- /**
164
- * Hides multiple comments. The comment status becomes `HIDDEN`.
165
- * @param - ID of the app where to hide the comments.
166
- */
167
- (appId: string, options: BulkHideCommentOptions): Promise<BulkHideCommentResponse>;
168
- }
169
- declare function bulkDeleteComment$1(httpClient: HttpClient): BulkDeleteCommentSignature;
170
- interface BulkDeleteCommentSignature {
171
- /**
172
- * Deletes multiple comments.
173
- * @param - ID of the app where to delete the comments.
174
- */
175
- (appId: string, options: BulkDeleteCommentOptions): Promise<BulkDeleteCommentResponse>;
176
- }
177
- declare function bulkModerateDraftContent$1(httpClient: HttpClient): BulkModerateDraftContentSignature;
178
- interface BulkModerateDraftContentSignature {
179
- /**
180
- * Moderates the draft content of multiple comments.
181
- * @param - ID of the app where to moderate the comments.
182
- */
183
- (appId: string, options: BulkModerateDraftContentOptions): Promise<BulkModerateDraftContentResponse>;
184
- }
185
- declare function bulkMoveCommentByFilter$1(httpClient: HttpClient): BulkMoveCommentByFilterSignature;
186
- interface BulkMoveCommentByFilterSignature {
187
- /**
188
- * Moves multiple comments to another resource.
189
- * @param - ID of the app from which to move the comments.
190
- */
191
- (appId: string, options?: BulkMoveCommentByFilterOptions | undefined): Promise<BulkMoveCommentByFilterResponse>;
192
- }
193
-
194
- declare const createComment: MaybeContext<BuildRESTFunction<typeof createComment$1> & typeof createComment$1>;
195
- declare const getComment: MaybeContext<BuildRESTFunction<typeof getComment$1> & typeof getComment$1>;
196
- declare const updateComment: MaybeContext<BuildRESTFunction<typeof updateComment$1> & typeof updateComment$1>;
197
- declare const deleteComment: MaybeContext<BuildRESTFunction<typeof deleteComment$1> & typeof deleteComment$1>;
198
- declare const moderateDraftContent: MaybeContext<BuildRESTFunction<typeof moderateDraftContent$1> & typeof moderateDraftContent$1>;
199
- declare const queryComments: MaybeContext<BuildRESTFunction<typeof queryComments$1> & typeof queryComments$1>;
200
- declare const markComment: MaybeContext<BuildRESTFunction<typeof markComment$1> & typeof markComment$1>;
201
- declare const unmarkComment: MaybeContext<BuildRESTFunction<typeof unmarkComment$1> & typeof unmarkComment$1>;
202
- declare const hideComment: MaybeContext<BuildRESTFunction<typeof hideComment$1> & typeof hideComment$1>;
203
- declare const publishComment: MaybeContext<BuildRESTFunction<typeof publishComment$1> & typeof publishComment$1>;
204
- declare const countComments: MaybeContext<BuildRESTFunction<typeof countComments$1> & typeof countComments$1>;
205
- declare const listCommentsByResource: MaybeContext<BuildRESTFunction<typeof listCommentsByResource$1> & typeof listCommentsByResource$1>;
206
- declare const getCommentThread: MaybeContext<BuildRESTFunction<typeof getCommentThread$1> & typeof getCommentThread$1>;
207
- declare const bulkPublishComment: MaybeContext<BuildRESTFunction<typeof bulkPublishComment$1> & typeof bulkPublishComment$1>;
208
- declare const bulkHideComment: MaybeContext<BuildRESTFunction<typeof bulkHideComment$1> & typeof bulkHideComment$1>;
209
- declare const bulkDeleteComment: MaybeContext<BuildRESTFunction<typeof bulkDeleteComment$1> & typeof bulkDeleteComment$1>;
210
- declare const bulkModerateDraftContent: MaybeContext<BuildRESTFunction<typeof bulkModerateDraftContent$1> & typeof bulkModerateDraftContent$1>;
211
- declare const bulkMoveCommentByFilter: MaybeContext<BuildRESTFunction<typeof bulkMoveCommentByFilter$1> & typeof bulkMoveCommentByFilter$1>;
212
- /**
213
- * Triggered when comment content is updated.
214
- */
215
- declare const onCommentContentChanged: ReturnType<typeof createEventModule<typeof publicOnCommentContentChanged>>;
216
- /**
217
- * Triggered when a comment is hidden.
218
- */
219
- declare const onCommentHidden: ReturnType<typeof createEventModule<typeof publicOnCommentHidden>>;
220
- /**
221
- * Triggered when a comment is marked.
222
- */
223
- declare const onCommentMarked: ReturnType<typeof createEventModule<typeof publicOnCommentMarked>>;
224
- /**
225
- * Triggered when a comment is moved.
226
- */
227
- declare const onCommentMoved: ReturnType<typeof createEventModule<typeof publicOnCommentMoved>>;
228
- /**
229
- * Triggered when a comment is published.
230
- */
231
- declare const onCommentPublished: ReturnType<typeof createEventModule<typeof publicOnCommentPublished>>;
232
- /**
233
- * Triggered when a comment is unmarked.
234
- */
235
- declare const onCommentUnmarked: ReturnType<typeof createEventModule<typeof publicOnCommentUnmarked>>;
236
- /**
237
- * Triggered when a comment is created.
238
- */
239
- declare const onCommentCreated: ReturnType<typeof createEventModule<typeof publicOnCommentCreated>>;
240
- /**
241
- * Triggered when the total number of comments has changed in a resource.
242
- */
243
- declare const onCommentResourceCommentCountChanged: ReturnType<typeof createEventModule<typeof publicOnCommentResourceCommentCountChanged>>;
244
- /**
245
- * Triggered when a comment is updated.
246
- */
247
- declare const onCommentUpdated: ReturnType<typeof createEventModule<typeof publicOnCommentUpdated>>;
248
-
249
- export { BulkDeleteCommentOptions, BulkDeleteCommentResponse, BulkHideCommentOptions, BulkHideCommentResponse, BulkModerateDraftContentOptions, BulkModerateDraftContentResponse, BulkMoveCommentByFilterOptions, BulkMoveCommentByFilterResponse, BulkPublishCommentOptions, BulkPublishCommentResponse, Comment, 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, onCommentHidden, onCommentMarked, onCommentMoved, onCommentPublished, onCommentResourceCommentCountChanged, onCommentUnmarked, onCommentUpdated, publishComment, queryComments, unmarkComment, updateComment };
@@ -1,249 +0,0 @@
1
- import { HttpClient, MaybeContext, BuildRESTFunction } 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 } from './comments-v2-comment-comments.universal-Bt560XJw.js';
3
- export { a3 as Action, cL as ActionEvent, A as Alignment, b8 as AnchorData, be as AppEmbedData, bf as AppEmbedDataAppDataOneOf, Y as AppType, bE as Attachment, bF as AttachmentMediaOneOf, bt as AudioData, a_ as Background, a$ as BackgroundBackgroundOneOf, Q as BackgroundType, cP as BaseEventMetadata, bw as BlockquoteData, bg as BookingData, ae as Border, br as BorderColors, cA as BulkDeleteCommentRequest, cz as BulkHideCommentRequest, cB as BulkModerateDraftContentRequest, cC as BulkMoveCommentByFilterRequest, cy as BulkPublishCommentRequest, bv as BulletedListData, ad as ButtonData, bx as CaptionData, bq as CellStyle, ap as CodeBlockData, bm as CollapsibleListData, b9 as ColorData, af as Colors, bJ as CommentAuthor, bK as CommentAuthorIdentityOneOf, a8 as CommentContent, c6 as CommentContentChanged, cR as CommentContentChangedEnvelope, cX as CommentCreatedEnvelope, c9 as CommentDeleted, cc as CommentHidden, cS as CommentHiddenEnvelope, cm as CommentMarked, cT as CommentMarkedEnvelope, bZ as CommentModerated, cE as CommentMoved, cU as CommentMovedEnvelope, cb as CommentPublished, cV as CommentPublishedEnvelope, bN as CommentReactionSummary, cY as CommentResourceCommentCountChangedEnvelope, ct as CommentSort, co as CommentUnmarked, cW as CommentUnmarkedEnvelope, cZ as CommentUpdatedEnvelope, c_ as CommentsQueryResult, b$ as ContactDetails, bH as ContentAuthor, bI as ContentAuthorAuthorOneOf, cr as CountCommentsRequest, b_ as CreateCommentRequest, c0 as CreateCommentResponse, x as Crop, ch as CursorPaging, cj as CursorPagingMetadata, ce as CursorQuery, cf as CursorQueryPagingMethodOneOf, ck as Cursors, b6 as Decoration, b7 as DecorationDataOneOf, R as DecorationType, bT as DeleteByFilterOperation, bS as DeleteByIdsOperation, c7 as DeleteCommentRequest, c8 as DeleteCommentResponse, b4 as Design, cD as Destination, bo as Dimensions, _ as Direction, ar as DividerData, bA as DocumentStyle, cF as DomainEvent, cG as DomainEventBodyOneOf, bk as EmbedData, cH as EntityCreatedEvent, cK as EntityDeletedEvent, cJ as EntityUpdatedEvent, bh as EventData, cQ as EventMetadata, as as FileData, at as FileSource, au as FileSourceDataOneOf, bc as FontSizeData, X as FontType, aH as GIF, aG as GIFData, z as GIFType, aw as GalleryData, aC as GalleryOptions, c2 as GetCommentRequest, c3 as GetCommentResponse, cx as GetCommentThreadRequest, aZ as Gradient, aJ as HTMLData, aK as HTMLDataDataOneOf, aI as HeadingData, ak as Height, cp as HideCommentRequest, cN as IdentificationData, cO as IdentificationDataIdOneOf, ay as Image, aL as ImageData, aN as ImageDataStyles, Z as InitialExpandedItems, bQ as InternalDocument, bU as InternalDocumentUpdateByFilterOperation, bR as InternalDocumentUpdateOperation, bV as InternalUpdateExistingOperation, aA as Item, aB as ItemDataOneOf, aE as ItemStyle, aD as Layout, by as LayoutCellData, w as LayoutType, u as LineStyle, am as Link, ba as LinkData, an as LinkDataOneOf, aO as LinkPreviewData, aP as LinkPreviewDataStyles, cv as ListCommentsByResourceCursorPaging, cs as ListCommentsByResourceRequest, bs as ListValue, aQ as MapData, aR as MapSettings, E as MapType, cl as MarkCommentRequest, ax as Media, bC as Mention, bb as MentionData, bD as MentionIdentityOneOf, cM as MessageEnvelope, bz as Metadata, ca as ModerateDraftContentRequest, aa as Node, ab as NodeDataOneOf, ac as NodeStyle, N as NodeType, a0 as NullValue, bl as Oembed, aV as Option, b1 as OptionDesign, aY as OptionLayout, a5 as Order, bu as OrderedListData, O as Orientation, av as PDFSettings, aS as ParagraphData, bL as ParentComment, aU as Permissions, bj as PlaybackOptions, ag as PluginContainerData, r as PluginContainerDataAlignment, ah as PluginContainerDataWidth, ai as PluginContainerDataWidthDataOneOf, b2 as Poll, aT as PollData, b3 as PollDataLayout, b0 as PollDesign, aX as PollLayout, K as PollLayoutDirection, J as PollLayoutType, D as Position, cq as PublishCommentRequest, cd as QueryCommentsRequest, ci as QueryCommentsResponse, ao as Rel, cw as RepliesListResponse, cu as ReplySort, a6 as ReplySortOrder, c1 as ResourceCommentCountChanged, cI as RestoreInfo, a9 as RichContent, aW as Settings, a4 as SortOrder, cg as Sorting, S as Source, aj as Spoiler, bd as SpoilerData, a1 as Status, al as Styles, aM as StylesBorder, bp as TableCellData, bn as TableData, s as Target, t as TextAlignment, b5 as TextData, bB as TextNodeStyle, aq as TextStyle, aF as Thumbnails, y as ThumbnailsAlignment, T as Type, cn as UnmarkCommentRequest, c4 as UpdateCommentRequest, c5 as UpdateCommentResponse, bO as UpdateInternalDocumentsEvent, bP as UpdateInternalDocumentsEventOperationOneOf, bX as VersionedDeleteByIdsOperation, bY as VersionedDocumentId, bW as VersionedDocumentUpdateOperation, a2 as VersioningMode, $ as VerticalAlignment, az as Video, bi as VideoData, bG as VideoResolution, V as ViewMode, F as ViewRole, I as VoteRole, bM as VoteSummary, a7 as WebhookIdentityType, v as Width, W as WidthType } from './comments-v2-comment-comments.universal-Bt560XJw.js';
4
- import { createEventModule } from '@wix/sdk-runtime/event-definition-modules';
5
-
6
- declare function createComment$1(httpClient: HttpClient): CreateCommentSignature;
7
- interface CreateCommentSignature {
8
- /**
9
- * Creates a new comment and publishes it.
10
- *
11
- * The `appId`, `contextId`, and `resourceId` are all required and associate the created comment with the specific
12
- * resource it responds to. See **Integrations** in the Comments introduction for a list of integrated scopes for these fields.
13
- *
14
- * If the created comment is a direct response to another comment, the `commentId` of the parent comment should be passed
15
- * as `parentComment.id` in this comment's request. See **Terminology** in the Comments introduction for additional information on parent comments and replies.
16
- * @param - Comment to create.
17
- * @returns Created comment.
18
- */
19
- (comment: Comment): Promise<Comment>;
20
- }
21
- declare function getComment$1(httpClient: HttpClient): GetCommentSignature;
22
- interface GetCommentSignature {
23
- /**
24
- * Retrieves a comment.
25
- * @param - ID of the comment to retrieve.
26
- * @returns Retrieved comment.
27
- */
28
- (commentId: string): Promise<Comment>;
29
- }
30
- declare function updateComment$1(httpClient: HttpClient): UpdateCommentSignature;
31
- interface UpdateCommentSignature {
32
- /**
33
- * Updates a comment.
34
- *
35
- * Each time the comment is updated, `revision` increments by 1. The current `revision` must be
36
- * passed when updating the comment. This ensures you're working with the latest comment and
37
- * prevents unintended overwrites.
38
- * @param - Comment ID.
39
- * @returns Updated comment.
40
- */
41
- (_id: string, comment: UpdateComment): Promise<Comment>;
42
- }
43
- declare function deleteComment$1(httpClient: HttpClient): DeleteCommentSignature;
44
- interface DeleteCommentSignature {
45
- /**
46
- * Deletes a comment.
47
- *
48
- * This method deletes the `content` of the comment and sets its `status` to `DELETED`.
49
- * @param - ID of the comment to delete.
50
- */
51
- (commentId: string): Promise<void>;
52
- }
53
- declare function moderateDraftContent$1(httpClient: HttpClient): ModerateDraftContentSignature;
54
- interface ModerateDraftContentSignature {
55
- /**
56
- * Moderates the draft content of a comment.
57
- *
58
- * - `APPROVE`: Moves `draftContent` to `content` and updates the comment `status` to `PUBLISHED`.
59
- * - `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`.
60
- * @param - ID of the comment to moderate.
61
- * @param - Revision number, which increments by `1` each time the comment is updated.
62
- *
63
- * To prevent conflicting changes, the current `revision` must be passed when updating the comment.
64
- */
65
- (commentId: string, revision: string, options?: ModerateDraftContentOptions | undefined): Promise<ModerateDraftContentResponse>;
66
- }
67
- declare function queryComments$1(httpClient: HttpClient): QueryCommentsSignature;
68
- interface QueryCommentsSignature {
69
- /**
70
- * Creates a query to retrieve a list of comments.
71
- *
72
- * The `queryComments()` function builds a query to retrieve a list of comments and returns a [`CommentsQueryBuilder`](#commentsquerybuilder) object.
73
- *
74
- * The returned object contains the query definition, which is typically used to run the query using the [`find()`](#commentsquerybuilder/find) function.
75
- *
76
- * You can refine the query by chaining `CommentsQueryBuilder` functions onto the query. `CommentsQueryBuilder` functions enable you to sort, filter, and control the results that `queryComments()` returns.
77
- *
78
- * `queryComments()` runs with the following `CommentsQueryBuilder` default that you can override:
79
- * + `ascending("_id")`
80
- *
81
- * The functions that are chained to `queryComments()` are applied in the order they are called. For example, if you apply `ascending("voteSummary.netVoteCount")` and then `ascending("replyCount")`, the results are sorted first by the `"voteSummary.netVoteCount"`, and then, if there are multiple results with the same `"voteSummary.netVoteCount"`, the items are sorted by `"replyCount"`.
82
- *
83
- * The following `CommentsQueryBuilder` functions are supported for the `queryComments()` function. For a full description of the comment object, see the object returned for the [`items`](#commentsqueryresult/items) property in [`CommentsQueryResult`](#commentsqueryresult).
84
- * @param - App ID to query comments for.
85
- */
86
- (appId: string): CommentsQueryBuilder;
87
- }
88
- declare function markComment$1(httpClient: HttpClient): MarkCommentSignature;
89
- interface MarkCommentSignature {
90
- /**
91
- * Sets `marked` to `TRUE` to mark a comment.
92
- *
93
- * Call Query Comments to filter for marked comments to then apply customization to.
94
- * See Sample Flows for an example.
95
- * @param - ID of the comment to mark.
96
- */
97
- (commentId: string): Promise<MarkCommentResponse>;
98
- }
99
- declare function unmarkComment$1(httpClient: HttpClient): UnmarkCommentSignature;
100
- interface UnmarkCommentSignature {
101
- /**
102
- * Sets `marked` to `FALSE` to unmark a comment.
103
- * @param - ID of the comment to unmark.
104
- */
105
- (commentId: string): Promise<UnmarkCommentResponse>;
106
- }
107
- declare function hideComment$1(httpClient: HttpClient): HideCommentSignature;
108
- interface HideCommentSignature {
109
- /**
110
- * Hides a comment in a widget. The comment status becomes `HIDDEN`.
111
- * @param - ID of the comment to hide.
112
- */
113
- (commentId: string): Promise<HideCommentResponse>;
114
- }
115
- declare function publishComment$1(httpClient: HttpClient): PublishCommentSignature;
116
- interface PublishCommentSignature {
117
- /**
118
- * Publishes a comment with the `HIDDEN` status. The comment status becomes `PUBLISHED`.
119
- *
120
- * To publish a new comment, call Create Comment.
121
- * @param - ID of the comment to publish.
122
- */
123
- (commentId: string): Promise<PublishCommentResponse>;
124
- }
125
- declare function countComments$1(httpClient: HttpClient): CountCommentsSignature;
126
- interface CountCommentsSignature {
127
- /**
128
- * Counts comments, given the specified filtering. Comments with the `HIDDEN` status are not included in the response.
129
- * @param - App ID to count the comments of.
130
- */
131
- (appId: string, options?: CountCommentsOptions | undefined): Promise<CountCommentsResponse>;
132
- }
133
- declare function listCommentsByResource$1(httpClient: HttpClient): ListCommentsByResourceSignature;
134
- interface ListCommentsByResourceSignature {
135
- /**
136
- * Lists published comments and replies from a specified resource, such as a blog post.
137
- * @param - ID of the app from which the comments are listed.
138
- */
139
- (appId: string, options?: ListCommentsByResourceOptions | undefined): Promise<ListCommentsByResourceResponse>;
140
- }
141
- declare function getCommentThread$1(httpClient: HttpClient): GetCommentThreadSignature;
142
- interface GetCommentThreadSignature {
143
- /**
144
- * Returns a thread of a comment or a reply.
145
- *
146
- * If you request a comment thread, the method returns a single comment with cursors. With cursors (`pagingMetadata.cursors.next` or `pagingMetadata.cursors.prev`) you can load replies by calling the List Comments by Resource method.
147
- *
148
- * 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.
149
- * @param - Comment ID.
150
- */
151
- (commentId: string, options?: GetCommentThreadOptions | undefined): Promise<GetCommentThreadResponse>;
152
- }
153
- declare function bulkPublishComment$1(httpClient: HttpClient): BulkPublishCommentSignature;
154
- interface BulkPublishCommentSignature {
155
- /**
156
- * Publishes multiple comments with the `HIDDEN` status. The comment status becomes `PUBLISHED`.
157
- * @param - ID of the app where to publish the comment.
158
- */
159
- (appId: string, options: BulkPublishCommentOptions): Promise<BulkPublishCommentResponse>;
160
- }
161
- declare function bulkHideComment$1(httpClient: HttpClient): BulkHideCommentSignature;
162
- interface BulkHideCommentSignature {
163
- /**
164
- * Hides multiple comments. The comment status becomes `HIDDEN`.
165
- * @param - ID of the app where to hide the comments.
166
- */
167
- (appId: string, options: BulkHideCommentOptions): Promise<BulkHideCommentResponse>;
168
- }
169
- declare function bulkDeleteComment$1(httpClient: HttpClient): BulkDeleteCommentSignature;
170
- interface BulkDeleteCommentSignature {
171
- /**
172
- * Deletes multiple comments.
173
- * @param - ID of the app where to delete the comments.
174
- */
175
- (appId: string, options: BulkDeleteCommentOptions): Promise<BulkDeleteCommentResponse>;
176
- }
177
- declare function bulkModerateDraftContent$1(httpClient: HttpClient): BulkModerateDraftContentSignature;
178
- interface BulkModerateDraftContentSignature {
179
- /**
180
- * Moderates the draft content of multiple comments.
181
- * @param - ID of the app where to moderate the comments.
182
- */
183
- (appId: string, options: BulkModerateDraftContentOptions): Promise<BulkModerateDraftContentResponse>;
184
- }
185
- declare function bulkMoveCommentByFilter$1(httpClient: HttpClient): BulkMoveCommentByFilterSignature;
186
- interface BulkMoveCommentByFilterSignature {
187
- /**
188
- * Moves multiple comments to another resource.
189
- * @param - ID of the app from which to move the comments.
190
- */
191
- (appId: string, options?: BulkMoveCommentByFilterOptions | undefined): Promise<BulkMoveCommentByFilterResponse>;
192
- }
193
-
194
- declare const createComment: MaybeContext<BuildRESTFunction<typeof createComment$1> & typeof createComment$1>;
195
- declare const getComment: MaybeContext<BuildRESTFunction<typeof getComment$1> & typeof getComment$1>;
196
- declare const updateComment: MaybeContext<BuildRESTFunction<typeof updateComment$1> & typeof updateComment$1>;
197
- declare const deleteComment: MaybeContext<BuildRESTFunction<typeof deleteComment$1> & typeof deleteComment$1>;
198
- declare const moderateDraftContent: MaybeContext<BuildRESTFunction<typeof moderateDraftContent$1> & typeof moderateDraftContent$1>;
199
- declare const queryComments: MaybeContext<BuildRESTFunction<typeof queryComments$1> & typeof queryComments$1>;
200
- declare const markComment: MaybeContext<BuildRESTFunction<typeof markComment$1> & typeof markComment$1>;
201
- declare const unmarkComment: MaybeContext<BuildRESTFunction<typeof unmarkComment$1> & typeof unmarkComment$1>;
202
- declare const hideComment: MaybeContext<BuildRESTFunction<typeof hideComment$1> & typeof hideComment$1>;
203
- declare const publishComment: MaybeContext<BuildRESTFunction<typeof publishComment$1> & typeof publishComment$1>;
204
- declare const countComments: MaybeContext<BuildRESTFunction<typeof countComments$1> & typeof countComments$1>;
205
- declare const listCommentsByResource: MaybeContext<BuildRESTFunction<typeof listCommentsByResource$1> & typeof listCommentsByResource$1>;
206
- declare const getCommentThread: MaybeContext<BuildRESTFunction<typeof getCommentThread$1> & typeof getCommentThread$1>;
207
- declare const bulkPublishComment: MaybeContext<BuildRESTFunction<typeof bulkPublishComment$1> & typeof bulkPublishComment$1>;
208
- declare const bulkHideComment: MaybeContext<BuildRESTFunction<typeof bulkHideComment$1> & typeof bulkHideComment$1>;
209
- declare const bulkDeleteComment: MaybeContext<BuildRESTFunction<typeof bulkDeleteComment$1> & typeof bulkDeleteComment$1>;
210
- declare const bulkModerateDraftContent: MaybeContext<BuildRESTFunction<typeof bulkModerateDraftContent$1> & typeof bulkModerateDraftContent$1>;
211
- declare const bulkMoveCommentByFilter: MaybeContext<BuildRESTFunction<typeof bulkMoveCommentByFilter$1> & typeof bulkMoveCommentByFilter$1>;
212
- /**
213
- * Triggered when comment content is updated.
214
- */
215
- declare const onCommentContentChanged: ReturnType<typeof createEventModule<typeof publicOnCommentContentChanged>>;
216
- /**
217
- * Triggered when a comment is hidden.
218
- */
219
- declare const onCommentHidden: ReturnType<typeof createEventModule<typeof publicOnCommentHidden>>;
220
- /**
221
- * Triggered when a comment is marked.
222
- */
223
- declare const onCommentMarked: ReturnType<typeof createEventModule<typeof publicOnCommentMarked>>;
224
- /**
225
- * Triggered when a comment is moved.
226
- */
227
- declare const onCommentMoved: ReturnType<typeof createEventModule<typeof publicOnCommentMoved>>;
228
- /**
229
- * Triggered when a comment is published.
230
- */
231
- declare const onCommentPublished: ReturnType<typeof createEventModule<typeof publicOnCommentPublished>>;
232
- /**
233
- * Triggered when a comment is unmarked.
234
- */
235
- declare const onCommentUnmarked: ReturnType<typeof createEventModule<typeof publicOnCommentUnmarked>>;
236
- /**
237
- * Triggered when a comment is created.
238
- */
239
- declare const onCommentCreated: ReturnType<typeof createEventModule<typeof publicOnCommentCreated>>;
240
- /**
241
- * Triggered when the total number of comments has changed in a resource.
242
- */
243
- declare const onCommentResourceCommentCountChanged: ReturnType<typeof createEventModule<typeof publicOnCommentResourceCommentCountChanged>>;
244
- /**
245
- * Triggered when a comment is updated.
246
- */
247
- declare const onCommentUpdated: ReturnType<typeof createEventModule<typeof publicOnCommentUpdated>>;
248
-
249
- export { BulkDeleteCommentOptions, BulkDeleteCommentResponse, BulkHideCommentOptions, BulkHideCommentResponse, BulkModerateDraftContentOptions, BulkModerateDraftContentResponse, BulkMoveCommentByFilterOptions, BulkMoveCommentByFilterResponse, BulkPublishCommentOptions, BulkPublishCommentResponse, Comment, 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, onCommentHidden, onCommentMarked, onCommentMoved, onCommentPublished, onCommentResourceCommentCountChanged, onCommentUnmarked, onCommentUpdated, publishComment, queryComments, unmarkComment, updateComment };