@wix/auto_sdk_blog_draft-posts 1.0.85 → 1.0.86

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.
@@ -2432,10 +2432,20 @@ declare enum SmartBlockDataType {
2432
2432
  /** Process steps with numbered/icon labels above a horizontal line. */
2433
2433
  PROCESS_STEPS = "PROCESS_STEPS",
2434
2434
  /** Statistics with bar visual elements. */
2435
- BAR_STATS = "BAR_STATS"
2436
- }
2437
- /** @enumType */
2438
- type SmartBlockDataTypeWithLiterals = SmartBlockDataType | 'SOLID_BOXES' | 'NUMBERED_BOXES' | 'STATS' | 'CIRCLE_STATS' | 'SOLID_BOXES_ALTERNATING' | 'SOLID_JOINED_BOXES' | 'SIDE_LINE_TEXT' | 'TOP_LINE_TEXT' | 'OUTLINE_BOXES_WITH_TOP_CIRCLE' | 'BIG_BULLETS' | 'SMALL_BULLETS' | 'ARROW_BULLETS' | 'PROCESS_STEPS' | 'BAR_STATS';
2435
+ BAR_STATS = "BAR_STATS",
2436
+ /** Timeline layout with numbered chips on a connecting line; cells alternate around the line. */
2437
+ TIMELINE = "TIMELINE",
2438
+ /** Timeline layout with plain dot indicators; no numbers or shapes; cells alternate around the line. */
2439
+ MINIMAL_TIMELINE = "MINIMAL_TIMELINE",
2440
+ /** Numbered pill-shaped labels (stadium chips) with text content; supports HORIZONTAL (pill on top) and VERTICAL (pill on left) orientations. */
2441
+ PILLS = "PILLS",
2442
+ /** Star rating display with stars and a numeric value per cell. */
2443
+ STAR_RATING = "STAR_RATING",
2444
+ /** Outlined boxes with decorative quote glyphs at the top-left and bottom-right corners. */
2445
+ QUOTE_BOXES = "QUOTE_BOXES"
2446
+ }
2447
+ /** @enumType */
2448
+ type SmartBlockDataTypeWithLiterals = SmartBlockDataType | 'SOLID_BOXES' | 'NUMBERED_BOXES' | 'STATS' | 'CIRCLE_STATS' | 'SOLID_BOXES_ALTERNATING' | 'SOLID_JOINED_BOXES' | 'SIDE_LINE_TEXT' | 'TOP_LINE_TEXT' | 'OUTLINE_BOXES_WITH_TOP_CIRCLE' | 'BIG_BULLETS' | 'SMALL_BULLETS' | 'ARROW_BULLETS' | 'PROCESS_STEPS' | 'BAR_STATS' | 'TIMELINE' | 'MINIMAL_TIMELINE' | 'PILLS' | 'STAR_RATING' | 'QUOTE_BOXES';
2439
2449
  /** Column size controlling how many cells appear per row. */
2440
2450
  declare enum ColumnSize {
2441
2451
  /** Up to 4 cells in a row. */
@@ -3539,6 +3549,79 @@ interface DraftPostCount {
3539
3549
  /** Number of posts. */
3540
3550
  postCount?: number;
3541
3551
  }
3552
+ interface TranslateDraftRequest {
3553
+ /**
3554
+ * Source post or draft ID
3555
+ * @format GUID
3556
+ */
3557
+ postId?: string;
3558
+ /**
3559
+ * Translation language
3560
+ * @format LANGUAGE_TAG
3561
+ */
3562
+ language?: string;
3563
+ /**
3564
+ * List of draft post fields to be included if entities are present in the response.
3565
+ * Base fieldset, which is default, will return all core draft post properties.
3566
+ * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
3567
+ * @maxSize 10
3568
+ */
3569
+ fieldsets?: FieldWithLiterals[];
3570
+ }
3571
+ interface TranslateDraftResponse {
3572
+ /** Draft post. */
3573
+ draftPost?: DraftPost;
3574
+ }
3575
+ interface IsDraftPostAutoTranslatableRequest {
3576
+ /**
3577
+ * Source post or draft ID.
3578
+ * @format GUID
3579
+ */
3580
+ draftPostId?: string;
3581
+ }
3582
+ interface IsDraftPostAutoTranslatableResponse {
3583
+ /**
3584
+ * Source draft post ID.
3585
+ * @format GUID
3586
+ */
3587
+ draftPostId?: string;
3588
+ /** Indicates if enough machine translation credits are available for the draft post translation. */
3589
+ translatable?: boolean;
3590
+ /** Draft post title word count. */
3591
+ titleWordCount?: number;
3592
+ /** Draft post content word count. */
3593
+ contentWordCount?: number;
3594
+ /** Word credits available for auto translation. */
3595
+ availableAutoTranslateWords?: number;
3596
+ /** Word credits available after auto translation would be done. */
3597
+ availableAutoTranslateWordsAfter?: number;
3598
+ /** Content text character count. */
3599
+ contentTextCharacterCount?: number;
3600
+ }
3601
+ interface UpdateDraftPostLanguageRequest {
3602
+ /**
3603
+ * Source draft post ID
3604
+ * @format GUID
3605
+ */
3606
+ postId?: string;
3607
+ /**
3608
+ * New language to replace to
3609
+ * @minLength 2
3610
+ * @format LANGUAGE_TAG
3611
+ */
3612
+ language?: string;
3613
+ /**
3614
+ * List of draft post fields to be included if entities are present in the response.
3615
+ * Base fieldset, which is default, will return all core draft post properties.
3616
+ * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
3617
+ * @maxSize 10
3618
+ */
3619
+ fieldsets?: FieldWithLiterals[];
3620
+ }
3621
+ interface UpdateDraftPostLanguageResponse {
3622
+ /** Draft post */
3623
+ draftPost?: DraftPost;
3624
+ }
3542
3625
  interface BulkRevertToUnpublishedRequest {
3543
3626
  /**
3544
3627
  * Source post IDs.
@@ -3650,79 +3733,6 @@ interface MarkPostAsInModerationResponse {
3650
3733
  /** Updated post draft. */
3651
3734
  draftPost?: DraftPost;
3652
3735
  }
3653
- interface TranslateDraftRequest {
3654
- /**
3655
- * Source post or draft ID
3656
- * @format GUID
3657
- */
3658
- postId?: string;
3659
- /**
3660
- * Translation language
3661
- * @format LANGUAGE_TAG
3662
- */
3663
- language?: string;
3664
- /**
3665
- * List of draft post fields to be included if entities are present in the response.
3666
- * Base fieldset, which is default, will return all core draft post properties.
3667
- * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
3668
- * @maxSize 10
3669
- */
3670
- fieldsets?: FieldWithLiterals[];
3671
- }
3672
- interface TranslateDraftResponse {
3673
- /** Draft post. */
3674
- draftPost?: DraftPost;
3675
- }
3676
- interface IsDraftPostAutoTranslatableRequest {
3677
- /**
3678
- * Source post or draft ID.
3679
- * @format GUID
3680
- */
3681
- draftPostId?: string;
3682
- }
3683
- interface IsDraftPostAutoTranslatableResponse {
3684
- /**
3685
- * Source draft post ID.
3686
- * @format GUID
3687
- */
3688
- draftPostId?: string;
3689
- /** Indicates if enough machine translation credits are available for the draft post translation. */
3690
- translatable?: boolean;
3691
- /** Draft post title word count. */
3692
- titleWordCount?: number;
3693
- /** Draft post content word count. */
3694
- contentWordCount?: number;
3695
- /** Word credits available for auto translation. */
3696
- availableAutoTranslateWords?: number;
3697
- /** Word credits available after auto translation would be done. */
3698
- availableAutoTranslateWordsAfter?: number;
3699
- /** Content text character count. */
3700
- contentTextCharacterCount?: number;
3701
- }
3702
- interface UpdateDraftPostLanguageRequest {
3703
- /**
3704
- * Source draft post ID
3705
- * @format GUID
3706
- */
3707
- postId?: string;
3708
- /**
3709
- * New language to replace to
3710
- * @minLength 2
3711
- * @format LANGUAGE_TAG
3712
- */
3713
- language?: string;
3714
- /**
3715
- * List of draft post fields to be included if entities are present in the response.
3716
- * Base fieldset, which is default, will return all core draft post properties.
3717
- * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
3718
- * @maxSize 10
3719
- */
3720
- fieldsets?: FieldWithLiterals[];
3721
- }
3722
- interface UpdateDraftPostLanguageResponse {
3723
- /** Draft post */
3724
- draftPost?: DraftPost;
3725
- }
3726
3736
 
3727
3737
  type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
3728
3738
  getUrl: (context: any) => string;
package/build/es/meta.mjs CHANGED
@@ -3029,6 +3029,11 @@ var SmartBlockDataType = /* @__PURE__ */ ((SmartBlockDataType2) => {
3029
3029
  SmartBlockDataType2["ARROW_BULLETS"] = "ARROW_BULLETS";
3030
3030
  SmartBlockDataType2["PROCESS_STEPS"] = "PROCESS_STEPS";
3031
3031
  SmartBlockDataType2["BAR_STATS"] = "BAR_STATS";
3032
+ SmartBlockDataType2["TIMELINE"] = "TIMELINE";
3033
+ SmartBlockDataType2["MINIMAL_TIMELINE"] = "MINIMAL_TIMELINE";
3034
+ SmartBlockDataType2["PILLS"] = "PILLS";
3035
+ SmartBlockDataType2["STAR_RATING"] = "STAR_RATING";
3036
+ SmartBlockDataType2["QUOTE_BOXES"] = "QUOTE_BOXES";
3032
3037
  return SmartBlockDataType2;
3033
3038
  })(SmartBlockDataType || {});
3034
3039
  var ColumnSize = /* @__PURE__ */ ((ColumnSize2) => {