@wix/auto_sdk_blog_draft-posts 1.0.128 → 1.0.129

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.
@@ -3695,15 +3695,13 @@ declare enum Field {
3695
3695
  UNKNOWN = "UNKNOWN",
3696
3696
  /** Includes draft post preview URL. */
3697
3697
  URL = "URL",
3698
- /** Includes content field. */
3699
- CONTENT = "CONTENT",
3700
3698
  /** Includes rich content field. */
3701
3699
  RICH_CONTENT = "RICH_CONTENT",
3702
3700
  /** If the user has not set excerpt, returns the one autogenerated from content. */
3703
3701
  GENERATED_EXCERPT = "GENERATED_EXCERPT"
3704
3702
  }
3705
3703
  /** @enumType */
3706
- type FieldWithLiterals = Field | 'UNKNOWN' | 'URL' | 'CONTENT' | 'RICH_CONTENT' | 'GENERATED_EXCERPT';
3704
+ type FieldWithLiterals = Field | 'UNKNOWN' | 'URL' | 'RICH_CONTENT' | 'GENERATED_EXCERPT';
3707
3705
  interface CreateDraftPostResponse {
3708
3706
  /** Created draft post info. */
3709
3707
  draftPost?: DraftPost;
@@ -3797,9 +3795,12 @@ interface MaskedDraftPosts {
3797
3795
  fieldMask?: string[];
3798
3796
  }
3799
3797
  declare enum Action {
3800
- /** Update the draft post. */
3798
+ /** Update the draft post. If the post is already published, the published post isn't changed. */
3801
3799
  UPDATE = "UPDATE",
3802
- /** Update and publish a draft post. */
3800
+ /**
3801
+ * Update and publish a draft post. If the post is already published, the published post is updated
3802
+ * with the draft post's values in the same call.
3803
+ */
3803
3804
  UPDATE_PUBLISH = "UPDATE_PUBLISH",
3804
3805
  /** Update the draft post and schedule a publish date. */
3805
3806
  UPDATE_SCHEDULE = "UPDATE_SCHEDULE",
@@ -3809,7 +3810,7 @@ declare enum Action {
3809
3810
  UPDATE_CANCEL_SCHEDULE = "UPDATE_CANCEL_SCHEDULE",
3810
3811
  /** Update and reject draft post. */
3811
3812
  UPDATE_REJECT = "UPDATE_REJECT",
3812
- /** Update a post that's already been published. This creates and updates a draft version of the post. The original post is still published. */
3813
+ /** Update a post that's already been published. The changes are saved to the draft post and applied to the published post. */
3813
3814
  UPDATE_PUBLICATION = "UPDATE_PUBLICATION"
3814
3815
  }
3815
3816
  /** @enumType */
@@ -4365,7 +4366,6 @@ interface TranslateDraftRequest {
4365
4366
  * Predefined sets of fields to return in the created draft post, in addition to the core draft post fields.
4366
4367
  *
4367
4368
  * - `URL`: Returns the draft post's preview URL.
4368
- * - `CONTENT`: Returns the draft post's content.
4369
4369
  * - `RICH_CONTENT`: Returns the draft post's rich content.
4370
4370
  * - `GENERATED_EXCERPT`: Returns an excerpt generated from the content if a custom excerpt isn't set.
4371
4371
  *
@@ -4421,7 +4421,6 @@ interface UpdateDraftPostLanguageRequest {
4421
4421
  * Predefined sets of fields to return in the updated draft post, in addition to the core draft post fields.
4422
4422
  *
4423
4423
  * - `URL`: Returns the draft post's preview URL.
4424
- * - `CONTENT`: Returns the draft post's content.
4425
4424
  * - `RICH_CONTENT`: Returns the draft post's rich content.
4426
4425
  * - `GENERATED_EXCERPT`: Returns an excerpt generated from the content if a custom excerpt isn't set.
4427
4426
  *