@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.
@@ -2409,10 +2409,20 @@ declare enum SmartBlockDataType {
2409
2409
  /** Process steps with numbered/icon labels above a horizontal line. */
2410
2410
  PROCESS_STEPS = "PROCESS_STEPS",
2411
2411
  /** Statistics with bar visual elements. */
2412
- BAR_STATS = "BAR_STATS"
2412
+ BAR_STATS = "BAR_STATS",
2413
+ /** Timeline layout with numbered chips on a connecting line; cells alternate around the line. */
2414
+ TIMELINE = "TIMELINE",
2415
+ /** Timeline layout with plain dot indicators; no numbers or shapes; cells alternate around the line. */
2416
+ MINIMAL_TIMELINE = "MINIMAL_TIMELINE",
2417
+ /** Numbered pill-shaped labels (stadium chips) with text content; supports HORIZONTAL (pill on top) and VERTICAL (pill on left) orientations. */
2418
+ PILLS = "PILLS",
2419
+ /** Star rating display with stars and a numeric value per cell. */
2420
+ STAR_RATING = "STAR_RATING",
2421
+ /** Outlined boxes with decorative quote glyphs at the top-left and bottom-right corners. */
2422
+ QUOTE_BOXES = "QUOTE_BOXES"
2413
2423
  }
2414
2424
  /** @enumType */
2415
- 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';
2425
+ 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';
2416
2426
  /** Column size controlling how many cells appear per row. */
2417
2427
  declare enum ColumnSize {
2418
2428
  /** Up to 4 cells in a row. */
@@ -3493,6 +3503,79 @@ interface DraftPostCount {
3493
3503
  /** Number of posts. */
3494
3504
  postCount?: number;
3495
3505
  }
3506
+ interface TranslateDraftRequest {
3507
+ /**
3508
+ * Source post or draft ID
3509
+ * @format GUID
3510
+ */
3511
+ postId?: string;
3512
+ /**
3513
+ * Translation language
3514
+ * @format LANGUAGE_TAG
3515
+ */
3516
+ language?: string;
3517
+ /**
3518
+ * List of draft post fields to be included if entities are present in the response.
3519
+ * Base fieldset, which is default, will return all core draft post properties.
3520
+ * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
3521
+ * @maxSize 10
3522
+ */
3523
+ fieldsets?: FieldWithLiterals[];
3524
+ }
3525
+ interface TranslateDraftResponse {
3526
+ /** Draft post. */
3527
+ draftPost?: DraftPost;
3528
+ }
3529
+ interface IsDraftPostAutoTranslatableRequest {
3530
+ /**
3531
+ * Source post or draft ID.
3532
+ * @format GUID
3533
+ */
3534
+ draftPostId?: string;
3535
+ }
3536
+ interface IsDraftPostAutoTranslatableResponse {
3537
+ /**
3538
+ * Source draft post ID.
3539
+ * @format GUID
3540
+ */
3541
+ draftPostId?: string;
3542
+ /** Indicates if enough machine translation credits are available for the draft post translation. */
3543
+ translatable?: boolean;
3544
+ /** Draft post title word count. */
3545
+ titleWordCount?: number;
3546
+ /** Draft post content word count. */
3547
+ contentWordCount?: number;
3548
+ /** Word credits available for auto translation. */
3549
+ availableAutoTranslateWords?: number;
3550
+ /** Word credits available after auto translation would be done. */
3551
+ availableAutoTranslateWordsAfter?: number;
3552
+ /** Content text character count. */
3553
+ contentTextCharacterCount?: number;
3554
+ }
3555
+ interface UpdateDraftPostLanguageRequest {
3556
+ /**
3557
+ * Source draft post ID
3558
+ * @format GUID
3559
+ */
3560
+ postId?: string;
3561
+ /**
3562
+ * New language to replace to
3563
+ * @minLength 2
3564
+ * @format LANGUAGE_TAG
3565
+ */
3566
+ language?: string;
3567
+ /**
3568
+ * List of draft post fields to be included if entities are present in the response.
3569
+ * Base fieldset, which is default, will return all core draft post properties.
3570
+ * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
3571
+ * @maxSize 10
3572
+ */
3573
+ fieldsets?: FieldWithLiterals[];
3574
+ }
3575
+ interface UpdateDraftPostLanguageResponse {
3576
+ /** Draft post */
3577
+ draftPost?: DraftPost;
3578
+ }
3496
3579
  interface BulkRevertToUnpublishedRequest {
3497
3580
  /**
3498
3581
  * Source post IDs.
@@ -3604,79 +3687,6 @@ interface MarkPostAsInModerationResponse {
3604
3687
  /** Updated post draft. */
3605
3688
  draftPost?: DraftPost;
3606
3689
  }
3607
- interface TranslateDraftRequest {
3608
- /**
3609
- * Source post or draft ID
3610
- * @format GUID
3611
- */
3612
- postId?: string;
3613
- /**
3614
- * Translation language
3615
- * @format LANGUAGE_TAG
3616
- */
3617
- language?: string;
3618
- /**
3619
- * List of draft post fields to be included if entities are present in the response.
3620
- * Base fieldset, which is default, will return all core draft post properties.
3621
- * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
3622
- * @maxSize 10
3623
- */
3624
- fieldsets?: FieldWithLiterals[];
3625
- }
3626
- interface TranslateDraftResponse {
3627
- /** Draft post. */
3628
- draftPost?: DraftPost;
3629
- }
3630
- interface IsDraftPostAutoTranslatableRequest {
3631
- /**
3632
- * Source post or draft ID.
3633
- * @format GUID
3634
- */
3635
- draftPostId?: string;
3636
- }
3637
- interface IsDraftPostAutoTranslatableResponse {
3638
- /**
3639
- * Source draft post ID.
3640
- * @format GUID
3641
- */
3642
- draftPostId?: string;
3643
- /** Indicates if enough machine translation credits are available for the draft post translation. */
3644
- translatable?: boolean;
3645
- /** Draft post title word count. */
3646
- titleWordCount?: number;
3647
- /** Draft post content word count. */
3648
- contentWordCount?: number;
3649
- /** Word credits available for auto translation. */
3650
- availableAutoTranslateWords?: number;
3651
- /** Word credits available after auto translation would be done. */
3652
- availableAutoTranslateWordsAfter?: number;
3653
- /** Content text character count. */
3654
- contentTextCharacterCount?: number;
3655
- }
3656
- interface UpdateDraftPostLanguageRequest {
3657
- /**
3658
- * Source draft post ID
3659
- * @format GUID
3660
- */
3661
- postId?: string;
3662
- /**
3663
- * New language to replace to
3664
- * @minLength 2
3665
- * @format LANGUAGE_TAG
3666
- */
3667
- language?: string;
3668
- /**
3669
- * List of draft post fields to be included if entities are present in the response.
3670
- * Base fieldset, which is default, will return all core draft post properties.
3671
- * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
3672
- * @maxSize 10
3673
- */
3674
- fieldsets?: FieldWithLiterals[];
3675
- }
3676
- interface UpdateDraftPostLanguageResponse {
3677
- /** Draft post */
3678
- draftPost?: DraftPost;
3679
- }
3680
3690
  interface BaseEventMetadata {
3681
3691
  /**
3682
3692
  * App instance ID.
@@ -3148,6 +3148,11 @@ var SmartBlockDataType = /* @__PURE__ */ ((SmartBlockDataType2) => {
3148
3148
  SmartBlockDataType2["ARROW_BULLETS"] = "ARROW_BULLETS";
3149
3149
  SmartBlockDataType2["PROCESS_STEPS"] = "PROCESS_STEPS";
3150
3150
  SmartBlockDataType2["BAR_STATS"] = "BAR_STATS";
3151
+ SmartBlockDataType2["TIMELINE"] = "TIMELINE";
3152
+ SmartBlockDataType2["MINIMAL_TIMELINE"] = "MINIMAL_TIMELINE";
3153
+ SmartBlockDataType2["PILLS"] = "PILLS";
3154
+ SmartBlockDataType2["STAR_RATING"] = "STAR_RATING";
3155
+ SmartBlockDataType2["QUOTE_BOXES"] = "QUOTE_BOXES";
3151
3156
  return SmartBlockDataType2;
3152
3157
  })(SmartBlockDataType || {});
3153
3158
  var ColumnSize = /* @__PURE__ */ ((ColumnSize2) => {