@wix/auto_sdk_blog_draft-posts 1.0.82 → 1.0.83
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.
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +73 -73
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +73 -73
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +73 -73
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +73 -73
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +73 -73
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +73 -73
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +73 -73
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +73 -73
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -3468,79 +3468,6 @@ interface DraftPostCount {
|
|
|
3468
3468
|
/** Number of posts. */
|
|
3469
3469
|
postCount?: number;
|
|
3470
3470
|
}
|
|
3471
|
-
interface TranslateDraftRequest {
|
|
3472
|
-
/**
|
|
3473
|
-
* Source post or draft ID
|
|
3474
|
-
* @format GUID
|
|
3475
|
-
*/
|
|
3476
|
-
postId?: string;
|
|
3477
|
-
/**
|
|
3478
|
-
* Translation language
|
|
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 TranslateDraftResponse {
|
|
3491
|
-
/** Draft post. */
|
|
3492
|
-
draftPost?: DraftPost;
|
|
3493
|
-
}
|
|
3494
|
-
interface IsDraftPostAutoTranslatableRequest {
|
|
3495
|
-
/**
|
|
3496
|
-
* Source post or draft ID.
|
|
3497
|
-
* @format GUID
|
|
3498
|
-
*/
|
|
3499
|
-
draftPostId?: string;
|
|
3500
|
-
}
|
|
3501
|
-
interface IsDraftPostAutoTranslatableResponse {
|
|
3502
|
-
/**
|
|
3503
|
-
* Source draft post ID.
|
|
3504
|
-
* @format GUID
|
|
3505
|
-
*/
|
|
3506
|
-
draftPostId?: string;
|
|
3507
|
-
/** Indicates if enough machine translation credits are available for the draft post translation. */
|
|
3508
|
-
translatable?: boolean;
|
|
3509
|
-
/** Draft post title word count. */
|
|
3510
|
-
titleWordCount?: number;
|
|
3511
|
-
/** Draft post content word count. */
|
|
3512
|
-
contentWordCount?: number;
|
|
3513
|
-
/** Word credits available for auto translation. */
|
|
3514
|
-
availableAutoTranslateWords?: number;
|
|
3515
|
-
/** Word credits available after auto translation would be done. */
|
|
3516
|
-
availableAutoTranslateWordsAfter?: number;
|
|
3517
|
-
/** Content text character count. */
|
|
3518
|
-
contentTextCharacterCount?: number;
|
|
3519
|
-
}
|
|
3520
|
-
interface UpdateDraftPostLanguageRequest {
|
|
3521
|
-
/**
|
|
3522
|
-
* Source draft post ID
|
|
3523
|
-
* @format GUID
|
|
3524
|
-
*/
|
|
3525
|
-
postId?: string;
|
|
3526
|
-
/**
|
|
3527
|
-
* New language to replace to
|
|
3528
|
-
* @minLength 2
|
|
3529
|
-
* @format LANGUAGE_TAG
|
|
3530
|
-
*/
|
|
3531
|
-
language?: string;
|
|
3532
|
-
/**
|
|
3533
|
-
* List of draft post fields to be included if entities are present in the response.
|
|
3534
|
-
* Base fieldset, which is default, will return all core draft post properties.
|
|
3535
|
-
* Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
|
|
3536
|
-
* @maxSize 10
|
|
3537
|
-
*/
|
|
3538
|
-
fieldsets?: FieldWithLiterals[];
|
|
3539
|
-
}
|
|
3540
|
-
interface UpdateDraftPostLanguageResponse {
|
|
3541
|
-
/** Draft post */
|
|
3542
|
-
draftPost?: DraftPost;
|
|
3543
|
-
}
|
|
3544
3471
|
interface BulkRevertToUnpublishedRequest {
|
|
3545
3472
|
/**
|
|
3546
3473
|
* Source post IDs.
|
|
@@ -3652,6 +3579,79 @@ interface MarkPostAsInModerationResponse {
|
|
|
3652
3579
|
/** Updated post draft. */
|
|
3653
3580
|
draftPost?: DraftPost;
|
|
3654
3581
|
}
|
|
3582
|
+
interface TranslateDraftRequest {
|
|
3583
|
+
/**
|
|
3584
|
+
* Source post or draft ID
|
|
3585
|
+
* @format GUID
|
|
3586
|
+
*/
|
|
3587
|
+
postId?: string;
|
|
3588
|
+
/**
|
|
3589
|
+
* Translation language
|
|
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 TranslateDraftResponse {
|
|
3602
|
+
/** Draft post. */
|
|
3603
|
+
draftPost?: DraftPost;
|
|
3604
|
+
}
|
|
3605
|
+
interface IsDraftPostAutoTranslatableRequest {
|
|
3606
|
+
/**
|
|
3607
|
+
* Source post or draft ID.
|
|
3608
|
+
* @format GUID
|
|
3609
|
+
*/
|
|
3610
|
+
draftPostId?: string;
|
|
3611
|
+
}
|
|
3612
|
+
interface IsDraftPostAutoTranslatableResponse {
|
|
3613
|
+
/**
|
|
3614
|
+
* Source draft post ID.
|
|
3615
|
+
* @format GUID
|
|
3616
|
+
*/
|
|
3617
|
+
draftPostId?: string;
|
|
3618
|
+
/** Indicates if enough machine translation credits are available for the draft post translation. */
|
|
3619
|
+
translatable?: boolean;
|
|
3620
|
+
/** Draft post title word count. */
|
|
3621
|
+
titleWordCount?: number;
|
|
3622
|
+
/** Draft post content word count. */
|
|
3623
|
+
contentWordCount?: number;
|
|
3624
|
+
/** Word credits available for auto translation. */
|
|
3625
|
+
availableAutoTranslateWords?: number;
|
|
3626
|
+
/** Word credits available after auto translation would be done. */
|
|
3627
|
+
availableAutoTranslateWordsAfter?: number;
|
|
3628
|
+
/** Content text character count. */
|
|
3629
|
+
contentTextCharacterCount?: number;
|
|
3630
|
+
}
|
|
3631
|
+
interface UpdateDraftPostLanguageRequest {
|
|
3632
|
+
/**
|
|
3633
|
+
* Source draft post ID
|
|
3634
|
+
* @format GUID
|
|
3635
|
+
*/
|
|
3636
|
+
postId?: string;
|
|
3637
|
+
/**
|
|
3638
|
+
* New language to replace to
|
|
3639
|
+
* @minLength 2
|
|
3640
|
+
* @format LANGUAGE_TAG
|
|
3641
|
+
*/
|
|
3642
|
+
language?: string;
|
|
3643
|
+
/**
|
|
3644
|
+
* List of draft post fields to be included if entities are present in the response.
|
|
3645
|
+
* Base fieldset, which is default, will return all core draft post properties.
|
|
3646
|
+
* Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
|
|
3647
|
+
* @maxSize 10
|
|
3648
|
+
*/
|
|
3649
|
+
fieldsets?: FieldWithLiterals[];
|
|
3650
|
+
}
|
|
3651
|
+
interface UpdateDraftPostLanguageResponse {
|
|
3652
|
+
/** Draft post */
|
|
3653
|
+
draftPost?: DraftPost;
|
|
3654
|
+
}
|
|
3655
3655
|
interface BaseEventMetadata {
|
|
3656
3656
|
/**
|
|
3657
3657
|
* App instance ID.
|