@wix/auto_sdk_comments_comments 1.0.47 → 1.0.49
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.
- package/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js +14 -9
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +20 -4
- package/build/cjs/index.typings.js +14 -9
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +15 -1
- package/build/cjs/meta.js +7 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +11 -5
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +20 -4
- package/build/es/index.typings.mjs +11 -5
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +15 -1
- package/build/es/meta.mjs +6 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +14 -9
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +20 -4
- package/build/internal/cjs/index.typings.js +14 -9
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +15 -1
- package/build/internal/cjs/meta.js +7 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +11 -5
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +20 -4
- package/build/internal/es/index.typings.mjs +11 -5
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +15 -1
- package/build/internal/es/meta.mjs +6 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
2
|
import { Comment, CreateCommentApplicationErrors, UpdateComment, UpdateCommentApplicationErrors, ModerateDraftContentOptions, ModerateDraftContentResponse, MarkCommentResponse, UnmarkCommentResponse, HideCommentResponse, PublishCommentResponse, CountCommentsOptions, CountCommentsResponse, CountCommentsApplicationErrors, ListCommentsByResourceOptions, ListCommentsByResourceResponse, GetCommentThreadOptions, GetCommentThreadResponse, BulkPublishCommentOptions, BulkPublishCommentResponse, BulkHideCommentOptions, BulkHideCommentResponse, BulkDeleteCommentOptions, BulkDeleteCommentResponse, BulkModerateDraftContentOptions, BulkModerateDraftContentResponse, BulkMoveCommentByFilterOptions, BulkMoveCommentByFilterResponse, CommentDeletedEnvelope, CommentContentChangedEnvelope, CommentHiddenEnvelope, CommentMarkedEnvelope, CommentMovedEnvelope, CommentPublishedEnvelope, CommentUnmarkedEnvelope, CommentCreatedEnvelope, CommentResourceCommentCountChangedEnvelope, CommentUpdatedEnvelope, CommentQuery, QueryCommentsOptions, typedQueryComments, CommentsQueryBuilder } from './index.typings.js';
|
|
3
|
-
export { AccountInfo, AccountInfoMetadata, Action, ActionEvent, ActionWithLiterals, Alignment, AlignmentWithLiterals, AnchorData, App, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AppTypeWithLiterals, AspectRatio, AspectRatioWithLiterals, Attachment, AttachmentMediaOneOf, AudioData, Background, BackgroundBackgroundOneOf, BackgroundImage, BackgroundType, BackgroundTypeWithLiterals, BaseEventMetadata, BlockquoteData, BookingData, Border, BorderColors, BorderWidths, BulkDeleteCommentRequest, BulkHideCommentRequest, BulkModerateDraftContentRequest, BulkMoveCommentByFilterRequest, BulkPublishCommentRequest, BulletedListData, ButtonData, ButtonDataType, ButtonDataTypeWithLiterals, ButtonStyles, CaptionData, CardStyles, CellStyle, CodeBlockData, CollapsibleListData, ColorData, Colors, CommentAuthor, CommentAuthorIdentityOneOf, CommentContent, CommentContentChanged, CommentDeleted, CommentHidden, CommentMarked, CommentModerated, CommentMoved, CommentPublished, CommentQuerySpec, CommentReactionSummary, CommentSort, CommentUnmarked, CommentsQueryResult, CommonQueryWithEntityContext, ContactDetails, ContentAuthor, ContentAuthorAuthorOneOf, CountCommentsRequest, CreateCommentRequest, CreateCommentResponse, Crop, CropWithLiterals, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, CustomTag, Decoration, DecorationDataOneOf, DecorationType, DecorationTypeWithLiterals, DeleteByFilterOperation, DeleteByIdsOperation, DeleteCommentRequest, DeleteCommentResponse, Design, DesignTarget, DesignTargetWithLiterals, Destination, Dimensions, Direction, DirectionWithLiterals, DividerData, DividerDataAlignment, DividerDataAlignmentWithLiterals, DocumentStyle, DomainEvent, DomainEventBodyOneOf, EmbedData, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventData, EventMetadata, File, FileData, FileSource, FileSourceDataOneOf,
|
|
3
|
+
export { AccountInfo, AccountInfoMetadata, Action, ActionEvent, ActionWithLiterals, Alignment, AlignmentWithLiterals, AnchorData, App, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AppTypeWithLiterals, AspectRatio, AspectRatioWithLiterals, Attachment, AttachmentMediaOneOf, AudioData, Background, BackgroundBackgroundOneOf, BackgroundImage, BackgroundType, BackgroundTypeWithLiterals, Banner, BaseEventMetadata, BlockquoteData, BookingData, Border, BorderColors, BorderWidths, BulkDeleteCommentRequest, BulkHideCommentRequest, BulkModerateDraftContentRequest, BulkMoveCommentByFilterRequest, BulkPublishCommentRequest, BulletedListData, ButtonData, ButtonDataType, ButtonDataTypeWithLiterals, ButtonStyles, CaptionData, CardStyles, CellStyle, CodeBlockData, CollapsibleListData, ColorData, Colors, CommentAuthor, CommentAuthorIdentityOneOf, CommentContent, CommentContentChanged, CommentDeleted, CommentHidden, CommentMarked, CommentModerated, CommentMoved, CommentPublished, CommentQuerySpec, CommentReactionSummary, CommentSort, CommentUnmarked, CommentsQueryResult, CommonQueryWithEntityContext, ContactDetails, ContentAuthor, ContentAuthorAuthorOneOf, CountCommentsRequest, CreateCommentRequest, CreateCommentResponse, Crop, CropWithLiterals, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, CustomTag, Decoration, DecorationDataOneOf, DecorationType, DecorationTypeWithLiterals, DeleteByFilterOperation, DeleteByIdsOperation, DeleteCommentRequest, DeleteCommentResponse, Design, DesignTarget, DesignTargetWithLiterals, Destination, Dimensions, Direction, DirectionWithLiterals, DividerData, DividerDataAlignment, DividerDataAlignmentWithLiterals, DocumentStyle, DomainEvent, DomainEventBodyOneOf, EmbedData, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventData, EventMetadata, File, FileData, FileSource, FileSourceDataOneOf, FontFamilyData, FontSizeData, FontType, FontTypeWithLiterals, GIF, GIFData, GIFType, GIFTypeWithLiterals, GalleryData, GalleryOptions, GalleryOptionsLayout, GetCommentRequest, GetCommentResponse, GetCommentThreadRequest, Gradient, HTMLData, HTMLDataDataOneOf, HeadingData, Height, HideCommentRequest, IdentificationData, IdentificationDataIdOneOf, Image, ImageData, ImageDataStyles, ImagePosition, ImagePositionWithLiterals, ImageStyles, InitialExpandedItems, InitialExpandedItemsWithLiterals, InternalDocument, InternalDocumentUpdateByFilterOperation, InternalDocumentUpdateOperation, InternalUpdateExistingOperation, InvalidateCache, InvalidateCacheGetByOneOf, Item, ItemDataOneOf, ItemStyle, Layout, LayoutCellData, LayoutData, LayoutType, LayoutTypeWithLiterals, LayoutWithLiterals, LineStyle, LineStyleWithLiterals, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListCommentsByResourceCursorPaging, ListCommentsByResourceRequest, ListValue, MapData, MapSettings, MapType, MapTypeWithLiterals, MarkCommentRequest, Media, Mention, MentionData, MentionIdentityOneOf, MessageEnvelope, Metadata, ModerateDraftContentRequest, Node, NodeDataOneOf, NodeStyle, NodeType, NodeTypeWithLiterals, NullValue, NullValueWithLiterals, Oembed, Option, OptionDesign, OptionLayout, Order, OrderWithLiterals, OrderedListData, Orientation, OrientationWithLiterals, Origin, OriginWithLiterals, PDFSettings, Page, ParagraphData, ParentComment, Permissions, Placement, PlacementWithLiterals, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataAlignmentWithLiterals, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollLayout, PollLayoutDirection, PollLayoutDirectionWithLiterals, PollLayoutType, PollLayoutTypeWithLiterals, Position, PositionWithLiterals, PricingData, PublishCommentRequest, QueryCommentsRequest, QueryCommentsResponse, Rel, RepliesListResponse, ReplySort, ReplySortOrder, ReplySortOrderWithLiterals, Resizing, ResizingWithLiterals, ResourceCommentCountChanged, ResponsivenessBehaviour, ResponsivenessBehaviourWithLiterals, RestoreInfo, RibbonStyles, RichContent, Scaling, ScalingWithLiterals, Settings, ShapeData, ShapeDataStyles, SortOrder, SortOrderWithLiterals, Sorting, Source, SourceWithLiterals, Spoiler, SpoilerData, Status, StatusWithLiterals, Styles, StylesBorder, StylesPosition, StylesPositionWithLiterals, TableCellData, TableData, Target, TargetWithLiterals, TextAlignment, TextAlignmentWithLiterals, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, ThumbnailsAlignmentWithLiterals, Type, TypeWithLiterals, URI, UnmarkCommentRequest, UpdateCommentRequest, UpdateCommentResponse, UpdateInternalDocumentsEvent, UpdateInternalDocumentsEventOperationOneOf, VersionedDeleteByIdsOperation, VersionedDocumentId, VersionedDocumentUpdateOperation, VersioningMode, VersioningModeWithLiterals, VerticalAlignment, VerticalAlignmentAlignment, VerticalAlignmentAlignmentWithLiterals, VerticalAlignmentWithLiterals, Video, VideoData, VideoResolution, ViewMode, ViewModeWithLiterals, ViewRole, ViewRoleWithLiterals, VoteRole, VoteRoleWithLiterals, VoteSummary, WebhookIdentityType, WebhookIdentityTypeWithLiterals, Width, WidthType, WidthTypeWithLiterals, WidthWithLiterals, utils } from './index.typings.js';
|
|
4
4
|
|
|
5
5
|
declare function createComment$1(httpClient: HttpClient): CreateCommentSignature;
|
|
6
6
|
interface CreateCommentSignature {
|
package/build/cjs/index.js
CHANGED
|
@@ -31,7 +31,6 @@ __export(index_exports, {
|
|
|
31
31
|
DesignTarget: () => DesignTarget,
|
|
32
32
|
Direction: () => Direction,
|
|
33
33
|
DividerDataAlignment: () => DividerDataAlignment,
|
|
34
|
-
Filter: () => Filter,
|
|
35
34
|
FontType: () => FontType,
|
|
36
35
|
GIFType: () => GIFType,
|
|
37
36
|
ImagePosition: () => ImagePosition,
|
|
@@ -44,17 +43,16 @@ __export(index_exports, {
|
|
|
44
43
|
NullValue: () => NullValue,
|
|
45
44
|
Order: () => Order,
|
|
46
45
|
Orientation: () => Orientation,
|
|
46
|
+
Origin: () => Origin,
|
|
47
47
|
Placement: () => Placement,
|
|
48
48
|
PluginContainerDataAlignment: () => PluginContainerDataAlignment,
|
|
49
49
|
PollLayoutDirection: () => PollLayoutDirection,
|
|
50
50
|
PollLayoutType: () => PollLayoutType,
|
|
51
51
|
Position: () => Position,
|
|
52
|
-
QueryBuilder: () => QueryBuilder,
|
|
53
52
|
ReplySortOrder: () => ReplySortOrder,
|
|
54
53
|
Resizing: () => Resizing,
|
|
55
54
|
ResponsivenessBehaviour: () => ResponsivenessBehaviour,
|
|
56
55
|
Scaling: () => Scaling,
|
|
57
|
-
Sort: () => Sort,
|
|
58
56
|
SortOrder: () => SortOrder,
|
|
59
57
|
Source: () => Source,
|
|
60
58
|
Status: () => Status,
|
|
@@ -99,7 +97,8 @@ __export(index_exports, {
|
|
|
99
97
|
publishComment: () => publishComment4,
|
|
100
98
|
queryComments: () => queryComments4,
|
|
101
99
|
unmarkComment: () => unmarkComment4,
|
|
102
|
-
updateComment: () => updateComment4
|
|
100
|
+
updateComment: () => updateComment4,
|
|
101
|
+
utils: () => utils
|
|
103
102
|
});
|
|
104
103
|
module.exports = __toCommonJS(index_exports);
|
|
105
104
|
|
|
@@ -3216,6 +3215,11 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
|
3216
3215
|
WebhookIdentityType2["APP"] = "APP";
|
|
3217
3216
|
return WebhookIdentityType2;
|
|
3218
3217
|
})(WebhookIdentityType || {});
|
|
3218
|
+
var Origin = /* @__PURE__ */ ((Origin2) => {
|
|
3219
|
+
Origin2["IMAGE"] = "IMAGE";
|
|
3220
|
+
Origin2["LAYOUT"] = "LAYOUT";
|
|
3221
|
+
return Origin2;
|
|
3222
|
+
})(Origin || {});
|
|
3219
3223
|
var VersioningMode = /* @__PURE__ */ ((VersioningMode2) => {
|
|
3220
3224
|
VersioningMode2["DEFAULT"] = "DEFAULT";
|
|
3221
3225
|
VersioningMode2["GREATER_THAN"] = "GREATER_THAN";
|
|
@@ -3708,7 +3712,9 @@ async function typedQueryComments(query, options) {
|
|
|
3708
3712
|
throw transformedError;
|
|
3709
3713
|
}
|
|
3710
3714
|
}
|
|
3711
|
-
var
|
|
3715
|
+
var utils = {
|
|
3716
|
+
...(0, import_query_builder_utils.createQueryUtils)()
|
|
3717
|
+
};
|
|
3712
3718
|
async function markComment2(commentId) {
|
|
3713
3719
|
const { httpClient, sideEffects } = arguments[1];
|
|
3714
3720
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)(
|
|
@@ -6161,7 +6167,6 @@ var onCommentUpdated2 = (0, import_event_definition_modules.createEventModule)(o
|
|
|
6161
6167
|
DesignTarget,
|
|
6162
6168
|
Direction,
|
|
6163
6169
|
DividerDataAlignment,
|
|
6164
|
-
Filter,
|
|
6165
6170
|
FontType,
|
|
6166
6171
|
GIFType,
|
|
6167
6172
|
ImagePosition,
|
|
@@ -6174,17 +6179,16 @@ var onCommentUpdated2 = (0, import_event_definition_modules.createEventModule)(o
|
|
|
6174
6179
|
NullValue,
|
|
6175
6180
|
Order,
|
|
6176
6181
|
Orientation,
|
|
6182
|
+
Origin,
|
|
6177
6183
|
Placement,
|
|
6178
6184
|
PluginContainerDataAlignment,
|
|
6179
6185
|
PollLayoutDirection,
|
|
6180
6186
|
PollLayoutType,
|
|
6181
6187
|
Position,
|
|
6182
|
-
QueryBuilder,
|
|
6183
6188
|
ReplySortOrder,
|
|
6184
6189
|
Resizing,
|
|
6185
6190
|
ResponsivenessBehaviour,
|
|
6186
6191
|
Scaling,
|
|
6187
|
-
Sort,
|
|
6188
6192
|
SortOrder,
|
|
6189
6193
|
Source,
|
|
6190
6194
|
Status,
|
|
@@ -6229,6 +6233,7 @@ var onCommentUpdated2 = (0, import_event_definition_modules.createEventModule)(o
|
|
|
6229
6233
|
publishComment,
|
|
6230
6234
|
queryComments,
|
|
6231
6235
|
unmarkComment,
|
|
6232
|
-
updateComment
|
|
6236
|
+
updateComment,
|
|
6237
|
+
utils
|
|
6233
6238
|
});
|
|
6234
6239
|
//# sourceMappingURL=index.js.map
|