@wix/auto_sdk_blog_posts 1.0.156 → 1.0.157

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 (49) hide show
  1. package/build/cjs/index.d.ts +15 -11
  2. package/build/cjs/index.js +21 -11
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +62 -23
  5. package/build/cjs/index.typings.js +11 -6
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +32 -5
  8. package/build/cjs/meta.js +5 -0
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/cjs/schemas.d.ts +84 -82
  11. package/build/cjs/schemas.js +153 -147
  12. package/build/cjs/schemas.js.map +1 -1
  13. package/build/es/index.d.mts +15 -11
  14. package/build/es/index.mjs +21 -11
  15. package/build/es/index.mjs.map +1 -1
  16. package/build/es/index.typings.d.mts +62 -23
  17. package/build/es/index.typings.mjs +11 -6
  18. package/build/es/index.typings.mjs.map +1 -1
  19. package/build/es/meta.d.mts +32 -5
  20. package/build/es/meta.mjs +5 -0
  21. package/build/es/meta.mjs.map +1 -1
  22. package/build/es/schemas.d.mts +84 -82
  23. package/build/es/schemas.mjs +153 -147
  24. package/build/es/schemas.mjs.map +1 -1
  25. package/build/internal/cjs/index.d.ts +15 -11
  26. package/build/internal/cjs/index.js +21 -11
  27. package/build/internal/cjs/index.js.map +1 -1
  28. package/build/internal/cjs/index.typings.d.ts +62 -23
  29. package/build/internal/cjs/index.typings.js +11 -6
  30. package/build/internal/cjs/index.typings.js.map +1 -1
  31. package/build/internal/cjs/meta.d.ts +32 -5
  32. package/build/internal/cjs/meta.js +5 -0
  33. package/build/internal/cjs/meta.js.map +1 -1
  34. package/build/internal/cjs/schemas.d.ts +84 -82
  35. package/build/internal/cjs/schemas.js +153 -147
  36. package/build/internal/cjs/schemas.js.map +1 -1
  37. package/build/internal/es/index.d.mts +15 -11
  38. package/build/internal/es/index.mjs +21 -11
  39. package/build/internal/es/index.mjs.map +1 -1
  40. package/build/internal/es/index.typings.d.mts +62 -23
  41. package/build/internal/es/index.typings.mjs +11 -6
  42. package/build/internal/es/index.typings.mjs.map +1 -1
  43. package/build/internal/es/meta.d.mts +32 -5
  44. package/build/internal/es/meta.mjs +5 -0
  45. package/build/internal/es/meta.mjs.map +1 -1
  46. package/build/internal/es/schemas.d.mts +84 -82
  47. package/build/internal/es/schemas.mjs +153 -147
  48. package/build/internal/es/schemas.mjs.map +1 -1
  49. package/package.json +2 -2
@@ -1108,6 +1108,7 @@ var NodeType = /* @__PURE__ */ ((NodeType2) => {
1108
1108
  NodeType2["TOC"] = "TOC";
1109
1109
  NodeType2["SMART_BLOCK"] = "SMART_BLOCK";
1110
1110
  NodeType2["SMART_BLOCK_CELL"] = "SMART_BLOCK_CELL";
1111
+ NodeType2["CHECKBOX_LIST"] = "CHECKBOX_LIST";
1111
1112
  return NodeType2;
1112
1113
  })(NodeType || {});
1113
1114
  var BackgroundType = /* @__PURE__ */ ((BackgroundType2) => {
@@ -1460,6 +1461,10 @@ var SmartBlockDataType = /* @__PURE__ */ ((SmartBlockDataType2) => {
1460
1461
  SmartBlockDataType2["PILLS"] = "PILLS";
1461
1462
  SmartBlockDataType2["STAR_RATING"] = "STAR_RATING";
1462
1463
  SmartBlockDataType2["QUOTE_BOXES"] = "QUOTE_BOXES";
1464
+ SmartBlockDataType2["CIRCLE"] = "CIRCLE";
1465
+ SmartBlockDataType2["PYRAMID"] = "PYRAMID";
1466
+ SmartBlockDataType2["STAIRCASE"] = "STAIRCASE";
1467
+ SmartBlockDataType2["VERTICAL_FUNNEL"] = "VERTICAL_FUNNEL";
1463
1468
  return SmartBlockDataType2;
1464
1469
  })(SmartBlockDataType || {});
1465
1470
  var ColumnSize = /* @__PURE__ */ ((ColumnSize2) => {
@@ -1675,8 +1680,8 @@ async function getPost2(postId, options) {
1675
1680
  paths: [{ path: "post.media.wixMedia.videoV2" }]
1676
1681
  }
1677
1682
  ]),
1678
- ["post.richContent"]
1679
- )?.post;
1683
+ ["post.richContent", "post.rich_content"]
1684
+ );
1680
1685
  } catch (err) {
1681
1686
  const transformedError = (0, import_transform_error.transformError)(
1682
1687
  err,
@@ -1723,7 +1728,7 @@ async function getPostBySlug2(slug, options) {
1723
1728
  paths: [{ path: "post.media.wixMedia.videoV2" }]
1724
1729
  }
1725
1730
  ]),
1726
- ["post.richContent"]
1731
+ ["post.richContent", "post.rich_content"]
1727
1732
  );
1728
1733
  } catch (err) {
1729
1734
  const transformedError = (0, import_transform_error.transformError)(
@@ -1782,7 +1787,7 @@ async function listPosts2(options) {
1782
1787
  paths: [{ path: "posts.media.wixMedia.videoV2" }]
1783
1788
  }
1784
1789
  ]),
1785
- ["posts.richContent"]
1790
+ ["posts.richContent", "posts.rich_content"]
1786
1791
  );
1787
1792
  } catch (err) {
1788
1793
  const transformedError = (0, import_transform_error.transformError)(
@@ -1852,7 +1857,7 @@ function queryPosts2(options) {
1852
1857
  paths: [{ path: "posts.media.wixMedia.videoV2" }]
1853
1858
  }
1854
1859
  ]),
1855
- ["posts.richContent"]
1860
+ ["posts.richContent", "posts.rich_content"]
1856
1861
  );
1857
1862
  return {
1858
1863
  items: transformedData?.posts,
@@ -1900,7 +1905,7 @@ async function typedQueryPosts(query, options) {
1900
1905
  paths: [{ path: "posts.media.wixMedia.videoV2" }]
1901
1906
  }
1902
1907
  ]),
1903
- ["posts.richContent"]
1908
+ ["posts.richContent", "posts.rich_content"]
1904
1909
  );
1905
1910
  } catch (err) {
1906
1911
  const transformedError = (0, import_transform_error.transformError)(
@@ -2014,7 +2019,8 @@ var onPostLiked = (0, import_sdk_types.EventDefinition)(
2014
2019
  transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
2015
2020
  paths: [{ path: "metadata.eventTime" }]
2016
2021
  }
2017
- ])
2022
+ ]),
2023
+ ["entity.rich_content"]
2018
2024
  )
2019
2025
  )();
2020
2026
  var onPostUnliked = (0, import_sdk_types.EventDefinition)(
@@ -2026,7 +2032,8 @@ var onPostUnliked = (0, import_sdk_types.EventDefinition)(
2026
2032
  transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
2027
2033
  paths: [{ path: "metadata.eventTime" }]
2028
2034
  }
2029
- ])
2035
+ ]),
2036
+ ["entity.rich_content"]
2030
2037
  )
2031
2038
  )();
2032
2039
  var onPostCreated = (0, import_sdk_types.EventDefinition)(
@@ -2156,7 +2163,8 @@ var onPostCreated = (0, import_sdk_types.EventDefinition)(
2156
2163
  transformFn: import_video_v22.transformRESTVideoV2ToSDKVideoV2,
2157
2164
  paths: [{ path: "entity.media.wixMedia.videoV2" }]
2158
2165
  }
2159
- ])
2166
+ ]),
2167
+ ["entity.rich_content"]
2160
2168
  )
2161
2169
  )();
2162
2170
  var onPostDeleted = (0, import_sdk_types.EventDefinition)(
@@ -2286,7 +2294,8 @@ var onPostDeleted = (0, import_sdk_types.EventDefinition)(
2286
2294
  transformFn: import_video_v22.transformRESTVideoV2ToSDKVideoV2,
2287
2295
  paths: [{ path: "entity.media.wixMedia.videoV2" }]
2288
2296
  }
2289
- ])
2297
+ ]),
2298
+ ["entity.rich_content"]
2290
2299
  )
2291
2300
  )();
2292
2301
  var onPostUpdated = (0, import_sdk_types.EventDefinition)(
@@ -2416,7 +2425,8 @@ var onPostUpdated = (0, import_sdk_types.EventDefinition)(
2416
2425
  transformFn: import_video_v22.transformRESTVideoV2ToSDKVideoV2,
2417
2426
  paths: [{ path: "entity.media.wixMedia.videoV2" }]
2418
2427
  }
2419
- ])
2428
+ ]),
2429
+ ["entity.rich_content"]
2420
2430
  )
2421
2431
  )();
2422
2432