@wix/auto_sdk_blog_draft-posts 1.0.78 → 1.0.80

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 (34) hide show
  1. package/build/cjs/index.js.map +1 -1
  2. package/build/cjs/index.typings.d.ts +73 -73
  3. package/build/cjs/index.typings.js.map +1 -1
  4. package/build/cjs/meta.d.ts +73 -73
  5. package/build/cjs/meta.js.map +1 -1
  6. package/build/cjs/schemas.d.ts +1771 -0
  7. package/build/cjs/schemas.js +2886 -0
  8. package/build/cjs/schemas.js.map +1 -0
  9. package/build/es/index.mjs.map +1 -1
  10. package/build/es/index.typings.d.mts +73 -73
  11. package/build/es/index.typings.mjs.map +1 -1
  12. package/build/es/meta.d.mts +73 -73
  13. package/build/es/meta.mjs.map +1 -1
  14. package/build/es/schemas.d.mts +1771 -0
  15. package/build/es/schemas.mjs +2822 -0
  16. package/build/es/schemas.mjs.map +1 -0
  17. package/build/internal/cjs/index.js.map +1 -1
  18. package/build/internal/cjs/index.typings.d.ts +73 -73
  19. package/build/internal/cjs/index.typings.js.map +1 -1
  20. package/build/internal/cjs/meta.d.ts +73 -73
  21. package/build/internal/cjs/meta.js.map +1 -1
  22. package/build/internal/cjs/schemas.d.ts +1771 -0
  23. package/build/internal/cjs/schemas.js +2886 -0
  24. package/build/internal/cjs/schemas.js.map +1 -0
  25. package/build/internal/es/index.mjs.map +1 -1
  26. package/build/internal/es/index.typings.d.mts +73 -73
  27. package/build/internal/es/index.typings.mjs.map +1 -1
  28. package/build/internal/es/meta.d.mts +73 -73
  29. package/build/internal/es/meta.mjs.map +1 -1
  30. package/build/internal/es/schemas.d.mts +1771 -0
  31. package/build/internal/es/schemas.mjs +2822 -0
  32. package/build/internal/es/schemas.mjs.map +1 -0
  33. package/package.json +11 -4
  34. package/schemas/package.json +3 -0
@@ -3418,79 +3418,6 @@ interface DraftPostCount {
3418
3418
  /** Number of posts. */
3419
3419
  postCount?: number;
3420
3420
  }
3421
- interface TranslateDraftRequest {
3422
- /**
3423
- * Source post or draft ID
3424
- * @format GUID
3425
- */
3426
- postId?: string;
3427
- /**
3428
- * Translation language
3429
- * @format LANGUAGE_TAG
3430
- */
3431
- language?: string;
3432
- /**
3433
- * List of draft post fields to be included if entities are present in the response.
3434
- * Base fieldset, which is default, will return all core draft post properties.
3435
- * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
3436
- * @maxSize 10
3437
- */
3438
- fieldsets?: FieldWithLiterals[];
3439
- }
3440
- interface TranslateDraftResponse {
3441
- /** Draft post. */
3442
- draftPost?: DraftPost;
3443
- }
3444
- interface IsDraftPostAutoTranslatableRequest {
3445
- /**
3446
- * Source post or draft ID.
3447
- * @format GUID
3448
- */
3449
- draftPostId?: string;
3450
- }
3451
- interface IsDraftPostAutoTranslatableResponse {
3452
- /**
3453
- * Source draft post ID.
3454
- * @format GUID
3455
- */
3456
- draftPostId?: string;
3457
- /** Indicates if enough machine translation credits are available for the draft post translation. */
3458
- translatable?: boolean;
3459
- /** Draft post title word count. */
3460
- titleWordCount?: number;
3461
- /** Draft post content word count. */
3462
- contentWordCount?: number;
3463
- /** Word credits available for auto translation. */
3464
- availableAutoTranslateWords?: number;
3465
- /** Word credits available after auto translation would be done. */
3466
- availableAutoTranslateWordsAfter?: number;
3467
- /** Content text character count. */
3468
- contentTextCharacterCount?: number;
3469
- }
3470
- interface UpdateDraftPostLanguageRequest {
3471
- /**
3472
- * Source draft post ID
3473
- * @format GUID
3474
- */
3475
- postId?: string;
3476
- /**
3477
- * New language to replace to
3478
- * @minLength 2
3479
- * @format LANGUAGE_TAG
3480
- */
3481
- language?: string;
3482
- /**
3483
- * List of draft post fields to be included if entities are present in the response.
3484
- * Base fieldset, which is default, will return all core draft post properties.
3485
- * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
3486
- * @maxSize 10
3487
- */
3488
- fieldsets?: FieldWithLiterals[];
3489
- }
3490
- interface UpdateDraftPostLanguageResponse {
3491
- /** Draft post */
3492
- draftPost?: DraftPost;
3493
- }
3494
3421
  interface BulkRevertToUnpublishedRequest {
3495
3422
  /**
3496
3423
  * Source post IDs.
@@ -3602,6 +3529,79 @@ interface MarkPostAsInModerationResponse {
3602
3529
  /** Updated post draft. */
3603
3530
  draftPost?: DraftPost;
3604
3531
  }
3532
+ interface TranslateDraftRequest {
3533
+ /**
3534
+ * Source post or draft ID
3535
+ * @format GUID
3536
+ */
3537
+ postId?: string;
3538
+ /**
3539
+ * Translation language
3540
+ * @format LANGUAGE_TAG
3541
+ */
3542
+ language?: string;
3543
+ /**
3544
+ * List of draft post fields to be included if entities are present in the response.
3545
+ * Base fieldset, which is default, will return all core draft post properties.
3546
+ * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
3547
+ * @maxSize 10
3548
+ */
3549
+ fieldsets?: FieldWithLiterals[];
3550
+ }
3551
+ interface TranslateDraftResponse {
3552
+ /** Draft post. */
3553
+ draftPost?: DraftPost;
3554
+ }
3555
+ interface IsDraftPostAutoTranslatableRequest {
3556
+ /**
3557
+ * Source post or draft ID.
3558
+ * @format GUID
3559
+ */
3560
+ draftPostId?: string;
3561
+ }
3562
+ interface IsDraftPostAutoTranslatableResponse {
3563
+ /**
3564
+ * Source draft post ID.
3565
+ * @format GUID
3566
+ */
3567
+ draftPostId?: string;
3568
+ /** Indicates if enough machine translation credits are available for the draft post translation. */
3569
+ translatable?: boolean;
3570
+ /** Draft post title word count. */
3571
+ titleWordCount?: number;
3572
+ /** Draft post content word count. */
3573
+ contentWordCount?: number;
3574
+ /** Word credits available for auto translation. */
3575
+ availableAutoTranslateWords?: number;
3576
+ /** Word credits available after auto translation would be done. */
3577
+ availableAutoTranslateWordsAfter?: number;
3578
+ /** Content text character count. */
3579
+ contentTextCharacterCount?: number;
3580
+ }
3581
+ interface UpdateDraftPostLanguageRequest {
3582
+ /**
3583
+ * Source draft post ID
3584
+ * @format GUID
3585
+ */
3586
+ postId?: string;
3587
+ /**
3588
+ * New language to replace to
3589
+ * @minLength 2
3590
+ * @format LANGUAGE_TAG
3591
+ */
3592
+ language?: string;
3593
+ /**
3594
+ * List of draft post fields to be included if entities are present in the response.
3595
+ * Base fieldset, which is default, will return all core draft post properties.
3596
+ * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
3597
+ * @maxSize 10
3598
+ */
3599
+ fieldsets?: FieldWithLiterals[];
3600
+ }
3601
+ interface UpdateDraftPostLanguageResponse {
3602
+ /** Draft post */
3603
+ draftPost?: DraftPost;
3604
+ }
3605
3605
 
3606
3606
  type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
3607
3607
  getUrl: (context: any) => string;