@wix/auto_sdk_blog_posts 1.0.132 → 1.0.133

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 +36 -31
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +515 -503
  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 +358 -358
  8. package/build/cjs/meta.js +20 -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 +36 -31
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +515 -503
  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 +358 -358
  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 +15 -11
  20. package/build/internal/cjs/index.js +36 -31
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +515 -503
  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 +358 -358
  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 +15 -11
  29. package/build/internal/es/index.mjs +36 -31
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +515 -503
  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 +358 -358
  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
@@ -1139,26 +1139,6 @@ var ModerationStatusStatus = /* @__PURE__ */ ((ModerationStatusStatus2) => {
1139
1139
  ModerationStatusStatus2["REJECTED"] = "REJECTED";
1140
1140
  return ModerationStatusStatus2;
1141
1141
  })(ModerationStatusStatus || {});
1142
- var QueryPublicationsCountStatsRequestOrder = /* @__PURE__ */ ((QueryPublicationsCountStatsRequestOrder2) => {
1143
- QueryPublicationsCountStatsRequestOrder2["UNKNOWN"] = "UNKNOWN";
1144
- QueryPublicationsCountStatsRequestOrder2["OLDEST"] = "OLDEST";
1145
- QueryPublicationsCountStatsRequestOrder2["NEWEST"] = "NEWEST";
1146
- return QueryPublicationsCountStatsRequestOrder2;
1147
- })(QueryPublicationsCountStatsRequestOrder || {});
1148
- var Order = /* @__PURE__ */ ((Order2) => {
1149
- Order2["UNKNOWN"] = "UNKNOWN";
1150
- Order2["OLDEST"] = "OLDEST";
1151
- Order2["NEWEST"] = "NEWEST";
1152
- return Order2;
1153
- })(Order || {});
1154
- var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
1155
- WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
1156
- WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
1157
- WebhookIdentityType2["MEMBER"] = "MEMBER";
1158
- WebhookIdentityType2["WIX_USER"] = "WIX_USER";
1159
- WebhookIdentityType2["APP"] = "APP";
1160
- return WebhookIdentityType2;
1161
- })(WebhookIdentityType || {});
1162
1142
  var GetPostTemplatesSort = /* @__PURE__ */ ((GetPostTemplatesSort2) => {
1163
1143
  GetPostTemplatesSort2["PUBLISHED_DATE_ASC"] = "PUBLISHED_DATE_ASC";
1164
1144
  GetPostTemplatesSort2["PUBLISHED_DATE_DESC"] = "PUBLISHED_DATE_DESC";
@@ -1212,6 +1192,26 @@ var Status = /* @__PURE__ */ ((Status2) => {
1212
1192
  Status2["IN_REVIEW"] = "IN_REVIEW";
1213
1193
  return Status2;
1214
1194
  })(Status || {});
1195
+ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
1196
+ WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
1197
+ WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
1198
+ WebhookIdentityType2["MEMBER"] = "MEMBER";
1199
+ WebhookIdentityType2["WIX_USER"] = "WIX_USER";
1200
+ WebhookIdentityType2["APP"] = "APP";
1201
+ return WebhookIdentityType2;
1202
+ })(WebhookIdentityType || {});
1203
+ var QueryPublicationsCountStatsRequestOrder = /* @__PURE__ */ ((QueryPublicationsCountStatsRequestOrder2) => {
1204
+ QueryPublicationsCountStatsRequestOrder2["UNKNOWN"] = "UNKNOWN";
1205
+ QueryPublicationsCountStatsRequestOrder2["OLDEST"] = "OLDEST";
1206
+ QueryPublicationsCountStatsRequestOrder2["NEWEST"] = "NEWEST";
1207
+ return QueryPublicationsCountStatsRequestOrder2;
1208
+ })(QueryPublicationsCountStatsRequestOrder || {});
1209
+ var Order = /* @__PURE__ */ ((Order2) => {
1210
+ Order2["UNKNOWN"] = "UNKNOWN";
1211
+ Order2["OLDEST"] = "OLDEST";
1212
+ Order2["NEWEST"] = "NEWEST";
1213
+ return Order2;
1214
+ })(Order || {});
1215
1215
  var Field = /* @__PURE__ */ ((Field2) => {
1216
1216
  Field2["UNKNOWN"] = "UNKNOWN";
1217
1217
  Field2["TOTAL_COMMENTS"] = "TOTAL_COMMENTS";
@@ -1339,8 +1339,8 @@ async function getPost2(postId, options) {
1339
1339
  paths: [{ path: "post.media.wixMedia.videoV2" }]
1340
1340
  }
1341
1341
  ]),
1342
- ["post.richContent"]
1343
- )?.post;
1342
+ ["post.richContent", "post.rich_content"]
1343
+ );
1344
1344
  } catch (err) {
1345
1345
  const transformedError = (0, import_transform_error.transformError)(
1346
1346
  err,
@@ -1387,7 +1387,7 @@ async function getPostBySlug2(slug, options) {
1387
1387
  paths: [{ path: "post.media.wixMedia.videoV2" }]
1388
1388
  }
1389
1389
  ]),
1390
- ["post.richContent"]
1390
+ ["post.richContent", "post.rich_content"]
1391
1391
  );
1392
1392
  } catch (err) {
1393
1393
  const transformedError = (0, import_transform_error.transformError)(
@@ -1446,7 +1446,7 @@ async function listPosts2(options) {
1446
1446
  paths: [{ path: "posts.media.wixMedia.videoV2" }]
1447
1447
  }
1448
1448
  ]),
1449
- ["posts.richContent"]
1449
+ ["posts.richContent", "posts.rich_content"]
1450
1450
  );
1451
1451
  } catch (err) {
1452
1452
  const transformedError = (0, import_transform_error.transformError)(
@@ -1516,7 +1516,7 @@ function queryPosts2(options) {
1516
1516
  paths: [{ path: "posts.media.wixMedia.videoV2" }]
1517
1517
  }
1518
1518
  ]),
1519
- ["posts.richContent"]
1519
+ ["posts.richContent", "posts.rich_content"]
1520
1520
  );
1521
1521
  return {
1522
1522
  items: transformedData?.posts,
@@ -1564,7 +1564,7 @@ async function typedQueryPosts(query, options) {
1564
1564
  paths: [{ path: "posts.media.wixMedia.videoV2" }]
1565
1565
  }
1566
1566
  ]),
1567
- ["posts.richContent"]
1567
+ ["posts.richContent", "posts.rich_content"]
1568
1568
  );
1569
1569
  } catch (err) {
1570
1570
  const transformedError = (0, import_transform_error.transformError)(