@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.
- package/build/cjs/index.d.ts +11 -15
- package/build/cjs/index.js +38 -36
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +543 -540
- package/build/cjs/index.typings.js +33 -26
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +374 -360
- package/build/cjs/meta.js +27 -20
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +11 -15
- package/build/es/index.mjs +37 -36
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +543 -540
- package/build/es/index.typings.mjs +32 -26
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +374 -360
- package/build/es/meta.mjs +26 -20
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +11 -15
- package/build/internal/cjs/index.js +38 -36
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +543 -540
- package/build/internal/cjs/index.typings.js +33 -26
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +374 -360
- package/build/internal/cjs/meta.js +27 -20
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +11 -15
- package/build/internal/es/index.mjs +37 -36
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +543 -540
- package/build/internal/es/index.typings.mjs +32 -26
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +374 -360
- package/build/internal/es/meta.mjs +26 -20
- package/build/internal/es/meta.mjs.map +1 -1
- 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,
|
|
@@ -1111,6 +1112,11 @@ var ImagePosition = /* @__PURE__ */ ((ImagePosition2) => {
|
|
|
1111
1112
|
ImagePosition2["BOTTOM_RIGHT"] = "BOTTOM_RIGHT";
|
|
1112
1113
|
return ImagePosition2;
|
|
1113
1114
|
})(ImagePosition || {});
|
|
1115
|
+
var BannerOrigin = /* @__PURE__ */ ((BannerOrigin2) => {
|
|
1116
|
+
BannerOrigin2["IMAGE"] = "IMAGE";
|
|
1117
|
+
BannerOrigin2["LAYOUT"] = "LAYOUT";
|
|
1118
|
+
return BannerOrigin2;
|
|
1119
|
+
})(BannerOrigin || {});
|
|
1114
1120
|
var VerticalAlignmentAlignment = /* @__PURE__ */ ((VerticalAlignmentAlignment2) => {
|
|
1115
1121
|
VerticalAlignmentAlignment2["TOP"] = "TOP";
|
|
1116
1122
|
VerticalAlignmentAlignment2["MIDDLE"] = "MIDDLE";
|
|
@@ -1133,6 +1139,26 @@ var ModerationStatusStatus = /* @__PURE__ */ ((ModerationStatusStatus2) => {
|
|
|
1133
1139
|
ModerationStatusStatus2["REJECTED"] = "REJECTED";
|
|
1134
1140
|
return ModerationStatusStatus2;
|
|
1135
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 || {});
|
|
1136
1162
|
var GetPostTemplatesSort = /* @__PURE__ */ ((GetPostTemplatesSort2) => {
|
|
1137
1163
|
GetPostTemplatesSort2["PUBLISHED_DATE_ASC"] = "PUBLISHED_DATE_ASC";
|
|
1138
1164
|
GetPostTemplatesSort2["PUBLISHED_DATE_DESC"] = "PUBLISHED_DATE_DESC";
|
|
@@ -1186,26 +1212,6 @@ var Status = /* @__PURE__ */ ((Status2) => {
|
|
|
1186
1212
|
Status2["IN_REVIEW"] = "IN_REVIEW";
|
|
1187
1213
|
return Status2;
|
|
1188
1214
|
})(Status || {});
|
|
1189
|
-
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
1190
|
-
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
1191
|
-
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
1192
|
-
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
1193
|
-
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
1194
|
-
WebhookIdentityType2["APP"] = "APP";
|
|
1195
|
-
return WebhookIdentityType2;
|
|
1196
|
-
})(WebhookIdentityType || {});
|
|
1197
|
-
var QueryPublicationsCountStatsRequestOrder = /* @__PURE__ */ ((QueryPublicationsCountStatsRequestOrder2) => {
|
|
1198
|
-
QueryPublicationsCountStatsRequestOrder2["UNKNOWN"] = "UNKNOWN";
|
|
1199
|
-
QueryPublicationsCountStatsRequestOrder2["OLDEST"] = "OLDEST";
|
|
1200
|
-
QueryPublicationsCountStatsRequestOrder2["NEWEST"] = "NEWEST";
|
|
1201
|
-
return QueryPublicationsCountStatsRequestOrder2;
|
|
1202
|
-
})(QueryPublicationsCountStatsRequestOrder || {});
|
|
1203
|
-
var Order = /* @__PURE__ */ ((Order2) => {
|
|
1204
|
-
Order2["UNKNOWN"] = "UNKNOWN";
|
|
1205
|
-
Order2["OLDEST"] = "OLDEST";
|
|
1206
|
-
Order2["NEWEST"] = "NEWEST";
|
|
1207
|
-
return Order2;
|
|
1208
|
-
})(Order || {});
|
|
1209
1215
|
var Field = /* @__PURE__ */ ((Field2) => {
|
|
1210
1216
|
Field2["UNKNOWN"] = "UNKNOWN";
|
|
1211
1217
|
Field2["TOTAL_COMMENTS"] = "TOTAL_COMMENTS";
|
|
@@ -1333,8 +1339,8 @@ async function getPost2(postId, options) {
|
|
|
1333
1339
|
paths: [{ path: "post.media.wixMedia.videoV2" }]
|
|
1334
1340
|
}
|
|
1335
1341
|
]),
|
|
1336
|
-
["post.richContent"
|
|
1337
|
-
);
|
|
1342
|
+
["post.richContent"]
|
|
1343
|
+
)?.post;
|
|
1338
1344
|
} catch (err) {
|
|
1339
1345
|
const transformedError = (0, import_transform_error.transformError)(
|
|
1340
1346
|
err,
|
|
@@ -1381,7 +1387,7 @@ async function getPostBySlug2(slug, options) {
|
|
|
1381
1387
|
paths: [{ path: "post.media.wixMedia.videoV2" }]
|
|
1382
1388
|
}
|
|
1383
1389
|
]),
|
|
1384
|
-
["post.richContent"
|
|
1390
|
+
["post.richContent"]
|
|
1385
1391
|
);
|
|
1386
1392
|
} catch (err) {
|
|
1387
1393
|
const transformedError = (0, import_transform_error.transformError)(
|
|
@@ -1440,7 +1446,7 @@ async function listPosts2(options) {
|
|
|
1440
1446
|
paths: [{ path: "posts.media.wixMedia.videoV2" }]
|
|
1441
1447
|
}
|
|
1442
1448
|
]),
|
|
1443
|
-
["posts.richContent"
|
|
1449
|
+
["posts.richContent"]
|
|
1444
1450
|
);
|
|
1445
1451
|
} catch (err) {
|
|
1446
1452
|
const transformedError = (0, import_transform_error.transformError)(
|
|
@@ -1510,7 +1516,7 @@ function queryPosts2(options) {
|
|
|
1510
1516
|
paths: [{ path: "posts.media.wixMedia.videoV2" }]
|
|
1511
1517
|
}
|
|
1512
1518
|
]),
|
|
1513
|
-
["posts.richContent"
|
|
1519
|
+
["posts.richContent"]
|
|
1514
1520
|
);
|
|
1515
1521
|
return {
|
|
1516
1522
|
items: transformedData?.posts,
|
|
@@ -1558,7 +1564,7 @@ async function typedQueryPosts(query, options) {
|
|
|
1558
1564
|
paths: [{ path: "posts.media.wixMedia.videoV2" }]
|
|
1559
1565
|
}
|
|
1560
1566
|
]),
|
|
1561
|
-
["posts.richContent"
|
|
1567
|
+
["posts.richContent"]
|
|
1562
1568
|
);
|
|
1563
1569
|
} catch (err) {
|
|
1564
1570
|
const transformedError = (0, import_transform_error.transformError)(
|
|
@@ -1606,6 +1612,7 @@ async function getPostMetrics2(postId) {
|
|
|
1606
1612
|
AppType,
|
|
1607
1613
|
AspectRatio,
|
|
1608
1614
|
BackgroundType,
|
|
1615
|
+
BannerOrigin,
|
|
1609
1616
|
ButtonDataType,
|
|
1610
1617
|
Crop,
|
|
1611
1618
|
DecorationType,
|