@wix/auto_sdk_comments_comments 1.0.46 → 1.0.48
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 +159 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +31 -3
- package/build/cjs/index.typings.js +99 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +25 -3
- package/build/cjs/meta.js +91 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +157 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +31 -3
- package/build/es/index.typings.mjs +97 -1
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +25 -3
- package/build/es/meta.mjs +91 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +159 -2
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +31 -3
- package/build/internal/cjs/index.typings.js +99 -2
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +25 -3
- package/build/internal/cjs/meta.js +91 -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 +157 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +31 -3
- package/build/internal/es/index.typings.mjs +97 -1
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +25 -3
- package/build/internal/es/meta.mjs +91 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +4 -4
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as _wix_sdk_types from '@wix/sdk-types';
|
|
1
2
|
import { QuerySpec, Query, NonNullablePaths } from '@wix/sdk-types';
|
|
2
3
|
|
|
3
4
|
/**
|
|
@@ -196,6 +197,8 @@ interface Node extends NodeDataOneOf {
|
|
|
196
197
|
layoutData?: LayoutData;
|
|
197
198
|
/** Data for a cell node. */
|
|
198
199
|
layoutCellData?: LayoutCellData;
|
|
200
|
+
/** Data for a shape node. */
|
|
201
|
+
shapeData?: ShapeData;
|
|
199
202
|
/** Node type. Use `APP_EMBED` for nodes that embed content from other Wix apps. Use `EMBED` to embed content in [oEmbed](https://oembed.com/) format. */
|
|
200
203
|
type?: NodeTypeWithLiterals;
|
|
201
204
|
/** Node ID. */
|
|
@@ -263,6 +266,8 @@ interface NodeDataOneOf {
|
|
|
263
266
|
layoutData?: LayoutData;
|
|
264
267
|
/** Data for a cell node. */
|
|
265
268
|
layoutCellData?: LayoutCellData;
|
|
269
|
+
/** Data for a shape node. */
|
|
270
|
+
shapeData?: ShapeData;
|
|
266
271
|
}
|
|
267
272
|
declare enum NodeType {
|
|
268
273
|
PARAGRAPH = "PARAGRAPH",
|
|
@@ -298,10 +303,11 @@ declare enum NodeType {
|
|
|
298
303
|
AUDIO = "AUDIO",
|
|
299
304
|
CAPTION = "CAPTION",
|
|
300
305
|
LAYOUT = "LAYOUT",
|
|
301
|
-
LAYOUT_CELL = "LAYOUT_CELL"
|
|
306
|
+
LAYOUT_CELL = "LAYOUT_CELL",
|
|
307
|
+
SHAPE = "SHAPE"
|
|
302
308
|
}
|
|
303
309
|
/** @enumType */
|
|
304
|
-
type NodeTypeWithLiterals = NodeType | 'PARAGRAPH' | 'TEXT' | 'HEADING' | 'BULLETED_LIST' | 'ORDERED_LIST' | 'LIST_ITEM' | 'BLOCKQUOTE' | 'CODE_BLOCK' | 'VIDEO' | 'DIVIDER' | 'FILE' | 'GALLERY' | 'GIF' | 'HTML' | 'IMAGE' | 'LINK_PREVIEW' | 'MAP' | 'POLL' | 'APP_EMBED' | 'BUTTON' | 'COLLAPSIBLE_LIST' | 'TABLE' | 'EMBED' | 'COLLAPSIBLE_ITEM' | 'COLLAPSIBLE_ITEM_TITLE' | 'COLLAPSIBLE_ITEM_BODY' | 'TABLE_CELL' | 'TABLE_ROW' | 'EXTERNAL' | 'AUDIO' | 'CAPTION' | 'LAYOUT' | 'LAYOUT_CELL';
|
|
310
|
+
type NodeTypeWithLiterals = NodeType | 'PARAGRAPH' | 'TEXT' | 'HEADING' | 'BULLETED_LIST' | 'ORDERED_LIST' | 'LIST_ITEM' | 'BLOCKQUOTE' | 'CODE_BLOCK' | 'VIDEO' | 'DIVIDER' | 'FILE' | 'GALLERY' | 'GIF' | 'HTML' | 'IMAGE' | 'LINK_PREVIEW' | 'MAP' | 'POLL' | 'APP_EMBED' | 'BUTTON' | 'COLLAPSIBLE_LIST' | 'TABLE' | 'EMBED' | 'COLLAPSIBLE_ITEM' | 'COLLAPSIBLE_ITEM_TITLE' | 'COLLAPSIBLE_ITEM_BODY' | 'TABLE_CELL' | 'TABLE_ROW' | 'EXTERNAL' | 'AUDIO' | 'CAPTION' | 'LAYOUT' | 'LAYOUT_CELL' | 'SHAPE';
|
|
305
311
|
interface NodeStyle {
|
|
306
312
|
/** The top padding value in pixels. */
|
|
307
313
|
paddingTop?: string | null;
|
|
@@ -1968,6 +1974,23 @@ interface LayoutCellData {
|
|
|
1968
1974
|
/** Size of the cell in 12 columns grid. */
|
|
1969
1975
|
colSpan?: number | null;
|
|
1970
1976
|
}
|
|
1977
|
+
interface ShapeData {
|
|
1978
|
+
/** Styling for the shape's container. */
|
|
1979
|
+
containerData?: PluginContainerData;
|
|
1980
|
+
/** Shape file details. */
|
|
1981
|
+
shape?: Media;
|
|
1982
|
+
/** Styling for the shape. */
|
|
1983
|
+
styles?: ShapeDataStyles;
|
|
1984
|
+
}
|
|
1985
|
+
interface ShapeDataStyles {
|
|
1986
|
+
/**
|
|
1987
|
+
* Shape fill color as a hexadecimal value.
|
|
1988
|
+
* @format COLOR_HEX
|
|
1989
|
+
*/
|
|
1990
|
+
color?: string | null;
|
|
1991
|
+
/** Map of original color keys to their new color values. */
|
|
1992
|
+
colors?: Record<string, string>;
|
|
1993
|
+
}
|
|
1971
1994
|
interface Metadata {
|
|
1972
1995
|
/** Schema version. */
|
|
1973
1996
|
version?: number;
|
|
@@ -3829,6 +3852,11 @@ type CommentQuery = {
|
|
|
3829
3852
|
order?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['order'];
|
|
3830
3853
|
}[];
|
|
3831
3854
|
};
|
|
3855
|
+
declare const utils: {
|
|
3856
|
+
QueryBuilder: () => _wix_sdk_types.QueryBuilder<Comment, CommentQuerySpec, CommentQuery>;
|
|
3857
|
+
Filter: _wix_sdk_types.FilterFactory<Comment, CommentQuerySpec>;
|
|
3858
|
+
Sort: _wix_sdk_types.SortFactory<CommentQuerySpec>;
|
|
3859
|
+
};
|
|
3832
3860
|
/**
|
|
3833
3861
|
* Sets `marked` to `TRUE` to mark a comment.
|
|
3834
3862
|
*
|
|
@@ -4052,4 +4080,4 @@ interface BulkMoveCommentByFilterOptions {
|
|
|
4052
4080
|
destination?: Destination;
|
|
4053
4081
|
}
|
|
4054
4082
|
|
|
4055
|
-
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, 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, 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, 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 };
|
|
4083
|
+
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, 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, 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 };
|
|
@@ -87,7 +87,8 @@ __export(index_typings_exports, {
|
|
|
87
87
|
queryComments: () => queryComments2,
|
|
88
88
|
typedQueryComments: () => typedQueryComments,
|
|
89
89
|
unmarkComment: () => unmarkComment2,
|
|
90
|
-
updateComment: () => updateComment2
|
|
90
|
+
updateComment: () => updateComment2,
|
|
91
|
+
utils: () => utils
|
|
91
92
|
});
|
|
92
93
|
module.exports = __toCommonJS(index_typings_exports);
|
|
93
94
|
|
|
@@ -231,6 +232,9 @@ function createComment(payload) {
|
|
|
231
232
|
{
|
|
232
233
|
path: "comment.content.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
233
234
|
},
|
|
235
|
+
{
|
|
236
|
+
path: "comment.content.richContent.nodes.shapeData.shape.duration"
|
|
237
|
+
},
|
|
234
238
|
{
|
|
235
239
|
path: "comment.draftContent.richContent.nodes.galleryData.items.image.media.duration"
|
|
236
240
|
},
|
|
@@ -281,6 +285,9 @@ function createComment(payload) {
|
|
|
281
285
|
},
|
|
282
286
|
{
|
|
283
287
|
path: "comment.draftContent.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
path: "comment.draftContent.richContent.nodes.shapeData.shape.duration"
|
|
284
291
|
}
|
|
285
292
|
]
|
|
286
293
|
}
|
|
@@ -396,6 +403,9 @@ function createComment(payload) {
|
|
|
396
403
|
{
|
|
397
404
|
path: "comment.content.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
398
405
|
},
|
|
406
|
+
{
|
|
407
|
+
path: "comment.content.richContent.nodes.shapeData.shape.duration"
|
|
408
|
+
},
|
|
399
409
|
{
|
|
400
410
|
path: "comment.draftContent.richContent.nodes.galleryData.items.image.media.duration"
|
|
401
411
|
},
|
|
@@ -446,6 +456,9 @@ function createComment(payload) {
|
|
|
446
456
|
},
|
|
447
457
|
{
|
|
448
458
|
path: "comment.draftContent.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
459
|
+
},
|
|
460
|
+
{
|
|
461
|
+
path: "comment.draftContent.richContent.nodes.shapeData.shape.duration"
|
|
449
462
|
}
|
|
450
463
|
]
|
|
451
464
|
}
|
|
@@ -568,6 +581,9 @@ function getComment(payload) {
|
|
|
568
581
|
{
|
|
569
582
|
path: "comment.content.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
570
583
|
},
|
|
584
|
+
{
|
|
585
|
+
path: "comment.content.richContent.nodes.shapeData.shape.duration"
|
|
586
|
+
},
|
|
571
587
|
{
|
|
572
588
|
path: "comment.draftContent.richContent.nodes.galleryData.items.image.media.duration"
|
|
573
589
|
},
|
|
@@ -618,6 +634,9 @@ function getComment(payload) {
|
|
|
618
634
|
},
|
|
619
635
|
{
|
|
620
636
|
path: "comment.draftContent.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
path: "comment.draftContent.richContent.nodes.shapeData.shape.duration"
|
|
621
640
|
}
|
|
622
641
|
]
|
|
623
642
|
}
|
|
@@ -714,6 +733,9 @@ function updateComment(payload) {
|
|
|
714
733
|
{
|
|
715
734
|
path: "comment.content.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
716
735
|
},
|
|
736
|
+
{
|
|
737
|
+
path: "comment.content.richContent.nodes.shapeData.shape.duration"
|
|
738
|
+
},
|
|
717
739
|
{
|
|
718
740
|
path: "comment.draftContent.richContent.nodes.galleryData.items.image.media.duration"
|
|
719
741
|
},
|
|
@@ -764,6 +786,9 @@ function updateComment(payload) {
|
|
|
764
786
|
},
|
|
765
787
|
{
|
|
766
788
|
path: "comment.draftContent.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
789
|
+
},
|
|
790
|
+
{
|
|
791
|
+
path: "comment.draftContent.richContent.nodes.shapeData.shape.duration"
|
|
767
792
|
}
|
|
768
793
|
]
|
|
769
794
|
}
|
|
@@ -879,6 +904,9 @@ function updateComment(payload) {
|
|
|
879
904
|
{
|
|
880
905
|
path: "comment.content.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
881
906
|
},
|
|
907
|
+
{
|
|
908
|
+
path: "comment.content.richContent.nodes.shapeData.shape.duration"
|
|
909
|
+
},
|
|
882
910
|
{
|
|
883
911
|
path: "comment.draftContent.richContent.nodes.galleryData.items.image.media.duration"
|
|
884
912
|
},
|
|
@@ -929,6 +957,9 @@ function updateComment(payload) {
|
|
|
929
957
|
},
|
|
930
958
|
{
|
|
931
959
|
path: "comment.draftContent.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
960
|
+
},
|
|
961
|
+
{
|
|
962
|
+
path: "comment.draftContent.richContent.nodes.shapeData.shape.duration"
|
|
932
963
|
}
|
|
933
964
|
]
|
|
934
965
|
}
|
|
@@ -1072,6 +1103,9 @@ function moderateDraftContent(payload) {
|
|
|
1072
1103
|
{
|
|
1073
1104
|
path: "comment.content.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1074
1105
|
},
|
|
1106
|
+
{
|
|
1107
|
+
path: "comment.content.richContent.nodes.shapeData.shape.duration"
|
|
1108
|
+
},
|
|
1075
1109
|
{
|
|
1076
1110
|
path: "comment.draftContent.richContent.nodes.galleryData.items.image.media.duration"
|
|
1077
1111
|
},
|
|
@@ -1122,6 +1156,9 @@ function moderateDraftContent(payload) {
|
|
|
1122
1156
|
},
|
|
1123
1157
|
{
|
|
1124
1158
|
path: "comment.draftContent.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1159
|
+
},
|
|
1160
|
+
{
|
|
1161
|
+
path: "comment.draftContent.richContent.nodes.shapeData.shape.duration"
|
|
1125
1162
|
}
|
|
1126
1163
|
]
|
|
1127
1164
|
}
|
|
@@ -1248,6 +1285,9 @@ function queryComments(payload) {
|
|
|
1248
1285
|
{
|
|
1249
1286
|
path: "comments.content.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1250
1287
|
},
|
|
1288
|
+
{
|
|
1289
|
+
path: "comments.content.richContent.nodes.shapeData.shape.duration"
|
|
1290
|
+
},
|
|
1251
1291
|
{
|
|
1252
1292
|
path: "comments.draftContent.richContent.nodes.galleryData.items.image.media.duration"
|
|
1253
1293
|
},
|
|
@@ -1298,6 +1338,9 @@ function queryComments(payload) {
|
|
|
1298
1338
|
},
|
|
1299
1339
|
{
|
|
1300
1340
|
path: "comments.draftContent.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1341
|
+
},
|
|
1342
|
+
{
|
|
1343
|
+
path: "comments.draftContent.richContent.nodes.shapeData.shape.duration"
|
|
1301
1344
|
}
|
|
1302
1345
|
]
|
|
1303
1346
|
}
|
|
@@ -1420,6 +1463,9 @@ function markComment(payload) {
|
|
|
1420
1463
|
{
|
|
1421
1464
|
path: "comment.content.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1422
1465
|
},
|
|
1466
|
+
{
|
|
1467
|
+
path: "comment.content.richContent.nodes.shapeData.shape.duration"
|
|
1468
|
+
},
|
|
1423
1469
|
{
|
|
1424
1470
|
path: "comment.draftContent.richContent.nodes.galleryData.items.image.media.duration"
|
|
1425
1471
|
},
|
|
@@ -1470,6 +1516,9 @@ function markComment(payload) {
|
|
|
1470
1516
|
},
|
|
1471
1517
|
{
|
|
1472
1518
|
path: "comment.draftContent.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1519
|
+
},
|
|
1520
|
+
{
|
|
1521
|
+
path: "comment.draftContent.richContent.nodes.shapeData.shape.duration"
|
|
1473
1522
|
}
|
|
1474
1523
|
]
|
|
1475
1524
|
}
|
|
@@ -1592,6 +1641,9 @@ function unmarkComment(payload) {
|
|
|
1592
1641
|
{
|
|
1593
1642
|
path: "comment.content.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1594
1643
|
},
|
|
1644
|
+
{
|
|
1645
|
+
path: "comment.content.richContent.nodes.shapeData.shape.duration"
|
|
1646
|
+
},
|
|
1595
1647
|
{
|
|
1596
1648
|
path: "comment.draftContent.richContent.nodes.galleryData.items.image.media.duration"
|
|
1597
1649
|
},
|
|
@@ -1642,6 +1694,9 @@ function unmarkComment(payload) {
|
|
|
1642
1694
|
},
|
|
1643
1695
|
{
|
|
1644
1696
|
path: "comment.draftContent.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1697
|
+
},
|
|
1698
|
+
{
|
|
1699
|
+
path: "comment.draftContent.richContent.nodes.shapeData.shape.duration"
|
|
1645
1700
|
}
|
|
1646
1701
|
]
|
|
1647
1702
|
}
|
|
@@ -1764,6 +1819,9 @@ function hideComment(payload) {
|
|
|
1764
1819
|
{
|
|
1765
1820
|
path: "comment.content.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1766
1821
|
},
|
|
1822
|
+
{
|
|
1823
|
+
path: "comment.content.richContent.nodes.shapeData.shape.duration"
|
|
1824
|
+
},
|
|
1767
1825
|
{
|
|
1768
1826
|
path: "comment.draftContent.richContent.nodes.galleryData.items.image.media.duration"
|
|
1769
1827
|
},
|
|
@@ -1814,6 +1872,9 @@ function hideComment(payload) {
|
|
|
1814
1872
|
},
|
|
1815
1873
|
{
|
|
1816
1874
|
path: "comment.draftContent.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1875
|
+
},
|
|
1876
|
+
{
|
|
1877
|
+
path: "comment.draftContent.richContent.nodes.shapeData.shape.duration"
|
|
1817
1878
|
}
|
|
1818
1879
|
]
|
|
1819
1880
|
}
|
|
@@ -1936,6 +1997,9 @@ function publishComment(payload) {
|
|
|
1936
1997
|
{
|
|
1937
1998
|
path: "comment.content.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1938
1999
|
},
|
|
2000
|
+
{
|
|
2001
|
+
path: "comment.content.richContent.nodes.shapeData.shape.duration"
|
|
2002
|
+
},
|
|
1939
2003
|
{
|
|
1940
2004
|
path: "comment.draftContent.richContent.nodes.galleryData.items.image.media.duration"
|
|
1941
2005
|
},
|
|
@@ -1986,6 +2050,9 @@ function publishComment(payload) {
|
|
|
1986
2050
|
},
|
|
1987
2051
|
{
|
|
1988
2052
|
path: "comment.draftContent.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
2053
|
+
},
|
|
2054
|
+
{
|
|
2055
|
+
path: "comment.draftContent.richContent.nodes.shapeData.shape.duration"
|
|
1989
2056
|
}
|
|
1990
2057
|
]
|
|
1991
2058
|
}
|
|
@@ -2180,6 +2247,9 @@ function listCommentsByResource(payload) {
|
|
|
2180
2247
|
{
|
|
2181
2248
|
path: "comments.content.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
2182
2249
|
},
|
|
2250
|
+
{
|
|
2251
|
+
path: "comments.content.richContent.nodes.shapeData.shape.duration"
|
|
2252
|
+
},
|
|
2183
2253
|
{
|
|
2184
2254
|
path: "comments.draftContent.richContent.nodes.galleryData.items.image.media.duration"
|
|
2185
2255
|
},
|
|
@@ -2231,6 +2301,9 @@ function listCommentsByResource(payload) {
|
|
|
2231
2301
|
{
|
|
2232
2302
|
path: "comments.draftContent.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
2233
2303
|
},
|
|
2304
|
+
{
|
|
2305
|
+
path: "comments.draftContent.richContent.nodes.shapeData.shape.duration"
|
|
2306
|
+
},
|
|
2234
2307
|
{
|
|
2235
2308
|
path: "commentReplies.*.replies.content.richContent.nodes.galleryData.items.image.media.duration"
|
|
2236
2309
|
},
|
|
@@ -2282,6 +2355,9 @@ function listCommentsByResource(payload) {
|
|
|
2282
2355
|
{
|
|
2283
2356
|
path: "commentReplies.*.replies.content.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
2284
2357
|
},
|
|
2358
|
+
{
|
|
2359
|
+
path: "commentReplies.*.replies.content.richContent.nodes.shapeData.shape.duration"
|
|
2360
|
+
},
|
|
2285
2361
|
{
|
|
2286
2362
|
path: "commentReplies.*.replies.draftContent.richContent.nodes.galleryData.items.image.media.duration"
|
|
2287
2363
|
},
|
|
@@ -2332,6 +2408,9 @@ function listCommentsByResource(payload) {
|
|
|
2332
2408
|
},
|
|
2333
2409
|
{
|
|
2334
2410
|
path: "commentReplies.*.replies.draftContent.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
2411
|
+
},
|
|
2412
|
+
{
|
|
2413
|
+
path: "commentReplies.*.replies.draftContent.richContent.nodes.shapeData.shape.duration"
|
|
2335
2414
|
}
|
|
2336
2415
|
]
|
|
2337
2416
|
}
|
|
@@ -2505,6 +2584,9 @@ function getCommentThread(payload) {
|
|
|
2505
2584
|
{
|
|
2506
2585
|
path: "comments.content.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
2507
2586
|
},
|
|
2587
|
+
{
|
|
2588
|
+
path: "comments.content.richContent.nodes.shapeData.shape.duration"
|
|
2589
|
+
},
|
|
2508
2590
|
{
|
|
2509
2591
|
path: "comments.draftContent.richContent.nodes.galleryData.items.image.media.duration"
|
|
2510
2592
|
},
|
|
@@ -2556,6 +2638,9 @@ function getCommentThread(payload) {
|
|
|
2556
2638
|
{
|
|
2557
2639
|
path: "comments.draftContent.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
2558
2640
|
},
|
|
2641
|
+
{
|
|
2642
|
+
path: "comments.draftContent.richContent.nodes.shapeData.shape.duration"
|
|
2643
|
+
},
|
|
2559
2644
|
{
|
|
2560
2645
|
path: "commentReplies.*.replies.content.richContent.nodes.galleryData.items.image.media.duration"
|
|
2561
2646
|
},
|
|
@@ -2607,6 +2692,9 @@ function getCommentThread(payload) {
|
|
|
2607
2692
|
{
|
|
2608
2693
|
path: "commentReplies.*.replies.content.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
2609
2694
|
},
|
|
2695
|
+
{
|
|
2696
|
+
path: "commentReplies.*.replies.content.richContent.nodes.shapeData.shape.duration"
|
|
2697
|
+
},
|
|
2610
2698
|
{
|
|
2611
2699
|
path: "commentReplies.*.replies.draftContent.richContent.nodes.galleryData.items.image.media.duration"
|
|
2612
2700
|
},
|
|
@@ -2657,6 +2745,9 @@ function getCommentThread(payload) {
|
|
|
2657
2745
|
},
|
|
2658
2746
|
{
|
|
2659
2747
|
path: "commentReplies.*.replies.draftContent.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
2748
|
+
},
|
|
2749
|
+
{
|
|
2750
|
+
path: "commentReplies.*.replies.draftContent.richContent.nodes.shapeData.shape.duration"
|
|
2660
2751
|
}
|
|
2661
2752
|
]
|
|
2662
2753
|
}
|
|
@@ -2782,6 +2873,7 @@ var import_video_v22 = require("@wix/sdk-runtime/transformations/video-v2");
|
|
|
2782
2873
|
var import_document = require("@wix/sdk-runtime/transformations/document");
|
|
2783
2874
|
var import_document2 = require("@wix/sdk-runtime/transformations/document");
|
|
2784
2875
|
var import_transform_paths2 = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
2876
|
+
var import_query_builder_utils = require("@wix/sdk-runtime/query-builder-utils");
|
|
2785
2877
|
var NodeType = /* @__PURE__ */ ((NodeType2) => {
|
|
2786
2878
|
NodeType2["PARAGRAPH"] = "PARAGRAPH";
|
|
2787
2879
|
NodeType2["TEXT"] = "TEXT";
|
|
@@ -2816,6 +2908,7 @@ var NodeType = /* @__PURE__ */ ((NodeType2) => {
|
|
|
2816
2908
|
NodeType2["CAPTION"] = "CAPTION";
|
|
2817
2909
|
NodeType2["LAYOUT"] = "LAYOUT";
|
|
2818
2910
|
NodeType2["LAYOUT_CELL"] = "LAYOUT_CELL";
|
|
2911
|
+
NodeType2["SHAPE"] = "SHAPE";
|
|
2819
2912
|
return NodeType2;
|
|
2820
2913
|
})(NodeType || {});
|
|
2821
2914
|
var WidthType = /* @__PURE__ */ ((WidthType2) => {
|
|
@@ -3593,6 +3686,9 @@ async function typedQueryComments(query, options) {
|
|
|
3593
3686
|
throw transformedError;
|
|
3594
3687
|
}
|
|
3595
3688
|
}
|
|
3689
|
+
var utils = {
|
|
3690
|
+
...(0, import_query_builder_utils.createQueryUtils)()
|
|
3691
|
+
};
|
|
3596
3692
|
async function markComment2(commentId) {
|
|
3597
3693
|
const { httpClient, sideEffects } = arguments[1];
|
|
3598
3694
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)(
|
|
@@ -4228,6 +4324,7 @@ async function bulkMoveCommentByFilter2(appId, options) {
|
|
|
4228
4324
|
queryComments,
|
|
4229
4325
|
typedQueryComments,
|
|
4230
4326
|
unmarkComment,
|
|
4231
|
-
updateComment
|
|
4327
|
+
updateComment,
|
|
4328
|
+
utils
|
|
4232
4329
|
});
|
|
4233
4330
|
//# sourceMappingURL=index.typings.js.map
|