@wix/auto_sdk_blog_posts 1.0.49 → 1.0.51

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.
@@ -1325,8 +1325,8 @@ async function getPost2(postId, options) {
1325
1325
  paths: [{ path: "post.media.wixMedia.videoV2" }]
1326
1326
  }
1327
1327
  ]),
1328
- ["post.richContent"]
1329
- )?.post;
1328
+ ["post.richContent", "post.rich_content"]
1329
+ );
1330
1330
  } catch (err) {
1331
1331
  const transformedError = sdkTransformError(
1332
1332
  err,
@@ -1378,7 +1378,7 @@ async function getPostBySlug2(slug, options) {
1378
1378
  paths: [{ path: "post.media.wixMedia.videoV2" }]
1379
1379
  }
1380
1380
  ]),
1381
- ["post.richContent"]
1381
+ ["post.richContent", "post.rich_content"]
1382
1382
  );
1383
1383
  } catch (err) {
1384
1384
  const transformedError = sdkTransformError(
@@ -1442,7 +1442,7 @@ async function listPosts2(options) {
1442
1442
  paths: [{ path: "posts.media.wixMedia.videoV2" }]
1443
1443
  }
1444
1444
  ]),
1445
- ["posts.richContent"]
1445
+ ["posts.richContent", "posts.rich_content"]
1446
1446
  );
1447
1447
  } catch (err) {
1448
1448
  const transformedError = sdkTransformError(
@@ -1517,7 +1517,7 @@ function queryPosts2(options) {
1517
1517
  paths: [{ path: "posts.media.wixMedia.videoV2" }]
1518
1518
  }
1519
1519
  ]),
1520
- ["posts.richContent"]
1520
+ ["posts.richContent", "posts.rich_content"]
1521
1521
  );
1522
1522
  return {
1523
1523
  items: transformedData?.posts,
@@ -1684,7 +1684,8 @@ var onPostCreated = EventDefinition(
1684
1684
  transformFn: transformRESTVideoV2ToSDKVideoV22,
1685
1685
  paths: [{ path: "entity.media.wixMedia.videoV2" }]
1686
1686
  }
1687
- ])
1687
+ ]),
1688
+ ["entity.rich_content"]
1688
1689
  )
1689
1690
  )();
1690
1691
  var onPostDeleted = EventDefinition(
@@ -1759,7 +1760,8 @@ var onPostDeleted = EventDefinition(
1759
1760
  transformFn: transformRESTVideoV2ToSDKVideoV22,
1760
1761
  paths: [{ path: "entity.media.wixMedia.videoV2" }]
1761
1762
  }
1762
- ])
1763
+ ]),
1764
+ ["entity.rich_content"]
1763
1765
  )
1764
1766
  )();
1765
1767
  var onPostLiked = EventDefinition(
@@ -1771,7 +1773,8 @@ var onPostLiked = EventDefinition(
1771
1773
  transformFn: transformRESTTimestampToSDKTimestamp2,
1772
1774
  paths: [{ path: "metadata.eventTime" }]
1773
1775
  }
1774
- ])
1776
+ ]),
1777
+ ["entity.rich_content"]
1775
1778
  )
1776
1779
  )();
1777
1780
  var onPostUnliked = EventDefinition(
@@ -1783,7 +1786,8 @@ var onPostUnliked = EventDefinition(
1783
1786
  transformFn: transformRESTTimestampToSDKTimestamp2,
1784
1787
  paths: [{ path: "metadata.eventTime" }]
1785
1788
  }
1786
- ])
1789
+ ]),
1790
+ ["entity.rich_content"]
1787
1791
  )
1788
1792
  )();
1789
1793
  var onPostUpdated = EventDefinition(
@@ -1858,7 +1862,8 @@ var onPostUpdated = EventDefinition(
1858
1862
  transformFn: transformRESTVideoV2ToSDKVideoV22,
1859
1863
  paths: [{ path: "entity.media.wixMedia.videoV2" }]
1860
1864
  }
1861
- ])
1865
+ ]),
1866
+ ["entity.rich_content"]
1862
1867
  )
1863
1868
  )();
1864
1869