@wix/auto_sdk_blog_posts 1.0.140 → 1.0.141

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 +11 -15
  2. package/build/cjs/index.js +73 -43
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +576 -533
  5. package/build/cjs/index.typings.js +59 -30
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +413 -358
  8. package/build/cjs/meta.js +53 -24
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +11 -15
  11. package/build/es/index.mjs +71 -43
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +576 -533
  14. package/build/es/index.typings.mjs +57 -30
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +413 -358
  17. package/build/es/meta.mjs +51 -24
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +11 -15
  20. package/build/internal/cjs/index.js +73 -43
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +576 -533
  23. package/build/internal/cjs/index.typings.js +59 -30
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +413 -358
  26. package/build/internal/cjs/meta.js +53 -24
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +11 -15
  29. package/build/internal/es/index.mjs +71 -43
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +576 -533
  32. package/build/internal/es/index.typings.mjs +57 -30
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +413 -358
  35. package/build/internal/es/meta.mjs +51 -24
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +4 -4
@@ -448,7 +448,9 @@ function getPost(payload) {
448
448
  },
449
449
  {
450
450
  path: "post.richContent.nodes.cardData.backgroundImage.media.duration"
451
- }
451
+ },
452
+ { path: "post.richContent.nodes.tocData.fontSize" },
453
+ { path: "post.richContent.nodes.tocData.itemSpacing" }
452
454
  ]
453
455
  }
454
456
  ])
@@ -594,7 +596,9 @@ function getPostBySlug(payload) {
594
596
  },
595
597
  {
596
598
  path: "post.richContent.nodes.cardData.backgroundImage.media.duration"
597
- }
599
+ },
600
+ { path: "post.richContent.nodes.tocData.fontSize" },
601
+ { path: "post.richContent.nodes.tocData.itemSpacing" }
598
602
  ]
599
603
  }
600
604
  ])
@@ -744,7 +748,9 @@ function listPosts(payload) {
744
748
  },
745
749
  {
746
750
  path: "posts.richContent.nodes.cardData.backgroundImage.media.duration"
747
- }
751
+ },
752
+ { path: "posts.richContent.nodes.tocData.fontSize" },
753
+ { path: "posts.richContent.nodes.tocData.itemSpacing" }
748
754
  ]
749
755
  }
750
756
  ])
@@ -894,7 +900,9 @@ function queryPosts(payload) {
894
900
  },
895
901
  {
896
902
  path: "posts.richContent.nodes.cardData.backgroundImage.media.duration"
897
- }
903
+ },
904
+ { path: "posts.richContent.nodes.tocData.fontSize" },
905
+ { path: "posts.richContent.nodes.tocData.itemSpacing" }
898
906
  ]
899
907
  }
900
908
  ])
@@ -973,6 +981,7 @@ var NodeType = /* @__PURE__ */ ((NodeType2) => {
973
981
  NodeType2["LAYOUT_CELL"] = "LAYOUT_CELL";
974
982
  NodeType2["SHAPE"] = "SHAPE";
975
983
  NodeType2["CARD"] = "CARD";
984
+ NodeType2["TOC"] = "TOC";
976
985
  return NodeType2;
977
986
  })(NodeType || {});
978
987
  var BackgroundType = /* @__PURE__ */ ((BackgroundType2) => {
@@ -1083,6 +1092,7 @@ var Source = /* @__PURE__ */ ((Source2) => {
1083
1092
  Source2["HTML"] = "HTML";
1084
1093
  Source2["ADSENSE"] = "ADSENSE";
1085
1094
  Source2["AI"] = "AI";
1095
+ Source2["AI_WIDGET"] = "AI_WIDGET";
1086
1096
  return Source2;
1087
1097
  })(Source || {});
1088
1098
  var StylesPosition = /* @__PURE__ */ ((StylesPosition2) => {
@@ -1284,32 +1294,27 @@ var CardDataBackgroundType = /* @__PURE__ */ ((CardDataBackgroundType2) => {
1284
1294
  CardDataBackgroundType2["GRADIENT"] = "GRADIENT";
1285
1295
  return CardDataBackgroundType2;
1286
1296
  })(CardDataBackgroundType || {});
1297
+ var ListStyle = /* @__PURE__ */ ((ListStyle2) => {
1298
+ ListStyle2["PLAIN"] = "PLAIN";
1299
+ ListStyle2["NUMBERED"] = "NUMBERED";
1300
+ ListStyle2["LETTERS"] = "LETTERS";
1301
+ ListStyle2["ROMAN"] = "ROMAN";
1302
+ ListStyle2["BULLETED"] = "BULLETED";
1303
+ ListStyle2["ALPHABETICAL_INDEX"] = "ALPHABETICAL_INDEX";
1304
+ ListStyle2["ALPHABETICAL_INDEX_COMPACT"] = "ALPHABETICAL_INDEX_COMPACT";
1305
+ return ListStyle2;
1306
+ })(ListStyle || {});
1307
+ var Indentation = /* @__PURE__ */ ((Indentation2) => {
1308
+ Indentation2["NESTED"] = "NESTED";
1309
+ Indentation2["FLAT"] = "FLAT";
1310
+ return Indentation2;
1311
+ })(Indentation || {});
1287
1312
  var ModerationStatusStatus = /* @__PURE__ */ ((ModerationStatusStatus2) => {
1288
1313
  ModerationStatusStatus2["UNKNOWN"] = "UNKNOWN";
1289
1314
  ModerationStatusStatus2["APPROVED"] = "APPROVED";
1290
1315
  ModerationStatusStatus2["REJECTED"] = "REJECTED";
1291
1316
  return ModerationStatusStatus2;
1292
1317
  })(ModerationStatusStatus || {});
1293
- var QueryPublicationsCountStatsRequestOrder = /* @__PURE__ */ ((QueryPublicationsCountStatsRequestOrder2) => {
1294
- QueryPublicationsCountStatsRequestOrder2["UNKNOWN"] = "UNKNOWN";
1295
- QueryPublicationsCountStatsRequestOrder2["OLDEST"] = "OLDEST";
1296
- QueryPublicationsCountStatsRequestOrder2["NEWEST"] = "NEWEST";
1297
- return QueryPublicationsCountStatsRequestOrder2;
1298
- })(QueryPublicationsCountStatsRequestOrder || {});
1299
- var Order = /* @__PURE__ */ ((Order2) => {
1300
- Order2["UNKNOWN"] = "UNKNOWN";
1301
- Order2["OLDEST"] = "OLDEST";
1302
- Order2["NEWEST"] = "NEWEST";
1303
- return Order2;
1304
- })(Order || {});
1305
- var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
1306
- WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
1307
- WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
1308
- WebhookIdentityType2["MEMBER"] = "MEMBER";
1309
- WebhookIdentityType2["WIX_USER"] = "WIX_USER";
1310
- WebhookIdentityType2["APP"] = "APP";
1311
- return WebhookIdentityType2;
1312
- })(WebhookIdentityType || {});
1313
1318
  var GetPostTemplatesSort = /* @__PURE__ */ ((GetPostTemplatesSort2) => {
1314
1319
  GetPostTemplatesSort2["PUBLISHED_DATE_ASC"] = "PUBLISHED_DATE_ASC";
1315
1320
  GetPostTemplatesSort2["PUBLISHED_DATE_DESC"] = "PUBLISHED_DATE_DESC";
@@ -1363,6 +1368,26 @@ var Status = /* @__PURE__ */ ((Status2) => {
1363
1368
  Status2["IN_REVIEW"] = "IN_REVIEW";
1364
1369
  return Status2;
1365
1370
  })(Status || {});
1371
+ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
1372
+ WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
1373
+ WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
1374
+ WebhookIdentityType2["MEMBER"] = "MEMBER";
1375
+ WebhookIdentityType2["WIX_USER"] = "WIX_USER";
1376
+ WebhookIdentityType2["APP"] = "APP";
1377
+ return WebhookIdentityType2;
1378
+ })(WebhookIdentityType || {});
1379
+ var QueryPublicationsCountStatsRequestOrder = /* @__PURE__ */ ((QueryPublicationsCountStatsRequestOrder2) => {
1380
+ QueryPublicationsCountStatsRequestOrder2["UNKNOWN"] = "UNKNOWN";
1381
+ QueryPublicationsCountStatsRequestOrder2["OLDEST"] = "OLDEST";
1382
+ QueryPublicationsCountStatsRequestOrder2["NEWEST"] = "NEWEST";
1383
+ return QueryPublicationsCountStatsRequestOrder2;
1384
+ })(QueryPublicationsCountStatsRequestOrder || {});
1385
+ var Order = /* @__PURE__ */ ((Order2) => {
1386
+ Order2["UNKNOWN"] = "UNKNOWN";
1387
+ Order2["OLDEST"] = "OLDEST";
1388
+ Order2["NEWEST"] = "NEWEST";
1389
+ return Order2;
1390
+ })(Order || {});
1366
1391
  var Field = /* @__PURE__ */ ((Field2) => {
1367
1392
  Field2["UNKNOWN"] = "UNKNOWN";
1368
1393
  Field2["TOTAL_COMMENTS"] = "TOTAL_COMMENTS";
@@ -1490,8 +1515,8 @@ async function getPost2(postId, options) {
1490
1515
  paths: [{ path: "post.media.wixMedia.videoV2" }]
1491
1516
  }
1492
1517
  ]),
1493
- ["post.richContent", "post.rich_content"]
1494
- );
1518
+ ["post.richContent"]
1519
+ )?.post;
1495
1520
  } catch (err) {
1496
1521
  const transformedError = sdkTransformError(
1497
1522
  err,
@@ -1538,7 +1563,7 @@ async function getPostBySlug2(slug, options) {
1538
1563
  paths: [{ path: "post.media.wixMedia.videoV2" }]
1539
1564
  }
1540
1565
  ]),
1541
- ["post.richContent", "post.rich_content"]
1566
+ ["post.richContent"]
1542
1567
  );
1543
1568
  } catch (err) {
1544
1569
  const transformedError = sdkTransformError(
@@ -1597,7 +1622,7 @@ async function listPosts2(options) {
1597
1622
  paths: [{ path: "posts.media.wixMedia.videoV2" }]
1598
1623
  }
1599
1624
  ]),
1600
- ["posts.richContent", "posts.rich_content"]
1625
+ ["posts.richContent"]
1601
1626
  );
1602
1627
  } catch (err) {
1603
1628
  const transformedError = sdkTransformError(
@@ -1667,7 +1692,7 @@ function queryPosts2(options) {
1667
1692
  paths: [{ path: "posts.media.wixMedia.videoV2" }]
1668
1693
  }
1669
1694
  ]),
1670
- ["posts.richContent", "posts.rich_content"]
1695
+ ["posts.richContent"]
1671
1696
  );
1672
1697
  return {
1673
1698
  items: transformedData?.posts,
@@ -1715,7 +1740,7 @@ async function typedQueryPosts(query, options) {
1715
1740
  paths: [{ path: "posts.media.wixMedia.videoV2" }]
1716
1741
  }
1717
1742
  ]),
1718
- ["posts.richContent", "posts.rich_content"]
1743
+ ["posts.richContent"]
1719
1744
  );
1720
1745
  } catch (err) {
1721
1746
  const transformedError = sdkTransformError(
@@ -1782,11 +1807,13 @@ export {
1782
1807
  ImagePosition,
1783
1808
  ImagePositionPosition,
1784
1809
  ImageScalingScaling,
1810
+ Indentation,
1785
1811
  InitialExpandedItems,
1786
1812
  Layout,
1787
1813
  LayoutDataBackgroundType,
1788
1814
  LayoutType,
1789
1815
  LineStyle,
1816
+ ListStyle,
1790
1817
  MapType,
1791
1818
  ModerationStatusStatus,
1792
1819
  NodeType,