@wix/auto_sdk_comments_comments 1.0.11 → 1.0.13

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 (21) hide show
  1. package/build/cjs/src/comments-v2-comment-comments.types.d.ts +9 -17
  2. package/build/cjs/src/comments-v2-comment-comments.types.js.map +1 -1
  3. package/build/cjs/src/comments-v2-comment-comments.universal.d.ts +25 -41
  4. package/build/cjs/src/comments-v2-comment-comments.universal.js +38 -63
  5. package/build/cjs/src/comments-v2-comment-comments.universal.js.map +1 -1
  6. package/build/es/src/comments-v2-comment-comments.types.d.ts +9 -17
  7. package/build/es/src/comments-v2-comment-comments.types.js.map +1 -1
  8. package/build/es/src/comments-v2-comment-comments.universal.d.ts +25 -41
  9. package/build/es/src/comments-v2-comment-comments.universal.js +38 -63
  10. package/build/es/src/comments-v2-comment-comments.universal.js.map +1 -1
  11. package/build/internal/cjs/src/comments-v2-comment-comments.types.d.ts +9 -17
  12. package/build/internal/cjs/src/comments-v2-comment-comments.types.js.map +1 -1
  13. package/build/internal/cjs/src/comments-v2-comment-comments.universal.d.ts +25 -41
  14. package/build/internal/cjs/src/comments-v2-comment-comments.universal.js +38 -63
  15. package/build/internal/cjs/src/comments-v2-comment-comments.universal.js.map +1 -1
  16. package/build/internal/es/src/comments-v2-comment-comments.types.d.ts +9 -17
  17. package/build/internal/es/src/comments-v2-comment-comments.types.js.map +1 -1
  18. package/build/internal/es/src/comments-v2-comment-comments.universal.d.ts +25 -41
  19. package/build/internal/es/src/comments-v2-comment-comments.universal.js +38 -63
  20. package/build/internal/es/src/comments-v2-comment-comments.universal.js.map +1 -1
  21. package/package.json +4 -4
@@ -2568,25 +2568,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
2568
2568
  updatedEvent?: EntityUpdatedEvent;
2569
2569
  deletedEvent?: EntityDeletedEvent;
2570
2570
  actionEvent?: ActionEvent;
2571
- /**
2572
- * Unique event ID.
2573
- * Allows clients to ignore duplicate webhooks.
2574
- */
2571
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
2575
2572
  id?: string;
2576
2573
  /**
2577
- * Assumes actions are also always typed to an entity_type
2578
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
2574
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
2575
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
2579
2576
  */
2580
2577
  entityFqdn?: string;
2581
2578
  /**
2582
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
2583
- * This is although the created/updated/deleted notion is duplication of the oneof types
2584
- * Example: created/updated/deleted/started/completed/email_opened
2579
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
2580
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
2585
2581
  */
2586
2582
  slug?: string;
2587
2583
  /** ID of the entity associated with the event. */
2588
2584
  entityId?: string;
2589
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
2585
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
2590
2586
  eventTime?: Date | null;
2591
2587
  /**
2592
2588
  * Whether the event was triggered as a result of a privacy regulation application
@@ -2596,12 +2592,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
2596
2592
  /** If present, indicates the action that triggered the event. */
2597
2593
  originatedFrom?: string | null;
2598
2594
  /**
2599
- * A sequence number defining the order of updates to the underlying entity.
2600
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
2601
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
2602
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
2603
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
2604
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
2595
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
2596
+ * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
2605
2597
  */
2606
2598
  entityEventSequence?: string | null;
2607
2599
  }
@@ -2629,7 +2621,7 @@ export interface EntityUpdatedEvent {
2629
2621
  currentEntityAsJson?: string;
2630
2622
  }
2631
2623
  export interface EntityDeletedEvent {
2632
- /** Entity that was deleted */
2624
+ /** Entity that was deleted. */
2633
2625
  deletedEntityAsJson?: string | null;
2634
2626
  }
2635
2627
  export interface ActionEvent {
@@ -1 +1 @@
1
- {"version":3,"file":"comments-v2-comment-comments.types.js","sourceRoot":"","sources":["../../../src/comments-v2-comment-comments.types.ts"],"names":[],"mappings":";;;AAyQA,IAAY,QAmCX;AAnCD,WAAY,QAAQ;IAClB,mCAAuB,CAAA;IACvB,yBAAa,CAAA;IACb,+BAAmB,CAAA;IACnB,2CAA+B,CAAA;IAC/B,yCAA6B,CAAA;IAC7B,mCAAuB,CAAA;IACvB,qCAAyB,CAAA;IACzB,qCAAyB,CAAA;IACzB,2BAAe,CAAA;IACf,+BAAmB,CAAA;IACnB,yBAAa,CAAA;IACb,+BAAmB,CAAA;IACnB,uBAAW,CAAA;IACX,yBAAa,CAAA;IACb,2BAAe,CAAA;IACf,yCAA6B,CAAA;IAC7B,kBAAkB;IAClB,uBAAW,CAAA;IACX,yBAAa,CAAA;IACb,mCAAuB,CAAA;IACvB,6BAAiB,CAAA;IACjB,iDAAqC,CAAA;IACrC,2BAAe,CAAA;IACf,2BAAe,CAAA;IACf,iDAAqC,CAAA;IACrC,6DAAiD,CAAA;IACjD,2DAA+C,CAAA;IAC/C,qCAAyB,CAAA;IACzB,mCAAuB,CAAA;IACvB,iCAAqB,CAAA;IACrB,2BAAe,CAAA;IACf,+BAAmB,CAAA;IACnB,6BAAiB,CAAA;IACjB,uCAA2B,CAAA;AAC7B,CAAC,EAnCW,QAAQ,wBAAR,QAAQ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0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AA4KD,IAAY,KAiBX;AAjBD,WAAY,KAAK;IACf,qBAAqB;IACrB,wCAA+B,CAAA;IAC/B,qDAAqD;IACrD,sCAA6B,CAAA;IAC7B,qDAAqD;IACrD,sCAA6B,CAAA;IAC7B,8EAA8E;IAC9E,0CAAiC,CAAA;IACjC,0EAA0E;IAC1E,0CAAiC,CAAA;IACjC,sEAAsE;IACtE,0BAAiB,CAAA;IACjB,yEAAyE;IACzE,kDAAyC,CAAA;IACzC,qEAAqE;IACrE,kCAAyB,CAAA;AAC3B,CAAC,EAjBW,KAAK,qBAAL,KAAK,QAiBhB;AAeD,IAAY,cASX;AATD,WAAY,cAAc;IACxB,qBAAqB;IACrB,iDAA+B,CAAA;IAC/B,qDAAqD;IACrD,+CAA6B,CAAA;IAC7B,qDAAqD;IACrD,+CAA6B,CAAA;IAC7B,8EAA8E;IAC9E,mDAAiC,CAAA;AACnC,CAAC,EATW,cAAc,8BAAd,cAAc,QASzB;AAyUD,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B"}
1
+ {"version":3,"file":"comments-v2-comment-comments.types.js","sourceRoot":"","sources":["../../../src/comments-v2-comment-comments.types.ts"],"names":[],"mappings":";;;AAyQA,IAAY,QAmCX;AAnCD,WAAY,QAAQ;IAClB,mCAAuB,CAAA;IACvB,yBAAa,CAAA;IACb,+BAAmB,CAAA;IACnB,2CAA+B,CAAA;IAC/B,yCAA6B,CAAA;IAC7B,mCAAuB,CAAA;IACvB,qCAAyB,CAAA;IACzB,qCAAyB,CAAA;IACzB,2BAAe,CAAA;IACf,+BAAmB,CAAA;IACnB,yBAAa,CAAA;IACb,+BAAmB,CAAA;IACnB,uBAAW,C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CAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B"}
@@ -196,7 +196,7 @@ export interface Node extends NodeDataOneOf {
196
196
  /** 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. */
197
197
  type?: NodeType;
198
198
  /** Node ID. */
199
- _id?: string;
199
+ id?: string;
200
200
  /** A list of child nodes. */
201
201
  nodes?: Node[];
202
202
  /** Padding and background color styling for the node. */
@@ -613,7 +613,7 @@ export interface FileSource extends FileSourceDataOneOf {
613
613
  */
614
614
  custom?: string | null;
615
615
  /** An ID that's resolved to a URL by a resolver function. */
616
- _id?: string | null;
616
+ id?: string | null;
617
617
  /** Indicates whether the file's source is private. Defaults to `false`. */
618
618
  private?: boolean | null;
619
619
  }
@@ -627,7 +627,7 @@ export interface FileSourceDataOneOf {
627
627
  */
628
628
  custom?: string | null;
629
629
  /** An ID that's resolved to a URL by a resolver function. */
630
- _id?: string | null;
630
+ id?: string | null;
631
631
  }
632
632
  export interface PDFSettings {
633
633
  /**
@@ -1030,7 +1030,7 @@ export interface Permissions {
1030
1030
  }
1031
1031
  export interface Option {
1032
1032
  /** Option ID. */
1033
- _id?: string | null;
1033
+ id?: string | null;
1034
1034
  /** Option title. */
1035
1035
  title?: string | null;
1036
1036
  /** The image displayed with the option. */
@@ -1127,7 +1127,7 @@ export interface OptionDesign {
1127
1127
  }
1128
1128
  export interface Poll {
1129
1129
  /** Poll ID. */
1130
- _id?: string | null;
1130
+ id?: string | null;
1131
1131
  /** Poll title. */
1132
1132
  title?: string | null;
1133
1133
  /** Poll creator ID. */
@@ -1238,7 +1238,7 @@ export interface MentionData {
1238
1238
  /** The version of the user's name that appears after the `@` character in the mention. */
1239
1239
  slug?: string;
1240
1240
  /** Mentioned user's ID. */
1241
- _id?: string | null;
1241
+ id?: string | null;
1242
1242
  }
1243
1243
  export interface FontSizeData {
1244
1244
  /** The units used for the font size. */
@@ -1252,7 +1252,7 @@ export declare enum FontType {
1252
1252
  }
1253
1253
  export interface SpoilerData {
1254
1254
  /** Spoiler ID. */
1255
- _id?: string | null;
1255
+ id?: string | null;
1256
1256
  }
1257
1257
  export interface AppEmbedData extends AppEmbedDataAppDataOneOf {
1258
1258
  /** Data for embedded Wix Bookings content. */
@@ -2426,25 +2426,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
2426
2426
  updatedEvent?: EntityUpdatedEvent;
2427
2427
  deletedEvent?: EntityDeletedEvent;
2428
2428
  actionEvent?: ActionEvent;
2429
- /**
2430
- * Unique event ID.
2431
- * Allows clients to ignore duplicate webhooks.
2432
- */
2429
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
2433
2430
  _id?: string;
2434
2431
  /**
2435
- * Assumes actions are also always typed to an entity_type
2436
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
2432
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
2433
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
2437
2434
  */
2438
2435
  entityFqdn?: string;
2439
2436
  /**
2440
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
2441
- * This is although the created/updated/deleted notion is duplication of the oneof types
2442
- * Example: created/updated/deleted/started/completed/email_opened
2437
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
2438
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
2443
2439
  */
2444
2440
  slug?: string;
2445
2441
  /** ID of the entity associated with the event. */
2446
2442
  entityId?: string;
2447
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
2443
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
2448
2444
  eventTime?: Date | null;
2449
2445
  /**
2450
2446
  * Whether the event was triggered as a result of a privacy regulation application
@@ -2454,12 +2450,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
2454
2450
  /** If present, indicates the action that triggered the event. */
2455
2451
  originatedFrom?: string | null;
2456
2452
  /**
2457
- * A sequence number defining the order of updates to the underlying entity.
2458
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
2459
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
2460
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
2461
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
2462
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
2453
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
2454
+ * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
2463
2455
  */
2464
2456
  entityEventSequence?: string | null;
2465
2457
  }
@@ -2485,7 +2477,7 @@ export interface EntityUpdatedEvent {
2485
2477
  currentEntity?: string;
2486
2478
  }
2487
2479
  export interface EntityDeletedEvent {
2488
- /** Entity that was deleted */
2480
+ /** Entity that was deleted. */
2489
2481
  deletedEntity?: string | null;
2490
2482
  }
2491
2483
  export interface ActionEvent {
@@ -2576,25 +2568,21 @@ export interface BaseEventMetadata {
2576
2568
  identity?: IdentificationData;
2577
2569
  }
2578
2570
  export interface EventMetadata extends BaseEventMetadata {
2579
- /**
2580
- * Unique event ID.
2581
- * Allows clients to ignore duplicate webhooks.
2582
- */
2571
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
2583
2572
  _id?: string;
2584
2573
  /**
2585
- * Assumes actions are also always typed to an entity_type
2586
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
2574
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
2575
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
2587
2576
  */
2588
2577
  entityFqdn?: string;
2589
2578
  /**
2590
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
2591
- * This is although the created/updated/deleted notion is duplication of the oneof types
2592
- * Example: created/updated/deleted/started/completed/email_opened
2579
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
2580
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
2593
2581
  */
2594
2582
  slug?: string;
2595
2583
  /** ID of the entity associated with the event. */
2596
2584
  entityId?: string;
2597
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
2585
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
2598
2586
  eventTime?: Date | null;
2599
2587
  /**
2600
2588
  * Whether the event was triggered as a result of a privacy regulation application
@@ -2604,12 +2592,8 @@ export interface EventMetadata extends BaseEventMetadata {
2604
2592
  /** If present, indicates the action that triggered the event. */
2605
2593
  originatedFrom?: string | null;
2606
2594
  /**
2607
- * A sequence number defining the order of updates to the underlying entity.
2608
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
2609
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
2610
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
2611
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
2612
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
2595
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
2596
+ * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
2613
2597
  */
2614
2598
  entityEventSequence?: string | null;
2615
2599
  }
@@ -2769,7 +2753,7 @@ export interface CommentUpdatedEnvelope {
2769
2753
  * @slug updated
2770
2754
  */
2771
2755
  export declare function onCommentUpdated(handler: (event: CommentUpdatedEnvelope) => void | Promise<void>): void;
2772
- type CommentNonNullablePaths = `content.richContent.nodes` | `content.richContent.nodes.${number}.buttonData.containerData.width.size` | `content.richContent.nodes.${number}.buttonData.containerData.alignment` | `content.richContent.nodes.${number}.buttonData.type` | `content.richContent.nodes.${number}.buttonData.link.url` | `content.richContent.nodes.${number}.buttonData.link.anchor` | `content.richContent.nodes.${number}.buttonData.link.target` | `content.richContent.nodes.${number}.codeBlockData.textStyle.textAlignment` | `content.richContent.nodes.${number}.dividerData.lineStyle` | `content.richContent.nodes.${number}.dividerData.width` | `content.richContent.nodes.${number}.dividerData.alignment` | `content.richContent.nodes.${number}.fileData.pdfSettings.viewMode` | `content.richContent.nodes.${number}.galleryData.items` | `content.richContent.nodes.${number}.galleryData.options.layout.type` | `content.richContent.nodes.${number}.galleryData.options.layout.orientation` | `content.richContent.nodes.${number}.galleryData.options.item.crop` | `content.richContent.nodes.${number}.galleryData.options.thumbnails.placement` | `content.richContent.nodes.${number}.gifData.height` | `content.richContent.nodes.${number}.gifData.width` | `content.richContent.nodes.${number}.gifData.gifType` | `content.richContent.nodes.${number}.headingData.level` | `content.richContent.nodes.${number}.htmlData.url` | `content.richContent.nodes.${number}.htmlData.html` | `content.richContent.nodes.${number}.htmlData.source` | `content.richContent.nodes.${number}.linkPreviewData.styles.thumbnailPosition` | `content.richContent.nodes.${number}.mapData.mapSettings.mapType` | `content.richContent.nodes.${number}.pollData.poll.options` | `content.richContent.nodes.${number}.pollData.poll.settings.permissions.view` | `content.richContent.nodes.${number}.pollData.poll.settings.permissions.vote` | `content.richContent.nodes.${number}.pollData.layout.poll.type` | `content.richContent.nodes.${number}.pollData.layout.poll.direction` | `content.richContent.nodes.${number}.pollData.design.poll.background.type` | `content.richContent.nodes.${number}.textData.text` | `content.richContent.nodes.${number}.textData.decorations` | `content.richContent.nodes.${number}.textData.decorations.${number}.anchorData.anchor` | `content.richContent.nodes.${number}.textData.decorations.${number}.mentionData.name` | `content.richContent.nodes.${number}.textData.decorations.${number}.mentionData.slug` | `content.richContent.nodes.${number}.textData.decorations.${number}.fontSizeData.unit` | `content.richContent.nodes.${number}.textData.decorations.${number}.type` | `content.richContent.nodes.${number}.appEmbedData.type` | `content.richContent.nodes.${number}.collapsibleListData.initialExpandedItems` | `content.richContent.nodes.${number}.collapsibleListData.direction` | `content.richContent.nodes.${number}.tableData.dimensions.colsWidthRatio` | `content.richContent.nodes.${number}.tableData.dimensions.rowsHeight` | `content.richContent.nodes.${number}.tableData.dimensions.colsMinWidth` | `content.richContent.nodes.${number}.tableCellData.cellStyle.verticalAlignment` | `content.richContent.nodes.${number}.orderedListData.indentation` | `content.richContent.nodes.${number}.bulletedListData.indentation` | `content.richContent.nodes.${number}.blockquoteData.indentation` | `content.richContent.nodes.${number}.type` | `content.richContent.nodes.${number}._id` | `content.richContent.nodes.${number}.nodes` | `content.richContent.metadata.version` | `content.richContent.documentStyle.headerOne.decorations` | `content.mentions` | `content.attachments` | `parentComment.status` | `replyCount` | `voteSummary.netVoteCount` | `voteSummary.upvoteCount` | `voteSummary.downvoteCount` | `status` | `reactionSummary.total` | `marked`;
2756
+ type CommentNonNullablePaths = `content.mentions` | `content.attachments` | `parentComment.status` | `replyCount` | `voteSummary.netVoteCount` | `voteSummary.upvoteCount` | `voteSummary.downvoteCount` | `status` | `reactionSummary.total` | `marked`;
2773
2757
  /**
2774
2758
  * Creates a new comment and publishes it.
2775
2759
  *
@@ -452,7 +452,10 @@ var WebhookIdentityType;
452
452
  async function createComment(comment) {
453
453
  // @ts-ignore
454
454
  const { httpClient, sideEffects } = arguments[1];
455
- const payload = (0, transform_paths_1.transformPaths)((0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({ comment: comment }), [
455
+ const payload = (0, transform_paths_1.transformPaths)((0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({ comment: comment }, [
456
+ 'comment.content.richContent',
457
+ 'comment.draftContent.richContent',
458
+ ]), [
456
459
  {
457
460
  transformFn: image_1.transformSDKImageToRESTImage,
458
461
  paths: [
@@ -516,7 +519,7 @@ async function createComment(comment) {
516
519
  { path: 'comment.draftContent.attachments.document' },
517
520
  ],
518
521
  },
519
- ]))?.comment;
522
+ ]), ['comment.content.richContent', 'comment.draftContent.richContent'])?.comment;
520
523
  }
521
524
  catch (err) {
522
525
  const transformedError = (0, transform_error_1.transformError)(err, {
@@ -546,9 +549,7 @@ exports.createComment = createComment;
546
549
  async function getComment(commentId) {
547
550
  // @ts-ignore
548
551
  const { httpClient, sideEffects } = arguments[1];
549
- const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({
550
- commentId: commentId,
551
- });
552
+ const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({ commentId: commentId }, []);
552
553
  const reqOpts = ambassadorWixCommentsV2Comment.getComment(payload);
553
554
  sideEffects?.onSiteCall?.();
554
555
  try {
@@ -583,7 +584,7 @@ async function getComment(commentId) {
583
584
  { path: 'comment.draftContent.attachments.document' },
584
585
  ],
585
586
  },
586
- ]))?.comment;
587
+ ]), ['comment.content.richContent', 'comment.draftContent.richContent'])?.comment;
587
588
  }
588
589
  catch (err) {
589
590
  const transformedError = (0, transform_error_1.transformError)(err, {
@@ -617,7 +618,7 @@ exports.getComment = getComment;
617
618
  async function updateComment(_id, comment) {
618
619
  // @ts-ignore
619
620
  const { httpClient, sideEffects } = arguments[2];
620
- const payload = (0, transform_paths_1.transformPaths)((0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({ comment: { ...comment, id: _id } }), [
621
+ const payload = (0, transform_paths_1.transformPaths)((0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({ comment: { ...comment, id: _id } }, ['comment.content.richContent', 'comment.draftContent.richContent']), [
621
622
  {
622
623
  transformFn: image_1.transformSDKImageToRESTImage,
623
624
  paths: [
@@ -681,7 +682,7 @@ async function updateComment(_id, comment) {
681
682
  { path: 'comment.draftContent.attachments.document' },
682
683
  ],
683
684
  },
684
- ]))?.comment;
685
+ ]), ['comment.content.richContent', 'comment.draftContent.richContent'])?.comment;
685
686
  }
686
687
  catch (err) {
687
688
  const transformedError = (0, transform_error_1.transformError)(err, {
@@ -710,9 +711,7 @@ exports.updateComment = updateComment;
710
711
  async function deleteComment(commentId) {
711
712
  // @ts-ignore
712
713
  const { httpClient, sideEffects } = arguments[1];
713
- const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({
714
- commentId: commentId,
715
- });
714
+ const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({ commentId: commentId }, []);
716
715
  const reqOpts = ambassadorWixCommentsV2Comment.deleteComment(payload);
717
716
  sideEffects?.onSiteCall?.();
718
717
  try {
@@ -756,7 +755,7 @@ async function moderateDraftContent(commentId, revision, options) {
756
755
  commentId: commentId,
757
756
  revision: revision,
758
757
  draftContentAction: options?.draftContentAction,
759
- });
758
+ }, []);
760
759
  const reqOpts = ambassadorWixCommentsV2Comment.moderateDraftContent(payload);
761
760
  sideEffects?.onSiteCall?.();
762
761
  try {
@@ -791,7 +790,7 @@ async function moderateDraftContent(commentId, revision, options) {
791
790
  { path: 'comment.draftContent.attachments.document' },
792
791
  ],
793
792
  },
794
- ]));
793
+ ]), ['comment.content.richContent', 'comment.draftContent.richContent']);
795
794
  }
796
795
  catch (err) {
797
796
  const transformedError = (0, transform_error_1.transformError)(err, {
@@ -853,11 +852,7 @@ function queryComments(appId) {
853
852
  },
854
853
  requestTransformer: (query) => {
855
854
  const args = [query, appId, {}];
856
- return (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({
857
- appId: args?.[1],
858
- ...args?.[2],
859
- query: args?.[0],
860
- });
855
+ return (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({ appId: args?.[1], ...args?.[2], query: args?.[0] }, []);
861
856
  },
862
857
  responseTransformer: ({ data }) => {
863
858
  const transformedData = (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)((0, transform_paths_1.transformPaths)(data, [
@@ -889,7 +884,7 @@ function queryComments(appId) {
889
884
  { path: 'comments.draftContent.attachments.document' },
890
885
  ],
891
886
  },
892
- ]));
887
+ ]), ['comments.content.richContent', 'comments.draftContent.richContent']);
893
888
  return {
894
889
  items: transformedData?.comments,
895
890
  pagingMetadata: transformedData?.pagingMetadata,
@@ -925,9 +920,7 @@ exports.queryComments = queryComments;
925
920
  async function markComment(commentId) {
926
921
  // @ts-ignore
927
922
  const { httpClient, sideEffects } = arguments[1];
928
- const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({
929
- commentId: commentId,
930
- });
923
+ const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({ commentId: commentId }, []);
931
924
  const reqOpts = ambassadorWixCommentsV2Comment.markComment(payload);
932
925
  sideEffects?.onSiteCall?.();
933
926
  try {
@@ -962,7 +955,7 @@ async function markComment(commentId) {
962
955
  { path: 'comment.draftContent.attachments.document' },
963
956
  ],
964
957
  },
965
- ]));
958
+ ]), ['comment.content.richContent', 'comment.draftContent.richContent']);
966
959
  }
967
960
  catch (err) {
968
961
  const transformedError = (0, transform_error_1.transformError)(err, {
@@ -989,9 +982,7 @@ exports.markComment = markComment;
989
982
  async function unmarkComment(commentId) {
990
983
  // @ts-ignore
991
984
  const { httpClient, sideEffects } = arguments[1];
992
- const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({
993
- commentId: commentId,
994
- });
985
+ const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({ commentId: commentId }, []);
995
986
  const reqOpts = ambassadorWixCommentsV2Comment.unmarkComment(payload);
996
987
  sideEffects?.onSiteCall?.();
997
988
  try {
@@ -1026,7 +1017,7 @@ async function unmarkComment(commentId) {
1026
1017
  { path: 'comment.draftContent.attachments.document' },
1027
1018
  ],
1028
1019
  },
1029
- ]));
1020
+ ]), ['comment.content.richContent', 'comment.draftContent.richContent']);
1030
1021
  }
1031
1022
  catch (err) {
1032
1023
  const transformedError = (0, transform_error_1.transformError)(err, {
@@ -1054,9 +1045,7 @@ exports.unmarkComment = unmarkComment;
1054
1045
  async function hideComment(commentId) {
1055
1046
  // @ts-ignore
1056
1047
  const { httpClient, sideEffects } = arguments[1];
1057
- const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({
1058
- commentId: commentId,
1059
- });
1048
+ const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({ commentId: commentId }, []);
1060
1049
  const reqOpts = ambassadorWixCommentsV2Comment.hideComment(payload);
1061
1050
  sideEffects?.onSiteCall?.();
1062
1051
  try {
@@ -1091,7 +1080,7 @@ async function hideComment(commentId) {
1091
1080
  { path: 'comment.draftContent.attachments.document' },
1092
1081
  ],
1093
1082
  },
1094
- ]));
1083
+ ]), ['comment.content.richContent', 'comment.draftContent.richContent']);
1095
1084
  }
1096
1085
  catch (err) {
1097
1086
  const transformedError = (0, transform_error_1.transformError)(err, {
@@ -1121,9 +1110,7 @@ exports.hideComment = hideComment;
1121
1110
  async function publishComment(commentId) {
1122
1111
  // @ts-ignore
1123
1112
  const { httpClient, sideEffects } = arguments[1];
1124
- const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({
1125
- commentId: commentId,
1126
- });
1113
+ const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({ commentId: commentId }, []);
1127
1114
  const reqOpts = ambassadorWixCommentsV2Comment.publishComment(payload);
1128
1115
  sideEffects?.onSiteCall?.();
1129
1116
  try {
@@ -1158,7 +1145,7 @@ async function publishComment(commentId) {
1158
1145
  { path: 'comment.draftContent.attachments.document' },
1159
1146
  ],
1160
1147
  },
1161
- ]));
1148
+ ]), ['comment.content.richContent', 'comment.draftContent.richContent']);
1162
1149
  }
1163
1150
  catch (err) {
1164
1151
  const transformedError = (0, transform_error_1.transformError)(err, {
@@ -1185,16 +1172,13 @@ exports.publishComment = publishComment;
1185
1172
  async function countComments(appId, options) {
1186
1173
  // @ts-ignore
1187
1174
  const { httpClient, sideEffects } = arguments[2];
1188
- const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({
1189
- appId: appId,
1190
- filter: options?.filter,
1191
- });
1175
+ const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({ appId: appId, filter: options?.filter }, []);
1192
1176
  const reqOpts = ambassadorWixCommentsV2Comment.countComments(payload);
1193
1177
  sideEffects?.onSiteCall?.();
1194
1178
  try {
1195
1179
  const result = await httpClient.request(reqOpts);
1196
1180
  sideEffects?.onSuccess?.(result);
1197
- return (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)(result.data);
1181
+ return (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)(result.data, []);
1198
1182
  }
1199
1183
  catch (err) {
1200
1184
  const transformedError = (0, transform_error_1.transformError)(err, {
@@ -1234,7 +1218,7 @@ async function listCommentsByResource(appId, options) {
1234
1218
  commentSort: options?.commentSort,
1235
1219
  replySort: options?.replySort,
1236
1220
  cursorPaging: options?.cursorPaging,
1237
- });
1221
+ }, []);
1238
1222
  const reqOpts = ambassadorWixCommentsV2Comment.listCommentsByResource(payload);
1239
1223
  sideEffects?.onSiteCall?.();
1240
1224
  try {
@@ -1279,7 +1263,7 @@ async function listCommentsByResource(appId, options) {
1279
1263
  },
1280
1264
  ],
1281
1265
  },
1282
- ]));
1266
+ ]), ['comments.content.richContent', 'comments.draftContent.richContent']);
1283
1267
  }
1284
1268
  catch (err) {
1285
1269
  const transformedError = (0, transform_error_1.transformError)(err, {
@@ -1326,7 +1310,7 @@ async function getCommentThread(commentId, options) {
1326
1310
  appId: options?.appId,
1327
1311
  commentSort: options?.commentSort,
1328
1312
  replySort: options?.replySort,
1329
- });
1313
+ }, []);
1330
1314
  const reqOpts = ambassadorWixCommentsV2Comment.getCommentThread(payload);
1331
1315
  sideEffects?.onSiteCall?.();
1332
1316
  try {
@@ -1371,7 +1355,7 @@ async function getCommentThread(commentId, options) {
1371
1355
  },
1372
1356
  ],
1373
1357
  },
1374
- ]));
1358
+ ]), ['comments.content.richContent', 'comments.draftContent.richContent']);
1375
1359
  }
1376
1360
  catch (err) {
1377
1361
  const transformedError = (0, transform_error_1.transformError)(err, {
@@ -1406,16 +1390,13 @@ exports.getCommentThread = getCommentThread;
1406
1390
  async function bulkPublishComment(appId, options) {
1407
1391
  // @ts-ignore
1408
1392
  const { httpClient, sideEffects } = arguments[2];
1409
- const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({
1410
- appId: appId,
1411
- filter: options?.filter,
1412
- });
1393
+ const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({ appId: appId, filter: options?.filter }, []);
1413
1394
  const reqOpts = ambassadorWixCommentsV2Comment.bulkPublishComment(payload);
1414
1395
  sideEffects?.onSiteCall?.();
1415
1396
  try {
1416
1397
  const result = await httpClient.request(reqOpts);
1417
1398
  sideEffects?.onSuccess?.(result);
1418
- return (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)(result.data);
1399
+ return (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)(result.data, []);
1419
1400
  }
1420
1401
  catch (err) {
1421
1402
  const transformedError = (0, transform_error_1.transformError)(err, {
@@ -1445,16 +1426,13 @@ exports.bulkPublishComment = bulkPublishComment;
1445
1426
  async function bulkHideComment(appId, options) {
1446
1427
  // @ts-ignore
1447
1428
  const { httpClient, sideEffects } = arguments[2];
1448
- const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({
1449
- appId: appId,
1450
- filter: options?.filter,
1451
- });
1429
+ const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({ appId: appId, filter: options?.filter }, []);
1452
1430
  const reqOpts = ambassadorWixCommentsV2Comment.bulkHideComment(payload);
1453
1431
  sideEffects?.onSiteCall?.();
1454
1432
  try {
1455
1433
  const result = await httpClient.request(reqOpts);
1456
1434
  sideEffects?.onSuccess?.(result);
1457
- return (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)(result.data);
1435
+ return (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)(result.data, []);
1458
1436
  }
1459
1437
  catch (err) {
1460
1438
  const transformedError = (0, transform_error_1.transformError)(err, {
@@ -1484,16 +1462,13 @@ exports.bulkHideComment = bulkHideComment;
1484
1462
  async function bulkDeleteComment(appId, options) {
1485
1463
  // @ts-ignore
1486
1464
  const { httpClient, sideEffects } = arguments[2];
1487
- const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({
1488
- appId: appId,
1489
- filter: options?.filter,
1490
- });
1465
+ const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({ appId: appId, filter: options?.filter }, []);
1491
1466
  const reqOpts = ambassadorWixCommentsV2Comment.bulkDeleteComment(payload);
1492
1467
  sideEffects?.onSiteCall?.();
1493
1468
  try {
1494
1469
  const result = await httpClient.request(reqOpts);
1495
1470
  sideEffects?.onSuccess?.(result);
1496
- return (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)(result.data);
1471
+ return (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)(result.data, []);
1497
1472
  }
1498
1473
  catch (err) {
1499
1474
  const transformedError = (0, transform_error_1.transformError)(err, {
@@ -1528,13 +1503,13 @@ async function bulkModerateDraftContent(appId, options) {
1528
1503
  appId: appId,
1529
1504
  filter: options?.filter,
1530
1505
  draftContentAction: options?.draftContentAction,
1531
- });
1506
+ }, []);
1532
1507
  const reqOpts = ambassadorWixCommentsV2Comment.bulkModerateDraftContent(payload);
1533
1508
  sideEffects?.onSiteCall?.();
1534
1509
  try {
1535
1510
  const result = await httpClient.request(reqOpts);
1536
1511
  sideEffects?.onSuccess?.(result);
1537
- return (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)(result.data);
1512
+ return (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)(result.data, []);
1538
1513
  }
1539
1514
  catch (err) {
1540
1515
  const transformedError = (0, transform_error_1.transformError)(err, {
@@ -1573,13 +1548,13 @@ async function bulkMoveCommentByFilter(appId, options) {
1573
1548
  appId: appId,
1574
1549
  filter: options?.filter,
1575
1550
  destination: options?.destination,
1576
- });
1551
+ }, []);
1577
1552
  const reqOpts = ambassadorWixCommentsV2Comment.bulkMoveCommentByFilter(payload);
1578
1553
  sideEffects?.onSiteCall?.();
1579
1554
  try {
1580
1555
  const result = await httpClient.request(reqOpts);
1581
1556
  sideEffects?.onSuccess?.(result);
1582
- return (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)(result.data);
1557
+ return (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)(result.data, []);
1583
1558
  }
1584
1559
  catch (err) {
1585
1560
  const transformedError = (0, transform_error_1.transformError)(err, {