@wix/auto_sdk_blog_draft-posts 1.0.121 → 1.0.123
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.js +19 -13
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +272 -272
- package/build/cjs/index.typings.js +18 -13
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +274 -274
- package/build/cjs/meta.js +18 -13
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +19 -13
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +272 -272
- package/build/es/index.typings.mjs +18 -13
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +274 -274
- package/build/es/meta.mjs +18 -13
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +314 -302
- package/build/internal/cjs/meta.d.ts +340 -334
- package/build/internal/es/index.typings.d.mts +314 -302
- package/build/internal/es/meta.d.mts +340 -334
- package/package.json +3 -3
package/build/es/index.mjs
CHANGED
|
@@ -30,6 +30,7 @@ var TRANSFORM_PATHS_0 = [
|
|
|
30
30
|
{ path: "draftPost.scheduledPublishDate" },
|
|
31
31
|
{ path: "draftPost.firstPublishedDate" },
|
|
32
32
|
{ path: "draftPost.createdDate" },
|
|
33
|
+
{ path: "draftPost.expirationDate" },
|
|
33
34
|
{ path: "draftPost.heroImage.urlExpirationDate" },
|
|
34
35
|
{ path: "draftPost.richContent.metadata.createdTimestamp" },
|
|
35
36
|
{ path: "draftPost.richContent.metadata.updatedTimestamp" },
|
|
@@ -342,6 +343,7 @@ var TRANSFORM_PATHS_2 = [
|
|
|
342
343
|
{ path: "draftPosts.scheduledPublishDate" },
|
|
343
344
|
{ path: "draftPosts.firstPublishedDate" },
|
|
344
345
|
{ path: "draftPosts.createdDate" },
|
|
346
|
+
{ path: "draftPosts.expirationDate" },
|
|
345
347
|
{ path: "draftPosts.heroImage.urlExpirationDate" },
|
|
346
348
|
{ path: "draftPosts.richContent.metadata.createdTimestamp" },
|
|
347
349
|
{ path: "draftPosts.richContent.metadata.updatedTimestamp" },
|
|
@@ -654,6 +656,7 @@ var TRANSFORM_PATHS_4 = [
|
|
|
654
656
|
{ path: "results.item.scheduledPublishDate" },
|
|
655
657
|
{ path: "results.item.firstPublishedDate" },
|
|
656
658
|
{ path: "results.item.createdDate" },
|
|
659
|
+
{ path: "results.item.expirationDate" },
|
|
657
660
|
{ path: "results.item.heroImage.urlExpirationDate" },
|
|
658
661
|
{ path: "results.item.richContent.metadata.createdTimestamp" },
|
|
659
662
|
{ path: "results.item.richContent.metadata.updatedTimestamp" },
|
|
@@ -981,6 +984,7 @@ var TRANSFORM_PATHS_6 = [
|
|
|
981
984
|
{ path: "draftPosts.draftPost.scheduledPublishDate" },
|
|
982
985
|
{ path: "draftPosts.draftPost.firstPublishedDate" },
|
|
983
986
|
{ path: "draftPosts.draftPost.createdDate" },
|
|
987
|
+
{ path: "draftPosts.draftPost.expirationDate" },
|
|
984
988
|
{ path: "draftPosts.draftPost.heroImage.urlExpirationDate" },
|
|
985
989
|
{ path: "draftPosts.draftPost.richContent.metadata.createdTimestamp" },
|
|
986
990
|
{ path: "draftPosts.draftPost.richContent.metadata.updatedTimestamp" },
|
|
@@ -1326,6 +1330,7 @@ var TRANSFORM_PATHS_10 = [
|
|
|
1326
1330
|
{ path: "draftPost.scheduledPublishDate" },
|
|
1327
1331
|
{ path: "draftPost.firstPublishedDate" },
|
|
1328
1332
|
{ path: "draftPost.createdDate" },
|
|
1333
|
+
{ path: "draftPost.expirationDate" },
|
|
1329
1334
|
{ path: "draftPost.heroImage.urlExpirationDate" },
|
|
1330
1335
|
{ path: "draftPost.richContent.metadata.createdTimestamp" },
|
|
1331
1336
|
{ path: "draftPost.richContent.metadata.updatedTimestamp" },
|
|
@@ -2789,19 +2794,6 @@ var ModerationStatusStatus = /* @__PURE__ */ ((ModerationStatusStatus2) => {
|
|
|
2789
2794
|
ModerationStatusStatus2["REJECTED"] = "REJECTED";
|
|
2790
2795
|
return ModerationStatusStatus2;
|
|
2791
2796
|
})(ModerationStatusStatus || {});
|
|
2792
|
-
var TotalDraftPostsGroupingField = /* @__PURE__ */ ((TotalDraftPostsGroupingField2) => {
|
|
2793
|
-
TotalDraftPostsGroupingField2["STATUS"] = "STATUS";
|
|
2794
|
-
TotalDraftPostsGroupingField2["LANGUAGE"] = "LANGUAGE";
|
|
2795
|
-
return TotalDraftPostsGroupingField2;
|
|
2796
|
-
})(TotalDraftPostsGroupingField || {});
|
|
2797
|
-
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
2798
|
-
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
2799
|
-
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
2800
|
-
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
2801
|
-
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
2802
|
-
WebhookIdentityType2["APP"] = "APP";
|
|
2803
|
-
return WebhookIdentityType2;
|
|
2804
|
-
})(WebhookIdentityType || {});
|
|
2805
2797
|
var Type = /* @__PURE__ */ ((Type2) => {
|
|
2806
2798
|
Type2["UNKNOWN"] = "UNKNOWN";
|
|
2807
2799
|
Type2["MANUAL"] = "MANUAL";
|
|
@@ -2841,6 +2833,19 @@ var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
|
2841
2833
|
SortOrder2["DESC"] = "DESC";
|
|
2842
2834
|
return SortOrder2;
|
|
2843
2835
|
})(SortOrder || {});
|
|
2836
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
2837
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
2838
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
2839
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
2840
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
2841
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
2842
|
+
return WebhookIdentityType2;
|
|
2843
|
+
})(WebhookIdentityType || {});
|
|
2844
|
+
var TotalDraftPostsGroupingField = /* @__PURE__ */ ((TotalDraftPostsGroupingField2) => {
|
|
2845
|
+
TotalDraftPostsGroupingField2["STATUS"] = "STATUS";
|
|
2846
|
+
TotalDraftPostsGroupingField2["LANGUAGE"] = "LANGUAGE";
|
|
2847
|
+
return TotalDraftPostsGroupingField2;
|
|
2848
|
+
})(TotalDraftPostsGroupingField || {});
|
|
2844
2849
|
async function createDraftPost2(draftPost, options) {
|
|
2845
2850
|
const { httpClient, sideEffects } = arguments[2];
|
|
2846
2851
|
const payload = transformPaths2(
|
|
@@ -3682,6 +3687,7 @@ var TRANSFORM_PATHS_13 = [
|
|
|
3682
3687
|
{ path: "entity.scheduledPublishDate" },
|
|
3683
3688
|
{ path: "entity.firstPublishedDate" },
|
|
3684
3689
|
{ path: "entity.createdDate" },
|
|
3690
|
+
{ path: "entity.expirationDate" },
|
|
3685
3691
|
{ path: "entity.richContent.metadata.createdTimestamp" },
|
|
3686
3692
|
{ path: "entity.richContent.metadata.updatedTimestamp" },
|
|
3687
3693
|
{ path: "entity.moderationDetails.submittedDate" },
|