@wix/auto_sdk_blog_draft-posts 1.0.80 → 1.0.81
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
|
@@ -3372,6 +3372,79 @@ interface DraftPostCount {
|
|
|
3372
3372
|
/** Number of posts. */
|
|
3373
3373
|
postCount?: number;
|
|
3374
3374
|
}
|
|
3375
|
+
interface TranslateDraftRequest {
|
|
3376
|
+
/**
|
|
3377
|
+
* Source post or draft ID
|
|
3378
|
+
* @format GUID
|
|
3379
|
+
*/
|
|
3380
|
+
postId?: string;
|
|
3381
|
+
/**
|
|
3382
|
+
* Translation language
|
|
3383
|
+
* @format LANGUAGE_TAG
|
|
3384
|
+
*/
|
|
3385
|
+
language?: string;
|
|
3386
|
+
/**
|
|
3387
|
+
* List of draft post fields to be included if entities are present in the response.
|
|
3388
|
+
* Base fieldset, which is default, will return all core draft post properties.
|
|
3389
|
+
* Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
|
|
3390
|
+
* @maxSize 10
|
|
3391
|
+
*/
|
|
3392
|
+
fieldsets?: FieldWithLiterals[];
|
|
3393
|
+
}
|
|
3394
|
+
interface TranslateDraftResponse {
|
|
3395
|
+
/** Draft post. */
|
|
3396
|
+
draftPost?: DraftPost;
|
|
3397
|
+
}
|
|
3398
|
+
interface IsDraftPostAutoTranslatableRequest {
|
|
3399
|
+
/**
|
|
3400
|
+
* Source post or draft ID.
|
|
3401
|
+
* @format GUID
|
|
3402
|
+
*/
|
|
3403
|
+
draftPostId?: string;
|
|
3404
|
+
}
|
|
3405
|
+
interface IsDraftPostAutoTranslatableResponse {
|
|
3406
|
+
/**
|
|
3407
|
+
* Source draft post ID.
|
|
3408
|
+
* @format GUID
|
|
3409
|
+
*/
|
|
3410
|
+
draftPostId?: string;
|
|
3411
|
+
/** Indicates if enough machine translation credits are available for the draft post translation. */
|
|
3412
|
+
translatable?: boolean;
|
|
3413
|
+
/** Draft post title word count. */
|
|
3414
|
+
titleWordCount?: number;
|
|
3415
|
+
/** Draft post content word count. */
|
|
3416
|
+
contentWordCount?: number;
|
|
3417
|
+
/** Word credits available for auto translation. */
|
|
3418
|
+
availableAutoTranslateWords?: number;
|
|
3419
|
+
/** Word credits available after auto translation would be done. */
|
|
3420
|
+
availableAutoTranslateWordsAfter?: number;
|
|
3421
|
+
/** Content text character count. */
|
|
3422
|
+
contentTextCharacterCount?: number;
|
|
3423
|
+
}
|
|
3424
|
+
interface UpdateDraftPostLanguageRequest {
|
|
3425
|
+
/**
|
|
3426
|
+
* Source draft post ID
|
|
3427
|
+
* @format GUID
|
|
3428
|
+
*/
|
|
3429
|
+
postId?: string;
|
|
3430
|
+
/**
|
|
3431
|
+
* New language to replace to
|
|
3432
|
+
* @minLength 2
|
|
3433
|
+
* @format LANGUAGE_TAG
|
|
3434
|
+
*/
|
|
3435
|
+
language?: string;
|
|
3436
|
+
/**
|
|
3437
|
+
* List of draft post fields to be included if entities are present in the response.
|
|
3438
|
+
* Base fieldset, which is default, will return all core draft post properties.
|
|
3439
|
+
* Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
|
|
3440
|
+
* @maxSize 10
|
|
3441
|
+
*/
|
|
3442
|
+
fieldsets?: FieldWithLiterals[];
|
|
3443
|
+
}
|
|
3444
|
+
interface UpdateDraftPostLanguageResponse {
|
|
3445
|
+
/** Draft post */
|
|
3446
|
+
draftPost?: DraftPost;
|
|
3447
|
+
}
|
|
3375
3448
|
interface BulkRevertToUnpublishedRequest {
|
|
3376
3449
|
/**
|
|
3377
3450
|
* Source post IDs.
|
|
@@ -3483,79 +3556,6 @@ interface MarkPostAsInModerationResponse {
|
|
|
3483
3556
|
/** Updated post draft. */
|
|
3484
3557
|
draftPost?: DraftPost;
|
|
3485
3558
|
}
|
|
3486
|
-
interface TranslateDraftRequest {
|
|
3487
|
-
/**
|
|
3488
|
-
* Source post or draft ID
|
|
3489
|
-
* @format GUID
|
|
3490
|
-
*/
|
|
3491
|
-
postId?: string;
|
|
3492
|
-
/**
|
|
3493
|
-
* Translation language
|
|
3494
|
-
* @format LANGUAGE_TAG
|
|
3495
|
-
*/
|
|
3496
|
-
language?: string;
|
|
3497
|
-
/**
|
|
3498
|
-
* List of draft post fields to be included if entities are present in the response.
|
|
3499
|
-
* Base fieldset, which is default, will return all core draft post properties.
|
|
3500
|
-
* Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
|
|
3501
|
-
* @maxSize 10
|
|
3502
|
-
*/
|
|
3503
|
-
fieldsets?: FieldWithLiterals[];
|
|
3504
|
-
}
|
|
3505
|
-
interface TranslateDraftResponse {
|
|
3506
|
-
/** Draft post. */
|
|
3507
|
-
draftPost?: DraftPost;
|
|
3508
|
-
}
|
|
3509
|
-
interface IsDraftPostAutoTranslatableRequest {
|
|
3510
|
-
/**
|
|
3511
|
-
* Source post or draft ID.
|
|
3512
|
-
* @format GUID
|
|
3513
|
-
*/
|
|
3514
|
-
draftPostId?: string;
|
|
3515
|
-
}
|
|
3516
|
-
interface IsDraftPostAutoTranslatableResponse {
|
|
3517
|
-
/**
|
|
3518
|
-
* Source draft post ID.
|
|
3519
|
-
* @format GUID
|
|
3520
|
-
*/
|
|
3521
|
-
draftPostId?: string;
|
|
3522
|
-
/** Indicates if enough machine translation credits are available for the draft post translation. */
|
|
3523
|
-
translatable?: boolean;
|
|
3524
|
-
/** Draft post title word count. */
|
|
3525
|
-
titleWordCount?: number;
|
|
3526
|
-
/** Draft post content word count. */
|
|
3527
|
-
contentWordCount?: number;
|
|
3528
|
-
/** Word credits available for auto translation. */
|
|
3529
|
-
availableAutoTranslateWords?: number;
|
|
3530
|
-
/** Word credits available after auto translation would be done. */
|
|
3531
|
-
availableAutoTranslateWordsAfter?: number;
|
|
3532
|
-
/** Content text character count. */
|
|
3533
|
-
contentTextCharacterCount?: number;
|
|
3534
|
-
}
|
|
3535
|
-
interface UpdateDraftPostLanguageRequest {
|
|
3536
|
-
/**
|
|
3537
|
-
* Source draft post ID
|
|
3538
|
-
* @format GUID
|
|
3539
|
-
*/
|
|
3540
|
-
postId?: string;
|
|
3541
|
-
/**
|
|
3542
|
-
* New language to replace to
|
|
3543
|
-
* @minLength 2
|
|
3544
|
-
* @format LANGUAGE_TAG
|
|
3545
|
-
*/
|
|
3546
|
-
language?: string;
|
|
3547
|
-
/**
|
|
3548
|
-
* List of draft post fields to be included if entities are present in the response.
|
|
3549
|
-
* Base fieldset, which is default, will return all core draft post properties.
|
|
3550
|
-
* Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
|
|
3551
|
-
* @maxSize 10
|
|
3552
|
-
*/
|
|
3553
|
-
fieldsets?: FieldWithLiterals[];
|
|
3554
|
-
}
|
|
3555
|
-
interface UpdateDraftPostLanguageResponse {
|
|
3556
|
-
/** Draft post */
|
|
3557
|
-
draftPost?: DraftPost;
|
|
3558
|
-
}
|
|
3559
3559
|
interface BaseEventMetadata {
|
|
3560
3560
|
/**
|
|
3561
3561
|
* App instance ID.
|