@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 };
@@ -2883,6 +2883,7 @@ var DecorationType = /* @__PURE__ */ ((DecorationType2) => {
2883
2883
  DecorationType2["STRIKETHROUGH"] = "STRIKETHROUGH";
2884
2884
  DecorationType2["SUPERSCRIPT"] = "SUPERSCRIPT";
2885
2885
  DecorationType2["SUBSCRIPT"] = "SUBSCRIPT";
2886
+ DecorationType2["FONT_FAMILY"] = "FONT_FAMILY";
2886
2887
  return DecorationType2;
2887
2888
  })(DecorationType || {});
2888
2889
  var FontType = /* @__PURE__ */ ((FontType2) => {
@@ -3363,11 +3364,14 @@ async function moderateDraftContent2(commentId, revision, options) {
3363
3364
  throw transformedError;
3364
3365
  }
3365
3366
  }
3366
- function queryComments2(appId) {
3367
+ function queryComments2(options) {
3367
3368
  const { httpClient, sideEffects } = arguments[1];
3368
3369
  return queryBuilder({
3369
3370
  func: async (payload) => {
3370
- const reqOpts = queryComments(payload);
3371
+ const reqOpts = queryComments({
3372
+ ...payload,
3373
+ ...options
3374
+ });
3371
3375
  sideEffects?.onSiteCall?.();
3372
3376
  try {
3373
3377
  const result = await httpClient.request(reqOpts);
@@ -3379,9 +3383,9 @@ function queryComments2(appId) {
3379
3383
  }
3380
3384
  },
3381
3385
  requestTransformer: (query) => {
3382
- const args = [query, appId, {}];
3386
+ const args = [query, options];
3383
3387
  return renameKeysFromSDKRequestToRESTRequest(
3384
- { appId: args?.[1], ...args?.[2], query: args?.[0] },
3388
+ { ...args?.[1], query: args?.[0] },
3385
3389
  []
3386
3390
  );
3387
3391
  },
@@ -3427,7 +3431,7 @@ function queryComments2(appId) {
3427
3431
  errorTransformer: (err) => {
3428
3432
  const transformedError = sdkTransformError(err, {
3429
3433
  spreadPathsToArguments: {},
3430
- explicitPathsToArguments: { appId: "$[1]", query: "$[0]" },
3434
+ explicitPathsToArguments: { query: "$[0]" },
3431
3435
  singleArgumentUnchanged: false
3432
3436
  });
3433
3437
  throw transformedError;
@@ -3436,6 +3440,64 @@ function queryComments2(appId) {
3436
3440
  transformationPaths: {}
3437
3441
  });
3438
3442
  }
3443
+ async function typedQueryComments(query, options) {
3444
+ const { httpClient, sideEffects } = arguments[2];
3445
+ const payload = renameKeysFromSDKRequestToRESTRequest(
3446
+ { query, ...options },
3447
+ []
3448
+ );
3449
+ const reqOpts = queryComments(payload);
3450
+ sideEffects?.onSiteCall?.();
3451
+ try {
3452
+ const result = await httpClient.request(reqOpts);
3453
+ sideEffects?.onSuccess?.(result);
3454
+ return renameKeysFromRESTResponseToSDKResponse(
3455
+ transformPaths2(result.data, [
3456
+ {
3457
+ transformFn: transformRESTImageToSDKImage,
3458
+ paths: [
3459
+ { path: "comments.content.attachments.image" },
3460
+ { path: "comments.draftContent.attachments.image" }
3461
+ ]
3462
+ },
3463
+ {
3464
+ transformFn: transformRESTVideoV2ToSDKVideoV2,
3465
+ paths: [
3466
+ { path: "comments.content.attachments.video" },
3467
+ { path: "comments.draftContent.attachments.video" }
3468
+ ]
3469
+ },
3470
+ {
3471
+ transformFn: transformRESTAudioToSDKAudio,
3472
+ paths: [
3473
+ { path: "comments.content.attachments.audio" },
3474
+ { path: "comments.draftContent.attachments.audio" }
3475
+ ]
3476
+ },
3477
+ {
3478
+ transformFn: transformRESTDocumentToSDKDocument,
3479
+ paths: [
3480
+ { path: "comments.content.attachments.document" },
3481
+ { path: "comments.draftContent.attachments.document" }
3482
+ ]
3483
+ }
3484
+ ]),
3485
+ ["comments.content.richContent", "comments.draftContent.richContent"]
3486
+ );
3487
+ } catch (err) {
3488
+ const transformedError = sdkTransformError(
3489
+ err,
3490
+ {
3491
+ spreadPathsToArguments: {},
3492
+ explicitPathsToArguments: { query: "$[0]" },
3493
+ singleArgumentUnchanged: false
3494
+ },
3495
+ ["query", "options"]
3496
+ );
3497
+ sideEffects?.onError?.(err);
3498
+ throw transformedError;
3499
+ }
3500
+ }
3439
3501
  async function markComment2(commentId) {
3440
3502
  const { httpClient, sideEffects } = arguments[1];
3441
3503
  const payload = renameKeysFromSDKRequestToRESTRequest(
@@ -4067,6 +4129,7 @@ export {
4067
4129
  moderateDraftContent2 as moderateDraftContent,
4068
4130
  publishComment2 as publishComment,
4069
4131
  queryComments2 as queryComments,
4132
+ typedQueryComments,
4070
4133
  unmarkComment2 as unmarkComment,
4071
4134
  updateComment2 as updateComment
4072
4135
  };