@wix/auto_sdk_blog_posts 1.0.102 → 1.0.104

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 +31 -36
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +503 -510
  5. package/build/cjs/index.typings.js +26 -26
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +347 -347
  8. package/build/cjs/meta.js +20 -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 +31 -36
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +503 -510
  14. package/build/es/index.typings.mjs +26 -26
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +347 -347
  17. package/build/es/meta.mjs +20 -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 +31 -36
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +503 -510
  23. package/build/internal/cjs/index.typings.js +26 -26
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +347 -347
  26. package/build/internal/cjs/meta.js +20 -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 +31 -36
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +503 -510
  32. package/build/internal/es/index.typings.mjs +26 -26
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +347 -347
  35. package/build/internal/es/meta.mjs +20 -20
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -1118,26 +1118,6 @@ var ModerationStatusStatus = /* @__PURE__ */ ((ModerationStatusStatus2) => {
1118
1118
  ModerationStatusStatus2["REJECTED"] = "REJECTED";
1119
1119
  return ModerationStatusStatus2;
1120
1120
  })(ModerationStatusStatus || {});
1121
- var QueryPublicationsCountStatsRequestOrder = /* @__PURE__ */ ((QueryPublicationsCountStatsRequestOrder2) => {
1122
- QueryPublicationsCountStatsRequestOrder2["UNKNOWN"] = "UNKNOWN";
1123
- QueryPublicationsCountStatsRequestOrder2["OLDEST"] = "OLDEST";
1124
- QueryPublicationsCountStatsRequestOrder2["NEWEST"] = "NEWEST";
1125
- return QueryPublicationsCountStatsRequestOrder2;
1126
- })(QueryPublicationsCountStatsRequestOrder || {});
1127
- var Order = /* @__PURE__ */ ((Order2) => {
1128
- Order2["UNKNOWN"] = "UNKNOWN";
1129
- Order2["OLDEST"] = "OLDEST";
1130
- Order2["NEWEST"] = "NEWEST";
1131
- return Order2;
1132
- })(Order || {});
1133
- var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
1134
- WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
1135
- WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
1136
- WebhookIdentityType2["MEMBER"] = "MEMBER";
1137
- WebhookIdentityType2["WIX_USER"] = "WIX_USER";
1138
- WebhookIdentityType2["APP"] = "APP";
1139
- return WebhookIdentityType2;
1140
- })(WebhookIdentityType || {});
1141
1121
  var GetPostTemplatesSort = /* @__PURE__ */ ((GetPostTemplatesSort2) => {
1142
1122
  GetPostTemplatesSort2["PUBLISHED_DATE_ASC"] = "PUBLISHED_DATE_ASC";
1143
1123
  GetPostTemplatesSort2["PUBLISHED_DATE_DESC"] = "PUBLISHED_DATE_DESC";
@@ -1191,6 +1171,26 @@ var Status = /* @__PURE__ */ ((Status2) => {
1191
1171
  Status2["IN_REVIEW"] = "IN_REVIEW";
1192
1172
  return Status2;
1193
1173
  })(Status || {});
1174
+ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
1175
+ WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
1176
+ WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
1177
+ WebhookIdentityType2["MEMBER"] = "MEMBER";
1178
+ WebhookIdentityType2["WIX_USER"] = "WIX_USER";
1179
+ WebhookIdentityType2["APP"] = "APP";
1180
+ return WebhookIdentityType2;
1181
+ })(WebhookIdentityType || {});
1182
+ var QueryPublicationsCountStatsRequestOrder = /* @__PURE__ */ ((QueryPublicationsCountStatsRequestOrder2) => {
1183
+ QueryPublicationsCountStatsRequestOrder2["UNKNOWN"] = "UNKNOWN";
1184
+ QueryPublicationsCountStatsRequestOrder2["OLDEST"] = "OLDEST";
1185
+ QueryPublicationsCountStatsRequestOrder2["NEWEST"] = "NEWEST";
1186
+ return QueryPublicationsCountStatsRequestOrder2;
1187
+ })(QueryPublicationsCountStatsRequestOrder || {});
1188
+ var Order = /* @__PURE__ */ ((Order2) => {
1189
+ Order2["UNKNOWN"] = "UNKNOWN";
1190
+ Order2["OLDEST"] = "OLDEST";
1191
+ Order2["NEWEST"] = "NEWEST";
1192
+ return Order2;
1193
+ })(Order || {});
1194
1194
  var Field = /* @__PURE__ */ ((Field2) => {
1195
1195
  Field2["UNKNOWN"] = "UNKNOWN";
1196
1196
  Field2["TOTAL_COMMENTS"] = "TOTAL_COMMENTS";
@@ -1323,8 +1323,8 @@ async function getPost2(postId, options) {
1323
1323
  paths: [{ path: "post.media.wixMedia.videoV2" }]
1324
1324
  }
1325
1325
  ]),
1326
- ["post.richContent", "post.rich_content"]
1327
- );
1326
+ ["post.richContent"]
1327
+ )?.post;
1328
1328
  } catch (err) {
1329
1329
  const transformedError = (0, import_transform_error.transformError)(
1330
1330
  err,
@@ -1376,7 +1376,7 @@ async function getPostBySlug2(slug, options) {
1376
1376
  paths: [{ path: "post.media.wixMedia.videoV2" }]
1377
1377
  }
1378
1378
  ]),
1379
- ["post.richContent", "post.rich_content"]
1379
+ ["post.richContent"]
1380
1380
  );
1381
1381
  } catch (err) {
1382
1382
  const transformedError = (0, import_transform_error.transformError)(
@@ -1440,7 +1440,7 @@ async function listPosts2(options) {
1440
1440
  paths: [{ path: "posts.media.wixMedia.videoV2" }]
1441
1441
  }
1442
1442
  ]),
1443
- ["posts.richContent", "posts.rich_content"]
1443
+ ["posts.richContent"]
1444
1444
  );
1445
1445
  } catch (err) {
1446
1446
  const transformedError = (0, import_transform_error.transformError)(
@@ -1515,7 +1515,7 @@ function queryPosts2(options) {
1515
1515
  paths: [{ path: "posts.media.wixMedia.videoV2" }]
1516
1516
  }
1517
1517
  ]),
1518
- ["posts.richContent", "posts.rich_content"]
1518
+ ["posts.richContent"]
1519
1519
  );
1520
1520
  return {
1521
1521
  items: transformedData?.posts,
@@ -1568,7 +1568,7 @@ async function typedQueryPosts(query, options) {
1568
1568
  paths: [{ path: "posts.media.wixMedia.videoV2" }]
1569
1569
  }
1570
1570
  ]),
1571
- ["posts.richContent", "posts.rich_content"]
1571
+ ["posts.richContent"]
1572
1572
  );
1573
1573
  } catch (err) {
1574
1574
  const transformedError = (0, import_transform_error.transformError)(