@wix/auto_sdk_comments_comments 1.0.32 → 1.0.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +8 -25
  2. package/build/cjs/index.js +90 -8
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +52 -6
  5. package/build/cjs/index.typings.js +69 -5
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +37 -3
  8. package/build/cjs/meta.js +1 -0
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +8 -25
  11. package/build/es/index.mjs +90 -8
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +52 -6
  14. package/build/es/index.typings.mjs +68 -5
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +37 -3
  17. package/build/es/meta.mjs +1 -0
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +8 -25
  20. package/build/internal/cjs/index.js +90 -8
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +52 -6
  23. package/build/internal/cjs/index.typings.js +69 -5
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +37 -3
  26. package/build/internal/cjs/meta.js +1 -0
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +8 -25
  29. package/build/internal/es/index.mjs +90 -8
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +52 -6
  32. package/build/internal/es/index.typings.mjs +68 -5
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +37 -3
  35. package/build/internal/es/meta.mjs +1 -0
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +3 -3
@@ -1235,6 +1235,8 @@ interface Decoration extends DecorationDataOneOf {
1235
1235
  superscriptData?: boolean | null;
1236
1236
  /** Data for a subscript decoration. Defaults to `true`. */
1237
1237
  subscriptData?: boolean | null;
1238
+ /** Data for a font family decoration. */
1239
+ fontFamilyData?: FontFamilyData;
1238
1240
  /** The type of decoration to apply. */
1239
1241
  type?: DecorationTypeWithLiterals;
1240
1242
  }
@@ -1264,6 +1266,8 @@ interface DecorationDataOneOf {
1264
1266
  superscriptData?: boolean | null;
1265
1267
  /** Data for a subscript decoration. Defaults to `true`. */
1266
1268
  subscriptData?: boolean | null;
1269
+ /** Data for a font family decoration. */
1270
+ fontFamilyData?: FontFamilyData;
1267
1271
  }
1268
1272
  declare enum DecorationType {
1269
1273
  BOLD = "BOLD",
@@ -1278,10 +1282,11 @@ declare enum DecorationType {
1278
1282
  EXTERNAL = "EXTERNAL",
1279
1283
  STRIKETHROUGH = "STRIKETHROUGH",
1280
1284
  SUPERSCRIPT = "SUPERSCRIPT",
1281
- SUBSCRIPT = "SUBSCRIPT"
1285
+ SUBSCRIPT = "SUBSCRIPT",
1286
+ FONT_FAMILY = "FONT_FAMILY"
1282
1287
  }
1283
1288
  /** @enumType */
1284
- type DecorationTypeWithLiterals = DecorationType | 'BOLD' | 'ITALIC' | 'UNDERLINE' | 'SPOILER' | 'ANCHOR' | 'MENTION' | 'LINK' | 'COLOR' | 'FONT_SIZE' | 'EXTERNAL' | 'STRIKETHROUGH' | 'SUPERSCRIPT' | 'SUBSCRIPT';
1289
+ type DecorationTypeWithLiterals = DecorationType | 'BOLD' | 'ITALIC' | 'UNDERLINE' | 'SPOILER' | 'ANCHOR' | 'MENTION' | 'LINK' | 'COLOR' | 'FONT_SIZE' | 'EXTERNAL' | 'STRIKETHROUGH' | 'SUPERSCRIPT' | 'SUBSCRIPT' | 'FONT_FAMILY';
1285
1290
  interface AnchorData {
1286
1291
  /** The target node's ID. */
1287
1292
  anchor?: string;
@@ -1320,6 +1325,10 @@ interface SpoilerData {
1320
1325
  /** Spoiler ID. */
1321
1326
  id?: string | null;
1322
1327
  }
1328
+ interface FontFamilyData {
1329
+ /** @maxLength 1000 */
1330
+ value?: string | null;
1331
+ }
1323
1332
  interface AppEmbedData extends AppEmbedDataAppDataOneOf {
1324
1333
  /** Data for embedded Wix Bookings content. */
1325
1334
  bookingData?: BookingData;
@@ -1704,6 +1713,13 @@ interface TableData {
1704
1713
  rowHeader?: boolean | null;
1705
1714
  /** Sets whether the table's first column is a header. Defaults to `false`. */
1706
1715
  columnHeader?: boolean | null;
1716
+ /** The spacing between cells in pixels. Defaults to `0`. */
1717
+ cellSpacing?: number | null;
1718
+ /**
1719
+ * Padding in pixels for cells. Follows CSS order: top, right, bottom, left.
1720
+ * @maxSize 4
1721
+ */
1722
+ cellPadding?: number[];
1707
1723
  }
1708
1724
  interface Dimensions {
1709
1725
  /** An array representing relative width of each column in relation to the other columns. */
@@ -1718,6 +1734,12 @@ interface TableCellData {
1718
1734
  cellStyle?: CellStyle;
1719
1735
  /** The cell's border colors. */
1720
1736
  borderColors?: BorderColors;
1737
+ /** Defines how many columns the cell spans. Default: 1. */
1738
+ colspan?: number | null;
1739
+ /** Defines how many rows the cell spans. Default: 1. */
1740
+ rowspan?: number | null;
1741
+ /** The cell's border widths. */
1742
+ borderWidths?: BorderWidths;
1721
1743
  }
1722
1744
  declare enum VerticalAlignment {
1723
1745
  /** Top alignment */
@@ -1760,6 +1782,16 @@ interface BorderColors {
1760
1782
  */
1761
1783
  bottom?: string | null;
1762
1784
  }
1785
+ interface BorderWidths {
1786
+ /** Left border width in pixels. */
1787
+ left?: number | null;
1788
+ /** Right border width in pixels. */
1789
+ right?: number | null;
1790
+ /** Top border width in pixels. */
1791
+ top?: number | null;
1792
+ /** Bottom border width in pixels. */
1793
+ bottom?: number | null;
1794
+ }
1763
1795
  /**
1764
1796
  * `NullValue` is a singleton enumeration to represent the null value for the
1765
1797
  * `Value` type union.
@@ -1859,6 +1891,8 @@ interface LayoutData {
1859
1891
  responsivenessBehaviour?: ResponsivenessBehaviourWithLiterals;
1860
1892
  /** Size in pixels when responsiveness_behaviour applies */
1861
1893
  responsivenessBreakpoint?: number | null;
1894
+ /** Styling for the layout's container. */
1895
+ containerData?: PluginContainerData;
1862
1896
  }
1863
1897
  declare enum Scaling {
1864
1898
  /** Auto image scaling */
@@ -3443,13 +3477,18 @@ interface ModerateDraftContentOptions {
3443
3477
  *
3444
3478
  * The following `CommentsQueryBuilder` functions are supported for the `queryComments()` function. For a full description of the comment object, see the object returned for the [`items`](#commentsqueryresult/items) property in [`CommentsQueryResult`](#commentsqueryresult).
3445
3479
  * @public
3446
- * @requiredField appId
3447
- * @param appId - App ID to query comments for.
3448
3480
  * @permissionId WIX_COMMENTS.COMMENT_QUERY
3449
3481
  * @applicableIdentity APP
3450
3482
  * @fqn wix.comments.ng.v1.CommentsNg.QueryComments
3451
3483
  */
3452
- declare function queryComments(appId: string): CommentsQueryBuilder;
3484
+ declare function queryComments(options: QueryCommentsOptions): CommentsQueryBuilder;
3485
+ interface QueryCommentsOptions {
3486
+ /**
3487
+ * App ID to query comments for.
3488
+ * @format GUID
3489
+ */
3490
+ appId: string;
3491
+ }
3453
3492
  interface QueryCursorResult {
3454
3493
  cursors: Cursors;
3455
3494
  hasNext: () => boolean;
@@ -3507,6 +3546,13 @@ interface CommentsQueryBuilder {
3507
3546
  skipTo: (cursor: string) => CommentsQueryBuilder;
3508
3547
  find: () => Promise<CommentsQueryResult>;
3509
3548
  }
3549
+ /**
3550
+ * @hidden
3551
+ * @fqn wix.comments.ng.v1.CommentsNg.QueryComments
3552
+ * @requiredField query
3553
+ * @requiredField options
3554
+ */
3555
+ declare function typedQueryComments(query: CursorQuery, options: QueryCommentsOptions): Promise<NonNullablePaths<QueryCommentsResponse, `comments` | `comments.${number}.parentComment.status` | `comments.${number}.replyCount` | `comments.${number}.voteSummary.netVoteCount` | `comments.${number}.voteSummary.upvoteCount` | `comments.${number}.voteSummary.downvoteCount` | `comments.${number}.status` | `comments.${number}.reactionSummary.total` | `comments.${number}.marked`, 5>>;
3510
3556
  /**
3511
3557
  * Sets `marked` to `TRUE` to mark a comment.
3512
3558
  *
@@ -3730,4 +3776,4 @@ interface BulkMoveCommentByFilterOptions {
3730
3776
  destination?: Destination;
3731
3777
  }
3732
3778
 
3733
- export { Action, type ActionEvent, type ActionWithLiterals, Alignment, type AlignmentWithLiterals, type AnchorData, 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 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 CommentReactionSummary, type CommentResourceCommentCountChangedEnvelope, type CommentSort, type CommentUnmarked, type CommentUnmarkedEnvelope, type CommentUpdatedEnvelope, type CommentsQueryBuilder, type CommentsQueryResult, 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 Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeleteByFilterOperation, type DeleteByIdsOperation, type DeleteCommentRequest, type DeleteCommentResponse, type Design, type Destination, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type EmbedData, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventData, type EventMetadata, type FileData, type FileSource, type FileSourceDataOneOf, 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 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 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 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 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, unmarkComment, updateComment };
3779
+ export { Action, type ActionEvent, type ActionWithLiterals, Alignment, type AlignmentWithLiterals, type AnchorData, 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 CommentReactionSummary, type CommentResourceCommentCountChangedEnvelope, type CommentSort, type CommentUnmarked, type CommentUnmarkedEnvelope, type CommentUpdatedEnvelope, type CommentsQueryBuilder, type CommentsQueryResult, 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 Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeleteByFilterOperation, type DeleteByIdsOperation, type DeleteCommentRequest, type DeleteCommentResponse, type Design, type Destination, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type EmbedData, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventData, type EventMetadata, 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 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 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 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 };
@@ -84,6 +84,7 @@ __export(index_typings_exports, {
84
84
  moderateDraftContent: () => moderateDraftContent2,
85
85
  publishComment: () => publishComment2,
86
86
  queryComments: () => queryComments2,
87
+ typedQueryComments: () => typedQueryComments,
87
88
  unmarkComment: () => unmarkComment2,
88
89
  updateComment: () => updateComment2
89
90
  });
@@ -2971,6 +2972,7 @@ var DecorationType = /* @__PURE__ */ ((DecorationType2) => {
2971
2972
  DecorationType2["STRIKETHROUGH"] = "STRIKETHROUGH";
2972
2973
  DecorationType2["SUPERSCRIPT"] = "SUPERSCRIPT";
2973
2974
  DecorationType2["SUBSCRIPT"] = "SUBSCRIPT";
2975
+ DecorationType2["FONT_FAMILY"] = "FONT_FAMILY";
2974
2976
  return DecorationType2;
2975
2977
  })(DecorationType || {});
2976
2978
  var FontType = /* @__PURE__ */ ((FontType2) => {
@@ -3451,11 +3453,14 @@ async function moderateDraftContent2(commentId, revision, options) {
3451
3453
  throw transformedError;
3452
3454
  }
3453
3455
  }
3454
- function queryComments2(appId) {
3456
+ function queryComments2(options) {
3455
3457
  const { httpClient, sideEffects } = arguments[1];
3456
3458
  return (0, import_query_builder.queryBuilder)({
3457
3459
  func: async (payload) => {
3458
- const reqOpts = queryComments(payload);
3460
+ const reqOpts = queryComments({
3461
+ ...payload,
3462
+ ...options
3463
+ });
3459
3464
  sideEffects?.onSiteCall?.();
3460
3465
  try {
3461
3466
  const result = await httpClient.request(reqOpts);
@@ -3467,9 +3472,9 @@ function queryComments2(appId) {
3467
3472
  }
3468
3473
  },
3469
3474
  requestTransformer: (query) => {
3470
- const args = [query, appId, {}];
3475
+ const args = [query, options];
3471
3476
  return (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)(
3472
- { appId: args?.[1], ...args?.[2], query: args?.[0] },
3477
+ { ...args?.[1], query: args?.[0] },
3473
3478
  []
3474
3479
  );
3475
3480
  },
@@ -3515,7 +3520,7 @@ function queryComments2(appId) {
3515
3520
  errorTransformer: (err) => {
3516
3521
  const transformedError = (0, import_transform_error.transformError)(err, {
3517
3522
  spreadPathsToArguments: {},
3518
- explicitPathsToArguments: { appId: "$[1]", query: "$[0]" },
3523
+ explicitPathsToArguments: { query: "$[0]" },
3519
3524
  singleArgumentUnchanged: false
3520
3525
  });
3521
3526
  throw transformedError;
@@ -3524,6 +3529,64 @@ function queryComments2(appId) {
3524
3529
  transformationPaths: {}
3525
3530
  });
3526
3531
  }
3532
+ async function typedQueryComments(query, options) {
3533
+ const { httpClient, sideEffects } = arguments[2];
3534
+ const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)(
3535
+ { query, ...options },
3536
+ []
3537
+ );
3538
+ const reqOpts = queryComments(payload);
3539
+ sideEffects?.onSiteCall?.();
3540
+ try {
3541
+ const result = await httpClient.request(reqOpts);
3542
+ sideEffects?.onSuccess?.(result);
3543
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(
3544
+ (0, import_transform_paths2.transformPaths)(result.data, [
3545
+ {
3546
+ transformFn: import_image2.transformRESTImageToSDKImage,
3547
+ paths: [
3548
+ { path: "comments.content.attachments.image" },
3549
+ { path: "comments.draftContent.attachments.image" }
3550
+ ]
3551
+ },
3552
+ {
3553
+ transformFn: import_video_v22.transformRESTVideoV2ToSDKVideoV2,
3554
+ paths: [
3555
+ { path: "comments.content.attachments.video" },
3556
+ { path: "comments.draftContent.attachments.video" }
3557
+ ]
3558
+ },
3559
+ {
3560
+ transformFn: import_audio2.transformRESTAudioToSDKAudio,
3561
+ paths: [
3562
+ { path: "comments.content.attachments.audio" },
3563
+ { path: "comments.draftContent.attachments.audio" }
3564
+ ]
3565
+ },
3566
+ {
3567
+ transformFn: import_document2.transformRESTDocumentToSDKDocument,
3568
+ paths: [
3569
+ { path: "comments.content.attachments.document" },
3570
+ { path: "comments.draftContent.attachments.document" }
3571
+ ]
3572
+ }
3573
+ ]),
3574
+ ["comments.content.richContent", "comments.draftContent.richContent"]
3575
+ );
3576
+ } catch (err) {
3577
+ const transformedError = (0, import_transform_error.transformError)(
3578
+ err,
3579
+ {
3580
+ spreadPathsToArguments: {},
3581
+ explicitPathsToArguments: { query: "$[0]" },
3582
+ singleArgumentUnchanged: false
3583
+ },
3584
+ ["query", "options"]
3585
+ );
3586
+ sideEffects?.onError?.(err);
3587
+ throw transformedError;
3588
+ }
3589
+ }
3527
3590
  async function markComment2(commentId) {
3528
3591
  const { httpClient, sideEffects } = arguments[1];
3529
3592
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)(
@@ -4156,6 +4219,7 @@ async function bulkMoveCommentByFilter2(appId, options) {
4156
4219
  moderateDraftContent,
4157
4220
  publishComment,
4158
4221
  queryComments,
4222
+ typedQueryComments,
4159
4223
  unmarkComment,
4160
4224
  updateComment
4161
4225
  });