@wix/auto_sdk_blog_draft-posts 1.0.102 → 1.0.104
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.d.ts +11 -11
- package/build/cjs/index.js +13 -13
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +284 -284
- package/build/cjs/index.typings.js +13 -13
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +274 -274
- package/build/cjs/meta.js +13 -13
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +11 -11
- package/build/es/index.mjs +13 -13
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +284 -284
- package/build/es/index.typings.mjs +13 -13
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +274 -274
- package/build/es/meta.mjs +13 -13
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +11 -11
- package/build/internal/cjs/index.typings.d.ts +313 -313
- package/build/internal/cjs/meta.d.ts +321 -321
- package/build/internal/es/index.d.mts +11 -11
- package/build/internal/es/index.typings.d.mts +313 -313
- package/build/internal/es/meta.d.mts +321 -321
- package/package.json +2 -2
|
@@ -3332,10 +3332,6 @@ interface DraftPostTranslation {
|
|
|
3332
3332
|
/** Post URL. */
|
|
3333
3333
|
url?: string;
|
|
3334
3334
|
}
|
|
3335
|
-
interface InitialDraftPostsCopied {
|
|
3336
|
-
/** Number of draft posts copied. */
|
|
3337
|
-
count?: number;
|
|
3338
|
-
}
|
|
3339
3335
|
interface DraftCategoriesUpdated {
|
|
3340
3336
|
/**
|
|
3341
3337
|
* Draft post ID.
|
|
@@ -3374,6 +3370,200 @@ interface DraftTagsUpdated {
|
|
|
3374
3370
|
*/
|
|
3375
3371
|
previousTags?: string[];
|
|
3376
3372
|
}
|
|
3373
|
+
interface GetDraftPostTotalsRequest {
|
|
3374
|
+
/**
|
|
3375
|
+
* Group results by fields (defaults to grouping by status).
|
|
3376
|
+
* If, for example, grouping by language is passed, language values in response will be filled.
|
|
3377
|
+
* If, for example, grouping by language is not passed, null values will be filled in language field in response.
|
|
3378
|
+
* @maxSize 10
|
|
3379
|
+
*/
|
|
3380
|
+
groupBy?: TotalDraftPostsGroupingFieldWithLiterals[];
|
|
3381
|
+
/**
|
|
3382
|
+
* Optional language filter by provided language code. Useful in multilingual context.
|
|
3383
|
+
* @format LANGUAGE_TAG
|
|
3384
|
+
*/
|
|
3385
|
+
language?: string | null;
|
|
3386
|
+
}
|
|
3387
|
+
declare enum TotalDraftPostsGroupingField {
|
|
3388
|
+
/** Groups results by status. */
|
|
3389
|
+
STATUS = "STATUS",
|
|
3390
|
+
/** Groups results by language. */
|
|
3391
|
+
LANGUAGE = "LANGUAGE"
|
|
3392
|
+
}
|
|
3393
|
+
/** @enumType */
|
|
3394
|
+
type TotalDraftPostsGroupingFieldWithLiterals = TotalDraftPostsGroupingField | 'STATUS' | 'LANGUAGE';
|
|
3395
|
+
interface GetDraftPostTotalsResponse {
|
|
3396
|
+
/** Draft post totals. */
|
|
3397
|
+
totalDraftPosts?: TotalDraftPosts[];
|
|
3398
|
+
}
|
|
3399
|
+
interface TotalDraftPosts {
|
|
3400
|
+
/** Draft post totals in that group. */
|
|
3401
|
+
total?: number;
|
|
3402
|
+
/** Draft post status (only has value when grouping by status, otherwise null). */
|
|
3403
|
+
status?: StatusWithLiterals;
|
|
3404
|
+
/**
|
|
3405
|
+
* Draft post language code (only has value when grouping by language, otherwise null).
|
|
3406
|
+
* @format LANGUAGE_TAG
|
|
3407
|
+
*/
|
|
3408
|
+
language?: string | null;
|
|
3409
|
+
}
|
|
3410
|
+
interface DomainEvent extends DomainEventBodyOneOf {
|
|
3411
|
+
createdEvent?: EntityCreatedEvent;
|
|
3412
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
3413
|
+
deletedEvent?: EntityDeletedEvent;
|
|
3414
|
+
actionEvent?: ActionEvent;
|
|
3415
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
3416
|
+
_id?: string;
|
|
3417
|
+
/**
|
|
3418
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
3419
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
3420
|
+
*/
|
|
3421
|
+
entityFqdn?: string;
|
|
3422
|
+
/**
|
|
3423
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
3424
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
3425
|
+
*/
|
|
3426
|
+
slug?: string;
|
|
3427
|
+
/** ID of the entity associated with the event. */
|
|
3428
|
+
entityId?: string;
|
|
3429
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
3430
|
+
eventTime?: Date | null;
|
|
3431
|
+
/**
|
|
3432
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
3433
|
+
* (for example, GDPR).
|
|
3434
|
+
*/
|
|
3435
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
3436
|
+
/** If present, indicates the action that triggered the event. */
|
|
3437
|
+
originatedFrom?: string | null;
|
|
3438
|
+
/**
|
|
3439
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number.
|
|
3440
|
+
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
3441
|
+
*/
|
|
3442
|
+
entityEventSequence?: string | null;
|
|
3443
|
+
}
|
|
3444
|
+
/** @oneof */
|
|
3445
|
+
interface DomainEventBodyOneOf {
|
|
3446
|
+
createdEvent?: EntityCreatedEvent;
|
|
3447
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
3448
|
+
deletedEvent?: EntityDeletedEvent;
|
|
3449
|
+
actionEvent?: ActionEvent;
|
|
3450
|
+
}
|
|
3451
|
+
interface EntityCreatedEvent {
|
|
3452
|
+
entity?: string;
|
|
3453
|
+
}
|
|
3454
|
+
interface RestoreInfo {
|
|
3455
|
+
deletedDate?: Date | null;
|
|
3456
|
+
}
|
|
3457
|
+
interface EntityUpdatedEvent {
|
|
3458
|
+
/**
|
|
3459
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
3460
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
3461
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
3462
|
+
*/
|
|
3463
|
+
currentEntity?: string;
|
|
3464
|
+
}
|
|
3465
|
+
interface EntityDeletedEvent {
|
|
3466
|
+
/** Entity that was deleted. */
|
|
3467
|
+
deletedEntity?: string | null;
|
|
3468
|
+
}
|
|
3469
|
+
interface ActionEvent {
|
|
3470
|
+
body?: string;
|
|
3471
|
+
}
|
|
3472
|
+
interface MessageEnvelope {
|
|
3473
|
+
/**
|
|
3474
|
+
* App instance ID.
|
|
3475
|
+
* @format GUID
|
|
3476
|
+
*/
|
|
3477
|
+
instanceId?: string | null;
|
|
3478
|
+
/**
|
|
3479
|
+
* Event type.
|
|
3480
|
+
* @maxLength 150
|
|
3481
|
+
*/
|
|
3482
|
+
eventType?: string;
|
|
3483
|
+
/** The identification type and identity data. */
|
|
3484
|
+
identity?: IdentificationData;
|
|
3485
|
+
/** Stringify payload. */
|
|
3486
|
+
data?: string;
|
|
3487
|
+
/** Details related to the account */
|
|
3488
|
+
accountInfo?: AccountInfo;
|
|
3489
|
+
}
|
|
3490
|
+
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
3491
|
+
/**
|
|
3492
|
+
* ID of a site visitor that has not logged in to the site.
|
|
3493
|
+
* @format GUID
|
|
3494
|
+
*/
|
|
3495
|
+
anonymousVisitorId?: string;
|
|
3496
|
+
/**
|
|
3497
|
+
* ID of a site visitor that has logged in to the site.
|
|
3498
|
+
* @format GUID
|
|
3499
|
+
*/
|
|
3500
|
+
memberId?: string;
|
|
3501
|
+
/**
|
|
3502
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
3503
|
+
* @format GUID
|
|
3504
|
+
*/
|
|
3505
|
+
wixUserId?: string;
|
|
3506
|
+
/**
|
|
3507
|
+
* ID of an app.
|
|
3508
|
+
* @format GUID
|
|
3509
|
+
*/
|
|
3510
|
+
appId?: string;
|
|
3511
|
+
/** @readonly */
|
|
3512
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
3513
|
+
}
|
|
3514
|
+
/** @oneof */
|
|
3515
|
+
interface IdentificationDataIdOneOf {
|
|
3516
|
+
/**
|
|
3517
|
+
* ID of a site visitor that has not logged in to the site.
|
|
3518
|
+
* @format GUID
|
|
3519
|
+
*/
|
|
3520
|
+
anonymousVisitorId?: string;
|
|
3521
|
+
/**
|
|
3522
|
+
* ID of a site visitor that has logged in to the site.
|
|
3523
|
+
* @format GUID
|
|
3524
|
+
*/
|
|
3525
|
+
memberId?: string;
|
|
3526
|
+
/**
|
|
3527
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
3528
|
+
* @format GUID
|
|
3529
|
+
*/
|
|
3530
|
+
wixUserId?: string;
|
|
3531
|
+
/**
|
|
3532
|
+
* ID of an app.
|
|
3533
|
+
* @format GUID
|
|
3534
|
+
*/
|
|
3535
|
+
appId?: string;
|
|
3536
|
+
}
|
|
3537
|
+
declare enum WebhookIdentityType {
|
|
3538
|
+
UNKNOWN = "UNKNOWN",
|
|
3539
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
3540
|
+
MEMBER = "MEMBER",
|
|
3541
|
+
WIX_USER = "WIX_USER",
|
|
3542
|
+
APP = "APP"
|
|
3543
|
+
}
|
|
3544
|
+
/** @enumType */
|
|
3545
|
+
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
3546
|
+
interface AccountInfo {
|
|
3547
|
+
/**
|
|
3548
|
+
* ID of the Wix account associated with the event.
|
|
3549
|
+
* @format GUID
|
|
3550
|
+
*/
|
|
3551
|
+
accountId?: string | null;
|
|
3552
|
+
/**
|
|
3553
|
+
* ID of the parent Wix account. Only included when accountId belongs to a child account.
|
|
3554
|
+
* @format GUID
|
|
3555
|
+
*/
|
|
3556
|
+
parentAccountId?: string | null;
|
|
3557
|
+
/**
|
|
3558
|
+
* ID of the Wix site associated with the event. Only included when the event is tied to a specific site.
|
|
3559
|
+
* @format GUID
|
|
3560
|
+
*/
|
|
3561
|
+
siteId?: string | null;
|
|
3562
|
+
}
|
|
3563
|
+
interface InitialDraftPostsCopied {
|
|
3564
|
+
/** Number of draft posts copied. */
|
|
3565
|
+
count?: number;
|
|
3566
|
+
}
|
|
3377
3567
|
interface CreateDraftPostRequest {
|
|
3378
3568
|
/** Draft post to create. */
|
|
3379
3569
|
draftPost: DraftPost;
|
|
@@ -4023,195 +4213,152 @@ interface DraftPostCount {
|
|
|
4023
4213
|
/** Number of posts. */
|
|
4024
4214
|
postCount?: number;
|
|
4025
4215
|
}
|
|
4026
|
-
interface
|
|
4027
|
-
createdEvent?: EntityCreatedEvent;
|
|
4028
|
-
updatedEvent?: EntityUpdatedEvent;
|
|
4029
|
-
deletedEvent?: EntityDeletedEvent;
|
|
4030
|
-
actionEvent?: ActionEvent;
|
|
4031
|
-
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
4032
|
-
_id?: string;
|
|
4216
|
+
interface BulkRevertToUnpublishedRequest {
|
|
4033
4217
|
/**
|
|
4034
|
-
*
|
|
4035
|
-
*
|
|
4218
|
+
* Source post IDs.
|
|
4219
|
+
* @minSize 1
|
|
4220
|
+
* @maxSize 100
|
|
4221
|
+
* @format GUID
|
|
4036
4222
|
*/
|
|
4037
|
-
|
|
4223
|
+
postIds?: string[];
|
|
4224
|
+
/** Should full draft post be returned. */
|
|
4225
|
+
returnFullEntity?: boolean;
|
|
4226
|
+
}
|
|
4227
|
+
interface BulkRevertToUnpublishedResponse {
|
|
4228
|
+
/** Bulk action results. */
|
|
4229
|
+
results?: BulkDraftPostResult[];
|
|
4230
|
+
/** Bulk action metadata. */
|
|
4231
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
4232
|
+
}
|
|
4233
|
+
interface BulkRejectDraftPostRequest {
|
|
4038
4234
|
/**
|
|
4039
|
-
*
|
|
4040
|
-
*
|
|
4235
|
+
* Source post IDs.
|
|
4236
|
+
* @minSize 1
|
|
4237
|
+
* @maxSize 100
|
|
4238
|
+
* @format GUID
|
|
4041
4239
|
*/
|
|
4042
|
-
|
|
4043
|
-
/**
|
|
4044
|
-
|
|
4045
|
-
|
|
4046
|
-
|
|
4240
|
+
postIds?: string[];
|
|
4241
|
+
/** Should full draft post be returned. */
|
|
4242
|
+
returnFullEntity?: boolean;
|
|
4243
|
+
}
|
|
4244
|
+
interface BulkRejectDraftPostResponse {
|
|
4245
|
+
/** Bulk action results. */
|
|
4246
|
+
results?: BulkDraftPostResult[];
|
|
4247
|
+
/** Bulk action metadata. */
|
|
4248
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
4249
|
+
}
|
|
4250
|
+
interface RevertToUnpublishedRequest {
|
|
4047
4251
|
/**
|
|
4048
|
-
*
|
|
4049
|
-
*
|
|
4252
|
+
* Source post ID.
|
|
4253
|
+
* @format GUID
|
|
4050
4254
|
*/
|
|
4051
|
-
|
|
4052
|
-
/** If present, indicates the action that triggered the event. */
|
|
4053
|
-
originatedFrom?: string | null;
|
|
4255
|
+
postId?: string;
|
|
4054
4256
|
/**
|
|
4055
|
-
*
|
|
4056
|
-
*
|
|
4257
|
+
* List of draft post fields to be included in the response.
|
|
4258
|
+
* @internal
|
|
4259
|
+
* @maxSize 10
|
|
4260
|
+
* @deprecated List of draft post fields to be included in the response.
|
|
4261
|
+
* @replacedBy fieldsets
|
|
4262
|
+
* @targetRemovalDate 2024-06-30
|
|
4057
4263
|
*/
|
|
4058
|
-
|
|
4059
|
-
}
|
|
4060
|
-
/** @oneof */
|
|
4061
|
-
interface DomainEventBodyOneOf {
|
|
4062
|
-
createdEvent?: EntityCreatedEvent;
|
|
4063
|
-
updatedEvent?: EntityUpdatedEvent;
|
|
4064
|
-
deletedEvent?: EntityDeletedEvent;
|
|
4065
|
-
actionEvent?: ActionEvent;
|
|
4066
|
-
}
|
|
4067
|
-
interface EntityCreatedEvent {
|
|
4068
|
-
entity?: string;
|
|
4069
|
-
}
|
|
4070
|
-
interface RestoreInfo {
|
|
4071
|
-
deletedDate?: Date | null;
|
|
4072
|
-
}
|
|
4073
|
-
interface EntityUpdatedEvent {
|
|
4264
|
+
fieldsToInclude?: FieldWithLiterals[];
|
|
4074
4265
|
/**
|
|
4075
|
-
*
|
|
4076
|
-
*
|
|
4077
|
-
*
|
|
4266
|
+
* List of draft post fields to be included if entities are present in the response.
|
|
4267
|
+
* Base fieldset, which is default, will return all core draft post properties.
|
|
4268
|
+
* Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
|
|
4269
|
+
* @maxSize 10
|
|
4078
4270
|
*/
|
|
4079
|
-
|
|
4080
|
-
}
|
|
4081
|
-
interface EntityDeletedEvent {
|
|
4082
|
-
/** Entity that was deleted. */
|
|
4083
|
-
deletedEntity?: string | null;
|
|
4084
|
-
}
|
|
4085
|
-
interface ActionEvent {
|
|
4086
|
-
body?: string;
|
|
4271
|
+
fieldsets?: FieldWithLiterals[];
|
|
4087
4272
|
}
|
|
4088
|
-
interface
|
|
4089
|
-
/**
|
|
4090
|
-
|
|
4091
|
-
* @format GUID
|
|
4092
|
-
*/
|
|
4093
|
-
instanceId?: string | null;
|
|
4094
|
-
/**
|
|
4095
|
-
* Event type.
|
|
4096
|
-
* @maxLength 150
|
|
4097
|
-
*/
|
|
4098
|
-
eventType?: string;
|
|
4099
|
-
/** The identification type and identity data. */
|
|
4100
|
-
identity?: IdentificationData;
|
|
4101
|
-
/** Stringify payload. */
|
|
4102
|
-
data?: string;
|
|
4103
|
-
/** Details related to the account */
|
|
4104
|
-
accountInfo?: AccountInfo;
|
|
4273
|
+
interface RevertToUnpublishedResponse {
|
|
4274
|
+
/** Updated post draft. */
|
|
4275
|
+
draftPost?: DraftPost;
|
|
4105
4276
|
}
|
|
4106
|
-
interface
|
|
4107
|
-
/**
|
|
4108
|
-
* ID of a site visitor that has not logged in to the site.
|
|
4109
|
-
* @format GUID
|
|
4110
|
-
*/
|
|
4111
|
-
anonymousVisitorId?: string;
|
|
4277
|
+
interface RejectDraftPostRequest {
|
|
4112
4278
|
/**
|
|
4113
|
-
*
|
|
4279
|
+
* Source post ID.
|
|
4114
4280
|
* @format GUID
|
|
4115
4281
|
*/
|
|
4116
|
-
|
|
4282
|
+
postId?: string;
|
|
4117
4283
|
/**
|
|
4118
|
-
*
|
|
4119
|
-
* @
|
|
4284
|
+
* List of draft post fields to be included in the response.
|
|
4285
|
+
* @internal
|
|
4286
|
+
* @maxSize 10
|
|
4287
|
+
* @deprecated List of draft post fields to be included in the response.
|
|
4288
|
+
* @replacedBy fieldsets
|
|
4289
|
+
* @targetRemovalDate 2024-06-30
|
|
4120
4290
|
*/
|
|
4121
|
-
|
|
4291
|
+
fieldsToInclude?: FieldWithLiterals[];
|
|
4122
4292
|
/**
|
|
4123
|
-
*
|
|
4124
|
-
*
|
|
4293
|
+
* List of draft post fields to be included if entities are present in the response.
|
|
4294
|
+
* Base fieldset, which is default, will return all core draft post properties.
|
|
4295
|
+
* Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
|
|
4296
|
+
* @maxSize 10
|
|
4125
4297
|
*/
|
|
4126
|
-
|
|
4127
|
-
/** @readonly */
|
|
4128
|
-
identityType?: WebhookIdentityTypeWithLiterals;
|
|
4298
|
+
fieldsets?: FieldWithLiterals[];
|
|
4129
4299
|
}
|
|
4130
|
-
|
|
4131
|
-
|
|
4300
|
+
interface RejectDraftPostResponse {
|
|
4301
|
+
/** Draft post. */
|
|
4302
|
+
draftPost?: DraftPost;
|
|
4303
|
+
}
|
|
4304
|
+
interface ApproveDraftPostRequest {
|
|
4132
4305
|
/**
|
|
4133
|
-
*
|
|
4306
|
+
* Source post ID.
|
|
4134
4307
|
* @format GUID
|
|
4135
4308
|
*/
|
|
4136
|
-
|
|
4309
|
+
postId?: string;
|
|
4137
4310
|
/**
|
|
4138
|
-
*
|
|
4139
|
-
* @
|
|
4311
|
+
* Scheduled publish date if should be not immediately published.
|
|
4312
|
+
* @maxLength 24
|
|
4140
4313
|
*/
|
|
4141
|
-
|
|
4314
|
+
scheduledPublishDate?: string | null;
|
|
4142
4315
|
/**
|
|
4143
|
-
*
|
|
4144
|
-
* @
|
|
4316
|
+
* List of draft post fields to be included in the response.
|
|
4317
|
+
* @internal
|
|
4318
|
+
* @maxSize 10
|
|
4319
|
+
* @deprecated List of draft post fields to be included in the response.
|
|
4320
|
+
* @replacedBy fieldsets
|
|
4321
|
+
* @targetRemovalDate 2024-06-30
|
|
4145
4322
|
*/
|
|
4146
|
-
|
|
4323
|
+
fieldsToInclude?: FieldWithLiterals[];
|
|
4147
4324
|
/**
|
|
4148
|
-
*
|
|
4149
|
-
*
|
|
4325
|
+
* List of draft post fields to be included if entities are present in the response.
|
|
4326
|
+
* Base fieldset, which is default, will return all core draft post properties.
|
|
4327
|
+
* Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
|
|
4328
|
+
* @maxSize 10
|
|
4150
4329
|
*/
|
|
4151
|
-
|
|
4330
|
+
fieldsets?: FieldWithLiterals[];
|
|
4152
4331
|
}
|
|
4153
|
-
|
|
4154
|
-
|
|
4155
|
-
|
|
4156
|
-
MEMBER = "MEMBER",
|
|
4157
|
-
WIX_USER = "WIX_USER",
|
|
4158
|
-
APP = "APP"
|
|
4332
|
+
interface ApproveDraftPostResponse {
|
|
4333
|
+
/** Updated post draft. */
|
|
4334
|
+
draftPost?: DraftPost;
|
|
4159
4335
|
}
|
|
4160
|
-
|
|
4161
|
-
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
4162
|
-
interface AccountInfo {
|
|
4163
|
-
/**
|
|
4164
|
-
* ID of the Wix account associated with the event.
|
|
4165
|
-
* @format GUID
|
|
4166
|
-
*/
|
|
4167
|
-
accountId?: string | null;
|
|
4168
|
-
/**
|
|
4169
|
-
* ID of the parent Wix account. Only included when accountId belongs to a child account.
|
|
4170
|
-
* @format GUID
|
|
4171
|
-
*/
|
|
4172
|
-
parentAccountId?: string | null;
|
|
4336
|
+
interface MarkPostAsInModerationRequest {
|
|
4173
4337
|
/**
|
|
4174
|
-
*
|
|
4175
|
-
* @
|
|
4338
|
+
* Source post ID.
|
|
4339
|
+
* @maxLength 38
|
|
4176
4340
|
*/
|
|
4177
|
-
|
|
4178
|
-
}
|
|
4179
|
-
interface GetDraftPostTotalsRequest {
|
|
4341
|
+
postId?: string;
|
|
4180
4342
|
/**
|
|
4181
|
-
*
|
|
4182
|
-
*
|
|
4183
|
-
* If, for example, grouping by language is not passed, null values will be filled in language field in response.
|
|
4343
|
+
* List of draft post fields to be included in the response.
|
|
4344
|
+
* @internal
|
|
4184
4345
|
* @maxSize 10
|
|
4346
|
+
* @deprecated List of draft post fields to be included in the response.
|
|
4347
|
+
* @replacedBy fieldsets
|
|
4348
|
+
* @targetRemovalDate 2024-06-30
|
|
4185
4349
|
*/
|
|
4186
|
-
|
|
4350
|
+
fieldsToInclude?: FieldWithLiterals[];
|
|
4187
4351
|
/**
|
|
4188
|
-
*
|
|
4189
|
-
*
|
|
4352
|
+
* List of draft post fields to be included if entities are present in the response.
|
|
4353
|
+
* Base fieldset, which is default, will return all core draft post properties.
|
|
4354
|
+
* Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
|
|
4355
|
+
* @maxSize 10
|
|
4190
4356
|
*/
|
|
4191
|
-
|
|
4192
|
-
}
|
|
4193
|
-
declare enum TotalDraftPostsGroupingField {
|
|
4194
|
-
/** Groups results by status. */
|
|
4195
|
-
STATUS = "STATUS",
|
|
4196
|
-
/** Groups results by language. */
|
|
4197
|
-
LANGUAGE = "LANGUAGE"
|
|
4198
|
-
}
|
|
4199
|
-
/** @enumType */
|
|
4200
|
-
type TotalDraftPostsGroupingFieldWithLiterals = TotalDraftPostsGroupingField | 'STATUS' | 'LANGUAGE';
|
|
4201
|
-
interface GetDraftPostTotalsResponse {
|
|
4202
|
-
/** Draft post totals. */
|
|
4203
|
-
totalDraftPosts?: TotalDraftPosts[];
|
|
4357
|
+
fieldsets?: FieldWithLiterals[];
|
|
4204
4358
|
}
|
|
4205
|
-
interface
|
|
4206
|
-
/**
|
|
4207
|
-
|
|
4208
|
-
/** Draft post status (only has value when grouping by status, otherwise null). */
|
|
4209
|
-
status?: StatusWithLiterals;
|
|
4210
|
-
/**
|
|
4211
|
-
* Draft post language code (only has value when grouping by language, otherwise null).
|
|
4212
|
-
* @format LANGUAGE_TAG
|
|
4213
|
-
*/
|
|
4214
|
-
language?: string | null;
|
|
4359
|
+
interface MarkPostAsInModerationResponse {
|
|
4360
|
+
/** Updated post draft. */
|
|
4361
|
+
draftPost?: DraftPost;
|
|
4215
4362
|
}
|
|
4216
4363
|
interface TranslateDraftRequest {
|
|
4217
4364
|
/**
|
|
@@ -4291,153 +4438,6 @@ interface UpdateDraftPostLanguageResponse {
|
|
|
4291
4438
|
/** Draft post */
|
|
4292
4439
|
draftPost?: DraftPost;
|
|
4293
4440
|
}
|
|
4294
|
-
interface BulkRevertToUnpublishedRequest {
|
|
4295
|
-
/**
|
|
4296
|
-
* Source post IDs.
|
|
4297
|
-
* @minSize 1
|
|
4298
|
-
* @maxSize 100
|
|
4299
|
-
* @format GUID
|
|
4300
|
-
*/
|
|
4301
|
-
postIds?: string[];
|
|
4302
|
-
/** Should full draft post be returned. */
|
|
4303
|
-
returnFullEntity?: boolean;
|
|
4304
|
-
}
|
|
4305
|
-
interface BulkRevertToUnpublishedResponse {
|
|
4306
|
-
/** Bulk action results. */
|
|
4307
|
-
results?: BulkDraftPostResult[];
|
|
4308
|
-
/** Bulk action metadata. */
|
|
4309
|
-
bulkActionMetadata?: BulkActionMetadata;
|
|
4310
|
-
}
|
|
4311
|
-
interface BulkRejectDraftPostRequest {
|
|
4312
|
-
/**
|
|
4313
|
-
* Source post IDs.
|
|
4314
|
-
* @minSize 1
|
|
4315
|
-
* @maxSize 100
|
|
4316
|
-
* @format GUID
|
|
4317
|
-
*/
|
|
4318
|
-
postIds?: string[];
|
|
4319
|
-
/** Should full draft post be returned. */
|
|
4320
|
-
returnFullEntity?: boolean;
|
|
4321
|
-
}
|
|
4322
|
-
interface BulkRejectDraftPostResponse {
|
|
4323
|
-
/** Bulk action results. */
|
|
4324
|
-
results?: BulkDraftPostResult[];
|
|
4325
|
-
/** Bulk action metadata. */
|
|
4326
|
-
bulkActionMetadata?: BulkActionMetadata;
|
|
4327
|
-
}
|
|
4328
|
-
interface RevertToUnpublishedRequest {
|
|
4329
|
-
/**
|
|
4330
|
-
* Source post ID.
|
|
4331
|
-
* @format GUID
|
|
4332
|
-
*/
|
|
4333
|
-
postId?: string;
|
|
4334
|
-
/**
|
|
4335
|
-
* List of draft post fields to be included in the response.
|
|
4336
|
-
* @internal
|
|
4337
|
-
* @maxSize 10
|
|
4338
|
-
* @deprecated List of draft post fields to be included in the response.
|
|
4339
|
-
* @replacedBy fieldsets
|
|
4340
|
-
* @targetRemovalDate 2024-06-30
|
|
4341
|
-
*/
|
|
4342
|
-
fieldsToInclude?: FieldWithLiterals[];
|
|
4343
|
-
/**
|
|
4344
|
-
* List of draft post fields to be included if entities are present in the response.
|
|
4345
|
-
* Base fieldset, which is default, will return all core draft post properties.
|
|
4346
|
-
* Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
|
|
4347
|
-
* @maxSize 10
|
|
4348
|
-
*/
|
|
4349
|
-
fieldsets?: FieldWithLiterals[];
|
|
4350
|
-
}
|
|
4351
|
-
interface RevertToUnpublishedResponse {
|
|
4352
|
-
/** Updated post draft. */
|
|
4353
|
-
draftPost?: DraftPost;
|
|
4354
|
-
}
|
|
4355
|
-
interface RejectDraftPostRequest {
|
|
4356
|
-
/**
|
|
4357
|
-
* Source post ID.
|
|
4358
|
-
* @format GUID
|
|
4359
|
-
*/
|
|
4360
|
-
postId?: string;
|
|
4361
|
-
/**
|
|
4362
|
-
* List of draft post fields to be included in the response.
|
|
4363
|
-
* @internal
|
|
4364
|
-
* @maxSize 10
|
|
4365
|
-
* @deprecated List of draft post fields to be included in the response.
|
|
4366
|
-
* @replacedBy fieldsets
|
|
4367
|
-
* @targetRemovalDate 2024-06-30
|
|
4368
|
-
*/
|
|
4369
|
-
fieldsToInclude?: FieldWithLiterals[];
|
|
4370
|
-
/**
|
|
4371
|
-
* List of draft post fields to be included if entities are present in the response.
|
|
4372
|
-
* Base fieldset, which is default, will return all core draft post properties.
|
|
4373
|
-
* Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
|
|
4374
|
-
* @maxSize 10
|
|
4375
|
-
*/
|
|
4376
|
-
fieldsets?: FieldWithLiterals[];
|
|
4377
|
-
}
|
|
4378
|
-
interface RejectDraftPostResponse {
|
|
4379
|
-
/** Draft post. */
|
|
4380
|
-
draftPost?: DraftPost;
|
|
4381
|
-
}
|
|
4382
|
-
interface ApproveDraftPostRequest {
|
|
4383
|
-
/**
|
|
4384
|
-
* Source post ID.
|
|
4385
|
-
* @format GUID
|
|
4386
|
-
*/
|
|
4387
|
-
postId?: string;
|
|
4388
|
-
/**
|
|
4389
|
-
* Scheduled publish date if should be not immediately published.
|
|
4390
|
-
* @maxLength 24
|
|
4391
|
-
*/
|
|
4392
|
-
scheduledPublishDate?: string | null;
|
|
4393
|
-
/**
|
|
4394
|
-
* List of draft post fields to be included in the response.
|
|
4395
|
-
* @internal
|
|
4396
|
-
* @maxSize 10
|
|
4397
|
-
* @deprecated List of draft post fields to be included in the response.
|
|
4398
|
-
* @replacedBy fieldsets
|
|
4399
|
-
* @targetRemovalDate 2024-06-30
|
|
4400
|
-
*/
|
|
4401
|
-
fieldsToInclude?: FieldWithLiterals[];
|
|
4402
|
-
/**
|
|
4403
|
-
* List of draft post fields to be included if entities are present in the response.
|
|
4404
|
-
* Base fieldset, which is default, will return all core draft post properties.
|
|
4405
|
-
* Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
|
|
4406
|
-
* @maxSize 10
|
|
4407
|
-
*/
|
|
4408
|
-
fieldsets?: FieldWithLiterals[];
|
|
4409
|
-
}
|
|
4410
|
-
interface ApproveDraftPostResponse {
|
|
4411
|
-
/** Updated post draft. */
|
|
4412
|
-
draftPost?: DraftPost;
|
|
4413
|
-
}
|
|
4414
|
-
interface MarkPostAsInModerationRequest {
|
|
4415
|
-
/**
|
|
4416
|
-
* Source post ID.
|
|
4417
|
-
* @maxLength 38
|
|
4418
|
-
*/
|
|
4419
|
-
postId?: string;
|
|
4420
|
-
/**
|
|
4421
|
-
* List of draft post fields to be included in the response.
|
|
4422
|
-
* @internal
|
|
4423
|
-
* @maxSize 10
|
|
4424
|
-
* @deprecated List of draft post fields to be included in the response.
|
|
4425
|
-
* @replacedBy fieldsets
|
|
4426
|
-
* @targetRemovalDate 2024-06-30
|
|
4427
|
-
*/
|
|
4428
|
-
fieldsToInclude?: FieldWithLiterals[];
|
|
4429
|
-
/**
|
|
4430
|
-
* List of draft post fields to be included if entities are present in the response.
|
|
4431
|
-
* Base fieldset, which is default, will return all core draft post properties.
|
|
4432
|
-
* Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
|
|
4433
|
-
* @maxSize 10
|
|
4434
|
-
*/
|
|
4435
|
-
fieldsets?: FieldWithLiterals[];
|
|
4436
|
-
}
|
|
4437
|
-
interface MarkPostAsInModerationResponse {
|
|
4438
|
-
/** Updated post draft. */
|
|
4439
|
-
draftPost?: DraftPost;
|
|
4440
|
-
}
|
|
4441
4441
|
interface BaseEventMetadata {
|
|
4442
4442
|
/**
|
|
4443
4443
|
* App instance ID.
|
|
@@ -4584,7 +4584,7 @@ declare function onDraftUpdated(handler: (event: DraftUpdatedEnvelope) => void |
|
|
|
4584
4584
|
* @applicableIdentity APP
|
|
4585
4585
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.CreateDraftPost
|
|
4586
4586
|
*/
|
|
4587
|
-
declare function createDraftPost(draftPost: NonNullablePaths<DraftPost, `title`,
|
|
4587
|
+
declare function createDraftPost(draftPost: NonNullablePaths<DraftPost, `title`, 0>, options?: CreateDraftPostOptions): Promise<NonNullablePaths<CreateDraftPostResponse, `draftPost._id` | `draftPost.title` | `draftPost.categoryIds` | `draftPost.hashtags` | `draftPost.minutesToRead` | `draftPost.tagIds` | `draftPost.relatedPostIds` | `draftPost.pricingPlanIds` | `draftPost.status` | `draftPost.moderationDetails.submittedBy` | `draftPost.moderationDetails.status` | `draftPost.hasUnpublishedChanges` | `draftPost.seoData.tags` | `draftPost.seoData.tags.${number}.type` | `draftPost.seoData.tags.${number}.children` | `draftPost.seoData.tags.${number}.custom` | `draftPost.seoData.tags.${number}.disabled` | `draftPost.seoData.settings.preventAutoRedirect` | `draftPost.seoData.settings.keywords` | `draftPost.seoData.settings.keywords.${number}.term` | `draftPost.seoData.settings.keywords.${number}.isMain` | `draftPost.media.embedMedia.thumbnail.url` | `draftPost.media.embedMedia.thumbnail.width` | `draftPost.media.embedMedia.thumbnail.height` | `draftPost.media.embedMedia.video.url` | `draftPost.media.embedMedia.video.width` | `draftPost.media.embedMedia.video.height` | `draftPost.media.displayed` | `draftPost.media.custom`, 5>>;
|
|
4588
4588
|
interface CreateDraftPostOptions {
|
|
4589
4589
|
/**
|
|
4590
4590
|
* Whether the draft post should be published on creation.
|
|
@@ -4611,7 +4611,7 @@ interface CreateDraftPostOptions {
|
|
|
4611
4611
|
* @applicableIdentity APP
|
|
4612
4612
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.BulkCreateDraftPosts
|
|
4613
4613
|
*/
|
|
4614
|
-
declare function bulkCreateDraftPosts(draftPosts: NonNullablePaths<DraftPost, `title`,
|
|
4614
|
+
declare function bulkCreateDraftPosts(draftPosts: NonNullablePaths<DraftPost, `title`, 0>[], options?: BulkCreateDraftPostsOptions): Promise<NonNullablePaths<BulkCreateDraftPostsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item._id` | `results.${number}.item.title` | `results.${number}.item.minutesToRead` | `results.${number}.item.status` | `results.${number}.item.moderationDetails.submittedBy` | `results.${number}.item.moderationDetails.status` | `results.${number}.item.hasUnpublishedChanges` | `results.${number}.item.media.displayed` | `results.${number}.item.media.custom` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 4>>;
|
|
4615
4615
|
interface BulkCreateDraftPostsOptions {
|
|
4616
4616
|
/** Whether the draft post should be published after creation. */
|
|
4617
4617
|
publish?: boolean;
|
|
@@ -4635,7 +4635,7 @@ interface BulkCreateDraftPostsOptions {
|
|
|
4635
4635
|
* @applicableIdentity APP
|
|
4636
4636
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.BulkUpdateDraftPosts
|
|
4637
4637
|
*/
|
|
4638
|
-
declare function bulkUpdateDraftPosts(options?: NonNullablePaths<BulkUpdateDraftPostsOptions, `draftPosts.${number}.draftPost` | `draftPosts.${number}.draftPost._id`,
|
|
4638
|
+
declare function bulkUpdateDraftPosts(options?: NonNullablePaths<BulkUpdateDraftPostsOptions, `draftPosts.${number}.draftPost` | `draftPosts.${number}.draftPost._id`, 3>): Promise<NonNullablePaths<BulkUpdateDraftPostsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item._id` | `results.${number}.item.title` | `results.${number}.item.minutesToRead` | `results.${number}.item.status` | `results.${number}.item.moderationDetails.submittedBy` | `results.${number}.item.moderationDetails.status` | `results.${number}.item.hasUnpublishedChanges` | `results.${number}.item.media.displayed` | `results.${number}.item.media.custom` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 4>>;
|
|
4639
4639
|
interface BulkUpdateDraftPostsOptions {
|
|
4640
4640
|
/**
|
|
4641
4641
|
* Draft posts to update.
|
|
@@ -4674,7 +4674,7 @@ interface BulkUpdateDraftPostsOptions {
|
|
|
4674
4674
|
* @applicableIdentity APP
|
|
4675
4675
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.ListDeletedDraftPosts
|
|
4676
4676
|
*/
|
|
4677
|
-
declare function listDeletedDraftPosts(options?: ListDeletedDraftPostsOptions): Promise<NonNullablePaths<ListDeletedDraftPostsResponse, `draftPosts` | `draftPosts.${number}._id` | `draftPosts.${number}.title` | `draftPosts.${number}.minutesToRead` | `draftPosts.${number}.status` | `draftPosts.${number}.moderationDetails.submittedBy` | `draftPosts.${number}.moderationDetails.status` | `draftPosts.${number}.hasUnpublishedChanges` | `draftPosts.${number}.seoData.settings.preventAutoRedirect` | `draftPosts.${number}.media.displayed` | `draftPosts.${number}.media.custom`,
|
|
4677
|
+
declare function listDeletedDraftPosts(options?: ListDeletedDraftPostsOptions): Promise<NonNullablePaths<ListDeletedDraftPostsResponse, `draftPosts` | `draftPosts.${number}._id` | `draftPosts.${number}.title` | `draftPosts.${number}.minutesToRead` | `draftPosts.${number}.status` | `draftPosts.${number}.moderationDetails.submittedBy` | `draftPosts.${number}.moderationDetails.status` | `draftPosts.${number}.hasUnpublishedChanges` | `draftPosts.${number}.seoData.settings.preventAutoRedirect` | `draftPosts.${number}.media.displayed` | `draftPosts.${number}.media.custom`, 4>>;
|
|
4678
4678
|
interface ListDeletedDraftPostsOptions {
|
|
4679
4679
|
/**
|
|
4680
4680
|
* Language filter.
|
|
@@ -4716,7 +4716,7 @@ interface ListDeletedDraftPostsOptions {
|
|
|
4716
4716
|
* @applicableIdentity APP
|
|
4717
4717
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.GetDraftPost
|
|
4718
4718
|
*/
|
|
4719
|
-
declare function getDraftPost(draftPostId: string, options?: GetDraftPostOptions): Promise<NonNullablePaths<GetDraftPostResponse, `draftPost._id` | `draftPost.title` | `draftPost.categoryIds` | `draftPost.hashtags` | `draftPost.minutesToRead` | `draftPost.tagIds` | `draftPost.relatedPostIds` | `draftPost.pricingPlanIds` | `draftPost.status` | `draftPost.moderationDetails.submittedBy` | `draftPost.moderationDetails.status` | `draftPost.hasUnpublishedChanges` | `draftPost.seoData.tags` | `draftPost.seoData.tags.${number}.type` | `draftPost.seoData.tags.${number}.children` | `draftPost.seoData.tags.${number}.custom` | `draftPost.seoData.tags.${number}.disabled` | `draftPost.seoData.settings.preventAutoRedirect` | `draftPost.seoData.settings.keywords` | `draftPost.seoData.settings.keywords.${number}.term` | `draftPost.seoData.settings.keywords.${number}.isMain` | `draftPost.media.embedMedia.thumbnail.url` | `draftPost.media.embedMedia.thumbnail.width` | `draftPost.media.embedMedia.thumbnail.height` | `draftPost.media.embedMedia.video.url` | `draftPost.media.embedMedia.video.width` | `draftPost.media.embedMedia.video.height` | `draftPost.media.displayed` | `draftPost.media.custom`,
|
|
4719
|
+
declare function getDraftPost(draftPostId: string, options?: GetDraftPostOptions): Promise<NonNullablePaths<GetDraftPostResponse, `draftPost._id` | `draftPost.title` | `draftPost.categoryIds` | `draftPost.hashtags` | `draftPost.minutesToRead` | `draftPost.tagIds` | `draftPost.relatedPostIds` | `draftPost.pricingPlanIds` | `draftPost.status` | `draftPost.moderationDetails.submittedBy` | `draftPost.moderationDetails.status` | `draftPost.hasUnpublishedChanges` | `draftPost.seoData.tags` | `draftPost.seoData.tags.${number}.type` | `draftPost.seoData.tags.${number}.children` | `draftPost.seoData.tags.${number}.custom` | `draftPost.seoData.tags.${number}.disabled` | `draftPost.seoData.settings.preventAutoRedirect` | `draftPost.seoData.settings.keywords` | `draftPost.seoData.settings.keywords.${number}.term` | `draftPost.seoData.settings.keywords.${number}.isMain` | `draftPost.media.embedMedia.thumbnail.url` | `draftPost.media.embedMedia.thumbnail.width` | `draftPost.media.embedMedia.thumbnail.height` | `draftPost.media.embedMedia.video.url` | `draftPost.media.embedMedia.video.width` | `draftPost.media.embedMedia.video.height` | `draftPost.media.displayed` | `draftPost.media.custom`, 5>>;
|
|
4720
4720
|
interface GetDraftPostOptions {
|
|
4721
4721
|
/**
|
|
4722
4722
|
* List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
@@ -4738,7 +4738,7 @@ interface GetDraftPostOptions {
|
|
|
4738
4738
|
* @applicableIdentity APP
|
|
4739
4739
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.UpdateDraftPost
|
|
4740
4740
|
*/
|
|
4741
|
-
declare function updateDraftPost(_id: string, draftPost: UpdateDraftPost, options?: UpdateDraftPostOptions): Promise<NonNullablePaths<UpdateDraftPostResponse, `draftPost._id` | `draftPost.title` | `draftPost.categoryIds` | `draftPost.hashtags` | `draftPost.minutesToRead` | `draftPost.tagIds` | `draftPost.relatedPostIds` | `draftPost.pricingPlanIds` | `draftPost.status` | `draftPost.moderationDetails.submittedBy` | `draftPost.moderationDetails.status` | `draftPost.hasUnpublishedChanges` | `draftPost.seoData.tags` | `draftPost.seoData.tags.${number}.type` | `draftPost.seoData.tags.${number}.children` | `draftPost.seoData.tags.${number}.custom` | `draftPost.seoData.tags.${number}.disabled` | `draftPost.seoData.settings.preventAutoRedirect` | `draftPost.seoData.settings.keywords` | `draftPost.seoData.settings.keywords.${number}.term` | `draftPost.seoData.settings.keywords.${number}.isMain` | `draftPost.media.embedMedia.thumbnail.url` | `draftPost.media.embedMedia.thumbnail.width` | `draftPost.media.embedMedia.thumbnail.height` | `draftPost.media.embedMedia.video.url` | `draftPost.media.embedMedia.video.width` | `draftPost.media.embedMedia.video.height` | `draftPost.media.displayed` | `draftPost.media.custom`,
|
|
4741
|
+
declare function updateDraftPost(_id: string, draftPost: UpdateDraftPost, options?: UpdateDraftPostOptions): Promise<NonNullablePaths<UpdateDraftPostResponse, `draftPost._id` | `draftPost.title` | `draftPost.categoryIds` | `draftPost.hashtags` | `draftPost.minutesToRead` | `draftPost.tagIds` | `draftPost.relatedPostIds` | `draftPost.pricingPlanIds` | `draftPost.status` | `draftPost.moderationDetails.submittedBy` | `draftPost.moderationDetails.status` | `draftPost.hasUnpublishedChanges` | `draftPost.seoData.tags` | `draftPost.seoData.tags.${number}.type` | `draftPost.seoData.tags.${number}.children` | `draftPost.seoData.tags.${number}.custom` | `draftPost.seoData.tags.${number}.disabled` | `draftPost.seoData.settings.preventAutoRedirect` | `draftPost.seoData.settings.keywords` | `draftPost.seoData.settings.keywords.${number}.term` | `draftPost.seoData.settings.keywords.${number}.isMain` | `draftPost.media.embedMedia.thumbnail.url` | `draftPost.media.embedMedia.thumbnail.width` | `draftPost.media.embedMedia.thumbnail.height` | `draftPost.media.embedMedia.video.url` | `draftPost.media.embedMedia.video.width` | `draftPost.media.embedMedia.video.height` | `draftPost.media.displayed` | `draftPost.media.custom`, 5>>;
|
|
4742
4742
|
interface UpdateDraftPost {
|
|
4743
4743
|
/**
|
|
4744
4744
|
* Draft post ID.
|
|
@@ -5000,7 +5000,7 @@ declare function removeFromTrashBin(draftPostId: string): Promise<void>;
|
|
|
5000
5000
|
* @applicableIdentity APP
|
|
5001
5001
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.BulkDeleteDraftPosts
|
|
5002
5002
|
*/
|
|
5003
|
-
declare function bulkDeleteDraftPosts(postIds: string[], options?: BulkDeleteDraftPostsOptions): Promise<NonNullablePaths<BulkDeleteDraftPostsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item._id` | `results.${number}.item.title` | `results.${number}.item.minutesToRead` | `results.${number}.item.status` | `results.${number}.item.moderationDetails.submittedBy` | `results.${number}.item.moderationDetails.status` | `results.${number}.item.hasUnpublishedChanges` | `results.${number}.item.media.displayed` | `results.${number}.item.media.custom` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`,
|
|
5003
|
+
declare function bulkDeleteDraftPosts(postIds: string[], options?: BulkDeleteDraftPostsOptions): Promise<NonNullablePaths<BulkDeleteDraftPostsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item._id` | `results.${number}.item.title` | `results.${number}.item.minutesToRead` | `results.${number}.item.status` | `results.${number}.item.moderationDetails.submittedBy` | `results.${number}.item.moderationDetails.status` | `results.${number}.item.hasUnpublishedChanges` | `results.${number}.item.media.displayed` | `results.${number}.item.media.custom` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 4>>;
|
|
5004
5004
|
interface BulkDeleteDraftPostsOptions {
|
|
5005
5005
|
/** Should delete bypassing the trash-bin. */
|
|
5006
5006
|
permanent?: boolean;
|
|
@@ -5018,7 +5018,7 @@ interface BulkDeleteDraftPostsOptions {
|
|
|
5018
5018
|
* @applicableIdentity APP
|
|
5019
5019
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.ListDraftPosts
|
|
5020
5020
|
*/
|
|
5021
|
-
declare function listDraftPosts(options?: ListDraftPostsOptions): Promise<NonNullablePaths<ListDraftPostsResponse, `draftPosts` | `draftPosts.${number}._id` | `draftPosts.${number}.title` | `draftPosts.${number}.minutesToRead` | `draftPosts.${number}.status` | `draftPosts.${number}.moderationDetails.submittedBy` | `draftPosts.${number}.moderationDetails.status` | `draftPosts.${number}.hasUnpublishedChanges` | `draftPosts.${number}.seoData.settings.preventAutoRedirect` | `draftPosts.${number}.media.displayed` | `draftPosts.${number}.media.custom` | `metaData.count` | `metaData.offset` | `metaData.total`,
|
|
5021
|
+
declare function listDraftPosts(options?: ListDraftPostsOptions): Promise<NonNullablePaths<ListDraftPostsResponse, `draftPosts` | `draftPosts.${number}._id` | `draftPosts.${number}.title` | `draftPosts.${number}.minutesToRead` | `draftPosts.${number}.status` | `draftPosts.${number}.moderationDetails.submittedBy` | `draftPosts.${number}.moderationDetails.status` | `draftPosts.${number}.hasUnpublishedChanges` | `draftPosts.${number}.seoData.settings.preventAutoRedirect` | `draftPosts.${number}.media.displayed` | `draftPosts.${number}.media.custom` | `metaData.count` | `metaData.offset` | `metaData.total`, 4>>;
|
|
5022
5022
|
interface ListDraftPostsOptions {
|
|
5023
5023
|
/**
|
|
5024
5024
|
* Draft post status filter.
|
|
@@ -5059,7 +5059,7 @@ interface ListDraftPostsOptions {
|
|
|
5059
5059
|
* @applicableIdentity APP
|
|
5060
5060
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.GetDeletedDraftPost
|
|
5061
5061
|
*/
|
|
5062
|
-
declare function getDeletedDraftPost(draftPostId: string): Promise<NonNullablePaths<GetDeletedDraftPostResponse, `draftPost._id` | `draftPost.title` | `draftPost.categoryIds` | `draftPost.hashtags` | `draftPost.minutesToRead` | `draftPost.tagIds` | `draftPost.relatedPostIds` | `draftPost.pricingPlanIds` | `draftPost.status` | `draftPost.moderationDetails.submittedBy` | `draftPost.moderationDetails.status` | `draftPost.hasUnpublishedChanges` | `draftPost.seoData.tags` | `draftPost.seoData.tags.${number}.type` | `draftPost.seoData.tags.${number}.children` | `draftPost.seoData.tags.${number}.custom` | `draftPost.seoData.tags.${number}.disabled` | `draftPost.seoData.settings.preventAutoRedirect` | `draftPost.seoData.settings.keywords` | `draftPost.seoData.settings.keywords.${number}.term` | `draftPost.seoData.settings.keywords.${number}.isMain` | `draftPost.media.embedMedia.thumbnail.url` | `draftPost.media.embedMedia.thumbnail.width` | `draftPost.media.embedMedia.thumbnail.height` | `draftPost.media.embedMedia.video.url` | `draftPost.media.embedMedia.video.width` | `draftPost.media.embedMedia.video.height` | `draftPost.media.displayed` | `draftPost.media.custom`,
|
|
5062
|
+
declare function getDeletedDraftPost(draftPostId: string): Promise<NonNullablePaths<GetDeletedDraftPostResponse, `draftPost._id` | `draftPost.title` | `draftPost.categoryIds` | `draftPost.hashtags` | `draftPost.minutesToRead` | `draftPost.tagIds` | `draftPost.relatedPostIds` | `draftPost.pricingPlanIds` | `draftPost.status` | `draftPost.moderationDetails.submittedBy` | `draftPost.moderationDetails.status` | `draftPost.hasUnpublishedChanges` | `draftPost.seoData.tags` | `draftPost.seoData.tags.${number}.type` | `draftPost.seoData.tags.${number}.children` | `draftPost.seoData.tags.${number}.custom` | `draftPost.seoData.tags.${number}.disabled` | `draftPost.seoData.settings.preventAutoRedirect` | `draftPost.seoData.settings.keywords` | `draftPost.seoData.settings.keywords.${number}.term` | `draftPost.seoData.settings.keywords.${number}.isMain` | `draftPost.media.embedMedia.thumbnail.url` | `draftPost.media.embedMedia.thumbnail.width` | `draftPost.media.embedMedia.thumbnail.height` | `draftPost.media.embedMedia.video.url` | `draftPost.media.embedMedia.video.width` | `draftPost.media.embedMedia.video.height` | `draftPost.media.displayed` | `draftPost.media.custom`, 5>>;
|
|
5063
5063
|
/**
|
|
5064
5064
|
* Restores a deleted draft post from the trash bin by the provided ID.
|
|
5065
5065
|
* @param draftPostId - Draft post ID.
|
|
@@ -5069,7 +5069,7 @@ declare function getDeletedDraftPost(draftPostId: string): Promise<NonNullablePa
|
|
|
5069
5069
|
* @applicableIdentity APP
|
|
5070
5070
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.RestoreFromTrashBin
|
|
5071
5071
|
*/
|
|
5072
|
-
declare function restoreFromTrashBin(draftPostId: string): Promise<NonNullablePaths<RestoreFromTrashBinResponse, `draftPost._id` | `draftPost.title` | `draftPost.categoryIds` | `draftPost.hashtags` | `draftPost.minutesToRead` | `draftPost.tagIds` | `draftPost.relatedPostIds` | `draftPost.pricingPlanIds` | `draftPost.status` | `draftPost.moderationDetails.submittedBy` | `draftPost.moderationDetails.status` | `draftPost.hasUnpublishedChanges` | `draftPost.seoData.tags` | `draftPost.seoData.tags.${number}.type` | `draftPost.seoData.tags.${number}.children` | `draftPost.seoData.tags.${number}.custom` | `draftPost.seoData.tags.${number}.disabled` | `draftPost.seoData.settings.preventAutoRedirect` | `draftPost.seoData.settings.keywords` | `draftPost.seoData.settings.keywords.${number}.term` | `draftPost.seoData.settings.keywords.${number}.isMain` | `draftPost.media.embedMedia.thumbnail.url` | `draftPost.media.embedMedia.thumbnail.width` | `draftPost.media.embedMedia.thumbnail.height` | `draftPost.media.embedMedia.video.url` | `draftPost.media.embedMedia.video.width` | `draftPost.media.embedMedia.video.height` | `draftPost.media.displayed` | `draftPost.media.custom`,
|
|
5072
|
+
declare function restoreFromTrashBin(draftPostId: string): Promise<NonNullablePaths<RestoreFromTrashBinResponse, `draftPost._id` | `draftPost.title` | `draftPost.categoryIds` | `draftPost.hashtags` | `draftPost.minutesToRead` | `draftPost.tagIds` | `draftPost.relatedPostIds` | `draftPost.pricingPlanIds` | `draftPost.status` | `draftPost.moderationDetails.submittedBy` | `draftPost.moderationDetails.status` | `draftPost.hasUnpublishedChanges` | `draftPost.seoData.tags` | `draftPost.seoData.tags.${number}.type` | `draftPost.seoData.tags.${number}.children` | `draftPost.seoData.tags.${number}.custom` | `draftPost.seoData.tags.${number}.disabled` | `draftPost.seoData.settings.preventAutoRedirect` | `draftPost.seoData.settings.keywords` | `draftPost.seoData.settings.keywords.${number}.term` | `draftPost.seoData.settings.keywords.${number}.isMain` | `draftPost.media.embedMedia.thumbnail.url` | `draftPost.media.embedMedia.thumbnail.width` | `draftPost.media.embedMedia.thumbnail.height` | `draftPost.media.embedMedia.video.url` | `draftPost.media.embedMedia.video.width` | `draftPost.media.embedMedia.video.height` | `draftPost.media.displayed` | `draftPost.media.custom`, 5>>;
|
|
5073
5073
|
/**
|
|
5074
5074
|
* Creates a query to retrieve a list of up to 100 draft posts.
|
|
5075
5075
|
*
|
|
@@ -5168,7 +5168,7 @@ interface DraftPostsQueryBuilder {
|
|
|
5168
5168
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.QueryDraftPosts
|
|
5169
5169
|
* @requiredField query
|
|
5170
5170
|
*/
|
|
5171
|
-
declare function typedQueryDraftPosts(query: DraftPostQuery, options?: QueryDraftPostsOptions): Promise<NonNullablePaths<QueryDraftPostsResponse, `draftPosts` | `draftPosts.${number}._id` | `draftPosts.${number}.title` | `draftPosts.${number}.minutesToRead` | `draftPosts.${number}.status` | `draftPosts.${number}.moderationDetails.submittedBy` | `draftPosts.${number}.moderationDetails.status` | `draftPosts.${number}.hasUnpublishedChanges` | `draftPosts.${number}.seoData.settings.preventAutoRedirect` | `draftPosts.${number}.media.displayed` | `draftPosts.${number}.media.custom`,
|
|
5171
|
+
declare function typedQueryDraftPosts(query: DraftPostQuery, options?: QueryDraftPostsOptions): Promise<NonNullablePaths<QueryDraftPostsResponse, `draftPosts` | `draftPosts.${number}._id` | `draftPosts.${number}.title` | `draftPosts.${number}.minutesToRead` | `draftPosts.${number}.status` | `draftPosts.${number}.moderationDetails.submittedBy` | `draftPosts.${number}.moderationDetails.status` | `draftPosts.${number}.hasUnpublishedChanges` | `draftPosts.${number}.seoData.settings.preventAutoRedirect` | `draftPosts.${number}.media.displayed` | `draftPosts.${number}.media.custom`, 4>>;
|
|
5172
5172
|
interface DraftPostQuerySpec extends QuerySpec {
|
|
5173
5173
|
paging: 'cursor';
|
|
5174
5174
|
wql: [
|
|
@@ -5311,6 +5311,6 @@ declare const utils: {
|
|
|
5311
5311
|
* @applicableIdentity APP
|
|
5312
5312
|
* @fqn com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.PublishDraftPost
|
|
5313
5313
|
*/
|
|
5314
|
-
declare function publishDraftPost(draftPostId: string): Promise<NonNullablePaths<PublishDraftPostResponse, `postId`,
|
|
5314
|
+
declare function publishDraftPost(draftPostId: string): Promise<NonNullablePaths<PublishDraftPostResponse, `postId`, 0>>;
|
|
5315
5315
|
|
|
5316
5316
|
export { type AccountInfo, type AccountInfoMetadata, Action, type ActionEvent, type ActionWithLiterals, type AddressLocation, Alignment, type AlignmentWithLiterals, type AnchorData, type Animation, AnimationType, type AnimationTypeWithLiterals, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, type ApplicationError, type ApproveDraftPostRequest, type ApproveDraftPostResponse, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Backdrop, BackdropType, type BackdropTypeWithLiterals, type Background, type BackgroundGradient, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type Banner, BannerOrigin, type BannerOriginWithLiterals, BannerPosition, type BannerPositionWithLiterals, type BaseEventMetadata, type BlockquoteData, type BlogPaging, type BookingData, type Border, type BorderColors, type BorderWidths, type BulkActionMetadata, type BulkCreateDraftPostsOptions, type BulkCreateDraftPostsRequest, type BulkCreateDraftPostsResponse, type BulkDeleteDraftPostsOptions, type BulkDeleteDraftPostsRequest, type BulkDeleteDraftPostsResponse, type BulkDraftPostResult, type BulkRejectDraftPostRequest, type BulkRejectDraftPostResponse, type BulkRevertToUnpublishedRequest, type BulkRevertToUnpublishedResponse, type BulkUpdateDraftPostsOptions, type BulkUpdateDraftPostsRequest, type BulkUpdateDraftPostsResponse, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardData, type CardDataBackground, CardDataBackgroundType, type CardDataBackgroundTypeWithLiterals, type CardStyles, CardStylesType, type CardStylesTypeWithLiterals, type CellStyle, type CheckboxListData, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, ColumnSize, type ColumnSizeWithLiterals, type CommonQueryWithEntityContext, type CreateDraftPostOptions, type CreateDraftPostRequest, type CreateDraftPostResponse, Crop, type CropWithLiterals, type CursorPaging, type Cursors, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeleteDraftPostOptions, type DeleteDraftPostRequest, type DeleteDraftPostResponse, type Design, DesignTarget, type DesignTargetWithLiterals, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DividerDataStyles, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type DraftCategoriesUpdated, type DraftCreatedEnvelope, type DraftDeletedEnvelope, type DraftPost, type DraftPostCount, type DraftPostOwnerChanged, type DraftPostQuery, type DraftPostQuerySpec, type DraftPostTranslation, type DraftPostsQueryBuilder, type DraftPostsQueryResult, type DraftTagsUpdated, type DraftUpdatedEnvelope, type EmbedData, type EmbedMedia, type EmbedThumbnail, type EmbedVideo, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EntranceAnimation, type EntranceEffect, EntranceEffectType, type EntranceEffectTypeWithLiterals, type EventData, type EventMetadata, Field, type FieldWithLiterals, type FileData, type FileSource, type FileSourceDataOneOf, type FocalPoint, type FontFamilyData, type FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type GetDeletedDraftPostRequest, type GetDeletedDraftPostResponse, type GetDraftPostCountsRequest, type GetDraftPostCountsResponse, type GetDraftPostOptions, type GetDraftPostRequest, type GetDraftPostResponse, type GetDraftPostTotalsRequest, type GetDraftPostTotalsResponse, GetDraftPostsSort, type GetDraftPostsSortWithLiterals, type Gradient, GradientType, type GradientTypeWithLiterals, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageData, type ImageDataCrop, type ImageDataStyles, ImagePosition, ImagePositionPosition, type ImagePositionPositionWithLiterals, type ImagePositionWithLiterals, ImageScalingScaling, type ImageScalingScalingWithLiterals, type ImageStyles, Indentation, type IndentationWithLiterals, type InitialDraftPostsCopied, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type IsDraftPostAutoTranslatableRequest, type IsDraftPostAutoTranslatableResponse, type Item, type ItemDataOneOf, type ItemMetadata, type ItemStyle, type Keyword, LayerEffect, type LayerEffectWithLiterals, type Layers, Layout, type LayoutCellData, type LayoutData, type LayoutDataBackground, type LayoutDataBackgroundImage, LayoutDataBackgroundType, type LayoutDataBackgroundTypeWithLiterals, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, LineCap, type LineCapWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListDeletedDraftPostsOptions, type ListDeletedDraftPostsRequest, type ListDeletedDraftPostsResponse, type ListDraftPostsOptions, type ListDraftPostsRequest, type ListDraftPostsResponse, type ListItemNodeData, ListStyle, type ListStyleWithLiterals, type ListValue, type LoopAnimation, type LoopEffect, LoopEffectType, type LoopEffectTypeWithLiterals, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type MarkPostAsInModerationRequest, type MarkPostAsInModerationResponse, type MaskedDraftPosts, type Media, type MediaMediaOneOf, type MentionData, type MessageEnvelope, type MetaData, type Metadata, type ModerationDetails, ModerationStatusStatus, type ModerationStatusStatusWithLiterals, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Oembed, type Option, type OptionDesign, type OptionLayout, type OrderedListData, Orientation, type OrientationWithLiterals, Origin, type OriginWithLiterals, type PDFSettings, type Paging, type PagingMetadataV2, type ParagraphData, type Permissions, Placement, type PlacementWithLiterals, type PlatformQuery, type PlatformQueryPagingMethodOneOf, type PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type PointerEffect, PointerEffectType, type PointerEffectTypeWithLiterals, type Poll, type PollData, type PollDataLayout, type PollDesign, type PollDesignBackground, type PollDesignBackgroundBackgroundOneOf, PollDesignBackgroundType, type PollDesignBackgroundTypeWithLiterals, type PollLayout, PollLayoutDirection, type PollLayoutDirectionWithLiterals, PollLayoutType, type PollLayoutTypeWithLiterals, type PollSettings, Position, type PositionWithLiterals, type PricingData, type PublishDraftPostRequest, type PublishDraftPostResponse, type QueryDraftPostsOptions, type QueryDraftPostsRequest, type QueryDraftPostsResponse, type RejectDraftPostRequest, type RejectDraftPostResponse, type Rel, type RemoveFromTrashBinRequest, type RemoveFromTrashBinResponse, Resizing, type ResizingWithLiterals, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RestoreFromTrashBinRequest, type RestoreFromTrashBinResponse, type RestoreInfo, type RevertToUnpublishedRequest, type RevertToUnpublishedResponse, type RibbonStyles, type RichContent, Scaling, type ScalingWithLiterals, type SectionDivider, type SeoSchema, type Settings, Shape, type ShapeData, type ShapeDataStyles, type ShapeWithLiterals, type SketchData, type SmartBlockCellData, type SmartBlockData, SmartBlockDataType, type SmartBlockDataTypeWithLiterals, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, Status, type StatusWithLiterals, type Stop, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type TableCellData, type TableData, type Tag, Target, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, type TocData, type TotalDraftPosts, TotalDraftPostsGroupingField, type TotalDraftPostsGroupingFieldWithLiterals, type TranslateDraftRequest, type TranslateDraftResponse, Type, type TypeWithLiterals, type UnpublishPostRequest, type UnpublishPostResponse, type UpdateDraftPost, type UpdateDraftPostContentRequest, type UpdateDraftPostContentResponse, type UpdateDraftPostLanguageRequest, type UpdateDraftPostLanguageResponse, type UpdateDraftPostOptions, type UpdateDraftPostRequest, type UpdateDraftPostResponse, type V1Media, Variant, type VariantWithLiterals, VerticalAlignment, VerticalAlignmentAlignment, type VerticalAlignmentAlignmentWithLiterals, type VerticalAlignmentWithLiterals, type Video, type VideoData, type VideoResolution, ViewMode, type ViewModeWithLiterals, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, type WixMedia, bulkCreateDraftPosts, bulkDeleteDraftPosts, bulkUpdateDraftPosts, createDraftPost, deleteDraftPost, getDeletedDraftPost, getDraftPost, listDeletedDraftPosts, listDraftPosts, onDraftCreated, onDraftDeleted, onDraftUpdated, publishDraftPost, queryDraftPosts, removeFromTrashBin, restoreFromTrashBin, typedQueryDraftPosts, updateDraftPost, utils };
|