@wix/auto_sdk_blog_posts 1.0.129 → 1.0.131

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 +15 -11
  2. package/build/cjs/index.js +50 -32
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +559 -530
  5. package/build/cjs/index.typings.js +40 -27
  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 +31 -20
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +15 -11
  11. package/build/es/index.mjs +49 -32
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +559 -530
  14. package/build/es/index.typings.mjs +39 -27
  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 +30 -20
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +15 -11
  20. package/build/internal/cjs/index.js +50 -32
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +559 -530
  23. package/build/internal/cjs/index.typings.js +40 -27
  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 +31 -20
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +15 -11
  29. package/build/internal/es/index.mjs +49 -32
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +559 -530
  32. package/build/internal/es/index.typings.mjs +39 -27
  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 +30 -20
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +4 -4
@@ -52,6 +52,10 @@ function resolveComWixpressNpmCommunitiesPlatformizedBlogV3PostServiceUrl(opts)
52
52
  {
53
53
  srcPath: "/_api/communities-blog-node-api/v3/posts",
54
54
  destPath: "/v3/posts"
55
+ },
56
+ {
57
+ srcPath: "/_api/post-service-api-proxy/v3/bulk/posts",
58
+ destPath: "/v3/bulk/posts"
55
59
  }
56
60
  ],
57
61
  "*.dev.wix-code.com": [
@@ -1023,6 +1027,11 @@ var ImagePosition = /* @__PURE__ */ ((ImagePosition2) => {
1023
1027
  ImagePosition2["BOTTOM_RIGHT"] = "BOTTOM_RIGHT";
1024
1028
  return ImagePosition2;
1025
1029
  })(ImagePosition || {});
1030
+ var BannerOrigin = /* @__PURE__ */ ((BannerOrigin2) => {
1031
+ BannerOrigin2["IMAGE"] = "IMAGE";
1032
+ BannerOrigin2["LAYOUT"] = "LAYOUT";
1033
+ return BannerOrigin2;
1034
+ })(BannerOrigin || {});
1026
1035
  var VerticalAlignmentAlignment = /* @__PURE__ */ ((VerticalAlignmentAlignment2) => {
1027
1036
  VerticalAlignmentAlignment2["TOP"] = "TOP";
1028
1037
  VerticalAlignmentAlignment2["MIDDLE"] = "MIDDLE";
@@ -1045,6 +1054,26 @@ var ModerationStatusStatus = /* @__PURE__ */ ((ModerationStatusStatus2) => {
1045
1054
  ModerationStatusStatus2["REJECTED"] = "REJECTED";
1046
1055
  return ModerationStatusStatus2;
1047
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 || {});
1048
1077
  var GetPostTemplatesSort = /* @__PURE__ */ ((GetPostTemplatesSort2) => {
1049
1078
  GetPostTemplatesSort2["PUBLISHED_DATE_ASC"] = "PUBLISHED_DATE_ASC";
1050
1079
  GetPostTemplatesSort2["PUBLISHED_DATE_DESC"] = "PUBLISHED_DATE_DESC";
@@ -1098,26 +1127,6 @@ var Status = /* @__PURE__ */ ((Status2) => {
1098
1127
  Status2["IN_REVIEW"] = "IN_REVIEW";
1099
1128
  return Status2;
1100
1129
  })(Status || {});
1101
- var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
1102
- WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
1103
- WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
1104
- WebhookIdentityType2["MEMBER"] = "MEMBER";
1105
- WebhookIdentityType2["WIX_USER"] = "WIX_USER";
1106
- WebhookIdentityType2["APP"] = "APP";
1107
- return WebhookIdentityType2;
1108
- })(WebhookIdentityType || {});
1109
- var QueryPublicationsCountStatsRequestOrder = /* @__PURE__ */ ((QueryPublicationsCountStatsRequestOrder2) => {
1110
- QueryPublicationsCountStatsRequestOrder2["UNKNOWN"] = "UNKNOWN";
1111
- QueryPublicationsCountStatsRequestOrder2["OLDEST"] = "OLDEST";
1112
- QueryPublicationsCountStatsRequestOrder2["NEWEST"] = "NEWEST";
1113
- return QueryPublicationsCountStatsRequestOrder2;
1114
- })(QueryPublicationsCountStatsRequestOrder || {});
1115
- var Order = /* @__PURE__ */ ((Order2) => {
1116
- Order2["UNKNOWN"] = "UNKNOWN";
1117
- Order2["OLDEST"] = "OLDEST";
1118
- Order2["NEWEST"] = "NEWEST";
1119
- return Order2;
1120
- })(Order || {});
1121
1130
  var Field = /* @__PURE__ */ ((Field2) => {
1122
1131
  Field2["UNKNOWN"] = "UNKNOWN";
1123
1132
  Field2["TOTAL_COMMENTS"] = "TOTAL_COMMENTS";
@@ -1245,8 +1254,8 @@ async function getPost2(postId, options) {
1245
1254
  paths: [{ path: "post.media.wixMedia.videoV2" }]
1246
1255
  }
1247
1256
  ]),
1248
- ["post.richContent"]
1249
- )?.post;
1257
+ ["post.richContent", "post.rich_content"]
1258
+ );
1250
1259
  } catch (err) {
1251
1260
  const transformedError = sdkTransformError(
1252
1261
  err,
@@ -1293,7 +1302,7 @@ async function getPostBySlug2(slug, options) {
1293
1302
  paths: [{ path: "post.media.wixMedia.videoV2" }]
1294
1303
  }
1295
1304
  ]),
1296
- ["post.richContent"]
1305
+ ["post.richContent", "post.rich_content"]
1297
1306
  );
1298
1307
  } catch (err) {
1299
1308
  const transformedError = sdkTransformError(
@@ -1352,7 +1361,7 @@ async function listPosts2(options) {
1352
1361
  paths: [{ path: "posts.media.wixMedia.videoV2" }]
1353
1362
  }
1354
1363
  ]),
1355
- ["posts.richContent"]
1364
+ ["posts.richContent", "posts.rich_content"]
1356
1365
  );
1357
1366
  } catch (err) {
1358
1367
  const transformedError = sdkTransformError(
@@ -1422,7 +1431,7 @@ function queryPosts2(options) {
1422
1431
  paths: [{ path: "posts.media.wixMedia.videoV2" }]
1423
1432
  }
1424
1433
  ]),
1425
- ["posts.richContent"]
1434
+ ["posts.richContent", "posts.rich_content"]
1426
1435
  );
1427
1436
  return {
1428
1437
  items: transformedData?.posts,
@@ -1470,7 +1479,7 @@ async function typedQueryPosts(query, options) {
1470
1479
  paths: [{ path: "posts.media.wixMedia.videoV2" }]
1471
1480
  }
1472
1481
  ]),
1473
- ["posts.richContent"]
1482
+ ["posts.richContent", "posts.rich_content"]
1474
1483
  );
1475
1484
  } catch (err) {
1476
1485
  const transformedError = sdkTransformError(
@@ -1487,7 +1496,9 @@ async function typedQueryPosts(query, options) {
1487
1496
  }
1488
1497
  }
1489
1498
  var utils = {
1490
- ...createQueryUtils()
1499
+ query: {
1500
+ ...createQueryUtils()
1501
+ }
1491
1502
  };
1492
1503
  async function getPostMetrics2(postId) {
1493
1504
  const { httpClient, sideEffects } = arguments[1];
@@ -1517,6 +1528,7 @@ export {
1517
1528
  AppType,
1518
1529
  AspectRatio,
1519
1530
  BackgroundType,
1531
+ BannerOrigin,
1520
1532
  ButtonDataType,
1521
1533
  Crop,
1522
1534
  DecorationType,