@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
|
@@ -1901,6 +1901,8 @@ interface LayoutData {
|
|
|
1901
1901
|
containerData?: PluginContainerData;
|
|
1902
1902
|
/** Defines where selected design propertied applies to */
|
|
1903
1903
|
designTarget?: DesignTargetWithLiterals;
|
|
1904
|
+
/** Banner configuration. When present, this layout is displayed as a banner. */
|
|
1905
|
+
banner?: Banner;
|
|
1904
1906
|
}
|
|
1905
1907
|
declare enum Scaling {
|
|
1906
1908
|
/** Auto image scaling */
|
|
@@ -2559,6 +2561,18 @@ interface AccountInfo {
|
|
|
2559
2561
|
*/
|
|
2560
2562
|
siteId?: string | null;
|
|
2561
2563
|
}
|
|
2564
|
+
declare enum Origin {
|
|
2565
|
+
/** Banner originated from an image */
|
|
2566
|
+
IMAGE = "IMAGE",
|
|
2567
|
+
/** Banner originated from a layout */
|
|
2568
|
+
LAYOUT = "LAYOUT"
|
|
2569
|
+
}
|
|
2570
|
+
/** @enumType */
|
|
2571
|
+
type OriginWithLiterals = Origin | 'IMAGE' | 'LAYOUT';
|
|
2572
|
+
interface Banner {
|
|
2573
|
+
/** Origin of the banner */
|
|
2574
|
+
origin?: OriginWithLiterals;
|
|
2575
|
+
}
|
|
2562
2576
|
interface UpdateInternalDocumentsEvent extends UpdateInternalDocumentsEventOperationOneOf {
|
|
2563
2577
|
/** insert/update documents */
|
|
2564
2578
|
update?: InternalDocumentUpdateOperation;
|
|
@@ -3852,9 +3866,11 @@ type CommentQuery = {
|
|
|
3852
3866
|
order?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['order'];
|
|
3853
3867
|
}[];
|
|
3854
3868
|
};
|
|
3855
|
-
declare const
|
|
3856
|
-
|
|
3857
|
-
|
|
3869
|
+
declare const utils: {
|
|
3870
|
+
QueryBuilder: () => _wix_sdk_types.QueryBuilder<Comment, CommentQuerySpec, CommentQuery>;
|
|
3871
|
+
Filter: _wix_sdk_types.FilterFactory<Comment, CommentQuerySpec>;
|
|
3872
|
+
Sort: _wix_sdk_types.SortFactory<CommentQuerySpec>;
|
|
3873
|
+
};
|
|
3858
3874
|
/**
|
|
3859
3875
|
* Sets `marked` to `TRUE` to mark a comment.
|
|
3860
3876
|
*
|
|
@@ -4078,4 +4094,4 @@ interface BulkMoveCommentByFilterOptions {
|
|
|
4078
4094
|
destination?: Destination;
|
|
4079
4095
|
}
|
|
4080
4096
|
|
|
4081
|
-
export { type AccountInfo, type AccountInfoMetadata, Action, type ActionEvent, type ActionWithLiterals, Alignment, type AlignmentWithLiterals, type AnchorData, type App, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, AspectRatio, type AspectRatioWithLiterals, type Attachment, type AttachmentMediaOneOf, type AudioData, type Background, type BackgroundBackgroundOneOf, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type BaseEventMetadata, type BlockquoteData, type BookingData, type Border, type BorderColors, type BorderWidths, 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 CommentQuery, type CommentQuerySpec, type CommentReactionSummary, type CommentResourceCommentCountChangedEnvelope, type CommentSort, type CommentUnmarked, type CommentUnmarkedEnvelope, type CommentUpdatedEnvelope, type CommentsQueryBuilder, type CommentsQueryResult, type CommonQueryWithEntityContext, 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 CustomTag, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeleteByFilterOperation, type DeleteByIdsOperation, type DeleteCommentRequest, type DeleteCommentResponse, type Design, DesignTarget, type DesignTargetWithLiterals, type Destination, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type EmbedData, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventData, type EventMetadata, type File, type FileData, type FileSource, type FileSourceDataOneOf,
|
|
4097
|
+
export { type AccountInfo, type AccountInfoMetadata, Action, type ActionEvent, type ActionWithLiterals, Alignment, type AlignmentWithLiterals, type AnchorData, type App, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, AspectRatio, type AspectRatioWithLiterals, type Attachment, type AttachmentMediaOneOf, type AudioData, type Background, type BackgroundBackgroundOneOf, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type Banner, type BaseEventMetadata, type BlockquoteData, type BookingData, type Border, type BorderColors, type BorderWidths, 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 CommentQuery, type CommentQuerySpec, type CommentReactionSummary, type CommentResourceCommentCountChangedEnvelope, type CommentSort, type CommentUnmarked, type CommentUnmarkedEnvelope, type CommentUpdatedEnvelope, type CommentsQueryBuilder, type CommentsQueryResult, type CommonQueryWithEntityContext, 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 CustomTag, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeleteByFilterOperation, type DeleteByIdsOperation, type DeleteCommentRequest, type DeleteCommentResponse, type Design, DesignTarget, type DesignTargetWithLiterals, type Destination, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type EmbedData, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventData, type EventMetadata, type File, type FileData, type FileSource, type FileSourceDataOneOf, type FontFamilyData, 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, ImagePosition, type ImagePositionWithLiterals, type ImageStyles, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type InternalDocument, type InternalDocumentUpdateByFilterOperation, type InternalDocumentUpdateOperation, type InternalUpdateExistingOperation, type InvalidateCache, type InvalidateCacheGetByOneOf, type Item, type ItemDataOneOf, type ItemStyle, Layout, type LayoutCellData, type LayoutData, 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, Origin, type OriginWithLiterals, type PDFSettings, type Page, 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 PricingData, type PublishCommentRequest, type PublishCommentResponse, type QueryCommentsOptions, type QueryCommentsRequest, type QueryCommentsResponse, type Rel, type RepliesListResponse, type ReplySort, ReplySortOrder, type ReplySortOrderWithLiterals, Resizing, type ResizingWithLiterals, type ResourceCommentCountChanged, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RestoreInfo, type RibbonStyles, type RichContent, Scaling, type ScalingWithLiterals, type Settings, type ShapeData, type ShapeDataStyles, 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 URI, 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, VerticalAlignmentAlignment, type VerticalAlignmentAlignmentWithLiterals, 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, typedQueryComments, unmarkComment, updateComment, utils };
|
|
@@ -31,7 +31,6 @@ __export(index_typings_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_typings_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,
|
|
@@ -90,7 +88,8 @@ __export(index_typings_exports, {
|
|
|
90
88
|
queryComments: () => queryComments2,
|
|
91
89
|
typedQueryComments: () => typedQueryComments,
|
|
92
90
|
unmarkComment: () => unmarkComment2,
|
|
93
|
-
updateComment: () => updateComment2
|
|
91
|
+
updateComment: () => updateComment2,
|
|
92
|
+
utils: () => utils
|
|
94
93
|
});
|
|
95
94
|
module.exports = __toCommonJS(index_typings_exports);
|
|
96
95
|
|
|
@@ -3196,6 +3195,11 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
|
3196
3195
|
WebhookIdentityType2["APP"] = "APP";
|
|
3197
3196
|
return WebhookIdentityType2;
|
|
3198
3197
|
})(WebhookIdentityType || {});
|
|
3198
|
+
var Origin = /* @__PURE__ */ ((Origin2) => {
|
|
3199
|
+
Origin2["IMAGE"] = "IMAGE";
|
|
3200
|
+
Origin2["LAYOUT"] = "LAYOUT";
|
|
3201
|
+
return Origin2;
|
|
3202
|
+
})(Origin || {});
|
|
3199
3203
|
var VersioningMode = /* @__PURE__ */ ((VersioningMode2) => {
|
|
3200
3204
|
VersioningMode2["DEFAULT"] = "DEFAULT";
|
|
3201
3205
|
VersioningMode2["GREATER_THAN"] = "GREATER_THAN";
|
|
@@ -3688,7 +3692,9 @@ async function typedQueryComments(query, options) {
|
|
|
3688
3692
|
throw transformedError;
|
|
3689
3693
|
}
|
|
3690
3694
|
}
|
|
3691
|
-
var
|
|
3695
|
+
var utils = {
|
|
3696
|
+
...(0, import_query_builder_utils.createQueryUtils)()
|
|
3697
|
+
};
|
|
3692
3698
|
async function markComment2(commentId) {
|
|
3693
3699
|
const { httpClient, sideEffects } = arguments[1];
|
|
3694
3700
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)(
|
|
@@ -4268,7 +4274,6 @@ async function bulkMoveCommentByFilter2(appId, options) {
|
|
|
4268
4274
|
DesignTarget,
|
|
4269
4275
|
Direction,
|
|
4270
4276
|
DividerDataAlignment,
|
|
4271
|
-
Filter,
|
|
4272
4277
|
FontType,
|
|
4273
4278
|
GIFType,
|
|
4274
4279
|
ImagePosition,
|
|
@@ -4281,17 +4286,16 @@ async function bulkMoveCommentByFilter2(appId, options) {
|
|
|
4281
4286
|
NullValue,
|
|
4282
4287
|
Order,
|
|
4283
4288
|
Orientation,
|
|
4289
|
+
Origin,
|
|
4284
4290
|
Placement,
|
|
4285
4291
|
PluginContainerDataAlignment,
|
|
4286
4292
|
PollLayoutDirection,
|
|
4287
4293
|
PollLayoutType,
|
|
4288
4294
|
Position,
|
|
4289
|
-
QueryBuilder,
|
|
4290
4295
|
ReplySortOrder,
|
|
4291
4296
|
Resizing,
|
|
4292
4297
|
ResponsivenessBehaviour,
|
|
4293
4298
|
Scaling,
|
|
4294
|
-
Sort,
|
|
4295
4299
|
SortOrder,
|
|
4296
4300
|
Source,
|
|
4297
4301
|
Status,
|
|
@@ -4327,6 +4331,7 @@ async function bulkMoveCommentByFilter2(appId, options) {
|
|
|
4327
4331
|
queryComments,
|
|
4328
4332
|
typedQueryComments,
|
|
4329
4333
|
unmarkComment,
|
|
4330
|
-
updateComment
|
|
4334
|
+
updateComment,
|
|
4335
|
+
utils
|
|
4331
4336
|
});
|
|
4332
4337
|
//# sourceMappingURL=index.typings.js.map
|