@wix/auto_sdk_blog_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.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +4 -4
  2. package/build/cjs/index.js +75 -74
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +352 -144
  5. package/build/cjs/index.typings.js +51 -55
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +215 -145
  8. package/build/cjs/meta.js +43 -29
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +4 -4
  11. package/build/es/index.mjs +72 -74
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +352 -144
  14. package/build/es/index.typings.mjs +48 -55
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +215 -145
  17. package/build/es/meta.mjs +43 -29
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +4 -4
  20. package/build/internal/cjs/index.js +75 -74
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +353 -145
  23. package/build/internal/cjs/index.typings.js +51 -55
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +215 -145
  26. package/build/internal/cjs/meta.js +43 -29
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +4 -4
  29. package/build/internal/es/index.mjs +72 -74
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +353 -145
  32. package/build/internal/es/index.typings.mjs +48 -55
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +215 -145
  35. package/build/internal/es/meta.mjs +43 -29
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +4 -4
package/build/es/meta.mjs CHANGED
@@ -203,6 +203,10 @@ function resolveComWixpressNpmCommunitiesPlatformizedBlogBlogStatsServiceUrl(opt
203
203
  {
204
204
  srcPath: "/_api/communities-blog-node-api",
205
205
  destPath: ""
206
+ },
207
+ {
208
+ srcPath: "/_api/communities-blog-node-api/v3/multilingual",
209
+ destPath: "/v3/multilingual"
206
210
  }
207
211
  ],
208
212
  "social-blog._base_domain_": [
@@ -321,8 +325,6 @@ function getPost(payload) {
321
325
  paths: [
322
326
  { path: "post.firstPublishedDate" },
323
327
  { path: "post.lastPublishedDate" },
324
- { path: "post.coverMedia.image.urlExpirationDate" },
325
- { path: "post.coverMedia.video.thumbnail.urlExpirationDate" },
326
328
  { path: "post.heroImage.urlExpirationDate" },
327
329
  { path: "post.richContent.metadata.createdTimestamp" },
328
330
  { path: "post.richContent.metadata.updatedTimestamp" },
@@ -346,10 +348,6 @@ function getPost(payload) {
346
348
  {
347
349
  transformFn: transformRESTFloatToSDKFloat,
348
350
  paths: [
349
- { path: "post.coverMedia.image.focalPoint.x" },
350
- { path: "post.coverMedia.image.focalPoint.y" },
351
- { path: "post.coverMedia.video.thumbnail.focalPoint.x" },
352
- { path: "post.coverMedia.video.thumbnail.focalPoint.y" },
353
351
  { path: "post.heroImage.focalPoint.x" },
354
352
  { path: "post.heroImage.focalPoint.y" },
355
353
  { path: "post.media.wixMedia.image.focalPoint.x" },
@@ -387,7 +385,14 @@ function getPost(payload) {
387
385
  { path: "post.richContent.nodes.videoData.video.duration" },
388
386
  { path: "post.richContent.nodes.videoData.thumbnail.duration" },
389
387
  { path: "post.richContent.nodes.audioData.audio.duration" },
390
- { path: "post.richContent.nodes.audioData.coverImage.duration" }
388
+ { path: "post.richContent.nodes.audioData.coverImage.duration" },
389
+ {
390
+ path: "post.richContent.nodes.layoutData.backgroundImage.media.duration"
391
+ },
392
+ {
393
+ path: "post.richContent.nodes.layoutData.backdropImage.media.duration"
394
+ },
395
+ { path: "post.richContent.nodes.shapeData.shape.duration" }
391
396
  ]
392
397
  }
393
398
  ])
@@ -418,8 +423,6 @@ function getPostBySlug(payload) {
418
423
  paths: [
419
424
  { path: "post.firstPublishedDate" },
420
425
  { path: "post.lastPublishedDate" },
421
- { path: "post.coverMedia.image.urlExpirationDate" },
422
- { path: "post.coverMedia.video.thumbnail.urlExpirationDate" },
423
426
  { path: "post.heroImage.urlExpirationDate" },
424
427
  { path: "post.richContent.metadata.createdTimestamp" },
425
428
  { path: "post.richContent.metadata.updatedTimestamp" },
@@ -443,10 +446,6 @@ function getPostBySlug(payload) {
443
446
  {
444
447
  transformFn: transformRESTFloatToSDKFloat,
445
448
  paths: [
446
- { path: "post.coverMedia.image.focalPoint.x" },
447
- { path: "post.coverMedia.image.focalPoint.y" },
448
- { path: "post.coverMedia.video.thumbnail.focalPoint.x" },
449
- { path: "post.coverMedia.video.thumbnail.focalPoint.y" },
450
449
  { path: "post.heroImage.focalPoint.x" },
451
450
  { path: "post.heroImage.focalPoint.y" },
452
451
  { path: "post.media.wixMedia.image.focalPoint.x" },
@@ -484,7 +483,14 @@ function getPostBySlug(payload) {
484
483
  { path: "post.richContent.nodes.videoData.video.duration" },
485
484
  { path: "post.richContent.nodes.videoData.thumbnail.duration" },
486
485
  { path: "post.richContent.nodes.audioData.audio.duration" },
487
- { path: "post.richContent.nodes.audioData.coverImage.duration" }
486
+ { path: "post.richContent.nodes.audioData.coverImage.duration" },
487
+ {
488
+ path: "post.richContent.nodes.layoutData.backgroundImage.media.duration"
489
+ },
490
+ {
491
+ path: "post.richContent.nodes.layoutData.backdropImage.media.duration"
492
+ },
493
+ { path: "post.richContent.nodes.shapeData.shape.duration" }
488
494
  ]
489
495
  }
490
496
  ])
@@ -515,8 +521,6 @@ function listPosts(payload) {
515
521
  paths: [
516
522
  { path: "posts.firstPublishedDate" },
517
523
  { path: "posts.lastPublishedDate" },
518
- { path: "posts.coverMedia.image.urlExpirationDate" },
519
- { path: "posts.coverMedia.video.thumbnail.urlExpirationDate" },
520
524
  { path: "posts.heroImage.urlExpirationDate" },
521
525
  { path: "posts.richContent.metadata.createdTimestamp" },
522
526
  { path: "posts.richContent.metadata.updatedTimestamp" },
@@ -542,10 +546,6 @@ function listPosts(payload) {
542
546
  {
543
547
  transformFn: transformRESTFloatToSDKFloat,
544
548
  paths: [
545
- { path: "posts.coverMedia.image.focalPoint.x" },
546
- { path: "posts.coverMedia.image.focalPoint.y" },
547
- { path: "posts.coverMedia.video.thumbnail.focalPoint.x" },
548
- { path: "posts.coverMedia.video.thumbnail.focalPoint.y" },
549
549
  { path: "posts.heroImage.focalPoint.x" },
550
550
  { path: "posts.heroImage.focalPoint.y" },
551
551
  { path: "posts.media.wixMedia.image.focalPoint.x" },
@@ -585,7 +585,14 @@ function listPosts(payload) {
585
585
  { path: "posts.richContent.nodes.videoData.video.duration" },
586
586
  { path: "posts.richContent.nodes.videoData.thumbnail.duration" },
587
587
  { path: "posts.richContent.nodes.audioData.audio.duration" },
588
- { path: "posts.richContent.nodes.audioData.coverImage.duration" }
588
+ { path: "posts.richContent.nodes.audioData.coverImage.duration" },
589
+ {
590
+ path: "posts.richContent.nodes.layoutData.backgroundImage.media.duration"
591
+ },
592
+ {
593
+ path: "posts.richContent.nodes.layoutData.backdropImage.media.duration"
594
+ },
595
+ { path: "posts.richContent.nodes.shapeData.shape.duration" }
589
596
  ]
590
597
  }
591
598
  ])
@@ -616,8 +623,6 @@ function queryPosts(payload) {
616
623
  paths: [
617
624
  { path: "posts.firstPublishedDate" },
618
625
  { path: "posts.lastPublishedDate" },
619
- { path: "posts.coverMedia.image.urlExpirationDate" },
620
- { path: "posts.coverMedia.video.thumbnail.urlExpirationDate" },
621
626
  { path: "posts.heroImage.urlExpirationDate" },
622
627
  { path: "posts.richContent.metadata.createdTimestamp" },
623
628
  { path: "posts.richContent.metadata.updatedTimestamp" },
@@ -643,10 +648,6 @@ function queryPosts(payload) {
643
648
  {
644
649
  transformFn: transformRESTFloatToSDKFloat,
645
650
  paths: [
646
- { path: "posts.coverMedia.image.focalPoint.x" },
647
- { path: "posts.coverMedia.image.focalPoint.y" },
648
- { path: "posts.coverMedia.video.thumbnail.focalPoint.x" },
649
- { path: "posts.coverMedia.video.thumbnail.focalPoint.y" },
650
651
  { path: "posts.heroImage.focalPoint.x" },
651
652
  { path: "posts.heroImage.focalPoint.y" },
652
653
  { path: "posts.media.wixMedia.image.focalPoint.x" },
@@ -686,7 +687,14 @@ function queryPosts(payload) {
686
687
  { path: "posts.richContent.nodes.videoData.video.duration" },
687
688
  { path: "posts.richContent.nodes.videoData.thumbnail.duration" },
688
689
  { path: "posts.richContent.nodes.audioData.audio.duration" },
689
- { path: "posts.richContent.nodes.audioData.coverImage.duration" }
690
+ { path: "posts.richContent.nodes.audioData.coverImage.duration" },
691
+ {
692
+ path: "posts.richContent.nodes.layoutData.backgroundImage.media.duration"
693
+ },
694
+ {
695
+ path: "posts.richContent.nodes.layoutData.backdropImage.media.duration"
696
+ },
697
+ { path: "posts.richContent.nodes.shapeData.shape.duration" }
690
698
  ]
691
699
  }
692
700
  ])
@@ -758,6 +766,7 @@ var NodeType = /* @__PURE__ */ ((NodeType2) => {
758
766
  NodeType2["CAPTION"] = "CAPTION";
759
767
  NodeType2["LAYOUT"] = "LAYOUT";
760
768
  NodeType2["LAYOUT_CELL"] = "LAYOUT_CELL";
769
+ NodeType2["SHAPE"] = "SHAPE";
761
770
  return NodeType2;
762
771
  })(NodeType || {});
763
772
  var WidthType = /* @__PURE__ */ ((WidthType2) => {
@@ -850,13 +859,14 @@ var ThumbnailsAlignment = /* @__PURE__ */ ((ThumbnailsAlignment2) => {
850
859
  return ThumbnailsAlignment2;
851
860
  })(ThumbnailsAlignment || {});
852
861
  var GIFType = /* @__PURE__ */ ((GIFType2) => {
853
- GIFType2["GIF"] = "GIF";
862
+ GIFType2["NORMAL"] = "NORMAL";
854
863
  GIFType2["STICKER"] = "STICKER";
855
864
  return GIFType2;
856
865
  })(GIFType || {});
857
866
  var Source = /* @__PURE__ */ ((Source2) => {
858
867
  Source2["HTML"] = "HTML";
859
868
  Source2["ADSENSE"] = "ADSENSE";
869
+ Source2["AI"] = "AI";
860
870
  return Source2;
861
871
  })(Source || {});
862
872
  var StylesPosition = /* @__PURE__ */ ((StylesPosition2) => {
@@ -911,6 +921,10 @@ var DecorationType = /* @__PURE__ */ ((DecorationType2) => {
911
921
  DecorationType2["COLOR"] = "COLOR";
912
922
  DecorationType2["FONT_SIZE"] = "FONT_SIZE";
913
923
  DecorationType2["EXTERNAL"] = "EXTERNAL";
924
+ DecorationType2["STRIKETHROUGH"] = "STRIKETHROUGH";
925
+ DecorationType2["SUPERSCRIPT"] = "SUPERSCRIPT";
926
+ DecorationType2["SUBSCRIPT"] = "SUBSCRIPT";
927
+ DecorationType2["FONT_FAMILY"] = "FONT_FAMILY";
914
928
  return DecorationType2;
915
929
  })(DecorationType || {});
916
930
  var FontType = /* @__PURE__ */ ((FontType2) => {