@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
@@ -24,6 +24,7 @@ __export(index_typings_exports, {
24
24
  AppType: () => AppType,
25
25
  AspectRatio: () => AspectRatio,
26
26
  BackgroundType: () => BackgroundType,
27
+ BannerOrigin: () => BannerOrigin,
27
28
  ButtonDataType: () => ButtonDataType,
28
29
  Crop: () => Crop,
29
30
  DecorationType: () => DecorationType,
@@ -136,6 +137,10 @@ function resolveComWixpressNpmCommunitiesPlatformizedBlogV3PostServiceUrl(opts)
136
137
  {
137
138
  srcPath: "/_api/communities-blog-node-api/v3/posts",
138
139
  destPath: "/v3/posts"
140
+ },
141
+ {
142
+ srcPath: "/_api/post-service-api-proxy/v3/bulk/posts",
143
+ destPath: "/v3/bulk/posts"
139
144
  }
140
145
  ],
141
146
  "*.dev.wix-code.com": [
@@ -1107,6 +1112,11 @@ var ImagePosition = /* @__PURE__ */ ((ImagePosition2) => {
1107
1112
  ImagePosition2["BOTTOM_RIGHT"] = "BOTTOM_RIGHT";
1108
1113
  return ImagePosition2;
1109
1114
  })(ImagePosition || {});
1115
+ var BannerOrigin = /* @__PURE__ */ ((BannerOrigin2) => {
1116
+ BannerOrigin2["IMAGE"] = "IMAGE";
1117
+ BannerOrigin2["LAYOUT"] = "LAYOUT";
1118
+ return BannerOrigin2;
1119
+ })(BannerOrigin || {});
1110
1120
  var VerticalAlignmentAlignment = /* @__PURE__ */ ((VerticalAlignmentAlignment2) => {
1111
1121
  VerticalAlignmentAlignment2["TOP"] = "TOP";
1112
1122
  VerticalAlignmentAlignment2["MIDDLE"] = "MIDDLE";
@@ -1129,6 +1139,26 @@ var ModerationStatusStatus = /* @__PURE__ */ ((ModerationStatusStatus2) => {
1129
1139
  ModerationStatusStatus2["REJECTED"] = "REJECTED";
1130
1140
  return ModerationStatusStatus2;
1131
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 || {});
1132
1162
  var GetPostTemplatesSort = /* @__PURE__ */ ((GetPostTemplatesSort2) => {
1133
1163
  GetPostTemplatesSort2["PUBLISHED_DATE_ASC"] = "PUBLISHED_DATE_ASC";
1134
1164
  GetPostTemplatesSort2["PUBLISHED_DATE_DESC"] = "PUBLISHED_DATE_DESC";
@@ -1182,26 +1212,6 @@ var Status = /* @__PURE__ */ ((Status2) => {
1182
1212
  Status2["IN_REVIEW"] = "IN_REVIEW";
1183
1213
  return Status2;
1184
1214
  })(Status || {});
1185
- var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
1186
- WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
1187
- WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
1188
- WebhookIdentityType2["MEMBER"] = "MEMBER";
1189
- WebhookIdentityType2["WIX_USER"] = "WIX_USER";
1190
- WebhookIdentityType2["APP"] = "APP";
1191
- return WebhookIdentityType2;
1192
- })(WebhookIdentityType || {});
1193
- var QueryPublicationsCountStatsRequestOrder = /* @__PURE__ */ ((QueryPublicationsCountStatsRequestOrder2) => {
1194
- QueryPublicationsCountStatsRequestOrder2["UNKNOWN"] = "UNKNOWN";
1195
- QueryPublicationsCountStatsRequestOrder2["OLDEST"] = "OLDEST";
1196
- QueryPublicationsCountStatsRequestOrder2["NEWEST"] = "NEWEST";
1197
- return QueryPublicationsCountStatsRequestOrder2;
1198
- })(QueryPublicationsCountStatsRequestOrder || {});
1199
- var Order = /* @__PURE__ */ ((Order2) => {
1200
- Order2["UNKNOWN"] = "UNKNOWN";
1201
- Order2["OLDEST"] = "OLDEST";
1202
- Order2["NEWEST"] = "NEWEST";
1203
- return Order2;
1204
- })(Order || {});
1205
1215
  var Field = /* @__PURE__ */ ((Field2) => {
1206
1216
  Field2["UNKNOWN"] = "UNKNOWN";
1207
1217
  Field2["TOTAL_COMMENTS"] = "TOTAL_COMMENTS";
@@ -1329,8 +1339,8 @@ async function getPost2(postId, options) {
1329
1339
  paths: [{ path: "post.media.wixMedia.videoV2" }]
1330
1340
  }
1331
1341
  ]),
1332
- ["post.richContent"]
1333
- )?.post;
1342
+ ["post.richContent", "post.rich_content"]
1343
+ );
1334
1344
  } catch (err) {
1335
1345
  const transformedError = (0, import_transform_error.transformError)(
1336
1346
  err,
@@ -1377,7 +1387,7 @@ async function getPostBySlug2(slug, options) {
1377
1387
  paths: [{ path: "post.media.wixMedia.videoV2" }]
1378
1388
  }
1379
1389
  ]),
1380
- ["post.richContent"]
1390
+ ["post.richContent", "post.rich_content"]
1381
1391
  );
1382
1392
  } catch (err) {
1383
1393
  const transformedError = (0, import_transform_error.transformError)(
@@ -1436,7 +1446,7 @@ async function listPosts2(options) {
1436
1446
  paths: [{ path: "posts.media.wixMedia.videoV2" }]
1437
1447
  }
1438
1448
  ]),
1439
- ["posts.richContent"]
1449
+ ["posts.richContent", "posts.rich_content"]
1440
1450
  );
1441
1451
  } catch (err) {
1442
1452
  const transformedError = (0, import_transform_error.transformError)(
@@ -1506,7 +1516,7 @@ function queryPosts2(options) {
1506
1516
  paths: [{ path: "posts.media.wixMedia.videoV2" }]
1507
1517
  }
1508
1518
  ]),
1509
- ["posts.richContent"]
1519
+ ["posts.richContent", "posts.rich_content"]
1510
1520
  );
1511
1521
  return {
1512
1522
  items: transformedData?.posts,
@@ -1554,7 +1564,7 @@ async function typedQueryPosts(query, options) {
1554
1564
  paths: [{ path: "posts.media.wixMedia.videoV2" }]
1555
1565
  }
1556
1566
  ]),
1557
- ["posts.richContent"]
1567
+ ["posts.richContent", "posts.rich_content"]
1558
1568
  );
1559
1569
  } catch (err) {
1560
1570
  const transformedError = (0, import_transform_error.transformError)(
@@ -1571,7 +1581,9 @@ async function typedQueryPosts(query, options) {
1571
1581
  }
1572
1582
  }
1573
1583
  var utils = {
1574
- ...(0, import_query_builder_utils.createQueryUtils)()
1584
+ query: {
1585
+ ...(0, import_query_builder_utils.createQueryUtils)()
1586
+ }
1575
1587
  };
1576
1588
  async function getPostMetrics2(postId) {
1577
1589
  const { httpClient, sideEffects } = arguments[1];
@@ -1602,6 +1614,7 @@ async function getPostMetrics2(postId) {
1602
1614
  AppType,
1603
1615
  AspectRatio,
1604
1616
  BackgroundType,
1617
+ BannerOrigin,
1605
1618
  ButtonDataType,
1606
1619
  Crop,
1607
1620
  DecorationType,