@wix/auto_sdk_blog_posts 1.0.130 → 1.0.132

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 +38 -36
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +543 -540
  5. package/build/cjs/index.typings.js +33 -26
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +374 -360
  8. package/build/cjs/meta.js +27 -20
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +11 -15
  11. package/build/es/index.mjs +37 -36
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +543 -540
  14. package/build/es/index.typings.mjs +32 -26
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +374 -360
  17. package/build/es/meta.mjs +26 -20
  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 +38 -36
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +543 -540
  23. package/build/internal/cjs/index.typings.js +33 -26
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +374 -360
  26. package/build/internal/cjs/meta.js +27 -20
  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 +37 -36
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +543 -540
  32. package/build/internal/es/index.typings.mjs +32 -26
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +374 -360
  35. package/build/internal/es/meta.mjs +26 -20
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +4 -4
@@ -1027,6 +1027,11 @@ var ImagePosition = /* @__PURE__ */ ((ImagePosition2) => {
1027
1027
  ImagePosition2["BOTTOM_RIGHT"] = "BOTTOM_RIGHT";
1028
1028
  return ImagePosition2;
1029
1029
  })(ImagePosition || {});
1030
+ var BannerOrigin = /* @__PURE__ */ ((BannerOrigin2) => {
1031
+ BannerOrigin2["IMAGE"] = "IMAGE";
1032
+ BannerOrigin2["LAYOUT"] = "LAYOUT";
1033
+ return BannerOrigin2;
1034
+ })(BannerOrigin || {});
1030
1035
  var VerticalAlignmentAlignment = /* @__PURE__ */ ((VerticalAlignmentAlignment2) => {
1031
1036
  VerticalAlignmentAlignment2["TOP"] = "TOP";
1032
1037
  VerticalAlignmentAlignment2["MIDDLE"] = "MIDDLE";
@@ -1049,6 +1054,26 @@ var ModerationStatusStatus = /* @__PURE__ */ ((ModerationStatusStatus2) => {
1049
1054
  ModerationStatusStatus2["REJECTED"] = "REJECTED";
1050
1055
  return ModerationStatusStatus2;
1051
1056
  })(ModerationStatusStatus || {});
1057
+ var QueryPublicationsCountStatsRequestOrder = /* @__PURE__ */ ((QueryPublicationsCountStatsRequestOrder2) => {
1058
+ QueryPublicationsCountStatsRequestOrder2["UNKNOWN"] = "UNKNOWN";
1059
+ QueryPublicationsCountStatsRequestOrder2["OLDEST"] = "OLDEST";
1060
+ QueryPublicationsCountStatsRequestOrder2["NEWEST"] = "NEWEST";
1061
+ return QueryPublicationsCountStatsRequestOrder2;
1062
+ })(QueryPublicationsCountStatsRequestOrder || {});
1063
+ var Order = /* @__PURE__ */ ((Order2) => {
1064
+ Order2["UNKNOWN"] = "UNKNOWN";
1065
+ Order2["OLDEST"] = "OLDEST";
1066
+ Order2["NEWEST"] = "NEWEST";
1067
+ return Order2;
1068
+ })(Order || {});
1069
+ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
1070
+ WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
1071
+ WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
1072
+ WebhookIdentityType2["MEMBER"] = "MEMBER";
1073
+ WebhookIdentityType2["WIX_USER"] = "WIX_USER";
1074
+ WebhookIdentityType2["APP"] = "APP";
1075
+ return WebhookIdentityType2;
1076
+ })(WebhookIdentityType || {});
1052
1077
  var GetPostTemplatesSort = /* @__PURE__ */ ((GetPostTemplatesSort2) => {
1053
1078
  GetPostTemplatesSort2["PUBLISHED_DATE_ASC"] = "PUBLISHED_DATE_ASC";
1054
1079
  GetPostTemplatesSort2["PUBLISHED_DATE_DESC"] = "PUBLISHED_DATE_DESC";
@@ -1102,26 +1127,6 @@ var Status = /* @__PURE__ */ ((Status2) => {
1102
1127
  Status2["IN_REVIEW"] = "IN_REVIEW";
1103
1128
  return Status2;
1104
1129
  })(Status || {});
1105
- var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
1106
- WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
1107
- WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
1108
- WebhookIdentityType2["MEMBER"] = "MEMBER";
1109
- WebhookIdentityType2["WIX_USER"] = "WIX_USER";
1110
- WebhookIdentityType2["APP"] = "APP";
1111
- return WebhookIdentityType2;
1112
- })(WebhookIdentityType || {});
1113
- var QueryPublicationsCountStatsRequestOrder = /* @__PURE__ */ ((QueryPublicationsCountStatsRequestOrder2) => {
1114
- QueryPublicationsCountStatsRequestOrder2["UNKNOWN"] = "UNKNOWN";
1115
- QueryPublicationsCountStatsRequestOrder2["OLDEST"] = "OLDEST";
1116
- QueryPublicationsCountStatsRequestOrder2["NEWEST"] = "NEWEST";
1117
- return QueryPublicationsCountStatsRequestOrder2;
1118
- })(QueryPublicationsCountStatsRequestOrder || {});
1119
- var Order = /* @__PURE__ */ ((Order2) => {
1120
- Order2["UNKNOWN"] = "UNKNOWN";
1121
- Order2["OLDEST"] = "OLDEST";
1122
- Order2["NEWEST"] = "NEWEST";
1123
- return Order2;
1124
- })(Order || {});
1125
1130
  var Field = /* @__PURE__ */ ((Field2) => {
1126
1131
  Field2["UNKNOWN"] = "UNKNOWN";
1127
1132
  Field2["TOTAL_COMMENTS"] = "TOTAL_COMMENTS";
@@ -1249,8 +1254,8 @@ async function getPost2(postId, options) {
1249
1254
  paths: [{ path: "post.media.wixMedia.videoV2" }]
1250
1255
  }
1251
1256
  ]),
1252
- ["post.richContent", "post.rich_content"]
1253
- );
1257
+ ["post.richContent"]
1258
+ )?.post;
1254
1259
  } catch (err) {
1255
1260
  const transformedError = sdkTransformError(
1256
1261
  err,
@@ -1297,7 +1302,7 @@ async function getPostBySlug2(slug, options) {
1297
1302
  paths: [{ path: "post.media.wixMedia.videoV2" }]
1298
1303
  }
1299
1304
  ]),
1300
- ["post.richContent", "post.rich_content"]
1305
+ ["post.richContent"]
1301
1306
  );
1302
1307
  } catch (err) {
1303
1308
  const transformedError = sdkTransformError(
@@ -1356,7 +1361,7 @@ async function listPosts2(options) {
1356
1361
  paths: [{ path: "posts.media.wixMedia.videoV2" }]
1357
1362
  }
1358
1363
  ]),
1359
- ["posts.richContent", "posts.rich_content"]
1364
+ ["posts.richContent"]
1360
1365
  );
1361
1366
  } catch (err) {
1362
1367
  const transformedError = sdkTransformError(
@@ -1426,7 +1431,7 @@ function queryPosts2(options) {
1426
1431
  paths: [{ path: "posts.media.wixMedia.videoV2" }]
1427
1432
  }
1428
1433
  ]),
1429
- ["posts.richContent", "posts.rich_content"]
1434
+ ["posts.richContent"]
1430
1435
  );
1431
1436
  return {
1432
1437
  items: transformedData?.posts,
@@ -1474,7 +1479,7 @@ async function typedQueryPosts(query, options) {
1474
1479
  paths: [{ path: "posts.media.wixMedia.videoV2" }]
1475
1480
  }
1476
1481
  ]),
1477
- ["posts.richContent", "posts.rich_content"]
1482
+ ["posts.richContent"]
1478
1483
  );
1479
1484
  } catch (err) {
1480
1485
  const transformedError = sdkTransformError(
@@ -1521,6 +1526,7 @@ export {
1521
1526
  AppType,
1522
1527
  AspectRatio,
1523
1528
  BackgroundType,
1529
+ BannerOrigin,
1524
1530
  ButtonDataType,
1525
1531
  Crop,
1526
1532
  DecorationType,