@wix/auto_sdk_comments_comments 1.0.45 → 1.0.47
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 +4 -2
- package/build/cjs/index.js +159 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +32 -4
- package/build/cjs/index.typings.js +99 -0
- 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 +4 -2
- package/build/es/index.mjs +156 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +32 -4
- package/build/es/index.typings.mjs +96 -0
- 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 +4 -2
- package/build/internal/cjs/index.js +159 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +32 -4
- package/build/internal/cjs/index.typings.js +99 -0
- 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 +4 -2
- package/build/internal/es/index.mjs +156 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +32 -4
- package/build/internal/es/index.typings.mjs +96 -0
- 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;
|
|
@@ -3258,7 +3281,9 @@ interface AccountInfoMetadata {
|
|
|
3258
3281
|
interface CommentDeletedEnvelope {
|
|
3259
3282
|
metadata: EventMetadata;
|
|
3260
3283
|
}
|
|
3261
|
-
/**
|
|
3284
|
+
/**
|
|
3285
|
+
* Triggered when a comment is deleted.
|
|
3286
|
+
* @permissionScope Read Comments
|
|
3262
3287
|
* @permissionScopeId SCOPE.DC_COMMENTS.READ.COMMENTS
|
|
3263
3288
|
* @permissionScope Manage Comments
|
|
3264
3289
|
* @permissionScopeId SCOPE.DC_COMMENTS.MANAGE.COMMENTS
|
|
@@ -3827,6 +3852,9 @@ type CommentQuery = {
|
|
|
3827
3852
|
order?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['order'];
|
|
3828
3853
|
}[];
|
|
3829
3854
|
};
|
|
3855
|
+
declare const QueryBuilder: () => _wix_sdk_types.QueryBuilder<Comment, CommentQuerySpec, CommentQuery>;
|
|
3856
|
+
declare const Filter: _wix_sdk_types.FilterFactory<Comment, CommentQuerySpec>;
|
|
3857
|
+
declare const Sort: _wix_sdk_types.SortFactory<CommentQuerySpec>;
|
|
3830
3858
|
/**
|
|
3831
3859
|
* Sets `marked` to `TRUE` to mark a comment.
|
|
3832
3860
|
*
|
|
@@ -4050,4 +4078,4 @@ interface BulkMoveCommentByFilterOptions {
|
|
|
4050
4078
|
destination?: Destination;
|
|
4051
4079
|
}
|
|
4052
4080
|
|
|
4053
|
-
export { type AccountInfo, 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 };
|
|
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, Filter, 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, QueryBuilder, 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, Sort, 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 };
|
|
@@ -31,6 +31,7 @@ __export(index_typings_exports, {
|
|
|
31
31
|
DesignTarget: () => DesignTarget,
|
|
32
32
|
Direction: () => Direction,
|
|
33
33
|
DividerDataAlignment: () => DividerDataAlignment,
|
|
34
|
+
Filter: () => Filter,
|
|
34
35
|
FontType: () => FontType,
|
|
35
36
|
GIFType: () => GIFType,
|
|
36
37
|
ImagePosition: () => ImagePosition,
|
|
@@ -48,10 +49,12 @@ __export(index_typings_exports, {
|
|
|
48
49
|
PollLayoutDirection: () => PollLayoutDirection,
|
|
49
50
|
PollLayoutType: () => PollLayoutType,
|
|
50
51
|
Position: () => Position,
|
|
52
|
+
QueryBuilder: () => QueryBuilder,
|
|
51
53
|
ReplySortOrder: () => ReplySortOrder,
|
|
52
54
|
Resizing: () => Resizing,
|
|
53
55
|
ResponsivenessBehaviour: () => ResponsivenessBehaviour,
|
|
54
56
|
Scaling: () => Scaling,
|
|
57
|
+
Sort: () => Sort,
|
|
55
58
|
SortOrder: () => SortOrder,
|
|
56
59
|
Source: () => Source,
|
|
57
60
|
Status: () => Status,
|
|
@@ -231,6 +234,9 @@ function createComment(payload) {
|
|
|
231
234
|
{
|
|
232
235
|
path: "comment.content.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
233
236
|
},
|
|
237
|
+
{
|
|
238
|
+
path: "comment.content.richContent.nodes.shapeData.shape.duration"
|
|
239
|
+
},
|
|
234
240
|
{
|
|
235
241
|
path: "comment.draftContent.richContent.nodes.galleryData.items.image.media.duration"
|
|
236
242
|
},
|
|
@@ -281,6 +287,9 @@ function createComment(payload) {
|
|
|
281
287
|
},
|
|
282
288
|
{
|
|
283
289
|
path: "comment.draftContent.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
path: "comment.draftContent.richContent.nodes.shapeData.shape.duration"
|
|
284
293
|
}
|
|
285
294
|
]
|
|
286
295
|
}
|
|
@@ -396,6 +405,9 @@ function createComment(payload) {
|
|
|
396
405
|
{
|
|
397
406
|
path: "comment.content.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
398
407
|
},
|
|
408
|
+
{
|
|
409
|
+
path: "comment.content.richContent.nodes.shapeData.shape.duration"
|
|
410
|
+
},
|
|
399
411
|
{
|
|
400
412
|
path: "comment.draftContent.richContent.nodes.galleryData.items.image.media.duration"
|
|
401
413
|
},
|
|
@@ -446,6 +458,9 @@ function createComment(payload) {
|
|
|
446
458
|
},
|
|
447
459
|
{
|
|
448
460
|
path: "comment.draftContent.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
path: "comment.draftContent.richContent.nodes.shapeData.shape.duration"
|
|
449
464
|
}
|
|
450
465
|
]
|
|
451
466
|
}
|
|
@@ -568,6 +583,9 @@ function getComment(payload) {
|
|
|
568
583
|
{
|
|
569
584
|
path: "comment.content.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
570
585
|
},
|
|
586
|
+
{
|
|
587
|
+
path: "comment.content.richContent.nodes.shapeData.shape.duration"
|
|
588
|
+
},
|
|
571
589
|
{
|
|
572
590
|
path: "comment.draftContent.richContent.nodes.galleryData.items.image.media.duration"
|
|
573
591
|
},
|
|
@@ -618,6 +636,9 @@ function getComment(payload) {
|
|
|
618
636
|
},
|
|
619
637
|
{
|
|
620
638
|
path: "comment.draftContent.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
639
|
+
},
|
|
640
|
+
{
|
|
641
|
+
path: "comment.draftContent.richContent.nodes.shapeData.shape.duration"
|
|
621
642
|
}
|
|
622
643
|
]
|
|
623
644
|
}
|
|
@@ -714,6 +735,9 @@ function updateComment(payload) {
|
|
|
714
735
|
{
|
|
715
736
|
path: "comment.content.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
716
737
|
},
|
|
738
|
+
{
|
|
739
|
+
path: "comment.content.richContent.nodes.shapeData.shape.duration"
|
|
740
|
+
},
|
|
717
741
|
{
|
|
718
742
|
path: "comment.draftContent.richContent.nodes.galleryData.items.image.media.duration"
|
|
719
743
|
},
|
|
@@ -764,6 +788,9 @@ function updateComment(payload) {
|
|
|
764
788
|
},
|
|
765
789
|
{
|
|
766
790
|
path: "comment.draftContent.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
791
|
+
},
|
|
792
|
+
{
|
|
793
|
+
path: "comment.draftContent.richContent.nodes.shapeData.shape.duration"
|
|
767
794
|
}
|
|
768
795
|
]
|
|
769
796
|
}
|
|
@@ -879,6 +906,9 @@ function updateComment(payload) {
|
|
|
879
906
|
{
|
|
880
907
|
path: "comment.content.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
881
908
|
},
|
|
909
|
+
{
|
|
910
|
+
path: "comment.content.richContent.nodes.shapeData.shape.duration"
|
|
911
|
+
},
|
|
882
912
|
{
|
|
883
913
|
path: "comment.draftContent.richContent.nodes.galleryData.items.image.media.duration"
|
|
884
914
|
},
|
|
@@ -929,6 +959,9 @@ function updateComment(payload) {
|
|
|
929
959
|
},
|
|
930
960
|
{
|
|
931
961
|
path: "comment.draftContent.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
962
|
+
},
|
|
963
|
+
{
|
|
964
|
+
path: "comment.draftContent.richContent.nodes.shapeData.shape.duration"
|
|
932
965
|
}
|
|
933
966
|
]
|
|
934
967
|
}
|
|
@@ -1072,6 +1105,9 @@ function moderateDraftContent(payload) {
|
|
|
1072
1105
|
{
|
|
1073
1106
|
path: "comment.content.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1074
1107
|
},
|
|
1108
|
+
{
|
|
1109
|
+
path: "comment.content.richContent.nodes.shapeData.shape.duration"
|
|
1110
|
+
},
|
|
1075
1111
|
{
|
|
1076
1112
|
path: "comment.draftContent.richContent.nodes.galleryData.items.image.media.duration"
|
|
1077
1113
|
},
|
|
@@ -1122,6 +1158,9 @@ function moderateDraftContent(payload) {
|
|
|
1122
1158
|
},
|
|
1123
1159
|
{
|
|
1124
1160
|
path: "comment.draftContent.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1161
|
+
},
|
|
1162
|
+
{
|
|
1163
|
+
path: "comment.draftContent.richContent.nodes.shapeData.shape.duration"
|
|
1125
1164
|
}
|
|
1126
1165
|
]
|
|
1127
1166
|
}
|
|
@@ -1248,6 +1287,9 @@ function queryComments(payload) {
|
|
|
1248
1287
|
{
|
|
1249
1288
|
path: "comments.content.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1250
1289
|
},
|
|
1290
|
+
{
|
|
1291
|
+
path: "comments.content.richContent.nodes.shapeData.shape.duration"
|
|
1292
|
+
},
|
|
1251
1293
|
{
|
|
1252
1294
|
path: "comments.draftContent.richContent.nodes.galleryData.items.image.media.duration"
|
|
1253
1295
|
},
|
|
@@ -1298,6 +1340,9 @@ function queryComments(payload) {
|
|
|
1298
1340
|
},
|
|
1299
1341
|
{
|
|
1300
1342
|
path: "comments.draftContent.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1343
|
+
},
|
|
1344
|
+
{
|
|
1345
|
+
path: "comments.draftContent.richContent.nodes.shapeData.shape.duration"
|
|
1301
1346
|
}
|
|
1302
1347
|
]
|
|
1303
1348
|
}
|
|
@@ -1420,6 +1465,9 @@ function markComment(payload) {
|
|
|
1420
1465
|
{
|
|
1421
1466
|
path: "comment.content.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1422
1467
|
},
|
|
1468
|
+
{
|
|
1469
|
+
path: "comment.content.richContent.nodes.shapeData.shape.duration"
|
|
1470
|
+
},
|
|
1423
1471
|
{
|
|
1424
1472
|
path: "comment.draftContent.richContent.nodes.galleryData.items.image.media.duration"
|
|
1425
1473
|
},
|
|
@@ -1470,6 +1518,9 @@ function markComment(payload) {
|
|
|
1470
1518
|
},
|
|
1471
1519
|
{
|
|
1472
1520
|
path: "comment.draftContent.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1521
|
+
},
|
|
1522
|
+
{
|
|
1523
|
+
path: "comment.draftContent.richContent.nodes.shapeData.shape.duration"
|
|
1473
1524
|
}
|
|
1474
1525
|
]
|
|
1475
1526
|
}
|
|
@@ -1592,6 +1643,9 @@ function unmarkComment(payload) {
|
|
|
1592
1643
|
{
|
|
1593
1644
|
path: "comment.content.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1594
1645
|
},
|
|
1646
|
+
{
|
|
1647
|
+
path: "comment.content.richContent.nodes.shapeData.shape.duration"
|
|
1648
|
+
},
|
|
1595
1649
|
{
|
|
1596
1650
|
path: "comment.draftContent.richContent.nodes.galleryData.items.image.media.duration"
|
|
1597
1651
|
},
|
|
@@ -1642,6 +1696,9 @@ function unmarkComment(payload) {
|
|
|
1642
1696
|
},
|
|
1643
1697
|
{
|
|
1644
1698
|
path: "comment.draftContent.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1699
|
+
},
|
|
1700
|
+
{
|
|
1701
|
+
path: "comment.draftContent.richContent.nodes.shapeData.shape.duration"
|
|
1645
1702
|
}
|
|
1646
1703
|
]
|
|
1647
1704
|
}
|
|
@@ -1764,6 +1821,9 @@ function hideComment(payload) {
|
|
|
1764
1821
|
{
|
|
1765
1822
|
path: "comment.content.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1766
1823
|
},
|
|
1824
|
+
{
|
|
1825
|
+
path: "comment.content.richContent.nodes.shapeData.shape.duration"
|
|
1826
|
+
},
|
|
1767
1827
|
{
|
|
1768
1828
|
path: "comment.draftContent.richContent.nodes.galleryData.items.image.media.duration"
|
|
1769
1829
|
},
|
|
@@ -1814,6 +1874,9 @@ function hideComment(payload) {
|
|
|
1814
1874
|
},
|
|
1815
1875
|
{
|
|
1816
1876
|
path: "comment.draftContent.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1877
|
+
},
|
|
1878
|
+
{
|
|
1879
|
+
path: "comment.draftContent.richContent.nodes.shapeData.shape.duration"
|
|
1817
1880
|
}
|
|
1818
1881
|
]
|
|
1819
1882
|
}
|
|
@@ -1936,6 +1999,9 @@ function publishComment(payload) {
|
|
|
1936
1999
|
{
|
|
1937
2000
|
path: "comment.content.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1938
2001
|
},
|
|
2002
|
+
{
|
|
2003
|
+
path: "comment.content.richContent.nodes.shapeData.shape.duration"
|
|
2004
|
+
},
|
|
1939
2005
|
{
|
|
1940
2006
|
path: "comment.draftContent.richContent.nodes.galleryData.items.image.media.duration"
|
|
1941
2007
|
},
|
|
@@ -1986,6 +2052,9 @@ function publishComment(payload) {
|
|
|
1986
2052
|
},
|
|
1987
2053
|
{
|
|
1988
2054
|
path: "comment.draftContent.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
2055
|
+
},
|
|
2056
|
+
{
|
|
2057
|
+
path: "comment.draftContent.richContent.nodes.shapeData.shape.duration"
|
|
1989
2058
|
}
|
|
1990
2059
|
]
|
|
1991
2060
|
}
|
|
@@ -2180,6 +2249,9 @@ function listCommentsByResource(payload) {
|
|
|
2180
2249
|
{
|
|
2181
2250
|
path: "comments.content.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
2182
2251
|
},
|
|
2252
|
+
{
|
|
2253
|
+
path: "comments.content.richContent.nodes.shapeData.shape.duration"
|
|
2254
|
+
},
|
|
2183
2255
|
{
|
|
2184
2256
|
path: "comments.draftContent.richContent.nodes.galleryData.items.image.media.duration"
|
|
2185
2257
|
},
|
|
@@ -2231,6 +2303,9 @@ function listCommentsByResource(payload) {
|
|
|
2231
2303
|
{
|
|
2232
2304
|
path: "comments.draftContent.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
2233
2305
|
},
|
|
2306
|
+
{
|
|
2307
|
+
path: "comments.draftContent.richContent.nodes.shapeData.shape.duration"
|
|
2308
|
+
},
|
|
2234
2309
|
{
|
|
2235
2310
|
path: "commentReplies.*.replies.content.richContent.nodes.galleryData.items.image.media.duration"
|
|
2236
2311
|
},
|
|
@@ -2282,6 +2357,9 @@ function listCommentsByResource(payload) {
|
|
|
2282
2357
|
{
|
|
2283
2358
|
path: "commentReplies.*.replies.content.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
2284
2359
|
},
|
|
2360
|
+
{
|
|
2361
|
+
path: "commentReplies.*.replies.content.richContent.nodes.shapeData.shape.duration"
|
|
2362
|
+
},
|
|
2285
2363
|
{
|
|
2286
2364
|
path: "commentReplies.*.replies.draftContent.richContent.nodes.galleryData.items.image.media.duration"
|
|
2287
2365
|
},
|
|
@@ -2332,6 +2410,9 @@ function listCommentsByResource(payload) {
|
|
|
2332
2410
|
},
|
|
2333
2411
|
{
|
|
2334
2412
|
path: "commentReplies.*.replies.draftContent.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
2413
|
+
},
|
|
2414
|
+
{
|
|
2415
|
+
path: "commentReplies.*.replies.draftContent.richContent.nodes.shapeData.shape.duration"
|
|
2335
2416
|
}
|
|
2336
2417
|
]
|
|
2337
2418
|
}
|
|
@@ -2505,6 +2586,9 @@ function getCommentThread(payload) {
|
|
|
2505
2586
|
{
|
|
2506
2587
|
path: "comments.content.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
2507
2588
|
},
|
|
2589
|
+
{
|
|
2590
|
+
path: "comments.content.richContent.nodes.shapeData.shape.duration"
|
|
2591
|
+
},
|
|
2508
2592
|
{
|
|
2509
2593
|
path: "comments.draftContent.richContent.nodes.galleryData.items.image.media.duration"
|
|
2510
2594
|
},
|
|
@@ -2556,6 +2640,9 @@ function getCommentThread(payload) {
|
|
|
2556
2640
|
{
|
|
2557
2641
|
path: "comments.draftContent.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
2558
2642
|
},
|
|
2643
|
+
{
|
|
2644
|
+
path: "comments.draftContent.richContent.nodes.shapeData.shape.duration"
|
|
2645
|
+
},
|
|
2559
2646
|
{
|
|
2560
2647
|
path: "commentReplies.*.replies.content.richContent.nodes.galleryData.items.image.media.duration"
|
|
2561
2648
|
},
|
|
@@ -2607,6 +2694,9 @@ function getCommentThread(payload) {
|
|
|
2607
2694
|
{
|
|
2608
2695
|
path: "commentReplies.*.replies.content.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
2609
2696
|
},
|
|
2697
|
+
{
|
|
2698
|
+
path: "commentReplies.*.replies.content.richContent.nodes.shapeData.shape.duration"
|
|
2699
|
+
},
|
|
2610
2700
|
{
|
|
2611
2701
|
path: "commentReplies.*.replies.draftContent.richContent.nodes.galleryData.items.image.media.duration"
|
|
2612
2702
|
},
|
|
@@ -2657,6 +2747,9 @@ function getCommentThread(payload) {
|
|
|
2657
2747
|
},
|
|
2658
2748
|
{
|
|
2659
2749
|
path: "commentReplies.*.replies.draftContent.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
2750
|
+
},
|
|
2751
|
+
{
|
|
2752
|
+
path: "commentReplies.*.replies.draftContent.richContent.nodes.shapeData.shape.duration"
|
|
2660
2753
|
}
|
|
2661
2754
|
]
|
|
2662
2755
|
}
|
|
@@ -2782,6 +2875,7 @@ var import_video_v22 = require("@wix/sdk-runtime/transformations/video-v2");
|
|
|
2782
2875
|
var import_document = require("@wix/sdk-runtime/transformations/document");
|
|
2783
2876
|
var import_document2 = require("@wix/sdk-runtime/transformations/document");
|
|
2784
2877
|
var import_transform_paths2 = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
2878
|
+
var import_query_builder_utils = require("@wix/sdk-runtime/query-builder-utils");
|
|
2785
2879
|
var NodeType = /* @__PURE__ */ ((NodeType2) => {
|
|
2786
2880
|
NodeType2["PARAGRAPH"] = "PARAGRAPH";
|
|
2787
2881
|
NodeType2["TEXT"] = "TEXT";
|
|
@@ -2816,6 +2910,7 @@ var NodeType = /* @__PURE__ */ ((NodeType2) => {
|
|
|
2816
2910
|
NodeType2["CAPTION"] = "CAPTION";
|
|
2817
2911
|
NodeType2["LAYOUT"] = "LAYOUT";
|
|
2818
2912
|
NodeType2["LAYOUT_CELL"] = "LAYOUT_CELL";
|
|
2913
|
+
NodeType2["SHAPE"] = "SHAPE";
|
|
2819
2914
|
return NodeType2;
|
|
2820
2915
|
})(NodeType || {});
|
|
2821
2916
|
var WidthType = /* @__PURE__ */ ((WidthType2) => {
|
|
@@ -3593,6 +3688,7 @@ async function typedQueryComments(query, options) {
|
|
|
3593
3688
|
throw transformedError;
|
|
3594
3689
|
}
|
|
3595
3690
|
}
|
|
3691
|
+
var { QueryBuilder, Filter, Sort } = (0, import_query_builder_utils.createQueryUtils)();
|
|
3596
3692
|
async function markComment2(commentId) {
|
|
3597
3693
|
const { httpClient, sideEffects } = arguments[1];
|
|
3598
3694
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)(
|
|
@@ -4172,6 +4268,7 @@ async function bulkMoveCommentByFilter2(appId, options) {
|
|
|
4172
4268
|
DesignTarget,
|
|
4173
4269
|
Direction,
|
|
4174
4270
|
DividerDataAlignment,
|
|
4271
|
+
Filter,
|
|
4175
4272
|
FontType,
|
|
4176
4273
|
GIFType,
|
|
4177
4274
|
ImagePosition,
|
|
@@ -4189,10 +4286,12 @@ async function bulkMoveCommentByFilter2(appId, options) {
|
|
|
4189
4286
|
PollLayoutDirection,
|
|
4190
4287
|
PollLayoutType,
|
|
4191
4288
|
Position,
|
|
4289
|
+
QueryBuilder,
|
|
4192
4290
|
ReplySortOrder,
|
|
4193
4291
|
Resizing,
|
|
4194
4292
|
ResponsivenessBehaviour,
|
|
4195
4293
|
Scaling,
|
|
4294
|
+
Sort,
|
|
4196
4295
|
SortOrder,
|
|
4197
4296
|
Source,
|
|
4198
4297
|
Status,
|